From 426d25b28680d16bb210cb2f1c1f21edf18997cc Mon Sep 17 00:00:00 2001 From: Nixevol Date: Tue, 1 Dec 2026 13:54:08 +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 --- .../ABI/obsolete/sysfs-driver-intel_pmc_bxt | 44 ++--- .../kernel/Documentation/ABI/removed/dv1394 | 28 +-- .../kernel/Documentation/ABI/removed/raw1394 | 32 +-- .../Documentation/ABI/removed/sysfs-bus-nfit | 34 ++-- .../ABI/removed/sysfs-kernel-uids | 28 +-- .../Documentation/ABI/removed/video1394 | 34 ++-- .../ABI/stable/sysfs-acpi-pmprofile | 56 +++--- .../Documentation/ABI/stable/sysfs-bus-fsl-mc | 38 ++-- .../ABI/stable/sysfs-driver-aspeed-vuart | 48 ++--- .../ABI/stable/sysfs-driver-w1_ds28e04 | 30 +-- .../Documentation/ABI/testing/configfs-iio | 68 +++---- .../ABI/testing/configfs-usb-gadget-rndis | 38 ++-- .../Documentation/ABI/testing/debugfs-ec | 42 ++-- .../Documentation/ABI/testing/gpio-cdev | 56 +++--- .../ABI/testing/procfs-attr-current | 40 ++-- .../ABI/testing/procfs-attr-exec | 40 ++-- .../ABI/testing/procfs-attr-prev | 38 ++-- .../Documentation/ABI/testing/sysfs-bus-bcma | 62 +++--- .../ABI/testing/sysfs-bus-dfl-devices-emif | 50 ++--- .../sysfs-bus-event_source-devices-format | 42 ++-- .../ABI/testing/sysfs-bus-fsl-mc | 50 ++--- .../Documentation/ABI/testing/sysfs-bus-hsi | 38 ++-- .../ABI/testing/sysfs-bus-i2c-devices-fsa9480 | 54 +++--- .../ABI/testing/sysfs-bus-i2c-devices-hm6352 | 42 ++-- .../ABI/testing/sysfs-bus-iio-ad9739a | 38 ++-- .../ABI/testing/sysfs-bus-iio-adc-stm32 | 42 ++-- .../ABI/testing/sysfs-bus-iio-dfsdm-adc-stm32 | 44 ++--- .../ABI/testing/sysfs-bus-iio-dma-buffer | 38 ++-- .../ABI/testing/sysfs-bus-iio-filter-admv8818 | 36 ++-- .../testing/sysfs-bus-iio-frequency-admv1014 | 46 ++--- .../ABI/testing/sysfs-bus-iio-ina2xx-adc | 30 +-- .../ABI/testing/sysfs-bus-iio-inv_icm42600 | 36 ++-- .../ABI/testing/sysfs-bus-iio-light-si1133 | 44 ++--- .../ABI/testing/sysfs-bus-iio-light-tsl2583 | 40 ++-- .../sysfs-bus-iio-magnetometer-hmc5843 | 40 ++-- .../ABI/testing/sysfs-bus-iio-mpu6050 | 26 +-- .../ABI/testing/sysfs-bus-iio-proximity | 48 ++--- .../ABI/testing/sysfs-bus-iio-thermocouple | 36 ++-- .../testing/sysfs-bus-intel_th-devices-pti | 48 ++--- .../testing/sysfs-bus-intel_th-output-devices | 30 +-- .../Documentation/ABI/testing/sysfs-bus-mcb | 58 +++--- .../ABI/testing/sysfs-bus-optee-devices | 34 ++-- .../ABI/testing/sysfs-bus-pci-devices-pvpanic | 52 ++--- .../sysfs-bus-platform-devices-occ-hwmon | 26 +-- .../Documentation/ABI/testing/sysfs-class-bsr | 50 ++--- .../ABI/testing/sysfs-class-fc_host | 46 ++--- .../ABI/testing/sysfs-class-fc_remote_ports | 46 ++--- .../Documentation/ABI/testing/sysfs-class-lcd | 46 ++--- .../ABI/testing/sysfs-class-led-multicolor | 48 ++--- .../ABI/testing/sysfs-class-net-dsa | 28 +-- .../ABI/testing/sysfs-class-net-janz-ican3 | 38 ++-- .../ABI/testing/sysfs-class-net-peak_usb | 38 ++-- .../ABI/testing/sysfs-class-power-rt9467 | 38 ++-- ...ysfs-class-rtc-rtc0-device-rtc_calibration | 28 +-- .../ABI/testing/sysfs-class-spi-eeprom | 38 ++-- .../Documentation/ABI/testing/sysfs-class-stm | 48 ++--- .../Documentation/ABI/testing/sysfs-class-tee | 30 +-- .../ABI/testing/sysfs-class-usb_role | 54 +++--- .../ABI/testing/sysfs-class-zram | 48 ++--- .../Documentation/ABI/testing/sysfs-dev | 42 ++-- .../ABI/testing/sysfs-devices-firmware_node | 34 ++-- .../sysfs-devices-platform-_UDC_-gadget | 46 ++--- .../sysfs-devices-power_resources_D3hot | 28 +-- .../ABI/testing/sysfs-devices-power_state | 40 ++-- .../ABI/testing/sysfs-devices-removable | 40 ++-- .../ABI/testing/sysfs-devices-system-ibm-rtl | 48 ++--- .../ABI/testing/sysfs-devices-system-xen_cpu | 40 ++-- .../sysfs-devices-waiting_for_supplier | 34 ++-- .../ABI/testing/sysfs-driver-ge-achc | 30 +-- .../testing/sysfs-driver-hid-logitech-hidpp | 38 ++-- .../ABI/testing/sysfs-driver-hid-srws1 | 42 ++-- .../ABI/testing/sysfs-driver-input-exc3000 | 52 ++--- .../testing/sysfs-driver-intel-rapid-start | 42 ++-- .../ABI/testing/sysfs-driver-jz4780-efuse | 40 ++-- .../ABI/testing/sysfs-driver-toshiba_haps | 44 ++--- .../ABI/testing/sysfs-driver-w1_ds28e17 | 48 ++--- .../ABI/testing/sysfs-driver-xen-blkfront | 38 ++-- .../testing/sysfs-driver-xilinx-tmr-manager | 32 +-- .../ABI/testing/sysfs-firmware-dmi-tables | 44 ++--- .../ABI/testing/sysfs-firmware-opal-psr | 36 ++-- .../testing/sysfs-firmware-opal-sensor-groups | 42 ++-- .../Documentation/ABI/testing/sysfs-fs-erofs | 36 ++-- .../ABI/testing/sysfs-kernel-btf | 50 ++--- .../ABI/testing/sysfs-kernel-dmabuf-buffers | 48 ++--- .../ABI/testing/sysfs-kernel-mm-cma | 62 +++--- .../ABI/testing/sysfs-kernel-mm-memory-tiers | 50 ++--- ...fs-kernel-mm-mempolicy-weighted-interleave | 50 ++--- .../ABI/testing/sysfs-kernel-mm-swap | 32 +-- .../ABI/testing/sysfs-nvmem-cells | 42 ++-- .../ABI/testing/sysfs-platform-at91 | 54 +++--- .../testing/sysfs-platform-i2c-demux-pinctrl | 36 ++-- .../ABI/testing/sysfs-platform-intel-pmc | 44 ++--- .../ABI/testing/sysfs-platform-silicom | 60 +++--- .../Documentation/ABI/testing/usb-uevent | 54 +++--- .../kernel/Documentation/Kconfig | 56 +++--- .../endpoint/function/binding/pci-test.rst | 52 ++--- .../admin-guide/RAS/address-translation.rst | 48 ++--- .../admin-guide/RAS/error-decoding.rst | 42 ++-- .../Documentation/admin-guide/abi-testing.rst | 40 ++-- .../Documentation/admin-guide/aoe/status.sh | 60 +++--- .../Documentation/admin-guide/aoe/todo.rst | 34 ++-- .../admin-guide/aoe/udev-install.sh | 66 +++---- .../blockdev/drbd/conn-states-8.dot | 36 ++-- .../blockdev/drbd/disk-states-8.dot | 32 +-- .../admin-guide/blockdev/drbd/figures.rst | 60 +++--- .../admin-guide/media/au0828-cardlist.rst | 78 ++++---- .../admin-guide/media/cardlist.rst | 58 +++--- .../media/dvb-usb-cxusb-cardlist.rst | 80 ++++---- .../media/dvb-usb-dibusb-mc-cardlist.rst | 60 +++--- .../Documentation/admin-guide/media/intro.rst | 54 +++--- .../admin-guide/media/misc-cardlist.rst | 56 +++--- .../media/starfive_camss_graph.dot | 24 +-- .../admin-guide/media/ttusb-dec.rst | 90 ++++----- .../admin-guide/mm/cma_debugfs.rst | 50 ++--- .../namespaces/resource-control.rst | 36 ++-- .../admin-guide/perf/ampere_cspmu.rst | 58 +++--- .../admin-guide/sysctl/sunrpc.rst | 50 ++--- .../Documentation/arch/arm/sa1100/lart.rst | 30 +-- .../Documentation/arch/arm/sti/overview.rst | 64 +++--- .../Documentation/arch/arm/stm32/overview.rst | 68 +++---- .../arch/arm/stm32/stm32f429-overview.rst | 50 ++--- .../arch/arm/stm32/stm32f746-overview.rst | 64 +++--- .../arch/arm/stm32/stm32f769-overview.rst | 68 +++---- .../arch/arm/stm32/stm32h743-overview.rst | 66 +++---- .../arch/arm/stm32/stm32h750-overview.rst | 68 +++---- .../arch/arm/stm32/stm32mp13-overview.rst | 74 +++---- .../arch/arm/stm32/stm32mp151-overview.rst | 72 +++---- .../Documentation/arch/arm64/kasan-offsets.sh | 52 ++--- .../kernel/Documentation/arch/nios2/nios2.rst | 48 ++--- .../Documentation/arch/openrisc/todo.rst | 30 +-- .../Documentation/arch/powerpc/index.rst | 98 +++++----- .../kernel/Documentation/arch/sh/index.rst | 100 +++++----- .../Documentation/arch/x86/booting-dt.rst | 42 ++-- .../kernel/Documentation/bpf/fs_kfuncs.rst | 42 ++-- .../kernel/Documentation/bpf/index.rst | 90 ++++----- .../Documentation/crypto/api-akcipher.rst | 40 ++-- .../kernel/Documentation/dev-tools/index.rst | 88 ++++----- .../dev-tools/kunit/api/index.rst | 96 ++++----- .../bindings/arc/snps,archs-pct.yaml | 66 +++---- .../devicetree/bindings/arm/airoha.yaml | 64 +++--- .../devicetree/bindings/arm/amazon,al.yaml | 70 +++---- .../bindings/arm/arm,versatile-sysreg.yaml | 70 +++---- .../bindings/arm/aspeed/aspeed,sbc.yaml | 74 +++---- .../bindings/arm/bcm/brcm,bcm53573.yaml | 78 ++++---- .../bindings/arm/bcm/brcm,cygnus.yaml | 62 +++--- .../devicetree/bindings/arm/bcm/brcm,hr2.yaml | 60 +++--- .../bindings/arm/calxeda/l2ecc.yaml | 84 ++++---- .../bindings/arm/cci-control-port.yaml | 76 ++++---- .../controller/hip04-bootwrapper.yaml | 70 +++---- .../bindings/arm/intel,socfpga.yaml | 64 +++--- .../bindings/arm/marvell/98dx3236.txt | 46 ++--- .../bindings/arm/marvell/armada-370-xp.txt | 48 ++--- .../bindings/arm/marvell/armada-39x.txt | 62 +++--- .../bindings/arm/marvell/kirkwood.txt | 54 +++--- .../bindings/arm/marvell/marvell,ac5.yaml | 64 +++--- .../bindings/arm/marvell/marvell,orion5x.txt | 50 ++--- .../bindings/arm/mediatek/mediatek,g3dsys.txt | 60 +++--- .../mediatek/mediatek,mt7622-pcie-mirror.yaml | 84 ++++---- .../mediatek/mediatek,mt7986-wed-pcie.yaml | 86 ++++----- .../devicetree/bindings/arm/mrvl/mrvl.yaml | 82 ++++---- .../bindings/arm/mstar/mstar,smpctrl.yaml | 80 ++++---- .../bindings/arm/nuvoton/nuvoton,ma35d1.yaml | 60 +++--- .../devicetree/bindings/arm/omap/dmm.txt | 44 ++--- .../devicetree/bindings/arm/omap/l3-noc.txt | 46 ++--- .../devicetree/bindings/arm/omap/prm-inst.txt | 62 +++--- .../arm/samsung/samsung-secure-firmware.yaml | 66 +++---- .../devicetree/bindings/arm/ste-nomadik.txt | 76 ++++---- .../devicetree/bindings/arm/sti.yaml | 66 +++---- .../bindings/arm/sunplus,sp7021.yaml | 58 +++--- .../sunxi/allwinner,sun6i-a31-cpuconfig.yaml | 76 ++++---- .../arm/tegra/nvidia,tegra194-axi2apb.yaml | 80 ++++---- .../bindings/arm/ti/ti,davinci.yaml | 58 +++--- .../devicetree/bindings/arm/toshiba.yaml | 52 ++--- .../bindings/arm/ux500/power_domain.txt | 70 +++---- .../devicetree/bindings/ata/ahci-dm816.txt | 42 ++-- .../ata/allwinner,sun4i-a10-ahci.yaml | 94 ++++----- .../bindings/ata/cavium-compact-flash.txt | 60 +++--- .../bindings/ata/cirrus,ep9312-pata.yaml | 84 ++++---- .../devicetree/bindings/ata/fsl,imx-pata.yaml | 84 ++++---- .../devicetree/bindings/ata/fsl-sata.txt | 56 +++--- .../bindings/ata/ti,da850-ahci.yaml | 78 ++++---- .../auxdisplay/arm,versatile-lcd.yaml | 88 ++++----- .../bindings/bus/aspeed,ast2600-ahbc.yaml | 74 +++---- .../bindings/bus/mti,mips-cdmm.yaml | 74 +++---- .../devicetree/bindings/bus/omap-ocp2scp.txt | 58 +++--- .../chrome/google,cros-kbd-led-backlight.yaml | 72 +++---- .../clock/allwinner,sun4i-a10-apb0-clk.yaml | 100 +++++----- .../clock/allwinner,sun4i-a10-osc-clk.yaml | 102 +++++----- .../clock/allwinner,sun4i-a10-pll3-clk.yaml | 100 +++++----- .../clock/allwinner,sun4i-a10-ve-clk.yaml | 110 +++++------ .../clock/allwinner,sun5i-a13-ahb-clk.yaml | 104 +++++----- .../clock/allwinner,sun9i-a80-pll4-clk.yaml | 100 +++++----- .../bindings/clock/amlogic,gxbb-clkc.yaml | 74 +++---- .../clock/amlogic,meson8-ddr-clkc.yaml | 100 +++++----- .../bindings/clock/amlogic,s4-pll-clkc.yaml | 98 +++++----- .../bindings/clock/armada3700-tbg-clock.txt | 54 +++--- .../bindings/clock/armada3700-xtal-clock.txt | 58 +++--- .../bindings/clock/axs10x-i2s-pll-clock.txt | 50 ++--- .../bindings/clock/brcm,bcm2711-dvp.yaml | 94 ++++----- .../bindings/clock/brcm,bcm2835-aux-clock.txt | 62 +++--- .../clock/brcm,bcm63268-timer-clocks.yaml | 80 ++++---- .../bindings/clock/clps711x-clock.txt | 38 ++-- .../bindings/clock/dove-divider-clock.txt | 56 +++--- .../bindings/clock/fixed-mmio-clock.yaml | 94 ++++----- .../bindings/clock/fsl,imx93-anatop.yaml | 84 ++++---- .../bindings/clock/fujitsu,mb86s70-crg11.txt | 52 ++--- .../bindings/clock/gpio-gate-clock.yaml | 84 ++++---- .../bindings/clock/gpio-mux-clock.yaml | 90 ++++----- .../bindings/clock/img,boston-clock.txt | 62 +++--- .../devicetree/bindings/clock/imx1-clock.yaml | 84 ++++---- .../bindings/clock/imx21-clock.yaml | 84 ++++---- .../bindings/clock/imx27-clock.yaml | 92 ++++----- .../bindings/clock/imx8ulp-cgc-clock.yaml | 86 ++++----- .../bindings/clock/intel,agilex.yaml | 92 ++++----- .../bindings/clock/intel,agilex5-clkmgr.yaml | 80 ++++---- .../bindings/clock/intel,easic-n5x.yaml | 92 ++++----- .../bindings/clock/intel,stratix10.yaml | 70 +++---- .../bindings/clock/keystone-gate.txt | 54 +++--- .../bindings/clock/loongson,ls1x-clk.yaml | 90 ++++----- .../bindings/clock/lsi,axm5516-clks.txt | 58 +++--- .../bindings/clock/marvell,pxa168.txt | 42 ++-- .../bindings/clock/marvell,pxa1928.txt | 42 ++-- .../bindings/clock/marvell,pxa910.txt | 42 ++-- .../clock/mediatek,mt7622-ssusbsys.yaml | 90 ++++----- .../bindings/clock/mediatek,mt8365-clock.yaml | 84 ++++---- .../bindings/clock/mstar,msc313-cpupll.yaml | 90 ++++----- .../bindings/clock/mstar,msc313-mpll.yaml | 92 ++++----- .../bindings/clock/mvebu-corediv-clock.txt | 46 ++--- .../bindings/clock/mvebu-cpu-clock.txt | 46 ++--- .../bindings/clock/nspire-clock.txt | 48 ++--- .../bindings/clock/nxp,lpc3220-usb-clk.yaml | 70 +++---- .../devicetree/bindings/clock/pwm-clock.yaml | 90 ++++----- .../bindings/clock/qca,ath79-pll.txt | 66 +++---- .../bindings/clock/qcom,gcc-mdm9607.yaml | 86 ++++----- .../devicetree/bindings/clock/qcom,gcc.yaml | 82 ++++---- .../bindings/clock/qcom,krait-cc.txt | 68 +++---- .../bindings/clock/qcom,q6sstopcc.yaml | 86 ++++----- .../bindings/clock/qcom,qcs404-turingcc.yaml | 94 ++++----- .../bindings/clock/qcom,sdm845-lpasscc.yaml | 94 ++++----- .../bindings/clock/silabs,si514.txt | 48 ++--- .../bindings/clock/silabs,si544.txt | 50 ++--- .../bindings/clock/snps,hsdk-pll-clock.txt | 56 +++--- .../bindings/clock/snps,pll-clock.txt | 56 +++--- .../bindings/clock/sophgo,cv1800-clk.yaml | 94 ++++----- .../bindings/clock/st/st,clkgen-mux.txt | 64 +++--- .../bindings/clock/st/st,clkgen-pll.txt | 80 ++++---- .../bindings/clock/ti,am62-audio-refclk.yaml | 86 ++++----- .../bindings/clock/ti,am654-ehrpwm-tbclk.yaml | 78 ++++---- .../bindings/clock/ti/clockdomain.txt | 50 ++--- .../bindings/clock/ti/ti,clksel.yaml | 102 +++++----- .../bindings/cpufreq/cpufreq-spear.txt | 84 ++++---- .../bindings/cpufreq/imx-cpufreq-dt.txt | 74 +++---- .../bindings/crypto/brcm,spu-crypto.txt | 44 ++--- .../devicetree/bindings/crypto/img-hash.txt | 54 +++--- .../crypto/intel,keembay-ocs-aes.yaml | 90 ++++----- .../bindings/crypto/mediatek-crypto.txt | 50 ++--- .../bindings/crypto/samsung-slimsss.yaml | 90 ++++----- .../bindings/crypto/st,stm32-crc.yaml | 76 ++++---- .../bindings/crypto/xlnx,zynqmp-aes.yaml | 74 +++---- .../devicetree/bindings/csky/pmu.txt | 76 ++++---- .../bindings/display/brcm,bcm2835-hvs.yaml | 106 +++++----- .../display/brcm,bcm2835-pixelvalve0.yaml | 90 ++++----- .../bindings/display/brcm,bcm2835-txp.yaml | 74 +++---- .../bindings/display/brcm,bcm2835-v3d.yaml | 90 ++++----- .../bindings/display/brcm,bcm2835-vc4.yaml | 70 +++---- .../bindings/display/brcm,bcm2835-vec.yaml | 98 +++++----- .../display/connector/vga-connector.yaml | 94 ++++----- .../devicetree/bindings/display/fsl,dcu.txt | 68 +++---- .../bindings/display/himax,hx8357d.txt | 52 ++--- .../bindings/display/ilitek,ili9225.txt | 50 ++--- .../display/intel,keembay-msscam.yaml | 86 ++++----- .../devicetree/bindings/display/lvds.yaml | 62 +++--- .../bindings/display/msm/dsi-phy-common.yaml | 78 ++++---- .../bindings/display/multi-inno,mi0283qt.txt | 54 +++--- .../display/panel/armadeus,st0700-adapt.yaml | 66 +++---- .../display/panel/innolux,ee101ia-01d.yaml | 100 +++++----- .../bindings/display/panel/lg,lg4573.yaml | 92 ++++----- .../display/panel/logicpd,type28.yaml | 84 ++++---- .../display/panel/startek,startek-kd050c.yaml | 66 +++---- .../display/panel/tfc,s9700rtwv43tr-01b.yaml | 66 +++---- .../bindings/display/panel/ti,nspire.yaml | 72 +++---- .../samsung/samsung,exynos-hdmi-ddc.yaml | 82 ++++---- .../bindings/display/sitronix,st7586.txt | 44 ++--- .../bindings/display/snps,arcpgu.txt | 70 +++---- .../bindings/display/solomon,ssd133x.yaml | 90 ++++----- .../tegra/nvidia,tegra186-dsi-padctl.yaml | 90 ++++----- .../display/tegra/nvidia,tegra20-vip.yaml | 82 ++++---- .../bindings/display/ti/ti,tpd12s015.txt | 88 ++++----- .../bindings/display/via,vt8500-fb.txt | 72 +++---- .../bindings/display/wm,wm8505-fb.txt | 66 +++---- .../bindings/dma/brcm,iproc-sba.txt | 58 +++--- .../bindings/dma/milbeaut-m10v-xdmac.txt | 48 ++--- .../bindings/edac/aspeed-sdram-edac.txt | 56 +++--- .../bindings/extcon/extcon-max3355.txt | 42 ++-- .../bindings/extcon/extcon-palmas.txt | 44 ++--- .../bindings/extcon/extcon-rt8973a.txt | 46 ++--- .../bindings/extcon/extcon-usbc-tusb320.yaml | 86 ++++----- .../extcon/linux,extcon-usb-gpio.yaml | 74 +++---- .../firmware/amlogic,meson-gxbb-sm.yaml | 78 ++++---- .../bindings/firmware/brcm,kona-smc.yaml | 78 ++++---- .../fpga/altera-socfpga-a10-fpga-mgr.txt | 38 ++-- .../fpga/altr,socfpga-fpga2sdram-bridge.yaml | 66 +++---- .../fpga/altr,socfpga-hps2fpga-bridge.yaml | 98 +++++----- .../devicetree/bindings/fpga/fpga-bridge.yaml | 60 +++--- .../bindings/fpga/lattice-ice40-fpga-mgr.txt | 42 ++-- .../bindings/fpga/lattice-machxo2-spi.txt | 58 +++--- .../bindings/fpga/xlnx,versal-fpga.yaml | 66 +++---- .../bindings/fpga/xlnx,zynqmp-pcap-fpga.yaml | 72 +++---- .../bindings/fsi/ibm,i2cr-fsi-master.yaml | 88 ++++----- .../devicetree/bindings/fsi/ibm,p9-occ.yaml | 80 ++++---- .../bindings/fsi/ibm,p9-sbefifo.yaml | 92 ++++----- .../devicetree/bindings/fsi/ibm,p9-scom.yaml | 74 +++---- .../bindings/fuse/renesas,rcar-otp.yaml | 76 ++++---- .../bindings/gpio/adi,ds4520-gpio.yaml | 102 +++++----- .../bindings/gpio/delta,tn48m-gpio.yaml | 78 ++++---- .../bindings/gpio/fsl,imx8qxp-sc-gpio.yaml | 78 ++++---- .../bindings/gpio/fujitsu,mb86s70-gpio.yaml | 100 +++++----- .../bindings/gpio/gpio-clps711x.txt | 56 +++--- .../devicetree/bindings/gpio/gpio-grgpio.txt | 52 ++--- .../devicetree/bindings/gpio/gpio-lp3943.txt | 74 +++---- .../bindings/gpio/gpio-max77620.txt | 50 ++--- .../devicetree/bindings/gpio/gpio-palmas.txt | 54 +++--- .../bindings/gpio/gpio-pca9570.yaml | 112 +++++------ .../devicetree/bindings/gpio/gpio-rda.yaml | 100 +++++----- .../bindings/gpio/gpio-tpic2810.yaml | 102 +++++----- .../devicetree/bindings/gpio/gpio-ts4900.txt | 60 +++--- .../devicetree/bindings/gpio/gpio-twl4030.txt | 58 +++--- .../devicetree/bindings/gpio/gpio-xgene.txt | 44 ++--- .../bindings/gpio/ibm,ppc4xx-gpio.txt | 48 ++--- .../bindings/gpio/loongson,ls1x-gpio.yaml | 98 +++++----- .../bindings/gpio/lsi,zevio-gpio.yaml | 86 ++++----- .../bindings/gpio/netxbig-gpio-ext.txt | 44 ++--- .../bindings/gpio/nintendo,hollywood-gpio.txt | 52 ++--- .../bindings/gpio/qcom,wcd934x-gpio.yaml | 94 ++++----- .../bindings/gpio/snps,creg-gpio.txt | 42 ++-- .../bindings/gpu/samsung-rotator.yaml | 112 +++++------ .../bindings/hwinfo/loongson,ls2k-chipid.yaml | 76 ++++---- .../bindings/hwinfo/renesas,prr.yaml | 74 +++---- .../bindings/hwinfo/ti,k3-socinfo.yaml | 80 ++++---- .../bindings/hwlock/sprd,hwspinlock-r3p0.yaml | 100 +++++----- .../bindings/hwlock/st,stm32-hwspinlock.yaml | 98 +++++----- .../devicetree/bindings/hwmon/adi,ad741x.yaml | 78 ++++---- .../bindings/hwmon/adi,max31760.yaml | 84 ++++---- .../bindings/hwmon/hpe,gxp-fan-ctrl.yaml | 90 ++++----- .../bindings/hwmon/ibm,opal-sensor.yaml | 74 +++---- .../devicetree/bindings/hwmon/iio-hwmon.yaml | 74 +++---- .../bindings/hwmon/lltc,ltc4151.yaml | 88 ++++----- .../devicetree/bindings/hwmon/max31785.txt | 44 ++--- .../bindings/hwmon/microchip,mcp3021.yaml | 86 ++++----- .../bindings/hwmon/microchip,sparx5-temp.yaml | 88 ++++----- .../devicetree/bindings/hwmon/nsa320-mcu.txt | 40 ++-- .../bindings/hwmon/sensirion,sht15.yaml | 86 ++++----- .../hwmon/sophgo,sg2042-hwmon-mcu.yaml | 86 ++++----- .../devicetree/bindings/hwmon/st,stts751.yaml | 82 ++++---- .../devicetree/bindings/hwmon/ti,tmp102.yaml | 94 ++++----- .../bindings/hwmon/winbond,w83781d.yaml | 82 ++++---- .../bindings/i2c/brcm,bcm2835-i2c.yaml | 108 +++++------ .../devicetree/bindings/i2c/i2c-axxia.txt | 60 +++--- .../devicetree/bindings/i2c/i2c-digicolor.txt | 50 ++--- .../devicetree/bindings/i2c/i2c-hix5hd2.txt | 48 ++--- .../devicetree/bindings/i2c/i2c-img-scb.txt | 52 ++--- .../devicetree/bindings/i2c/i2c-mxs.yaml | 108 +++++------ .../devicetree/bindings/i2c/i2c-octeon.txt | 80 ++++---- .../bindings/i2c/i2c-pca-platform.txt | 54 +++--- .../devicetree/bindings/i2c/nxp,pnx-i2c.yaml | 92 ++++----- .../bindings/iio/accel/murata,sca3300.yaml | 96 ++++----- .../bindings/iio/adc/adi,ad7291.yaml | 92 ++++----- .../bindings/iio/adc/adi,ad7298.yaml | 100 +++++----- .../iio/adc/allwinner,sun8i-a33-ths.yaml | 86 ++++----- .../bindings/iio/adc/cirrus,ep9301-adc.yaml | 94 ++++----- .../bindings/iio/adc/dlg,da9150-gpadc.yaml | 70 +++---- .../bindings/iio/adc/lltc,ltc2496.yaml | 94 ++++----- .../bindings/iio/adc/maxim,max1363.yaml | 104 +++++----- .../iio/adc/mediatek,mt6359-auxadc.yaml | 66 +++---- .../bindings/iio/adc/nxp,lpc3220-adc.yaml | 100 +++++----- .../bindings/iio/adc/ti,adc108s102.yaml | 98 +++++----- .../bindings/iio/adc/ti,ads1100.yaml | 92 ++++----- .../bindings/iio/adc/ti,ads124s08.yaml | 106 +++++----- .../bindings/iio/adc/ti,tlc4541.yaml | 106 +++++----- .../bindings/iio/adc/ti,twl6030-gpadc.yaml | 86 ++++----- .../bindings/iio/chemical/aosong,ags02ma.yaml | 94 ++++----- .../iio/chemical/sensirion,scd4x.yaml | 92 ++++----- .../iio/chemical/sensirion,sps30.yaml | 92 ++++----- .../bindings/iio/dac/adi,ad5624r.yaml | 96 ++++----- .../bindings/iio/dac/maxim,ds4424.yaml | 90 ++++----- .../bindings/iio/dac/maxim,max5522.yaml | 98 +++++----- .../bindings/iio/dac/maxim,max5821.yaml | 88 ++++----- .../bindings/iio/dac/microchip,mcp4922.yaml | 96 ++++----- .../bindings/iio/dac/ti,dac7512.yaml | 84 ++++---- .../bindings/iio/humidity/dht11.yaml | 82 ++++---- .../bindings/iio/humidity/ti,hdc2010.yaml | 98 +++++----- .../bindings/iio/light/amstaos,tsl2563.yaml | 100 +++++----- .../devicetree/bindings/iio/light/bh1750.yaml | 90 ++++----- .../bindings/iio/light/capella,cm36651.yaml | 96 ++++----- .../bindings/iio/light/dynaimage,al3010.yaml | 90 ++++----- .../bindings/iio/light/dynaimage,al3320a.yaml | 90 ++++----- .../bindings/iio/light/maxim,max44009.yaml | 90 ++++----- .../bindings/iio/light/noa1305.yaml | 92 ++++----- .../bindings/iio/light/rohm,bu27034anuc.yaml | 90 ++++----- .../iio/light/sharp,gp2ap020a00f.yaml | 96 ++++----- .../bindings/iio/light/st,uvis25.yaml | 84 ++++---- .../bindings/iio/light/st,vl6180.yaml | 90 ++++----- .../bindings/iio/light/tsl2583.yaml | 96 ++++----- .../bindings/iio/light/vishay,vcnl4035.yaml | 90 ++++----- .../bindings/iio/light/vishay,veml6075.yaml | 90 ++++----- .../iio/magnetometer/fsl,mag3110.yaml | 96 ++++----- .../iio/magnetometer/honeywell,hmc5843.yaml | 86 ++++----- .../bindings/iio/magnetometer/pni,rm3100.yaml | 84 ++++---- .../bindings/iio/potentiometer/max5432.yaml | 88 ++++----- .../iio/pressure/sensirion,sdp500.yaml | 92 ++++----- .../google,cros-ec-mkbp-proximity.yaml | 70 +++---- .../bindings/iio/proximity/st,vl53l0x.yaml | 94 ++++----- .../bindings/iio/temperature/ti,tmp006.yaml | 84 ++++---- .../bindings/input/clps711x-keypad.txt | 54 +++--- .../bindings/input/cypress,cyapa.yaml | 98 +++++----- .../devicetree/bindings/input/e3x0-button.txt | 46 ++--- .../bindings/input/fsl,scu-key.yaml | 84 ++++---- .../bindings/input/gpio-decoder.txt | 46 ++--- .../bindings/input/gpio-vibrator.yaml | 78 ++++---- .../bindings/input/max77650-onkey.yaml | 76 ++++---- .../devicetree/bindings/input/omap-keypad.txt | 56 +++--- .../devicetree/bindings/input/pwm-beeper.yaml | 82 ++++---- .../bindings/input/qcom,pm8xxx-vib.yaml | 94 ++++----- .../bindings/input/regulator-haptic.yaml | 86 ++++----- .../devicetree/bindings/input/ti,drv266x.yaml | 100 +++++----- .../input/touchscreen/auo_pixcir_ts.txt | 60 +++--- .../bindings/input/touchscreen/eeti.txt | 60 +++--- .../touchscreen/raspberrypi,firmware-ts.txt | 52 ++--- .../input/touchscreen/sitronix,st1232.yaml | 100 +++++----- .../bindings/input/touchscreen/zet6223.txt | 60 +++--- .../bindings/input/tps65218-pwrbutton.txt | 60 +++--- .../interconnect/qcom,rpm-common.yaml | 56 +++--- .../interrupt-controller/al,alpine-msix.txt | 50 ++--- .../allwinner,sun4i-a10-ic.yaml | 94 ++++----- .../aspeed,ast2400-i2c-ic.txt | 50 ++--- .../aspeed,ast2xxx-scu-ic.txt | 46 ++--- .../interrupt-controller/digicolor-ic.txt | 42 ++-- .../faraday,ftintc010.txt | 50 ++--- .../google,goldfish-pic.txt | 60 +++--- .../interrupt-controller/idt,32434-pic.yaml | 104 +++++----- .../interrupt-controller/jcore,aic.txt | 52 ++--- .../loongson,cpu-interrupt-controller.yaml | 68 +++---- .../marvell,armada-8k-pic.txt | 50 ++--- .../interrupt-controller/marvell,gicp.txt | 54 +++--- .../nuvoton,wpcm450-aic.yaml | 78 ++++---- .../opencores,or1k-pic.txt | 46 ++--- .../interrupt-controller/openrisc,ompic.txt | 44 ++--- .../interrupt-controller/rda,8810pl-intc.yaml | 86 ++++----- .../interrupt-controller/ti,cp-intc.txt | 54 +++--- .../interrupt-controller/ti,omap-intc-irq.txt | 56 +++--- .../interrupt-controller/ti,omap2-intc.txt | 54 +++--- .../bindings/iommu/nvidia,tegra30-smmu.txt | 42 ++-- .../bindings/ipmi/aspeed,ast2400-ibt-bmc.txt | 56 +++--- .../devicetree/bindings/ipmi/ssif-bmc.yaml | 76 ++++---- .../leds/backlight/gpio-backlight.yaml | 82 ++++---- .../leds/backlight/sky81452-backlight.txt | 58 +++--- .../leds/backlight/tps65217-backlight.txt | 54 +++--- .../bindings/leds/irled/gpio-ir-tx.yaml | 72 +++---- .../bindings/leds/irled/pwm-ir-tx.yaml | 74 +++---- .../devicetree/bindings/leds/leds-cpcap.txt | 58 +++--- .../bindings/leds/leds-tlc591xx.txt | 80 ++++---- .../leds/mediatek,mt6370-flashlight.yaml | 82 ++++---- .../bindings/leds/trigger-source.yaml | 52 ++--- .../bindings/loongarch/loongson.yaml | 68 +++---- .../bindings/mailbox/brcm,bcm2835-mbox.yaml | 80 ++++---- .../bindings/media/amlogic,axg-ge2d.yaml | 94 ++++----- .../bindings/media/cec/cec-common.yaml | 56 +++--- .../devicetree/bindings/media/fsl-vdoa.txt | 42 ++-- .../bindings/media/gpio-ir-receiver.yaml | 86 ++++----- .../devicetree/bindings/media/hix5hd2-ir.txt | 52 ++--- .../bindings/media/i2c/dongwoon,dw9714.yaml | 94 ++++----- .../media/i2c/dongwoon,dw9807-vcm.yaml | 82 ++++---- .../devicetree/bindings/media/i2c/ov9650.txt | 72 +++---- .../bindings/media/nuvoton,npcm-ece.yaml | 86 ++++----- .../devicetree/bindings/media/st,st-hva.txt | 48 ++--- .../devicetree/bindings/media/st,stih4xx.txt | 64 +++--- .../bindings/media/xilinx/xlnx,v-tc.txt | 66 +++---- .../memory-controllers/calxeda-ddr-ctrlr.yaml | 84 ++++---- .../memory-controllers/ddr/jedec,lpddr4.yaml | 70 +++---- .../marvell,mvebu-sdram-controller.yaml | 62 +++--- .../mediatek,mt7621-memc.yaml | 64 +++--- .../samsung,s5pv210-dmc.yaml | 66 +++---- .../memory-controllers/ti,da8xx-ddrctl.yaml | 70 +++---- .../xlnx,zynq-ddrc-a05.yaml | 74 +++---- .../devicetree/bindings/mfd/ampere,smpro.yaml | 84 ++++---- .../devicetree/bindings/mfd/atmel-matrix.txt | 52 ++--- .../devicetree/bindings/mfd/atmel-smc.txt | 44 ++--- .../devicetree/bindings/mfd/bfticu.txt | 48 ++--- .../devicetree/bindings/mfd/lp3943.txt | 66 +++---- .../devicetree/bindings/mfd/omap-usb-tll.txt | 54 +++--- .../devicetree/bindings/mfd/retu.txt | 48 ++--- .../devicetree/bindings/mfd/sky81452.txt | 70 +++---- .../devicetree/bindings/mips/cavium/ciu.txt | 52 ++--- .../devicetree/bindings/mips/cavium/ciu2.txt | 54 +++--- .../devicetree/bindings/mips/cavium/ciu3.txt | 54 +++--- .../bindings/mips/lantiq/fpi-bus.txt | 62 +++--- .../bindings/mips/loongson/ls2k-reset.yaml | 76 ++++---- .../bindings/mips/loongson/rs780e-acpi.yaml | 84 ++++---- .../devicetree/bindings/mips/mobileye.yaml | 74 +++---- .../mips/pic32/microchip,pic32mzda.txt | 62 +++--- .../devicetree/bindings/mips/realtek-rtl.yaml | 56 +++--- .../devicetree/bindings/misc/pvpanic-mmio.txt | 58 +++--- .../bindings/mmc/brcm,bcm2835-sdhost.yaml | 108 +++++------ .../bindings/mmc/brcm,kona-sdhci.yaml | 96 ++++----- .../bindings/mmc/marvell,dove-sdhci.yaml | 88 ++++----- .../bindings/mmc/marvell,orion-sdio.yaml | 88 ++++----- .../devicetree/bindings/mmc/mmc-card.yaml | 96 ++++----- .../bindings/mmc/mmc-pwrseq-sd8787.yaml | 86 ++++----- .../bindings/mmc/moxa,moxart-mmc.txt | 60 +++--- .../devicetree/bindings/mmc/npcm,sdhci.yaml | 90 ++++----- .../devicetree/bindings/mmc/sdhci-common.yaml | 64 +++--- .../devicetree/bindings/mmc/sdhci.txt | 26 +-- .../devicetree/bindings/mmc/ti-omap.txt | 52 ++--- .../bindings/mtd/hisilicon,fmc-spi-nor.txt | 48 ++--- .../devicetree/bindings/mtd/ibm,ndfc.txt | 78 ++++---- .../bindings/mtd/microchip,mchp48l640.yaml | 92 ++++----- .../devicetree/bindings/mtd/mxc-nand.yaml | 80 ++++---- .../devicetree/bindings/mtd/nand-macronix.txt | 54 +++--- .../partitions/arm,arm-firmware-suite.yaml | 60 +++--- .../brcm,bcm963xx-cfe-nor-partitions.txt | 48 ++--- .../bindings/mtd/partitions/ubi-volume.yaml | 80 ++++---- .../devicetree/bindings/mtd/spear_smi.txt | 58 +++--- .../devicetree/bindings/mtd/st-fsm.txt | 50 ++--- .../bindings/mtd/technologic,nand.yaml | 90 ++++----- .../bindings/net/apm-xgene-mdio.txt | 74 +++---- .../net/bluetooth/bluetooth-controller.yaml | 58 +++--- .../net/bluetooth/marvell,88w8897.yaml | 98 +++++----- .../bindings/net/brcm,iproc-mdio.yaml | 76 ++++---- .../bindings/net/can/holt_hi311x.txt | 46 ++--- .../bindings/net/can/microchip,mpfs-can.yaml | 94 ++++----- .../devicetree/bindings/net/cortina.txt | 42 ++-- .../devicetree/bindings/net/cpsw-phy-sel.txt | 60 +++--- .../bindings/net/fsl,enetc-ierb.yaml | 76 ++++---- .../bindings/net/fsl,fman-muram.yaml | 80 ++++---- .../bindings/net/hisilicon-hns-mdio.txt | 54 +++--- .../bindings/net/icplus-ip101ag.txt | 38 ++-- .../bindings/net/ieee802154/at86rf230.txt | 54 +++--- .../bindings/net/ieee802154/ca8210.txt | 56 +++--- .../devicetree/bindings/net/lpc-eth.txt | 56 +++--- .../bindings/net/maxim,ds26522.yaml | 80 ++++---- .../devicetree/bindings/net/mdio-mux.yaml | 82 ++++---- .../bindings/net/opencores-ethoc.txt | 44 ++--- .../bindings/net/pcs/fsl,lynx-pcs.yaml | 80 ++++---- .../net/pse-pd/podl-pse-regulator.yaml | 80 ++++---- .../devicetree/bindings/net/smsc-lan87xx.txt | 54 +++--- .../bindings/net/wireless/esp,esp8089.yaml | 86 ++++----- .../bindings/nvmem/fsl,t1023-sfp.yaml | 74 +++---- .../bindings/nvmem/ingenic,jz4780-efuse.yaml | 90 ++++----- .../bindings/nvmem/layouts/nvmem-layout.yaml | 64 +++--- .../bindings/nvmem/lpc1857-eeprom.txt | 56 +++--- .../nvmem/microchip,lan9662-otpc.yaml | 90 ++++----- .../devicetree/bindings/nvmem/mxs-ocotp.yaml | 98 +++++----- .../bindings/nvmem/nintendo-otp.yaml | 88 ++++----- .../nvmem/nvmem-deprecated-cells.yaml | 56 +++--- .../devicetree/bindings/nvmem/sprd-efuse.txt | 78 ++++---- .../bindings/pci/cdns-pcie-host.yaml | 74 +++---- .../devicetree/bindings/pci/fsl,pci.txt | 54 +++--- .../bindings/pci/mediatek-pcie-cfg.yaml | 78 ++++---- .../bindings/peci/peci-controller.yaml | 66 +++---- .../devicetree/bindings/perf/arm,ccn.yaml | 80 ++++---- .../bindings/perf/arm,coresight-pmu.yaml | 78 ++++---- .../devicetree/bindings/perf/arm,ni.yaml | 60 +++--- .../bindings/perf/marvell-cn10k-ddr.yaml | 74 +++---- .../phy/allwinner,sun50i-h6-usb3-phy.yaml | 98 +++++----- .../bindings/phy/berlin-sata-phy.txt | 72 +++---- .../bindings/phy/brcm,kona-usb2-phy.yaml | 72 +++---- .../bindings/phy/brcm,ns2-drd-phy.txt | 60 +++--- .../bindings/phy/brcm,ns2-pcie-phy.yaml | 82 ++++---- .../bindings/phy/brcm,stingray-usb-phy.txt | 64 +++--- .../devicetree/bindings/phy/cdns,dphy-rx.yaml | 84 ++++---- .../devicetree/bindings/phy/dm816x-phy.txt | 48 ++--- .../devicetree/bindings/phy/fsl,lynx-28g.yaml | 80 ++++---- .../devicetree/bindings/phy/hix5hd2-phy.txt | 44 ++--- .../bindings/phy/intel,keembay-phy-usb.yaml | 88 ++++----- .../bindings/phy/keystone-usb-phy.txt | 38 ++-- .../bindings/phy/marvell,mmp3-hsic-phy.yaml | 74 +++---- .../bindings/phy/marvell,mmp3-usb-phy.yaml | 84 ++++---- .../bindings/phy/marvell,pxa1928-usb-phy.yaml | 94 ++++----- .../bindings/phy/mediatek,mt7621-pci-phy.yaml | 82 ++++---- .../bindings/phy/nuvoton,ma35d1-usb2-phy.yaml | 90 ++++----- .../devicetree/bindings/phy/phy-da8xx-usb.txt | 80 ++++---- .../bindings/phy/phy-lpc18xx-usb-otg.txt | 52 ++--- .../bindings/phy/pistachio-usb-phy.txt | 58 +++--- .../bindings/phy/rockchip,rk3288-dp-phy.yaml | 82 ++++---- .../bindings/phy/rockchip-pcie-phy.txt | 72 +++---- .../bindings/phy/samsung,dp-video-phy.yaml | 80 ++++---- .../bindings/phy/samsung,exynos-hdmi-phy.yaml | 86 ++++----- .../bindings/phy/starfive,jh7110-usb-phy.yaml | 100 +++++----- .../bindings/pinctrl/fsl,imx25-pinctrl.txt | 46 ++--- .../bindings/power/actions,owl-sps.txt | 42 ++-- .../bindings/power/mti,mips-cpc.yaml | 74 +++---- .../bindings/power/power-controller.txt | 34 ++-- .../bindings/power/reset/qcom,pshold.yaml | 70 +++---- .../power/reset/regulator-poweroff.yaml | 74 +++---- .../bindings/power/starfive,jh7110-pmu.yaml | 90 ++++----- .../bindings/power/supply/isp1704.yaml | 84 ++++---- .../power/supply/lltc,lt3651-charger.yaml | 88 ++++----- .../bindings/power/supply/maxim,max14656.yaml | 90 ++++----- .../bindings/power/supply/maxim,max77976.yaml | 88 ++++----- .../bindings/power/supply/mitsumi,mm8013.yaml | 76 ++++---- .../bindings/power/supply/power-supply.yaml | 54 +++--- .../supply/stericsson,ab8500-chargalg.yaml | 82 ++++---- .../power/supply/tps65090-charger.yaml | 72 +++---- .../power/supply/tps65217-charger.yaml | 86 ++++----- .../devicetree/bindings/powerpc/4xx/hsta.txt | 36 ++-- .../devicetree/bindings/powerpc/fsl/diu.txt | 64 +++--- .../bindings/powerpc/fsl/mpc512x_lpbfifo.txt | 42 ++-- .../devicetree/bindings/powerpc/ibm,vas.txt | 44 ++--- .../bindings/powerpc/opal/sensor-groups.txt | 54 +++--- .../devicetree/bindings/ptp/brcm,ptp-dte.txt | 38 ++-- .../devicetree/bindings/ptp/ptp-idt82p33.yaml | 90 ++++----- .../devicetree/bindings/ptp/ptp-ines.txt | 70 +++---- .../bindings/pwm/apple,s5l-fpwm.yaml | 102 +++++----- .../bindings/pwm/brcm,bcm7038-pwm.yaml | 84 ++++---- .../bindings/pwm/brcm,iproc-pwm.yaml | 90 ++++----- .../bindings/pwm/brcm,kona-pwm.yaml | 102 +++++----- .../devicetree/bindings/pwm/clk-pwm.yaml | 92 ++++----- .../devicetree/bindings/pwm/img-pwm.txt | 48 ++--- .../bindings/pwm/intel,keembay-pwm.yaml | 92 ++++----- .../bindings/pwm/intel,lgm-pwm.yaml | 94 ++++----- .../devicetree/bindings/pwm/iqs620a-pwm.yaml | 68 +++---- .../bindings/pwm/kontron,sl28cpld-pwm.yaml | 70 +++---- .../bindings/pwm/lpc1850-sct-pwm.txt | 40 ++-- .../bindings/pwm/marvell,pxa-pwm.yaml | 100 +++++----- .../bindings/pwm/nxp,pca9685-pwm.txt | 54 +++--- .../devicetree/bindings/pwm/pwm-bcm2835.yaml | 84 ++++---- .../devicetree/bindings/pwm/pwm-gpio.yaml | 92 ++++----- .../devicetree/bindings/pwm/pwm-hibvt.txt | 46 ++--- .../devicetree/bindings/pwm/pwm.yaml | 72 +++---- .../bindings/pwm/sunplus,sp7021-pwm.yaml | 84 ++++---- .../bindings/pwm/toshiba,pwm-visconti.yaml | 90 ++++----- .../devicetree/bindings/regmap/regmap.txt | 58 +++--- .../bindings/regulator/88pm860x.txt | 60 +++--- .../allwinner,sun20i-d1-system-ldos.yaml | 74 +++---- .../bindings/regulator/cpcap-regulator.txt | 70 +++---- .../regulator/hisilicon,hi655x-regulator.txt | 58 +++--- .../bindings/regulator/infineon,ir38060.yaml | 90 ++++----- .../bindings/regulator/max1586-regulator.txt | 56 +++--- .../regulator/max77650-regulator.yaml | 70 +++---- .../bindings/regulator/max8925-regulator.txt | 80 ++++---- .../bindings/regulator/mt6311-regulator.txt | 70 +++---- ...ypi,7inch-touchscreen-panel-regulator.yaml | 88 ++++----- .../bindings/regulator/regulator-output.yaml | 78 ++++---- .../bindings/regulator/silergy,sy8824x.yaml | 90 ++++----- .../bindings/regulator/silergy,sy8827n.yaml | 94 ++++----- .../bindings/regulator/tps51632-regulator.txt | 54 +++--- .../bindings/regulator/vexpress.txt | 64 +++--- .../regulator/vqmmc-ipq4019-regulator.yaml | 86 ++++----- .../nvidia,tegra210-emc-table.yaml | 62 +++--- .../reserved-memory/xen,shared-memory.txt | 48 ++--- .../bindings/reset/bitmain,bm1880-reset.yaml | 72 +++---- .../reset/brcm,bcm4908-misc-pcie-reset.yaml | 78 ++++---- .../bindings/reset/brcm,bcm6345-reset.yaml | 74 +++---- .../reset/brcm,bcm7216-pcie-sata-rescal.yaml | 82 ++++---- .../bindings/reset/canaan,k210-rst.yaml | 80 ++++---- .../bindings/reset/delta,tn48m-reset.yaml | 70 +++---- .../bindings/reset/marvell,berlin2-reset.yaml | 76 ++++---- .../bindings/reset/nuvoton,ma35d1-reset.yaml | 92 ++++----- .../bindings/reset/qca,ar7100-reset.yaml | 80 ++++---- .../bindings/reset/snps,dw-reset.txt | 60 +++--- .../bindings/reset/snps,hsdk-reset.txt | 56 +++--- .../bindings/reset/sophgo,sg2042-reset.yaml | 70 +++---- .../bindings/reset/starfive,jh7100-reset.yaml | 76 ++++---- .../bindings/reset/sunplus,reset.yaml | 76 ++++---- .../devicetree/bindings/riscv/sifive.yaml | 70 +++---- .../devicetree/bindings/riscv/sophgo.yaml | 82 ++++---- .../devicetree/bindings/riscv/starfive.yaml | 74 +++---- .../devicetree/bindings/riscv/thead.yaml | 66 +++---- .../bindings/rng/amlogic,meson-rng.yaml | 86 ++++----- .../bindings/rng/apm,x-gene-rng.yaml | 94 ++++----- .../devicetree/bindings/rng/ingenic,rng.yaml | 72 +++---- .../devicetree/bindings/rng/ingenic,trng.yaml | 86 ++++----- .../bindings/rng/intel,ixp46x-rng.yaml | 70 +++---- .../bindings/rng/nuvoton,npcm-rng.yaml | 74 +++---- .../bindings/rng/samsung,exynos4-rng.yaml | 90 ++++----- .../bindings/rng/silex-insight,ba431-rng.yaml | 72 +++---- .../bindings/rng/sparc_sun_oracle_rng.txt | 60 +++--- .../bindings/rng/ti,omap-rom-rng.yaml | 82 ++++---- .../bindings/rng/xiphera,xip8001b-trng.yaml | 66 +++---- .../bindings/rtc/allwinner,sun4i-a10-rtc.yaml | 86 ++++----- .../bindings/rtc/alphascale,asm9260-rtc.yaml | 100 +++++----- .../devicetree/bindings/rtc/arm,pl031.yaml | 116 +++++------ .../devicetree/bindings/rtc/cdns,rtc.txt | 50 ++--- .../bindings/rtc/cirrus,ep9301-rtc.yaml | 84 ++++---- .../devicetree/bindings/rtc/epson,rx6110.txt | 78 ++++---- .../devicetree/bindings/rtc/fsl,scu-rtc.yaml | 62 +++--- .../devicetree/bindings/rtc/imxdi-rtc.yaml | 86 ++++----- .../devicetree/bindings/rtc/isil,isl12026.txt | 56 +++--- .../bindings/rtc/marvell,pxa-rtc.yaml | 80 ++++---- .../bindings/rtc/mediatek,mt2712-rtc.yaml | 78 ++++---- .../bindings/rtc/mstar,msc313-rtc.yaml | 98 +++++----- .../bindings/rtc/nuvoton,ma35d1-rtc.yaml | 96 ++++----- .../bindings/rtc/nuvoton,nct3018y.yaml | 90 ++++----- .../devicetree/bindings/rtc/nxp,pcf2123.yaml | 94 ++++----- .../devicetree/bindings/rtc/nxp,pcf8523.yaml | 90 ++++----- .../devicetree/bindings/rtc/nxp,pcf8563.yaml | 112 +++++------ .../devicetree/bindings/rtc/rtc-cmos.txt | 54 +++--- .../devicetree/bindings/rtc/rtc-mt6397.txt | 62 +++--- .../devicetree/bindings/rtc/rtc-mxc_v2.yaml | 92 ++++----- .../devicetree/bindings/rtc/rtc-st-lpc.txt | 56 +++--- .../bindings/rtc/sprd,sc2731-rtc.yaml | 98 +++++----- .../devicetree/bindings/rtc/st,m48t86.yaml | 76 ++++---- .../devicetree/bindings/rtc/ti,bq32000.yaml | 98 +++++----- .../devicetree/bindings/rtc/xgene-rtc.txt | 56 +++--- .../devicetree/bindings/serial/arm,dcc.yaml | 60 +++--- .../serial/brcm,bcm2835-aux-uart.yaml | 92 ++++----- .../bindings/serial/brcm,bcm6345-uart.yaml | 94 ++++----- .../bindings/serial/cirrus,clps711x-uart.txt | 62 +++--- .../bindings/serial/digicolor-usart.txt | 54 +++--- .../bindings/serial/esp,esp32-acm.yaml | 84 ++++---- .../bindings/serial/esp,esp32-uart.yaml | 102 +++++----- .../devicetree/bindings/serial/lantiq_asc.txt | 62 +++--- .../bindings/serial/litex,liteuart.yaml | 80 ++++---- .../serial/nuvoton,ma35d1-serial.yaml | 96 ++++----- .../bindings/serial/qca,ar9330-uart.yaml | 100 +++++----- .../bindings/serial/rda,8810pl-uart.yaml | 92 ++++----- .../serial/socionext,uniphier-uart.yaml | 102 +++++----- .../bindings/serial/via,vt8500-uart.yaml | 92 ++++----- .../amlogic/amlogic,meson-gx-clk-measure.yaml | 80 ++++---- .../bindings/soc/bcm/brcm,bcm23550-cdc.yaml | 70 +++---- .../soc/bcm/brcm,bcm2711-avs-monitor.yaml | 88 ++++----- .../bindings/soc/fsl/cpm_qe/fsl,qe-ic.yaml | 94 ++++----- .../bindings/soc/fsl/cpm_qe/fsl,qe-si.yaml | 80 ++++---- .../bindings/soc/fsl/cpm_qe/fsl,qe-siram.yaml | 78 ++++---- .../bindings/soc/fsl/cpm_qe/serial.txt | 64 +++--- .../bindings/soc/imx/fsl,aips-bus.yaml | 98 +++++----- .../soc/litex/litex,soc-controller.yaml | 80 ++++---- .../bindings/soc/nuvoton/nuvoton,gfxi.yaml | 78 ++++---- .../qcom/qcom,msm8976-ramp-controller.yaml | 72 +++---- .../bindings/soc/qcom/qcom,pbs.yaml | 92 ++++----- .../soc/tegra/nvidia,tegra20-ahb.yaml | 80 ++++---- .../soc/tegra/nvidia,tegra20-flowctrl.yaml | 82 ++++---- .../bindings/soc/ti/ti,am654-serdes-ctrl.yaml | 86 ++++----- .../soc/xilinx/xlnx,vcu-settings.yaml | 86 ++++----- .../bindings/soc/xilinx/xlnx,vcu.txt | 52 ++--- .../devicetree/bindings/sound/ac97-bus.txt | 64 +++--- .../bindings/sound/adi,adau7002.yaml | 80 ++++---- .../bindings/sound/adi,ssm2518.yaml | 94 ++++----- .../bindings/sound/adi,ssm3515.yaml | 98 +++++----- .../allwinner,sun50i-a64-codec-analog.yaml | 88 ++++----- .../allwinner,sun8i-a23-codec-analog.yaml | 82 ++++---- .../bindings/sound/armada-370db-audio.txt | 52 ++--- .../atmel-at91sam9g20ek-wm8731-audio.txt | 52 ++--- .../devicetree/bindings/sound/atmel_ac97c.txt | 40 ++-- .../bindings/sound/brcm,bcm2835-i2s.txt | 48 ++--- .../bindings/sound/component-common.yaml | 42 ++-- .../devicetree/bindings/sound/cs4265.txt | 58 +++--- .../devicetree/bindings/sound/dai-params.yaml | 74 +++---- .../bindings/sound/eukrea-tlv320.txt | 52 ++--- .../bindings/sound/google,chv3-i2s.yaml | 88 ++++----- .../devicetree/bindings/sound/ics43432.txt | 38 ++-- .../bindings/sound/irondevice,sma1303.yaml | 96 ++++----- .../bindings/sound/linux,bt-sco.yaml | 82 ++++---- .../bindings/sound/linux,spdif.yaml | 78 ++++---- .../bindings/sound/marvell,pxa2xx-ac97.txt | 54 +++--- .../bindings/sound/maxim,max98088.yaml | 94 ++++----- .../bindings/sound/maxim,max98095.yaml | 108 +++++------ .../bindings/sound/maxim,max98371.yaml | 84 ++++---- .../bindings/sound/maxim,max98520.yaml | 70 +++---- .../bindings/sound/mikroe,mikroe-proto.txt | 46 ++--- .../bindings/sound/mrvl,pxa-ssp.txt | 68 +++---- .../devicetree/bindings/sound/mt6358.txt | 52 ++--- .../bindings/sound/mt8173-rt5650.txt | 62 +++--- .../bindings/sound/mt8183-da7219-max98357.txt | 42 ++-- .../sound/mt8183-mt6358-ts3a227-max98357.txt | 50 ++--- .../bindings/sound/mtk-btcvsd-snd.txt | 48 ++--- .../bindings/sound/nuvoton,nau8315.yaml | 88 ++++----- .../bindings/sound/nuvoton,nau8540.yaml | 80 ++++---- .../bindings/sound/nuvoton,nau8810.yaml | 90 ++++----- .../sound/nvidia,tegra-audio-trimslice.yaml | 66 +++---- .../bindings/sound/nvidia,tegra20-das.yaml | 72 +++---- .../bindings/sound/nxp,tfa9879.yaml | 88 ++++----- .../bindings/sound/option,gtm601.yaml | 84 ++++---- .../devicetree/bindings/sound/pcm186x.txt | 84 ++++---- .../bindings/sound/qcom,q6adm-routing.yaml | 78 ++++---- .../bindings/sound/qcom,q6apm-dai.yaml | 68 +++---- .../bindings/sound/qcom,q6apm-lpass-dais.yaml | 70 +++---- .../bindings/sound/qcom,q6core.yaml | 78 ++++---- .../sound/qcom,q6dsp-lpass-clocks.yaml | 82 ++++---- .../bindings/sound/realtek,rt1015.yaml | 82 ++++---- .../bindings/sound/realtek,rt1015p.yaml | 86 ++++----- .../bindings/sound/realtek,rt1016.yaml | 80 ++++---- .../bindings/sound/realtek,rt1019.yaml | 70 +++---- .../sound/rockchip,rk3399-gru-sound.txt | 44 ++--- .../devicetree/bindings/sound/rt5660.txt | 94 ++++----- .../bindings/sound/samsung,smdk5250.yaml | 76 ++++---- .../sound/simple-audio-amplifier.yaml | 90 ++++----- .../bindings/sound/sirf-audio-port.txt | 40 ++-- .../bindings/sound/soc-ac97link.txt | 56 +++--- .../devicetree/bindings/sound/sprd-mcdt.txt | 38 ++-- .../devicetree/bindings/sound/sprd-pcm.txt | 46 ++--- .../devicetree/bindings/sound/tas5720.txt | 56 +++--- .../bindings/sound/test-component.yaml | 66 +++---- .../devicetree/bindings/sound/ti,pcm1681.yaml | 86 ++++----- .../devicetree/bindings/sound/ti,src4xxx.yaml | 96 ++++----- .../devicetree/bindings/sound/wlf,wm8510.yaml | 82 ++++---- .../devicetree/bindings/sound/wlf,wm8523.yaml | 80 ++++---- .../devicetree/bindings/sound/wlf,wm8524.yaml | 80 ++++---- .../devicetree/bindings/sound/wlf,wm8580.yaml | 84 ++++---- .../devicetree/bindings/sound/wlf,wm8711.yaml | 80 ++++---- .../devicetree/bindings/sound/wlf,wm8728.yaml | 80 ++++---- .../devicetree/bindings/sound/wlf,wm8737.yaml | 80 ++++---- .../devicetree/bindings/sound/wlf,wm8750.yaml | 84 ++++---- .../devicetree/bindings/sound/wlf,wm8776.yaml | 82 ++++---- .../devicetree/bindings/sound/wlf,wm8961.yaml | 86 ++++----- .../devicetree/bindings/sound/wlf,wm8974.yaml | 82 ++++---- .../devicetree/bindings/sound/xlnx,i2s.txt | 56 +++--- .../devicetree/bindings/sound/xlnx,spdif.txt | 56 +++--- .../bindings/spi/amlogic,a1-spifc.yaml | 88 ++++----- .../bindings/spi/brcm,bcm2835-spi.yaml | 100 +++++----- .../spi/fsl,dspi-peripheral-props.yaml | 60 +++--- .../devicetree/bindings/spi/jcore,spi.txt | 68 +++---- .../bindings/spi/loongson,ls2k-spi.yaml | 92 ++++----- .../bindings/spi/mikrotik,rb4xx-spi.yaml | 76 ++++---- .../bindings/spi/qca,ar934x-spi.yaml | 86 ++++----- .../bindings/spi/realtek,rtl-spi.yaml | 82 ++++---- .../devicetree/bindings/spi/spi-ath79.txt | 48 ++--- .../devicetree/bindings/spi/spi-clps711x.txt | 64 +++--- .../devicetree/bindings/spi/spi-octeon.txt | 66 +++---- .../devicetree/bindings/spi/sqi-pic32.txt | 36 ++-- .../bindings/staging/iio/adc/spear-adc.txt | 48 ++--- .../bindings/thermal/amazon,al-thermal.txt | 66 +++---- .../thermal/brcm,bcm2835-thermal.yaml | 94 ++++----- .../bindings/thermal/fsl,scu-thermal.yaml | 78 ++++---- .../bindings/timer/actions,owl-timer.txt | 42 ++-- .../bindings/timer/arm,global_timer.yaml | 96 ++++----- .../bindings/timer/arm,mps2-timer.txt | 56 +++--- .../bindings/timer/brcm,bcmbca-timer.yaml | 80 ++++---- .../bindings/timer/cirrus,clps711x-timer.txt | 58 +++--- .../bindings/timer/csky,gx6605s-timer.txt | 84 ++++---- .../devicetree/bindings/timer/fsl,gtm.txt | 60 +++--- .../bindings/timer/hpe,gxp-timer.yaml | 94 ++++----- .../bindings/timer/intel,ixp4xx-timer.yaml | 86 ++++----- .../devicetree/bindings/timer/jcore,pit.txt | 48 ++--- .../bindings/timer/lsi,zevio-timer.txt | 66 +++---- .../bindings/timer/mrvl,mmp-timer.yaml | 92 ++++----- .../bindings/timer/mstar,msc313e-timer.yaml | 92 ++++----- .../bindings/timer/ralink,cevt-systick.yaml | 76 ++++---- .../bindings/timer/ralink,rt2880-timer.yaml | 88 ++++----- .../bindings/timer/rda,8810pl-timer.yaml | 94 ++++----- .../bindings/timer/renesas,em-sti.yaml | 92 ++++----- .../bindings/timer/snps,arc-timer.txt | 54 +++--- .../bindings/timer/st,stm32-timer.yaml | 96 ++++----- .../timestamp/hardware-timestamps-common.yaml | 58 +++--- .../devicetree/bindings/usb/fsl,ls1028a.yaml | 104 +++++----- .../devicetree/bindings/usb/iproc-udc.txt | 42 ++-- .../devicetree/bindings/usb/lpc32xx-udc.txt | 56 +++--- .../devicetree/bindings/usb/maxim,max3421.txt | 46 ++--- .../bindings/usb/mediatek,mt6370-tcpc.yaml | 72 +++---- .../devicetree/bindings/usb/s3c2410-usb.txt | 44 ++--- .../devicetree/bindings/usb/xlnx,usb2.yaml | 96 ++++----- .../bindings/w1/amd,axi-1wire-host.yaml | 88 ++++----- .../devicetree/bindings/w1/fsl-imx-owire.yaml | 88 ++++----- .../devicetree/bindings/w1/maxim,ds2482.yaml | 88 ++++----- .../devicetree/bindings/w1/w1-gpio.yaml | 86 ++++----- .../bindings/watchdog/arm-smc-wdt.yaml | 78 ++++---- .../bindings/watchdog/armada-37xx-wdt.txt | 46 ++--- .../bindings/watchdog/brcm,bcm7038-wdt.yaml | 86 ++++----- .../bindings/watchdog/brcm,kona-wdt.yaml | 82 ++++---- .../bindings/watchdog/cirrus,ep9301-wdt.yaml | 84 ++++---- .../bindings/watchdog/fsl,scu-wdt.yaml | 72 +++---- .../watchdog/kontron,sl28cpld-wdt.yaml | 70 +++---- .../bindings/watchdog/lantiq-wdt.txt | 48 ++--- .../bindings/watchdog/loongson,ls1x-wdt.yaml | 84 ++++---- .../bindings/watchdog/maxim,max63xx.yaml | 90 ++++----- .../watchdog/mediatek,mt7621-wdt.yaml | 80 ++++---- .../bindings/watchdog/men-a021-wdt.txt | 50 ++--- .../bindings/watchdog/mpc8xxx-wdt.txt | 50 ++--- .../bindings/watchdog/mstar,msc313e-wdt.yaml | 80 ++++---- .../bindings/watchdog/ralink,rt2880-wdt.yaml | 92 ++++----- .../watchdog/realtek,rtd1295-watchdog.yaml | 76 ++++---- .../watchdog/socionext,uniphier-wdt.yaml | 60 +++--- .../bindings/watchdog/sunplus,sp7021-wdt.yaml | 94 ++++----- .../watchdog/technologic,ts7200-wdt.yaml | 90 ++++----- .../bindings/watchdog/watchdog.yaml | 64 +++--- .../Documentation/driver-api/devfreq.rst | 60 +++--- .../driver-api/firmware/introduction.rst | 54 +++--- .../driver-api/firmware/lookup-order.rst | 40 ++-- .../driver-api/fpga/fpga-bridge.rst | 50 ++--- .../Documentation/driver-api/gpio/index.rst | 98 +++++----- .../kernel/Documentation/driver-api/input.rst | 98 +++++----- .../driver-api/media/drivers/fimc-devel.rst | 66 +++---- .../Documentation/driver-api/mei/hdcp.rst | 64 +++--- .../Documentation/driver-api/mei/nfc.rst | 56 +++--- .../Documentation/driver-api/pci/pci.rst | 106 +++++----- .../surface_aggregator/client-api.rst | 76 ++++---- .../Documentation/driver-api/tty/console.rst | 90 ++++----- .../kernel/Documentation/driver-api/wmi.rst | 40 ++-- .../kernel/Documentation/fb/sm712fb.rst | 70 +++---- .../features/core/cBPF-JIT/arch-support.txt | 60 +++--- .../features/core/eBPF-JIT/arch-support.txt | 60 +++--- .../core/generic-idle-thread/arch-support.txt | 60 +++--- .../core/jump-labels/arch-support.txt | 60 +++--- .../core/thread-info-in-task/arch-support.txt | 60 +++--- .../features/core/tracehook/arch-support.txt | 60 +++--- .../features/debug/KASAN/arch-support.txt | 60 +++--- .../debug/debug-vm-pgtable/arch-support.txt | 60 +++--- .../debug/gcov-profile-all/arch-support.txt | 60 +++--- .../features/debug/kcov/arch-support.txt | 60 +++--- .../features/debug/kgdb/arch-support.txt | 60 +++--- .../features/debug/kmemleak/arch-support.txt | 60 +++--- .../debug/kprobes-on-ftrace/arch-support.txt | 60 +++--- .../features/debug/kprobes/arch-support.txt | 60 +++--- .../debug/kretprobes/arch-support.txt | 60 +++--- .../features/debug/optprobes/arch-support.txt | 60 +++--- .../debug/stackprotector/arch-support.txt | 60 +++--- .../features/debug/uprobes/arch-support.txt | 60 +++--- .../debug/user-ret-profiler/arch-support.txt | 60 +++--- .../io/dma-contiguous/arch-support.txt | 60 +++--- .../locking/cmpxchg-local/arch-support.txt | 60 +++--- .../features/locking/lockdep/arch-support.txt | 60 +++--- .../locking/queued-rwlocks/arch-support.txt | 60 +++--- .../locking/queued-spinlocks/arch-support.txt | 60 +++--- .../perf/kprobes-event/arch-support.txt | 60 +++--- .../features/perf/perf-regs/arch-support.txt | 60 +++--- .../perf/perf-stackdump/arch-support.txt | 60 +++--- .../sched/numa-balancing/arch-support.txt | 60 +++--- .../seccomp/seccomp-filter/arch-support.txt | 60 +++--- .../time/arch-tick-broadcast/arch-support.txt | 60 +++--- .../time/clockevents/arch-support.txt | 60 +++--- .../time/context-tracking/arch-support.txt | 60 +++--- .../time/irq-time-acct/arch-support.txt | 60 +++--- .../time/virt-cpuacct/arch-support.txt | 60 +++--- .../features/vm/ELF-ASLR/arch-support.txt | 62 +++--- .../features/vm/THP/arch-support.txt | 60 +++--- .../features/vm/TLB/arch-support.txt | 60 +++--- .../features/vm/huge-vmap/arch-support.txt | 60 +++--- .../features/vm/ioremap_prot/arch-support.txt | 60 +++--- .../features/vm/pte_special/arch-support.txt | 60 +++--- .../kernel/Documentation/gpu/rfc/index.rst | 66 +++---- .../kernel/Documentation/gpu/v3d.rst | 56 +++--- .../Documentation/gpu/xe/xe_firmware.rst | 74 +++---- .../kernel/Documentation/hwmon/ad7314.rst | 68 +++---- .../kernel/Documentation/hwmon/adm1177.rst | 72 +++---- .../hwmon/aspeed-g6-pwm-tach.rst | 52 ++--- .../Documentation/hwmon/aspeed-pwm-tacho.rst | 48 ++--- .../kernel/Documentation/hwmon/fsp-3y.rst | 56 +++--- .../Documentation/hwmon/gxp-fan-ctrl.rst | 56 +++--- .../kernel/Documentation/hwmon/hs3001.rst | 74 +++---- .../kernel/Documentation/hwmon/lan966x.rst | 80 ++++---- .../kernel/Documentation/hwmon/max1619.rst | 58 +++--- .../kernel/Documentation/hwmon/mc34vr500.rst | 64 +++--- .../Documentation/hwmon/npcm750-pwm-fan.rst | 52 ++--- .../kernel/Documentation/hwmon/powerz.rst | 60 +++--- .../kernel/Documentation/hwmon/scpi-hwmon.rst | 72 +++---- .../Documentation/hwmon/sparx5-temp.rst | 66 +++---- .../Documentation/hwmon/surface_fan.rst | 50 ++--- .../kernel/Documentation/hwmon/tmp102.rst | 62 +++--- .../kernel/Documentation/hwmon/tmp103.rst | 66 +++---- .../kernel/Documentation/hwmon/tps546d24.rst | 70 +++---- .../kernel/Documentation/hwmon/wm8350.rst | 60 +++--- .../Documentation/hwmon/xgene-hwmon.rst | 72 +++---- .../Documentation/i2c/busses/i2c-ali1563.rst | 60 +++--- .../Documentation/i2c/busses/i2c-amd756.rst | 58 +++--- .../i2c/busses/i2c-diolan-u2c.rst | 58 +++--- .../kernel/Documentation/iio/iio_tools.rst | 54 +++--- .../kernel/Documentation/images/COPYING-logo | 42 ++-- .../litmus-tests/locking/DCL-broken.litmus | 108 +++++------ .../litmus-tests/locking/DCL-fixed.litmus | 110 +++++------ .../litmus-tests/locking/RM-broken.litmus | 82 ++++---- .../litmus-tests/locking/RM-fixed.litmus | 82 ++++---- .../litmus-tests/rcu/RCU+sync+free.litmus | 84 ++++---- .../litmus-tests/rcu/RCU+sync+read.litmus | 74 +++---- .../kernel/Documentation/networking/ax25.rst | 32 +-- .../ethernet/marvell/octeon_ep_vf.rst | 48 ++--- .../Documentation/networking/devlink/hns3.rst | 60 +++--- .../networking/devlink/mv88e6xxx.rst | 56 +++--- .../networking/devlink/ti-cpsw-switch.rst | 62 +++--- .../Documentation/networking/failover.rst | 36 ++-- .../kernel/Documentation/networking/secid.rst | 40 ++-- .../kernel/Documentation/networking/sriov.rst | 50 ++--- .../kernel/Documentation/power/index.rst | 92 ++++----- .../power/regulator/regulator.rst | 64 +++--- .../kernel/Documentation/power/tricks.rst | 58 +++--- .../process/development-process.rst | 54 +++--- .../kernel/Documentation/scsi/index.rst | 156 +++++++-------- .../security/lsm-development.rst | 34 ++-- .../security/tpm/tpm_ftpm_tee.rst | 54 +++--- .../Documentation/sphinx/parallel-wrapper.sh | 66 +++---- .../sphinx/templates/kernel-toc.html | 36 ++-- .../kernel/Documentation/tools/rv/rv-list.rst | 86 ++++----- .../Documentation/tools/rv/rv-mon-wip.rst | 88 ++++----- .../Documentation/tools/rv/rv-mon-wwnr.rst | 86 ++++----- .../kernel/Documentation/trace/events-msr.rst | 80 ++++---- .../trace/postprocess/decode_msr.py | 74 +++---- .../it_IT/process/kernel-docs.rst | 36 ++-- .../it_IT/process/maintainer-handbooks.rst | 48 ++--- .../sp_SP/process/development-process.rst | 54 +++--- .../translations/zh_CN/arch/openrisc/todo.rst | 46 ++--- .../translations/zh_CN/dev-tools/index.rst | 82 ++++---- .../translations/zh_CN/devicetree/index.rst | 90 ++++----- .../zh_CN/devicetree/kernel-api.rst | 116 +++++------ .../zh_CN/driver-api/gpio/index.rst | 132 ++++++------- .../translations/zh_CN/filesystems/index.rst | 58 +++--- .../translations/zh_CN/locking/index.rst | 86 ++++----- .../translations/zh_CN/power/index.rst | 112 +++++------ .../zh_CN/process/development-process.rst | 50 ++--- .../zh_CN/userspace-api/ebpf/syscall.rst | 58 +++--- .../zh_CN/userspace-api/index.rst | 94 ++++----- .../translations/zh_TW/arch/openrisc/todo.rst | 48 ++--- .../translations/zh_TW/dev-tools/index.rst | 86 ++++----- .../translations/zh_TW/filesystems/index.rst | 62 +++--- .../Documentation/userspace-api/ELF.rst | 68 +++---- .../userspace-api/ebpf/syscall.rst | 48 ++--- .../gpio/gpio-get-chipinfo-ioctl.rst | 82 ++++---- .../userspace-api/ioctl/ioctl-decoding.rst | 62 +++--- .../userspace-api/media/ca.h.rst.exceptions | 50 ++--- .../userspace-api/media/cec/cec-api.rst | 82 ++++---- .../media/cec/cec-func-close.rst | 86 ++++----- .../userspace-api/media/drivers/vgxy61.rst | 50 ++--- .../userspace-api/media/dvb/ca-fclose.rst | 80 ++++---- .../userspace-api/media/dvb/ca-get-cap.rst | 92 ++++----- .../media/dvb/ca-get-descr-info.rst | 86 ++++----- .../userspace-api/media/dvb/ca-get-msg.rst | 100 +++++----- .../userspace-api/media/dvb/ca-reset.rst | 86 ++++----- .../userspace-api/media/dvb/ca-send-msg.rst | 100 +++++----- .../userspace-api/media/dvb/ca-set-descr.rst | 92 ++++----- .../userspace-api/media/dvb/ca.rst | 50 ++--- .../userspace-api/media/dvb/dmx-add-pid.rst | 94 ++++----- .../userspace-api/media/dvb/dmx-fclose.rst | 84 ++++---- .../userspace-api/media/dvb/dmx-munmap.rst | 104 +++++----- .../media/dvb/dmx-remove-pid.rst | 96 ++++----- .../media/dvb/dmx-set-buffer-size.rst | 96 ++++----- .../userspace-api/media/dvb/dmx-stop.rst | 88 ++++----- .../media/dvb/dvb-fe-read-status.rst | 50 ++--- .../media/dvb/fe-bandwidth-t.rst | 148 +++++++------- .../media/dvb/fe-diseqc-recv-slave-reply.rst | 94 ++++----- .../media/dvb/fe-diseqc-send-master-cmd.rst | 96 ++++----- .../userspace-api/media/dvb/fe-read-ber.rst | 98 +++++----- .../media/dvb/fe-read-signal-strength.rst | 98 +++++----- .../userspace-api/media/dvb/fe-read-snr.rst | 98 +++++----- .../media/dvb/frontend_f_close.rst | 92 ++++----- .../media/dvb/frontend_legacy_api.rst | 76 ++++---- .../media/dvb/legacy_dvb_apis.rst | 52 ++--- .../userspace-api/media/dvb/net-remove-if.rst | 92 ++++----- .../media/mediactl/media-controller.rst | 98 +++++----- .../media/mediactl/media-func-close.rst | 86 ++++----- .../media/mediactl/request-func-close.rst | 90 ++++----- .../media/rc/lirc-set-send-carrier.rst | 82 ++++---- .../userspace-api/media/rc/rc-intro.rst | 48 ++--- .../media/rc/remote_controllers.rst | 92 ++++----- .../userspace-api/media/v4l/fourcc.rst | 64 +++--- .../userspace-api/media/v4l/func-close.rst | 90 ++++----- .../userspace-api/media/v4l/pipeline.dot | 28 +-- .../userspace-api/media/v4l/pixfmt-bayer.rst | 66 +++---- .../media/v4l/pixfmt-indexed.rst | 94 ++++----- .../media/v4l/pixfmt-sdr-cs08.rst | 60 +++--- .../media/v4l/pixfmt-sdr-cs14le.rst | 68 +++---- .../media/v4l/pixfmt-sdr-cu08.rst | 60 +++--- .../media/v4l/pixfmt-sdr-cu16le.rst | 68 +++---- .../userspace-api/media/v4l/pixfmt-uv8.rst | 94 ++++----- .../userspace-api/media/v4l/pixfmt-y12i.rst | 72 +++---- .../media/v4l/selections-common.rst | 46 ++--- .../Documentation/w1/masters/ds2482.rst | 78 ++++---- .../Documentation/watchdog/watchdog-pm.rst | 44 ++--- .../Documentation/wmi/devices/wmi-bmof.rst | 50 ++--- image/debian/UFI003_MB_V02/kernel/README | 36 ++-- .../arch/alpha/include/asm/agp_backend.h | 86 ++++----- .../arch/alpha/include/asm/mc146818rtc.h | 56 +++--- .../kernel/arch/alpha/include/asm/pgalloc.h | 72 +++---- .../kernel/arch/alpha/include/asm/ptrace.h | 54 +++--- .../kernel/arch/alpha/include/asm/rwonce.h | 70 +++---- .../kernel/arch/alpha/include/asm/signal.h | 56 +++--- .../arch/alpha/include/asm/special_insns.h | 78 ++++---- .../kernel/arch/alpha/include/asm/timex.h | 66 +++---- .../arch/alpha/include/uapi/asm/auxvec.h | 54 +++--- .../arch/alpha/include/uapi/asm/resource.h | 46 ++--- .../arch/alpha/include/uapi/asm/sigcontext.h | 70 +++---- .../arch/alpha/include/uapi/asm/sysinfo.h | 64 +++--- .../arch/alpha/include/uapi/asm/types.h | 54 +++--- .../kernel/arch/alpha/kernel/asm-offsets.c | 62 +++--- .../kernel/arch/alpha/kernel/pc873xx.h | 72 +++---- .../arch/alpha/kernel/syscalls/Makefile | 64 +++--- .../kernel/arch/alpha/lib/copy_page.S | 102 +++++----- .../kernel/arch/alpha/lib/ev6-clear_page.S | 112 +++++------ .../kernel/arch/alpha/lib/srm_printk.c | 84 ++++---- .../kernel/arch/arc/boot/dts/skeleton.dtsi | 96 ++++----- .../kernel/arch/arc/boot/dts/skeleton_hs.dtsi | 98 +++++----- .../kernel/arch/arc/include/asm/atomic.h | 72 +++---- .../kernel/arch/arc/include/asm/bug.h | 68 +++---- .../kernel/arch/arc/include/asm/dsp.h | 58 +++--- .../kernel/arch/arc/include/asm/irq.h | 60 +++--- .../kernel/arch/arc/include/asm/pgtable.h | 68 +++---- .../arch/arc/include/asm/spinlock_types.h | 68 +++---- .../arch/arc/include/uapi/asm/cachectl.h | 58 +++--- .../arch/arc/include/uapi/asm/sigcontext.h | 48 ++--- .../kernel/arch/arc/kernel/Makefile | 58 +++--- .../kernel/arch/arc/plat-sim/platform.c | 64 +++--- .../kernel/arch/arm/boot/compressed/debug.S | 96 ++++----- .../arch/arm/boot/compressed/head-xscale.S | 70 +++---- .../kernel/arch/arm/boot/compressed/misc.h | 42 ++-- .../kernel/arch/arm/boot/dts/Makefile | 82 ++++---- .../arch/arm/boot/dts/airoha/en7523-evb.dts | 86 ++++----- .../sun7i-a20-linutronix-testbox-v2.dts | 94 ++++----- .../sun7i-a20-olimex-som-evb-emmc.dts | 70 +++---- .../sun7i-a20-olimex-som204-evb-emmc.dts | 68 +++---- .../sun7i-a20-olinuxino-lime-emmc.dts | 64 +++--- .../dts/allwinner/sun8i-s3-elimo-impetus.dtsi | 88 ++++----- .../allwinner/sun8i-s3-lichee-zero-plus.dts | 106 +++++----- .../sun8i-t113s-mangopi-mq-r-t113.dts | 70 +++---- .../sunxi-bananapi-m2-plus-v1.2.dtsi | 84 ++++---- .../kernel/arch/arm/boot/dts/arm/Makefile | 60 +++--- .../arm/boot/dts/arm/versatile-ab-ib2.dts | 60 +++--- .../aspeed/aspeed-bmc-facebook-galaxy100.dts | 106 +++++----- .../dts/aspeed/facebook-bmc-flash-layout.dtsi | 84 ++++---- .../arm/boot/dts/axis/artpec6-devboard.dts | 128 ++++++------ .../arm/boot/dts/broadcom/bcm-nsp-ax.dtsi | 140 +++++++------- .../arm/boot/dts/broadcom/bcm21664-garnet.dts | 102 +++++----- .../arm/boot/dts/broadcom/bcm2711-rpi-400.dts | 88 ++++----- .../boot/dts/broadcom/bcm2835-rpi-cm1.dtsi | 90 ++++----- .../dts/broadcom/bcm283x-rpi-lan7515.dtsi | 82 ++++---- .../broadcom/bcm4708-linksys-ea6300-v1.dts | 96 ++++----- .../broadcom/bcm4708-linksys-ea6500-v2.dts | 90 ++++----- .../arch/arm/boot/dts/broadcom/bcm4708.dtsi | 96 ++++----- .../arch/arm/boot/dts/broadcom/bcm59056.dtsi | 182 +++++++++--------- .../dts/broadcom/bcm7445-bcm97445svmb.dts | 76 ++++---- .../arm/boot/dts/broadcom/bcm963138dvt.dts | 112 +++++------ .../arm/boot/dts/cros-adc-thermistors.dtsi | 82 ++++---- .../arm/boot/dts/hisilicon/hip01-ca9x2.dts | 96 ++++----- .../arch/arm/boot/dts/intel/ixp/Makefile | 40 ++-- .../arm/boot/dts/intel/ixp/intel-ixp42x.dtsi | 68 +++---- .../dts/intel/ixp/intel-ixp46x-ixdp465.dts | 76 ++++---- .../socfpga/socfpga_arria10_mercury_pe1.dts | 110 +++++------ .../socfpga/socfpga_arria10_socdk_qspi.dts | 72 +++---- .../marvell/armada-370-seagate-nas-2bay.dts | 66 +++---- .../armada-370-seagate-personal-cloud.dts | 68 +++---- .../arch/arm/boot/dts/marvell/armada-388.dtsi | 74 +++---- .../arch/arm/boot/dts/marvell/armada-395.dtsi | 78 ++++---- .../arch/arm/boot/dts/marvell/armada-398.dtsi | 62 +++--- .../boot/dts/marvell/armada-xp-98dx3336.dtsi | 78 ++++---- .../marvell/armada-xp-crs305-1g-4s-bit.dts | 86 ++++----- .../marvell/armada-xp-crs326-24g-2s-bit.dts | 86 ++++----- .../armada-xp-crs328-4c-20s-4s-bit.dts | 86 ++++----- .../arm/boot/dts/marvell/dove-dove-db.dts | 78 ++++---- .../arm/boot/dts/marvell/kirkwood-d2net.dts | 90 ++++----- .../arm/boot/dts/marvell/kirkwood-ds109.dts | 80 ++++---- .../boot/dts/marvell/kirkwood-ds110jv10.dts | 80 ++++---- .../arm/boot/dts/marvell/kirkwood-ds111.dts | 86 ++++----- .../arm/boot/dts/marvell/kirkwood-ds112.dts | 102 +++++----- .../arm/boot/dts/marvell/kirkwood-ds209.dts | 86 ++++----- .../arm/boot/dts/marvell/kirkwood-ds210.dts | 90 ++++----- .../arm/boot/dts/marvell/kirkwood-ds212.dts | 92 ++++----- .../arm/boot/dts/marvell/kirkwood-ds212j.dts | 80 ++++---- .../arm/boot/dts/marvell/kirkwood-ds409.dts | 94 ++++----- .../arm/boot/dts/marvell/kirkwood-ds411.dts | 110 +++++------ .../arm/boot/dts/marvell/kirkwood-ds411j.dts | 94 ++++----- .../boot/dts/marvell/kirkwood-ds411slim.dts | 94 ++++----- .../arm/boot/dts/marvell/kirkwood-is2.dts | 80 ++++---- .../boot/dts/marvell/kirkwood-km_common.dtsi | 94 ++++----- .../arm/boot/dts/marvell/kirkwood-ns2.dts | 80 ++++---- .../arm/boot/dts/marvell/kirkwood-ns2lite.dts | 70 +++---- .../boot/dts/marvell/kirkwood-openrd-base.dts | 78 ++++---- .../dts/marvell/kirkwood-openrd-ultimate.dts | 110 +++++------ .../boot/dts/marvell/kirkwood-rd88f6281-a.dts | 78 ++++---- .../arm/boot/dts/marvell/kirkwood-rs212.dts | 102 +++++----- .../arm/boot/dts/marvell/kirkwood-rs411.dts | 86 ++++----- .../boot/dts/marvell/kirkwood-sheevaplug.dts | 84 ++++---- .../boot/dts/marvell/orion5x-mv88f5181.dtsi | 88 ++++----- .../boot/dts/marvell/orion5x-mv88f5182.dtsi | 80 ++++---- .../dts/microchip/at91-kizboxmini-base.dts | 48 ++--- .../boot/dts/microchip/at91-kizboxmini-rd.dts | 98 +++++----- .../arm/boot/dts/microchip/at91-wb45n.dts | 122 ++++++------ .../arm/boot/dts/microchip/at91sam9g15.dtsi | 56 +++--- .../arm/boot/dts/microchip/at91sam9g15ek.dts | 72 +++---- .../arm/boot/dts/microchip/at91sam9g20.dtsi | 98 +++++----- .../arm/boot/dts/microchip/at91sam9g25.dtsi | 68 +++---- .../arm/boot/dts/microchip/at91sam9g35.dtsi | 66 +++---- .../arm/boot/dts/microchip/at91sam9g35ek.dts | 82 ++++---- .../arm/boot/dts/microchip/at91sam9x25.dtsi | 70 +++---- .../arm/boot/dts/microchip/at91sam9x25ek.dts | 70 +++---- .../arm/boot/dts/microchip/at91sam9x35.dtsi | 68 +++---- .../arm/boot/dts/microchip/at91sam9x35ek.dts | 82 ++++---- .../arch/arm/boot/dts/microchip/evk-pro3.dts | 116 +++++------ .../lan966x-kontron-kswitch-d10-mmt-8g.dts | 82 ++++---- .../arm/boot/dts/microchip/sama5d31ek.dts | 104 +++++----- .../arm/boot/dts/microchip/sama5d33ek.dts | 90 ++++----- .../arm/boot/dts/microchip/sama5d36ek.dts | 108 +++++------ .../arm/boot/dts/microchip/sama5d36ek_cmp.dts | 100 +++++----- .../arm/boot/dts/microchip/sama5d3_tcb1.dtsi | 62 +++--- .../arm/boot/dts/microchip/sama5d3xdm.dtsi | 80 ++++---- .../arch/arm/boot/dts/microchip/usb_a9260.dts | 62 +++--- .../arm/boot/dts/microchip/usb_a9g20_lpw.dts | 60 +++--- .../arm/boot/dts/nuvoton/nuvoton-npcm730.dtsi | 88 ++++----- ...25-eukrea-mbimxsd25-baseboard-dvi-svga.dts | 74 +++---- ...x25-eukrea-mbimxsd25-baseboard-dvi-vga.dts | 74 +++---- .../arm/boot/dts/nxp/imx/imx53-kp-hsc.dts | 104 +++++----- .../dts/nxp/imx/imx53-sk-imx53-atm0700d4.dtsi | 90 ++++----- .../arm/boot/dts/nxp/imx/imx6dl-b105pv2.dts | 64 +++--- .../arm/boot/dts/nxp/imx/imx6dl-b105v2.dts | 64 +++--- .../arm/boot/dts/nxp/imx/imx6dl-b125pv2.dts | 60 +++--- .../arm/boot/dts/nxp/imx/imx6dl-b125v2.dts | 60 +++--- .../arm/boot/dts/nxp/imx/imx6dl-b155v2.dts | 64 +++--- .../boot/dts/nxp/imx/imx6dl-yapp4-draco.dts | 116 +++++------ .../boot/dts/nxp/imx/imx6dl-yapp4-hydra.dts | 108 +++++------ .../boot/dts/nxp/imx/imx6dl-yapp4-lynx.dts | 116 +++++------ .../boot/dts/nxp/imx/imx6dl-yapp4-orion.dts | 108 +++++------ .../boot/dts/nxp/imx/imx6dl-yapp4-ursa.dts | 116 +++++------ .../dts/nxp/imx/imx6q-apalis-ixora-v1.1.dts | 74 +++---- .../boot/dts/nxp/imx/imx6q-icore-ofcap10.dts | 88 ++++----- .../boot/dts/nxp/imx/imx6q-icore-ofcap12.dts | 86 ++++----- .../arch/arm/boot/dts/nxp/imx/imx6q-mba6.dtsi | 88 ++++----- .../boot/dts/nxp/imx/imx6q-skov-revc-lt2.dts | 74 +++---- .../arm/boot/dts/nxp/imx/imx6q-yapp4-crux.dts | 116 +++++------ .../boot/dts/nxp/imx/imx6q-yapp4-pegasus.dts | 116 +++++------ .../boot/dts/nxp/imx/imx6qdl-icore-1.5.dtsi | 64 +++--- .../arm/boot/dts/nxp/imx/imx6qdl-mba6a.dtsi | 84 ++++---- .../boot/dts/nxp/imx/imx6qdl-pico-dwarf.dtsi | 90 ++++----- .../boot/dts/nxp/imx/imx6qdl-pico-nymph.dtsi | 108 +++++------ .../dts/nxp/imx/imx6qp-yapp4-crux-plus.dts | 116 +++++------ .../dts/nxp/imx/imx6qp-yapp4-pegasus-plus.dts | 116 +++++------ .../boot/dts/nxp/imx/imx6s-dhcom-drc02.dts | 60 +++--- .../arm/boot/dts/nxp/imx/imx6sx-sdb-mqs.dts | 96 ++++----- .../arm/boot/dts/nxp/imx/imx6ul-tqma6ul1.dtsi | 74 +++---- .../dts/nxp/imx/imx6ul-tqma6ulx-common.dtsi | 86 ++++----- .../dts/nxp/imx/imx6ul-tqma6ulxl-common.dtsi | 96 ++++----- .../dts/nxp/imx/imx6ull-colibri-aster.dts | 120 ++++++------ .../nxp/imx/imx6ull-colibri-wifi-aster.dts | 120 ++++++------ .../imx/imx6ull-phytec-segin-lc-rdk-nand.dts | 92 ++++----- .../dts/nxp/imx/imx6ull-phytec-segin.dtsi | 62 +++--- .../dts/nxp/imx/imx6ull-tarragon-slave.dts | 64 +++--- .../arch/arm/boot/dts/nxp/imx/imx6ulz.dtsi | 72 +++---- .../arm/boot/dts/nxp/imx/imx7d-sdb-reva.dts | 82 ++++---- .../arm/boot/dts/nxp/imx/imx7d-sdb-sht11.dts | 72 +++---- .../arch/arm/boot/dts/nxp/lpc/lpc4350.dtsi | 78 ++++---- .../arch/arm/boot/dts/nxp/lpc/lpc4357.dtsi | 86 ++++----- .../kernel/arch/arm/boot/dts/nxp/mxs/Makefile | 62 +++--- .../boot/dts/nxp/mxs/imx28-duckbill-2-485.dts | 76 ++++---- .../arch/arm/boot/dts/nxp/mxs/imx28-m28.dtsi | 86 ++++----- .../arm/boot/dts/nxp/vf/vf610m4-colibri.dts | 126 ++++++------ .../kernel/arch/arm/boot/dts/qcom/pmx65.dtsi | 66 +++---- .../dts/qcom/qcom-ipq4018-ap120c-ac-bit.dts | 68 +++---- .../boot/dts/qcom/qcom-ipq4018-ap120c-ac.dts | 68 +++---- .../boot/dts/qcom/qcom-ipq8062-smb208.dtsi | 74 +++---- .../boot/dts/qcom/qcom-ipq8064-smb208.dtsi | 74 +++---- .../dts/qcom/qcom-ipq8064-v2.0-smb208.dtsi | 74 +++---- .../boot/dts/qcom/qcom-ipq8065-smb208.dtsi | 74 +++---- .../qcom-msm8226-microsoft-moneypenny.dts | 52 ++--- .../arm/boot/dts/qcom/qcom-msm8916-smp.dtsi | 124 ++++++------ .../qcom/qcom-msm8926-samsung-matisselte.dts | 74 +++---- .../kernel/arch/arm/boot/dts/renesas/Makefile | 66 +++---- .../r8a7742-iwg21d-q7-dbcm-ov5640-single.dtsi | 74 +++---- .../r8a7742-iwg21d-q7-dbcm-ov7725-single.dtsi | 62 +++--- .../dts/renesas/r8a77xx-aa121td01-panel.dtsi | 78 ++++---- .../arch/arm/boot/dts/rockchip/rk3036-evb.dts | 96 ++++----- .../dts/rockchip/rk3288-veyron-mighty.dts | 68 +++---- .../boot/dts/samsung/exynos4212-tab3-3g8.dts | 58 +++--- .../boot/dts/samsung/exynos4212-tab3-lte8.dts | 88 ++++----- .../dts/samsung/exynos4412-ppmu-common.dtsi | 94 ++++----- .../boot/dts/samsung/exynos4412-trats2.dts | 58 +++--- .../dts/samsung/exynos5420-trip-points.dtsi | 62 +++--- .../arch/arm/boot/dts/samsung/s3c6400.dtsi | 76 ++++---- .../arm/boot/dts/samsung/s3c64xx-pinctrl.h | 54 +++--- .../boot/dts/sigmastar/mstar-infinity.dtsi | 104 +++++----- .../boot/dts/sigmastar/mstar-infinity2m.dtsi | 78 ++++---- .../arm/boot/dts/socionext/uniphier-ld6b.dtsi | 60 +++--- .../dts/socionext/uniphier-pro5-proex.dts | 118 ++++++------ .../dts/socionext/uniphier-support-card.dtsi | 54 +++--- .../arch/arm/boot/dts/st/ste-db8500.dtsi | 104 +++++----- .../arch/arm/boot/dts/st/ste-db8520.dtsi | 104 +++++----- .../arch/arm/boot/dts/st/ste-db9500.dtsi | 68 +++---- .../arm/boot/dts/st/ste-hrefprev60-tvk.dts | 68 +++---- .../arch/arm/boot/dts/st/stm32f769.dtsi | 74 +++---- .../arch/arm/boot/dts/st/stm32mp135.dtsi | 68 +++---- .../arm/boot/dts/st/stm32mp151a-prtt1a.dts | 96 ++++----- .../boot/dts/st/stm32mp153c-dhcom-drc02.dts | 78 ++++---- .../dts/st/stm32mp153c-dhcor-drc-compact.dts | 60 +++--- .../boot/dts/st/stm32mp157c-dhcom-pdk2.dts | 64 +++--- .../boot/dts/st/stm32mp157c-dhcom-picoitx.dts | 78 ++++---- .../dts/st/stm32mp157c-phycore-stm32mp1-3.dts | 120 ++++++------ .../boot/dts/st/stm32mp15xx-dhcor-io1v8.dtsi | 56 +++--- .../dts/synaptics/berlin2-sony-nsz-gs7.dts | 86 ++++----- .../boot/dts/ti/davinci/da850-enbw-cmc.dts | 88 ++++----- .../dts/ti/omap/am335x-bonegreen-common.dtsi | 82 ++++---- .../dts/ti/omap/am571x-idk-touchscreen.dtso | 64 +++--- .../dts/ti/omap/am572x-idk-touchscreen.dtso | 64 +++--- .../arch/arm/boot/dts/ti/omap/am572x-idk.dts | 74 +++---- .../arch/arm/boot/dts/ti/omap/am574x-idk.dts | 98 +++++----- .../dts/ti/omap/am57xx-beagle-x15-revb1.dts | 72 +++---- .../dts/ti/omap/am57xx-beagle-x15-revc.dts | 62 +++--- .../boot/dts/ti/omap/am57xx-beagle-x15.dts | 76 ++++---- .../ti/omap/am57xx-idk-lcd-osd101t2045.dtso | 126 ++++++------ .../arm/boot/dts/ti/omap/compulab-sb-som.dtsi | 92 ++++----- .../arm/boot/dts/ti/omap/dra62x-clocks.dtsi | 90 ++++----- .../boot/dts/ti/omap/dra7-ipu-dsp-common.dtsi | 78 ++++---- .../boot/dts/ti/omap/dra7-mmc-iodelay.dtsi | 38 ++-- .../arch/arm/boot/dts/ti/omap/dra74x-p.dtsi | 54 +++--- .../boot/dts/ti/omap/omap3-cpu-thermal.dtsi | 74 +++---- .../dts/ti/omap/omap3-devkit8000-lcd43.dts | 68 +++---- .../dts/ti/omap/omap3-devkit8000-lcd70.dts | 68 +++---- .../dts/ti/omap/omap3-overo-chestnut43.dts | 70 +++---- .../boot/dts/ti/omap/omap3-overo-gallop43.dts | 70 +++---- .../boot/dts/ti/omap/omap3-overo-palo35.dts | 68 +++---- .../boot/dts/ti/omap/omap3-overo-palo43.dts | 70 +++---- .../ti/omap/omap3-overo-storm-chestnut43.dts | 70 +++---- .../ti/omap/omap3-overo-storm-gallop43.dts | 70 +++---- .../dts/ti/omap/omap3-overo-storm-palo35.dts | 68 +++---- .../dts/ti/omap/omap3-overo-storm-palo43.dts | 70 +++---- .../dts/ti/omap/omap3-overo-tobi-common.dtsi | 74 +++---- .../arm/boot/dts/ti/omap/omap3-sbc-t3730.dts | 88 ++++----- .../boot/dts/ti/omap/omap4-xyboard-mz609.dts | 92 ++++----- .../arm/boot/dts/ti/omap/twl6030_omap4.dtsi | 70 +++---- .../kernel/arch/arm/boot/dts/tps6507x.dtsi | 88 ++++----- .../dts/unisoc/rda8810pl-orangepi-2g-iot.dts | 100 +++++----- .../dts/unisoc/rda8810pl-orangepi-i96.dts | 100 +++++----- .../arch/arm/boot/dts/vt8500/vt8500-bv07.dts | 70 +++---- .../arch/arm/boot/dts/vt8500/wm8505-ref.dts | 70 +++---- .../arch/arm/boot/dts/vt8500/wm8650-mid.dts | 72 +++---- .../arch/arm/boot/dts/vt8500/wm8850-w70v2.dts | 94 ++++----- .../arm/boot/dts/xilinx/zynq-zc770-xm011.dts | 128 ++++++------ .../arm/boot/dts/xilinx/zynq-zc770-xm012.dts | 128 ++++++------ .../arch/arm/boot/dts/xilinx/zynq-zed.dts | 124 ++++++------ .../arch/arm/boot/dts/xilinx/zynq-zybo.dts | 126 ++++++------ .../kernel/arch/arm/common/secure_cntvoff.S | 64 +++--- .../kernel/arch/arm/configs/imxrt_defconfig | 70 +++---- .../arch/arm/configs/msm8916_defconfig.part | 70 +++---- .../kernel/arch/arm/include/asm/cache.h | 58 +++--- .../kernel/arch/arm/include/asm/dcc.h | 66 +++---- .../kernel/arch/arm/include/asm/dma-iommu.h | 72 +++---- .../arch/arm/include/asm/hugetlb-3level.h | 58 +++--- .../kernel/arch/arm/include/asm/irq.h | 94 ++++----- .../kernel/arch/arm/include/asm/kasan.h | 66 +++---- .../arch/arm/include/asm/mach/sharpsl_param.h | 66 +++---- .../kernel/arch/arm/include/asm/mc146818rtc.h | 62 +++--- .../kernel/arch/arm/include/asm/mmu.h | 98 +++++----- .../arch/arm/include/asm/opcodes-virt.h | 52 ++--- .../kernel/arch/arm/include/asm/page-nommu.h | 68 +++---- .../kernel/arch/arm/include/asm/pci.h | 56 +++--- .../kernel/arch/arm/include/asm/perf_event.h | 50 ++--- .../kernel/arch/arm/include/asm/sections.h | 52 ++--- .../kernel/arch/arm/include/asm/semihost.h | 60 +++--- .../kernel/arch/arm/include/asm/set_memory.h | 44 ++--- .../kernel/arch/arm/include/asm/signal.h | 60 +++--- .../kernel/arch/arm/include/asm/sparsemem.h | 52 ++--- .../kernel/arch/arm/include/asm/system_info.h | 60 +++--- .../kernel/arch/arm/include/asm/therm.h | 58 +++--- .../kernel/arch/arm/include/asm/uprobes.h | 84 ++++---- .../kernel/arch/arm/include/asm/vdso/cp15.h | 76 ++++---- .../arch/arm/include/asm/vdso/vsyscall.h | 72 +++---- .../kernel/arch/arm/include/asm/vermagic.h | 62 +++--- .../kernel/arch/arm/include/asm/xen/events.h | 60 +++--- .../kernel/arch/arm/include/debug/asm9260.S | 56 +++--- .../kernel/arch/arm/include/debug/bcm63xx.S | 66 +++---- .../kernel/arch/arm/include/debug/clps711x.S | 74 +++---- .../kernel/arch/arm/include/debug/dc21285.S | 82 ++++---- .../kernel/arch/arm/include/debug/digicolor.S | 68 +++---- .../kernel/arch/arm/include/debug/meson.S | 70 +++---- .../kernel/arch/arm/include/debug/pl01x.S | 74 +++---- .../kernel/arch/arm/include/debug/s3c24xx.S | 66 +++---- .../kernel/arch/arm/include/debug/s5pv210.S | 62 +++--- .../kernel/arch/arm/include/debug/vf.S | 72 +++---- .../kernel/arch/arm/include/debug/vt8500.S | 74 +++---- .../arch/arm/include/uapi/asm/byteorder.h | 52 ++--- .../arch/arm/include/uapi/asm/sigcontext.h | 70 +++---- .../kernel/arch/arm/kernel/arch_timer.c | 84 ++++---- .../kernel/arch/arm/kernel/crash_dump.c | 70 +++---- .../kernel/arch/arm/kernel/early_printk.c | 94 ++++----- .../kernel/arch/arm/kernel/jump_label.c | 58 +++--- .../kernel/arch/arm/kernel/perf_regs.c | 78 ++++---- .../kernel/arch/arm/lib/bswapsdi2.S | 76 ++++---- .../kernel/arch/arm/lib/muldi3.S | 90 ++++----- .../kernel/arch/arm/lib/ucmpdi2.S | 100 +++++----- .../arch/arm/mach-alpine/alpine_cpu_resume.h | 58 +++--- .../kernel/arch/arm/mach-alpine/platsmp.c | 80 ++++---- .../kernel/arch/arm/mach-at91/Makefile | 56 +++--- .../kernel/arch/arm/mach-at91/at91rm9200.c | 64 +++--- .../kernel/arch/arm/mach-at91/at91sam9.c | 66 +++---- .../kernel/arch/arm/mach-at91/generic.h | 58 +++--- .../arch/arm/mach-at91/pm_data-offsets.c | 46 ++--- .../kernel/arch/arm/mach-at91/sam9x60.c | 68 +++---- .../kernel/arch/arm/mach-at91/sam9x7.c | 66 +++---- .../kernel/arch/arm/mach-at91/sama7.c | 66 +++---- .../kernel/arch/arm/mach-bcm/brcmstb.c | 80 ++++---- .../kernel/arch/arm/mach-bcm/kona_l2_cache.c | 76 ++++---- .../kernel/arch/arm/mach-berlin/Kconfig | 82 ++++---- .../kernel/arch/arm/mach-davinci/cputype.h | 62 +++--- .../kernel/arch/arm/mach-davinci/da8xx-dt.c | 72 +++---- .../kernel/arch/arm/mach-davinci/hardware.h | 62 +++--- .../kernel/arch/arm/mach-davinci/pm_domain.c | 74 +++---- .../kernel/arch/arm/mach-davinci/sram.h | 54 +++--- .../kernel/arch/arm/mach-exynos/headsmp.S | 78 ++++---- .../arm/mach-footbridge/include/mach/memory.h | 52 ++--- .../mach-footbridge/include/mach/uncompress.h | 68 +++---- .../arch/arm/mach-footbridge/isa-timer.c | 72 +++---- .../kernel/arch/arm/mach-hpe/Kconfig | 46 ++--- .../kernel/arch/arm/mach-imx/cpu-imx35.c | 94 ++++----- .../kernel/arch/arm/mach-imx/cpuidle-imx5.c | 68 +++---- .../kernel/arch/arm/mach-imx/cpuidle.h | 68 +++---- .../kernel/arch/arm/mach-imx/headsmp.S | 74 +++---- .../kernel/arch/arm/mach-imx/mach-imx25.c | 60 +++--- .../kernel/arch/arm/mach-imx/mach-imx53.c | 78 ++++---- .../kernel/arch/arm/mach-imx/mx27.h | 50 ++--- .../kernel/arch/arm/mach-lpc32xx/common.h | 64 +++--- .../kernel/arch/arm/mach-mediatek/Kconfig | 86 ++++----- .../kernel/arch/arm/mach-mmp/mmp2-dt.c | 68 +++---- .../kernel/arch/arm/mach-mmp/platsmp.c | 64 +++--- .../arch/arm/mach-mv78xx0/bridge-regs.h | 62 +++--- .../kernel/arch/arm/mach-mv78xx0/mpp.c | 68 +++---- .../kernel/arch/arm/mach-mvebu/common.h | 54 +++--- .../kernel/arch/arm/mach-mvebu/dove.c | 72 +++---- .../kernel/arch/arm/mach-mvebu/pmsu.h | 42 ++-- .../kernel/arch/arm/mach-nomadik/Kconfig | 64 +++--- .../kernel/arch/arm/mach-omap1/i2c.h | 72 +++---- .../kernel/arch/arm/mach-omap1/pm_bus.c | 84 ++++---- .../kernel/arch/arm/mach-omap1/usb.h | 50 ++--- .../arch/arm/mach-omap2/am33xx-restart.c | 50 ++--- .../kernel/arch/arm/mach-omap2/cm44xx.h | 50 ++--- .../kernel/arch/arm/mach-omap2/common.c | 62 +++--- .../kernel/arch/arm/mach-omap2/l4_2xxx.h | 38 ++-- .../arch/arm/mach-omap2/omap3-restart.c | 64 +++--- .../arch/arm/mach-omap2/omap4-restart.c | 46 ++--- .../arch/arm/mach-omap2/ti81xx-restart.c | 62 +++--- .../kernel/arch/arm/mach-omap2/ti81xx.h | 56 +++--- .../kernel/arch/arm/mach-orion5x/Makefile | 36 ++-- .../arch/arm/mach-orion5x/bridge-regs.h | 60 +++--- .../kernel/arch/arm/mach-orion5x/mpp.c | 82 ++++---- .../kernel/arch/arm/mach-pxa/pm.h | 58 +++--- .../kernel/arch/arm/mach-pxa/regs-rtc.h | 48 ++--- .../kernel/arch/arm/mach-pxa/reset.h | 44 ++--- .../kernel/arch/arm/mach-qcom/Kconfig | 50 ++--- .../kernel/arch/arm/mach-realtek/rtd1195.c | 80 ++++---- .../kernel/arch/arm/mach-rockchip/Kconfig | 48 ++--- .../kernel/arch/arm/mach-rpc/Kconfig | 42 ++-- .../kernel/arch/arm/mach-rpc/ecard-loader.S | 80 ++++---- .../arch/arm/mach-rpc/include/mach/io.h | 56 +++--- .../arch/arm/mach-rpc/include/mach/irqs.h | 84 ++++---- .../arch/arm/mach-rpc/include/mach/memory.h | 64 +++--- .../kernel/arch/arm/mach-s3c/cpu.c | 64 +++--- .../kernel/arch/arm/mach-s3c/crag6410.h | 44 ++--- .../kernel/arch/arm/mach-s3c/dev-uart.c | 82 ++++---- .../kernel/arch/arm/mach-s3c/fb.h | 62 +++--- .../kernel/arch/arm/mach-s3c/iic-core.h | 62 +++--- .../kernel/arch/arm/mach-s3c/keypad.h | 54 +++--- .../kernel/arch/arm/mach-s3c/map-s3c.h | 66 +++---- .../arch/arm/mach-s3c/regs-clock-s3c64xx.h | 68 +++---- .../arm/mach-s3c/regs-gpio-memport-s3c64xx.h | 50 ++--- .../arch/arm/mach-s3c/regs-modem-s3c64xx.h | 54 +++--- .../arch/arm/mach-s3c/regs-sys-s3c64xx.h | 54 +++--- .../kernel/arch/arm/mach-s3c/wakeup-mask.c | 84 ++++---- .../arm/mach-sa1100/include/mach/jornada720.h | 56 +++--- .../arm/mach-sa1100/include/mach/mtd-xip.h | 46 ++--- .../arm/mach-sa1100/include/mach/neponset.h | 62 +++--- .../arch/arm/mach-shmobile/headsmp-scu.S | 62 +++--- .../kernel/arch/arm/mach-shmobile/platsmp.c | 70 +++---- .../arch/arm/mach-shmobile/setup-emev2.c | 54 +++--- .../kernel/arch/arm/mach-shmobile/suspend.c | 94 ++++----- .../kernel/arch/arm/mach-shmobile/timer.c | 82 ++++---- .../kernel/arch/arm/mach-socfpga/Kconfig | 58 +++--- .../kernel/arch/arm/mach-socfpga/headsmp.S | 66 +++---- .../kernel/arch/arm/mach-spear/Makefile | 50 ++--- .../kernel/arch/arm/mach-spear/restart.c | 64 +++--- .../kernel/arch/arm/mach-spear/spear1340.c | 70 +++---- .../kernel/arch/arm/mach-sti/board-dt.c | 58 +++--- .../kernel/arch/arm/mach-stm32/board-dt.c | 68 +++---- .../kernel/arch/arm/mach-tegra/Makefile | 38 ++-- .../kernel/arch/arm/mach-tegra/pm.h | 56 +++--- .../kernel/arch/arm/mach-versatile/Makefile | 66 +++---- .../kernel/arch/arm/mach-versatile/headsmp.S | 72 +++---- .../kernel/arch/arm/mach-versatile/v2m.c | 80 ++++---- .../kernel/arch/arm/mach-vt8500/Kconfig | 58 +++--- .../kernel/arch/arm/mm/abort-ev4.S | 54 +++--- .../kernel/arch/arm/mm/abort-ev4t.S | 56 +++--- .../kernel/arch/arm/mm/cache-tauros3.h | 58 +++--- .../UFI003_MB_V02/kernel/arch/arm/mm/dma.h | 66 +++---- .../UFI003_MB_V02/kernel/arch/arm/mm/iomap.c | 90 ++++----- .../kernel/arch/arm/nwfpe/fpmodule.h | 70 +++---- .../kernel/arch/arm/probes/uprobes/core.h | 64 +++--- .../kernel/arch/arm/tools/syscallnr.sh | 66 +++---- .../kernel/arch/arm64/Kconfig.debug | 46 ++--- .../kernel/arch/arm64/boot/dts/Makefile | 72 +++---- .../dts/allwinner/sun50i-a64-pine64-plus.dts | 70 +++---- .../dts/allwinner/sun50i-h6-tanix-tx6.dts | 58 +++--- .../allwinner/sun50i-h616-bigtreetech-pi.dts | 126 ++++++------ .../sun50i-h700-anbernic-rg35xx-sp.dts | 68 +++---- .../dts/amlogic/amlogic-a4-a113l2-ba400.dts | 84 ++++---- .../arm64/boot/dts/amlogic/amlogic-a4.dtsi | 100 +++++----- .../dts/amlogic/amlogic-a5-a113x2-av400.dts | 84 ++++---- .../arm64/boot/dts/amlogic/amlogic-a5.dtsi | 100 +++++----- .../dts/amlogic/amlogic-t7-a311d2-an400.dts | 78 ++++---- .../amlogic/meson-axg-jethome-jethub-j100.dts | 80 ++++---- .../meson-axg-jethome-jethub-j110-rev-3.dts | 78 ++++---- .../dts/amlogic/meson-g12a-fbx8am-brcm.dtso | 62 +++--- .../amlogic/meson-g12b-a311d-bananapi-m2s.dts | 74 +++---- .../dts/amlogic/meson-g12b-odroid-n2-plus.dts | 62 +++--- .../dts/amlogic/meson-gxl-s905w-tx3-mini.dts | 60 +++--- .../boot/dts/amlogic/meson-gxm-vega-s96.dts | 90 ++++----- .../kernel/arch/arm64/boot/dts/apple/Makefile | 30 +-- .../arm64/boot/dts/apple/t600x-gpio-pins.dtsi | 90 ++++----- .../arch/arm64/boot/dts/apple/t8103-j293.dts | 102 +++++----- .../arch/arm64/boot/dts/apple/t8103-j313.dts | 86 ++++----- .../arch/arm64/boot/dts/apple/t8103-j457.dts | 100 +++++----- .../arch/arm64/boot/dts/apple/t8112-j473.dts | 108 +++++------ .../arm64/boot/dts/arm/corstone1000-mps3.dts | 64 +++--- .../boot/dts/arm/foundation-v8-gicv3.dtsi | 58 +++--- .../boot/dts/broadcom/bcmbca/bcm4906.dtsi | 52 ++--- .../stingray/stingray-board-base.dtsi | 102 +++++----- .../boot/dts/exynos/google/gs101-pinctrl.h | 66 +++---- .../boot/dts/freescale/fsl-ls1012a-frwy.dts | 88 ++++----- .../dts/freescale/fsl-ls1043a-tqmls1043a.dtsi | 64 +++--- .../dts/freescale/fsl-ls1046a-tqmls1046a.dtsi | 84 ++++---- .../dts/freescale/fsl-ls1088a-tqmls1088a.dtsi | 84 ++++---- .../freescale/fsl-lx2160a-bluebox3-rev-a.dts | 68 +++---- ...l-lx2160a-tqmlx2160a-mblx2160a_x_11_x.dtso | 98 +++++----- ...sl-lx2160a-tqmlx2160a-mblx2160a_x_7_x.dtso | 110 +++++------ .../boot/dts/freescale/imx8-ss-gpu0.dtsi | 54 +++--- .../boot/dts/freescale/imx8mm-overdrive.dtsi | 58 +++--- .../imx8mm-phygate-tauri-l-rs232-rts-cts.dtso | 70 +++---- ...8mm-tqma8mqml-mba8mx-lvds-tm070jvhg33.dtso | 90 ++++----- .../imx8mm-venice-gw72xx-0x-rs232-rts.dtso | 96 ++++----- ...8mn-tqma8mqnl-mba8mx-lvds-tm070jvhg33.dtso | 90 ++++----- .../freescale/imx8mp-msc-sm2s-14N0600E.dtsi | 136 ++++++------- .../imx8mp-tqma8mpql-mba8mpxl-lvds.dtso | 122 ++++++------ .../boot/dts/freescale/imx8mq-librem5-r3.dtsi | 98 +++++----- ...mx8mq-tqma8mq-mba8mx-lvds-tm070jvhg33.dtso | 98 +++++----- .../boot/dts/freescale/imx8qm-ss-conn.dtsi | 60 +++--- .../dts/freescale/qoriq-fman3-0-10g-0.dtsi | 86 ++++----- .../dts/freescale/qoriq-fman3-0-10g-1.dtsi | 86 ++++----- .../dts/freescale/qoriq-fman3-0-1g-0.dtsi | 84 ++++---- .../dts/freescale/qoriq-fman3-0-1g-1.dtsi | 84 ++++---- .../dts/freescale/qoriq-fman3-0-1g-2.dtsi | 84 ++++---- .../dts/freescale/qoriq-fman3-0-1g-3.dtsi | 84 ++++---- .../dts/freescale/qoriq-fman3-0-1g-4.dtsi | 84 ++++---- .../dts/freescale/qoriq-fman3-0-1g-5.dtsi | 82 ++++---- .../boot/dts/freescale/s32g274a-rdb2.dts | 90 ++++----- .../boot/dts/freescale/s32g399a-rdb3.dts | 92 ++++----- .../arm64/boot/dts/hisilicon/hip06-d03.dts | 116 +++++------ .../marvell/armada-3720-espressobin-emmc.dts | 52 ++--- .../armada-3720-espressobin-v7-emmc.dts | 90 ++++----- .../marvell/armada-3720-espressobin-v7.dts | 80 ++++---- .../arm64/boot/dts/marvell/armada-7040.dtsi | 80 ++++---- .../arm64/boot/dts/marvell/armada-8020.dtsi | 52 ++--- .../boot/dts/marvell/armada-8040-mcbin.dts | 90 ++++----- .../arm64/boot/dts/marvell/armada-ap807.dtsi | 76 ++++---- .../arm64/boot/dts/marvell/cn9130-crb-A.dts | 76 ++++---- .../arm64/boot/dts/marvell/cn9130-crb-B.dts | 92 ++++----- .../mt7986a-bananapi-bpi-r3-nand.dtso | 106 +++++----- .../mediatek/mt8183-kukui-jacuzzi-burnet.dts | 70 +++---- .../mediatek/mt8183-kukui-jacuzzi-cozmo.dts | 78 ++++---- .../mediatek/mt8183-kukui-jacuzzi-damu.dts | 78 ++++---- .../mt8183-kukui-jacuzzi-fennel-sku1.dts | 90 ++++----- .../mt8183-kukui-jacuzzi-fennel-sku6.dts | 66 +++---- .../mt8183-kukui-jacuzzi-fennel-sku7.dts | 66 +++---- .../mediatek/mt8183-kukui-jacuzzi-pico.dts | 70 +++---- .../mediatek/mt8183-kukui-jacuzzi-willow.dtsi | 82 ++++---- .../mediatek/mt8183-kukui-kakadu-sku22.dts | 76 ++++---- .../boot/dts/mediatek/mt8183-kukui-kakadu.dts | 66 +++---- .../dts/mediatek/mt8183-kukui-katsu-sku32.dts | 72 +++---- .../dts/mediatek/mt8183-kukui-katsu-sku38.dts | 80 ++++---- .../mt8186-corsola-magneton-sku393216.dts | 78 ++++---- .../mt8186-corsola-magneton-sku393217.dts | 78 ++++---- .../mt8186-corsola-tentacruel-sku262148.dts | 52 ++--- .../boot/dts/microchip/sparx5_pcb134_emmc.dts | 80 ++++---- .../boot/dts/microchip/sparx5_pcb135_emmc.dts | 80 ++++---- .../boot/dts/nvidia/tegra194-p3668-0000.dtsi | 64 +++--- .../boot/dts/qcom/msm8916-samsung-j3ltetw.dts | 62 +++--- .../boot/dts/qcom/msm8916-samsung-j5.dts | 106 +++++----- .../qcom/msm8916-samsung-rossa-common.dtsi | 100 +++++----- .../boot/dts/qcom/msm8916-samsung-rossa.dts | 92 ++++----- .../qcom/msm8956-sony-xperia-loire-kugo.dts | 70 +++---- .../msm8994-sony-xperia-kitakami-karin.dts | 92 ++++----- .../arm64/boot/dts/qcom/msm8996-oneplus3.dts | 100 +++++----- .../arm64/boot/dts/qcom/msm8996-oneplus3t.dts | 102 +++++----- .../dts/qcom/msm8998-asus-novago-tp370ql.dts | 82 ++++---- .../boot/dts/qcom/msm8998-lenovo-miix-630.dts | 74 +++---- .../dts/qcom/msm8998-oneplus-cheeseburger.dts | 82 ++++---- .../msm8998-sony-xperia-yoshino-lilac.dts | 70 +++---- .../msm8998-sony-xperia-yoshino-poplar.dts | 76 ++++---- .../arch/arm64/boot/dts/qcom/pm8005.dtsi | 72 +++---- .../arch/arm64/boot/dts/qcom/pm8009.dtsi | 76 ++++---- .../sc7180-trogdor-lazor-limozeen-nots-r4.dts | 68 +++---- .../sc7180-trogdor-lazor-limozeen-nots-r5.dts | 64 +++--- .../sc7180-trogdor-lazor-limozeen-r10.dts | 90 ++++----- .../qcom/sc7180-trogdor-lazor-limozeen-r9.dts | 90 ++++----- .../dts/qcom/sc7180-trogdor-lazor-r3-lte.dts | 60 +++--- .../dts/qcom/sc7180-trogdor-pompom-r1.dts | 86 ++++----- .../dts/qcom/sc7180-trogdor-pompom-r2.dts | 64 +++--- .../sc7180-trogdor-quackingstick-r0-lte.dts | 76 ++++---- .../dts/qcom/sc7180-trogdor-rt5682i-sku.dtsi | 76 ++++---- .../dts/qcom/sc7180-trogdor-rt5682s-sku.dtsi | 76 ++++---- ...0-trogdor-wormdingler-rev1-boe-rt5682s.dts | 58 +++--- .../sc7180-trogdor-wormdingler-rev1-boe.dts | 58 +++--- .../arch/arm64/boot/dts/qcom/sc7280-idp2.dts | 80 ++++---- .../qcom/sdm630-sony-xperia-ganges-kirin.dts | 62 +++--- .../arch/arm64/boot/dts/qcom/sdm636.dtsi | 46 ++--- .../arm64/boot/dts/qcom/sdm845-lg-judyp.dts | 88 ++++----- .../arch/arm64/boot/dts/qcom/sm7225.dtsi | 70 +++---- .../qcom/sm8350-sony-xperia-sagami-pdx214.dts | 84 ++++---- .../boot/dts/realtek/rtd1619-mjolnir.dts | 88 ++++----- .../boot/dts/renesas/hihope-rzg2-ex-lvds.dtsi | 104 +++++----- .../r8a774a1-hihope-rzg2m-ex-mipi-2.1.dts | 58 +++--- .../renesas/r8a774a1-hihope-rzg2m-rev2.dts | 74 +++---- .../dts/renesas/r8a774a1-hihope-rzg2m.dts | 74 +++---- .../renesas/r8a774b1-hihope-rzg2n-rev2.dts | 82 ++++---- .../dts/renesas/r8a774b1-hihope-rzg2n.dts | 82 ++++---- .../dts/renesas/r8a774e1-hihope-rzg2h.dts | 82 ++++---- .../boot/dts/renesas/r8a77960-salvator-x.dts | 74 +++---- .../boot/dts/renesas/r8a77960-salvator-xs.dts | 74 +++---- .../arm64/boot/dts/renesas/r8a77960-ulcb.dts | 76 ++++---- .../boot/dts/renesas/r8a77961-salvator-xs.dts | 84 ++++---- .../arm64/boot/dts/renesas/r8a77961-ulcb.dts | 84 ++++---- .../boot/dts/renesas/r8a77965-salvator-x.dts | 64 +++--- .../boot/dts/renesas/r8a77965-salvator-xs.dts | 64 +++--- .../arm64/boot/dts/renesas/r8a77965-ulcb.dts | 66 +++---- .../boot/dts/renesas/r8a779m5-salvator-xs.dts | 72 +++---- .../dts/renesas/r9a07g043-smarc-pmod.dtso | 90 ++++----- .../boot/dts/renesas/r9a07g043u11-smarc.dts | 76 ++++---- .../rzg2-advantech-idk-1110wr-panel.dtsi | 82 ++++---- .../renesas/ulcb-kf-audio-graph-card2.dtsi | 60 +++--- .../dts/rockchip/px30-engicam-edimm2.2.dtsi | 132 ++++++------- .../px30-engicam-px30-core-edimm2.2.dts | 86 ++++----- .../dts/rockchip/rk3326-anbernic-rg351v.dts | 88 ++++----- .../dts/rockchip/rk3328-nanopi-r2c-plus.dts | 66 +++---- .../boot/dts/rockchip/rk3328-nanopi-r2c.dts | 80 ++++---- .../boot/dts/rockchip/rk3399-nanopi-m4b.dts | 104 +++++----- .../boot/dts/rockchip/rk3399-nanopi-neo4.dts | 100 +++++----- .../boot/dts/rockchip/rk3399-rockpro64-v2.dts | 60 +++--- .../boot/dts/rockchip/rk3399-rockpro64.dts | 60 +++--- .../dts/rockchip/rk3566-pinetab2-v2.0.dts | 96 ++++----- .../boot/dts/rockchip/rk3588-nanopc-t6.dts | 80 ++++---- .../socionext/uniphier-pxs3-ref-gadget0.dts | 82 ++++---- .../socionext/uniphier-pxs3-ref-gadget1.dts | 80 ++++---- .../arm64/boot/dts/sprd/sc9836-openphone.dts | 96 ++++----- .../arch/arm64/boot/dts/sprd/ums512-1h10.dts | 122 ++++++------ .../arch/arm64/boot/dts/st/stm32mp255.dtsi | 48 ++--- .../arch/arm64/boot/dts/tesla/fsd-pinctrl.h | 66 +++---- .../boot/dts/ti/k3-am62-verdin-wifi.dtsi | 88 ++++----- .../boot/dts/ti/k3-am62x-sk-hdmi-audio.dtso | 80 ++++---- .../arm64/boot/dts/ti/k3-am64-thermal.dtsi | 72 +++---- .../dts/ti/k3-am642-hummingboard-t-pcie.dts | 94 ++++----- .../dts/ti/k3-am642-hummingboard-t-usb3.dts | 94 ++++----- .../dts/ti/k3-am65-iot2050-common-pg2.dtsi | 70 +++---- .../boot/dts/ti/k3-am65-iot2050-usb3.dtsi | 54 +++--- .../dts/ti/k3-am6528-iot2050-basic-pg2.dts | 52 ++--- .../boot/dts/ti/k3-am6528-iot2050-basic.dts | 48 ++--- .../dts/ti/k3-am6548-iot2050-advanced-pg2.dts | 54 +++--- .../dts/ti/k3-am6548-iot2050-advanced.dts | 50 ++--- .../boot/dts/toshiba/tmpv7708-visrobo-vrb.dts | 110 +++++------ .../dts/toshiba/tmpv7708-visrobo-vrc.dtsi | 80 ++++---- .../boot/dts/xilinx/zynqmp-zcu102-rev1.0.dts | 88 ++++----- .../boot/dts/xilinx/zynqmp-zcu1275-revA.dts | 116 +++++------ .../arch/arm64/crypto/sm4-ce-cipher-core.S | 72 +++---- .../kernel/arch/arm64/include/asm/asm-bug.h | 88 ++++----- .../kernel/arch/arm64/include/asm/bitops.h | 62 +++--- .../kernel/arch/arm64/include/asm/dmi.h | 62 +++--- .../kernel/arch/arm64/include/asm/gpr-num.h | 52 ++--- .../kernel/arch/arm64/include/asm/kfence.h | 64 +++--- .../kernel/arch/arm64/include/asm/lse.h | 74 +++---- .../arch/arm64/include/asm/module.lds.h | 54 +++--- .../arch/arm64/include/asm/perf_event.h | 54 +++--- .../kernel/arch/arm64/include/asm/por.h | 66 +++---- .../kernel/arch/arm64/include/asm/probes.h | 60 +++--- .../kernel/arch/arm64/include/asm/seccomp.h | 64 +++--- .../kernel/arch/arm64/include/asm/setup.h | 88 ++++----- .../kernel/arch/arm64/include/asm/signal.h | 50 ++--- .../kernel/arch/arm64/include/asm/smp_plat.h | 88 ++++----- .../kernel/arch/arm64/include/asm/sparsemem.h | 64 +++--- .../kernel/arch/arm64/include/asm/stat.h | 102 +++++----- .../arch/arm64/include/asm/system_misc.h | 74 +++---- .../kernel/arch/arm64/include/asm/unistd.h | 66 +++---- .../kernel/arch/arm64/include/asm/vdso.h | 62 +++--- .../arm64/include/asm/vdso/compat_barrier.h | 74 +++---- .../kernel/arch/arm64/include/asm/vmalloc.h | 68 +++---- .../arch/arm64/include/asm/vmap_stack.h | 58 +++--- .../arch/arm64/include/uapi/asm/auxvec.h | 52 ++--- .../arch/arm64/include/uapi/asm/bitsperlong.h | 48 ++--- .../arch/arm64/include/uapi/asm/byteorder.h | 52 ++--- .../arch/arm64/include/uapi/asm/param.h | 48 ++--- .../arch/arm64/include/uapi/asm/setup.h | 54 +++--- .../arch/arm64/include/uapi/asm/signal.h | 56 +++--- .../arch/arm64/include/uapi/asm/statfs.h | 48 ++--- .../kernel/arch/arm64/kernel/idle.c | 90 ++++----- .../kernel/arch/arm64/kernel/jump_label.c | 70 +++---- .../kernel/arch/arm64/kernel/pci.c | 84 ++++---- .../arch/arm64/kernel/probes/decode-insn.h | 66 +++---- .../arch/arm64/kernel/probes/simulate-insn.h | 40 ++-- .../kernel/arch/arm64/kernel/return_address.c | 100 +++++----- .../arm64/kernel/trace-events-emulation.h | 72 +++---- .../arch/arm64/kernel/vdso/vgettimeofday.c | 58 +++--- .../arch/arm64/kernel/vdso32/vgettimeofday.c | 94 ++++----- .../arch/arm64/kvm/hyp/include/nvhe/gfp.h | 68 +++---- .../kernel/arch/arm64/kvm/hyp/nvhe/cache.S | 50 ++--- .../kernel/arch/arm64/kvm/hyp/nvhe/hyp.lds.S | 58 +++--- .../arch/arm64/kvm/hyp/nvhe/sysreg-sr.c | 70 +++---- .../kernel/arch/arm64/kvm/vgic/trace.h | 76 ++++---- .../kernel/arch/arm64/lib/Makefile | 44 ++--- .../kernel/arch/arm64/lib/clear_page.S | 80 ++++---- .../kernel/arch/arm64/lib/strchr.S | 68 +++---- .../kernel/arch/arm64/lib/strrchr.S | 68 +++---- .../arch/arm64/lib/uaccess_flushcache.c | 64 +++--- .../kernel/arch/arm64/mm/Makefile | 34 ++-- .../kernel/arch/arm64/mm/physaddr.c | 62 +++--- .../kernel/arch/arm64/tools/Makefile | 56 +++--- .../kernel/arch/arm64/tools/gen-cpucaps.awk | 80 ++++---- .../kernel/arch/csky/abiv1/inc/abi/elf.h | 52 ++--- .../kernel/arch/csky/abiv1/inc/abi/page.h | 54 +++--- .../kernel/arch/csky/abiv2/inc/abi/string.h | 54 +++--- .../kernel/arch/csky/boot/Makefile | 48 ++--- .../kernel/arch/csky/include/asm/cache.h | 64 +++--- .../kernel/arch/csky/include/asm/checksum.h | 98 +++++----- .../kernel/arch/csky/include/asm/fixmap.h | 66 +++---- .../kernel/arch/csky/include/asm/ftrace.h | 64 +++--- .../kernel/arch/csky/include/asm/memory.h | 50 ++--- .../kernel/arch/csky/include/asm/smp.h | 60 +++--- .../kernel/arch/csky/include/asm/switch_to.h | 70 +++---- .../kernel/arch/csky/include/asm/tcm.h | 48 ++--- .../kernel/arch/csky/include/asm/tlbflush.h | 48 ++--- .../kernel/arch/csky/include/asm/uprobes.h | 66 +++---- .../kernel/arch/csky/include/asm/vdso.h | 44 ++--- .../arch/csky/include/uapi/asm/ptrace.h | 102 +++++----- .../kernel/arch/csky/kernel/Makefile | 40 ++-- .../kernel/arch/csky/kernel/atomic.S | 122 ++++++------ .../kernel/arch/csky/kernel/head.S | 84 ++++---- .../kernel/arch/csky/kernel/perf_regs.c | 78 ++++---- .../kernel/arch/csky/kernel/syscall.c | 86 ++++----- .../arch/csky/kernel/vdso/vgettimeofday.c | 60 +++--- .../kernel/arch/csky/lib/delay.c | 78 ++++---- .../kernel/arch/csky/mm/highmem.c | 72 +++---- .../kernel/arch/csky/mm/syscache.c | 64 +++--- .../arch/hexagon/include/asm/checksum.h | 52 ++--- .../arch/hexagon/include/asm/irqflags.h | 98 +++++----- .../kernel/arch/hexagon/include/asm/kgdb.h | 62 +++--- .../kernel/arch/hexagon/include/asm/ptrace.h | 50 ++--- .../kernel/arch/hexagon/include/asm/smp.h | 60 +++--- .../arch/hexagon/include/uapi/asm/param.h | 54 +++--- .../arch/hexagon/include/uapi/asm/swab.h | 50 ++--- .../kernel/arch/hexagon/kernel/syscalltab.c | 60 +++--- .../kernel/arch/hexagon/kernel/vm_vectors.S | 70 +++---- .../kernel/arch/hexagon/lib/udivsi3.S | 76 ++++---- .../kernel/arch/hexagon/lib/umodsi3.S | 72 +++---- .../kernel/arch/loongarch/boot/Makefile | 52 ++--- .../arch/loongarch/include/asm/bitops.h | 66 +++---- .../arch/loongarch/include/asm/bitrev.h | 68 +++---- .../kernel/arch/loongarch/include/asm/efi.h | 70 +++---- .../arch/loongarch/include/asm/hardirq.h | 68 +++---- .../arch/loongarch/include/asm/paravirt.h | 84 ++++---- .../arch/loongarch/include/asm/qspinlock.h | 82 ++++---- .../arch/loongarch/include/asm/regdef.h | 82 ++++---- .../arch/loongarch/include/asm/set_memory.h | 42 ++-- .../arch/loongarch/include/asm/sparsemem.h | 62 +++--- .../arch/loongarch/include/asm/unwind_hints.h | 72 +++---- .../arch/loongarch/include/asm/uprobes.h | 70 +++---- .../loongarch/include/asm/vdso/vsyscall.h | 70 +++---- .../kernel/arch/loongarch/include/asm/video.h | 62 +++--- .../arch/loongarch/include/uapi/asm/break.h | 46 ++--- .../arch/loongarch/include/uapi/asm/hwcap.h | 44 ++--- .../loongarch/include/uapi/asm/kvm_para.h | 42 ++-- .../kernel/arch/loongarch/kernel/rethook.c | 56 +++--- .../kernel/arch/loongarch/kernel/unwind.c | 64 +++--- .../arch/loongarch/kernel/unwind_guess.c | 52 ++--- .../kernel/arch/loongarch/kvm/tlb.c | 58 +++--- .../kernel/arch/loongarch/mm/ioremap.c | 56 +++--- .../kernel/arch/loongarch/vdso/vgetcpu.c | 90 ++++----- .../kernel/arch/m68k/68000/romvec.S | 70 +++---- .../kernel/arch/m68k/68000/ucsimm.c | 74 +++---- .../UFI003_MB_V02/kernel/arch/m68k/Kbuild | 40 ++-- .../kernel/arch/m68k/coldfire/mcf8390.c | 76 ++++---- .../kernel/arch/m68k/include/asm/blinken.h | 64 +++--- .../kernel/arch/m68k/include/asm/bootinfo.h | 68 +++---- .../kernel/arch/m68k/include/asm/bug.h | 68 +++---- .../kernel/arch/m68k/include/asm/current.h | 62 +++--- .../kernel/arch/m68k/include/asm/idprom.h | 56 +++--- .../kernel/arch/m68k/include/asm/kexec.h | 60 +++--- .../kernel/arch/m68k/include/asm/module.h | 84 ++++---- .../kernel/arch/m68k/include/asm/parport.h | 58 +++--- .../kernel/arch/m68k/include/asm/ptrace.h | 56 +++--- .../kernel/arch/m68k/include/asm/q40ints.h | 54 +++--- .../kernel/arch/m68k/include/asm/sun3x.h | 56 +++--- .../kernel/arch/m68k/include/asm/syscalls.h | 38 ++-- .../kernel/arch/m68k/include/asm/vga.h | 74 +++---- .../kernel/arch/m68k/include/asm/video.h | 64 +++--- .../arch/m68k/include/asm/virtconvert.h | 86 ++++----- .../kernel/arch/m68k/include/uapi/asm/a.out.h | 42 ++-- .../m68k/include/uapi/asm/bootinfo-virt.h | 42 ++-- .../arch/m68k/include/uapi/asm/posix_types.h | 52 ++--- .../arch/m68k/include/uapi/asm/sigcontext.h | 50 ++--- .../kernel/arch/m68k/include/uapi/asm/swab.h | 56 +++--- .../UFI003_MB_V02/kernel/arch/m68k/install.sh | 64 +++--- .../kernel/arch/m68k/kernel/Makefile | 66 +++---- .../kernel/arch/m68k/kernel/irq.c | 78 ++++---- .../kernel/arch/m68k/kernel/syscalls/Makefile | 64 +++--- .../kernel/arch/m68k/kernel/syscalltable.S | 50 ++--- .../kernel/arch/m68k/sun3/prom/init.c | 72 +++---- .../kernel/arch/m68k/sun3/prom/printf.c | 110 +++++------ .../kernel/arch/microblaze/boot/Makefile | 70 +++---- .../arch/microblaze/include/asm/cache.h | 52 ++--- .../arch/microblaze/include/asm/checksum.h | 72 +++---- .../arch/microblaze/include/asm/current.h | 52 ++--- .../arch/microblaze/include/asm/ftrace.h | 56 +++--- .../kernel/arch/microblaze/include/asm/kgdb.h | 64 +++--- .../arch/microblaze/include/asm/module.h | 56 +++--- .../arch/microblaze/include/asm/setup.h | 58 +++--- .../include/asm/xilinx_mb_manager.h | 58 +++--- .../kernel/arch/microblaze/kernel/Makefile | 58 +++--- .../kernel/arch/microblaze/kernel/irq.c | 78 ++++---- .../kernel/arch/microblaze/kernel/prom.c | 60 +++--- .../kernel/arch/microblaze/kernel/reset.c | 84 ++++---- .../arch/microblaze/kernel/stacktrace.c | 62 +++--- .../arch/microblaze/kernel/syscalls/Makefile | 64 +++--- .../kernel/arch/microblaze/lib/libgcc.h | 66 +++---- .../kernel/arch/microblaze/lib/mulsi3.S | 94 ++++----- .../kernel/arch/mips/Makefile.postlink | 82 ++++---- .../kernel/arch/mips/alchemy/Kconfig | 74 +++---- .../kernel/arch/mips/alchemy/Platform | 70 +++---- .../kernel/arch/mips/ath79/prom.c | 68 +++---- .../kernel/arch/mips/bcm47xx/workarounds.c | 72 +++---- .../kernel/arch/mips/bcm63xx/Kconfig | 90 ++++----- .../kernel/arch/mips/bcm63xx/early_printk.c | 60 +++--- .../kernel/arch/mips/bmips/dma.c | 54 +++--- .../kernel/arch/mips/bmips/irq.c | 84 ++++---- .../kernel/arch/mips/boot/compressed/dbg.c | 78 ++++---- .../arch/mips/boot/compressed/ld.script | 120 ++++++------ .../kernel/arch/mips/boot/compressed/string.c | 94 ++++----- .../kernel/arch/mips/boot/dts/Makefile | 40 ++-- .../dts/brcm/bcm6358-neufbox4-sercomm.dts | 96 ++++----- .../arch/mips/boot/dts/brcm/bcm97125cbmb.dts | 136 ++++++------- .../arch/mips/boot/dts/brcm/bcm97362svmb.dts | 176 ++++++++--------- .../dts/cavium-octeon/dlink_dsr-1000n.dts | 96 ++++----- .../cavium-octeon/dlink_dsr-500n-1000n.dtsi | 110 +++++------ .../boot/dts/cavium-octeon/dlink_dsr-500n.dts | 74 +++---- .../dts/loongson/loongson64c_4core_ls7a.dts | 76 ++++---- .../dts/loongson/loongson64g_4core_ls7a.dts | 84 ++++---- .../arch/mips/boot/dts/mscc/ocelot_pcb123.dts | 142 +++++++------- .../arch/mips/boot/dts/ralink/rt2880_eval.dts | 96 ++++----- .../arch/mips/boot/dts/ralink/rt3052_eval.dts | 104 +++++----- .../kernel/arch/mips/boot/tools/relocs.h | 92 ++++----- .../kernel/arch/mips/boot/tools/relocs_64.c | 62 +++--- .../mips/cavium-octeon/executive/Makefile | 38 ++-- .../kernel/arch/mips/cobalt/buttons.c | 82 ++++---- .../kernel/arch/mips/cobalt/lcd.c | 84 ++++---- .../kernel/arch/mips/cobalt/time.c | 82 ++++---- .../mips/configs/generic/board-boston.config | 96 ++++----- .../mips/configs/generic/board-marduk.config | 106 +++++----- .../mips/configs/generic/board-ocelot.config | 102 +++++----- .../mips/configs/generic/board-virt.config | 76 ++++---- .../kernel/arch/mips/crypto/Makefile | 48 ++--- .../kernel/arch/mips/dec/platform.c | 80 ++++---- .../kernel/arch/mips/dec/prom/cmdline.c | 80 ++++---- .../kernel/arch/mips/dec/prom/console.c | 82 ++++---- .../kernel/arch/mips/dec/reset.c | 82 ++++---- .../kernel/arch/mips/fw/arc/misc.c | 72 +++---- .../arch/mips/generic/board-jaguar2.its.S | 80 ++++---- .../arch/mips/generic/board-ocelot.its.S | 80 ++++---- .../kernel/arch/mips/include/asm/abi.h | 64 +++--- .../arch/mips/include/asm/arch_hweight.h | 76 ++++---- .../kernel/arch/mips/include/asm/break.h | 52 ++--- .../kernel/arch/mips/include/asm/bug.h | 88 ++++----- .../kernel/arch/mips/include/asm/cache.h | 54 +++--- .../kernel/arch/mips/include/asm/cevt-r4k.h | 58 +++--- .../arch/mips/include/asm/compat-signal.h | 58 +++--- .../kernel/arch/mips/include/asm/dec/ioasic.h | 68 +++---- .../kernel/arch/mips/include/asm/dec/kn230.h | 44 ++--- .../arch/mips/include/asm/dec/machtype.h | 54 +++--- .../kernel/arch/mips/include/asm/delay.h | 64 +++--- .../kernel/arch/mips/include/asm/edac.h | 76 ++++---- .../arch/mips/include/asm/elfcore-compat.h | 58 +++--- .../kernel/arch/mips/include/asm/eva.h | 86 ++++----- .../kernel/arch/mips/include/asm/fw/fw.h | 62 +++--- .../kernel/arch/mips/include/asm/idle.h | 64 +++--- .../asm/mach-ath79/kernel-entry-init.h | 56 +++--- .../mips/include/asm/mach-bcm47xx/bcm47xx.h | 76 ++++---- .../include/asm/mach-bcm63xx/bcm63xx_gpio.h | 70 +++---- .../include/asm/mach-bcm63xx/bcm63xx_nvram.h | 72 +++---- .../mips/include/asm/mach-bmips/ioremap.h | 58 +++--- .../include/asm/mach-cavium-octeon/spaces.h | 48 ++--- .../mips/include/asm/mach-cobalt/cobalt.h | 50 ++--- .../mips/include/asm/mach-dec/mc146818rtc.h | 78 ++++---- .../arch/mips/include/asm/mach-generic/irq.h | 66 +++---- .../asm/mach-generic/kernel-entry-init.h | 50 ++--- .../include/asm/mach-generic/mc146818rtc.h | 72 +++---- .../arch/mips/include/asm/mach-ip27/irq.h | 48 ++--- .../mips/include/asm/mach-ip27/mangle-port.h | 50 ++--- .../mips/include/asm/mach-ip27/topology.h | 62 +++--- .../mips/include/asm/mach-ip30/mangle-port.h | 44 ++--- .../mips/include/asm/mach-ip32/mangle-port.h | 52 ++--- .../mips/include/asm/mach-jazz/mc146818rtc.h | 76 ++++---- .../mach-loongson2ef/cs5536/cs5536_mfgpt.h | 72 +++---- .../asm/mach-loongson2ef/cs5536/cs5536_vsm.h | 64 +++--- .../mips/include/asm/mach-loongson2ef/mem.h | 74 +++---- .../include/asm/mach-loongson32/platform.h | 46 ++--- .../mips/include/asm/mach-loongson64/mmzone.h | 38 ++-- .../asm/mach-pic32/cpu-feature-overrides.h | 64 +++--- .../mips/include/asm/mach-ralink/mt7621.h | 74 +++---- .../mips/include/asm/mach-ralink/rt288x.h | 66 +++---- .../mips/include/asm/mach-rm/mc146818rtc.h | 42 ++-- .../asm/mach-tx49xx/cpu-feature-overrides.h | 52 ++--- .../mips/include/asm/mach-tx49xx/ioremap.h | 60 +++--- .../include/asm/mach-tx49xx/mangle-port.h | 38 ++-- .../mips/include/asm/mips-boards/launch.h | 82 ++++---- .../kernel/arch/mips/include/asm/mips_mt.h | 58 +++--- .../kernel/arch/mips/include/asm/prom.h | 60 +++--- .../kernel/arch/mips/include/asm/seccomp.h | 70 +++---- .../arch/mips/include/asm/sibyte/bigsur.h | 70 +++---- .../kernel/arch/mips/include/asm/sn/arch.h | 56 +++--- .../kernel/arch/mips/include/asm/sn/types.h | 50 ++--- .../kernel/arch/mips/include/asm/spinlock.h | 62 +++--- .../kernel/arch/mips/include/asm/string.h | 44 ++--- .../kernel/arch/mips/include/asm/txx9irq.h | 60 +++--- .../arch/mips/include/asm/vdso/processor.h | 54 +++--- .../arch/mips/include/asm/vdso/vsyscall.h | 54 +++--- .../kernel/arch/mips/include/asm/video.h | 76 ++++---- .../kernel/arch/mips/include/asm/watch.h | 64 +++--- .../kernel/arch/mips/include/asm/wbflush.h | 68 +++---- .../arch/mips/include/uapi/asm/bitfield.h | 60 +++--- .../arch/mips/include/uapi/asm/cachectl.h | 54 +++--- .../kernel/arch/mips/include/uapi/asm/hwcap.h | 44 ++--- .../kernel/arch/mips/include/uapi/asm/ioctl.h | 56 +++--- .../arch/mips/include/uapi/asm/perf_regs.h | 80 ++++---- .../arch/mips/include/uapi/asm/posix_types.h | 52 ++--- .../arch/mips/include/uapi/asm/siginfo.h | 60 +++--- .../arch/mips/include/uapi/asm/sockios.h | 54 +++--- .../arch/mips/include/uapi/asm/sysmips.h | 52 ++--- .../kernel/arch/mips/include/uapi/asm/types.h | 62 +++--- .../kernel/arch/mips/kernel/fpu-probe.h | 80 ++++---- .../kernel/arch/mips/kernel/i8253.c | 76 ++++---- .../arch/mips/kernel/syscalls/syscallnr.sh | 52 ++--- .../kernel/arch/mips/lantiq/Kconfig | 110 +++++------ .../kernel/arch/mips/lantiq/early_printk.c | 62 +++--- .../kernel/arch/mips/lib/iomap_copy.c | 58 +++--- .../kernel/arch/mips/lib/libgcc.h | 86 ++++----- .../kernel/arch/mips/loongson2ef/common/mem.c | 86 ++++----- .../arch/mips/loongson2ef/common/platform.c | 54 +++--- .../kernel/arch/mips/loongson2ef/common/rtc.c | 78 ++++---- .../arch/mips/loongson2ef/common/time.c | 56 +++--- .../kernel/arch/mips/loongson32/Kconfig | 76 ++++---- .../kernel/arch/mips/loongson64/dma.c | 58 +++--- .../kernel/arch/mips/loongson64/smp.h | 62 +++--- .../kernel/arch/mips/loongson64/time.c | 94 ++++----- .../kernel/arch/mips/loongson64/vbios_quirk.c | 56 +++--- .../kernel/arch/mips/math-emu/Makefile | 38 ++-- .../kernel/arch/mips/math-emu/dp_cmp.c | 94 ++++----- .../kernel/arch/mips/math-emu/dp_fint.c | 88 ++++----- .../kernel/arch/mips/math-emu/dp_simple.c | 98 +++++----- .../kernel/arch/mips/math-emu/sp_cmp.c | 94 ++++----- .../kernel/arch/mips/math-emu/sp_fint.c | 106 +++++----- .../kernel/arch/mips/math-emu/sp_simple.c | 98 +++++----- .../kernel/arch/mips/mm/pgtable.c | 54 +++--- .../kernel/arch/mips/mm/tlbex-fault.S | 56 +++--- .../kernel/arch/mips/pci/pci-bcm63xx.h | 66 +++---- .../kernel/arch/mips/power/cpu.c | 86 ++++----- .../kernel/arch/mips/ralink/Makefile | 56 +++--- .../kernel/arch/mips/ralink/Platform | 66 +++---- .../kernel/arch/mips/ralink/reset.c | 86 ++++----- .../kernel/arch/mips/sgi-ip27/Platform | 32 +-- .../kernel/arch/mips/sgi-ip27/ip27-common.h | 44 ++--- .../kernel/arch/mips/sgi-ip27/ip27-console.c | 84 ++++---- .../kernel/arch/mips/sgi-ip30/ip30-common.h | 46 ++--- .../kernel/arch/mips/sgi-ip32/ip32-dma.c | 74 +++---- .../kernel/arch/mips/sibyte/Makefile | 46 ++--- .../kernel/arch/nios2/boot/Makefile | 64 +++--- .../arch/nios2/boot/compressed/vmlinux.lds.S | 90 ++++----- .../arch/nios2/boot/compressed/vmlinux.scr | 56 +++--- .../kernel/arch/nios2/boot/install.sh | 64 +++--- .../kernel/arch/nios2/include/asm/cache.h | 52 ++--- .../kernel/arch/nios2/include/asm/cpuinfo.h | 92 ++++----- .../kernel/arch/nios2/include/asm/pgalloc.h | 74 +++---- .../kernel/arch/nios2/include/asm/switch_to.h | 62 +++--- .../kernel/arch/nios2/include/asm/tlb.h | 48 ++--- .../arch/nios2/include/uapi/asm/byteorder.h | 46 ++--- .../arch/nios2/include/uapi/asm/sigcontext.h | 62 +++--- .../arch/nios2/include/uapi/asm/signal.h | 48 ++--- .../arch/nios2/include/uapi/asm/unistd.h | 38 ++-- .../kernel/arch/nios2/lib/delay.c | 80 ++++---- .../kernel/arch/nios2/mm/extable.c | 50 ++--- .../kernel/arch/openrisc/include/asm/cache.h | 54 +++--- .../arch/openrisc/include/asm/cpuinfo.h | 70 +++---- .../kernel/arch/openrisc/include/asm/io.h | 78 ++++---- .../arch/openrisc/include/asm/irqflags.h | 50 ++--- .../kernel/arch/openrisc/include/asm/serial.h | 64 +++--- .../kernel/arch/openrisc/include/asm/smp.h | 52 ++--- .../arch/openrisc/include/asm/syscalls.h | 56 +++--- .../kernel/arch/openrisc/include/asm/time.h | 46 ++--- .../kernel/arch/openrisc/include/asm/timex.h | 66 +++---- .../kernel/arch/openrisc/include/asm/tlb.h | 52 ++--- .../arch/openrisc/include/uapi/asm/param.h | 54 +++--- .../arch/openrisc/include/uapi/asm/unistd.h | 40 ++-- .../kernel/arch/openrisc/kernel/irq.c | 76 ++++---- .../kernel/arch/openrisc/kernel/prom.c | 54 +++--- .../arch/openrisc/kernel/sys_call_table.c | 58 +++--- .../kernel/arch/parisc/Kconfig.debug | 46 ++--- .../kernel/arch/parisc/defpalo.conf | 42 ++-- .../kernel/arch/parisc/include/asm/ftrace.h | 68 +++---- .../kernel/arch/parisc/include/asm/kexec.h | 66 +++---- .../kernel/arch/parisc/include/asm/kfence.h | 88 ++++----- .../kernel/arch/parisc/include/asm/linkage.h | 80 ++++---- .../kernel/arch/parisc/include/asm/mman.h | 58 +++--- .../kernel/arch/parisc/include/asm/seccomp.h | 44 ++--- .../kernel/arch/parisc/include/asm/traps.h | 48 ++--- .../arch/parisc/include/uapi/asm/ipcbuf.h | 66 +++---- .../parisc/include/uapi/asm/posix_types.h | 48 ++--- .../arch/parisc/include/uapi/asm/sembuf.h | 66 +++---- .../kernel/arch/parisc/install.sh | 82 ++++---- .../kernel/arch/parisc/kernel/sys_parisc32.c | 50 ++--- .../kernel/arch/parisc/kernel/vdso32/note.S | 52 ++--- .../parisc/kernel/vdso32/restart_syscall.S | 64 +++--- .../parisc/kernel/vdso32/vdso32_generic.c | 64 +++--- .../parisc/kernel/vdso64/vdso64_generic.c | 48 ++--- .../kernel/arch/parisc/math-emu/Makefile | 44 ++--- .../kernel/arch/parisc/math-emu/README | 22 +-- .../kernel/arch/parisc/mm/fixmap.c | 76 ++++---- .../kernel/arch/parisc/video/video-sti.c | 54 +++--- .../kernel/arch/powerpc/boot/4xx.h | 52 ++--- .../arch/powerpc/boot/cuboot-amigaone.c | 64 +++--- .../kernel/arch/powerpc/boot/cuboot-ebony.c | 56 +++--- .../kernel/arch/powerpc/boot/cuboot-warp.c | 70 +++---- .../arch/powerpc/boot/cuboot-yosemite.c | 82 ++++---- .../kernel/arch/powerpc/boot/cuboot.c | 58 +++--- .../arch/powerpc/boot/dts/fsl/p1010rdb-pb.dts | 94 ++++----- .../kernel/arch/powerpc/boot/dts/o2d.dts | 86 ++++----- .../kernel/arch/powerpc/boot/dts/o2d300.dts | 96 ++++----- .../kernel/arch/powerpc/boot/dts/o2dnt2.dts | 88 ++++----- .../kernel/arch/powerpc/boot/dts/o3dnt.dts | 88 ++++----- .../kernel/arch/powerpc/boot/holly.c | 60 +++--- .../kernel/arch/powerpc/boot/install.sh | 74 +++---- .../kernel/arch/powerpc/boot/libfdt_env.h | 54 +++--- .../kernel/arch/powerpc/boot/ofconsole.c | 86 ++++----- .../kernel/arch/powerpc/boot/page.h | 60 +++--- .../kernel/arch/powerpc/boot/reg.h | 52 ++--- .../kernel/arch/powerpc/boot/stdlib.c | 84 ++++---- .../kernel/arch/powerpc/boot/string.h | 44 ++--- .../kernel/arch/powerpc/boot/swab.h | 60 +++--- .../arch/powerpc/boot/treeboot-bamboo.c | 80 ++++---- .../kernel/arch/powerpc/boot/treeboot-ebony.c | 58 +++--- .../arch/powerpc/boot/zImage.coff.lds.S | 100 +++++----- .../kernel/arch/powerpc/boot/zImage.ps3.lds.S | 102 +++++----- .../arch/powerpc/configs/mpc866_ads_defconfig | 84 ++++---- .../arch/powerpc/include/asm/accounting.h | 64 +++--- .../arch/powerpc/include/asm/async_tx.h | 62 +++--- .../powerpc/include/asm/book3s/64/kexec.h | 66 +++---- .../powerpc/include/asm/book3s/64/radix-4k.h | 44 ++--- .../powerpc/include/asm/book3s/64/radix-64k.h | 46 ++--- .../powerpc/include/asm/crashdump-ppc64.h | 38 ++-- .../kernel/arch/powerpc/include/asm/current.h | 76 ++++---- .../arch/powerpc/include/asm/dcr-generic.h | 72 +++---- .../arch/powerpc/include/asm/dt_cpu_ftrs.h | 50 ++--- .../arch/powerpc/include/asm/eeh_event.h | 60 +++--- .../kernel/arch/powerpc/include/asm/hardirq.h | 76 ++++---- .../arch/powerpc/include/asm/hvconsole.h | 62 +++--- .../arch/powerpc/include/asm/isa-bridge.h | 60 +++--- .../arch/powerpc/include/asm/kexec_ranges.h | 30 +-- .../arch/powerpc/include/asm/kvm_book3s_32.h | 72 +++---- .../arch/powerpc/include/asm/kvm_para.h | 86 ++++----- .../arch/powerpc/include/asm/mc146818rtc.h | 64 +++--- .../arch/powerpc/include/asm/membarrier.h | 56 +++--- .../kernel/arch/powerpc/include/asm/mmzone.h | 84 ++++---- .../arch/powerpc/include/asm/msi_bitmap.h | 62 +++--- .../powerpc/include/asm/nohash/hugetlb-e500.h | 48 ++--- .../kernel/arch/powerpc/include/asm/percpu.h | 64 +++--- .../arch/powerpc/include/asm/sparsemem.h | 60 +++--- .../kernel/arch/powerpc/include/asm/tce.h | 60 +++--- .../kernel/arch/powerpc/include/asm/tm.h | 44 ++--- .../arch/powerpc/include/asm/ultravisor-api.h | 78 ++++---- .../kernel/arch/powerpc/include/asm/uprobes.h | 70 +++---- .../arch/powerpc/include/asm/vdso/vsyscall.h | 62 +++--- .../kernel/arch/powerpc/include/asm/vphn.h | 48 ++--- .../kernel/arch/powerpc/include/asm/xmon.h | 62 +++--- .../arch/powerpc/include/asm/xor_altivec.h | 44 ++--- .../arch/powerpc/include/uapi/asm/spu_info.h | 80 ++++---- .../kernel/arch/powerpc/include/uapi/asm/tm.h | 42 ++-- .../arch/powerpc/include/uapi/asm/vas-api.h | 56 +++--- .../kernel/arch/powerpc/kernel/compat_audit.c | 98 +++++----- .../kernel/arch/powerpc/kernel/dma-swiotlb.c | 60 +++--- .../kernel/arch/powerpc/kernel/early_32.c | 76 ++++---- .../kernel/arch/powerpc/kernel/iomap.c | 62 +++--- .../kernel/arch/powerpc/kernel/prom_parse.c | 68 +++---- .../kernel/arch/powerpc/kernel/static_call.c | 74 +++---- .../kernel/arch/powerpc/kernel/swsusp.c | 66 +++---- .../kernel/arch/powerpc/kernel/trace/Makefile | 62 +++--- .../kernel/arch/powerpc/kernel/vdso/getcpu.S | 100 +++++----- .../kernel/arch/powerpc/kernel/vdso/note.S | 56 +++--- .../kernel/arch/powerpc/kvm/trace_book3s.h | 64 +++--- .../arch/powerpc/lib/checksum_wrappers.c | 78 ++++---- .../kernel/arch/powerpc/lib/memcmp_32.S | 90 ++++----- .../kernel/arch/powerpc/math-emu/fadd.c | 78 ++++---- .../kernel/arch/powerpc/math-emu/fadds.c | 80 ++++---- .../kernel/arch/powerpc/math-emu/fcmpu.c | 90 ++++----- .../kernel/arch/powerpc/math-emu/fsel.c | 82 ++++---- .../kernel/arch/powerpc/math-emu/fsqrt.c | 82 ++++---- .../kernel/arch/powerpc/math-emu/fsqrts.c | 84 ++++---- .../kernel/arch/powerpc/math-emu/fsub.c | 90 ++++----- .../kernel/arch/powerpc/math-emu/fsubs.c | 92 ++++----- .../kernel/arch/powerpc/math-emu/lfs.c | 94 ++++----- .../kernel/arch/powerpc/math-emu/stfs.c | 86 ++++----- .../kernel/arch/powerpc/mm/Makefile | 38 ++-- .../arch/powerpc/mm/book3s64/internal.h | 62 +++--- .../kernel/arch/powerpc/perf/Makefile | 44 ++--- .../kernel/arch/powerpc/perf/hv-gpci.h | 70 +++---- .../kernel/arch/powerpc/platforms/44x/idle.c | 108 +++++------ .../powerpc/platforms/512x/mpc512x_generic.c | 98 +++++----- .../arch/powerpc/platforms/82xx/Kconfig | 56 +++--- .../kernel/arch/powerpc/platforms/82xx/pq2.c | 68 +++---- .../arch/powerpc/platforms/83xx/Makefile | 36 ++-- .../arch/powerpc/platforms/86xx/common.c | 86 ++++----- .../powerpc/platforms/8xx/machine_check.c | 68 +++---- .../arch/powerpc/platforms/8xx/mpc8xx.h | 40 ++-- .../kernel/arch/powerpc/platforms/Makefile | 48 ++--- .../arch/powerpc/platforms/cell/Makefile | 54 +++--- .../arch/powerpc/platforms/microwatt/rng.c | 88 ++++----- .../arch/powerpc/platforms/microwatt/setup.c | 86 ++++----- .../arch/powerpc/platforms/pasemi/pasemi.h | 70 +++---- .../arch/powerpc/platforms/powermac/Kconfig | 70 +++---- .../arch/powerpc/platforms/powermac/Makefile | 50 ++--- .../powerpc/platforms/powernv/copy-paste.h | 84 ++++---- .../arch/powerpc/platforms/powernv/subcore.h | 42 ++-- .../powerpc/platforms/pseries/event_sources.c | 60 +++--- .../arch/powerpc/platforms/pseries/rng.c | 74 +++---- .../kernel/arch/powerpc/sysdev/6xx-suspend.S | 96 ++++----- .../kernel/arch/powerpc/sysdev/dcr-low.S | 88 ++++----- .../arch/powerpc/sysdev/mpc5xxx_clocks.c | 72 +++---- .../gcc-check-fpatchable-function-entry.sh | 52 ++--- .../tools/gcc-check-mprofile-kernel.sh | 54 +++--- .../kernel/arch/powerpc/tools/relocs_check.sh | 86 ++++----- .../kernel/arch/powerpc/xmon/Makefile | 44 ++--- .../kernel/arch/powerpc/xmon/dis-asm.h | 54 +++--- .../kernel/arch/powerpc/xmon/spr_access.S | 94 ++++----- .../allwinner/sun20i-common-regulators.dtsi | 56 +++--- .../dts/allwinner/sun20i-d1-devterm-v3.14.dts | 72 +++---- .../sun20i-d1-lichee-rv-86-panel-480p.dts | 58 +++--- .../boot/dts/renesas/r9a07g043f01-smarc.dts | 54 +++--- .../boot/dts/sophgo/cv1800b-milkv-duo.dts | 106 +++++----- .../boot/dts/sophgo/cv1812h-huashan-pi.dts | 114 +++++------ .../arch/riscv/boot/dts/starfive/Makefile | 28 +-- .../boot/dts/starfive/jh7110-milkv-mars.dts | 74 +++---- .../jh7110-starfive-visionfive-2-v1.2a.dts | 52 ++--- .../dts/thead/th1520-lichee-module-4a.dtsi | 92 ++++----- .../kernel/arch/riscv/crypto/Makefile | 46 ++--- .../arch/riscv/errata/sifive/errata_cip_453.S | 76 ++++---- .../kernel/arch/riscv/include/asm/cache.h | 80 ++++---- .../kernel/arch/riscv/include/asm/cfi.h | 80 ++++---- .../kernel/arch/riscv/include/asm/clint.h | 52 ++--- .../arch/riscv/include/asm/dma-noncoherent.h | 56 +++--- .../kernel/arch/riscv/include/asm/dmi.h | 48 ++--- .../kernel/arch/riscv/include/asm/hwprobe.h | 84 ++++---- .../kernel/arch/riscv/include/asm/irq_stack.h | 66 +++---- .../kernel/arch/riscv/include/asm/kfence.h | 64 +++--- .../kernel/arch/riscv/include/asm/mmu.h | 76 ++++---- .../arch/riscv/include/asm/mmu_context.h | 80 ++++---- .../kernel/arch/riscv/include/asm/pci.h | 66 +++---- .../kernel/arch/riscv/include/asm/sections.h | 68 +++---- .../kernel/arch/riscv/include/asm/soc.h | 48 ++--- .../arch/riscv/include/asm/stacktrace.h | 58 +++--- .../kernel/arch/riscv/include/asm/sync_core.h | 58 +++--- .../kernel/arch/riscv/include/asm/topology.h | 52 ++--- .../kernel/arch/riscv/include/asm/unistd.h | 58 +++--- .../arch/riscv/include/asm/vdso/vsyscall.h | 54 +++--- .../arch/riscv/include/uapi/asm/perf_regs.h | 84 ++++---- .../arch/riscv/include/uapi/asm/sigcontext.h | 80 ++++---- .../arch/riscv/include/uapi/asm/unistd.h | 46 ++--- .../arch/riscv/kernel/compat_syscall_table.c | 50 ++--- .../kernel/arch/riscv/kernel/cpu_ops.c | 66 +++---- .../kernel/arch/riscv/kernel/perf_regs.c | 86 ++++----- .../kernel/arch/riscv/kernel/probes/rethook.c | 54 +++--- .../kernel/arch/riscv/kernel/return_address.c | 96 ++++----- .../kernel/arch/riscv/kernel/soc.c | 56 +++--- .../kernel/arch/riscv/kernel/syscall_table.c | 48 ++--- .../kernel/arch/riscv/kvm/Makefile | 70 +++---- .../kernel/arch/riscv/lib/Makefile | 44 ++--- .../kernel/arch/riscv/mm/Makefile | 70 +++---- .../UFI003_MB_V02/kernel/arch/riscv/mm/pmem.c | 68 +++---- .../kernel/arch/riscv/purgatory/entry.S | 84 ++++---- .../kernel/arch/s390/Kconfig.debug | 44 ++--- .../kernel/arch/s390/boot/install.sh | 52 ++--- .../kernel/arch/s390/crypto/Makefile | 44 ++--- .../kernel/arch/s390/crypto/sha.h | 72 +++---- .../kernel/arch/s390/hypfs/hypfs_diag.h | 70 +++---- .../arch/s390/include/asm/abs_lowcore.h | 70 +++---- .../arch/s390/include/asm/access-regs.h | 76 ++++---- .../kernel/arch/s390/include/asm/archrandom.h | 76 ++++---- .../kernel/arch/s390/include/asm/css_chars.h | 94 ++++----- .../kernel/arch/s390/include/asm/delay.h | 48 ++--- .../kernel/arch/s390/include/asm/dis.h | 60 +++--- .../kernel/arch/s390/include/asm/dwarf.h | 76 ++++---- .../kernel/arch/s390/include/asm/fault.h | 56 +++--- .../kernel/arch/s390/include/asm/ftrace.lds.h | 42 ++-- .../kernel/arch/s390/include/asm/hardirq.h | 56 +++--- .../kernel/arch/s390/include/asm/itcw.h | 62 +++--- .../kernel/arch/s390/include/asm/march.h | 76 ++++---- .../kernel/arch/s390/include/asm/pci_debug.h | 60 +++--- .../kernel/arch/s390/include/asm/pkey.h | 56 +++--- .../arch/s390/include/asm/runtime_instr.h | 56 +++--- .../kernel/arch/s390/include/asm/rwonce.h | 62 +++--- .../kernel/arch/s390/include/asm/seccomp.h | 56 +++--- .../kernel/arch/s390/include/asm/signal.h | 52 ++--- .../kernel/arch/s390/include/asm/tpi.h | 74 +++---- .../kernel/arch/s390/include/asm/trace/diag.h | 88 ++++----- .../kernel/arch/s390/include/asm/vtimer.h | 60 +++--- .../arch/s390/include/uapi/asm/fs3270.h | 50 ++--- .../arch/s390/include/uapi/asm/ipcbuf.h | 68 +++---- .../arch/s390/include/uapi/asm/monwriter.h | 64 +++--- .../arch/s390/include/uapi/asm/perf_regs.h | 88 ++++----- .../kernel/arch/s390/include/uapi/asm/vmcp.h | 50 ++--- .../kernel/arch/s390/kernel/compat_audit.c | 96 ++++----- .../kernel/arch/s390/kernel/early_printk.c | 88 ++++----- .../kernel/arch/s390/kernel/ftrace.h | 44 ++--- .../kernel/arch/s390/kernel/nospec-sysfs.c | 46 ++--- .../kernel/arch/s390/kernel/numa.c | 64 +++--- .../kernel/arch/s390/kernel/trace.c | 66 +++---- .../kernel/arch/s390/kernel/vdso64/vdso.h | 30 +-- .../kernel/arch/s390/kernel/vmcore_info.c | 46 ++--- .../kernel/arch/s390/lib/Makefile | 52 ++--- .../kernel/arch/s390/lib/delay.c | 90 ++++----- .../kernel/arch/s390/lib/test_modules.c | 66 +++---- .../kernel/arch/s390/mm/page-states.c | 64 +++--- .../kernel/arch/s390/purgatory/purgatory.c | 66 +++---- .../arch/s390/purgatory/purgatory.lds.S | 108 +++++------ .../kernel/arch/s390/tools/Makefile | 64 +++--- .../kernel/arch/sh/boards/board-shmin.c | 70 +++---- .../kernel/arch/sh/boards/mach-sdk7786/irq.c | 90 ++++----- .../kernel/arch/sh/boards/mach-se/7721/irq.c | 84 ++++---- .../kernel/arch/sh/boards/mach-se/7751/irq.c | 102 +++++----- .../kernel/arch/sh/boot/romimage/Makefile | 60 +++--- .../kernel/arch/sh/configs/j2_defconfig | 84 ++++---- .../kernel/arch/sh/drivers/pci/fixups-sh03.c | 66 +++---- .../kernel/arch/sh/drivers/pci/fixups-titan.c | 72 +++---- .../kernel/arch/sh/include/asm/alignment.h | 44 ++--- .../kernel/arch/sh/include/asm/atomic.h | 70 +++---- .../kernel/arch/sh/include/asm/bl_bit_32.h | 68 +++---- .../arch/sh/include/asm/cache_insns_32.h | 44 ++--- .../kernel/arch/sh/include/asm/flat.h | 66 +++---- .../kernel/arch/sh/include/asm/futex-cas.h | 70 +++---- .../kernel/arch/sh/include/asm/futex-llsc.h | 84 ++++---- .../kernel/arch/sh/include/asm/hugetlb.h | 76 ++++---- .../kernel/arch/sh/include/asm/hw_irq.h | 72 +++---- .../kernel/arch/sh/include/asm/io_generic.h | 38 ++-- .../kernel/arch/sh/include/asm/kgdb.h | 76 ++++---- .../kernel/arch/sh/include/asm/machvec.h | 72 +++---- .../kernel/arch/sh/include/asm/perf_event.h | 60 +++--- .../kernel/arch/sh/include/asm/push-switch.h | 64 +++--- .../kernel/arch/sh/include/asm/setup.h | 52 ++--- .../kernel/arch/sh/include/asm/sh_bios.h | 56 +++--- .../kernel/arch/sh/include/asm/sram.h | 78 ++++---- .../kernel/arch/sh/include/asm/timex.h | 48 ++--- .../kernel/arch/sh/include/asm/tlb.h | 66 +++---- .../kernel/arch/sh/include/asm/topology.h | 56 +++--- .../kernel/arch/sh/include/asm/unistd.h | 66 +++---- .../kernel/arch/sh/include/asm/unwinder.h | 64 +++--- .../kernel/arch/sh/include/asm/vermagic.h | 60 +++--- .../kernel/arch/sh/include/cpu-sh3/cpu/dac.h | 84 ++++---- .../sh/include/cpu-sh3/cpu/dma-register.h | 76 ++++---- .../kernel/arch/sh/include/cpu-sh4/cpu/fpu.h | 60 +++--- .../arch/sh/include/mach-dreamcast/mach/dma.h | 58 +++--- .../sh/include/mach-kfr2r09/mach/kfr2r09.h | 48 ++--- .../arch/sh/include/mach-x3proto/mach/ilsel.h | 92 ++++----- .../arch/sh/include/uapi/asm/cachectl.h | 40 ++-- .../arch/sh/include/uapi/asm/posix_types_32.h | 46 ++--- .../kernel/arch/sh/include/uapi/asm/ptrace.h | 60 +++--- .../kernel/arch/sh/include/uapi/asm/swab.h | 100 +++++----- .../kernel/arch/sh/kernel/cpu/adc.c | 74 +++---- .../kernel/arch/sh/kernel/cpu/sh2/ex.S | 88 ++++----- .../kernel/arch/sh/kernel/cpu/sh2a/Makefile | 50 ++--- .../arch/sh/kernel/cpu/sh3/serial-sh770x.c | 68 +++---- .../arch/sh/kernel/cpu/sh4a/intc-shx3.c | 62 +++--- .../arch/sh/kernel/cpu/sh4a/pinmux-sh7724.c | 64 +++--- .../arch/sh/kernel/cpu/sh4a/pinmux-sh7734.c | 64 +++--- .../arch/sh/kernel/cpu/sh4a/pinmux-sh7757.c | 64 +++--- .../arch/sh/kernel/cpu/sh4a/pinmux-sh7786.c | 64 +++--- .../kernel/arch/sh/kernel/crash_dump.c | 54 +++--- .../kernel/arch/sh/kernel/dma-coherent.c | 66 +++---- .../kernel/arch/sh/kernel/perf_callchain.c | 64 +++--- .../kernel/arch/sh/kernel/return_address.c | 116 +++++------ .../kernel/arch/sh/kernel/swsusp.c | 70 +++---- .../kernel/arch/sh/kernel/syscalls/Makefile | 64 +++--- .../arch/sh/kernel/vsyscall/vsyscall-note.S | 52 ++--- .../UFI003_MB_V02/kernel/arch/sh/lib/Makefile | 60 +++--- .../UFI003_MB_V02/kernel/arch/sh/lib/memset.S | 118 ++++++------ .../UFI003_MB_V02/kernel/arch/sh/lib/strlen.S | 142 +++++++------- .../UFI003_MB_V02/kernel/arch/sh/mm/sram.c | 70 +++---- .../kernel/arch/sparc/Kconfig.debug | 54 +++--- .../kernel/arch/sparc/boot/install.sh | 60 +++--- .../kernel/arch/sparc/crypto/Makefile | 52 ++--- .../kernel/arch/sparc/include/asm/adi_64.h | 92 ++++----- .../arch/sparc/include/asm/asm-prototypes.h | 64 +++--- .../kernel/arch/sparc/include/asm/bitext.h | 56 +++--- .../kernel/arch/sparc/include/asm/cache.h | 52 ++--- .../arch/sparc/include/asm/cachetlb_32.h | 60 +++--- .../arch/sparc/include/asm/cpudata_32.h | 64 +++--- .../kernel/arch/sparc/include/asm/dcr.h | 30 +-- .../kernel/arch/sparc/include/asm/delay_32.h | 70 +++---- .../kernel/arch/sparc/include/asm/extable.h | 42 ++-- .../kernel/arch/sparc/include/asm/fpumacro.h | 68 +++---- .../kernel/arch/sparc/include/asm/ftrace.h | 68 +++---- .../kernel/arch/sparc/include/asm/hvtramp.h | 76 ++++---- .../kernel/arch/sparc/include/asm/idprom.h | 52 ++--- .../arch/sparc/include/asm/intr_queue.h | 32 +-- .../kernel/arch/sparc/include/asm/io.h | 48 ++--- .../arch/sparc/include/asm/mc146818rtc_32.h | 60 +++--- .../arch/sparc/include/asm/mc146818rtc_64.h | 58 +++--- .../arch/sparc/include/asm/perf_event.h | 60 +++--- .../arch/sparc/include/asm/tlbflush_32.h | 50 ++--- .../arch/sparc/include/uapi/asm/ipcbuf.h | 70 +++---- .../arch/sparc/include/uapi/asm/resource.h | 62 +++--- .../arch/sparc/include/uapi/asm/sembuf.h | 64 +++--- .../arch/sparc/include/uapi/asm/unistd.h | 66 +++---- .../kernel/arch/sparc/kernel/compat_audit.c | 96 ++++----- .../kernel/arch/sparc/kernel/dtlb_miss.S | 80 ++++---- .../kernel/arch/sparc/kernel/itlb_miss.S | 80 ++++---- .../kernel/arch/sparc/lib/GENcopy_to_user.S | 70 +++---- .../kernel/arch/sparc/lib/GENpatch.S | 68 +++---- .../kernel/arch/sparc/lib/M7copy_from_user.S | 80 ++++---- .../kernel/arch/sparc/lib/NG2copy_from_user.S | 88 ++++----- .../kernel/arch/sparc/lib/NG2patch.S | 68 +++---- .../kernel/arch/sparc/lib/NG4clear_page.S | 60 +++--- .../kernel/arch/sparc/lib/NG4copy_from_user.S | 78 ++++---- .../kernel/arch/sparc/lib/NGcopy_from_user.S | 66 +++---- .../kernel/arch/sparc/lib/NGcopy_to_user.S | 72 +++---- .../kernel/arch/sparc/lib/NGpatch.S | 68 +++---- .../kernel/arch/sparc/lib/U1copy_from_user.S | 76 ++++---- .../kernel/arch/sparc/lib/U1copy_to_user.S | 76 ++++---- .../kernel/arch/sparc/lib/U3copy_to_user.S | 76 ++++---- .../kernel/arch/sparc/lib/U3patch.S | 68 +++---- .../kernel/arch/sparc/lib/ashrdi3.S | 80 ++++---- .../kernel/arch/sparc/lib/ipcsum.S | 72 +++---- .../kernel/arch/sparc/lib/multi3.S | 72 +++---- .../kernel/arch/sparc/net/bpf_jit_64.h | 76 ++++---- .../kernel/arch/sparc/power/hibernate.c | 82 ++++---- .../kernel/arch/um/drivers/cow.h | 52 ++--- .../kernel/arch/um/drivers/cow_sys.h | 82 ++++---- .../kernel/arch/um/drivers/slirp.h | 68 +++---- .../kernel/arch/um/include/asm/Kbuild | 60 +++--- .../kernel/arch/um/include/asm/delay.h | 60 +++--- .../kernel/arch/um/include/asm/irq.h | 78 ++++---- .../kernel/arch/um/include/asm/irqflags.h | 76 ++++---- .../kernel/arch/um/include/asm/xor.h | 48 ++--- .../arch/um/include/shared/common-offsets.h | 62 +++--- .../kernel/arch/um/include/shared/registers.h | 44 ++--- .../arch/um/include/shared/timetravel.h | 62 +++--- .../UFI003_MB_V02/kernel/arch/um/kernel/dtb.c | 82 ++++---- .../kernel/arch/um/kernel/early_printk.c | 64 +++--- .../kernel/arch/um/kernel/exec.c | 78 ++++---- .../kernel/arch/um/kernel/initrd.c | 90 ++++----- .../kernel/arch/um/kernel/umid.c | 76 ++++---- .../kernel/arch/um/os-Linux/Makefile | 42 ++-- .../kernel/arch/um/os-Linux/registers.c | 76 ++++---- .../kernel/arch/x86/boot/compressed/cmdline.c | 64 +++--- .../kernel/arch/x86/boot/compressed/error.c | 86 ++++----- .../kernel/arch/x86/boot/compressed/sev.h | 54 +++--- .../kernel/arch/x86/boot/install.sh | 78 ++++---- .../UFI003_MB_V02/kernel/arch/x86/boot/io.h | 82 ++++---- .../UFI003_MB_V02/kernel/arch/x86/boot/msr.h | 52 ++--- .../UFI003_MB_V02/kernel/arch/x86/boot/regs.c | 54 +++--- .../kernel/arch/x86/configs/xen.config | 54 +++--- .../kernel/arch/x86/crypto/twofish.h | 42 ++-- .../kernel/arch/x86/entry/Makefile | 52 ++--- .../kernel/arch/x86/entry/syscall_x32.c | 50 ++--- .../kernel/arch/x86/entry/vdso/extable.h | 56 +++--- .../kernel/arch/x86/entry/vdso/vdso.lds.S | 74 +++---- .../arch/x86/entry/vdso/vdso32/vdso32.lds.S | 82 ++++---- .../kernel/arch/x86/events/amd/iommu.h | 48 ++--- .../kernel/arch/x86/events/probe.h | 60 +++--- .../kernel/arch/x86/ia32/audit.c | 96 ++++----- .../kernel/arch/x86/include/asm/agp.h | 52 ++--- .../kernel/arch/x86/include/asm/bios_ebda.h | 80 ++++---- .../kernel/arch/x86/include/asm/cache.h | 48 ++--- .../kernel/arch/x86/include/asm/coco.h | 84 ++++---- .../kernel/arch/x86/include/asm/cpumask.h | 76 ++++---- .../arch/x86/include/asm/elfcore-compat.h | 62 +++--- .../kernel/arch/x86/include/asm/fpu/regset.h | 46 ++--- .../kernel/arch/x86/include/asm/fpu/xcr.h | 70 +++---- .../kernel/arch/x86/include/asm/geode.h | 66 +++---- .../kernel/arch/x86/include/asm/init.h | 44 ++--- .../kernel/arch/x86/include/asm/intel-mid.h | 46 ++--- .../kernel/arch/x86/include/asm/intel_ds.h | 78 ++++---- .../arch/x86/include/asm/kvm-x86-pmu-ops.h | 54 +++--- .../kernel/arch/x86/include/asm/memtype.h | 58 +++--- .../kernel/arch/x86/include/asm/page_32.h | 62 +++--- .../kernel/arch/x86/include/asm/pc-conf-reg.h | 66 +++---- .../kernel/arch/x86/include/asm/pci-direct.h | 36 ++-- .../arch/x86/include/asm/pci-functions.h | 40 ++-- .../x86/include/asm/pgtable-2level_types.h | 86 ++++----- .../arch/x86/include/asm/pgtable_32_types.h | 46 ++--- .../arch/x86/include/asm/pgtable_areas.h | 44 ++--- .../kernel/arch/x86/include/asm/prom.h | 74 +++---- .../kernel/arch/x86/include/asm/shared/io.h | 68 +++---- .../kernel/arch/x86/include/asm/sparsemem.h | 68 +++---- .../kernel/arch/x86/include/asm/suspend_32.h | 74 +++---- .../kernel/arch/x86/include/asm/trap_pf.h | 64 +++--- .../arch/x86/include/asm/unaccepted_memory.h | 54 +++--- .../kernel/arch/x86/include/asm/uv/uv_irq.h | 74 +++---- .../arch/x86/include/asm/vdso/vsyscall.h | 68 +++---- .../kernel/arch/x86/include/asm/vga.h | 66 +++---- .../kernel/arch/x86/include/asm/xen/events.h | 76 ++++---- .../kernel/arch/x86/include/asm/xor_64.h | 56 +++--- .../kernel/arch/x86/include/uapi/asm/a.out.h | 42 ++-- .../kernel/arch/x86/include/uapi/asm/ist.h | 60 +++--- .../x86/include/uapi/asm/posix_types_32.h | 52 ++--- .../kernel/arch/x86/include/uapi/asm/swab.h | 74 +++---- .../kernel/arch/x86/include/uapi/asm/unistd.h | 50 ++--- .../arch/x86/kernel/acpi/madt_playdead.S | 56 +++--- .../kernel/arch/x86/kernel/apic/Makefile | 60 +++--- .../kernel/arch/x86/kernel/apic/apic_common.c | 84 ++++---- .../kernel/arch/x86/kernel/apic/probe_64.c | 84 ++++---- .../kernel/arch/x86/kernel/cpu/powerflags.c | 48 ++--- .../kernel/arch/x86/kernel/cpu/sgx/driver.h | 58 +++--- .../kernel/arch/x86/kernel/cpu/vortex.c | 78 ++++---- .../kernel/arch/x86/kernel/fpu/internal.h | 56 +++--- .../kernel/arch/x86/kernel/irq_work.c | 68 +++---- .../kernel/arch/x86/kernel/pmem.c | 74 +++---- .../kernel/arch/x86/kvm/governed_features.h | 44 ++--- .../kernel/arch/x86/kvm/kvm-asm-offsets.c | 58 +++--- .../kernel/arch/x86/kvm/svm/svm_onhyperv.c | 74 +++---- .../UFI003_MB_V02/kernel/arch/x86/kvm/tss.h | 120 ++++++------ .../kernel/arch/x86/kvm/vmx/posted_intr.h | 50 ++--- .../kernel/arch/x86/kvm/vmx/sgx.h | 68 +++---- .../UFI003_MB_V02/kernel/arch/x86/lib/cpu.c | 76 ++++---- .../kernel/arch/x86/lib/strstr_32.c | 66 +++---- .../kernel/arch/x86/math-emu/Makefile | 60 +++--- .../kernel/arch/x86/math-emu/version.h | 24 +-- .../kernel/arch/x86/mm/highmem_32.c | 68 +++---- .../kernel/arch/x86/mm/kmsan_shadow.c | 40 ++-- .../kernel/arch/x86/mm/mm_internal.h | 56 +++--- .../UFI003_MB_V02/kernel/arch/x86/mm/pf_in.h | 48 ++--- .../kernel/arch/x86/pci/Makefile | 54 +++--- .../kernel/arch/x86/pci/bus_numa.h | 54 +++--- .../arch/x86/realmode/rm/realmode.lds.S | 154 +++++++-------- .../kernel/arch/x86/tools/relocs.h | 78 ++++---- .../kernel/arch/x86/um/asm/barrier.h | 58 +++--- .../kernel/arch/x86/um/asm/checksum_32.h | 76 ++++---- .../kernel/arch/x86/um/asm/processor_64.h | 68 +++---- .../UFI003_MB_V02/kernel/arch/x86/um/fault.c | 58 +++--- .../arch/x86/um/shared/sysdep/ptrace_user.h | 52 ++--- .../arch/x86/um/shared/sysdep/syscalls_64.h | 56 +++--- .../kernel/arch/x86/um/vdso/vdso.lds.S | 66 +++---- .../kernel/arch/x86/video/video-common.c | 82 ++++---- .../kernel/arch/xtensa/boot/boot-elf/Makefile | 60 +++--- .../arch/xtensa/boot/boot-elf/boot.lds.S | 80 ++++---- .../arch/xtensa/boot/boot-redboot/Makefile | 62 +++--- .../arch/xtensa/boot/boot-redboot/boot.ld | 118 ++++++------ .../kernel/arch/xtensa/boot/dts/kc705.dts | 62 +++--- .../kernel/arch/xtensa/boot/lib/Makefile | 68 +++---- .../kernel/arch/xtensa/configs/iss_defconfig | 62 +++--- .../arch/xtensa/include/asm/asm-prototypes.h | 58 +++--- .../kernel/arch/xtensa/include/asm/barrier.h | 62 +++--- .../kernel/arch/xtensa/include/asm/current.h | 80 ++++---- .../kernel/arch/xtensa/include/asm/ftrace.h | 62 +++--- .../kernel/arch/xtensa/include/asm/kasan.h | 82 ++++---- .../arch/xtensa/include/uapi/asm/ipcbuf.h | 80 ++++---- .../arch/xtensa/include/uapi/asm/param.h | 62 +++--- .../arch/xtensa/include/uapi/asm/sigcontext.h | 58 +++--- .../arch/xtensa/include/uapi/asm/sockios.h | 64 +++--- .../arch/xtensa/include/uapi/asm/types.h | 60 +++--- .../arch/xtensa/kernel/syscalls/Makefile | 64 +++--- .../kernel/arch/xtensa/kernel/xtensa_ksyms.c | 60 +++--- .../kernel/arch/xtensa/mm/ioremap.c | 70 +++---- .../iss/include/platform/simcall-gdbio.h | 68 +++---- .../xt2000/include/platform/hardware.h | 86 ++++----- .../xt2000/include/platform/serial.h | 56 +++--- .../platforms/xtfpga/include/platform/lcd.h | 70 +++---- .../UFI003_MB_V02/kernel/block/blk-pm.h | 70 +++---- .../kernel/block/partitions/Makefile | 44 ++--- .../kernel/crypto/asymmetric_keys/mscode.asn1 | 56 +++--- .../kernel/crypto/asymmetric_keys/pkcs8.asn1 | 60 +++--- .../kernel/crypto/asymmetric_keys/selftest.h | 44 ++--- .../UFI003_MB_V02/kernel/crypto/compress.c | 64 +++--- .../UFI003_MB_V02/kernel/crypto/compress.h | 46 ++--- .../UFI003_MB_V02/kernel/crypto/ripemd.h | 60 +++--- .../debian/UFI003_MB_V02/kernel/fs/9p/xattr.h | 50 ++--- .../UFI003_MB_V02/kernel/fs/adfs/file.c | 72 +++---- .../kernel/fs/afs/protocol_afs.h | 30 +-- .../UFI003_MB_V02/kernel/fs/autofs/Kconfig | 40 ++-- .../UFI003_MB_V02/kernel/fs/autofs/init.c | 84 ++++---- .../UFI003_MB_V02/kernel/fs/autofs/symlink.c | 52 ++--- .../UFI003_MB_V02/kernel/fs/bcachefs/bbpos.h | 74 +++---- .../fs/bcachefs/btree_key_cache_types.h | 68 +++---- .../fs/bcachefs/btree_node_scan_types.h | 64 +++--- .../kernel/fs/bcachefs/chardev.h | 62 +++--- .../UFI003_MB_V02/kernel/fs/bcachefs/clock.h | 56 +++--- .../kernel/fs/bcachefs/clock_types.h | 76 ++++---- .../UFI003_MB_V02/kernel/fs/bcachefs/darray.c | 76 ++++---- .../UFI003_MB_V02/kernel/fs/bcachefs/debug.h | 64 +++--- .../kernel/fs/bcachefs/disk_groups_format.h | 42 ++-- .../kernel/fs/bcachefs/ec_types.h | 84 ++++---- .../kernel/fs/bcachefs/extents_types.h | 80 ++++---- .../kernel/fs/bcachefs/journal_sb.h | 48 ++--- .../fs/bcachefs/journal_seq_blacklist.h | 44 ++--- .../kernel/fs/bcachefs/move_types.h | 72 +++---- .../kernel/fs/bcachefs/quota_format.h | 94 ++++----- .../kernel/fs/bcachefs/quota_types.h | 86 ++++----- .../kernel/fs/bcachefs/rcu_pending.h | 54 +++--- .../kernel/fs/bcachefs/rebalance.h | 54 +++--- .../kernel/fs/bcachefs/rebalance_types.h | 74 +++---- .../kernel/fs/bcachefs/reflink_format.h | 66 +++---- .../kernel/fs/bcachefs/replicas_format.h | 72 +++---- .../kernel/fs/bcachefs/sb-clean.h | 32 +-- .../kernel/fs/bcachefs/seqmutex.h | 90 ++++----- .../kernel/fs/bcachefs/snapshot_format.h | 72 +++---- .../kernel/fs/bcachefs/subvolume_types.h | 76 ++++---- .../kernel/fs/bcachefs/xattr_format.h | 50 ++--- .../UFI003_MB_V02/kernel/fs/btrfs/acl.h | 76 ++++---- .../UFI003_MB_V02/kernel/fs/btrfs/defrag.h | 62 +++--- .../UFI003_MB_V02/kernel/fs/btrfs/ioctl.h | 52 ++--- .../UFI003_MB_V02/kernel/fs/btrfs/props.h | 62 +++--- .../UFI003_MB_V02/kernel/fs/btrfs/scrub.h | 44 ++--- .../UFI003_MB_V02/kernel/fs/btrfs/super.h | 76 ++++---- .../UFI003_MB_V02/kernel/fs/btrfs/verity.h | 70 +++---- .../UFI003_MB_V02/kernel/fs/btrfs/xattr.h | 58 +++--- .../kernel/fs/cachefiles/error_inject.c | 72 +++---- .../UFI003_MB_V02/kernel/fs/coda/coda_cache.h | 46 ++--- .../UFI003_MB_V02/kernel/fs/dlm/recoverd.h | 42 ++-- .../kernel/fs/dlm/requestqueue.h | 42 ++-- .../UFI003_MB_V02/kernel/fs/ecryptfs/Kconfig | 46 ++--- .../UFI003_MB_V02/kernel/fs/efs/Kconfig | 32 +-- .../UFI003_MB_V02/kernel/fs/exfat/Kconfig | 48 ++--- .../UFI003_MB_V02/kernel/fs/ext2/symlink.c | 72 +++---- .../UFI003_MB_V02/kernel/fs/ext4/Makefile | 40 ++-- .../kernel/fs/hostfs/hostfs_user_exp.c | 56 +++--- .../UFI003_MB_V02/kernel/fs/hpfs/Kconfig | 34 ++-- .../UFI003_MB_V02/kernel/fs/jffs2/Makefile | 44 ++--- .../UFI003_MB_V02/kernel/fs/jfs/jfs_lock.h | 78 ++++---- .../UFI003_MB_V02/kernel/fs/nfs/dns_resolve.h | 74 +++---- .../UFI003_MB_V02/kernel/fs/nfs/nfs2super.c | 66 +++---- .../UFI003_MB_V02/kernel/fs/nfs/nfs3super.c | 68 +++---- .../UFI003_MB_V02/kernel/fs/nfs/sysfs.h | 66 +++---- .../UFI003_MB_V02/kernel/fs/nfsd/Makefile | 52 ++--- .../UFI003_MB_V02/kernel/fs/nilfs2/direct.h | 56 +++--- .../kernel/fs/notify/fanotify/Kconfig | 54 +++--- .../kernel/fs/notify/inotify/Kconfig | 34 ++-- .../UFI003_MB_V02/kernel/fs/ntfs3/Makefile | 70 +++---- .../UFI003_MB_V02/kernel/fs/ocfs2/acl.h | 56 +++--- .../fs/ocfs2/cluster/ocfs2_nodemanager.h | 56 +++--- .../kernel/fs/ocfs2/dlm/dlmdomain.h | 82 ++++---- .../UFI003_MB_V02/kernel/fs/ocfs2/heartbeat.h | 58 +++--- .../UFI003_MB_V02/kernel/fs/ocfs2/slot_map.h | 56 +++--- .../UFI003_MB_V02/kernel/fs/ocfs2/super.h | 68 +++---- .../kernel/fs/orangefs/orangefs-bufmap.h | 78 ++++---- .../UFI003_MB_V02/kernel/fs/proc/Makefile | 72 +++---- .../UFI003_MB_V02/kernel/fs/proc/cpuinfo.c | 56 +++--- .../UFI003_MB_V02/kernel/fs/proc/interrupts.c | 84 ++++---- .../UFI003_MB_V02/kernel/fs/proc/softirqs.c | 74 +++---- .../UFI003_MB_V02/kernel/fs/qnx6/Kconfig | 56 +++--- .../UFI003_MB_V02/kernel/fs/qnx6/namei.c | 74 +++---- .../UFI003_MB_V02/kernel/fs/quota/compat.h | 68 +++---- .../kernel/fs/quota/quota_tree.h | 52 ++--- .../UFI003_MB_V02/kernel/fs/reiserfs/Makefile | 60 +++--- .../kernel/fs/smb/client/cifs_spnego.h | 72 +++---- .../smb/client/cifs_spnego_negtokeninit.asn1 | 80 ++++---- .../smb/common/smbdirect/smbdirect_socket.h | 86 ++++----- .../kernel/fs/smb/server/Makefile | 40 ++-- .../UFI003_MB_V02/kernel/fs/smb/server/asn1.h | 42 ++-- .../smb/server/ksmbd_spnego_negtokeninit.asn1 | 78 ++++---- .../kernel/fs/smb/server/mgmt/ksmbd_ida.c | 76 ++++---- .../UFI003_MB_V02/kernel/fs/smb/server/ndr.h | 44 ++--- .../UFI003_MB_V02/kernel/fs/squashfs/Makefile | 38 ++-- .../kernel/fs/squashfs/file_cache.c | 72 +++---- .../kernel/fs/squashfs/squashfs_fs_i.h | 82 ++++---- .../debian/UFI003_MB_V02/kernel/fs/sysctls.c | 74 +++---- .../UFI003_MB_V02/kernel/fs/udf/Kconfig | 38 ++-- .../UFI003_MB_V02/kernel/fs/xfs/scrub/attr.h | 62 +++--- .../kernel/fs/xfs/scrub/dab_bitmap.h | 74 +++---- .../kernel/fs/xfs/scrub/fsb_bitmap.h | 74 +++---- .../kernel/fs/xfs/scrub/health.h | 34 ++-- .../kernel/fs/xfs/scrub/ino_bitmap.h | 74 +++---- .../kernel/fs/xfs/scrub/listxattr.h | 38 ++-- .../kernel/fs/xfs/scrub/off_bitmap.h | 74 +++---- .../UFI003_MB_V02/kernel/fs/xfs/scrub/quota.h | 72 +++---- .../UFI003_MB_V02/kernel/fs/xfs/scrub/rcbag.h | 56 +++--- .../kernel/fs/xfs/scrub/readdir.h | 44 ++--- .../kernel/fs/xfs/scrub/tempexch.h | 44 ++--- .../UFI003_MB_V02/kernel/fs/xfs/xfs_acl.h | 62 +++--- .../kernel/fs/xfs/xfs_dquot_item.h | 56 +++--- .../kernel/fs/xfs/xfs_filestream.h | 56 +++--- .../UFI003_MB_V02/kernel/fs/xfs/xfs_ioctl.h | 88 ++++----- .../UFI003_MB_V02/kernel/fs/xfs/xfs_iops.h | 46 ++--- .../UFI003_MB_V02/kernel/fs/xfs/xfs_pnfs.h | 42 ++-- .../kernel/include/acpi/acpi_io.h | 54 +++--- .../kernel/include/acpi/acpi_numa.h | 90 ++++----- .../kernel/include/acpi/battery.h | 50 ++--- .../kernel/include/acpi/platform/acgccex.h | 48 ++--- .../kernel/include/asm-generic/bitops/__ffs.h | 96 ++++----- .../kernel/include/asm-generic/bitops/ffs.h | 92 ++++----- .../kernel/include/asm-generic/bitops/fls.h | 92 ++++----- .../kernel/include/asm-generic/bitops/fls64.h | 74 +++---- .../include/asm-generic/bitops/non-atomic.h | 40 ++-- .../kernel/include/asm-generic/bitops/sched.h | 64 +++--- .../kernel/include/asm-generic/extable.h | 54 +++--- .../kernel/include/asm-generic/int-ll64.h | 94 ++++----- .../kernel/include/asm-generic/irq_regs.h | 66 +++---- .../kernel/include/asm-generic/kprobes.h | 52 ++--- .../kernel/include/asm-generic/mm_hooks.h | 52 ++--- .../kernel/include/asm-generic/pci.h | 60 +++--- .../include/asm-generic/qrwlock_types.h | 68 +++---- .../kernel/include/asm-generic/switch_to.h | 52 ++--- .../kernel/include/asm-generic/syscalls.h | 58 +++--- .../include/asm-generic/vdso/vsyscall.h | 58 +++--- .../kernel/include/clocksource/samsung_pwm.h | 66 +++---- .../kernel/include/crypto/authenc.h | 64 +++--- .../kernel/include/crypto/internal/geniv.h | 54 +++--- .../kernel/include/crypto/pcrypt.h | 78 ++++---- .../kernel/include/crypto/serpent.h | 56 +++--- .../kernel/include/crypto/sha3.h | 68 +++---- .../kernel/include/crypto/streebog.h | 74 +++---- .../kernel/include/crypto/twofish.h | 50 ++--- .../kernel/include/cxl/mailbox.h | 56 +++--- .../include/drm/display/drm_hdmi_helper.h | 62 +++--- .../drm/display/drm_hdmi_state_helper.h | 46 ++--- .../kernel/include/drm/drm_client_setup.h | 52 ++--- .../kernel/include/drm/drm_fb_dma_helper.h | 56 +++--- .../kernel/include/drm/drm_fbdev_dma.h | 54 +++--- .../kernel/include/drm/drm_fbdev_ttm.h | 56 +++--- .../kernel/include/drm/drm_gem_ttm_helper.h | 58 +++--- .../kernel/include/drm/i2c/tda998x.h | 80 ++++---- .../dt-bindings/arm/coresight-cti-dt.h | 74 +++---- .../dt-bindings/clock/amlogic,a1-pll-clkc.h | 52 ++--- .../dt-bindings/clock/amlogic,c3-scmi-clkc.h | 54 +++--- .../include/dt-bindings/clock/axg-aoclkc.h | 62 +++--- .../include/dt-bindings/clock/bcm3368-clock.h | 48 ++--- .../include/dt-bindings/clock/bcm6362-clock.h | 52 ++--- .../include/dt-bindings/clock/bcm6368-clock.h | 48 ++--- .../include/dt-bindings/clock/berlin2q.h | 66 +++---- .../dt-bindings/clock/cortina,gemini-clock.h | 60 +++--- .../dt-bindings/clock/exynos-audss-clk.h | 54 +++--- .../include/dt-bindings/clock/hi3519-clock.h | 56 +++--- .../include/dt-bindings/clock/imx1-clock.h | 72 +++---- .../include/dt-bindings/clock/lochnagar.h | 52 ++--- .../dt-bindings/clock/lsi,axm5516-clks.h | 66 +++---- .../dt-bindings/clock/microchip,lan966x.h | 68 +++---- .../dt-bindings/clock/microchip,pic32-clock.h | 68 +++---- .../dt-bindings/clock/nxp,imx95-clock.h | 62 +++--- .../include/dt-bindings/clock/oxsemi,ox820.h | 58 +++--- .../dt-bindings/clock/qcom,gpucc-msm8998.h | 58 +++--- .../dt-bindings/clock/qcom,gpucc-sdm660.h | 56 +++--- .../dt-bindings/clock/qcom,gpucc-sm8150.h | 66 +++---- .../dt-bindings/clock/qcom,gpucc-sm8250.h | 68 +++---- .../clock/qcom,lpasscorecc-sc7180.h | 58 +++--- .../clock/qcom,lpasscorecc-sc7280.h | 56 +++--- .../dt-bindings/clock/qcom,qcm2290-gpucc.h | 64 +++--- .../dt-bindings/clock/qcom,sm6115-gpucc.h | 72 +++---- .../dt-bindings/clock/qcom,sm6125-gpucc.h | 62 +++--- .../dt-bindings/clock/qcom,sm6375-gpucc.h | 72 +++---- .../dt-bindings/clock/qcom,sm7150-videocc.h | 56 +++--- .../dt-bindings/clock/qcom,sm8650-videocc.h | 46 ++--- .../dt-bindings/clock/qcom,videocc-sc7280.h | 54 +++--- .../dt-bindings/clock/qcom,videocc-sdm845.h | 70 +++---- .../dt-bindings/clock/qcom,videocc-sm8150.h | 58 +++--- .../dt-bindings/clock/qcom,x1e80100-tcsr.h | 46 ++--- .../dt-bindings/clock/renesas,r9a09g057-cpg.h | 42 ++-- .../include/dt-bindings/clock/s5pv210-audss.h | 62 +++--- .../dt-bindings/clock/sifive-fu740-prci.h | 48 ++--- .../include/dt-bindings/clock/stih418-clks.h | 70 +++---- .../include/dt-bindings/clock/ti-dra7-atl.h | 64 +++--- .../dt-bindings/iio/adc/fsl-imx25-gcq.h | 38 ++-- .../iio/adc/mediatek,mt6358-auxadc.h | 44 ++--- .../iio/adc/mediatek,mt6359-auxadc.h | 44 ++--- .../dt-bindings/iio/addac/adi,ad74413r.h | 42 ++-- .../dt-bindings/iio/qcom,spmi-adc7-smb139x.h | 38 ++-- .../include/dt-bindings/input/ti-drv260x.h | 56 +++--- .../include/dt-bindings/interconnect/imx8mn.h | 82 ++++---- .../interconnect/mediatek,mt8183.h | 46 ++--- .../dt-bindings/interconnect/qcom,icc.h | 52 ++--- .../interrupt-controller/aspeed-scu-ic.h | 46 ++--- .../dt-bindings/interrupt-controller/irq-st.h | 54 +++--- .../dt-bindings/leds/rt4831-backlight.h | 46 ++--- .../include/dt-bindings/media/xilinx-vip.h | 72 +++---- .../dt-bindings/net/microchip-lan78xx.h | 42 ++-- .../dt-bindings/net/mscc-phy-vsc8531.h | 62 +++--- .../include/dt-bindings/net/pcs-rzn1-miic.h | 66 +++---- .../include/dt-bindings/pinctrl/bcm2835.h | 52 ++--- .../include/dt-bindings/pinctrl/keystone.h | 62 +++--- .../include/dt-bindings/pinctrl/nomadik.h | 72 +++---- .../include/dt-bindings/pinctrl/rockchip.h | 94 ++++----- .../dt-bindings/pinctrl/rzg2l-pinctrl.h | 46 ++--- .../dt-bindings/pinctrl/rzv2m-pinctrl.h | 46 ++--- .../include/dt-bindings/pmu/exynos_ppmu.h | 50 ++--- .../dt-bindings/power/amlogic,c3-pwrc.h | 50 ++--- .../include/dt-bindings/power/imx8mm-power.h | 62 +++--- .../include/dt-bindings/power/imx8mq-power.h | 48 ++--- .../include/dt-bindings/power/imx8ulp-power.h | 52 ++--- .../dt-bindings/power/meson-a1-power.h | 64 +++--- .../include/dt-bindings/power/mt6797-power.h | 46 ++--- .../include/dt-bindings/power/mt8183-power.h | 52 ++--- .../include/dt-bindings/power/qcom,rpmhpd.h | 64 +++--- .../include/dt-bindings/power/r8a7742-sysc.h | 58 +++--- .../include/dt-bindings/power/r8a7744-sysc.h | 48 ++--- .../include/dt-bindings/power/r8a774a1-sysc.h | 62 +++--- .../include/dt-bindings/power/r8a774b1-sysc.h | 52 ++--- .../include/dt-bindings/power/r8a774c0-sysc.h | 50 ++--- .../include/dt-bindings/power/r8a7779-sysc.h | 48 ++--- .../include/dt-bindings/power/r8a7790-sysc.h | 62 +++--- .../include/dt-bindings/power/r8a7791-sysc.h | 46 ++--- .../include/dt-bindings/power/r8a7792-sysc.h | 46 ++--- .../include/dt-bindings/power/r8a7793-sysc.h | 50 ++--- .../include/dt-bindings/power/r8a7794-sysc.h | 46 ++--- .../include/dt-bindings/power/r8a7796-sysc.h | 66 +++---- .../include/dt-bindings/power/r8a77961-sysc.h | 64 +++--- .../include/dt-bindings/power/r8a77965-sysc.h | 58 +++--- .../include/dt-bindings/power/r8a77970-sysc.h | 56 +++--- .../include/dt-bindings/power/r8a77990-sysc.h | 52 ++--- .../include/dt-bindings/power/r8a779f0-sysc.h | 60 +++--- .../include/dt-bindings/power/rk3288-power.h | 64 +++--- .../include/dt-bindings/power/rk3368-power.h | 58 +++--- .../include/dt-bindings/power/rk3568-power.h | 64 +++--- .../dt-bindings/power/rockchip,rk3576-power.h | 60 +++--- .../dt-bindings/power/rockchip,rv1126-power.h | 70 +++---- .../dt-bindings/power/summit,smb347-charger.h | 46 ++--- .../dt-bindings/power/tegra186-powergate.h | 56 +++--- .../dt-bindings/power/xlnx-zynqmp-power.h | 90 ++++----- .../regulator/active-semi,8865-regulator.h | 56 +++--- .../regulator/active-semi,8945a-regulator.h | 60 +++--- .../regulator/dlg,da9121-regulator.h | 44 ++--- .../dt-bindings/reset/actions,s700-reset.h | 68 +++---- .../dt-bindings/reset/bcm63268-reset.h | 60 +++--- .../include/dt-bindings/reset/bt1-ccu.h | 68 +++---- .../include/dt-bindings/reset/mt2712-resets.h | 44 ++--- .../dt-bindings/reset/oxsemi,ox810se.h | 84 ++++---- .../include/dt-bindings/reset/oxsemi,ox820.h | 84 ++++---- .../dt-bindings/reset/suniv-ccu-f1c100s.h | 76 ++++---- .../include/dt-bindings/reset/ti-syscon.h | 58 +++--- .../include/dt-bindings/soc/bcm2835-pm.h | 56 +++--- .../include/dt-bindings/soc/bcm63268-pm.h | 42 ++-- .../include/dt-bindings/soc/bcm6362-pm.h | 42 ++-- .../kernel/include/dt-bindings/soc/qcom,apr.h | 56 +++--- .../include/dt-bindings/sound/cs35l32.h | 54 +++--- .../kernel/include/dt-bindings/sound/madera.h | 50 ++--- .../include/dt-bindings/sound/qcom,q6asm.h | 52 ++--- .../kernel/include/dt-bindings/sound/rt5640.h | 52 ++--- .../include/dt-bindings/sound/tas2552.h | 38 ++-- .../thermal/tegra234-bpmp-thermal.h | 38 ++-- .../kernel/include/keys/big_key-type.h | 46 ++--- .../include/keys/request_key_auth-type.h | 66 +++---- .../UFI003_MB_V02/kernel/include/kunit/clk.h | 56 +++--- .../kernel/include/linux/acpi_mdio.h | 66 +++---- .../kernel/include/linux/amba/mmci.h | 48 ++--- .../kernel/include/linux/ata_platform.h | 64 +++--- .../UFI003_MB_V02/kernel/include/linux/bcd.h | 54 +++--- .../include/linux/bcma/bcma_driver_arm_c9.h | 32 +-- .../kernel/include/linux/bitmap-str.h | 32 +-- .../kernel/include/linux/blk-pm.h | 46 ++--- .../kernel/include/linux/blockgroup_lock.h | 82 ++++---- .../kernel/include/linux/bpf_crypto.h | 48 ++--- .../kernel/include/linux/bpf_lirc.h | 60 +++--- .../kernel/include/linux/bsearch.h | 64 +++--- .../kernel/include/linux/buildid.h | 42 ++-- .../kernel/include/linux/cacheflush.h | 58 +++--- .../include/linux/can/platform/flexcan.h | 46 ++--- .../UFI003_MB_V02/kernel/include/linux/cdev.h | 78 ++++---- .../kernel/include/linux/ceph/buffer.h | 78 ++++---- .../kernel/include/linux/ceph/msgpool.h | 54 +++--- .../kernel/include/linux/clk/davinci.h | 46 ++--- .../kernel/include/linux/clk/samsung.h | 48 ++--- .../kernel/include/linux/comedi/comedilib.h | 52 ++--- .../include/linux/context_tracking_irq.h | 42 ++-- .../kernel/include/linux/crush/hash.h | 48 ++--- .../UFI003_MB_V02/kernel/include/linux/cuda.h | 46 ++--- .../kernel/include/linux/delayed_call.h | 70 +++---- .../kernel/include/linux/dlm_plock.h | 36 ++-- .../kernel/include/linux/dma/mxs-dma.h | 48 ++--- .../kernel/include/linux/dma/pxa-dma.h | 52 ++--- .../kernel/include/linux/dsa/loop.h | 84 ++++---- .../kernel/include/linux/efi-bgrt.h | 52 ++--- .../kernel/include/linux/error-injection.h | 56 +++--- .../kernel/include/linux/fcdevice.h | 56 +++--- .../kernel/include/linux/fddidevice.h | 56 +++--- .../kernel/include/linux/fiemap.h | 42 ++-- .../kernel/include/linux/firmware/imx/sm.h | 46 ++--- .../include/linux/firmware/meson/meson_sm.h | 62 +++--- .../include/linux/fpga/adi-axi-common.h | 46 ++--- .../kernel/include/linux/framer/pef2256.h | 62 +++--- .../kernel/include/linux/fs_stack.h | 60 +++--- .../kernel/include/linux/fsi-occ.h | 54 +++--- .../kernel/include/linux/fsi-sbefifo.h | 50 ++--- .../kernel/include/linux/fsl/bestcomm/ata.h | 60 +++--- .../kernel/include/linux/ftrace_irq.h | 78 ++++---- .../kernel/include/linux/fwnode_mdio.h | 70 +++---- .../kernel/include/linux/getcpu.h | 38 ++-- .../kernel/include/linux/goldfish.h | 80 ++++---- .../linux/gpio/legacy-of-mm-gpiochip.h | 72 +++---- .../kernel/include/linux/greybus/module.h | 72 +++---- .../UFI003_MB_V02/kernel/include/linux/hex.h | 70 +++---- .../kernel/include/linux/hsi/ssi_protocol.h | 60 +++--- .../kernel/include/linux/hwmon-vid.h | 66 +++---- .../kernel/include/linux/hypervisor.h | 92 ++++----- .../kernel/include/linux/i8253.h | 60 +++--- .../kernel/include/linux/iio/afe/rescale.h | 72 +++---- .../kernel/include/linux/iio/dac/ad5421.h | 58 +++--- .../kernel/include/linux/iio/dac/mcp4725.h | 50 ++--- .../kernel/include/linux/iio/kfifo_buf.h | 44 ++--- .../linux/iio/timer/stm32-lptim-trigger.h | 58 +++--- .../kernel/include/linux/inotify.h | 40 ++-- .../kernel/include/linux/input/lm8333.h | 48 ++--- .../kernel/include/linux/input/touchscreen.h | 64 +++--- .../kernel/include/linux/input/vivaldi-fmap.h | 54 +++--- .../kernel/include/linux/interconnect-clk.h | 52 ++--- .../kernel/include/linux/ioremap.h | 62 +++--- .../include/linux/irqchip/chained_irq.h | 82 ++++---- .../include/linux/irqchip/irq-davinci-aintc.h | 54 +++--- .../kernel/include/linux/irqdomain_defs.h | 64 +++--- .../kernel/include/linux/irqnr.h | 68 +++---- .../kernel/include/linux/kasan-enabled.h | 70 +++---- .../kernel/include/linux/kcore.h | 94 ++++----- .../kernel/include/linux/keyboard.h | 42 ++-- .../kernel/include/linux/kmsan_string.h | 42 ++-- .../kernel/include/linux/kmsan_types.h | 74 +++---- .../kernel/include/linux/ks8842.h | 52 ++--- .../kernel/include/linux/leds-lp3944.h | 92 ++++----- .../kernel/include/linux/leds-pca9532.h | 86 ++++----- .../kernel/include/linux/libgcc.h | 74 +++---- .../kernel/include/linux/limits.h | 58 +++--- .../kernel/include/linux/livepatch_sched.h | 58 +++--- .../UFI003_MB_V02/kernel/include/linux/llc.h | 46 ++--- .../kernel/include/linux/lockd/debug.h | 80 ++++---- .../kernel/include/linux/lockd/share.h | 64 +++--- .../kernel/include/linux/mei_aux.h | 62 +++--- .../kernel/include/linux/mem_encrypt.h | 72 +++---- .../kernel/include/linux/memfd.h | 70 +++---- .../include/linux/mfd/abx500/ab8500-codec.h | 102 +++++----- .../kernel/include/linux/mfd/altera-sysmgr.h | 58 +++--- .../kernel/include/linux/mfd/da9055/pdata.h | 72 +++---- .../kernel/include/linux/mfd/janz.h | 100 +++++----- .../kernel/include/linux/mfd/lpc_ich.h | 80 ++++---- .../kernel/include/linux/mfd/mc13892.h | 72 +++---- .../kernel/include/linux/mfd/mt6323/core.h | 66 +++---- .../kernel/include/linux/mfd/retu.h | 56 +++--- .../kernel/include/linux/mfd/rohm-shared.h | 42 ++-- .../include/linux/mfd/wcd934x/wcd934x.h | 62 +++--- .../kernel/include/linux/migrate_mode.h | 62 +++--- .../kernel/include/linux/mmc/pm.h | 54 +++--- .../kernel/include/linux/mnt_namespace.h | 50 ++--- .../kernel/include/linux/mpage.h | 46 ++--- .../kernel/include/linux/mtd/physmap.h | 62 +++--- .../kernel/include/linux/mtd/plat-ram.h | 60 +++--- .../kernel/include/linux/ndctl.h | 44 ++--- .../linux/netfilter/ipset/ip_set_getport.h | 70 +++---- .../linux/netfilter/nf_conntrack_dccp.h | 76 ++++---- .../linux/netfilter/nf_conntrack_proto_gre.h | 66 +++---- .../kernel/include/linux/nvme-keyring.h | 64 +++--- .../kernel/include/linux/oa_tc6.h | 48 ++--- .../kernel/include/linux/of_clk.h | 66 +++---- .../kernel/include/linux/of_gpio.h | 76 ++++---- .../kernel/include/linux/of_iommu.h | 66 +++---- .../kernel/include/linux/of_pci.h | 82 ++++---- .../kernel/include/linux/omap-iommu.h | 72 +++---- .../kernel/include/linux/once_lite.h | 72 +++---- .../kernel/include/linux/osq_lock.h | 72 +++---- .../kernel/include/linux/page_reporting.h | 58 +++--- .../kernel/include/linux/patchkey.h | 52 ++--- .../UFI003_MB_V02/kernel/include/linux/path.h | 60 +++--- .../UFI003_MB_V02/kernel/include/linux/pfn.h | 48 ++--- .../kernel/include/linux/pgalloc.h | 58 +++--- .../kernel/include/linux/phy/omap_usb.h | 50 ++--- .../kernel/include/linux/phy/phy-lvds.h | 64 +++--- .../kernel/include/linux/phy/ulpi_phy.h | 64 +++--- .../include/linux/platform_data/ads7828.h | 52 ++--- .../include/linux/platform_data/amd_qdma.h | 76 ++++---- .../include/linux/platform_data/amd_xdma.h | 68 +++---- .../linux/platform_data/asoc-imx-ssi.h | 48 ++--- .../linux/platform_data/asoc-ti-mcbsp.h | 68 +++---- .../kernel/include/linux/platform_data/g762.h | 48 ++--- .../platform_data/hirschmann-hellcreek.h | 48 ++--- .../include/linux/platform_data/i2c-davinci.h | 52 ++--- .../include/linux/platform_data/i2c-ocores.h | 42 ++-- .../include/linux/platform_data/i2c-xiic.h | 62 +++--- .../linux/platform_data/invensense_mpu6050.h | 52 ++--- .../include/linux/platform_data/leds-lm3642.h | 74 +++---- .../include/linux/platform_data/lm8323.h | 68 +++---- .../include/linux/platform_data/max3421-hcd.h | 50 ++--- .../linux/platform_data/media/camera-pxa.h | 68 +++---- .../linux/platform_data/media/mmp-camera.h | 50 ++--- .../include/linux/platform_data/mlxcpld.h | 62 +++--- .../include/linux/platform_data/mmc-davinci.h | 74 +++---- .../include/linux/platform_data/mmc-pxamci.h | 54 +++--- .../linux/platform_data/mtd-nand-pxa3xx.h | 54 +++--- .../include/linux/platform_data/mv_usb.h | 80 ++++---- .../linux/platform_data/omap-wd-timer.h | 68 +++---- .../include/linux/platform_data/omapdss.h | 64 +++--- .../linux/platform_data/regulator-haptic.h | 52 ++--- .../linux/platform_data/sa11x0-serial.h | 76 ++++---- .../include/linux/platform_data/shmob_drm.h | 76 ++++---- .../include/linux/platform_data/tps68470.h | 80 ++++---- .../include/linux/platform_data/tsc2007.h | 46 ++--- .../include/linux/platform_data/txx9/ndfmc.h | 56 +++--- .../linux/platform_data/usb-ohci-pxa27x.h | 74 +++---- .../linux/platform_data/usb-ohci-s3c2410.h | 80 ++++---- .../linux/platform_data/x86/pwm-lpss.h | 66 +++---- .../platform_data/x86/simatic-ipc-base.h | 62 +++--- .../linux/platform_data/x86/spi-intel.h | 62 +++--- .../kernel/include/linux/pm-trace.h | 86 ++++----- .../kernel/include/linux/pm_wakeirq.h | 72 +++---- .../kernel/include/linux/polynomial.h | 70 +++---- .../kernel/include/linux/power/gpio-charger.h | 52 ++--- .../include/linux/power/power_on_reason.h | 38 ++-- .../linux/power/twl4030_madc_battery.h | 60 +++--- .../kernel/include/linux/ppp_defs.h | 56 +++--- .../UFI003_MB_V02/kernel/include/linux/psp.h | 58 +++--- .../kernel/include/linux/pstore_ram.h | 84 ++++---- .../kernel/include/linux/ptdump.h | 66 +++---- .../kernel/include/linux/ptp_mock.h | 76 ++++---- .../kernel/include/linux/ptp_pch.h | 52 ++--- .../kernel/include/linux/pwm_backlight.h | 48 ++--- .../kernel/include/linux/pxa168_eth.h | 68 +++---- .../kernel/include/linux/qed/iwarp_common.h | 60 +++--- .../kernel/include/linux/qed/qed_iov_if.h | 68 +++---- .../kernel/include/linux/raid/xor.h | 60 +++--- .../kernel/include/linux/ramfs.h | 52 ++--- .../kernel/include/linux/range.h | 68 +++---- .../kernel/include/linux/rational.h | 40 ++-- .../kernel/include/linux/rbtree_types.h | 68 +++---- .../kernel/include/linux/regulator/da9211.h | 78 ++++---- .../kernel/include/linux/regulator/lp3971.h | 76 ++++---- .../kernel/include/linux/regulator/lp3972.h | 70 +++---- .../kernel/include/linux/regulator/max8649.h | 82 ++++---- .../linux/regulator/mt6323-regulator.h | 88 ++++----- .../linux/regulator/mt6331-regulator.h | 92 ++++----- .../linux/regulator/mt6357-regulator.h | 102 +++++----- .../linux/regulator/mt6397-regulator.h | 82 ++++---- .../linux/regulator/userspace-consumer.h | 54 +++--- .../kernel/include/linux/rio_ids.h | 54 +++--- .../kernel/include/linux/rpmsg/qcom_glink.h | 68 +++---- .../kernel/include/linux/rtsx_common.h | 76 ++++---- .../kernel/include/linux/rw_hint.h | 48 ++--- .../kernel/include/linux/sched/deadline.h | 80 ++++---- .../kernel/include/linux/sched/hotplug.h | 54 +++--- .../kernel/include/linux/sched/nohz.h | 64 +++--- .../kernel/include/linux/sched/stat.h | 68 +++---- .../kernel/include/linux/sched/sysctl.h | 64 +++--- .../kernel/include/linux/sched/types.h | 46 ++--- .../kernel/include/linux/sched/xacct.h | 98 +++++----- .../kernel/include/linux/seccomp_types.h | 70 +++---- .../kernel/include/linux/secretmem.h | 72 +++---- .../kernel/include/linux/seq_file_net.h | 80 ++++---- .../UFI003_MB_V02/kernel/include/linux/shm.h | 80 ++++---- .../kernel/include/linux/signalfd.h | 70 +++---- .../kernel/include/linux/soc/cirrus/ep93xx.h | 76 ++++---- .../include/linux/soc/mediatek/mtk_sip_svc.h | 56 +++--- .../include/linux/soc/nxp/lpc32xx-misc.h | 66 +++---- .../kernel/include/linux/soc/pxa/smemc.h | 58 +++--- .../kernel/include/linux/soc/qcom/pdr.h | 58 +++--- .../include/linux/soc/qcom/pmic_glink.h | 66 +++---- .../kernel/include/linux/soc/qcom/qcom-pbs.h | 60 +++--- .../kernel/include/linux/soc/qcom/qcom_aoss.h | 76 ++++---- .../include/linux/soc/samsung/exynos-pmu.h | 80 ++++---- .../kernel/include/linux/soc/ti/ti-msgmgr.h | 66 +++---- .../include/linux/soc/ti/ti_sci_inta_msi.h | 42 ++-- .../kernel/include/linux/sound.h | 40 ++-- .../kernel/include/linux/spi/ad7877.h | 50 ++--- .../kernel/include/linux/spi/at73c213.h | 52 ++--- .../kernel/include/linux/spi/libertas_spi.h | 50 ++--- .../kernel/include/linux/spi/max7301.h | 72 +++---- .../kernel/include/linux/spi/spi_gpio.h | 50 ++--- .../kernel/include/linux/spi/xilinx_spi.h | 50 ++--- .../kernel/include/linux/spinlock_types_up.h | 74 +++---- .../kernel/include/linux/ssb/ssb_embedded.h | 38 ++-- .../UFI003_MB_V02/kernel/include/linux/ssbi.h | 70 +++---- .../kernel/include/linux/stackprotector.h | 72 +++---- .../kernel/include/linux/sunrpc/rdma_rn.h | 54 +++--- .../include/linux/sunrpc/rpc_rdma_cid.h | 48 ++--- .../kernel/include/linux/sunrpc/svcauth_gss.h | 54 +++--- .../UFI003_MB_V02/kernel/include/linux/swab.h | 96 ++++----- .../kernel/include/linux/swap_slots.h | 62 +++--- .../kernel/include/linux/syscore_ops.h | 56 +++--- .../kernel/include/linux/tca6416_keypad.h | 60 +++--- .../kernel/include/linux/timb_gpio.h | 50 ++--- .../kernel/include/linux/tpm_command.h | 58 +++--- .../kernel/include/linux/trace_clock.h | 48 ++--- .../kernel/include/linux/typecheck.h | 68 +++---- .../kernel/include/linux/ucs2_string.h | 40 ++-- .../kernel/include/linux/usb/ccid.h | 78 ++++---- .../kernel/include/linux/usb/m66592.h | 66 +++---- .../kernel/include/linux/usb/pd_ext_sdb.h | 54 +++--- .../kernel/include/linux/usb/phy_companion.h | 50 ++--- .../kernel/include/linux/usb/sl811.h | 60 +++--- .../kernel/include/linux/usb/xhci-dbgp.h | 52 ++--- .../UFI003_MB_V02/kernel/include/linux/via.h | 46 ++--- .../kernel/include/linux/via_i2c.h | 56 +++--- .../kernel/include/linux/virtio_pci_admin.h | 46 ++--- .../kernel/include/linux/win_minmax.h | 76 ++++---- .../kernel/include/media/davinci/vpfe_types.h | 76 ++++---- .../kernel/include/media/drv-intf/si476x.h | 56 +++--- .../kernel/include/media/i2c/saa6588.h | 62 +++--- .../kernel/include/media/i2c/tw9910.h | 80 ++++---- .../kernel/include/media/i2c/upd64031a.h | 54 +++--- .../kernel/include/media/i2c/wm8775.h | 64 +++--- .../kernel/include/media/ipu6-pci-table.h | 56 +++--- .../kernel/include/media/v4l2-image-sizes.h | 92 ++++----- .../include/media/videobuf2-dma-contig.h | 64 +++--- .../kernel/include/media/videobuf2-dma-sg.h | 52 ++--- .../kernel/include/misc/altera.h | 70 +++---- .../kernel/include/net/dcbevent.h | 78 ++++---- .../UFI003_MB_V02/kernel/include/net/eee.h | 76 ++++---- .../include/net/inet6_connection_sock.h | 58 +++--- .../UFI003_MB_V02/kernel/include/net/ipcomp.h | 64 +++--- .../kernel/include/net/ipconfig.h | 56 +++--- .../UFI003_MB_V02/kernel/include/net/mpls.h | 90 ++++----- .../include/net/netfilter/nf_conntrack_bpf.h | 92 ++++----- .../kernel/include/net/netfilter/nf_reject.h | 86 ++++----- .../kernel/include/net/netfilter/nft_reject.h | 60 +++--- .../kernel/include/net/netfilter/xt_rateest.h | 54 +++--- .../kernel/include/net/netns/bpf.h | 56 +++--- .../kernel/include/net/netns/mctp.h | 74 +++---- .../kernel/include/net/netns/smc.h | 56 +++--- .../UFI003_MB_V02/kernel/include/net/rawv6.h | 56 +++--- .../UFI003_MB_V02/kernel/include/net/rpl.h | 68 +++---- .../UFI003_MB_V02/kernel/include/net/rtnh.h | 68 +++---- .../kernel/include/net/secure_seq.h | 48 ++--- .../kernel/include/net/seg6_local.h | 60 +++--- .../kernel/include/net/tc_act/tc_csum.h | 82 ++++---- .../kernel/include/net/tc_act/tc_sample.h | 88 ++++----- .../kernel/include/net/timewait_sock.h | 54 +++--- .../UFI003_MB_V02/kernel/include/net/tso.h | 62 +++--- .../kernel/include/net/vsock_addr.h | 44 ++--- .../kernel/include/rdma/ib_marshall.h | 56 +++--- .../kernel/include/rdma/rdma_cm_ib.h | 54 +++--- .../kernel/include/rv/instrumentation.h | 58 +++--- .../kernel/include/scsi/scsicam.h | 38 ++-- .../kernel/include/soc/imx/cpu.h | 74 +++---- .../kernel/include/soc/rockchip/rk3588_grf.h | 36 ++-- .../include/soc/rockchip/rockchip_sip.h | 40 ++-- .../kernel/include/sound/adau1373.h | 66 +++---- .../kernel/include/sound/cs35l33.h | 90 ++++----- .../kernel/include/sound/cs35l34.h | 64 +++--- .../kernel/include/sound/cs35l36.h | 86 ++++----- .../kernel/include/sound/cs4271.h | 60 +++--- .../kernel/include/sound/da9055.h | 58 +++--- .../kernel/include/sound/emu10k1_synth.h | 52 ++--- .../kernel/include/sound/hda_hwdep.h | 62 +++--- .../kernel/include/sound/intel-dsp-config.h | 84 ++++---- .../kernel/include/sound/rt5659.h | 94 ++++----- .../kernel/include/sound/rt5665.h | 84 ++++---- .../kernel/include/sound/rt5682.h | 92 ++++----- .../kernel/include/sound/sh_fsi.h | 64 +++--- .../kernel/include/sound/sof/dai-amd.h | 72 +++---- .../kernel/include/sound/wm5100.h | 104 +++++----- .../kernel/include/sound/wm8960.h | 76 ++++---- .../kernel/include/sound/wm9090.h | 50 ++--- .../kernel/include/trace/events/hw_pressure.h | 58 +++--- .../kernel/include/trace/events/nmi.h | 76 ++++---- .../include/trace/events/page_isolation.h | 78 ++++---- .../kernel/include/trace/events/printk.h | 74 +++---- .../kernel/include/trace/events/qla.h | 92 ++++----- .../kernel/include/uapi/asm-generic/Kbuild | 72 +++---- .../kernel/include/uapi/asm-generic/int-l64.h | 70 +++---- .../include/uapi/asm-generic/int-ll64.h | 80 ++++---- .../kernel/include/uapi/asm-generic/mman.h | 44 ++--- .../kernel/include/uapi/asm-generic/poll.h | 84 ++++---- .../include/uapi/linux/android/binderfs.h | 70 +++---- .../kernel/include/uapi/linux/atm_eni.h | 48 ++--- .../kernel/include/uapi/linux/atmapi.h | 60 +++--- .../kernel/include/uapi/linux/atmppp.h | 50 ++--- .../kernel/include/uapi/linux/baycom.h | 80 ++++---- .../kernel/include/uapi/linux/binfmts.h | 50 ++--- .../kernel/include/uapi/linux/blkpg.h | 72 +++---- .../kernel/include/uapi/linux/ccs.h | 36 ++-- .../kernel/include/uapi/linux/coresight-stm.h | 50 ++--- .../kernel/include/uapi/linux/cuda.h | 68 +++---- .../kernel/include/uapi/linux/dlm_plock.h | 94 ++++----- .../kernel/include/uapi/linux/fadvise.h | 44 ++--- .../kernel/include/uapi/linux/fou.h | 92 ++++----- .../kernel/include/uapi/linux/fsl_mc.h | 68 +++---- .../kernel/include/uapi/linux/gameport.h | 58 +++--- .../kernel/include/uapi/linux/gtp.h | 82 ++++---- .../kernel/include/uapi/linux/hdlc.h | 48 ++--- .../kernel/include/uapi/linux/hpet.h | 52 ++--- .../kernel/include/uapi/linux/if_addrlabel.h | 66 +++---- .../kernel/include/uapi/linux/if_plip.h | 56 +++--- .../kernel/include/uapi/linux/if_slip.h | 62 +++--- .../kernel/include/uapi/linux/if_x25.h | 54 +++--- .../kernel/include/uapi/linux/in_route.h | 66 +++---- .../kernel/include/uapi/linux/ipsec.h | 96 ++++----- .../kernel/include/uapi/linux/kcm.h | 82 ++++---- .../include/uapi/linux/kernel-page-flags.h | 80 ++++---- .../kernel/include/uapi/linux/limits.h | 42 ++-- .../kernel/include/uapi/linux/loadpin.h | 44 ++--- .../kernel/include/uapi/linux/mei_uuid.h | 58 +++--- .../kernel/include/uapi/linux/mpls_iptunnel.h | 62 +++--- .../kernel/include/uapi/linux/net_namespace.h | 52 ++--- .../kernel/include/uapi/linux/netconf.h | 60 +++--- .../uapi/linux/netfilter/ipset/ip_set_list.h | 48 ++--- .../netfilter/nf_conntrack_tuple_common.h | 92 ++++----- .../uapi/linux/netfilter/nf_tables_compat.h | 78 ++++---- .../uapi/linux/netfilter/nfnetlink_acct.h | 92 ++++----- .../include/uapi/linux/netfilter/xt_CT.h | 84 ++++---- .../include/uapi/linux/netfilter/xt_DSCP.h | 54 +++--- .../include/uapi/linux/netfilter/xt_HMARK.h | 104 +++++----- .../include/uapi/linux/netfilter/xt_LOG.h | 40 ++-- .../include/uapi/linux/netfilter/xt_NFQUEUE.h | 78 ++++---- .../include/uapi/linux/netfilter/xt_SECMARK.h | 58 +++--- .../include/uapi/linux/netfilter/xt_bpf.h | 84 ++++---- .../include/uapi/linux/netfilter/xt_cgroup.h | 82 ++++---- .../uapi/linux/netfilter/xt_connmark.h | 74 +++---- .../include/uapi/linux/netfilter/xt_dscp.h | 64 +++--- .../include/uapi/linux/netfilter/xt_ecn.h | 72 +++---- .../include/uapi/linux/netfilter/xt_ipvs.h | 62 +++--- .../include/uapi/linux/netfilter/xt_l2tp.h | 56 +++--- .../include/uapi/linux/netfilter/xt_limit.h | 50 ++--- .../uapi/linux/netfilter/xt_multiport.h | 60 +++--- .../include/uapi/linux/netfilter/xt_rateest.h | 78 ++++---- .../include/uapi/linux/netfilter/xt_socket.h | 60 +++--- .../uapi/linux/netfilter/xt_statistic.h | 74 +++---- .../include/uapi/linux/netfilter/xt_string.h | 70 +++---- .../include/uapi/linux/netfilter/xt_time.h | 66 +++---- .../include/uapi/linux/netfilter/xt_u32.h | 86 ++++----- .../uapi/linux/netfilter_bridge/ebt_arp.h | 76 ++++---- .../uapi/linux/netfilter_bridge/ebt_mark_t.h | 48 ++--- .../uapi/linux/netfilter_bridge/ebt_vlan.h | 46 ++--- .../uapi/linux/netfilter_ipv4/ipt_CLUSTERIP.h | 76 ++++---- .../uapi/linux/netfilter_ipv4/ipt_ECN.h | 68 +++---- .../uapi/linux/netfilter_ipv4/ipt_LOG.h | 40 ++-- .../uapi/linux/netfilter_ipv6/ip6t_LOG.h | 40 ++-- .../uapi/linux/netfilter_ipv6/ip6t_ah.h | 46 ++--- .../uapi/linux/netfilter_ipv6/ip6t_frag.h | 52 ++--- .../linux/netfilter_ipv6/ip6t_ipv6header.h | 58 +++--- .../uapi/linux/netfilter_ipv6/ip6t_opts.h | 50 ++--- .../kernel/include/uapi/linux/netrom.h | 74 +++---- .../kernel/include/uapi/linux/nfsacl.h | 66 +++---- .../kernel/include/uapi/linux/nfsd/debug.h | 68 +++---- .../kernel/include/uapi/linux/nsm.h | 62 +++--- .../kernel/include/uapi/linux/pcitest.h | 64 +++--- .../kernel/include/uapi/linux/qnxtypes.h | 58 +++--- .../kernel/include/uapi/linux/qrtr.h | 98 +++++----- .../kernel/include/uapi/linux/reiserfs_fs.h | 54 +++--- .../kernel/include/uapi/linux/rpl.h | 96 ++++----- .../include/uapi/linux/tc_act/tc_csum.h | 66 +++---- .../include/uapi/linux/tc_act/tc_gact.h | 66 +++---- .../include/uapi/linux/tc_act/tc_gate.h | 94 ++++----- .../include/uapi/linux/tc_act/tc_mirred.h | 58 +++--- .../include/uapi/linux/tc_act/tc_skbedit.h | 82 ++++---- .../include/uapi/linux/tc_act/tc_vlan.h | 72 +++---- .../kernel/include/uapi/linux/thp7312.h | 38 ++-- .../kernel/include/uapi/linux/timerfd.h | 74 +++---- .../kernel/include/uapi/linux/udf_fs_i.h | 44 ++--- .../kernel/include/uapi/linux/udmabuf.h | 66 +++---- .../kernel/include/uapi/linux/uleds.h | 50 ++--- .../kernel/include/uapi/linux/usb/cdc-wdm.h | 48 ++--- .../kernel/include/uapi/linux/utsname.h | 70 +++---- .../kernel/include/uapi/linux/virtio_bt.h | 76 ++++---- .../kernel/include/uapi/linux/virtio_pmem.h | 82 ++++---- .../kernel/include/uapi/linux/virtio_scmi.h | 48 ++--- .../kernel/include/uapi/linux/wait.h | 46 ++--- .../kernel/include/uapi/misc/uacce/uacce.h | 76 ++++---- .../kernel/include/uapi/rdma/erdma-abi.h | 98 +++++----- .../kernel/include/vdso/gettime.h | 46 ++--- .../kernel/include/video/of_display_timing.h | 72 +++---- .../include/xen/interface/io/protocols.h | 44 ++--- .../UFI003_MB_V02/kernel/include/xen/pci.h | 68 +++---- .../UFI003_MB_V02/kernel/init/noinitramfs.c | 84 ++++---- .../kernel/init/version-timestamp.c | 60 +++--- .../debian/UFI003_MB_V02/kernel/io_uring/fs.h | 40 ++-- .../UFI003_MB_V02/kernel/io_uring/memmap.h | 50 ++--- .../UFI003_MB_V02/kernel/io_uring/openclose.h | 34 ++-- .../UFI003_MB_V02/kernel/io_uring/xattr.h | 30 +-- .../UFI003_MB_V02/kernel/kernel/bounds.c | 70 +++---- .../kernel/kernel/bpf/preload/Kconfig | 50 ++--- .../kernel/kernel/configs/kvm_guest.config | 70 +++---- .../kernel/kernel/debug/kdb/kdb_cmds | 62 +++--- .../debian/UFI003_MB_V02/kernel/kernel/exit.h | 60 +++--- .../UFI003_MB_V02/kernel/kernel/irq/Makefile | 42 ++-- .../kernel/kernel/kcsan/.kunitconfig | 48 ++--- .../kernel/kernel/kcsan/Makefile | 42 ++-- .../kernel/kernel/livepatch/Kconfig | 40 ++-- .../kernel/kernel/module/Makefile | 50 ++--- .../kernel/kernel/power/Makefile | 48 ++--- .../kernel/kernel/sched/cpudeadline.h | 52 ++--- .../kernel/kernel/sched/cpupri.h | 58 +++--- .../UFI003_MB_V02/kernel/kernel/smpboot.h | 46 ++--- .../kernel/kernel/time/ntp_internal.h | 44 ++--- .../kernel/kernel/time/timekeeping_internal.h | 64 +++--- .../kernel/kernel/trace/bpf_trace.h | 68 +++---- .../kernel/kernel/trace/trace_synth.h | 82 ++++---- .../UFI003_MB_V02/kernel/lib/bust_spinlocks.c | 58 +++--- .../kernel/lib/check_signature.c | 54 +++--- .../debian/UFI003_MB_V02/kernel/lib/clz_ctz.c | 86 ++++----- .../debian/UFI003_MB_V02/kernel/lib/clz_tab.c | 38 ++-- .../kernel/lib/crypto/curve25519-generic.c | 48 ++--- .../kernel/lib/crypto/curve25519.c | 66 +++---- .../kernel/lib/crypto/libchacha.c | 72 +++---- .../UFI003_MB_V02/kernel/lib/debug_info.c | 54 +++--- .../kernel/lib/devmem_is_allowed.c | 56 +++--- .../kernel/lib/fault-inject-usercopy.c | 78 ++++---- .../UFI003_MB_V02/kernel/lib/fonts/Makefile | 44 ++--- .../UFI003_MB_V02/kernel/lib/iommu-helper.c | 58 +++--- .../UFI003_MB_V02/kernel/lib/kunit/Makefile | 62 +++--- .../UFI003_MB_V02/kernel/lib/kunit/debugfs.h | 60 +++--- .../kernel/lib/kunit/hooks-impl.h | 62 +++--- .../kernel/lib/kunit/try-catch-impl.h | 54 +++--- .../UFI003_MB_V02/kernel/lib/math/int_pow.c | 64 +++--- .../UFI003_MB_V02/kernel/lib/memcat_p.c | 68 +++---- .../UFI003_MB_V02/kernel/lib/net_utils.c | 58 +++--- .../kernel/lib/notifier-error-inject.h | 50 ++--- .../kernel/lib/raid6/loongarch.h | 76 ++++---- .../kernel/lib/test_fortify/test_fortify.h | 70 +++---- .../UFI003_MB_V02/kernel/lib/test_fpu_impl.c | 74 +++---- .../UFI003_MB_V02/kernel/lib/test_module.c | 70 +++---- .../UFI003_MB_V02/kernel/lib/vdso/Makefile | 36 ++-- .../UFI003_MB_V02/kernel/lib/xz/xz_dec_syms.c | 54 +++--- .../kernel/lib/zstd/common/debug.c | 48 ++--- .../kernel/mm/damon/modules-common.c | 84 ++++---- .../UFI003_MB_V02/kernel/net/6lowpan/Makefile | 44 ++--- .../UFI003_MB_V02/kernel/net/9p/protocol.h | 38 ++-- .../UFI003_MB_V02/kernel/net/Kconfig.debug | 52 ++--- .../UFI003_MB_V02/kernel/net/atm/addr.h | 42 ++-- .../UFI003_MB_V02/kernel/net/atm/signaling.h | 62 +++--- .../kernel/net/batman-adv/bat_algo.h | 50 ++--- .../kernel/net/batman-adv/bat_v.h | 82 ++++---- .../kernel/net/batman-adv/bat_v_elp.h | 44 ++--- .../kernel/net/batman-adv/bat_v_ogm.h | 54 +++--- .../kernel/net/batman-adv/gateway_common.h | 62 +++--- .../UFI003_MB_V02/kernel/net/batman-adv/log.c | 72 +++---- .../kernel/net/batman-adv/netlink.h | 52 ++--- .../kernel/net/bluetooth/Makefile | 54 +++--- .../UFI003_MB_V02/kernel/net/bluetooth/aosp.h | 58 +++--- .../kernel/net/bluetooth/bnep/Kconfig | 50 ++--- .../UFI003_MB_V02/kernel/net/core/hotdata.c | 50 ++--- .../UFI003_MB_V02/kernel/net/dcb/dcbevent.c | 60 +++--- .../UFI003_MB_V02/kernel/net/dccp/Makefile | 60 +++--- .../kernel/net/dccp/ccids/lib/tfrc.c | 92 ++++----- .../kernel/net/dns_resolver/Kconfig | 56 +++--- .../UFI003_MB_V02/kernel/net/dsa/conduit.h | 44 ++--- .../UFI003_MB_V02/kernel/net/dsa/tag_8021q.h | 56 +++--- .../UFI003_MB_V02/kernel/net/dsa/tag_none.c | 62 +++--- .../UFI003_MB_V02/kernel/net/dsa/trace.c | 78 ++++---- .../UFI003_MB_V02/kernel/net/handshake/genl.h | 48 ++--- .../UFI003_MB_V02/kernel/net/hsr/hsr_device.h | 46 ++--- .../kernel/net/hsr/hsr_netlink.h | 54 +++--- .../UFI003_MB_V02/kernel/net/ipv4/fou_nl.h | 50 ++--- .../UFI003_MB_V02/kernel/net/ipv4/netlink.c | 66 +++---- .../UFI003_MB_V02/kernel/net/ipv4/tcp_vegas.h | 52 ++--- .../UFI003_MB_V02/kernel/net/ipv4/udp_impl.h | 54 +++--- .../kernel/net/ipv6/exthdrs_offload.c | 96 ++++----- .../kernel/net/ipv6/xfrm6_state.c | 66 +++---- .../UFI003_MB_V02/kernel/net/lapb/Kconfig | 44 ++--- .../UFI003_MB_V02/kernel/net/mac80211/tkip.h | 60 +++--- .../UFI003_MB_V02/kernel/net/mac80211/wep.h | 60 +++--- .../kernel/net/mac802154/Kconfig | 44 ++--- .../UFI003_MB_V02/kernel/net/mctp/Kconfig | 48 ++--- .../UFI003_MB_V02/kernel/net/mptcp/bpf.c | 72 +++---- .../UFI003_MB_V02/kernel/net/ncsi/Kconfig | 50 ++--- .../kernel/net/ncsi/ncsi-netlink.h | 50 ++--- .../kernel/net/netfilter/nf_conntrack_acct.c | 56 +++--- .../net/netfilter/nf_conntrack_timestamp.c | 50 ++--- .../UFI003_MB_V02/kernel/net/nfc/Kconfig | 68 +++---- .../UFI003_MB_V02/kernel/net/nfc/nci/Kconfig | 58 +++--- .../UFI003_MB_V02/kernel/net/packet/Kconfig | 50 ++--- .../UFI003_MB_V02/kernel/net/qrtr/qrtr.h | 72 +++---- .../UFI003_MB_V02/kernel/net/rds/Kconfig | 74 +++---- .../UFI003_MB_V02/kernel/net/rds/Makefile | 44 ++--- .../kernel/net/rds/rdma_transport.h | 60 +++--- .../UFI003_MB_V02/kernel/net/rfkill/Kconfig | 68 +++---- .../UFI003_MB_V02/kernel/net/rxrpc/Makefile | 86 ++++----- .../kernel/net/sched/sch_blackhole.c | 82 ++++---- .../UFI003_MB_V02/kernel/net/sctp/Makefile | 50 ++--- .../UFI003_MB_V02/kernel/net/smc/smc_close.h | 60 +++--- .../kernel/net/smc/smc_netlink.h | 68 +++---- .../UFI003_MB_V02/kernel/net/smc/smc_rx.h | 62 +++--- .../UFI003_MB_V02/kernel/net/smc/smc_sysctl.h | 70 +++---- .../kernel/net/sunrpc/.kunitconfig | 58 +++--- .../UFI003_MB_V02/kernel/net/sunrpc/Makefile | 42 ++-- .../net/sunrpc/auth_gss/gss_rpc_upcall.h | 72 +++---- .../UFI003_MB_V02/kernel/net/tls/Kconfig | 80 ++++---- .../UFI003_MB_V02/kernel/net/unix/Kconfig | 60 +++--- .../kernel/net/vmw_vsock/Makefile | 44 ++--- .../kernel/net/wireless/ethtool.c | 58 +++--- .../UFI003_MB_V02/kernel/net/xfrm/Makefile | 50 ++--- .../UFI003_MB_V02/kernel/net/xfrm/xfrm_hash.c | 80 ++++---- .../UFI003_MB_V02/kernel/rust/exports.c | 52 ++--- .../kernel/rust/helpers/helpers.c | 54 +++--- .../kernel/rust/helpers/spinlock.c | 56 +++--- .../UFI003_MB_V02/kernel/rust/kernel/sizes.rs | 52 ++--- .../kernel/rust/kernel/static_assert.rs | 68 +++---- .../kernel/rust/macros/concat_idents.rs | 46 ++--- .../kernel/samples/bpf/.gitignore | 102 +++++----- .../kernel/samples/bpf/asm_goto_workaround.h | 56 +++--- .../kernel/samples/bpf/net_shared.h | 68 +++---- .../kernel/samples/bpf/sampleip_kern.c | 76 ++++---- .../kernel/samples/bpf/sock_example.h | 70 +++---- .../kernel/samples/bpf/sockex1_kern.c | 60 +++--- .../kernel/samples/bpf/test_cls_bpf.sh | 76 ++++---- .../kernel/samples/bpf/test_overhead_tp.bpf.c | 46 ++--- .../kernel/samples/hid/hid_bpf_helpers.h | 42 ++-- .../livepatch/livepatch-callbacks-mod.c | 82 ++++---- .../UFI003_MB_V02/kernel/samples/rust/Kconfig | 80 ++++---- .../kernel/samples/rust/rust_minimal.rs | 76 ++++---- .../kernel/samples/trace_events/Makefile | 34 ++-- .../kernel/samples/vfio-mdev/mdpy-defs.h | 44 ++--- .../kernel/scripts/atomic/gen-atomics.sh | 40 ++-- .../kernel/scripts/basic/Makefile | 32 +-- .../scripts/coccinelle/free/kfreeaddr.cocci | 74 +++---- .../coccinelle/misc/add_namespace.cocci | 62 +++--- .../scripts/coccinelle/misc/cstptr.cocci | 84 ++++---- .../coccinelle/misc/excluded_middle.cocci | 78 ++++---- .../scripts/coccinelle/misc/test_addr.cocci | 66 +++---- .../UFI003_MB_V02/kernel/scripts/depmod.sh | 64 +++--- .../scripts/dtc/libfdt/fdt_empty_tree.c | 76 ++++---- .../kernel/scripts/gdb/linux/Makefile | 50 ++--- .../kernel/scripts/gdb/linux/xarray.py | 56 +++--- .../kernel/scripts/genksyms/Makefile | 60 +++--- .../kernel/scripts/include/xalloc.h | 106 +++++----- .../kernel/scripts/kconfig/gconf-cfg.sh | 70 +++---- .../kernel/scripts/kconfig/images.h | 66 +++---- .../kernel/scripts/kconfig/mnconf-common.c | 106 +++++----- .../kconfig/tests/auto_submenu/Kconfig | 104 +++++----- .../scripts/kconfig/tests/choice/__init__.py | 58 +++--- .../tests/choice_randomize/__init__.py | 68 +++---- .../tests/preprocess/builtin_func/Kconfig | 54 +++--- .../UFI003_MB_V02/kernel/scripts/makelst | 64 +++--- .../kernel/scripts/min-tool-version.sh | 90 ++++----- .../UFI003_MB_V02/kernel/scripts/mkcompile_h | 54 +++--- .../UFI003_MB_V02/kernel/scripts/mod/Makefile | 54 +++--- .../UFI003_MB_V02/kernel/scripts/objdump-func | 90 ++++----- .../kernel/scripts/package/debian/copyright | 32 +-- .../UFI003_MB_V02/kernel/scripts/prune-kernel | 50 ++--- .../kernel/scripts/relocs_check.sh | 40 ++-- .../UFI003_MB_V02/kernel/scripts/ssl-common.h | 64 +++--- .../UFI003_MB_V02/kernel/scripts/stackusage | 68 +++---- .../kernel/scripts/subarch.include | 26 +-- .../kernel/scripts/tools-support-relr.sh | 42 ++-- .../kernel/security/apparmor/include/crypto.h | 74 +++---- .../kernel/security/apparmor/include/domain.h | 66 +++---- .../kernel/security/apparmor/include/path.h | 64 +++--- .../UFI003_MB_V02/kernel/security/bpf/hooks.c | 80 ++++---- .../kernel/security/integrity/ima/Makefile | 40 ++-- .../integrity/platform_certs/load_ipl_s390.c | 72 +++---- .../kernel/security/ipe/Makefile | 62 +++--- .../kernel/security/ipe/digest.h | 52 ++--- .../UFI003_MB_V02/kernel/security/ipe/ipe.h | 52 ++--- .../kernel/security/keys/Makefile | 64 +++--- .../keys/encrypted-keys/ecryptfs_format.h | 54 +++--- .../kernel/security/landlock/errata/abi-6.h | 38 ++-- .../kernel/security/landlock/net.h | 66 +++---- .../kernel/security/safesetid/Kconfig | 30 +-- .../kernel/security/selinux/include/ibpkey.h | 70 +++---- .../kernel/security/selinux/include/netif.h | 48 ++--- .../kernel/security/selinux/ss/context.c | 64 +++--- .../kernel/security/selinux/ss/symtab.h | 52 ++--- .../kernel/security/tomoyo/Makefile | 38 ++-- .../kernel/sound/aoa/codecs/Kconfig | 50 ++--- .../UFI003_MB_V02/kernel/sound/arm/Kconfig | 76 ++++---- .../sound/core/seq/oss/seq_oss_writeq.h | 74 +++---- .../kernel/sound/core/seq/seq_info.h | 50 ++--- .../kernel/sound/core/seq/seq_lock.c | 52 ++--- .../kernel/sound/core/seq/seq_ump_convert.h | 46 ++--- .../kernel/sound/drivers/Makefile | 56 +++--- .../kernel/sound/firewire/Makefile | 36 ++-- .../sound/firewire/dice/dice-focusrite.c | 46 ++--- .../kernel/sound/firewire/dice/dice-harman.c | 48 ++--- .../UFI003_MB_V02/kernel/sound/firewire/lib.h | 52 ++--- .../kernel/sound/firewire/packets-buffer.h | 54 +++--- .../UFI003_MB_V02/kernel/sound/hda/Makefile | 44 ++--- .../UFI003_MB_V02/kernel/sound/isa/Makefile | 58 +++--- .../kernel/sound/isa/gus/Makefile | 50 ++--- .../kernel/sound/isa/sb/Makefile | 58 +++--- .../debian/UFI003_MB_V02/kernel/sound/last.c | 58 +++--- .../UFI003_MB_V02/kernel/sound/mips/Kconfig | 70 +++---- .../kernel/sound/pci/asihpi/hpimsgx.h | 50 ++--- .../kernel/sound/pci/asihpi/hpipcida.h | 52 ++--- .../kernel/sound/pci/ctxfi/cttimer.h | 60 +++--- .../sound/pci/emu10k1/emu10k1_synth_local.h | 58 +++--- .../kernel/sound/pci/emu10k1/tina2.h | 34 ++-- .../kernel/sound/pci/hda/hda_intel.h | 76 ++++---- .../kernel/sound/pci/hda/thinkpad_helper.c | 72 +++---- .../kernel/sound/pci/ice1712/amp.h | 68 +++---- .../kernel/sound/pci/ice1712/prodigy192.h | 40 ++-- .../kernel/sound/pci/ice1712/prodigy_hifi.h | 48 ++--- .../kernel/sound/pci/ice1712/stac946x.h | 52 ++--- .../kernel/sound/pci/ice1712/vt1720_mobo.h | 54 +++--- .../kernel/sound/pci/pcxhr/pcxhr_hwdep.h | 54 +++--- .../UFI003_MB_V02/kernel/sound/pcmcia/Kconfig | 70 +++---- .../UFI003_MB_V02/kernel/sound/sh/Kconfig | 64 +++--- .../kernel/sound/soc/adi/Kconfig | 42 ++-- .../kernel/sound/soc/au1x/Makefile | 48 ++--- .../kernel/sound/soc/codecs/adau1372-i2c.c | 80 ++++---- .../kernel/sound/soc/codecs/adau1373.h | 60 +++--- .../kernel/sound/soc/codecs/adau1977.h | 72 +++---- .../kernel/sound/soc/codecs/adau7118.h | 48 ++--- .../kernel/sound/soc/codecs/adav801.c | 88 ++++----- .../kernel/sound/soc/codecs/adav803.c | 80 ++++---- .../kernel/sound/soc/codecs/adav80x.h | 82 ++++---- .../kernel/sound/soc/codecs/ak4535.h | 68 +++---- .../kernel/sound/soc/codecs/cs4271-spi.c | 74 +++---- .../kernel/sound/soc/codecs/es8328-spi.c | 78 ++++---- .../kernel/sound/soc/codecs/max9850.h | 66 +++---- .../kernel/sound/soc/codecs/max9877.h | 60 +++--- .../kernel/sound/soc/codecs/rl6231.h | 66 +++---- .../kernel/sound/soc/codecs/rl6347a.h | 62 +++--- .../kernel/sound/soc/codecs/rt5514-spi.h | 74 +++---- .../kernel/sound/soc/codecs/rt5677-spi.h | 66 +++---- .../kernel/sound/soc/codecs/ssm2602-spi.c | 78 ++++---- .../kernel/sound/soc/codecs/twl6040.h | 60 +++--- .../kernel/sound/soc/codecs/wm8711.h | 72 +++---- .../kernel/sound/soc/dwc/Kconfig | 40 ++-- .../kernel/sound/soc/fsl/fsl_utils.h | 58 +++--- .../kernel/sound/soc/generic/Makefile | 28 +-- .../kernel/sound/soc/intel/avs/cldma.h | 64 +++--- .../kernel/sound/soc/intel/avs/sysfs.c | 70 +++---- .../kernel/sound/soc/intel/avs/trace.c | 66 +++---- .../sound/soc/intel/boards/hda_dsp_common.h | 58 +++--- .../soc/intel/boards/sof_cirrus_common.h | 52 ++--- .../intel/common/soc-acpi-intel-hda-match.c | 48 ++--- .../common/soc-acpi-intel-hsw-bdw-match.c | 70 +++---- .../intel/common/soc-acpi-intel-skl-match.c | 78 ++++---- .../kernel/sound/soc/kirkwood/Kconfig | 36 ++-- .../kernel/sound/soc/loongson/Kconfig | 54 +++--- .../mediatek/common/mtk-afe-platform-driver.h | 56 +++--- .../mediatek/mt6797/mt6797-interconnection.h | 66 +++---- .../mediatek/mt8183/mt8183-interconnection.h | 66 +++---- .../soc/mediatek/mt8186/mt8186-audsys-clkid.h | 90 ++++----- .../kernel/sound/soc/meson/meson-codec-glue.h | 64 +++--- .../kernel/sound/soc/pxa/pxa-ssp.h | 72 +++---- .../kernel/sound/soc/qcom/qdsp6/q6adm.h | 54 +++--- .../kernel/sound/soc/qcom/qdsp6/q6cvs.c | 72 +++---- .../sound/soc/qcom/qdsp6/q6dsp-common.h | 50 ++--- .../sound/soc/qcom/qdsp6/q6dsp-lpass-clocks.h | 60 +++--- .../sound/soc/qcom/qdsp6/q6dsp-lpass-ports.h | 44 ++--- .../kernel/sound/soc/qcom/qdsp6/q6voice.h | 56 +++--- .../UFI003_MB_V02/kernel/sound/soc/qcom/sdw.h | 38 ++-- .../kernel/sound/soc/samsung/i2s.h | 54 +++--- .../kernel/sound/soc/sh/Makefile | 56 +++--- .../kernel/sound/soc/sof/intel/telemetry.h | 70 +++---- .../kernel/sound/soc/sof/sof-of-dev.h | 50 ++--- .../kernel/sound/soc/starfive/Kconfig | 48 ++--- .../kernel/sound/soc/ti/omap-mcbsp.h | 64 +++--- .../kernel/sound/soc/ux500/Kconfig | 66 +++---- .../kernel/sound/soc/xilinx/Kconfig | 46 ++--- .../UFI003_MB_V02/kernel/sound/spi/Kconfig | 78 ++++---- .../kernel/sound/usb/6fire/chip.h | 54 +++--- .../kernel/sound/usb/6fire/midi.h | 74 +++---- .../UFI003_MB_V02/kernel/sound/usb/Makefile | 76 ++++---- .../kernel/sound/usb/line6/capture.h | 50 ++--- .../kernel/sound/usb/mixer_quirks.h | 40 ++-- .../UFI003_MB_V02/kernel/sound/usb/power.h | 56 +++--- .../kernel/sound/usb/usx2y/usx2y.h | 76 ++++---- .../tools/arch/arm64/include/asm/gpr-num.h | 52 ++--- .../arch/arm64/include/uapi/asm/bitsperlong.h | 48 ++--- .../arch/arm64/include/uapi/asm/unistd.h | 48 ++--- .../kernel/tools/arch/arm64/tools/Makefile | 76 ++++---- .../tools/arch/mips/include/asm/barrier.h | 42 ++-- .../arch/mips/include/uapi/asm/perf_regs.h | 80 ++++---- .../arch/riscv/include/asm/vdso/processor.h | 64 +++--- .../arch/riscv/include/uapi/asm/perf_regs.h | 84 ++++---- .../tools/arch/s390/include/asm/barrier.h | 88 ++++----- .../arch/s390/include/uapi/asm/perf_regs.h | 88 ++++----- .../tools/arch/x86/include/uapi/asm/unistd.h | 50 ++--- .../kernel/tools/bootconfig/Makefile | 60 +++--- .../bootconfig/include/linux/bootconfig.h | 108 +++++------ .../build/feature/test-libunwind-aarch64.c | 54 +++--- .../tools/build/feature/test-libunwind-arm.c | 56 +++--- .../tools/build/feature/test-libunwind-x86.c | 56 +++--- .../build/feature/test-libunwind-x86_64.c | 56 +++--- .../tools/build/feature/test-libunwind.c | 56 +++--- .../kernel/tools/hv/hv_get_dhcp_info.sh | 58 +++--- .../kernel/tools/hv/hv_get_dns_info.sh | 26 +-- .../tools/include/asm-generic/barrier.h | 80 ++++---- .../kernel/tools/include/asm-generic/bitops.h | 62 +++--- .../tools/include/asm-generic/bitops/__ffs.h | 90 ++++----- .../tools/include/asm-generic/bitops/fls.h | 92 ++++----- .../tools/include/asm-generic/bitops/fls64.h | 74 +++---- .../kernel/tools/include/linux/kallsyms.h | 76 ++++---- .../kernel/tools/include/linux/kern_levels.h | 52 ++--- .../kernel/tools/include/linux/math.h | 50 ++--- .../kernel/tools/include/linux/rwsem.h | 88 ++++----- .../kernel/tools/include/nolibc/errno.h | 56 +++--- .../kernel/tools/include/tools/endian.h | 114 +++++------ .../tools/include/uapi/asm-generic/mman.h | 44 ++--- .../tools/include/uapi/asm/bitsperlong.h | 36 ++-- .../kernel/tools/include/uapi/linux/fadvise.h | 44 ++--- .../kernel/tools/include/uapi/linux/types.h | 46 ++--- .../kernel/tools/kvm/kvm_stat/Makefile | 84 ++++---- .../kernel/tools/lib/api/fs/tracing_path.h | 46 ++--- .../UFI003_MB_V02/kernel/tools/lib/cmdline.c | 106 +++++----- .../Documentation/manpage-suppress-sp.xsl | 42 ++-- .../kernel/tools/lib/perf/core.c | 76 ++++---- .../tools/lib/perf/include/perf/threadmap.h | 42 ++-- .../kernel/tools/lib/perf/internal.h | 46 ++--- .../kernel/tools/lib/perf/tests/test-cpumap.c | 86 ++++----- .../kernel/tools/lib/perf/xyarray.c | 66 +++---- .../UFI003_MB_V02/kernel/tools/lib/slab.c | 76 ++++---- .../kernel/tools/lib/subcmd/exec-cmd.h | 34 ++-- .../UFI003_MB_V02/kernel/tools/lib/vsprintf.c | 88 ++++----- .../IRIW+fencembonceonces+OnceOnce.litmus | 90 ++++----- .../IRIW+poonceonces+OnceOnce.litmus | 86 ++++----- ...ease+poacquirerelease+poacquireonce.litmus | 78 ++++---- .../LB+fencembonceonce+ctrlonceonce.litmus | 68 +++---- ...LB+unlocklockonceonce+poacquireonce.litmus | 70 +++---- .../MP+polockmbonce+poacquiresilsil.litmus | 68 +++---- .../MP+polockonce+poacquiresilsil.litmus | 66 +++---- .../litmus-tests/MP+polocks.litmus | 70 +++---- .../litmus-tests/MP+porevlocks.litmus | 70 +++---- ...pooncerelease+fencermbonceonce+Once.litmus | 76 ++++---- ...Z6.0+pooncelock+poonceLock+pombonce.litmus | 84 ++++---- ...Z6.0+pooncelock+pooncelock+pombonce.litmus | 80 ++++---- .../litmus-tests/dep+plain.litmus | 62 +++--- .../tools/memory-model/scripts/simpletest.sh | 70 +++---- .../UFI003_MB_V02/kernel/tools/mm/Makefile | 66 +++---- .../net/sunrpc/xdrgen/generators/constant.py | 40 ++-- .../tools/net/sunrpc/xdrgen/subcmds/lint.py | 66 +++---- .../typedef/encoder/variable_length_array.j2 | 60 +++--- .../tools/net/sunrpc/xdrgen/xdr_parse.py | 72 +++---- .../kernel/tools/net/ynl/samples/Makefile | 70 +++---- .../kernel/tools/net/ynl/ynl-regen.sh | 74 +++---- .../UFI003_MB_V02/kernel/tools/objtool/Build | 66 +++---- .../objtool/arch/loongarch/include/arch/elf.h | 60 +++--- .../arch/loongarch/include/arch/special.h | 66 +++---- .../tools/objtool/include/objtool/builtin.h | 98 +++++----- .../tools/objtool/include/objtool/cfi.h | 84 ++++---- .../UFI003_MB_V02/kernel/tools/pci/pcitest.sh | 144 +++++++------- .../kernel/tools/pcmcia/crc32hash.c | 66 +++---- .../kernel/tools/perf/.gitignore | 106 +++++----- .../Documentation/asciidoctor-extensions.rb | 58 +++--- .../tools/perf/Documentation/cat-texi.perl | 92 ++++----- .../Documentation/manpage-suppress-sp.xsl | 42 ++-- .../perf/Documentation/perf-buildid-list.txt | 94 ++++----- .../tools/perf/Documentation/perf-evlist.txt | 90 ++++----- .../tools/perf/Documentation/perf-help.txt | 76 ++++---- .../kernel/tools/perf/arch/arm64/Makefile | 58 +++--- .../arch/arm64/entry/syscalls/mksyscalltbl | 92 ++++----- .../tools/perf/arch/arm64/tests/regs_load.S | 94 ++++----- .../kernel/tools/perf/arch/loongarch/Makefile | 58 +++--- .../loongarch/entry/syscalls/mksyscalltbl | 90 ++++----- .../arch/mips/entry/syscalls/mksyscalltbl | 64 +++--- .../kernel/tools/perf/arch/powerpc/Makefile | 66 +++---- .../arch/powerpc/entry/syscalls/mksyscalltbl | 78 ++++---- .../arch/powerpc/include/dwarf-regs-table.h | 56 +++--- .../perf/arch/powerpc/util/book3s_hv_exits.h | 66 +++---- .../perf/arch/riscv64/annotate/instructions.c | 68 +++---- .../kernel/tools/perf/arch/s390/Makefile | 56 +++--- .../arch/s390/entry/syscalls/mksyscalltbl | 64 +++--- .../tools/perf/arch/sh/util/dwarf-regs.c | 82 ++++---- .../arch/sparc/include/dwarf-regs-table.h | 38 ++-- .../kernel/tools/perf/arch/x86/Makefile | 64 +++--- .../arch/x86/entry/syscalls/syscalltbl.sh | 84 ++++---- .../tools/perf/arch/x86/include/arch-tests.h | 42 ++-- .../tools/perf/arch/x86/include/perf_regs.h | 48 ++--- .../kernel/tools/perf/arch/x86/tests/Build | 52 ++--- .../perf/arch/x86/tests/gen-insn-x86-dat.sh | 72 +++---- .../kernel/tools/perf/arch/x86/util/Build | 48 ++--- .../tools/perf/arch/x86/util/archinsn.c | 54 +++--- .../kernel/tools/perf/arch/x86/util/cpuid.h | 68 +++---- .../kernel/tools/perf/bench/Build | 50 ++--- .../tools/perf/bench/mem-memcpy-x86-64-asm.S | 40 ++-- .../tools/perf/bench/mem-memset-x86-64-asm.S | 30 +-- .../check-header_ignore_hunks/lib/list_sort.c | 62 +++--- .../kernel/tools/perf/jvmti/Build | 42 ++-- .../kernel/tools/perf/jvmti/jvmti_agent.h | 68 +++---- .../arm64/ampere/ampereone/exception.json | 88 ++++----- .../arch/arm64/ampere/ampereone/memory.json | 88 ++++----- .../arch/arm64/ampere/ampereone/pipeline.json | 58 +++--- .../arm64/ampere/ampereonex/exception.json | 94 ++++----- .../arch/arm64/ampere/ampereonex/memory.json | 82 ++++---- .../arch/arm64/ampere/emag/exception.json | 88 ++++----- .../arm64/arm/cortex-a35/instruction.json | 88 ++++----- .../arch/arm64/arm/cortex-a53/cache.json | 54 +++--- .../arch/arm64/arm/cortex-a53/other.json | 56 +++--- .../arm64/arm/cortex-a57-a72/exception.json | 94 ++++----- .../arch/arm64/arm/cortex-a65-e1/memory.json | 70 +++---- .../arch/arm64/arm/cortex-a710/exception.json | 94 ++++----- .../arch/arm64/arm/cortex-a710/memory.json | 82 ++++---- .../arch/arm64/arm/cortex-a76/bus.json | 42 ++-- .../arch/arm64/arm/cortex-a76/exception.json | 96 ++++----- .../arch/arm64/arm/cortex-a77/exception.json | 94 ++++----- .../arch/arm64/arm/cortex-a78/exception.json | 94 ++++----- .../arch/arm64/arm/cortex-x1/exception.json | 94 ++++----- .../arch/arm64/arm/cortex-x2/exception.json | 94 ++++----- .../arch/arm64/arm/cortex-x2/memory.json | 82 ++++---- .../arch/arm64/arm/neoverse-n1/l3_cache.json | 36 ++-- .../arch/arm64/arm/neoverse-n1/spe.json | 36 ++-- .../arch/arm64/arm/neoverse-n1/stall.json | 20 +- .../arm/neoverse-n2-v2/fp_operation.json | 44 ++--- .../arm64/arm/neoverse-n2-v2/l1i_cache.json | 28 +-- .../arch/arm64/arm/neoverse-n2-v2/spe.json | 36 ++-- .../arch/arm64/arm/neoverse-v1/l1i_cache.json | 28 +-- .../arch/arm64/arm/neoverse-v1/spe.json | 36 ++-- .../arch/powerpc/power10/cache.json | 44 ++--- .../arch/powerpc/power10/locks.json | 44 ++--- .../arch/powerpc/power10/translation.json | 34 ++-- .../perf/pmu-events/arch/riscv/mapfile.csv | 40 ++-- .../arch/riscv/sifive/u74/memory.json | 62 +++--- .../arch/test/test_soc/cpu/other.json | 50 ++--- .../arch/test/test_soc/sys/uncore.json | 48 ++--- .../arch/x86/alderlaken/floating-point.json | 40 ++-- .../pmu-events/arch/x86/amdzen1/branch.json | 56 +++--- .../arch/x86/broadwellde/counter.json | 82 ++++---- .../arch/x86/grandridge/counter.json | 82 ++++---- .../arch/x86/graniterapids/uncore-cxl.json | 62 +++--- .../arch/x86/knightslanding/counter.json | 72 +++---- .../arch/x86/nehalemep/frontend.json | 52 ++--- .../arch/x86/nehalemex/frontend.json | 52 ++--- .../arch/x86/sierraforest/uncore-cxl.json | 62 +++--- .../pmu-events/arch/x86/skylake/other.json | 38 ++-- .../arch/x86/snowridgex/counter.json | 92 ++++----- .../arch/x86/westmereep-dp/frontend.json | 52 ++--- .../arch/x86/westmereep-sp/frontend.json | 52 ++--- .../arch/x86/westmereex/frontend.json | 52 ++--- .../scripts/perl/Perf-Trace-Util/Makefile.PL | 36 ++-- .../python/bin/export-to-postgresql-report | 58 +++--- .../python/bin/export-to-sqlite-report | 58 +++--- .../tools/perf/tests/attr/system-wide-dummy | 104 +++++----- .../perf/tests/attr/test-record-dummy-C0 | 110 +++++------ .../tools/perf/tests/perf-targz-src-pkg | 46 ++--- .../kernel/tools/perf/tests/python-use.c | 54 +++--- .../perf/tests/shell/base_report/setup.sh | 64 +++--- .../shell/common/check_all_lines_matched.pl | 78 ++++---- .../shell/common/check_errors_whitelisted.pl | 102 +++++----- .../tools/perf/tests/shell/coresight/Makefile | 58 +++--- .../shell/coresight/asm_pure_loop/Makefile | 68 +++---- .../shell/coresight/memcpy_thread/Makefile | 66 +++---- .../shell/coresight/thread_loop/Makefile | 66 +++---- .../coresight/unroll_loop_thread/Makefile | 66 +++---- .../tools/perf/tests/shell/stat_all_pmu.sh | 46 ++--- .../perf/tests/shell/stat_metrics_values.sh | 52 ++--- .../perf/tests/shell/test_stat_intel_tpebs.sh | 38 ++-- .../tools/perf/tests/unit_number__scnprintf.c | 84 ++++---- .../kernel/tools/perf/tests/util.c | 62 +++--- .../tools/perf/tests/workloads/brstack.c | 80 ++++---- .../tools/perf/tests/workloads/leafloop.c | 92 ++++----- .../tools/perf/tests/workloads/sqrtloop.c | 90 ++++----- .../tools/perf/tests/workloads/thloop.c | 102 +++++----- .../kernel/tools/perf/trace/beauty/Build | 72 +++---- .../tools/perf/trace/beauty/drm_ioctl.sh | 30 +-- .../kernel/tools/perf/trace/beauty/eventfd.c | 78 ++++---- .../kernel/tools/perf/trace/beauty/fadvise.sh | 44 ++--- .../kernel/tools/perf/trace/beauty/fsmount.sh | 44 ++--- .../kernel/tools/perf/trace/beauty/fspick.c | 48 ++--- .../tools/perf/trace/beauty/mount_flags.sh | 30 +-- .../tools/perf/trace/beauty/move_mount.c | 48 ++--- .../tools/perf/trace/beauty/prctl_option.sh | 36 ++-- .../kernel/tools/perf/trace/beauty/renameat.c | 36 ++-- .../tools/perf/trace/beauty/sockaddr.sh | 48 ++--- .../kernel/tools/perf/trace/beauty/socket.sh | 56 +++--- .../kernel/tools/perf/trace/beauty/statx.c | 50 ++--- .../tools/perf/trace/beauty/statx_mask.sh | 46 ++--- .../kernel/tools/perf/trace/beauty/timespec.c | 42 ++-- .../beauty/tracepoints/x86_irq_vectors.c | 58 +++--- .../perf/trace/beauty/vhost_virtio_ioctl.sh | 36 ++-- .../tools/perf/trace/beauty/waitid_options.c | 58 +++--- .../tools/perf/trace/beauty/x86_arch_prctl.sh | 54 +++--- .../kernel/tools/perf/ui/helpline.h | 58 +++--- .../kernel/tools/perf/ui/keysyms.h | 60 +++--- .../kernel/tools/perf/ui/libslang.h | 52 ++--- .../kernel/tools/perf/ui/progress.c | 94 ++++----- .../kernel/tools/perf/ui/progress.h | 68 +++---- .../UFI003_MB_V02/kernel/tools/perf/ui/ui.h | 74 +++---- .../UFI003_MB_V02/kernel/tools/perf/ui/util.h | 48 ++--- .../kernel/tools/perf/util/addr_location.h | 62 +++--- .../kernel/tools/perf/util/arm-spe.h | 66 +++---- .../kernel/tools/perf/util/bpf-prologue.h | 74 +++---- .../perf/util/bpf_skel/bench_uprobe.bpf.c | 78 ++++---- .../kernel/tools/perf/util/cache.h | 62 +++--- .../kernel/tools/perf/util/cacheline.h | 72 +++---- .../hisi-ptt-decoder/hisi-ptt-pkt-decoder.h | 62 +++--- .../kernel/tools/perf/util/intel-bts.h | 68 +++---- .../tools/perf/util/intel-pt-decoder/Build | 44 ++--- .../kernel/tools/perf/util/intel-tpebs.h | 70 +++---- .../kernel/tools/perf/util/map_symbol.c | 66 +++---- .../kernel/tools/perf/util/map_symbol.h | 64 +++--- .../kernel/tools/perf/util/off_cpu.h | 76 ++++---- .../kernel/tools/perf/util/perf-hooks.h | 80 ++++---- .../kernel/tools/perf/util/pfm.h | 76 ++++---- .../kernel/tools/perf/util/pmu.l | 96 ++++----- .../kernel/tools/perf/util/print_binary.h | 74 +++---- .../kernel/tools/perf/util/print_insn.h | 44 ++--- .../kernel/tools/perf/util/sample-raw.c | 52 ++--- .../tools/perf/util/scripting-engines/Build | 18 +- .../kernel/tools/perf/util/sharded_mutex.c | 66 +++---- .../kernel/tools/perf/util/sharded_mutex.h | 58 +++--- .../kernel/tools/perf/util/smt.c | 72 +++---- .../kernel/tools/perf/util/spark.c | 68 +++---- .../kernel/tools/perf/util/stream.h | 82 ++++---- .../kernel/tools/perf/util/symsrc.h | 94 ++++----- .../kernel/tools/perf/util/syscalltbl.h | 48 ++--- .../kernel/tools/perf/util/term.c | 80 ++++---- .../kernel/tools/perf/util/tracepoint.h | 52 ++--- .../kernel/tools/perf/util/tsc.h | 64 +++--- .../kernel/tools/perf/util/usage.c | 68 +++---- .../kernel/tools/perf/util/values.h | 58 +++--- .../kernel/tools/perf/util/vdso.h | 60 +++--- .../kernel/tools/power/acpi/Makefile | 52 ++--- .../power/cpupower/debug/x86_64/Makefile | 62 +++--- .../kernel/tools/power/cpupower/lib/cpuidle.h | 52 ++--- .../tools/power/cpupower/lib/cpupower.h | 72 +++---- .../tools/power/cpupower/man/cpupower-info.1 | 38 ++-- .../cpupower/man/cpupower-powercap-info.1 | 50 ++--- .../pm-graph/install_latest_from_github.sh | 76 ++++---- .../power/x86/x86_energy_perf_policy/Makefile | 58 +++--- .../kernel/tools/sched_ext/scx_flatcg.h | 102 +++++----- .../kernel/tools/testing/cxl/mock_acpi.c | 70 +++---- .../kernel/tools/testing/cxl/watermark.h | 50 ++--- .../tools/testing/kunit/qemu_configs/riscv.py | 56 +++--- .../tools/testing/memblock/linux/mmzone.h | 76 ++++---- .../tools/testing/memblock/linux/printk.h | 50 ++--- .../kernel/tools/testing/nvdimm/watermark.h | 48 ++--- .../kernel/tools/testing/radix-tree/Makefile | 58 +++--- .../kernel/tools/testing/scatterlist/Makefile | 64 +++--- .../tools/testing/selftests/alsa/Makefile | 62 +++--- .../tools/testing/selftests/arm64/README | 50 ++--- .../testing/selftests/arm64/bti/signal.c | 74 +++---- .../testing/selftests/arm64/fp/fpsimd-stress | 120 ++++++------ .../testing/selftests/arm64/fp/ssve-stress | 118 ++++++------ .../testing/selftests/arm64/fp/sve-stress | 118 ++++++------ .../testing/selftests/arm64/fp/za-stress | 118 ++++++------ .../selftests/arm64/pauth/exec_target.c | 68 +++---- .../testing/selftests/arm64/pauth/helper.c | 78 ++++---- .../testcases/fake_sigreturn_misaligned_sp.c | 74 +++---- .../mangle_pstate_invalid_compat_toggle.c | 62 +++--- .../mangle_pstate_invalid_daif_bits.c | 70 +++---- .../mangle_pstate_invalid_mode_template.h | 56 +++--- .../arm64/signal/testcases/sme_trap_no_sm.c | 76 ++++---- .../arm64/signal/testcases/sme_trap_za.c | 72 +++---- .../testing/selftests/arm64/tags/tags_test.c | 37 ++++ .../tools/testing/selftests/bpf/.gitignore | 102 +++++----- .../bpf/benchs/run_bench_htab_mem.sh | 80 ++++---- .../bpf/benchs/run_bench_local_storage.sh | 48 ++--- .../tools/testing/selftests/bpf/bpf_legacy.h | 46 ++--- .../bpf_test_modorder_x/bpf_test_modorder_x.c | 78 ++++---- .../bpf_test_modorder_y/bpf_test_modorder_y.c | 78 ++++---- .../testing/selftests/bpf/cgroup_tcp_skb.h | 70 +++---- .../testing/selftests/bpf/netcnt_common.h | 88 ++++----- .../selftests/bpf/prog_tests/autoattach.c | 60 +++--- .../selftests/bpf/prog_tests/btf_module.c | 68 +++---- .../selftests/bpf/prog_tests/core_kern.c | 56 +++--- .../selftests/bpf/prog_tests/core_retro.c | 76 ++++---- .../bpf/prog_tests/helper_restricted.c | 62 +++--- .../bpf/prog_tests/inner_array_lookup.c | 62 +++--- .../selftests/bpf/prog_tests/jit_probe_mem.c | 56 +++--- .../selftests/bpf/prog_tests/linked_maps.c | 60 +++--- .../selftests/bpf/prog_tests/map_ptr.c | 90 ++++----- .../selftests/bpf/prog_tests/pkt_access.c | 64 +++--- .../bpf/prog_tests/prog_array_init.c | 64 +++--- .../selftests/bpf/prog_tests/skb_helpers.c | 60 +++--- .../selftests/bpf/prog_tests/stack_var_off.c | 70 +++---- .../selftests/bpf/prog_tests/static_linked.c | 70 +++---- .../bpf/prog_tests/subprogs_extable.c | 58 +++--- .../prog_tests/test_struct_ops_multi_pages.c | 60 +++--- .../bpf/prog_tests/test_struct_ops_no_cfi.c | 70 +++---- .../selftests/bpf/prog_tests/timer_crash.c | 64 +++--- .../bpf/prog_tests/tracing_failure.c | 74 +++---- .../selftests/bpf/prog_tests/verif_stats.c | 58 +++--- .../selftests/bpf/prog_tests/vmlinux.c | 86 ++++----- .../testing/selftests/bpf/prog_tests/wq.c | 80 ++++---- .../selftests/bpf/prog_tests/xdp_perf.c | 56 +++--- .../testing/selftests/bpf/progs/bind_perm.c | 90 ++++----- .../selftests/bpf/progs/bpf_compiler.h | 66 +++---- .../bpf/progs/bpf_hashmap_full_update_bench.c | 80 ++++---- .../selftests/bpf/progs/bpf_iter_bpf_map.c | 54 +++--- .../bpf/progs/bpf_iter_bpf_percpu_array_map.c | 80 ++++---- .../selftests/bpf/progs/bpf_iter_task_file.c | 80 ++++---- .../selftests/bpf/progs/bpf_iter_test_kern5.c | 70 +++---- .../selftests/bpf/progs/bpf_iter_vma_offset.c | 74 +++---- .../testing/selftests/bpf/progs/bprm_opts.c | 68 +++---- .../bpf/progs/btf_dump_test_case_multidim.c | 70 +++---- .../progs/btf_dump_test_case_namespacing.c | 146 +++++++------- .../bpf/progs/btf_dump_test_case_ordering.c | 126 ++++++------ .../testing/selftests/bpf/progs/btf_ptr.h | 54 +++--- .../selftests/bpf/progs/btf_type_tag_user.c | 80 ++++---- .../bpf/progs/cg_storage_multi_egress_only.c | 66 +++---- .../selftests/bpf/progs/cgroup_ancestor.c | 80 ++++---- .../testing/selftests/bpf/progs/cgroup_iter.c | 78 ++++---- .../selftests/bpf/progs/cgrp_ls_negative.c | 52 ++--- .../selftests/bpf/progs/dummy_st_ops_fail.c | 54 +++--- .../testing/selftests/bpf/progs/empty_skb.c | 74 +++---- .../selftests/bpf/progs/exceptions_ext.c | 144 +++++++------- .../selftests/bpf/progs/find_vma_fail1.c | 60 +++--- .../selftests/bpf/progs/for_each_multi_maps.c | 98 +++++----- .../bpf/progs/freplace_attach_probe.c | 80 ++++---- .../bpf/progs/freplace_cls_redirect.c | 68 +++---- .../selftests/bpf/progs/get_branch_snapshot.c | 80 ++++---- .../selftests/bpf/progs/getpeername6_prog.c | 62 +++--- .../selftests/bpf/progs/getsockname6_prog.c | 62 +++--- .../testing/selftests/bpf/progs/htab_update.c | 58 +++--- .../selftests/bpf/progs/inner_array_lookup.c | 90 ++++----- .../selftests/bpf/progs/iters_task_vma.c | 86 ++++----- .../bpf/progs/kfunc_call_test_subprog.c | 74 +++---- .../selftests/bpf/progs/lsm_tailcall.c | 68 +++---- .../bpf/progs/missed_kprobe_recursion.c | 96 ++++----- .../selftests/bpf/progs/missed_tp_recursion.c | 82 ++++---- .../selftests/bpf/progs/nested_acquire.c | 66 +++---- .../bpf/progs/nested_trust_success.c | 84 ++++---- .../selftests/bpf/progs/perfbuf_bench.c | 66 +++---- .../testing/selftests/bpf/progs/raw_tp_null.c | 62 +++--- .../progs/rbtree_btf_fail__wrong_node_type.c | 76 ++++---- .../selftests/bpf/progs/rcu_tasks_trace_gp.c | 72 +++---- .../bpf/progs/read_bpf_task_storage_busy.c | 76 ++++---- .../testing/selftests/bpf/progs/recursion.c | 86 ++++----- .../selftests/bpf/progs/recvmsg4_prog.c | 80 ++++---- .../selftests/bpf/progs/sockmap_parse_prog.c | 66 +++---- .../bpf/progs/struct_ops_autocreate.c | 104 +++++----- .../bpf/progs/struct_ops_maybe_null.c | 58 +++--- .../testing/selftests/bpf/progs/tailcall5.c | 78 ++++---- .../testing/selftests/bpf/progs/tailcall6.c | 68 +++---- .../selftests/bpf/progs/tailcall_bpf2bpf1.c | 74 +++---- .../selftests/bpf/progs/tailcall_bpf2bpf2.c | 80 ++++---- .../selftests/bpf/progs/tailcall_bpf2bpf6.c | 90 ++++----- .../bpf/progs/task_local_storage_exit_creds.c | 70 +++---- .../bpf/progs/tcp_ca_incompl_cong_ops.c | 58 +++--- .../bpf/progs/test_attach_probe_manual.c | 106 +++++----- .../selftests/bpf/progs/test_autoload.c | 80 ++++---- .../selftests/bpf/progs/test_btf_newkv.c | 92 ++++----- .../selftests/bpf/progs/test_btf_nokv.c | 90 ++++----- .../selftests/bpf/progs/test_build_id.c | 62 +++--- .../bpf/progs/test_core_reloc_nesting.c | 98 +++++----- .../bpf/progs/test_core_reloc_primitives.c | 92 ++++----- .../bpf/progs/test_core_reloc_ptr_as_arr.c | 66 +++---- .../bpf/progs/test_custom_sec_handlers.c | 126 ++++++------ .../bpf/progs/test_d_path_check_rdonly_mem.c | 56 +++--- .../bpf/progs/test_d_path_check_types.c | 64 +++--- .../selftests/bpf/progs/test_deny_namespace.c | 60 +++--- .../testing/selftests/bpf/progs/test_endian.c | 74 +++---- .../selftests/bpf/progs/test_global_func2.c | 98 +++++----- .../selftests/bpf/progs/test_global_func4.c | 110 +++++------ .../selftests/bpf/progs/test_global_func5.c | 66 +++---- .../selftests/bpf/progs/test_global_func6.c | 66 +++---- .../selftests/bpf/progs/test_hash_large_key.c | 88 ++++----- .../bpf/progs/test_kfunc_param_nullable.c | 86 ++++----- .../testing/selftests/bpf/progs/test_ksyms.c | 64 +++--- .../bpf/progs/test_ksyms_btf_null_check.c | 62 +++--- .../bpf/progs/test_ksyms_btf_write_check.c | 88 ++++----- .../bpf/progs/test_libbpf_get_fd_by_id_opts.c | 74 +++---- .../selftests/bpf/progs/test_lookup_key.c | 92 ++++----- .../selftests/bpf/progs/test_lwt_reroute.c | 72 +++---- .../selftests/bpf/progs/test_map_init.c | 66 +++---- .../bpf/progs/test_ns_current_pid_tgid.c | 104 +++++----- .../selftests/bpf/progs/test_overhead.c | 84 ++++---- .../bpf/progs/test_pe_preserve_elems.c | 76 ++++---- .../selftests/bpf/progs/test_perf_buffer.c | 82 ++++---- .../bpf/progs/test_prog_array_init.c | 78 ++++---- .../selftests/bpf/progs/test_ringbuf_n.c | 94 ++++----- .../selftests/bpf/progs/test_ringbuf_write.c | 92 ++++----- .../bpf/progs/test_send_signal_kern.c | 92 ++++----- .../selftests/bpf/progs/test_skb_helpers.c | 56 +++--- .../bpf/progs/test_skc_to_unix_sock.c | 80 ++++---- .../bpf/progs/test_sockmap_drop_prog.c | 64 +++--- .../bpf/progs/test_sockmap_pass_prog.c | 94 ++++----- .../selftests/bpf/progs/test_static_linked2.c | 62 +++--- .../selftests/bpf/progs/test_task_pt_regs.c | 72 +++---- .../bpf/progs/test_tp_btf_nullable.c | 48 ++--- .../selftests/bpf/progs/test_usdt_multispec.c | 60 +++--- .../selftests/bpf/progs/test_verif_scale1.c | 60 +++--- .../selftests/bpf/progs/test_verif_scale2.c | 60 +++--- .../selftests/bpf/progs/test_verif_scale3.c | 60 +++--- .../selftests/bpf/progs/test_xdp_redirect.c | 52 ++--- .../bpf/progs/test_xdp_with_cpumap_helpers.c | 94 ++++----- .../testing/selftests/bpf/progs/token_lsm.c | 64 +++--- .../selftests/bpf/progs/trace_vprintk.c | 68 +++---- .../bpf/progs/verifier_btf_ctx_access.c | 64 +++--- .../bpf/progs/verifier_linked_scalars.c | 68 +++---- .../selftests/bpf/progs/verifier_or_jmp32_k.c | 82 ++++---- .../testing/selftests/bpf/progs/xfrm_info.c | 82 ++++---- .../testing/selftests/bpf/test_doc_build.sh | 40 ++-- .../testing/selftests/bpf/test_ftrace.sh | 88 ++++----- .../testing/selftests/bpf/test_lirc_mode2.sh | 82 ++++---- .../testing/selftests/bpf/urandom_read_lib1.c | 70 +++---- .../selftests/bpf/verifier/atomic_bounds.c | 54 +++--- .../selftests/bpf/verifier/atomic_invalid.c | 50 ++--- .../selftests/bpf/verifier/basic_stx_ldx.c | 90 ++++----- .../selftests/bpf/verifier/junk_insn.c | 90 ++++----- .../testing/selftests/bpf/with_tunnels.sh | 72 +++---- .../testing/selftests/bpf/xdp_metadata.h | 104 +++++----- .../selftests/damon/_chk_dependency.sh | 104 +++++----- .../testing/selftests/damon/access_memory.c | 82 ++++---- .../selftests/damon/access_memory_even.c | 84 ++++---- .../selftests/damon/debugfs_target_ids.sh | 38 ++-- .../tools/testing/selftests/damon/lru_sort.sh | 82 ++++---- .../tools/testing/selftests/damon/reclaim.sh | 84 ++++---- ...sysfs_update_schemes_tried_regions_hang.py | 66 +++---- .../selftests/drivers/net/dsa/Makefile | 64 +++--- .../drivers/net/mlxsw/router_bridge_lag.sh | 100 +++++----- .../net/mlxsw/spectrum/rif_counter_scale.sh | 68 +++---- .../testing/selftests/efivarfs/create-read.c | 82 ++++---- .../selftests/filesystems/dnotify_test.c | 70 +++---- .../filesystems/fat/rename_exchange.c | 74 +++---- .../testing/selftests/fpu/run_test_fpu.sh | 92 ++++----- .../tools/testing/selftests/ftrace/config | 58 +++--- .../ftrace/test.d/00basic/snapshot1.tc | 62 +++--- .../test.d/dynevent/add_remove_fprobe.tc | 52 ++--- .../test.d/dynevent/add_remove_kprobe.tc | 66 +++---- .../test.d/dynevent/add_remove_tprobe.tc | 54 +++--- .../ftrace/test.d/event/event-enable.tc | 96 ++++----- .../ftrace/test.d/event/toplevel-enable.tc | 102 +++++----- .../ftrace/test.d/event/trace_printk.tc | 54 +++--- .../ftrace/test.d/ftrace/fgraph-filter.tc | 80 ++++---- .../ftrace/test.d/ftrace/fgraph-profiler.tc | 62 +++--- .../ftrace/test.d/ftrace/func_cpumask.tc | 86 ++++----- .../ftrace/test.d/ftrace/func_hotplug.tc | 84 ++++---- .../ftrace/test.d/ftrace/func_mod_trace.tc | 46 ++--- .../ftrace/test.d/kprobe/kprobe_args.tc | 38 ++-- .../ftrace/test.d/kprobe/kprobe_multiprobe.tc | 64 +++--- .../ftrace/test.d/kprobe/kprobe_opt_types.tc | 68 +++---- .../ftrace/test.d/kprobe/multiple_kprobes.tc | 70 +++---- .../testing/selftests/ftrace/test.d/template | 30 +-- .../inter-event/trigger-onmax-action-hist.tc | 56 +++--- .../trigger-snapshot-action-hist.tc | 60 +++--- .../trigger-synthetic-event-createremove.tc | 68 +++---- .../trigger-synthetic-event-stack.tc | 46 ++--- .../trigger/trigger-hist-syntax-errors.tc | 32 +-- .../test.d/trigger/trigger-stacktrace.tc | 66 +++---- .../trigger/trigger-trace-marker-snapshot.tc | 86 ++++----- .../tools/testing/selftests/futex/Makefile | 70 +++---- .../selftests/futex/functional/Makefile | 52 ++--- .../selftests/futex/include/futex2test.h | 44 ++--- .../tools/testing/selftests/futex/run.sh | 58 +++--- .../kernel/tools/testing/selftests/hid/config | 64 +++--- .../selftests/hid/run-hid-tools-tests.sh | 60 +++--- .../testing/selftests/intel_pstate/msr.c | 80 ++++---- .../testing/selftests/kselftest_install.sh | 70 +++---- .../kvm/include/aarch64/gic_v3_its.h | 38 ++-- .../selftests/kvm/include/kvm_test_harness.h | 72 +++---- .../selftests/kvm/include/kvm_util_types.h | 40 ++-- .../testing/selftests/kvm/lib/aarch64/ucall.c | 68 +++---- .../testing/selftests/kvm/lib/riscv/ucall.c | 64 +++--- .../selftests/kvm/lib/string_override.c | 96 ++++----- .../testing/selftests/kvm/lib/x86_64/pmu.c | 62 +++--- .../x86_64/exit_on_emulation_failure_test.c | 78 ++++---- .../kvm/x86_64/get_msr_index_features.c | 70 +++---- .../selftests/landlock/scoped_common.h | 56 +++--- .../testing/selftests/landlock/scoped_test.c | 66 +++---- .../livepatch/test_klp-call_getpid.c | 88 ++++----- .../selftests/livepatch/test_modules/Makefile | 52 ++--- .../tools/testing/selftests/lsm/common.h | 66 +++---- .../tools/testing/selftests/memfd/Makefile | 56 +++--- .../tools/testing/selftests/memfd/common.c | 92 ++++----- .../tools/testing/selftests/mm/.gitignore | 106 +++++----- .../tools/testing/selftests/mm/mlock2.h | 96 ++++----- .../testing/selftests/mm/mseal_helpers.h | 82 ++++---- .../testing/selftests/mm/on-fault-limit.c | 84 ++++---- .../tools/testing/selftests/net/.gitignore | 120 ++++++------ .../net/forwarding/forwarding.config.sample | 60 +++--- .../selftests/net/forwarding/ipip_flat_gre.sh | 126 ++++++------ .../net/forwarding/ipip_flat_gre_key.sh | 126 ++++++------ .../net/forwarding/ipip_flat_gre_keys.sh | 126 ++++++------ .../selftests/net/forwarding/ipip_hier_gre.sh | 126 ++++++------ .../net/forwarding/ipip_hier_gre_key.sh | 126 ++++++------ .../net/forwarding/ipip_hier_gre_keys.sh | 126 ++++++------ .../selftests/net/forwarding/sch_ets.sh | 94 ++++----- .../selftests/net/forwarding/tc_common.sh | 72 +++---- .../testing/selftests/net/lib/py/netns.py | 62 +++--- .../tools/testing/selftests/net/mptcp/config | 68 +++---- .../net/netfilter/conntrack_reverse_clash.sh | 102 +++++----- .../testing/selftests/net/netns-sysctl.sh | 80 ++++---- .../net/reuseaddr_ports_exhausted.sh | 70 +++---- .../testing/selftests/net/run_afpackettests | 98 +++++----- .../selftests/net/sample_map_ret0.bpf.c | 68 +++---- .../net/test_vxlan_fdb_changelink.sh | 58 +++--- .../testing/selftests/net/toeplitz_client.sh | 56 +++--- .../testing/selftests/net/vlan_hw_filter.sh | 58 +++--- .../kernel/tools/testing/selftests/net/ynl.mk | 50 ++--- .../pid_namespace/regression_enomem.c | 88 ++++----- .../powerpc/benchmarks/futex_bench.c | 86 ++++----- .../selftests/powerpc/eeh/eeh-vf-aware.sh | 90 ++++----- .../selftests/powerpc/eeh/eeh-vf-unaware.sh | 70 +++---- .../testing/selftests/powerpc/math/Makefile | 44 ++--- .../selftests/powerpc/math/fpu_denormal.c | 76 ++++---- .../testing/selftests/powerpc/math/mma.S | 72 +++---- .../selftests/powerpc/nx-gzip/include/nx.h | 76 ++++---- .../selftests/powerpc/nx-gzip/nx-gzip-test.sh | 92 ++++----- .../powerpc/pmu/ebb/reg_access_test.c | 80 ++++---- .../powerpc/pmu/event_code_tests/Makefile | 32 +-- .../selftests/powerpc/pmu/l3_bank_test.c | 102 +++++----- .../tools/testing/selftests/powerpc/pmu/lib.h | 80 ++++---- .../powerpc/pmu/sampling_tests/Makefile | 32 +-- .../selftests/powerpc/security/flush_utils.h | 48 ++--- .../powerpc/signal/sigreturn_unaligned.c | 86 ++++----- .../selftests/powerpc/stringloops/Makefile | 72 +++---- .../testing/selftests/powerpc/syscalls/ipc.h | 96 ++++----- .../testing/selftests/powerpc/tm/tm-fork.c | 86 ++++----- .../selftests/powerpc/tm/tm-syscall-asm.S | 126 ++++++------ .../tools/testing/selftests/proc/Makefile | 62 +++--- .../tools/testing/selftests/proc/proc.h | 102 +++++----- .../selftests/pstore/pstore_crash_test | 60 +++--- .../testing/selftests/pstore/pstore_tests | 60 +++--- .../selftests/rcutorture/bin/configNR_CPUS.sh | 64 +++--- .../rcutorture/bin/config_override.sh | 94 ++++----- .../rcutorture/bin/console-badness.sh | 36 ++-- .../selftests/rcutorture/bin/cpus2use.sh | 78 ++++---- .../rcutorture/bin/kvm-recheck-lock.sh | 76 ++++---- .../rcutorture/bin/kvm-recheck-scf.sh | 76 ++++---- .../rcutorture/bin/kvm-remote-noreap.sh | 60 +++--- .../rcutorture/configs/lock/ver_functions.sh | 60 +++--- .../rcutorture/configs/scf/ver_functions.sh | 60 +++--- .../selftests/rcutorture/doc/TINY_RCU.txt | 76 ++++---- .../selftests/rcutorture/doc/initrd.txt | 32 +-- .../testing/selftests/riscv/hwprobe/hwprobe.h | 50 ++--- .../testing/selftests/riscv/vector/Makefile | 38 ++-- .../selftests/rseq/rseq-x86-thread-pointer.h | 80 ++++---- .../selftests/rust/test_probe_samples.sh | 82 ++++---- .../sched_ext/enq_last_no_enq_fails.bpf.c | 58 +++--- .../selftests/sched_ext/maybe_null.bpf.c | 72 +++---- .../sched_ext/maybe_null_fail_yld.bpf.c | 56 +++--- .../selftests/sched_ext/prog_run.bpf.c | 66 +++---- .../kernel/tools/testing/selftests/sgx/call.S | 88 ++++----- .../sigaltstack/current_stack_pointer.h | 46 ++--- .../selftests/static_keys/test_static_keys.sh | 60 +++--- .../tools/testing/selftests/sync/Makefile | 76 ++++---- .../testing/selftests/tc-testing/action.c | 46 ++--- .../creating-testcases/template.json | 102 +++++----- .../tc-testing/plugin-lib/README-PLUGINS | 54 +++--- .../tc-testing/tc-tests/infra/filter.json | 52 ++--- .../tools/testing/selftests/timers/Makefile | 48 ++--- .../selftests/vDSO/vgetrandom-chacha.S | 36 ++-- .../selftests/x86/raw_syscall_helper_32.S | 98 +++++----- .../tools/testing/selftests/x86/thunks.S | 122 ++++++------ .../tools/testing/selftests/x86/thunks_32.S | 98 +++++----- .../tools/testing/shared/linux/radix-tree.h | 52 ++--- .../kernel/tools/testing/vma/linux/mmzone.h | 76 ++++---- .../kernel/tools/thermal/lib/uptimeofday.c | 80 ++++---- .../tools/thermal/thermal-engine/Makefile | 56 +++--- .../tools/tracing/rtla/Makefile.standalone | 52 ++--- .../kernel/tools/tracing/rtla/README.txt | 66 +++---- .../kernel/tools/usb/usbip/libsrc/names.h | 52 ++--- .../kernel/tools/usb/usbip/src/usbip.h | 56 +++--- .../kernel/tools/verification/dot2/Makefile | 52 ++--- .../kernel/tools/verification/dot2/dot2c | 52 ++--- .../kernel/tools/verification/rv/src/utils.c | 94 ++++----- .../kernel/tools/virtio/linux/spinlock.h | 112 +++++------ .../kernel/tools/virtio/linux/uaccess.h | 90 ++++----- .../tools/virtio/ringtest/run-on-all.sh | 52 ++--- .../kernel/virt/kvm/coalesced_mmio.h | 78 ++++---- 4000 files changed, 135914 insertions(+), 135877 deletions(-) mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/arch/arm64/tools/gen-cpucaps.awk mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/arch/m68k/install.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/arch/nios2/boot/install.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/arch/parisc/install.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/install.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/arch/powerpc/tools/gcc-check-fpatchable-function-entry.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/arch/powerpc/tools/gcc-check-mprofile-kernel.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/arch/powerpc/tools/relocs_check.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/arch/s390/boot/install.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/arch/sparc/boot/install.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/arch/x86/boot/install.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/samples/bpf/test_cls_bpf.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/scripts/atomic/gen-atomics.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/scripts/depmod.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/scripts/kconfig/gconf-cfg.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/scripts/makelst mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/scripts/min-tool-version.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/scripts/mkcompile_h mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/scripts/objdump-func mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/scripts/prune-kernel mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/scripts/relocs_check.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/scripts/stackusage mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/scripts/tools-support-relr.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/hv/hv_get_dhcp_info.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/hv/hv_get_dns_info.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/memory-model/scripts/simpletest.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/net/ynl/ynl-regen.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/perf/Documentation/cat-texi.perl mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/perf/arch/arm64/entry/syscalls/mksyscalltbl mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/perf/arch/loongarch/entry/syscalls/mksyscalltbl mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/perf/arch/powerpc/entry/syscalls/mksyscalltbl mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/perf/arch/s390/entry/syscalls/mksyscalltbl mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/perf/arch/x86/entry/syscalls/syscalltbl.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/perf/arch/x86/tests/gen-insn-x86-dat.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/perf/tests/perf-targz-src-pkg mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/perf/tests/shell/base_report/setup.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/perf/tests/shell/common/check_all_lines_matched.pl mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/perf/tests/shell/common/check_errors_whitelisted.pl mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/perf/tests/shell/stat_all_pmu.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/perf/tests/shell/stat_metrics_values.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/perf/tests/shell/test_stat_intel_tpebs.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/perf/trace/beauty/drm_ioctl.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/perf/trace/beauty/fadvise.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/perf/trace/beauty/fsmount.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/perf/trace/beauty/mount_flags.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/perf/trace/beauty/prctl_option.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/perf/trace/beauty/sockaddr.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/perf/trace/beauty/socket.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/perf/trace/beauty/statx_mask.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/perf/trace/beauty/vhost_virtio_ioctl.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/perf/trace/beauty/x86_arch_prctl.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/power/pm-graph/install_latest_from_github.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/arm64/fp/fpsimd-stress mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/arm64/fp/sve-stress create mode 100644 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/arm64/tags/tags_test.c mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/benchs/run_bench_htab_mem.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/benchs/run_bench_local_storage.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/test_doc_build.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/test_ftrace.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/test_lirc_mode2.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/with_tunnels.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/damon/debugfs_target_ids.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/damon/lru_sort.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/damon/reclaim.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/damon/sysfs_update_schemes_tried_regions_hang.py mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/mlxsw/router_bridge_lag.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/fpu/run_test_fpu.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/futex/run.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/hid/run-hid-tools-tests.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/kselftest_install.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/forwarding/ipip_flat_gre.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/forwarding/ipip_flat_gre_key.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/forwarding/ipip_flat_gre_keys.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/forwarding/ipip_hier_gre.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/forwarding/ipip_hier_gre_key.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/forwarding/ipip_hier_gre_keys.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/forwarding/sch_ets.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/netfilter/conntrack_reverse_clash.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/netns-sysctl.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/reuseaddr_ports_exhausted.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/run_afpackettests mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/test_vxlan_fdb_changelink.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/toeplitz_client.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/vlan_hw_filter.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/eeh/eeh-vf-aware.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/eeh/eeh-vf-unaware.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/nx-gzip/nx-gzip-test.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/pstore/pstore_crash_test mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/pstore/pstore_tests mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/bin/configNR_CPUS.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/bin/config_override.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/bin/console-badness.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/bin/cpus2use.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/bin/kvm-recheck-lock.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/bin/kvm-recheck-scf.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/bin/kvm-remote-noreap.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rust/test_probe_samples.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/static_keys/test_static_keys.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/virtio/ringtest/run-on-all.sh diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/obsolete/sysfs-driver-intel_pmc_bxt b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/obsolete/sysfs-driver-intel_pmc_bxt index d6ab8174ea..39d5659f38 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/obsolete/sysfs-driver-intel_pmc_bxt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/obsolete/sysfs-driver-intel_pmc_bxt @@ -1,22 +1,22 @@ -These files allow sending arbitrary IPC commands to the PMC/SCU which -may be dangerous. These will be removed eventually and should not be -used in any new applications. - -What: /sys/bus/platform/devices/INT34D2:00/simplecmd -Date: Jun 2015 -KernelVersion: 4.1 -Contact: Mika Westerberg -Description: This interface allows userspace to send an arbitrary - IPC command to the PMC/SCU. - - Format: %d %d where first number is command and - second number is subcommand. - -What: /sys/bus/platform/devices/INT34D2:00/northpeak -Date: Jun 2015 -KernelVersion: 4.1 -Contact: Mika Westerberg -Description: This interface allows userspace to enable and disable - Northpeak through the PMC/SCU. - - Format: %u. +These files allow sending arbitrary IPC commands to the PMC/SCU which +may be dangerous. These will be removed eventually and should not be +used in any new applications. + +What: /sys/bus/platform/devices/INT34D2:00/simplecmd +Date: Jun 2015 +KernelVersion: 4.1 +Contact: Mika Westerberg +Description: This interface allows userspace to send an arbitrary + IPC command to the PMC/SCU. + + Format: %d %d where first number is command and + second number is subcommand. + +What: /sys/bus/platform/devices/INT34D2:00/northpeak +Date: Jun 2015 +KernelVersion: 4.1 +Contact: Mika Westerberg +Description: This interface allows userspace to enable and disable + Northpeak through the PMC/SCU. + + Format: %u. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/removed/dv1394 b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/removed/dv1394 index b6a0038b0e..c2310b6676 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/removed/dv1394 +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/removed/dv1394 @@ -1,14 +1,14 @@ -What: dv1394 (a.k.a. "OHCI-DV I/O support" for FireWire) -Date: May 2010 (scheduled), finally removed in kernel v2.6.37 -Contact: linux1394-devel@lists.sourceforge.net -Description: - /dev/dv1394/* were character device files, one for each FireWire - controller and for NTSC and PAL respectively, from which DV data - could be received by read() or transmitted by write(). A few - ioctl()s allowed limited control. - This special-purpose interface has been superseded by libraw1394 + - libiec61883 which are functionally equivalent, support HDV, and - transparently work on top of the newer firewire kernel drivers. - -Users: - ffmpeg/libavformat (if configured for DV1394) +What: dv1394 (a.k.a. "OHCI-DV I/O support" for FireWire) +Date: May 2010 (scheduled), finally removed in kernel v2.6.37 +Contact: linux1394-devel@lists.sourceforge.net +Description: + /dev/dv1394/* were character device files, one for each FireWire + controller and for NTSC and PAL respectively, from which DV data + could be received by read() or transmitted by write(). A few + ioctl()s allowed limited control. + This special-purpose interface has been superseded by libraw1394 + + libiec61883 which are functionally equivalent, support HDV, and + transparently work on top of the newer firewire kernel drivers. + +Users: + ffmpeg/libavformat (if configured for DV1394) diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/removed/raw1394 b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/removed/raw1394 index 0804f14f49..9ec7ec4939 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/removed/raw1394 +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/removed/raw1394 @@ -1,16 +1,16 @@ -What: raw1394 (a.k.a. "Raw IEEE1394 I/O support" for FireWire) -Date: May 2010 (scheduled), finally removed in kernel v2.6.37 -Contact: linux1394-devel@lists.sourceforge.net -Description: - /dev/raw1394 was a character device file that allowed low-level - access to FireWire buses. Its major drawbacks were its inability - to implement sensible device security policies, and its low level - of abstraction that required userspace clients to duplicate much - of the kernel's ieee1394 core functionality. - - Replaced by /dev/fw*, i.e. the ABI of - firewire-core. - -Users: - libraw1394 (works with firewire-cdev too, transparent to library ABI - users) +What: raw1394 (a.k.a. "Raw IEEE1394 I/O support" for FireWire) +Date: May 2010 (scheduled), finally removed in kernel v2.6.37 +Contact: linux1394-devel@lists.sourceforge.net +Description: + /dev/raw1394 was a character device file that allowed low-level + access to FireWire buses. Its major drawbacks were its inability + to implement sensible device security policies, and its low level + of abstraction that required userspace clients to duplicate much + of the kernel's ieee1394 core functionality. + + Replaced by /dev/fw*, i.e. the ABI of + firewire-core. + +Users: + libraw1394 (works with firewire-cdev too, transparent to library ABI + users) diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/removed/sysfs-bus-nfit b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/removed/sysfs-bus-nfit index dded7a0621..277437005d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/removed/sysfs-bus-nfit +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/removed/sysfs-bus-nfit @@ -1,17 +1,17 @@ -What: /sys/bus/nd/devices/regionX/nfit/ecc_unit_size -Date: Aug, 2017 -KernelVersion: v4.14 (Removed v4.18) -Contact: nvdimm@lists.linux.dev -Description: - (RO) Size of a write request to a DIMM that will not incur a - read-modify-write cycle at the memory controller. - - When the nfit driver initializes it runs an ARS (Address Range - Scrub) operation across every pmem range. Part of that process - involves determining the ARS capabilities of a given address - range. One of the capabilities that is reported is the 'Clear - Uncorrectable Error Range Length Unit Size' (see: ACPI 6.2 - section 9.20.7.4 Function Index 1 - Query ARS Capabilities). - This property indicates the boundary at which the NVDIMM may - need to perform read-modify-write cycles to maintain ECC (Error - Correcting Code) blocks. +What: /sys/bus/nd/devices/regionX/nfit/ecc_unit_size +Date: Aug, 2017 +KernelVersion: v4.14 (Removed v4.18) +Contact: nvdimm@lists.linux.dev +Description: + (RO) Size of a write request to a DIMM that will not incur a + read-modify-write cycle at the memory controller. + + When the nfit driver initializes it runs an ARS (Address Range + Scrub) operation across every pmem range. Part of that process + involves determining the ARS capabilities of a given address + range. One of the capabilities that is reported is the 'Clear + Uncorrectable Error Range Length Unit Size' (see: ACPI 6.2 + section 9.20.7.4 Function Index 1 - Query ARS Capabilities). + This property indicates the boundary at which the NVDIMM may + need to perform read-modify-write cycles to maintain ECC (Error + Correcting Code) blocks. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/removed/sysfs-kernel-uids b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/removed/sysfs-kernel-uids index 417d98aff8..85a90b86ce 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/removed/sysfs-kernel-uids +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/removed/sysfs-kernel-uids @@ -1,14 +1,14 @@ -What: /sys/kernel/uids//cpu_shares -Date: December 2007, finally removed in kernel v2.6.34-rc1 -Contact: Dhaval Giani - Srivatsa Vaddagiri -Description: - The /sys/kernel/uids//cpu_shares tunable is used - to set the cpu bandwidth a user is allowed. This is a - proportional value. What that means is that if there - are two users logged in, each with an equal number of - shares, then they will get equal CPU bandwidth. Another - example would be, if User A has shares = 1024 and user - B has shares = 2048, User B will get twice the CPU - bandwidth user A will. For more details refer - Documentation/scheduler/sched-design-CFS.rst +What: /sys/kernel/uids//cpu_shares +Date: December 2007, finally removed in kernel v2.6.34-rc1 +Contact: Dhaval Giani + Srivatsa Vaddagiri +Description: + The /sys/kernel/uids//cpu_shares tunable is used + to set the cpu bandwidth a user is allowed. This is a + proportional value. What that means is that if there + are two users logged in, each with an equal number of + shares, then they will get equal CPU bandwidth. Another + example would be, if User A has shares = 1024 and user + B has shares = 2048, User B will get twice the CPU + bandwidth user A will. For more details refer + Documentation/scheduler/sched-design-CFS.rst diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/removed/video1394 b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/removed/video1394 index cb06bbb91a..1905d35a66 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/removed/video1394 +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/removed/video1394 @@ -1,17 +1,17 @@ -What: video1394 (a.k.a. "OHCI-1394 Video support" for FireWire) -Date: May 2010 (scheduled), finally removed in kernel v2.6.37 -Contact: linux1394-devel@lists.sourceforge.net -Description: - /dev/video1394/* were character device files, one for each FireWire - controller, which were used for isochronous I/O. It was added as an - alternative to raw1394's isochronous I/O functionality which had - performance issues in its first generation. Any video1394 user had - to use raw1394 + libraw1394 too because video1394 did not provide - asynchronous I/O for device discovery and configuration. - - Replaced by /dev/fw*, i.e. the ABI of - firewire-core. - -Users: - libdc1394 (works with firewire-cdev too, transparent to library ABI - users) +What: video1394 (a.k.a. "OHCI-1394 Video support" for FireWire) +Date: May 2010 (scheduled), finally removed in kernel v2.6.37 +Contact: linux1394-devel@lists.sourceforge.net +Description: + /dev/video1394/* were character device files, one for each FireWire + controller, which were used for isochronous I/O. It was added as an + alternative to raw1394's isochronous I/O functionality which had + performance issues in its first generation. Any video1394 user had + to use raw1394 + libraw1394 too because video1394 did not provide + asynchronous I/O for device discovery and configuration. + + Replaced by /dev/fw*, i.e. the ABI of + firewire-core. + +Users: + libdc1394 (works with firewire-cdev too, transparent to library ABI + users) diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/stable/sysfs-acpi-pmprofile b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/stable/sysfs-acpi-pmprofile index e5c1155ff5..cd55e421d9 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/stable/sysfs-acpi-pmprofile +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/stable/sysfs-acpi-pmprofile @@ -1,28 +1,28 @@ -What: /sys/firmware/acpi/pm_profile -Date: 03-Nov-2011 -KernelVersion: v3.2 -Contact: linux-acpi@vger.kernel.org -Description: The ACPI pm_profile sysfs interface exposes the preferred - power management (and performance) profile of the platform - as provided in the ACPI FADT Preferred_PM_Profile field. - - The integer value is directly passed as retrieved from the FADT. - -Values: For the possible values refer to the Preferred_PM_Profile field - definition in Table 5.9 "FADT Format", Section 5.2.9 "Fixed ACPI - Description Table (FADT)" of the ACPI specification. - - As of ACPI 6.5, the following values are defined: - - == ================= - 0 Unspecified - 1 Desktop - 2 Mobile - 3 Workstation - 4 Enterprise Server - 5 SOHO Server - 6 Appliance PC - 7 Performance Server - 8 Tablet - >8 Reserved - == ================= +What: /sys/firmware/acpi/pm_profile +Date: 03-Nov-2011 +KernelVersion: v3.2 +Contact: linux-acpi@vger.kernel.org +Description: The ACPI pm_profile sysfs interface exposes the preferred + power management (and performance) profile of the platform + as provided in the ACPI FADT Preferred_PM_Profile field. + + The integer value is directly passed as retrieved from the FADT. + +Values: For the possible values refer to the Preferred_PM_Profile field + definition in Table 5.9 "FADT Format", Section 5.2.9 "Fixed ACPI + Description Table (FADT)" of the ACPI specification. + + As of ACPI 6.5, the following values are defined: + + == ================= + 0 Unspecified + 1 Desktop + 2 Mobile + 3 Workstation + 4 Enterprise Server + 5 SOHO Server + 6 Appliance PC + 7 Performance Server + 8 Tablet + >8 Reserved + == ================= diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/stable/sysfs-bus-fsl-mc b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/stable/sysfs-bus-fsl-mc index 2f73827460..58f06c7eee 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/stable/sysfs-bus-fsl-mc +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/stable/sysfs-bus-fsl-mc @@ -1,19 +1,19 @@ -What: /sys/bus/fsl-mc/rescan -Date: January 2021 -KernelVersion: 5.12 -Contact: Ioana Ciornei -Description: Writing a non-zero value to this attribute will - force a rescan of fsl-mc bus in the system and - synchronize the objects under fsl-mc bus and the - Management Complex firmware. -Users: Userspace drivers and management tools - -What: /sys/bus/fsl-mc/autorescan -Date: January 2021 -KernelVersion: 5.12 -Contact: Ioana Ciornei -Description: Writing a zero value to this attribute will - disable the DPRC IRQs on which automatic rescan - of the fsl-mc bus is performed. A non-zero value - will enable the DPRC IRQs. -Users: Userspace drivers and management tools +What: /sys/bus/fsl-mc/rescan +Date: January 2021 +KernelVersion: 5.12 +Contact: Ioana Ciornei +Description: Writing a non-zero value to this attribute will + force a rescan of fsl-mc bus in the system and + synchronize the objects under fsl-mc bus and the + Management Complex firmware. +Users: Userspace drivers and management tools + +What: /sys/bus/fsl-mc/autorescan +Date: January 2021 +KernelVersion: 5.12 +Contact: Ioana Ciornei +Description: Writing a zero value to this attribute will + disable the DPRC IRQs on which automatic rescan + of the fsl-mc bus is performed. A non-zero value + will enable the DPRC IRQs. +Users: Userspace drivers and management tools diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/stable/sysfs-driver-aspeed-vuart b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/stable/sysfs-driver-aspeed-vuart index 83ab68a253..950cafc944 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/stable/sysfs-driver-aspeed-vuart +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/stable/sysfs-driver-aspeed-vuart @@ -1,24 +1,24 @@ -What: /sys/bus/platform/drivers/aspeed-vuart/*/lpc_address -Date: April 2017 -Contact: Jeremy Kerr -Description: Configures which IO port the host side of the UART - will appear on the host <-> BMC LPC bus. -Users: OpenBMC. Proposed changes should be mailed to - openbmc@lists.ozlabs.org - -What: /sys/bus/platform/drivers/aspeed-vuart/*/sirq -Date: April 2017 -Contact: Jeremy Kerr -Description: Configures which interrupt number the host side of - the UART will appear on the host <-> BMC LPC bus. -Users: OpenBMC. Proposed changes should be mailed to - openbmc@lists.ozlabs.org - -What: /sys/bus/platform/drivers/aspeed-vuart/*/sirq_polarity -Date: July 2019 -Contact: Oskar Senft -Description: Configures the polarity of the serial interrupt to the - host via the BMC LPC bus. - Set to 0 for active-low or 1 for active-high. -Users: OpenBMC. Proposed changes should be mailed to - openbmc@lists.ozlabs.org +What: /sys/bus/platform/drivers/aspeed-vuart/*/lpc_address +Date: April 2017 +Contact: Jeremy Kerr +Description: Configures which IO port the host side of the UART + will appear on the host <-> BMC LPC bus. +Users: OpenBMC. Proposed changes should be mailed to + openbmc@lists.ozlabs.org + +What: /sys/bus/platform/drivers/aspeed-vuart/*/sirq +Date: April 2017 +Contact: Jeremy Kerr +Description: Configures which interrupt number the host side of + the UART will appear on the host <-> BMC LPC bus. +Users: OpenBMC. Proposed changes should be mailed to + openbmc@lists.ozlabs.org + +What: /sys/bus/platform/drivers/aspeed-vuart/*/sirq_polarity +Date: July 2019 +Contact: Oskar Senft +Description: Configures the polarity of the serial interrupt to the + host via the BMC LPC bus. + Set to 0 for active-low or 1 for active-high. +Users: OpenBMC. Proposed changes should be mailed to + openbmc@lists.ozlabs.org diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/stable/sysfs-driver-w1_ds28e04 b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/stable/sysfs-driver-w1_ds28e04 index e5412d2add..3e1c1fa8d5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/stable/sysfs-driver-w1_ds28e04 +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/stable/sysfs-driver-w1_ds28e04 @@ -1,15 +1,15 @@ -What: /sys/bus/w1/devices/.../pio -Date: May 2012 -Contact: Markus Franke -Description: read/write the contents of the two PIO's of the DS28E04-100 - see Documentation/w1/slaves/w1_ds28e04.rst for detailed information -Users: any user space application which wants to communicate with DS28E04-100 - - - -What: /sys/bus/w1/devices/.../eeprom -Date: May 2012 -Contact: Markus Franke -Description: read/write the contents of the EEPROM memory of the DS28E04-100 - see Documentation/w1/slaves/w1_ds28e04.rst for detailed information -Users: any user space application which wants to communicate with DS28E04-100 +What: /sys/bus/w1/devices/.../pio +Date: May 2012 +Contact: Markus Franke +Description: read/write the contents of the two PIO's of the DS28E04-100 + see Documentation/w1/slaves/w1_ds28e04.rst for detailed information +Users: any user space application which wants to communicate with DS28E04-100 + + + +What: /sys/bus/w1/devices/.../eeprom +Date: May 2012 +Contact: Markus Franke +Description: read/write the contents of the EEPROM memory of the DS28E04-100 + see Documentation/w1/slaves/w1_ds28e04.rst for detailed information +Users: any user space application which wants to communicate with DS28E04-100 diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-iio b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-iio index 4eb6af0aaf..1637fcb50f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-iio +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-iio @@ -1,34 +1,34 @@ -What: /config/iio -Date: October 2015 -KernelVersion: 4.4 -Contact: linux-iio@vger.kernel.org -Description: - This represents Industrial IO configuration entry point - directory. It contains sub-groups corresponding to IIO - objects. - -What: /config/iio/triggers -Date: October 2015 -KernelVersion: 4.4 -Description: - Industrial IO software triggers directory. - -What: /config/iio/triggers/hrtimers -Date: October 2015 -KernelVersion: 4.4 -Description: - High resolution timers directory. Creating a directory here - will result in creating a hrtimer trigger in the IIO subsystem. - -What: /config/iio/devices -Date: April 2016 -KernelVersion: 4.7 -Description: - Industrial IO software devices directory. - -What: /config/iio/devices/dummy -Date: April 2016 -KernelVersion: 4.7 -Description: - Dummy IIO devices directory. Creating a directory here will result - in creating a dummy IIO device in the IIO subsystem. +What: /config/iio +Date: October 2015 +KernelVersion: 4.4 +Contact: linux-iio@vger.kernel.org +Description: + This represents Industrial IO configuration entry point + directory. It contains sub-groups corresponding to IIO + objects. + +What: /config/iio/triggers +Date: October 2015 +KernelVersion: 4.4 +Description: + Industrial IO software triggers directory. + +What: /config/iio/triggers/hrtimers +Date: October 2015 +KernelVersion: 4.4 +Description: + High resolution timers directory. Creating a directory here + will result in creating a hrtimer trigger in the IIO subsystem. + +What: /config/iio/devices +Date: April 2016 +KernelVersion: 4.7 +Description: + Industrial IO software devices directory. + +What: /config/iio/devices/dummy +Date: April 2016 +KernelVersion: 4.7 +Description: + Dummy IIO devices directory. Creating a directory here will result + in creating a dummy IIO device in the IIO subsystem. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-usb-gadget-rndis b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-usb-gadget-rndis index 1e54d4eb27..9416eda7fe 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-usb-gadget-rndis +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-usb-gadget-rndis @@ -1,19 +1,19 @@ -What: /config/usb-gadget/gadget/functions/rndis.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 - class USB interface class, default is 02 (hex) - subclass USB interface subclass, default is 06 (hex) - protocol USB interface protocol, default is 00 (hex) - ========= ============================================= +What: /config/usb-gadget/gadget/functions/rndis.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 + class USB interface class, default is 02 (hex) + subclass USB interface subclass, default is 06 (hex) + protocol USB interface protocol, default is 00 (hex) + ========= ============================================= diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/debugfs-ec b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/debugfs-ec index c02ba5e646..ab6099daa8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/debugfs-ec +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/debugfs-ec @@ -1,21 +1,21 @@ -What: /sys/kernel/debug/ec/*/{gpe,use_global_lock,io} -Date: July 2010 -Contact: Thomas Renninger -Description: - -General information like which GPE is assigned to the EC and whether -the global lock should get used. -Knowing the EC GPE one can watch the amount of HW events related to -the EC here (XY -> GPE number from `/sys/kernel/debug/ec/*/gpe`): -/sys/firmware/acpi/interrupts/gpeXY - -The io file is binary and a userspace tool located here: -ftp://ftp.suse.com/pub/people/trenn/sources/ec/ -should get used to read out the 256 Embedded Controller registers -or writing to them. - -CAUTION: - Do not write to the Embedded Controller if you don't know - what you are doing! Rebooting afterwards also is a good idea. - This can influence the way your machine is cooled and fans may - not get switched on again after you did a wrong write. +What: /sys/kernel/debug/ec/*/{gpe,use_global_lock,io} +Date: July 2010 +Contact: Thomas Renninger +Description: + +General information like which GPE is assigned to the EC and whether +the global lock should get used. +Knowing the EC GPE one can watch the amount of HW events related to +the EC here (XY -> GPE number from `/sys/kernel/debug/ec/*/gpe`): +/sys/firmware/acpi/interrupts/gpeXY + +The io file is binary and a userspace tool located here: +ftp://ftp.suse.com/pub/people/trenn/sources/ec/ +should get used to read out the 256 Embedded Controller registers +or writing to them. + +CAUTION: + Do not write to the Embedded Controller if you don't know + what you are doing! Rebooting afterwards also is a good idea. + This can influence the way your machine is cooled and fans may + not get switched on again after you did a wrong write. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/gpio-cdev b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/gpio-cdev index 9579fe66c2..c9689b2a6f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/gpio-cdev +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/gpio-cdev @@ -1,28 +1,28 @@ -What: /dev/gpiochip[0-9]+ -Date: November 2015 -KernelVersion: 4.4 -Contact: linux-gpio@vger.kernel.org -Description: - The character device files /dev/gpiochip* are the interface - between GPIO chips and userspace. - - The ioctl(2)-based ABI is defined in - [include/uapi] and documented in - Documentation/userspace-api/gpio/chardev.rst. - - The following file operations are supported: - - open(2) - Currently the only useful flags are O_RDWR. - - ioctl(2) - Initiate various actions. - - See Documentation/userspace-api/gpio/chardev.rst - for a description of all ioctls. - - close(2) - Stops and free up the I/O contexts that was associated - with the file descriptor. - -Users: TBD +What: /dev/gpiochip[0-9]+ +Date: November 2015 +KernelVersion: 4.4 +Contact: linux-gpio@vger.kernel.org +Description: + The character device files /dev/gpiochip* are the interface + between GPIO chips and userspace. + + The ioctl(2)-based ABI is defined in + [include/uapi] and documented in + Documentation/userspace-api/gpio/chardev.rst. + + The following file operations are supported: + + open(2) + Currently the only useful flags are O_RDWR. + + ioctl(2) + Initiate various actions. + + See Documentation/userspace-api/gpio/chardev.rst + for a description of all ioctls. + + close(2) + Stops and free up the I/O contexts that was associated + with the file descriptor. + +Users: TBD diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/procfs-attr-current b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/procfs-attr-current index f7ad9ddc22..198b9fe1c8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/procfs-attr-current +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/procfs-attr-current @@ -1,20 +1,20 @@ -What: /proc/*/attr/current -Contact: linux-security-module@vger.kernel.org, - selinux@vger.kernel.org, - apparmor@lists.ubuntu.com -Description: The current security information used by a Linux - security module (LSM) that is active on the system. - The details of permissions required to read from - this interface and hence obtain the security state - of the task identified is LSM dependent. - A process cannot write to this interface unless it - refers to itself. - The other details of permissions required to write to - this interface and hence change the security state of - the task identified are LSM dependent. - The format of the data used by this interface is LSM - dependent. - SELinux, Smack and AppArmor provide this interface. -Users: SELinux user-space - Smack user-space - AppArmor user-space +What: /proc/*/attr/current +Contact: linux-security-module@vger.kernel.org, + selinux@vger.kernel.org, + apparmor@lists.ubuntu.com +Description: The current security information used by a Linux + security module (LSM) that is active on the system. + The details of permissions required to read from + this interface and hence obtain the security state + of the task identified is LSM dependent. + A process cannot write to this interface unless it + refers to itself. + The other details of permissions required to write to + this interface and hence change the security state of + the task identified are LSM dependent. + The format of the data used by this interface is LSM + dependent. + SELinux, Smack and AppArmor provide this interface. +Users: SELinux user-space + Smack user-space + AppArmor user-space diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/procfs-attr-exec b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/procfs-attr-exec index 78075f0455..34593866a7 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/procfs-attr-exec +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/procfs-attr-exec @@ -1,20 +1,20 @@ -What: /proc/*/attr/exec -Contact: linux-security-module@vger.kernel.org, - selinux@vger.kernel.org, - apparmor@lists.ubuntu.com -Description: The security information to be used on the process - by a Linux security module (LSM) active on the system - after a subsequent exec() call. - The details of permissions required to read from - this interface and hence obtain the security state - of the task identified is LSM dependent. - A process cannot write to this interface unless it - refers to itself. - The other details of permissions required to write to - this interface and hence change the security state of - the task identified are LSM dependent. - The format of the data used by this interface is LSM - dependent. - SELinux and AppArmor provide this interface. -Users: SELinux user-space - AppArmor user-space +What: /proc/*/attr/exec +Contact: linux-security-module@vger.kernel.org, + selinux@vger.kernel.org, + apparmor@lists.ubuntu.com +Description: The security information to be used on the process + by a Linux security module (LSM) active on the system + after a subsequent exec() call. + The details of permissions required to read from + this interface and hence obtain the security state + of the task identified is LSM dependent. + A process cannot write to this interface unless it + refers to itself. + The other details of permissions required to write to + this interface and hence change the security state of + the task identified are LSM dependent. + The format of the data used by this interface is LSM + dependent. + SELinux and AppArmor provide this interface. +Users: SELinux user-space + AppArmor user-space diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/procfs-attr-prev b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/procfs-attr-prev index 03b5431657..f990b35958 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/procfs-attr-prev +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/procfs-attr-prev @@ -1,19 +1,19 @@ -What: /proc/*/attr/prev -Contact: linux-security-module@vger.kernel.org, - selinux@vger.kernel.org, - apparmor@lists.ubuntu.com -Description: The security information used on the process by - a Linux security module (LSM) active on the system - prior to the most recent exec() call. - The details of permissions required to read from - this interface is LSM dependent. - A process cannot write to this interface unless it - refers to itself. - The other details of permissions required to write to - this interface are LSM dependent. - The format of the data used by this interface is LSM - dependent. - SELinux and AppArmor provide this interface. -Users: SELinux user-space - AppArmor user-space - +What: /proc/*/attr/prev +Contact: linux-security-module@vger.kernel.org, + selinux@vger.kernel.org, + apparmor@lists.ubuntu.com +Description: The security information used on the process by + a Linux security module (LSM) active on the system + prior to the most recent exec() call. + The details of permissions required to read from + this interface is LSM dependent. + A process cannot write to this interface unless it + refers to itself. + The other details of permissions required to write to + this interface are LSM dependent. + The format of the data used by this interface is LSM + dependent. + SELinux and AppArmor provide this interface. +Users: SELinux user-space + AppArmor user-space + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-bcma b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-bcma index 3dd748d6bd..e93d3ddca8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-bcma +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-bcma @@ -1,31 +1,31 @@ -What: /sys/bus/bcma/devices/.../manuf -Date: May 2011 -KernelVersion: 3.0 -Contact: Rafał Miłecki -Description: - Each BCMA core has its manufacturer id. See - include/linux/bcma/bcma.h for possible values. - -What: /sys/bus/bcma/devices/.../id -Date: May 2011 -KernelVersion: 3.0 -Contact: Rafał Miłecki -Description: - There are a few types of BCMA cores, they can be identified by - id field. - -What: /sys/bus/bcma/devices/.../rev -Date: May 2011 -KernelVersion: 3.0 -Contact: Rafał Miłecki -Description: - BCMA cores of the same type can still slightly differ depending - on their revision. Use it for detailed programming. - -What: /sys/bus/bcma/devices/.../class -Date: May 2011 -KernelVersion: 3.0 -Contact: Rafał Miłecki -Description: - Each BCMA core is identified by few fields, including class it - belongs to. See include/linux/bcma/bcma.h for possible values. +What: /sys/bus/bcma/devices/.../manuf +Date: May 2011 +KernelVersion: 3.0 +Contact: Rafał Miłecki +Description: + Each BCMA core has its manufacturer id. See + include/linux/bcma/bcma.h for possible values. + +What: /sys/bus/bcma/devices/.../id +Date: May 2011 +KernelVersion: 3.0 +Contact: Rafał Miłecki +Description: + There are a few types of BCMA cores, they can be identified by + id field. + +What: /sys/bus/bcma/devices/.../rev +Date: May 2011 +KernelVersion: 3.0 +Contact: Rafał Miłecki +Description: + BCMA cores of the same type can still slightly differ depending + on their revision. Use it for detailed programming. + +What: /sys/bus/bcma/devices/.../class +Date: May 2011 +KernelVersion: 3.0 +Contact: Rafał Miłecki +Description: + Each BCMA core is identified by few fields, including class it + belongs to. See include/linux/bcma/bcma.h for possible values. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-dfl-devices-emif b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-dfl-devices-emif index 09a10a62b4..817d14126d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-dfl-devices-emif +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-dfl-devices-emif @@ -1,25 +1,25 @@ -What: /sys/bus/dfl/devices/dfl_dev.X/infX_cal_fail -Date: Oct 2020 -KernelVersion: 5.12 -Contact: Xu Yilun -Description: Read-only. It indicates if the calibration failed on this - memory interface. "1" for calibration failure, "0" for OK. - Format: %u - -What: /sys/bus/dfl/devices/dfl_dev.X/infX_init_done -Date: Oct 2020 -KernelVersion: 5.12 -Contact: Xu Yilun -Description: Read-only. It indicates if the initialization completed on - this memory interface. "1" for initialization complete, "0" - for not yet. - Format: %u - -What: /sys/bus/dfl/devices/dfl_dev.X/infX_clear -Date: Oct 2020 -KernelVersion: 5.12 -Contact: Xu Yilun -Description: Write-only. Writing "1" to this file will zero out all memory - data in this memory interface. Writing of other values is - invalid. - Format: %u +What: /sys/bus/dfl/devices/dfl_dev.X/infX_cal_fail +Date: Oct 2020 +KernelVersion: 5.12 +Contact: Xu Yilun +Description: Read-only. It indicates if the calibration failed on this + memory interface. "1" for calibration failure, "0" for OK. + Format: %u + +What: /sys/bus/dfl/devices/dfl_dev.X/infX_init_done +Date: Oct 2020 +KernelVersion: 5.12 +Contact: Xu Yilun +Description: Read-only. It indicates if the initialization completed on + this memory interface. "1" for initialization complete, "0" + for not yet. + Format: %u + +What: /sys/bus/dfl/devices/dfl_dev.X/infX_clear +Date: Oct 2020 +KernelVersion: 5.12 +Contact: Xu Yilun +Description: Write-only. Writing "1" to this file will zero out all memory + data in this memory interface. Writing of other values is + invalid. + Format: %u diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-event_source-devices-format b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-event_source-devices-format index d398ec429a..df7ccc1b2f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-event_source-devices-format +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-event_source-devices-format @@ -1,21 +1,21 @@ -What: /sys/bus/event_source/devices//format -Date: January 2012 -KernelVersion: 3.3 -Contact: Jiri Olsa -Description: - Attribute group to describe the magic bits that go into - perf_event_attr::config[012] for a particular pmu. - Each attribute of this group defines the 'hardware' bitmask - we want to export, so that userspace can deal with sane - name/value pairs. - - Userspace must be prepared for the possibility that attributes - define overlapping bit ranges. For example:: - - attr1 = 'config:0-23' - attr2 = 'config:0-7' - attr3 = 'config:12-35' - - Example: 'config1:1,6-10,44' - Defines contents of attribute that occupies bits 1,6-10,44 of - perf_event_attr::config1. +What: /sys/bus/event_source/devices//format +Date: January 2012 +KernelVersion: 3.3 +Contact: Jiri Olsa +Description: + Attribute group to describe the magic bits that go into + perf_event_attr::config[012] for a particular pmu. + Each attribute of this group defines the 'hardware' bitmask + we want to export, so that userspace can deal with sane + name/value pairs. + + Userspace must be prepared for the possibility that attributes + define overlapping bit ranges. For example:: + + attr1 = 'config:0-23' + attr2 = 'config:0-7' + attr3 = 'config:12-35' + + Example: 'config1:1,6-10,44' + Defines contents of attribute that occupies bits 1,6-10,44 of + perf_event_attr::config1. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-fsl-mc b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-fsl-mc index 089c2de7ed..bf3c6af6ad 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-fsl-mc +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-fsl-mc @@ -1,25 +1,25 @@ -What: /sys/bus/fsl-mc/drivers/.../bind -Date: December 2016 -Contact: stuart.yoder@nxp.com -Description: - Writing a device location to this file will cause - the driver to attempt to bind to the device found at - this location. The format for the location is Object.Id - and is the same as found in /sys/bus/fsl-mc/devices/. - - For example:: - - # echo dpni.2 > /sys/bus/fsl-mc/drivers/fsl_dpaa2_eth/bind - -What: /sys/bus/fsl-mc/drivers/.../unbind -Date: December 2016 -Contact: stuart.yoder@nxp.com -Description: - Writing a device location to this file will cause the - driver to attempt to unbind from the device found at - this location. The format for the location is Object.Id - and is the same as found in /sys/bus/fsl-mc/devices/. - - For example:: - - # echo dpni.2 > /sys/bus/fsl-mc/drivers/fsl_dpaa2_eth/unbind +What: /sys/bus/fsl-mc/drivers/.../bind +Date: December 2016 +Contact: stuart.yoder@nxp.com +Description: + Writing a device location to this file will cause + the driver to attempt to bind to the device found at + this location. The format for the location is Object.Id + and is the same as found in /sys/bus/fsl-mc/devices/. + + For example:: + + # echo dpni.2 > /sys/bus/fsl-mc/drivers/fsl_dpaa2_eth/bind + +What: /sys/bus/fsl-mc/drivers/.../unbind +Date: December 2016 +Contact: stuart.yoder@nxp.com +Description: + Writing a device location to this file will cause the + driver to attempt to unbind from the device found at + this location. The format for the location is Object.Id + and is the same as found in /sys/bus/fsl-mc/devices/. + + For example:: + + # echo dpni.2 > /sys/bus/fsl-mc/drivers/fsl_dpaa2_eth/unbind diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-hsi b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-hsi index 248fd9cc61..1b1b282a99 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-hsi +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-hsi @@ -1,19 +1,19 @@ -What: /sys/bus/hsi -Date: April 2012 -KernelVersion: 3.4 -Contact: Carlos Chinea -Description: - High Speed Synchronous Serial Interface (HSI) is a - serial interface mainly used for connecting application - engines (APE) with cellular modem engines (CMT) in cellular - handsets. - The bus will be populated with devices (hsi_clients) representing - the protocols available in the system. Bus drivers implement - those protocols. - -What: /sys/bus/hsi/devices/.../modalias -Date: April 2012 -KernelVersion: 3.4 -Contact: Carlos Chinea -Description: Stores the same MODALIAS value emitted by uevent - Format: hsi: +What: /sys/bus/hsi +Date: April 2012 +KernelVersion: 3.4 +Contact: Carlos Chinea +Description: + High Speed Synchronous Serial Interface (HSI) is a + serial interface mainly used for connecting application + engines (APE) with cellular modem engines (CMT) in cellular + handsets. + The bus will be populated with devices (hsi_clients) representing + the protocols available in the system. Bus drivers implement + those protocols. + +What: /sys/bus/hsi/devices/.../modalias +Date: April 2012 +KernelVersion: 3.4 +Contact: Carlos Chinea +Description: Stores the same MODALIAS value emitted by uevent + Format: hsi: diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-i2c-devices-fsa9480 b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-i2c-devices-fsa9480 index 3fb2784338..288bc2fa95 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-i2c-devices-fsa9480 +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-i2c-devices-fsa9480 @@ -1,27 +1,27 @@ -What: /sys/bus/i2c/devices/.../device -Date: February 2011 -Contact: Minkyu Kang -Description: - show what device is attached - - ======= ====================== - NONE no device - USB USB device is attached - UART UART is attached - CHARGER Charger is attached - JIG JIG is attached - ======= ====================== - -What: /sys/bus/i2c/devices/.../switch -Date: February 2011 -Contact: Minkyu Kang -Description: - show or set the state of manual switch - - ======= ============================== - VAUDIO switch to VAUDIO path - UART switch to UART path - AUDIO switch to AUDIO path - DHOST switch to DHOST path - AUTO switch automatically by device - ======= ============================== +What: /sys/bus/i2c/devices/.../device +Date: February 2011 +Contact: Minkyu Kang +Description: + show what device is attached + + ======= ====================== + NONE no device + USB USB device is attached + UART UART is attached + CHARGER Charger is attached + JIG JIG is attached + ======= ====================== + +What: /sys/bus/i2c/devices/.../switch +Date: February 2011 +Contact: Minkyu Kang +Description: + show or set the state of manual switch + + ======= ============================== + VAUDIO switch to VAUDIO path + UART switch to UART path + AUDIO switch to AUDIO path + DHOST switch to DHOST path + AUTO switch automatically by device + ======= ============================== diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-i2c-devices-hm6352 b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-i2c-devices-hm6352 index f0cf15265c..4a251b7f11 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-i2c-devices-hm6352 +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-i2c-devices-hm6352 @@ -1,21 +1,21 @@ -What: /sys/bus/i2c/devices/.../heading0_input -Date: April 2010 -KernelVersion: 2.6.36? -Contact: alan.cox@intel.com -Description: Reports the current heading from the compass as a floating - point value in degrees. - -What: /sys/bus/i2c/devices/.../power_state -Date: April 2010 -KernelVersion: 2.6.36? -Contact: alan.cox@intel.com -Description: Sets the power state of the device. 0 sets the device into - sleep mode, 1 wakes it up. - -What: /sys/bus/i2c/devices/.../calibration -Date: April 2010 -KernelVersion: 2.6.36? -Contact: alan.cox@intel.com -Description: Sets the calibration on or off (1 = on, 0 = off). See the - chip data sheet. - +What: /sys/bus/i2c/devices/.../heading0_input +Date: April 2010 +KernelVersion: 2.6.36? +Contact: alan.cox@intel.com +Description: Reports the current heading from the compass as a floating + point value in degrees. + +What: /sys/bus/i2c/devices/.../power_state +Date: April 2010 +KernelVersion: 2.6.36? +Contact: alan.cox@intel.com +Description: Sets the power state of the device. 0 sets the device into + sleep mode, 1 wakes it up. + +What: /sys/bus/i2c/devices/.../calibration +Date: April 2010 +KernelVersion: 2.6.36? +Contact: alan.cox@intel.com +Description: Sets the calibration on or off (1 = on, 0 = off). See the + chip data sheet. + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-ad9739a b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-ad9739a index 9431fb2ee5..ed59299e6f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-ad9739a +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-ad9739a @@ -1,19 +1,19 @@ -What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_operating_mode -KernelVersion: 6.9 -Contact: linux-iio@vger.kernel.org -Description: - DAC operating mode. One of the following modes can be selected: - - * normal: This is DAC normal mode. - * mixed-mode: In this mode the output is effectively chopped at - the DAC sample rate. This has the effect of - reducing the power of the fundamental signal while - increasing the power of the images centered around - the DAC sample rate, thus improving the output - power of these images. - -What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_operating_mode_available -KernelVersion: 6.9 -Contact: linux-iio@vger.kernel.org -Description: - Available operating modes. +What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_operating_mode +KernelVersion: 6.9 +Contact: linux-iio@vger.kernel.org +Description: + DAC operating mode. One of the following modes can be selected: + + * normal: This is DAC normal mode. + * mixed-mode: In this mode the output is effectively chopped at + the DAC sample rate. This has the effect of + reducing the power of the fundamental signal while + increasing the power of the images centered around + the DAC sample rate, thus improving the output + power of these images. + +What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_operating_mode_available +KernelVersion: 6.9 +Contact: linux-iio@vger.kernel.org +Description: + Available operating modes. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-adc-stm32 b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-adc-stm32 index 4db13ed617..1975c7a1af 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-adc-stm32 +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-adc-stm32 @@ -1,21 +1,21 @@ -What: /sys/bus/iio/devices/triggerX/trigger_polarity -KernelVersion: 4.11 -Contact: fabrice.gasnier@st.com -Description: - The STM32 ADC can be configured to use external trigger sources - (e.g. timers, pwm or exti gpio). Then, it can be tuned to start - conversions on external trigger by either: - - - "rising-edge" - - "falling-edge" - - "both-edges". - - Reading returns current trigger polarity. - - Writing value before enabling conversions sets trigger polarity. - -What: /sys/bus/iio/devices/triggerX/trigger_polarity_available -KernelVersion: 4.11 -Contact: fabrice.gasnier@st.com -Description: - List all available trigger_polarity settings. +What: /sys/bus/iio/devices/triggerX/trigger_polarity +KernelVersion: 4.11 +Contact: fabrice.gasnier@st.com +Description: + The STM32 ADC can be configured to use external trigger sources + (e.g. timers, pwm or exti gpio). Then, it can be tuned to start + conversions on external trigger by either: + + - "rising-edge" + - "falling-edge" + - "both-edges". + + Reading returns current trigger polarity. + + Writing value before enabling conversions sets trigger polarity. + +What: /sys/bus/iio/devices/triggerX/trigger_polarity_available +KernelVersion: 4.11 +Contact: fabrice.gasnier@st.com +Description: + List all available trigger_polarity settings. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-dfsdm-adc-stm32 b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-dfsdm-adc-stm32 index 2675094eb2..91439d6d60 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-dfsdm-adc-stm32 +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-dfsdm-adc-stm32 @@ -1,22 +1,22 @@ -What: /sys/bus/iio/devices/iio:deviceX/in_voltage_spi_clk_freq -KernelVersion: 4.14 -Contact: arnaud.pouliquen@st.com -Description: - For audio purpose only. - - Used by audio driver to set/get the spi input frequency. - - This is mandatory if DFSDM is slave on SPI bus, to - provide information on the SPI clock frequency during runtime - Notice that the SPI frequency should be a multiple of sample - frequency to ensure the precision. - - if DFSDM input is SPI master: - - Reading SPI clkout frequency, - error on writing - - If DFSDM input is SPI Slave: - - Reading returns value previously set. - Writing value before starting conversions. +What: /sys/bus/iio/devices/iio:deviceX/in_voltage_spi_clk_freq +KernelVersion: 4.14 +Contact: arnaud.pouliquen@st.com +Description: + For audio purpose only. + + Used by audio driver to set/get the spi input frequency. + + This is mandatory if DFSDM is slave on SPI bus, to + provide information on the SPI clock frequency during runtime + Notice that the SPI frequency should be a multiple of sample + frequency to ensure the precision. + + if DFSDM input is SPI master: + + Reading SPI clkout frequency, + error on writing + + If DFSDM input is SPI Slave: + + Reading returns value previously set. + Writing value before starting conversions. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-dma-buffer b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-dma-buffer index a4529db034..d526e65710 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-dma-buffer +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-dma-buffer @@ -1,19 +1,19 @@ -What: /sys/bus/iio/devices/iio:deviceX/buffer/length_align_bytes -KernelVersion: 5.4 -Contact: linux-iio@vger.kernel.org -Description: - DMA buffers tend to have a alignment requirement for the - buffers. If this alignment requirement is not met samples might - be dropped from the buffer. - - This property reports the alignment requirements in bytes. - This means that the buffer size in bytes needs to be a integer - multiple of the number reported by this file. - - The alignment requirements in number of sample sets will depend - on the enabled channels and the bytes per channel. This means - that the alignment requirement in samples sets might change - depending on which and how many channels are enabled. Whereas - the alignment requirement reported in bytes by this property - will remain static and does not depend on which channels are - enabled. +What: /sys/bus/iio/devices/iio:deviceX/buffer/length_align_bytes +KernelVersion: 5.4 +Contact: linux-iio@vger.kernel.org +Description: + DMA buffers tend to have a alignment requirement for the + buffers. If this alignment requirement is not met samples might + be dropped from the buffer. + + This property reports the alignment requirements in bytes. + This means that the buffer size in bytes needs to be a integer + multiple of the number reported by this file. + + The alignment requirements in number of sample sets will depend + on the enabled channels and the bytes per channel. This means + that the alignment requirement in samples sets might change + depending on which and how many channels are enabled. Whereas + the alignment requirement reported in bytes by this property + will remain static and does not depend on which channels are + enabled. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-filter-admv8818 b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-filter-admv8818 index f692c5cb30..c431f0a13c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-filter-admv8818 +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-filter-admv8818 @@ -1,18 +1,18 @@ -What: /sys/bus/iio/devices/iio:deviceX/filter_mode_available -KernelVersion: -Contact: linux-iio@vger.kernel.org -Description: - Reading this returns the valid values that can be written to the - filter_mode attribute: - - - auto -> Adjust bandpass filter to track changes in input clock rate. - - manual -> disable/unregister the clock rate notifier / input clock tracking. - - bypass -> bypass low pass filter, high pass filter and disable/unregister - the clock rate notifier - -What: /sys/bus/iio/devices/iio:deviceX/filter_mode -KernelVersion: -Contact: linux-iio@vger.kernel.org -Description: - This attribute configures the filter mode. - Reading returns the actual mode. +What: /sys/bus/iio/devices/iio:deviceX/filter_mode_available +KernelVersion: +Contact: linux-iio@vger.kernel.org +Description: + Reading this returns the valid values that can be written to the + filter_mode attribute: + + - auto -> Adjust bandpass filter to track changes in input clock rate. + - manual -> disable/unregister the clock rate notifier / input clock tracking. + - bypass -> bypass low pass filter, high pass filter and disable/unregister + the clock rate notifier + +What: /sys/bus/iio/devices/iio:deviceX/filter_mode +KernelVersion: +Contact: linux-iio@vger.kernel.org +Description: + This attribute configures the filter mode. + Reading returns the actual mode. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-frequency-admv1014 b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-frequency-admv1014 index d02329e994..395010a0ef 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-frequency-admv1014 +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-frequency-admv1014 @@ -1,23 +1,23 @@ -What: /sys/bus/iio/devices/iio:deviceX/in_altvoltage0_i_calibscale_coarse -KernelVersion: 5.18 -Contact: linux-iio@vger.kernel.org -Description: - Read/write value for the digital attenuator gain (IF_I) with coarse steps. - -What: /sys/bus/iio/devices/iio:deviceX/in_altvoltage0_q_calibscale_coarse -KernelVersion: 5.18 -Contact: linux-iio@vger.kernel.org -Description: - Read/write value for the digital attenuator gain (IF_Q) with coarse steps. - -What: /sys/bus/iio/devices/iio:deviceX/in_altvoltage0_i_calibscale_fine -KernelVersion: 5.18 -Contact: linux-iio@vger.kernel.org -Description: - Read/write value for the digital attenuator gain (IF_I) with fine steps. - -What: /sys/bus/iio/devices/iio:deviceX/in_altvoltage0_q_calibscale_fine -KernelVersion: 5.18 -Contact: linux-iio@vger.kernel.org -Description: - Read/write value for the digital attenuator gain (IF_Q) with fine steps. +What: /sys/bus/iio/devices/iio:deviceX/in_altvoltage0_i_calibscale_coarse +KernelVersion: 5.18 +Contact: linux-iio@vger.kernel.org +Description: + Read/write value for the digital attenuator gain (IF_I) with coarse steps. + +What: /sys/bus/iio/devices/iio:deviceX/in_altvoltage0_q_calibscale_coarse +KernelVersion: 5.18 +Contact: linux-iio@vger.kernel.org +Description: + Read/write value for the digital attenuator gain (IF_Q) with coarse steps. + +What: /sys/bus/iio/devices/iio:deviceX/in_altvoltage0_i_calibscale_fine +KernelVersion: 5.18 +Contact: linux-iio@vger.kernel.org +Description: + Read/write value for the digital attenuator gain (IF_I) with fine steps. + +What: /sys/bus/iio/devices/iio:deviceX/in_altvoltage0_q_calibscale_fine +KernelVersion: 5.18 +Contact: linux-iio@vger.kernel.org +Description: + Read/write value for the digital attenuator gain (IF_Q) with fine steps. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-ina2xx-adc b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-ina2xx-adc index f955d9200e..8dbca11311 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-ina2xx-adc +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-ina2xx-adc @@ -1,15 +1,15 @@ -What: /sys/bus/iio/devices/iio:deviceX/in_allow_async_readout -Date: December 2015 -KernelVersion: 4.4 -Contact: linux-iio@vger.kernel.org -Description: - By default (value '0'), the capture thread checks for the Conversion - Ready Flag to being set prior to committing a new value to the sample - buffer. This synchronizes the in-chip conversion rate with the - in-driver readout rate at the cost of an additional register read. - - Writing '1' will remove the polling for the Conversion Ready Flags to - save the additional i2c transaction, which will improve the bandwidth - available for reading data. However, samples can be occasionally skipped - or repeated, depending on the beat between the capture and conversion - rates. +What: /sys/bus/iio/devices/iio:deviceX/in_allow_async_readout +Date: December 2015 +KernelVersion: 4.4 +Contact: linux-iio@vger.kernel.org +Description: + By default (value '0'), the capture thread checks for the Conversion + Ready Flag to being set prior to committing a new value to the sample + buffer. This synchronizes the in-chip conversion rate with the + in-driver readout rate at the cost of an additional register read. + + Writing '1' will remove the polling for the Conversion Ready Flags to + save the additional i2c transaction, which will improve the bandwidth + available for reading data. However, samples can be occasionally skipped + or repeated, depending on the beat between the capture and conversion + rates. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-inv_icm42600 b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-inv_icm42600 index c7631d012a..7eeacfb765 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-inv_icm42600 +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-inv_icm42600 @@ -1,18 +1,18 @@ -What: /sys/bus/iio/devices/iio:deviceX/in_accel_power_mode -KernelVersion: 6.11 -Contact: linux-iio@vger.kernel.org -Description: - Accelerometer power mode. Setting this attribute will set the - requested power mode to use if the ODR support it. If ODR - support only 1 mode, power mode will be enforced. - Reading this attribute will return the current accelerometer - power mode if the sensor is on, or the requested value if the - sensor is off. The value between real and requested value can - be different for ODR supporting only 1 mode. - -What: /sys/bus/iio/devices/iio:deviceX/in_accel_power_mode_available -KernelVersion: 6.11 -Contact: linux-iio@vger.kernel.org -Description: - List of available accelerometer power modes that can be set in - in_accel_power_mode attribute. +What: /sys/bus/iio/devices/iio:deviceX/in_accel_power_mode +KernelVersion: 6.11 +Contact: linux-iio@vger.kernel.org +Description: + Accelerometer power mode. Setting this attribute will set the + requested power mode to use if the ODR support it. If ODR + support only 1 mode, power mode will be enforced. + Reading this attribute will return the current accelerometer + power mode if the sensor is on, or the requested value if the + sensor is off. The value between real and requested value can + be different for ODR supporting only 1 mode. + +What: /sys/bus/iio/devices/iio:deviceX/in_accel_power_mode_available +KernelVersion: 6.11 +Contact: linux-iio@vger.kernel.org +Description: + List of available accelerometer power modes that can be set in + in_accel_power_mode attribute. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-light-si1133 b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-light-si1133 index 9375272ee5..6f130cdb26 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-light-si1133 +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-light-si1133 @@ -1,22 +1,22 @@ -What: /sys/bus/iio/devices/iio:deviceX/in_intensity_ir_small_raw -KernelVersion: 4.18 -Contact: linux-iio@vger.kernel.org -Description: - Unit-less infrared intensity. The intensity is measured from 1 - dark photodiode. "small" indicate the surface area capturing - infrared. - -What: /sys/bus/iio/devices/iio:deviceX/in_intensity_ir_large_raw -KernelVersion: 4.18 -Contact: linux-iio@vger.kernel.org -Description: - Unit-less infrared intensity. The intensity is measured from 4 - dark photodiodes. "large" indicate the surface area capturing - infrared. - -What: /sys/bus/iio/devices/iio:deviceX/in_intensity_large_raw -KernelVersion: 4.18 -Contact: linux-iio@vger.kernel.org -Description: - Unit-less light intensity with more diodes. - +What: /sys/bus/iio/devices/iio:deviceX/in_intensity_ir_small_raw +KernelVersion: 4.18 +Contact: linux-iio@vger.kernel.org +Description: + Unit-less infrared intensity. The intensity is measured from 1 + dark photodiode. "small" indicate the surface area capturing + infrared. + +What: /sys/bus/iio/devices/iio:deviceX/in_intensity_ir_large_raw +KernelVersion: 4.18 +Contact: linux-iio@vger.kernel.org +Description: + Unit-less infrared intensity. The intensity is measured from 4 + dark photodiodes. "large" indicate the surface area capturing + infrared. + +What: /sys/bus/iio/devices/iio:deviceX/in_intensity_large_raw +KernelVersion: 4.18 +Contact: linux-iio@vger.kernel.org +Description: + Unit-less light intensity with more diodes. + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-light-tsl2583 b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-light-tsl2583 index 63666912b0..a2e19964e8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-light-tsl2583 +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-light-tsl2583 @@ -1,20 +1,20 @@ -What: /sys/bus/iio/devices/device[n]/in_illuminance_calibrate -KernelVersion: 2.6.37 -Contact: linux-iio@vger.kernel.org -Description: - This property 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_illuminance_lux_table -KernelVersion: 2.6.37 -Contact: linux-iio@vger.kernel.org -Description: - This property gets/sets the table of coefficients - used in calculating illuminance in lux. - -What: /sys/bus/iio/devices/device[n]/in_illuminance_input_target -KernelVersion: 2.6.37 -Contact: linux-iio@vger.kernel.org -Description: - This property is the known externally illuminance (in lux). - It is used in the process of calibrating the device accuracy. +What: /sys/bus/iio/devices/device[n]/in_illuminance_calibrate +KernelVersion: 2.6.37 +Contact: linux-iio@vger.kernel.org +Description: + This property 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_illuminance_lux_table +KernelVersion: 2.6.37 +Contact: linux-iio@vger.kernel.org +Description: + This property gets/sets the table of coefficients + used in calculating illuminance in lux. + +What: /sys/bus/iio/devices/device[n]/in_illuminance_input_target +KernelVersion: 2.6.37 +Contact: linux-iio@vger.kernel.org +Description: + This property is the known externally illuminance (in lux). + It is used in the process of calibrating the device accuracy. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-magnetometer-hmc5843 b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-magnetometer-hmc5843 index 4e7c1709c1..13f099ef6a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-magnetometer-hmc5843 +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-magnetometer-hmc5843 @@ -1,20 +1,20 @@ -What: /sys/bus/iio/devices/iio:deviceX/meas_conf -What: /sys/bus/iio/devices/iio:deviceX/meas_conf_available -KernelVersion: 4.5 -Contact: linux-iio@vger.kernel.org -Description: - Current configuration and available configurations - for the bias current. - - ============ ============================================ - normal Normal measurement configurations (default) - positivebias Positive bias configuration - negativebias Negative bias configuration - disabled Only available on HMC5983. Disables magnetic - sensor and enables temperature sensor. - ============ ============================================ - - Note: - The effect of this configuration may vary - according to the device. For exact documentation - check the device's datasheet. +What: /sys/bus/iio/devices/iio:deviceX/meas_conf +What: /sys/bus/iio/devices/iio:deviceX/meas_conf_available +KernelVersion: 4.5 +Contact: linux-iio@vger.kernel.org +Description: + Current configuration and available configurations + for the bias current. + + ============ ============================================ + normal Normal measurement configurations (default) + positivebias Positive bias configuration + negativebias Negative bias configuration + disabled Only available on HMC5983. Disables magnetic + sensor and enables temperature sensor. + ============ ============================================ + + Note: + The effect of this configuration may vary + according to the device. For exact documentation + check the device's datasheet. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-mpu6050 b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-mpu6050 index 018ccdef89..cb53737aac 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-mpu6050 +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-mpu6050 @@ -1,13 +1,13 @@ -What: /sys/bus/iio/devices/iio:deviceX/in_gyro_matrix -What: /sys/bus/iio/devices/iio:deviceX/in_accel_matrix -What: /sys/bus/iio/devices/iio:deviceX/in_magn_matrix -KernelVersion: 3.4.0 -Contact: linux-iio@vger.kernel.org -Description: - This is mounting matrix for motion sensors. Mounting matrix - is a 3x3 unitary matrix. A typical mounting matrix would look like - [0, 1, 0; 1, 0, 0; 0, 0, -1]. Using this information, it would be - easy to tell the relative positions among sensors as well as their - positions relative to the board that holds these sensors. Identity matrix - [1, 0, 0; 0, 1, 0; 0, 0, 1] means sensor chip and device are perfectly - aligned with each other. All axes are exactly the same. +What: /sys/bus/iio/devices/iio:deviceX/in_gyro_matrix +What: /sys/bus/iio/devices/iio:deviceX/in_accel_matrix +What: /sys/bus/iio/devices/iio:deviceX/in_magn_matrix +KernelVersion: 3.4.0 +Contact: linux-iio@vger.kernel.org +Description: + This is mounting matrix for motion sensors. Mounting matrix + is a 3x3 unitary matrix. A typical mounting matrix would look like + [0, 1, 0; 1, 0, 0; 0, 0, -1]. Using this information, it would be + easy to tell the relative positions among sensors as well as their + positions relative to the board that holds these sensors. Identity matrix + [1, 0, 0; 0, 1, 0; 0, 0, 1] means sensor chip and device are perfectly + aligned with each other. All axes are exactly the same. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-proximity b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-proximity index 985c76cca5..9b9d1cc9b7 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-proximity +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-proximity @@ -1,24 +1,24 @@ -What: /sys/bus/iio/devices/iio:deviceX/in_proximity_nearlevel -Date: March 2020 -KernelVersion: 5.7 -Contact: linux-iio@vger.kernel.org -Description: - Near level for proximity sensors. This is a single integer - value that tells user space when an object should be - considered close to the device. If the value read from the - sensor is above or equal to the value in this file an object - should typically be considered near. - -What: /sys/bus/iio/devices/iio:deviceX/sensor_sensitivity -Date: March 2014 -KernelVersion: 3.15 -Contact: linux-iio@vger.kernel.org -Description: - Proximity sensors sometimes have a controllable amplifier - on the signal from which time of flight measurements are - taken. - The appropriate values to take is dependent on both the - sensor and its operating environment: - * as3935 (0-31 range) - 18 = indoors (default) - 14 = outdoors +What: /sys/bus/iio/devices/iio:deviceX/in_proximity_nearlevel +Date: March 2020 +KernelVersion: 5.7 +Contact: linux-iio@vger.kernel.org +Description: + Near level for proximity sensors. This is a single integer + value that tells user space when an object should be + considered close to the device. If the value read from the + sensor is above or equal to the value in this file an object + should typically be considered near. + +What: /sys/bus/iio/devices/iio:deviceX/sensor_sensitivity +Date: March 2014 +KernelVersion: 3.15 +Contact: linux-iio@vger.kernel.org +Description: + Proximity sensors sometimes have a controllable amplifier + on the signal from which time of flight measurements are + taken. + The appropriate values to take is dependent on both the + sensor and its operating environment: + * as3935 (0-31 range) + 18 = indoors (default) + 14 = outdoors diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-thermocouple b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-thermocouple index 848b86f9b5..01259df297 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-thermocouple +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-thermocouple @@ -1,18 +1,18 @@ -What: /sys/bus/iio/devices/iio:deviceX/fault_ovuv -KernelVersion: 5.1 -Contact: linux-iio@vger.kernel.org -Description: - Overvoltage or Undervoltage Input Fault. The internal circuitry - is protected from excessive voltages applied to the thermocouple - cables. The device can also detect if such a condition occurs. - - Reading returns '1' if input voltage is negative or greater - than VDD, otherwise '0'. - -What: /sys/bus/iio/devices/iio:deviceX/fault_oc -KernelVersion: 5.1 -Contact: linux-iio@vger.kernel.org -Description: - Open-circuit fault. The detection of open-circuit faults, - such as those caused by broken thermocouple wires. - Reading returns '1' if fault, '0' otherwise. +What: /sys/bus/iio/devices/iio:deviceX/fault_ovuv +KernelVersion: 5.1 +Contact: linux-iio@vger.kernel.org +Description: + Overvoltage or Undervoltage Input Fault. The internal circuitry + is protected from excessive voltages applied to the thermocouple + cables. The device can also detect if such a condition occurs. + + Reading returns '1' if input voltage is negative or greater + than VDD, otherwise '0'. + +What: /sys/bus/iio/devices/iio:deviceX/fault_oc +KernelVersion: 5.1 +Contact: linux-iio@vger.kernel.org +Description: + Open-circuit fault. The detection of open-circuit faults, + such as those caused by broken thermocouple wires. + Reading returns '1' if fault, '0' otherwise. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-intel_th-devices-pti b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-intel_th-devices-pti index 00db597932..df0b24fd02 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-intel_th-devices-pti +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-intel_th-devices-pti @@ -1,24 +1,24 @@ -What: /sys/bus/intel_th/devices/-pti/mode -Date: June 2015 -KernelVersion: 4.3 -Contact: Alexander Shishkin -Description: (RW) Configure PTI output width. Currently supported values - are 4, 8, 12, 16. - -What: /sys/bus/intel_th/devices/-pti/freerunning_clock -Date: June 2015 -KernelVersion: 4.3 -Contact: Alexander Shishkin -Description: (RW) 0: PTI trace clock acts as a strobe which only toggles - when there is trace data to send. 1: PTI trace clock is a - free-running clock. - -What: /sys/bus/intel_th/devices/-pti/clock_divider -Date: June 2015 -KernelVersion: 4.3 -Contact: Alexander Shishkin -Description: (RW) Configure PTI port clock divider: - - 0: Intel TH clock rate, - - 1: 1/2 Intel TH clock rate, - - 2: 1/4 Intel TH clock rate, - - 3: 1/8 Intel TH clock rate. +What: /sys/bus/intel_th/devices/-pti/mode +Date: June 2015 +KernelVersion: 4.3 +Contact: Alexander Shishkin +Description: (RW) Configure PTI output width. Currently supported values + are 4, 8, 12, 16. + +What: /sys/bus/intel_th/devices/-pti/freerunning_clock +Date: June 2015 +KernelVersion: 4.3 +Contact: Alexander Shishkin +Description: (RW) 0: PTI trace clock acts as a strobe which only toggles + when there is trace data to send. 1: PTI trace clock is a + free-running clock. + +What: /sys/bus/intel_th/devices/-pti/clock_divider +Date: June 2015 +KernelVersion: 4.3 +Contact: Alexander Shishkin +Description: (RW) Configure PTI port clock divider: + - 0: Intel TH clock rate, + - 1: 1/2 Intel TH clock rate, + - 2: 1/4 Intel TH clock rate, + - 3: 1/8 Intel TH clock rate. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-intel_th-output-devices b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-intel_th-output-devices index ffc4a794a2..d1f6671049 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-intel_th-output-devices +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-intel_th-output-devices @@ -1,15 +1,15 @@ -What: /sys/bus/intel_th/devices/-/active -Date: June 2015 -KernelVersion: 4.3 -Contact: Alexander Shishkin -Description: (RW) Writes of 1 or 0 enable or disable trace output to this - output device. Reads return current status. Requires that the - correstponding output port driver be loaded. - -What: /sys/bus/intel_th/devices/-msc/port -Date: June 2015 -KernelVersion: 4.3 -Contact: Alexander Shishkin -Description: (RO) Port number, corresponding to this output device on the - switch (GTH) or "unassigned" if the corresponding output - port driver is not loaded. +What: /sys/bus/intel_th/devices/-/active +Date: June 2015 +KernelVersion: 4.3 +Contact: Alexander Shishkin +Description: (RW) Writes of 1 or 0 enable or disable trace output to this + output device. Reads return current status. Requires that the + correstponding output port driver be loaded. + +What: /sys/bus/intel_th/devices/-msc/port +Date: June 2015 +KernelVersion: 4.3 +Contact: Alexander Shishkin +Description: (RO) Port number, corresponding to this output device on the + switch (GTH) or "unassigned" if the corresponding output + port driver is not loaded. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-mcb b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-mcb index 2692f8cd26..77947c5097 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-mcb +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-mcb @@ -1,29 +1,29 @@ -What: /sys/bus/mcb/devices/mcb:X -Date: March 2016 -KernelVersion: 4.7 -Contact: Johannes Thumshirn -Description: Hardware chip or device hosting the MEN chameleon bus - -What: /sys/bus/mcb/devices/mcb:X/revision -Date: March 2016 -KernelVersion: 4.7 -Contact: Johannes Thumshirn -Description: The FPGA's revision number - -What: /sys/bus/mcb/devices/mcb:X/minor -Date: March 2016 -KernelVersion: 4.7 -Contact: Johannes Thumshirn -Description: The FPGA's minor number - -What: /sys/bus/mcb/devices/mcb:X/model -Date: March 2016 -KernelVersion: 4.7 -Contact: Johannes Thumshirn -Description: The FPGA's model number - -What: /sys/bus/mcb/devices/mcb:X/name -Date: March 2016 -KernelVersion: 4.7 -Contact: Johannes Thumshirn -Description: The FPGA's name +What: /sys/bus/mcb/devices/mcb:X +Date: March 2016 +KernelVersion: 4.7 +Contact: Johannes Thumshirn +Description: Hardware chip or device hosting the MEN chameleon bus + +What: /sys/bus/mcb/devices/mcb:X/revision +Date: March 2016 +KernelVersion: 4.7 +Contact: Johannes Thumshirn +Description: The FPGA's revision number + +What: /sys/bus/mcb/devices/mcb:X/minor +Date: March 2016 +KernelVersion: 4.7 +Contact: Johannes Thumshirn +Description: The FPGA's minor number + +What: /sys/bus/mcb/devices/mcb:X/model +Date: March 2016 +KernelVersion: 4.7 +Contact: Johannes Thumshirn +Description: The FPGA's model number + +What: /sys/bus/mcb/devices/mcb:X/name +Date: March 2016 +KernelVersion: 4.7 +Contact: Johannes Thumshirn +Description: The FPGA's name diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-optee-devices b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-optee-devices index 18eb138780..af31e5a22d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-optee-devices +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-optee-devices @@ -1,17 +1,17 @@ -What: /sys/bus/tee/devices/optee-ta-/ -Date: May 2020 -KernelVersion 5.8 -Contact: op-tee@lists.trustedfirmware.org -Description: - OP-TEE bus provides reference to registered drivers under this directory. The - matches Trusted Application (TA) driver and corresponding TA in secure OS. Drivers - are free to create needed API under optee-ta- directory. - -What: /sys/bus/tee/devices/optee-ta-/need_supplicant -Date: November 2023 -KernelVersion: 6.7 -Contact: op-tee@lists.trustedfirmware.org -Description: - Allows to distinguish whether an OP-TEE based TA/device requires user-space - tee-supplicant to function properly or not. This attribute will be present for - devices which depend on tee-supplicant to be running. +What: /sys/bus/tee/devices/optee-ta-/ +Date: May 2020 +KernelVersion 5.8 +Contact: op-tee@lists.trustedfirmware.org +Description: + OP-TEE bus provides reference to registered drivers under this directory. The + matches Trusted Application (TA) driver and corresponding TA in secure OS. Drivers + are free to create needed API under optee-ta- directory. + +What: /sys/bus/tee/devices/optee-ta-/need_supplicant +Date: November 2023 +KernelVersion: 6.7 +Contact: op-tee@lists.trustedfirmware.org +Description: + Allows to distinguish whether an OP-TEE based TA/device requires user-space + tee-supplicant to function properly or not. This attribute will be present for + devices which depend on tee-supplicant to be running. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-pci-devices-pvpanic b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-pci-devices-pvpanic index 5e9c6dd7ab..4ec03cd363 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-pci-devices-pvpanic +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-pci-devices-pvpanic @@ -1,26 +1,26 @@ -What: /sys/devices/pci0000:00/*/QEMU0001:00/capability for MMIO - /sys/bus/pci/drivers/pvpanic-pci/0000:00:0*.0/capability for PCI -Date: Jan 2021 -Contact: zhenwei pi -Description: - Read-only attribute. Capabilities of pvpanic device which - are supported by QEMU. - - Format: %x. - - Detailed bit definition refers to section - from pvpanic device specification: - https://git.qemu.org/?p=qemu.git;a=blob_plain;f=docs/specs/pvpanic.txt - -What: /sys/devices/pci0000:00/*/QEMU0001:00/events - /sys/bus/pci/drivers/pvpanic-pci/0000:00:0*.0/events for PCI -Date: Jan 2021 -Contact: zhenwei pi -Description: - RW attribute. Set/get which features in-use. This attribute - is used to enable/disable feature(s) of pvpanic device. - Notice that this value should be a subset of capability. - - Format: %x. - - Also refer to pvpanic device specification. +What: /sys/devices/pci0000:00/*/QEMU0001:00/capability for MMIO + /sys/bus/pci/drivers/pvpanic-pci/0000:00:0*.0/capability for PCI +Date: Jan 2021 +Contact: zhenwei pi +Description: + Read-only attribute. Capabilities of pvpanic device which + are supported by QEMU. + + Format: %x. + + Detailed bit definition refers to section + from pvpanic device specification: + https://git.qemu.org/?p=qemu.git;a=blob_plain;f=docs/specs/pvpanic.txt + +What: /sys/devices/pci0000:00/*/QEMU0001:00/events + /sys/bus/pci/drivers/pvpanic-pci/0000:00:0*.0/events for PCI +Date: Jan 2021 +Contact: zhenwei pi +Description: + RW attribute. Set/get which features in-use. This attribute + is used to enable/disable feature(s) of pvpanic device. + Notice that this value should be a subset of capability. + + Format: %x. + + Also refer to pvpanic device specification. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-platform-devices-occ-hwmon b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-platform-devices-occ-hwmon index aaf0084515..b24d7ab027 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-platform-devices-occ-hwmon +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-platform-devices-occ-hwmon @@ -1,13 +1,13 @@ -What: /sys/bus/platform/devices/occ-hwmon.X/ffdc -KernelVersion: 5.15 -Contact: eajames@linux.ibm.com -Description: - Contains the First Failure Data Capture from the SBEFIFO - hardware, if there is any from a previous transfer. Otherwise, - the file is empty. The data is cleared when it's been - completely read by a user. As the name suggests, only the data - from the first error is saved, until it's cleared upon read. The OCC hwmon driver, running on - a Baseboard Management Controller (BMC), communicates with - POWER9 and up processors over the Self-Boot Engine (SBE) FIFO. - In many error conditions, the SBEFIFO will return error data - indicating the type of error and system state, etc. +What: /sys/bus/platform/devices/occ-hwmon.X/ffdc +KernelVersion: 5.15 +Contact: eajames@linux.ibm.com +Description: + Contains the First Failure Data Capture from the SBEFIFO + hardware, if there is any from a previous transfer. Otherwise, + the file is empty. The data is cleared when it's been + completely read by a user. As the name suggests, only the data + from the first error is saved, until it's cleared upon read. The OCC hwmon driver, running on + a Baseboard Management Controller (BMC), communicates with + POWER9 and up processors over the Self-Boot Engine (SBE) FIFO. + In many error conditions, the SBEFIFO will return error data + indicating the type of error and system state, etc. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-bsr b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-bsr index 83f82d7b5b..7bf145d32c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-bsr +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-bsr @@ -1,25 +1,25 @@ -What: /sys/class/bsr/bsr*/bsr_size -Date: Jul, 2008 -KernelVersion: 2.6.27 -Contact: Arnd Bergmann , - Greg Kroah-Hartman -Description: - (RO) Size of the barrier-synchronization register (BSR) - register in bytes. - -What: /sys/class/bsr/bsr*/bsr_length -Date: Jul, 2008 -KernelVersion: 2.6.27 -Contact: Arnd Bergmann , - Greg Kroah-Hartman -Description: - (RO) The length of memory region that can be mapped in bytes. - -What: /sys/class/bsr/bsr*/bsr_stride -Date: Jul, 2008 -KernelVersion: 2.6.27 -Contact: Arnd Bergmann , - Greg Kroah-Hartman -Description: - (RO) The stride or the interval at which the allocated BSR bytes - repeat within the mapping. +What: /sys/class/bsr/bsr*/bsr_size +Date: Jul, 2008 +KernelVersion: 2.6.27 +Contact: Arnd Bergmann , + Greg Kroah-Hartman +Description: + (RO) Size of the barrier-synchronization register (BSR) + register in bytes. + +What: /sys/class/bsr/bsr*/bsr_length +Date: Jul, 2008 +KernelVersion: 2.6.27 +Contact: Arnd Bergmann , + Greg Kroah-Hartman +Description: + (RO) The length of memory region that can be mapped in bytes. + +What: /sys/class/bsr/bsr*/bsr_stride +Date: Jul, 2008 +KernelVersion: 2.6.27 +Contact: Arnd Bergmann , + Greg Kroah-Hartman +Description: + (RO) The stride or the interval at which the allocated BSR bytes + repeat within the mapping. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-fc_host b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-fc_host index dd707523b8..0a696cbd82 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-fc_host +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-fc_host @@ -1,23 +1,23 @@ -What: /sys/class/fc_host/hostX/statistics/fpin_cn_yyy -Date: July 2020 -Contact: Shyam Sundar -Description: - These files contain the number of congestion notification - events recorded by the F_Port, reported using fabric - performance impact notification (FPIN) event. - -What: /sys/class/fc_host/hostX/statistics/fpin_li_yyy -Date: July 2020 -Contact: Shyam Sundar -Description: - These files contain the number of link integrity error - events recorded by the F_Port/Nx_Port, reported using fabric - performance impact notification (FPIN) event. - -What: /sys/class/fc_host/hostX/statistics/fpin_dn_yyy -Date: July 2020 -Contact: Shyam Sundar -Description: - These files contain the number of delivery related errors - recorded by the F_Port/Nx_Port, reported using fabric - performance impact notification (FPIN) event. +What: /sys/class/fc_host/hostX/statistics/fpin_cn_yyy +Date: July 2020 +Contact: Shyam Sundar +Description: + These files contain the number of congestion notification + events recorded by the F_Port, reported using fabric + performance impact notification (FPIN) event. + +What: /sys/class/fc_host/hostX/statistics/fpin_li_yyy +Date: July 2020 +Contact: Shyam Sundar +Description: + These files contain the number of link integrity error + events recorded by the F_Port/Nx_Port, reported using fabric + performance impact notification (FPIN) event. + +What: /sys/class/fc_host/hostX/statistics/fpin_dn_yyy +Date: July 2020 +Contact: Shyam Sundar +Description: + These files contain the number of delivery related errors + recorded by the F_Port/Nx_Port, reported using fabric + performance impact notification (FPIN) event. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-fc_remote_ports b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-fc_remote_ports index 192e33102a..55a951529e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-fc_remote_ports +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-fc_remote_ports @@ -1,23 +1,23 @@ -What: /sys/class/fc_remote_ports/rport-X:Y-Z/statistics/fpin_cn_yyy -Date: July 2020 -Contact: Shyam Sundar -Description: - These files contain the number of congestion notification - events recorded by the F_Port/Nx_Port, reported using fabric - performance impact notification (FPIN) event. - -What: /sys/class/fc_remote_ports/rport-X:Y-Z/statistics/fpin_li_yyy -Date: July 2020 -Contact: Shyam Sundar -Description: - These files contain the number of link integrity error - events recorded by the F_Port/Nx_Port, reported using fabric - performance impact notification (FPIN) event. - -What: /sys/class/fc_remote_ports/rport-X:Y-Z/statistics/fpin_dn_yyy -Date: July 2020 -Contact: Shyam Sundar -Description: - These files contain the number of delivery related errors - recorded by the F_Port/Nx_Port, reported using fabric - performance impact notification (FPIN) event. +What: /sys/class/fc_remote_ports/rport-X:Y-Z/statistics/fpin_cn_yyy +Date: July 2020 +Contact: Shyam Sundar +Description: + These files contain the number of congestion notification + events recorded by the F_Port/Nx_Port, reported using fabric + performance impact notification (FPIN) event. + +What: /sys/class/fc_remote_ports/rport-X:Y-Z/statistics/fpin_li_yyy +Date: July 2020 +Contact: Shyam Sundar +Description: + These files contain the number of link integrity error + events recorded by the F_Port/Nx_Port, reported using fabric + performance impact notification (FPIN) event. + +What: /sys/class/fc_remote_ports/rport-X:Y-Z/statistics/fpin_dn_yyy +Date: July 2020 +Contact: Shyam Sundar +Description: + These files contain the number of delivery related errors + recorded by the F_Port/Nx_Port, reported using fabric + performance impact notification (FPIN) event. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-lcd b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-lcd index 291f195ed8..35906bf7aa 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-lcd +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-lcd @@ -1,23 +1,23 @@ -What: /sys/class/lcd//lcd_power -Date: April 2005 -KernelVersion: 2.6.12 -Contact: Richard Purdie -Description: - Control LCD power, values are FB_BLANK_* from fb.h - - FB_BLANK_UNBLANK (0) : power on. - - FB_BLANK_POWERDOWN (4) : power off - -What: /sys/class/lcd//contrast -Date: April 2005 -KernelVersion: 2.6.12 -Contact: Richard Purdie -Description: - Current contrast of this LCD device. Value is between 0 and - /sys/class/lcd//max_contrast. - -What: /sys/class/lcd//max_contrast -Date: April 2005 -KernelVersion: 2.6.12 -Contact: Richard Purdie -Description: - Maximum contrast for this LCD device. +What: /sys/class/lcd//lcd_power +Date: April 2005 +KernelVersion: 2.6.12 +Contact: Richard Purdie +Description: + Control LCD power, values are FB_BLANK_* from fb.h + - FB_BLANK_UNBLANK (0) : power on. + - FB_BLANK_POWERDOWN (4) : power off + +What: /sys/class/lcd//contrast +Date: April 2005 +KernelVersion: 2.6.12 +Contact: Richard Purdie +Description: + Current contrast of this LCD device. Value is between 0 and + /sys/class/lcd//max_contrast. + +What: /sys/class/lcd//max_contrast +Date: April 2005 +KernelVersion: 2.6.12 +Contact: Richard Purdie +Description: + Maximum contrast for this LCD device. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-led-multicolor b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-led-multicolor index bd4140ac01..16fc827b10 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-led-multicolor +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-led-multicolor @@ -1,24 +1,24 @@ - -What: /sys/class/leds//multi_index -Date: March 2020 -KernelVersion: 5.9 -Contact: Dan Murphy -Description: read - The multi_index array, when read, will output the LED colors - as an array of strings as they are indexed in the - multi_intensity file. - - For additional details please refer to - Documentation/leds/leds-class-multicolor.rst. - -What: /sys/class/leds//multi_intensity -Date: March 2020 -KernelVersion: 5.9 -Contact: Dan Murphy -Description: read/write - This file contains array of integers. Order of components is - described by the multi_index array. The maximum intensity should - not exceed /sys/class/leds//max_brightness. - - For additional details please refer to - Documentation/leds/leds-class-multicolor.rst. + +What: /sys/class/leds//multi_index +Date: March 2020 +KernelVersion: 5.9 +Contact: Dan Murphy +Description: read + The multi_index array, when read, will output the LED colors + as an array of strings as they are indexed in the + multi_intensity file. + + For additional details please refer to + Documentation/leds/leds-class-multicolor.rst. + +What: /sys/class/leds//multi_intensity +Date: March 2020 +KernelVersion: 5.9 +Contact: Dan Murphy +Description: read/write + This file contains array of integers. Order of components is + described by the multi_index array. The maximum intensity should + not exceed /sys/class/leds//max_brightness. + + For additional details please refer to + Documentation/leds/leds-class-multicolor.rst. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-net-dsa b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-net-dsa index 62d3a7bc00..e2da26b44d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-net-dsa +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-net-dsa @@ -1,14 +1,14 @@ -What: /sys/class/net//dsa/tagging -Date: August 2018 -KernelVersion: 4.20 -Contact: netdev@vger.kernel.org -Description: - On read, this file returns a string indicating the type of - tagging protocol used by the DSA network devices that are - attached to this master interface. - On write, this file changes the tagging protocol of the - attached DSA switches, if this operation is supported by the - driver. Changing the tagging protocol must be done with the DSA - interfaces and the master interface all administratively down. - See the "name" field of each registered struct dsa_device_ops - for a list of valid values. +What: /sys/class/net//dsa/tagging +Date: August 2018 +KernelVersion: 4.20 +Contact: netdev@vger.kernel.org +Description: + On read, this file returns a string indicating the type of + tagging protocol used by the DSA network devices that are + attached to this master interface. + On write, this file changes the tagging protocol of the + attached DSA switches, if this operation is supported by the + driver. Changing the tagging protocol must be done with the DSA + interfaces and the master interface all administratively down. + See the "name" field of each registered struct dsa_device_ops + for a list of valid values. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-net-janz-ican3 b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-net-janz-ican3 index c7350734dc..fdbc03a2b8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-net-janz-ican3 +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-net-janz-ican3 @@ -1,19 +1,19 @@ -What: /sys/class/net//termination -Date: May 2010 -KernelVersion: 2.6.35 -Contact: Ira W. Snyder -Description: - Value representing the can bus termination - - Default: 1 (termination active) - Reading: get actual termination state - Writing: set actual termination state (0=no termination, 1=termination active) - -What: /sys/class/net//fwinfo -Date: May 2015 -KernelVersion: 3.19 -Contact: Andreas Gröger -Description: - Firmware stamp of ican3 module - Read-only: 32 byte string identification of the ICAN3 module - (known values: "JANZ-ICAN3 ICANOS 1.xx", "JANZ-ICAN3 CAL/CANopen 1.xx") +What: /sys/class/net//termination +Date: May 2010 +KernelVersion: 2.6.35 +Contact: Ira W. Snyder +Description: + Value representing the can bus termination + + Default: 1 (termination active) + Reading: get actual termination state + Writing: set actual termination state (0=no termination, 1=termination active) + +What: /sys/class/net//fwinfo +Date: May 2015 +KernelVersion: 3.19 +Contact: Andreas Gröger +Description: + Firmware stamp of ican3 module + Read-only: 32 byte string identification of the ICAN3 module + (known values: "JANZ-ICAN3 ICANOS 1.xx", "JANZ-ICAN3 CAL/CANopen 1.xx") diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-net-peak_usb b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-net-peak_usb index 2544340a67..9e3d0bf4d4 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-net-peak_usb +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-net-peak_usb @@ -1,19 +1,19 @@ - -What: /sys/class/net//peak_usb/can_channel_id -Date: November 2022 -KernelVersion: 6.2 -Contact: Stephane Grosjean -Description: - PEAK PCAN-USB devices support user-configurable CAN channel - identifiers. Contrary to a USB serial number, these identifiers - are writable and can be set per CAN interface. This means that - if a USB device exports multiple CAN interfaces, each of them - can be assigned a unique channel ID. - This attribute provides read-only access to the currently - configured value of the channel identifier. Depending on the - device type, the identifier has a length of 8 or 32 bit. The - value read from this attribute is always an 8 digit 32 bit - hexadecimal value in big endian format. If the device only - supports an 8 bit identifier, the upper 24 bit of the value are - set to zero. - + +What: /sys/class/net//peak_usb/can_channel_id +Date: November 2022 +KernelVersion: 6.2 +Contact: Stephane Grosjean +Description: + PEAK PCAN-USB devices support user-configurable CAN channel + identifiers. Contrary to a USB serial number, these identifiers + are writable and can be set per CAN interface. This means that + if a USB device exports multiple CAN interfaces, each of them + can be assigned a unique channel ID. + This attribute provides read-only access to the currently + configured value of the channel identifier. Depending on the + device type, the identifier has a length of 8 or 32 bit. The + value read from this attribute is always an 8 digit 32 bit + hexadecimal value in big endian format. If the device only + supports an 8 bit identifier, the upper 24 bit of the value are + set to zero. + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-power-rt9467 b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-power-rt9467 index d46ac4b9a0..619b7c45d1 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-power-rt9467 +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-power-rt9467 @@ -1,19 +1,19 @@ -What: /sys/class/power_supply/rt9467-*/sysoff_enable -Date: Feb 2023 -KernelVersion: 6.3 -Contact: ChiaEn Wu -Description: - This entry allows enabling the sysoff mode of rt9467 charger - devices. - If enabled and the input is removed, the internal battery FET - is turned off to reduce the leakage from the BAT pin. See - device datasheet for details. It's commonly used when the - product enter shipping stage. After entering shipping mode, - only 'VBUS' or 'Power key" pressed can make it leave this mode. - 'Disable' also can help to leave it, but it's more like to - abort the action before the device really enter shipping mode. - - Access: Read, Write - Valid values: - - 1: enabled - - 0: disabled +What: /sys/class/power_supply/rt9467-*/sysoff_enable +Date: Feb 2023 +KernelVersion: 6.3 +Contact: ChiaEn Wu +Description: + This entry allows enabling the sysoff mode of rt9467 charger + devices. + If enabled and the input is removed, the internal battery FET + is turned off to reduce the leakage from the BAT pin. See + device datasheet for details. It's commonly used when the + product enter shipping stage. After entering shipping mode, + only 'VBUS' or 'Power key" pressed can make it leave this mode. + 'Disable' also can help to leave it, but it's more like to + abort the action before the device really enter shipping mode. + + Access: Read, Write + Valid values: + - 1: enabled + - 0: disabled diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-rtc-rtc0-device-rtc_calibration b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-rtc-rtc0-device-rtc_calibration index cbdd1bb09b..ee8ed6494a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-rtc-rtc0-device-rtc_calibration +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-rtc-rtc0-device-rtc_calibration @@ -1,14 +1,14 @@ -What: /sys/class/rtc/rtc0/device/rtc_calibration -Date: Oct 2011 -KernelVersion: 3.0 -Contact: Mark Godfrey -Description: Attribute for calibrating ST-Ericsson AB8500 Real Time Clock - The rtc_calibration attribute allows the userspace to - calibrate the AB8500.s 32KHz Real Time Clock. - Every 60 seconds the AB8500 will correct the RTC's value - by adding to it the value of this attribute. - - The range of the attribute is -127 to +127 in units of - 30.5 micro-seconds (half-parts-per-million of the 32KHz clock) -Users: The /vendor/st-ericsson/base_utilities/core/rtc_calibration - daemon uses this interface. +What: /sys/class/rtc/rtc0/device/rtc_calibration +Date: Oct 2011 +KernelVersion: 3.0 +Contact: Mark Godfrey +Description: Attribute for calibrating ST-Ericsson AB8500 Real Time Clock + The rtc_calibration attribute allows the userspace to + calibrate the AB8500.s 32KHz Real Time Clock. + Every 60 seconds the AB8500 will correct the RTC's value + by adding to it the value of this attribute. + + The range of the attribute is -127 to +127 in units of + 30.5 micro-seconds (half-parts-per-million of the 32KHz clock) +Users: The /vendor/st-ericsson/base_utilities/core/rtc_calibration + daemon uses this interface. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-spi-eeprom b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-spi-eeprom index 7cb90a8c58..1ff7579820 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-spi-eeprom +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-spi-eeprom @@ -1,19 +1,19 @@ -What: /sys/class/spi_master/spi/spi./fram -Date: June 2021 -KernelVersion: 5.14 -Contact: Jiri Prchal -Description: - Contains the FRAM binary data. Same as EEPROM, just another file - name to indicate that it employs ferroelectric process. - It performs write operations at bus speed - no write delays. - -What: /sys/class/spi_master/spi/spi./sernum -Date: May 2021 -KernelVersion: 5.14 -Contact: Jiri Prchal -Description: - Contains the serial number of the Cypress FRAM (FM25VN) if it is - present. It will be displayed as a 8 byte hex string, as read - from the device. - - This is a read-only attribute. +What: /sys/class/spi_master/spi/spi./fram +Date: June 2021 +KernelVersion: 5.14 +Contact: Jiri Prchal +Description: + Contains the FRAM binary data. Same as EEPROM, just another file + name to indicate that it employs ferroelectric process. + It performs write operations at bus speed - no write delays. + +What: /sys/class/spi_master/spi/spi./sernum +Date: May 2021 +KernelVersion: 5.14 +Contact: Jiri Prchal +Description: + Contains the serial number of the Cypress FRAM (FM25VN) if it is + present. It will be displayed as a 8 byte hex string, as read + from the device. + + This is a read-only attribute. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-stm b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-stm index 50675ff0b2..77ed3da0f6 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-stm +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-stm @@ -1,24 +1,24 @@ -What: /sys/class/stm//masters -Date: June 2015 -KernelVersion: 4.3 -Contact: Alexander Shishkin -Description: - Shows first and last available to software master numbers on - this STM device. - -What: /sys/class/stm//channels -Date: June 2015 -KernelVersion: 4.3 -Contact: Alexander Shishkin -Description: - Shows the number of channels per master on this STM device. - -What: /sys/class/stm//hw_override -Date: March 2016 -KernelVersion: 4.7 -Contact: Alexander Shishkin -Description: - Reads as 0 if master numbers in the STP stream produced by - this stm device will match the master numbers assigned by - the software or 1 if the stm hardware overrides software - assigned masters. +What: /sys/class/stm//masters +Date: June 2015 +KernelVersion: 4.3 +Contact: Alexander Shishkin +Description: + Shows first and last available to software master numbers on + this STM device. + +What: /sys/class/stm//channels +Date: June 2015 +KernelVersion: 4.3 +Contact: Alexander Shishkin +Description: + Shows the number of channels per master on this STM device. + +What: /sys/class/stm//hw_override +Date: March 2016 +KernelVersion: 4.7 +Contact: Alexander Shishkin +Description: + Reads as 0 if master numbers in the STP stream produced by + this stm device will match the master numbers assigned by + the software or 1 if the stm hardware overrides software + assigned masters. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-tee b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-tee index 7f62b6c39d..c9144d1600 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-tee +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-tee @@ -1,15 +1,15 @@ -What: /sys/class/tee/tee{,priv}X/rpmb_routing_model -Date: May 2024 -KernelVersion: 6.10 -Contact: op-tee@lists.trustedfirmware.org -Description: - RPMB frames can be routed to the RPMB device via the - user-space daemon tee-supplicant or the RPMB subsystem - in the kernel. The value "user" means that the driver - will route the RPMB frames via user space. Conversely, - "kernel" means that the frames are routed via the RPMB - subsystem without assistance from tee-supplicant. It - should be assumed that RPMB frames are routed via user - space if the variable is absent. The primary purpose - of this variable is to let systemd know whether - tee-supplicant is needed in the early boot with initramfs. +What: /sys/class/tee/tee{,priv}X/rpmb_routing_model +Date: May 2024 +KernelVersion: 6.10 +Contact: op-tee@lists.trustedfirmware.org +Description: + RPMB frames can be routed to the RPMB device via the + user-space daemon tee-supplicant or the RPMB subsystem + in the kernel. The value "user" means that the driver + will route the RPMB frames via user space. Conversely, + "kernel" means that the frames are routed via the RPMB + subsystem without assistance from tee-supplicant. It + should be assumed that RPMB frames are routed via user + space if the variable is absent. The primary purpose + of this variable is to let systemd know whether + tee-supplicant is needed in the early boot with initramfs. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-usb_role b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-usb_role index 8c93e5dbd2..9fab3f0667 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-usb_role +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-usb_role @@ -1,27 +1,27 @@ -What: /sys/class/usb_role/ -Date: Jan 2018 -Contact: Heikki Krogerus -Description: - Place in sysfs for USB Role Switches. USB Role Switch is a - device that can select the data role (host or device) for USB - port. - -What: /sys/class/usb_role//role -Date: Jan 2018 -Contact: Heikki Krogerus -Description: - The current role of the switch. This attribute can be used for - requesting role swapping with non-USB Type-C ports. With USB - Type-C ports, the ABI defined for USB Type-C connector class - must be used. - - Valid values: - - none - - host - - device - -What: /sys/class/usb_role//connector -Date: Feb 2024 -Contact: Heikki Krogerus -Description: - Optional symlink to the USB Type-C connector. +What: /sys/class/usb_role/ +Date: Jan 2018 +Contact: Heikki Krogerus +Description: + Place in sysfs for USB Role Switches. USB Role Switch is a + device that can select the data role (host or device) for USB + port. + +What: /sys/class/usb_role//role +Date: Jan 2018 +Contact: Heikki Krogerus +Description: + The current role of the switch. This attribute can be used for + requesting role swapping with non-USB Type-C ports. With USB + Type-C ports, the ABI defined for USB Type-C connector class + must be used. + + Valid values: + - none + - host + - device + +What: /sys/class/usb_role//connector +Date: Feb 2024 +Contact: Heikki Krogerus +Description: + Optional symlink to the USB Type-C connector. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-zram b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-zram index f5ea93a9f7..48ddacbe0e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-zram +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-zram @@ -1,24 +1,24 @@ -What: /sys/class/zram-control/ -Date: August 2015 -KernelVersion: 4.2 -Contact: Sergey Senozhatsky -Description: - The zram-control/ class sub-directory belongs to zram - device class - -What: /sys/class/zram-control/hot_add -Date: August 2015 -KernelVersion: 4.2 -Contact: Sergey Senozhatsky -Description: - RO attribute. Read operation will cause zram to add a new - device and return its device id back to user (so one can - use /dev/zram), or error code. - -What: /sys/class/zram-control/hot_remove -Date: August 2015 -KernelVersion: 4.2 -Contact: Sergey Senozhatsky -Description: - WO attribute. Remove a specific /dev/zramX device, where X - is a device_id provided by user. +What: /sys/class/zram-control/ +Date: August 2015 +KernelVersion: 4.2 +Contact: Sergey Senozhatsky +Description: + The zram-control/ class sub-directory belongs to zram + device class + +What: /sys/class/zram-control/hot_add +Date: August 2015 +KernelVersion: 4.2 +Contact: Sergey Senozhatsky +Description: + RO attribute. Read operation will cause zram to add a new + device and return its device id back to user (so one can + use /dev/zram), or error code. + +What: /sys/class/zram-control/hot_remove +Date: August 2015 +KernelVersion: 4.2 +Contact: Sergey Senozhatsky +Description: + WO attribute. Remove a specific /dev/zramX device, where X + is a device_id provided by user. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-dev b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-dev index df4d4a47b9..d1739063e7 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-dev +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-dev @@ -1,21 +1,21 @@ -What: /sys/dev -Date: April 2008 -KernelVersion: 2.6.26 -Contact: Dan Williams -Description: The /sys/dev tree provides a method to look up the sysfs - path for a device using the information returned from - stat(2). There are two directories, 'block' and 'char', - beneath /sys/dev containing symbolic links with names of - the form ":". These links point to the - corresponding sysfs path for the given device. - - Example:: - - $ readlink /sys/dev/block/8:32 - ../../block/sdc - - Entries in /sys/dev/char and /sys/dev/block will be - dynamically created and destroyed as devices enter and - leave the system. - -Users: mdadm +What: /sys/dev +Date: April 2008 +KernelVersion: 2.6.26 +Contact: Dan Williams +Description: The /sys/dev tree provides a method to look up the sysfs + path for a device using the information returned from + stat(2). There are two directories, 'block' and 'char', + beneath /sys/dev containing symbolic links with names of + the form ":". These links point to the + corresponding sysfs path for the given device. + + Example:: + + $ readlink /sys/dev/block/8:32 + ../../block/sdc + + Entries in /sys/dev/char and /sys/dev/block will be + dynamically created and destroyed as devices enter and + leave the system. + +Users: mdadm diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-firmware_node b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-firmware_node index ff831396c1..46badc9ea2 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-firmware_node +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-firmware_node @@ -1,17 +1,17 @@ -What: /sys/devices/.../firmware_node/ -Date: September 2012 -Contact: <> -Description: - The /sys/devices/.../firmware_node directory contains attributes - allowing the user space to check and modify some firmware - related properties of given device. - -What: /sys/devices/.../firmware_node/description -Date: September 2012 -Contact: Lance Ortiz -Description: - The /sys/devices/.../firmware/description attribute contains a string - that describes the device as provided by the _STR method in the ACPI - namespace. This attribute is read-only. If the device does not have - an _STR method associated with it in the ACPI namespace, this - attribute is not present. +What: /sys/devices/.../firmware_node/ +Date: September 2012 +Contact: <> +Description: + The /sys/devices/.../firmware_node directory contains attributes + allowing the user space to check and modify some firmware + related properties of given device. + +What: /sys/devices/.../firmware_node/description +Date: September 2012 +Contact: Lance Ortiz +Description: + The /sys/devices/.../firmware/description attribute contains a string + that describes the device as provided by the _STR method in the ACPI + namespace. This attribute is read-only. If the device does not have + an _STR method associated with it in the ACPI namespace, this + attribute is not present. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-platform-_UDC_-gadget b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-platform-_UDC_-gadget index 2fa82a5f8a..40f29a01fd 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-platform-_UDC_-gadget +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-platform-_UDC_-gadget @@ -1,23 +1,23 @@ -What: /sys/devices/platform/_UDC_/gadget/suspended -Date: April 2010 -Contact: Fabien Chouteau -Description: - Show the suspend state of an USB composite gadget. - - - 1 -> suspended - - 0 -> resumed - - (_UDC_ is the name of the USB Device Controller driver) - -What: /sys/devices/platform/_UDC_/gadget/gadget-lunX/nofua -Date: July 2010 -Contact: Andy Shevchenko -Description: - Show or set the reaction on the FUA (Force Unit Access) bit in - the SCSI WRITE(10,12) commands when a gadget in USB Mass - Storage mode. - - Possible values are: - - - 1 -> ignore the FUA flag - - 0 -> obey the FUA flag +What: /sys/devices/platform/_UDC_/gadget/suspended +Date: April 2010 +Contact: Fabien Chouteau +Description: + Show the suspend state of an USB composite gadget. + + - 1 -> suspended + - 0 -> resumed + + (_UDC_ is the name of the USB Device Controller driver) + +What: /sys/devices/platform/_UDC_/gadget/gadget-lunX/nofua +Date: July 2010 +Contact: Andy Shevchenko +Description: + Show or set the reaction on the FUA (Force Unit Access) bit in + the SCSI WRITE(10,12) commands when a gadget in USB Mass + Storage mode. + + Possible values are: + + - 1 -> ignore the FUA flag + - 0 -> obey the FUA flag diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-power_resources_D3hot b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-power_resources_D3hot index ecd34c17f4..3df32c20ad 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-power_resources_D3hot +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-power_resources_D3hot @@ -1,14 +1,14 @@ -What: /sys/devices/.../power_resources_D3hot/ -Date: January 2013 -Contact: Rafael J. Wysocki -Description: - The /sys/devices/.../power_resources_D3hot/ directory is only - present for device objects representing ACPI device nodes that - use ACPI power resources for power management and support ACPI - power state D3hot. - - 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 D3hot. The - names of the links are the same as the names of the directories - they point to. +What: /sys/devices/.../power_resources_D3hot/ +Date: January 2013 +Contact: Rafael J. Wysocki +Description: + The /sys/devices/.../power_resources_D3hot/ directory is only + present for device objects representing ACPI device nodes that + use ACPI power resources for power management and support ACPI + power state D3hot. + + 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 D3hot. 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_state b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-power_state index 021af0562f..7ad9546748 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-power_state +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-power_state @@ -1,20 +1,20 @@ -What: /sys/devices/.../power_state -Date: January 2013 -Contact: Rafael J. Wysocki -Description: - The /sys/devices/.../power_state attribute is only present for - device objects representing ACPI device nodes that provide power - management methods. - - If present, it contains a string representing the current ACPI - power state of the given device node. Its possible values, - "D0", "D1", "D2", "D3hot", and "D3cold", reflect the power state - names defined by the ACPI specification (ACPI 4 and above). - - If the device node uses shared ACPI power resources, this state - determines a list of power resources required not to be turned - off. However, some power resources needed by the device node in - higher-power (lower-number) states may also be ON because of - some other devices using them at the moment. - - This attribute is read-only. +What: /sys/devices/.../power_state +Date: January 2013 +Contact: Rafael J. Wysocki +Description: + The /sys/devices/.../power_state attribute is only present for + device objects representing ACPI device nodes that provide power + management methods. + + If present, it contains a string representing the current ACPI + power state of the given device node. Its possible values, + "D0", "D1", "D2", "D3hot", and "D3cold", reflect the power state + names defined by the ACPI specification (ACPI 4 and above). + + If the device node uses shared ACPI power resources, this state + determines a list of power resources required not to be turned + off. However, some power resources needed by the device node in + higher-power (lower-number) states may also be ON because of + some other devices using them at the moment. + + This attribute is read-only. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-removable b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-removable index de84135ee5..754ecb4587 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-removable +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-removable @@ -1,20 +1,20 @@ -What: /sys/devices/.../removable -Date: May 2021 -Contact: Rajat Jain -Description: - Information about whether a given device can be removed from the - platform by the user. This is determined by its subsystem in a - bus / platform-specific way. This attribute is only present for - devices that can support determining such information: - - =========== =================================================== - "removable" device can be removed from the platform by the user - "fixed" device is fixed to the platform / cannot be removed - by the user. - "unknown" The information is unavailable / cannot be deduced. - =========== =================================================== - - Currently this is only supported by USB (which infers the - information from a combination of hub descriptor bits and - platform-specific data such as ACPI) and PCI (which gets this - from ACPI / device tree). +What: /sys/devices/.../removable +Date: May 2021 +Contact: Rajat Jain +Description: + Information about whether a given device can be removed from the + platform by the user. This is determined by its subsystem in a + bus / platform-specific way. This attribute is only present for + devices that can support determining such information: + + =========== =================================================== + "removable" device can be removed from the platform by the user + "fixed" device is fixed to the platform / cannot be removed + by the user. + "unknown" The information is unavailable / cannot be deduced. + =========== =================================================== + + Currently this is only supported by USB (which infers the + information from a combination of hub descriptor bits and + platform-specific data such as ACPI) and PCI (which gets this + from ACPI / device tree). diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-system-ibm-rtl b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-system-ibm-rtl index cf85d05f06..1a8ee26e92 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-system-ibm-rtl +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-system-ibm-rtl @@ -1,24 +1,24 @@ -What: /sys/devices/system/ibm_rtl/state -Date: Sep 2010 -KernelVersion: 2.6.37 -Contact: Vernon Mauery -Description: The state file allows a means by which to change in and - out of Premium Real-Time Mode (PRTM), as well as the - ability to query the current state. - - - 0 => PRTM off - - 1 => PRTM enabled - -Users: The ibm-prtm userspace daemon uses this interface. - - -What: /sys/devices/system/ibm_rtl/version -Date: Sep 2010 -KernelVersion: 2.6.37 -Contact: Vernon Mauery -Description: The version file provides a means by which to query - the RTL table version that lives in the Extended - BIOS Data Area (EBDA). -Users: The ibm-prtm userspace daemon uses this interface. - - +What: /sys/devices/system/ibm_rtl/state +Date: Sep 2010 +KernelVersion: 2.6.37 +Contact: Vernon Mauery +Description: The state file allows a means by which to change in and + out of Premium Real-Time Mode (PRTM), as well as the + ability to query the current state. + + - 0 => PRTM off + - 1 => PRTM enabled + +Users: The ibm-prtm userspace daemon uses this interface. + + +What: /sys/devices/system/ibm_rtl/version +Date: Sep 2010 +KernelVersion: 2.6.37 +Contact: Vernon Mauery +Description: The version file provides a means by which to query + the RTL table version that lives in the Extended + BIOS Data Area (EBDA). +Users: The ibm-prtm userspace daemon uses this interface. + + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-system-xen_cpu b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-system-xen_cpu index 2168be0fb0..9ca02fb2d4 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-system-xen_cpu +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-system-xen_cpu @@ -1,20 +1,20 @@ -What: /sys/devices/system/xen_cpu/ -Date: May 2012 -Contact: Liu, Jinsong -Description: - A collection of global/individual Xen physical cpu attributes - - Individual physical cpu attributes are contained in - subdirectories named by the Xen's logical cpu number, e.g.: - /sys/devices/system/xen_cpu/xen_cpu#/ - - -What: /sys/devices/system/xen_cpu/xen_cpu#/online -Date: May 2012 -Contact: Liu, Jinsong -Description: - Interface to online/offline Xen physical cpus - - When running under Xen platform, it provide user interface - to online/offline physical cpus, except cpu0 due to several - logic restrictions and assumptions. +What: /sys/devices/system/xen_cpu/ +Date: May 2012 +Contact: Liu, Jinsong +Description: + A collection of global/individual Xen physical cpu attributes + + Individual physical cpu attributes are contained in + subdirectories named by the Xen's logical cpu number, e.g.: + /sys/devices/system/xen_cpu/xen_cpu#/ + + +What: /sys/devices/system/xen_cpu/xen_cpu#/online +Date: May 2012 +Contact: Liu, Jinsong +Description: + Interface to online/offline Xen physical cpus + + When running under Xen platform, it provide user interface + to online/offline physical cpus, except cpu0 due to several + logic restrictions and assumptions. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-waiting_for_supplier b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-waiting_for_supplier index 72691aff85..59d073d20d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-waiting_for_supplier +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-waiting_for_supplier @@ -1,17 +1,17 @@ -What: /sys/devices/.../waiting_for_supplier -Date: May 2020 -Contact: Saravana Kannan -Description: - The /sys/devices/.../waiting_for_supplier attribute is only - present when fw_devlink kernel command line option is enabled - and is set to something stricter than "permissive". It is - removed once a device probes successfully (because the - information is no longer relevant). The number read from it (0 - or 1) reflects whether the device is waiting for one or more - suppliers to be added and then linked to using device links - before the device can probe. - - A value of 0 means the device is not waiting for any suppliers - to be added before it can probe. A value of 1 means the device - is waiting for one or more suppliers to be added before it can - probe. +What: /sys/devices/.../waiting_for_supplier +Date: May 2020 +Contact: Saravana Kannan +Description: + The /sys/devices/.../waiting_for_supplier attribute is only + present when fw_devlink kernel command line option is enabled + and is set to something stricter than "permissive". It is + removed once a device probes successfully (because the + information is no longer relevant). The number read from it (0 + or 1) reflects whether the device is waiting for one or more + suppliers to be added and then linked to using device links + before the device can probe. + + A value of 0 means the device is not waiting for any suppliers + to be added before it can probe. A value of 1 means the device + is waiting for one or more suppliers to be added before it can + probe. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-ge-achc b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-ge-achc index dbfd8bb147..c3e77def4b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-ge-achc +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-ge-achc @@ -1,15 +1,15 @@ -What: /sys/bus/spi//update_firmware -Date: Jul 2021 -Contact: sebastian.reichel@collabora.com -Description: Write 1 to this file to update the ACHC microcontroller - firmware via the EzPort interface. For this the kernel - will load "achc.bin" via the firmware API (so usually - from /lib/firmware). The write will block until the FW - has either been flashed successfully or an error occurred. - -What: /sys/bus/spi//reset -Date: Jul 2021 -Contact: sebastian.reichel@collabora.com -Description: This file represents the microcontroller's reset line. - 1 means the reset line is asserted, 0 means it's not - asserted. The file is read and writable. +What: /sys/bus/spi//update_firmware +Date: Jul 2021 +Contact: sebastian.reichel@collabora.com +Description: Write 1 to this file to update the ACHC microcontroller + firmware via the EzPort interface. For this the kernel + will load "achc.bin" via the firmware API (so usually + from /lib/firmware). The write will block until the FW + has either been flashed successfully or an error occurred. + +What: /sys/bus/spi//reset +Date: Jul 2021 +Contact: sebastian.reichel@collabora.com +Description: This file represents the microcontroller's reset line. + 1 means the reset line is asserted, 0 means it's not + asserted. The file is read and writable. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-hid-logitech-hidpp b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-hid-logitech-hidpp index 716a1768ef..d8f831f2d6 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-hid-logitech-hidpp +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-hid-logitech-hidpp @@ -1,19 +1,19 @@ -What: /sys/bus/hid/drivers/logitech-hidpp-device//range -Date: Jan, 2016 -KernelVersion: 4.6 -Contact: linux-input@vger.kernel.org -Description: - (RW) This attribute controls the amount of 'turn' permitted in - Logitech G920 wheel. Reading from the file shows the current - range of the steering wheel. Writing a value within the min and - max boundary sets the range of the wheel. - -What: /sys/bus/hid/drivers/logitech-hidpp-device//builtin_power_supply -Date: Apr, 2017 -KernelVersion: 4.12 -Contact: linux-input@vger.kernel.org -Description: - Presence of this file indicates that HID++ driver is capable of - handling battery properties in the kernel. This way, upower can - add a udev rule to decide whether or not it should use the - internal unifying support or the generic kernel one. +What: /sys/bus/hid/drivers/logitech-hidpp-device//range +Date: Jan, 2016 +KernelVersion: 4.6 +Contact: linux-input@vger.kernel.org +Description: + (RW) This attribute controls the amount of 'turn' permitted in + Logitech G920 wheel. Reading from the file shows the current + range of the steering wheel. Writing a value within the min and + max boundary sets the range of the wheel. + +What: /sys/bus/hid/drivers/logitech-hidpp-device//builtin_power_supply +Date: Apr, 2017 +KernelVersion: 4.12 +Contact: linux-input@vger.kernel.org +Description: + Presence of this file indicates that HID++ driver is capable of + handling battery properties in the kernel. This way, upower can + add a udev rule to decide whether or not it should use the + internal unifying support or the generic kernel one. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-hid-srws1 b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-hid-srws1 index 2a80135465..d0eba70c7d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-hid-srws1 +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-hid-srws1 @@ -1,21 +1,21 @@ -What: /sys/class/leds/SRWS1::::RPM1 -What: /sys/class/leds/SRWS1::::RPM2 -What: /sys/class/leds/SRWS1::::RPM3 -What: /sys/class/leds/SRWS1::::RPM4 -What: /sys/class/leds/SRWS1::::RPM5 -What: /sys/class/leds/SRWS1::::RPM6 -What: /sys/class/leds/SRWS1::::RPM7 -What: /sys/class/leds/SRWS1::::RPM8 -What: /sys/class/leds/SRWS1::::RPM9 -What: /sys/class/leds/SRWS1::::RPM10 -What: /sys/class/leds/SRWS1::::RPM11 -What: /sys/class/leds/SRWS1::::RPM12 -What: /sys/class/leds/SRWS1::::RPM13 -What: /sys/class/leds/SRWS1::::RPM14 -What: /sys/class/leds/SRWS1::::RPM15 -What: /sys/class/leds/SRWS1::::RPMALL -Date: Jan 2013 -KernelVersion: 3.9 -Contact: Simon Wood -Description: Provides a control for turning on/off the LEDs which form - an RPM meter on the front of the controller +What: /sys/class/leds/SRWS1::::RPM1 +What: /sys/class/leds/SRWS1::::RPM2 +What: /sys/class/leds/SRWS1::::RPM3 +What: /sys/class/leds/SRWS1::::RPM4 +What: /sys/class/leds/SRWS1::::RPM5 +What: /sys/class/leds/SRWS1::::RPM6 +What: /sys/class/leds/SRWS1::::RPM7 +What: /sys/class/leds/SRWS1::::RPM8 +What: /sys/class/leds/SRWS1::::RPM9 +What: /sys/class/leds/SRWS1::::RPM10 +What: /sys/class/leds/SRWS1::::RPM11 +What: /sys/class/leds/SRWS1::::RPM12 +What: /sys/class/leds/SRWS1::::RPM13 +What: /sys/class/leds/SRWS1::::RPM14 +What: /sys/class/leds/SRWS1::::RPM15 +What: /sys/class/leds/SRWS1::::RPMALL +Date: Jan 2013 +KernelVersion: 3.9 +Contact: Simon Wood +Description: Provides a control for turning on/off the LEDs which form + an RPM meter on the front of the controller diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-input-exc3000 b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-input-exc3000 index c6574e8ffc..704434b277 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-input-exc3000 +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-input-exc3000 @@ -1,26 +1,26 @@ -What: /sys/bus/i2c/devices/xxx/fw_version -Date: Aug 2020 -Contact: linux-input@vger.kernel.org -Description: Reports the firmware version provided by the touchscreen, for example "00_T6" on a EXC80H60 - - Access: Read - - Valid values: Represented as string - -What: /sys/bus/i2c/devices/xxx/model -Date: Aug 2020 -Contact: linux-input@vger.kernel.org -Description: Reports the model identification provided by the touchscreen, for example "Orion_1320" on a EXC80H60 - - Access: Read - - Valid values: Represented as string - -What: /sys/bus/i2c/devices/xxx/type -Date: Jan 2021 -Contact: linux-input@vger.kernel.org -Description: Reports the type identification provided by the touchscreen, for example "PCAP82H80 Series" - - Access: Read - - Valid values: Represented as string +What: /sys/bus/i2c/devices/xxx/fw_version +Date: Aug 2020 +Contact: linux-input@vger.kernel.org +Description: Reports the firmware version provided by the touchscreen, for example "00_T6" on a EXC80H60 + + Access: Read + + Valid values: Represented as string + +What: /sys/bus/i2c/devices/xxx/model +Date: Aug 2020 +Contact: linux-input@vger.kernel.org +Description: Reports the model identification provided by the touchscreen, for example "Orion_1320" on a EXC80H60 + + Access: Read + + Valid values: Represented as string + +What: /sys/bus/i2c/devices/xxx/type +Date: Jan 2021 +Contact: linux-input@vger.kernel.org +Description: Reports the type identification provided by the touchscreen, for example "PCAP82H80 Series" + + Access: Read + + Valid values: Represented as string diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-intel-rapid-start b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-intel-rapid-start index dff54ef43c..5a7d2e217d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-intel-rapid-start +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-intel-rapid-start @@ -1,21 +1,21 @@ -What: /sys/bus/acpi/intel-rapid-start/wakeup_events -Date: July 2, 2013 -KernelVersion: 3.11 -Contact: Matthew Garrett -Description: An integer representing a set of wakeup events as follows: - 1: Wake to enter hibernation when the wakeup timer expires - 2: Wake to enter hibernation when the battery reaches a - critical level - - These values are ORed together. For example, a value of 3 - indicates that the system will wake to enter hibernation when - either the wakeup timer expires or the battery reaches a - critical level. - -What: /sys/bus/acpi/intel-rapid-start/wakeup_time -Date: July 2, 2013 -KernelVersion: 3.11 -Contact: Matthew Garrett -Description: An integer representing the length of time the system will - remain asleep before waking up to enter hibernation. - This value is in minutes. +What: /sys/bus/acpi/intel-rapid-start/wakeup_events +Date: July 2, 2013 +KernelVersion: 3.11 +Contact: Matthew Garrett +Description: An integer representing a set of wakeup events as follows: + 1: Wake to enter hibernation when the wakeup timer expires + 2: Wake to enter hibernation when the battery reaches a + critical level + + These values are ORed together. For example, a value of 3 + indicates that the system will wake to enter hibernation when + either the wakeup timer expires or the battery reaches a + critical level. + +What: /sys/bus/acpi/intel-rapid-start/wakeup_time +Date: July 2, 2013 +KernelVersion: 3.11 +Contact: Matthew Garrett +Description: An integer representing the length of time the system will + remain asleep before waking up to enter hibernation. + This value is in minutes. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-jz4780-efuse b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-jz4780-efuse index 71956439da..4cf595d681 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-jz4780-efuse +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-jz4780-efuse @@ -1,20 +1,20 @@ -What: /sys/devices/*//nvmem -Date: December 2017 -Contact: PrasannaKumar Muralidharan -Description: read-only access to the efuse on the Ingenic JZ4780 SoC - The SoC has a one time programmable 8K efuse that is - split into segments. The driver supports read only. - The segments are: - - ===== ======== ================= - 0x000 64 bit Random Number - 0x008 128 bit Ingenic Chip ID - 0x018 128 bit Customer ID - 0x028 3520 bit Reserved - 0x1E0 8 bit Protect Segment - 0x1E1 2296 bit HDMI Key - 0x300 2048 bit Security boot key - ===== ======== ================= - -Users: any user space application which wants to read the Chip - and Customer ID +What: /sys/devices/*//nvmem +Date: December 2017 +Contact: PrasannaKumar Muralidharan +Description: read-only access to the efuse on the Ingenic JZ4780 SoC + The SoC has a one time programmable 8K efuse that is + split into segments. The driver supports read only. + The segments are: + + ===== ======== ================= + 0x000 64 bit Random Number + 0x008 128 bit Ingenic Chip ID + 0x018 128 bit Customer ID + 0x028 3520 bit Reserved + 0x1E0 8 bit Protect Segment + 0x1E1 2296 bit HDMI Key + 0x300 2048 bit Security boot key + ===== ======== ================= + +Users: any user space application which wants to read the Chip + and Customer ID diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-toshiba_haps b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-toshiba_haps index 28eba72426..c938690ce1 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-toshiba_haps +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-toshiba_haps @@ -1,22 +1,22 @@ -What: /sys/devices/LNXSYSTM:00/LNXSYBUS:00/TOS620A:00/protection_level -Date: August 16, 2014 -KernelVersion: 3.17 -Contact: Azael Avalos -Description: This file controls the built-in accelerometer protection level, - valid values are: - - * 0 -> Disabled - * 1 -> Low - * 2 -> Medium - * 3 -> High - - The default potection value is set to 2 (Medium). -Users: KToshiba - -What: /sys/devices/LNXSYSTM:00/LNXSYBUS:00/TOS620A:00/reset_protection -Date: August 16, 2014 -KernelVersion: 3.17 -Contact: Azael Avalos -Description: This file turns off the built-in accelerometer for a few - seconds and then restore normal operation. Accepting 1 as the - only parameter. +What: /sys/devices/LNXSYSTM:00/LNXSYBUS:00/TOS620A:00/protection_level +Date: August 16, 2014 +KernelVersion: 3.17 +Contact: Azael Avalos +Description: This file controls the built-in accelerometer protection level, + valid values are: + + * 0 -> Disabled + * 1 -> Low + * 2 -> Medium + * 3 -> High + + The default potection value is set to 2 (Medium). +Users: KToshiba + +What: /sys/devices/LNXSYSTM:00/LNXSYBUS:00/TOS620A:00/reset_protection +Date: August 16, 2014 +KernelVersion: 3.17 +Contact: Azael Avalos +Description: This file turns off the built-in accelerometer for a few + seconds and then restore normal operation. Accepting 1 as the + only parameter. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-w1_ds28e17 b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-w1_ds28e17 index 91ce487bac..e92aba4eb5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-w1_ds28e17 +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-w1_ds28e17 @@ -1,24 +1,24 @@ -What: /sys/bus/w1/devices/19-/speed -Date: Sep 2017 -KernelVersion: 4.14 -Contact: Jan Kandziora -Description: When written, this file sets the I2C speed on the connected - DS28E17 chip. When read, it reads the current setting from - the DS28E17 chip. - - Valid values: 100, 400, 900 [kBaud]. - - Default 100, can be set by w1_ds28e17.speed= module parameter. -Users: w1_ds28e17 driver - -What: /sys/bus/w1/devices/19-/stretch -Date: Sep 2017 -KernelVersion: 4.14 -Contact: Jan Kandziora -Description: When written, this file sets the multiplier used to calculate - the busy timeout for I2C operations on the connected DS28E17 - chip. When read, returns the current setting. - Valid values: 1 to 9. - - Default 1, can be set by w1_ds28e17.stretch= module parameter. -Users: w1_ds28e17 driver +What: /sys/bus/w1/devices/19-/speed +Date: Sep 2017 +KernelVersion: 4.14 +Contact: Jan Kandziora +Description: When written, this file sets the I2C speed on the connected + DS28E17 chip. When read, it reads the current setting from + the DS28E17 chip. + + Valid values: 100, 400, 900 [kBaud]. + + Default 100, can be set by w1_ds28e17.speed= module parameter. +Users: w1_ds28e17 driver + +What: /sys/bus/w1/devices/19-/stretch +Date: Sep 2017 +KernelVersion: 4.14 +Contact: Jan Kandziora +Description: When written, this file sets the multiplier used to calculate + the busy timeout for I2C operations on the connected DS28E17 + chip. When read, returns the current setting. + Valid values: 1 to 9. + + Default 1, can be set by w1_ds28e17.stretch= module parameter. +Users: w1_ds28e17 driver diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-xen-blkfront b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-xen-blkfront index 68c2ad2190..4d36c5a105 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-xen-blkfront +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-xen-blkfront @@ -1,19 +1,19 @@ -What: /sys/module/xen_blkfront/parameters/max_indirect_segments -Date: June 2013 -KernelVersion: 3.11 -Contact: Konrad Rzeszutek Wilk -Description: - Maximum number of segments that the frontend will negotiate - with the backend for indirect descriptors. The default value - is 32 - higher value means more potential throughput but more - memory usage. The backend picks the minimum of the frontend - and its default backend value. - -What: /sys/module/xen_blkfront/parameters/feature_persistent -Date: September 2020 -KernelVersion: 5.10 -Contact: Maximilian Heyne -Description: - Whether to enable the persistent grants feature or not. Note - that this option only takes effect on newly connected frontends. - The default is Y (enable). +What: /sys/module/xen_blkfront/parameters/max_indirect_segments +Date: June 2013 +KernelVersion: 3.11 +Contact: Konrad Rzeszutek Wilk +Description: + Maximum number of segments that the frontend will negotiate + with the backend for indirect descriptors. The default value + is 32 - higher value means more potential throughput but more + memory usage. The backend picks the minimum of the frontend + and its default backend value. + +What: /sys/module/xen_blkfront/parameters/feature_persistent +Date: September 2020 +KernelVersion: 5.10 +Contact: Maximilian Heyne +Description: + Whether to enable the persistent grants feature or not. Note + that this option only takes effect on newly connected frontends. + The default is Y (enable). diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-xilinx-tmr-manager b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-xilinx-tmr-manager index c366d0ab2e..57b9b68a73 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-xilinx-tmr-manager +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-xilinx-tmr-manager @@ -1,16 +1,16 @@ -What: /sys/devices/platform/amba_pl//errcnt -Date: Nov 2022 -Contact: appana.durga.kedareswara.rao@amd.com -Description: This control file provides the fault detection count. - This file cannot be written. - Example: - # cat /sys/devices/platform/amba_pl/44a10000.tmr_manager/errcnt - 1 - -What: /sys/devices/platform/amba_pl//dis_block_break -Date: Nov 2022 -Contact: appana.durga.kedareswara.rao@amd.com -Description: Write any value to it, This control file enables the break signal. - This file is write only. - Example: - # echo > /sys/devices/platform/amba_pl/44a10000.tmr_manager/dis_block_break +What: /sys/devices/platform/amba_pl//errcnt +Date: Nov 2022 +Contact: appana.durga.kedareswara.rao@amd.com +Description: This control file provides the fault detection count. + This file cannot be written. + Example: + # cat /sys/devices/platform/amba_pl/44a10000.tmr_manager/errcnt + 1 + +What: /sys/devices/platform/amba_pl//dis_block_break +Date: Nov 2022 +Contact: appana.durga.kedareswara.rao@amd.com +Description: Write any value to it, This control file enables the break signal. + This file is write only. + Example: + # echo > /sys/devices/platform/amba_pl/44a10000.tmr_manager/dis_block_break diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-firmware-dmi-tables b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-firmware-dmi-tables index 222989ba17..ff3cac8ed0 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-firmware-dmi-tables +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-firmware-dmi-tables @@ -1,22 +1,22 @@ -What: /sys/firmware/dmi/tables/ -Date: April 2015 -Contact: Ivan Khoronzhuk -Description: - The firmware provides DMI structures as a packed list of - data referenced by a SMBIOS table entry point. The SMBIOS - entry point contains general information, like SMBIOS - version, DMI table size, etc. The structure, content and - size of SMBIOS entry point is dependent on SMBIOS version. - The format of SMBIOS entry point and DMI structures - can be read in SMBIOS specification. - - The dmi/tables provides raw SMBIOS entry point and DMI tables - through sysfs as an alternative to utilities reading them - from /dev/mem. The raw SMBIOS entry point and DMI table are - presented as binary attributes and are accessible via: - - /sys/firmware/dmi/tables/smbios_entry_point - /sys/firmware/dmi/tables/DMI - - The complete DMI information can be obtained using these two - tables. +What: /sys/firmware/dmi/tables/ +Date: April 2015 +Contact: Ivan Khoronzhuk +Description: + The firmware provides DMI structures as a packed list of + data referenced by a SMBIOS table entry point. The SMBIOS + entry point contains general information, like SMBIOS + version, DMI table size, etc. The structure, content and + size of SMBIOS entry point is dependent on SMBIOS version. + The format of SMBIOS entry point and DMI structures + can be read in SMBIOS specification. + + The dmi/tables provides raw SMBIOS entry point and DMI tables + through sysfs as an alternative to utilities reading them + from /dev/mem. The raw SMBIOS entry point and DMI table are + presented as binary attributes and are accessible via: + + /sys/firmware/dmi/tables/smbios_entry_point + /sys/firmware/dmi/tables/DMI + + The complete DMI information can be obtained using these two + tables. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-firmware-opal-psr b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-firmware-opal-psr index 5dadb166d6..1e55b56a0f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-firmware-opal-psr +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-firmware-opal-psr @@ -1,18 +1,18 @@ -What: /sys/firmware/opal/psr -Date: August 2017 -Contact: Linux for PowerPC mailing list -Description: Power-Shift-Ratio directory for Powernv P9 servers - - Power-Shift-Ratio allows to provide hints the firmware - to shift/throttle power between different entities in - the system. Each attribute in this directory indicates - a settable PSR. - -What: /sys/firmware/opal/psr/cpu_to_gpu_X -Date: August 2017 -Contact: Linux for PowerPC mailing list -Description: PSR sysfs attributes for Powernv P9 servers - - Power-Shift-Ratio between CPU and GPU for a given chip - with chip-id X. This file gives the ratio (0-100) - which is used by OCC for power-capping. +What: /sys/firmware/opal/psr +Date: August 2017 +Contact: Linux for PowerPC mailing list +Description: Power-Shift-Ratio directory for Powernv P9 servers + + Power-Shift-Ratio allows to provide hints the firmware + to shift/throttle power between different entities in + the system. Each attribute in this directory indicates + a settable PSR. + +What: /sys/firmware/opal/psr/cpu_to_gpu_X +Date: August 2017 +Contact: Linux for PowerPC mailing list +Description: PSR sysfs attributes for Powernv P9 servers + + Power-Shift-Ratio between CPU and GPU for a given chip + with chip-id X. This file gives the ratio (0-100) + which is used by OCC for power-capping. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-firmware-opal-sensor-groups b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-firmware-opal-sensor-groups index 823d9098d0..fcb1fb4795 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-firmware-opal-sensor-groups +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-firmware-opal-sensor-groups @@ -1,21 +1,21 @@ -What: /sys/firmware/opal/sensor_groups -Date: August 2017 -Contact: Linux for PowerPC mailing list -Description: Sensor groups directory for POWER9 powernv servers - - Each folder in this directory contains a sensor group - which are classified based on type of the sensor - like power, temperature, frequency, current, etc. They - can also indicate the group of sensors belonging to - different owners like CSM, Profiler, Job-Scheduler - -What: /sys/firmware/opal/sensor_groups//clear -Date: August 2017 -Contact: Linux for PowerPC mailing list -Description: Sysfs file to clear the min-max of all the sensors - belonging to the group. - - Writing 1 to this file will clear the minimum and - maximum values of all the sensors in the group. - In POWER9, the min-max of a sensor is the historical minimum - and maximum value of the sensor cached by OCC. +What: /sys/firmware/opal/sensor_groups +Date: August 2017 +Contact: Linux for PowerPC mailing list +Description: Sensor groups directory for POWER9 powernv servers + + Each folder in this directory contains a sensor group + which are classified based on type of the sensor + like power, temperature, frequency, current, etc. They + can also indicate the group of sensors belonging to + different owners like CSM, Profiler, Job-Scheduler + +What: /sys/firmware/opal/sensor_groups//clear +Date: August 2017 +Contact: Linux for PowerPC mailing list +Description: Sysfs file to clear the min-max of all the sensors + belonging to the group. + + Writing 1 to this file will clear the minimum and + maximum values of all the sensors in the group. + In POWER9, the min-max of a sensor is the historical minimum + and maximum value of the sensor cached by OCC. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-fs-erofs b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-fs-erofs index 7f1134a19d..284224d1b5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-fs-erofs +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-fs-erofs @@ -1,18 +1,18 @@ -What: /sys/fs/erofs/features/ -Date: November 2021 -Contact: "Huang Jianan" -Description: Shows all enabled kernel features. - Supported features: - zero_padding, compr_cfgs, big_pcluster, chunked_file, - device_table, compr_head2, sb_chksum, ztailpacking, - dedupe, fragments. - -What: /sys/fs/erofs//sync_decompress -Date: November 2021 -Contact: "Huang Jianan" -Description: Control strategy of sync decompression: - - - 0 (default, auto): enable for readpage, and enable for - readahead on atomic contexts only. - - 1 (force on): enable for readpage and readahead. - - 2 (force off): disable for all situations. +What: /sys/fs/erofs/features/ +Date: November 2021 +Contact: "Huang Jianan" +Description: Shows all enabled kernel features. + Supported features: + zero_padding, compr_cfgs, big_pcluster, chunked_file, + device_table, compr_head2, sb_chksum, ztailpacking, + dedupe, fragments. + +What: /sys/fs/erofs//sync_decompress +Date: November 2021 +Contact: "Huang Jianan" +Description: Control strategy of sync decompression: + + - 0 (default, auto): enable for readpage, and enable for + readahead on atomic contexts only. + - 1 (force on): enable for readpage and readahead. + - 2 (force off): disable for all situations. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-kernel-btf b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-kernel-btf index b0a23cd59c..fe96efdc9b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-kernel-btf +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-kernel-btf @@ -1,25 +1,25 @@ -What: /sys/kernel/btf -Date: Aug 2019 -KernelVersion: 5.5 -Contact: bpf@vger.kernel.org -Description: - Contains BTF type information and related data for kernel and - kernel modules. - -What: /sys/kernel/btf/vmlinux -Date: Aug 2019 -KernelVersion: 5.5 -Contact: bpf@vger.kernel.org -Description: - Read-only binary attribute exposing kernel's own BTF type - information with description of all internal kernel types. See - Documentation/bpf/btf.rst for detailed description of format - itself. - -What: /sys/kernel/btf/ -Date: Nov 2020 -KernelVersion: 5.11 -Contact: bpf@vger.kernel.org -Description: - Read-only binary attribute exposing kernel module's BTF type - information as an add-on to the kernel's BTF (/sys/kernel/btf/vmlinux). +What: /sys/kernel/btf +Date: Aug 2019 +KernelVersion: 5.5 +Contact: bpf@vger.kernel.org +Description: + Contains BTF type information and related data for kernel and + kernel modules. + +What: /sys/kernel/btf/vmlinux +Date: Aug 2019 +KernelVersion: 5.5 +Contact: bpf@vger.kernel.org +Description: + Read-only binary attribute exposing kernel's own BTF type + information with description of all internal kernel types. See + Documentation/bpf/btf.rst for detailed description of format + itself. + +What: /sys/kernel/btf/ +Date: Nov 2020 +KernelVersion: 5.11 +Contact: bpf@vger.kernel.org +Description: + Read-only binary attribute exposing kernel module's BTF type + information as an add-on to the kernel's BTF (/sys/kernel/btf/vmlinux). diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-kernel-dmabuf-buffers b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-kernel-dmabuf-buffers index 06afc8aa1c..5d3bc997dc 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-kernel-dmabuf-buffers +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-kernel-dmabuf-buffers @@ -1,24 +1,24 @@ -What: /sys/kernel/dmabuf/buffers -Date: May 2021 -KernelVersion: v5.13 -Contact: Hridya Valsaraju -Description: The /sys/kernel/dmabuf/buffers directory contains a - snapshot of the internal state of every DMA-BUF. - /sys/kernel/dmabuf/buffers/ will contain the - statistics for the DMA-BUF with the unique inode number - -Users: kernel memory tuning/debugging tools - -What: /sys/kernel/dmabuf/buffers//exporter_name -Date: May 2021 -KernelVersion: v5.13 -Contact: Hridya Valsaraju -Description: This file is read-only and contains the name of the exporter of - the DMA-BUF. - -What: /sys/kernel/dmabuf/buffers//size -Date: May 2021 -KernelVersion: v5.13 -Contact: Hridya Valsaraju -Description: This file is read-only and specifies the size of the DMA-BUF in - bytes. +What: /sys/kernel/dmabuf/buffers +Date: May 2021 +KernelVersion: v5.13 +Contact: Hridya Valsaraju +Description: The /sys/kernel/dmabuf/buffers directory contains a + snapshot of the internal state of every DMA-BUF. + /sys/kernel/dmabuf/buffers/ will contain the + statistics for the DMA-BUF with the unique inode number + +Users: kernel memory tuning/debugging tools + +What: /sys/kernel/dmabuf/buffers//exporter_name +Date: May 2021 +KernelVersion: v5.13 +Contact: Hridya Valsaraju +Description: This file is read-only and contains the name of the exporter of + the DMA-BUF. + +What: /sys/kernel/dmabuf/buffers//size +Date: May 2021 +KernelVersion: v5.13 +Contact: Hridya Valsaraju +Description: This file is read-only and specifies the size of the DMA-BUF in + bytes. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-kernel-mm-cma b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-kernel-mm-cma index fbf75d8ac9..dfd7552011 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-kernel-mm-cma +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-kernel-mm-cma @@ -1,31 +1,31 @@ -What: /sys/kernel/mm/cma/ -Date: Feb 2021 -Contact: Minchan Kim -Description: - /sys/kernel/mm/cma/ contains a subdirectory for each CMA - heap name (also sometimes called CMA areas). - - Each CMA heap subdirectory (that is, each - /sys/kernel/mm/cma/ directory) contains the - following items: - - alloc_pages_success - alloc_pages_fail - -What: /sys/kernel/mm/cma//alloc_pages_success -Date: Feb 2021 -Contact: Minchan Kim -Description: - the number of pages CMA API succeeded to allocate - -What: /sys/kernel/mm/cma//alloc_pages_fail -Date: Feb 2021 -Contact: Minchan Kim -Description: - the number of pages CMA API failed to allocate - -What: /sys/kernel/mm/cma//release_pages_success -Date: Feb 2024 -Contact: Anshuman Khandual -Description: - the number of pages CMA API succeeded to release +What: /sys/kernel/mm/cma/ +Date: Feb 2021 +Contact: Minchan Kim +Description: + /sys/kernel/mm/cma/ contains a subdirectory for each CMA + heap name (also sometimes called CMA areas). + + Each CMA heap subdirectory (that is, each + /sys/kernel/mm/cma/ directory) contains the + following items: + + alloc_pages_success + alloc_pages_fail + +What: /sys/kernel/mm/cma//alloc_pages_success +Date: Feb 2021 +Contact: Minchan Kim +Description: + the number of pages CMA API succeeded to allocate + +What: /sys/kernel/mm/cma//alloc_pages_fail +Date: Feb 2021 +Contact: Minchan Kim +Description: + the number of pages CMA API failed to allocate + +What: /sys/kernel/mm/cma//release_pages_success +Date: Feb 2024 +Contact: Anshuman Khandual +Description: + the number of pages CMA API succeeded to release diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-kernel-mm-memory-tiers b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-kernel-mm-memory-tiers index 86a0436f17..721a05b901 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-kernel-mm-memory-tiers +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-kernel-mm-memory-tiers @@ -1,25 +1,25 @@ -What: /sys/devices/virtual/memory_tiering/ -Date: August 2022 -Contact: Linux memory management mailing list -Description: A collection of all the memory tiers allocated. - - Individual memory tier details are contained in subdirectories - named by the abstract distance of the memory tier. - - /sys/devices/virtual/memory_tiering/memory_tierN/ - - -What: /sys/devices/virtual/memory_tiering/memory_tierN/ - /sys/devices/virtual/memory_tiering/memory_tierN/nodelist -Date: August 2022 -Contact: Linux memory management mailing list -Description: Directory with details of a specific memory tier - - This is the directory containing information about a particular - memory tier, memtierN, where N is derived based on abstract distance. - - A smaller value of N implies a higher (faster) memory tier in the - hierarchy. - - nodelist: NUMA nodes that are part of this memory tier. - +What: /sys/devices/virtual/memory_tiering/ +Date: August 2022 +Contact: Linux memory management mailing list +Description: A collection of all the memory tiers allocated. + + Individual memory tier details are contained in subdirectories + named by the abstract distance of the memory tier. + + /sys/devices/virtual/memory_tiering/memory_tierN/ + + +What: /sys/devices/virtual/memory_tiering/memory_tierN/ + /sys/devices/virtual/memory_tiering/memory_tierN/nodelist +Date: August 2022 +Contact: Linux memory management mailing list +Description: Directory with details of a specific memory tier + + This is the directory containing information about a particular + memory tier, memtierN, where N is derived based on abstract distance. + + A smaller value of N implies a higher (faster) memory tier in the + hierarchy. + + nodelist: NUMA nodes that are part of this memory tier. + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-kernel-mm-mempolicy-weighted-interleave b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-kernel-mm-mempolicy-weighted-interleave index 5ea0606e30..0b7972de04 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-kernel-mm-mempolicy-weighted-interleave +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-kernel-mm-mempolicy-weighted-interleave @@ -1,25 +1,25 @@ -What: /sys/kernel/mm/mempolicy/weighted_interleave/ -Date: January 2024 -Contact: Linux memory management mailing list -Description: Configuration Interface for the Weighted Interleave policy - -What: /sys/kernel/mm/mempolicy/weighted_interleave/nodeN -Date: January 2024 -Contact: Linux memory management mailing list -Description: Weight configuration interface for nodeN - - The interleave weight for a memory node (N). These weights are - utilized by tasks which have set their mempolicy to - MPOL_WEIGHTED_INTERLEAVE. - - These weights only affect new allocations, and changes at runtime - will not cause migrations on already allocated pages. - - The minimum weight for a node is always 1. - - Minimum weight: 1 - Maximum weight: 255 - - Writing an empty string or `0` will reset the weight to the - system default. The system default may be set by the kernel - or drivers at boot or during hotplug events. +What: /sys/kernel/mm/mempolicy/weighted_interleave/ +Date: January 2024 +Contact: Linux memory management mailing list +Description: Configuration Interface for the Weighted Interleave policy + +What: /sys/kernel/mm/mempolicy/weighted_interleave/nodeN +Date: January 2024 +Contact: Linux memory management mailing list +Description: Weight configuration interface for nodeN + + The interleave weight for a memory node (N). These weights are + utilized by tasks which have set their mempolicy to + MPOL_WEIGHTED_INTERLEAVE. + + These weights only affect new allocations, and changes at runtime + will not cause migrations on already allocated pages. + + The minimum weight for a node is always 1. + + Minimum weight: 1 + Maximum weight: 255 + + Writing an empty string or `0` will reset the weight to the + system default. The system default may be set by the kernel + or drivers at boot or during hotplug events. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-kernel-mm-swap b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-kernel-mm-swap index d61dd6d646..94672016c2 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-kernel-mm-swap +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-kernel-mm-swap @@ -1,16 +1,16 @@ -What: /sys/kernel/mm/swap/ -Date: August 2017 -Contact: Linux memory management mailing list -Description: Interface for swapping - -What: /sys/kernel/mm/swap/vma_ra_enabled -Date: August 2017 -Contact: Linux memory management mailing list -Description: Enable/disable VMA based swap readahead. - - If set to true, the VMA based swap readahead algorithm - will be used for swappable anonymous pages mapped in a - VMA, and the global swap readahead algorithm will be - still used for tmpfs etc. other users. If set to - false, the global swap readahead algorithm will be - used for all swappable pages. +What: /sys/kernel/mm/swap/ +Date: August 2017 +Contact: Linux memory management mailing list +Description: Interface for swapping + +What: /sys/kernel/mm/swap/vma_ra_enabled +Date: August 2017 +Contact: Linux memory management mailing list +Description: Enable/disable VMA based swap readahead. + + If set to true, the VMA based swap readahead algorithm + will be used for swappable anonymous pages mapped in a + VMA, and the global swap readahead algorithm will be + still used for tmpfs etc. other users. If set to + false, the global swap readahead algorithm will be + used for all swappable pages. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-nvmem-cells b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-nvmem-cells index 7af6a6510e..c7c9444f92 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-nvmem-cells +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-nvmem-cells @@ -1,21 +1,21 @@ -What: /sys/bus/nvmem/devices/.../cells/ -Date: May 2023 -KernelVersion: 6.5 -Contact: Miquel Raynal -Description: - The "cells" folder contains one file per cell exposed by the - NVMEM device. The name of the file is: "@,", - with being the cell name and its location in - the NVMEM device, in hexadecimal bytes and bits (without the - '0x' prefix, to mimic device tree node names). The length of - the file is the size of the cell (when known). The content of - the file is the binary content of the cell (may sometimes be - ASCII, likely without trailing character). - Note: This file is only present if CONFIG_NVMEM_SYSFS - is enabled. - - Example:: - - hexdump -C /sys/bus/nvmem/devices/1-00563/cells/product-name@d,0 - 00000000 54 4e 34 38 4d 2d 50 2d 44 4e |TN48M-P-DN| - 0000000a +What: /sys/bus/nvmem/devices/.../cells/ +Date: May 2023 +KernelVersion: 6.5 +Contact: Miquel Raynal +Description: + The "cells" folder contains one file per cell exposed by the + NVMEM device. The name of the file is: "@,", + with being the cell name and its location in + the NVMEM device, in hexadecimal bytes and bits (without the + '0x' prefix, to mimic device tree node names). The length of + the file is the size of the cell (when known). The content of + the file is the binary content of the cell (may sometimes be + ASCII, likely without trailing character). + Note: This file is only present if CONFIG_NVMEM_SYSFS + is enabled. + + Example:: + + hexdump -C /sys/bus/nvmem/devices/1-00563/cells/product-name@d,0 + 00000000 54 4e 34 38 4d 2d 50 2d 44 4e |TN48M-P-DN| + 0000000a diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-at91 b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-at91 index b120dd60ac..b146be74b8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-at91 +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-at91 @@ -1,27 +1,27 @@ -What: /sys/devices/platform/at91_can/net//mb0_id -Date: January 2011 -KernelVersion: 2.6.38 -Contact: Marc Kleine-Budde -Description: - Value representing the can_id of mailbox 0. - - Default: 0x7ff (standard frame) - - Due to a chip bug (errata 50.2.6.3 & 50.3.5.3 in - "AT91SAM9263 Preliminary 6249H-ATARM-27-Jul-09") the - contents of mailbox 0 may be send under certain - conditions (even if disabled or in rx mode). - - The workaround in the errata suggests not to use the - mailbox and load it with an unused identifier. - - In order to use an extended can_id add the - CAN_EFF_FLAG (0x80000000U) to the can_id. Example: - - - standard id 0x7ff:: - - echo 0x7ff > /sys/class/net/can0/mb0_id - - - extended id 0x1fffffff:: - - echo 0x9fffffff > /sys/class/net/can0/mb0_id +What: /sys/devices/platform/at91_can/net//mb0_id +Date: January 2011 +KernelVersion: 2.6.38 +Contact: Marc Kleine-Budde +Description: + Value representing the can_id of mailbox 0. + + Default: 0x7ff (standard frame) + + Due to a chip bug (errata 50.2.6.3 & 50.3.5.3 in + "AT91SAM9263 Preliminary 6249H-ATARM-27-Jul-09") the + contents of mailbox 0 may be send under certain + conditions (even if disabled or in rx mode). + + The workaround in the errata suggests not to use the + mailbox and load it with an unused identifier. + + In order to use an extended can_id add the + CAN_EFF_FLAG (0x80000000U) to the can_id. Example: + + - standard id 0x7ff:: + + echo 0x7ff > /sys/class/net/can0/mb0_id + + - extended id 0x1fffffff:: + + echo 0x9fffffff > /sys/class/net/can0/mb0_id diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-i2c-demux-pinctrl b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-i2c-demux-pinctrl index 3b0b264134..b6a138b50d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-i2c-demux-pinctrl +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-i2c-demux-pinctrl @@ -1,18 +1,18 @@ -What: /sys/devices/platform//available_masters -Date: January 2016 -KernelVersion: 4.6 -Contact: Wolfram Sang -Description: - Reading the file will give you a list of masters which can be - selected for a demultiplexed bus. The format is - ":". Example from a Renesas Lager board:: - - 0:/i2c@e6500000 1:/i2c@e6508000 - -What: /sys/devices/platform//current_master -Date: January 2016 -KernelVersion: 4.6 -Contact: Wolfram Sang -Description: - This file selects/shows the active I2C master for a demultiplexed - bus. It uses the value from the file 'available_masters'. +What: /sys/devices/platform//available_masters +Date: January 2016 +KernelVersion: 4.6 +Contact: Wolfram Sang +Description: + Reading the file will give you a list of masters which can be + selected for a demultiplexed bus. The format is + ":". Example from a Renesas Lager board:: + + 0:/i2c@e6500000 1:/i2c@e6508000 + +What: /sys/devices/platform//current_master +Date: January 2016 +KernelVersion: 4.6 +Contact: Wolfram Sang +Description: + This file selects/shows the active I2C master for a demultiplexed + bus. It uses the value from the file 'available_masters'. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-intel-pmc b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-intel-pmc index a438113b9f..f31d59b21f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-intel-pmc +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-intel-pmc @@ -1,22 +1,22 @@ -What: /sys/devices/platform//etr3 -Date: Apr 2021 -KernelVersion: 5.13 -Contact: "Tomas Winkler" -Description: - The file exposes "Extended Test Mode Register 3" global - reset bits. The bits are used during an Intel platform - manufacturing process to indicate that consequent reset - of the platform is a "global reset". This type of reset - is required in order for manufacturing configurations - to take effect. - - Display global reset setting bits for PMC. - - * bit 31 - global reset is locked - * bit 20 - global reset is set - - Writing bit 20 value to the etr3 will induce - a platform "global reset" upon consequent platform reset, - in case the register is not locked. - The "global reset bit" should be locked on a production - system and the file is in read-only mode. +What: /sys/devices/platform//etr3 +Date: Apr 2021 +KernelVersion: 5.13 +Contact: "Tomas Winkler" +Description: + The file exposes "Extended Test Mode Register 3" global + reset bits. The bits are used during an Intel platform + manufacturing process to indicate that consequent reset + of the platform is a "global reset". This type of reset + is required in order for manufacturing configurations + to take effect. + + Display global reset setting bits for PMC. + + * bit 31 - global reset is locked + * bit 20 - global reset is set + + Writing bit 20 value to the etr3 will induce + a platform "global reset" upon consequent platform reset, + in case the register is not locked. + The "global reset bit" should be locked on a production + system and the file is in read-only mode. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-silicom b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-silicom index 0d738af8e5..4d1cc5bdbc 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-silicom +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-silicom @@ -1,30 +1,30 @@ -What: /sys/devices/platform/silicom-platform/uc_version -Date: November 2023 -KernelVersion: 6.7 -Contact: Henry Shi -Description: - This file allows to read microcontroller firmware - version of current platform. - -What: /sys/devices/platform/silicom-platform/power_cycle -Date: November 2023 -KernelVersion: 6.7 -Contact: Henry Shi -Description: - This file allow user to power cycle the platform. - Default value is 0; when set to 1, it powers down - the platform, waits 5 seconds, then powers on the - device. It returns to default value after power cycle. - - 0 - default value. - -What: /sys/devices/platform/silicom-platform/efuse_status -Date: November 2023 -KernelVersion: 6.7 -Contact: Henry Shi -Description: - This file is read only. It returns the current - OTP status: - - 0 - not programmed. - 1 - programmed. +What: /sys/devices/platform/silicom-platform/uc_version +Date: November 2023 +KernelVersion: 6.7 +Contact: Henry Shi +Description: + This file allows to read microcontroller firmware + version of current platform. + +What: /sys/devices/platform/silicom-platform/power_cycle +Date: November 2023 +KernelVersion: 6.7 +Contact: Henry Shi +Description: + This file allow user to power cycle the platform. + Default value is 0; when set to 1, it powers down + the platform, waits 5 seconds, then powers on the + device. It returns to default value after power cycle. + + 0 - default value. + +What: /sys/devices/platform/silicom-platform/efuse_status +Date: November 2023 +KernelVersion: 6.7 +Contact: Henry Shi +Description: + This file is read only. It returns the current + OTP status: + + 0 - not programmed. + 1 - programmed. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/usb-uevent b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/usb-uevent index 887ecb6a72..2b8eca4bf2 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/usb-uevent +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/usb-uevent @@ -1,27 +1,27 @@ -What: Raise a uevent when a USB Host Controller has died -Date: 2019-04-17 -KernelVersion: 5.2 -Contact: linux-usb@vger.kernel.org -Description: When the USB Host Controller has entered a state where it is no - longer functional a uevent will be raised. The uevent will - contain ACTION=offline and ERROR=DEAD. - - Here is an example taken using udevadm monitor -p:: - - KERNEL[130.428945] offline /devices/pci0000:00/0000:00:10.0/usb2 (usb) - ACTION=offline - BUSNUM=002 - DEVNAME=/dev/bus/usb/002/001 - DEVNUM=001 - DEVPATH=/devices/pci0000:00/0000:00:10.0/usb2 - DEVTYPE=usb_device - DRIVER=usb - ERROR=DEAD - MAJOR=189 - MINOR=128 - PRODUCT=1d6b/2/414 - SEQNUM=2168 - SUBSYSTEM=usb - TYPE=9/0/1 - -Users: chromium-os-dev@chromium.org +What: Raise a uevent when a USB Host Controller has died +Date: 2019-04-17 +KernelVersion: 5.2 +Contact: linux-usb@vger.kernel.org +Description: When the USB Host Controller has entered a state where it is no + longer functional a uevent will be raised. The uevent will + contain ACTION=offline and ERROR=DEAD. + + Here is an example taken using udevadm monitor -p:: + + KERNEL[130.428945] offline /devices/pci0000:00/0000:00:10.0/usb2 (usb) + ACTION=offline + BUSNUM=002 + DEVNAME=/dev/bus/usb/002/001 + DEVNUM=001 + DEVPATH=/devices/pci0000:00/0000:00:10.0/usb2 + DEVTYPE=usb_device + DRIVER=usb + ERROR=DEAD + MAJOR=189 + MINOR=128 + PRODUCT=1d6b/2/414 + SEQNUM=2168 + SUBSYSTEM=usb + TYPE=9/0/1 + +Users: chromium-os-dev@chromium.org diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/Kconfig b/image/debian/UFI003_MB_V02/kernel/Documentation/Kconfig index defc5d7c14..3a0e7ac0c4 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/Kconfig @@ -1,28 +1,28 @@ -if COMPILE_TEST - -menu "Documentation" - -config WARN_MISSING_DOCUMENTS - bool "Warn if there's a missing documentation file" - help - It is not uncommon that a document gets renamed. - This option makes the Kernel to check for missing dependencies, - warning when something is missing. Works only if the Kernel - is built from a git tree. - - If unsure, select 'N'. - -config WARN_ABI_ERRORS - bool "Warn if there are errors at ABI files" - help - The files under Documentation/ABI should follow what's - described at Documentation/ABI/README. Yet, as they're manually - written, it would be possible that some of those files would - have errors that would break them for being parsed by - scripts/get_abi.pl. Add a check to verify them. - - If unsure, select 'N'. - -endmenu - -endif +if COMPILE_TEST + +menu "Documentation" + +config WARN_MISSING_DOCUMENTS + bool "Warn if there's a missing documentation file" + help + It is not uncommon that a document gets renamed. + This option makes the Kernel to check for missing dependencies, + warning when something is missing. Works only if the Kernel + is built from a git tree. + + If unsure, select 'N'. + +config WARN_ABI_ERRORS + bool "Warn if there are errors at ABI files" + help + The files under Documentation/ABI should follow what's + described at Documentation/ABI/README. Yet, as they're manually + written, it would be possible that some of those files would + have errors that would break them for being parsed by + scripts/get_abi.pl. Add a check to verify them. + + If unsure, select 'N'. + +endmenu + +endif diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/PCI/endpoint/function/binding/pci-test.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/PCI/endpoint/function/binding/pci-test.rst index d921f4740f..57ee866fb1 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/PCI/endpoint/function/binding/pci-test.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/PCI/endpoint/function/binding/pci-test.rst @@ -1,26 +1,26 @@ -.. SPDX-License-Identifier: GPL-2.0 - -========================== -PCI Test Endpoint Function -========================== - -name: Should be "pci_epf_test" to bind to the pci_epf_test driver. - -Configurable Fields: - -================ =========================================================== -vendorid should be 0x104c -deviceid should be 0xb500 for DRA74x and 0xb501 for DRA72x -revid don't care -progif_code don't care -subclass_code don't care -baseclass_code should be 0xff -cache_line_size don't care -subsys_vendor_id don't care -subsys_id don't care -interrupt_pin Should be 1 - INTA, 2 - INTB, 3 - INTC, 4 -INTD -msi_interrupts Should be 1 to 32 depending on the number of MSI interrupts - to test -msix_interrupts Should be 1 to 2048 depending on the number of MSI-X - interrupts to test -================ =========================================================== +.. SPDX-License-Identifier: GPL-2.0 + +========================== +PCI Test Endpoint Function +========================== + +name: Should be "pci_epf_test" to bind to the pci_epf_test driver. + +Configurable Fields: + +================ =========================================================== +vendorid should be 0x104c +deviceid should be 0xb500 for DRA74x and 0xb501 for DRA72x +revid don't care +progif_code don't care +subclass_code don't care +baseclass_code should be 0xff +cache_line_size don't care +subsys_vendor_id don't care +subsys_id don't care +interrupt_pin Should be 1 - INTA, 2 - INTB, 3 - INTC, 4 -INTD +msi_interrupts Should be 1 to 32 depending on the number of MSI interrupts + to test +msix_interrupts Should be 1 to 2048 depending on the number of MSI-X + interrupts to test +================ =========================================================== diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/RAS/address-translation.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/RAS/address-translation.rst index 2addfc6fce..f0ca17b43c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/RAS/address-translation.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/RAS/address-translation.rst @@ -1,24 +1,24 @@ -.. SPDX-License-Identifier: GPL-2.0 - -Address translation -=================== - -x86 AMD -------- - -Zen-based AMD systems include a Data Fabric that manages the layout of -physical memory. Devices attached to the Fabric, like memory controllers, -I/O, etc., may not have a complete view of the system physical memory map. -These devices may provide a "normalized", i.e. device physical, address -when reporting memory errors. Normalized addresses must be translated to -a system physical address for the kernel to action on the memory. - -AMD Address Translation Library (CONFIG_AMD_ATL) provides translation for -this case. - -Glossary of acronyms used in address translation for Zen-based systems - -* CCM = Cache Coherent Moderator -* COD = Cluster-on-Die -* COH_ST = Coherent Station -* DF = Data Fabric +.. SPDX-License-Identifier: GPL-2.0 + +Address translation +=================== + +x86 AMD +------- + +Zen-based AMD systems include a Data Fabric that manages the layout of +physical memory. Devices attached to the Fabric, like memory controllers, +I/O, etc., may not have a complete view of the system physical memory map. +These devices may provide a "normalized", i.e. device physical, address +when reporting memory errors. Normalized addresses must be translated to +a system physical address for the kernel to action on the memory. + +AMD Address Translation Library (CONFIG_AMD_ATL) provides translation for +this case. + +Glossary of acronyms used in address translation for Zen-based systems + +* CCM = Cache Coherent Moderator +* COD = Cluster-on-Die +* COH_ST = Coherent Station +* DF = Data Fabric diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/RAS/error-decoding.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/RAS/error-decoding.rst index a481c43dc2..26a72f3fe5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/RAS/error-decoding.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/RAS/error-decoding.rst @@ -1,21 +1,21 @@ -.. SPDX-License-Identifier: GPL-2.0 - -Error decoding -============== - -x86 ---- - -Error decoding on AMD systems should be done using the rasdaemon tool: -https://github.com/mchehab/rasdaemon/ - -While the daemon is running, it would automatically log and decode -errors. If not, one can still decode such errors by supplying the -hardware information from the error:: - - $ rasdaemon -p --status --ipid --smca - -Also, the user can pass particular family and model to decode the error -string:: - - $ rasdaemon -p --status --ipid --smca --family --model --bank +.. SPDX-License-Identifier: GPL-2.0 + +Error decoding +============== + +x86 +--- + +Error decoding on AMD systems should be done using the rasdaemon tool: +https://github.com/mchehab/rasdaemon/ + +While the daemon is running, it would automatically log and decode +errors. If not, one can still decode such errors by supplying the +hardware information from the error:: + + $ rasdaemon -p --status --ipid --smca + +Also, the user can pass particular family and model to decode the error +string:: + + $ rasdaemon -p --status --ipid --smca --family --model --bank diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/abi-testing.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/abi-testing.rst index 14bd2948d3..19767926b3 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/abi-testing.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/abi-testing.rst @@ -1,20 +1,20 @@ -ABI testing symbols -=================== - -Documents interfaces that are felt to be stable, -as the main development of this interface has been completed. - -The interface can be changed to add new features, but the -current interface will not break by doing this, unless grave -errors or security problems are found in them. - -Userspace programs can start to rely on these interfaces, but they must -be aware of changes that can occur before these interfaces move to -be marked stable. - -Programs that use these interfaces are strongly encouraged to add their -name to the description of these interfaces, so that the kernel -developers can easily notify them if any changes occur. - -.. kernel-abi:: ABI/testing - :rst: +ABI testing symbols +=================== + +Documents interfaces that are felt to be stable, +as the main development of this interface has been completed. + +The interface can be changed to add new features, but the +current interface will not break by doing this, unless grave +errors or security problems are found in them. + +Userspace programs can start to rely on these interfaces, but they must +be aware of changes that can occur before these interfaces move to +be marked stable. + +Programs that use these interfaces are strongly encouraged to add their +name to the description of these interfaces, so that the kernel +developers can easily notify them if any changes occur. + +.. kernel-abi:: ABI/testing + :rst: diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/aoe/status.sh b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/aoe/status.sh index 9ceec12f75..eeec7baae5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/aoe/status.sh +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/aoe/status.sh @@ -1,30 +1,30 @@ -#! /bin/sh -# collate and present sysfs information about AoE storage -# -# A more complete version of this script is aoe-stat, in the -# aoetools. - -set -e -format="%8s\t%8s\t%8s\n" -me=`basename $0` -sysd=${sysfs_dir:-/sys} - -# printf "$format" device mac netif state - -# Suse 9.1 Pro doesn't put /sys in /etc/mtab -#test -z "`mount | grep sysfs`" && { -test ! -d "$sysd/block" && { - echo "$me Error: sysfs is not mounted" 1>&2 - exit 1 -} - -for d in `ls -d $sysd/block/etherd* 2>/dev/null | grep -v p` end; do - # maybe ls comes up empty, so we use "end" - test $d = end && continue - - dev=`echo "$d" | sed 's/.*!//'` - printf "$format" \ - "$dev" \ - "`cat \"$d/netif\"`" \ - "`cat \"$d/state\"`" -done | sort +#! /bin/sh +# collate and present sysfs information about AoE storage +# +# A more complete version of this script is aoe-stat, in the +# aoetools. + +set -e +format="%8s\t%8s\t%8s\n" +me=`basename $0` +sysd=${sysfs_dir:-/sys} + +# printf "$format" device mac netif state + +# Suse 9.1 Pro doesn't put /sys in /etc/mtab +#test -z "`mount | grep sysfs`" && { +test ! -d "$sysd/block" && { + echo "$me Error: sysfs is not mounted" 1>&2 + exit 1 +} + +for d in `ls -d $sysd/block/etherd* 2>/dev/null | grep -v p` end; do + # maybe ls comes up empty, so we use "end" + test $d = end && continue + + dev=`echo "$d" | sed 's/.*!//'` + printf "$format" \ + "$dev" \ + "`cat \"$d/netif\"`" \ + "`cat \"$d/state\"`" +done | sort diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/aoe/todo.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/aoe/todo.rst index 0cfe1fca5c..dea8db5a33 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/aoe/todo.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/aoe/todo.rst @@ -1,17 +1,17 @@ -TODO -==== - -There is a potential for deadlock when allocating a struct sk_buff for -data that needs to be written out to aoe storage. If the data is -being written from a dirty page in order to free that page, and if -there are no other pages available, then deadlock may occur when a -free page is needed for the sk_buff allocation. This situation has -not been observed, but it would be nice to eliminate any potential for -deadlock under memory pressure. - -Because ATA over Ethernet is not fragmented by the kernel's IP code, -the destructor member of the struct sk_buff is available to the aoe -driver. By using a mempool for allocating all but the first few -sk_buffs, and by registering a destructor, we should be able to -efficiently allocate sk_buffs without introducing any potential for -deadlock. +TODO +==== + +There is a potential for deadlock when allocating a struct sk_buff for +data that needs to be written out to aoe storage. If the data is +being written from a dirty page in order to free that page, and if +there are no other pages available, then deadlock may occur when a +free page is needed for the sk_buff allocation. This situation has +not been observed, but it would be nice to eliminate any potential for +deadlock under memory pressure. + +Because ATA over Ethernet is not fragmented by the kernel's IP code, +the destructor member of the struct sk_buff is available to the aoe +driver. By using a mempool for allocating all but the first few +sk_buffs, and by registering a destructor, we should be able to +efficiently allocate sk_buffs without introducing any potential for +deadlock. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/aoe/udev-install.sh b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/aoe/udev-install.sh index 5cd94c2993..15e86f58c0 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/aoe/udev-install.sh +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/aoe/udev-install.sh @@ -1,33 +1,33 @@ -# install the aoe-specific udev rules from udev.txt into -# the system's udev configuration -# - -me="`basename $0`" - -# find udev.conf, often /etc/udev/udev.conf -# (or environment can specify where to find udev.conf) -# -if test -z "$conf"; then - if test -r /etc/udev/udev.conf; then - conf=/etc/udev/udev.conf - else - conf="`find /etc -type f -name udev.conf 2> /dev/null`" - if test -z "$conf" || test ! -r "$conf"; then - echo "$me Error: no udev.conf found" 1>&2 - exit 1 - fi - fi -fi - -# find the directory where udev rules are stored, often -# /etc/udev/rules.d -# -rules_d="`sed -n '/^udev_rules=/{ s!udev_rules=!!; s!\"!!g; p; }' $conf`" -if test -z "$rules_d" ; then - rules_d=/etc/udev/rules.d -fi -if test ! -d "$rules_d"; then - echo "$me Error: cannot find udev rules directory" 1>&2 - exit 1 -fi -sh -xc "cp `dirname $0`/udev.txt $rules_d/60-aoe.rules" +# install the aoe-specific udev rules from udev.txt into +# the system's udev configuration +# + +me="`basename $0`" + +# find udev.conf, often /etc/udev/udev.conf +# (or environment can specify where to find udev.conf) +# +if test -z "$conf"; then + if test -r /etc/udev/udev.conf; then + conf=/etc/udev/udev.conf + else + conf="`find /etc -type f -name udev.conf 2> /dev/null`" + if test -z "$conf" || test ! -r "$conf"; then + echo "$me Error: no udev.conf found" 1>&2 + exit 1 + fi + fi +fi + +# find the directory where udev rules are stored, often +# /etc/udev/rules.d +# +rules_d="`sed -n '/^udev_rules=/{ s!udev_rules=!!; s!\"!!g; p; }' $conf`" +if test -z "$rules_d" ; then + rules_d=/etc/udev/rules.d +fi +if test ! -d "$rules_d"; then + echo "$me Error: cannot find udev rules directory" 1>&2 + exit 1 +fi +sh -xc "cp `dirname $0`/udev.txt $rules_d/60-aoe.rules" diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/blockdev/drbd/conn-states-8.dot b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/blockdev/drbd/conn-states-8.dot index 99ba549411..025e8cf5e6 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/blockdev/drbd/conn-states-8.dot +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/blockdev/drbd/conn-states-8.dot @@ -1,18 +1,18 @@ -digraph conn_states { - StandAllone -> WFConnection [ label = "ioctl_set_net()" ] - WFConnection -> Unconnected [ label = "unable to bind()" ] - WFConnection -> WFReportParams [ label = "in connect() after accept" ] - WFReportParams -> StandAllone [ label = "checks in receive_param()" ] - WFReportParams -> Connected [ label = "in receive_param()" ] - WFReportParams -> WFBitMapS [ label = "sync_handshake()" ] - WFReportParams -> WFBitMapT [ label = "sync_handshake()" ] - WFBitMapS -> SyncSource [ label = "receive_bitmap()" ] - WFBitMapT -> SyncTarget [ label = "receive_bitmap()" ] - SyncSource -> Connected - SyncTarget -> Connected - SyncSource -> PausedSyncS - SyncTarget -> PausedSyncT - PausedSyncS -> SyncSource - PausedSyncT -> SyncTarget - Connected -> WFConnection [ label = "* on network error" ] -} +digraph conn_states { + StandAllone -> WFConnection [ label = "ioctl_set_net()" ] + WFConnection -> Unconnected [ label = "unable to bind()" ] + WFConnection -> WFReportParams [ label = "in connect() after accept" ] + WFReportParams -> StandAllone [ label = "checks in receive_param()" ] + WFReportParams -> Connected [ label = "in receive_param()" ] + WFReportParams -> WFBitMapS [ label = "sync_handshake()" ] + WFReportParams -> WFBitMapT [ label = "sync_handshake()" ] + WFBitMapS -> SyncSource [ label = "receive_bitmap()" ] + WFBitMapT -> SyncTarget [ label = "receive_bitmap()" ] + SyncSource -> Connected + SyncTarget -> Connected + SyncSource -> PausedSyncS + SyncTarget -> PausedSyncT + PausedSyncS -> SyncSource + PausedSyncT -> SyncTarget + Connected -> WFConnection [ label = "* on network error" ] +} diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/blockdev/drbd/disk-states-8.dot b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/blockdev/drbd/disk-states-8.dot index 5cecbf25b8..d06cfb46fb 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/blockdev/drbd/disk-states-8.dot +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/blockdev/drbd/disk-states-8.dot @@ -1,16 +1,16 @@ -digraph disk_states { - Diskless -> Inconsistent [ label = "ioctl_set_disk()" ] - Diskless -> Consistent [ label = "ioctl_set_disk()" ] - Diskless -> Outdated [ label = "ioctl_set_disk()" ] - Consistent -> Outdated [ label = "receive_param()" ] - Consistent -> UpToDate [ label = "receive_param()" ] - Consistent -> Inconsistent [ label = "start resync" ] - Outdated -> Inconsistent [ label = "start resync" ] - UpToDate -> Inconsistent [ label = "ioctl_replicate" ] - Inconsistent -> UpToDate [ label = "resync completed" ] - Consistent -> Failed [ label = "io completion error" ] - Outdated -> Failed [ label = "io completion error" ] - UpToDate -> Failed [ label = "io completion error" ] - Inconsistent -> Failed [ label = "io completion error" ] - Failed -> Diskless [ label = "sending notify to peer" ] -} +digraph disk_states { + Diskless -> Inconsistent [ label = "ioctl_set_disk()" ] + Diskless -> Consistent [ label = "ioctl_set_disk()" ] + Diskless -> Outdated [ label = "ioctl_set_disk()" ] + Consistent -> Outdated [ label = "receive_param()" ] + Consistent -> UpToDate [ label = "receive_param()" ] + Consistent -> Inconsistent [ label = "start resync" ] + Outdated -> Inconsistent [ label = "start resync" ] + UpToDate -> Inconsistent [ label = "ioctl_replicate" ] + Inconsistent -> UpToDate [ label = "resync completed" ] + Consistent -> Failed [ label = "io completion error" ] + Outdated -> Failed [ label = "io completion error" ] + UpToDate -> Failed [ label = "io completion error" ] + Inconsistent -> Failed [ label = "io completion error" ] + Failed -> Diskless [ label = "sending notify to peer" ] +} diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/blockdev/drbd/figures.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/blockdev/drbd/figures.rst index b6a9302ed8..9f73253ea3 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/blockdev/drbd/figures.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/blockdev/drbd/figures.rst @@ -1,30 +1,30 @@ -.. SPDX-License-Identifier: GPL-2.0 - -.. The here included files are intended to help understand the implementation - -Data flows that Relate some functions, and write packets -======================================================== - -.. kernel-figure:: DRBD-8.3-data-packets.svg - :alt: DRBD-8.3-data-packets.svg - :align: center - -.. kernel-figure:: DRBD-data-packets.svg - :alt: DRBD-data-packets.svg - :align: center - - -Sub graphs of DRBD's state transitions -====================================== - -.. kernel-figure:: conn-states-8.dot - :alt: conn-states-8.dot - :align: center - -.. kernel-figure:: disk-states-8.dot - :alt: disk-states-8.dot - :align: center - -.. kernel-figure:: peer-states-8.dot - :alt: peer-states-8.dot - :align: center +.. SPDX-License-Identifier: GPL-2.0 + +.. The here included files are intended to help understand the implementation + +Data flows that Relate some functions, and write packets +======================================================== + +.. kernel-figure:: DRBD-8.3-data-packets.svg + :alt: DRBD-8.3-data-packets.svg + :align: center + +.. kernel-figure:: DRBD-data-packets.svg + :alt: DRBD-data-packets.svg + :align: center + + +Sub graphs of DRBD's state transitions +====================================== + +.. kernel-figure:: conn-states-8.dot + :alt: conn-states-8.dot + :align: center + +.. kernel-figure:: disk-states-8.dot + :alt: disk-states-8.dot + :align: center + +.. kernel-figure:: peer-states-8.dot + :alt: peer-states-8.dot + :align: center diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/au0828-cardlist.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/au0828-cardlist.rst index c14dd668c5..aaaadc934e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/au0828-cardlist.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/au0828-cardlist.rst @@ -1,39 +1,39 @@ -.. SPDX-License-Identifier: GPL-2.0 - -AU0828 cards list -================= - -.. tabularcolumns:: |p{1.4cm}|p{6.5cm}|p{10.0cm}| - -.. flat-table:: - :header-rows: 1 - :widths: 2 19 18 - :stub-columns: 0 - - * - Card number - - Card name - - USB IDs - - * - 0 - - Unknown board - - - - * - 1 - - Hauppauge HVR950Q - - 2040:7200, 2040:7210, 2040:7217, 2040:721b, 2040:721e, 2040:721f, 2040:7280, 0fd9:0008, 2040:7260, 2040:7213, 2040:7270 - - * - 2 - - Hauppauge HVR850 - - 2040:7240 - - * - 3 - - DViCO FusionHDTV USB - - 0fe9:d620 - - * - 4 - - Hauppauge HVR950Q rev xxF8 - - 2040:7201, 2040:7211, 2040:7281 - - * - 5 - - Hauppauge Woodbury - - 05e1:0480, 2040:8200 +.. SPDX-License-Identifier: GPL-2.0 + +AU0828 cards list +================= + +.. tabularcolumns:: |p{1.4cm}|p{6.5cm}|p{10.0cm}| + +.. flat-table:: + :header-rows: 1 + :widths: 2 19 18 + :stub-columns: 0 + + * - Card number + - Card name + - USB IDs + + * - 0 + - Unknown board + - + + * - 1 + - Hauppauge HVR950Q + - 2040:7200, 2040:7210, 2040:7217, 2040:721b, 2040:721e, 2040:721f, 2040:7280, 0fd9:0008, 2040:7260, 2040:7213, 2040:7270 + + * - 2 + - Hauppauge HVR850 + - 2040:7240 + + * - 3 + - DViCO FusionHDTV USB + - 0fe9:d620 + + * - 4 + - Hauppauge HVR950Q rev xxF8 + - 2040:7201, 2040:7211, 2040:7281 + + * - 5 + - Hauppauge Woodbury + - 05e1:0480, 2040:8200 diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/cardlist.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/cardlist.rst index 517cf2a751..5b38bfd6a1 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/cardlist.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/cardlist.rst @@ -1,29 +1,29 @@ -.. SPDX-License-Identifier: GPL-2.0 - -========== -Cards List -========== - -The media subsystem provide support for lots of PCI and USB drivers, plus -platform-specific drivers. It also contains several ancillary I²C drivers. - -The platform-specific drivers are usually present on embedded systems, -or are supported by the main board. Usually, setting them is done via -OpenFirmware or ACPI. - -The PCI and USB drivers, however, are independent of the system's board, -and may be added/removed by the user. - -You may also take a look at -https://linuxtv.org/wiki/index.php/Hardware_Device_Information -for more details about supported cards. - -.. toctree:: - :maxdepth: 2 - - usb-cardlist - pci-cardlist - platform-cardlist - radio-cardlist - i2c-cardlist - misc-cardlist +.. SPDX-License-Identifier: GPL-2.0 + +========== +Cards List +========== + +The media subsystem provide support for lots of PCI and USB drivers, plus +platform-specific drivers. It also contains several ancillary I²C drivers. + +The platform-specific drivers are usually present on embedded systems, +or are supported by the main board. Usually, setting them is done via +OpenFirmware or ACPI. + +The PCI and USB drivers, however, are independent of the system's board, +and may be added/removed by the user. + +You may also take a look at +https://linuxtv.org/wiki/index.php/Hardware_Device_Information +for more details about supported cards. + +.. toctree:: + :maxdepth: 2 + + usb-cardlist + pci-cardlist + platform-cardlist + radio-cardlist + i2c-cardlist + misc-cardlist diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-cxusb-cardlist.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-cxusb-cardlist.rst index b961d30c08..a73f15d1ac 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-cxusb-cardlist.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-cxusb-cardlist.rst @@ -1,40 +1,40 @@ -.. SPDX-License-Identifier: GPL-2.0 - -dvb-usb-cxusb 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 AVerTVHD Volar (A868R) - - - * - Conexant DMB-TH Stick - - - * - DViCO FusionHDTV DVB-T Dual Digital 2 - - - * - DViCO FusionHDTV DVB-T Dual Digital 4 - - - * - DViCO FusionHDTV DVB-T Dual Digital 4 (rev 2) - - - * - DViCO FusionHDTV DVB-T Dual USB - - - * - DViCO FusionHDTV DVB-T NANO2 - - - * - DViCO FusionHDTV DVB-T USB (LGZ201) - - - * - DViCO FusionHDTV DVB-T USB (TH7579) - - - * - DViCO FusionHDTV5 USB Gold - - - * - DigitalNow DVB-T Dual USB - - - * - Medion MD95700 (MDUSBTV-HYBRID) - - - * - Mygica D689 DMB-TH - - +.. SPDX-License-Identifier: GPL-2.0 + +dvb-usb-cxusb 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 AVerTVHD Volar (A868R) + - + * - Conexant DMB-TH Stick + - + * - DViCO FusionHDTV DVB-T Dual Digital 2 + - + * - DViCO FusionHDTV DVB-T Dual Digital 4 + - + * - DViCO FusionHDTV DVB-T Dual Digital 4 (rev 2) + - + * - DViCO FusionHDTV DVB-T Dual USB + - + * - DViCO FusionHDTV DVB-T NANO2 + - + * - DViCO FusionHDTV DVB-T USB (LGZ201) + - + * - DViCO FusionHDTV DVB-T USB (TH7579) + - + * - DViCO FusionHDTV5 USB Gold + - + * - DigitalNow DVB-T Dual USB + - + * - Medion MD95700 (MDUSBTV-HYBRID) + - + * - Mygica D689 DMB-TH + - diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-dibusb-mc-cardlist.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-dibusb-mc-cardlist.rst index 1943af4e81..8d03bae0e0 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-dibusb-mc-cardlist.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-dibusb-mc-cardlist.rst @@ -1,30 +1,30 @@ -.. SPDX-License-Identifier: GPL-2.0 - -dvb-usb-dibusb-mc cards list -============================ - -.. tabularcolumns:: |p{7.0cm}|p{10.5cm}| - -.. flat-table:: - :header-rows: 1 - :widths: 7 13 - :stub-columns: 0 - - * - Card name - - USB IDs - * - Artec T1 USB2.0 TVBOX (please check the warm ID) - - 05d8:8109, 05d8:810a - * - Artec T14 - USB2.0 DVB-T - - 05d8:810b, 05d8:810c - * - DiBcom USB2.0 DVB-T reference design (MOD3000P) - - 10b8:0bc6, 10b8:0bc7 - * - GRAND - USB2.0 DVB-T adapter - - 5032:0bc6, 5032:0bc7 - * - Humax/Coex DVB-T USB Stick 2.0 High Speed - - 10b9:5000, 10b9:5001 - * - LITE-ON USB2.0 DVB-T Tuner - - 04ca:f000, 04ca:f001 - * - Leadtek - USB2.0 Winfast DTV dongle - - 0413:6025, 0413:6026 - * - MSI Digivox Mini SL - - eb1a:e360, eb1a:e361 +.. SPDX-License-Identifier: GPL-2.0 + +dvb-usb-dibusb-mc cards list +============================ + +.. tabularcolumns:: |p{7.0cm}|p{10.5cm}| + +.. flat-table:: + :header-rows: 1 + :widths: 7 13 + :stub-columns: 0 + + * - Card name + - USB IDs + * - Artec T1 USB2.0 TVBOX (please check the warm ID) + - 05d8:8109, 05d8:810a + * - Artec T14 - USB2.0 DVB-T + - 05d8:810b, 05d8:810c + * - DiBcom USB2.0 DVB-T reference design (MOD3000P) + - 10b8:0bc6, 10b8:0bc7 + * - GRAND - USB2.0 DVB-T adapter + - 5032:0bc6, 5032:0bc7 + * - Humax/Coex DVB-T USB Stick 2.0 High Speed + - 10b9:5000, 10b9:5001 + * - LITE-ON USB2.0 DVB-T Tuner + - 04ca:f000, 04ca:f001 + * - Leadtek - USB2.0 Winfast DTV dongle + - 0413:6025, 0413:6026 + * - MSI Digivox Mini SL + - eb1a:e360, eb1a:e361 diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/intro.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/intro.rst index 96ede28507..fec8122f24 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/intro.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/intro.rst @@ -1,27 +1,27 @@ -.. SPDX-License-Identifier: GPL-2.0 - -============ -Introduction -============ - -The media subsystem consists on Linux support for several different types -of devices: - -- Audio and video grabbers; -- PC and Laptop Cameras; -- Complex cameras found on Embedded hardware; -- Analog and digital TV; -- HDMI Customer Electronics Control (CEC); -- Multi-touch input devices; -- Remote Controllers; -- Media encoders and decoders. - -Due to the diversity of devices, the subsystem provides several different -APIs: - -- Remote Controller API; -- HDMI CEC API; -- Video4Linux API; -- Media controller API; -- Video4Linux Request API (experimental); -- Digital TV API (also known as DVB API). +.. SPDX-License-Identifier: GPL-2.0 + +============ +Introduction +============ + +The media subsystem consists on Linux support for several different types +of devices: + +- Audio and video grabbers; +- PC and Laptop Cameras; +- Complex cameras found on Embedded hardware; +- Analog and digital TV; +- HDMI Customer Electronics Control (CEC); +- Multi-touch input devices; +- Remote Controllers; +- Media encoders and decoders. + +Due to the diversity of devices, the subsystem provides several different +APIs: + +- Remote Controller API; +- HDMI CEC API; +- Video4Linux API; +- Media controller API; +- Video4Linux Request API (experimental); +- Digital TV API (also known as DVB API). diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/misc-cardlist.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/misc-cardlist.rst index 3f849f1720..4c26bcfccd 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/misc-cardlist.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/misc-cardlist.rst @@ -1,28 +1,28 @@ -.. SPDX-License-Identifier: GPL-2.0 - -Firewire driver -=============== - -The media subsystem also provides a firewire driver for digital TV: - -======= ===================== -Driver Name -======= ===================== -firedtv FireDTV and FloppyDTV -======= ===================== - -Test drivers -============ - -In order to test userspace applications, there's a number of virtual -drivers, with provide test functionality, simulating real hardware -devices: - -======= ====================================== -Driver Name -======= ====================================== -vicodec Virtual Codec Driver -vim2m Virtual Memory-to-Memory Driver -vimc Virtual Media Controller Driver (VIMC) -vivid Virtual Video Test Driver -======= ====================================== +.. SPDX-License-Identifier: GPL-2.0 + +Firewire driver +=============== + +The media subsystem also provides a firewire driver for digital TV: + +======= ===================== +Driver Name +======= ===================== +firedtv FireDTV and FloppyDTV +======= ===================== + +Test drivers +============ + +In order to test userspace applications, there's a number of virtual +drivers, with provide test functionality, simulating real hardware +devices: + +======= ====================================== +Driver Name +======= ====================================== +vicodec Virtual Codec Driver +vim2m Virtual Memory-to-Memory Driver +vimc Virtual Media Controller Driver (VIMC) +vivid Virtual Video Test Driver +======= ====================================== diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/starfive_camss_graph.dot b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/starfive_camss_graph.dot index 1804a5b4b1..8eff1f161a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/starfive_camss_graph.dot +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/starfive_camss_graph.dot @@ -1,12 +1,12 @@ -digraph board { - rankdir=TB - n00000001 [label="{{ 0} | stf_isp\n/dev/v4l-subdev0 | { 1}}", shape=Mrecord, style=filled, fillcolor=green] - n00000001:port1 -> n00000008 [style=dashed] - n00000004 [label="capture_raw\n/dev/video0", shape=box, style=filled, fillcolor=yellow] - n00000008 [label="capture_yuv\n/dev/video1", shape=box, style=filled, fillcolor=yellow] - n0000000e [label="{{ 0} | cdns_csi2rx.19800000.csi-bridge\n | { 1 | 2 | 3 | 4}}", shape=Mrecord, style=filled, fillcolor=green] - n0000000e:port1 -> n00000001:port0 [style=dashed] - n0000000e:port1 -> n00000004 [style=dashed] - n00000018 [label="{{} | imx219 6-0010\n/dev/v4l-subdev1 | { 0}}", shape=Mrecord, style=filled, fillcolor=green] - n00000018:port0 -> n0000000e:port0 [style=bold] -} +digraph board { + rankdir=TB + n00000001 [label="{{ 0} | stf_isp\n/dev/v4l-subdev0 | { 1}}", shape=Mrecord, style=filled, fillcolor=green] + n00000001:port1 -> n00000008 [style=dashed] + n00000004 [label="capture_raw\n/dev/video0", shape=box, style=filled, fillcolor=yellow] + n00000008 [label="capture_yuv\n/dev/video1", shape=box, style=filled, fillcolor=yellow] + n0000000e [label="{{ 0} | cdns_csi2rx.19800000.csi-bridge\n | { 1 | 2 | 3 | 4}}", shape=Mrecord, style=filled, fillcolor=green] + n0000000e:port1 -> n00000001:port0 [style=dashed] + n0000000e:port1 -> n00000004 [style=dashed] + n00000018 [label="{{} | imx219 6-0010\n/dev/v4l-subdev1 | { 0}}", shape=Mrecord, style=filled, fillcolor=green] + n00000018:port0 -> n0000000e:port0 [style=bold] +} diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/ttusb-dec.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/ttusb-dec.rst index 6cd799e37c..516bbab8a8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/ttusb-dec.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/ttusb-dec.rst @@ -1,45 +1,45 @@ -.. SPDX-License-Identifier: GPL-2.0 - -TechnoTrend/Hauppauge DEC USB Driver -==================================== - -Driver Status -------------- - -Supported: - - - DEC2000-t - - DEC2450-t - - DEC3000-s - - Video Streaming - - Audio Streaming - - Section Filters - - Channel Zapping - - Hotplug firmware loader - -To Do: - - - Tuner status information - - DVB network interface - - Streaming video PC->DEC - - Conax support for 2450-t - -Getting the Firmware --------------------- -To download the firmware, use the following commands: - -.. code-block:: none - - scripts/get_dvb_firmware dec2000t - scripts/get_dvb_firmware dec2540t - scripts/get_dvb_firmware dec3000s - - -Hotplug Firmware Loading ------------------------- - -Since 2.6 kernels, the firmware is loaded at the point that the driver module -is loaded. - -Copy the three files downloaded above into the /usr/lib/hotplug/firmware or -/lib/firmware directory (depending on configuration of firmware hotplug). +.. SPDX-License-Identifier: GPL-2.0 + +TechnoTrend/Hauppauge DEC USB Driver +==================================== + +Driver Status +------------- + +Supported: + + - DEC2000-t + - DEC2450-t + - DEC3000-s + - Video Streaming + - Audio Streaming + - Section Filters + - Channel Zapping + - Hotplug firmware loader + +To Do: + + - Tuner status information + - DVB network interface + - Streaming video PC->DEC + - Conax support for 2450-t + +Getting the Firmware +-------------------- +To download the firmware, use the following commands: + +.. code-block:: none + + scripts/get_dvb_firmware dec2000t + scripts/get_dvb_firmware dec2540t + scripts/get_dvb_firmware dec3000s + + +Hotplug Firmware Loading +------------------------ + +Since 2.6 kernels, the firmware is loaded at the point that the driver module +is loaded. + +Copy the three files downloaded above into the /usr/lib/hotplug/firmware or +/lib/firmware directory (depending on configuration of firmware hotplug). diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/mm/cma_debugfs.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/mm/cma_debugfs.rst index 6060151ec8..7367e6294e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/mm/cma_debugfs.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/mm/cma_debugfs.rst @@ -1,25 +1,25 @@ -===================== -CMA Debugfs Interface -===================== - -The CMA debugfs interface is useful to retrieve basic information out of the -different CMA areas and to test allocation/release in each of the areas. - -Each CMA area represents a directory under /cma/, represented by -its CMA name like below: - - /cma/ - -The structure of the files created under that directory is as follows: - - - [RO] base_pfn: The base PFN (Page Frame Number) of the zone. - - [RO] count: Amount of memory in the CMA area. - - [RO] order_per_bit: Order of pages represented by one bit. - - [RO] bitmap: The bitmap of page states in the zone. - - [WO] alloc: Allocate N pages from that CMA area. For example:: - - echo 5 > /cma//alloc - -would try to allocate 5 pages from the 'cma_name' area. - - - [WO] free: Free N pages from that CMA area, similar to the above. +===================== +CMA Debugfs Interface +===================== + +The CMA debugfs interface is useful to retrieve basic information out of the +different CMA areas and to test allocation/release in each of the areas. + +Each CMA area represents a directory under /cma/, represented by +its CMA name like below: + + /cma/ + +The structure of the files created under that directory is as follows: + + - [RO] base_pfn: The base PFN (Page Frame Number) of the zone. + - [RO] count: Amount of memory in the CMA area. + - [RO] order_per_bit: Order of pages represented by one bit. + - [RO] bitmap: The bitmap of page states in the zone. + - [WO] alloc: Allocate N pages from that CMA area. For example:: + + echo 5 > /cma//alloc + +would try to allocate 5 pages from the 'cma_name' area. + + - [WO] free: Free N pages from that CMA area, similar to the above. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/namespaces/resource-control.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/namespaces/resource-control.rst index c3ea6cafd2..369556e00f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/namespaces/resource-control.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/namespaces/resource-control.rst @@ -1,18 +1,18 @@ -=========================== -Namespaces research control -=========================== - -There are a lot of kinds of objects in the kernel that don't have -individual limits or that have limits that are ineffective when a set -of processes is allowed to switch user ids. With user namespaces -enabled in a kernel for people who don't trust their users or their -users programs to play nice this problems becomes more acute. - -Therefore it is recommended that memory control groups be enabled in -kernels that enable user namespaces, and it is further recommended -that userspace configure memory control groups to limit how much -memory user's they don't trust to play nice can use. - -Memory control groups can be configured by installing the libcgroup -package present on most distros editing /etc/cgrules.conf, -/etc/cgconfig.conf and setting up libpam-cgroup. +=========================== +Namespaces research control +=========================== + +There are a lot of kinds of objects in the kernel that don't have +individual limits or that have limits that are ineffective when a set +of processes is allowed to switch user ids. With user namespaces +enabled in a kernel for people who don't trust their users or their +users programs to play nice this problems becomes more acute. + +Therefore it is recommended that memory control groups be enabled in +kernels that enable user namespaces, and it is further recommended +that userspace configure memory control groups to limit how much +memory user's they don't trust to play nice can use. + +Memory control groups can be configured by installing the libcgroup +package present on most distros editing /etc/cgrules.conf, +/etc/cgconfig.conf and setting up libpam-cgroup. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/perf/ampere_cspmu.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/perf/ampere_cspmu.rst index f742b8857a..94f93f5aee 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/perf/ampere_cspmu.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/perf/ampere_cspmu.rst @@ -1,29 +1,29 @@ -.. SPDX-License-Identifier: GPL-2.0 - -============================================ -Ampere SoC Performance Monitoring Unit (PMU) -============================================ - -Ampere SoC PMU is a generic PMU IP that follows Arm CoreSight PMU architecture. -Therefore, the driver is implemented as a submodule of arm_cspmu driver. At the -first phase it's used for counting MCU events on AmpereOne. - - -MCU PMU events --------------- - -The PMU driver supports setting filters for "rank", "bank", and "threshold". -Note, that the filters are per PMU instance rather than per event. - - -Example for perf tool use:: - - / # perf list ampere - - ampere_mcu_pmu_0/act_sent/ [Kernel PMU event] - <...> - ampere_mcu_pmu_1/rd_sent/ [Kernel PMU event] - <...> - - / # perf stat -a -e ampere_mcu_pmu_0/act_sent,bank=5,rank=3,threshold=2/,ampere_mcu_pmu_1/rd_sent/ \ - sleep 1 +.. SPDX-License-Identifier: GPL-2.0 + +============================================ +Ampere SoC Performance Monitoring Unit (PMU) +============================================ + +Ampere SoC PMU is a generic PMU IP that follows Arm CoreSight PMU architecture. +Therefore, the driver is implemented as a submodule of arm_cspmu driver. At the +first phase it's used for counting MCU events on AmpereOne. + + +MCU PMU events +-------------- + +The PMU driver supports setting filters for "rank", "bank", and "threshold". +Note, that the filters are per PMU instance rather than per event. + + +Example for perf tool use:: + + / # perf list ampere + + ampere_mcu_pmu_0/act_sent/ [Kernel PMU event] + <...> + ampere_mcu_pmu_1/rd_sent/ [Kernel PMU event] + <...> + + / # perf stat -a -e ampere_mcu_pmu_0/act_sent,bank=5,rank=3,threshold=2/,ampere_mcu_pmu_1/rd_sent/ \ + sleep 1 diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/sysctl/sunrpc.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/sysctl/sunrpc.rst index d493bdd0e4..09780a682a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/sysctl/sunrpc.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/sysctl/sunrpc.rst @@ -1,25 +1,25 @@ -=================================== -Documentation for /proc/sys/sunrpc/ -=================================== - -kernel version 2.2.10 - -Copyright (c) 1998, 1999, Rik van Riel - -For general info and legal blurb, please look in index.rst. - ------------------------------------------------------------------------------- - -This file contains the documentation for the sysctl files in -/proc/sys/sunrpc and is valid for Linux kernel version 2.2. - -The files in this directory can be used to (re)set the debug -flags of the SUN Remote Procedure Call (RPC) subsystem in -the Linux kernel. This stuff is used for NFS, KNFSD and -maybe a few other things as well. - -The files in there are used to control the debugging flags: -rpc_debug, nfs_debug, nfsd_debug and nlm_debug. - -These flags are for kernel hackers only. You should read the -source code in net/sunrpc/ for more information. +=================================== +Documentation for /proc/sys/sunrpc/ +=================================== + +kernel version 2.2.10 + +Copyright (c) 1998, 1999, Rik van Riel + +For general info and legal blurb, please look in index.rst. + +------------------------------------------------------------------------------ + +This file contains the documentation for the sysctl files in +/proc/sys/sunrpc and is valid for Linux kernel version 2.2. + +The files in this directory can be used to (re)set the debug +flags of the SUN Remote Procedure Call (RPC) subsystem in +the Linux kernel. This stuff is used for NFS, KNFSD and +maybe a few other things as well. + +The files in there are used to control the debugging flags: +rpc_debug, nfs_debug, nfsd_debug and nlm_debug. + +These flags are for kernel hackers only. You should read the +source code in net/sunrpc/ for more information. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/sa1100/lart.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/sa1100/lart.rst index 747b84c1b4..94c0568d10 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/sa1100/lart.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/sa1100/lart.rst @@ -1,15 +1,15 @@ -==================================== -Linux Advanced Radio Terminal (LART) -==================================== - -The LART is a small (7.5 x 10cm) SA-1100 board, designed for embedded -applications. It has 32 MB DRAM, 4MB Flash ROM, double RS232 and all -other StrongARM-gadgets. Almost all SA signals are directly accessible -through a number of connectors. The powersupply accepts voltages -between 3.5V and 16V and is overdimensioned to support a range of -daughterboards. A quad Ethernet / IDE / PS2 / sound daughterboard -is under development, with plenty of others in different stages of -planning. - -The hardware designs for this board have been released under an open license; -see the LART page at http://www.lartmaker.nl/ for more information. +==================================== +Linux Advanced Radio Terminal (LART) +==================================== + +The LART is a small (7.5 x 10cm) SA-1100 board, designed for embedded +applications. It has 32 MB DRAM, 4MB Flash ROM, double RS232 and all +other StrongARM-gadgets. Almost all SA signals are directly accessible +through a number of connectors. The powersupply accepts voltages +between 3.5V and 16V and is overdimensioned to support a range of +daughterboards. A quad Ethernet / IDE / PS2 / sound daughterboard +is under development, with plenty of others in different stages of +planning. + +The hardware designs for this board have been released under an open license; +see the LART page at http://www.lartmaker.nl/ for more information. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/sti/overview.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/sti/overview.rst index b4010eadca..ae16aced80 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/sti/overview.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/sti/overview.rst @@ -1,32 +1,32 @@ -====================== -STi ARM Linux Overview -====================== - -Introduction ------------- - - The ST Microelectronics Multimedia and Application Processors range of - CortexA9 System-on-Chip are supported by the 'STi' platform of - ARM Linux. Currently STiH407, STiH410 and STiH418 are supported. - - -configuration -------------- - - The configuration for the STi platform is supported via the multi_v7_defconfig. - -Layout ------- - - All the files for multiple machine families (STiH407, STiH410, and STiH418) - are located in the platform code contained in arch/arm/mach-sti - - There is a generic board board-dt.c in the mach folder which support - Flattened Device Tree, which means, It works with any compatible board with - Device Trees. - - -Document Author ---------------- - - Srinivas Kandagatla , (c) 2013 ST Microelectronics +====================== +STi ARM Linux Overview +====================== + +Introduction +------------ + + The ST Microelectronics Multimedia and Application Processors range of + CortexA9 System-on-Chip are supported by the 'STi' platform of + ARM Linux. Currently STiH407, STiH410 and STiH418 are supported. + + +configuration +------------- + + The configuration for the STi platform is supported via the multi_v7_defconfig. + +Layout +------ + + All the files for multiple machine families (STiH407, STiH410, and STiH418) + are located in the platform code contained in arch/arm/mach-sti + + There is a generic board board-dt.c in the mach folder which support + Flattened Device Tree, which means, It works with any compatible board with + Device Trees. + + +Document Author +--------------- + + Srinivas Kandagatla , (c) 2013 ST Microelectronics diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/stm32/overview.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/stm32/overview.rst index 2a09fe9b9b..85cfc84107 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/stm32/overview.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/stm32/overview.rst @@ -1,34 +1,34 @@ -======================== -STM32 ARM Linux Overview -======================== - -Introduction ------------- - -The STMicroelectronics STM32 family of Cortex-A microprocessors (MPUs) and -Cortex-M microcontrollers (MCUs) are supported by the 'STM32' platform of -ARM Linux. - -Configuration -------------- - -For MCUs, use the provided default configuration: - make stm32_defconfig -For MPUs, use multi_v7 configuration: - make multi_v7_defconfig - -Layout ------- - -All the files for multiple machine families are located in the platform code -contained in arch/arm/mach-stm32 - -There is a generic board board-dt.c in the mach folder which support -Flattened Device Tree, which means, it works with any compatible board with -Device Trees. - -:Authors: - -- Maxime Coquelin -- Ludovic Barre -- Gerald Baeza +======================== +STM32 ARM Linux Overview +======================== + +Introduction +------------ + +The STMicroelectronics STM32 family of Cortex-A microprocessors (MPUs) and +Cortex-M microcontrollers (MCUs) are supported by the 'STM32' platform of +ARM Linux. + +Configuration +------------- + +For MCUs, use the provided default configuration: + make stm32_defconfig +For MPUs, use multi_v7 configuration: + make multi_v7_defconfig + +Layout +------ + +All the files for multiple machine families are located in the platform code +contained in arch/arm/mach-stm32 + +There is a generic board board-dt.c in the mach folder which support +Flattened Device Tree, which means, it works with any compatible board with +Device Trees. + +:Authors: + +- Maxime Coquelin +- Ludovic Barre +- Gerald Baeza diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/stm32/stm32f429-overview.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/stm32/stm32f429-overview.rst index 4ff7a8a841..a7ebe8ea66 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/stm32/stm32f429-overview.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/stm32/stm32f429-overview.rst @@ -1,25 +1,25 @@ -================== -STM32F429 Overview -================== - -Introduction ------------- - -The STM32F429 is a Cortex-M4 MCU aimed at various applications. -It features: - -- ARM Cortex-M4 up to 180MHz with FPU -- 2MB internal Flash Memory -- External memory support through FMC controller (PSRAM, SDRAM, NOR, NAND) -- I2C, SPI, SAI, CAN, USB OTG, Ethernet controllers -- LCD controller & Camera interface -- Cryptographic processor - -Resources ---------- - -Datasheet and reference manual are publicly available on ST website (STM32F429_). - -.. _STM32F429: http://www.st.com/web/en/catalog/mmc/FM141/SC1169/SS1577/LN1806?ecmp=stm32f429-439_pron_pr-ces2014_nov2013 - -:Authors: Maxime Coquelin +================== +STM32F429 Overview +================== + +Introduction +------------ + +The STM32F429 is a Cortex-M4 MCU aimed at various applications. +It features: + +- ARM Cortex-M4 up to 180MHz with FPU +- 2MB internal Flash Memory +- External memory support through FMC controller (PSRAM, SDRAM, NOR, NAND) +- I2C, SPI, SAI, CAN, USB OTG, Ethernet controllers +- LCD controller & Camera interface +- Cryptographic processor + +Resources +--------- + +Datasheet and reference manual are publicly available on ST website (STM32F429_). + +.. _STM32F429: http://www.st.com/web/en/catalog/mmc/FM141/SC1169/SS1577/LN1806?ecmp=stm32f429-439_pron_pr-ces2014_nov2013 + +:Authors: Maxime Coquelin diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/stm32/stm32f746-overview.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/stm32/stm32f746-overview.rst index 165a2f7d73..78befddc77 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/stm32/stm32f746-overview.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/stm32/stm32f746-overview.rst @@ -1,32 +1,32 @@ -================== -STM32F746 Overview -================== - -Introduction ------------- - -The STM32F746 is a Cortex-M7 MCU aimed at various applications. -It features: - -- Cortex-M7 core running up to @216MHz -- 1MB internal flash, 320KBytes internal RAM (+4KB of backup SRAM) -- FMC controller to connect SDRAM, NOR and NAND memories -- Dual mode QSPI -- SD/MMC/SDIO support -- Ethernet controller -- USB OTFG FS & HS controllers -- I2C, SPI, CAN busses support -- Several 16 & 32 bits general purpose timers -- Serial Audio interface -- LCD controller -- HDMI-CEC -- SPDIFRX - -Resources ---------- - -Datasheet and reference manual are publicly available on ST website (STM32F746_). - -.. _STM32F746: http://www.st.com/content/st_com/en/products/microcontrollers/stm32-32-bit-arm-cortex-mcus/stm32f7-series/stm32f7x6/stm32f746ng.html - -:Authors: Alexandre Torgue +================== +STM32F746 Overview +================== + +Introduction +------------ + +The STM32F746 is a Cortex-M7 MCU aimed at various applications. +It features: + +- Cortex-M7 core running up to @216MHz +- 1MB internal flash, 320KBytes internal RAM (+4KB of backup SRAM) +- FMC controller to connect SDRAM, NOR and NAND memories +- Dual mode QSPI +- SD/MMC/SDIO support +- Ethernet controller +- USB OTFG FS & HS controllers +- I2C, SPI, CAN busses support +- Several 16 & 32 bits general purpose timers +- Serial Audio interface +- LCD controller +- HDMI-CEC +- SPDIFRX + +Resources +--------- + +Datasheet and reference manual are publicly available on ST website (STM32F746_). + +.. _STM32F746: http://www.st.com/content/st_com/en/products/microcontrollers/stm32-32-bit-arm-cortex-mcus/stm32f7-series/stm32f7x6/stm32f746ng.html + +:Authors: Alexandre Torgue diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/stm32/stm32f769-overview.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/stm32/stm32f769-overview.rst index 8d233677fa..e482980ddf 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/stm32/stm32f769-overview.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/stm32/stm32f769-overview.rst @@ -1,34 +1,34 @@ -================== -STM32F769 Overview -================== - -Introduction ------------- - -The STM32F769 is a Cortex-M7 MCU aimed at various applications. -It features: - -- Cortex-M7 core running up to @216MHz -- 2MB internal flash, 512KBytes internal RAM (+4KB of backup SRAM) -- FMC controller to connect SDRAM, NOR and NAND memories -- Dual mode QSPI -- SD/MMC/SDIO support*2 -- Ethernet controller -- USB OTFG FS & HS controllers -- I2C*4, SPI*6, CAN*3 busses support -- Several 16 & 32 bits general purpose timers -- Serial Audio interface*2 -- LCD controller -- HDMI-CEC -- DSI -- SPDIFRX -- MDIO salave interface - -Resources ---------- - -Datasheet and reference manual are publicly available on ST website (STM32F769_). - -.. _STM32F769: http://www.st.com/content/st_com/en/products/microcontrollers/stm32-32-bit-arm-cortex-mcus/stm32-high-performance-mcus/stm32f7-series/stm32f7x9/stm32f769ni.html - -:Authors: Alexandre Torgue +================== +STM32F769 Overview +================== + +Introduction +------------ + +The STM32F769 is a Cortex-M7 MCU aimed at various applications. +It features: + +- Cortex-M7 core running up to @216MHz +- 2MB internal flash, 512KBytes internal RAM (+4KB of backup SRAM) +- FMC controller to connect SDRAM, NOR and NAND memories +- Dual mode QSPI +- SD/MMC/SDIO support*2 +- Ethernet controller +- USB OTFG FS & HS controllers +- I2C*4, SPI*6, CAN*3 busses support +- Several 16 & 32 bits general purpose timers +- Serial Audio interface*2 +- LCD controller +- HDMI-CEC +- DSI +- SPDIFRX +- MDIO salave interface + +Resources +--------- + +Datasheet and reference manual are publicly available on ST website (STM32F769_). + +.. _STM32F769: http://www.st.com/content/st_com/en/products/microcontrollers/stm32-32-bit-arm-cortex-mcus/stm32-high-performance-mcus/stm32f7-series/stm32f7x9/stm32f769ni.html + +:Authors: Alexandre Torgue diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/stm32/stm32h743-overview.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/stm32/stm32h743-overview.rst index 327bc396b8..4e15f1a427 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/stm32/stm32h743-overview.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/stm32/stm32h743-overview.rst @@ -1,33 +1,33 @@ -================== -STM32H743 Overview -================== - -Introduction ------------- - -The STM32H743 is a Cortex-M7 MCU aimed at various applications. -It features: - -- Cortex-M7 core running up to @400MHz -- 2MB internal flash, 1MBytes internal RAM -- FMC controller to connect SDRAM, NOR and NAND memories -- Dual mode QSPI -- SD/MMC/SDIO support -- Ethernet controller -- USB OTFG FS & HS controllers -- I2C, SPI, CAN busses support -- Several 16 & 32 bits general purpose timers -- Serial Audio interface -- LCD controller -- HDMI-CEC -- SPDIFRX -- DFSDM - -Resources ---------- - -Datasheet and reference manual are publicly available on ST website (STM32H743_). - -.. _STM32H743: http://www.st.com/en/microcontrollers/stm32h7x3.html?querycriteria=productId=LN2033 - -:Authors: Alexandre Torgue +================== +STM32H743 Overview +================== + +Introduction +------------ + +The STM32H743 is a Cortex-M7 MCU aimed at various applications. +It features: + +- Cortex-M7 core running up to @400MHz +- 2MB internal flash, 1MBytes internal RAM +- FMC controller to connect SDRAM, NOR and NAND memories +- Dual mode QSPI +- SD/MMC/SDIO support +- Ethernet controller +- USB OTFG FS & HS controllers +- I2C, SPI, CAN busses support +- Several 16 & 32 bits general purpose timers +- Serial Audio interface +- LCD controller +- HDMI-CEC +- SPDIFRX +- DFSDM + +Resources +--------- + +Datasheet and reference manual are publicly available on ST website (STM32H743_). + +.. _STM32H743: http://www.st.com/en/microcontrollers/stm32h7x3.html?querycriteria=productId=LN2033 + +:Authors: Alexandre Torgue diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/stm32/stm32h750-overview.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/stm32/stm32h750-overview.rst index 35ed33ce51..0e51235c95 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/stm32/stm32h750-overview.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/stm32/stm32h750-overview.rst @@ -1,34 +1,34 @@ -================== -STM32H750 Overview -================== - -Introduction ------------- - -The STM32H750 is a Cortex-M7 MCU aimed at various applications. -It features: - -- Cortex-M7 core running up to @480MHz -- 128K internal flash, 1MBytes internal RAM -- FMC controller to connect SDRAM, NOR and NAND memories -- Dual mode QSPI -- SD/MMC/SDIO support -- Ethernet controller -- USB OTFG FS & HS controllers -- I2C, SPI, CAN busses support -- Several 16 & 32 bits general purpose timers -- Serial Audio interface -- LCD controller -- HDMI-CEC -- SPDIFRX -- DFSDM - -Resources ---------- - -Datasheet and reference manual are publicly available on ST website (STM32H750_). - -.. _STM32H750: https://www.st.com/en/microcontrollers-microprocessors/stm32h750-value-line.html - -:Authors: Dillon Min - +================== +STM32H750 Overview +================== + +Introduction +------------ + +The STM32H750 is a Cortex-M7 MCU aimed at various applications. +It features: + +- Cortex-M7 core running up to @480MHz +- 128K internal flash, 1MBytes internal RAM +- FMC controller to connect SDRAM, NOR and NAND memories +- Dual mode QSPI +- SD/MMC/SDIO support +- Ethernet controller +- USB OTFG FS & HS controllers +- I2C, SPI, CAN busses support +- Several 16 & 32 bits general purpose timers +- Serial Audio interface +- LCD controller +- HDMI-CEC +- SPDIFRX +- DFSDM + +Resources +--------- + +Datasheet and reference manual are publicly available on ST website (STM32H750_). + +.. _STM32H750: https://www.st.com/en/microcontrollers-microprocessors/stm32h750-value-line.html + +:Authors: Dillon Min + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/stm32/stm32mp13-overview.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/stm32/stm32mp13-overview.rst index ca96480307..3bb9492dad 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/stm32/stm32mp13-overview.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/stm32/stm32mp13-overview.rst @@ -1,37 +1,37 @@ -=================== -STM32MP13 Overview -=================== - -Introduction ------------- - -The STM32MP131/STM32MP133/STM32MP135 are Cortex-A MPU aimed at various applications. -They feature: - -- One Cortex-A7 application core -- Standard memories interface support -- Standard connectivity, widely inherited from the STM32 MCU family -- Comprehensive security support - -More details: - -- Cortex-A7 core running up to @900MHz -- FMC controller to connect SDRAM, NOR and NAND memories -- QSPI -- SD/MMC/SDIO support -- 2*Ethernet controller -- CAN -- ADC/DAC -- USB EHCI/OHCI controllers -- USB OTG -- I2C, SPI, CAN busses support -- Several general purpose timers -- Serial Audio interface -- LCD controller -- DCMIPP -- SPDIFRX -- DFSDM - -:Authors: - -- Alexandre Torgue +=================== +STM32MP13 Overview +=================== + +Introduction +------------ + +The STM32MP131/STM32MP133/STM32MP135 are Cortex-A MPU aimed at various applications. +They feature: + +- One Cortex-A7 application core +- Standard memories interface support +- Standard connectivity, widely inherited from the STM32 MCU family +- Comprehensive security support + +More details: + +- Cortex-A7 core running up to @900MHz +- FMC controller to connect SDRAM, NOR and NAND memories +- QSPI +- SD/MMC/SDIO support +- 2*Ethernet controller +- CAN +- ADC/DAC +- USB EHCI/OHCI controllers +- USB OTG +- I2C, SPI, CAN busses support +- Several general purpose timers +- Serial Audio interface +- LCD controller +- DCMIPP +- SPDIFRX +- DFSDM + +:Authors: + +- Alexandre Torgue diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/stm32/stm32mp151-overview.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/stm32/stm32mp151-overview.rst index 572cb85d5a..f42a2ac309 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/stm32/stm32mp151-overview.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/stm32/stm32mp151-overview.rst @@ -1,36 +1,36 @@ -=================== -STM32MP151 Overview -=================== - -Introduction ------------- - -The STM32MP151 is a Cortex-A MPU aimed at various applications. -It features: - -- Single Cortex-A7 application core -- Standard memories interface support -- Standard connectivity, widely inherited from the STM32 MCU family -- Comprehensive security support - -More details: - -- Cortex-A7 core running up to @800MHz -- FMC controller to connect SDRAM, NOR and NAND memories -- QSPI -- SD/MMC/SDIO support -- Ethernet controller -- ADC/DAC -- USB EHCI/OHCI controllers -- USB OTG -- I2C, SPI busses support -- Several general purpose timers -- Serial Audio interface -- LCD-TFT controller -- DCMIPP -- SPDIFRX -- DFSDM - -:Authors: - -- Roan van Dijk +=================== +STM32MP151 Overview +=================== + +Introduction +------------ + +The STM32MP151 is a Cortex-A MPU aimed at various applications. +It features: + +- Single Cortex-A7 application core +- Standard memories interface support +- Standard connectivity, widely inherited from the STM32 MCU family +- Comprehensive security support + +More details: + +- Cortex-A7 core running up to @800MHz +- FMC controller to connect SDRAM, NOR and NAND memories +- QSPI +- SD/MMC/SDIO support +- Ethernet controller +- ADC/DAC +- USB EHCI/OHCI controllers +- USB OTG +- I2C, SPI busses support +- Several general purpose timers +- Serial Audio interface +- LCD-TFT controller +- DCMIPP +- SPDIFRX +- DFSDM + +:Authors: + +- Roan van Dijk diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm64/kasan-offsets.sh b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm64/kasan-offsets.sh index 827ec9519f..2dc5f9e180 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm64/kasan-offsets.sh +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm64/kasan-offsets.sh @@ -1,26 +1,26 @@ -#!/bin/sh - -# Print out the KASAN_SHADOW_OFFSETS required to place the KASAN SHADOW -# start address at the top of the linear region - -print_kasan_offset () { - printf "%02d\t" $1 - printf "0x%08x00000000\n" $(( (0xffffffff & (-1 << ($1 - 1 - 32))) \ - - (1 << (64 - 32 - $2)) )) -} - -echo KASAN_SHADOW_SCALE_SHIFT = 3 -printf "VABITS\tKASAN_SHADOW_OFFSET\n" -print_kasan_offset 48 3 -print_kasan_offset 47 3 -print_kasan_offset 42 3 -print_kasan_offset 39 3 -print_kasan_offset 36 3 -echo -echo KASAN_SHADOW_SCALE_SHIFT = 4 -printf "VABITS\tKASAN_SHADOW_OFFSET\n" -print_kasan_offset 48 4 -print_kasan_offset 47 4 -print_kasan_offset 42 4 -print_kasan_offset 39 4 -print_kasan_offset 36 4 +#!/bin/sh + +# Print out the KASAN_SHADOW_OFFSETS required to place the KASAN SHADOW +# start address at the top of the linear region + +print_kasan_offset () { + printf "%02d\t" $1 + printf "0x%08x00000000\n" $(( (0xffffffff & (-1 << ($1 - 1 - 32))) \ + - (1 << (64 - 32 - $2)) )) +} + +echo KASAN_SHADOW_SCALE_SHIFT = 3 +printf "VABITS\tKASAN_SHADOW_OFFSET\n" +print_kasan_offset 48 3 +print_kasan_offset 47 3 +print_kasan_offset 42 3 +print_kasan_offset 39 3 +print_kasan_offset 36 3 +echo +echo KASAN_SHADOW_SCALE_SHIFT = 4 +printf "VABITS\tKASAN_SHADOW_OFFSET\n" +print_kasan_offset 48 4 +print_kasan_offset 47 4 +print_kasan_offset 42 4 +print_kasan_offset 39 4 +print_kasan_offset 36 4 diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/nios2/nios2.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/nios2/nios2.rst index 6f5dbc62e7..43da3f7cee 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/nios2/nios2.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/nios2/nios2.rst @@ -1,24 +1,24 @@ -================================= -Linux on the Nios II architecture -================================= - -This is a port of Linux to Nios II (nios2) processor. - -In order to compile for Nios II, you need a version of GCC with support for the generic -system call ABI. Please see this link for more information on how compiling and booting -software for the Nios II platform: -http://www.rocketboards.org/foswiki/Documentation/NiosIILinuxUserManual - -For reference, please see the following link: -http://www.altera.com/literature/lit-nio2.jsp - -What is Nios II? -================ -Nios II is a 32-bit embedded-processor architecture designed specifically for the -Altera family of FPGAs. In order to support Linux, Nios II needs to be configured -with MMU and hardware multiplier enabled. - -Nios II ABI -=========== -Please refer to chapter "Application Binary Interface" in Nios II Processor Reference -Handbook. +================================= +Linux on the Nios II architecture +================================= + +This is a port of Linux to Nios II (nios2) processor. + +In order to compile for Nios II, you need a version of GCC with support for the generic +system call ABI. Please see this link for more information on how compiling and booting +software for the Nios II platform: +http://www.rocketboards.org/foswiki/Documentation/NiosIILinuxUserManual + +For reference, please see the following link: +http://www.altera.com/literature/lit-nio2.jsp + +What is Nios II? +================ +Nios II is a 32-bit embedded-processor architecture designed specifically for the +Altera family of FPGAs. In order to support Linux, Nios II needs to be configured +with MMU and hardware multiplier enabled. + +Nios II ABI +=========== +Please refer to chapter "Application Binary Interface" in Nios II Processor Reference +Handbook. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/openrisc/todo.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/openrisc/todo.rst index dcbe929ff3..420b18b87e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/openrisc/todo.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/openrisc/todo.rst @@ -1,15 +1,15 @@ -==== -TODO -==== - -The OpenRISC Linux port is fully functional and has been tracking upstream -since 2.6.35. There are, however, remaining items to be completed within -the coming months. Here's a list of known-to-be-less-than-stellar items -that are due for investigation shortly, i.e. our TODO list: - -- Implement the rest of the DMA API... dma_map_sg, etc. - -- Finish the renaming cleanup... there are references to or32 in the code - which was an older name for the architecture. The name we've settled on is - or1k and this change is slowly trickling through the stack. For the time - being, or32 is equivalent to or1k. +==== +TODO +==== + +The OpenRISC Linux port is fully functional and has been tracking upstream +since 2.6.35. There are, however, remaining items to be completed within +the coming months. Here's a list of known-to-be-less-than-stellar items +that are due for investigation shortly, i.e. our TODO list: + +- Implement the rest of the DMA API... dma_map_sg, etc. + +- Finish the renaming cleanup... there are references to or32 in the code + which was an older name for the architecture. The name we've settled on is + or1k and this change is slowly trickling through the stack. For the time + being, or32 is equivalent to or1k. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/powerpc/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/powerpc/index.rst index 87de83fc22..9749f6dc25 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/powerpc/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/powerpc/index.rst @@ -1,49 +1,49 @@ -.. SPDX-License-Identifier: GPL-2.0 - -======= -powerpc -======= - -.. toctree:: - :maxdepth: 1 - - associativity - booting - bootwrapper - cpu_families - cpu_features - cxl - cxlflash - dawr-power9 - dexcr - dscr - eeh-pci-error-recovery - elf_hwcaps - elfnote - firmware-assisted-dump - hvcs - imc - isa-versions - kaslr-booke32 - mpc52xx - kvm-nested - papr_hcalls - pci_iov_resource_on_powernv - pmu-ebb - ptrace - qe_firmware - syscall64-abi - transactional_memory - ultravisor - vas-api - vcpudispatch_stats - vmemmap_dedup - - features - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +.. SPDX-License-Identifier: GPL-2.0 + +======= +powerpc +======= + +.. toctree:: + :maxdepth: 1 + + associativity + booting + bootwrapper + cpu_families + cpu_features + cxl + cxlflash + dawr-power9 + dexcr + dscr + eeh-pci-error-recovery + elf_hwcaps + elfnote + firmware-assisted-dump + hvcs + imc + isa-versions + kaslr-booke32 + mpc52xx + kvm-nested + papr_hcalls + pci_iov_resource_on_powernv + pmu-ebb + ptrace + qe_firmware + syscall64-abi + transactional_memory + ultravisor + vas-api + vcpudispatch_stats + vmemmap_dedup + + features + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/sh/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/sh/index.rst index 300c466501..01fce7c131 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/sh/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/sh/index.rst @@ -1,50 +1,50 @@ -======================= -SuperH Interfaces Guide -======================= - -:Author: Paul Mundt - -.. toctree:: - :maxdepth: 1 - - booting - new-machine - register-banks - - features - -Memory Management -================= - -SH-4 ----- - -Store Queue API -~~~~~~~~~~~~~~~ - -.. kernel-doc:: arch/sh/kernel/cpu/sh4/sq.c - :export: - -Machine Specific Interfaces -=========================== - -mach-dreamcast --------------- - -.. kernel-doc:: arch/sh/boards/mach-dreamcast/rtc.c - :internal: - -mach-x3proto ------------- - -.. kernel-doc:: arch/sh/boards/mach-x3proto/ilsel.c - :export: - -Busses -====== - -Maple ------ - -.. kernel-doc:: drivers/sh/maple/maple.c - :export: +======================= +SuperH Interfaces Guide +======================= + +:Author: Paul Mundt + +.. toctree:: + :maxdepth: 1 + + booting + new-machine + register-banks + + features + +Memory Management +================= + +SH-4 +---- + +Store Queue API +~~~~~~~~~~~~~~~ + +.. kernel-doc:: arch/sh/kernel/cpu/sh4/sq.c + :export: + +Machine Specific Interfaces +=========================== + +mach-dreamcast +-------------- + +.. kernel-doc:: arch/sh/boards/mach-dreamcast/rtc.c + :internal: + +mach-x3proto +------------ + +.. kernel-doc:: arch/sh/boards/mach-x3proto/ilsel.c + :export: + +Busses +====== + +Maple +----- + +.. kernel-doc:: drivers/sh/maple/maple.c + :export: diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/x86/booting-dt.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/x86/booting-dt.rst index a4d0d5c0b7..b089ffd56e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/x86/booting-dt.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/x86/booting-dt.rst @@ -1,21 +1,21 @@ -.. SPDX-License-Identifier: GPL-2.0 - -DeviceTree Booting ------------------- - - There is one single 32bit entry point to the kernel at code32_start, - the decompressor (the real mode entry point goes to the same 32bit - entry point once it switched into protected mode). That entry point - supports one calling convention which is documented in - Documentation/arch/x86/boot.rst - The physical pointer to the device-tree block is passed via setup_data - which requires at least boot protocol 2.09. - The type filed is defined as - - #define SETUP_DTB 2 - - This device-tree is used as an extension to the "boot page". As such it - does not parse / consider data which is already covered by the boot - page. This includes memory size, reserved ranges, command line arguments - or initrd address. It simply holds information which can not be retrieved - otherwise like interrupt routing or a list of devices behind an I2C bus. +.. SPDX-License-Identifier: GPL-2.0 + +DeviceTree Booting +------------------ + + There is one single 32bit entry point to the kernel at code32_start, + the decompressor (the real mode entry point goes to the same 32bit + entry point once it switched into protected mode). That entry point + supports one calling convention which is documented in + Documentation/arch/x86/boot.rst + The physical pointer to the device-tree block is passed via setup_data + which requires at least boot protocol 2.09. + The type filed is defined as + + #define SETUP_DTB 2 + + This device-tree is used as an extension to the "boot page". As such it + does not parse / consider data which is already covered by the boot + page. This includes memory size, reserved ranges, command line arguments + or initrd address. It simply holds information which can not be retrieved + otherwise like interrupt routing or a list of devices behind an I2C bus. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/bpf/fs_kfuncs.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/bpf/fs_kfuncs.rst index 3fa7d4c7a8..8762c3233a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/bpf/fs_kfuncs.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/bpf/fs_kfuncs.rst @@ -1,21 +1,21 @@ -.. SPDX-License-Identifier: GPL-2.0 - -.. _fs_kfuncs-header-label: - -===================== -BPF filesystem kfuncs -===================== - -BPF LSM programs need to access filesystem data from LSM hooks. The following -BPF kfuncs can be used to get these data. - - * ``bpf_get_file_xattr()`` - - * ``bpf_get_fsverity_digest()`` - -To avoid recursions, these kfuncs follow the following rules: - -1. These kfuncs are only permitted from BPF LSM function. -2. These kfuncs should not call into other LSM hooks, i.e. security_*(). For - example, ``bpf_get_file_xattr()`` does not use ``vfs_getxattr()``, because - the latter calls LSM hook ``security_inode_getxattr``. +.. SPDX-License-Identifier: GPL-2.0 + +.. _fs_kfuncs-header-label: + +===================== +BPF filesystem kfuncs +===================== + +BPF LSM programs need to access filesystem data from LSM hooks. The following +BPF kfuncs can be used to get these data. + + * ``bpf_get_file_xattr()`` + + * ``bpf_get_fsverity_digest()`` + +To avoid recursions, these kfuncs follow the following rules: + +1. These kfuncs are only permitted from BPF LSM function. +2. These kfuncs should not call into other LSM hooks, i.e. security_*(). For + example, ``bpf_get_file_xattr()`` does not use ``vfs_getxattr()``, because + the latter calls LSM hook ``security_inode_getxattr``. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/bpf/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/bpf/index.rst index 70d4720979..0bb5cb8157 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/bpf/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/bpf/index.rst @@ -1,45 +1,45 @@ -================= -BPF Documentation -================= - -This directory contains documentation for the BPF (Berkeley Packet -Filter) facility, with a focus on the extended BPF version (eBPF). - -This kernel side documentation is still work in progress. -The Cilium project also maintains a `BPF and XDP Reference Guide`_ -that goes into great technical depth about the BPF Architecture. - -.. toctree:: - :maxdepth: 1 - - verifier - libbpf/index - standardization/index - btf - faq - syscall_api - helpers - kfuncs - cpumasks - fs_kfuncs - programs - maps - bpf_prog_run - classic_vs_extended.rst - bpf_iterators - bpf_licensing - test_debug - clang-notes - linux-notes - other - redirect - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` - -.. Links: -.. _BPF and XDP Reference Guide: https://docs.cilium.io/en/latest/bpf/ +================= +BPF Documentation +================= + +This directory contains documentation for the BPF (Berkeley Packet +Filter) facility, with a focus on the extended BPF version (eBPF). + +This kernel side documentation is still work in progress. +The Cilium project also maintains a `BPF and XDP Reference Guide`_ +that goes into great technical depth about the BPF Architecture. + +.. toctree:: + :maxdepth: 1 + + verifier + libbpf/index + standardization/index + btf + faq + syscall_api + helpers + kfuncs + cpumasks + fs_kfuncs + programs + maps + bpf_prog_run + classic_vs_extended.rst + bpf_iterators + bpf_licensing + test_debug + clang-notes + linux-notes + other + redirect + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` + +.. Links: +.. _BPF and XDP Reference Guide: https://docs.cilium.io/en/latest/bpf/ diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/crypto/api-akcipher.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/crypto/api-akcipher.rst index d6c587f1a8..40aa8746e2 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/crypto/api-akcipher.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/crypto/api-akcipher.rst @@ -1,20 +1,20 @@ -Asymmetric Cipher Algorithm Definitions ---------------------------------------- - -.. kernel-doc:: include/crypto/akcipher.h - :functions: akcipher_alg akcipher_request - -Asymmetric Cipher API ---------------------- - -.. kernel-doc:: include/crypto/akcipher.h - :doc: Generic Public Key API - -.. kernel-doc:: include/crypto/akcipher.h - :functions: crypto_alloc_akcipher crypto_free_akcipher crypto_akcipher_set_pub_key crypto_akcipher_set_priv_key crypto_akcipher_maxsize crypto_akcipher_encrypt crypto_akcipher_decrypt crypto_akcipher_sign crypto_akcipher_verify - -Asymmetric Cipher Request Handle --------------------------------- - -.. kernel-doc:: include/crypto/akcipher.h - :functions: akcipher_request_alloc akcipher_request_free akcipher_request_set_callback akcipher_request_set_crypt +Asymmetric Cipher Algorithm Definitions +--------------------------------------- + +.. kernel-doc:: include/crypto/akcipher.h + :functions: akcipher_alg akcipher_request + +Asymmetric Cipher API +--------------------- + +.. kernel-doc:: include/crypto/akcipher.h + :doc: Generic Public Key API + +.. kernel-doc:: include/crypto/akcipher.h + :functions: crypto_alloc_akcipher crypto_free_akcipher crypto_akcipher_set_pub_key crypto_akcipher_set_priv_key crypto_akcipher_maxsize crypto_akcipher_encrypt crypto_akcipher_decrypt crypto_akcipher_sign crypto_akcipher_verify + +Asymmetric Cipher Request Handle +-------------------------------- + +.. kernel-doc:: include/crypto/akcipher.h + :functions: akcipher_request_alloc akcipher_request_free akcipher_request_set_callback akcipher_request_set_crypt diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/dev-tools/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/dev-tools/index.rst index c2de840d7b..53d4d124f9 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/dev-tools/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/dev-tools/index.rst @@ -1,44 +1,44 @@ -================================ -Development tools for the kernel -================================ - -This document is a collection of documents about development tools that can -be used to work on the kernel. For now, the documents have been pulled -together without any significant effort to integrate them into a coherent -whole; patches welcome! - -A brief overview of testing-specific tools can be found in -Documentation/dev-tools/testing-overview.rst - -.. toctree:: - :caption: Table of contents - :maxdepth: 2 - - testing-overview - checkpatch - clang-format - coccinelle - sparse - kcov - gcov - kasan - kmsan - ubsan - kmemleak - kcsan - kfence - gdb-kernel-debugging - kgdb - kselftest - kunit/index - ktap - checkuapi - gpio-sloppy-logic-analyzer - - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +================================ +Development tools for the kernel +================================ + +This document is a collection of documents about development tools that can +be used to work on the kernel. For now, the documents have been pulled +together without any significant effort to integrate them into a coherent +whole; patches welcome! + +A brief overview of testing-specific tools can be found in +Documentation/dev-tools/testing-overview.rst + +.. toctree:: + :caption: Table of contents + :maxdepth: 2 + + testing-overview + checkpatch + clang-format + coccinelle + sparse + kcov + gcov + kasan + kmsan + ubsan + kmemleak + kcsan + kfence + gdb-kernel-debugging + kgdb + kselftest + kunit/index + ktap + checkuapi + gpio-sloppy-logic-analyzer + + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/dev-tools/kunit/api/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/dev-tools/kunit/api/index.rst index b002fbdb59..5cdb552a08 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/dev-tools/kunit/api/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/dev-tools/kunit/api/index.rst @@ -1,48 +1,48 @@ -.. SPDX-License-Identifier: GPL-2.0 - -============= -API Reference -============= -.. toctree:: - :hidden: - - test - resource - functionredirection - clk - of - platformdevice - - -This page documents the KUnit kernel testing API. It is divided into the -following sections: - -Core KUnit API -============== - -Documentation/dev-tools/kunit/api/test.rst - - - Documents all of the standard testing API - -Documentation/dev-tools/kunit/api/resource.rst - - - Documents the KUnit resource API - -Documentation/dev-tools/kunit/api/functionredirection.rst - - - Documents the KUnit Function Redirection API - -Driver KUnit API -================ - -Documentation/dev-tools/kunit/api/clk.rst - - - Documents the KUnit clk API - -Documentation/dev-tools/kunit/api/of.rst - - - Documents the KUnit device tree (OF) API - -Documentation/dev-tools/kunit/api/platformdevice.rst - - - Documents the KUnit platform device API +.. SPDX-License-Identifier: GPL-2.0 + +============= +API Reference +============= +.. toctree:: + :hidden: + + test + resource + functionredirection + clk + of + platformdevice + + +This page documents the KUnit kernel testing API. It is divided into the +following sections: + +Core KUnit API +============== + +Documentation/dev-tools/kunit/api/test.rst + + - Documents all of the standard testing API + +Documentation/dev-tools/kunit/api/resource.rst + + - Documents the KUnit resource API + +Documentation/dev-tools/kunit/api/functionredirection.rst + + - Documents the KUnit Function Redirection API + +Driver KUnit API +================ + +Documentation/dev-tools/kunit/api/clk.rst + + - Documents the KUnit clk API + +Documentation/dev-tools/kunit/api/of.rst + + - Documents the KUnit device tree (OF) API + +Documentation/dev-tools/kunit/api/platformdevice.rst + + - Documents the KUnit platform device API diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arc/snps,archs-pct.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arc/snps,archs-pct.yaml index 2f04f62499..532f7584f5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arc/snps,archs-pct.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arc/snps,archs-pct.yaml @@ -1,33 +1,33 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/arc/snps,archs-pct.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: ARC HS Performance Counters - -maintainers: - - Aryabhatta Dey - -description: - The ARC HS 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. - It also supports overflow interrupts. - -properties: - compatible: - const: snps,archs-pct - - reg: - maxItems: 1 - - clocks: - maxItems: 1 - -required: - - compatible - - reg - - clocks - -additionalProperties: false +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arc/snps,archs-pct.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ARC HS Performance Counters + +maintainers: + - Aryabhatta Dey + +description: + The ARC HS 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. + It also supports overflow interrupts. + +properties: + compatible: + const: snps,archs-pct + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + +required: + - compatible + - reg + - clocks + +additionalProperties: false diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/airoha.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/airoha.yaml index 5cd22896d4..7c38c08dbf 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/airoha.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/airoha.yaml @@ -1,32 +1,32 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/arm/airoha.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Airoha SoC based Platforms - -maintainers: - - Felix Fietkau - - John Crispin - -description: - Boards with an Airoha SoC shall have the following properties. - -properties: - $nodename: - const: '/' - compatible: - oneOf: - - items: - - enum: - - airoha,en7523-evb - - const: airoha,en7523 - - items: - - enum: - - airoha,en7581-evb - - const: airoha,en7581 - -additionalProperties: true - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/airoha.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Airoha SoC based Platforms + +maintainers: + - Felix Fietkau + - John Crispin + +description: + Boards with an Airoha SoC shall have the following properties. + +properties: + $nodename: + const: '/' + compatible: + oneOf: + - items: + - enum: + - airoha,en7523-evb + - const: airoha,en7523 + - items: + - enum: + - airoha,en7581-evb + - const: airoha,en7581 + +additionalProperties: true + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/amazon,al.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/amazon,al.yaml index ef7f36484f..37dbb4768e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/amazon,al.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/amazon,al.yaml @@ -1,35 +1,35 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/arm/amazon,al.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Amazon's Annapurna Labs Alpine Platform - -maintainers: - - Hanna Hawa - - Talel Shenhar , - - Ronen Krupnik - -properties: - compatible: - oneOf: - - description: Boards with Alpine V1 SoC - items: - - const: al,alpine - - - description: Boards with Alpine V2 SoC - items: - - enum: - - al,alpine-v2-evp - - const: al,alpine-v2 - - - description: Boards with Alpine V3 SoC - items: - - enum: - - amazon,al-alpine-v3-evp - - const: amazon,al-alpine-v3 - -additionalProperties: true - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/amazon,al.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Amazon's Annapurna Labs Alpine Platform + +maintainers: + - Hanna Hawa + - Talel Shenhar , + - Ronen Krupnik + +properties: + compatible: + oneOf: + - description: Boards with Alpine V1 SoC + items: + - const: al,alpine + + - description: Boards with Alpine V2 SoC + items: + - enum: + - al,alpine-v2-evp + - const: al,alpine-v2 + + - description: Boards with Alpine V3 SoC + items: + - enum: + - amazon,al-alpine-v3-evp + - const: amazon,al-alpine-v3 + +additionalProperties: true + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/arm,versatile-sysreg.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/arm,versatile-sysreg.yaml index f8d06a59d0..3b060c36b9 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/arm,versatile-sysreg.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/arm,versatile-sysreg.yaml @@ -1,35 +1,35 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/arm/arm,versatile-sysreg.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Arm Versatile system registers - -maintainers: - - Linus Walleij - -description: - This is a system control registers block, providing multiple low level - platform functions like board detection and identification, software - interrupt generation, MMC and NOR Flash control, etc. - -properties: - compatible: - items: - - const: arm,versatile-sysreg - - const: syscon - - const: simple-mfd - - reg: - maxItems: 1 - - panel: - type: object - -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/arm,versatile-sysreg.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Arm Versatile system registers + +maintainers: + - Linus Walleij + +description: + This is a system control registers block, providing multiple low level + platform functions like board detection and identification, software + interrupt generation, MMC and NOR Flash control, etc. + +properties: + compatible: + items: + - const: arm,versatile-sysreg + - const: syscon + - const: simple-mfd + + reg: + maxItems: 1 + + panel: + type: object + +required: + - compatible + - reg + +additionalProperties: false +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/aspeed/aspeed,sbc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/aspeed/aspeed,sbc.yaml index 4d72414401..b8c5cacb09 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/aspeed/aspeed,sbc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/aspeed/aspeed,sbc.yaml @@ -1,37 +1,37 @@ -# SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) -# Copyright 2021 Joel Stanley, IBM Corp. -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/arm/aspeed/aspeed,sbc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: ASPEED Secure Boot Controller - -maintainers: - - Joel Stanley - - Andrew Jeffery - -description: | - The ASPEED SoCs have a register bank for interacting with the secure boot - controller. - -properties: - compatible: - items: - - const: aspeed,ast2600-sbc - - reg: - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - sbc: secure-boot-controller@1e6f2000 { - compatible = "aspeed,ast2600-sbc"; - reg = <0x1e6f2000 0x1000>; - }; +# SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) +# Copyright 2021 Joel Stanley, IBM Corp. +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/aspeed/aspeed,sbc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ASPEED Secure Boot Controller + +maintainers: + - Joel Stanley + - Andrew Jeffery + +description: | + The ASPEED SoCs have a register bank for interacting with the secure boot + controller. + +properties: + compatible: + items: + - const: aspeed,ast2600-sbc + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + sbc: secure-boot-controller@1e6f2000 { + compatible = "aspeed,ast2600-sbc"; + reg = <0x1e6f2000 0x1000>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/bcm/brcm,bcm53573.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/bcm/brcm,bcm53573.yaml index 6d7cedea0a..81b9a4a641 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/bcm/brcm,bcm53573.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/bcm/brcm,bcm53573.yaml @@ -1,39 +1,39 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/arm/bcm/brcm,bcm53573.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Broadcom BCM53573 SoCs family - -description: - Broadcom BCM53573 / BCM47189 Wi-Fi SoCs derived from Northstar. - -maintainers: - - Rafał Miłecki - -properties: - $nodename: - const: '/' - compatible: - oneOf: - - description: BCM53573 based boards - items: - - enum: - - tenda,ac6-v1 - - tenda,w15e-v1 - - const: brcm,bcm53573 - - - description: BCM47189 based boards - items: - - enum: - - brcm,bcm947189acdbmr - - luxul,xap-810-v1 - - luxul,xap-1440-v1 - - tenda,ac9 - - const: brcm,bcm47189 - - const: brcm,bcm53573 - -additionalProperties: true - -... +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/bcm/brcm,bcm53573.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom BCM53573 SoCs family + +description: + Broadcom BCM53573 / BCM47189 Wi-Fi SoCs derived from Northstar. + +maintainers: + - Rafał Miłecki + +properties: + $nodename: + const: '/' + compatible: + oneOf: + - description: BCM53573 based boards + items: + - enum: + - tenda,ac6-v1 + - tenda,w15e-v1 + - const: brcm,bcm53573 + + - description: BCM47189 based boards + items: + - enum: + - brcm,bcm947189acdbmr + - luxul,xap-810-v1 + - luxul,xap-1440-v1 + - tenda,ac9 + - const: brcm,bcm47189 + - const: brcm,bcm53573 + +additionalProperties: true + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/bcm/brcm,cygnus.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/bcm/brcm,cygnus.yaml index c207d1d839..a0a3f32db5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/bcm/brcm,cygnus.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/bcm/brcm,cygnus.yaml @@ -1,31 +1,31 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/arm/bcm/brcm,cygnus.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Broadcom Cygnus - -maintainers: - - Ray Jui - - Scott Branden - -properties: - $nodename: - const: '/' - compatible: - items: - - enum: - - brcm,bcm11300 - - brcm,bcm11320 - - brcm,bcm11350 - - brcm,bcm11360 - - brcm,bcm58300 - - brcm,bcm58302 - - brcm,bcm58303 - - brcm,bcm58305 - - const: brcm,cygnus - -additionalProperties: true - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/bcm/brcm,cygnus.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom Cygnus + +maintainers: + - Ray Jui + - Scott Branden + +properties: + $nodename: + const: '/' + compatible: + items: + - enum: + - brcm,bcm11300 + - brcm,bcm11320 + - brcm,bcm11350 + - brcm,bcm11360 + - brcm,bcm58300 + - brcm,bcm58302 + - brcm,bcm58303 + - brcm,bcm58305 + - const: brcm,cygnus + +additionalProperties: true + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/bcm/brcm,hr2.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/bcm/brcm,hr2.yaml index 0c3d830829..cc6add0e93 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/bcm/brcm,hr2.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/bcm/brcm,hr2.yaml @@ -1,30 +1,30 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/arm/bcm/brcm,hr2.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Broadcom Hurricane 2 - -description: - Broadcom Hurricane 2 family of SoCs are used for switching control. These SoCs - are based on Broadcom's iProc SoC architecture and feature a single core Cortex - A9 ARM CPUs, DDR2/DDR3 memory, PCIe GEN-2, USB 2.0 and USB 3.0, serial and NAND - flash and a PCIe attached integrated switching engine. - -maintainers: - - Florian Fainelli - -properties: - $nodename: - const: '/' - compatible: - items: - - enum: - - ubnt,unifi-switch8 - - const: brcm,bcm53342 - - const: brcm,hr2 - -additionalProperties: true - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/bcm/brcm,hr2.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom Hurricane 2 + +description: + Broadcom Hurricane 2 family of SoCs are used for switching control. These SoCs + are based on Broadcom's iProc SoC architecture and feature a single core Cortex + A9 ARM CPUs, DDR2/DDR3 memory, PCIe GEN-2, USB 2.0 and USB 3.0, serial and NAND + flash and a PCIe attached integrated switching engine. + +maintainers: + - Florian Fainelli + +properties: + $nodename: + const: '/' + compatible: + items: + - enum: + - ubnt,unifi-switch8 + - const: brcm,bcm53342 + - const: brcm,hr2 + +additionalProperties: true + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/calxeda/l2ecc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/calxeda/l2ecc.yaml index 97706c64db..76b65ea149 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/calxeda/l2ecc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/calxeda/l2ecc.yaml @@ -1,42 +1,42 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/arm/calxeda/l2ecc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Calxeda Highbank L2 cache ECC - -description: | - Binding for the Calxeda Highbank L2 cache controller ECC device. - This does not cover the actual L2 cache controller control registers, - but just the error reporting functionality. - -maintainers: - - Andre Przywara - -properties: - compatible: - const: calxeda,hb-sregs-l2-ecc - - reg: - maxItems: 1 - - interrupts: - items: - - description: single bit error interrupt - - description: double bit error interrupt - -required: - - compatible - - reg - - interrupts - -additionalProperties: false - -examples: - - | - sregs@fff3c200 { - compatible = "calxeda,hb-sregs-l2-ecc"; - reg = <0xfff3c200 0x100>; - interrupts = <0 71 4>, <0 72 4>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/calxeda/l2ecc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Calxeda Highbank L2 cache ECC + +description: | + Binding for the Calxeda Highbank L2 cache controller ECC device. + This does not cover the actual L2 cache controller control registers, + but just the error reporting functionality. + +maintainers: + - Andre Przywara + +properties: + compatible: + const: calxeda,hb-sregs-l2-ecc + + reg: + maxItems: 1 + + interrupts: + items: + - description: single bit error interrupt + - description: double bit error interrupt + +required: + - compatible + - reg + - interrupts + +additionalProperties: false + +examples: + - | + sregs@fff3c200 { + compatible = "calxeda,hb-sregs-l2-ecc"; + reg = <0xfff3c200 0x100>; + interrupts = <0 71 4>, <0 72 4>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/cci-control-port.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/cci-control-port.yaml index 51c9a93bc2..c29d250a6d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/cci-control-port.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/cci-control-port.yaml @@ -1,38 +1,38 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/arm/cci-control-port.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: CCI Interconnect Bus Masters - -maintainers: - - Lorenzo Pieralisi - -description: | - Masters in the device tree connected to a CCI port (inclusive of CPUs - and their cpu nodes). - -select: true - -properties: - cci-control-port: - $ref: /schemas/types.yaml#/definitions/phandle - -additionalProperties: true - -examples: - - | - cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu@0 { - compatible = "arm,cortex-a15"; - device_type = "cpu"; - cci-control-port = <&cci_control1>; - reg = <0>; - }; - }; - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/cci-control-port.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: CCI Interconnect Bus Masters + +maintainers: + - Lorenzo Pieralisi + +description: | + Masters in the device tree connected to a CCI port (inclusive of CPUs + and their cpu nodes). + +select: true + +properties: + cci-control-port: + $ref: /schemas/types.yaml#/definitions/phandle + +additionalProperties: true + +examples: + - | + cpus { + #address-cells = <1>; + #size-cells = <0>; + + cpu@0 { + compatible = "arm,cortex-a15"; + device_type = "cpu"; + cci-control-port = <&cci_control1>; + reg = <0>; + }; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/hisilicon/controller/hip04-bootwrapper.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/hisilicon/controller/hip04-bootwrapper.yaml index d89c156003..483caf0ce2 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/hisilicon/controller/hip04-bootwrapper.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/hisilicon/controller/hip04-bootwrapper.yaml @@ -1,35 +1,35 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/arm/hisilicon/controller/hip04-bootwrapper.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Bootwrapper boot method - -maintainers: - - Wei Xu - -description: Bootwrapper boot method (software protocol on SMP) - -properties: - compatible: - items: - - const: hisilicon,hip04-bootwrapper - - boot-method: - $ref: /schemas/types.yaml#/definitions/uint32-array - description: | - Address and size of boot method. - [0]: bootwrapper physical address - [1]: bootwrapper size - [2]: relocation physical address - [3]: relocation size - minItems: 2 - maxItems: 4 - -required: - - compatible - - boot-method - -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-bootwrapper.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Bootwrapper boot method + +maintainers: + - Wei Xu + +description: Bootwrapper boot method (software protocol on SMP) + +properties: + compatible: + items: + - const: hisilicon,hip04-bootwrapper + + boot-method: + $ref: /schemas/types.yaml#/definitions/uint32-array + description: | + Address and size of boot method. + [0]: bootwrapper physical address + [1]: bootwrapper size + [2]: relocation physical address + [3]: relocation size + minItems: 2 + maxItems: 4 + +required: + - compatible + - boot-method + +additionalProperties: false +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/intel,socfpga.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/intel,socfpga.yaml index 41143525da..2ee0c740eb 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/intel,socfpga.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/intel,socfpga.yaml @@ -1,32 +1,32 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/arm/intel,socfpga.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Intel SoCFPGA platform - -maintainers: - - Dinh Nguyen - -properties: - $nodename: - const: "/" - compatible: - oneOf: - - description: AgileX boards - items: - - enum: - - intel,n5x-socdk - - intel,socfpga-agilex-n6000 - - intel,socfpga-agilex-socdk - - const: intel,socfpga-agilex - - description: Agilex5 boards - items: - - enum: - - intel,socfpga-agilex5-socdk - - const: intel,socfpga-agilex5 - -additionalProperties: true - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/intel,socfpga.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Intel SoCFPGA platform + +maintainers: + - Dinh Nguyen + +properties: + $nodename: + const: "/" + compatible: + oneOf: + - description: AgileX boards + items: + - enum: + - intel,n5x-socdk + - intel,socfpga-agilex-n6000 + - intel,socfpga-agilex-socdk + - const: intel,socfpga-agilex + - description: Agilex5 boards + items: + - enum: + - intel,socfpga-agilex5-socdk + - const: intel,socfpga-agilex5 + +additionalProperties: true + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/marvell/98dx3236.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/marvell/98dx3236.txt index 13e06ca707..64e8c73fc5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/marvell/98dx3236.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/marvell/98dx3236.txt @@ -1,23 +1,23 @@ -Marvell 98DX3236, 98DX3336 and 98DX4251 Platforms Device Tree Bindings ----------------------------------------------------------------------- - -Boards with a SoC of the Marvell 98DX3236, 98DX3336 and 98DX4251 families -shall have the following property: - -Required root node property: - -compatible: must contain "marvell,armadaxp-98dx3236" - -In addition, boards using the Marvell 98DX3336 SoC shall have the -following property: - -Required root node property: - -compatible: must contain "marvell,armadaxp-98dx3336" - -In addition, boards using the Marvell 98DX4251 SoC shall have the -following property: - -Required root node property: - -compatible: must contain "marvell,armadaxp-98dx4251" +Marvell 98DX3236, 98DX3336 and 98DX4251 Platforms Device Tree Bindings +---------------------------------------------------------------------- + +Boards with a SoC of the Marvell 98DX3236, 98DX3336 and 98DX4251 families +shall have the following property: + +Required root node property: + +compatible: must contain "marvell,armadaxp-98dx3236" + +In addition, boards using the Marvell 98DX3336 SoC shall have the +following property: + +Required root node property: + +compatible: must contain "marvell,armadaxp-98dx3336" + +In addition, boards using the Marvell 98DX4251 SoC shall have the +following property: + +Required root node property: + +compatible: must contain "marvell,armadaxp-98dx4251" diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/marvell/armada-370-xp.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/marvell/armada-370-xp.txt index 81fb85ccf6..c6ed90ea6e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/marvell/armada-370-xp.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/marvell/armada-370-xp.txt @@ -1,24 +1,24 @@ -Marvell Armada 370 and Armada XP Platforms Device Tree Bindings ---------------------------------------------------------------- - -Boards with a SoC of the Marvell Armada 370 and Armada XP families -shall have the following property: - -Required root node property: - -compatible: must contain "marvell,armada-370-xp" - -In addition, boards using the Marvell Armada 370 SoC shall have the -following property: - -Required root node property: - -compatible: must contain "marvell,armada370" - -In addition, boards using the Marvell Armada XP SoC shall have the -following property: - -Required root node property: - -compatible: must contain "marvell,armadaxp" - +Marvell Armada 370 and Armada XP Platforms Device Tree Bindings +--------------------------------------------------------------- + +Boards with a SoC of the Marvell Armada 370 and Armada XP families +shall have the following property: + +Required root node property: + +compatible: must contain "marvell,armada-370-xp" + +In addition, boards using the Marvell Armada 370 SoC shall have the +following property: + +Required root node property: + +compatible: must contain "marvell,armada370" + +In addition, boards using the Marvell Armada XP SoC shall have the +following property: + +Required root node property: + +compatible: must contain "marvell,armadaxp" + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/marvell/armada-39x.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/marvell/armada-39x.txt index 0bea06b688..89468664f6 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/marvell/armada-39x.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/marvell/armada-39x.txt @@ -1,31 +1,31 @@ -Marvell Armada 39x Platforms Device Tree Bindings -------------------------------------------------- - -Boards with a SoC of the Marvell Armada 39x family shall have the -following property: - -Required root node property: - - - compatible: must contain "marvell,armada390" - -In addition, boards using the Marvell Armada 395 SoC shall have the -following property before the common "marvell,armada390" one: - -Required root node property: - -compatible: must contain "marvell,armada395" - -Example: - -compatible = "marvell,a395-gp", "marvell,armada395", "marvell,armada390"; - -Boards using the Marvell Armada 398 SoC shall have the following -property before the common "marvell,armada390" one: - -Required root node property: - -compatible: must contain "marvell,armada398" - -Example: - -compatible = "marvell,a398-db", "marvell,armada398", "marvell,armada390"; +Marvell Armada 39x Platforms Device Tree Bindings +------------------------------------------------- + +Boards with a SoC of the Marvell Armada 39x family shall have the +following property: + +Required root node property: + + - compatible: must contain "marvell,armada390" + +In addition, boards using the Marvell Armada 395 SoC shall have the +following property before the common "marvell,armada390" one: + +Required root node property: + +compatible: must contain "marvell,armada395" + +Example: + +compatible = "marvell,a395-gp", "marvell,armada395", "marvell,armada390"; + +Boards using the Marvell Armada 398 SoC shall have the following +property before the common "marvell,armada390" one: + +Required root node property: + +compatible: must contain "marvell,armada398" + +Example: + +compatible = "marvell,a398-db", "marvell,armada398", "marvell,armada390"; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/marvell/kirkwood.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/marvell/kirkwood.txt index 5b7760c147..98cce9a653 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/marvell/kirkwood.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/marvell/kirkwood.txt @@ -1,27 +1,27 @@ -Marvell Kirkwood Platforms Device Tree Bindings ------------------------------------------------ - -Boards with a SoC of the Marvell Kirkwood -shall have the following property: - -Required root node property: - -compatible: must contain "marvell,kirkwood"; - -In order to support the kirkwood cpufreq driver, there must be a node -cpus/cpu@0 with three clocks, "cpu_clk", "ddrclk" and "powersave", -where the "powersave" clock is a gating clock used to switch the CPU -between the "cpu_clk" and the "ddrclk". - -Example: - - cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu@0 { - device_type = "cpu"; - compatible = "marvell,sheeva-88SV131"; - clocks = <&core_clk 1>, <&core_clk 3>, <&gate_clk 11>; - clock-names = "cpu_clk", "ddrclk", "powersave"; - }; +Marvell Kirkwood Platforms Device Tree Bindings +----------------------------------------------- + +Boards with a SoC of the Marvell Kirkwood +shall have the following property: + +Required root node property: + +compatible: must contain "marvell,kirkwood"; + +In order to support the kirkwood cpufreq driver, there must be a node +cpus/cpu@0 with three clocks, "cpu_clk", "ddrclk" and "powersave", +where the "powersave" clock is a gating clock used to switch the CPU +between the "cpu_clk" and the "ddrclk". + +Example: + + cpus { + #address-cells = <1>; + #size-cells = <0>; + + cpu@0 { + device_type = "cpu"; + compatible = "marvell,sheeva-88SV131"; + clocks = <&core_clk 1>, <&core_clk 3>, <&gate_clk 11>; + clock-names = "cpu_clk", "ddrclk", "powersave"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/marvell/marvell,ac5.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/marvell/marvell,ac5.yaml index 6fddb29643..8960fb8b2b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/marvell/marvell,ac5.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/marvell/marvell,ac5.yaml @@ -1,32 +1,32 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/arm/marvell/marvell,ac5.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Marvell Alleycat5/5X Platforms - -maintainers: - - Chris Packham - -properties: - $nodename: - const: '/' - compatible: - oneOf: - - description: Alleycat5 (98DX25xx) Reference Design - items: - - enum: - - marvell,rd-ac5 - - const: marvell,ac5 - - - description: Alleycat5X (98DX35xx) Reference Design - items: - - enum: - - marvell,rd-ac5x - - const: marvell,ac5x - - const: marvell,ac5 - -additionalProperties: true - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/marvell/marvell,ac5.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Marvell Alleycat5/5X Platforms + +maintainers: + - Chris Packham + +properties: + $nodename: + const: '/' + compatible: + oneOf: + - description: Alleycat5 (98DX25xx) Reference Design + items: + - enum: + - marvell,rd-ac5 + - const: marvell,ac5 + + - description: Alleycat5X (98DX35xx) Reference Design + items: + - enum: + - marvell,rd-ac5x + - const: marvell,ac5x + - const: marvell,ac5 + +additionalProperties: true + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/marvell/marvell,orion5x.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/marvell/marvell,orion5x.txt index 166f7daa14..748a8f2874 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/marvell/marvell,orion5x.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/marvell/marvell,orion5x.txt @@ -1,25 +1,25 @@ -Marvell Orion SoC Family Device Tree Bindings ---------------------------------------------- - -Boards with a SoC of the Marvell Orion family, eg 88f5181 - -* Required root node properties: -compatible: must contain "marvell,orion5x" - -In addition, the above compatible shall be extended with the specific -SoC. Currently known SoC compatibles are: - -"marvell,orion5x-88f5181" -"marvell,orion5x-88f5182" - -And in addition, the compatible shall be extended with the specific -board. Currently known boards are: - -"buffalo,lsgl" -"buffalo,lswsgl" -"buffalo,lswtgl" -"lacie,ethernet-disk-mini-v2" -"lacie,d2-network" -"marvell,rd-88f5182-nas" -"maxtor,shared-storage-2" -"netgear,wnr854t" +Marvell Orion SoC Family Device Tree Bindings +--------------------------------------------- + +Boards with a SoC of the Marvell Orion family, eg 88f5181 + +* Required root node properties: +compatible: must contain "marvell,orion5x" + +In addition, the above compatible shall be extended with the specific +SoC. Currently known SoC compatibles are: + +"marvell,orion5x-88f5181" +"marvell,orion5x-88f5182" + +And in addition, the compatible shall be extended with the specific +board. Currently known boards are: + +"buffalo,lsgl" +"buffalo,lswsgl" +"buffalo,lswtgl" +"lacie,ethernet-disk-mini-v2" +"lacie,d2-network" +"marvell,rd-88f5182-nas" +"maxtor,shared-storage-2" +"netgear,wnr854t" diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/mediatek/mediatek,g3dsys.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/mediatek/mediatek,g3dsys.txt index 77d401b256..7de43bf41f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/mediatek/mediatek,g3dsys.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/mediatek/mediatek,g3dsys.txt @@ -1,30 +1,30 @@ -MediaTek g3dsys controller -============================ - -The MediaTek g3dsys controller provides various clocks and reset controller to -the GPU. - -Required Properties: - -- compatible: Should be: - - "mediatek,mt2701-g3dsys", "syscon": - for MT2701 SoC - - "mediatek,mt7623-g3dsys", "mediatek,mt2701-g3dsys", "syscon": - for MT7623 SoC -- #clock-cells: Must be 1 -- #reset-cells: Must be 1 - -The g3dsys controller uses the common clk binding from -Documentation/devicetree/bindings/clock/clock-bindings.txt -The available clocks are defined in dt-bindings/clock/mt*-clk.h. - -Example: - -g3dsys: clock-controller@13000000 { - compatible = "mediatek,mt7623-g3dsys", - "mediatek,mt2701-g3dsys", - "syscon"; - reg = <0 0x13000000 0 0x200>; - #clock-cells = <1>; - #reset-cells = <1>; -}; +MediaTek g3dsys controller +============================ + +The MediaTek g3dsys controller provides various clocks and reset controller to +the GPU. + +Required Properties: + +- compatible: Should be: + - "mediatek,mt2701-g3dsys", "syscon": + for MT2701 SoC + - "mediatek,mt7623-g3dsys", "mediatek,mt2701-g3dsys", "syscon": + for MT7623 SoC +- #clock-cells: Must be 1 +- #reset-cells: Must be 1 + +The g3dsys controller uses the common clk binding from +Documentation/devicetree/bindings/clock/clock-bindings.txt +The available clocks are defined in dt-bindings/clock/mt*-clk.h. + +Example: + +g3dsys: clock-controller@13000000 { + compatible = "mediatek,mt7623-g3dsys", + "mediatek,mt2701-g3dsys", + "syscon"; + reg = <0 0x13000000 0 0x200>; + #clock-cells = <1>; + #reset-cells = <1>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/mediatek/mediatek,mt7622-pcie-mirror.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/mediatek/mediatek,mt7622-pcie-mirror.yaml index bcf6fea40e..d89848a8f4 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/mediatek/mediatek,mt7622-pcie-mirror.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/mediatek/mediatek,mt7622-pcie-mirror.yaml @@ -1,42 +1,42 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/arm/mediatek/mediatek,mt7622-pcie-mirror.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: MediaTek PCIE Mirror Controller for MT7622 - -maintainers: - - Lorenzo Bianconi - - Felix Fietkau - -description: - The mediatek PCIE mirror provides a configuration interface for PCIE - controller on MT7622 soc. - -properties: - compatible: - items: - - enum: - - mediatek,mt7622-pcie-mirror - - const: syscon - - reg: - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - soc { - #address-cells = <2>; - #size-cells = <2>; - pcie_mirror: pcie-mirror@10000400 { - compatible = "mediatek,mt7622-pcie-mirror", "syscon"; - reg = <0 0x10000400 0 0x10>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/mediatek/mediatek,mt7622-pcie-mirror.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: MediaTek PCIE Mirror Controller for MT7622 + +maintainers: + - Lorenzo Bianconi + - Felix Fietkau + +description: + The mediatek PCIE mirror provides a configuration interface for PCIE + controller on MT7622 soc. + +properties: + compatible: + items: + - enum: + - mediatek,mt7622-pcie-mirror + - const: syscon + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + soc { + #address-cells = <2>; + #size-cells = <2>; + pcie_mirror: pcie-mirror@10000400 { + compatible = "mediatek,mt7622-pcie-mirror", "syscon"; + reg = <0 0x10000400 0 0x10>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/mediatek/mediatek,mt7986-wed-pcie.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/mediatek/mediatek,mt7986-wed-pcie.yaml index 54570544f3..82f64469a6 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/mediatek/mediatek,mt7986-wed-pcie.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/mediatek/mediatek,mt7986-wed-pcie.yaml @@ -1,43 +1,43 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/arm/mediatek/mediatek,mt7986-wed-pcie.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: MediaTek PCIE WED Controller for MT7986 - -maintainers: - - Lorenzo Bianconi - - Felix Fietkau - -description: - The mediatek WED PCIE provides a configuration interface for PCIE - controller on MT7986 soc. - -properties: - compatible: - items: - - enum: - - mediatek,mt7986-wed-pcie - - const: syscon - - reg: - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - soc { - #address-cells = <2>; - #size-cells = <2>; - wed_pcie: wed-pcie@10003000 { - compatible = "mediatek,mt7986-wed-pcie", - "syscon"; - reg = <0 0x10003000 0 0x10>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/mediatek/mediatek,mt7986-wed-pcie.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: MediaTek PCIE WED Controller for MT7986 + +maintainers: + - Lorenzo Bianconi + - Felix Fietkau + +description: + The mediatek WED PCIE provides a configuration interface for PCIE + controller on MT7986 soc. + +properties: + compatible: + items: + - enum: + - mediatek,mt7986-wed-pcie + - const: syscon + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + soc { + #address-cells = <2>; + #size-cells = <2>; + wed_pcie: wed-pcie@10003000 { + compatible = "mediatek,mt7986-wed-pcie", + "syscon"; + reg = <0 0x10003000 0 0x10>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/mrvl/mrvl.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/mrvl/mrvl.yaml index 1a6002b656..4c43eaf363 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/mrvl/mrvl.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/mrvl/mrvl.yaml @@ -1,41 +1,41 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/arm/mrvl/mrvl.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Marvell Platforms - -maintainers: - - Lubomir Rintel - -properties: - $nodename: - const: '/' - compatible: - oneOf: - - description: PXA168 Aspenite Board - items: - - enum: - - mrvl,pxa168-aspenite - - const: mrvl,pxa168 - - description: PXA910 DKB Board - items: - - enum: - - mrvl,pxa910-dkb - - const: mrvl,pxa910 - - description: MMP2 based boards - items: - - enum: - - mrvl,mmp2-brownstone - - olpc,xo-1.75 - - const: mrvl,mmp2 - - description: MMP3 based boards - items: - - enum: - - dell,wyse-ariel - - const: marvell,mmp3 - -additionalProperties: true - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/mrvl/mrvl.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Marvell Platforms + +maintainers: + - Lubomir Rintel + +properties: + $nodename: + const: '/' + compatible: + oneOf: + - description: PXA168 Aspenite Board + items: + - enum: + - mrvl,pxa168-aspenite + - const: mrvl,pxa168 + - description: PXA910 DKB Board + items: + - enum: + - mrvl,pxa910-dkb + - const: mrvl,pxa910 + - description: MMP2 based boards + items: + - enum: + - mrvl,mmp2-brownstone + - olpc,xo-1.75 + - const: mrvl,mmp2 + - description: MMP3 based boards + items: + - enum: + - dell,wyse-ariel + - const: marvell,mmp3 + +additionalProperties: true + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/mstar/mstar,smpctrl.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/mstar/mstar,smpctrl.yaml index df88389345..5739848000 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/mstar/mstar,smpctrl.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/mstar/mstar,smpctrl.yaml @@ -1,40 +1,40 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -# Copyright 2020 thingy.jp. -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/arm/mstar/mstar,smpctrl.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: MStar/SigmaStar Armv7 SoC SMP control registers - -maintainers: - - Daniel Palmer - -description: | - MStar/SigmaStar's Armv7 SoCs that have more than one processor - have a region of registers that allow setting the boot address - and a magic number that allows secondary processors to leave - the loop they are parked in by the boot ROM. - -properties: - compatible: - items: - - enum: - - sstar,ssd201-smpctrl # SSD201/SSD202D - - const: mstar,smpctrl - - reg: - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - smpctrl@204000 { - compatible = "sstar,ssd201-smpctrl", "mstar,smpctrl"; - reg = <0x204000 0x200>; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +# Copyright 2020 thingy.jp. +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/mstar/mstar,smpctrl.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: MStar/SigmaStar Armv7 SoC SMP control registers + +maintainers: + - Daniel Palmer + +description: | + MStar/SigmaStar's Armv7 SoCs that have more than one processor + have a region of registers that allow setting the boot address + and a magic number that allows secondary processors to leave + the loop they are parked in by the boot ROM. + +properties: + compatible: + items: + - enum: + - sstar,ssd201-smpctrl # SSD201/SSD202D + - const: mstar,smpctrl + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + smpctrl@204000 { + compatible = "sstar,ssd201-smpctrl", "mstar,smpctrl"; + reg = <0x204000 0x200>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/nuvoton/nuvoton,ma35d1.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/nuvoton/nuvoton,ma35d1.yaml index 549a005f52..fb190db615 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/nuvoton/nuvoton,ma35d1.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/nuvoton/nuvoton,ma35d1.yaml @@ -1,30 +1,30 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/arm/nuvoton/nuvoton,ma35d1.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Nuvoton MA35 series SoC based platforms - -maintainers: - - Jacky Huang - -description: | - Boards with an ARMv8 based Nuvoton MA35 series SoC shall have - the following properties. - -properties: - $nodename: - const: '/' - compatible: - oneOf: - - - description: MA35D1 based boards - items: - - enum: - - nuvoton,ma35d1-iot - - nuvoton,ma35d1-som - - const: nuvoton,ma35d1 - -additionalProperties: true -... +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/nuvoton/nuvoton,ma35d1.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Nuvoton MA35 series SoC based platforms + +maintainers: + - Jacky Huang + +description: | + Boards with an ARMv8 based Nuvoton MA35 series SoC shall have + the following properties. + +properties: + $nodename: + const: '/' + compatible: + oneOf: + + - description: MA35D1 based boards + items: + - enum: + - nuvoton,ma35d1-iot + - nuvoton,ma35d1-som + - const: nuvoton,ma35d1 + +additionalProperties: true +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/omap/dmm.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/omap/dmm.txt index 2c2490cf25..8bd6d0a238 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/omap/dmm.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/omap/dmm.txt @@ -1,22 +1,22 @@ -OMAP Dynamic Memory Manager (DMM) bindings - -The dynamic memory manager (DMM) is a module located immediately in front of the -SDRAM controllers (called EMIFs on OMAP). DMM manages various aspects of memory -accesses such as priority generation amongst initiators, configuration of SDRAM -interleaving, optimizing transfer of 2D block objects, and provide MMU-like page -translation for initiators which need contiguous dma bus addresses. - -Required properties: -- compatible: Should contain "ti,omap4-dmm" for OMAP4 family - Should contain "ti,omap5-dmm" for OMAP5 and DRA7x family -- reg: Contains DMM register address range (base address and length) -- interrupts: Should contain an interrupt-specifier for DMM_IRQ. -- ti,hwmods: Name of the hwmod associated to DMM, which is typically "dmm" - -Example: - -dmm@4e000000 { - compatible = "ti,omap4-dmm"; - reg = <0x4e000000 0x800>; - ti,hwmods = "dmm"; -}; +OMAP Dynamic Memory Manager (DMM) bindings + +The dynamic memory manager (DMM) is a module located immediately in front of the +SDRAM controllers (called EMIFs on OMAP). DMM manages various aspects of memory +accesses such as priority generation amongst initiators, configuration of SDRAM +interleaving, optimizing transfer of 2D block objects, and provide MMU-like page +translation for initiators which need contiguous dma bus addresses. + +Required properties: +- compatible: Should contain "ti,omap4-dmm" for OMAP4 family + Should contain "ti,omap5-dmm" for OMAP5 and DRA7x family +- reg: Contains DMM register address range (base address and length) +- interrupts: Should contain an interrupt-specifier for DMM_IRQ. +- ti,hwmods: Name of the hwmod associated to DMM, which is typically "dmm" + +Example: + +dmm@4e000000 { + compatible = "ti,omap4-dmm"; + reg = <0x4e000000 0x800>; + ti,hwmods = "dmm"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/omap/l3-noc.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/omap/l3-noc.txt index fb14f5c69f..161448da95 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/omap/l3-noc.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/omap/l3-noc.txt @@ -1,23 +1,23 @@ -* TI - L3 Network On Chip (NoC) - -This version is an implementation of the generic NoC IP -provided by Arteris. - -Required properties: -- compatible : Should be "ti,omap3-l3-smx" for OMAP3 family - Should be "ti,omap4-l3-noc" for OMAP4 family - Should be "ti,omap5-l3-noc" for OMAP5 family - Should be "ti,dra7-l3-noc" for DRA7 family - Should be "ti,am4372-l3-noc" for AM43 family -- reg: Contains L3 register address range for each noc domain. -- ti,hwmods: "l3_main_1", ... One hwmod for each noc domain. - -Examples: - -ocp { - compatible = "ti,omap4-l3-noc", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - ti,hwmods = "l3_main_1", "l3_main_2", "l3_main_3"; -}; +* TI - L3 Network On Chip (NoC) + +This version is an implementation of the generic NoC IP +provided by Arteris. + +Required properties: +- compatible : Should be "ti,omap3-l3-smx" for OMAP3 family + Should be "ti,omap4-l3-noc" for OMAP4 family + Should be "ti,omap5-l3-noc" for OMAP5 family + Should be "ti,dra7-l3-noc" for DRA7 family + Should be "ti,am4372-l3-noc" for AM43 family +- reg: Contains L3 register address range for each noc domain. +- ti,hwmods: "l3_main_1", ... One hwmod for each noc domain. + +Examples: + +ocp { + compatible = "ti,omap4-l3-noc", "simple-bus"; + #address-cells = <1>; + #size-cells = <1>; + ranges; + ti,hwmods = "l3_main_1", "l3_main_2", "l3_main_3"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/omap/prm-inst.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/omap/prm-inst.txt index e3fccf5fef..42db138e09 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/omap/prm-inst.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/omap/prm-inst.txt @@ -1,31 +1,31 @@ -OMAP PRM instance bindings - -Power and Reset Manager is an IP block on OMAP family of devices which -handle the power domains and their current state, and provide reset -handling for the domains and/or separate IP blocks under the power domain -hierarchy. - -Required properties: -- compatible: Must contain one of the following: - "ti,am3-prm-inst" - "ti,am4-prm-inst" - "ti,omap4-prm-inst" - "ti,omap5-prm-inst" - "ti,dra7-prm-inst" - and additionally must contain: - "ti,omap-prm-inst" -- reg: Contains PRM instance register address range - (base address and length) - -Optional properties: -- #power-domain-cells: Should be 0 if the instance is a power domain provider. -- #reset-cells: Should be 1 if the PRM instance in question supports resets. - -Example: - -prm_dsp2: prm@1b00 { - compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst"; - reg = <0x1b00 0x40>; - #power-domain-cells = <0>; - #reset-cells = <1>; -}; +OMAP PRM instance bindings + +Power and Reset Manager is an IP block on OMAP family of devices which +handle the power domains and their current state, and provide reset +handling for the domains and/or separate IP blocks under the power domain +hierarchy. + +Required properties: +- compatible: Must contain one of the following: + "ti,am3-prm-inst" + "ti,am4-prm-inst" + "ti,omap4-prm-inst" + "ti,omap5-prm-inst" + "ti,dra7-prm-inst" + and additionally must contain: + "ti,omap-prm-inst" +- reg: Contains PRM instance register address range + (base address and length) + +Optional properties: +- #power-domain-cells: Should be 0 if the instance is a power domain provider. +- #reset-cells: Should be 1 if the PRM instance in question supports resets. + +Example: + +prm_dsp2: prm@1b00 { + compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst"; + reg = <0x1b00 0x40>; + #power-domain-cells = <0>; + #reset-cells = <1>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/samsung/samsung-secure-firmware.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/samsung/samsung-secure-firmware.yaml index 7c0b145343..3d9abad3c7 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/samsung/samsung-secure-firmware.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/samsung/samsung-secure-firmware.yaml @@ -1,33 +1,33 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/arm/samsung/samsung-secure-firmware.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Samsung Exynos Secure Firmware - -maintainers: - - Krzysztof Kozlowski - -properties: - compatible: - items: - - const: samsung,secure-firmware - - reg: - description: - Address of non-secure SYSRAM used for communication with firmware. - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - firmware@203f000 { - compatible = "samsung,secure-firmware"; - reg = <0x0203f000 0x1000>; - }; +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/samsung/samsung-secure-firmware.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Samsung Exynos Secure Firmware + +maintainers: + - Krzysztof Kozlowski + +properties: + compatible: + items: + - const: samsung,secure-firmware + + reg: + description: + Address of non-secure SYSRAM used for communication with firmware. + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + firmware@203f000 { + compatible = "samsung,secure-firmware"; + reg = <0x0203f000 0x1000>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/ste-nomadik.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/ste-nomadik.txt index 4b7e7485fc..2fdff5a806 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/ste-nomadik.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/ste-nomadik.txt @@ -1,38 +1,38 @@ -ST-Ericsson Nomadik Device Tree Bindings - -For various board the "board" node may contain specific properties -that pertain to this particular board, such as board-specific GPIOs. - -Required root node property: src -- Nomadik System and reset controller used for basic chip control, clock - and reset line control. -- compatible: must be "stericsson,nomadik,src" - -Boards with the Nomadik SoC include: - -Nomadik NHK-15 board manufactured by ST Microelectronics: - -Required root node property: - -compatible="st,nomadik-nhk-15"; - -S8815 "MiniKit" manufactured by Calao Systems: - -Required root node property: - -compatible="calaosystems,usb-s8815"; - -Required node: usb-s8815 - -Example: - -usb-s8815 { - ethernet-gpio { - gpios = <&gpio3 19 0x1>; - interrupts = <19 0x1>; - interrupt-parent = <&gpio3>; - }; - mmcsd-gpio { - gpios = <&gpio3 16 0x1>; - }; -}; +ST-Ericsson Nomadik Device Tree Bindings + +For various board the "board" node may contain specific properties +that pertain to this particular board, such as board-specific GPIOs. + +Required root node property: src +- Nomadik System and reset controller used for basic chip control, clock + and reset line control. +- compatible: must be "stericsson,nomadik,src" + +Boards with the Nomadik SoC include: + +Nomadik NHK-15 board manufactured by ST Microelectronics: + +Required root node property: + +compatible="st,nomadik-nhk-15"; + +S8815 "MiniKit" manufactured by Calao Systems: + +Required root node property: + +compatible="calaosystems,usb-s8815"; + +Required node: usb-s8815 + +Example: + +usb-s8815 { + ethernet-gpio { + gpios = <&gpio3 19 0x1>; + interrupts = <19 0x1>; + interrupt-parent = <&gpio3>; + }; + mmcsd-gpio { + gpios = <&gpio3 16 0x1>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/sti.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/sti.yaml index 81e4394cde..842def3e3f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/sti.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/sti.yaml @@ -1,33 +1,33 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/arm/sti.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: ST STi Platforms - -maintainers: - - Patrice Chotard - -properties: - $nodename: - const: '/' - compatible: - oneOf: - - items: - - const: st,stih407-b2120 - - const: st,stih407 - - items: - - enum: - - st,stih410-b2120 - - st,stih410-b2260 - - const: st,stih410 - - items: - - enum: - - st,stih418-b2199 - - st,stih418-b2264 - - const: st,stih418 - -additionalProperties: true - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/sti.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ST STi Platforms + +maintainers: + - Patrice Chotard + +properties: + $nodename: + const: '/' + compatible: + oneOf: + - items: + - const: st,stih407-b2120 + - const: st,stih407 + - items: + - enum: + - st,stih410-b2120 + - st,stih410-b2260 + - const: st,stih410 + - items: + - enum: + - st,stih418-b2199 + - st,stih418-b2264 + - const: st,stih418 + +additionalProperties: true + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/sunplus,sp7021.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/sunplus,sp7021.yaml index ada34667e0..def7d0cfeb 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/sunplus,sp7021.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/sunplus,sp7021.yaml @@ -1,29 +1,29 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -# Copyright (C) Sunplus Co., Ltd. 2021 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/arm/sunplus,sp7021.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Sunplus SP7021 Boards - -maintainers: - - qinjian - -description: | - ARM platforms using Sunplus SP7021, an ARM Cortex A7 (4-cores) based SoC. - Wiki: https://sunplus-tibbo.atlassian.net/wiki/spaces/doc/overview - -properties: - $nodename: - const: '/' - compatible: - items: - - enum: - - sunplus,sp7021-achip - - sunplus,sp7021-demo-v3 - - const: sunplus,sp7021 - -additionalProperties: true - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +# Copyright (C) Sunplus Co., Ltd. 2021 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/sunplus,sp7021.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Sunplus SP7021 Boards + +maintainers: + - qinjian + +description: | + ARM platforms using Sunplus SP7021, an ARM Cortex A7 (4-cores) based SoC. + Wiki: https://sunplus-tibbo.atlassian.net/wiki/spaces/doc/overview + +properties: + $nodename: + const: '/' + compatible: + items: + - enum: + - sunplus,sp7021-achip + - sunplus,sp7021-demo-v3 + - const: sunplus,sp7021 + +additionalProperties: true + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/sunxi/allwinner,sun6i-a31-cpuconfig.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/sunxi/allwinner,sun6i-a31-cpuconfig.yaml index 6d1cb5e438..d805c4508b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/sunxi/allwinner,sun6i-a31-cpuconfig.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/sunxi/allwinner,sun6i-a31-cpuconfig.yaml @@ -1,38 +1,38 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/arm/sunxi/allwinner,sun6i-a31-cpuconfig.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Allwinner CPU Configuration Controller - -maintainers: - - Chen-Yu Tsai - - Maxime Ripard - -properties: - compatible: - enum: - - allwinner,sun6i-a31-cpuconfig - - allwinner,sun8i-a23-cpuconfig - - allwinner,sun8i-a83t-cpucfg - - allwinner,sun8i-a83t-r-cpucfg - - allwinner,sun9i-a80-cpucfg - - reg: - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - cpucfg@1f01c00 { - compatible = "allwinner,sun6i-a31-cpuconfig"; - reg = <0x01f01c00 0x300>; - }; - -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/sunxi/allwinner,sun6i-a31-cpuconfig.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Allwinner CPU Configuration Controller + +maintainers: + - Chen-Yu Tsai + - Maxime Ripard + +properties: + compatible: + enum: + - allwinner,sun6i-a31-cpuconfig + - allwinner,sun8i-a23-cpuconfig + - allwinner,sun8i-a83t-cpucfg + - allwinner,sun8i-a83t-r-cpucfg + - allwinner,sun9i-a80-cpucfg + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + cpucfg@1f01c00 { + compatible = "allwinner,sun6i-a31-cpuconfig"; + reg = <0x01f01c00 0x300>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/tegra/nvidia,tegra194-axi2apb.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/tegra/nvidia,tegra194-axi2apb.yaml index ce3e0e4ed0..5e0f1dc542 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/tegra/nvidia,tegra194-axi2apb.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/tegra/nvidia,tegra194-axi2apb.yaml @@ -1,40 +1,40 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/arm/tegra/nvidia,tegra194-axi2apb.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: NVIDIA Tegra194 AXI2APB bridge - -maintainers: - - Sumit Gupta - -properties: - $nodename: - pattern: "^axi2apb@([0-9a-f]+)$" - - compatible: - enum: - - nvidia,tegra194-axi2apb - - reg: - maxItems: 6 - description: Physical base address and length of registers for all bridges - -additionalProperties: false - -required: - - compatible - - reg - -examples: - - | - axi2apb: axi2apb@2390000 { - compatible = "nvidia,tegra194-axi2apb"; - reg = <0x02390000 0x1000>, - <0x023a0000 0x1000>, - <0x023b0000 0x1000>, - <0x023c0000 0x1000>, - <0x023d0000 0x1000>, - <0x023e0000 0x1000>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/tegra/nvidia,tegra194-axi2apb.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NVIDIA Tegra194 AXI2APB bridge + +maintainers: + - Sumit Gupta + +properties: + $nodename: + pattern: "^axi2apb@([0-9a-f]+)$" + + compatible: + enum: + - nvidia,tegra194-axi2apb + + reg: + maxItems: 6 + description: Physical base address and length of registers for all bridges + +additionalProperties: false + +required: + - compatible + - reg + +examples: + - | + axi2apb: axi2apb@2390000 { + compatible = "nvidia,tegra194-axi2apb"; + reg = <0x02390000 0x1000>, + <0x023a0000 0x1000>, + <0x023b0000 0x1000>, + <0x023c0000 0x1000>, + <0x023d0000 0x1000>, + <0x023e0000 0x1000>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/ti/ti,davinci.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/ti/ti,davinci.yaml index 1d73baa99b..1656d1a447 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/ti/ti,davinci.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/ti/ti,davinci.yaml @@ -1,29 +1,29 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/arm/ti/ti,davinci.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Texas Instruments DaVinci Platforms - -maintainers: - - Sekhar Nori - -description: - DA850/OMAP-L138/AM18x based boards - -properties: - $nodename: - const: '/' - compatible: - items: - - enum: - - ti,da850-evm # DA850/OMAP-L138/AM18x Evaluation Module (EVM) board - - ti,da850-lcdk # DA850/OMAP-L138/AM18x L138/C6748 Development Kit (LCDK) board - - enbw,cmc # EnBW AM1808 based CMC board - - lego,ev3 # LEGO MINDSTORMS EV3 (AM1808 based) - - const: ti,da850 - -additionalProperties: true - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/ti/ti,davinci.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Texas Instruments DaVinci Platforms + +maintainers: + - Sekhar Nori + +description: + DA850/OMAP-L138/AM18x based boards + +properties: + $nodename: + const: '/' + compatible: + items: + - enum: + - ti,da850-evm # DA850/OMAP-L138/AM18x Evaluation Module (EVM) board + - ti,da850-lcdk # DA850/OMAP-L138/AM18x L138/C6748 Development Kit (LCDK) board + - enbw,cmc # EnBW AM1808 based CMC board + - lego,ev3 # LEGO MINDSTORMS EV3 (AM1808 based) + - const: ti,da850 + +additionalProperties: true + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/toshiba.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/toshiba.yaml index 4935a2ff76..716ba4a3ca 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/toshiba.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/toshiba.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/toshiba.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Toshiba Visconti Platform - -maintainers: - - Nobuhiro Iwamatsu - -properties: - $nodename: - const: '/' - compatible: - oneOf: - - description: Visconti5 TMPV7708 - items: - - enum: - - toshiba,tmpv7708-rm-mbrc # TMPV7708 RM main board - - toshiba,tmpv7708-visrobo-vrb # TMPV7708 VisROBO VRB board - - const: toshiba,tmpv7708 - -additionalProperties: true - -... +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/toshiba.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Toshiba Visconti Platform + +maintainers: + - Nobuhiro Iwamatsu + +properties: + $nodename: + const: '/' + compatible: + oneOf: + - description: Visconti5 TMPV7708 + items: + - enum: + - toshiba,tmpv7708-rm-mbrc # TMPV7708 RM main board + - toshiba,tmpv7708-visrobo-vrb # TMPV7708 VisROBO VRB board + - const: toshiba,tmpv7708 + +additionalProperties: true + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/ux500/power_domain.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/ux500/power_domain.txt index 06124ac6c3..5679d1742d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/ux500/power_domain.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/ux500/power_domain.txt @@ -1,35 +1,35 @@ -* ST-Ericsson UX500 PM Domains - -UX500 supports multiple PM domains which are used to gate power to one or -more peripherals on the SOC. - -The implementation of PM domains for UX500 are based upon the generic PM domain -and use the corresponding DT bindings. - -==PM domain providers== - -Required properties: - - compatible: Must be "stericsson,ux500-pm-domains". - - #power-domain-cells : Number of cells in a power domain specifier, must be 1. - -Example: - pm_domains: pm_domains0 { - compatible = "stericsson,ux500-pm-domains"; - #power-domain-cells = <1>; - }; - -==PM domain consumers== - -Required properties: - - power-domains: A phandle and PM domain specifier. Below are the list of - valid specifiers: - - Index Specifier - ----- --------- - 0 DOMAIN_VAPE - -Example: - sdi0_per1@80126000 { - compatible = "arm,pl18x", "arm,primecell"; - power-domains = <&pm_domains DOMAIN_VAPE> - }; +* ST-Ericsson UX500 PM Domains + +UX500 supports multiple PM domains which are used to gate power to one or +more peripherals on the SOC. + +The implementation of PM domains for UX500 are based upon the generic PM domain +and use the corresponding DT bindings. + +==PM domain providers== + +Required properties: + - compatible: Must be "stericsson,ux500-pm-domains". + - #power-domain-cells : Number of cells in a power domain specifier, must be 1. + +Example: + pm_domains: pm_domains0 { + compatible = "stericsson,ux500-pm-domains"; + #power-domain-cells = <1>; + }; + +==PM domain consumers== + +Required properties: + - power-domains: A phandle and PM domain specifier. Below are the list of + valid specifiers: + + Index Specifier + ----- --------- + 0 DOMAIN_VAPE + +Example: + sdi0_per1@80126000 { + compatible = "arm,pl18x", "arm,primecell"; + power-domains = <&pm_domains DOMAIN_VAPE> + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ata/ahci-dm816.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ata/ahci-dm816.txt index c3046fe4a5..f8c535f354 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ata/ahci-dm816.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ata/ahci-dm816.txt @@ -1,21 +1,21 @@ -Device tree binding for the TI DM816 AHCI SATA Controller ---------------------------------------------------------- - -Required properties: - - compatible: must be "ti,dm816-ahci" - - reg: physical base address and size of the register region used by - the controller (as defined by the AHCI 1.1 standard) - - interrupts: interrupt specifier (refer to the interrupt binding) - - clocks: list of phandle and clock specifier pairs (or only - phandles for clock providers with '0' defined for - #clock-cells); two clocks must be specified: the functional - clock and an external reference clock - -Example: - - sata: sata@4a140000 { - compatible = "ti,dm816-ahci"; - reg = <0x4a140000 0x10000>; - interrupts = <16>; - clocks = <&sysclk5_ck>, <&sata_refclk>; - }; +Device tree binding for the TI DM816 AHCI SATA Controller +--------------------------------------------------------- + +Required properties: + - compatible: must be "ti,dm816-ahci" + - reg: physical base address and size of the register region used by + the controller (as defined by the AHCI 1.1 standard) + - interrupts: interrupt specifier (refer to the interrupt binding) + - clocks: list of phandle and clock specifier pairs (or only + phandles for clock providers with '0' defined for + #clock-cells); two clocks must be specified: the functional + clock and an external reference clock + +Example: + + sata: sata@4a140000 { + compatible = "ti,dm816-ahci"; + reg = <0x4a140000 0x10000>; + interrupts = <16>; + clocks = <&sysclk5_ck>, <&sata_refclk>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ata/allwinner,sun4i-a10-ahci.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ata/allwinner,sun4i-a10-ahci.yaml index b49e1a90be..2011bd03cd 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ata/allwinner,sun4i-a10-ahci.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ata/allwinner,sun4i-a10-ahci.yaml @@ -1,47 +1,47 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/ata/allwinner,sun4i-a10-ahci.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Allwinner A10 AHCI SATA Controller - -maintainers: - - Chen-Yu Tsai - - Maxime Ripard - -properties: - compatible: - const: allwinner,sun4i-a10-ahci - - reg: - maxItems: 1 - - clocks: - items: - - description: AHCI Bus Clock - - description: AHCI Module Clock - - interrupts: - maxItems: 1 - - target-supply: - description: Regulator for SATA target power - -required: - - compatible - - reg - - clocks - - interrupts - -additionalProperties: false - -examples: - - | - ahci: sata@1c18000 { - compatible = "allwinner,sun4i-a10-ahci"; - reg = <0x01c18000 0x1000>; - interrupts = <56>; - clocks = <&pll6 0>, <&ahb_gates 25>; - target-supply = <®_ahci_5v>; - }; +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/ata/allwinner,sun4i-a10-ahci.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Allwinner A10 AHCI SATA Controller + +maintainers: + - Chen-Yu Tsai + - Maxime Ripard + +properties: + compatible: + const: allwinner,sun4i-a10-ahci + + reg: + maxItems: 1 + + clocks: + items: + - description: AHCI Bus Clock + - description: AHCI Module Clock + + interrupts: + maxItems: 1 + + target-supply: + description: Regulator for SATA target power + +required: + - compatible + - reg + - clocks + - interrupts + +additionalProperties: false + +examples: + - | + ahci: sata@1c18000 { + compatible = "allwinner,sun4i-a10-ahci"; + reg = <0x01c18000 0x1000>; + interrupts = <56>; + clocks = <&pll6 0>, <&ahb_gates 25>; + target-supply = <®_ahci_5v>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ata/cavium-compact-flash.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ata/cavium-compact-flash.txt index 71c638f35d..3bacc8e093 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ata/cavium-compact-flash.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ata/cavium-compact-flash.txt @@ -1,30 +1,30 @@ -* Compact Flash - -The Cavium Compact Flash device is connected to the Octeon Boot Bus, -and is thus a child of the Boot Bus device. It can read and write -industry standard compact flash devices. - -Properties: -- compatible: "cavium,ebt3000-compact-flash"; - - Compatibility with many Cavium evaluation boards. - -- reg: The base address of the CF chip select banks. Depending on - the device configuration, there may be one or two banks. - -- cavium,bus-width: The width of the connection to the CF devices. Valid - values are 8 and 16. - -- cavium,true-ide: Optional, if present the CF connection is in True IDE mode. - -- cavium,dma-engine-handle: Optional, a phandle for the DMA Engine connected - to this device. - -Example: - compact-flash@5,0 { - compatible = "cavium,ebt3000-compact-flash"; - reg = <5 0 0x10000>, <6 0 0x10000>; - cavium,bus-width = <16>; - cavium,true-ide; - cavium,dma-engine-handle = <&dma0>; - }; +* Compact Flash + +The Cavium Compact Flash device is connected to the Octeon Boot Bus, +and is thus a child of the Boot Bus device. It can read and write +industry standard compact flash devices. + +Properties: +- compatible: "cavium,ebt3000-compact-flash"; + + Compatibility with many Cavium evaluation boards. + +- reg: The base address of the CF chip select banks. Depending on + the device configuration, there may be one or two banks. + +- cavium,bus-width: The width of the connection to the CF devices. Valid + values are 8 and 16. + +- cavium,true-ide: Optional, if present the CF connection is in True IDE mode. + +- cavium,dma-engine-handle: Optional, a phandle for the DMA Engine connected + to this device. + +Example: + compact-flash@5,0 { + compatible = "cavium,ebt3000-compact-flash"; + reg = <5 0 0x10000>, <6 0 0x10000>; + cavium,bus-width = <16>; + cavium,true-ide; + cavium,dma-engine-handle = <&dma0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ata/cirrus,ep9312-pata.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ata/cirrus,ep9312-pata.yaml index aa7e1fbe9c..8130923fdc 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ata/cirrus,ep9312-pata.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ata/cirrus,ep9312-pata.yaml @@ -1,42 +1,42 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/ata/cirrus,ep9312-pata.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Cirrus Logic EP9312 PATA controller - -maintainers: - - Damien Le Moal - -properties: - compatible: - oneOf: - - const: cirrus,ep9312-pata - - items: - - const: cirrus,ep9315-pata - - const: cirrus,ep9312-pata - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - -required: - - compatible - - reg - - interrupts - -additionalProperties: false - -examples: - - | - ide@800a0000 { - compatible = "cirrus,ep9312-pata"; - reg = <0x800a0000 0x38>; - interrupt-parent = <&vic1>; - interrupts = <8>; - pinctrl-names = "default"; - pinctrl-0 = <&ide_default_pins>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/ata/cirrus,ep9312-pata.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Cirrus Logic EP9312 PATA controller + +maintainers: + - Damien Le Moal + +properties: + compatible: + oneOf: + - const: cirrus,ep9312-pata + - items: + - const: cirrus,ep9315-pata + - const: cirrus,ep9312-pata + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + +additionalProperties: false + +examples: + - | + ide@800a0000 { + compatible = "cirrus,ep9312-pata"; + reg = <0x800a0000 0x38>; + interrupt-parent = <&vic1>; + interrupts = <8>; + pinctrl-names = "default"; + pinctrl-0 = <&ide_default_pins>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ata/fsl,imx-pata.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ata/fsl,imx-pata.yaml index 62e75370f3..324e2413bb 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ata/fsl,imx-pata.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ata/fsl,imx-pata.yaml @@ -1,42 +1,42 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/ata/fsl,imx-pata.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Freescale i.MX PATA Controller - -maintainers: - - Animesh Agarwal - -properties: - compatible: - oneOf: - - items: - - enum: - - fsl,imx31-pata - - fsl,imx51-pata - - const: fsl,imx27-pata - - const: fsl,imx27-pata - - reg: - maxItems: 1 - - interrupts: - items: - - description: PATA Controller interrupts - - clocks: - items: - - description: PATA Controller clocks - -additionalProperties: false - -examples: - - | - pata: pata@83fe0000 { - compatible = "fsl,imx51-pata", "fsl,imx27-pata"; - reg = <0x83fe0000 0x4000>; - interrupts = <70>; - clocks = <&clks 161>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/ata/fsl,imx-pata.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Freescale i.MX PATA Controller + +maintainers: + - Animesh Agarwal + +properties: + compatible: + oneOf: + - items: + - enum: + - fsl,imx31-pata + - fsl,imx51-pata + - const: fsl,imx27-pata + - const: fsl,imx27-pata + + reg: + maxItems: 1 + + interrupts: + items: + - description: PATA Controller interrupts + + clocks: + items: + - description: PATA Controller clocks + +additionalProperties: false + +examples: + - | + pata: pata@83fe0000 { + compatible = "fsl,imx51-pata", "fsl,imx27-pata"; + reg = <0x83fe0000 0x4000>; + interrupts = <70>; + clocks = <&clks 161>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ata/fsl-sata.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ata/fsl-sata.txt index aa0ce02e8f..fd63bb3bec 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ata/fsl-sata.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ata/fsl-sata.txt @@ -1,28 +1,28 @@ -* Freescale 8xxx/3.0 Gb/s SATA nodes - -SATA nodes are defined to describe on-chip Serial ATA controllers. -Each SATA port should have its own node. - -Required properties: -- compatible : compatible list, contains 2 entries, first is - "fsl,CHIP-sata", where CHIP is the processor - (mpc8315, mpc8379, etc.) and the second is - "fsl,pq-sata" -- interrupts : -- cell-index : controller index. - 1 for controller @ 0x18000 - 2 for controller @ 0x19000 - 3 for controller @ 0x1a000 - 4 for controller @ 0x1b000 - -Optional properties: -- reg : - -Example: - sata@18000 { - compatible = "fsl,mpc8379-sata", "fsl,pq-sata"; - reg = <0x18000 0x1000>; - cell-index = <1>; - interrupts = <2c 8>; - interrupt-parent = < &ipic >; - }; +* Freescale 8xxx/3.0 Gb/s SATA nodes + +SATA nodes are defined to describe on-chip Serial ATA controllers. +Each SATA port should have its own node. + +Required properties: +- compatible : compatible list, contains 2 entries, first is + "fsl,CHIP-sata", where CHIP is the processor + (mpc8315, mpc8379, etc.) and the second is + "fsl,pq-sata" +- interrupts : +- cell-index : controller index. + 1 for controller @ 0x18000 + 2 for controller @ 0x19000 + 3 for controller @ 0x1a000 + 4 for controller @ 0x1b000 + +Optional properties: +- reg : + +Example: + sata@18000 { + compatible = "fsl,mpc8379-sata", "fsl,pq-sata"; + reg = <0x18000 0x1000>; + cell-index = <1>; + interrupts = <2c 8>; + interrupt-parent = < &ipic >; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ata/ti,da850-ahci.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ata/ti,da850-ahci.yaml index e460ebc6fb..ce13c76bdf 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ata/ti,da850-ahci.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ata/ti,da850-ahci.yaml @@ -1,39 +1,39 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/ata/ti,da850-ahci.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: TI DA850 AHCI SATA Controller - -maintainers: - - Animesh Agarwal - -properties: - compatible: - const: ti,da850-ahci - - reg: - items: - - description: Address and size of the register map as defined by the AHCI 1.1 standard. - - description: - Address and size of Power Down Control Register (PWRDN) for enabling/disabling the SATA clock - receiver. - - interrupts: - maxItems: 1 - -required: - - compatible - - reg - - interrupts - -additionalProperties: false - -examples: - - | - sata@218000 { - compatible = "ti,da850-ahci"; - reg = <0x218000 0x2000>, <0x22c018 0x4>; - interrupts = <67>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/ata/ti,da850-ahci.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: TI DA850 AHCI SATA Controller + +maintainers: + - Animesh Agarwal + +properties: + compatible: + const: ti,da850-ahci + + reg: + items: + - description: Address and size of the register map as defined by the AHCI 1.1 standard. + - description: + Address and size of Power Down Control Register (PWRDN) for enabling/disabling the SATA clock + receiver. + + interrupts: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + +additionalProperties: false + +examples: + - | + sata@218000 { + compatible = "ti,da850-ahci"; + reg = <0x218000 0x2000>, <0x22c018 0x4>; + interrupts = <67>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/auxdisplay/arm,versatile-lcd.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/auxdisplay/arm,versatile-lcd.yaml index 8d2a6a4b78..439f7b811a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/auxdisplay/arm,versatile-lcd.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/auxdisplay/arm,versatile-lcd.yaml @@ -1,44 +1,44 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/auxdisplay/arm,versatile-lcd.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: ARM Versatile Character LCD - -maintainers: - - Linus Walleij - - Rob Herring - -description: - This binding defines the character LCD interface found on ARM Versatile AB - and PB reference platforms. - -properties: - compatible: - const: arm,versatile-lcd - - reg: - maxItems: 1 - - clocks: - maxItems: 1 - - clock-names: - maxItems: 1 - - interrupts: - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - lcd@10008000 { - compatible = "arm,versatile-lcd"; - reg = <0x10008000 0x1000>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/auxdisplay/arm,versatile-lcd.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ARM Versatile Character LCD + +maintainers: + - Linus Walleij + - Rob Herring + +description: + This binding defines the character LCD interface found on ARM Versatile AB + and PB reference platforms. + +properties: + compatible: + const: arm,versatile-lcd + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + clock-names: + maxItems: 1 + + interrupts: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + lcd@10008000 { + compatible = "arm,versatile-lcd"; + reg = <0x10008000 0x1000>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/bus/aspeed,ast2600-ahbc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/bus/aspeed,ast2600-ahbc.yaml index deff77816c..2894256c97 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/bus/aspeed,ast2600-ahbc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/bus/aspeed,ast2600-ahbc.yaml @@ -1,37 +1,37 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/bus/aspeed,ast2600-ahbc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: ASPEED Advanced High-Performance Bus Controller (AHBC) - -maintainers: - - Neal Liu - - Chia-Wei Wang - -description: | - Advanced High-performance Bus Controller (AHBC) supports plenty of mechanisms - including a priority arbiter, an address decoder and a data multiplexer - to control the overall operations of Advanced High-performance Bus (AHB). - -properties: - compatible: - enum: - - aspeed,ast2600-ahbc - - reg: - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - ahbc@1e600000 { - compatible = "aspeed,ast2600-ahbc"; - reg = <0x1e600000 0x100>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/bus/aspeed,ast2600-ahbc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ASPEED Advanced High-Performance Bus Controller (AHBC) + +maintainers: + - Neal Liu + - Chia-Wei Wang + +description: | + Advanced High-performance Bus Controller (AHBC) supports plenty of mechanisms + including a priority arbiter, an address decoder and a data multiplexer + to control the overall operations of Advanced High-performance Bus (AHB). + +properties: + compatible: + enum: + - aspeed,ast2600-ahbc + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + ahbc@1e600000 { + compatible = "aspeed,ast2600-ahbc"; + reg = <0x1e600000 0x100>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/bus/mti,mips-cdmm.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/bus/mti,mips-cdmm.yaml index a86985ddb1..6a7b26b049 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/bus/mti,mips-cdmm.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/bus/mti,mips-cdmm.yaml @@ -1,37 +1,37 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/bus/mti,mips-cdmm.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: MIPS Common Device Memory Map - -description: | - Defines a location of the MIPS Common Device Memory Map registers. - -maintainers: - - James Hogan - -properties: - compatible: - const: mti,mips-cdmm - - reg: - description: | - Base address and size of an unoccupied memory region, which will be - used to map the MIPS CDMM registers block. - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - cdmm@1bde8000 { - compatible = "mti,mips-cdmm"; - reg = <0x1bde8000 0x8000>; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/bus/mti,mips-cdmm.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: MIPS Common Device Memory Map + +description: | + Defines a location of the MIPS Common Device Memory Map registers. + +maintainers: + - James Hogan + +properties: + compatible: + const: mti,mips-cdmm + + reg: + description: | + Base address and size of an unoccupied memory region, which will be + used to map the MIPS CDMM registers block. + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + cdmm@1bde8000 { + compatible = "mti,mips-cdmm"; + reg = <0x1bde8000 0x8000>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/bus/omap-ocp2scp.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/bus/omap-ocp2scp.txt index 4e76a79d00..18729f6fe1 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/bus/omap-ocp2scp.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/bus/omap-ocp2scp.txt @@ -1,29 +1,29 @@ -* OMAP OCP2SCP - ocp interface to scp interface - -properties: -- compatible : Should be "ti,am437x-ocp2scp" for AM437x processor - Should be "ti,omap-ocp2scp" for all others -- reg : Address and length of the register set for the device -- #address-cells, #size-cells : Must be present if the device has sub-nodes -- ranges : the child address space are mapped 1:1 onto the parent address space -- ti,hwmods : must be "ocp2scp_usb_phy" - -Sub-nodes: -All the devices connected to ocp2scp are described using sub-node to ocp2scp - -ocp2scp@4a0ad000 { - compatible = "ti,omap-ocp2scp"; - reg = <0x4a0ad000 0x1f>; - #address-cells = <1>; - #size-cells = <1>; - ranges; - ti,hwmods = "ocp2scp_usb_phy"; - - subnode1 { - ... - }; - - subnode2 { - ... - }; -}; +* OMAP OCP2SCP - ocp interface to scp interface + +properties: +- compatible : Should be "ti,am437x-ocp2scp" for AM437x processor + Should be "ti,omap-ocp2scp" for all others +- reg : Address and length of the register set for the device +- #address-cells, #size-cells : Must be present if the device has sub-nodes +- ranges : the child address space are mapped 1:1 onto the parent address space +- ti,hwmods : must be "ocp2scp_usb_phy" + +Sub-nodes: +All the devices connected to ocp2scp are described using sub-node to ocp2scp + +ocp2scp@4a0ad000 { + compatible = "ti,omap-ocp2scp"; + reg = <0x4a0ad000 0x1f>; + #address-cells = <1>; + #size-cells = <1>; + ranges; + ti,hwmods = "ocp2scp_usb_phy"; + + subnode1 { + ... + }; + + subnode2 { + ... + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/chrome/google,cros-kbd-led-backlight.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/chrome/google,cros-kbd-led-backlight.yaml index c735cb2966..c94ab8f9e0 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/chrome/google,cros-kbd-led-backlight.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/chrome/google,cros-kbd-led-backlight.yaml @@ -1,36 +1,36 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/chrome/google,cros-kbd-led-backlight.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: ChromeOS keyboard backlight LED driver. - -maintainers: - - Tzung-Bi Shih - -properties: - compatible: - const: google,cros-kbd-led-backlight - -required: - - compatible - -additionalProperties: false - -examples: - - | - spi { - #address-cells = <1>; - #size-cells = <0>; - - cros_ec: ec@0 { - compatible = "google,cros-ec-spi"; - reg = <0>; - interrupts = <15 0>; - - kbd-led-backlight { - compatible = "google,cros-kbd-led-backlight"; - }; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/chrome/google,cros-kbd-led-backlight.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ChromeOS keyboard backlight LED driver. + +maintainers: + - Tzung-Bi Shih + +properties: + compatible: + const: google,cros-kbd-led-backlight + +required: + - compatible + +additionalProperties: false + +examples: + - | + spi { + #address-cells = <1>; + #size-cells = <0>; + + cros_ec: ec@0 { + compatible = "google,cros-ec-spi"; + reg = <0>; + interrupts = <15 0>; + + kbd-led-backlight { + compatible = "google,cros-kbd-led-backlight"; + }; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/allwinner,sun4i-a10-apb0-clk.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/allwinner,sun4i-a10-apb0-clk.yaml index 3a1de32616..e14e1aad9f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/allwinner,sun4i-a10-apb0-clk.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/allwinner,sun4i-a10-apb0-clk.yaml @@ -1,50 +1,50 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/allwinner,sun4i-a10-apb0-clk.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Allwinner A10 APB0 Bus Clock - -maintainers: - - Chen-Yu Tsai - - Maxime Ripard - -deprecated: true - -properties: - "#clock-cells": - const: 0 - - compatible: - const: allwinner,sun4i-a10-apb0-clk - - reg: - maxItems: 1 - - clocks: - maxItems: 1 - - clock-output-names: - maxItems: 1 - -required: - - "#clock-cells" - - compatible - - reg - - clocks - - clock-output-names - -additionalProperties: false - -examples: - - | - apb0@1c20054 { - #clock-cells = <0>; - compatible = "allwinner,sun4i-a10-apb0-clk"; - reg = <0x01c20054 0x4>; - clocks = <&ahb>; - clock-output-names = "apb0"; - }; - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/allwinner,sun4i-a10-apb0-clk.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Allwinner A10 APB0 Bus Clock + +maintainers: + - Chen-Yu Tsai + - Maxime Ripard + +deprecated: true + +properties: + "#clock-cells": + const: 0 + + compatible: + const: allwinner,sun4i-a10-apb0-clk + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + clock-output-names: + maxItems: 1 + +required: + - "#clock-cells" + - compatible + - reg + - clocks + - clock-output-names + +additionalProperties: false + +examples: + - | + apb0@1c20054 { + #clock-cells = <0>; + compatible = "allwinner,sun4i-a10-apb0-clk"; + reg = <0x01c20054 0x4>; + clocks = <&ahb>; + clock-output-names = "apb0"; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/allwinner,sun4i-a10-osc-clk.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/allwinner,sun4i-a10-osc-clk.yaml index 26bffc44d2..0052bf1e8a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/allwinner,sun4i-a10-osc-clk.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/allwinner,sun4i-a10-osc-clk.yaml @@ -1,51 +1,51 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/allwinner,sun4i-a10-osc-clk.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Allwinner A10 Gateable Oscillator Clock - -maintainers: - - Chen-Yu Tsai - - Maxime Ripard - -deprecated: true - -properties: - "#clock-cells": - const: 0 - - compatible: - const: allwinner,sun4i-a10-osc-clk - - reg: - maxItems: 1 - - clock-frequency: - description: > - Frequency of the main oscillator. - - clock-output-names: - maxItems: 1 - -required: - - "#clock-cells" - - compatible - - reg - - clock-frequency - - clock-output-names - -additionalProperties: false - -examples: - - | - osc24M: clk@1c20050 { - #clock-cells = <0>; - compatible = "allwinner,sun4i-a10-osc-clk"; - reg = <0x01c20050 0x4>; - clock-frequency = <24000000>; - clock-output-names = "osc24M"; - }; - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/allwinner,sun4i-a10-osc-clk.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Allwinner A10 Gateable Oscillator Clock + +maintainers: + - Chen-Yu Tsai + - Maxime Ripard + +deprecated: true + +properties: + "#clock-cells": + const: 0 + + compatible: + const: allwinner,sun4i-a10-osc-clk + + reg: + maxItems: 1 + + clock-frequency: + description: > + Frequency of the main oscillator. + + clock-output-names: + maxItems: 1 + +required: + - "#clock-cells" + - compatible + - reg + - clock-frequency + - clock-output-names + +additionalProperties: false + +examples: + - | + osc24M: clk@1c20050 { + #clock-cells = <0>; + compatible = "allwinner,sun4i-a10-osc-clk"; + reg = <0x01c20050 0x4>; + clock-frequency = <24000000>; + clock-output-names = "osc24M"; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/allwinner,sun4i-a10-pll3-clk.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/allwinner,sun4i-a10-pll3-clk.yaml index a11b26cd57..418d207d23 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/allwinner,sun4i-a10-pll3-clk.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/allwinner,sun4i-a10-pll3-clk.yaml @@ -1,50 +1,50 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/allwinner,sun4i-a10-pll3-clk.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Allwinner A10 Video PLL - -maintainers: - - Chen-Yu Tsai - - Maxime Ripard - -deprecated: true - -properties: - "#clock-cells": - const: 0 - - compatible: - const: allwinner,sun4i-a10-pll3-clk - - reg: - maxItems: 1 - - clocks: - maxItems: 1 - - clock-output-names: - maxItems: 1 - -required: - - "#clock-cells" - - compatible - - reg - - clocks - - clock-output-names - -additionalProperties: false - -examples: - - | - clk@1c20010 { - #clock-cells = <0>; - compatible = "allwinner,sun4i-a10-pll3-clk"; - reg = <0x01c20010 0x4>; - clocks = <&osc3M>; - clock-output-names = "pll3"; - }; - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/allwinner,sun4i-a10-pll3-clk.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Allwinner A10 Video PLL + +maintainers: + - Chen-Yu Tsai + - Maxime Ripard + +deprecated: true + +properties: + "#clock-cells": + const: 0 + + compatible: + const: allwinner,sun4i-a10-pll3-clk + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + clock-output-names: + maxItems: 1 + +required: + - "#clock-cells" + - compatible + - reg + - clocks + - clock-output-names + +additionalProperties: false + +examples: + - | + clk@1c20010 { + #clock-cells = <0>; + compatible = "allwinner,sun4i-a10-pll3-clk"; + reg = <0x01c20010 0x4>; + clocks = <&osc3M>; + clock-output-names = "pll3"; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/allwinner,sun4i-a10-ve-clk.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/allwinner,sun4i-a10-ve-clk.yaml index 68364709f2..80337e38d6 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/allwinner,sun4i-a10-ve-clk.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/allwinner,sun4i-a10-ve-clk.yaml @@ -1,55 +1,55 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/allwinner,sun4i-a10-ve-clk.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Allwinner A10 Video Engine Clock - -maintainers: - - Chen-Yu Tsai - - Maxime Ripard - -deprecated: true - -properties: - "#clock-cells": - const: 0 - - "#reset-cells": - const: 0 - - compatible: - const: allwinner,sun4i-a10-ve-clk - - reg: - maxItems: 1 - - clocks: - maxItems: 1 - - clock-output-names: - maxItems: 1 - -required: - - "#clock-cells" - - "#reset-cells" - - compatible - - reg - - clocks - - clock-output-names - -additionalProperties: false - -examples: - - | - clk@1c2013c { - #clock-cells = <0>; - #reset-cells = <0>; - compatible = "allwinner,sun4i-a10-ve-clk"; - reg = <0x01c2013c 0x4>; - clocks = <&pll4>; - clock-output-names = "ve"; - }; - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/allwinner,sun4i-a10-ve-clk.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Allwinner A10 Video Engine Clock + +maintainers: + - Chen-Yu Tsai + - Maxime Ripard + +deprecated: true + +properties: + "#clock-cells": + const: 0 + + "#reset-cells": + const: 0 + + compatible: + const: allwinner,sun4i-a10-ve-clk + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + clock-output-names: + maxItems: 1 + +required: + - "#clock-cells" + - "#reset-cells" + - compatible + - reg + - clocks + - clock-output-names + +additionalProperties: false + +examples: + - | + clk@1c2013c { + #clock-cells = <0>; + #reset-cells = <0>; + compatible = "allwinner,sun4i-a10-ve-clk"; + reg = <0x01c2013c 0x4>; + clocks = <&pll4>; + clock-output-names = "ve"; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/allwinner,sun5i-a13-ahb-clk.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/allwinner,sun5i-a13-ahb-clk.yaml index a32b78ee3c..c6a6fbb686 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/allwinner,sun5i-a13-ahb-clk.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/allwinner,sun5i-a13-ahb-clk.yaml @@ -1,52 +1,52 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/allwinner,sun5i-a13-ahb-clk.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Allwinner A13 AHB Clock - -maintainers: - - Chen-Yu Tsai - - Maxime Ripard - -deprecated: true - -properties: - "#clock-cells": - const: 0 - - compatible: - const: allwinner,sun5i-a13-ahb-clk - - reg: - maxItems: 1 - - clocks: - maxItems: 3 - description: > - The parent order must match the hardware programming order. - - clock-output-names: - maxItems: 1 - -required: - - "#clock-cells" - - compatible - - reg - - clocks - - clock-output-names - -additionalProperties: false - -examples: - - | - ahb@1c20054 { - #clock-cells = <0>; - compatible = "allwinner,sun5i-a13-ahb-clk"; - reg = <0x01c20054 0x4>; - clocks = <&axi>, <&cpu>, <&pll6 1>; - clock-output-names = "ahb"; - }; - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/allwinner,sun5i-a13-ahb-clk.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Allwinner A13 AHB Clock + +maintainers: + - Chen-Yu Tsai + - Maxime Ripard + +deprecated: true + +properties: + "#clock-cells": + const: 0 + + compatible: + const: allwinner,sun5i-a13-ahb-clk + + reg: + maxItems: 1 + + clocks: + maxItems: 3 + description: > + The parent order must match the hardware programming order. + + clock-output-names: + maxItems: 1 + +required: + - "#clock-cells" + - compatible + - reg + - clocks + - clock-output-names + +additionalProperties: false + +examples: + - | + ahb@1c20054 { + #clock-cells = <0>; + compatible = "allwinner,sun5i-a13-ahb-clk"; + reg = <0x01c20054 0x4>; + clocks = <&axi>, <&cpu>, <&pll6 1>; + clock-output-names = "ahb"; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/allwinner,sun9i-a80-pll4-clk.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/allwinner,sun9i-a80-pll4-clk.yaml index f71d706677..261264a8ae 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/allwinner,sun9i-a80-pll4-clk.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/allwinner,sun9i-a80-pll4-clk.yaml @@ -1,50 +1,50 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/allwinner,sun9i-a80-pll4-clk.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Allwinner A80 Peripheral PLL - -maintainers: - - Chen-Yu Tsai - - Maxime Ripard - -deprecated: true - -properties: - "#clock-cells": - const: 0 - - compatible: - const: allwinner,sun9i-a80-pll4-clk - - reg: - maxItems: 1 - - clocks: - maxItems: 1 - - clock-output-names: - maxItems: 1 - -required: - - "#clock-cells" - - compatible - - reg - - clocks - - clock-output-names - -additionalProperties: false - -examples: - - | - clk@600000c { - #clock-cells = <0>; - compatible = "allwinner,sun9i-a80-pll4-clk"; - reg = <0x0600000c 0x4>; - clocks = <&osc24M>; - clock-output-names = "pll4"; - }; - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/allwinner,sun9i-a80-pll4-clk.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Allwinner A80 Peripheral PLL + +maintainers: + - Chen-Yu Tsai + - Maxime Ripard + +deprecated: true + +properties: + "#clock-cells": + const: 0 + + compatible: + const: allwinner,sun9i-a80-pll4-clk + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + clock-output-names: + maxItems: 1 + +required: + - "#clock-cells" + - compatible + - reg + - clocks + - clock-output-names + +additionalProperties: false + +examples: + - | + clk@600000c { + #clock-cells = <0>; + compatible = "allwinner,sun9i-a80-pll4-clk"; + reg = <0x0600000c 0x4>; + clocks = <&osc24M>; + clock-output-names = "pll4"; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/amlogic,gxbb-clkc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/amlogic,gxbb-clkc.yaml index 55e810e018..63246f1cb5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/amlogic,gxbb-clkc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/amlogic,gxbb-clkc.yaml @@ -1,37 +1,37 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/amlogic,gxbb-clkc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Amlogic Clock Controller - -maintainers: - - Neil Armstrong - -properties: - compatible: - enum: - - amlogic,gxbb-clkc - - amlogic,gxl-clkc - - amlogic,axg-clkc - - amlogic,g12a-clkc - - amlogic,g12b-clkc - - amlogic,sm1-clkc - - clocks: - maxItems: 1 - - clock-names: - const: xtal - - '#clock-cells': - const: 1 - -required: - - compatible - - clocks - - clock-names - - '#clock-cells' - -additionalProperties: false +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/amlogic,gxbb-clkc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Amlogic Clock Controller + +maintainers: + - Neil Armstrong + +properties: + compatible: + enum: + - amlogic,gxbb-clkc + - amlogic,gxl-clkc + - amlogic,axg-clkc + - amlogic,g12a-clkc + - amlogic,g12b-clkc + - amlogic,sm1-clkc + + clocks: + maxItems: 1 + + clock-names: + const: xtal + + '#clock-cells': + const: 1 + +required: + - compatible + - clocks + - clock-names + - '#clock-cells' + +additionalProperties: false diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/amlogic,meson8-ddr-clkc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/amlogic,meson8-ddr-clkc.yaml index 0b6132a44e..d98d95d8e8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/amlogic,meson8-ddr-clkc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/amlogic,meson8-ddr-clkc.yaml @@ -1,50 +1,50 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/amlogic,meson8-ddr-clkc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Amlogic DDR Clock Controller - -maintainers: - - Martin Blumenstingl - -properties: - compatible: - enum: - - amlogic,meson8-ddr-clkc - - amlogic,meson8b-ddr-clkc - - reg: - maxItems: 1 - - clocks: - maxItems: 1 - - clock-names: - items: - - const: xtal - - "#clock-cells": - const: 1 - -required: - - compatible - - reg - - clocks - - clock-names - - "#clock-cells" - -additionalProperties: false - -examples: - - | - ddr_clkc: clock-controller@400 { - compatible = "amlogic,meson8-ddr-clkc"; - reg = <0x400 0x20>; - clocks = <&xtal>; - clock-names = "xtal"; - #clock-cells = <1>; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/amlogic,meson8-ddr-clkc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Amlogic DDR Clock Controller + +maintainers: + - Martin Blumenstingl + +properties: + compatible: + enum: + - amlogic,meson8-ddr-clkc + - amlogic,meson8b-ddr-clkc + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + clock-names: + items: + - const: xtal + + "#clock-cells": + const: 1 + +required: + - compatible + - reg + - clocks + - clock-names + - "#clock-cells" + +additionalProperties: false + +examples: + - | + ddr_clkc: clock-controller@400 { + compatible = "amlogic,meson8-ddr-clkc"; + reg = <0x400 0x20>; + clocks = <&xtal>; + clock-names = "xtal"; + #clock-cells = <1>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/amlogic,s4-pll-clkc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/amlogic,s4-pll-clkc.yaml index d67475dc8b..d8932ec26c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/amlogic,s4-pll-clkc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/amlogic,s4-pll-clkc.yaml @@ -1,49 +1,49 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -# Copyright (C) 2022-2023 Amlogic, Inc. All rights reserved -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/amlogic,s4-pll-clkc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Amlogic S4 PLL Clock Controller - -maintainers: - - Yu Tu - -properties: - compatible: - const: amlogic,s4-pll-clkc - - reg: - maxItems: 1 - - clocks: - maxItems: 1 - - clock-names: - items: - - const: xtal - - "#clock-cells": - const: 1 - -required: - - compatible - - reg - - clocks - - clock-names - - "#clock-cells" - -additionalProperties: false - -examples: - - | - clkc_pll: clock-controller@fe008000 { - compatible = "amlogic,s4-pll-clkc"; - reg = <0xfe008000 0x1e8>; - clocks = <&xtal>; - clock-names = "xtal"; - #clock-cells = <1>; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +# Copyright (C) 2022-2023 Amlogic, Inc. All rights reserved +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/amlogic,s4-pll-clkc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Amlogic S4 PLL Clock Controller + +maintainers: + - Yu Tu + +properties: + compatible: + const: amlogic,s4-pll-clkc + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + clock-names: + items: + - const: xtal + + "#clock-cells": + const: 1 + +required: + - compatible + - reg + - clocks + - clock-names + - "#clock-cells" + +additionalProperties: false + +examples: + - | + clkc_pll: clock-controller@fe008000 { + compatible = "amlogic,s4-pll-clkc"; + reg = <0xfe008000 0x1e8>; + clocks = <&xtal>; + clock-names = "xtal"; + #clock-cells = <1>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/armada3700-tbg-clock.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/armada3700-tbg-clock.txt index 02019b000c..ed1df32c57 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/armada3700-tbg-clock.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/armada3700-tbg-clock.txt @@ -1,27 +1,27 @@ -* Time Base Generator Clock bindings for Marvell Armada 37xx SoCs - -Marvell Armada 37xx SoCs provide Time Base Generator clocks which are -used as parent clocks for the peripheral clocks. - -The TBG clock consumer should specify the desired clock by having the -clock ID in its "clocks" phandle cell. - -The following is a list of provided IDs and clock names on Armada 3700: - 0 = TBG A P - 1 = TBG B P - 2 = TBG A S - 3 = TBG B S - -Required properties: -- compatible : shall be "marvell,armada-3700-tbg-clock" -- reg : must be the register address of North Bridge PLL register -- #clock-cells : from common clock binding; shall be set to 1 - -Example: - -tbg: tbg@13200 { - compatible = "marvell,armada-3700-tbg-clock"; - reg = <0x13200 0x1000>; - clocks = <&xtalclk>; - #clock-cells = <1>; -}; +* Time Base Generator Clock bindings for Marvell Armada 37xx SoCs + +Marvell Armada 37xx SoCs provide Time Base Generator clocks which are +used as parent clocks for the peripheral clocks. + +The TBG clock consumer should specify the desired clock by having the +clock ID in its "clocks" phandle cell. + +The following is a list of provided IDs and clock names on Armada 3700: + 0 = TBG A P + 1 = TBG B P + 2 = TBG A S + 3 = TBG B S + +Required properties: +- compatible : shall be "marvell,armada-3700-tbg-clock" +- reg : must be the register address of North Bridge PLL register +- #clock-cells : from common clock binding; shall be set to 1 + +Example: + +tbg: tbg@13200 { + compatible = "marvell,armada-3700-tbg-clock"; + reg = <0x13200 0x1000>; + clocks = <&xtalclk>; + #clock-cells = <1>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/armada3700-xtal-clock.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/armada3700-xtal-clock.txt index 5a68388b00..4c0807f28c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/armada3700-xtal-clock.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/armada3700-xtal-clock.txt @@ -1,29 +1,29 @@ -* Xtal Clock bindings for Marvell Armada 37xx SoCs - -Marvell Armada 37xx SoCs allow to determine the xtal clock frequencies by -reading the gpio latch register. - -This node must be a subnode of the node exposing the register address -of the GPIO block where the gpio latch is located. -See Documentation/devicetree/bindings/pinctrl/marvell,armada-37xx-pinctrl.txt - -Required properties: -- compatible : shall be one of the following: - "marvell,armada-3700-xtal-clock" -- #clock-cells : from common clock binding; shall be set to 0 - -Optional properties: -- clock-output-names : from common clock binding; allows overwrite default clock - output names ("xtal") - -Example: -pinctrl_nb: pinctrl-nb@13800 { - compatible = "armada3710-nb-pinctrl", "syscon", "simple-mfd"; - reg = <0x13800 0x100>, <0x13C00 0x20>; - - xtalclk: xtal-clk { - compatible = "marvell,armada-3700-xtal-clock"; - clock-output-names = "xtal"; - #clock-cells = <0>; - }; -}; +* Xtal Clock bindings for Marvell Armada 37xx SoCs + +Marvell Armada 37xx SoCs allow to determine the xtal clock frequencies by +reading the gpio latch register. + +This node must be a subnode of the node exposing the register address +of the GPIO block where the gpio latch is located. +See Documentation/devicetree/bindings/pinctrl/marvell,armada-37xx-pinctrl.txt + +Required properties: +- compatible : shall be one of the following: + "marvell,armada-3700-xtal-clock" +- #clock-cells : from common clock binding; shall be set to 0 + +Optional properties: +- clock-output-names : from common clock binding; allows overwrite default clock + output names ("xtal") + +Example: +pinctrl_nb: pinctrl-nb@13800 { + compatible = "armada3710-nb-pinctrl", "syscon", "simple-mfd"; + reg = <0x13800 0x100>, <0x13C00 0x20>; + + xtalclk: xtal-clk { + compatible = "marvell,armada-3700-xtal-clock"; + clock-output-names = "xtal"; + #clock-cells = <0>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/axs10x-i2s-pll-clock.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/axs10x-i2s-pll-clock.txt index 2387c622c8..5ffc8df7e6 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/axs10x-i2s-pll-clock.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/axs10x-i2s-pll-clock.txt @@ -1,25 +1,25 @@ -Binding for the AXS10X I2S PLL clock - -This binding uses the common clock binding[1]. - -[1] Documentation/devicetree/bindings/clock/clock-bindings.txt - -Required properties: -- compatible: shall be "snps,axs10x-i2s-pll-clock" -- reg : address and length of the I2S PLL register set. -- clocks: shall be the input parent clock phandle for the PLL. -- #clock-cells: from common clock binding; Should always be set to 0. - -Example: - pll_clock: pll_clock { - compatible = "fixed-clock"; - clock-frequency = <27000000>; - #clock-cells = <0>; - }; - - i2s_clock@100a0 { - compatible = "snps,axs10x-i2s-pll-clock"; - reg = <0x100a0 0x10>; - clocks = <&pll_clock>; - #clock-cells = <0>; - }; +Binding for the AXS10X I2S PLL clock + +This binding uses the common clock binding[1]. + +[1] Documentation/devicetree/bindings/clock/clock-bindings.txt + +Required properties: +- compatible: shall be "snps,axs10x-i2s-pll-clock" +- reg : address and length of the I2S PLL register set. +- clocks: shall be the input parent clock phandle for the PLL. +- #clock-cells: from common clock binding; Should always be set to 0. + +Example: + pll_clock: pll_clock { + compatible = "fixed-clock"; + clock-frequency = <27000000>; + #clock-cells = <0>; + }; + + i2s_clock@100a0 { + compatible = "snps,axs10x-i2s-pll-clock"; + reg = <0x100a0 0x10>; + clocks = <&pll_clock>; + #clock-cells = <0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/brcm,bcm2711-dvp.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/brcm,bcm2711-dvp.yaml index fb91fc48fb..2d40df2d34 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/brcm,bcm2711-dvp.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/brcm,bcm2711-dvp.yaml @@ -1,47 +1,47 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/brcm,bcm2711-dvp.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Broadcom BCM2711 HDMI DVP - -maintainers: - - Maxime Ripard - -properties: - "#clock-cells": - const: 1 - - "#reset-cells": - const: 1 - - compatible: - const: brcm,brcm2711-dvp - - reg: - maxItems: 1 - - clocks: - maxItems: 1 - -required: - - "#clock-cells" - - "#reset-cells" - - compatible - - reg - - clocks - -additionalProperties: false - -examples: - - | - dvp: clock@7ef00000 { - compatible = "brcm,brcm2711-dvp"; - reg = <0x7ef00000 0x10>; - clocks = <&clk_108MHz>; - #clock-cells = <1>; - #reset-cells = <1>; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/brcm,bcm2711-dvp.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom BCM2711 HDMI DVP + +maintainers: + - Maxime Ripard + +properties: + "#clock-cells": + const: 1 + + "#reset-cells": + const: 1 + + compatible: + const: brcm,brcm2711-dvp + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + +required: + - "#clock-cells" + - "#reset-cells" + - compatible + - reg + - clocks + +additionalProperties: false + +examples: + - | + dvp: clock@7ef00000 { + compatible = "brcm,brcm2711-dvp"; + reg = <0x7ef00000 0x10>; + clocks = <&clk_108MHz>; + #clock-cells = <1>; + #reset-cells = <1>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/brcm,bcm2835-aux-clock.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/brcm,bcm2835-aux-clock.txt index f00192d424..4acfc8f641 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/brcm,bcm2835-aux-clock.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/brcm,bcm2835-aux-clock.txt @@ -1,31 +1,31 @@ -Broadcom BCM2835 auxiliary peripheral support - -This binding uses the common clock binding: - Documentation/devicetree/bindings/clock/clock-bindings.txt - -The auxiliary peripherals (UART, SPI1, and SPI2) have a small register -area controlling clock gating to the peripherals, and providing an IRQ -status register. - -Required properties: -- compatible: Should be "brcm,bcm2835-aux" -- #clock-cells: Should be <1>. The permitted clock-specifier values can be - found in include/dt-bindings/clock/bcm2835-aux.h -- reg: Specifies base physical address and size of the registers -- clocks: The parent clock phandle - -Example: - - clocks: cprman@7e101000 { - compatible = "brcm,bcm2835-cprman"; - #clock-cells = <1>; - reg = <0x7e101000 0x2000>; - clocks = <&clk_osc>; - }; - - aux: aux@7e215004 { - compatible = "brcm,bcm2835-aux"; - #clock-cells = <1>; - reg = <0x7e215000 0x8>; - clocks = <&clocks BCM2835_CLOCK_VPU>; - }; +Broadcom BCM2835 auxiliary peripheral support + +This binding uses the common clock binding: + Documentation/devicetree/bindings/clock/clock-bindings.txt + +The auxiliary peripherals (UART, SPI1, and SPI2) have a small register +area controlling clock gating to the peripherals, and providing an IRQ +status register. + +Required properties: +- compatible: Should be "brcm,bcm2835-aux" +- #clock-cells: Should be <1>. The permitted clock-specifier values can be + found in include/dt-bindings/clock/bcm2835-aux.h +- reg: Specifies base physical address and size of the registers +- clocks: The parent clock phandle + +Example: + + clocks: cprman@7e101000 { + compatible = "brcm,bcm2835-cprman"; + #clock-cells = <1>; + reg = <0x7e101000 0x2000>; + clocks = <&clk_osc>; + }; + + aux: aux@7e215004 { + compatible = "brcm,bcm2835-aux"; + #clock-cells = <1>; + reg = <0x7e215000 0x8>; + clocks = <&clocks BCM2835_CLOCK_VPU>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/brcm,bcm63268-timer-clocks.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/brcm,bcm63268-timer-clocks.yaml index 2acc31f498..cd0d763ce2 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/brcm,bcm63268-timer-clocks.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/brcm,bcm63268-timer-clocks.yaml @@ -1,40 +1,40 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/brcm,bcm63268-timer-clocks.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Broadcom BCM63268 Timer Clock and Reset - -maintainers: - - Álvaro Fernández Rojas - -properties: - compatible: - const: brcm,bcm63268-timer-clocks - - reg: - maxItems: 1 - - "#clock-cells": - const: 1 - - "#reset-cells": - const: 1 - -required: - - compatible - - reg - - "#clock-cells" - - "#reset-cells" - -additionalProperties: false - -examples: - - | - timer_clk: clock-controller@100000ac { - compatible = "brcm,bcm63268-timer-clocks"; - reg = <0x100000ac 0x4>; - #clock-cells = <1>; - #reset-cells = <1>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/brcm,bcm63268-timer-clocks.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom BCM63268 Timer Clock and Reset + +maintainers: + - Álvaro Fernández Rojas + +properties: + compatible: + const: brcm,bcm63268-timer-clocks + + reg: + maxItems: 1 + + "#clock-cells": + const: 1 + + "#reset-cells": + const: 1 + +required: + - compatible + - reg + - "#clock-cells" + - "#reset-cells" + +additionalProperties: false + +examples: + - | + timer_clk: clock-controller@100000ac { + compatible = "brcm,bcm63268-timer-clocks"; + reg = <0x100000ac 0x4>; + #clock-cells = <1>; + #reset-cells = <1>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/clps711x-clock.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/clps711x-clock.txt index 9a562e843d..f1bd53f79d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/clps711x-clock.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/clps711x-clock.txt @@ -1,19 +1,19 @@ -* Clock bindings for the Cirrus Logic CLPS711X CPUs - -Required properties: -- compatible : Shall contain "cirrus,ep7209-clk". -- reg : Address of the internal register set. -- startup-frequency: Factory set CPU startup frequency in HZ. -- #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/dt-bindings/clock/clps711x-clock.h -for the full list of CLPS711X clock IDs. - -Example: - clks: clks@80000000 { - #clock-cells = <1>; - compatible = "cirrus,ep7312-clk", "cirrus,ep7209-clk"; - reg = <0x80000000 0xc000>; - startup-frequency = <73728000>; - }; +* Clock bindings for the Cirrus Logic CLPS711X CPUs + +Required properties: +- compatible : Shall contain "cirrus,ep7209-clk". +- reg : Address of the internal register set. +- startup-frequency: Factory set CPU startup frequency in HZ. +- #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/dt-bindings/clock/clps711x-clock.h +for the full list of CLPS711X clock IDs. + +Example: + clks: clks@80000000 { + #clock-cells = <1>; + compatible = "cirrus,ep7312-clk", "cirrus,ep7209-clk"; + reg = <0x80000000 0xc000>; + startup-frequency = <73728000>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/dove-divider-clock.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/dove-divider-clock.txt index 624136e144..217871f483 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/dove-divider-clock.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/dove-divider-clock.txt @@ -1,28 +1,28 @@ -PLL divider based Dove clocks - -Marvell Dove has a 2GHz PLL, which feeds into a set of dividers to provide -high speed clocks for a number of peripherals. These dividers are part of -the PMU, and thus this node should be a child of the PMU node. - -The following clocks are provided: - -ID Clock -------------- -0 AXI bus clock -1 GPU clock -2 VMeta clock -3 LCD clock - -Required properties: -- compatible : shall be "marvell,dove-divider-clock" -- reg : shall be the register address of the Core PLL and Clock Divider - Control 0 register. This will cover that register, as well as the - Core PLL and Clock Divider Control 1 register. Thus, it will have - a size of 8. -- #clock-cells : from common clock binding; shall be set to 1 - -divider_clk: core-clock@64 { - compatible = "marvell,dove-divider-clock"; - reg = <0x0064 0x8>; - #clock-cells = <1>; -}; +PLL divider based Dove clocks + +Marvell Dove has a 2GHz PLL, which feeds into a set of dividers to provide +high speed clocks for a number of peripherals. These dividers are part of +the PMU, and thus this node should be a child of the PMU node. + +The following clocks are provided: + +ID Clock +------------- +0 AXI bus clock +1 GPU clock +2 VMeta clock +3 LCD clock + +Required properties: +- compatible : shall be "marvell,dove-divider-clock" +- reg : shall be the register address of the Core PLL and Clock Divider + Control 0 register. This will cover that register, as well as the + Core PLL and Clock Divider Control 1 register. Thus, it will have + a size of 8. +- #clock-cells : from common clock binding; shall be set to 1 + +divider_clk: core-clock@64 { + compatible = "marvell,dove-divider-clock"; + reg = <0x0064 0x8>; + #clock-cells = <1>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/fixed-mmio-clock.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/fixed-mmio-clock.yaml index 72a575b114..e22fc272d0 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/fixed-mmio-clock.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/fixed-mmio-clock.yaml @@ -1,47 +1,47 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/fixed-mmio-clock.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Simple memory mapped IO fixed-rate clock sources - -description: - This binding describes a fixed-rate clock for which the frequency can - be read from a single 32-bit memory mapped I/O register. - - It was designed for test systems, like FPGA, not for complete, - finished SoCs. - -maintainers: - - Jan Kotas - -properties: - compatible: - const: fixed-mmio-clock - - reg: - maxItems: 1 - - "#clock-cells": - const: 0 - - clock-output-names: - maxItems: 1 - -required: - - compatible - - reg - - "#clock-cells" - -additionalProperties: false - -examples: - - | - sysclock: sysclock@fd020004 { - compatible = "fixed-mmio-clock"; - #clock-cells = <0>; - reg = <0xfd020004 0x4>; - clock-output-names = "sysclk"; - }; -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/fixed-mmio-clock.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Simple memory mapped IO fixed-rate clock sources + +description: + This binding describes a fixed-rate clock for which the frequency can + be read from a single 32-bit memory mapped I/O register. + + It was designed for test systems, like FPGA, not for complete, + finished SoCs. + +maintainers: + - Jan Kotas + +properties: + compatible: + const: fixed-mmio-clock + + reg: + maxItems: 1 + + "#clock-cells": + const: 0 + + clock-output-names: + maxItems: 1 + +required: + - compatible + - reg + - "#clock-cells" + +additionalProperties: false + +examples: + - | + sysclock: sysclock@fd020004 { + compatible = "fixed-mmio-clock"; + #clock-cells = <0>; + reg = <0xfd020004 0x4>; + clock-output-names = "sysclk"; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/fsl,imx93-anatop.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/fsl,imx93-anatop.yaml index 43c20481a8..8a3b247641 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/fsl,imx93-anatop.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/fsl,imx93-anatop.yaml @@ -1,42 +1,42 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/fsl,imx93-anatop.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: NXP i.MX93 ANATOP Clock Module - -maintainers: - - Peng Fan - -description: | - NXP i.MX93 ANATOP module which contains PLL and OSC to Clock Controller - Module. - -properties: - compatible: - items: - - const: fsl,imx93-anatop - - reg: - maxItems: 1 - - '#clock-cells': - const: 1 - -required: - - compatible - - reg - - '#clock-cells' - -additionalProperties: false - -examples: - - | - clock-controller@44480000 { - compatible = "fsl,imx93-anatop"; - reg = <0x44480000 0x2000>; - #clock-cells = <1>; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/fsl,imx93-anatop.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NXP i.MX93 ANATOP Clock Module + +maintainers: + - Peng Fan + +description: | + NXP i.MX93 ANATOP module which contains PLL and OSC to Clock Controller + Module. + +properties: + compatible: + items: + - const: fsl,imx93-anatop + + reg: + maxItems: 1 + + '#clock-cells': + const: 1 + +required: + - compatible + - reg + - '#clock-cells' + +additionalProperties: false + +examples: + - | + clock-controller@44480000 { + compatible = "fsl,imx93-anatop"; + reg = <0x44480000 0x2000>; + #clock-cells = <1>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/fujitsu,mb86s70-crg11.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/fujitsu,mb86s70-crg11.txt index ca48b67271..3323962656 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/fujitsu,mb86s70-crg11.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/fujitsu,mb86s70-crg11.txt @@ -1,26 +1,26 @@ -Fujitsu CRG11 clock driver bindings ------------------------------------ - -Required properties : -- compatible : Shall contain "fujitsu,mb86s70-crg11" -- #clock-cells : Shall be 3 {cntrlr domain port} - -The consumer specifies the desired clock pointing to its phandle. - -Example: - - clock: crg11 { - compatible = "fujitsu,mb86s70-crg11"; - #clock-cells = <3>; - }; - - mhu: mhu0@2b1f0000 { - #mbox-cells = <1>; - compatible = "arm,mhu"; - reg = <0 0x2B1F0000 0x1000>; - interrupts = <0 36 4>, /* LP Non-Sec */ - <0 35 4>, /* HP Non-Sec */ - <0 37 4>; /* Secure */ - clocks = <&clock 0 2 1>; /* Cntrlr:0 Domain:2 Port:1 */ - clock-names = "clk"; - }; +Fujitsu CRG11 clock driver bindings +----------------------------------- + +Required properties : +- compatible : Shall contain "fujitsu,mb86s70-crg11" +- #clock-cells : Shall be 3 {cntrlr domain port} + +The consumer specifies the desired clock pointing to its phandle. + +Example: + + clock: crg11 { + compatible = "fujitsu,mb86s70-crg11"; + #clock-cells = <3>; + }; + + mhu: mhu0@2b1f0000 { + #mbox-cells = <1>; + compatible = "arm,mhu"; + reg = <0 0x2B1F0000 0x1000>; + interrupts = <0 36 4>, /* LP Non-Sec */ + <0 35 4>, /* HP Non-Sec */ + <0 37 4>; /* Secure */ + clocks = <&clock 0 2 1>; /* Cntrlr:0 Domain:2 Port:1 */ + clock-names = "clk"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/gpio-gate-clock.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/gpio-gate-clock.yaml index 6201a41d85..d09d0e3f0c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/gpio-gate-clock.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/gpio-gate-clock.yaml @@ -1,42 +1,42 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/gpio-gate-clock.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Simple GPIO clock gate - -maintainers: - - Jyri Sarha - -properties: - compatible: - const: gpio-gate-clock - - clocks: - maxItems: 1 - - '#clock-cells': - const: 0 - - enable-gpios: - description: GPIO reference for enabling and disabling the clock. - maxItems: 1 - -required: - - compatible - - '#clock-cells' - - enable-gpios - -additionalProperties: false - -examples: - - | - #include - - clock { - compatible = "gpio-gate-clock"; - clocks = <&parentclk>; - #clock-cells = <0>; - enable-gpios = <&gpio 1 GPIO_ACTIVE_HIGH>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/gpio-gate-clock.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Simple GPIO clock gate + +maintainers: + - Jyri Sarha + +properties: + compatible: + const: gpio-gate-clock + + clocks: + maxItems: 1 + + '#clock-cells': + const: 0 + + enable-gpios: + description: GPIO reference for enabling and disabling the clock. + maxItems: 1 + +required: + - compatible + - '#clock-cells' + - enable-gpios + +additionalProperties: false + +examples: + - | + #include + + clock { + compatible = "gpio-gate-clock"; + clocks = <&parentclk>; + #clock-cells = <0>; + enable-gpios = <&gpio 1 GPIO_ACTIVE_HIGH>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/gpio-mux-clock.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/gpio-mux-clock.yaml index c06f25335d..1e21f8b3a4 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/gpio-mux-clock.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/gpio-mux-clock.yaml @@ -1,45 +1,45 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/gpio-mux-clock.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Simple GPIO clock multiplexer - -maintainers: - - Sergej Sawazki - -properties: - compatible: - const: gpio-mux-clock - - clocks: - items: - - description: First parent clock - - description: Second parent clock - - '#clock-cells': - const: 0 - - select-gpios: - description: GPIO reference for selecting the parent clock. - maxItems: 1 - -required: - - compatible - - clocks - - '#clock-cells' - - select-gpios - -additionalProperties: false - -examples: - - | - #include - - clock { - compatible = "gpio-mux-clock"; - clocks = <&parentclk1>, <&parentclk2>; - #clock-cells = <0>; - select-gpios = <&gpio 1 GPIO_ACTIVE_HIGH>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/gpio-mux-clock.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Simple GPIO clock multiplexer + +maintainers: + - Sergej Sawazki + +properties: + compatible: + const: gpio-mux-clock + + clocks: + items: + - description: First parent clock + - description: Second parent clock + + '#clock-cells': + const: 0 + + select-gpios: + description: GPIO reference for selecting the parent clock. + maxItems: 1 + +required: + - compatible + - clocks + - '#clock-cells' + - select-gpios + +additionalProperties: false + +examples: + - | + #include + + clock { + compatible = "gpio-mux-clock"; + clocks = <&parentclk1>, <&parentclk2>; + #clock-cells = <0>; + select-gpios = <&gpio 1 GPIO_ACTIVE_HIGH>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/img,boston-clock.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/img,boston-clock.txt index e0fed9edc4..7bc5e9ffb6 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/img,boston-clock.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/img,boston-clock.txt @@ -1,31 +1,31 @@ -Binding for Imagination Technologies MIPS Boston clock sources. - -This binding uses the common clock binding[1]. - -[1] Documentation/devicetree/bindings/clock/clock-bindings.txt - -The device node must be a child node of the syscon node corresponding to the -Boston system's platform registers. - -Required properties: -- compatible : Should be "img,boston-clock". -- #clock-cells : Should be set to 1. - Values available for clock consumers can be found in the header file: - - -Example: - - system-controller@17ffd000 { - compatible = "img,boston-platform-regs", "syscon"; - reg = <0x17ffd000 0x1000>; - - clk_boston: clock { - compatible = "img,boston-clock"; - #clock-cells = <1>; - }; - }; - - uart0: uart@17ffe000 { - /* ... */ - clocks = <&clk_boston BOSTON_CLK_SYS>; - }; +Binding for Imagination Technologies MIPS Boston clock sources. + +This binding uses the common clock binding[1]. + +[1] Documentation/devicetree/bindings/clock/clock-bindings.txt + +The device node must be a child node of the syscon node corresponding to the +Boston system's platform registers. + +Required properties: +- compatible : Should be "img,boston-clock". +- #clock-cells : Should be set to 1. + Values available for clock consumers can be found in the header file: + + +Example: + + system-controller@17ffd000 { + compatible = "img,boston-platform-regs", "syscon"; + reg = <0x17ffd000 0x1000>; + + clk_boston: clock { + compatible = "img,boston-clock"; + #clock-cells = <1>; + }; + }; + + uart0: uart@17ffe000 { + /* ... */ + clocks = <&clk_boston BOSTON_CLK_SYS>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/imx1-clock.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/imx1-clock.yaml index 5e1a601760..7ade4c32af 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/imx1-clock.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/imx1-clock.yaml @@ -1,42 +1,42 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/imx1-clock.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Freescale i.MX1 CPUs Clock Controller - -maintainers: - - Alexander Shiyan - -description: | - The clock consumer should specify the desired clock by having the clock - ID in its "clocks" phandle cell. See include/dt-bindings/clock/imx1-clock.h - for the full list of i.MX1 clock IDs. - -properties: - compatible: - const: fsl,imx1-ccm - - reg: - maxItems: 1 - - '#clock-cells': - const: 1 - -required: - - compatible - - reg - - '#clock-cells' - -additionalProperties: false - -examples: - - | - #include - - clock-controller@21b000 { - #clock-cells = <1>; - compatible = "fsl,imx1-ccm"; - reg = <0x0021b000 0x1000>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/imx1-clock.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Freescale i.MX1 CPUs Clock Controller + +maintainers: + - Alexander Shiyan + +description: | + The clock consumer should specify the desired clock by having the clock + ID in its "clocks" phandle cell. See include/dt-bindings/clock/imx1-clock.h + for the full list of i.MX1 clock IDs. + +properties: + compatible: + const: fsl,imx1-ccm + + reg: + maxItems: 1 + + '#clock-cells': + const: 1 + +required: + - compatible + - reg + - '#clock-cells' + +additionalProperties: false + +examples: + - | + #include + + clock-controller@21b000 { + #clock-cells = <1>; + compatible = "fsl,imx1-ccm"; + reg = <0x0021b000 0x1000>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/imx21-clock.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/imx21-clock.yaml index 3bc3f0a2a3..79cc843703 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/imx21-clock.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/imx21-clock.yaml @@ -1,42 +1,42 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/imx21-clock.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Freescale i.MX21 Clock Controller - -maintainers: - - Alexander Shiyan - -description: | - The clock consumer should specify the desired clock by having the clock - ID in its "clocks" phandle cell. See include/dt-bindings/clock/imx21-clock.h - for the full list of i.MX21 clock IDs. - -properties: - compatible: - const: fsl,imx21-ccm - - reg: - maxItems: 1 - - '#clock-cells': - const: 1 - -required: - - compatible - - reg - - '#clock-cells' - -additionalProperties: false - -examples: - - | - #include - - clock-controller@10027000 { - compatible = "fsl,imx21-ccm"; - reg = <0x10027000 0x800>; - #clock-cells = <1>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/imx21-clock.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Freescale i.MX21 Clock Controller + +maintainers: + - Alexander Shiyan + +description: | + The clock consumer should specify the desired clock by having the clock + ID in its "clocks" phandle cell. See include/dt-bindings/clock/imx21-clock.h + for the full list of i.MX21 clock IDs. + +properties: + compatible: + const: fsl,imx21-ccm + + reg: + maxItems: 1 + + '#clock-cells': + const: 1 + +required: + - compatible + - reg + - '#clock-cells' + +additionalProperties: false + +examples: + - | + #include + + clock-controller@10027000 { + compatible = "fsl,imx21-ccm"; + reg = <0x10027000 0x800>; + #clock-cells = <1>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/imx27-clock.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/imx27-clock.yaml index 4ac90e4319..71d78a0b55 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/imx27-clock.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/imx27-clock.yaml @@ -1,46 +1,46 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/imx27-clock.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Freescale i.MX27 Clock Controller - -maintainers: - - Fabio Estevam - -description: | - The clock consumer should specify the desired clock by having the clock - ID in its "clocks" phandle cell. See include/dt-bindings/clock/imx27-clock.h - for the full list of i.MX27 clock IDs. - -properties: - compatible: - const: fsl,imx27-ccm - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - '#clock-cells': - const: 1 - -required: - - compatible - - reg - - '#clock-cells' - -additionalProperties: false - -examples: - - | - #include - - clock-controller@10027000 { - compatible = "fsl,imx27-ccm"; - reg = <0x10027000 0x1000>; - interrupts = <31>; - #clock-cells = <1>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/imx27-clock.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Freescale i.MX27 Clock Controller + +maintainers: + - Fabio Estevam + +description: | + The clock consumer should specify the desired clock by having the clock + ID in its "clocks" phandle cell. See include/dt-bindings/clock/imx27-clock.h + for the full list of i.MX27 clock IDs. + +properties: + compatible: + const: fsl,imx27-ccm + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + '#clock-cells': + const: 1 + +required: + - compatible + - reg + - '#clock-cells' + +additionalProperties: false + +examples: + - | + #include + + clock-controller@10027000 { + compatible = "fsl,imx27-ccm"; + reg = <0x10027000 0x1000>; + interrupts = <31>; + #clock-cells = <1>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/imx8ulp-cgc-clock.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/imx8ulp-cgc-clock.yaml index 0b9264adb0..68a60cdc19 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/imx8ulp-cgc-clock.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/imx8ulp-cgc-clock.yaml @@ -1,43 +1,43 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/imx8ulp-cgc-clock.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: NXP i.MX8ULP Clock Generation & Control(CGC) Module - -maintainers: - - Jacky Bai - -description: | - On i.MX8ULP, The clock sources generation, distribution and management is - under the control of several CGCs & PCCs modules. The CGC modules generate - and distribute clocks on the device. - -properties: - compatible: - enum: - - fsl,imx8ulp-cgc1 - - fsl,imx8ulp-cgc2 - - reg: - maxItems: 1 - - '#clock-cells': - const: 1 - -required: - - compatible - - reg - - '#clock-cells' - -additionalProperties: false - -examples: - # Clock Generation & Control Module node: - - | - clock-controller@292c0000 { - compatible = "fsl,imx8ulp-cgc1"; - reg = <0x292c0000 0x10000>; - #clock-cells = <1>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/imx8ulp-cgc-clock.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NXP i.MX8ULP Clock Generation & Control(CGC) Module + +maintainers: + - Jacky Bai + +description: | + On i.MX8ULP, The clock sources generation, distribution and management is + under the control of several CGCs & PCCs modules. The CGC modules generate + and distribute clocks on the device. + +properties: + compatible: + enum: + - fsl,imx8ulp-cgc1 + - fsl,imx8ulp-cgc2 + + reg: + maxItems: 1 + + '#clock-cells': + const: 1 + +required: + - compatible + - reg + - '#clock-cells' + +additionalProperties: false + +examples: + # Clock Generation & Control Module node: + - | + clock-controller@292c0000 { + compatible = "fsl,imx8ulp-cgc1"; + reg = <0x292c0000 0x10000>; + #clock-cells = <1>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/intel,agilex.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/intel,agilex.yaml index d9ac1644ad..3745ba8dbd 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/intel,agilex.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/intel,agilex.yaml @@ -1,46 +1,46 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/intel,agilex.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Intel SoCFPGA Agilex platform clock controller - -maintainers: - - Dinh Nguyen - -description: - The Intel Agilex Clock controller is an integrated clock controller, which - generates and supplies to all modules. - -properties: - compatible: - const: intel,agilex-clkmgr - - '#clock-cells': - const: 1 - - reg: - maxItems: 1 - - clocks: - maxItems: 1 - -required: - - compatible - - reg - - clocks - - '#clock-cells' - -additionalProperties: false - -examples: - # Clock controller node: - - | - clkmgr: clock-controller@ffd10000 { - compatible = "intel,agilex-clkmgr"; - reg = <0xffd10000 0x1000>; - clocks = <&osc1>; - #clock-cells = <1>; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/intel,agilex.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Intel SoCFPGA Agilex platform clock controller + +maintainers: + - Dinh Nguyen + +description: + The Intel Agilex Clock controller is an integrated clock controller, which + generates and supplies to all modules. + +properties: + compatible: + const: intel,agilex-clkmgr + + '#clock-cells': + const: 1 + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + +required: + - compatible + - reg + - clocks + - '#clock-cells' + +additionalProperties: false + +examples: + # Clock controller node: + - | + clkmgr: clock-controller@ffd10000 { + compatible = "intel,agilex-clkmgr"; + reg = <0xffd10000 0x1000>; + clocks = <&osc1>; + #clock-cells = <1>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/intel,agilex5-clkmgr.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/intel,agilex5-clkmgr.yaml index 7412768dbc..d120b0da7f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/intel,agilex5-clkmgr.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/intel,agilex5-clkmgr.yaml @@ -1,40 +1,40 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/intel,agilex5-clkmgr.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Intel SoCFPGA Agilex5 clock manager - -maintainers: - - Dinh Nguyen - -description: - The Intel Agilex5 Clock Manager is an integrated clock controller, which - generates and supplies clock to all the modules. - -properties: - compatible: - const: intel,agilex5-clkmgr - - reg: - maxItems: 1 - - '#clock-cells': - const: 1 - -required: - - compatible - - reg - - '#clock-cells' - -additionalProperties: false - -examples: - - | - clkmgr: clock-controller@10d10000 { - compatible = "intel,agilex5-clkmgr"; - reg = <0x10d10000 0x1000>; - #clock-cells = <1>; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/intel,agilex5-clkmgr.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Intel SoCFPGA Agilex5 clock manager + +maintainers: + - Dinh Nguyen + +description: + The Intel Agilex5 Clock Manager is an integrated clock controller, which + generates and supplies clock to all the modules. + +properties: + compatible: + const: intel,agilex5-clkmgr + + reg: + maxItems: 1 + + '#clock-cells': + const: 1 + +required: + - compatible + - reg + - '#clock-cells' + +additionalProperties: false + +examples: + - | + clkmgr: clock-controller@10d10000 { + compatible = "intel,agilex5-clkmgr"; + reg = <0x10d10000 0x1000>; + #clock-cells = <1>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/intel,easic-n5x.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/intel,easic-n5x.yaml index a4f111763b..e000116a51 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/intel,easic-n5x.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/intel,easic-n5x.yaml @@ -1,46 +1,46 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/intel,easic-n5x.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Intel SoCFPGA eASIC N5X platform clock controller - -maintainers: - - Dinh Nguyen - -description: - The Intel eASIC N5X Clock controller is an integrated clock controller, which - generates and supplies to all modules. - -properties: - compatible: - const: intel,easic-n5x-clkmgr - - '#clock-cells': - const: 1 - - reg: - maxItems: 1 - - clocks: - maxItems: 1 - -required: - - compatible - - reg - - clocks - - '#clock-cells' - -additionalProperties: false - -examples: - # Clock controller node: - - | - clkmgr: clock-controller@ffd10000 { - compatible = "intel,easic-n5x-clkmgr"; - reg = <0xffd10000 0x1000>; - clocks = <&osc1>; - #clock-cells = <1>; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/intel,easic-n5x.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Intel SoCFPGA eASIC N5X platform clock controller + +maintainers: + - Dinh Nguyen + +description: + The Intel eASIC N5X Clock controller is an integrated clock controller, which + generates and supplies to all modules. + +properties: + compatible: + const: intel,easic-n5x-clkmgr + + '#clock-cells': + const: 1 + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + +required: + - compatible + - reg + - clocks + - '#clock-cells' + +additionalProperties: false + +examples: + # Clock controller node: + - | + clkmgr: clock-controller@ffd10000 { + compatible = "intel,easic-n5x-clkmgr"; + reg = <0xffd10000 0x1000>; + clocks = <&osc1>; + #clock-cells = <1>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/intel,stratix10.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/intel,stratix10.yaml index 400107d25c..b4a8be2134 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/intel,stratix10.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/intel,stratix10.yaml @@ -1,35 +1,35 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/intel,stratix10.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Intel SoCFPGA Stratix10 platform clock controller - -maintainers: - - Dinh Nguyen - -properties: - compatible: - const: intel,stratix10-clkmgr - - '#clock-cells': - const: 1 - - reg: - maxItems: 1 - -required: - - compatible - - reg - - '#clock-cells' - -additionalProperties: false - -examples: - - | - clock-controller@ffd10000 { - compatible = "intel,stratix10-clkmgr"; - reg = <0xffd10000 0x1000>; - #clock-cells = <1>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/intel,stratix10.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Intel SoCFPGA Stratix10 platform clock controller + +maintainers: + - Dinh Nguyen + +properties: + compatible: + const: intel,stratix10-clkmgr + + '#clock-cells': + const: 1 + + reg: + maxItems: 1 + +required: + - compatible + - reg + - '#clock-cells' + +additionalProperties: false + +examples: + - | + clock-controller@ffd10000 { + compatible = "intel,stratix10-clkmgr"; + reg = <0xffd10000 0x1000>; + #clock-cells = <1>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/keystone-gate.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/keystone-gate.txt index 0e6b637b3c..43f6fb6c93 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/keystone-gate.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/keystone-gate.txt @@ -1,27 +1,27 @@ -Binding for Keystone gate control driver which uses PSC controller IP. - -This binding uses the common clock binding[1]. - -[1] Documentation/devicetree/bindings/clock/clock-bindings.txt - -Required properties: -- compatible : shall be "ti,keystone,psc-clock". -- #clock-cells : from common clock binding; shall be set to 0. -- clocks : parent clock phandle -- reg : psc control and domain address address space -- reg-names : psc control and domain registers -- domain-id : psc domain id needed to check the transition state register - -Optional properties: -- clock-output-names : From common clock binding to override the - default output clock name -Example: - clkusb: clkusb { - #clock-cells = <0>; - compatible = "ti,keystone,psc-clock"; - clocks = <&chipclk16>; - clock-output-names = "usb"; - reg = <0x02350008 0xb00>, <0x02350000 0x400>; - reg-names = "control", "domain"; - domain-id = <0>; - }; +Binding for Keystone gate control driver which uses PSC controller IP. + +This binding uses the common clock binding[1]. + +[1] Documentation/devicetree/bindings/clock/clock-bindings.txt + +Required properties: +- compatible : shall be "ti,keystone,psc-clock". +- #clock-cells : from common clock binding; shall be set to 0. +- clocks : parent clock phandle +- reg : psc control and domain address address space +- reg-names : psc control and domain registers +- domain-id : psc domain id needed to check the transition state register + +Optional properties: +- clock-output-names : From common clock binding to override the + default output clock name +Example: + clkusb: clkusb { + #clock-cells = <0>; + compatible = "ti,keystone,psc-clock"; + clocks = <&chipclk16>; + clock-output-names = "usb"; + reg = <0x02350008 0xb00>, <0x02350000 0x400>; + reg-names = "control", "domain"; + domain-id = <0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/loongson,ls1x-clk.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/loongson,ls1x-clk.yaml index 7420afc6f9..01561a0f35 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/loongson,ls1x-clk.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/loongson,ls1x-clk.yaml @@ -1,45 +1,45 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/loongson,ls1x-clk.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Loongson-1 Clock Controller - -maintainers: - - Keguang Zhang - -properties: - compatible: - enum: - - loongson,ls1b-clk - - loongson,ls1c-clk - - reg: - maxItems: 1 - - clocks: - maxItems: 1 - - "#clock-cells": - const: 1 - -required: - - compatible - - reg - - clocks - - "#clock-cells" - -additionalProperties: false - -examples: - - | - clkc: clock-controller@1fe78030 { - compatible = "loongson,ls1b-clk"; - reg = <0x1fe78030 0x8>; - - clocks = <&xtal>; - #clock-cells = <1>; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/loongson,ls1x-clk.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Loongson-1 Clock Controller + +maintainers: + - Keguang Zhang + +properties: + compatible: + enum: + - loongson,ls1b-clk + - loongson,ls1c-clk + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + "#clock-cells": + const: 1 + +required: + - compatible + - reg + - clocks + - "#clock-cells" + +additionalProperties: false + +examples: + - | + clkc: clock-controller@1fe78030 { + compatible = "loongson,ls1b-clk"; + reg = <0x1fe78030 0x8>; + + clocks = <&xtal>; + #clock-cells = <1>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/lsi,axm5516-clks.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/lsi,axm5516-clks.txt index ee0aee024f..3ce97cfe99 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/lsi,axm5516-clks.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/lsi,axm5516-clks.txt @@ -1,29 +1,29 @@ -AXM5516 clock driver bindings ------------------------------ - -Required properties : -- compatible : shall contain "lsi,axm5516-clks" -- reg : shall contain base register location and length -- #clock-cells : shall contain 1 - -The consumer specifies the desired clock by having the clock ID in its "clocks" -phandle cell. See for the list of -supported clock IDs. - -Example: - - clks: clock-controller@2010020000 { - compatible = "lsi,axm5516-clks"; - #clock-cells = <1>; - reg = <0x20 0x10020000 0 0x20000>; - }; - - serial0: uart@2010080000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x20 0x10080000 0 0x1000>; - interrupts = ; - clocks = <&clks AXXIA_CLK_PER>; - clock-names = "apb_pclk"; - }; - }; - +AXM5516 clock driver bindings +----------------------------- + +Required properties : +- compatible : shall contain "lsi,axm5516-clks" +- reg : shall contain base register location and length +- #clock-cells : shall contain 1 + +The consumer specifies the desired clock by having the clock ID in its "clocks" +phandle cell. See for the list of +supported clock IDs. + +Example: + + clks: clock-controller@2010020000 { + compatible = "lsi,axm5516-clks"; + #clock-cells = <1>; + reg = <0x20 0x10020000 0 0x20000>; + }; + + serial0: uart@2010080000 { + compatible = "arm,pl011", "arm,primecell"; + reg = <0x20 0x10080000 0 0x1000>; + interrupts = ; + clocks = <&clks AXXIA_CLK_PER>; + clock-names = "apb_pclk"; + }; + }; + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/marvell,pxa168.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/marvell,pxa168.txt index 0ff315e769..c62eb1d173 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/marvell,pxa168.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/marvell,pxa168.txt @@ -1,21 +1,21 @@ -* Marvell PXA168 Clock Controller - -The PXA168 clock subsystem generates and supplies clock to various -controllers within the PXA168 SoC. - -Required Properties: - -- compatible: should be one of the following. - - "marvell,pxa168-clock" - controller compatible with PXA168 SoC. - -- reg: physical base address of the clock subsystem and length of memory mapped - region. There are 3 places in SOC has clock control logic: - "mpmu", "apmu", "apbc". So three reg spaces need to be defined. - -- #clock-cells: should be 1. -- #reset-cells: should be 1. - -Each clock is assigned an identifier and client nodes use this identifier -to specify the clock which they consume. - -All these identifier could be found in . +* Marvell PXA168 Clock Controller + +The PXA168 clock subsystem generates and supplies clock to various +controllers within the PXA168 SoC. + +Required Properties: + +- compatible: should be one of the following. + - "marvell,pxa168-clock" - controller compatible with PXA168 SoC. + +- reg: physical base address of the clock subsystem and length of memory mapped + region. There are 3 places in SOC has clock control logic: + "mpmu", "apmu", "apbc". So three reg spaces need to be defined. + +- #clock-cells: should be 1. +- #reset-cells: should be 1. + +Each clock is assigned an identifier and client nodes use this identifier +to specify the clock which they consume. + +All these identifier could be found in . diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/marvell,pxa1928.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/marvell,pxa1928.txt index adb26a67b7..809c5a2d8d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/marvell,pxa1928.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/marvell,pxa1928.txt @@ -1,21 +1,21 @@ -* Marvell PXA1928 Clock Controllers - -The PXA1928 clock subsystem generates and supplies clock to various -controllers within the PXA1928 SoC. The PXA1928 contains 3 clock controller -blocks called APMU, MPMU, and APBC roughly corresponding to internal buses. - -Required Properties: - -- compatible: should be one of the following. - - "marvell,pxa1928-apmu" - APMU controller compatible - - "marvell,pxa1928-mpmu" - MPMU controller compatible - - "marvell,pxa1928-apbc" - APBC controller compatible -- reg: physical base address of the clock controller and length of memory mapped - region. -- #clock-cells: should be 1. -- #reset-cells: should be 1. - -Each clock is assigned an identifier and client nodes use the clock controller -phandle and this identifier to specify the clock which they consume. - -All these identifiers can be found in . +* Marvell PXA1928 Clock Controllers + +The PXA1928 clock subsystem generates and supplies clock to various +controllers within the PXA1928 SoC. The PXA1928 contains 3 clock controller +blocks called APMU, MPMU, and APBC roughly corresponding to internal buses. + +Required Properties: + +- compatible: should be one of the following. + - "marvell,pxa1928-apmu" - APMU controller compatible + - "marvell,pxa1928-mpmu" - MPMU controller compatible + - "marvell,pxa1928-apbc" - APBC controller compatible +- reg: physical base address of the clock controller and length of memory mapped + region. +- #clock-cells: should be 1. +- #reset-cells: should be 1. + +Each clock is assigned an identifier and client nodes use the clock controller +phandle and this identifier to specify the clock which they consume. + +All these identifiers can be found in . diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/marvell,pxa910.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/marvell,pxa910.txt index 1b7785dc1c..d9f41f3c03 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/marvell,pxa910.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/marvell,pxa910.txt @@ -1,21 +1,21 @@ -* Marvell PXA910 Clock Controller - -The PXA910 clock subsystem generates and supplies clock to various -controllers within the PXA910 SoC. - -Required Properties: - -- compatible: should be one of the following. - - "marvell,pxa910-clock" - controller compatible with PXA910 SoC. - -- reg: physical base address of the clock subsystem and length of memory mapped - region. There are 4 places in SOC has clock control logic: - "mpmu", "apmu", "apbc", "apbcp". So four reg spaces need to be defined. - -- #clock-cells: should be 1. -- #reset-cells: should be 1. - -Each clock is assigned an identifier and client nodes use this identifier -to specify the clock which they consume. - -All these identifier could be found in . +* Marvell PXA910 Clock Controller + +The PXA910 clock subsystem generates and supplies clock to various +controllers within the PXA910 SoC. + +Required Properties: + +- compatible: should be one of the following. + - "marvell,pxa910-clock" - controller compatible with PXA910 SoC. + +- reg: physical base address of the clock subsystem and length of memory mapped + region. There are 4 places in SOC has clock control logic: + "mpmu", "apmu", "apbc", "apbcp". So four reg spaces need to be defined. + +- #clock-cells: should be 1. +- #reset-cells: should be 1. + +Each clock is assigned an identifier and client nodes use this identifier +to specify the clock which they consume. + +All these identifier could be found in . diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/mediatek,mt7622-ssusbsys.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/mediatek,mt7622-ssusbsys.yaml index 820d056075..da93eccdcf 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/mediatek,mt7622-ssusbsys.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/mediatek,mt7622-ssusbsys.yaml @@ -1,45 +1,45 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/mediatek,mt7622-ssusbsys.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: MediaTek SSUSBSYS clock and reset controller - -description: - The MediaTek SSUSBSYS controller provides various clocks to the system. - -maintainers: - - Matthias Brugger - -properties: - compatible: - enum: - - mediatek,mt7622-ssusbsys - - mediatek,mt7629-ssusbsys - - reg: - maxItems: 1 - - "#clock-cells": - const: 1 - description: The available clocks are defined in dt-bindings/clock/mt*-clk.h - - "#reset-cells": - const: 1 - -required: - - reg - - "#clock-cells" - - "#reset-cells" - -additionalProperties: false - -examples: - - | - clock-controller@1a000000 { - compatible = "mediatek,mt7622-ssusbsys"; - reg = <0x1a000000 0x1000>; - #clock-cells = <1>; - #reset-cells = <1>; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/mediatek,mt7622-ssusbsys.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: MediaTek SSUSBSYS clock and reset controller + +description: + The MediaTek SSUSBSYS controller provides various clocks to the system. + +maintainers: + - Matthias Brugger + +properties: + compatible: + enum: + - mediatek,mt7622-ssusbsys + - mediatek,mt7629-ssusbsys + + reg: + maxItems: 1 + + "#clock-cells": + const: 1 + description: The available clocks are defined in dt-bindings/clock/mt*-clk.h + + "#reset-cells": + const: 1 + +required: + - reg + - "#clock-cells" + - "#reset-cells" + +additionalProperties: false + +examples: + - | + clock-controller@1a000000 { + compatible = "mediatek,mt7622-ssusbsys"; + reg = <0x1a000000 0x1000>; + #clock-cells = <1>; + #reset-cells = <1>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/mediatek,mt8365-clock.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/mediatek,mt8365-clock.yaml index 1d71783118..b327ecb4e5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/mediatek,mt8365-clock.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/mediatek,mt8365-clock.yaml @@ -1,42 +1,42 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/mediatek,mt8365-clock.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: MediaTek Functional Clock Controller for MT8365 - -maintainers: - - Markus Schneider-Pargmann - -properties: - compatible: - items: - - enum: - - mediatek,mt8365-apu - - mediatek,mt8365-imgsys - - mediatek,mt8365-mfgcfg - - mediatek,mt8365-vdecsys - - mediatek,mt8365-vencsys - - const: syscon - - reg: - maxItems: 1 - - '#clock-cells': - const: 1 - -required: - - compatible - - reg - - '#clock-cells' - -additionalProperties: false - -examples: - - | - apu: clock-controller@19020000 { - compatible = "mediatek,mt8365-apu", "syscon"; - reg = <0x19020000 0x1000>; - #clock-cells = <1>; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/mediatek,mt8365-clock.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: MediaTek Functional Clock Controller for MT8365 + +maintainers: + - Markus Schneider-Pargmann + +properties: + compatible: + items: + - enum: + - mediatek,mt8365-apu + - mediatek,mt8365-imgsys + - mediatek,mt8365-mfgcfg + - mediatek,mt8365-vdecsys + - mediatek,mt8365-vencsys + - const: syscon + + reg: + maxItems: 1 + + '#clock-cells': + const: 1 + +required: + - compatible + - reg + - '#clock-cells' + +additionalProperties: false + +examples: + - | + apu: clock-controller@19020000 { + compatible = "mediatek,mt8365-apu", "syscon"; + reg = <0x19020000 0x1000>; + #clock-cells = <1>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/mstar,msc313-cpupll.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/mstar,msc313-cpupll.yaml index 76be03211e..a9ad7ab523 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/mstar,msc313-cpupll.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/mstar,msc313-cpupll.yaml @@ -1,45 +1,45 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/mstar,msc313-cpupll.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: MStar/Sigmastar MSC313 CPU PLL - -maintainers: - - Daniel Palmer - -description: | - The MStar/SigmaStar MSC313 and later ARMv7 chips have a scalable - PLL that can be used as the clock source for the CPU(s). - -properties: - compatible: - const: mstar,msc313-cpupll - - "#clock-cells": - const: 1 - - clocks: - maxItems: 1 - - reg: - maxItems: 1 - -required: - - compatible - - "#clock-cells" - - clocks - - reg - -additionalProperties: false - -examples: - - | - #include - cpupll: cpupll@206400 { - compatible = "mstar,msc313-cpupll"; - reg = <0x206400 0x200>; - #clock-cells = <1>; - clocks = <&mpll MSTAR_MSC313_MPLL_DIV2>; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/mstar,msc313-cpupll.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: MStar/Sigmastar MSC313 CPU PLL + +maintainers: + - Daniel Palmer + +description: | + The MStar/SigmaStar MSC313 and later ARMv7 chips have a scalable + PLL that can be used as the clock source for the CPU(s). + +properties: + compatible: + const: mstar,msc313-cpupll + + "#clock-cells": + const: 1 + + clocks: + maxItems: 1 + + reg: + maxItems: 1 + +required: + - compatible + - "#clock-cells" + - clocks + - reg + +additionalProperties: false + +examples: + - | + #include + cpupll: cpupll@206400 { + compatible = "mstar,msc313-cpupll"; + reg = <0x206400 0x200>; + #clock-cells = <1>; + clocks = <&mpll MSTAR_MSC313_MPLL_DIV2>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/mstar,msc313-mpll.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/mstar,msc313-mpll.yaml index e18a9c1d6a..0df5d75d4e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/mstar,msc313-mpll.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/mstar,msc313-mpll.yaml @@ -1,46 +1,46 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/mstar,msc313-mpll.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: MStar/Sigmastar MSC313 MPLL - -maintainers: - - Daniel Palmer - -description: | - The MStar/SigmaStar MSC313 and later ARMv7 chips have an MPLL block that - takes the external xtal input and multiplies it to create a high - frequency clock and divides that down into a number of clocks that - peripherals use. - -properties: - compatible: - const: mstar,msc313-mpll - - "#clock-cells": - const: 1 - - clocks: - maxItems: 1 - - reg: - maxItems: 1 - -required: - - compatible - - "#clock-cells" - - clocks - - reg - -additionalProperties: false - -examples: - - | - mpll@206000 { - compatible = "mstar,msc313-mpll"; - reg = <0x206000 0x200>; - #clock-cells = <1>; - clocks = <&xtal>; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/mstar,msc313-mpll.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: MStar/Sigmastar MSC313 MPLL + +maintainers: + - Daniel Palmer + +description: | + The MStar/SigmaStar MSC313 and later ARMv7 chips have an MPLL block that + takes the external xtal input and multiplies it to create a high + frequency clock and divides that down into a number of clocks that + peripherals use. + +properties: + compatible: + const: mstar,msc313-mpll + + "#clock-cells": + const: 1 + + clocks: + maxItems: 1 + + reg: + maxItems: 1 + +required: + - compatible + - "#clock-cells" + - clocks + - reg + +additionalProperties: false + +examples: + - | + mpll@206000 { + compatible = "mstar,msc313-mpll"; + reg = <0x206000 0x200>; + #clock-cells = <1>; + clocks = <&xtal>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/mvebu-corediv-clock.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/mvebu-corediv-clock.txt index cc945e9a21..c7b4e3a6b2 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/mvebu-corediv-clock.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/mvebu-corediv-clock.txt @@ -1,23 +1,23 @@ -* Core Divider Clock bindings for Marvell MVEBU SoCs - -The following is a list of provided IDs and clock names on Armada 370/XP: - 0 = nand (NAND clock) - -Required properties: -- compatible : must be "marvell,armada-370-corediv-clock", - "marvell,armada-375-corediv-clock", - "marvell,armada-380-corediv-clock", - "marvell,mv98dx3236-corediv-clock", - -- reg : must be the register address of Core Divider control register -- #clock-cells : from common clock binding; shall be set to 1 -- clocks : must be set to the parent's phandle - -Example: - -corediv_clk: corediv-clocks@18740 { - compatible = "marvell,armada-370-corediv-clock"; - reg = <0x18740 0xc>; - #clock-cells = <1>; - clocks = <&pll>; -}; +* Core Divider Clock bindings for Marvell MVEBU SoCs + +The following is a list of provided IDs and clock names on Armada 370/XP: + 0 = nand (NAND clock) + +Required properties: +- compatible : must be "marvell,armada-370-corediv-clock", + "marvell,armada-375-corediv-clock", + "marvell,armada-380-corediv-clock", + "marvell,mv98dx3236-corediv-clock", + +- reg : must be the register address of Core Divider control register +- #clock-cells : from common clock binding; shall be set to 1 +- clocks : must be set to the parent's phandle + +Example: + +corediv_clk: corediv-clocks@18740 { + compatible = "marvell,armada-370-corediv-clock"; + reg = <0x18740 0xc>; + #clock-cells = <1>; + clocks = <&pll>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/mvebu-cpu-clock.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/mvebu-cpu-clock.txt index 0fa47ce3a9..7f28506eae 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/mvebu-cpu-clock.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/mvebu-cpu-clock.txt @@ -1,23 +1,23 @@ -Device Tree Clock bindings for cpu clock of Marvell EBU platforms - -Required properties: -- compatible : shall be one of the following: - "marvell,armada-xp-cpu-clock" - cpu clocks for Armada XP - "marvell,mv98dx3236-cpu-clock" - cpu clocks for 98DX3236 SoC -- reg : Address and length of the clock complex register set, followed - by address and length of the PMU DFS registers -- #clock-cells : should be set to 1. -- clocks : shall be the input parent clock phandle for the clock. - -cpuclk: clock-complex@d0018700 { - #clock-cells = <1>; - compatible = "marvell,armada-xp-cpu-clock"; - reg = <0xd0018700 0xA0>, <0x1c054 0x10>; - clocks = <&coreclk 1>; -} - -cpu@0 { - compatible = "marvell,sheeva-v7"; - reg = <0>; - clocks = <&cpuclk 0>; -}; +Device Tree Clock bindings for cpu clock of Marvell EBU platforms + +Required properties: +- compatible : shall be one of the following: + "marvell,armada-xp-cpu-clock" - cpu clocks for Armada XP + "marvell,mv98dx3236-cpu-clock" - cpu clocks for 98DX3236 SoC +- reg : Address and length of the clock complex register set, followed + by address and length of the PMU DFS registers +- #clock-cells : should be set to 1. +- clocks : shall be the input parent clock phandle for the clock. + +cpuclk: clock-complex@d0018700 { + #clock-cells = <1>; + compatible = "marvell,armada-xp-cpu-clock"; + reg = <0xd0018700 0xA0>, <0x1c054 0x10>; + clocks = <&coreclk 1>; +} + +cpu@0 { + compatible = "marvell,sheeva-v7"; + reg = <0>; + clocks = <&cpuclk 0>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/nspire-clock.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/nspire-clock.txt index 7c114d5b2e..7c3bc8bb5b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/nspire-clock.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/nspire-clock.txt @@ -1,24 +1,24 @@ -TI-NSPIRE Clocks - -Required properties: -- compatible: Valid compatible properties include: - "lsi,nspire-cx-ahb-divider" for the AHB divider in the CX model - "lsi,nspire-classic-ahb-divider" for the AHB divider in the older model - "lsi,nspire-cx-clock" for the base clock in the CX model - "lsi,nspire-classic-clock" for the base clock in the older model - -- reg: Physical base address of the controller and length of memory mapped - region. - -Optional: -- clocks: For the "nspire-*-ahb-divider" compatible clocks, this is the parent - clock where it divides the rate from. - -Example: - -ahb_clk { - #clock-cells = <0>; - compatible = "lsi,nspire-cx-clock"; - reg = <0x900B0000 0x4>; - clocks = <&base_clk>; -}; +TI-NSPIRE Clocks + +Required properties: +- compatible: Valid compatible properties include: + "lsi,nspire-cx-ahb-divider" for the AHB divider in the CX model + "lsi,nspire-classic-ahb-divider" for the AHB divider in the older model + "lsi,nspire-cx-clock" for the base clock in the CX model + "lsi,nspire-classic-clock" for the base clock in the older model + +- reg: Physical base address of the controller and length of memory mapped + region. + +Optional: +- clocks: For the "nspire-*-ahb-divider" compatible clocks, this is the parent + clock where it divides the rate from. + +Example: + +ahb_clk { + #clock-cells = <0>; + compatible = "lsi,nspire-cx-clock"; + reg = <0x900B0000 0x4>; + clocks = <&base_clk>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/nxp,lpc3220-usb-clk.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/nxp,lpc3220-usb-clk.yaml index aabfe0eb56..10361d2292 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/nxp,lpc3220-usb-clk.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/nxp,lpc3220-usb-clk.yaml @@ -1,35 +1,35 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/nxp,lpc3220-usb-clk.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: NXP LPC32xx USB Clock Controller - -maintainers: - - Animesh Agarwal - -properties: - compatible: - const: nxp,lpc3220-usb-clk - - reg: - maxItems: 1 - - '#clock-cells': - const: 1 - -required: - - compatible - - reg - - '#clock-cells' - -additionalProperties: false - -examples: - - | - clock-controller@f00 { - compatible = "nxp,lpc3220-usb-clk"; - reg = <0xf00 0x100>; - #clock-cells = <1>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/nxp,lpc3220-usb-clk.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NXP LPC32xx USB Clock Controller + +maintainers: + - Animesh Agarwal + +properties: + compatible: + const: nxp,lpc3220-usb-clk + + reg: + maxItems: 1 + + '#clock-cells': + const: 1 + +required: + - compatible + - reg + - '#clock-cells' + +additionalProperties: false + +examples: + - | + clock-controller@f00 { + compatible = "nxp,lpc3220-usb-clk"; + reg = <0xf00 0x100>; + #clock-cells = <1>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/pwm-clock.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/pwm-clock.yaml index 455e1c94b0..f88ecb2995 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/pwm-clock.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/pwm-clock.yaml @@ -1,45 +1,45 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/pwm-clock.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: An external clock signal driven by a PWM pin. - -maintainers: - - Philipp Zabel - -properties: - compatible: - const: pwm-clock - - '#clock-cells': - const: 0 - - clock-frequency: - description: Exact output frequency, in case the PWM period is not exact - but was rounded to nanoseconds. - - clock-output-names: - maxItems: 1 - - pwms: - maxItems: 1 - -required: - - compatible - - '#clock-cells' - - pwms - -additionalProperties: false - -examples: - - | - clock { - compatible = "pwm-clock"; - #clock-cells = <0>; - clock-frequency = <25000000>; - clock-output-names = "mipi_mclk"; - pwms = <&pwm2 0 40>; /* 1 / 40 ns = 25 MHz */ - }; -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/pwm-clock.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: An external clock signal driven by a PWM pin. + +maintainers: + - Philipp Zabel + +properties: + compatible: + const: pwm-clock + + '#clock-cells': + const: 0 + + clock-frequency: + description: Exact output frequency, in case the PWM period is not exact + but was rounded to nanoseconds. + + clock-output-names: + maxItems: 1 + + pwms: + maxItems: 1 + +required: + - compatible + - '#clock-cells' + - pwms + +additionalProperties: false + +examples: + - | + clock { + compatible = "pwm-clock"; + #clock-cells = <0>; + clock-frequency = <25000000>; + clock-output-names = "mipi_mclk"; + pwms = <&pwm2 0 40>; /* 1 / 40 ns = 25 MHz */ + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qca,ath79-pll.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qca,ath79-pll.txt index d13067a548..241fb0545b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qca,ath79-pll.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qca,ath79-pll.txt @@ -1,33 +1,33 @@ -Binding for Qualcomm Atheros AR7xxx/AR9XXX PLL controller - -The PPL controller provides the 3 main clocks of the SoC: CPU, DDR and AHB. - -Required Properties: -- compatible: has to be "qca,-pll" and one of the following - fallbacks: - - "qca,ar7100-pll" - - "qca,ar7240-pll" - - "qca,ar9130-pll" - - "qca,ar9330-pll" - - "qca,ar9340-pll" - - "qca,qca9550-pll" -- reg: Base address and size of the controllers memory area -- clock-names: Name of the input clock, has to be "ref" -- clocks: phandle of the external reference clock -- #clock-cells: has to be one - -Optional properties: -- clock-output-names: should be "cpu", "ddr", "ahb" - -Example: - - pll-controller@18050000 { - compatible = "qca,ar9132-pll", "qca,ar9130-pll"; - reg = <0x18050000 0x20>; - - clock-names = "ref"; - clocks = <&extosc>; - - #clock-cells = <1>; - clock-output-names = "cpu", "ddr", "ahb"; - }; +Binding for Qualcomm Atheros AR7xxx/AR9XXX PLL controller + +The PPL controller provides the 3 main clocks of the SoC: CPU, DDR and AHB. + +Required Properties: +- compatible: has to be "qca,-pll" and one of the following + fallbacks: + - "qca,ar7100-pll" + - "qca,ar7240-pll" + - "qca,ar9130-pll" + - "qca,ar9330-pll" + - "qca,ar9340-pll" + - "qca,qca9550-pll" +- reg: Base address and size of the controllers memory area +- clock-names: Name of the input clock, has to be "ref" +- clocks: phandle of the external reference clock +- #clock-cells: has to be one + +Optional properties: +- clock-output-names: should be "cpu", "ddr", "ahb" + +Example: + + pll-controller@18050000 { + compatible = "qca,ar9132-pll", "qca,ar9130-pll"; + reg = <0x18050000 0x20>; + + clock-names = "ref"; + clocks = <&extosc>; + + #clock-cells = <1>; + clock-output-names = "cpu", "ddr", "ahb"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,gcc-mdm9607.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,gcc-mdm9607.yaml index 2b70670226..d7da30b0e7 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,gcc-mdm9607.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,gcc-mdm9607.yaml @@ -1,43 +1,43 @@ -# SPDX-License-Identifier: GPL-2.0-only -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/qcom,gcc-mdm9607.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm Global Clock & Reset Controller - -maintainers: - - Stephen Boyd - - Taniya Das - -description: | - Qualcomm global clock control module provides the clocks, resets and power - domains. - - See also:: - include/dt-bindings/clock/qcom,gcc-mdm9607.h - -allOf: - - $ref: qcom,gcc.yaml# - -properties: - compatible: - enum: - - qcom,gcc-mdm9607 - -required: - - compatible - - '#power-domain-cells' - -unevaluatedProperties: false - -examples: - - | - clock-controller@900000 { - compatible = "qcom,gcc-mdm9607"; - reg = <0x900000 0x4000>; - #clock-cells = <1>; - #reset-cells = <1>; - #power-domain-cells = <1>; - }; -... +# SPDX-License-Identifier: GPL-2.0-only +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/qcom,gcc-mdm9607.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Global Clock & Reset Controller + +maintainers: + - Stephen Boyd + - Taniya Das + +description: | + Qualcomm global clock control module provides the clocks, resets and power + domains. + + See also:: + include/dt-bindings/clock/qcom,gcc-mdm9607.h + +allOf: + - $ref: qcom,gcc.yaml# + +properties: + compatible: + enum: + - qcom,gcc-mdm9607 + +required: + - compatible + - '#power-domain-cells' + +unevaluatedProperties: false + +examples: + - | + clock-controller@900000 { + compatible = "qcom,gcc-mdm9607"; + reg = <0x900000 0x4000>; + #clock-cells = <1>; + #reset-cells = <1>; + #power-domain-cells = <1>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,gcc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,gcc.yaml index d06ba22dbb..513d6fd892 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,gcc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,gcc.yaml @@ -1,41 +1,41 @@ -# SPDX-License-Identifier: GPL-2.0-only -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/qcom,gcc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm Global Clock & Reset Controller Common Properties - -maintainers: - - Stephen Boyd - - Taniya Das - -description: | - Common bindings for Qualcomm global clock control module providing the - clocks, resets and power domains. - -properties: - '#clock-cells': - const: 1 - - '#reset-cells': - const: 1 - - '#power-domain-cells': - const: 1 - - reg: - maxItems: 1 - - protected-clocks: - description: - Protected clock specifier list as per common clock binding. - -required: - - reg - - '#clock-cells' - - '#reset-cells' - -additionalProperties: true - -... +# SPDX-License-Identifier: GPL-2.0-only +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/qcom,gcc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Global Clock & Reset Controller Common Properties + +maintainers: + - Stephen Boyd + - Taniya Das + +description: | + Common bindings for Qualcomm global clock control module providing the + clocks, resets and power domains. + +properties: + '#clock-cells': + const: 1 + + '#reset-cells': + const: 1 + + '#power-domain-cells': + const: 1 + + reg: + maxItems: 1 + + protected-clocks: + description: + Protected clock specifier list as per common clock binding. + +required: + - reg + - '#clock-cells' + - '#reset-cells' + +additionalProperties: true + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,krait-cc.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,krait-cc.txt index 17134e5ae7..030ba60dab 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,krait-cc.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,krait-cc.txt @@ -1,34 +1,34 @@ -Krait Clock Controller - -PROPERTIES - -- compatible: - Usage: required - Value type: - Definition: must be one of: - "qcom,krait-cc-v1" - "qcom,krait-cc-v2" - -- #clock-cells: - Usage: required - Value type: - Definition: must be 1 - -- clocks: - Usage: required - Value type: - Definition: reference to the clock parents of hfpll, secondary muxes. - -- clock-names: - Usage: required - Value type: - Definition: must be "hfpll0", "hfpll1", "acpu0_aux", "acpu1_aux", "qsb". - -Example: - - kraitcc: clock-controller { - compatible = "qcom,krait-cc-v1"; - clocks = <&hfpll0>, <&hfpll1>, <&acpu0_aux>, <&acpu1_aux>, ; - clock-names = "hfpll0", "hfpll1", "acpu0_aux", "acpu1_aux", "qsb"; - #clock-cells = <1>; - }; +Krait Clock Controller + +PROPERTIES + +- compatible: + Usage: required + Value type: + Definition: must be one of: + "qcom,krait-cc-v1" + "qcom,krait-cc-v2" + +- #clock-cells: + Usage: required + Value type: + Definition: must be 1 + +- clocks: + Usage: required + Value type: + Definition: reference to the clock parents of hfpll, secondary muxes. + +- clock-names: + Usage: required + Value type: + Definition: must be "hfpll0", "hfpll1", "acpu0_aux", "acpu1_aux", "qsb". + +Example: + + kraitcc: clock-controller { + compatible = "qcom,krait-cc-v1"; + clocks = <&hfpll0>, <&hfpll1>, <&acpu0_aux>, <&acpu1_aux>, ; + clock-names = "hfpll0", "hfpll1", "acpu0_aux", "acpu1_aux", "qsb"; + #clock-cells = <1>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,q6sstopcc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,q6sstopcc.yaml index 9ec537b09c..e0f4d69272 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,q6sstopcc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,q6sstopcc.yaml @@ -1,43 +1,43 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/qcom,q6sstopcc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Q6SSTOP clock Controller - -maintainers: - - Bjorn Andersson - -properties: - compatible: - const: qcom,qcs404-q6sstopcc - - reg: - items: - - description: Q6SSTOP clocks register region - - description: Q6SSTOP_TCSR register region - - clocks: - items: - - description: ahb clock for the q6sstopCC - - '#clock-cells': - const: 1 - -required: - - compatible - - reg - - clocks - - '#clock-cells' - -additionalProperties: false - -examples: - - | - q6sstopcc: clock-controller@7500000 { - compatible = "qcom,qcs404-q6sstopcc"; - reg = <0x07500000 0x4e000>, <0x07550000 0x10000>; - clocks = <&gcc 141>; - #clock-cells = <1>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/qcom,q6sstopcc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Q6SSTOP clock Controller + +maintainers: + - Bjorn Andersson + +properties: + compatible: + const: qcom,qcs404-q6sstopcc + + reg: + items: + - description: Q6SSTOP clocks register region + - description: Q6SSTOP_TCSR register region + + clocks: + items: + - description: ahb clock for the q6sstopCC + + '#clock-cells': + const: 1 + +required: + - compatible + - reg + - clocks + - '#clock-cells' + +additionalProperties: false + +examples: + - | + q6sstopcc: clock-controller@7500000 { + compatible = "qcom,qcs404-q6sstopcc"; + reg = <0x07500000 0x4e000>, <0x07550000 0x10000>; + clocks = <&gcc 141>; + #clock-cells = <1>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,qcs404-turingcc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,qcs404-turingcc.yaml index 219d6d4b77..033e010754 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,qcs404-turingcc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,qcs404-turingcc.yaml @@ -1,47 +1,47 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/qcom,qcs404-turingcc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm Turing Clock & Reset Controller on QCS404 - -maintainers: - - Bjorn Andersson - -properties: - compatible: - const: qcom,qcs404-turingcc - - reg: - maxItems: 1 - - clocks: - maxItems: 1 - - '#clock-cells': - const: 1 - - '#reset-cells': - const: 1 - -required: - - compatible - - reg - - clocks - - '#clock-cells' - - '#reset-cells' - -additionalProperties: false - -examples: - - | - #include - clock-controller@800000 { - compatible = "qcom,qcs404-turingcc"; - reg = <0x00800000 0x30000>; - clocks = <&gcc GCC_CDSP_CFG_AHB_CLK>; - - #clock-cells = <1>; - #reset-cells = <1>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/qcom,qcs404-turingcc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Turing Clock & Reset Controller on QCS404 + +maintainers: + - Bjorn Andersson + +properties: + compatible: + const: qcom,qcs404-turingcc + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + '#clock-cells': + const: 1 + + '#reset-cells': + const: 1 + +required: + - compatible + - reg + - clocks + - '#clock-cells' + - '#reset-cells' + +additionalProperties: false + +examples: + - | + #include + clock-controller@800000 { + compatible = "qcom,qcs404-turingcc"; + reg = <0x00800000 0x30000>; + clocks = <&gcc GCC_CDSP_CFG_AHB_CLK>; + + #clock-cells = <1>; + #reset-cells = <1>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,sdm845-lpasscc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,sdm845-lpasscc.yaml index aff314e624..a96fd837c7 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,sdm845-lpasscc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,sdm845-lpasscc.yaml @@ -1,47 +1,47 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/qcom,sdm845-lpasscc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm SDM845 LPASS Clock Controller - -maintainers: - - Bjorn Andersson - -description: | - Qualcomm SDM845 LPASS (Low Power Audio SubSystem) Clock Controller. - - See also:: include/dt-bindings/clock/qcom,lpass-sdm845.h - -properties: - compatible: - const: qcom,sdm845-lpasscc - - '#clock-cells': - const: 1 - - reg: - maxItems: 2 - - reg-names: - items: - - const: cc - - const: qdsp6ss - -required: - - compatible - - '#clock-cells' - - reg - - reg-names - -additionalProperties: false - -examples: - - | - clock-controller@17014000 { - compatible = "qcom,sdm845-lpasscc"; - reg = <0x17014000 0x1f004>, <0x17300000 0x200>; - reg-names = "cc", "qdsp6ss"; - #clock-cells = <1>; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/qcom,sdm845-lpasscc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm SDM845 LPASS Clock Controller + +maintainers: + - Bjorn Andersson + +description: | + Qualcomm SDM845 LPASS (Low Power Audio SubSystem) Clock Controller. + + See also:: include/dt-bindings/clock/qcom,lpass-sdm845.h + +properties: + compatible: + const: qcom,sdm845-lpasscc + + '#clock-cells': + const: 1 + + reg: + maxItems: 2 + + reg-names: + items: + - const: cc + - const: qdsp6ss + +required: + - compatible + - '#clock-cells' + - reg + - reg-names + +additionalProperties: false + +examples: + - | + clock-controller@17014000 { + compatible = "qcom,sdm845-lpasscc"; + reg = <0x17014000 0x1f004>, <0x17300000 0x200>; + reg-names = "cc", "qdsp6ss"; + #clock-cells = <1>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/silabs,si514.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/silabs,si514.txt index 62719faed7..a4f28ec86f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/silabs,si514.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/silabs,si514.txt @@ -1,24 +1,24 @@ -Binding for Silicon Labs 514 programmable I2C clock generator. - -Reference -This binding uses the common clock binding[1]. Details about the device can be -found in the datasheet[2]. - -[1] Documentation/devicetree/bindings/clock/clock-bindings.txt -[2] Si514 datasheet - https://www.silabs.com/Support%20Documents/TechnicalDocs/si514.pdf - -Required properties: - - compatible: Shall be "silabs,si514" - - reg: I2C device address. - - #clock-cells: From common clock bindings: Shall be 0. - -Optional properties: - - clock-output-names: From common clock bindings. Recommended to be "si514". - -Example: - si514: clock-generator@55 { - reg = <0x55>; - #clock-cells = <0>; - compatible = "silabs,si514"; - }; +Binding for Silicon Labs 514 programmable I2C clock generator. + +Reference +This binding uses the common clock binding[1]. Details about the device can be +found in the datasheet[2]. + +[1] Documentation/devicetree/bindings/clock/clock-bindings.txt +[2] Si514 datasheet + https://www.silabs.com/Support%20Documents/TechnicalDocs/si514.pdf + +Required properties: + - compatible: Shall be "silabs,si514" + - reg: I2C device address. + - #clock-cells: From common clock bindings: Shall be 0. + +Optional properties: + - clock-output-names: From common clock bindings. Recommended to be "si514". + +Example: + si514: clock-generator@55 { + reg = <0x55>; + #clock-cells = <0>; + compatible = "silabs,si514"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/silabs,si544.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/silabs,si544.txt index bdb743858c..b86535b809 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/silabs,si544.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/silabs,si544.txt @@ -1,25 +1,25 @@ -Binding for Silicon Labs 544 programmable I2C clock generator. - -Reference -This binding uses the common clock binding[1]. Details about the device can be -found in the datasheet[2]. - -[1] Documentation/devicetree/bindings/clock/clock-bindings.txt -[2] Si544 datasheet - https://www.silabs.com/documents/public/data-sheets/si544-datasheet.pdf - -Required properties: - - compatible: One of "silabs,si514a", "silabs,si514b" "silabs,si514c" according - to the speed grade of the chip. - - reg: I2C device address. - - #clock-cells: From common clock bindings: Shall be 0. - -Optional properties: - - clock-output-names: From common clock bindings. Recommended to be "si544". - -Example: - si544: clock-controller@55 { - reg = <0x55>; - #clock-cells = <0>; - compatible = "silabs,si544b"; - }; +Binding for Silicon Labs 544 programmable I2C clock generator. + +Reference +This binding uses the common clock binding[1]. Details about the device can be +found in the datasheet[2]. + +[1] Documentation/devicetree/bindings/clock/clock-bindings.txt +[2] Si544 datasheet + https://www.silabs.com/documents/public/data-sheets/si544-datasheet.pdf + +Required properties: + - compatible: One of "silabs,si514a", "silabs,si514b" "silabs,si514c" according + to the speed grade of the chip. + - reg: I2C device address. + - #clock-cells: From common clock bindings: Shall be 0. + +Optional properties: + - clock-output-names: From common clock bindings. Recommended to be "si544". + +Example: + si544: clock-controller@55 { + reg = <0x55>; + #clock-cells = <0>; + compatible = "silabs,si544b"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/snps,hsdk-pll-clock.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/snps,hsdk-pll-clock.txt index a1719bc0a0..c56c7553c7 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/snps,hsdk-pll-clock.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/snps,hsdk-pll-clock.txt @@ -1,28 +1,28 @@ -Binding for the HSDK Generic PLL clock - -This binding uses the common clock binding[1]. - -[1] Documentation/devicetree/bindings/clock/clock-bindings.txt - -Required properties: -- compatible: should be "snps,hsdk--pll-clock" - "snps,hsdk-core-pll-clock" - "snps,hsdk-gp-pll-clock" - "snps,hsdk-hdmi-pll-clock" -- reg : should contain base register location and length. -- clocks: shall be the input parent clock phandle for the PLL. -- #clock-cells: from common clock binding; Should always be set to 0. - -Example: - input_clk: input-clk { - clock-frequency = <33333333>; - compatible = "fixed-clock"; - #clock-cells = <0>; - }; - - cpu_clk: cpu-clk@0 { - compatible = "snps,hsdk-core-pll-clock"; - reg = <0x00 0x10>; - #clock-cells = <0>; - clocks = <&input_clk>; - }; +Binding for the HSDK Generic PLL clock + +This binding uses the common clock binding[1]. + +[1] Documentation/devicetree/bindings/clock/clock-bindings.txt + +Required properties: +- compatible: should be "snps,hsdk--pll-clock" + "snps,hsdk-core-pll-clock" + "snps,hsdk-gp-pll-clock" + "snps,hsdk-hdmi-pll-clock" +- reg : should contain base register location and length. +- clocks: shall be the input parent clock phandle for the PLL. +- #clock-cells: from common clock binding; Should always be set to 0. + +Example: + input_clk: input-clk { + clock-frequency = <33333333>; + compatible = "fixed-clock"; + #clock-cells = <0>; + }; + + cpu_clk: cpu-clk@0 { + compatible = "snps,hsdk-core-pll-clock"; + reg = <0x00 0x10>; + #clock-cells = <0>; + clocks = <&input_clk>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/snps,pll-clock.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/snps,pll-clock.txt index bfaabfa567..11fe487661 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/snps,pll-clock.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/snps,pll-clock.txt @@ -1,28 +1,28 @@ -Binding for the AXS10X Generic PLL clock - -This binding uses the common clock binding[1]. - -[1] Documentation/devicetree/bindings/clock/clock-bindings.txt - -Required properties: -- compatible: should be "snps,axs10x--pll-clock" - "snps,axs10x-arc-pll-clock" - "snps,axs10x-pgu-pll-clock" -- reg: should always contain 2 pairs address - length: first for PLL config -registers and second for corresponding LOCK CGU register. -- clocks: shall be the input parent clock phandle for the PLL. -- #clock-cells: from common clock binding; Should always be set to 0. - -Example: - input-clk: input-clk { - clock-frequency = <33333333>; - compatible = "fixed-clock"; - #clock-cells = <0>; - }; - - core-clk: core-clk@80 { - compatible = "snps,axs10x-arc-pll-clock"; - reg = <0x80 0x10>, <0x100 0x10>; - #clock-cells = <0>; - clocks = <&input-clk>; - }; +Binding for the AXS10X Generic PLL clock + +This binding uses the common clock binding[1]. + +[1] Documentation/devicetree/bindings/clock/clock-bindings.txt + +Required properties: +- compatible: should be "snps,axs10x--pll-clock" + "snps,axs10x-arc-pll-clock" + "snps,axs10x-pgu-pll-clock" +- reg: should always contain 2 pairs address - length: first for PLL config +registers and second for corresponding LOCK CGU register. +- clocks: shall be the input parent clock phandle for the PLL. +- #clock-cells: from common clock binding; Should always be set to 0. + +Example: + input-clk: input-clk { + clock-frequency = <33333333>; + compatible = "fixed-clock"; + #clock-cells = <0>; + }; + + core-clk: core-clk@80 { + compatible = "snps,axs10x-arc-pll-clock"; + reg = <0x80 0x10>, <0x100 0x10>; + #clock-cells = <0>; + clocks = <&input-clk>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/sophgo,cv1800-clk.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/sophgo,cv1800-clk.yaml index 91ec982567..59ef41adb5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/sophgo,cv1800-clk.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/sophgo,cv1800-clk.yaml @@ -1,47 +1,47 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/sophgo,cv1800-clk.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Sophgo CV1800/SG2000 Series Clock Controller - -maintainers: - - Inochi Amaoto - -properties: - compatible: - enum: - - sophgo,cv1800-clk - - sophgo,cv1810-clk - - sophgo,sg2000-clk - - reg: - maxItems: 1 - - clocks: - maxItems: 1 - - "#clock-cells": - const: 1 - description: - See for valid indices. - -required: - - compatible - - reg - - clocks - - "#clock-cells" - -additionalProperties: false - -examples: - - | - clock-controller@3002000 { - compatible = "sophgo,cv1800-clk"; - reg = <0x03002000 0x1000>; - clocks = <&osc>; - #clock-cells = <1>; - }; - -... +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/sophgo,cv1800-clk.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Sophgo CV1800/SG2000 Series Clock Controller + +maintainers: + - Inochi Amaoto + +properties: + compatible: + enum: + - sophgo,cv1800-clk + - sophgo,cv1810-clk + - sophgo,sg2000-clk + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + "#clock-cells": + const: 1 + description: + See for valid indices. + +required: + - compatible + - reg + - clocks + - "#clock-cells" + +additionalProperties: false + +examples: + - | + clock-controller@3002000 { + compatible = "sophgo,cv1800-clk"; + reg = <0x03002000 0x1000>; + clocks = <&osc>; + #clock-cells = <1>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/st/st,clkgen-mux.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/st/st,clkgen-mux.txt index 822b8992a4..9a46cb1d7a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/st/st,clkgen-mux.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/st/st,clkgen-mux.txt @@ -1,32 +1,32 @@ -Binding for a ST multiplexed clock driver. - -This binding supports only simple indexed multiplexers, it does not -support table based parent index to hardware value translations. - -This binding uses the common clock binding[1]. - -[1] Documentation/devicetree/bindings/clock/clock-bindings.txt - -Required properties: - -- compatible : shall be: - "st,stih407-clkgen-a9-mux" - -- #clock-cells : from common clock binding; shall be set to 0. - -- reg : A Base address and length of the register set. - -- clocks : from common clock binding - -Example: - - clk_m_a9: clk-m-a9@92b0000 { - #clock-cells = <0>; - compatible = "st,stih407-clkgen-a9-mux"; - reg = <0x92b0000 0x10000>; - - clocks = <&clockgen_a9_pll 0>, - <&clockgen_a9_pll 0>, - <&clk_s_c0_flexgen 13>, - <&clk_m_a9_ext2f_div2>; - }; +Binding for a ST multiplexed clock driver. + +This binding supports only simple indexed multiplexers, it does not +support table based parent index to hardware value translations. + +This binding uses the common clock binding[1]. + +[1] Documentation/devicetree/bindings/clock/clock-bindings.txt + +Required properties: + +- compatible : shall be: + "st,stih407-clkgen-a9-mux" + +- #clock-cells : from common clock binding; shall be set to 0. + +- reg : A Base address and length of the register set. + +- clocks : from common clock binding + +Example: + + clk_m_a9: clk-m-a9@92b0000 { + #clock-cells = <0>; + compatible = "st,stih407-clkgen-a9-mux"; + reg = <0x92b0000 0x10000>; + + clocks = <&clockgen_a9_pll 0>, + <&clockgen_a9_pll 0>, + <&clk_s_c0_flexgen 13>, + <&clk_m_a9_ext2f_div2>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/st/st,clkgen-pll.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/st/st,clkgen-pll.txt index 74062f6248..d0fa1e02d0 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/st/st,clkgen-pll.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/st/st,clkgen-pll.txt @@ -1,40 +1,40 @@ -Binding for a ST pll clock driver. - -This binding uses the common clock binding[1]. -Base address is located to the parent node. See clock binding[2] - -[1] Documentation/devicetree/bindings/clock/clock-bindings.txt -[2] Documentation/devicetree/bindings/clock/st/st,clkgen.txt - -Required properties: - -- compatible : shall be: - "st,clkgen-pll0" - "st,clkgen-pll0-a0" - "st,clkgen-pll0-c0" - "st,clkgen-pll1" - "st,clkgen-pll1-c0" - "st,stih407-clkgen-plla9" - "st,stih418-clkgen-plla9" - -- #clock-cells : From common clock binding; shall be set to 1. - -- clocks : From common clock binding - -- clock-output-names : From common clock binding. - -Example: - - clockgen-a9@92b0000 { - compatible = "st,clkgen-c32"; - reg = <0x92b0000 0xffff>; - - clockgen_a9_pll: clockgen-a9-pll { - #clock-cells = <1>; - compatible = "st,stih407-clkgen-plla9"; - - clocks = <&clk_sysin>; - - clock-output-names = "clockgen-a9-pll-odf"; - }; - }; +Binding for a ST pll clock driver. + +This binding uses the common clock binding[1]. +Base address is located to the parent node. See clock binding[2] + +[1] Documentation/devicetree/bindings/clock/clock-bindings.txt +[2] Documentation/devicetree/bindings/clock/st/st,clkgen.txt + +Required properties: + +- compatible : shall be: + "st,clkgen-pll0" + "st,clkgen-pll0-a0" + "st,clkgen-pll0-c0" + "st,clkgen-pll1" + "st,clkgen-pll1-c0" + "st,stih407-clkgen-plla9" + "st,stih418-clkgen-plla9" + +- #clock-cells : From common clock binding; shall be set to 1. + +- clocks : From common clock binding + +- clock-output-names : From common clock binding. + +Example: + + clockgen-a9@92b0000 { + compatible = "st,clkgen-c32"; + reg = <0x92b0000 0xffff>; + + clockgen_a9_pll: clockgen-a9-pll { + #clock-cells = <1>; + compatible = "st,stih407-clkgen-plla9"; + + clocks = <&clk_sysin>; + + clock-output-names = "clockgen-a9-pll-odf"; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/ti,am62-audio-refclk.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/ti,am62-audio-refclk.yaml index 78e4992632..b2e40bd39a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/ti,am62-audio-refclk.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/ti,am62-audio-refclk.yaml @@ -1,43 +1,43 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/ti,am62-audio-refclk.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: TI Audio Reference Clock - -maintainers: - - Jai Luthra - -properties: - compatible: - items: - - const: ti,am62-audio-refclk - - reg: - maxItems: 1 - - "#clock-cells": - const: 0 - - clocks: - maxItems: 1 - -required: - - compatible - - reg - - "#clock-cells" - - clocks - -additionalProperties: false - -examples: - - | - audio_refclk0: clock@82e0 { - compatible = "ti,am62-audio-refclk"; - reg = <0x82e0 0x4>; - clocks = <&k3_clks 157 0>; - assigned-clocks = <&k3_clks 157 0>; - assigned-clock-parents = <&k3_clks 157 8>; - #clock-cells = <0>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/ti,am62-audio-refclk.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: TI Audio Reference Clock + +maintainers: + - Jai Luthra + +properties: + compatible: + items: + - const: ti,am62-audio-refclk + + reg: + maxItems: 1 + + "#clock-cells": + const: 0 + + clocks: + maxItems: 1 + +required: + - compatible + - reg + - "#clock-cells" + - clocks + +additionalProperties: false + +examples: + - | + audio_refclk0: clock@82e0 { + compatible = "ti,am62-audio-refclk"; + reg = <0x82e0 0x4>; + clocks = <&k3_clks 157 0>; + assigned-clocks = <&k3_clks 157 0>; + assigned-clock-parents = <&k3_clks 157 8>; + #clock-cells = <0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/ti,am654-ehrpwm-tbclk.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/ti,am654-ehrpwm-tbclk.yaml index 02fb7eb7f0..64b8bce596 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/ti,am654-ehrpwm-tbclk.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/ti,am654-ehrpwm-tbclk.yaml @@ -1,39 +1,39 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/ti,am654-ehrpwm-tbclk.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: TI EHRPWM Time Base Clock - -maintainers: - - Vignesh Raghavendra - -properties: - compatible: - items: - - enum: - - ti,am654-ehrpwm-tbclk - - ti,am64-epwm-tbclk - - ti,am62-epwm-tbclk - - "#clock-cells": - const: 1 - - reg: - maxItems: 1 - -required: - - compatible - - "#clock-cells" - - reg - -additionalProperties: false - -examples: - - | - ehrpwm_tbclk: clock@4140 { - compatible = "ti,am654-ehrpwm-tbclk"; - reg = <0x4140 0x18>; - #clock-cells = <1>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/ti,am654-ehrpwm-tbclk.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: TI EHRPWM Time Base Clock + +maintainers: + - Vignesh Raghavendra + +properties: + compatible: + items: + - enum: + - ti,am654-ehrpwm-tbclk + - ti,am64-epwm-tbclk + - ti,am62-epwm-tbclk + + "#clock-cells": + const: 1 + + reg: + maxItems: 1 + +required: + - compatible + - "#clock-cells" + - reg + +additionalProperties: false + +examples: + - | + ehrpwm_tbclk: clock@4140 { + compatible = "ti,am654-ehrpwm-tbclk"; + reg = <0x4140 0x18>; + #clock-cells = <1>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/ti/clockdomain.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/ti/clockdomain.txt index ee1e7fe5fd..edf0b5d427 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/ti/clockdomain.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/ti/clockdomain.txt @@ -1,25 +1,25 @@ -Binding for Texas Instruments clockdomain. - -This binding uses the common clock binding[1] in consumer role. -Every clock on TI SoC belongs to one clockdomain, but software -only needs this information for specific clocks which require -their parent clockdomain to be controlled when the clock is -enabled/disabled. This binding doesn't define a new clock -binding type, it is used to group existing clock nodes under -hardware hierarchy. - -[1] Documentation/devicetree/bindings/clock/clock-bindings.txt - -Required properties: -- compatible : shall be "ti,clockdomain" -- #clock-cells : from common clock binding; shall be set to 0. -- clocks : link phandles of clocks within this domain - -Optional properties: -- clock-output-names : from common clock binding. - -Examples: - dss_clkdm: dss_clkdm { - compatible = "ti,clockdomain"; - clocks = <&dss1_alwon_fck_3430es2>, <&dss_ick_3430es2>; - }; +Binding for Texas Instruments clockdomain. + +This binding uses the common clock binding[1] in consumer role. +Every clock on TI SoC belongs to one clockdomain, but software +only needs this information for specific clocks which require +their parent clockdomain to be controlled when the clock is +enabled/disabled. This binding doesn't define a new clock +binding type, it is used to group existing clock nodes under +hardware hierarchy. + +[1] Documentation/devicetree/bindings/clock/clock-bindings.txt + +Required properties: +- compatible : shall be "ti,clockdomain" +- #clock-cells : from common clock binding; shall be set to 0. +- clocks : link phandles of clocks within this domain + +Optional properties: +- clock-output-names : from common clock binding. + +Examples: + dss_clkdm: dss_clkdm { + compatible = "ti,clockdomain"; + clocks = <&dss1_alwon_fck_3430es2>, <&dss_ick_3430es2>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/ti/ti,clksel.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/ti/ti,clksel.yaml index 975dcc1e3b..d525f96cf2 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/ti/ti,clksel.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/ti/ti,clksel.yaml @@ -1,51 +1,51 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/ti/ti,clksel.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: TI clksel clock - -maintainers: - - Tony Lindgren - -description: | - The TI CLKSEL clocks consist of consist of input clock mux bits, and in some - cases also has divider, multiplier and gate bits. - -properties: - compatible: - const: ti,clksel - - reg: - maxItems: 1 - description: The CLKSEL register range - - '#address-cells': - enum: [ 0, 1, 2 ] - - '#size-cells': - enum: [ 0, 1, 2 ] - - ranges: true - - "#clock-cells": - const: 2 - description: The CLKSEL register and bit offset - -required: - - compatible - - reg - - "#clock-cells" - -additionalProperties: - type: object - -examples: - - | - clksel_gfx_fclk: clock@52c { - compatible = "ti,clksel"; - reg = <0x25c 0x4>; - #clock-cells = <2>; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/ti/ti,clksel.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: TI clksel clock + +maintainers: + - Tony Lindgren + +description: | + The TI CLKSEL clocks consist of consist of input clock mux bits, and in some + cases also has divider, multiplier and gate bits. + +properties: + compatible: + const: ti,clksel + + reg: + maxItems: 1 + description: The CLKSEL register range + + '#address-cells': + enum: [ 0, 1, 2 ] + + '#size-cells': + enum: [ 0, 1, 2 ] + + ranges: true + + "#clock-cells": + const: 2 + description: The CLKSEL register and bit offset + +required: + - compatible + - reg + - "#clock-cells" + +additionalProperties: + type: object + +examples: + - | + clksel_gfx_fclk: clock@52c { + compatible = "ti,clksel"; + reg = <0x25c 0x4>; + #clock-cells = <2>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/cpufreq/cpufreq-spear.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/cpufreq/cpufreq-spear.txt index 32a4783e6f..f3d44984d9 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/cpufreq/cpufreq-spear.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/cpufreq/cpufreq-spear.txt @@ -1,42 +1,42 @@ -SPEAr cpufreq driver -------------------- - -SPEAr SoC cpufreq driver for CPU frequency scaling. -It supports both uniprocessor (UP) and symmetric multiprocessor (SMP) systems -which share clock across all CPUs. - -Required properties: -- cpufreq_tbl: Table of frequencies CPU could be transitioned into, in the - increasing order. - -Optional properties: -- clock-latency: Specify the possible maximum transition latency for clock, in - unit of nanoseconds. - -Both required and optional properties listed above must be defined under node -/cpus/cpu@0. - -Examples: --------- -cpus { - - <...> - - cpu@0 { - compatible = "arm,cortex-a9"; - reg = <0>; - - <...> - - cpufreq_tbl = < 166000 - 200000 - 250000 - 300000 - 400000 - 500000 - 600000 >; - }; - - <...> - -}; +SPEAr cpufreq driver +------------------- + +SPEAr SoC cpufreq driver for CPU frequency scaling. +It supports both uniprocessor (UP) and symmetric multiprocessor (SMP) systems +which share clock across all CPUs. + +Required properties: +- cpufreq_tbl: Table of frequencies CPU could be transitioned into, in the + increasing order. + +Optional properties: +- clock-latency: Specify the possible maximum transition latency for clock, in + unit of nanoseconds. + +Both required and optional properties listed above must be defined under node +/cpus/cpu@0. + +Examples: +-------- +cpus { + + <...> + + cpu@0 { + compatible = "arm,cortex-a9"; + reg = <0>; + + <...> + + cpufreq_tbl = < 166000 + 200000 + 250000 + 300000 + 400000 + 500000 + 600000 >; + }; + + <...> + +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/cpufreq/imx-cpufreq-dt.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/cpufreq/imx-cpufreq-dt.txt index 092c477f3b..87bff5add3 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/cpufreq/imx-cpufreq-dt.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/cpufreq/imx-cpufreq-dt.txt @@ -1,37 +1,37 @@ -i.MX CPUFreq-DT OPP bindings -================================ - -Certain i.MX SoCs support different OPPs depending on the "market segment" and -"speed grading" value which are written in fuses. These bits are combined with -the opp-supported-hw values for each OPP to check if the OPP is allowed. - -Required properties: --------------------- - -For each opp entry in 'operating-points-v2' table: -- opp-supported-hw: Two bitmaps indicating: - - Supported speed grade mask - - Supported market segment mask - 0: Consumer - 1: Extended Consumer - 2: Industrial - 3: Automotive - -Example: --------- - -opp_table { - compatible = "operating-points-v2"; - opp-1000000000 { - opp-hz = /bits/ 64 <1000000000>; - /* grade >= 0, consumer only */ - opp-supported-hw = <0xf>, <0x3>; - }; - - opp-1300000000 { - opp-hz = /bits/ 64 <1300000000>; - opp-microvolt = <1000000>; - /* grade >= 1, all segments */ - opp-supported-hw = <0xe>, <0x7>; - }; -} +i.MX CPUFreq-DT OPP bindings +================================ + +Certain i.MX SoCs support different OPPs depending on the "market segment" and +"speed grading" value which are written in fuses. These bits are combined with +the opp-supported-hw values for each OPP to check if the OPP is allowed. + +Required properties: +-------------------- + +For each opp entry in 'operating-points-v2' table: +- opp-supported-hw: Two bitmaps indicating: + - Supported speed grade mask + - Supported market segment mask + 0: Consumer + 1: Extended Consumer + 2: Industrial + 3: Automotive + +Example: +-------- + +opp_table { + compatible = "operating-points-v2"; + opp-1000000000 { + opp-hz = /bits/ 64 <1000000000>; + /* grade >= 0, consumer only */ + opp-supported-hw = <0xf>, <0x3>; + }; + + opp-1300000000 { + opp-hz = /bits/ 64 <1300000000>; + opp-microvolt = <1000000>; + /* grade >= 1, all segments */ + opp-supported-hw = <0xe>, <0x7>; + }; +} diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/crypto/brcm,spu-crypto.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/crypto/brcm,spu-crypto.txt index 2252cd7e29..29b6007568 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/crypto/brcm,spu-crypto.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/crypto/brcm,spu-crypto.txt @@ -1,22 +1,22 @@ -The Broadcom Secure Processing Unit (SPU) hardware supports symmetric -cryptographic offload for Broadcom SoCs. A SoC may have multiple SPU hardware -blocks. - -Required properties: -- compatible: Should be one of the following: - brcm,spum-crypto - for devices with SPU-M hardware - brcm,spu2-crypto - for devices with SPU2 hardware - brcm,spu2-v2-crypto - for devices with enhanced SPU2 hardware features like SHA3 - and Rabin Fingerprint support - brcm,spum-nsp-crypto - for the Northstar Plus variant of the SPU-M hardware - -- reg: Should contain SPU registers location and length. -- mboxes: The mailbox channel to be used to communicate with the SPU. - Mailbox channels correspond to DMA rings on the device. - -Example: - crypto@612d0000 { - compatible = "brcm,spum-crypto"; - reg = <0 0x612d0000 0 0x900>; - mboxes = <&pdc0 0>; - }; +The Broadcom Secure Processing Unit (SPU) hardware supports symmetric +cryptographic offload for Broadcom SoCs. A SoC may have multiple SPU hardware +blocks. + +Required properties: +- compatible: Should be one of the following: + brcm,spum-crypto - for devices with SPU-M hardware + brcm,spu2-crypto - for devices with SPU2 hardware + brcm,spu2-v2-crypto - for devices with enhanced SPU2 hardware features like SHA3 + and Rabin Fingerprint support + brcm,spum-nsp-crypto - for the Northstar Plus variant of the SPU-M hardware + +- reg: Should contain SPU registers location and length. +- mboxes: The mailbox channel to be used to communicate with the SPU. + Mailbox channels correspond to DMA rings on the device. + +Example: + crypto@612d0000 { + compatible = "brcm,spum-crypto"; + reg = <0 0x612d0000 0 0x900>; + mboxes = <&pdc0 0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/crypto/img-hash.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/crypto/img-hash.txt index 110a431352..91a3d757d6 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/crypto/img-hash.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/crypto/img-hash.txt @@ -1,27 +1,27 @@ -Imagination Technologies hardware hash accelerator - -The hash accelerator provides hardware hashing acceleration for -SHA1, SHA224, SHA256 and MD5 hashes - -Required properties: - -- compatible : "img,hash-accelerator" -- reg : Offset and length of the register set for the module, and the DMA port -- interrupts : The designated IRQ line for the hashing module. -- dmas : DMA specifier as per Documentation/devicetree/bindings/dma/dma.txt -- dma-names : Should be "tx" -- clocks : Clock specifiers -- clock-names : "sys" Used to clock the hash block registers - "hash" Used to clock data through the accelerator - -Example: - - hash: hash@18149600 { - compatible = "img,hash-accelerator"; - reg = <0x18149600 0x100>, <0x18101100 0x4>; - interrupts = ; - dmas = <&dma 8 0xffffffff 0>; - dma-names = "tx"; - clocks = <&cr_periph SYS_CLK_HASH>, <&clk_periph PERIPH_CLK_ROM>; - clock-names = "sys", "hash"; - }; +Imagination Technologies hardware hash accelerator + +The hash accelerator provides hardware hashing acceleration for +SHA1, SHA224, SHA256 and MD5 hashes + +Required properties: + +- compatible : "img,hash-accelerator" +- reg : Offset and length of the register set for the module, and the DMA port +- interrupts : The designated IRQ line for the hashing module. +- dmas : DMA specifier as per Documentation/devicetree/bindings/dma/dma.txt +- dma-names : Should be "tx" +- clocks : Clock specifiers +- clock-names : "sys" Used to clock the hash block registers + "hash" Used to clock data through the accelerator + +Example: + + hash: hash@18149600 { + compatible = "img,hash-accelerator"; + reg = <0x18149600 0x100>, <0x18101100 0x4>; + interrupts = ; + dmas = <&dma 8 0xffffffff 0>; + dma-names = "tx"; + clocks = <&cr_periph SYS_CLK_HASH>, <&clk_periph PERIPH_CLK_ROM>; + clock-names = "sys", "hash"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/crypto/intel,keembay-ocs-aes.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/crypto/intel,keembay-ocs-aes.yaml index 50f888577c..fedd8be56a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/crypto/intel,keembay-ocs-aes.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/crypto/intel,keembay-ocs-aes.yaml @@ -1,45 +1,45 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/crypto/intel,keembay-ocs-aes.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Intel Keem Bay OCS AES - -maintainers: - - Daniele Alessandrelli - -description: - The Intel Keem Bay Offload and Crypto Subsystem (OCS) AES engine provides - hardware-accelerated AES/SM4 encryption/decryption. - -properties: - compatible: - const: intel,keembay-ocs-aes - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - maxItems: 1 - -required: - - compatible - - reg - - interrupts - - clocks - -additionalProperties: false - -examples: - - | - #include - crypto@30008000 { - compatible = "intel,keembay-ocs-aes"; - reg = <0x30008000 0x1000>; - interrupts = ; - clocks = <&scmi_clk 95>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/crypto/intel,keembay-ocs-aes.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Intel Keem Bay OCS AES + +maintainers: + - Daniele Alessandrelli + +description: + The Intel Keem Bay Offload and Crypto Subsystem (OCS) AES engine provides + hardware-accelerated AES/SM4 encryption/decryption. + +properties: + compatible: + const: intel,keembay-ocs-aes + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + - clocks + +additionalProperties: false + +examples: + - | + #include + crypto@30008000 { + compatible = "intel,keembay-ocs-aes"; + reg = <0x30008000 0x1000>; + interrupts = ; + clocks = <&scmi_clk 95>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/crypto/mediatek-crypto.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/crypto/mediatek-crypto.txt index 279358162e..450da3661c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/crypto/mediatek-crypto.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/crypto/mediatek-crypto.txt @@ -1,25 +1,25 @@ -MediaTek cryptographic accelerators - -Required properties: -- compatible: Should be "mediatek,eip97-crypto" -- reg: Address and length of the register set for the device -- interrupts: Should contain the five crypto engines interrupts in numeric - order. These are global system and four descriptor rings. -- clocks: the clock used by the core -- clock-names: Must contain "cryp". -- power-domains: Must contain a reference to the PM domain. - - -Example: - crypto: crypto@1b240000 { - compatible = "mediatek,eip97-crypto"; - reg = <0 0x1b240000 0 0x20000>; - interrupts = , - , - , - , - ; - clocks = <ðsys CLK_ETHSYS_CRYPTO>; - clock-names = "cryp"; - power-domains = <&scpsys MT2701_POWER_DOMAIN_ETH>; - }; +MediaTek cryptographic accelerators + +Required properties: +- compatible: Should be "mediatek,eip97-crypto" +- reg: Address and length of the register set for the device +- interrupts: Should contain the five crypto engines interrupts in numeric + order. These are global system and four descriptor rings. +- clocks: the clock used by the core +- clock-names: Must contain "cryp". +- power-domains: Must contain a reference to the PM domain. + + +Example: + crypto: crypto@1b240000 { + compatible = "mediatek,eip97-crypto"; + reg = <0 0x1b240000 0 0x20000>; + interrupts = , + , + , + , + ; + clocks = <ðsys CLK_ETHSYS_CRYPTO>; + clock-names = "cryp"; + power-domains = <&scpsys MT2701_POWER_DOMAIN_ETH>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/crypto/samsung-slimsss.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/crypto/samsung-slimsss.yaml index ac4823a37f..5b31891c97 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/crypto/samsung-slimsss.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/crypto/samsung-slimsss.yaml @@ -1,45 +1,45 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/crypto/samsung-slimsss.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Samsung Exynos SoC SlimSSS (Slim Security SubSystem) module - -maintainers: - - Krzysztof Kozlowski - -description: |+ - The SlimSSS module in Exynos5433 SoC supports the following: - -- Feeder (FeedCtrl) - -- Advanced Encryption Standard (AES) with ECB,CBC,CTR,XTS and (CBC/XTS)/CTS - -- SHA-1/SHA-256 and (SHA-1/SHA-256)/HMAC - -properties: - compatible: - items: - - const: samsung,exynos5433-slim-sss - - reg: - maxItems: 1 - - clocks: - maxItems: 2 - - clock-names: - items: - - const: pclk - - const: aclk - - interrupts: - description: One feed control interrupt. - maxItems: 1 - -required: - - compatible - - reg - - clock-names - - clocks - - interrupts - -additionalProperties: false +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/crypto/samsung-slimsss.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Samsung Exynos SoC SlimSSS (Slim Security SubSystem) module + +maintainers: + - Krzysztof Kozlowski + +description: |+ + The SlimSSS module in Exynos5433 SoC supports the following: + -- Feeder (FeedCtrl) + -- Advanced Encryption Standard (AES) with ECB,CBC,CTR,XTS and (CBC/XTS)/CTS + -- SHA-1/SHA-256 and (SHA-1/SHA-256)/HMAC + +properties: + compatible: + items: + - const: samsung,exynos5433-slim-sss + + reg: + maxItems: 1 + + clocks: + maxItems: 2 + + clock-names: + items: + - const: pclk + - const: aclk + + interrupts: + description: One feed control interrupt. + maxItems: 1 + +required: + - compatible + - reg + - clock-names + - clocks + - interrupts + +additionalProperties: false diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/crypto/st,stm32-crc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/crypto/st,stm32-crc.yaml index 0a1a8a85a1..50b2c2e0c3 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/crypto/st,stm32-crc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/crypto/st,stm32-crc.yaml @@ -1,38 +1,38 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/crypto/st,stm32-crc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: STMicroelectronics STM32 CRC - -maintainers: - - Lionel Debieve - -properties: - compatible: - const: st,stm32f7-crc - - reg: - maxItems: 1 - - clocks: - maxItems: 1 - -required: - - compatible - - reg - - clocks - -additionalProperties: false - -examples: - - | - #include - crc@40023000 { - compatible = "st,stm32f7-crc"; - reg = <0x40023000 0x400>; - clocks = <&rcc 0 12>; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/crypto/st,stm32-crc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: STMicroelectronics STM32 CRC + +maintainers: + - Lionel Debieve + +properties: + compatible: + const: st,stm32f7-crc + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + +required: + - compatible + - reg + - clocks + +additionalProperties: false + +examples: + - | + #include + crc@40023000 { + compatible = "st,stm32f7-crc"; + reg = <0x40023000 0x400>; + clocks = <&rcc 0 12>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/crypto/xlnx,zynqmp-aes.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/crypto/xlnx,zynqmp-aes.yaml index 9c84cbf9d7..8aead97a58 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/crypto/xlnx,zynqmp-aes.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/crypto/xlnx,zynqmp-aes.yaml @@ -1,37 +1,37 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/crypto/xlnx,zynqmp-aes.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Xilinx ZynqMP AES-GCM Hardware Accelerator - -maintainers: - - Kalyani Akula - - Michal Simek - -description: | - The ZynqMP AES-GCM hardened cryptographic accelerator is used to - encrypt or decrypt the data with provided key and initialization vector. - -properties: - compatible: - const: xlnx,zynqmp-aes - -required: - - compatible - -additionalProperties: false - -examples: - - | - firmware { - zynqmp_firmware: zynqmp-firmware { - compatible = "xlnx,zynqmp-firmware"; - method = "smc"; - xlnx_aes: zynqmp-aes { - compatible = "xlnx,zynqmp-aes"; - }; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/crypto/xlnx,zynqmp-aes.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Xilinx ZynqMP AES-GCM Hardware Accelerator + +maintainers: + - Kalyani Akula + - Michal Simek + +description: | + The ZynqMP AES-GCM hardened cryptographic accelerator is used to + encrypt or decrypt the data with provided key and initialization vector. + +properties: + compatible: + const: xlnx,zynqmp-aes + +required: + - compatible + +additionalProperties: false + +examples: + - | + firmware { + zynqmp_firmware: zynqmp-firmware { + compatible = "xlnx,zynqmp-firmware"; + method = "smc"; + xlnx_aes: zynqmp-aes { + compatible = "xlnx,zynqmp-aes"; + }; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/csky/pmu.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/csky/pmu.txt index 5e8ea94725..728d05ca6a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/csky/pmu.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/csky/pmu.txt @@ -1,38 +1,38 @@ -=============================== -C-SKY Performance Monitor Units -=============================== - -C-SKY Performance Monitor is designed for ck807/ck810/ck860 SMP soc and -it could count cpu's events for helping analysis performance issues. - -============================ -PMU node bindings definition -============================ - - Description: Describes PMU - - PROPERTIES - - - compatible - Usage: required - Value type: - Definition: must be "csky,csky-pmu" - - interrupts - Usage: required - Value type: - Definition: must be pmu irq num defined by soc - - count-width - Usage: optional - Value type: - Definition: the width of pmu counter - -Examples: ---------- -#include - - pmu: performace-monitor { - compatible = "csky,csky-pmu"; - interrupts = <23 IRQ_TYPE_EDGE_RISING>; - interrupt-parent = <&intc>; - count-width = <48>; - }; +=============================== +C-SKY Performance Monitor Units +=============================== + +C-SKY Performance Monitor is designed for ck807/ck810/ck860 SMP soc and +it could count cpu's events for helping analysis performance issues. + +============================ +PMU node bindings definition +============================ + + Description: Describes PMU + + PROPERTIES + + - compatible + Usage: required + Value type: + Definition: must be "csky,csky-pmu" + - interrupts + Usage: required + Value type: + Definition: must be pmu irq num defined by soc + - count-width + Usage: optional + Value type: + Definition: the width of pmu counter + +Examples: +--------- +#include + + pmu: performace-monitor { + compatible = "csky,csky-pmu"; + interrupts = <23 IRQ_TYPE_EDGE_RISING>; + interrupt-parent = <&intc>; + count-width = <48>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/brcm,bcm2835-hvs.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/brcm,bcm2835-hvs.yaml index 9118c17b4f..2e8566f47e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/brcm,bcm2835-hvs.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/brcm,bcm2835-hvs.yaml @@ -1,53 +1,53 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/brcm,bcm2835-hvs.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Broadcom VC4 (VideoCore4) Hardware Video Scaler - -maintainers: - - Eric Anholt - -properties: - compatible: - enum: - - brcm,bcm2711-hvs - - brcm,bcm2835-hvs - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - maxItems: 1 - description: Core Clock - -required: - - compatible - - reg - - interrupts - -additionalProperties: false - -if: - properties: - compatible: - contains: - const: brcm,bcm2711-hvs - -then: - required: - - clocks - -examples: - - | - hvs@7e400000 { - compatible = "brcm,bcm2835-hvs"; - reg = <0x7e400000 0x6000>; - interrupts = <2 1>; - }; - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/brcm,bcm2835-hvs.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom VC4 (VideoCore4) Hardware Video Scaler + +maintainers: + - Eric Anholt + +properties: + compatible: + enum: + - brcm,bcm2711-hvs + - brcm,bcm2835-hvs + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + description: Core Clock + +required: + - compatible + - reg + - interrupts + +additionalProperties: false + +if: + properties: + compatible: + contains: + const: brcm,bcm2711-hvs + +then: + required: + - clocks + +examples: + - | + hvs@7e400000 { + compatible = "brcm,bcm2835-hvs"; + reg = <0x7e400000 0x6000>; + interrupts = <2 1>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/brcm,bcm2835-pixelvalve0.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/brcm,bcm2835-pixelvalve0.yaml index 81ff32712d..4e1ba03f64 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/brcm,bcm2835-pixelvalve0.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/brcm,bcm2835-pixelvalve0.yaml @@ -1,45 +1,45 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/brcm,bcm2835-pixelvalve0.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Broadcom VC4 (VideoCore4) PixelValve - -maintainers: - - Eric Anholt - -properties: - compatible: - enum: - - brcm,bcm2835-pixelvalve0 - - brcm,bcm2835-pixelvalve1 - - brcm,bcm2835-pixelvalve2 - - brcm,bcm2711-pixelvalve0 - - brcm,bcm2711-pixelvalve1 - - brcm,bcm2711-pixelvalve2 - - brcm,bcm2711-pixelvalve3 - - brcm,bcm2711-pixelvalve4 - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - -required: - - compatible - - reg - - interrupts - -additionalProperties: false - -examples: - - | - pixelvalve@7e807000 { - compatible = "brcm,bcm2835-pixelvalve2"; - reg = <0x7e807000 0x100>; - interrupts = <2 10>; /* pixelvalve */ - }; - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/brcm,bcm2835-pixelvalve0.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom VC4 (VideoCore4) PixelValve + +maintainers: + - Eric Anholt + +properties: + compatible: + enum: + - brcm,bcm2835-pixelvalve0 + - brcm,bcm2835-pixelvalve1 + - brcm,bcm2835-pixelvalve2 + - brcm,bcm2711-pixelvalve0 + - brcm,bcm2711-pixelvalve1 + - brcm,bcm2711-pixelvalve2 + - brcm,bcm2711-pixelvalve3 + - brcm,bcm2711-pixelvalve4 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + +additionalProperties: false + +examples: + - | + pixelvalve@7e807000 { + compatible = "brcm,bcm2835-pixelvalve2"; + reg = <0x7e807000 0x100>; + interrupts = <2 10>; /* pixelvalve */ + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/brcm,bcm2835-txp.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/brcm,bcm2835-txp.yaml index b5457a20ae..bb186197e4 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/brcm,bcm2835-txp.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/brcm,bcm2835-txp.yaml @@ -1,37 +1,37 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/brcm,bcm2835-txp.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Broadcom VC4 (VideoCore4) TXP (writeback) Controller - -maintainers: - - Eric Anholt - -properties: - compatible: - const: brcm,bcm2835-txp - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - -required: - - compatible - - reg - - interrupts - -additionalProperties: false - -examples: - - | - txp: txp@7e004000 { - compatible = "brcm,bcm2835-txp"; - reg = <0x7e004000 0x20>; - interrupts = <1 11>; - }; - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/brcm,bcm2835-txp.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom VC4 (VideoCore4) TXP (writeback) Controller + +maintainers: + - Eric Anholt + +properties: + compatible: + const: brcm,bcm2835-txp + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + +additionalProperties: false + +examples: + - | + txp: txp@7e004000 { + compatible = "brcm,bcm2835-txp"; + reg = <0x7e004000 0x20>; + interrupts = <1 11>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/brcm,bcm2835-v3d.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/brcm,bcm2835-v3d.yaml index 00ec0ba671..c55a8217de 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/brcm,bcm2835-v3d.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/brcm,bcm2835-v3d.yaml @@ -1,45 +1,45 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/brcm,bcm2835-v3d.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Broadcom VC4 (VideoCore4) V3D GPU - -maintainers: - - Eric Anholt - -properties: - compatible: - enum: - - brcm,bcm2835-v3d - - brcm,cygnus-v3d - - reg: - maxItems: 1 - - clocks: - maxItems: 1 - - interrupts: - maxItems: 1 - - power-domains: - maxItems: 1 - -required: - - compatible - - reg - - interrupts - -additionalProperties: false - -examples: - - | - v3d: v3d@7ec00000 { - compatible = "brcm,bcm2835-v3d"; - reg = <0x7ec00000 0x1000>; - interrupts = <1 10>; - }; - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/brcm,bcm2835-v3d.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom VC4 (VideoCore4) V3D GPU + +maintainers: + - Eric Anholt + +properties: + compatible: + enum: + - brcm,bcm2835-v3d + - brcm,cygnus-v3d + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + interrupts: + maxItems: 1 + + power-domains: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + +additionalProperties: false + +examples: + - | + v3d: v3d@7ec00000 { + compatible = "brcm,bcm2835-v3d"; + reg = <0x7ec00000 0x1000>; + interrupts = <1 10>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/brcm,bcm2835-vc4.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/brcm,bcm2835-vc4.yaml index 1c4d31460a..49a5e041aa 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/brcm,bcm2835-vc4.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/brcm,bcm2835-vc4.yaml @@ -1,35 +1,35 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/brcm,bcm2835-vc4.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Broadcom VC4 (VideoCore4) GPU - -maintainers: - - Eric Anholt - -description: > - The VC4 device present on the Raspberry Pi includes a display system - with HDMI output and the HVS (Hardware Video Scaler) for compositing - display planes. - -properties: - compatible: - enum: - - brcm,bcm2711-vc5 - - brcm,bcm2835-vc4 - - brcm,cygnus-vc4 - -required: - - compatible - -additionalProperties: false - -examples: - - | - vc4: gpu { - compatible = "brcm,bcm2835-vc4"; - }; - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/brcm,bcm2835-vc4.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom VC4 (VideoCore4) GPU + +maintainers: + - Eric Anholt + +description: > + The VC4 device present on the Raspberry Pi includes a display system + with HDMI output and the HVS (Hardware Video Scaler) for compositing + display planes. + +properties: + compatible: + enum: + - brcm,bcm2711-vc5 + - brcm,bcm2835-vc4 + - brcm,cygnus-vc4 + +required: + - compatible + +additionalProperties: false + +examples: + - | + vc4: gpu { + compatible = "brcm,bcm2835-vc4"; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/brcm,bcm2835-vec.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/brcm,bcm2835-vec.yaml index 75b84345a8..5d921e3039 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/brcm,bcm2835-vec.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/brcm,bcm2835-vec.yaml @@ -1,49 +1,49 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/brcm,bcm2835-vec.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Broadcom VC4 (VideoCore4) VEC - -maintainers: - - Eric Anholt - -properties: - compatible: - enum: - - brcm,bcm2711-vec - - brcm,bcm2835-vec - - reg: - maxItems: 1 - - clocks: - maxItems: 1 - - interrupts: - maxItems: 1 - - power-domains: - maxItems: 1 - -required: - - compatible - - reg - - clocks - - interrupts - -additionalProperties: false - -examples: - - | - #include - - vec: vec@7e806000 { - compatible = "brcm,bcm2835-vec"; - reg = <0x7e806000 0x1000>; - clocks = <&clocks BCM2835_CLOCK_VEC>; - interrupts = <2 27>; - }; - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/brcm,bcm2835-vec.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom VC4 (VideoCore4) VEC + +maintainers: + - Eric Anholt + +properties: + compatible: + enum: + - brcm,bcm2711-vec + - brcm,bcm2835-vec + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + interrupts: + maxItems: 1 + + power-domains: + maxItems: 1 + +required: + - compatible + - reg + - clocks + - interrupts + +additionalProperties: false + +examples: + - | + #include + + vec: vec@7e806000 { + compatible = "brcm,bcm2835-vec"; + reg = <0x7e806000 0x1000>; + clocks = <&clocks BCM2835_CLOCK_VEC>; + interrupts = <2 27>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/connector/vga-connector.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/connector/vga-connector.yaml index 0a894002a4..25f8680020 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/connector/vga-connector.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/connector/vga-connector.yaml @@ -1,47 +1,47 @@ -# SPDX-License-Identifier: GPL-2.0-only -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/connector/vga-connector.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: VGA Connector - -maintainers: - - Laurent Pinchart - -properties: - compatible: - const: vga-connector - - label: true - - ddc-i2c-bus: - description: phandle link to the I2C controller used for DDC EDID probing - $ref: /schemas/types.yaml#/definitions/phandle - - port: - $ref: /schemas/graph.yaml#/properties/port - description: Connection to controller providing VGA signals - -required: - - compatible - - port - -additionalProperties: false - -examples: - - | - connector { - compatible = "vga-connector"; - label = "vga"; - - ddc-i2c-bus = <&i2c3>; - - port { - vga_connector_in: endpoint { - remote-endpoint = <&adv7123_out>; - }; - }; - }; - -... +# SPDX-License-Identifier: GPL-2.0-only +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/connector/vga-connector.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: VGA Connector + +maintainers: + - Laurent Pinchart + +properties: + compatible: + const: vga-connector + + label: true + + ddc-i2c-bus: + description: phandle link to the I2C controller used for DDC EDID probing + $ref: /schemas/types.yaml#/definitions/phandle + + port: + $ref: /schemas/graph.yaml#/properties/port + description: Connection to controller providing VGA signals + +required: + - compatible + - port + +additionalProperties: false + +examples: + - | + connector { + compatible = "vga-connector"; + label = "vga"; + + ddc-i2c-bus = <&i2c3>; + + port { + vga_connector_in: endpoint { + remote-endpoint = <&adv7123_out>; + }; + }; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/fsl,dcu.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/fsl,dcu.txt index 13b492b5f8..63ec2a624a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/fsl,dcu.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/fsl,dcu.txt @@ -1,34 +1,34 @@ -Device Tree bindings for Freescale DCU DRM Driver - -Required properties: -- compatible: Should be one of - * "fsl,ls1021a-dcu". - * "fsl,vf610-dcu". - -- reg: Address and length of the register set for dcu. -- clocks: Handle to "dcu" and "pix" clock (in the order below) - This can be the same clock (e.g. LS1021a) - See ../clocks/clock-bindings.txt for details. -- clock-names: Should be "dcu" and "pix" - See ../clocks/clock-bindings.txt for details. -- big-endian Boolean property, LS1021A DCU registers are big-endian. -- port Video port for the panel output - -Optional properties: -- fsl,tcon: The phandle to the timing controller node. - -Examples: -dcu: dcu@2ce0000 { - compatible = "fsl,ls1021a-dcu"; - reg = <0x0 0x2ce0000 0x0 0x10000>; - clocks = <&platform_clk 0>, <&platform_clk 0>; - clock-names = "dcu", "pix"; - big-endian; - fsl,tcon = <&tcon>; - - port { - dcu_out: endpoint { - remote-endpoint = <&panel_out>; - }; - }; -}; +Device Tree bindings for Freescale DCU DRM Driver + +Required properties: +- compatible: Should be one of + * "fsl,ls1021a-dcu". + * "fsl,vf610-dcu". + +- reg: Address and length of the register set for dcu. +- clocks: Handle to "dcu" and "pix" clock (in the order below) + This can be the same clock (e.g. LS1021a) + See ../clocks/clock-bindings.txt for details. +- clock-names: Should be "dcu" and "pix" + See ../clocks/clock-bindings.txt for details. +- big-endian Boolean property, LS1021A DCU registers are big-endian. +- port Video port for the panel output + +Optional properties: +- fsl,tcon: The phandle to the timing controller node. + +Examples: +dcu: dcu@2ce0000 { + compatible = "fsl,ls1021a-dcu"; + reg = <0x0 0x2ce0000 0x0 0x10000>; + clocks = <&platform_clk 0>, <&platform_clk 0>; + clock-names = "dcu", "pix"; + big-endian; + fsl,tcon = <&tcon>; + + port { + dcu_out: endpoint { + remote-endpoint = <&panel_out>; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/himax,hx8357d.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/himax,hx8357d.txt index 08b53481aa..e641f66476 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/himax,hx8357d.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/himax,hx8357d.txt @@ -1,26 +1,26 @@ -Himax HX8357D display panels - -This binding is for display panels using a Himax HX8357D controller in SPI -mode, such as the Adafruit 3.5" TFT for Raspberry Pi. - -Required properties: -- compatible: "adafruit,yx350hv15", "himax,hx8357d" -- dc-gpios: D/C pin -- reg: address of the panel on the SPI bus - -The node for this driver must be a child node of a SPI controller, hence -all mandatory properties described in ../spi/spi-bus.txt must be specified. - -Optional properties: -- rotation: panel rotation in degrees counter clockwise (0,90,180,270) -- backlight: phandle of the backlight device attached to the panel - -Example: - display@0{ - compatible = "adafruit,yx350hv15", "himax,hx8357d"; - reg = <0>; - spi-max-frequency = <32000000>; - dc-gpios = <&gpio0 25 GPIO_ACTIVE_HIGH>; - rotation = <90>; - backlight = <&backlight>; - }; +Himax HX8357D display panels + +This binding is for display panels using a Himax HX8357D controller in SPI +mode, such as the Adafruit 3.5" TFT for Raspberry Pi. + +Required properties: +- compatible: "adafruit,yx350hv15", "himax,hx8357d" +- dc-gpios: D/C pin +- reg: address of the panel on the SPI bus + +The node for this driver must be a child node of a SPI controller, hence +all mandatory properties described in ../spi/spi-bus.txt must be specified. + +Optional properties: +- rotation: panel rotation in degrees counter clockwise (0,90,180,270) +- backlight: phandle of the backlight device attached to the panel + +Example: + display@0{ + compatible = "adafruit,yx350hv15", "himax,hx8357d"; + reg = <0>; + spi-max-frequency = <32000000>; + dc-gpios = <&gpio0 25 GPIO_ACTIVE_HIGH>; + rotation = <90>; + backlight = <&backlight>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/ilitek,ili9225.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/ilitek,ili9225.txt index fd4a652788..a59feb5201 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/ilitek,ili9225.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/ilitek,ili9225.txt @@ -1,25 +1,25 @@ -Ilitek ILI9225 display panels - -This binding is for display panels using an Ilitek ILI9225 controller in SPI -mode. - -Required properties: -- compatible: "vot,v220hf01a-t", "ilitek,ili9225" -- rs-gpios: Register select signal -- reset-gpios: Reset pin - -The node for this driver must be a child node of a SPI controller, hence -all mandatory properties described in ../spi/spi-bus.txt must be specified. - -Optional properties: -- rotation: panel rotation in degrees counter clockwise (0,90,180,270) - -Example: - display@0{ - compatible = "vot,v220hf01a-t", "ilitek,ili9225"; - reg = <0>; - spi-max-frequency = <12000000>; - rs-gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>; - reset-gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>; - rotation = <270>; - }; +Ilitek ILI9225 display panels + +This binding is for display panels using an Ilitek ILI9225 controller in SPI +mode. + +Required properties: +- compatible: "vot,v220hf01a-t", "ilitek,ili9225" +- rs-gpios: Register select signal +- reset-gpios: Reset pin + +The node for this driver must be a child node of a SPI controller, hence +all mandatory properties described in ../spi/spi-bus.txt must be specified. + +Optional properties: +- rotation: panel rotation in degrees counter clockwise (0,90,180,270) + +Example: + display@0{ + compatible = "vot,v220hf01a-t", "ilitek,ili9225"; + reg = <0>; + spi-max-frequency = <12000000>; + rs-gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>; + reset-gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>; + rotation = <270>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/intel,keembay-msscam.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/intel,keembay-msscam.yaml index 3728441434..cc7e1f318f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/intel,keembay-msscam.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/intel,keembay-msscam.yaml @@ -1,43 +1,43 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/intel,keembay-msscam.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Intel Keem Bay MSSCAM - -maintainers: - - Anitha Chrisanthus - - Edmond J Dea - -description: | - MSSCAM controls local clocks in the display subsystem namely LCD clocks and - MIPI DSI clocks. It also configures the interconnect between LCD and - MIPI DSI. - -properties: - compatible: - items: - - const: intel,keembay-msscam - - const: syscon - - reg: - maxItems: 1 - - reg-io-width: - const: 4 - -required: - - compatible - - reg - - reg-io-width - -additionalProperties: false - -examples: - - | - msscam:msscam@20910000 { - compatible = "intel,keembay-msscam", "syscon"; - reg = <0x20910000 0x30>; - reg-io-width = <4>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/intel,keembay-msscam.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Intel Keem Bay MSSCAM + +maintainers: + - Anitha Chrisanthus + - Edmond J Dea + +description: | + MSSCAM controls local clocks in the display subsystem namely LCD clocks and + MIPI DSI clocks. It also configures the interconnect between LCD and + MIPI DSI. + +properties: + compatible: + items: + - const: intel,keembay-msscam + - const: syscon + + reg: + maxItems: 1 + + reg-io-width: + const: 4 + +required: + - compatible + - reg + - reg-io-width + +additionalProperties: false + +examples: + - | + msscam:msscam@20910000 { + compatible = "intel,keembay-msscam", "syscon"; + reg = <0x20910000 0x30>; + reg-io-width = <4>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/lvds.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/lvds.yaml index ec66fbbc66..b74efbea3b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/lvds.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/lvds.yaml @@ -1,31 +1,31 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/lvds.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: LVDS Display Common Properties - -allOf: - - $ref: lvds-data-mapping.yaml# - -maintainers: - - Laurent Pinchart - - Thierry Reding - -description: - This binding extends the data mapping defined in lvds-data-mapping.yaml. - It supports reversing the bit order on the formats defined there in order - to accommodate for even more specialized data formats, since a variety of - data formats and layouts is used to drive LVDS displays. - -properties: - data-mirror: - type: boolean - description: - If set, reverse the bit order described in the data mappings on all - data lanes, transmitting bits for slots 6 to 0 instead of 0 to 6. - -additionalProperties: true - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/lvds.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: LVDS Display Common Properties + +allOf: + - $ref: lvds-data-mapping.yaml# + +maintainers: + - Laurent Pinchart + - Thierry Reding + +description: + This binding extends the data mapping defined in lvds-data-mapping.yaml. + It supports reversing the bit order on the formats defined there in order + to accommodate for even more specialized data formats, since a variety of + data formats and layouts is used to drive LVDS displays. + +properties: + data-mirror: + type: boolean + description: + If set, reverse the bit order described in the data mappings on all + data lanes, transmitting bits for slots 6 to 0 instead of 0 to 6. + +additionalProperties: true + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/msm/dsi-phy-common.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/msm/dsi-phy-common.yaml index c43a31865e..6b57ce41c9 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/msm/dsi-phy-common.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/msm/dsi-phy-common.yaml @@ -1,39 +1,39 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/msm/dsi-phy-common.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm Display DSI PHY Common Properties - -maintainers: - - Krishna Manikandan - -description: - Common properties for Qualcomm Display DSI PHY. - -properties: - "#clock-cells": - const: 1 - - "#phy-cells": - const: 0 - - clocks: - items: - - description: Display AHB clock - - description: Board XO source - - clock-names: - items: - - const: iface - - const: ref - -required: - - clocks - - clock-names - - "#clock-cells" - - "#phy-cells" - -additionalProperties: true -... +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/msm/dsi-phy-common.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Display DSI PHY Common Properties + +maintainers: + - Krishna Manikandan + +description: + Common properties for Qualcomm Display DSI PHY. + +properties: + "#clock-cells": + const: 1 + + "#phy-cells": + const: 0 + + clocks: + items: + - description: Display AHB clock + - description: Board XO source + + clock-names: + items: + - const: iface + - const: ref + +required: + - clocks + - clock-names + - "#clock-cells" + - "#phy-cells" + +additionalProperties: true +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/multi-inno,mi0283qt.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/multi-inno,mi0283qt.txt index c63b7999cc..eed48c3d48 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/multi-inno,mi0283qt.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/multi-inno,mi0283qt.txt @@ -1,27 +1,27 @@ -Multi-Inno MI0283QT display panel - -Required properties: -- compatible: "multi-inno,mi0283qt". - -The node for this driver must be a child node of a SPI controller, hence -all mandatory properties described in ../spi/spi-bus.txt must be specified. - -Optional properties: -- dc-gpios: D/C pin. The presence/absence of this GPIO determines - the panel interface mode (IM[3:0] pins): - - present: IM=x110 4-wire 8-bit data serial interface - - absent: IM=x101 3-wire 9-bit data serial interface -- reset-gpios: Reset pin -- power-supply: A regulator node for the supply voltage. -- backlight: phandle of the backlight device attached to the panel -- rotation: panel rotation in degrees counter clockwise (0,90,180,270) - -Example: - mi0283qt@0{ - compatible = "multi-inno,mi0283qt"; - reg = <0>; - spi-max-frequency = <32000000>; - rotation = <90>; - dc-gpios = <&gpio 25 0>; - backlight = <&backlight>; - }; +Multi-Inno MI0283QT display panel + +Required properties: +- compatible: "multi-inno,mi0283qt". + +The node for this driver must be a child node of a SPI controller, hence +all mandatory properties described in ../spi/spi-bus.txt must be specified. + +Optional properties: +- dc-gpios: D/C pin. The presence/absence of this GPIO determines + the panel interface mode (IM[3:0] pins): + - present: IM=x110 4-wire 8-bit data serial interface + - absent: IM=x101 3-wire 9-bit data serial interface +- reset-gpios: Reset pin +- power-supply: A regulator node for the supply voltage. +- backlight: phandle of the backlight device attached to the panel +- rotation: panel rotation in degrees counter clockwise (0,90,180,270) + +Example: + mi0283qt@0{ + compatible = "multi-inno,mi0283qt"; + reg = <0>; + spi-max-frequency = <32000000>; + rotation = <90>; + dc-gpios = <&gpio 25 0>; + backlight = <&backlight>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/armadeus,st0700-adapt.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/armadeus,st0700-adapt.yaml index 7c7a964b5c..a6ade47066 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/armadeus,st0700-adapt.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/armadeus,st0700-adapt.yaml @@ -1,33 +1,33 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/panel/armadeus,st0700-adapt.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Armadeus ST0700 Adapter - -description: - A Santek ST0700I5Y-RBSLW 7.0" WVGA (800x480) TFT with an adapter board. - -maintainers: - - '"Sébastien Szymanski" ' - - Thierry Reding - -allOf: - - $ref: panel-common.yaml# - -properties: - compatible: - const: armadeus,st0700-adapt - - power-supply: 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/armadeus,st0700-adapt.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Armadeus ST0700 Adapter + +description: + A Santek ST0700I5Y-RBSLW 7.0" WVGA (800x480) TFT with an adapter board. + +maintainers: + - '"Sébastien Szymanski" ' + - Thierry Reding + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + const: armadeus,st0700-adapt + + power-supply: 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/innolux,ee101ia-01d.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/innolux,ee101ia-01d.yaml index 826376f3ff..ab6b7be883 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/innolux,ee101ia-01d.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/innolux,ee101ia-01d.yaml @@ -1,50 +1,50 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/panel/innolux,ee101ia-01d.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Innolux Corporation 10.1" EE101IA-01D WXGA (1280x800) LVDS panel - -maintainers: - - Heiko Stuebner - - Thierry Reding - -allOf: - - $ref: panel-common.yaml# - - $ref: /schemas/display/lvds.yaml# - -select: - properties: - compatible: - contains: - const: innolux,ee101ia-01d - - required: - - compatible - -properties: - compatible: - items: - - const: innolux,ee101ia-01d - - const: panel-lvds - - backlight: true - data-mapping: true - enable-gpios: true - power-supply: true - width-mm: true - height-mm: true - panel-timing: true - port: true - -required: - - compatible - - data-mapping - - width-mm - - height-mm - - panel-timing - - port - -additionalProperties: false -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/innolux,ee101ia-01d.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Innolux Corporation 10.1" EE101IA-01D WXGA (1280x800) LVDS panel + +maintainers: + - Heiko Stuebner + - Thierry Reding + +allOf: + - $ref: panel-common.yaml# + - $ref: /schemas/display/lvds.yaml# + +select: + properties: + compatible: + contains: + const: innolux,ee101ia-01d + + required: + - compatible + +properties: + compatible: + items: + - const: innolux,ee101ia-01d + - const: panel-lvds + + backlight: true + data-mapping: true + enable-gpios: true + power-supply: true + width-mm: true + height-mm: true + panel-timing: true + port: true + +required: + - compatible + - data-mapping + - width-mm + - height-mm + - panel-timing + - port + +additionalProperties: false +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/lg,lg4573.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/lg,lg4573.yaml index 68eafb647f..590ccc27d1 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/lg,lg4573.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/lg,lg4573.yaml @@ -1,46 +1,46 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/panel/lg,lg4573.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: LG LG4573 TFT Liquid Crystal Display with SPI control bus - -description: | - The panel must obey the rules for a SPI slave device as specified in - spi/spi-controller.yaml - -maintainers: - - Heiko Schocher - -allOf: - - $ref: panel-common.yaml# - - $ref: /schemas/spi/spi-peripheral-props.yaml# - -properties: - compatible: - const: lg,lg4573 - - reg: - maxItems: 1 - -required: - - compatible - - reg - -unevaluatedProperties: false - -examples: - - | - spi { - #address-cells = <1>; - #size-cells = <0>; - - lcd_panel: display@0 { - compatible = "lg,lg4573"; - spi-max-frequency = <10000000>; - reg = <0>; - }; - }; - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/lg,lg4573.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: LG LG4573 TFT Liquid Crystal Display with SPI control bus + +description: | + The panel must obey the rules for a SPI slave device as specified in + spi/spi-controller.yaml + +maintainers: + - Heiko Schocher + +allOf: + - $ref: panel-common.yaml# + - $ref: /schemas/spi/spi-peripheral-props.yaml# + +properties: + compatible: + const: lg,lg4573 + + reg: + maxItems: 1 + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + spi { + #address-cells = <1>; + #size-cells = <0>; + + lcd_panel: display@0 { + compatible = "lg,lg4573"; + spi-max-frequency = <10000000>; + reg = <0>; + }; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/logicpd,type28.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/logicpd,type28.yaml index d67728bd1c..2834287b8d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/logicpd,type28.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/logicpd,type28.yaml @@ -1,42 +1,42 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/panel/logicpd,type28.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Logic PD Type 28 4.3" WQVGA TFT LCD panel - -maintainers: - - Adam Ford - -allOf: - - $ref: panel-common.yaml# - -properties: - compatible: - const: logicpd,type28 - - power-supply: true - enable-gpios: true - backlight: true - port: true - -required: - - compatible - -additionalProperties: false - -examples: - - | - lcd0: display { - compatible = "logicpd,type28"; - enable-gpios = <&gpio5 27 0>; - backlight = <&backlight>; - port { - lcd_in: endpoint { - remote-endpoint = <&dpi_out>; - }; - }; - }; - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/logicpd,type28.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Logic PD Type 28 4.3" WQVGA TFT LCD panel + +maintainers: + - Adam Ford + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + const: logicpd,type28 + + power-supply: true + enable-gpios: true + backlight: true + port: true + +required: + - compatible + +additionalProperties: false + +examples: + - | + lcd0: display { + compatible = "logicpd,type28"; + enable-gpios = <&gpio5 27 0>; + backlight = <&backlight>; + port { + lcd_in: endpoint { + remote-endpoint = <&dpi_out>; + }; + }; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/startek,startek-kd050c.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/startek,startek-kd050c.yaml index 215933e34e..fd668640af 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/startek,startek-kd050c.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/startek,startek-kd050c.yaml @@ -1,33 +1,33 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/panel/startek,startek-kd050c.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Startek Electronic Technology Co. KD050C 5.0" WVGA TFT LCD panel - -maintainers: - - Nikita Kiryanov - -allOf: - - $ref: panel-dpi.yaml# - -properties: - compatible: - items: - - const: startek,startek-kd050c - - {} # panel-dpi, but not listed here to avoid false select - - backlight: true - enable-gpios: true - height-mm: true - label: true - panel-timing: true - port: true - power-supply: true - reset-gpios: true - width-mm: true - -additionalProperties: false - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/startek,startek-kd050c.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Startek Electronic Technology Co. KD050C 5.0" WVGA TFT LCD panel + +maintainers: + - Nikita Kiryanov + +allOf: + - $ref: panel-dpi.yaml# + +properties: + compatible: + items: + - const: startek,startek-kd050c + - {} # panel-dpi, but not listed here to avoid false select + + backlight: true + enable-gpios: true + height-mm: true + label: true + panel-timing: true + port: true + power-supply: true + reset-gpios: true + width-mm: true + +additionalProperties: false + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/tfc,s9700rtwv43tr-01b.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/tfc,s9700rtwv43tr-01b.yaml index ce0394eeae..9e5994417c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/tfc,s9700rtwv43tr-01b.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/tfc,s9700rtwv43tr-01b.yaml @@ -1,33 +1,33 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/panel/tfc,s9700rtwv43tr-01b.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: TFC S9700RTWV43TR-01B 7" Three Five Corp 800x480 LCD panel with resistive touch - -maintainers: - - Jyri Sarha - - Thierry Reding - -description: |+ - The panel is found on TI AM335x-evm. - -allOf: - - $ref: panel-common.yaml# - -properties: - compatible: - const: tfc,s9700rtwv43tr-01b - - 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/tfc,s9700rtwv43tr-01b.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: TFC S9700RTWV43TR-01B 7" Three Five Corp 800x480 LCD panel with resistive touch + +maintainers: + - Jyri Sarha + - Thierry Reding + +description: |+ + The panel is found on TI AM335x-evm. + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + const: tfc,s9700rtwv43tr-01b + + 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/ti,nspire.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/ti,nspire.yaml index cb81faa64e..5c5a3b519e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/ti,nspire.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/ti,nspire.yaml @@ -1,36 +1,36 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/panel/ti,nspire.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Texas Instruments NSPIRE Display Panels - -maintainers: - - Linus Walleij - -allOf: - - $ref: panel-common.yaml# - -properties: - compatible: - enum: - - ti,nspire-cx-lcd-panel - - ti,nspire-classic-lcd-panel - port: true - -required: - - compatible - -additionalProperties: false - -examples: - - | - panel { - compatible = "ti,nspire-cx-lcd-panel"; - port { - panel_in: endpoint { - remote-endpoint = <&pads>; - }; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/ti,nspire.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Texas Instruments NSPIRE Display Panels + +maintainers: + - Linus Walleij + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + enum: + - ti,nspire-cx-lcd-panel + - ti,nspire-classic-lcd-panel + port: true + +required: + - compatible + +additionalProperties: false + +examples: + - | + panel { + compatible = "ti,nspire-cx-lcd-panel"; + port { + panel_in: endpoint { + remote-endpoint = <&pads>; + }; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/samsung/samsung,exynos-hdmi-ddc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/samsung/samsung,exynos-hdmi-ddc.yaml index f260cac2f6..458d399cb0 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/samsung/samsung,exynos-hdmi-ddc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/samsung/samsung,exynos-hdmi-ddc.yaml @@ -1,41 +1,41 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/samsung/samsung,exynos-hdmi-ddc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Samsung Exynos SoC HDMI DDC - -maintainers: - - Inki Dae - - Seung-Woo Kim - - Kyungmin Park - - Krzysztof Kozlowski - -properties: - compatible: - oneOf: - - const: samsung,exynos4210-hdmiddc - - const: samsung,exynos5-hdmiddc - deprecated: true - - reg: - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - ddc@50 { - compatible = "samsung,exynos4210-hdmiddc"; - reg = <0x50>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/samsung/samsung,exynos-hdmi-ddc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Samsung Exynos SoC HDMI DDC + +maintainers: + - Inki Dae + - Seung-Woo Kim + - Kyungmin Park + - Krzysztof Kozlowski + +properties: + compatible: + oneOf: + - const: samsung,exynos4210-hdmiddc + - const: samsung,exynos5-hdmiddc + deprecated: true + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + ddc@50 { + compatible = "samsung,exynos4210-hdmiddc"; + reg = <0x50>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/sitronix,st7586.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/sitronix,st7586.txt index 30273480d5..1d0dad1210 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/sitronix,st7586.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/sitronix,st7586.txt @@ -1,22 +1,22 @@ -Sitronix ST7586 display panel - -Required properties: -- compatible: "lego,ev3-lcd". -- a0-gpios: The A0 signal (since this binding is for serial mode, this is - the pin labeled D1 on the controller, not the pin labeled A0) -- reset-gpios: Reset pin - -The node for this driver must be a child node of a SPI controller, hence -all mandatory properties described in ../spi/spi-bus.txt must be specified. - -Optional properties: -- rotation: panel rotation in degrees counter clockwise (0,90,180,270) - -Example: - display@0{ - compatible = "lego,ev3-lcd"; - reg = <0>; - spi-max-frequency = <10000000>; - a0-gpios = <&gpio 43 GPIO_ACTIVE_HIGH>; - reset-gpios = <&gpio 80 GPIO_ACTIVE_HIGH>; - }; +Sitronix ST7586 display panel + +Required properties: +- compatible: "lego,ev3-lcd". +- a0-gpios: The A0 signal (since this binding is for serial mode, this is + the pin labeled D1 on the controller, not the pin labeled A0) +- reset-gpios: Reset pin + +The node for this driver must be a child node of a SPI controller, hence +all mandatory properties described in ../spi/spi-bus.txt must be specified. + +Optional properties: +- rotation: panel rotation in degrees counter clockwise (0,90,180,270) + +Example: + display@0{ + compatible = "lego,ev3-lcd"; + reg = <0>; + spi-max-frequency = <10000000>; + a0-gpios = <&gpio 43 GPIO_ACTIVE_HIGH>; + reset-gpios = <&gpio 80 GPIO_ACTIVE_HIGH>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/snps,arcpgu.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/snps,arcpgu.txt index 34eea7679a..c5c7dfd37d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/snps,arcpgu.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/snps,arcpgu.txt @@ -1,35 +1,35 @@ -ARC PGU - -This is a display controller found on several development boards produced -by Synopsys. The ARC PGU is an RGB streamer that reads the data from a -framebuffer and sends it to a single digital encoder (usually HDMI). - -Required properties: - - compatible: "snps,arcpgu" - - reg: Physical base address and length of the controller's registers. - - clocks: A list of phandle + clock-specifier pairs, one for each - entry in 'clock-names'. - - clock-names: A list of clock names. For ARC PGU it should contain: - - "pxlclk" for the clock feeding the output PLL of the controller. - -Required sub-nodes: - - port: The PGU connection to an encoder chip. - -Example: - -/ { - ... - - pgu@XXXXXXXX { - compatible = "snps,arcpgu"; - reg = <0xXXXXXXXX 0x400>; - clocks = <&clock_node>; - clock-names = "pxlclk"; - - port { - pgu_output: endpoint { - remote-endpoint = <&hdmi_enc_input>; - }; - }; - }; -}; +ARC PGU + +This is a display controller found on several development boards produced +by Synopsys. The ARC PGU is an RGB streamer that reads the data from a +framebuffer and sends it to a single digital encoder (usually HDMI). + +Required properties: + - compatible: "snps,arcpgu" + - reg: Physical base address and length of the controller's registers. + - clocks: A list of phandle + clock-specifier pairs, one for each + entry in 'clock-names'. + - clock-names: A list of clock names. For ARC PGU it should contain: + - "pxlclk" for the clock feeding the output PLL of the controller. + +Required sub-nodes: + - port: The PGU connection to an encoder chip. + +Example: + +/ { + ... + + pgu@XXXXXXXX { + compatible = "snps,arcpgu"; + reg = <0xXXXXXXXX 0x400>; + clocks = <&clock_node>; + clock-names = "pxlclk"; + + port { + pgu_output: endpoint { + remote-endpoint = <&hdmi_enc_input>; + }; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/solomon,ssd133x.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/solomon,ssd133x.yaml index d9e81df028..b7780038a3 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/solomon,ssd133x.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/solomon,ssd133x.yaml @@ -1,45 +1,45 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/solomon,ssd133x.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Solomon SSD133x OLED Display Controllers - -maintainers: - - Javier Martinez Canillas - -allOf: - - $ref: solomon,ssd-common.yaml# - -properties: - compatible: - enum: - - solomon,ssd1331 - - solomon,width: - default: 96 - - solomon,height: - default: 64 - -required: - - compatible - - reg - -unevaluatedProperties: false - -examples: - - | - spi { - #address-cells = <1>; - #size-cells = <0>; - - oled@0 { - compatible = "solomon,ssd1331"; - reg = <0x0>; - reset-gpios = <&gpio2 7>; - dc-gpios = <&gpio2 8>; - spi-max-frequency = <10000000>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/solomon,ssd133x.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Solomon SSD133x OLED Display Controllers + +maintainers: + - Javier Martinez Canillas + +allOf: + - $ref: solomon,ssd-common.yaml# + +properties: + compatible: + enum: + - solomon,ssd1331 + + solomon,width: + default: 96 + + solomon,height: + default: 64 + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + spi { + #address-cells = <1>; + #size-cells = <0>; + + oled@0 { + compatible = "solomon,ssd1331"; + reg = <0x0>; + reset-gpios = <&gpio2 7>; + dc-gpios = <&gpio2 8>; + spi-max-frequency = <10000000>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/tegra/nvidia,tegra186-dsi-padctl.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/tegra/nvidia,tegra186-dsi-padctl.yaml index f5f801020d..da75b71e8e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/tegra/nvidia,tegra186-dsi-padctl.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/tegra/nvidia,tegra186-dsi-padctl.yaml @@ -1,45 +1,45 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/tegra/nvidia,tegra186-dsi-padctl.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: NVIDIA Tegra MIPI DSI pad controller - -maintainers: - - Thierry Reding - - Jon Hunter - -properties: - $nodename: - pattern: "^padctl@[0-9a-f]+$" - - compatible: - const: nvidia,tegra186-dsi-padctl - - reg: - maxItems: 1 - - resets: - items: - - description: module reset - - reset-names: - items: - - const: dsi - -allOf: - - $ref: /schemas/reset/reset.yaml - -additionalProperties: false - -examples: - - | - #include - - padctl@15880000 { - compatible = "nvidia,tegra186-dsi-padctl"; - reg = <0x15880000 0x10000>; - resets = <&bpmp TEGRA186_RESET_DSI>; - reset-names = "dsi"; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/tegra/nvidia,tegra186-dsi-padctl.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NVIDIA Tegra MIPI DSI pad controller + +maintainers: + - Thierry Reding + - Jon Hunter + +properties: + $nodename: + pattern: "^padctl@[0-9a-f]+$" + + compatible: + const: nvidia,tegra186-dsi-padctl + + reg: + maxItems: 1 + + resets: + items: + - description: module reset + + reset-names: + items: + - const: dsi + +allOf: + - $ref: /schemas/reset/reset.yaml + +additionalProperties: false + +examples: + - | + #include + + padctl@15880000 { + compatible = "nvidia,tegra186-dsi-padctl"; + reg = <0x15880000 0x10000>; + resets = <&bpmp TEGRA186_RESET_DSI>; + reset-names = "dsi"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-vip.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-vip.yaml index 988a1864a3..14294edb8d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-vip.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-vip.yaml @@ -1,41 +1,41 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/tegra/nvidia,tegra20-vip.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: NVIDIA Tegra VIP (parallel video capture) controller - -maintainers: - - Luca Ceresoli - -properties: - compatible: - enum: - - nvidia,tegra20-vip - - ports: - $ref: /schemas/graph.yaml#/properties/ports - - properties: - port@0: - $ref: /schemas/graph.yaml#/properties/port - description: - Port receiving the video stream from the sensor - - port@1: - $ref: /schemas/graph.yaml#/properties/port - description: - Port sending the video stream to the VI - - required: - - port@0 - - port@1 - -unevaluatedProperties: false - -required: - - compatible - - ports - -# see nvidia,tegra20-vi.yaml for an example +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/tegra/nvidia,tegra20-vip.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NVIDIA Tegra VIP (parallel video capture) controller + +maintainers: + - Luca Ceresoli + +properties: + compatible: + enum: + - nvidia,tegra20-vip + + ports: + $ref: /schemas/graph.yaml#/properties/ports + + properties: + port@0: + $ref: /schemas/graph.yaml#/properties/port + description: + Port receiving the video stream from the sensor + + port@1: + $ref: /schemas/graph.yaml#/properties/port + description: + Port sending the video stream to the VI + + required: + - port@0 + - port@1 + +unevaluatedProperties: false + +required: + - compatible + - ports + +# see nvidia,tegra20-vi.yaml for an example diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/ti/ti,tpd12s015.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/ti/ti,tpd12s015.txt index 6cb2e46c46..26e6d32e3f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/ti/ti,tpd12s015.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/ti/ti,tpd12s015.txt @@ -1,44 +1,44 @@ -TPD12S015 HDMI level shifter and ESD protection chip -==================================================== - -Required properties: -- compatible: "ti,tpd12s015" - -Optional properties: -- gpios: CT CP HPD, LS OE and HPD gpios - -Required nodes: -- Video port 0 for HDMI input -- Video port 1 for HDMI output - -Example -------- - -tpd12s015: encoder@1 { - compatible = "ti,tpd12s015"; - - gpios = <&gpio2 28 GPIO_ACTIVE_HIGH>, /* 60, CT CP HPD */ - <&gpio2 9 GPIO_ACTIVE_HIGH>, /* 41, LS OE */ - <&gpio2 31 GPIO_ACTIVE_HIGH>; /* 63, HPD */ - - ports { - #address-cells = <1>; - #size-cells = <0>; - - port@0 { - reg = <0>; - - tpd12s015_in: endpoint@0 { - remote-endpoint = <&hdmi_out>; - }; - }; - - port@1 { - reg = <1>; - - tpd12s015_out: endpoint@0 { - remote-endpoint = <&hdmi_connector_in>; - }; - }; - }; -}; +TPD12S015 HDMI level shifter and ESD protection chip +==================================================== + +Required properties: +- compatible: "ti,tpd12s015" + +Optional properties: +- gpios: CT CP HPD, LS OE and HPD gpios + +Required nodes: +- Video port 0 for HDMI input +- Video port 1 for HDMI output + +Example +------- + +tpd12s015: encoder@1 { + compatible = "ti,tpd12s015"; + + gpios = <&gpio2 28 GPIO_ACTIVE_HIGH>, /* 60, CT CP HPD */ + <&gpio2 9 GPIO_ACTIVE_HIGH>, /* 41, LS OE */ + <&gpio2 31 GPIO_ACTIVE_HIGH>; /* 63, HPD */ + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + tpd12s015_in: endpoint@0 { + remote-endpoint = <&hdmi_out>; + }; + }; + + port@1 { + reg = <1>; + + tpd12s015_out: endpoint@0 { + remote-endpoint = <&hdmi_connector_in>; + }; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/via,vt8500-fb.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/via,vt8500-fb.txt index c028bee6e2..2871e218a0 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/via,vt8500-fb.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/via,vt8500-fb.txt @@ -1,36 +1,36 @@ -VIA VT8500 Framebuffer ------------------------------------------------------ - -Required properties: -- compatible : "via,vt8500-fb" -- reg : Should contain 1 register ranges(address and length) -- interrupts : framebuffer controller interrupt -- bits-per-pixel : bit depth of framebuffer (16 or 32) - -Required subnodes: -- display-timings: see display-timing.txt for information - -Example: - - fb@d8050800 { - compatible = "via,vt8500-fb"; - reg = <0xd800e400 0x400>; - interrupts = <12>; - bits-per-pixel = <16>; - - display-timings { - native-mode = <&timing0>; - timing0: 800x480 { - clock-frequency = <0>; /* unused but required */ - hactive = <800>; - vactive = <480>; - hfront-porch = <40>; - hback-porch = <88>; - hsync-len = <0>; - vback-porch = <32>; - vfront-porch = <11>; - vsync-len = <1>; - }; - }; - }; - +VIA VT8500 Framebuffer +----------------------------------------------------- + +Required properties: +- compatible : "via,vt8500-fb" +- reg : Should contain 1 register ranges(address and length) +- interrupts : framebuffer controller interrupt +- bits-per-pixel : bit depth of framebuffer (16 or 32) + +Required subnodes: +- display-timings: see display-timing.txt for information + +Example: + + fb@d8050800 { + compatible = "via,vt8500-fb"; + reg = <0xd800e400 0x400>; + interrupts = <12>; + bits-per-pixel = <16>; + + display-timings { + native-mode = <&timing0>; + timing0: 800x480 { + clock-frequency = <0>; /* unused but required */ + hactive = <800>; + vactive = <480>; + hfront-porch = <40>; + hback-porch = <88>; + hsync-len = <0>; + vback-porch = <32>; + vfront-porch = <11>; + vsync-len = <1>; + }; + }; + }; + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/wm,wm8505-fb.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/wm,wm8505-fb.txt index 4ea473e123..0bcadb2840 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/wm,wm8505-fb.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/wm,wm8505-fb.txt @@ -1,33 +1,33 @@ -Wondermedia WM8505 Framebuffer ------------------------------------------------------ - -Required properties: -- compatible : "wm,wm8505-fb" -- reg : Should contain 1 register ranges(address and length) -- bits-per-pixel : bit depth of framebuffer (16 or 32) - -Required subnodes: -- display-timings: see display-timing.txt for information - -Example: - - fb@d8051700 { - compatible = "wm,wm8505-fb"; - reg = <0xd8051700 0x200>; - bits-per-pixel = <16>; - - display-timings { - native-mode = <&timing0>; - timing0: 800x480 { - clock-frequency = <0>; /* unused but required */ - hactive = <800>; - vactive = <480>; - hfront-porch = <40>; - hback-porch = <88>; - hsync-len = <0>; - vback-porch = <32>; - vfront-porch = <11>; - vsync-len = <1>; - }; - }; - }; +Wondermedia WM8505 Framebuffer +----------------------------------------------------- + +Required properties: +- compatible : "wm,wm8505-fb" +- reg : Should contain 1 register ranges(address and length) +- bits-per-pixel : bit depth of framebuffer (16 or 32) + +Required subnodes: +- display-timings: see display-timing.txt for information + +Example: + + fb@d8051700 { + compatible = "wm,wm8505-fb"; + reg = <0xd8051700 0x200>; + bits-per-pixel = <16>; + + display-timings { + native-mode = <&timing0>; + timing0: 800x480 { + clock-frequency = <0>; /* unused but required */ + hactive = <800>; + vactive = <480>; + hfront-porch = <40>; + hback-porch = <88>; + hsync-len = <0>; + vback-porch = <32>; + vfront-porch = <11>; + vsync-len = <1>; + }; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/dma/brcm,iproc-sba.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/dma/brcm,iproc-sba.txt index acfb406be6..092913a284 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/dma/brcm,iproc-sba.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/dma/brcm,iproc-sba.txt @@ -1,29 +1,29 @@ -* Broadcom SBA RAID engine - -Required properties: -- compatible: Should be one of the following - "brcm,iproc-sba" - "brcm,iproc-sba-v2" - The "brcm,iproc-sba" has support for only 6 PQ coefficients - The "brcm,iproc-sba-v2" has support for only 30 PQ coefficients -- mboxes: List of phandle and mailbox channel specifiers - -Example: - -raid_mbox: mbox@67400000 { - ... - #mbox-cells = <3>; - ... -}; - -raid0 { - compatible = "brcm,iproc-sba-v2"; - mboxes = <&raid_mbox 0 0x1 0xffff>, - <&raid_mbox 1 0x1 0xffff>, - <&raid_mbox 2 0x1 0xffff>, - <&raid_mbox 3 0x1 0xffff>, - <&raid_mbox 4 0x1 0xffff>, - <&raid_mbox 5 0x1 0xffff>, - <&raid_mbox 6 0x1 0xffff>, - <&raid_mbox 7 0x1 0xffff>; -}; +* Broadcom SBA RAID engine + +Required properties: +- compatible: Should be one of the following + "brcm,iproc-sba" + "brcm,iproc-sba-v2" + The "brcm,iproc-sba" has support for only 6 PQ coefficients + The "brcm,iproc-sba-v2" has support for only 30 PQ coefficients +- mboxes: List of phandle and mailbox channel specifiers + +Example: + +raid_mbox: mbox@67400000 { + ... + #mbox-cells = <3>; + ... +}; + +raid0 { + compatible = "brcm,iproc-sba-v2"; + mboxes = <&raid_mbox 0 0x1 0xffff>, + <&raid_mbox 1 0x1 0xffff>, + <&raid_mbox 2 0x1 0xffff>, + <&raid_mbox 3 0x1 0xffff>, + <&raid_mbox 4 0x1 0xffff>, + <&raid_mbox 5 0x1 0xffff>, + <&raid_mbox 6 0x1 0xffff>, + <&raid_mbox 7 0x1 0xffff>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/dma/milbeaut-m10v-xdmac.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/dma/milbeaut-m10v-xdmac.txt index 2524cecff6..3057918040 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/dma/milbeaut-m10v-xdmac.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/dma/milbeaut-m10v-xdmac.txt @@ -1,24 +1,24 @@ -* Milbeaut AXI DMA Controller - -Milbeaut AXI DMA controller has only memory to memory transfer capability. - -* DMA controller - -Required property: -- compatible: Should be "socionext,milbeaut-m10v-xdmac" -- reg: Should contain DMA registers location and length. -- interrupts: Should contain all of the per-channel DMA interrupts. - Number of channels is configurable - 2, 4 or 8, so - the number of interrupts specified should be {2,4,8}. -- #dma-cells: Should be 1. - -Example: - xdmac0: dma-controller@1c250000 { - compatible = "socionext,milbeaut-m10v-xdmac"; - reg = <0x1c250000 0x1000>; - interrupts = <0 17 0x4>, - <0 18 0x4>, - <0 19 0x4>, - <0 20 0x4>; - #dma-cells = <1>; - }; +* Milbeaut AXI DMA Controller + +Milbeaut AXI DMA controller has only memory to memory transfer capability. + +* DMA controller + +Required property: +- compatible: Should be "socionext,milbeaut-m10v-xdmac" +- reg: Should contain DMA registers location and length. +- interrupts: Should contain all of the per-channel DMA interrupts. + Number of channels is configurable - 2, 4 or 8, so + the number of interrupts specified should be {2,4,8}. +- #dma-cells: Should be 1. + +Example: + xdmac0: dma-controller@1c250000 { + compatible = "socionext,milbeaut-m10v-xdmac"; + reg = <0x1c250000 0x1000>; + interrupts = <0 17 0x4>, + <0 18 0x4>, + <0 19 0x4>, + <0 20 0x4>; + #dma-cells = <1>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/edac/aspeed-sdram-edac.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/edac/aspeed-sdram-edac.txt index 6cfd7217be..8ca9e0a049 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/edac/aspeed-sdram-edac.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/edac/aspeed-sdram-edac.txt @@ -1,28 +1,28 @@ -Aspeed BMC SoC EDAC node - -The Aspeed BMC SoC supports DDR3 and DDR4 memory with and without ECC (error -correction check). - -The memory controller supports SECDED (single bit error correction, double bit -error detection) and single bit error auto scrubbing by reserving 8 bits for -every 64 bit word (effectively reducing available memory to 8/9). - -Note, the bootloader must configure ECC mode in the memory controller. - - -Required properties: -- compatible: should be one of - - "aspeed,ast2400-sdram-edac" - - "aspeed,ast2500-sdram-edac" - - "aspeed,ast2600-sdram-edac" -- reg: sdram controller register set should be <0x1e6e0000 0x174> -- interrupts: should be AVIC interrupt #0 - - -Example: - - edac: sdram@1e6e0000 { - compatible = "aspeed,ast2500-sdram-edac"; - reg = <0x1e6e0000 0x174>; - interrupts = <0>; - }; +Aspeed BMC SoC EDAC node + +The Aspeed BMC SoC supports DDR3 and DDR4 memory with and without ECC (error +correction check). + +The memory controller supports SECDED (single bit error correction, double bit +error detection) and single bit error auto scrubbing by reserving 8 bits for +every 64 bit word (effectively reducing available memory to 8/9). + +Note, the bootloader must configure ECC mode in the memory controller. + + +Required properties: +- compatible: should be one of + - "aspeed,ast2400-sdram-edac" + - "aspeed,ast2500-sdram-edac" + - "aspeed,ast2600-sdram-edac" +- reg: sdram controller register set should be <0x1e6e0000 0x174> +- interrupts: should be AVIC interrupt #0 + + +Example: + + edac: sdram@1e6e0000 { + compatible = "aspeed,ast2500-sdram-edac"; + reg = <0x1e6e0000 0x174>; + interrupts = <0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/extcon/extcon-max3355.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/extcon/extcon-max3355.txt index 51a7a088d9..f2288ea9eb 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/extcon/extcon-max3355.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/extcon/extcon-max3355.txt @@ -1,21 +1,21 @@ -Maxim Integrated MAX3355 USB OTG chip -------------------------------------- - -MAX3355 integrates a charge pump and comparators to enable a system with an -integrated USB OTG dual-role transceiver to function as a USB OTG dual-role -device. - -Required properties: -- compatible: should be "maxim,max3355"; -- maxim,shdn-gpios: should contain a phandle and GPIO specifier for the GPIO pin - connected to the MAX3355's SHDN# pin; -- id-gpios: should contain a phandle and GPIO specifier for the GPIO pin - connected to the MAX3355's ID_OUT pin. - -Example: - - usb-otg { - compatible = "maxim,max3355"; - maxim,shdn-gpios = <&gpio2 4 GPIO_ACTIVE_LOW>; - id-gpios = <&gpio5 31 GPIO_ACTIVE_HIGH>; - }; +Maxim Integrated MAX3355 USB OTG chip +------------------------------------- + +MAX3355 integrates a charge pump and comparators to enable a system with an +integrated USB OTG dual-role transceiver to function as a USB OTG dual-role +device. + +Required properties: +- compatible: should be "maxim,max3355"; +- maxim,shdn-gpios: should contain a phandle and GPIO specifier for the GPIO pin + connected to the MAX3355's SHDN# pin; +- id-gpios: should contain a phandle and GPIO specifier for the GPIO pin + connected to the MAX3355's ID_OUT pin. + +Example: + + usb-otg { + compatible = "maxim,max3355"; + maxim,shdn-gpios = <&gpio2 4 GPIO_ACTIVE_LOW>; + id-gpios = <&gpio5 31 GPIO_ACTIVE_HIGH>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/extcon/extcon-palmas.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/extcon/extcon-palmas.txt index c30303bc34..f61d5af44a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/extcon/extcon-palmas.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/extcon/extcon-palmas.txt @@ -1,22 +1,22 @@ -EXTCON FOR PALMAS/TWL CHIPS - -PALMAS USB COMPARATOR -Required Properties: - - compatible: should contain one of: - * "ti,palmas-usb-vid". - * "ti,twl6035-usb-vid". - * "ti,palmas-usb" (DEPRECATED - use "ti,palmas-usb-vid"). - * "ti,twl6035-usb" (DEPRECATED - use "ti,twl6035-usb-vid"). - -Optional Properties: - - ti,wakeup : To enable the wakeup comparator in probe - - ti,enable-id-detection: Perform ID detection. If id-gpio is specified - it performs id-detection using GPIO else using OTG core. - - ti,enable-vbus-detection: Perform VBUS detection. - - id-gpio: gpio for GPIO ID detection. See gpio binding. - - debounce-delay-ms: debounce delay for GPIO ID pin in milliseconds. - -palmas-usb { - compatible = "ti,twl6035-usb", "ti,palmas-usb"; - ti,wakeup; -}; +EXTCON FOR PALMAS/TWL CHIPS + +PALMAS USB COMPARATOR +Required Properties: + - compatible: should contain one of: + * "ti,palmas-usb-vid". + * "ti,twl6035-usb-vid". + * "ti,palmas-usb" (DEPRECATED - use "ti,palmas-usb-vid"). + * "ti,twl6035-usb" (DEPRECATED - use "ti,twl6035-usb-vid"). + +Optional Properties: + - ti,wakeup : To enable the wakeup comparator in probe + - ti,enable-id-detection: Perform ID detection. If id-gpio is specified + it performs id-detection using GPIO else using OTG core. + - ti,enable-vbus-detection: Perform VBUS detection. + - id-gpio: gpio for GPIO ID detection. See gpio binding. + - debounce-delay-ms: debounce delay for GPIO ID pin in milliseconds. + +palmas-usb { + compatible = "ti,twl6035-usb", "ti,palmas-usb"; + ti,wakeup; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/extcon/extcon-rt8973a.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/extcon/extcon-rt8973a.txt index 593d9009cd..cfcf455ad4 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/extcon/extcon-rt8973a.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/extcon/extcon-rt8973a.txt @@ -1,23 +1,23 @@ - -* Richtek RT8973A - Micro USB Switch device - -The Richtek RT8973A is Micro USB Switch with OVP and I2C interface. The RT8973A -is a USB port accessory detector and switch that is optimized to protect low -voltage system from abnormal high input voltage (up to 28V) and supports high -speed USB operation. Also, RT8973A support 'auto-configuration' mode. -If auto-configuration mode is enabled, RT8973A would control internal h/w patch -for USB D-/D+ switching. - -Required properties: -- compatible: Should be "richtek,rt8973a-muic" -- reg: Specifies the I2C slave address of the MUIC block. It should be 0x14 -- interrupts: Interrupt specifiers for detection interrupt sources. - -Example: - - rt8973a@14 { - compatible = "richtek,rt8973a-muic"; - interrupt-parent = <&gpx1>; - interrupts = <5 0>; - reg = <0x14>; - }; + +* Richtek RT8973A - Micro USB Switch device + +The Richtek RT8973A is Micro USB Switch with OVP and I2C interface. The RT8973A +is a USB port accessory detector and switch that is optimized to protect low +voltage system from abnormal high input voltage (up to 28V) and supports high +speed USB operation. Also, RT8973A support 'auto-configuration' mode. +If auto-configuration mode is enabled, RT8973A would control internal h/w patch +for USB D-/D+ switching. + +Required properties: +- compatible: Should be "richtek,rt8973a-muic" +- reg: Specifies the I2C slave address of the MUIC block. It should be 0x14 +- interrupts: Interrupt specifiers for detection interrupt sources. + +Example: + + rt8973a@14 { + compatible = "richtek,rt8973a-muic"; + interrupt-parent = <&gpx1>; + interrupts = <5 0>; + reg = <0x14>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/extcon/extcon-usbc-tusb320.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/extcon/extcon-usbc-tusb320.yaml index 9c48bf1ca4..126107dd57 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/extcon/extcon-usbc-tusb320.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/extcon/extcon-usbc-tusb320.yaml @@ -1,43 +1,43 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/extcon/extcon-usbc-tusb320.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: TI TUSB320 USB Type-C CC Logic controller - -maintainers: - - Michael Auchter - -properties: - compatible: - enum: - - ti,tusb320 - - ti,tusb320l - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - -required: - - compatible - - reg - - interrupts - -additionalProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - tusb320@61 { - compatible = "ti,tusb320"; - reg = <0x61>; - interrupt-parent = <&gpio>; - interrupts = <27 1>; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/extcon/extcon-usbc-tusb320.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: TI TUSB320 USB Type-C CC Logic controller + +maintainers: + - Michael Auchter + +properties: + compatible: + enum: + - ti,tusb320 + - ti,tusb320l + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + tusb320@61 { + compatible = "ti,tusb320"; + reg = <0x61>; + interrupt-parent = <&gpio>; + interrupts = <27 1>; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/extcon/linux,extcon-usb-gpio.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/extcon/linux,extcon-usb-gpio.yaml index 38b40d61d8..8856107bdd 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/extcon/linux,extcon-usb-gpio.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/extcon/linux,extcon-usb-gpio.yaml @@ -1,37 +1,37 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/extcon/linux,extcon-usb-gpio.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: USB GPIO Extcon device - -maintainers: - - Frank Li - -description: - This is a virtual device used to generate USB cable states from the USB ID pin - connected to a GPIO pin. - -properties: - compatible: - const: linux,extcon-usb-gpio - - id-gpios: - description: gpio for USB ID pin. See gpio binding. - vbus-gpios: - description: gpio for USB VBUS pin. - -required: - - compatible - -additionalProperties: false - -examples: - - | - #include - - extcon_usb1 { - compatible = "linux,extcon-usb-gpio"; - id-gpios = <&gpio6 1 GPIO_ACTIVE_HIGH>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/extcon/linux,extcon-usb-gpio.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: USB GPIO Extcon device + +maintainers: + - Frank Li + +description: + This is a virtual device used to generate USB cable states from the USB ID pin + connected to a GPIO pin. + +properties: + compatible: + const: linux,extcon-usb-gpio + + id-gpios: + description: gpio for USB ID pin. See gpio binding. + vbus-gpios: + description: gpio for USB VBUS pin. + +required: + - compatible + +additionalProperties: false + +examples: + - | + #include + + extcon_usb1 { + compatible = "linux,extcon-usb-gpio"; + id-gpios = <&gpio6 1 GPIO_ACTIVE_HIGH>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/firmware/amlogic,meson-gxbb-sm.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/firmware/amlogic,meson-gxbb-sm.yaml index 2db00871e6..8f50e69876 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/firmware/amlogic,meson-gxbb-sm.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/firmware/amlogic,meson-gxbb-sm.yaml @@ -1,39 +1,39 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/firmware/amlogic,meson-gxbb-sm.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Amlogic Secure Monitor (SM) - -description: - In the Amlogic SoCs the Secure Monitor code is used to provide access to the - NVMEM, enable JTAG, set USB boot, etc... - -maintainers: - - Neil Armstrong - -properties: - compatible: - oneOf: - - const: amlogic,meson-gxbb-sm - - items: - - const: amlogic,meson-gx-sm - - const: amlogic,meson-gxbb-sm - - power-controller: - type: object - $ref: /schemas/power/amlogic,meson-sec-pwrc.yaml# - -required: - - compatible - -additionalProperties: false - -examples: - - | - firmware { - secure-monitor { - compatible = "amlogic,meson-gxbb-sm"; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/firmware/amlogic,meson-gxbb-sm.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Amlogic Secure Monitor (SM) + +description: + In the Amlogic SoCs the Secure Monitor code is used to provide access to the + NVMEM, enable JTAG, set USB boot, etc... + +maintainers: + - Neil Armstrong + +properties: + compatible: + oneOf: + - const: amlogic,meson-gxbb-sm + - items: + - const: amlogic,meson-gx-sm + - const: amlogic,meson-gxbb-sm + + power-controller: + type: object + $ref: /schemas/power/amlogic,meson-sec-pwrc.yaml# + +required: + - compatible + +additionalProperties: false + +examples: + - | + firmware { + secure-monitor { + compatible = "amlogic,meson-gxbb-sm"; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/firmware/brcm,kona-smc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/firmware/brcm,kona-smc.yaml index ed1ec6b589..684b15ba9a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/firmware/brcm,kona-smc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/firmware/brcm,kona-smc.yaml @@ -1,39 +1,39 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/firmware/brcm,kona-smc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Broadcom Kona family Secure Monitor bounce buffer - -description: - A bounce buffer used for non-secure to secure communications. - -maintainers: - - Florian Fainelli - -properties: - compatible: - items: - - enum: - - brcm,bcm11351-smc - - brcm,bcm21664-smc - - brcm,bcm23550-smc - - const: brcm,kona-smc - - reg: - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - smc@3404c000 { - compatible = "brcm,bcm11351-smc", "brcm,kona-smc"; - reg = <0x3404c000 0x400>; /* 1 KiB in SRAM */ - }; -... +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/firmware/brcm,kona-smc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom Kona family Secure Monitor bounce buffer + +description: + A bounce buffer used for non-secure to secure communications. + +maintainers: + - Florian Fainelli + +properties: + compatible: + items: + - enum: + - brcm,bcm11351-smc + - brcm,bcm21664-smc + - brcm,bcm23550-smc + - const: brcm,kona-smc + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + smc@3404c000 { + compatible = "brcm,bcm11351-smc", "brcm,kona-smc"; + reg = <0x3404c000 0x400>; /* 1 KiB in SRAM */ + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/fpga/altera-socfpga-a10-fpga-mgr.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/fpga/altera-socfpga-a10-fpga-mgr.txt index 19a63c7a3f..2fd8e7a847 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/fpga/altera-socfpga-a10-fpga-mgr.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/fpga/altera-socfpga-a10-fpga-mgr.txt @@ -1,19 +1,19 @@ -Altera SOCFPGA Arria10 FPGA Manager - -Required properties: -- compatible : should contain "altr,socfpga-a10-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. -- resets : Phandle and reset specifier for the device's reset. -- clocks : Clocks used by the device. - -Example: - - fpga_mgr: fpga-mgr@ffd03000 { - compatible = "altr,socfpga-a10-fpga-mgr"; - reg = <0xffd03000 0x100 - 0xffcfe400 0x20>; - clocks = <&l4_mp_clk>; - resets = <&rst FPGAMGR_RESET>; - }; +Altera SOCFPGA Arria10 FPGA Manager + +Required properties: +- compatible : should contain "altr,socfpga-a10-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. +- resets : Phandle and reset specifier for the device's reset. +- clocks : Clocks used by the device. + +Example: + + fpga_mgr: fpga-mgr@ffd03000 { + compatible = "altr,socfpga-a10-fpga-mgr"; + reg = <0xffd03000 0x100 + 0xffcfe400 0x20>; + clocks = <&l4_mp_clk>; + resets = <&rst FPGAMGR_RESET>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/fpga/altr,socfpga-fpga2sdram-bridge.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/fpga/altr,socfpga-fpga2sdram-bridge.yaml index c9db5579e0..22b58453c5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/fpga/altr,socfpga-fpga2sdram-bridge.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/fpga/altr,socfpga-fpga2sdram-bridge.yaml @@ -1,33 +1,33 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/fpga/altr,socfpga-fpga2sdram-bridge.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Altera FPGA To SDRAM Bridge - -maintainers: - - Xu Yilun - -allOf: - - $ref: fpga-bridge.yaml# - -properties: - compatible: - const: altr,socfpga-fpga2sdram-bridge - - reg: - maxItems: 1 - -required: - - compatible - -unevaluatedProperties: false - -examples: - - | - fpga-bridge@ffc25080 { - compatible = "altr,socfpga-fpga2sdram-bridge"; - reg = <0xffc25080 0x4>; - bridge-enable = <0>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/fpga/altr,socfpga-fpga2sdram-bridge.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Altera FPGA To SDRAM Bridge + +maintainers: + - Xu Yilun + +allOf: + - $ref: fpga-bridge.yaml# + +properties: + compatible: + const: altr,socfpga-fpga2sdram-bridge + + reg: + maxItems: 1 + +required: + - compatible + +unevaluatedProperties: false + +examples: + - | + fpga-bridge@ffc25080 { + compatible = "altr,socfpga-fpga2sdram-bridge"; + reg = <0xffc25080 0x4>; + bridge-enable = <0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/fpga/altr,socfpga-hps2fpga-bridge.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/fpga/altr,socfpga-hps2fpga-bridge.yaml index ae18d5f764..d19c6660d6 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/fpga/altr,socfpga-hps2fpga-bridge.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/fpga/altr,socfpga-hps2fpga-bridge.yaml @@ -1,49 +1,49 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/fpga/altr,socfpga-hps2fpga-bridge.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Altera FPGA/HPS Bridge - -maintainers: - - Xu Yilun - -allOf: - - $ref: fpga-bridge.yaml# - -properties: - compatible: - enum: - - altr,socfpga-lwhps2fpga-bridge - - altr,socfpga-hps2fpga-bridge - - altr,socfpga-fpga2hps-bridge - - reg: - maxItems: 1 - - resets: - maxItems: 1 - - clocks: - maxItems: 1 - -required: - - compatible - - reg - - clocks - - resets - -unevaluatedProperties: false - -examples: - - | - #include - - fpga-bridge@ff400000 { - compatible = "altr,socfpga-lwhps2fpga-bridge"; - reg = <0xff400000 0x100000>; - bridge-enable = <0>; - clocks = <&l4_main_clk>; - resets = <&rst LWHPS2FPGA_RESET>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/fpga/altr,socfpga-hps2fpga-bridge.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Altera FPGA/HPS Bridge + +maintainers: + - Xu Yilun + +allOf: + - $ref: fpga-bridge.yaml# + +properties: + compatible: + enum: + - altr,socfpga-lwhps2fpga-bridge + - altr,socfpga-hps2fpga-bridge + - altr,socfpga-fpga2hps-bridge + + reg: + maxItems: 1 + + resets: + maxItems: 1 + + clocks: + maxItems: 1 + +required: + - compatible + - reg + - clocks + - resets + +unevaluatedProperties: false + +examples: + - | + #include + + fpga-bridge@ff400000 { + compatible = "altr,socfpga-lwhps2fpga-bridge"; + reg = <0xff400000 0x100000>; + bridge-enable = <0>; + clocks = <&l4_main_clk>; + resets = <&rst LWHPS2FPGA_RESET>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/fpga/fpga-bridge.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/fpga/fpga-bridge.yaml index a2a9d6ce78..1ccb2aa187 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/fpga/fpga-bridge.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/fpga/fpga-bridge.yaml @@ -1,30 +1,30 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/fpga/fpga-bridge.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: FPGA Bridge - -maintainers: - - Michal Simek - -properties: - $nodename: - pattern: "^fpga-bridge(@.*|-([0-9]|[1-9][0-9]+))?$" - - bridge-enable: - description: | - 0 if driver should disable bridge at startup - 1 if driver should enable bridge at startup - Default is to leave bridge in current state. - $ref: /schemas/types.yaml#/definitions/uint32 - enum: [ 0, 1 ] - -additionalProperties: true - -examples: - - | - fpga-bridge { - bridge-enable = <0>; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/fpga/fpga-bridge.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: FPGA Bridge + +maintainers: + - Michal Simek + +properties: + $nodename: + pattern: "^fpga-bridge(@.*|-([0-9]|[1-9][0-9]+))?$" + + bridge-enable: + description: | + 0 if driver should disable bridge at startup + 1 if driver should enable bridge at startup + Default is to leave bridge in current state. + $ref: /schemas/types.yaml#/definitions/uint32 + enum: [ 0, 1 ] + +additionalProperties: true + +examples: + - | + fpga-bridge { + bridge-enable = <0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/fpga/lattice-ice40-fpga-mgr.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/fpga/lattice-ice40-fpga-mgr.txt index 1161a5de58..4dc412437b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/fpga/lattice-ice40-fpga-mgr.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/fpga/lattice-ice40-fpga-mgr.txt @@ -1,21 +1,21 @@ -Lattice iCE40 FPGA Manager - -Required properties: -- compatible: Should contain "lattice,ice40-fpga-mgr" -- reg: SPI chip select -- spi-max-frequency: Maximum SPI frequency (>=1000000, <=25000000) -- cdone-gpios: GPIO input connected to CDONE pin -- reset-gpios: Active-low GPIO output connected to CRESET_B pin. Note - that unless the GPIO is held low during startup, the - FPGA will enter Master SPI mode and drive SCK with a - clock signal potentially jamming other devices on the - bus until the firmware is loaded. - -Example: - fpga: fpga@0 { - compatible = "lattice,ice40-fpga-mgr"; - reg = <0>; - spi-max-frequency = <1000000>; - cdone-gpios = <&gpio 24 GPIO_ACTIVE_HIGH>; - reset-gpios = <&gpio 22 GPIO_ACTIVE_LOW>; - }; +Lattice iCE40 FPGA Manager + +Required properties: +- compatible: Should contain "lattice,ice40-fpga-mgr" +- reg: SPI chip select +- spi-max-frequency: Maximum SPI frequency (>=1000000, <=25000000) +- cdone-gpios: GPIO input connected to CDONE pin +- reset-gpios: Active-low GPIO output connected to CRESET_B pin. Note + that unless the GPIO is held low during startup, the + FPGA will enter Master SPI mode and drive SCK with a + clock signal potentially jamming other devices on the + bus until the firmware is loaded. + +Example: + fpga: fpga@0 { + compatible = "lattice,ice40-fpga-mgr"; + reg = <0>; + spi-max-frequency = <1000000>; + cdone-gpios = <&gpio 24 GPIO_ACTIVE_HIGH>; + reset-gpios = <&gpio 22 GPIO_ACTIVE_LOW>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/fpga/lattice-machxo2-spi.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/fpga/lattice-machxo2-spi.txt index f0e4562d30..a8c362eb16 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/fpga/lattice-machxo2-spi.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/fpga/lattice-machxo2-spi.txt @@ -1,29 +1,29 @@ -Lattice MachXO2 Slave SPI FPGA Manager - -Lattice MachXO2 FPGAs support a method of loading the bitstream over -'slave SPI' interface. - -See 'MachXO2ProgrammingandConfigurationUsageGuide.pdf' on www.latticesemi.com - -Required properties: -- compatible: should contain "lattice,machxo2-slave-spi" -- reg: spi chip select of the FPGA - -Example for full FPGA configuration: - - fpga-region0 { - compatible = "fpga-region"; - fpga-mgr = <&fpga_mgr_spi>; - #address-cells = <0x1>; - #size-cells = <0x1>; - }; - - spi1: spi@2000 { - ... - - fpga_mgr_spi: fpga-mgr@0 { - compatible = "lattice,machxo2-slave-spi"; - spi-max-frequency = <8000000>; - reg = <0>; - }; - }; +Lattice MachXO2 Slave SPI FPGA Manager + +Lattice MachXO2 FPGAs support a method of loading the bitstream over +'slave SPI' interface. + +See 'MachXO2ProgrammingandConfigurationUsageGuide.pdf' on www.latticesemi.com + +Required properties: +- compatible: should contain "lattice,machxo2-slave-spi" +- reg: spi chip select of the FPGA + +Example for full FPGA configuration: + + fpga-region0 { + compatible = "fpga-region"; + fpga-mgr = <&fpga_mgr_spi>; + #address-cells = <0x1>; + #size-cells = <0x1>; + }; + + spi1: spi@2000 { + ... + + fpga_mgr_spi: fpga-mgr@0 { + compatible = "lattice,machxo2-slave-spi"; + spi-max-frequency = <8000000>; + reg = <0>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/fpga/xlnx,versal-fpga.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/fpga/xlnx,versal-fpga.yaml index aa815ec582..80833462f6 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/fpga/xlnx,versal-fpga.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/fpga/xlnx,versal-fpga.yaml @@ -1,33 +1,33 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/fpga/xlnx,versal-fpga.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Xilinx Versal FPGA driver. - -maintainers: - - Nava kishore Manne - -description: | - Device Tree Versal FPGA bindings for the Versal SoC, controlled - using firmware interface. - -properties: - compatible: - items: - - enum: - - xlnx,versal-fpga - -required: - - compatible - -additionalProperties: false - -examples: - - | - versal_fpga: versal-fpga { - compatible = "xlnx,versal-fpga"; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/fpga/xlnx,versal-fpga.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Xilinx Versal FPGA driver. + +maintainers: + - Nava kishore Manne + +description: | + Device Tree Versal FPGA bindings for the Versal SoC, controlled + using firmware interface. + +properties: + compatible: + items: + - enum: + - xlnx,versal-fpga + +required: + - compatible + +additionalProperties: false + +examples: + - | + versal_fpga: versal-fpga { + compatible = "xlnx,versal-fpga"; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/fpga/xlnx,zynqmp-pcap-fpga.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/fpga/xlnx,zynqmp-pcap-fpga.yaml index d84d45edde..1390ae103b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/fpga/xlnx,zynqmp-pcap-fpga.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/fpga/xlnx,zynqmp-pcap-fpga.yaml @@ -1,36 +1,36 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/fpga/xlnx,zynqmp-pcap-fpga.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Xilinx Zynq Ultrascale MPSoC FPGA Manager - -maintainers: - - Nava kishore Manne - -description: | - Device Tree Bindings for Zynq Ultrascale MPSoC FPGA Manager. - The ZynqMP SoC uses the PCAP (Processor Configuration Port) to - configure the Programmable Logic (PL). The configuration uses the - firmware interface. - -properties: - compatible: - const: xlnx,zynqmp-pcap-fpga - -required: - - compatible - -additionalProperties: false - -examples: - - | - firmware { - zynqmp_firmware: zynqmp-firmware { - zynqmp_pcap: pcap { - compatible = "xlnx,zynqmp-pcap-fpga"; - }; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/fpga/xlnx,zynqmp-pcap-fpga.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Xilinx Zynq Ultrascale MPSoC FPGA Manager + +maintainers: + - Nava kishore Manne + +description: | + Device Tree Bindings for Zynq Ultrascale MPSoC FPGA Manager. + The ZynqMP SoC uses the PCAP (Processor Configuration Port) to + configure the Programmable Logic (PL). The configuration uses the + firmware interface. + +properties: + compatible: + const: xlnx,zynqmp-pcap-fpga + +required: + - compatible + +additionalProperties: false + +examples: + - | + firmware { + zynqmp_firmware: zynqmp-firmware { + zynqmp_pcap: pcap { + compatible = "xlnx,zynqmp-pcap-fpga"; + }; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/fsi/ibm,i2cr-fsi-master.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/fsi/ibm,i2cr-fsi-master.yaml index d38862ce87..e49ace3ca3 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/fsi/ibm,i2cr-fsi-master.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/fsi/ibm,i2cr-fsi-master.yaml @@ -1,44 +1,44 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/fsi/ibm,i2cr-fsi-master.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: IBM I2C Responder virtual FSI master - -maintainers: - - Eddie James - -description: | - The I2C Responder (I2CR) is a an I2C device that's connected to an FSI CFAM - (see fsi.txt). The I2CR translates I2C bus operations to FSI CFAM reads and - writes or SCOM operations, thereby acting as an FSI master. - -properties: - compatible: - enum: - - ibm,i2cr-fsi-master - - reg: - maxItems: 1 - -required: - - compatible - - reg - -allOf: - - $ref: fsi-controller.yaml# - -unevaluatedProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - i2cr@20 { - compatible = "ibm,i2cr-fsi-master"; - reg = <0x20>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/fsi/ibm,i2cr-fsi-master.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: IBM I2C Responder virtual FSI master + +maintainers: + - Eddie James + +description: | + The I2C Responder (I2CR) is a an I2C device that's connected to an FSI CFAM + (see fsi.txt). The I2CR translates I2C bus operations to FSI CFAM reads and + writes or SCOM operations, thereby acting as an FSI master. + +properties: + compatible: + enum: + - ibm,i2cr-fsi-master + + reg: + maxItems: 1 + +required: + - compatible + - reg + +allOf: + - $ref: fsi-controller.yaml# + +unevaluatedProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + i2cr@20 { + compatible = "ibm,i2cr-fsi-master"; + reg = <0x20>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/fsi/ibm,p9-occ.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/fsi/ibm,p9-occ.yaml index bf48be014a..537eac7044 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/fsi/ibm,p9-occ.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/fsi/ibm,p9-occ.yaml @@ -1,40 +1,40 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/fsi/ibm,p9-occ.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: IBM FSI-attached On-Chip Controller (OCC) - -maintainers: - - Eddie James - -description: - The POWER processor On-Chip Controller (OCC) helps manage power and - thermals for the system, accessed through the FSI-attached SBEFIFO - from a service processor. - -properties: - compatible: - enum: - - ibm,p9-occ - - ibm,p10-occ - - hwmon: - type: object - $ref: /schemas/hwmon/ibm,occ-hwmon.yaml - -required: - - compatible - -additionalProperties: false - -examples: - - | - occ { - compatible = "ibm,p9-occ"; - - hwmon { - compatible = "ibm,p9-occ-hwmon"; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/fsi/ibm,p9-occ.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: IBM FSI-attached On-Chip Controller (OCC) + +maintainers: + - Eddie James + +description: + The POWER processor On-Chip Controller (OCC) helps manage power and + thermals for the system, accessed through the FSI-attached SBEFIFO + from a service processor. + +properties: + compatible: + enum: + - ibm,p9-occ + - ibm,p10-occ + + hwmon: + type: object + $ref: /schemas/hwmon/ibm,occ-hwmon.yaml + +required: + - compatible + +additionalProperties: false + +examples: + - | + occ { + compatible = "ibm,p9-occ"; + + hwmon { + compatible = "ibm,p9-occ-hwmon"; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/fsi/ibm,p9-sbefifo.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/fsi/ibm,p9-sbefifo.yaml index 94058139ba..3cd966fb3c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/fsi/ibm,p9-sbefifo.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/fsi/ibm,p9-sbefifo.yaml @@ -1,46 +1,46 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/fsi/ibm,p9-sbefifo.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: IBM FSI-attached SBEFIFO engine - -maintainers: - - Eddie James - -description: - The SBEFIFO is an FSI CFAM engine that provides an interface to the - POWER processor Self Boot Engine (SBE). This node will always be a child - of an FSI CFAM node. - -properties: - compatible: - enum: - - ibm,p9-sbefifo - - ibm,odyssey-sbefifo - - reg: - items: - - description: FSI slave address - - occ: - type: object - $ref: ibm,p9-occ.yaml# - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - fsi-slave-engine@2400 { - compatible = "ibm,p9-sbefifo"; - reg = <0x2400 0x400>; - - occ { - compatible = "ibm,p9-occ"; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/fsi/ibm,p9-sbefifo.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: IBM FSI-attached SBEFIFO engine + +maintainers: + - Eddie James + +description: + The SBEFIFO is an FSI CFAM engine that provides an interface to the + POWER processor Self Boot Engine (SBE). This node will always be a child + of an FSI CFAM node. + +properties: + compatible: + enum: + - ibm,p9-sbefifo + - ibm,odyssey-sbefifo + + reg: + items: + - description: FSI slave address + + occ: + type: object + $ref: ibm,p9-occ.yaml# + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + fsi-slave-engine@2400 { + compatible = "ibm,p9-sbefifo"; + reg = <0x2400 0x400>; + + occ { + compatible = "ibm,p9-occ"; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/fsi/ibm,p9-scom.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/fsi/ibm,p9-scom.yaml index 46ed235f23..8cd14a70be 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/fsi/ibm,p9-scom.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/fsi/ibm,p9-scom.yaml @@ -1,37 +1,37 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/fsi/ibm,p9-scom.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: IBM FSI-attached SCOM engine - -maintainers: - - Eddie James - -description: - The SCOM engine is an interface to the POWER processor PIB (Pervasive - Interconnect Bus). This node will always be a child of an FSI CFAM node. - -properties: - compatible: - enum: - - ibm,p9-scom - - ibm,i2cr-scom - - reg: - items: - - description: FSI slave address - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - scom@1000 { - compatible = "ibm,p9-scom"; - reg = <0x1000 0x400>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/fsi/ibm,p9-scom.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: IBM FSI-attached SCOM engine + +maintainers: + - Eddie James + +description: + The SCOM engine is an interface to the POWER processor PIB (Pervasive + Interconnect Bus). This node will always be a child of an FSI CFAM node. + +properties: + compatible: + enum: + - ibm,p9-scom + - ibm,i2cr-scom + + reg: + items: + - description: FSI slave address + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + scom@1000 { + compatible = "ibm,p9-scom"; + reg = <0x1000 0x400>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/fuse/renesas,rcar-otp.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/fuse/renesas,rcar-otp.yaml index f3c3370f99..d74872ae9f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/fuse/renesas,rcar-otp.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/fuse/renesas,rcar-otp.yaml @@ -1,38 +1,38 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/fuse/renesas,rcar-otp.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: R-Car E-FUSE connected to OTP_MEM - -maintainers: - - Geert Uytterhoeven - -description: - The E-FUSE is a type of non-volatile memory, which is accessible through the - One-Time Programmable Memory (OTP_MEM) module on some R-Car Gen4 SoCs. - -properties: - compatible: - enum: - - renesas,r8a779g0-otp # R-CarV4H - - renesas,r8a779h0-otp # R-CarV4M - - reg: - items: - - description: OTP_MEM_0 - - description: OTP_MEM_1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - otp: otp@e61be000 { - compatible = "renesas,r8a779g0-otp"; - reg = <0xe61be000 0x1000>, <0xe61bf000 0x1000>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/fuse/renesas,rcar-otp.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: R-Car E-FUSE connected to OTP_MEM + +maintainers: + - Geert Uytterhoeven + +description: + The E-FUSE is a type of non-volatile memory, which is accessible through the + One-Time Programmable Memory (OTP_MEM) module on some R-Car Gen4 SoCs. + +properties: + compatible: + enum: + - renesas,r8a779g0-otp # R-CarV4H + - renesas,r8a779h0-otp # R-CarV4M + + reg: + items: + - description: OTP_MEM_0 + - description: OTP_MEM_1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + otp: otp@e61be000 { + compatible = "renesas,r8a779g0-otp"; + reg = <0xe61be000 0x1000>, <0xe61bf000 0x1000>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/adi,ds4520-gpio.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/adi,ds4520-gpio.yaml index 449646c5f9..25b3198c4d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/adi,ds4520-gpio.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/adi,ds4520-gpio.yaml @@ -1,51 +1,51 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/gpio/adi,ds4520-gpio.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: DS4520 I2C GPIO expander - -maintainers: - - Okan Sahin - -properties: - compatible: - enum: - - adi,ds4520-gpio - - reg: - maxItems: 1 - - gpio-controller: true - - "#gpio-cells": - const: 2 - - ngpios: - minimum: 1 - maximum: 9 - -required: - - compatible - - reg - - gpio-controller - - "#gpio-cells" - - ngpios - -additionalProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - gpio@50 { - compatible = "adi,ds4520-gpio"; - reg = <0x50>; - ngpios = <9>; - gpio-controller; - #gpio-cells = <2>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/gpio/adi,ds4520-gpio.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: DS4520 I2C GPIO expander + +maintainers: + - Okan Sahin + +properties: + compatible: + enum: + - adi,ds4520-gpio + + reg: + maxItems: 1 + + gpio-controller: true + + "#gpio-cells": + const: 2 + + ngpios: + minimum: 1 + maximum: 9 + +required: + - compatible + - reg + - gpio-controller + - "#gpio-cells" + - ngpios + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + gpio@50 { + compatible = "adi,ds4520-gpio"; + reg = <0x50>; + ngpios = <9>; + gpio-controller; + #gpio-cells = <2>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/delta,tn48m-gpio.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/delta,tn48m-gpio.yaml index dd186b3c36..e3e668a120 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/delta,tn48m-gpio.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/delta,tn48m-gpio.yaml @@ -1,39 +1,39 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/gpio/delta,tn48m-gpio.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Delta Networks TN48M CPLD GPIO controller - -maintainers: - - Robert Marko - -description: | - This module is part of the Delta TN48M multi-function device. For more - details see ../mfd/delta,tn48m-cpld.yaml. - - Delta TN48M has an onboard Lattice CPLD that is used as an GPIO expander. - It provides 12 pins in total, they are input-only or ouput-only type. - -properties: - compatible: - enum: - - delta,tn48m-gpo - - delta,tn48m-gpi - - reg: - maxItems: 1 - - "#gpio-cells": - const: 2 - - gpio-controller: true - -required: - - compatible - - reg - - "#gpio-cells" - - gpio-controller - -additionalProperties: false +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/gpio/delta,tn48m-gpio.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Delta Networks TN48M CPLD GPIO controller + +maintainers: + - Robert Marko + +description: | + This module is part of the Delta TN48M multi-function device. For more + details see ../mfd/delta,tn48m-cpld.yaml. + + Delta TN48M has an onboard Lattice CPLD that is used as an GPIO expander. + It provides 12 pins in total, they are input-only or ouput-only type. + +properties: + compatible: + enum: + - delta,tn48m-gpo + - delta,tn48m-gpi + + reg: + maxItems: 1 + + "#gpio-cells": + const: 2 + + gpio-controller: true + +required: + - compatible + - reg + - "#gpio-cells" + - gpio-controller + +additionalProperties: false diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/fsl,imx8qxp-sc-gpio.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/fsl,imx8qxp-sc-gpio.yaml index 1920de7138..b7b3222093 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/fsl,imx8qxp-sc-gpio.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/fsl,imx8qxp-sc-gpio.yaml @@ -1,39 +1,39 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/gpio/fsl,imx8qxp-sc-gpio.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: GPIO driver over IMX SCU firmware API - -maintainers: - - Shenwei Wang - -description: | - This module provides the standard interface to control the - resource pins in SCU domain on i.MX8 platforms. - -properties: - compatible: - enum: - - fsl,imx8qxp-sc-gpio - - "#gpio-cells": - const: 2 - - gpio-controller: true - -required: - - compatible - - "#gpio-cells" - - gpio-controller - -additionalProperties: false - -examples: - - | - gpio0: gpio { - compatible = "fsl,imx8qxp-sc-gpio"; - gpio-controller; - #gpio-cells = <2>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/gpio/fsl,imx8qxp-sc-gpio.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: GPIO driver over IMX SCU firmware API + +maintainers: + - Shenwei Wang + +description: | + This module provides the standard interface to control the + resource pins in SCU domain on i.MX8 platforms. + +properties: + compatible: + enum: + - fsl,imx8qxp-sc-gpio + + "#gpio-cells": + const: 2 + + gpio-controller: true + +required: + - compatible + - "#gpio-cells" + - gpio-controller + +additionalProperties: false + +examples: + - | + gpio0: gpio { + compatible = "fsl,imx8qxp-sc-gpio"; + gpio-controller; + #gpio-cells = <2>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/fujitsu,mb86s70-gpio.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/fujitsu,mb86s70-gpio.yaml index 5bf4e4befe..d18d952854 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/fujitsu,mb86s70-gpio.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/fujitsu,mb86s70-gpio.yaml @@ -1,50 +1,50 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/gpio/fujitsu,mb86s70-gpio.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Fujitsu MB86S7x GPIO Controller - -maintainers: - - Jassi Brar - -properties: - compatible: - oneOf: - - items: - - const: socionext,synquacer-gpio - - const: fujitsu,mb86s70-gpio - - const: fujitsu,mb86s70-gpio - - reg: - maxItems: 1 - - '#gpio-cells': - const: 2 - - gpio-controller: true - gpio-line-names: true - - clocks: - maxItems: 1 - -required: - - compatible - - reg - - '#gpio-cells' - - gpio-controller - - clocks - -additionalProperties: false - -examples: - - | - gpio@31000000 { - compatible = "fujitsu,mb86s70-gpio"; - reg = <0x31000000 0x10000>; - gpio-controller; - #gpio-cells = <2>; - clocks = <&clk 0 2 1>; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/gpio/fujitsu,mb86s70-gpio.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Fujitsu MB86S7x GPIO Controller + +maintainers: + - Jassi Brar + +properties: + compatible: + oneOf: + - items: + - const: socionext,synquacer-gpio + - const: fujitsu,mb86s70-gpio + - const: fujitsu,mb86s70-gpio + + reg: + maxItems: 1 + + '#gpio-cells': + const: 2 + + gpio-controller: true + gpio-line-names: true + + clocks: + maxItems: 1 + +required: + - compatible + - reg + - '#gpio-cells' + - gpio-controller + - clocks + +additionalProperties: false + +examples: + - | + gpio@31000000 { + compatible = "fujitsu,mb86s70-gpio"; + reg = <0x31000000 0x10000>; + gpio-controller; + #gpio-cells = <2>; + clocks = <&clk 0 2 1>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/gpio-clps711x.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/gpio-clps711x.txt index fd7f826586..0a304ad29d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/gpio-clps711x.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/gpio-clps711x.txt @@ -1,28 +1,28 @@ -Cirrus Logic CLPS711X GPIO controller - -Required properties: -- compatible: Should be "cirrus,ep7209-gpio" -- reg: Physical base GPIO controller registers location and length. - There should be two registers, first is DATA register, the second - is DIRECTION. -- 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 - -Note: Each GPIO port should have an alias correctly numbered in "aliases" -node. - -Example: - -aliases { - gpio0 = &porta; -}; - -porta: gpio@80000000 { - compatible = "cirrus,ep7312-gpio","cirrus,ep7209-gpio"; - reg = <0x80000000 0x1>, <0x80000040 0x1>; - gpio-controller; - #gpio-cells = <2>; -}; +Cirrus Logic CLPS711X GPIO controller + +Required properties: +- compatible: Should be "cirrus,ep7209-gpio" +- reg: Physical base GPIO controller registers location and length. + There should be two registers, first is DATA register, the second + is DIRECTION. +- 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 + +Note: Each GPIO port should have an alias correctly numbered in "aliases" +node. + +Example: + +aliases { + gpio0 = &porta; +}; + +porta: gpio@80000000 { + compatible = "cirrus,ep7312-gpio","cirrus,ep7209-gpio"; + reg = <0x80000000 0x1>, <0x80000040 0x1>; + gpio-controller; + #gpio-cells = <2>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/gpio-grgpio.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/gpio-grgpio.txt index 6267b3eac2..e466598105 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/gpio-grgpio.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/gpio-grgpio.txt @@ -1,26 +1,26 @@ -Aeroflex Gaisler GRGPIO General Purpose I/O cores. - -The GRGPIO GPIO core is available in the GRLIB VHDL IP core library. - -Note: In the ordinary environment for the GRGPIO core, a Leon SPARC system, -these properties are built from information in the AMBA plug&play. - -Required properties: - -- name : Should be "GAISLER_GPIO" or "01_01a" - -- reg : Address and length of the register set for the device - -- interrupts : Interrupt numbers for this device - -Optional properties: - -- nbits : The number of gpio lines. If not present driver assumes 32 lines. - -- irqmap : An array with an index for each gpio line. An index is either a valid - index into the interrupts property array, or 0xffffffff that indicates - no irq for that line. Driver provides no interrupt support if not - present. - -For further information look in the documentation for the GLIB IP core library: -http://www.gaisler.com/products/grlib/grip.pdf +Aeroflex Gaisler GRGPIO General Purpose I/O cores. + +The GRGPIO GPIO core is available in the GRLIB VHDL IP core library. + +Note: In the ordinary environment for the GRGPIO core, a Leon SPARC system, +these properties are built from information in the AMBA plug&play. + +Required properties: + +- name : Should be "GAISLER_GPIO" or "01_01a" + +- reg : Address and length of the register set for the device + +- interrupts : Interrupt numbers for this device + +Optional properties: + +- nbits : The number of gpio lines. If not present driver assumes 32 lines. + +- irqmap : An array with an index for each gpio line. An index is either a valid + index into the interrupts property array, or 0xffffffff that indicates + no irq for that line. Driver provides no interrupt support if not + present. + +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/gpio/gpio-lp3943.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/gpio-lp3943.txt index 3630412d2b..80fcb7d70e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/gpio-lp3943.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/gpio-lp3943.txt @@ -1,37 +1,37 @@ -TI/National Semiconductor LP3943 GPIO controller - -Required properties: - - compatible: "ti,lp3943-gpio" - - gpio-controller: Marks the device node as a GPIO controller. - - #gpio-cells: Should be 2. See gpio.txt in this directory for a - description of the cells format. - -Example: -Simple LED controls with LP3943 GPIO controller - -&i2c4 { - lp3943@60 { - compatible = "ti,lp3943"; - reg = <0x60>; - - gpioex: gpio { - compatible = "ti,lp3943-gpio"; - gpio-controller; - #gpio-cells = <2>; - }; - }; -}; - -leds { - compatible = "gpio-leds"; - indicator1 { - label = "indi1"; - gpios = <&gpioex 9 GPIO_ACTIVE_LOW>; - }; - - indicator2 { - label = "indi2"; - gpios = <&gpioex 10 GPIO_ACTIVE_LOW>; - default-state = "off"; - }; -}; +TI/National Semiconductor LP3943 GPIO controller + +Required properties: + - compatible: "ti,lp3943-gpio" + - gpio-controller: Marks the device node as a GPIO controller. + - #gpio-cells: Should be 2. See gpio.txt in this directory for a + description of the cells format. + +Example: +Simple LED controls with LP3943 GPIO controller + +&i2c4 { + lp3943@60 { + compatible = "ti,lp3943"; + reg = <0x60>; + + gpioex: gpio { + compatible = "ti,lp3943-gpio"; + gpio-controller; + #gpio-cells = <2>; + }; + }; +}; + +leds { + compatible = "gpio-leds"; + indicator1 { + label = "indi1"; + gpios = <&gpioex 9 GPIO_ACTIVE_LOW>; + }; + + indicator2 { + label = "indi2"; + gpios = <&gpioex 10 GPIO_ACTIVE_LOW>; + default-state = "off"; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/gpio-max77620.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/gpio-max77620.txt index 538865d9b2..410e716fd3 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/gpio-max77620.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/gpio-max77620.txt @@ -1,25 +1,25 @@ -GPIO driver for MAX77620 Power management IC from Maxim Semiconductor. - -Device has 8 GPIO pins which can be configured as GPIO as well as the -special IO functions. - -Required properties: -------------------- -- 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 -For more details, please refer generic GPIO DT binding document -. - -Example: --------- -#include -... -max77620@3c { - compatible = "maxim,max77620"; - - gpio-controller; - #gpio-cells = <2>; -}; +GPIO driver for MAX77620 Power management IC from Maxim Semiconductor. + +Device has 8 GPIO pins which can be configured as GPIO as well as the +special IO functions. + +Required properties: +------------------- +- 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 +For more details, please refer generic GPIO DT binding document +. + +Example: +-------- +#include +... +max77620@3c { + compatible = "maxim,max77620"; + + gpio-controller; + #gpio-cells = <2>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/gpio-palmas.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/gpio-palmas.txt index 30faedbbbf..08b5b52a3a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/gpio-palmas.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/gpio-palmas.txt @@ -1,27 +1,27 @@ -Palmas GPIO controller bindings - -Required properties: -- compatible: - - "ti,palams-gpio" for palma series of the GPIO controller - - "ti,tps80036-gpio" for Palma series device TPS80036. - - "ti,tps65913-gpio" for palma series device TPS65913. - - "ti,tps65914-gpio" for palma series device TPS65914. -- #gpio-cells : Should be two. - - first cell is the gpio pin number - - second cell is used to specify the gpio polarity: - 0 = active high - 1 = active low -- gpio-controller : Marks the device node as a GPIO controller. - -Note: This gpio node will be sub node of palmas node. - -Example: - palmas: tps65913@58 { - ::::::::::: - palmas_gpio: palmas_gpio { - compatible = "ti,palmas-gpio"; - gpio-controller; - #gpio-cells = <2>; - }; - ::::::::::: - }; +Palmas GPIO controller bindings + +Required properties: +- compatible: + - "ti,palams-gpio" for palma series of the GPIO controller + - "ti,tps80036-gpio" for Palma series device TPS80036. + - "ti,tps65913-gpio" for palma series device TPS65913. + - "ti,tps65914-gpio" for palma series device TPS65914. +- #gpio-cells : Should be two. + - first cell is the gpio pin number + - second cell is used to specify the gpio polarity: + 0 = active high + 1 = active low +- gpio-controller : Marks the device node as a GPIO controller. + +Note: This gpio node will be sub node of palmas node. + +Example: + palmas: tps65913@58 { + ::::::::::: + palmas_gpio: palmas_gpio { + compatible = "ti,palmas-gpio"; + gpio-controller; + #gpio-cells = <2>; + }; + ::::::::::: + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/gpio-pca9570.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/gpio-pca9570.yaml index 50733064b2..6f73961001 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/gpio-pca9570.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/gpio-pca9570.yaml @@ -1,56 +1,56 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/gpio/gpio-pca9570.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: PCA9570 I2C GPO expander - -maintainers: - - Sungbo Eo - -properties: - compatible: - enum: - - dlg,slg7xl45106 - - nxp,pca9570 - - nxp,pca9571 - - reg: - maxItems: 1 - - gpio-controller: true - - '#gpio-cells': - const: 2 - - gpio-line-names: - minItems: 4 - maxItems: 8 - - label: - description: A descriptive name for this device. - -required: - - compatible - - reg - - gpio-controller - - "#gpio-cells" - -additionalProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - gpio@24 { - compatible = "nxp,pca9570"; - reg = <0x24>; - gpio-controller; - #gpio-cells = <2>; - }; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/gpio/gpio-pca9570.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: PCA9570 I2C GPO expander + +maintainers: + - Sungbo Eo + +properties: + compatible: + enum: + - dlg,slg7xl45106 + - nxp,pca9570 + - nxp,pca9571 + + reg: + maxItems: 1 + + gpio-controller: true + + '#gpio-cells': + const: 2 + + gpio-line-names: + minItems: 4 + maxItems: 8 + + label: + description: A descriptive name for this device. + +required: + - compatible + - reg + - gpio-controller + - "#gpio-cells" + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + gpio@24 { + compatible = "nxp,pca9570"; + reg = <0x24>; + gpio-controller; + #gpio-cells = <2>; + }; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/gpio-rda.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/gpio-rda.yaml index 288606f744..6ece555f07 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/gpio-rda.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/gpio-rda.yaml @@ -1,50 +1,50 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/gpio/gpio-rda.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: RDA Micro GPIO controller - -maintainers: - - Manivannan Sadhasivam - -properties: - compatible: - const: rda,8810pl-gpio - - reg: - maxItems: 1 - - gpio-controller: true - - "#gpio-cells": - const: 2 - - ngpios: - description: - Number of available gpios in a bank. - minimum: 1 - maximum: 32 - - interrupt-controller: true - - "#interrupt-cells": - const: 2 - - interrupts: - maxItems: 1 - -required: - - compatible - - reg - - gpio-controller - - "#gpio-cells" - - ngpios - - interrupt-controller - - "#interrupt-cells" - - interrupts - -additionalProperties: false - -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/gpio/gpio-rda.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: RDA Micro GPIO controller + +maintainers: + - Manivannan Sadhasivam + +properties: + compatible: + const: rda,8810pl-gpio + + reg: + maxItems: 1 + + gpio-controller: true + + "#gpio-cells": + const: 2 + + ngpios: + description: + Number of available gpios in a bank. + minimum: 1 + maximum: 32 + + interrupt-controller: true + + "#interrupt-cells": + const: 2 + + interrupts: + maxItems: 1 + +required: + - compatible + - reg + - gpio-controller + - "#gpio-cells" + - ngpios + - interrupt-controller + - "#interrupt-cells" + - interrupts + +additionalProperties: false + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/gpio-tpic2810.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/gpio-tpic2810.yaml index 0b3cd9880a..157969bc4c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/gpio-tpic2810.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/gpio-tpic2810.yaml @@ -1,51 +1,51 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/gpio/gpio-tpic2810.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: TPIC2810 GPIO controller - -maintainers: - - Aswath Govindraju - -properties: - compatible: - enum: - - ti,tpic2810 - - reg: - maxItems: 1 - - gpio-controller: true - - "#gpio-cells": - const: 2 - - gpio-line-names: - minItems: 1 - maxItems: 32 - -required: - - compatible - - reg - - gpio-controller - - "#gpio-cells" - -additionalProperties: false - -examples: - - | - #include - - i2c { - #address-cells = <1>; - #size-cells = <0>; - gpio@60 { - compatible = "ti,tpic2810"; - reg = <0x60>; - gpio-controller; - #gpio-cells = <2>; - gpio-line-names = "LED A", "LED B", "LED C"; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/gpio/gpio-tpic2810.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: TPIC2810 GPIO controller + +maintainers: + - Aswath Govindraju + +properties: + compatible: + enum: + - ti,tpic2810 + + reg: + maxItems: 1 + + gpio-controller: true + + "#gpio-cells": + const: 2 + + gpio-line-names: + minItems: 1 + maxItems: 32 + +required: + - compatible + - reg + - gpio-controller + - "#gpio-cells" + +additionalProperties: false + +examples: + - | + #include + + i2c { + #address-cells = <1>; + #size-cells = <0>; + gpio@60 { + compatible = "ti,tpic2810"; + reg = <0x60>; + gpio-controller; + #gpio-cells = <2>; + gpio-line-names = "LED A", "LED B", "LED C"; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/gpio-ts4900.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/gpio-ts4900.txt index eca61bd09c..3f8e71b1ab 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/gpio-ts4900.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/gpio-ts4900.txt @@ -1,30 +1,30 @@ -* Technologic Systems I2C-FPGA's GPIO controller bindings - -This bindings describes the GPIO controller for Technologic's FPGA core. -TS-4900's FPGA encodes the GPIO state on 3 bits, whereas the TS-7970's FPGA -uses 2 bits: it doesn't use a dedicated input bit. - -Required properties: -- compatible: Should be one of the following - "technologic,ts4900-gpio" - "technologic,ts7970-gpio" -- reg: Physical base address of the controller and length - of memory mapped region. -- #gpio-cells: Should be two. The first cell is the pin number. -- gpio-controller: Marks the device node as a gpio controller. - -Optional property: -- ngpios: Number of GPIOs this controller is instantiated with, - the default is 32. See gpio.txt for more details. - -Example: - -&i2c2 { - gpio8: gpio@28 { - compatible = "technologic,ts4900-gpio"; - reg = <0x28>; - #gpio-cells = <2>; - gpio-controller; - ngpios = <32>; - }; -}; +* Technologic Systems I2C-FPGA's GPIO controller bindings + +This bindings describes the GPIO controller for Technologic's FPGA core. +TS-4900's FPGA encodes the GPIO state on 3 bits, whereas the TS-7970's FPGA +uses 2 bits: it doesn't use a dedicated input bit. + +Required properties: +- compatible: Should be one of the following + "technologic,ts4900-gpio" + "technologic,ts7970-gpio" +- reg: Physical base address of the controller and length + of memory mapped region. +- #gpio-cells: Should be two. The first cell is the pin number. +- gpio-controller: Marks the device node as a gpio controller. + +Optional property: +- ngpios: Number of GPIOs this controller is instantiated with, + the default is 32. See gpio.txt for more details. + +Example: + +&i2c2 { + gpio8: gpio@28 { + compatible = "technologic,ts4900-gpio"; + reg = <0x28>; + #gpio-cells = <2>; + gpio-controller; + ngpios = <32>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/gpio-twl4030.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/gpio-twl4030.txt index ec7999cfb6..66788fda1d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/gpio-twl4030.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/gpio-twl4030.txt @@ -1,29 +1,29 @@ -twl4030 GPIO controller bindings - -Required properties: -- compatible: - - "ti,twl4030-gpio" for twl4030 GPIO controller -- #gpio-cells : Should be two. - - first cell is the pin number - - second cell is used to specify optional parameters (unused) -- gpio-controller : Marks the device node as a GPIO controller. -- #interrupt-cells : Should be 2. -- interrupt-controller: Mark the device node as an interrupt controller - The first cell is the GPIO number. - The second cell is not used. -- ti,use-leds : Enables LEDA and LEDB outputs if set -- ti,debounce : if n-th bit is set, debounces GPIO-n -- ti,mmc-cd : if n-th bit is set, GPIO-n controls VMMC(n+1) -- ti,pullups : if n-th bit is set, set a pullup on GPIO-n -- ti,pulldowns : if n-th bit is set, set a pulldown on GPIO-n - -Example: - -twl_gpio: gpio { - compatible = "ti,twl4030-gpio"; - #gpio-cells = <2>; - gpio-controller; - #interrupt-cells = <2>; - interrupt-controller; - ti,use-leds; -}; +twl4030 GPIO controller bindings + +Required properties: +- compatible: + - "ti,twl4030-gpio" for twl4030 GPIO controller +- #gpio-cells : Should be two. + - first cell is the pin number + - second cell is used to specify optional parameters (unused) +- gpio-controller : Marks the device node as a GPIO controller. +- #interrupt-cells : Should be 2. +- interrupt-controller: Mark the device node as an interrupt controller + The first cell is the GPIO number. + The second cell is not used. +- ti,use-leds : Enables LEDA and LEDB outputs if set +- ti,debounce : if n-th bit is set, debounces GPIO-n +- ti,mmc-cd : if n-th bit is set, GPIO-n controls VMMC(n+1) +- ti,pullups : if n-th bit is set, set a pullup on GPIO-n +- ti,pulldowns : if n-th bit is set, set a pulldown on GPIO-n + +Example: + +twl_gpio: gpio { + compatible = "ti,twl4030-gpio"; + #gpio-cells = <2>; + gpio-controller; + #interrupt-cells = <2>; + interrupt-controller; + ti,use-leds; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/gpio-xgene.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/gpio-xgene.txt index 0a47f14042..86dbb05e77 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/gpio-xgene.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/gpio-xgene.txt @@ -1,22 +1,22 @@ -APM X-Gene SoC GPIO controller bindings - -This is a gpio controller that is part of the flash controller. -This gpio controller controls a total of 48 gpios. - -Required properties: -- compatible: "apm,xgene-gpio" for X-Gene GPIO controller -- reg: Physical base address and size of the controller's registers -- #gpio-cells: Should be two. - - first cell is the pin number - - second cell is used to specify the gpio polarity: - 0 = active high - 1 = active low -- gpio-controller: Marks the device node as a GPIO controller. - -Example: - gpio0: gpio0@1701c000 { - compatible = "apm,xgene-gpio"; - reg = <0x0 0x1701c000 0x0 0x40>; - gpio-controller; - #gpio-cells = <2>; - }; +APM X-Gene SoC GPIO controller bindings + +This is a gpio controller that is part of the flash controller. +This gpio controller controls a total of 48 gpios. + +Required properties: +- compatible: "apm,xgene-gpio" for X-Gene GPIO controller +- reg: Physical base address and size of the controller's registers +- #gpio-cells: Should be two. + - first cell is the pin number + - second cell is used to specify the gpio polarity: + 0 = active high + 1 = active low +- gpio-controller: Marks the device node as a GPIO controller. + +Example: + gpio0: gpio0@1701c000 { + compatible = "apm,xgene-gpio"; + reg = <0x0 0x1701c000 0x0 0x40>; + gpio-controller; + #gpio-cells = <2>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/ibm,ppc4xx-gpio.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/ibm,ppc4xx-gpio.txt index aa0c2a8d32..d58b3958f3 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/ibm,ppc4xx-gpio.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/ibm,ppc4xx-gpio.txt @@ -1,24 +1,24 @@ -* IBM/AMCC/APM GPIO Controller for PowerPC 4XX series and compatible SoCs - -All GPIOs are pin-shared with other functions. DCRs control whether a -particular pin that has GPIO capabilities acts as a GPIO or is used for -another purpose. GPIO outputs are separately programmable to emulate -an open-drain driver. - -Required properties: - - compatible: must be "ibm,ppc4xx-gpio" - - reg: address and length of the register set for the device - - #gpio-cells: must be set to 2. The first cell is the pin number - and the second cell is used to specify the gpio polarity: - 0 = active high - 1 = active low - - gpio-controller: marks the device node as a gpio controller. - -Example: - -GPIO0: gpio@ef600b00 { - compatible = "ibm,ppc4xx-gpio"; - reg = <0xef600b00 0x00000048>; - #gpio-cells = <2>; - gpio-controller; -}; +* IBM/AMCC/APM GPIO Controller for PowerPC 4XX series and compatible SoCs + +All GPIOs are pin-shared with other functions. DCRs control whether a +particular pin that has GPIO capabilities acts as a GPIO or is used for +another purpose. GPIO outputs are separately programmable to emulate +an open-drain driver. + +Required properties: + - compatible: must be "ibm,ppc4xx-gpio" + - reg: address and length of the register set for the device + - #gpio-cells: must be set to 2. The first cell is the pin number + and the second cell is used to specify the gpio polarity: + 0 = active high + 1 = active low + - gpio-controller: marks the device node as a gpio controller. + +Example: + +GPIO0: gpio@ef600b00 { + compatible = "ibm,ppc4xx-gpio"; + reg = <0xef600b00 0x00000048>; + #gpio-cells = <2>; + gpio-controller; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/loongson,ls1x-gpio.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/loongson,ls1x-gpio.yaml index b90aab9399..1a472c0569 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/loongson,ls1x-gpio.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/loongson,ls1x-gpio.yaml @@ -1,49 +1,49 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/gpio/loongson,ls1x-gpio.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Loongson-1 GPIO controller - -maintainers: - - Keguang Zhang - -properties: - compatible: - const: loongson,ls1x-gpio - - reg: - maxItems: 1 - - gpio-controller: true - - "#gpio-cells": - const: 2 - - ngpios: - minimum: 1 - maximum: 32 - -required: - - compatible - - reg - - gpio-controller - - "#gpio-cells" - - ngpios - -additionalProperties: false - -examples: - - | - gpio0: gpio@1fd010c0 { - compatible = "loongson,ls1x-gpio"; - reg = <0x1fd010c0 0x4>; - - gpio-controller; - #gpio-cells = <2>; - - ngpios = <32>; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/gpio/loongson,ls1x-gpio.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Loongson-1 GPIO controller + +maintainers: + - Keguang Zhang + +properties: + compatible: + const: loongson,ls1x-gpio + + reg: + maxItems: 1 + + gpio-controller: true + + "#gpio-cells": + const: 2 + + ngpios: + minimum: 1 + maximum: 32 + +required: + - compatible + - reg + - gpio-controller + - "#gpio-cells" + - ngpios + +additionalProperties: false + +examples: + - | + gpio0: gpio@1fd010c0 { + compatible = "loongson,ls1x-gpio"; + reg = <0x1fd010c0 0x4>; + + gpio-controller; + #gpio-cells = <2>; + + ngpios = <32>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/lsi,zevio-gpio.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/lsi,zevio-gpio.yaml index 8988b4aabc..e9e201a489 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/lsi,zevio-gpio.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/lsi,zevio-gpio.yaml @@ -1,43 +1,43 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/gpio/lsi,zevio-gpio.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Zevio GPIO controller - -maintainers: - - Pratik Farkase - -properties: - compatible: - items: - - const: lsi,zevio-gpio - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - "#gpio-cells": - const: 2 - - gpio-controller: true - -required: - - compatible - - reg - - "#gpio-cells" - - gpio-controller - -unevaluatedProperties: false - -examples: - - | - gpio@90000000 { - compatible = "lsi,zevio-gpio"; - reg = <0x90000000 0x1000>; - gpio-controller; - #gpio-cells = <2>; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/gpio/lsi,zevio-gpio.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Zevio GPIO controller + +maintainers: + - Pratik Farkase + +properties: + compatible: + items: + - const: lsi,zevio-gpio + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + "#gpio-cells": + const: 2 + + gpio-controller: true + +required: + - compatible + - reg + - "#gpio-cells" + - gpio-controller + +unevaluatedProperties: false + +examples: + - | + gpio@90000000 { + compatible = "lsi,zevio-gpio"; + reg = <0x90000000 0x1000>; + gpio-controller; + #gpio-cells = <2>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/netxbig-gpio-ext.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/netxbig-gpio-ext.txt index 7a66c30ba2..50ec2e6907 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/netxbig-gpio-ext.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/netxbig-gpio-ext.txt @@ -1,22 +1,22 @@ -Binding for the GPIO extension bus found on some LaCie/Seagate boards -(Example: 2Big/5Big Network v2, 2Big NAS). - -Required properties: -- compatible: "lacie,netxbig-gpio-ext". -- addr-gpios: GPIOs representing the address register (LSB -> MSB). -- data-gpios: GPIOs representing the data register (LSB -> MSB). -- enable-gpio: latches the new configuration (address, data) on raising edge. - -Example: - -netxbig_gpio_ext: netxbig-gpio-ext { - compatible = "lacie,netxbig-gpio-ext"; - - addr-gpios = <&gpio1 15 GPIO_ACTIVE_HIGH - &gpio1 16 GPIO_ACTIVE_HIGH - &gpio1 17 GPIO_ACTIVE_HIGH>; - data-gpios = <&gpio1 12 GPIO_ACTIVE_HIGH - &gpio1 13 GPIO_ACTIVE_HIGH - &gpio1 14 GPIO_ACTIVE_HIGH>; - enable-gpio = <&gpio0 29 GPIO_ACTIVE_HIGH>; -}; +Binding for the GPIO extension bus found on some LaCie/Seagate boards +(Example: 2Big/5Big Network v2, 2Big NAS). + +Required properties: +- compatible: "lacie,netxbig-gpio-ext". +- addr-gpios: GPIOs representing the address register (LSB -> MSB). +- data-gpios: GPIOs representing the data register (LSB -> MSB). +- enable-gpio: latches the new configuration (address, data) on raising edge. + +Example: + +netxbig_gpio_ext: netxbig-gpio-ext { + compatible = "lacie,netxbig-gpio-ext"; + + addr-gpios = <&gpio1 15 GPIO_ACTIVE_HIGH + &gpio1 16 GPIO_ACTIVE_HIGH + &gpio1 17 GPIO_ACTIVE_HIGH>; + data-gpios = <&gpio1 12 GPIO_ACTIVE_HIGH + &gpio1 13 GPIO_ACTIVE_HIGH + &gpio1 14 GPIO_ACTIVE_HIGH>; + enable-gpio = <&gpio0 29 GPIO_ACTIVE_HIGH>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/nintendo,hollywood-gpio.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/nintendo,hollywood-gpio.txt index 327b155466..df63da4630 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/nintendo,hollywood-gpio.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/nintendo,hollywood-gpio.txt @@ -1,26 +1,26 @@ -Nintendo Wii (Hollywood) GPIO controller - -Required properties: -- compatible: "nintendo,hollywood-gpio" -- reg: Physical base address and length of the controller's registers. -- gpio-controller: Marks the device node as a GPIO controller. -- #gpio-cells: Should be <2>. The first cell is the pin number and the - second cell is used to specify optional parameters: - - bit 0 specifies polarity (0 for normal, 1 for inverted). - -Optional properties: -- ngpios: see Documentation/devicetree/bindings/gpio/gpio.txt -- interrupt-controller: Marks the device node as an interrupt controller. -- #interrupt-cells: Should be two. -- interrupts: Interrupt specifier for the controller's Broadway (PowerPC) - interrupt. - -Example: - - GPIO: gpio@d8000c0 { - #gpio-cells = <2>; - compatible = "nintendo,hollywood-gpio"; - reg = <0x0d8000c0 0x40>; - gpio-controller; - ngpios = <24>; - } +Nintendo Wii (Hollywood) GPIO controller + +Required properties: +- compatible: "nintendo,hollywood-gpio" +- reg: Physical base address and length of the controller's registers. +- gpio-controller: Marks the device node as a GPIO controller. +- #gpio-cells: Should be <2>. The first cell is the pin number and the + second cell is used to specify optional parameters: + - bit 0 specifies polarity (0 for normal, 1 for inverted). + +Optional properties: +- ngpios: see Documentation/devicetree/bindings/gpio/gpio.txt +- interrupt-controller: Marks the device node as an interrupt controller. +- #interrupt-cells: Should be two. +- interrupts: Interrupt specifier for the controller's Broadway (PowerPC) + interrupt. + +Example: + + GPIO: gpio@d8000c0 { + #gpio-cells = <2>; + compatible = "nintendo,hollywood-gpio"; + reg = <0x0d8000c0 0x40>; + gpio-controller; + ngpios = <24>; + } diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/qcom,wcd934x-gpio.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/qcom,wcd934x-gpio.yaml index 28bce1f837..32a566ec35 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/qcom,wcd934x-gpio.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/qcom,wcd934x-gpio.yaml @@ -1,47 +1,47 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/gpio/qcom,wcd934x-gpio.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: WCD9340/WCD9341 GPIO controller - -maintainers: - - Srinivas Kandagatla - -description: | - Qualcomm Technologies Inc WCD9340/WCD9341 Audio Codec has integrated - gpio controller to control 5 gpios on the chip. - -properties: - compatible: - enum: - - qcom,wcd9340-gpio - - qcom,wcd9341-gpio - - reg: - maxItems: 1 - - gpio-controller: true - - '#gpio-cells': - const: 2 - -required: - - compatible - - reg - - gpio-controller - - "#gpio-cells" - -additionalProperties: false - -examples: - - | - wcdgpio: gpio@42 { - compatible = "qcom,wcd9340-gpio"; - reg = <0x042 0x2>; - gpio-controller; - #gpio-cells = <2>; - }; - -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/gpio/qcom,wcd934x-gpio.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: WCD9340/WCD9341 GPIO controller + +maintainers: + - Srinivas Kandagatla + +description: | + Qualcomm Technologies Inc WCD9340/WCD9341 Audio Codec has integrated + gpio controller to control 5 gpios on the chip. + +properties: + compatible: + enum: + - qcom,wcd9340-gpio + - qcom,wcd9341-gpio + + reg: + maxItems: 1 + + gpio-controller: true + + '#gpio-cells': + const: 2 + +required: + - compatible + - reg + - gpio-controller + - "#gpio-cells" + +additionalProperties: false + +examples: + - | + wcdgpio: gpio@42 { + compatible = "qcom,wcd9340-gpio"; + reg = <0x042 0x2>; + gpio-controller; + #gpio-cells = <2>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/snps,creg-gpio.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/snps,creg-gpio.txt index 5d993f457e..1b30812b01 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/snps,creg-gpio.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/snps,creg-gpio.txt @@ -1,21 +1,21 @@ -Synopsys GPIO via CREG (Control REGisters) driver - -Required properties: -- compatible : "snps,creg-gpio-hsdk" or "snps,creg-gpio-axs10x". -- reg : Exactly one register range with length 0x4. -- #gpio-cells : Since the generic GPIO binding is used, the - amount of cells must be specified as 2. The first cell is the - pin number, the second cell is used to specify optional parameters: - See "gpio-specifier" in .../devicetree/bindings/gpio/gpio.txt. -- gpio-controller : Marks the device node as a GPIO controller. -- ngpios: Number of GPIO pins. - -Example: - -gpio: gpio@f00014b0 { - compatible = "snps,creg-gpio-hsdk"; - reg = <0xf00014b0 0x4>; - gpio-controller; - #gpio-cells = <2>; - ngpios = <2>; -}; +Synopsys GPIO via CREG (Control REGisters) driver + +Required properties: +- compatible : "snps,creg-gpio-hsdk" or "snps,creg-gpio-axs10x". +- reg : Exactly one register range with length 0x4. +- #gpio-cells : Since the generic GPIO binding is used, the + amount of cells must be specified as 2. The first cell is the + pin number, the second cell is used to specify optional parameters: + See "gpio-specifier" in .../devicetree/bindings/gpio/gpio.txt. +- gpio-controller : Marks the device node as a GPIO controller. +- ngpios: Number of GPIO pins. + +Example: + +gpio: gpio@f00014b0 { + compatible = "snps,creg-gpio-hsdk"; + reg = <0xf00014b0 0x4>; + gpio-controller; + #gpio-cells = <2>; + ngpios = <2>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpu/samsung-rotator.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpu/samsung-rotator.yaml index a54db3a8c8..18bf44e06e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpu/samsung-rotator.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpu/samsung-rotator.yaml @@ -1,56 +1,56 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/gpu/samsung-rotator.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Samsung SoC Image Rotator - -maintainers: - - Inki Dae - -properties: - compatible: - enum: - - samsung,s5pv210-rotator - - samsung,exynos4210-rotator - - samsung,exynos4212-rotator - - samsung,exynos5250-rotator - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - iommus: - maxItems: 1 - - power-domains: - maxItems: 1 - - clocks: - maxItems: 1 - - clock-names: - items: - - const: rotator - -required: - - compatible - - reg - - interrupts - - clocks - - clock-names - -additionalProperties: false - -examples: - - | - rotator@12810000 { - compatible = "samsung,exynos4210-rotator"; - reg = <0x12810000 0x1000>; - interrupts = <0 83 0>; - clocks = <&clock 278>; - clock-names = "rotator"; - }; +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/gpu/samsung-rotator.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Samsung SoC Image Rotator + +maintainers: + - Inki Dae + +properties: + compatible: + enum: + - samsung,s5pv210-rotator + - samsung,exynos4210-rotator + - samsung,exynos4212-rotator + - samsung,exynos5250-rotator + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + iommus: + maxItems: 1 + + power-domains: + maxItems: 1 + + clocks: + maxItems: 1 + + clock-names: + items: + - const: rotator + +required: + - compatible + - reg + - interrupts + - clocks + - clock-names + +additionalProperties: false + +examples: + - | + rotator@12810000 { + compatible = "samsung,exynos4210-rotator"; + reg = <0x12810000 0x1000>; + interrupts = <0 83 0>; + clocks = <&clock 278>; + clock-names = "rotator"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwinfo/loongson,ls2k-chipid.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwinfo/loongson,ls2k-chipid.yaml index bb6ad17d20..9d0c36ec19 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwinfo/loongson,ls2k-chipid.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwinfo/loongson,ls2k-chipid.yaml @@ -1,38 +1,38 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/hwinfo/loongson,ls2k-chipid.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Loongson-2 SoC ChipID - -maintainers: - - Yinbo Zhu - -description: | - Loongson-2 SoC contains many groups of global utilities register - blocks, of which the ChipID group registers record SoC version, - feature, vendor and id information. - -properties: - compatible: - const: loongson,ls2k-chipid - - reg: - maxItems: 1 - - little-endian: true - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - chipid: chipid@1fe00000 { - compatible = "loongson,ls2k-chipid"; - reg = <0x1fe00000 0x3ffc>; - little-endian; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/hwinfo/loongson,ls2k-chipid.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Loongson-2 SoC ChipID + +maintainers: + - Yinbo Zhu + +description: | + Loongson-2 SoC contains many groups of global utilities register + blocks, of which the ChipID group registers record SoC version, + feature, vendor and id information. + +properties: + compatible: + const: loongson,ls2k-chipid + + reg: + maxItems: 1 + + little-endian: true + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + chipid: chipid@1fe00000 { + compatible = "loongson,ls2k-chipid"; + reg = <0x1fe00000 0x3ffc>; + little-endian; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwinfo/renesas,prr.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwinfo/renesas,prr.yaml index 55aa0141b3..792f371cec 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwinfo/renesas,prr.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwinfo/renesas,prr.yaml @@ -1,37 +1,37 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/hwinfo/renesas,prr.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Renesas Product Register - -maintainers: - - Geert Uytterhoeven - - Magnus Damm - -description: | - Most Renesas ARM SoCs have a Product Register or Boundary Scan ID - Register that allows to retrieve SoC product and revision information. - If present, a device node for this register should be added. - -properties: - compatible: - enum: - - renesas,prr - - renesas,bsid - reg: - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - prr: chipid@ff000044 { - compatible = "renesas,prr"; - reg = <0xff000044 4>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/hwinfo/renesas,prr.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Renesas Product Register + +maintainers: + - Geert Uytterhoeven + - Magnus Damm + +description: | + Most Renesas ARM SoCs have a Product Register or Boundary Scan ID + Register that allows to retrieve SoC product and revision information. + If present, a device node for this register should be added. + +properties: + compatible: + enum: + - renesas,prr + - renesas,bsid + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + prr: chipid@ff000044 { + compatible = "renesas,prr"; + reg = <0xff000044 4>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwinfo/ti,k3-socinfo.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwinfo/ti,k3-socinfo.yaml index 73c26f3c9a..dada28b47e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwinfo/ti,k3-socinfo.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwinfo/ti,k3-socinfo.yaml @@ -1,40 +1,40 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/hwinfo/ti,k3-socinfo.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Texas Instruments K3 Multicore SoC platforms chipid module - -maintainers: - - Tero Kristo - - Nishanth Menon - -description: | - Texas Instruments (ARM64) K3 Multicore SoC platforms chipid module is - represented by CTRLMMR_xxx_JTAGID register which contains information about - SoC id and revision. - -properties: - $nodename: - pattern: "^chipid@[0-9a-f]+$" - - compatible: - items: - - const: ti,am654-chipid - - reg: - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - chipid@43000014 { - compatible = "ti,am654-chipid"; - reg = <0x43000014 0x4>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/hwinfo/ti,k3-socinfo.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Texas Instruments K3 Multicore SoC platforms chipid module + +maintainers: + - Tero Kristo + - Nishanth Menon + +description: | + Texas Instruments (ARM64) K3 Multicore SoC platforms chipid module is + represented by CTRLMMR_xxx_JTAGID register which contains information about + SoC id and revision. + +properties: + $nodename: + pattern: "^chipid@[0-9a-f]+$" + + compatible: + items: + - const: ti,am654-chipid + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + chipid@43000014 { + compatible = "ti,am654-chipid"; + reg = <0x43000014 0x4>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwlock/sprd,hwspinlock-r3p0.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwlock/sprd,hwspinlock-r3p0.yaml index 0d3a2e9ab8..abe11df257 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwlock/sprd,hwspinlock-r3p0.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwlock/sprd,hwspinlock-r3p0.yaml @@ -1,50 +1,50 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/hwlock/sprd,hwspinlock-r3p0.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Spreadtrum hardware spinlock - -maintainers: - - Orson Zhai - - Baolin Wang - - Chunyan Zhang - -properties: - compatible: - const: sprd,hwspinlock-r3p0 - - reg: - maxItems: 1 - - clocks: - maxItems: 1 - - clock-names: - const: enable - - '#hwlock-cells': - const: 1 - -required: - - compatible - - reg - - clocks - - clock-names - - '#hwlock-cells' - -additionalProperties: false - -examples: - - | - #include - - hwlock@40500000 { - compatible = "sprd,hwspinlock-r3p0"; - reg = <0x40500000 0x1000>; - clocks = <&aon_gate CLK_SPLK_EB>; - clock-names = "enable"; - #hwlock-cells = <1>; - }; -... +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/hwlock/sprd,hwspinlock-r3p0.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Spreadtrum hardware spinlock + +maintainers: + - Orson Zhai + - Baolin Wang + - Chunyan Zhang + +properties: + compatible: + const: sprd,hwspinlock-r3p0 + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + clock-names: + const: enable + + '#hwlock-cells': + const: 1 + +required: + - compatible + - reg + - clocks + - clock-names + - '#hwlock-cells' + +additionalProperties: false + +examples: + - | + #include + + hwlock@40500000 { + compatible = "sprd,hwspinlock-r3p0"; + reg = <0x40500000 0x1000>; + clocks = <&aon_gate CLK_SPLK_EB>; + clock-names = "enable"; + #hwlock-cells = <1>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwlock/st,stm32-hwspinlock.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwlock/st,stm32-hwspinlock.yaml index 5c66808255..829d1fdf4c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwlock/st,stm32-hwspinlock.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwlock/st,stm32-hwspinlock.yaml @@ -1,49 +1,49 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/hwlock/st,stm32-hwspinlock.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: STMicroelectronics STM32 Hardware Spinlock - -maintainers: - - Fabien Dessenne - -properties: - "#hwlock-cells": - const: 1 - - compatible: - const: st,stm32-hwspinlock - - reg: - maxItems: 1 - - clocks: - maxItems: 1 - - clock-names: - items: - - const: hsem - -required: - - "#hwlock-cells" - - compatible - - reg - - clocks - - clock-names - -additionalProperties: false - -examples: - - | - #include - hwspinlock@4c000000 { - compatible = "st,stm32-hwspinlock"; - #hwlock-cells = <1>; - reg = <0x4c000000 0x400>; - clocks = <&rcc HSEM>; - clock-names = "hsem"; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/hwlock/st,stm32-hwspinlock.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: STMicroelectronics STM32 Hardware Spinlock + +maintainers: + - Fabien Dessenne + +properties: + "#hwlock-cells": + const: 1 + + compatible: + const: st,stm32-hwspinlock + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + clock-names: + items: + - const: hsem + +required: + - "#hwlock-cells" + - compatible + - reg + - clocks + - clock-names + +additionalProperties: false + +examples: + - | + #include + hwspinlock@4c000000 { + compatible = "st,stm32-hwspinlock"; + #hwlock-cells = <1>; + reg = <0x4c000000 0x400>; + clocks = <&rcc HSEM>; + clock-names = "hsem"; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/adi,ad741x.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/adi,ad741x.yaml index cd202a6955..ce7f8ce9da 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/adi,ad741x.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/adi,ad741x.yaml @@ -1,39 +1,39 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- - -$id: http://devicetree.org/schemas/hwmon/adi,ad741x.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Analog Devices AD7416/AD7417/AD7418 temperature sensors - -maintainers: - - Krzysztof Kozlowski - -properties: - compatible: - enum: - - adi,ad7416 - - adi,ad7417 - - adi,ad7418 - - reg: - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - temperature-sensor@28 { - compatible = "adi,ad7418"; - reg = <0x28>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- + +$id: http://devicetree.org/schemas/hwmon/adi,ad741x.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Analog Devices AD7416/AD7417/AD7418 temperature sensors + +maintainers: + - Krzysztof Kozlowski + +properties: + compatible: + enum: + - adi,ad7416 + - adi,ad7417 + - adi,ad7418 + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + temperature-sensor@28 { + compatible = "adi,ad7418"; + reg = <0x28>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/adi,max31760.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/adi,max31760.yaml index 90b08d00fc..9f2d08d7b9 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/adi,max31760.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/adi,max31760.yaml @@ -1,42 +1,42 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/hwmon/adi,max31760.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Analog Devices MAX31760 Fan-Speed Controller - -maintainers: - - Ibrahim Tilki - -description: | - Analog Devices MAX31760 Fan-Speed Controller - https://datasheets.maximintegrated.com/en/ds/MAX31760.pdf - -properties: - compatible: - enum: - - adi,max31760 - - reg: - description: I2C address of slave device. - minimum: 0x50 - maximum: 0x57 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - fan-controller@50 { - reg = <0x50>; - compatible = "adi,max31760"; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/hwmon/adi,max31760.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Analog Devices MAX31760 Fan-Speed Controller + +maintainers: + - Ibrahim Tilki + +description: | + Analog Devices MAX31760 Fan-Speed Controller + https://datasheets.maximintegrated.com/en/ds/MAX31760.pdf + +properties: + compatible: + enum: + - adi,max31760 + + reg: + description: I2C address of slave device. + minimum: 0x50 + maximum: 0x57 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + fan-controller@50 { + reg = <0x50>; + compatible = "adi,max31760"; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/hpe,gxp-fan-ctrl.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/hpe,gxp-fan-ctrl.yaml index e6c5a8cec3..4a52aac6be 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/hpe,gxp-fan-ctrl.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/hpe,gxp-fan-ctrl.yaml @@ -1,45 +1,45 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/hwmon/hpe,gxp-fan-ctrl.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: HPE GXP Fan Controller - -maintainers: - - Nick Hawkins - -description: | - The HPE GXP fan controller controls the fans through an external CPLD - device that connects to the fans. - -properties: - compatible: - const: hpe,gxp-fan-ctrl - - reg: - items: - - description: Fan controller PWM - - description: Programmable logic - - description: Function 2 - - reg-names: - items: - - const: base - - const: pl - - const: fn2 - -required: - - compatible - - reg - - reg-names - -additionalProperties: false - -examples: - - | - fan-controller@1000c00 { - compatible = "hpe,gxp-fan-ctrl"; - reg = <0x1000c00 0x200>, <0xd1000000 0xff>, <0x80200000 0x100000>; - reg-names = "base", "pl", "fn2"; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/hwmon/hpe,gxp-fan-ctrl.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: HPE GXP Fan Controller + +maintainers: + - Nick Hawkins + +description: | + The HPE GXP fan controller controls the fans through an external CPLD + device that connects to the fans. + +properties: + compatible: + const: hpe,gxp-fan-ctrl + + reg: + items: + - description: Fan controller PWM + - description: Programmable logic + - description: Function 2 + + reg-names: + items: + - const: base + - const: pl + - const: fn2 + +required: + - compatible + - reg + - reg-names + +additionalProperties: false + +examples: + - | + fan-controller@1000c00 { + compatible = "hpe,gxp-fan-ctrl"; + reg = <0x1000c00 0x200>, <0xd1000000 0xff>, <0x80200000 0x100000>; + reg-names = "base", "pl", "fn2"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/ibm,opal-sensor.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/ibm,opal-sensor.yaml index dfbafb235b..376ee7f1cd 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/ibm,opal-sensor.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/ibm,opal-sensor.yaml @@ -1,37 +1,37 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/hwmon/ibm,opal-sensor.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: IBM POWERNV platform sensors - -maintainers: - - Javier Carrasco - -properties: - compatible: - enum: - - ibm,opal-sensor-cooling-fan - - ibm,opal-sensor-amb-temp - - ibm,opal-sensor-power-supply - - ibm,opal-sensor-power - - sensor-id: - description: - An opaque id provided by the firmware to the kernel, identifies a - given sensor and its attribute data. - $ref: /schemas/types.yaml#/definitions/uint32 - -required: - - compatible - - sensor-id - -additionalProperties: false - -examples: - - | - sensor { - compatible = "ibm,opal-sensor-cooling-fan"; - sensor-id = <0x7052107>; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/hwmon/ibm,opal-sensor.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: IBM POWERNV platform sensors + +maintainers: + - Javier Carrasco + +properties: + compatible: + enum: + - ibm,opal-sensor-cooling-fan + - ibm,opal-sensor-amb-temp + - ibm,opal-sensor-power-supply + - ibm,opal-sensor-power + + sensor-id: + description: + An opaque id provided by the firmware to the kernel, identifies a + given sensor and its attribute data. + $ref: /schemas/types.yaml#/definitions/uint32 + +required: + - compatible + - sensor-id + +additionalProperties: false + +examples: + - | + sensor { + compatible = "ibm,opal-sensor-cooling-fan"; + sensor-id = <0x7052107>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/iio-hwmon.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/iio-hwmon.yaml index 1280b3ea28..be5c7d4579 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/iio-hwmon.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/iio-hwmon.yaml @@ -1,37 +1,37 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/hwmon/iio-hwmon.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: ADC-attached Hardware Sensor - -maintainers: - - Jonathan Cameron - -description: > - Bindings for hardware monitoring devices connected to ADC controllers - supporting the Industrial I/O bindings. - -properties: - compatible: - const: iio-hwmon - - io-channels: - minItems: 1 - maxItems: 51 # Should be enough - description: > - List of phandles to ADC channels to read the monitoring values - -required: - - compatible - - io-channels - -additionalProperties: false - -examples: - - | - iio-hwmon { - compatible = "iio-hwmon"; - io-channels = <&adc 1>, <&adc 2>; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/hwmon/iio-hwmon.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ADC-attached Hardware Sensor + +maintainers: + - Jonathan Cameron + +description: > + Bindings for hardware monitoring devices connected to ADC controllers + supporting the Industrial I/O bindings. + +properties: + compatible: + const: iio-hwmon + + io-channels: + minItems: 1 + maxItems: 51 # Should be enough + description: > + List of phandles to ADC channels to read the monitoring values + +required: + - compatible + - io-channels + +additionalProperties: false + +examples: + - | + iio-hwmon { + compatible = "iio-hwmon"; + io-channels = <&adc 1>, <&adc 2>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/lltc,ltc4151.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/lltc,ltc4151.yaml index e8affd1bb1..8f0095bb7f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/lltc,ltc4151.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/lltc,ltc4151.yaml @@ -1,44 +1,44 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/hwmon/lltc,ltc4151.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: LTC4151 High Voltage I2C Current and Voltage Monitor - -maintainers: - - Krzysztof Kozlowski - -properties: - compatible: - const: lltc,ltc4151 - - reg: - maxItems: 1 - - shunt-resistor-micro-ohms: - description: - Shunt resistor value in micro-Ohms - default: 1000 - -required: - - compatible - - reg - -allOf: - - $ref: hwmon-common.yaml# - -unevaluatedProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - sensor@6e { - compatible = "lltc,ltc4151"; - reg = <0x6e>; - shunt-resistor-micro-ohms = <1500>; - }; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/hwmon/lltc,ltc4151.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: LTC4151 High Voltage I2C Current and Voltage Monitor + +maintainers: + - Krzysztof Kozlowski + +properties: + compatible: + const: lltc,ltc4151 + + reg: + maxItems: 1 + + shunt-resistor-micro-ohms: + description: + Shunt resistor value in micro-Ohms + default: 1000 + +required: + - compatible + - reg + +allOf: + - $ref: hwmon-common.yaml# + +unevaluatedProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + sensor@6e { + compatible = "lltc,ltc4151"; + reg = <0x6e>; + shunt-resistor-micro-ohms = <1500>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/max31785.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/max31785.txt index e2f208a077..106e08c56a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/max31785.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/max31785.txt @@ -1,22 +1,22 @@ -Bindings for the Maxim MAX31785 Intelligent Fan Controller -========================================================== - -Reference: - -https://datasheets.maximintegrated.com/en/ds/MAX31785.pdf - -The Maxim MAX31785 is a PMBus device providing closed-loop, multi-channel fan -management with temperature and remote voltage sensing. Various fan control -features are provided, including PWM frequency control, temperature hysteresis, -dual tachometer measurements, and fan health monitoring. - -Required properties: -- compatible : One of "maxim,max31785" or "maxim,max31785a" -- reg : I2C address, one of 0x52, 0x53, 0x54, 0x55. - -Example: - - fans@52 { - compatible = "maxim,max31785"; - reg = <0x52>; - }; +Bindings for the Maxim MAX31785 Intelligent Fan Controller +========================================================== + +Reference: + +https://datasheets.maximintegrated.com/en/ds/MAX31785.pdf + +The Maxim MAX31785 is a PMBus device providing closed-loop, multi-channel fan +management with temperature and remote voltage sensing. Various fan control +features are provided, including PWM frequency control, temperature hysteresis, +dual tachometer measurements, and fan health monitoring. + +Required properties: +- compatible : One of "maxim,max31785" or "maxim,max31785a" +- reg : I2C address, one of 0x52, 0x53, 0x54, 0x55. + +Example: + + fans@52 { + compatible = "maxim,max31785"; + reg = <0x52>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/microchip,mcp3021.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/microchip,mcp3021.yaml index 4d0f41c738..f5e104c1b0 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/microchip,mcp3021.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/microchip,mcp3021.yaml @@ -1,43 +1,43 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/hwmon/microchip,mcp3021.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Microchip MCP3021 A/D converter - -maintainers: - - Krzysztof Kozlowski - -properties: - compatible: - enum: - - microchip,mcp3021 - - microchip,mcp3221 - - reg: - maxItems: 1 - - reference-voltage-microvolt: - description: - VDD supply power and reference voltage - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - adc@4d { - compatible = "microchip,mcp3021"; - reg = <0x4d>; - - reference-voltage-microvolt = <4500000>; /* 4.5 V */ - }; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/hwmon/microchip,mcp3021.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Microchip MCP3021 A/D converter + +maintainers: + - Krzysztof Kozlowski + +properties: + compatible: + enum: + - microchip,mcp3021 + - microchip,mcp3221 + + reg: + maxItems: 1 + + reference-voltage-microvolt: + description: + VDD supply power and reference voltage + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + adc@4d { + compatible = "microchip,mcp3021"; + reg = <0x4d>; + + reference-voltage-microvolt = <4500000>; /* 4.5 V */ + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/microchip,sparx5-temp.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/microchip,sparx5-temp.yaml index 9d3f18d3a4..51e8619dbf 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/microchip,sparx5-temp.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/microchip,sparx5-temp.yaml @@ -1,44 +1,44 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/hwmon/microchip,sparx5-temp.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Microchip Sparx5 Temperature Monitor - -maintainers: - - Lars Povlsen - -description: | - Microchip Sparx5 embedded temperature monitor - -properties: - compatible: - enum: - - microchip,sparx5-temp - - reg: - maxItems: 1 - - clocks: - items: - - description: System reference clock - - '#thermal-sensor-cells': - const: 0 - -required: - - compatible - - reg - - clocks - -additionalProperties: false - -examples: - - | - tmon0: tmon@610508110 { - compatible = "microchip,sparx5-temp"; - reg = <0x10508110 0xc>; - #thermal-sensor-cells = <0>; - clocks = <&sys_clk>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/hwmon/microchip,sparx5-temp.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Microchip Sparx5 Temperature Monitor + +maintainers: + - Lars Povlsen + +description: | + Microchip Sparx5 embedded temperature monitor + +properties: + compatible: + enum: + - microchip,sparx5-temp + + reg: + maxItems: 1 + + clocks: + items: + - description: System reference clock + + '#thermal-sensor-cells': + const: 0 + +required: + - compatible + - reg + - clocks + +additionalProperties: false + +examples: + - | + tmon0: tmon@610508110 { + compatible = "microchip,sparx5-temp"; + reg = <0x10508110 0xc>; + #thermal-sensor-cells = <0>; + clocks = <&sys_clk>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/nsa320-mcu.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/nsa320-mcu.txt index 2cf49d56b0..0863e067c8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/nsa320-mcu.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/nsa320-mcu.txt @@ -1,20 +1,20 @@ -Bindings for the fan / temperature monitor microcontroller used on -the Zyxel NSA 320 and several subsequent models. - -Required properties: -- compatible : "zyxel,nsa320-mcu" -- data-gpios : The GPIO pin connected to the data line on the MCU -- clk-gpios : The GPIO pin connected to the clock line on the MCU -- act-gpios : The GPIO pin connected to the active line on the MCU - -Example: - - hwmon { - compatible = "zyxel,nsa320-mcu"; - pinctrl-0 = <&pmx_mcu_data &pmx_mcu_clk &pmx_mcu_act>; - pinctrl-names = "default"; - - data-gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>; - clk-gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>; - act-gpios = <&gpio0 17 GPIO_ACTIVE_LOW>; - }; +Bindings for the fan / temperature monitor microcontroller used on +the Zyxel NSA 320 and several subsequent models. + +Required properties: +- compatible : "zyxel,nsa320-mcu" +- data-gpios : The GPIO pin connected to the data line on the MCU +- clk-gpios : The GPIO pin connected to the clock line on the MCU +- act-gpios : The GPIO pin connected to the active line on the MCU + +Example: + + hwmon { + compatible = "zyxel,nsa320-mcu"; + pinctrl-0 = <&pmx_mcu_data &pmx_mcu_clk &pmx_mcu_act>; + pinctrl-names = "default"; + + data-gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>; + clk-gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>; + act-gpios = <&gpio0 17 GPIO_ACTIVE_LOW>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/sensirion,sht15.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/sensirion,sht15.yaml index 070e0b792b..14ac783c9a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/sensirion,sht15.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/sensirion,sht15.yaml @@ -1,43 +1,43 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/hwmon/sensirion,sht15.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Sensirion SHT15 humidity and temperature sensor - -maintainers: - - Krzysztof Kozlowski - -properties: - compatible: - const: sensirion,sht15 - - clk-gpios: - maxItems: 1 - - data-gpios: - maxItems: 1 - - vcc-supply: - description: regulator that drives the VCC pin - -required: - - compatible - - clk-gpios - - data-gpios - - vcc-supply - -additionalProperties: false - -examples: - - | - sensor { - compatible = "sensirion,sht15"; - clk-gpios = <&gpio4 12 0>; - data-gpios = <&gpio4 13 0>; - vcc-supply = <®_sht15>; - - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_sensor>; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/hwmon/sensirion,sht15.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Sensirion SHT15 humidity and temperature sensor + +maintainers: + - Krzysztof Kozlowski + +properties: + compatible: + const: sensirion,sht15 + + clk-gpios: + maxItems: 1 + + data-gpios: + maxItems: 1 + + vcc-supply: + description: regulator that drives the VCC pin + +required: + - compatible + - clk-gpios + - data-gpios + - vcc-supply + +additionalProperties: false + +examples: + - | + sensor { + compatible = "sensirion,sht15"; + clk-gpios = <&gpio4 12 0>; + data-gpios = <&gpio4 13 0>; + vcc-supply = <®_sht15>; + + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_sensor>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/sophgo,sg2042-hwmon-mcu.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/sophgo,sg2042-hwmon-mcu.yaml index b945aa2456..f0667ac41d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/sophgo,sg2042-hwmon-mcu.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/sophgo,sg2042-hwmon-mcu.yaml @@ -1,43 +1,43 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/hwmon/sophgo,sg2042-hwmon-mcu.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Sophgo SG2042 onboard MCU support - -maintainers: - - Inochi Amaoto - -properties: - compatible: - const: sophgo,sg2042-hwmon-mcu - - reg: - maxItems: 1 - - "#thermal-sensor-cells": - const: 1 - -required: - - compatible - - reg - - "#thermal-sensor-cells" - -allOf: - - $ref: /schemas/thermal/thermal-sensor.yaml# - -unevaluatedProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - hwmon@17 { - compatible = "sophgo,sg2042-hwmon-mcu"; - reg = <0x17>; - #thermal-sensor-cells = <1>; - }; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/hwmon/sophgo,sg2042-hwmon-mcu.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Sophgo SG2042 onboard MCU support + +maintainers: + - Inochi Amaoto + +properties: + compatible: + const: sophgo,sg2042-hwmon-mcu + + reg: + maxItems: 1 + + "#thermal-sensor-cells": + const: 1 + +required: + - compatible + - reg + - "#thermal-sensor-cells" + +allOf: + - $ref: /schemas/thermal/thermal-sensor.yaml# + +unevaluatedProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + hwmon@17 { + compatible = "sophgo,sg2042-hwmon-mcu"; + reg = <0x17>; + #thermal-sensor-cells = <1>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/st,stts751.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/st,stts751.yaml index 92d0f57f61..9c825adbed 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/st,stts751.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/st,stts751.yaml @@ -1,41 +1,41 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/hwmon/st,stts751.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: STTS751 Thermometer - -maintainers: - - Javier Carrasco - -properties: - compatible: - const: st,stts751 - - reg: - maxItems: 1 - - smbus-timeout-disable: - description: - When set, the smbus timeout function will be disabled. - $ref: /schemas/types.yaml#/definitions/flag - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - thermometer@48 { - compatible = "st,stts751"; - reg = <0x48>; - smbus-timeout-disable; - }; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/hwmon/st,stts751.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: STTS751 Thermometer + +maintainers: + - Javier Carrasco + +properties: + compatible: + const: st,stts751 + + reg: + maxItems: 1 + + smbus-timeout-disable: + description: + When set, the smbus timeout function will be disabled. + $ref: /schemas/types.yaml#/definitions/flag + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + thermometer@48 { + compatible = "st,stts751"; + reg = <0x48>; + smbus-timeout-disable; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/ti,tmp102.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/ti,tmp102.yaml index 21377f8029..7e5b62a021 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/ti,tmp102.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/ti,tmp102.yaml @@ -1,47 +1,47 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/hwmon/ti,tmp102.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: TMP102 temperature sensor - -maintainers: - - Krzysztof Kozlowski - -properties: - compatible: - enum: - - ti,tmp102 - - interrupts: - maxItems: 1 - - reg: - maxItems: 1 - - "#thermal-sensor-cells": - const: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - #include - - i2c { - #address-cells = <1>; - #size-cells = <0>; - - sensor@48 { - compatible = "ti,tmp102"; - reg = <0x48>; - interrupt-parent = <&gpio7>; - interrupts = <16 IRQ_TYPE_LEVEL_LOW>; - #thermal-sensor-cells = <1>; - }; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/hwmon/ti,tmp102.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: TMP102 temperature sensor + +maintainers: + - Krzysztof Kozlowski + +properties: + compatible: + enum: + - ti,tmp102 + + interrupts: + maxItems: 1 + + reg: + maxItems: 1 + + "#thermal-sensor-cells": + const: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + #include + + i2c { + #address-cells = <1>; + #size-cells = <0>; + + sensor@48 { + compatible = "ti,tmp102"; + reg = <0x48>; + interrupt-parent = <&gpio7>; + interrupts = <16 IRQ_TYPE_LEVEL_LOW>; + #thermal-sensor-cells = <1>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/winbond,w83781d.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/winbond,w83781d.yaml index 15048b6e1d..31ce77a4b0 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/winbond,w83781d.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/winbond,w83781d.yaml @@ -1,41 +1,41 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- - -$id: http://devicetree.org/schemas/hwmon/winbond,w83781d.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Winbond W83781 and compatible hardware monitor IC - -maintainers: - - Linus Walleij - -properties: - compatible: - enum: - - winbond,w83781d - - winbond,w83781g - - winbond,w83782d - - winbond,w83783s - - asus,as99127f - - reg: - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - temperature-sensor@28 { - compatible = "winbond,w83781d"; - reg = <0x28>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- + +$id: http://devicetree.org/schemas/hwmon/winbond,w83781d.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Winbond W83781 and compatible hardware monitor IC + +maintainers: + - Linus Walleij + +properties: + compatible: + enum: + - winbond,w83781d + - winbond,w83781g + - winbond,w83782d + - winbond,w83783s + - asus,as99127f + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + temperature-sensor@28 { + compatible = "winbond,w83781d"; + reg = <0x28>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/brcm,bcm2835-i2c.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/brcm,bcm2835-i2c.yaml index 9db0b102a7..8256490a7a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/brcm,bcm2835-i2c.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/brcm,bcm2835-i2c.yaml @@ -1,54 +1,54 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/i2c/brcm,bcm2835-i2c.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Broadcom BCM2835 I2C controller - -maintainers: - - Stephen Warren - -allOf: - - $ref: /schemas/i2c/i2c-controller.yaml# - -properties: - compatible: - oneOf: - - enum: - - brcm,bcm2835-i2c - - items: - - const: brcm,bcm2711-i2c - - const: brcm,bcm2835-i2c - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clock-names: - maxItems: 1 - - clocks: - maxItems: 1 - - clock-frequency: true - -required: - - compatible - - reg - - interrupts - - clocks - -unevaluatedProperties: false - -examples: - - | - i2c@7e205000 { - compatible = "brcm,bcm2835-i2c"; - reg = <0x7e205000 0x1000>; - interrupts = <2 21>; - clocks = <&clk_i2c>; - clock-frequency = <100000>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/i2c/brcm,bcm2835-i2c.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom BCM2835 I2C controller + +maintainers: + - Stephen Warren + +allOf: + - $ref: /schemas/i2c/i2c-controller.yaml# + +properties: + compatible: + oneOf: + - enum: + - brcm,bcm2835-i2c + - items: + - const: brcm,bcm2711-i2c + - const: brcm,bcm2835-i2c + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clock-names: + maxItems: 1 + + clocks: + maxItems: 1 + + clock-frequency: true + +required: + - compatible + - reg + - interrupts + - clocks + +unevaluatedProperties: false + +examples: + - | + i2c@7e205000 { + compatible = "brcm,bcm2835-i2c"; + reg = <0x7e205000 0x1000>; + interrupts = <2 21>; + clocks = <&clk_i2c>; + clock-frequency = <100000>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/i2c-axxia.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/i2c-axxia.txt index 14a4b55074..7d53a2b795 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/i2c-axxia.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/i2c-axxia.txt @@ -1,30 +1,30 @@ -LSI Axxia I2C - -Required properties : -- compatible : Must be "lsi,api2c" -- reg : Offset and length of the register set for the device -- interrupts : the interrupt specifier -- #address-cells : Must be <1>; -- #size-cells : Must be <0>; -- clock-names : Must contain "i2c". -- clocks: Must contain an entry for each name in clock-names. See the common - clock bindings. - -Optional properties : -- clock-frequency : Desired I2C bus clock frequency in Hz. If not specified, - the default 100 kHz frequency will be used. As only Normal and Fast modes - are supported, possible values are 100000 and 400000. - -Example : - -i2c@2010084000 { - compatible = "lsi,api2c"; - device_type = "i2c"; - #address-cells = <1>; - #size-cells = <0>; - reg = <0x20 0x10084000 0x00 0x1000>; - interrupts = <0 19 4>; - clocks = <&clk_per>; - clock-names = "i2c"; - clock-frequency = <400000>; -}; +LSI Axxia I2C + +Required properties : +- compatible : Must be "lsi,api2c" +- reg : Offset and length of the register set for the device +- interrupts : the interrupt specifier +- #address-cells : Must be <1>; +- #size-cells : Must be <0>; +- clock-names : Must contain "i2c". +- clocks: Must contain an entry for each name in clock-names. See the common + clock bindings. + +Optional properties : +- clock-frequency : Desired I2C bus clock frequency in Hz. If not specified, + the default 100 kHz frequency will be used. As only Normal and Fast modes + are supported, possible values are 100000 and 400000. + +Example : + +i2c@2010084000 { + compatible = "lsi,api2c"; + device_type = "i2c"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x20 0x10084000 0x00 0x1000>; + interrupts = <0 19 4>; + clocks = <&clk_per>; + clock-names = "i2c"; + clock-frequency = <400000>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/i2c-digicolor.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/i2c-digicolor.txt index 8977fb2f14..457a098d4f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/i2c-digicolor.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/i2c-digicolor.txt @@ -1,25 +1,25 @@ -Conexant Digicolor I2C controller - -Required properties: - - compatible: must be "cnxt,cx92755-i2c" - - reg: physical address and length of the device registers - - interrupts: a single interrupt specifier - - clocks: clock for the device - - #address-cells: should be <1> - - #size-cells: should be <0> - -Optional properties: -- clock-frequency: the desired I2C bus clock frequency in Hz; in - absence of this property the default value is used (100 kHz). - -Example: - - i2c: i2c@f0000120 { - compatible = "cnxt,cx92755-i2c"; - reg = <0xf0000120 0x10>; - interrupts = <28>; - clocks = <&main_clk>; - clock-frequency = <100000>; - #address-cells = <1>; - #size-cells = <0>; - }; +Conexant Digicolor I2C controller + +Required properties: + - compatible: must be "cnxt,cx92755-i2c" + - reg: physical address and length of the device registers + - interrupts: a single interrupt specifier + - clocks: clock for the device + - #address-cells: should be <1> + - #size-cells: should be <0> + +Optional properties: +- clock-frequency: the desired I2C bus clock frequency in Hz; in + absence of this property the default value is used (100 kHz). + +Example: + + i2c: i2c@f0000120 { + compatible = "cnxt,cx92755-i2c"; + reg = <0xf0000120 0x10>; + interrupts = <28>; + clocks = <&main_clk>; + clock-frequency = <100000>; + #address-cells = <1>; + #size-cells = <0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/i2c-hix5hd2.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/i2c-hix5hd2.txt index 5defb71184..f98b37401e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/i2c-hix5hd2.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/i2c-hix5hd2.txt @@ -1,24 +1,24 @@ -I2C for Hisilicon hix5hd2 chipset platform - -Required properties: -- compatible: Must be "hisilicon,hix5hd2-i2c" -- reg: physical base address of the controller and length of memory mapped - region. -- interrupts: interrupt number to the cpu. -- #address-cells = <1>; -- #size-cells = <0>; -- clocks: phandles to input clocks. - -Optional properties: -- clock-frequency: Desired I2C bus frequency in Hz, otherwise defaults to 100000 -- Child nodes conforming to i2c bus binding - -Examples: -I2C0@f8b10000 { - compatible = "hisilicon,hix5hd2-i2c"; - reg = <0xf8b10000 0x1000>; - interrupts = <0 38 4>; - clocks = <&clock HIX5HD2_I2C0_RST>; - #address-cells = <1>; - #size-cells = <0>; -} +I2C for Hisilicon hix5hd2 chipset platform + +Required properties: +- compatible: Must be "hisilicon,hix5hd2-i2c" +- reg: physical base address of the controller and length of memory mapped + region. +- interrupts: interrupt number to the cpu. +- #address-cells = <1>; +- #size-cells = <0>; +- clocks: phandles to input clocks. + +Optional properties: +- clock-frequency: Desired I2C bus frequency in Hz, otherwise defaults to 100000 +- Child nodes conforming to i2c bus binding + +Examples: +I2C0@f8b10000 { + compatible = "hisilicon,hix5hd2-i2c"; + reg = <0xf8b10000 0x1000>; + interrupts = <0 38 4>; + clocks = <&clock HIX5HD2_I2C0_RST>; + #address-cells = <1>; + #size-cells = <0>; +} diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/i2c-img-scb.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/i2c-img-scb.txt index 216bbd2ed6..b6461602dc 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/i2c-img-scb.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/i2c-img-scb.txt @@ -1,26 +1,26 @@ -IMG Serial Control Bus (SCB) I2C Controller - -Required Properties: -- compatible: "img,scb-i2c" -- reg: Physical base address and length of controller registers -- interrupts: Interrupt number used by the controller -- clocks : Should contain a clock specifier for each entry in clock-names -- clock-names : Should contain the following entries: - "scb", for the SCB core clock. - "sys", for the system clock. -- clock-frequency: The I2C bus frequency in Hz -- #address-cells: Should be <1> -- #size-cells: Should be <0> - -Example: - -i2c@18100000 { - compatible = "img,scb-i2c"; - reg = <0x18100000 0x200>; - interrupts = ; - clocks = <&i2c0_clk>, <&system_clk>; - clock-names = "scb", "sys"; - clock-frequency = <400000>; - #address-cells = <1>; - #size-cells = <0>; -}; +IMG Serial Control Bus (SCB) I2C Controller + +Required Properties: +- compatible: "img,scb-i2c" +- reg: Physical base address and length of controller registers +- interrupts: Interrupt number used by the controller +- clocks : Should contain a clock specifier for each entry in clock-names +- clock-names : Should contain the following entries: + "scb", for the SCB core clock. + "sys", for the system clock. +- clock-frequency: The I2C bus frequency in Hz +- #address-cells: Should be <1> +- #size-cells: Should be <0> + +Example: + +i2c@18100000 { + compatible = "img,scb-i2c"; + reg = <0x18100000 0x200>; + interrupts = ; + clocks = <&i2c0_clk>, <&system_clk>; + clock-names = "scb", "sys"; + clock-frequency = <400000>; + #address-cells = <1>; + #size-cells = <0>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/i2c-mxs.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/i2c-mxs.yaml index 80e98f5c72..171a414072 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/i2c-mxs.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/i2c-mxs.yaml @@ -1,54 +1,54 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/i2c/i2c-mxs.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Freescale MXS Inter IC (I2C) Controller - -maintainers: - - Shawn Guo - -allOf: - - $ref: /schemas/i2c/i2c-controller.yaml# - -properties: - compatible: - enum: - - fsl,imx23-i2c - - fsl,imx28-i2c - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clock-frequency: - enum: [ 100000, 400000 ] - - dmas: - maxItems: 1 - - dma-names: - const: rx-tx - -required: - - compatible - - reg - - interrupts - - dmas - - dma-names - -unevaluatedProperties: false - -examples: - - | - i2c@80058000 { - compatible = "fsl,imx28-i2c"; - reg = <0x80058000 2000>; - interrupts = <111>; - clock-frequency = <100000>; - dmas = <&dma_apbx 6>; - dma-names = "rx-tx"; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/i2c/i2c-mxs.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Freescale MXS Inter IC (I2C) Controller + +maintainers: + - Shawn Guo + +allOf: + - $ref: /schemas/i2c/i2c-controller.yaml# + +properties: + compatible: + enum: + - fsl,imx23-i2c + - fsl,imx28-i2c + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clock-frequency: + enum: [ 100000, 400000 ] + + dmas: + maxItems: 1 + + dma-names: + const: rx-tx + +required: + - compatible + - reg + - interrupts + - dmas + - dma-names + +unevaluatedProperties: false + +examples: + - | + i2c@80058000 { + compatible = "fsl,imx28-i2c"; + reg = <0x80058000 2000>; + interrupts = <111>; + clock-frequency = <100000>; + dmas = <&dma_apbx 6>; + dma-names = "rx-tx"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/i2c-octeon.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/i2c-octeon.txt index 4c60f27f53..872d485dff 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/i2c-octeon.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/i2c-octeon.txt @@ -1,40 +1,40 @@ -* Two Wire Serial Interface (TWSI) / I2C - -- compatible: "cavium,octeon-3860-twsi" - - Compatibility with all cn3XXX, cn5XXX and cn6XXX SOCs. - - or - - compatible: "cavium,octeon-7890-twsi" - - Compatibility with cn78XX SOCs. - -- reg: The base address of the TWSI/I2C bus controller register bank. - -- #address-cells: Must be <1>. - -- #size-cells: Must be <0>. I2C addresses have no size component. - -- interrupts: A single interrupt specifier. - -- clock-frequency: The I2C bus clock rate in Hz. - -Example: - twsi0: i2c@1180000001000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "cavium,octeon-3860-twsi"; - reg = <0x11800 0x00001000 0x0 0x200>; - interrupts = <0 45>; - clock-frequency = <100000>; - - rtc@68 { - compatible = "dallas,ds1337"; - reg = <0x68>; - }; - tmp@4c { - compatible = "ti,tmp421"; - reg = <0x4c>; - }; - }; +* Two Wire Serial Interface (TWSI) / I2C + +- compatible: "cavium,octeon-3860-twsi" + + Compatibility with all cn3XXX, cn5XXX and cn6XXX SOCs. + + or + + compatible: "cavium,octeon-7890-twsi" + + Compatibility with cn78XX SOCs. + +- reg: The base address of the TWSI/I2C bus controller register bank. + +- #address-cells: Must be <1>. + +- #size-cells: Must be <0>. I2C addresses have no size component. + +- interrupts: A single interrupt specifier. + +- clock-frequency: The I2C bus clock rate in Hz. + +Example: + twsi0: i2c@1180000001000 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "cavium,octeon-3860-twsi"; + reg = <0x11800 0x00001000 0x0 0x200>; + interrupts = <0 45>; + clock-frequency = <100000>; + + rtc@68 { + compatible = "dallas,ds1337"; + reg = <0x68>; + }; + tmp@4c { + compatible = "ti,tmp421"; + reg = <0x4c>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/i2c-pca-platform.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/i2c-pca-platform.txt index 83a81969b6..73a693d66e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/i2c-pca-platform.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/i2c-pca-platform.txt @@ -1,27 +1,27 @@ -* NXP PCA PCA9564/PCA9665 I2C controller - -The PCA9564/PCA9665 serves as an interface between most standard -parallel-bus microcontrollers/microprocessors and the serial I2C-bus -and allows the parallel bus system to communicate bi-directionally -with the I2C-bus. - -Required properties : - - - reg : Offset and length of the register set for the device - - compatible : one of "nxp,pca9564" or "nxp,pca9665" - -Optional properties - - interrupts : the interrupt number - - reset-gpios : gpio specifier for gpio connected to RESET_N pin. As the line - is active low, it should be marked GPIO_ACTIVE_LOW. - - clock-frequency : I2C bus frequency. - -Example: - i2c0: i2c@80000 { - compatible = "nxp,pca9564"; - #address-cells = <1>; - #size-cells = <0>; - reg = <0x80000 0x4>; - reset-gpios = <&gpio1 0 GPIO_ACTIVE_LOW>; - clock-frequency = <100000>; - }; +* NXP PCA PCA9564/PCA9665 I2C controller + +The PCA9564/PCA9665 serves as an interface between most standard +parallel-bus microcontrollers/microprocessors and the serial I2C-bus +and allows the parallel bus system to communicate bi-directionally +with the I2C-bus. + +Required properties : + + - reg : Offset and length of the register set for the device + - compatible : one of "nxp,pca9564" or "nxp,pca9665" + +Optional properties + - interrupts : the interrupt number + - reset-gpios : gpio specifier for gpio connected to RESET_N pin. As the line + is active low, it should be marked GPIO_ACTIVE_LOW. + - clock-frequency : I2C bus frequency. + +Example: + i2c0: i2c@80000 { + compatible = "nxp,pca9564"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x80000 0x4>; + reset-gpios = <&gpio1 0 GPIO_ACTIVE_LOW>; + clock-frequency = <100000>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/nxp,pnx-i2c.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/nxp,pnx-i2c.yaml index c85d1db65c..798a6939b8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/nxp,pnx-i2c.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/nxp,pnx-i2c.yaml @@ -1,46 +1,46 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/i2c/nxp,pnx-i2c.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: NXP PNX I2C Controller - -maintainers: - - Animesh Agarwal - -allOf: - - $ref: /schemas/i2c/i2c-controller.yaml# - -properties: - compatible: - const: nxp,pnx-i2c - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clock-frequency: - default: 100000 - -required: - - compatible - - reg - - interrupts - - "#address-cells" - - "#size-cells" - -unevaluatedProperties: false - -examples: - - | - i2c@400a0000 { - compatible = "nxp,pnx-i2c"; - reg = <0x400a0000 0x100>; - interrupt-parent = <&mic>; - interrupts = <51 0>; - #address-cells = <1>; - #size-cells = <0>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/i2c/nxp,pnx-i2c.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NXP PNX I2C Controller + +maintainers: + - Animesh Agarwal + +allOf: + - $ref: /schemas/i2c/i2c-controller.yaml# + +properties: + compatible: + const: nxp,pnx-i2c + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clock-frequency: + default: 100000 + +required: + - compatible + - reg + - interrupts + - "#address-cells" + - "#size-cells" + +unevaluatedProperties: false + +examples: + - | + i2c@400a0000 { + compatible = "nxp,pnx-i2c"; + reg = <0x400a0000 0x100>; + interrupt-parent = <&mic>; + interrupts = <51 0>; + #address-cells = <1>; + #size-cells = <0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/accel/murata,sca3300.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/accel/murata,sca3300.yaml index e81953f97e..00c990caa1 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/accel/murata,sca3300.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/accel/murata,sca3300.yaml @@ -1,48 +1,48 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/accel/murata,sca3300.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Murata SCA3300 Accelerometer - -description: | - 3-axis industrial accelerometer with digital SPI interface - https://www.murata.com/en-global/products/sensor/accel/sca3300 - -maintainers: - - Tomas Melin - -properties: - compatible: - enum: - - murata,sca3300 - - murata,scl3300 - - reg: - maxItems: 1 - - spi-max-frequency: - maximum: 8000000 - -required: - - compatible - - reg - -allOf: - - $ref: /schemas/spi/spi-peripheral-props.yaml# - -unevaluatedProperties: false - -examples: - - | - spi { - #address-cells = <1>; - #size-cells = <0>; - accelerometer@0 { - compatible = "murata,sca3300"; - reg = <0x0>; - spi-max-frequency = <4000000>; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/accel/murata,sca3300.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Murata SCA3300 Accelerometer + +description: | + 3-axis industrial accelerometer with digital SPI interface + https://www.murata.com/en-global/products/sensor/accel/sca3300 + +maintainers: + - Tomas Melin + +properties: + compatible: + enum: + - murata,sca3300 + - murata,scl3300 + + reg: + maxItems: 1 + + spi-max-frequency: + maximum: 8000000 + +required: + - compatible + - reg + +allOf: + - $ref: /schemas/spi/spi-peripheral-props.yaml# + +unevaluatedProperties: false + +examples: + - | + spi { + #address-cells = <1>; + #size-cells = <0>; + accelerometer@0 { + compatible = "murata,sca3300"; + reg = <0x0>; + spi-max-frequency = <4000000>; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/adi,ad7291.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/adi,ad7291.yaml index 7bf6e18595..0b2f5dc806 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/adi,ad7291.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/adi,ad7291.yaml @@ -1,46 +1,46 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/adc/adi,ad7291.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: AD7291 8-Channel, I2C, 12-Bit SAR ADC with Temperature Sensor - -maintainers: - - Michael Auchter - -description: | - Analog Devices AD7291 8-Channel I2C 12-Bit SAR ADC with Temperature Sensor - https://www.analog.com/media/en/technical-documentation/data-sheets/ad7291.pdf - -properties: - compatible: - enum: - - adi,ad7291 - - reg: - maxItems: 1 - - vref-supply: - description: | - The regulator supply for ADC reference voltage. - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - ad7291: adc@0 { - compatible = "adi,ad7291"; - reg = <0>; - vref-supply = <&adc_vref>; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/adc/adi,ad7291.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: AD7291 8-Channel, I2C, 12-Bit SAR ADC with Temperature Sensor + +maintainers: + - Michael Auchter + +description: | + Analog Devices AD7291 8-Channel I2C 12-Bit SAR ADC with Temperature Sensor + https://www.analog.com/media/en/technical-documentation/data-sheets/ad7291.pdf + +properties: + compatible: + enum: + - adi,ad7291 + + reg: + maxItems: 1 + + vref-supply: + description: | + The regulator supply for ADC reference voltage. + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + ad7291: adc@0 { + compatible = "adi,ad7291"; + reg = <0>; + vref-supply = <&adc_vref>; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/adi,ad7298.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/adi,ad7298.yaml index 1c0ae8281a..cd8ac5162d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/adi,ad7298.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/adi,ad7298.yaml @@ -1,50 +1,50 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -# Copyright 2019 Analog Devices Inc. -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/adc/adi,ad7298.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Analog Devices AD7298 ADC - -maintainers: - - Michael Hennerich - -description: | - Bindings for the Analog Devices AD7298 ADC device. Datasheet can be - found here: - https://www.analog.com/en/products/ad7298.html - -properties: - compatible: - const: adi,ad7298 - - reg: - maxItems: 1 - - vref-supply: true - vdd-supply: true - -required: - - compatible - - reg - -allOf: - - $ref: /schemas/spi/spi-peripheral-props.yaml# - -unevaluatedProperties: false - -examples: - - | - spi { - #address-cells = <1>; - #size-cells = <0>; - - adc@0 { - compatible = "adi,ad7298"; - reg = <0>; - spi-max-frequency = <5000000>; - vref-supply = <&adc_vref>; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +# Copyright 2019 Analog Devices Inc. +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/adc/adi,ad7298.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Analog Devices AD7298 ADC + +maintainers: + - Michael Hennerich + +description: | + Bindings for the Analog Devices AD7298 ADC device. Datasheet can be + found here: + https://www.analog.com/en/products/ad7298.html + +properties: + compatible: + const: adi,ad7298 + + reg: + maxItems: 1 + + vref-supply: true + vdd-supply: true + +required: + - compatible + - reg + +allOf: + - $ref: /schemas/spi/spi-peripheral-props.yaml# + +unevaluatedProperties: false + +examples: + - | + spi { + #address-cells = <1>; + #size-cells = <0>; + + adc@0 { + compatible = "adi,ad7298"; + reg = <0>; + spi-max-frequency = <5000000>; + vref-supply = <&adc_vref>; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/allwinner,sun8i-a33-ths.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/allwinner,sun8i-a33-ths.yaml index 86da67eecd..a73a355fc6 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/allwinner,sun8i-a33-ths.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/allwinner,sun8i-a33-ths.yaml @@ -1,43 +1,43 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/adc/allwinner,sun8i-a33-ths.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Allwinner A33 Thermal Sensor - -maintainers: - - Chen-Yu Tsai - - Maxime Ripard - -properties: - "#io-channel-cells": - const: 0 - - "#thermal-sensor-cells": - const: 0 - - compatible: - const: allwinner,sun8i-a33-ths - - reg: - maxItems: 1 - -required: - - "#io-channel-cells" - - "#thermal-sensor-cells" - - compatible - - reg - -additionalProperties: false - -examples: - - | - ths: ths@1c25000 { - compatible = "allwinner,sun8i-a33-ths"; - reg = <0x01c25000 0x100>; - #thermal-sensor-cells = <0>; - #io-channel-cells = <0>; - }; - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/adc/allwinner,sun8i-a33-ths.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Allwinner A33 Thermal Sensor + +maintainers: + - Chen-Yu Tsai + - Maxime Ripard + +properties: + "#io-channel-cells": + const: 0 + + "#thermal-sensor-cells": + const: 0 + + compatible: + const: allwinner,sun8i-a33-ths + + reg: + maxItems: 1 + +required: + - "#io-channel-cells" + - "#thermal-sensor-cells" + - compatible + - reg + +additionalProperties: false + +examples: + - | + ths: ths@1c25000 { + compatible = "allwinner,sun8i-a33-ths"; + reg = <0x01c25000 0x100>; + #thermal-sensor-cells = <0>; + #io-channel-cells = <0>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/cirrus,ep9301-adc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/cirrus,ep9301-adc.yaml index ff2681676d..6d4fb3e1d2 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/cirrus,ep9301-adc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/cirrus,ep9301-adc.yaml @@ -1,47 +1,47 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/adc/cirrus,ep9301-adc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Cirrus Logic EP930x internal ADC - -description: | - Cirrus Logic EP9301/EP9302 SoCs' internal ADC block. - - User's manual: - https://cdn.embeddedts.com/resource-attachments/ts-7000_ep9301-ug.pdf - -maintainers: - - Alexander Sverdlin - -properties: - compatible: - const: cirrus,ep9301-adc - - reg: - maxItems: 1 - - clocks: - maxItems: 1 - - interrupts: - maxItems: 1 - -required: - - compatible - - reg - - clocks - -additionalProperties: false - -examples: - - | - adc: adc@80900000 { - compatible = "cirrus,ep9301-adc"; - reg = <0x80900000 0x28>; - clocks = <&syscon 24>; - interrupt-parent = <&vic1>; - interrupts = <30>; - }; -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/adc/cirrus,ep9301-adc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Cirrus Logic EP930x internal ADC + +description: | + Cirrus Logic EP9301/EP9302 SoCs' internal ADC block. + + User's manual: + https://cdn.embeddedts.com/resource-attachments/ts-7000_ep9301-ug.pdf + +maintainers: + - Alexander Sverdlin + +properties: + compatible: + const: cirrus,ep9301-adc + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + interrupts: + maxItems: 1 + +required: + - compatible + - reg + - clocks + +additionalProperties: false + +examples: + - | + adc: adc@80900000 { + compatible = "cirrus,ep9301-adc"; + reg = <0x80900000 0x28>; + clocks = <&syscon 24>; + interrupt-parent = <&vic1>; + interrupts = <30>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/dlg,da9150-gpadc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/dlg,da9150-gpadc.yaml index 3cb04070f3..cc29a2f211 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/dlg,da9150-gpadc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/dlg,da9150-gpadc.yaml @@ -1,35 +1,35 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/adc/dlg,da9150-gpadc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Dialog Semiconductor DA9150 IIO GPADC - -maintainers: - - Adam Thomson - -description: - This patch adds support for general purpose ADC within the - DA9150 Charger & Fuel-Gauge IC. - -properties: - compatible: - const: dlg,da9150-gpadc - - "#io-channel-cells": - const: 1 - -required: - - compatible - - "#io-channel-cells" - -additionalProperties: false - -examples: - - | - adc { - compatible = "dlg,da9150-gpadc"; - #io-channel-cells = <1>; - }; -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/adc/dlg,da9150-gpadc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Dialog Semiconductor DA9150 IIO GPADC + +maintainers: + - Adam Thomson + +description: + This patch adds support for general purpose ADC within the + DA9150 Charger & Fuel-Gauge IC. + +properties: + compatible: + const: dlg,da9150-gpadc + + "#io-channel-cells": + const: 1 + +required: + - compatible + - "#io-channel-cells" + +additionalProperties: false + +examples: + - | + adc { + compatible = "dlg,da9150-gpadc"; + #io-channel-cells = <1>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/lltc,ltc2496.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/lltc,ltc2496.yaml index 022548a584..5207c919ab 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/lltc,ltc2496.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/lltc,ltc2496.yaml @@ -1,47 +1,47 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/adc/lltc,ltc2496.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Linear Technology / Analog Devices LTC2496 ADC - -maintainers: - - Lars-Peter Clausen - - Michael Hennerich - - Stefan Popa - -properties: - compatible: - enum: - - lltc,ltc2496 - - vref-supply: - description: Power supply for the reference voltage - - reg: - maxItems: 1 - -required: - - compatible - - vref-supply - - reg - -allOf: - - $ref: /schemas/spi/spi-peripheral-props.yaml# - -unevaluatedProperties: false - -examples: - - | - spi { - #address-cells = <1>; - #size-cells = <0>; - - adc@0 { - compatible = "lltc,ltc2496"; - reg = <0>; - vref-supply = <<c2496_reg>; - spi-max-frequency = <2000000>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/adc/lltc,ltc2496.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Linear Technology / Analog Devices LTC2496 ADC + +maintainers: + - Lars-Peter Clausen + - Michael Hennerich + - Stefan Popa + +properties: + compatible: + enum: + - lltc,ltc2496 + + vref-supply: + description: Power supply for the reference voltage + + reg: + maxItems: 1 + +required: + - compatible + - vref-supply + - reg + +allOf: + - $ref: /schemas/spi/spi-peripheral-props.yaml# + +unevaluatedProperties: false + +examples: + - | + spi { + #address-cells = <1>; + #size-cells = <0>; + + adc@0 { + compatible = "lltc,ltc2496"; + reg = <0>; + vref-supply = <<c2496_reg>; + spi-max-frequency = <2000000>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/maxim,max1363.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/maxim,max1363.yaml index eefc82e236..96f3f535fe 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/maxim,max1363.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/maxim,max1363.yaml @@ -1,52 +1,52 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/adc/maxim,max1363.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Maxim MAX1363 and similar ADCs - -maintainers: - - Jonathan Cameron - -description: | - Family of ADCs with i2c interface, internal references and threshold - monitoring. - -properties: - compatible: - enum: - - maxim,max1361 - - maxim,max1362 - - maxim,max1363 - - maxim,max1364 - - reg: - maxItems: 1 - - vcc-supply: true - vref-supply: - description: Optional external reference. If not supplied, internal - reference will be used. - - interrupts: - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - adc@36 { - compatible = "maxim,max1363"; - reg = <0x36>; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/adc/maxim,max1363.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Maxim MAX1363 and similar ADCs + +maintainers: + - Jonathan Cameron + +description: | + Family of ADCs with i2c interface, internal references and threshold + monitoring. + +properties: + compatible: + enum: + - maxim,max1361 + - maxim,max1362 + - maxim,max1363 + - maxim,max1364 + + reg: + maxItems: 1 + + vcc-supply: true + vref-supply: + description: Optional external reference. If not supplied, internal + reference will be used. + + interrupts: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + adc@36 { + compatible = "maxim,max1363"; + reg = <0x36>; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/mediatek,mt6359-auxadc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/mediatek,mt6359-auxadc.yaml index 778b412d42..6497c41609 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/mediatek,mt6359-auxadc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/mediatek,mt6359-auxadc.yaml @@ -1,33 +1,33 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/adc/mediatek,mt6359-auxadc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: MediaTek MT6350 series PMIC AUXADC - -maintainers: - - AngeloGioacchino Del Regno - -description: - The Auxiliary Analog/Digital Converter (AUXADC) is an ADC found - in some MediaTek PMICs, performing various PMIC related measurements - such as battery and PMIC internal voltage regulators temperatures, - accessory detection resistance (usually, for a 3.5mm audio jack) - other than voltages for various PMIC internal components. - -properties: - compatible: - enum: - - mediatek,mt6357-auxadc - - mediatek,mt6358-auxadc - - mediatek,mt6359-auxadc - - "#io-channel-cells": - const: 1 - -required: - - compatible - - "#io-channel-cells" - -additionalProperties: false +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/adc/mediatek,mt6359-auxadc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: MediaTek MT6350 series PMIC AUXADC + +maintainers: + - AngeloGioacchino Del Regno + +description: + The Auxiliary Analog/Digital Converter (AUXADC) is an ADC found + in some MediaTek PMICs, performing various PMIC related measurements + such as battery and PMIC internal voltage regulators temperatures, + accessory detection resistance (usually, for a 3.5mm audio jack) + other than voltages for various PMIC internal components. + +properties: + compatible: + enum: + - mediatek,mt6357-auxadc + - mediatek,mt6358-auxadc + - mediatek,mt6359-auxadc + + "#io-channel-cells": + const: 1 + +required: + - compatible + - "#io-channel-cells" + +additionalProperties: false diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/nxp,lpc3220-adc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/nxp,lpc3220-adc.yaml index 89a1ab80d9..2c5032be83 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/nxp,lpc3220-adc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/nxp,lpc3220-adc.yaml @@ -1,50 +1,50 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/adc/nxp,lpc3220-adc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: NXP LPC3220 SoC ADC controller - -maintainers: - - Gregory Clement - -description: - This hardware block has been used on several LPC32XX SoCs. - -properties: - compatible: - const: nxp,lpc3220-adc - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - vref-supply: true - - "#io-channel-cells": - const: 1 - -required: - - compatible - - reg - - interrupts - -additionalProperties: false - -examples: - - | - soc { - #address-cells = <1>; - #size-cells = <1>; - adc@40048000 { - compatible = "nxp,lpc3220-adc"; - reg = <0x40048000 0x1000>; - interrupt-parent = <&mic>; - interrupts = <39 0>; - vref-supply = <&vcc>; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/adc/nxp,lpc3220-adc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NXP LPC3220 SoC ADC controller + +maintainers: + - Gregory Clement + +description: + This hardware block has been used on several LPC32XX SoCs. + +properties: + compatible: + const: nxp,lpc3220-adc + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + vref-supply: true + + "#io-channel-cells": + const: 1 + +required: + - compatible + - reg + - interrupts + +additionalProperties: false + +examples: + - | + soc { + #address-cells = <1>; + #size-cells = <1>; + adc@40048000 { + compatible = "nxp,lpc3220-adc"; + reg = <0x40048000 0x1000>; + interrupt-parent = <&mic>; + interrupts = <39 0>; + vref-supply = <&vcc>; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/ti,adc108s102.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/ti,adc108s102.yaml index abb0a9e88d..a60b1e100e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/ti,adc108s102.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/ti,adc108s102.yaml @@ -1,49 +1,49 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/adc/ti,adc108s102.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Texas Instruments ADC108S102 and ADC128S102 - -maintainers: - - Jonathan Cameron - -description: | - Family of 8 channel, 10/12 bit, SPI, single ended ADCs. - -properties: - compatible: - const: - ti,adc108s102 - - reg: true - vref-supply: true - "#io-channel-cells": - const: 1 - -required: - - compatible - - reg - - vref-supply - -allOf: - - $ref: /schemas/spi/spi-peripheral-props.yaml# - -unevaluatedProperties: false - -examples: - - | - spi { - #address-cells = <1>; - #size-cells = <0>; - - adc@0 { - compatible = "ti,adc108s102"; - reg = <0>; - vref-supply = <&vdd_supply>; - spi-max-frequency = <1000000>; - #io-channel-cells = <1>; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/adc/ti,adc108s102.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Texas Instruments ADC108S102 and ADC128S102 + +maintainers: + - Jonathan Cameron + +description: | + Family of 8 channel, 10/12 bit, SPI, single ended ADCs. + +properties: + compatible: + const: + ti,adc108s102 + + reg: true + vref-supply: true + "#io-channel-cells": + const: 1 + +required: + - compatible + - reg + - vref-supply + +allOf: + - $ref: /schemas/spi/spi-peripheral-props.yaml# + +unevaluatedProperties: false + +examples: + - | + spi { + #address-cells = <1>; + #size-cells = <0>; + + adc@0 { + compatible = "ti,adc108s102"; + reg = <0>; + vref-supply = <&vdd_supply>; + spi-max-frequency = <1000000>; + #io-channel-cells = <1>; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/ti,ads1100.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/ti,ads1100.yaml index 7f863670c3..970ccab15e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/ti,ads1100.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/ti,ads1100.yaml @@ -1,46 +1,46 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/adc/ti,ads1100.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: TI ADS1100/ADS1000 single channel I2C analog to digital converter - -maintainers: - - Mike Looijmans - -description: | - Datasheet at: https://www.ti.com/lit/gpn/ads1100 - -properties: - compatible: - enum: - - ti,ads1100 - - ti,ads1000 - - reg: - maxItems: 1 - - vdd-supply: true - - "#io-channel-cells": - const: 0 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - adc@49 { - compatible = "ti,ads1100"; - reg = <0x49>; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/adc/ti,ads1100.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: TI ADS1100/ADS1000 single channel I2C analog to digital converter + +maintainers: + - Mike Looijmans + +description: | + Datasheet at: https://www.ti.com/lit/gpn/ads1100 + +properties: + compatible: + enum: + - ti,ads1100 + - ti,ads1000 + + reg: + maxItems: 1 + + vdd-supply: true + + "#io-channel-cells": + const: 0 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + adc@49 { + compatible = "ti,ads1100"; + reg = <0x49>; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/ti,ads124s08.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/ti,ads124s08.yaml index 0c5f2e1da3..56a3f1766a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/ti,ads124s08.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/ti,ads124s08.yaml @@ -1,53 +1,53 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/adc/ti,ads124s08.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Texas Instruments' ads124s08 and ads124s06 ADC chip - -maintainers: - - Andrew Davis - -properties: - compatible: - enum: - - ti,ads124s06 - - ti,ads124s08 - - reg: - maxItems: 1 - - spi-cpha: true - - reset-gpios: - maxItems: 1 - - "#io-channel-cells": - const: 1 - -required: - - compatible - - reg - -allOf: - - $ref: /schemas/spi/spi-peripheral-props.yaml# - -unevaluatedProperties: false - -examples: - - | - #include - spi { - #address-cells = <1>; - #size-cells = <0>; - - adc@0 { - compatible = "ti,ads124s08"; - reg = <0>; - spi-max-frequency = <1000000>; - spi-cpha; - reset-gpios = <&gpio1 16 GPIO_ACTIVE_LOW>; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/adc/ti,ads124s08.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Texas Instruments' ads124s08 and ads124s06 ADC chip + +maintainers: + - Andrew Davis + +properties: + compatible: + enum: + - ti,ads124s06 + - ti,ads124s08 + + reg: + maxItems: 1 + + spi-cpha: true + + reset-gpios: + maxItems: 1 + + "#io-channel-cells": + const: 1 + +required: + - compatible + - reg + +allOf: + - $ref: /schemas/spi/spi-peripheral-props.yaml# + +unevaluatedProperties: false + +examples: + - | + #include + spi { + #address-cells = <1>; + #size-cells = <0>; + + adc@0 { + compatible = "ti,ads124s08"; + reg = <0>; + spi-max-frequency = <1000000>; + spi-cpha; + reset-gpios = <&gpio1 16 GPIO_ACTIVE_LOW>; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/ti,tlc4541.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/ti,tlc4541.yaml index baa3c361dc..314d1d99bf 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/ti,tlc4541.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/ti,tlc4541.yaml @@ -1,53 +1,53 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/adc/ti,tlc4541.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Texas Instruments TLC4541 and similar ADCs - -maintainers: - - Phil Reid - -description: | - 14/16bit single channel ADC with SPI interface. - -properties: - compatible: - enum: - - ti,tlc3541 - - ti,tlc4541 - - reg: - maxItems: 1 - - vref-supply: true - - "#io-channel-cells": - const: 1 - -required: - - compatible - - reg - - vref-supply - -allOf: - - $ref: /schemas/spi/spi-peripheral-props.yaml# - -unevaluatedProperties: false - -examples: - - | - spi { - #address-cells = <1>; - #size-cells = <0>; - - adc@0 { - compatible = "ti,tlc4541"; - reg = <0>; - vref-supply = <&vdd_supply>; - spi-max-frequency = <200000>; - #io-channel-cells = <1>; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/adc/ti,tlc4541.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Texas Instruments TLC4541 and similar ADCs + +maintainers: + - Phil Reid + +description: | + 14/16bit single channel ADC with SPI interface. + +properties: + compatible: + enum: + - ti,tlc3541 + - ti,tlc4541 + + reg: + maxItems: 1 + + vref-supply: true + + "#io-channel-cells": + const: 1 + +required: + - compatible + - reg + - vref-supply + +allOf: + - $ref: /schemas/spi/spi-peripheral-props.yaml# + +unevaluatedProperties: false + +examples: + - | + spi { + #address-cells = <1>; + #size-cells = <0>; + + adc@0 { + compatible = "ti,tlc4541"; + reg = <0>; + vref-supply = <&vdd_supply>; + spi-max-frequency = <200000>; + #io-channel-cells = <1>; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/ti,twl6030-gpadc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/ti,twl6030-gpadc.yaml index 8f80d346d8..e779a8986e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/ti,twl6030-gpadc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/ti,twl6030-gpadc.yaml @@ -1,43 +1,43 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/adc/ti,twl6030-gpadc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: GPADC subsystem in the TWL6030 power module - -maintainers: - - Andreas Kemnade - -description: - The GPADC subsystem in the TWL603X consists of a 10-bit ADC - combined with a 15-input analog multiplexer in the TWL6030 resp. a - 19-input analog muliplexer in the TWL6032. - -properties: - compatible: - enum: - - ti,twl6030-gpadc - - ti,twl6032-gpadc - - interrupts: - maxItems: 1 - - "#io-channel-cells": - const: 1 - -required: - - compatible - - interrupts - - "#io-channel-cells" - -additionalProperties: false - -examples: - - | - gpadc { - compatible = "ti,twl6030-gpadc"; - interrupts = <3>; - #io-channel-cells = <1>; - }; -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/adc/ti,twl6030-gpadc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: GPADC subsystem in the TWL6030 power module + +maintainers: + - Andreas Kemnade + +description: + The GPADC subsystem in the TWL603X consists of a 10-bit ADC + combined with a 15-input analog multiplexer in the TWL6030 resp. a + 19-input analog muliplexer in the TWL6032. + +properties: + compatible: + enum: + - ti,twl6030-gpadc + - ti,twl6032-gpadc + + interrupts: + maxItems: 1 + + "#io-channel-cells": + const: 1 + +required: + - compatible + - interrupts + - "#io-channel-cells" + +additionalProperties: false + +examples: + - | + gpadc { + compatible = "ti,twl6030-gpadc"; + interrupts = <3>; + #io-channel-cells = <1>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/chemical/aosong,ags02ma.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/chemical/aosong,ags02ma.yaml index ade2ac0ec3..35e7b094e8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/chemical/aosong,ags02ma.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/chemical/aosong,ags02ma.yaml @@ -1,47 +1,47 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/chemical/aosong,ags02ma.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Aosong AGS02MA VOC Sensor - -description: | - AGS02MA is an TVOC (Total Volatile Organic Compounds) i2c sensor with default - address of 0x1a. - - Datasheet: - https://asairsensors.com/wp-content/uploads/2021/09/AGS02MA.pdf - -maintainers: - - Anshul Dalal - -properties: - compatible: - enum: - - aosong,ags02ma - - reg: - maxItems: 1 - - vdd-supply: true - -required: - - compatible - - reg - - vdd-supply - -additionalProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - voc-sensor@1a { - compatible = "aosong,ags02ma"; - reg = <0x1a>; - vdd-supply = <&vdd_regulator>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/chemical/aosong,ags02ma.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Aosong AGS02MA VOC Sensor + +description: | + AGS02MA is an TVOC (Total Volatile Organic Compounds) i2c sensor with default + address of 0x1a. + + Datasheet: + https://asairsensors.com/wp-content/uploads/2021/09/AGS02MA.pdf + +maintainers: + - Anshul Dalal + +properties: + compatible: + enum: + - aosong,ags02ma + + reg: + maxItems: 1 + + vdd-supply: true + +required: + - compatible + - reg + - vdd-supply + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + voc-sensor@1a { + compatible = "aosong,ags02ma"; + reg = <0x1a>; + vdd-supply = <&vdd_regulator>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/chemical/sensirion,scd4x.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/chemical/sensirion,scd4x.yaml index 7f671941d8..798f48d052 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/chemical/sensirion,scd4x.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/chemical/sensirion,scd4x.yaml @@ -1,46 +1,46 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/chemical/sensirion,scd4x.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Sensirion SCD4X carbon dioxide sensor - -maintainers: - - Roan van Dijk - -description: | - Air quality sensor capable of measuring co2 concentration, temperature - and relative humidity. - -properties: - compatible: - enum: - - sensirion,scd40 - - sensirion,scd41 - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - vdd-supply: true - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - co2-sensor@62 { - compatible = "sensirion,scd41"; - reg = <0x62>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/chemical/sensirion,scd4x.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Sensirion SCD4X carbon dioxide sensor + +maintainers: + - Roan van Dijk + +description: | + Air quality sensor capable of measuring co2 concentration, temperature + and relative humidity. + +properties: + compatible: + enum: + - sensirion,scd40 + - sensirion,scd41 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + vdd-supply: true + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + co2-sensor@62 { + compatible = "sensirion,scd41"; + reg = <0x62>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/chemical/sensirion,sps30.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/chemical/sensirion,sps30.yaml index dad18ec55a..967500b7e7 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/chemical/sensirion,sps30.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/chemical/sensirion,sps30.yaml @@ -1,46 +1,46 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/chemical/sensirion,sps30.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Sensirion SPS30 particulate matter sensor - -maintainers: - - Tomasz Duszynski - -description: | - Air pollution sensor capable of measuring mass concentration of dust - particles. - -properties: - compatible: - enum: - - sensirion,sps30 - reg: - maxItems: 1 - -required: - - compatible - -additionalProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - air-pollution-sensor@69 { - compatible = "sensirion,sps30"; - reg = <0x69>; - }; - }; - - | - serial { - air-pollution-sensor { - compatible = "sensirion,sps30"; - }; - }; - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/chemical/sensirion,sps30.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Sensirion SPS30 particulate matter sensor + +maintainers: + - Tomasz Duszynski + +description: | + Air pollution sensor capable of measuring mass concentration of dust + particles. + +properties: + compatible: + enum: + - sensirion,sps30 + reg: + maxItems: 1 + +required: + - compatible + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + air-pollution-sensor@69 { + compatible = "sensirion,sps30"; + reg = <0x69>; + }; + }; + - | + serial { + air-pollution-sensor { + compatible = "sensirion,sps30"; + }; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/dac/adi,ad5624r.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/dac/adi,ad5624r.yaml index 22b0c0c6f5..4d5111a5f9 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/dac/adi,ad5624r.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/dac/adi,ad5624r.yaml @@ -1,48 +1,48 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/dac/adi,ad5624r.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Analog Devices AD5624r and similar DACs - -maintainers: - - Jonathan Cameron - -properties: - compatible: - enum: - - adi,ad5624r3 - - adi,ad5644r3 - - adi,ad5664r3 - - adi,ad5624r5 - - adi,ad5644r5 - - adi,ad5664r5 - - reg: - maxItems: 1 - - vref-supply: - description: If not present, internal reference will be used. - -required: - - compatible - - reg - -allOf: - - $ref: /schemas/spi/spi-peripheral-props.yaml# - -unevaluatedProperties: false - -examples: - - | - spi { - #address-cells = <1>; - #size-cells = <0>; - dac@0 { - reg = <0>; - compatible = "adi,ad5624r3"; - vref-supply = <&vref>; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/dac/adi,ad5624r.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Analog Devices AD5624r and similar DACs + +maintainers: + - Jonathan Cameron + +properties: + compatible: + enum: + - adi,ad5624r3 + - adi,ad5644r3 + - adi,ad5664r3 + - adi,ad5624r5 + - adi,ad5644r5 + - adi,ad5664r5 + + reg: + maxItems: 1 + + vref-supply: + description: If not present, internal reference will be used. + +required: + - compatible + - reg + +allOf: + - $ref: /schemas/spi/spi-peripheral-props.yaml# + +unevaluatedProperties: false + +examples: + - | + spi { + #address-cells = <1>; + #size-cells = <0>; + dac@0 { + reg = <0>; + compatible = "adi,ad5624r3"; + vref-supply = <&vref>; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/dac/maxim,ds4424.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/dac/maxim,ds4424.yaml index 591023d0e0..264fa7c5fe 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/dac/maxim,ds4424.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/dac/maxim,ds4424.yaml @@ -1,45 +1,45 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/dac/maxim,ds4424.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Maxim Integrated DS4422/DS4424 7-bit Sink/Source Current DAC - -maintainers: - - Ismail Kose - -description: | - Datasheet publicly available at: - https://datasheets.maximintegrated.com/en/ds/DS4422-DS4424.pdf - -properties: - compatible: - enum: - - maxim,ds4422 - - maxim,ds4424 - - reg: - maxItems: 1 - - vcc-supply: true - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - dac@10 { - compatible = "maxim,ds4424"; - reg = <0x10>; /* When A0, A1 pins are ground */ - vcc-supply = <&vcc_3v3>; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/dac/maxim,ds4424.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Maxim Integrated DS4422/DS4424 7-bit Sink/Source Current DAC + +maintainers: + - Ismail Kose + +description: | + Datasheet publicly available at: + https://datasheets.maximintegrated.com/en/ds/DS4422-DS4424.pdf + +properties: + compatible: + enum: + - maxim,ds4422 + - maxim,ds4424 + + reg: + maxItems: 1 + + vcc-supply: true + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + dac@10 { + compatible = "maxim,ds4424"; + reg = <0x10>; /* When A0, A1 pins are ground */ + vcc-supply = <&vcc_3v3>; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/dac/maxim,max5522.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/dac/maxim,max5522.yaml index f1b65d2589..24830f56c5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/dac/maxim,max5522.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/dac/maxim,max5522.yaml @@ -1,49 +1,49 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/dac/maxim,max5522.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Maxim Integrated MAX5522 Dual 10-bit Voltage-Output SPI DACs - -maintainers: - - Angelo Dureghello - - Jonathan Cameron - -description: | - Datasheet available at: - https://www.analog.com/en/products/max5522.html - -properties: - compatible: - const: maxim,max5522 - - reg: - maxItems: 1 - - vdd-supply: true - vrefin-supply: true - -required: - - compatible - - reg - - vrefin-supply - -allOf: - - $ref: /schemas/spi/spi-peripheral-props.yaml# - -unevaluatedProperties: false - -examples: - - | - spi { - #address-cells = <1>; - #size-cells = <0>; - - dac@0 { - compatible = "maxim,max5522"; - reg = <0>; - vrefin-supply = <&vref>; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/dac/maxim,max5522.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Maxim Integrated MAX5522 Dual 10-bit Voltage-Output SPI DACs + +maintainers: + - Angelo Dureghello + - Jonathan Cameron + +description: | + Datasheet available at: + https://www.analog.com/en/products/max5522.html + +properties: + compatible: + const: maxim,max5522 + + reg: + maxItems: 1 + + vdd-supply: true + vrefin-supply: true + +required: + - compatible + - reg + - vrefin-supply + +allOf: + - $ref: /schemas/spi/spi-peripheral-props.yaml# + +unevaluatedProperties: false + +examples: + - | + spi { + #address-cells = <1>; + #size-cells = <0>; + + dac@0 { + compatible = "maxim,max5522"; + reg = <0>; + vrefin-supply = <&vref>; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/dac/maxim,max5821.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/dac/maxim,max5821.yaml index c190b46a91..c43fb5f3f8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/dac/maxim,max5821.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/dac/maxim,max5821.yaml @@ -1,44 +1,44 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/dac/maxim,max5821.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Maxim max5821 dual 10-bit DAC - -maintainers: - - Philippe Reynes - -description: | - Datasheet publicly available at: - https://datasheets.maximintegrated.com/en/ds/MAX5821.pdf - -properties: - compatible: - const: maxim,max5821 - - reg: - maxItems: 1 - - vref-supply: true - -required: - - compatible - - reg - - vref-supply - -additionalProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - dac@38 { - compatible = "maxim,max5821"; - reg = <0x38>; - vref-supply = <®_max5821>; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/dac/maxim,max5821.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Maxim max5821 dual 10-bit DAC + +maintainers: + - Philippe Reynes + +description: | + Datasheet publicly available at: + https://datasheets.maximintegrated.com/en/ds/MAX5821.pdf + +properties: + compatible: + const: maxim,max5821 + + reg: + maxItems: 1 + + vref-supply: true + +required: + - compatible + - reg + - vref-supply + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + dac@38 { + compatible = "maxim,max5821"; + reg = <0x38>; + vref-supply = <®_max5821>; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/dac/microchip,mcp4922.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/dac/microchip,mcp4922.yaml index db613c12a8..19374401e5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/dac/microchip,mcp4922.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/dac/microchip,mcp4922.yaml @@ -1,48 +1,48 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/dac/microchip,mcp4922.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Microchip MCP4902, MCP4912 and MPC4922 dual output SPI DACs - -maintainers: - - Jonathan Cameron - - Michael Welling - -properties: - compatible: - enum: - - microchip,mcp4902 - - microchip,mcp4912 - - microchip,mcp4921 - - microchip,mcp4922 - - reg: - maxItems: 1 - - vref-supply: true - -required: - - compatible - - reg - - vref-supply - -allOf: - - $ref: /schemas/spi/spi-peripheral-props.yaml# - -unevaluatedProperties: false - -examples: - - | - spi { - #address-cells = <1>; - #size-cells = <0>; - - dac@0 { - compatible = "microchip,mcp4912"; - reg = <0>; - vref-supply = <&dac_vref>; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/dac/microchip,mcp4922.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Microchip MCP4902, MCP4912 and MPC4922 dual output SPI DACs + +maintainers: + - Jonathan Cameron + - Michael Welling + +properties: + compatible: + enum: + - microchip,mcp4902 + - microchip,mcp4912 + - microchip,mcp4921 + - microchip,mcp4922 + + reg: + maxItems: 1 + + vref-supply: true + +required: + - compatible + - reg + - vref-supply + +allOf: + - $ref: /schemas/spi/spi-peripheral-props.yaml# + +unevaluatedProperties: false + +examples: + - | + spi { + #address-cells = <1>; + #size-cells = <0>; + + dac@0 { + compatible = "microchip,mcp4912"; + reg = <0>; + vref-supply = <&dac_vref>; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/dac/ti,dac7512.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/dac/ti,dac7512.yaml index 80fb51decb..4277cf8a4a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/dac/ti,dac7512.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/dac/ti,dac7512.yaml @@ -1,42 +1,42 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/dac/ti,dac7512.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Texas Instruments DAC7512 DAC - -maintainers: - - Jonathan Cameron - -properties: - compatible: - const: ti,dac7512 - - reg: - maxItems: 1 - - spi-max-frequency: - description: - Maximum frequency is reduced for supply voltage of less than 3.6V - maximum: 30000000 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - spi { - #address-cells = <1>; - #size-cells = <0>; - - dac@0 { - compatible = "ti,dac7512"; - reg = <0>; /* CS0 */ - spi-max-frequency = <1000000>; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/dac/ti,dac7512.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Texas Instruments DAC7512 DAC + +maintainers: + - Jonathan Cameron + +properties: + compatible: + const: ti,dac7512 + + reg: + maxItems: 1 + + spi-max-frequency: + description: + Maximum frequency is reduced for supply voltage of less than 3.6V + maximum: 30000000 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + spi { + #address-cells = <1>; + #size-cells = <0>; + + dac@0 { + compatible = "ti,dac7512"; + reg = <0>; /* CS0 */ + spi-max-frequency = <1000000>; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/humidity/dht11.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/humidity/dht11.yaml index f0cd6fb179..0103f42389 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/humidity/dht11.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/humidity/dht11.yaml @@ -1,41 +1,41 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/humidity/dht11.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: DHT11 humidity + temperature sensor - -maintainers: - - Harald Geyer - -description: | - A simple and low cost module providing a non standard single GPIO based - interface. It is believed the part is made by aosong but don't have - absolute confirmation of this, or what the aosong part number is. - -properties: - compatible: - const: dht11 - - reg: - maxItems: 1 - - gpios: - maxItems: 1 - description: - Single, interrupt capable, GPIO used to communicate with the device. - -required: - - compatible - - gpios - -additionalProperties: false - -examples: - - | - humidity-sensor { - compatible = "dht11"; - gpios = <&gpio0 6 0>; - }; -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/humidity/dht11.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: DHT11 humidity + temperature sensor + +maintainers: + - Harald Geyer + +description: | + A simple and low cost module providing a non standard single GPIO based + interface. It is believed the part is made by aosong but don't have + absolute confirmation of this, or what the aosong part number is. + +properties: + compatible: + const: dht11 + + reg: + maxItems: 1 + + gpios: + maxItems: 1 + description: + Single, interrupt capable, GPIO used to communicate with the device. + +required: + - compatible + - gpios + +additionalProperties: false + +examples: + - | + humidity-sensor { + compatible = "dht11"; + gpios = <&gpio0 6 0>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/humidity/ti,hdc2010.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/humidity/ti,hdc2010.yaml index d0d24f1c82..e3eca89175 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/humidity/ti,hdc2010.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/humidity/ti,hdc2010.yaml @@ -1,49 +1,49 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/humidity/ti,hdc2010.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: HDC2010/HDC2080 humidity and temperature iio sensors - -maintainers: - - Eugene Zaikonnikov - -description: | - Relative humidity and temperature sensors on I2C bus - - Datasheets are available at: - http://www.ti.com/product/HDC2010/datasheet - http://www.ti.com/product/HDC2080/datasheet - -properties: - compatible: - enum: - - ti,hdc2010 - - ti,hdc2080 - - vdd-supply: true - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - humidity@40 { - compatible = "ti,hdc2010"; - reg = <0x40>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/humidity/ti,hdc2010.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: HDC2010/HDC2080 humidity and temperature iio sensors + +maintainers: + - Eugene Zaikonnikov + +description: | + Relative humidity and temperature sensors on I2C bus + + Datasheets are available at: + http://www.ti.com/product/HDC2010/datasheet + http://www.ti.com/product/HDC2080/datasheet + +properties: + compatible: + enum: + - ti,hdc2010 + - ti,hdc2080 + + vdd-supply: true + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + humidity@40 { + compatible = "ti,hdc2010"; + reg = <0x40>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/light/amstaos,tsl2563.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/light/amstaos,tsl2563.yaml index 2dcc39fa8a..60e76bc035 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/light/amstaos,tsl2563.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/light/amstaos,tsl2563.yaml @@ -1,50 +1,50 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/light/amstaos,tsl2563.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: AMS TAOS TSL2563 ambient light sensor - -maintainers: - - Sebastian Reichel - -description: | - Ambient light sensor with an i2c interface. - -properties: - compatible: - enum: - - amstaos,tsl2560 - - amstaos,tsl2561 - - amstaos,tsl2562 - - amstaos,tsl2563 - - reg: - maxItems: 1 - - amstaos,cover-comp-gain: - description: Multiplier for gain compensation - $ref: /schemas/types.yaml#/definitions/uint32 - enum: [1, 16] - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - i2c { - - #address-cells = <1>; - #size-cells = <0>; - - light-sensor@29 { - compatible = "amstaos,tsl2563"; - reg = <0x29>; - amstaos,cover-comp-gain = <16>; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/light/amstaos,tsl2563.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: AMS TAOS TSL2563 ambient light sensor + +maintainers: + - Sebastian Reichel + +description: | + Ambient light sensor with an i2c interface. + +properties: + compatible: + enum: + - amstaos,tsl2560 + - amstaos,tsl2561 + - amstaos,tsl2562 + - amstaos,tsl2563 + + reg: + maxItems: 1 + + amstaos,cover-comp-gain: + description: Multiplier for gain compensation + $ref: /schemas/types.yaml#/definitions/uint32 + enum: [1, 16] + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + + #address-cells = <1>; + #size-cells = <0>; + + light-sensor@29 { + compatible = "amstaos,tsl2563"; + reg = <0x29>; + amstaos,cover-comp-gain = <16>; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/light/bh1750.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/light/bh1750.yaml index dd4ed8cde9..1a88b3c253 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/light/bh1750.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/light/bh1750.yaml @@ -1,45 +1,45 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/light/bh1750.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: ROHM BH1750 ambient light sensor - -maintainers: - - Tomasz Duszynski - -description: | - Ambient light sensor with an i2c interface. - -properties: - compatible: - enum: - - rohm,bh1710 - - rohm,bh1715 - - rohm,bh1721 - - rohm,bh1750 - - rohm,bh1751 - - reg: - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - light-sensor@23 { - compatible = "rohm,bh1750"; - reg = <0x23>; - }; - }; - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/light/bh1750.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ROHM BH1750 ambient light sensor + +maintainers: + - Tomasz Duszynski + +description: | + Ambient light sensor with an i2c interface. + +properties: + compatible: + enum: + - rohm,bh1710 + - rohm,bh1715 + - rohm,bh1721 + - rohm,bh1750 + - rohm,bh1751 + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + light-sensor@23 { + compatible = "rohm,bh1750"; + reg = <0x23>; + }; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/light/capella,cm36651.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/light/capella,cm36651.yaml index 0c84c51e5b..446d94f3a8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/light/capella,cm36651.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/light/capella,cm36651.yaml @@ -1,48 +1,48 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/light/capella,cm36651.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Capella CM36651 I2C Proximity and Color Light sensor - -maintainers: - - Beomho Seo - -properties: - compatible: - const: capella,cm36651 - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - vled-supply: - description: | - Supply for the IR_LED which is part of the cm36651 for proximity detection. - -additionalProperties: false - -required: - - compatible - - reg - - interrupts - - vled-supply - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - light-sensor@18 { - compatible = "capella,cm36651"; - reg = <0x18>; - interrupt-parent = <&gpx0>; - interrupts = <2 0>; - vled-supply = <&ps_als_reg>; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/light/capella,cm36651.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Capella CM36651 I2C Proximity and Color Light sensor + +maintainers: + - Beomho Seo + +properties: + compatible: + const: capella,cm36651 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + vled-supply: + description: | + Supply for the IR_LED which is part of the cm36651 for proximity detection. + +additionalProperties: false + +required: + - compatible + - reg + - interrupts + - vled-supply + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + light-sensor@18 { + compatible = "capella,cm36651"; + reg = <0x18>; + interrupt-parent = <&gpx0>; + interrupts = <2 0>; + vled-supply = <&ps_als_reg>; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/light/dynaimage,al3010.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/light/dynaimage,al3010.yaml index 05d2d017de..a3a979553e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/light/dynaimage,al3010.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/light/dynaimage,al3010.yaml @@ -1,45 +1,45 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/light/dynaimage,al3010.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Dyna-Image AL3010 sensor - -maintainers: - - David Heidelberg - -properties: - compatible: - const: dynaimage,al3010 - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - vdd-supply: - description: Regulator that provides power to the sensor - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - #include - - i2c { - #address-cells = <1>; - #size-cells = <0>; - - light-sensor@1c { - compatible = "dynaimage,al3010"; - reg = <0x1c>; - vdd-supply = <&vdd_reg>; - interrupts = <0 99 4>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/light/dynaimage,al3010.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Dyna-Image AL3010 sensor + +maintainers: + - David Heidelberg + +properties: + compatible: + const: dynaimage,al3010 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + vdd-supply: + description: Regulator that provides power to the sensor + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + #include + + i2c { + #address-cells = <1>; + #size-cells = <0>; + + light-sensor@1c { + compatible = "dynaimage,al3010"; + reg = <0x1c>; + vdd-supply = <&vdd_reg>; + interrupts = <0 99 4>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/light/dynaimage,al3320a.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/light/dynaimage,al3320a.yaml index eb3c61ab44..8249be99cf 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/light/dynaimage,al3320a.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/light/dynaimage,al3320a.yaml @@ -1,45 +1,45 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/light/dynaimage,al3320a.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Dyna-Image AL3320A sensor - -maintainers: - - David Heidelberg - -properties: - compatible: - const: dynaimage,al3320a - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - vdd-supply: - description: Regulator that provides power to the sensor - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - #include - - i2c { - #address-cells = <1>; - #size-cells = <0>; - - light-sensor@1c { - compatible = "dynaimage,al3320a"; - reg = <0x1c>; - vdd-supply = <&vdd_reg>; - interrupts = <0 99 4>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/light/dynaimage,al3320a.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Dyna-Image AL3320A sensor + +maintainers: + - David Heidelberg + +properties: + compatible: + const: dynaimage,al3320a + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + vdd-supply: + description: Regulator that provides power to the sensor + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + #include + + i2c { + #address-cells = <1>; + #size-cells = <0>; + + light-sensor@1c { + compatible = "dynaimage,al3320a"; + reg = <0x1c>; + vdd-supply = <&vdd_reg>; + interrupts = <0 99 4>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/light/maxim,max44009.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/light/maxim,max44009.yaml index 098a4bf9de..5911bd93bc 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/light/maxim,max44009.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/light/maxim,max44009.yaml @@ -1,45 +1,45 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/light/maxim,max44009.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: MAX44009 Ambient Light Sensor - -maintainers: - - Robert Eshleman - -properties: - compatible: - const: maxim,max44009 - - reg: - maxItems: 1 - description: Default address is 0x4a - - interrupts: - maxItems: 1 - description: Should be configured with type IRQ_TYPE_EDGE_FALLING - -additionalProperties: false - -required: - - compatible - - reg - -examples: - - | - #include - i2c { - #address-cells = <1>; - #size-cells = <0>; - - light-sensor@4a { - compatible = "maxim,max44009"; - reg = <0x4a>; - - interrupt-parent = <&gpio1>; - interrupts = <17 IRQ_TYPE_EDGE_FALLING>; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/light/maxim,max44009.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: MAX44009 Ambient Light Sensor + +maintainers: + - Robert Eshleman + +properties: + compatible: + const: maxim,max44009 + + reg: + maxItems: 1 + description: Default address is 0x4a + + interrupts: + maxItems: 1 + description: Should be configured with type IRQ_TYPE_EDGE_FALLING + +additionalProperties: false + +required: + - compatible + - reg + +examples: + - | + #include + i2c { + #address-cells = <1>; + #size-cells = <0>; + + light-sensor@4a { + compatible = "maxim,max44009"; + reg = <0x4a>; + + interrupt-parent = <&gpio1>; + interrupts = <17 IRQ_TYPE_EDGE_FALLING>; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/light/noa1305.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/light/noa1305.yaml index 0b92823d84..fe7bfe1adb 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/light/noa1305.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/light/noa1305.yaml @@ -1,46 +1,46 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/light/noa1305.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: ON Semiconductor NOA1305 Ambient Light Sensor - -maintainers: - - Martyn Welch - -description: | - Ambient sensing with an i2c interface. - - https://www.onsemi.com/pub/Collateral/NOA1305-D.PDF - -properties: - compatible: - enum: - - onnn,noa1305 - - reg: - maxItems: 1 - - vin-supply: - description: Regulator that provides power to the sensor - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - i2c { - - #address-cells = <1>; - #size-cells = <0>; - - light@39 { - compatible = "onnn,noa1305"; - reg = <0x39>; - }; - }; -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/light/noa1305.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ON Semiconductor NOA1305 Ambient Light Sensor + +maintainers: + - Martyn Welch + +description: | + Ambient sensing with an i2c interface. + + https://www.onsemi.com/pub/Collateral/NOA1305-D.PDF + +properties: + compatible: + enum: + - onnn,noa1305 + + reg: + maxItems: 1 + + vin-supply: + description: Regulator that provides power to the sensor + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + + #address-cells = <1>; + #size-cells = <0>; + + light@39 { + compatible = "onnn,noa1305"; + reg = <0x39>; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/light/rohm,bu27034anuc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/light/rohm,bu27034anuc.yaml index f930060fb0..29c90ca5b2 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/light/rohm,bu27034anuc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/light/rohm,bu27034anuc.yaml @@ -1,45 +1,45 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/light/rohm,bu27034anuc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: ROHM BU27034ANUC ambient light sensor - -maintainers: - - Matti Vaittinen - -description: | - ROHM BU27034ANUC is an ambient light sensor with 2 channels and 2 photo diodes - capable of detecting a very wide range of illuminance. Typical application - is adjusting LCD and backlight power of TVs and mobile phones. - -properties: - compatible: - const: rohm,bu27034anuc - - reg: - maxItems: 1 - - vdd-supply: true - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - light-sensor@38 { - compatible = "rohm,bu27034anuc"; - reg = <0x38>; - vdd-supply = <&vdd>; - }; - }; - -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/light/rohm,bu27034anuc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ROHM BU27034ANUC ambient light sensor + +maintainers: + - Matti Vaittinen + +description: | + ROHM BU27034ANUC is an ambient light sensor with 2 channels and 2 photo diodes + capable of detecting a very wide range of illuminance. Typical application + is adjusting LCD and backlight power of TVs and mobile phones. + +properties: + compatible: + const: rohm,bu27034anuc + + reg: + maxItems: 1 + + vdd-supply: true + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + light-sensor@38 { + compatible = "rohm,bu27034anuc"; + reg = <0x38>; + vdd-supply = <&vdd>; + }; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/light/sharp,gp2ap020a00f.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/light/sharp,gp2ap020a00f.yaml index 2baadb37ad..3fabf1f576 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/light/sharp,gp2ap020a00f.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/light/sharp,gp2ap020a00f.yaml @@ -1,48 +1,48 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/light/sharp,gp2ap020a00f.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Sharp GP2AP020A00F I2C Proximity/ALS sensor - -maintainers: - - Kyungmin Park - -description: | - The proximity detector sensor requires power supply for its built-in led. - -properties: - compatible: - const: sharp,gp2ap020a00f - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - vled-supply: true - -additionalProperties: false - -required: - - compatible - - reg - - interrupts - - vled-supply - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - light-sensor@39 { - compatible = "sharp,gp2ap020a00f"; - reg = <0x39>; - interrupts = <2 0>; - vled-supply = <&als_reg>; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/light/sharp,gp2ap020a00f.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Sharp GP2AP020A00F I2C Proximity/ALS sensor + +maintainers: + - Kyungmin Park + +description: | + The proximity detector sensor requires power supply for its built-in led. + +properties: + compatible: + const: sharp,gp2ap020a00f + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + vled-supply: true + +additionalProperties: false + +required: + - compatible + - reg + - interrupts + - vled-supply + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + light-sensor@39 { + compatible = "sharp,gp2ap020a00f"; + reg = <0x39>; + interrupts = <2 0>; + vled-supply = <&als_reg>; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/light/st,uvis25.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/light/st,uvis25.yaml index d600283489..c86e5e1d13 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/light/st,uvis25.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/light/st,uvis25.yaml @@ -1,42 +1,42 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/light/st,uvis25.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: ST UVIS25 uv sensor - -maintainers: - - Lorenzo Bianconi - -properties: - compatible: - const: st,uvis25 - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - -additionalProperties: false - -required: - - compatible - - reg - -examples: - - | - #include - i2c { - #address-cells = <1>; - #size-cells = <0>; - - uv-sensor@47 { - compatible = "st,uvis25"; - reg = <0x47>; - interrupt-parent = <&gpio0>; - interrupts = <0 IRQ_TYPE_EDGE_RISING>; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/light/st,uvis25.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ST UVIS25 uv sensor + +maintainers: + - Lorenzo Bianconi + +properties: + compatible: + const: st,uvis25 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + +additionalProperties: false + +required: + - compatible + - reg + +examples: + - | + #include + i2c { + #address-cells = <1>; + #size-cells = <0>; + + uv-sensor@47 { + compatible = "st,uvis25"; + reg = <0x47>; + interrupt-parent = <&gpio0>; + interrupts = <0 IRQ_TYPE_EDGE_RISING>; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/light/st,vl6180.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/light/st,vl6180.yaml index fcd67d1b2b..27c36ab799 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/light/st,vl6180.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/light/st,vl6180.yaml @@ -1,45 +1,45 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/light/st,vl6180.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: STMicro VL6180 ALS, range and proximity sensor - -maintainers: - - Manivannan Sadhasivam - - Peter Meerwald-Stadler - -description: | - Proximity sensing module incorporating time of flight sensor - Datasheet at https://www.st.com/resource/en/datasheet/vl6180x.pdf - -properties: - compatible: - const: st,vl6180 - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - -additionalProperties: false - -required: - - compatible - - reg - -examples: - - | - #include - i2c { - #address-cells = <1>; - #size-cells = <0>; - - proximity@29 { - compatible = "st,vl6180"; - reg = <0x29>; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/light/st,vl6180.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: STMicro VL6180 ALS, range and proximity sensor + +maintainers: + - Manivannan Sadhasivam + - Peter Meerwald-Stadler + +description: | + Proximity sensing module incorporating time of flight sensor + Datasheet at https://www.st.com/resource/en/datasheet/vl6180x.pdf + +properties: + compatible: + const: st,vl6180 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + +additionalProperties: false + +required: + - compatible + - reg + +examples: + - | + #include + i2c { + #address-cells = <1>; + #size-cells = <0>; + + proximity@29 { + compatible = "st,vl6180"; + reg = <0x29>; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/light/tsl2583.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/light/tsl2583.yaml index 8c652eb4e4..7b92ba8cbb 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/light/tsl2583.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/light/tsl2583.yaml @@ -1,48 +1,48 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/light/tsl2583.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: AMS/TAOS Ambient Light Sensor (ALS) - -maintainers: - - Brian Masney - -description: | - Ambient light sensing with an i2c interface. - -properties: - compatible: - enum: - - amstaos,tsl2580 - - amstaos,tsl2581 - - amstaos,tsl2583 - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - vcc-supply: - description: Regulator that provides power to the sensor - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - light-sensor@29 { - compatible = "amstaos,tsl2581"; - reg = <0x29>; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/light/tsl2583.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: AMS/TAOS Ambient Light Sensor (ALS) + +maintainers: + - Brian Masney + +description: | + Ambient light sensing with an i2c interface. + +properties: + compatible: + enum: + - amstaos,tsl2580 + - amstaos,tsl2581 + - amstaos,tsl2583 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + vcc-supply: + description: Regulator that provides power to the sensor + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + light-sensor@29 { + compatible = "amstaos,tsl2581"; + reg = <0x29>; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/light/vishay,vcnl4035.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/light/vishay,vcnl4035.yaml index a6ae5a78ab..2c57ff05de 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/light/vishay,vcnl4035.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/light/vishay,vcnl4035.yaml @@ -1,45 +1,45 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/light/vishay,vcnl4035.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: VISHAY VCNL4035 ambient Light and proximity sensor - -maintainers: - - Jonathan Cameron - -description: | - Datasheet at https://www.vishay.com/docs/84251/vcnl4035x01.pdf - -properties: - compatible: - const: vishay,vcnl4035 - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - -additionalProperties: false - -required: - - compatible - - reg - -examples: - - | - #include - i2c { - #address-cells = <1>; - #size-cells = <0>; - - light-sensor@60 { - compatible = "vishay,vcnl4035"; - reg = <0x60>; - interrupt-parent = <&gpio4>; - interrupts = <11 IRQ_TYPE_LEVEL_LOW>; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/light/vishay,vcnl4035.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: VISHAY VCNL4035 ambient Light and proximity sensor + +maintainers: + - Jonathan Cameron + +description: | + Datasheet at https://www.vishay.com/docs/84251/vcnl4035x01.pdf + +properties: + compatible: + const: vishay,vcnl4035 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + +additionalProperties: false + +required: + - compatible + - reg + +examples: + - | + #include + i2c { + #address-cells = <1>; + #size-cells = <0>; + + light-sensor@60 { + compatible = "vishay,vcnl4035"; + reg = <0x60>; + interrupt-parent = <&gpio4>; + interrupts = <11 IRQ_TYPE_LEVEL_LOW>; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/light/vishay,veml6075.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/light/vishay,veml6075.yaml index 849e52ccbc..ecf2339e02 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/light/vishay,veml6075.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/light/vishay,veml6075.yaml @@ -1,45 +1,45 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/light/vishay,veml6075.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Vishay VEML6075 UVA/B and VEML6040 RGBW sensors - -maintainers: - - Javier Carrasco - -description: - VEML6040 datasheet at https://www.vishay.com/docs/84276/veml6040.pdf - -properties: - compatible: - enum: - - vishay,veml6040 - - vishay,veml6075 - - reg: - maxItems: 1 - - vdd-supply: true - -required: - - compatible - - reg - - vdd-supply - -additionalProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - uv-sensor@10 { - compatible = "vishay,veml6075"; - reg = <0x10>; - vdd-supply = <&vdd_reg>; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/light/vishay,veml6075.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Vishay VEML6075 UVA/B and VEML6040 RGBW sensors + +maintainers: + - Javier Carrasco + +description: + VEML6040 datasheet at https://www.vishay.com/docs/84276/veml6040.pdf + +properties: + compatible: + enum: + - vishay,veml6040 + - vishay,veml6075 + + reg: + maxItems: 1 + + vdd-supply: true + +required: + - compatible + - reg + - vdd-supply + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + uv-sensor@10 { + compatible = "vishay,veml6075"; + reg = <0x10>; + vdd-supply = <&vdd_reg>; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/magnetometer/fsl,mag3110.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/magnetometer/fsl,mag3110.yaml index 4dc416ea1d..fbe8c2eb08 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/magnetometer/fsl,mag3110.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/magnetometer/fsl,mag3110.yaml @@ -1,48 +1,48 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/magnetometer/fsl,mag3110.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Freescale MAG3110 magnetometer sensor - -maintainers: - - Jonathan Cameron - -properties: - compatible: - const: fsl,mag3110 - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - vdd-supply: true - - vddio-supply: true - -additionalProperties: false - -required: - - compatible - - reg - -examples: - - | - #include - i2c { - #address-cells = <1>; - #size-cells = <0>; - - magnetometer@e { - compatible = "fsl,mag3110"; - reg = <0x0e>; - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_i2c3_mag3110_int>; - interrupt-parent = <&gpio3>; - interrupts = <16 IRQ_TYPE_EDGE_RISING>; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/magnetometer/fsl,mag3110.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Freescale MAG3110 magnetometer sensor + +maintainers: + - Jonathan Cameron + +properties: + compatible: + const: fsl,mag3110 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + vdd-supply: true + + vddio-supply: true + +additionalProperties: false + +required: + - compatible + - reg + +examples: + - | + #include + i2c { + #address-cells = <1>; + #size-cells = <0>; + + magnetometer@e { + compatible = "fsl,mag3110"; + reg = <0x0e>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_i2c3_mag3110_int>; + interrupt-parent = <&gpio3>; + interrupts = <16 IRQ_TYPE_EDGE_RISING>; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/magnetometer/honeywell,hmc5843.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/magnetometer/honeywell,hmc5843.yaml index 51b51dca08..5e778c9858 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/magnetometer/honeywell,hmc5843.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/magnetometer/honeywell,hmc5843.yaml @@ -1,43 +1,43 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/magnetometer/honeywell,hmc5843.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Honeywell HMC5843 magnetometer sensor - -maintainers: - - Neil Brown - -properties: - compatible: - enum: - - honeywell,hmc5843 - - honeywell,hmc5883 - - honeywell,hmc5883l - - honeywell,hmc5983 - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - -additionalProperties: false - -required: - - compatible - - reg - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - magnetometer@1e { - compatible = "honeywell,hmc5843"; - reg = <0x1e>; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/magnetometer/honeywell,hmc5843.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Honeywell HMC5843 magnetometer sensor + +maintainers: + - Neil Brown + +properties: + compatible: + enum: + - honeywell,hmc5843 + - honeywell,hmc5883 + - honeywell,hmc5883l + - honeywell,hmc5983 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + +additionalProperties: false + +required: + - compatible + - reg + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + magnetometer@1e { + compatible = "honeywell,hmc5843"; + reg = <0x1e>; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/magnetometer/pni,rm3100.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/magnetometer/pni,rm3100.yaml index dcb37bd3d4..a845cdd23e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/magnetometer/pni,rm3100.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/magnetometer/pni,rm3100.yaml @@ -1,42 +1,42 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/magnetometer/pni,rm3100.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: PNI RM3100 3-axis magnetometer sensor - -maintainers: - - Song Qiang - -properties: - compatible: - const: pni,rm3100 - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - -additionalProperties: false - -required: - - compatible - - reg - -examples: - - | - #include - i2c { - #address-cells = <1>; - #size-cells = <0>; - - magnetometer@20 { - compatible = "pni,rm3100"; - reg = <0x20>; - interrupt-parent = <&gpio0>; - interrupts = <4 IRQ_TYPE_LEVEL_HIGH>; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/magnetometer/pni,rm3100.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: PNI RM3100 3-axis magnetometer sensor + +maintainers: + - Song Qiang + +properties: + compatible: + const: pni,rm3100 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + +additionalProperties: false + +required: + - compatible + - reg + +examples: + - | + #include + i2c { + #address-cells = <1>; + #size-cells = <0>; + + magnetometer@20 { + compatible = "pni,rm3100"; + reg = <0x20>; + interrupt-parent = <&gpio0>; + interrupts = <4 IRQ_TYPE_LEVEL_HIGH>; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/potentiometer/max5432.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/potentiometer/max5432.yaml index e776966b40..5082f919df 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/potentiometer/max5432.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/potentiometer/max5432.yaml @@ -1,44 +1,44 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/potentiometer/max5432.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Maxim Integrated MAX5432-MAX5435 Digital Potentiometers - -maintainers: - - Martin Kaiser - -description: | - Maxim Integrated MAX5432-MAX5435 Digital Potentiometers connected via I2C - - Datasheet: - https://datasheets.maximintegrated.com/en/ds/MAX5432-MAX5435.pdf - -properties: - compatible: - enum: - - maxim,max5432 - - maxim,max5433 - - maxim,max5434 - - maxim,max5435 - - reg: - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - max5434@28 { - compatible = "maxim,max5434"; - reg = <0x28>; - }; - }; +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/potentiometer/max5432.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Maxim Integrated MAX5432-MAX5435 Digital Potentiometers + +maintainers: + - Martin Kaiser + +description: | + Maxim Integrated MAX5432-MAX5435 Digital Potentiometers connected via I2C + + Datasheet: + https://datasheets.maximintegrated.com/en/ds/MAX5432-MAX5435.pdf + +properties: + compatible: + enum: + - maxim,max5432 + - maxim,max5433 + - maxim,max5434 + - maxim,max5435 + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + max5434@28 { + compatible = "maxim,max5434"; + reg = <0x28>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/pressure/sensirion,sdp500.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/pressure/sensirion,sdp500.yaml index cd694b0d54..813239f687 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/pressure/sensirion,sdp500.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/pressure/sensirion,sdp500.yaml @@ -1,46 +1,46 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/pressure/sensirion,sdp500.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: sdp500/sdp510 pressure sensor with I2C bus interface - -maintainers: - - Petar Stoykov - -description: | - Pressure sensor from Sensirion with I2C bus interface. - There is no software difference between sdp500 and sdp510. - -properties: - compatible: - oneOf: - - items: - - const: sensirion,sdp510 - - const: sensirion,sdp500 - - const: sensirion,sdp500 - - reg: - maxItems: 1 - - vdd-supply: true - -required: - - compatible - - reg - - vdd-supply - -additionalProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - pressure@40 { - compatible = "sensirion,sdp500"; - reg = <0x40>; - vdd-supply = <&foo>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/pressure/sensirion,sdp500.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: sdp500/sdp510 pressure sensor with I2C bus interface + +maintainers: + - Petar Stoykov + +description: | + Pressure sensor from Sensirion with I2C bus interface. + There is no software difference between sdp500 and sdp510. + +properties: + compatible: + oneOf: + - items: + - const: sensirion,sdp510 + - const: sensirion,sdp500 + - const: sensirion,sdp500 + + reg: + maxItems: 1 + + vdd-supply: true + +required: + - compatible + - reg + - vdd-supply + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + pressure@40 { + compatible = "sensirion,sdp500"; + reg = <0x40>; + vdd-supply = <&foo>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/proximity/google,cros-ec-mkbp-proximity.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/proximity/google,cros-ec-mkbp-proximity.yaml index 560c45edc4..d4e09d2dcd 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/proximity/google,cros-ec-mkbp-proximity.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/proximity/google,cros-ec-mkbp-proximity.yaml @@ -1,35 +1,35 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/proximity/google,cros-ec-mkbp-proximity.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: ChromeOS EC MKBP Proximity Sensor - -maintainers: - - Stephen Boyd - - Benson Leung - -description: | - Google's ChromeOS EC sometimes has the ability to detect user proximity. - This is implemented on the EC as near/far logic and exposed to the OS - via an MKBP switch bit. - -properties: - compatible: - const: google,cros-ec-mkbp-proximity - - label: - description: Name for proximity sensor - -required: - - compatible - -additionalProperties: false - -examples: - - | - proximity { - compatible = "google,cros-ec-mkbp-proximity"; - label = "proximity-wifi-lte"; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/proximity/google,cros-ec-mkbp-proximity.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ChromeOS EC MKBP Proximity Sensor + +maintainers: + - Stephen Boyd + - Benson Leung + +description: | + Google's ChromeOS EC sometimes has the ability to detect user proximity. + This is implemented on the EC as near/far logic and exposed to the OS + via an MKBP switch bit. + +properties: + compatible: + const: google,cros-ec-mkbp-proximity + + label: + description: Name for proximity sensor + +required: + - compatible + +additionalProperties: false + +examples: + - | + proximity { + compatible = "google,cros-ec-mkbp-proximity"; + label = "proximity-wifi-lte"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/proximity/st,vl53l0x.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/proximity/st,vl53l0x.yaml index dbb1890344..322befc41d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/proximity/st,vl53l0x.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/proximity/st,vl53l0x.yaml @@ -1,47 +1,47 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/proximity/st,vl53l0x.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: ST VL53L0X ToF ranging sensor - -maintainers: - - Song Qiang - -properties: - compatible: - const: st,vl53l0x - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - reset-gpios: - maxItems: 1 - - vdd-supply: true - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - #include - i2c { - #address-cells = <1>; - #size-cells = <0>; - - proximity@29 { - compatible = "st,vl53l0x"; - reg = <0x29>; - interrupt-parent = <&gpio>; - interrupts = <23 IRQ_TYPE_EDGE_FALLING>; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/proximity/st,vl53l0x.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ST VL53L0X ToF ranging sensor + +maintainers: + - Song Qiang + +properties: + compatible: + const: st,vl53l0x + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + reset-gpios: + maxItems: 1 + + vdd-supply: true + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + #include + i2c { + #address-cells = <1>; + #size-cells = <0>; + + proximity@29 { + compatible = "st,vl53l0x"; + reg = <0x29>; + interrupt-parent = <&gpio>; + interrupts = <23 IRQ_TYPE_EDGE_FALLING>; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/temperature/ti,tmp006.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/temperature/ti,tmp006.yaml index 4bef78d83e..d43002b9bf 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/temperature/ti,tmp006.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/temperature/ti,tmp006.yaml @@ -1,42 +1,42 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/temperature/ti,tmp006.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: TI TMP006 IR thermopile sensor - -maintainers: - - Peter Meerwald - -description: | - TI TMP006 - Infrared Thermopile Sensor in Chip-Scale Package. - https://cdn.sparkfun.com/datasheets/Sensors/Temp/tmp006.pdf - -properties: - compatible: - const: ti,tmp006 - - reg: - maxItems: 1 - - vdd-supply: - description: provide VDD power to the sensor. - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - temperature-sensor@40 { - compatible = "ti,tmp006"; - reg = <0x40>; - vdd-supply = <&ldo4_reg>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/temperature/ti,tmp006.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: TI TMP006 IR thermopile sensor + +maintainers: + - Peter Meerwald + +description: | + TI TMP006 - Infrared Thermopile Sensor in Chip-Scale Package. + https://cdn.sparkfun.com/datasheets/Sensors/Temp/tmp006.pdf + +properties: + compatible: + const: ti,tmp006 + + reg: + maxItems: 1 + + vdd-supply: + description: provide VDD power to the sensor. + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + temperature-sensor@40 { + compatible = "ti,tmp006"; + reg = <0x40>; + vdd-supply = <&ldo4_reg>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/clps711x-keypad.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/clps711x-keypad.txt index 1a46087935..3eed8819d0 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/clps711x-keypad.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/clps711x-keypad.txt @@ -1,27 +1,27 @@ -* Cirrus Logic CLPS711X matrix keypad device tree bindings - -Required Properties: -- compatible: Shall contain "cirrus,ep7209-keypad". -- row-gpios: List of GPIOs used as row lines. -- poll-interval: Poll interval time in milliseconds. -- linux,keymap: The definition can be found at - bindings/input/matrix-keymap.txt. - -Optional Properties: -- autorepeat: Enable autorepeat feature. - -Example: - keypad { - compatible = "cirrus,ep7312-keypad", "cirrus,ep7209-keypad"; - autorepeat; - poll-interval = <120>; - row-gpios = <&porta 0 0>, - <&porta 1 0>; - - linux,keymap = < - MATRIX_KEY(0, 0, KEY_UP) - MATRIX_KEY(0, 1, KEY_DOWN) - MATRIX_KEY(1, 0, KEY_LEFT) - MATRIX_KEY(1, 1, KEY_RIGHT) - >; - }; +* Cirrus Logic CLPS711X matrix keypad device tree bindings + +Required Properties: +- compatible: Shall contain "cirrus,ep7209-keypad". +- row-gpios: List of GPIOs used as row lines. +- poll-interval: Poll interval time in milliseconds. +- linux,keymap: The definition can be found at + bindings/input/matrix-keymap.txt. + +Optional Properties: +- autorepeat: Enable autorepeat feature. + +Example: + keypad { + compatible = "cirrus,ep7312-keypad", "cirrus,ep7209-keypad"; + autorepeat; + poll-interval = <120>; + row-gpios = <&porta 0 0>, + <&porta 1 0>; + + linux,keymap = < + MATRIX_KEY(0, 0, KEY_UP) + MATRIX_KEY(0, 1, KEY_DOWN) + MATRIX_KEY(1, 0, KEY_LEFT) + MATRIX_KEY(1, 1, KEY_RIGHT) + >; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/cypress,cyapa.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/cypress,cyapa.yaml index e72dc659e4..29515151ab 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/cypress,cyapa.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/cypress,cyapa.yaml @@ -1,49 +1,49 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/input/cypress,cyapa.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Cypress All Points Addressable (APA) I2C Touchpad / Trackpad - -maintainers: - - Krzysztof Kozlowski - -properties: - compatible: - const: cypress,cyapa - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - wakeup-source: true - - vcc-supply: - description: 3.3V power - -required: - - compatible - - reg - - interrupts - -additionalProperties: false - -examples: - - | - #include - - i2c { - #address-cells = <1>; - #size-cells = <0>; - - trackpad@67 { - reg = <0x67>; - compatible = "cypress,cyapa"; - interrupts = <2 IRQ_TYPE_EDGE_FALLING>; - interrupt-parent = <&gpx1>; - wakeup-source; - }; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/input/cypress,cyapa.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Cypress All Points Addressable (APA) I2C Touchpad / Trackpad + +maintainers: + - Krzysztof Kozlowski + +properties: + compatible: + const: cypress,cyapa + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + wakeup-source: true + + vcc-supply: + description: 3.3V power + +required: + - compatible + - reg + - interrupts + +additionalProperties: false + +examples: + - | + #include + + i2c { + #address-cells = <1>; + #size-cells = <0>; + + trackpad@67 { + reg = <0x67>; + compatible = "cypress,cyapa"; + interrupts = <2 IRQ_TYPE_EDGE_FALLING>; + interrupt-parent = <&gpx1>; + wakeup-source; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/e3x0-button.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/e3x0-button.txt index 69e4bc3ee5..907b195f2e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/e3x0-button.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/e3x0-button.txt @@ -1,23 +1,23 @@ -National Instruments Ettus Research USRP E3x0 button driver - -This module is part of the NI Ettus Research USRP E3x0 SDR. - -This module provides a simple power button event via two interrupts. - -Required properties: -- compatible: should be one of the following - - "ettus,e3x0-button": For devices such as the NI Ettus Research USRP E3x0 -- interrupts: should be one of the following - - <0 30 1>, <0 31 1>: For devices such as the NI Ettus Research USRP E3x0 -- interrupt-names: should be one of the following - - "press", "release": For devices such as the NI Ettus Research USRP E3x0 - -Note: Interrupt numbers might vary depending on the FPGA configuration. - -Example: - button { - compatible = "ettus,e3x0-button"; - interrupt-parent = <&intc>; - interrupts = <0 30 1>, <0 31 1>; - interrupt-names = "press", "release"; - } +National Instruments Ettus Research USRP E3x0 button driver + +This module is part of the NI Ettus Research USRP E3x0 SDR. + +This module provides a simple power button event via two interrupts. + +Required properties: +- compatible: should be one of the following + - "ettus,e3x0-button": For devices such as the NI Ettus Research USRP E3x0 +- interrupts: should be one of the following + - <0 30 1>, <0 31 1>: For devices such as the NI Ettus Research USRP E3x0 +- interrupt-names: should be one of the following + - "press", "release": For devices such as the NI Ettus Research USRP E3x0 + +Note: Interrupt numbers might vary depending on the FPGA configuration. + +Example: + button { + compatible = "ettus,e3x0-button"; + interrupt-parent = <&intc>; + interrupts = <0 30 1>, <0 31 1>; + interrupt-names = "press", "release"; + } diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/fsl,scu-key.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/fsl,scu-key.yaml index d5075cdde1..29921aab9d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/fsl,scu-key.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/fsl,scu-key.yaml @@ -1,42 +1,42 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/input/fsl,scu-key.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: i.MX SCU Client Device Node - SCU Key Based on SCU Message Protocol - -maintainers: - - Dong Aisheng - -description: i.MX SCU Client Device Node - Client nodes are maintained as children of the relevant IMX-SCU device node. - -allOf: - - $ref: input.yaml# - -properties: - compatible: - items: - - const: fsl,imx8qxp-sc-key - - const: fsl,imx-sc-key - - linux,keycodes: - maxItems: 1 - - wakeup-source: true - -required: - - compatible - - linux,keycodes - -additionalProperties: false - -examples: - - | - #include - - keys { - compatible = "fsl,imx8qxp-sc-key", "fsl,imx-sc-key"; - linux,keycodes = ; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/input/fsl,scu-key.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: i.MX SCU Client Device Node - SCU Key Based on SCU Message Protocol + +maintainers: + - Dong Aisheng + +description: i.MX SCU Client Device Node + Client nodes are maintained as children of the relevant IMX-SCU device node. + +allOf: + - $ref: input.yaml# + +properties: + compatible: + items: + - const: fsl,imx8qxp-sc-key + - const: fsl,imx-sc-key + + linux,keycodes: + maxItems: 1 + + wakeup-source: true + +required: + - compatible + - linux,keycodes + +additionalProperties: false + +examples: + - | + #include + + keys { + compatible = "fsl,imx8qxp-sc-key", "fsl,imx-sc-key"; + linux,keycodes = ; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/gpio-decoder.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/gpio-decoder.txt index 9b15a86ab2..14a77fb96c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/gpio-decoder.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/gpio-decoder.txt @@ -1,23 +1,23 @@ -* GPIO Decoder DT bindings - -Required Properties: -- compatible: should be "gpio-decoder" -- gpios: a spec of gpios (at least two) to be decoded to a number with - first entry representing the MSB. - -Optional Properties: -- decoder-max-value: Maximum possible value that can be reported by - the gpios. -- linux,axis: the input subsystem axis to map to (ABS_X/ABS_Y). - Defaults to 0 (ABS_X). - -Example: - gpio-decoder0 { - compatible = "gpio-decoder"; - gpios = <&pca9536 3 GPIO_ACTIVE_HIGH>, - <&pca9536 2 GPIO_ACTIVE_HIGH>, - <&pca9536 1 GPIO_ACTIVE_HIGH>, - <&pca9536 0 GPIO_ACTIVE_HIGH>; - linux,axis = <0>; /* ABS_X */ - decoder-max-value = <9>; - }; +* GPIO Decoder DT bindings + +Required Properties: +- compatible: should be "gpio-decoder" +- gpios: a spec of gpios (at least two) to be decoded to a number with + first entry representing the MSB. + +Optional Properties: +- decoder-max-value: Maximum possible value that can be reported by + the gpios. +- linux,axis: the input subsystem axis to map to (ABS_X/ABS_Y). + Defaults to 0 (ABS_X). + +Example: + gpio-decoder0 { + compatible = "gpio-decoder"; + gpios = <&pca9536 3 GPIO_ACTIVE_HIGH>, + <&pca9536 2 GPIO_ACTIVE_HIGH>, + <&pca9536 1 GPIO_ACTIVE_HIGH>, + <&pca9536 0 GPIO_ACTIVE_HIGH>; + linux,axis = <0>; /* ABS_X */ + decoder-max-value = <9>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/gpio-vibrator.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/gpio-vibrator.yaml index 194ad33d32..2384465eaa 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/gpio-vibrator.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/gpio-vibrator.yaml @@ -1,39 +1,39 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/input/gpio-vibrator.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: GPIO vibrator - -maintainers: - - Luca Weiss - -description: |+ - Registers a GPIO device as vibrator, where the on/off capability is controlled by a GPIO. - -properties: - compatible: - const: gpio-vibrator - - enable-gpios: - maxItems: 1 - - vcc-supply: - description: Regulator that provides power - -required: - - compatible - - enable-gpios - -additionalProperties: false - -examples: - - | - #include - - vibrator { - compatible = "gpio-vibrator"; - enable-gpios = <&msmgpio 86 GPIO_ACTIVE_HIGH>; - vcc-supply = <&pm8941_l18>; - }; +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/input/gpio-vibrator.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: GPIO vibrator + +maintainers: + - Luca Weiss + +description: |+ + Registers a GPIO device as vibrator, where the on/off capability is controlled by a GPIO. + +properties: + compatible: + const: gpio-vibrator + + enable-gpios: + maxItems: 1 + + vcc-supply: + description: Regulator that provides power + +required: + - compatible + - enable-gpios + +additionalProperties: false + +examples: + - | + #include + + vibrator { + compatible = "gpio-vibrator"; + enable-gpios = <&msmgpio 86 GPIO_ACTIVE_HIGH>; + vcc-supply = <&pm8941_l18>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/max77650-onkey.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/max77650-onkey.yaml index 3229271b51..48edc0c8c1 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/max77650-onkey.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/max77650-onkey.yaml @@ -1,38 +1,38 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/input/max77650-onkey.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Onkey driver for MAX77650 PMIC from Maxim Integrated. - -maintainers: - - Bartosz Golaszewski - -description: | - This module is part of the MAX77650 MFD device. For more details - see Documentation/devicetree/bindings/mfd/max77650.yaml. - - The onkey controller is represented as a sub-node of the PMIC node on - the device tree. - -allOf: - - $ref: input.yaml# - -properties: - compatible: - const: maxim,max77650-onkey - - linux,code: - default: 116 # KEY_POWER - - maxim,onkey-slide: - $ref: /schemas/types.yaml#/definitions/flag - description: - The system's button is a slide switch, not the default push button. - -required: - - compatible -additionalProperties: false - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/input/max77650-onkey.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Onkey driver for MAX77650 PMIC from Maxim Integrated. + +maintainers: + - Bartosz Golaszewski + +description: | + This module is part of the MAX77650 MFD device. For more details + see Documentation/devicetree/bindings/mfd/max77650.yaml. + + The onkey controller is represented as a sub-node of the PMIC node on + the device tree. + +allOf: + - $ref: input.yaml# + +properties: + compatible: + const: maxim,max77650-onkey + + linux,code: + default: 116 # KEY_POWER + + maxim,onkey-slide: + $ref: /schemas/types.yaml#/definitions/flag + description: + The system's button is a slide switch, not the default push button. + +required: + - compatible +additionalProperties: false + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/omap-keypad.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/omap-keypad.txt index ee548c7f14..34ed1c60ff 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/omap-keypad.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/omap-keypad.txt @@ -1,28 +1,28 @@ -* TI's Keypad Controller device tree bindings - -TI's Keypad controller is used to interface a SoC with a matrix-type -keypad device. The keypad controller supports multiple row and column lines. -A key can be placed at each intersection of a unique row and a unique column. -The keypad controller can sense a key-press and key-release and report the -event using a interrupt to the cpu. - -This binding is based on the matrix-keymap binding with the following -changes: - -keypad,num-rows and keypad,num-columns are required. - -Required SoC Specific Properties: -- compatible: should be one of the following - - "ti,omap4-keypad": For controllers compatible with omap4 keypad - controller. - -Optional Properties specific to linux: -- linux,keypad-no-autorepeat: do no enable autorepeat feature. - -Example: - keypad@4ae1c000{ - compatible = "ti,omap4-keypad"; - keypad,num-rows = <2>; - keypad,num-columns = <8>; - linux,keypad-no-autorepeat; - }; +* TI's Keypad Controller device tree bindings + +TI's Keypad controller is used to interface a SoC with a matrix-type +keypad device. The keypad controller supports multiple row and column lines. +A key can be placed at each intersection of a unique row and a unique column. +The keypad controller can sense a key-press and key-release and report the +event using a interrupt to the cpu. + +This binding is based on the matrix-keymap binding with the following +changes: + +keypad,num-rows and keypad,num-columns are required. + +Required SoC Specific Properties: +- compatible: should be one of the following + - "ti,omap4-keypad": For controllers compatible with omap4 keypad + controller. + +Optional Properties specific to linux: +- linux,keypad-no-autorepeat: do no enable autorepeat feature. + +Example: + keypad@4ae1c000{ + compatible = "ti,omap4-keypad"; + keypad,num-rows = <2>; + keypad,num-columns = <8>; + linux,keypad-no-autorepeat; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/pwm-beeper.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/pwm-beeper.yaml index 3737ba913a..a7611c2069 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/pwm-beeper.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/pwm-beeper.yaml @@ -1,41 +1,41 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/input/pwm-beeper.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: PWM beeper - -maintainers: - - Sascha Hauer - -properties: - compatible: - const: pwm-beeper - - pwms: - maxItems: 1 - - amp-supply: - description: an amplifier for the beeper - - beeper-hz: - description: bell frequency in Hz - minimum: 10 - maximum: 10000 - -required: - - compatible - - pwms - -unevaluatedProperties: false - -examples: - - | - #include - beeper { - compatible = "pwm-beeper"; - pwms = <&pwm0>; - amp-supply = <&beeper_amp>; - beeper-hz = <1000>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/input/pwm-beeper.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: PWM beeper + +maintainers: + - Sascha Hauer + +properties: + compatible: + const: pwm-beeper + + pwms: + maxItems: 1 + + amp-supply: + description: an amplifier for the beeper + + beeper-hz: + description: bell frequency in Hz + minimum: 10 + maximum: 10000 + +required: + - compatible + - pwms + +unevaluatedProperties: false + +examples: + - | + #include + beeper { + compatible = "pwm-beeper"; + pwms = <&pwm0>; + amp-supply = <&beeper_amp>; + beeper-hz = <1000>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/qcom,pm8xxx-vib.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/qcom,pm8xxx-vib.yaml index 038672918d..76a286ec59 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/qcom,pm8xxx-vib.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/qcom,pm8xxx-vib.yaml @@ -1,47 +1,47 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/input/qcom,pm8xxx-vib.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm PM8xxx PMIC Vibrator - -maintainers: - - Bjorn Andersson - -properties: - compatible: - oneOf: - - enum: - - qcom,pm8058-vib - - qcom,pm8916-vib - - qcom,pm8921-vib - - qcom,pmi632-vib - - items: - - enum: - - qcom,pm6150-vib - - qcom,pm7250b-vib - - qcom,pm7325b-vib - - qcom,pm7550ba-vib - - const: qcom,pmi632-vib - - reg: - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - pmic { - #address-cells = <1>; - #size-cells = <0>; - - vibrator@4a { - compatible = "qcom,pm8058-vib"; - reg = <0x4a>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/input/qcom,pm8xxx-vib.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm PM8xxx PMIC Vibrator + +maintainers: + - Bjorn Andersson + +properties: + compatible: + oneOf: + - enum: + - qcom,pm8058-vib + - qcom,pm8916-vib + - qcom,pm8921-vib + - qcom,pmi632-vib + - items: + - enum: + - qcom,pm6150-vib + - qcom,pm7250b-vib + - qcom,pm7325b-vib + - qcom,pm7550ba-vib + - const: qcom,pmi632-vib + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + pmic { + #address-cells = <1>; + #size-cells = <0>; + + vibrator@4a { + compatible = "qcom,pm8058-vib"; + reg = <0x4a>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/regulator-haptic.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/regulator-haptic.yaml index 56a7e8f1be..cf63f834dd 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/regulator-haptic.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/regulator-haptic.yaml @@ -1,43 +1,43 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/input/regulator-haptic.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Regulator Haptic - -maintainers: - - Jaewon Kim - -properties: - compatible: - const: regulator-haptic - - haptic-supply: - description: > - Power supply to the haptic motor - - max-microvolt: - description: > - The maximum voltage value supplied to the haptic motor - - min-microvolt: - description: > - The minimum voltage value supplied to the haptic motor - -required: - - compatible - - haptic-supply - - max-microvolt - - min-microvolt - -additionalProperties: false - -examples: - - | - haptics { - compatible = "regulator-haptic"; - haptic-supply = <&motor_regulator>; - max-microvolt = <2700000>; - min-microvolt = <1100000>; - }; +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/input/regulator-haptic.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Regulator Haptic + +maintainers: + - Jaewon Kim + +properties: + compatible: + const: regulator-haptic + + haptic-supply: + description: > + Power supply to the haptic motor + + max-microvolt: + description: > + The maximum voltage value supplied to the haptic motor + + min-microvolt: + description: > + The minimum voltage value supplied to the haptic motor + +required: + - compatible + - haptic-supply + - max-microvolt + - min-microvolt + +additionalProperties: false + +examples: + - | + haptics { + compatible = "regulator-haptic"; + haptic-supply = <&motor_regulator>; + max-microvolt = <2700000>; + min-microvolt = <1100000>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/ti,drv266x.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/ti,drv266x.yaml index 0f8a781335..da18188243 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/ti,drv266x.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/ti,drv266x.yaml @@ -1,50 +1,50 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/input/ti,drv266x.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Texas Instruments - drv266x Haptics driver - -description: | - Product Page: - http://www.ti.com/product/drv2665 - http://www.ti.com/product/drv2667 - -maintainers: - - Anshul Dalal - -properties: - compatible: - enum: - - ti,drv2665 - - ti,drv2667 - - reg: - maxItems: 1 - - vbat-supply: - description: Required supply regulator - -required: - - compatible - - reg - - vbat-supply - -additionalProperties: false - -examples: - - | - #include - - - i2c { - #address-cells = <1>; - #size-cells = <0>; - - haptics@59 { - compatible = "ti,drv2667"; - reg = <0x59>; - vbat-supply = <&vbat>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/input/ti,drv266x.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Texas Instruments - drv266x Haptics driver + +description: | + Product Page: + http://www.ti.com/product/drv2665 + http://www.ti.com/product/drv2667 + +maintainers: + - Anshul Dalal + +properties: + compatible: + enum: + - ti,drv2665 + - ti,drv2667 + + reg: + maxItems: 1 + + vbat-supply: + description: Required supply regulator + +required: + - compatible + - reg + - vbat-supply + +additionalProperties: false + +examples: + - | + #include + + + i2c { + #address-cells = <1>; + #size-cells = <0>; + + haptics@59 { + compatible = "ti,drv2667"; + reg = <0x59>; + vbat-supply = <&vbat>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/auo_pixcir_ts.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/auo_pixcir_ts.txt index ff76d63a54..b8db975e9f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/auo_pixcir_ts.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/auo_pixcir_ts.txt @@ -1,30 +1,30 @@ -* AUO in-cell touchscreen controller using Pixcir sensors - -Required properties: -- compatible: must be "auo,auo_pixcir_ts" -- reg: I2C address of the chip -- interrupts: interrupt to which the chip is connected -- gpios: gpios the chip is connected to - first one is the interrupt gpio and second one the reset gpio -- x-size: horizontal resolution of touchscreen -- y-size: vertical resolution of touchscreen - -Example: - - i2c@00000000 { - /* ... */ - - auo_pixcir_ts@5c { - compatible = "auo,auo_pixcir_ts"; - reg = <0x5c>; - interrupts = <2 IRQ_TYPE_LEVEL_HIGH>; - - gpios = <&gpf 2 0 GPIO_LEVEL_HIGH>, /* INT */ - <&gpf 5 1 GPIO_LEVEL_LOW>; /* RST */ - - x-size = <800>; - y-size = <600>; - }; - - /* ... */ - }; +* AUO in-cell touchscreen controller using Pixcir sensors + +Required properties: +- compatible: must be "auo,auo_pixcir_ts" +- reg: I2C address of the chip +- interrupts: interrupt to which the chip is connected +- gpios: gpios the chip is connected to + first one is the interrupt gpio and second one the reset gpio +- x-size: horizontal resolution of touchscreen +- y-size: vertical resolution of touchscreen + +Example: + + i2c@00000000 { + /* ... */ + + auo_pixcir_ts@5c { + compatible = "auo,auo_pixcir_ts"; + reg = <0x5c>; + interrupts = <2 IRQ_TYPE_LEVEL_HIGH>; + + gpios = <&gpf 2 0 GPIO_LEVEL_HIGH>, /* INT */ + <&gpf 5 1 GPIO_LEVEL_LOW>; /* RST */ + + x-size = <800>; + y-size = <600>; + }; + + /* ... */ + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/eeti.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/eeti.txt index 87407ce207..32b3712c91 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/eeti.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/eeti.txt @@ -1,30 +1,30 @@ -Bindings for EETI touchscreen controller - -Required properties: -- compatible: should be "eeti,exc3000-i2c" -- reg: I2C address of the chip. Should be set to <0xa> -- interrupts: interrupt to which the chip is connected - -Optional properties: -- attn-gpios: A handle to a GPIO to check whether interrupt is still - latched. This is necessary for platforms that lack - support for level-triggered IRQs. - -The following optional properties described in touchscreen.txt are -also supported: - -- touchscreen-inverted-x -- touchscreen-inverted-y -- touchscreen-swapped-x-y - -Example: - -i2c-master { - touchscreen@a { - compatible = "eeti,exc3000-i2c"; - reg = <0xa>; - interrupt-parent = <&gpio>; - interrupts = <123 IRQ_TYPE_EDGE_RISING>; - attn-gpios = <&gpio 123 GPIO_ACTIVE_HIGH>; - }; -}; +Bindings for EETI touchscreen controller + +Required properties: +- compatible: should be "eeti,exc3000-i2c" +- reg: I2C address of the chip. Should be set to <0xa> +- interrupts: interrupt to which the chip is connected + +Optional properties: +- attn-gpios: A handle to a GPIO to check whether interrupt is still + latched. This is necessary for platforms that lack + support for level-triggered IRQs. + +The following optional properties described in touchscreen.txt are +also supported: + +- touchscreen-inverted-x +- touchscreen-inverted-y +- touchscreen-swapped-x-y + +Example: + +i2c-master { + touchscreen@a { + compatible = "eeti,exc3000-i2c"; + reg = <0xa>; + interrupt-parent = <&gpio>; + interrupts = <123 IRQ_TYPE_EDGE_RISING>; + attn-gpios = <&gpio 123 GPIO_ACTIVE_HIGH>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/raspberrypi,firmware-ts.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/raspberrypi,firmware-ts.txt index 602e619cda..2a1af240cc 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/raspberrypi,firmware-ts.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/raspberrypi,firmware-ts.txt @@ -1,26 +1,26 @@ -Raspberry Pi firmware based 7" touchscreen -===================================== - -Required properties: - - compatible: "raspberrypi,firmware-ts" - -Optional properties: - - firmware: Reference to RPi's firmware device node - - touchscreen-size-x: See touchscreen.txt - - touchscreen-size-y: See touchscreen.txt - - touchscreen-inverted-x: See touchscreen.txt - - touchscreen-inverted-y: See touchscreen.txt - - touchscreen-swapped-x-y: See touchscreen.txt - -Example: - -firmware: firmware-rpi { - compatible = "raspberrypi,bcm2835-firmware"; - mboxes = <&mailbox>; - - ts: touchscreen { - compatible = "raspberrypi,firmware-ts"; - touchscreen-size-x = <800>; - touchscreen-size-y = <480>; - }; -}; +Raspberry Pi firmware based 7" touchscreen +===================================== + +Required properties: + - compatible: "raspberrypi,firmware-ts" + +Optional properties: + - firmware: Reference to RPi's firmware device node + - touchscreen-size-x: See touchscreen.txt + - touchscreen-size-y: See touchscreen.txt + - touchscreen-inverted-x: See touchscreen.txt + - touchscreen-inverted-y: See touchscreen.txt + - touchscreen-swapped-x-y: See touchscreen.txt + +Example: + +firmware: firmware-rpi { + compatible = "raspberrypi,bcm2835-firmware"; + mboxes = <&mailbox>; + + ts: touchscreen { + compatible = "raspberrypi,firmware-ts"; + touchscreen-size-x = <800>; + touchscreen-size-y = <480>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/sitronix,st1232.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/sitronix,st1232.yaml index 6cd12182af..1d8ca19fd3 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/sitronix,st1232.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/sitronix,st1232.yaml @@ -1,50 +1,50 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/input/touchscreen/sitronix,st1232.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Sitronix st1232 or st1633 touchscreen controller - -maintainers: - - Bastian Hecht - -allOf: - - $ref: touchscreen.yaml# - -properties: - compatible: - enum: - - sitronix,st1232 - - sitronix,st1633 - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - gpios: - description: A phandle to the reset GPIO - maxItems: 1 - -required: - - compatible - - reg - - interrupts - -unevaluatedProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - touchscreen@55 { - compatible = "sitronix,st1232"; - reg = <0x55>; - interrupts = <2 0>; - gpios = <&gpio1 166 0>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/input/touchscreen/sitronix,st1232.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Sitronix st1232 or st1633 touchscreen controller + +maintainers: + - Bastian Hecht + +allOf: + - $ref: touchscreen.yaml# + +properties: + compatible: + enum: + - sitronix,st1232 + - sitronix,st1633 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + gpios: + description: A phandle to the reset GPIO + maxItems: 1 + +required: + - compatible + - reg + - interrupts + +unevaluatedProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + touchscreen@55 { + compatible = "sitronix,st1232"; + reg = <0x55>; + interrupts = <2 0>; + gpios = <&gpio1 166 0>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/zet6223.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/zet6223.txt index ca3413e9f5..27d55a506f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/zet6223.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/zet6223.txt @@ -1,30 +1,30 @@ -Zeitec ZET6223 I2C touchscreen controller - -Required properties: -- compatible : "zeitec,zet6223" -- reg : I2C slave address of the chip (0x76) -- interrupts : interrupt specification for the zet6223 interrupt - -Optional properties: - -- vio-supply : Specification for VIO supply (1.8V or 3.3V, - depending on system interface needs). -- vcc-supply : Specification for 3.3V VCC supply. -- touchscreen-size-x : See touchscreen.txt -- touchscreen-size-y : See touchscreen.txt -- touchscreen-inverted-x : See touchscreen.txt -- touchscreen-inverted-y : See touchscreen.txt -- touchscreen-swapped-x-y : See touchscreen.txt - -Example: - -i2c@00000000 { - - zet6223: touchscreen@76 { - compatible = "zeitec,zet6223"; - reg = <0x76>; - interrupt-parent = <&pio>; - interrupts = <6 11 IRQ_TYPE_EDGE_FALLING> - }; - -}; +Zeitec ZET6223 I2C touchscreen controller + +Required properties: +- compatible : "zeitec,zet6223" +- reg : I2C slave address of the chip (0x76) +- interrupts : interrupt specification for the zet6223 interrupt + +Optional properties: + +- vio-supply : Specification for VIO supply (1.8V or 3.3V, + depending on system interface needs). +- vcc-supply : Specification for 3.3V VCC supply. +- touchscreen-size-x : See touchscreen.txt +- touchscreen-size-y : See touchscreen.txt +- touchscreen-inverted-x : See touchscreen.txt +- touchscreen-inverted-y : See touchscreen.txt +- touchscreen-swapped-x-y : See touchscreen.txt + +Example: + +i2c@00000000 { + + zet6223: touchscreen@76 { + compatible = "zeitec,zet6223"; + reg = <0x76>; + interrupt-parent = <&pio>; + interrupts = <6 11 IRQ_TYPE_EDGE_FALLING> + }; + +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/tps65218-pwrbutton.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/tps65218-pwrbutton.txt index 78fe0b8fed..8682ab6d4a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/tps65218-pwrbutton.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/tps65218-pwrbutton.txt @@ -1,30 +1,30 @@ -Texas Instruments TPS65217 and TPS65218 power button - -This module is part of the TPS65217/TPS65218. For more details about the whole -TPS65217 chip see Documentation/devicetree/bindings/regulator/tps65217.txt. - -This driver provides a simple power button event via an Interrupt. - -Required properties: -- compatible: should be "ti,tps65217-pwrbutton" or "ti,tps65218-pwrbutton" - -Required properties: -- interrupts: should be one of the following - - <2>: For controllers compatible with tps65217 - - <3 IRQ_TYPE_EDGE_BOTH>: For controllers compatible with tps65218 - -Examples: - -&tps { - tps65217-pwrbutton { - compatible = "ti,tps65217-pwrbutton"; - interrupts = <2>; - }; -}; - -&tps { - power-button { - compatible = "ti,tps65218-pwrbutton"; - interrupts = <3 IRQ_TYPE_EDGE_BOTH>; - }; -}; +Texas Instruments TPS65217 and TPS65218 power button + +This module is part of the TPS65217/TPS65218. For more details about the whole +TPS65217 chip see Documentation/devicetree/bindings/regulator/tps65217.txt. + +This driver provides a simple power button event via an Interrupt. + +Required properties: +- compatible: should be "ti,tps65217-pwrbutton" or "ti,tps65218-pwrbutton" + +Required properties: +- interrupts: should be one of the following + - <2>: For controllers compatible with tps65217 + - <3 IRQ_TYPE_EDGE_BOTH>: For controllers compatible with tps65218 + +Examples: + +&tps { + tps65217-pwrbutton { + compatible = "ti,tps65217-pwrbutton"; + interrupts = <2>; + }; +}; + +&tps { + power-button { + compatible = "ti,tps65218-pwrbutton"; + interrupts = <3 IRQ_TYPE_EDGE_BOTH>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interconnect/qcom,rpm-common.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interconnect/qcom,rpm-common.yaml index cdb294dfdd..1ea52b0916 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interconnect/qcom,rpm-common.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interconnect/qcom,rpm-common.yaml @@ -1,28 +1,28 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/interconnect/qcom,rpm-common.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm RPMh Network-On-Chip Interconnect - -maintainers: - - Konrad Dybcio - -description: - RPM interconnect providers support for managing system bandwidth requirements - through manual requests based on either predefined values or as indicated by - the bus monitor hardware. Each provider node represents a NoC bus master, - driven by a dedicated clock source. - -properties: - '#interconnect-cells': - oneOf: - - const: 2 - - const: 1 - deprecated: true - -required: - - '#interconnect-cells' - -additionalProperties: true +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/interconnect/qcom,rpm-common.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm RPMh Network-On-Chip Interconnect + +maintainers: + - Konrad Dybcio + +description: + RPM interconnect providers support for managing system bandwidth requirements + through manual requests based on either predefined values or as indicated by + the bus monitor hardware. Each provider node represents a NoC bus master, + driven by a dedicated clock source. + +properties: + '#interconnect-cells': + oneOf: + - const: 2 + - const: 1 + deprecated: true + +required: + - '#interconnect-cells' + +additionalProperties: true diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/al,alpine-msix.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/al,alpine-msix.txt index 09d546b15d..5669764f9c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/al,alpine-msix.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/al,alpine-msix.txt @@ -1,25 +1,25 @@ -Alpine MSIX controller - -See arm,gic-v3.txt for SPI and MSI definitions. - -Required properties: - -- compatible: should be "al,alpine-msix" -- reg: physical base address and size of the registers -- interrupt-controller: identifies the node as an interrupt controller -- msi-controller: identifies the node as an PCI Message Signaled Interrupt - controller -- al,msi-base-spi: SPI base of the MSI frame -- al,msi-num-spis: number of SPIs assigned to the MSI frame, relative to SPI0 - -Example: - -msix: msix { - compatible = "al,alpine-msix"; - reg = <0x0 0xfbe00000 0x0 0x100000>; - interrupt-parent = <&gic>; - interrupt-controller; - msi-controller; - al,msi-base-spi = <160>; - al,msi-num-spis = <160>; -}; +Alpine MSIX controller + +See arm,gic-v3.txt for SPI and MSI definitions. + +Required properties: + +- compatible: should be "al,alpine-msix" +- reg: physical base address and size of the registers +- interrupt-controller: identifies the node as an interrupt controller +- msi-controller: identifies the node as an PCI Message Signaled Interrupt + controller +- al,msi-base-spi: SPI base of the MSI frame +- al,msi-num-spis: number of SPIs assigned to the MSI frame, relative to SPI0 + +Example: + +msix: msix { + compatible = "al,alpine-msix"; + reg = <0x0 0xfbe00000 0x0 0x100000>; + interrupt-parent = <&gic>; + interrupt-controller; + msi-controller; + al,msi-base-spi = <160>; + al,msi-num-spis = <160>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/allwinner,sun4i-a10-ic.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/allwinner,sun4i-a10-ic.yaml index a5281c81fe..a713633be7 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/allwinner,sun4i-a10-ic.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/allwinner,sun4i-a10-ic.yaml @@ -1,47 +1,47 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/interrupt-controller/allwinner,sun4i-a10-ic.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Allwinner A10 Interrupt Controller - -maintainers: - - Chen-Yu Tsai - - Maxime Ripard - -allOf: - - $ref: /schemas/interrupt-controller.yaml# - -properties: - "#interrupt-cells": - const: 1 - - compatible: - enum: - - allwinner,sun4i-a10-ic - - allwinner,suniv-f1c100s-ic - - reg: - maxItems: 1 - - interrupt-controller: true - -required: - - "#interrupt-cells" - - compatible - - reg - - interrupt-controller - -additionalProperties: false - -examples: - - | - intc: interrupt-controller@1c20400 { - compatible = "allwinner,sun4i-a10-ic"; - reg = <0x01c20400 0x400>; - interrupt-controller; - #interrupt-cells = <1>; - }; - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/interrupt-controller/allwinner,sun4i-a10-ic.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Allwinner A10 Interrupt Controller + +maintainers: + - Chen-Yu Tsai + - Maxime Ripard + +allOf: + - $ref: /schemas/interrupt-controller.yaml# + +properties: + "#interrupt-cells": + const: 1 + + compatible: + enum: + - allwinner,sun4i-a10-ic + - allwinner,suniv-f1c100s-ic + + reg: + maxItems: 1 + + interrupt-controller: true + +required: + - "#interrupt-cells" + - compatible + - reg + - interrupt-controller + +additionalProperties: false + +examples: + - | + intc: interrupt-controller@1c20400 { + compatible = "allwinner,sun4i-a10-ic"; + reg = <0x01c20400 0x400>; + interrupt-controller; + #interrupt-cells = <1>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/aspeed,ast2400-i2c-ic.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/aspeed,ast2400-i2c-ic.txt index a26bb543d5..033cc82e56 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/aspeed,ast2400-i2c-ic.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/aspeed,ast2400-i2c-ic.txt @@ -1,25 +1,25 @@ -Device tree configuration for the I2C Interrupt Controller on the AST24XX and -AST25XX SoCs. - -Required Properties: -- #address-cells : should be 1 -- #size-cells : should be 1 -- #interrupt-cells : should be 1 -- compatible : should be "aspeed,ast2400-i2c-ic" - or "aspeed,ast2500-i2c-ic" -- reg : address start and range of controller -- interrupts : interrupt number -- interrupt-controller : denotes that the controller receives and fires - new interrupts for child busses - -Example: - -i2c_ic: interrupt-controller@0 { - #address-cells = <1>; - #size-cells = <1>; - #interrupt-cells = <1>; - compatible = "aspeed,ast2400-i2c-ic"; - reg = <0x0 0x40>; - interrupts = <12>; - interrupt-controller; -}; +Device tree configuration for the I2C Interrupt Controller on the AST24XX and +AST25XX SoCs. + +Required Properties: +- #address-cells : should be 1 +- #size-cells : should be 1 +- #interrupt-cells : should be 1 +- compatible : should be "aspeed,ast2400-i2c-ic" + or "aspeed,ast2500-i2c-ic" +- reg : address start and range of controller +- interrupts : interrupt number +- interrupt-controller : denotes that the controller receives and fires + new interrupts for child busses + +Example: + +i2c_ic: interrupt-controller@0 { + #address-cells = <1>; + #size-cells = <1>; + #interrupt-cells = <1>; + compatible = "aspeed,ast2400-i2c-ic"; + reg = <0x0 0x40>; + interrupts = <12>; + interrupt-controller; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/aspeed,ast2xxx-scu-ic.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/aspeed,ast2xxx-scu-ic.txt index 6490146d2b..251ed44171 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/aspeed,ast2xxx-scu-ic.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/aspeed,ast2xxx-scu-ic.txt @@ -1,23 +1,23 @@ -Aspeed AST25XX and AST26XX SCU Interrupt Controller - -Required Properties: - - #interrupt-cells : must be 1 - - compatible : must be "aspeed,ast2500-scu-ic", - "aspeed,ast2600-scu-ic0" or - "aspeed,ast2600-scu-ic1" - - interrupts : interrupt from the parent controller - - interrupt-controller : indicates that the controller receives and - fires new interrupts for child busses - -Example: - - syscon@1e6e2000 { - ranges = <0 0x1e6e2000 0x1a8>; - - scu_ic: interrupt-controller@18 { - #interrupt-cells = <1>; - compatible = "aspeed,ast2500-scu-ic"; - interrupts = <21>; - interrupt-controller; - }; - }; +Aspeed AST25XX and AST26XX SCU Interrupt Controller + +Required Properties: + - #interrupt-cells : must be 1 + - compatible : must be "aspeed,ast2500-scu-ic", + "aspeed,ast2600-scu-ic0" or + "aspeed,ast2600-scu-ic1" + - interrupts : interrupt from the parent controller + - interrupt-controller : indicates that the controller receives and + fires new interrupts for child busses + +Example: + + syscon@1e6e2000 { + ranges = <0 0x1e6e2000 0x1a8>; + + scu_ic: interrupt-controller@18 { + #interrupt-cells = <1>; + compatible = "aspeed,ast2500-scu-ic"; + interrupts = <21>; + interrupt-controller; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/digicolor-ic.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/digicolor-ic.txt index acc9b91c7b..42d41ec84c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/digicolor-ic.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/digicolor-ic.txt @@ -1,21 +1,21 @@ -Conexant Digicolor Interrupt Controller - -Required properties: - -- compatible : should be "cnxt,cx92755-ic" -- reg : Specifies base physical address and size of the interrupt controller - registers (IC) area -- 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. -- syscon: A phandle to the syscon node describing UC registers - -Example: - - intc: interrupt-controller@f0000040 { - compatible = "cnxt,cx92755-ic"; - interrupt-controller; - #interrupt-cells = <1>; - reg = <0xf0000040 0x40>; - syscon = <&uc_regs>; - }; +Conexant Digicolor Interrupt Controller + +Required properties: + +- compatible : should be "cnxt,cx92755-ic" +- reg : Specifies base physical address and size of the interrupt controller + registers (IC) area +- 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. +- syscon: A phandle to the syscon node describing UC registers + +Example: + + intc: interrupt-controller@f0000040 { + compatible = "cnxt,cx92755-ic"; + interrupt-controller; + #interrupt-cells = <1>; + reg = <0xf0000040 0x40>; + syscon = <&uc_regs>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/faraday,ftintc010.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/faraday,ftintc010.txt index 3a8b5ecf1c..24428d47f4 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/faraday,ftintc010.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/faraday,ftintc010.txt @@ -1,25 +1,25 @@ -* Faraday Technologt FTINTC010 interrupt controller - -This interrupt controller is a stock IP block from Faraday Technology found -in the Gemini SoCs and other designs. - -Required properties: -- compatible: must be one of - "faraday,ftintc010" - "cortina,gemini-interrupt-controller" (deprecated) -- reg: The register bank for the interrupt controller. -- interrupt-controller: Identifies the node as an interrupt controller -- #interrupt-cells: The number of cells to define the interrupts. - Must be 2 as the controller can specify level or rising edge - IRQs. The bindings follows the standard binding for controllers - with two cells specified in - interrupt-controller/interrupts.txt - -Example: - -interrupt-controller@48000000 { - compatible = "faraday,ftintc010" - reg = <0x48000000 0x1000>; - interrupt-controller; - #interrupt-cells = <2>; -}; +* Faraday Technologt FTINTC010 interrupt controller + +This interrupt controller is a stock IP block from Faraday Technology found +in the Gemini SoCs and other designs. + +Required properties: +- compatible: must be one of + "faraday,ftintc010" + "cortina,gemini-interrupt-controller" (deprecated) +- reg: The register bank for the interrupt controller. +- interrupt-controller: Identifies the node as an interrupt controller +- #interrupt-cells: The number of cells to define the interrupts. + Must be 2 as the controller can specify level or rising edge + IRQs. The bindings follows the standard binding for controllers + with two cells specified in + interrupt-controller/interrupts.txt + +Example: + +interrupt-controller@48000000 { + compatible = "faraday,ftintc010" + reg = <0x48000000 0x1000>; + interrupt-controller; + #interrupt-cells = <2>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/google,goldfish-pic.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/google,goldfish-pic.txt index c21d49dbcd..35f752706e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/google,goldfish-pic.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/google,goldfish-pic.txt @@ -1,30 +1,30 @@ -Android Goldfish PIC - -Android Goldfish programmable interrupt device used by Android -emulator. - -Required properties: - -- compatible : should contain "google,goldfish-pic" -- reg : -- interrupts : - -Example for mips when used in cascade mode: - - cpuintc { - #interrupt-cells = <0x1>; - #address-cells = <0>; - interrupt-controller; - compatible = "mti,cpu-interrupt-controller"; - }; - - interrupt-controller@1f000000 { - compatible = "google,goldfish-pic"; - reg = <0x1f000000 0x1000>; - - interrupt-controller; - #interrupt-cells = <0x1>; - - interrupt-parent = <&cpuintc>; - interrupts = <0x2>; - }; +Android Goldfish PIC + +Android Goldfish programmable interrupt device used by Android +emulator. + +Required properties: + +- compatible : should contain "google,goldfish-pic" +- reg : +- interrupts : + +Example for mips when used in cascade mode: + + cpuintc { + #interrupt-cells = <0x1>; + #address-cells = <0>; + interrupt-controller; + compatible = "mti,cpu-interrupt-controller"; + }; + + interrupt-controller@1f000000 { + compatible = "google,goldfish-pic"; + reg = <0x1f000000 0x1000>; + + interrupt-controller; + #interrupt-cells = <0x1>; + + interrupt-parent = <&cpuintc>; + interrupts = <0x2>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/idt,32434-pic.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/idt,32434-pic.yaml index 40ad58d1c9..afb3dd80b6 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/idt,32434-pic.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/idt,32434-pic.yaml @@ -1,52 +1,52 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/interrupt-controller/idt,32434-pic.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: IDT 79RC32434 Interrupt Controller - -maintainers: - - Thomas Bogendoerfer - -allOf: - - $ref: /schemas/interrupt-controller.yaml# - -properties: - "#interrupt-cells": - const: 1 - - compatible: - const: idt,32434-pic - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - interrupt-controller: true - -required: - - "#interrupt-cells" - - compatible - - reg - - interrupt-controller - - interrupts - -additionalProperties: false - -examples: - - | - idtpic3: interrupt-controller@3800c { - compatible = "idt,32434-pic"; - reg = <0x3800c 0x0c>; - - interrupt-controller; - #interrupt-cells = <1>; - - interrupt-parent = <&cpuintc>; - interrupts = <3>; - }; - -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/interrupt-controller/idt,32434-pic.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: IDT 79RC32434 Interrupt Controller + +maintainers: + - Thomas Bogendoerfer + +allOf: + - $ref: /schemas/interrupt-controller.yaml# + +properties: + "#interrupt-cells": + const: 1 + + compatible: + const: idt,32434-pic + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + interrupt-controller: true + +required: + - "#interrupt-cells" + - compatible + - reg + - interrupt-controller + - interrupts + +additionalProperties: false + +examples: + - | + idtpic3: interrupt-controller@3800c { + compatible = "idt,32434-pic"; + reg = <0x3800c 0x0c>; + + interrupt-controller; + #interrupt-cells = <1>; + + interrupt-parent = <&cpuintc>; + interrupts = <3>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/jcore,aic.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/jcore,aic.txt index 93f3c6ae2b..ee2ad36f8d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/jcore,aic.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/jcore,aic.txt @@ -1,26 +1,26 @@ -J-Core Advanced Interrupt Controller - -Required properties: - -- compatible: Should be "jcore,aic1" for the (obsolete) first-generation aic - with 8 interrupt lines with programmable priorities, or "jcore,aic2" for - the "aic2" core with 64 interrupts. - -- reg: Memory region(s) for configuration. For SMP, there should be one - region per cpu, indexed by the sequential, zero-based hardware cpu - number. - -- 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: - -aic: interrupt-controller@200 { - compatible = "jcore,aic2"; - reg = < 0x200 0x30 0x500 0x30 >; - interrupt-controller; - #interrupt-cells = <1>; -}; +J-Core Advanced Interrupt Controller + +Required properties: + +- compatible: Should be "jcore,aic1" for the (obsolete) first-generation aic + with 8 interrupt lines with programmable priorities, or "jcore,aic2" for + the "aic2" core with 64 interrupts. + +- reg: Memory region(s) for configuration. For SMP, there should be one + region per cpu, indexed by the sequential, zero-based hardware cpu + number. + +- 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: + +aic: interrupt-controller@200 { + compatible = "jcore,aic2"; + reg = < 0x200 0x30 0x500 0x30 >; + interrupt-controller; + #interrupt-cells = <1>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/loongson,cpu-interrupt-controller.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/loongson,cpu-interrupt-controller.yaml index d4c79db4a5..adf989976d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/loongson,cpu-interrupt-controller.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/loongson,cpu-interrupt-controller.yaml @@ -1,34 +1,34 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/interrupt-controller/loongson,cpu-interrupt-controller.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: LoongArch CPU Interrupt Controller - -maintainers: - - Liu Peibao - -properties: - compatible: - const: loongson,cpu-interrupt-controller - - '#interrupt-cells': - const: 1 - - interrupt-controller: true - -additionalProperties: false - -required: - - compatible - - '#interrupt-cells' - - interrupt-controller - -examples: - - | - interrupt-controller { - compatible = "loongson,cpu-interrupt-controller"; - #interrupt-cells = <1>; - interrupt-controller; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/interrupt-controller/loongson,cpu-interrupt-controller.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: LoongArch CPU Interrupt Controller + +maintainers: + - Liu Peibao + +properties: + compatible: + const: loongson,cpu-interrupt-controller + + '#interrupt-cells': + const: 1 + + interrupt-controller: true + +additionalProperties: false + +required: + - compatible + - '#interrupt-cells' + - interrupt-controller + +examples: + - | + interrupt-controller { + compatible = "loongson,cpu-interrupt-controller"; + #interrupt-cells = <1>; + interrupt-controller; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/marvell,armada-8k-pic.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/marvell,armada-8k-pic.txt index d6d7304766..86a7b4cd03 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/marvell,armada-8k-pic.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/marvell,armada-8k-pic.txt @@ -1,25 +1,25 @@ -Marvell Armada 7K/8K PIC Interrupt controller ---------------------------------------------- - -This is the Device Tree binding for the PIC, a secondary interrupt -controller available on the Marvell Armada 7K/8K ARM64 SoCs, and -typically connected to the GIC as the primary interrupt controller. - -Required properties: -- compatible: should be "marvell,armada-8k-pic" -- interrupt-controller: identifies the node as an interrupt controller -- #interrupt-cells: the number of cells to define interrupts on this - controller. Should be 1 -- reg: the register area for the PIC interrupt controller -- interrupts: the interrupt to the primary interrupt controller, - typically the GIC - -Example: - - pic: interrupt-controller@3f0100 { - compatible = "marvell,armada-8k-pic"; - reg = <0x3f0100 0x10>; - #interrupt-cells = <1>; - interrupt-controller; - interrupts = ; - }; +Marvell Armada 7K/8K PIC Interrupt controller +--------------------------------------------- + +This is the Device Tree binding for the PIC, a secondary interrupt +controller available on the Marvell Armada 7K/8K ARM64 SoCs, and +typically connected to the GIC as the primary interrupt controller. + +Required properties: +- compatible: should be "marvell,armada-8k-pic" +- interrupt-controller: identifies the node as an interrupt controller +- #interrupt-cells: the number of cells to define interrupts on this + controller. Should be 1 +- reg: the register area for the PIC interrupt controller +- interrupts: the interrupt to the primary interrupt controller, + typically the GIC + +Example: + + pic: interrupt-controller@3f0100 { + compatible = "marvell,armada-8k-pic"; + reg = <0x3f0100 0x10>; + #interrupt-cells = <1>; + interrupt-controller; + interrupts = ; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/marvell,gicp.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/marvell,gicp.txt index 84ff459437..64a00ceb7d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/marvell,gicp.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/marvell,gicp.txt @@ -1,27 +1,27 @@ -Marvell GICP Controller ------------------------ - -GICP is a Marvell extension of the GIC that allows to trigger GIC SPI -interrupts by doing a memory transaction. It is used by the ICU -located in the Marvell CP110 to turn wired interrupts inside the CP -into GIC SPI interrupts. - -Required properties: - -- compatible: Must be "marvell,ap806-gicp" - -- reg: Must be the address and size of the GICP SPI registers - -- marvell,spi-ranges: tuples of GIC SPI interrupts ranges available - for this GICP - -- msi-controller: indicates that this is an MSI controller - -Example: - -gicp_spi: gicp-spi@3f0040 { - compatible = "marvell,ap806-gicp"; - reg = <0x3f0040 0x10>; - marvell,spi-ranges = <64 64>, <288 64>; - msi-controller; -}; +Marvell GICP Controller +----------------------- + +GICP is a Marvell extension of the GIC that allows to trigger GIC SPI +interrupts by doing a memory transaction. It is used by the ICU +located in the Marvell CP110 to turn wired interrupts inside the CP +into GIC SPI interrupts. + +Required properties: + +- compatible: Must be "marvell,ap806-gicp" + +- reg: Must be the address and size of the GICP SPI registers + +- marvell,spi-ranges: tuples of GIC SPI interrupts ranges available + for this GICP + +- msi-controller: indicates that this is an MSI controller + +Example: + +gicp_spi: gicp-spi@3f0040 { + compatible = "marvell,ap806-gicp"; + reg = <0x3f0040 0x10>; + marvell,spi-ranges = <64 64>, <288 64>; + msi-controller; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/nuvoton,wpcm450-aic.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/nuvoton,wpcm450-aic.yaml index 393e1c3794..2d6307a383 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/nuvoton,wpcm450-aic.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/nuvoton,wpcm450-aic.yaml @@ -1,39 +1,39 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/interrupt-controller/nuvoton,wpcm450-aic.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Nuvoton WPCM450 Advanced Interrupt Controller - -maintainers: - - Jonathan Neuschäfer - -properties: - '#interrupt-cells': - const: 2 - - compatible: - const: nuvoton,wpcm450-aic - - interrupt-controller: true - - reg: - maxItems: 1 - -additionalProperties: false - -required: - - '#interrupt-cells' - - compatible - - reg - - interrupt-controller - -examples: - - | - aic: interrupt-controller@b8002000 { - compatible = "nuvoton,wpcm450-aic"; - reg = <0xb8002000 0x1000>; - interrupt-controller; - #interrupt-cells = <2>; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/interrupt-controller/nuvoton,wpcm450-aic.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Nuvoton WPCM450 Advanced Interrupt Controller + +maintainers: + - Jonathan Neuschäfer + +properties: + '#interrupt-cells': + const: 2 + + compatible: + const: nuvoton,wpcm450-aic + + interrupt-controller: true + + reg: + maxItems: 1 + +additionalProperties: false + +required: + - '#interrupt-cells' + - compatible + - reg + - interrupt-controller + +examples: + - | + aic: interrupt-controller@b8002000 { + compatible = "nuvoton,wpcm450-aic"; + reg = <0xb8002000 0x1000>; + interrupt-controller; + #interrupt-cells = <2>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/opencores,or1k-pic.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/opencores,or1k-pic.txt index 8833610f25..55c04faa3f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/opencores,or1k-pic.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/opencores,or1k-pic.txt @@ -1,23 +1,23 @@ -OpenRISC 1000 Programmable Interrupt Controller - -Required properties: - -- compatible : should be "opencores,or1k-pic-level" for variants with - level triggered interrupt lines, "opencores,or1k-pic-edge" for variants with - edge triggered interrupt lines or "opencores,or1200-pic" for machines - with the non-spec compliant or1200 type implementation. - - "opencores,or1k-pic" is also provided as an alias to "opencores,or1200-pic", - but this is only for backwards compatibility. - -- 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 = "opencores,or1k-pic-level"; - interrupt-controller; - #interrupt-cells = <1>; -}; +OpenRISC 1000 Programmable Interrupt Controller + +Required properties: + +- compatible : should be "opencores,or1k-pic-level" for variants with + level triggered interrupt lines, "opencores,or1k-pic-edge" for variants with + edge triggered interrupt lines or "opencores,or1200-pic" for machines + with the non-spec compliant or1200 type implementation. + + "opencores,or1k-pic" is also provided as an alias to "opencores,or1200-pic", + but this is only for backwards compatibility. + +- 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 = "opencores,or1k-pic-level"; + interrupt-controller; + #interrupt-cells = <1>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/openrisc,ompic.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/openrisc,ompic.txt index 63319e23cc..caec07cc71 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/openrisc,ompic.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/openrisc,ompic.txt @@ -1,22 +1,22 @@ -Open Multi-Processor Interrupt Controller - -Required properties: - -- compatible : This should be "openrisc,ompic" -- reg : Specifies base physical address and size of the register space. The - size is based on the number of cores the controller has been configured - to handle, this should be set to 8 bytes per cpu core. -- interrupt-controller : Identifies the node as an interrupt controller. -- #interrupt-cells : This should be set to 0 as this will not be an irq - parent. -- interrupts : Specifies the interrupt line to which the ompic is wired. - -Example: - -ompic: interrupt-controller@98000000 { - compatible = "openrisc,ompic"; - reg = <0x98000000 16>; - interrupt-controller; - #interrupt-cells = <0>; - interrupts = <1>; -}; +Open Multi-Processor Interrupt Controller + +Required properties: + +- compatible : This should be "openrisc,ompic" +- reg : Specifies base physical address and size of the register space. The + size is based on the number of cores the controller has been configured + to handle, this should be set to 8 bytes per cpu core. +- interrupt-controller : Identifies the node as an interrupt controller. +- #interrupt-cells : This should be set to 0 as this will not be an irq + parent. +- interrupts : Specifies the interrupt line to which the ompic is wired. + +Example: + +ompic: interrupt-controller@98000000 { + compatible = "openrisc,ompic"; + reg = <0x98000000 16>; + interrupt-controller; + #interrupt-cells = <0>; + interrupts = <1>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/rda,8810pl-intc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/rda,8810pl-intc.yaml index d4db57c5cc..96d6285d00 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/rda,8810pl-intc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/rda,8810pl-intc.yaml @@ -1,43 +1,43 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/interrupt-controller/rda,8810pl-intc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: RDA Micro RDA8810PL interrupt controller - -maintainers: - - Manivannan Sadhasivam - -allOf: - - $ref: /schemas/interrupt-controller.yaml# - -properties: - compatible: - const: rda,8810pl-intc - - reg: - maxItems: 1 - - interrupt-controller: true - - '#interrupt-cells': - const: 2 - -required: - - compatible - - reg - - interrupt-controller - - '#interrupt-cells' - -additionalProperties: false - -examples: - - | - intc: interrupt-controller@0 { - compatible = "rda,8810pl-intc"; - reg = <0x0 0x1000>; - interrupt-controller; - #interrupt-cells = <2>; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/interrupt-controller/rda,8810pl-intc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: RDA Micro RDA8810PL interrupt controller + +maintainers: + - Manivannan Sadhasivam + +allOf: + - $ref: /schemas/interrupt-controller.yaml# + +properties: + compatible: + const: rda,8810pl-intc + + reg: + maxItems: 1 + + interrupt-controller: true + + '#interrupt-cells': + const: 2 + +required: + - compatible + - reg + - interrupt-controller + - '#interrupt-cells' + +additionalProperties: false + +examples: + - | + intc: interrupt-controller@0 { + compatible = "rda,8810pl-intc"; + reg = <0x0 0x1000>; + interrupt-controller; + #interrupt-cells = <2>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/ti,cp-intc.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/ti,cp-intc.txt index 3aaa405a1c..597e8a089f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/ti,cp-intc.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/ti,cp-intc.txt @@ -1,27 +1,27 @@ -* TI Common Platform Interrupt Controller - -Common Platform Interrupt Controller (cp_intc) is used on -OMAP-L1x SoCs and can support several configurable number -of interrupts. - -Main node required properties: - -- compatible : should be: - "ti,cp-intc" -- interrupt-controller : Identifies the node as an interrupt controller -- #interrupt-cells : Specifies the number of cells needed to encode an - interrupt source. The type shall be a and the value shall be 1. - - The cell contains the interrupt number in the range [0-128]. -- ti,intc-size: Number of interrupts handled by the interrupt controller. -- reg: physical base address and size of the intc registers map. - -Example: - - intc: interrupt-controller@1 { - compatible = "ti,cp-intc"; - interrupt-controller; - #interrupt-cells = <1>; - ti,intc-size = <101>; - reg = <0xfffee000 0x2000>; - }; +* TI Common Platform Interrupt Controller + +Common Platform Interrupt Controller (cp_intc) is used on +OMAP-L1x SoCs and can support several configurable number +of interrupts. + +Main node required properties: + +- compatible : should be: + "ti,cp-intc" +- interrupt-controller : Identifies the node as an interrupt controller +- #interrupt-cells : Specifies the number of cells needed to encode an + interrupt source. The type shall be a and the value shall be 1. + + The cell contains the interrupt number in the range [0-128]. +- ti,intc-size: Number of interrupts handled by the interrupt controller. +- reg: physical base address and size of the intc registers map. + +Example: + + intc: interrupt-controller@1 { + compatible = "ti,cp-intc"; + interrupt-controller; + #interrupt-cells = <1>; + ti,intc-size = <101>; + reg = <0xfffee000 0x2000>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/ti,omap-intc-irq.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/ti,omap-intc-irq.txt index 280d1eb22b..38ce5d0377 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/ti,omap-intc-irq.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/ti,omap-intc-irq.txt @@ -1,28 +1,28 @@ -Omap2/3 intc controller - -On TI omap2 and 3 the intc interrupt controller can provide -96 or 128 IRQ signals to the ARM host depending on the SoC. - -Required Properties: -- compatible: should be one of - "ti,omap2-intc" - "ti,omap3-intc" - "ti,dm814-intc" - "ti,dm816-intc" - "ti,am33xx-intc" - -- interrupt-controller : Identifies the node as an interrupt controller -- #interrupt-cells : Specifies the number of cells needed to encode interrupt - source, should be 1 for intc -- interrupts: interrupt reference to primary interrupt controller - -Please refer to interrupts.txt in this directory for details of the common -Interrupt Controllers bindings used by client devices. - -Example: - intc: interrupt-controller@48200000 { - compatible = "ti,omap3-intc"; - interrupt-controller; - #interrupt-cells = <1>; - reg = <0x48200000 0x1000>; - }; +Omap2/3 intc controller + +On TI omap2 and 3 the intc interrupt controller can provide +96 or 128 IRQ signals to the ARM host depending on the SoC. + +Required Properties: +- compatible: should be one of + "ti,omap2-intc" + "ti,omap3-intc" + "ti,dm814-intc" + "ti,dm816-intc" + "ti,am33xx-intc" + +- interrupt-controller : Identifies the node as an interrupt controller +- #interrupt-cells : Specifies the number of cells needed to encode interrupt + source, should be 1 for intc +- interrupts: interrupt reference to primary interrupt controller + +Please refer to interrupts.txt in this directory for details of the common +Interrupt Controllers bindings used by client devices. + +Example: + intc: interrupt-controller@48200000 { + compatible = "ti,omap3-intc"; + interrupt-controller; + #interrupt-cells = <1>; + reg = <0x48200000 0x1000>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/ti,omap2-intc.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/ti,omap2-intc.txt index af14334d0b..f2583e6ec0 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/ti,omap2-intc.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/ti,omap2-intc.txt @@ -1,27 +1,27 @@ -* OMAP Interrupt Controller - -OMAP2/3 are using a TI interrupt controller that can support several -configurable number of interrupts. - -Main node required properties: - -- compatible : should be: - "ti,omap2-intc" -- interrupt-controller : Identifies the node as an interrupt controller -- #interrupt-cells : Specifies the number of cells needed to encode an - interrupt source. The type shall be a and the value shall be 1. - - The cell contains the interrupt number in the range [0-128]. -- ti,intc-size: Number of interrupts handled by the interrupt controller. -- reg: physical base address and size of the intc registers map. - -Example: - - intc: interrupt-controller@1 { - compatible = "ti,omap2-intc"; - interrupt-controller; - #interrupt-cells = <1>; - ti,intc-size = <96>; - reg = <0x48200000 0x1000>; - }; - +* OMAP Interrupt Controller + +OMAP2/3 are using a TI interrupt controller that can support several +configurable number of interrupts. + +Main node required properties: + +- compatible : should be: + "ti,omap2-intc" +- interrupt-controller : Identifies the node as an interrupt controller +- #interrupt-cells : Specifies the number of cells needed to encode an + interrupt source. The type shall be a and the value shall be 1. + + The cell contains the interrupt number in the range [0-128]. +- ti,intc-size: Number of interrupts handled by the interrupt controller. +- reg: physical base address and size of the intc registers map. + +Example: + + intc: interrupt-controller@1 { + compatible = "ti,omap2-intc"; + interrupt-controller; + #interrupt-cells = <1>; + ti,intc-size = <96>; + reg = <0x48200000 0x1000>; + }; + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iommu/nvidia,tegra30-smmu.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iommu/nvidia,tegra30-smmu.txt index f26849d64e..89fb5434b7 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iommu/nvidia,tegra30-smmu.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iommu/nvidia,tegra30-smmu.txt @@ -1,21 +1,21 @@ -NVIDIA Tegra 30 IOMMU H/W, SMMU (System Memory Management Unit) - -Required properties: -- compatible : "nvidia,tegra30-smmu" -- reg : Should contain 3 register banks(address and length) for each - of the SMMU register blocks. -- interrupts : Should contain MC General interrupt. -- nvidia,#asids : # of ASIDs -- dma-window : IOVA start address and length. -- nvidia,ahb : phandle to the ahb bus connected to SMMU. - -Example: - smmu { - compatible = "nvidia,tegra30-smmu"; - reg = <0x7000f010 0x02c - 0x7000f1f0 0x010 - 0x7000f228 0x05c>; - nvidia,#asids = <4>; /* # of ASIDs */ - dma-window = <0 0x40000000>; /* IOVA start & length */ - nvidia,ahb = <&ahb>; - }; +NVIDIA Tegra 30 IOMMU H/W, SMMU (System Memory Management Unit) + +Required properties: +- compatible : "nvidia,tegra30-smmu" +- reg : Should contain 3 register banks(address and length) for each + of the SMMU register blocks. +- interrupts : Should contain MC General interrupt. +- nvidia,#asids : # of ASIDs +- dma-window : IOVA start address and length. +- nvidia,ahb : phandle to the ahb bus connected to SMMU. + +Example: + smmu { + compatible = "nvidia,tegra30-smmu"; + reg = <0x7000f010 0x02c + 0x7000f1f0 0x010 + 0x7000f228 0x05c>; + nvidia,#asids = <4>; /* # of ASIDs */ + dma-window = <0 0x40000000>; /* IOVA start & length */ + nvidia,ahb = <&ahb>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ipmi/aspeed,ast2400-ibt-bmc.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ipmi/aspeed,ast2400-ibt-bmc.txt index 04ee08bbce..25f86da804 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ipmi/aspeed,ast2400-ibt-bmc.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ipmi/aspeed,ast2400-ibt-bmc.txt @@ -1,28 +1,28 @@ -* Aspeed BT (Block Transfer) IPMI interface - -The Aspeed SOCs (AST2400 and AST2500) are commonly used as BMCs -(BaseBoard Management Controllers) and the BT interface can be used to -perform in-band IPMI communication with their host. - -Required properties: - -- compatible : should be one of - "aspeed,ast2400-ibt-bmc" - "aspeed,ast2500-ibt-bmc" - "aspeed,ast2600-ibt-bmc" -- reg: physical address and size of the registers -- clocks: clock for the device - -Optional properties: - -- interrupts: interrupt generated by the BT interface. without an - interrupt, the driver will operate in poll mode. - -Example: - - ibt@1e789140 { - compatible = "aspeed,ast2400-ibt-bmc"; - reg = <0x1e789140 0x18>; - interrupts = <8>; - clocks = <&syscon ASPEED_CLK_GATE_LCLK>; - }; +* Aspeed BT (Block Transfer) IPMI interface + +The Aspeed SOCs (AST2400 and AST2500) are commonly used as BMCs +(BaseBoard Management Controllers) and the BT interface can be used to +perform in-band IPMI communication with their host. + +Required properties: + +- compatible : should be one of + "aspeed,ast2400-ibt-bmc" + "aspeed,ast2500-ibt-bmc" + "aspeed,ast2600-ibt-bmc" +- reg: physical address and size of the registers +- clocks: clock for the device + +Optional properties: + +- interrupts: interrupt generated by the BT interface. without an + interrupt, the driver will operate in poll mode. + +Example: + + ibt@1e789140 { + compatible = "aspeed,ast2400-ibt-bmc"; + reg = <0x1e789140 0x18>; + interrupts = <8>; + clocks = <&syscon ASPEED_CLK_GATE_LCLK>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ipmi/ssif-bmc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ipmi/ssif-bmc.yaml index 6971e68f54..02b662d780 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ipmi/ssif-bmc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ipmi/ssif-bmc.yaml @@ -1,38 +1,38 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/ipmi/ssif-bmc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: SSIF IPMI BMC interface - -description: SSIF IPMI BMC device bindings - -maintainers: - - Quan Nguyen - -properties: - compatible: - enum: - - ssif-bmc - - reg: - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - ssif-bmc@10 { - compatible = "ssif-bmc"; - reg = <0x10>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/ipmi/ssif-bmc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: SSIF IPMI BMC interface + +description: SSIF IPMI BMC device bindings + +maintainers: + - Quan Nguyen + +properties: + compatible: + enum: + - ssif-bmc + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + ssif-bmc@10 { + compatible = "ssif-bmc"; + reg = <0x10>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/backlight/gpio-backlight.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/backlight/gpio-backlight.yaml index c10c718080..584030b6b0 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/backlight/gpio-backlight.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/backlight/gpio-backlight.yaml @@ -1,41 +1,41 @@ -# SPDX-License-Identifier: GPL-2.0-only -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/leds/backlight/gpio-backlight.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: gpio-backlight - -maintainers: - - Lee Jones - - Daniel Thompson - - Jingoo Han - -properties: - compatible: - const: gpio-backlight - - gpios: - description: The gpio that is used for enabling/disabling the backlight. - maxItems: 1 - - default-on: - description: enable the backlight at boot. - type: boolean - -required: - - compatible - - gpios - -additionalProperties: false - -examples: - - | - #include - backlight { - compatible = "gpio-backlight"; - gpios = <&gpio3 4 GPIO_ACTIVE_HIGH>; - default-on; - }; - -... +# SPDX-License-Identifier: GPL-2.0-only +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/leds/backlight/gpio-backlight.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: gpio-backlight + +maintainers: + - Lee Jones + - Daniel Thompson + - Jingoo Han + +properties: + compatible: + const: gpio-backlight + + gpios: + description: The gpio that is used for enabling/disabling the backlight. + maxItems: 1 + + default-on: + description: enable the backlight at boot. + type: boolean + +required: + - compatible + - gpios + +additionalProperties: false + +examples: + - | + #include + backlight { + compatible = "gpio-backlight"; + gpios = <&gpio3 4 GPIO_ACTIVE_HIGH>; + default-on; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/backlight/sky81452-backlight.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/backlight/sky81452-backlight.txt index 00904939e5..8bf2940f54 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/backlight/sky81452-backlight.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/backlight/sky81452-backlight.txt @@ -1,29 +1,29 @@ -SKY81452-backlight bindings - -Required properties: -- compatible : Must be "skyworks,sky81452-backlight" - -Optional properties: -- name : Name of backlight device. Default is 'lcd-backlight'. -- gpios : GPIO to use to EN pin. - See Documentation/devicetree/bindings/gpio/gpio.txt -- led-sources : List of enabled channels from 0 to 5. - See Documentation/devicetree/bindings/leds/common.txt -- skyworks,ignore-pwm : Ignore both PWM input -- skyworks,dpwm-mode : Enable DPWM dimming mode, otherwise Analog dimming. -- skyworks,phase-shift : Enable phase shift mode -- skyworks,short-detection-threshold-volt - : It should be one of 4, 5, 6 and 7V. -- skyworks,current-limit-mA - : It should be 2300mA or 2750mA. - -Example: - - backlight { - compatible = "skyworks,sky81452-backlight"; - name = "pwm-backlight"; - led-sources = <0 1 2 5>; - skyworks,ignore-pwm; - skyworks,phase-shift; - skyworks,current-limit-mA = <2300>; - }; +SKY81452-backlight bindings + +Required properties: +- compatible : Must be "skyworks,sky81452-backlight" + +Optional properties: +- name : Name of backlight device. Default is 'lcd-backlight'. +- gpios : GPIO to use to EN pin. + See Documentation/devicetree/bindings/gpio/gpio.txt +- led-sources : List of enabled channels from 0 to 5. + See Documentation/devicetree/bindings/leds/common.txt +- skyworks,ignore-pwm : Ignore both PWM input +- skyworks,dpwm-mode : Enable DPWM dimming mode, otherwise Analog dimming. +- skyworks,phase-shift : Enable phase shift mode +- skyworks,short-detection-threshold-volt + : It should be one of 4, 5, 6 and 7V. +- skyworks,current-limit-mA + : It should be 2300mA or 2750mA. + +Example: + + backlight { + compatible = "skyworks,sky81452-backlight"; + name = "pwm-backlight"; + led-sources = <0 1 2 5>; + skyworks,ignore-pwm; + skyworks,phase-shift; + skyworks,current-limit-mA = <2300>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/backlight/tps65217-backlight.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/backlight/tps65217-backlight.txt index 7d3e74a773..5fb9279ac2 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/backlight/tps65217-backlight.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/backlight/tps65217-backlight.txt @@ -1,27 +1,27 @@ -TPS65217 family of regulators - -The TPS65217 chip contains a boost converter and current sinks which can be -used to drive LEDs for use as backlights. - -Required properties: -- compatible: "ti,tps65217" -- reg: I2C slave address -- backlight: node for specifying WLED1 and WLED2 lines in TPS65217 -- isel: selection bit, valid values: 1 for ISEL1 (low-level) and 2 for ISEL2 (high-level) -- fdim: PWM dimming frequency, valid values: 100, 200, 500, 1000 -- default-brightness: valid values: 0-100 - -Each regulator is defined using the standard binding for regulators. - -Example: - - tps: tps@24 { - reg = <0x24>; - compatible = "ti,tps65217"; - backlight { - isel = <1>; /* 1 - ISET1, 2 ISET2 */ - fdim = <100>; /* TPS65217_BL_FDIM_100HZ */ - default-brightness = <50>; - }; - }; - +TPS65217 family of regulators + +The TPS65217 chip contains a boost converter and current sinks which can be +used to drive LEDs for use as backlights. + +Required properties: +- compatible: "ti,tps65217" +- reg: I2C slave address +- backlight: node for specifying WLED1 and WLED2 lines in TPS65217 +- isel: selection bit, valid values: 1 for ISEL1 (low-level) and 2 for ISEL2 (high-level) +- fdim: PWM dimming frequency, valid values: 100, 200, 500, 1000 +- default-brightness: valid values: 0-100 + +Each regulator is defined using the standard binding for regulators. + +Example: + + tps: tps@24 { + reg = <0x24>; + compatible = "ti,tps65217"; + backlight { + isel = <1>; /* 1 - ISET1, 2 ISET2 */ + fdim = <100>; /* TPS65217_BL_FDIM_100HZ */ + default-brightness = <50>; + }; + }; + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/irled/gpio-ir-tx.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/irled/gpio-ir-tx.yaml index df8a90cecc..5839d00c70 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/irled/gpio-ir-tx.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/irled/gpio-ir-tx.yaml @@ -1,36 +1,36 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/leds/irled/gpio-ir-tx.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: IR LED connected through GPIO pin - -maintainers: - - Sean Young - -description: - IR LED connected through GPIO pin which is used as remote controller - transmitter. - -properties: - compatible: - const: gpio-ir-tx - - gpios: - maxItems: 1 - -required: - - compatible - - gpios - -additionalProperties: false - -examples: - - | - #include - - irled { - compatible = "gpio-ir-tx"; - gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/leds/irled/gpio-ir-tx.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: IR LED connected through GPIO pin + +maintainers: + - Sean Young + +description: + IR LED connected through GPIO pin which is used as remote controller + transmitter. + +properties: + compatible: + const: gpio-ir-tx + + gpios: + maxItems: 1 + +required: + - compatible + - gpios + +additionalProperties: false + +examples: + - | + #include + + irled { + compatible = "gpio-ir-tx"; + gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/irled/pwm-ir-tx.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/irled/pwm-ir-tx.yaml index e78ff2dbc1..7526e3149f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/irled/pwm-ir-tx.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/irled/pwm-ir-tx.yaml @@ -1,37 +1,37 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/leds/irled/pwm-ir-tx.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: IR LED connected through PWM pin - -maintainers: - - Sean Young - -description: - IR LED connected through PWM pin which is used as remote controller - transmitter. - -properties: - compatible: - oneOf: - - const: pwm-ir-tx - - const: nokia,n900-ir - deprecated: true - - pwms: - maxItems: 1 - -required: - - compatible - - pwms - -additionalProperties: false - -examples: - - | - irled { - compatible = "pwm-ir-tx"; - pwms = <&pwm0 0 10000000>; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/leds/irled/pwm-ir-tx.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: IR LED connected through PWM pin + +maintainers: + - Sean Young + +description: + IR LED connected through PWM pin which is used as remote controller + transmitter. + +properties: + compatible: + oneOf: + - const: pwm-ir-tx + - const: nokia,n900-ir + deprecated: true + + pwms: + maxItems: 1 + +required: + - compatible + - pwms + +additionalProperties: false + +examples: + - | + irled { + compatible = "pwm-ir-tx"; + pwms = <&pwm0 0 10000000>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/leds-cpcap.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/leds-cpcap.txt index 14bb4796e5..ebf7cdc7f7 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/leds-cpcap.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/leds-cpcap.txt @@ -1,29 +1,29 @@ -Motorola CPCAP PMIC LEDs ------------------------- - -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 be one of - * "motorola,cpcap-led-mdl" (Main Display Lighting) - * "motorola,cpcap-led-kl" (Keyboard Lighting) - * "motorola,cpcap-led-adl" (Aux Display Lighting) - * "motorola,cpcap-led-red" (Red Triode) - * "motorola,cpcap-led-green" (Green Triode) - * "motorola,cpcap-led-blue" (Blue Triode) - * "motorola,cpcap-led-cf" (Camera Flash) - * "motorola,cpcap-led-bt" (Bluetooth) - * "motorola,cpcap-led-cp" (Camera Privacy LED) -- label: see Documentation/devicetree/bindings/leds/common.txt -- vdd-supply: A phandle to the regulator powering the LED - -Example: - -&cpcap { - cpcap_led_red: red-led { - compatible = "motorola,cpcap-led-red"; - label = "cpcap:red"; - vdd-supply = <&sw5>; - }; -}; +Motorola CPCAP PMIC LEDs +------------------------ + +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 be one of + * "motorola,cpcap-led-mdl" (Main Display Lighting) + * "motorola,cpcap-led-kl" (Keyboard Lighting) + * "motorola,cpcap-led-adl" (Aux Display Lighting) + * "motorola,cpcap-led-red" (Red Triode) + * "motorola,cpcap-led-green" (Green Triode) + * "motorola,cpcap-led-blue" (Blue Triode) + * "motorola,cpcap-led-cf" (Camera Flash) + * "motorola,cpcap-led-bt" (Bluetooth) + * "motorola,cpcap-led-cp" (Camera Privacy LED) +- label: see Documentation/devicetree/bindings/leds/common.txt +- vdd-supply: A phandle to the regulator powering the LED + +Example: + +&cpcap { + cpcap_led_red: red-led { + compatible = "motorola,cpcap-led-red"; + label = "cpcap:red"; + vdd-supply = <&sw5>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/leds-tlc591xx.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/leds-tlc591xx.txt index d7d78c94c5..3bbbf70244 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/leds-tlc591xx.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/leds-tlc591xx.txt @@ -1,40 +1,40 @@ -LEDs connected to tlc59116 or tlc59108 - -Required properties -- compatible: should be "ti,tlc59116" or "ti,tlc59108" -- #address-cells: must be 1 -- #size-cells: must be 0 -- reg: typically 0x68 - -Each led is represented as a sub-node of the ti,tlc59116. -See Documentation/devicetree/bindings/leds/common.txt - -LED sub-node properties: -- reg: number of LED line, 0 to 15 or 0 to 7 -- label: (optional) name of LED -- linux,default-trigger : (optional) - -Examples: - -tlc59116@68 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "ti,tlc59116"; - reg = <0x68>; - - wan@0 { - label = "wrt1900ac:amber:wan"; - reg = <0x0>; - }; - - 2g@2 { - label = "wrt1900ac:white:2g"; - reg = <0x2>; - }; - - alive@9 { - label = "wrt1900ac:green:alive"; - reg = <0x9>; - linux,default_trigger = "heartbeat"; - }; -}; +LEDs connected to tlc59116 or tlc59108 + +Required properties +- compatible: should be "ti,tlc59116" or "ti,tlc59108" +- #address-cells: must be 1 +- #size-cells: must be 0 +- reg: typically 0x68 + +Each led is represented as a sub-node of the ti,tlc59116. +See Documentation/devicetree/bindings/leds/common.txt + +LED sub-node properties: +- reg: number of LED line, 0 to 15 or 0 to 7 +- label: (optional) name of LED +- linux,default-trigger : (optional) + +Examples: + +tlc59116@68 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "ti,tlc59116"; + reg = <0x68>; + + wan@0 { + label = "wrt1900ac:amber:wan"; + reg = <0x0>; + }; + + 2g@2 { + label = "wrt1900ac:white:2g"; + reg = <0x2>; + }; + + alive@9 { + label = "wrt1900ac:green:alive"; + reg = <0x9>; + linux,default_trigger = "heartbeat"; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/mediatek,mt6370-flashlight.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/mediatek,mt6370-flashlight.yaml index 55f2dcfef9..e9d02ed6a5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/mediatek,mt6370-flashlight.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/mediatek,mt6370-flashlight.yaml @@ -1,41 +1,41 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/leds/mediatek,mt6370-flashlight.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Flash LED driver for MT6370 PMIC from MediaTek Integrated. - -maintainers: - - Alice Chen - -description: | - This module is part of the MT6370 MFD device. - Add MT6370 flash LED driver include 2-channel flash LED support Torch/Strobe Mode. - -properties: - compatible: - const: mediatek,mt6370-flashlight - - "#address-cells": - const: 1 - - "#size-cells": - const: 0 - -patternProperties: - "^led@[0-1]$": - type: object - $ref: common.yaml# - unevaluatedProperties: false - - properties: - reg: - enum: [0, 1] - -required: - - compatible - - "#address-cells" - - "#size-cells" - -additionalProperties: false +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/leds/mediatek,mt6370-flashlight.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Flash LED driver for MT6370 PMIC from MediaTek Integrated. + +maintainers: + - Alice Chen + +description: | + This module is part of the MT6370 MFD device. + Add MT6370 flash LED driver include 2-channel flash LED support Torch/Strobe Mode. + +properties: + compatible: + const: mediatek,mt6370-flashlight + + "#address-cells": + const: 1 + + "#size-cells": + const: 0 + +patternProperties: + "^led@[0-1]$": + type: object + $ref: common.yaml# + unevaluatedProperties: false + + properties: + reg: + enum: [0, 1] + +required: + - compatible + - "#address-cells" + - "#size-cells" + +additionalProperties: false diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/trigger-source.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/trigger-source.yaml index d3adea0c11..89a1cde2b8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/trigger-source.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/trigger-source.yaml @@ -1,26 +1,26 @@ -# SPDX-License-Identifier: GPL-2.0-only -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/leds/trigger-source.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Trigger source providers - -maintainers: - - Jacek Anaszewski - - Pavel Machek - -description: - Each trigger source provider should be represented by a device tree node. It - may be e.g. a USB port or an Ethernet device. - -properties: - '#trigger-source-cells': - description: - Number of cells in a source trigger. Typically 0 for nodes of simple - trigger sources (e.g. a specific USB port). - enum: [ 0, 1 ] - -additionalProperties: true - -... +# SPDX-License-Identifier: GPL-2.0-only +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/leds/trigger-source.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Trigger source providers + +maintainers: + - Jacek Anaszewski + - Pavel Machek + +description: + Each trigger source provider should be represented by a device tree node. It + may be e.g. a USB port or an Ethernet device. + +properties: + '#trigger-source-cells': + description: + Number of cells in a source trigger. Typically 0 for nodes of simple + trigger sources (e.g. a specific USB port). + enum: [ 0, 1 ] + +additionalProperties: true + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/loongarch/loongson.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/loongarch/loongson.yaml index ff79a7717e..e1a4a97b75 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/loongarch/loongson.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/loongarch/loongson.yaml @@ -1,34 +1,34 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/loongarch/loongson.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Loongson SoC-based boards - -maintainers: - - Binbin Zhou - -properties: - $nodename: - const: '/' - compatible: - oneOf: - - description: Loongson-2K0500 processor based boards - items: - - const: loongson,ls2k0500-ref - - const: loongson,ls2k0500 - - - description: Loongson-2K1000 processor based boards - items: - - const: loongson,ls2k1000-ref - - const: loongson,ls2k1000 - - - description: Loongson-2K2000 processor based boards - items: - - const: loongson,ls2k2000-ref - - const: loongson,ls2k2000 - -additionalProperties: true - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/loongarch/loongson.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Loongson SoC-based boards + +maintainers: + - Binbin Zhou + +properties: + $nodename: + const: '/' + compatible: + oneOf: + - description: Loongson-2K0500 processor based boards + items: + - const: loongson,ls2k0500-ref + - const: loongson,ls2k0500 + + - description: Loongson-2K1000 processor based boards + items: + - const: loongson,ls2k1000-ref + - const: loongson,ls2k1000 + + - description: Loongson-2K2000 processor based boards + items: + - const: loongson,ls2k2000-ref + - const: loongson,ls2k2000 + +additionalProperties: true + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mailbox/brcm,bcm2835-mbox.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mailbox/brcm,bcm2835-mbox.yaml index cf399d15d4..9588817f45 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mailbox/brcm,bcm2835-mbox.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mailbox/brcm,bcm2835-mbox.yaml @@ -1,40 +1,40 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/mailbox/brcm,bcm2835-mbox.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Broadcom BCM2835 VideoCore mailbox IPC - -maintainers: - - Stefan Wahren - -properties: - compatible: - const: brcm,bcm2835-mbox - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - "#mbox-cells": - const: 0 - -required: - - compatible - - reg - - interrupts - - "#mbox-cells" - -additionalProperties: false - -examples: - - | - mailbox@7e00b880 { - compatible = "brcm,bcm2835-mbox"; - reg = <0x7e00b880 0x40>; - interrupts = <0 1>; - #mbox-cells = <0>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mailbox/brcm,bcm2835-mbox.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom BCM2835 VideoCore mailbox IPC + +maintainers: + - Stefan Wahren + +properties: + compatible: + const: brcm,bcm2835-mbox + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + "#mbox-cells": + const: 0 + +required: + - compatible + - reg + - interrupts + - "#mbox-cells" + +additionalProperties: false + +examples: + - | + mailbox@7e00b880 { + compatible = "brcm,bcm2835-mbox"; + reg = <0x7e00b880 0x40>; + interrupts = <0 1>; + #mbox-cells = <0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/amlogic,axg-ge2d.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/amlogic,axg-ge2d.yaml index 7e13d577dc..f23fa6d06a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/amlogic,axg-ge2d.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/amlogic,axg-ge2d.yaml @@ -1,47 +1,47 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -# Copyright 2020 BayLibre, SAS -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/media/amlogic,axg-ge2d.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Amlogic GE2D Acceleration Unit - -maintainers: - - Neil Armstrong - -properties: - compatible: - enum: - - amlogic,axg-ge2d - - interrupts: - minItems: 1 - - reg: - minItems: 1 - - resets: - maxItems: 1 - - clocks: - minItems: 1 - -required: - - compatible - - reg - - interrupts - - clocks - - resets - -additionalProperties: false - -examples: - - | - ge2d: ge2d@ff940000 { - compatible = "amlogic,axg-ge2d"; - reg = <0xff940000 0x10000>; - interrupts = <150>; - clocks = <&clk_ge2d>; - resets = <&reset_ge2d>; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +# Copyright 2020 BayLibre, SAS +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/media/amlogic,axg-ge2d.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Amlogic GE2D Acceleration Unit + +maintainers: + - Neil Armstrong + +properties: + compatible: + enum: + - amlogic,axg-ge2d + + interrupts: + minItems: 1 + + reg: + minItems: 1 + + resets: + maxItems: 1 + + clocks: + minItems: 1 + +required: + - compatible + - reg + - interrupts + - clocks + - resets + +additionalProperties: false + +examples: + - | + ge2d: ge2d@ff940000 { + compatible = "amlogic,axg-ge2d"; + reg = <0xff940000 0x10000>; + interrupts = <150>; + clocks = <&clk_ge2d>; + resets = <&reset_ge2d>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/cec/cec-common.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/cec/cec-common.yaml index e95aad2670..af6ee5f1c7 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/cec/cec-common.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/cec/cec-common.yaml @@ -1,28 +1,28 @@ -# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/media/cec/cec-common.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: HDMI CEC Adapters Common Properties - -maintainers: - - Hans Verkuil - -properties: - $nodename: - pattern: "^cec(@[0-9a-f]+|-[0-9]+)?$" - - hdmi-phandle: - $ref: /schemas/types.yaml#/definitions/phandle - description: - Phandle to the HDMI controller. - - needs-hpd: - type: boolean - description: - The CEC support is only available when the HPD is high. Some boards only - let the CEC pin through if the HPD is high, for example if there is a - level converter that uses the HPD to power up or down. - -additionalProperties: true +# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/media/cec/cec-common.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: HDMI CEC Adapters Common Properties + +maintainers: + - Hans Verkuil + +properties: + $nodename: + pattern: "^cec(@[0-9a-f]+|-[0-9]+)?$" + + hdmi-phandle: + $ref: /schemas/types.yaml#/definitions/phandle + description: + Phandle to the HDMI controller. + + needs-hpd: + type: boolean + description: + The CEC support is only available when the HPD is high. Some boards only + let the CEC pin through if the HPD is high, for example if there is a + level converter that uses the HPD to power up or down. + +additionalProperties: true diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/fsl-vdoa.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/fsl-vdoa.txt index 87a3c46c35..6c5628530b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/fsl-vdoa.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/fsl-vdoa.txt @@ -1,21 +1,21 @@ -Freescale Video Data Order Adapter -================================== - -The Video Data Order Adapter (VDOA) is present on the i.MX6q. Its sole purpose -is to reorder video data from the macroblock tiled order produced by the CODA -960 VPU to the conventional raster-scan order for scanout. - -Required properties: -- compatible: must be "fsl,imx6q-vdoa" -- reg: the register base and size for the device registers -- interrupts: the VDOA interrupt -- clocks: the vdoa clock - -Example: - -vdoa@21e4000 { - compatible = "fsl,imx6q-vdoa"; - reg = <0x021e4000 0x4000>; - interrupts = <0 18 IRQ_TYPE_LEVEL_HIGH>; - clocks = <&clks IMX6QDL_CLK_VDOA>; -}; +Freescale Video Data Order Adapter +================================== + +The Video Data Order Adapter (VDOA) is present on the i.MX6q. Its sole purpose +is to reorder video data from the macroblock tiled order produced by the CODA +960 VPU to the conventional raster-scan order for scanout. + +Required properties: +- compatible: must be "fsl,imx6q-vdoa" +- reg: the register base and size for the device registers +- interrupts: the VDOA interrupt +- clocks: the vdoa clock + +Example: + +vdoa@21e4000 { + compatible = "fsl,imx6q-vdoa"; + reg = <0x021e4000 0x4000>; + interrupts = <0 18 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&clks IMX6QDL_CLK_VDOA>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/gpio-ir-receiver.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/gpio-ir-receiver.yaml index 72c18c75a0..008c007ed7 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/gpio-ir-receiver.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/gpio-ir-receiver.yaml @@ -1,43 +1,43 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/media/gpio-ir-receiver.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: GPIO Based IR receiver - -maintainers: - - Sebastian Hesselbarth - -allOf: - - $ref: rc.yaml# - -properties: - compatible: - const: gpio-ir-receiver - - gpios: - maxItems: 1 - - linux,autosuspend-period: - description: autosuspend delay time in milliseconds - $ref: /schemas/types.yaml#/definitions/uint32 - - wakeup-source: - description: IR receiver can wake-up the system. - -required: - - compatible - - gpios - -unevaluatedProperties: false - -examples: - - | - ir-receiver { - compatible = "gpio-ir-receiver"; - gpios = <&gpio0 19 1>; - linux,rc-map-name = "rc-rc6-mce"; - linux,autosuspend-period = <125>; - }; -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/media/gpio-ir-receiver.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: GPIO Based IR receiver + +maintainers: + - Sebastian Hesselbarth + +allOf: + - $ref: rc.yaml# + +properties: + compatible: + const: gpio-ir-receiver + + gpios: + maxItems: 1 + + linux,autosuspend-period: + description: autosuspend delay time in milliseconds + $ref: /schemas/types.yaml#/definitions/uint32 + + wakeup-source: + description: IR receiver can wake-up the system. + +required: + - compatible + - gpios + +unevaluatedProperties: false + +examples: + - | + ir-receiver { + compatible = "gpio-ir-receiver"; + gpios = <&gpio0 19 1>; + linux,rc-map-name = "rc-rc6-mce"; + linux,autosuspend-period = <125>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/hix5hd2-ir.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/hix5hd2-ir.txt index 1aa018de6b..ca4cf77466 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/hix5hd2-ir.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/hix5hd2-ir.txt @@ -1,26 +1,26 @@ -Device-Tree bindings for hix5hd2 ir IP - -Required properties: - - compatible: Should contain "hisilicon,hix5hd2-ir", or: - - "hisilicon,hi3796cv300-ir" for Hi3796CV300 IR device. - - reg: Base physical address of the controller and length of memory - mapped region. - - interrupts: interrupt-specifier for the sole interrupt generated by - the device. The interrupt specifier format depends on the interrupt - controller parent. - - clocks: clock phandle and specifier pair. - -Optional properties: - - linux,rc-map-name: see rc.txt file in the same directory. - - hisilicon,power-syscon: DEPRECATED. Don't use this in new dts files. - Provide correct clocks instead. - -Example node: - - ir: ir@f8001000 { - compatible = "hisilicon,hix5hd2-ir"; - reg = <0xf8001000 0x1000>; - interrupts = <0 47 4>; - clocks = <&clock HIX5HD2_IR_CLOCK>; - linux,rc-map-name = "rc-tivo"; - }; +Device-Tree bindings for hix5hd2 ir IP + +Required properties: + - compatible: Should contain "hisilicon,hix5hd2-ir", or: + - "hisilicon,hi3796cv300-ir" for Hi3796CV300 IR device. + - reg: Base physical address of the controller and length of memory + mapped region. + - interrupts: interrupt-specifier for the sole interrupt generated by + the device. The interrupt specifier format depends on the interrupt + controller parent. + - clocks: clock phandle and specifier pair. + +Optional properties: + - linux,rc-map-name: see rc.txt file in the same directory. + - hisilicon,power-syscon: DEPRECATED. Don't use this in new dts files. + Provide correct clocks instead. + +Example node: + + ir: ir@f8001000 { + compatible = "hisilicon,hix5hd2-ir"; + reg = <0xf8001000 0x1000>; + interrupts = <0 47 4>; + clocks = <&clock HIX5HD2_IR_CLOCK>; + linux,rc-map-name = "rc-tivo"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/i2c/dongwoon,dw9714.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/i2c/dongwoon,dw9714.yaml index 54a439005e..66229a3dc0 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/i2c/dongwoon,dw9714.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/i2c/dongwoon,dw9714.yaml @@ -1,47 +1,47 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/media/i2c/dongwoon,dw9714.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Dongwoon Anatech DW9714 camera voice coil lens driver - -maintainers: - - Krzysztof Kozlowski - -description: - DW9174 is a 10-bit DAC with current sink capability. It is intended for - driving voice coil lenses in camera modules. - -properties: - compatible: - const: dongwoon,dw9714 - - reg: - maxItems: 1 - - powerdown-gpios: - description: - XSD pin for shutdown (active low) - - vcc-supply: - description: VDD power supply - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - camera-lens@c { - compatible = "dongwoon,dw9714"; - reg = <0x0c>; - vcc-supply = <®_csi_1v8>; - }; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/media/i2c/dongwoon,dw9714.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Dongwoon Anatech DW9714 camera voice coil lens driver + +maintainers: + - Krzysztof Kozlowski + +description: + DW9174 is a 10-bit DAC with current sink capability. It is intended for + driving voice coil lenses in camera modules. + +properties: + compatible: + const: dongwoon,dw9714 + + reg: + maxItems: 1 + + powerdown-gpios: + description: + XSD pin for shutdown (active low) + + vcc-supply: + description: VDD power supply + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + camera-lens@c { + compatible = "dongwoon,dw9714"; + reg = <0x0c>; + vcc-supply = <®_csi_1v8>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/i2c/dongwoon,dw9807-vcm.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/i2c/dongwoon,dw9807-vcm.yaml index b0200c080c..aae246ca3f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/i2c/dongwoon,dw9807-vcm.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/i2c/dongwoon,dw9807-vcm.yaml @@ -1,41 +1,41 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -# Copyright (C) 2018, 2021 Intel Corporation -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/media/i2c/dongwoon,dw9807-vcm.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Dongwoon Anatech DW9807 voice coil lens driver - -maintainers: - - Sakari Ailus - -description: | - DW9807 is a 10-bit DAC with current sink capability. It is intended for - controlling voice coil lenses. - -properties: - compatible: - const: dongwoon,dw9807-vcm - - reg: - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - lens@e { - compatible = "dongwoon,dw9807-vcm"; - reg = <0x0e>; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +# Copyright (C) 2018, 2021 Intel Corporation +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/media/i2c/dongwoon,dw9807-vcm.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Dongwoon Anatech DW9807 voice coil lens driver + +maintainers: + - Sakari Ailus + +description: | + DW9807 is a 10-bit DAC with current sink capability. It is intended for + controlling voice coil lenses. + +properties: + compatible: + const: dongwoon,dw9807-vcm + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + lens@e { + compatible = "dongwoon,dw9807-vcm"; + reg = <0x0e>; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/i2c/ov9650.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/i2c/ov9650.txt index 5146756270..506dfc5287 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/i2c/ov9650.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/i2c/ov9650.txt @@ -1,36 +1,36 @@ -* Omnivision OV9650/OV9652 CMOS sensor - -Required Properties: -- compatible: shall be one of - "ovti,ov9650" - "ovti,ov9652" -- clocks: reference to the xvclk input clock. - -Optional Properties: -- reset-gpios: reference to the GPIO connected to the resetb pin, if any. - Active is high. -- powerdown-gpios: reference to the GPIO connected to the pwdn pin, if any. - Active is high. - -The device node shall contain one 'port' child node with one child 'endpoint' -subnode for its digital output video port, in accordance with the video -interface bindings defined in Documentation/devicetree/bindings/media/ -video-interfaces.txt. - -Example: - -&i2c0 { - ov9650: camera@30 { - compatible = "ovti,ov9650"; - reg = <0x30>; - reset-gpios = <&axi_gpio_0 0 GPIO_ACTIVE_HIGH>; - powerdown-gpios = <&axi_gpio_0 1 GPIO_ACTIVE_HIGH>; - clocks = <&xclk>; - - port { - ov9650_0: endpoint { - remote-endpoint = <&vcap1_in0>; - }; - }; - }; -}; +* Omnivision OV9650/OV9652 CMOS sensor + +Required Properties: +- compatible: shall be one of + "ovti,ov9650" + "ovti,ov9652" +- clocks: reference to the xvclk input clock. + +Optional Properties: +- reset-gpios: reference to the GPIO connected to the resetb pin, if any. + Active is high. +- powerdown-gpios: reference to the GPIO connected to the pwdn pin, if any. + Active is high. + +The device node shall contain one 'port' child node with one child 'endpoint' +subnode for its digital output video port, in accordance with the video +interface bindings defined in Documentation/devicetree/bindings/media/ +video-interfaces.txt. + +Example: + +&i2c0 { + ov9650: camera@30 { + compatible = "ovti,ov9650"; + reg = <0x30>; + reset-gpios = <&axi_gpio_0 0 GPIO_ACTIVE_HIGH>; + powerdown-gpios = <&axi_gpio_0 1 GPIO_ACTIVE_HIGH>; + clocks = <&xclk>; + + port { + ov9650_0: endpoint { + remote-endpoint = <&vcap1_in0>; + }; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/nuvoton,npcm-ece.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/nuvoton,npcm-ece.yaml index 466c21cca9..b47468e545 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/nuvoton,npcm-ece.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/nuvoton,npcm-ece.yaml @@ -1,43 +1,43 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/media/nuvoton,npcm-ece.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Nuvoton NPCM Encoding Compression Engine - -maintainers: - - Joseph Liu - - Marvin Lin - -description: | - Video Encoding Compression Engine (ECE) present on Nuvoton NPCM SoCs. - -properties: - compatible: - enum: - - nuvoton,npcm750-ece - - nuvoton,npcm845-ece - - reg: - maxItems: 1 - - resets: - maxItems: 1 - -required: - - compatible - - reg - - resets - -additionalProperties: false - -examples: - - | - #include - - ece: video-codec@f0820000 { - compatible = "nuvoton,npcm750-ece"; - reg = <0xf0820000 0x2000>; - resets = <&rstc NPCM7XX_RESET_IPSRST2 NPCM7XX_RESET_ECE>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/media/nuvoton,npcm-ece.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Nuvoton NPCM Encoding Compression Engine + +maintainers: + - Joseph Liu + - Marvin Lin + +description: | + Video Encoding Compression Engine (ECE) present on Nuvoton NPCM SoCs. + +properties: + compatible: + enum: + - nuvoton,npcm750-ece + - nuvoton,npcm845-ece + + reg: + maxItems: 1 + + resets: + maxItems: 1 + +required: + - compatible + - reg + - resets + +additionalProperties: false + +examples: + - | + #include + + ece: video-codec@f0820000 { + compatible = "nuvoton,npcm750-ece"; + reg = <0xf0820000 0x2000>; + resets = <&rstc NPCM7XX_RESET_IPSRST2 NPCM7XX_RESET_ECE>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/st,st-hva.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/st,st-hva.txt index 104bdc104b..0d76174a1f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/st,st-hva.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/st,st-hva.txt @@ -1,24 +1,24 @@ -st-hva: multi-format video encoder for STMicroelectronics SoC. - -Required properties: -- compatible: should be "st,st-hva". -- reg: HVA physical address location and length, esram address location and - length. -- reg-names: names of the registers listed in registers property in the same - order. -- interrupts: HVA interrupt number. -- 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: - hva@8c85000{ - compatible = "st,st-hva"; - reg = <0x8c85000 0x400>, <0x6000000 0x40000>; - reg-names = "hva_registers", "hva_esram"; - interrupts = , - ; - clock-names = "clk_hva"; - clocks = <&clk_s_c0_flexgen CLK_HVA>; - }; +st-hva: multi-format video encoder for STMicroelectronics SoC. + +Required properties: +- compatible: should be "st,st-hva". +- reg: HVA physical address location and length, esram address location and + length. +- reg-names: names of the registers listed in registers property in the same + order. +- interrupts: HVA interrupt number. +- 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: + hva@8c85000{ + compatible = "st,st-hva"; + reg = <0x8c85000 0x400>, <0x6000000 0x40000>; + reg-names = "hva_registers", "hva_esram"; + interrupts = , + ; + clock-names = "clk_hva"; + clocks = <&clk_s_c0_flexgen CLK_HVA>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/st,stih4xx.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/st,stih4xx.txt index 018ce7b334..df655cd3a4 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/st,stih4xx.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/st,stih4xx.txt @@ -1,32 +1,32 @@ -STMicroelectronics stih4xx platforms - -bdisp: 2D blitter for STMicroelectronics SoC. - -Required properties: -- compatible: should be "st,stih407-bdisp". -- reg: BDISP physical address location and length. -- interrupts: BDISP interrupt number. -- clocks: from common clock binding: handle hardware IP needed clocks, the - number of clocks may depend on the SoC type. - See ../clocks/clock-bindings.txt for details. -- clock-names: names of the clocks listed in clocks property in the same order. - -Example: - - bdisp0:bdisp@9f10000 { - compatible = "st,stih407-bdisp"; - reg = <0x9f10000 0x1000>; - interrupts = ; - clock-names = "bdisp"; - clocks = <&clk_s_c0_flexgen CLK_IC_BDISP_0>; - }; - -Aliases: -Each BDISP should have a numbered alias in the aliases node, in the form of -bdispN, N = 0 or 1. - -Example: - - aliases { - bdisp0 = &bdisp0; - }; +STMicroelectronics stih4xx platforms + +bdisp: 2D blitter for STMicroelectronics SoC. + +Required properties: +- compatible: should be "st,stih407-bdisp". +- reg: BDISP physical address location and length. +- interrupts: BDISP interrupt number. +- clocks: from common clock binding: handle hardware IP needed clocks, the + number of clocks may depend on the SoC type. + See ../clocks/clock-bindings.txt for details. +- clock-names: names of the clocks listed in clocks property in the same order. + +Example: + + bdisp0:bdisp@9f10000 { + compatible = "st,stih407-bdisp"; + reg = <0x9f10000 0x1000>; + interrupts = ; + clock-names = "bdisp"; + clocks = <&clk_s_c0_flexgen CLK_IC_BDISP_0>; + }; + +Aliases: +Each BDISP should have a numbered alias in the aliases node, in the form of +bdispN, N = 0 or 1. + +Example: + + aliases { + bdisp0 = &bdisp0; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/xilinx/xlnx,v-tc.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/xilinx/xlnx,v-tc.txt index 6f032f3ad4..2aed3b4a6c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/xilinx/xlnx,v-tc.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/xilinx/xlnx,v-tc.txt @@ -1,33 +1,33 @@ -Xilinx Video Timing Controller (VTC) ------------------------------------- - -The Video Timing Controller is a general purpose video timing generator and -detector. - -Required properties: - - - compatible: Must be "xlnx,v-tc-6.1". - - - reg: Physical base address and length of the registers set for the device. - - - clocks: Must contain a clock specifier for the VTC core and timing - interfaces clock. - -Optional properties: - - - xlnx,detector: The VTC has a timing detector - - xlnx,generator: The VTC has a timing generator - - At least one of the xlnx,detector and xlnx,generator properties must be - specified. - - -Example: - - vtc: vtc@43c40000 { - compatible = "xlnx,v-tc-6.1"; - reg = <0x43c40000 0x10000>; - - clocks = <&clkc 15>; - xlnx,generator; - }; +Xilinx Video Timing Controller (VTC) +------------------------------------ + +The Video Timing Controller is a general purpose video timing generator and +detector. + +Required properties: + + - compatible: Must be "xlnx,v-tc-6.1". + + - reg: Physical base address and length of the registers set for the device. + + - clocks: Must contain a clock specifier for the VTC core and timing + interfaces clock. + +Optional properties: + + - xlnx,detector: The VTC has a timing detector + - xlnx,generator: The VTC has a timing generator + + At least one of the xlnx,detector and xlnx,generator properties must be + specified. + + +Example: + + vtc: vtc@43c40000 { + compatible = "xlnx,v-tc-6.1"; + reg = <0x43c40000 0x10000>; + + clocks = <&clkc 15>; + xlnx,generator; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/memory-controllers/calxeda-ddr-ctrlr.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/memory-controllers/calxeda-ddr-ctrlr.yaml index 1c9a3d6a84..e42aa48870 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/memory-controllers/calxeda-ddr-ctrlr.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/memory-controllers/calxeda-ddr-ctrlr.yaml @@ -1,42 +1,42 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/memory-controllers/calxeda-ddr-ctrlr.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Calxeda DDR memory controller - -description: | - The Calxeda DDR memory controller is initialised and programmed by the - firmware, but an OS might want to read its registers for error reporting - purposes and to learn about the DRAM topology. - -maintainers: - - Andre Przywara - -properties: - compatible: - enum: - - calxeda,hb-ddr-ctrl - - calxeda,ecx-2000-ddr-ctrl - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - -required: - - compatible - - reg - - interrupts - -additionalProperties: false - -examples: - - | - memory-controller@fff00000 { - compatible = "calxeda,hb-ddr-ctrl"; - reg = <0xfff00000 0x1000>; - interrupts = <0 91 4>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/memory-controllers/calxeda-ddr-ctrlr.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Calxeda DDR memory controller + +description: | + The Calxeda DDR memory controller is initialised and programmed by the + firmware, but an OS might want to read its registers for error reporting + purposes and to learn about the DRAM topology. + +maintainers: + - Andre Przywara + +properties: + compatible: + enum: + - calxeda,hb-ddr-ctrl + - calxeda,ecx-2000-ddr-ctrl + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + +additionalProperties: false + +examples: + - | + memory-controller@fff00000 { + compatible = "calxeda,hb-ddr-ctrl"; + reg = <0xfff00000 0x1000>; + interrupts = <0 91 4>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/memory-controllers/ddr/jedec,lpddr4.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/memory-controllers/ddr/jedec,lpddr4.yaml index 43c083b691..a078892fec 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/memory-controllers/ddr/jedec,lpddr4.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/memory-controllers/ddr/jedec,lpddr4.yaml @@ -1,35 +1,35 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/memory-controllers/ddr/jedec,lpddr4.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: LPDDR4 SDRAM compliant to JEDEC JESD209-4 - -maintainers: - - Krzysztof Kozlowski - -allOf: - - $ref: jedec,lpddr-props.yaml# - -properties: - compatible: - items: - - pattern: "^lpddr4-[0-9a-f]{2},[0-9a-f]{4}$" - - const: jedec,lpddr4 - -required: - - compatible - - density - - io-width - -unevaluatedProperties: false - -examples: - - | - lpddr { - compatible = "lpddr4-ff,0100", "jedec,lpddr4"; - density = <8192>; - io-width = <16>; - revision-id = <1 0>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/memory-controllers/ddr/jedec,lpddr4.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: LPDDR4 SDRAM compliant to JEDEC JESD209-4 + +maintainers: + - Krzysztof Kozlowski + +allOf: + - $ref: jedec,lpddr-props.yaml# + +properties: + compatible: + items: + - pattern: "^lpddr4-[0-9a-f]{2},[0-9a-f]{4}$" + - const: jedec,lpddr4 + +required: + - compatible + - density + - io-width + +unevaluatedProperties: false + +examples: + - | + lpddr { + compatible = "lpddr4-ff,0100", "jedec,lpddr4"; + density = <8192>; + io-width = <16>; + revision-id = <1 0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/memory-controllers/marvell,mvebu-sdram-controller.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/memory-controllers/marvell,mvebu-sdram-controller.yaml index e325ec079a..9249624c4f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/memory-controllers/marvell,mvebu-sdram-controller.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/memory-controllers/marvell,mvebu-sdram-controller.yaml @@ -1,31 +1,31 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/memory-controllers/marvell,mvebu-sdram-controller.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Marvell MVEBU SDRAM controller - -maintainers: - - Jan Luebbe - - Krzysztof Kozlowski - -properties: - compatible: - const: marvell,armada-xp-sdram-controller - - reg: - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - memory-controller@1400 { - compatible = "marvell,armada-xp-sdram-controller"; - reg = <0x1400 0x500>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/memory-controllers/marvell,mvebu-sdram-controller.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Marvell MVEBU SDRAM controller + +maintainers: + - Jan Luebbe + - Krzysztof Kozlowski + +properties: + compatible: + const: marvell,armada-xp-sdram-controller + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + memory-controller@1400 { + compatible = "marvell,armada-xp-sdram-controller"; + reg = <0x1400 0x500>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/memory-controllers/mediatek,mt7621-memc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/memory-controllers/mediatek,mt7621-memc.yaml index 10da5c013a..6ccdaf99c7 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/memory-controllers/mediatek,mt7621-memc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/memory-controllers/mediatek,mt7621-memc.yaml @@ -1,32 +1,32 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/memory-controllers/mediatek,mt7621-memc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: MT7621 SDRAM controller - -maintainers: - - Sergio Paracuellos - -properties: - compatible: - items: - - const: mediatek,mt7621-memc - - const: syscon - - reg: - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - memory-controller@5000 { - compatible = "mediatek,mt7621-memc", "syscon"; - reg = <0x5000 0x1000>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/memory-controllers/mediatek,mt7621-memc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: MT7621 SDRAM controller + +maintainers: + - Sergio Paracuellos + +properties: + compatible: + items: + - const: mediatek,mt7621-memc + - const: syscon + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + memory-controller@5000 { + compatible = "mediatek,mt7621-memc", "syscon"; + reg = <0x5000 0x1000>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/memory-controllers/samsung,s5pv210-dmc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/memory-controllers/samsung,s5pv210-dmc.yaml index a90a850d2d..c0e47055f2 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/memory-controllers/samsung,s5pv210-dmc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/memory-controllers/samsung,s5pv210-dmc.yaml @@ -1,33 +1,33 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/memory-controllers/samsung,s5pv210-dmc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Samsung S5Pv210 SoC Dynamic Memory Controller - -maintainers: - - Krzysztof Kozlowski - -description: - Dynamic Memory Controller interfaces external JEDEC DDR-type SDRAM. - -properties: - compatible: - const: samsung,s5pv210-dmc - - reg: - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - memory-controller@f0000000 { - compatible = "samsung,s5pv210-dmc"; - reg = <0xf0000000 0x1000>; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/memory-controllers/samsung,s5pv210-dmc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Samsung S5Pv210 SoC Dynamic Memory Controller + +maintainers: + - Krzysztof Kozlowski + +description: + Dynamic Memory Controller interfaces external JEDEC DDR-type SDRAM. + +properties: + compatible: + const: samsung,s5pv210-dmc + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + memory-controller@f0000000 { + compatible = "samsung,s5pv210-dmc"; + reg = <0xf0000000 0x1000>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/memory-controllers/ti,da8xx-ddrctl.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/memory-controllers/ti,da8xx-ddrctl.yaml index 5e18483e80..382ddab60f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/memory-controllers/ti,da8xx-ddrctl.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/memory-controllers/ti,da8xx-ddrctl.yaml @@ -1,35 +1,35 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/memory-controllers/ti,da8xx-ddrctl.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Texas Instruments da8xx DDR2/mDDR memory controller - -maintainers: - - Bartosz Golaszewski - - Krzysztof Kozlowski - -description: | - Documentation: - OMAP-L138 (DA850) - http://www.ti.com/lit/ug/spruh82c/spruh82c.pdf - -properties: - compatible: - const: ti,da850-ddr-controller - - reg: - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - memory-controller@b0000000 { - compatible = "ti,da850-ddr-controller"; - reg = <0xb0000000 0xe8>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/memory-controllers/ti,da8xx-ddrctl.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Texas Instruments da8xx DDR2/mDDR memory controller + +maintainers: + - Bartosz Golaszewski + - Krzysztof Kozlowski + +description: | + Documentation: + OMAP-L138 (DA850) - http://www.ti.com/lit/ug/spruh82c/spruh82c.pdf + +properties: + compatible: + const: ti,da850-ddr-controller + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + memory-controller@b0000000 { + compatible = "ti,da850-ddr-controller"; + reg = <0xb0000000 0xe8>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/memory-controllers/xlnx,zynq-ddrc-a05.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/memory-controllers/xlnx,zynq-ddrc-a05.yaml index b79420280a..b74ad9a330 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/memory-controllers/xlnx,zynq-ddrc-a05.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/memory-controllers/xlnx,zynq-ddrc-a05.yaml @@ -1,37 +1,37 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/memory-controllers/xlnx,zynq-ddrc-a05.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Zynq A05 DDR Memory Controller - -maintainers: - - Krzysztof Kozlowski - - Michal Simek - -description: - The Zynq DDR ECC controller has an optional ECC support in half-bus width - (16-bit) configuration. It is capable of correcting single bit ECC errors - and detecting double bit ECC errors. - -properties: - compatible: - const: xlnx,zynq-ddrc-a05 - - reg: - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - memory-controller@f8006000 { - compatible = "xlnx,zynq-ddrc-a05"; - reg = <0xf8006000 0x1000>; - }; -... +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/memory-controllers/xlnx,zynq-ddrc-a05.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Zynq A05 DDR Memory Controller + +maintainers: + - Krzysztof Kozlowski + - Michal Simek + +description: + The Zynq DDR ECC controller has an optional ECC support in half-bus width + (16-bit) configuration. It is capable of correcting single bit ECC errors + and detecting double bit ECC errors. + +properties: + compatible: + const: xlnx,zynq-ddrc-a05 + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + memory-controller@f8006000 { + compatible = "xlnx,zynq-ddrc-a05"; + reg = <0xf8006000 0x1000>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/ampere,smpro.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/ampere,smpro.yaml index ea187e38ab..c442c3cdff 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/ampere,smpro.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/ampere,smpro.yaml @@ -1,42 +1,42 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/mfd/ampere,smpro.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Ampere Altra SMPro firmware driver - -maintainers: - - Quan Nguyen - -description: | - Ampere Altra SMPro firmware may contain different blocks like hardware - monitoring, error monitoring and other miscellaneous features. - -properties: - compatible: - enum: - - ampere,smpro - - reg: - description: - I2C device address. - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - smpro@4f { - compatible = "ampere,smpro"; - reg = <0x4f>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mfd/ampere,smpro.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Ampere Altra SMPro firmware driver + +maintainers: + - Quan Nguyen + +description: | + Ampere Altra SMPro firmware may contain different blocks like hardware + monitoring, error monitoring and other miscellaneous features. + +properties: + compatible: + enum: + - ampere,smpro + + reg: + description: + I2C device address. + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + smpro@4f { + compatible = "ampere,smpro"; + reg = <0x4f>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/atmel-matrix.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/atmel-matrix.txt index fef6c696c8..6e5f83614e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/atmel-matrix.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/atmel-matrix.txt @@ -1,26 +1,26 @@ -* Device tree bindings for Atmel Bus Matrix - -The Bus Matrix registers are used to configure Atmel SoCs internal bus -behavior (master/slave priorities, undefined burst length type, ...) - -Required properties: -- compatible: Should be one of the following - "atmel,at91sam9260-matrix", "syscon" - "atmel,at91sam9261-matrix", "syscon" - "atmel,at91sam9263-matrix", "syscon" - "atmel,at91sam9rl-matrix", "syscon" - "atmel,at91sam9g45-matrix", "syscon" - "atmel,at91sam9n12-matrix", "syscon" - "atmel,at91sam9x5-matrix", "syscon" - "atmel,sama5d3-matrix", "syscon" - "microchip,sam9x60-matrix", "syscon" - "microchip,sam9x7-matrix", "atmel,at91sam9x5-matrix", "syscon" -- reg: Contains offset/length value of the Bus Matrix - memory region. - -Example: - -matrix: matrix@ffffec00 { - compatible = "atmel,sama5d3-matrix", "syscon"; - reg = <0xffffec00 0x200>; -}; +* Device tree bindings for Atmel Bus Matrix + +The Bus Matrix registers are used to configure Atmel SoCs internal bus +behavior (master/slave priorities, undefined burst length type, ...) + +Required properties: +- compatible: Should be one of the following + "atmel,at91sam9260-matrix", "syscon" + "atmel,at91sam9261-matrix", "syscon" + "atmel,at91sam9263-matrix", "syscon" + "atmel,at91sam9rl-matrix", "syscon" + "atmel,at91sam9g45-matrix", "syscon" + "atmel,at91sam9n12-matrix", "syscon" + "atmel,at91sam9x5-matrix", "syscon" + "atmel,sama5d3-matrix", "syscon" + "microchip,sam9x60-matrix", "syscon" + "microchip,sam9x7-matrix", "atmel,at91sam9x5-matrix", "syscon" +- reg: Contains offset/length value of the Bus Matrix + memory region. + +Example: + +matrix: matrix@ffffec00 { + compatible = "atmel,sama5d3-matrix", "syscon"; + reg = <0xffffec00 0x200>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/atmel-smc.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/atmel-smc.txt index 5bd358116d..fd62add38a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/atmel-smc.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/atmel-smc.txt @@ -1,22 +1,22 @@ -* Device tree bindings for Atmel SMC (Static Memory Controller) - -The SMC registers are used to configure Atmel EBI (External Bus Interface) -to interface with standard memory devices (NAND, NOR, SRAM or specialized -devices like FPGAs). - -Required properties: -- compatible: Should be one of the following - "atmel,at91sam9260-smc", "syscon" - "atmel,sama5d3-smc", "syscon" - "atmel,sama5d2-smc", "syscon" - "microchip,sam9x60-smc", "syscon" - "microchip,sam9x7-smc", "atmel,at91sam9260-smc", "syscon" -- reg: Contains offset/length value of the SMC memory - region. - -Example: - -smc: smc@ffffc000 { - compatible = "atmel,sama5d3-smc", "syscon"; - reg = <0xffffc000 0x1000>; -}; +* Device tree bindings for Atmel SMC (Static Memory Controller) + +The SMC registers are used to configure Atmel EBI (External Bus Interface) +to interface with standard memory devices (NAND, NOR, SRAM or specialized +devices like FPGAs). + +Required properties: +- compatible: Should be one of the following + "atmel,at91sam9260-smc", "syscon" + "atmel,sama5d3-smc", "syscon" + "atmel,sama5d2-smc", "syscon" + "microchip,sam9x60-smc", "syscon" + "microchip,sam9x7-smc", "atmel,at91sam9260-smc", "syscon" +- reg: Contains offset/length value of the SMC memory + region. + +Example: + +smc: smc@ffffc000 { + compatible = "atmel,sama5d3-smc", "syscon"; + reg = <0xffffc000 0x1000>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/bfticu.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/bfticu.txt index d865f2f550..538192fda9 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/bfticu.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/bfticu.txt @@ -1,24 +1,24 @@ -KEYMILE bfticu Chassis Management FPGA - -The bfticu is a multifunction device that manages the whole chassis. -Its main functionality is to collect IRQs from the whole chassis and signals -them to a single controller. - -Required properties: -- compatible: "keymile,bfticu" -- interrupt-controller: the bfticu FPGA is an interrupt controller -- interrupts: the main IRQ line to signal the collected IRQs -- #interrupt-cells : is 2 and their usage is compliant to the 2 cells variant - of Documentation/devicetree/bindings/interrupt-controller/interrupts.txt -- reg: access on the parent local bus (chip select, offset in chip select, size) - -Example: - - chassis-mgmt@3,0 { - compatible = "keymile,bfticu"; - interrupt-controller; - #interrupt-cells = <2>; - reg = <3 0 0x100>; - interrupt-parent = <&mpic>; - interrupts = <6 1 0 0>; - }; +KEYMILE bfticu Chassis Management FPGA + +The bfticu is a multifunction device that manages the whole chassis. +Its main functionality is to collect IRQs from the whole chassis and signals +them to a single controller. + +Required properties: +- compatible: "keymile,bfticu" +- interrupt-controller: the bfticu FPGA is an interrupt controller +- interrupts: the main IRQ line to signal the collected IRQs +- #interrupt-cells : is 2 and their usage is compliant to the 2 cells variant + of Documentation/devicetree/bindings/interrupt-controller/interrupts.txt +- reg: access on the parent local bus (chip select, offset in chip select, size) + +Example: + + chassis-mgmt@3,0 { + compatible = "keymile,bfticu"; + interrupt-controller; + #interrupt-cells = <2>; + reg = <3 0 0x100>; + interrupt-parent = <&mpic>; + interrupts = <6 1 0 0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/lp3943.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/lp3943.txt index 68044ae3aa..e8591d6b11 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/lp3943.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/lp3943.txt @@ -1,33 +1,33 @@ -TI/National Semiconductor LP3943 MFD driver - -Required properties: - - compatible: "ti,lp3943" - - reg: I2C slave address. From 0x60 to 0x67. - -LP3943 consists of two sub-devices, lp3943-gpio and lp3943-pwm. - -For the LP3943 GPIO properties please refer to: -Documentation/devicetree/bindings/gpio/gpio-lp3943.txt - -For the LP3943 PWM properties please refer to: -Documentation/devicetree/bindings/pwm/pwm-lp3943.txt - -Example: - -lp3943@60 { - compatible = "ti,lp3943"; - reg = <0x60>; - - gpioex: gpio { - compatible = "ti,lp3943-gpio"; - gpio-controller; - #gpio-cells = <2>; - }; - - pwm3943: pwm { - compatible = "ti,lp3943-pwm"; - #pwm-cells = <2>; - ti,pwm0 = <8 9 10>; - ti,pwm1 = <15>; - }; -}; +TI/National Semiconductor LP3943 MFD driver + +Required properties: + - compatible: "ti,lp3943" + - reg: I2C slave address. From 0x60 to 0x67. + +LP3943 consists of two sub-devices, lp3943-gpio and lp3943-pwm. + +For the LP3943 GPIO properties please refer to: +Documentation/devicetree/bindings/gpio/gpio-lp3943.txt + +For the LP3943 PWM properties please refer to: +Documentation/devicetree/bindings/pwm/pwm-lp3943.txt + +Example: + +lp3943@60 { + compatible = "ti,lp3943"; + reg = <0x60>; + + gpioex: gpio { + compatible = "ti,lp3943-gpio"; + gpio-controller; + #gpio-cells = <2>; + }; + + pwm3943: pwm { + compatible = "ti,lp3943-pwm"; + #pwm-cells = <2>; + ti,pwm0 = <8 9 10>; + ti,pwm1 = <15>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/omap-usb-tll.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/omap-usb-tll.txt index 5320b9689b..c58d70437f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/omap-usb-tll.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/omap-usb-tll.txt @@ -1,27 +1,27 @@ -OMAP HS USB Host TLL (Transceiver-Less Interface) - -Required properties: - -- compatible : should be "ti,usbhs-tll" -- reg : should contain one register range i.e. start and length -- interrupts : should contain the TLL module's interrupt -- ti,hwmod : must contain "usb_tll_hs" - -Optional properties: - -- clocks: a list of phandles and clock-specifier pairs, one for each entry in - clock-names. - -- clock-names: should include: - * "usb_tll_hs_usb_ch0_clk" - USB TLL channel 0 clock - * "usb_tll_hs_usb_ch1_clk" - USB TLL channel 1 clock - * "usb_tll_hs_usb_ch2_clk" - USB TLL channel 2 clock - -Example: - - usbhstll: usbhstll@4a062000 { - compatible = "ti,usbhs-tll"; - reg = <0x4a062000 0x1000>; - interrupts = <78>; - ti,hwmods = "usb_tll_hs"; - }; +OMAP HS USB Host TLL (Transceiver-Less Interface) + +Required properties: + +- compatible : should be "ti,usbhs-tll" +- reg : should contain one register range i.e. start and length +- interrupts : should contain the TLL module's interrupt +- ti,hwmod : must contain "usb_tll_hs" + +Optional properties: + +- clocks: a list of phandles and clock-specifier pairs, one for each entry in + clock-names. + +- clock-names: should include: + * "usb_tll_hs_usb_ch0_clk" - USB TLL channel 0 clock + * "usb_tll_hs_usb_ch1_clk" - USB TLL channel 1 clock + * "usb_tll_hs_usb_ch2_clk" - USB TLL channel 2 clock + +Example: + + usbhstll: usbhstll@4a062000 { + compatible = "ti,usbhs-tll"; + reg = <0x4a062000 0x1000>; + interrupts = <78>; + ti,hwmods = "usb_tll_hs"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/retu.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/retu.txt index c2805c1aed..df3005dd3e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/retu.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/retu.txt @@ -1,24 +1,24 @@ -* Device tree bindings for Nokia Retu and Tahvo multi-function device - -Retu and Tahvo are a multi-function devices found on Nokia Internet -Tablets (770, N800 and N810). The Retu chip provides watchdog timer -and power button control functionalities while Tahvo chip provides -USB transceiver functionality. - -Required properties: -- compatible: "nokia,retu" or "nokia,tahvo" -- reg: Specifies the CBUS slave address of the ASIC chip -- interrupts: The interrupt line the device is connected to - -Example: - -cbus0 { - compatible = "i2c-cbus-gpio"; - ... - retu: retu@1 { - compatible = "nokia,retu"; - interrupt-parent = <&gpio4>; - interrupts = <12 IRQ_TYPE_EDGE_RISING>; - reg = <0x1>; - }; -}; +* Device tree bindings for Nokia Retu and Tahvo multi-function device + +Retu and Tahvo are a multi-function devices found on Nokia Internet +Tablets (770, N800 and N810). The Retu chip provides watchdog timer +and power button control functionalities while Tahvo chip provides +USB transceiver functionality. + +Required properties: +- compatible: "nokia,retu" or "nokia,tahvo" +- reg: Specifies the CBUS slave address of the ASIC chip +- interrupts: The interrupt line the device is connected to + +Example: + +cbus0 { + compatible = "i2c-cbus-gpio"; + ... + retu: retu@1 { + compatible = "nokia,retu"; + interrupt-parent = <&gpio4>; + interrupts = <12 IRQ_TYPE_EDGE_RISING>; + reg = <0x1>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/sky81452.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/sky81452.txt index 9448d0d028..511764acd4 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/sky81452.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/sky81452.txt @@ -1,35 +1,35 @@ -SKY81452 bindings - -Required properties: -- compatible : Must be "skyworks,sky81452" -- reg : I2C slave address - -Required child nodes: -- backlight : container node for backlight following the binding - in leds/backlight/sky81452-backlight.txt -- regulator : container node for regulators following the binding - in regulator/sky81452-regulator.txt - -Example: - - sky81452@2c { - compatible = "skyworks,sky81452"; - reg = <0x2c>; - - backlight { - compatible = "skyworks,sky81452-backlight"; - name = "pwm-backlight"; - led-sources = <0 1 2 3 6>; - skyworks,ignore-pwm; - skyworks,phase-shift; - skyworks,current-limit = <2300>; - }; - - regulator { - lout { - regulator-name = "sky81452-lout"; - regulator-min-microvolt = <4500000>; - regulator-max-microvolt = <8000000>; - }; - }; - }; +SKY81452 bindings + +Required properties: +- compatible : Must be "skyworks,sky81452" +- reg : I2C slave address + +Required child nodes: +- backlight : container node for backlight following the binding + in leds/backlight/sky81452-backlight.txt +- regulator : container node for regulators following the binding + in regulator/sky81452-regulator.txt + +Example: + + sky81452@2c { + compatible = "skyworks,sky81452"; + reg = <0x2c>; + + backlight { + compatible = "skyworks,sky81452-backlight"; + name = "pwm-backlight"; + led-sources = <0 1 2 3 6>; + skyworks,ignore-pwm; + skyworks,phase-shift; + skyworks,current-limit = <2300>; + }; + + 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/mips/cavium/ciu.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mips/cavium/ciu.txt index 8834d9a288..2c2d0746b4 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mips/cavium/ciu.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mips/cavium/ciu.txt @@ -1,26 +1,26 @@ -* Central Interrupt Unit - -Properties: -- compatible: "cavium,octeon-3860-ciu" - - Compatibility with all cn3XXX, cn5XXX and cn63XX SOCs. - -- interrupt-controller: This is an interrupt controller. - -- reg: The base address of the CIU's register bank. - -- #interrupt-cells: Must be <2>. The first cell is the bank within - the CIU and may have a value of 0 or 1. The second cell is the bit - within the bank and may have a value between 0 and 63. - -Example: - interrupt-controller@1070000000000 { - compatible = "cavium,octeon-3860-ciu"; - interrupt-controller; - /* Interrupts are specified by two parts: - * 1) Controller register (0 or 1) - * 2) Bit within the register (0..63) - */ - #interrupt-cells = <2>; - reg = <0x10700 0x00000000 0x0 0x7000>; - }; +* Central Interrupt Unit + +Properties: +- compatible: "cavium,octeon-3860-ciu" + + Compatibility with all cn3XXX, cn5XXX and cn63XX SOCs. + +- interrupt-controller: This is an interrupt controller. + +- reg: The base address of the CIU's register bank. + +- #interrupt-cells: Must be <2>. The first cell is the bank within + the CIU and may have a value of 0 or 1. The second cell is the bit + within the bank and may have a value between 0 and 63. + +Example: + interrupt-controller@1070000000000 { + compatible = "cavium,octeon-3860-ciu"; + interrupt-controller; + /* Interrupts are specified by two parts: + * 1) Controller register (0 or 1) + * 2) Bit within the register (0..63) + */ + #interrupt-cells = <2>; + reg = <0x10700 0x00000000 0x0 0x7000>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mips/cavium/ciu2.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mips/cavium/ciu2.txt index 34d7f12547..0ec7ba8bbb 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mips/cavium/ciu2.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mips/cavium/ciu2.txt @@ -1,27 +1,27 @@ -* Central Interrupt Unit - -Properties: -- compatible: "cavium,octeon-6880-ciu2" - - Compatibility with 68XX SOCs. - -- interrupt-controller: This is an interrupt controller. - -- reg: The base address of the CIU's register bank. - -- #interrupt-cells: Must be <2>. The first cell is the bank within - the CIU and may have a value between 0 and 63. The second cell is - the bit within the bank and may also have a value between 0 and 63. - -Example: - interrupt-controller@1070100000000 { - compatible = "cavium,octeon-6880-ciu2"; - interrupt-controller; - /* Interrupts are specified by two parts: - * 1) Controller register (0..63) - * 2) Bit within the register (0..63) - */ - #address-cells = <0>; - #interrupt-cells = <2>; - reg = <0x10701 0x00000000 0x0 0x4000000>; - }; +* Central Interrupt Unit + +Properties: +- compatible: "cavium,octeon-6880-ciu2" + + Compatibility with 68XX SOCs. + +- interrupt-controller: This is an interrupt controller. + +- reg: The base address of the CIU's register bank. + +- #interrupt-cells: Must be <2>. The first cell is the bank within + the CIU and may have a value between 0 and 63. The second cell is + the bit within the bank and may also have a value between 0 and 63. + +Example: + interrupt-controller@1070100000000 { + compatible = "cavium,octeon-6880-ciu2"; + interrupt-controller; + /* Interrupts are specified by two parts: + * 1) Controller register (0..63) + * 2) Bit within the register (0..63) + */ + #address-cells = <0>; + #interrupt-cells = <2>; + reg = <0x10701 0x00000000 0x0 0x4000000>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mips/cavium/ciu3.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mips/cavium/ciu3.txt index e23e3b92ba..616862ad2b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mips/cavium/ciu3.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mips/cavium/ciu3.txt @@ -1,27 +1,27 @@ -* Central Interrupt Unit v3 - -Properties: -- compatible: "cavium,octeon-7890-ciu3" - - Compatibility with 78XX and 73XX SOCs. - -- interrupt-controller: This is an interrupt controller. - -- reg: The base address of the CIU's register bank. - -- #interrupt-cells: Must be <2>. The first cell is source number. - The second cell indicates the triggering semantics, and may have a - value of either 4 for level semantics, or 1 for edge semantics. - -Example: - interrupt-controller@1010000000000 { - compatible = "cavium,octeon-7890-ciu3"; - interrupt-controller; - /* Interrupts are specified by two parts: - * 1) Source number (20 significant bits) - * 2) Trigger type: (4 == level, 1 == edge) - */ - #address-cells = <0>; - #interrupt-cells = <2>; - reg = <0x10100 0x00000000 0x0 0xb0000000>; - }; +* Central Interrupt Unit v3 + +Properties: +- compatible: "cavium,octeon-7890-ciu3" + + Compatibility with 78XX and 73XX SOCs. + +- interrupt-controller: This is an interrupt controller. + +- reg: The base address of the CIU's register bank. + +- #interrupt-cells: Must be <2>. The first cell is source number. + The second cell indicates the triggering semantics, and may have a + value of either 4 for level semantics, or 1 for edge semantics. + +Example: + interrupt-controller@1010000000000 { + compatible = "cavium,octeon-7890-ciu3"; + interrupt-controller; + /* Interrupts are specified by two parts: + * 1) Source number (20 significant bits) + * 2) Trigger type: (4 == level, 1 == edge) + */ + #address-cells = <0>; + #interrupt-cells = <2>; + reg = <0x10100 0x00000000 0x0 0xb0000000>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mips/lantiq/fpi-bus.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mips/lantiq/fpi-bus.txt index db18e22fc0..0a2df43383 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mips/lantiq/fpi-bus.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mips/lantiq/fpi-bus.txt @@ -1,31 +1,31 @@ -Lantiq XWAY SoC FPI BUS binding -============================ - - -------------------------------------------------------------------------------- -Required properties: -- compatible : Should be one of - "lantiq,xrx200-fpi" -- reg : The address and length of the XBAR - configuration register. - Address and length of the FPI bus itself. -- lantiq,rcu : A phandle to the RCU syscon -- lantiq,offset-endianness : Offset of the endianness configuration - register - -------------------------------------------------------------------------------- -Example for the FPI on the xrx200 SoCs: - fpi@10000000 { - compatible = "lantiq,xrx200-fpi"; - ranges = <0x0 0x10000000 0xf000000>; - reg = <0x1f400000 0x1000>, - <0x10000000 0xf000000>; - lantiq,rcu = <&rcu0>; - lantiq,offset-endianness = <0x4c>; - #address-cells = <1>; - #size-cells = <1>; - - gptu@e100a00 { - ...... - }; - }; +Lantiq XWAY SoC FPI BUS binding +============================ + + +------------------------------------------------------------------------------- +Required properties: +- compatible : Should be one of + "lantiq,xrx200-fpi" +- reg : The address and length of the XBAR + configuration register. + Address and length of the FPI bus itself. +- lantiq,rcu : A phandle to the RCU syscon +- lantiq,offset-endianness : Offset of the endianness configuration + register + +------------------------------------------------------------------------------- +Example for the FPI on the xrx200 SoCs: + fpi@10000000 { + compatible = "lantiq,xrx200-fpi"; + ranges = <0x0 0x10000000 0xf000000>; + reg = <0x1f400000 0x1000>, + <0x10000000 0xf000000>; + lantiq,rcu = <&rcu0>; + lantiq,offset-endianness = <0x4c>; + #address-cells = <1>; + #size-cells = <1>; + + gptu@e100a00 { + ...... + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mips/loongson/ls2k-reset.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mips/loongson/ls2k-reset.yaml index 5651140490..358ac8cd4d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mips/loongson/ls2k-reset.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mips/loongson/ls2k-reset.yaml @@ -1,38 +1,38 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/mips/loongson/ls2k-reset.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Loongson 2K1000 PM Controller - -maintainers: - - Qing Zhang - -description: | - This controller can be found in Loongson-2K1000 Soc systems. - -properties: - compatible: - const: loongson,ls2k-pm - - reg: - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - bus { - #address-cells = <2>; - #size-cells = <2>; - pm: reset-controller@1fe07000 { - compatible = "loongson,ls2k-pm"; - reg = <0 0x1fe07000 0 0x422>; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mips/loongson/ls2k-reset.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Loongson 2K1000 PM Controller + +maintainers: + - Qing Zhang + +description: | + This controller can be found in Loongson-2K1000 Soc systems. + +properties: + compatible: + const: loongson,ls2k-pm + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + bus { + #address-cells = <2>; + #size-cells = <2>; + pm: reset-controller@1fe07000 { + compatible = "loongson,ls2k-pm"; + reg = <0 0x1fe07000 0 0x422>; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mips/loongson/rs780e-acpi.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mips/loongson/rs780e-acpi.yaml index abcd711bc8..3e3a3705e8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mips/loongson/rs780e-acpi.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mips/loongson/rs780e-acpi.yaml @@ -1,42 +1,42 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/mips/loongson/rs780e-acpi.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Loongson RS780E PCH ACPI Controller - -maintainers: - - Jiaxun Yang - -description: | - This controller can be found in Loongson-3 systems with RS780E PCH. - -properties: - compatible: - const: loongson,rs780e-acpi - - reg: - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - isa@0 { - compatible = "isa"; - #address-cells = <2>; - #size-cells = <1>; - ranges = <1 0 0 0x1000>; - - acpi@800 { - compatible = "loongson,rs780e-acpi"; - reg = <1 0x800 0x100>; - }; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mips/loongson/rs780e-acpi.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Loongson RS780E PCH ACPI Controller + +maintainers: + - Jiaxun Yang + +description: | + This controller can be found in Loongson-3 systems with RS780E PCH. + +properties: + compatible: + const: loongson,rs780e-acpi + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + isa@0 { + compatible = "isa"; + #address-cells = <2>; + #size-cells = <1>; + ranges = <1 0 0 0x1000>; + + acpi@800 { + compatible = "loongson,rs780e-acpi"; + reg = <1 0x800 0x100>; + }; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mips/mobileye.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mips/mobileye.yaml index 9cb3e753a1..d60744550e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mips/mobileye.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mips/mobileye.yaml @@ -1,37 +1,37 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -# Copyright 2023 Mobileye Vision Technologies Ltd. -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/mips/mobileye.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Mobileye SoC series - -maintainers: - - Vladimir Kondratiev - - Gregory CLEMENT - - Théo Lebrun - -description: - Boards with a Mobileye SoC shall have the following properties. - -properties: - $nodename: - const: '/' - - compatible: - oneOf: - - description: Boards with Mobileye EyeQ5 SoC - items: - - enum: - - mobileye,eyeq5-epm5 - - const: mobileye,eyeq5 - - description: Boards with Mobileye EyeQ6H SoC - items: - - enum: - - mobileye,eyeq6h-epm6 - - const: mobileye,eyeq6h - -additionalProperties: true - -... +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +# Copyright 2023 Mobileye Vision Technologies Ltd. +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mips/mobileye.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Mobileye SoC series + +maintainers: + - Vladimir Kondratiev + - Gregory CLEMENT + - Théo Lebrun + +description: + Boards with a Mobileye SoC shall have the following properties. + +properties: + $nodename: + const: '/' + + compatible: + oneOf: + - description: Boards with Mobileye EyeQ5 SoC + items: + - enum: + - mobileye,eyeq5-epm5 + - const: mobileye,eyeq5 + - description: Boards with Mobileye EyeQ6H SoC + items: + - enum: + - mobileye,eyeq6h-epm6 + - const: mobileye,eyeq6h + +additionalProperties: true + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mips/pic32/microchip,pic32mzda.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mips/pic32/microchip,pic32mzda.txt index 3a260c71da..1c8dbc45fe 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mips/pic32/microchip,pic32mzda.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mips/pic32/microchip,pic32mzda.txt @@ -1,31 +1,31 @@ -* Microchip PIC32MZDA Platforms - -PIC32MZDA Starter Kit -Required root node properties: - - compatible = "microchip,pic32mzda-sk", "microchip,pic32mzda" - -CPU nodes: ----------- -A "cpus" node is required. Required properties: - - #address-cells: Must be 1. - - #size-cells: Must be 0. -A CPU sub-node is also required. Required properties: - - device_type: Must be "cpu". - - compatible: Must be "mti,mips14KEc". -Example: - cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu0: cpu@0 { - device_type = "cpu"; - compatible = "mti,mips14KEc"; - }; - }; - -Boot protocol --------------- -In accordance with Unified Hosting Interface Reference Manual (MD01069), the -bootloader must pass the following arguments to the kernel: - - $a0: -2. - - $a1: KSEG0 address of the flattened device-tree blob. +* Microchip PIC32MZDA Platforms + +PIC32MZDA Starter Kit +Required root node properties: + - compatible = "microchip,pic32mzda-sk", "microchip,pic32mzda" + +CPU nodes: +---------- +A "cpus" node is required. Required properties: + - #address-cells: Must be 1. + - #size-cells: Must be 0. +A CPU sub-node is also required. Required properties: + - device_type: Must be "cpu". + - compatible: Must be "mti,mips14KEc". +Example: + cpus { + #address-cells = <1>; + #size-cells = <0>; + + cpu0: cpu@0 { + device_type = "cpu"; + compatible = "mti,mips14KEc"; + }; + }; + +Boot protocol +-------------- +In accordance with Unified Hosting Interface Reference Manual (MD01069), the +bootloader must pass the following arguments to the kernel: + - $a0: -2. + - $a1: KSEG0 address of the flattened device-tree blob. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mips/realtek-rtl.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mips/realtek-rtl.yaml index e965b20f28..d337655bfb 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mips/realtek-rtl.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mips/realtek-rtl.yaml @@ -1,28 +1,28 @@ -# SPDX-License-Identifier: GPL-2.0-or-later OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/mips/realtek-rtl.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Realtek RTL83xx/93xx SoC series - -maintainers: - - Bert Vermeulen - - Sander Vanheule - -properties: - $nodename: - const: "/" - compatible: - oneOf: - # RTL8382-based boards - - items: - - enum: - - cisco,sg220-26 - - const: realtek,rtl8382-soc - - items: - - enum: - - cameo,rtl9302c-2x-rtl8224-2xge - - const: realtek,rtl9302-soc - -additionalProperties: true +# SPDX-License-Identifier: GPL-2.0-or-later OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mips/realtek-rtl.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Realtek RTL83xx/93xx SoC series + +maintainers: + - Bert Vermeulen + - Sander Vanheule + +properties: + $nodename: + const: "/" + compatible: + oneOf: + # RTL8382-based boards + - items: + - enum: + - cisco,sg220-26 + - const: realtek,rtl8382-soc + - items: + - enum: + - cameo,rtl9302c-2x-rtl8224-2xge + - const: realtek,rtl9302-soc + +additionalProperties: true diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/misc/pvpanic-mmio.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/misc/pvpanic-mmio.txt index bf1418923f..985e907367 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/misc/pvpanic-mmio.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/misc/pvpanic-mmio.txt @@ -1,29 +1,29 @@ -* QEMU PVPANIC MMIO Configuration bindings - -QEMU's emulation / virtualization targets provide the following PVPANIC -MMIO Configuration interface on the "virt" machine. -type: - -- a read-write, 16-bit wide data register. - -QEMU exposes the data register to guests as memory mapped registers. - -Required properties: - -- compatible: "qemu,pvpanic-mmio". -- reg: the MMIO region used by the device. - * Bytes 0x0 Write panic event to the reg when guest OS panics. - * Bytes 0x1 Reserved. - -Example: - -/ { - #size-cells = <0x2>; - #address-cells = <0x2>; - - pvpanic-mmio@9060000 { - compatible = "qemu,pvpanic-mmio"; - reg = <0x0 0x9060000 0x0 0x2>; - }; -}; - +* QEMU PVPANIC MMIO Configuration bindings + +QEMU's emulation / virtualization targets provide the following PVPANIC +MMIO Configuration interface on the "virt" machine. +type: + +- a read-write, 16-bit wide data register. + +QEMU exposes the data register to guests as memory mapped registers. + +Required properties: + +- compatible: "qemu,pvpanic-mmio". +- reg: the MMIO region used by the device. + * Bytes 0x0 Write panic event to the reg when guest OS panics. + * Bytes 0x1 Reserved. + +Example: + +/ { + #size-cells = <0x2>; + #address-cells = <0x2>; + + pvpanic-mmio@9060000 { + compatible = "qemu,pvpanic-mmio"; + reg = <0x0 0x9060000 0x0 0x2>; + }; +}; + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/brcm,bcm2835-sdhost.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/brcm,bcm2835-sdhost.yaml index e1cce0dc4e..3a5a448006 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/brcm,bcm2835-sdhost.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/brcm,bcm2835-sdhost.yaml @@ -1,54 +1,54 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/mmc/brcm,bcm2835-sdhost.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Broadcom BCM2835 SDHOST controller - -maintainers: - - Stefan Wahren - -allOf: - - $ref: mmc-controller.yaml - -properties: - compatible: - const: brcm,bcm2835-sdhost - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - maxItems: 1 - - dmas: - maxItems: 1 - - dma-names: - const: rx-tx - -required: - - compatible - - reg - - interrupts - - clocks - -unevaluatedProperties: false - -examples: - - | - #include - - sdhost: mmc@7e202000 { - compatible = "brcm,bcm2835-sdhost"; - reg = <0x7e202000 0x100>; - interrupts = <2 24>; - clocks = <&clocks BCM2835_CLOCK_VPU>; - dmas = <&dma 13>; - dma-names = "rx-tx"; - bus-width = <4>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mmc/brcm,bcm2835-sdhost.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom BCM2835 SDHOST controller + +maintainers: + - Stefan Wahren + +allOf: + - $ref: mmc-controller.yaml + +properties: + compatible: + const: brcm,bcm2835-sdhost + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + + dmas: + maxItems: 1 + + dma-names: + const: rx-tx + +required: + - compatible + - reg + - interrupts + - clocks + +unevaluatedProperties: false + +examples: + - | + #include + + sdhost: mmc@7e202000 { + compatible = "brcm,bcm2835-sdhost"; + reg = <0x7e202000 0x100>; + interrupts = <2 24>; + clocks = <&clocks BCM2835_CLOCK_VPU>; + dmas = <&dma 13>; + dma-names = "rx-tx"; + bus-width = <4>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/brcm,kona-sdhci.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/brcm,kona-sdhci.yaml index 87d60b99b2..12eb3988f8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/brcm,kona-sdhci.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/brcm,kona-sdhci.yaml @@ -1,48 +1,48 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/mmc/brcm,kona-sdhci.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Broadcom Kona family SDHCI controller - -maintainers: - - Florian Fainelli - -allOf: - - $ref: sdhci-common.yaml# - -properties: - compatible: - const: brcm,kona-sdhci - - reg: - maxItems: 1 - - clocks: - maxItems: 1 - - interrupts: - maxItems: 1 - -required: - - compatible - - reg - - clocks - - interrupts - -unevaluatedProperties: false - -examples: - - | - #include - #include - #include - - mmc@3f1a0000 { - compatible = "brcm,kona-sdhci"; - reg = <0x3f1a0000 0x10000>; - clocks = <&master_ccu BCM281XX_MASTER_CCU_SDIO3>; - interrupts = ; - }; -... +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mmc/brcm,kona-sdhci.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom Kona family SDHCI controller + +maintainers: + - Florian Fainelli + +allOf: + - $ref: sdhci-common.yaml# + +properties: + compatible: + const: brcm,kona-sdhci + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + interrupts: + maxItems: 1 + +required: + - compatible + - reg + - clocks + - interrupts + +unevaluatedProperties: false + +examples: + - | + #include + #include + #include + + mmc@3f1a0000 { + compatible = "brcm,kona-sdhci"; + reg = <0x3f1a0000 0x10000>; + clocks = <&master_ccu BCM281XX_MASTER_CCU_SDIO3>; + interrupts = ; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/marvell,dove-sdhci.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/marvell,dove-sdhci.yaml index 7f58fe3657..7c9c652ad5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/marvell,dove-sdhci.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/marvell,dove-sdhci.yaml @@ -1,44 +1,44 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/mmc/marvell,dove-sdhci.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Marvell sdhci-dove controller - -maintainers: - - Adrian Hunter - - Ulf Hansson - -allOf: - - $ref: mmc-controller.yaml# - -properties: - compatible: - const: marvell,dove-sdhci - - reg: - maxItems: 1 - - interrupts: - minItems: 1 - maxItems: 2 - - clocks: - maxItems: 1 - -required: - - compatible - - reg - - interrupts - -unevaluatedProperties: false - -examples: - - | - sdio0: mmc@92000 { - compatible = "marvell,dove-sdhci"; - reg = <0x92000 0x100>; - interrupts = <35>; - clocks = <&gate_clk 9>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mmc/marvell,dove-sdhci.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Marvell sdhci-dove controller + +maintainers: + - Adrian Hunter + - Ulf Hansson + +allOf: + - $ref: mmc-controller.yaml# + +properties: + compatible: + const: marvell,dove-sdhci + + reg: + maxItems: 1 + + interrupts: + minItems: 1 + maxItems: 2 + + clocks: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + +unevaluatedProperties: false + +examples: + - | + sdio0: mmc@92000 { + compatible = "marvell,dove-sdhci"; + reg = <0x92000 0x100>; + interrupts = <35>; + clocks = <&gate_clk 9>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/marvell,orion-sdio.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/marvell,orion-sdio.yaml index 01d52f700b..8a97ded15a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/marvell,orion-sdio.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/marvell,orion-sdio.yaml @@ -1,44 +1,44 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/mmc/marvell,orion-sdio.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Marvell orion-sdio controller - -maintainers: - - Nicolas Pitre - - Ulf Hansson - -allOf: - - $ref: mmc-controller.yaml# - -properties: - compatible: - const: marvell,orion-sdio - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - maxItems: 1 - -required: - - compatible - - reg - - interrupts - - clocks - -unevaluatedProperties: false - -examples: - - | - mmc@d00d4000 { - compatible = "marvell,orion-sdio"; - reg = <0xd00d4000 0x200>; - interrupts = <54>; - clocks = <&gateclk 17>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mmc/marvell,orion-sdio.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Marvell orion-sdio controller + +maintainers: + - Nicolas Pitre + - Ulf Hansson + +allOf: + - $ref: mmc-controller.yaml# + +properties: + compatible: + const: marvell,orion-sdio + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + - clocks + +unevaluatedProperties: false + +examples: + - | + mmc@d00d4000 { + compatible = "marvell,orion-sdio"; + reg = <0xd00d4000 0x200>; + interrupts = <54>; + clocks = <&gateclk 17>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/mmc-card.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/mmc-card.yaml index fd6602b712..fd34712644 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/mmc-card.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/mmc-card.yaml @@ -1,48 +1,48 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/mmc/mmc-card.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: MMC Card / eMMC Generic - -maintainers: - - Ulf Hansson - -description: | - This documents describes the devicetree bindings for a mmc-host controller - child node describing a mmc-card / an eMMC. - -properties: - compatible: - const: mmc-card - - reg: - const: 0 - - broken-hpi: - $ref: /schemas/types.yaml#/definitions/flag - description: - Use this to indicate that the mmc-card has a broken hpi - implementation, and that hpi should not be used. - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - mmc { - #address-cells = <1>; - #size-cells = <0>; - - card@0 { - compatible = "mmc-card"; - reg = <0>; - broken-hpi; - }; - }; - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mmc/mmc-card.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: MMC Card / eMMC Generic + +maintainers: + - Ulf Hansson + +description: | + This documents describes the devicetree bindings for a mmc-host controller + child node describing a mmc-card / an eMMC. + +properties: + compatible: + const: mmc-card + + reg: + const: 0 + + broken-hpi: + $ref: /schemas/types.yaml#/definitions/flag + description: + Use this to indicate that the mmc-card has a broken hpi + implementation, and that hpi should not be used. + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + mmc { + #address-cells = <1>; + #size-cells = <0>; + + card@0 { + compatible = "mmc-card"; + reg = <0>; + broken-hpi; + }; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/mmc-pwrseq-sd8787.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/mmc-pwrseq-sd8787.yaml index 46f0a241a5..b35e00e8c6 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/mmc-pwrseq-sd8787.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/mmc-pwrseq-sd8787.yaml @@ -1,43 +1,43 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/mmc/mmc-pwrseq-sd8787.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Marvell SD8787 power sequence provider - -maintainers: - - Ulf Hansson - -properties: - compatible: - enum: - - mmc-pwrseq-sd8787 - - mmc-pwrseq-wilc1000 - - powerdown-gpios: - minItems: 1 - description: - contains a power down GPIO specifier with the default active state - - reset-gpios: - minItems: 1 - description: - contains a reset GPIO specifier with the default active state - -required: - - compatible - - powerdown-gpios - - reset-gpios - -additionalProperties: false - -examples: - - | - #include - pwrseq { - compatible = "mmc-pwrseq-sd8787"; - powerdown-gpios = <&twl_gpio 0 GPIO_ACTIVE_LOW>; - reset-gpios = <&twl_gpio 1 GPIO_ACTIVE_LOW>; - }; -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mmc/mmc-pwrseq-sd8787.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Marvell SD8787 power sequence provider + +maintainers: + - Ulf Hansson + +properties: + compatible: + enum: + - mmc-pwrseq-sd8787 + - mmc-pwrseq-wilc1000 + + powerdown-gpios: + minItems: 1 + description: + contains a power down GPIO specifier with the default active state + + reset-gpios: + minItems: 1 + description: + contains a reset GPIO specifier with the default active state + +required: + - compatible + - powerdown-gpios + - reset-gpios + +additionalProperties: false + +examples: + - | + #include + pwrseq { + compatible = "mmc-pwrseq-sd8787"; + powerdown-gpios = <&twl_gpio 0 GPIO_ACTIVE_LOW>; + reset-gpios = <&twl_gpio 1 GPIO_ACTIVE_LOW>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/moxa,moxart-mmc.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/moxa,moxart-mmc.txt index 150db8447a..b63819149f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/moxa,moxart-mmc.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/moxa,moxart-mmc.txt @@ -1,30 +1,30 @@ -MOXA ART MMC Host Controller Interface - - Inherits from mmc binding[1]. - - [1] Documentation/devicetree/bindings/mmc/mmc.txt - -Required properties: - -- compatible : Must be "moxa,moxart-mmc" or "faraday,ftsdc010" -- reg : Should contain registers location and length -- interrupts : Should contain the interrupt number -- clocks : Should contain phandle for the clock feeding the MMC controller - -Optional properties: - -- dmas : Should contain two DMA channels, line request number must be 5 for - both channels -- dma-names : Must be "tx", "rx" - -Example: - - mmc: mmc@98e00000 { - compatible = "moxa,moxart-mmc"; - reg = <0x98e00000 0x5C>; - interrupts = <5 0>; - clocks = <&clk_apb>; - dmas = <&dma 5>, - <&dma 5>; - dma-names = "tx", "rx"; - }; +MOXA ART MMC Host Controller Interface + + Inherits from mmc binding[1]. + + [1] Documentation/devicetree/bindings/mmc/mmc.txt + +Required properties: + +- compatible : Must be "moxa,moxart-mmc" or "faraday,ftsdc010" +- reg : Should contain registers location and length +- interrupts : Should contain the interrupt number +- clocks : Should contain phandle for the clock feeding the MMC controller + +Optional properties: + +- dmas : Should contain two DMA channels, line request number must be 5 for + both channels +- dma-names : Must be "tx", "rx" + +Example: + + mmc: mmc@98e00000 { + compatible = "moxa,moxart-mmc"; + reg = <0x98e00000 0x5C>; + interrupts = <5 0>; + clocks = <&clk_apb>; + dmas = <&dma 5>, + <&dma 5>; + dma-names = "tx", "rx"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/npcm,sdhci.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/npcm,sdhci.yaml index 9f4998bf55..196fdbfa16 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/npcm,sdhci.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/npcm,sdhci.yaml @@ -1,45 +1,45 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/mmc/npcm,sdhci.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: NPCM SDHCI Controller - -maintainers: - - Tomer Maimon - -allOf: - - $ref: mmc-controller.yaml# - -properties: - compatible: - enum: - - nuvoton,npcm750-sdhci - - nuvoton,npcm845-sdhci - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - maxItems: 1 - -required: - - compatible - - reg - - interrupts - - clocks - -unevaluatedProperties: false - -examples: - - | - mmc@f0840000 { - compatible = "nuvoton,npcm750-sdhci"; - reg = <0xf0840000 0x200>; - interrupts = <0 27 4>; - clocks = <&clk 4>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mmc/npcm,sdhci.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NPCM SDHCI Controller + +maintainers: + - Tomer Maimon + +allOf: + - $ref: mmc-controller.yaml# + +properties: + compatible: + enum: + - nuvoton,npcm750-sdhci + - nuvoton,npcm845-sdhci + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + - clocks + +unevaluatedProperties: false + +examples: + - | + mmc@f0840000 { + compatible = "nuvoton,npcm750-sdhci"; + reg = <0xf0840000 0x200>; + interrupts = <0 27 4>; + clocks = <&clk 4>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/sdhci-common.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/sdhci-common.yaml index a67c652919..1664615187 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/sdhci-common.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/sdhci-common.yaml @@ -1,32 +1,32 @@ -# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/mmc/sdhci-common.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: SDHCI Controller Common Properties - -maintainers: - - Adrian Hunter - -description: - Common properties present on Secure Digital Host Controller Interface (SDHCI) - devices. - -properties: - sdhci-caps: - $ref: /schemas/types.yaml#/definitions/uint64 - description: - Additionally present SDHCI capabilities - values for SDHCI_CAPABILITIES - and SDHCI_CAPABILITIES_1 registers. - - sdhci-caps-mask: - $ref: /schemas/types.yaml#/definitions/uint64 - description: - Masked SDHCI capabilities to remove from SDHCI_CAPABILITIES and - SDHCI_CAPABILITIES_1 registers. - -allOf: - - $ref: mmc-controller.yaml# - -additionalProperties: true +# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mmc/sdhci-common.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: SDHCI Controller Common Properties + +maintainers: + - Adrian Hunter + +description: + Common properties present on Secure Digital Host Controller Interface (SDHCI) + devices. + +properties: + sdhci-caps: + $ref: /schemas/types.yaml#/definitions/uint64 + description: + Additionally present SDHCI capabilities - values for SDHCI_CAPABILITIES + and SDHCI_CAPABILITIES_1 registers. + + sdhci-caps-mask: + $ref: /schemas/types.yaml#/definitions/uint64 + description: + Masked SDHCI capabilities to remove from SDHCI_CAPABILITIES and + SDHCI_CAPABILITIES_1 registers. + +allOf: + - $ref: mmc-controller.yaml# + +additionalProperties: true diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/sdhci.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/sdhci.txt index ce1d183487..0e9923a640 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/sdhci.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/sdhci.txt @@ -1,13 +1,13 @@ -The properties specific for SD host controllers. For properties shared by MMC -host controllers refer to the mmc[1] bindings. - - [1] Documentation/devicetree/bindings/mmc/mmc.txt - -Optional properties: -- sdhci-caps-mask: The sdhci capabilities register is incorrect. This 64bit - property corresponds to the bits in the sdhci capability register. If the bit - is on in the mask then the bit is incorrect in the register and should be - turned off, before applying sdhci-caps. -- sdhci-caps: The sdhci capabilities register is incorrect. This 64bit - property corresponds to the bits in the sdhci capability register. If the - bit is on in the property then the bit should be turned on. +The properties specific for SD host controllers. For properties shared by MMC +host controllers refer to the mmc[1] bindings. + + [1] Documentation/devicetree/bindings/mmc/mmc.txt + +Optional properties: +- sdhci-caps-mask: The sdhci capabilities register is incorrect. This 64bit + property corresponds to the bits in the sdhci capability register. If the bit + is on in the mask then the bit is incorrect in the register and should be + turned off, before applying sdhci-caps. +- sdhci-caps: The sdhci capabilities register is incorrect. This 64bit + property corresponds to the bits in the sdhci capability register. If the + bit is on in the property then the bit should be turned on. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/ti-omap.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/ti-omap.txt index 78c0ac01a3..02fd31cf36 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/ti-omap.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/ti-omap.txt @@ -1,26 +1,26 @@ -* TI MMC host controller for OMAP1 and 2420 - -The MMC Host Controller on TI OMAP1 and 2420 family provides -an interface for MMC, SD, and SDIO types of memory cards. - -This file documents differences between the core properties described -by mmc.txt and the properties used by the omap mmc driver. - -Note that this driver will not work with omap2430 or later omaps, -please see the omap hsmmc driver for the current omaps. - -Required properties: -- compatible: Must be "ti,omap2420-mmc", for OMAP2420 controllers -- ti,hwmods: For 2420, must be "msdi", where n is controller - instance starting 1 - -Examples: - - msdi1: mmc@4809c000 { - compatible = "ti,omap2420-mmc"; - ti,hwmods = "msdi1"; - reg = <0x4809c000 0x80>; - interrupts = <83>; - dmas = <&sdma 61 &sdma 62>; - dma-names = "tx", "rx"; - }; +* TI MMC host controller for OMAP1 and 2420 + +The MMC Host Controller on TI OMAP1 and 2420 family provides +an interface for MMC, SD, and SDIO types of memory cards. + +This file documents differences between the core properties described +by mmc.txt and the properties used by the omap mmc driver. + +Note that this driver will not work with omap2430 or later omaps, +please see the omap hsmmc driver for the current omaps. + +Required properties: +- compatible: Must be "ti,omap2420-mmc", for OMAP2420 controllers +- ti,hwmods: For 2420, must be "msdi", where n is controller + instance starting 1 + +Examples: + + msdi1: mmc@4809c000 { + compatible = "ti,omap2420-mmc"; + ti,hwmods = "msdi1"; + reg = <0x4809c000 0x80>; + interrupts = <83>; + dmas = <&sdma 61 &sdma 62>; + dma-names = "tx", "rx"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/hisilicon,fmc-spi-nor.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/hisilicon,fmc-spi-nor.txt index ee1ff3bf48..a99de13c7c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/hisilicon,fmc-spi-nor.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/hisilicon,fmc-spi-nor.txt @@ -1,24 +1,24 @@ -HiSilicon SPI-NOR Flash Controller - -Required properties: -- compatible : Should be "hisilicon,fmc-spi-nor" and one of the following strings: - "hisilicon,hi3519-spi-nor" -- address-cells : Should be 1. -- size-cells : Should be 0. -- reg : Offset and length of the register set for the controller device. -- reg-names : Must include the following two entries: "control", "memory". -- clocks : handle to spi-nor flash controller clock. - -Example: -spi-nor-controller@10000000 { - compatible = "hisilicon,hi3519-spi-nor", "hisilicon,fmc-spi-nor"; - #address-cells = <1>; - #size-cells = <0>; - reg = <0x10000000 0x1000>, <0x14000000 0x1000000>; - reg-names = "control", "memory"; - clocks = <&clock HI3519_FMC_CLK>; - flash@0 { - compatible = "jedec,spi-nor"; - reg = <0>; - }; -}; +HiSilicon SPI-NOR Flash Controller + +Required properties: +- compatible : Should be "hisilicon,fmc-spi-nor" and one of the following strings: + "hisilicon,hi3519-spi-nor" +- address-cells : Should be 1. +- size-cells : Should be 0. +- reg : Offset and length of the register set for the controller device. +- reg-names : Must include the following two entries: "control", "memory". +- clocks : handle to spi-nor flash controller clock. + +Example: +spi-nor-controller@10000000 { + compatible = "hisilicon,hi3519-spi-nor", "hisilicon,fmc-spi-nor"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x10000000 0x1000>, <0x14000000 0x1000000>; + reg-names = "control", "memory"; + clocks = <&clock HI3519_FMC_CLK>; + flash@0 { + compatible = "jedec,spi-nor"; + reg = <0>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/ibm,ndfc.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/ibm,ndfc.txt index 0bc96197ba..869f0b5f16 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/ibm,ndfc.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/ibm,ndfc.txt @@ -1,39 +1,39 @@ -AMCC NDFC (NanD Flash Controller) - -Required properties: -- compatible : "ibm,ndfc". -- reg : should specify chip select and size used for the chip (0x2000). - -Optional properties: -- ccr : NDFC config and control register value (default 0). -- bank-settings : NDFC bank configuration register value (default 0). - -Notes: -- partition(s) - follows the OF MTD standard for partitions - -Example: - -ndfc@1,0 { - compatible = "ibm,ndfc"; - reg = <0x00000001 0x00000000 0x00002000>; - ccr = <0x00001000>; - bank-settings = <0x80002222>; - #address-cells = <1>; - #size-cells = <1>; - - nand { - #address-cells = <1>; - #size-cells = <1>; - - partition@0 { - label = "kernel"; - reg = <0x00000000 0x00200000>; - }; - partition@200000 { - label = "root"; - reg = <0x00200000 0x03E00000>; - }; - }; -}; - - +AMCC NDFC (NanD Flash Controller) + +Required properties: +- compatible : "ibm,ndfc". +- reg : should specify chip select and size used for the chip (0x2000). + +Optional properties: +- ccr : NDFC config and control register value (default 0). +- bank-settings : NDFC bank configuration register value (default 0). + +Notes: +- partition(s) - follows the OF MTD standard for partitions + +Example: + +ndfc@1,0 { + compatible = "ibm,ndfc"; + reg = <0x00000001 0x00000000 0x00002000>; + ccr = <0x00001000>; + bank-settings = <0x80002222>; + #address-cells = <1>; + #size-cells = <1>; + + nand { + #address-cells = <1>; + #size-cells = <1>; + + partition@0 { + label = "kernel"; + reg = <0x00000000 0x00200000>; + }; + partition@200000 { + label = "root"; + reg = <0x00200000 0x03E00000>; + }; + }; +}; + + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/microchip,mchp48l640.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/microchip,mchp48l640.yaml index 906c769053..0ff32bd00b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/microchip,mchp48l640.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/microchip,mchp48l640.yaml @@ -1,46 +1,46 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/mtd/microchip,mchp48l640.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Microchip 48l640 (and similar) serial EERAM - -maintainers: - - Heiko Schocher - -description: | - The Microchip 48l640 is a 8KByte EERAM connected via SPI. - - datasheet: http://ww1.microchip.com/downloads/en/DeviceDoc/20006055B.pdf - -properties: - compatible: - items: - - const: microchip,48l640 - - reg: - maxItems: 1 - -required: - - compatible - - reg - -allOf: - - $ref: /schemas/spi/spi-peripheral-props.yaml# - -unevaluatedProperties: false - -examples: - - | - spi { - #address-cells = <1>; - #size-cells = <0>; - - eeram@0 { - compatible = "microchip,48l640"; - reg = <0>; - spi-max-frequency = <20000000>; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mtd/microchip,mchp48l640.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Microchip 48l640 (and similar) serial EERAM + +maintainers: + - Heiko Schocher + +description: | + The Microchip 48l640 is a 8KByte EERAM connected via SPI. + + datasheet: http://ww1.microchip.com/downloads/en/DeviceDoc/20006055B.pdf + +properties: + compatible: + items: + - const: microchip,48l640 + + reg: + maxItems: 1 + +required: + - compatible + - reg + +allOf: + - $ref: /schemas/spi/spi-peripheral-props.yaml# + +unevaluatedProperties: false + +examples: + - | + spi { + #address-cells = <1>; + #size-cells = <0>; + + eeram@0 { + compatible = "microchip,48l640"; + reg = <0>; + spi-max-frequency = <20000000>; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/mxc-nand.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/mxc-nand.yaml index 63984bc460..cf4198e43d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/mxc-nand.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/mxc-nand.yaml @@ -1,40 +1,40 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/mtd/mxc-nand.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Freescale's mxc_nand - -maintainers: - - Uwe Kleine-König - -allOf: - - $ref: nand-controller.yaml - -properties: - compatible: - const: fsl,imx27-nand - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - -required: - - compatible - - reg - - interrupts - -unevaluatedProperties: false - -examples: - - | - nand-controller@d8000000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,imx27-nand"; - reg = <0xd8000000 0x1000>; - interrupts = <29>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mtd/mxc-nand.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Freescale's mxc_nand + +maintainers: + - Uwe Kleine-König + +allOf: + - $ref: nand-controller.yaml + +properties: + compatible: + const: fsl,imx27-nand + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + +unevaluatedProperties: false + +examples: + - | + nand-controller@d8000000 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "fsl,imx27-nand"; + reg = <0xd8000000 0x1000>; + interrupts = <29>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/nand-macronix.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/nand-macronix.txt index 60a4349e28..ffab28a2c4 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/nand-macronix.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/nand-macronix.txt @@ -1,27 +1,27 @@ -Macronix NANDs Device Tree Bindings ------------------------------------ - -Macronix NANDs support randomizer operation for scrambling user data, -which can be enabled with a SET_FEATURE. The penalty when using the -randomizer are subpage accesses prohibited and more time period needed -for program operation, i.e., tPROG 300us to 340us (randomizer enabled). -Enabling the randomizer is a one time persistent and non reversible -operation. - -For more high-reliability concern, if subpage write is not available -with hardware ECC and not enabled at UBI level, then enabling the -randomizer is recommended by default by adding a new specific property -in children nodes. - -Required NAND chip properties in children mode: -- randomizer enable: should be "mxic,enable-randomizer-otp" - -Example: - - nand: nand-controller@unit-address { - - nand@0 { - reg = <0>; - mxic,enable-randomizer-otp; - }; - }; +Macronix NANDs Device Tree Bindings +----------------------------------- + +Macronix NANDs support randomizer operation for scrambling user data, +which can be enabled with a SET_FEATURE. The penalty when using the +randomizer are subpage accesses prohibited and more time period needed +for program operation, i.e., tPROG 300us to 340us (randomizer enabled). +Enabling the randomizer is a one time persistent and non reversible +operation. + +For more high-reliability concern, if subpage write is not available +with hardware ECC and not enabled at UBI level, then enabling the +randomizer is recommended by default by adding a new specific property +in children nodes. + +Required NAND chip properties in children mode: +- randomizer enable: should be "mxic,enable-randomizer-otp" + +Example: + + nand: nand-controller@unit-address { + + nand@0 { + reg = <0>; + mxic,enable-randomizer-otp; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/partitions/arm,arm-firmware-suite.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/partitions/arm,arm-firmware-suite.yaml index 6ac35c956b..97618847ee 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/partitions/arm,arm-firmware-suite.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/partitions/arm,arm-firmware-suite.yaml @@ -1,30 +1,30 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/mtd/partitions/arm,arm-firmware-suite.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: ARM Firmware Suite (AFS) Partitions - -maintainers: - - Linus Walleij - -select: false - -description: | - The ARM Firmware Suite is a flash partitioning system found on the - ARM reference designs: Integrator AP, Integrator CP, Versatile AB, - Versatile PB, the RealView family, Versatile Express and Juno. - -properties: - compatible: - const: arm,arm-firmware-suite - -additionalProperties: false - -examples: - - | - partitions { - compatible = "arm,arm-firmware-suite"; - }; -... +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mtd/partitions/arm,arm-firmware-suite.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ARM Firmware Suite (AFS) Partitions + +maintainers: + - Linus Walleij + +select: false + +description: | + The ARM Firmware Suite is a flash partitioning system found on the + ARM reference designs: Integrator AP, Integrator CP, Versatile AB, + Versatile PB, the RealView family, Versatile Express and Juno. + +properties: + compatible: + const: arm,arm-firmware-suite + +additionalProperties: false + +examples: + - | + partitions { + compatible = "arm,arm-firmware-suite"; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/partitions/brcm,bcm963xx-cfe-nor-partitions.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/partitions/brcm,bcm963xx-cfe-nor-partitions.txt index d3606bc413..9f630e95f1 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/partitions/brcm,bcm963xx-cfe-nor-partitions.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/partitions/brcm,bcm963xx-cfe-nor-partitions.txt @@ -1,24 +1,24 @@ -Broadcom BCM963XX CFE Loader NOR Flash Partitions -================================================= - -Most Broadcom BCM63XX SoC based devices follow the Broadcom reference layout for -NOR. The first erase block used for the CFE bootloader, the last for an -NVRAM partition, and the remainder in-between for one to two firmware partitions -at fixed offsets. A valid firmware partition is identified by the ImageTag -header found at beginning of the second erase block, containing the rootfs and -kernel offsets and sizes within the firmware partition. - -Required properties: -- compatible : must be "brcm,bcm963xx-cfe-nor-partitions" - -Example: - -flash@1fc00000 { - compatible = "cfi-flash"; - reg = <0x1fc00000 0x400000>; - bank-width = <2>; - - partitions { - compatible = "brcm,bcm963xx-cfe-nor-partitions"; - }; -}; +Broadcom BCM963XX CFE Loader NOR Flash Partitions +================================================= + +Most Broadcom BCM63XX SoC based devices follow the Broadcom reference layout for +NOR. The first erase block used for the CFE bootloader, the last for an +NVRAM partition, and the remainder in-between for one to two firmware partitions +at fixed offsets. A valid firmware partition is identified by the ImageTag +header found at beginning of the second erase block, containing the rootfs and +kernel offsets and sizes within the firmware partition. + +Required properties: +- compatible : must be "brcm,bcm963xx-cfe-nor-partitions" + +Example: + +flash@1fc00000 { + compatible = "cfi-flash"; + reg = <0x1fc00000 0x400000>; + bank-width = <2>; + + partitions { + compatible = "brcm,bcm963xx-cfe-nor-partitions"; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/partitions/ubi-volume.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/partitions/ubi-volume.yaml index f254525c22..19736b2605 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/partitions/ubi-volume.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/partitions/ubi-volume.yaml @@ -1,40 +1,40 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/mtd/partitions/ubi-volume.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: UBI volume - -description: | - This binding describes a single UBI volume. Volumes can be matches either - by their ID or their name, or both. - -maintainers: - - Daniel Golle - -properties: - volid: - $ref: /schemas/types.yaml#/definitions/uint32 - description: - Match UBI volume ID - - volname: - $ref: /schemas/types.yaml#/definitions/string - description: - Match UBI volume ID - - nvmem-layout: - $ref: /schemas/nvmem/layouts/nvmem-layout.yaml# - description: - This container may reference an NVMEM layout parser. - -anyOf: - - required: - - volid - - - required: - - volname - -# This is a generic file other binding inherit from and extend -additionalProperties: true +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mtd/partitions/ubi-volume.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: UBI volume + +description: | + This binding describes a single UBI volume. Volumes can be matches either + by their ID or their name, or both. + +maintainers: + - Daniel Golle + +properties: + volid: + $ref: /schemas/types.yaml#/definitions/uint32 + description: + Match UBI volume ID + + volname: + $ref: /schemas/types.yaml#/definitions/string + description: + Match UBI volume ID + + nvmem-layout: + $ref: /schemas/nvmem/layouts/nvmem-layout.yaml# + description: + This container may reference an NVMEM layout parser. + +anyOf: + - required: + - volid + + - required: + - volname + +# This is a generic file other binding inherit from and extend +additionalProperties: true diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/spear_smi.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/spear_smi.txt index da51ce9f2d..c41873e92d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/spear_smi.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/spear_smi.txt @@ -1,29 +1,29 @@ -* SPEAr SMI - -Required properties: -- compatible : "st,spear600-smi" -- reg : Address range of the mtd chip -- #address-cells, #size-cells : Must be present if the device has sub-nodes - representing partitions. -- interrupts: Should contain the STMMAC interrupts -- clock-rate : Functional clock rate of SMI in Hz - -Optional properties: -- st,smi-fast-mode : Flash supports read in fast mode - -Example: - - smi: flash@fc000000 { - compatible = "st,spear600-smi"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0xfc000000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <12>; - clock-rate = <50000000>; /* 50MHz */ - - flash@f8000000 { - st,smi-fast-mode; - ... - }; - }; +* SPEAr SMI + +Required properties: +- compatible : "st,spear600-smi" +- reg : Address range of the mtd chip +- #address-cells, #size-cells : Must be present if the device has sub-nodes + representing partitions. +- interrupts: Should contain the STMMAC interrupts +- clock-rate : Functional clock rate of SMI in Hz + +Optional properties: +- st,smi-fast-mode : Flash supports read in fast mode + +Example: + + smi: flash@fc000000 { + compatible = "st,spear600-smi"; + #address-cells = <1>; + #size-cells = <1>; + reg = <0xfc000000 0x1000>; + interrupt-parent = <&vic1>; + interrupts = <12>; + clock-rate = <50000000>; /* 50MHz */ + + flash@f8000000 { + st,smi-fast-mode; + ... + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/st-fsm.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/st-fsm.txt index 281c13f99a..54cef9ef30 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/st-fsm.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/st-fsm.txt @@ -1,25 +1,25 @@ -* ST-Microelectronics SPI FSM Serial (NOR) Flash Controller - -Required properties: - - compatible : Should be "st,spi-fsm" - - reg : Contains register's location and length. - - reg-names : Should contain the reg names "spi-fsm" - - interrupts : The interrupt number - - pinctrl-0 : Standard Pinctrl phandle (see: pinctrl/pinctrl-bindings.txt) - -Optional properties: - - st,syscfg : Phandle to boot-device system configuration registers - - st,boot-device-reg : Address of the aforementioned boot-device register(s) - - st,boot-device-spi : Expected boot-device value if booted via this device - -Example: - spifsm: spifsm@fe902000{ - compatible = "st,spi-fsm"; - reg = <0xfe902000 0x1000>; - reg-names = "spi-fsm"; - pinctrl-0 = <&pinctrl_fsm>; - st,syscfg = <&syscfg_rear>; - st,boot-device-reg = <0x958>; - st,boot-device-spi = <0x1a>; - }; - +* ST-Microelectronics SPI FSM Serial (NOR) Flash Controller + +Required properties: + - compatible : Should be "st,spi-fsm" + - reg : Contains register's location and length. + - reg-names : Should contain the reg names "spi-fsm" + - interrupts : The interrupt number + - pinctrl-0 : Standard Pinctrl phandle (see: pinctrl/pinctrl-bindings.txt) + +Optional properties: + - st,syscfg : Phandle to boot-device system configuration registers + - st,boot-device-reg : Address of the aforementioned boot-device register(s) + - st,boot-device-spi : Expected boot-device value if booted via this device + +Example: + spifsm: spifsm@fe902000{ + compatible = "st,spi-fsm"; + reg = <0xfe902000 0x1000>; + reg-names = "spi-fsm"; + pinctrl-0 = <&pinctrl_fsm>; + st,syscfg = <&syscfg_rear>; + st,boot-device-reg = <0x958>; + st,boot-device-spi = <0x1a>; + }; + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/technologic,nand.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/technologic,nand.yaml index 1cb2766e7f..f9d87c4609 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/technologic,nand.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/technologic,nand.yaml @@ -1,45 +1,45 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/mtd/technologic,nand.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Technologic Systems NAND controller - -maintainers: - - Nikita Shubin - -allOf: - - $ref: nand-controller.yaml - -properties: - compatible: - oneOf: - - const: technologic,ts7200-nand - - items: - - enum: - - technologic,ts7300-nand - - technologic,ts7260-nand - - technologic,ts7250-nand - - const: technologic,ts7200-nand - - reg: - maxItems: 1 - -required: - - compatible - - reg - -unevaluatedProperties: false - -examples: - - | - nand-controller@60000000 { - compatible = "technologic,ts7200-nand"; - reg = <0x60000000 0x8000000>; - #address-cells = <1>; - #size-cells = <0>; - nand@0 { - reg = <0>; - }; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mtd/technologic,nand.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Technologic Systems NAND controller + +maintainers: + - Nikita Shubin + +allOf: + - $ref: nand-controller.yaml + +properties: + compatible: + oneOf: + - const: technologic,ts7200-nand + - items: + - enum: + - technologic,ts7300-nand + - technologic,ts7260-nand + - technologic,ts7250-nand + - const: technologic,ts7200-nand + + reg: + maxItems: 1 + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + nand-controller@60000000 { + compatible = "technologic,ts7200-nand"; + reg = <0x60000000 0x8000000>; + #address-cells = <1>; + #size-cells = <0>; + nand@0 { + reg = <0>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/apm-xgene-mdio.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/apm-xgene-mdio.txt index c116fe5597..78722d74ce 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/apm-xgene-mdio.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/apm-xgene-mdio.txt @@ -1,37 +1,37 @@ -APM X-Gene SoC MDIO node - -MDIO node is defined to describe on-chip MDIO controller. - -Required properties: - - compatible: Must be "apm,xgene-mdio-rgmii" or "apm,xgene-mdio-xfi" - - #address-cells: Must be <1>. - - #size-cells: Must be <0>. - - reg: Address and length of the register set - - clocks: Reference to the clock entry - -For the phys on the mdio bus, there must be a node with the following fields: - - compatible: PHY identifier. Please refer ./phy.txt for the format. - - reg: The ID number for the phy. - -Example: - - mdio: mdio@17020000 { - compatible = "apm,xgene-mdio-rgmii"; - #address-cells = <1>; - #size-cells = <0>; - reg = <0x0 0x17020000 0x0 0xd100>; - clocks = <&menetclk 0>; - }; - - /* Board-specific peripheral configurations */ - &mdio { - menetphy: phy@3 { - reg = <0x3>; - }; - sgenet0phy: phy@4 { - reg = <0x4>; - }; - sgenet1phy: phy@5 { - reg = <0x5>; - }; - }; +APM X-Gene SoC MDIO node + +MDIO node is defined to describe on-chip MDIO controller. + +Required properties: + - compatible: Must be "apm,xgene-mdio-rgmii" or "apm,xgene-mdio-xfi" + - #address-cells: Must be <1>. + - #size-cells: Must be <0>. + - reg: Address and length of the register set + - clocks: Reference to the clock entry + +For the phys on the mdio bus, there must be a node with the following fields: + - compatible: PHY identifier. Please refer ./phy.txt for the format. + - reg: The ID number for the phy. + +Example: + + mdio: mdio@17020000 { + compatible = "apm,xgene-mdio-rgmii"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x0 0x17020000 0x0 0xd100>; + clocks = <&menetclk 0>; + }; + + /* Board-specific peripheral configurations */ + &mdio { + menetphy: phy@3 { + reg = <0x3>; + }; + sgenet0phy: phy@4 { + reg = <0x4>; + }; + sgenet1phy: phy@5 { + reg = <0x5>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/bluetooth/bluetooth-controller.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/bluetooth/bluetooth-controller.yaml index e7bfc720a2..59bb0d7e8a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/bluetooth/bluetooth-controller.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/bluetooth/bluetooth-controller.yaml @@ -1,29 +1,29 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/net/bluetooth/bluetooth-controller.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Bluetooth Controller Common Properties - -maintainers: - - Marcel Holtmann - - Johan Hedberg - - Luiz Augusto von Dentz - -properties: - $nodename: - pattern: "^bluetooth(@.*)?$" - - local-bd-address: - $ref: /schemas/types.yaml#/definitions/uint8-array - maxItems: 6 - description: - Specifies the BD address that was uniquely assigned to the Bluetooth - device. Formatted with least significant byte first (little-endian), e.g. - in order to assign the address 00:11:22:33:44:55 this property must have - the value [55 44 33 22 11 00]. - -additionalProperties: true - -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/bluetooth/bluetooth-controller.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Bluetooth Controller Common Properties + +maintainers: + - Marcel Holtmann + - Johan Hedberg + - Luiz Augusto von Dentz + +properties: + $nodename: + pattern: "^bluetooth(@.*)?$" + + local-bd-address: + $ref: /schemas/types.yaml#/definitions/uint8-array + maxItems: 6 + description: + Specifies the BD address that was uniquely assigned to the Bluetooth + device. Formatted with least significant byte first (little-endian), e.g. + in order to assign the address 00:11:22:33:44:55 this property must have + the value [55 44 33 22 11 00]. + +additionalProperties: true + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/bluetooth/marvell,88w8897.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/bluetooth/marvell,88w8897.yaml index 8a6ccd95af..2fc36874de 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/bluetooth/marvell,88w8897.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/bluetooth/marvell,88w8897.yaml @@ -1,49 +1,49 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/net/bluetooth/marvell,88w8897.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Marvell Bluetooth chips - -description: | - This documents the binding structure and common properties for serial - attached Marvell Bluetooth devices. - -maintainers: - - Rob Herring - -properties: - compatible: - enum: - - mrvl,88w8897 - - mrvl,88w8997 - - max-speed: true - -required: - - compatible - -allOf: - - $ref: /schemas/serial/serial-peripheral-props.yaml# - - if: - properties: - compatible: - contains: - const: mrvl,88w8997 - then: - properties: - max-speed: true - else: - properties: - max-speed: false - -additionalProperties: false - -examples: - - | - serial { - bluetooth { - compatible = "mrvl,88w8897"; - }; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/bluetooth/marvell,88w8897.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Marvell Bluetooth chips + +description: | + This documents the binding structure and common properties for serial + attached Marvell Bluetooth devices. + +maintainers: + - Rob Herring + +properties: + compatible: + enum: + - mrvl,88w8897 + - mrvl,88w8997 + + max-speed: true + +required: + - compatible + +allOf: + - $ref: /schemas/serial/serial-peripheral-props.yaml# + - if: + properties: + compatible: + contains: + const: mrvl,88w8997 + then: + properties: + max-speed: true + else: + properties: + max-speed: false + +additionalProperties: false + +examples: + - | + serial { + bluetooth { + compatible = "mrvl,88w8897"; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/brcm,iproc-mdio.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/brcm,iproc-mdio.yaml index d16ac4f8ee..3031395f7e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/brcm,iproc-mdio.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/brcm,iproc-mdio.yaml @@ -1,38 +1,38 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/net/brcm,iproc-mdio.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Broadcom iProc MDIO bus controller - -maintainers: - - Rafał Miłecki - -allOf: - - $ref: mdio.yaml# - -properties: - compatible: - const: brcm,iproc-mdio - - reg: - maxItems: 1 - -unevaluatedProperties: false - -required: - - reg - -examples: - - | - mdio@18002000 { - compatible = "brcm,iproc-mdio"; - reg = <0x18002000 0x8>; - #address-cells = <1>; - #size-cells = <0>; - - ethernet-phy@0 { - reg = <0>; - }; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/brcm,iproc-mdio.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom iProc MDIO bus controller + +maintainers: + - Rafał Miłecki + +allOf: + - $ref: mdio.yaml# + +properties: + compatible: + const: brcm,iproc-mdio + + reg: + maxItems: 1 + +unevaluatedProperties: false + +required: + - reg + +examples: + - | + mdio@18002000 { + compatible = "brcm,iproc-mdio"; + reg = <0x18002000 0x8>; + #address-cells = <1>; + #size-cells = <0>; + + ethernet-phy@0 { + reg = <0>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/can/holt_hi311x.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/can/holt_hi311x.txt index b5543443e1..3a9926f999 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/can/holt_hi311x.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/can/holt_hi311x.txt @@ -1,23 +1,23 @@ -* Holt HI-311X stand-alone CAN controller device tree bindings - -Required properties: - - compatible: Should be one of the following: - - "holt,hi3110" for HI-3110 - - reg: SPI chip select. - - clocks: The clock feeding the CAN controller. - - interrupts: Should contain IRQ line for the CAN controller. - -Optional properties: - - vdd-supply: Regulator that powers the CAN controller. - - xceiver-supply: Regulator that powers the CAN transceiver. - -Example: - can0: can@1 { - compatible = "holt,hi3110"; - reg = <1>; - clocks = <&clk32m>; - interrupt-parent = <&gpio4>; - interrupts = <13 IRQ_TYPE_LEVEL_HIGH>; - vdd-supply = <®5v0>; - xceiver-supply = <®5v0>; - }; +* Holt HI-311X stand-alone CAN controller device tree bindings + +Required properties: + - compatible: Should be one of the following: + - "holt,hi3110" for HI-3110 + - reg: SPI chip select. + - clocks: The clock feeding the CAN controller. + - interrupts: Should contain IRQ line for the CAN controller. + +Optional properties: + - vdd-supply: Regulator that powers the CAN controller. + - xceiver-supply: Regulator that powers the CAN transceiver. + +Example: + can0: can@1 { + compatible = "holt,hi3110"; + reg = <1>; + clocks = <&clk32m>; + interrupt-parent = <&gpio4>; + interrupts = <13 IRQ_TYPE_LEVEL_HIGH>; + vdd-supply = <®5v0>; + xceiver-supply = <®5v0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/can/microchip,mpfs-can.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/can/microchip,mpfs-can.yaml index 63fe6a97bb..01e4d4a54d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/can/microchip,mpfs-can.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/can/microchip,mpfs-can.yaml @@ -1,47 +1,47 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/net/can/microchip,mpfs-can.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: - Microchip PolarFire SoC (MPFS) can controller - -maintainers: - - Conor Dooley - -allOf: - - $ref: can-controller.yaml# - -properties: - compatible: - const: microchip,mpfs-can - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - items: - - description: AHB peripheral clock - - description: CAN bus clock - -required: - - compatible - - reg - - interrupts - - clocks - -additionalProperties: false - -examples: - - | - can@2010c000 { - compatible = "microchip,mpfs-can"; - reg = <0x2010c000 0x1000>; - clocks = <&clkcfg 17>, <&clkcfg 37>; - interrupt-parent = <&plic>; - interrupts = <56>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/can/microchip,mpfs-can.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: + Microchip PolarFire SoC (MPFS) can controller + +maintainers: + - Conor Dooley + +allOf: + - $ref: can-controller.yaml# + +properties: + compatible: + const: microchip,mpfs-can + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + items: + - description: AHB peripheral clock + - description: CAN bus clock + +required: + - compatible + - reg + - interrupts + - clocks + +additionalProperties: false + +examples: + - | + can@2010c000 { + compatible = "microchip,mpfs-can"; + reg = <0x2010c000 0x1000>; + clocks = <&clkcfg 17>, <&clkcfg 37>; + interrupt-parent = <&plic>; + interrupts = <56>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/cortina.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/cortina.txt index d048b40b19..40d0bd9841 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/cortina.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/cortina.txt @@ -1,21 +1,21 @@ -Cortina Phy Driver Device Tree Bindings ---------------------------------------- - -CORTINA is a registered trademark of Cortina Systems, Inc. - -The driver supports the Cortina Electronic Dispersion Compensation (EDC) -devices, equipped with clock and data recovery (CDR) circuits. These -devices make use of registers that are not compatible with Clause 45 or -Clause 22, therefore they need to be described using the -"ethernet-phy-id" compatible. - -Since the driver only implements polling mode support, interrupts info -can be skipped. - -Example (CS4340 phy): - mdio { - cs4340_phy@10 { - compatible = "ethernet-phy-id13e5.1002"; - reg = <0x10>; - }; - }; +Cortina Phy Driver Device Tree Bindings +--------------------------------------- + +CORTINA is a registered trademark of Cortina Systems, Inc. + +The driver supports the Cortina Electronic Dispersion Compensation (EDC) +devices, equipped with clock and data recovery (CDR) circuits. These +devices make use of registers that are not compatible with Clause 45 or +Clause 22, therefore they need to be described using the +"ethernet-phy-id" compatible. + +Since the driver only implements polling mode support, interrupts info +can be skipped. + +Example (CS4340 phy): + mdio { + cs4340_phy@10 { + compatible = "ethernet-phy-id13e5.1002"; + reg = <0x10>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/cpsw-phy-sel.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/cpsw-phy-sel.txt index 75d6d3f707..5d76f991c0 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/cpsw-phy-sel.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/cpsw-phy-sel.txt @@ -1,30 +1,30 @@ -TI CPSW Phy mode Selection Device Tree Bindings (DEPRECATED) ------------------------------------------------ - -Required properties: -- compatible : Should be "ti,am3352-cpsw-phy-sel" for am335x platform and - "ti,dra7xx-cpsw-phy-sel" for dra7xx platform - "ti,am43xx-cpsw-phy-sel" for am43xx platform -- reg : physical base address and size of the cpsw - registers map -- reg-names : names of the register map given in "reg" node - -Optional properties: --rmii-clock-ext : If present, the driver will configure the RMII - interface to external clock usage - -Examples: - - phy_sel: cpsw-phy-sel@44e10650 { - compatible = "ti,am3352-cpsw-phy-sel"; - reg= <0x44e10650 0x4>; - reg-names = "gmii-sel"; - }; - -(or) - phy_sel: cpsw-phy-sel@44e10650 { - compatible = "ti,am3352-cpsw-phy-sel"; - reg= <0x44e10650 0x4>; - reg-names = "gmii-sel"; - rmii-clock-ext; - }; +TI CPSW Phy mode Selection Device Tree Bindings (DEPRECATED) +----------------------------------------------- + +Required properties: +- compatible : Should be "ti,am3352-cpsw-phy-sel" for am335x platform and + "ti,dra7xx-cpsw-phy-sel" for dra7xx platform + "ti,am43xx-cpsw-phy-sel" for am43xx platform +- reg : physical base address and size of the cpsw + registers map +- reg-names : names of the register map given in "reg" node + +Optional properties: +-rmii-clock-ext : If present, the driver will configure the RMII + interface to external clock usage + +Examples: + + phy_sel: cpsw-phy-sel@44e10650 { + compatible = "ti,am3352-cpsw-phy-sel"; + reg= <0x44e10650 0x4>; + reg-names = "gmii-sel"; + }; + +(or) + phy_sel: cpsw-phy-sel@44e10650 { + compatible = "ti,am3352-cpsw-phy-sel"; + reg= <0x44e10650 0x4>; + reg-names = "gmii-sel"; + rmii-clock-ext; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/fsl,enetc-ierb.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/fsl,enetc-ierb.yaml index f0c7de5b72..c8a654310b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/fsl,enetc-ierb.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/fsl,enetc-ierb.yaml @@ -1,38 +1,38 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/net/fsl,enetc-ierb.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Integrated Endpoint Register Block - -description: - The fsl_enetc driver can probe on the Integrated Endpoint Register Block, - which preconfigures the FIFO limits for the ENETC ports. - -maintainers: - - Frank Li - - Vladimir Oltean - - Wei Fang - - Claudiu Manoil - -properties: - compatible: - enum: - - fsl,ls1028a-enetc-ierb - - reg: - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - endpoint-config@f0800000 { - compatible = "fsl,ls1028a-enetc-ierb"; - reg = <0xf0800000 0x10000>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/fsl,enetc-ierb.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Integrated Endpoint Register Block + +description: + The fsl_enetc driver can probe on the Integrated Endpoint Register Block, + which preconfigures the FIFO limits for the ENETC ports. + +maintainers: + - Frank Li + - Vladimir Oltean + - Wei Fang + - Claudiu Manoil + +properties: + compatible: + enum: + - fsl,ls1028a-enetc-ierb + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + endpoint-config@f0800000 { + compatible = "fsl,ls1028a-enetc-ierb"; + reg = <0xf0800000 0x10000>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/fsl,fman-muram.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/fsl,fman-muram.yaml index 982cdfb3fb..aa71acc7fa 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/fsl,fman-muram.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/fsl,fman-muram.yaml @@ -1,40 +1,40 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/net/fsl,fman-muram.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Freescale Frame Manager MURAM Device - -maintainers: - - Frank Li - -description: | - FMan Internal memory - shared between all the FMan modules. - It contains data structures that are common and written to or read by - the modules. - - FMan internal memory is split into the following parts: - Packet buffering (Tx/Rx FIFOs) - Frames internal context - -properties: - compatible: - enum: - - fsl,fman-muram - - reg: - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - muram@0 { - compatible = "fsl,fman-muram"; - reg = <0x0 0x28000>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/fsl,fman-muram.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Freescale Frame Manager MURAM Device + +maintainers: + - Frank Li + +description: | + FMan Internal memory - shared between all the FMan modules. + It contains data structures that are common and written to or read by + the modules. + + FMan internal memory is split into the following parts: + Packet buffering (Tx/Rx FIFOs) + Frames internal context + +properties: + compatible: + enum: + - fsl,fman-muram + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + muram@0 { + compatible = "fsl,fman-muram"; + reg = <0x0 0x28000>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/hisilicon-hns-mdio.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/hisilicon-hns-mdio.txt index 59372e2736..4a7ede9657 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/hisilicon-hns-mdio.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/hisilicon-hns-mdio.txt @@ -1,27 +1,27 @@ -Hisilicon MDIO bus controller - -Properties: -- compatible: can be one of: - "hisilicon,hns-mdio" - "hisilicon,mdio" - "hisilicon,hns-mdio" is recommended to be used for hip05 and later SOCs, - while "hisilicon,mdio" is optional for backwards compatibility only on - hip04 Soc. -- reg: The base address of the MDIO bus controller register bank. -- #address-cells: Must be <1>. -- #size-cells: Must be <0>. MDIO addresses have no size component. - -Typically an MDIO bus might have several children. - -Example: - mdio@803c0000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "hisilicon,hns-mdio","hisilicon,mdio"; - reg = <0x0 0x803c0000 0x0 0x10000>; - - ethernet-phy@0 { - ... - reg = <0>; - }; - }; +Hisilicon MDIO bus controller + +Properties: +- compatible: can be one of: + "hisilicon,hns-mdio" + "hisilicon,mdio" + "hisilicon,hns-mdio" is recommended to be used for hip05 and later SOCs, + while "hisilicon,mdio" is optional for backwards compatibility only on + hip04 Soc. +- reg: The base address of the MDIO bus controller register bank. +- #address-cells: Must be <1>. +- #size-cells: Must be <0>. MDIO addresses have no size component. + +Typically an MDIO bus might have several children. + +Example: + mdio@803c0000 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "hisilicon,hns-mdio","hisilicon,mdio"; + reg = <0x0 0x803c0000 0x0 0x10000>; + + ethernet-phy@0 { + ... + reg = <0>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/icplus-ip101ag.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/icplus-ip101ag.txt index abecaa3250..a784592bbb 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/icplus-ip101ag.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/icplus-ip101ag.txt @@ -1,19 +1,19 @@ -IC Plus Corp. IP101A / IP101G Ethernet PHYs - -There are different models of the IP101G Ethernet PHY: -- IP101GR (32-pin QFN package) -- IP101G (die only, no package) -- IP101GA (48-pin LQFP package) - -There are different models of the IP101A Ethernet PHY (which is the -predecessor of the IP101G): -- IP101A (48-pin LQFP package) -- IP101AH (48-pin LQFP package) - -Optional properties for the IP101GR (32-pin QFN package): - -- icplus,select-rx-error: - pin 21 ("RXER/INTR_32") will output the receive error status. - interrupts are not routed outside the PHY in this mode. -- icplus,select-interrupt: - pin 21 ("RXER/INTR_32") will output the interrupt signal. +IC Plus Corp. IP101A / IP101G Ethernet PHYs + +There are different models of the IP101G Ethernet PHY: +- IP101GR (32-pin QFN package) +- IP101G (die only, no package) +- IP101GA (48-pin LQFP package) + +There are different models of the IP101A Ethernet PHY (which is the +predecessor of the IP101G): +- IP101A (48-pin LQFP package) +- IP101AH (48-pin LQFP package) + +Optional properties for the IP101GR (32-pin QFN package): + +- icplus,select-rx-error: + pin 21 ("RXER/INTR_32") will output the receive error status. + interrupts are not routed outside the PHY in this mode. +- icplus,select-interrupt: + pin 21 ("RXER/INTR_32") will output the interrupt signal. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/ieee802154/at86rf230.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/ieee802154/at86rf230.txt index ad6914dc50..168f1be509 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/ieee802154/at86rf230.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/ieee802154/at86rf230.txt @@ -1,27 +1,27 @@ -* AT86RF230 IEEE 802.15.4 * - -Required properties: - - compatible: should be "atmel,at86rf230", "atmel,at86rf231", - "atmel,at86rf233" or "atmel,at86rf212" - - spi-max-frequency: maximal bus speed, should be set to 7500000 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: - - reset-gpio: GPIO spec for the rstn pin - - sleep-gpio: GPIO spec for the slp_tr pin - - xtal-trim: u8 value for fine tuning the internal capacitance - arrays of xtal pins: 0 = +0 pF, 0xf = +4.5 pF - -Example: - - at86rf231@0 { - compatible = "atmel,at86rf231"; - spi-max-frequency = <7500000>; - reg = <0>; - interrupts = <19 4>; - interrupt-parent = <&gpio3>; - xtal-trim = /bits/ 8 <0x06>; - }; +* AT86RF230 IEEE 802.15.4 * + +Required properties: + - compatible: should be "atmel,at86rf230", "atmel,at86rf231", + "atmel,at86rf233" or "atmel,at86rf212" + - spi-max-frequency: maximal bus speed, should be set to 7500000 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: + - reset-gpio: GPIO spec for the rstn pin + - sleep-gpio: GPIO spec for the slp_tr pin + - xtal-trim: u8 value for fine tuning the internal capacitance + arrays of xtal pins: 0 = +0 pF, 0xf = +4.5 pF + +Example: + + at86rf231@0 { + compatible = "atmel,at86rf231"; + spi-max-frequency = <7500000>; + reg = <0>; + interrupts = <19 4>; + interrupt-parent = <&gpio3>; + xtal-trim = /bits/ 8 <0x06>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/ieee802154/ca8210.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/ieee802154/ca8210.txt index cacfd7c95f..a1046e636f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/ieee802154/ca8210.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/ieee802154/ca8210.txt @@ -1,28 +1,28 @@ -* CA8210 IEEE 802.15.4 * - -Required properties: - - compatible: Should be "cascoda,ca8210" - - reg: Controlling chip select - - spi-max-frequency: Maximum clock speed, should be *less than* - 4000000 - - spi-cpol: Requires inverted clock polarity - - reset-gpio: GPIO attached to reset - - irq-gpio: GPIO attached to IRQ -Optional properties: - - extclock-enable: Include for the ca8210 to route its 16MHz clock - to an output - - extclock-freq: Frequency in Hz of the external clock - - extclock-gpio: GPIO of the ca8210 to output the clock on - -Example: - ca8210@0 { - compatible = "cascoda,ca8210"; - reg = <0>; - spi-max-frequency = <3000000>; - spi-cpol; - reset-gpio = <&gpio1 1 GPIO_ACTIVE_HIGH>; - irq-gpio = <&gpio1 2 GPIO_ACTIVE_HIGH>; - extclock-enable; - extclock-freq = 16000000; - extclock-gpio = 2; - }; +* CA8210 IEEE 802.15.4 * + +Required properties: + - compatible: Should be "cascoda,ca8210" + - reg: Controlling chip select + - spi-max-frequency: Maximum clock speed, should be *less than* + 4000000 + - spi-cpol: Requires inverted clock polarity + - reset-gpio: GPIO attached to reset + - irq-gpio: GPIO attached to IRQ +Optional properties: + - extclock-enable: Include for the ca8210 to route its 16MHz clock + to an output + - extclock-freq: Frequency in Hz of the external clock + - extclock-gpio: GPIO of the ca8210 to output the clock on + +Example: + ca8210@0 { + compatible = "cascoda,ca8210"; + reg = <0>; + spi-max-frequency = <3000000>; + spi-cpol; + reset-gpio = <&gpio1 1 GPIO_ACTIVE_HIGH>; + irq-gpio = <&gpio1 2 GPIO_ACTIVE_HIGH>; + extclock-enable; + extclock-freq = 16000000; + extclock-gpio = 2; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/lpc-eth.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/lpc-eth.txt index 46bd92bee2..cfe0e5991d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/lpc-eth.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/lpc-eth.txt @@ -1,28 +1,28 @@ -* NXP LPC32xx SoC Ethernet Controller - -Required properties: -- compatible: Should be "nxp,lpc-eth" -- reg: Address and length of the register set for the device -- interrupts: Should contain ethernet controller interrupt - -Optional properties: -- phy-mode: See ethernet.txt file in the same directory. If the property is - absent, "rmii" is assumed. -- use-iram: Use LPC32xx internal SRAM (IRAM) for DMA buffering - -Optional subnodes: -- mdio : specifies the mdio bus, used as a container for phy nodes according to - phy.txt in the same directory - - -Example: - - mac: ethernet@31060000 { - compatible = "nxp,lpc-eth"; - reg = <0x31060000 0x1000>; - interrupt-parent = <&mic>; - interrupts = <29 0>; - - phy-mode = "rmii"; - use-iram; - }; +* NXP LPC32xx SoC Ethernet Controller + +Required properties: +- compatible: Should be "nxp,lpc-eth" +- reg: Address and length of the register set for the device +- interrupts: Should contain ethernet controller interrupt + +Optional properties: +- phy-mode: See ethernet.txt file in the same directory. If the property is + absent, "rmii" is assumed. +- use-iram: Use LPC32xx internal SRAM (IRAM) for DMA buffering + +Optional subnodes: +- mdio : specifies the mdio bus, used as a container for phy nodes according to + phy.txt in the same directory + + +Example: + + mac: ethernet@31060000 { + compatible = "nxp,lpc-eth"; + reg = <0x31060000 0x1000>; + interrupt-parent = <&mic>; + interrupts = <29 0>; + + phy-mode = "rmii"; + use-iram; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/maxim,ds26522.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/maxim,ds26522.yaml index 43dff61e85..6c97eda217 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/maxim,ds26522.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/maxim,ds26522.yaml @@ -1,40 +1,40 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/net/maxim,ds26522.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Maxim (Dallas) DS26522 Dual T1/E1/J1 Transceiver - -maintainers: - - Frank Li - -properties: - compatible: - items: - - const: maxim,ds26522 - - reg: - maxItems: 1 - -required: - - compatible - - reg - -allOf: - - $ref: /schemas/spi/spi-peripheral-props.yaml - -unevaluatedProperties: false - -examples: - - | - spi { - #address-cells = <1>; - #size-cells = <0>; - - transceiver@1 { - compatible = "maxim,ds26522"; - reg = <1>; - spi-max-frequency = <2000000>; /* input clock */ - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/maxim,ds26522.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Maxim (Dallas) DS26522 Dual T1/E1/J1 Transceiver + +maintainers: + - Frank Li + +properties: + compatible: + items: + - const: maxim,ds26522 + + reg: + maxItems: 1 + +required: + - compatible + - reg + +allOf: + - $ref: /schemas/spi/spi-peripheral-props.yaml + +unevaluatedProperties: false + +examples: + - | + spi { + #address-cells = <1>; + #size-cells = <0>; + + transceiver@1 { + compatible = "maxim,ds26522"; + reg = <1>; + spi-max-frequency = <2000000>; /* input clock */ + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/mdio-mux.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/mdio-mux.yaml index 991b6e18cc..4321c87de8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/mdio-mux.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/mdio-mux.yaml @@ -1,41 +1,41 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/net/mdio-mux.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Common MDIO bus multiplexer/switch properties. - -maintainers: - - Andrew Lunn - -description: |+ - An MDIO bus multiplexer/switch will have several child busses that are - numbered uniquely in a device dependent manner. The nodes for an MDIO - bus multiplexer/switch will have one child node for each child bus. - -properties: - mdio-parent-bus: - $ref: /schemas/types.yaml#/definitions/phandle - description: - The phandle of the MDIO bus that this multiplexer's master-side port is - connected to. - - '#address-cells': - const: 1 - - '#size-cells': - const: 0 - -patternProperties: - '^mdio@[0-9a-f]+$': - $ref: mdio.yaml# - unevaluatedProperties: false - - properties: - reg: - maxItems: 1 - -additionalProperties: true - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/mdio-mux.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Common MDIO bus multiplexer/switch properties. + +maintainers: + - Andrew Lunn + +description: |+ + An MDIO bus multiplexer/switch will have several child busses that are + numbered uniquely in a device dependent manner. The nodes for an MDIO + bus multiplexer/switch will have one child node for each child bus. + +properties: + mdio-parent-bus: + $ref: /schemas/types.yaml#/definitions/phandle + description: + The phandle of the MDIO bus that this multiplexer's master-side port is + connected to. + + '#address-cells': + const: 1 + + '#size-cells': + const: 0 + +patternProperties: + '^mdio@[0-9a-f]+$': + $ref: mdio.yaml# + unevaluatedProperties: false + + properties: + reg: + maxItems: 1 + +additionalProperties: true + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/opencores-ethoc.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/opencores-ethoc.txt index 0801d5f0c0..2dc127c30d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/opencores-ethoc.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/opencores-ethoc.txt @@ -1,22 +1,22 @@ -* OpenCores MAC 10/100 Mbps - -Required properties: -- compatible: Should be "opencores,ethoc". -- reg: two memory regions (address and length), - first region is for the device registers and descriptor rings, - second is for the device packet memory. -- interrupts: interrupt for the device. - -Optional properties: -- clocks: phandle to refer to the clk used as per - Documentation/devicetree/bindings/clock/clock-bindings.txt - -Examples: - - enet0: ethoc@fd030000 { - compatible = "opencores,ethoc"; - reg = <0xfd030000 0x4000 0xfd800000 0x4000>; - interrupts = <1>; - local-mac-address = [00 50 c2 13 6f 00]; - clocks = <&osc>; - }; +* OpenCores MAC 10/100 Mbps + +Required properties: +- compatible: Should be "opencores,ethoc". +- reg: two memory regions (address and length), + first region is for the device registers and descriptor rings, + second is for the device packet memory. +- interrupts: interrupt for the device. + +Optional properties: +- clocks: phandle to refer to the clk used as per + Documentation/devicetree/bindings/clock/clock-bindings.txt + +Examples: + + enet0: ethoc@fd030000 { + compatible = "opencores,ethoc"; + reg = <0xfd030000 0x4000 0xfd800000 0x4000>; + interrupts = <1>; + local-mac-address = [00 50 c2 13 6f 00]; + clocks = <&osc>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/pcs/fsl,lynx-pcs.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/pcs/fsl,lynx-pcs.yaml index 8fa03fb05a..fbedf696c5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/pcs/fsl,lynx-pcs.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/pcs/fsl,lynx-pcs.yaml @@ -1,40 +1,40 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/net/pcs/fsl,lynx-pcs.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: NXP Lynx PCS - -maintainers: - - Ioana Ciornei - -description: | - NXP Lynx 10G and 28G SerDes have Ethernet PCS devices which can be used as - protocol controllers. They are accessible over the Ethernet interface's MDIO - bus. - -properties: - compatible: - const: fsl,lynx-pcs - - reg: - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - mdio-bus { - #address-cells = <1>; - #size-cells = <0>; - - qsgmii_pcs1: ethernet-pcs@1 { - compatible = "fsl,lynx-pcs"; - reg = <1>; - }; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/pcs/fsl,lynx-pcs.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NXP Lynx PCS + +maintainers: + - Ioana Ciornei + +description: | + NXP Lynx 10G and 28G SerDes have Ethernet PCS devices which can be used as + protocol controllers. They are accessible over the Ethernet interface's MDIO + bus. + +properties: + compatible: + const: fsl,lynx-pcs + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + mdio-bus { + #address-cells = <1>; + #size-cells = <0>; + + qsgmii_pcs1: ethernet-pcs@1 { + compatible = "fsl,lynx-pcs"; + reg = <1>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/pse-pd/podl-pse-regulator.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/pse-pd/podl-pse-regulator.yaml index 34d9e0ca2e..94a527e6aa 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/pse-pd/podl-pse-regulator.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/pse-pd/podl-pse-regulator.yaml @@ -1,40 +1,40 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/net/pse-pd/podl-pse-regulator.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Regulator based Power Sourcing Equipment - -maintainers: - - Oleksij Rempel - -description: Regulator based PoDL PSE controller. The device must be referenced - by the PHY node to control power injection to the Ethernet cable. - -allOf: - - $ref: pse-controller.yaml# - -properties: - compatible: - const: podl-pse-regulator - - '#pse-cells': - const: 0 - - pse-supply: - description: Power supply for the PSE controller - -additionalProperties: false - -required: - - compatible - - pse-supply - -examples: - - | - ethernet-pse { - compatible = "podl-pse-regulator"; - pse-supply = <®_t1l1>; - #pse-cells = <0>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/pse-pd/podl-pse-regulator.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Regulator based Power Sourcing Equipment + +maintainers: + - Oleksij Rempel + +description: Regulator based PoDL PSE controller. The device must be referenced + by the PHY node to control power injection to the Ethernet cable. + +allOf: + - $ref: pse-controller.yaml# + +properties: + compatible: + const: podl-pse-regulator + + '#pse-cells': + const: 0 + + pse-supply: + description: Power supply for the PSE controller + +additionalProperties: false + +required: + - compatible + - pse-supply + +examples: + - | + ethernet-pse { + compatible = "podl-pse-regulator"; + pse-supply = <®_t1l1>; + #pse-cells = <0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/smsc-lan87xx.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/smsc-lan87xx.txt index c25dcefc57..a8d0dc9a8c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/smsc-lan87xx.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/smsc-lan87xx.txt @@ -1,27 +1,27 @@ -SMSC LAN87xx Ethernet PHY - -Some boards require special tuning values. Configure them -through an Ethernet OF device node. - -Optional properties: - -- clocks: - The clock used as phy reference clock and is connected to phy - pin XTAL1/CLKIN. - -- smsc,disable-energy-detect: - If set, do not enable energy detect mode for the SMSC phy. - default: enable energy detect mode - -Examples: -smsc phy with disabled energy detect mode on an am335x based board. -&davinci_mdio { - pinctrl-names = "default", "sleep"; - pinctrl-0 = <&davinci_mdio_default>; - pinctrl-1 = <&davinci_mdio_sleep>; - - ethernetphy0: ethernet-phy@0 { - reg = <0>; - smsc,disable-energy-detect; - }; -}; +SMSC LAN87xx Ethernet PHY + +Some boards require special tuning values. Configure them +through an Ethernet OF device node. + +Optional properties: + +- clocks: + The clock used as phy reference clock and is connected to phy + pin XTAL1/CLKIN. + +- smsc,disable-energy-detect: + If set, do not enable energy detect mode for the SMSC phy. + default: enable energy detect mode + +Examples: +smsc phy with disabled energy detect mode on an am335x based board. +&davinci_mdio { + pinctrl-names = "default", "sleep"; + pinctrl-0 = <&davinci_mdio_default>; + pinctrl-1 = <&davinci_mdio_sleep>; + + ethernetphy0: ethernet-phy@0 { + reg = <0>; + smsc,disable-energy-detect; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/wireless/esp,esp8089.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/wireless/esp,esp8089.yaml index b2609c281b..0ea84d6fe7 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/wireless/esp,esp8089.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/wireless/esp,esp8089.yaml @@ -1,43 +1,43 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/net/wireless/esp,esp8089.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Espressif ESP8089 - -maintainers: - - Hans de Goede - -properties: - compatible: - const: esp,esp8089 - - reg: - maxItems: 1 - - esp,crystal-26M-en: - $ref: /schemas/types.yaml#/definitions/uint32 - description: > - Value for the crystal_26M_en firmware parameter - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - mmc { - #address-cells = <1>; - #size-cells = <0>; - - wifi@1 { - compatible = "esp,esp8089"; - reg = <1>; - esp,crystal-26M-en = <2>; - }; - }; - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/wireless/esp,esp8089.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Espressif ESP8089 + +maintainers: + - Hans de Goede + +properties: + compatible: + const: esp,esp8089 + + reg: + maxItems: 1 + + esp,crystal-26M-en: + $ref: /schemas/types.yaml#/definitions/uint32 + description: > + Value for the crystal_26M_en firmware parameter + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + mmc { + #address-cells = <1>; + #size-cells = <0>; + + wifi@1 { + compatible = "esp,esp8089"; + reg = <1>; + esp,crystal-26M-en = <2>; + }; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/nvmem/fsl,t1023-sfp.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/nvmem/fsl,t1023-sfp.yaml index 0d457a6a4c..df826b40d8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/nvmem/fsl,t1023-sfp.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/nvmem/fsl,t1023-sfp.yaml @@ -1,37 +1,37 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/nvmem/fsl,t1023-sfp.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: NXP QorIQ eFuse support - -maintainers: - - Richard Alpe - -description: - Read support for the eFuses (SFP) on NXP QorIQ series SoC's. - -allOf: - - $ref: nvmem.yaml# - -properties: - compatible: - const: fsl,t1023-sfp - - reg: - maxItems: 1 - -required: - - compatible - - reg - -unevaluatedProperties: false - -examples: - - | - efuse@e8000 { - compatible = "fsl,t1023-sfp"; - reg = <0xe8000 0x1000>; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/nvmem/fsl,t1023-sfp.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NXP QorIQ eFuse support + +maintainers: + - Richard Alpe + +description: + Read support for the eFuses (SFP) on NXP QorIQ series SoC's. + +allOf: + - $ref: nvmem.yaml# + +properties: + compatible: + const: fsl,t1023-sfp + + reg: + maxItems: 1 + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + efuse@e8000 { + compatible = "fsl,t1023-sfp"; + reg = <0xe8000 0x1000>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/nvmem/ingenic,jz4780-efuse.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/nvmem/ingenic,jz4780-efuse.yaml index fd093cc029..e89fd879c9 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/nvmem/ingenic,jz4780-efuse.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/nvmem/ingenic,jz4780-efuse.yaml @@ -1,45 +1,45 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/nvmem/ingenic,jz4780-efuse.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Ingenic JZ EFUSE driver - -maintainers: - - PrasannaKumar Muralidharan - -allOf: - - $ref: nvmem.yaml# - -properties: - compatible: - enum: - - ingenic,jz4780-efuse - - reg: - maxItems: 1 - - clocks: - # Handle for the ahb for the efuse. - maxItems: 1 - -required: - - compatible - - reg - - clocks - -unevaluatedProperties: false - -examples: - - | - #include - - efuse@134100d0 { - compatible = "ingenic,jz4780-efuse"; - reg = <0x134100d0 0x2c>; - - clocks = <&cgu JZ4780_CLK_AHB2>; - }; - -... +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/nvmem/ingenic,jz4780-efuse.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Ingenic JZ EFUSE driver + +maintainers: + - PrasannaKumar Muralidharan + +allOf: + - $ref: nvmem.yaml# + +properties: + compatible: + enum: + - ingenic,jz4780-efuse + + reg: + maxItems: 1 + + clocks: + # Handle for the ahb for the efuse. + maxItems: 1 + +required: + - compatible + - reg + - clocks + +unevaluatedProperties: false + +examples: + - | + #include + + efuse@134100d0 { + compatible = "ingenic,jz4780-efuse"; + reg = <0x134100d0 0x2c>; + + clocks = <&cgu JZ4780_CLK_AHB2>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/nvmem/layouts/nvmem-layout.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/nvmem/layouts/nvmem-layout.yaml index 2df06a608b..3825070606 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/nvmem/layouts/nvmem-layout.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/nvmem/layouts/nvmem-layout.yaml @@ -1,32 +1,32 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/nvmem/layouts/nvmem-layout.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: NVMEM (Non Volatile Memory) layouts - -maintainers: - - Srinivas Kandagatla - - Michael Walle - - Miquel Raynal - -description: | - Most NVMEM layouts are static and thus do not require additional description - besides the bytes/bits offset and length. Other layouts can be less statically - define and might require dynamic reading of the NVMEM device in order to - perform their parsing. The nvmem-layout container is here to describe these. - -oneOf: - - $ref: fixed-layout.yaml - - $ref: kontron,sl28-vpd.yaml - - $ref: onie,tlv-layout.yaml - - $ref: u-boot,env.yaml - -properties: - compatible: true - -required: - - compatible - -unevaluatedProperties: false +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/nvmem/layouts/nvmem-layout.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NVMEM (Non Volatile Memory) layouts + +maintainers: + - Srinivas Kandagatla + - Michael Walle + - Miquel Raynal + +description: | + Most NVMEM layouts are static and thus do not require additional description + besides the bytes/bits offset and length. Other layouts can be less statically + define and might require dynamic reading of the NVMEM device in order to + perform their parsing. The nvmem-layout container is here to describe these. + +oneOf: + - $ref: fixed-layout.yaml + - $ref: kontron,sl28-vpd.yaml + - $ref: onie,tlv-layout.yaml + - $ref: u-boot,env.yaml + +properties: + compatible: true + +required: + - compatible + +unevaluatedProperties: false diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/nvmem/lpc1857-eeprom.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/nvmem/lpc1857-eeprom.txt index 5c012591ec..809df68f6e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/nvmem/lpc1857-eeprom.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/nvmem/lpc1857-eeprom.txt @@ -1,28 +1,28 @@ -* NXP LPC18xx EEPROM memory NVMEM driver - -Required properties: - - compatible: Should be "nxp,lpc1857-eeprom" - - reg: Must contain an entry with the physical base address and length - for each entry in reg-names. - - reg-names: Must include the following entries. - - reg: EEPROM registers. - - mem: EEPROM address space. - - clocks: Must contain an entry for each entry in clock-names. - - clock-names: Must include the following entries. - - eeprom: EEPROM operating clock. - - resets: Should contain a reference to the reset controller asserting - the EEPROM in reset. - - interrupts: Should contain EEPROM interrupt. - -Example: - - eeprom: eeprom@4000e000 { - compatible = "nxp,lpc1857-eeprom"; - reg = <0x4000e000 0x1000>, - <0x20040000 0x4000>; - reg-names = "reg", "mem"; - clocks = <&ccu1 CLK_CPU_EEPROM>; - clock-names = "eeprom"; - resets = <&rgu 27>; - interrupts = <4>; - }; +* NXP LPC18xx EEPROM memory NVMEM driver + +Required properties: + - compatible: Should be "nxp,lpc1857-eeprom" + - reg: Must contain an entry with the physical base address and length + for each entry in reg-names. + - reg-names: Must include the following entries. + - reg: EEPROM registers. + - mem: EEPROM address space. + - clocks: Must contain an entry for each entry in clock-names. + - clock-names: Must include the following entries. + - eeprom: EEPROM operating clock. + - resets: Should contain a reference to the reset controller asserting + the EEPROM in reset. + - interrupts: Should contain EEPROM interrupt. + +Example: + + eeprom: eeprom@4000e000 { + compatible = "nxp,lpc1857-eeprom"; + reg = <0x4000e000 0x1000>, + <0x20040000 0x4000>; + reg-names = "reg", "mem"; + clocks = <&ccu1 CLK_CPU_EEPROM>; + clock-names = "eeprom"; + resets = <&rgu 27>; + interrupts = <4>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/nvmem/microchip,lan9662-otpc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/nvmem/microchip,lan9662-otpc.yaml index 675b759903..f97c6beb47 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/nvmem/microchip,lan9662-otpc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/nvmem/microchip,lan9662-otpc.yaml @@ -1,45 +1,45 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/nvmem/microchip,lan9662-otpc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Microchip LAN9662 OTP Controller (OTPC) - -maintainers: - - Horatiu Vultur - -description: | - OTP controller drives a NVMEM memory where system specific data - (e.g. hardware configuration settings, chip identifiers) or - user specific data could be stored. - -allOf: - - $ref: nvmem.yaml# - -properties: - compatible: - oneOf: - - items: - - const: microchip,lan9668-otpc - - const: microchip,lan9662-otpc - - enum: - - microchip,lan9662-otpc - - reg: - maxItems: 1 - -required: - - compatible - - reg - -unevaluatedProperties: false - -examples: - - | - otpc: otp@e0021000 { - compatible = "microchip,lan9662-otpc"; - reg = <0xe0021000 0x300>; - }; - -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/nvmem/microchip,lan9662-otpc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Microchip LAN9662 OTP Controller (OTPC) + +maintainers: + - Horatiu Vultur + +description: | + OTP controller drives a NVMEM memory where system specific data + (e.g. hardware configuration settings, chip identifiers) or + user specific data could be stored. + +allOf: + - $ref: nvmem.yaml# + +properties: + compatible: + oneOf: + - items: + - const: microchip,lan9668-otpc + - const: microchip,lan9662-otpc + - enum: + - microchip,lan9662-otpc + + reg: + maxItems: 1 + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + otpc: otp@e0021000 { + compatible = "microchip,lan9662-otpc"; + reg = <0xe0021000 0x300>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/nvmem/mxs-ocotp.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/nvmem/mxs-ocotp.yaml index 11fc618d1c..95121dd631 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/nvmem/mxs-ocotp.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/nvmem/mxs-ocotp.yaml @@ -1,49 +1,49 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/nvmem/mxs-ocotp.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: On-Chip OTP Memory for Freescale i.MX23/i.MX28 - -maintainers: - - Shawn Guo - - Sascha Hauer - - Fabio Estevam - -allOf: - - $ref: nvmem.yaml# - - $ref: nvmem-deprecated-cells.yaml# - -properties: - compatible: - items: - - enum: - - fsl,imx23-ocotp - - fsl,imx28-ocotp - - const: fsl,ocotp - - reg: - maxItems: 1 - - clocks: - maxItems: 1 - -required: - - compatible - - reg - - clocks - -unevaluatedProperties: false - -examples: - - | - ocotp: efuse@8002c000 { - compatible = "fsl,imx28-ocotp", "fsl,ocotp"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x8002c000 0x2000>; - clocks = <&clks 25>; - }; - -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/nvmem/mxs-ocotp.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: On-Chip OTP Memory for Freescale i.MX23/i.MX28 + +maintainers: + - Shawn Guo + - Sascha Hauer + - Fabio Estevam + +allOf: + - $ref: nvmem.yaml# + - $ref: nvmem-deprecated-cells.yaml# + +properties: + compatible: + items: + - enum: + - fsl,imx23-ocotp + - fsl,imx28-ocotp + - const: fsl,ocotp + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + +required: + - compatible + - reg + - clocks + +unevaluatedProperties: false + +examples: + - | + ocotp: efuse@8002c000 { + compatible = "fsl,imx28-ocotp", "fsl,ocotp"; + #address-cells = <1>; + #size-cells = <1>; + reg = <0x8002c000 0x2000>; + clocks = <&clks 25>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/nvmem/nintendo-otp.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/nvmem/nintendo-otp.yaml index 8e92fc11c1..6c26800f8b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/nvmem/nintendo-otp.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/nvmem/nintendo-otp.yaml @@ -1,44 +1,44 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/nvmem/nintendo-otp.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Nintendo Wii and Wii U OTP - -description: | - This binding represents the OTP memory as found on a Nintendo Wii or Wii U, - which contains common and per-console keys, signatures and related data - required to access peripherals. - - See https://wiiubrew.org/wiki/Hardware/OTP - -maintainers: - - Emmanuel Gil Peyrot - -allOf: - - $ref: nvmem.yaml# - -properties: - compatible: - enum: - - nintendo,hollywood-otp - - nintendo,latte-otp - - reg: - maxItems: 1 - -required: - - compatible - - reg - -unevaluatedProperties: false - -examples: - - | - otp@d8001ec { - compatible = "nintendo,latte-otp"; - reg = <0x0d8001ec 0x8>; - }; - -... +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/nvmem/nintendo-otp.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Nintendo Wii and Wii U OTP + +description: | + This binding represents the OTP memory as found on a Nintendo Wii or Wii U, + which contains common and per-console keys, signatures and related data + required to access peripherals. + + See https://wiiubrew.org/wiki/Hardware/OTP + +maintainers: + - Emmanuel Gil Peyrot + +allOf: + - $ref: nvmem.yaml# + +properties: + compatible: + enum: + - nintendo,hollywood-otp + - nintendo,latte-otp + + reg: + maxItems: 1 + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + otp@d8001ec { + compatible = "nintendo,latte-otp"; + reg = <0x0d8001ec 0x8>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/nvmem/nvmem-deprecated-cells.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/nvmem/nvmem-deprecated-cells.yaml index 3afee04cd6..951af28bbf 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/nvmem/nvmem-deprecated-cells.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/nvmem/nvmem-deprecated-cells.yaml @@ -1,28 +1,28 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/nvmem/nvmem-deprecated-cells.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: NVMEM old syntax for fixed cells - -maintainers: - - Srinivas Kandagatla - -description: | - Before introducing NVMEM layouts all NVMEM (fixed) cells were defined - as direct device subnodes. That syntax was replaced by "fixed-layout" - and is deprecated now. No new bindings should use it. - -patternProperties: - "@[0-9a-f]+(,[0-7])?$": - type: object - allOf: - - $ref: layouts/fixed-cell.yaml - - properties: - compatible: false - deprecated: true - -additionalProperties: true - -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/nvmem/nvmem-deprecated-cells.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NVMEM old syntax for fixed cells + +maintainers: + - Srinivas Kandagatla + +description: | + Before introducing NVMEM layouts all NVMEM (fixed) cells were defined + as direct device subnodes. That syntax was replaced by "fixed-layout" + and is deprecated now. No new bindings should use it. + +patternProperties: + "@[0-9a-f]+(,[0-7])?$": + type: object + allOf: + - $ref: layouts/fixed-cell.yaml + - properties: + compatible: false + deprecated: true + +additionalProperties: true + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/nvmem/sprd-efuse.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/nvmem/sprd-efuse.txt index 09517af21f..96b6feec27 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/nvmem/sprd-efuse.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/nvmem/sprd-efuse.txt @@ -1,39 +1,39 @@ -= Spreadtrum eFuse device tree bindings = - -Required properties: -- compatible: Should be "sprd,ums312-efuse". -- reg: Specify the address offset of efuse controller. -- clock-names: Should be "enable". -- clocks: The phandle and specifier referencing the controller's clock. -- hwlocks: Reference to a phandle of a hwlock provider node. - -= Data cells = -Are child nodes of eFuse, bindings of which as described in -bindings/nvmem/nvmem.txt - -Example: - - ap_efuse: efuse@32240000 { - compatible = "sprd,ums312-efuse"; - reg = <0 0x32240000 0 0x10000>; - clock-names = "enable"; - hwlocks = <&hwlock 8>; - clocks = <&aonapb_gate CLK_EFUSE_EB>; - - /* Data cells */ - thermal_calib: calib@10 { - reg = <0x10 0x2>; - }; - }; - -= Data consumers = -Are device nodes which consume nvmem data cells. - -Example: - - thermal { - ... - - nvmem-cells = <&thermal_calib>; - nvmem-cell-names = "calibration"; - }; += Spreadtrum eFuse device tree bindings = + +Required properties: +- compatible: Should be "sprd,ums312-efuse". +- reg: Specify the address offset of efuse controller. +- clock-names: Should be "enable". +- clocks: The phandle and specifier referencing the controller's clock. +- hwlocks: Reference to a phandle of a hwlock provider node. + += Data cells = +Are child nodes of eFuse, bindings of which as described in +bindings/nvmem/nvmem.txt + +Example: + + ap_efuse: efuse@32240000 { + compatible = "sprd,ums312-efuse"; + reg = <0 0x32240000 0 0x10000>; + clock-names = "enable"; + hwlocks = <&hwlock 8>; + clocks = <&aonapb_gate CLK_EFUSE_EB>; + + /* Data cells */ + thermal_calib: calib@10 { + reg = <0x10 0x2>; + }; + }; + += Data consumers = +Are device nodes which consume nvmem data cells. + +Example: + + thermal { + ... + + nvmem-cells = <&thermal_calib>; + nvmem-cell-names = "calibration"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pci/cdns-pcie-host.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pci/cdns-pcie-host.yaml index d66ff4b0b0..f4eb82e684 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pci/cdns-pcie-host.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pci/cdns-pcie-host.yaml @@ -1,37 +1,37 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/pci/cdns-pcie-host.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Cadence PCIe Host - -maintainers: - - Tom Joseph - -allOf: - - $ref: /schemas/pci/pci-host-bridge.yaml# - - $ref: cdns-pcie.yaml# - -properties: - cdns,max-outbound-regions: - description: maximum number of outbound regions - $ref: /schemas/types.yaml#/definitions/uint32 - minimum: 1 - maximum: 32 - default: 32 - deprecated: true - - cdns,no-bar-match-nbits: - description: - Set into the no BAR match register to configure the number of least - significant bits kept during inbound (PCIe -> AXI) address translations - $ref: /schemas/types.yaml#/definitions/uint32 - minimum: 0 - maximum: 64 - default: 32 - deprecated: true - - msi-parent: true - -additionalProperties: true +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/pci/cdns-pcie-host.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Cadence PCIe Host + +maintainers: + - Tom Joseph + +allOf: + - $ref: /schemas/pci/pci-host-bridge.yaml# + - $ref: cdns-pcie.yaml# + +properties: + cdns,max-outbound-regions: + description: maximum number of outbound regions + $ref: /schemas/types.yaml#/definitions/uint32 + minimum: 1 + maximum: 32 + default: 32 + deprecated: true + + cdns,no-bar-match-nbits: + description: + Set into the no BAR match register to configure the number of least + significant bits kept during inbound (PCIe -> AXI) address translations + $ref: /schemas/types.yaml#/definitions/uint32 + minimum: 0 + maximum: 64 + default: 32 + deprecated: true + + msi-parent: true + +additionalProperties: true diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pci/fsl,pci.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pci/fsl,pci.txt index a3dd1ff413..d8ac4a768e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pci/fsl,pci.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pci/fsl,pci.txt @@ -1,27 +1,27 @@ -* Bus Enumeration by Freescale PCI-X Agent - -Typically any Freescale PCI-X bridge hardware strapped into Agent mode -is prevented from enumerating the bus. The PrPMC form-factor requires -all mezzanines to be PCI-X Agents, but one per system may still -enumerate the bus. - -The property defined below will allow a PCI-X bridge to be used for bus -enumeration despite being strapped into Agent mode. - -Required properties: -- fsl,pci-agent-force-enum : There is no value associated with this - property. The property itself is treated as a boolean. - -Example: - - /* PCI-X bridge known to be PrPMC Monarch */ - pci0: pci@ef008000 { - fsl,pci-agent-force-enum; - #interrupt-cells = <1>; - #size-cells = <2>; - #address-cells = <3>; - compatible = "fsl,mpc8540-pcix", "fsl,mpc8540-pci"; - device_type = "pci"; - ... - ... - }; +* Bus Enumeration by Freescale PCI-X Agent + +Typically any Freescale PCI-X bridge hardware strapped into Agent mode +is prevented from enumerating the bus. The PrPMC form-factor requires +all mezzanines to be PCI-X Agents, but one per system may still +enumerate the bus. + +The property defined below will allow a PCI-X bridge to be used for bus +enumeration despite being strapped into Agent mode. + +Required properties: +- fsl,pci-agent-force-enum : There is no value associated with this + property. The property itself is treated as a boolean. + +Example: + + /* PCI-X bridge known to be PrPMC Monarch */ + pci0: pci@ef008000 { + fsl,pci-agent-force-enum; + #interrupt-cells = <1>; + #size-cells = <2>; + #address-cells = <3>; + compatible = "fsl,mpc8540-pcix", "fsl,mpc8540-pci"; + device_type = "pci"; + ... + ... + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pci/mediatek-pcie-cfg.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pci/mediatek-pcie-cfg.yaml index a03a9ed0ed..841a3d284b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pci/mediatek-pcie-cfg.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pci/mediatek-pcie-cfg.yaml @@ -1,39 +1,39 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/pci/mediatek-pcie-cfg.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: MediaTek PCIECFG controller - -maintainers: - - Chuanjia Liu - - Jianjun Wang - -description: | - The MediaTek PCIECFG controller controls some feature about - LTSSM, ASPM and so on. - -properties: - compatible: - items: - - enum: - - mediatek,generic-pciecfg - - const: syscon - - reg: - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - pciecfg: pciecfg@1a140000 { - compatible = "mediatek,generic-pciecfg", "syscon"; - reg = <0x1a140000 0x1000>; - }; -... +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/pci/mediatek-pcie-cfg.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: MediaTek PCIECFG controller + +maintainers: + - Chuanjia Liu + - Jianjun Wang + +description: | + The MediaTek PCIECFG controller controls some feature about + LTSSM, ASPM and so on. + +properties: + compatible: + items: + - enum: + - mediatek,generic-pciecfg + - const: syscon + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + pciecfg: pciecfg@1a140000 { + compatible = "mediatek,generic-pciecfg", "syscon"; + reg = <0x1a140000 0x1000>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/peci/peci-controller.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/peci/peci-controller.yaml index 4b7d1d5d67..d7853291b0 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/peci/peci-controller.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/peci/peci-controller.yaml @@ -1,33 +1,33 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/peci/peci-controller.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Generic for PECI - -maintainers: - - Iwona Winiarska - -description: - PECI (Platform Environment Control Interface) is an interface that provides a - communication channel from Intel processors and chipset components to external - monitoring or control devices. - -properties: - $nodename: - pattern: "^peci-controller(@.*)?$" - - cmd-timeout-ms: - description: - Command timeout in units of ms. - -additionalProperties: true - -examples: - - | - peci-controller@1e78b000 { - reg = <0x1e78b000 0x100>; - cmd-timeout-ms = <500>; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/peci/peci-controller.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Generic for PECI + +maintainers: + - Iwona Winiarska + +description: + PECI (Platform Environment Control Interface) is an interface that provides a + communication channel from Intel processors and chipset components to external + monitoring or control devices. + +properties: + $nodename: + pattern: "^peci-controller(@.*)?$" + + cmd-timeout-ms: + description: + Command timeout in units of ms. + +additionalProperties: true + +examples: + - | + peci-controller@1e78b000 { + reg = <0x1e78b000 0x100>; + cmd-timeout-ms = <500>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/perf/arm,ccn.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/perf/arm,ccn.yaml index 298536aa14..0b0bb20910 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/perf/arm,ccn.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/perf/arm,ccn.yaml @@ -1,40 +1,40 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/perf/arm,ccn.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: ARM CCN (Cache Coherent Network) Performance Monitors - -maintainers: - - Robin Murphy - -properties: - compatible: - enum: - - arm,ccn-502 - - arm,ccn-504 - - arm,ccn-508 - - arm,ccn-512 - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - -required: - - compatible - - reg - - interrupts - -additionalProperties: false - -examples: - - | - ccn@20000000 { - compatible = "arm,ccn-504"; - reg = <0x20000000 0x1000000>; - interrupts = <0 181 4>; - }; -... +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/perf/arm,ccn.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ARM CCN (Cache Coherent Network) Performance Monitors + +maintainers: + - Robin Murphy + +properties: + compatible: + enum: + - arm,ccn-502 + - arm,ccn-504 + - arm,ccn-508 + - arm,ccn-512 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + +additionalProperties: false + +examples: + - | + ccn@20000000 { + compatible = "arm,ccn-504"; + reg = <0x20000000 0x1000000>; + interrupts = <0 181 4>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/perf/arm,coresight-pmu.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/perf/arm,coresight-pmu.yaml index ef3465bc14..985b62990f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/perf/arm,coresight-pmu.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/perf/arm,coresight-pmu.yaml @@ -1,39 +1,39 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/perf/arm,coresight-pmu.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Arm Coresight Performance Monitoring Unit Architecture - -maintainers: - - Robin Murphy - -properties: - compatible: - const: arm,coresight-pmu - - reg: - items: - - description: Register page 0 - - description: Register page 1, if the PMU implements the dual-page extension - minItems: 1 - - interrupts: - items: - - description: Overflow interrupt - - cpus: - description: If the PMU is associated with a particular CPU or subset of CPUs, - array of phandles to the appropriate CPU node(s) - - reg-io-width: - description: Granularity at which PMU register accesses are single-copy atomic - default: 4 - enum: [4, 8] - -required: - - compatible - - reg - -additionalProperties: false +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/perf/arm,coresight-pmu.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Arm Coresight Performance Monitoring Unit Architecture + +maintainers: + - Robin Murphy + +properties: + compatible: + const: arm,coresight-pmu + + reg: + items: + - description: Register page 0 + - description: Register page 1, if the PMU implements the dual-page extension + minItems: 1 + + interrupts: + items: + - description: Overflow interrupt + + cpus: + description: If the PMU is associated with a particular CPU or subset of CPUs, + array of phandles to the appropriate CPU node(s) + + reg-io-width: + description: Granularity at which PMU register accesses are single-copy atomic + default: 4 + enum: [4, 8] + +required: + - compatible + - reg + +additionalProperties: false diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/perf/arm,ni.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/perf/arm,ni.yaml index 1d97011f8c..d66fffa256 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/perf/arm,ni.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/perf/arm,ni.yaml @@ -1,30 +1,30 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/perf/arm,ni.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Arm NI (Network-on-Chip Interconnect) Performance Monitors - -maintainers: - - Robin Murphy - -properties: - compatible: - const: arm,ni-700 - - reg: - items: - - description: Complete configuration register space - - interrupts: - minItems: 1 - maxItems: 32 - description: Overflow interrupts, one per clock domain, in order of domain ID - -required: - - compatible - - reg - - interrupts - -additionalProperties: false +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/perf/arm,ni.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Arm NI (Network-on-Chip Interconnect) Performance Monitors + +maintainers: + - Robin Murphy + +properties: + compatible: + const: arm,ni-700 + + reg: + items: + - description: Complete configuration register space + + interrupts: + minItems: 1 + maxItems: 32 + description: Overflow interrupts, one per clock domain, in order of domain ID + +required: + - compatible + - reg + - interrupts + +additionalProperties: false diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/perf/marvell-cn10k-ddr.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/perf/marvell-cn10k-ddr.yaml index 76bb6e4dcb..a18dd0a8c4 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/perf/marvell-cn10k-ddr.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/perf/marvell-cn10k-ddr.yaml @@ -1,37 +1,37 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/perf/marvell-cn10k-ddr.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Marvell CN10K DDR performance monitor - -maintainers: - - Bharat Bhushan - -properties: - compatible: - items: - - enum: - - marvell,cn10k-ddr-pmu - - reg: - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - bus { - #address-cells = <2>; - #size-cells = <2>; - - pmu@87e1c0000000 { - compatible = "marvell,cn10k-ddr-pmu"; - reg = <0x87e1 0xc0000000 0x0 0x10000>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/perf/marvell-cn10k-ddr.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Marvell CN10K DDR performance monitor + +maintainers: + - Bharat Bhushan + +properties: + compatible: + items: + - enum: + - marvell,cn10k-ddr-pmu + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + bus { + #address-cells = <2>; + #size-cells = <2>; + + pmu@87e1c0000000 { + compatible = "marvell,cn10k-ddr-pmu"; + reg = <0x87e1 0xc0000000 0x0 0x10000>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/allwinner,sun50i-h6-usb3-phy.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/allwinner,sun50i-h6-usb3-phy.yaml index 0ed7edad1b..cf4eed2305 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/allwinner,sun50i-h6-usb3-phy.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/allwinner,sun50i-h6-usb3-phy.yaml @@ -1,49 +1,49 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -# Copyright 2019 Ondrej Jirman -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/phy/allwinner,sun50i-h6-usb3-phy.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Allwinner H6 USB3 PHY - -maintainers: - - Ondrej Jirman - -properties: - compatible: - enum: - - allwinner,sun50i-h6-usb3-phy - - reg: - maxItems: 1 - - clocks: - maxItems: 1 - - resets: - maxItems: 1 - - "#phy-cells": - const: 0 - -required: - - compatible - - reg - - clocks - - resets - - "#phy-cells" - -additionalProperties: false - -examples: - - | - #include - #include - phy@5210000 { - compatible = "allwinner,sun50i-h6-usb3-phy"; - reg = <0x5210000 0x10000>; - clocks = <&ccu CLK_USB_PHY1>; - resets = <&ccu RST_USB_PHY1>; - #phy-cells = <0>; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +# Copyright 2019 Ondrej Jirman +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/allwinner,sun50i-h6-usb3-phy.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Allwinner H6 USB3 PHY + +maintainers: + - Ondrej Jirman + +properties: + compatible: + enum: + - allwinner,sun50i-h6-usb3-phy + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + resets: + maxItems: 1 + + "#phy-cells": + const: 0 + +required: + - compatible + - reg + - clocks + - resets + - "#phy-cells" + +additionalProperties: false + +examples: + - | + #include + #include + phy@5210000 { + compatible = "allwinner,sun50i-h6-usb3-phy"; + reg = <0x5210000 0x10000>; + clocks = <&ccu CLK_USB_PHY1>; + resets = <&ccu RST_USB_PHY1>; + #phy-cells = <0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/berlin-sata-phy.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/berlin-sata-phy.txt index 87cc29dbcd..c0155f842f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/berlin-sata-phy.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/berlin-sata-phy.txt @@ -1,36 +1,36 @@ -Berlin SATA PHY ---------------- - -Required properties: -- compatible: should be one of - "marvell,berlin2-sata-phy" - "marvell,berlin2q-sata-phy" -- address-cells: should be 1 -- size-cells: should be 0 -- phy-cells: from the generic PHY bindings, must be 1 -- reg: address and length of the register -- clocks: reference to the clock entry - -Sub-nodes: -Each PHY should be represented as a sub-node. - -Sub-nodes required properties: -- reg: the PHY number - -Example: - sata_phy: phy@f7e900a0 { - compatible = "marvell,berlin2q-sata-phy"; - reg = <0xf7e900a0 0x200>; - clocks = <&chip CLKID_SATA>; - #address-cells = <1>; - #size-cells = <0>; - #phy-cells = <1>; - - sata-phy@0 { - reg = <0>; - }; - - sata-phy@1 { - reg = <1>; - }; - }; +Berlin SATA PHY +--------------- + +Required properties: +- compatible: should be one of + "marvell,berlin2-sata-phy" + "marvell,berlin2q-sata-phy" +- address-cells: should be 1 +- size-cells: should be 0 +- phy-cells: from the generic PHY bindings, must be 1 +- reg: address and length of the register +- clocks: reference to the clock entry + +Sub-nodes: +Each PHY should be represented as a sub-node. + +Sub-nodes required properties: +- reg: the PHY number + +Example: + sata_phy: phy@f7e900a0 { + compatible = "marvell,berlin2q-sata-phy"; + reg = <0xf7e900a0 0x200>; + clocks = <&chip CLKID_SATA>; + #address-cells = <1>; + #size-cells = <0>; + #phy-cells = <1>; + + sata-phy@0 { + reg = <0>; + }; + + sata-phy@1 { + reg = <1>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/brcm,kona-usb2-phy.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/brcm,kona-usb2-phy.yaml index fc76ce9278..d7faeb81f7 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/brcm,kona-usb2-phy.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/brcm,kona-usb2-phy.yaml @@ -1,36 +1,36 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/phy/brcm,kona-usb2-phy.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Broadcom Kona family USB 2.0 PHY - -maintainers: - - Florian Fainelli - -properties: - compatible: - const: brcm,kona-usb2-phy - - reg: - maxItems: 1 - - '#phy-cells': - const: 0 - -required: - - compatible - - reg - - '#phy-cells' - -additionalProperties: false - -examples: - - | - usb-phy@3f130000 { - compatible = "brcm,kona-usb2-phy"; - reg = <0x3f130000 0x28>; - #phy-cells = <0>; - }; -... +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/brcm,kona-usb2-phy.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom Kona family USB 2.0 PHY + +maintainers: + - Florian Fainelli + +properties: + compatible: + const: brcm,kona-usb2-phy + + reg: + maxItems: 1 + + '#phy-cells': + const: 0 + +required: + - compatible + - reg + - '#phy-cells' + +additionalProperties: false + +examples: + - | + usb-phy@3f130000 { + compatible = "brcm,kona-usb2-phy"; + reg = <0x3f130000 0x28>; + #phy-cells = <0>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/brcm,ns2-drd-phy.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/brcm,ns2-drd-phy.txt index 66e463f9a3..04f063aa78 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/brcm,ns2-drd-phy.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/brcm,ns2-drd-phy.txt @@ -1,30 +1,30 @@ -BROADCOM NORTHSTAR2 USB2 (DUAL ROLE DEVICE) PHY - -Required properties: - - compatible: brcm,ns2-drd-phy - - reg: offset and length of the NS2 PHY related registers. - - reg-names - The below registers must be provided. - icfg - for DRD ICFG configurations - rst-ctrl - for DRD IDM reset - crmu-ctrl - for CRMU core vdd, PHY and PHY PLL reset - usb2-strap - for port over current polarity reversal - - #phy-cells: Must be 0. No args required. - - vbus-gpios: vbus gpio binding - - id-gpios: id gpio binding - -Refer to phy/phy-bindings.txt for the generic PHY binding properties - -Example: - usbdrd_phy: phy@66000960 { - #phy-cells = <0>; - compatible = "brcm,ns2-drd-phy"; - reg = <0x66000960 0x24>, - <0x67012800 0x4>, - <0x6501d148 0x4>, - <0x664d0700 0x4>; - reg-names = "icfg", "rst-ctrl", - "crmu-ctrl", "usb2-strap"; - id-gpios = <&gpio_g 30 0>; - vbus-gpios = <&gpio_g 31 0>; - }; +BROADCOM NORTHSTAR2 USB2 (DUAL ROLE DEVICE) PHY + +Required properties: + - compatible: brcm,ns2-drd-phy + - reg: offset and length of the NS2 PHY related registers. + - reg-names + The below registers must be provided. + icfg - for DRD ICFG configurations + rst-ctrl - for DRD IDM reset + crmu-ctrl - for CRMU core vdd, PHY and PHY PLL reset + usb2-strap - for port over current polarity reversal + - #phy-cells: Must be 0. No args required. + - vbus-gpios: vbus gpio binding + - id-gpios: id gpio binding + +Refer to phy/phy-bindings.txt for the generic PHY binding properties + +Example: + usbdrd_phy: phy@66000960 { + #phy-cells = <0>; + compatible = "brcm,ns2-drd-phy"; + reg = <0x66000960 0x24>, + <0x67012800 0x4>, + <0x6501d148 0x4>, + <0x664d0700 0x4>; + reg-names = "icfg", "rst-ctrl", + "crmu-ctrl", "usb2-strap"; + id-gpios = <&gpio_g 30 0>; + vbus-gpios = <&gpio_g 31 0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/brcm,ns2-pcie-phy.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/brcm,ns2-pcie-phy.yaml index 6ede6eaa8a..527010702f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/brcm,ns2-pcie-phy.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/brcm,ns2-pcie-phy.yaml @@ -1,41 +1,41 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/phy/brcm,ns2-pcie-phy.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Broadcom NS2 PCIe PHY - -maintainers: - - Ray Jui - - Scott Branden - -properties: - compatible: - const: brcm,ns2-pcie-phy - - reg: - maxItems: 1 - - "#phy-cells": - const: 0 - -required: - - compatible - - reg - - "#phy-cells" - -additionalProperties: false - -examples: - - | - mdio { - #address-cells = <1>; - #size-cells = <0>; - - pci-phy@0 { - compatible = "brcm,ns2-pcie-phy"; - reg = <0x0>; - #phy-cells = <0>; - }; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/brcm,ns2-pcie-phy.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom NS2 PCIe PHY + +maintainers: + - Ray Jui + - Scott Branden + +properties: + compatible: + const: brcm,ns2-pcie-phy + + reg: + maxItems: 1 + + "#phy-cells": + const: 0 + +required: + - compatible + - reg + - "#phy-cells" + +additionalProperties: false + +examples: + - | + mdio { + #address-cells = <1>; + #size-cells = <0>; + + pci-phy@0 { + compatible = "brcm,ns2-pcie-phy"; + reg = <0x0>; + #phy-cells = <0>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/brcm,stingray-usb-phy.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/brcm,stingray-usb-phy.txt index 94c4ee0019..4ba298966a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/brcm,stingray-usb-phy.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/brcm,stingray-usb-phy.txt @@ -1,32 +1,32 @@ -Broadcom Stingray USB PHY - -Required properties: - - compatible : should be one of the listed compatibles - - "brcm,sr-usb-combo-phy" is combo PHY has two PHYs, one SS and one HS. - - "brcm,sr-usb-hs-phy" is a single HS PHY. - - reg: offset and length of the PHY blocks registers - - #phy-cells: - - Must be 1 for brcm,sr-usb-combo-phy as it expects one argument to indicate - the PHY number of two PHYs. 0 for HS PHY and 1 for SS PHY. - - Must be 0 for brcm,sr-usb-hs-phy. - -Refer to phy/phy-bindings.txt for the generic PHY binding properties - -Example: - usbphy0: usb-phy@0 { - compatible = "brcm,sr-usb-combo-phy"; - reg = <0x00000000 0x100>; - #phy-cells = <1>; - }; - - usbphy1: usb-phy@10000 { - compatible = "brcm,sr-usb-combo-phy"; - reg = <0x00010000 0x100>, - #phy-cells = <1>; - }; - - usbphy2: usb-phy@20000 { - compatible = "brcm,sr-usb-hs-phy"; - reg = <0x00020000 0x100>, - #phy-cells = <0>; - }; +Broadcom Stingray USB PHY + +Required properties: + - compatible : should be one of the listed compatibles + - "brcm,sr-usb-combo-phy" is combo PHY has two PHYs, one SS and one HS. + - "brcm,sr-usb-hs-phy" is a single HS PHY. + - reg: offset and length of the PHY blocks registers + - #phy-cells: + - Must be 1 for brcm,sr-usb-combo-phy as it expects one argument to indicate + the PHY number of two PHYs. 0 for HS PHY and 1 for SS PHY. + - Must be 0 for brcm,sr-usb-hs-phy. + +Refer to phy/phy-bindings.txt for the generic PHY binding properties + +Example: + usbphy0: usb-phy@0 { + compatible = "brcm,sr-usb-combo-phy"; + reg = <0x00000000 0x100>; + #phy-cells = <1>; + }; + + usbphy1: usb-phy@10000 { + compatible = "brcm,sr-usb-combo-phy"; + reg = <0x00010000 0x100>, + #phy-cells = <1>; + }; + + usbphy2: usb-phy@20000 { + compatible = "brcm,sr-usb-hs-phy"; + reg = <0x00020000 0x100>, + #phy-cells = <0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/cdns,dphy-rx.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/cdns,dphy-rx.yaml index 0111750ba3..6fdd46ad5a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/cdns,dphy-rx.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/cdns,dphy-rx.yaml @@ -1,42 +1,42 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/phy/cdns,dphy-rx.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Cadence DPHY Rx - -maintainers: - - Pratyush Yadav - -properties: - compatible: - items: - - const: cdns,dphy-rx - - reg: - maxItems: 1 - - "#phy-cells": - const: 0 - - power-domains: - maxItems: 1 - -required: - - compatible - - reg - - "#phy-cells" - -additionalProperties: false - -examples: - - | - #include - - dphy0: phy@4580000 { - compatible = "cdns,dphy-rx"; - reg = <0x4580000 0x1100>; - #phy-cells = <0>; - power-domains = <&k3_pds 147 TI_SCI_PD_EXCLUSIVE>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/cdns,dphy-rx.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Cadence DPHY Rx + +maintainers: + - Pratyush Yadav + +properties: + compatible: + items: + - const: cdns,dphy-rx + + reg: + maxItems: 1 + + "#phy-cells": + const: 0 + + power-domains: + maxItems: 1 + +required: + - compatible + - reg + - "#phy-cells" + +additionalProperties: false + +examples: + - | + #include + + dphy0: phy@4580000 { + compatible = "cdns,dphy-rx"; + reg = <0x4580000 0x1100>; + #phy-cells = <0>; + power-domains = <&k3_pds 147 TI_SCI_PD_EXCLUSIVE>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/dm816x-phy.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/dm816x-phy.txt index 8b79079f9f..2fe3d11d06 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/dm816x-phy.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/dm816x-phy.txt @@ -1,24 +1,24 @@ -Device tree binding documentation for am816x USB PHY -========================= - -Required properties: -- compatible : should be "ti,dm816x-usb-phy" -- reg : offset and length of the PHY register set. -- reg-names : name for the phy registers -- clocks : phandle to the clock -- clock-names : name of the clock -- syscon: phandle for the syscon node to access misc registers -- #phy-cells : from the generic PHY bindings, must be 1 -- syscon: phandle for the syscon node to access misc registers - -Example: - -usb_phy0: usb-phy@20 { - compatible = "ti,dm8168-usb-phy"; - reg = <0x20 0x8>; - reg-names = "phy"; - clocks = <&main_fapll 6>; - clock-names = "refclk"; - #phy-cells = <0>; - syscon = <&scm_conf>; -}; +Device tree binding documentation for am816x USB PHY +========================= + +Required properties: +- compatible : should be "ti,dm816x-usb-phy" +- reg : offset and length of the PHY register set. +- reg-names : name for the phy registers +- clocks : phandle to the clock +- clock-names : name of the clock +- syscon: phandle for the syscon node to access misc registers +- #phy-cells : from the generic PHY bindings, must be 1 +- syscon: phandle for the syscon node to access misc registers + +Example: + +usb_phy0: usb-phy@20 { + compatible = "ti,dm8168-usb-phy"; + reg = <0x20 0x8>; + reg-names = "phy"; + clocks = <&main_fapll 6>; + clock-names = "refclk"; + #phy-cells = <0>; + syscon = <&scm_conf>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/fsl,lynx-28g.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/fsl,lynx-28g.yaml index fe5f060453..ff9f9ca0f1 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/fsl,lynx-28g.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/fsl,lynx-28g.yaml @@ -1,40 +1,40 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/phy/fsl,lynx-28g.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Freescale Lynx 28G SerDes PHY - -maintainers: - - Ioana Ciornei - -properties: - compatible: - enum: - - fsl,lynx-28g - - reg: - maxItems: 1 - - "#phy-cells": - const: 1 - -required: - - compatible - - reg - - "#phy-cells" - -additionalProperties: false - -examples: - - | - soc { - #address-cells = <2>; - #size-cells = <2>; - serdes_1: phy@1ea0000 { - compatible = "fsl,lynx-28g"; - reg = <0x0 0x1ea0000 0x0 0x1e30>; - #phy-cells = <1>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/fsl,lynx-28g.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Freescale Lynx 28G SerDes PHY + +maintainers: + - Ioana Ciornei + +properties: + compatible: + enum: + - fsl,lynx-28g + + reg: + maxItems: 1 + + "#phy-cells": + const: 1 + +required: + - compatible + - reg + - "#phy-cells" + +additionalProperties: false + +examples: + - | + soc { + #address-cells = <2>; + #size-cells = <2>; + serdes_1: phy@1ea0000 { + compatible = "fsl,lynx-28g"; + reg = <0x0 0x1ea0000 0x0 0x1e30>; + #phy-cells = <1>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/hix5hd2-phy.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/hix5hd2-phy.txt index 30de485aec..296168b74d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/hix5hd2-phy.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/hix5hd2-phy.txt @@ -1,22 +1,22 @@ -Hisilicon hix5hd2 SATA PHY ------------------------ - -Required properties: -- compatible: should be "hisilicon,hix5hd2-sata-phy" -- reg: offset and length of the PHY registers -- #phy-cells: must be 0 -Refer to phy/phy-bindings.txt for the generic PHY binding properties - -Optional Properties: -- hisilicon,peripheral-syscon: phandle of syscon used to control peripheral. -- hisilicon,power-reg: offset and bit number within peripheral-syscon, - register of controlling sata power supply. - -Example: - sata_phy: phy@f9900000 { - compatible = "hisilicon,hix5hd2-sata-phy"; - reg = <0xf9900000 0x10000>; - #phy-cells = <0>; - hisilicon,peripheral-syscon = <&peripheral_ctrl>; - hisilicon,power-reg = <0x8 10>; - }; +Hisilicon hix5hd2 SATA PHY +----------------------- + +Required properties: +- compatible: should be "hisilicon,hix5hd2-sata-phy" +- reg: offset and length of the PHY registers +- #phy-cells: must be 0 +Refer to phy/phy-bindings.txt for the generic PHY binding properties + +Optional Properties: +- hisilicon,peripheral-syscon: phandle of syscon used to control peripheral. +- hisilicon,power-reg: offset and bit number within peripheral-syscon, + register of controlling sata power supply. + +Example: + sata_phy: phy@f9900000 { + compatible = "hisilicon,hix5hd2-sata-phy"; + reg = <0xf9900000 0x10000>; + #phy-cells = <0>; + hisilicon,peripheral-syscon = <&peripheral_ctrl>; + hisilicon,power-reg = <0x8 10>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/intel,keembay-phy-usb.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/intel,keembay-phy-usb.yaml index ca204210b4..5cee4c85ff 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/intel,keembay-phy-usb.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/intel,keembay-phy-usb.yaml @@ -1,44 +1,44 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/phy/intel,keembay-phy-usb.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Intel Keem Bay USB PHY - -maintainers: - - Wan Ahmad Zainie - -properties: - compatible: - const: intel,keembay-usb-phy - - reg: - items: - - description: USB APB CPR (clock, power, reset) register - - description: USB APB slave register - - reg-names: - items: - - const: cpr-apb-base - - const: slv-apb-base - - '#phy-cells': - const: 0 - -required: - - compatible - - reg - - '#phy-cells' - -additionalProperties: false - -examples: - - | - usb-phy@20400000 { - compatible = "intel,keembay-usb-phy"; - reg = <0x20400000 0x1c>, - <0x20480000 0xd0>; - reg-names = "cpr-apb-base", "slv-apb-base"; - #phy-cells = <0>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/intel,keembay-phy-usb.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Intel Keem Bay USB PHY + +maintainers: + - Wan Ahmad Zainie + +properties: + compatible: + const: intel,keembay-usb-phy + + reg: + items: + - description: USB APB CPR (clock, power, reset) register + - description: USB APB slave register + + reg-names: + items: + - const: cpr-apb-base + - const: slv-apb-base + + '#phy-cells': + const: 0 + +required: + - compatible + - reg + - '#phy-cells' + +additionalProperties: false + +examples: + - | + usb-phy@20400000 { + compatible = "intel,keembay-usb-phy"; + reg = <0x20400000 0x1c>, + <0x20480000 0xd0>; + reg-names = "cpr-apb-base", "slv-apb-base"; + #phy-cells = <0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/keystone-usb-phy.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/keystone-usb-phy.txt index d90a87ed39..300830dda0 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/keystone-usb-phy.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/keystone-usb-phy.txt @@ -1,19 +1,19 @@ -TI Keystone USB PHY - -Required properties: - - compatible: should be "ti,keystone-usbphy". - - #address-cells, #size-cells : should be '1' if the device has sub-nodes - with 'reg' property. - - reg : Address and length of the usb phy control register set. - -The main purpose of this PHY driver is to enable the USB PHY reference clock -gate on the Keystone SOC for both the USB2 and USB3 PHY. Otherwise it is just -an NOP PHY driver. Hence this node is referenced as both the usb2 and usb3 -phy node in the USB Glue layer driver node. - -usb_phy: usb_phy@2620738 { - compatible = "ti,keystone-usbphy"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x2620738 32>; -}; +TI Keystone USB PHY + +Required properties: + - compatible: should be "ti,keystone-usbphy". + - #address-cells, #size-cells : should be '1' if the device has sub-nodes + with 'reg' property. + - reg : Address and length of the usb phy control register set. + +The main purpose of this PHY driver is to enable the USB PHY reference clock +gate on the Keystone SOC for both the USB2 and USB3 PHY. Otherwise it is just +an NOP PHY driver. Hence this node is referenced as both the usb2 and usb3 +phy node in the USB Glue layer driver node. + +usb_phy: usb_phy@2620738 { + compatible = "ti,keystone-usbphy"; + #address-cells = <1>; + #size-cells = <1>; + reg = <0x2620738 32>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/marvell,mmp3-hsic-phy.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/marvell,mmp3-hsic-phy.yaml index 69420fb7d3..bd3bd2f8b1 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/marvell,mmp3-hsic-phy.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/marvell,mmp3-hsic-phy.yaml @@ -1,37 +1,37 @@ -# SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) -# Copyright 2019 Lubomir Rintel -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/phy/marvell,mmp3-hsic-phy.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Marvell MMP3 HSIC PHY - -maintainers: - - Lubomir Rintel - -properties: - compatible: - const: marvell,mmp3-hsic-phy - - reg: - maxItems: 1 - description: base address of the device - - "#phy-cells": - const: 0 - -required: - - compatible - - reg - - "#phy-cells" - -additionalProperties: false - -examples: - - | - hsic-phy@f0001800 { - compatible = "marvell,mmp3-hsic-phy"; - reg = <0xf0001800 0x40>; - #phy-cells = <0>; - }; +# SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) +# Copyright 2019 Lubomir Rintel +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/marvell,mmp3-hsic-phy.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Marvell MMP3 HSIC PHY + +maintainers: + - Lubomir Rintel + +properties: + compatible: + const: marvell,mmp3-hsic-phy + + reg: + maxItems: 1 + description: base address of the device + + "#phy-cells": + const: 0 + +required: + - compatible + - reg + - "#phy-cells" + +additionalProperties: false + +examples: + - | + hsic-phy@f0001800 { + compatible = "marvell,mmp3-hsic-phy"; + reg = <0xf0001800 0x40>; + #phy-cells = <0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/marvell,mmp3-usb-phy.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/marvell,mmp3-usb-phy.yaml index ff635dd6c2..be13113f7b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/marvell,mmp3-usb-phy.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/marvell,mmp3-usb-phy.yaml @@ -1,42 +1,42 @@ -# SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) -# Copyright 2019,2020 Lubomir Rintel -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/phy/marvell,mmp3-usb-phy.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Marvell MMP3 USB PHY - -maintainers: - - Lubomir Rintel - -properties: - $nodename: - pattern: '^usb-phy@[a-f0-9]+$' - - compatible: - const: marvell,mmp3-usb-phy - - reg: - maxItems: 1 - description: base address of the device - - '#phy-cells': - const: 0 - -required: - - compatible - - reg - - '#phy-cells' - -additionalProperties: false - -examples: - - | - usb-phy@d4207000 { - compatible = "marvell,mmp3-usb-phy"; - reg = <0xd4207000 0x40>; - #phy-cells = <0>; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) +# Copyright 2019,2020 Lubomir Rintel +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/marvell,mmp3-usb-phy.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Marvell MMP3 USB PHY + +maintainers: + - Lubomir Rintel + +properties: + $nodename: + pattern: '^usb-phy@[a-f0-9]+$' + + compatible: + const: marvell,mmp3-usb-phy + + reg: + maxItems: 1 + description: base address of the device + + '#phy-cells': + const: 0 + +required: + - compatible + - reg + - '#phy-cells' + +additionalProperties: false + +examples: + - | + usb-phy@d4207000 { + compatible = "marvell,mmp3-usb-phy"; + reg = <0xd4207000 0x40>; + #phy-cells = <0>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/marvell,pxa1928-usb-phy.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/marvell,pxa1928-usb-phy.yaml index 7d87dd234a..be33f036cd 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/marvell,pxa1928-usb-phy.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/marvell,pxa1928-usb-phy.yaml @@ -1,47 +1,47 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/phy/marvell,pxa1928-usb-phy.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Marvell PXA1928 USB/HSIC PHY - -maintainers: - - Duje Mihanović - -properties: - compatible: - enum: - - marvell,pxa1928-usb-phy - - marvell,pxa1928-hsic-phy - - reg: - maxItems: 1 - - clocks: - maxItems: 1 - - '#phy-cells': - const: 0 - - resets: - maxItems: 1 - -required: - - compatible - - reg - - clocks - - '#phy-cells' - -additionalProperties: false - -examples: - - | - #include - - usbphy: phy@7000 { - compatible = "marvell,pxa1928-usb-phy"; - reg = <0x7000 0xe0>; - clocks = <&apmu PXA1928_CLK_USB>; - #phy-cells = <0>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/marvell,pxa1928-usb-phy.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Marvell PXA1928 USB/HSIC PHY + +maintainers: + - Duje Mihanović + +properties: + compatible: + enum: + - marvell,pxa1928-usb-phy + - marvell,pxa1928-hsic-phy + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + '#phy-cells': + const: 0 + + resets: + maxItems: 1 + +required: + - compatible + - reg + - clocks + - '#phy-cells' + +additionalProperties: false + +examples: + - | + #include + + usbphy: phy@7000 { + compatible = "marvell,pxa1928-usb-phy"; + reg = <0x7000 0xe0>; + clocks = <&apmu PXA1928_CLK_USB>; + #phy-cells = <0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/mediatek,mt7621-pci-phy.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/mediatek,mt7621-pci-phy.yaml index 41d1ca8d59..99eac888ae 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/mediatek,mt7621-pci-phy.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/mediatek,mt7621-pci-phy.yaml @@ -1,41 +1,41 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/phy/mediatek,mt7621-pci-phy.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Mediatek Mt7621 PCIe PHY - -maintainers: - - Sergio Paracuellos - -properties: - compatible: - const: mediatek,mt7621-pci-phy - - reg: - maxItems: 1 - - clocks: - maxItems: 1 - - "#phy-cells": - const: 1 - description: selects if the phy is dual-ported - -required: - - compatible - - reg - - clocks - - "#phy-cells" - -additionalProperties: false - -examples: - - | - pcie0_phy: pcie-phy@1e149000 { - compatible = "mediatek,mt7621-pci-phy"; - reg = <0x1e149000 0x0700>; - clocks = <&sysc 0>; - #phy-cells = <1>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/mediatek,mt7621-pci-phy.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Mediatek Mt7621 PCIe PHY + +maintainers: + - Sergio Paracuellos + +properties: + compatible: + const: mediatek,mt7621-pci-phy + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + "#phy-cells": + const: 1 + description: selects if the phy is dual-ported + +required: + - compatible + - reg + - clocks + - "#phy-cells" + +additionalProperties: false + +examples: + - | + pcie0_phy: pcie-phy@1e149000 { + compatible = "mediatek,mt7621-pci-phy"; + reg = <0x1e149000 0x0700>; + clocks = <&sysc 0>; + #phy-cells = <1>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/nuvoton,ma35d1-usb2-phy.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/nuvoton,ma35d1-usb2-phy.yaml index efb8dd3e38..fff858c909 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/nuvoton,ma35d1-usb2-phy.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/nuvoton,ma35d1-usb2-phy.yaml @@ -1,45 +1,45 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/phy/nuvoton,ma35d1-usb2-phy.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Nuvoton MA35D1 USB2 phy - -maintainers: - - Hui-Ping Chen - -properties: - compatible: - enum: - - nuvoton,ma35d1-usb2-phy - - "#phy-cells": - const: 0 - - clocks: - maxItems: 1 - - nuvoton,sys: - $ref: /schemas/types.yaml#/definitions/phandle - description: - phandle to syscon for checking the PHY clock status. - -required: - - compatible - - "#phy-cells" - - clocks - - nuvoton,sys - -additionalProperties: false - -examples: - - | - #include - - usb_phy: usb-phy { - compatible = "nuvoton,ma35d1-usb2-phy"; - clocks = <&clk USBD_GATE>; - nuvoton,sys = <&sys>; - #phy-cells = <0>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/nuvoton,ma35d1-usb2-phy.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Nuvoton MA35D1 USB2 phy + +maintainers: + - Hui-Ping Chen + +properties: + compatible: + enum: + - nuvoton,ma35d1-usb2-phy + + "#phy-cells": + const: 0 + + clocks: + maxItems: 1 + + nuvoton,sys: + $ref: /schemas/types.yaml#/definitions/phandle + description: + phandle to syscon for checking the PHY clock status. + +required: + - compatible + - "#phy-cells" + - clocks + - nuvoton,sys + +additionalProperties: false + +examples: + - | + #include + + usb_phy: usb-phy { + compatible = "nuvoton,ma35d1-usb2-phy"; + clocks = <&clk USBD_GATE>; + nuvoton,sys = <&sys>; + #phy-cells = <0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/phy-da8xx-usb.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/phy-da8xx-usb.txt index 27e93f9e2f..c26478be39 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/phy-da8xx-usb.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/phy-da8xx-usb.txt @@ -1,40 +1,40 @@ -TI DA8xx/OMAP-L1xx/AM18xx USB PHY - -Required properties: - - compatible: must be "ti,da830-usb-phy". - - #phy-cells: must be 1. - -This device controls the PHY for both the USB 1.1 OHCI and USB 2.0 OTG -controllers on DA8xx SoCs. Consumers of this device should use index 0 for -the USB 2.0 phy device and index 1 for the USB 1.1 phy device. - -It also requires a "syscon" node with compatible = "ti,da830-cfgchip", "syscon" -to access the CFGCHIP2 register. - -Example: - - cfgchip: cfgchip@1417c { - compatible = "ti,da830-cfgchip", "syscon"; - reg = <0x1417c 0x14>; - }; - - usb_phy: usb-phy { - compatible = "ti,da830-usb-phy"; - #phy-cells = <1>; - }; - - usb20: usb@200000 { - compatible = "ti,da830-musb"; - reg = <0x200000 0x1000>; - interrupts = <58>; - phys = <&usb_phy 0>; - phy-names = "usb-phy"; - }; - - usb11: usb@225000 { - compatible = "ti,da830-ohci"; - reg = <0x225000 0x1000>; - interrupts = <59>; - phys = <&usb_phy 1>; - phy-names = "usb-phy"; - }; +TI DA8xx/OMAP-L1xx/AM18xx USB PHY + +Required properties: + - compatible: must be "ti,da830-usb-phy". + - #phy-cells: must be 1. + +This device controls the PHY for both the USB 1.1 OHCI and USB 2.0 OTG +controllers on DA8xx SoCs. Consumers of this device should use index 0 for +the USB 2.0 phy device and index 1 for the USB 1.1 phy device. + +It also requires a "syscon" node with compatible = "ti,da830-cfgchip", "syscon" +to access the CFGCHIP2 register. + +Example: + + cfgchip: cfgchip@1417c { + compatible = "ti,da830-cfgchip", "syscon"; + reg = <0x1417c 0x14>; + }; + + usb_phy: usb-phy { + compatible = "ti,da830-usb-phy"; + #phy-cells = <1>; + }; + + usb20: usb@200000 { + compatible = "ti,da830-musb"; + reg = <0x200000 0x1000>; + interrupts = <58>; + phys = <&usb_phy 0>; + phy-names = "usb-phy"; + }; + + usb11: usb@225000 { + compatible = "ti,da830-ohci"; + reg = <0x225000 0x1000>; + interrupts = <59>; + phys = <&usb_phy 1>; + phy-names = "usb-phy"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/phy-lpc18xx-usb-otg.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/phy-lpc18xx-usb-otg.txt index 3b5a50d5e9..3bb821cd6a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/phy-lpc18xx-usb-otg.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/phy-lpc18xx-usb-otg.txt @@ -1,26 +1,26 @@ -NXP LPC18xx/43xx internal USB OTG PHY binding ---------------------------------------------- - -This file contains documentation for the internal USB OTG PHY found -in NXP LPC18xx and LPC43xx SoCs. - -Required properties: -- compatible : must be "nxp,lpc1850-usb-otg-phy" -- clocks : must be exactly one entry -See: Documentation/devicetree/bindings/clock/clock-bindings.txt -- #phy-cells : must be 0 for this phy -See: Documentation/devicetree/bindings/phy/phy-bindings.txt - -The phy node must be a child of the creg syscon node. - -Example: -creg: syscon@40043000 { - compatible = "nxp,lpc1850-creg", "syscon", "simple-mfd"; - reg = <0x40043000 0x1000>; - - usb0_otg_phy: phy { - compatible = "nxp,lpc1850-usb-otg-phy"; - clocks = <&ccu1 CLK_USB0>; - #phy-cells = <0>; - }; -}; +NXP LPC18xx/43xx internal USB OTG PHY binding +--------------------------------------------- + +This file contains documentation for the internal USB OTG PHY found +in NXP LPC18xx and LPC43xx SoCs. + +Required properties: +- compatible : must be "nxp,lpc1850-usb-otg-phy" +- clocks : must be exactly one entry +See: Documentation/devicetree/bindings/clock/clock-bindings.txt +- #phy-cells : must be 0 for this phy +See: Documentation/devicetree/bindings/phy/phy-bindings.txt + +The phy node must be a child of the creg syscon node. + +Example: +creg: syscon@40043000 { + compatible = "nxp,lpc1850-creg", "syscon", "simple-mfd"; + reg = <0x40043000 0x1000>; + + usb0_otg_phy: phy { + compatible = "nxp,lpc1850-usb-otg-phy"; + clocks = <&ccu1 CLK_USB0>; + #phy-cells = <0>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/pistachio-usb-phy.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/pistachio-usb-phy.txt index 8c6b4827de..c7970c07ee 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/pistachio-usb-phy.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/pistachio-usb-phy.txt @@ -1,29 +1,29 @@ -IMG Pistachio USB PHY -===================== - -Required properties: --------------------- - - compatible: Must be "img,pistachio-usb-phy". - - #phy-cells: Must be 0. See ./phy-bindings.txt for details. - - clocks: Must contain an entry for each entry in clock-names. - See ../clock/clock-bindings.txt for details. - - clock-names: Must include "usb_phy". - - img,cr-top: Must contain a phandle to the CR_TOP syscon node. - - img,refclk: Indicates the reference clock source for the USB PHY. - See for a list of valid values. - -Optional properties: --------------------- - - phy-supply: USB VBUS supply. Must supply 5.0V. - -Example: --------- -usb_phy: usb-phy { - compatible = "img,pistachio-usb-phy"; - clocks = <&clk_core CLK_USB_PHY>; - clock-names = "usb_phy"; - phy-supply = <&usb_vbus>; - img,refclk = ; - img,cr-top = <&cr_top>; - #phy-cells = <0>; -}; +IMG Pistachio USB PHY +===================== + +Required properties: +-------------------- + - compatible: Must be "img,pistachio-usb-phy". + - #phy-cells: Must be 0. See ./phy-bindings.txt for details. + - clocks: Must contain an entry for each entry in clock-names. + See ../clock/clock-bindings.txt for details. + - clock-names: Must include "usb_phy". + - img,cr-top: Must contain a phandle to the CR_TOP syscon node. + - img,refclk: Indicates the reference clock source for the USB PHY. + See for a list of valid values. + +Optional properties: +-------------------- + - phy-supply: USB VBUS supply. Must supply 5.0V. + +Example: +-------- +usb_phy: usb-phy { + compatible = "img,pistachio-usb-phy"; + clocks = <&clk_core CLK_USB_PHY>; + clock-names = "usb_phy"; + phy-supply = <&usb_vbus>; + img,refclk = ; + img,cr-top = <&cr_top>; + #phy-cells = <0>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/rockchip,rk3288-dp-phy.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/rockchip,rk3288-dp-phy.yaml index 5d1ef7a9af..2538235c5a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/rockchip,rk3288-dp-phy.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/rockchip,rk3288-dp-phy.yaml @@ -1,41 +1,41 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/phy/rockchip,rk3288-dp-phy.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Rockchip specific extensions to the Analogix Display Port PHY - -maintainers: - - Heiko Stuebner - -properties: - compatible: - const: rockchip,rk3288-dp-phy - - clocks: - maxItems: 1 - - clock-names: - const: 24m - - "#phy-cells": - const: 0 - -required: - - compatible - - clocks - - clock-names - - "#phy-cells" - -additionalProperties: false - -examples: - - | - #include - edp-phy { - compatible = "rockchip,rk3288-dp-phy"; - clocks = <&cru SCLK_EDP_24M>; - clock-names = "24m"; - #phy-cells = <0>; - }; +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/rockchip,rk3288-dp-phy.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Rockchip specific extensions to the Analogix Display Port PHY + +maintainers: + - Heiko Stuebner + +properties: + compatible: + const: rockchip,rk3288-dp-phy + + clocks: + maxItems: 1 + + clock-names: + const: 24m + + "#phy-cells": + const: 0 + +required: + - compatible + - clocks + - clock-names + - "#phy-cells" + +additionalProperties: false + +examples: + - | + #include + edp-phy { + compatible = "rockchip,rk3288-dp-phy"; + clocks = <&cru SCLK_EDP_24M>; + clock-names = "24m"; + #phy-cells = <0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/rockchip-pcie-phy.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/rockchip-pcie-phy.txt index 0cdd3cd965..b496042f1f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/rockchip-pcie-phy.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/rockchip-pcie-phy.txt @@ -1,36 +1,36 @@ -Rockchip PCIE PHY ------------------------ - -Required properties: - - compatible: rockchip,rk3399-pcie-phy - - clocks: Must contain an entry in clock-names. - See ../clocks/clock-bindings.txt for details. - - clock-names: Must be "refclk" - - resets: Must contain an entry in reset-names. - See ../reset/reset.txt for details. - - reset-names: Must be "phy" - -Required properties for legacy PHY mode (deprecated): - - #phy-cells: must be 0 - -Required properties for per-lane PHY mode (preferred): - - #phy-cells: must be 1 - -Example: - -grf: syscon@ff770000 { - compatible = "rockchip,rk3399-grf", "syscon", "simple-mfd"; - #address-cells = <1>; - #size-cells = <1>; - - ... - - pcie_phy: pcie-phy { - compatible = "rockchip,rk3399-pcie-phy"; - #phy-cells = <0>; - clocks = <&cru SCLK_PCIEPHY_REF>; - clock-names = "refclk"; - resets = <&cru SRST_PCIEPHY>; - reset-names = "phy"; - }; -}; +Rockchip PCIE PHY +----------------------- + +Required properties: + - compatible: rockchip,rk3399-pcie-phy + - clocks: Must contain an entry in clock-names. + See ../clocks/clock-bindings.txt for details. + - clock-names: Must be "refclk" + - resets: Must contain an entry in reset-names. + See ../reset/reset.txt for details. + - reset-names: Must be "phy" + +Required properties for legacy PHY mode (deprecated): + - #phy-cells: must be 0 + +Required properties for per-lane PHY mode (preferred): + - #phy-cells: must be 1 + +Example: + +grf: syscon@ff770000 { + compatible = "rockchip,rk3399-grf", "syscon", "simple-mfd"; + #address-cells = <1>; + #size-cells = <1>; + + ... + + pcie_phy: pcie-phy { + compatible = "rockchip,rk3399-pcie-phy"; + #phy-cells = <0>; + clocks = <&cru SCLK_PCIEPHY_REF>; + clock-names = "refclk"; + resets = <&cru SRST_PCIEPHY>; + reset-names = "phy"; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/samsung,dp-video-phy.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/samsung,dp-video-phy.yaml index 3534734c73..3bee3f8733 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/samsung,dp-video-phy.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/samsung,dp-video-phy.yaml @@ -1,40 +1,40 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/phy/samsung,dp-video-phy.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Samsung Exynos SoC DisplayPort PHY - -maintainers: - - Krzysztof Kozlowski - - Marek Szyprowski - - Sylwester Nawrocki - -properties: - compatible: - enum: - - samsung,exynos5250-dp-video-phy - - samsung,exynos5420-dp-video-phy - - "#phy-cells": - const: 0 - - samsung,pmu-syscon: - $ref: /schemas/types.yaml#/definitions/phandle - deprecated: true - description: - Phandle to PMU system controller interface (if not a child of PMU). - -required: - - compatible - - "#phy-cells" - -additionalProperties: false - -examples: - - | - phy { - compatible = "samsung,exynos5420-dp-video-phy"; - #phy-cells = <0>; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/samsung,dp-video-phy.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Samsung Exynos SoC DisplayPort PHY + +maintainers: + - Krzysztof Kozlowski + - Marek Szyprowski + - Sylwester Nawrocki + +properties: + compatible: + enum: + - samsung,exynos5250-dp-video-phy + - samsung,exynos5420-dp-video-phy + + "#phy-cells": + const: 0 + + samsung,pmu-syscon: + $ref: /schemas/types.yaml#/definitions/phandle + deprecated: true + description: + Phandle to PMU system controller interface (if not a child of PMU). + +required: + - compatible + - "#phy-cells" + +additionalProperties: false + +examples: + - | + phy { + compatible = "samsung,exynos5420-dp-video-phy"; + #phy-cells = <0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/samsung,exynos-hdmi-phy.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/samsung,exynos-hdmi-phy.yaml index 107e5b701c..efc679c385 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/samsung,exynos-hdmi-phy.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/samsung,exynos-hdmi-phy.yaml @@ -1,43 +1,43 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/phy/samsung,exynos-hdmi-phy.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Samsung Exynos SoC HDMI PHY - -maintainers: - - Inki Dae - - Seung-Woo Kim - - Kyungmin Park - - Krzysztof Kozlowski - -properties: - compatible: - oneOf: - - enum: - - samsung,exynos4210-hdmiphy - - samsung,exynos4212-hdmiphy - - const: samsung,exynos5-hdmiphy - deprecated: true - - reg: - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - hdmi-phy@38 { - compatible = "samsung,exynos4210-hdmiphy"; - reg = <0x38>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/samsung,exynos-hdmi-phy.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Samsung Exynos SoC HDMI PHY + +maintainers: + - Inki Dae + - Seung-Woo Kim + - Kyungmin Park + - Krzysztof Kozlowski + +properties: + compatible: + oneOf: + - enum: + - samsung,exynos4210-hdmiphy + - samsung,exynos4212-hdmiphy + - const: samsung,exynos5-hdmiphy + deprecated: true + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + hdmi-phy@38 { + compatible = "samsung,exynos4210-hdmiphy"; + reg = <0x38>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/starfive,jh7110-usb-phy.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/starfive,jh7110-usb-phy.yaml index 898606d0ed..269e9f9f12 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/starfive,jh7110-usb-phy.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/starfive,jh7110-usb-phy.yaml @@ -1,50 +1,50 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/phy/starfive,jh7110-usb-phy.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: StarFive JH7110 USB 2.0 PHY - -maintainers: - - Minda Chen - -properties: - compatible: - const: starfive,jh7110-usb-phy - - reg: - maxItems: 1 - - "#phy-cells": - const: 0 - - clocks: - items: - - description: PHY 125m - - description: app 125m - - clock-names: - items: - - const: 125m - - const: app_125m - -required: - - compatible - - reg - - clocks - - clock-names - - "#phy-cells" - -additionalProperties: false - -examples: - - | - phy@10200000 { - compatible = "starfive,jh7110-usb-phy"; - reg = <0x10200000 0x10000>; - clocks = <&syscrg 95>, - <&stgcrg 6>; - clock-names = "125m", "app_125m"; - #phy-cells = <0>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/starfive,jh7110-usb-phy.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: StarFive JH7110 USB 2.0 PHY + +maintainers: + - Minda Chen + +properties: + compatible: + const: starfive,jh7110-usb-phy + + reg: + maxItems: 1 + + "#phy-cells": + const: 0 + + clocks: + items: + - description: PHY 125m + - description: app 125m + + clock-names: + items: + - const: 125m + - const: app_125m + +required: + - compatible + - reg + - clocks + - clock-names + - "#phy-cells" + +additionalProperties: false + +examples: + - | + phy@10200000 { + compatible = "starfive,jh7110-usb-phy"; + reg = <0x10200000 0x10000>; + clocks = <&syscrg 95>, + <&stgcrg 6>; + clock-names = "125m", "app_125m"; + #phy-cells = <0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/fsl,imx25-pinctrl.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/fsl,imx25-pinctrl.txt index e36c639eea..fd653bde18 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/fsl,imx25-pinctrl.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/fsl,imx25-pinctrl.txt @@ -1,23 +1,23 @@ -* Freescale IMX25 IOMUX Controller - -Please refer to fsl,imx-pinctrl.txt in this directory for common binding part -and usage. - -CONFIG bits definition: -PAD_CTL_HYS (1 << 8) -PAD_CTL_PKE (1 << 7) -PAD_CTL_PUE (1 << 6) -PAD_CTL_PUS_100K_DOWN (0 << 4) -PAD_CTL_PUS_47K_UP (1 << 4) -PAD_CTL_PUS_100K_UP (2 << 4) -PAD_CTL_PUS_22K_UP (3 << 4) -PAD_CTL_ODE_CMOS (0 << 3) -PAD_CTL_ODE_OPENDRAIN (1 << 3) -PAD_CTL_DSE_NOMINAL (0 << 1) -PAD_CTL_DSE_HIGH (1 << 1) -PAD_CTL_DSE_MAX (2 << 1) -PAD_CTL_SRE_FAST (1 << 0) -PAD_CTL_SRE_SLOW (0 << 0) - -Refer to imx25-pinfunc.h in device tree source folder for all available -imx25 PIN_FUNC_ID. +* Freescale IMX25 IOMUX Controller + +Please refer to fsl,imx-pinctrl.txt in this directory for common binding part +and usage. + +CONFIG bits definition: +PAD_CTL_HYS (1 << 8) +PAD_CTL_PKE (1 << 7) +PAD_CTL_PUE (1 << 6) +PAD_CTL_PUS_100K_DOWN (0 << 4) +PAD_CTL_PUS_47K_UP (1 << 4) +PAD_CTL_PUS_100K_UP (2 << 4) +PAD_CTL_PUS_22K_UP (3 << 4) +PAD_CTL_ODE_CMOS (0 << 3) +PAD_CTL_ODE_OPENDRAIN (1 << 3) +PAD_CTL_DSE_NOMINAL (0 << 1) +PAD_CTL_DSE_HIGH (1 << 1) +PAD_CTL_DSE_MAX (2 << 1) +PAD_CTL_SRE_FAST (1 << 0) +PAD_CTL_SRE_SLOW (0 << 0) + +Refer to imx25-pinfunc.h in device tree source folder for all available +imx25 PIN_FUNC_ID. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/actions,owl-sps.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/actions,owl-sps.txt index ba47fdba2d..a3571937b0 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/actions,owl-sps.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/actions,owl-sps.txt @@ -1,21 +1,21 @@ -Actions Semi Owl Smart Power System (SPS) - -Required properties: -- compatible : "actions,s500-sps" for S500 - "actions,s700-sps" for S700 - "actions,s900-sps" for S900 -- reg : Offset and length of the register set for the device. -- #power-domain-cells : Must be 1. - See macros in: - include/dt-bindings/power/owl-s500-powergate.h for S500 - include/dt-bindings/power/owl-s700-powergate.h for S700 - include/dt-bindings/power/owl-s900-powergate.h for S900 - - -Example: - - sps: power-controller@b01b0100 { - compatible = "actions,s500-sps"; - reg = <0xb01b0100 0x100>; - #power-domain-cells = <1>; - }; +Actions Semi Owl Smart Power System (SPS) + +Required properties: +- compatible : "actions,s500-sps" for S500 + "actions,s700-sps" for S700 + "actions,s900-sps" for S900 +- reg : Offset and length of the register set for the device. +- #power-domain-cells : Must be 1. + See macros in: + include/dt-bindings/power/owl-s500-powergate.h for S500 + include/dt-bindings/power/owl-s700-powergate.h for S700 + include/dt-bindings/power/owl-s900-powergate.h for S900 + + +Example: + + sps: power-controller@b01b0100 { + compatible = "actions,s500-sps"; + reg = <0xb01b0100 0x100>; + #power-domain-cells = <1>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/mti,mips-cpc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/mti,mips-cpc.yaml index 0d50c217e3..be447ccfdc 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/mti,mips-cpc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/mti,mips-cpc.yaml @@ -1,37 +1,37 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/power/mti,mips-cpc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: MIPS Cluster Power Controller - -description: | - Defines a location of the MIPS Cluster Power Controller registers. - -maintainers: - - Paul Burton - -properties: - compatible: - const: mti,mips-cpc - - reg: - description: | - Base address and size of an unoccupied memory region, which will be - used to map the MIPS CPC registers block. - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - cpc@1bde0000 { - compatible = "mti,mips-cpc"; - reg = <0x1bde0000 0x8000>; - }; -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/power/mti,mips-cpc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: MIPS Cluster Power Controller + +description: | + Defines a location of the MIPS Cluster Power Controller registers. + +maintainers: + - Paul Burton + +properties: + compatible: + const: mti,mips-cpc + + reg: + description: | + Base address and size of an unoccupied memory region, which will be + used to map the MIPS CPC registers block. + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + cpc@1bde0000 { + compatible = "mti,mips-cpc"; + reg = <0x1bde0000 0x8000>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/power-controller.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/power-controller.txt index 2e1f27f438..e45affea80 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/power-controller.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/power-controller.txt @@ -1,17 +1,17 @@ -* Generic system power control capability - -Power-management integrated circuits or miscellaneous hardware components are -sometimes able to control the system power. The device driver associated with these -components might need to define this capability, which tells the kernel that -it can be used to switch off the system. The corresponding device must have the -standard property "system-power-controller" in its device node. This property -marks the device as able to control the system power. In order to test if this -property is found programmatically, use the helper function -"of_device_is_system_power_controller" from of.h . - -Example: - -act8846: act8846@5 { - compatible = "active-semi,act8846"; - system-power-controller; -} +* Generic system power control capability + +Power-management integrated circuits or miscellaneous hardware components are +sometimes able to control the system power. The device driver associated with these +components might need to define this capability, which tells the kernel that +it can be used to switch off the system. The corresponding device must have the +standard property "system-power-controller" in its device node. This property +marks the device as able to control the system power. In order to test if this +property is found programmatically, use the helper function +"of_device_is_system_power_controller" from of.h . + +Example: + +act8846: act8846@5 { + compatible = "active-semi,act8846"; + system-power-controller; +} diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/reset/qcom,pshold.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/reset/qcom,pshold.yaml index b885b96085..527962d54a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/reset/qcom,pshold.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/reset/qcom,pshold.yaml @@ -1,35 +1,35 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/power/reset/qcom,pshold.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm SoC restart and power off - -maintainers: - - Bjorn Andersson - -description: - A power supply hold (ps-hold) bit is set to power the Qualcomm chipsets. - Clearing that bit allows us to restart/power off. The difference between - power off and restart is determined by unique power manager IC settings. - -properties: - compatible: - const: qcom,pshold - - reg: - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - reset-controller@fc4ab000 { - compatible = "qcom,pshold"; - reg = <0xfc4ab000 0x4>; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/power/reset/qcom,pshold.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm SoC restart and power off + +maintainers: + - Bjorn Andersson + +description: + A power supply hold (ps-hold) bit is set to power the Qualcomm chipsets. + Clearing that bit allows us to restart/power off. The difference between + power off and restart is determined by unique power manager IC settings. + +properties: + compatible: + const: qcom,pshold + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + reset-controller@fc4ab000 { + compatible = "qcom,pshold"; + reg = <0xfc4ab000 0x4>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/reset/regulator-poweroff.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/reset/regulator-poweroff.yaml index b8c245ce58..e9417557cd 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/reset/regulator-poweroff.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/reset/regulator-poweroff.yaml @@ -1,37 +1,37 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/power/reset/regulator-poweroff.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Force-disable power regulator to turn the power off. - -maintainers: - - Michael Klein - -description: | - When the power-off handler is called, a power regulator is disabled by - calling regulator_force_disable(). If the power is still on and the - CPU still running after a 3000ms delay, a warning is emitted. - -properties: - compatible: - const: regulator-poweroff - - cpu-supply: - description: - regulator to disable on power-down - -required: - - compatible - - cpu-supply - -additionalProperties: false - -examples: - - | - regulator-poweroff { - compatible = "regulator-poweroff"; - cpu-supply = <®_vcc1v2>; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/power/reset/regulator-poweroff.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Force-disable power regulator to turn the power off. + +maintainers: + - Michael Klein + +description: | + When the power-off handler is called, a power regulator is disabled by + calling regulator_force_disable(). If the power is still on and the + CPU still running after a 3000ms delay, a warning is emitted. + +properties: + compatible: + const: regulator-poweroff + + cpu-supply: + description: + regulator to disable on power-down + +required: + - compatible + - cpu-supply + +additionalProperties: false + +examples: + - | + regulator-poweroff { + compatible = "regulator-poweroff"; + cpu-supply = <®_vcc1v2>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/starfive,jh7110-pmu.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/starfive,jh7110-pmu.yaml index 6ef692b749..98eb8b4110 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/starfive,jh7110-pmu.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/starfive,jh7110-pmu.yaml @@ -1,45 +1,45 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/power/starfive,jh7110-pmu.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: StarFive JH7110 Power Management Unit - -maintainers: - - Walker Chen - -description: | - StarFive JH7110 SoC includes support for multiple power domains which can be - powered on/off by software based on different application scenes to save power. - -properties: - compatible: - enum: - - starfive,jh7110-pmu - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - "#power-domain-cells": - const: 1 - -required: - - compatible - - reg - - interrupts - - "#power-domain-cells" - -additionalProperties: false - -examples: - - | - pwrc: power-controller@17030000 { - compatible = "starfive,jh7110-pmu"; - reg = <0x17030000 0x10000>; - interrupts = <111>; - #power-domain-cells = <1>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/power/starfive,jh7110-pmu.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: StarFive JH7110 Power Management Unit + +maintainers: + - Walker Chen + +description: | + StarFive JH7110 SoC includes support for multiple power domains which can be + powered on/off by software based on different application scenes to save power. + +properties: + compatible: + enum: + - starfive,jh7110-pmu + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + "#power-domain-cells": + const: 1 + +required: + - compatible + - reg + - interrupts + - "#power-domain-cells" + +additionalProperties: false + +examples: + - | + pwrc: power-controller@17030000 { + compatible = "starfive,jh7110-pmu"; + reg = <0x17030000 0x10000>; + interrupts = <111>; + #power-domain-cells = <1>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/supply/isp1704.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/supply/isp1704.yaml index 9950336d7a..fb3a812aa5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/supply/isp1704.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/supply/isp1704.yaml @@ -1,42 +1,42 @@ -# SPDX-License-Identifier: GPL-2.0 -# Copyright (C) 2021 Sebastian Reichel -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/power/supply/isp1704.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: NXP ISP1704 USB Charger Detection - -maintainers: - - Sebastian Reichel - -allOf: - - $ref: power-supply.yaml# - -properties: - compatible: - const: nxp,isp1704 - - nxp,enable-gpio: - maxItems: 1 - description: GPIO connected to the chip's enable pin - - usb-phy: - $ref: /schemas/types.yaml#/definitions/phandle - description: USB PHY the ISP1704 is connected to - -required: - - compatible - - nxp,enable-gpio - - usb-phy - -additionalProperties: false - -examples: - - | - #include - charger-detect { - compatible = "nxp,isp1704"; - nxp,enable-gpio = <&gpio3 3 GPIO_ACTIVE_LOW>; - usb-phy = <&usb2_phy>; - }; +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2021 Sebastian Reichel +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/power/supply/isp1704.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NXP ISP1704 USB Charger Detection + +maintainers: + - Sebastian Reichel + +allOf: + - $ref: power-supply.yaml# + +properties: + compatible: + const: nxp,isp1704 + + nxp,enable-gpio: + maxItems: 1 + description: GPIO connected to the chip's enable pin + + usb-phy: + $ref: /schemas/types.yaml#/definitions/phandle + description: USB PHY the ISP1704 is connected to + +required: + - compatible + - nxp,enable-gpio + - usb-phy + +additionalProperties: false + +examples: + - | + #include + charger-detect { + compatible = "nxp,isp1704"; + nxp,enable-gpio = <&gpio3 3 GPIO_ACTIVE_LOW>; + usb-phy = <&usb2_phy>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/supply/lltc,lt3651-charger.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/supply/lltc,lt3651-charger.yaml index d20f62a1b8..d26ed5eabe 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/supply/lltc,lt3651-charger.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/supply/lltc,lt3651-charger.yaml @@ -1,44 +1,44 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/power/supply/lltc,lt3651-charger.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Analog Devices LT3651 Charger Power Supply - -maintainers: - - Sebastian Reichel - -allOf: - - $ref: power-supply.yaml# - -properties: - compatible: - enum: - - lltc,lt3651-charger - - lltc,ltc3651-charger # deprecated, use lltc,lt3651-charger - - lltc,acpr-gpios: - maxItems: 1 - - lltc,fault-gpios: - maxItems: 1 - - lltc,chrg-gpios: - maxItems: 1 - -required: - - compatible - - lltc,acpr-gpios - -additionalProperties: false - -examples: - - | - #include - charger { - compatible = "lltc,lt3651-charger"; - lltc,acpr-gpios = <&gpio0 68 GPIO_ACTIVE_LOW>; - lltc,fault-gpios = <&gpio0 64 GPIO_ACTIVE_LOW>; - lltc,chrg-gpios = <&gpio0 63 GPIO_ACTIVE_LOW>; - }; +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/power/supply/lltc,lt3651-charger.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Analog Devices LT3651 Charger Power Supply + +maintainers: + - Sebastian Reichel + +allOf: + - $ref: power-supply.yaml# + +properties: + compatible: + enum: + - lltc,lt3651-charger + - lltc,ltc3651-charger # deprecated, use lltc,lt3651-charger + + lltc,acpr-gpios: + maxItems: 1 + + lltc,fault-gpios: + maxItems: 1 + + lltc,chrg-gpios: + maxItems: 1 + +required: + - compatible + - lltc,acpr-gpios + +additionalProperties: false + +examples: + - | + #include + charger { + compatible = "lltc,lt3651-charger"; + lltc,acpr-gpios = <&gpio0 68 GPIO_ACTIVE_LOW>; + lltc,fault-gpios = <&gpio0 64 GPIO_ACTIVE_LOW>; + lltc,chrg-gpios = <&gpio0 63 GPIO_ACTIVE_LOW>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/supply/maxim,max14656.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/supply/maxim,max14656.yaml index 37e50c230a..b444b79984 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/supply/maxim,max14656.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/supply/maxim,max14656.yaml @@ -1,45 +1,45 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/power/supply/maxim,max14656.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Maxim MAX14656 - -maintainers: - - Sebastian Reichel - -allOf: - - $ref: power-supply.yaml# - -properties: - compatible: - const: maxim,max14656 - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - -required: - - compatible - - reg - - interrupts - -additionalProperties: false - -examples: - - | - #include - i2c { - #address-cells = <1>; - #size-cells = <0>; - - charger-detector@35 { - compatible = "maxim,max14656"; - reg = <0x35>; - interrupt-parent = <&gpio6>; - interrupts = <26 IRQ_TYPE_LEVEL_HIGH>; - }; - }; +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/power/supply/maxim,max14656.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Maxim MAX14656 + +maintainers: + - Sebastian Reichel + +allOf: + - $ref: power-supply.yaml# + +properties: + compatible: + const: maxim,max14656 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + +additionalProperties: false + +examples: + - | + #include + i2c { + #address-cells = <1>; + #size-cells = <0>; + + charger-detector@35 { + compatible = "maxim,max14656"; + reg = <0x35>; + interrupt-parent = <&gpio6>; + interrupts = <26 IRQ_TYPE_LEVEL_HIGH>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/supply/maxim,max77976.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/supply/maxim,max77976.yaml index 7d3457d00d..f23dcc5079 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/supply/maxim,max77976.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/supply/maxim,max77976.yaml @@ -1,44 +1,44 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/power/supply/maxim,max77976.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Maxim Integrated MAX77976 Battery charger - -maintainers: - - Luca Ceresoli - -description: | - The Maxim MAX77976 is a 19Vin / 5.5A, 1-Cell Li+ battery charger - configured via I2C. - -allOf: - - $ref: power-supply.yaml# - -properties: - compatible: - const: maxim,max77976 - - reg: - maxItems: 1 - -required: - - compatible - - reg - -unevaluatedProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - charger@6b { - compatible = "maxim,max77976"; - reg = <0x6b>; - }; - }; - -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/power/supply/maxim,max77976.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Maxim Integrated MAX77976 Battery charger + +maintainers: + - Luca Ceresoli + +description: | + The Maxim MAX77976 is a 19Vin / 5.5A, 1-Cell Li+ battery charger + configured via I2C. + +allOf: + - $ref: power-supply.yaml# + +properties: + compatible: + const: maxim,max77976 + + reg: + maxItems: 1 + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + charger@6b { + compatible = "maxim,max77976"; + reg = <0x6b>; + }; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/supply/mitsumi,mm8013.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/supply/mitsumi,mm8013.yaml index 72faa95f54..6865640cbd 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/supply/mitsumi,mm8013.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/supply/mitsumi,mm8013.yaml @@ -1,38 +1,38 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/power/supply/mitsumi,mm8013.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Mitsumi MM8013 fuel gauge - -maintainers: - - Konrad Dybcio - -allOf: - - $ref: power-supply.yaml# - -properties: - compatible: - const: mitsumi,mm8013 - - reg: - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - fuel-gauge@55 { - compatible = "mitsumi,mm8013"; - reg = <0x55>; - }; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/power/supply/mitsumi,mm8013.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Mitsumi MM8013 fuel gauge + +maintainers: + - Konrad Dybcio + +allOf: + - $ref: power-supply.yaml# + +properties: + compatible: + const: mitsumi,mm8013 + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + fuel-gauge@55 { + compatible = "mitsumi,mm8013"; + reg = <0x55>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/supply/power-supply.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/supply/power-supply.yaml index e4a3cea1dd..4e54c93797 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/supply/power-supply.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/supply/power-supply.yaml @@ -1,27 +1,27 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/power/supply/power-supply.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Power Supply Core Support - -maintainers: - - Sebastian Reichel - -properties: - power-supplies: - $ref: /schemas/types.yaml#/definitions/phandle-array - items: - maxItems: 1 - description: - This property is added to a supply in order to list the devices which - supply it power, referenced by their phandles. - - monitored-battery: - $ref: /schemas/types.yaml#/definitions/phandle - description: - The battery (with "simple-battery" compatible) being monitored by this - power supply. - -additionalProperties: true +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/power/supply/power-supply.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Power Supply Core Support + +maintainers: + - Sebastian Reichel + +properties: + power-supplies: + $ref: /schemas/types.yaml#/definitions/phandle-array + items: + maxItems: 1 + description: + This property is added to a supply in order to list the devices which + supply it power, referenced by their phandles. + + monitored-battery: + $ref: /schemas/types.yaml#/definitions/phandle + description: + The battery (with "simple-battery" compatible) being monitored by this + power supply. + +additionalProperties: true diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/supply/stericsson,ab8500-chargalg.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/supply/stericsson,ab8500-chargalg.yaml index 8aa54a20c1..10bbdcfc87 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/supply/stericsson,ab8500-chargalg.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/supply/stericsson,ab8500-chargalg.yaml @@ -1,41 +1,41 @@ -# SPDX-License-Identifier: GPL-2.0 -# Copyright (C) 2021 Sebastian Reichel -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/power/supply/stericsson,ab8500-chargalg.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: AB8500 Charging Algorithm - -maintainers: - - Sebastian Reichel - -allOf: - - $ref: power-supply.yaml# - -properties: - compatible: - const: stericsson,ab8500-chargalg - - monitored-battery: - $ref: /schemas/types.yaml#/definitions/phandle - description: phandle to battery node - - battery: - $ref: /schemas/types.yaml#/definitions/phandle - deprecated: true - -required: - - compatible - - monitored-battery - -additionalProperties: false - -examples: - - | - pmic { - charging-algorithm { - compatible = "stericsson,ab8500-chargalg"; - monitored-battery = <&ab8500_battery>; - }; - }; +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2021 Sebastian Reichel +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/power/supply/stericsson,ab8500-chargalg.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: AB8500 Charging Algorithm + +maintainers: + - Sebastian Reichel + +allOf: + - $ref: power-supply.yaml# + +properties: + compatible: + const: stericsson,ab8500-chargalg + + monitored-battery: + $ref: /schemas/types.yaml#/definitions/phandle + description: phandle to battery node + + battery: + $ref: /schemas/types.yaml#/definitions/phandle + deprecated: true + +required: + - compatible + - monitored-battery + +additionalProperties: false + +examples: + - | + pmic { + charging-algorithm { + compatible = "stericsson,ab8500-chargalg"; + monitored-battery = <&ab8500_battery>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/supply/tps65090-charger.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/supply/tps65090-charger.yaml index 3a63f2ab45..5867454263 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/supply/tps65090-charger.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/supply/tps65090-charger.yaml @@ -1,36 +1,36 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/power/supply/tps65090-charger.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: TPS65090 Frontend PMU with Switchmode Charger - -maintainers: - - Sebastian Reichel - -allOf: - - $ref: power-supply.yaml# - -properties: - compatible: - const: ti,tps65090-charger - - ti,enable-low-current-chrg: - type: boolean - description: | - Enables charging when a low current is detected while the default logic is to stop charging. - -required: - - compatible - -additionalProperties: false - -examples: - - | - pmic { - charger { - compatible = "ti,tps65090-charger"; - ti,enable-low-current-chrg; - }; - }; +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/power/supply/tps65090-charger.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: TPS65090 Frontend PMU with Switchmode Charger + +maintainers: + - Sebastian Reichel + +allOf: + - $ref: power-supply.yaml# + +properties: + compatible: + const: ti,tps65090-charger + + ti,enable-low-current-chrg: + type: boolean + description: | + Enables charging when a low current is detected while the default logic is to stop charging. + +required: + - compatible + +additionalProperties: false + +examples: + - | + pmic { + charger { + compatible = "ti,tps65090-charger"; + ti,enable-low-current-chrg; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/supply/tps65217-charger.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/supply/tps65217-charger.yaml index 36765f1015..7ccf0cdffd 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/supply/tps65217-charger.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/supply/tps65217-charger.yaml @@ -1,43 +1,43 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/power/supply/tps65217-charger.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: TPS65217 Charger - -maintainers: - - Sebastian Reichel - -allOf: - - $ref: power-supply.yaml# - -properties: - compatible: - const: ti,tps65217-charger - - interrupts: - minItems: 2 - maxItems: 2 - - interrupt-names: - items: - - const: USB - - const: AC - -required: - - compatible - - interrupts - - interrupt-names - -additionalProperties: false - -examples: - - | - pmic { - charger { - compatible = "ti,tps65217-charger"; - interrupts = <0>, <1>; - interrupt-names = "USB", "AC"; - }; - }; +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/power/supply/tps65217-charger.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: TPS65217 Charger + +maintainers: + - Sebastian Reichel + +allOf: + - $ref: power-supply.yaml# + +properties: + compatible: + const: ti,tps65217-charger + + interrupts: + minItems: 2 + maxItems: 2 + + interrupt-names: + items: + - const: USB + - const: AC + +required: + - compatible + - interrupts + - interrupt-names + +additionalProperties: false + +examples: + - | + pmic { + charger { + compatible = "ti,tps65217-charger"; + interrupts = <0>, <1>; + interrupt-names = "USB", "AC"; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/powerpc/4xx/hsta.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/powerpc/4xx/hsta.txt index cb1e01d0c4..66dbd9ff56 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/powerpc/4xx/hsta.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/powerpc/4xx/hsta.txt @@ -1,18 +1,18 @@ - -ppc476gtr High Speed Serial Assist (HSTA) node -============================================== - -The 476gtr SoC contains a high speed serial assist module attached -between the plb4 and plb6 system buses to provide high speed data -transfer between memory and system peripherals as well as support for -PCI message signalled interrupts. - -Currently only the MSI support is used by Linux using the following -device tree entries: - -Require properties: -- compatible : "ibm,476gtr-hsta-msi", "ibm,hsta-msi" -- reg : register mapping for the HSTA MSI space -- interrupts : ordered interrupt mapping for each MSI in the register - space. The first interrupt should be associated with a - register offset of 0x00, the second to 0x10, etc. + +ppc476gtr High Speed Serial Assist (HSTA) node +============================================== + +The 476gtr SoC contains a high speed serial assist module attached +between the plb4 and plb6 system buses to provide high speed data +transfer between memory and system peripherals as well as support for +PCI message signalled interrupts. + +Currently only the MSI support is used by Linux using the following +device tree entries: + +Require properties: +- compatible : "ibm,476gtr-hsta-msi", "ibm,hsta-msi" +- reg : register mapping for the HSTA MSI space +- interrupts : ordered interrupt mapping for each MSI in the register + space. The first interrupt should be associated with a + register offset of 0x00, the second to 0x10, etc. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/powerpc/fsl/diu.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/powerpc/fsl/diu.txt index fcbd515ae2..eb45db1ece 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/powerpc/fsl/diu.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/powerpc/fsl/diu.txt @@ -1,32 +1,32 @@ -* Freescale Display Interface Unit - -The Freescale DIU is a LCD controller, with proper hardware, it can also -drive DVI monitors. - -Required properties: -- compatible : should be "fsl,diu" or "fsl,mpc5121-diu". -- reg : should contain at least address and length of the DIU register - set. -- interrupts : one DIU interrupt should be described here. - -Optional properties: -- edid : verbatim EDID data block describing attached display. - Data from the detailed timing descriptor will be used to - program the display controller. - -Example (MPC8610HPCD): - display@2c000 { - compatible = "fsl,diu"; - reg = <0x2c000 100>; - interrupts = <72 2>; - interrupt-parent = <&mpic>; - }; - -Example for MPC5121: - display@2100 { - compatible = "fsl,mpc5121-diu"; - reg = <0x2100 0x100>; - interrupts = <64 0x8>; - interrupt-parent = <&ipic>; - edid = [edid-data]; - }; +* Freescale Display Interface Unit + +The Freescale DIU is a LCD controller, with proper hardware, it can also +drive DVI monitors. + +Required properties: +- compatible : should be "fsl,diu" or "fsl,mpc5121-diu". +- reg : should contain at least address and length of the DIU register + set. +- interrupts : one DIU interrupt should be described here. + +Optional properties: +- edid : verbatim EDID data block describing attached display. + Data from the detailed timing descriptor will be used to + program the display controller. + +Example (MPC8610HPCD): + display@2c000 { + compatible = "fsl,diu"; + reg = <0x2c000 100>; + interrupts = <72 2>; + interrupt-parent = <&mpic>; + }; + +Example for MPC5121: + display@2100 { + compatible = "fsl,mpc5121-diu"; + reg = <0x2100 0x100>; + interrupts = <64 0x8>; + interrupt-parent = <&ipic>; + edid = [edid-data]; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/powerpc/fsl/mpc512x_lpbfifo.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/powerpc/fsl/mpc512x_lpbfifo.txt index ccb9e13aa1..b3b392fe1f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/powerpc/fsl/mpc512x_lpbfifo.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/powerpc/fsl/mpc512x_lpbfifo.txt @@ -1,21 +1,21 @@ -Freescale MPC512x LocalPlus Bus FIFO (called SCLPC in the Reference Manual) - -Required properties: -- compatible: should be "fsl,mpc512x-lpbfifo"; -- reg: should contain the offset and length of SCLPC register set; -- interrupts: should contain the interrupt specifier for SCLPC; syntax of an - interrupt client node is described in interrupt-controller/interrupts.txt; -- dmas: should contain the DMA specifier for SCLPC as described at - dma/dma.txt and dma/mpc512x-dma.txt; -- dma-names: should be "rx-tx"; - -Example: - - sclpc@10100 { - compatible = "fsl,mpc512x-lpbfifo"; - reg = <0x10100 0x50>; - interrupts = <7 0x8>; - dmas = <&dma0 26>; - dma-names = "rx-tx"; - }; - +Freescale MPC512x LocalPlus Bus FIFO (called SCLPC in the Reference Manual) + +Required properties: +- compatible: should be "fsl,mpc512x-lpbfifo"; +- reg: should contain the offset and length of SCLPC register set; +- interrupts: should contain the interrupt specifier for SCLPC; syntax of an + interrupt client node is described in interrupt-controller/interrupts.txt; +- dmas: should contain the DMA specifier for SCLPC as described at + dma/dma.txt and dma/mpc512x-dma.txt; +- dma-names: should be "rx-tx"; + +Example: + + sclpc@10100 { + compatible = "fsl,mpc512x-lpbfifo"; + reg = <0x10100 0x50>; + interrupts = <7 0x8>; + dmas = <&dma0 26>; + dma-names = "rx-tx"; + }; + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/powerpc/ibm,vas.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/powerpc/ibm,vas.txt index 8ca743cf42..bf11d2faf7 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/powerpc/ibm,vas.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/powerpc/ibm,vas.txt @@ -1,22 +1,22 @@ -* IBM Powerpc Virtual Accelerator Switchboard (VAS) - -VAS is a hardware mechanism that allows kernel subsystems and user processes -to directly submit compression and other requests to Nest accelerators (NX) -or other coprocessors functions. - -Required properties: -- compatible : should be "ibm,vas". -- ibm,vas-id : A unique identifier for each instance of VAS in the system -- reg : Should contain 4 pairs of 64-bit fields specifying the Hypervisor - window context start and length, OS/User window context start and length, - "Paste address" start and length, "Paste window id" start bit and number - of bits) - -Example: - - vas@6019100000000 { - compatible = "ibm,vas", "ibm,power9-vas"; - reg = <0x6019100000000 0x2000000 0x6019000000000 0x100000000 0x8000000000000 0x100000000 0x20 0x10>; - name = "vas"; - ibm,vas-id = <0x1>; - }; +* IBM Powerpc Virtual Accelerator Switchboard (VAS) + +VAS is a hardware mechanism that allows kernel subsystems and user processes +to directly submit compression and other requests to Nest accelerators (NX) +or other coprocessors functions. + +Required properties: +- compatible : should be "ibm,vas". +- ibm,vas-id : A unique identifier for each instance of VAS in the system +- reg : Should contain 4 pairs of 64-bit fields specifying the Hypervisor + window context start and length, OS/User window context start and length, + "Paste address" start and length, "Paste window id" start bit and number + of bits) + +Example: + + vas@6019100000000 { + compatible = "ibm,vas", "ibm,power9-vas"; + reg = <0x6019100000000 0x2000000 0x6019000000000 0x100000000 0x8000000000000 0x100000000 0x20 0x10>; + name = "vas"; + ibm,vas-id = <0x1>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/powerpc/opal/sensor-groups.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/powerpc/opal/sensor-groups.txt index 6ef2697f6c..6ad881cbff 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/powerpc/opal/sensor-groups.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/powerpc/opal/sensor-groups.txt @@ -1,27 +1,27 @@ -IBM OPAL Sensor Groups Binding -------------------------------- - -Node: /ibm,opal/sensor-groups - -Description: Contains sensor groups available in the Powernv P9 -servers. Each child node indicates a sensor group. - -- compatible : Should be "ibm,opal-sensor-group" - -Each child node contains below properties: - -- type : String to indicate the type of sensor-group - -- sensor-group-id: Abstract unique identifier provided by firmware of - type which is used for sensor-group - operations like clearing the min/max history of all - sensors belonging to the group. - -- ibm,chip-id : Chip ID - -- sensors : Phandle array of child nodes of /ibm,opal/sensor/ - belonging to this group - -- ops : Array of opal-call numbers indicating available operations on - sensor groups like clearing min/max, enabling/disabling sensor - group. +IBM OPAL Sensor Groups Binding +------------------------------- + +Node: /ibm,opal/sensor-groups + +Description: Contains sensor groups available in the Powernv P9 +servers. Each child node indicates a sensor group. + +- compatible : Should be "ibm,opal-sensor-group" + +Each child node contains below properties: + +- type : String to indicate the type of sensor-group + +- sensor-group-id: Abstract unique identifier provided by firmware of + type which is used for sensor-group + operations like clearing the min/max history of all + sensors belonging to the group. + +- ibm,chip-id : Chip ID + +- sensors : Phandle array of child nodes of /ibm,opal/sensor/ + belonging to this group + +- ops : Array of opal-call numbers indicating available operations on + sensor groups like clearing min/max, enabling/disabling sensor + group. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ptp/brcm,ptp-dte.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ptp/brcm,ptp-dte.txt index c8dc4a807d..6b1075ee8a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ptp/brcm,ptp-dte.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ptp/brcm,ptp-dte.txt @@ -1,19 +1,19 @@ -* Broadcom Digital Timing Engine(DTE) based PTP clock - -Required properties: -- compatible: should contain the core compatibility string - and the SoC compatibility string. The SoC - compatibility string is to handle SoC specific - hardware differences. - Core compatibility string: - "brcm,ptp-dte" - SoC compatibility strings: - "brcm,iproc-ptp-dte" - for iproc based SoC's -- reg: address and length of the DTE block's NCO registers - -Example: - -ptp: ptp-dte@180af650 { - compatible = "brcm,iproc-ptp-dte", "brcm,ptp-dte"; - reg = <0x180af650 0x10>; -}; +* Broadcom Digital Timing Engine(DTE) based PTP clock + +Required properties: +- compatible: should contain the core compatibility string + and the SoC compatibility string. The SoC + compatibility string is to handle SoC specific + hardware differences. + Core compatibility string: + "brcm,ptp-dte" + SoC compatibility strings: + "brcm,iproc-ptp-dte" - for iproc based SoC's +- reg: address and length of the DTE block's NCO registers + +Example: + +ptp: ptp-dte@180af650 { + compatible = "brcm,iproc-ptp-dte", "brcm,ptp-dte"; + reg = <0x180af650 0x10>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ptp/ptp-idt82p33.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ptp/ptp-idt82p33.yaml index 692f60a043..51381e4cbb 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ptp/ptp-idt82p33.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ptp/ptp-idt82p33.yaml @@ -1,45 +1,45 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/ptp/ptp-idt82p33.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: IDT 82P33 PTP Clock - -description: | - IDT 82P33XXX Synchronization Management Unit (SMU) based PTP clock - -maintainers: - - Min Li - -properties: - compatible: - enum: - - idt,82p33810 - - idt,82p33813 - - idt,82p33814 - - idt,82p33831 - - idt,82p33910 - - idt,82p33913 - - idt,82p33914 - - idt,82p33931 - - reg: - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - phc@51 { - compatible = "idt,82p33810"; - reg = <0x51>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/ptp/ptp-idt82p33.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: IDT 82P33 PTP Clock + +description: | + IDT 82P33XXX Synchronization Management Unit (SMU) based PTP clock + +maintainers: + - Min Li + +properties: + compatible: + enum: + - idt,82p33810 + - idt,82p33813 + - idt,82p33814 + - idt,82p33831 + - idt,82p33910 + - idt,82p33913 + - idt,82p33914 + - idt,82p33931 + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + phc@51 { + compatible = "idt,82p33810"; + reg = <0x51>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ptp/ptp-ines.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ptp/ptp-ines.txt index c1dcdc4d92..4c242bd1ce 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ptp/ptp-ines.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ptp/ptp-ines.txt @@ -1,35 +1,35 @@ -ZHAW InES PTP time stamping IP core - -The IP core needs two different kinds of nodes. The control node -lives somewhere in the memory map and specifies the address of the -control registers. There can be up to three port handles placed as -attributes of PHY nodes. These associate a particular MII bus with a -port index within the IP core. - -Required properties of the control node: - -- compatible: "ines,ptp-ctrl" -- reg: physical address and size of the register bank - -Required format of the port handle within the PHY node: - -- timestamper: provides control node reference and - the port channel within the IP core - -Example: - - tstamper: timestamper@60000000 { - compatible = "ines,ptp-ctrl"; - reg = <0x60000000 0x80>; - }; - - ethernet@80000000 { - ... - mdio { - ... - ethernet-phy@3 { - ... - timestamper = <&tstamper 0>; - }; - }; - }; +ZHAW InES PTP time stamping IP core + +The IP core needs two different kinds of nodes. The control node +lives somewhere in the memory map and specifies the address of the +control registers. There can be up to three port handles placed as +attributes of PHY nodes. These associate a particular MII bus with a +port index within the IP core. + +Required properties of the control node: + +- compatible: "ines,ptp-ctrl" +- reg: physical address and size of the register bank + +Required format of the port handle within the PHY node: + +- timestamper: provides control node reference and + the port channel within the IP core + +Example: + + tstamper: timestamper@60000000 { + compatible = "ines,ptp-ctrl"; + reg = <0x60000000 0x80>; + }; + + ethernet@80000000 { + ... + mdio { + ... + ethernet-phy@3 { + ... + timestamper = <&tstamper 0>; + }; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/apple,s5l-fpwm.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/apple,s5l-fpwm.yaml index 412e2e5988..142157bff0 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/apple,s5l-fpwm.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/apple,s5l-fpwm.yaml @@ -1,51 +1,51 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/pwm/apple,s5l-fpwm.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Apple FPWM controller - -maintainers: - - asahi@lists.linux.dev - - Sasha Finkelstein - -description: PWM controller used for keyboard backlight on ARM Macs - -properties: - compatible: - items: - - enum: - - apple,t8103-fpwm - - apple,t6000-fpwm - - apple,t8112-fpwm - - const: apple,s5l-fpwm - - reg: - maxItems: 1 - - clocks: - maxItems: 1 - - power-domains: - maxItems: 1 - - "#pwm-cells": - const: 2 - -required: - - compatible - - reg - - clocks - -additionalProperties: false - -examples: - - | - pwm@235044000 { - compatible = "apple,t8103-fpwm", "apple,s5l-fpwm"; - reg = <0x35044000 0x4000>; - power-domains = <&ps_fpwm1>; - clocks = <&clkref>; - #pwm-cells = <2>; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/pwm/apple,s5l-fpwm.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Apple FPWM controller + +maintainers: + - asahi@lists.linux.dev + - Sasha Finkelstein + +description: PWM controller used for keyboard backlight on ARM Macs + +properties: + compatible: + items: + - enum: + - apple,t8103-fpwm + - apple,t6000-fpwm + - apple,t8112-fpwm + - const: apple,s5l-fpwm + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + power-domains: + maxItems: 1 + + "#pwm-cells": + const: 2 + +required: + - compatible + - reg + - clocks + +additionalProperties: false + +examples: + - | + pwm@235044000 { + compatible = "apple,t8103-fpwm", "apple,s5l-fpwm"; + reg = <0x35044000 0x4000>; + power-domains = <&ps_fpwm1>; + clocks = <&clkref>; + #pwm-cells = <2>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/brcm,bcm7038-pwm.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/brcm,bcm7038-pwm.yaml index ea824079b1..44548a9da1 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/brcm,bcm7038-pwm.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/brcm,bcm7038-pwm.yaml @@ -1,42 +1,42 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/pwm/brcm,bcm7038-pwm.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Broadcom BCM7038 PWM controller (BCM7xxx Set Top Box PWM controller) - -maintainers: - - Florian Fainelli - -allOf: - - $ref: pwm.yaml# - -properties: - compatible: - const: brcm,bcm7038-pwm - - reg: - maxItems: 1 - - "#pwm-cells": - const: 2 - - clocks: - maxItems: 1 - -required: - - compatible - - reg - - clocks - -additionalProperties: false - -examples: - - | - pwm: pwm@f0408000 { - compatible = "brcm,bcm7038-pwm"; - reg = <0xf0408000 0x28>; - #pwm-cells = <2>; - clocks = <&upg_fixed>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/pwm/brcm,bcm7038-pwm.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom BCM7038 PWM controller (BCM7xxx Set Top Box PWM controller) + +maintainers: + - Florian Fainelli + +allOf: + - $ref: pwm.yaml# + +properties: + compatible: + const: brcm,bcm7038-pwm + + reg: + maxItems: 1 + + "#pwm-cells": + const: 2 + + clocks: + maxItems: 1 + +required: + - compatible + - reg + - clocks + +additionalProperties: false + +examples: + - | + pwm: pwm@f0408000 { + compatible = "brcm,bcm7038-pwm"; + reg = <0xf0408000 0x28>; + #pwm-cells = <2>; + clocks = <&upg_fixed>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/brcm,iproc-pwm.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/brcm,iproc-pwm.yaml index 2a6e36e0bc..218ab06c34 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/brcm,iproc-pwm.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/brcm,iproc-pwm.yaml @@ -1,45 +1,45 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/pwm/brcm,iproc-pwm.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Broadcom iProc PWM controller - -maintainers: - - Rafał Miłecki - -description: - This controller has 4 channels. - -allOf: - - $ref: pwm.yaml# - -properties: - compatible: - const: brcm,iproc-pwm - - reg: - maxItems: 1 - - clocks: - description: external clock - maxItems: 1 - - "#pwm-cells": - const: 3 - -unevaluatedProperties: false - -required: - - reg - - clocks - -examples: - - | - pwm@18031000 { - compatible = "brcm,iproc-pwm"; - reg = <0x18031000 0x28>; - clocks = <&osc>; - #pwm-cells = <3>; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/pwm/brcm,iproc-pwm.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom iProc PWM controller + +maintainers: + - Rafał Miłecki + +description: + This controller has 4 channels. + +allOf: + - $ref: pwm.yaml# + +properties: + compatible: + const: brcm,iproc-pwm + + reg: + maxItems: 1 + + clocks: + description: external clock + maxItems: 1 + + "#pwm-cells": + const: 3 + +unevaluatedProperties: false + +required: + - reg + - clocks + +examples: + - | + pwm@18031000 { + compatible = "brcm,iproc-pwm"; + reg = <0x18031000 0x28>; + clocks = <&osc>; + #pwm-cells = <3>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/brcm,kona-pwm.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/brcm,kona-pwm.yaml index 06b7573eec..fd785da5d3 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/brcm,kona-pwm.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/brcm,kona-pwm.yaml @@ -1,51 +1,51 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/pwm/brcm,kona-pwm.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Broadcom Kona family PWM controller - -description: - This controller has 6 channels. - -maintainers: - - Florian Fainelli - -allOf: - - $ref: pwm.yaml# - -properties: - compatible: - items: - - enum: - - brcm,bcm11351-pwm - - const: brcm,kona-pwm - - reg: - maxItems: 1 - - clocks: - maxItems: 1 - - '#pwm-cells': - const: 3 - -required: - - compatible - - reg - - clocks - -unevaluatedProperties: false - -examples: - - | - #include - - pwm@3e01a000 { - compatible = "brcm,bcm11351-pwm", "brcm,kona-pwm"; - reg = <0x3e01a000 0xcc>; - clocks = <&slave_ccu BCM281XX_SLAVE_CCU_PWM>; - #pwm-cells = <3>; - }; -... +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/pwm/brcm,kona-pwm.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom Kona family PWM controller + +description: + This controller has 6 channels. + +maintainers: + - Florian Fainelli + +allOf: + - $ref: pwm.yaml# + +properties: + compatible: + items: + - enum: + - brcm,bcm11351-pwm + - const: brcm,kona-pwm + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + '#pwm-cells': + const: 3 + +required: + - compatible + - reg + - clocks + +unevaluatedProperties: false + +examples: + - | + #include + + pwm@3e01a000 { + compatible = "brcm,bcm11351-pwm", "brcm,kona-pwm"; + reg = <0x3e01a000 0xcc>; + clocks = <&slave_ccu BCM281XX_SLAVE_CCU_PWM>; + #pwm-cells = <3>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/clk-pwm.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/clk-pwm.yaml index c8e43425ff..ec17682915 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/clk-pwm.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/clk-pwm.yaml @@ -1,46 +1,46 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/pwm/clk-pwm.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Clock based PWM controller - -maintainers: - - Nikita Travkin - -description: | - Some systems have clocks that can be exposed to external devices. - (e.g. by muxing them to GPIO pins) - It's often possible to control duty-cycle of such clocks which makes them - suitable for generating PWM signal. - -allOf: - - $ref: pwm.yaml# - -properties: - compatible: - const: clk-pwm - - clocks: - description: Clock used to generate the signal. - maxItems: 1 - - "#pwm-cells": - const: 2 - -unevaluatedProperties: false - -required: - - compatible - - clocks - -examples: - - | - pwm { - compatible = "clk-pwm"; - #pwm-cells = <2>; - clocks = <&gcc 0>; - pinctrl-names = "default"; - pinctrl-0 = <&pwm_clk_flash_default>; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/pwm/clk-pwm.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Clock based PWM controller + +maintainers: + - Nikita Travkin + +description: | + Some systems have clocks that can be exposed to external devices. + (e.g. by muxing them to GPIO pins) + It's often possible to control duty-cycle of such clocks which makes them + suitable for generating PWM signal. + +allOf: + - $ref: pwm.yaml# + +properties: + compatible: + const: clk-pwm + + clocks: + description: Clock used to generate the signal. + maxItems: 1 + + "#pwm-cells": + const: 2 + +unevaluatedProperties: false + +required: + - compatible + - clocks + +examples: + - | + pwm { + compatible = "clk-pwm"; + #pwm-cells = <2>; + clocks = <&gcc 0>; + pinctrl-names = "default"; + pinctrl-0 = <&pwm_clk_flash_default>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/img-pwm.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/img-pwm.txt index 3c6bad78b1..9db6de9731 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/img-pwm.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/img-pwm.txt @@ -1,24 +1,24 @@ -*Imagination Technologies PWM DAC driver - -Required properties: - - compatible: Should be "img,pistachio-pwm" - - reg: Should contain physical base address and length of pwm registers. - - clocks: Must contain an entry for each entry in clock-names. - See ../clock/clock-bindings.txt for details. - - clock-names: Must include the following entries. - - pwm: PWM operating clock. - - sys: PWM system interface clock. - - #pwm-cells: Should be 2. See pwm.yaml in this directory for the - description of the cells format. - - img,cr-periph: Must contain a phandle to the peripheral control - syscon node which contains PWM control registers. - -Example: - pwm: pwm@18101300 { - compatible = "img,pistachio-pwm"; - reg = <0x18101300 0x100>; - clocks = <&pwm_clk>, <&system_clk>; - clock-names = "pwm", "sys"; - #pwm-cells = <2>; - img,cr-periph = <&cr_periph>; - }; +*Imagination Technologies PWM DAC driver + +Required properties: + - compatible: Should be "img,pistachio-pwm" + - reg: Should contain physical base address and length of pwm registers. + - clocks: Must contain an entry for each entry in clock-names. + See ../clock/clock-bindings.txt for details. + - clock-names: Must include the following entries. + - pwm: PWM operating clock. + - sys: PWM system interface clock. + - #pwm-cells: Should be 2. See pwm.yaml in this directory for the + description of the cells format. + - img,cr-periph: Must contain a phandle to the peripheral control + syscon node which contains PWM control registers. + +Example: + pwm: pwm@18101300 { + compatible = "img,pistachio-pwm"; + reg = <0x18101300 0x100>; + clocks = <&pwm_clk>, <&system_clk>; + clock-names = "pwm", "sys"; + #pwm-cells = <2>; + img,cr-periph = <&cr_periph>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/intel,keembay-pwm.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/intel,keembay-pwm.yaml index a2d9e046b6..5b18a5913e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/intel,keembay-pwm.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/intel,keembay-pwm.yaml @@ -1,46 +1,46 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -# Copyright (C) 2020 Intel Corporation -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/pwm/intel,keembay-pwm.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Intel Keem Bay PWM - -maintainers: - - Vijayakannan Ayyathurai - -allOf: - - $ref: pwm.yaml# - -properties: - compatible: - enum: - - intel,keembay-pwm - - reg: - maxItems: 1 - - clocks: - maxItems: 1 - - "#pwm-cells": - const: 2 - -required: - - compatible - - reg - - clocks - -additionalProperties: false - -examples: - - | - #define KEEM_BAY_A53_GPIO - - pwm@203200a0 { - compatible = "intel,keembay-pwm"; - reg = <0x203200a0 0xe8>; - clocks = <&scmi_clk KEEM_BAY_A53_GPIO>; - #pwm-cells = <2>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +# Copyright (C) 2020 Intel Corporation +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/pwm/intel,keembay-pwm.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Intel Keem Bay PWM + +maintainers: + - Vijayakannan Ayyathurai + +allOf: + - $ref: pwm.yaml# + +properties: + compatible: + enum: + - intel,keembay-pwm + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + "#pwm-cells": + const: 2 + +required: + - compatible + - reg + - clocks + +additionalProperties: false + +examples: + - | + #define KEEM_BAY_A53_GPIO + + pwm@203200a0 { + compatible = "intel,keembay-pwm"; + reg = <0x203200a0 0xe8>; + clocks = <&scmi_clk KEEM_BAY_A53_GPIO>; + #pwm-cells = <2>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/intel,lgm-pwm.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/intel,lgm-pwm.yaml index 1104c564f4..59d7c4d864 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/intel,lgm-pwm.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/intel,lgm-pwm.yaml @@ -1,47 +1,47 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/pwm/intel,lgm-pwm.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: LGM SoC PWM fan controller - -maintainers: - - Rahul Tanwar - -allOf: - - $ref: pwm.yaml# - -properties: - compatible: - const: intel,lgm-pwm - - reg: - maxItems: 1 - - "#pwm-cells": - const: 2 - - clocks: - maxItems: 1 - - resets: - maxItems: 1 - -required: - - compatible - - reg - - clocks - - resets - -additionalProperties: false - -examples: - - | - pwm: pwm@e0d00000 { - compatible = "intel,lgm-pwm"; - reg = <0xe0d00000 0x30>; - #pwm-cells = <2>; - clocks = <&cgu0 126>; - resets = <&rcu0 0x30 21>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/pwm/intel,lgm-pwm.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: LGM SoC PWM fan controller + +maintainers: + - Rahul Tanwar + +allOf: + - $ref: pwm.yaml# + +properties: + compatible: + const: intel,lgm-pwm + + reg: + maxItems: 1 + + "#pwm-cells": + const: 2 + + clocks: + maxItems: 1 + + resets: + maxItems: 1 + +required: + - compatible + - reg + - clocks + - resets + +additionalProperties: false + +examples: + - | + pwm: pwm@e0d00000 { + compatible = "intel,lgm-pwm"; + reg = <0xe0d00000 0x30>; + #pwm-cells = <2>; + clocks = <&cgu0 126>; + resets = <&rcu0 0x30 21>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/iqs620a-pwm.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/iqs620a-pwm.yaml index 170480ba76..0a46af240d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/iqs620a-pwm.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/iqs620a-pwm.yaml @@ -1,34 +1,34 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/pwm/iqs620a-pwm.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Azoteq IQS620A PWM Generator - -maintainers: - - Jeff LaBundy - -description: | - The Azoteq IQS620A multi-function sensor generates a fixed-frequency PWM - output represented by a "pwm" child node from the parent MFD driver. See - Documentation/devicetree/bindings/mfd/iqs62x.yaml for further details as - well as an example. - -allOf: - - $ref: pwm.yaml# - -properties: - compatible: - enum: - - azoteq,iqs620a-pwm - - "#pwm-cells": - const: 2 - -required: - - compatible - -additionalProperties: false - -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/pwm/iqs620a-pwm.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Azoteq IQS620A PWM Generator + +maintainers: + - Jeff LaBundy + +description: | + The Azoteq IQS620A multi-function sensor generates a fixed-frequency PWM + output represented by a "pwm" child node from the parent MFD driver. See + Documentation/devicetree/bindings/mfd/iqs62x.yaml for further details as + well as an example. + +allOf: + - $ref: pwm.yaml# + +properties: + compatible: + enum: + - azoteq,iqs620a-pwm + + "#pwm-cells": + const: 2 + +required: + - compatible + +additionalProperties: false + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/kontron,sl28cpld-pwm.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/kontron,sl28cpld-pwm.yaml index e21ee9a3b5..981cfec53f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/kontron,sl28cpld-pwm.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/kontron,sl28cpld-pwm.yaml @@ -1,35 +1,35 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/pwm/kontron,sl28cpld-pwm.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: PWM 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. - - The controller supports one PWM channel and supports only four distinct - frequencies (250Hz, 500Hz, 1kHz, 2kHz). - -allOf: - - $ref: pwm.yaml# - -properties: - compatible: - const: kontron,sl28cpld-pwm - - reg: - maxItems: 1 - - "#pwm-cells": - const: 2 - -required: - - compatible - -additionalProperties: false +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/pwm/kontron,sl28cpld-pwm.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: PWM 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. + + The controller supports one PWM channel and supports only four distinct + frequencies (250Hz, 500Hz, 1kHz, 2kHz). + +allOf: + - $ref: pwm.yaml# + +properties: + compatible: + const: kontron,sl28cpld-pwm + + reg: + maxItems: 1 + + "#pwm-cells": + const: 2 + +required: + - compatible + +additionalProperties: false diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/lpc1850-sct-pwm.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/lpc1850-sct-pwm.txt index f6d902b579..43d9f4f08a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/lpc1850-sct-pwm.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/lpc1850-sct-pwm.txt @@ -1,20 +1,20 @@ -* NXP LPC18xx State Configurable Timer - Pulse Width Modulator driver - -Required properties: - - compatible: Should be "nxp,lpc1850-sct-pwm" - - reg: Should contain physical base address and length of pwm registers. - - clocks: Must contain an entry for each entry in clock-names. - See ../clock/clock-bindings.txt for details. - - clock-names: Must include the following entries. - - pwm: PWM operating clock. - - #pwm-cells: Should be 3. See pwm.yaml in this directory for the description - of the cells format. - -Example: - pwm: pwm@40000000 { - compatible = "nxp,lpc1850-sct-pwm"; - reg = <0x40000000 0x1000>; - clocks =<&ccu1 CLK_CPU_SCT>; - clock-names = "pwm"; - #pwm-cells = <3>; - }; +* NXP LPC18xx State Configurable Timer - Pulse Width Modulator driver + +Required properties: + - compatible: Should be "nxp,lpc1850-sct-pwm" + - reg: Should contain physical base address and length of pwm registers. + - clocks: Must contain an entry for each entry in clock-names. + See ../clock/clock-bindings.txt for details. + - clock-names: Must include the following entries. + - pwm: PWM operating clock. + - #pwm-cells: Should be 3. See pwm.yaml in this directory for the description + of the cells format. + +Example: + pwm: pwm@40000000 { + compatible = "nxp,lpc1850-sct-pwm"; + reg = <0x40000000 0x1000>; + clocks =<&ccu1 CLK_CPU_SCT>; + clock-names = "pwm"; + #pwm-cells = <3>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/marvell,pxa-pwm.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/marvell,pxa-pwm.yaml index 6346d7c7ec..9ee1946dc2 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/marvell,pxa-pwm.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/marvell,pxa-pwm.yaml @@ -1,50 +1,50 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/pwm/marvell,pxa-pwm.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Marvell PXA PWM - -maintainers: - - Duje Mihanović - -allOf: - - $ref: pwm.yaml# - -properties: - compatible: - enum: - - marvell,pxa250-pwm - - marvell,pxa270-pwm - - marvell,pxa168-pwm - - marvell,pxa910-pwm - - reg: - # Length should be 0x10 - maxItems: 1 - - "#pwm-cells": - # Used for specifying the period length in nanoseconds - const: 1 - - clocks: - maxItems: 1 - -required: - - compatible - - reg - - clocks - -additionalProperties: false - -examples: - - | - #include - - pwm0: pwm@40b00000 { - compatible = "marvell,pxa250-pwm"; - reg = <0x40b00000 0x10>; - #pwm-cells = <1>; - clocks = <&clks CLK_PWM0>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/pwm/marvell,pxa-pwm.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Marvell PXA PWM + +maintainers: + - Duje Mihanović + +allOf: + - $ref: pwm.yaml# + +properties: + compatible: + enum: + - marvell,pxa250-pwm + - marvell,pxa270-pwm + - marvell,pxa168-pwm + - marvell,pxa910-pwm + + reg: + # Length should be 0x10 + maxItems: 1 + + "#pwm-cells": + # Used for specifying the period length in nanoseconds + const: 1 + + clocks: + maxItems: 1 + +required: + - compatible + - reg + - clocks + +additionalProperties: false + +examples: + - | + #include + + pwm0: pwm@40b00000 { + compatible = "marvell,pxa250-pwm"; + reg = <0x40b00000 0x10>; + #pwm-cells = <1>; + clocks = <&clks CLK_PWM0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/nxp,pca9685-pwm.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/nxp,pca9685-pwm.txt index 153425d97b..f21b55c957 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/nxp,pca9685-pwm.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/nxp,pca9685-pwm.txt @@ -1,27 +1,27 @@ -NXP PCA9685 16-channel 12-bit PWM LED controller -================================================ - -Required properties: - - compatible: "nxp,pca9685-pwm" - - #pwm-cells: Should be 2. See pwm.yaml in this directory for a description of - the cells format. - The index 16 is the ALLCALL channel, that sets all PWM channels at the same - time. - -Optional properties: - - invert (bool): boolean to enable inverted logic - - open-drain (bool): boolean to configure outputs with open-drain structure; - if omitted use totem-pole structure - -Example: - -For LEDs that are directly connected to the PCA, the following setting is -applicable: - -pca: pca@41 { - compatible = "nxp,pca9685-pwm"; - #pwm-cells = <2>; - reg = <0x41>; - invert; - open-drain; -}; +NXP PCA9685 16-channel 12-bit PWM LED controller +================================================ + +Required properties: + - compatible: "nxp,pca9685-pwm" + - #pwm-cells: Should be 2. See pwm.yaml in this directory for a description of + the cells format. + The index 16 is the ALLCALL channel, that sets all PWM channels at the same + time. + +Optional properties: + - invert (bool): boolean to enable inverted logic + - open-drain (bool): boolean to configure outputs with open-drain structure; + if omitted use totem-pole structure + +Example: + +For LEDs that are directly connected to the PCA, the following setting is +applicable: + +pca: pca@41 { + compatible = "nxp,pca9685-pwm"; + #pwm-cells = <2>; + reg = <0x41>; + invert; + open-drain; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/pwm-bcm2835.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/pwm-bcm2835.yaml index eb463e3145..9dc25f38fb 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/pwm-bcm2835.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/pwm-bcm2835.yaml @@ -1,42 +1,42 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/pwm/pwm-bcm2835.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: BCM2835 PWM controller (Raspberry Pi controller) - -maintainers: - - Stefan Wahren - -allOf: - - $ref: pwm.yaml# - -properties: - compatible: - const: brcm,bcm2835-pwm - - reg: - maxItems: 1 - - clocks: - maxItems: 1 - - "#pwm-cells": - const: 3 - -required: - - compatible - - reg - - clocks - -additionalProperties: false - -examples: - - | - pwm@2020c000 { - compatible = "brcm,bcm2835-pwm"; - reg = <0x2020c000 0x28>; - clocks = <&clk_pwm>; - #pwm-cells = <3>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/pwm/pwm-bcm2835.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: BCM2835 PWM controller (Raspberry Pi controller) + +maintainers: + - Stefan Wahren + +allOf: + - $ref: pwm.yaml# + +properties: + compatible: + const: brcm,bcm2835-pwm + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + "#pwm-cells": + const: 3 + +required: + - compatible + - reg + - clocks + +additionalProperties: false + +examples: + - | + pwm@2020c000 { + compatible = "brcm,bcm2835-pwm"; + reg = <0x2020c000 0x28>; + clocks = <&clk_pwm>; + #pwm-cells = <3>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/pwm-gpio.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/pwm-gpio.yaml index 7e80f7e4c3..1576c193f2 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/pwm-gpio.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/pwm-gpio.yaml @@ -1,46 +1,46 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/pwm/pwm-gpio.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Generic software PWM for modulating GPIOs - -maintainers: - - Stefan Wahren - -allOf: - - $ref: pwm.yaml# - -properties: - compatible: - const: pwm-gpio - - "#pwm-cells": - const: 3 - description: - See pwm.yaml in this directory for a description of the cells format. - The first cell which represents the PWM instance number must always - be zero. - - gpios: - description: - GPIO to be modulated - maxItems: 1 - -required: - - compatible - - "#pwm-cells" - - gpios - -additionalProperties: false - -examples: - - | - #include - - pwm { - #pwm-cells = <3>; - compatible = "pwm-gpio"; - gpios = <&gpio 1 GPIO_ACTIVE_HIGH>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/pwm/pwm-gpio.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Generic software PWM for modulating GPIOs + +maintainers: + - Stefan Wahren + +allOf: + - $ref: pwm.yaml# + +properties: + compatible: + const: pwm-gpio + + "#pwm-cells": + const: 3 + description: + See pwm.yaml in this directory for a description of the cells format. + The first cell which represents the PWM instance number must always + be zero. + + gpios: + description: + GPIO to be modulated + maxItems: 1 + +required: + - compatible + - "#pwm-cells" + - gpios + +additionalProperties: false + +examples: + - | + #include + + pwm { + #pwm-cells = <3>; + compatible = "pwm-gpio"; + gpios = <&gpio 1 GPIO_ACTIVE_HIGH>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/pwm-hibvt.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/pwm-hibvt.txt index 05958c705e..54dbc2a0e6 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/pwm-hibvt.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/pwm-hibvt.txt @@ -1,23 +1,23 @@ -Hisilicon PWM controller - -Required properties: --compatible: should contain one SoC specific compatible string - The SoC specific strings supported including: - "hisilicon,hi3516cv300-pwm" - "hisilicon,hi3519v100-pwm" - "hisilicon,hi3559v100-shub-pwm" - "hisilicon,hi3559v100-pwm -- reg: physical base address and length of the controller's registers. -- clocks: phandle and clock specifier of the PWM reference clock. -- resets: phandle and reset specifier for the PWM controller reset. -- #pwm-cells: Should be 3. See pwm.yaml in this directory for a description of - the cells format. - -Example: - pwm: pwm@12130000 { - compatible = "hisilicon,hi3516cv300-pwm"; - reg = <0x12130000 0x10000>; - clocks = <&crg_ctrl HI3516CV300_PWM_CLK>; - resets = <&crg_ctrl 0x38 0>; - #pwm-cells = <3>; - }; +Hisilicon PWM controller + +Required properties: +-compatible: should contain one SoC specific compatible string + The SoC specific strings supported including: + "hisilicon,hi3516cv300-pwm" + "hisilicon,hi3519v100-pwm" + "hisilicon,hi3559v100-shub-pwm" + "hisilicon,hi3559v100-pwm +- reg: physical base address and length of the controller's registers. +- clocks: phandle and clock specifier of the PWM reference clock. +- resets: phandle and reset specifier for the PWM controller reset. +- #pwm-cells: Should be 3. See pwm.yaml in this directory for a description of + the cells format. + +Example: + pwm: pwm@12130000 { + compatible = "hisilicon,hi3516cv300-pwm"; + reg = <0x12130000 0x10000>; + clocks = <&crg_ctrl HI3516CV300_PWM_CLK>; + resets = <&crg_ctrl 0x38 0>; + #pwm-cells = <3>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/pwm.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/pwm.yaml index 6b57cb5b21..f2206ec3c7 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/pwm.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/pwm.yaml @@ -1,36 +1,36 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/pwm/pwm.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: PWM controllers (providers) - -maintainers: - - Thierry Reding - -select: false - -properties: - $nodename: - pattern: "^pwm(@.*|-([0-9]|[1-9][0-9]+))?$" - - "#pwm-cells": - description: | - Number of cells in a PWM specifier. Typically the cells represent, in - order: the chip-relative PWM number, the PWM period in nanoseconds and - optionally a number of flags (defined in ). - -required: - - "#pwm-cells" - -additionalProperties: true - -examples: - - | - pwm: pwm@1c20e00 { - compatible = "allwinner,sun7i-a20-pwm"; - reg = <0x01c20e00 0xc>; - clocks = <&osc24M>; - #pwm-cells = <3>; - }; +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/pwm/pwm.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: PWM controllers (providers) + +maintainers: + - Thierry Reding + +select: false + +properties: + $nodename: + pattern: "^pwm(@.*|-([0-9]|[1-9][0-9]+))?$" + + "#pwm-cells": + description: | + Number of cells in a PWM specifier. Typically the cells represent, in + order: the chip-relative PWM number, the PWM period in nanoseconds and + optionally a number of flags (defined in ). + +required: + - "#pwm-cells" + +additionalProperties: true + +examples: + - | + pwm: pwm@1c20e00 { + compatible = "allwinner,sun7i-a20-pwm"; + reg = <0x01c20e00 0xc>; + clocks = <&osc24M>; + #pwm-cells = <3>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/sunplus,sp7021-pwm.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/sunplus,sp7021-pwm.yaml index 10cba89784..d4fc9e8db1 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/sunplus,sp7021-pwm.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/sunplus,sp7021-pwm.yaml @@ -1,42 +1,42 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -# Copyright (C) Sunplus Co., Ltd. 2021 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/pwm/sunplus,sp7021-pwm.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Sunplus SoC SP7021 PWM Controller - -maintainers: - - Hammer Hsieh - -allOf: - - $ref: pwm.yaml# - -properties: - compatible: - const: sunplus,sp7021-pwm - - reg: - maxItems: 1 - - clocks: - maxItems: 1 - - '#pwm-cells': - const: 2 - -unevaluatedProperties: false - -required: - - reg - - clocks - -examples: - - | - pwm: pwm@9c007a00 { - compatible = "sunplus,sp7021-pwm"; - reg = <0x9c007a00 0x80>; - clocks = <&clkc 0xa2>; - #pwm-cells = <2>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +# Copyright (C) Sunplus Co., Ltd. 2021 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/pwm/sunplus,sp7021-pwm.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Sunplus SoC SP7021 PWM Controller + +maintainers: + - Hammer Hsieh + +allOf: + - $ref: pwm.yaml# + +properties: + compatible: + const: sunplus,sp7021-pwm + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + '#pwm-cells': + const: 2 + +unevaluatedProperties: false + +required: + - reg + - clocks + +examples: + - | + pwm: pwm@9c007a00 { + compatible = "sunplus,sp7021-pwm"; + reg = <0x9c007a00 0x80>; + clocks = <&clkc 0xa2>; + #pwm-cells = <2>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/toshiba,pwm-visconti.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/toshiba,pwm-visconti.yaml index 39a91ab38e..46622661e5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/toshiba,pwm-visconti.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/toshiba,pwm-visconti.yaml @@ -1,45 +1,45 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/pwm/toshiba,pwm-visconti.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Toshiba Visconti PWM Controller - -maintainers: - - Nobuhiro Iwamatsu - -allOf: - - $ref: pwm.yaml# - -properties: - compatible: - items: - - const: toshiba,visconti-pwm - - reg: - maxItems: 1 - - '#pwm-cells': - const: 2 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - soc { - #address-cells = <2>; - #size-cells = <2>; - - pwm: pwm@241c0000 { - compatible = "toshiba,visconti-pwm"; - reg = <0 0x241c0000 0 0x1000>; - pinctrl-names = "default"; - pinctrl-0 = <&pwm_mux>; - #pwm-cells = <2>; - }; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/pwm/toshiba,pwm-visconti.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Toshiba Visconti PWM Controller + +maintainers: + - Nobuhiro Iwamatsu + +allOf: + - $ref: pwm.yaml# + +properties: + compatible: + items: + - const: toshiba,visconti-pwm + + reg: + maxItems: 1 + + '#pwm-cells': + const: 2 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + soc { + #address-cells = <2>; + #size-cells = <2>; + + pwm: pwm@241c0000 { + compatible = "toshiba,visconti-pwm"; + reg = <0 0x241c0000 0 0x1000>; + pinctrl-names = "default"; + pinctrl-0 = <&pwm_mux>; + #pwm-cells = <2>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regmap/regmap.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regmap/regmap.txt index 19ddd4d104..873096be02 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regmap/regmap.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regmap/regmap.txt @@ -1,29 +1,29 @@ -Devicetree binding for regmap - -Optional properties: - - little-endian, - big-endian, - native-endian: See common-properties.txt for a definition - -Note: -Regmap defaults to little-endian register access on MMIO based -devices, this is by far the most common setting. On CPU -architectures that typically run big-endian operating systems -(e.g. PowerPC), registers can be defined as big-endian and must -be marked that way in the devicetree. - -On SoCs that can be operated in both big-endian and little-endian -modes, with a single hardware switch controlling both the endianness -of the CPU and a byteswap for MMIO registers (e.g. many Broadcom MIPS -chips), "native-endian" is used to allow using the same device tree -blob in both cases. - -Examples: -Scenario 1 : a register set in big-endian mode. -dev: dev@40031000 { - compatible = "syscon"; - reg = <0x40031000 0x1000>; - big-endian; - ... -}; +Devicetree binding for regmap + +Optional properties: + + little-endian, + big-endian, + native-endian: See common-properties.txt for a definition + +Note: +Regmap defaults to little-endian register access on MMIO based +devices, this is by far the most common setting. On CPU +architectures that typically run big-endian operating systems +(e.g. PowerPC), registers can be defined as big-endian and must +be marked that way in the devicetree. + +On SoCs that can be operated in both big-endian and little-endian +modes, with a single hardware switch controlling both the endianness +of the CPU and a byteswap for MMIO registers (e.g. many Broadcom MIPS +chips), "native-endian" is used to allow using the same device tree +blob in both cases. + +Examples: +Scenario 1 : a register set in big-endian mode. +dev: dev@40031000 { + compatible = "syscon"; + reg = <0x40031000 0x1000>; + big-endian; + ... +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/88pm860x.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/88pm860x.txt index 8df2cd19b1..1267b3e1a2 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/88pm860x.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/88pm860x.txt @@ -1,30 +1,30 @@ -Marvell 88PM860x regulator - -Required properties: -- compatible: "marvell,88pm860x" -- reg: I2C slave address -- regulators: A node that houses a sub-node for each regulator within the - device. Each sub-node is identified using the regulator-compatible - property, with valid values listed below. - -Example: - - pmic: 88pm860x@34 { - compatible = "marvell,88pm860x"; - reg = <0x34>; - - regulators { - BUCK1 { - regulator-min-microvolt = <1000000>; - regulator-max-microvolt = <1500000>; - regulator-boot-on; - regulator-always-on; - }; - BUCK3 { - regulator-min-microvolt = <1000000>; - regulator-max-microvolt = <3000000>; - regulator-boot-on; - regulator-always-on; - }; - }; - }; +Marvell 88PM860x regulator + +Required properties: +- compatible: "marvell,88pm860x" +- reg: I2C slave address +- regulators: A node that houses a sub-node for each regulator within the + device. Each sub-node is identified using the regulator-compatible + property, with valid values listed below. + +Example: + + pmic: 88pm860x@34 { + compatible = "marvell,88pm860x"; + reg = <0x34>; + + regulators { + BUCK1 { + regulator-min-microvolt = <1000000>; + regulator-max-microvolt = <1500000>; + regulator-boot-on; + regulator-always-on; + }; + BUCK3 { + regulator-min-microvolt = <1000000>; + regulator-max-microvolt = <3000000>; + regulator-boot-on; + regulator-always-on; + }; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/allwinner,sun20i-d1-system-ldos.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/allwinner,sun20i-d1-system-ldos.yaml index b65958053a..ec6695c8d2 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/allwinner,sun20i-d1-system-ldos.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/allwinner,sun20i-d1-system-ldos.yaml @@ -1,37 +1,37 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/regulator/allwinner,sun20i-d1-system-ldos.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Allwinner D1 System LDOs - -maintainers: - - Samuel Holland - -description: - Allwinner D1 contains a pair of general-purpose LDOs which are designed to - supply power inside and outside the SoC. They are controlled by a register - within the system control MMIO space. - -properties: - compatible: - enum: - - allwinner,sun20i-d1-system-ldos - - reg: - maxItems: 1 - -patternProperties: - "^ldo[ab]$": - type: object - $ref: regulator.yaml# - unevaluatedProperties: false - -required: - - compatible - - reg - -additionalProperties: false - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/regulator/allwinner,sun20i-d1-system-ldos.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Allwinner D1 System LDOs + +maintainers: + - Samuel Holland + +description: + Allwinner D1 contains a pair of general-purpose LDOs which are designed to + supply power inside and outside the SoC. They are controlled by a register + within the system control MMIO space. + +properties: + compatible: + enum: + - allwinner,sun20i-d1-system-ldos + + reg: + maxItems: 1 + +patternProperties: + "^ldo[ab]$": + type: object + $ref: regulator.yaml# + unevaluatedProperties: false + +required: + - compatible + - reg + +additionalProperties: false + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/cpcap-regulator.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/cpcap-regulator.txt index 6391e35f6b..36f5e2f5cc 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/cpcap-regulator.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/cpcap-regulator.txt @@ -1,35 +1,35 @@ -Motorola CPCAP PMIC voltage regulators ------------------------------------- - -Requires node properties: -- "compatible" value one of: - "motorola,cpcap-regulator" - "motorola,mapphone-cpcap-regulator" - "motorola,xoom-cpcap-regulator" - -Required regulator properties: -- "regulator-name" -- "regulator-enable-ramp-delay" -- "regulator-min-microvolt" -- "regulator-max-microvolt" - -Optional regulator properties: -- "regulator-boot-on" - -See Documentation/devicetree/bindings/regulator/regulator.txt -for more details about the regulator properties. - -Example: - -cpcap_regulator: regulator { - compatible = "motorola,cpcap-regulator"; - - cpcap_regulators: regulators { - sw5: SW5 { - regulator-min-microvolt = <5050000>; - regulator-max-microvolt = <5050000>; - regulator-enable-ramp-delay = <50000>; - regulator-boot-on; - }; - }; -}; +Motorola CPCAP PMIC voltage regulators +------------------------------------ + +Requires node properties: +- "compatible" value one of: + "motorola,cpcap-regulator" + "motorola,mapphone-cpcap-regulator" + "motorola,xoom-cpcap-regulator" + +Required regulator properties: +- "regulator-name" +- "regulator-enable-ramp-delay" +- "regulator-min-microvolt" +- "regulator-max-microvolt" + +Optional regulator properties: +- "regulator-boot-on" + +See Documentation/devicetree/bindings/regulator/regulator.txt +for more details about the regulator properties. + +Example: + +cpcap_regulator: regulator { + compatible = "motorola,cpcap-regulator"; + + cpcap_regulators: regulators { + sw5: SW5 { + regulator-min-microvolt = <5050000>; + regulator-max-microvolt = <5050000>; + regulator-enable-ramp-delay = <50000>; + regulator-boot-on; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/hisilicon,hi655x-regulator.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/hisilicon,hi655x-regulator.txt index 918f0fcbd2..14cfdc5641 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/hisilicon,hi655x-regulator.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/hisilicon,hi655x-regulator.txt @@ -1,29 +1,29 @@ -Hisilicon Hi655x Voltage regulators - -Note: -The Hi655x regulator control is managed by Hi655x PMIC. -So the node of this regulator must be child node of Hi655x -PMIC node. - -The driver uses the regulator core framework, so please also -take the bindings of regulator.txt for reference. - -The valid names for regulators are: - -LDO2_2V8 LDO7_SDIO LDO10_2V85 LDO13_1V8 LDO14_2V8 -LDO15_1V8 LDO17_2V5 LDO19_3V0 LDO21_1V8 LDO22_1V2 - -Example: - pmic: pmic@f8000000 { - compatible = "hisilicon,hi655x-pmic"; - ... - regulators { - ldo2: LDO2@a21 { - regulator-name = "LDO2_2V8"; - regulator-min-microvolt = <2500000>; - regulator-max-microvolt = <3200000>; - regulator-enable-ramp-delay = <120>; - }; - ... - } - } +Hisilicon Hi655x Voltage regulators + +Note: +The Hi655x regulator control is managed by Hi655x PMIC. +So the node of this regulator must be child node of Hi655x +PMIC node. + +The driver uses the regulator core framework, so please also +take the bindings of regulator.txt for reference. + +The valid names for regulators are: + +LDO2_2V8 LDO7_SDIO LDO10_2V85 LDO13_1V8 LDO14_2V8 +LDO15_1V8 LDO17_2V5 LDO19_3V0 LDO21_1V8 LDO22_1V2 + +Example: + pmic: pmic@f8000000 { + compatible = "hisilicon,hi655x-pmic"; + ... + regulators { + ldo2: LDO2@a21 { + regulator-name = "LDO2_2V8"; + regulator-min-microvolt = <2500000>; + regulator-max-microvolt = <3200000>; + regulator-enable-ramp-delay = <120>; + }; + ... + } + } diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/infineon,ir38060.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/infineon,ir38060.yaml index cbe3976028..e6ffbc2a22 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/infineon,ir38060.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/infineon,ir38060.yaml @@ -1,45 +1,45 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/regulator/infineon,ir38060.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Infineon Buck Regulators with PMBUS interfaces - -maintainers: - - Not Me. - -allOf: - - $ref: regulator.yaml# - -properties: - compatible: - enum: - - infineon,ir38060 - - infineon,ir38064 - - infineon,ir38164 - - infineon,ir38263 - - reg: - maxItems: 1 - -required: - - compatible - - reg - -unevaluatedProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - regulator@34 { - compatible = "infineon,ir38060"; - reg = <0x34>; - - regulator-min-microvolt = <437500>; - regulator-max-microvolt = <1387500>; - }; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/regulator/infineon,ir38060.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Infineon Buck Regulators with PMBUS interfaces + +maintainers: + - Not Me. + +allOf: + - $ref: regulator.yaml# + +properties: + compatible: + enum: + - infineon,ir38060 + - infineon,ir38064 + - infineon,ir38164 + - infineon,ir38263 + + reg: + maxItems: 1 + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + regulator@34 { + compatible = "infineon,ir38060"; + reg = <0x34>; + + regulator-min-microvolt = <437500>; + regulator-max-microvolt = <1387500>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/max1586-regulator.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/max1586-regulator.txt index 0163139645..c050c1744c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/max1586-regulator.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/max1586-regulator.txt @@ -1,28 +1,28 @@ -Maxim MAX1586 voltage regulator - -Required properties: -- compatible: must be "maxim,max1586" -- reg: I2C slave address, usually 0x14 -- v3-gain: integer specifying the V3 gain as per datasheet - (1 + R24/R25 + R24/185.5kOhm) -- any required generic properties defined in regulator.txt - -Example: - - i2c_master { - max1586@14 { - compatible = "maxim,max1586"; - reg = <0x14>; - v3-gain = <1000000>; - - regulators { - vcc_core: v3 { - regulator-name = "vcc_core"; - regulator-compatible = "Output_V3"; - regulator-min-microvolt = <1000000>; - regulator-max-microvolt = <1705000>; - regulator-always-on; - }; - }; - }; - }; +Maxim MAX1586 voltage regulator + +Required properties: +- compatible: must be "maxim,max1586" +- reg: I2C slave address, usually 0x14 +- v3-gain: integer specifying the V3 gain as per datasheet + (1 + R24/R25 + R24/185.5kOhm) +- any required generic properties defined in regulator.txt + +Example: + + i2c_master { + max1586@14 { + compatible = "maxim,max1586"; + reg = <0x14>; + v3-gain = <1000000>; + + regulators { + vcc_core: v3 { + regulator-name = "vcc_core"; + regulator-compatible = "Output_V3"; + regulator-min-microvolt = <1000000>; + regulator-max-microvolt = <1705000>; + regulator-always-on; + }; + }; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/max77650-regulator.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/max77650-regulator.yaml index e3150474ef..27d5e9c2bb 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/max77650-regulator.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/max77650-regulator.yaml @@ -1,35 +1,35 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/regulator/max77650-regulator.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Regulator driver for MAX77650 PMIC from Maxim Integrated. - -maintainers: - - Bartosz Golaszewski - -description: | - This module is part of the MAX77650 MFD device. For more details - see Documentation/devicetree/bindings/mfd/max77650.yaml. - - The regulator controller is represented as a sub-node of the PMIC node - on the device tree. - - The device has a single LDO regulator and a SIMO buck-boost regulator with - three independent power rails. - -properties: - compatible: - const: maxim,max77650-regulator - -patternProperties: - "^regulator-(ldo|sbb[0-2])$": - $ref: regulator.yaml# - unevaluatedProperties: false - -required: - - compatible -additionalProperties: false - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/regulator/max77650-regulator.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Regulator driver for MAX77650 PMIC from Maxim Integrated. + +maintainers: + - Bartosz Golaszewski + +description: | + This module is part of the MAX77650 MFD device. For more details + see Documentation/devicetree/bindings/mfd/max77650.yaml. + + The regulator controller is represented as a sub-node of the PMIC node + on the device tree. + + The device has a single LDO regulator and a SIMO buck-boost regulator with + three independent power rails. + +properties: + compatible: + const: maxim,max77650-regulator + +patternProperties: + "^regulator-(ldo|sbb[0-2])$": + $ref: regulator.yaml# + unevaluatedProperties: false + +required: + - compatible +additionalProperties: false + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/max8925-regulator.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/max8925-regulator.txt index e98049b5ca..0057695aae 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/max8925-regulator.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/max8925-regulator.txt @@ -1,40 +1,40 @@ -Max8925 Voltage regulators - -Required nodes: --nodes: - - SDV1 for SDV SDV1 - - SDV2 for SDV SDV2 - - SDV3 for SDV SDV3 - - LDO1 for LDO LDO1 - - LDO2 for LDO LDO2 - - LDO3 for LDO LDO3 - - LDO4 for LDO LDO4 - - LDO5 for LDO LDO5 - - LDO6 for LDO LDO6 - - LDO7 for LDO LDO7 - - LDO8 for LDO LDO8 - - LDO9 for LDO LDO9 - - LDO10 for LDO LDO10 - - LDO11 for LDO LDO11 - - LDO12 for LDO LDO12 - - LDO13 for LDO LDO13 - - LDO14 for LDO LDO14 - - LDO15 for LDO LDO15 - - LDO16 for LDO LDO16 - - LDO17 for LDO LDO17 - - LDO18 for LDO LDO18 - - LDO19 for LDO LDO19 - - LDO20 for LDO LDO20 - -Optional properties: -- Any optional property defined in bindings/regulator/regulator.txt - -Example: - - SDV1 { - regulator-min-microvolt = <637500>; - regulator-max-microvolt = <1425000>; - regulator-boot-on; - regulator-always-on; - }; - +Max8925 Voltage regulators + +Required nodes: +-nodes: + - SDV1 for SDV SDV1 + - SDV2 for SDV SDV2 + - SDV3 for SDV SDV3 + - LDO1 for LDO LDO1 + - LDO2 for LDO LDO2 + - LDO3 for LDO LDO3 + - LDO4 for LDO LDO4 + - LDO5 for LDO LDO5 + - LDO6 for LDO LDO6 + - LDO7 for LDO LDO7 + - LDO8 for LDO LDO8 + - LDO9 for LDO LDO9 + - LDO10 for LDO LDO10 + - LDO11 for LDO LDO11 + - LDO12 for LDO LDO12 + - LDO13 for LDO LDO13 + - LDO14 for LDO LDO14 + - LDO15 for LDO LDO15 + - LDO16 for LDO LDO16 + - LDO17 for LDO LDO17 + - LDO18 for LDO LDO18 + - LDO19 for LDO LDO19 + - LDO20 for LDO LDO20 + +Optional properties: +- Any optional property defined in bindings/regulator/regulator.txt + +Example: + + SDV1 { + regulator-min-microvolt = <637500>; + regulator-max-microvolt = <1425000>; + regulator-boot-on; + regulator-always-on; + }; + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/mt6311-regulator.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/mt6311-regulator.txt index e4c1ed23c8..84d544d8c1 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/mt6311-regulator.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/mt6311-regulator.txt @@ -1,35 +1,35 @@ -Mediatek MT6311 Regulator - -Required properties: -- compatible: "mediatek,mt6311-regulator" -- reg: I2C slave address, usually 0x6b. -- regulators: List of regulators provided by this controller. It is named - to VDVFS and VBIASN. - The definition for each of these nodes is defined using the standard binding - for regulators at Documentation/devicetree/bindings/regulator/regulator.txt. - -The valid names for regulators are: -BUCK: - VDVFS -LDO: - VBIASN - -Example: - mt6311: pmic@6b { - compatible = "mediatek,mt6311-regulator"; - reg = <0x6b>; - - regulators { - mt6311_vcpu_reg: VDVFS { - regulator-name = "VDVFS"; - regulator-min-microvolt = < 600000>; - regulator-max-microvolt = <1400000>; - regulator-ramp-delay = <10000>; - }; - mt6311_ldo_reg: VBIASN { - regulator-name = "VBIASN"; - regulator-min-microvolt = <200000>; - regulator-max-microvolt = <800000>; - }; - }; - }; +Mediatek MT6311 Regulator + +Required properties: +- compatible: "mediatek,mt6311-regulator" +- reg: I2C slave address, usually 0x6b. +- regulators: List of regulators provided by this controller. It is named + to VDVFS and VBIASN. + The definition for each of these nodes is defined using the standard binding + for regulators at Documentation/devicetree/bindings/regulator/regulator.txt. + +The valid names for regulators are: +BUCK: + VDVFS +LDO: + VBIASN + +Example: + mt6311: pmic@6b { + compatible = "mediatek,mt6311-regulator"; + reg = <0x6b>; + + regulators { + mt6311_vcpu_reg: VDVFS { + regulator-name = "VDVFS"; + regulator-min-microvolt = < 600000>; + regulator-max-microvolt = <1400000>; + regulator-ramp-delay = <10000>; + }; + mt6311_ldo_reg: VBIASN { + regulator-name = "VBIASN"; + regulator-min-microvolt = <200000>; + regulator-max-microvolt = <800000>; + }; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/raspberrypi,7inch-touchscreen-panel-regulator.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/raspberrypi,7inch-touchscreen-panel-regulator.yaml index df614e4b14..41678400e6 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/raspberrypi,7inch-touchscreen-panel-regulator.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/raspberrypi,7inch-touchscreen-panel-regulator.yaml @@ -1,44 +1,44 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/regulator/raspberrypi,7inch-touchscreen-panel-regulator.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: RaspberryPi 7" display ATTINY88-based regulator/backlight controller - -maintainers: - - Marek Vasut - -description: | - The RaspberryPi 7" display has an ATTINY88-based regulator/backlight - controller on the PCB, which is used to turn the display unit on/off - and control the backlight. - -allOf: - - $ref: regulator.yaml# - -properties: - compatible: - const: raspberrypi,7inch-touchscreen-panel-regulator - - reg: - maxItems: 1 - -additionalProperties: false - -required: - - compatible - - reg - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - regulator@45 { - compatible = "raspberrypi,7inch-touchscreen-panel-regulator"; - reg = <0x45>; - }; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/regulator/raspberrypi,7inch-touchscreen-panel-regulator.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: RaspberryPi 7" display ATTINY88-based regulator/backlight controller + +maintainers: + - Marek Vasut + +description: | + The RaspberryPi 7" display has an ATTINY88-based regulator/backlight + controller on the PCB, which is used to turn the display unit on/off + and control the backlight. + +allOf: + - $ref: regulator.yaml# + +properties: + compatible: + const: raspberrypi,7inch-touchscreen-panel-regulator + + reg: + maxItems: 1 + +additionalProperties: false + +required: + - compatible + - reg + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + regulator@45 { + compatible = "raspberrypi,7inch-touchscreen-panel-regulator"; + reg = <0x45>; + }; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/regulator-output.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/regulator-output.yaml index 6d739a7889..078b37a1a7 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/regulator-output.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/regulator-output.yaml @@ -1,39 +1,39 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- - -$id: http://devicetree.org/schemas/regulator/regulator-output.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Regulator output connector - -maintainers: - - Zev Weiss - -description: | - This describes a power output connector supplied by a regulator, - such as a power outlet on a power distribution unit (PDU). The - connector may be standalone or merely one channel or set of pins - within a ganged physical connector carrying multiple independent - power outputs. - -properties: - compatible: - const: regulator-output - - vout-supply: - description: - Phandle of the regulator supplying the output. - -required: - - compatible - - vout-supply - -additionalProperties: false - -examples: - - | - output { - compatible = "regulator-output"; - vout-supply = <&output_reg>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- + +$id: http://devicetree.org/schemas/regulator/regulator-output.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Regulator output connector + +maintainers: + - Zev Weiss + +description: | + This describes a power output connector supplied by a regulator, + such as a power outlet on a power distribution unit (PDU). The + connector may be standalone or merely one channel or set of pins + within a ganged physical connector carrying multiple independent + power outputs. + +properties: + compatible: + const: regulator-output + + vout-supply: + description: + Phandle of the regulator supplying the output. + +required: + - compatible + - vout-supply + +additionalProperties: false + +examples: + - | + output { + compatible = "regulator-output"; + vout-supply = <&output_reg>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/silergy,sy8824x.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/silergy,sy8824x.yaml index 6e67d5faa3..82af4d6561 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/silergy,sy8824x.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/silergy,sy8824x.yaml @@ -1,45 +1,45 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/regulator/silergy,sy8824x.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: silergy sy8824c,sy8824e,sy20276 and sy20278 PMIC - -maintainers: - - Jisheng Zhang - -allOf: - - $ref: regulator.yaml# - -properties: - compatible: - enum: - - silergy,sy8824c - - silergy,sy8824e - - silergy,sy20276 - - silergy,sy20278 - - reg: - maxItems: 1 - -required: - - compatible - - reg - -unevaluatedProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - regulator@60 { - compatible = "silergy,sy8824c"; - regulator-min-microvolt = <800000>; - regulator-max-microvolt = <1150000>; - reg = <0x60>; - }; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/regulator/silergy,sy8824x.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: silergy sy8824c,sy8824e,sy20276 and sy20278 PMIC + +maintainers: + - Jisheng Zhang + +allOf: + - $ref: regulator.yaml# + +properties: + compatible: + enum: + - silergy,sy8824c + - silergy,sy8824e + - silergy,sy20276 + - silergy,sy20278 + + reg: + maxItems: 1 + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + regulator@60 { + compatible = "silergy,sy8824c"; + regulator-min-microvolt = <800000>; + regulator-max-microvolt = <1150000>; + reg = <0x60>; + }; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/silergy,sy8827n.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/silergy,sy8827n.yaml index 99827304a2..b222adabc7 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/silergy,sy8827n.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/silergy,sy8827n.yaml @@ -1,47 +1,47 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/regulator/silergy,sy8827n.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: silergy sy8827n PMIC - -maintainers: - - Jisheng Zhang - -properties: - compatible: - enum: - - silergy,sy8827n - - reg: - maxItems: 1 - - enable-gpios: - description: GPIO to enable/disable the regulator. - maxItems: 1 - - silergy,vsel-state-high: - type: boolean - description: - Indicates if the VSEL pin is set to high. - If this property is missing, assume the VSEL pin is set to low. - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - regulator@60 { - compatible = "silergy,sy8827n"; - reg = <0x60>; - }; - }; - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/regulator/silergy,sy8827n.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: silergy sy8827n PMIC + +maintainers: + - Jisheng Zhang + +properties: + compatible: + enum: + - silergy,sy8827n + + reg: + maxItems: 1 + + enable-gpios: + description: GPIO to enable/disable the regulator. + maxItems: 1 + + silergy,vsel-state-high: + type: boolean + description: + Indicates if the VSEL pin is set to high. + If this property is missing, assume the VSEL pin is set to low. + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + regulator@60 { + compatible = "silergy,sy8827n"; + reg = <0x60>; + }; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/tps51632-regulator.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/tps51632-regulator.txt index a85c3f2323..2f7e44a964 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/tps51632-regulator.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/tps51632-regulator.txt @@ -1,27 +1,27 @@ -TPS51632 Voltage regulators - -Required properties: -- compatible: Must be "ti,tps51632" -- reg: I2C slave address - -Optional properties: -- ti,enable-pwm-dvfs: Enable the DVFS voltage control through the PWM interface. -- ti,dvfs-step-20mV: The 20mV step voltage when PWM DVFS enabled. Missing this - will set 10mV step voltage in PWM DVFS mode. In normal mode, the voltage - step is 10mV as per datasheet. - -Any property defined as part of the core regulator binding, defined in -regulator.txt, can also be used. - -Example: - - tps51632 { - compatible = "ti,tps51632"; - reg = <0x43>; - regulator-name = "tps51632-vout"; - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <1500000>; - regulator-boot-on; - ti,enable-pwm-dvfs; - ti,dvfs-step-20mV; - }; +TPS51632 Voltage regulators + +Required properties: +- compatible: Must be "ti,tps51632" +- reg: I2C slave address + +Optional properties: +- ti,enable-pwm-dvfs: Enable the DVFS voltage control through the PWM interface. +- ti,dvfs-step-20mV: The 20mV step voltage when PWM DVFS enabled. Missing this + will set 10mV step voltage in PWM DVFS mode. In normal mode, the voltage + step is 10mV as per datasheet. + +Any property defined as part of the core regulator binding, defined in +regulator.txt, can also be used. + +Example: + + tps51632 { + compatible = "ti,tps51632"; + reg = <0x43>; + regulator-name = "tps51632-vout"; + regulator-min-microvolt = <500000>; + regulator-max-microvolt = <1500000>; + regulator-boot-on; + ti,enable-pwm-dvfs; + ti,dvfs-step-20mV; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/vexpress.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/vexpress.txt index e538ed567b..1c2e92c783 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/vexpress.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/vexpress.txt @@ -1,32 +1,32 @@ -Versatile Express voltage regulators ------------------------------------- - -Requires node properties: -- "compatible" value: "arm,vexpress-volt" -- "arm,vexpress-sysreg,func" when controlled via vexpress-sysreg - (see Documentation/devicetree/bindings/arm/vexpress-config.yaml - for more details) - -Required regulator properties: -- "regulator-name" -- "regulator-always-on" - -Optional regulator properties: -- "regulator-min-microvolt" -- "regulator-max-microvolt" - -See Documentation/devicetree/bindings/regulator/regulator.txt -for more details about the regulator properties. - -When no "regulator-[min|max]-microvolt" properties are defined, -the device is treated as fixed (or rather "read-only") regulator. - -Example: - volt@0 { - compatible = "arm,vexpress-volt"; - arm,vexpress-sysreg,func = <2 0>; - regulator-name = "Cores"; - regulator-min-microvolt = <800000>; - regulator-max-microvolt = <1050000>; - regulator-always-on; - }; +Versatile Express voltage regulators +------------------------------------ + +Requires node properties: +- "compatible" value: "arm,vexpress-volt" +- "arm,vexpress-sysreg,func" when controlled via vexpress-sysreg + (see Documentation/devicetree/bindings/arm/vexpress-config.yaml + for more details) + +Required regulator properties: +- "regulator-name" +- "regulator-always-on" + +Optional regulator properties: +- "regulator-min-microvolt" +- "regulator-max-microvolt" + +See Documentation/devicetree/bindings/regulator/regulator.txt +for more details about the regulator properties. + +When no "regulator-[min|max]-microvolt" properties are defined, +the device is treated as fixed (or rather "read-only") regulator. + +Example: + volt@0 { + compatible = "arm,vexpress-volt"; + arm,vexpress-sysreg,func = <2 0>; + regulator-name = "Cores"; + regulator-min-microvolt = <800000>; + regulator-max-microvolt = <1050000>; + regulator-always-on; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/vqmmc-ipq4019-regulator.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/vqmmc-ipq4019-regulator.yaml index 3eacffd62f..3b16a25ba3 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/vqmmc-ipq4019-regulator.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/vqmmc-ipq4019-regulator.yaml @@ -1,43 +1,43 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/regulator/vqmmc-ipq4019-regulator.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm IPQ4019 VQMMC SD LDO regulator - -maintainers: - - Robert Marko - -description: | - Qualcomm IPQ4019 SoC-s feature a built a build SD/EMMC controller, - in order to support both 1.8 and 3V I/O voltage levels an LDO - controller is also embedded. - -allOf: - - $ref: regulator.yaml# - -properties: - compatible: - const: qcom,vqmmc-ipq4019-regulator - - reg: - maxItems: 1 - -required: - - compatible - - reg - -unevaluatedProperties: false - -examples: - - | - regulator@1948000 { - compatible = "qcom,vqmmc-ipq4019-regulator"; - reg = <0x01948000 0x4>; - regulator-name = "vqmmc"; - regulator-min-microvolt = <1500000>; - regulator-max-microvolt = <3000000>; - regulator-always-on; - }; -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/regulator/vqmmc-ipq4019-regulator.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm IPQ4019 VQMMC SD LDO regulator + +maintainers: + - Robert Marko + +description: | + Qualcomm IPQ4019 SoC-s feature a built a build SD/EMMC controller, + in order to support both 1.8 and 3V I/O voltage levels an LDO + controller is also embedded. + +allOf: + - $ref: regulator.yaml# + +properties: + compatible: + const: qcom,vqmmc-ipq4019-regulator + + reg: + maxItems: 1 + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + regulator@1948000 { + compatible = "qcom,vqmmc-ipq4019-regulator"; + reg = <0x01948000 0x4>; + regulator-name = "vqmmc"; + regulator-min-microvolt = <1500000>; + regulator-max-microvolt = <3000000>; + regulator-always-on; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reserved-memory/nvidia,tegra210-emc-table.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reserved-memory/nvidia,tegra210-emc-table.yaml index ae825d3da1..e2ace3df94 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reserved-memory/nvidia,tegra210-emc-table.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reserved-memory/nvidia,tegra210-emc-table.yaml @@ -1,31 +1,31 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/reserved-memory/nvidia,tegra210-emc-table.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: NVIDIA Tegra210 EMC Frequency Table - -maintainers: - - Thierry Reding - - Jon Hunter - -description: On Tegra210, firmware passes a binary representation of the - EMC frequency table via a reserved memory region. - -allOf: - - $ref: reserved-memory.yaml - -properties: - compatible: - const: nvidia,tegra210-emc-table - - reg: - description: region of memory reserved by firmware to pass the EMC - frequency table - -unevaluatedProperties: false - -required: - - compatible - - reg +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/reserved-memory/nvidia,tegra210-emc-table.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NVIDIA Tegra210 EMC Frequency Table + +maintainers: + - Thierry Reding + - Jon Hunter + +description: On Tegra210, firmware passes a binary representation of the + EMC frequency table via a reserved memory region. + +allOf: + - $ref: reserved-memory.yaml + +properties: + compatible: + const: nvidia,tegra210-emc-table + + reg: + description: region of memory reserved by firmware to pass the EMC + frequency table + +unevaluatedProperties: false + +required: + - compatible + - reg diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reserved-memory/xen,shared-memory.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reserved-memory/xen,shared-memory.txt index c9b1cf635c..d483a2103d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reserved-memory/xen,shared-memory.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reserved-memory/xen,shared-memory.txt @@ -1,24 +1,24 @@ -* Xen hypervisor reserved-memory binding - -Expose one or more memory regions as reserved-memory to the guest -virtual machine. Typically, a region is configured at VM creation time -to be a shared memory area across multiple virtual machines for -communication among them. - -For each of these pre-shared memory regions, a range is exposed under -the /reserved-memory node as a child node. Each range sub-node is named -xen-shmem@
and has the following properties: - -- compatible: - compatible = "xen,shared-memory-v1" - -- reg: - the base guest physical address and size of the shared memory region - -- xen,offset: (borrower VMs only) - 64 bit integer offset within the owner virtual machine's shared - memory region used for the mapping in the borrower VM. - -- xen,id: - a string that identifies the shared memory region as specified in - the VM config file +* Xen hypervisor reserved-memory binding + +Expose one or more memory regions as reserved-memory to the guest +virtual machine. Typically, a region is configured at VM creation time +to be a shared memory area across multiple virtual machines for +communication among them. + +For each of these pre-shared memory regions, a range is exposed under +the /reserved-memory node as a child node. Each range sub-node is named +xen-shmem@
and has the following properties: + +- compatible: + compatible = "xen,shared-memory-v1" + +- reg: + the base guest physical address and size of the shared memory region + +- xen,offset: (borrower VMs only) + 64 bit integer offset within the owner virtual machine's shared + memory region used for the mapping in the borrower VM. + +- xen,id: + a string that identifies the shared memory region as specified in + the VM config file diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/bitmain,bm1880-reset.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/bitmain,bm1880-reset.yaml index 88f35f1340..1f40b654f6 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/bitmain,bm1880-reset.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/bitmain,bm1880-reset.yaml @@ -1,36 +1,36 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -# Copyright 2019 Manivannan Sadhasivam -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/reset/bitmain,bm1880-reset.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Bitmain BM1880 SoC Reset Controller - -maintainers: - - Manivannan Sadhasivam - -properties: - compatible: - const: bitmain,bm1880-reset - - reg: - maxItems: 1 - - "#reset-cells": - const: 1 - -required: - - compatible - - reg - - "#reset-cells" - -additionalProperties: false - -examples: - - | - rst: reset-controller@c00 { - compatible = "bitmain,bm1880-reset"; - reg = <0xc00 0x8>; - #reset-cells = <1>; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +# Copyright 2019 Manivannan Sadhasivam +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/reset/bitmain,bm1880-reset.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Bitmain BM1880 SoC Reset Controller + +maintainers: + - Manivannan Sadhasivam + +properties: + compatible: + const: bitmain,bm1880-reset + + reg: + maxItems: 1 + + "#reset-cells": + const: 1 + +required: + - compatible + - reg + - "#reset-cells" + +additionalProperties: false + +examples: + - | + rst: reset-controller@c00 { + compatible = "bitmain,bm1880-reset"; + reg = <0xc00 0x8>; + #reset-cells = <1>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/brcm,bcm4908-misc-pcie-reset.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/brcm,bcm4908-misc-pcie-reset.yaml index 4aa9094340..88aebb3708 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/brcm,bcm4908-misc-pcie-reset.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/brcm,bcm4908-misc-pcie-reset.yaml @@ -1,39 +1,39 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/reset/brcm,bcm4908-misc-pcie-reset.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Broadcom MISC block PCIe reset controller - -description: This document describes reset controller handling PCIe PERST# - signals. On BCM4908 it's a part of the MISC block. - -maintainers: - - Rafał Miłecki - -properties: - compatible: - const: brcm,bcm4908-misc-pcie-reset - - reg: - maxItems: 1 - - "#reset-cells": - description: PCIe core id - const: 1 - -required: - - compatible - - reg - - "#reset-cells" - -additionalProperties: false - -examples: - - | - reset-controller@ff802644 { - compatible = "brcm,bcm4908-misc-pcie-reset"; - reg = <0xff802644 0x04>; - #reset-cells = <1>; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/reset/brcm,bcm4908-misc-pcie-reset.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom MISC block PCIe reset controller + +description: This document describes reset controller handling PCIe PERST# + signals. On BCM4908 it's a part of the MISC block. + +maintainers: + - Rafał Miłecki + +properties: + compatible: + const: brcm,bcm4908-misc-pcie-reset + + reg: + maxItems: 1 + + "#reset-cells": + description: PCIe core id + const: 1 + +required: + - compatible + - reg + - "#reset-cells" + +additionalProperties: false + +examples: + - | + reset-controller@ff802644 { + compatible = "brcm,bcm4908-misc-pcie-reset"; + reg = <0xff802644 0x04>; + #reset-cells = <1>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/brcm,bcm6345-reset.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/brcm,bcm6345-reset.yaml index 39593003a8..00150b93fc 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/brcm,bcm6345-reset.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/brcm,bcm6345-reset.yaml @@ -1,37 +1,37 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/reset/brcm,bcm6345-reset.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: BCM6345 reset controller - -description: This document describes the BCM6345 reset controller. - -maintainers: - - Álvaro Fernández Rojas - -properties: - compatible: - const: brcm,bcm6345-reset - - reg: - maxItems: 1 - - "#reset-cells": - const: 1 - -required: - - compatible - - reg - - "#reset-cells" - -additionalProperties: false - -examples: - - | - reset-controller@10000010 { - compatible = "brcm,bcm6345-reset"; - reg = <0x10000010 0x4>; - #reset-cells = <1>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/reset/brcm,bcm6345-reset.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: BCM6345 reset controller + +description: This document describes the BCM6345 reset controller. + +maintainers: + - Álvaro Fernández Rojas + +properties: + compatible: + const: brcm,bcm6345-reset + + reg: + maxItems: 1 + + "#reset-cells": + const: 1 + +required: + - compatible + - reg + - "#reset-cells" + +additionalProperties: false + +examples: + - | + reset-controller@10000010 { + compatible = "brcm,bcm6345-reset"; + reg = <0x10000010 0x4>; + #reset-cells = <1>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/brcm,bcm7216-pcie-sata-rescal.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/brcm,bcm7216-pcie-sata-rescal.yaml index 21fde59b5b..34cfc642d8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/brcm,bcm7216-pcie-sata-rescal.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/brcm,bcm7216-pcie-sata-rescal.yaml @@ -1,41 +1,41 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -# Copyright 2020 Broadcom -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/reset/brcm,bcm7216-pcie-sata-rescal.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: BCM7216 RESCAL reset controller - -description: This document describes the BCM7216 RESCAL reset controller - which is responsible for controlling the reset of the SATA and PCIe0/1 - instances on BCM7216. - -maintainers: - - Florian Fainelli - - Jim Quinlan - -properties: - compatible: - const: brcm,bcm7216-pcie-sata-rescal - - reg: - maxItems: 1 - - "#reset-cells": - const: 0 - -required: - - compatible - - reg - - "#reset-cells" - -additionalProperties: false - -examples: - - | - reset-controller@8b2c800 { - compatible = "brcm,bcm7216-pcie-sata-rescal"; - reg = <0x8b2c800 0x10>; - #reset-cells = <0>; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +# Copyright 2020 Broadcom +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/reset/brcm,bcm7216-pcie-sata-rescal.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: BCM7216 RESCAL reset controller + +description: This document describes the BCM7216 RESCAL reset controller + which is responsible for controlling the reset of the SATA and PCIe0/1 + instances on BCM7216. + +maintainers: + - Florian Fainelli + - Jim Quinlan + +properties: + compatible: + const: brcm,bcm7216-pcie-sata-rescal + + reg: + maxItems: 1 + + "#reset-cells": + const: 0 + +required: + - compatible + - reg + - "#reset-cells" + +additionalProperties: false + +examples: + - | + reset-controller@8b2c800 { + compatible = "brcm,bcm7216-pcie-sata-rescal"; + reg = <0x8b2c800 0x10>; + #reset-cells = <0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/canaan,k210-rst.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/canaan,k210-rst.yaml index 0fbaf4d70d..0c0135964b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/canaan,k210-rst.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/canaan,k210-rst.yaml @@ -1,40 +1,40 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/reset/canaan,k210-rst.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Canaan Kendryte K210 Reset Controller - -maintainers: - - Damien Le Moal - -description: | - Canaan Kendryte K210 reset controller driver which supports the SoC - system controller supplied reset registers for the various peripherals - of the SoC. The K210 reset controller node must be defined as a child - node of the K210 system controller node. - - See also: - - dt-bindings/reset/k210-rst.h - -properties: - compatible: - const: canaan,k210-rst - - '#reset-cells': - const: 1 - -required: - - '#reset-cells' - - compatible - -additionalProperties: false - -examples: - - | - #include - sysrst: reset-controller { - compatible = "canaan,k210-rst"; - #reset-cells = <1>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/reset/canaan,k210-rst.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Canaan Kendryte K210 Reset Controller + +maintainers: + - Damien Le Moal + +description: | + Canaan Kendryte K210 reset controller driver which supports the SoC + system controller supplied reset registers for the various peripherals + of the SoC. The K210 reset controller node must be defined as a child + node of the K210 system controller node. + + See also: + - dt-bindings/reset/k210-rst.h + +properties: + compatible: + const: canaan,k210-rst + + '#reset-cells': + const: 1 + +required: + - '#reset-cells' + - compatible + +additionalProperties: false + +examples: + - | + #include + sysrst: reset-controller { + compatible = "canaan,k210-rst"; + #reset-cells = <1>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/delta,tn48m-reset.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/delta,tn48m-reset.yaml index 167d251f2c..0e5ee8decc 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/delta,tn48m-reset.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/delta,tn48m-reset.yaml @@ -1,35 +1,35 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/reset/delta,tn48m-reset.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Delta Networks TN48M CPLD reset controller - -maintainers: - - Robert Marko - -description: | - This module is part of the Delta TN48M multi-function device. For more - details see ../mfd/delta,tn48m-cpld.yaml. - - Reset controller modules provides resets for the following: - * 88F7040 SoC - * 88F6820 SoC - * 98DX3265 switch MAC-s - * 88E1680 PHY-s - * 88E1512 PHY - * PoE PSE controller - -properties: - compatible: - const: delta,tn48m-reset - - "#reset-cells": - const: 1 - -required: - - compatible - - "#reset-cells" - -additionalProperties: false +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/reset/delta,tn48m-reset.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Delta Networks TN48M CPLD reset controller + +maintainers: + - Robert Marko + +description: | + This module is part of the Delta TN48M multi-function device. For more + details see ../mfd/delta,tn48m-cpld.yaml. + + Reset controller modules provides resets for the following: + * 88F7040 SoC + * 88F6820 SoC + * 98DX3265 switch MAC-s + * 88E1680 PHY-s + * 88E1512 PHY + * PoE PSE controller + +properties: + compatible: + const: delta,tn48m-reset + + "#reset-cells": + const: 1 + +required: + - compatible + - "#reset-cells" + +additionalProperties: false diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/marvell,berlin2-reset.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/marvell,berlin2-reset.yaml index c218f269b5..dc86568bfd 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/marvell,berlin2-reset.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/marvell,berlin2-reset.yaml @@ -1,38 +1,38 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -# Copyright 2015 Antoine Tenart -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/reset/marvell,berlin2-reset.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Marvell Berlin reset controller - -maintainers: - - Antoine Tenart - -description: The reset controller node must be a sub-node of the chip - controller node on Berlin SoCs. - -properties: - compatible: - const: marvell,berlin2-reset - - "#reset-cells": - const: 2 - -required: - - compatible - - "#reset-cells" - -additionalProperties: false - -examples: - - | - chip: chip-control@ea0000 { - reg = <0xea0000 0x400>; - - chip_rst: reset { - compatible = "marvell,berlin2-reset"; - #reset-cells = <2>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +# Copyright 2015 Antoine Tenart +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/reset/marvell,berlin2-reset.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Marvell Berlin reset controller + +maintainers: + - Antoine Tenart + +description: The reset controller node must be a sub-node of the chip + controller node on Berlin SoCs. + +properties: + compatible: + const: marvell,berlin2-reset + + "#reset-cells": + const: 2 + +required: + - compatible + - "#reset-cells" + +additionalProperties: false + +examples: + - | + chip: chip-control@ea0000 { + reg = <0xea0000 0x400>; + + chip_rst: reset { + compatible = "marvell,berlin2-reset"; + #reset-cells = <2>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/nuvoton,ma35d1-reset.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/nuvoton,ma35d1-reset.yaml index cae0a5843f..3ce7dcecd8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/nuvoton,ma35d1-reset.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/nuvoton,ma35d1-reset.yaml @@ -1,46 +1,46 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/reset/nuvoton,ma35d1-reset.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Nuvoton MA35D1 Reset Controller - -maintainers: - - Chi-Fang Li - - Jacky Huang - -description: - The system reset controller can be used to reset various peripheral - controllers in MA35D1 SoC. - -properties: - compatible: - items: - - const: nuvoton,ma35d1-reset - - const: syscon - - reg: - maxItems: 1 - - '#reset-cells': - const: 1 - -required: - - compatible - - reg - - '#reset-cells' - -additionalProperties: false - -examples: - # system reset controller node: - - | - - system-management@40460000 { - compatible = "nuvoton,ma35d1-reset", "syscon"; - reg = <0x40460000 0x200>; - #reset-cells = <1>; - }; -... - +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/reset/nuvoton,ma35d1-reset.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Nuvoton MA35D1 Reset Controller + +maintainers: + - Chi-Fang Li + - Jacky Huang + +description: + The system reset controller can be used to reset various peripheral + controllers in MA35D1 SoC. + +properties: + compatible: + items: + - const: nuvoton,ma35d1-reset + - const: syscon + + reg: + maxItems: 1 + + '#reset-cells': + const: 1 + +required: + - compatible + - reg + - '#reset-cells' + +additionalProperties: false + +examples: + # system reset controller node: + - | + + system-management@40460000 { + compatible = "nuvoton,ma35d1-reset", "syscon"; + reg = <0x40460000 0x200>; + #reset-cells = <1>; + }; +... + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/qca,ar7100-reset.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/qca,ar7100-reset.yaml index 1813655056..47f8525a9b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/qca,ar7100-reset.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/qca,ar7100-reset.yaml @@ -1,40 +1,40 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -# Copyright 2015 Alban Bedel -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/reset/qca,ar7100-reset.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm Atheros AR7xxx/AR9XXX reset controller - -maintainers: - - Alban Bedel - -properties: - compatible: - items: - - enum: - - qca,ar9132-reset - - qca,ar9331-reset - - const: qca,ar7100-reset - - reg: - maxItems: 1 - - "#reset-cells": - const: 1 - -required: - - compatible - - reg - - "#reset-cells" - -additionalProperties: false - -examples: - - | - reset-controller@1806001c { - compatible = "qca,ar9132-reset", "qca,ar7100-reset"; - reg = <0x1806001c 0x4>; - #reset-cells = <1>; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +# Copyright 2015 Alban Bedel +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/reset/qca,ar7100-reset.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Atheros AR7xxx/AR9XXX reset controller + +maintainers: + - Alban Bedel + +properties: + compatible: + items: + - enum: + - qca,ar9132-reset + - qca,ar9331-reset + - const: qca,ar7100-reset + + reg: + maxItems: 1 + + "#reset-cells": + const: 1 + +required: + - compatible + - reg + - "#reset-cells" + +additionalProperties: false + +examples: + - | + reset-controller@1806001c { + compatible = "qca,ar9132-reset", "qca,ar7100-reset"; + reg = <0x1806001c 0x4>; + #reset-cells = <1>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/snps,dw-reset.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/snps,dw-reset.txt index cd98153500..0c241d4aae 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/snps,dw-reset.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/snps,dw-reset.txt @@ -1,30 +1,30 @@ -Synopsys DesignWare Reset controller -======================================= - -Please also refer to reset.txt in this directory for common reset -controller binding usage. - -Required properties: - -- compatible: should be one of the following. - "snps,dw-high-reset" - for active high configuration - "snps,dw-low-reset" - for active low configuration - -- reg: physical base address of the controller and length of memory mapped - region. - -- #reset-cells: must be 1. - -example: - - dw_rst_1: reset-controller@0000 { - compatible = "snps,dw-high-reset"; - reg = <0x0000 0x4>; - #reset-cells = <1>; - }; - - dw_rst_2: reset-controller@1000 { - compatible = "snps,dw-low-reset"; - reg = <0x1000 0x8>; - #reset-cells = <1>; - }; +Synopsys DesignWare Reset controller +======================================= + +Please also refer to reset.txt in this directory for common reset +controller binding usage. + +Required properties: + +- compatible: should be one of the following. + "snps,dw-high-reset" - for active high configuration + "snps,dw-low-reset" - for active low configuration + +- reg: physical base address of the controller and length of memory mapped + region. + +- #reset-cells: must be 1. + +example: + + dw_rst_1: reset-controller@0000 { + compatible = "snps,dw-high-reset"; + reg = <0x0000 0x4>; + #reset-cells = <1>; + }; + + dw_rst_2: reset-controller@1000 { + compatible = "snps,dw-low-reset"; + reg = <0x1000 0x8>; + #reset-cells = <1>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/snps,hsdk-reset.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/snps,hsdk-reset.txt index 768bd73f9a..830069b1c3 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/snps,hsdk-reset.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/snps,hsdk-reset.txt @@ -1,28 +1,28 @@ -Binding for the Synopsys HSDK reset controller - -This binding uses the common reset binding[1]. - -[1] Documentation/devicetree/bindings/reset/reset.txt - -Required properties: -- compatible: should be "snps,hsdk-reset". -- reg: should always contain 2 pairs address - length: first for reset - configuration register and second for corresponding SW reset and status bits - register. -- #reset-cells: from common reset binding; Should always be set to 1. - -Example: - reset: reset@880 { - compatible = "snps,hsdk-reset"; - #reset-cells = <1>; - reg = <0x8A0 0x4>, <0xFF0 0x4>; - }; - -Specifying reset lines connected to IP modules: - ethernet@.... { - .... - resets = <&reset HSDK_V1_ETH_RESET>; - .... - }; - -The index could be found in +Binding for the Synopsys HSDK reset controller + +This binding uses the common reset binding[1]. + +[1] Documentation/devicetree/bindings/reset/reset.txt + +Required properties: +- compatible: should be "snps,hsdk-reset". +- reg: should always contain 2 pairs address - length: first for reset + configuration register and second for corresponding SW reset and status bits + register. +- #reset-cells: from common reset binding; Should always be set to 1. + +Example: + reset: reset@880 { + compatible = "snps,hsdk-reset"; + #reset-cells = <1>; + reg = <0x8A0 0x4>, <0xFF0 0x4>; + }; + +Specifying reset lines connected to IP modules: + ethernet@.... { + .... + resets = <&reset HSDK_V1_ETH_RESET>; + .... + }; + +The index could be found in diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/sophgo,sg2042-reset.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/sophgo,sg2042-reset.yaml index 004f9b6a53..76e1931f09 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/sophgo,sg2042-reset.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/sophgo,sg2042-reset.yaml @@ -1,35 +1,35 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/reset/sophgo,sg2042-reset.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Sophgo SG2042 SoC Reset Controller - -maintainers: - - Chen Wang - -properties: - compatible: - const: sophgo,sg2042-reset - - reg: - maxItems: 1 - - "#reset-cells": - const: 1 - -required: - - compatible - - reg - - "#reset-cells" - -additionalProperties: false - -examples: - - | - rstgen: reset-controller@c00 { - compatible = "sophgo,sg2042-reset"; - reg = <0xc00 0xc>; - #reset-cells = <1>; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/reset/sophgo,sg2042-reset.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Sophgo SG2042 SoC Reset Controller + +maintainers: + - Chen Wang + +properties: + compatible: + const: sophgo,sg2042-reset + + reg: + maxItems: 1 + + "#reset-cells": + const: 1 + +required: + - compatible + - reg + - "#reset-cells" + +additionalProperties: false + +examples: + - | + rstgen: reset-controller@c00 { + compatible = "sophgo,sg2042-reset"; + reg = <0xc00 0xc>; + #reset-cells = <1>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/starfive,jh7100-reset.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/starfive,jh7100-reset.yaml index 81f6716aae..2f5bd616b7 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/starfive,jh7100-reset.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/starfive,jh7100-reset.yaml @@ -1,38 +1,38 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/reset/starfive,jh7100-reset.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: StarFive JH7100 SoC Reset Controller - -maintainers: - - Emil Renner Berthing - -properties: - compatible: - enum: - - starfive,jh7100-reset - - reg: - maxItems: 1 - - "#reset-cells": - const: 1 - -required: - - compatible - - reg - - "#reset-cells" - -additionalProperties: false - -examples: - - | - reset-controller@11840000 { - compatible = "starfive,jh7100-reset"; - reg = <0x11840000 0x10000>; - #reset-cells = <1>; - }; - -... +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/reset/starfive,jh7100-reset.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: StarFive JH7100 SoC Reset Controller + +maintainers: + - Emil Renner Berthing + +properties: + compatible: + enum: + - starfive,jh7100-reset + + reg: + maxItems: 1 + + "#reset-cells": + const: 1 + +required: + - compatible + - reg + - "#reset-cells" + +additionalProperties: false + +examples: + - | + reset-controller@11840000 { + compatible = "starfive,jh7100-reset"; + reg = <0x11840000 0x10000>; + #reset-cells = <1>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/sunplus,reset.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/sunplus,reset.yaml index 133747c064..205918ce32 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/sunplus,reset.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/sunplus,reset.yaml @@ -1,38 +1,38 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -# Copyright (C) Sunplus Co., Ltd. 2021 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/reset/sunplus,reset.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Sunplus SoC Reset Controller - -maintainers: - - Qin Jian - -properties: - compatible: - const: sunplus,sp7021-reset - - reg: - maxItems: 1 - - "#reset-cells": - const: 1 - -required: - - compatible - - reg - - "#reset-cells" - -additionalProperties: false - -examples: - - | - rstc: reset@9c000054 { - compatible = "sunplus,sp7021-reset"; - reg = <0x9c000054 0x28>; - #reset-cells = <1>; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +# Copyright (C) Sunplus Co., Ltd. 2021 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/reset/sunplus,reset.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Sunplus SoC Reset Controller + +maintainers: + - Qin Jian + +properties: + compatible: + const: sunplus,sp7021-reset + + reg: + maxItems: 1 + + "#reset-cells": + const: 1 + +required: + - compatible + - reg + - "#reset-cells" + +additionalProperties: false + +examples: + - | + rstc: reset@9c000054 { + compatible = "sunplus,sp7021-reset"; + reg = <0x9c000054 0x28>; + #reset-cells = <1>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/riscv/sifive.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/riscv/sifive.yaml index 5c841f89bb..ee0a239af4 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/riscv/sifive.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/riscv/sifive.yaml @@ -1,35 +1,35 @@ -# SPDX-License-Identifier: (GPL-2.0 OR MIT) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/riscv/sifive.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: SiFive SoC-based boards - -maintainers: - - Paul Walmsley - - Palmer Dabbelt - -description: - SiFive SoC-based boards - -properties: - $nodename: - const: '/' - compatible: - oneOf: - - items: - - enum: - - sifive,hifive-unleashed-a00 - - const: sifive,fu540-c000 - - const: sifive,fu540 - - - items: - - enum: - - sifive,hifive-unmatched-a00 - - const: sifive,fu740-c000 - - const: sifive,fu740 - -additionalProperties: true - -... +# SPDX-License-Identifier: (GPL-2.0 OR MIT) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/riscv/sifive.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: SiFive SoC-based boards + +maintainers: + - Paul Walmsley + - Palmer Dabbelt + +description: + SiFive SoC-based boards + +properties: + $nodename: + const: '/' + compatible: + oneOf: + - items: + - enum: + - sifive,hifive-unleashed-a00 + - const: sifive,fu540-c000 + - const: sifive,fu540 + + - items: + - enum: + - sifive,hifive-unmatched-a00 + - const: sifive,fu740-c000 + - const: sifive,fu740 + +additionalProperties: true + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/riscv/sophgo.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/riscv/sophgo.yaml index da29d8ab06..a14cb10ff3 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/riscv/sophgo.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/riscv/sophgo.yaml @@ -1,41 +1,41 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/riscv/sophgo.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Sophgo SoC-based boards - -maintainers: - - Chao Wei - - Chen Wang - -description: - Sophgo SoC-based boards - -properties: - $nodename: - const: '/' - compatible: - oneOf: - - items: - - enum: - - milkv,duo - - const: sophgo,cv1800b - - items: - - enum: - - sophgo,huashan-pi - - const: sophgo,cv1812h - - items: - - enum: - - sipeed,licheerv-nano-b - - const: sipeed,licheerv-nano - - const: sophgo,sg2002 - - items: - - enum: - - milkv,pioneer - - const: sophgo,sg2042 - -additionalProperties: true - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/riscv/sophgo.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Sophgo SoC-based boards + +maintainers: + - Chao Wei + - Chen Wang + +description: + Sophgo SoC-based boards + +properties: + $nodename: + const: '/' + compatible: + oneOf: + - items: + - enum: + - milkv,duo + - const: sophgo,cv1800b + - items: + - enum: + - sophgo,huashan-pi + - const: sophgo,cv1812h + - items: + - enum: + - sipeed,licheerv-nano-b + - const: sipeed,licheerv-nano + - const: sophgo,sg2002 + - items: + - enum: + - milkv,pioneer + - const: sophgo,sg2042 + +additionalProperties: true + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/riscv/starfive.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/riscv/starfive.yaml index 269feb66a0..4d5c857b3c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/riscv/starfive.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/riscv/starfive.yaml @@ -1,37 +1,37 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/riscv/starfive.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: StarFive SoC-based boards - -maintainers: - - Michael Zhu - - Drew Fustini - -description: - StarFive SoC-based boards - -properties: - $nodename: - const: '/' - compatible: - oneOf: - - items: - - enum: - - beagle,beaglev-starlight-jh7100-r0 - - starfive,visionfive-v1 - - const: starfive,jh7100 - - - items: - - enum: - - milkv,mars - - pine64,star64 - - starfive,visionfive-2-v1.2a - - starfive,visionfive-2-v1.3b - - const: starfive,jh7110 - -additionalProperties: true - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/riscv/starfive.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: StarFive SoC-based boards + +maintainers: + - Michael Zhu + - Drew Fustini + +description: + StarFive SoC-based boards + +properties: + $nodename: + const: '/' + compatible: + oneOf: + - items: + - enum: + - beagle,beaglev-starlight-jh7100-r0 + - starfive,visionfive-v1 + - const: starfive,jh7100 + + - items: + - enum: + - milkv,mars + - pine64,star64 + - starfive,visionfive-2-v1.2a + - starfive,visionfive-2-v1.3b + - const: starfive,jh7110 + +additionalProperties: true + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/riscv/thead.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/riscv/thead.yaml index b58279c7f1..301912dcd2 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/riscv/thead.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/riscv/thead.yaml @@ -1,33 +1,33 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/riscv/thead.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: T-HEAD SoC-based boards - -maintainers: - - Jisheng Zhang - -description: - T-HEAD SoC-based boards - -properties: - $nodename: - const: '/' - compatible: - oneOf: - - description: BeagleV Ahead single board computer - items: - - const: beagle,beaglev-ahead - - const: thead,th1520 - - description: Sipeed Lichee Pi 4A board for the Sipeed Lichee Module 4A - items: - - enum: - - sipeed,lichee-pi-4a - - const: sipeed,lichee-module-4a - - const: thead,th1520 - -additionalProperties: true - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/riscv/thead.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: T-HEAD SoC-based boards + +maintainers: + - Jisheng Zhang + +description: + T-HEAD SoC-based boards + +properties: + $nodename: + const: '/' + compatible: + oneOf: + - description: BeagleV Ahead single board computer + items: + - const: beagle,beaglev-ahead + - const: thead,th1520 + - description: Sipeed Lichee Pi 4A board for the Sipeed Lichee Module 4A + items: + - enum: + - sipeed,lichee-pi-4a + - const: sipeed,lichee-module-4a + - const: thead,th1520 + +additionalProperties: true + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rng/amlogic,meson-rng.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rng/amlogic,meson-rng.yaml index 796701d34d..f03b87e1b0 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rng/amlogic,meson-rng.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rng/amlogic,meson-rng.yaml @@ -1,43 +1,43 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -# Copyright 2019 BayLibre, SAS -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/rng/amlogic,meson-rng.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Amlogic Meson Random number generator - -maintainers: - - Neil Armstrong - -properties: - compatible: - enum: - - amlogic,meson-rng - - amlogic,meson-s4-rng - - reg: - maxItems: 1 - - clocks: - maxItems: 1 - - clock-names: - items: - - const: core - - power-domains: - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - rng@c8834000 { - compatible = "amlogic,meson-rng"; - reg = <0xc8834000 0x4>; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +# Copyright 2019 BayLibre, SAS +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/rng/amlogic,meson-rng.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Amlogic Meson Random number generator + +maintainers: + - Neil Armstrong + +properties: + compatible: + enum: + - amlogic,meson-rng + - amlogic,meson-s4-rng + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + clock-names: + items: + - const: core + + power-domains: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + rng@c8834000 { + compatible = "amlogic,meson-rng"; + reg = <0xc8834000 0x4>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rng/apm,x-gene-rng.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rng/apm,x-gene-rng.yaml index 0546c1b80a..02be143cc8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rng/apm,x-gene-rng.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rng/apm,x-gene-rng.yaml @@ -1,47 +1,47 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/rng/apm,x-gene-rng.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: APM X-Gene SoC Random Number Generator - -maintainers: - - Khuong Dinh - -properties: - compatible: - const: apm,xgene-rng - - clocks: - maxItems: 1 - - interrupts: - maxItems: 1 - - reg: - maxItems: 1 - -required: - - compatible - - clocks - - interrupts - - reg - -additionalProperties: false - -examples: - - | - #include - - soc { - #address-cells = <2>; - #size-cells = <2>; - - rng@10520000 { - compatible = "apm,xgene-rng"; - reg = <0x0 0x10520000 0x0 0x100>; - interrupts = ; - clocks = <&rngpkaclk 0>; - }; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/rng/apm,x-gene-rng.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: APM X-Gene SoC Random Number Generator + +maintainers: + - Khuong Dinh + +properties: + compatible: + const: apm,xgene-rng + + clocks: + maxItems: 1 + + interrupts: + maxItems: 1 + + reg: + maxItems: 1 + +required: + - compatible + - clocks + - interrupts + - reg + +additionalProperties: false + +examples: + - | + #include + + soc { + #address-cells = <2>; + #size-cells = <2>; + + rng@10520000 { + compatible = "apm,xgene-rng"; + reg = <0x0 0x10520000 0x0 0x100>; + interrupts = ; + clocks = <&rngpkaclk 0>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rng/ingenic,rng.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rng/ingenic,rng.yaml index 0d663535aa..79a023cbfd 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rng/ingenic,rng.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rng/ingenic,rng.yaml @@ -1,36 +1,36 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/rng/ingenic,rng.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: RNG in Ingenic SoCs - -maintainers: - - 周琰杰 (Zhou Yanjie) - -description: - The Random Number Generator in Ingenic SoCs. - -properties: - compatible: - enum: - - ingenic,jz4780-rng - - ingenic,x1000-rng - - reg: - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - rng: rng@d8 { - compatible = "ingenic,jz4780-rng"; - reg = <0xd8 0x8>; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/rng/ingenic,rng.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: RNG in Ingenic SoCs + +maintainers: + - 周琰杰 (Zhou Yanjie) + +description: + The Random Number Generator in Ingenic SoCs. + +properties: + compatible: + enum: + - ingenic,jz4780-rng + - ingenic,x1000-rng + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + rng: rng@d8 { + compatible = "ingenic,jz4780-rng"; + reg = <0xd8 0x8>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rng/ingenic,trng.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rng/ingenic,trng.yaml index 0f9fa7089e..acaeb63caf 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rng/ingenic,trng.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rng/ingenic,trng.yaml @@ -1,43 +1,43 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/rng/ingenic,trng.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: DTRNG in Ingenic SoCs - -maintainers: - - 周琰杰 (Zhou Yanjie) - -description: - The True Random Number Generator in Ingenic SoCs. - -properties: - compatible: - enum: - - ingenic,x1830-dtrng - - reg: - maxItems: 1 - - clocks: - maxItems: 1 - -required: - - compatible - - reg - - clocks - -additionalProperties: false - -examples: - - | - #include - - dtrng: trng@10072000 { - compatible = "ingenic,x1830-dtrng"; - reg = <0x10072000 0xc>; - - clocks = <&cgu X1830_CLK_DTRNG>; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/rng/ingenic,trng.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: DTRNG in Ingenic SoCs + +maintainers: + - 周琰杰 (Zhou Yanjie) + +description: + The True Random Number Generator in Ingenic SoCs. + +properties: + compatible: + enum: + - ingenic,x1830-dtrng + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + +required: + - compatible + - reg + - clocks + +additionalProperties: false + +examples: + - | + #include + + dtrng: trng@10072000 { + compatible = "ingenic,x1830-dtrng"; + reg = <0x10072000 0xc>; + + clocks = <&cgu X1830_CLK_DTRNG>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rng/intel,ixp46x-rng.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rng/intel,ixp46x-rng.yaml index ca2109aa79..9f7590ce6b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rng/intel,ixp46x-rng.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rng/intel,ixp46x-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/intel,ixp46x-rng.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Intel IXP46x RNG - -description: | - The Intel IXP46x has a random number generator at a fixed physical - location in memory. Each read is guaranteed to provide a unique - 32 bit random number. - -maintainers: - - Linus Walleij - -properties: - compatible: - const: intel,ixp46x-rng - - reg: - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - rng@70002100 { - compatible = "intel,ixp46x-rng"; - reg = <0x70002100 4>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/rng/intel,ixp46x-rng.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Intel IXP46x RNG + +description: | + The Intel IXP46x has a random number generator at a fixed physical + location in memory. Each read is guaranteed to provide a unique + 32 bit random number. + +maintainers: + - Linus Walleij + +properties: + compatible: + const: intel,ixp46x-rng + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + rng@70002100 { + compatible = "intel,ixp46x-rng"; + reg = <0x70002100 4>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rng/nuvoton,npcm-rng.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rng/nuvoton,npcm-rng.yaml index 71278f3fa9..e8e4ab1e5b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rng/nuvoton,npcm-rng.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rng/nuvoton,npcm-rng.yaml @@ -1,37 +1,37 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/rng/nuvoton,npcm-rng.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Nuvoton NPCM SoC Random Number Generator - -maintainers: - - Avi Fishman - - Tomer Maimon - - Tali Perry - - Patrick Venture - - Nancy Yuen - - Benjamin Fair - -properties: - compatible: - enum: - - nuvoton,npcm750-rng - - nuvoton,npcm845-rng - - reg: - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - rng@f000b000 { - compatible = "nuvoton,npcm750-rng"; - reg = <0xf000b000 0x8>; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/rng/nuvoton,npcm-rng.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Nuvoton NPCM SoC Random Number Generator + +maintainers: + - Avi Fishman + - Tomer Maimon + - Tali Perry + - Patrick Venture + - Nancy Yuen + - Benjamin Fair + +properties: + compatible: + enum: + - nuvoton,npcm750-rng + - nuvoton,npcm845-rng + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + rng@f000b000 { + compatible = "nuvoton,npcm750-rng"; + reg = <0xf000b000 0x8>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rng/samsung,exynos4-rng.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rng/samsung,exynos4-rng.yaml index ed98960c1d..3362cb1213 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rng/samsung,exynos4-rng.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rng/samsung,exynos4-rng.yaml @@ -1,45 +1,45 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/rng/samsung,exynos4-rng.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Samsung Exynos SoC Pseudo Random Number Generator - -maintainers: - - Krzysztof Kozlowski - -properties: - compatible: - enum: - - samsung,exynos4-rng # for Exynos4210 and Exynos4412 - - samsung,exynos5250-prng # for Exynos5250+ - - reg: - maxItems: 1 - - clocks: - maxItems: 1 - - clock-names: - items: - - const: secss - -required: - - compatible - - reg - - clock-names - - clocks - -additionalProperties: false - -examples: - - | - #include - - rng@10830400 { - compatible = "samsung,exynos4-rng"; - reg = <0x10830400 0x200>; - clocks = <&clock CLK_SSS>; - clock-names = "secss"; - }; +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/rng/samsung,exynos4-rng.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Samsung Exynos SoC Pseudo Random Number Generator + +maintainers: + - Krzysztof Kozlowski + +properties: + compatible: + enum: + - samsung,exynos4-rng # for Exynos4210 and Exynos4412 + - samsung,exynos5250-prng # for Exynos5250+ + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + clock-names: + items: + - const: secss + +required: + - compatible + - reg + - clock-names + - clocks + +additionalProperties: false + +examples: + - | + #include + + rng@10830400 { + compatible = "samsung,exynos4-rng"; + reg = <0x10830400 0x200>; + clocks = <&clock CLK_SSS>; + clock-names = "secss"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rng/silex-insight,ba431-rng.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rng/silex-insight,ba431-rng.yaml index d14a557b85..4673d6160a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rng/silex-insight,ba431-rng.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rng/silex-insight,ba431-rng.yaml @@ -1,36 +1,36 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/rng/silex-insight,ba431-rng.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Silex Insight BA431 RNG - -description: | - The BA431 hardware random number generator is an IP that is FIPS-140-2/3 - certified. - -maintainers: - - Olivier Sobrie - -properties: - compatible: - const: silex-insight,ba431-rng - - reg: - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - rng@42800000 { - compatible = "silex-insight,ba431-rng"; - reg = <0x42800000 0x1000>; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/rng/silex-insight,ba431-rng.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Silex Insight BA431 RNG + +description: | + The BA431 hardware random number generator is an IP that is FIPS-140-2/3 + certified. + +maintainers: + - Olivier Sobrie + +properties: + compatible: + const: silex-insight,ba431-rng + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + rng@42800000 { + compatible = "silex-insight,ba431-rng"; + reg = <0x42800000 0x1000>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rng/sparc_sun_oracle_rng.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rng/sparc_sun_oracle_rng.txt index 2675fab2f1..b0b211194c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rng/sparc_sun_oracle_rng.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rng/sparc_sun_oracle_rng.txt @@ -1,30 +1,30 @@ -HWRNG support for the n2_rng driver - -Required properties: -- reg : base address to sample from -- compatible : should contain one of the following - RNG versions: - - 'SUNW,n2-rng' for Niagara 2 Platform (SUN UltraSPARC T2 CPU) - - 'SUNW,vf-rng' for Victoria Falls Platform (SUN UltraSPARC T2 Plus CPU) - - 'SUNW,kt-rng' for Rainbow/Yosemite Falls Platform (SUN SPARC T3/T4), (UltraSPARC KT/Niagara 3 - development names) - more recent systems (after Oracle acquisition of SUN) - - 'ORCL,m4-rng' for SPARC T5/M5 - - 'ORCL,m7-rng' for SPARC T7/M7 - -Examples: -/* linux LDOM on SPARC T5-2 */ -Node 0xf029a4f4 - .node: f029a4f4 - rng-#units: 00000002 - compatible: 'ORCL,m4-rng' - reg: 0000000e - name: 'random-number-generator' - -/* solaris on SPARC M7-8 */ -Node 0xf028c08c - rng-#units: 00000003 - compatible: 'ORCL,m7-rng' - reg: 0000000e - name: 'random-number-generator' - -PS: see as well prtconfs.git by DaveM +HWRNG support for the n2_rng driver + +Required properties: +- reg : base address to sample from +- compatible : should contain one of the following + RNG versions: + - 'SUNW,n2-rng' for Niagara 2 Platform (SUN UltraSPARC T2 CPU) + - 'SUNW,vf-rng' for Victoria Falls Platform (SUN UltraSPARC T2 Plus CPU) + - 'SUNW,kt-rng' for Rainbow/Yosemite Falls Platform (SUN SPARC T3/T4), (UltraSPARC KT/Niagara 3 - development names) + more recent systems (after Oracle acquisition of SUN) + - 'ORCL,m4-rng' for SPARC T5/M5 + - 'ORCL,m7-rng' for SPARC T7/M7 + +Examples: +/* linux LDOM on SPARC T5-2 */ +Node 0xf029a4f4 + .node: f029a4f4 + rng-#units: 00000002 + compatible: 'ORCL,m4-rng' + reg: 0000000e + name: 'random-number-generator' + +/* solaris on SPARC M7-8 */ +Node 0xf028c08c + rng-#units: 00000003 + compatible: 'ORCL,m7-rng' + reg: 0000000e + name: 'random-number-generator' + +PS: see as well prtconfs.git by DaveM diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rng/ti,omap-rom-rng.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rng/ti,omap-rom-rng.yaml index 2debd6e36d..9a58440b1a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rng/ti,omap-rom-rng.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rng/ti,omap-rom-rng.yaml @@ -1,41 +1,41 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/rng/ti,omap-rom-rng.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: OMAP ROM Random Number Generator - -maintainers: - - Pali Rohár - - Tony Lindgren - -description: - Secure SoCs may provide RNG via secure ROM calls like Nokia N900 does. - The implementation can depend on the SoC secure ROM used. - -properties: - compatible: - const: nokia,n900-rom-rng - - clocks: - maxItems: 1 - - clock-names: - items: - - const: ick - -required: - - compatible - - clocks - - clock-names - -additionalProperties: false - -examples: - - | - rng { - compatible = "nokia,n900-rom-rng"; - clocks = <&rng_ick>; - clock-names = "ick"; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/rng/ti,omap-rom-rng.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: OMAP ROM Random Number Generator + +maintainers: + - Pali Rohár + - Tony Lindgren + +description: + Secure SoCs may provide RNG via secure ROM calls like Nokia N900 does. + The implementation can depend on the SoC secure ROM used. + +properties: + compatible: + const: nokia,n900-rom-rng + + clocks: + maxItems: 1 + + clock-names: + items: + - const: ick + +required: + - compatible + - clocks + - clock-names + +additionalProperties: false + +examples: + - | + rng { + compatible = "nokia,n900-rom-rng"; + clocks = <&rng_ick>; + clock-names = "ick"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rng/xiphera,xip8001b-trng.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rng/xiphera,xip8001b-trng.yaml index a27ddd5e5d..d831322911 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rng/xiphera,xip8001b-trng.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rng/xiphera,xip8001b-trng.yaml @@ -1,33 +1,33 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/rng/xiphera,xip8001b-trng.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Xiphera XIP8001B-trng - -maintainers: - - Atte Tommiska - -description: | - Xiphera FPGA-based true random number generator intellectual property core. - -properties: - compatible: - const: xiphera,xip8001b-trng - - reg: - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - rng@43c00000 { - compatible = "xiphera,xip8001b-trng"; - reg = <0x43c00000 0x10000>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/rng/xiphera,xip8001b-trng.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Xiphera XIP8001B-trng + +maintainers: + - Atte Tommiska + +description: | + Xiphera FPGA-based true random number generator intellectual property core. + +properties: + compatible: + const: xiphera,xip8001b-trng + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + rng@43c00000 { + compatible = "xiphera,xip8001b-trng"; + reg = <0x43c00000 0x10000>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/allwinner,sun4i-a10-rtc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/allwinner,sun4i-a10-rtc.yaml index 1bb43932df..054e1e397f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/allwinner,sun4i-a10-rtc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/allwinner,sun4i-a10-rtc.yaml @@ -1,43 +1,43 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/rtc/allwinner,sun4i-a10-rtc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Allwinner A10 RTC - -allOf: - - $ref: rtc.yaml# - -maintainers: - - Chen-Yu Tsai - - Maxime Ripard - -properties: - compatible: - enum: - - allwinner,sun4i-a10-rtc - - allwinner,sun7i-a20-rtc - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - -required: - - compatible - - reg - - interrupts - -additionalProperties: false - -examples: - - | - rtc: rtc@1c20d00 { - compatible = "allwinner,sun4i-a10-rtc"; - reg = <0x01c20d00 0x20>; - interrupts = <24>; - }; - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/rtc/allwinner,sun4i-a10-rtc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Allwinner A10 RTC + +allOf: + - $ref: rtc.yaml# + +maintainers: + - Chen-Yu Tsai + - Maxime Ripard + +properties: + compatible: + enum: + - allwinner,sun4i-a10-rtc + - allwinner,sun7i-a20-rtc + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + +additionalProperties: false + +examples: + - | + rtc: rtc@1c20d00 { + compatible = "allwinner,sun4i-a10-rtc"; + reg = <0x01c20d00 0x20>; + interrupts = <24>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/alphascale,asm9260-rtc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/alphascale,asm9260-rtc.yaml index ff8bf3d202..f955a7f638 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/alphascale,asm9260-rtc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/alphascale,asm9260-rtc.yaml @@ -1,50 +1,50 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/rtc/alphascale,asm9260-rtc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Alphascale asm9260 SoC Real Time Clock - -maintainers: - - Javier Carrasco - -allOf: - - $ref: rtc.yaml# - -properties: - compatible: - const: alphascale,asm9260-rtc - - reg: - maxItems: 1 - - clocks: - maxItems: 1 - - clock-names: - const: ahb - - interrupts: - maxItems: 1 - -required: - - compatible - - reg - - clocks - - clock-names - - interrupts - -unevaluatedProperties: false - -examples: - - | - #include - - rtc@800a0000 { - compatible = "alphascale,asm9260-rtc"; - reg = <0x800a0000 0x100>; - clocks = <&acc CLKID_AHB_RTC>; - clock-names = "ahb"; - interrupts = <2>; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/rtc/alphascale,asm9260-rtc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Alphascale asm9260 SoC Real Time Clock + +maintainers: + - Javier Carrasco + +allOf: + - $ref: rtc.yaml# + +properties: + compatible: + const: alphascale,asm9260-rtc + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + clock-names: + const: ahb + + interrupts: + maxItems: 1 + +required: + - compatible + - reg + - clocks + - clock-names + - interrupts + +unevaluatedProperties: false + +examples: + - | + #include + + rtc@800a0000 { + compatible = "alphascale,asm9260-rtc"; + reg = <0x800a0000 0x100>; + clocks = <&acc CLKID_AHB_RTC>; + clock-names = "ahb"; + interrupts = <2>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/arm,pl031.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/arm,pl031.yaml index ad5ffbef3c..fa5f2eda37 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/arm,pl031.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/arm,pl031.yaml @@ -1,58 +1,58 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/rtc/arm,pl031.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Arm Primecell PL031 Real Time Clock - -select: - properties: - compatible: - contains: - const: arm,pl031 - required: - - compatible - -allOf: - - $ref: rtc.yaml# - -maintainers: - - Rob Herring - -properties: - compatible: - items: - - const: arm,pl031 - - const: arm,primecell - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - maxItems: 1 - - clock-names: - maxItems: 1 - - start-year: true - -required: - - compatible - - reg - - clocks - - clock-names - -additionalProperties: false - -examples: - - | - rtc@10017000 { - compatible = "arm,pl031", "arm,primecell"; - reg = <0x10017000 0x1000>; - clocks = <&pclk>; - clock-names = "apb_pclk"; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/rtc/arm,pl031.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Arm Primecell PL031 Real Time Clock + +select: + properties: + compatible: + contains: + const: arm,pl031 + required: + - compatible + +allOf: + - $ref: rtc.yaml# + +maintainers: + - Rob Herring + +properties: + compatible: + items: + - const: arm,pl031 + - const: arm,primecell + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + + clock-names: + maxItems: 1 + + start-year: true + +required: + - compatible + - reg + - clocks + - clock-names + +additionalProperties: false + +examples: + - | + rtc@10017000 { + compatible = "arm,pl031", "arm,primecell"; + reg = <0x10017000 0x1000>; + clocks = <&pclk>; + clock-names = "apb_pclk"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/cdns,rtc.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/cdns,rtc.txt index 8a51f19d44..14a04487b4 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/cdns,rtc.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/cdns,rtc.txt @@ -1,25 +1,25 @@ -Cadence Real Time Clock - -The Cadence RTC controller with date, time and alarm capabilities. -The alarm may wake the system from low-power state. - -Required properties: -- compatible: Should be "cdns,rtc-r109v3" -- reg: Specifies base physical address and size of the register area. -- interrupts: A single interrupt specifier. -- clocks: Must contain two entries: - - pclk: APB registers clock - - ref_clk: reference 1Hz or 100Hz clock, depending on IP configuration - See ../clocks/clock-bindings.txt for details. - -Example: - rtc0: rtc@fd080000 { - compatible = "cdns,rtc-r109v3"; - reg = <0xfd080000 0x1000>; - - clock-names = "pclk", "ref_clk"; - clocks = <&sysclock>, <&refclock>; - - interrupt-parent = <&gic>; - interrupts = <0 6 IRQ_TYPE_LEVEL_HIGH>; - }; +Cadence Real Time Clock + +The Cadence RTC controller with date, time and alarm capabilities. +The alarm may wake the system from low-power state. + +Required properties: +- compatible: Should be "cdns,rtc-r109v3" +- reg: Specifies base physical address and size of the register area. +- interrupts: A single interrupt specifier. +- clocks: Must contain two entries: + - pclk: APB registers clock + - ref_clk: reference 1Hz or 100Hz clock, depending on IP configuration + See ../clocks/clock-bindings.txt for details. + +Example: + rtc0: rtc@fd080000 { + compatible = "cdns,rtc-r109v3"; + reg = <0xfd080000 0x1000>; + + clock-names = "pclk", "ref_clk"; + clocks = <&sysclock>, <&refclock>; + + interrupt-parent = <&gic>; + interrupts = <0 6 IRQ_TYPE_LEVEL_HIGH>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/cirrus,ep9301-rtc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/cirrus,ep9301-rtc.yaml index 0d447c2d60..a95f6af2b1 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/cirrus,ep9301-rtc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/cirrus,ep9301-rtc.yaml @@ -1,42 +1,42 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/rtc/cirrus,ep9301-rtc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Cirrus EP93xx Real Time Clock controller - -maintainers: - - Hartley Sweeten - - Alexander Sverdlin - -allOf: - - $ref: rtc.yaml# - -properties: - compatible: - oneOf: - - const: cirrus,ep9301-rtc - - items: - - enum: - - cirrus,ep9302-rtc - - cirrus,ep9307-rtc - - cirrus,ep9312-rtc - - cirrus,ep9315-rtc - - const: cirrus,ep9301-rtc - - reg: - maxItems: 1 - -required: - - compatible - - reg - -unevaluatedProperties: false - -examples: - - | - rtc@80920000 { - compatible = "cirrus,ep9301-rtc"; - reg = <0x80920000 0x100>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/rtc/cirrus,ep9301-rtc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Cirrus EP93xx Real Time Clock controller + +maintainers: + - Hartley Sweeten + - Alexander Sverdlin + +allOf: + - $ref: rtc.yaml# + +properties: + compatible: + oneOf: + - const: cirrus,ep9301-rtc + - items: + - enum: + - cirrus,ep9302-rtc + - cirrus,ep9307-rtc + - cirrus,ep9312-rtc + - cirrus,ep9315-rtc + - const: cirrus,ep9301-rtc + + reg: + maxItems: 1 + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + rtc@80920000 { + compatible = "cirrus,ep9301-rtc"; + reg = <0x80920000 0x100>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/epson,rx6110.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/epson,rx6110.txt index e60611bcea..3dc313e01f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/epson,rx6110.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/epson,rx6110.txt @@ -1,39 +1,39 @@ -Epson RX6110 Real Time Clock -============================ - -The Epson RX6110 can be used with SPI or I2C busses. The kind of -bus depends on the SPISEL pin and can not be configured via software. - -I2C mode --------- - -Required properties: - - compatible: should be: "epson,rx6110" - - reg : the I2C address of the device for I2C - -Example: - - rtc: rtc@32 { - compatible = "epson,rx6110" - reg = <0x32>; - }; - -SPI mode --------- - -Required properties: - - compatible: should be: "epson,rx6110" - - reg: chip select number - - spi-cs-high: RX6110 needs chipselect high - - spi-cpha: RX6110 works with SPI shifted clock phase - - spi-cpol: RX6110 works with SPI inverse clock polarity - -Example: - - rtc: rtc@3 { - compatible = "epson,rx6110" - reg = <3> - spi-cs-high; - spi-cpha; - spi-cpol; - }; +Epson RX6110 Real Time Clock +============================ + +The Epson RX6110 can be used with SPI or I2C busses. The kind of +bus depends on the SPISEL pin and can not be configured via software. + +I2C mode +-------- + +Required properties: + - compatible: should be: "epson,rx6110" + - reg : the I2C address of the device for I2C + +Example: + + rtc: rtc@32 { + compatible = "epson,rx6110" + reg = <0x32>; + }; + +SPI mode +-------- + +Required properties: + - compatible: should be: "epson,rx6110" + - reg: chip select number + - spi-cs-high: RX6110 needs chipselect high + - spi-cpha: RX6110 works with SPI shifted clock phase + - spi-cpol: RX6110 works with SPI inverse clock polarity + +Example: + + rtc: rtc@3 { + compatible = "epson,rx6110" + reg = <3> + spi-cs-high; + spi-cpha; + spi-cpol; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/fsl,scu-rtc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/fsl,scu-rtc.yaml index 87f336327d..dd1b1abf1e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/fsl,scu-rtc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/fsl,scu-rtc.yaml @@ -1,31 +1,31 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/rtc/fsl,scu-rtc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: i.MX SCU Client Device Node - RTC Based on SCU Message Protocol - -maintainers: - - Dong Aisheng - -description: i.MX SCU Client Device Node - Client nodes are maintained as children of the relevant IMX-SCU device node. - -allOf: - - $ref: rtc.yaml# - -properties: - compatible: - const: fsl,imx8qxp-sc-rtc - -required: - - compatible - -additionalProperties: false - -examples: - - | - rtc { - compatible = "fsl,imx8qxp-sc-rtc"; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/rtc/fsl,scu-rtc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: i.MX SCU Client Device Node - RTC Based on SCU Message Protocol + +maintainers: + - Dong Aisheng + +description: i.MX SCU Client Device Node + Client nodes are maintained as children of the relevant IMX-SCU device node. + +allOf: + - $ref: rtc.yaml# + +properties: + compatible: + const: fsl,imx8qxp-sc-rtc + +required: + - compatible + +additionalProperties: false + +examples: + - | + rtc { + compatible = "fsl,imx8qxp-sc-rtc"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/imxdi-rtc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/imxdi-rtc.yaml index 6baead53c2..4807c95a66 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/imxdi-rtc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/imxdi-rtc.yaml @@ -1,43 +1,43 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/rtc/imxdi-rtc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: i.MX25 Real Time Clock controller - -maintainers: - - Roland Stigge - -properties: - compatible: - const: fsl,imx25-rtc - - reg: - maxItems: 1 - - interrupts: - items: - - description: rtc alarm interrupt - - description: dryice security violation interrupt - minItems: 1 - - clocks: - maxItems: 1 - -required: - - compatible - - reg - - interrupts - - clocks - -additionalProperties: false - -examples: - - | - rtc@53ffc000 { - compatible = "fsl,imx25-rtc"; - reg = <0x53ffc000 0x4000>; - clocks = <&clks 81>; - interrupts = <25>, <56>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/rtc/imxdi-rtc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: i.MX25 Real Time Clock controller + +maintainers: + - Roland Stigge + +properties: + compatible: + const: fsl,imx25-rtc + + reg: + maxItems: 1 + + interrupts: + items: + - description: rtc alarm interrupt + - description: dryice security violation interrupt + minItems: 1 + + clocks: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + - clocks + +additionalProperties: false + +examples: + - | + rtc@53ffc000 { + compatible = "fsl,imx25-rtc"; + reg = <0x53ffc000 0x4000>; + clocks = <&clks 81>; + interrupts = <25>, <56>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/isil,isl12026.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/isil,isl12026.txt index 7ef3cf3b4d..2e0be45193 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/isil,isl12026.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/isil,isl12026.txt @@ -1,28 +1,28 @@ -ISL12026 I2C RTC/EEPROM - -ISL12026 is an I2C RTC/EEPROM combination device. The RTC and control -registers respond at bus address 0x6f, and the EEPROM array responds -at bus address 0x57. The canonical "reg" value will be for the RTC portion. - -Required properties supported by the device: - - - "compatible": must be "isil,isl12026" - - "reg": I2C bus address of the device (always 0x6f) - -Optional properties: - - - "isil,pwr-bsw": If present PWR.BSW bit must be set to the specified - value for proper operation. - - - "isil,pwr-sbib": If present PWR.SBIB bit must be set to the specified - value for proper operation. - - -Example: - - rtc@6f { - compatible = "isil,isl12026"; - reg = <0x6f>; - isil,pwr-bsw = <0>; - isil,pwr-sbib = <1>; - } +ISL12026 I2C RTC/EEPROM + +ISL12026 is an I2C RTC/EEPROM combination device. The RTC and control +registers respond at bus address 0x6f, and the EEPROM array responds +at bus address 0x57. The canonical "reg" value will be for the RTC portion. + +Required properties supported by the device: + + - "compatible": must be "isil,isl12026" + - "reg": I2C bus address of the device (always 0x6f) + +Optional properties: + + - "isil,pwr-bsw": If present PWR.BSW bit must be set to the specified + value for proper operation. + + - "isil,pwr-sbib": If present PWR.SBIB bit must be set to the specified + value for proper operation. + + +Example: + + rtc@6f { + compatible = "isil,isl12026"; + reg = <0x6f>; + isil,pwr-bsw = <0>; + isil,pwr-sbib = <1>; + } diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/marvell,pxa-rtc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/marvell,pxa-rtc.yaml index 3c3df2df4a..43d68681a1 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/marvell,pxa-rtc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/marvell,pxa-rtc.yaml @@ -1,40 +1,40 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/rtc/marvell,pxa-rtc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: PXA Real Time Clock - -maintainers: - - Javier Carrasco - -allOf: - - $ref: rtc.yaml# - -properties: - compatible: - const: marvell,pxa-rtc - - reg: - maxItems: 1 - - interrupts: - items: - - description: 1 Hz - - description: Alarm - -required: - - compatible - - reg - - interrupts - -unevaluatedProperties: false - -examples: - - | - rtc@40900000 { - compatible = "marvell,pxa-rtc"; - reg = <0x40900000 0x3c>; - interrupts = <30>, <31>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/rtc/marvell,pxa-rtc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: PXA Real Time Clock + +maintainers: + - Javier Carrasco + +allOf: + - $ref: rtc.yaml# + +properties: + compatible: + const: marvell,pxa-rtc + + reg: + maxItems: 1 + + interrupts: + items: + - description: 1 Hz + - description: Alarm + +required: + - compatible + - reg + - interrupts + +unevaluatedProperties: false + +examples: + - | + rtc@40900000 { + compatible = "marvell,pxa-rtc"; + reg = <0x40900000 0x3c>; + interrupts = <30>, <31>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/mediatek,mt2712-rtc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/mediatek,mt2712-rtc.yaml index 90f4ea03ac..75624ddf6d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/mediatek,mt2712-rtc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/mediatek,mt2712-rtc.yaml @@ -1,39 +1,39 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/rtc/mediatek,mt2712-rtc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: MediaTek MT2712 on-SoC RTC - -allOf: - - $ref: rtc.yaml# - -maintainers: - - Ran Bi - -properties: - compatible: - const: mediatek,mt2712-rtc - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - -required: - - reg - - interrupts - -unevaluatedProperties: false - -examples: - - | - #include - - rtc@10011000 { - compatible = "mediatek,mt2712-rtc"; - reg = <0x10011000 0x1000>; - interrupts = ; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/rtc/mediatek,mt2712-rtc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: MediaTek MT2712 on-SoC RTC + +allOf: + - $ref: rtc.yaml# + +maintainers: + - Ran Bi + +properties: + compatible: + const: mediatek,mt2712-rtc + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + +required: + - reg + - interrupts + +unevaluatedProperties: false + +examples: + - | + #include + + rtc@10011000 { + compatible = "mediatek,mt2712-rtc"; + reg = <0x10011000 0x1000>; + interrupts = ; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/mstar,msc313-rtc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/mstar,msc313-rtc.yaml index 32f14b3001..af4a31cd09 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/mstar,msc313-rtc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/mstar,msc313-rtc.yaml @@ -1,49 +1,49 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/rtc/mstar,msc313-rtc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Mstar MSC313e RTC - -allOf: - - $ref: rtc.yaml# - -maintainers: - - Daniel Palmer - - Romain Perier - -properties: - compatible: - enum: - - mstar,msc313-rtc - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - start-year: true - - clocks: - maxItems: 1 - -required: - - compatible - - reg - - interrupts - - clocks - -additionalProperties: false - -examples: - - | - #include - rtc@2400 { - compatible = "mstar,msc313-rtc"; - reg = <0x2400 0x40>; - clocks = <&xtal_div2>; - interrupts-extended = <&intc_irq GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/rtc/mstar,msc313-rtc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Mstar MSC313e RTC + +allOf: + - $ref: rtc.yaml# + +maintainers: + - Daniel Palmer + - Romain Perier + +properties: + compatible: + enum: + - mstar,msc313-rtc + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + start-year: true + + clocks: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + - clocks + +additionalProperties: false + +examples: + - | + #include + rtc@2400 { + compatible = "mstar,msc313-rtc"; + reg = <0x2400 0x40>; + clocks = <&xtal_div2>; + interrupts-extended = <&intc_irq GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/nuvoton,ma35d1-rtc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/nuvoton,ma35d1-rtc.yaml index 5a35fc7590..5e4ade803e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/nuvoton,ma35d1-rtc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/nuvoton,ma35d1-rtc.yaml @@ -1,48 +1,48 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/rtc/nuvoton,ma35d1-rtc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Nuvoton MA35D1 Real Time Clock - -maintainers: - - Min-Jen Chen - -allOf: - - $ref: rtc.yaml# - -properties: - compatible: - enum: - - nuvoton,ma35d1-rtc - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - maxItems: 1 - -required: - - compatible - - reg - - interrupts - - clocks - -unevaluatedProperties: false - -examples: - - | - #include - #include - rtc@40410000 { - compatible = "nuvoton,ma35d1-rtc"; - reg = <0x40410000 0x200>; - interrupts = ; - clocks = <&clk RTC_GATE>; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/rtc/nuvoton,ma35d1-rtc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Nuvoton MA35D1 Real Time Clock + +maintainers: + - Min-Jen Chen + +allOf: + - $ref: rtc.yaml# + +properties: + compatible: + enum: + - nuvoton,ma35d1-rtc + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + - clocks + +unevaluatedProperties: false + +examples: + - | + #include + #include + rtc@40410000 { + compatible = "nuvoton,ma35d1-rtc"; + reg = <0x40410000 0x200>; + interrupts = ; + clocks = <&clk RTC_GATE>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/nuvoton,nct3018y.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/nuvoton,nct3018y.yaml index 3f9ea15ccb..4f9b5604ac 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/nuvoton,nct3018y.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/nuvoton,nct3018y.yaml @@ -1,45 +1,45 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/rtc/nuvoton,nct3018y.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: NUVOTON NCT3018Y Real Time Clock - -allOf: - - $ref: rtc.yaml# - -maintainers: - - Medad CChien - - Mia Lin - -properties: - compatible: - const: nuvoton,nct3018y - - reg: - maxItems: 1 - - start-year: true - - reset-source: true - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - rtc@6f { - compatible = "nuvoton,nct3018y"; - reg = <0x6f>; - }; - }; - -... +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/rtc/nuvoton,nct3018y.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NUVOTON NCT3018Y Real Time Clock + +allOf: + - $ref: rtc.yaml# + +maintainers: + - Medad CChien + - Mia Lin + +properties: + compatible: + const: nuvoton,nct3018y + + reg: + maxItems: 1 + + start-year: true + + reset-source: true + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + rtc@6f { + compatible = "nuvoton,nct3018y"; + reg = <0x6f>; + }; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/nxp,pcf2123.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/nxp,pcf2123.yaml index 5e28456068..96e377a4d1 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/nxp,pcf2123.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/nxp,pcf2123.yaml @@ -1,47 +1,47 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/rtc/nxp,pcf2123.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: NXP PCF2123 SPI Real Time Clock - -maintainers: - - Javier Carrasco - -allOf: - - $ref: /schemas/spi/spi-peripheral-props.yaml# - - $ref: rtc.yaml# - -properties: - compatible: - enum: - - nxp,pcf2123 - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - -required: - - compatible - - reg - -unevaluatedProperties: false - -examples: - - | - #include - spi { - #address-cells = <1>; - #size-cells = <0>; - - rtc@3 { - compatible = "nxp,pcf2123"; - reg = <3>; - interrupts = ; - spi-cs-high; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/rtc/nxp,pcf2123.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NXP PCF2123 SPI Real Time Clock + +maintainers: + - Javier Carrasco + +allOf: + - $ref: /schemas/spi/spi-peripheral-props.yaml# + - $ref: rtc.yaml# + +properties: + compatible: + enum: + - nxp,pcf2123 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + #include + spi { + #address-cells = <1>; + #size-cells = <0>; + + rtc@3 { + compatible = "nxp,pcf2123"; + reg = <3>; + interrupts = ; + spi-cs-high; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/nxp,pcf8523.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/nxp,pcf8523.yaml index 579c4ea2a4..d11c8bc16b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/nxp,pcf8523.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/nxp,pcf8523.yaml @@ -1,45 +1,45 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/rtc/nxp,pcf8523.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: NXP PCF8523 Real Time Clock - -maintainers: - - Sam Ravnborg - -allOf: - - $ref: rtc.yaml# - -properties: - compatible: - const: nxp,pcf8523 - - reg: - maxItems: 1 - - quartz-load-femtofarads: - description: - The capacitive load of the crystal, expressed in femto Farad (fF). - enum: [ 7000, 12500 ] - default: 12500 - -required: - - compatible - - reg - -unevaluatedProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - rtc@68 { - compatible = "nxp,pcf8523"; - reg = <0x68>; - quartz-load-femtofarads = <7000>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/rtc/nxp,pcf8523.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NXP PCF8523 Real Time Clock + +maintainers: + - Sam Ravnborg + +allOf: + - $ref: rtc.yaml# + +properties: + compatible: + const: nxp,pcf8523 + + reg: + maxItems: 1 + + quartz-load-femtofarads: + description: + The capacitive load of the crystal, expressed in femto Farad (fF). + enum: [ 7000, 12500 ] + default: 12500 + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + rtc@68 { + compatible = "nxp,pcf8523"; + reg = <0x68>; + quartz-load-femtofarads = <7000>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/nxp,pcf8563.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/nxp,pcf8563.yaml index d6ca5f64d3..22909a9612 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/nxp,pcf8563.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/nxp,pcf8563.yaml @@ -1,56 +1,56 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/rtc/nxp,pcf8563.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Philips PCF8563/Epson RTC8564 Real Time Clock - -maintainers: - - Alexandre Belloni - -allOf: - - $ref: rtc.yaml# - -properties: - compatible: - enum: - - epson,rtc8564 - - microcrystal,rv8564 - - nxp,pca8565 - - nxp,pcf8563 - - reg: - maxItems: 1 - - "#clock-cells": - const: 0 - - clock-output-names: - maxItems: 1 - - interrupts: - maxItems: 1 - - start-year: true - wakeup-source: true - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - rtc@51 { - compatible = "nxp,pcf8563"; - reg = <0x51>; - #clock-cells = <0>; - }; - }; -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/rtc/nxp,pcf8563.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Philips PCF8563/Epson RTC8564 Real Time Clock + +maintainers: + - Alexandre Belloni + +allOf: + - $ref: rtc.yaml# + +properties: + compatible: + enum: + - epson,rtc8564 + - microcrystal,rv8564 + - nxp,pca8565 + - nxp,pcf8563 + + reg: + maxItems: 1 + + "#clock-cells": + const: 0 + + clock-output-names: + maxItems: 1 + + interrupts: + maxItems: 1 + + start-year: true + wakeup-source: true + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + rtc@51 { + compatible = "nxp,pcf8563"; + reg = <0x51>; + #clock-cells = <0>; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/rtc-cmos.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/rtc-cmos.txt index 12807a0550..7d7b5f6bda 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/rtc-cmos.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/rtc-cmos.txt @@ -1,27 +1,27 @@ - Motorola mc146818 compatible RTC -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -Required properties: - - compatible : "motorola,mc146818" - - reg : should contain registers location and length. - -Optional properties: - - interrupts : should contain interrupt. - - ctrl-reg : Contains the initial value of the control register also - called "Register B". - - freq-reg : Contains the initial value of the frequency register also - called "Register A". - -"Register A" and "B" are usually initialized by the firmware (BIOS for -instance). If this is not done, it can be performed by the driver. - -ISA Example: - - rtc@70 { - compatible = "motorola,mc146818"; - interrupts = <8 3>; - interrupt-parent = <&ioapic1>; - ctrl-reg = <2>; - freq-reg = <0x26>; - reg = <1 0x70 2>; - }; + Motorola mc146818 compatible RTC +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Required properties: + - compatible : "motorola,mc146818" + - reg : should contain registers location and length. + +Optional properties: + - interrupts : should contain interrupt. + - ctrl-reg : Contains the initial value of the control register also + called "Register B". + - freq-reg : Contains the initial value of the frequency register also + called "Register A". + +"Register A" and "B" are usually initialized by the firmware (BIOS for +instance). If this is not done, it can be performed by the driver. + +ISA Example: + + rtc@70 { + compatible = "motorola,mc146818"; + interrupts = <8 3>; + interrupt-parent = <&ioapic1>; + ctrl-reg = <2>; + freq-reg = <0x26>; + reg = <1 0x70 2>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/rtc-mt6397.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/rtc-mt6397.txt index 9d086eb5c8..7212076a8f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/rtc-mt6397.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/rtc-mt6397.txt @@ -1,31 +1,31 @@ -Device-Tree bindings for MediaTek PMIC based RTC - -MediaTek PMIC based RTC is an independent function of MediaTek PMIC that works -as a type of multi-function device (MFD). The RTC can be configured and set up -with PMIC wrapper bus which is a common resource shared with the other -functions found on the same PMIC. - -For MediaTek PMIC MFD bindings, see: -../mfd/mt6397.txt - -For MediaTek PMIC wrapper bus bindings, see: -../soc/mediatek/pwrap.txt - -Required properties: -- compatible: Should be one of follows - "mediatek,mt6323-rtc": for MT6323 PMIC - "mediatek,mt6358-rtc": for MT6358 PMIC - "mediatek,mt6366-rtc", "mediatek,mt6358-rtc": for MT6366 PMIC - "mediatek,mt6397-rtc": for MT6397 PMIC - -Example: - - pmic { - compatible = "mediatek,mt6323"; - - ... - - rtc { - compatible = "mediatek,mt6323-rtc"; - }; - }; +Device-Tree bindings for MediaTek PMIC based RTC + +MediaTek PMIC based RTC is an independent function of MediaTek PMIC that works +as a type of multi-function device (MFD). The RTC can be configured and set up +with PMIC wrapper bus which is a common resource shared with the other +functions found on the same PMIC. + +For MediaTek PMIC MFD bindings, see: +../mfd/mt6397.txt + +For MediaTek PMIC wrapper bus bindings, see: +../soc/mediatek/pwrap.txt + +Required properties: +- compatible: Should be one of follows + "mediatek,mt6323-rtc": for MT6323 PMIC + "mediatek,mt6358-rtc": for MT6358 PMIC + "mediatek,mt6366-rtc", "mediatek,mt6358-rtc": for MT6366 PMIC + "mediatek,mt6397-rtc": for MT6397 PMIC + +Example: + + pmic { + compatible = "mediatek,mt6323"; + + ... + + rtc { + compatible = "mediatek,mt6323-rtc"; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/rtc-mxc_v2.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/rtc-mxc_v2.yaml index 6b64779e32..e50131c26d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/rtc-mxc_v2.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/rtc-mxc_v2.yaml @@ -1,46 +1,46 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/rtc/rtc-mxc_v2.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: i.MX53 Secure Real Time Clock (SRTC) - -allOf: - - $ref: rtc.yaml# - -maintainers: - - Patrick Bruenn - -properties: - compatible: - enum: - - fsl,imx53-rtc - - reg: - maxItems: 1 - - clocks: - maxItems: 1 - - interrupts: - maxItems: 1 - -required: - - compatible - - reg - - clocks - - interrupts - -additionalProperties: false - -examples: - - | - #include - - rtc@53fa4000 { - compatible = "fsl,imx53-rtc"; - reg = <0x53fa4000 0x4000>; - interrupts = <24>; - clocks = <&clks IMX5_CLK_SRTC_GATE>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/rtc/rtc-mxc_v2.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: i.MX53 Secure Real Time Clock (SRTC) + +allOf: + - $ref: rtc.yaml# + +maintainers: + - Patrick Bruenn + +properties: + compatible: + enum: + - fsl,imx53-rtc + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + interrupts: + maxItems: 1 + +required: + - compatible + - reg + - clocks + - interrupts + +additionalProperties: false + +examples: + - | + #include + + rtc@53fa4000 { + compatible = "fsl,imx53-rtc"; + reg = <0x53fa4000 0x4000>; + interrupts = <24>; + clocks = <&clks IMX5_CLK_SRTC_GATE>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/rtc-st-lpc.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/rtc-st-lpc.txt index cd42a74e34..daf88265df 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/rtc-st-lpc.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/rtc-st-lpc.txt @@ -1,28 +1,28 @@ -STMicroelectronics Low Power Controller (LPC) - RTC -=================================================== - -LPC currently supports Watchdog OR Real Time Clock OR Clocksource -functionality. - -[See: ../watchdog/st_lpc_wdt.txt for Watchdog options] -[See: ../timer/st,stih407-lpc for Clocksource options] - -Required properties - -- compatible : Must be: "st,stih407-lpc" -- reg : LPC registers base address + size -- interrupts : LPC interrupt line number and associated flags -- clocks : Clock used by LPC device (See: ../clock/clock-bindings.txt) -- st,lpc-mode : The LPC can run either one of three modes: - ST_LPC_MODE_RTC [0] - ST_LPC_MODE_WDT [1] - ST_LPC_MODE_CLKSRC [2] - One (and only one) mode must be selected. - -Example: - lpc@fde05000 { - compatible = "st,stih407-lpc"; - reg = <0xfde05000 0x1000>; - clocks = <&clk_s_d3_flexgen CLK_LPC_0>; - st,lpc-mode = ; - }; +STMicroelectronics Low Power Controller (LPC) - RTC +=================================================== + +LPC currently supports Watchdog OR Real Time Clock OR Clocksource +functionality. + +[See: ../watchdog/st_lpc_wdt.txt for Watchdog options] +[See: ../timer/st,stih407-lpc for Clocksource options] + +Required properties + +- compatible : Must be: "st,stih407-lpc" +- reg : LPC registers base address + size +- interrupts : LPC interrupt line number and associated flags +- clocks : Clock used by LPC device (See: ../clock/clock-bindings.txt) +- st,lpc-mode : The LPC can run either one of three modes: + ST_LPC_MODE_RTC [0] + ST_LPC_MODE_WDT [1] + ST_LPC_MODE_CLKSRC [2] + One (and only one) mode must be selected. + +Example: + lpc@fde05000 { + compatible = "st,stih407-lpc"; + reg = <0xfde05000 0x1000>; + clocks = <&clk_s_d3_flexgen CLK_LPC_0>; + st,lpc-mode = ; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/sprd,sc2731-rtc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/sprd,sc2731-rtc.yaml index 7c0d9b0d3d..f3d20e9769 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/sprd,sc2731-rtc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/sprd,sc2731-rtc.yaml @@ -1,49 +1,49 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/rtc/sprd,sc2731-rtc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Spreadtrum SC2731 Real Time Clock - -maintainers: - - Orson Zhai - - Baolin Wang - - Chunyan Zhang - -properties: - compatible: - const: sprd,sc2731-rtc - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - -required: - - compatible - - reg - - interrupts - -allOf: - - $ref: rtc.yaml# - -unevaluatedProperties: false - -examples: - - | - #include - - pmic { - #address-cells = <1>; - #size-cells = <0>; - - rtc@280 { - compatible = "sprd,sc2731-rtc"; - reg = <0x280>; - interrupt-parent = <&sc2731_pmic>; - interrupts = <2 IRQ_TYPE_LEVEL_HIGH>; - }; - }; -... +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/rtc/sprd,sc2731-rtc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Spreadtrum SC2731 Real Time Clock + +maintainers: + - Orson Zhai + - Baolin Wang + - Chunyan Zhang + +properties: + compatible: + const: sprd,sc2731-rtc + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + +allOf: + - $ref: rtc.yaml# + +unevaluatedProperties: false + +examples: + - | + #include + + pmic { + #address-cells = <1>; + #size-cells = <0>; + + rtc@280 { + compatible = "sprd,sc2731-rtc"; + reg = <0x280>; + interrupt-parent = <&sc2731_pmic>; + interrupts = <2 IRQ_TYPE_LEVEL_HIGH>; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/st,m48t86.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/st,m48t86.yaml index 973a3b8545..e3e12fa233 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/st,m48t86.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/st,m48t86.yaml @@ -1,38 +1,38 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/rtc/st,m48t86.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: ST M48T86 / Dallas DS12887 RTC with SRAM - -maintainers: - - Alexandre Belloni - -allOf: - - $ref: rtc.yaml - -properties: - compatible: - enum: - - st,m48t86 - - reg: - items: - - description: index register - - description: data register - -required: - - compatible - - reg - -unevaluatedProperties: false - -examples: - - | - rtc@10800000 { - compatible = "st,m48t86"; - reg = <0x10800000 0x1>, <0x11700000 0x1>; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/rtc/st,m48t86.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ST M48T86 / Dallas DS12887 RTC with SRAM + +maintainers: + - Alexandre Belloni + +allOf: + - $ref: rtc.yaml + +properties: + compatible: + enum: + - st,m48t86 + + reg: + items: + - description: index register + - description: data register + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + rtc@10800000 { + compatible = "st,m48t86"; + reg = <0x10800000 0x1>, <0x11700000 0x1>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/ti,bq32000.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/ti,bq32000.yaml index e541c78161..bf9c1c4ddb 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/ti,bq32000.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/ti,bq32000.yaml @@ -1,49 +1,49 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/rtc/ti,bq32000.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: TI BQ32000 I2C Serial Real-Time Clock - -maintainers: - - Alexandre Belloni - -allOf: - - $ref: rtc.yaml# - -properties: - compatible: - const: ti,bq32000 - - reg: - const: 0x68 - - interrupts: - maxItems: 1 - - start-year: true - - trickle-resistor-ohms: - enum: [ 1120, 20180 ] - - trickle-diode-disable: true - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - bq32000: rtc@68 { - compatible = "ti,bq32000"; - reg = <0x68>; - trickle-resistor-ohms = <1120>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/rtc/ti,bq32000.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: TI BQ32000 I2C Serial Real-Time Clock + +maintainers: + - Alexandre Belloni + +allOf: + - $ref: rtc.yaml# + +properties: + compatible: + const: ti,bq32000 + + reg: + const: 0x68 + + interrupts: + maxItems: 1 + + start-year: true + + trickle-resistor-ohms: + enum: [ 1120, 20180 ] + + trickle-diode-disable: true + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + bq32000: rtc@68 { + compatible = "ti,bq32000"; + reg = <0x68>; + trickle-resistor-ohms = <1120>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/xgene-rtc.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/xgene-rtc.txt index 5199f4c3dd..fd195c3584 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/xgene-rtc.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/xgene-rtc.txt @@ -1,28 +1,28 @@ -* APM X-Gene Real Time Clock - -RTC controller for the APM X-Gene Real Time Clock - -Required properties: -- compatible : Should be "apm,xgene-rtc" -- reg: physical base address of the controller and length of memory mapped - region. -- interrupts: IRQ line for the RTC. -- #clock-cells: Should be 1. -- clocks: Reference to the clock entry. - -Example: - -rtcclk: rtcclk { - compatible = "fixed-clock"; - #clock-cells = <1>; - clock-frequency = <100000000>; - clock-output-names = "rtcclk"; -}; - -rtc: rtc@10510000 { - compatible = "apm,xgene-rtc"; - reg = <0x0 0x10510000 0x0 0x400>; - interrupts = <0x0 0x46 0x4>; - #clock-cells = <1>; - clocks = <&rtcclk 0>; -}; +* APM X-Gene Real Time Clock + +RTC controller for the APM X-Gene Real Time Clock + +Required properties: +- compatible : Should be "apm,xgene-rtc" +- reg: physical base address of the controller and length of memory mapped + region. +- interrupts: IRQ line for the RTC. +- #clock-cells: Should be 1. +- clocks: Reference to the clock entry. + +Example: + +rtcclk: rtcclk { + compatible = "fixed-clock"; + #clock-cells = <1>; + clock-frequency = <100000000>; + clock-output-names = "rtcclk"; +}; + +rtc: rtc@10510000 { + compatible = "apm,xgene-rtc"; + reg = <0x0 0x10510000 0x0 0x400>; + interrupts = <0x0 0x46 0x4>; + #clock-cells = <1>; + clocks = <&rtcclk 0>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/arm,dcc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/arm,dcc.yaml index 54533b8840..fd05893566 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/arm,dcc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/arm,dcc.yaml @@ -1,30 +1,30 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/serial/arm,dcc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: ARM DCC (Data communication channel) serial emulation - -maintainers: - - Michal Simek - -description: | - ARM DCC (Data communication channel) serial emulation interface available - via JTAG can be also used as one of serial line tightly coupled with every - ARM CPU available in the system. - -properties: - compatible: - const: arm,dcc - -required: - - compatible - -additionalProperties: false - -examples: - - | - serial { - compatible = "arm,dcc"; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/serial/arm,dcc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ARM DCC (Data communication channel) serial emulation + +maintainers: + - Michal Simek + +description: | + ARM DCC (Data communication channel) serial emulation interface available + via JTAG can be also used as one of serial line tightly coupled with every + ARM CPU available in the system. + +properties: + compatible: + const: arm,dcc + +required: + - compatible + +additionalProperties: false + +examples: + - | + serial { + compatible = "arm,dcc"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/brcm,bcm2835-aux-uart.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/brcm,bcm2835-aux-uart.yaml index 658531ebdb..6b72459f7d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/brcm,bcm2835-aux-uart.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/brcm,bcm2835-aux-uart.yaml @@ -1,46 +1,46 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/serial/brcm,bcm2835-aux-uart.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: BCM2835 AUXILIARY UART - -maintainers: - - Pratik Farkase - - Florian Fainelli - - Stefan Wahren - -allOf: - - $ref: serial.yaml - -properties: - compatible: - const: brcm,bcm2835-aux-uart - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - maxItems: 1 - -required: - - compatible - - reg - - interrupts - - clocks - -unevaluatedProperties: false - -examples: - - | - #include - serial@7e215040 { - compatible = "brcm,bcm2835-aux-uart"; - reg = <0x7e215040 0x40>; - interrupts = <1 29>; - clocks = <&aux BCM2835_AUX_CLOCK_UART>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/serial/brcm,bcm2835-aux-uart.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: BCM2835 AUXILIARY UART + +maintainers: + - Pratik Farkase + - Florian Fainelli + - Stefan Wahren + +allOf: + - $ref: serial.yaml + +properties: + compatible: + const: brcm,bcm2835-aux-uart + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + - clocks + +unevaluatedProperties: false + +examples: + - | + #include + serial@7e215040 { + compatible = "brcm,bcm2835-aux-uart"; + reg = <0x7e215040 0x40>; + interrupts = <1 29>; + clocks = <&aux BCM2835_AUX_CLOCK_UART>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/brcm,bcm6345-uart.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/brcm,bcm6345-uart.yaml index 51e995dd74..a22285c43f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/brcm,bcm6345-uart.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/brcm,bcm6345-uart.yaml @@ -1,47 +1,47 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/serial/brcm,bcm6345-uart.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: BCM63xx UART - -maintainers: - - Rafał Miłecki - -allOf: - - $ref: serial.yaml# - -properties: - compatible: - const: brcm,bcm6345-uart - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - maxItems: 1 - - clock-names: - const: refclk - -unevaluatedProperties: false - -required: - - reg - - interrupts - - clocks - -examples: - - | - serial@14e00520 { - compatible = "brcm,bcm6345-uart"; - reg = <0x14e00520 0x18>; - interrupt-parent = <&periph_intc>; - interrupts = <2>; - clocks = <&periph_clk>; - clock-names = "refclk"; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/serial/brcm,bcm6345-uart.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: BCM63xx UART + +maintainers: + - Rafał Miłecki + +allOf: + - $ref: serial.yaml# + +properties: + compatible: + const: brcm,bcm6345-uart + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + + clock-names: + const: refclk + +unevaluatedProperties: false + +required: + - reg + - interrupts + - clocks + +examples: + - | + serial@14e00520 { + compatible = "brcm,bcm6345-uart"; + reg = <0x14e00520 0x18>; + interrupt-parent = <&periph_intc>; + interrupts = <2>; + clocks = <&periph_clk>; + clock-names = "refclk"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/cirrus,clps711x-uart.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/cirrus,clps711x-uart.txt index 2513ad696b..07013fa60a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/cirrus,clps711x-uart.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/cirrus,clps711x-uart.txt @@ -1,31 +1,31 @@ -* Cirrus Logic CLPS711X Universal Asynchronous Receiver/Transmitter (UART) - -Required properties: -- compatible: Should be "cirrus,ep7209-uart". -- reg: Address and length of the register set for the device. -- interrupts: Should contain UART TX and RX interrupt. -- clocks: Should contain UART core clock number. -- syscon: Phandle to SYSCON node, which contain UART control bits. - -Optional properties: -- {rts,cts,dtr,dsr,rng,dcd}-gpios: specify a GPIO for RTS/CTS/DTR/DSR/RI/DCD - line respectively. - -Note: Each UART port should have an alias correctly numbered -in "aliases" node. - -Example: - aliases { - serial0 = &uart1; - }; - - uart1: uart@80000480 { - compatible = "cirrus,ep7312-uart","cirrus,ep7209-uart"; - reg = <0x80000480 0x80>; - interrupts = <12 13>; - clocks = <&clks 11>; - syscon = <&syscon1>; - cts-gpios = <&sysgpio 0 GPIO_ACTIVE_LOW>; - dsr-gpios = <&sysgpio 1 GPIO_ACTIVE_LOW>; - dcd-gpios = <&sysgpio 2 GPIO_ACTIVE_LOW>; - }; +* Cirrus Logic CLPS711X Universal Asynchronous Receiver/Transmitter (UART) + +Required properties: +- compatible: Should be "cirrus,ep7209-uart". +- reg: Address and length of the register set for the device. +- interrupts: Should contain UART TX and RX interrupt. +- clocks: Should contain UART core clock number. +- syscon: Phandle to SYSCON node, which contain UART control bits. + +Optional properties: +- {rts,cts,dtr,dsr,rng,dcd}-gpios: specify a GPIO for RTS/CTS/DTR/DSR/RI/DCD + line respectively. + +Note: Each UART port should have an alias correctly numbered +in "aliases" node. + +Example: + aliases { + serial0 = &uart1; + }; + + uart1: uart@80000480 { + compatible = "cirrus,ep7312-uart","cirrus,ep7209-uart"; + reg = <0x80000480 0x80>; + interrupts = <12 13>; + clocks = <&clks 11>; + syscon = <&syscon1>; + cts-gpios = <&sysgpio 0 GPIO_ACTIVE_LOW>; + dsr-gpios = <&sysgpio 1 GPIO_ACTIVE_LOW>; + dcd-gpios = <&sysgpio 2 GPIO_ACTIVE_LOW>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/digicolor-usart.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/digicolor-usart.txt index 4264da1fc4..2d3ede6688 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/digicolor-usart.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/digicolor-usart.txt @@ -1,27 +1,27 @@ -Binding for Conexant Digicolor USART - -Note: this binding is only applicable for using the USART peripheral as -UART. USART also support synchronous serial protocols like SPI and I2S. Use -the binding that matches the wiring of your system. - -Required properties: -- compatible : should be "cnxt,cx92755-usart". -- reg: Should contain USART controller registers location and length. -- interrupts: Should contain a single USART controller interrupt. -- clocks: Must contain phandles to the USART clock - See ../clocks/clock-bindings.txt for details. - -Note: Each UART port should have an alias correctly numbered -in "aliases" node. - -Example: - aliases { - serial0 = &uart0; - }; - - uart0: uart@f0000740 { - compatible = "cnxt,cx92755-usart"; - reg = <0xf0000740 0x20>; - clocks = <&main_clk>; - interrupts = <44>; - }; +Binding for Conexant Digicolor USART + +Note: this binding is only applicable for using the USART peripheral as +UART. USART also support synchronous serial protocols like SPI and I2S. Use +the binding that matches the wiring of your system. + +Required properties: +- compatible : should be "cnxt,cx92755-usart". +- reg: Should contain USART controller registers location and length. +- interrupts: Should contain a single USART controller interrupt. +- clocks: Must contain phandles to the USART clock + See ../clocks/clock-bindings.txt for details. + +Note: Each UART port should have an alias correctly numbered +in "aliases" node. + +Example: + aliases { + serial0 = &uart0; + }; + + uart0: uart@f0000740 { + compatible = "cnxt,cx92755-usart"; + reg = <0xf0000740 0x20>; + clocks = <&main_clk>; + interrupts = <44>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/esp,esp32-acm.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/esp,esp32-acm.yaml index c8c6f74f24..77fbb2c721 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/esp,esp32-acm.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/esp,esp32-acm.yaml @@ -1,42 +1,42 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause - -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/serial/esp,esp32-acm.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: ESP32S3 ACM gadget controller - -maintainers: - - Max Filippov - -description: - Fixed function USB CDC-ACM gadget controller of the Espressif ESP32S3 SoC. - -allOf: - - $ref: serial.yaml# - -properties: - compatible: - const: esp,esp32s3-acm - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - -required: - - compatible - - reg - - interrupts - -additionalProperties: false - -examples: - - | - serial@60038000 { - compatible = "esp,esp32s3-acm"; - reg = <0x60038000 0x1000>; - interrupts = <96 3 0>; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause + +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/serial/esp,esp32-acm.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ESP32S3 ACM gadget controller + +maintainers: + - Max Filippov + +description: + Fixed function USB CDC-ACM gadget controller of the Espressif ESP32S3 SoC. + +allOf: + - $ref: serial.yaml# + +properties: + compatible: + const: esp,esp32s3-acm + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + +additionalProperties: false + +examples: + - | + serial@60038000 { + compatible = "esp,esp32s3-acm"; + reg = <0x60038000 0x1000>; + interrupts = <96 3 0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/esp,esp32-uart.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/esp,esp32-uart.yaml index 45547a29cf..2a80ca997a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/esp,esp32-uart.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/esp,esp32-uart.yaml @@ -1,51 +1,51 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause - -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/serial/esp,esp32-uart.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: ESP32xx UART controllers - -maintainers: - - Max Filippov - -description: - ESP32 UART controller is a part of the ESP32 SoC. - ESP32S3 UART controller is a part of the ESP32S3 SoC. - Both SoCs are produced by Espressif Systems Co. Ltd. - -allOf: - - $ref: serial.yaml# - -properties: - compatible: - enum: - - esp,esp32-uart - - esp,esp32s3-uart - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - maxItems: 1 - -required: - - compatible - - reg - - interrupts - - clocks - -additionalProperties: false - -examples: - - | - serial@60000000 { - compatible = "esp,esp32s3-uart"; - reg = <0x60000000 0x80>; - interrupts = <27 1 0>; - clocks = <&serial_clk>; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause + +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/serial/esp,esp32-uart.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ESP32xx UART controllers + +maintainers: + - Max Filippov + +description: + ESP32 UART controller is a part of the ESP32 SoC. + ESP32S3 UART controller is a part of the ESP32S3 SoC. + Both SoCs are produced by Espressif Systems Co. Ltd. + +allOf: + - $ref: serial.yaml# + +properties: + compatible: + enum: + - esp,esp32-uart + - esp,esp32s3-uart + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + - clocks + +additionalProperties: false + +examples: + - | + serial@60000000 { + compatible = "esp,esp32s3-uart"; + reg = <0x60000000 0x80>; + interrupts = <27 1 0>; + clocks = <&serial_clk>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/lantiq_asc.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/lantiq_asc.txt index 0a0fec24de..40e81a5818 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/lantiq_asc.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/lantiq_asc.txt @@ -1,31 +1,31 @@ -Lantiq SoC ASC serial controller - -Required properties: -- compatible : Should be "lantiq,asc" -- reg : Address and length of the register set for the device -- interrupts: the 3 (tx rx err) interrupt numbers. The interrupt specifier - depends on the interrupt-parent interrupt controller. - -Optional properties: -- clocks: Should contain frequency clock and gate clock -- clock-names: Should be "freq" and "asc" - -Example: - -asc0: serial@16600000 { - compatible = "lantiq,asc"; - reg = <0x16600000 0x100000>; - interrupt-parent = <&gic>; - interrupts = , - , - ; - clocks = <&cgu CLK_SSX4>, <&cgu GCLK_UART>; - clock-names = "freq", "asc"; -}; - -asc1: serial@e100c00 { - compatible = "lantiq,asc"; - reg = <0xE100C00 0x400>; - interrupt-parent = <&icu0>; - interrupts = <112 113 114>; -}; +Lantiq SoC ASC serial controller + +Required properties: +- compatible : Should be "lantiq,asc" +- reg : Address and length of the register set for the device +- interrupts: the 3 (tx rx err) interrupt numbers. The interrupt specifier + depends on the interrupt-parent interrupt controller. + +Optional properties: +- clocks: Should contain frequency clock and gate clock +- clock-names: Should be "freq" and "asc" + +Example: + +asc0: serial@16600000 { + compatible = "lantiq,asc"; + reg = <0x16600000 0x100000>; + interrupt-parent = <&gic>; + interrupts = , + , + ; + clocks = <&cgu CLK_SSX4>, <&cgu GCLK_UART>; + clock-names = "freq", "asc"; +}; + +asc1: serial@e100c00 { + compatible = "lantiq,asc"; + reg = <0xE100C00 0x400>; + interrupt-parent = <&icu0>; + interrupts = <112 113 114>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/litex,liteuart.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/litex,liteuart.yaml index 0ea936c8c3..c4f1f489dc 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/litex,liteuart.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/litex,liteuart.yaml @@ -1,40 +1,40 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause - -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/serial/litex,liteuart.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: LiteUART serial controller - -maintainers: - - Karol Gugala - - Mateusz Holenko - -description: | - LiteUART serial controller is a part of the LiteX FPGA SoC builder. It supports - multiple CPU architectures, currently including e.g. OpenRISC and RISC-V. - -properties: - compatible: - const: litex,liteuart - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - uart0: serial@e0001800 { - compatible = "litex,liteuart"; - reg = <0xe0001800 0x100>; - interrupts = <2>; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause + +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/serial/litex,liteuart.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: LiteUART serial controller + +maintainers: + - Karol Gugala + - Mateusz Holenko + +description: | + LiteUART serial controller is a part of the LiteX FPGA SoC builder. It supports + multiple CPU architectures, currently including e.g. OpenRISC and RISC-V. + +properties: + compatible: + const: litex,liteuart + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + uart0: serial@e0001800 { + compatible = "litex,liteuart"; + reg = <0xe0001800 0x100>; + interrupts = <2>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/nuvoton,ma35d1-serial.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/nuvoton,ma35d1-serial.yaml index 9214f0dd28..a76af0f600 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/nuvoton,ma35d1-serial.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/nuvoton,ma35d1-serial.yaml @@ -1,48 +1,48 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/serial/nuvoton,ma35d1-serial.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Nuvoton MA35D1 Universal Asynchronous Receiver/Transmitter (UART) - -maintainers: - - Min-Jen Chen - - Jacky Huang - -allOf: - - $ref: serial.yaml - -properties: - compatible: - const: nuvoton,ma35d1-uart - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - maxItems: 1 - -required: - - compatible - - reg - - interrupts - - clocks - -unevaluatedProperties: false - -examples: - - | - #include - #include - - serial@40700000 { - compatible = "nuvoton,ma35d1-uart"; - reg = <0x40700000 0x100>; - interrupts = ; - clocks = <&clk UART0_GATE>; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/serial/nuvoton,ma35d1-serial.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Nuvoton MA35D1 Universal Asynchronous Receiver/Transmitter (UART) + +maintainers: + - Min-Jen Chen + - Jacky Huang + +allOf: + - $ref: serial.yaml + +properties: + compatible: + const: nuvoton,ma35d1-uart + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + - clocks + +unevaluatedProperties: false + +examples: + - | + #include + #include + + serial@40700000 { + compatible = "nuvoton,ma35d1-uart"; + reg = <0x40700000 0x100>; + interrupts = ; + clocks = <&clk UART0_GATE>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/qca,ar9330-uart.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/qca,ar9330-uart.yaml index 9eedd41414..a644e5af12 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/qca,ar9330-uart.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/qca,ar9330-uart.yaml @@ -1,50 +1,50 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/serial/qca,ar9330-uart.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm Atheros AR9330 High-Speed UART - -maintainers: - - Oleksij Rempel - -allOf: - - $ref: serial.yaml# - -properties: - compatible: - const: qca,ar9330-uart - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - maxItems: 1 - - clock-names: - const: uart - -required: - - compatible - - reg - - interrupts - - clocks - - clock-names - -unevaluatedProperties: false - -examples: - - | - serial@18020000 { - compatible = "qca,ar9330-uart"; - reg = <0x18020000 0x14>; - clocks = <&ref>; - clock-names = "uart"; - interrupt-parent = <&intc>; - interrupts = <3>; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/serial/qca,ar9330-uart.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Atheros AR9330 High-Speed UART + +maintainers: + - Oleksij Rempel + +allOf: + - $ref: serial.yaml# + +properties: + compatible: + const: qca,ar9330-uart + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + + clock-names: + const: uart + +required: + - compatible + - reg + - interrupts + - clocks + - clock-names + +unevaluatedProperties: false + +examples: + - | + serial@18020000 { + compatible = "qca,ar9330-uart"; + reg = <0x18020000 0x14>; + clocks = <&ref>; + clock-names = "uart"; + interrupt-parent = <&intc>; + interrupts = <3>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/rda,8810pl-uart.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/rda,8810pl-uart.yaml index 4c72a46078..5f4ed82212 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/rda,8810pl-uart.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/rda,8810pl-uart.yaml @@ -1,46 +1,46 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/serial/rda,8810pl-uart.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: RDA Micro UART Interface - -maintainers: - - Manivannan Sadhasivam - -allOf: - - $ref: serial.yaml# - -properties: - compatible: - const: rda,8810pl-uart - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - maxItems: 1 - -required: - - compatible - - reg - - interrupts - - clocks - -unevaluatedProperties: false - -examples: - - | - #include - - uart3: serial@20a90000 { - compatible = "rda,8810pl-uart"; - reg = <0x20a90000 0x1000>; - interrupts = <11 IRQ_TYPE_LEVEL_HIGH>; - clocks = <&uart_clk>; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/serial/rda,8810pl-uart.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: RDA Micro UART Interface + +maintainers: + - Manivannan Sadhasivam + +allOf: + - $ref: serial.yaml# + +properties: + compatible: + const: rda,8810pl-uart + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + - clocks + +unevaluatedProperties: false + +examples: + - | + #include + + uart3: serial@20a90000 { + compatible = "rda,8810pl-uart"; + reg = <0x20a90000 0x1000>; + interrupts = <11 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&uart_clk>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/socionext,uniphier-uart.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/socionext,uniphier-uart.yaml index 67dd7e97c5..3d01cc3557 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/socionext,uniphier-uart.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/socionext,uniphier-uart.yaml @@ -1,51 +1,51 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/serial/socionext,uniphier-uart.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: UniPhier UART controller - -maintainers: - - Masahiro Yamada - -properties: - compatible: - const: socionext,uniphier-uart - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - maxItems: 1 - - resets: - maxItems: 1 - - auto-flow-control: - description: enable automatic flow control support. - $ref: /schemas/types.yaml#/definitions/flag - -required: - - compatible - - reg - - interrupts - - clocks - -additionalProperties: false - -examples: - - | - aliases { - serial0 = &serial0; - }; - - serial0: serial@54006800 { - compatible = "socionext,uniphier-uart"; - reg = <0x54006800 0x40>; - interrupts = <0 33 4>; - clocks = <&uart_clk>; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/serial/socionext,uniphier-uart.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: UniPhier UART controller + +maintainers: + - Masahiro Yamada + +properties: + compatible: + const: socionext,uniphier-uart + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + + resets: + maxItems: 1 + + auto-flow-control: + description: enable automatic flow control support. + $ref: /schemas/types.yaml#/definitions/flag + +required: + - compatible + - reg + - interrupts + - clocks + +additionalProperties: false + +examples: + - | + aliases { + serial0 = &serial0; + }; + + serial0: serial@54006800 { + compatible = "socionext,uniphier-uart"; + reg = <0x54006800 0x40>; + interrupts = <0 33 4>; + clocks = <&uart_clk>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/via,vt8500-uart.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/via,vt8500-uart.yaml index 0a10c5caac..9c6819241a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/via,vt8500-uart.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/via,vt8500-uart.yaml @@ -1,46 +1,46 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) - -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/serial/via,vt8500-uart.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: VIA VT8500 and WonderMedia WM8xxx UART Controller - -maintainers: - - Alexey Charkov - -allOf: - - $ref: serial.yaml - -properties: - compatible: - enum: - - via,vt8500-uart # up to WM8850/WM8950 - - wm,wm8880-uart # for WM8880 and later - - clocks: - maxItems: 1 - - interrupts: - maxItems: 1 - - reg: - maxItems: 1 - -required: - - compatible - - clocks - - interrupts - - reg - -unevaluatedProperties: false - -examples: - - | - serial@d8200000 { - compatible = "via,vt8500-uart"; - reg = <0xd8200000 0x1040>; - interrupts = <32>; - clocks = <&clkuart0>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) + +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/serial/via,vt8500-uart.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: VIA VT8500 and WonderMedia WM8xxx UART Controller + +maintainers: + - Alexey Charkov + +allOf: + - $ref: serial.yaml + +properties: + compatible: + enum: + - via,vt8500-uart # up to WM8850/WM8950 + - wm,wm8880-uart # for WM8880 and later + + clocks: + maxItems: 1 + + interrupts: + maxItems: 1 + + reg: + maxItems: 1 + +required: + - compatible + - clocks + - interrupts + - reg + +unevaluatedProperties: false + +examples: + - | + serial@d8200000 { + compatible = "via,vt8500-uart"; + reg = <0xd8200000 0x1040>; + interrupts = <32>; + clocks = <&clkuart0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/amlogic/amlogic,meson-gx-clk-measure.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/amlogic/amlogic,meson-gx-clk-measure.yaml index 2a2dd13c00..77c2811530 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/amlogic/amlogic,meson-gx-clk-measure.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/amlogic/amlogic,meson-gx-clk-measure.yaml @@ -1,40 +1,40 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/soc/amlogic/amlogic,meson-gx-clk-measure.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Amlogic Internal Clock Measurer - -description: - The Amlogic SoCs contains an IP to measure the internal clocks. - The precision is multiple of MHz, useful to debug the clock states. - -maintainers: - - Neil Armstrong - -properties: - compatible: - enum: - - amlogic,meson-gx-clk-measure - - amlogic,meson8-clk-measure - - amlogic,meson8b-clk-measure - - amlogic,meson-axg-clk-measure - - amlogic,meson-g12a-clk-measure - - amlogic,meson-sm1-clk-measure - - reg: - maxItems: 1 - -required: - - compatible - - reg - -unevaluatedProperties: false - -examples: - - | - clock-measure@8758 { - compatible = "amlogic,meson-gx-clk-measure"; - reg = <0x8758 0x10>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/amlogic/amlogic,meson-gx-clk-measure.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Amlogic Internal Clock Measurer + +description: + The Amlogic SoCs contains an IP to measure the internal clocks. + The precision is multiple of MHz, useful to debug the clock states. + +maintainers: + - Neil Armstrong + +properties: + compatible: + enum: + - amlogic,meson-gx-clk-measure + - amlogic,meson8-clk-measure + - amlogic,meson8b-clk-measure + - amlogic,meson-axg-clk-measure + - amlogic,meson-g12a-clk-measure + - amlogic,meson-sm1-clk-measure + + reg: + maxItems: 1 + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + clock-measure@8758 { + compatible = "amlogic,meson-gx-clk-measure"; + reg = <0x8758 0x10>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/bcm/brcm,bcm23550-cdc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/bcm/brcm,bcm23550-cdc.yaml index 63e7a0aba4..1a952f5698 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/bcm/brcm,bcm23550-cdc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/bcm/brcm,bcm23550-cdc.yaml @@ -1,35 +1,35 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/soc/bcm/brcm,bcm23550-cdc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Broadcom BCM23550 Cluster Dormant Control - -description: - The Cluster Dormant Control block keeps the CPU in idle state. A command - needs to be sent to this block to bring the CPU into running state. - -maintainers: - - Florian Fainelli - -properties: - compatible: - const: brcm,bcm23550-cdc - - reg: - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - cdc@3fe0e000 { - compatible = "brcm,bcm23550-cdc"; - reg = <0x3fe0e000 0x78>; - }; -... +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/bcm/brcm,bcm23550-cdc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom BCM23550 Cluster Dormant Control + +description: + The Cluster Dormant Control block keeps the CPU in idle state. A command + needs to be sent to this block to bring the CPU into running state. + +maintainers: + - Florian Fainelli + +properties: + compatible: + const: brcm,bcm23550-cdc + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + cdc@3fe0e000 { + compatible = "brcm,bcm23550-cdc"; + reg = <0x3fe0e000 0x78>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/bcm/brcm,bcm2711-avs-monitor.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/bcm/brcm,bcm2711-avs-monitor.yaml index a490a12177..e02d9d7e7d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/bcm/brcm,bcm2711-avs-monitor.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/bcm/brcm,bcm2711-avs-monitor.yaml @@ -1,44 +1,44 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/soc/bcm/brcm,bcm2711-avs-monitor.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Broadcom AVS Monitor - -maintainers: - - Stefan Wahren - -properties: - compatible: - items: - - const: brcm,bcm2711-avs-monitor - - const: syscon - - const: simple-mfd - - reg: - maxItems: 1 - - thermal: - $ref: /schemas/thermal/brcm,avs-ro-thermal.yaml - description: Broadcom AVS ring oscillator thermal - -required: - - compatible - - reg - - thermal - -additionalProperties: false - -examples: - - | - avs-monitor@7d5d2000 { - compatible = "brcm,bcm2711-avs-monitor", "syscon", "simple-mfd"; - reg = <0x7d5d2000 0xf00>; - - thermal: thermal { - compatible = "brcm,bcm2711-thermal"; - #thermal-sensor-cells = <0>; - }; - }; -... +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/bcm/brcm,bcm2711-avs-monitor.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom AVS Monitor + +maintainers: + - Stefan Wahren + +properties: + compatible: + items: + - const: brcm,bcm2711-avs-monitor + - const: syscon + - const: simple-mfd + + reg: + maxItems: 1 + + thermal: + $ref: /schemas/thermal/brcm,avs-ro-thermal.yaml + description: Broadcom AVS ring oscillator thermal + +required: + - compatible + - reg + - thermal + +additionalProperties: false + +examples: + - | + avs-monitor@7d5d2000 { + compatible = "brcm,bcm2711-avs-monitor", "syscon", "simple-mfd"; + reg = <0x7d5d2000 0xf00>; + + thermal: thermal { + compatible = "brcm,bcm2711-thermal"; + #thermal-sensor-cells = <0>; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/fsl/cpm_qe/fsl,qe-ic.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/fsl/cpm_qe/fsl,qe-ic.yaml index 23c1678dea..8267ad0072 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/fsl/cpm_qe/fsl,qe-ic.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/fsl/cpm_qe/fsl,qe-ic.yaml @@ -1,47 +1,47 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/soc/fsl/cpm_qe/fsl,qe-ic.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Freescale QUICC Engine module Interrupt Controller (IC) - -maintainers: - - Frank Li - -properties: - compatible: - const: fsl,qe-ic - - reg: - maxItems: 1 - - interrupts: - items: - - description: QE interrupt - - description: QE critical - - description: QE error - minItems: 1 - - interrupt-controller: true - - "#interrupt-cells": - const: 1 - -required: - - compatible - - reg - - interrupt-controller - - "#interrupt-cells" - -additionalProperties: false - -examples: - - | - interrupt-controller@80 { - compatible = "fsl,qe-ic"; - reg = <0x80 0x80>; - #interrupt-cells = <1>; - interrupt-controller; - interrupts = <95 2 0 0 94 2 0 0>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/fsl/cpm_qe/fsl,qe-ic.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Freescale QUICC Engine module Interrupt Controller (IC) + +maintainers: + - Frank Li + +properties: + compatible: + const: fsl,qe-ic + + reg: + maxItems: 1 + + interrupts: + items: + - description: QE interrupt + - description: QE critical + - description: QE error + minItems: 1 + + interrupt-controller: true + + "#interrupt-cells": + const: 1 + +required: + - compatible + - reg + - interrupt-controller + - "#interrupt-cells" + +additionalProperties: false + +examples: + - | + interrupt-controller@80 { + compatible = "fsl,qe-ic"; + reg = <0x80 0x80>; + #interrupt-cells = <1>; + interrupt-controller; + interrupts = <95 2 0 0 94 2 0 0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/fsl/cpm_qe/fsl,qe-si.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/fsl/cpm_qe/fsl,qe-si.yaml index 633f19ee0d..8e58ab58c0 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/fsl/cpm_qe/fsl,qe-si.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/fsl/cpm_qe/fsl,qe-si.yaml @@ -1,40 +1,40 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/soc/fsl/cpm_qe/fsl,qe-si.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Freescale QUICC Engine module Serial Interface Block (SI) - -maintainers: - - Frank Li - -description: - The SI manages the routing of eight TDM lines to the QE block serial drivers, - the MCC and the UCCs, for receive and transmit. - -properties: - compatible: - oneOf: - - items: - - enum: - - fsl,ls1043-qe-si - - const: fsl,t1040-qe-si - - enum: - - fsl,t1040-qe-si - - reg: - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - si@700 { - compatible = "fsl,t1040-qe-si"; - reg = <0x700 0x80>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/fsl/cpm_qe/fsl,qe-si.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Freescale QUICC Engine module Serial Interface Block (SI) + +maintainers: + - Frank Li + +description: + The SI manages the routing of eight TDM lines to the QE block serial drivers, + the MCC and the UCCs, for receive and transmit. + +properties: + compatible: + oneOf: + - items: + - enum: + - fsl,ls1043-qe-si + - const: fsl,t1040-qe-si + - enum: + - fsl,t1040-qe-si + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + si@700 { + compatible = "fsl,t1040-qe-si"; + reg = <0x700 0x80>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/fsl/cpm_qe/fsl,qe-siram.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/fsl/cpm_qe/fsl,qe-siram.yaml index 2b18642553..cc4ed48d78 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/fsl/cpm_qe/fsl,qe-siram.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/fsl/cpm_qe/fsl,qe-siram.yaml @@ -1,39 +1,39 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/soc/fsl/cpm_qe/fsl,qe-siram.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Freescale QUICC Engine module Serial Interface Block RAM(SIRAM) - -maintainers: - - Frank Li - -description: - store the routing entries of SI - -properties: - compatible: - oneOf: - - items: - - enum: - - fsl,ls1043-qe-siram - - const: fsl,t1040-qe-siram - - const: fsl,t1040-qe-siram - - reg: - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - siram@1000 { - compatible = "fsl,t1040-qe-siram"; - reg = <0x1000 0x800>; - }; - +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/fsl/cpm_qe/fsl,qe-siram.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Freescale QUICC Engine module Serial Interface Block RAM(SIRAM) + +maintainers: + - Frank Li + +description: + store the routing entries of SI + +properties: + compatible: + oneOf: + - items: + - enum: + - fsl,ls1043-qe-siram + - const: fsl,t1040-qe-siram + - const: fsl,t1040-qe-siram + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + siram@1000 { + compatible = "fsl,t1040-qe-siram"; + reg = <0x1000 0x800>; + }; + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/fsl/cpm_qe/serial.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/fsl/cpm_qe/serial.txt index d71289c2de..2ea76d9d13 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/fsl/cpm_qe/serial.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/fsl/cpm_qe/serial.txt @@ -1,32 +1,32 @@ -* Serial - -Currently defined compatibles: -- fsl,cpm1-smc-uart -- fsl,cpm2-smc-uart -- fsl,cpm1-scc-uart -- fsl,cpm2-scc-uart -- fsl,qe-uart - -Modem control lines connected to GPIO controllers are listed in the gpios -property as described in booting-without-of.txt, section IX.1 in the following -order: - -CTS, RTS, DCD, DSR, DTR, and RI. - -The gpios property is optional and can be left out when control lines are -not used. - -Example: - - serial@11a00 { - device_type = "serial"; - compatible = "fsl,mpc8272-scc-uart", - "fsl,cpm2-scc-uart"; - reg = <11a00 20 8000 100>; - interrupts = <28 8>; - interrupt-parent = <&PIC>; - fsl,cpm-brg = <1>; - fsl,cpm-command = <00800000>; - gpios = <&gpio_c 15 0 - &gpio_d 29 0>; - }; +* Serial + +Currently defined compatibles: +- fsl,cpm1-smc-uart +- fsl,cpm2-smc-uart +- fsl,cpm1-scc-uart +- fsl,cpm2-scc-uart +- fsl,qe-uart + +Modem control lines connected to GPIO controllers are listed in the gpios +property as described in booting-without-of.txt, section IX.1 in the following +order: + +CTS, RTS, DCD, DSR, DTR, and RI. + +The gpios property is optional and can be left out when control lines are +not used. + +Example: + + serial@11a00 { + device_type = "serial"; + compatible = "fsl,mpc8272-scc-uart", + "fsl,cpm2-scc-uart"; + reg = <11a00 20 8000 100>; + interrupts = <28 8>; + interrupt-parent = <&PIC>; + fsl,cpm-brg = <1>; + fsl,cpm-command = <00800000>; + gpios = <&gpio_c 15 0 + &gpio_d 29 0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/imx/fsl,aips-bus.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/imx/fsl,aips-bus.yaml index 201ae17f61..80d99861fe 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/imx/fsl,aips-bus.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/imx/fsl,aips-bus.yaml @@ -1,49 +1,49 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/soc/imx/fsl,aips-bus.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: i.MX AHB to IP Bridge - -maintainers: - - Peng Fan - -description: | - This particular peripheral is designed as the bridge between - AHB bus and peripherals with the lower bandwidth IP Slave (IPS) - buses. - -select: - properties: - compatible: - contains: - const: fsl,aips-bus - required: - - compatible - -properties: - compatible: - items: - - const: fsl,aips-bus - - const: simple-bus - - reg: - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: true - -examples: - - | - bus@30000000 { - compatible = "fsl,aips-bus", "simple-bus"; - reg = <0x30000000 0x400000>; - #address-cells = <1>; - #size-cells = <1>; - ranges; - }; -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/imx/fsl,aips-bus.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: i.MX AHB to IP Bridge + +maintainers: + - Peng Fan + +description: | + This particular peripheral is designed as the bridge between + AHB bus and peripherals with the lower bandwidth IP Slave (IPS) + buses. + +select: + properties: + compatible: + contains: + const: fsl,aips-bus + required: + - compatible + +properties: + compatible: + items: + - const: fsl,aips-bus + - const: simple-bus + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: true + +examples: + - | + bus@30000000 { + compatible = "fsl,aips-bus", "simple-bus"; + reg = <0x30000000 0x400000>; + #address-cells = <1>; + #size-cells = <1>; + ranges; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/litex/litex,soc-controller.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/litex/litex,soc-controller.yaml index 2937466dbb..a64406ca17 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/litex/litex,soc-controller.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/litex/litex,soc-controller.yaml @@ -1,40 +1,40 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -# Copyright 2020 Antmicro -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/soc/litex/litex,soc-controller.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: LiteX SoC Controller driver - -description: | - This is the SoC Controller driver for the LiteX SoC Builder. - Its purpose is to verify LiteX CSR (Control&Status Register) access - operations and provide functions for other drivers to read/write CSRs - and to check if those accessors are ready to be used. - -maintainers: - - Karol Gugala - - Mateusz Holenko - -properties: - compatible: - const: litex,soc-controller - - reg: - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - soc_ctrl0: soc-controller@f0000000 { - compatible = "litex,soc-controller"; - reg = <0xf0000000 0xc>; - }; - -... +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +# Copyright 2020 Antmicro +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/litex/litex,soc-controller.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: LiteX SoC Controller driver + +description: | + This is the SoC Controller driver for the LiteX SoC Builder. + Its purpose is to verify LiteX CSR (Control&Status Register) access + operations and provide functions for other drivers to read/write CSRs + and to check if those accessors are ready to be used. + +maintainers: + - Karol Gugala + - Mateusz Holenko + +properties: + compatible: + const: litex,soc-controller + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + soc_ctrl0: soc-controller@f0000000 { + compatible = "litex,soc-controller"; + reg = <0xf0000000 0xc>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/nuvoton/nuvoton,gfxi.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/nuvoton/nuvoton,gfxi.yaml index e826d7a39e..0222a43977 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/nuvoton/nuvoton,gfxi.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/nuvoton/nuvoton,gfxi.yaml @@ -1,39 +1,39 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/soc/nuvoton/nuvoton,gfxi.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Graphics Core Information block in Nuvoton SoCs - -maintainers: - - Joseph Liu - - Marvin Lin - -description: - The Graphics Core Information (GFXI) are a block of registers in Nuvoton SoCs - that analyzes Graphics core behavior and provides information in registers. - -properties: - compatible: - items: - - enum: - - nuvoton,npcm750-gfxi - - nuvoton,npcm845-gfxi - - const: syscon - - reg: - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - gfxi: gfxi@e000 { - compatible = "nuvoton,npcm750-gfxi", "syscon"; - reg = <0xe000 0x100>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/nuvoton/nuvoton,gfxi.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Graphics Core Information block in Nuvoton SoCs + +maintainers: + - Joseph Liu + - Marvin Lin + +description: + The Graphics Core Information (GFXI) are a block of registers in Nuvoton SoCs + that analyzes Graphics core behavior and provides information in registers. + +properties: + compatible: + items: + - enum: + - nuvoton,npcm750-gfxi + - nuvoton,npcm845-gfxi + - const: syscon + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + gfxi: gfxi@e000 { + compatible = "nuvoton,npcm750-gfxi", "syscon"; + reg = <0xe000 0x100>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/qcom/qcom,msm8976-ramp-controller.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/qcom/qcom,msm8976-ramp-controller.yaml index 10b0d20a43..aae9cf7b8c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/qcom/qcom,msm8976-ramp-controller.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/qcom/qcom,msm8976-ramp-controller.yaml @@ -1,36 +1,36 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/soc/qcom/qcom,msm8976-ramp-controller.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm Ramp Controller - -maintainers: - - AngeloGioacchino Del Regno - -description: - The Ramp Controller is used to program the sequence ID for pulse - swallowing, enable sequences and link Sequence IDs (SIDs) for the - CPU cores on some Qualcomm SoCs. - -properties: - compatible: - enum: - - qcom,msm8976-ramp-controller - - reg: - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - cpu-power-controller@b014000 { - compatible = "qcom,msm8976-ramp-controller"; - reg = <0x0b014000 0x68>; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/qcom/qcom,msm8976-ramp-controller.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Ramp Controller + +maintainers: + - AngeloGioacchino Del Regno + +description: + The Ramp Controller is used to program the sequence ID for pulse + swallowing, enable sequences and link Sequence IDs (SIDs) for the + CPU cores on some Qualcomm SoCs. + +properties: + compatible: + enum: + - qcom,msm8976-ramp-controller + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + cpu-power-controller@b014000 { + compatible = "qcom,msm8976-ramp-controller"; + reg = <0x0b014000 0x68>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/qcom/qcom,pbs.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/qcom/qcom,pbs.yaml index 07a797fda3..b502ca7226 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/qcom/qcom,pbs.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/qcom/qcom,pbs.yaml @@ -1,46 +1,46 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/soc/qcom/qcom,pbs.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm Technologies, Inc. Programmable Boot Sequencer - -maintainers: - - Anjelique Melendez - -description: | - The Qualcomm Technologies, Inc. Programmable Boot Sequencer (PBS) - supports triggering power up and power down sequences for clients - upon request. - -properties: - compatible: - items: - - enum: - - qcom,pmi632-pbs - - const: qcom,pbs - - reg: - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - #include - - pmic@0 { - reg = <0x0 SPMI_USID>; - #address-cells = <1>; - #size-cells = <0>; - - pbs@7400 { - compatible = "qcom,pmi632-pbs", "qcom,pbs"; - reg = <0x7400>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/qcom/qcom,pbs.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Technologies, Inc. Programmable Boot Sequencer + +maintainers: + - Anjelique Melendez + +description: | + The Qualcomm Technologies, Inc. Programmable Boot Sequencer (PBS) + supports triggering power up and power down sequences for clients + upon request. + +properties: + compatible: + items: + - enum: + - qcom,pmi632-pbs + - const: qcom,pbs + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + #include + + pmic@0 { + reg = <0x0 SPMI_USID>; + #address-cells = <1>; + #size-cells = <0>; + + pbs@7400 { + compatible = "qcom,pmi632-pbs", "qcom,pbs"; + reg = <0x7400>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/tegra/nvidia,tegra20-ahb.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/tegra/nvidia,tegra20-ahb.yaml index 21edfa4d29..2f7269a26b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/tegra/nvidia,tegra20-ahb.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/tegra/nvidia,tegra20-ahb.yaml @@ -1,40 +1,40 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/soc/tegra/nvidia,tegra20-ahb.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -maintainers: - - Thierry Reding - - Jon Hunter - -title: NVIDIA Tegra AHB - -properties: - compatible: - oneOf: - - enum: - - nvidia,tegra20-ahb - - nvidia,tegra30-ahb - - items: - - enum: - - nvidia,tegra114-ahb - - nvidia,tegra124-ahb - - nvidia,tegra210-ahb - - const: nvidia,tegra30-ahb - - reg: - maxItems: 1 - -additionalProperties: false - -required: - - compatible - - reg - -examples: - - | - ahb@6000c004 { - compatible = "nvidia,tegra20-ahb"; - reg = <0x6000c004 0x10c>; /* AHB Arbitration + Gizmo Controller */ - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/tegra/nvidia,tegra20-ahb.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +maintainers: + - Thierry Reding + - Jon Hunter + +title: NVIDIA Tegra AHB + +properties: + compatible: + oneOf: + - enum: + - nvidia,tegra20-ahb + - nvidia,tegra30-ahb + - items: + - enum: + - nvidia,tegra114-ahb + - nvidia,tegra124-ahb + - nvidia,tegra210-ahb + - const: nvidia,tegra30-ahb + + reg: + maxItems: 1 + +additionalProperties: false + +required: + - compatible + - reg + +examples: + - | + ahb@6000c004 { + compatible = "nvidia,tegra20-ahb"; + reg = <0x6000c004 0x10c>; /* AHB Arbitration + Gizmo Controller */ + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/tegra/nvidia,tegra20-flowctrl.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/tegra/nvidia,tegra20-flowctrl.yaml index c6dabf5ef0..705544b7f9 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/tegra/nvidia,tegra20-flowctrl.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/tegra/nvidia,tegra20-flowctrl.yaml @@ -1,41 +1,41 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/soc/tegra/nvidia,tegra20-flowctrl.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: NVIDIA Tegra Flow Controller - -maintainers: - - Thierry Reding - - Jon Hunter - -properties: - compatible: - oneOf: - - enum: - - nvidia,tegra20-flowctrl - - nvidia,tegra30-flowctrl - - nvidia,tegra114-flowctrl - - nvidia,tegra124-flowctrl - - nvidia,tegra210-flowctrl - - - items: - - const: nvidia,tegra132-flowctrl - - const: nvidia,tegra124-flowctrl - - reg: - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - flow-controller@60007000 { - compatible = "nvidia,tegra20-flowctrl"; - reg = <0x60007000 0x1000>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/tegra/nvidia,tegra20-flowctrl.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NVIDIA Tegra Flow Controller + +maintainers: + - Thierry Reding + - Jon Hunter + +properties: + compatible: + oneOf: + - enum: + - nvidia,tegra20-flowctrl + - nvidia,tegra30-flowctrl + - nvidia,tegra114-flowctrl + - nvidia,tegra124-flowctrl + - nvidia,tegra210-flowctrl + + - items: + - const: nvidia,tegra132-flowctrl + - const: nvidia,tegra124-flowctrl + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + flow-controller@60007000 { + compatible = "nvidia,tegra20-flowctrl"; + reg = <0x60007000 0x1000>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/ti/ti,am654-serdes-ctrl.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/ti/ti,am654-serdes-ctrl.yaml index a58fd8f71f..94b36943a5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/ti/ti,am654-serdes-ctrl.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/ti/ti,am654-serdes-ctrl.yaml @@ -1,43 +1,43 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/soc/ti/ti,am654-serdes-ctrl.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Texas Instruments AM654 Serdes Control Syscon - -maintainers: - - Nishanth Menon - -properties: - compatible: - items: - - const: ti,am654-serdes-ctrl - - const: syscon - - const: simple-mfd - - reg: - maxItems: 1 - - mux-controller: - $ref: /schemas/mux/reg-mux.yaml# - -required: - - compatible - - reg - - mux-controller - -additionalProperties: false - -examples: - - | - clock@4080 { - compatible = "ti,am654-serdes-ctrl", "syscon", "simple-mfd"; - reg = <0x4080 0x4>; - - mux-controller { - compatible = "mmio-mux"; - #mux-control-cells = <1>; - mux-reg-masks = <0x0 0x3>; /* lane select */ - }; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/ti/ti,am654-serdes-ctrl.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Texas Instruments AM654 Serdes Control Syscon + +maintainers: + - Nishanth Menon + +properties: + compatible: + items: + - const: ti,am654-serdes-ctrl + - const: syscon + - const: simple-mfd + + reg: + maxItems: 1 + + mux-controller: + $ref: /schemas/mux/reg-mux.yaml# + +required: + - compatible + - reg + - mux-controller + +additionalProperties: false + +examples: + - | + clock@4080 { + compatible = "ti,am654-serdes-ctrl", "syscon", "simple-mfd"; + reg = <0x4080 0x4>; + + mux-controller { + compatible = "mmio-mux"; + #mux-control-cells = <1>; + mux-reg-masks = <0x0 0x3>; /* lane select */ + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/xilinx/xlnx,vcu-settings.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/xilinx/xlnx,vcu-settings.yaml index 3f25fb57a9..cb245f4002 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/xilinx/xlnx,vcu-settings.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/xilinx/xlnx,vcu-settings.yaml @@ -1,43 +1,43 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/soc/xilinx/xlnx,vcu-settings.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Xilinx VCU Settings - -maintainers: - - Michael Tretter - -description: | - The Xilinx VCU Settings provides information about the configuration of the - video codec unit. - -properties: - compatible: - items: - - const: xlnx,vcu-settings - - const: syscon - - reg: - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - fpga { - #address-cells = <2>; - #size-cells = <2>; - - xlnx_vcu: vcu@a0041000 { - compatible = "xlnx,vcu-settings", "syscon"; - reg = <0x0 0xa0041000 0x0 0x1000>; - }; - }; - -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/xilinx/xlnx,vcu-settings.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Xilinx VCU Settings + +maintainers: + - Michael Tretter + +description: | + The Xilinx VCU Settings provides information about the configuration of the + video codec unit. + +properties: + compatible: + items: + - const: xlnx,vcu-settings + - const: syscon + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + fpga { + #address-cells = <2>; + #size-cells = <2>; + + xlnx_vcu: vcu@a0041000 { + compatible = "xlnx,vcu-settings", "syscon"; + reg = <0x0 0xa0041000 0x0 0x1000>; + }; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/xilinx/xlnx,vcu.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/xilinx/xlnx,vcu.txt index b0d2827f56..2417b13ba4 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/xilinx/xlnx,vcu.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/xilinx/xlnx,vcu.txt @@ -1,26 +1,26 @@ -LogicoreIP designed compatible with Xilinx ZYNQ family. -------------------------------------------------------- - -General concept ---------------- - -LogicoreIP design to provide the isolation between processing system -and programmable logic. Also provides the list of register set to configure -the frequency. - -Required properties: -- compatible: shall be one of: - "xlnx,vcu" - "xlnx,vcu-logicoreip-1.0" -- reg : The base offset and size of the VCU_PL_SLCR register space. -- clocks: phandle for aclk and pll_ref clocksource -- clock-names: The identification string, "aclk", is always required for - the axi clock. "pll_ref" is required for pll. -Example: - - xlnx_vcu: vcu@a0040000 { - compatible = "xlnx,vcu-logicoreip-1.0"; - reg = <0x0 0xa0040000 0x0 0x1000>; - clocks = <&si570_1>, <&clkc 71>; - clock-names = "pll_ref", "aclk"; - }; +LogicoreIP designed compatible with Xilinx ZYNQ family. +------------------------------------------------------- + +General concept +--------------- + +LogicoreIP design to provide the isolation between processing system +and programmable logic. Also provides the list of register set to configure +the frequency. + +Required properties: +- compatible: shall be one of: + "xlnx,vcu" + "xlnx,vcu-logicoreip-1.0" +- reg : The base offset and size of the VCU_PL_SLCR register space. +- clocks: phandle for aclk and pll_ref clocksource +- clock-names: The identification string, "aclk", is always required for + the axi clock. "pll_ref" is required for pll. +Example: + + xlnx_vcu: vcu@a0040000 { + compatible = "xlnx,vcu-logicoreip-1.0"; + reg = <0x0 0xa0040000 0x0 0x1000>; + clocks = <&si570_1>, <&clkc 71>; + clock-names = "pll_ref", "aclk"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/ac97-bus.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/ac97-bus.txt index 876e63f282..103c428f25 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/ac97-bus.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/ac97-bus.txt @@ -1,32 +1,32 @@ -Generic AC97 Device Properties - -This documents describes the devicetree bindings for an ac97 controller child -node describing ac97 codecs. - -Required properties: --compatible : Must be "ac97,vendor_id1,vendor_id2 - The ids shall be the 4 characters hexadecimal encoding, such as - given by "%04x" formatting of printf --reg : Must be the ac97 codec number, between 0 and 3 - -Example: -ac97: sound@40500000 { - compatible = "marvell,pxa270-ac97"; - reg = < 0x40500000 0x1000 >; - interrupts = <14>; - reset-gpios = <&gpio 95 GPIO_ACTIVE_HIGH>; - #sound-dai-cells = <1>; - pinctrl-names = "default"; - pinctrl-0 = < &pinctrl_ac97_default >; - clocks = <&clks CLK_AC97>, <&clks CLK_AC97CONF>; - clock-names = "AC97CLK", "AC97CONFCLK"; - - #address-cells = <1>; - #size-cells = <0>; - audio-codec@0 { - reg = <0>; - compatible = "ac97,574d,4c13"; - clocks = <&fixed_wm9713_clock>; - clock-names = "ac97_clk"; - } -}; +Generic AC97 Device Properties + +This documents describes the devicetree bindings for an ac97 controller child +node describing ac97 codecs. + +Required properties: +-compatible : Must be "ac97,vendor_id1,vendor_id2 + The ids shall be the 4 characters hexadecimal encoding, such as + given by "%04x" formatting of printf +-reg : Must be the ac97 codec number, between 0 and 3 + +Example: +ac97: sound@40500000 { + compatible = "marvell,pxa270-ac97"; + reg = < 0x40500000 0x1000 >; + interrupts = <14>; + reset-gpios = <&gpio 95 GPIO_ACTIVE_HIGH>; + #sound-dai-cells = <1>; + pinctrl-names = "default"; + pinctrl-0 = < &pinctrl_ac97_default >; + clocks = <&clks CLK_AC97>, <&clks CLK_AC97CONF>; + clock-names = "AC97CLK", "AC97CONFCLK"; + + #address-cells = <1>; + #size-cells = <0>; + audio-codec@0 { + reg = <0>; + compatible = "ac97,574d,4c13"; + clocks = <&fixed_wm9713_clock>; + clock-names = "ac97_clk"; + } +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/adi,adau7002.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/adi,adau7002.yaml index ed406d2b0f..fcca0fde7d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/adi,adau7002.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/adi,adau7002.yaml @@ -1,40 +1,40 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/adi,adau7002.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Analog Devices ADAU7002 Stereo PDM-to-I2S/TDM Converter - -maintainers: - - Krzysztof Kozlowski - -allOf: - - $ref: dai-common.yaml# - -properties: - compatible: - const: adi,adau7002 - - IOVDD-supply: - description: - IOVDD power supply, if skipped then it is assumed that the supply pin is - hardwired to always on. - - wakeup-delay-ms: - description: - Delay after power up needed for device to settle. - -required: - - compatible - -unevaluatedProperties: false - -examples: - - | - audio-codec { - compatible = "adi,adau7002"; - IOVDD-supply = <&pp1800_l15a>; - #sound-dai-cells = <0>; - wakeup-delay-ms = <80>; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/adi,adau7002.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Analog Devices ADAU7002 Stereo PDM-to-I2S/TDM Converter + +maintainers: + - Krzysztof Kozlowski + +allOf: + - $ref: dai-common.yaml# + +properties: + compatible: + const: adi,adau7002 + + IOVDD-supply: + description: + IOVDD power supply, if skipped then it is assumed that the supply pin is + hardwired to always on. + + wakeup-delay-ms: + description: + Delay after power up needed for device to settle. + +required: + - compatible + +unevaluatedProperties: false + +examples: + - | + audio-codec { + compatible = "adi,adau7002"; + IOVDD-supply = <&pp1800_l15a>; + #sound-dai-cells = <0>; + wakeup-delay-ms = <80>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/adi,ssm2518.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/adi,ssm2518.yaml index 62d485090e..f3f3254077 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/adi,ssm2518.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/adi,ssm2518.yaml @@ -1,47 +1,47 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/adi,ssm2518.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Analog Devices SSM2518 audio amplifier - -maintainers: - - Lars-Peter Clausen - -allOf: - - $ref: dai-common.yaml# - -properties: - compatible: - const: adi,ssm2518 - - reg: - maxItems: 1 - description: | - I2C address of the device. This will either be 0x34 (ADDR pin low) - or 0x35 (ADDR pin high) - - gpios: - maxItems: 1 - description: | - GPIO connected to the nSD pin. If the property is not present - it is assumed that the nSD pin is hardwired to always on. - -required: - - compatible - - reg - -unevaluatedProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - codec@34 { - compatible = "adi,ssm2518"; - reg = <0x34>; - gpios = <&gpio 5 0>; - }; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/adi,ssm2518.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Analog Devices SSM2518 audio amplifier + +maintainers: + - Lars-Peter Clausen + +allOf: + - $ref: dai-common.yaml# + +properties: + compatible: + const: adi,ssm2518 + + reg: + maxItems: 1 + description: | + I2C address of the device. This will either be 0x34 (ADDR pin low) + or 0x35 (ADDR pin high) + + gpios: + maxItems: 1 + description: | + GPIO connected to the nSD pin. If the property is not present + it is assumed that the nSD pin is hardwired to always on. + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + codec@34 { + compatible = "adi,ssm2518"; + reg = <0x34>; + gpios = <&gpio 5 0>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/adi,ssm3515.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/adi,ssm3515.yaml index a5e21d3a91..144450df58 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/adi,ssm3515.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/adi,ssm3515.yaml @@ -1,49 +1,49 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/adi,ssm3515.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Analog Devices SSM3515 Audio Amplifier - -maintainers: - - Martin Povišer - -description: | - SSM3515 is a mono Class-D audio amplifier with digital input. - - https://www.analog.com/media/en/technical-documentation/data-sheets/SSM3515.pdf - -allOf: - - $ref: dai-common.yaml# - -properties: - compatible: - enum: - - adi,ssm3515 - - reg: - maxItems: 1 - - '#sound-dai-cells': - const: 0 - -required: - - compatible - - reg - -unevaluatedProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - codec@14 { - compatible = "adi,ssm3515"; - reg = <0x14>; - #sound-dai-cells = <0>; - sound-name-prefix = "Left Tweeter"; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/adi,ssm3515.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Analog Devices SSM3515 Audio Amplifier + +maintainers: + - Martin Povišer + +description: | + SSM3515 is a mono Class-D audio amplifier with digital input. + + https://www.analog.com/media/en/technical-documentation/data-sheets/SSM3515.pdf + +allOf: + - $ref: dai-common.yaml# + +properties: + compatible: + enum: + - adi,ssm3515 + + reg: + maxItems: 1 + + '#sound-dai-cells': + const: 0 + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + codec@14 { + compatible = "adi,ssm3515"; + reg = <0x14>; + #sound-dai-cells = <0>; + sound-name-prefix = "Left Tweeter"; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/allwinner,sun50i-a64-codec-analog.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/allwinner,sun50i-a64-codec-analog.yaml index eba32a3fd2..5800de63fc 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/allwinner,sun50i-a64-codec-analog.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/allwinner,sun50i-a64-codec-analog.yaml @@ -1,44 +1,44 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/allwinner,sun50i-a64-codec-analog.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Allwinner A64 Analog Codec - -maintainers: - - Chen-Yu Tsai - - Maxime Ripard - -properties: - compatible: - const: allwinner,sun50i-a64-codec-analog - - reg: - maxItems: 1 - - cpvdd-supply: - description: - Regulator for the headphone amplifier - - allwinner,internal-bias-resistor: - description: - Enable the internal 2.2K bias resistor between HBIAS and MICDET pins - type: boolean - -required: - - compatible - - reg - - cpvdd-supply - -additionalProperties: false - -examples: - - | - codec_analog: codec-analog@1f015c0 { - compatible = "allwinner,sun50i-a64-codec-analog"; - reg = <0x01f015c0 0x4>; - cpvdd-supply = <®_eldo1>; - }; - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/allwinner,sun50i-a64-codec-analog.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Allwinner A64 Analog Codec + +maintainers: + - Chen-Yu Tsai + - Maxime Ripard + +properties: + compatible: + const: allwinner,sun50i-a64-codec-analog + + reg: + maxItems: 1 + + cpvdd-supply: + description: + Regulator for the headphone amplifier + + allwinner,internal-bias-resistor: + description: + Enable the internal 2.2K bias resistor between HBIAS and MICDET pins + type: boolean + +required: + - compatible + - reg + - cpvdd-supply + +additionalProperties: false + +examples: + - | + codec_analog: codec-analog@1f015c0 { + compatible = "allwinner,sun50i-a64-codec-analog"; + reg = <0x01f015c0 0x4>; + cpvdd-supply = <®_eldo1>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/allwinner,sun8i-a23-codec-analog.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/allwinner,sun8i-a23-codec-analog.yaml index bbf905ef5b..1c21a1b390 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/allwinner,sun8i-a23-codec-analog.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/allwinner,sun8i-a23-codec-analog.yaml @@ -1,41 +1,41 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/allwinner,sun8i-a23-codec-analog.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Allwinner A23 Analog Codec - -maintainers: - - Chen-Yu Tsai - - Maxime Ripard - -properties: - compatible: - oneOf: - # FIXME: This is documented in the PRCM binding, but needs to be - # migrated here at some point - # - allwinner,sun8i-a23-codec-analog - - const: allwinner,sun8i-h3-codec-analog - - items: - - const: allwinner,sun8i-v3-codec-analog - - const: allwinner,sun8i-h3-codec-analog - - const: allwinner,sun8i-v3s-codec-analog - - reg: - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - codec_analog: codec-analog@1f015c0 { - compatible = "allwinner,sun8i-h3-codec-analog"; - reg = <0x01f015c0 0x4>; - }; - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/allwinner,sun8i-a23-codec-analog.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Allwinner A23 Analog Codec + +maintainers: + - Chen-Yu Tsai + - Maxime Ripard + +properties: + compatible: + oneOf: + # FIXME: This is documented in the PRCM binding, but needs to be + # migrated here at some point + # - allwinner,sun8i-a23-codec-analog + - const: allwinner,sun8i-h3-codec-analog + - items: + - const: allwinner,sun8i-v3-codec-analog + - const: allwinner,sun8i-h3-codec-analog + - const: allwinner,sun8i-v3s-codec-analog + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + codec_analog: codec-analog@1f015c0 { + compatible = "allwinner,sun8i-h3-codec-analog"; + reg = <0x01f015c0 0x4>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/armada-370db-audio.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/armada-370db-audio.txt index c0291af6ff..953c092db7 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/armada-370db-audio.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/armada-370db-audio.txt @@ -1,26 +1,26 @@ -Device Tree bindings for the Armada 370 DB audio -================================================ - -These Device Tree bindings are used to describe the audio complex -found on the Armada 370 DB platform. - -Mandatory properties: - - * compatible: must be "marvell,a370db-audio" - - * marvell,audio-controller: a phandle that points to the audio - controller of the Armada 370 SoC. - - * marvell,audio-codec: a set of three phandles that points to: - - 1/ the analog audio codec connected to the Armada 370 SoC - 2/ the S/PDIF transceiver - 3/ the S/PDIF receiver - -Example: - - sound { - compatible = "marvell,a370db-audio"; - marvell,audio-controller = <&audio_controller>; - marvell,audio-codec = <&audio_codec &spdif_out &spdif_in>; - }; +Device Tree bindings for the Armada 370 DB audio +================================================ + +These Device Tree bindings are used to describe the audio complex +found on the Armada 370 DB platform. + +Mandatory properties: + + * compatible: must be "marvell,a370db-audio" + + * marvell,audio-controller: a phandle that points to the audio + controller of the Armada 370 SoC. + + * marvell,audio-codec: a set of three phandles that points to: + + 1/ the analog audio codec connected to the Armada 370 SoC + 2/ the S/PDIF transceiver + 3/ the S/PDIF receiver + +Example: + + sound { + compatible = "marvell,a370db-audio"; + marvell,audio-controller = <&audio_controller>; + marvell,audio-codec = <&audio_codec &spdif_out &spdif_in>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/atmel-at91sam9g20ek-wm8731-audio.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/atmel-at91sam9g20ek-wm8731-audio.txt index 6d373a92fa..9c5a9947b6 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/atmel-at91sam9g20ek-wm8731-audio.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/atmel-at91sam9g20ek-wm8731-audio.txt @@ -1,26 +1,26 @@ -* Atmel at91sam9g20ek wm8731 audio complex - -Required properties: - - compatible: "atmel,at91sam9g20ek-wm8731-audio" - - atmel,model: The user-visible name of this sound complex. - - atmel,audio-routing: A list of the connections between audio components. - - atmel,ssc-controller: The phandle of the SSC controller - - atmel,audio-codec: The phandle of the WM8731 audio codec -Optional properties: - - pinctrl-names, pinctrl-0: Please refer to pinctrl-bindings.txt - -Example: -sound { - compatible = "atmel,at91sam9g20ek-wm8731-audio"; - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_pck0_as_mck>; - - atmel,model = "wm8731 @ AT91SAMG20EK"; - - atmel,audio-routing = - "Ext Spk", "LHPOUT", - "Int MIC", "MICIN"; - - atmel,ssc-controller = <&ssc0>; - atmel,audio-codec = <&wm8731>; -}; +* Atmel at91sam9g20ek wm8731 audio complex + +Required properties: + - compatible: "atmel,at91sam9g20ek-wm8731-audio" + - atmel,model: The user-visible name of this sound complex. + - atmel,audio-routing: A list of the connections between audio components. + - atmel,ssc-controller: The phandle of the SSC controller + - atmel,audio-codec: The phandle of the WM8731 audio codec +Optional properties: + - pinctrl-names, pinctrl-0: Please refer to pinctrl-bindings.txt + +Example: +sound { + compatible = "atmel,at91sam9g20ek-wm8731-audio"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_pck0_as_mck>; + + atmel,model = "wm8731 @ AT91SAMG20EK"; + + atmel,audio-routing = + "Ext Spk", "LHPOUT", + "Int MIC", "MICIN"; + + atmel,ssc-controller = <&ssc0>; + atmel,audio-codec = <&wm8731>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/atmel_ac97c.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/atmel_ac97c.txt index edb2fb3a65..b151bd902c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/atmel_ac97c.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/atmel_ac97c.txt @@ -1,20 +1,20 @@ -* Atmel AC97 controller - -Required properties: - - compatible: "atmel,at91sam9263-ac97c" - - reg: Address and length of the register set for the device - - interrupts: Should contain AC97 interrupt - - ac97-gpios: Please refer to soc-ac97link.txt, only ac97-reset is used -Optional properties: - - pinctrl-names, pinctrl-0: Please refer to pinctrl-bindings.txt - -Example: -sound@fffa0000 { - compatible = "atmel,at91sam9263-ac97c"; - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_ac97>; - reg = <0xfffa0000 0x4000>; - interrupts = <18 IRQ_TYPE_LEVEL_HIGH 5>; - - ac97-gpios = <&pioB 0 0 &pioB 2 0 &pioC 29 GPIO_ACTIVE_LOW>; -}; +* Atmel AC97 controller + +Required properties: + - compatible: "atmel,at91sam9263-ac97c" + - reg: Address and length of the register set for the device + - interrupts: Should contain AC97 interrupt + - ac97-gpios: Please refer to soc-ac97link.txt, only ac97-reset is used +Optional properties: + - pinctrl-names, pinctrl-0: Please refer to pinctrl-bindings.txt + +Example: +sound@fffa0000 { + compatible = "atmel,at91sam9263-ac97c"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_ac97>; + reg = <0xfffa0000 0x4000>; + interrupts = <18 IRQ_TYPE_LEVEL_HIGH 5>; + + ac97-gpios = <&pioB 0 0 &pioB 2 0 &pioC 29 GPIO_ACTIVE_LOW>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/brcm,bcm2835-i2s.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/brcm,bcm2835-i2s.txt index 2e0400b08b..7bb0362828 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/brcm,bcm2835-i2s.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/brcm,bcm2835-i2s.txt @@ -1,24 +1,24 @@ -* Broadcom BCM2835 SoC I2S/PCM module - -Required properties: -- compatible: "brcm,bcm2835-i2s" -- reg: Should contain PCM registers location and length. -- clocks: the (PCM) clock to use -- dmas: List of DMA controller phandle and DMA request line ordered pairs. -- dma-names: Identifier string for each DMA request line in the dmas property. - These strings correspond 1:1 with the ordered pairs in dmas. - - One of the DMA channels will be responsible for transmission (should be - named "tx") and one for reception (should be named "rx"). - -Example: - -bcm2835_i2s: i2s@7e203000 { - compatible = "brcm,bcm2835-i2s"; - reg = <0x7e203000 0x24>; - clocks = <&clocks BCM2835_CLOCK_PCM>; - - dmas = <&dma 2>, - <&dma 3>; - dma-names = "tx", "rx"; -}; +* Broadcom BCM2835 SoC I2S/PCM module + +Required properties: +- compatible: "brcm,bcm2835-i2s" +- reg: Should contain PCM registers location and length. +- clocks: the (PCM) clock to use +- dmas: List of DMA controller phandle and DMA request line ordered pairs. +- dma-names: Identifier string for each DMA request line in the dmas property. + These strings correspond 1:1 with the ordered pairs in dmas. + + One of the DMA channels will be responsible for transmission (should be + named "tx") and one for reception (should be named "rx"). + +Example: + +bcm2835_i2s: i2s@7e203000 { + compatible = "brcm,bcm2835-i2s"; + reg = <0x7e203000 0x24>; + clocks = <&clocks BCM2835_CLOCK_PCM>; + + dmas = <&dma 2>, + <&dma 3>; + dma-names = "tx", "rx"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/component-common.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/component-common.yaml index a30a281499..37766c5f39 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/component-common.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/component-common.yaml @@ -1,21 +1,21 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/component-common.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Audio Component Common Properties - -maintainers: - - Jerome Brunet - -properties: - sound-name-prefix: - $ref: /schemas/types.yaml#/definitions/string - description: | - Card implementing the routing property define the connection between - audio components as list of string pair. Component using the same - sink/source names may use this property to prepend the name of their - sinks/sources with the provided string. - -additionalProperties: true +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/component-common.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Audio Component Common Properties + +maintainers: + - Jerome Brunet + +properties: + sound-name-prefix: + $ref: /schemas/types.yaml#/definitions/string + description: | + Card implementing the routing property define the connection between + audio components as list of string pair. Component using the same + sink/source names may use this property to prepend the name of their + sinks/sources with the provided string. + +additionalProperties: true diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/cs4265.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/cs4265.txt index 3837f9c013..380fff8e4e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/cs4265.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/cs4265.txt @@ -1,29 +1,29 @@ -CS4265 audio CODEC - -This device supports I2C only. - -Required properties: - - - compatible : "cirrus,cs4265" - - - reg : the I2C address of the device for I2C. The I2C address depends on - the state of the AD0 pin. If AD0 is high, the i2c address is 0x4f. - If it is low, the i2c address is 0x4e. - -Optional properties: - - - reset-gpios : a GPIO spec for the reset pin. If specified, it will be - deasserted before communication to the codec starts. - -Examples: - -codec_ad0_high: cs4265@4f { /* AD0 Pin is high */ - compatible = "cirrus,cs4265"; - reg = <0x4f>; -}; - - -codec_ad0_low: cs4265@4e { /* AD0 Pin is low */ - compatible = "cirrus,cs4265"; - reg = <0x4e>; -}; +CS4265 audio CODEC + +This device supports I2C only. + +Required properties: + + - compatible : "cirrus,cs4265" + + - reg : the I2C address of the device for I2C. The I2C address depends on + the state of the AD0 pin. If AD0 is high, the i2c address is 0x4f. + If it is low, the i2c address is 0x4e. + +Optional properties: + + - reset-gpios : a GPIO spec for the reset pin. If specified, it will be + deasserted before communication to the codec starts. + +Examples: + +codec_ad0_high: cs4265@4f { /* AD0 Pin is high */ + compatible = "cirrus,cs4265"; + reg = <0x4f>; +}; + + +codec_ad0_low: cs4265@4e { /* AD0 Pin is low */ + compatible = "cirrus,cs4265"; + reg = <0x4e>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/dai-params.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/dai-params.yaml index 4fed1fcca8..cd85081755 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/dai-params.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/dai-params.yaml @@ -1,37 +1,37 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/dai-params.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Digital Audio Interface (DAI) Stream Parameters - -maintainers: - - Kuninori Morimoto - -select: false - -properties: - convert-channels: - description: Number of audio channels used by DAI - $ref: /schemas/types.yaml#/definitions/uint32 - minimum: 1 - maximum: 32 - - convert-sample-format: - description: Audio sample format used by DAI - $ref: /schemas/types.yaml#/definitions/string - enum: - - s8 - - s16_le - - s24_le - - s24_3le - - s32_le - - convert-rate: - description: Audio sample rate used by DAI - $ref: /schemas/types.yaml#/definitions/uint32 - minimum: 8000 - maximum: 192000 - -additionalProperties: true +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/dai-params.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Digital Audio Interface (DAI) Stream Parameters + +maintainers: + - Kuninori Morimoto + +select: false + +properties: + convert-channels: + description: Number of audio channels used by DAI + $ref: /schemas/types.yaml#/definitions/uint32 + minimum: 1 + maximum: 32 + + convert-sample-format: + description: Audio sample format used by DAI + $ref: /schemas/types.yaml#/definitions/string + enum: + - s8 + - s16_le + - s24_le + - s24_3le + - s32_le + + convert-rate: + description: Audio sample rate used by DAI + $ref: /schemas/types.yaml#/definitions/uint32 + minimum: 8000 + maximum: 192000 + +additionalProperties: true diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/eukrea-tlv320.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/eukrea-tlv320.txt index f973297787..6dfa88c4dc 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/eukrea-tlv320.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/eukrea-tlv320.txt @@ -1,26 +1,26 @@ -Audio complex for Eukrea boards with tlv320aic23 codec. - -Required properties: - - - compatible : "eukrea,asoc-tlv320" - - - eukrea,model : The user-visible name of this sound complex. - - - ssi-controller : The phandle of the SSI controller. - - - fsl,mux-int-port : The internal port of the i.MX audio muxer (AUDMUX). - - - fsl,mux-ext-port : The external port of the i.MX audio muxer. - -Note: The AUDMUX port numbering should start at 1, which is consistent with -hardware manual. - -Example: - - sound { - compatible = "eukrea,asoc-tlv320"; - eukrea,model = "imx51-eukrea-tlv320aic23"; - ssi-controller = <&ssi2>; - fsl,mux-int-port = <2>; - fsl,mux-ext-port = <3>; - }; +Audio complex for Eukrea boards with tlv320aic23 codec. + +Required properties: + + - compatible : "eukrea,asoc-tlv320" + + - eukrea,model : The user-visible name of this sound complex. + + - ssi-controller : The phandle of the SSI controller. + + - fsl,mux-int-port : The internal port of the i.MX audio muxer (AUDMUX). + + - fsl,mux-ext-port : The external port of the i.MX audio muxer. + +Note: The AUDMUX port numbering should start at 1, which is consistent with +hardware manual. + +Example: + + sound { + compatible = "eukrea,asoc-tlv320"; + eukrea,model = "imx51-eukrea-tlv320aic23"; + ssi-controller = <&ssi2>; + fsl,mux-int-port = <2>; + fsl,mux-ext-port = <3>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/google,chv3-i2s.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/google,chv3-i2s.yaml index 083b709f94..3ce910f44d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/google,chv3-i2s.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/google,chv3-i2s.yaml @@ -1,44 +1,44 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/google,chv3-i2s.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Google Chameleon v3 I2S device - -maintainers: - - Paweł Anikiel - -description: | - I2S device for the Google Chameleon v3. The device handles both RX - and TX using a producer/consumer ring buffer design. - -properties: - compatible: - const: google,chv3-i2s - - reg: - items: - - description: core registers - - description: irq registers - - interrupts: - maxItems: 1 - -required: - - compatible - - reg - - interrupts - -additionalProperties: false - -examples: - - | - #include - - i2s@c0060300 { - compatible = "google,chv3-i2s"; - reg = <0xc0060300 0x100>, - <0xc0060f00 0x10>; - interrupts = ; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/google,chv3-i2s.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Google Chameleon v3 I2S device + +maintainers: + - Paweł Anikiel + +description: | + I2S device for the Google Chameleon v3. The device handles both RX + and TX using a producer/consumer ring buffer design. + +properties: + compatible: + const: google,chv3-i2s + + reg: + items: + - description: core registers + - description: irq registers + + interrupts: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + +additionalProperties: false + +examples: + - | + #include + + i2s@c0060300 { + compatible = "google,chv3-i2s"; + reg = <0xc0060300 0x100>, + <0xc0060f00 0x10>; + interrupts = ; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/ics43432.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/ics43432.txt index 7ff185a4d0..e6f05f2f6c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/ics43432.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/ics43432.txt @@ -1,19 +1,19 @@ -Invensense ICS-43432-compatible MEMS microphone with I2S output. - -There are no software configuration options for this device, indeed, the only -host connection is the I2S interface. Apart from requirements on clock -frequency (460 kHz to 3.379 MHz according to the data sheet) there must be -64 clock cycles in each stereo output frame; 24 of the 32 available bits -contain audio data. A hardware pin determines if the device outputs data -on the left or right channel of the I2S frame. - -Required properties: - - compatible: should be one of the following. - "invensense,ics43432": For the Invensense ICS43432 - "cui,cmm-4030d-261": For the CUI CMM-4030D-261-I2S-TR - -Example: - - ics43432: ics43432 { - compatible = "invensense,ics43432"; - }; +Invensense ICS-43432-compatible MEMS microphone with I2S output. + +There are no software configuration options for this device, indeed, the only +host connection is the I2S interface. Apart from requirements on clock +frequency (460 kHz to 3.379 MHz according to the data sheet) there must be +64 clock cycles in each stereo output frame; 24 of the 32 available bits +contain audio data. A hardware pin determines if the device outputs data +on the left or right channel of the I2S frame. + +Required properties: + - compatible: should be one of the following. + "invensense,ics43432": For the Invensense ICS43432 + "cui,cmm-4030d-261": For the CUI CMM-4030D-261-I2S-TR + +Example: + + ics43432: ics43432 { + compatible = "invensense,ics43432"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/irondevice,sma1303.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/irondevice,sma1303.yaml index b6a24f0192..b36c35e5da 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/irondevice,sma1303.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/irondevice,sma1303.yaml @@ -1,48 +1,48 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/irondevice,sma1303.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Iron Device SMA1303 Audio Amplifier - -maintainers: - - Kiseok Jo - -description: - SMA1303 digital class-D audio amplifier - with an integrated boost converter. - -allOf: - - $ref: dai-common.yaml# - -properties: - compatible: - enum: - - irondevice,sma1303 - - reg: - maxItems: 1 - - '#sound-dai-cells': - const: 1 - -required: - - compatible - - reg - - '#sound-dai-cells' - -additionalProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - amplifier@1e { - compatible = "irondevice,sma1303"; - reg = <0x1e>; - #sound-dai-cells = <1>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/irondevice,sma1303.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Iron Device SMA1303 Audio Amplifier + +maintainers: + - Kiseok Jo + +description: + SMA1303 digital class-D audio amplifier + with an integrated boost converter. + +allOf: + - $ref: dai-common.yaml# + +properties: + compatible: + enum: + - irondevice,sma1303 + + reg: + maxItems: 1 + + '#sound-dai-cells': + const: 1 + +required: + - compatible + - reg + - '#sound-dai-cells' + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + amplifier@1e { + compatible = "irondevice,sma1303"; + reg = <0x1e>; + #sound-dai-cells = <1>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/linux,bt-sco.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/linux,bt-sco.yaml index 9b42ddd283..a67b79cbe0 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/linux,bt-sco.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/linux,bt-sco.yaml @@ -1,41 +1,41 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/linux,bt-sco.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Bluetooth SCO Audio Codec - -maintainers: - - Mark Brown - -allOf: - - $ref: dai-common.yaml# - -properties: - '#sound-dai-cells': - enum: - - 0 - - # For Wideband PCM - - 1 - - compatible: - enum: - - delta,dfbmcs320 - - linux,bt-sco - -required: - - '#sound-dai-cells' - - compatible - -unevaluatedProperties: false - -examples: - - | - codec { - #sound-dai-cells = <0>; - compatible = "linux,bt-sco"; - }; - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/linux,bt-sco.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Bluetooth SCO Audio Codec + +maintainers: + - Mark Brown + +allOf: + - $ref: dai-common.yaml# + +properties: + '#sound-dai-cells': + enum: + - 0 + + # For Wideband PCM + - 1 + + compatible: + enum: + - delta,dfbmcs320 + - linux,bt-sco + +required: + - '#sound-dai-cells' + - compatible + +unevaluatedProperties: false + +examples: + - | + codec { + #sound-dai-cells = <0>; + compatible = "linux,bt-sco"; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/linux,spdif.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/linux,spdif.yaml index d0d1d3a0bc..0f4893e11e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/linux,spdif.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/linux,spdif.yaml @@ -1,39 +1,39 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/linux,spdif.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Dummy SPDIF Transmitter/Receiver - -maintainers: - - Mark Brown - -allOf: - - $ref: dai-common.yaml# - -properties: - compatible: - enum: - - linux,spdif-dit - - linux,spdif-dir - - "#sound-dai-cells": - const: 0 - - sound-name-prefix: true - -required: - - "#sound-dai-cells" - - compatible - -additionalProperties: false - -examples: - - | - spdif-out { - #sound-dai-cells = <0>; - compatible = "linux,spdif-dit"; - }; - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/linux,spdif.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Dummy SPDIF Transmitter/Receiver + +maintainers: + - Mark Brown + +allOf: + - $ref: dai-common.yaml# + +properties: + compatible: + enum: + - linux,spdif-dit + - linux,spdif-dir + + "#sound-dai-cells": + const: 0 + + sound-name-prefix: true + +required: + - "#sound-dai-cells" + - compatible + +additionalProperties: false + +examples: + - | + spdif-out { + #sound-dai-cells = <0>; + compatible = "linux,spdif-dit"; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/marvell,pxa2xx-ac97.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/marvell,pxa2xx-ac97.txt index fc151013d7..2ea85d5be6 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/marvell,pxa2xx-ac97.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/marvell,pxa2xx-ac97.txt @@ -1,27 +1,27 @@ -Marvell PXA2xx audio complex - -This descriptions matches the AC97 controller found in pxa2xx and pxa3xx series. - -Required properties: - - compatible: should be one of the following: - "marvell,pxa250-ac97" - "marvell,pxa270-ac97" - "marvell,pxa300-ac97" - - reg: device MMIO address space - - interrupts: single interrupt generated by AC97 IP - - clocks: input clock of the AC97 IP, refer to clock-bindings.txt - -Optional properties: - - pinctrl-names, pinctrl-0: refer to pinctrl-bindings.txt - - reset-gpios: gpio used for AC97 reset, refer to gpio.txt - -Example: - ac97: sound@40500000 { - compatible = "marvell,pxa250-ac97"; - reg = < 0x40500000 0x1000 >; - interrupts = <14>; - reset-gpios = <&gpio 113 GPIO_ACTIVE_HIGH>; - #sound-dai-cells = <1>; - pinctrl-names = "default"; - pinctrl-0 = < &pmux_ac97_default >; - }; +Marvell PXA2xx audio complex + +This descriptions matches the AC97 controller found in pxa2xx and pxa3xx series. + +Required properties: + - compatible: should be one of the following: + "marvell,pxa250-ac97" + "marvell,pxa270-ac97" + "marvell,pxa300-ac97" + - reg: device MMIO address space + - interrupts: single interrupt generated by AC97 IP + - clocks: input clock of the AC97 IP, refer to clock-bindings.txt + +Optional properties: + - pinctrl-names, pinctrl-0: refer to pinctrl-bindings.txt + - reset-gpios: gpio used for AC97 reset, refer to gpio.txt + +Example: + ac97: sound@40500000 { + compatible = "marvell,pxa250-ac97"; + reg = < 0x40500000 0x1000 >; + interrupts = <14>; + reset-gpios = <&gpio 113 GPIO_ACTIVE_HIGH>; + #sound-dai-cells = <1>; + pinctrl-names = "default"; + pinctrl-0 = < &pmux_ac97_default >; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/maxim,max98088.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/maxim,max98088.yaml index 668898b20f..e4a2967e1e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/maxim,max98088.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/maxim,max98088.yaml @@ -1,47 +1,47 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/maxim,max98088.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: MAX98088 audio CODEC - -maintainers: - - Abdulrasaq Lawani - -properties: - compatible: - enum: - - maxim,max98088 - - maxim,max98089 - - reg: - maxItems: 1 - - clocks: - items: - - description: master clock - - clock-names: - items: - - const: mclk - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - audio-codec@10 { - compatible = "maxim,max98089"; - reg = <0x10>; - clocks = <&clks 0>; - clock-names = "mclk"; - }; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/maxim,max98088.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: MAX98088 audio CODEC + +maintainers: + - Abdulrasaq Lawani + +properties: + compatible: + enum: + - maxim,max98088 + - maxim,max98089 + + reg: + maxItems: 1 + + clocks: + items: + - description: master clock + + clock-names: + items: + - const: mclk + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + audio-codec@10 { + compatible = "maxim,max98089"; + reg = <0x10>; + clocks = <&clks 0>; + clock-names = "mclk"; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/maxim,max98095.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/maxim,max98095.yaml index 84da8bc462..77544a9e15 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/maxim,max98095.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/maxim,max98095.yaml @@ -1,54 +1,54 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/maxim,max98095.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Maxim Integrated MAX98095 audio codec - -maintainers: - - Krzysztof Kozlowski - -allOf: - - $ref: dai-common.yaml# - -properties: - compatible: - enum: - - maxim,max98095 - - reg: - maxItems: 1 - - clocks: - items: - - description: master clock - - clock-names: - items: - - const: mclk - - '#sound-dai-cells': - const: 1 - -required: - - compatible - - reg - -unevaluatedProperties: false - -examples: - - | - #include - - i2c { - #address-cells = <1>; - #size-cells = <0>; - - audio-codec@11 { - compatible = "maxim,max98095"; - reg = <0x11>; - clocks = <&i2s0 0>; - clock-names = "mclk"; - }; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/maxim,max98095.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Maxim Integrated MAX98095 audio codec + +maintainers: + - Krzysztof Kozlowski + +allOf: + - $ref: dai-common.yaml# + +properties: + compatible: + enum: + - maxim,max98095 + + reg: + maxItems: 1 + + clocks: + items: + - description: master clock + + clock-names: + items: + - const: mclk + + '#sound-dai-cells': + const: 1 + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + #include + + i2c { + #address-cells = <1>; + #size-cells = <0>; + + audio-codec@11 { + compatible = "maxim,max98095"; + reg = <0x11>; + clocks = <&i2s0 0>; + clock-names = "mclk"; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/maxim,max98371.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/maxim,max98371.yaml index 3ae4c437ee..14fba34ef8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/maxim,max98371.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/maxim,max98371.yaml @@ -1,42 +1,42 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/maxim,max98371.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Maxim MAX98371 audio codec - -maintainers: - - anish kumar - -allOf: - - $ref: dai-common.yaml# - -properties: - compatible: - const: maxim,max98371 - - '#sound-dai-cells': - const: 0 - - reg: - maxItems: 1 - -required: - - compatible - - reg - -unevaluatedProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - codec@31 { - compatible = "maxim,max98371"; - reg = <0x31>; - #sound-dai-cells = <0>; - }; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/maxim,max98371.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Maxim MAX98371 audio codec + +maintainers: + - anish kumar + +allOf: + - $ref: dai-common.yaml# + +properties: + compatible: + const: maxim,max98371 + + '#sound-dai-cells': + const: 0 + + reg: + maxItems: 1 + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + codec@31 { + compatible = "maxim,max98371"; + reg = <0x31>; + #sound-dai-cells = <0>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/maxim,max98520.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/maxim,max98520.yaml index c2ededac52..3f88c7d61e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/maxim,max98520.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/maxim,max98520.yaml @@ -1,35 +1,35 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/maxim,max98520.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Maxim Integrated MAX98520 Speaker Amplifier Driver - -maintainers: - - George Song - -properties: - compatible: - const: maxim,max98520 - - reg: - maxItems: 1 - description: I2C address of the device. - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - max98520: amplifier@38 { - compatible = "maxim,max98520"; - reg = <0x38>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/maxim,max98520.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Maxim Integrated MAX98520 Speaker Amplifier Driver + +maintainers: + - George Song + +properties: + compatible: + const: maxim,max98520 + + reg: + maxItems: 1 + description: I2C address of the device. + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + max98520: amplifier@38 { + compatible = "maxim,max98520"; + reg = <0x38>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/mikroe,mikroe-proto.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/mikroe,mikroe-proto.txt index e708a740bc..912f8fae11 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/mikroe,mikroe-proto.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/mikroe,mikroe-proto.txt @@ -1,23 +1,23 @@ -Mikroe-PROTO audio board - -Required properties: - - compatible: "mikroe,mikroe-proto" - - dai-format: Must be "i2s". - - i2s-controller: The phandle of the I2S controller. - - audio-codec: The phandle of the WM8731 audio codec. -Optional properties: - - model: The user-visible name of this sound complex. - - bitclock-master: Indicates dai-link bit clock master; for details see simple-card.txt (1). - - frame-master: Indicates dai-link frame master; for details see simple-card.txt (1). - -(1) : There must be the same master for both bit and frame clocks. - -Example: - sound { - compatible = "mikroe,mikroe-proto"; - model = "wm8731 @ sama5d2_xplained"; - i2s-controller = <&i2s0>; - audio-codec = <&wm8731>; - dai-format = "i2s"; - }; -}; +Mikroe-PROTO audio board + +Required properties: + - compatible: "mikroe,mikroe-proto" + - dai-format: Must be "i2s". + - i2s-controller: The phandle of the I2S controller. + - audio-codec: The phandle of the WM8731 audio codec. +Optional properties: + - model: The user-visible name of this sound complex. + - bitclock-master: Indicates dai-link bit clock master; for details see simple-card.txt (1). + - frame-master: Indicates dai-link frame master; for details see simple-card.txt (1). + +(1) : There must be the same master for both bit and frame clocks. + +Example: + sound { + compatible = "mikroe,mikroe-proto"; + model = "wm8731 @ sama5d2_xplained"; + i2s-controller = <&i2s0>; + audio-codec = <&wm8731>; + dai-format = "i2s"; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/mrvl,pxa-ssp.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/mrvl,pxa-ssp.txt index bf8a83864f..feef39b4a4 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/mrvl,pxa-ssp.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/mrvl,pxa-ssp.txt @@ -1,34 +1,34 @@ -Marvell PXA SSP CPU DAI bindings - -Required properties: - - compatible Must be "mrvl,pxa-ssp-dai" - port A phandle reference to a PXA ssp upstream device - -Optional properties: - - clock-names - clocks Through "clock-names" and "clocks", external clocks - can be configured. If a clock names "extclk" exists, - it will be set to the mclk rate of the audio stream - and be used as clock provider of the DAI. - -Example: - - /* upstream device */ - - ssp1: ssp@41000000 { - compatible = "mrvl,pxa3xx-ssp"; - reg = <0x41000000 0x40>; - interrupts = <24>; - clock-names = "pxa27x-ssp.0"; - }; - - /* DAI as user */ - - ssp_dai0: ssp_dai@0 { - compatible = "mrvl,pxa-ssp-dai"; - port = <&ssp1>; - #sound-dai-cells = <0>; - }; - +Marvell PXA SSP CPU DAI bindings + +Required properties: + + compatible Must be "mrvl,pxa-ssp-dai" + port A phandle reference to a PXA ssp upstream device + +Optional properties: + + clock-names + clocks Through "clock-names" and "clocks", external clocks + can be configured. If a clock names "extclk" exists, + it will be set to the mclk rate of the audio stream + and be used as clock provider of the DAI. + +Example: + + /* upstream device */ + + ssp1: ssp@41000000 { + compatible = "mrvl,pxa3xx-ssp"; + reg = <0x41000000 0x40>; + interrupts = <24>; + clock-names = "pxa27x-ssp.0"; + }; + + /* DAI as user */ + + ssp_dai0: ssp_dai@0 { + compatible = "mrvl,pxa-ssp-dai"; + port = <&ssp1>; + #sound-dai-cells = <0>; + }; + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/mt6358.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/mt6358.txt index 51d6653476..fbe9e55c68 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/mt6358.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/mt6358.txt @@ -1,26 +1,26 @@ -Mediatek MT6358 Audio Codec - -The communication between MT6358 and SoC is through Mediatek PMIC wrapper. -For more detail, please visit Mediatek PMIC wrapper documentation. - -Must be a child node of PMIC wrapper. - -Required properties: - -- compatible - "string" - One of: - "mediatek,mt6358-sound" - "mediatek,mt6366-sound" -- Avdd-supply : power source of AVDD - -Optional properties: -- mediatek,dmic-mode : Indicates how many data pins are used to transmit two - channels of PDM signal. 0 means two wires, 1 means one wire. Default - value is 0. - -Example: - -mt6358_snd { - compatible = "mediatek,mt6358-sound"; - Avdd-supply = <&mt6358_vaud28_reg>; - mediatek,dmic-mode = <0>; -}; +Mediatek MT6358 Audio Codec + +The communication between MT6358 and SoC is through Mediatek PMIC wrapper. +For more detail, please visit Mediatek PMIC wrapper documentation. + +Must be a child node of PMIC wrapper. + +Required properties: + +- compatible - "string" - One of: + "mediatek,mt6358-sound" + "mediatek,mt6366-sound" +- Avdd-supply : power source of AVDD + +Optional properties: +- mediatek,dmic-mode : Indicates how many data pins are used to transmit two + channels of PDM signal. 0 means two wires, 1 means one wire. Default + value is 0. + +Example: + +mt6358_snd { + compatible = "mediatek,mt6358-sound"; + Avdd-supply = <&mt6358_vaud28_reg>; + mediatek,dmic-mode = <0>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/mt8173-rt5650.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/mt8173-rt5650.txt index 191885fc97..29dce2ac87 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/mt8173-rt5650.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/mt8173-rt5650.txt @@ -1,31 +1,31 @@ -MT8173 with RT5650 CODECS and HDMI via I2S - -Required properties: -- compatible : "mediatek,mt8173-rt5650" -- mediatek,audio-codec: the phandles of rt5650 codecs - and of the hdmi encoder node -- mediatek,platform: the phandle of MT8173 ASoC platform - -Optional subnodes: -- codec-capture : the subnode of rt5650 codec capture -Required codec-capture subnode properties: -- sound-dai: audio codec dai name on capture path - <&rt5650 0> : Default setting. Connect rt5650 I2S1 for capture. (dai_name = rt5645-aif1) - <&rt5650 1> : Connect rt5650 I2S2 for capture. (dai_name = rt5645-aif2) - -- mediatek,mclk: the MCLK source - 0 : external oscillator, MCLK = 12.288M - 1 : internal source from mt8173, MCLK = sampling rate*256 - -Example: - - sound { - compatible = "mediatek,mt8173-rt5650"; - mediatek,audio-codec = <&rt5650 &hdmi0>; - mediatek,platform = <&afe>; - mediatek,mclk = <0>; - codec-capture { - sound-dai = <&rt5650 1>; - }; - }; - +MT8173 with RT5650 CODECS and HDMI via I2S + +Required properties: +- compatible : "mediatek,mt8173-rt5650" +- mediatek,audio-codec: the phandles of rt5650 codecs + and of the hdmi encoder node +- mediatek,platform: the phandle of MT8173 ASoC platform + +Optional subnodes: +- codec-capture : the subnode of rt5650 codec capture +Required codec-capture subnode properties: +- sound-dai: audio codec dai name on capture path + <&rt5650 0> : Default setting. Connect rt5650 I2S1 for capture. (dai_name = rt5645-aif1) + <&rt5650 1> : Connect rt5650 I2S2 for capture. (dai_name = rt5645-aif2) + +- mediatek,mclk: the MCLK source + 0 : external oscillator, MCLK = 12.288M + 1 : internal source from mt8173, MCLK = sampling rate*256 + +Example: + + sound { + compatible = "mediatek,mt8173-rt5650"; + mediatek,audio-codec = <&rt5650 &hdmi0>; + mediatek,platform = <&afe>; + mediatek,mclk = <0>; + codec-capture { + sound-dai = <&rt5650 1>; + }; + }; + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/mt8183-da7219-max98357.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/mt8183-da7219-max98357.txt index 510efe9698..f276dfc74b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/mt8183-da7219-max98357.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/mt8183-da7219-max98357.txt @@ -1,21 +1,21 @@ -MT8183 with MT6358, DA7219, MAX98357, and RT1015 CODECS - -Required properties: -- compatible : "mediatek,mt8183_da7219_max98357" for MAX98357A codec - "mediatek,mt8183_da7219_rt1015" for RT1015 codec - "mediatek,mt8183_da7219_rt1015p" for RT1015P codec -- mediatek,headset-codec: the phandles of da7219 codecs -- mediatek,platform: the phandle of MT8183 ASoC platform - -Optional properties: -- mediatek,hdmi-codec: the phandles of HDMI codec - -Example: - - sound { - compatible = "mediatek,mt8183_da7219_max98357"; - mediatek,headset-codec = <&da7219>; - mediatek,hdmi-codec = <&it6505dptx>; - mediatek,platform = <&afe>; - }; - +MT8183 with MT6358, DA7219, MAX98357, and RT1015 CODECS + +Required properties: +- compatible : "mediatek,mt8183_da7219_max98357" for MAX98357A codec + "mediatek,mt8183_da7219_rt1015" for RT1015 codec + "mediatek,mt8183_da7219_rt1015p" for RT1015P codec +- mediatek,headset-codec: the phandles of da7219 codecs +- mediatek,platform: the phandle of MT8183 ASoC platform + +Optional properties: +- mediatek,hdmi-codec: the phandles of HDMI codec + +Example: + + sound { + compatible = "mediatek,mt8183_da7219_max98357"; + mediatek,headset-codec = <&da7219>; + mediatek,hdmi-codec = <&it6505dptx>; + mediatek,platform = <&afe>; + }; + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/mt8183-mt6358-ts3a227-max98357.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/mt8183-mt6358-ts3a227-max98357.txt index 7e7a036fde..ecd46ed8eb 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/mt8183-mt6358-ts3a227-max98357.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/mt8183-mt6358-ts3a227-max98357.txt @@ -1,25 +1,25 @@ -MT8183 with MT6358, TS3A227, MAX98357, and RT1015 CODECS - -Required properties: -- compatible : "mediatek,mt8183_mt6358_ts3a227_max98357" for MAX98357A codec - "mediatek,mt8183_mt6358_ts3a227_max98357b" for MAX98357B codec - "mediatek,mt8183_mt6358_ts3a227_rt1015" for RT1015 codec - "mediatek,mt8183_mt6358_ts3a227_rt1015p" for RT1015P codec -- mediatek,platform: the phandle of MT8183 ASoC platform - -Optional properties: -- mediatek,headset-codec: the phandles of ts3a227 codecs -- mediatek,ec-codec: the phandle of EC codecs. - See google,cros-ec-codec.txt for more details. -- mediatek,hdmi-codec: the phandles of HDMI codec - -Example: - - sound { - compatible = "mediatek,mt8183_mt6358_ts3a227_max98357"; - mediatek,headset-codec = <&ts3a227>; - mediatek,ec-codec = <&ec_codec>; - mediatek,hdmi-codec = <&it6505dptx>; - mediatek,platform = <&afe>; - }; - +MT8183 with MT6358, TS3A227, MAX98357, and RT1015 CODECS + +Required properties: +- compatible : "mediatek,mt8183_mt6358_ts3a227_max98357" for MAX98357A codec + "mediatek,mt8183_mt6358_ts3a227_max98357b" for MAX98357B codec + "mediatek,mt8183_mt6358_ts3a227_rt1015" for RT1015 codec + "mediatek,mt8183_mt6358_ts3a227_rt1015p" for RT1015P codec +- mediatek,platform: the phandle of MT8183 ASoC platform + +Optional properties: +- mediatek,headset-codec: the phandles of ts3a227 codecs +- mediatek,ec-codec: the phandle of EC codecs. + See google,cros-ec-codec.txt for more details. +- mediatek,hdmi-codec: the phandles of HDMI codec + +Example: + + sound { + compatible = "mediatek,mt8183_mt6358_ts3a227_max98357"; + mediatek,headset-codec = <&ts3a227>; + mediatek,ec-codec = <&ec_codec>; + mediatek,hdmi-codec = <&it6505dptx>; + mediatek,platform = <&afe>; + }; + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/mtk-btcvsd-snd.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/mtk-btcvsd-snd.txt index 803b9dc819..679e44839b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/mtk-btcvsd-snd.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/mtk-btcvsd-snd.txt @@ -1,24 +1,24 @@ -Mediatek ALSA BT SCO CVSD/MSBC Driver - -Required properties: -- compatible = "mediatek,mtk-btcvsd-snd"; -- reg: register location and size of PKV and SRAM_BANK2 -- interrupts: should contain BTSCO interrupt -- mediatek,infracfg: the phandles of INFRASYS -- mediatek,offset: Array contains of register offset and mask - infra_misc_offset, - infra_conn_bt_cvsd_mask, - cvsd_mcu_read_offset, - cvsd_mcu_write_offset, - cvsd_packet_indicator_offset - -Example: - - mtk-btcvsd-snd@18000000 { - compatible = "mediatek,mtk-btcvsd-snd"; - reg=<0 0x18000000 0 0x1000>, - <0 0x18080000 0 0x8000>; - interrupts = ; - mediatek,infracfg = <&infrasys>; - mediatek,offset = <0xf00 0x800 0xfd0 0xfd4 0xfd8>; - }; +Mediatek ALSA BT SCO CVSD/MSBC Driver + +Required properties: +- compatible = "mediatek,mtk-btcvsd-snd"; +- reg: register location and size of PKV and SRAM_BANK2 +- interrupts: should contain BTSCO interrupt +- mediatek,infracfg: the phandles of INFRASYS +- mediatek,offset: Array contains of register offset and mask + infra_misc_offset, + infra_conn_bt_cvsd_mask, + cvsd_mcu_read_offset, + cvsd_mcu_write_offset, + cvsd_packet_indicator_offset + +Example: + + mtk-btcvsd-snd@18000000 { + compatible = "mediatek,mtk-btcvsd-snd"; + reg=<0 0x18000000 0 0x1000>, + <0 0x18080000 0 0x8000>; + interrupts = ; + mediatek,infracfg = <&infrasys>; + mediatek,offset = <0xf00 0x800 0xfd0 0xfd4 0xfd8>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/nuvoton,nau8315.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/nuvoton,nau8315.yaml index afb2d81adb..24006e9dc5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/nuvoton,nau8315.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/nuvoton,nau8315.yaml @@ -1,44 +1,44 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/nuvoton,nau8315.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: NAU8315/NAU8318 Mono Class-D Amplifier - -maintainers: - - David Lin - -allOf: - - $ref: dai-common.yaml# - -properties: - compatible: - enum: - - nuvoton,nau8315 - - nuvoton,nau8318 - - '#sound-dai-cells': - const: 0 - - enable-gpios: - maxItems: 1 - description: - GPIO specifier for the chip's device enable input(EN) pin. - If this option is not specified then driver does not manage - the pin state (e.g. chip is always on). - -required: - - compatible - -unevaluatedProperties: false - -examples: - - | - #include - - codec { - compatible = "nuvoton,nau8315"; - #sound-dai-cells = <0>; - enable-gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/nuvoton,nau8315.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NAU8315/NAU8318 Mono Class-D Amplifier + +maintainers: + - David Lin + +allOf: + - $ref: dai-common.yaml# + +properties: + compatible: + enum: + - nuvoton,nau8315 + - nuvoton,nau8318 + + '#sound-dai-cells': + const: 0 + + enable-gpios: + maxItems: 1 + description: + GPIO specifier for the chip's device enable input(EN) pin. + If this option is not specified then driver does not manage + the pin state (e.g. chip is always on). + +required: + - compatible + +unevaluatedProperties: false + +examples: + - | + #include + + codec { + compatible = "nuvoton,nau8315"; + #sound-dai-cells = <0>; + enable-gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/nuvoton,nau8540.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/nuvoton,nau8540.yaml index d76fbe65b6..7ccfbb8d8b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/nuvoton,nau8540.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/nuvoton,nau8540.yaml @@ -1,40 +1,40 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/nuvoton,nau8540.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Nuvoton Technology Corporation NAU85L40 Audio CODEC - -maintainers: - - John Hsu - -allOf: - - $ref: dai-common.yaml# - -properties: - compatible: - const: nuvoton,nau8540 - - reg: - maxItems: 1 - - "#sound-dai-cells": - const: 0 - -required: - - compatible - - reg - -unevaluatedProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - codec@1c { - compatible = "nuvoton,nau8540"; - reg = <0x1c>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/nuvoton,nau8540.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Nuvoton Technology Corporation NAU85L40 Audio CODEC + +maintainers: + - John Hsu + +allOf: + - $ref: dai-common.yaml# + +properties: + compatible: + const: nuvoton,nau8540 + + reg: + maxItems: 1 + + "#sound-dai-cells": + const: 0 + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + codec@1c { + compatible = "nuvoton,nau8540"; + reg = <0x1c>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/nuvoton,nau8810.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/nuvoton,nau8810.yaml index 26952484fc..d9696f6c75 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/nuvoton,nau8810.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/nuvoton,nau8810.yaml @@ -1,45 +1,45 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/nuvoton,nau8810.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: NAU8810/NAU8812/NAU8814 audio CODEC - -maintainers: - - David Lin - -allOf: - - $ref: dai-common.yaml# - -properties: - compatible: - enum: - - nuvoton,nau8810 - - nuvoton,nau8812 - - nuvoton,nau8814 - - reg: - maxItems: 1 - - '#sound-dai-cells': - const: 0 - -required: - - compatible - - reg - -unevaluatedProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - codec@1a { - #sound-dai-cells = <0>; - compatible = "nuvoton,nau8810"; - reg = <0x1a>; - }; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/nuvoton,nau8810.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NAU8810/NAU8812/NAU8814 audio CODEC + +maintainers: + - David Lin + +allOf: + - $ref: dai-common.yaml# + +properties: + compatible: + enum: + - nuvoton,nau8810 + - nuvoton,nau8812 + - nuvoton,nau8814 + + reg: + maxItems: 1 + + '#sound-dai-cells': + const: 0 + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + codec@1a { + #sound-dai-cells = <0>; + compatible = "nuvoton,nau8810"; + reg = <0x1a>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/nvidia,tegra-audio-trimslice.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/nvidia,tegra-audio-trimslice.yaml index c3a8b8e9d7..8c87cd1662 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/nvidia,tegra-audio-trimslice.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/nvidia,tegra-audio-trimslice.yaml @@ -1,33 +1,33 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/nvidia,tegra-audio-trimslice.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: NVIDIA Tegra audio complex with TrimSlice CODEC - -maintainers: - - Jon Hunter - - Thierry Reding - -allOf: - - $ref: nvidia,tegra-audio-common.yaml# - -properties: - compatible: - const: nvidia,tegra-audio-trimslice - -required: - - nvidia,i2s-controller - -unevaluatedProperties: false - -examples: - - | - sound { - compatible = "nvidia,tegra-audio-trimslice"; - nvidia,i2s-controller = <&tegra_i2s1>; - nvidia,audio-codec = <&codec>; - clocks = <&tegra_car 112>, <&tegra_car 113>, <&tegra_car 93>; - clock-names = "pll_a", "pll_a_out0", "mclk"; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/nvidia,tegra-audio-trimslice.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NVIDIA Tegra audio complex with TrimSlice CODEC + +maintainers: + - Jon Hunter + - Thierry Reding + +allOf: + - $ref: nvidia,tegra-audio-common.yaml# + +properties: + compatible: + const: nvidia,tegra-audio-trimslice + +required: + - nvidia,i2s-controller + +unevaluatedProperties: false + +examples: + - | + sound { + compatible = "nvidia,tegra-audio-trimslice"; + nvidia,i2s-controller = <&tegra_i2s1>; + nvidia,audio-codec = <&codec>; + clocks = <&tegra_car 112>, <&tegra_car 113>, <&tegra_car 93>; + clock-names = "pll_a", "pll_a_out0", "mclk"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/nvidia,tegra20-das.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/nvidia,tegra20-das.yaml index 5690b47099..44c5ce8ee6 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/nvidia,tegra20-das.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/nvidia,tegra20-das.yaml @@ -1,36 +1,36 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/nvidia,tegra20-das.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: NVIDIA Tegra 20 DAS (Digital Audio Switch) controller - -maintainers: - - Thierry Reding - - Jon Hunter - -properties: - compatible: - const: nvidia,tegra20-das - - reg: - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - bus { - #address-cells = <1>; - #size-cells = <1>; - das@70000c00 { - compatible = "nvidia,tegra20-das"; - reg = <0x70000c00 0x80>; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/nvidia,tegra20-das.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NVIDIA Tegra 20 DAS (Digital Audio Switch) controller + +maintainers: + - Thierry Reding + - Jon Hunter + +properties: + compatible: + const: nvidia,tegra20-das + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + bus { + #address-cells = <1>; + #size-cells = <1>; + das@70000c00 { + compatible = "nvidia,tegra20-das"; + reg = <0x70000c00 0x80>; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/nxp,tfa9879.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/nxp,tfa9879.yaml index 645e967db0..df26248573 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/nxp,tfa9879.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/nxp,tfa9879.yaml @@ -1,44 +1,44 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/nxp,tfa9879.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: NXP TFA9879 class-D audio amplifier - -maintainers: - - Peter Rosin - -allOf: - - $ref: dai-common.yaml# - -properties: - compatible: - const: nxp,tfa9879 - - reg: - maxItems: 1 - - "#sound-dai-cells": - const: 0 - -required: - - compatible - - reg - - '#sound-dai-cells' - -unevaluatedProperties: false - -examples: - - | - i2c1 { - #address-cells = <1>; - #size-cells = <0>; - amplifier@6c { - compatible = "nxp,tfa9879"; - reg = <0x6c>; - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_i2c1>; - #sound-dai-cells = <0>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/nxp,tfa9879.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NXP TFA9879 class-D audio amplifier + +maintainers: + - Peter Rosin + +allOf: + - $ref: dai-common.yaml# + +properties: + compatible: + const: nxp,tfa9879 + + reg: + maxItems: 1 + + "#sound-dai-cells": + const: 0 + +required: + - compatible + - reg + - '#sound-dai-cells' + +unevaluatedProperties: false + +examples: + - | + i2c1 { + #address-cells = <1>; + #size-cells = <0>; + amplifier@6c { + compatible = "nxp,tfa9879"; + reg = <0x6c>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_i2c1>; + #sound-dai-cells = <0>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/option,gtm601.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/option,gtm601.yaml index b4c71ec212..ff813d97fc 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/option,gtm601.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/option,gtm601.yaml @@ -1,42 +1,42 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/option,gtm601.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: GTM601 UMTS modem audio interface CODEC - -maintainers: - - kernel@puri.sm - -description: > - This device has no configuration interface. The sample rate and channels are - based on the compatible string - -properties: - compatible: - oneOf: - - description: Broadmobi BM818 (48Khz stereo) - items: - - const: broadmobi,bm818 - - const: option,gtm601 - - description: GTM601 (8kHz mono) - const: option,gtm601 - - '#sound-dai-cells': - const: 0 - -required: - - compatible - -allOf: - - $ref: dai-common.yaml# - -additionalProperties: false - -examples: - - | - codec { - compatible = "option,gtm601"; - #sound-dai-cells = <0>; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/option,gtm601.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: GTM601 UMTS modem audio interface CODEC + +maintainers: + - kernel@puri.sm + +description: > + This device has no configuration interface. The sample rate and channels are + based on the compatible string + +properties: + compatible: + oneOf: + - description: Broadmobi BM818 (48Khz stereo) + items: + - const: broadmobi,bm818 + - const: option,gtm601 + - description: GTM601 (8kHz mono) + const: option,gtm601 + + '#sound-dai-cells': + const: 0 + +required: + - compatible + +allOf: + - $ref: dai-common.yaml# + +additionalProperties: false + +examples: + - | + codec { + compatible = "option,gtm601"; + #sound-dai-cells = <0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/pcm186x.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/pcm186x.txt index 5f30d4341c..1087f48559 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/pcm186x.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/pcm186x.txt @@ -1,42 +1,42 @@ -Texas Instruments PCM186x Universal Audio ADC - -These devices support both I2C and SPI (configured with pin strapping -on the board). - -Required properties: - - - compatible : "ti,pcm1862", - "ti,pcm1863", - "ti,pcm1864", - "ti,pcm1865" - - - reg : The I2C address of the device for I2C, the chip select - number for SPI. - - - avdd-supply: Analog core power supply (3.3v) - - dvdd-supply: Digital core power supply - - iovdd-supply: Digital IO power supply - See regulator/regulator.txt for more information - -CODEC input pins: - * VINL1 - * VINR1 - * VINL2 - * VINR2 - * VINL3 - * VINR3 - * VINL4 - * VINR4 - -The pins can be used in referring sound node's audio-routing property. - -Example: - - pcm186x: audio-codec@4a { - compatible = "ti,pcm1865"; - reg = <0x4a>; - - avdd-supply = <®_3v3_analog>; - dvdd-supply = <®_3v3>; - iovdd-supply = <®_1v8>; - }; +Texas Instruments PCM186x Universal Audio ADC + +These devices support both I2C and SPI (configured with pin strapping +on the board). + +Required properties: + + - compatible : "ti,pcm1862", + "ti,pcm1863", + "ti,pcm1864", + "ti,pcm1865" + + - reg : The I2C address of the device for I2C, the chip select + number for SPI. + + - avdd-supply: Analog core power supply (3.3v) + - dvdd-supply: Digital core power supply + - iovdd-supply: Digital IO power supply + See regulator/regulator.txt for more information + +CODEC input pins: + * VINL1 + * VINR1 + * VINL2 + * VINR2 + * VINL3 + * VINR3 + * VINL4 + * VINR4 + +The pins can be used in referring sound node's audio-routing property. + +Example: + + pcm186x: audio-codec@4a { + compatible = "ti,pcm1865"; + reg = <0x4a>; + + avdd-supply = <®_3v3_analog>; + dvdd-supply = <®_3v3>; + iovdd-supply = <®_1v8>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/qcom,q6adm-routing.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/qcom,q6adm-routing.yaml index 953acb7820..3f11d2e183 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/qcom,q6adm-routing.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/qcom,q6adm-routing.yaml @@ -1,39 +1,39 @@ -# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/qcom,q6adm-routing.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm Audio Device Manager (Q6ADM) routing - -maintainers: - - Krzysztof Kozlowski - - Srinivas Kandagatla - -description: - Qualcomm Audio Device Manager (Q6ADM) routing node represents routing - specific configuration. - -allOf: - - $ref: dai-common.yaml# - -properties: - compatible: - enum: - - qcom,q6adm-routing - - "#sound-dai-cells": - const: 0 - -required: - - compatible - - "#sound-dai-cells" - -unevaluatedProperties: false - -examples: - - | - routing { - compatible = "qcom,q6adm-routing"; - #sound-dai-cells = <0>; - }; +# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/qcom,q6adm-routing.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Audio Device Manager (Q6ADM) routing + +maintainers: + - Krzysztof Kozlowski + - Srinivas Kandagatla + +description: + Qualcomm Audio Device Manager (Q6ADM) routing node represents routing + specific configuration. + +allOf: + - $ref: dai-common.yaml# + +properties: + compatible: + enum: + - qcom,q6adm-routing + + "#sound-dai-cells": + const: 0 + +required: + - compatible + - "#sound-dai-cells" + +unevaluatedProperties: false + +examples: + - | + routing { + compatible = "qcom,q6adm-routing"; + #sound-dai-cells = <0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/qcom,q6apm-dai.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/qcom,q6apm-dai.yaml index 7c742becef..9e5b30d9c6 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/qcom,q6apm-dai.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/qcom,q6apm-dai.yaml @@ -1,34 +1,34 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/qcom,q6apm-dai.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm Audio Process Manager Digital Audio Interfaces - -maintainers: - - Srinivas Kandagatla - -description: | - This binding describes the Qualcomm APM DAIs in DSP - -properties: - compatible: - const: qcom,q6apm-dais - - iommus: - minItems: 1 - maxItems: 2 - -required: - - compatible - - iommus - -additionalProperties: false - -examples: - - | - dais { - compatible = "qcom,q6apm-dais"; - iommus = <&apps_smmu 0x1801 0x0>; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/qcom,q6apm-dai.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Audio Process Manager Digital Audio Interfaces + +maintainers: + - Srinivas Kandagatla + +description: | + This binding describes the Qualcomm APM DAIs in DSP + +properties: + compatible: + const: qcom,q6apm-dais + + iommus: + minItems: 1 + maxItems: 2 + +required: + - compatible + - iommus + +additionalProperties: false + +examples: + - | + dais { + compatible = "qcom,q6apm-dais"; + iommus = <&apps_smmu 0x1801 0x0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/qcom,q6apm-lpass-dais.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/qcom,q6apm-lpass-dais.yaml index 631a3534a7..894e653d37 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/qcom,q6apm-lpass-dais.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/qcom,q6apm-lpass-dais.yaml @@ -1,35 +1,35 @@ -# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/qcom,q6apm-lpass-dais.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm DSP LPASS (Low Power Audio SubSystem) Audio Ports - -maintainers: - - Krzysztof Kozlowski - - Srinivas Kandagatla - -allOf: - - $ref: dai-common.yaml# - -properties: - compatible: - enum: - - qcom,q6apm-lpass-dais - - '#sound-dai-cells': - const: 1 - -required: - - compatible - - '#sound-dai-cells' - -unevaluatedProperties: false - -examples: - - | - dais { - compatible = "qcom,q6apm-lpass-dais"; - #sound-dai-cells = <1>; - }; +# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/qcom,q6apm-lpass-dais.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm DSP LPASS (Low Power Audio SubSystem) Audio Ports + +maintainers: + - Krzysztof Kozlowski + - Srinivas Kandagatla + +allOf: + - $ref: dai-common.yaml# + +properties: + compatible: + enum: + - qcom,q6apm-lpass-dais + + '#sound-dai-cells': + const: 1 + +required: + - compatible + - '#sound-dai-cells' + +unevaluatedProperties: false + +examples: + - | + dais { + compatible = "qcom,q6apm-lpass-dais"; + #sound-dai-cells = <1>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/qcom,q6core.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/qcom,q6core.yaml index 0fb150f1d6..e240712de9 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/qcom,q6core.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/qcom,q6core.yaml @@ -1,39 +1,39 @@ -# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/qcom,q6core.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm Audio Core (Q6Core) - -maintainers: - - Krzysztof Kozlowski - - Srinivas Kandagatla - -allOf: - - $ref: /schemas/soc/qcom/qcom,apr-services.yaml# - -properties: - compatible: - enum: - - qcom,q6core - -required: - - compatible - -unevaluatedProperties: false - -examples: - - | - #include - - apr { - #address-cells = <1>; - #size-cells = <0>; - - service@3 { - compatible = "qcom,q6core"; - reg = ; - qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd"; - }; - }; +# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/qcom,q6core.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Audio Core (Q6Core) + +maintainers: + - Krzysztof Kozlowski + - Srinivas Kandagatla + +allOf: + - $ref: /schemas/soc/qcom/qcom,apr-services.yaml# + +properties: + compatible: + enum: + - qcom,q6core + +required: + - compatible + +unevaluatedProperties: false + +examples: + - | + #include + + apr { + #address-cells = <1>; + #size-cells = <0>; + + service@3 { + compatible = "qcom,q6core"; + reg = ; + qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd"; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/qcom,q6dsp-lpass-clocks.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/qcom,q6dsp-lpass-clocks.yaml index d98d37acd3..3552c44137 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/qcom,q6dsp-lpass-clocks.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/qcom,q6dsp-lpass-clocks.yaml @@ -1,41 +1,41 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/qcom,q6dsp-lpass-clocks.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm DSP LPASS Clock Controller - -maintainers: - - Srinivas Kandagatla - -description: | - This binding describes the Qualcomm DSP Clock Controller - -properties: - compatible: - enum: - - qcom,q6afe-clocks - - qcom,q6prm-lpass-clocks - - '#clock-cells': - const: 2 - description: - Clock Id is followed by clock coupling attributes. - 1 = for no coupled clock - 2 = for dividend of the coupled clock - 3 = for divisor of the coupled clock - 4 = for inverted and no couple clock - -required: - - compatible - - "#clock-cells" - -additionalProperties: false - -examples: - - | - clock-controller { - compatible = "qcom,q6afe-clocks"; - #clock-cells = <2>; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/qcom,q6dsp-lpass-clocks.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm DSP LPASS Clock Controller + +maintainers: + - Srinivas Kandagatla + +description: | + This binding describes the Qualcomm DSP Clock Controller + +properties: + compatible: + enum: + - qcom,q6afe-clocks + - qcom,q6prm-lpass-clocks + + '#clock-cells': + const: 2 + description: + Clock Id is followed by clock coupling attributes. + 1 = for no coupled clock + 2 = for dividend of the coupled clock + 3 = for divisor of the coupled clock + 4 = for inverted and no couple clock + +required: + - compatible + - "#clock-cells" + +additionalProperties: false + +examples: + - | + clock-controller { + compatible = "qcom,q6afe-clocks"; + #clock-cells = <2>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/realtek,rt1015.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/realtek,rt1015.yaml index e8664fd58a..880196081a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/realtek,rt1015.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/realtek,rt1015.yaml @@ -1,41 +1,41 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/realtek,rt1015.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: RT1015 Mono Class D Audio Amplifier - -maintainers: - - Jack Yu - -properties: - compatible: - enum: - - realtek,rt1015 - - reg: - maxItems: 1 - - realtek,power-up-delay-ms: - description: Set a delay time for flush work to be completed, - this vlaue is adjustable depending on platform. - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - codec@28 { - compatible = "realtek,rt1015"; - reg = <0x28>; - realtek,power-up-delay-ms = <50>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/realtek,rt1015.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: RT1015 Mono Class D Audio Amplifier + +maintainers: + - Jack Yu + +properties: + compatible: + enum: + - realtek,rt1015 + + reg: + maxItems: 1 + + realtek,power-up-delay-ms: + description: Set a delay time for flush work to be completed, + this vlaue is adjustable depending on platform. + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + codec@28 { + compatible = "realtek,rt1015"; + reg = <0x28>; + realtek,power-up-delay-ms = <50>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/realtek,rt1015p.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/realtek,rt1015p.yaml index 5682fd5125..7dac9e6f7f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/realtek,rt1015p.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/realtek,rt1015p.yaml @@ -1,43 +1,43 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/realtek,rt1015p.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Realtek rt1015p codec - -maintainers: - - Tzung-Bi Shih - -description: | - Rt1015p is a rt1015 variant which does not support I2C and - only supports S24, 48kHz, 64FS. - -properties: - compatible: - enum: - - realtek,rt1015p - - realtek,rt1019p - - sdb-gpios: - description: - GPIO used for shutdown control. - 0 means shut down; 1 means power on. - maxItems: 1 - - "#sound-dai-cells": - const: 0 - -required: - - compatible - -additionalProperties: false - -examples: - - | - #include - - rt1015p: rt1015p { - compatible = "realtek,rt1015p"; - sdb-gpios = <&pio 175 GPIO_ACTIVE_HIGH>; - }; +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/realtek,rt1015p.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Realtek rt1015p codec + +maintainers: + - Tzung-Bi Shih + +description: | + Rt1015p is a rt1015 variant which does not support I2C and + only supports S24, 48kHz, 64FS. + +properties: + compatible: + enum: + - realtek,rt1015p + - realtek,rt1019p + + sdb-gpios: + description: + GPIO used for shutdown control. + 0 means shut down; 1 means power on. + maxItems: 1 + + "#sound-dai-cells": + const: 0 + +required: + - compatible + +additionalProperties: false + +examples: + - | + #include + + rt1015p: rt1015p { + compatible = "realtek,rt1015p"; + sdb-gpios = <&pio 175 GPIO_ACTIVE_HIGH>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/realtek,rt1016.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/realtek,rt1016.yaml index 374f707858..5287e9c919 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/realtek,rt1016.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/realtek,rt1016.yaml @@ -1,40 +1,40 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/realtek,rt1016.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Reaktek RT1016 Stereo Class D Audio Amplifier - -maintainers: - - oder_chiou@realtek.com - -allOf: - - $ref: dai-common.yaml# - -properties: - compatible: - const: realtek,rt1016 - - reg: - maxItems: 1 - - "#sound-dai-cells": - const: 0 - -required: - - compatible - - reg - -unevaluatedProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - codec@1a { - compatible = "realtek,rt1016"; - reg = <0x1a>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/realtek,rt1016.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Reaktek RT1016 Stereo Class D Audio Amplifier + +maintainers: + - oder_chiou@realtek.com + +allOf: + - $ref: dai-common.yaml# + +properties: + compatible: + const: realtek,rt1016 + + reg: + maxItems: 1 + + "#sound-dai-cells": + const: 0 + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + codec@1a { + compatible = "realtek,rt1016"; + reg = <0x1a>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/realtek,rt1019.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/realtek,rt1019.yaml index 67fc0207d9..adf5e38f4d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/realtek,rt1019.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/realtek,rt1019.yaml @@ -1,35 +1,35 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/realtek,rt1019.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: RT1019 Mono Class-D Audio Amplifier - -maintainers: - - jack.yu@realtek.com - -properties: - compatible: - const: realtek,rt1019 - - reg: - maxItems: 1 - description: I2C address of the device. - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - rt1019: codec@28 { - compatible = "realtek,rt1019"; - reg = <0x28>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/realtek,rt1019.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: RT1019 Mono Class-D Audio Amplifier + +maintainers: + - jack.yu@realtek.com + +properties: + compatible: + const: realtek,rt1019 + + reg: + maxItems: 1 + description: I2C address of the device. + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + rt1019: codec@28 { + compatible = "realtek,rt1019"; + reg = <0x28>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/rockchip,rk3399-gru-sound.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/rockchip,rk3399-gru-sound.txt index 950088ce7e..72d3cf4c26 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/rockchip,rk3399-gru-sound.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/rockchip,rk3399-gru-sound.txt @@ -1,22 +1,22 @@ -ROCKCHIP with MAX98357A/RT5514/DA7219 codecs on GRU boards - -Required properties: -- compatible: "rockchip,rk3399-gru-sound" -- rockchip,cpu: The phandle of the Rockchip I2S controller that's - connected to the codecs -- rockchip,codec: The phandle of the audio codecs - -Optional properties: -- dmic-wakeup-delay-ms : specify delay time (ms) for DMIC ready. - If this option is specified, which means it's required dmic need - delay for DMIC to ready so that rt5514 can avoid recording before - DMIC send valid data - -Example: - -sound { - compatible = "rockchip,rk3399-gru-sound"; - rockchip,cpu = <&i2s0>; - rockchip,codec = <&max98357a &rt5514 &da7219>; - dmic-wakeup-delay-ms = <20>; -}; +ROCKCHIP with MAX98357A/RT5514/DA7219 codecs on GRU boards + +Required properties: +- compatible: "rockchip,rk3399-gru-sound" +- rockchip,cpu: The phandle of the Rockchip I2S controller that's + connected to the codecs +- rockchip,codec: The phandle of the audio codecs + +Optional properties: +- dmic-wakeup-delay-ms : specify delay time (ms) for DMIC ready. + If this option is specified, which means it's required dmic need + delay for DMIC to ready so that rt5514 can avoid recording before + DMIC send valid data + +Example: + +sound { + compatible = "rockchip,rk3399-gru-sound"; + rockchip,cpu = <&i2s0>; + rockchip,codec = <&max98357a &rt5514 &da7219>; + dmic-wakeup-delay-ms = <20>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/rt5660.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/rt5660.txt index 9289c00303..30be5f9219 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/rt5660.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/rt5660.txt @@ -1,47 +1,47 @@ -RT5660 audio CODEC - -This device supports I2C only. - -Required properties: - -- compatible : "realtek,rt5660". - -- reg : The I2C address of the device. - -Optional properties: - -- clocks: The phandle of the master clock to the CODEC -- clock-names: Should be "mclk" - -- realtek,in1-differential -- realtek,in3-differential - Boolean. Indicate MIC1/3 input are differential, rather than single-ended. - -- realtek,poweroff-in-suspend - Boolean. If the codec will be powered off in suspend, the resume should be - added delay time for waiting codec power ready. - -- realtek,dmic1-data-pin - 0: dmic1 is not used - 1: using GPIO2 pin as dmic1 data pin - 2: using IN1P pin as dmic1 data pin - -Pins on the device (for linking into audio routes) for RT5660: - - * DMIC L1 - * DMIC R1 - * IN1P - * IN1N - * IN2P - * IN3P - * IN3N - * SPO - * LOUTL - * LOUTR - -Example: - -rt5660 { - compatible = "realtek,rt5660"; - reg = <0x1c>; -}; +RT5660 audio CODEC + +This device supports I2C only. + +Required properties: + +- compatible : "realtek,rt5660". + +- reg : The I2C address of the device. + +Optional properties: + +- clocks: The phandle of the master clock to the CODEC +- clock-names: Should be "mclk" + +- realtek,in1-differential +- realtek,in3-differential + Boolean. Indicate MIC1/3 input are differential, rather than single-ended. + +- realtek,poweroff-in-suspend + Boolean. If the codec will be powered off in suspend, the resume should be + added delay time for waiting codec power ready. + +- realtek,dmic1-data-pin + 0: dmic1 is not used + 1: using GPIO2 pin as dmic1 data pin + 2: using IN1P pin as dmic1 data pin + +Pins on the device (for linking into audio routes) for RT5660: + + * DMIC L1 + * DMIC R1 + * IN1P + * IN1N + * IN2P + * IN3P + * IN3N + * SPO + * LOUTL + * LOUTR + +Example: + +rt5660 { + compatible = "realtek,rt5660"; + reg = <0x1c>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/samsung,smdk5250.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/samsung,smdk5250.yaml index 51606edbc8..ac151d3c1d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/samsung,smdk5250.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/samsung,smdk5250.yaml @@ -1,38 +1,38 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/samsung,smdk5250.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Samsung SMDK5250 audio complex with WM8994 codec - -maintainers: - - Krzysztof Kozlowski - - Sylwester Nawrocki - -properties: - compatible: - const: samsung,smdk-wm8994 - - samsung,audio-codec: - description: Phandle to the audio codec. - $ref: /schemas/types.yaml#/definitions/phandle - - samsung,i2s-controller: - description: Phandle to the Samsung I2S controller. - $ref: /schemas/types.yaml#/definitions/phandle - -required: - - compatible - - samsung,audio-codec - - samsung,i2s-controller - -additionalProperties: false - -examples: - - | - sound { - compatible = "samsung,smdk-wm8994"; - samsung,i2s-controller = <&i2s0>; - samsung,audio-codec = <&wm8994>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/samsung,smdk5250.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Samsung SMDK5250 audio complex with WM8994 codec + +maintainers: + - Krzysztof Kozlowski + - Sylwester Nawrocki + +properties: + compatible: + const: samsung,smdk-wm8994 + + samsung,audio-codec: + description: Phandle to the audio codec. + $ref: /schemas/types.yaml#/definitions/phandle + + samsung,i2s-controller: + description: Phandle to the Samsung I2S controller. + $ref: /schemas/types.yaml#/definitions/phandle + +required: + - compatible + - samsung,audio-codec + - samsung,i2s-controller + +additionalProperties: false + +examples: + - | + sound { + compatible = "samsung,smdk-wm8994"; + samsung,i2s-controller = <&i2s0>; + samsung,audio-codec = <&wm8994>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/simple-audio-amplifier.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/simple-audio-amplifier.yaml index a31340c9d8..5db1f989d0 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/simple-audio-amplifier.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/simple-audio-amplifier.yaml @@ -1,45 +1,45 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/simple-audio-amplifier.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Simple Audio Amplifier - -maintainers: - - Jerome Brunet - -allOf: - - $ref: dai-common.yaml# - -properties: - compatible: - enum: - - dioo,dio2125 - - simple-audio-amplifier - - enable-gpios: - maxItems: 1 - - VCC-supply: - description: > - power supply for the device - - sound-name-prefix: true - -required: - - compatible - -additionalProperties: false - -examples: - - | - #include - - analog-amplifier { - compatible = "simple-audio-amplifier"; - VCC-supply = <®ulator>; - enable-gpios = <&gpio GPIOH_3 0>; - }; - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/simple-audio-amplifier.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Simple Audio Amplifier + +maintainers: + - Jerome Brunet + +allOf: + - $ref: dai-common.yaml# + +properties: + compatible: + enum: + - dioo,dio2125 + - simple-audio-amplifier + + enable-gpios: + maxItems: 1 + + VCC-supply: + description: > + power supply for the device + + sound-name-prefix: true + +required: + - compatible + +additionalProperties: false + +examples: + - | + #include + + analog-amplifier { + compatible = "simple-audio-amplifier"; + VCC-supply = <®ulator>; + enable-gpios = <&gpio GPIOH_3 0>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/sirf-audio-port.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/sirf-audio-port.txt index eaf79403fd..1f66de3c8f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/sirf-audio-port.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/sirf-audio-port.txt @@ -1,20 +1,20 @@ -* SiRF SoC audio port - -Required properties: -- compatible: "sirf,audio-port" -- reg: Base address and size entries: -- dmas: List of DMA controller phandle and DMA request line ordered pairs. -- dma-names: Identifier string for each DMA request line in the dmas property. - These strings correspond 1:1 with the ordered pairs in dmas. - - One of the DMA channels will be responsible for transmission (should be - named "tx") and one for reception (should be named "rx"). - -Example: - -audioport: audioport@b0040000 { - compatible = "sirf,audio-port"; - reg = <0xb0040000 0x10000>; - dmas = <&dmac1 3>, <&dmac1 8>; - dma-names = "rx", "tx"; -}; +* SiRF SoC audio port + +Required properties: +- compatible: "sirf,audio-port" +- reg: Base address and size entries: +- dmas: List of DMA controller phandle and DMA request line ordered pairs. +- dma-names: Identifier string for each DMA request line in the dmas property. + These strings correspond 1:1 with the ordered pairs in dmas. + + One of the DMA channels will be responsible for transmission (should be + named "tx") and one for reception (should be named "rx"). + +Example: + +audioport: audioport@b0040000 { + compatible = "sirf,audio-port"; + reg = <0xb0040000 0x10000>; + dmas = <&dmac1 3>, <&dmac1 8>; + dma-names = "rx", "tx"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/soc-ac97link.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/soc-ac97link.txt index c9b6f34051..80152a87f2 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/soc-ac97link.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/soc-ac97link.txt @@ -1,28 +1,28 @@ -AC97 link bindings - -These bindings can be included within any other device node. - -Required properties: - - pinctrl-names: Has to contain following states to setup the correct - pinmuxing for the used gpios: - "ac97-running": AC97-link is active - "ac97-reset": AC97-link reset state - "ac97-warm-reset": AC97-link warm reset state - - ac97-gpios: List of gpio phandles with args in the order ac97-sync, - ac97-sdata, ac97-reset - - -Example: - -ssi { - ... - - pinctrl-names = "default", "ac97-running", "ac97-reset", "ac97-warm-reset"; - pinctrl-0 = <&ac97link_running>; - pinctrl-1 = <&ac97link_running>; - pinctrl-2 = <&ac97link_reset>; - pinctrl-3 = <&ac97link_warm_reset>; - ac97-gpios = <&gpio3 20 0 &gpio3 22 0 &gpio3 28 0>; - - ... -}; +AC97 link bindings + +These bindings can be included within any other device node. + +Required properties: + - pinctrl-names: Has to contain following states to setup the correct + pinmuxing for the used gpios: + "ac97-running": AC97-link is active + "ac97-reset": AC97-link reset state + "ac97-warm-reset": AC97-link warm reset state + - ac97-gpios: List of gpio phandles with args in the order ac97-sync, + ac97-sdata, ac97-reset + + +Example: + +ssi { + ... + + pinctrl-names = "default", "ac97-running", "ac97-reset", "ac97-warm-reset"; + pinctrl-0 = <&ac97link_running>; + pinctrl-1 = <&ac97link_running>; + pinctrl-2 = <&ac97link_reset>; + pinctrl-3 = <&ac97link_warm_reset>; + ac97-gpios = <&gpio3 20 0 &gpio3 22 0 &gpio3 28 0>; + + ... +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/sprd-mcdt.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/sprd-mcdt.txt index a98207ffae..274ba0acbf 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/sprd-mcdt.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/sprd-mcdt.txt @@ -1,19 +1,19 @@ -Spreadtrum Multi-Channel Data Transfer Binding - -The Multi-channel data transfer controller is used for sound stream -transmission between audio subsystem and other AP/CP subsystem. It -supports 10 DAC channel and 10 ADC channel, and each channel can be -configured with DMA mode or interrupt mode. - -Required properties: -- compatible: Should be "sprd,sc9860-mcdt". -- reg: Should contain registers address and length. -- interrupts: Should contain one interrupt shared by all channel. - -Example: - -mcdt@41490000 { - compatible = "sprd,sc9860-mcdt"; - reg = <0 0x41490000 0 0x170>; - interrupts = ; -}; +Spreadtrum Multi-Channel Data Transfer Binding + +The Multi-channel data transfer controller is used for sound stream +transmission between audio subsystem and other AP/CP subsystem. It +supports 10 DAC channel and 10 ADC channel, and each channel can be +configured with DMA mode or interrupt mode. + +Required properties: +- compatible: Should be "sprd,sc9860-mcdt". +- reg: Should contain registers address and length. +- interrupts: Should contain one interrupt shared by all channel. + +Example: + +mcdt@41490000 { + compatible = "sprd,sc9860-mcdt"; + reg = <0 0x41490000 0 0x170>; + interrupts = ; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/sprd-pcm.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/sprd-pcm.txt index 7b52f340ce..fbbcade218 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/sprd-pcm.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/sprd-pcm.txt @@ -1,23 +1,23 @@ -* Spreadtrum DMA platform bindings - -Required properties: -- compatible: Should be "sprd,pcm-platform". -- dmas: Specify the list of DMA controller phandle and DMA request line ordered pairs. -- dma-names: Identifier string for each DMA request line in the dmas property. - These strings correspond 1:1 with the ordered pairs in dmas. - -Example: - - audio_platform:platform@0 { - compatible = "sprd,pcm-platform"; - dmas = <&agcp_dma 1 1>, <&agcp_dma 2 2>, - <&agcp_dma 3 3>, <&agcp_dma 4 4>, - <&agcp_dma 5 5>, <&agcp_dma 6 6>, - <&agcp_dma 7 7>, <&agcp_dma 8 8>, - <&agcp_dma 9 9>, <&agcp_dma 10 10>; - dma-names = "normal_p_l", "normal_p_r", - "normal_c_l", "normal_c_r", - "voice_c", "fast_p", - "loop_c", "loop_p", - "voip_c", "voip_p"; - }; +* Spreadtrum DMA platform bindings + +Required properties: +- compatible: Should be "sprd,pcm-platform". +- dmas: Specify the list of DMA controller phandle and DMA request line ordered pairs. +- dma-names: Identifier string for each DMA request line in the dmas property. + These strings correspond 1:1 with the ordered pairs in dmas. + +Example: + + audio_platform:platform@0 { + compatible = "sprd,pcm-platform"; + dmas = <&agcp_dma 1 1>, <&agcp_dma 2 2>, + <&agcp_dma 3 3>, <&agcp_dma 4 4>, + <&agcp_dma 5 5>, <&agcp_dma 6 6>, + <&agcp_dma 7 7>, <&agcp_dma 8 8>, + <&agcp_dma 9 9>, <&agcp_dma 10 10>; + dma-names = "normal_p_l", "normal_p_r", + "normal_c_l", "normal_c_r", + "voice_c", "fast_p", + "loop_c", "loop_p", + "voip_c", "voip_p"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/tas5720.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/tas5720.txt index e2e44c6e44..7d851ae2bb 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/tas5720.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/tas5720.txt @@ -1,28 +1,28 @@ -Texas Instruments TAS5720 Mono Audio amplifier - -The TAS5720 serial control bus communicates through the I2C protocol only. The -serial bus is also used for periodic codec fault checking/reporting during -audio playback. For more product information please see the links below: - -https://www.ti.com/product/TAS5720L -https://www.ti.com/product/TAS5720M -https://www.ti.com/product/TAS5720A-Q1 -https://www.ti.com/product/TAS5722L - -Required properties: - -- compatible : "ti,tas5720", - "ti,tas5720a-q1", - "ti,tas5722" -- reg : I2C slave address -- dvdd-supply : phandle to a 3.3-V supply for the digital circuitry -- pvdd-supply : phandle to a supply used for the Class-D amp and the analog - -Example: - -tas5720: tas5720@6c { - compatible = "ti,tas5720"; - reg = <0x6c>; - dvdd-supply = <&vdd_3v3_reg>; - pvdd-supply = <&_supply_reg>; -}; +Texas Instruments TAS5720 Mono Audio amplifier + +The TAS5720 serial control bus communicates through the I2C protocol only. The +serial bus is also used for periodic codec fault checking/reporting during +audio playback. For more product information please see the links below: + +https://www.ti.com/product/TAS5720L +https://www.ti.com/product/TAS5720M +https://www.ti.com/product/TAS5720A-Q1 +https://www.ti.com/product/TAS5722L + +Required properties: + +- compatible : "ti,tas5720", + "ti,tas5720a-q1", + "ti,tas5722" +- reg : I2C slave address +- dvdd-supply : phandle to a 3.3-V supply for the digital circuitry +- pvdd-supply : phandle to a supply used for the Class-D amp and the analog + +Example: + +tas5720: tas5720@6c { + compatible = "ti,tas5720"; + reg = <0x6c>; + dvdd-supply = <&vdd_3v3_reg>; + pvdd-supply = <&_supply_reg>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/test-component.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/test-component.yaml index d9c6d39e38..9c40a2122d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/test-component.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/test-component.yaml @@ -1,33 +1,33 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/test-component.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Test Component - -maintainers: - - Kuninori Morimoto - -properties: - compatible: - enum: - - test-cpu - - test-cpu-verbose - - test-cpu-verbose-dai - - test-cpu-verbose-component - - test-codec - - test-codec-verbose - - test-codec-verbose-dai - - test-codec-verbose-component - -required: - - compatible - -additionalProperties: true - -examples: - - | - test_cpu { - compatible = "test-cpu"; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/test-component.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Test Component + +maintainers: + - Kuninori Morimoto + +properties: + compatible: + enum: + - test-cpu + - test-cpu-verbose + - test-cpu-verbose-dai + - test-cpu-verbose-component + - test-codec + - test-codec-verbose + - test-codec-verbose-dai + - test-codec-verbose-component + +required: + - compatible + +additionalProperties: true + +examples: + - | + test_cpu { + compatible = "test-cpu"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/ti,pcm1681.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/ti,pcm1681.yaml index a3524862f2..5aa0061729 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/ti,pcm1681.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/ti,pcm1681.yaml @@ -1,43 +1,43 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/ti,pcm1681.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Texas Instruments PCM1681 8-channel PWM Processor - -maintainers: - - Shenghao Ding - - Kevin Lu - - Baojun Xu - -allOf: - - $ref: dai-common.yaml# - -properties: - compatible: - const: ti,pcm1681 - - reg: - maxItems: 1 - - "#sound-dai-cells": - const: 0 - -required: - - compatible - - reg - -unevaluatedProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - pcm1681: audio-codec@4c { - compatible = "ti,pcm1681"; - reg = <0x4c>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/ti,pcm1681.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Texas Instruments PCM1681 8-channel PWM Processor + +maintainers: + - Shenghao Ding + - Kevin Lu + - Baojun Xu + +allOf: + - $ref: dai-common.yaml# + +properties: + compatible: + const: ti,pcm1681 + + reg: + maxItems: 1 + + "#sound-dai-cells": + const: 0 + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + pcm1681: audio-codec@4c { + compatible = "ti,pcm1681"; + reg = <0x4c>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/ti,src4xxx.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/ti,src4xxx.yaml index 77447ac6c1..27230c682d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/ti,src4xxx.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/ti,src4xxx.yaml @@ -1,48 +1,48 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/ti,src4xxx.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Texas Instruments SRC4392 - -description: | - The SRC4392 is a digital audio codec that can be connected via - I2C or SPI. Currently, only I2C bus is supported. - -maintainers: - - Matt Flax - -allOf: - - $ref: dai-common.yaml# - -properties: - compatible: - const: ti,src4392 - - "#sound-dai-cells": - const: 0 - - reg: - maxItems: 1 - -required: - - "#sound-dai-cells" - - compatible - - reg - -additionalProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - audio-codec@70 { - #sound-dai-cells = <0>; - compatible = "ti,src4392"; - reg = <0x70>; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/ti,src4xxx.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Texas Instruments SRC4392 + +description: | + The SRC4392 is a digital audio codec that can be connected via + I2C or SPI. Currently, only I2C bus is supported. + +maintainers: + - Matt Flax + +allOf: + - $ref: dai-common.yaml# + +properties: + compatible: + const: ti,src4392 + + "#sound-dai-cells": + const: 0 + + reg: + maxItems: 1 + +required: + - "#sound-dai-cells" + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + audio-codec@70 { + #sound-dai-cells = <0>; + compatible = "ti,src4392"; + reg = <0x70>; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/wlf,wm8510.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/wlf,wm8510.yaml index 68be6b2ebb..6d12b0ac37 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/wlf,wm8510.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/wlf,wm8510.yaml @@ -1,41 +1,41 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/wlf,wm8510.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: WM8510 audio CODEC - -maintainers: - - patches@opensource.cirrus.com - -allOf: - - $ref: dai-common.yaml# - -properties: - compatible: - const: wlf,wm8510 - - reg: - maxItems: 1 - - "#sound-dai-cells": - const: 0 - -required: - - compatible - - reg - -unevaluatedProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - codec@1a { - compatible = "wlf,wm8510"; - reg = <0x1a>; - }; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/wlf,wm8510.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: WM8510 audio CODEC + +maintainers: + - patches@opensource.cirrus.com + +allOf: + - $ref: dai-common.yaml# + +properties: + compatible: + const: wlf,wm8510 + + reg: + maxItems: 1 + + "#sound-dai-cells": + const: 0 + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + codec@1a { + compatible = "wlf,wm8510"; + reg = <0x1a>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/wlf,wm8523.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/wlf,wm8523.yaml index 18c7e1218b..decc395bb8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/wlf,wm8523.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/wlf,wm8523.yaml @@ -1,40 +1,40 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/wlf,wm8523.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: WM8523 audio CODEC - -maintainers: - - patches@opensource.cirrus.com - -allOf: - - $ref: dai-common.yaml# - -properties: - compatible: - const: wlf,wm8523 - - reg: - maxItems: 1 - - "#sound-dai-cells": - const: 0 - -required: - - compatible - - reg - -unevaluatedProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - codec@1a { - compatible = "wlf,wm8523"; - reg = <0x1a>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/wlf,wm8523.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: WM8523 audio CODEC + +maintainers: + - patches@opensource.cirrus.com + +allOf: + - $ref: dai-common.yaml# + +properties: + compatible: + const: wlf,wm8523 + + reg: + maxItems: 1 + + "#sound-dai-cells": + const: 0 + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + codec@1a { + compatible = "wlf,wm8523"; + reg = <0x1a>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/wlf,wm8524.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/wlf,wm8524.yaml index 9401f9996a..4d951ece39 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/wlf,wm8524.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/wlf,wm8524.yaml @@ -1,40 +1,40 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/wlf,wm8524.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Wolfson WM8524 24-bit 192KHz Stereo DAC - -maintainers: - - patches@opensource.cirrus.com - -allOf: - - $ref: dai-common.yaml# - -properties: - compatible: - const: wlf,wm8524 - - "#sound-dai-cells": - const: 0 - - wlf,mute-gpios: - maxItems: 1 - description: - a GPIO spec for the MUTE pin. - -required: - - compatible - - wlf,mute-gpios - -unevaluatedProperties: false - -examples: - - | - #include - - wm8524: codec { - compatible = "wlf,wm8524"; - wlf,mute-gpios = <&gpio1 8 GPIO_ACTIVE_LOW>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/wlf,wm8524.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Wolfson WM8524 24-bit 192KHz Stereo DAC + +maintainers: + - patches@opensource.cirrus.com + +allOf: + - $ref: dai-common.yaml# + +properties: + compatible: + const: wlf,wm8524 + + "#sound-dai-cells": + const: 0 + + wlf,mute-gpios: + maxItems: 1 + description: + a GPIO spec for the MUTE pin. + +required: + - compatible + - wlf,mute-gpios + +unevaluatedProperties: false + +examples: + - | + #include + + wm8524: codec { + compatible = "wlf,wm8524"; + wlf,mute-gpios = <&gpio1 8 GPIO_ACTIVE_LOW>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/wlf,wm8580.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/wlf,wm8580.yaml index bd9ca5df42..2f27852cdc 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/wlf,wm8580.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/wlf,wm8580.yaml @@ -1,42 +1,42 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/wlf,wm8580.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: WM8580 and WM8581 audio CODEC - -maintainers: - - patches@opensource.cirrus.com - -allOf: - - $ref: dai-common.yaml# - -properties: - compatible: - enum: - - wlf,wm8580 - - wlf,wm8581 - - reg: - maxItems: 1 - - "#sound-dai-cells": - const: 0 - -required: - - compatible - - reg - -unevaluatedProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - codec@1a { - compatible = "wlf,wm8580"; - reg = <0x1a>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/wlf,wm8580.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: WM8580 and WM8581 audio CODEC + +maintainers: + - patches@opensource.cirrus.com + +allOf: + - $ref: dai-common.yaml# + +properties: + compatible: + enum: + - wlf,wm8580 + - wlf,wm8581 + + reg: + maxItems: 1 + + "#sound-dai-cells": + const: 0 + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + codec@1a { + compatible = "wlf,wm8580"; + reg = <0x1a>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/wlf,wm8711.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/wlf,wm8711.yaml index d8bfb4b1f0..ecaac2818b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/wlf,wm8711.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/wlf,wm8711.yaml @@ -1,40 +1,40 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/wlf,wm8711.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: WM8711 audio CODEC - -maintainers: - - patches@opensource.cirrus.com - -allOf: - - $ref: dai-common.yaml# - -properties: - compatible: - const: wlf,wm8711 - - reg: - maxItems: 1 - - "#sound-dai-cells": - const: 0 - -required: - - compatible - - reg - -unevaluatedProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - codec@1a { - compatible = "wlf,wm8711"; - reg = <0x1a>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/wlf,wm8711.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: WM8711 audio CODEC + +maintainers: + - patches@opensource.cirrus.com + +allOf: + - $ref: dai-common.yaml# + +properties: + compatible: + const: wlf,wm8711 + + reg: + maxItems: 1 + + "#sound-dai-cells": + const: 0 + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + codec@1a { + compatible = "wlf,wm8711"; + reg = <0x1a>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/wlf,wm8728.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/wlf,wm8728.yaml index 425efc765c..fc89475a05 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/wlf,wm8728.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/wlf,wm8728.yaml @@ -1,40 +1,40 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/wlf,wm8728.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: WM8728 audio CODEC - -maintainers: - - patches@opensource.cirrus.com - -allOf: - - $ref: dai-common.yaml# - -properties: - compatible: - const: wlf,wm8728 - - reg: - maxItems: 1 - - "#sound-dai-cells": - const: 0 - -required: - - compatible - - reg - -unevaluatedProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - codec@1a { - compatible = "wlf,wm8728"; - reg = <0x1a>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/wlf,wm8728.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: WM8728 audio CODEC + +maintainers: + - patches@opensource.cirrus.com + +allOf: + - $ref: dai-common.yaml# + +properties: + compatible: + const: wlf,wm8728 + + reg: + maxItems: 1 + + "#sound-dai-cells": + const: 0 + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + codec@1a { + compatible = "wlf,wm8728"; + reg = <0x1a>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/wlf,wm8737.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/wlf,wm8737.yaml index d150b12d67..12d8765726 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/wlf,wm8737.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/wlf,wm8737.yaml @@ -1,40 +1,40 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/wlf,wm8737.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: WM8737 audio CODEC - -maintainers: - - patches@opensource.cirrus.com - -allOf: - - $ref: dai-common.yaml# - -properties: - compatible: - const: wlf,wm8737 - - reg: - maxItems: 1 - - "#sound-dai-cells": - const: 0 - -required: - - compatible - - reg - -unevaluatedProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - codec@1a { - compatible = "wlf,wm8737"; - reg = <0x1a>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/wlf,wm8737.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: WM8737 audio CODEC + +maintainers: + - patches@opensource.cirrus.com + +allOf: + - $ref: dai-common.yaml# + +properties: + compatible: + const: wlf,wm8737 + + reg: + maxItems: 1 + + "#sound-dai-cells": + const: 0 + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + codec@1a { + compatible = "wlf,wm8737"; + reg = <0x1a>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/wlf,wm8750.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/wlf,wm8750.yaml index 32a6c2253d..96859e3831 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/wlf,wm8750.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/wlf,wm8750.yaml @@ -1,42 +1,42 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/wlf,wm8750.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: WM8750 and WM8987 audio CODECs - -description: | - These devices support both I2C and SPI (configured with pin strapping - on the board). - -maintainers: - - Mark Brown - -properties: - compatible: - enum: - - wlf,wm8750 - - wlf,wm8987 - - reg: - description: - The I2C address of the device for I2C, the chip select number for SPI - maxItems: 1 - -additionalProperties: false - -required: - - reg - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - codec@1a { - compatible = "wlf,wm8750"; - reg = <0x1a>; - }; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/wlf,wm8750.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: WM8750 and WM8987 audio CODECs + +description: | + These devices support both I2C and SPI (configured with pin strapping + on the board). + +maintainers: + - Mark Brown + +properties: + compatible: + enum: + - wlf,wm8750 + - wlf,wm8987 + + reg: + description: + The I2C address of the device for I2C, the chip select number for SPI + maxItems: 1 + +additionalProperties: false + +required: + - reg + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + codec@1a { + compatible = "wlf,wm8750"; + reg = <0x1a>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/wlf,wm8776.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/wlf,wm8776.yaml index 10a2dc19c8..7bbc96ee81 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/wlf,wm8776.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/wlf,wm8776.yaml @@ -1,41 +1,41 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/wlf,wm8776.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: WM8776 audio CODEC - -maintainers: - - patches@opensource.cirrus.com - -allOf: - - $ref: dai-common.yaml# - -properties: - compatible: - const: wlf,wm8776 - - reg: - maxItems: 1 - - "#sound-dai-cells": - const: 0 - -required: - - compatible - - reg - -unevaluatedProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - codec@1a { - compatible = "wlf,wm8776"; - reg = <0x1a>; - }; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/wlf,wm8776.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: WM8776 audio CODEC + +maintainers: + - patches@opensource.cirrus.com + +allOf: + - $ref: dai-common.yaml# + +properties: + compatible: + const: wlf,wm8776 + + reg: + maxItems: 1 + + "#sound-dai-cells": + const: 0 + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + codec@1a { + compatible = "wlf,wm8776"; + reg = <0x1a>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/wlf,wm8961.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/wlf,wm8961.yaml index cb0a703ea6..f580785455 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/wlf,wm8961.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/wlf,wm8961.yaml @@ -1,43 +1,43 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/wlf,wm8961.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Wolfson WM8961 Ultra-Low Power Stereo CODEC - -maintainers: - - patches@opensource.cirrus.com - -allOf: - - $ref: dai-common.yaml# - -properties: - compatible: - const: wlf,wm8961 - - reg: - maxItems: 1 - - '#sound-dai-cells': - const: 0 - -required: - - compatible - - reg - - '#sound-dai-cells' - -unevaluatedProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - wm8961: codec@4a { - compatible = "wlf,wm8961"; - reg = <0x4a>; - #sound-dai-cells = <0>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/wlf,wm8961.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Wolfson WM8961 Ultra-Low Power Stereo CODEC + +maintainers: + - patches@opensource.cirrus.com + +allOf: + - $ref: dai-common.yaml# + +properties: + compatible: + const: wlf,wm8961 + + reg: + maxItems: 1 + + '#sound-dai-cells': + const: 0 + +required: + - compatible + - reg + - '#sound-dai-cells' + +unevaluatedProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + wm8961: codec@4a { + compatible = "wlf,wm8961"; + reg = <0x4a>; + #sound-dai-cells = <0>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/wlf,wm8974.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/wlf,wm8974.yaml index c9fafe947f..d27300207c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/wlf,wm8974.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/wlf,wm8974.yaml @@ -1,41 +1,41 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/wlf,wm8974.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: WM8974 audio CODEC - -maintainers: - - patches@opensource.cirrus.com - -allOf: - - $ref: dai-common.yaml# - -properties: - compatible: - const: wlf,wm8974 - - reg: - maxItems: 1 - - "#sound-dai-cells": - const: 0 - -required: - - compatible - - reg - -unevaluatedProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - codec@1a { - compatible = "wlf,wm8974"; - reg = <0x1a>; - }; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/wlf,wm8974.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: WM8974 audio CODEC + +maintainers: + - patches@opensource.cirrus.com + +allOf: + - $ref: dai-common.yaml# + +properties: + compatible: + const: wlf,wm8974 + + reg: + maxItems: 1 + + "#sound-dai-cells": + const: 0 + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + codec@1a { + compatible = "wlf,wm8974"; + reg = <0x1a>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/xlnx,i2s.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/xlnx,i2s.txt index 32e32991ea..5e7c7d5bb6 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/xlnx,i2s.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/xlnx,i2s.txt @@ -1,28 +1,28 @@ -Device-Tree bindings for Xilinx I2S PL block - -The IP supports I2S based playback/capture audio - -Required property: - - compatible: "xlnx,i2s-transmitter-1.0" for playback and - "xlnx,i2s-receiver-1.0" for capture - -Required property common to both I2S playback and capture: - - reg: Base address and size of the IP core instance. - - xlnx,dwidth: sample data width. Can be any of 16, 24. - - xlnx,num-channels: Number of I2S streams. Can be any of 1, 2, 3, 4. - supported channels = 2 * xlnx,num-channels - -Example: - - i2s_receiver@a0080000 { - compatible = "xlnx,i2s-receiver-1.0"; - reg = <0x0 0xa0080000 0x0 0x10000>; - xlnx,dwidth = <0x18>; - xlnx,num-channels = <1>; - }; - i2s_transmitter@a0090000 { - compatible = "xlnx,i2s-transmitter-1.0"; - reg = <0x0 0xa0090000 0x0 0x10000>; - xlnx,dwidth = <0x18>; - xlnx,num-channels = <1>; - }; +Device-Tree bindings for Xilinx I2S PL block + +The IP supports I2S based playback/capture audio + +Required property: + - compatible: "xlnx,i2s-transmitter-1.0" for playback and + "xlnx,i2s-receiver-1.0" for capture + +Required property common to both I2S playback and capture: + - reg: Base address and size of the IP core instance. + - xlnx,dwidth: sample data width. Can be any of 16, 24. + - xlnx,num-channels: Number of I2S streams. Can be any of 1, 2, 3, 4. + supported channels = 2 * xlnx,num-channels + +Example: + + i2s_receiver@a0080000 { + compatible = "xlnx,i2s-receiver-1.0"; + reg = <0x0 0xa0080000 0x0 0x10000>; + xlnx,dwidth = <0x18>; + xlnx,num-channels = <1>; + }; + i2s_transmitter@a0090000 { + compatible = "xlnx,i2s-transmitter-1.0"; + reg = <0x0 0xa0090000 0x0 0x10000>; + xlnx,dwidth = <0x18>; + xlnx,num-channels = <1>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/xlnx,spdif.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/xlnx,spdif.txt index 79b9d00c50..15c2d64d24 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/xlnx,spdif.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/xlnx,spdif.txt @@ -1,28 +1,28 @@ -Device-Tree bindings for Xilinx SPDIF IP - -The IP supports playback and capture of SPDIF audio - -Required properties: - - compatible: "xlnx,spdif-2.0" - - clock-names: List of input clocks. - Required elements: "s_axi_aclk", "aud_clk_i" - - clocks: Input clock specifier. Refer to common clock bindings. - - reg: Base address and address length of the IP core instance. - - interrupts-parent: Phandle for interrupt controller. - - interrupts: List of Interrupt numbers. - - xlnx,spdif-mode: 0 :- receiver mode - 1 :- transmitter mode - - xlnx,aud_clk_i: input audio clock value. - -Example: - spdif_0: spdif@80010000 { - clock-names = "aud_clk_i", "s_axi_aclk"; - clocks = <&misc_clk_0>, <&clk 71>; - compatible = "xlnx,spdif-2.0"; - interrupt-names = "spdif_interrupt"; - interrupt-parent = <&gic>; - interrupts = <0 91 4>; - reg = <0x0 0x80010000 0x0 0x10000>; - xlnx,spdif-mode = <1>; - xlnx,aud_clk_i = <49152913>; - }; +Device-Tree bindings for Xilinx SPDIF IP + +The IP supports playback and capture of SPDIF audio + +Required properties: + - compatible: "xlnx,spdif-2.0" + - clock-names: List of input clocks. + Required elements: "s_axi_aclk", "aud_clk_i" + - clocks: Input clock specifier. Refer to common clock bindings. + - reg: Base address and address length of the IP core instance. + - interrupts-parent: Phandle for interrupt controller. + - interrupts: List of Interrupt numbers. + - xlnx,spdif-mode: 0 :- receiver mode + 1 :- transmitter mode + - xlnx,aud_clk_i: input audio clock value. + +Example: + spdif_0: spdif@80010000 { + clock-names = "aud_clk_i", "s_axi_aclk"; + clocks = <&misc_clk_0>, <&clk 71>; + compatible = "xlnx,spdif-2.0"; + interrupt-names = "spdif_interrupt"; + interrupt-parent = <&gic>; + interrupts = <0 91 4>; + reg = <0x0 0x80010000 0x0 0x10000>; + xlnx,spdif-mode = <1>; + xlnx,aud_clk_i = <49152913>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/amlogic,a1-spifc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/amlogic,a1-spifc.yaml index c35d55b7b3..043879b434 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/amlogic,a1-spifc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/amlogic,a1-spifc.yaml @@ -1,44 +1,44 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/spi/amlogic,a1-spifc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Amlogic A1 SPI Flash Controller - -maintainers: - - Martin Kurbanov - -allOf: - - $ref: spi-controller.yaml# - -properties: - compatible: - enum: - - amlogic,a1-spifc - - reg: - maxItems: 1 - - clocks: - maxItems: 1 - - power-domains: - maxItems: 1 - -required: - - compatible - - reg - - clocks - -unevaluatedProperties: false - -examples: - - | - spi@fd000400 { - compatible = "amlogic,a1-spifc"; - reg = <0xfd000400 0x290>; - clocks = <&clkc_clkid_spifc>; - #address-cells = <1>; - #size-cells = <0>; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/spi/amlogic,a1-spifc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Amlogic A1 SPI Flash Controller + +maintainers: + - Martin Kurbanov + +allOf: + - $ref: spi-controller.yaml# + +properties: + compatible: + enum: + - amlogic,a1-spifc + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + power-domains: + maxItems: 1 + +required: + - compatible + - reg + - clocks + +unevaluatedProperties: false + +examples: + - | + spi@fd000400 { + compatible = "amlogic,a1-spifc"; + reg = <0xfd000400 0x290>; + clocks = <&clkc_clkid_spifc>; + #address-cells = <1>; + #size-cells = <0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/brcm,bcm2835-spi.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/brcm,bcm2835-spi.yaml index cd80bd2393..94da687921 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/brcm,bcm2835-spi.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/brcm,bcm2835-spi.yaml @@ -1,50 +1,50 @@ -# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/spi/brcm,bcm2835-spi.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Broadcom BCM2835 SPI0 controller - -maintainers: - - Florian Fainelli - - Kanak Shilledar - - Stefan Wahren - -allOf: - - $ref: spi-controller.yaml# - -properties: - compatible: - enum: - - brcm,bcm2835-spi - - brcm,bcm2711-spi - - brcm,bcm7211-spi - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - maxItems: 1 - -required: - - compatible - - reg - - interrupts - - clocks - -unevaluatedProperties: false - -examples: - - | - spi@20204000 { - compatible = "brcm,bcm2835-spi"; - reg = <0x7e204000 0x1000>; - interrupts = <2 22>; - clocks = <&clk_spi>; - #address-cells = <1>; - #size-cells = <0>; - }; +# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/spi/brcm,bcm2835-spi.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom BCM2835 SPI0 controller + +maintainers: + - Florian Fainelli + - Kanak Shilledar + - Stefan Wahren + +allOf: + - $ref: spi-controller.yaml# + +properties: + compatible: + enum: + - brcm,bcm2835-spi + - brcm,bcm2711-spi + - brcm,bcm7211-spi + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + - clocks + +unevaluatedProperties: false + +examples: + - | + spi@20204000 { + compatible = "brcm,bcm2835-spi"; + reg = <0x7e204000 0x1000>; + interrupts = <2 22>; + clocks = <&clk_spi>; + #address-cells = <1>; + #size-cells = <0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/fsl,dspi-peripheral-props.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/fsl,dspi-peripheral-props.yaml index 5c3abeba25..9b62b75e17 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/fsl,dspi-peripheral-props.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/fsl,dspi-peripheral-props.yaml @@ -1,30 +1,30 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/spi/fsl,dspi-peripheral-props.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Peripheral-specific properties for Freescale DSPI controller - -maintainers: - - Vladimir Oltean - -description: - See spi-peripheral-props.yaml for more info. - -properties: - fsl,spi-cs-sck-delay: - deprecated: true - description: - Delay in nanoseconds between activating chip select and the start of - clock signal, at the start of a transfer. - $ref: /schemas/types.yaml#/definitions/uint32 - - fsl,spi-sck-cs-delay: - deprecated: true - description: - Delay in nanoseconds between stopping the clock signal and - deactivating chip select, at the end of a transfer. - $ref: /schemas/types.yaml#/definitions/uint32 - -additionalProperties: true +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/spi/fsl,dspi-peripheral-props.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Peripheral-specific properties for Freescale DSPI controller + +maintainers: + - Vladimir Oltean + +description: + See spi-peripheral-props.yaml for more info. + +properties: + fsl,spi-cs-sck-delay: + deprecated: true + description: + Delay in nanoseconds between activating chip select and the start of + clock signal, at the start of a transfer. + $ref: /schemas/types.yaml#/definitions/uint32 + + fsl,spi-sck-cs-delay: + deprecated: true + description: + Delay in nanoseconds between stopping the clock signal and + deactivating chip select, at the end of a transfer. + $ref: /schemas/types.yaml#/definitions/uint32 + +additionalProperties: true diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/jcore,spi.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/jcore,spi.txt index 4644b1bee0..93936d16e1 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/jcore,spi.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/jcore,spi.txt @@ -1,34 +1,34 @@ -J-Core SPI master - -Required properties: - -- compatible: Must be "jcore,spi2". - -- reg: Memory region for registers. - -- #address-cells: Must be 1. - -- #size-cells: Must be 0. - -Optional properties: - -- clocks: If a phandle named "ref_clk" is present, SPI clock speed - programming is relative to the frequency of the indicated clock. - Necessary only if the input clock rate is something other than a - fixed 50 MHz. - -- clock-names: Clock names, one for each phandle in clocks. - -See spi-bus.txt for additional properties not specific to this device. - -Example: - -spi@40 { - compatible = "jcore,spi2"; - #address-cells = <1>; - #size-cells = <0>; - reg = <0x40 0x8>; - spi-max-frequency = <25000000>; - clocks = <&bus_clk>; - clock-names = "ref_clk"; -} +J-Core SPI master + +Required properties: + +- compatible: Must be "jcore,spi2". + +- reg: Memory region for registers. + +- #address-cells: Must be 1. + +- #size-cells: Must be 0. + +Optional properties: + +- clocks: If a phandle named "ref_clk" is present, SPI clock speed + programming is relative to the frequency of the indicated clock. + Necessary only if the input clock rate is something other than a + fixed 50 MHz. + +- clock-names: Clock names, one for each phandle in clocks. + +See spi-bus.txt for additional properties not specific to this device. + +Example: + +spi@40 { + compatible = "jcore,spi2"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x40 0x8>; + spi-max-frequency = <25000000>; + clocks = <&bus_clk>; + clock-names = "ref_clk"; +} diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/loongson,ls2k-spi.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/loongson,ls2k-spi.yaml index c9d22baebd..de9d32fead 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/loongson,ls2k-spi.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/loongson,ls2k-spi.yaml @@ -1,46 +1,46 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/spi/loongson,ls2k-spi.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Loongson SPI controller - -maintainers: - - Yinbo Zhu - -allOf: - - $ref: /schemas/spi/spi-controller.yaml# - -properties: - compatible: - oneOf: - - enum: - - loongson,ls2k1000-spi - - items: - - enum: - - loongson,ls2k0500-spi - - const: loongson,ls2k1000-spi - - reg: - maxItems: 1 - - clocks: - maxItems: 1 - -required: - - compatible - - reg - - clocks - -unevaluatedProperties: false - -examples: - - | - spi0: spi@1fff0220{ - compatible = "loongson,ls2k1000-spi"; - reg = <0x1fff0220 0x10>; - clocks = <&clk 17>; - #address-cells = <1>; - #size-cells = <0>; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/spi/loongson,ls2k-spi.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Loongson SPI controller + +maintainers: + - Yinbo Zhu + +allOf: + - $ref: /schemas/spi/spi-controller.yaml# + +properties: + compatible: + oneOf: + - enum: + - loongson,ls2k1000-spi + - items: + - enum: + - loongson,ls2k0500-spi + - const: loongson,ls2k1000-spi + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + +required: + - compatible + - reg + - clocks + +unevaluatedProperties: false + +examples: + - | + spi0: spi@1fff0220{ + compatible = "loongson,ls2k1000-spi"; + reg = <0x1fff0220 0x10>; + clocks = <&clk 17>; + #address-cells = <1>; + #size-cells = <0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/mikrotik,rb4xx-spi.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/mikrotik,rb4xx-spi.yaml index 75392bc3de..303f6dca89 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/mikrotik,rb4xx-spi.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/mikrotik,rb4xx-spi.yaml @@ -1,38 +1,38 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/spi/mikrotik,rb4xx-spi.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: MikroTik RB4xx series SPI master - -maintainers: - - Gabor Juhos - - Bert Vermeulen - -allOf: - - $ref: spi-controller.yaml# - -properties: - compatible: - const: mikrotik,rb4xx-spi - - reg: - maxItems: 1 - -required: - - compatible - - reg - -unevaluatedProperties: false - -examples: - - | - spi: spi@1f000000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "mikrotik,rb4xx-spi"; - reg = <0x1f000000 0x10>; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/spi/mikrotik,rb4xx-spi.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: MikroTik RB4xx series SPI master + +maintainers: + - Gabor Juhos + - Bert Vermeulen + +allOf: + - $ref: spi-controller.yaml# + +properties: + compatible: + const: mikrotik,rb4xx-spi + + reg: + maxItems: 1 + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + spi: spi@1f000000 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "mikrotik,rb4xx-spi"; + reg = <0x1f000000 0x10>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/qca,ar934x-spi.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/qca,ar934x-spi.yaml index 93dc2af838..7b19f2c1cb 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/qca,ar934x-spi.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/qca,ar934x-spi.yaml @@ -1,43 +1,43 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/spi/qca,ar934x-spi.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm Atheros AR934x/QCA95xx SoC SPI controller - -maintainers: - - Chuanhong Guo - -allOf: - - $ref: spi-controller.yaml# - -properties: - compatible: - const: qca,ar934x-spi - - reg: - maxItems: 1 - - clocks: - maxItems: 1 - -required: - - compatible - - reg - - clocks - - '#address-cells' - - '#size-cells' - -unevaluatedProperties: false - -examples: - - | - #include - spi: spi@1f000000 { - compatible = "qca,ar934x-spi"; - reg = <0x1f000000 0x1c>; - clocks = <&pll ATH79_CLK_AHB>; - #address-cells = <1>; - #size-cells = <0>; - }; +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/spi/qca,ar934x-spi.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Atheros AR934x/QCA95xx SoC SPI controller + +maintainers: + - Chuanhong Guo + +allOf: + - $ref: spi-controller.yaml# + +properties: + compatible: + const: qca,ar934x-spi + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + +required: + - compatible + - reg + - clocks + - '#address-cells' + - '#size-cells' + +unevaluatedProperties: false + +examples: + - | + #include + spi: spi@1f000000 { + compatible = "qca,ar934x-spi"; + reg = <0x1f000000 0x1c>; + clocks = <&pll ATH79_CLK_AHB>; + #address-cells = <1>; + #size-cells = <0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/realtek,rtl-spi.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/realtek,rtl-spi.yaml index c0fb961e19..70330d945a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/realtek,rtl-spi.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/realtek,rtl-spi.yaml @@ -1,41 +1,41 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/spi/realtek,rtl-spi.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Realtek RTL838x/RTL839x SPI controller - -maintainers: - - Bert Vermeulen - - Birger Koblitz - -allOf: - - $ref: spi-controller.yaml# - -properties: - compatible: - enum: - - realtek,rtl8380-spi - - realtek,rtl8382-spi - - realtek,rtl8391-spi - - realtek,rtl8392-spi - - realtek,rtl8393-spi - - reg: - maxItems: 1 - -required: - - compatible - - reg - -unevaluatedProperties: false - -examples: - - | - spi: spi@1200 { - compatible = "realtek,rtl8382-spi"; - reg = <0x1200 0x100>; - #address-cells = <1>; - #size-cells = <0>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/spi/realtek,rtl-spi.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Realtek RTL838x/RTL839x SPI controller + +maintainers: + - Bert Vermeulen + - Birger Koblitz + +allOf: + - $ref: spi-controller.yaml# + +properties: + compatible: + enum: + - realtek,rtl8380-spi + - realtek,rtl8382-spi + - realtek,rtl8391-spi + - realtek,rtl8392-spi + - realtek,rtl8393-spi + + reg: + maxItems: 1 + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + spi: spi@1200 { + compatible = "realtek,rtl8382-spi"; + reg = <0x1200 0x100>; + #address-cells = <1>; + #size-cells = <0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/spi-ath79.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/spi-ath79.txt index fd71aaa557..9c696fa66f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/spi-ath79.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/spi-ath79.txt @@ -1,24 +1,24 @@ -Binding for Qualcomm Atheros AR7xxx/AR9xxx SPI controller - -Required properties: -- compatible: has to be "qca,-spi", "qca,ar7100-spi" as fallback. -- reg: Base address and size of the controllers memory area -- clocks: phandle of the AHB clock. -- clock-names: has to be "ahb". -- #address-cells: <1>, as required by generic SPI binding. -- #size-cells: <0>, also as required by generic SPI binding. - -Child nodes as per the generic SPI binding. - -Example: - - spi@1f000000 { - compatible = "qca,ar9132-spi", "qca,ar7100-spi"; - reg = <0x1f000000 0x10>; - - clocks = <&pll 2>; - clock-names = "ahb"; - - #address-cells = <1>; - #size-cells = <0>; - }; +Binding for Qualcomm Atheros AR7xxx/AR9xxx SPI controller + +Required properties: +- compatible: has to be "qca,-spi", "qca,ar7100-spi" as fallback. +- reg: Base address and size of the controllers memory area +- clocks: phandle of the AHB clock. +- clock-names: has to be "ahb". +- #address-cells: <1>, as required by generic SPI binding. +- #size-cells: <0>, also as required by generic SPI binding. + +Child nodes as per the generic SPI binding. + +Example: + + spi@1f000000 { + compatible = "qca,ar9132-spi", "qca,ar7100-spi"; + reg = <0x1f000000 0x10>; + + clocks = <&pll 2>; + clock-names = "ahb"; + + #address-cells = <1>; + #size-cells = <0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/spi-clps711x.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/spi-clps711x.txt index 01a61d93d2..5122dc7860 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/spi-clps711x.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/spi-clps711x.txt @@ -1,32 +1,32 @@ -Serial Peripheral Interface on Cirrus Logic CL-PS71xx, EP72xx, EP73xx - -Required properties -- #address-cells: must be <1> -- #size-cells: must be <0> -- compatible: should include "cirrus,ep7209-spi" -- reg: Address and length of one register range -- interrupts: one interrupt line -- clocks: One entry, refers to the SPI bus clock -- cs-gpios: Specifies the gpio pins to be used for chipselects. - See: Documentation/devicetree/bindings/spi/spi-bus.txt - -An additional register is present in the system controller, -which is assumed to be in the same device tree, with and marked -as compatible with "cirrus,ep7209-syscon3". - -Example: - -spi@80000500 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "cirrus,ep7209-spi"; - reg = <0x80000500 0x4>; - interrupts = <15>; - clocks = <&clks CLPS711X_CLK_SPI>; -}; - -syscon3: syscon@80002200 { - compatible = "cirrus,ep7209-syscon3", "syscon"; - reg = <0x80002200 0x40>; -}; - +Serial Peripheral Interface on Cirrus Logic CL-PS71xx, EP72xx, EP73xx + +Required properties +- #address-cells: must be <1> +- #size-cells: must be <0> +- compatible: should include "cirrus,ep7209-spi" +- reg: Address and length of one register range +- interrupts: one interrupt line +- clocks: One entry, refers to the SPI bus clock +- cs-gpios: Specifies the gpio pins to be used for chipselects. + See: Documentation/devicetree/bindings/spi/spi-bus.txt + +An additional register is present in the system controller, +which is assumed to be in the same device tree, with and marked +as compatible with "cirrus,ep7209-syscon3". + +Example: + +spi@80000500 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "cirrus,ep7209-spi"; + reg = <0x80000500 0x4>; + interrupts = <15>; + clocks = <&clks CLPS711X_CLK_SPI>; +}; + +syscon3: syscon@80002200 { + compatible = "cirrus,ep7209-syscon3", "syscon"; + reg = <0x80002200 0x40>; +}; + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/spi-octeon.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/spi-octeon.txt index b655a015bb..431add1923 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/spi-octeon.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/spi-octeon.txt @@ -1,33 +1,33 @@ -Cavium, Inc. OCTEON SOC SPI master controller. - -Required properties: -- compatible : "cavium,octeon-3010-spi" -- reg : The register base for the controller. -- interrupts : One interrupt, used by the controller. -- #address-cells : <1>, as required by generic SPI binding. -- #size-cells : <0>, also as required by generic SPI binding. - -Child nodes as per the generic SPI binding. - -Example: - - spi@1070000001000 { - compatible = "cavium,octeon-3010-spi"; - reg = <0x10700 0x00001000 0x0 0x100>; - interrupts = <0 58>; - #address-cells = <1>; - #size-cells = <0>; - - eeprom@0 { - compatible = "st,m95256", "atmel,at25"; - reg = <0>; - spi-max-frequency = <5000000>; - spi-cpha; - spi-cpol; - - pagesize = <64>; - size = <32768>; - address-width = <16>; - }; - }; - +Cavium, Inc. OCTEON SOC SPI master controller. + +Required properties: +- compatible : "cavium,octeon-3010-spi" +- reg : The register base for the controller. +- interrupts : One interrupt, used by the controller. +- #address-cells : <1>, as required by generic SPI binding. +- #size-cells : <0>, also as required by generic SPI binding. + +Child nodes as per the generic SPI binding. + +Example: + + spi@1070000001000 { + compatible = "cavium,octeon-3010-spi"; + reg = <0x10700 0x00001000 0x0 0x100>; + interrupts = <0 58>; + #address-cells = <1>; + #size-cells = <0>; + + eeprom@0 { + compatible = "st,m95256", "atmel,at25"; + reg = <0>; + spi-max-frequency = <5000000>; + spi-cpha; + spi-cpol; + + pagesize = <64>; + size = <32768>; + address-width = <16>; + }; + }; + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/sqi-pic32.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/sqi-pic32.txt index b0df9b8d0a..c82d021bce 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/sqi-pic32.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/sqi-pic32.txt @@ -1,18 +1,18 @@ -Microchip PIC32 Quad SPI controller ------------------------------------ -Required properties: -- compatible: Should be "microchip,pic32mzda-sqi". -- reg: Address and length of SQI controller register space. -- interrupts: Should contain SQI interrupt. -- clocks: Should contain phandle of two clocks in sequence, one that drives - clock on SPI bus and other that drives SQI controller. -- clock-names: Should be "spi_ck" and "reg_ck" in order. - -Example: - sqi1: spi@1f8e2000 { - compatible = "microchip,pic32mzda-sqi"; - reg = <0x1f8e2000 0x200>; - clocks = <&rootclk REF2CLK>, <&rootclk PB5CLK>; - clock-names = "spi_ck", "reg_ck"; - interrupts = <169 IRQ_TYPE_LEVEL_HIGH>; - }; +Microchip PIC32 Quad SPI controller +----------------------------------- +Required properties: +- compatible: Should be "microchip,pic32mzda-sqi". +- reg: Address and length of SQI controller register space. +- interrupts: Should contain SQI interrupt. +- clocks: Should contain phandle of two clocks in sequence, one that drives + clock on SPI bus and other that drives SQI controller. +- clock-names: Should be "spi_ck" and "reg_ck" in order. + +Example: + sqi1: spi@1f8e2000 { + compatible = "microchip,pic32mzda-sqi"; + reg = <0x1f8e2000 0x200>; + clocks = <&rootclk REF2CLK>, <&rootclk PB5CLK>; + clock-names = "spi_ck", "reg_ck"; + interrupts = <169 IRQ_TYPE_LEVEL_HIGH>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/staging/iio/adc/spear-adc.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/staging/iio/adc/spear-adc.txt index 5aeb791a2f..88bc94fe1f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/staging/iio/adc/spear-adc.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/staging/iio/adc/spear-adc.txt @@ -1,24 +1,24 @@ -* ST SPEAr ADC device driver - -Required properties: -- compatible: Should be "st,spear600-adc" -- reg: Address and length of the register set for the device -- interrupts: Should contain the ADC interrupt -- sampling-frequency: Default sampling frequency - -Optional properties: -- vref-external: External voltage reference in milli-volts. If omitted - the internal voltage reference will be used. -- average-samples: Number of samples to generate an average value. If - omitted, single data conversion will be used. - -Examples: - - adc: adc@d8200000 { - compatible = "st,spear600-adc"; - reg = <0xd8200000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <6>; - sampling-frequency = <5000000>; - vref-external = <2500>; /* 2.5V VRef */ - }; +* ST SPEAr ADC device driver + +Required properties: +- compatible: Should be "st,spear600-adc" +- reg: Address and length of the register set for the device +- interrupts: Should contain the ADC interrupt +- sampling-frequency: Default sampling frequency + +Optional properties: +- vref-external: External voltage reference in milli-volts. If omitted + the internal voltage reference will be used. +- average-samples: Number of samples to generate an average value. If + omitted, single data conversion will be used. + +Examples: + + adc: adc@d8200000 { + compatible = "st,spear600-adc"; + reg = <0xd8200000 0x1000>; + interrupt-parent = <&vic1>; + interrupts = <6>; + sampling-frequency = <5000000>; + vref-external = <2500>; /* 2.5V VRef */ + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/thermal/amazon,al-thermal.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/thermal/amazon,al-thermal.txt index 1b9da26115..12fc4ef048 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/thermal/amazon,al-thermal.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/thermal/amazon,al-thermal.txt @@ -1,33 +1,33 @@ -Amazon's Annapurna Labs Thermal Sensor - -Simple thermal device that allows temperature reading by a single MMIO -transaction. - -Required properties: -- compatible: "amazon,al-thermal". -- reg: The physical base address and length of the sensor's registers. -- #thermal-sensor-cells: Must be 1. See Documentation/devicetree/bindings/thermal/thermal-sensor.yaml for a description. - -Example: - thermal: thermal { - compatible = "amazon,al-thermal"; - reg = <0x0 0x05002860 0x0 0x1>; - #thermal-sensor-cells = <0x1>; - }; - - thermal-zones { - thermal-z0 { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&thermal 0>; - trips { - critical { - temperature = <105000>; - hysteresis = <2000>; - type = "critical"; - }; - }; - - }; - }; - +Amazon's Annapurna Labs Thermal Sensor + +Simple thermal device that allows temperature reading by a single MMIO +transaction. + +Required properties: +- compatible: "amazon,al-thermal". +- reg: The physical base address and length of the sensor's registers. +- #thermal-sensor-cells: Must be 1. See Documentation/devicetree/bindings/thermal/thermal-sensor.yaml for a description. + +Example: + thermal: thermal { + compatible = "amazon,al-thermal"; + reg = <0x0 0x05002860 0x0 0x1>; + #thermal-sensor-cells = <0x1>; + }; + + thermal-zones { + thermal-z0 { + polling-delay-passive = <250>; + polling-delay = <1000>; + thermal-sensors = <&thermal 0>; + trips { + critical { + temperature = <105000>; + hysteresis = <2000>; + type = "critical"; + }; + }; + + }; + }; + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/thermal/brcm,bcm2835-thermal.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/thermal/brcm,bcm2835-thermal.yaml index 1ccf514ef3..ddf0f20e52 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/thermal/brcm,bcm2835-thermal.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/thermal/brcm,bcm2835-thermal.yaml @@ -1,47 +1,47 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/thermal/brcm,bcm2835-thermal.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Broadcom BCM2835 thermal sensor - -maintainers: - - Stefan Wahren - -allOf: - - $ref: thermal-sensor.yaml# - -properties: - compatible: - enum: - - brcm,bcm2835-thermal - - brcm,bcm2836-thermal - - brcm,bcm2837-thermal - - reg: - maxItems: 1 - - clocks: - maxItems: 1 - - "#thermal-sensor-cells": - const: 0 - -unevaluatedProperties: false - -required: - - compatible - - reg - - clocks - -examples: - - | - #include - - thermal@7e212000 { - compatible = "brcm,bcm2835-thermal"; - reg = <0x7e212000 0x8>; - clocks = <&clocks BCM2835_CLOCK_TSENS>; - #thermal-sensor-cells = <0>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/thermal/brcm,bcm2835-thermal.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom BCM2835 thermal sensor + +maintainers: + - Stefan Wahren + +allOf: + - $ref: thermal-sensor.yaml# + +properties: + compatible: + enum: + - brcm,bcm2835-thermal + - brcm,bcm2836-thermal + - brcm,bcm2837-thermal + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + "#thermal-sensor-cells": + const: 0 + +unevaluatedProperties: false + +required: + - compatible + - reg + - clocks + +examples: + - | + #include + + thermal@7e212000 { + compatible = "brcm,bcm2835-thermal"; + reg = <0x7e212000 0x8>; + clocks = <&clocks BCM2835_CLOCK_TSENS>; + #thermal-sensor-cells = <0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/thermal/fsl,scu-thermal.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/thermal/fsl,scu-thermal.yaml index a3fec61e44..ceef318668 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/thermal/fsl,scu-thermal.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/thermal/fsl,scu-thermal.yaml @@ -1,39 +1,39 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/thermal/fsl,scu-thermal.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: i.MX SCU Client Device Node - Thermal Based on SCU Message Protocol - -maintainers: - - Dong Aisheng - -description: i.MX SCU Client Device Node - Client nodes are maintained as children of the relevant IMX-SCU device node. - -allOf: - - $ref: thermal-sensor.yaml# - -properties: - compatible: - items: - - enum: - - fsl,imx8dxl-sc-thermal - - fsl,imx8qxp-sc-thermal - - const: fsl,imx-sc-thermal - - '#thermal-sensor-cells': - const: 1 - -required: - - compatible - -additionalProperties: false - -examples: - - | - thermal-sensor { - compatible = "fsl,imx8qxp-sc-thermal", "fsl,imx-sc-thermal"; - #thermal-sensor-cells = <1>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/thermal/fsl,scu-thermal.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: i.MX SCU Client Device Node - Thermal Based on SCU Message Protocol + +maintainers: + - Dong Aisheng + +description: i.MX SCU Client Device Node + Client nodes are maintained as children of the relevant IMX-SCU device node. + +allOf: + - $ref: thermal-sensor.yaml# + +properties: + compatible: + items: + - enum: + - fsl,imx8dxl-sc-thermal + - fsl,imx8qxp-sc-thermal + - const: fsl,imx-sc-thermal + + '#thermal-sensor-cells': + const: 1 + +required: + - compatible + +additionalProperties: false + +examples: + - | + thermal-sensor { + compatible = "fsl,imx8qxp-sc-thermal", "fsl,imx-sc-thermal"; + #thermal-sensor-cells = <1>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/actions,owl-timer.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/actions,owl-timer.txt index 1398fc95b9..977054f875 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/actions,owl-timer.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/actions,owl-timer.txt @@ -1,21 +1,21 @@ -Actions Semi Owl Timer - -Required properties: -- compatible : "actions,s500-timer" for S500 - "actions,s700-timer" for S700 - "actions,s900-timer" for S900 -- reg : Offset and length of the register set for the device. -- interrupts : Should contain the interrupts. -- interrupt-names : Valid names are: "2hz0", "2hz1", - "timer0", "timer1", "timer2", "timer3" - See ../resource-names.txt - -Example: - - timer@b0168000 { - compatible = "actions,s500-timer"; - reg = <0xb0168000 0x100>; - interrupts = , - ; - interrupt-names = "timer0", "timer1"; - }; +Actions Semi Owl Timer + +Required properties: +- compatible : "actions,s500-timer" for S500 + "actions,s700-timer" for S700 + "actions,s900-timer" for S900 +- reg : Offset and length of the register set for the device. +- interrupts : Should contain the interrupts. +- interrupt-names : Valid names are: "2hz0", "2hz1", + "timer0", "timer1", "timer2", "timer3" + See ../resource-names.txt + +Example: + + timer@b0168000 { + compatible = "actions,s500-timer"; + reg = <0xb0168000 0x100>; + interrupts = , + ; + interrupt-names = "timer0", "timer1"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/arm,global_timer.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/arm,global_timer.yaml index 952ae78970..4956c8f409 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/arm,global_timer.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/arm,global_timer.yaml @@ -1,48 +1,48 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/timer/arm,global_timer.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: ARM Global Timer - -maintainers: - - Stuart Menefy - -description: - Cortex-A9 are often associated with a per-core Global timer. - -properties: - compatible: - items: - - enum: - - arm,cortex-a5-global-timer - - arm,cortex-a9-global-timer - - description: driver supports versions r2p0 and above. - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - maxItems: 1 - -required: - - compatible - - reg - - clocks - -additionalProperties: false - -examples: - - | - timer@2c000600 { - compatible = "arm,cortex-a9-global-timer"; - reg = <0x2c000600 0x20>; - interrupts = <1 13 0xf01>; - clocks = <&arm_periph_clk>; - }; -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/timer/arm,global_timer.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ARM Global Timer + +maintainers: + - Stuart Menefy + +description: + Cortex-A9 are often associated with a per-core Global timer. + +properties: + compatible: + items: + - enum: + - arm,cortex-a5-global-timer + - arm,cortex-a9-global-timer + + description: driver supports versions r2p0 and above. + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + +required: + - compatible + - reg + - clocks + +additionalProperties: false + +examples: + - | + timer@2c000600 { + compatible = "arm,cortex-a9-global-timer"; + reg = <0x2c000600 0x20>; + interrupts = <1 13 0xf01>; + clocks = <&arm_periph_clk>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/arm,mps2-timer.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/arm,mps2-timer.txt index 0b2043b545..48f84d74ed 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/arm,mps2-timer.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/arm,mps2-timer.txt @@ -1,28 +1,28 @@ -ARM MPS2 timer - -The MPS2 platform has simple general-purpose 32 bits timers. - -Required properties: -- compatible : Should be "arm,mps2-timer" -- reg : Address and length of the register set -- interrupts : Reference to the timer interrupt - -Required clocking property, have to be one of: -- clocks : The input clock of the timer -- clock-frequency : The rate in HZ in input of the ARM MPS2 timer - -Examples: - -timer1: mps2-timer@40000000 { - compatible = "arm,mps2-timer"; - reg = <0x40000000 0x1000>; - interrupts = <8>; - clocks = <&sysclk>; -}; - -timer2: mps2-timer@40001000 { - compatible = "arm,mps2-timer"; - reg = <0x40001000 0x1000>; - interrupts = <9>; - clock-frequency = <25000000>; -}; +ARM MPS2 timer + +The MPS2 platform has simple general-purpose 32 bits timers. + +Required properties: +- compatible : Should be "arm,mps2-timer" +- reg : Address and length of the register set +- interrupts : Reference to the timer interrupt + +Required clocking property, have to be one of: +- clocks : The input clock of the timer +- clock-frequency : The rate in HZ in input of the ARM MPS2 timer + +Examples: + +timer1: mps2-timer@40000000 { + compatible = "arm,mps2-timer"; + reg = <0x40000000 0x1000>; + interrupts = <8>; + clocks = <&sysclk>; +}; + +timer2: mps2-timer@40001000 { + compatible = "arm,mps2-timer"; + reg = <0x40001000 0x1000>; + interrupts = <9>; + clock-frequency = <25000000>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/brcm,bcmbca-timer.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/brcm,bcmbca-timer.yaml index fb957873b2..6707d97608 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/brcm,bcmbca-timer.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/brcm,bcmbca-timer.yaml @@ -1,40 +1,40 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/timer/brcm,bcmbca-timer.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Broadcom Broadband SoC timer - -maintainers: - - Rafał Miłecki - -properties: - compatible: - oneOf: - - const: brcm,bcm6345-timer - description: > - An old block with 3 timers. - - It can be found in BCM6345, BCM6838 and BCM63268. - - const: brcm,bcm63138-timer - description: > - Updated block with 4 timers and control regs at the beginning. - - It can be found in newer SoCs, e.g. BCM63138, BCM63148, BCM63381, - BCM68360, BCM6848, BCM6858, BCM4908. - - reg: - maxItems: 1 - -additionalProperties: false - -required: - - reg - -examples: - - | - timer@fffe0200 { - compatible = "brcm,bcm6345-timer"; - reg = <0xfffe0200 0x1c>; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/timer/brcm,bcmbca-timer.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom Broadband SoC timer + +maintainers: + - Rafał Miłecki + +properties: + compatible: + oneOf: + - const: brcm,bcm6345-timer + description: > + An old block with 3 timers. + + It can be found in BCM6345, BCM6838 and BCM63268. + - const: brcm,bcm63138-timer + description: > + Updated block with 4 timers and control regs at the beginning. + + It can be found in newer SoCs, e.g. BCM63138, BCM63148, BCM63381, + BCM68360, BCM6848, BCM6858, BCM4908. + + reg: + maxItems: 1 + +additionalProperties: false + +required: + - reg + +examples: + - | + timer@fffe0200 { + compatible = "brcm,bcm6345-timer"; + reg = <0xfffe0200 0x1c>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/cirrus,clps711x-timer.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/cirrus,clps711x-timer.txt index 8d8cd92974..d4c62e7b17 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/cirrus,clps711x-timer.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/cirrus,clps711x-timer.txt @@ -1,29 +1,29 @@ -* Cirrus Logic CLPS711X Timer Counter - -Required properties: -- compatible: Shall contain "cirrus,ep7209-timer". -- reg : Address and length of the register set. -- interrupts: The interrupt number of the timer. -- clocks : phandle of timer reference clock. - -Note: Each timer should have an alias correctly numbered in "aliases" node. - -Example: - aliases { - timer0 = &timer1; - timer1 = &timer2; - }; - - timer1: timer@80000300 { - compatible = "cirrus,ep7312-timer", "cirrus,ep7209-timer"; - reg = <0x80000300 0x4>; - interrupts = <8>; - clocks = <&clks 5>; - }; - - timer2: timer@80000340 { - compatible = "cirrus,ep7312-timer", "cirrus,ep7209-timer"; - reg = <0x80000340 0x4>; - interrupts = <9>; - clocks = <&clks 6>; - }; +* Cirrus Logic CLPS711X Timer Counter + +Required properties: +- compatible: Shall contain "cirrus,ep7209-timer". +- reg : Address and length of the register set. +- interrupts: The interrupt number of the timer. +- clocks : phandle of timer reference clock. + +Note: Each timer should have an alias correctly numbered in "aliases" node. + +Example: + aliases { + timer0 = &timer1; + timer1 = &timer2; + }; + + timer1: timer@80000300 { + compatible = "cirrus,ep7312-timer", "cirrus,ep7209-timer"; + reg = <0x80000300 0x4>; + interrupts = <8>; + clocks = <&clks 5>; + }; + + timer2: timer@80000340 { + compatible = "cirrus,ep7312-timer", "cirrus,ep7209-timer"; + reg = <0x80000340 0x4>; + interrupts = <9>; + clocks = <&clks 6>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/csky,gx6605s-timer.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/csky,gx6605s-timer.txt index 54357f05c4..6b04344f4b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/csky,gx6605s-timer.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/csky,gx6605s-timer.txt @@ -1,42 +1,42 @@ -================= -gx6605s SOC Timer -================= - -The timer is used in gx6605s soc as system timer and the driver -contain clk event and clk source. - -============================== -timer node bindings definition -============================== - - Description: Describes gx6605s SOC timer - - PROPERTIES - - - compatible - Usage: required - Value type: - Definition: must be "csky,gx6605s-timer" - - reg - Usage: required - Value type: - Definition: in soc from cpu view - - clocks - Usage: required - Value type: phandle + clock specifier cells - Definition: must be input clk node - - interrupt - Usage: required - Value type: - Definition: must be timer irq num defined by soc - -Examples: ---------- - - timer0: timer@20a000 { - compatible = "csky,gx6605s-timer"; - reg = <0x0020a000 0x400>; - clocks = <&dummy_apb_clk>; - interrupts = <10>; - interrupt-parent = <&intc>; - }; +================= +gx6605s SOC Timer +================= + +The timer is used in gx6605s soc as system timer and the driver +contain clk event and clk source. + +============================== +timer node bindings definition +============================== + + Description: Describes gx6605s SOC timer + + PROPERTIES + + - compatible + Usage: required + Value type: + Definition: must be "csky,gx6605s-timer" + - reg + Usage: required + Value type: + Definition: in soc from cpu view + - clocks + Usage: required + Value type: phandle + clock specifier cells + Definition: must be input clk node + - interrupt + Usage: required + Value type: + Definition: must be timer irq num defined by soc + +Examples: +--------- + + timer0: timer@20a000 { + compatible = "csky,gx6605s-timer"; + reg = <0x0020a000 0x400>; + clocks = <&dummy_apb_clk>; + interrupts = <10>; + interrupt-parent = <&intc>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/fsl,gtm.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/fsl,gtm.txt index 07b7c68a06..fc1c571f74 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/fsl,gtm.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/fsl,gtm.txt @@ -1,30 +1,30 @@ -* Freescale General-purpose Timers Module - -Required properties: - - compatible : should be - "fsl,-gtm", "fsl,gtm" for SOC GTMs - "fsl,-qe-gtm", "fsl,qe-gtm", "fsl,gtm" for QE GTMs - "fsl,-cpm2-gtm", "fsl,cpm2-gtm", "fsl,gtm" for CPM2 GTMs - - reg : should contain gtm registers location and length (0x40). - - interrupts : should contain four interrupts. - - clock-frequency : specifies the frequency driving the timer. - -Example: - -timer@500 { - compatible = "fsl,mpc8360-gtm", "fsl,gtm"; - reg = <0x500 0x40>; - interrupts = <90 8 78 8 84 8 72 8>; - interrupt-parent = <&ipic>; - /* filled by u-boot */ - clock-frequency = <0>; -}; - -timer@440 { - compatible = "fsl,mpc8360-qe-gtm", "fsl,qe-gtm", "fsl,gtm"; - reg = <0x440 0x40>; - interrupts = <12 13 14 15>; - interrupt-parent = <&qeic>; - /* filled by u-boot */ - clock-frequency = <0>; -}; +* Freescale General-purpose Timers Module + +Required properties: + - compatible : should be + "fsl,-gtm", "fsl,gtm" for SOC GTMs + "fsl,-qe-gtm", "fsl,qe-gtm", "fsl,gtm" for QE GTMs + "fsl,-cpm2-gtm", "fsl,cpm2-gtm", "fsl,gtm" for CPM2 GTMs + - reg : should contain gtm registers location and length (0x40). + - interrupts : should contain four interrupts. + - clock-frequency : specifies the frequency driving the timer. + +Example: + +timer@500 { + compatible = "fsl,mpc8360-gtm", "fsl,gtm"; + reg = <0x500 0x40>; + interrupts = <90 8 78 8 84 8 72 8>; + interrupt-parent = <&ipic>; + /* filled by u-boot */ + clock-frequency = <0>; +}; + +timer@440 { + compatible = "fsl,mpc8360-qe-gtm", "fsl,qe-gtm", "fsl,gtm"; + reg = <0x440 0x40>; + interrupts = <12 13 14 15>; + interrupt-parent = <&qeic>; + /* filled by u-boot */ + clock-frequency = <0>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/hpe,gxp-timer.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/hpe,gxp-timer.yaml index 4a45bba064..d33d90f44d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/hpe,gxp-timer.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/hpe,gxp-timer.yaml @@ -1,47 +1,47 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/timer/hpe,gxp-timer.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: HPE GXP Timer - -maintainers: - - Nick Hawkins - - Jean-Marie Verdun - -properties: - compatible: - const: hpe,gxp-timer - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - maxItems: 1 - - clock-names: - const: iop - -required: - - compatible - - reg - - interrupts - - clocks - - clock-names - -additionalProperties: false - -examples: - - | - timer@c0000000 { - compatible = "hpe,gxp-timer"; - reg = <0x80 0x16>; - interrupts = <0>; - interrupt-parent = <&vic0>; - clocks = <&iopclk>; - clock-names = "iop"; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/timer/hpe,gxp-timer.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: HPE GXP Timer + +maintainers: + - Nick Hawkins + - Jean-Marie Verdun + +properties: + compatible: + const: hpe,gxp-timer + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + + clock-names: + const: iop + +required: + - compatible + - reg + - interrupts + - clocks + - clock-names + +additionalProperties: false + +examples: + - | + timer@c0000000 { + compatible = "hpe,gxp-timer"; + reg = <0x80 0x16>; + interrupts = <0>; + interrupt-parent = <&vic0>; + clocks = <&iopclk>; + clock-names = "iop"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/intel,ixp4xx-timer.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/intel,ixp4xx-timer.yaml index 9b21338da4..526b8db4d5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/intel,ixp4xx-timer.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/intel,ixp4xx-timer.yaml @@ -1,43 +1,43 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -# Copyright 2018 Linaro Ltd. -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/timer/intel,ixp4xx-timer.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Intel IXP4xx XScale Networking Processors Timers - -maintainers: - - Linus Walleij - -description: This timer is found in the Intel IXP4xx processors. - -properties: - compatible: - items: - - const: intel,ixp4xx-timer - - reg: - maxItems: 1 - - interrupts: - minItems: 1 - items: - - description: Timer 1 interrupt - - description: Timer 2 interrupt - -required: - - compatible - - reg - - interrupts - -additionalProperties: false - -examples: - - | - #include - timer@c8005000 { - compatible = "intel,ixp4xx-timer"; - reg = <0xc8005000 0x100>; - interrupts = <5 IRQ_TYPE_LEVEL_HIGH>; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +# Copyright 2018 Linaro Ltd. +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/timer/intel,ixp4xx-timer.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Intel IXP4xx XScale Networking Processors Timers + +maintainers: + - Linus Walleij + +description: This timer is found in the Intel IXP4xx processors. + +properties: + compatible: + items: + - const: intel,ixp4xx-timer + + reg: + maxItems: 1 + + interrupts: + minItems: 1 + items: + - description: Timer 1 interrupt + - description: Timer 2 interrupt + +required: + - compatible + - reg + - interrupts + +additionalProperties: false + +examples: + - | + #include + timer@c8005000 { + compatible = "intel,ixp4xx-timer"; + reg = <0xc8005000 0x100>; + interrupts = <5 IRQ_TYPE_LEVEL_HIGH>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/jcore,pit.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/jcore,pit.txt index 0533058151..af5dd35469 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/jcore,pit.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/jcore,pit.txt @@ -1,24 +1,24 @@ -J-Core Programmable Interval Timer and Clocksource - -Required properties: - -- compatible: Must be "jcore,pit". - -- reg: Memory region(s) for timer/clocksource registers. For SMP, - there should be one region per cpu, indexed by the sequential, - zero-based hardware cpu number. - -- interrupts: An interrupt to assign for the timer. The actual pit - core is integrated with the aic and allows the timer interrupt - assignment to be programmed by software, but this property is - required in order to reserve an interrupt number that doesn't - conflict with other devices. - - -Example: - -timer@200 { - compatible = "jcore,pit"; - reg = < 0x200 0x30 0x500 0x30 >; - interrupts = < 0x48 >; -}; +J-Core Programmable Interval Timer and Clocksource + +Required properties: + +- compatible: Must be "jcore,pit". + +- reg: Memory region(s) for timer/clocksource registers. For SMP, + there should be one region per cpu, indexed by the sequential, + zero-based hardware cpu number. + +- interrupts: An interrupt to assign for the timer. The actual pit + core is integrated with the aic and allows the timer interrupt + assignment to be programmed by software, but this property is + required in order to reserve an interrupt number that doesn't + conflict with other devices. + + +Example: + +timer@200 { + compatible = "jcore,pit"; + reg = < 0x200 0x30 0x500 0x30 >; + interrupts = < 0x48 >; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/lsi,zevio-timer.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/lsi,zevio-timer.txt index b4eb248d71..b2d07ad90e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/lsi,zevio-timer.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/lsi,zevio-timer.txt @@ -1,33 +1,33 @@ -TI-NSPIRE timer - -Required properties: - -- compatible : should be "lsi,zevio-timer". -- reg : The physical base address and size of the timer (always first). -- clocks: phandle to the source clock. - -Optional properties: - -- interrupts : The interrupt number of the first timer. -- reg : The interrupt acknowledgement registers - (always after timer base address) - -If any of the optional properties are not given, the timer is added as a -clock-source only. - -Example: - -timer { - compatible = "lsi,zevio-timer"; - reg = <0x900D0000 0x1000>, <0x900A0020 0x8>; - interrupts = <19>; - clocks = <&timer_clk>; -}; - -Example (no clock-events): - -timer { - compatible = "lsi,zevio-timer"; - reg = <0x900D0000 0x1000>; - clocks = <&timer_clk>; -}; +TI-NSPIRE timer + +Required properties: + +- compatible : should be "lsi,zevio-timer". +- reg : The physical base address and size of the timer (always first). +- clocks: phandle to the source clock. + +Optional properties: + +- interrupts : The interrupt number of the first timer. +- reg : The interrupt acknowledgement registers + (always after timer base address) + +If any of the optional properties are not given, the timer is added as a +clock-source only. + +Example: + +timer { + compatible = "lsi,zevio-timer"; + reg = <0x900D0000 0x1000>, <0x900A0020 0x8>; + interrupts = <19>; + clocks = <&timer_clk>; +}; + +Example (no clock-events): + +timer { + compatible = "lsi,zevio-timer"; + reg = <0x900D0000 0x1000>; + clocks = <&timer_clk>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/mrvl,mmp-timer.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/mrvl,mmp-timer.yaml index b8fbe2fe81..fe6bc41737 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/mrvl,mmp-timer.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/mrvl,mmp-timer.yaml @@ -1,46 +1,46 @@ -# SPDX-License-Identifier: GPL-2.0-only -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/timer/mrvl,mmp-timer.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Marvell MMP Timer - -maintainers: - - Daniel Lezcano - - Thomas Gleixner - - Rob Herring - -properties: - $nodename: - pattern: '^timer@[a-f0-9]+$' - - compatible: - const: mrvl,mmp-timer - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - maxItems: 1 - -required: - - compatible - - reg - - interrupts - -additionalProperties: false - -examples: - - | - timer@d4014000 { - compatible = "mrvl,mmp-timer"; - reg = <0xd4014000 0x100>; - interrupts = <13>; - clocks = <&coreclk 2>; - }; - -... +# SPDX-License-Identifier: GPL-2.0-only +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/timer/mrvl,mmp-timer.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Marvell MMP Timer + +maintainers: + - Daniel Lezcano + - Thomas Gleixner + - Rob Herring + +properties: + $nodename: + pattern: '^timer@[a-f0-9]+$' + + compatible: + const: mrvl,mmp-timer + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + +additionalProperties: false + +examples: + - | + timer@d4014000 { + compatible = "mrvl,mmp-timer"; + reg = <0xd4014000 0x100>; + interrupts = <13>; + clocks = <&coreclk 2>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/mstar,msc313e-timer.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/mstar,msc313e-timer.yaml index 6be2a14ef5..f118ca423e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/mstar,msc313e-timer.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/mstar,msc313e-timer.yaml @@ -1,46 +1,46 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/timer/mstar,msc313e-timer.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Mstar MSC313e Timer - -maintainers: - - Daniel Palmer - - Romain Perier - -properties: - compatible: - enum: - - mstar,msc313e-timer - - sstar,ssd20xd-timer - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - maxItems: 1 - -required: - - compatible - - reg - - interrupts - - clocks - -additionalProperties: false - -examples: - - | - #include - - timer@6040 { - compatible = "mstar,msc313e-timer"; - reg = <0x6040 0x40>; - clocks = <&xtal_div2>; - interrupts-extended = <&intc_fiq GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/timer/mstar,msc313e-timer.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Mstar MSC313e Timer + +maintainers: + - Daniel Palmer + - Romain Perier + +properties: + compatible: + enum: + - mstar,msc313e-timer + - sstar,ssd20xd-timer + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + - clocks + +additionalProperties: false + +examples: + - | + #include + + timer@6040 { + compatible = "mstar,msc313e-timer"; + reg = <0x6040 0x40>; + clocks = <&xtal_div2>; + interrupts-extended = <&intc_fiq GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/ralink,cevt-systick.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/ralink,cevt-systick.yaml index 7c03548eb6..59d97feddf 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/ralink,cevt-systick.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/ralink,cevt-systick.yaml @@ -1,38 +1,38 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/timer/ralink,cevt-systick.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: System tick counter present in Ralink family SoCs - -maintainers: - - Sergio Paracuellos - -properties: - compatible: - const: ralink,cevt-systick - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - -required: - - compatible - - reg - - interrupts - -additionalProperties: false - -examples: - - | - systick@d00 { - compatible = "ralink,cevt-systick"; - reg = <0xd00 0x10>; - - interrupt-parent = <&cpuintc>; - interrupts = <7>; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/timer/ralink,cevt-systick.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: System tick counter present in Ralink family SoCs + +maintainers: + - Sergio Paracuellos + +properties: + compatible: + const: ralink,cevt-systick + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + +additionalProperties: false + +examples: + - | + systick@d00 { + compatible = "ralink,cevt-systick"; + reg = <0xd00 0x10>; + + interrupt-parent = <&cpuintc>; + interrupts = <7>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/ralink,rt2880-timer.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/ralink,rt2880-timer.yaml index 93065c6c11..daa7832bab 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/ralink,rt2880-timer.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/ralink,rt2880-timer.yaml @@ -1,44 +1,44 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/timer/ralink,rt2880-timer.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Timer present in Ralink family SoCs - -maintainers: - - Sergio Paracuellos - -properties: - compatible: - const: ralink,rt2880-timer - - reg: - maxItems: 1 - - clocks: - maxItems: 1 - - interrupts: - maxItems: 1 - -required: - - compatible - - reg - - clocks - - interrupts - -additionalProperties: false - -examples: - - | - timer@100 { - compatible = "ralink,rt2880-timer"; - reg = <0x100 0x20>; - - clocks = <&sysc 3>; - - interrupt-parent = <&intc>; - interrupts = <1>; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/timer/ralink,rt2880-timer.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Timer present in Ralink family SoCs + +maintainers: + - Sergio Paracuellos + +properties: + compatible: + const: ralink,rt2880-timer + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + interrupts: + maxItems: 1 + +required: + - compatible + - reg + - clocks + - interrupts + +additionalProperties: false + +examples: + - | + timer@100 { + compatible = "ralink,rt2880-timer"; + reg = <0x100 0x20>; + + clocks = <&sysc 3>; + + interrupt-parent = <&intc>; + interrupts = <1>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/rda,8810pl-timer.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/rda,8810pl-timer.yaml index 335579df95..f9043a4488 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/rda,8810pl-timer.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/rda,8810pl-timer.yaml @@ -1,47 +1,47 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/timer/rda,8810pl-timer.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: RDA Micro RDA8810PL Timer - -maintainers: - - Manivannan Sadhasivam - -properties: - compatible: - const: rda,8810pl-timer - - reg: - maxItems: 1 - - interrupts: - minItems: 2 - maxItems: 2 - - interrupt-names: - items: - - const: hwtimer - - const: ostimer - -required: - - compatible - - reg - - interrupts - - interrupt-names - -additionalProperties: false - -examples: - - | - #include - - timer@20910000 { - compatible = "rda,8810pl-timer"; - reg = <0x20910000 0x1000>; - interrupts = <16 IRQ_TYPE_LEVEL_HIGH>, - <17 IRQ_TYPE_LEVEL_HIGH>; - interrupt-names = "hwtimer", "ostimer"; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/timer/rda,8810pl-timer.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: RDA Micro RDA8810PL Timer + +maintainers: + - Manivannan Sadhasivam + +properties: + compatible: + const: rda,8810pl-timer + + reg: + maxItems: 1 + + interrupts: + minItems: 2 + maxItems: 2 + + interrupt-names: + items: + - const: hwtimer + - const: ostimer + +required: + - compatible + - reg + - interrupts + - interrupt-names + +additionalProperties: false + +examples: + - | + #include + + timer@20910000 { + compatible = "rda,8810pl-timer"; + reg = <0x20910000 0x1000>; + interrupts = <16 IRQ_TYPE_LEVEL_HIGH>, + <17 IRQ_TYPE_LEVEL_HIGH>; + interrupt-names = "hwtimer", "ostimer"; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/renesas,em-sti.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/renesas,em-sti.yaml index 209a55aa26..233d74d540 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/renesas,em-sti.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/renesas,em-sti.yaml @@ -1,46 +1,46 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/timer/renesas,em-sti.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Renesas EMMA Mobile System Timer - -maintainers: - - Magnus Damm - -properties: - compatible: - const: renesas,em-sti - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - maxItems: 1 - - clock-names: - const: sclk - -required: - - compatible - - reg - - interrupts - - clocks - - clock-names - -additionalProperties: false - -examples: - - | - #include - timer@e0180000 { - compatible = "renesas,em-sti"; - reg = <0xe0180000 0x54>; - interrupts = ; - clocks = <&sti_sclk>; - clock-names = "sclk"; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/timer/renesas,em-sti.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Renesas EMMA Mobile System Timer + +maintainers: + - Magnus Damm + +properties: + compatible: + const: renesas,em-sti + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + + clock-names: + const: sclk + +required: + - compatible + - reg + - interrupts + - clocks + - clock-names + +additionalProperties: false + +examples: + - | + #include + timer@e0180000 { + compatible = "renesas,em-sti"; + reg = <0xe0180000 0x54>; + interrupts = ; + clocks = <&sti_sclk>; + clock-names = "sclk"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/snps,arc-timer.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/snps,arc-timer.txt index 2bc861c7f4..b02ab0af10 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/snps,arc-timer.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/snps,arc-timer.txt @@ -1,27 +1,27 @@ -Synopsys ARC Local Timer with Interrupt Capabilities -- Found on all ARC CPUs (ARC700/ARCHS) -- Can be optionally programmed to interrupt on Limit -- Two identical copies TIMER0 and TIMER1 exist in ARC cores and historically - TIMER0 used as clockevent provider (true for all ARC cores) - TIMER1 used for clocksource (mandatory for ARC700, optional for ARC HS) - -Required properties: - -- compatible : should be "snps,arc-timer" -- interrupts : single Interrupt going into parent intc - (16 for ARCHS cores, 3 for ARC700 cores) -- clocks : phandle to the source clock - -Example: - - timer0 { - compatible = "snps,arc-timer"; - interrupts = <3>; - interrupt-parent = <&core_intc>; - clocks = <&core_clk>; - }; - - timer1 { - compatible = "snps,arc-timer"; - clocks = <&core_clk>; - }; +Synopsys ARC Local Timer with Interrupt Capabilities +- Found on all ARC CPUs (ARC700/ARCHS) +- Can be optionally programmed to interrupt on Limit +- Two identical copies TIMER0 and TIMER1 exist in ARC cores and historically + TIMER0 used as clockevent provider (true for all ARC cores) + TIMER1 used for clocksource (mandatory for ARC700, optional for ARC HS) + +Required properties: + +- compatible : should be "snps,arc-timer" +- interrupts : single Interrupt going into parent intc + (16 for ARCHS cores, 3 for ARC700 cores) +- clocks : phandle to the source clock + +Example: + + timer0 { + compatible = "snps,arc-timer"; + interrupts = <3>; + interrupt-parent = <&core_intc>; + clocks = <&core_clk>; + }; + + timer1 { + compatible = "snps,arc-timer"; + clocks = <&core_clk>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/st,stm32-timer.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/st,stm32-timer.yaml index e4ab1357de..9ec1153762 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/st,stm32-timer.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/st,stm32-timer.yaml @@ -1,48 +1,48 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/timer/st,stm32-timer.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: STMicroelectronics STM32 general-purpose 16 and 32 bits timers - -maintainers: - - Fabrice Gasnier - - Patrice Chotard - -properties: - compatible: - const: st,stm32-timer - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - maxItems: 1 - - resets: - maxItems: 1 - -required: - - compatible - - reg - - interrupts - - clocks - -additionalProperties: false - -examples: - - | - #include - #include - timer: timer@40000c00 { - compatible = "st,stm32-timer"; - reg = <0x40000c00 0x400>; - interrupts = <50>; - clocks = <&clk_pmtr1>; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/timer/st,stm32-timer.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: STMicroelectronics STM32 general-purpose 16 and 32 bits timers + +maintainers: + - Fabrice Gasnier + - Patrice Chotard + +properties: + compatible: + const: st,stm32-timer + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + + resets: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + - clocks + +additionalProperties: false + +examples: + - | + #include + #include + timer: timer@40000c00 { + compatible = "st,stm32-timer"; + reg = <0x40000c00 0x400>; + interrupts = <50>; + clocks = <&clk_pmtr1>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timestamp/hardware-timestamps-common.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timestamp/hardware-timestamps-common.yaml index 15b914d5e6..95f42acd0c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timestamp/hardware-timestamps-common.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timestamp/hardware-timestamps-common.yaml @@ -1,29 +1,29 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/timestamp/hardware-timestamps-common.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Hardware timestamp providers - -maintainers: - - Dipen Patel - -description: - Some devices/SoCs have hardware timestamp engines (HTE) which can use - hardware means to timestamp entity in realtime. The entity could be anything - from GPIOs, IRQs, Bus and so on. The hardware timestamp engine present - itself as a provider with the bindings described in this document. - -properties: - $nodename: - pattern: "^timestamp(@.*|-([0-9]|[1-9][0-9]+))?$" - - "#timestamp-cells": - description: - Number of cells in a HTE specifier. - -required: - - "#timestamp-cells" - -additionalProperties: true +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/timestamp/hardware-timestamps-common.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Hardware timestamp providers + +maintainers: + - Dipen Patel + +description: + Some devices/SoCs have hardware timestamp engines (HTE) which can use + hardware means to timestamp entity in realtime. The entity could be anything + from GPIOs, IRQs, Bus and so on. The hardware timestamp engine present + itself as a provider with the bindings described in this document. + +properties: + $nodename: + pattern: "^timestamp(@.*|-([0-9]|[1-9][0-9]+))?$" + + "#timestamp-cells": + description: + Number of cells in a HTE specifier. + +required: + - "#timestamp-cells" + +additionalProperties: true diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/fsl,ls1028a.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/fsl,ls1028a.yaml index 2e74fa9501..a44bdf3918 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/fsl,ls1028a.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/fsl,ls1028a.yaml @@ -1,52 +1,52 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/usb/fsl,ls1028a.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Freescale layerscape SuperSpeed DWC3 USB SoC controller - -maintainers: - - Frank Li - -select: - properties: - compatible: - contains: - enum: - - fsl,ls1028a-dwc3 - required: - - compatible - -properties: - compatible: - items: - - enum: - - fsl,ls1028a-dwc3 - - const: snps,dwc3 - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - -unevaluatedProperties: false - -required: - - compatible - - reg - - interrupts - -allOf: - - $ref: snps,dwc3.yaml# - -examples: - - | - #include - - usb@fe800000 { - compatible = "fsl,ls1028a-dwc3", "snps,dwc3"; - reg = <0xfe800000 0x100000>; - interrupts = ; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/usb/fsl,ls1028a.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Freescale layerscape SuperSpeed DWC3 USB SoC controller + +maintainers: + - Frank Li + +select: + properties: + compatible: + contains: + enum: + - fsl,ls1028a-dwc3 + required: + - compatible + +properties: + compatible: + items: + - enum: + - fsl,ls1028a-dwc3 + - const: snps,dwc3 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + +unevaluatedProperties: false + +required: + - compatible + - reg + - interrupts + +allOf: + - $ref: snps,dwc3.yaml# + +examples: + - | + #include + + usb@fe800000 { + compatible = "fsl,ls1028a-dwc3", "snps,dwc3"; + reg = <0xfe800000 0x100000>; + interrupts = ; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/iproc-udc.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/iproc-udc.txt index 2da36ec2cc..272d7faf1a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/iproc-udc.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/iproc-udc.txt @@ -1,21 +1,21 @@ -Broadcom IPROC USB Device controller. - -The device node is used for UDCs integrated into Broadcom's -iProc family (Northstar2, Cygnus) of SoCs'. The UDC is based -on Synopsys Designware Cores AHB Subsystem Device Controller -IP. - -Required properties: - - compatible: Add the compatibility strings for supported platforms. - For Broadcom NS2 platform, add "brcm,ns2-udc","brcm,iproc-udc". - For Broadcom Cygnus platform, add "brcm,cygnus-udc", "brcm,iproc-udc". - - reg: Offset and length of UDC register set - - interrupts: description of interrupt line - - phys: phandle to phy node. - -Example: - udc_dwc: usb@664e0000 { - compatible = "brcm,ns2-udc", "brcm,iproc-udc"; - reg = <0x664e0000 0x2000>; - interrupts = ; - phys = <&usbdrd_phy>; +Broadcom IPROC USB Device controller. + +The device node is used for UDCs integrated into Broadcom's +iProc family (Northstar2, Cygnus) of SoCs'. The UDC is based +on Synopsys Designware Cores AHB Subsystem Device Controller +IP. + +Required properties: + - compatible: Add the compatibility strings for supported platforms. + For Broadcom NS2 platform, add "brcm,ns2-udc","brcm,iproc-udc". + For Broadcom Cygnus platform, add "brcm,cygnus-udc", "brcm,iproc-udc". + - reg: Offset and length of UDC register set + - interrupts: description of interrupt line + - phys: phandle to phy node. + +Example: + udc_dwc: usb@664e0000 { + compatible = "brcm,ns2-udc", "brcm,iproc-udc"; + reg = <0x664e0000 0x2000>; + interrupts = ; + phys = <&usbdrd_phy>; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/lpc32xx-udc.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/lpc32xx-udc.txt index 795a195019..29f12a533f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/lpc32xx-udc.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/lpc32xx-udc.txt @@ -1,28 +1,28 @@ -* NXP LPC32xx SoC USB Device Controller (UDC) - -Required properties: -- compatible: Must be "nxp,lpc3220-udc" -- reg: Physical base address of the controller and length of memory mapped - region. -- interrupts: The USB interrupts: - * USB Device Low Priority Interrupt - * USB Device High Priority Interrupt - * USB Device DMA Interrupt - * External USB Transceiver Interrupt (OTG ATX) -- transceiver: phandle of the associated ISP1301 device - this is necessary for - the UDC controller for connecting to the USB physical layer - -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 LPC32xx SoC USB Device Controller (UDC) + +Required properties: +- compatible: Must be "nxp,lpc3220-udc" +- reg: Physical base address of the controller and length of memory mapped + region. +- interrupts: The USB interrupts: + * USB Device Low Priority Interrupt + * USB Device High Priority Interrupt + * USB Device DMA Interrupt + * External USB Transceiver Interrupt (OTG ATX) +- transceiver: phandle of the associated ISP1301 device - this is necessary for + the UDC controller for connecting to the USB physical layer + +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/maxim,max3421.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/maxim,max3421.txt index 13835c6766..90495b1aee 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/maxim,max3421.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/maxim,max3421.txt @@ -1,23 +1,23 @@ -Maxim Integrated SPI-based USB 2.0 host controller MAX3421E - -Required properties: - - compatible: Should be "maxim,max3421" - - spi-max-frequency: maximum frequency for this device must not exceed 26 MHz. - - reg: chip select number to which this device is connected. - - maxim,vbus-en-pin: - GPOUTx is the number (1-8) of the GPOUT pin of MAX3421E to drive Vbus. - ACTIVE_LEVEL is 0 or 1. - - interrupts: the interrupt line description for the interrupt controller. - The driver configures MAX3421E for active low level triggered interrupts, - configure your interrupt line accordingly. - -Example: - - usb@0 { - compatible = "maxim,max3421"; - reg = <0>; - maxim,vbus-en-pin = <3 1>; - spi-max-frequency = <26000000>; - interrupt-parent = <&PIC>; - interrupts = <42>; - }; +Maxim Integrated SPI-based USB 2.0 host controller MAX3421E + +Required properties: + - compatible: Should be "maxim,max3421" + - spi-max-frequency: maximum frequency for this device must not exceed 26 MHz. + - reg: chip select number to which this device is connected. + - maxim,vbus-en-pin: + GPOUTx is the number (1-8) of the GPOUT pin of MAX3421E to drive Vbus. + ACTIVE_LEVEL is 0 or 1. + - interrupts: the interrupt line description for the interrupt controller. + The driver configures MAX3421E for active low level triggered interrupts, + configure your interrupt line accordingly. + +Example: + + usb@0 { + compatible = "maxim,max3421"; + reg = <0>; + maxim,vbus-en-pin = <3 1>; + spi-max-frequency = <26000000>; + interrupt-parent = <&PIC>; + interrupts = <42>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/mediatek,mt6370-tcpc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/mediatek,mt6370-tcpc.yaml index 7b8a94822a..747d0f16d9 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/mediatek,mt6370-tcpc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/mediatek,mt6370-tcpc.yaml @@ -1,36 +1,36 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/usb/mediatek,mt6370-tcpc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: MediatTek MT6370 Type-C Port Switch and Power Delivery controller - -maintainers: - - ChiYuan Huang - -description: | - MediaTek MT6370 is a multi-functional device. - It integrates charger, ADC, flash, RGB indicators, - regulators (DSV/VIBLDO), and TypeC Port Switch with Power Delivery controller. - This document only describes MT6370 Type-C Port Switch and - Power Delivery controller. - -properties: - compatible: - enum: - - mediatek,mt6370-tcpc - - interrupts: - maxItems: 1 - - connector: - type: object - $ref: /schemas/connector/usb-connector.yaml# - unevaluatedProperties: false - -additionalProperties: false - -required: - - compatible - - interrupts +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/usb/mediatek,mt6370-tcpc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: MediatTek MT6370 Type-C Port Switch and Power Delivery controller + +maintainers: + - ChiYuan Huang + +description: | + MediaTek MT6370 is a multi-functional device. + It integrates charger, ADC, flash, RGB indicators, + regulators (DSV/VIBLDO), and TypeC Port Switch with Power Delivery controller. + This document only describes MT6370 Type-C Port Switch and + Power Delivery controller. + +properties: + compatible: + enum: + - mediatek,mt6370-tcpc + + interrupts: + maxItems: 1 + + connector: + type: object + $ref: /schemas/connector/usb-connector.yaml# + unevaluatedProperties: false + +additionalProperties: false + +required: + - compatible + - interrupts diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/s3c2410-usb.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/s3c2410-usb.txt index 2e051b7b45..26c85afd0b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/s3c2410-usb.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/s3c2410-usb.txt @@ -1,22 +1,22 @@ -Samsung S3C2410 and compatible SoC USB controller - -OHCI - -Required properties: - - compatible: should be "samsung,s3c2410-ohci" for USB host controller - - reg: address and length of the controller memory mapped region - - interrupts: interrupt number for the USB OHCI controller - - clocks: Should reference the bus and host clocks - - clock-names: Should contain two strings - "usb-bus-host" for the USB bus clock - "usb-host" for the USB host clock - -Example: - -usb0: ohci@49000000 { - compatible = "samsung,s3c2410-ohci"; - reg = <0x49000000 0x100>; - interrupts = <0 0 26 3>; - clocks = <&clocks UCLK>, <&clocks HCLK_USBH>; - clock-names = "usb-bus-host", "usb-host"; -}; +Samsung S3C2410 and compatible SoC USB controller + +OHCI + +Required properties: + - compatible: should be "samsung,s3c2410-ohci" for USB host controller + - reg: address and length of the controller memory mapped region + - interrupts: interrupt number for the USB OHCI controller + - clocks: Should reference the bus and host clocks + - clock-names: Should contain two strings + "usb-bus-host" for the USB bus clock + "usb-host" for the USB host clock + +Example: + +usb0: ohci@49000000 { + compatible = "samsung,s3c2410-ohci"; + reg = <0x49000000 0x100>; + interrupts = <0 0 26 3>; + clocks = <&clocks UCLK>, <&clocks HCLK_USBH>; + clock-names = "usb-bus-host", "usb-host"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/xlnx,usb2.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/xlnx,usb2.yaml index 2ec97a977a..a7f75fe366 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/xlnx,usb2.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/xlnx,usb2.yaml @@ -1,48 +1,48 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/usb/xlnx,usb2.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Xilinx udc controller - -maintainers: - - Mubin Sayyed - - Radhey Shyam Pandey - -properties: - compatible: - const: xlnx,usb2-device-4.00.a - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - xlnx,has-builtin-dma: - description: - If present, hardware has dma capability. - type: boolean - - clocks: - minItems: 1 - - clock-names: - const: s_axi_aclk - -required: - - compatible - - reg - - interrupts - -additionalProperties: false - -examples: - - | - axi-usb2-device@42e00000 { - compatible = "xlnx,usb2-device-4.00.a"; - interrupts = <0x0 0x39 0x1>; - reg = <0xee000000 0xc00>; - xlnx,has-builtin-dma; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/usb/xlnx,usb2.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Xilinx udc controller + +maintainers: + - Mubin Sayyed + - Radhey Shyam Pandey + +properties: + compatible: + const: xlnx,usb2-device-4.00.a + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + xlnx,has-builtin-dma: + description: + If present, hardware has dma capability. + type: boolean + + clocks: + minItems: 1 + + clock-names: + const: s_axi_aclk + +required: + - compatible + - reg + - interrupts + +additionalProperties: false + +examples: + - | + axi-usb2-device@42e00000 { + compatible = "xlnx,usb2-device-4.00.a"; + interrupts = <0x0 0x39 0x1>; + reg = <0xee000000 0xc00>; + xlnx,has-builtin-dma; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/w1/amd,axi-1wire-host.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/w1/amd,axi-1wire-host.yaml index 3853d24b13..ef70fa2c0c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/w1/amd,axi-1wire-host.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/w1/amd,axi-1wire-host.yaml @@ -1,44 +1,44 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/w1/amd,axi-1wire-host.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: AMD AXI 1-wire bus host for programmable logic - -maintainers: - - Kris Chaplin - -properties: - compatible: - const: amd,axi-1wire-host - - reg: - maxItems: 1 - - clocks: - maxItems: 1 - - interrupts: - maxItems: 1 - -required: - - compatible - - reg - - clocks - - interrupts - -additionalProperties: false - -examples: - - | - #include - - onewire@a0000000 { - compatible = "amd,axi-1wire-host"; - reg = <0xa0000000 0x10000>; - clocks = <&zynqmp_clk 0x47>; - interrupts = ; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/w1/amd,axi-1wire-host.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: AMD AXI 1-wire bus host for programmable logic + +maintainers: + - Kris Chaplin + +properties: + compatible: + const: amd,axi-1wire-host + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + interrupts: + maxItems: 1 + +required: + - compatible + - reg + - clocks + - interrupts + +additionalProperties: false + +examples: + - | + #include + + onewire@a0000000 { + compatible = "amd,axi-1wire-host"; + reg = <0xa0000000 0x10000>; + clocks = <&zynqmp_clk 0x47>; + interrupts = ; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/w1/fsl-imx-owire.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/w1/fsl-imx-owire.yaml index eb47c2440c..55adea827c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/w1/fsl-imx-owire.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/w1/fsl-imx-owire.yaml @@ -1,44 +1,44 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/w1/fsl-imx-owire.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Freescale i.MX One wire bus master controller - -maintainers: - - Martin Fuzzey - -properties: - compatible: - oneOf: - - const: fsl,imx21-owire - - items: - - enum: - - fsl,imx27-owire - - fsl,imx50-owire - - fsl,imx51-owire - - fsl,imx53-owire - - const: fsl,imx21-owire - - reg: - maxItems: 1 - - clocks: - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - #include - - owire@63fa4000 { - compatible = "fsl,imx53-owire", "fsl,imx21-owire"; - reg = <0x63fa4000 0x4000>; - clocks = <&clks IMX5_CLK_OWIRE_GATE>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/w1/fsl-imx-owire.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Freescale i.MX One wire bus master controller + +maintainers: + - Martin Fuzzey + +properties: + compatible: + oneOf: + - const: fsl,imx21-owire + - items: + - enum: + - fsl,imx27-owire + - fsl,imx50-owire + - fsl,imx51-owire + - fsl,imx53-owire + - const: fsl,imx21-owire + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + #include + + owire@63fa4000 { + compatible = "fsl,imx53-owire", "fsl,imx21-owire"; + reg = <0x63fa4000 0x4000>; + clocks = <&clks IMX5_CLK_OWIRE_GATE>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/w1/maxim,ds2482.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/w1/maxim,ds2482.yaml index 352b4e7bc6..422becc6e1 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/w1/maxim,ds2482.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/w1/maxim,ds2482.yaml @@ -1,44 +1,44 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/w1/maxim,ds2482.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Maxim One wire bus master controller - -maintainers: - - Stefan Wahren - -description: | - I2C to 1-wire bridges - - https://www.analog.com/media/en/technical-documentation/data-sheets/ds2482-100.pdf - https://www.analog.com/media/en/technical-documentation/data-sheets/DS2482-800.pdf - https://www.analog.com/media/en/technical-documentation/data-sheets/DS2484.pdf - -properties: - compatible: - enum: - - maxim,ds2482 - - maxim,ds2484 - - reg: - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: - type: object - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - onewire@18 { - compatible = "maxim,ds2484"; - reg = <0x18>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/w1/maxim,ds2482.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Maxim One wire bus master controller + +maintainers: + - Stefan Wahren + +description: | + I2C to 1-wire bridges + + https://www.analog.com/media/en/technical-documentation/data-sheets/ds2482-100.pdf + https://www.analog.com/media/en/technical-documentation/data-sheets/DS2482-800.pdf + https://www.analog.com/media/en/technical-documentation/data-sheets/DS2484.pdf + +properties: + compatible: + enum: + - maxim,ds2482 + - maxim,ds2484 + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: + type: object + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + onewire@18 { + compatible = "maxim,ds2484"; + reg = <0x18>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/w1/w1-gpio.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/w1/w1-gpio.yaml index 17dd9ae670..b02b022370 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/w1/w1-gpio.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/w1/w1-gpio.yaml @@ -1,43 +1,43 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/w1/w1-gpio.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Bitbanged GPIO 1-Wire Bus - -maintainers: - - Daniel Mack - -properties: - compatible: - const: w1-gpio - - gpios: - minItems: 1 - items: - - description: Data I/O pin - - description: Enable pin for an external pull-up resistor - - linux,open-drain: - type: boolean - description: > - If specified, the data pin is considered in open-drain mode. - -required: - - compatible - - gpios - -additionalProperties: - type: object - -examples: - - | - #include - - onewire { - compatible = "w1-gpio"; - gpios = <&gpio 0 GPIO_ACTIVE_HIGH>; - }; - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/w1/w1-gpio.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Bitbanged GPIO 1-Wire Bus + +maintainers: + - Daniel Mack + +properties: + compatible: + const: w1-gpio + + gpios: + minItems: 1 + items: + - description: Data I/O pin + - description: Enable pin for an external pull-up resistor + + linux,open-drain: + type: boolean + description: > + If specified, the data pin is considered in open-drain mode. + +required: + - compatible + - gpios + +additionalProperties: + type: object + +examples: + - | + #include + + onewire { + compatible = "w1-gpio"; + gpios = <&gpio 0 GPIO_ACTIVE_HIGH>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/arm-smc-wdt.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/arm-smc-wdt.yaml index 194a3cdaa2..8e9d0b7e82 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/arm-smc-wdt.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/arm-smc-wdt.yaml @@ -1,39 +1,39 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/watchdog/arm-smc-wdt.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: ARM Secure Monitor Call based watchdog - -maintainers: - - Julius Werner - -allOf: - - $ref: watchdog.yaml# - -properties: - compatible: - enum: - - arm,smc-wdt - - arm,smc-id: - $ref: /schemas/types.yaml#/definitions/uint32 - description: | - The ATF smc function id used by the firmware. - Defaults to 0x82003D06 if unset. - -required: - - compatible - -unevaluatedProperties: false - -examples: - - | - watchdog { - compatible = "arm,smc-wdt"; - arm,smc-id = <0x82003D06>; - timeout-sec = <15>; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/watchdog/arm-smc-wdt.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ARM Secure Monitor Call based watchdog + +maintainers: + - Julius Werner + +allOf: + - $ref: watchdog.yaml# + +properties: + compatible: + enum: + - arm,smc-wdt + + arm,smc-id: + $ref: /schemas/types.yaml#/definitions/uint32 + description: | + The ATF smc function id used by the firmware. + Defaults to 0x82003D06 if unset. + +required: + - compatible + +unevaluatedProperties: false + +examples: + - | + watchdog { + compatible = "arm,smc-wdt"; + arm,smc-id = <0x82003D06>; + timeout-sec = <15>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/armada-37xx-wdt.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/armada-37xx-wdt.txt index 2efa4e3fbb..a8d00c31a1 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/armada-37xx-wdt.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/armada-37xx-wdt.txt @@ -1,23 +1,23 @@ -* Armada 37xx CPU Watchdog Timer Controller - -Required properties: -- compatible : must be "marvell,armada-3700-wdt" -- reg : base physical address of the controller and length of memory mapped - region. -- clocks : the clock feeding the watchdog timer. See clock-bindings.txt -- marvell,system-controller : reference to syscon node for the CPU Miscellaneous - Registers - -Example: - - cpu_misc: system-controller@d000 { - compatible = "marvell,armada-3700-cpu-misc", "syscon"; - reg = <0xd000 0x1000>; - }; - - wdt: watchdog@8300 { - compatible = "marvell,armada-3700-wdt"; - reg = <0x8300 0x40>; - marvell,system-controller = <&cpu_misc>; - clocks = <&xtalclk>; - }; +* Armada 37xx CPU Watchdog Timer Controller + +Required properties: +- compatible : must be "marvell,armada-3700-wdt" +- reg : base physical address of the controller and length of memory mapped + region. +- clocks : the clock feeding the watchdog timer. See clock-bindings.txt +- marvell,system-controller : reference to syscon node for the CPU Miscellaneous + Registers + +Example: + + cpu_misc: system-controller@d000 { + compatible = "marvell,armada-3700-cpu-misc", "syscon"; + reg = <0xd000 0x1000>; + }; + + wdt: watchdog@8300 { + compatible = "marvell,armada-3700-wdt"; + reg = <0x8300 0x40>; + marvell,system-controller = <&cpu_misc>; + clocks = <&xtalclk>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/brcm,bcm7038-wdt.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/brcm,bcm7038-wdt.yaml index e497db1fc9..e898167ef6 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/brcm,bcm7038-wdt.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/brcm,bcm7038-wdt.yaml @@ -1,43 +1,43 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/watchdog/brcm,bcm7038-wdt.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: BCM63xx and BCM7038 watchdog timer - -maintainers: - - Florian Fainelli - - Justin Chen - - Rafał Miłecki - -allOf: - - $ref: watchdog.yaml# - -properties: - compatible: - enum: - - brcm,bcm6345-wdt - - brcm,bcm7038-wdt - - reg: - maxItems: 1 - - clocks: - maxItems: 1 - description: > - The clock running the watchdog. If no clock is found the driver will - default to 27000000 Hz. - -required: - - reg - -unevaluatedProperties: false - -examples: - - | - watchdog@f040a7e8 { - compatible = "brcm,bcm7038-wdt"; - reg = <0xf040a7e8 0x16>; - clocks = <&upg_fixed>; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/watchdog/brcm,bcm7038-wdt.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: BCM63xx and BCM7038 watchdog timer + +maintainers: + - Florian Fainelli + - Justin Chen + - Rafał Miłecki + +allOf: + - $ref: watchdog.yaml# + +properties: + compatible: + enum: + - brcm,bcm6345-wdt + - brcm,bcm7038-wdt + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + description: > + The clock running the watchdog. If no clock is found the driver will + default to 27000000 Hz. + +required: + - reg + +unevaluatedProperties: false + +examples: + - | + watchdog@f040a7e8 { + compatible = "brcm,bcm7038-wdt"; + reg = <0xf040a7e8 0x16>; + clocks = <&upg_fixed>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/brcm,kona-wdt.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/brcm,kona-wdt.yaml index 96fc296d33..3d4403b41c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/brcm,kona-wdt.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/brcm,kona-wdt.yaml @@ -1,41 +1,41 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/watchdog/brcm,kona-wdt.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Broadcom Kona Family Watchdog Timer - -description: | - This watchdog timer is used in the following Broadcom SoCs: - BCM11130, BCM11140, BCM11351, BCM28145, BCM28155 - -maintainers: - - Florian Fainelli - - Ray Jui - - Scott Branden - -allOf: - - $ref: watchdog.yaml# - -properties: - compatible: - items: - - const: brcm,bcm11351-wdt - - const: brcm,kona-wdt - - reg: - maxItems: 1 - -required: - - compatible - - reg - -unevaluatedProperties: false - -examples: - - | - watchdog@35002f40 { - compatible = "brcm,bcm11351-wdt", "brcm,kona-wdt"; - reg = <0x35002f40 0x6c>; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/watchdog/brcm,kona-wdt.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom Kona Family Watchdog Timer + +description: | + This watchdog timer is used in the following Broadcom SoCs: + BCM11130, BCM11140, BCM11351, BCM28145, BCM28155 + +maintainers: + - Florian Fainelli + - Ray Jui + - Scott Branden + +allOf: + - $ref: watchdog.yaml# + +properties: + compatible: + items: + - const: brcm,bcm11351-wdt + - const: brcm,kona-wdt + + reg: + maxItems: 1 + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + watchdog@35002f40 { + compatible = "brcm,bcm11351-wdt", "brcm,kona-wdt"; + reg = <0x35002f40 0x6c>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/cirrus,ep9301-wdt.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/cirrus,ep9301-wdt.yaml index 3c248629d2..5dbe891c70 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/cirrus,ep9301-wdt.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/cirrus,ep9301-wdt.yaml @@ -1,42 +1,42 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/watchdog/cirrus,ep9301-wdt.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Cirrus Logic EP93xx Watchdog Timer - -maintainers: - - Nikita Shubin - - Alexander Sverdlin - -allOf: - - $ref: watchdog.yaml# - -properties: - compatible: - oneOf: - - const: cirrus,ep9301-wdt - - items: - - enum: - - cirrus,ep9302-wdt - - cirrus,ep9307-wdt - - cirrus,ep9312-wdt - - cirrus,ep9315-wdt - - const: cirrus,ep9301-wdt - - reg: - maxItems: 1 - -required: - - compatible - - reg - -unevaluatedProperties: false - -examples: - - | - watchdog@80940000 { - compatible = "cirrus,ep9301-wdt"; - reg = <0x80940000 0x08>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/watchdog/cirrus,ep9301-wdt.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Cirrus Logic EP93xx Watchdog Timer + +maintainers: + - Nikita Shubin + - Alexander Sverdlin + +allOf: + - $ref: watchdog.yaml# + +properties: + compatible: + oneOf: + - const: cirrus,ep9301-wdt + - items: + - enum: + - cirrus,ep9302-wdt + - cirrus,ep9307-wdt + - cirrus,ep9312-wdt + - cirrus,ep9315-wdt + - const: cirrus,ep9301-wdt + + reg: + maxItems: 1 + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + watchdog@80940000 { + compatible = "cirrus,ep9301-wdt"; + reg = <0x80940000 0x08>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/fsl,scu-wdt.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/fsl,scu-wdt.yaml index 259244d48f..8b7aa92224 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/fsl,scu-wdt.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/fsl,scu-wdt.yaml @@ -1,36 +1,36 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/watchdog/fsl,scu-wdt.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: i.MX SCU Client Device Node - Watchdog Based on SCU Message Protocol - -maintainers: - - Dong Aisheng - -description: i.MX SCU Client Device Node - Client nodes are maintained as children of the relevant IMX-SCU device node. - -allOf: - - $ref: watchdog.yaml# - -properties: - compatible: - items: - - enum: - - fsl,imx8dxl-sc-wdt - - fsl,imx8qxp-sc-wdt - - const: fsl,imx-sc-wdt - -required: - - compatible - -unevaluatedProperties: false - -examples: - - | - watchdog { - compatible = "fsl,imx8qxp-sc-wdt", "fsl,imx-sc-wdt"; - timeout-sec = <60>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/watchdog/fsl,scu-wdt.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: i.MX SCU Client Device Node - Watchdog Based on SCU Message Protocol + +maintainers: + - Dong Aisheng + +description: i.MX SCU Client Device Node + Client nodes are maintained as children of the relevant IMX-SCU device node. + +allOf: + - $ref: watchdog.yaml# + +properties: + compatible: + items: + - enum: + - fsl,imx8dxl-sc-wdt + - fsl,imx8qxp-sc-wdt + - const: fsl,imx-sc-wdt + +required: + - compatible + +unevaluatedProperties: false + +examples: + - | + watchdog { + compatible = "fsl,imx8qxp-sc-wdt", "fsl,imx-sc-wdt"; + timeout-sec = <60>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/kontron,sl28cpld-wdt.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/kontron,sl28cpld-wdt.yaml index fca6eeb127..179272f74d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/kontron,sl28cpld-wdt.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/kontron,sl28cpld-wdt.yaml @@ -1,35 +1,35 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/watchdog/kontron,sl28cpld-wdt.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Watchdog 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. - -allOf: - - $ref: watchdog.yaml# - -properties: - compatible: - const: kontron,sl28cpld-wdt - - reg: - maxItems: 1 - - kontron,assert-wdt-timeout-pin: - description: The SMARC standard defines a WDT_TIME_OUT# pin. If this - property is set, this output will be pulsed when the watchdog bites - and the system resets. - type: boolean - -required: - - compatible - -additionalProperties: false +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/watchdog/kontron,sl28cpld-wdt.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Watchdog 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. + +allOf: + - $ref: watchdog.yaml# + +properties: + compatible: + const: kontron,sl28cpld-wdt + + reg: + maxItems: 1 + + kontron,assert-wdt-timeout-pin: + description: The SMARC standard defines a WDT_TIME_OUT# pin. If this + property is set, this output will be pulsed when the watchdog bites + and the system resets. + type: boolean + +required: + - compatible + +additionalProperties: false diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/lantiq-wdt.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/lantiq-wdt.txt index ebb999c6d5..18d4d83027 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/lantiq-wdt.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/lantiq-wdt.txt @@ -1,24 +1,24 @@ -Lantiq WTD watchdog binding -============================ - -This describes the binding of the Lantiq watchdog driver. - -------------------------------------------------------------------------------- -Required properties: -- compatible : Should be one of - "lantiq,wdt" - "lantiq,xrx100-wdt" - "lantiq,xrx200-wdt", "lantiq,xrx100-wdt" - "lantiq,falcon-wdt" -- reg : Address of the watchdog block -- lantiq,rcu : A phandle to the RCU syscon (required for - "lantiq,falcon-wdt" and "lantiq,xrx100-wdt") - -------------------------------------------------------------------------------- -Example for the watchdog on the xRX200 SoCs: - watchdog@803f0 { - compatible = "lantiq,xrx200-wdt", "lantiq,xrx100-wdt"; - reg = <0x803f0 0x10>; - - lantiq,rcu = <&rcu0>; - }; +Lantiq WTD watchdog binding +============================ + +This describes the binding of the Lantiq watchdog driver. + +------------------------------------------------------------------------------- +Required properties: +- compatible : Should be one of + "lantiq,wdt" + "lantiq,xrx100-wdt" + "lantiq,xrx200-wdt", "lantiq,xrx100-wdt" + "lantiq,falcon-wdt" +- reg : Address of the watchdog block +- lantiq,rcu : A phandle to the RCU syscon (required for + "lantiq,falcon-wdt" and "lantiq,xrx100-wdt") + +------------------------------------------------------------------------------- +Example for the watchdog on the xRX200 SoCs: + watchdog@803f0 { + compatible = "lantiq,xrx200-wdt", "lantiq,xrx100-wdt"; + reg = <0x803f0 0x10>; + + lantiq,rcu = <&rcu0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/loongson,ls1x-wdt.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/loongson,ls1x-wdt.yaml index 52c120377b..81690d4b62 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/loongson,ls1x-wdt.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/loongson,ls1x-wdt.yaml @@ -1,42 +1,42 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/watchdog/loongson,ls1x-wdt.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Loongson-1 Watchdog Timer - -maintainers: - - Keguang Zhang - -allOf: - - $ref: watchdog.yaml# - -properties: - compatible: - enum: - - loongson,ls1b-wdt - - loongson,ls1c-wdt - - reg: - maxItems: 1 - - clocks: - maxItems: 1 - -required: - - compatible - - reg - - clocks - -unevaluatedProperties: false - -examples: - - | - #include - watchdog: watchdog@1fe5c060 { - compatible = "loongson,ls1b-wdt"; - reg = <0x1fe5c060 0xc>; - - clocks = <&clkc LS1X_CLKID_APB>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/watchdog/loongson,ls1x-wdt.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Loongson-1 Watchdog Timer + +maintainers: + - Keguang Zhang + +allOf: + - $ref: watchdog.yaml# + +properties: + compatible: + enum: + - loongson,ls1b-wdt + - loongson,ls1c-wdt + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + +required: + - compatible + - reg + - clocks + +unevaluatedProperties: false + +examples: + - | + #include + watchdog: watchdog@1fe5c060 { + compatible = "loongson,ls1b-wdt"; + reg = <0x1fe5c060 0xc>; + + clocks = <&clkc LS1X_CLKID_APB>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/maxim,max63xx.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/maxim,max63xx.yaml index 9262ba2e91..442c21f12a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/maxim,max63xx.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/maxim,max63xx.yaml @@ -1,45 +1,45 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/watchdog/maxim,max63xx.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Maxim 63xx Watchdog Timers - -maintainers: - - Marc Zyngier - - Linus Walleij - -allOf: - - $ref: watchdog.yaml# - - $ref: /schemas/memory-controllers/mc-peripheral-props.yaml# - -properties: - compatible: - enum: - - maxim,max6369 - - maxim,max6370 - - maxim,max6371 - - maxim,max6372 - - maxim,max6373 - - maxim,max6374 - - reg: - description: This is a 1-byte memory-mapped address - maxItems: 1 - -required: - - compatible - - reg - -unevaluatedProperties: false - -examples: - - | - wdt: watchdog@50000000 { - compatible = "maxim,max6369"; - reg = <0x50000000 0x1>; - timeout-sec = <10>; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/watchdog/maxim,max63xx.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Maxim 63xx Watchdog Timers + +maintainers: + - Marc Zyngier + - Linus Walleij + +allOf: + - $ref: watchdog.yaml# + - $ref: /schemas/memory-controllers/mc-peripheral-props.yaml# + +properties: + compatible: + enum: + - maxim,max6369 + - maxim,max6370 + - maxim,max6371 + - maxim,max6372 + - maxim,max6373 + - maxim,max6374 + + reg: + description: This is a 1-byte memory-mapped address + maxItems: 1 + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + wdt: watchdog@50000000 { + compatible = "maxim,max6369"; + reg = <0x50000000 0x1>; + timeout-sec = <10>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/mediatek,mt7621-wdt.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/mediatek,mt7621-wdt.yaml index 46d2a0fbce..18160869c3 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/mediatek,mt7621-wdt.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/mediatek,mt7621-wdt.yaml @@ -1,40 +1,40 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/watchdog/mediatek,mt7621-wdt.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Ralink Watchdog Timers - -maintainers: - - Sergio Paracuellos - -allOf: - - $ref: watchdog.yaml# - -properties: - compatible: - const: mediatek,mt7621-wdt - - reg: - maxItems: 1 - - mediatek,sysctl: - $ref: /schemas/types.yaml#/definitions/phandle - description: - phandle to system controller 'sysc' syscon node which - controls system registers - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - watchdog@100 { - compatible = "mediatek,mt7621-wdt"; - reg = <0x100 0x100>; - mediatek,sysctl = <&sysc>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/watchdog/mediatek,mt7621-wdt.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Ralink Watchdog Timers + +maintainers: + - Sergio Paracuellos + +allOf: + - $ref: watchdog.yaml# + +properties: + compatible: + const: mediatek,mt7621-wdt + + reg: + maxItems: 1 + + mediatek,sysctl: + $ref: /schemas/types.yaml#/definitions/phandle + description: + phandle to system controller 'sysc' syscon node which + controls system registers + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + watchdog@100 { + compatible = "mediatek,mt7621-wdt"; + reg = <0x100 0x100>; + mediatek,sysctl = <&sysc>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/men-a021-wdt.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/men-a021-wdt.txt index 4a335362a5..370dee3226 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/men-a021-wdt.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/men-a021-wdt.txt @@ -1,25 +1,25 @@ -Bindings for MEN A21 Watchdog device connected to GPIO lines - -Required properties: -- compatible: "men,a021-wdt" -- gpios: Specifies the pins that control the Watchdog, order: - 1: Watchdog enable - 2: Watchdog fast-mode - 3: Watchdog trigger - 4: Watchdog reset cause bit 0 - 5: Watchdog reset cause bit 1 - 6: Watchdog reset cause bit 2 - -Optional properties: -- None - -Example: - watchdog { - compatible ="men,a021-wdt"; - gpios = <&gpio3 9 1 /* WD_EN */ - &gpio3 10 1 /* WD_FAST */ - &gpio3 11 1 /* WD_TRIG */ - &gpio3 6 1 /* RST_CAUSE[0] */ - &gpio3 7 1 /* RST_CAUSE[1] */ - &gpio3 8 1>; /* RST_CAUSE[2] */ - }; +Bindings for MEN A21 Watchdog device connected to GPIO lines + +Required properties: +- compatible: "men,a021-wdt" +- gpios: Specifies the pins that control the Watchdog, order: + 1: Watchdog enable + 2: Watchdog fast-mode + 3: Watchdog trigger + 4: Watchdog reset cause bit 0 + 5: Watchdog reset cause bit 1 + 6: Watchdog reset cause bit 2 + +Optional properties: +- None + +Example: + watchdog { + compatible ="men,a021-wdt"; + gpios = <&gpio3 9 1 /* WD_EN */ + &gpio3 10 1 /* WD_FAST */ + &gpio3 11 1 /* WD_TRIG */ + &gpio3 6 1 /* RST_CAUSE[0] */ + &gpio3 7 1 /* RST_CAUSE[1] */ + &gpio3 8 1>; /* RST_CAUSE[2] */ + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/mpc8xxx-wdt.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/mpc8xxx-wdt.txt index ca6f27f0ff..a384ff5b3c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/mpc8xxx-wdt.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/mpc8xxx-wdt.txt @@ -1,25 +1,25 @@ -* Freescale mpc8xxx watchdog driver (For 83xx, 86xx and 8xx) - -Required properties: -- compatible: Shall contain one of the following: - "mpc83xx_wdt" for an mpc83xx - "fsl,mpc8610-wdt" for an mpc86xx - "fsl,mpc823-wdt" for an mpc8xx -- reg: base physical address and length of the area hosting the - watchdog registers. - On the 83xx, "Watchdog Timer Registers" area: <0x200 0x100> - On the 86xx, "Watchdog Timer Registers" area: <0xe4000 0x100> - On the 8xx, "General System Interface Unit" area: <0x0 0x10> - -Optional properties: -- reg: additional physical address and length (4) of location of the - Reset Status Register (called RSTRSCR on the mpc86xx) - On the 83xx, it is located at offset 0x910 - On the 86xx, it is located at offset 0xe0094 - On the 8xx, it is located at offset 0x288 - -Example: - WDT: watchdog@0 { - compatible = "fsl,mpc823-wdt"; - reg = <0x0 0x10 0x288 0x4>; - }; +* Freescale mpc8xxx watchdog driver (For 83xx, 86xx and 8xx) + +Required properties: +- compatible: Shall contain one of the following: + "mpc83xx_wdt" for an mpc83xx + "fsl,mpc8610-wdt" for an mpc86xx + "fsl,mpc823-wdt" for an mpc8xx +- reg: base physical address and length of the area hosting the + watchdog registers. + On the 83xx, "Watchdog Timer Registers" area: <0x200 0x100> + On the 86xx, "Watchdog Timer Registers" area: <0xe4000 0x100> + On the 8xx, "General System Interface Unit" area: <0x0 0x10> + +Optional properties: +- reg: additional physical address and length (4) of location of the + Reset Status Register (called RSTRSCR on the mpc86xx) + On the 83xx, it is located at offset 0x910 + On the 86xx, it is located at offset 0xe0094 + On the 8xx, it is located at offset 0x288 + +Example: + WDT: watchdog@0 { + compatible = "fsl,mpc823-wdt"; + reg = <0x0 0x10 0x288 0x4>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/mstar,msc313e-wdt.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/mstar,msc313e-wdt.yaml index fe6aceb15d..33794711c5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/mstar,msc313e-wdt.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/mstar,msc313e-wdt.yaml @@ -1,40 +1,40 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/watchdog/mstar,msc313e-wdt.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: MStar Watchdog - -maintainers: - - Daniel Palmer - - Romain Perier - -allOf: - - $ref: watchdog.yaml# - -properties: - compatible: - enum: - - mstar,msc313e-wdt - - reg: - maxItems: 1 - - clocks: - maxItems: 1 - -required: - - compatible - - clocks - - reg - -unevaluatedProperties: false - -examples: - - | - watchdog@6000 { - compatible = "mstar,msc313e-wdt"; - reg = <0x6000 0x1f>; - clocks = <&xtal_div2>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/watchdog/mstar,msc313e-wdt.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: MStar Watchdog + +maintainers: + - Daniel Palmer + - Romain Perier + +allOf: + - $ref: watchdog.yaml# + +properties: + compatible: + enum: + - mstar,msc313e-wdt + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + +required: + - compatible + - clocks + - reg + +unevaluatedProperties: false + +examples: + - | + watchdog@6000 { + compatible = "mstar,msc313e-wdt"; + reg = <0x6000 0x1f>; + clocks = <&xtal_div2>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/ralink,rt2880-wdt.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/ralink,rt2880-wdt.yaml index df8b54080e..51e00de947 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/ralink,rt2880-wdt.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/ralink,rt2880-wdt.yaml @@ -1,46 +1,46 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/watchdog/ralink,rt2880-wdt.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Ralink Watchdog Timers - -maintainers: - - Sergio Paracuellos - -allOf: - - $ref: watchdog.yaml# - -properties: - compatible: - const: ralink,rt2880-wdt - - reg: - maxItems: 1 - - clocks: - maxItems: 1 - - resets: - maxItems: 1 - - interrupts: - maxItems: 1 - -required: - - compatible - - reg - -unevaluatedProperties: false - -examples: - - | - watchdog@100 { - compatible = "ralink,rt2880-wdt"; - reg = <0x120 0x10>; - clocks = <&clkref>; - resets = <&rstctrl 8>; - interrupt-parent = <&intc>; - interrupts = <1>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/watchdog/ralink,rt2880-wdt.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Ralink Watchdog Timers + +maintainers: + - Sergio Paracuellos + +allOf: + - $ref: watchdog.yaml# + +properties: + compatible: + const: ralink,rt2880-wdt + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + resets: + maxItems: 1 + + interrupts: + maxItems: 1 + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + watchdog@100 { + compatible = "ralink,rt2880-wdt"; + reg = <0x120 0x10>; + clocks = <&clkref>; + resets = <&rstctrl 8>; + interrupt-parent = <&intc>; + interrupts = <1>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/realtek,rtd1295-watchdog.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/realtek,rtd1295-watchdog.yaml index d0ba812d06..2a0ea16963 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/realtek,rtd1295-watchdog.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/realtek,rtd1295-watchdog.yaml @@ -1,38 +1,38 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/watchdog/realtek,rtd1295-watchdog.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Realtek RTD1295 Watchdog - -maintainers: - - Andreas Färber - -allOf: - - $ref: watchdog.yaml# - -properties: - compatible: - const: realtek,rtd1295-watchdog - - reg: - maxItems: 1 - - clocks: - maxItems: 1 - -required: - - compatible - - reg - - clocks - -unevaluatedProperties: false - -examples: - - | - watchdog@98007680 { - compatible = "realtek,rtd1295-watchdog"; - reg = <0x98007680 0x100>; - clocks = <&osc27M>; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/watchdog/realtek,rtd1295-watchdog.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Realtek RTD1295 Watchdog + +maintainers: + - Andreas Färber + +allOf: + - $ref: watchdog.yaml# + +properties: + compatible: + const: realtek,rtd1295-watchdog + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + +required: + - compatible + - reg + - clocks + +unevaluatedProperties: false + +examples: + - | + watchdog@98007680 { + compatible = "realtek,rtd1295-watchdog"; + reg = <0x98007680 0x100>; + clocks = <&osc27M>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/socionext,uniphier-wdt.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/socionext,uniphier-wdt.yaml index b23ce62a6d..ba07093143 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/socionext,uniphier-wdt.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/socionext,uniphier-wdt.yaml @@ -1,30 +1,30 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/watchdog/socionext,uniphier-wdt.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Socionext UniPhier watchdog timer - -maintainers: - - Keiji Hayashibara - -allOf: - - $ref: watchdog.yaml# - -properties: - compatible: - const: socionext,uniphier-wdt - -required: - - compatible - -unevaluatedProperties: false - -examples: - - | - // The UniPhier watchdog should be a subnode of a "syscon" compatible node. - - watchdog { - compatible = "socionext,uniphier-wdt"; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/watchdog/socionext,uniphier-wdt.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Socionext UniPhier watchdog timer + +maintainers: + - Keiji Hayashibara + +allOf: + - $ref: watchdog.yaml# + +properties: + compatible: + const: socionext,uniphier-wdt + +required: + - compatible + +unevaluatedProperties: false + +examples: + - | + // The UniPhier watchdog should be a subnode of a "syscon" compatible node. + + watchdog { + compatible = "socionext,uniphier-wdt"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/sunplus,sp7021-wdt.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/sunplus,sp7021-wdt.yaml index 475677635d..d902710131 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/sunplus,sp7021-wdt.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/sunplus,sp7021-wdt.yaml @@ -1,47 +1,47 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -# Copyright (C) Sunplus Co., Ltd. 2021 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/watchdog/sunplus,sp7021-wdt.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Sunplus SoCs Watchdog - -maintainers: - - XianTao Hu - -allOf: - - $ref: watchdog.yaml# - -properties: - compatible: - const: sunplus,sp7021-wdt - - reg: - items: - - description: watchdog registers regions - - description: miscellaneous control registers regions - - clocks: - maxItems: 1 - - resets: - maxItems: 1 - -required: - - compatible - - reg - - clocks - - resets - -additionalProperties: false - -examples: - - | - watchdog: watchdog@9c000630 { - compatible = "sunplus,sp7021-wdt"; - reg = <0x9c000630 0x08>, <0x9c000274 0x04>; - clocks = <&clkc 0x24>; - resets = <&rstc 0x14>; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +# Copyright (C) Sunplus Co., Ltd. 2021 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/watchdog/sunplus,sp7021-wdt.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Sunplus SoCs Watchdog + +maintainers: + - XianTao Hu + +allOf: + - $ref: watchdog.yaml# + +properties: + compatible: + const: sunplus,sp7021-wdt + + reg: + items: + - description: watchdog registers regions + - description: miscellaneous control registers regions + + clocks: + maxItems: 1 + + resets: + maxItems: 1 + +required: + - compatible + - reg + - clocks + - resets + +additionalProperties: false + +examples: + - | + watchdog: watchdog@9c000630 { + compatible = "sunplus,sp7021-wdt"; + reg = <0x9c000630 0x08>, <0x9c000274 0x04>; + clocks = <&clkc 0x24>; + resets = <&rstc 0x14>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/technologic,ts7200-wdt.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/technologic,ts7200-wdt.yaml index 9d47e60c7c..7e4bfef152 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/technologic,ts7200-wdt.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/technologic,ts7200-wdt.yaml @@ -1,45 +1,45 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/watchdog/technologic,ts7200-wdt.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Technologic Systems TS-72xx based SBCs watchdog - -maintainers: - - Nikita Shubin - -allOf: - - $ref: watchdog.yaml# - -properties: - compatible: - oneOf: - - const: technologic,ts7200-wdt - - items: - - enum: - - technologic,ts7300-wdt - - technologic,ts7260-wdt - - technologic,ts7250-wdt - - const: technologic,ts7200-wdt - - reg: - items: - - description: control register - - description: feed register - -required: - - compatible - - reg - -unevaluatedProperties: false - -examples: - - | - watchdog@23800000 { - compatible = "technologic,ts7200-wdt"; - reg = <0x23800000 0x01>, <0x23c00000 0x01>; - timeout-sec = <30>; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/watchdog/technologic,ts7200-wdt.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Technologic Systems TS-72xx based SBCs watchdog + +maintainers: + - Nikita Shubin + +allOf: + - $ref: watchdog.yaml# + +properties: + compatible: + oneOf: + - const: technologic,ts7200-wdt + - items: + - enum: + - technologic,ts7300-wdt + - technologic,ts7260-wdt + - technologic,ts7250-wdt + - const: technologic,ts7200-wdt + + reg: + items: + - description: control register + - description: feed register + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + watchdog@23800000 { + compatible = "technologic,ts7200-wdt"; + reg = <0x23800000 0x01>, <0x23c00000 0x01>; + timeout-sec = <30>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/watchdog.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/watchdog.yaml index 4690c940a1..f0a584af12 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/watchdog.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/watchdog.yaml @@ -1,32 +1,32 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/watchdog/watchdog.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Watchdog Common Properties - -maintainers: - - Guenter Roeck - - Wim Van Sebroeck - -description: | - This document describes generic bindings which can be used to - describe watchdog devices in a device tree. - -select: - properties: - $nodename: - pattern: "^watchdog(@.*|-([0-9]|[1-9][0-9]+))?$" - -properties: - $nodename: - pattern: "^(timer|watchdog)(@.*|-([0-9]|[1-9][0-9]+))?$" - - timeout-sec: - description: - Contains the watchdog timeout in seconds. - -additionalProperties: true - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/watchdog/watchdog.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Watchdog Common Properties + +maintainers: + - Guenter Roeck + - Wim Van Sebroeck + +description: | + This document describes generic bindings which can be used to + describe watchdog devices in a device tree. + +select: + properties: + $nodename: + pattern: "^watchdog(@.*|-([0-9]|[1-9][0-9]+))?$" + +properties: + $nodename: + pattern: "^(timer|watchdog)(@.*|-([0-9]|[1-9][0-9]+))?$" + + timeout-sec: + description: + Contains the watchdog timeout in seconds. + +additionalProperties: true + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/devfreq.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/devfreq.rst index b764b76b38..4a0bf87a3b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/devfreq.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/devfreq.rst @@ -1,30 +1,30 @@ -.. SPDX-License-Identifier: GPL-2.0 - -======================== -Device Frequency Scaling -======================== - -Introduction ------------- - -This framework provides a standard kernel interface for Dynamic Voltage and -Frequency Switching on arbitrary devices. - -It exposes controls for adjusting frequency through sysfs files which are -similar to the cpufreq subsystem. - -Devices for which current usage can be measured can have their frequency -automatically adjusted by governors. - -API ---- - -Device drivers need to initialize a :c:type:`devfreq_profile` and call the -:c:func:`devfreq_add_device` function to create a :c:type:`devfreq` instance. - -.. kernel-doc:: include/linux/devfreq.h -.. kernel-doc:: include/linux/devfreq-event.h -.. kernel-doc:: drivers/devfreq/devfreq.c - :export: -.. kernel-doc:: drivers/devfreq/devfreq-event.c - :export: +.. SPDX-License-Identifier: GPL-2.0 + +======================== +Device Frequency Scaling +======================== + +Introduction +------------ + +This framework provides a standard kernel interface for Dynamic Voltage and +Frequency Switching on arbitrary devices. + +It exposes controls for adjusting frequency through sysfs files which are +similar to the cpufreq subsystem. + +Devices for which current usage can be measured can have their frequency +automatically adjusted by governors. + +API +--- + +Device drivers need to initialize a :c:type:`devfreq_profile` and call the +:c:func:`devfreq_add_device` function to create a :c:type:`devfreq` instance. + +.. kernel-doc:: include/linux/devfreq.h +.. kernel-doc:: include/linux/devfreq-event.h +.. kernel-doc:: drivers/devfreq/devfreq.c + :export: +.. kernel-doc:: drivers/devfreq/devfreq-event.c + :export: diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/firmware/introduction.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/firmware/introduction.rst index 9b3d97691c..211cb44eb9 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/firmware/introduction.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/firmware/introduction.rst @@ -1,27 +1,27 @@ -============ -Introduction -============ - -The firmware API enables kernel code to request files required -for functionality from userspace, the uses vary: - -* Microcode for CPU errata -* Device driver firmware, required to be loaded onto device - microcontrollers -* Device driver information data (calibration data, EEPROM overrides), - some of which can be completely optional. - -Types of firmware requests -========================== - -There are two types of calls: - -* Synchronous -* Asynchronous - -Which one you use vary depending on your requirements, the rule of thumb -however is you should strive to use the asynchronous APIs unless you also -are already using asynchronous initialization mechanisms which will not -stall or delay boot. Even if loading firmware does not take a lot of time -processing firmware might, and this can still delay boot or initialization, -as such mechanisms such as asynchronous probe can help supplement drivers. +============ +Introduction +============ + +The firmware API enables kernel code to request files required +for functionality from userspace, the uses vary: + +* Microcode for CPU errata +* Device driver firmware, required to be loaded onto device + microcontrollers +* Device driver information data (calibration data, EEPROM overrides), + some of which can be completely optional. + +Types of firmware requests +========================== + +There are two types of calls: + +* Synchronous +* Asynchronous + +Which one you use vary depending on your requirements, the rule of thumb +however is you should strive to use the asynchronous APIs unless you also +are already using asynchronous initialization mechanisms which will not +stall or delay boot. Even if loading firmware does not take a lot of time +processing firmware might, and this can still delay boot or initialization, +as such mechanisms such as asynchronous probe can help supplement drivers. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/firmware/lookup-order.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/firmware/lookup-order.rst index 32d6517ec7..6064672a78 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/firmware/lookup-order.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/firmware/lookup-order.rst @@ -1,20 +1,20 @@ -===================== -Firmware lookup order -===================== - -Different functionality is available to enable firmware to be found. -Below is chronological order of how firmware will be looked for once -a driver issues a firmware API call. - -* The ''Built-in firmware'' is checked first, if the firmware is present we - return it immediately -* The ''Firmware cache'' is looked at next. If the firmware is found we - return it immediately -* The ''Direct filesystem lookup'' is performed next, if found we - return it immediately -* The ''Platform firmware fallback'' is performed next, but only when - firmware_request_platform() is used, if found we return it immediately -* If no firmware has been found and the fallback mechanism was enabled - the sysfs interface is created. After this either a kobject uevent - is issued or the custom firmware loading is relied upon for firmware - loading up to the timeout value. +===================== +Firmware lookup order +===================== + +Different functionality is available to enable firmware to be found. +Below is chronological order of how firmware will be looked for once +a driver issues a firmware API call. + +* The ''Built-in firmware'' is checked first, if the firmware is present we + return it immediately +* The ''Firmware cache'' is looked at next. If the firmware is found we + return it immediately +* The ''Direct filesystem lookup'' is performed next, if found we + return it immediately +* The ''Platform firmware fallback'' is performed next, but only when + firmware_request_platform() is used, if found we return it immediately +* If no firmware has been found and the fallback mechanism was enabled + the sysfs interface is created. After this either a kobject uevent + is issued or the custom firmware loading is relied upon for firmware + loading up to the timeout value. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/fpga/fpga-bridge.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/fpga/fpga-bridge.rst index 1b7cbbbc8a..833f68fb07 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/fpga/fpga-bridge.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/fpga/fpga-bridge.rst @@ -1,25 +1,25 @@ -FPGA Bridge -=========== - -API to implement a new FPGA bridge -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -* struct fpga_bridge - The FPGA Bridge structure -* struct fpga_bridge_ops - Low level Bridge driver ops -* __fpga_bridge_register() - Create and register a bridge -* fpga_bridge_unregister() - Unregister a bridge - -The helper macro ``fpga_bridge_register()`` automatically sets -the module that registers the FPGA bridge as the owner. - -.. kernel-doc:: include/linux/fpga/fpga-bridge.h - :functions: fpga_bridge - -.. kernel-doc:: include/linux/fpga/fpga-bridge.h - :functions: fpga_bridge_ops - -.. kernel-doc:: drivers/fpga/fpga-bridge.c - :functions: __fpga_bridge_register - -.. kernel-doc:: drivers/fpga/fpga-bridge.c - :functions: fpga_bridge_unregister +FPGA Bridge +=========== + +API to implement a new FPGA bridge +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +* struct fpga_bridge - The FPGA Bridge structure +* struct fpga_bridge_ops - Low level Bridge driver ops +* __fpga_bridge_register() - Create and register a bridge +* fpga_bridge_unregister() - Unregister a bridge + +The helper macro ``fpga_bridge_register()`` automatically sets +the module that registers the FPGA bridge as the owner. + +.. kernel-doc:: include/linux/fpga/fpga-bridge.h + :functions: fpga_bridge + +.. kernel-doc:: include/linux/fpga/fpga-bridge.h + :functions: fpga_bridge_ops + +.. kernel-doc:: drivers/fpga/fpga-bridge.c + :functions: __fpga_bridge_register + +.. kernel-doc:: drivers/fpga/fpga-bridge.c + :functions: fpga_bridge_unregister diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/gpio/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/gpio/index.rst index 686de25508..34b57cee33 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/gpio/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/gpio/index.rst @@ -1,49 +1,49 @@ -=================================== -General Purpose Input/Output (GPIO) -=================================== - -Contents: - -.. toctree:: - :maxdepth: 2 - - intro - using-gpio - driver - consumer - board - drivers-on-gpio - bt8xxgpio - -Core -==== - -.. kernel-doc:: include/linux/gpio/driver.h - :internal: - -.. kernel-doc:: drivers/gpio/gpiolib.c - :export: - -ACPI support -============ - -.. kernel-doc:: drivers/gpio/gpiolib-acpi.c - :export: - -Device tree support -=================== - -.. kernel-doc:: drivers/gpio/gpiolib-of.c - :export: - -Device-managed API -================== - -.. kernel-doc:: drivers/gpio/gpiolib-devres.c - :export: - -sysfs helpers -============= - -.. kernel-doc:: drivers/gpio/gpiolib-sysfs.c - :export: +=================================== +General Purpose Input/Output (GPIO) +=================================== + +Contents: + +.. toctree:: + :maxdepth: 2 + + intro + using-gpio + driver + consumer + board + drivers-on-gpio + bt8xxgpio + +Core +==== + +.. kernel-doc:: include/linux/gpio/driver.h + :internal: + +.. kernel-doc:: drivers/gpio/gpiolib.c + :export: + +ACPI support +============ + +.. kernel-doc:: drivers/gpio/gpiolib-acpi.c + :export: + +Device tree support +=================== + +.. kernel-doc:: drivers/gpio/gpiolib-of.c + :export: + +Device-managed API +================== + +.. kernel-doc:: drivers/gpio/gpiolib-devres.c + :export: + +sysfs helpers +============= + +.. kernel-doc:: drivers/gpio/gpiolib-sysfs.c + :export: diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/input.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/input.rst index ab111e68e1..bd7a3578ad 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/input.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/input.rst @@ -1,49 +1,49 @@ -Input Subsystem -=============== - -Input core ----------- - -.. kernel-doc:: include/linux/input.h - :internal: - -.. kernel-doc:: drivers/input/input.c - :export: - -.. kernel-doc:: drivers/input/ff-core.c - :export: - -.. kernel-doc:: drivers/input/ff-memless.c - :export: - -Multitouch Library ------------------- - -.. kernel-doc:: include/linux/input/mt.h - :internal: - -.. kernel-doc:: drivers/input/input-mt.c - :export: - -Matrix keyboards/keypads ------------------------- - -.. kernel-doc:: include/linux/input/matrix_keypad.h - :internal: - -Sparse keymap support ---------------------- - -.. kernel-doc:: include/linux/input/sparse-keymap.h - :internal: - -.. kernel-doc:: drivers/input/sparse-keymap.c - :export: - -PS/2 protocol support ---------------------- -.. kernel-doc:: include/linux/libps2.h - :internal: - -.. kernel-doc:: drivers/input/serio/libps2.c - :export: +Input Subsystem +=============== + +Input core +---------- + +.. kernel-doc:: include/linux/input.h + :internal: + +.. kernel-doc:: drivers/input/input.c + :export: + +.. kernel-doc:: drivers/input/ff-core.c + :export: + +.. kernel-doc:: drivers/input/ff-memless.c + :export: + +Multitouch Library +------------------ + +.. kernel-doc:: include/linux/input/mt.h + :internal: + +.. kernel-doc:: drivers/input/input-mt.c + :export: + +Matrix keyboards/keypads +------------------------ + +.. kernel-doc:: include/linux/input/matrix_keypad.h + :internal: + +Sparse keymap support +--------------------- + +.. kernel-doc:: include/linux/input/sparse-keymap.h + :internal: + +.. kernel-doc:: drivers/input/sparse-keymap.c + :export: + +PS/2 protocol support +--------------------- +.. kernel-doc:: include/linux/libps2.h + :internal: + +.. kernel-doc:: drivers/input/serio/libps2.c + :export: diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/drivers/fimc-devel.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/drivers/fimc-devel.rst index de59cb7b7f..4c6b7c8be1 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/drivers/fimc-devel.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/drivers/fimc-devel.rst @@ -1,33 +1,33 @@ -.. SPDX-License-Identifier: GPL-2.0 - -.. include:: - -The Samsung S5P/EXYNOS4 FIMC driver -=================================== - -Copyright |copy| 2012 - 2013 Samsung Electronics Co., Ltd. - -Files partitioning ------------------- - -- media device driver - - drivers/media/platform/samsung/exynos4-is/media-dev.[ch] - -- camera capture video device driver - - drivers/media/platform/samsung/exynos4-is/fimc-capture.c - -- MIPI-CSI2 receiver subdev - - drivers/media/platform/samsung/exynos4-is/mipi-csis.[ch] - -- video post-processor (mem-to-mem) - - drivers/media/platform/samsung/exynos4-is/fimc-core.c - -- common files - - drivers/media/platform/samsung/exynos4-is/fimc-core.h - drivers/media/platform/samsung/exynos4-is/fimc-reg.h - drivers/media/platform/samsung/exynos4-is/regs-fimc.h +.. SPDX-License-Identifier: GPL-2.0 + +.. include:: + +The Samsung S5P/EXYNOS4 FIMC driver +=================================== + +Copyright |copy| 2012 - 2013 Samsung Electronics Co., Ltd. + +Files partitioning +------------------ + +- media device driver + + drivers/media/platform/samsung/exynos4-is/media-dev.[ch] + +- camera capture video device driver + + drivers/media/platform/samsung/exynos4-is/fimc-capture.c + +- MIPI-CSI2 receiver subdev + + drivers/media/platform/samsung/exynos4-is/mipi-csis.[ch] + +- video post-processor (mem-to-mem) + + drivers/media/platform/samsung/exynos4-is/fimc-core.c + +- common files + + drivers/media/platform/samsung/exynos4-is/fimc-core.h + drivers/media/platform/samsung/exynos4-is/fimc-reg.h + drivers/media/platform/samsung/exynos4-is/regs-fimc.h diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/mei/hdcp.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/mei/hdcp.rst index 0d7dc2ac0a..e85a065b1c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/mei/hdcp.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/mei/hdcp.rst @@ -1,32 +1,32 @@ -.. SPDX-License-Identifier: GPL-2.0 - -HDCP: -===== - -ME FW as a security engine provides the capability for setting up -HDCP2.2 protocol negotiation between the Intel graphics device and -an HDC2.2 sink. - -ME FW prepares HDCP2.2 negotiation parameters, signs and encrypts them -according the HDCP 2.2 spec. The Intel graphics sends the created blob -to the HDCP2.2 sink. - -Similarly, the HDCP2.2 sink's response is transferred to ME FW -for decryption and verification. - -Once all the steps of HDCP2.2 negotiation are completed, -upon request ME FW will configure the port as authenticated and supply -the HDCP encryption keys to Intel graphics hardware. - - -mei_hdcp driver ---------------- -.. kernel-doc:: drivers/misc/mei/hdcp/mei_hdcp.c - :doc: MEI_HDCP Client Driver - -mei_hdcp api ------------- - -.. kernel-doc:: drivers/misc/mei/hdcp/mei_hdcp.c - :functions: - +.. SPDX-License-Identifier: GPL-2.0 + +HDCP: +===== + +ME FW as a security engine provides the capability for setting up +HDCP2.2 protocol negotiation between the Intel graphics device and +an HDC2.2 sink. + +ME FW prepares HDCP2.2 negotiation parameters, signs and encrypts them +according the HDCP 2.2 spec. The Intel graphics sends the created blob +to the HDCP2.2 sink. + +Similarly, the HDCP2.2 sink's response is transferred to ME FW +for decryption and verification. + +Once all the steps of HDCP2.2 negotiation are completed, +upon request ME FW will configure the port as authenticated and supply +the HDCP encryption keys to Intel graphics hardware. + + +mei_hdcp driver +--------------- +.. kernel-doc:: drivers/misc/mei/hdcp/mei_hdcp.c + :doc: MEI_HDCP Client Driver + +mei_hdcp api +------------ + +.. kernel-doc:: drivers/misc/mei/hdcp/mei_hdcp.c + :functions: + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/mei/nfc.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/mei/nfc.rst index b0f57114f6..8fe8664c28 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/mei/nfc.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/mei/nfc.rst @@ -1,28 +1,28 @@ -.. SPDX-License-Identifier: GPL-2.0 - -MEI NFC -------- - -Some Intel 8 and 9 Series chipsets support NFC devices connected behind -the Intel Management Engine controller. -MEI client bus exposes the NFC chips as NFC phy devices and enables -binding with Microread and NXP PN544 NFC device driver from the Linux NFC -subsystem. - -.. kernel-render:: DOT - :alt: MEI NFC digraph - :caption: **MEI NFC** Stack - - digraph NFC { - cl_nfc -> me_cl_nfc; - "drivers/nfc/mei_phy" -> cl_nfc [lhead=bus]; - "drivers/nfc/microread/mei" -> cl_nfc; - "drivers/nfc/microread/mei" -> "drivers/nfc/mei_phy"; - "drivers/nfc/pn544/mei" -> cl_nfc; - "drivers/nfc/pn544/mei" -> "drivers/nfc/mei_phy"; - "net/nfc" -> "drivers/nfc/microread/mei"; - "net/nfc" -> "drivers/nfc/pn544/mei"; - "neard" -> "net/nfc"; - cl_nfc [label="mei/bus(nfc)"]; - me_cl_nfc [label="me fw (nfc)"]; - } +.. SPDX-License-Identifier: GPL-2.0 + +MEI NFC +------- + +Some Intel 8 and 9 Series chipsets support NFC devices connected behind +the Intel Management Engine controller. +MEI client bus exposes the NFC chips as NFC phy devices and enables +binding with Microread and NXP PN544 NFC device driver from the Linux NFC +subsystem. + +.. kernel-render:: DOT + :alt: MEI NFC digraph + :caption: **MEI NFC** Stack + + digraph NFC { + cl_nfc -> me_cl_nfc; + "drivers/nfc/mei_phy" -> cl_nfc [lhead=bus]; + "drivers/nfc/microread/mei" -> cl_nfc; + "drivers/nfc/microread/mei" -> "drivers/nfc/mei_phy"; + "drivers/nfc/pn544/mei" -> cl_nfc; + "drivers/nfc/pn544/mei" -> "drivers/nfc/mei_phy"; + "net/nfc" -> "drivers/nfc/microread/mei"; + "net/nfc" -> "drivers/nfc/pn544/mei"; + "neard" -> "net/nfc"; + cl_nfc [label="mei/bus(nfc)"]; + me_cl_nfc [label="me fw (nfc)"]; + } diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/pci/pci.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/pci/pci.rst index 1eec264137..aa40b1cc24 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/pci/pci.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/pci/pci.rst @@ -1,53 +1,53 @@ -PCI Support Library -------------------- - -.. kernel-doc:: drivers/pci/pci.c - :export: - -.. kernel-doc:: drivers/pci/iomap.c - :export: - -.. kernel-doc:: drivers/pci/devres.c - :export: - -.. kernel-doc:: drivers/pci/pci-driver.c - :export: - -.. kernel-doc:: drivers/pci/remove.c - :export: - -.. kernel-doc:: drivers/pci/search.c - :export: - -.. kernel-doc:: drivers/pci/msi/msi.c - :export: - -.. kernel-doc:: drivers/pci/bus.c - :export: - -.. kernel-doc:: drivers/pci/access.c - :export: - -.. kernel-doc:: drivers/pci/irq.c - :export: - -.. kernel-doc:: drivers/pci/probe.c - :export: - -.. kernel-doc:: drivers/pci/slot.c - :export: - -.. kernel-doc:: drivers/pci/rom.c - :export: - -.. kernel-doc:: drivers/pci/iov.c - :export: - -.. kernel-doc:: drivers/pci/pci-sysfs.c - :internal: - -PCI Hotplug Support Library ---------------------------- - -.. kernel-doc:: drivers/pci/hotplug/pci_hotplug_core.c - :export: +PCI Support Library +------------------- + +.. kernel-doc:: drivers/pci/pci.c + :export: + +.. kernel-doc:: drivers/pci/iomap.c + :export: + +.. kernel-doc:: drivers/pci/devres.c + :export: + +.. kernel-doc:: drivers/pci/pci-driver.c + :export: + +.. kernel-doc:: drivers/pci/remove.c + :export: + +.. kernel-doc:: drivers/pci/search.c + :export: + +.. kernel-doc:: drivers/pci/msi/msi.c + :export: + +.. kernel-doc:: drivers/pci/bus.c + :export: + +.. kernel-doc:: drivers/pci/access.c + :export: + +.. kernel-doc:: drivers/pci/irq.c + :export: + +.. kernel-doc:: drivers/pci/probe.c + :export: + +.. kernel-doc:: drivers/pci/slot.c + :export: + +.. kernel-doc:: drivers/pci/rom.c + :export: + +.. kernel-doc:: drivers/pci/iov.c + :export: + +.. kernel-doc:: drivers/pci/pci-sysfs.c + :internal: + +PCI Hotplug Support Library +--------------------------- + +.. kernel-doc:: drivers/pci/hotplug/pci_hotplug_core.c + :export: diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/surface_aggregator/client-api.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/surface_aggregator/client-api.rst index 78889361d6..8e0b000d0e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/surface_aggregator/client-api.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/surface_aggregator/client-api.rst @@ -1,38 +1,38 @@ -.. SPDX-License-Identifier: GPL-2.0+ - -=============================== -Client Driver API Documentation -=============================== - -.. contents:: - :depth: 2 - - -Serial Hub Communication -======================== - -.. kernel-doc:: include/linux/surface_aggregator/serial_hub.h - -.. kernel-doc:: drivers/platform/surface/aggregator/ssh_packet_layer.c - :export: - - -Controller and Core Interface -============================= - -.. kernel-doc:: include/linux/surface_aggregator/controller.h - -.. kernel-doc:: drivers/platform/surface/aggregator/controller.c - :export: - -.. kernel-doc:: drivers/platform/surface/aggregator/core.c - :export: - - -Client Bus and Client Device API -================================ - -.. kernel-doc:: include/linux/surface_aggregator/device.h - -.. kernel-doc:: drivers/platform/surface/aggregator/bus.c - :export: +.. SPDX-License-Identifier: GPL-2.0+ + +=============================== +Client Driver API Documentation +=============================== + +.. contents:: + :depth: 2 + + +Serial Hub Communication +======================== + +.. kernel-doc:: include/linux/surface_aggregator/serial_hub.h + +.. kernel-doc:: drivers/platform/surface/aggregator/ssh_packet_layer.c + :export: + + +Controller and Core Interface +============================= + +.. kernel-doc:: include/linux/surface_aggregator/controller.h + +.. kernel-doc:: drivers/platform/surface/aggregator/controller.c + :export: + +.. kernel-doc:: drivers/platform/surface/aggregator/core.c + :export: + + +Client Bus and Client Device API +================================ + +.. kernel-doc:: include/linux/surface_aggregator/device.h + +.. kernel-doc:: drivers/platform/surface/aggregator/bus.c + :export: diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/tty/console.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/tty/console.rst index 45ded048d1..4348e36cd3 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/tty/console.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/tty/console.rst @@ -1,45 +1,45 @@ -.. SPDX-License-Identifier: GPL-2.0 - -======= -Console -======= - -.. contents:: :local: - -Struct Console -============== - -.. kernel-doc:: include/linux/console.h - :identifiers: console cons_flags - -Internals ---------- - -.. kernel-doc:: include/linux/console.h - :identifiers: nbcon_state nbcon_prio nbcon_context nbcon_write_context - -Struct Consw -============ - -.. kernel-doc:: include/linux/console.h - :identifiers: consw - -Console functions -================= - -.. kernel-doc:: include/linux/console.h - :identifiers: console_srcu_read_flags console_srcu_write_flags - console_is_registered for_each_console_srcu for_each_console - -.. kernel-doc:: drivers/tty/vt/selection.c - :export: -.. kernel-doc:: drivers/tty/vt/vt.c - :export: - -Internals ---------- - -.. kernel-doc:: drivers/tty/vt/selection.c - :internal: -.. kernel-doc:: drivers/tty/vt/vt.c - :internal: +.. SPDX-License-Identifier: GPL-2.0 + +======= +Console +======= + +.. contents:: :local: + +Struct Console +============== + +.. kernel-doc:: include/linux/console.h + :identifiers: console cons_flags + +Internals +--------- + +.. kernel-doc:: include/linux/console.h + :identifiers: nbcon_state nbcon_prio nbcon_context nbcon_write_context + +Struct Consw +============ + +.. kernel-doc:: include/linux/console.h + :identifiers: consw + +Console functions +================= + +.. kernel-doc:: include/linux/console.h + :identifiers: console_srcu_read_flags console_srcu_write_flags + console_is_registered for_each_console_srcu for_each_console + +.. kernel-doc:: drivers/tty/vt/selection.c + :export: +.. kernel-doc:: drivers/tty/vt/vt.c + :export: + +Internals +--------- + +.. kernel-doc:: drivers/tty/vt/selection.c + :internal: +.. kernel-doc:: drivers/tty/vt/vt.c + :internal: diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/wmi.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/wmi.rst index 4f40792b69..4e8dbdb1fc 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/wmi.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/wmi.rst @@ -1,20 +1,20 @@ -.. SPDX-License-Identifier: GPL-2.0-or-later - -============== -WMI Driver API -============== - -The WMI driver core supports a more modern bus-based interface for interacting -with WMI devices, and an older GUID-based interface. The latter interface is -considered to be deprecated, so new WMI drivers should generally avoid it since -it has some issues with multiple WMI devices sharing the same GUID. -The modern bus-based interface instead maps each WMI device to a -:c:type:`struct wmi_device `, so it supports WMI devices sharing the -same GUID. Drivers can then register a :c:type:`struct wmi_driver ` -which will be bound to compatible WMI devices by the driver core. - -.. kernel-doc:: include/linux/wmi.h - :internal: - -.. kernel-doc:: drivers/platform/x86/wmi.c - :export: +.. SPDX-License-Identifier: GPL-2.0-or-later + +============== +WMI Driver API +============== + +The WMI driver core supports a more modern bus-based interface for interacting +with WMI devices, and an older GUID-based interface. The latter interface is +considered to be deprecated, so new WMI drivers should generally avoid it since +it has some issues with multiple WMI devices sharing the same GUID. +The modern bus-based interface instead maps each WMI device to a +:c:type:`struct wmi_device `, so it supports WMI devices sharing the +same GUID. Drivers can then register a :c:type:`struct wmi_driver ` +which will be bound to compatible WMI devices by the driver core. + +.. kernel-doc:: include/linux/wmi.h + :internal: + +.. kernel-doc:: drivers/platform/x86/wmi.c + :export: diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/fb/sm712fb.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/fb/sm712fb.rst index 3457e5700e..8e000f80b5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/fb/sm712fb.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/fb/sm712fb.rst @@ -1,35 +1,35 @@ -================ -What is sm712fb? -================ - -This is a graphics framebuffer driver for Silicon Motion SM712 based processors. - -How to use it? -============== - -Switching modes is done using the video=sm712fb:... boot parameter. - -If you want, for example, enable a resolution of 1280x1024x24bpp you should -pass to the kernel this command line: "video=sm712fb:0x31B". - -You should not compile-in vesafb. - -Currently supported video modes are: - -Graphic modes -------------- - -=== ======= ======= ======== ========= -bpp 640x480 800x600 1024x768 1280x1024 -=== ======= ======= ======== ========= - 8 0x301 0x303 0x305 0x307 - 16 0x311 0x314 0x317 0x31A - 24 0x312 0x315 0x318 0x31B -=== ======= ======= ======== ========= - -Missing Features -================ -(alias TODO list) - - * 2D acceleration - * dual-head support +================ +What is sm712fb? +================ + +This is a graphics framebuffer driver for Silicon Motion SM712 based processors. + +How to use it? +============== + +Switching modes is done using the video=sm712fb:... boot parameter. + +If you want, for example, enable a resolution of 1280x1024x24bpp you should +pass to the kernel this command line: "video=sm712fb:0x31B". + +You should not compile-in vesafb. + +Currently supported video modes are: + +Graphic modes +------------- + +=== ======= ======= ======== ========= +bpp 640x480 800x600 1024x768 1280x1024 +=== ======= ======= ======== ========= + 8 0x301 0x303 0x305 0x307 + 16 0x311 0x314 0x317 0x31A + 24 0x312 0x315 0x318 0x31B +=== ======= ======= ======== ========= + +Missing Features +================ +(alias TODO list) + + * 2D acceleration + * dual-head support diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/features/core/cBPF-JIT/arch-support.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/features/core/cBPF-JIT/arch-support.txt index a6c397087d..937840080d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/features/core/cBPF-JIT/arch-support.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/features/core/cBPF-JIT/arch-support.txt @@ -1,30 +1,30 @@ -# -# Feature name: cBPF-JIT -# Kconfig: HAVE_CBPF_JIT -# description: arch supports cBPF JIT optimizations -# - ----------------------- - | arch |status| - ----------------------- - | alpha: | TODO | - | arc: | TODO | - | arm: | TODO | - | arm64: | TODO | - | csky: | TODO | - | hexagon: | TODO | - | loongarch: | TODO | - | m68k: | TODO | - | microblaze: | TODO | - | mips: | ok | - | nios2: | TODO | - | openrisc: | TODO | - | parisc: | TODO | - | powerpc: | ok | - | riscv: | TODO | - | s390: | TODO | - | sh: | TODO | - | sparc: | ok | - | um: | TODO | - | x86: | TODO | - | xtensa: | TODO | - ----------------------- +# +# Feature name: cBPF-JIT +# Kconfig: HAVE_CBPF_JIT +# description: arch supports cBPF JIT optimizations +# + ----------------------- + | arch |status| + ----------------------- + | alpha: | TODO | + | arc: | TODO | + | arm: | TODO | + | arm64: | TODO | + | csky: | TODO | + | hexagon: | TODO | + | loongarch: | TODO | + | m68k: | TODO | + | microblaze: | TODO | + | mips: | ok | + | nios2: | TODO | + | openrisc: | TODO | + | parisc: | TODO | + | powerpc: | ok | + | riscv: | TODO | + | s390: | TODO | + | sh: | TODO | + | sparc: | ok | + | um: | TODO | + | x86: | TODO | + | xtensa: | TODO | + ----------------------- diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/features/core/eBPF-JIT/arch-support.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/features/core/eBPF-JIT/arch-support.txt index 403dc0def3..7434b43c2f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/features/core/eBPF-JIT/arch-support.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/features/core/eBPF-JIT/arch-support.txt @@ -1,30 +1,30 @@ -# -# Feature name: eBPF-JIT -# Kconfig: HAVE_EBPF_JIT -# description: arch supports eBPF JIT optimizations -# - ----------------------- - | arch |status| - ----------------------- - | alpha: | TODO | - | arc: | TODO | - | arm: | ok | - | arm64: | ok | - | csky: | TODO | - | hexagon: | TODO | - | loongarch: | ok | - | m68k: | TODO | - | microblaze: | TODO | - | mips: | ok | - | nios2: | TODO | - | openrisc: | TODO | - | parisc: | TODO | - | powerpc: | ok | - | riscv: | ok | - | s390: | ok | - | sh: | TODO | - | sparc: | ok | - | um: | TODO | - | x86: | ok | - | xtensa: | TODO | - ----------------------- +# +# Feature name: eBPF-JIT +# Kconfig: HAVE_EBPF_JIT +# description: arch supports eBPF JIT optimizations +# + ----------------------- + | arch |status| + ----------------------- + | alpha: | TODO | + | arc: | TODO | + | arm: | ok | + | arm64: | ok | + | csky: | TODO | + | hexagon: | TODO | + | loongarch: | ok | + | m68k: | TODO | + | microblaze: | TODO | + | mips: | ok | + | nios2: | TODO | + | openrisc: | TODO | + | parisc: | TODO | + | powerpc: | ok | + | riscv: | ok | + | s390: | ok | + | sh: | TODO | + | sparc: | ok | + | um: | TODO | + | x86: | ok | + | xtensa: | TODO | + ----------------------- diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/features/core/generic-idle-thread/arch-support.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/features/core/generic-idle-thread/arch-support.txt index bc8798a04f..0735cb5367 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/features/core/generic-idle-thread/arch-support.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/features/core/generic-idle-thread/arch-support.txt @@ -1,30 +1,30 @@ -# -# Feature name: generic-idle-thread -# Kconfig: GENERIC_SMP_IDLE_THREAD -# description: arch makes use of the generic SMP idle thread facility -# - ----------------------- - | arch |status| - ----------------------- - | alpha: | ok | - | arc: | ok | - | arm: | ok | - | arm64: | ok | - | csky: | ok | - | hexagon: | ok | - | loongarch: | ok | - | m68k: | TODO | - | microblaze: | TODO | - | mips: | ok | - | nios2: | TODO | - | openrisc: | ok | - | parisc: | ok | - | powerpc: | ok | - | riscv: | ok | - | s390: | ok | - | sh: | ok | - | sparc: | ok | - | um: | TODO | - | x86: | ok | - | xtensa: | ok | - ----------------------- +# +# Feature name: generic-idle-thread +# Kconfig: GENERIC_SMP_IDLE_THREAD +# description: arch makes use of the generic SMP idle thread facility +# + ----------------------- + | arch |status| + ----------------------- + | alpha: | ok | + | arc: | ok | + | arm: | ok | + | arm64: | ok | + | csky: | ok | + | hexagon: | ok | + | loongarch: | ok | + | m68k: | TODO | + | microblaze: | TODO | + | mips: | ok | + | nios2: | TODO | + | openrisc: | ok | + | parisc: | ok | + | powerpc: | ok | + | riscv: | ok | + | s390: | ok | + | sh: | ok | + | sparc: | ok | + | um: | TODO | + | x86: | ok | + | xtensa: | ok | + ----------------------- diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/features/core/jump-labels/arch-support.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/features/core/jump-labels/arch-support.txt index 5f146a1061..ccada81556 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/features/core/jump-labels/arch-support.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/features/core/jump-labels/arch-support.txt @@ -1,30 +1,30 @@ -# -# Feature name: jump-labels -# Kconfig: HAVE_ARCH_JUMP_LABEL -# description: arch supports live patched, high efficiency branches -# - ----------------------- - | arch |status| - ----------------------- - | alpha: | TODO | - | arc: | ok | - | arm: | ok | - | arm64: | ok | - | csky: | ok | - | hexagon: | TODO | - | loongarch: | ok | - | m68k: | TODO | - | microblaze: | TODO | - | mips: | ok | - | nios2: | TODO | - | openrisc: | TODO | - | parisc: | ok | - | powerpc: | ok | - | riscv: | ok | - | s390: | ok | - | sh: | TODO | - | sparc: | ok | - | um: | TODO | - | x86: | ok | - | xtensa: | ok | - ----------------------- +# +# Feature name: jump-labels +# Kconfig: HAVE_ARCH_JUMP_LABEL +# description: arch supports live patched, high efficiency branches +# + ----------------------- + | arch |status| + ----------------------- + | alpha: | TODO | + | arc: | ok | + | arm: | ok | + | arm64: | ok | + | csky: | ok | + | hexagon: | TODO | + | loongarch: | ok | + | m68k: | TODO | + | microblaze: | TODO | + | mips: | ok | + | nios2: | TODO | + | openrisc: | TODO | + | parisc: | ok | + | powerpc: | ok | + | riscv: | ok | + | s390: | ok | + | sh: | TODO | + | sparc: | ok | + | um: | TODO | + | x86: | ok | + | xtensa: | ok | + ----------------------- diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/features/core/thread-info-in-task/arch-support.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/features/core/thread-info-in-task/arch-support.txt index 15cc7bc446..2afeb6bf6e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/features/core/thread-info-in-task/arch-support.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/features/core/thread-info-in-task/arch-support.txt @@ -1,30 +1,30 @@ -# -# Feature name: thread-info-in-task -# Kconfig: THREAD_INFO_IN_TASK -# description: arch makes use of the core kernel facility to embed thread_info in task_struct -# - ----------------------- - | arch |status| - ----------------------- - | alpha: | TODO | - | arc: | TODO | - | arm: | ok | - | arm64: | ok | - | csky: | TODO | - | hexagon: | TODO | - | loongarch: | TODO | - | m68k: | TODO | - | microblaze: | TODO | - | mips: | TODO | - | nios2: | TODO | - | openrisc: | TODO | - | parisc: | ok | - | powerpc: | ok | - | riscv: | ok | - | s390: | ok | - | sh: | TODO | - | sparc: | TODO | - | um: | TODO | - | x86: | ok | - | xtensa: | TODO | - ----------------------- +# +# Feature name: thread-info-in-task +# Kconfig: THREAD_INFO_IN_TASK +# description: arch makes use of the core kernel facility to embed thread_info in task_struct +# + ----------------------- + | arch |status| + ----------------------- + | alpha: | TODO | + | arc: | TODO | + | arm: | ok | + | arm64: | ok | + | csky: | TODO | + | hexagon: | TODO | + | loongarch: | TODO | + | m68k: | TODO | + | microblaze: | TODO | + | mips: | TODO | + | nios2: | TODO | + | openrisc: | TODO | + | parisc: | ok | + | powerpc: | ok | + | riscv: | ok | + | s390: | ok | + | sh: | TODO | + | sparc: | TODO | + | um: | TODO | + | x86: | ok | + | xtensa: | TODO | + ----------------------- diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/features/core/tracehook/arch-support.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/features/core/tracehook/arch-support.txt index 5f7d75b10d..a72330e255 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/features/core/tracehook/arch-support.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/features/core/tracehook/arch-support.txt @@ -1,30 +1,30 @@ -# -# Feature name: tracehook -# Kconfig: HAVE_ARCH_TRACEHOOK -# description: arch supports tracehook (ptrace) register handling APIs -# - ----------------------- - | arch |status| - ----------------------- - | alpha: | TODO | - | arc: | ok | - | arm: | ok | - | arm64: | ok | - | csky: | ok | - | hexagon: | ok | - | loongarch: | ok | - | m68k: | TODO | - | microblaze: | TODO | - | mips: | ok | - | nios2: | ok | - | openrisc: | ok | - | parisc: | ok | - | powerpc: | ok | - | riscv: | ok | - | s390: | ok | - | sh: | ok | - | sparc: | ok | - | um: | TODO | - | x86: | ok | - | xtensa: | ok | - ----------------------- +# +# Feature name: tracehook +# Kconfig: HAVE_ARCH_TRACEHOOK +# description: arch supports tracehook (ptrace) register handling APIs +# + ----------------------- + | arch |status| + ----------------------- + | alpha: | TODO | + | arc: | ok | + | arm: | ok | + | arm64: | ok | + | csky: | ok | + | hexagon: | ok | + | loongarch: | ok | + | m68k: | TODO | + | microblaze: | TODO | + | mips: | ok | + | nios2: | ok | + | openrisc: | ok | + | parisc: | ok | + | powerpc: | ok | + | riscv: | ok | + | s390: | ok | + | sh: | ok | + | sparc: | ok | + | um: | TODO | + | x86: | ok | + | xtensa: | ok | + ----------------------- diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/features/debug/KASAN/arch-support.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/features/debug/KASAN/arch-support.txt index 3a360cf8ce..39c6e78c0c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/features/debug/KASAN/arch-support.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/features/debug/KASAN/arch-support.txt @@ -1,30 +1,30 @@ -# -# Feature name: KASAN -# Kconfig: HAVE_ARCH_KASAN -# description: arch supports the KASAN runtime memory checker -# - ----------------------- - | arch |status| - ----------------------- - | alpha: | TODO | - | arc: | TODO | - | arm: | ok | - | arm64: | ok | - | csky: | TODO | - | hexagon: | TODO | - | loongarch: | ok | - | m68k: | TODO | - | microblaze: | TODO | - | mips: | TODO | - | nios2: | TODO | - | openrisc: | TODO | - | parisc: | TODO | - | powerpc: | ok | - | riscv: | ok | - | s390: | ok | - | sh: | TODO | - | sparc: | TODO | - | um: | ok | - | x86: | ok | - | xtensa: | ok | - ----------------------- +# +# Feature name: KASAN +# Kconfig: HAVE_ARCH_KASAN +# description: arch supports the KASAN runtime memory checker +# + ----------------------- + | arch |status| + ----------------------- + | alpha: | TODO | + | arc: | TODO | + | arm: | ok | + | arm64: | ok | + | csky: | TODO | + | hexagon: | TODO | + | loongarch: | ok | + | m68k: | TODO | + | microblaze: | TODO | + | mips: | TODO | + | nios2: | TODO | + | openrisc: | TODO | + | parisc: | TODO | + | powerpc: | ok | + | riscv: | ok | + | s390: | ok | + | sh: | TODO | + | sparc: | TODO | + | um: | ok | + | x86: | ok | + | xtensa: | ok | + ----------------------- diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/features/debug/debug-vm-pgtable/arch-support.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/features/debug/debug-vm-pgtable/arch-support.txt index 2f89eb5cd1..156687a743 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/features/debug/debug-vm-pgtable/arch-support.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/features/debug/debug-vm-pgtable/arch-support.txt @@ -1,30 +1,30 @@ -# -# Feature name: debug-vm-pgtable -# Kconfig: ARCH_HAS_DEBUG_VM_PGTABLE -# description: arch supports pgtable tests for semantics compliance -# - ----------------------- - | arch |status| - ----------------------- - | alpha: | TODO | - | arc: | ok | - | arm: | TODO | - | arm64: | ok | - | csky: | TODO | - | hexagon: | TODO | - | loongarch: | ok | - | m68k: | TODO | - | microblaze: | TODO | - | mips: | TODO | - | nios2: | TODO | - | openrisc: | TODO | - | parisc: | ok | - | powerpc: | ok | - | riscv: | ok | - | s390: | ok | - | sh: | TODO | - | sparc: | TODO | - | um: | TODO | - | x86: | ok | - | xtensa: | ok | - ----------------------- +# +# Feature name: debug-vm-pgtable +# Kconfig: ARCH_HAS_DEBUG_VM_PGTABLE +# description: arch supports pgtable tests for semantics compliance +# + ----------------------- + | arch |status| + ----------------------- + | alpha: | TODO | + | arc: | ok | + | arm: | TODO | + | arm64: | ok | + | csky: | TODO | + | hexagon: | TODO | + | loongarch: | ok | + | m68k: | TODO | + | microblaze: | TODO | + | mips: | TODO | + | nios2: | TODO | + | openrisc: | TODO | + | parisc: | ok | + | powerpc: | ok | + | riscv: | ok | + | s390: | ok | + | sh: | TODO | + | sparc: | TODO | + | um: | TODO | + | x86: | ok | + | xtensa: | ok | + ----------------------- diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/features/debug/gcov-profile-all/arch-support.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/features/debug/gcov-profile-all/arch-support.txt index 818817e59f..63494bddc2 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/features/debug/gcov-profile-all/arch-support.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/features/debug/gcov-profile-all/arch-support.txt @@ -1,30 +1,30 @@ -# -# Feature name: gcov-profile-all -# Kconfig: ARCH_HAS_GCOV_PROFILE_ALL -# description: arch supports whole-kernel GCOV code coverage profiling -# - ----------------------- - | arch |status| - ----------------------- - | alpha: | TODO | - | arc: | TODO | - | arm: | ok | - | arm64: | ok | - | csky: | ok | - | hexagon: | TODO | - | loongarch: | TODO | - | m68k: | TODO | - | microblaze: | ok | - | mips: | ok | - | nios2: | TODO | - | openrisc: | TODO | - | parisc: | TODO | - | powerpc: | ok | - | riscv: | ok | - | s390: | ok | - | sh: | ok | - | sparc: | TODO | - | um: | ok | - | x86: | ok | - | xtensa: | ok | - ----------------------- +# +# Feature name: gcov-profile-all +# Kconfig: ARCH_HAS_GCOV_PROFILE_ALL +# description: arch supports whole-kernel GCOV code coverage profiling +# + ----------------------- + | arch |status| + ----------------------- + | alpha: | TODO | + | arc: | TODO | + | arm: | ok | + | arm64: | ok | + | csky: | ok | + | hexagon: | TODO | + | loongarch: | TODO | + | m68k: | TODO | + | microblaze: | ok | + | mips: | ok | + | nios2: | TODO | + | openrisc: | TODO | + | parisc: | TODO | + | powerpc: | ok | + | riscv: | ok | + | s390: | ok | + | sh: | ok | + | sparc: | TODO | + | um: | ok | + | x86: | ok | + | xtensa: | ok | + ----------------------- diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/features/debug/kcov/arch-support.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/features/debug/kcov/arch-support.txt index 3287ad5b2a..4449e1f55c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/features/debug/kcov/arch-support.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/features/debug/kcov/arch-support.txt @@ -1,30 +1,30 @@ -# -# Feature name: kcov -# Kconfig: ARCH_HAS_KCOV -# description: arch supports kcov for coverage-guided fuzzing -# - ----------------------- - | arch |status| - ----------------------- - | alpha: | TODO | - | arc: | TODO | - | arm: | ok | - | arm64: | ok | - | csky: | TODO | - | hexagon: | TODO | - | loongarch: | ok | - | m68k: | TODO | - | microblaze: | TODO | - | mips: | ok | - | nios2: | TODO | - | openrisc: | TODO | - | parisc: | TODO | - | powerpc: | ok | - | riscv: | ok | - | s390: | ok | - | sh: | TODO | - | sparc: | TODO | - | um: | ok | - | x86: | ok | - | xtensa: | ok | - ----------------------- +# +# Feature name: kcov +# Kconfig: ARCH_HAS_KCOV +# description: arch supports kcov for coverage-guided fuzzing +# + ----------------------- + | arch |status| + ----------------------- + | alpha: | TODO | + | arc: | TODO | + | arm: | ok | + | arm64: | ok | + | csky: | TODO | + | hexagon: | TODO | + | loongarch: | ok | + | m68k: | TODO | + | microblaze: | TODO | + | mips: | ok | + | nios2: | TODO | + | openrisc: | TODO | + | parisc: | TODO | + | powerpc: | ok | + | riscv: | ok | + | s390: | ok | + | sh: | TODO | + | sparc: | TODO | + | um: | ok | + | x86: | ok | + | xtensa: | ok | + ----------------------- diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/features/debug/kgdb/arch-support.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/features/debug/kgdb/arch-support.txt index 1f9d33adb0..f287f16ce0 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/features/debug/kgdb/arch-support.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/features/debug/kgdb/arch-support.txt @@ -1,30 +1,30 @@ -# -# Feature name: kgdb -# Kconfig: HAVE_ARCH_KGDB -# description: arch supports the kGDB kernel debugger -# - ----------------------- - | arch |status| - ----------------------- - | alpha: | TODO | - | arc: | ok | - | arm: | ok | - | arm64: | ok | - | csky: | TODO | - | hexagon: | ok | - | loongarch: | ok | - | m68k: | TODO | - | microblaze: | ok | - | mips: | ok | - | nios2: | ok | - | openrisc: | TODO | - | parisc: | ok | - | powerpc: | ok | - | riscv: | ok | - | s390: | TODO | - | sh: | ok | - | sparc: | ok | - | um: | TODO | - | x86: | ok | - | xtensa: | TODO | - ----------------------- +# +# Feature name: kgdb +# Kconfig: HAVE_ARCH_KGDB +# description: arch supports the kGDB kernel debugger +# + ----------------------- + | arch |status| + ----------------------- + | alpha: | TODO | + | arc: | ok | + | arm: | ok | + | arm64: | ok | + | csky: | TODO | + | hexagon: | ok | + | loongarch: | ok | + | m68k: | TODO | + | microblaze: | ok | + | mips: | ok | + | nios2: | ok | + | openrisc: | TODO | + | parisc: | ok | + | powerpc: | ok | + | riscv: | ok | + | s390: | TODO | + | sh: | ok | + | sparc: | ok | + | um: | TODO | + | x86: | ok | + | xtensa: | TODO | + ----------------------- diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/features/debug/kmemleak/arch-support.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/features/debug/kmemleak/arch-support.txt index c673985987..f45149cfa3 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/features/debug/kmemleak/arch-support.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/features/debug/kmemleak/arch-support.txt @@ -1,30 +1,30 @@ -# -# Feature name: kmemleak -# Kconfig: HAVE_DEBUG_KMEMLEAK -# description: arch supports the kernel memory leak detector -# - ----------------------- - | arch |status| - ----------------------- - | alpha: | TODO | - | arc: | ok | - | arm: | ok | - | arm64: | ok | - | csky: | ok | - | hexagon: | TODO | - | loongarch: | ok | - | m68k: | TODO | - | microblaze: | ok | - | mips: | ok | - | nios2: | TODO | - | openrisc: | TODO | - | parisc: | TODO | - | powerpc: | ok | - | riscv: | ok | - | s390: | ok | - | sh: | ok | - | sparc: | ok | - | um: | ok | - | x86: | ok | - | xtensa: | ok | - ----------------------- +# +# Feature name: kmemleak +# Kconfig: HAVE_DEBUG_KMEMLEAK +# description: arch supports the kernel memory leak detector +# + ----------------------- + | arch |status| + ----------------------- + | alpha: | TODO | + | arc: | ok | + | arm: | ok | + | arm64: | ok | + | csky: | ok | + | hexagon: | TODO | + | loongarch: | ok | + | m68k: | TODO | + | microblaze: | ok | + | mips: | ok | + | nios2: | TODO | + | openrisc: | TODO | + | parisc: | TODO | + | powerpc: | ok | + | riscv: | ok | + | s390: | ok | + | sh: | ok | + | sparc: | ok | + | um: | ok | + | x86: | ok | + | xtensa: | ok | + ----------------------- diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/features/debug/kprobes-on-ftrace/arch-support.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/features/debug/kprobes-on-ftrace/arch-support.txt index 18bed5599a..02febc8835 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/features/debug/kprobes-on-ftrace/arch-support.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/features/debug/kprobes-on-ftrace/arch-support.txt @@ -1,30 +1,30 @@ -# -# Feature name: kprobes-on-ftrace -# Kconfig: HAVE_KPROBES_ON_FTRACE -# description: arch supports combined kprobes and ftrace live patching -# - ----------------------- - | arch |status| - ----------------------- - | alpha: | TODO | - | arc: | TODO | - | arm: | TODO | - | arm64: | TODO | - | csky: | ok | - | hexagon: | TODO | - | loongarch: | ok | - | m68k: | TODO | - | microblaze: | TODO | - | mips: | TODO | - | nios2: | TODO | - | openrisc: | TODO | - | parisc: | ok | - | powerpc: | ok | - | riscv: | ok | - | s390: | ok | - | sh: | TODO | - | sparc: | TODO | - | um: | TODO | - | x86: | ok | - | xtensa: | TODO | - ----------------------- +# +# Feature name: kprobes-on-ftrace +# Kconfig: HAVE_KPROBES_ON_FTRACE +# description: arch supports combined kprobes and ftrace live patching +# + ----------------------- + | arch |status| + ----------------------- + | alpha: | TODO | + | arc: | TODO | + | arm: | TODO | + | arm64: | TODO | + | csky: | ok | + | hexagon: | TODO | + | loongarch: | ok | + | m68k: | TODO | + | microblaze: | TODO | + | mips: | TODO | + | nios2: | TODO | + | openrisc: | TODO | + | parisc: | ok | + | powerpc: | ok | + | riscv: | ok | + | s390: | ok | + | sh: | TODO | + | sparc: | TODO | + | um: | TODO | + | x86: | ok | + | xtensa: | TODO | + ----------------------- diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/features/debug/kprobes/arch-support.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/features/debug/kprobes/arch-support.txt index 0b42d40e7a..1ea27aedd0 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/features/debug/kprobes/arch-support.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/features/debug/kprobes/arch-support.txt @@ -1,30 +1,30 @@ -# -# Feature name: kprobes -# Kconfig: HAVE_KPROBES -# description: arch supports live patched kernel probe -# - ----------------------- - | arch |status| - ----------------------- - | alpha: | TODO | - | arc: | ok | - | arm: | ok | - | arm64: | ok | - | csky: | ok | - | hexagon: | TODO | - | loongarch: | ok | - | m68k: | TODO | - | microblaze: | TODO | - | mips: | ok | - | nios2: | TODO | - | openrisc: | TODO | - | parisc: | ok | - | powerpc: | ok | - | riscv: | ok | - | s390: | ok | - | sh: | ok | - | sparc: | ok | - | um: | TODO | - | x86: | ok | - | xtensa: | TODO | - ----------------------- +# +# Feature name: kprobes +# Kconfig: HAVE_KPROBES +# description: arch supports live patched kernel probe +# + ----------------------- + | arch |status| + ----------------------- + | alpha: | TODO | + | arc: | ok | + | arm: | ok | + | arm64: | ok | + | csky: | ok | + | hexagon: | TODO | + | loongarch: | ok | + | m68k: | TODO | + | microblaze: | TODO | + | mips: | ok | + | nios2: | TODO | + | openrisc: | TODO | + | parisc: | ok | + | powerpc: | ok | + | riscv: | ok | + | s390: | ok | + | sh: | ok | + | sparc: | ok | + | um: | TODO | + | x86: | ok | + | xtensa: | TODO | + ----------------------- diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/features/debug/kretprobes/arch-support.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/features/debug/kretprobes/arch-support.txt index b678c9ade6..022be42e64 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/features/debug/kretprobes/arch-support.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/features/debug/kretprobes/arch-support.txt @@ -1,30 +1,30 @@ -# -# Feature name: kretprobes -# Kconfig: HAVE_KRETPROBES -# description: arch supports kernel function-return probes -# - ----------------------- - | arch |status| - ----------------------- - | alpha: | TODO | - | arc: | ok | - | arm: | ok | - | arm64: | ok | - | csky: | ok | - | hexagon: | TODO | - | loongarch: | ok | - | m68k: | TODO | - | microblaze: | TODO | - | mips: | ok | - | nios2: | TODO | - | openrisc: | TODO | - | parisc: | ok | - | powerpc: | ok | - | riscv: | ok | - | s390: | ok | - | sh: | ok | - | sparc: | ok | - | um: | TODO | - | x86: | ok | - | xtensa: | TODO | - ----------------------- +# +# Feature name: kretprobes +# Kconfig: HAVE_KRETPROBES +# description: arch supports kernel function-return probes +# + ----------------------- + | arch |status| + ----------------------- + | alpha: | TODO | + | arc: | ok | + | arm: | ok | + | arm64: | ok | + | csky: | ok | + | hexagon: | TODO | + | loongarch: | ok | + | m68k: | TODO | + | microblaze: | TODO | + | mips: | ok | + | nios2: | TODO | + | openrisc: | TODO | + | parisc: | ok | + | powerpc: | ok | + | riscv: | ok | + | s390: | ok | + | sh: | ok | + | sparc: | ok | + | um: | TODO | + | x86: | ok | + | xtensa: | TODO | + ----------------------- diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/features/debug/optprobes/arch-support.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/features/debug/optprobes/arch-support.txt index a1e120189d..92f5d0f444 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/features/debug/optprobes/arch-support.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/features/debug/optprobes/arch-support.txt @@ -1,30 +1,30 @@ -# -# Feature name: optprobes -# Kconfig: HAVE_OPTPROBES -# description: arch supports live patched optprobes -# - ----------------------- - | arch |status| - ----------------------- - | alpha: | TODO | - | arc: | TODO | - | arm: | ok | - | arm64: | TODO | - | csky: | TODO | - | hexagon: | TODO | - | loongarch: | TODO | - | m68k: | TODO | - | microblaze: | TODO | - | mips: | TODO | - | nios2: | TODO | - | openrisc: | TODO | - | parisc: | TODO | - | powerpc: | ok | - | riscv: | TODO | - | s390: | TODO | - | sh: | TODO | - | sparc: | TODO | - | um: | TODO | - | x86: | ok | - | xtensa: | TODO | - ----------------------- +# +# Feature name: optprobes +# Kconfig: HAVE_OPTPROBES +# description: arch supports live patched optprobes +# + ----------------------- + | arch |status| + ----------------------- + | alpha: | TODO | + | arc: | TODO | + | arm: | ok | + | arm64: | TODO | + | csky: | TODO | + | hexagon: | TODO | + | loongarch: | TODO | + | m68k: | TODO | + | microblaze: | TODO | + | mips: | TODO | + | nios2: | TODO | + | openrisc: | TODO | + | parisc: | TODO | + | powerpc: | ok | + | riscv: | TODO | + | s390: | TODO | + | sh: | TODO | + | sparc: | TODO | + | um: | TODO | + | x86: | ok | + | xtensa: | TODO | + ----------------------- diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/features/debug/stackprotector/arch-support.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/features/debug/stackprotector/arch-support.txt index 6e93a44ef5..de8f43f2e5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/features/debug/stackprotector/arch-support.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/features/debug/stackprotector/arch-support.txt @@ -1,30 +1,30 @@ -# -# Feature name: stackprotector -# Kconfig: HAVE_STACKPROTECTOR -# description: arch supports compiler driven stack overflow protection -# - ----------------------- - | arch |status| - ----------------------- - | alpha: | TODO | - | arc: | TODO | - | arm: | ok | - | arm64: | ok | - | csky: | ok | - | hexagon: | TODO | - | loongarch: | ok | - | m68k: | TODO | - | microblaze: | TODO | - | mips: | ok | - | nios2: | TODO | - | openrisc: | TODO | - | parisc: | TODO | - | powerpc: | ok | - | riscv: | ok | - | s390: | TODO | - | sh: | ok | - | sparc: | TODO | - | um: | TODO | - | x86: | ok | - | xtensa: | ok | - ----------------------- +# +# Feature name: stackprotector +# Kconfig: HAVE_STACKPROTECTOR +# description: arch supports compiler driven stack overflow protection +# + ----------------------- + | arch |status| + ----------------------- + | alpha: | TODO | + | arc: | TODO | + | arm: | ok | + | arm64: | ok | + | csky: | ok | + | hexagon: | TODO | + | loongarch: | ok | + | m68k: | TODO | + | microblaze: | TODO | + | mips: | ok | + | nios2: | TODO | + | openrisc: | TODO | + | parisc: | TODO | + | powerpc: | ok | + | riscv: | ok | + | s390: | TODO | + | sh: | ok | + | sparc: | TODO | + | um: | TODO | + | x86: | ok | + | xtensa: | ok | + ----------------------- diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/features/debug/uprobes/arch-support.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/features/debug/uprobes/arch-support.txt index 8612c29639..0c698003ce 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/features/debug/uprobes/arch-support.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/features/debug/uprobes/arch-support.txt @@ -1,30 +1,30 @@ -# -# Feature name: uprobes -# Kconfig: ARCH_SUPPORTS_UPROBES -# description: arch supports live patched user probes -# - ----------------------- - | arch |status| - ----------------------- - | alpha: | TODO | - | arc: | TODO | - | arm: | ok | - | arm64: | ok | - | csky: | ok | - | hexagon: | TODO | - | loongarch: | ok | - | m68k: | TODO | - | microblaze: | TODO | - | mips: | ok | - | nios2: | TODO | - | openrisc: | TODO | - | parisc: | TODO | - | powerpc: | ok | - | riscv: | ok | - | s390: | ok | - | sh: | TODO | - | sparc: | ok | - | um: | TODO | - | x86: | ok | - | xtensa: | TODO | - ----------------------- +# +# Feature name: uprobes +# Kconfig: ARCH_SUPPORTS_UPROBES +# description: arch supports live patched user probes +# + ----------------------- + | arch |status| + ----------------------- + | alpha: | TODO | + | arc: | TODO | + | arm: | ok | + | arm64: | ok | + | csky: | ok | + | hexagon: | TODO | + | loongarch: | ok | + | m68k: | TODO | + | microblaze: | TODO | + | mips: | ok | + | nios2: | TODO | + | openrisc: | TODO | + | parisc: | TODO | + | powerpc: | ok | + | riscv: | ok | + | s390: | ok | + | sh: | TODO | + | sparc: | ok | + | um: | TODO | + | x86: | ok | + | xtensa: | TODO | + ----------------------- diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/features/debug/user-ret-profiler/arch-support.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/features/debug/user-ret-profiler/arch-support.txt index 418d5b85d0..3e43176758 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/features/debug/user-ret-profiler/arch-support.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/features/debug/user-ret-profiler/arch-support.txt @@ -1,30 +1,30 @@ -# -# Feature name: user-ret-profiler -# Kconfig: HAVE_USER_RETURN_NOTIFIER -# description: arch supports user-space return from system call profiler -# - ----------------------- - | arch |status| - ----------------------- - | alpha: | TODO | - | arc: | TODO | - | arm: | TODO | - | arm64: | TODO | - | csky: | TODO | - | hexagon: | TODO | - | loongarch: | TODO | - | m68k: | TODO | - | microblaze: | TODO | - | mips: | TODO | - | nios2: | TODO | - | openrisc: | TODO | - | parisc: | TODO | - | powerpc: | TODO | - | riscv: | TODO | - | s390: | TODO | - | sh: | TODO | - | sparc: | TODO | - | um: | TODO | - | x86: | ok | - | xtensa: | TODO | - ----------------------- +# +# Feature name: user-ret-profiler +# Kconfig: HAVE_USER_RETURN_NOTIFIER +# description: arch supports user-space return from system call profiler +# + ----------------------- + | arch |status| + ----------------------- + | alpha: | TODO | + | arc: | TODO | + | arm: | TODO | + | arm64: | TODO | + | csky: | TODO | + | hexagon: | TODO | + | loongarch: | TODO | + | m68k: | TODO | + | microblaze: | TODO | + | mips: | TODO | + | nios2: | TODO | + | openrisc: | TODO | + | parisc: | TODO | + | powerpc: | TODO | + | riscv: | TODO | + | s390: | TODO | + | sh: | TODO | + | sparc: | TODO | + | um: | TODO | + | x86: | ok | + | xtensa: | TODO | + ----------------------- diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/features/io/dma-contiguous/arch-support.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/features/io/dma-contiguous/arch-support.txt index 96067faba7..3c6ce35d70 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/features/io/dma-contiguous/arch-support.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/features/io/dma-contiguous/arch-support.txt @@ -1,30 +1,30 @@ -# -# Feature name: dma-contiguous -# Kconfig: HAVE_DMA_CONTIGUOUS -# description: arch supports the DMA CMA (continuous memory allocator) -# - ----------------------- - | arch |status| - ----------------------- - | alpha: | TODO | - | arc: | TODO | - | arm: | ok | - | arm64: | ok | - | csky: | ok | - | hexagon: | TODO | - | loongarch: | ok | - | m68k: | TODO | - | microblaze: | ok | - | mips: | ok | - | nios2: | TODO | - | openrisc: | TODO | - | parisc: | TODO | - | powerpc: | TODO | - | riscv: | ok | - | s390: | ok | - | sh: | TODO | - | sparc: | TODO | - | um: | TODO | - | x86: | ok | - | xtensa: | ok | - ----------------------- +# +# Feature name: dma-contiguous +# Kconfig: HAVE_DMA_CONTIGUOUS +# description: arch supports the DMA CMA (continuous memory allocator) +# + ----------------------- + | arch |status| + ----------------------- + | alpha: | TODO | + | arc: | TODO | + | arm: | ok | + | arm64: | ok | + | csky: | ok | + | hexagon: | TODO | + | loongarch: | ok | + | m68k: | TODO | + | microblaze: | ok | + | mips: | ok | + | nios2: | TODO | + | openrisc: | TODO | + | parisc: | TODO | + | powerpc: | TODO | + | riscv: | ok | + | s390: | ok | + | sh: | TODO | + | sparc: | TODO | + | um: | TODO | + | x86: | ok | + | xtensa: | ok | + ----------------------- diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/features/locking/cmpxchg-local/arch-support.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/features/locking/cmpxchg-local/arch-support.txt index 3777a5017d..2c3a4b91f1 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/features/locking/cmpxchg-local/arch-support.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/features/locking/cmpxchg-local/arch-support.txt @@ -1,30 +1,30 @@ -# -# Feature name: cmpxchg-local -# Kconfig: HAVE_CMPXCHG_LOCAL -# description: arch supports the this_cpu_cmpxchg() API -# - ----------------------- - | arch |status| - ----------------------- - | alpha: | TODO | - | arc: | TODO | - | arm: | TODO | - | arm64: | ok | - | csky: | TODO | - | hexagon: | TODO | - | loongarch: | TODO | - | m68k: | TODO | - | microblaze: | TODO | - | mips: | TODO | - | nios2: | TODO | - | openrisc: | TODO | - | parisc: | TODO | - | powerpc: | TODO | - | riscv: | TODO | - | s390: | ok | - | sh: | TODO | - | sparc: | TODO | - | um: | TODO | - | x86: | ok | - | xtensa: | TODO | - ----------------------- +# +# Feature name: cmpxchg-local +# Kconfig: HAVE_CMPXCHG_LOCAL +# description: arch supports the this_cpu_cmpxchg() API +# + ----------------------- + | arch |status| + ----------------------- + | alpha: | TODO | + | arc: | TODO | + | arm: | TODO | + | arm64: | ok | + | csky: | TODO | + | hexagon: | TODO | + | loongarch: | TODO | + | m68k: | TODO | + | microblaze: | TODO | + | mips: | TODO | + | nios2: | TODO | + | openrisc: | TODO | + | parisc: | TODO | + | powerpc: | TODO | + | riscv: | TODO | + | s390: | ok | + | sh: | TODO | + | sparc: | TODO | + | um: | TODO | + | x86: | ok | + | xtensa: | TODO | + ----------------------- diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/features/locking/lockdep/arch-support.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/features/locking/lockdep/arch-support.txt index 4b1f4ec5ba..b6b00469f7 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/features/locking/lockdep/arch-support.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/features/locking/lockdep/arch-support.txt @@ -1,30 +1,30 @@ -# -# Feature name: lockdep -# Kconfig: LOCKDEP_SUPPORT -# description: arch supports the runtime locking correctness debug facility -# - ----------------------- - | arch |status| - ----------------------- - | alpha: | TODO | - | arc: | ok | - | arm: | ok | - | arm64: | ok | - | csky: | ok | - | hexagon: | ok | - | loongarch: | ok | - | m68k: | TODO | - | microblaze: | ok | - | mips: | ok | - | nios2: | TODO | - | openrisc: | ok | - | parisc: | ok | - | powerpc: | ok | - | riscv: | ok | - | s390: | ok | - | sh: | ok | - | sparc: | ok | - | um: | ok | - | x86: | ok | - | xtensa: | ok | - ----------------------- +# +# Feature name: lockdep +# Kconfig: LOCKDEP_SUPPORT +# description: arch supports the runtime locking correctness debug facility +# + ----------------------- + | arch |status| + ----------------------- + | alpha: | TODO | + | arc: | ok | + | arm: | ok | + | arm64: | ok | + | csky: | ok | + | hexagon: | ok | + | loongarch: | ok | + | m68k: | TODO | + | microblaze: | ok | + | mips: | ok | + | nios2: | TODO | + | openrisc: | ok | + | parisc: | ok | + | powerpc: | ok | + | riscv: | ok | + | s390: | ok | + | sh: | ok | + | sparc: | ok | + | um: | ok | + | x86: | ok | + | xtensa: | ok | + ----------------------- diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/features/locking/queued-rwlocks/arch-support.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/features/locking/queued-rwlocks/arch-support.txt index 259ce6269a..b286a5fff2 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/features/locking/queued-rwlocks/arch-support.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/features/locking/queued-rwlocks/arch-support.txt @@ -1,30 +1,30 @@ -# -# Feature name: queued-rwlocks -# Kconfig: ARCH_USE_QUEUED_RWLOCKS -# description: arch supports queued rwlocks -# - ----------------------- - | arch |status| - ----------------------- - | alpha: | TODO | - | arc: | TODO | - | arm: | TODO | - | arm64: | ok | - | csky: | ok | - | hexagon: | TODO | - | loongarch: | ok | - | m68k: | TODO | - | microblaze: | TODO | - | mips: | ok | - | nios2: | TODO | - | openrisc: | ok | - | parisc: | TODO | - | powerpc: | ok | - | riscv: | ok | - | s390: | TODO | - | sh: | TODO | - | sparc: | ok | - | um: | TODO | - | x86: | ok | - | xtensa: | ok | - ----------------------- +# +# Feature name: queued-rwlocks +# Kconfig: ARCH_USE_QUEUED_RWLOCKS +# description: arch supports queued rwlocks +# + ----------------------- + | arch |status| + ----------------------- + | alpha: | TODO | + | arc: | TODO | + | arm: | TODO | + | arm64: | ok | + | csky: | ok | + | hexagon: | TODO | + | loongarch: | ok | + | m68k: | TODO | + | microblaze: | TODO | + | mips: | ok | + | nios2: | TODO | + | openrisc: | ok | + | parisc: | TODO | + | powerpc: | ok | + | riscv: | ok | + | s390: | TODO | + | sh: | TODO | + | sparc: | ok | + | um: | TODO | + | x86: | ok | + | xtensa: | ok | + ----------------------- diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/features/locking/queued-spinlocks/arch-support.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/features/locking/queued-spinlocks/arch-support.txt index 1bde62ce5f..22f2990392 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/features/locking/queued-spinlocks/arch-support.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/features/locking/queued-spinlocks/arch-support.txt @@ -1,30 +1,30 @@ -# -# Feature name: queued-spinlocks -# Kconfig: ARCH_USE_QUEUED_SPINLOCKS -# description: arch supports queued spinlocks -# - ----------------------- - | arch |status| - ----------------------- - | alpha: | TODO | - | arc: | TODO | - | arm: | TODO | - | arm64: | ok | - | csky: | ok | - | hexagon: | TODO | - | loongarch: | ok | - | m68k: | TODO | - | microblaze: | TODO | - | mips: | ok | - | nios2: | TODO | - | openrisc: | ok | - | parisc: | TODO | - | powerpc: | ok | - | riscv: | TODO | - | s390: | TODO | - | sh: | TODO | - | sparc: | ok | - | um: | TODO | - | x86: | ok | - | xtensa: | ok | - ----------------------- +# +# Feature name: queued-spinlocks +# Kconfig: ARCH_USE_QUEUED_SPINLOCKS +# description: arch supports queued spinlocks +# + ----------------------- + | arch |status| + ----------------------- + | alpha: | TODO | + | arc: | TODO | + | arm: | TODO | + | arm64: | ok | + | csky: | ok | + | hexagon: | TODO | + | loongarch: | ok | + | m68k: | TODO | + | microblaze: | TODO | + | mips: | ok | + | nios2: | TODO | + | openrisc: | ok | + | parisc: | TODO | + | powerpc: | ok | + | riscv: | TODO | + | s390: | TODO | + | sh: | TODO | + | sparc: | ok | + | um: | TODO | + | x86: | ok | + | xtensa: | ok | + ----------------------- diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/features/perf/kprobes-event/arch-support.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/features/perf/kprobes-event/arch-support.txt index 9f58d9464a..713a69fcd6 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/features/perf/kprobes-event/arch-support.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/features/perf/kprobes-event/arch-support.txt @@ -1,30 +1,30 @@ -# -# Feature name: kprobes-event -# Kconfig: HAVE_REGS_AND_STACK_ACCESS_API -# description: arch supports kprobes with perf events -# - ----------------------- - | arch |status| - ----------------------- - | alpha: | TODO | - | arc: | ok | - | arm: | ok | - | arm64: | ok | - | csky: | ok | - | hexagon: | ok | - | loongarch: | ok | - | m68k: | TODO | - | microblaze: | TODO | - | mips: | ok | - | nios2: | TODO | - | openrisc: | TODO | - | parisc: | ok | - | powerpc: | ok | - | riscv: | ok | - | s390: | ok | - | sh: | ok | - | sparc: | ok | - | um: | TODO | - | x86: | ok | - | xtensa: | TODO | - ----------------------- +# +# Feature name: kprobes-event +# Kconfig: HAVE_REGS_AND_STACK_ACCESS_API +# description: arch supports kprobes with perf events +# + ----------------------- + | arch |status| + ----------------------- + | alpha: | TODO | + | arc: | ok | + | arm: | ok | + | arm64: | ok | + | csky: | ok | + | hexagon: | ok | + | loongarch: | ok | + | m68k: | TODO | + | microblaze: | TODO | + | mips: | ok | + | nios2: | TODO | + | openrisc: | TODO | + | parisc: | ok | + | powerpc: | ok | + | riscv: | ok | + | s390: | ok | + | sh: | ok | + | sparc: | ok | + | um: | TODO | + | x86: | ok | + | xtensa: | TODO | + ----------------------- diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/features/perf/perf-regs/arch-support.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/features/perf/perf-regs/arch-support.txt index c329314c33..09431518b0 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/features/perf/perf-regs/arch-support.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/features/perf/perf-regs/arch-support.txt @@ -1,30 +1,30 @@ -# -# Feature name: perf-regs -# Kconfig: HAVE_PERF_REGS -# description: arch supports perf events register access -# - ----------------------- - | arch |status| - ----------------------- - | alpha: | TODO | - | arc: | TODO | - | arm: | ok | - | arm64: | ok | - | csky: | ok | - | hexagon: | TODO | - | loongarch: | ok | - | m68k: | TODO | - | microblaze: | TODO | - | mips: | ok | - | nios2: | TODO | - | openrisc: | TODO | - | parisc: | TODO | - | powerpc: | ok | - | riscv: | ok | - | s390: | ok | - | sh: | TODO | - | sparc: | TODO | - | um: | TODO | - | x86: | ok | - | xtensa: | TODO | - ----------------------- +# +# Feature name: perf-regs +# Kconfig: HAVE_PERF_REGS +# description: arch supports perf events register access +# + ----------------------- + | arch |status| + ----------------------- + | alpha: | TODO | + | arc: | TODO | + | arm: | ok | + | arm64: | ok | + | csky: | ok | + | hexagon: | TODO | + | loongarch: | ok | + | m68k: | TODO | + | microblaze: | TODO | + | mips: | ok | + | nios2: | TODO | + | openrisc: | TODO | + | parisc: | TODO | + | powerpc: | ok | + | riscv: | ok | + | s390: | ok | + | sh: | TODO | + | sparc: | TODO | + | um: | TODO | + | x86: | ok | + | xtensa: | TODO | + ----------------------- diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/features/perf/perf-stackdump/arch-support.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/features/perf/perf-stackdump/arch-support.txt index 9f9176b8f7..f9db4dd8ef 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/features/perf/perf-stackdump/arch-support.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/features/perf/perf-stackdump/arch-support.txt @@ -1,30 +1,30 @@ -# -# Feature name: perf-stackdump -# Kconfig: HAVE_PERF_USER_STACK_DUMP -# description: arch supports perf events stack dumps -# - ----------------------- - | arch |status| - ----------------------- - | alpha: | TODO | - | arc: | TODO | - | arm: | ok | - | arm64: | ok | - | csky: | ok | - | hexagon: | TODO | - | loongarch: | ok | - | m68k: | TODO | - | microblaze: | TODO | - | mips: | ok | - | nios2: | TODO | - | openrisc: | TODO | - | parisc: | TODO | - | powerpc: | ok | - | riscv: | ok | - | s390: | ok | - | sh: | TODO | - | sparc: | TODO | - | um: | TODO | - | x86: | ok | - | xtensa: | TODO | - ----------------------- +# +# Feature name: perf-stackdump +# Kconfig: HAVE_PERF_USER_STACK_DUMP +# description: arch supports perf events stack dumps +# + ----------------------- + | arch |status| + ----------------------- + | alpha: | TODO | + | arc: | TODO | + | arm: | ok | + | arm64: | ok | + | csky: | ok | + | hexagon: | TODO | + | loongarch: | ok | + | m68k: | TODO | + | microblaze: | TODO | + | mips: | ok | + | nios2: | TODO | + | openrisc: | TODO | + | parisc: | TODO | + | powerpc: | ok | + | riscv: | ok | + | s390: | ok | + | sh: | TODO | + | sparc: | TODO | + | um: | TODO | + | x86: | ok | + | xtensa: | TODO | + ----------------------- diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/features/sched/numa-balancing/arch-support.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/features/sched/numa-balancing/arch-support.txt index 3b18566f8f..984601c7c4 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/features/sched/numa-balancing/arch-support.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/features/sched/numa-balancing/arch-support.txt @@ -1,30 +1,30 @@ -# -# Feature name: numa-balancing -# Kconfig: ARCH_SUPPORTS_NUMA_BALANCING -# description: arch supports NUMA balancing -# - ----------------------- - | arch |status| - ----------------------- - | alpha: | TODO | - | arc: | .. | - | arm: | .. | - | arm64: | ok | - | csky: | .. | - | hexagon: | .. | - | loongarch: | ok | - | m68k: | .. | - | microblaze: | .. | - | mips: | TODO | - | nios2: | .. | - | openrisc: | .. | - | parisc: | .. | - | powerpc: | ok | - | riscv: | ok | - | s390: | ok | - | sh: | .. | - | sparc: | TODO | - | um: | .. | - | x86: | ok | - | xtensa: | .. | - ----------------------- +# +# Feature name: numa-balancing +# Kconfig: ARCH_SUPPORTS_NUMA_BALANCING +# description: arch supports NUMA balancing +# + ----------------------- + | arch |status| + ----------------------- + | alpha: | TODO | + | arc: | .. | + | arm: | .. | + | arm64: | ok | + | csky: | .. | + | hexagon: | .. | + | loongarch: | ok | + | m68k: | .. | + | microblaze: | .. | + | mips: | TODO | + | nios2: | .. | + | openrisc: | .. | + | parisc: | .. | + | powerpc: | ok | + | riscv: | ok | + | s390: | ok | + | sh: | .. | + | sparc: | TODO | + | um: | .. | + | x86: | ok | + | xtensa: | .. | + ----------------------- diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/features/seccomp/seccomp-filter/arch-support.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/features/seccomp/seccomp-filter/arch-support.txt index 933582a49a..13feb67964 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/features/seccomp/seccomp-filter/arch-support.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/features/seccomp/seccomp-filter/arch-support.txt @@ -1,30 +1,30 @@ -# -# Feature name: seccomp-filter -# Kconfig: HAVE_ARCH_SECCOMP_FILTER -# description: arch supports seccomp filters -# - ----------------------- - | arch |status| - ----------------------- - | alpha: | TODO | - | arc: | TODO | - | arm: | ok | - | arm64: | ok | - | csky: | ok | - | hexagon: | TODO | - | loongarch: | ok | - | m68k: | ok | - | microblaze: | TODO | - | mips: | ok | - | nios2: | TODO | - | openrisc: | TODO | - | parisc: | ok | - | powerpc: | ok | - | riscv: | ok | - | s390: | ok | - | sh: | ok | - | sparc: | TODO | - | um: | ok | - | x86: | ok | - | xtensa: | ok | - ----------------------- +# +# Feature name: seccomp-filter +# Kconfig: HAVE_ARCH_SECCOMP_FILTER +# description: arch supports seccomp filters +# + ----------------------- + | arch |status| + ----------------------- + | alpha: | TODO | + | arc: | TODO | + | arm: | ok | + | arm64: | ok | + | csky: | ok | + | hexagon: | TODO | + | loongarch: | ok | + | m68k: | ok | + | microblaze: | TODO | + | mips: | ok | + | nios2: | TODO | + | openrisc: | TODO | + | parisc: | ok | + | powerpc: | ok | + | riscv: | ok | + | s390: | ok | + | sh: | ok | + | sparc: | TODO | + | um: | ok | + | x86: | ok | + | xtensa: | ok | + ----------------------- diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/features/time/arch-tick-broadcast/arch-support.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/features/time/arch-tick-broadcast/arch-support.txt index 3ee0a64158..ccba965e8d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/features/time/arch-tick-broadcast/arch-support.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/features/time/arch-tick-broadcast/arch-support.txt @@ -1,30 +1,30 @@ -# -# Feature name: arch-tick-broadcast -# Kconfig: ARCH_HAS_TICK_BROADCAST -# description: arch provides tick_broadcast() -# - ----------------------- - | arch |status| - ----------------------- - | alpha: | TODO | - | arc: | TODO | - | arm: | ok | - | arm64: | ok | - | csky: | TODO | - | hexagon: | TODO | - | loongarch: | ok | - | m68k: | TODO | - | microblaze: | TODO | - | mips: | ok | - | nios2: | TODO | - | openrisc: | TODO | - | parisc: | TODO | - | powerpc: | ok | - | riscv: | ok | - | s390: | TODO | - | sh: | ok | - | sparc: | TODO | - | um: | TODO | - | x86: | TODO | - | xtensa: | TODO | - ----------------------- +# +# Feature name: arch-tick-broadcast +# Kconfig: ARCH_HAS_TICK_BROADCAST +# description: arch provides tick_broadcast() +# + ----------------------- + | arch |status| + ----------------------- + | alpha: | TODO | + | arc: | TODO | + | arm: | ok | + | arm64: | ok | + | csky: | TODO | + | hexagon: | TODO | + | loongarch: | ok | + | m68k: | TODO | + | microblaze: | TODO | + | mips: | ok | + | nios2: | TODO | + | openrisc: | TODO | + | parisc: | TODO | + | powerpc: | ok | + | riscv: | ok | + | s390: | TODO | + | sh: | ok | + | sparc: | TODO | + | um: | TODO | + | x86: | TODO | + | xtensa: | TODO | + ----------------------- diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/features/time/clockevents/arch-support.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/features/time/clockevents/arch-support.txt index 5fc6585e71..4d4bfac529 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/features/time/clockevents/arch-support.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/features/time/clockevents/arch-support.txt @@ -1,30 +1,30 @@ -# -# Feature name: clockevents -# Kconfig: !LEGACY_TIMER_TICK -# description: arch support generic clock events -# - ----------------------- - | arch |status| - ----------------------- - | alpha: | ok | - | arc: | ok | - | arm: | TODO | - | arm64: | ok | - | csky: | ok | - | hexagon: | ok | - | loongarch: | ok | - | m68k: | TODO | - | microblaze: | ok | - | mips: | ok | - | nios2: | ok | - | openrisc: | ok | - | parisc: | TODO | - | powerpc: | ok | - | riscv: | ok | - | s390: | ok | - | sh: | ok | - | sparc: | ok | - | um: | ok | - | x86: | ok | - | xtensa: | ok | - ----------------------- +# +# Feature name: clockevents +# Kconfig: !LEGACY_TIMER_TICK +# description: arch support generic clock events +# + ----------------------- + | arch |status| + ----------------------- + | alpha: | ok | + | arc: | ok | + | arm: | TODO | + | arm64: | ok | + | csky: | ok | + | hexagon: | ok | + | loongarch: | ok | + | m68k: | TODO | + | microblaze: | ok | + | mips: | ok | + | nios2: | ok | + | openrisc: | ok | + | parisc: | TODO | + | powerpc: | ok | + | riscv: | ok | + | s390: | ok | + | sh: | ok | + | sparc: | ok | + | um: | ok | + | x86: | ok | + | xtensa: | ok | + ----------------------- diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/features/time/context-tracking/arch-support.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/features/time/context-tracking/arch-support.txt index 3f719ea597..891be9f619 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/features/time/context-tracking/arch-support.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/features/time/context-tracking/arch-support.txt @@ -1,30 +1,30 @@ -# -# Feature name: user-context-tracking -# Kconfig: HAVE_CONTEXT_TRACKING_USER -# description: arch supports user context tracking for NO_HZ_FULL -# - ----------------------- - | arch |status| - ----------------------- - | alpha: | TODO | - | arc: | TODO | - | arm: | ok | - | arm64: | ok | - | csky: | ok | - | hexagon: | TODO | - | loongarch: | ok | - | m68k: | TODO | - | microblaze: | TODO | - | mips: | ok | - | nios2: | TODO | - | openrisc: | TODO | - | parisc: | TODO | - | powerpc: | ok | - | riscv: | ok | - | s390: | TODO | - | sh: | TODO | - | sparc: | ok | - | um: | TODO | - | x86: | ok | - | xtensa: | ok | - ----------------------- +# +# Feature name: user-context-tracking +# Kconfig: HAVE_CONTEXT_TRACKING_USER +# description: arch supports user context tracking for NO_HZ_FULL +# + ----------------------- + | arch |status| + ----------------------- + | alpha: | TODO | + | arc: | TODO | + | arm: | ok | + | arm64: | ok | + | csky: | ok | + | hexagon: | TODO | + | loongarch: | ok | + | m68k: | TODO | + | microblaze: | TODO | + | mips: | ok | + | nios2: | TODO | + | openrisc: | TODO | + | parisc: | TODO | + | powerpc: | ok | + | riscv: | ok | + | s390: | TODO | + | sh: | TODO | + | sparc: | ok | + | um: | TODO | + | x86: | ok | + | xtensa: | ok | + ----------------------- diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/features/time/irq-time-acct/arch-support.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/features/time/irq-time-acct/arch-support.txt index 97d9504b19..3d10075a8a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/features/time/irq-time-acct/arch-support.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/features/time/irq-time-acct/arch-support.txt @@ -1,30 +1,30 @@ -# -# Feature name: irq-time-acct -# Kconfig: HAVE_IRQ_TIME_ACCOUNTING -# description: arch supports precise IRQ time accounting -# - ----------------------- - | arch |status| - ----------------------- - | alpha: | .. | - | arc: | TODO | - | arm: | ok | - | arm64: | ok | - | csky: | TODO | - | hexagon: | TODO | - | loongarch: | ok | - | m68k: | TODO | - | microblaze: | TODO | - | mips: | ok | - | nios2: | TODO | - | openrisc: | TODO | - | parisc: | .. | - | powerpc: | ok | - | riscv: | ok | - | s390: | .. | - | sh: | TODO | - | sparc: | .. | - | um: | TODO | - | x86: | ok | - | xtensa: | ok | - ----------------------- +# +# Feature name: irq-time-acct +# Kconfig: HAVE_IRQ_TIME_ACCOUNTING +# description: arch supports precise IRQ time accounting +# + ----------------------- + | arch |status| + ----------------------- + | alpha: | .. | + | arc: | TODO | + | arm: | ok | + | arm64: | ok | + | csky: | TODO | + | hexagon: | TODO | + | loongarch: | ok | + | m68k: | TODO | + | microblaze: | TODO | + | mips: | ok | + | nios2: | TODO | + | openrisc: | TODO | + | parisc: | .. | + | powerpc: | ok | + | riscv: | ok | + | s390: | .. | + | sh: | TODO | + | sparc: | .. | + | um: | TODO | + | x86: | ok | + | xtensa: | ok | + ----------------------- diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/features/time/virt-cpuacct/arch-support.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/features/time/virt-cpuacct/arch-support.txt index ecd5f817f9..21f11d47ef 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/features/time/virt-cpuacct/arch-support.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/features/time/virt-cpuacct/arch-support.txt @@ -1,30 +1,30 @@ -# -# Feature name: virt-cpuacct -# Kconfig: HAVE_VIRT_CPU_ACCOUNTING -# description: arch supports precise virtual CPU time accounting -# - ----------------------- - | arch |status| - ----------------------- - | alpha: | ok | - | arc: | TODO | - | arm: | ok | - | arm64: | ok | - | csky: | ok | - | hexagon: | TODO | - | loongarch: | ok | - | m68k: | TODO | - | microblaze: | TODO | - | mips: | ok | - | nios2: | TODO | - | openrisc: | TODO | - | parisc: | ok | - | powerpc: | ok | - | riscv: | TODO | - | s390: | ok | - | sh: | TODO | - | sparc: | ok | - | um: | TODO | - | x86: | ok | - | xtensa: | ok | - ----------------------- +# +# Feature name: virt-cpuacct +# Kconfig: HAVE_VIRT_CPU_ACCOUNTING +# description: arch supports precise virtual CPU time accounting +# + ----------------------- + | arch |status| + ----------------------- + | alpha: | ok | + | arc: | TODO | + | arm: | ok | + | arm64: | ok | + | csky: | ok | + | hexagon: | TODO | + | loongarch: | ok | + | m68k: | TODO | + | microblaze: | TODO | + | mips: | ok | + | nios2: | TODO | + | openrisc: | TODO | + | parisc: | ok | + | powerpc: | ok | + | riscv: | TODO | + | s390: | ok | + | sh: | TODO | + | sparc: | ok | + | um: | TODO | + | x86: | ok | + | xtensa: | ok | + ----------------------- diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/features/vm/ELF-ASLR/arch-support.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/features/vm/ELF-ASLR/arch-support.txt index a46960b58b..57406c0d53 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/features/vm/ELF-ASLR/arch-support.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/features/vm/ELF-ASLR/arch-support.txt @@ -1,31 +1,31 @@ -# -# Feature name: ELF-ASLR -# Kconfig: ARCH_HAS_ELF_RANDOMIZE -# Kconfig: ARCH_WANT_DEFAULT_TOPDOWN_MMAP_LAYOUT -# description: arch randomizes the stack, heap and binary images of ELF binaries -# - ----------------------- - | arch |status| - ----------------------- - | alpha: | TODO | - | arc: | TODO | - | arm: | ok | - | arm64: | ok | - | csky: | ok | - | hexagon: | TODO | - | loongarch: | ok | - | m68k: | TODO | - | microblaze: | TODO | - | mips: | ok | - | nios2: | TODO | - | openrisc: | TODO | - | parisc: | ok | - | powerpc: | ok | - | riscv: | ok | - | s390: | ok | - | sh: | TODO | - | sparc: | TODO | - | um: | TODO | - | x86: | ok | - | xtensa: | TODO | - ----------------------- +# +# Feature name: ELF-ASLR +# Kconfig: ARCH_HAS_ELF_RANDOMIZE +# Kconfig: ARCH_WANT_DEFAULT_TOPDOWN_MMAP_LAYOUT +# description: arch randomizes the stack, heap and binary images of ELF binaries +# + ----------------------- + | arch |status| + ----------------------- + | alpha: | TODO | + | arc: | TODO | + | arm: | ok | + | arm64: | ok | + | csky: | ok | + | hexagon: | TODO | + | loongarch: | ok | + | m68k: | TODO | + | microblaze: | TODO | + | mips: | ok | + | nios2: | TODO | + | openrisc: | TODO | + | parisc: | ok | + | powerpc: | ok | + | riscv: | ok | + | s390: | ok | + | sh: | TODO | + | sparc: | TODO | + | um: | TODO | + | x86: | ok | + | xtensa: | TODO | + ----------------------- diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/features/vm/THP/arch-support.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/features/vm/THP/arch-support.txt index 8966c461e3..b4a5ce1694 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/features/vm/THP/arch-support.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/features/vm/THP/arch-support.txt @@ -1,30 +1,30 @@ -# -# Feature name: THP -# Kconfig: HAVE_ARCH_TRANSPARENT_HUGEPAGE -# description: arch supports transparent hugepages -# - ----------------------- - | arch |status| - ----------------------- - | alpha: | TODO | - | arc: | ok | - | arm: | ok | - | arm64: | ok | - | csky: | .. | - | hexagon: | .. | - | loongarch: | ok | - | m68k: | .. | - | microblaze: | .. | - | mips: | ok | - | nios2: | .. | - | openrisc: | .. | - | parisc: | TODO | - | powerpc: | ok | - | riscv: | ok | - | s390: | ok | - | sh: | .. | - | sparc: | ok | - | um: | .. | - | x86: | ok | - | xtensa: | .. | - ----------------------- +# +# Feature name: THP +# Kconfig: HAVE_ARCH_TRANSPARENT_HUGEPAGE +# description: arch supports transparent hugepages +# + ----------------------- + | arch |status| + ----------------------- + | alpha: | TODO | + | arc: | ok | + | arm: | ok | + | arm64: | ok | + | csky: | .. | + | hexagon: | .. | + | loongarch: | ok | + | m68k: | .. | + | microblaze: | .. | + | mips: | ok | + | nios2: | .. | + | openrisc: | .. | + | parisc: | TODO | + | powerpc: | ok | + | riscv: | ok | + | s390: | ok | + | sh: | .. | + | sparc: | ok | + | um: | .. | + | x86: | ok | + | xtensa: | .. | + ----------------------- diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/features/vm/TLB/arch-support.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/features/vm/TLB/arch-support.txt index 7f15fec5a5..d222bd3ee7 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/features/vm/TLB/arch-support.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/features/vm/TLB/arch-support.txt @@ -1,30 +1,30 @@ -# -# Feature name: batch-unmap-tlb-flush -# Kconfig: ARCH_WANT_BATCHED_UNMAP_TLB_FLUSH -# description: arch supports deferral of TLB flush until multiple pages are unmapped -# - ----------------------- - | arch |status| - ----------------------- - | alpha: | TODO | - | arc: | TODO | - | arm: | TODO | - | arm64: | ok | - | csky: | TODO | - | hexagon: | TODO | - | loongarch: | TODO | - | m68k: | .. | - | microblaze: | .. | - | mips: | TODO | - | nios2: | .. | - | openrisc: | .. | - | parisc: | TODO | - | powerpc: | TODO | - | riscv: | ok | - | s390: | TODO | - | sh: | TODO | - | sparc: | TODO | - | um: | .. | - | x86: | ok | - | xtensa: | TODO | - ----------------------- +# +# Feature name: batch-unmap-tlb-flush +# Kconfig: ARCH_WANT_BATCHED_UNMAP_TLB_FLUSH +# description: arch supports deferral of TLB flush until multiple pages are unmapped +# + ----------------------- + | arch |status| + ----------------------- + | alpha: | TODO | + | arc: | TODO | + | arm: | TODO | + | arm64: | ok | + | csky: | TODO | + | hexagon: | TODO | + | loongarch: | TODO | + | m68k: | .. | + | microblaze: | .. | + | mips: | TODO | + | nios2: | .. | + | openrisc: | .. | + | parisc: | TODO | + | powerpc: | TODO | + | riscv: | ok | + | s390: | TODO | + | sh: | TODO | + | sparc: | TODO | + | um: | .. | + | x86: | ok | + | xtensa: | TODO | + ----------------------- diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/features/vm/huge-vmap/arch-support.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/features/vm/huge-vmap/arch-support.txt index f395e8baa0..2d6de7b045 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/features/vm/huge-vmap/arch-support.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/features/vm/huge-vmap/arch-support.txt @@ -1,30 +1,30 @@ -# -# Feature name: huge-vmap -# Kconfig: HAVE_ARCH_HUGE_VMAP -# description: arch supports the arch_vmap_pud_supported() and arch_vmap_pmd_supported() VM APIs -# - ----------------------- - | arch |status| - ----------------------- - | alpha: | TODO | - | arc: | TODO | - | arm: | TODO | - | arm64: | ok | - | csky: | TODO | - | hexagon: | TODO | - | loongarch: | TODO | - | m68k: | TODO | - | microblaze: | TODO | - | mips: | TODO | - | nios2: | TODO | - | openrisc: | TODO | - | parisc: | TODO | - | powerpc: | ok | - | riscv: | ok | - | s390: | TODO | - | sh: | TODO | - | sparc: | TODO | - | um: | TODO | - | x86: | ok | - | xtensa: | TODO | - ----------------------- +# +# Feature name: huge-vmap +# Kconfig: HAVE_ARCH_HUGE_VMAP +# description: arch supports the arch_vmap_pud_supported() and arch_vmap_pmd_supported() VM APIs +# + ----------------------- + | arch |status| + ----------------------- + | alpha: | TODO | + | arc: | TODO | + | arm: | TODO | + | arm64: | ok | + | csky: | TODO | + | hexagon: | TODO | + | loongarch: | TODO | + | m68k: | TODO | + | microblaze: | TODO | + | mips: | TODO | + | nios2: | TODO | + | openrisc: | TODO | + | parisc: | TODO | + | powerpc: | ok | + | riscv: | ok | + | s390: | TODO | + | sh: | TODO | + | sparc: | TODO | + | um: | TODO | + | x86: | ok | + | xtensa: | TODO | + ----------------------- diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/features/vm/ioremap_prot/arch-support.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/features/vm/ioremap_prot/arch-support.txt index b07b7e92f7..1638c2cb17 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/features/vm/ioremap_prot/arch-support.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/features/vm/ioremap_prot/arch-support.txt @@ -1,30 +1,30 @@ -# -# Feature name: ioremap_prot -# Kconfig: HAVE_IOREMAP_PROT -# description: arch has ioremap_prot() -# - ----------------------- - | arch |status| - ----------------------- - | alpha: | TODO | - | arc: | ok | - | arm: | TODO | - | arm64: | ok | - | csky: | TODO | - | hexagon: | TODO | - | loongarch: | ok | - | m68k: | TODO | - | microblaze: | TODO | - | mips: | ok | - | nios2: | TODO | - | openrisc: | TODO | - | parisc: | TODO | - | powerpc: | ok | - | riscv: | TODO | - | s390: | ok | - | sh: | ok | - | sparc: | TODO | - | um: | TODO | - | x86: | ok | - | xtensa: | TODO | - ----------------------- +# +# Feature name: ioremap_prot +# Kconfig: HAVE_IOREMAP_PROT +# description: arch has ioremap_prot() +# + ----------------------- + | arch |status| + ----------------------- + | alpha: | TODO | + | arc: | ok | + | arm: | TODO | + | arm64: | ok | + | csky: | TODO | + | hexagon: | TODO | + | loongarch: | ok | + | m68k: | TODO | + | microblaze: | TODO | + | mips: | ok | + | nios2: | TODO | + | openrisc: | TODO | + | parisc: | TODO | + | powerpc: | ok | + | riscv: | TODO | + | s390: | ok | + | sh: | ok | + | sparc: | TODO | + | um: | TODO | + | x86: | ok | + | xtensa: | TODO | + ----------------------- diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/features/vm/pte_special/arch-support.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/features/vm/pte_special/arch-support.txt index 86705fa2eb..3f777f8b67 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/features/vm/pte_special/arch-support.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/features/vm/pte_special/arch-support.txt @@ -1,30 +1,30 @@ -# -# Feature name: pte_special -# Kconfig: ARCH_HAS_PTE_SPECIAL -# description: arch supports the pte_special()/pte_mkspecial() VM APIs -# - ----------------------- - | arch |status| - ----------------------- - | alpha: | TODO | - | arc: | ok | - | arm: | ok | - | arm64: | ok | - | csky: | TODO | - | hexagon: | TODO | - | loongarch: | ok | - | m68k: | TODO | - | microblaze: | TODO | - | mips: | ok | - | nios2: | TODO | - | openrisc: | TODO | - | parisc: | ok | - | powerpc: | ok | - | riscv: | ok | - | s390: | ok | - | sh: | ok | - | sparc: | ok | - | um: | TODO | - | x86: | ok | - | xtensa: | TODO | - ----------------------- +# +# Feature name: pte_special +# Kconfig: ARCH_HAS_PTE_SPECIAL +# description: arch supports the pte_special()/pte_mkspecial() VM APIs +# + ----------------------- + | arch |status| + ----------------------- + | alpha: | TODO | + | arc: | ok | + | arm: | ok | + | arm64: | ok | + | csky: | TODO | + | hexagon: | TODO | + | loongarch: | ok | + | m68k: | TODO | + | microblaze: | TODO | + | mips: | ok | + | nios2: | TODO | + | openrisc: | TODO | + | parisc: | ok | + | powerpc: | ok | + | riscv: | ok | + | s390: | ok | + | sh: | ok | + | sparc: | ok | + | um: | TODO | + | x86: | ok | + | xtensa: | TODO | + ----------------------- diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/rfc/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/rfc/index.rst index 71599aaf1f..476719771e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/rfc/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/rfc/index.rst @@ -1,33 +1,33 @@ -=============== -GPU RFC Section -=============== - -For complex work, especially new uapi, it is often good to nail the high level -design issues before getting lost in the code details. This section is meant to -host such documentation: - -* Each RFC should be a section in this file, explaining the goal and main design - considerations. Especially for uapi make sure you Cc: all relevant project - mailing lists and involved people outside of dri-devel. - -* For uapi structures add a file to this directory with and then pull the - kerneldoc in like with real uapi headers. - -* Once the code has landed move all the documentation to the right places in - the main core, helper or driver sections. - -.. toctree:: - - i915_gem_lmem.rst - -.. toctree:: - - i915_scheduler.rst - -.. toctree:: - - i915_small_bar.rst - -.. toctree:: - - i915_vm_bind.rst +=============== +GPU RFC Section +=============== + +For complex work, especially new uapi, it is often good to nail the high level +design issues before getting lost in the code details. This section is meant to +host such documentation: + +* Each RFC should be a section in this file, explaining the goal and main design + considerations. Especially for uapi make sure you Cc: all relevant project + mailing lists and involved people outside of dri-devel. + +* For uapi structures add a file to this directory with and then pull the + kerneldoc in like with real uapi headers. + +* Once the code has landed move all the documentation to the right places in + the main core, helper or driver sections. + +.. toctree:: + + i915_gem_lmem.rst + +.. toctree:: + + i915_scheduler.rst + +.. toctree:: + + i915_small_bar.rst + +.. toctree:: + + i915_vm_bind.rst diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/v3d.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/v3d.rst index b3025b4292..543f7fbf52 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/v3d.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/v3d.rst @@ -1,28 +1,28 @@ -===================================== - drm/v3d Broadcom V3D Graphics Driver -===================================== - -.. kernel-doc:: drivers/gpu/drm/v3d/v3d_drv.c - :doc: Broadcom V3D Graphics Driver - -GPU buffer object (BO) management ---------------------------------- - -.. kernel-doc:: drivers/gpu/drm/v3d/v3d_bo.c - :doc: V3D GEM BO management support - -Address space management -=========================================== -.. kernel-doc:: drivers/gpu/drm/v3d/v3d_mmu.c - :doc: Broadcom V3D MMU - -GPU Scheduling -=========================================== -.. kernel-doc:: drivers/gpu/drm/v3d/v3d_sched.c - :doc: Broadcom V3D scheduling - -Interrupts --------------- - -.. kernel-doc:: drivers/gpu/drm/v3d/v3d_irq.c - :doc: Interrupt management for the V3D engine +===================================== + drm/v3d Broadcom V3D Graphics Driver +===================================== + +.. kernel-doc:: drivers/gpu/drm/v3d/v3d_drv.c + :doc: Broadcom V3D Graphics Driver + +GPU buffer object (BO) management +--------------------------------- + +.. kernel-doc:: drivers/gpu/drm/v3d/v3d_bo.c + :doc: V3D GEM BO management support + +Address space management +=========================================== +.. kernel-doc:: drivers/gpu/drm/v3d/v3d_mmu.c + :doc: Broadcom V3D MMU + +GPU Scheduling +=========================================== +.. kernel-doc:: drivers/gpu/drm/v3d/v3d_sched.c + :doc: Broadcom V3D scheduling + +Interrupts +-------------- + +.. kernel-doc:: drivers/gpu/drm/v3d/v3d_irq.c + :doc: Interrupt management for the V3D engine diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/xe/xe_firmware.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/xe/xe_firmware.rst index d7d1ad3807..afcb561cd3 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/xe/xe_firmware.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/xe/xe_firmware.rst @@ -1,37 +1,37 @@ -.. SPDX-License-Identifier: (GPL-2.0+ OR MIT) - -======== -Firmware -======== - -Firmware Layout -=============== - -.. kernel-doc:: drivers/gpu/drm/xe/xe_uc_fw_abi.h - :doc: CSS-based Firmware Layout - -.. kernel-doc:: drivers/gpu/drm/xe/xe_uc_fw_abi.h - :doc: GSC-based Firmware Layout - -Write Once Protected Content Memory (WOPCM) Layout -================================================== - -.. kernel-doc:: drivers/gpu/drm/xe/xe_wopcm.c - :doc: Write Once Protected Content Memory (WOPCM) Layout - -GuC CTB Blob -============ - -.. kernel-doc:: drivers/gpu/drm/xe/xe_guc_ct.c - :doc: GuC CTB Blob - -GuC Power Conservation (PC) -=========================== - -.. kernel-doc:: drivers/gpu/drm/xe/xe_guc_pc.c - :doc: GuC Power Conservation (PC) - -Internal API -============ - -TODO +.. SPDX-License-Identifier: (GPL-2.0+ OR MIT) + +======== +Firmware +======== + +Firmware Layout +=============== + +.. kernel-doc:: drivers/gpu/drm/xe/xe_uc_fw_abi.h + :doc: CSS-based Firmware Layout + +.. kernel-doc:: drivers/gpu/drm/xe/xe_uc_fw_abi.h + :doc: GSC-based Firmware Layout + +Write Once Protected Content Memory (WOPCM) Layout +================================================== + +.. kernel-doc:: drivers/gpu/drm/xe/xe_wopcm.c + :doc: Write Once Protected Content Memory (WOPCM) Layout + +GuC CTB Blob +============ + +.. kernel-doc:: drivers/gpu/drm/xe/xe_guc_ct.c + :doc: GuC CTB Blob + +GuC Power Conservation (PC) +=========================== + +.. kernel-doc:: drivers/gpu/drm/xe/xe_guc_pc.c + :doc: GuC Power Conservation (PC) + +Internal API +============ + +TODO diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/ad7314.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/ad7314.rst index dc423d0079..bf389736bc 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/ad7314.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/ad7314.rst @@ -1,34 +1,34 @@ -Kernel driver ad7314 -==================== - -Supported chips: - - * Analog Devices AD7314 - - Prefix: 'ad7314' - - Datasheet: Publicly available at Analog Devices website. - - * Analog Devices ADT7301 - - Prefix: 'adt7301' - - Datasheet: Publicly available at Analog Devices website. - - * Analog Devices ADT7302 - - Prefix: 'adt7302' - - Datasheet: Publicly available at Analog Devices website. - -Description ------------ - -Driver supports the above parts. The ad7314 has a 10 bit -sensor with 1lsb = 0.25 degrees centigrade. The adt7301 and -adt7302 have 14 bit sensors with 1lsb = 0.03125 degrees centigrade. - -Notes ------ - -Currently power down mode is not supported. +Kernel driver ad7314 +==================== + +Supported chips: + + * Analog Devices AD7314 + + Prefix: 'ad7314' + + Datasheet: Publicly available at Analog Devices website. + + * Analog Devices ADT7301 + + Prefix: 'adt7301' + + Datasheet: Publicly available at Analog Devices website. + + * Analog Devices ADT7302 + + Prefix: 'adt7302' + + Datasheet: Publicly available at Analog Devices website. + +Description +----------- + +Driver supports the above parts. The ad7314 has a 10 bit +sensor with 1lsb = 0.25 degrees centigrade. The adt7301 and +adt7302 have 14 bit sensors with 1lsb = 0.03125 degrees centigrade. + +Notes +----- + +Currently power down mode is not supported. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/adm1177.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/adm1177.rst index 54a2cd8d2f..1c85a2af92 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/adm1177.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/adm1177.rst @@ -1,36 +1,36 @@ -Kernel driver adm1177 -===================== - -Supported chips: - * Analog Devices ADM1177 - Prefix: 'adm1177' - Datasheet: https://www.analog.com/media/en/technical-documentation/data-sheets/ADM1177.pdf - -Author: Beniamin Bia - - -Description ------------ - -This driver supports hardware monitoring for Analog Devices ADM1177 -Hot-Swap Controller and Digital Power Monitors with Soft Start Pin. - - -Usage Notes ------------ - -This driver does not auto-detect devices. You will have to instantiate the -devices explicitly. Please see Documentation/i2c/instantiating-devices.rst -for details. - - -Sysfs entries -------------- - -The following attributes are supported. Current maxim attribute -is read-write, all other attributes are read-only. - -in0_input Measured voltage in microvolts. - -curr1_input Measured current in microamperes. -curr1_max_alarm Overcurrent alarm in microamperes. +Kernel driver adm1177 +===================== + +Supported chips: + * Analog Devices ADM1177 + Prefix: 'adm1177' + Datasheet: https://www.analog.com/media/en/technical-documentation/data-sheets/ADM1177.pdf + +Author: Beniamin Bia + + +Description +----------- + +This driver supports hardware monitoring for Analog Devices ADM1177 +Hot-Swap Controller and Digital Power Monitors with Soft Start Pin. + + +Usage Notes +----------- + +This driver does not auto-detect devices. You will have to instantiate the +devices explicitly. Please see Documentation/i2c/instantiating-devices.rst +for details. + + +Sysfs entries +------------- + +The following attributes are supported. Current maxim attribute +is read-write, all other attributes are read-only. + +in0_input Measured voltage in microvolts. + +curr1_input Measured current in microamperes. +curr1_max_alarm Overcurrent alarm in microamperes. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/aspeed-g6-pwm-tach.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/aspeed-g6-pwm-tach.rst index 2ecab57e23..17398fe397 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/aspeed-g6-pwm-tach.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/aspeed-g6-pwm-tach.rst @@ -1,26 +1,26 @@ -.. SPDX-License-Identifier: GPL-2.0-or-later - -Kernel driver aspeed-g6-pwm-tach -================================= - -Supported chips: - ASPEED AST2600 - -Authors: - - -Description: ------------- -This driver implements support for ASPEED AST2600 Fan Tacho controller. -The controller supports up to 16 tachometer inputs. - -The driver provides the following sensor accesses in sysfs: - -=============== ======= ====================================================== -fanX_input ro provide current fan rotation value in RPM as reported - by the fan to the device. -fanX_div rw Fan divisor: Supported value are power of 4 (1, 4, 16 - 64, ... 4194304) - The larger divisor, the less rpm accuracy and the less - affected by fan signal glitch. -=============== ======= ====================================================== +.. SPDX-License-Identifier: GPL-2.0-or-later + +Kernel driver aspeed-g6-pwm-tach +================================= + +Supported chips: + ASPEED AST2600 + +Authors: + + +Description: +------------ +This driver implements support for ASPEED AST2600 Fan Tacho controller. +The controller supports up to 16 tachometer inputs. + +The driver provides the following sensor accesses in sysfs: + +=============== ======= ====================================================== +fanX_input ro provide current fan rotation value in RPM as reported + by the fan to the device. +fanX_div rw Fan divisor: Supported value are power of 4 (1, 4, 16 + 64, ... 4194304) + The larger divisor, the less rpm accuracy and the less + affected by fan signal glitch. +=============== ======= ====================================================== diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/aspeed-pwm-tacho.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/aspeed-pwm-tacho.rst index 10351fdf91..f7bbe96f4b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/aspeed-pwm-tacho.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/aspeed-pwm-tacho.rst @@ -1,24 +1,24 @@ -Kernel driver aspeed-pwm-tacho -============================== - -Supported chips: - ASPEED AST2400/2500 - -Authors: - - -Description: ------------- -This driver implements support for ASPEED AST2400/2500 PWM and Fan Tacho -controller. The PWM controller supports up to 8 PWM outputs. The Fan tacho -controller supports up to 16 tachometer inputs. - -The driver provides the following sensor accesses in sysfs: - -=============== ======= ===================================================== -fanX_input ro provide current fan rotation value in RPM as reported - by the fan to the device. - -pwmX rw get or set PWM fan control value. This is an integer - value between 0(off) and 255(full speed). -=============== ======= ===================================================== +Kernel driver aspeed-pwm-tacho +============================== + +Supported chips: + ASPEED AST2400/2500 + +Authors: + + +Description: +------------ +This driver implements support for ASPEED AST2400/2500 PWM and Fan Tacho +controller. The PWM controller supports up to 8 PWM outputs. The Fan tacho +controller supports up to 16 tachometer inputs. + +The driver provides the following sensor accesses in sysfs: + +=============== ======= ===================================================== +fanX_input ro provide current fan rotation value in RPM as reported + by the fan to the device. + +pwmX rw get or set PWM fan control value. This is an integer + value between 0(off) and 255(full speed). +=============== ======= ===================================================== diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/fsp-3y.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/fsp-3y.rst index f214ea839d..5693d83a20 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/fsp-3y.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/fsp-3y.rst @@ -1,28 +1,28 @@ -.. SPDX-License-Identifier: GPL-2.0 - -Kernel driver fsp3y -====================== -Supported devices: - * 3Y POWER YH-5151E - * 3Y POWER YM-2151E - -Author: Václav Kubernát - -Description ------------ -This driver implements limited support for two 3Y POWER devices. - -Sysfs entries -------------- - * in1_input input voltage - * in2_input 12V output voltage - * in3_input 5V output voltage - * curr1_input input current - * curr2_input 12V output current - * curr3_input 5V output current - * fan1_input fan rpm - * temp1_input temperature 1 - * temp2_input temperature 2 - * temp3_input temperature 3 - * power1_input input power - * power2_input output power +.. SPDX-License-Identifier: GPL-2.0 + +Kernel driver fsp3y +====================== +Supported devices: + * 3Y POWER YH-5151E + * 3Y POWER YM-2151E + +Author: Václav Kubernát + +Description +----------- +This driver implements limited support for two 3Y POWER devices. + +Sysfs entries +------------- + * in1_input input voltage + * in2_input 12V output voltage + * in3_input 5V output voltage + * curr1_input input current + * curr2_input 12V output current + * curr3_input 5V output current + * fan1_input fan rpm + * temp1_input temperature 1 + * temp2_input temperature 2 + * temp3_input temperature 3 + * power1_input input power + * power2_input output power diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/gxp-fan-ctrl.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/gxp-fan-ctrl.rst index abd795cdbb..ae3397e81c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/gxp-fan-ctrl.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/gxp-fan-ctrl.rst @@ -1,28 +1,28 @@ -.. SPDX-License-Identifier: GPL-2.0-only - -Kernel driver gxp-fan-ctrl -========================== - -Supported chips: - - * HPE GXP SOC - -Author: Nick Hawkins - - -Description ------------ - -gxp-fan-ctrl is a driver which provides fan control for the hpe gxp soc. -The driver allows the gathering of fan status and the use of fan -PWM control. - - -Sysfs attributes ----------------- - -======================= =========================================================== -pwm[0-7] Fan 0 to 7 respective PWM value (0-255) -fan[0-7]_fault Fan 0 to 7 respective fault status: 1 fail, 0 ok -fan[0-7]_enable Fan 0 to 7 respective enabled status: 1 enabled, 0 disabled -======================= =========================================================== +.. SPDX-License-Identifier: GPL-2.0-only + +Kernel driver gxp-fan-ctrl +========================== + +Supported chips: + + * HPE GXP SOC + +Author: Nick Hawkins + + +Description +----------- + +gxp-fan-ctrl is a driver which provides fan control for the hpe gxp soc. +The driver allows the gathering of fan status and the use of fan +PWM control. + + +Sysfs attributes +---------------- + +======================= =========================================================== +pwm[0-7] Fan 0 to 7 respective PWM value (0-255) +fan[0-7]_fault Fan 0 to 7 respective fault status: 1 fail, 0 ok +fan[0-7]_enable Fan 0 to 7 respective enabled status: 1 enabled, 0 disabled +======================= =========================================================== diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/hs3001.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/hs3001.rst index 550a2aa956..9f59dfc212 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/hs3001.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/hs3001.rst @@ -1,37 +1,37 @@ -.. SPDX-License-Identifier: GPL-2.0-or-later - -Kernel driver HS3001 -==================== - -Supported chips: - - * Renesas HS3001, HS3002, HS3003, HS3004 - - Prefix: 'hs3001' - - Addresses scanned: - - - Datasheet: https://www.renesas.com/us/en/document/dst/hs300x-datasheet?r=417401 - -Author: - - - Andre Werner - -Description ------------ - -This driver implements support for the Renesas HS3001 chips, a humidity -and temperature family. Temperature is measured in degrees celsius, relative -humidity is expressed as a percentage. In the sysfs interface, all values are -scaled by 1000, i.e. the value for 31.5 degrees celsius is 31500. - -The device communicates with the I2C protocol. Sensors have the I2C -address 0x44 by default. - -sysfs-Interface ---------------- - -=================== ================= -temp1_input: temperature input -humidity1_input: humidity input -=================== ================= +.. SPDX-License-Identifier: GPL-2.0-or-later + +Kernel driver HS3001 +==================== + +Supported chips: + + * Renesas HS3001, HS3002, HS3003, HS3004 + + Prefix: 'hs3001' + + Addresses scanned: - + + Datasheet: https://www.renesas.com/us/en/document/dst/hs300x-datasheet?r=417401 + +Author: + + - Andre Werner + +Description +----------- + +This driver implements support for the Renesas HS3001 chips, a humidity +and temperature family. Temperature is measured in degrees celsius, relative +humidity is expressed as a percentage. In the sysfs interface, all values are +scaled by 1000, i.e. the value for 31.5 degrees celsius is 31500. + +The device communicates with the I2C protocol. Sensors have the I2C +address 0x44 by default. + +sysfs-Interface +--------------- + +=================== ================= +temp1_input: temperature input +humidity1_input: humidity input +=================== ================= diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/lan966x.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/lan966x.rst index 0500f499d3..1d1724afa5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/lan966x.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/lan966x.rst @@ -1,40 +1,40 @@ -.. SPDX-License-Identifier: GPL-2.0 - -Kernel driver lan966x-hwmon -=========================== - -Supported chips: - - * Microchip LAN9668 (sensor in SoC) - - Prefix: 'lan9668-hwmon' - - Datasheet: https://microchip-ung.github.io/lan9668_reginfo - -Authors: - - Michael Walle - -Description ------------ - -This driver implements support for the Microchip LAN9668 on-chip -temperature sensor as well as its fan controller. It provides one -temperature sensor and one fan controller. The temperature range -of the sensor is specified from -40 to +125 degrees Celsius and -its accuracy is +/- 5 degrees Celsius. The fan controller has a -tacho input and a PWM output with a customizable PWM output -frequency ranging from ~20Hz to ~650kHz. - -No alarms are supported by the SoC. - -The driver exports temperature values, fan tacho input and PWM -settings via the following sysfs files: - -**temp1_input** - -**fan1_input** - -**pwm1** - -**pwm1_freq** +.. SPDX-License-Identifier: GPL-2.0 + +Kernel driver lan966x-hwmon +=========================== + +Supported chips: + + * Microchip LAN9668 (sensor in SoC) + + Prefix: 'lan9668-hwmon' + + Datasheet: https://microchip-ung.github.io/lan9668_reginfo + +Authors: + + Michael Walle + +Description +----------- + +This driver implements support for the Microchip LAN9668 on-chip +temperature sensor as well as its fan controller. It provides one +temperature sensor and one fan controller. The temperature range +of the sensor is specified from -40 to +125 degrees Celsius and +its accuracy is +/- 5 degrees Celsius. The fan controller has a +tacho input and a PWM output with a customizable PWM output +frequency ranging from ~20Hz to ~650kHz. + +No alarms are supported by the SoC. + +The driver exports temperature values, fan tacho input and PWM +settings via the following sysfs files: + +**temp1_input** + +**fan1_input** + +**pwm1** + +**pwm1_freq** diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/max1619.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/max1619.rst index edc6aa474f..b5fc175ae1 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/max1619.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/max1619.rst @@ -1,29 +1,29 @@ -Kernel driver max1619 -===================== - -Supported chips: - - * Maxim MAX1619 - - Prefix: 'max1619' - - Addresses scanned: I2C 0x18-0x1a, 0x29-0x2b, 0x4c-0x4e - - Datasheet: Publicly available at the Maxim website - - http://pdfserv.maxim-ic.com/en/ds/MAX1619.pdf - -Authors: - - Oleksij Rempel , - - Jean Delvare - -Description ------------ - -The MAX1619 is a digital temperature sensor. It senses its own temperature as -well as the temperature of up to one external diode. - -All temperature values are given in degrees Celsius. Resolution -is 1.0 degree for the local temperature and for the remote temperature. - -Only the external sensor has high and low limits. +Kernel driver max1619 +===================== + +Supported chips: + + * Maxim MAX1619 + + Prefix: 'max1619' + + Addresses scanned: I2C 0x18-0x1a, 0x29-0x2b, 0x4c-0x4e + + Datasheet: Publicly available at the Maxim website + + http://pdfserv.maxim-ic.com/en/ds/MAX1619.pdf + +Authors: + - Oleksij Rempel , + - Jean Delvare + +Description +----------- + +The MAX1619 is a digital temperature sensor. It senses its own temperature as +well as the temperature of up to one external diode. + +All temperature values are given in degrees Celsius. Resolution +is 1.0 degree for the local temperature and for the remote temperature. + +Only the external sensor has high and low limits. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/mc34vr500.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/mc34vr500.rst index 157bd77ee0..f82d872477 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/mc34vr500.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/mc34vr500.rst @@ -1,32 +1,32 @@ -.. SPDX-License-Identifier: GPL-2.0-or-later - -Kernel driver mc34vr500 -======================= - -Supported Chips: - - * NXP MC34VR500 - - Prefix: 'mc34vr500' - - Datasheet: https://www.nxp.com/docs/en/data-sheet/MC34VR500.pdf - -Author: Mario Kicherer - -Description ------------ - -This driver implements initial support for the NXP MC34VR500 PMIC. The MC34VR500 -monitors the temperature, input voltage and output currents and provides -corresponding alarms. For the temperature, the chip can send interrupts if -the temperature rises above one of the following values: 110°, 120°, 125° and -130° Celsius. For the input voltage, an interrupt is sent when the voltage -drops below 2.8V. - -Currently, this driver only implements the input voltage and temperature -alarms. The interrupts are mapped as follows: - -<= 2.8V -> in0_min_alarm ->110°c -> temp1_max_alarm ->120°c -> temp1_crit_alarm ->130°c -> temp1_emergency_alarm +.. SPDX-License-Identifier: GPL-2.0-or-later + +Kernel driver mc34vr500 +======================= + +Supported Chips: + + * NXP MC34VR500 + + Prefix: 'mc34vr500' + + Datasheet: https://www.nxp.com/docs/en/data-sheet/MC34VR500.pdf + +Author: Mario Kicherer + +Description +----------- + +This driver implements initial support for the NXP MC34VR500 PMIC. The MC34VR500 +monitors the temperature, input voltage and output currents and provides +corresponding alarms. For the temperature, the chip can send interrupts if +the temperature rises above one of the following values: 110°, 120°, 125° and +130° Celsius. For the input voltage, an interrupt is sent when the voltage +drops below 2.8V. + +Currently, this driver only implements the input voltage and temperature +alarms. The interrupts are mapped as follows: + +<= 2.8V -> in0_min_alarm +>110°c -> temp1_max_alarm +>120°c -> temp1_crit_alarm +>130°c -> temp1_emergency_alarm diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/npcm750-pwm-fan.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/npcm750-pwm-fan.rst index 342e5794a7..c67af08b67 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/npcm750-pwm-fan.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/npcm750-pwm-fan.rst @@ -1,26 +1,26 @@ -Kernel driver npcm750-pwm-fan -============================= - -Supported chips: - - NUVOTON NPCM750/730/715/705 - -Authors: - - - -Description: ------------- -This driver implements support for NUVOTON NPCM7XX PWM and Fan Tacho -controller. The PWM controller supports up to 8 PWM outputs. The Fan tacho -controller supports up to 16 tachometer inputs. - -The driver provides the following sensor accesses in sysfs: - -=============== ======= ===================================================== -fanX_input ro provide current fan rotation value in RPM as reported - by the fan to the device. - -pwmX rw get or set PWM fan control value. This is an integer - value between 0(off) and 255(full speed). -=============== ======= ===================================================== +Kernel driver npcm750-pwm-fan +============================= + +Supported chips: + + NUVOTON NPCM750/730/715/705 + +Authors: + + + +Description: +------------ +This driver implements support for NUVOTON NPCM7XX PWM and Fan Tacho +controller. The PWM controller supports up to 8 PWM outputs. The Fan tacho +controller supports up to 16 tachometer inputs. + +The driver provides the following sensor accesses in sysfs: + +=============== ======= ===================================================== +fanX_input ro provide current fan rotation value in RPM as reported + by the fan to the device. + +pwmX rw get or set PWM fan control value. This is an integer + value between 0(off) and 255(full speed). +=============== ======= ===================================================== diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/powerz.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/powerz.rst index 4690db6dd3..317084e0b7 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/powerz.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/powerz.rst @@ -1,30 +1,30 @@ -.. SPDX-License-Identifier: GPL-2.0-or-later - -Kernel driver POWERZ -==================== - -Supported chips: - - * ChargerLAB POWER-Z KM003C - - Prefix: 'powerz' - - Addresses scanned: - - -Author: - - - Thomas Weißschuh - -Description ------------ - -This driver implements support for the ChargerLAB POWER-Z USB-C power testing -family. - -The device communicates with the custom protocol over USB. - -The channel labels exposed via hwmon match the labels used by the on-device -display and the official POWER-Z PC software. - -As current can flow in both directions through the tester the sign of the -channel "curr1_input" (label "IBUS") indicates the direction. +.. SPDX-License-Identifier: GPL-2.0-or-later + +Kernel driver POWERZ +==================== + +Supported chips: + + * ChargerLAB POWER-Z KM003C + + Prefix: 'powerz' + + Addresses scanned: - + +Author: + + - Thomas Weißschuh + +Description +----------- + +This driver implements support for the ChargerLAB POWER-Z USB-C power testing +family. + +The device communicates with the custom protocol over USB. + +The channel labels exposed via hwmon match the labels used by the on-device +display and the official POWER-Z PC software. + +As current can flow in both directions through the tester the sign of the +channel "curr1_input" (label "IBUS") indicates the direction. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/scpi-hwmon.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/scpi-hwmon.rst index 00d748e863..1e3f83ec06 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/scpi-hwmon.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/scpi-hwmon.rst @@ -1,36 +1,36 @@ -Kernel driver scpi-hwmon -======================== - -Supported chips: - - * Chips based on ARM System Control Processor Interface - - Addresses scanned: - - - Datasheet: http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0922b/index.html - -Author: Punit Agrawal - -Description ------------ - -This driver supports hardware monitoring for SoC's based on the ARM -System Control Processor (SCP) implementing the System Control -Processor Interface (SCPI). The following sensor types are supported -by the SCP: - - * temperature - * voltage - * current - * power - -The SCP interface provides an API to query the available sensors and -their values which are then exported to userspace by this driver. - -Usage Notes ------------ - -The driver relies on device tree node to indicate the presence of SCPI -support in the kernel. See -Documentation/devicetree/bindings/firmware/arm,scpi.yaml for details of the -devicetree node. +Kernel driver scpi-hwmon +======================== + +Supported chips: + + * Chips based on ARM System Control Processor Interface + + Addresses scanned: - + + Datasheet: http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0922b/index.html + +Author: Punit Agrawal + +Description +----------- + +This driver supports hardware monitoring for SoC's based on the ARM +System Control Processor (SCP) implementing the System Control +Processor Interface (SCPI). The following sensor types are supported +by the SCP: + + * temperature + * voltage + * current + * power + +The SCP interface provides an API to query the available sensors and +their values which are then exported to userspace by this driver. + +Usage Notes +----------- + +The driver relies on device tree node to indicate the presence of SCPI +support in the kernel. See +Documentation/devicetree/bindings/firmware/arm,scpi.yaml for details of the +devicetree node. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/sparx5-temp.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/sparx5-temp.rst index 0d2105bb26..0140809089 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/sparx5-temp.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/sparx5-temp.rst @@ -1,33 +1,33 @@ -.. SPDX-License-Identifier: GPL-2.0-only - -Microchip SparX-5 SoC -===================== - -Supported chips: - - * VSC7546, VSC7549, VSC755, VSC7556, and VSC7558 (Sparx5 series) - - Prefix: 'sparx5-temp' - - Addresses scanned: - - - Datasheet: Provided by Microchip upon request and under NDA - -Author: Lars Povlsen - -Description ------------ - -The Sparx5 SoC contains a temperature sensor based on the MR74060 -Moortec IP. - -The sensor has a range of -40°C to +125°C and an accuracy of +/-5°C. - -Sysfs entries -------------- - -The following attributes are supported. - -======================= ======================================================== -temp1_input Die temperature (in millidegree Celsius.) -======================= ======================================================== +.. SPDX-License-Identifier: GPL-2.0-only + +Microchip SparX-5 SoC +===================== + +Supported chips: + + * VSC7546, VSC7549, VSC755, VSC7556, and VSC7558 (Sparx5 series) + + Prefix: 'sparx5-temp' + + Addresses scanned: - + + Datasheet: Provided by Microchip upon request and under NDA + +Author: Lars Povlsen + +Description +----------- + +The Sparx5 SoC contains a temperature sensor based on the MR74060 +Moortec IP. + +The sensor has a range of -40°C to +125°C and an accuracy of +/-5°C. + +Sysfs entries +------------- + +The following attributes are supported. + +======================= ======================================================== +temp1_input Die temperature (in millidegree Celsius.) +======================= ======================================================== diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/surface_fan.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/surface_fan.rst index 07567c3634..07942574c4 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/surface_fan.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/surface_fan.rst @@ -1,25 +1,25 @@ -.. SPDX-License-Identifier: GPL-2.0-or-later - -Kernel driver surface_fan -========================= - -Supported Devices: - - * Microsoft Surface Pro 9 - -Author: Ivor Wanders - -Description ------------ - -This provides monitoring of the fan found in some Microsoft Surface Pro devices, -like the Surface Pro 9. The fan is always controlled by the onboard controller. - -Sysfs interface ---------------- - -======================= ======= ========================================= -Name Perm Description -======================= ======= ========================================= -``fan1_input`` RO Current fan speed in RPM. -======================= ======= ========================================= +.. SPDX-License-Identifier: GPL-2.0-or-later + +Kernel driver surface_fan +========================= + +Supported Devices: + + * Microsoft Surface Pro 9 + +Author: Ivor Wanders + +Description +----------- + +This provides monitoring of the fan found in some Microsoft Surface Pro devices, +like the Surface Pro 9. The fan is always controlled by the onboard controller. + +Sysfs interface +--------------- + +======================= ======= ========================================= +Name Perm Description +======================= ======= ========================================= +``fan1_input`` RO Current fan speed in RPM. +======================= ======= ========================================= diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/tmp102.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/tmp102.rst index ab4f01532c..b1f585531a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/tmp102.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/tmp102.rst @@ -1,31 +1,31 @@ -Kernel driver tmp102 -==================== - -Supported chips: - - * Texas Instruments TMP102 - - Prefix: 'tmp102' - - Addresses scanned: none - - Datasheet: http://focus.ti.com/docs/prod/folders/print/tmp102.html - -Author: - - Steven King - -Description ------------ - -The Texas Instruments TMP102 implements one temperature sensor. Limits can be -set through the Overtemperature Shutdown register and Hysteresis register. The -sensor is accurate to 0.5 degree over the range of -25 to +85 C, and to 1.0 -degree from -40 to +125 C. Resolution of the sensor is 0.0625 degree. The -operating temperature has a minimum of -55 C and a maximum of +150 C. - -The TMP102 has a programmable update rate that can select between 8, 4, 1, and -0.5 Hz. (Currently the driver only supports the default of 4 Hz). - -The driver provides the common sysfs-interface for temperatures (see -Documentation/hwmon/sysfs-interface.rst under Temperatures). +Kernel driver tmp102 +==================== + +Supported chips: + + * Texas Instruments TMP102 + + Prefix: 'tmp102' + + Addresses scanned: none + + Datasheet: http://focus.ti.com/docs/prod/folders/print/tmp102.html + +Author: + + Steven King + +Description +----------- + +The Texas Instruments TMP102 implements one temperature sensor. Limits can be +set through the Overtemperature Shutdown register and Hysteresis register. The +sensor is accurate to 0.5 degree over the range of -25 to +85 C, and to 1.0 +degree from -40 to +125 C. Resolution of the sensor is 0.0625 degree. The +operating temperature has a minimum of -55 C and a maximum of +150 C. + +The TMP102 has a programmable update rate that can select between 8, 4, 1, and +0.5 Hz. (Currently the driver only supports the default of 4 Hz). + +The driver provides the common sysfs-interface for temperatures (see +Documentation/hwmon/sysfs-interface.rst under Temperatures). diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/tmp103.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/tmp103.rst index b13ab59199..b3ef81475c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/tmp103.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/tmp103.rst @@ -1,33 +1,33 @@ -Kernel driver tmp103 -==================== - -Supported chips: - - * Texas Instruments TMP103 - - Prefix: 'tmp103' - - Addresses scanned: none - - Product info and datasheet: https://www.ti.com/product/tmp103 - -Author: - - Heiko Schocher - -Description ------------ - -The TMP103 is a digital output temperature sensor in a four-ball -wafer chip-scale package (WCSP). The TMP103 is capable of reading -temperatures to a resolution of 1°C. The TMP103 is specified for -operation over a temperature range of -40°C to +125°C. - -Resolution: 8 Bits -Accuracy: ±1°C Typ (-10°C to +100°C) - -The driver provides the common sysfs-interface for temperatures (see -Documentation/hwmon/sysfs-interface.rst under Temperatures). - -Please refer how to instantiate this driver: -Documentation/i2c/instantiating-devices.rst +Kernel driver tmp103 +==================== + +Supported chips: + + * Texas Instruments TMP103 + + Prefix: 'tmp103' + + Addresses scanned: none + + Product info and datasheet: https://www.ti.com/product/tmp103 + +Author: + + Heiko Schocher + +Description +----------- + +The TMP103 is a digital output temperature sensor in a four-ball +wafer chip-scale package (WCSP). The TMP103 is capable of reading +temperatures to a resolution of 1°C. The TMP103 is specified for +operation over a temperature range of -40°C to +125°C. + +Resolution: 8 Bits +Accuracy: ±1°C Typ (-10°C to +100°C) + +The driver provides the common sysfs-interface for temperatures (see +Documentation/hwmon/sysfs-interface.rst under Temperatures). + +Please refer how to instantiate this driver: +Documentation/i2c/instantiating-devices.rst diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/tps546d24.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/tps546d24.rst index dc7c33cb67..97adb8a30f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/tps546d24.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/tps546d24.rst @@ -1,35 +1,35 @@ -.. SPDX-License-Identifier: GPL-2.0-only - -Kernel driver tps546d24 -======================= - -Supported chips: - - * TI TPS546D24 - - Prefix: 'tps546d24' - - Addresses scanned: - - - Datasheet: https://www.ti.com/lit/gpn/tps546d24 - -Author: Duke Du - - -Description ------------ - -The TPS546D24A is a highly integrated, non-isolated DC/DC converter capable -of high frequency operation and 40-A current output from a 7-mm x 5-mm -package. - -Two, three, and four TPS546D24A devices can be interconnected -to provide up to 160 A on a single output. The device has an option to -overdrive the internal 5-V LDO with an external 5-V supply via the VDD5 -pin to improve efficiency and reduce power dissipation of the converter. - - -Platform data support ---------------------- - -The driver supports standard PMBus driver platform data. +.. SPDX-License-Identifier: GPL-2.0-only + +Kernel driver tps546d24 +======================= + +Supported chips: + + * TI TPS546D24 + + Prefix: 'tps546d24' + + Addresses scanned: - + + Datasheet: https://www.ti.com/lit/gpn/tps546d24 + +Author: Duke Du + + +Description +----------- + +The TPS546D24A is a highly integrated, non-isolated DC/DC converter capable +of high frequency operation and 40-A current output from a 7-mm x 5-mm +package. + +Two, three, and four TPS546D24A devices can be interconnected +to provide up to 160 A on a single output. The device has an option to +overdrive the internal 5-V LDO with an external 5-V supply via the VDD5 +pin to improve efficiency and reduce power dissipation of the converter. + + +Platform data support +--------------------- + +The driver supports standard PMBus driver platform data. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/wm8350.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/wm8350.rst index 5fa13e9820..cec044ca59 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/wm8350.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/wm8350.rst @@ -1,30 +1,30 @@ -Kernel driver wm8350-hwmon -========================== - -Supported chips: - - * Wolfson Microelectronics WM835x PMICs - - Prefix: 'wm8350' - - Datasheet: - - - http://www.wolfsonmicro.com/products/WM8350 - - http://www.wolfsonmicro.com/products/WM8351 - - http://www.wolfsonmicro.com/products/WM8352 - -Authors: Mark Brown - -Description ------------ - -The WM835x series of PMICs include an AUXADC which can be used to -monitor a range of system operating parameters, including the voltages -of the major supplies within the system. Currently the driver provides -simple access to these major supplies. - -Voltage Monitoring ------------------- - -Voltages are sampled by a 12 bit ADC. For the internal supplies the ADC -is referenced to the system VRTC. +Kernel driver wm8350-hwmon +========================== + +Supported chips: + + * Wolfson Microelectronics WM835x PMICs + + Prefix: 'wm8350' + + Datasheet: + + - http://www.wolfsonmicro.com/products/WM8350 + - http://www.wolfsonmicro.com/products/WM8351 + - http://www.wolfsonmicro.com/products/WM8352 + +Authors: Mark Brown + +Description +----------- + +The WM835x series of PMICs include an AUXADC which can be used to +monitor a range of system operating parameters, including the voltages +of the major supplies within the system. Currently the driver provides +simple access to these major supplies. + +Voltage Monitoring +------------------ + +Voltages are sampled by a 12 bit ADC. For the internal supplies the ADC +is referenced to the system VRTC. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/xgene-hwmon.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/xgene-hwmon.rst index 571020e985..439b30b881 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/xgene-hwmon.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/xgene-hwmon.rst @@ -1,36 +1,36 @@ -Kernel driver xgene-hwmon -========================= - -Supported chips: - - * APM X-Gene SoC - -Description ------------ - -This driver adds hardware temperature and power reading support for -APM X-Gene SoC using the mailbox communication interface. -For device tree, it is the standard DT mailbox. -For ACPI, it is the PCC mailbox. - -The following sensors are supported - - * Temperature - - SoC on-die temperature in milli-degree C - - Alarm when high/over temperature occurs - - * Power - - CPU power in uW - - IO power in uW - -sysfs-Interface ---------------- - -temp0_input - - SoC on-die temperature (milli-degree C) -temp0_critical_alarm - - An 1 would indicates on-die temperature exceeded threshold -power0_input - - CPU power in (uW) -power1_input - - IO power in (uW) +Kernel driver xgene-hwmon +========================= + +Supported chips: + + * APM X-Gene SoC + +Description +----------- + +This driver adds hardware temperature and power reading support for +APM X-Gene SoC using the mailbox communication interface. +For device tree, it is the standard DT mailbox. +For ACPI, it is the PCC mailbox. + +The following sensors are supported + + * Temperature + - SoC on-die temperature in milli-degree C + - Alarm when high/over temperature occurs + + * Power + - CPU power in uW + - IO power in uW + +sysfs-Interface +--------------- + +temp0_input + - SoC on-die temperature (milli-degree C) +temp0_critical_alarm + - An 1 would indicates on-die temperature exceeded threshold +power0_input + - CPU power in (uW) +power1_input + - IO power in (uW) diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/i2c/busses/i2c-ali1563.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/i2c/busses/i2c-ali1563.rst index 166f5cc2e2..eec32c3ba9 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/i2c/busses/i2c-ali1563.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/i2c/busses/i2c-ali1563.rst @@ -1,30 +1,30 @@ -========================= -Kernel driver i2c-ali1563 -========================= - -Supported adapters: - * Acer Labs, Inc. ALI 1563 (south bridge) - - Datasheet: Now under NDA - http://www.ali.com.tw/ - -Author: Patrick Mochel - -Description ------------ - -This is the driver for the SMB Host controller on Acer Labs Inc. (ALI) -M1563 South Bridge. - -For an overview of these chips see http://www.acerlabs.com - -The M1563 southbridge is deceptively similar to the M1533, with a few -notable exceptions. One of those happens to be the fact they upgraded the -i2c core to be SMBus 2.0 compliant, and happens to be almost identical to -the i2c controller found in the Intel 801 south bridges. - -Features --------- - -This driver controls the SMB Host only. This driver does not use -interrupts. +========================= +Kernel driver i2c-ali1563 +========================= + +Supported adapters: + * Acer Labs, Inc. ALI 1563 (south bridge) + + Datasheet: Now under NDA + http://www.ali.com.tw/ + +Author: Patrick Mochel + +Description +----------- + +This is the driver for the SMB Host controller on Acer Labs Inc. (ALI) +M1563 South Bridge. + +For an overview of these chips see http://www.acerlabs.com + +The M1563 southbridge is deceptively similar to the M1533, with a few +notable exceptions. One of those happens to be the fact they upgraded the +i2c core to be SMBus 2.0 compliant, and happens to be almost identical to +the i2c controller found in the Intel 801 south bridges. + +Features +-------- + +This driver controls the SMB Host only. This driver does not use +interrupts. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/i2c/busses/i2c-amd756.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/i2c/busses/i2c-amd756.rst index 5d3371acc1..bc93f392a4 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/i2c/busses/i2c-amd756.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/i2c/busses/i2c-amd756.rst @@ -1,29 +1,29 @@ -======================== -Kernel driver i2c-amd756 -======================== - -Supported adapters: - * AMD 756 - * AMD 766 - * AMD 768 - * AMD 8111 - - Datasheets: Publicly available on AMD website - - * nVidia nForce - - Datasheet: Unavailable - -Authors: - - Frodo Looijaard , - - Philip Edelbrock - -Description ------------ - -This driver supports the AMD 756, 766, 768 and 8111 Peripheral Bus -Controllers, and the nVidia nForce. - -Note that for the 8111, there are two SMBus adapters. The SMBus 1.0 adapter -is supported by this driver, and the SMBus 2.0 adapter is supported by the -i2c-amd8111 driver. +======================== +Kernel driver i2c-amd756 +======================== + +Supported adapters: + * AMD 756 + * AMD 766 + * AMD 768 + * AMD 8111 + + Datasheets: Publicly available on AMD website + + * nVidia nForce + + Datasheet: Unavailable + +Authors: + - Frodo Looijaard , + - Philip Edelbrock + +Description +----------- + +This driver supports the AMD 756, 766, 768 and 8111 Peripheral Bus +Controllers, and the nVidia nForce. + +Note that for the 8111, there are two SMBus adapters. The SMBus 1.0 adapter +is supported by this driver, and the SMBus 2.0 adapter is supported by the +i2c-amd8111 driver. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/i2c/busses/i2c-diolan-u2c.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/i2c/busses/i2c-diolan-u2c.rst index 940e791585..c18cbdcdf7 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/i2c/busses/i2c-diolan-u2c.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/i2c/busses/i2c-diolan-u2c.rst @@ -1,29 +1,29 @@ -============================ -Kernel driver i2c-diolan-u2c -============================ - -Supported adapters: - * Diolan U2C-12 I2C-USB adapter - - Documentation: - http://www.diolan.com/i2c/u2c12.html - -Author: Guenter Roeck - -Description ------------ - -This is the driver for the Diolan U2C-12 USB-I2C adapter. - -The Diolan U2C-12 I2C-USB Adapter provides a low cost solution to connect -a computer to I2C slave devices using a USB interface. It also supports -connectivity to SPI devices. - -This driver only supports the I2C interface of U2C-12. The driver does not use -interrupts. - - -Module parameters ------------------ - -* frequency: I2C bus frequency +============================ +Kernel driver i2c-diolan-u2c +============================ + +Supported adapters: + * Diolan U2C-12 I2C-USB adapter + + Documentation: + http://www.diolan.com/i2c/u2c12.html + +Author: Guenter Roeck + +Description +----------- + +This is the driver for the Diolan U2C-12 USB-I2C adapter. + +The Diolan U2C-12 I2C-USB Adapter provides a low cost solution to connect +a computer to I2C slave devices using a USB interface. It also supports +connectivity to SPI devices. + +This driver only supports the I2C interface of U2C-12. The driver does not use +interrupts. + + +Module parameters +----------------- + +* frequency: I2C bus frequency diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/iio/iio_tools.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/iio/iio_tools.rst index d461679c34..cc691c7f63 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/iio/iio_tools.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/iio/iio_tools.rst @@ -1,27 +1,27 @@ -.. SPDX-License-Identifier: GPL-2.0 - -===================== -IIO Interfacing Tools -===================== - -1. Linux Kernel Tools -===================== - -Linux Kernel provides some userspace tools that can be used to retrieve data -from IIO sysfs: - -* lsiio: example application that provides a list of IIO devices and triggers -* iio_event_monitor: example application that reads events from an IIO device - and prints them -* iio_generic_buffer: example application that reads data from buffer -* iio_utils: set of APIs, typically used to access sysfs files. - -2. LibIIO -========= - -LibIIO is a C/C++ library that provides generic access to IIO devices. The -library abstracts the low-level details of the hardware, and provides a simple -yet complete programming interface that can be used for advanced projects. - -For more information about LibIIO, please see: -https://github.com/analogdevicesinc/libiio +.. SPDX-License-Identifier: GPL-2.0 + +===================== +IIO Interfacing Tools +===================== + +1. Linux Kernel Tools +===================== + +Linux Kernel provides some userspace tools that can be used to retrieve data +from IIO sysfs: + +* lsiio: example application that provides a list of IIO devices and triggers +* iio_event_monitor: example application that reads events from an IIO device + and prints them +* iio_generic_buffer: example application that reads data from buffer +* iio_utils: set of APIs, typically used to access sysfs files. + +2. LibIIO +========= + +LibIIO is a C/C++ library that provides generic access to IIO devices. The +library abstracts the low-level details of the hardware, and provides a simple +yet complete programming interface that can be used for advanced projects. + +For more information about LibIIO, please see: +https://github.com/analogdevicesinc/libiio diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/images/COPYING-logo b/image/debian/UFI003_MB_V02/kernel/Documentation/images/COPYING-logo index 95ea4da843..6a441d453c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/images/COPYING-logo +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/images/COPYING-logo @@ -1,21 +1,21 @@ -This is the full-colour version of the currently unofficial Linux logo -("currently unofficial" just means that there has been no paperwork and -that I have not really announced it yet). It was created by Larry Ewing, -and is freely usable as long as you acknowledge Larry as the original -artist. - -Note that there are black-and-white versions of this available that -scale down to smaller sizes and are better for letterheads or whatever -you want to use it for: for the full range of logos take a look at -Larry's web-page: - - https://www.isc.tamu.edu/~lewing/linux/ - -The SVG version was re-illustrated in vector by Garrett LeSage and -refined and cleaned up by IFo Hancroft. It is also freely usable -as long as you acknowledge Larry, Garrett and IFo as above. - -There are also black-and-white and inverted vector versions at -Garrett's repository: - - https://github.com/garrett/Tux +This is the full-colour version of the currently unofficial Linux logo +("currently unofficial" just means that there has been no paperwork and +that I have not really announced it yet). It was created by Larry Ewing, +and is freely usable as long as you acknowledge Larry as the original +artist. + +Note that there are black-and-white versions of this available that +scale down to smaller sizes and are better for letterheads or whatever +you want to use it for: for the full range of logos take a look at +Larry's web-page: + + https://www.isc.tamu.edu/~lewing/linux/ + +The SVG version was re-illustrated in vector by Garrett LeSage and +refined and cleaned up by IFo Hancroft. It is also freely usable +as long as you acknowledge Larry, Garrett and IFo as above. + +There are also black-and-white and inverted vector versions at +Garrett's repository: + + https://github.com/garrett/Tux diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/litmus-tests/locking/DCL-broken.litmus b/image/debian/UFI003_MB_V02/kernel/Documentation/litmus-tests/locking/DCL-broken.litmus index 749602f386..bfb7ba4316 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/litmus-tests/locking/DCL-broken.litmus +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/litmus-tests/locking/DCL-broken.litmus @@ -1,54 +1,54 @@ -C DCL-broken - -(* - * Result: Sometimes - * - * This litmus test demonstrates more than just locking is required to - * correctly implement double-checked locking. - *) - -{ - int flag; - int data; -} - -P0(int *flag, int *data, spinlock_t *lck) -{ - int r0; - int r1; - int r2; - - r0 = READ_ONCE(*flag); - if (r0 == 0) { - spin_lock(lck); - r1 = READ_ONCE(*flag); - if (r1 == 0) { - WRITE_ONCE(*data, 1); - WRITE_ONCE(*flag, 1); - } - spin_unlock(lck); - } - r2 = READ_ONCE(*data); -} - -P1(int *flag, int *data, spinlock_t *lck) -{ - int r0; - int r1; - int r2; - - r0 = READ_ONCE(*flag); - if (r0 == 0) { - spin_lock(lck); - r1 = READ_ONCE(*flag); - if (r1 == 0) { - WRITE_ONCE(*data, 1); - WRITE_ONCE(*flag, 1); - } - spin_unlock(lck); - } - r2 = READ_ONCE(*data); -} - -locations [flag;data;0:r0;0:r1;1:r0;1:r1] -exists (0:r2=0 \/ 1:r2=0) +C DCL-broken + +(* + * Result: Sometimes + * + * This litmus test demonstrates more than just locking is required to + * correctly implement double-checked locking. + *) + +{ + int flag; + int data; +} + +P0(int *flag, int *data, spinlock_t *lck) +{ + int r0; + int r1; + int r2; + + r0 = READ_ONCE(*flag); + if (r0 == 0) { + spin_lock(lck); + r1 = READ_ONCE(*flag); + if (r1 == 0) { + WRITE_ONCE(*data, 1); + WRITE_ONCE(*flag, 1); + } + spin_unlock(lck); + } + r2 = READ_ONCE(*data); +} + +P1(int *flag, int *data, spinlock_t *lck) +{ + int r0; + int r1; + int r2; + + r0 = READ_ONCE(*flag); + if (r0 == 0) { + spin_lock(lck); + r1 = READ_ONCE(*flag); + if (r1 == 0) { + WRITE_ONCE(*data, 1); + WRITE_ONCE(*flag, 1); + } + spin_unlock(lck); + } + r2 = READ_ONCE(*data); +} + +locations [flag;data;0:r0;0:r1;1:r0;1:r1] +exists (0:r2=0 \/ 1:r2=0) diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/litmus-tests/locking/DCL-fixed.litmus b/image/debian/UFI003_MB_V02/kernel/Documentation/litmus-tests/locking/DCL-fixed.litmus index 00ae0f7601..d1b60bcb0c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/litmus-tests/locking/DCL-fixed.litmus +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/litmus-tests/locking/DCL-fixed.litmus @@ -1,55 +1,55 @@ -C DCL-fixed - -(* - * Result: Never - * - * This litmus test demonstrates that double-checked locking can be - * reliable given proper use of smp_load_acquire() and smp_store_release() - * in addition to the locking. - *) - -{ - int flag; - int data; -} - -P0(int *flag, int *data, spinlock_t *lck) -{ - int r0; - int r1; - int r2; - - r0 = smp_load_acquire(flag); - if (r0 == 0) { - spin_lock(lck); - r1 = READ_ONCE(*flag); - if (r1 == 0) { - WRITE_ONCE(*data, 1); - smp_store_release(flag, 1); - } - spin_unlock(lck); - } - r2 = READ_ONCE(*data); -} - -P1(int *flag, int *data, spinlock_t *lck) -{ - int r0; - int r1; - int r2; - - r0 = smp_load_acquire(flag); - if (r0 == 0) { - spin_lock(lck); - r1 = READ_ONCE(*flag); - if (r1 == 0) { - WRITE_ONCE(*data, 1); - smp_store_release(flag, 1); - } - spin_unlock(lck); - } - r2 = READ_ONCE(*data); -} - -locations [flag;data;0:r0;0:r1;1:r0;1:r1] -exists (0:r2=0 \/ 1:r2=0) +C DCL-fixed + +(* + * Result: Never + * + * This litmus test demonstrates that double-checked locking can be + * reliable given proper use of smp_load_acquire() and smp_store_release() + * in addition to the locking. + *) + +{ + int flag; + int data; +} + +P0(int *flag, int *data, spinlock_t *lck) +{ + int r0; + int r1; + int r2; + + r0 = smp_load_acquire(flag); + if (r0 == 0) { + spin_lock(lck); + r1 = READ_ONCE(*flag); + if (r1 == 0) { + WRITE_ONCE(*data, 1); + smp_store_release(flag, 1); + } + spin_unlock(lck); + } + r2 = READ_ONCE(*data); +} + +P1(int *flag, int *data, spinlock_t *lck) +{ + int r0; + int r1; + int r2; + + r0 = smp_load_acquire(flag); + if (r0 == 0) { + spin_lock(lck); + r1 = READ_ONCE(*flag); + if (r1 == 0) { + WRITE_ONCE(*data, 1); + smp_store_release(flag, 1); + } + spin_unlock(lck); + } + r2 = READ_ONCE(*data); +} + +locations [flag;data;0:r0;0:r1;1:r0;1:r1] +exists (0:r2=0 \/ 1:r2=0) diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/litmus-tests/locking/RM-broken.litmus b/image/debian/UFI003_MB_V02/kernel/Documentation/litmus-tests/locking/RM-broken.litmus index 873dbeac70..b7ef30cedf 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/litmus-tests/locking/RM-broken.litmus +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/litmus-tests/locking/RM-broken.litmus @@ -1,41 +1,41 @@ -C RM-broken - -(* - * Result: DEADLOCK - * - * This litmus test demonstrates that the old "roach motel" approach - * to locking, where code can be freely moved into critical sections, - * cannot be used in the Linux kernel. - *) - -{ - int x; - atomic_t y; -} - -P0(int *x, atomic_t *y, spinlock_t *lck) -{ - int r2; - - spin_lock(lck); - r2 = atomic_inc_return(y); - WRITE_ONCE(*x, 1); - spin_unlock(lck); -} - -P1(int *x, atomic_t *y, spinlock_t *lck) -{ - int r0; - int r1; - int r2; - - spin_lock(lck); - r0 = READ_ONCE(*x); - r1 = READ_ONCE(*x); - r2 = atomic_inc_return(y); - spin_unlock(lck); -} - -locations [x;0:r2;1:r0;1:r1;1:r2] -filter (1:r0=0 /\ 1:r1=1) -exists (1:r2=1) +C RM-broken + +(* + * Result: DEADLOCK + * + * This litmus test demonstrates that the old "roach motel" approach + * to locking, where code can be freely moved into critical sections, + * cannot be used in the Linux kernel. + *) + +{ + int x; + atomic_t y; +} + +P0(int *x, atomic_t *y, spinlock_t *lck) +{ + int r2; + + spin_lock(lck); + r2 = atomic_inc_return(y); + WRITE_ONCE(*x, 1); + spin_unlock(lck); +} + +P1(int *x, atomic_t *y, spinlock_t *lck) +{ + int r0; + int r1; + int r2; + + spin_lock(lck); + r0 = READ_ONCE(*x); + r1 = READ_ONCE(*x); + r2 = atomic_inc_return(y); + spin_unlock(lck); +} + +locations [x;0:r2;1:r0;1:r1;1:r2] +filter (1:r0=0 /\ 1:r1=1) +exists (1:r2=1) diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/litmus-tests/locking/RM-fixed.litmus b/image/debian/UFI003_MB_V02/kernel/Documentation/litmus-tests/locking/RM-fixed.litmus index 2ac13f834b..b628175596 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/litmus-tests/locking/RM-fixed.litmus +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/litmus-tests/locking/RM-fixed.litmus @@ -1,41 +1,41 @@ -C RM-fixed - -(* - * Result: Never - * - * This litmus test demonstrates that the old "roach motel" approach - * to locking, where code can be freely moved into critical sections, - * cannot be used in the Linux kernel. - *) - -{ - int x; - atomic_t y; -} - -P0(int *x, atomic_t *y, spinlock_t *lck) -{ - int r2; - - spin_lock(lck); - r2 = atomic_inc_return(y); - WRITE_ONCE(*x, 1); - spin_unlock(lck); -} - -P1(int *x, atomic_t *y, spinlock_t *lck) -{ - int r0; - int r1; - int r2; - - r0 = READ_ONCE(*x); - r1 = READ_ONCE(*x); - spin_lock(lck); - r2 = atomic_inc_return(y); - spin_unlock(lck); -} - -locations [x;0:r2;1:r0;1:r1;1:r2] -filter (1:r0=0 /\ 1:r1=1) -exists (1:r2=1) +C RM-fixed + +(* + * Result: Never + * + * This litmus test demonstrates that the old "roach motel" approach + * to locking, where code can be freely moved into critical sections, + * cannot be used in the Linux kernel. + *) + +{ + int x; + atomic_t y; +} + +P0(int *x, atomic_t *y, spinlock_t *lck) +{ + int r2; + + spin_lock(lck); + r2 = atomic_inc_return(y); + WRITE_ONCE(*x, 1); + spin_unlock(lck); +} + +P1(int *x, atomic_t *y, spinlock_t *lck) +{ + int r0; + int r1; + int r2; + + r0 = READ_ONCE(*x); + r1 = READ_ONCE(*x); + spin_lock(lck); + r2 = atomic_inc_return(y); + spin_unlock(lck); +} + +locations [x;0:r2;1:r0;1:r1;1:r2] +filter (1:r0=0 /\ 1:r1=1) +exists (1:r2=1) diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/litmus-tests/rcu/RCU+sync+free.litmus b/image/debian/UFI003_MB_V02/kernel/Documentation/litmus-tests/rcu/RCU+sync+free.litmus index ed05a0385c..4ee67e12f5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/litmus-tests/rcu/RCU+sync+free.litmus +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/litmus-tests/rcu/RCU+sync+free.litmus @@ -1,42 +1,42 @@ -C RCU+sync+free - -(* - * Result: Never - * - * This litmus test demonstrates that an RCU reader can never see a write that - * follows a grace period, if it did not see writes that precede that grace - * period. - * - * This is a typical pattern of RCU usage, where the write before the grace - * period assigns a pointer, and the writes following the grace period destroy - * the object that the pointer used to point to. - * - * This is one implication of the RCU grace-period guarantee, which says (among - * other things) that an RCU read-side critical section cannot span a grace period. - *) - -{ -int x = 1; -int *y = &x; -int z = 1; -} - -P0(int *x, int *z, int **y) -{ - int *r0; - int r1; - - rcu_read_lock(); - r0 = rcu_dereference(*y); - r1 = READ_ONCE(*r0); - rcu_read_unlock(); -} - -P1(int *x, int *z, int **y) -{ - rcu_assign_pointer(*y, z); - synchronize_rcu(); - WRITE_ONCE(*x, 0); -} - -exists (0:r0=x /\ 0:r1=0) +C RCU+sync+free + +(* + * Result: Never + * + * This litmus test demonstrates that an RCU reader can never see a write that + * follows a grace period, if it did not see writes that precede that grace + * period. + * + * This is a typical pattern of RCU usage, where the write before the grace + * period assigns a pointer, and the writes following the grace period destroy + * the object that the pointer used to point to. + * + * This is one implication of the RCU grace-period guarantee, which says (among + * other things) that an RCU read-side critical section cannot span a grace period. + *) + +{ +int x = 1; +int *y = &x; +int z = 1; +} + +P0(int *x, int *z, int **y) +{ + int *r0; + int r1; + + rcu_read_lock(); + r0 = rcu_dereference(*y); + r1 = READ_ONCE(*r0); + rcu_read_unlock(); +} + +P1(int *x, int *z, int **y) +{ + rcu_assign_pointer(*y, z); + synchronize_rcu(); + WRITE_ONCE(*x, 0); +} + +exists (0:r0=x /\ 0:r1=0) diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/litmus-tests/rcu/RCU+sync+read.litmus b/image/debian/UFI003_MB_V02/kernel/Documentation/litmus-tests/rcu/RCU+sync+read.litmus index 3876770d6f..f341767202 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/litmus-tests/rcu/RCU+sync+read.litmus +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/litmus-tests/rcu/RCU+sync+read.litmus @@ -1,37 +1,37 @@ -C RCU+sync+read - -(* - * Result: Never - * - * This litmus test demonstrates that after a grace period, an RCU updater always - * sees all stores done in prior RCU read-side critical sections. Such - * read-side critical sections would have ended before the grace period ended. - * - * This is one implication of the RCU grace-period guarantee, which says (among - * other things) that an RCU read-side critical section cannot span a grace period. - *) - -{ -int x = 0; -int y = 0; -} - -P0(int *x, int *y) -{ - rcu_read_lock(); - WRITE_ONCE(*x, 1); - WRITE_ONCE(*y, 1); - rcu_read_unlock(); -} - -P1(int *x, int *y) -{ - int r0; - int r1; - - r0 = READ_ONCE(*x); - synchronize_rcu(); - r1 = READ_ONCE(*y); -} - -exists (1:r0=1 /\ 1:r1=0) +C RCU+sync+read + +(* + * Result: Never + * + * This litmus test demonstrates that after a grace period, an RCU updater always + * sees all stores done in prior RCU read-side critical sections. Such + * read-side critical sections would have ended before the grace period ended. + * + * This is one implication of the RCU grace-period guarantee, which says (among + * other things) that an RCU read-side critical section cannot span a grace period. + *) + +{ +int x = 0; +int y = 0; +} + +P0(int *x, int *y) +{ + rcu_read_lock(); + WRITE_ONCE(*x, 1); + WRITE_ONCE(*y, 1); + rcu_read_unlock(); +} + +P1(int *x, int *y) +{ + int r0; + int r1; + + r0 = READ_ONCE(*x); + synchronize_rcu(); + r1 = READ_ONCE(*y); +} + +exists (1:r0=1 /\ 1:r1=0) diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/networking/ax25.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/networking/ax25.rst index 9be548ea16..605e72c6c8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/networking/ax25.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/networking/ax25.rst @@ -1,16 +1,16 @@ -.. SPDX-License-Identifier: GPL-2.0 - -===== -AX.25 -===== - -To use the amateur radio protocols within Linux you will need to get a -suitable copy of the AX.25 Utilities. More detailed information about -AX.25, NET/ROM and ROSE, associated programs and utilities can be -found on https://linux-ax25.in-berlin.de. - -There is a mailing list for discussing Linux amateur radio matters -called linux-hams@vger.kernel.org. To subscribe to it, send a message to -majordomo@vger.kernel.org with the words "subscribe linux-hams" in the body -of the message, the subject field is ignored. You don't need to be -subscribed to post but of course that means you might miss an answer. +.. SPDX-License-Identifier: GPL-2.0 + +===== +AX.25 +===== + +To use the amateur radio protocols within Linux you will need to get a +suitable copy of the AX.25 Utilities. More detailed information about +AX.25, NET/ROM and ROSE, associated programs and utilities can be +found on https://linux-ax25.in-berlin.de. + +There is a mailing list for discussing Linux amateur radio matters +called linux-hams@vger.kernel.org. To subscribe to it, send a message to +majordomo@vger.kernel.org with the words "subscribe linux-hams" in the body +of the message, the subject field is ignored. You don't need to be +subscribed to post but of course that means you might miss an answer. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/networking/device_drivers/ethernet/marvell/octeon_ep_vf.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/networking/device_drivers/ethernet/marvell/octeon_ep_vf.rst index 132e849c33..603133d0b9 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/networking/device_drivers/ethernet/marvell/octeon_ep_vf.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/networking/device_drivers/ethernet/marvell/octeon_ep_vf.rst @@ -1,24 +1,24 @@ -.. SPDX-License-Identifier: GPL-2.0+ - -======================================================================= -Linux kernel networking driver for Marvell's Octeon PCI Endpoint NIC VF -======================================================================= - -Network driver for Marvell's Octeon PCI EndPoint NIC VF. -Copyright (c) 2020 Marvell International Ltd. - -Overview -======== -This driver implements networking functionality of Marvell's Octeon PCI -EndPoint NIC VF. - -Supported Devices -================= -Currently, this driver support following devices: - * Network controller: Cavium, Inc. Device b203 - * Network controller: Cavium, Inc. Device b403 - * Network controller: Cavium, Inc. Device b103 - * Network controller: Cavium, Inc. Device b903 - * Network controller: Cavium, Inc. Device ba03 - * Network controller: Cavium, Inc. Device bc03 - * Network controller: Cavium, Inc. Device bd03 +.. SPDX-License-Identifier: GPL-2.0+ + +======================================================================= +Linux kernel networking driver for Marvell's Octeon PCI Endpoint NIC VF +======================================================================= + +Network driver for Marvell's Octeon PCI EndPoint NIC VF. +Copyright (c) 2020 Marvell International Ltd. + +Overview +======== +This driver implements networking functionality of Marvell's Octeon PCI +EndPoint NIC VF. + +Supported Devices +================= +Currently, this driver support following devices: + * Network controller: Cavium, Inc. Device b203 + * Network controller: Cavium, Inc. Device b403 + * Network controller: Cavium, Inc. Device b103 + * Network controller: Cavium, Inc. Device b903 + * Network controller: Cavium, Inc. Device ba03 + * Network controller: Cavium, Inc. Device bc03 + * Network controller: Cavium, Inc. Device bd03 diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/networking/devlink/hns3.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/networking/devlink/hns3.rst index a34eadc72f..72bc1b9f37 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/networking/devlink/hns3.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/networking/devlink/hns3.rst @@ -1,30 +1,30 @@ -.. SPDX-License-Identifier: GPL-2.0 - -==================== -hns3 devlink support -==================== - -This document describes the devlink features implemented by the ``hns3`` -device driver. - -The ``hns3`` driver supports reloading via ``DEVLINK_CMD_RELOAD``. - -Info versions -============= - -The ``hns3`` driver reports the following versions - -.. list-table:: devlink info versions implemented - :widths: 10 10 80 - - * - Name - - Type - - Description - * - ``fw`` - - running - - Used to represent the firmware version. - * - ``fw.scc`` - - running - - Used to represent the Soft Congestion Control (SSC) firmware version. - SCC is a firmware component which provides multiple RDMA congestion - control algorithms, including DCQCN. +.. SPDX-License-Identifier: GPL-2.0 + +==================== +hns3 devlink support +==================== + +This document describes the devlink features implemented by the ``hns3`` +device driver. + +The ``hns3`` driver supports reloading via ``DEVLINK_CMD_RELOAD``. + +Info versions +============= + +The ``hns3`` driver reports the following versions + +.. list-table:: devlink info versions implemented + :widths: 10 10 80 + + * - Name + - Type + - Description + * - ``fw`` + - running + - Used to represent the firmware version. + * - ``fw.scc`` + - running + - Used to represent the Soft Congestion Control (SSC) firmware version. + SCC is a firmware component which provides multiple RDMA congestion + control algorithms, including DCQCN. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/networking/devlink/mv88e6xxx.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/networking/devlink/mv88e6xxx.rst index 478499f737..c621212a47 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/networking/devlink/mv88e6xxx.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/networking/devlink/mv88e6xxx.rst @@ -1,28 +1,28 @@ -.. SPDX-License-Identifier: GPL-2.0 - -========================= -mv88e6xxx devlink support -========================= - -This document describes the devlink features implemented by the ``mv88e6xxx`` -device driver. - -Parameters -========== - -The ``mv88e6xxx`` driver implements the following driver-specific parameters. - -.. list-table:: Driver-specific parameters implemented - :widths: 5 5 5 85 - - * - Name - - Type - - Mode - - Description - * - ``ATU_hash`` - - u8 - - runtime - - Select one of four possible hashing algorithms for MAC addresses in - the Address Translation Unit. A value of 3 may work better than the - default of 1 when many MAC addresses have the same OUI. Only the - values 0 to 3 are valid for this parameter. +.. SPDX-License-Identifier: GPL-2.0 + +========================= +mv88e6xxx devlink support +========================= + +This document describes the devlink features implemented by the ``mv88e6xxx`` +device driver. + +Parameters +========== + +The ``mv88e6xxx`` driver implements the following driver-specific parameters. + +.. list-table:: Driver-specific parameters implemented + :widths: 5 5 5 85 + + * - Name + - Type + - Mode + - Description + * - ``ATU_hash`` + - u8 + - runtime + - Select one of four possible hashing algorithms for MAC addresses in + the Address Translation Unit. A value of 3 may work better than the + default of 1 when many MAC addresses have the same OUI. Only the + values 0 to 3 are valid for this parameter. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/networking/devlink/ti-cpsw-switch.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/networking/devlink/ti-cpsw-switch.rst index 28eb1d4a07..dc399e32ab 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/networking/devlink/ti-cpsw-switch.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/networking/devlink/ti-cpsw-switch.rst @@ -1,31 +1,31 @@ -.. SPDX-License-Identifier: GPL-2.0 - -============================== -ti-cpsw-switch devlink support -============================== - -This document describes the devlink features implemented by the ``ti-cpsw-switch`` -device driver. - -Parameters -========== - -The ``ti-cpsw-switch`` driver implements the following driver-specific -parameters. - -.. list-table:: Driver-specific parameters implemented - :widths: 5 5 5 85 - - * - Name - - Type - - Mode - - Description - * - ``ale_bypass`` - - Boolean - - runtime - - Enables ALE_CONTROL(4).BYPASS mode for debugging purposes. In this - mode, all packets will be sent to the host port only. - * - ``switch_mode`` - - Boolean - - runtime - - Enable switch mode +.. SPDX-License-Identifier: GPL-2.0 + +============================== +ti-cpsw-switch devlink support +============================== + +This document describes the devlink features implemented by the ``ti-cpsw-switch`` +device driver. + +Parameters +========== + +The ``ti-cpsw-switch`` driver implements the following driver-specific +parameters. + +.. list-table:: Driver-specific parameters implemented + :widths: 5 5 5 85 + + * - Name + - Type + - Mode + - Description + * - ``ale_bypass`` + - Boolean + - runtime + - Enables ALE_CONTROL(4).BYPASS mode for debugging purposes. In this + mode, all packets will be sent to the host port only. + * - ``switch_mode`` + - Boolean + - runtime + - Enable switch mode diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/networking/failover.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/networking/failover.rst index c8632d4334..f0c8483cdb 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/networking/failover.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/networking/failover.rst @@ -1,18 +1,18 @@ -.. SPDX-License-Identifier: GPL-2.0 - -======== -FAILOVER -======== - -Overview -======== - -The failover module provides a generic interface for paravirtual drivers -to register a netdev and a set of ops with a failover instance. The ops -are used as event handlers that get called to handle netdev register/ -unregister/link change/name change events on slave pci ethernet devices -with the same mac address as the failover netdev. - -This enables paravirtual drivers to use a VF as an accelerated low latency -datapath. It also allows live migration of VMs with direct attached VFs by -failing over to the paravirtual datapath when the VF is unplugged. +.. SPDX-License-Identifier: GPL-2.0 + +======== +FAILOVER +======== + +Overview +======== + +The failover module provides a generic interface for paravirtual drivers +to register a netdev and a set of ops with a failover instance. The ops +are used as event handlers that get called to handle netdev register/ +unregister/link change/name change events on slave pci ethernet devices +with the same mac address as the failover netdev. + +This enables paravirtual drivers to use a VF as an accelerated low latency +datapath. It also allows live migration of VMs with direct attached VFs by +failing over to the paravirtual datapath when the VF is unplugged. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/networking/secid.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/networking/secid.rst index 3ad71c5e51..b45141a980 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/networking/secid.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/networking/secid.rst @@ -1,20 +1,20 @@ -.. SPDX-License-Identifier: GPL-2.0 - -================= -LSM/SeLinux secid -================= - -flowi structure: - -The secid member in the flow structure is used in LSMs (e.g. SELinux) to indicate -the label of the flow. This label of the flow is currently used in selecting -matching labeled xfrm(s). - -If this is an outbound flow, the label is derived from the socket, if any, or -the incoming packet this flow is being generated as a response to (e.g. tcp -resets, timewait ack, etc.). It is also conceivable that the label could be -derived from other sources such as process context, device, etc., in special -cases, as may be appropriate. - -If this is an inbound flow, the label is derived from the IPSec security -associations, if any, used by the packet. +.. SPDX-License-Identifier: GPL-2.0 + +================= +LSM/SeLinux secid +================= + +flowi structure: + +The secid member in the flow structure is used in LSMs (e.g. SELinux) to indicate +the label of the flow. This label of the flow is currently used in selecting +matching labeled xfrm(s). + +If this is an outbound flow, the label is derived from the socket, if any, or +the incoming packet this flow is being generated as a response to (e.g. tcp +resets, timewait ack, etc.). It is also conceivable that the label could be +derived from other sources such as process context, device, etc., in special +cases, as may be appropriate. + +If this is an inbound flow, the label is derived from the IPSec security +associations, if any, used by the packet. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/networking/sriov.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/networking/sriov.rst index 6c6260731c..5deb4ff315 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/networking/sriov.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/networking/sriov.rst @@ -1,25 +1,25 @@ -.. SPDX-License-Identifier: GPL-2.0 - -=============== -NIC SR-IOV APIs -=============== - -Modern NICs are strongly encouraged to focus on implementing the ``switchdev`` -model (see :ref:`switchdev`) to configure forwarding and security of SR-IOV -functionality. - -Legacy API -========== - -The old SR-IOV API is implemented in ``rtnetlink`` Netlink family as part of -the ``RTM_GETLINK`` and ``RTM_SETLINK`` commands. On the driver side -it consists of a number of ``ndo_set_vf_*`` and ``ndo_get_vf_*`` callbacks. - -Since the legacy APIs do not integrate well with the rest of the stack -the API is considered frozen; no new functionality or extensions -will be accepted. New drivers should not implement the uncommon callbacks; -namely the following callbacks are off limits: - - - ``ndo_get_vf_port`` - - ``ndo_set_vf_port`` - - ``ndo_set_vf_rss_query_en`` +.. SPDX-License-Identifier: GPL-2.0 + +=============== +NIC SR-IOV APIs +=============== + +Modern NICs are strongly encouraged to focus on implementing the ``switchdev`` +model (see :ref:`switchdev`) to configure forwarding and security of SR-IOV +functionality. + +Legacy API +========== + +The old SR-IOV API is implemented in ``rtnetlink`` Netlink family as part of +the ``RTM_GETLINK`` and ``RTM_SETLINK`` commands. On the driver side +it consists of a number of ``ndo_set_vf_*`` and ``ndo_get_vf_*`` callbacks. + +Since the legacy APIs do not integrate well with the rest of the stack +the API is considered frozen; no new functionality or extensions +will be accepted. New drivers should not implement the uncommon callbacks; +namely the following callbacks are off limits: + + - ``ndo_get_vf_port`` + - ``ndo_set_vf_port`` + - ``ndo_set_vf_rss_query_en`` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/power/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/power/index.rst index 2ddeab38a5..a0f5244fb4 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/power/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/power/index.rst @@ -1,46 +1,46 @@ -.. SPDX-License-Identifier: GPL-2.0 - -================ -Power Management -================ - -.. toctree:: - :maxdepth: 1 - - apm-acpi - basic-pm-debugging - charger-manager - drivers-testing - energy-model - freezing-of-tasks - opp - pci - pm_qos_interface - power_supply_class - runtime_pm - s2ram - suspend-and-cpuhotplug - suspend-and-interrupts - swsusp-and-swap-files - swsusp-dmcrypt - swsusp - video - tricks - - userland-swsusp - - powercap/powercap - powercap/dtpm - - regulator/consumer - regulator/design - regulator/machine - regulator/overview - regulator/regulator - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +.. SPDX-License-Identifier: GPL-2.0 + +================ +Power Management +================ + +.. toctree:: + :maxdepth: 1 + + apm-acpi + basic-pm-debugging + charger-manager + drivers-testing + energy-model + freezing-of-tasks + opp + pci + pm_qos_interface + power_supply_class + runtime_pm + s2ram + suspend-and-cpuhotplug + suspend-and-interrupts + swsusp-and-swap-files + swsusp-dmcrypt + swsusp + video + tricks + + userland-swsusp + + powercap/powercap + powercap/dtpm + + regulator/consumer + regulator/design + regulator/machine + regulator/overview + regulator/regulator + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/power/regulator/regulator.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/power/regulator/regulator.rst index 9681a760e6..794b3256fb 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/power/regulator/regulator.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/power/regulator/regulator.rst @@ -1,32 +1,32 @@ -========================== -Regulator Driver Interface -========================== - -The regulator driver interface is relatively simple and designed to allow -regulator drivers to register their services with the core framework. - - -Registration -============ - -Drivers can register a regulator by calling:: - - struct regulator_dev *regulator_register(struct regulator_desc *regulator_desc, - const struct regulator_config *config); - -This will register the regulator's capabilities and operations to the regulator -core. - -Regulators can be unregistered by calling:: - - void regulator_unregister(struct regulator_dev *rdev); - - -Regulator Events -================ - -Regulators can send events (e.g. overtemperature, undervoltage, etc) to -consumer drivers by calling:: - - int regulator_notifier_call_chain(struct regulator_dev *rdev, - unsigned long event, void *data); +========================== +Regulator Driver Interface +========================== + +The regulator driver interface is relatively simple and designed to allow +regulator drivers to register their services with the core framework. + + +Registration +============ + +Drivers can register a regulator by calling:: + + struct regulator_dev *regulator_register(struct regulator_desc *regulator_desc, + const struct regulator_config *config); + +This will register the regulator's capabilities and operations to the regulator +core. + +Regulators can be unregistered by calling:: + + void regulator_unregister(struct regulator_dev *rdev); + + +Regulator Events +================ + +Regulators can send events (e.g. overtemperature, undervoltage, etc) to +consumer drivers by calling:: + + int regulator_notifier_call_chain(struct regulator_dev *rdev, + unsigned long event, void *data); diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/power/tricks.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/power/tricks.rst index ac59949113..ca787f142c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/power/tricks.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/power/tricks.rst @@ -1,29 +1,29 @@ -================ -swsusp/S3 tricks -================ - -Pavel Machek - -If you want to trick swsusp/S3 into working, you might want to try: - -* go with minimal config, turn off drivers like USB, AGP you don't - really need - -* turn off APIC and preempt - -* use ext2. At least it has working fsck. [If something seems to go - wrong, force fsck when you have a chance] - -* turn off modules - -* use vga text console, shut down X. [If you really want X, you might - want to try vesafb later] - -* try running as few processes as possible, preferably go to single - user mode. - -* due to video issues, swsusp should be easier to get working than - S3. Try that first. - -When you make it work, try to find out what exactly was it that broke -suspend, and preferably fix that. +================ +swsusp/S3 tricks +================ + +Pavel Machek + +If you want to trick swsusp/S3 into working, you might want to try: + +* go with minimal config, turn off drivers like USB, AGP you don't + really need + +* turn off APIC and preempt + +* use ext2. At least it has working fsck. [If something seems to go + wrong, force fsck when you have a chance] + +* turn off modules + +* use vga text console, shut down X. [If you really want X, you might + want to try vesafb later] + +* try running as few processes as possible, preferably go to single + user mode. + +* due to video issues, swsusp should be easier to get working than + S3. Try that first. + +When you make it work, try to find out what exactly was it that broke +suspend, and preferably fix that. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/process/development-process.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/process/development-process.rst index 67655b7e06..e34d7da58b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/process/development-process.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/process/development-process.rst @@ -1,27 +1,27 @@ -.. _development_process_main: - -A guide to the Kernel Development Process -========================================= - -The purpose of this document is to help developers (and their managers) -work with the development community with a minimum of frustration. It is -an attempt to document how this community works in a way which is -accessible to those who are not intimately familiar with Linux kernel -development (or, indeed, free software development in general). While -there is some technical material here, this is very much a process-oriented -discussion which does not require a deep knowledge of kernel programming to -understand. - -.. toctree:: - :caption: Contents - :numbered: - :maxdepth: 2 - - 1.Intro - 2.Process - 3.Early-stage - 4.Coding - 5.Posting - 6.Followthrough - 7.AdvancedTopics - 8.Conclusion +.. _development_process_main: + +A guide to the Kernel Development Process +========================================= + +The purpose of this document is to help developers (and their managers) +work with the development community with a minimum of frustration. It is +an attempt to document how this community works in a way which is +accessible to those who are not intimately familiar with Linux kernel +development (or, indeed, free software development in general). While +there is some technical material here, this is very much a process-oriented +discussion which does not require a deep knowledge of kernel programming to +understand. + +.. toctree:: + :caption: Contents + :numbered: + :maxdepth: 2 + + 1.Intro + 2.Process + 3.Early-stage + 4.Coding + 5.Posting + 6.Followthrough + 7.AdvancedTopics + 8.Conclusion diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/scsi/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/scsi/index.rst index e98d2e6487..f15a0f348a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/scsi/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/scsi/index.rst @@ -1,78 +1,78 @@ -.. SPDX-License-Identifier: GPL-2.0 - -============== -SCSI Subsystem -============== - -.. toctree:: - :maxdepth: 1 - -Introduction -============ - -.. toctree:: - :maxdepth: 1 - - scsi - -SCSI driver APIs -================ - -.. toctree:: - :maxdepth: 1 - - scsi_mid_low_api - scsi_eh - -SCSI driver parameters -====================== - -.. toctree:: - :maxdepth: 1 - - scsi-parameters - link_power_management_policy - -SCSI host adapter drivers -========================= - -.. toctree:: - :maxdepth: 1 - - 53c700 - aacraid - advansys - aha152x - aic79xx - aic7xxx - arcmsr_spec - bfa - bnx2fc - BusLogic - cxgb3i - dc395x - dpti - FlashPoint - g_NCR5380 - hpsa - hptiop - libsas - lpfc - megaraid - ncr53c8xx - NinjaSCSI - ppa - qlogicfas - scsi-changer - scsi_fc_transport - scsi-generic - sd-parameters - smartpqi - st - sym53c500_cs - sym53c8xx_2 - tcm_qla2xxx - ufs - wd719x - - scsi_transport_srp/figures +.. SPDX-License-Identifier: GPL-2.0 + +============== +SCSI Subsystem +============== + +.. toctree:: + :maxdepth: 1 + +Introduction +============ + +.. toctree:: + :maxdepth: 1 + + scsi + +SCSI driver APIs +================ + +.. toctree:: + :maxdepth: 1 + + scsi_mid_low_api + scsi_eh + +SCSI driver parameters +====================== + +.. toctree:: + :maxdepth: 1 + + scsi-parameters + link_power_management_policy + +SCSI host adapter drivers +========================= + +.. toctree:: + :maxdepth: 1 + + 53c700 + aacraid + advansys + aha152x + aic79xx + aic7xxx + arcmsr_spec + bfa + bnx2fc + BusLogic + cxgb3i + dc395x + dpti + FlashPoint + g_NCR5380 + hpsa + hptiop + libsas + lpfc + megaraid + ncr53c8xx + NinjaSCSI + ppa + qlogicfas + scsi-changer + scsi_fc_transport + scsi-generic + sd-parameters + smartpqi + st + sym53c500_cs + sym53c8xx_2 + tcm_qla2xxx + ufs + wd719x + + scsi_transport_srp/figures diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/security/lsm-development.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/security/lsm-development.rst index 0829987bfd..5895e529da 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/security/lsm-development.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/security/lsm-development.rst @@ -1,17 +1,17 @@ -================================= -Linux Security Module Development -================================= - -Based on https://lore.kernel.org/r/20071026073721.618b4778@laptopd505.fenrus.org, -a new LSM is accepted into the kernel when its intent (a description of -what it tries to protect against and in what cases one would expect to -use it) has been appropriately documented in ``Documentation/admin-guide/LSM/``. -This allows an LSM's code to be easily compared to its goals, and so -that end users and distros can make a more informed decision about which -LSMs suit their requirements. - -For extensive documentation on the available LSM hook interfaces, please -see ``security/security.c`` and associated structures: - -.. kernel-doc:: security/security.c - :export: +================================= +Linux Security Module Development +================================= + +Based on https://lore.kernel.org/r/20071026073721.618b4778@laptopd505.fenrus.org, +a new LSM is accepted into the kernel when its intent (a description of +what it tries to protect against and in what cases one would expect to +use it) has been appropriately documented in ``Documentation/admin-guide/LSM/``. +This allows an LSM's code to be easily compared to its goals, and so +that end users and distros can make a more informed decision about which +LSMs suit their requirements. + +For extensive documentation on the available LSM hook interfaces, please +see ``security/security.c`` and associated structures: + +.. kernel-doc:: security/security.c + :export: diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/security/tpm/tpm_ftpm_tee.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/security/tpm/tpm_ftpm_tee.rst index 5972882b28..8c2bae16e3 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/security/tpm/tpm_ftpm_tee.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/security/tpm/tpm_ftpm_tee.rst @@ -1,27 +1,27 @@ -============================================= -Firmware TPM Driver -============================================= - -This document describes the firmware Trusted Platform Module (fTPM) -device driver. - -Introduction -============ - -This driver is a shim for firmware implemented in ARM's TrustZone -environment. The driver allows programs to interact with the TPM in the same -way they would interact with a hardware TPM. - -Design -====== - -The driver acts as a thin layer that passes commands to and from a TPM -implemented in firmware. The driver itself doesn't contain much logic and is -used more like a dumb pipe between firmware and kernel/userspace. - -The firmware itself is based on the following paper: -https://www.microsoft.com/en-us/research/wp-content/uploads/2017/06/ftpm1.pdf - -When the driver is loaded it will expose ``/dev/tpmX`` character devices to -userspace which will enable userspace to communicate with the firmware TPM -through this device. +============================================= +Firmware TPM Driver +============================================= + +This document describes the firmware Trusted Platform Module (fTPM) +device driver. + +Introduction +============ + +This driver is a shim for firmware implemented in ARM's TrustZone +environment. The driver allows programs to interact with the TPM in the same +way they would interact with a hardware TPM. + +Design +====== + +The driver acts as a thin layer that passes commands to and from a TPM +implemented in firmware. The driver itself doesn't contain much logic and is +used more like a dumb pipe between firmware and kernel/userspace. + +The firmware itself is based on the following paper: +https://www.microsoft.com/en-us/research/wp-content/uploads/2017/06/ftpm1.pdf + +When the driver is loaded it will expose ``/dev/tpmX`` character devices to +userspace which will enable userspace to communicate with the firmware TPM +through this device. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/sphinx/parallel-wrapper.sh b/image/debian/UFI003_MB_V02/kernel/Documentation/sphinx/parallel-wrapper.sh index b103248d2d..e54c44ce11 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/sphinx/parallel-wrapper.sh +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/sphinx/parallel-wrapper.sh @@ -1,33 +1,33 @@ -#!/bin/sh -# SPDX-License-Identifier: GPL-2.0+ -# -# Figure out if we should follow a specific parallelism from the make -# environment (as exported by scripts/jobserver-exec), or fall back to -# the "auto" parallelism when "-jN" is not specified at the top-level -# "make" invocation. - -sphinx="$1" -shift || true - -parallel="$PARALLELISM" -if [ -z "$parallel" ] ; then - # If no parallelism is specified at the top-level make, then - # fall back to the expected "-jauto" mode that the "htmldocs" - # target has had. - auto=$(perl -e 'open IN,"'"$sphinx"' --version 2>&1 |"; - while () { - if (m/([\d\.]+)/) { - print "auto" if ($1 >= "1.7") - } - } - close IN') - if [ -n "$auto" ] ; then - parallel="$auto" - fi -fi -# Only if some parallelism has been determined do we add the -jN option. -if [ -n "$parallel" ] ; then - parallel="-j$parallel" -fi - -exec "$sphinx" $parallel "$@" +#!/bin/sh +# SPDX-License-Identifier: GPL-2.0+ +# +# Figure out if we should follow a specific parallelism from the make +# environment (as exported by scripts/jobserver-exec), or fall back to +# the "auto" parallelism when "-jN" is not specified at the top-level +# "make" invocation. + +sphinx="$1" +shift || true + +parallel="$PARALLELISM" +if [ -z "$parallel" ] ; then + # If no parallelism is specified at the top-level make, then + # fall back to the expected "-jauto" mode that the "htmldocs" + # target has had. + auto=$(perl -e 'open IN,"'"$sphinx"' --version 2>&1 |"; + while () { + if (m/([\d\.]+)/) { + print "auto" if ($1 >= "1.7") + } + } + close IN') + if [ -n "$auto" ] ; then + parallel="$auto" + fi +fi +# Only if some parallelism has been determined do we add the -jN option. +if [ -n "$parallel" ] ; then + parallel="-j$parallel" +fi + +exec "$sphinx" $parallel "$@" diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/sphinx/templates/kernel-toc.html b/image/debian/UFI003_MB_V02/kernel/Documentation/sphinx/templates/kernel-toc.html index 66a942574d..41f1efbe64 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/sphinx/templates/kernel-toc.html +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/sphinx/templates/kernel-toc.html @@ -1,18 +1,18 @@ - -{# Create a local TOC the kernel way #} -

-

Contents

- - - -
-{{ toctree(maxdepth=3) }} -
-{# hacky script to try to position the left column #} - + +{# Create a local TOC the kernel way #} +

+

Contents

+ + + +
+{{ toctree(maxdepth=3) }} +
+{# hacky script to try to position the left column #} + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/tools/rv/rv-list.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/tools/rv/rv-list.rst index e9e84c8f42..51e4608f9e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/tools/rv/rv-list.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/tools/rv/rv-list.rst @@ -1,43 +1,43 @@ -.. SPDX-License-Identifier: GPL-2.0 - -======= -rv-list -======= ------------------------ -List available monitors ------------------------ - -:Manual section: 1 - -SYNOPSIS -======== - -**rv list** [*OPTIONS*] - -DESCRIPTION -=========== - -The **rv list** command prints all available monitors. These monitors -can be enabled using the **rv mon** command. - -OPTIONS -======= - -**-h**, **--help** - - Print help menu. - -SEE ALSO -======== - -**rv**\(1), **rv-mon**\(1) - -Linux kernel *RV* documentation: - - -AUTHOR -====== - -Written by Daniel Bristot de Oliveira - -.. include:: common_appendix.rst +.. SPDX-License-Identifier: GPL-2.0 + +======= +rv-list +======= +----------------------- +List available monitors +----------------------- + +:Manual section: 1 + +SYNOPSIS +======== + +**rv list** [*OPTIONS*] + +DESCRIPTION +=========== + +The **rv list** command prints all available monitors. These monitors +can be enabled using the **rv mon** command. + +OPTIONS +======= + +**-h**, **--help** + + Print help menu. + +SEE ALSO +======== + +**rv**\(1), **rv-mon**\(1) + +Linux kernel *RV* documentation: + + +AUTHOR +====== + +Written by Daniel Bristot de Oliveira + +.. include:: common_appendix.rst diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/tools/rv/rv-mon-wip.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/tools/rv/rv-mon-wip.rst index daf377f836..2d42104d63 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/tools/rv/rv-mon-wip.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/tools/rv/rv-mon-wip.rst @@ -1,44 +1,44 @@ -.. SPDX-License-Identifier: GPL-2.0 - -========== -rv-mon-wip -========== ----------------------------- -Wakeup In Preemptive monitor ----------------------------- - -:Manual section: 1 - -SYNOPSIS -======== - -**rv mon wip** [*OPTIONS*] - -DESCRIPTION -=========== - -The wakeup in preemptive (**wip**) monitor is a sample per-cpu monitor that -checks if the wakeup events always take place with preemption disabled. - -See kernel documentation for further information about this monitor: - - -OPTIONS -======= - -.. include:: common_ikm.rst - -SEE ALSO -======== - -**rv**\(1), **rv-mon**\(1) - -Linux kernel *RV* documentation: - - -AUTHOR -====== - -Written by Daniel Bristot de Oliveira - -.. include:: common_appendix.rst +.. SPDX-License-Identifier: GPL-2.0 + +========== +rv-mon-wip +========== +---------------------------- +Wakeup In Preemptive monitor +---------------------------- + +:Manual section: 1 + +SYNOPSIS +======== + +**rv mon wip** [*OPTIONS*] + +DESCRIPTION +=========== + +The wakeup in preemptive (**wip**) monitor is a sample per-cpu monitor that +checks if the wakeup events always take place with preemption disabled. + +See kernel documentation for further information about this monitor: + + +OPTIONS +======= + +.. include:: common_ikm.rst + +SEE ALSO +======== + +**rv**\(1), **rv-mon**\(1) + +Linux kernel *RV* documentation: + + +AUTHOR +====== + +Written by Daniel Bristot de Oliveira + +.. include:: common_appendix.rst diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/tools/rv/rv-mon-wwnr.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/tools/rv/rv-mon-wwnr.rst index 04de48c155..a18f3fd54a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/tools/rv/rv-mon-wwnr.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/tools/rv/rv-mon-wwnr.rst @@ -1,43 +1,43 @@ -.. SPDX-License-Identifier: GPL-2.0 - -=========== -rv-mon-wwnr -=========== --------------------------------- -Wakeup While Not Running monitor --------------------------------- - -:Manual section: 1 - -SYNOPSIS -======== - -**rv mon wip** [*OPTIONS*] - -DESCRIPTION -=========== - -The wakeup while not running (**wwnr**) is a per-task sample monitor. - -See kernel documentation for further information about this monitor: - - -OPTIONS -======= - -.. include:: common_ikm.rst - -SEE ALSO -======== - -**rv**\(1), **rv-mon**\(1) - -Linux kernel *RV* documentation: - - -AUTHOR -====== - -Written by Daniel Bristot de Oliveira - -.. include:: common_appendix.rst +.. SPDX-License-Identifier: GPL-2.0 + +=========== +rv-mon-wwnr +=========== +-------------------------------- +Wakeup While Not Running monitor +-------------------------------- + +:Manual section: 1 + +SYNOPSIS +======== + +**rv mon wip** [*OPTIONS*] + +DESCRIPTION +=========== + +The wakeup while not running (**wwnr**) is a per-task sample monitor. + +See kernel documentation for further information about this monitor: + + +OPTIONS +======= + +.. include:: common_ikm.rst + +SEE ALSO +======== + +**rv**\(1), **rv-mon**\(1) + +Linux kernel *RV* documentation: + + +AUTHOR +====== + +Written by Daniel Bristot de Oliveira + +.. include:: common_appendix.rst diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/trace/events-msr.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/trace/events-msr.rst index 3726d405de..35d06dc66b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/trace/events-msr.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/trace/events-msr.rst @@ -1,40 +1,40 @@ -================ -MSR Trace Events -================ - -The x86 kernel supports tracing most MSR (Model Specific Register) accesses. -To see the definition of the MSRs on Intel systems please see the SDM -at https://www.intel.com/sdm (Volume 3) - -Available trace points: - -/sys/kernel/tracing/events/msr/ - -Trace MSR reads: - -read_msr - - - msr: MSR number - - val: Value written - - failed: 1 if the access failed, otherwise 0 - - -Trace MSR writes: - -write_msr - - - msr: MSR number - - val: Value written - - failed: 1 if the access failed, otherwise 0 - - -Trace RDPMC in kernel: - -rdpmc - -The trace data can be post processed with the postprocess/decode_msr.py script:: - - cat /sys/kernel/tracing/trace | decode_msr.py /usr/src/linux/include/asm/msr-index.h - -to add symbolic MSR names. - +================ +MSR Trace Events +================ + +The x86 kernel supports tracing most MSR (Model Specific Register) accesses. +To see the definition of the MSRs on Intel systems please see the SDM +at https://www.intel.com/sdm (Volume 3) + +Available trace points: + +/sys/kernel/tracing/events/msr/ + +Trace MSR reads: + +read_msr + + - msr: MSR number + - val: Value written + - failed: 1 if the access failed, otherwise 0 + + +Trace MSR writes: + +write_msr + + - msr: MSR number + - val: Value written + - failed: 1 if the access failed, otherwise 0 + + +Trace RDPMC in kernel: + +rdpmc + +The trace data can be post processed with the postprocess/decode_msr.py script:: + + cat /sys/kernel/tracing/trace | decode_msr.py /usr/src/linux/include/asm/msr-index.h + +to add symbolic MSR names. + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/trace/postprocess/decode_msr.py b/image/debian/UFI003_MB_V02/kernel/Documentation/trace/postprocess/decode_msr.py index aecf7ec0d3..aa9cc7abd5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/trace/postprocess/decode_msr.py +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/trace/postprocess/decode_msr.py @@ -1,37 +1,37 @@ -#!/usr/bin/env python -# add symbolic names to read_msr / write_msr in trace -# decode_msr msr-index.h < trace -import sys -import re - -msrs = dict() - -with open(sys.argv[1] if len(sys.argv) > 1 else "msr-index.h", "r") as f: - for j in f: - m = re.match(r'#define (MSR_\w+)\s+(0x[0-9a-fA-F]+)', j) - if m: - msrs[int(m.group(2), 16)] = m.group(1) - -extra_ranges = ( - ( "MSR_LASTBRANCH_%d_FROM_IP", 0x680, 0x69F ), - ( "MSR_LASTBRANCH_%d_TO_IP", 0x6C0, 0x6DF ), - ( "LBR_INFO_%d", 0xdc0, 0xddf ), -) - -for j in sys.stdin: - m = re.search(r'(read|write)_msr:\s+([0-9a-f]+)', j) - if m: - r = None - num = int(m.group(2), 16) - if num in msrs: - r = msrs[num] - else: - for er in extra_ranges: - if er[1] <= num <= er[2]: - r = er[0] % (num - er[1],) - break - if r: - j = j.replace(" " + m.group(2), " " + r + "(" + m.group(2) + ")") - print j, - - +#!/usr/bin/env python +# add symbolic names to read_msr / write_msr in trace +# decode_msr msr-index.h < trace +import sys +import re + +msrs = dict() + +with open(sys.argv[1] if len(sys.argv) > 1 else "msr-index.h", "r") as f: + for j in f: + m = re.match(r'#define (MSR_\w+)\s+(0x[0-9a-fA-F]+)', j) + if m: + msrs[int(m.group(2), 16)] = m.group(1) + +extra_ranges = ( + ( "MSR_LASTBRANCH_%d_FROM_IP", 0x680, 0x69F ), + ( "MSR_LASTBRANCH_%d_TO_IP", 0x6C0, 0x6DF ), + ( "LBR_INFO_%d", 0xdc0, 0xddf ), +) + +for j in sys.stdin: + m = re.search(r'(read|write)_msr:\s+([0-9a-f]+)', j) + if m: + r = None + num = int(m.group(2), 16) + if num in msrs: + r = msrs[num] + else: + for er in extra_ranges: + if er[1] <= num <= er[2]: + r = er[0] % (num - er[1],) + break + if r: + j = j.replace(" " + m.group(2), " " + r + "(" + m.group(2) + ")") + print j, + + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/it_IT/process/kernel-docs.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/it_IT/process/kernel-docs.rst index 02b5b1897b..eadcbf50a1 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/it_IT/process/kernel-docs.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/it_IT/process/kernel-docs.rst @@ -1,18 +1,18 @@ -.. include:: ../disclaimer-ita.rst - -:Original: :ref:`Documentation/process/kernel-docs.rst ` -:Translator: Federico Vaga - - -.. _it_kernel_docs: - -Ulteriore Documentazione Del Kernel Linux -========================================= - -.. note:: - Questo documento contiene riferimenti a documenti in lingua inglese; inoltre - utilizza dai campi *ReStructuredText* di supporto alla ricerca e che per - questo motivo è meglio non tradurre al fine di garantirne un corretto - utilizzo. - Per questi motivi il documento non verrà tradotto. Per favore fate - riferimento al documento originale in lingua inglese. +.. include:: ../disclaimer-ita.rst + +:Original: :ref:`Documentation/process/kernel-docs.rst ` +:Translator: Federico Vaga + + +.. _it_kernel_docs: + +Ulteriore Documentazione Del Kernel Linux +========================================= + +.. note:: + Questo documento contiene riferimenti a documenti in lingua inglese; inoltre + utilizza dai campi *ReStructuredText* di supporto alla ricerca e che per + questo motivo è meglio non tradurre al fine di garantirne un corretto + utilizzo. + Per questi motivi il documento non verrà tradotto. Per favore fate + riferimento al documento originale in lingua inglese. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/it_IT/process/maintainer-handbooks.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/it_IT/process/maintainer-handbooks.rst index 14448202f6..d840145bcc 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/it_IT/process/maintainer-handbooks.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/it_IT/process/maintainer-handbooks.rst @@ -1,24 +1,24 @@ -.. SPDX-License-Identifier: GPL-2.0 - -.. include:: ../disclaimer-ita.rst - -:Original: Documentation/process/maintainer-handbooks.rst -:Translator: Federico Vaga - -.. _it_maintainer_handbooks_main: - -Note sul processo di sviluppo dei sottosistemi e dei sorgenti dei manutentori -============================================================================= - -Lo scopo di questo documento è quello di fornire informazioni sul processo di -sviluppo dedicate ai sottosistemi che vanno ad integrare quelle più generali -descritte in :ref:`Documentation/translations/it_IT/process -`. - -Indice: - -.. toctree:: - :numbered: - :maxdepth: 2 - - maintainer-tip +.. SPDX-License-Identifier: GPL-2.0 + +.. include:: ../disclaimer-ita.rst + +:Original: Documentation/process/maintainer-handbooks.rst +:Translator: Federico Vaga + +.. _it_maintainer_handbooks_main: + +Note sul processo di sviluppo dei sottosistemi e dei sorgenti dei manutentori +============================================================================= + +Lo scopo di questo documento è quello di fornire informazioni sul processo di +sviluppo dedicate ai sottosistemi che vanno ad integrare quelle più generali +descritte in :ref:`Documentation/translations/it_IT/process +`. + +Indice: + +.. toctree:: + :numbered: + :maxdepth: 2 + + maintainer-tip diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/sp_SP/process/development-process.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/sp_SP/process/development-process.rst index a8e6f97a78..40d74086f2 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/sp_SP/process/development-process.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/sp_SP/process/development-process.rst @@ -1,27 +1,27 @@ -.. include:: ../disclaimer-sp.rst - -:Original: Documentation/process/development-process.rst -:Translator: Avadhut Naik - -.. _sp_development_process_main: - -Guía del proceso de desarrollo del kernel -========================================= - -El propósito de este documento es ayudar a los desarrolladores (y sus -gerentes) a trabajar con la comunidad de desarrollo con un mínimo de -frustración. Es un intento de documentar cómo funciona esta comunidad -de una manera accesible para aquellos que no están familiarizados -íntimamente con el desarrollo del kernel de Linux (o, de hecho, el -desarrollo de software libre en general). Si bien hay algo de material -técnico aquí, este es en gran medida una discusión orientada al proceso -que no requiere un conocimiento profundo de la programación del kernel -para entenderla. - -.. toctree:: - :caption: Contenido - :numbered: - :maxdepth: 2 - - 1.Intro - 2.Process +.. include:: ../disclaimer-sp.rst + +:Original: Documentation/process/development-process.rst +:Translator: Avadhut Naik + +.. _sp_development_process_main: + +Guía del proceso de desarrollo del kernel +========================================= + +El propósito de este documento es ayudar a los desarrolladores (y sus +gerentes) a trabajar con la comunidad de desarrollo con un mínimo de +frustración. Es un intento de documentar cómo funciona esta comunidad +de una manera accesible para aquellos que no están familiarizados +íntimamente con el desarrollo del kernel de Linux (o, de hecho, el +desarrollo de software libre en general). Si bien hay algo de material +técnico aquí, este es en gran medida una discusión orientada al proceso +que no requiere un conocimiento profundo de la programación del kernel +para entenderla. + +.. toctree:: + :caption: Contenido + :numbered: + :maxdepth: 2 + + 1.Intro + 2.Process diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/arch/openrisc/todo.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/arch/openrisc/todo.rst index f863d3c82a..1f6f956166 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/arch/openrisc/todo.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/arch/openrisc/todo.rst @@ -1,23 +1,23 @@ -.. include:: ../../disclaimer-zh_CN.rst - -:Original: Documentation/arch/openrisc/todo.rst - -:翻译: - - 司延腾 Yanteng Si - -.. _cn_openrisc_todo.rst: - -======== -待办事项 -======== - -OpenRISC Linux的移植已经完全投入使用,并且从 2.6.35 开始就一直在上游同步。 -然而,还有一些剩余的项目需要在未来几个月内完成。 下面是一个即将进行调查的已知 -不尽完美的项目列表,即我们的待办事项列表。 - -- 实现其余的DMA API……dma_map_sg等。 - -- 完成重命名清理工作……代码中提到了or32,这是架构的一个老名字。 我们 - 已经确定的名字是or1k,这个改变正在以缓慢积累的方式进行。 目前,or32相当 - 于or1k。 +.. include:: ../../disclaimer-zh_CN.rst + +:Original: Documentation/arch/openrisc/todo.rst + +:翻译: + + 司延腾 Yanteng Si + +.. _cn_openrisc_todo.rst: + +======== +待办事项 +======== + +OpenRISC Linux的移植已经完全投入使用,并且从 2.6.35 开始就一直在上游同步。 +然而,还有一些剩余的项目需要在未来几个月内完成。 下面是一个即将进行调查的已知 +不尽完美的项目列表,即我们的待办事项列表。 + +- 实现其余的DMA API……dma_map_sg等。 + +- 完成重命名清理工作……代码中提到了or32,这是架构的一个老名字。 我们 + 已经确定的名字是or1k,这个改变正在以缓慢积累的方式进行。 目前,or32相当 + 于or1k。 diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/dev-tools/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/dev-tools/index.rst index c8d4802a45..6a8c637c0b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/dev-tools/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/dev-tools/index.rst @@ -1,41 +1,41 @@ -.. include:: ../disclaimer-zh_CN.rst - -:Original: Documentation/dev-tools/index.rst -:Translator: 赵军奎 Bernard Zhao - -============ -内核开发工具 -============ - -本文档是有关内核开发工具文档的合集。 -目前这些文档已经整理在一起,不需要再花费额外的精力。 -欢迎任何补丁。 - -有关测试专用工具的简要概述,参见 -Documentation/translations/zh_CN/dev-tools/testing-overview.rst - -.. toctree:: - :caption: 目录 - :maxdepth: 2 - - testing-overview - sparse - kcov - kcsan - gcov - kasan - ubsan - kmemleak - gdb-kernel-debugging - -Todolist: - - - checkpatch - - coccinelle - - kmsan - - kfence - - kgdb - - kselftest - - kunit/index - - ktap - - checkuapi +.. include:: ../disclaimer-zh_CN.rst + +:Original: Documentation/dev-tools/index.rst +:Translator: 赵军奎 Bernard Zhao + +============ +内核开发工具 +============ + +本文档是有关内核开发工具文档的合集。 +目前这些文档已经整理在一起,不需要再花费额外的精力。 +欢迎任何补丁。 + +有关测试专用工具的简要概述,参见 +Documentation/translations/zh_CN/dev-tools/testing-overview.rst + +.. toctree:: + :caption: 目录 + :maxdepth: 2 + + testing-overview + sparse + kcov + kcsan + gcov + kasan + ubsan + kmemleak + gdb-kernel-debugging + +Todolist: + + - checkpatch + - coccinelle + - kmsan + - kfence + - kgdb + - kselftest + - kunit/index + - ktap + - checkuapi diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/devicetree/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/devicetree/index.rst index 6577b0457c..7451dbfdd3 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/devicetree/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/devicetree/index.rst @@ -1,45 +1,45 @@ -.. SPDX-License-Identifier: GPL-2.0 -.. include:: ../disclaimer-zh_CN.rst - -:Original: Documentation/devicetree/index.rst - -:翻译: - - 司延腾 Yanteng Si - -:校译: - - -============================= -Open Firmware 和 Devicetree -============================= - -该文档是整个设备树文档的总目录,标题中多是业内默认的术语,初见就翻译成中文, -晦涩难懂,因此尽量保留,后面翻译其子文档时,可能会根据语境,灵活地翻译为中文。 - -内核Devicetree的使用 -======================= -.. 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 - -Todolist: - -* bindings/index +.. SPDX-License-Identifier: GPL-2.0 +.. include:: ../disclaimer-zh_CN.rst + +:Original: Documentation/devicetree/index.rst + +:翻译: + + 司延腾 Yanteng Si + +:校译: + + +============================= +Open Firmware 和 Devicetree +============================= + +该文档是整个设备树文档的总目录,标题中多是业内默认的术语,初见就翻译成中文, +晦涩难懂,因此尽量保留,后面翻译其子文档时,可能会根据语境,灵活地翻译为中文。 + +内核Devicetree的使用 +======================= +.. 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 + +Todolist: + +* bindings/index diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/devicetree/kernel-api.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/devicetree/kernel-api.rst index e4fd1dda06..2fb729368b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/devicetree/kernel-api.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/devicetree/kernel-api.rst @@ -1,58 +1,58 @@ -.. SPDX-License-Identifier: GPL-2.0 -.. include:: ../disclaimer-zh_CN.rst - -:Original: Documentation/devicetree/kernel-api.rst - -:翻译: - - 司延腾 Yanteng Si - -:校译: - - -================= -内核中的设备树API -================= - -核心函数 --------- - -该API在以下内核代码中: - -drivers/of/base.c - -include/linux/of.h - -drivers/of/property.c - -include/linux/of_graph.h - -drivers/of/address.c - -drivers/of/irq.c - -drivers/of/fdt.c - -驱动模型函数 ------------- - -该API在以下内核代码中: - -include/linux/of_device.h - -drivers/of/device.c - -include/linux/of_platform.h - -drivers/of/platform.c - -覆盖和动态DT函数 ----------------- - -该API在以下内核代码中: - -drivers/of/resolver.c - -drivers/of/dynamic.c - -drivers/of/overlay.c +.. SPDX-License-Identifier: GPL-2.0 +.. include:: ../disclaimer-zh_CN.rst + +:Original: Documentation/devicetree/kernel-api.rst + +:翻译: + + 司延腾 Yanteng Si + +:校译: + + +================= +内核中的设备树API +================= + +核心函数 +-------- + +该API在以下内核代码中: + +drivers/of/base.c + +include/linux/of.h + +drivers/of/property.c + +include/linux/of_graph.h + +drivers/of/address.c + +drivers/of/irq.c + +drivers/of/fdt.c + +驱动模型函数 +------------ + +该API在以下内核代码中: + +include/linux/of_device.h + +drivers/of/device.c + +include/linux/of_platform.h + +drivers/of/platform.c + +覆盖和动态DT函数 +---------------- + +该API在以下内核代码中: + +drivers/of/resolver.c + +drivers/of/dynamic.c + +drivers/of/overlay.c diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/driver-api/gpio/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/driver-api/gpio/index.rst index 8d1d22ff0e..e4d54724a1 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/driver-api/gpio/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/driver-api/gpio/index.rst @@ -1,66 +1,66 @@ -.. SPDX-License-Identifier: GPL-2.0 - -.. include:: ../../disclaimer-zh_CN.rst - -:Original: Documentation/driver-api/gpio/index.rst - -:翻译: - - 司延腾 Yanteng Si - -:校译: - -======================= -通用型输入/输出(GPIO) -======================= - -.. toctree:: - :caption: 目录 - :maxdepth: 2 - -Todolist: - -* intro -* using-gpio -* driver -* consumer -* board -* drivers-on-gpio -* bt8xxgpio - -核心 -==== - -该API在以下内核代码中: - -include/linux/gpio/driver.h - -drivers/gpio/gpiolib.c - -ACPI支持 -======== - -该API在以下内核代码中: - -drivers/gpio/gpiolib-acpi.c - -设备树支持 -========== - -该API在以下内核代码中: - -drivers/gpio/gpiolib-of.c - -设备管理支持 -============ - -该API在以下内核代码中: - -drivers/gpio/gpiolib-devres.c - -sysfs帮助(函数) -================= - -该API在以下内核代码中: - -drivers/gpio/gpiolib-sysfs.c +.. SPDX-License-Identifier: GPL-2.0 + +.. include:: ../../disclaimer-zh_CN.rst + +:Original: Documentation/driver-api/gpio/index.rst + +:翻译: + + 司延腾 Yanteng Si + +:校译: + +======================= +通用型输入/输出(GPIO) +======================= + +.. toctree:: + :caption: 目录 + :maxdepth: 2 + +Todolist: + +* intro +* using-gpio +* driver +* consumer +* board +* drivers-on-gpio +* bt8xxgpio + +核心 +==== + +该API在以下内核代码中: + +include/linux/gpio/driver.h + +drivers/gpio/gpiolib.c + +ACPI支持 +======== + +该API在以下内核代码中: + +drivers/gpio/gpiolib-acpi.c + +设备树支持 +========== + +该API在以下内核代码中: + +drivers/gpio/gpiolib-of.c + +设备管理支持 +============ + +该API在以下内核代码中: + +drivers/gpio/gpiolib-devres.c + +sysfs帮助(函数) +================= + +该API在以下内核代码中: + +drivers/gpio/gpiolib-sysfs.c diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/filesystems/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/filesystems/index.rst index 55eadc6a30..9f2a8b0037 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/filesystems/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/filesystems/index.rst @@ -1,29 +1,29 @@ -.. SPDX-License-Identifier: GPL-2.0 - -.. include:: ../disclaimer-zh_CN.rst - -:Original: :ref:`Documentation/filesystems/index.rst ` -:Translator: Wang Wenhu - -.. _cn_filesystems_index: - -======================== -Linux Kernel中的文件系统 -======================== - -这份正在开发的手册或许在未来某个辉煌的日子里以易懂的形式将Linux虚拟\ -文件系统(VFS)层以及基于其上的各种文件系统如何工作呈现给大家。当前\ -可以看到下面的内容。 - -文件系统 -======== - -文件系统实现文档。 - -.. toctree:: - :maxdepth: 2 - - virtiofs - debugfs - tmpfs - +.. SPDX-License-Identifier: GPL-2.0 + +.. include:: ../disclaimer-zh_CN.rst + +:Original: :ref:`Documentation/filesystems/index.rst ` +:Translator: Wang Wenhu + +.. _cn_filesystems_index: + +======================== +Linux Kernel中的文件系统 +======================== + +这份正在开发的手册或许在未来某个辉煌的日子里以易懂的形式将Linux虚拟\ +文件系统(VFS)层以及基于其上的各种文件系统如何工作呈现给大家。当前\ +可以看到下面的内容。 + +文件系统 +======== + +文件系统实现文档。 + +.. toctree:: + :maxdepth: 2 + + virtiofs + debugfs + tmpfs + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/locking/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/locking/index.rst index 2b5abec4a9..f0b1070766 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/locking/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/locking/index.rst @@ -1,43 +1,43 @@ -.. SPDX-License-Identifier: GPL-2.0 -.. include:: ../disclaimer-zh_CN.rst - -:Original: Documentation/locking/index.rst - -:翻译: - - 唐艺舟 Tang Yizhou - -== -锁 -== - -.. toctree:: - :maxdepth: 1 - - mutex-design - spinlocks - -TODOList: - - * locktypes - * lockdep-design - * lockstat - * locktorture - * rt-mutex-design - * rt-mutex - * seqlock - * 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 +.. include:: ../disclaimer-zh_CN.rst + +:Original: Documentation/locking/index.rst + +:翻译: + + 唐艺舟 Tang Yizhou + +== +锁 +== + +.. toctree:: + :maxdepth: 1 + + mutex-design + spinlocks + +TODOList: + + * locktypes + * lockdep-design + * lockstat + * locktorture + * rt-mutex-design + * rt-mutex + * seqlock + * 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/translations/zh_CN/power/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/power/index.rst index a55ec25559..bc54983ba5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/power/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/power/index.rst @@ -1,56 +1,56 @@ -.. SPDX-License-Identifier: GPL-2.0 -.. include:: ../disclaimer-zh_CN.rst - -:Original: Documentation/power/index.rst - -:翻译: - - 唐艺舟 Tang Yizhou - -======== -电源管理 -======== - -.. toctree:: - :maxdepth: 1 - - energy-model - opp - -TODOList: - - * apm-acpi - * basic-pm-debugging - * charger-manager - * drivers-testing - * freezing-of-tasks - * pci - * pm_qos_interface - * power_supply_class - * runtime_pm - * s2ram - * suspend-and-cpuhotplug - * suspend-and-interrupts - * swsusp-and-swap-files - * swsusp-dmcrypt - * swsusp - * video - * tricks - - * userland-swsusp - - * powercap/powercap - * powercap/dtpm - - * regulator/consumer - * regulator/design - * regulator/machine - * regulator/overview - * regulator/regulator - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +.. SPDX-License-Identifier: GPL-2.0 +.. include:: ../disclaimer-zh_CN.rst + +:Original: Documentation/power/index.rst + +:翻译: + + 唐艺舟 Tang Yizhou + +======== +电源管理 +======== + +.. toctree:: + :maxdepth: 1 + + energy-model + opp + +TODOList: + + * apm-acpi + * basic-pm-debugging + * charger-manager + * drivers-testing + * freezing-of-tasks + * pci + * pm_qos_interface + * power_supply_class + * runtime_pm + * s2ram + * suspend-and-cpuhotplug + * suspend-and-interrupts + * swsusp-and-swap-files + * swsusp-dmcrypt + * swsusp + * video + * tricks + + * userland-swsusp + + * powercap/powercap + * powercap/dtpm + + * regulator/consumer + * regulator/design + * regulator/machine + * regulator/overview + * regulator/regulator + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/process/development-process.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/process/development-process.rst index 31777649ad..c10d8e2e21 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/process/development-process.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/process/development-process.rst @@ -1,25 +1,25 @@ -.. include:: ../disclaimer-zh_CN.rst - -:Original: :ref:`Documentation/process/development-process.rst ` -:Translator: Alex Shi - -.. _cn_development_process_main: - -内核开发过程指南 -================ - -本文档的目的是帮助开发人员(及其经理)以最小的挫折感与开发社区合作。它试图记录这个社区如何以一种不熟悉Linux内核开发(或者实际上是自由软件开发)的人可以访问的方式工作。虽然这里有一些技术资料,但这是一个面向过程的讨论,不需要深入了解内核编程就可以理解。 - -.. toctree:: - :caption: 内容 - :numbered: - :maxdepth: 2 - - 1.Intro - 2.Process - 3.Early-stage - 4.Coding - 5.Posting - 6.Followthrough - 7.AdvancedTopics - 8.Conclusion +.. include:: ../disclaimer-zh_CN.rst + +:Original: :ref:`Documentation/process/development-process.rst ` +:Translator: Alex Shi + +.. _cn_development_process_main: + +内核开发过程指南 +================ + +本文档的目的是帮助开发人员(及其经理)以最小的挫折感与开发社区合作。它试图记录这个社区如何以一种不熟悉Linux内核开发(或者实际上是自由软件开发)的人可以访问的方式工作。虽然这里有一些技术资料,但这是一个面向过程的讨论,不需要深入了解内核编程就可以理解。 + +.. toctree:: + :caption: 内容 + :numbered: + :maxdepth: 2 + + 1.Intro + 2.Process + 3.Early-stage + 4.Coding + 5.Posting + 6.Followthrough + 7.AdvancedTopics + 8.Conclusion diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/userspace-api/ebpf/syscall.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/userspace-api/ebpf/syscall.rst index e4613a7717..47e2a59ae4 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/userspace-api/ebpf/syscall.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/userspace-api/ebpf/syscall.rst @@ -1,29 +1,29 @@ -.. SPDX-License-Identifier: GPL-2.0 -.. include:: ../../disclaimer-zh_CN.rst - -:Original: Documentation/userspace-api/ebpf/syscall.rst - -:翻译: - - 李睿 Rui Li - -eBPF Syscall ------------- - -:作者: - - Alexei Starovoitov - - Joe Stringer - - Michael Kerrisk - -bpf syscall的主要信息可以在 `man-pages`_ 中的 `bpf(2)`_ 找到。 - -bpf() 子命令参考 -~~~~~~~~~~~~~~~~ - -子命令在以下内核代码中: - -include/uapi/linux/bpf.h - -.. Links: -.. _man-pages: https://www.kernel.org/doc/man-pages/ -.. _bpf(2): https://man7.org/linux/man-pages/man2/bpf.2.html +.. SPDX-License-Identifier: GPL-2.0 +.. include:: ../../disclaimer-zh_CN.rst + +:Original: Documentation/userspace-api/ebpf/syscall.rst + +:翻译: + + 李睿 Rui Li + +eBPF Syscall +------------ + +:作者: + - Alexei Starovoitov + - Joe Stringer + - Michael Kerrisk + +bpf syscall的主要信息可以在 `man-pages`_ 中的 `bpf(2)`_ 找到。 + +bpf() 子命令参考 +~~~~~~~~~~~~~~~~ + +子命令在以下内核代码中: + +include/uapi/linux/bpf.h + +.. Links: +.. _man-pages: https://www.kernel.org/doc/man-pages/ +.. _bpf(2): https://man7.org/linux/man-pages/man2/bpf.2.html diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/userspace-api/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/userspace-api/index.rst index 90d12f5ad1..5b14721c82 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/userspace-api/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/userspace-api/index.rst @@ -1,47 +1,47 @@ -.. SPDX-License-Identifier: GPL-2.0 -.. include:: ../disclaimer-zh_CN.rst - -:Original: Documentation/userspace-api/index.rst - -:翻译: - - 李睿 Rui Li - -========================= -Linux 内核用户空间API指南 -========================= - -.. _man-pages: https://www.kernel.org/doc/man-pages/ - -尽管许多用户空间API的文档被记录在别处(特别是在 man-pages_ 项目中), -在代码树中仍然可以找到有关用户空间的部分信息。这个手册意在成为这些信息 -聚集的地方。 - -.. toctree:: - :caption: 目录 - :maxdepth: 2 - - no_new_privs - seccomp_filter - accelerators/ocxl - ebpf/index - sysfs-platform_profile - futex2 - -TODOList: - -* landlock -* unshare -* spec_ctrl -* ioctl/index -* iommu -* media/index -* netlink/index -* vduse - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +.. SPDX-License-Identifier: GPL-2.0 +.. include:: ../disclaimer-zh_CN.rst + +:Original: Documentation/userspace-api/index.rst + +:翻译: + + 李睿 Rui Li + +========================= +Linux 内核用户空间API指南 +========================= + +.. _man-pages: https://www.kernel.org/doc/man-pages/ + +尽管许多用户空间API的文档被记录在别处(特别是在 man-pages_ 项目中), +在代码树中仍然可以找到有关用户空间的部分信息。这个手册意在成为这些信息 +聚集的地方。 + +.. toctree:: + :caption: 目录 + :maxdepth: 2 + + no_new_privs + seccomp_filter + accelerators/ocxl + ebpf/index + sysfs-platform_profile + futex2 + +TODOList: + +* landlock +* unshare +* spec_ctrl +* ioctl/index +* iommu +* media/index +* netlink/index +* vduse + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_TW/arch/openrisc/todo.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_TW/arch/openrisc/todo.rst index 5851512921..df261b9e30 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_TW/arch/openrisc/todo.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_TW/arch/openrisc/todo.rst @@ -1,24 +1,24 @@ -.. include:: ../../disclaimer-zh_TW.rst - -:Original: Documentation/arch/openrisc/todo.rst - -:翻譯: - - 司延騰 Yanteng Si - -.. _tw_openrisc_todo.rst: - -======== -待辦事項 -======== - -OpenRISC Linux的移植已經完全投入使用,並且從 2.6.35 開始就一直在上游同步。 -然而,還有一些剩餘的項目需要在未來幾個月內完成。 下面是一個即將進行調查的已知 -不盡完美的項目列表,即我們的待辦事項列表。 - -- 實現其餘的DMA API……dma_map_sg等。 - -- 完成重命名清理工作……代碼中提到了or32,這是架構的一個老名字。 我們 - 已經確定的名字是or1k,這個改變正在以緩慢積累的方式進行。 目前,or32相當 - 於or1k。 - +.. include:: ../../disclaimer-zh_TW.rst + +:Original: Documentation/arch/openrisc/todo.rst + +:翻譯: + + 司延騰 Yanteng Si + +.. _tw_openrisc_todo.rst: + +======== +待辦事項 +======== + +OpenRISC Linux的移植已經完全投入使用,並且從 2.6.35 開始就一直在上游同步。 +然而,還有一些剩餘的項目需要在未來幾個月內完成。 下面是一個即將進行調查的已知 +不盡完美的項目列表,即我們的待辦事項列表。 + +- 實現其餘的DMA API……dma_map_sg等。 + +- 完成重命名清理工作……代碼中提到了or32,這是架構的一個老名字。 我們 + 已經確定的名字是or1k,這個改變正在以緩慢積累的方式進行。 目前,or32相當 + 於or1k。 + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_TW/dev-tools/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_TW/dev-tools/index.rst index cc243b325e..0d38e5f80e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_TW/dev-tools/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_TW/dev-tools/index.rst @@ -1,43 +1,43 @@ -.. SPDX-License-Identifier: GPL-2.0 - -.. include:: ../disclaimer-zh_TW.rst - -:Original: Documentation/dev-tools/index.rst -:Translator: 趙軍奎 Bernard Zhao - -============ -內核開發工具 -============ - -本文檔是有關內核開發工具文檔的合集。 -目前這些文檔已經整理在一起,不需要再花費額外的精力。 -歡迎任何補丁。 - -有關測試專用工具的簡要概述,參見 -Documentation/translations/zh_TW/dev-tools/testing-overview.rst - -.. class:: toc-title - - 目錄 - -.. toctree:: - :maxdepth: 2 - - testing-overview - sparse - gcov - kasan - gdb-kernel-debugging - -Todolist: - - - coccinelle - - kcov - - ubsan - - kmemleak - - kcsan - - kfence - - kgdb - - kselftest - - kunit/index - +.. SPDX-License-Identifier: GPL-2.0 + +.. include:: ../disclaimer-zh_TW.rst + +:Original: Documentation/dev-tools/index.rst +:Translator: 趙軍奎 Bernard Zhao + +============ +內核開發工具 +============ + +本文檔是有關內核開發工具文檔的合集。 +目前這些文檔已經整理在一起,不需要再花費額外的精力。 +歡迎任何補丁。 + +有關測試專用工具的簡要概述,參見 +Documentation/translations/zh_TW/dev-tools/testing-overview.rst + +.. class:: toc-title + + 目錄 + +.. toctree:: + :maxdepth: 2 + + testing-overview + sparse + gcov + kasan + gdb-kernel-debugging + +Todolist: + + - coccinelle + - kcov + - ubsan + - kmemleak + - kcsan + - kfence + - kgdb + - kselftest + - kunit/index + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_TW/filesystems/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_TW/filesystems/index.rst index d09b608928..88f0e632bf 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_TW/filesystems/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_TW/filesystems/index.rst @@ -1,31 +1,31 @@ -.. SPDX-License-Identifier: GPL-2.0 - -.. include:: ../disclaimer-zh_TW.rst - -:Original: :ref:`Documentation/filesystems/index.rst ` -:Translator: Wang Wenhu - Hu Haowen <2023002089@link.tyut.edu.cn> - -.. _tw_filesystems_index: - -======================== -Linux Kernel中的文件系統 -======================== - -這份正在開發的手冊或許在未來某個輝煌的日子裏以易懂的形式將Linux虛擬\ -文件系統(VFS)層以及基於其上的各種文件系統如何工作呈現給大家。當前\ -可以看到下面的內容。 - -文件系統 -======== - -文件系統實現文檔。 - -.. toctree:: - :maxdepth: 2 - - virtiofs - debugfs - tmpfs - - +.. SPDX-License-Identifier: GPL-2.0 + +.. include:: ../disclaimer-zh_TW.rst + +:Original: :ref:`Documentation/filesystems/index.rst ` +:Translator: Wang Wenhu + Hu Haowen <2023002089@link.tyut.edu.cn> + +.. _tw_filesystems_index: + +======================== +Linux Kernel中的文件系統 +======================== + +這份正在開發的手冊或許在未來某個輝煌的日子裏以易懂的形式將Linux虛擬\ +文件系統(VFS)層以及基於其上的各種文件系統如何工作呈現給大家。當前\ +可以看到下面的內容。 + +文件系統 +======== + +文件系統實現文檔。 + +.. toctree:: + :maxdepth: 2 + + virtiofs + debugfs + tmpfs + + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/ELF.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/ELF.rst index 4ba7224275..ac8aeacd45 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/ELF.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/ELF.rst @@ -1,34 +1,34 @@ -.. SPDX-License-Identifier: GPL-2.0 - -================================= -Linux-specific ELF idiosyncrasies -================================= - -Definitions -=========== - -"First" program header is the one with the smallest offset in the file: -e_phoff. - -"Last" program header is the one with the biggest offset in the file: -e_phoff + (e_phnum - 1) * sizeof(Elf_Phdr). - -PT_INTERP -========= - -First PT_INTERP program header is used to locate the filename of ELF -interpreter. Other PT_INTERP headers are ignored (since Linux 2.4.11). - -PT_GNU_STACK -============ - -Last PT_GNU_STACK program header defines userspace stack executability -(since Linux 2.6.6). Other PT_GNU_STACK headers are ignored. - -PT_GNU_PROPERTY -=============== - -ELF interpreter's last PT_GNU_PROPERTY program header is used (since -Linux 5.8). If interpreter doesn't have one, then the last PT_GNU_PROPERTY -program header of an executable is used. Other PT_GNU_PROPERTY headers -are ignored. +.. SPDX-License-Identifier: GPL-2.0 + +================================= +Linux-specific ELF idiosyncrasies +================================= + +Definitions +=========== + +"First" program header is the one with the smallest offset in the file: +e_phoff. + +"Last" program header is the one with the biggest offset in the file: +e_phoff + (e_phnum - 1) * sizeof(Elf_Phdr). + +PT_INTERP +========= + +First PT_INTERP program header is used to locate the filename of ELF +interpreter. Other PT_INTERP headers are ignored (since Linux 2.4.11). + +PT_GNU_STACK +============ + +Last PT_GNU_STACK program header defines userspace stack executability +(since Linux 2.6.6). Other PT_GNU_STACK headers are ignored. + +PT_GNU_PROPERTY +=============== + +ELF interpreter's last PT_GNU_PROPERTY program header is used (since +Linux 5.8). If interpreter doesn't have one, then the last PT_GNU_PROPERTY +program header of an executable is used. Other PT_GNU_PROPERTY headers +are ignored. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/ebpf/syscall.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/ebpf/syscall.rst index 4443245cb5..ea99180842 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/ebpf/syscall.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/ebpf/syscall.rst @@ -1,24 +1,24 @@ -.. SPDX-License-Identifier: GPL-2.0 - -eBPF Syscall ------------- - -:Authors: - Alexei Starovoitov - - Joe Stringer - - Michael Kerrisk - -The primary info for the bpf syscall is available in the `man-pages`_ -for `bpf(2)`_. - -bpf() subcommand reference -~~~~~~~~~~~~~~~~~~~~~~~~~~ - -.. kernel-doc:: include/uapi/linux/bpf.h - :doc: eBPF Syscall Preamble - -.. kernel-doc:: include/uapi/linux/bpf.h - :doc: eBPF Syscall Commands - -.. Links: -.. _man-pages: https://www.kernel.org/doc/man-pages/ -.. _bpf(2): https://man7.org/linux/man-pages/man2/bpf.2.html +.. SPDX-License-Identifier: GPL-2.0 + +eBPF Syscall +------------ + +:Authors: - Alexei Starovoitov + - Joe Stringer + - Michael Kerrisk + +The primary info for the bpf syscall is available in the `man-pages`_ +for `bpf(2)`_. + +bpf() subcommand reference +~~~~~~~~~~~~~~~~~~~~~~~~~~ + +.. kernel-doc:: include/uapi/linux/bpf.h + :doc: eBPF Syscall Preamble + +.. kernel-doc:: include/uapi/linux/bpf.h + :doc: eBPF Syscall Commands + +.. Links: +.. _man-pages: https://www.kernel.org/doc/man-pages/ +.. _bpf(2): https://man7.org/linux/man-pages/man2/bpf.2.html diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/gpio/gpio-get-chipinfo-ioctl.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/gpio/gpio-get-chipinfo-ioctl.rst index 2d792845e9..05f07fdefe 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/gpio/gpio-get-chipinfo-ioctl.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/gpio/gpio-get-chipinfo-ioctl.rst @@ -1,41 +1,41 @@ -.. SPDX-License-Identifier: GPL-2.0 - -.. _GPIO_GET_CHIPINFO_IOCTL: - -*********************** -GPIO_GET_CHIPINFO_IOCTL -*********************** - -Name -==== - -GPIO_GET_CHIPINFO_IOCTL - Get the publicly available information for a chip. - -Synopsis -======== - -.. c:macro:: GPIO_GET_CHIPINFO_IOCTL - -``int ioctl(int chip_fd, GPIO_GET_CHIPINFO_IOCTL, struct gpiochip_info *info)`` - -Arguments -========= - -``chip_fd`` - The file descriptor of the GPIO character device returned by `open()`. - -``info`` - The :c:type:`chip_info` to be populated. - -Description -=========== - -Gets the publicly available information for a particular GPIO chip. - -Return Value -============ - -On success 0 and ``info`` is populated with the chip info. - -On error -1 and the ``errno`` variable is set appropriately. -Common error codes are described in error-codes.rst. +.. SPDX-License-Identifier: GPL-2.0 + +.. _GPIO_GET_CHIPINFO_IOCTL: + +*********************** +GPIO_GET_CHIPINFO_IOCTL +*********************** + +Name +==== + +GPIO_GET_CHIPINFO_IOCTL - Get the publicly available information for a chip. + +Synopsis +======== + +.. c:macro:: GPIO_GET_CHIPINFO_IOCTL + +``int ioctl(int chip_fd, GPIO_GET_CHIPINFO_IOCTL, struct gpiochip_info *info)`` + +Arguments +========= + +``chip_fd`` + The file descriptor of the GPIO character device returned by `open()`. + +``info`` + The :c:type:`chip_info` to be populated. + +Description +=========== + +Gets the publicly available information for a particular GPIO chip. + +Return Value +============ + +On success 0 and ``info`` is populated with the chip info. + +On error -1 and the ``errno`` variable is set appropriately. +Common error codes are described in error-codes.rst. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/ioctl/ioctl-decoding.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/ioctl/ioctl-decoding.rst index 02c257dc8c..380d6bb3e3 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/ioctl/ioctl-decoding.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/ioctl/ioctl-decoding.rst @@ -1,31 +1,31 @@ -============================== -Decoding an IOCTL Magic Number -============================== - -To decode a hex IOCTL code: - -Most architectures use this generic format, but check -include/ARCH/ioctl.h for specifics, e.g. powerpc -uses 3 bits to encode read/write and 13 bits for size. - - ====== ================================== - bits meaning - ====== ================================== - 31-30 00 - no parameters: uses _IO macro - 10 - read: _IOR - 01 - write: _IOW - 11 - read/write: _IOWR - - 29-16 size of arguments - - 15-8 ascii character supposedly - unique to each driver - - 7-0 function # - ====== ================================== - - -So for example 0x82187201 is a read with arg length of 0x218, -character 'r' function 1. Grepping the source reveals this is:: - - #define VFAT_IOCTL_READDIR_BOTH _IOR('r', 1, struct dirent [2]) +============================== +Decoding an IOCTL Magic Number +============================== + +To decode a hex IOCTL code: + +Most architectures use this generic format, but check +include/ARCH/ioctl.h for specifics, e.g. powerpc +uses 3 bits to encode read/write and 13 bits for size. + + ====== ================================== + bits meaning + ====== ================================== + 31-30 00 - no parameters: uses _IO macro + 10 - read: _IOR + 01 - write: _IOW + 11 - read/write: _IOWR + + 29-16 size of arguments + + 15-8 ascii character supposedly + unique to each driver + + 7-0 function # + ====== ================================== + + +So for example 0x82187201 is a read with arg length of 0x218, +character 'r' function 1. Grepping the source reveals this is:: + + #define VFAT_IOCTL_READDIR_BOTH _IOR('r', 1, struct dirent [2]) diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/ca.h.rst.exceptions b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/ca.h.rst.exceptions index 98ab0e3e91..f6828238eb 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/ca.h.rst.exceptions +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/ca.h.rst.exceptions @@ -1,25 +1,25 @@ -# SPDX-License-Identifier: GPL-2.0 - -# Ignore header name -ignore define _DVBCA_H_ - -# struct ca_slot_info defines -replace define CA_CI :c:type:`ca_slot_info` -replace define CA_CI_LINK :c:type:`ca_slot_info` -replace define CA_CI_PHYS :c:type:`ca_slot_info` -replace define CA_DESCR :c:type:`ca_slot_info` -replace define CA_SC :c:type:`ca_slot_info` -replace define CA_CI_MODULE_PRESENT :c:type:`ca_slot_info` -replace define CA_CI_MODULE_READY :c:type:`ca_slot_info` - -# struct ca_descr_info defines -replace define CA_ECD :c:type:`ca_descr_info` -replace define CA_NDS :c:type:`ca_descr_info` -replace define CA_DSS :c:type:`ca_descr_info` - -# some typedefs should point to struct/enums -replace typedef ca_slot_info_t :c:type:`ca_slot_info` -replace typedef ca_descr_info_t :c:type:`ca_descr_info` -replace typedef ca_caps_t :c:type:`ca_caps` -replace typedef ca_msg_t :c:type:`ca_msg` -replace typedef ca_descr_t :c:type:`ca_descr` +# SPDX-License-Identifier: GPL-2.0 + +# Ignore header name +ignore define _DVBCA_H_ + +# struct ca_slot_info defines +replace define CA_CI :c:type:`ca_slot_info` +replace define CA_CI_LINK :c:type:`ca_slot_info` +replace define CA_CI_PHYS :c:type:`ca_slot_info` +replace define CA_DESCR :c:type:`ca_slot_info` +replace define CA_SC :c:type:`ca_slot_info` +replace define CA_CI_MODULE_PRESENT :c:type:`ca_slot_info` +replace define CA_CI_MODULE_READY :c:type:`ca_slot_info` + +# struct ca_descr_info defines +replace define CA_ECD :c:type:`ca_descr_info` +replace define CA_NDS :c:type:`ca_descr_info` +replace define CA_DSS :c:type:`ca_descr_info` + +# some typedefs should point to struct/enums +replace typedef ca_slot_info_t :c:type:`ca_slot_info` +replace typedef ca_descr_info_t :c:type:`ca_descr_info` +replace typedef ca_caps_t :c:type:`ca_caps` +replace typedef ca_msg_t :c:type:`ca_msg` +replace typedef ca_descr_t :c:type:`ca_descr` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/cec/cec-api.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/cec/cec-api.rst index 1c72ef547d..578303d484 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/cec/cec-api.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/cec/cec-api.rst @@ -1,41 +1,41 @@ -.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later -.. include:: - -.. _cec: - -######################################### -Part V - Consumer Electronics Control API -######################################### - -This part describes the CEC: Consumer Electronics Control - - -.. toctree:: - :caption: Table of Contents - :maxdepth: 5 - :numbered: - - cec-intro - cec-funcs - cec-pin-error-inj - cec-header - - -********************** -Revision and Copyright -********************** -Authors: - -- Verkuil, Hans - - - Initial version. - -**Copyright** |copy| 2016 : Hans Verkuil - -**************** -Revision History -**************** - -:revision: 1.0.0 / 2016-03-17 (*hv*) - -Initial revision +.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later +.. include:: + +.. _cec: + +######################################### +Part V - Consumer Electronics Control API +######################################### + +This part describes the CEC: Consumer Electronics Control + + +.. toctree:: + :caption: Table of Contents + :maxdepth: 5 + :numbered: + + cec-intro + cec-funcs + cec-pin-error-inj + cec-header + + +********************** +Revision and Copyright +********************** +Authors: + +- Verkuil, Hans + + - Initial version. + +**Copyright** |copy| 2016 : Hans Verkuil + +**************** +Revision History +**************** + +:revision: 1.0.0 / 2016-03-17 (*hv*) + +Initial revision diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/cec/cec-func-close.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/cec/cec-func-close.rst index 62143ba982..409e70a5f8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/cec/cec-func-close.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/cec/cec-func-close.rst @@ -1,43 +1,43 @@ -.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later -.. c:namespace:: CEC - -.. _cec-func-close: - -*********** -cec close() -*********** - -Name -==== - -cec-close - Close a cec device - -Synopsis -======== - -.. code-block:: c - - #include - -.. c:function:: int close( int fd ) - -Arguments -========= - -``fd`` - File descriptor returned by :c:func:`open()`. - -Description -=========== - -Closes the cec device. Resources associated with the file descriptor are -freed. The device configuration remain unchanged. - -Return Value -============ - -:c:func:`close()` returns 0 on success. On error, -1 is returned, and -``errno`` is set appropriately. Possible error codes are: - -``EBADF`` - ``fd`` is not a valid open file descriptor. +.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later +.. c:namespace:: CEC + +.. _cec-func-close: + +*********** +cec close() +*********** + +Name +==== + +cec-close - Close a cec device + +Synopsis +======== + +.. code-block:: c + + #include + +.. c:function:: int close( int fd ) + +Arguments +========= + +``fd`` + File descriptor returned by :c:func:`open()`. + +Description +=========== + +Closes the cec device. Resources associated with the file descriptor are +freed. The device configuration remain unchanged. + +Return Value +============ + +:c:func:`close()` returns 0 on success. On error, -1 is returned, and +``errno`` is set appropriately. Possible error codes are: + +``EBADF`` + ``fd`` is not a valid open file descriptor. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/drivers/vgxy61.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/drivers/vgxy61.rst index 1c82f44267..17ac15afa7 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/drivers/vgxy61.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/drivers/vgxy61.rst @@ -1,25 +1,25 @@ -.. SPDX-License-Identifier: GPL-2.0 - -ST VGXY61 camera sensor driver -============================== - -The ST VGXY61 driver implements the following controls: - -``V4L2_CID_HDR_SENSOR_MODE`` -------------------------------- - Change the sensor HDR mode. A HDR picture is obtained by merging two - captures of the same scene using two different exposure periods. - -.. flat-table:: - :header-rows: 0 - :stub-columns: 0 - :widths: 1 4 - - * - HDR linearize - - The merger outputs a long exposure capture as long as it is not - saturated. - * - HDR subtraction - - This involves subtracting the short exposure frame from the long - exposure frame. - * - No HDR - - This mode is used for standard dynamic range (SDR) exposures. +.. SPDX-License-Identifier: GPL-2.0 + +ST VGXY61 camera sensor driver +============================== + +The ST VGXY61 driver implements the following controls: + +``V4L2_CID_HDR_SENSOR_MODE`` +------------------------------- + Change the sensor HDR mode. A HDR picture is obtained by merging two + captures of the same scene using two different exposure periods. + +.. flat-table:: + :header-rows: 0 + :stub-columns: 0 + :widths: 1 4 + + * - HDR linearize + - The merger outputs a long exposure capture as long as it is not + saturated. + * - HDR subtraction + - This involves subtracting the short exposure frame from the long + exposure frame. + * - No HDR + - This mode is used for standard dynamic range (SDR) exposures. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/ca-fclose.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/ca-fclose.rst index fe6f5c0d80..27f217a350 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/ca-fclose.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/ca-fclose.rst @@ -1,40 +1,40 @@ -.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later -.. c:namespace:: DTV.ca - -.. _ca_fclose: - -===================== -Digital TV CA close() -===================== - -Name ----- - -Digital TV CA close() - -Synopsis --------- - -.. c:function:: int close(int fd) - -Arguments ---------- - -``fd`` - File descriptor returned by a previous call to :c:func:`open()`. - -Description ------------ - -This system call closes a previously opened CA device. - -Return Value ------------- - -On success 0 is returned. - -On error -1 is returned, and the ``errno`` variable is set -appropriately. - -Generic error codes are described at the -:ref:`Generic Error Codes ` chapter. +.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later +.. c:namespace:: DTV.ca + +.. _ca_fclose: + +===================== +Digital TV CA close() +===================== + +Name +---- + +Digital TV CA close() + +Synopsis +-------- + +.. c:function:: int close(int fd) + +Arguments +--------- + +``fd`` + File descriptor returned by a previous call to :c:func:`open()`. + +Description +----------- + +This system call closes a previously opened CA device. + +Return Value +------------ + +On success 0 is returned. + +On error -1 is returned, and the ``errno`` variable is set +appropriately. + +Generic error codes are described at the +:ref:`Generic Error Codes ` chapter. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/ca-get-cap.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/ca-get-cap.rst index cde924c58e..9b29513eed 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/ca-get-cap.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/ca-get-cap.rst @@ -1,46 +1,46 @@ -.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later -.. c:namespace:: DTV.ca - -.. _CA_GET_CAP: - -========== -CA_GET_CAP -========== - -Name ----- - -CA_GET_CAP - -Synopsis --------- - -.. c:macro:: CA_GET_CAP - -``int ioctl(fd, CA_GET_CAP, struct ca_caps *caps)`` - -Arguments ---------- - -``fd`` - File descriptor returned by a previous call to :c:func:`open()`. - -``caps`` - Pointer to struct :c:type:`ca_caps`. - -Description ------------ - -Queries the Kernel for information about the available CA and descrambler -slots, and their types. - -Return Value ------------- - -On success 0 is returned and :c:type:`ca_caps` is filled. - -On error, -1 is returned and the ``errno`` variable is set -appropriately. - -The generic error codes are described at the -:ref:`Generic Error Codes ` chapter. +.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later +.. c:namespace:: DTV.ca + +.. _CA_GET_CAP: + +========== +CA_GET_CAP +========== + +Name +---- + +CA_GET_CAP + +Synopsis +-------- + +.. c:macro:: CA_GET_CAP + +``int ioctl(fd, CA_GET_CAP, struct ca_caps *caps)`` + +Arguments +--------- + +``fd`` + File descriptor returned by a previous call to :c:func:`open()`. + +``caps`` + Pointer to struct :c:type:`ca_caps`. + +Description +----------- + +Queries the Kernel for information about the available CA and descrambler +slots, and their types. + +Return Value +------------ + +On success 0 is returned and :c:type:`ca_caps` is filled. + +On error, -1 is returned and the ``errno`` variable is set +appropriately. + +The generic error codes are described at the +:ref:`Generic Error Codes ` chapter. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/ca-get-descr-info.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/ca-get-descr-info.rst index 40934c3338..0cfdcdab33 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/ca-get-descr-info.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/ca-get-descr-info.rst @@ -1,43 +1,43 @@ -.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later -.. c:namespace:: DTV.ca - -.. _CA_GET_DESCR_INFO: - -================= -CA_GET_DESCR_INFO -================= - -Name ----- - -CA_GET_DESCR_INFO - -Synopsis --------- - -.. c:macro:: CA_GET_DESCR_INFO - -``int ioctl(fd, CA_GET_DESCR_INFO, struct ca_descr_info *desc)`` - -Arguments ---------- - -``fd`` - File descriptor returned by a previous call to :c:func:`open()`. - -``desc`` - Pointer to struct :c:type:`ca_descr_info`. - -Description ------------ - -Returns information about all descrambler slots. - -Return Value ------------- - -On success 0 is returned, and :c:type:`ca_descr_info` is filled. - -On error -1 is returned, and the ``errno`` variable is set -appropriately. The generic error codes are described at the -:ref:`Generic Error Codes ` chapter. +.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later +.. c:namespace:: DTV.ca + +.. _CA_GET_DESCR_INFO: + +================= +CA_GET_DESCR_INFO +================= + +Name +---- + +CA_GET_DESCR_INFO + +Synopsis +-------- + +.. c:macro:: CA_GET_DESCR_INFO + +``int ioctl(fd, CA_GET_DESCR_INFO, struct ca_descr_info *desc)`` + +Arguments +--------- + +``fd`` + File descriptor returned by a previous call to :c:func:`open()`. + +``desc`` + Pointer to struct :c:type:`ca_descr_info`. + +Description +----------- + +Returns information about all descrambler slots. + +Return Value +------------ + +On success 0 is returned, and :c:type:`ca_descr_info` is filled. + +On error -1 is returned, and the ``errno`` variable is set +appropriately. The generic error codes are described at the +:ref:`Generic Error Codes ` chapter. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/ca-get-msg.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/ca-get-msg.rst index 138b8cf07f..7c9a8d1973 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/ca-get-msg.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/ca-get-msg.rst @@ -1,50 +1,50 @@ -.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later -.. c:namespace:: DTV.ca - -.. _CA_GET_MSG: - -========== -CA_GET_MSG -========== - -Name ----- - -CA_GET_MSG - -Synopsis --------- - -.. c:macro:: CA_GET_MSG - -``int ioctl(fd, CA_GET_MSG, struct ca_msg *msg)`` - -Arguments ---------- - -``fd`` - File descriptor returned by a previous call to :c:func:`open()`. - -``msg`` - Pointer to struct :c:type:`ca_msg`. - -Description ------------ - -Receives a message via a CI CA module. - -.. note:: - - Please notice that, on most drivers, this is done by reading from - the /dev/adapter?/ca? device node. - -Return Value ------------- - -On success 0 is returned. - -On error -1 is returned, and the ``errno`` variable is set -appropriately. - -Generic error codes are described at the -:ref:`Generic Error Codes ` chapter. +.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later +.. c:namespace:: DTV.ca + +.. _CA_GET_MSG: + +========== +CA_GET_MSG +========== + +Name +---- + +CA_GET_MSG + +Synopsis +-------- + +.. c:macro:: CA_GET_MSG + +``int ioctl(fd, CA_GET_MSG, struct ca_msg *msg)`` + +Arguments +--------- + +``fd`` + File descriptor returned by a previous call to :c:func:`open()`. + +``msg`` + Pointer to struct :c:type:`ca_msg`. + +Description +----------- + +Receives a message via a CI CA module. + +.. note:: + + Please notice that, on most drivers, this is done by reading from + the /dev/adapter?/ca? device node. + +Return Value +------------ + +On success 0 is returned. + +On error -1 is returned, and the ``errno`` variable is set +appropriately. + +Generic error codes are described at the +:ref:`Generic Error Codes ` chapter. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/ca-reset.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/ca-reset.rst index 2bcac7ddcd..b01ca48f0b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/ca-reset.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/ca-reset.rst @@ -1,43 +1,43 @@ -.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later -.. c:namespace:: DTV.ca - -.. _CA_RESET: - -======== -CA_RESET -======== - -Name ----- - -CA_RESET - -Synopsis --------- - -.. c:macro:: CA_RESET - -``int ioctl(fd, CA_RESET)`` - -Arguments ---------- - -``fd`` - File descriptor returned by a previous call to :c:func:`open()`. - -Description ------------ - -Puts the Conditional Access hardware on its initial state. It should -be called before start using the CA hardware. - -Return Value ------------- - -On success 0 is returned. - -On error -1 is returned, and the ``errno`` variable is set -appropriately. - -Generic error codes are described at the -:ref:`Generic Error Codes ` chapter. +.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later +.. c:namespace:: DTV.ca + +.. _CA_RESET: + +======== +CA_RESET +======== + +Name +---- + +CA_RESET + +Synopsis +-------- + +.. c:macro:: CA_RESET + +``int ioctl(fd, CA_RESET)`` + +Arguments +--------- + +``fd`` + File descriptor returned by a previous call to :c:func:`open()`. + +Description +----------- + +Puts the Conditional Access hardware on its initial state. It should +be called before start using the CA hardware. + +Return Value +------------ + +On success 0 is returned. + +On error -1 is returned, and the ``errno`` variable is set +appropriately. + +Generic error codes are described at the +:ref:`Generic Error Codes ` chapter. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/ca-send-msg.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/ca-send-msg.rst index f4b5676976..7dd2ab4ef6 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/ca-send-msg.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/ca-send-msg.rst @@ -1,50 +1,50 @@ -.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later -.. c:namespace:: DTV.ca - -.. _CA_SEND_MSG: - -=========== -CA_SEND_MSG -=========== - -Name ----- - -CA_SEND_MSG - -Synopsis --------- - -.. c:macro:: CA_SEND_MSG - -``int ioctl(fd, CA_SEND_MSG, struct ca_msg *msg)`` - -Arguments ---------- - -``fd`` - File descriptor returned by a previous call to :c:func:`open()`. - -``msg`` - Pointer to struct :c:type:`ca_msg`. - -Description ------------ - -Sends a message via a CI CA module. - -.. note:: - - Please notice that, on most drivers, this is done by writing - to the /dev/adapter?/ca? device node. - -Return Value ------------- - -On success 0 is returned. - -On error -1 is returned, and the ``errno`` variable is set -appropriately. - -Generic error codes are described at the -:ref:`Generic Error Codes ` chapter. +.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later +.. c:namespace:: DTV.ca + +.. _CA_SEND_MSG: + +=========== +CA_SEND_MSG +=========== + +Name +---- + +CA_SEND_MSG + +Synopsis +-------- + +.. c:macro:: CA_SEND_MSG + +``int ioctl(fd, CA_SEND_MSG, struct ca_msg *msg)`` + +Arguments +--------- + +``fd`` + File descriptor returned by a previous call to :c:func:`open()`. + +``msg`` + Pointer to struct :c:type:`ca_msg`. + +Description +----------- + +Sends a message via a CI CA module. + +.. note:: + + Please notice that, on most drivers, this is done by writing + to the /dev/adapter?/ca? device node. + +Return Value +------------ + +On success 0 is returned. + +On error -1 is returned, and the ``errno`` variable is set +appropriately. + +Generic error codes are described at the +:ref:`Generic Error Codes ` chapter. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/ca-set-descr.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/ca-set-descr.rst index eb5574c7f2..a740af34c8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/ca-set-descr.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/ca-set-descr.rst @@ -1,46 +1,46 @@ -.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later -.. c:namespace:: DTV.ca - -.. _CA_SET_DESCR: - -============ -CA_SET_DESCR -============ - -Name ----- - -CA_SET_DESCR - -Synopsis --------- - -.. c:macro:: CA_SET_DESCR - -``int ioctl(fd, CA_SET_DESCR, struct ca_descr *desc)`` - -Arguments ---------- - -``fd`` - File descriptor returned by a previous call to :c:func:`open()`. - -``msg`` - Pointer to struct :c:type:`ca_descr`. - -Description ------------ - -CA_SET_DESCR is used for feeding descrambler CA slots with descrambling -keys (referred as control words). - -Return Value ------------- - -On success 0 is returned. - -On error -1 is returned, and the ``errno`` variable is set -appropriately. - -Generic error codes are described at the -:ref:`Generic Error Codes ` chapter. +.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later +.. c:namespace:: DTV.ca + +.. _CA_SET_DESCR: + +============ +CA_SET_DESCR +============ + +Name +---- + +CA_SET_DESCR + +Synopsis +-------- + +.. c:macro:: CA_SET_DESCR + +``int ioctl(fd, CA_SET_DESCR, struct ca_descr *desc)`` + +Arguments +--------- + +``fd`` + File descriptor returned by a previous call to :c:func:`open()`. + +``msg`` + Pointer to struct :c:type:`ca_descr`. + +Description +----------- + +CA_SET_DESCR is used for feeding descrambler CA slots with descrambling +keys (referred as control words). + +Return Value +------------ + +On success 0 is returned. + +On error -1 is returned, and the ``errno`` variable is set +appropriately. + +Generic error codes are described at the +:ref:`Generic Error Codes ` chapter. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/ca.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/ca.rst index debac12a50..0dc00e5e4a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/ca.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/ca.rst @@ -1,25 +1,25 @@ -.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later - -.. _dvb_ca: - -#################### -Digital TV CA Device -#################### - -The Digital TV CA device controls the conditional access hardware. It -can be accessed through ``/dev/dvb/adapter?/ca?``. Data types and ioctl -definitions can be accessed by including ``linux/dvb/ca.h`` in your -application. - -.. note:: - - There are three ioctls at this API that aren't documented: - :ref:`CA_GET_MSG`, :ref:`CA_SEND_MSG` and :ref:`CA_SET_DESCR`. - Documentation for them are welcome. - -.. toctree:: - :maxdepth: 1 - - ca_data_types - ca_function_calls - ca_high_level +.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later + +.. _dvb_ca: + +#################### +Digital TV CA Device +#################### + +The Digital TV CA device controls the conditional access hardware. It +can be accessed through ``/dev/dvb/adapter?/ca?``. Data types and ioctl +definitions can be accessed by including ``linux/dvb/ca.h`` in your +application. + +.. note:: + + There are three ioctls at this API that aren't documented: + :ref:`CA_GET_MSG`, :ref:`CA_SEND_MSG` and :ref:`CA_SET_DESCR`. + Documentation for them are welcome. + +.. toctree:: + :maxdepth: 1 + + ca_data_types + ca_function_calls + ca_high_level diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/dmx-add-pid.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/dmx-add-pid.rst index c5cc7fd3c7..ea0c7dd91e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/dmx-add-pid.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/dmx-add-pid.rst @@ -1,47 +1,47 @@ -.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later -.. c:namespace:: DTV.dmx - -.. _DMX_ADD_PID: - -=========== -DMX_ADD_PID -=========== - -Name ----- - -DMX_ADD_PID - -Synopsis --------- - -.. c:macro:: DMX_ADD_PID - -``int ioctl(fd, DMX_ADD_PID, __u16 *pid)`` - -Arguments ---------- - -``fd`` - File descriptor returned by :c:func:`open()`. - -``pid`` - PID number to be filtered. - -Description ------------ - -This ioctl call allows to add multiple PIDs to a transport stream filter -previously set up with :ref:`DMX_SET_PES_FILTER` and output equal to -:c:type:`DMX_OUT_TSDEMUX_TAP `. - -Return Value ------------- - -On success 0 is returned. - -On error -1 is returned, and the ``errno`` variable is set -appropriately. - -Generic error codes are described at the -:ref:`Generic Error Codes ` chapter. +.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later +.. c:namespace:: DTV.dmx + +.. _DMX_ADD_PID: + +=========== +DMX_ADD_PID +=========== + +Name +---- + +DMX_ADD_PID + +Synopsis +-------- + +.. c:macro:: DMX_ADD_PID + +``int ioctl(fd, DMX_ADD_PID, __u16 *pid)`` + +Arguments +--------- + +``fd`` + File descriptor returned by :c:func:`open()`. + +``pid`` + PID number to be filtered. + +Description +----------- + +This ioctl call allows to add multiple PIDs to a transport stream filter +previously set up with :ref:`DMX_SET_PES_FILTER` and output equal to +:c:type:`DMX_OUT_TSDEMUX_TAP `. + +Return Value +------------ + +On success 0 is returned. + +On error -1 is returned, and the ``errno`` variable is set +appropriately. + +Generic error codes are described at the +:ref:`Generic Error Codes ` chapter. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/dmx-fclose.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/dmx-fclose.rst index 7d68498c79..719ac1d4f6 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/dmx-fclose.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/dmx-fclose.rst @@ -1,42 +1,42 @@ -.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later -.. c:namespace:: DTV.dmx - -.. _dmx_fclose: - -======================== -Digital TV demux close() -======================== - -Name ----- - -Digital TV demux close() - -Synopsis --------- - -.. c:function:: int close(int fd) - -Arguments ---------- - -``fd`` - File descriptor returned by a previous call to - :c:func:`open()`. - -Description ------------ - -This system call deactivates and deallocates a filter that was -previously allocated via the :c:func:`open()` call. - -Return Value ------------- - -On success 0 is returned. - -On error, -1 is returned and the ``errno`` variable is set -appropriately. - -The generic error codes are described at the -:ref:`Generic Error Codes ` chapter. +.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later +.. c:namespace:: DTV.dmx + +.. _dmx_fclose: + +======================== +Digital TV demux close() +======================== + +Name +---- + +Digital TV demux close() + +Synopsis +-------- + +.. c:function:: int close(int fd) + +Arguments +--------- + +``fd`` + File descriptor returned by a previous call to + :c:func:`open()`. + +Description +----------- + +This system call deactivates and deallocates a filter that was +previously allocated via the :c:func:`open()` call. + +Return Value +------------ + +On success 0 is returned. + +On error, -1 is returned and the ``errno`` variable is set +appropriately. + +The generic error codes are described at the +:ref:`Generic Error Codes ` chapter. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/dmx-munmap.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/dmx-munmap.rst index fbf852aae9..66bbc11e5c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/dmx-munmap.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/dmx-munmap.rst @@ -1,52 +1,52 @@ -.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later -.. c:namespace:: DTV.dmx - -.. _dmx-munmap: - -************ -DVB munmap() -************ - -Name -==== - -dmx-munmap - Unmap device memory - -.. warning:: This API is still experimental. - -Synopsis -======== - -.. code-block:: c - - #include - #include - -.. c:function:: int munmap( void *start, size_t length ) - -Arguments -========= - -``start`` - Address of the mapped buffer as returned by the - :c:func:`mmap()` function. - -``length`` - Length of the mapped buffer. This must be the same value as given to - :c:func:`mmap()`. - -Description -=========== - -Unmaps a previously with the :c:func:`mmap()` function mapped -buffer and frees it, if possible. - -Return Value -============ - -On success :c:func:`munmap()` returns 0, on failure -1 and the -``errno`` variable is set appropriately: - -EINVAL - The ``start`` or ``length`` is incorrect, or no buffers have been - mapped yet. +.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later +.. c:namespace:: DTV.dmx + +.. _dmx-munmap: + +************ +DVB munmap() +************ + +Name +==== + +dmx-munmap - Unmap device memory + +.. warning:: This API is still experimental. + +Synopsis +======== + +.. code-block:: c + + #include + #include + +.. c:function:: int munmap( void *start, size_t length ) + +Arguments +========= + +``start`` + Address of the mapped buffer as returned by the + :c:func:`mmap()` function. + +``length`` + Length of the mapped buffer. This must be the same value as given to + :c:func:`mmap()`. + +Description +=========== + +Unmaps a previously with the :c:func:`mmap()` function mapped +buffer and frees it, if possible. + +Return Value +============ + +On success :c:func:`munmap()` returns 0, on failure -1 and the +``errno`` variable is set appropriately: + +EINVAL + The ``start`` or ``length`` is incorrect, or no buffers have been + mapped yet. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/dmx-remove-pid.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/dmx-remove-pid.rst index ce68709dd2..f75b33e5e4 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/dmx-remove-pid.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/dmx-remove-pid.rst @@ -1,48 +1,48 @@ -.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later -.. c:namespace:: DTV.dmx - -.. _DMX_REMOVE_PID: - -============== -DMX_REMOVE_PID -============== - -Name ----- - -DMX_REMOVE_PID - -Synopsis --------- - -.. c:macro:: DMX_REMOVE_PID - -``int ioctl(fd, DMX_REMOVE_PID, __u16 *pid)`` - -Arguments ---------- - -``fd`` - File descriptor returned by :c:func:`open()`. - -``pid`` - PID of the PES filter to be removed. - -Description ------------ - -This ioctl call allows to remove a PID when multiple PIDs are set on a -transport stream filter, e. g. a filter previously set up with output -equal to :c:type:`DMX_OUT_TSDEMUX_TAP `, created via either -:ref:`DMX_SET_PES_FILTER` or :ref:`DMX_ADD_PID`. - -Return Value ------------- - -On success 0 is returned. - -On error -1 is returned, and the ``errno`` variable is set -appropriately. - -The generic error codes are described at the -:ref:`Generic Error Codes ` chapter. +.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later +.. c:namespace:: DTV.dmx + +.. _DMX_REMOVE_PID: + +============== +DMX_REMOVE_PID +============== + +Name +---- + +DMX_REMOVE_PID + +Synopsis +-------- + +.. c:macro:: DMX_REMOVE_PID + +``int ioctl(fd, DMX_REMOVE_PID, __u16 *pid)`` + +Arguments +--------- + +``fd`` + File descriptor returned by :c:func:`open()`. + +``pid`` + PID of the PES filter to be removed. + +Description +----------- + +This ioctl call allows to remove a PID when multiple PIDs are set on a +transport stream filter, e. g. a filter previously set up with output +equal to :c:type:`DMX_OUT_TSDEMUX_TAP `, created via either +:ref:`DMX_SET_PES_FILTER` or :ref:`DMX_ADD_PID`. + +Return Value +------------ + +On success 0 is returned. + +On error -1 is returned, and the ``errno`` variable is set +appropriately. + +The generic error codes are described at the +:ref:`Generic Error Codes ` chapter. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/dmx-set-buffer-size.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/dmx-set-buffer-size.rst index f39a17584e..13ce4092c2 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/dmx-set-buffer-size.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/dmx-set-buffer-size.rst @@ -1,48 +1,48 @@ -.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later -.. c:namespace:: DTV.dmx - -.. _DMX_SET_BUFFER_SIZE: - -=================== -DMX_SET_BUFFER_SIZE -=================== - -Name ----- - -DMX_SET_BUFFER_SIZE - -Synopsis --------- - -.. c:macro:: DMX_SET_BUFFER_SIZE - -``int ioctl(int fd, DMX_SET_BUFFER_SIZE, unsigned long size)`` - -Arguments ---------- - -``fd`` - File descriptor returned by :c:func:`open()`. - -``size`` - Unsigned long size - -Description ------------ - -This ioctl call is used to set the size of the circular buffer used for -filtered data. The default size is two maximum sized sections, i.e. if -this function is not called a buffer size of ``2 * 4096`` bytes will be -used. - -Return Value ------------- - -On success 0 is returned. - -On error -1 is returned, and the ``errno`` variable is set -appropriately. - -The generic error codes are described at the -:ref:`Generic Error Codes ` chapter. +.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later +.. c:namespace:: DTV.dmx + +.. _DMX_SET_BUFFER_SIZE: + +=================== +DMX_SET_BUFFER_SIZE +=================== + +Name +---- + +DMX_SET_BUFFER_SIZE + +Synopsis +-------- + +.. c:macro:: DMX_SET_BUFFER_SIZE + +``int ioctl(int fd, DMX_SET_BUFFER_SIZE, unsigned long size)`` + +Arguments +--------- + +``fd`` + File descriptor returned by :c:func:`open()`. + +``size`` + Unsigned long size + +Description +----------- + +This ioctl call is used to set the size of the circular buffer used for +filtered data. The default size is two maximum sized sections, i.e. if +this function is not called a buffer size of ``2 * 4096`` bytes will be +used. + +Return Value +------------ + +On success 0 is returned. + +On error -1 is returned, and the ``errno`` variable is set +appropriately. + +The generic error codes are described at the +:ref:`Generic Error Codes ` chapter. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/dmx-stop.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/dmx-stop.rst index 17304e9b9b..8661e67721 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/dmx-stop.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/dmx-stop.rst @@ -1,44 +1,44 @@ -.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later -.. c:namespace:: DTV.dmx - -.. _DMX_STOP: - -======== -DMX_STOP -======== - -Name ----- - -DMX_STOP - -Synopsis --------- - -.. c:macro:: DMX_STOP - -``int ioctl(int fd, DMX_STOP)`` - -Arguments ---------- - -``fd`` - File descriptor returned by :c:func:`open()`. - -Description ------------ - -This ioctl call is used to stop the actual filtering operation defined -via the ioctl calls :ref:`DMX_SET_FILTER` or :ref:`DMX_SET_PES_FILTER` and -started via the :ref:`DMX_START` command. - -Return Value ------------- - -On success 0 is returned. - -On error -1 is returned, and the ``errno`` variable is set -appropriately. - -The generic error codes are described at the -:ref:`Generic Error Codes ` chapter. +.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later +.. c:namespace:: DTV.dmx + +.. _DMX_STOP: + +======== +DMX_STOP +======== + +Name +---- + +DMX_STOP + +Synopsis +-------- + +.. c:macro:: DMX_STOP + +``int ioctl(int fd, DMX_STOP)`` + +Arguments +--------- + +``fd`` + File descriptor returned by :c:func:`open()`. + +Description +----------- + +This ioctl call is used to stop the actual filtering operation defined +via the ioctl calls :ref:`DMX_SET_FILTER` or :ref:`DMX_SET_PES_FILTER` and +started via the :ref:`DMX_START` command. + +Return Value +------------ + +On success 0 is returned. + +On error -1 is returned, and the ``errno`` variable is set +appropriately. + +The generic error codes are described at the +:ref:`Generic Error Codes ` chapter. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/dvb-fe-read-status.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/dvb-fe-read-status.rst index 02786f95a4..fbd0548f5f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/dvb-fe-read-status.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/dvb-fe-read-status.rst @@ -1,25 +1,25 @@ -.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later - -.. _dvb-fe-read-status: - -*************************************** -Querying frontend status and statistics -*************************************** - -Once :ref:`FE_SET_PROPERTY ` is called, the -frontend will run a kernel thread that will periodically check for the -tuner lock status and provide statistics about the quality of the -signal. - -The information about the frontend tuner locking status can be queried -using :ref:`FE_READ_STATUS`. - -Signal statistics are provided via -:ref:`FE_GET_PROPERTY`. - -.. note:: - - Most statistics require the demodulator to be fully locked - (e. g. with :c:type:`FE_HAS_LOCK ` bit set). See - :ref:`Frontend statistics indicators ` for - more details. +.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later + +.. _dvb-fe-read-status: + +*************************************** +Querying frontend status and statistics +*************************************** + +Once :ref:`FE_SET_PROPERTY ` is called, the +frontend will run a kernel thread that will periodically check for the +tuner lock status and provide statistics about the quality of the +signal. + +The information about the frontend tuner locking status can be queried +using :ref:`FE_READ_STATUS`. + +Signal statistics are provided via +:ref:`FE_GET_PROPERTY`. + +.. note:: + + Most statistics require the demodulator to be fully locked + (e. g. with :c:type:`FE_HAS_LOCK ` bit set). See + :ref:`Frontend statistics indicators ` for + more details. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/fe-bandwidth-t.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/fe-bandwidth-t.rst index 0567b2803f..904b0c33a3 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/fe-bandwidth-t.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/fe-bandwidth-t.rst @@ -1,74 +1,74 @@ -.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later - -****************** -Frontend bandwidth -****************** - -.. c:type:: fe_bandwidth - -.. flat-table:: enum fe_bandwidth - :header-rows: 1 - :stub-columns: 0 - - - - .. row 1 - - - ID - - - Description - - - .. row 2 - - - .. _BANDWIDTH-AUTO: - - ``BANDWIDTH_AUTO`` - - - Autodetect bandwidth (if supported) - - - .. row 3 - - - .. _BANDWIDTH-1-712-MHZ: - - ``BANDWIDTH_1_712_MHZ`` - - - 1.712 MHz - - - .. row 4 - - - .. _BANDWIDTH-5-MHZ: - - ``BANDWIDTH_5_MHZ`` - - - 5 MHz - - - .. row 5 - - - .. _BANDWIDTH-6-MHZ: - - ``BANDWIDTH_6_MHZ`` - - - 6 MHz - - - .. row 6 - - - .. _BANDWIDTH-7-MHZ: - - ``BANDWIDTH_7_MHZ`` - - - 7 MHz - - - .. row 7 - - - .. _BANDWIDTH-8-MHZ: - - ``BANDWIDTH_8_MHZ`` - - - 8 MHz - - - .. row 8 - - - .. _BANDWIDTH-10-MHZ: - - ``BANDWIDTH_10_MHZ`` - - - 10 MHz +.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later + +****************** +Frontend bandwidth +****************** + +.. c:type:: fe_bandwidth + +.. flat-table:: enum fe_bandwidth + :header-rows: 1 + :stub-columns: 0 + + + - .. row 1 + + - ID + + - Description + + - .. row 2 + + - .. _BANDWIDTH-AUTO: + + ``BANDWIDTH_AUTO`` + + - Autodetect bandwidth (if supported) + + - .. row 3 + + - .. _BANDWIDTH-1-712-MHZ: + + ``BANDWIDTH_1_712_MHZ`` + + - 1.712 MHz + + - .. row 4 + + - .. _BANDWIDTH-5-MHZ: + + ``BANDWIDTH_5_MHZ`` + + - 5 MHz + + - .. row 5 + + - .. _BANDWIDTH-6-MHZ: + + ``BANDWIDTH_6_MHZ`` + + - 6 MHz + + - .. row 6 + + - .. _BANDWIDTH-7-MHZ: + + ``BANDWIDTH_7_MHZ`` + + - 7 MHz + + - .. row 7 + + - .. _BANDWIDTH-8-MHZ: + + ``BANDWIDTH_8_MHZ`` + + - 8 MHz + + - .. row 8 + + - .. _BANDWIDTH-10-MHZ: + + ``BANDWIDTH_10_MHZ`` + + - 10 MHz diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/fe-diseqc-recv-slave-reply.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/fe-diseqc-recv-slave-reply.rst index df1a415943..d9be817f03 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/fe-diseqc-recv-slave-reply.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/fe-diseqc-recv-slave-reply.rst @@ -1,47 +1,47 @@ -.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later -.. c:namespace:: DTV.fe - -.. _FE_DISEQC_RECV_SLAVE_REPLY: - -******************************** -ioctl FE_DISEQC_RECV_SLAVE_REPLY -******************************** - -Name -==== - -FE_DISEQC_RECV_SLAVE_REPLY - Receives reply from a DiSEqC 2.0 command - -Synopsis -======== - -.. c:macro:: FE_DISEQC_RECV_SLAVE_REPLY - -``int ioctl(int fd, FE_DISEQC_RECV_SLAVE_REPLY, struct dvb_diseqc_slave_reply *argp)`` - -Arguments -========= - -``fd`` - File descriptor returned by :c:func:`open()`. - -``argp`` - pointer to struct :c:type:`dvb_diseqc_slave_reply`. - -Description -=========== - -Receives reply from a DiSEqC 2.0 command. - -The received message is stored at the buffer pointed by ``argp``. - -Return Value -============ - -On success 0 is returned. - -On error -1 is returned, and the ``errno`` variable is set -appropriately. - -Generic error codes are described at the -:ref:`Generic Error Codes ` chapter. +.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later +.. c:namespace:: DTV.fe + +.. _FE_DISEQC_RECV_SLAVE_REPLY: + +******************************** +ioctl FE_DISEQC_RECV_SLAVE_REPLY +******************************** + +Name +==== + +FE_DISEQC_RECV_SLAVE_REPLY - Receives reply from a DiSEqC 2.0 command + +Synopsis +======== + +.. c:macro:: FE_DISEQC_RECV_SLAVE_REPLY + +``int ioctl(int fd, FE_DISEQC_RECV_SLAVE_REPLY, struct dvb_diseqc_slave_reply *argp)`` + +Arguments +========= + +``fd`` + File descriptor returned by :c:func:`open()`. + +``argp`` + pointer to struct :c:type:`dvb_diseqc_slave_reply`. + +Description +=========== + +Receives reply from a DiSEqC 2.0 command. + +The received message is stored at the buffer pointed by ``argp``. + +Return Value +============ + +On success 0 is returned. + +On error -1 is returned, and the ``errno`` variable is set +appropriately. + +Generic error codes are described at the +:ref:`Generic Error Codes ` chapter. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/fe-diseqc-send-master-cmd.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/fe-diseqc-send-master-cmd.rst index f6df34efa1..c97029def2 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/fe-diseqc-send-master-cmd.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/fe-diseqc-send-master-cmd.rst @@ -1,48 +1,48 @@ -.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later -.. c:namespace:: DTV.fe - -.. _FE_DISEQC_SEND_MASTER_CMD: - -******************************* -ioctl FE_DISEQC_SEND_MASTER_CMD -******************************* - -Name -==== - -FE_DISEQC_SEND_MASTER_CMD - Sends a DiSEqC command - -Synopsis -======== - -.. c:macro:: FE_DISEQC_SEND_MASTER_CMD - -``int ioctl(int fd, FE_DISEQC_SEND_MASTER_CMD, struct dvb_diseqc_master_cmd *argp)`` - -Arguments -========= - -``fd`` - File descriptor returned by :c:func:`open()`. - -``argp`` - pointer to struct - :c:type:`dvb_diseqc_master_cmd` - -Description -=========== - -Sends the DiSEqC command pointed by :c:type:`dvb_diseqc_master_cmd` -to the antenna subsystem. - -Return Value -============ - -On success 0 is returned. - -On error -1 is returned, and the ``errno`` variable is set -appropriately. - -Generic error codes are described at the -:ref:`Generic Error Codes ` chapter. - +.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later +.. c:namespace:: DTV.fe + +.. _FE_DISEQC_SEND_MASTER_CMD: + +******************************* +ioctl FE_DISEQC_SEND_MASTER_CMD +******************************* + +Name +==== + +FE_DISEQC_SEND_MASTER_CMD - Sends a DiSEqC command + +Synopsis +======== + +.. c:macro:: FE_DISEQC_SEND_MASTER_CMD + +``int ioctl(int fd, FE_DISEQC_SEND_MASTER_CMD, struct dvb_diseqc_master_cmd *argp)`` + +Arguments +========= + +``fd`` + File descriptor returned by :c:func:`open()`. + +``argp`` + pointer to struct + :c:type:`dvb_diseqc_master_cmd` + +Description +=========== + +Sends the DiSEqC command pointed by :c:type:`dvb_diseqc_master_cmd` +to the antenna subsystem. + +Return Value +============ + +On success 0 is returned. + +On error -1 is returned, and the ``errno`` variable is set +appropriately. + +Generic error codes are described at the +:ref:`Generic Error Codes ` chapter. + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/fe-read-ber.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/fe-read-ber.rst index e608a58198..f33f1dd205 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/fe-read-ber.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/fe-read-ber.rst @@ -1,49 +1,49 @@ -.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later -.. c:namespace:: DTV.fe - -.. _FE_READ_BER: - -*********** -FE_READ_BER -*********** - -Name -==== - -FE_READ_BER - -.. attention:: This ioctl is deprecated. - -Synopsis -======== - -.. c:macro:: FE_READ_BER - -``int ioctl(int fd, FE_READ_BER, uint32_t *ber)`` - -Arguments -========= - -``fd`` - File descriptor returned by :c:func:`open()`. - -``ber`` - The bit error rate is stored into \*ber. - -Description -=========== - -This ioctl call returns the bit error rate for the signal currently -received/demodulated by the front-end. For this command, read-only -access to the device is sufficient. - -Return Value -============ - -On success 0 is returned. - -On error -1 is returned, and the ``errno`` variable is set -appropriately. - -Generic error codes are described at the -:ref:`Generic Error Codes ` chapter. +.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later +.. c:namespace:: DTV.fe + +.. _FE_READ_BER: + +*********** +FE_READ_BER +*********** + +Name +==== + +FE_READ_BER + +.. attention:: This ioctl is deprecated. + +Synopsis +======== + +.. c:macro:: FE_READ_BER + +``int ioctl(int fd, FE_READ_BER, uint32_t *ber)`` + +Arguments +========= + +``fd`` + File descriptor returned by :c:func:`open()`. + +``ber`` + The bit error rate is stored into \*ber. + +Description +=========== + +This ioctl call returns the bit error rate for the signal currently +received/demodulated by the front-end. For this command, read-only +access to the device is sufficient. + +Return Value +============ + +On success 0 is returned. + +On error -1 is returned, and the ``errno`` variable is set +appropriately. + +Generic error codes are described at the +:ref:`Generic Error Codes ` chapter. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/fe-read-signal-strength.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/fe-read-signal-strength.rst index 1717c2d09d..2b7d06145c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/fe-read-signal-strength.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/fe-read-signal-strength.rst @@ -1,49 +1,49 @@ -.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later -.. c:namespace:: DTV.fe - -.. _FE_READ_SIGNAL_STRENGTH: - -*********************** -FE_READ_SIGNAL_STRENGTH -*********************** - -Name -==== - -FE_READ_SIGNAL_STRENGTH - -.. attention:: This ioctl is deprecated. - -Synopsis -======== - -.. c:macro:: FE_READ_SIGNAL_STRENGTH - -``int ioctl(int fd, FE_READ_SIGNAL_STRENGTH, uint16_t *strength)`` - -Arguments -========= - -``fd`` - File descriptor returned by :c:func:`open()`. - -``strength`` - The signal strength value is stored into \*strength. - -Description -=========== - -This ioctl call returns the signal strength value for the signal -currently received by the front-end. For this command, read-only access -to the device is sufficient. - -Return Value -============ - -On success 0 is returned. - -On error -1 is returned, and the ``errno`` variable is set -appropriately. - -Generic error codes are described at the -:ref:`Generic Error Codes ` chapter. +.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later +.. c:namespace:: DTV.fe + +.. _FE_READ_SIGNAL_STRENGTH: + +*********************** +FE_READ_SIGNAL_STRENGTH +*********************** + +Name +==== + +FE_READ_SIGNAL_STRENGTH + +.. attention:: This ioctl is deprecated. + +Synopsis +======== + +.. c:macro:: FE_READ_SIGNAL_STRENGTH + +``int ioctl(int fd, FE_READ_SIGNAL_STRENGTH, uint16_t *strength)`` + +Arguments +========= + +``fd`` + File descriptor returned by :c:func:`open()`. + +``strength`` + The signal strength value is stored into \*strength. + +Description +=========== + +This ioctl call returns the signal strength value for the signal +currently received by the front-end. For this command, read-only access +to the device is sufficient. + +Return Value +============ + +On success 0 is returned. + +On error -1 is returned, and the ``errno`` variable is set +appropriately. + +Generic error codes are described at the +:ref:`Generic Error Codes ` chapter. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/fe-read-snr.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/fe-read-snr.rst index 2c8339c7e2..e44e559ab7 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/fe-read-snr.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/fe-read-snr.rst @@ -1,49 +1,49 @@ -.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later -.. c:namespace:: DTV.fe - -.. _FE_READ_SNR: - -*********** -FE_READ_SNR -*********** - -Name -==== - -FE_READ_SNR - -.. attention:: This ioctl is deprecated. - -Synopsis -======== - -.. c:macro:: FE_READ_SNR - -``int ioctl(int fd, FE_READ_SNR, int16_t *snr)`` - -Arguments -========= - -``fd`` - File descriptor returned by :c:func:`open()`. - -``snr`` - The signal-to-noise ratio is stored into \*snr. - -Description -=========== - -This ioctl call returns the signal-to-noise ratio for the signal -currently received by the front-end. For this command, read-only access -to the device is sufficient. - -Return Value -============ - -On success 0 is returned. - -On error -1 is returned, and the ``errno`` variable is set -appropriately. - -Generic error codes are described at the -:ref:`Generic Error Codes ` chapter. +.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later +.. c:namespace:: DTV.fe + +.. _FE_READ_SNR: + +*********** +FE_READ_SNR +*********** + +Name +==== + +FE_READ_SNR + +.. attention:: This ioctl is deprecated. + +Synopsis +======== + +.. c:macro:: FE_READ_SNR + +``int ioctl(int fd, FE_READ_SNR, int16_t *snr)`` + +Arguments +========= + +``fd`` + File descriptor returned by :c:func:`open()`. + +``snr`` + The signal-to-noise ratio is stored into \*snr. + +Description +=========== + +This ioctl call returns the signal-to-noise ratio for the signal +currently received by the front-end. For this command, read-only access +to the device is sufficient. + +Return Value +============ + +On success 0 is returned. + +On error -1 is returned, and the ``errno`` variable is set +appropriately. + +Generic error codes are described at the +:ref:`Generic Error Codes ` chapter. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/frontend_f_close.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/frontend_f_close.rst index 0a148a29a6..52c323a850 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/frontend_f_close.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/frontend_f_close.rst @@ -1,46 +1,46 @@ -.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later -.. c:namespace:: DTV.fe - -.. _frontend_f_close: - -*************************** -Digital TV frontend close() -*************************** - -Name -==== - -fe-close - Close a frontend device - -Synopsis -======== - -.. code-block:: c - - #include - -.. c:function:: int close( int fd ) - -Arguments -========= - -``fd`` - File descriptor returned by :c:func:`open()`. - -Description -=========== - -This system call closes a previously opened front-end device. After -closing a front-end device, its corresponding hardware might be powered -down automatically. - -Return Value -============ - -On success 0 is returned. - -On error -1 is returned, and the ``errno`` variable is set -appropriately. - -Generic error codes are described at the -:ref:`Generic Error Codes ` chapter. +.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later +.. c:namespace:: DTV.fe + +.. _frontend_f_close: + +*************************** +Digital TV frontend close() +*************************** + +Name +==== + +fe-close - Close a frontend device + +Synopsis +======== + +.. code-block:: c + + #include + +.. c:function:: int close( int fd ) + +Arguments +========= + +``fd`` + File descriptor returned by :c:func:`open()`. + +Description +=========== + +This system call closes a previously opened front-end device. After +closing a front-end device, its corresponding hardware might be powered +down automatically. + +Return Value +============ + +On success 0 is returned. + +On error -1 is returned, and the ``errno`` variable is set +appropriately. + +Generic error codes are described at the +:ref:`Generic Error Codes ` chapter. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/frontend_legacy_api.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/frontend_legacy_api.rst index 81fffad54a..535828c002 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/frontend_legacy_api.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/frontend_legacy_api.rst @@ -1,38 +1,38 @@ -.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later - -.. _frontend_legacy_types: - -Frontend Legacy Data Types -========================== - - -.. toctree:: - :maxdepth: 1 - - fe-type-t - fe-bandwidth-t - dvb-frontend-parameters - dvb-frontend-event - - -.. _frontend_legacy_fcalls: - -Frontend Legacy Function Calls -============================== - -Those functions are defined at DVB version 3. The support is kept in the -kernel due to compatibility issues only. Their usage is strongly not -recommended - - -.. toctree:: - :maxdepth: 1 - - fe-read-ber - fe-read-snr - fe-read-signal-strength - fe-read-uncorrected-blocks - fe-set-frontend - fe-get-frontend - fe-get-event - fe-dishnetwork-send-legacy-cmd +.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later + +.. _frontend_legacy_types: + +Frontend Legacy Data Types +========================== + + +.. toctree:: + :maxdepth: 1 + + fe-type-t + fe-bandwidth-t + dvb-frontend-parameters + dvb-frontend-event + + +.. _frontend_legacy_fcalls: + +Frontend Legacy Function Calls +============================== + +Those functions are defined at DVB version 3. The support is kept in the +kernel due to compatibility issues only. Their usage is strongly not +recommended + + +.. toctree:: + :maxdepth: 1 + + fe-read-ber + fe-read-snr + fe-read-signal-strength + fe-read-uncorrected-blocks + fe-set-frontend + fe-get-frontend + fe-get-event + fe-dishnetwork-send-legacy-cmd diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/legacy_dvb_apis.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/legacy_dvb_apis.rst index 584dc1dc8c..ffe8325749 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/legacy_dvb_apis.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/legacy_dvb_apis.rst @@ -1,26 +1,26 @@ -.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later - -.. _legacy_dvb_apis: - -*************************** -Digital TV Deprecated APIs -*************************** - -The APIs described here **should not** be used on new drivers or applications. - -The DVBv3 frontend API has issues with new delivery systems, including -DVB-S2, DVB-T2, ISDB, etc. - -.. attention:: - - The APIs described here doesn't necessarily reflect the current - code implementation, as this section of the document was written - for DVB version 1, while the code reflects DVB version 3 - implementation. - - -.. toctree:: - :maxdepth: 1 - - frontend_legacy_dvbv3_api - legacy_dvb_decoder_api +.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later + +.. _legacy_dvb_apis: + +*************************** +Digital TV Deprecated APIs +*************************** + +The APIs described here **should not** be used on new drivers or applications. + +The DVBv3 frontend API has issues with new delivery systems, including +DVB-S2, DVB-T2, ISDB, etc. + +.. attention:: + + The APIs described here doesn't necessarily reflect the current + code implementation, as this section of the document was written + for DVB version 1, while the code reflects DVB version 3 + implementation. + + +.. toctree:: + :maxdepth: 1 + + frontend_legacy_dvbv3_api + legacy_dvb_decoder_api diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/net-remove-if.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/net-remove-if.rst index 54765cb181..ac88691c04 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/net-remove-if.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/net-remove-if.rst @@ -1,46 +1,46 @@ -.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later -.. c:namespace:: DTV.net - -.. _NET_REMOVE_IF: - -******************* -ioctl NET_REMOVE_IF -******************* - -Name -==== - -NET_REMOVE_IF - Removes a network interface. - -Synopsis -======== - -.. c:macro:: NET_REMOVE_IF - -``int ioctl(int fd, NET_REMOVE_IF, int ifnum)`` - -Arguments -========= - -``fd`` - File descriptor returned by :c:func:`open()`. - -``net_if`` - number of the interface to be removed - -Description -=========== - -The NET_REMOVE_IF ioctl deletes an interface previously created via -:ref:`NET_ADD_IF `. - -Return Value -============ - -On success 0 is returned, and :c:type:`ca_slot_info` is filled. - -On error -1 is returned, and the ``errno`` variable is set -appropriately. - -The generic error codes are described at the -:ref:`Generic Error Codes ` chapter. +.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later +.. c:namespace:: DTV.net + +.. _NET_REMOVE_IF: + +******************* +ioctl NET_REMOVE_IF +******************* + +Name +==== + +NET_REMOVE_IF - Removes a network interface. + +Synopsis +======== + +.. c:macro:: NET_REMOVE_IF + +``int ioctl(int fd, NET_REMOVE_IF, int ifnum)`` + +Arguments +========= + +``fd`` + File descriptor returned by :c:func:`open()`. + +``net_if`` + number of the interface to be removed + +Description +=========== + +The NET_REMOVE_IF ioctl deletes an interface previously created via +:ref:`NET_ADD_IF `. + +Return Value +============ + +On success 0 is returned, and :c:type:`ca_slot_info` is filled. + +On error -1 is returned, and the ``errno`` variable is set +appropriately. + +The generic error codes are described at the +:ref:`Generic Error Codes ` chapter. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/mediactl/media-controller.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/mediactl/media-controller.rst index 336f77f457..73a87f82f9 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/mediactl/media-controller.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/mediactl/media-controller.rst @@ -1,49 +1,49 @@ -.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later -.. include:: - -.. _media_controller: - -############################## -Part IV - Media Controller API -############################## - -.. toctree:: - :caption: Table of Contents - :maxdepth: 5 - :numbered: - - media-controller-intro - media-controller-model - media-types - request-api - media-funcs - media-header - - -********************** -Revision and Copyright -********************** - -Authors: - -- Pinchart, Laurent - - - Initial version. - -- Carvalho Chehab, Mauro - - - MEDIA_IOC_G_TOPOLOGY documentation and documentation improvements. - -**Copyright** |copy| 2010 : Laurent Pinchart - -**Copyright** |copy| 2015-2016 : Mauro Carvalho Chehab - -**************** -Revision History -**************** - -:revision: 1.1.0 / 2015-12-12 (*mcc*) - -:revision: 1.0.0 / 2010-11-10 (*lp*) - -Initial revision +.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later +.. include:: + +.. _media_controller: + +############################## +Part IV - Media Controller API +############################## + +.. toctree:: + :caption: Table of Contents + :maxdepth: 5 + :numbered: + + media-controller-intro + media-controller-model + media-types + request-api + media-funcs + media-header + + +********************** +Revision and Copyright +********************** + +Authors: + +- Pinchart, Laurent + + - Initial version. + +- Carvalho Chehab, Mauro + + - MEDIA_IOC_G_TOPOLOGY documentation and documentation improvements. + +**Copyright** |copy| 2010 : Laurent Pinchart + +**Copyright** |copy| 2015-2016 : Mauro Carvalho Chehab + +**************** +Revision History +**************** + +:revision: 1.1.0 / 2015-12-12 (*mcc*) + +:revision: 1.0.0 / 2010-11-10 (*lp*) + +Initial revision diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/mediactl/media-func-close.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/mediactl/media-func-close.rst index 5048cc4e22..8ac2443e76 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/mediactl/media-func-close.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/mediactl/media-func-close.rst @@ -1,43 +1,43 @@ -.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later -.. c:namespace:: MC - -.. _media-func-close: - -************* -media close() -************* - -Name -==== - -media-close - Close a media device - -Synopsis -======== - -.. code-block:: c - - #include - -.. c:function:: int close( int fd ) - -Arguments -========= - -``fd`` - File descriptor returned by :c:func:`open()`. - -Description -=========== - -Closes the media device. Resources associated with the file descriptor -are freed. The device configuration remain unchanged. - -Return Value -============ - -:c:func:`close()` returns 0 on success. On error, -1 is returned, and -``errno`` is set appropriately. Possible error codes are: - -EBADF - ``fd`` is not a valid open file descriptor. +.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later +.. c:namespace:: MC + +.. _media-func-close: + +************* +media close() +************* + +Name +==== + +media-close - Close a media device + +Synopsis +======== + +.. code-block:: c + + #include + +.. c:function:: int close( int fd ) + +Arguments +========= + +``fd`` + File descriptor returned by :c:func:`open()`. + +Description +=========== + +Closes the media device. Resources associated with the file descriptor +are freed. The device configuration remain unchanged. + +Return Value +============ + +:c:func:`close()` returns 0 on success. On error, -1 is returned, and +``errno`` is set appropriately. Possible error codes are: + +EBADF + ``fd`` is not a valid open file descriptor. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/mediactl/request-func-close.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/mediactl/request-func-close.rst index 0f149642e9..f4b8eb385a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/mediactl/request-func-close.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/mediactl/request-func-close.rst @@ -1,45 +1,45 @@ -.. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later -.. c:namespace:: MC.request - -.. _request-func-close: - -*************** -request close() -*************** - -Name -==== - -request-close - Close a request file descriptor - -Synopsis -======== - -.. code-block:: c - - #include - -.. c:function:: int close( int fd ) - -Arguments -========= - -``fd`` - File descriptor returned by :ref:`MEDIA_IOC_REQUEST_ALLOC`. - -Description -=========== - -Closes the request file descriptor. Resources associated with the request -are freed once all file descriptors associated with the request are closed -and the driver has completed the request. -See :ref:`here ` for more information. - -Return Value -============ - -:c:func:`close()` returns 0 on success. On error, -1 is -returned, and ``errno`` is set appropriately. Possible error codes are: - -EBADF - ``fd`` is not a valid open file descriptor. +.. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later +.. c:namespace:: MC.request + +.. _request-func-close: + +*************** +request close() +*************** + +Name +==== + +request-close - Close a request file descriptor + +Synopsis +======== + +.. code-block:: c + + #include + +.. c:function:: int close( int fd ) + +Arguments +========= + +``fd`` + File descriptor returned by :ref:`MEDIA_IOC_REQUEST_ALLOC`. + +Description +=========== + +Closes the request file descriptor. Resources associated with the request +are freed once all file descriptors associated with the request are closed +and the driver has completed the request. +See :ref:`here ` for more information. + +Return Value +============ + +:c:func:`close()` returns 0 on success. On error, -1 is +returned, and ``errno`` is set appropriately. Possible error codes are: + +EBADF + ``fd`` is not a valid open file descriptor. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/rc/lirc-set-send-carrier.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/rc/lirc-set-send-carrier.rst index c823d69890..a003f94475 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/rc/lirc-set-send-carrier.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/rc/lirc-set-send-carrier.rst @@ -1,41 +1,41 @@ -.. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later -.. c:namespace:: RC - -.. _lirc_set_send_carrier: - -*************************** -ioctl LIRC_SET_SEND_CARRIER -*************************** - -Name -==== - -LIRC_SET_SEND_CARRIER - Set send carrier used to modulate IR TX. - -Synopsis -======== - -.. c:macro:: LIRC_SET_SEND_CARRIER - -``int ioctl(int fd, LIRC_SET_SEND_CARRIER, __u32 *frequency)`` - -Arguments -========= - -``fd`` - File descriptor returned by open(). - -``frequency`` - Frequency of the carrier to be modulated, in Hz. - -Description -=========== - -Set send carrier used to modulate IR PWM pulses and spaces. - -Return Value -============ - -On success 0 is returned, on error -1 and the ``errno`` variable is set -appropriately. The generic error codes are described at the -:ref:`Generic Error Codes ` chapter. +.. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later +.. c:namespace:: RC + +.. _lirc_set_send_carrier: + +*************************** +ioctl LIRC_SET_SEND_CARRIER +*************************** + +Name +==== + +LIRC_SET_SEND_CARRIER - Set send carrier used to modulate IR TX. + +Synopsis +======== + +.. c:macro:: LIRC_SET_SEND_CARRIER + +``int ioctl(int fd, LIRC_SET_SEND_CARRIER, __u32 *frequency)`` + +Arguments +========= + +``fd`` + File descriptor returned by open(). + +``frequency`` + Frequency of the carrier to be modulated, in Hz. + +Description +=========== + +Set send carrier used to modulate IR PWM pulses and spaces. + +Return Value +============ + +On success 0 is returned, on error -1 and the ``errno`` variable is set +appropriately. The generic error codes are described at the +:ref:`Generic Error Codes ` chapter. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/rc/rc-intro.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/rc/rc-intro.rst index 80029904b9..2ba62cde23 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/rc/rc-intro.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/rc/rc-intro.rst @@ -1,24 +1,24 @@ -.. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later - -.. _Remote_controllers_Intro: - -************ -Introduction -************ - -Currently, most analog and digital devices have a Infrared input for -remote controllers. Each manufacturer has their own type of control. It -is not rare for the same manufacturer to ship different types of -controls, depending on the device. - -A Remote Controller interface is mapped as a normal evdev/input -interface, just like a keyboard or a mouse. So, it uses all ioctls -already defined for any other input devices. - -However, remove controllers are more flexible than a normal input -device, as the IR receiver (and/or transmitter) can be used in -conjunction with a wide variety of different IR remotes. - -In order to allow flexibility, the Remote Controller subsystem allows -controlling the RC-specific attributes via -:ref:`the sysfs class nodes `. +.. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later + +.. _Remote_controllers_Intro: + +************ +Introduction +************ + +Currently, most analog and digital devices have a Infrared input for +remote controllers. Each manufacturer has their own type of control. It +is not rare for the same manufacturer to ship different types of +controls, depending on the device. + +A Remote Controller interface is mapped as a normal evdev/input +interface, just like a keyboard or a mouse. So, it uses all ioctls +already defined for any other input devices. + +However, remove controllers are more flexible than a normal input +device, as the IR receiver (and/or transmitter) can be used in +conjunction with a wide variety of different IR remotes. + +In order to allow flexibility, the Remote Controller subsystem allows +controlling the RC-specific attributes via +:ref:`the sysfs class nodes `. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/rc/remote_controllers.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/rc/remote_controllers.rst index eb2a300a8a..483f9ae92a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/rc/remote_controllers.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/rc/remote_controllers.rst @@ -1,46 +1,46 @@ -.. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later -.. include:: - -.. _remote_controllers: - -################################ -Part III - Remote Controller API -################################ - -.. toctree:: - :caption: Table of Contents - :maxdepth: 5 - :numbered: - - rc-intro - rc-sysfs-nodes - rc-protos - rc-tables - rc-table-change - lirc-dev - - -********************** -Revision and Copyright -********************** - -Authors: - -- Carvalho Chehab, Mauro - - - Initial version. - -**Copyright** |copy| 2009-2016 : Mauro Carvalho Chehab - -**************** -Revision History -**************** - -:revision: 3.15 / 2014-02-06 (*mcc*) - -Added the interface description and the RC sysfs class description. - - -:revision: 1.0 / 2009-09-06 (*mcc*) - -Initial revision +.. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later +.. include:: + +.. _remote_controllers: + +################################ +Part III - Remote Controller API +################################ + +.. toctree:: + :caption: Table of Contents + :maxdepth: 5 + :numbered: + + rc-intro + rc-sysfs-nodes + rc-protos + rc-tables + rc-table-change + lirc-dev + + +********************** +Revision and Copyright +********************** + +Authors: + +- Carvalho Chehab, Mauro + + - Initial version. + +**Copyright** |copy| 2009-2016 : Mauro Carvalho Chehab + +**************** +Revision History +**************** + +:revision: 3.15 / 2014-02-06 (*mcc*) + +Added the interface description and the RC sysfs class description. + + +:revision: 1.0 / 2009-09-06 (*mcc*) + +Initial revision diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/fourcc.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/fourcc.rst index d0f5ff8b25..d3482c40da 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/fourcc.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/fourcc.rst @@ -1,32 +1,32 @@ -.. SPDX-License-Identifier: GPL-2.0 - -Guidelines for Video4Linux pixel format 4CCs -============================================ - -Guidelines for Video4Linux 4CC codes defined using v4l2_fourcc() are -specified in this document. First of the characters defines the nature of -the pixel format, compression and colour space. The interpretation of the -other three characters depends on the first one. - -Existing 4CCs may not obey these guidelines. - -Raw bayer ---------- - -The following first characters are used by raw bayer formats: - -- B: raw bayer, uncompressed -- b: raw bayer, DPCM compressed -- a: A-law compressed -- u: u-law compressed - -2nd character: pixel order - -- B: BGGR -- G: GBRG -- g: GRBG -- R: RGGB - -3rd character: uncompressed bits-per-pixel 0--9, A-- - -4th character: compressed bits-per-pixel 0--9, A-- +.. SPDX-License-Identifier: GPL-2.0 + +Guidelines for Video4Linux pixel format 4CCs +============================================ + +Guidelines for Video4Linux 4CC codes defined using v4l2_fourcc() are +specified in this document. First of the characters defines the nature of +the pixel format, compression and colour space. The interpretation of the +other three characters depends on the first one. + +Existing 4CCs may not obey these guidelines. + +Raw bayer +--------- + +The following first characters are used by raw bayer formats: + +- B: raw bayer, uncompressed +- b: raw bayer, DPCM compressed +- a: A-law compressed +- u: u-law compressed + +2nd character: pixel order + +- B: BGGR +- G: GBRG +- g: GRBG +- R: RGGB + +3rd character: uncompressed bits-per-pixel 0--9, A-- + +4th character: compressed bits-per-pixel 0--9, A-- diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/func-close.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/func-close.rst index b362041c16..dba3263fd1 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/func-close.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/func-close.rst @@ -1,45 +1,45 @@ -.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later -.. c:namespace:: V4L - -.. _func-close: - -************ -V4L2 close() -************ - -Name -==== - -v4l2-close - Close a V4L2 device - -Synopsis -======== - -.. code-block:: c - - #include - -.. c:function:: int close( int fd ) - -Arguments -========= - -``fd`` - File descriptor returned by :c:func:`open()`. - -Description -=========== - -Closes the device. Any I/O in progress is terminated and resources -associated with the file descriptor are freed. However data format -parameters, current input or output, control values or other properties -remain unchanged. - -Return Value -============ - -The function returns 0 on success, -1 on failure and the ``errno`` is -set appropriately. Possible error codes: - -EBADF - ``fd`` is not a valid open file descriptor. +.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later +.. c:namespace:: V4L + +.. _func-close: + +************ +V4L2 close() +************ + +Name +==== + +v4l2-close - Close a V4L2 device + +Synopsis +======== + +.. code-block:: c + + #include + +.. c:function:: int close( int fd ) + +Arguments +========= + +``fd`` + File descriptor returned by :c:func:`open()`. + +Description +=========== + +Closes the device. Any I/O in progress is terminated and resources +associated with the file descriptor are freed. However data format +parameters, current input or output, control values or other properties +remain unchanged. + +Return Value +============ + +The function returns 0 on success, -1 on failure and the ``errno`` is +set appropriately. Possible error codes: + +EBADF + ``fd`` is not a valid open file descriptor. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/pipeline.dot b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/pipeline.dot index f9cb388b14..8c53ce719a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/pipeline.dot +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/pipeline.dot @@ -1,14 +1,14 @@ -# SPDX-License-Identifier: GPL-2.0 - -digraph board { - rankdir=TB - colorscheme=x11 - scaler [label="{ 0} | Host\nScaler | { 1} ", shape=Mrecord, style=filled, fillcolor=lightblue] - frontend [label="{ 0} | Host\nFrontend | { 1}", shape=Mrecord, style=filled, fillcolor=lightblue] - sensor [label="Sensor | { 0}", shape=Mrecord, style=filled, fillcolor=aquamarine] - io [label="{ 0} | V4L I/O", shape=Mrecord, style=filled, fillcolor=aquamarine] - - sensor:sensor_0 -> frontend:frontend_0 [color=blue, label="HQ: 2592x1968\nHS: 1296x984"] - frontend:frontend_1 -> scaler:scaler_0 [color=blue, label="HQ: 2592x1968\nHS: 1296x984"] - scaler:scaler_1 -> io:io_0 [color=blue, label="HQ: 1280x720\nHS: 1280x720"] -} +# SPDX-License-Identifier: GPL-2.0 + +digraph board { + rankdir=TB + colorscheme=x11 + scaler [label="{ 0} | Host\nScaler | { 1} ", shape=Mrecord, style=filled, fillcolor=lightblue] + frontend [label="{ 0} | Host\nFrontend | { 1}", shape=Mrecord, style=filled, fillcolor=lightblue] + sensor [label="Sensor | { 0}", shape=Mrecord, style=filled, fillcolor=aquamarine] + io [label="{ 0} | V4L I/O", shape=Mrecord, style=filled, fillcolor=aquamarine] + + sensor:sensor_0 -> frontend:frontend_0 [color=blue, label="HQ: 2592x1968\nHS: 1296x984"] + frontend:frontend_1 -> scaler:scaler_0 [color=blue, label="HQ: 2592x1968\nHS: 1296x984"] + scaler:scaler_1 -> io:io_0 [color=blue, label="HQ: 1280x720\nHS: 1280x720"] +} diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/pixfmt-bayer.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/pixfmt-bayer.rst index 116816ef40..ed3eb43296 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/pixfmt-bayer.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/pixfmt-bayer.rst @@ -1,33 +1,33 @@ -.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later - -.. _pixfmt-bayer: - -***************** -Raw Bayer Formats -***************** - -Description -=========== - -The raw Bayer formats are used by image sensors before much if any processing is -performed on the image. The formats contain green, red and blue components, with -alternating lines of red and green, and blue and green pixels in different -orders. See also `the Wikipedia article on Bayer filter -`__. - - -.. toctree:: - :maxdepth: 1 - - pixfmt-srggb8 - pixfmt-srggb8-pisp-comp - pixfmt-srggb10 - pixfmt-srggb10p - pixfmt-srggb10alaw8 - pixfmt-srggb10dpcm8 - pixfmt-srggb10-ipu3 - pixfmt-srggb12 - pixfmt-srggb12p - pixfmt-srggb14 - pixfmt-srggb14p - pixfmt-srggb16 +.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later + +.. _pixfmt-bayer: + +***************** +Raw Bayer Formats +***************** + +Description +=========== + +The raw Bayer formats are used by image sensors before much if any processing is +performed on the image. The formats contain green, red and blue components, with +alternating lines of red and green, and blue and green pixels in different +orders. See also `the Wikipedia article on Bayer filter +`__. + + +.. toctree:: + :maxdepth: 1 + + pixfmt-srggb8 + pixfmt-srggb8-pisp-comp + pixfmt-srggb10 + pixfmt-srggb10p + pixfmt-srggb10alaw8 + pixfmt-srggb10dpcm8 + pixfmt-srggb10-ipu3 + pixfmt-srggb12 + pixfmt-srggb12p + pixfmt-srggb14 + pixfmt-srggb14p + pixfmt-srggb16 diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/pixfmt-indexed.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/pixfmt-indexed.rst index 8eaf2c789b..5bd4a47c58 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/pixfmt-indexed.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/pixfmt-indexed.rst @@ -1,47 +1,47 @@ -.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later - -.. _pixfmt-indexed: - -************** -Indexed Format -************** - -In this format each pixel is represented by an 8 bit index into a 256 -entry ARGB palette. It is intended for -:ref:`Video Output Overlays ` only. There are no ioctls to access -the palette, this must be done with ioctls of the Linux framebuffer API. - - - -.. flat-table:: Indexed Image Format - :header-rows: 2 - :stub-columns: 0 - - * - Identifier - - Code - - - - :cspan:`7` Byte 0 - * - - - - - Bit - - 7 - - 6 - - 5 - - 4 - - 3 - - 2 - - 1 - - 0 - * .. _V4L2-PIX-FMT-PAL8: - - - ``V4L2_PIX_FMT_PAL8`` - - 'PAL8' - - - - i\ :sub:`7` - - i\ :sub:`6` - - i\ :sub:`5` - - i\ :sub:`4` - - i\ :sub:`3` - - i\ :sub:`2` - - i\ :sub:`1` - - i\ :sub:`0` +.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later + +.. _pixfmt-indexed: + +************** +Indexed Format +************** + +In this format each pixel is represented by an 8 bit index into a 256 +entry ARGB palette. It is intended for +:ref:`Video Output Overlays ` only. There are no ioctls to access +the palette, this must be done with ioctls of the Linux framebuffer API. + + + +.. flat-table:: Indexed Image Format + :header-rows: 2 + :stub-columns: 0 + + * - Identifier + - Code + - + - :cspan:`7` Byte 0 + * - + - + - Bit + - 7 + - 6 + - 5 + - 4 + - 3 + - 2 + - 1 + - 0 + * .. _V4L2-PIX-FMT-PAL8: + + - ``V4L2_PIX_FMT_PAL8`` + - 'PAL8' + - + - i\ :sub:`7` + - i\ :sub:`6` + - i\ :sub:`5` + - i\ :sub:`4` + - i\ :sub:`3` + - i\ :sub:`2` + - i\ :sub:`1` + - i\ :sub:`0` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/pixfmt-sdr-cs08.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/pixfmt-sdr-cs08.rst index 64b05d03e8..bd6ee6111d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/pixfmt-sdr-cs08.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/pixfmt-sdr-cs08.rst @@ -1,30 +1,30 @@ -.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later - -.. _v4l2-sdr-fmt-cs8: - -************************* -V4L2_SDR_FMT_CS8 ('CS08') -************************* - -Complex signed 8-bit IQ sample - - -Description -=========== - -This format contains sequence of complex number samples. Each complex -number consist two parts, called In-phase and Quadrature (IQ). Both I -and Q are represented as a 8 bit signed number. I value comes first and -Q value after that. - -**Byte Order.** -Each cell is one byte. - -.. flat-table:: - :header-rows: 0 - :stub-columns: 0 - - * - start + 0: - - I'\ :sub:`0` - * - start + 1: - - Q'\ :sub:`0` +.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later + +.. _v4l2-sdr-fmt-cs8: + +************************* +V4L2_SDR_FMT_CS8 ('CS08') +************************* + +Complex signed 8-bit IQ sample + + +Description +=========== + +This format contains sequence of complex number samples. Each complex +number consist two parts, called In-phase and Quadrature (IQ). Both I +and Q are represented as a 8 bit signed number. I value comes first and +Q value after that. + +**Byte Order.** +Each cell is one byte. + +.. flat-table:: + :header-rows: 0 + :stub-columns: 0 + + * - start + 0: + - I'\ :sub:`0` + * - start + 1: + - Q'\ :sub:`0` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/pixfmt-sdr-cs14le.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/pixfmt-sdr-cs14le.rst index dbb883e97a..ea21b288d3 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/pixfmt-sdr-cs14le.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/pixfmt-sdr-cs14le.rst @@ -1,34 +1,34 @@ -.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later - -.. _V4L2-SDR-FMT-CS14LE: - -**************************** -V4L2_SDR_FMT_CS14LE ('CS14') -**************************** - -Complex signed 14-bit little endian IQ sample - - -Description -=========== - -This format contains sequence of complex number samples. Each complex -number consist two parts, called In-phase and Quadrature (IQ). Both I -and Q are represented as a 14 bit signed little endian number. I value -comes first and Q value after that. 14 bit value 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[13:8]` - * - start + 2: - - Q'\ :sub:`0[7:0]` - - Q'\ :sub:`0[13:8]` +.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later + +.. _V4L2-SDR-FMT-CS14LE: + +**************************** +V4L2_SDR_FMT_CS14LE ('CS14') +**************************** + +Complex signed 14-bit little endian IQ sample + + +Description +=========== + +This format contains sequence of complex number samples. Each complex +number consist two parts, called In-phase and Quadrature (IQ). Both I +and Q are represented as a 14 bit signed little endian number. I value +comes first and Q value after that. 14 bit value 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[13:8]` + * - start + 2: + - Q'\ :sub:`0[7:0]` + - Q'\ :sub:`0[13:8]` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/pixfmt-sdr-cu08.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/pixfmt-sdr-cu08.rst index e8dd6b9490..45fce09d85 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/pixfmt-sdr-cu08.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/pixfmt-sdr-cu08.rst @@ -1,30 +1,30 @@ -.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later - -.. _v4l2-sdr-fmt-cu8: - -************************* -V4L2_SDR_FMT_CU8 ('CU08') -************************* - -Complex unsigned 8-bit IQ sample - - -Description -=========== - -This format contains sequence of complex number samples. Each complex -number consist two parts, called In-phase and Quadrature (IQ). Both I -and Q are represented as a 8 bit unsigned number. I value comes first -and Q value after that. - -**Byte Order.** -Each cell is one byte. - -.. flat-table:: - :header-rows: 0 - :stub-columns: 0 - - * - start + 0: - - I'\ :sub:`0` - * - start + 1: - - Q'\ :sub:`0` +.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later + +.. _v4l2-sdr-fmt-cu8: + +************************* +V4L2_SDR_FMT_CU8 ('CU08') +************************* + +Complex unsigned 8-bit IQ sample + + +Description +=========== + +This format contains sequence of complex number samples. Each complex +number consist two parts, called In-phase and Quadrature (IQ). Both I +and Q are represented as a 8 bit unsigned number. I value comes first +and Q value after that. + +**Byte Order.** +Each cell is one byte. + +.. flat-table:: + :header-rows: 0 + :stub-columns: 0 + + * - start + 0: + - I'\ :sub:`0` + * - start + 1: + - Q'\ :sub:`0` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/pixfmt-sdr-cu16le.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/pixfmt-sdr-cu16le.rst index cf40bc47ea..7f4242f8da 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/pixfmt-sdr-cu16le.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/pixfmt-sdr-cu16le.rst @@ -1,34 +1,34 @@ -.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later - -.. _V4L2-SDR-FMT-CU16LE: - -**************************** -V4L2_SDR_FMT_CU16LE ('CU16') -**************************** - - -Complex unsigned 16-bit little endian IQ sample - - -Description -=========== - -This format contains sequence of complex number samples. Each complex -number consist two parts, called In-phase and Quadrature (IQ). Both I -and Q are represented as a 16 bit unsigned little endian number. I value -comes first and Q value after that. - -**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[15:8]` - * - start + 2: - - Q'\ :sub:`0[7:0]` - - Q'\ :sub:`0[15:8]` +.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later + +.. _V4L2-SDR-FMT-CU16LE: + +**************************** +V4L2_SDR_FMT_CU16LE ('CU16') +**************************** + + +Complex unsigned 16-bit little endian IQ sample + + +Description +=========== + +This format contains sequence of complex number samples. Each complex +number consist two parts, called In-phase and Quadrature (IQ). Both I +and Q are represented as a 16 bit unsigned little endian number. I value +comes first and Q value after that. + +**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[15:8]` + * - start + 2: + - Q'\ :sub:`0[7:0]` + - Q'\ :sub:`0[15:8]` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/pixfmt-uv8.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/pixfmt-uv8.rst index 170759ade2..ff1d73ef5d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/pixfmt-uv8.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/pixfmt-uv8.rst @@ -1,47 +1,47 @@ -.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later - -.. _V4L2-PIX-FMT-UV8: - -************************ -V4L2_PIX_FMT_UV8 ('UV8') -************************ - - -UV plane interleaved - - -Description -=========== - -In this format there is no Y plane, Only CbCr plane. ie (UV interleaved) - -**Byte Order.** -Each cell is one byte. - - - - -.. flat-table:: - :header-rows: 0 - :stub-columns: 0 - - * - start + 0: - - Cb\ :sub:`00` - - Cr\ :sub:`00` - - Cb\ :sub:`01` - - Cr\ :sub:`01` - * - start + 4: - - Cb\ :sub:`10` - - Cr\ :sub:`10` - - Cb\ :sub:`11` - - Cr\ :sub:`11` - * - start + 8: - - Cb\ :sub:`20` - - Cr\ :sub:`20` - - Cb\ :sub:`21` - - Cr\ :sub:`21` - * - start + 12: - - Cb\ :sub:`30` - - Cr\ :sub:`30` - - Cb\ :sub:`31` - - Cr\ :sub:`31` +.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later + +.. _V4L2-PIX-FMT-UV8: + +************************ +V4L2_PIX_FMT_UV8 ('UV8') +************************ + + +UV plane interleaved + + +Description +=========== + +In this format there is no Y plane, Only CbCr plane. ie (UV interleaved) + +**Byte Order.** +Each cell is one byte. + + + + +.. flat-table:: + :header-rows: 0 + :stub-columns: 0 + + * - start + 0: + - Cb\ :sub:`00` + - Cr\ :sub:`00` + - Cb\ :sub:`01` + - Cr\ :sub:`01` + * - start + 4: + - Cb\ :sub:`10` + - Cr\ :sub:`10` + - Cb\ :sub:`11` + - Cr\ :sub:`11` + * - start + 8: + - Cb\ :sub:`20` + - Cr\ :sub:`20` + - Cb\ :sub:`21` + - Cr\ :sub:`21` + * - start + 12: + - Cb\ :sub:`30` + - Cr\ :sub:`30` + - Cb\ :sub:`31` + - Cr\ :sub:`31` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/pixfmt-y12i.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/pixfmt-y12i.rst index 2c125826b8..d9b539381d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/pixfmt-y12i.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/pixfmt-y12i.rst @@ -1,36 +1,36 @@ -.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later - -.. _V4L2-PIX-FMT-Y12I: - -************************** -V4L2_PIX_FMT_Y12I ('Y12I') -************************** - -Interleaved grey-scale image, e.g. from a stereo-pair - - -Description -=========== - -This is a grey-scale image with a depth of 12 bits per pixel, but with -pixels from 2 sources interleaved and bit-packed. Each pixel is stored -in a 24-bit word in the little-endian order. On a little-endian machine -these pixels can be deinterlaced using - -.. code-block:: c - - __u8 *buf; - left0 = 0xfff & *(__u16 *)buf; - right0 = *(__u16 *)(buf + 1) >> 4; - -**Bit-packed representation.** -pixels cross the byte boundary and have a ratio of 3 bytes for each -interleaved pixel. - -.. flat-table:: - :header-rows: 0 - :stub-columns: 0 - - * - Y'\ :sub:`0left[7:0]` - - Y'\ :sub:`0right[3:0]`\ Y'\ :sub:`0left[11:8]` - - Y'\ :sub:`0right[11:4]` +.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later + +.. _V4L2-PIX-FMT-Y12I: + +************************** +V4L2_PIX_FMT_Y12I ('Y12I') +************************** + +Interleaved grey-scale image, e.g. from a stereo-pair + + +Description +=========== + +This is a grey-scale image with a depth of 12 bits per pixel, but with +pixels from 2 sources interleaved and bit-packed. Each pixel is stored +in a 24-bit word in the little-endian order. On a little-endian machine +these pixels can be deinterlaced using + +.. code-block:: c + + __u8 *buf; + left0 = 0xfff & *(__u16 *)buf; + right0 = *(__u16 *)(buf + 1) >> 4; + +**Bit-packed representation.** +pixels cross the byte boundary and have a ratio of 3 bytes for each +interleaved pixel. + +.. flat-table:: + :header-rows: 0 + :stub-columns: 0 + + * - Y'\ :sub:`0left[7:0]` + - Y'\ :sub:`0right[3:0]`\ Y'\ :sub:`0left[11:8]` + - Y'\ :sub:`0right[11:4]` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/selections-common.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/selections-common.rst index 0b99448c55..322b39cf0e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/selections-common.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/selections-common.rst @@ -1,23 +1,23 @@ -.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later - -.. _v4l2-selections-common: - -Common selection definitions -============================ - -While the :ref:`V4L2 selection API ` and -:ref:`V4L2 subdev selection APIs ` are very -similar, there's one fundamental difference between the two. On -sub-device API, the selection rectangle refers to the media bus format, -and is bound to a sub-device's pad. On the V4L2 interface the selection -rectangles refer to the in-memory pixel format. - -This section defines the common definitions of the selection interfaces -on the two APIs. - - -.. toctree:: - :maxdepth: 1 - - v4l2-selection-targets - v4l2-selection-flags +.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later + +.. _v4l2-selections-common: + +Common selection definitions +============================ + +While the :ref:`V4L2 selection API ` and +:ref:`V4L2 subdev selection APIs ` are very +similar, there's one fundamental difference between the two. On +sub-device API, the selection rectangle refers to the media bus format, +and is bound to a sub-device's pad. On the V4L2 interface the selection +rectangles refer to the in-memory pixel format. + +This section defines the common definitions of the selection interfaces +on the two APIs. + + +.. toctree:: + :maxdepth: 1 + + v4l2-selection-targets + v4l2-selection-flags diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/w1/masters/ds2482.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/w1/masters/ds2482.rst index 74f3a300ba..17ebe8f660 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/w1/masters/ds2482.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/w1/masters/ds2482.rst @@ -1,39 +1,39 @@ -==================== -Kernel driver ds2482 -==================== - -Supported chips: - - * Maxim DS2482-100, Maxim DS2482-800 - - Prefix: 'ds2482' - - Addresses scanned: None - - Datasheets: - - - http://datasheets.maxim-ic.com/en/ds/DS2482-100.pdf - - http://datasheets.maxim-ic.com/en/ds/DS2482-800.pdf - -Author: Ben Gardner - - -Description ------------ - -The Maxim/Dallas Semiconductor DS2482 is a I2C device that provides -one (DS2482-100) or eight (DS2482-800) 1-wire busses. - - -General Remarks ---------------- - -Valid addresses are 0x18, 0x19, 0x1a, and 0x1b. - -However, the device cannot be detected without writing to the i2c bus, so no -detection is done. You should instantiate the device explicitly. - -:: - - $ modprobe ds2482 - $ echo ds2482 0x18 > /sys/bus/i2c/devices/i2c-0/new_device +==================== +Kernel driver ds2482 +==================== + +Supported chips: + + * Maxim DS2482-100, Maxim DS2482-800 + + Prefix: 'ds2482' + + Addresses scanned: None + + Datasheets: + + - http://datasheets.maxim-ic.com/en/ds/DS2482-100.pdf + - http://datasheets.maxim-ic.com/en/ds/DS2482-800.pdf + +Author: Ben Gardner + + +Description +----------- + +The Maxim/Dallas Semiconductor DS2482 is a I2C device that provides +one (DS2482-100) or eight (DS2482-800) 1-wire busses. + + +General Remarks +--------------- + +Valid addresses are 0x18, 0x19, 0x1a, and 0x1b. + +However, the device cannot be detected without writing to the i2c bus, so no +detection is done. You should instantiate the device explicitly. + +:: + + $ modprobe ds2482 + $ echo ds2482 0x18 > /sys/bus/i2c/devices/i2c-0/new_device diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/watchdog/watchdog-pm.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/watchdog/watchdog-pm.rst index d987f55482..646e1f28f3 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/watchdog/watchdog-pm.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/watchdog/watchdog-pm.rst @@ -1,22 +1,22 @@ -=============================================== -The Linux WatchDog Timer Power Management Guide -=============================================== - -Last reviewed: 17-Dec-2018 - -Wolfram Sang - -Introduction ------------- -This document states rules about watchdog devices and their power management -handling to ensure a uniform behaviour for Linux systems. - - -Ping on resume --------------- -On resume, a watchdog timer shall be reset to its selected value to give -userspace enough time to resume. [1] [2] - -[1] https://patchwork.kernel.org/patch/10252209/ - -[2] https://patchwork.kernel.org/patch/10711625/ +=============================================== +The Linux WatchDog Timer Power Management Guide +=============================================== + +Last reviewed: 17-Dec-2018 + +Wolfram Sang + +Introduction +------------ +This document states rules about watchdog devices and their power management +handling to ensure a uniform behaviour for Linux systems. + + +Ping on resume +-------------- +On resume, a watchdog timer shall be reset to its selected value to give +userspace enough time to resume. [1] [2] + +[1] https://patchwork.kernel.org/patch/10252209/ + +[2] https://patchwork.kernel.org/patch/10711625/ diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/wmi/devices/wmi-bmof.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/wmi/devices/wmi-bmof.rst index fac3f25883..ca1ee9a29b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/wmi/devices/wmi-bmof.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/wmi/devices/wmi-bmof.rst @@ -1,25 +1,25 @@ -.. SPDX-License-Identifier: GPL-2.0-only - -============================== -WMI embedded Binary MOF driver -============================== - -Introduction -============ - -Many machines embed WMI Binary MOF (Managed Object Format) metadata used to -describe the details of their ACPI WMI interfaces. The data can be decoded -with tools like `bmfdec `_ to obtain a -human readable WMI interface description, which is useful for developing -new WMI drivers. - -The Binary MOF data can be retrieved from the ``bmof`` sysfs attribute of the -associated WMI device. Please note that multiple WMI devices containing Binary -MOF data can exist on a given system. - -WMI interface -============= - -The Binary MOF WMI device is identified by the WMI GUID ``05901221-D566-11D1-B2F0-00A0C9062910``. -The Binary MOF can be obtained by doing a WMI data block query. The result is -then returned as an ACPI buffer with a variable size. +.. SPDX-License-Identifier: GPL-2.0-only + +============================== +WMI embedded Binary MOF driver +============================== + +Introduction +============ + +Many machines embed WMI Binary MOF (Managed Object Format) metadata used to +describe the details of their ACPI WMI interfaces. The data can be decoded +with tools like `bmfdec `_ to obtain a +human readable WMI interface description, which is useful for developing +new WMI drivers. + +The Binary MOF data can be retrieved from the ``bmof`` sysfs attribute of the +associated WMI device. Please note that multiple WMI devices containing Binary +MOF data can exist on a given system. + +WMI interface +============= + +The Binary MOF WMI device is identified by the WMI GUID ``05901221-D566-11D1-B2F0-00A0C9062910``. +The Binary MOF can be obtained by doing a WMI data block query. The result is +then returned as an ACPI buffer with a variable size. diff --git a/image/debian/UFI003_MB_V02/kernel/README b/image/debian/UFI003_MB_V02/kernel/README index 3bf9fc8858..fd903645e6 100644 --- a/image/debian/UFI003_MB_V02/kernel/README +++ b/image/debian/UFI003_MB_V02/kernel/README @@ -1,18 +1,18 @@ -Linux kernel -============ - -There are several guides for kernel developers and users. These guides can -be rendered in a number of formats, like HTML and PDF. Please read -Documentation/admin-guide/README.rst first. - -In order to build the documentation, use ``make htmldocs`` or -``make pdfdocs``. The formatted documentation can also be read online at: - - https://www.kernel.org/doc/html/latest/ - -There are various text files in the Documentation/ subdirectory, -several of them using the reStructuredText markup notation. - -Please read the Documentation/process/changes.rst file, as it contains the -requirements for building and running the kernel, and information about -the problems which may result by upgrading your kernel. +Linux kernel +============ + +There are several guides for kernel developers and users. These guides can +be rendered in a number of formats, like HTML and PDF. Please read +Documentation/admin-guide/README.rst first. + +In order to build the documentation, use ``make htmldocs`` or +``make pdfdocs``. The formatted documentation can also be read online at: + + https://www.kernel.org/doc/html/latest/ + +There are various text files in the Documentation/ subdirectory, +several of them using the reStructuredText markup notation. + +Please read the Documentation/process/changes.rst file, as it contains the +requirements for building and running the kernel, and information about +the problems which may result by upgrading your kernel. diff --git a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/agp_backend.h b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/agp_backend.h index 6f71246e4e..2718802407 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/agp_backend.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/agp_backend.h @@ -1,43 +1,43 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ALPHA_AGP_BACKEND_H -#define _ALPHA_AGP_BACKEND_H 1 - -typedef union _alpha_agp_mode { - struct { - u32 rate : 3; - u32 reserved0 : 1; - u32 fw : 1; - u32 fourgb : 1; - u32 reserved1 : 2; - u32 enable : 1; - u32 sba : 1; - u32 reserved2 : 14; - u32 rq : 8; - } bits; - u32 lw; -} alpha_agp_mode; - -typedef struct _alpha_agp_info { - struct pci_controller *hose; - struct { - dma_addr_t bus_base; - unsigned long size; - void *sysdata; - } aperture; - alpha_agp_mode capability; - alpha_agp_mode mode; - void *private; - struct alpha_agp_ops *ops; -} alpha_agp_info; - -struct alpha_agp_ops { - int (*setup)(alpha_agp_info *); - void (*cleanup)(alpha_agp_info *); - int (*configure)(alpha_agp_info *); - int (*bind)(alpha_agp_info *, off_t, struct agp_memory *); - int (*unbind)(alpha_agp_info *, off_t, struct agp_memory *); - unsigned long (*translate)(alpha_agp_info *, dma_addr_t); -}; - - -#endif /* _ALPHA_AGP_BACKEND_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ALPHA_AGP_BACKEND_H +#define _ALPHA_AGP_BACKEND_H 1 + +typedef union _alpha_agp_mode { + struct { + u32 rate : 3; + u32 reserved0 : 1; + u32 fw : 1; + u32 fourgb : 1; + u32 reserved1 : 2; + u32 enable : 1; + u32 sba : 1; + u32 reserved2 : 14; + u32 rq : 8; + } bits; + u32 lw; +} alpha_agp_mode; + +typedef struct _alpha_agp_info { + struct pci_controller *hose; + struct { + dma_addr_t bus_base; + unsigned long size; + void *sysdata; + } aperture; + alpha_agp_mode capability; + alpha_agp_mode mode; + void *private; + struct alpha_agp_ops *ops; +} alpha_agp_info; + +struct alpha_agp_ops { + int (*setup)(alpha_agp_info *); + void (*cleanup)(alpha_agp_info *); + int (*configure)(alpha_agp_info *); + int (*bind)(alpha_agp_info *, off_t, struct agp_memory *); + int (*unbind)(alpha_agp_info *, off_t, struct agp_memory *); + unsigned long (*translate)(alpha_agp_info *, dma_addr_t); +}; + + +#endif /* _ALPHA_AGP_BACKEND_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/mc146818rtc.h b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/mc146818rtc.h index 80cb56bf01..2154fd4f78 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/mc146818rtc.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/mc146818rtc.h @@ -1,28 +1,28 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Machine dependent access functions for RTC registers. - */ -#ifndef __ASM_ALPHA_MC146818RTC_H -#define __ASM_ALPHA_MC146818RTC_H - -#include - -#ifndef RTC_PORT -#define RTC_PORT(x) (0x70 + (x)) -#define RTC_ALWAYS_BCD 1 /* RTC operates in binary mode */ -#endif - -/* - * The yet supported machines all access the RTC index register via - * an ISA port access but the way to access the date register differs ... - */ -#define CMOS_READ(addr) ({ \ -outb_p((addr),RTC_PORT(0)); \ -inb_p(RTC_PORT(1)); \ -}) -#define CMOS_WRITE(val, addr) ({ \ -outb_p((addr),RTC_PORT(0)); \ -outb_p((val),RTC_PORT(1)); \ -}) - -#endif /* __ASM_ALPHA_MC146818RTC_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Machine dependent access functions for RTC registers. + */ +#ifndef __ASM_ALPHA_MC146818RTC_H +#define __ASM_ALPHA_MC146818RTC_H + +#include + +#ifndef RTC_PORT +#define RTC_PORT(x) (0x70 + (x)) +#define RTC_ALWAYS_BCD 1 /* RTC operates in binary mode */ +#endif + +/* + * The yet supported machines all access the RTC index register via + * an ISA port access but the way to access the date register differs ... + */ +#define CMOS_READ(addr) ({ \ +outb_p((addr),RTC_PORT(0)); \ +inb_p(RTC_PORT(1)); \ +}) +#define CMOS_WRITE(val, addr) ({ \ +outb_p((addr),RTC_PORT(0)); \ +outb_p((val),RTC_PORT(1)); \ +}) + +#endif /* __ASM_ALPHA_MC146818RTC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/pgalloc.h b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/pgalloc.h index 21b6fcc113..68be7adbfe 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/pgalloc.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/pgalloc.h @@ -1,36 +1,36 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ALPHA_PGALLOC_H -#define _ALPHA_PGALLOC_H - -#include -#include - -#include - -/* - * Allocate and free page tables. The xxx_kernel() versions are - * used to allocate a kernel page table - this turns on ASN bits - * if any. - */ - -static inline void -pmd_populate(struct mm_struct *mm, pmd_t *pmd, pgtable_t pte) -{ - pmd_set(pmd, (pte_t *)(page_to_pa(pte) + PAGE_OFFSET)); -} - -static inline void -pmd_populate_kernel(struct mm_struct *mm, pmd_t *pmd, pte_t *pte) -{ - pmd_set(pmd, pte); -} - -static inline void -pud_populate(struct mm_struct *mm, pud_t *pud, pmd_t *pmd) -{ - pud_set(pud, pmd); -} - -extern pgd_t *pgd_alloc(struct mm_struct *mm); - -#endif /* _ALPHA_PGALLOC_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ALPHA_PGALLOC_H +#define _ALPHA_PGALLOC_H + +#include +#include + +#include + +/* + * Allocate and free page tables. The xxx_kernel() versions are + * used to allocate a kernel page table - this turns on ASN bits + * if any. + */ + +static inline void +pmd_populate(struct mm_struct *mm, pmd_t *pmd, pgtable_t pte) +{ + pmd_set(pmd, (pte_t *)(page_to_pa(pte) + PAGE_OFFSET)); +} + +static inline void +pmd_populate_kernel(struct mm_struct *mm, pmd_t *pmd, pte_t *pte) +{ + pmd_set(pmd, pte); +} + +static inline void +pud_populate(struct mm_struct *mm, pud_t *pud, pmd_t *pmd) +{ + pud_set(pud, pmd); +} + +extern pgd_t *pgd_alloc(struct mm_struct *mm); + +#endif /* _ALPHA_PGALLOC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/ptrace.h b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/ptrace.h index d1edc558ee..3557ce64ed 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/ptrace.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/ptrace.h @@ -1,27 +1,27 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASMAXP_PTRACE_H -#define _ASMAXP_PTRACE_H - -#include - - -#define arch_has_single_step() (1) -#define user_mode(regs) (((regs)->ps & 8) != 0) -#define instruction_pointer(regs) ((regs)->pc) -#define profile_pc(regs) instruction_pointer(regs) -#define current_user_stack_pointer() rdusp() - -#define task_pt_regs(task) \ - ((struct pt_regs *) (task_stack_page(task) + 2*PAGE_SIZE) - 1) - -#define current_pt_regs() \ - ((struct pt_regs *) ((char *)current_thread_info() + 2*PAGE_SIZE) - 1) - -#define force_successful_syscall_return() (current_pt_regs()->r0 = 0) - -static inline unsigned long regs_return_value(struct pt_regs *regs) -{ - return regs->r0; -} - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASMAXP_PTRACE_H +#define _ASMAXP_PTRACE_H + +#include + + +#define arch_has_single_step() (1) +#define user_mode(regs) (((regs)->ps & 8) != 0) +#define instruction_pointer(regs) ((regs)->pc) +#define profile_pc(regs) instruction_pointer(regs) +#define current_user_stack_pointer() rdusp() + +#define task_pt_regs(task) \ + ((struct pt_regs *) (task_stack_page(task) + 2*PAGE_SIZE) - 1) + +#define current_pt_regs() \ + ((struct pt_regs *) ((char *)current_thread_info() + 2*PAGE_SIZE) - 1) + +#define force_successful_syscall_return() (current_pt_regs()->r0 = 0) + +static inline unsigned long regs_return_value(struct pt_regs *regs) +{ + return regs->r0; +} + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/rwonce.h b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/rwonce.h index 581b2401bf..35542bcf92 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/rwonce.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/rwonce.h @@ -1,35 +1,35 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2019 Google LLC. - */ -#ifndef __ASM_RWONCE_H -#define __ASM_RWONCE_H - -#ifdef CONFIG_SMP - -#include - -/* - * Alpha is apparently daft enough to reorder address-dependent loads - * on some CPU implementations. Knock some common sense into it with - * a memory barrier in READ_ONCE(). - * - * For the curious, more information about this unusual reordering is - * available in chapter 15 of the "perfbook": - * - * https://kernel.org/pub/linux/kernel/people/paulmck/perfbook/perfbook.html - * - */ -#define __READ_ONCE(x) \ -({ \ - __unqual_scalar_typeof(x) __x = \ - (*(volatile typeof(__x) *)(&(x))); \ - mb(); \ - (typeof(x))__x; \ -}) - -#endif /* CONFIG_SMP */ - -#include - -#endif /* __ASM_RWONCE_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2019 Google LLC. + */ +#ifndef __ASM_RWONCE_H +#define __ASM_RWONCE_H + +#ifdef CONFIG_SMP + +#include + +/* + * Alpha is apparently daft enough to reorder address-dependent loads + * on some CPU implementations. Knock some common sense into it with + * a memory barrier in READ_ONCE(). + * + * For the curious, more information about this unusual reordering is + * available in chapter 15 of the "perfbook": + * + * https://kernel.org/pub/linux/kernel/people/paulmck/perfbook/perfbook.html + * + */ +#define __READ_ONCE(x) \ +({ \ + __unqual_scalar_typeof(x) __x = \ + (*(volatile typeof(__x) *)(&(x))); \ + mb(); \ + (typeof(x))__x; \ +}) + +#endif /* CONFIG_SMP */ + +#include + +#endif /* __ASM_RWONCE_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/signal.h b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/signal.h index 3eeaaaa417..a40f020116 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/signal.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/signal.h @@ -1,28 +1,28 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASMAXP_SIGNAL_H -#define _ASMAXP_SIGNAL_H - -#include - -/* Digital Unix defines 64 signals. Most things should be clean enough - to redefine this at will, if care is taken to make libc match. */ - -#define _NSIG 64 -#define _NSIG_BPW 64 -#define _NSIG_WORDS (_NSIG / _NSIG_BPW) - -typedef unsigned long old_sigset_t; /* at least 32 bits */ - -typedef struct { - unsigned long sig[_NSIG_WORDS]; -} sigset_t; - -struct osf_sigaction { - __sighandler_t sa_handler; - old_sigset_t sa_mask; - int sa_flags; -}; - -#define __ARCH_HAS_KA_RESTORER -#include -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASMAXP_SIGNAL_H +#define _ASMAXP_SIGNAL_H + +#include + +/* Digital Unix defines 64 signals. Most things should be clean enough + to redefine this at will, if care is taken to make libc match. */ + +#define _NSIG 64 +#define _NSIG_BPW 64 +#define _NSIG_WORDS (_NSIG / _NSIG_BPW) + +typedef unsigned long old_sigset_t; /* at least 32 bits */ + +typedef struct { + unsigned long sig[_NSIG_WORDS]; +} sigset_t; + +struct osf_sigaction { + __sighandler_t sa_handler; + old_sigset_t sa_mask; + int sa_flags; +}; + +#define __ARCH_HAS_KA_RESTORER +#include +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/special_insns.h b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/special_insns.h index 0bf9f9a2af..798d0bdb11 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/special_insns.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/special_insns.h @@ -1,39 +1,39 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ALPHA_SPECIAL_INSNS_H -#define __ALPHA_SPECIAL_INSNS_H - -enum implver_enum { - IMPLVER_EV4, - IMPLVER_EV5, - IMPLVER_EV6 -}; - -#ifdef CONFIG_ALPHA_GENERIC -#define implver() \ -({ unsigned long __implver; \ - __asm__ ("implver %0" : "=r"(__implver)); \ - (enum implver_enum) __implver; }) -#else -/* Try to eliminate some dead code. */ -#ifdef CONFIG_ALPHA_EV56 -#define implver() IMPLVER_EV5 -#endif -#if defined(CONFIG_ALPHA_EV6) -#define implver() IMPLVER_EV6 -#endif -#endif - -enum amask_enum { - AMASK_BWX = (1UL << 0), - AMASK_FIX = (1UL << 1), - AMASK_CIX = (1UL << 2), - AMASK_MAX = (1UL << 8), - AMASK_PRECISE_TRAP = (1UL << 9), -}; - -#define amask(mask) \ -({ unsigned long __amask, __input = (mask); \ - __asm__ ("amask %1,%0" : "=r"(__amask) : "rI"(__input)); \ - __amask; }) - -#endif /* __ALPHA_SPECIAL_INSNS_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ALPHA_SPECIAL_INSNS_H +#define __ALPHA_SPECIAL_INSNS_H + +enum implver_enum { + IMPLVER_EV4, + IMPLVER_EV5, + IMPLVER_EV6 +}; + +#ifdef CONFIG_ALPHA_GENERIC +#define implver() \ +({ unsigned long __implver; \ + __asm__ ("implver %0" : "=r"(__implver)); \ + (enum implver_enum) __implver; }) +#else +/* Try to eliminate some dead code. */ +#ifdef CONFIG_ALPHA_EV56 +#define implver() IMPLVER_EV5 +#endif +#if defined(CONFIG_ALPHA_EV6) +#define implver() IMPLVER_EV6 +#endif +#endif + +enum amask_enum { + AMASK_BWX = (1UL << 0), + AMASK_FIX = (1UL << 1), + AMASK_CIX = (1UL << 2), + AMASK_MAX = (1UL << 8), + AMASK_PRECISE_TRAP = (1UL << 9), +}; + +#define amask(mask) \ +({ unsigned long __amask, __input = (mask); \ + __asm__ ("amask %1,%0" : "=r"(__amask) : "rI"(__input)); \ + __amask; }) + +#endif /* __ALPHA_SPECIAL_INSNS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/timex.h b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/timex.h index dee8f238e6..f89798da8a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/timex.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/timex.h @@ -1,33 +1,33 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * linux/include/asm-alpha/timex.h - * - * ALPHA architecture timex specifications - */ -#ifndef _ASMALPHA_TIMEX_H -#define _ASMALPHA_TIMEX_H - -/* With only one or two oddballs, we use the RTC as the ticker, selecting - the 32.768kHz reference clock, which nicely divides down to our HZ. */ -#define CLOCK_TICK_RATE 32768 - -/* - * Standard way to access the cycle counter. - * Currently only used on SMP for scheduling. - * - * Only the low 32 bits are available as a continuously counting entity. - * But this only means we'll force a reschedule every 8 seconds or so, - * which isn't an evil thing. - */ - -typedef unsigned int cycles_t; - -static inline cycles_t get_cycles (void) -{ - cycles_t ret; - __asm__ __volatile__ ("rpcc %0" : "=r"(ret)); - return ret; -} -#define get_cycles get_cycles - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * linux/include/asm-alpha/timex.h + * + * ALPHA architecture timex specifications + */ +#ifndef _ASMALPHA_TIMEX_H +#define _ASMALPHA_TIMEX_H + +/* With only one or two oddballs, we use the RTC as the ticker, selecting + the 32.768kHz reference clock, which nicely divides down to our HZ. */ +#define CLOCK_TICK_RATE 32768 + +/* + * Standard way to access the cycle counter. + * Currently only used on SMP for scheduling. + * + * Only the low 32 bits are available as a continuously counting entity. + * But this only means we'll force a reschedule every 8 seconds or so, + * which isn't an evil thing. + */ + +typedef unsigned int cycles_t; + +static inline cycles_t get_cycles (void) +{ + cycles_t ret; + __asm__ __volatile__ ("rpcc %0" : "=r"(ret)); + return ret; +} +#define get_cycles get_cycles + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/uapi/asm/auxvec.h b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/uapi/asm/auxvec.h index c0eb789179..57cae8780d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/uapi/asm/auxvec.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/uapi/asm/auxvec.h @@ -1,27 +1,27 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef __ASM_ALPHA_AUXVEC_H -#define __ASM_ALPHA_AUXVEC_H - -/* Reserve these numbers for any future use of a VDSO. */ -#if 0 -#define AT_SYSINFO 32 -#define AT_SYSINFO_EHDR 33 -#endif - -/* More complete cache descriptions than AT_[DIU]CACHEBSIZE. If the - value is -1, then the cache doesn't exist. Otherwise: - - bit 0-3: Cache set-associativity; 0 means fully associative. - bit 4-7: Log2 of cacheline size. - bit 8-31: Size of the entire cache >> 8. - bit 32-63: Reserved. -*/ - -#define AT_L1I_CACHESHAPE 34 -#define AT_L1D_CACHESHAPE 35 -#define AT_L2_CACHESHAPE 36 -#define AT_L3_CACHESHAPE 37 - -#define AT_VECTOR_SIZE_ARCH 4 /* entries in ARCH_DLINFO */ - -#endif /* __ASM_ALPHA_AUXVEC_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef __ASM_ALPHA_AUXVEC_H +#define __ASM_ALPHA_AUXVEC_H + +/* Reserve these numbers for any future use of a VDSO. */ +#if 0 +#define AT_SYSINFO 32 +#define AT_SYSINFO_EHDR 33 +#endif + +/* More complete cache descriptions than AT_[DIU]CACHEBSIZE. If the + value is -1, then the cache doesn't exist. Otherwise: + + bit 0-3: Cache set-associativity; 0 means fully associative. + bit 4-7: Log2 of cacheline size. + bit 8-31: Size of the entire cache >> 8. + bit 32-63: Reserved. +*/ + +#define AT_L1I_CACHESHAPE 34 +#define AT_L1D_CACHESHAPE 35 +#define AT_L2_CACHESHAPE 36 +#define AT_L3_CACHESHAPE 37 + +#define AT_VECTOR_SIZE_ARCH 4 /* entries in ARCH_DLINFO */ + +#endif /* __ASM_ALPHA_AUXVEC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/uapi/asm/resource.h b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/uapi/asm/resource.h index 9ecb77b2fb..362423ffe1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/uapi/asm/resource.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/uapi/asm/resource.h @@ -1,23 +1,23 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _ALPHA_RESOURCE_H -#define _ALPHA_RESOURCE_H - -/* - * Alpha/Linux-specific ordering of these four resource limit IDs, - * the rest comes from the generic header: - */ -#define RLIMIT_NOFILE 6 /* max number of open files */ -#define RLIMIT_AS 7 /* address space limit */ -#define RLIMIT_NPROC 8 /* max number of processes */ -#define RLIMIT_MEMLOCK 9 /* max locked-in-memory address space */ - -/* - * SuS says limits have to be unsigned. Fine, it's unsigned, but - * we retain the old value for compatibility, especially with DU. - * When you run into the 2^63 barrier, you call me. - */ -#define RLIM_INFINITY 0x7ffffffffffffffful - -#include - -#endif /* _ALPHA_RESOURCE_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _ALPHA_RESOURCE_H +#define _ALPHA_RESOURCE_H + +/* + * Alpha/Linux-specific ordering of these four resource limit IDs, + * the rest comes from the generic header: + */ +#define RLIMIT_NOFILE 6 /* max number of open files */ +#define RLIMIT_AS 7 /* address space limit */ +#define RLIMIT_NPROC 8 /* max number of processes */ +#define RLIMIT_MEMLOCK 9 /* max locked-in-memory address space */ + +/* + * SuS says limits have to be unsigned. Fine, it's unsigned, but + * we retain the old value for compatibility, especially with DU. + * When you run into the 2^63 barrier, you call me. + */ +#define RLIM_INFINITY 0x7ffffffffffffffful + +#include + +#endif /* _ALPHA_RESOURCE_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/uapi/asm/sigcontext.h b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/uapi/asm/sigcontext.h index 538a5c1670..5428c42567 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/uapi/asm/sigcontext.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/uapi/asm/sigcontext.h @@ -1,35 +1,35 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _ASMAXP_SIGCONTEXT_H -#define _ASMAXP_SIGCONTEXT_H - -struct sigcontext { - /* - * What should we have here? I'd probably better use the same - * stack layout as OSF/1, just in case we ever want to try - * running their binaries.. - * - * This is the basic layout, but I don't know if we'll ever - * actually fill in all the values.. - */ - long sc_onstack; - long sc_mask; - long sc_pc; - long sc_ps; - long sc_regs[32]; - long sc_ownedfp; - long sc_fpregs[32]; - unsigned long sc_fpcr; - unsigned long sc_fp_control; - unsigned long sc_reserved1, sc_reserved2; - unsigned long sc_ssize; - char * sc_sbase; - unsigned long sc_traparg_a0; - unsigned long sc_traparg_a1; - unsigned long sc_traparg_a2; - unsigned long sc_fp_trap_pc; - unsigned long sc_fp_trigger_sum; - unsigned long sc_fp_trigger_inst; -}; - - -#endif +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _ASMAXP_SIGCONTEXT_H +#define _ASMAXP_SIGCONTEXT_H + +struct sigcontext { + /* + * What should we have here? I'd probably better use the same + * stack layout as OSF/1, just in case we ever want to try + * running their binaries.. + * + * This is the basic layout, but I don't know if we'll ever + * actually fill in all the values.. + */ + long sc_onstack; + long sc_mask; + long sc_pc; + long sc_ps; + long sc_regs[32]; + long sc_ownedfp; + long sc_fpregs[32]; + unsigned long sc_fpcr; + unsigned long sc_fp_control; + unsigned long sc_reserved1, sc_reserved2; + unsigned long sc_ssize; + char * sc_sbase; + unsigned long sc_traparg_a0; + unsigned long sc_traparg_a1; + unsigned long sc_traparg_a2; + unsigned long sc_fp_trap_pc; + unsigned long sc_fp_trigger_sum; + unsigned long sc_fp_trigger_inst; +}; + + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/uapi/asm/sysinfo.h b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/uapi/asm/sysinfo.h index 21accc5fe9..188ea76c7f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/uapi/asm/sysinfo.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/uapi/asm/sysinfo.h @@ -1,32 +1,32 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -/* - * include/asm-alpha/sysinfo.h - */ - -#ifndef __ASM_ALPHA_SYSINFO_H -#define __ASM_ALPHA_SYSINFO_H - -/* This defines the subset of the OSF/1 getsysinfo/setsysinfo calls - that we support. */ - -#define GSI_UACPROC 8 -#define GSI_IEEE_FP_CONTROL 45 -#define GSI_IEEE_STATE_AT_SIGNAL 46 -#define GSI_PROC_TYPE 60 -#define GSI_GET_HWRPB 101 - -#define SSI_NVPAIRS 1 -#define SSI_LMF 7 -#define SSI_IEEE_FP_CONTROL 14 -#define SSI_IEEE_STATE_AT_SIGNAL 15 -#define SSI_IEEE_IGNORE_STATE_AT_SIGNAL 16 -#define SSI_IEEE_RAISE_EXCEPTION 1001 /* linux specific */ - -#define SSIN_UACPROC 6 - -#define UAC_BITMASK 7 -#define UAC_NOPRINT 1 -#define UAC_NOFIX 2 -#define UAC_SIGBUS 4 - -#endif /* __ASM_ALPHA_SYSINFO_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +/* + * include/asm-alpha/sysinfo.h + */ + +#ifndef __ASM_ALPHA_SYSINFO_H +#define __ASM_ALPHA_SYSINFO_H + +/* This defines the subset of the OSF/1 getsysinfo/setsysinfo calls + that we support. */ + +#define GSI_UACPROC 8 +#define GSI_IEEE_FP_CONTROL 45 +#define GSI_IEEE_STATE_AT_SIGNAL 46 +#define GSI_PROC_TYPE 60 +#define GSI_GET_HWRPB 101 + +#define SSI_NVPAIRS 1 +#define SSI_LMF 7 +#define SSI_IEEE_FP_CONTROL 14 +#define SSI_IEEE_STATE_AT_SIGNAL 15 +#define SSI_IEEE_IGNORE_STATE_AT_SIGNAL 16 +#define SSI_IEEE_RAISE_EXCEPTION 1001 /* linux specific */ + +#define SSIN_UACPROC 6 + +#define UAC_BITMASK 7 +#define UAC_NOPRINT 1 +#define UAC_NOFIX 2 +#define UAC_SIGBUS 4 + +#endif /* __ASM_ALPHA_SYSINFO_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/uapi/asm/types.h b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/uapi/asm/types.h index 09e5ecbfd8..6c3d499381 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/uapi/asm/types.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/uapi/asm/types.h @@ -1,27 +1,27 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _UAPI_ALPHA_TYPES_H -#define _UAPI_ALPHA_TYPES_H - -/* - * 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. - */ - -/* - * This is here because we used to use l64 for alpha - * and we don't want to impact user mode with our change to ll64 - * in the kernel. - * - * However, some user programs are fine with this. They can - * flag __SANE_USERSPACE_TYPES__ to get int-ll64.h here. - */ -#if !defined(__SANE_USERSPACE_TYPES__) && !defined(__KERNEL__) -#include -#else -#include -#endif - -#endif /* _UAPI_ALPHA_TYPES_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _UAPI_ALPHA_TYPES_H +#define _UAPI_ALPHA_TYPES_H + +/* + * 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. + */ + +/* + * This is here because we used to use l64 for alpha + * and we don't want to impact user mode with our change to ll64 + * in the kernel. + * + * However, some user programs are fine with this. They can + * flag __SANE_USERSPACE_TYPES__ to get int-ll64.h here. + */ +#if !defined(__SANE_USERSPACE_TYPES__) && !defined(__KERNEL__) +#include +#else +#include +#endif + +#endif /* _UAPI_ALPHA_TYPES_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/alpha/kernel/asm-offsets.c b/image/debian/UFI003_MB_V02/kernel/arch/alpha/kernel/asm-offsets.c index 1e17a9c74d..e9dad60b14 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/alpha/kernel/asm-offsets.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/alpha/kernel/asm-offsets.c @@ -1,31 +1,31 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Generate definitions needed by assembly language modules. - * This code generates raw asm output which is post-processed to extract - * and format the required data. - */ - -#include -#include -#include -#include -#include -#include - -static void __used foo(void) -{ - DEFINE(TI_FLAGS, offsetof(struct thread_info, flags)); - DEFINE(TI_FP, offsetof(struct thread_info, fp)); - DEFINE(TI_STATUS, offsetof(struct thread_info, status)); - BLANK(); - - DEFINE(SP_OFF, offsetof(struct pt_regs, ps)); - DEFINE(SIZEOF_PT_REGS, sizeof(struct pt_regs)); - BLANK(); - - DEFINE(SWITCH_STACK_SIZE, sizeof(struct switch_stack)); - BLANK(); - - DEFINE(HAE_CACHE, offsetof(struct alpha_machine_vector, hae_cache)); - DEFINE(HAE_REG, offsetof(struct alpha_machine_vector, hae_register)); -} +// SPDX-License-Identifier: GPL-2.0 +/* + * Generate definitions needed by assembly language modules. + * This code generates raw asm output which is post-processed to extract + * and format the required data. + */ + +#include +#include +#include +#include +#include +#include + +static void __used foo(void) +{ + DEFINE(TI_FLAGS, offsetof(struct thread_info, flags)); + DEFINE(TI_FP, offsetof(struct thread_info, fp)); + DEFINE(TI_STATUS, offsetof(struct thread_info, status)); + BLANK(); + + DEFINE(SP_OFF, offsetof(struct pt_regs, ps)); + DEFINE(SIZEOF_PT_REGS, sizeof(struct pt_regs)); + BLANK(); + + DEFINE(SWITCH_STACK_SIZE, sizeof(struct switch_stack)); + BLANK(); + + DEFINE(HAE_CACHE, offsetof(struct alpha_machine_vector, hae_cache)); + DEFINE(HAE_REG, offsetof(struct alpha_machine_vector, hae_register)); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/alpha/kernel/pc873xx.h b/image/debian/UFI003_MB_V02/kernel/arch/alpha/kernel/pc873xx.h index 7d277788f3..0435330275 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/alpha/kernel/pc873xx.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/alpha/kernel/pc873xx.h @@ -1,36 +1,36 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#ifndef _PC873xx_H_ -#define _PC873xx_H_ - -/* - * Control Register Values - */ -#define REG_FER 0x00 -#define REG_FAR 0x01 -#define REG_PTR 0x02 -#define REG_FCR 0x03 -#define REG_PCR 0x04 -#define REG_KRR 0x05 -#define REG_PMC 0x06 -#define REG_TUP 0x07 -#define REG_SID 0x08 -#define REG_ASC 0x09 -#define REG_IRC 0x0e - -/* - * Model numbers - */ -#define PC87303 0 -#define PC87306 1 -#define PC87312 2 -#define PC87332 3 -#define PC87334 4 - -int pc873xx_probe(void); -unsigned int pc873xx_get_base(void); -char *pc873xx_get_model(void); -void pc873xx_enable_epp19(void); -void pc873xx_enable_ide(void); - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef _PC873xx_H_ +#define _PC873xx_H_ + +/* + * Control Register Values + */ +#define REG_FER 0x00 +#define REG_FAR 0x01 +#define REG_PTR 0x02 +#define REG_FCR 0x03 +#define REG_PCR 0x04 +#define REG_KRR 0x05 +#define REG_PMC 0x06 +#define REG_TUP 0x07 +#define REG_SID 0x08 +#define REG_ASC 0x09 +#define REG_IRC 0x0e + +/* + * Model numbers + */ +#define PC87303 0 +#define PC87306 1 +#define PC87312 2 +#define PC87332 3 +#define PC87334 4 + +int pc873xx_probe(void); +unsigned int pc873xx_get_base(void); +char *pc873xx_get_model(void); +void pc873xx_enable_epp19(void); +void pc873xx_enable_ide(void); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/alpha/kernel/syscalls/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/alpha/kernel/syscalls/Makefile index a516b5473f..b265e4bc16 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/alpha/kernel/syscalls/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/alpha/kernel/syscalls/Makefile @@ -1,32 +1,32 @@ -# SPDX-License-Identifier: GPL-2.0 -kapi := arch/$(SRCARCH)/include/generated/asm -uapi := arch/$(SRCARCH)/include/generated/uapi/asm - -$(shell mkdir -p $(uapi) $(kapi)) - -syscall := $(src)/syscall.tbl -syshdr := $(srctree)/scripts/syscallhdr.sh -systbl := $(srctree)/scripts/syscalltbl.sh - -quiet_cmd_syshdr = SYSHDR $@ - cmd_syshdr = $(CONFIG_SHELL) $(syshdr) --emit-nr $< $@ - -quiet_cmd_systbl = SYSTBL $@ - cmd_systbl = $(CONFIG_SHELL) $(systbl) $< $@ - -$(uapi)/unistd_32.h: $(syscall) $(syshdr) FORCE - $(call if_changed,syshdr) - -$(kapi)/syscall_table.h: $(syscall) $(systbl) FORCE - $(call if_changed,systbl) - -uapisyshdr-y += unistd_32.h -kapisyshdr-y += syscall_table.h - -uapisyshdr-y := $(addprefix $(uapi)/, $(uapisyshdr-y)) -kapisyshdr-y := $(addprefix $(kapi)/, $(kapisyshdr-y)) -targets += $(addprefix ../../../../, $(uapisyshdr-y) $(kapisyshdr-y)) - -PHONY += all -all: $(uapisyshdr-y) $(kapisyshdr-y) - @: +# SPDX-License-Identifier: GPL-2.0 +kapi := arch/$(SRCARCH)/include/generated/asm +uapi := arch/$(SRCARCH)/include/generated/uapi/asm + +$(shell mkdir -p $(uapi) $(kapi)) + +syscall := $(src)/syscall.tbl +syshdr := $(srctree)/scripts/syscallhdr.sh +systbl := $(srctree)/scripts/syscalltbl.sh + +quiet_cmd_syshdr = SYSHDR $@ + cmd_syshdr = $(CONFIG_SHELL) $(syshdr) --emit-nr $< $@ + +quiet_cmd_systbl = SYSTBL $@ + cmd_systbl = $(CONFIG_SHELL) $(systbl) $< $@ + +$(uapi)/unistd_32.h: $(syscall) $(syshdr) FORCE + $(call if_changed,syshdr) + +$(kapi)/syscall_table.h: $(syscall) $(systbl) FORCE + $(call if_changed,systbl) + +uapisyshdr-y += unistd_32.h +kapisyshdr-y += syscall_table.h + +uapisyshdr-y := $(addprefix $(uapi)/, $(uapisyshdr-y)) +kapisyshdr-y := $(addprefix $(kapi)/, $(kapisyshdr-y)) +targets += $(addprefix ../../../../, $(uapisyshdr-y) $(kapisyshdr-y)) + +PHONY += all +all: $(uapisyshdr-y) $(kapisyshdr-y) + @: diff --git a/image/debian/UFI003_MB_V02/kernel/arch/alpha/lib/copy_page.S b/image/debian/UFI003_MB_V02/kernel/arch/alpha/lib/copy_page.S index b917a38cc0..1c444fdad9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/alpha/lib/copy_page.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/alpha/lib/copy_page.S @@ -1,51 +1,51 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * arch/alpha/lib/copy_page.S - * - * Copy an entire page. - */ -#include - .text - .align 4 - .global copy_page - .ent copy_page -copy_page: - .prologue 0 - - lda $18,128 - nop - unop - nop - -1: ldq $0,0($17) - ldq $1,8($17) - ldq $2,16($17) - ldq $3,24($17) - - ldq $4,32($17) - ldq $5,40($17) - ldq $6,48($17) - ldq $7,56($17) - - stq $0,0($16) - subq $18,1,$18 - stq $1,8($16) - addq $17,64,$17 - - stq $2,16($16) - stq $3,24($16) - stq $4,32($16) - stq $5,40($16) - - stq $6,48($16) - stq $7,56($16) - addq $16,64,$16 - bne $18, 1b - - ret - nop - unop - nop - - .end copy_page - EXPORT_SYMBOL(copy_page) +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * arch/alpha/lib/copy_page.S + * + * Copy an entire page. + */ +#include + .text + .align 4 + .global copy_page + .ent copy_page +copy_page: + .prologue 0 + + lda $18,128 + nop + unop + nop + +1: ldq $0,0($17) + ldq $1,8($17) + ldq $2,16($17) + ldq $3,24($17) + + ldq $4,32($17) + ldq $5,40($17) + ldq $6,48($17) + ldq $7,56($17) + + stq $0,0($16) + subq $18,1,$18 + stq $1,8($16) + addq $17,64,$17 + + stq $2,16($16) + stq $3,24($16) + stq $4,32($16) + stq $5,40($16) + + stq $6,48($16) + stq $7,56($16) + addq $16,64,$16 + bne $18, 1b + + ret + nop + unop + nop + + .end copy_page + EXPORT_SYMBOL(copy_page) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/alpha/lib/ev6-clear_page.S b/image/debian/UFI003_MB_V02/kernel/arch/alpha/lib/ev6-clear_page.S index 48f28ebb4e..a534d9ff71 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/alpha/lib/ev6-clear_page.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/alpha/lib/ev6-clear_page.S @@ -1,56 +1,56 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * arch/alpha/lib/ev6-clear_page.S - * - * Zero an entire page. - */ -#include - .text - .align 4 - .global clear_page - .ent clear_page -clear_page: - .prologue 0 - - lda $0,128 - lda $1,125 - addq $16,64,$2 - addq $16,128,$3 - - addq $16,192,$17 - wh64 ($16) - wh64 ($2) - wh64 ($3) - -1: wh64 ($17) - stq $31,0($16) - subq $0,1,$0 - subq $1,1,$1 - - stq $31,8($16) - stq $31,16($16) - addq $17,64,$2 - nop - - stq $31,24($16) - stq $31,32($16) - cmovgt $1,$2,$17 - nop - - stq $31,40($16) - stq $31,48($16) - nop - nop - - stq $31,56($16) - addq $16,64,$16 - nop - bne $0,1b - - ret - nop - nop - nop - - .end clear_page - EXPORT_SYMBOL(clear_page) +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * arch/alpha/lib/ev6-clear_page.S + * + * Zero an entire page. + */ +#include + .text + .align 4 + .global clear_page + .ent clear_page +clear_page: + .prologue 0 + + lda $0,128 + lda $1,125 + addq $16,64,$2 + addq $16,128,$3 + + addq $16,192,$17 + wh64 ($16) + wh64 ($2) + wh64 ($3) + +1: wh64 ($17) + stq $31,0($16) + subq $0,1,$0 + subq $1,1,$1 + + stq $31,8($16) + stq $31,16($16) + addq $17,64,$2 + nop + + stq $31,24($16) + stq $31,32($16) + cmovgt $1,$2,$17 + nop + + stq $31,40($16) + stq $31,48($16) + nop + nop + + stq $31,56($16) + addq $16,64,$16 + nop + bne $0,1b + + ret + nop + nop + nop + + .end clear_page + EXPORT_SYMBOL(clear_page) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/alpha/lib/srm_printk.c b/image/debian/UFI003_MB_V02/kernel/arch/alpha/lib/srm_printk.c index 59abd7ac9c..6276eed762 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/alpha/lib/srm_printk.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/alpha/lib/srm_printk.c @@ -1,42 +1,42 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * arch/alpha/lib/srm_printk.c - */ - -#include -#include - -long -srm_printk(const char *fmt, ...) -{ - static char buf[1024]; - va_list args; - long len, num_lf; - char *src, *dst; - - va_start(args, fmt); - len = vsprintf(buf, fmt, args); - va_end(args); - - /* count number of linefeeds in string: */ - - num_lf = 0; - for (src = buf; *src; ++src) { - if (*src == '\n') { - ++num_lf; - } - } - - if (num_lf) { - /* expand each linefeed into carriage-return/linefeed: */ - for (dst = src + num_lf; src >= buf; ) { - if (*src == '\n') { - *dst-- = '\r'; - } - *dst-- = *src--; - } - } - - srm_puts(buf, num_lf+len); - return len; -} +// SPDX-License-Identifier: GPL-2.0 +/* + * arch/alpha/lib/srm_printk.c + */ + +#include +#include + +long +srm_printk(const char *fmt, ...) +{ + static char buf[1024]; + va_list args; + long len, num_lf; + char *src, *dst; + + va_start(args, fmt); + len = vsprintf(buf, fmt, args); + va_end(args); + + /* count number of linefeeds in string: */ + + num_lf = 0; + for (src = buf; *src; ++src) { + if (*src == '\n') { + ++num_lf; + } + } + + if (num_lf) { + /* expand each linefeed into carriage-return/linefeed: */ + for (dst = src + num_lf; src >= buf; ) { + if (*src == '\n') { + *dst-- = '\r'; + } + *dst-- = *src--; + } + } + + srm_puts(buf, num_lf+len); + return len; +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arc/boot/dts/skeleton.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arc/boot/dts/skeleton.dtsi index 83f6e45ca7..ba86b8036a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arc/boot/dts/skeleton.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arc/boot/dts/skeleton.dtsi @@ -1,48 +1,48 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2012 Synopsys, Inc. (www.synopsys.com) - */ - -/* - * Skeleton device tree; the bare minimum needed to boot; just include and - * add a compatible value. - */ - -/ { - compatible = "snps,arc"; - #address-cells = <1>; - #size-cells = <1>; - chosen { }; - aliases { }; - - cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu@0 { - device_type = "cpu"; - compatible = "snps,arc770d"; - reg = <0>; - clocks = <&core_clk>; - }; - }; - - /* TIMER0 with interrupt for clockevent */ - timer0 { - compatible = "snps,arc-timer"; - interrupts = <3>; - interrupt-parent = <&core_intc>; - clocks = <&core_clk>; - }; - - /* TIMER1 for free running clocksource */ - timer1 { - compatible = "snps,arc-timer"; - clocks = <&core_clk>; - }; - - memory { - device_type = "memory"; - reg = <0x80000000 0x10000000>; /* 256M */ - }; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2012 Synopsys, Inc. (www.synopsys.com) + */ + +/* + * Skeleton device tree; the bare minimum needed to boot; just include and + * add a compatible value. + */ + +/ { + compatible = "snps,arc"; + #address-cells = <1>; + #size-cells = <1>; + chosen { }; + aliases { }; + + cpus { + #address-cells = <1>; + #size-cells = <0>; + + cpu@0 { + device_type = "cpu"; + compatible = "snps,arc770d"; + reg = <0>; + clocks = <&core_clk>; + }; + }; + + /* TIMER0 with interrupt for clockevent */ + timer0 { + compatible = "snps,arc-timer"; + interrupts = <3>; + interrupt-parent = <&core_intc>; + clocks = <&core_clk>; + }; + + /* TIMER1 for free running clocksource */ + timer1 { + compatible = "snps,arc-timer"; + clocks = <&core_clk>; + }; + + memory { + device_type = "memory"; + reg = <0x80000000 0x10000000>; /* 256M */ + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arc/boot/dts/skeleton_hs.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arc/boot/dts/skeleton_hs.dtsi index 6af045ce8c..8fb49890e8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arc/boot/dts/skeleton_hs.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arc/boot/dts/skeleton_hs.dtsi @@ -1,49 +1,49 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2016 Synopsys, Inc. (www.synopsys.com) - */ - -/ { - compatible = "snps,arc"; - #address-cells = <1>; - #size-cells = <1>; - chosen { }; - aliases { }; - - cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu@0 { - device_type = "cpu"; - compatible = "snps,archs38"; - reg = <0>; - clocks = <&core_clk>; - }; - }; - - /* TIMER0 with interrupt for clockevent */ - timer0 { - compatible = "snps,arc-timer"; - interrupts = <16>; - interrupt-parent = <&core_intc>; - clocks = <&core_clk>; - }; - - /* 64-bit Local RTC: preferred clocksource for UP */ - rtc { - compatible = "snps,archs-timer-rtc"; - clocks = <&core_clk>; - }; - - /* TIMER1 for free running clocksource: Fallback if rtc not found */ - timer1 { - compatible = "snps,arc-timer"; - clocks = <&core_clk>; - }; - - memory { - device_type = "memory"; - reg = <0x80000000 0x10000000>; /* 256M */ - }; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2016 Synopsys, Inc. (www.synopsys.com) + */ + +/ { + compatible = "snps,arc"; + #address-cells = <1>; + #size-cells = <1>; + chosen { }; + aliases { }; + + cpus { + #address-cells = <1>; + #size-cells = <0>; + + cpu@0 { + device_type = "cpu"; + compatible = "snps,archs38"; + reg = <0>; + clocks = <&core_clk>; + }; + }; + + /* TIMER0 with interrupt for clockevent */ + timer0 { + compatible = "snps,arc-timer"; + interrupts = <16>; + interrupt-parent = <&core_intc>; + clocks = <&core_clk>; + }; + + /* 64-bit Local RTC: preferred clocksource for UP */ + rtc { + compatible = "snps,archs-timer-rtc"; + clocks = <&core_clk>; + }; + + /* TIMER1 for free running clocksource: Fallback if rtc not found */ + timer1 { + compatible = "snps,arc-timer"; + clocks = <&core_clk>; + }; + + memory { + device_type = "memory"; + reg = <0x80000000 0x10000000>; /* 256M */ + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/atomic.h b/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/atomic.h index cc517cdff7..592d7fffc2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/atomic.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/atomic.h @@ -1,36 +1,36 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) - */ - -#ifndef _ASM_ARC_ATOMIC_H -#define _ASM_ARC_ATOMIC_H - -#ifndef __ASSEMBLY__ - -#include -#include -#include -#include -#include - -#define arch_atomic_read(v) READ_ONCE((v)->counter) - -#ifdef CONFIG_ARC_HAS_LLSC -#include -#else -#include -#endif - -/* - * 64-bit atomics - */ -#ifdef CONFIG_GENERIC_ATOMIC64 -#include -#else -#include -#endif - -#endif /* !__ASSEMBLY__ */ - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) + */ + +#ifndef _ASM_ARC_ATOMIC_H +#define _ASM_ARC_ATOMIC_H + +#ifndef __ASSEMBLY__ + +#include +#include +#include +#include +#include + +#define arch_atomic_read(v) READ_ONCE((v)->counter) + +#ifdef CONFIG_ARC_HAS_LLSC +#include +#else +#include +#endif + +/* + * 64-bit atomics + */ +#ifdef CONFIG_GENERIC_ATOMIC64 +#include +#else +#include +#endif + +#endif /* !__ASSEMBLY__ */ + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/bug.h b/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/bug.h index a4ecdea08e..4c453ba96c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/bug.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/bug.h @@ -1,34 +1,34 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) - */ - -#ifndef _ASM_ARC_BUG_H -#define _ASM_ARC_BUG_H - -#ifndef __ASSEMBLY__ - -#include - -struct task_struct; - -void show_regs(struct pt_regs *regs); -void show_stacktrace(struct task_struct *tsk, struct pt_regs *regs, - const char *loglvl); -void show_kernel_fault_diag(const char *str, struct pt_regs *regs, - unsigned long address); -void die(const char *str, struct pt_regs *regs, unsigned long address); - -#define BUG() do { \ - pr_warn("BUG: failure at %s:%d/%s()!\n", __FILE__, __LINE__, __func__); \ - barrier_before_unreachable(); \ - __builtin_trap(); \ -} while (0) - -#define HAVE_ARCH_BUG - -#include - -#endif /* !__ASSEMBLY__ */ - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) + */ + +#ifndef _ASM_ARC_BUG_H +#define _ASM_ARC_BUG_H + +#ifndef __ASSEMBLY__ + +#include + +struct task_struct; + +void show_regs(struct pt_regs *regs); +void show_stacktrace(struct task_struct *tsk, struct pt_regs *regs, + const char *loglvl); +void show_kernel_fault_diag(const char *str, struct pt_regs *regs, + unsigned long address); +void die(const char *str, struct pt_regs *regs, unsigned long address); + +#define BUG() do { \ + pr_warn("BUG: failure at %s:%d/%s()!\n", __FILE__, __LINE__, __func__); \ + barrier_before_unreachable(); \ + __builtin_trap(); \ +} while (0) + +#define HAVE_ARCH_BUG + +#include + +#endif /* !__ASSEMBLY__ */ + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/dsp.h b/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/dsp.h index 181692a5db..f496dbc464 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/dsp.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/dsp.h @@ -1,29 +1,29 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2020 Synopsys, Inc. (www.synopsys.com) - * - * Author: Eugeniy Paltsev - */ -#ifndef __ASM_ARC_DSP_H -#define __ASM_ARC_DSP_H - -#ifndef __ASSEMBLY__ - -/* - * DSP-related saved registers - need to be saved only when you are - * scheduled out. - * structure fields name must correspond to aux register definitions for - * automatic offset calculation in DSP_AUX_SAVE_RESTORE macros - */ -struct dsp_callee_regs { - unsigned long ACC0_GLO, ACC0_GHI, DSP_BFLY0, DSP_FFT_CTRL; -#ifdef CONFIG_ARC_DSP_AGU_USERSPACE - unsigned long AGU_AP0, AGU_AP1, AGU_AP2, AGU_AP3; - unsigned long AGU_OS0, AGU_OS1; - unsigned long AGU_MOD0, AGU_MOD1, AGU_MOD2, AGU_MOD3; -#endif -}; - -#endif /* !__ASSEMBLY__ */ - -#endif /* __ASM_ARC_DSP_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2020 Synopsys, Inc. (www.synopsys.com) + * + * Author: Eugeniy Paltsev + */ +#ifndef __ASM_ARC_DSP_H +#define __ASM_ARC_DSP_H + +#ifndef __ASSEMBLY__ + +/* + * DSP-related saved registers - need to be saved only when you are + * scheduled out. + * structure fields name must correspond to aux register definitions for + * automatic offset calculation in DSP_AUX_SAVE_RESTORE macros + */ +struct dsp_callee_regs { + unsigned long ACC0_GLO, ACC0_GHI, DSP_BFLY0, DSP_FFT_CTRL; +#ifdef CONFIG_ARC_DSP_AGU_USERSPACE + unsigned long AGU_AP0, AGU_AP1, AGU_AP2, AGU_AP3; + unsigned long AGU_OS0, AGU_OS1; + unsigned long AGU_MOD0, AGU_MOD1, AGU_MOD2, AGU_MOD3; +#endif +}; + +#endif /* !__ASSEMBLY__ */ + +#endif /* __ASM_ARC_DSP_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/irq.h b/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/irq.h index 5bdb756de3..9cd79263ac 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/irq.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/irq.h @@ -1,30 +1,30 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) - */ - -#ifndef __ASM_ARC_IRQ_H -#define __ASM_ARC_IRQ_H - -/* - * ARCv2 can support 240 interrupts in the core interrupts controllers and - * 128 interrupts in IDU. Thus 512 virtual IRQs must be enough for most - * configurations of boards. - * This doesn't affect ARCompact, but we change it to same value - */ -#define NR_IRQS 512 - -/* Platform Independent IRQs */ -#ifdef CONFIG_ISA_ARCV2 -#define IPI_IRQ 19 -#define SOFTIRQ_IRQ 21 -#define FIRST_EXT_IRQ 24 -#endif - -#include -#include - -extern void arc_init_IRQ(void); -extern void arch_do_IRQ(unsigned int, struct pt_regs *); - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) + */ + +#ifndef __ASM_ARC_IRQ_H +#define __ASM_ARC_IRQ_H + +/* + * ARCv2 can support 240 interrupts in the core interrupts controllers and + * 128 interrupts in IDU. Thus 512 virtual IRQs must be enough for most + * configurations of boards. + * This doesn't affect ARCompact, but we change it to same value + */ +#define NR_IRQS 512 + +/* Platform Independent IRQs */ +#ifdef CONFIG_ISA_ARCV2 +#define IPI_IRQ 19 +#define SOFTIRQ_IRQ 21 +#define FIRST_EXT_IRQ 24 +#endif + +#include +#include + +extern void arc_init_IRQ(void); +extern void arch_do_IRQ(unsigned int, struct pt_regs *); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/pgtable.h b/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/pgtable.h index 1638141881..4cf45a99fd 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/pgtable.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/pgtable.h @@ -1,34 +1,34 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) - */ - -#ifndef _ASM_ARC_PGTABLE_H -#define _ASM_ARC_PGTABLE_H - -#include - -#include -#include -#include -#include - -/* - * Number of entries a user land program use. - * TASK_SIZE is the maximum vaddr that can be used by a userland program. - */ -#define USER_PTRS_PER_PGD (TASK_SIZE / PGDIR_SIZE) - -#ifndef __ASSEMBLY__ - -extern char empty_zero_page[PAGE_SIZE]; -#define ZERO_PAGE(vaddr) (virt_to_page(empty_zero_page)) - -extern pgd_t swapper_pg_dir[] __aligned(PAGE_SIZE); - -/* to cope with aliasing VIPT cache */ -#define HAVE_ARCH_UNMAPPED_AREA - -#endif /* __ASSEMBLY__ */ - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) + */ + +#ifndef _ASM_ARC_PGTABLE_H +#define _ASM_ARC_PGTABLE_H + +#include + +#include +#include +#include +#include + +/* + * Number of entries a user land program use. + * TASK_SIZE is the maximum vaddr that can be used by a userland program. + */ +#define USER_PTRS_PER_PGD (TASK_SIZE / PGDIR_SIZE) + +#ifndef __ASSEMBLY__ + +extern char empty_zero_page[PAGE_SIZE]; +#define ZERO_PAGE(vaddr) (virt_to_page(empty_zero_page)) + +extern pgd_t swapper_pg_dir[] __aligned(PAGE_SIZE); + +/* to cope with aliasing VIPT cache */ +#define HAVE_ARCH_UNMAPPED_AREA + +#endif /* __ASSEMBLY__ */ + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/spinlock_types.h b/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/spinlock_types.h index 3aec9ba6e9..7cd0373998 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/spinlock_types.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/spinlock_types.h @@ -1,34 +1,34 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) - */ - -#ifndef __ASM_SPINLOCK_TYPES_H -#define __ASM_SPINLOCK_TYPES_H - -typedef struct { - volatile unsigned int slock; -} arch_spinlock_t; - -#define __ARCH_SPIN_LOCK_UNLOCKED__ 0 -#define __ARCH_SPIN_LOCK_LOCKED__ 1 - -#define __ARCH_SPIN_LOCK_UNLOCKED { __ARCH_SPIN_LOCK_UNLOCKED__ } -#define __ARCH_SPIN_LOCK_LOCKED { __ARCH_SPIN_LOCK_LOCKED__ } - -/* - * Unlocked : 0x0100_0000 - * Read lock(s) : 0x00FF_FFFF to 0x01 (Multiple Readers decrement it) - * Write lock : 0x0, but only if prior value is "unlocked" 0x0100_0000 - */ -typedef struct { - volatile unsigned int counter; -#ifndef CONFIG_ARC_HAS_LLSC - arch_spinlock_t lock_mutex; -#endif -} arch_rwlock_t; - -#define __ARCH_RW_LOCK_UNLOCKED__ 0x01000000 -#define __ARCH_RW_LOCK_UNLOCKED { .counter = __ARCH_RW_LOCK_UNLOCKED__ } - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) + */ + +#ifndef __ASM_SPINLOCK_TYPES_H +#define __ASM_SPINLOCK_TYPES_H + +typedef struct { + volatile unsigned int slock; +} arch_spinlock_t; + +#define __ARCH_SPIN_LOCK_UNLOCKED__ 0 +#define __ARCH_SPIN_LOCK_LOCKED__ 1 + +#define __ARCH_SPIN_LOCK_UNLOCKED { __ARCH_SPIN_LOCK_UNLOCKED__ } +#define __ARCH_SPIN_LOCK_LOCKED { __ARCH_SPIN_LOCK_LOCKED__ } + +/* + * Unlocked : 0x0100_0000 + * Read lock(s) : 0x00FF_FFFF to 0x01 (Multiple Readers decrement it) + * Write lock : 0x0, but only if prior value is "unlocked" 0x0100_0000 + */ +typedef struct { + volatile unsigned int counter; +#ifndef CONFIG_ARC_HAS_LLSC + arch_spinlock_t lock_mutex; +#endif +} arch_rwlock_t; + +#define __ARCH_RW_LOCK_UNLOCKED__ 0x01000000 +#define __ARCH_RW_LOCK_UNLOCKED { .counter = __ARCH_RW_LOCK_UNLOCKED__ } + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arc/include/uapi/asm/cachectl.h b/image/debian/UFI003_MB_V02/kernel/arch/arc/include/uapi/asm/cachectl.h index 221896c683..0e4f2affc7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arc/include/uapi/asm/cachectl.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arc/include/uapi/asm/cachectl.h @@ -1,29 +1,29 @@ -/* 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 __ARC_ASM_CACHECTL_H -#define __ARC_ASM_CACHECTL_H - -/* - * ARC ABI flags defined for Android's finegrained cacheflush requirements - */ -#define CF_I_INV 0x0002 -#define CF_D_FLUSH 0x0010 -#define CF_D_FLUSH_INV 0x0020 - -#define CF_DEFAULT (CF_I_INV | CF_D_FLUSH) - -/* - * Standard flags expected by cacheflush system call users - */ -#define ICACHE CF_I_INV -#define DCACHE CF_D_FLUSH -#define BCACHE (CF_I_INV | CF_D_FLUSH) - -#endif +/* 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 __ARC_ASM_CACHECTL_H +#define __ARC_ASM_CACHECTL_H + +/* + * ARC ABI flags defined for Android's finegrained cacheflush requirements + */ +#define CF_I_INV 0x0002 +#define CF_D_FLUSH 0x0010 +#define CF_D_FLUSH_INV 0x0020 + +#define CF_DEFAULT (CF_I_INV | CF_D_FLUSH) + +/* + * Standard flags expected by cacheflush system call users + */ +#define ICACHE CF_I_INV +#define DCACHE CF_D_FLUSH +#define BCACHE (CF_I_INV | CF_D_FLUSH) + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arc/include/uapi/asm/sigcontext.h b/image/debian/UFI003_MB_V02/kernel/arch/arc/include/uapi/asm/sigcontext.h index 965ebf88c6..7a5449dfcb 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arc/include/uapi/asm/sigcontext.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arc/include/uapi/asm/sigcontext.h @@ -1,24 +1,24 @@ -/* 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_SIGCONTEXT_H -#define _ASM_ARC_SIGCONTEXT_H - -#include - -/* - * Signal context structure - contains all info to do with the state - * before the signal handler was invoked. - */ -struct sigcontext { - struct user_regs_struct regs; - struct user_regs_arcv2 v2abi; -}; - -#endif /* _ASM_ARC_SIGCONTEXT_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_SIGCONTEXT_H +#define _ASM_ARC_SIGCONTEXT_H + +#include + +/* + * Signal context structure - contains all info to do with the state + * before the signal handler was invoked. + */ +struct sigcontext { + struct user_regs_struct regs; + struct user_regs_arcv2 v2abi; +}; + +#endif /* _ASM_ARC_SIGCONTEXT_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arc/kernel/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arc/kernel/Makefile index 3e3b3159de..95fbf9364c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arc/kernel/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arc/kernel/Makefile @@ -1,29 +1,29 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) -# - -obj-y := head.o arcksyms.o setup.o irq.o reset.o ptrace.o process.o devtree.o -obj-y += signal.o traps.o sys.o troubleshoot.o stacktrace.o disasm.o -obj-y += ctx_sw_asm.o - -obj-$(CONFIG_ISA_ARCOMPACT) += entry-compact.o intc-compact.o -obj-$(CONFIG_ISA_ARCV2) += entry-arcv2.o intc-arcv2.o - -obj-$(CONFIG_MODULES) += arcksyms.o module.o -obj-$(CONFIG_SMP) += smp.o -obj-$(CONFIG_ARC_MCIP) += mcip.o -obj-$(CONFIG_ARC_DW2_UNWIND) += unwind.o -obj-$(CONFIG_KPROBES) += kprobes.o -obj-$(CONFIG_ARC_EMUL_UNALIGNED) += unaligned.o -obj-$(CONFIG_KGDB) += kgdb.o -obj-$(CONFIG_ARC_METAWARE_HLINK) += arc_hostlink.o -obj-$(CONFIG_PERF_EVENTS) += perf_event.o -obj-$(CONFIG_JUMP_LABEL) += jump_label.o - -obj-$(CONFIG_ARC_FPU_SAVE_RESTORE) += fpu.o -ifdef CONFIG_ISA_ARCOMPACT -CFLAGS_fpu.o += -mdpfp -endif - -extra-y := vmlinux.lds +# SPDX-License-Identifier: GPL-2.0-only +# +# Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) +# + +obj-y := head.o arcksyms.o setup.o irq.o reset.o ptrace.o process.o devtree.o +obj-y += signal.o traps.o sys.o troubleshoot.o stacktrace.o disasm.o +obj-y += ctx_sw_asm.o + +obj-$(CONFIG_ISA_ARCOMPACT) += entry-compact.o intc-compact.o +obj-$(CONFIG_ISA_ARCV2) += entry-arcv2.o intc-arcv2.o + +obj-$(CONFIG_MODULES) += arcksyms.o module.o +obj-$(CONFIG_SMP) += smp.o +obj-$(CONFIG_ARC_MCIP) += mcip.o +obj-$(CONFIG_ARC_DW2_UNWIND) += unwind.o +obj-$(CONFIG_KPROBES) += kprobes.o +obj-$(CONFIG_ARC_EMUL_UNALIGNED) += unaligned.o +obj-$(CONFIG_KGDB) += kgdb.o +obj-$(CONFIG_ARC_METAWARE_HLINK) += arc_hostlink.o +obj-$(CONFIG_PERF_EVENTS) += perf_event.o +obj-$(CONFIG_JUMP_LABEL) += jump_label.o + +obj-$(CONFIG_ARC_FPU_SAVE_RESTORE) += fpu.o +ifdef CONFIG_ISA_ARCOMPACT +CFLAGS_fpu.o += -mdpfp +endif + +extra-y := vmlinux.lds diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arc/plat-sim/platform.c b/image/debian/UFI003_MB_V02/kernel/arch/arc/plat-sim/platform.c index f809839587..2bde2a6e33 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arc/plat-sim/platform.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arc/plat-sim/platform.c @@ -1,32 +1,32 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * ARC simulation Platform support code - * - * Copyright (C) 2012 Synopsys, Inc. (www.synopsys.com) - */ - -#include -#include - -/*----------------------- Machine Descriptions ------------------------------ - * - * Machine description is simply a set of platform/board specific callbacks - * This is not directly related to DeviceTree based dynamic device creation, - * however as part of early device tree scan, we also select the right - * callback set, by matching the DT compatible name. - */ - -static const char *simulation_compat[] __initconst = { -#ifdef CONFIG_ISA_ARCOMPACT - "snps,nsim", - "snps,nsimosci", -#else - "snps,nsimosci_hs", - "snps,zebu_hs", -#endif - NULL, -}; - -MACHINE_START(SIMULATION, "simulation") - .dt_compat = simulation_compat, -MACHINE_END +// SPDX-License-Identifier: GPL-2.0-only +/* + * ARC simulation Platform support code + * + * Copyright (C) 2012 Synopsys, Inc. (www.synopsys.com) + */ + +#include +#include + +/*----------------------- Machine Descriptions ------------------------------ + * + * Machine description is simply a set of platform/board specific callbacks + * This is not directly related to DeviceTree based dynamic device creation, + * however as part of early device tree scan, we also select the right + * callback set, by matching the DT compatible name. + */ + +static const char *simulation_compat[] __initconst = { +#ifdef CONFIG_ISA_ARCOMPACT + "snps,nsim", + "snps,nsimosci", +#else + "snps,nsimosci_hs", + "snps,zebu_hs", +#endif + NULL, +}; + +MACHINE_START(SIMULATION, "simulation") + .dt_compat = simulation_compat, +MACHINE_END diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/compressed/debug.S b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/compressed/debug.S index b0f380855a..fac40a717f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/compressed/debug.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/compressed/debug.S @@ -1,48 +1,48 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#include -#include - -#ifndef CONFIG_DEBUG_SEMIHOSTING - -#include CONFIG_DEBUG_LL_INCLUDE - -ENTRY(putc) - addruart r1, r2, r3 -#ifdef CONFIG_DEBUG_UART_FLOW_CONTROL - waituartcts r3, r1 -#endif - waituarttxrdy r3, r1 - senduart r0, r1 - busyuart r3, r1 - mov pc, lr -ENDPROC(putc) - -#else - -ENTRY(putc) - adr r1, 1f - ldmia r1, {r2, r3} - add r2, r2, r1 - ldr r1, [r2, r3] - strb r0, [r1] - mov r0, #0x03 @ SYS_WRITEC - ARM( svc #0x123456 ) -#ifdef CONFIG_CPU_V7M - THUMB( bkpt #0xab ) -#else - THUMB( svc #0xab ) -#endif - mov pc, lr - .align 2 -1: .word _GLOBAL_OFFSET_TABLE_ - . - .word semi_writec_buf(GOT) -ENDPROC(putc) - - .bss - .global semi_writec_buf - .type semi_writec_buf, %object -semi_writec_buf: - .space 4 - .size semi_writec_buf, 4 - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#include +#include + +#ifndef CONFIG_DEBUG_SEMIHOSTING + +#include CONFIG_DEBUG_LL_INCLUDE + +ENTRY(putc) + addruart r1, r2, r3 +#ifdef CONFIG_DEBUG_UART_FLOW_CONTROL + waituartcts r3, r1 +#endif + waituarttxrdy r3, r1 + senduart r0, r1 + busyuart r3, r1 + mov pc, lr +ENDPROC(putc) + +#else + +ENTRY(putc) + adr r1, 1f + ldmia r1, {r2, r3} + add r2, r2, r1 + ldr r1, [r2, r3] + strb r0, [r1] + mov r0, #0x03 @ SYS_WRITEC + ARM( svc #0x123456 ) +#ifdef CONFIG_CPU_V7M + THUMB( bkpt #0xab ) +#else + THUMB( svc #0xab ) +#endif + mov pc, lr + .align 2 +1: .word _GLOBAL_OFFSET_TABLE_ - . + .word semi_writec_buf(GOT) +ENDPROC(putc) + + .bss + .global semi_writec_buf + .type semi_writec_buf, %object +semi_writec_buf: + .space 4 + .size semi_writec_buf, 4 + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/compressed/head-xscale.S b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/compressed/head-xscale.S index d146e5fbab..20fa44d59f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/compressed/head-xscale.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/compressed/head-xscale.S @@ -1,35 +1,35 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * linux/arch/arm/boot/compressed/head-xscale.S - * - * XScale specific tweaks. This is merged into head.S by the linker. - * - */ - -#include - - .section ".start", "ax" - -__XScale_start: - - @ Preserve r8/r7 i.e. kernel entry values - - @ Data cache might be active. - @ Be sure to flush kernel binary out of the cache, - @ whatever state it is, before it is turned off. - @ This is done by fetching through currently executed - @ memory to be sure we hit the same cache. - bic r2, pc, #0x1f - add r3, r2, #0x10000 @ 64 kb is quite enough... -1: ldr r0, [r2], #32 - teq r2, r3 - bne 1b - mcr p15, 0, r0, c7, c10, 4 @ drain WB - mcr p15, 0, r0, c7, c7, 0 @ flush I & D caches - - @ disabling MMU and caches - mrc p15, 0, r0, c1, c0, 0 @ read control reg - bic r0, r0, #0x05 @ clear DC, MMU - bic r0, r0, #0x1000 @ clear Icache - mcr p15, 0, r0, c1, c0, 0 - +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * linux/arch/arm/boot/compressed/head-xscale.S + * + * XScale specific tweaks. This is merged into head.S by the linker. + * + */ + +#include + + .section ".start", "ax" + +__XScale_start: + + @ Preserve r8/r7 i.e. kernel entry values + + @ Data cache might be active. + @ Be sure to flush kernel binary out of the cache, + @ whatever state it is, before it is turned off. + @ This is done by fetching through currently executed + @ memory to be sure we hit the same cache. + bic r2, pc, #0x1f + add r3, r2, #0x10000 @ 64 kb is quite enough... +1: ldr r0, [r2], #32 + teq r2, r3 + bne 1b + mcr p15, 0, r0, c7, c10, 4 @ drain WB + mcr p15, 0, r0, c7, c7, 0 @ flush I & D caches + + @ disabling MMU and caches + mrc p15, 0, r0, c1, c0, 0 @ read control reg + bic r0, r0, #0x05 @ clear DC, MMU + bic r0, r0, #0x1000 @ clear Icache + mcr p15, 0, r0, c1, c0, 0 + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/compressed/misc.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/compressed/misc.h index 72a695b45d..8c73940b5f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/compressed/misc.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/compressed/misc.h @@ -1,21 +1,21 @@ -#ifndef MISC_H -#define MISC_H - -#include - -void error(char *x) __noreturn; -extern unsigned long free_mem_ptr; -extern unsigned long free_mem_end_ptr; -void __div0(void); -void -decompress_kernel(unsigned long output_start, unsigned long free_mem_ptr_p, - unsigned long free_mem_ptr_end_p, int arch_id); -void __fortify_panic(const u8 reason, size_t avail, size_t size); -int atags_to_fdt(void *atag_list, void *fdt, int total_space); -uint32_t fdt_check_mem_start(uint32_t mem_start, const void *fdt); -int do_decompress(u8 *input, int len, u8 *output, void (*error)(char *x)); - -extern char input_data[]; -extern char input_data_end[]; - -#endif +#ifndef MISC_H +#define MISC_H + +#include + +void error(char *x) __noreturn; +extern unsigned long free_mem_ptr; +extern unsigned long free_mem_end_ptr; +void __div0(void); +void +decompress_kernel(unsigned long output_start, unsigned long free_mem_ptr_p, + unsigned long free_mem_ptr_end_p, int arch_id); +void __fortify_panic(const u8 reason, size_t avail, size_t size); +int atags_to_fdt(void *atag_list, void *fdt, int total_space); +uint32_t fdt_check_mem_start(uint32_t mem_start, const void *fdt); +int do_decompress(u8 *input, int len, u8 *output, void (*error)(char *x)); + +extern char input_data[]; +extern char input_data_end[]; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/Makefile index 636dd8981d..efe38eb253 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/Makefile @@ -1,41 +1,41 @@ -# SPDX-License-Identifier: GPL-2.0 -subdir-y += actions -subdir-y += airoha -subdir-y += allwinner -subdir-y += alphascale -subdir-y += amazon -subdir-y += amlogic -subdir-y += arm -subdir-y += aspeed -subdir-y += axis -subdir-y += broadcom -subdir-y += calxeda -subdir-y += cirrus -subdir-y += cnxt -subdir-y += gemini -subdir-y += hisilicon -subdir-y += hpe -subdir-y += intel -subdir-y += marvell -subdir-y += mediatek -subdir-y += microchip -subdir-y += moxa -subdir-y += nspire -subdir-y += nuvoton -subdir-y += nvidia -subdir-y += nxp -subdir-y += qcom -subdir-y += realtek -subdir-y += renesas -subdir-y += rockchip -subdir-y += samsung -subdir-y += sigmastar -subdir-y += socionext -subdir-y += st -subdir-y += sunplus -subdir-y += synaptics -subdir-y += ti -subdir-y += unisoc -subdir-y += vt8500 -subdir-y += xen -subdir-y += xilinx +# SPDX-License-Identifier: GPL-2.0 +subdir-y += actions +subdir-y += airoha +subdir-y += allwinner +subdir-y += alphascale +subdir-y += amazon +subdir-y += amlogic +subdir-y += arm +subdir-y += aspeed +subdir-y += axis +subdir-y += broadcom +subdir-y += calxeda +subdir-y += cirrus +subdir-y += cnxt +subdir-y += gemini +subdir-y += hisilicon +subdir-y += hpe +subdir-y += intel +subdir-y += marvell +subdir-y += mediatek +subdir-y += microchip +subdir-y += moxa +subdir-y += nspire +subdir-y += nuvoton +subdir-y += nvidia +subdir-y += nxp +subdir-y += qcom +subdir-y += realtek +subdir-y += renesas +subdir-y += rockchip +subdir-y += samsung +subdir-y += sigmastar +subdir-y += socionext +subdir-y += st +subdir-y += sunplus +subdir-y += synaptics +subdir-y += ti +subdir-y += unisoc +subdir-y += vt8500 +subdir-y += xen +subdir-y += xilinx diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/airoha/en7523-evb.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/airoha/en7523-evb.dts index f2e8c6fe33..f23a25cce1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/airoha/en7523-evb.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/airoha/en7523-evb.dts @@ -1,43 +1,43 @@ -// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -/dts-v1/; - -/* Bootloader installs ATF here */ -/memreserve/ 0x80000000 0x200000; - -#include "en7523.dtsi" - -/ { - model = "Airoha EN7523 Evaluation Board"; - compatible = "airoha,en7523-evb", "airoha,en7523"; - - aliases { - serial0 = &uart1; - }; - - chosen { - bootargs = "console=ttyS0,115200 earlycon"; - stdout-path = "serial0:115200n8"; - linux,usable-memory-range = <0x80200000 0x1fe00000>; - }; - - memory@80000000 { - device_type = "memory"; - reg = <0x80000000 0x20000000>; - }; -}; - -&gpio0 { - status = "okay"; -}; - -&gpio1 { - status = "okay"; -}; - -&pcie0 { - status = "okay"; -}; - -&pcie1 { - status = "okay"; -}; +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +/dts-v1/; + +/* Bootloader installs ATF here */ +/memreserve/ 0x80000000 0x200000; + +#include "en7523.dtsi" + +/ { + model = "Airoha EN7523 Evaluation Board"; + compatible = "airoha,en7523-evb", "airoha,en7523"; + + aliases { + serial0 = &uart1; + }; + + chosen { + bootargs = "console=ttyS0,115200 earlycon"; + stdout-path = "serial0:115200n8"; + linux,usable-memory-range = <0x80200000 0x1fe00000>; + }; + + memory@80000000 { + device_type = "memory"; + reg = <0x80000000 0x20000000>; + }; +}; + +&gpio0 { + status = "okay"; +}; + +&gpio1 { + status = "okay"; +}; + +&pcie0 { + status = "okay"; +}; + +&pcie1 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/allwinner/sun7i-a20-linutronix-testbox-v2.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/allwinner/sun7i-a20-linutronix-testbox-v2.dts index 446836b6b3..da5a2eea4c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/allwinner/sun7i-a20-linutronix-testbox-v2.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/allwinner/sun7i-a20-linutronix-testbox-v2.dts @@ -1,47 +1,47 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Copyright 2020 Linutronix GmbH - * Author: Benedikt Spranger - */ - -/dts-v1/; -#include "sun7i-a20-lamobo-r1.dts" - -/ { - model = "Lamobo R1"; - compatible = "linutronix,testbox-v2", "lamobo,lamobo-r1", "allwinner,sun7i-a20"; - - leds { - led-opto1 { - label = "lamobo_r1:opto:powerswitch"; - gpios = <&pio 7 3 GPIO_ACTIVE_HIGH>; - }; - - led-opto2 { - label = "lamobo_r1:opto:relay"; - gpios = <&pio 7 5 GPIO_ACTIVE_HIGH>; - }; - }; -}; - -&i2c2 { - clock-frequency = <100000>; - status = "okay"; - - eeprom: eeprom@50 { - compatible = "atmel,24c08"; - reg = <0x50>; - status = "okay"; - }; - - atecc508a@60 { - compatible = "atmel,atecc508a"; - reg = <0x60>; - }; -}; - -&can0 { - pinctrl-names = "default"; - pinctrl-0 = <&can_ph_pins>; - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Copyright 2020 Linutronix GmbH + * Author: Benedikt Spranger + */ + +/dts-v1/; +#include "sun7i-a20-lamobo-r1.dts" + +/ { + model = "Lamobo R1"; + compatible = "linutronix,testbox-v2", "lamobo,lamobo-r1", "allwinner,sun7i-a20"; + + leds { + led-opto1 { + label = "lamobo_r1:opto:powerswitch"; + gpios = <&pio 7 3 GPIO_ACTIVE_HIGH>; + }; + + led-opto2 { + label = "lamobo_r1:opto:relay"; + gpios = <&pio 7 5 GPIO_ACTIVE_HIGH>; + }; + }; +}; + +&i2c2 { + clock-frequency = <100000>; + status = "okay"; + + eeprom: eeprom@50 { + compatible = "atmel,24c08"; + reg = <0x50>; + status = "okay"; + }; + + atecc508a@60 { + compatible = "atmel,atecc508a"; + reg = <0x60>; + }; +}; + +&can0 { + pinctrl-names = "default"; + pinctrl-0 = <&can_ph_pins>; + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/allwinner/sun7i-a20-olimex-som-evb-emmc.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/allwinner/sun7i-a20-olimex-som-evb-emmc.dts index 58f1b5dcf1..fb835730bb 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/allwinner/sun7i-a20-olimex-som-evb-emmc.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/allwinner/sun7i-a20-olimex-som-evb-emmc.dts @@ -1,35 +1,35 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Device Tree Source for A20-Olimex-SOM-EVB-eMMC Board - * - * Copyright (C) 2018 Olimex Ltd. - * Author: Stefan Mavrodiev - */ - -/dts-v1/; -#include "sun7i-a20-olimex-som-evb.dts" - -/ { - - model = "Olimex A20-Olimex-SOM-EVB-eMMC"; - compatible = "olimex,a20-olimex-som-evb-emmc", "allwinner,sun7i-a20"; - - mmc2_pwrseq: pwrseq { - compatible = "mmc-pwrseq-emmc"; - reset-gpios = <&pio 2 18 GPIO_ACTIVE_LOW>; - }; -}; - -&mmc2 { - vmmc-supply = <®_vcc3v3>; - mmc-pwrseq = <&mmc2_pwrseq>; - bus-width = <4>; - non-removable; - status = "okay"; - - emmc: emmc@0 { - reg = <0>; - compatible = "mmc-card"; - broken-hpi; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Device Tree Source for A20-Olimex-SOM-EVB-eMMC Board + * + * Copyright (C) 2018 Olimex Ltd. + * Author: Stefan Mavrodiev + */ + +/dts-v1/; +#include "sun7i-a20-olimex-som-evb.dts" + +/ { + + model = "Olimex A20-Olimex-SOM-EVB-eMMC"; + compatible = "olimex,a20-olimex-som-evb-emmc", "allwinner,sun7i-a20"; + + mmc2_pwrseq: pwrseq { + compatible = "mmc-pwrseq-emmc"; + reset-gpios = <&pio 2 18 GPIO_ACTIVE_LOW>; + }; +}; + +&mmc2 { + vmmc-supply = <®_vcc3v3>; + mmc-pwrseq = <&mmc2_pwrseq>; + bus-width = <4>; + non-removable; + status = "okay"; + + emmc: emmc@0 { + reg = <0>; + compatible = "mmc-card"; + broken-hpi; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/allwinner/sun7i-a20-olimex-som204-evb-emmc.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/allwinner/sun7i-a20-olimex-som204-evb-emmc.dts index f65430a1b7..e8977c2fe7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/allwinner/sun7i-a20-olimex-som204-evb-emmc.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/allwinner/sun7i-a20-olimex-som204-evb-emmc.dts @@ -1,34 +1,34 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Device Tree Source for A20-SOM204-EVB-eMMC Board - * - * Copyright (C) 2018 Olimex Ltd. - * Author: Stefan Mavrodiev - */ - -/dts-v1/; -#include "sun7i-a20-olimex-som204-evb.dts" - -/ { - model = "Olimex A20-SOM204-EVB-eMMC"; - compatible = "olimex,a20-olimex-som204-evb-emmc", "allwinner,sun7i-a20"; - - mmc2_pwrseq: pwrseq-1 { - compatible = "mmc-pwrseq-emmc"; - reset-gpios = <&pio 2 16 GPIO_ACTIVE_LOW>; - }; -}; - -&mmc2 { - vmmc-supply = <®_vcc3v3>; - mmc-pwrseq = <&mmc2_pwrseq>; - bus-width = <4>; - non-removable; - status = "okay"; - - emmc: emmc@0 { - reg = <0>; - compatible = "mmc-card"; - broken-hpi; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Device Tree Source for A20-SOM204-EVB-eMMC Board + * + * Copyright (C) 2018 Olimex Ltd. + * Author: Stefan Mavrodiev + */ + +/dts-v1/; +#include "sun7i-a20-olimex-som204-evb.dts" + +/ { + model = "Olimex A20-SOM204-EVB-eMMC"; + compatible = "olimex,a20-olimex-som204-evb-emmc", "allwinner,sun7i-a20"; + + mmc2_pwrseq: pwrseq-1 { + compatible = "mmc-pwrseq-emmc"; + reset-gpios = <&pio 2 16 GPIO_ACTIVE_LOW>; + }; +}; + +&mmc2 { + vmmc-supply = <®_vcc3v3>; + mmc-pwrseq = <&mmc2_pwrseq>; + bus-width = <4>; + non-removable; + status = "okay"; + + emmc: emmc@0 { + reg = <0>; + compatible = "mmc-card"; + broken-hpi; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/allwinner/sun7i-a20-olinuxino-lime-emmc.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/allwinner/sun7i-a20-olinuxino-lime-emmc.dts index 848950bf7b..033cab3443 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/allwinner/sun7i-a20-olinuxino-lime-emmc.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/allwinner/sun7i-a20-olinuxino-lime-emmc.dts @@ -1,32 +1,32 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (C) 2020 Olimex Ltd. - * Author: Stefan Mavrodiev - */ - -#include "sun7i-a20-olinuxino-lime.dts" - -/ { - model = "Olimex A20-OLinuXino-LIME-eMMC"; - compatible = "olimex,a20-olinuxino-lime-emmc", "allwinner,sun7i-a20"; - - mmc2_pwrseq: pwrseq { - compatible = "mmc-pwrseq-emmc"; - reset-gpios = <&pio 2 16 GPIO_ACTIVE_LOW>; - }; -}; - -&mmc2 { - vmmc-supply = <®_vcc3v3>; - vqmmc-supply = <®_vcc3v3>; - bus-width = <4>; - non-removable; - mmc-pwrseq = <&mmc2_pwrseq>; - status = "okay"; - - emmc: emmc@0 { - reg = <0>; - compatible = "mmc-card"; - broken-hpi; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (C) 2020 Olimex Ltd. + * Author: Stefan Mavrodiev + */ + +#include "sun7i-a20-olinuxino-lime.dts" + +/ { + model = "Olimex A20-OLinuXino-LIME-eMMC"; + compatible = "olimex,a20-olinuxino-lime-emmc", "allwinner,sun7i-a20"; + + mmc2_pwrseq: pwrseq { + compatible = "mmc-pwrseq-emmc"; + reset-gpios = <&pio 2 16 GPIO_ACTIVE_LOW>; + }; +}; + +&mmc2 { + vmmc-supply = <®_vcc3v3>; + vqmmc-supply = <®_vcc3v3>; + bus-width = <4>; + non-removable; + mmc-pwrseq = <&mmc2_pwrseq>; + status = "okay"; + + emmc: emmc@0 { + reg = <0>; + compatible = "mmc-card"; + broken-hpi; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/allwinner/sun8i-s3-elimo-impetus.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/allwinner/sun8i-s3-elimo-impetus.dtsi index 78878444a3..052b010a56 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/allwinner/sun8i-s3-elimo-impetus.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/allwinner/sun8i-s3-elimo-impetus.dtsi @@ -1,44 +1,44 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (C) 2020 Matteo Scordino - */ - -/dts-v1/; -#include "sun8i-v3.dtsi" -#include "sunxi-common-regulators.dtsi" - -/ { - model = "Elimo Impetus SoM"; - compatible = "elimo,impetus", "sochip,s3", "allwinner,sun8i-v3"; - - aliases { - serial0 = &uart0; - }; - - chosen { - stdout-path = "serial0:115200n8"; - }; -}; - -&mmc0 { - broken-cd; - bus-width = <4>; - vmmc-supply = <®_vcc3v3>; - status = "okay"; -}; - -&uart0 { - pinctrl-0 = <&uart0_pb_pins>; - pinctrl-names = "default"; - status = "okay"; -}; - -&usb_otg { - dr_mode = "otg"; - status = "okay"; -}; - -&usbphy { - usb0_id_det-gpios = <&pio 5 6 GPIO_ACTIVE_HIGH>; - status = "okay"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (C) 2020 Matteo Scordino + */ + +/dts-v1/; +#include "sun8i-v3.dtsi" +#include "sunxi-common-regulators.dtsi" + +/ { + model = "Elimo Impetus SoM"; + compatible = "elimo,impetus", "sochip,s3", "allwinner,sun8i-v3"; + + aliases { + serial0 = &uart0; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; +}; + +&mmc0 { + broken-cd; + bus-width = <4>; + vmmc-supply = <®_vcc3v3>; + status = "okay"; +}; + +&uart0 { + pinctrl-0 = <&uart0_pb_pins>; + pinctrl-names = "default"; + status = "okay"; +}; + +&usb_otg { + dr_mode = "otg"; + status = "okay"; +}; + +&usbphy { + usb0_id_det-gpios = <&pio 5 6 GPIO_ACTIVE_HIGH>; + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/allwinner/sun8i-s3-lichee-zero-plus.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/allwinner/sun8i-s3-lichee-zero-plus.dts index 6462881e9d..d18192d51d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/allwinner/sun8i-s3-lichee-zero-plus.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/allwinner/sun8i-s3-lichee-zero-plus.dts @@ -1,53 +1,53 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (C) 2019 Icenowy Zheng - */ - -/dts-v1/; -#include "sun8i-v3.dtsi" - -#include - -/ { - model = "Sipeed Lichee Zero Plus"; - compatible = "sipeed,lichee-zero-plus", "sochip,s3", - "allwinner,sun8i-v3"; - - aliases { - serial0 = &uart0; - }; - - chosen { - stdout-path = "serial0:115200n8"; - }; - - reg_vcc3v3: vcc3v3 { - compatible = "regulator-fixed"; - regulator-name = "vcc3v3"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - }; -}; - -&mmc0 { - broken-cd; - bus-width = <4>; - vmmc-supply = <®_vcc3v3>; - status = "okay"; -}; - -&uart0 { - pinctrl-0 = <&uart0_pb_pins>; - pinctrl-names = "default"; - status = "okay"; -}; - -&usb_otg { - dr_mode = "peripheral"; - status = "okay"; -}; - -&usbphy { - usb0_id_det-gpios = <&pio 5 6 GPIO_ACTIVE_HIGH>; - status = "okay"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (C) 2019 Icenowy Zheng + */ + +/dts-v1/; +#include "sun8i-v3.dtsi" + +#include + +/ { + model = "Sipeed Lichee Zero Plus"; + compatible = "sipeed,lichee-zero-plus", "sochip,s3", + "allwinner,sun8i-v3"; + + aliases { + serial0 = &uart0; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + reg_vcc3v3: vcc3v3 { + compatible = "regulator-fixed"; + regulator-name = "vcc3v3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + }; +}; + +&mmc0 { + broken-cd; + bus-width = <4>; + vmmc-supply = <®_vcc3v3>; + status = "okay"; +}; + +&uart0 { + pinctrl-0 = <&uart0_pb_pins>; + pinctrl-names = "default"; + status = "okay"; +}; + +&usb_otg { + dr_mode = "peripheral"; + status = "okay"; +}; + +&usbphy { + usb0_id_det-gpios = <&pio 5 6 GPIO_ACTIVE_HIGH>; + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/allwinner/sun8i-t113s-mangopi-mq-r-t113.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/allwinner/sun8i-t113s-mangopi-mq-r-t113.dts index 1b5788c33d..8b3a753838 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/allwinner/sun8i-t113s-mangopi-mq-r-t113.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/allwinner/sun8i-t113s-mangopi-mq-r-t113.dts @@ -1,35 +1,35 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -// Copyright (C) 2022 Arm Ltd. - -#include - -/dts-v1/; - -#include "sun8i-t113s.dtsi" -#include "sunxi-d1s-t113-mangopi-mq-r.dtsi" - -/ { - model = "MangoPi MQ-R-T113"; - compatible = "widora,mangopi-mq-r-t113", "allwinner,sun8i-t113s"; - - aliases { - ethernet0 = &rtl8189ftv; - }; -}; - -&cpu0 { - cpu-supply = <®_vcc_core>; -}; - -&cpu1 { - cpu-supply = <®_vcc_core>; -}; - -&mmc1 { - rtl8189ftv: wifi@1 { - reg = <1>; - interrupt-parent = <&pio>; - interrupts = <6 10 IRQ_TYPE_LEVEL_LOW>; /* PG10 = WL_WAKE_AP */ - interrupt-names = "host-wake"; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +// Copyright (C) 2022 Arm Ltd. + +#include + +/dts-v1/; + +#include "sun8i-t113s.dtsi" +#include "sunxi-d1s-t113-mangopi-mq-r.dtsi" + +/ { + model = "MangoPi MQ-R-T113"; + compatible = "widora,mangopi-mq-r-t113", "allwinner,sun8i-t113s"; + + aliases { + ethernet0 = &rtl8189ftv; + }; +}; + +&cpu0 { + cpu-supply = <®_vcc_core>; +}; + +&cpu1 { + cpu-supply = <®_vcc_core>; +}; + +&mmc1 { + rtl8189ftv: wifi@1 { + reg = <1>; + interrupt-parent = <&pio>; + interrupts = <6 10 IRQ_TYPE_LEVEL_LOW>; /* PG10 = WL_WAKE_AP */ + interrupt-names = "host-wake"; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/allwinner/sunxi-bananapi-m2-plus-v1.2.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/allwinner/sunxi-bananapi-m2-plus-v1.2.dtsi index 552485cc4d..235994a4a2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/allwinner/sunxi-bananapi-m2-plus-v1.2.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/allwinner/sunxi-bananapi-m2-plus-v1.2.dtsi @@ -1,42 +1,42 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (C) 2018 Chen-Yu Tsai - */ - -#include "sunxi-bananapi-m2-plus.dtsi" - -/ { - /* - * Bananapi M2+ v1.2 uses a GPIO line to change the effective - * resistance on the CPU regulator's feedback pin. - */ - reg_vdd_cpux: vdd-cpux { - compatible = "regulator-gpio"; - regulator-name = "vdd-cpux"; - regulator-type = "voltage"; - regulator-boot-on; - regulator-always-on; - regulator-min-microvolt = <1108475>; - regulator-max-microvolt = <1308475>; - regulator-ramp-delay = <50>; /* 4ms */ - gpios = <&r_pio 0 1 GPIO_ACTIVE_HIGH>; /* PL1 */ - gpios-states = <0x1>; - states = <1108475 0>, <1308475 1>; - }; -}; - -&cpu0 { - cpu-supply = <®_vdd_cpux>; -}; - -&cpu1 { - cpu-supply = <®_vdd_cpux>; -}; - -&cpu2 { - cpu-supply = <®_vdd_cpux>; -}; - -&cpu3 { - cpu-supply = <®_vdd_cpux>; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (C) 2018 Chen-Yu Tsai + */ + +#include "sunxi-bananapi-m2-plus.dtsi" + +/ { + /* + * Bananapi M2+ v1.2 uses a GPIO line to change the effective + * resistance on the CPU regulator's feedback pin. + */ + reg_vdd_cpux: vdd-cpux { + compatible = "regulator-gpio"; + regulator-name = "vdd-cpux"; + regulator-type = "voltage"; + regulator-boot-on; + regulator-always-on; + regulator-min-microvolt = <1108475>; + regulator-max-microvolt = <1308475>; + regulator-ramp-delay = <50>; /* 4ms */ + gpios = <&r_pio 0 1 GPIO_ACTIVE_HIGH>; /* PL1 */ + gpios-states = <0x1>; + states = <1108475 0>, <1308475 1>; + }; +}; + +&cpu0 { + cpu-supply = <®_vdd_cpux>; +}; + +&cpu1 { + cpu-supply = <®_vdd_cpux>; +}; + +&cpu2 { + cpu-supply = <®_vdd_cpux>; +}; + +&cpu3 { + cpu-supply = <®_vdd_cpux>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/arm/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/arm/Makefile index efe66ca2eb..07ebb64e2c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/arm/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/arm/Makefile @@ -1,30 +1,30 @@ -# SPDX-License-Identifier: GPL-2.0 -dtb-$(CONFIG_ARCH_INTEGRATOR) += \ - integratorap.dtb \ - integratorap-im-pd1.dtb \ - integratorcp.dtb -dtb-$(CONFIG_ARCH_MPS2) += \ - mps2-an385.dtb \ - mps2-an399.dtb -dtb-$(CONFIG_ARCH_REALVIEW) += \ - arm-realview-pb1176.dtb \ - arm-realview-pb11mp.dtb \ - arm-realview-eb.dtb \ - arm-realview-eb-bbrevd.dtb \ - arm-realview-eb-11mp.dtb \ - arm-realview-eb-11mp-bbrevd.dtb \ - arm-realview-eb-11mp-ctrevb.dtb \ - arm-realview-eb-11mp-bbrevd-ctrevb.dtb \ - arm-realview-eb-a9mp.dtb \ - arm-realview-eb-a9mp-bbrevd.dtb \ - arm-realview-pba8.dtb \ - arm-realview-pbx-a9.dtb -dtb-$(CONFIG_ARCH_VERSATILE) += \ - versatile-ab.dtb \ - versatile-ab-ib2.dtb \ - versatile-pb.dtb -dtb-$(CONFIG_ARCH_VEXPRESS) += \ - vexpress-v2p-ca5s.dtb \ - vexpress-v2p-ca9.dtb \ - vexpress-v2p-ca15-tc1.dtb \ - vexpress-v2p-ca15_a7.dtb +# SPDX-License-Identifier: GPL-2.0 +dtb-$(CONFIG_ARCH_INTEGRATOR) += \ + integratorap.dtb \ + integratorap-im-pd1.dtb \ + integratorcp.dtb +dtb-$(CONFIG_ARCH_MPS2) += \ + mps2-an385.dtb \ + mps2-an399.dtb +dtb-$(CONFIG_ARCH_REALVIEW) += \ + arm-realview-pb1176.dtb \ + arm-realview-pb11mp.dtb \ + arm-realview-eb.dtb \ + arm-realview-eb-bbrevd.dtb \ + arm-realview-eb-11mp.dtb \ + arm-realview-eb-11mp-bbrevd.dtb \ + arm-realview-eb-11mp-ctrevb.dtb \ + arm-realview-eb-11mp-bbrevd-ctrevb.dtb \ + arm-realview-eb-a9mp.dtb \ + arm-realview-eb-a9mp-bbrevd.dtb \ + arm-realview-pba8.dtb \ + arm-realview-pbx-a9.dtb +dtb-$(CONFIG_ARCH_VERSATILE) += \ + versatile-ab.dtb \ + versatile-ab-ib2.dtb \ + versatile-pb.dtb +dtb-$(CONFIG_ARCH_VEXPRESS) += \ + vexpress-v2p-ca5s.dtb \ + vexpress-v2p-ca9.dtb \ + vexpress-v2p-ca15-tc1.dtb \ + vexpress-v2p-ca15_a7.dtb diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/arm/versatile-ab-ib2.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/arm/versatile-ab-ib2.dts index 251ee2729d..7ebb0dfd04 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/arm/versatile-ab-ib2.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/arm/versatile-ab-ib2.dts @@ -1,30 +1,30 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * The Versatile AB with the IB2 expansion board mounted. - * This works as a superset of the Versatile AB. - */ - -#include "versatile-ab.dts" - -/ { - model = "ARM Versatile AB + IB2 board"; - - /* Special IB2 control register */ - syscon@27000000 { - compatible = "arm,versatile-ib2-syscon", "syscon", "simple-mfd"; - reg = <0x27000000 0x4>; - ranges = <0x0 0x27000000 0x4>; - #address-cells = <1>; - #size-cells = <1>; - - led@0,4 { - compatible = "register-bit-led"; - reg = <0x00 0x04>; - offset = <0x00>; - mask = <0x10>; - label = "versatile-ib2:0"; - linux,default-trigger = "heartbeat"; - default-state = "on"; - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * The Versatile AB with the IB2 expansion board mounted. + * This works as a superset of the Versatile AB. + */ + +#include "versatile-ab.dts" + +/ { + model = "ARM Versatile AB + IB2 board"; + + /* Special IB2 control register */ + syscon@27000000 { + compatible = "arm,versatile-ib2-syscon", "syscon", "simple-mfd"; + reg = <0x27000000 0x4>; + ranges = <0x0 0x27000000 0x4>; + #address-cells = <1>; + #size-cells = <1>; + + led@0,4 { + compatible = "register-bit-led"; + reg = <0x00 0x04>; + offset = <0x00>; + mask = <0x10>; + label = "versatile-ib2:0"; + linux,default-trigger = "heartbeat"; + default-state = "on"; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-galaxy100.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-galaxy100.dts index df5c5709d0..60e875ac24 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-galaxy100.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-galaxy100.dts @@ -1,53 +1,53 @@ -// SPDX-License-Identifier: GPL-2.0+ -// Copyright (c) 2020 Facebook Inc. -/dts-v1/; - -#include "ast2400-facebook-netbmc-common.dtsi" - -/ { - model = "Facebook Galaxy 100 BMC"; - compatible = "facebook,galaxy100-bmc", "aspeed,ast2400"; - - chosen { - stdout-path = &uart5; - bootargs = "console=ttyS0,9600n8 root=/dev/ram rw"; - }; - - ast-adc-hwmon { - compatible = "iio-hwmon"; - io-channels = <&adc 3>, <&adc 4>, <&adc 8>, <&adc 9>; - }; -}; - -&wdt2 { - status = "okay"; - aspeed,reset-type = "system"; -}; - -&fmc { - flash@1 { - status = "okay"; - m25p,fast-read; - label = "spi0.1"; - - partitions { - compatible = "fixed-partitions"; - #address-cells = <1>; - #size-cells = <1>; - - flash1@0 { - reg = <0x0 0x2000000>; - label = "flash1"; - }; - }; - }; -}; - - -&i2c9 { - status = "okay"; -}; - -&vhub { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0+ +// Copyright (c) 2020 Facebook Inc. +/dts-v1/; + +#include "ast2400-facebook-netbmc-common.dtsi" + +/ { + model = "Facebook Galaxy 100 BMC"; + compatible = "facebook,galaxy100-bmc", "aspeed,ast2400"; + + chosen { + stdout-path = &uart5; + bootargs = "console=ttyS0,9600n8 root=/dev/ram rw"; + }; + + ast-adc-hwmon { + compatible = "iio-hwmon"; + io-channels = <&adc 3>, <&adc 4>, <&adc 8>, <&adc 9>; + }; +}; + +&wdt2 { + status = "okay"; + aspeed,reset-type = "system"; +}; + +&fmc { + flash@1 { + status = "okay"; + m25p,fast-read; + label = "spi0.1"; + + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + flash1@0 { + reg = <0x0 0x2000000>; + label = "flash1"; + }; + }; + }; +}; + + +&i2c9 { + status = "okay"; +}; + +&vhub { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/aspeed/facebook-bmc-flash-layout.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/aspeed/facebook-bmc-flash-layout.dtsi index 2d1ac2d291..87bb8b5762 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/aspeed/facebook-bmc-flash-layout.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/aspeed/facebook-bmc-flash-layout.dtsi @@ -1,42 +1,42 @@ -// SPDX-License-Identifier: GPL-2.0+ -// Copyright (c) 2018 Facebook Inc. - -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 = "env"; - }; - - fit@80000 { - reg = <0x80000 0x1b80000>; - label = "fit"; - }; - - /* - * "data0" partition is used by several Facebook BMC platforms - * as persistent data store. - */ - data0@1c00000 { - reg = <0x1c00000 0x400000>; - label = "data0"; - }; - - /* - * Although the master partition can be created by enabling - * MTD_PARTITIONED_MASTER option, below "flash0" partition is - * explicitly created to avoid breaking legacy applications. - */ - flash0@0 { - reg = <0x0 0x2000000>; - label = "flash0"; - }; -}; +// SPDX-License-Identifier: GPL-2.0+ +// Copyright (c) 2018 Facebook Inc. + +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 = "env"; + }; + + fit@80000 { + reg = <0x80000 0x1b80000>; + label = "fit"; + }; + + /* + * "data0" partition is used by several Facebook BMC platforms + * as persistent data store. + */ + data0@1c00000 { + reg = <0x1c00000 0x400000>; + label = "data0"; + }; + + /* + * Although the master partition can be created by enabling + * MTD_PARTITIONED_MASTER option, below "flash0" partition is + * explicitly created to avoid breaking legacy applications. + */ + flash0@0 { + reg = <0x0 0x2000000>; + label = "flash0"; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/axis/artpec6-devboard.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/axis/artpec6-devboard.dts index 04692be775..042a9cc920 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/axis/artpec6-devboard.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/axis/artpec6-devboard.dts @@ -1,64 +1,64 @@ -// SPDX-License-Identifier: GPL-2.0-only -// Axis ARTPEC-6 development board. - -/dts-v1/; -#include "artpec6.dtsi" - -/ { - model = "ARTPEC-6 development board"; - compatible = "axis,artpec6-dev-board", "axis,artpec6"; - - aliases { - serial0 = &uart0; - serial1 = &uart1; - serial2 = &uart2; - serial3 = &uart3; - }; - - chosen { - stdout-path = "serial3:115200n8"; - }; - - memory { - device_type = "memory"; - reg = <0x0 0x40000000>; - }; -}; - -&uart0 { - status = "okay"; -}; - -&uart1 { - status = "okay"; -}; - -&uart2 { - status = "okay"; -}; - -&uart3 { - status = "okay"; -}; - -&pcie { - status = "okay"; -}; - -ðernet { - status = "okay"; - - phy-handle = <&phy1>; - phy-mode = "gmii"; - - mdio { - #address-cells = <0x1>; - #size-cells = <0x0>; - compatible = "snps,dwmac-mdio"; - phy1: phy@0 { - compatible = "ethernet-phy-ieee802.3-c22"; - device_type = "ethernet-phy"; - reg = <0x0>; - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0-only +// Axis ARTPEC-6 development board. + +/dts-v1/; +#include "artpec6.dtsi" + +/ { + model = "ARTPEC-6 development board"; + compatible = "axis,artpec6-dev-board", "axis,artpec6"; + + aliases { + serial0 = &uart0; + serial1 = &uart1; + serial2 = &uart2; + serial3 = &uart3; + }; + + chosen { + stdout-path = "serial3:115200n8"; + }; + + memory { + device_type = "memory"; + reg = <0x0 0x40000000>; + }; +}; + +&uart0 { + status = "okay"; +}; + +&uart1 { + status = "okay"; +}; + +&uart2 { + status = "okay"; +}; + +&uart3 { + status = "okay"; +}; + +&pcie { + status = "okay"; +}; + +ðernet { + status = "okay"; + + phy-handle = <&phy1>; + phy-mode = "gmii"; + + mdio { + #address-cells = <0x1>; + #size-cells = <0x0>; + compatible = "snps,dwmac-mdio"; + phy1: phy@0 { + compatible = "ethernet-phy-ieee802.3-c22"; + device_type = "ethernet-phy"; + reg = <0x0>; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm-nsp-ax.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm-nsp-ax.dtsi index 54913b1ef4..f2e941dbab 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm-nsp-ax.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm-nsp-ax.dtsi @@ -1,70 +1,70 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Broadcom Northstar Plus Ax stepping-specific bindings. - * Notable differences from B0+ are the secondary-boot-reg and - * lack of DMA coherency. - */ - -&cpu1 { - secondary-boot-reg = <0xffff042c>; -}; - -&dma { - /delete-property/ dma-coherent; -}; - -&sdio { - /delete-property/ dma-coherent; -}; - -&amac0 { - /delete-property/ dma-coherent; -}; - -&amac1 { - /delete-property/ dma-coherent; -}; - -&amac2 { - /delete-property/ dma-coherent; -}; - -&ehci0 { - /delete-property/ dma-coherent; -}; - -&mailbox { - /delete-property/ dma-coherent; -}; - -&xhci { - /delete-property/ dma-coherent; -}; - -&ehci0 { - /delete-property/ dma-coherent; -}; - -&ohci0 { - /delete-property/ dma-coherent; -}; - -&i2c0 { - /delete-property/ dma-coherent; -}; - -&sata { - /delete-property/ dma-coherent; -}; - -&pcie0 { - /delete-property/ dma-coherent; -}; - -&pcie1 { - /delete-property/ dma-coherent; -}; - -&pcie2 { - /delete-property/ dma-coherent; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Broadcom Northstar Plus Ax stepping-specific bindings. + * Notable differences from B0+ are the secondary-boot-reg and + * lack of DMA coherency. + */ + +&cpu1 { + secondary-boot-reg = <0xffff042c>; +}; + +&dma { + /delete-property/ dma-coherent; +}; + +&sdio { + /delete-property/ dma-coherent; +}; + +&amac0 { + /delete-property/ dma-coherent; +}; + +&amac1 { + /delete-property/ dma-coherent; +}; + +&amac2 { + /delete-property/ dma-coherent; +}; + +&ehci0 { + /delete-property/ dma-coherent; +}; + +&mailbox { + /delete-property/ dma-coherent; +}; + +&xhci { + /delete-property/ dma-coherent; +}; + +&ehci0 { + /delete-property/ dma-coherent; +}; + +&ohci0 { + /delete-property/ dma-coherent; +}; + +&i2c0 { + /delete-property/ dma-coherent; +}; + +&sata { + /delete-property/ dma-coherent; +}; + +&pcie0 { + /delete-property/ dma-coherent; +}; + +&pcie1 { + /delete-property/ dma-coherent; +}; + +&pcie2 { + /delete-property/ dma-coherent; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm21664-garnet.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm21664-garnet.dts index ce79751baf..4f8ddc1b3a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm21664-garnet.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm21664-garnet.dts @@ -1,51 +1,51 @@ -// SPDX-License-Identifier: GPL-2.0-only -// Copyright (C) 2014 Broadcom Corporation - -/dts-v1/; - -#include - -#include "bcm21664.dtsi" - -/ { - model = "BCM21664 Garnet board"; - compatible = "brcm,bcm21664-garnet", "brcm,bcm21664"; - - chosen { - bootargs = "console=ttyS0,115200n8"; - }; - - memory@80000000 { - device_type = "memory"; - reg = <0x80000000 0x40000000>; /* 1 GB */ - }; -}; - -&sdio1 { - max-frequency = <48000000>; - status = "okay"; -}; - -&sdio2 { - non-removable; - max-frequency = <48000000>; - status = "okay"; -}; - -&sdio4 { - max-frequency = <48000000>; - cd-gpios = <&gpio 91 GPIO_ACTIVE_LOW>; - status = "okay"; -}; - -&uartb { - status = "okay"; -}; - -&usbotg { - status = "okay"; -}; - -&usbphy { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0-only +// Copyright (C) 2014 Broadcom Corporation + +/dts-v1/; + +#include + +#include "bcm21664.dtsi" + +/ { + model = "BCM21664 Garnet board"; + compatible = "brcm,bcm21664-garnet", "brcm,bcm21664"; + + chosen { + bootargs = "console=ttyS0,115200n8"; + }; + + memory@80000000 { + device_type = "memory"; + reg = <0x80000000 0x40000000>; /* 1 GB */ + }; +}; + +&sdio1 { + max-frequency = <48000000>; + status = "okay"; +}; + +&sdio2 { + non-removable; + max-frequency = <48000000>; + status = "okay"; +}; + +&sdio4 { + max-frequency = <48000000>; + cd-gpios = <&gpio 91 GPIO_ACTIVE_LOW>; + status = "okay"; +}; + +&uartb { + status = "okay"; +}; + +&usbotg { + status = "okay"; +}; + +&usbphy { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm2711-rpi-400.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm2711-rpi-400.dts index 9c85658d17..ca9be91b4f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm2711-rpi-400.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm2711-rpi-400.dts @@ -1,44 +1,44 @@ -// SPDX-License-Identifier: GPL-2.0 -/dts-v1/; -#include "bcm2711-rpi-4-b.dts" - -/ { - compatible = "raspberrypi,400", "brcm,bcm2711"; - model = "Raspberry Pi 400"; - - chosen { - /* 8250 auxiliary UART instead of pl011 */ - stdout-path = "serial1:115200n8"; - }; - - gpio-poweroff { - compatible = "gpio-poweroff"; - gpios = <&expgpio 5 GPIO_ACTIVE_HIGH>; - }; -}; - -&expgpio { - gpio-line-names = "BT_ON", - "WL_ON", - "PWR_LED_OFF", - "GLOBAL_RESET", - "VDD_SD_IO_SEL", - "GLOBAL_SHUTDOWN", - "SD_PWR_ON", - "SHUTDOWN_REQUEST"; -}; - -&genet_mdio { - clock-frequency = <1950000>; - /delete-node/ leds; -}; - -&led_pwr { - gpios = <&gpio 42 GPIO_ACTIVE_HIGH>; -}; - -/delete-node/ &led_act; - -&pm { - /delete-property/ system-power-controller; -}; +// SPDX-License-Identifier: GPL-2.0 +/dts-v1/; +#include "bcm2711-rpi-4-b.dts" + +/ { + compatible = "raspberrypi,400", "brcm,bcm2711"; + model = "Raspberry Pi 400"; + + chosen { + /* 8250 auxiliary UART instead of pl011 */ + stdout-path = "serial1:115200n8"; + }; + + gpio-poweroff { + compatible = "gpio-poweroff"; + gpios = <&expgpio 5 GPIO_ACTIVE_HIGH>; + }; +}; + +&expgpio { + gpio-line-names = "BT_ON", + "WL_ON", + "PWR_LED_OFF", + "GLOBAL_RESET", + "VDD_SD_IO_SEL", + "GLOBAL_SHUTDOWN", + "SD_PWR_ON", + "SHUTDOWN_REQUEST"; +}; + +&genet_mdio { + clock-frequency = <1950000>; + /delete-node/ leds; +}; + +&led_pwr { + gpios = <&gpio 42 GPIO_ACTIVE_HIGH>; +}; + +/delete-node/ &led_act; + +&pm { + /delete-property/ system-power-controller; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm2835-rpi-cm1.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm2835-rpi-cm1.dtsi index a77aea4ebd..750cd76948 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm2835-rpi-cm1.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm2835-rpi-cm1.dtsi @@ -1,45 +1,45 @@ -// SPDX-License-Identifier: GPL-2.0 -/dts-v1/; -#include "bcm2835.dtsi" -#include "bcm2835-rpi.dtsi" -#include "bcm2835-rpi-common.dtsi" -#include "bcm283x-rpi-led-deprecated.dtsi" - -/ { - leds { - led-act { - gpios = <&gpio 47 GPIO_ACTIVE_LOW>; - }; - }; - - memory@0 { - device_type = "memory"; - reg = <0 0x20000000>; - }; - - reg_3v3: fixed-regulator { - compatible = "regulator-fixed"; - regulator-name = "3V3"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - regulator-always-on; - }; - - reg_1v8: fixed-regulator { - compatible = "regulator-fixed"; - regulator-name = "1V8"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - regulator-always-on; - }; -}; - -&led_act { - gpios = <&gpio 47 GPIO_ACTIVE_LOW>; -}; - -&sdhost { - non-removable; - vmmc-supply = <®_3v3>; - vqmmc-supply = <®_1v8>; -}; +// SPDX-License-Identifier: GPL-2.0 +/dts-v1/; +#include "bcm2835.dtsi" +#include "bcm2835-rpi.dtsi" +#include "bcm2835-rpi-common.dtsi" +#include "bcm283x-rpi-led-deprecated.dtsi" + +/ { + leds { + led-act { + gpios = <&gpio 47 GPIO_ACTIVE_LOW>; + }; + }; + + memory@0 { + device_type = "memory"; + reg = <0 0x20000000>; + }; + + reg_3v3: fixed-regulator { + compatible = "regulator-fixed"; + regulator-name = "3V3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-always-on; + }; + + reg_1v8: fixed-regulator { + compatible = "regulator-fixed"; + regulator-name = "1V8"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-always-on; + }; +}; + +&led_act { + gpios = <&gpio 47 GPIO_ACTIVE_LOW>; +}; + +&sdhost { + non-removable; + vmmc-supply = <®_3v3>; + vqmmc-supply = <®_1v8>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm283x-rpi-lan7515.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm283x-rpi-lan7515.dtsi index 9481bae12e..70bece63f9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm283x-rpi-lan7515.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm283x-rpi-lan7515.dtsi @@ -1,41 +1,41 @@ -// SPDX-License-Identifier: GPL-2.0 -#include - -/ { - aliases { - ethernet0 = ðernet; - }; -}; - -&usb { - usb-port@1 { - compatible = "usb424,2514"; - reg = <1>; - #address-cells = <1>; - #size-cells = <0>; - - usb-port@1 { - compatible = "usb424,2514"; - reg = <1>; - #address-cells = <1>; - #size-cells = <0>; - - ethernet: ethernet@1 { - compatible = "usb424,7800"; - reg = <1>; - - mdio { - #address-cells = <0x1>; - #size-cells = <0x0>; - eth_phy: ethernet-phy@1 { - reg = <1>; - microchip,led-modes = < - LAN78XX_LINK_1000_ACTIVITY - LAN78XX_LINK_10_100_ACTIVITY - >; - }; - }; - }; - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0 +#include + +/ { + aliases { + ethernet0 = ðernet; + }; +}; + +&usb { + usb-port@1 { + compatible = "usb424,2514"; + reg = <1>; + #address-cells = <1>; + #size-cells = <0>; + + usb-port@1 { + compatible = "usb424,2514"; + reg = <1>; + #address-cells = <1>; + #size-cells = <0>; + + ethernet: ethernet@1 { + compatible = "usb424,7800"; + reg = <1>; + + mdio { + #address-cells = <0x1>; + #size-cells = <0x0>; + eth_phy: ethernet-phy@1 { + reg = <1>; + microchip,led-modes = < + LAN78XX_LINK_1000_ACTIVITY + LAN78XX_LINK_10_100_ACTIVITY + >; + }; + }; + }; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm4708-linksys-ea6300-v1.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm4708-linksys-ea6300-v1.dts index ecfd9c0c17..0ed25bf71f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm4708-linksys-ea6300-v1.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm4708-linksys-ea6300-v1.dts @@ -1,48 +1,48 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright (C) 2017 Rafał Miłecki - */ - -/dts-v1/; - -#include "bcm4708.dtsi" -#include "bcm5301x-nand-cs0-bch8.dtsi" - -/ { - compatible = "linksys,ea6300-v1", "brcm,bcm4708"; - model = "Linksys EA6300 V1"; - - chosen { - bootargs = "console=ttyS0,115200"; - }; - - memory@0 { - device_type = "memory"; - reg = <0x00000000 0x08000000>; - }; - - nvram@1c080000 { - compatible = "brcm,nvram"; - reg = <0x1c080000 0x180000>; - }; - - gpio-keys { - compatible = "gpio-keys"; - - button-wps { - label = "WPS"; - linux,code = ; - gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>; - }; - - button-restart { - label = "Reset"; - linux,code = ; - gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>; - }; - }; -}; - -&usb3_phy { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright (C) 2017 Rafał Miłecki + */ + +/dts-v1/; + +#include "bcm4708.dtsi" +#include "bcm5301x-nand-cs0-bch8.dtsi" + +/ { + compatible = "linksys,ea6300-v1", "brcm,bcm4708"; + model = "Linksys EA6300 V1"; + + chosen { + bootargs = "console=ttyS0,115200"; + }; + + memory@0 { + device_type = "memory"; + reg = <0x00000000 0x08000000>; + }; + + nvram@1c080000 { + compatible = "brcm,nvram"; + reg = <0x1c080000 0x180000>; + }; + + gpio-keys { + compatible = "gpio-keys"; + + button-wps { + label = "WPS"; + linux,code = ; + gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>; + }; + + button-restart { + label = "Reset"; + linux,code = ; + gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>; + }; + }; +}; + +&usb3_phy { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm4708-linksys-ea6500-v2.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm4708-linksys-ea6500-v2.dts index 8bcf2e7c66..0454423fe1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm4708-linksys-ea6500-v2.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm4708-linksys-ea6500-v2.dts @@ -1,45 +1,45 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright (C) 2017 Rafał Miłecki - * Copyright (C) 2018 Rene Kjellerup - */ - -/dts-v1/; - -#include "bcm4708.dtsi" -#include "bcm5301x-nand-cs0-bch8.dtsi" - -/ { - compatible = "linksys,ea6500-v2", "brcm,bcm4708"; - model = "Linksys EA6500 V2"; - - chosen { - bootargs = "console=ttyS0,115200"; - }; - - memory@0 { - device_type = "memory"; - reg = <0x00000000 0x08000000>, - <0x88000000 0x08000000>; - }; - - gpio-keys { - compatible = "gpio-keys"; - - button-wps { - label = "WPS"; - linux,code = ; - gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>; - }; - - button-restart { - label = "Reset"; - linux,code = ; - gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>; - }; - }; -}; - -&usb3_phy { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright (C) 2017 Rafał Miłecki + * Copyright (C) 2018 Rene Kjellerup + */ + +/dts-v1/; + +#include "bcm4708.dtsi" +#include "bcm5301x-nand-cs0-bch8.dtsi" + +/ { + compatible = "linksys,ea6500-v2", "brcm,bcm4708"; + model = "Linksys EA6500 V2"; + + chosen { + bootargs = "console=ttyS0,115200"; + }; + + memory@0 { + device_type = "memory"; + reg = <0x00000000 0x08000000>, + <0x88000000 0x08000000>; + }; + + gpio-keys { + compatible = "gpio-keys"; + + button-wps { + label = "WPS"; + linux,code = ; + gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>; + }; + + button-restart { + label = "Reset"; + linux,code = ; + gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>; + }; + }; +}; + +&usb3_phy { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm4708.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm4708.dtsi index e669beec47..1a19e97a98 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm4708.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm4708.dtsi @@ -1,48 +1,48 @@ -/* - * Broadcom BCM470X / BCM5301X ARM platform code. - * DTS for BCM4708 SoC. - * - * Copyright 2013-2014 Hauke Mehrtens - * - * Licensed under the GNU/GPL. See COPYING for details. - */ - -#include "bcm5301x.dtsi" - -/ { - compatible = "brcm,bcm4708"; - - aliases { - serial0 = &uart0; - }; - - chosen { - stdout-path = "serial0:115200n8"; - }; - - cpus { - #address-cells = <1>; - #size-cells = <0>; - enable-method = "brcm,bcm-nsp-smp"; - - cpu@0 { - device_type = "cpu"; - compatible = "arm,cortex-a9"; - next-level-cache = <&L2>; - reg = <0x0>; - }; - - cpu@1 { - device_type = "cpu"; - compatible = "arm,cortex-a9"; - next-level-cache = <&L2>; - secondary-boot-reg = <0xffff0400>; - reg = <0x1>; - }; - }; - -}; - -&uart0 { - status = "okay"; -}; +/* + * Broadcom BCM470X / BCM5301X ARM platform code. + * DTS for BCM4708 SoC. + * + * Copyright 2013-2014 Hauke Mehrtens + * + * Licensed under the GNU/GPL. See COPYING for details. + */ + +#include "bcm5301x.dtsi" + +/ { + compatible = "brcm,bcm4708"; + + aliases { + serial0 = &uart0; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + cpus { + #address-cells = <1>; + #size-cells = <0>; + enable-method = "brcm,bcm-nsp-smp"; + + cpu@0 { + device_type = "cpu"; + compatible = "arm,cortex-a9"; + next-level-cache = <&L2>; + reg = <0x0>; + }; + + cpu@1 { + device_type = "cpu"; + compatible = "arm,cortex-a9"; + next-level-cache = <&L2>; + secondary-boot-reg = <0xffff0400>; + reg = <0x1>; + }; + }; + +}; + +&uart0 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm59056.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm59056.dtsi index 7016415ab5..a9bb7ad813 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm59056.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm59056.dtsi @@ -1,91 +1,91 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* -* Copyright 2014 Linaro Limited -* Author: Matt Porter -*/ - -&pmu { - compatible = "brcm,bcm59056"; - regulators { - rfldo_reg: rfldo { - }; - - camldo1_reg: camldo1 { - }; - - camldo2_reg: camldo2 { - }; - - simldo1_reg: simldo1 { - }; - - simldo2_reg: simldo2 { - }; - - sdldo_reg: sdldo { - }; - - sdxldo_reg: sdxldo { - }; - - mmcldo1_reg: mmcldo1 { - }; - - mmcldo2_reg: mmcldo2 { - }; - - audldo_reg: audldo { - }; - - micldo_reg: micldo { - }; - - usbldo_reg: usbldo { - }; - - vibldo_reg: vibldo { - }; - - csr_reg: csr { - }; - - iosr1_reg: iosr1 { - }; - - iosr2_reg: iosr2 { - }; - - msr_reg: msr { - }; - - sdsr1_reg: sdsr1 { - }; - - sdsr2_reg: sdsr2 { - }; - - vsr_reg: vsr { - }; - - gpldo1_reg: gpldo1 { - }; - - gpldo2_reg: gpldo2 { - }; - - gpldo3_reg: gpldo3 { - }; - - gpldo4_reg: gpldo4 { - }; - - gpldo5_reg: gpldo5 { - }; - - gpldo6_reg: gpldo6 { - }; - - vbus_reg: vbus { - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0-or-later +/* +* Copyright 2014 Linaro Limited +* Author: Matt Porter +*/ + +&pmu { + compatible = "brcm,bcm59056"; + regulators { + rfldo_reg: rfldo { + }; + + camldo1_reg: camldo1 { + }; + + camldo2_reg: camldo2 { + }; + + simldo1_reg: simldo1 { + }; + + simldo2_reg: simldo2 { + }; + + sdldo_reg: sdldo { + }; + + sdxldo_reg: sdxldo { + }; + + mmcldo1_reg: mmcldo1 { + }; + + mmcldo2_reg: mmcldo2 { + }; + + audldo_reg: audldo { + }; + + micldo_reg: micldo { + }; + + usbldo_reg: usbldo { + }; + + vibldo_reg: vibldo { + }; + + csr_reg: csr { + }; + + iosr1_reg: iosr1 { + }; + + iosr2_reg: iosr2 { + }; + + msr_reg: msr { + }; + + sdsr1_reg: sdsr1 { + }; + + sdsr2_reg: sdsr2 { + }; + + vsr_reg: vsr { + }; + + gpldo1_reg: gpldo1 { + }; + + gpldo2_reg: gpldo2 { + }; + + gpldo3_reg: gpldo3 { + }; + + gpldo4_reg: gpldo4 { + }; + + gpldo5_reg: gpldo5 { + }; + + gpldo6_reg: gpldo6 { + }; + + vbus_reg: vbus { + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm7445-bcm97445svmb.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm7445-bcm97445svmb.dts index 69125fe07a..f92d2cf859 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm7445-bcm97445svmb.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm7445-bcm97445svmb.dts @@ -1,38 +1,38 @@ -// SPDX-License-Identifier: GPL-2.0 -/dts-v1/; -#include "bcm7445.dtsi" - -/ { - model = "Broadcom STB (bcm7445), SVMB reference board"; - compatible = "brcm,bcm7445", "brcm,brcmstb"; - - memory@0 { - device_type = "memory"; - reg = <0x00 0x00000000 0x00 0x40000000>, - <0x00 0x40000000 0x00 0x40000000>, - <0x00 0x80000000 0x00 0x40000000>; - }; -}; - -&nand_controller { - status = "okay"; - - nand@1 { - compatible = "brcm,nandcs"; - reg = <1>; - nand-ecc-step-size = <512>; - nand-ecc-strength = <8>; - nand-on-flash-bbt; - - #size-cells = <2>; - #address-cells = <2>; - - flash1.rootfs0@0 { - reg = <0x0 0x0 0x0 0x80000000>; - }; - - flash1.rootfs1@80000000 { - reg = <0x0 0x80000000 0x0 0x80000000>; - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0 +/dts-v1/; +#include "bcm7445.dtsi" + +/ { + model = "Broadcom STB (bcm7445), SVMB reference board"; + compatible = "brcm,bcm7445", "brcm,brcmstb"; + + memory@0 { + device_type = "memory"; + reg = <0x00 0x00000000 0x00 0x40000000>, + <0x00 0x40000000 0x00 0x40000000>, + <0x00 0x80000000 0x00 0x40000000>; + }; +}; + +&nand_controller { + status = "okay"; + + nand@1 { + compatible = "brcm,nandcs"; + reg = <1>; + nand-ecc-step-size = <512>; + nand-ecc-strength = <8>; + nand-on-flash-bbt; + + #size-cells = <2>; + #address-cells = <2>; + + flash1.rootfs0@0 { + reg = <0x0 0x0 0x0 0x80000000>; + }; + + flash1.rootfs1@80000000 { + reg = <0x0 0x80000000 0x0 0x80000000>; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm963138dvt.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm963138dvt.dts index 6507bc9dea..f60d09908a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm963138dvt.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm963138dvt.dts @@ -1,56 +1,56 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Broadcom BCM63138 Reference Board DTS - */ - -/dts-v1/; - -#include "bcm63138.dtsi" - -/ { - compatible = "brcm,BCM963138DVT", "brcm,bcm63138", "brcm,bcmbca"; - model = "Broadcom BCM963138DVT"; - - chosen { - bootargs = "console=ttyS0,115200"; - stdout-path = &serial0; - }; - - memory@0 { - device_type = "memory"; - reg = <0x0 0x08000000>; - }; - -}; - -&serial0 { - status = "okay"; -}; - -&serial1 { - status = "okay"; -}; - -&nand_controller { - brcm,wp-not-connected; - status = "okay"; -}; - -&nandcs { - nand-ecc-strength = <4>; - nand-ecc-step-size = <512>; - brcm,nand-oob-sector-size = <16>; - nand-on-flash-bbt; -}; - -&ahci { - status = "okay"; -}; - -&sata_phy { - status = "okay"; -}; - -&hsspi { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Broadcom BCM63138 Reference Board DTS + */ + +/dts-v1/; + +#include "bcm63138.dtsi" + +/ { + compatible = "brcm,BCM963138DVT", "brcm,bcm63138", "brcm,bcmbca"; + model = "Broadcom BCM963138DVT"; + + chosen { + bootargs = "console=ttyS0,115200"; + stdout-path = &serial0; + }; + + memory@0 { + device_type = "memory"; + reg = <0x0 0x08000000>; + }; + +}; + +&serial0 { + status = "okay"; +}; + +&serial1 { + status = "okay"; +}; + +&nand_controller { + brcm,wp-not-connected; + status = "okay"; +}; + +&nandcs { + nand-ecc-strength = <4>; + nand-ecc-step-size = <512>; + brcm,nand-oob-sector-size = <16>; + nand-on-flash-bbt; +}; + +&ahci { + status = "okay"; +}; + +&sata_phy { + status = "okay"; +}; + +&hsspi { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/cros-adc-thermistors.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/cros-adc-thermistors.dtsi index 5279da48d7..97e616f7b8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/cros-adc-thermistors.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/cros-adc-thermistors.dtsi @@ -1,41 +1,41 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Thermistor dts fragment for devices that use Thermistors as - * children of the IIO based ADC. - * - * Currently, used by Exynos5420 based Peach PIT and - * Exynos5800 based Peach PI. - * - * Copyright (c) 2014 Samsung Electronics Co., Ltd. -*/ - -&adc { - thermistor3 { - compatible = "murata,ncp15wb473"; - pullup-uv = <1800000>; - pullup-ohm = <47000>; - pulldown-ohm = <0>; - io-channels = <&adc 3>; - }; - thermistor4 { - compatible = "murata,ncp15wb473"; - pullup-uv = <1800000>; - pullup-ohm = <47000>; - pulldown-ohm = <0>; - io-channels = <&adc 4>; - }; - thermistor5 { - compatible = "murata,ncp15wb473"; - pullup-uv = <1800000>; - pullup-ohm = <47000>; - pulldown-ohm = <0>; - io-channels = <&adc 5>; - }; - thermistor6 { - compatible = "murata,ncp15wb473"; - pullup-uv = <1800000>; - pullup-ohm = <47000>; - pulldown-ohm = <0>; - io-channels = <&adc 6>; - }; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Thermistor dts fragment for devices that use Thermistors as + * children of the IIO based ADC. + * + * Currently, used by Exynos5420 based Peach PIT and + * Exynos5800 based Peach PI. + * + * Copyright (c) 2014 Samsung Electronics Co., Ltd. +*/ + +&adc { + thermistor3 { + compatible = "murata,ncp15wb473"; + pullup-uv = <1800000>; + pullup-ohm = <47000>; + pulldown-ohm = <0>; + io-channels = <&adc 3>; + }; + thermistor4 { + compatible = "murata,ncp15wb473"; + pullup-uv = <1800000>; + pullup-ohm = <47000>; + pulldown-ohm = <0>; + io-channels = <&adc 4>; + }; + thermistor5 { + compatible = "murata,ncp15wb473"; + pullup-uv = <1800000>; + pullup-ohm = <47000>; + pulldown-ohm = <0>; + io-channels = <&adc 5>; + }; + thermistor6 { + compatible = "murata,ncp15wb473"; + pullup-uv = <1800000>; + pullup-ohm = <47000>; + pulldown-ohm = <0>; + io-channels = <&adc 6>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/hisilicon/hip01-ca9x2.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/hisilicon/hip01-ca9x2.dts index ea8c0c0e48..f3faf247cd 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/hisilicon/hip01-ca9x2.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/hisilicon/hip01-ca9x2.dts @@ -1,48 +1,48 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * HiSilicon Ltd. HiP01 SoC - * - * Copyright (C) 2014 HiSilicon Ltd. - * Copyright (C) 2014 Huawei Ltd. - * - * Author: Wang Long - */ - -/dts-v1/; - -/* First 8KB reserved for secondary core boot */ -/memreserve/ 0x80000000 0x00002000; - -#include "hip01.dtsi" - -/ { - model = "Hisilicon HIP01 Development Board"; - compatible = "hisilicon,hip01-ca9x2", "hisilicon,hip01"; - - cpus { - #address-cells = <1>; - #size-cells = <0>; - enable-method = "hisilicon,hip01-smp"; - - cpu@0 { - device_type = "cpu"; - compatible = "arm,cortex-a9"; - reg = <0>; - }; - - cpu@1 { - device_type = "cpu"; - compatible = "arm,cortex-a9"; - reg = <1>; - }; - }; - - memory@80000000 { - device_type = "memory"; - reg = <0x80000000 0x80000000>; - }; -}; - -&uart0 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * HiSilicon Ltd. HiP01 SoC + * + * Copyright (C) 2014 HiSilicon Ltd. + * Copyright (C) 2014 Huawei Ltd. + * + * Author: Wang Long + */ + +/dts-v1/; + +/* First 8KB reserved for secondary core boot */ +/memreserve/ 0x80000000 0x00002000; + +#include "hip01.dtsi" + +/ { + model = "Hisilicon HIP01 Development Board"; + compatible = "hisilicon,hip01-ca9x2", "hisilicon,hip01"; + + cpus { + #address-cells = <1>; + #size-cells = <0>; + enable-method = "hisilicon,hip01-smp"; + + cpu@0 { + device_type = "cpu"; + compatible = "arm,cortex-a9"; + reg = <0>; + }; + + cpu@1 { + device_type = "cpu"; + compatible = "arm,cortex-a9"; + reg = <1>; + }; + }; + + memory@80000000 { + device_type = "memory"; + reg = <0x80000000 0x80000000>; + }; +}; + +&uart0 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/intel/ixp/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/intel/ixp/Makefile index 8717669404..ab8525f1ea 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/intel/ixp/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/intel/ixp/Makefile @@ -1,20 +1,20 @@ -# SPDX-License-Identifier: GPL-2.0 -dtb-$(CONFIG_ARCH_IXP4XX) += \ - intel-ixp42x-linksys-nslu2.dtb \ - intel-ixp42x-linksys-wrv54g.dtb \ - intel-ixp42x-freecom-fsg-3.dtb \ - intel-ixp42x-welltech-epbx100.dtb \ - intel-ixp42x-ixdp425.dtb \ - intel-ixp43x-kixrp435.dtb \ - intel-ixp46x-ixdp465.dtb \ - intel-ixp42x-adi-coyote.dtb \ - intel-ixp42x-ixdpg425.dtb \ - intel-ixp42x-goramo-multilink.dtb \ - intel-ixp42x-iomega-nas100d.dtb \ - intel-ixp42x-dlink-dsm-g600.dtb \ - intel-ixp42x-gateworks-gw2348.dtb \ - intel-ixp43x-gateworks-gw2358.dtb \ - intel-ixp42x-netgear-wg302v1.dtb \ - intel-ixp42x-arcom-vulcan.dtb \ - intel-ixp42x-gateway-7001.dtb \ - intel-ixp42x-usrobotics-usr8200.dtb +# SPDX-License-Identifier: GPL-2.0 +dtb-$(CONFIG_ARCH_IXP4XX) += \ + intel-ixp42x-linksys-nslu2.dtb \ + intel-ixp42x-linksys-wrv54g.dtb \ + intel-ixp42x-freecom-fsg-3.dtb \ + intel-ixp42x-welltech-epbx100.dtb \ + intel-ixp42x-ixdp425.dtb \ + intel-ixp43x-kixrp435.dtb \ + intel-ixp46x-ixdp465.dtb \ + intel-ixp42x-adi-coyote.dtb \ + intel-ixp42x-ixdpg425.dtb \ + intel-ixp42x-goramo-multilink.dtb \ + intel-ixp42x-iomega-nas100d.dtb \ + intel-ixp42x-dlink-dsm-g600.dtb \ + intel-ixp42x-gateworks-gw2348.dtb \ + intel-ixp43x-gateworks-gw2358.dtb \ + intel-ixp42x-netgear-wg302v1.dtb \ + intel-ixp42x-arcom-vulcan.dtb \ + intel-ixp42x-gateway-7001.dtb \ + intel-ixp42x-usrobotics-usr8200.dtb diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/intel/ixp/intel-ixp42x.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/intel/ixp/intel-ixp42x.dtsi index 117d8da4c6..84cee8ec3a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/intel/ixp/intel-ixp42x.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/intel/ixp/intel-ixp42x.dtsi @@ -1,34 +1,34 @@ -// SPDX-License-Identifier: ISC -/* - * Device Tree file for Intel XScale Network Processors - * in the IXP 42x series. This series has 32 interrupts. - */ -#include "intel-ixp4xx.dtsi" - -/ { - soc { - bus@c4000000 { - compatible = "intel,ixp42x-expansion-bus-controller", "syscon"; - reg = <0xc4000000 0x30>; - }; - - pci@c0000000 { - compatible = "intel,ixp42x-pci"; - }; - - interrupt-controller@c8003000 { - compatible = "intel,ixp42x-interrupt"; - }; - - /* - * This is the USB Device Mode (UDC) controller, which is used - * to present the IXP4xx as a device on a USB bus. - */ - usb@c800b000 { - compatible = "intel,ixp4xx-udc"; - reg = <0xc800b000 0x1000>; - interrupts = <12 IRQ_TYPE_LEVEL_HIGH>; - status = "disabled"; - }; - }; -}; +// SPDX-License-Identifier: ISC +/* + * Device Tree file for Intel XScale Network Processors + * in the IXP 42x series. This series has 32 interrupts. + */ +#include "intel-ixp4xx.dtsi" + +/ { + soc { + bus@c4000000 { + compatible = "intel,ixp42x-expansion-bus-controller", "syscon"; + reg = <0xc4000000 0x30>; + }; + + pci@c0000000 { + compatible = "intel,ixp42x-pci"; + }; + + interrupt-controller@c8003000 { + compatible = "intel,ixp42x-interrupt"; + }; + + /* + * This is the USB Device Mode (UDC) controller, which is used + * to present the IXP4xx as a device on a USB bus. + */ + usb@c800b000 { + compatible = "intel,ixp4xx-udc"; + reg = <0xc800b000 0x1000>; + interrupts = <12 IRQ_TYPE_LEVEL_HIGH>; + status = "disabled"; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/intel/ixp/intel-ixp46x-ixdp465.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/intel/ixp/intel-ixp46x-ixdp465.dts index cf8e978b1f..a062cd1a65 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/intel/ixp/intel-ixp46x-ixdp465.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/intel/ixp/intel-ixp46x-ixdp465.dts @@ -1,38 +1,38 @@ -// SPDX-License-Identifier: ISC -/* - * Device Tree file for the Intel IXDP465 Control Plane processor reference - * design, codename "BMP". - */ - -/dts-v1/; - -#include "intel-ixp45x-ixp46x.dtsi" -#include "intel-ixp4xx-reference-design.dtsi" -#include - -/ { - model = "Intel IXDP465 BMP Reference Design"; - compatible = "intel,ixdp465", "intel,ixp46x"; - #address-cells = <1>; - #size-cells = <1>; - - soc { - bus@c4000000 { - flash@0,0 { - compatible = "intel,ixp4xx-flash", "cfi-flash"; - bank-width = <2>; - /* Enable writes on the expansion bus */ - intel,ixp4xx-eb-write-enable = <1>; - /* 32 MB of Flash mapped in at CS0 and CS1 */ - reg = <0 0x00000000 0x2000000>; - - partitions { - compatible = "redboot-fis"; - /* Eraseblock at 0x1fe0000 */ - fis-index-block = <0xff>; - }; - }; - }; - /* TODO: configure ethernet etc */ - }; -}; +// SPDX-License-Identifier: ISC +/* + * Device Tree file for the Intel IXDP465 Control Plane processor reference + * design, codename "BMP". + */ + +/dts-v1/; + +#include "intel-ixp45x-ixp46x.dtsi" +#include "intel-ixp4xx-reference-design.dtsi" +#include + +/ { + model = "Intel IXDP465 BMP Reference Design"; + compatible = "intel,ixdp465", "intel,ixp46x"; + #address-cells = <1>; + #size-cells = <1>; + + soc { + bus@c4000000 { + flash@0,0 { + compatible = "intel,ixp4xx-flash", "cfi-flash"; + bank-width = <2>; + /* Enable writes on the expansion bus */ + intel,ixp4xx-eb-write-enable = <1>; + /* 32 MB of Flash mapped in at CS0 and CS1 */ + reg = <0 0x00000000 0x2000000>; + + partitions { + compatible = "redboot-fis"; + /* Eraseblock at 0x1fe0000 */ + fis-index-block = <0xff>; + }; + }; + }; + /* TODO: configure ethernet etc */ + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/intel/socfpga/socfpga_arria10_mercury_pe1.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/intel/socfpga/socfpga_arria10_mercury_pe1.dts index 3f8e6ab453..cf533f76a9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/intel/socfpga/socfpga_arria10_mercury_pe1.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/intel/socfpga/socfpga_arria10_mercury_pe1.dts @@ -1,55 +1,55 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright 2023 Steffen Trumtrar - */ -/dts-v1/; -#include "socfpga_arria10_mercury_aa1.dtsi" - -/ { - model = "Enclustra Mercury+ PE1"; - compatible = "enclustra,mercury-pe1", "enclustra,mercury-aa1", - "altr,socfpga-arria10", "altr,socfpga"; - - aliases { - ethernet0 = &gmac0; - serial0 = &uart0; - serial1 = &uart1; - }; -}; - -&gmac0 { - status = "okay"; -}; - -&gpio0 { - status = "okay"; -}; - -&gpio1 { - status = "okay"; -}; - -&gpio2 { - status = "okay"; -}; - -&i2c1 { - status = "okay"; -}; - -&mmc { - status = "okay"; -}; - -&uart0 { - status = "okay"; -}; - -&uart1 { - status = "okay"; -}; - -&usb0 { - status = "okay"; - dr_mode = "host"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright 2023 Steffen Trumtrar + */ +/dts-v1/; +#include "socfpga_arria10_mercury_aa1.dtsi" + +/ { + model = "Enclustra Mercury+ PE1"; + compatible = "enclustra,mercury-pe1", "enclustra,mercury-aa1", + "altr,socfpga-arria10", "altr,socfpga"; + + aliases { + ethernet0 = &gmac0; + serial0 = &uart0; + serial1 = &uart1; + }; +}; + +&gmac0 { + status = "okay"; +}; + +&gpio0 { + status = "okay"; +}; + +&gpio1 { + status = "okay"; +}; + +&gpio2 { + status = "okay"; +}; + +&i2c1 { + status = "okay"; +}; + +&mmc { + status = "okay"; +}; + +&uart0 { + status = "okay"; +}; + +&uart1 { + status = "okay"; +}; + +&usb0 { + status = "okay"; + dr_mode = "host"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/intel/socfpga/socfpga_arria10_socdk_qspi.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/intel/socfpga/socfpga_arria10_socdk_qspi.dts index 4c6237adc4..0434f1c7b6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/intel/socfpga/socfpga_arria10_socdk_qspi.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/intel/socfpga/socfpga_arria10_socdk_qspi.dts @@ -1,36 +1,36 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright (C) 2016 Intel. All rights reserved. - */ - -/dts-v1/; -#include "socfpga_arria10_socdk.dtsi" - -&qspi { - status = "okay"; - - flash0: flash@0 { - #address-cells = <1>; - #size-cells = <1>; - compatible = "micron,mt25qu02g", "jedec,spi-nor"; - reg = <0>; - spi-max-frequency = <100000000>; - - m25p,fast-read; - cdns,read-delay = <3>; - cdns,tshsl-ns = <50>; - cdns,tsd2d-ns = <50>; - cdns,tchsh-ns = <4>; - cdns,tslch-ns = <4>; - - partition@qspi-boot { - label = "Boot and fpga data"; - reg = <0x0 0x2720000>; - }; - - partition@qspi-rootfs { - label = "Root Filesystem - JFFS2"; - reg = <0x2720000 0x58E0000>; - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2016 Intel. All rights reserved. + */ + +/dts-v1/; +#include "socfpga_arria10_socdk.dtsi" + +&qspi { + status = "okay"; + + flash0: flash@0 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "micron,mt25qu02g", "jedec,spi-nor"; + reg = <0>; + spi-max-frequency = <100000000>; + + m25p,fast-read; + cdns,read-delay = <3>; + cdns,tshsl-ns = <50>; + cdns,tsd2d-ns = <50>; + cdns,tchsh-ns = <4>; + cdns,tslch-ns = <4>; + + partition@qspi-boot { + label = "Boot and fpga data"; + reg = <0x0 0x2720000>; + }; + + partition@qspi-rootfs { + label = "Root Filesystem - JFFS2"; + reg = <0x2720000 0x58E0000>; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/armada-370-seagate-nas-2bay.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/armada-370-seagate-nas-2bay.dts index af32770e7e..6ec3dd3337 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/armada-370-seagate-nas-2bay.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/armada-370-seagate-nas-2bay.dts @@ -1,33 +1,33 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Device Tree file for Seagate NAS 2-Bay (Armada 370 SoC). - * - * Copyright (C) 2015 Seagate - * - * Author: Vincent Donnefort - */ - -/* - * Here are some information allowing to identify the device: - * - * Product name : Seagate NAS 2-Bay - * Code name (board/PCB) : Dart 2-Bay - * Model name (case sticker) : SRPD20 - * Material desc (product spec) : STCTxxxxxxx - */ - -/dts-v1/; -#include "armada-370-seagate-nas-xbay.dtsi" - -/ { - model = "Seagate NAS 2-Bay (Dart, SRPD20)"; - compatible = "seagate,dart-2", "marvell,armada370", "marvell,armada-370-xp"; - - gpio-fan { - gpio-fan,speed-map = - < 0 3>, - < 950 2>, - <1400 1>, - <1800 0>; - }; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Device Tree file for Seagate NAS 2-Bay (Armada 370 SoC). + * + * Copyright (C) 2015 Seagate + * + * Author: Vincent Donnefort + */ + +/* + * Here are some information allowing to identify the device: + * + * Product name : Seagate NAS 2-Bay + * Code name (board/PCB) : Dart 2-Bay + * Model name (case sticker) : SRPD20 + * Material desc (product spec) : STCTxxxxxxx + */ + +/dts-v1/; +#include "armada-370-seagate-nas-xbay.dtsi" + +/ { + model = "Seagate NAS 2-Bay (Dart, SRPD20)"; + compatible = "seagate,dart-2", "marvell,armada370", "marvell,armada-370-xp"; + + gpio-fan { + gpio-fan,speed-map = + < 0 3>, + < 950 2>, + <1400 1>, + <1800 0>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/armada-370-seagate-personal-cloud.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/armada-370-seagate-personal-cloud.dts index d44fa8baab..578b54b39c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/armada-370-seagate-personal-cloud.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/armada-370-seagate-personal-cloud.dts @@ -1,34 +1,34 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Device Tree file for Seagate Personal Cloud NAS (Armada 370 SoC). - * - * Copyright (C) 2015 Seagate - * - * Author: Simon Guinot - */ - -/* - * Here are some information allowing to identify the device: - * - * Product name : Seagate Personal Cloud - * Code name (board/PCB) : Cumulus - * Model name (case sticker) : SRN21C - * Material desc (product spec) : STCRxxxxxxx - */ - -/dts-v1/; -#include "armada-370-seagate-personal-cloud.dtsi" - -/ { - model = "Seagate Personal Cloud (Cumulus, SRN21C)"; - compatible = "seagate,cumulus", "marvell,armada370", "marvell,armada-370-xp"; - - soc { - internal-regs { - sata@a0000 { - status = "okay"; - nr-ports = <1>; - }; - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Device Tree file for Seagate Personal Cloud NAS (Armada 370 SoC). + * + * Copyright (C) 2015 Seagate + * + * Author: Simon Guinot + */ + +/* + * Here are some information allowing to identify the device: + * + * Product name : Seagate Personal Cloud + * Code name (board/PCB) : Cumulus + * Model name (case sticker) : SRN21C + * Material desc (product spec) : STCRxxxxxxx + */ + +/dts-v1/; +#include "armada-370-seagate-personal-cloud.dtsi" + +/ { + model = "Seagate Personal Cloud (Cumulus, SRN21C)"; + compatible = "seagate,cumulus", "marvell,armada370", "marvell,armada-370-xp"; + + soc { + internal-regs { + sata@a0000 { + status = "okay"; + nr-ports = <1>; + }; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/armada-388.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/armada-388.dtsi index 07519f40e0..f3a020ff57 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/armada-388.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/armada-388.dtsi @@ -1,37 +1,37 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Device Tree Include file for Marvell Armada 388 SoC. - * - * Copyright (C) 2015 Marvell - * - * Gregory CLEMENT - * - * The main difference with the Armada 385 is that the 388 can handle two more - * SATA ports. So we can reuse the dtsi of the Armada 385, override the pinctrl - * property and the name of the SoC, and add the second SATA host which control - * the 2 other ports. - */ - -#include "armada-385.dtsi" - -/ { - model = "Marvell Armada 388 family SoC"; - compatible = "marvell,armada388", "marvell,armada385", - "marvell,armada380"; - soc { - internal-regs { - sata@e0000 { - compatible = "marvell,armada-380-ahci"; - reg = <0xe0000 0x2000>; - interrupts = ; - clocks = <&gateclk 30>; - status = "disabled"; - }; - - }; - }; -}; - -&pinctrl { - compatible = "marvell,mv88f6828-pinctrl"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Device Tree Include file for Marvell Armada 388 SoC. + * + * Copyright (C) 2015 Marvell + * + * Gregory CLEMENT + * + * The main difference with the Armada 385 is that the 388 can handle two more + * SATA ports. So we can reuse the dtsi of the Armada 385, override the pinctrl + * property and the name of the SoC, and add the second SATA host which control + * the 2 other ports. + */ + +#include "armada-385.dtsi" + +/ { + model = "Marvell Armada 388 family SoC"; + compatible = "marvell,armada388", "marvell,armada385", + "marvell,armada380"; + soc { + internal-regs { + sata@e0000 { + compatible = "marvell,armada-380-ahci"; + reg = <0xe0000 0x2000>; + interrupts = ; + clocks = <&gateclk 30>; + status = "disabled"; + }; + + }; + }; +}; + +&pinctrl { + compatible = "marvell,mv88f6828-pinctrl"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/armada-395.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/armada-395.dtsi index 500ee8e83b..e18a7d9cd7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/armada-395.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/armada-395.dtsi @@ -1,39 +1,39 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Device Tree Include file for Marvell Armada 395 SoC. - * - * Copyright (C) 2016 Marvell - * - * Grzegorz Jaszczyk - */ - -#include "armada-39x.dtsi" - -/ { - compatible = "marvell,armada395", "marvell,armada390"; - - soc { - internal-regs { - pinctrl@18000 { - compatible = "marvell,mv88f6925-pinctrl"; - reg = <0x18000 0x20>; - }; - - sata@a8000 { - compatible = "marvell,armada-380-ahci"; - reg = <0xa8000 0x2000>; - interrupts = ; - clocks = <&gateclk 15>; - status = "disabled"; - }; - - usb3@f0000 { - compatible = "marvell,armada-380-xhci"; - reg = <0xf0000 0x4000>,<0xf4000 0x4000>; - interrupts = ; - clocks = <&gateclk 9>; - status = "disabled"; - }; - }; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Device Tree Include file for Marvell Armada 395 SoC. + * + * Copyright (C) 2016 Marvell + * + * Grzegorz Jaszczyk + */ + +#include "armada-39x.dtsi" + +/ { + compatible = "marvell,armada395", "marvell,armada390"; + + soc { + internal-regs { + pinctrl@18000 { + compatible = "marvell,mv88f6925-pinctrl"; + reg = <0x18000 0x20>; + }; + + sata@a8000 { + compatible = "marvell,armada-380-ahci"; + reg = <0xa8000 0x2000>; + interrupts = ; + clocks = <&gateclk 15>; + status = "disabled"; + }; + + usb3@f0000 { + compatible = "marvell,armada-380-xhci"; + reg = <0xf0000 0x4000>,<0xf4000 0x4000>; + interrupts = ; + clocks = <&gateclk 9>; + status = "disabled"; + }; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/armada-398.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/armada-398.dtsi index afdcff2dc3..c5ac89399c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/armada-398.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/armada-398.dtsi @@ -1,31 +1,31 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Device Tree Include file for Marvell Armada 398 SoC. - * - * Copyright (C) 2015 Marvell - * - * Thomas Petazzoni - */ - -#include "armada-395.dtsi" - -/ { - compatible = "marvell,armada398", "marvell,armada390"; - - soc { - internal-regs { - pinctrl@18000 { - compatible = "marvell,mv88f6928-pinctrl"; - reg = <0x18000 0x20>; - }; - - sata@e0000 { - compatible = "marvell,armada-380-ahci"; - reg = <0xe0000 0x2000>; - interrupts = ; - clocks = <&gateclk 30>; - status = "disabled"; - }; - }; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Device Tree Include file for Marvell Armada 398 SoC. + * + * Copyright (C) 2015 Marvell + * + * Thomas Petazzoni + */ + +#include "armada-395.dtsi" + +/ { + compatible = "marvell,armada398", "marvell,armada390"; + + soc { + internal-regs { + pinctrl@18000 { + compatible = "marvell,mv88f6928-pinctrl"; + reg = <0x18000 0x20>; + }; + + sata@e0000 { + compatible = "marvell,armada-380-ahci"; + reg = <0xe0000 0x2000>; + interrupts = ; + clocks = <&gateclk 30>; + status = "disabled"; + }; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/armada-xp-98dx3336.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/armada-xp-98dx3336.dtsi index d3dba91c3b..1d9d8a8ea6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/armada-xp-98dx3336.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/armada-xp-98dx3336.dtsi @@ -1,39 +1,39 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Device Tree Include file for Marvell 98dx3336 family SoC - * - * Copyright (C) 2016 Allied Telesis Labs - * - * Contains definitions specific to the 98dx3236 SoC that are not - * common to all Armada XP SoCs. - */ - -#include "armada-xp-98dx3236.dtsi" - -/ { - model = "Marvell 98DX3336 SoC"; - compatible = "marvell,armadaxp-98dx3336", "marvell,armadaxp-98dx3236", "marvell,armada-370-xp"; - - cpus { - cpu@1 { - device_type = "cpu"; - compatible = "marvell,sheeva-v7"; - reg = <1>; - clocks = <&cpuclk 1>; - clock-latency = <1000000>; - }; - }; - - soc { - internal-regs { - resume@20980 { - compatible = "marvell,98dx3336-resume-ctrl"; - reg = <0x20980 0x10>; - }; - }; - }; -}; - -&pp0 { - compatible = "marvell,prestera-98dx3336", "marvell,prestera"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Device Tree Include file for Marvell 98dx3336 family SoC + * + * Copyright (C) 2016 Allied Telesis Labs + * + * Contains definitions specific to the 98dx3236 SoC that are not + * common to all Armada XP SoCs. + */ + +#include "armada-xp-98dx3236.dtsi" + +/ { + model = "Marvell 98DX3336 SoC"; + compatible = "marvell,armadaxp-98dx3336", "marvell,armadaxp-98dx3236", "marvell,armada-370-xp"; + + cpus { + cpu@1 { + device_type = "cpu"; + compatible = "marvell,sheeva-v7"; + reg = <1>; + clocks = <&cpuclk 1>; + clock-latency = <1000000>; + }; + }; + + soc { + internal-regs { + resume@20980 { + compatible = "marvell,98dx3336-resume-ctrl"; + reg = <0x20980 0x10>; + }; + }; + }; +}; + +&pp0 { + compatible = "marvell,prestera-98dx3336", "marvell,prestera"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/armada-xp-crs305-1g-4s-bit.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/armada-xp-crs305-1g-4s-bit.dts index c1ea71ed2b..c28e140b4a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/armada-xp-crs305-1g-4s-bit.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/armada-xp-crs305-1g-4s-bit.dts @@ -1,43 +1,43 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Device Tree file for MikroTik CRS305-1G-4S+ Bit board - * - * Copyright (C) 2020 Sartura Ltd. - * Author: Luka Kovacic - */ - -#include "armada-xp-crs305-1g-4s.dtsi" - -/ { - model = "MikroTik CRS305-1G-4S+ Bit"; -}; - -&spi0 { - status = "okay"; - - flash@0 { - #address-cells = <1>; - #size-cells = <1>; - compatible = "jedec,spi-nor"; - reg = <0>; /* Chip select 0 */ - spi-max-frequency = <108000000>; - m25p,fast-read; - - partition@u-boot { - reg = <0x00000000 0x001f0000>; - label = "u-boot"; - }; - partition@u-boot-env { - reg = <0x001f0000 0x00010000>; - label = "u-boot-env"; - }; - partition@ubi1 { - reg = <0x00200000 0x03f00000>; - label = "ubi1"; - }; - partition@ubi2 { - reg = <0x04100000 0x03f00000>; - label = "ubi2"; - }; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Device Tree file for MikroTik CRS305-1G-4S+ Bit board + * + * Copyright (C) 2020 Sartura Ltd. + * Author: Luka Kovacic + */ + +#include "armada-xp-crs305-1g-4s.dtsi" + +/ { + model = "MikroTik CRS305-1G-4S+ Bit"; +}; + +&spi0 { + status = "okay"; + + flash@0 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "jedec,spi-nor"; + reg = <0>; /* Chip select 0 */ + spi-max-frequency = <108000000>; + m25p,fast-read; + + partition@u-boot { + reg = <0x00000000 0x001f0000>; + label = "u-boot"; + }; + partition@u-boot-env { + reg = <0x001f0000 0x00010000>; + label = "u-boot-env"; + }; + partition@ubi1 { + reg = <0x00200000 0x03f00000>; + label = "ubi1"; + }; + partition@ubi2 { + reg = <0x04100000 0x03f00000>; + label = "ubi2"; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/armada-xp-crs326-24g-2s-bit.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/armada-xp-crs326-24g-2s-bit.dts index 0e1b57450b..20ba5c823b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/armada-xp-crs326-24g-2s-bit.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/armada-xp-crs326-24g-2s-bit.dts @@ -1,43 +1,43 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Device Tree file for MikroTik CRS326-24G-2S+ Bit board - * - * Copyright (C) 2020 Sartura Ltd. - * Author: Luka Kovacic - */ - -#include "armada-xp-crs326-24g-2s.dtsi" - -/ { - model = "MikroTik CRS326-24G-2S+ Bit"; -}; - -&spi0 { - status = "okay"; - - flash@0 { - #address-cells = <1>; - #size-cells = <1>; - compatible = "jedec,spi-nor"; - reg = <0>; /* Chip select 0 */ - spi-max-frequency = <108000000>; - m25p,fast-read; - - partition@u-boot { - reg = <0x00000000 0x001f0000>; - label = "u-boot"; - }; - partition@u-boot-env { - reg = <0x001f0000 0x00010000>; - label = "u-boot-env"; - }; - partition@ubi1 { - reg = <0x00200000 0x03f00000>; - label = "ubi1"; - }; - partition@ubi2 { - reg = <0x04100000 0x03f00000>; - label = "ubi2"; - }; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Device Tree file for MikroTik CRS326-24G-2S+ Bit board + * + * Copyright (C) 2020 Sartura Ltd. + * Author: Luka Kovacic + */ + +#include "armada-xp-crs326-24g-2s.dtsi" + +/ { + model = "MikroTik CRS326-24G-2S+ Bit"; +}; + +&spi0 { + status = "okay"; + + flash@0 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "jedec,spi-nor"; + reg = <0>; /* Chip select 0 */ + spi-max-frequency = <108000000>; + m25p,fast-read; + + partition@u-boot { + reg = <0x00000000 0x001f0000>; + label = "u-boot"; + }; + partition@u-boot-env { + reg = <0x001f0000 0x00010000>; + label = "u-boot-env"; + }; + partition@ubi1 { + reg = <0x00200000 0x03f00000>; + label = "ubi1"; + }; + partition@ubi2 { + reg = <0x04100000 0x03f00000>; + label = "ubi2"; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/armada-xp-crs328-4c-20s-4s-bit.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/armada-xp-crs328-4c-20s-4s-bit.dts index e9bd809478..2caa3980fd 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/armada-xp-crs328-4c-20s-4s-bit.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/armada-xp-crs328-4c-20s-4s-bit.dts @@ -1,43 +1,43 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Device Tree file for MikroTik CRS328-4C-20S-4S+ Bit board - * - * Copyright (C) 2020 Sartura Ltd. - * Author: Luka Kovacic - */ - -#include "armada-xp-crs328-4c-20s-4s.dtsi" - -/ { - model = "MikroTik CRS328-4C-20S-4S+ Bit"; -}; - -&spi0 { - status = "okay"; - - flash@0 { - #address-cells = <1>; - #size-cells = <1>; - compatible = "jedec,spi-nor"; - reg = <0>; /* Chip select 0 */ - spi-max-frequency = <108000000>; - m25p,fast-read; - - partition@u-boot { - reg = <0x00000000 0x001f0000>; - label = "u-boot"; - }; - partition@u-boot-env { - reg = <0x001f0000 0x00010000>; - label = "u-boot-env"; - }; - partition@ubi1 { - reg = <0x00200000 0x03f00000>; - label = "ubi1"; - }; - partition@ubi2 { - reg = <0x04100000 0x03f00000>; - label = "ubi2"; - }; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Device Tree file for MikroTik CRS328-4C-20S-4S+ Bit board + * + * Copyright (C) 2020 Sartura Ltd. + * Author: Luka Kovacic + */ + +#include "armada-xp-crs328-4c-20s-4s.dtsi" + +/ { + model = "MikroTik CRS328-4C-20S-4S+ Bit"; +}; + +&spi0 { + status = "okay"; + + flash@0 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "jedec,spi-nor"; + reg = <0>; /* Chip select 0 */ + spi-max-frequency = <108000000>; + m25p,fast-read; + + partition@u-boot { + reg = <0x00000000 0x001f0000>; + label = "u-boot"; + }; + partition@u-boot-env { + reg = <0x001f0000 0x00010000>; + label = "u-boot-env"; + }; + partition@ubi1 { + reg = <0x00200000 0x03f00000>; + label = "ubi1"; + }; + partition@ubi2 { + reg = <0x04100000 0x03f00000>; + label = "ubi2"; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/dove-dove-db.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/dove-dove-db.dts index 98ef214c8b..c1912dc6bf 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/dove-dove-db.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/dove-dove-db.dts @@ -1,39 +1,39 @@ -// SPDX-License-Identifier: GPL-2.0 -/dts-v1/; - -#include "dove.dtsi" - -/ { - model = "Marvell DB-MV88AP510-BP Development Board"; - compatible = "marvell,dove-db", "marvell,dove"; - - memory { - device_type = "memory"; - reg = <0x00000000 0x40000000>; - }; - - chosen { - bootargs = "console=ttyS0,115200n8 earlyprintk"; - }; -}; - -&uart0 { status = "okay"; }; -&uart1 { status = "okay"; }; -&sdio0 { status = "okay"; }; -&sdio1 { status = "okay"; }; -&sata0 { status = "okay"; }; - -&spi0 { - status = "okay"; - - /* spi0.0: 4M Flash ST-M25P32-VMF6P */ - flash@0 { - compatible = "st,m25p32"; - spi-max-frequency = <20000000>; - reg = <0>; - }; -}; - -&i2c0 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 +/dts-v1/; + +#include "dove.dtsi" + +/ { + model = "Marvell DB-MV88AP510-BP Development Board"; + compatible = "marvell,dove-db", "marvell,dove"; + + memory { + device_type = "memory"; + reg = <0x00000000 0x40000000>; + }; + + chosen { + bootargs = "console=ttyS0,115200n8 earlyprintk"; + }; +}; + +&uart0 { status = "okay"; }; +&uart1 { status = "okay"; }; +&sdio0 { status = "okay"; }; +&sdio1 { status = "okay"; }; +&sata0 { status = "okay"; }; + +&spi0 { + status = "okay"; + + /* spi0.0: 4M Flash ST-M25P32-VMF6P */ + flash@0 { + compatible = "st,m25p32"; + spi-max-frequency = <20000000>; + reg = <0>; + }; +}; + +&i2c0 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-d2net.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-d2net.dts index c636561f51..fcce8730d3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-d2net.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-d2net.dts @@ -1,45 +1,45 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Device Tree file for d2 Network v2 - * - * Copyright (C) 2014 Simon Guinot - * -*/ - -/dts-v1/; - -#include -#include "kirkwood-netxbig.dtsi" - -/ { - model = "LaCie d2 Network v2"; - compatible = "lacie,d2net_v2", "lacie,netxbig", "marvell,kirkwood-88f6281", "marvell,kirkwood"; - - memory { - device_type = "memory"; - reg = <0x00000000 0x10000000>; - }; - - ns2-leds { - compatible = "lacie,ns2-leds"; - - blue-sata { - label = "d2net_v2:blue:sata"; - slow-gpio = <&gpio0 29 GPIO_ACTIVE_HIGH>; - cmd-gpio = <&gpio0 30 GPIO_ACTIVE_HIGH>; - modes-map = ; - }; - }; - - gpio-leds { - compatible = "gpio-leds"; - - led-red-fail { - label = "d2net_v2:red:fail"; - gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>; - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Device Tree file for d2 Network v2 + * + * Copyright (C) 2014 Simon Guinot + * +*/ + +/dts-v1/; + +#include +#include "kirkwood-netxbig.dtsi" + +/ { + model = "LaCie d2 Network v2"; + compatible = "lacie,d2net_v2", "lacie,netxbig", "marvell,kirkwood-88f6281", "marvell,kirkwood"; + + memory { + device_type = "memory"; + reg = <0x00000000 0x10000000>; + }; + + ns2-leds { + compatible = "lacie,ns2-leds"; + + blue-sata { + label = "d2net_v2:blue:sata"; + slow-gpio = <&gpio0 29 GPIO_ACTIVE_HIGH>; + cmd-gpio = <&gpio0 30 GPIO_ACTIVE_HIGH>; + modes-map = ; + }; + }; + + gpio-leds { + compatible = "gpio-leds"; + + led-red-fail { + label = "d2net_v2:red:fail"; + gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-ds109.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-ds109.dts index 1249030d5a..29982e7acb 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-ds109.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-ds109.dts @@ -1,40 +1,40 @@ -// 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 DS109, DS110, DS110jv20"; - compatible = "synology,ds109", "synology,ds110jv20", - "synology,ds110", "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-21-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 DS109, DS110, DS110jv20"; + compatible = "synology,ds109", "synology,ds110jv20", + "synology,ds110", "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-21-1 { + status = "okay"; + }; +}; + +&rs5c372 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-ds110jv10.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-ds110jv10.dts index bf910c16ec..d68c616e93 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-ds110jv10.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-ds110jv10.dts @@ -1,40 +1,40 @@ -// 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 DS110j v10 and v30"; - compatible = "synology,ds110jv10", "synology,ds110jv30", - "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-21-1 { - status = "okay"; - }; -}; - -&s35390a { - 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 DS110j v10 and v30"; + compatible = "synology,ds110jv10", "synology,ds110jv30", + "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-21-1 { + status = "okay"; + }; +}; + +&s35390a { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-ds111.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-ds111.dts index 1c162d0b19..e1420cbcd7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-ds111.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-ds111.dts @@ -1,43 +1,43 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Andrew Lunn - * Ben Peddell - * - */ - -/dts-v1/; - -#include "kirkwood.dtsi" -#include "kirkwood-6282.dtsi" -#include "kirkwood-synology.dtsi" - -/ { - model = "Synology DS111"; - compatible = "synology,ds111", "marvell,kirkwood"; - - memory { - device_type = "memory"; - reg = <0x00000000 0x8000000>; - }; - - chosen { - bootargs = "console=ttyS0,115200n8"; - stdout-path = &uart0; - }; - - gpio-fan-100-15-35-1 { - status = "okay"; - }; - - gpio-leds-hdd-21-1 { - status = "okay"; - }; -}; - -&s35390a { - status = "okay"; -}; - -&pcie1 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Andrew Lunn + * Ben Peddell + * + */ + +/dts-v1/; + +#include "kirkwood.dtsi" +#include "kirkwood-6282.dtsi" +#include "kirkwood-synology.dtsi" + +/ { + model = "Synology DS111"; + compatible = "synology,ds111", "marvell,kirkwood"; + + memory { + device_type = "memory"; + reg = <0x00000000 0x8000000>; + }; + + chosen { + bootargs = "console=ttyS0,115200n8"; + stdout-path = &uart0; + }; + + gpio-fan-100-15-35-1 { + status = "okay"; + }; + + gpio-leds-hdd-21-1 { + status = "okay"; + }; +}; + +&s35390a { + status = "okay"; +}; + +&pcie1 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-ds112.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-ds112.dts index 6a592bd3e6..3912f1b525 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-ds112.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-ds112.dts @@ -1,51 +1,51 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Andrew Lunn - * Ben Peddell - * - */ - -/dts-v1/; - -#include "kirkwood.dtsi" -#include "kirkwood-6282.dtsi" -#include "kirkwood-synology.dtsi" - -/ { - model = "Synology DS112"; - compatible = "synology,ds111", "marvell,kirkwood"; - - memory { - device_type = "memory"; - reg = <0x00000000 0x8000000>; - }; - - chosen { - bootargs = "console=ttyS0,115200n8"; - stdout-path = &uart0; - }; - - gpio-fan-100-15-35-1 { - status = "okay"; - }; - - gpio-leds-21-2 { - status = "okay"; - }; - - regulators-hdd-30 { - status = "okay"; - }; -}; - -&s35390a { - status = "okay"; -}; - -&pciec { - status = "okay"; -}; - -&pcie1 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Andrew Lunn + * Ben Peddell + * + */ + +/dts-v1/; + +#include "kirkwood.dtsi" +#include "kirkwood-6282.dtsi" +#include "kirkwood-synology.dtsi" + +/ { + model = "Synology DS112"; + compatible = "synology,ds111", "marvell,kirkwood"; + + memory { + device_type = "memory"; + reg = <0x00000000 0x8000000>; + }; + + chosen { + bootargs = "console=ttyS0,115200n8"; + stdout-path = &uart0; + }; + + gpio-fan-100-15-35-1 { + status = "okay"; + }; + + gpio-leds-21-2 { + status = "okay"; + }; + + regulators-hdd-30 { + status = "okay"; + }; +}; + +&s35390a { + status = "okay"; +}; + +&pciec { + status = "okay"; +}; + +&pcie1 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-ds209.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-ds209.dts index 17a60edd24..f41fe95e05 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-ds209.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-ds209.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 DS209"; - compatible = "synology,ds209", "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-21-2 { - status = "okay"; - }; - - regulators-hdd-31 { - 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 DS209"; + compatible = "synology,ds209", "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-21-2 { + status = "okay"; + }; + + regulators-hdd-31 { + status = "okay"; + }; +}; + +&rs5c372 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-ds210.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-ds210.dts index e738b524ba..729f959a78 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-ds210.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-ds210.dts @@ -1,45 +1,45 @@ -// 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 DS210 v10, v20, v30, DS211j"; - compatible = "synology,ds210jv10", "synology,ds210jv20", - "synology,ds210jv30", "synology,ds211j", - "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-21-2 { - status = "okay"; - }; - - regulators-hdd-31 { - status = "okay"; - }; -}; - -&s35390a { - 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 DS210 v10, v20, v30, DS211j"; + compatible = "synology,ds210jv10", "synology,ds210jv20", + "synology,ds210jv30", "synology,ds211j", + "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-21-2 { + status = "okay"; + }; + + regulators-hdd-31 { + status = "okay"; + }; +}; + +&s35390a { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-ds212.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-ds212.dts index 669e923757..416bab50d1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-ds212.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-ds212.dts @@ -1,46 +1,46 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Andrew Lunn - * Ben Peddell - * - */ - -/dts-v1/; - -#include "kirkwood.dtsi" -#include "kirkwood-6282.dtsi" -#include "kirkwood-synology.dtsi" - -/ { - model = "Synology DS212, DS212p v10, v20, DS213air v10, DS213 v10"; - compatible = "synology,ds212", "synology,ds212pv10", - "synology,ds212pv10", "synology,ds212pv20", - "synology,ds213airv10", "synology,ds213v10", - "marvell,kirkwood"; - - memory { - device_type = "memory"; - reg = <0x00000000 0x8000000>; - }; - - chosen { - bootargs = "console=ttyS0,115200n8"; - stdout-path = &uart0; - }; - - gpio-fan-100-15-35-1 { - status = "okay"; - }; - - gpio-leds-hdd-21-2 { - status = "okay"; - }; -}; - -&s35390a { - status = "okay"; -}; - -&pcie1 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Andrew Lunn + * Ben Peddell + * + */ + +/dts-v1/; + +#include "kirkwood.dtsi" +#include "kirkwood-6282.dtsi" +#include "kirkwood-synology.dtsi" + +/ { + model = "Synology DS212, DS212p v10, v20, DS213air v10, DS213 v10"; + compatible = "synology,ds212", "synology,ds212pv10", + "synology,ds212pv10", "synology,ds212pv20", + "synology,ds213airv10", "synology,ds213v10", + "marvell,kirkwood"; + + memory { + device_type = "memory"; + reg = <0x00000000 0x8000000>; + }; + + chosen { + bootargs = "console=ttyS0,115200n8"; + stdout-path = &uart0; + }; + + gpio-fan-100-15-35-1 { + status = "okay"; + }; + + gpio-leds-hdd-21-2 { + status = "okay"; + }; +}; + +&s35390a { + status = "okay"; +}; + +&pcie1 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-ds212j.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-ds212j.dts index 14f382941a..14cf4d8afa 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-ds212j.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-ds212j.dts @@ -1,40 +1,40 @@ -// 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 DS212j v10, v20"; - compatible = "synology,ds212jv10", "synology,ds212jv20", - "marvell,kirkwood"; - - memory { - device_type = "memory"; - reg = <0x00000000 0x8000000>; - }; - - chosen { - bootargs = "console=ttyS0,115200n8"; - stdout-path = &uart0; - }; - - gpio-fan-100-32-35 { - status = "okay"; - }; - - gpio-leds-hdd-21-2 { - status = "okay"; - }; -}; - -&s35390a { - 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 DS212j v10, v20"; + compatible = "synology,ds212jv10", "synology,ds212jv20", + "marvell,kirkwood"; + + memory { + device_type = "memory"; + reg = <0x00000000 0x8000000>; + }; + + chosen { + bootargs = "console=ttyS0,115200n8"; + stdout-path = &uart0; + }; + + gpio-fan-100-32-35 { + status = "okay"; + }; + + gpio-leds-hdd-21-2 { + status = "okay"; + }; +}; + +&s35390a { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-ds409.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-ds409.dts index 6fbb4635b1..a8650f9e3e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-ds409.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-ds409.dts @@ -1,47 +1,47 @@ -// 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 DS409, DS410j"; - compatible = "synology,ds409", "synology,ds410j", "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"; - }; - - gpio-leds-alarm-12 { - 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 DS409, DS410j"; + compatible = "synology,ds409", "synology,ds410j", "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"; + }; + + gpio-leds-alarm-12 { + status = "okay"; + }; +}; + +ð1 { + status = "okay"; +}; + +&rs5c372 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-ds411.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-ds411.dts index 10130d8620..1d4256ef32 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-ds411.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-ds411.dts @@ -1,55 +1,55 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Andrew Lunn - * Ben Peddell - * - */ - -/dts-v1/; - -#include "kirkwood.dtsi" -#include "kirkwood-6282.dtsi" -#include "kirkwood-synology.dtsi" - -/ { - model = "Synology DS411, DS413jv10"; - compatible = "synology,ds411", "synology,ds413jv10", "marvell,kirkwood"; - - memory { - device_type = "memory"; - reg = <0x00000000 0x8000000>; - }; - - chosen { - bootargs = "console=ttyS0,115200n8"; - stdout-path = &uart0; - }; - - gpio-fan-100-15-35-1 { - status = "okay"; - }; - - gpio-leds-hdd-36 { - status = "okay"; - }; - - regulators-hdd-34 { - status = "okay"; - }; -}; - -ð1 { - status = "okay"; -}; - -&s35390a { - status = "okay"; -}; - -&pciec { - status = "okay"; -}; - -&pcie1 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Andrew Lunn + * Ben Peddell + * + */ + +/dts-v1/; + +#include "kirkwood.dtsi" +#include "kirkwood-6282.dtsi" +#include "kirkwood-synology.dtsi" + +/ { + model = "Synology DS411, DS413jv10"; + compatible = "synology,ds411", "synology,ds413jv10", "marvell,kirkwood"; + + memory { + device_type = "memory"; + reg = <0x00000000 0x8000000>; + }; + + chosen { + bootargs = "console=ttyS0,115200n8"; + stdout-path = &uart0; + }; + + gpio-fan-100-15-35-1 { + status = "okay"; + }; + + gpio-leds-hdd-36 { + status = "okay"; + }; + + regulators-hdd-34 { + status = "okay"; + }; +}; + +ð1 { + status = "okay"; +}; + +&s35390a { + status = "okay"; +}; + +&pciec { + status = "okay"; +}; + +&pcie1 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-ds411j.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-ds411j.dts index bf83660cc9..bb3200daea 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-ds411j.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-ds411j.dts @@ -1,47 +1,47 @@ -// 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 DS411j"; - compatible = "synology,ds411j", "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"; - }; - - gpio-leds-alarm-12 { - status = "okay"; - }; -}; - -ð1 { - status = "okay"; -}; - -&s35390a { - 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 DS411j"; + compatible = "synology,ds411j", "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"; + }; + + gpio-leds-alarm-12 { + status = "okay"; + }; +}; + +ð1 { + status = "okay"; +}; + +&s35390a { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-ds411slim.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-ds411slim.dts index e8bf7cb4c4..9c5364a4e0 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-ds411slim.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-ds411slim.dts @@ -1,47 +1,47 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Andrew Lunn - * Ben Peddell - * - */ - -/dts-v1/; - -#include "kirkwood.dtsi" -#include "kirkwood-6282.dtsi" -#include "kirkwood-synology.dtsi" - -/ { - model = "Synology DS411slim"; - compatible = "synology,ds411slim", "marvell,kirkwood"; - - memory { - device_type = "memory"; - reg = <0x00000000 0x8000000>; - }; - - chosen { - bootargs = "console=ttyS0,115200n8"; - stdout-path = &uart0; - }; - - gpio-fan-100-15-35-1 { - status = "okay"; - }; - - gpio-leds-hdd-36 { - status = "okay"; - }; -}; - -ð1 { - status = "okay"; -}; - -&s35390a { - status = "okay"; -}; - -&pcie1 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Andrew Lunn + * Ben Peddell + * + */ + +/dts-v1/; + +#include "kirkwood.dtsi" +#include "kirkwood-6282.dtsi" +#include "kirkwood-synology.dtsi" + +/ { + model = "Synology DS411slim"; + compatible = "synology,ds411slim", "marvell,kirkwood"; + + memory { + device_type = "memory"; + reg = <0x00000000 0x8000000>; + }; + + chosen { + bootargs = "console=ttyS0,115200n8"; + stdout-path = &uart0; + }; + + gpio-fan-100-15-35-1 { + status = "okay"; + }; + + gpio-leds-hdd-36 { + status = "okay"; + }; +}; + +ð1 { + status = "okay"; +}; + +&s35390a { + status = "okay"; +}; + +&pcie1 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-is2.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-is2.dts index 128fd55fe0..1bc16a5cdb 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-is2.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-is2.dts @@ -1,40 +1,40 @@ -// SPDX-License-Identifier: GPL-2.0 -/dts-v1/; - -#include -#include "kirkwood-ns2-common.dtsi" - -/ { - model = "LaCie Internet Space v2"; - compatible = "lacie,inetspace_v2", "marvell,kirkwood-88f6281", "marvell,kirkwood"; - - memory { - device_type = "memory"; - reg = <0x00000000 0x8000000>; - }; - - ocp@f1000000 { - sata@80000 { - pinctrl-0 = <&pmx_ns2_sata0>; - pinctrl-names = "default"; - status = "okay"; - nr-ports = <1>; - }; - }; - - ns2-leds { - compatible = "lacie,ns2-leds"; - - blue-sata { - label = "ns2:blue:sata"; - slow-gpio = <&gpio0 29 0>; - cmd-gpio = <&gpio0 30 0>; - modes-map = ; - }; - }; -}; - -ðphy0 { reg = <8>; }; +// SPDX-License-Identifier: GPL-2.0 +/dts-v1/; + +#include +#include "kirkwood-ns2-common.dtsi" + +/ { + model = "LaCie Internet Space v2"; + compatible = "lacie,inetspace_v2", "marvell,kirkwood-88f6281", "marvell,kirkwood"; + + memory { + device_type = "memory"; + reg = <0x00000000 0x8000000>; + }; + + ocp@f1000000 { + sata@80000 { + pinctrl-0 = <&pmx_ns2_sata0>; + pinctrl-names = "default"; + status = "okay"; + nr-ports = <1>; + }; + }; + + ns2-leds { + compatible = "lacie,ns2-leds"; + + blue-sata { + label = "ns2:blue:sata"; + slow-gpio = <&gpio0 29 0>; + cmd-gpio = <&gpio0 30 0>; + modes-map = ; + }; + }; +}; + +ðphy0 { reg = <8>; }; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-km_common.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-km_common.dtsi index 8bd4d3856a..52baffe45f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-km_common.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-km_common.dtsi @@ -1,47 +1,47 @@ -// SPDX-License-Identifier: GPL-2.0 -/ { - chosen { - bootargs = "console=ttyS0,115200n8 earlyprintk"; - stdout-path = &uart0; - }; - - ocp@f1000000 { - pinctrl: pin-controller@10000 { - pinctrl-0 = < &pmx_i2c_gpio_sda &pmx_i2c_gpio_scl >; - pinctrl-names = "default"; - - pmx_i2c_gpio_sda: pmx-gpio-sda { - marvell,pins = "mpp8"; - marvell,function = "gpio"; - }; - pmx_i2c_gpio_scl: pmx-gpio-scl { - marvell,pins = "mpp9"; - marvell,function = "gpio"; - }; - }; - - serial@12000 { - status = "okay"; - }; - }; - - i2c { - compatible = "i2c-gpio"; - gpios = < &gpio0 8 GPIO_ACTIVE_HIGH /* sda */ - &gpio0 9 GPIO_ACTIVE_HIGH>; /* scl */ - i2c-gpio,delay-us = <2>; /* ~100 kHz */ - }; -}; - -&nand { - status = "okay"; - chip-delay = <25>; -}; - -&pciec { - status = "okay"; -}; - -&pcie0 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 +/ { + chosen { + bootargs = "console=ttyS0,115200n8 earlyprintk"; + stdout-path = &uart0; + }; + + ocp@f1000000 { + pinctrl: pin-controller@10000 { + pinctrl-0 = < &pmx_i2c_gpio_sda &pmx_i2c_gpio_scl >; + pinctrl-names = "default"; + + pmx_i2c_gpio_sda: pmx-gpio-sda { + marvell,pins = "mpp8"; + marvell,function = "gpio"; + }; + pmx_i2c_gpio_scl: pmx-gpio-scl { + marvell,pins = "mpp9"; + marvell,function = "gpio"; + }; + }; + + serial@12000 { + status = "okay"; + }; + }; + + i2c { + compatible = "i2c-gpio"; + gpios = < &gpio0 8 GPIO_ACTIVE_HIGH /* sda */ + &gpio0 9 GPIO_ACTIVE_HIGH>; /* scl */ + i2c-gpio,delay-us = <2>; /* ~100 kHz */ + }; +}; + +&nand { + status = "okay"; + chip-delay = <25>; +}; + +&pciec { + status = "okay"; +}; + +&pcie0 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-ns2.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-ns2.dts index 727482bd5f..7b67083e1e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-ns2.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-ns2.dts @@ -1,40 +1,40 @@ -// SPDX-License-Identifier: GPL-2.0 -/dts-v1/; - -#include -#include "kirkwood-ns2-common.dtsi" - -/ { - model = "LaCie Network Space v2"; - compatible = "lacie,netspace_v2", "marvell,kirkwood-88f6281", "marvell,kirkwood"; - - memory { - device_type = "memory"; - reg = <0x00000000 0x10000000>; - }; - - ocp@f1000000 { - sata@80000 { - pinctrl-0 = <&pmx_ns2_sata0>; - pinctrl-names = "default"; - status = "okay"; - nr-ports = <1>; - }; - }; - - ns2-leds { - compatible = "lacie,ns2-leds"; - - blue-sata { - label = "ns2:blue:sata"; - slow-gpio = <&gpio0 29 0>; - cmd-gpio = <&gpio0 30 0>; - modes-map = ; - }; - }; -}; - -ðphy0 { reg = <8>; }; +// SPDX-License-Identifier: GPL-2.0 +/dts-v1/; + +#include +#include "kirkwood-ns2-common.dtsi" + +/ { + model = "LaCie Network Space v2"; + compatible = "lacie,netspace_v2", "marvell,kirkwood-88f6281", "marvell,kirkwood"; + + memory { + device_type = "memory"; + reg = <0x00000000 0x10000000>; + }; + + ocp@f1000000 { + sata@80000 { + pinctrl-0 = <&pmx_ns2_sata0>; + pinctrl-names = "default"; + status = "okay"; + nr-ports = <1>; + }; + }; + + ns2-leds { + compatible = "lacie,ns2-leds"; + + blue-sata { + label = "ns2:blue:sata"; + slow-gpio = <&gpio0 29 0>; + cmd-gpio = <&gpio0 30 0>; + modes-map = ; + }; + }; +}; + +ðphy0 { reg = <8>; }; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-ns2lite.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-ns2lite.dts index 017f762ec2..686bcd6f0f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-ns2lite.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-ns2lite.dts @@ -1,35 +1,35 @@ -// SPDX-License-Identifier: GPL-2.0 -/dts-v1/; - -#include "kirkwood-ns2-common.dtsi" - -/ { - model = "LaCie Network Space Lite v2"; - compatible = "lacie,netspace_lite_v2", "marvell,kirkwood-88f6192", "marvell,kirkwood"; - - memory { - device_type = "memory"; - reg = <0x00000000 0x8000000>; - }; - - ocp@f1000000 { - sata@80000 { - pinctrl-0 = <&pmx_ns2_sata0>; - pinctrl-names = "default"; - status = "okay"; - nr-ports = <1>; - }; - }; - - gpio-leds { - compatible = "gpio-leds"; - - led-blue-sata { - label = "ns2:blue:sata"; - gpios = <&gpio0 30 GPIO_ACTIVE_LOW>; - linux,default-trigger = "disk-activity"; - }; - }; -}; - -ðphy0 { reg = <0>; }; +// SPDX-License-Identifier: GPL-2.0 +/dts-v1/; + +#include "kirkwood-ns2-common.dtsi" + +/ { + model = "LaCie Network Space Lite v2"; + compatible = "lacie,netspace_lite_v2", "marvell,kirkwood-88f6192", "marvell,kirkwood"; + + memory { + device_type = "memory"; + reg = <0x00000000 0x8000000>; + }; + + ocp@f1000000 { + sata@80000 { + pinctrl-0 = <&pmx_ns2_sata0>; + pinctrl-names = "default"; + status = "okay"; + nr-ports = <1>; + }; + }; + + gpio-leds { + compatible = "gpio-leds"; + + led-blue-sata { + label = "ns2:blue:sata"; + gpios = <&gpio0 30 GPIO_ACTIVE_LOW>; + linux,default-trigger = "disk-activity"; + }; + }; +}; + +ðphy0 { reg = <0>; }; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-openrd-base.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-openrd-base.dts index b7cb9a862c..094191ece3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-openrd-base.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-openrd-base.dts @@ -1,39 +1,39 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Marvell OpenRD Base Board Description - * - * Andrew Lunn - * - * This file contains the definitions that are specific to OpenRD - * base variant of the Marvell Kirkwood Development Board. - */ - -/dts-v1/; - -#include "kirkwood-openrd.dtsi" - -/ { - model = "OpenRD Base"; - compatible = "marvell,openrd-base", "marvell,openrd", "marvell,kirkwood-88f6281", "marvell,kirkwood"; - - ocp@f1000000 { - serial@12100 { - status = "okay"; - }; - }; -}; - -&mdio { - status = "okay"; - - ethphy0: ethernet-phy@8 { - reg = <8>; - }; -}; - -ð0 { - status = "okay"; - ethernet0-port@0 { - phy-handle = <ðphy0>; - }; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Marvell OpenRD Base Board Description + * + * Andrew Lunn + * + * This file contains the definitions that are specific to OpenRD + * base variant of the Marvell Kirkwood Development Board. + */ + +/dts-v1/; + +#include "kirkwood-openrd.dtsi" + +/ { + model = "OpenRD Base"; + compatible = "marvell,openrd-base", "marvell,openrd", "marvell,kirkwood-88f6281", "marvell,kirkwood"; + + ocp@f1000000 { + serial@12100 { + status = "okay"; + }; + }; +}; + +&mdio { + status = "okay"; + + ethphy0: ethernet-phy@8 { + reg = <8>; + }; +}; + +ð0 { + status = "okay"; + ethernet0-port@0 { + phy-handle = <ðphy0>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-openrd-ultimate.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-openrd-ultimate.dts index 5b6600d953..888e13320c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-openrd-ultimate.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-openrd-ultimate.dts @@ -1,55 +1,55 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Marvell OpenRD Ultimate Board Description - * - * Andrew Lunn - * - * This file contains the definitions that are specific to OpenRD - * ultimate variant of the Marvell Kirkwood Development Board. - */ - -/dts-v1/; - -#include "kirkwood-openrd.dtsi" - -/ { - model = "OpenRD Ultimate"; - compatible = "marvell,openrd-ultimate", "marvell,openrd", "marvell,kirkwood-88f6281", "marvell,kirkwood"; - - ocp@f1000000 { - i2c@11000 { - status = "okay"; - clock-frequency = <400000>; - - cs42l51: cs42l51@4a { - compatible = "cirrus,cs42l51"; - reg = <0x4a>; - }; - }; - }; -}; - -&mdio { - status = "okay"; - - ethphy0: ethernet-phy@0 { - reg = <0>; - }; - ethphy1: ethernet-phy@1 { - reg = <1>; - }; -}; - -ð0 { - status = "okay"; - ethernet0-port@0 { - phy-handle = <ðphy0>; - }; -}; - -ð1 { - status = "okay"; - ethernet1-port@0 { - phy-handle = <ðphy1>; - }; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Marvell OpenRD Ultimate Board Description + * + * Andrew Lunn + * + * This file contains the definitions that are specific to OpenRD + * ultimate variant of the Marvell Kirkwood Development Board. + */ + +/dts-v1/; + +#include "kirkwood-openrd.dtsi" + +/ { + model = "OpenRD Ultimate"; + compatible = "marvell,openrd-ultimate", "marvell,openrd", "marvell,kirkwood-88f6281", "marvell,kirkwood"; + + ocp@f1000000 { + i2c@11000 { + status = "okay"; + clock-frequency = <400000>; + + cs42l51: cs42l51@4a { + compatible = "cirrus,cs42l51"; + reg = <0x4a>; + }; + }; + }; +}; + +&mdio { + status = "okay"; + + ethphy0: ethernet-phy@0 { + reg = <0>; + }; + ethphy1: ethernet-phy@1 { + reg = <1>; + }; +}; + +ð0 { + status = "okay"; + ethernet0-port@0 { + phy-handle = <ðphy0>; + }; +}; + +ð1 { + status = "okay"; + ethernet1-port@0 { + phy-handle = <ðphy1>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-rd88f6281-a.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-rd88f6281-a.dts index 2806c58a88..5da163591b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-rd88f6281-a.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-rd88f6281-a.dts @@ -1,39 +1,39 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Marvell RD88F6181 A Board descrition - * - * Andrew Lunn - * - * This file contains the definitions for the board with the A0 or - * higher stepping of the SoC. The ethernet switch does not have a - * "wan" port. - */ - -/dts-v1/; -#include "kirkwood-rd88f6281.dtsi" - -/ { - model = "Marvell RD88f6281 Reference design, with A0 or higher SoC"; - compatible = "marvell,rd88f6281-a", "marvell,rd88f6281","marvell,kirkwood-88f6281", "marvell,kirkwood"; - -}; - -&mdio { - status = "okay"; - - ethphy1: ethernet-phy@11 { - reg = <11>; - }; -}; - -&switch { - reg = <10>; -}; - -ð1 { - status = "okay"; - - ethernet1-port@0 { - phy-handle = <ðphy1>; - }; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Marvell RD88F6181 A Board descrition + * + * Andrew Lunn + * + * This file contains the definitions for the board with the A0 or + * higher stepping of the SoC. The ethernet switch does not have a + * "wan" port. + */ + +/dts-v1/; +#include "kirkwood-rd88f6281.dtsi" + +/ { + model = "Marvell RD88f6281 Reference design, with A0 or higher SoC"; + compatible = "marvell,rd88f6281-a", "marvell,rd88f6281","marvell,kirkwood-88f6281", "marvell,kirkwood"; + +}; + +&mdio { + status = "okay"; + + ethphy1: ethernet-phy@11 { + reg = <11>; + }; +}; + +&switch { + reg = <10>; +}; + +ð1 { + status = "okay"; + + ethernet1-port@0 { + phy-handle = <ðphy1>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-rs212.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-rs212.dts index 036799d7bf..4ad412115a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-rs212.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-rs212.dts @@ -1,51 +1,51 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Andrew Lunn - * Ben Peddell - * - */ - -/dts-v1/; - -#include "kirkwood.dtsi" -#include "kirkwood-6282.dtsi" -#include "kirkwood-synology.dtsi" - -/ { - model = "Synology RS212"; - compatible = "synology,rs212", "marvell,kirkwood"; - - memory { - device_type = "memory"; - reg = <0x00000000 0x8000000>; - }; - - chosen { - bootargs = "console=ttyS0,115200n8"; - stdout-path = &uart0; - }; - - gpio-fan-100-15-35-3 { - status = "okay"; - }; - - gpio-leds-hdd-38 { - status = "okay"; - }; - - regulators-hdd-30-2 { - status = "okay"; - }; -}; - -&s35390a { - status = "okay"; -}; - -&pciec { - status = "okay"; -}; - -&pcie1 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Andrew Lunn + * Ben Peddell + * + */ + +/dts-v1/; + +#include "kirkwood.dtsi" +#include "kirkwood-6282.dtsi" +#include "kirkwood-synology.dtsi" + +/ { + model = "Synology RS212"; + compatible = "synology,rs212", "marvell,kirkwood"; + + memory { + device_type = "memory"; + reg = <0x00000000 0x8000000>; + }; + + chosen { + bootargs = "console=ttyS0,115200n8"; + stdout-path = &uart0; + }; + + gpio-fan-100-15-35-3 { + status = "okay"; + }; + + gpio-leds-hdd-38 { + status = "okay"; + }; + + regulators-hdd-30-2 { + status = "okay"; + }; +}; + +&s35390a { + status = "okay"; +}; + +&pciec { + status = "okay"; +}; + +&pcie1 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-rs411.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-rs411.dts index 9668b092e1..41fa63cec8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-rs411.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-rs411.dts @@ -1,43 +1,43 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Andrew Lunn - * Ben Peddell - * - */ - -/dts-v1/; - -#include "kirkwood.dtsi" -#include "kirkwood-6282.dtsi" -#include "kirkwood-synology.dtsi" - -/ { - model = "Synology RS411 RS812"; - compatible = "synology,rs411", "synology,rs812", "marvell,kirkwood"; - - memory { - device_type = "memory"; - reg = <0x00000000 0x8000000>; - }; - - chosen { - bootargs = "console=ttyS0,115200n8"; - stdout-path = &uart0; - }; - - gpio-fan-100-15-35-3 { - status = "okay"; - }; - - gpio-leds-hdd-36 { - status = "okay"; - }; -}; - -ð1 { - status = "okay"; -}; - -&s35390a { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Andrew Lunn + * Ben Peddell + * + */ + +/dts-v1/; + +#include "kirkwood.dtsi" +#include "kirkwood-6282.dtsi" +#include "kirkwood-synology.dtsi" + +/ { + model = "Synology RS411 RS812"; + compatible = "synology,rs411", "synology,rs812", "marvell,kirkwood"; + + memory { + device_type = "memory"; + reg = <0x00000000 0x8000000>; + }; + + chosen { + bootargs = "console=ttyS0,115200n8"; + stdout-path = &uart0; + }; + + gpio-fan-100-15-35-3 { + status = "okay"; + }; + + gpio-leds-hdd-36 { + status = "okay"; + }; +}; + +ð1 { + status = "okay"; +}; + +&s35390a { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-sheevaplug.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-sheevaplug.dts index 87d8ebb3c3..ce73fcf225 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-sheevaplug.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-sheevaplug.dts @@ -1,42 +1,42 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * kirkwood-sheevaplug.dts - Device tree file for Sheevaplug - * - * Copyright (C) 2013 Simon Baatz - */ - -/dts-v1/; - -#include "kirkwood-sheevaplug-common.dtsi" - -/ { - model = "Globalscale Technologies SheevaPlug"; - compatible = "globalscale,sheevaplug", "marvell,kirkwood-88f6281", "marvell,kirkwood"; - - ocp@f1000000 { - mvsdio@90000 { - pinctrl-0 = <&pmx_sdio>; - pinctrl-names = "default"; - status = "okay"; - /* No CD or WP GPIOs */ - broken-cd; - }; - }; - - gpio-leds { - compatible = "gpio-leds"; - pinctrl-0 = <&pmx_led_blue &pmx_led_red>; - pinctrl-names = "default"; - - led-health { - label = "sheevaplug:blue:health"; - gpios = <&gpio1 17 GPIO_ACTIVE_LOW>; - default-state = "keep"; - }; - - led-misc { - label = "sheevaplug:red:misc"; - gpios = <&gpio1 14 GPIO_ACTIVE_LOW>; - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * kirkwood-sheevaplug.dts - Device tree file for Sheevaplug + * + * Copyright (C) 2013 Simon Baatz + */ + +/dts-v1/; + +#include "kirkwood-sheevaplug-common.dtsi" + +/ { + model = "Globalscale Technologies SheevaPlug"; + compatible = "globalscale,sheevaplug", "marvell,kirkwood-88f6281", "marvell,kirkwood"; + + ocp@f1000000 { + mvsdio@90000 { + pinctrl-0 = <&pmx_sdio>; + pinctrl-names = "default"; + status = "okay"; + /* No CD or WP GPIOs */ + broken-cd; + }; + }; + + gpio-leds { + compatible = "gpio-leds"; + pinctrl-0 = <&pmx_led_blue &pmx_led_red>; + pinctrl-names = "default"; + + led-health { + label = "sheevaplug:blue:health"; + gpios = <&gpio1 17 GPIO_ACTIVE_LOW>; + default-state = "keep"; + }; + + led-misc { + label = "sheevaplug:red:misc"; + gpios = <&gpio1 14 GPIO_ACTIVE_LOW>; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/orion5x-mv88f5181.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/orion5x-mv88f5181.dtsi index a33c7b29b3..819f9efb70 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/orion5x-mv88f5181.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/orion5x-mv88f5181.dtsi @@ -1,44 +1,44 @@ -// SPDX-License-Identifier: GPL-2.0-only -// Copyright (C) 2016 Jamie Lentin - -#include "orion5x.dtsi" - -/ { - compatible = "marvell,orion5x-88f5181", "marvell,orion5x"; - - soc { - compatible = "marvell,orion5x-88f5181-mbus", "simple-bus"; - - internal-regs { - pinctrl: pinctrl@10000 { - compatible = "marvell,88f5181-pinctrl"; - reg = <0x10000 0x8>, <0x10050 0x4>; - }; - - core_clk: core-clocks@10030 { - compatible = "marvell,mv88f5181-core-clock"; - reg = <0x10010 0x4>; - #clock-cells = <1>; - }; - - mbusc: mbus-controller@20000 { - compatible = "marvell,mbus-controller"; - reg = <0x20000 0x100>, <0x1500 0x20>; - }; - }; - }; -}; - -&pinctrl { - pmx_ge: pmx-ge { - marvell,pins = "mpp8", "mpp9", "mpp10", "mpp11", - "mpp12", "mpp13", "mpp14", "mpp15", - "mpp16", "mpp17", "mpp18", "mpp19"; - marvell,function = "ge"; - }; -}; - -ð { - pinctrl-0 = <&pmx_ge>; - pinctrl-names = "default"; -}; +// SPDX-License-Identifier: GPL-2.0-only +// Copyright (C) 2016 Jamie Lentin + +#include "orion5x.dtsi" + +/ { + compatible = "marvell,orion5x-88f5181", "marvell,orion5x"; + + soc { + compatible = "marvell,orion5x-88f5181-mbus", "simple-bus"; + + internal-regs { + pinctrl: pinctrl@10000 { + compatible = "marvell,88f5181-pinctrl"; + reg = <0x10000 0x8>, <0x10050 0x4>; + }; + + core_clk: core-clocks@10030 { + compatible = "marvell,mv88f5181-core-clock"; + reg = <0x10010 0x4>; + #clock-cells = <1>; + }; + + mbusc: mbus-controller@20000 { + compatible = "marvell,mbus-controller"; + reg = <0x20000 0x100>, <0x1500 0x20>; + }; + }; + }; +}; + +&pinctrl { + pmx_ge: pmx-ge { + marvell,pins = "mpp8", "mpp9", "mpp10", "mpp11", + "mpp12", "mpp13", "mpp14", "mpp15", + "mpp16", "mpp17", "mpp18", "mpp19"; + marvell,function = "ge"; + }; +}; + +ð { + pinctrl-0 = <&pmx_ge>; + pinctrl-names = "default"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/orion5x-mv88f5182.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/orion5x-mv88f5182.dtsi index 9edaa1530e..86b87fb26d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/orion5x-mv88f5182.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/orion5x-mv88f5182.dtsi @@ -1,40 +1,40 @@ -// SPDX-License-Identifier: GPL-2.0-only -// Copyright (C) 2014 Thomas Petazzoni - -#include "orion5x.dtsi" - -/ { - compatible = "marvell,orion5x-88f5182", "marvell,orion5x"; - - soc { - compatible = "marvell,orion5x-88f5182-mbus", "simple-bus"; - - internal-regs { - pinctrl: pinctrl@10000 { - compatible = "marvell,88f5182-pinctrl"; - reg = <0x10000 0x8>, <0x10050 0x4>; - - pmx_sata0: pmx-sata0 { - marvell,pins = "mpp12", "mpp14"; - marvell,function = "sata0"; - }; - - pmx_sata1: pmx-sata1 { - marvell,pins = "mpp13", "mpp15"; - marvell,function = "sata1"; - }; - }; - - core_clk: core-clocks@10030 { - compatible = "marvell,mv88f5182-core-clock"; - reg = <0x10010 0x4>; - #clock-cells = <1>; - }; - - mbusc: mbus-controller@20000 { - compatible = "marvell,mbus-controller"; - reg = <0x20000 0x100>, <0x1500 0x20>; - }; - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0-only +// Copyright (C) 2014 Thomas Petazzoni + +#include "orion5x.dtsi" + +/ { + compatible = "marvell,orion5x-88f5182", "marvell,orion5x"; + + soc { + compatible = "marvell,orion5x-88f5182-mbus", "simple-bus"; + + internal-regs { + pinctrl: pinctrl@10000 { + compatible = "marvell,88f5182-pinctrl"; + reg = <0x10000 0x8>, <0x10050 0x4>; + + pmx_sata0: pmx-sata0 { + marvell,pins = "mpp12", "mpp14"; + marvell,function = "sata0"; + }; + + pmx_sata1: pmx-sata1 { + marvell,pins = "mpp13", "mpp15"; + marvell,function = "sata1"; + }; + }; + + core_clk: core-clocks@10030 { + compatible = "marvell,mv88f5182-core-clock"; + reg = <0x10010 0x4>; + #clock-cells = <1>; + }; + + mbusc: mbus-controller@20000 { + compatible = "marvell,mbus-controller"; + reg = <0x20000 0x100>, <0x1500 0x20>; + }; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/at91-kizboxmini-base.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/at91-kizboxmini-base.dts index 62c7215616..81c29ca5cc 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/at91-kizboxmini-base.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/at91-kizboxmini-base.dts @@ -1,24 +1,24 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * at91-kizboxmini-base.dts - Device Tree file for Overkiz Kizbox mini - * base board - * - * Copyright (C) 2015 Overkiz SAS - * Author: Antoine Aubert - * Kévin Raymond - */ -/dts-v1/; -#include "at91-kizboxmini-common.dtsi" - -/ { - model = "Overkiz Kizbox Mini"; - compatible = "overkiz,kizboxmini-base", "atmel,at91sam9g25", - "atmel,at91sam9x5", "atmel,at91sam9"; -}; - -&pinctrl_usart0 { - atmel,pins = - ; -}; +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * at91-kizboxmini-base.dts - Device Tree file for Overkiz Kizbox mini + * base board + * + * Copyright (C) 2015 Overkiz SAS + * Author: Antoine Aubert + * Kévin Raymond + */ +/dts-v1/; +#include "at91-kizboxmini-common.dtsi" + +/ { + model = "Overkiz Kizbox Mini"; + compatible = "overkiz,kizboxmini-base", "atmel,at91sam9g25", + "atmel,at91sam9x5", "atmel,at91sam9"; +}; + +&pinctrl_usart0 { + atmel,pins = + ; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/at91-kizboxmini-rd.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/at91-kizboxmini-rd.dts index 3f33d752fb..ab50f4d223 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/at91-kizboxmini-rd.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/at91-kizboxmini-rd.dts @@ -1,49 +1,49 @@ -// 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 RailDIN"; - compatible = "overkiz,kizboxmini-rd", "atmel,at91sam9g25", - "atmel,at91sam9x5", "atmel,at91sam9"; - - clocks { - adc_op_clk { - status = "okay"; - }; - }; -}; - -&pinctrl { - adc0 { - pinctrl_adc0_ad5: adc0_ad5-0 { - /* pull-up disable */ - atmel,pins = ; - }; - }; -}; - -&usart0 { - status = "disabled"; -}; - -&rtc { - status = "okay"; -}; - -&led_blue { - status = "okay"; -}; - -&adc0 { - atmel,adc-vref = <2500>; - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_adc0_ad5>; - atmel,adc-channels-used = <0x0020>; - 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 RailDIN"; + compatible = "overkiz,kizboxmini-rd", "atmel,at91sam9g25", + "atmel,at91sam9x5", "atmel,at91sam9"; + + clocks { + adc_op_clk { + status = "okay"; + }; + }; +}; + +&pinctrl { + adc0 { + pinctrl_adc0_ad5: adc0_ad5-0 { + /* pull-up disable */ + atmel,pins = ; + }; + }; +}; + +&usart0 { + status = "disabled"; +}; + +&rtc { + status = "okay"; +}; + +&led_blue { + status = "okay"; +}; + +&adc0 { + atmel,adc-vref = <2500>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_adc0_ad5>; + atmel,adc-channels-used = <0x0020>; + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/at91-wb45n.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/at91-wb45n.dts index a743d5e98d..ef73f727f7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/at91-wb45n.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/at91-wb45n.dts @@ -1,61 +1,61 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * at91-wb45n.dts - Device Tree file for WB45NBT board - * - * Copyright (C) 2018 Laird - * - */ -/dts-v1/; -#include "at91-wb45n.dtsi" - -/ { - model = "Laird Workgroup Bridge 45N - Atmel AT91SAM (dt)"; - compatible = "laird,wb45n", "laird,wbxx", "atmel,at91sam9x5", "atmel,at91sam9"; - - gpio-keys { - compatible = "gpio-keys"; - - button { - label = "IRQBTN"; - linux,code = <99>; - gpios = <&pioB 18 GPIO_ACTIVE_LOW>; - wakeup-source; - }; - }; -}; - -&watchdog { - status = "okay"; -}; - -&usb0 { - status = "okay"; -}; - -&mmc0 { - status = "okay"; -}; - -&spi0 { - status = "okay"; -}; - -&macb0 { - status = "okay"; -}; - -&dbgu { - status = "okay"; -}; - -&usart0 { - status = "okay"; -}; - -&usart3 { - status = "okay"; -}; - -&i2c1 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * at91-wb45n.dts - Device Tree file for WB45NBT board + * + * Copyright (C) 2018 Laird + * + */ +/dts-v1/; +#include "at91-wb45n.dtsi" + +/ { + model = "Laird Workgroup Bridge 45N - Atmel AT91SAM (dt)"; + compatible = "laird,wb45n", "laird,wbxx", "atmel,at91sam9x5", "atmel,at91sam9"; + + gpio-keys { + compatible = "gpio-keys"; + + button { + label = "IRQBTN"; + linux,code = <99>; + gpios = <&pioB 18 GPIO_ACTIVE_LOW>; + wakeup-source; + }; + }; +}; + +&watchdog { + status = "okay"; +}; + +&usb0 { + status = "okay"; +}; + +&mmc0 { + status = "okay"; +}; + +&spi0 { + status = "okay"; +}; + +&macb0 { + status = "okay"; +}; + +&dbgu { + status = "okay"; +}; + +&usart0 { + status = "okay"; +}; + +&usart3 { + status = "okay"; +}; + +&i2c1 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/at91sam9g15.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/at91sam9g15.dtsi index e83d511af0..dde88276fe 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/at91sam9g15.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/at91sam9g15.dtsi @@ -1,28 +1,28 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * at91sam9g15.dtsi - Device Tree Include file for AT91SAM9G15 SoC - * - * Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD - */ - -#include "at91sam9x5.dtsi" -#include "at91sam9x5_lcd.dtsi" - -/ { - model = "Atmel AT91SAM9G15 SoC"; - compatible = "atmel,at91sam9g15", "atmel,at91sam9x5"; -}; - -&pinctrl { - atmel,mux-mask = < - /* A B C */ - 0xffffffff 0xffe0399f 0x00000000 /* pioA */ - 0x00040000 0x00047e3f 0x00000000 /* pioB */ - 0xfdffffff 0x00000000 0xb83fffff /* pioC */ - 0x003fffff 0x003f8000 0x00000000 /* pioD */ - >; -}; - -&pmc { - compatible = "atmel,at91sam9g15-pmc", "atmel,at91sam9x5-pmc", "syscon"; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * at91sam9g15.dtsi - Device Tree Include file for AT91SAM9G15 SoC + * + * Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD + */ + +#include "at91sam9x5.dtsi" +#include "at91sam9x5_lcd.dtsi" + +/ { + model = "Atmel AT91SAM9G15 SoC"; + compatible = "atmel,at91sam9g15", "atmel,at91sam9x5"; +}; + +&pinctrl { + atmel,mux-mask = < + /* A B C */ + 0xffffffff 0xffe0399f 0x00000000 /* pioA */ + 0x00040000 0x00047e3f 0x00000000 /* pioB */ + 0xfdffffff 0x00000000 0xb83fffff /* pioC */ + 0x003fffff 0x003f8000 0x00000000 /* pioD */ + >; +}; + +&pmc { + compatible = "atmel,at91sam9g15-pmc", "atmel,at91sam9x5-pmc", "syscon"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/at91sam9g15ek.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/at91sam9g15ek.dts index 5428a65cc4..889a5097eb 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/at91sam9g15ek.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/at91sam9g15ek.dts @@ -1,36 +1,36 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * at91sam9g15ek.dts - Device Tree file for AT91SAM9G15-EK board - * - * Copyright (C) 2012 Atmel, - * 2012 Nicolas Ferre - */ -/dts-v1/; -#include "at91sam9g15.dtsi" -#include "at91sam9x5dm.dtsi" -#include "at91sam9x5ek.dtsi" - -/ { - model = "Atmel AT91SAM9G15-EK"; - compatible = "atmel,at91sam9g15ek", "atmel,at91sam9x5ek", "atmel,at91sam9x5", "atmel,at91sam9"; - - backlight: backlight { - status = "okay"; - }; - - bl_reg: backlight_regulator { - status = "okay"; - }; - - panel: panel { - status = "okay"; - }; - - panel_reg: panel_regulator { - status = "okay"; - }; -}; - -&hlcdc { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * at91sam9g15ek.dts - Device Tree file for AT91SAM9G15-EK board + * + * Copyright (C) 2012 Atmel, + * 2012 Nicolas Ferre + */ +/dts-v1/; +#include "at91sam9g15.dtsi" +#include "at91sam9x5dm.dtsi" +#include "at91sam9x5ek.dtsi" + +/ { + model = "Atmel AT91SAM9G15-EK"; + compatible = "atmel,at91sam9g15ek", "atmel,at91sam9x5ek", "atmel,at91sam9x5", "atmel,at91sam9"; + + backlight: backlight { + status = "okay"; + }; + + bl_reg: backlight_regulator { + status = "okay"; + }; + + panel: panel { + status = "okay"; + }; + + panel_reg: panel_regulator { + status = "okay"; + }; +}; + +&hlcdc { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/at91sam9g20.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/at91sam9g20.dtsi index 7387baff7d..738a43ffd2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/at91sam9g20.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/at91sam9g20.dtsi @@ -1,49 +1,49 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * at91sam9g20.dtsi - Device Tree Include file for AT91SAM9G20 family SoC - * - * Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD - */ - -#include "at91sam9260.dtsi" - -/ { - model = "Atmel AT91SAM9G20 family SoC"; - compatible = "atmel,at91sam9g20"; - - memory@20000000 { - reg = <0x20000000 0x08000000>; - }; - - sram0: sram@2ff000 { - status = "disabled"; - }; - - sram1: sram@2fc000 { - compatible = "mmio-sram"; - reg = <0x002fc000 0x8000>; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 0x002fc000 0x8000>; - }; - - ahb { - apb { - i2c0: i2c@fffac000 { - compatible = "atmel,at91sam9g20-i2c"; - }; - - ssc0: ssc@fffbc000 { - compatible = "atmel,at91sam9rl-ssc"; - }; - - adc0: adc@fffe0000 { - atmel,adc-startup-time = <40>; - }; - - pmc: clock-controller@fffffc00 { - compatible = "atmel,at91sam9g20-pmc", "atmel,at91sam9260-pmc", "syscon"; - }; - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * at91sam9g20.dtsi - Device Tree Include file for AT91SAM9G20 family SoC + * + * Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD + */ + +#include "at91sam9260.dtsi" + +/ { + model = "Atmel AT91SAM9G20 family SoC"; + compatible = "atmel,at91sam9g20"; + + memory@20000000 { + reg = <0x20000000 0x08000000>; + }; + + sram0: sram@2ff000 { + status = "disabled"; + }; + + sram1: sram@2fc000 { + compatible = "mmio-sram"; + reg = <0x002fc000 0x8000>; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0 0x002fc000 0x8000>; + }; + + ahb { + apb { + i2c0: i2c@fffac000 { + compatible = "atmel,at91sam9g20-i2c"; + }; + + ssc0: ssc@fffbc000 { + compatible = "atmel,at91sam9rl-ssc"; + }; + + adc0: adc@fffe0000 { + atmel,adc-startup-time = <40>; + }; + + pmc: clock-controller@fffffc00 { + compatible = "atmel,at91sam9g20-pmc", "atmel,at91sam9260-pmc", "syscon"; + }; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/at91sam9g25.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/at91sam9g25.dtsi index 2d65e7b661..ec3c772218 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/at91sam9g25.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/at91sam9g25.dtsi @@ -1,34 +1,34 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * at91sam9g25.dtsi - Device Tree Include file for AT91SAM9G25 SoC - * - * Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD - */ - -#include "at91sam9x5.dtsi" -#include "at91sam9x5_isi.dtsi" -#include "at91sam9x5_usart3.dtsi" -#include "at91sam9x5_macb0.dtsi" - -/ { - model = "Atmel AT91SAM9G25 SoC"; - compatible = "atmel,at91sam9g25", "atmel,at91sam9x5"; - - ahb { - apb { - pinctrl@fffff400 { - atmel,mux-mask = < - /* A B C */ - 0xffffffff 0xffe0399f 0xc000001c /* pioA */ - 0x0007ffff 0x00047e3f 0x00000000 /* pioB */ - 0x80000000 0x07c0ffff 0xb83fffff /* pioC */ - 0x003fffff 0x003f8000 0x00000000 /* pioD */ - >; - }; - - pmc: clock-controller@fffffc00 { - compatible = "atmel,at91sam9g25-pmc", "atmel,at91sam9x5-pmc", "syscon"; - }; - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * at91sam9g25.dtsi - Device Tree Include file for AT91SAM9G25 SoC + * + * Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD + */ + +#include "at91sam9x5.dtsi" +#include "at91sam9x5_isi.dtsi" +#include "at91sam9x5_usart3.dtsi" +#include "at91sam9x5_macb0.dtsi" + +/ { + model = "Atmel AT91SAM9G25 SoC"; + compatible = "atmel,at91sam9g25", "atmel,at91sam9x5"; + + ahb { + apb { + pinctrl@fffff400 { + atmel,mux-mask = < + /* A B C */ + 0xffffffff 0xffe0399f 0xc000001c /* pioA */ + 0x0007ffff 0x00047e3f 0x00000000 /* pioB */ + 0x80000000 0x07c0ffff 0xb83fffff /* pioC */ + 0x003fffff 0x003f8000 0x00000000 /* pioD */ + >; + }; + + pmc: clock-controller@fffffc00 { + compatible = "atmel,at91sam9g25-pmc", "atmel,at91sam9x5-pmc", "syscon"; + }; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/at91sam9g35.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/at91sam9g35.dtsi index 08dfa2d0ed..c9cfb93092 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/at91sam9g35.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/at91sam9g35.dtsi @@ -1,33 +1,33 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * at91sam9g35.dtsi - Device Tree Include file for AT91SAM9G35 SoC - * - * Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD - */ - -#include "at91sam9x5.dtsi" -#include "at91sam9x5_lcd.dtsi" -#include "at91sam9x5_macb0.dtsi" - -/ { - model = "Atmel AT91SAM9G35 SoC"; - compatible = "atmel,at91sam9g35", "atmel,at91sam9x5"; - - ahb { - apb { - pinctrl@fffff400 { - atmel,mux-mask = < - /* A B C */ - 0xffffffff 0xffe0399f 0xc000000c /* pioA */ - 0x000406ff 0x00047e3f 0x00000000 /* pioB */ - 0xfdffffff 0x00000000 0xb83fffff /* pioC */ - 0x003fffff 0x003f8000 0x00000000 /* pioD */ - >; - }; - - pmc: clock-controller@fffffc00 { - compatible = "atmel,at91sam9g35-pmc", "atmel,at91sam9x5-pmc", "syscon"; - }; - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * at91sam9g35.dtsi - Device Tree Include file for AT91SAM9G35 SoC + * + * Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD + */ + +#include "at91sam9x5.dtsi" +#include "at91sam9x5_lcd.dtsi" +#include "at91sam9x5_macb0.dtsi" + +/ { + model = "Atmel AT91SAM9G35 SoC"; + compatible = "atmel,at91sam9g35", "atmel,at91sam9x5"; + + ahb { + apb { + pinctrl@fffff400 { + atmel,mux-mask = < + /* A B C */ + 0xffffffff 0xffe0399f 0xc000000c /* pioA */ + 0x000406ff 0x00047e3f 0x00000000 /* pioB */ + 0xfdffffff 0x00000000 0xb83fffff /* pioC */ + 0x003fffff 0x003f8000 0x00000000 /* pioD */ + >; + }; + + pmc: clock-controller@fffffc00 { + compatible = "atmel,at91sam9g35-pmc", "atmel,at91sam9x5-pmc", "syscon"; + }; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/at91sam9g35ek.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/at91sam9g35ek.dts index c8674dab5e..f966b56de6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/at91sam9g35ek.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/at91sam9g35ek.dts @@ -1,41 +1,41 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * at91sam9g35ek.dts - Device Tree file for AT91SAM9G35-EK board - * - * Copyright (C) 2012 Atmel, - * 2012 Nicolas Ferre - */ -/dts-v1/; -#include "at91sam9g35.dtsi" -#include "at91sam9x5dm.dtsi" -#include "at91sam9x5ek.dtsi" - -/ { - model = "Atmel AT91SAM9G35-EK"; - compatible = "atmel,at91sam9g35ek", "atmel,at91sam9x5ek", "atmel,at91sam9x5", "atmel,at91sam9"; - - backlight: backlight { - status = "okay"; - }; - - bl_reg: backlight_regulator { - status = "okay"; - }; - - panel: panel { - status = "okay"; - }; - - panel_reg: panel_regulator { - status = "okay"; - }; -}; - -&hlcdc { - status = "okay"; -}; - -&macb0 { - phy-mode = "rmii"; - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * at91sam9g35ek.dts - Device Tree file for AT91SAM9G35-EK board + * + * Copyright (C) 2012 Atmel, + * 2012 Nicolas Ferre + */ +/dts-v1/; +#include "at91sam9g35.dtsi" +#include "at91sam9x5dm.dtsi" +#include "at91sam9x5ek.dtsi" + +/ { + model = "Atmel AT91SAM9G35-EK"; + compatible = "atmel,at91sam9g35ek", "atmel,at91sam9x5ek", "atmel,at91sam9x5", "atmel,at91sam9"; + + backlight: backlight { + status = "okay"; + }; + + bl_reg: backlight_regulator { + status = "okay"; + }; + + panel: panel { + status = "okay"; + }; + + panel_reg: panel_regulator { + status = "okay"; + }; +}; + +&hlcdc { + status = "okay"; +}; + +&macb0 { + phy-mode = "rmii"; + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/at91sam9x25.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/at91sam9x25.dtsi index 75aa2cb47b..7036f5f045 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/at91sam9x25.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/at91sam9x25.dtsi @@ -1,35 +1,35 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * at91sam9x25.dtsi - Device Tree Include file for AT91SAM9X25 SoC - * - * Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD - */ - -#include "at91sam9x5.dtsi" -#include "at91sam9x5_usart3.dtsi" -#include "at91sam9x5_macb0.dtsi" -#include "at91sam9x5_macb1.dtsi" -#include "at91sam9x5_can.dtsi" - -/ { - model = "Atmel AT91SAM9X25 SoC"; - compatible = "atmel,at91sam9x25", "atmel,at91sam9x5"; - - ahb { - apb { - pinctrl@fffff400 { - atmel,mux-mask = < - /* A B C */ - 0xffffffff 0xffe03fff 0xc000001c /* pioA */ - 0x0007ffff 0x00047e3f 0x00000000 /* pioB */ - 0x80000000 0xfffd0000 0xb83fffff /* pioC */ - 0x003fffff 0x003f8000 0x00000000 /* pioD */ - >; - }; - - pmc: clock-controller@fffffc00 { - compatible = "atmel,at91sam9x25-pmc", "atmel,at91sam9x5-pmc", "syscon"; - }; - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * at91sam9x25.dtsi - Device Tree Include file for AT91SAM9X25 SoC + * + * Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD + */ + +#include "at91sam9x5.dtsi" +#include "at91sam9x5_usart3.dtsi" +#include "at91sam9x5_macb0.dtsi" +#include "at91sam9x5_macb1.dtsi" +#include "at91sam9x5_can.dtsi" + +/ { + model = "Atmel AT91SAM9X25 SoC"; + compatible = "atmel,at91sam9x25", "atmel,at91sam9x5"; + + ahb { + apb { + pinctrl@fffff400 { + atmel,mux-mask = < + /* A B C */ + 0xffffffff 0xffe03fff 0xc000001c /* pioA */ + 0x0007ffff 0x00047e3f 0x00000000 /* pioB */ + 0x80000000 0xfffd0000 0xb83fffff /* pioC */ + 0x003fffff 0x003f8000 0x00000000 /* pioD */ + >; + }; + + pmc: clock-controller@fffffc00 { + compatible = "atmel,at91sam9x25-pmc", "atmel,at91sam9x5-pmc", "syscon"; + }; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/at91sam9x25ek.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/at91sam9x25ek.dts index 7d3a2f9943..ad7c6b36f0 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/at91sam9x25ek.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/at91sam9x25ek.dts @@ -1,35 +1,35 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * at91sam9x25ek.dts - Device Tree file for AT91SAM9X25-EK board - * - * Copyright (C) 2012 Atmel, - * 2012 Nicolas Ferre - */ -/dts-v1/; -#include "at91sam9x25.dtsi" -#include "at91sam9x5ek.dtsi" - -/ { - model = "Atmel AT91SAM9X25-EK"; - compatible = "atmel,at91sam9x25ek", "atmel,at91sam9x5ek", "atmel,at91sam9x5", "atmel,at91sam9"; -}; - -&can1 { - status = "okay"; -}; - -&macb0 { - phy-mode = "rmii"; - status = "okay"; -}; - -&macb1 { - phy-mode = "rmii"; - status = "okay"; -}; - -&pwm0 { - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_pwm0_pwm0_1>; - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * at91sam9x25ek.dts - Device Tree file for AT91SAM9X25-EK board + * + * Copyright (C) 2012 Atmel, + * 2012 Nicolas Ferre + */ +/dts-v1/; +#include "at91sam9x25.dtsi" +#include "at91sam9x5ek.dtsi" + +/ { + model = "Atmel AT91SAM9X25-EK"; + compatible = "atmel,at91sam9x25ek", "atmel,at91sam9x5ek", "atmel,at91sam9x5", "atmel,at91sam9"; +}; + +&can1 { + status = "okay"; +}; + +&macb0 { + phy-mode = "rmii"; + status = "okay"; +}; + +&macb1 { + phy-mode = "rmii"; + status = "okay"; +}; + +&pwm0 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_pwm0_pwm0_1>; + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/at91sam9x35.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/at91sam9x35.dtsi index ee2e495e82..eb03b0497e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/at91sam9x35.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/at91sam9x35.dtsi @@ -1,34 +1,34 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * at91sam9x35.dtsi - Device Tree Include file for AT91SAM9X35 SoC - * - * Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD - */ - -#include "at91sam9x5.dtsi" -#include "at91sam9x5_lcd.dtsi" -#include "at91sam9x5_macb0.dtsi" -#include "at91sam9x5_can.dtsi" - -/ { - model = "Atmel AT91SAM9X35 SoC"; - compatible = "atmel,at91sam9x35", "atmel,at91sam9x5"; - - ahb { - apb { - pinctrl@fffff400 { - atmel,mux-mask = < - /* A B C */ - 0xffffffff 0xffe03fff 0xc000000c /* pioA */ - 0x000406ff 0x00047e3f 0x00000000 /* pioB */ - 0xfdffffff 0x00000000 0xb83fffff /* pioC */ - 0x003fffff 0x003f8000 0x00000000 /* pioD */ - >; - }; - - pmc: clock-controller@fffffc00 { - compatible = "atmel,at91sam9x35-pmc", "atmel,at91sam9x5-pmc", "syscon"; - }; - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * at91sam9x35.dtsi - Device Tree Include file for AT91SAM9X35 SoC + * + * Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD + */ + +#include "at91sam9x5.dtsi" +#include "at91sam9x5_lcd.dtsi" +#include "at91sam9x5_macb0.dtsi" +#include "at91sam9x5_can.dtsi" + +/ { + model = "Atmel AT91SAM9X35 SoC"; + compatible = "atmel,at91sam9x35", "atmel,at91sam9x5"; + + ahb { + apb { + pinctrl@fffff400 { + atmel,mux-mask = < + /* A B C */ + 0xffffffff 0xffe03fff 0xc000000c /* pioA */ + 0x000406ff 0x00047e3f 0x00000000 /* pioB */ + 0xfdffffff 0x00000000 0xb83fffff /* pioC */ + 0x003fffff 0x003f8000 0x00000000 /* pioD */ + >; + }; + + pmc: clock-controller@fffffc00 { + compatible = "atmel,at91sam9x35-pmc", "atmel,at91sam9x5-pmc", "syscon"; + }; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/at91sam9x35ek.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/at91sam9x35ek.dts index 71d92e7605..66675c787b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/at91sam9x35ek.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/at91sam9x35ek.dts @@ -1,41 +1,41 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * at91sam9x35ek.dts - Device Tree file for AT91SAM9X35-EK board - * - * Copyright (C) 2012 Atmel, - * 2012 Nicolas Ferre - */ -/dts-v1/; -#include "at91sam9x35.dtsi" -#include "at91sam9x5dm.dtsi" -#include "at91sam9x5ek.dtsi" - -/ { - model = "Atmel AT91SAM9X35-EK"; - compatible = "atmel,at91sam9x35ek", "atmel,at91sam9x5ek", "atmel,at91sam9x5", "atmel,at91sam9"; -}; - -&backlight { - status = "okay"; -}; - -&bl_reg { - status = "okay"; -}; - -&hlcdc { - status = "okay"; -}; - -&macb0 { - phy-mode = "rmii"; - status = "okay"; -}; - -&panel { - status = "okay"; -}; - -&panel_reg { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * at91sam9x35ek.dts - Device Tree file for AT91SAM9X35-EK board + * + * Copyright (C) 2012 Atmel, + * 2012 Nicolas Ferre + */ +/dts-v1/; +#include "at91sam9x35.dtsi" +#include "at91sam9x5dm.dtsi" +#include "at91sam9x5ek.dtsi" + +/ { + model = "Atmel AT91SAM9X35-EK"; + compatible = "atmel,at91sam9x35ek", "atmel,at91sam9x5ek", "atmel,at91sam9x5", "atmel,at91sam9"; +}; + +&backlight { + status = "okay"; +}; + +&bl_reg { + status = "okay"; +}; + +&hlcdc { + status = "okay"; +}; + +&macb0 { + phy-mode = "rmii"; + status = "okay"; +}; + +&panel { + status = "okay"; +}; + +&panel_reg { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/evk-pro3.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/evk-pro3.dts index 3c7baaf056..6d519d02d1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/evk-pro3.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/evk-pro3.dts @@ -1,58 +1,58 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * evk-pro3.dts - Device Tree file for Telit EVK-PRO3 with Telit GE863-PRO3 - * - * Copyright (C) 2012 Telit, - * 2012 Fabio Porcedda - */ - -/dts-v1/; - -#include "ge863-pro3.dtsi" - -/ { - model = "Telit EVK-PRO3 for Telit GE863-PRO3"; - compatible = "telit,evk-pro3", "atmel,at91sam9260", "atmel,at91sam9"; - - clocks { - slow_xtal { - clock-frequency = <32768>; - }; - }; - - ahb { - apb { - macb0: ethernet@fffc4000 { - phy-mode = "rmii"; - status = "okay"; - }; - - usart0: serial@fffb0000 { - status = "okay"; - }; - - usart2: serial@fffb8000 { - status = "okay"; - }; - - usb1: gadget@fffa4000 { - atmel,vbus-gpio = <&pioC 5 GPIO_ACTIVE_HIGH>; - status = "okay"; - }; - - watchdog@fffffd40 { - status = "okay"; - }; - }; - - usb0: ohci@500000 { - num-ports = <2>; - status = "okay"; - }; - }; - - i2c-gpio-0 { - status = "okay"; - }; - -}; +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * evk-pro3.dts - Device Tree file for Telit EVK-PRO3 with Telit GE863-PRO3 + * + * Copyright (C) 2012 Telit, + * 2012 Fabio Porcedda + */ + +/dts-v1/; + +#include "ge863-pro3.dtsi" + +/ { + model = "Telit EVK-PRO3 for Telit GE863-PRO3"; + compatible = "telit,evk-pro3", "atmel,at91sam9260", "atmel,at91sam9"; + + clocks { + slow_xtal { + clock-frequency = <32768>; + }; + }; + + ahb { + apb { + macb0: ethernet@fffc4000 { + phy-mode = "rmii"; + status = "okay"; + }; + + usart0: serial@fffb0000 { + status = "okay"; + }; + + usart2: serial@fffb8000 { + status = "okay"; + }; + + usb1: gadget@fffa4000 { + atmel,vbus-gpio = <&pioC 5 GPIO_ACTIVE_HIGH>; + status = "okay"; + }; + + watchdog@fffffd40 { + status = "okay"; + }; + }; + + usb0: ohci@500000 { + num-ports = <2>; + status = "okay"; + }; + }; + + i2c-gpio-0 { + status = "okay"; + }; + +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/lan966x-kontron-kswitch-d10-mmt-8g.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/lan966x-kontron-kswitch-d10-mmt-8g.dts index e3cbeb0b83..ad5d8b56e6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/lan966x-kontron-kswitch-d10-mmt-8g.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/lan966x-kontron-kswitch-d10-mmt-8g.dts @@ -1,41 +1,41 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Device Tree file for the Kontron KSwitch D10 MMT 8G - */ - -/dts-v1/; -#include "lan966x-kontron-kswitch-d10-mmt.dtsi" - -/ { - model = "Kontron KSwitch D10 MMT 8G"; - compatible = "kontron,kswitch-d10-mmt-8g", "kontron,s1921", - "microchip,lan9668", "microchip,lan966"; -}; - -&mdio0 { - phy2: ethernet-phy@3 { - reg = <3>; - interrupts-extended = <&gpio 24 IRQ_TYPE_LEVEL_LOW>; - }; - - phy3: ethernet-phy@4 { - reg = <4>; - interrupts-extended = <&gpio 24 IRQ_TYPE_LEVEL_LOW>; - }; -}; - -&port2 { - phys = <&serdes 2 SERDES6G(0)>; - phy-handle = <&phy2>; - phy-mode = "sgmii"; - managed = "in-band-status"; - status = "okay"; -}; - -&port3 { - phys = <&serdes 3 SERDES6G(1)>; - phy-handle = <&phy3>; - phy-mode = "sgmii"; - managed = "in-band-status"; - status = "okay"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Device Tree file for the Kontron KSwitch D10 MMT 8G + */ + +/dts-v1/; +#include "lan966x-kontron-kswitch-d10-mmt.dtsi" + +/ { + model = "Kontron KSwitch D10 MMT 8G"; + compatible = "kontron,kswitch-d10-mmt-8g", "kontron,s1921", + "microchip,lan9668", "microchip,lan966"; +}; + +&mdio0 { + phy2: ethernet-phy@3 { + reg = <3>; + interrupts-extended = <&gpio 24 IRQ_TYPE_LEVEL_LOW>; + }; + + phy3: ethernet-phy@4 { + reg = <4>; + interrupts-extended = <&gpio 24 IRQ_TYPE_LEVEL_LOW>; + }; +}; + +&port2 { + phys = <&serdes 2 SERDES6G(0)>; + phy-handle = <&phy2>; + phy-mode = "sgmii"; + managed = "in-band-status"; + status = "okay"; +}; + +&port3 { + phys = <&serdes 3 SERDES6G(1)>; + phy-handle = <&phy3>; + phy-mode = "sgmii"; + managed = "in-band-status"; + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/sama5d31ek.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/sama5d31ek.dts index edd337fd87..1f2dfb3127 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/sama5d31ek.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/sama5d31ek.dts @@ -1,52 +1,52 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * sama5d31ek.dts - Device Tree file for SAMA5D31-EK board - * - * Copyright (C) 2013 Atmel, - * 2013 Ludovic Desroches - */ -/dts-v1/; -#include "sama5d31.dtsi" -#include "sama5d3xmb.dtsi" -#include "sama5d3xmb_emac.dtsi" -#include "sama5d3xdm.dtsi" - -/ { - model = "Atmel SAMA5D31-EK"; - compatible = "atmel,sama5d31ek", "atmel,sama5d3xmb", "atmel,sama5d3xcm", "atmel,sama5d31", "atmel,sama5d3", "atmel,sama5"; - - ahb { - apb { - spi0: spi@f0004000 { - status = "okay"; - }; - - ssc0: ssc@f0008000 { - status = "okay"; - }; - - i2c0: i2c@f0014000 { - status = "okay"; - }; - - i2c1: i2c@f0018000 { - status = "okay"; - }; - - macb1: ethernet@f802c000 { - status = "okay"; - }; - }; - }; - - leds { - led-d3 { - label = "d3"; - gpios = <&pioE 24 GPIO_ACTIVE_HIGH>; - }; - }; - - sound { - status = "okay"; - }; -}; +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * sama5d31ek.dts - Device Tree file for SAMA5D31-EK board + * + * Copyright (C) 2013 Atmel, + * 2013 Ludovic Desroches + */ +/dts-v1/; +#include "sama5d31.dtsi" +#include "sama5d3xmb.dtsi" +#include "sama5d3xmb_emac.dtsi" +#include "sama5d3xdm.dtsi" + +/ { + model = "Atmel SAMA5D31-EK"; + compatible = "atmel,sama5d31ek", "atmel,sama5d3xmb", "atmel,sama5d3xcm", "atmel,sama5d31", "atmel,sama5d3", "atmel,sama5"; + + ahb { + apb { + spi0: spi@f0004000 { + status = "okay"; + }; + + ssc0: ssc@f0008000 { + status = "okay"; + }; + + i2c0: i2c@f0014000 { + status = "okay"; + }; + + i2c1: i2c@f0018000 { + status = "okay"; + }; + + macb1: ethernet@f802c000 { + status = "okay"; + }; + }; + }; + + leds { + led-d3 { + label = "d3"; + gpios = <&pioE 24 GPIO_ACTIVE_HIGH>; + }; + }; + + sound { + status = "okay"; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/sama5d33ek.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/sama5d33ek.dts index 82c8c96054..7d4ae16829 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/sama5d33ek.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/sama5d33ek.dts @@ -1,45 +1,45 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * sama5d33ek.dts - Device Tree file for SAMA5D33-EK board - * - * Copyright (C) 2013 Atmel, - * 2013 Ludovic Desroches - */ -/dts-v1/; -#include "sama5d33.dtsi" -#include "sama5d3xmb.dtsi" -#include "sama5d3xmb_gmac.dtsi" -#include "sama5d3xdm.dtsi" - -/ { - model = "Atmel SAMA5D33-EK"; - compatible = "atmel,sama5d33ek", "atmel,sama5d3xmb", "atmel,sama5d3xcm", "atmel,sama5d33", "atmel,sama5d3", "atmel,sama5"; - - ahb { - apb { - spi0: spi@f0004000 { - status = "okay"; - }; - - ssc0: ssc@f0008000 { - status = "okay"; - }; - - i2c0: i2c@f0014000 { - status = "okay"; - }; - - i2c1: i2c@f0018000 { - status = "okay"; - }; - - macb0: ethernet@f0028000 { - status = "okay"; - }; - }; - }; - - sound { - status = "okay"; - }; -}; +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * sama5d33ek.dts - Device Tree file for SAMA5D33-EK board + * + * Copyright (C) 2013 Atmel, + * 2013 Ludovic Desroches + */ +/dts-v1/; +#include "sama5d33.dtsi" +#include "sama5d3xmb.dtsi" +#include "sama5d3xmb_gmac.dtsi" +#include "sama5d3xdm.dtsi" + +/ { + model = "Atmel SAMA5D33-EK"; + compatible = "atmel,sama5d33ek", "atmel,sama5d3xmb", "atmel,sama5d3xcm", "atmel,sama5d33", "atmel,sama5d3", "atmel,sama5"; + + ahb { + apb { + spi0: spi@f0004000 { + status = "okay"; + }; + + ssc0: ssc@f0008000 { + status = "okay"; + }; + + i2c0: i2c@f0014000 { + status = "okay"; + }; + + i2c1: i2c@f0018000 { + status = "okay"; + }; + + macb0: ethernet@f0028000 { + status = "okay"; + }; + }; + }; + + sound { + status = "okay"; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/sama5d36ek.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/sama5d36ek.dts index 18f921e138..26950f9284 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/sama5d36ek.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/sama5d36ek.dts @@ -1,54 +1,54 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * sama5d36ek.dts - Device Tree file for SAMA5D36-EK board - * - * Copyright (C) 2013 Atmel, - * 2013 Josh Wu - */ -/dts-v1/; -#include "sama5d36.dtsi" -#include "sama5d3xmb.dtsi" -#include "sama5d3xdm.dtsi" -#include "sama5d3xmb_emac.dtsi" -#include "sama5d3xmb_gmac.dtsi" - -/ { - model = "Atmel SAMA5D36-EK"; - compatible = "atmel,sama5d36ek", "atmel,sama5d3xmb", "atmel,sama5d3xcm", "atmel,sama5d36", "atmel,sama5d3", "atmel,sama5"; - - ahb { - apb { - spi0: spi@f0004000 { - status = "okay"; - }; - - ssc0: ssc@f0008000 { - status = "okay"; - }; - - can0: can@f000c000 { - status = "okay"; - }; - - i2c0: i2c@f0014000 { - status = "okay"; - }; - - i2c1: i2c@f0018000 { - status = "okay"; - }; - - macb0: ethernet@f0028000 { - status = "okay"; - }; - - macb1: ethernet@f802c000 { - status = "okay"; - }; - }; - }; - - sound { - status = "okay"; - }; -}; +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * sama5d36ek.dts - Device Tree file for SAMA5D36-EK board + * + * Copyright (C) 2013 Atmel, + * 2013 Josh Wu + */ +/dts-v1/; +#include "sama5d36.dtsi" +#include "sama5d3xmb.dtsi" +#include "sama5d3xdm.dtsi" +#include "sama5d3xmb_emac.dtsi" +#include "sama5d3xmb_gmac.dtsi" + +/ { + model = "Atmel SAMA5D36-EK"; + compatible = "atmel,sama5d36ek", "atmel,sama5d3xmb", "atmel,sama5d3xcm", "atmel,sama5d36", "atmel,sama5d3", "atmel,sama5"; + + ahb { + apb { + spi0: spi@f0004000 { + status = "okay"; + }; + + ssc0: ssc@f0008000 { + status = "okay"; + }; + + can0: can@f000c000 { + status = "okay"; + }; + + i2c0: i2c@f0014000 { + status = "okay"; + }; + + i2c1: i2c@f0018000 { + status = "okay"; + }; + + macb0: ethernet@f0028000 { + status = "okay"; + }; + + macb1: ethernet@f802c000 { + status = "okay"; + }; + }; + }; + + sound { + status = "okay"; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/sama5d36ek_cmp.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/sama5d36ek_cmp.dts index ca6c112edc..66695b9a3e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/sama5d36ek_cmp.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/sama5d36ek_cmp.dts @@ -1,50 +1,50 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * sama5d36ek_cmp.dts - Device Tree file for SAMA5D36-EK CMP board - * - * Copyright (C) 2016 Atmel, - */ -/dts-v1/; -#include "sama5d36.dtsi" -#include "sama5d3xmb_cmp.dtsi" - -/ { - model = "Atmel SAMA5D36EK-CMP"; - compatible = "atmel,sama5d36ek-cmp", "atmel,sama5d3xmb-cmp", "atmel,sama5d3xcm-cmp", "atmel,sama5d36", "atmel,sama5d3", "atmel,sama5"; - - ahb { - apb { - spi0: spi@f0004000 { - status = "okay"; - }; - - ssc0: ssc@f0008000 { - status = "okay"; - }; - - can0: can@f000c000 { - status = "okay"; - }; - - i2c0: i2c@f0014000 { - status = "okay"; - }; - - i2c1: i2c@f0018000 { - status = "okay"; - }; - - macb0: ethernet@f0028000 { - status = "okay"; - }; - - macb1: ethernet@f802c000 { - status = "okay"; - }; - }; - }; - - sound { - status = "okay"; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * sama5d36ek_cmp.dts - Device Tree file for SAMA5D36-EK CMP board + * + * Copyright (C) 2016 Atmel, + */ +/dts-v1/; +#include "sama5d36.dtsi" +#include "sama5d3xmb_cmp.dtsi" + +/ { + model = "Atmel SAMA5D36EK-CMP"; + compatible = "atmel,sama5d36ek-cmp", "atmel,sama5d3xmb-cmp", "atmel,sama5d3xcm-cmp", "atmel,sama5d36", "atmel,sama5d3", "atmel,sama5"; + + ahb { + apb { + spi0: spi@f0004000 { + status = "okay"; + }; + + ssc0: ssc@f0008000 { + status = "okay"; + }; + + can0: can@f000c000 { + status = "okay"; + }; + + i2c0: i2c@f0014000 { + status = "okay"; + }; + + i2c1: i2c@f0018000 { + status = "okay"; + }; + + macb0: ethernet@f0028000 { + status = "okay"; + }; + + macb1: ethernet@f802c000 { + status = "okay"; + }; + }; + }; + + sound { + status = "okay"; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/sama5d3_tcb1.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/sama5d3_tcb1.dtsi index d56bcb17c1..2b18c5c2cc 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/sama5d3_tcb1.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/sama5d3_tcb1.dtsi @@ -1,31 +1,31 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * sama5d3_tcb1.dtsi - Device Tree Include file for SAMA5D3 SoC with - * 2 TC blocks. - * - * Copyright (C) 2013 Boris BREZILLON - */ - -#include -#include -#include - -/ { - aliases { - tcb1 = &tcb1; - }; - - ahb { - apb { - tcb1: timer@f8014000 { - compatible = "atmel,at91sam9x5-tcb", "simple-mfd", "syscon"; - #address-cells = <1>; - #size-cells = <0>; - reg = <0xf8014000 0x100>; - interrupts = <27 IRQ_TYPE_LEVEL_HIGH 0>; - clocks = <&pmc PMC_TYPE_PERIPHERAL 27>, <&clk32k>; - clock-names = "t0_clk", "slow_clk"; - }; - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * sama5d3_tcb1.dtsi - Device Tree Include file for SAMA5D3 SoC with + * 2 TC blocks. + * + * Copyright (C) 2013 Boris BREZILLON + */ + +#include +#include +#include + +/ { + aliases { + tcb1 = &tcb1; + }; + + ahb { + apb { + tcb1: timer@f8014000 { + compatible = "atmel,at91sam9x5-tcb", "simple-mfd", "syscon"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0xf8014000 0x100>; + interrupts = <27 IRQ_TYPE_LEVEL_HIGH 0>; + clocks = <&pmc PMC_TYPE_PERIPHERAL 27>, <&clk32k>; + clock-names = "t0_clk", "slow_clk"; + }; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/sama5d3xdm.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/sama5d3xdm.dtsi index fa53de148f..3c1c4d62fb 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/sama5d3xdm.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/sama5d3xdm.dtsi @@ -1,40 +1,40 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * sama5d3dm.dtsi - Device Tree file for SAMA5 display module - * - * Copyright (C) 2013 Atmel, - * 2013 Ludovic Desroches - */ - -/ { - ahb { - apb { - i2c1: i2c@f0018000 { - qt1070: keyboard@1b { - compatible = "qt1070"; - reg = <0x1b>; - interrupt-parent = <&pioE>; - interrupts = <31 0x0>; - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_qt1070_irq>; - wakeup-source; - }; - }; - - adc0: adc@f8018000 { - atmel,adc-ts-wires = <4>; - atmel,adc-ts-pressure-threshold = <10000>; - status = "okay"; - }; - - pinctrl@fffff200 { - board { - pinctrl_qt1070_irq: qt1070_irq { - atmel,pins = - ; /* PE31 GPIO with pull up deglith */ - }; - }; - }; - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * sama5d3dm.dtsi - Device Tree file for SAMA5 display module + * + * Copyright (C) 2013 Atmel, + * 2013 Ludovic Desroches + */ + +/ { + ahb { + apb { + i2c1: i2c@f0018000 { + qt1070: keyboard@1b { + compatible = "qt1070"; + reg = <0x1b>; + interrupt-parent = <&pioE>; + interrupts = <31 0x0>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_qt1070_irq>; + wakeup-source; + }; + }; + + adc0: adc@f8018000 { + atmel,adc-ts-wires = <4>; + atmel,adc-ts-pressure-threshold = <10000>; + status = "okay"; + }; + + pinctrl@fffff200 { + board { + pinctrl_qt1070_irq: qt1070_irq { + atmel,pins = + ; /* PE31 GPIO with pull up deglith */ + }; + }; + }; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/usb_a9260.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/usb_a9260.dts index bb1d030209..66f8da8900 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/usb_a9260.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/usb_a9260.dts @@ -1,31 +1,31 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * usb_a9260.dts - Device Tree file for Caloa USB A9260 board - * - * Copyright (C) 2011-2012 Jean-Christophe PLAGNIOL-VILLARD - */ -/dts-v1/; -#include "at91sam9260.dtsi" -#include "usb_a9260_common.dtsi" - -/ { - model = "Calao USB A9260"; - compatible = "calao,usb-a9260", "atmel,at91sam9260", "atmel,at91sam9"; - - chosen { - bootargs = "mem=64M console=ttyS0,115200 root=/dev/mtdblock5 rw rootfstype=ubifs"; - }; - - memory@20000000 { - reg = <0x20000000 0x4000000>; - }; - - ahb { - apb { - shdwc: poweroff@fffffd10 { - atmel,wakeup-counter = <10>; - atmel,wakeup-rtt-timer; - }; - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * usb_a9260.dts - Device Tree file for Caloa USB A9260 board + * + * Copyright (C) 2011-2012 Jean-Christophe PLAGNIOL-VILLARD + */ +/dts-v1/; +#include "at91sam9260.dtsi" +#include "usb_a9260_common.dtsi" + +/ { + model = "Calao USB A9260"; + compatible = "calao,usb-a9260", "atmel,at91sam9260", "atmel,at91sam9"; + + chosen { + bootargs = "mem=64M console=ttyS0,115200 root=/dev/mtdblock5 rw rootfstype=ubifs"; + }; + + memory@20000000 { + reg = <0x20000000 0x4000000>; + }; + + ahb { + apb { + shdwc: poweroff@fffffd10 { + atmel,wakeup-counter = <10>; + atmel,wakeup-rtt-timer; + }; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/usb_a9g20_lpw.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/usb_a9g20_lpw.dts index c28f5ffae1..f65712015d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/usb_a9g20_lpw.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/usb_a9g20_lpw.dts @@ -1,30 +1,30 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * usb_a9g20_lpw.dts - Device Tree file for Caloa USB A9G20 Low Power board - * - * Copyright (C) 2013 Jean-Christophe PLAGNIOL-VILLARD - */ -/dts-v1/; -#include "usb_a9g20_common.dtsi" - -/ { - model = "Calao USB A9G20 Low Power"; - compatible = "calao,usb-a9g20-lpw", "calao,usb-a9g20", "atmel,at91sam9g20", "atmel,at91sam9"; - - ahb { - apb { - spi1: spi@fffcc000 { - cs-gpios = <&pioB 3 GPIO_ACTIVE_HIGH>; - status = "okay"; - mmc-slot@0 { - compatible = "mmc-spi-slot"; - reg = <0>; - voltage-ranges = <3200 3400>; - spi-max-frequency = <25000000>; - interrupt-parent = <&pioC>; - interrupts = <4 IRQ_TYPE_EDGE_BOTH>; - }; - }; - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * usb_a9g20_lpw.dts - Device Tree file for Caloa USB A9G20 Low Power board + * + * Copyright (C) 2013 Jean-Christophe PLAGNIOL-VILLARD + */ +/dts-v1/; +#include "usb_a9g20_common.dtsi" + +/ { + model = "Calao USB A9G20 Low Power"; + compatible = "calao,usb-a9g20-lpw", "calao,usb-a9g20", "atmel,at91sam9g20", "atmel,at91sam9"; + + ahb { + apb { + spi1: spi@fffcc000 { + cs-gpios = <&pioB 3 GPIO_ACTIVE_HIGH>; + status = "okay"; + mmc-slot@0 { + compatible = "mmc-spi-slot"; + reg = <0>; + voltage-ranges = <3200 3400>; + spi-max-frequency = <25000000>; + interrupt-parent = <&pioC>; + interrupts = <4 IRQ_TYPE_EDGE_BOTH>; + }; + }; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nuvoton/nuvoton-npcm730.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nuvoton/nuvoton-npcm730.dtsi index 8d2dff6b0d..86ec12ec2b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nuvoton/nuvoton-npcm730.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nuvoton/nuvoton-npcm730.dtsi @@ -1,44 +1,44 @@ -// SPDX-License-Identifier: GPL-2.0 -// Copyright (c) 2020 Nuvoton Technology - -#include "nuvoton-common-npcm7xx.dtsi" - -/ { - #address-cells = <1>; - #size-cells = <1>; - interrupt-parent = <&gic>; - - cpus { - #address-cells = <1>; - #size-cells = <0>; - enable-method = "nuvoton,npcm750-smp"; - - cpu@0 { - device_type = "cpu"; - compatible = "arm,cortex-a9"; - clocks = <&clk NPCM7XX_CLK_CPU>; - clock-names = "clk_cpu"; - reg = <0>; - next-level-cache = <&l2>; - }; - - cpu@1 { - device_type = "cpu"; - compatible = "arm,cortex-a9"; - clocks = <&clk NPCM7XX_CLK_CPU>; - clock-names = "clk_cpu"; - reg = <1>; - next-level-cache = <&l2>; - }; - }; - - soc { - timer@3fe600 { - compatible = "arm,cortex-a9-twd-timer"; - reg = <0x3fe600 0x20>; - interrupts = ; - clocks = <&clk NPCM7XX_CLK_AHB>; - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0 +// Copyright (c) 2020 Nuvoton Technology + +#include "nuvoton-common-npcm7xx.dtsi" + +/ { + #address-cells = <1>; + #size-cells = <1>; + interrupt-parent = <&gic>; + + cpus { + #address-cells = <1>; + #size-cells = <0>; + enable-method = "nuvoton,npcm750-smp"; + + cpu@0 { + device_type = "cpu"; + compatible = "arm,cortex-a9"; + clocks = <&clk NPCM7XX_CLK_CPU>; + clock-names = "clk_cpu"; + reg = <0>; + next-level-cache = <&l2>; + }; + + cpu@1 { + device_type = "cpu"; + compatible = "arm,cortex-a9"; + clocks = <&clk NPCM7XX_CLK_CPU>; + clock-names = "clk_cpu"; + reg = <1>; + next-level-cache = <&l2>; + }; + }; + + soc { + timer@3fe600 { + compatible = "arm,cortex-a9-twd-timer"; + reg = <0x3fe600 0x20>; + interrupts = ; + clocks = <&clk NPCM7XX_CLK_AHB>; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx25-eukrea-mbimxsd25-baseboard-dvi-svga.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx25-eukrea-mbimxsd25-baseboard-dvi-svga.dts index 747570c72d..64b2ffac46 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx25-eukrea-mbimxsd25-baseboard-dvi-svga.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx25-eukrea-mbimxsd25-baseboard-dvi-svga.dts @@ -1,37 +1,37 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Copyright 2013 Eukréa Electromatique - */ - -#include "imx25-eukrea-mbimxsd25-baseboard.dts" - -/ { - model = "Eukrea MBIMXSD25 with the DVI-SVGA Display"; - compatible = "eukrea,mbimxsd25-baseboard-dvi-svga", "eukrea,mbimxsd25-baseboard", "eukrea,cpuimx25", "fsl,imx25"; - - dvi_svga: display { - model = "DVI-SVGA"; - bits-per-pixel = <16>; - fsl,pcr = <0xfa208b80>; - bus-width = <18>; - display-timings { - native-mode = <&dvi_svga_timings>; - dvi_svga_timings: timing0 { - clock-frequency = <40000000>; - hactive = <800>; - vactive = <600>; - hback-porch = <75>; - hfront-porch = <75>; - vback-porch = <7>; - vfront-porch = <75>; - hsync-len = <7>; - vsync-len = <7>; - }; - }; - }; -}; - -&lcdc { - display = <&dvi_svga>; - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Copyright 2013 Eukréa Electromatique + */ + +#include "imx25-eukrea-mbimxsd25-baseboard.dts" + +/ { + model = "Eukrea MBIMXSD25 with the DVI-SVGA Display"; + compatible = "eukrea,mbimxsd25-baseboard-dvi-svga", "eukrea,mbimxsd25-baseboard", "eukrea,cpuimx25", "fsl,imx25"; + + dvi_svga: display { + model = "DVI-SVGA"; + bits-per-pixel = <16>; + fsl,pcr = <0xfa208b80>; + bus-width = <18>; + display-timings { + native-mode = <&dvi_svga_timings>; + dvi_svga_timings: timing0 { + clock-frequency = <40000000>; + hactive = <800>; + vactive = <600>; + hback-porch = <75>; + hfront-porch = <75>; + vback-porch = <7>; + vfront-porch = <75>; + hsync-len = <7>; + vsync-len = <7>; + }; + }; + }; +}; + +&lcdc { + display = <&dvi_svga>; + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx25-eukrea-mbimxsd25-baseboard-dvi-vga.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx25-eukrea-mbimxsd25-baseboard-dvi-vga.dts index 75e352870a..fb074bfdaa 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx25-eukrea-mbimxsd25-baseboard-dvi-vga.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx25-eukrea-mbimxsd25-baseboard-dvi-vga.dts @@ -1,37 +1,37 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Copyright 2013 Eukréa Electromatique - */ - -#include "imx25-eukrea-mbimxsd25-baseboard.dts" - -/ { - model = "Eukrea MBIMXSD25 with the DVI-VGA Display"; - compatible = "eukrea,mbimxsd25-baseboard-dvi-vga", "eukrea,mbimxsd25-baseboard", "eukrea,cpuimx25", "fsl,imx25"; - - dvi_vga: display { - model = "DVI-VGA"; - bits-per-pixel = <16>; - fsl,pcr = <0xfa208b80>; - bus-width = <18>; - display-timings { - native-mode = <&dvi_vga_timings>; - dvi_vga_timings: timing0 { - clock-frequency = <31250000>; - hactive = <640>; - vactive = <480>; - hback-porch = <100>; - hfront-porch = <100>; - vback-porch = <7>; - vfront-porch = <100>; - hsync-len = <7>; - vsync-len = <7>; - }; - }; - }; -}; - -&lcdc { - display = <&dvi_vga>; - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Copyright 2013 Eukréa Electromatique + */ + +#include "imx25-eukrea-mbimxsd25-baseboard.dts" + +/ { + model = "Eukrea MBIMXSD25 with the DVI-VGA Display"; + compatible = "eukrea,mbimxsd25-baseboard-dvi-vga", "eukrea,mbimxsd25-baseboard", "eukrea,cpuimx25", "fsl,imx25"; + + dvi_vga: display { + model = "DVI-VGA"; + bits-per-pixel = <16>; + fsl,pcr = <0xfa208b80>; + bus-width = <18>; + display-timings { + native-mode = <&dvi_vga_timings>; + dvi_vga_timings: timing0 { + clock-frequency = <31250000>; + hactive = <640>; + vactive = <480>; + hback-porch = <100>; + hfront-porch = <100>; + vback-porch = <7>; + vfront-porch = <100>; + hsync-len = <7>; + vsync-len = <7>; + }; + }; + }; +}; + +&lcdc { + display = <&dvi_vga>; + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx53-kp-hsc.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx53-kp-hsc.dts index e549c2c63e..6e3d71baac 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx53-kp-hsc.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx53-kp-hsc.dts @@ -1,52 +1,52 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright 2018 - * Lukasz Majewski, DENX Software Engineering, lukma@denx.de - */ - -/dts-v1/; -#include "imx53-kp.dtsi" - -/ { - model = "K+P imx53 HSC"; - compatible = "kiebackpeter,imx53-hsc", "fsl,imx53"; -}; - -&fec { - status = "okay"; - - fixed-link { /* RMII fixed link to LAN9303 */ - speed = <100>; - full-duplex; - }; -}; - -&i2c3 { - switch: switch@a { - compatible = "smsc,lan9303-i2c"; - reg = <0xa>; - reset-gpios = <&gpio7 6 GPIO_ACTIVE_LOW>; - reset-duration = <400>; - - ports { - #address-cells = <1>; - #size-cells = <0>; - - port@0 { /* RMII fixed link to master */ - reg = <0>; - label = "cpu"; - ethernet = <&fec>; - }; - - port@1 { /* external port 1 */ - reg = <1>; - label = "lan1"; - }; - - port@2 { /* external port 2 */ - reg = <2>; - label = "lan2"; - }; - }; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright 2018 + * Lukasz Majewski, DENX Software Engineering, lukma@denx.de + */ + +/dts-v1/; +#include "imx53-kp.dtsi" + +/ { + model = "K+P imx53 HSC"; + compatible = "kiebackpeter,imx53-hsc", "fsl,imx53"; +}; + +&fec { + status = "okay"; + + fixed-link { /* RMII fixed link to LAN9303 */ + speed = <100>; + full-duplex; + }; +}; + +&i2c3 { + switch: switch@a { + compatible = "smsc,lan9303-i2c"; + reg = <0xa>; + reset-gpios = <&gpio7 6 GPIO_ACTIVE_LOW>; + reset-duration = <400>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { /* RMII fixed link to master */ + reg = <0>; + label = "cpu"; + ethernet = <&fec>; + }; + + port@1 { /* external port 1 */ + reg = <1>; + label = "lan1"; + }; + + port@2 { /* external port 2 */ + reg = <2>; + label = "lan2"; + }; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx53-sk-imx53-atm0700d4.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx53-sk-imx53-atm0700d4.dtsi index 34940d1204..e395004e80 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx53-sk-imx53-atm0700d4.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx53-sk-imx53-atm0700d4.dtsi @@ -1,45 +1,45 @@ -// SPDX-License-Identifier: GPL-2.0+ -// -// Copyright 2023 Linaro Ltd. - -/dts-v1/; - -#include -#include "imx53-sk-imx53.dts" - -/ { - panel: panel-rgb { - compatible = "powertip,ph800480t013-idf02"; - - port { - panel_rgb_in: endpoint { - }; - }; - }; - - spi_ts: spi { - compatible = "spi-gpio"; - #address-cells = <0x1>; - #size-cells = <0x0>; - - num-chipselects = <1>; - - touchscreen: touchscreen@0 { - reg = <0>; - compatible = "ti,ads7843"; - spi-max-frequency = <300000>; - - ti,vref-mv = /bits/ 16 <3300>; - ti,x-plate-ohms = /bits/ 16 <450>; - ti,y-plate-ohms = /bits/ 16 <250>; - ti,debounce-tol = /bits/ 16 <10>; - ti,debounce-rep = /bits/ 16 <0>; - touchscreen-size-x = <4096>; - touchscreen-size-y = <4096>; - touchscreen-swapped-x-y; - touchscreen-max-pressure = <100>; - - wakeup-source; - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0+ +// +// Copyright 2023 Linaro Ltd. + +/dts-v1/; + +#include +#include "imx53-sk-imx53.dts" + +/ { + panel: panel-rgb { + compatible = "powertip,ph800480t013-idf02"; + + port { + panel_rgb_in: endpoint { + }; + }; + }; + + spi_ts: spi { + compatible = "spi-gpio"; + #address-cells = <0x1>; + #size-cells = <0x0>; + + num-chipselects = <1>; + + touchscreen: touchscreen@0 { + reg = <0>; + compatible = "ti,ads7843"; + spi-max-frequency = <300000>; + + ti,vref-mv = /bits/ 16 <3300>; + ti,x-plate-ohms = /bits/ 16 <450>; + ti,y-plate-ohms = /bits/ 16 <250>; + ti,debounce-tol = /bits/ 16 <10>; + ti,debounce-rep = /bits/ 16 <0>; + touchscreen-size-x = <4096>; + touchscreen-size-y = <4096>; + touchscreen-swapped-x-y; + touchscreen-max-pressure = <100>; + + wakeup-source; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-b105pv2.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-b105pv2.dts index a98d6b3d3e..63cdf24eb3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-b105pv2.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-b105pv2.dts @@ -1,32 +1,32 @@ -// SPDX-License-Identifier: GPL-2.0 OR MIT -// -// Device Tree Source for General Electric B105Pv2 -// -// Copyright 2018-2021 General Electric Company -// Copyright 2018-2021 Collabora - -/dts-v1/; -#include "imx6dl-b1x5pv2.dtsi" - -/ { - model = "General Electric B105Pv2"; - compatible = "ge,imx6dl-b105pv2", "congatec,qmx6", "fsl,imx6dl"; - - panel { - compatible = "auo,g101evn010"; - }; -}; - -&i2c3 { - touchscreen@41 { - compatible = "ilitek,ili251x"; - reg = <0x41>; - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_q7_gpio0>; - interrupt-parent = <&gpio5>; - interrupts = <2 IRQ_TYPE_EDGE_FALLING>; - reset-gpios = <&tca6424a 21 GPIO_ACTIVE_LOW>; - touchscreen-size-x = <1280>; - touchscreen-size-y = <800>; - }; -}; +// SPDX-License-Identifier: GPL-2.0 OR MIT +// +// Device Tree Source for General Electric B105Pv2 +// +// Copyright 2018-2021 General Electric Company +// Copyright 2018-2021 Collabora + +/dts-v1/; +#include "imx6dl-b1x5pv2.dtsi" + +/ { + model = "General Electric B105Pv2"; + compatible = "ge,imx6dl-b105pv2", "congatec,qmx6", "fsl,imx6dl"; + + panel { + compatible = "auo,g101evn010"; + }; +}; + +&i2c3 { + touchscreen@41 { + compatible = "ilitek,ili251x"; + reg = <0x41>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_q7_gpio0>; + interrupt-parent = <&gpio5>; + interrupts = <2 IRQ_TYPE_EDGE_FALLING>; + reset-gpios = <&tca6424a 21 GPIO_ACTIVE_LOW>; + touchscreen-size-x = <1280>; + touchscreen-size-y = <800>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-b105v2.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-b105v2.dts index 37f754a58c..2e75d700ef 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-b105v2.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-b105v2.dts @@ -1,32 +1,32 @@ -// SPDX-License-Identifier: GPL-2.0 OR MIT -// -// Device Tree Source for General Electric B105v2 -// -// Copyright 2018-2021 General Electric Company -// Copyright 2018-2021 Collabora - -/dts-v1/; -#include "imx6dl-b1x5v2.dtsi" - -/ { - model = "General Electric B105v2"; - compatible = "ge,imx6dl-b105v2", "congatec,qmx6", "fsl,imx6dl"; - - panel { - compatible = "auo,g101evn010"; - }; -}; - -&i2c3 { - touchscreen@41 { - compatible = "ilitek,ili251x"; - reg = <0x41>; - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_q7_gpio0>; - interrupt-parent = <&gpio5>; - interrupts = <2 IRQ_TYPE_EDGE_FALLING>; - reset-gpios = <&tca6424a 21 GPIO_ACTIVE_LOW>; - touchscreen-size-x = <1280>; - touchscreen-size-y = <800>; - }; -}; +// SPDX-License-Identifier: GPL-2.0 OR MIT +// +// Device Tree Source for General Electric B105v2 +// +// Copyright 2018-2021 General Electric Company +// Copyright 2018-2021 Collabora + +/dts-v1/; +#include "imx6dl-b1x5v2.dtsi" + +/ { + model = "General Electric B105v2"; + compatible = "ge,imx6dl-b105v2", "congatec,qmx6", "fsl,imx6dl"; + + panel { + compatible = "auo,g101evn010"; + }; +}; + +&i2c3 { + touchscreen@41 { + compatible = "ilitek,ili251x"; + reg = <0x41>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_q7_gpio0>; + interrupt-parent = <&gpio5>; + interrupts = <2 IRQ_TYPE_EDGE_FALLING>; + reset-gpios = <&tca6424a 21 GPIO_ACTIVE_LOW>; + touchscreen-size-x = <1280>; + touchscreen-size-y = <800>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-b125pv2.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-b125pv2.dts index 6cf1e303f0..94625d5d59 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-b125pv2.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-b125pv2.dts @@ -1,30 +1,30 @@ -// SPDX-License-Identifier: GPL-2.0 OR MIT -// -// Device Tree Source for General Electric B125Pv2 -// -// Copyright 2018-2021 General Electric Company -// Copyright 2018-2021 Collabora - -/dts-v1/; -#include "imx6dl-b1x5pv2.dtsi" - -/ { - model = "General Electric B125Pv2"; - compatible = "ge,imx6dl-b125pv2", "congatec,qmx6", "fsl,imx6dl"; - - panel { - compatible = "auo,g121ean01"; - }; -}; - -&i2c3 { - touchscreen@2a { - compatible = "eeti,exc80h60"; - reg = <0x2a>; - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_q7_gpio0>; - interrupt-parent = <&gpio5>; - interrupts = <2 IRQ_TYPE_LEVEL_LOW>; - reset-gpios = <&tca6424a 21 GPIO_ACTIVE_HIGH>; - }; -}; +// SPDX-License-Identifier: GPL-2.0 OR MIT +// +// Device Tree Source for General Electric B125Pv2 +// +// Copyright 2018-2021 General Electric Company +// Copyright 2018-2021 Collabora + +/dts-v1/; +#include "imx6dl-b1x5pv2.dtsi" + +/ { + model = "General Electric B125Pv2"; + compatible = "ge,imx6dl-b125pv2", "congatec,qmx6", "fsl,imx6dl"; + + panel { + compatible = "auo,g121ean01"; + }; +}; + +&i2c3 { + touchscreen@2a { + compatible = "eeti,exc80h60"; + reg = <0x2a>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_q7_gpio0>; + interrupt-parent = <&gpio5>; + interrupts = <2 IRQ_TYPE_LEVEL_LOW>; + reset-gpios = <&tca6424a 21 GPIO_ACTIVE_HIGH>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-b125v2.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-b125v2.dts index caa8dccce1..b3cfa8110a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-b125v2.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-b125v2.dts @@ -1,30 +1,30 @@ -// SPDX-License-Identifier: GPL-2.0 OR MIT -// -// Device Tree Source for General Electric B125v2 -// -// Copyright 2018-2021 General Electric Company -// Copyright 2018-2021 Collabora - -/dts-v1/; -#include "imx6dl-b1x5v2.dtsi" - -/ { - model = "General Electric B125v2"; - compatible = "ge,imx6dl-b125v2", "congatec,qmx6", "fsl,imx6dl"; - - panel { - compatible = "auo,g121ean01"; - }; -}; - -&i2c3 { - touchscreen@2a { - compatible = "eeti,exc80h60"; - reg = <0x2a>; - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_q7_gpio0>; - interrupt-parent = <&gpio5>; - interrupts = <2 IRQ_TYPE_LEVEL_LOW>; - reset-gpios = <&tca6424a 21 GPIO_ACTIVE_HIGH>; - }; -}; +// SPDX-License-Identifier: GPL-2.0 OR MIT +// +// Device Tree Source for General Electric B125v2 +// +// Copyright 2018-2021 General Electric Company +// Copyright 2018-2021 Collabora + +/dts-v1/; +#include "imx6dl-b1x5v2.dtsi" + +/ { + model = "General Electric B125v2"; + compatible = "ge,imx6dl-b125v2", "congatec,qmx6", "fsl,imx6dl"; + + panel { + compatible = "auo,g121ean01"; + }; +}; + +&i2c3 { + touchscreen@2a { + compatible = "eeti,exc80h60"; + reg = <0x2a>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_q7_gpio0>; + interrupt-parent = <&gpio5>; + interrupts = <2 IRQ_TYPE_LEVEL_LOW>; + reset-gpios = <&tca6424a 21 GPIO_ACTIVE_HIGH>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-b155v2.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-b155v2.dts index 4b7acf955d..7edc788bcb 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-b155v2.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-b155v2.dts @@ -1,32 +1,32 @@ -// SPDX-License-Identifier: GPL-2.0 OR MIT -// -// Device Tree Source for General Electric B155v2 -// -// Copyright 2018-2021 General Electric Company -// Copyright 2018-2021 Collabora - -/dts-v1/; -#include "imx6dl-b1x5v2.dtsi" - -/ { - model = "General Electric B155v2"; - compatible = "ge,imx6dl-b155v2", "congatec,qmx6", "fsl,imx6dl"; - - panel { - compatible = "auo,g156xtn01"; - }; -}; - -&i2c3 { - touchscreen@2a { - compatible = "eeti,exc80h84"; - reg = <0x2a>; - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_q7_gpio0>; - interrupt-parent = <&gpio5>; - interrupts = <2 IRQ_TYPE_LEVEL_LOW>; - touchscreen-inverted-x; - touchscreen-inverted-y; - reset-gpios = <&tca6424a 21 GPIO_ACTIVE_HIGH>; - }; -}; +// SPDX-License-Identifier: GPL-2.0 OR MIT +// +// Device Tree Source for General Electric B155v2 +// +// Copyright 2018-2021 General Electric Company +// Copyright 2018-2021 Collabora + +/dts-v1/; +#include "imx6dl-b1x5v2.dtsi" + +/ { + model = "General Electric B155v2"; + compatible = "ge,imx6dl-b155v2", "congatec,qmx6", "fsl,imx6dl"; + + panel { + compatible = "auo,g156xtn01"; + }; +}; + +&i2c3 { + touchscreen@2a { + compatible = "eeti,exc80h84"; + reg = <0x2a>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_q7_gpio0>; + interrupt-parent = <&gpio5>; + interrupts = <2 IRQ_TYPE_LEVEL_LOW>; + touchscreen-inverted-x; + touchscreen-inverted-y; + reset-gpios = <&tca6424a 21 GPIO_ACTIVE_HIGH>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-yapp4-draco.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-yapp4-draco.dts index 9e6fb285fe..a38c407fd8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-yapp4-draco.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-yapp4-draco.dts @@ -1,58 +1,58 @@ -// SPDX-License-Identifier: GPL-2.0 -// -// Copyright (C) 2015-2018 Y Soft Corporation, a.s. - -/dts-v1/; - -#include "imx6dl.dtsi" -#include "imx6dl-yapp4-common.dtsi" - -/ { - model = "Y Soft IOTA Draco i.MX6Solo board"; - compatible = "ysoft,imx6dl-yapp4-draco", "fsl,imx6dl"; - - memory@10000000 { - device_type = "memory"; - reg = <0x10000000 0x20000000>; - }; -}; - -&backlight { - status = "okay"; -}; - -&lcd_display { - status = "okay"; -}; - -&leds { - status = "okay"; -}; - -&panel { - status = "okay"; -}; - -&pwm1 { - status = "okay"; -}; - -®_usb_h1_vbus { - status = "okay"; -}; - -&touchscreen { - status = "okay"; -}; - -&usbh1 { - status = "okay"; -}; - -&usbphy2 { - status = "okay"; -}; - -&usdhc3 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 +// +// Copyright (C) 2015-2018 Y Soft Corporation, a.s. + +/dts-v1/; + +#include "imx6dl.dtsi" +#include "imx6dl-yapp4-common.dtsi" + +/ { + model = "Y Soft IOTA Draco i.MX6Solo board"; + compatible = "ysoft,imx6dl-yapp4-draco", "fsl,imx6dl"; + + memory@10000000 { + device_type = "memory"; + reg = <0x10000000 0x20000000>; + }; +}; + +&backlight { + status = "okay"; +}; + +&lcd_display { + status = "okay"; +}; + +&leds { + status = "okay"; +}; + +&panel { + status = "okay"; +}; + +&pwm1 { + status = "okay"; +}; + +®_usb_h1_vbus { + status = "okay"; +}; + +&touchscreen { + status = "okay"; +}; + +&usbh1 { + status = "okay"; +}; + +&usbphy2 { + status = "okay"; +}; + +&usdhc3 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-yapp4-hydra.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-yapp4-hydra.dts index 46c8ba160f..a19609c7c7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-yapp4-hydra.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-yapp4-hydra.dts @@ -1,54 +1,54 @@ -// SPDX-License-Identifier: GPL-2.0 -// -// Copyright (C) 2015-2018 Y Soft Corporation, a.s. - -/dts-v1/; - -#include "imx6dl.dtsi" -#include "imx6dl-yapp4-common.dtsi" - -/ { - model = "Y Soft IOTA Hydra i.MX6DualLite board"; - compatible = "ysoft,imx6dl-yapp4-hydra", "fsl,imx6dl"; - - memory@10000000 { - device_type = "memory"; - reg = <0x10000000 0x80000000>; - }; -}; - -&gpio_oled { - status = "okay"; -}; - -&hdmi { - status = "okay"; -}; - -&leds { - status = "okay"; -}; - -&oled_1305 { - status = "okay"; -}; - -&oled_1309 { - status = "okay"; -}; - -&pcie { - status = "okay"; -}; - -®_pcie { - status = "okay"; -}; - -&touchkeys { - status = "okay"; -}; - -&usdhc3 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 +// +// Copyright (C) 2015-2018 Y Soft Corporation, a.s. + +/dts-v1/; + +#include "imx6dl.dtsi" +#include "imx6dl-yapp4-common.dtsi" + +/ { + model = "Y Soft IOTA Hydra i.MX6DualLite board"; + compatible = "ysoft,imx6dl-yapp4-hydra", "fsl,imx6dl"; + + memory@10000000 { + device_type = "memory"; + reg = <0x10000000 0x80000000>; + }; +}; + +&gpio_oled { + status = "okay"; +}; + +&hdmi { + status = "okay"; +}; + +&leds { + status = "okay"; +}; + +&oled_1305 { + status = "okay"; +}; + +&oled_1309 { + status = "okay"; +}; + +&pcie { + status = "okay"; +}; + +®_pcie { + status = "okay"; +}; + +&touchkeys { + status = "okay"; +}; + +&usdhc3 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-yapp4-lynx.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-yapp4-lynx.dts index bd47fcc412..5c2cd51758 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-yapp4-lynx.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-yapp4-lynx.dts @@ -1,58 +1,58 @@ -// 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 Lynx i.MX6DualLite board"; - compatible = "ysoft,imx6dl-yapp4-lynx", "fsl,imx6dl"; - - memory@10000000 { - device_type = "memory"; - reg = <0x10000000 0x40000000>; - }; -}; - -&backlight { - status = "okay"; -}; - -&lcd_display { - status = "okay"; -}; - -&leds { - status = "okay"; -}; - -&panel { - status = "okay"; -}; - -&pwm1 { - status = "okay"; -}; - -®_usb_h1_vbus { - status = "okay"; -}; - -&touchscreen { - status = "okay"; -}; - -&uart2 { - status = "okay"; -}; - -&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 Lynx i.MX6DualLite board"; + compatible = "ysoft,imx6dl-yapp4-lynx", "fsl,imx6dl"; + + memory@10000000 { + device_type = "memory"; + reg = <0x10000000 0x40000000>; + }; +}; + +&backlight { + status = "okay"; +}; + +&lcd_display { + status = "okay"; +}; + +&leds { + status = "okay"; +}; + +&panel { + status = "okay"; +}; + +&pwm1 { + status = "okay"; +}; + +®_usb_h1_vbus { + status = "okay"; +}; + +&touchscreen { + status = "okay"; +}; + +&uart2 { + status = "okay"; +}; + +&usbh1 { + status = "okay"; +}; + +&usbphy2 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-yapp4-orion.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-yapp4-orion.dts index 30387a30d6..884b236746 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-yapp4-orion.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-yapp4-orion.dts @@ -1,54 +1,54 @@ -// SPDX-License-Identifier: GPL-2.0 -// -// Copyright (C) 2020 Y Soft Corporation, a.s. - -/dts-v1/; - -#include "imx6dl.dtsi" -#include "imx6dl-yapp4-common.dtsi" - -/ { - model = "Y Soft IOTA Orion i.MX6DualLite board"; - compatible = "ysoft,imx6dl-yapp4-orion", "fsl,imx6dl"; - - memory@10000000 { - device_type = "memory"; - reg = <0x10000000 0xf0000000>; - }; -}; - -&gpio_oled { - status = "okay"; -}; - -&leds { - status = "okay"; -}; - -&oled_1305 { - status = "okay"; -}; - -&oled_1309 { - status = "okay"; -}; - -®_usb_h1_vbus { - status = "okay"; -}; - -&touchkeys { - status = "okay"; -}; - -&uart2 { - status = "disabled"; -}; - -&usbh1 { - status = "okay"; -}; - -&usbphy2 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 +// +// Copyright (C) 2020 Y Soft Corporation, a.s. + +/dts-v1/; + +#include "imx6dl.dtsi" +#include "imx6dl-yapp4-common.dtsi" + +/ { + model = "Y Soft IOTA Orion i.MX6DualLite board"; + compatible = "ysoft,imx6dl-yapp4-orion", "fsl,imx6dl"; + + memory@10000000 { + device_type = "memory"; + reg = <0x10000000 0xf0000000>; + }; +}; + +&gpio_oled { + status = "okay"; +}; + +&leds { + status = "okay"; +}; + +&oled_1305 { + status = "okay"; +}; + +&oled_1309 { + status = "okay"; +}; + +®_usb_h1_vbus { + status = "okay"; +}; + +&touchkeys { + status = "okay"; +}; + +&uart2 { + status = "disabled"; +}; + +&usbh1 { + status = "okay"; +}; + +&usbphy2 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-yapp4-ursa.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-yapp4-ursa.dts index 6fccb433bb..f6ae24efd4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-yapp4-ursa.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-yapp4-ursa.dts @@ -1,58 +1,58 @@ -// SPDX-License-Identifier: GPL-2.0 -// -// Copyright (C) 2015-2018 Y Soft Corporation, a.s. - -/dts-v1/; - -#include "imx6dl.dtsi" -#include "imx6dl-yapp4-common.dtsi" - -/ { - model = "Y Soft IOTA Ursa i.MX6Solo board"; - compatible = "ysoft,imx6dl-yapp4-ursa", "fsl,imx6dl"; - - memory@10000000 { - device_type = "memory"; - reg = <0x10000000 0x20000000>; - }; -}; - -&aliases { - /delete-property/ ethernet1; -}; - -&backlight { - status = "okay"; -}; - -&lcd_display { - status = "okay"; -}; - -&panel { - status = "okay"; -}; - -&pwm1 { - status = "okay"; -}; - -®_usb_h1_vbus { - status = "okay"; -}; - -&switch_ports { - /delete-node/ port@3; -}; - -&touchscreen { - status = "okay"; -}; - -&usbh1 { - status = "okay"; -}; - -&usbphy2 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 +// +// Copyright (C) 2015-2018 Y Soft Corporation, a.s. + +/dts-v1/; + +#include "imx6dl.dtsi" +#include "imx6dl-yapp4-common.dtsi" + +/ { + model = "Y Soft IOTA Ursa i.MX6Solo board"; + compatible = "ysoft,imx6dl-yapp4-ursa", "fsl,imx6dl"; + + memory@10000000 { + device_type = "memory"; + reg = <0x10000000 0x20000000>; + }; +}; + +&aliases { + /delete-property/ ethernet1; +}; + +&backlight { + status = "okay"; +}; + +&lcd_display { + status = "okay"; +}; + +&panel { + status = "okay"; +}; + +&pwm1 { + status = "okay"; +}; + +®_usb_h1_vbus { + status = "okay"; +}; + +&switch_ports { + /delete-node/ port@3; +}; + +&touchscreen { + status = "okay"; +}; + +&usbh1 { + status = "okay"; +}; + +&usbphy2 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-apalis-ixora-v1.1.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-apalis-ixora-v1.1.dts index 21f24dffc6..44637d606e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-apalis-ixora-v1.1.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-apalis-ixora-v1.1.dts @@ -1,37 +1,37 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2014-2022 Toradex - * Copyright 2012 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - */ - -#include "imx6q-apalis-ixora-v1.2.dts" - -/ { - model = "Toradex Apalis iMX6Q/D Module on Ixora Carrier Board V1.1"; - compatible = "toradex,apalis_imx6q-ixora-v1.1", "toradex,apalis_imx6q", - "fsl,imx6q"; - - -}; - -/delete-node/ &eeprom; -/delete-node/ ®_3v3_vmmc; -/delete-node/ ®_can1_supply; -/delete-node/ ®_can2_supply; - -&can1 { - /delete-property/ xceiver-supply; -}; - -&can2 { - /delete-property/ xceiver-supply; -}; - -/* MMC1 */ -&usdhc1 { - /delete-property/ cap-power-off-card; - /delete-property/ pinctrl-1; - /delete-property/ vmmc-supply; - pinctrl-names = "default"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2014-2022 Toradex + * Copyright 2012 Freescale Semiconductor, Inc. + * Copyright 2011 Linaro Ltd. + */ + +#include "imx6q-apalis-ixora-v1.2.dts" + +/ { + model = "Toradex Apalis iMX6Q/D Module on Ixora Carrier Board V1.1"; + compatible = "toradex,apalis_imx6q-ixora-v1.1", "toradex,apalis_imx6q", + "fsl,imx6q"; + + +}; + +/delete-node/ &eeprom; +/delete-node/ ®_3v3_vmmc; +/delete-node/ ®_can1_supply; +/delete-node/ ®_can2_supply; + +&can1 { + /delete-property/ xceiver-supply; +}; + +&can2 { + /delete-property/ xceiver-supply; +}; + +/* MMC1 */ +&usdhc1 { + /delete-property/ cap-power-off-card; + /delete-property/ pinctrl-1; + /delete-property/ vmmc-supply; + pinctrl-names = "default"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-icore-ofcap10.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-icore-ofcap10.dts index 09b73e1e52..02aca1e28c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-icore-ofcap10.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-icore-ofcap10.dts @@ -1,44 +1,44 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (C) 2016 Amarula Solutions B.V. - * Copyright (C) 2016 Engicam S.r.l. - */ - -/dts-v1/; - -#include "imx6q.dtsi" -#include "imx6qdl-icore.dtsi" - -/ { - model = "Engicam i.CoreM6 Quad/Dual OpenFrame Capacitive touch 10.1 Kit"; - compatible = "engicam,imx6-icore", "fsl,imx6q"; - - panel { - compatible = "ampire,am-1280800n3tzqw-t00h"; - backlight = <&backlight_lvds>; - - port { - panel_in: endpoint { - remote-endpoint = <&lvds0_out>; - }; - }; - }; -}; - -&ldb { - status = "okay"; - - lvds-channel@0 { - fsl,data-mapping = "spwg"; - fsl,data-width = <24>; - status = "okay"; - - port@4 { - reg = <4>; - - lvds0_out: endpoint { - remote-endpoint = <&panel_in>; - }; - }; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (C) 2016 Amarula Solutions B.V. + * Copyright (C) 2016 Engicam S.r.l. + */ + +/dts-v1/; + +#include "imx6q.dtsi" +#include "imx6qdl-icore.dtsi" + +/ { + model = "Engicam i.CoreM6 Quad/Dual OpenFrame Capacitive touch 10.1 Kit"; + compatible = "engicam,imx6-icore", "fsl,imx6q"; + + panel { + compatible = "ampire,am-1280800n3tzqw-t00h"; + backlight = <&backlight_lvds>; + + port { + panel_in: endpoint { + remote-endpoint = <&lvds0_out>; + }; + }; + }; +}; + +&ldb { + status = "okay"; + + lvds-channel@0 { + fsl,data-mapping = "spwg"; + fsl,data-width = <24>; + status = "okay"; + + port@4 { + reg = <4>; + + lvds0_out: endpoint { + remote-endpoint = <&panel_in>; + }; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-icore-ofcap12.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-icore-ofcap12.dts index 4e3bcd971b..241811c52b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-icore-ofcap12.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-icore-ofcap12.dts @@ -1,43 +1,43 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (C) 2016 Amarula Solutions B.V. - * Copyright (C) 2016 Engicam S.r.l. - */ - -/dts-v1/; - -#include "imx6q.dtsi" -#include "imx6qdl-icore.dtsi" - -/ { - model = "Engicam i.CoreM6 Quad/Dual OpenFrame Capacitive touch 12 Kit"; - compatible = "engicam,imx6-icore", "fsl,imx6q"; - - panel { - compatible = "koe,tx31d200vm0baa"; - backlight = <&backlight_lvds>; - - port { - panel_in: endpoint { - remote-endpoint = <&lvds0_out>; - }; - }; - }; -}; - -&ldb { - status = "okay"; - - lvds-channel@0 { - reg = <0>; - status = "okay"; - - port@4 { - reg = <4>; - - lvds0_out: endpoint { - remote-endpoint = <&panel_in>; - }; - }; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (C) 2016 Amarula Solutions B.V. + * Copyright (C) 2016 Engicam S.r.l. + */ + +/dts-v1/; + +#include "imx6q.dtsi" +#include "imx6qdl-icore.dtsi" + +/ { + model = "Engicam i.CoreM6 Quad/Dual OpenFrame Capacitive touch 12 Kit"; + compatible = "engicam,imx6-icore", "fsl,imx6q"; + + panel { + compatible = "koe,tx31d200vm0baa"; + backlight = <&backlight_lvds>; + + port { + panel_in: endpoint { + remote-endpoint = <&lvds0_out>; + }; + }; + }; +}; + +&ldb { + status = "okay"; + + lvds-channel@0 { + reg = <0>; + status = "okay"; + + port@4 { + reg = <4>; + + lvds0_out: endpoint { + remote-endpoint = <&panel_in>; + }; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-mba6.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-mba6.dtsi index fb1b5be59e..0d7be45672 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-mba6.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-mba6.dtsi @@ -1,44 +1,44 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright 2013 Sascha Hauer, Pengutronix - * - * Copyright 2013-2021 TQ-Systems GmbH - * Author: Markus Niebel - */ - -&ecspi5 { - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_ecspi5_mba6x>; - cs-gpios = <&gpio1 17 GPIO_ACTIVE_LOW>; -}; - -ðphy { - rxdv-skew-ps = <180>; - txen-skew-ps = <120>; - 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 = <180>; - txd0-skew-ps = <360>; - txc-skew-ps = <1860>; - rxc-skew-ps = <1860>; -}; - -&sata { - status = "okay"; -}; - -&iomuxc { - pinctrl_ecspi5_mba6x: ecspi5grp-mba6x { - fsl,pins = < - /* HYS, SPEED = MED, 100k up, DSE = 011, SRE_FAST */ - MX6QDL_PAD_SD1_DAT0__ECSPI5_MISO 0x1b099 - MX6QDL_PAD_SD1_CMD__ECSPI5_MOSI 0xb099 - MX6QDL_PAD_SD1_CLK__ECSPI5_SCLK 0xb099 - MX6QDL_PAD_SD1_DAT1__GPIO1_IO17 0xb099 /* eCSPI5 SS0 */ - >; - }; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright 2013 Sascha Hauer, Pengutronix + * + * Copyright 2013-2021 TQ-Systems GmbH + * Author: Markus Niebel + */ + +&ecspi5 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_ecspi5_mba6x>; + cs-gpios = <&gpio1 17 GPIO_ACTIVE_LOW>; +}; + +ðphy { + rxdv-skew-ps = <180>; + txen-skew-ps = <120>; + 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 = <180>; + txd0-skew-ps = <360>; + txc-skew-ps = <1860>; + rxc-skew-ps = <1860>; +}; + +&sata { + status = "okay"; +}; + +&iomuxc { + pinctrl_ecspi5_mba6x: ecspi5grp-mba6x { + fsl,pins = < + /* HYS, SPEED = MED, 100k up, DSE = 011, SRE_FAST */ + MX6QDL_PAD_SD1_DAT0__ECSPI5_MISO 0x1b099 + MX6QDL_PAD_SD1_CMD__ECSPI5_MOSI 0xb099 + MX6QDL_PAD_SD1_CLK__ECSPI5_SCLK 0xb099 + MX6QDL_PAD_SD1_DAT1__GPIO1_IO17 0xb099 /* eCSPI5 SS0 */ + >; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-skov-revc-lt2.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-skov-revc-lt2.dts index a5df222333..ff97d22eb0 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-skov-revc-lt2.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-skov-revc-lt2.dts @@ -1,37 +1,37 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -// -// Copyright (C) 2020 Pengutronix, Ulrich Oelmann - -/dts-v1/; -#include "imx6q.dtsi" -#include "imx6qdl-skov-cpu.dtsi" -#include "imx6qdl-skov-cpu-revc.dtsi" -#include "imx6qdl-skov-revc-lt2.dtsi" - -/ { - model = "SKOV IMX6 CPU QuadCore"; - compatible = "skov,imx6q-skov-revc-lt2", "fsl,imx6q"; -}; - -&hdmi { - ddc-i2c-bus = <&i2c2>; - status = "okay"; -}; - -&i2c2 { - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_i2c2>; - clock-frequency = <100000>; - status = "okay"; -}; - -&iomuxc { - pinctrl_i2c2: i2c2grp { - fsl,pins = < - /* internal 22 k pull up required */ - MX6QDL_PAD_KEY_COL3__I2C2_SCL 0x4001f878 - /* internal 22 k pull up required */ - MX6QDL_PAD_KEY_ROW3__I2C2_SDA 0x4001f878 - >; - }; -}; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +// +// Copyright (C) 2020 Pengutronix, Ulrich Oelmann + +/dts-v1/; +#include "imx6q.dtsi" +#include "imx6qdl-skov-cpu.dtsi" +#include "imx6qdl-skov-cpu-revc.dtsi" +#include "imx6qdl-skov-revc-lt2.dtsi" + +/ { + model = "SKOV IMX6 CPU QuadCore"; + compatible = "skov,imx6q-skov-revc-lt2", "fsl,imx6q"; +}; + +&hdmi { + ddc-i2c-bus = <&i2c2>; + status = "okay"; +}; + +&i2c2 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_i2c2>; + clock-frequency = <100000>; + status = "okay"; +}; + +&iomuxc { + pinctrl_i2c2: i2c2grp { + fsl,pins = < + /* internal 22 k pull up required */ + MX6QDL_PAD_KEY_COL3__I2C2_SCL 0x4001f878 + /* internal 22 k pull up required */ + MX6QDL_PAD_KEY_ROW3__I2C2_SDA 0x4001f878 + >; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-yapp4-crux.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-yapp4-crux.dts index 67fb084902..bddf3822eb 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-yapp4-crux.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-yapp4-crux.dts @@ -1,58 +1,58 @@ -// SPDX-License-Identifier: GPL-2.0 -// -// Copyright (C) 2021 Y Soft Corporation, a.s. - -/dts-v1/; - -#include "imx6q.dtsi" -#include "imx6dl-yapp4-common.dtsi" - -/ { - model = "Y Soft IOTA Crux i.MX6Quad board"; - compatible = "ysoft,imx6q-yapp4-crux", "fsl,imx6q"; - - memory@10000000 { - device_type = "memory"; - reg = <0x10000000 0xf0000000>; - }; -}; - -&gpio_oled { - status = "okay"; -}; - -&leds { - status = "okay"; -}; - -&oled_1305 { - status = "okay"; -}; - -&oled_1309 { - status = "okay"; -}; - -®_pu { - regulator-always-on; -}; - -®_usb_h1_vbus { - status = "okay"; -}; - -&touchkeys { - status = "okay"; -}; - -&uart2 { - status = "disabled"; -}; - -&usbh1 { - status = "okay"; -}; - -&usbphy2 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 +// +// Copyright (C) 2021 Y Soft Corporation, a.s. + +/dts-v1/; + +#include "imx6q.dtsi" +#include "imx6dl-yapp4-common.dtsi" + +/ { + model = "Y Soft IOTA Crux i.MX6Quad board"; + compatible = "ysoft,imx6q-yapp4-crux", "fsl,imx6q"; + + memory@10000000 { + device_type = "memory"; + reg = <0x10000000 0xf0000000>; + }; +}; + +&gpio_oled { + status = "okay"; +}; + +&leds { + status = "okay"; +}; + +&oled_1305 { + status = "okay"; +}; + +&oled_1309 { + status = "okay"; +}; + +®_pu { + regulator-always-on; +}; + +®_usb_h1_vbus { + status = "okay"; +}; + +&touchkeys { + status = "okay"; +}; + +&uart2 { + status = "disabled"; +}; + +&usbh1 { + status = "okay"; +}; + +&usbphy2 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-yapp4-pegasus.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-yapp4-pegasus.dts index 08f5d11d35..ec6651ba4b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-yapp4-pegasus.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-yapp4-pegasus.dts @@ -1,58 +1,58 @@ -// SPDX-License-Identifier: GPL-2.0 -// -// Copyright (C) 2021 Y Soft Corporation, a.s. - -/dts-v1/; - -#include "imx6q.dtsi" -#include "imx6dl-yapp43-common.dtsi" - -/ { - model = "Y Soft IOTA Pegasus i.MX6Quad board"; - compatible = "ysoft,imx6q-yapp4-pegasus", "fsl,imx6q"; - - memory@10000000 { - device_type = "memory"; - reg = <0x10000000 0xf0000000>; - }; -}; - -&gpio_oled { - status = "okay"; -}; - -&i2c3 { - status = "okay"; -}; - -&leds { - status = "okay"; -}; - -&oled_1305 { - status = "okay"; -}; - -&oled_1309 { - status = "okay"; -}; - -®_pu { - regulator-always-on; -}; - -®_usb_h1_vbus { - status = "okay"; -}; - -&touchkeys { - status = "okay"; -}; - -&usbh1 { - status = "okay"; -}; - -&usbphy2 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 +// +// Copyright (C) 2021 Y Soft Corporation, a.s. + +/dts-v1/; + +#include "imx6q.dtsi" +#include "imx6dl-yapp43-common.dtsi" + +/ { + model = "Y Soft IOTA Pegasus i.MX6Quad board"; + compatible = "ysoft,imx6q-yapp4-pegasus", "fsl,imx6q"; + + memory@10000000 { + device_type = "memory"; + reg = <0x10000000 0xf0000000>; + }; +}; + +&gpio_oled { + status = "okay"; +}; + +&i2c3 { + status = "okay"; +}; + +&leds { + status = "okay"; +}; + +&oled_1305 { + status = "okay"; +}; + +&oled_1309 { + status = "okay"; +}; + +®_pu { + regulator-always-on; +}; + +®_usb_h1_vbus { + status = "okay"; +}; + +&touchkeys { + status = "okay"; +}; + +&usbh1 { + status = "okay"; +}; + +&usbphy2 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6qdl-icore-1.5.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6qdl-icore-1.5.dtsi index 7a84571e4d..0fd7f2e24d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6qdl-icore-1.5.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6qdl-icore-1.5.dtsi @@ -1,32 +1,32 @@ -// SPDX-License-Identifier: GPL-2.0+ -/* - * Copyright (C) 2018 Jacopo Mondi - */ - -#include "imx6qdl-icore.dtsi" - -&iomuxc { - pinctrl_enet: enetgrp { - fsl,pins = < - MX6QDL_PAD_ENET_CRS_DV__ENET_RX_EN 0x1b0b0 - MX6QDL_PAD_GPIO_16__ENET_REF_CLK 0x4001b0b0 - MX6QDL_PAD_ENET_TX_EN__ENET_TX_EN 0x1b0b0 - MX6QDL_PAD_ENET_RXD1__ENET_RX_DATA1 0x1b0b0 - MX6QDL_PAD_ENET_RXD0__ENET_RX_DATA0 0x1b0b0 - MX6QDL_PAD_ENET_TXD1__ENET_TX_DATA1 0x1b0b0 - MX6QDL_PAD_ENET_TXD0__ENET_TX_DATA0 0x1b0b0 - MX6QDL_PAD_ENET_MDC__ENET_MDC 0x1b0b0 - MX6QDL_PAD_ENET_MDIO__ENET_MDIO 0x1b0b0 - MX6QDL_PAD_GPIO_17__GPIO7_IO12 0x1b0b0 - >; - }; -}; - -&fec { - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_enet>; - clocks = <&clks IMX6QDL_CLK_ENET>, - <&clks IMX6QDL_CLK_ENET>, - <&clks IMX6QDL_CLK_ENET_REF>; - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (C) 2018 Jacopo Mondi + */ + +#include "imx6qdl-icore.dtsi" + +&iomuxc { + pinctrl_enet: enetgrp { + fsl,pins = < + MX6QDL_PAD_ENET_CRS_DV__ENET_RX_EN 0x1b0b0 + MX6QDL_PAD_GPIO_16__ENET_REF_CLK 0x4001b0b0 + MX6QDL_PAD_ENET_TX_EN__ENET_TX_EN 0x1b0b0 + MX6QDL_PAD_ENET_RXD1__ENET_RX_DATA1 0x1b0b0 + MX6QDL_PAD_ENET_RXD0__ENET_RX_DATA0 0x1b0b0 + MX6QDL_PAD_ENET_TXD1__ENET_TX_DATA1 0x1b0b0 + MX6QDL_PAD_ENET_TXD0__ENET_TX_DATA0 0x1b0b0 + MX6QDL_PAD_ENET_MDC__ENET_MDC 0x1b0b0 + MX6QDL_PAD_ENET_MDIO__ENET_MDIO 0x1b0b0 + MX6QDL_PAD_GPIO_17__GPIO7_IO12 0x1b0b0 + >; + }; +}; + +&fec { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_enet>; + clocks = <&clks IMX6QDL_CLK_ENET>, + <&clks IMX6QDL_CLK_ENET>, + <&clks IMX6QDL_CLK_ENET_REF>; + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6qdl-mba6a.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6qdl-mba6a.dtsi index a74156cee4..aca320ee8f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6qdl-mba6a.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6qdl-mba6a.dtsi @@ -1,42 +1,42 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright 2013 Sascha Hauer, Pengutronix - * - * Copyright 2013-2021 TQ-Systems GmbH - * Author: Markus Niebel - */ - -&fec { - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_enet>, <&pinctrl_enet_fix>; -}; - -&i2c1 { - lm75: temperature-sensor@49 { - compatible = "national,lm75a"; - reg = <0x49>; - vs-supply = <®_mba6_3p3v>; - }; - - m24c64_57: eeprom@57 { - compatible = "atmel,24c64"; - reg = <0x57>; - pagesize = <32>; - vcc-supply = <®_mba6_3p3v>; - - nvmem-layout { - compatible = "fixed-layout"; - #address-cells = <1>; - #size-cells = <1>; - - mba_mac_address: mac-address@20 { - reg = <0x20 0x6>; - }; - }; - }; - - rtc0: rtc@68 { - compatible = "dallas,ds1339"; - reg = <0x68>; - }; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright 2013 Sascha Hauer, Pengutronix + * + * Copyright 2013-2021 TQ-Systems GmbH + * Author: Markus Niebel + */ + +&fec { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_enet>, <&pinctrl_enet_fix>; +}; + +&i2c1 { + lm75: temperature-sensor@49 { + compatible = "national,lm75a"; + reg = <0x49>; + vs-supply = <®_mba6_3p3v>; + }; + + m24c64_57: eeprom@57 { + compatible = "atmel,24c64"; + reg = <0x57>; + pagesize = <32>; + vcc-supply = <®_mba6_3p3v>; + + nvmem-layout { + compatible = "fixed-layout"; + #address-cells = <1>; + #size-cells = <1>; + + mba_mac_address: mac-address@20 { + reg = <0x20 0x6>; + }; + }; + }; + + rtc0: rtc@68 { + compatible = "dallas,ds1339"; + reg = <0x68>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6qdl-pico-dwarf.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6qdl-pico-dwarf.dtsi index f87ef7283d..3a968782e8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6qdl-pico-dwarf.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6qdl-pico-dwarf.dtsi @@ -1,45 +1,45 @@ -// 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>; - }; - }; - -}; - -&i2c1 { - mpl3115@60 { - compatible = "fsl,mpl3115"; - reg = <0x60>; - }; -}; - -&i2c2 { - io-expander@25 { - compatible = "nxp,pca9554"; - reg = <0x25>; - gpio-controller; - #gpio-cells = <2>; - #interrupt-cells = <2>; - }; - -}; - -&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>; + }; + }; + +}; + +&i2c1 { + mpl3115@60 { + compatible = "fsl,mpl3115"; + reg = <0x60>; + }; +}; + +&i2c2 { + io-expander@25 { + compatible = "nxp,pca9554"; + reg = <0x25>; + gpio-controller; + #gpio-cells = <2>; + #interrupt-cells = <2>; + }; + +}; + +&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-nymph.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6qdl-pico-nymph.dtsi index 9a8ac6b18c..3d56a42164 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6qdl-pico-nymph.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6qdl-pico-nymph.dtsi @@ -1,54 +1,54 @@ -// SPDX-License-Identifier: GPL-2.0+ OR MIT - -#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>; - }; - }; - -}; - -&i2c1 { - adc@52 { - compatible = "ti,adc081c"; - reg = <0x52>; - vref-supply = <®_2p5v>; - }; -}; - -&i2c2 { - io-expander@25 { - compatible = "nxp,pca9554"; - reg = <0x25>; - gpio-controller; - #gpio-cells = <2>; - #interrupt-cells = <2>; - }; -}; - -&i2c3 { - rtc@68 { - compatible = "dallas,ds1337"; - reg = <0x68>; - }; -}; - -&pcie { - status = "okay"; -}; - -&iomuxc { - pinctrl_gpio_leds: gpioledsgrp { - fsl,pins = < - MX6QDL_PAD_CSI0_DAT13__GPIO5_IO31 0x1b0b0 - >; - }; -}; +// SPDX-License-Identifier: GPL-2.0+ OR MIT + +#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>; + }; + }; + +}; + +&i2c1 { + adc@52 { + compatible = "ti,adc081c"; + reg = <0x52>; + vref-supply = <®_2p5v>; + }; +}; + +&i2c2 { + io-expander@25 { + compatible = "nxp,pca9554"; + reg = <0x25>; + gpio-controller; + #gpio-cells = <2>; + #interrupt-cells = <2>; + }; +}; + +&i2c3 { + rtc@68 { + compatible = "dallas,ds1337"; + reg = <0x68>; + }; +}; + +&pcie { + status = "okay"; +}; + +&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/imx6qp-yapp4-crux-plus.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6qp-yapp4-crux-plus.dts index be78352931..afaf4a6759 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6qp-yapp4-crux-plus.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6qp-yapp4-crux-plus.dts @@ -1,58 +1,58 @@ -// SPDX-License-Identifier: GPL-2.0 -// -// Copyright (C) 2021 Y Soft Corporation, a.s. - -/dts-v1/; - -#include "imx6qp.dtsi" -#include "imx6dl-yapp4-common.dtsi" - -/ { - model = "Y Soft IOTA Crux+ i.MX6QuadPlus board"; - compatible = "ysoft,imx6qp-yapp4-crux-plus", "fsl,imx6qp"; - - memory@10000000 { - device_type = "memory"; - reg = <0x10000000 0xf0000000>; - }; -}; - -&gpio_oled { - status = "okay"; -}; - -&leds { - status = "okay"; -}; - -&oled_1305 { - status = "okay"; -}; - -&oled_1309 { - status = "okay"; -}; - -®_pu { - regulator-always-on; -}; - -®_usb_h1_vbus { - status = "okay"; -}; - -&touchkeys { - status = "okay"; -}; - -&uart2 { - status = "disabled"; -}; - -&usbh1 { - status = "okay"; -}; - -&usbphy2 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 +// +// Copyright (C) 2021 Y Soft Corporation, a.s. + +/dts-v1/; + +#include "imx6qp.dtsi" +#include "imx6dl-yapp4-common.dtsi" + +/ { + model = "Y Soft IOTA Crux+ i.MX6QuadPlus board"; + compatible = "ysoft,imx6qp-yapp4-crux-plus", "fsl,imx6qp"; + + memory@10000000 { + device_type = "memory"; + reg = <0x10000000 0xf0000000>; + }; +}; + +&gpio_oled { + status = "okay"; +}; + +&leds { + status = "okay"; +}; + +&oled_1305 { + status = "okay"; +}; + +&oled_1309 { + status = "okay"; +}; + +®_pu { + regulator-always-on; +}; + +®_usb_h1_vbus { + status = "okay"; +}; + +&touchkeys { + status = "okay"; +}; + +&uart2 { + status = "disabled"; +}; + +&usbh1 { + status = "okay"; +}; + +&usbphy2 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6qp-yapp4-pegasus-plus.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6qp-yapp4-pegasus-plus.dts index e389510b5b..4a961a33bf 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6qp-yapp4-pegasus-plus.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6qp-yapp4-pegasus-plus.dts @@ -1,58 +1,58 @@ -// SPDX-License-Identifier: GPL-2.0 -// -// Copyright (C) 2021 Y Soft Corporation, a.s. - -/dts-v1/; - -#include "imx6qp.dtsi" -#include "imx6dl-yapp43-common.dtsi" - -/ { - model = "Y Soft IOTA Pegasus+ i.MX6QuadPlus board"; - compatible = "ysoft,imx6qp-yapp4-pegasus-plus", "fsl,imx6qp"; - - memory@10000000 { - device_type = "memory"; - reg = <0x10000000 0xf0000000>; - }; -}; - -&gpio_oled { - status = "okay"; -}; - -&i2c3 { - status = "okay"; -}; - -&leds { - status = "okay"; -}; - -&oled_1305 { - status = "okay"; -}; - -&oled_1309 { - status = "okay"; -}; - -®_pu { - regulator-always-on; -}; - -®_usb_h1_vbus { - status = "okay"; -}; - -&touchkeys { - status = "okay"; -}; - -&usbh1 { - status = "okay"; -}; - -&usbphy2 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 +// +// Copyright (C) 2021 Y Soft Corporation, a.s. + +/dts-v1/; + +#include "imx6qp.dtsi" +#include "imx6dl-yapp43-common.dtsi" + +/ { + model = "Y Soft IOTA Pegasus+ i.MX6QuadPlus board"; + compatible = "ysoft,imx6qp-yapp4-pegasus-plus", "fsl,imx6qp"; + + memory@10000000 { + device_type = "memory"; + reg = <0x10000000 0xf0000000>; + }; +}; + +&gpio_oled { + status = "okay"; +}; + +&i2c3 { + status = "okay"; +}; + +&leds { + status = "okay"; +}; + +&oled_1305 { + status = "okay"; +}; + +&oled_1309 { + status = "okay"; +}; + +®_pu { + regulator-always-on; +}; + +®_usb_h1_vbus { + status = "okay"; +}; + +&touchkeys { + status = "okay"; +}; + +&usbh1 { + status = "okay"; +}; + +&usbphy2 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6s-dhcom-drc02.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6s-dhcom-drc02.dts index 0a611743a4..4077b607c2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6s-dhcom-drc02.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6s-dhcom-drc02.dts @@ -1,30 +1,30 @@ -// SPDX-License-Identifier: GPL-2.0+ -/* - * Copyright (C) 2021 DH electronics GmbH - * - * DHCOM iMX6 variant: - * DHCM-iMX6S-C0800-R102-F0409-E-CAN2-RTC-I-01D2 - * DHCOM PCB number: 493-400 or newer - * DRC02 PCB number: 568-100 or newer - */ -/dts-v1/; - -/* - * The kernel only distinguishes between i.MX6 Quad and DualLite, - * but the Solo is actually a DualLite with only one CPU. So use - * DualLite for the Solo and disable one CPU node. - */ - -#include "imx6dl.dtsi" -#include "imx6qdl-dhcom-som.dtsi" -#include "imx6qdl-dhcom-drc02.dtsi" - -/ { - model = "DH electronics i.MX6S DHCOM on DRC02"; - compatible = "dh,imx6s-dhcom-drc02", "dh,imx6s-dhcom-som", - "fsl,imx6dl"; - - cpus { - /delete-node/ cpu@1; - }; -}; +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (C) 2021 DH electronics GmbH + * + * DHCOM iMX6 variant: + * DHCM-iMX6S-C0800-R102-F0409-E-CAN2-RTC-I-01D2 + * DHCOM PCB number: 493-400 or newer + * DRC02 PCB number: 568-100 or newer + */ +/dts-v1/; + +/* + * The kernel only distinguishes between i.MX6 Quad and DualLite, + * but the Solo is actually a DualLite with only one CPU. So use + * DualLite for the Solo and disable one CPU node. + */ + +#include "imx6dl.dtsi" +#include "imx6qdl-dhcom-som.dtsi" +#include "imx6qdl-dhcom-drc02.dtsi" + +/ { + model = "DH electronics i.MX6S DHCOM on DRC02"; + compatible = "dh,imx6s-dhcom-drc02", "dh,imx6s-dhcom-som", + "fsl,imx6dl"; + + cpus { + /delete-node/ cpu@1; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6sx-sdb-mqs.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6sx-sdb-mqs.dts index 0354b18fa9..a4ab2d3e96 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6sx-sdb-mqs.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6sx-sdb-mqs.dts @@ -1,48 +1,48 @@ -// SPDX-License-Identifier: GPL-2.0 -// -// Copyright (C) 2014 Freescale Semiconductor, Inc. - -#include "imx6sx-sdb.dts" -/ { - - sound { - status = "disabled"; - }; - - sound-mqs { - compatible = "fsl,imx6sx-sdb-mqs", - "fsl,imx-audio-mqs"; - model = "mqs-audio"; - audio-cpu = <&sai1>; - audio-asrc = <&asrc>; - audio-codec = <&mqs>; - }; -}; - -&usdhc2 { - /* pin conflict with mqs*/ - status = "disabled"; -}; - -&mqs { - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_mqs>; - clocks = <&clks IMX6SX_CLK_SAI1>; - clock-names = "mclk"; - status = "okay"; -}; - -&sai1 { - pinctrl-0 = <>; - status = "okay"; -}; - -&ssi2 { - status = "disabled"; -}; - -&sdma { - gpr = <&gpr>; - /* SDMA event remap for SAI1 */ - fsl,sdma-event-remap = <0 15 1>, <0 16 1>; -}; +// SPDX-License-Identifier: GPL-2.0 +// +// Copyright (C) 2014 Freescale Semiconductor, Inc. + +#include "imx6sx-sdb.dts" +/ { + + sound { + status = "disabled"; + }; + + sound-mqs { + compatible = "fsl,imx6sx-sdb-mqs", + "fsl,imx-audio-mqs"; + model = "mqs-audio"; + audio-cpu = <&sai1>; + audio-asrc = <&asrc>; + audio-codec = <&mqs>; + }; +}; + +&usdhc2 { + /* pin conflict with mqs*/ + status = "disabled"; +}; + +&mqs { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_mqs>; + clocks = <&clks IMX6SX_CLK_SAI1>; + clock-names = "mclk"; + status = "okay"; +}; + +&sai1 { + pinctrl-0 = <>; + status = "okay"; +}; + +&ssi2 { + status = "disabled"; +}; + +&sdma { + gpr = <&gpr>; + /* SDMA event remap for SAI1 */ + fsl,sdma-event-remap = <0 15 1>, <0 16 1>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ul-tqma6ul1.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ul-tqma6ul1.dtsi index e8222f93f6..24192d012e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ul-tqma6ul1.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ul-tqma6ul1.dtsi @@ -1,37 +1,37 @@ -// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) -/* - * Copyright 2018-2022 TQ-Systems GmbH - * Author: Markus Niebel - */ - -#include "imx6ul-tqma6ul2.dtsi" - -/ { - model = "TQ-Systems TQMa6UL1 SoM"; - compatible = "tq,imx6ul-tqma6ul1", "fsl,imx6ul"; -}; - -/* - * There are no module specific differences compared to TQMa6UL2, - * only external interfaces differ - */ - -/* - * Devices not available on i.MX6ULG1 and should not be enabled on - * mainboard level (again) - */ -&can2 { - status = "disabled"; -}; - -&csi { - status = "disabled"; -}; - -&fec2 { - status = "disabled"; -}; - -&lcdif { - status = "disabled"; -}; +// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) +/* + * Copyright 2018-2022 TQ-Systems GmbH + * Author: Markus Niebel + */ + +#include "imx6ul-tqma6ul2.dtsi" + +/ { + model = "TQ-Systems TQMa6UL1 SoM"; + compatible = "tq,imx6ul-tqma6ul1", "fsl,imx6ul"; +}; + +/* + * There are no module specific differences compared to TQMa6UL2, + * only external interfaces differ + */ + +/* + * Devices not available on i.MX6ULG1 and should not be enabled on + * mainboard level (again) + */ +&can2 { + status = "disabled"; +}; + +&csi { + status = "disabled"; +}; + +&fec2 { + status = "disabled"; +}; + +&lcdif { + status = "disabled"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ul-tqma6ulx-common.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ul-tqma6ulx-common.dtsi index f2b56b5351..5afb9046c2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ul-tqma6ulx-common.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ul-tqma6ulx-common.dtsi @@ -1,43 +1,43 @@ -// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) -/* - * Copyright 2018-2022 TQ-Systems GmbH - * Author: Markus Niebel - */ - -/* - * Common for - * - TQMa6ULx - * - TQMa6ULLx - */ - -&m24c64_50 { - vcc-supply = <®_sw2>; -}; - -&m24c02_52 { - vcc-supply = <®_sw2>; -}; - -®_sw2 { - regulator-boot-on; - regulator-always-on; -}; - -/* eMMC */ -&usdhc2 { - vmmc-supply = <®_sw2>; - vqmmc-supply = <®_vldo4>; -}; - -&iomuxc { - pinctrl_qspi: qspigrp { - fsl,pins = < - MX6UL_PAD_NAND_WP_B__QSPI_A_SCLK 0x70b9 - MX6UL_PAD_NAND_READY_B__QSPI_A_DATA00 0x70b9 - MX6UL_PAD_NAND_CE0_B__QSPI_A_DATA01 0x70b9 - MX6UL_PAD_NAND_CE1_B__QSPI_A_DATA02 0x70b9 - MX6UL_PAD_NAND_CLE__QSPI_A_DATA03 0x70b9 - MX6UL_PAD_NAND_DQS__QSPI_A_SS0_B 0x70a1 - >; - }; -}; +// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) +/* + * Copyright 2018-2022 TQ-Systems GmbH + * Author: Markus Niebel + */ + +/* + * Common for + * - TQMa6ULx + * - TQMa6ULLx + */ + +&m24c64_50 { + vcc-supply = <®_sw2>; +}; + +&m24c02_52 { + vcc-supply = <®_sw2>; +}; + +®_sw2 { + regulator-boot-on; + regulator-always-on; +}; + +/* eMMC */ +&usdhc2 { + vmmc-supply = <®_sw2>; + vqmmc-supply = <®_vldo4>; +}; + +&iomuxc { + pinctrl_qspi: qspigrp { + fsl,pins = < + MX6UL_PAD_NAND_WP_B__QSPI_A_SCLK 0x70b9 + MX6UL_PAD_NAND_READY_B__QSPI_A_DATA00 0x70b9 + MX6UL_PAD_NAND_CE0_B__QSPI_A_DATA01 0x70b9 + MX6UL_PAD_NAND_CE1_B__QSPI_A_DATA02 0x70b9 + MX6UL_PAD_NAND_CLE__QSPI_A_DATA03 0x70b9 + MX6UL_PAD_NAND_DQS__QSPI_A_SS0_B 0x70a1 + >; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ul-tqma6ulxl-common.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ul-tqma6ulxl-common.dtsi index e5549af331..ba84a4f70e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ul-tqma6ulxl-common.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ul-tqma6ulxl-common.dtsi @@ -1,48 +1,48 @@ -// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) -/* - * Copyright 2018-2022 TQ-Systems GmbH - * Author: Markus Niebel - */ - -/* - * Common for - * - TQMa6ULxL - * - TQMa6ULLxL - */ - -/ { - reg_vin: reg-vin { - compatible = "regulator-fixed"; - regulator-name = "VIN"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - regulator-always-on; - }; -}; - -&m24c64_50 { - vcc-supply = <®_vin>; -}; - -&m24c02_52 { - vcc-supply = <®_vin>; -}; - -/* eMMC */ -&usdhc2 { - vmmc-supply = <®_vin>; - vqmmc-supply = <®_vldo4>; -}; - -&iomuxc { - pinctrl_qspi: qspigrp { - fsl,pins = < - MX6UL_PAD_NAND_WP_B__QSPI_A_SCLK 0x70a9 - MX6UL_PAD_NAND_READY_B__QSPI_A_DATA00 0x70a9 - MX6UL_PAD_NAND_CE0_B__QSPI_A_DATA01 0x70a9 - MX6UL_PAD_NAND_CE1_B__QSPI_A_DATA02 0x70a9 - MX6UL_PAD_NAND_CLE__QSPI_A_DATA03 0x70a9 - MX6UL_PAD_NAND_DQS__QSPI_A_SS0_B 0x70a1 - >; - }; -}; +// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) +/* + * Copyright 2018-2022 TQ-Systems GmbH + * Author: Markus Niebel + */ + +/* + * Common for + * - TQMa6ULxL + * - TQMa6ULLxL + */ + +/ { + reg_vin: reg-vin { + compatible = "regulator-fixed"; + regulator-name = "VIN"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-always-on; + }; +}; + +&m24c64_50 { + vcc-supply = <®_vin>; +}; + +&m24c02_52 { + vcc-supply = <®_vin>; +}; + +/* eMMC */ +&usdhc2 { + vmmc-supply = <®_vin>; + vqmmc-supply = <®_vldo4>; +}; + +&iomuxc { + pinctrl_qspi: qspigrp { + fsl,pins = < + MX6UL_PAD_NAND_WP_B__QSPI_A_SCLK 0x70a9 + MX6UL_PAD_NAND_READY_B__QSPI_A_DATA00 0x70a9 + MX6UL_PAD_NAND_CE0_B__QSPI_A_DATA01 0x70a9 + MX6UL_PAD_NAND_CE1_B__QSPI_A_DATA02 0x70a9 + MX6UL_PAD_NAND_CLE__QSPI_A_DATA03 0x70a9 + MX6UL_PAD_NAND_DQS__QSPI_A_SS0_B 0x70a1 + >; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-colibri-aster.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-colibri-aster.dts index fd6df04e43..3e0897c3a2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-colibri-aster.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-colibri-aster.dts @@ -1,60 +1,60 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2017-2022 Toradex - */ - -/dts-v1/; - -#include "imx6ull-colibri-nonwifi.dtsi" -#include "imx6ull-colibri-aster.dtsi" - -/ { - model = "Toradex Colibri iMX6ULL 256/512MB on Colibri Aster"; - compatible = "toradex,colibri-imx6ull-aster", - "toradex,colibri-imx6ull", - "fsl,imx6ull"; -}; - -&ad7879_ts { - status = "okay"; -}; - -&atmel_mxt_ts { - status = "okay"; -}; - -&backlight { - status = "okay"; -}; - -&i2c1 { - status = "okay"; -}; - -&i2c2 { - status = "okay"; -}; - -&lcdif { - status = "okay"; -}; - -&panel_dpi { - status = "okay"; -}; - -&pwm4 { - status = "okay"; -}; - -/* PWM */ -&pwm5 { - /* Pin already used by atmel_mxt_ts touchscreen */ - status = "disabled"; -}; - -/* PWM */ -&pwm6 { - /* Pin already used by atmel_mxt_ts touchscreen */ - status = "disabled"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2017-2022 Toradex + */ + +/dts-v1/; + +#include "imx6ull-colibri-nonwifi.dtsi" +#include "imx6ull-colibri-aster.dtsi" + +/ { + model = "Toradex Colibri iMX6ULL 256/512MB on Colibri Aster"; + compatible = "toradex,colibri-imx6ull-aster", + "toradex,colibri-imx6ull", + "fsl,imx6ull"; +}; + +&ad7879_ts { + status = "okay"; +}; + +&atmel_mxt_ts { + status = "okay"; +}; + +&backlight { + status = "okay"; +}; + +&i2c1 { + status = "okay"; +}; + +&i2c2 { + status = "okay"; +}; + +&lcdif { + status = "okay"; +}; + +&panel_dpi { + status = "okay"; +}; + +&pwm4 { + status = "okay"; +}; + +/* PWM */ +&pwm5 { + /* Pin already used by atmel_mxt_ts touchscreen */ + status = "disabled"; +}; + +/* PWM */ +&pwm6 { + /* Pin already used by atmel_mxt_ts touchscreen */ + status = "disabled"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-colibri-wifi-aster.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-colibri-wifi-aster.dts index 49a02eccef..d3bbd05da2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-colibri-wifi-aster.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-colibri-wifi-aster.dts @@ -1,60 +1,60 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2017-2022 Toradex - */ - -/dts-v1/; - -#include "imx6ull-colibri-wifi.dtsi" -#include "imx6ull-colibri-aster.dtsi" - -/ { - model = "Toradex Colibri iMX6ULL 512MB on Colibri Aster"; - compatible = "toradex,colibri-imx6ull-wifi-aster", - "toradex,colibri-imx6ull-wifi", - "fsl,imx6ull"; -}; - -&ad7879_ts { - status = "okay"; -}; - -&atmel_mxt_ts { - status = "okay"; -}; - -&backlight { - status = "okay"; -}; - -&i2c1 { - status = "okay"; -}; - -&i2c2 { - status = "okay"; -}; - -&lcdif { - status = "okay"; -}; - -&panel_dpi { - status = "okay"; -}; - -&pwm4 { - status = "okay"; -}; - -/* PWM */ -&pwm5 { - /* Pin already used by atmel_mxt_ts touchscreen */ - status = "disabled"; -}; - -/* PWM */ -&pwm6 { - /* Pin already used by atmel_mxt_ts touchscreen */ - status = "disabled"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2017-2022 Toradex + */ + +/dts-v1/; + +#include "imx6ull-colibri-wifi.dtsi" +#include "imx6ull-colibri-aster.dtsi" + +/ { + model = "Toradex Colibri iMX6ULL 512MB on Colibri Aster"; + compatible = "toradex,colibri-imx6ull-wifi-aster", + "toradex,colibri-imx6ull-wifi", + "fsl,imx6ull"; +}; + +&ad7879_ts { + status = "okay"; +}; + +&atmel_mxt_ts { + status = "okay"; +}; + +&backlight { + status = "okay"; +}; + +&i2c1 { + status = "okay"; +}; + +&i2c2 { + status = "okay"; +}; + +&lcdif { + status = "okay"; +}; + +&panel_dpi { + status = "okay"; +}; + +&pwm4 { + status = "okay"; +}; + +/* PWM */ +&pwm5 { + /* Pin already used by atmel_mxt_ts touchscreen */ + status = "disabled"; +}; + +/* PWM */ +&pwm6 { + /* Pin already used by atmel_mxt_ts touchscreen */ + status = "disabled"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-phytec-segin-lc-rdk-nand.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-phytec-segin-lc-rdk-nand.dts index 4c6e021752..4bcbae024d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-phytec-segin-lc-rdk-nand.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-phytec-segin-lc-rdk-nand.dts @@ -1,46 +1,46 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (C) 2019 PHYTEC Messtechnik GmbH - * Author: Stefan Riedmueller - */ - -/dts-v1/; -#include "imx6ull.dtsi" -#include "imx6ull-phytec-phycore-som.dtsi" -#include "imx6ull-phytec-segin.dtsi" -#include "imx6ull-phytec-segin-peb-eval-01.dtsi" -#include "imx6ull-phytec-segin-peb-wlbt-05.dtsi" - -/ { - model = "PHYTEC phyBOARD-Segin i.MX6 ULL Low Cost with NAND"; - compatible = "phytec,imx6ull-pbacd10-nand", "phytec,imx6ull-pbacd10", - "phytec,imx6ull-pcl063", "fsl,imx6ull"; -}; - -&adc1 { - status = "okay"; -}; - -ðphy1 { - status = "okay"; -}; - -&fec1 { - status = "okay"; -}; - -&gpmi { - status = "okay"; -}; - -&i2c_rtc { - status = "okay"; -}; - -&usbotg1 { - status = "okay"; -}; - -&usdhc1 { - status = "okay"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (C) 2019 PHYTEC Messtechnik GmbH + * Author: Stefan Riedmueller + */ + +/dts-v1/; +#include "imx6ull.dtsi" +#include "imx6ull-phytec-phycore-som.dtsi" +#include "imx6ull-phytec-segin.dtsi" +#include "imx6ull-phytec-segin-peb-eval-01.dtsi" +#include "imx6ull-phytec-segin-peb-wlbt-05.dtsi" + +/ { + model = "PHYTEC phyBOARD-Segin i.MX6 ULL Low Cost with NAND"; + compatible = "phytec,imx6ull-pbacd10-nand", "phytec,imx6ull-pbacd10", + "phytec,imx6ull-pcl063", "fsl,imx6ull"; +}; + +&adc1 { + status = "okay"; +}; + +ðphy1 { + status = "okay"; +}; + +&fec1 { + status = "okay"; +}; + +&gpmi { + status = "okay"; +}; + +&i2c_rtc { + status = "okay"; +}; + +&usbotg1 { + status = "okay"; +}; + +&usdhc1 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-phytec-segin.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-phytec-segin.dtsi index ef72fccd2b..e287a0453b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-phytec-segin.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-phytec-segin.dtsi @@ -1,31 +1,31 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (C) 2019 PHYTEC Messtechnik GmbH - * Author: Stefan Riedmueller - */ - -#include "imx6ul-phytec-segin.dtsi" - -/ { - model = "PHYTEC phyBOARD-Segin i.MX6 ULL"; - compatible = "phytec,imx6ull-pbacd-10", "phytec,imx6ull-pcl063","fsl,imx6ull"; -}; - -&iomuxc { - /delete-node/ flexcan1engrp; - /delete-node/ rtcintgrp; -}; - -&iomuxc_snvs { - princtrl_flexcan1_en: flexcan1engrp { - fsl,pins = < - MX6ULL_PAD_SNVS_TAMPER2__GPIO5_IO02 0x17059 - >; - }; - - pinctrl_rtc_int: rtcintgrp { - fsl,pins = < - MX6ULL_PAD_SNVS_TAMPER1__GPIO5_IO01 0x17059 - >; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (C) 2019 PHYTEC Messtechnik GmbH + * Author: Stefan Riedmueller + */ + +#include "imx6ul-phytec-segin.dtsi" + +/ { + model = "PHYTEC phyBOARD-Segin i.MX6 ULL"; + compatible = "phytec,imx6ull-pbacd-10", "phytec,imx6ull-pcl063","fsl,imx6ull"; +}; + +&iomuxc { + /delete-node/ flexcan1engrp; + /delete-node/ rtcintgrp; +}; + +&iomuxc_snvs { + princtrl_flexcan1_en: flexcan1engrp { + fsl,pins = < + MX6ULL_PAD_SNVS_TAMPER2__GPIO5_IO02 0x17059 + >; + }; + + pinctrl_rtc_int: rtcintgrp { + fsl,pins = < + MX6ULL_PAD_SNVS_TAMPER1__GPIO5_IO01 0x17059 + >; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-tarragon-slave.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-tarragon-slave.dts index 2681fbdc3b..ef06619d7c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-tarragon-slave.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-tarragon-slave.dts @@ -1,32 +1,32 @@ -// SPDX-License-Identifier: GPL-2.0 OR MIT -// -// Copyright (C) 2023 chargebyte GmbH - -#include "imx6ull-tarragon-common.dtsi" - -/ { - model = "chargebyte Tarragon Slave"; - compatible = "chargebyte,imx6ull-tarragon-slave", "fsl,imx6ull"; -}; - -&ecspi2 { - status = "okay"; - - qca700x_cp: ethernet@0 { - reg = <0x0>; - compatible = "qca,qca7000"; - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_qca700x_cp_int - &pinctrl_qca700x_cp_rst - &pinctrl_qca700x_cp_btld>; - interrupt-parent = <&gpio2>; - interrupts = <19 IRQ_TYPE_EDGE_RISING>; - spi-cpha; - spi-cpol; - spi-max-frequency = <12000000>; - }; -}; - -&fec1 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 OR MIT +// +// Copyright (C) 2023 chargebyte GmbH + +#include "imx6ull-tarragon-common.dtsi" + +/ { + model = "chargebyte Tarragon Slave"; + compatible = "chargebyte,imx6ull-tarragon-slave", "fsl,imx6ull"; +}; + +&ecspi2 { + status = "okay"; + + qca700x_cp: ethernet@0 { + reg = <0x0>; + compatible = "qca,qca7000"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_qca700x_cp_int + &pinctrl_qca700x_cp_rst + &pinctrl_qca700x_cp_btld>; + interrupt-parent = <&gpio2>; + interrupts = <19 IRQ_TYPE_EDGE_RISING>; + spi-cpha; + spi-cpol; + spi-max-frequency = <12000000>; + }; +}; + +&fec1 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ulz.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ulz.dtsi index 599e9700fa..0b5f1a7635 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ulz.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ulz.dtsi @@ -1,36 +1,36 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -// -// Copyright 2018 NXP. - -#include "imx6ull.dtsi" - -/ { - aliases { - /delete-property/ ethernet0; - /delete-property/ ethernet1; - /delete-property/ i2c2; - /delete-property/ i2c3; - /delete-property/ serial4; - /delete-property/ serial5; - /delete-property/ serial6; - /delete-property/ serial7; - /delete-property/ spi2; - /delete-property/ spi3; - }; -}; - -/delete-node/ &adc1; -/delete-node/ &ecspi3; -/delete-node/ &ecspi4; -/delete-node/ &epit2; -/delete-node/ &gpt2; -/delete-node/ &i2c3; -/delete-node/ &i2c4; -/delete-node/ &pwm5; -/delete-node/ &pwm6; -/delete-node/ &pwm7; -/delete-node/ &pwm8; -/delete-node/ &uart5; -/delete-node/ &uart6; -/delete-node/ &uart7; -/delete-node/ &uart8; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +// +// Copyright 2018 NXP. + +#include "imx6ull.dtsi" + +/ { + aliases { + /delete-property/ ethernet0; + /delete-property/ ethernet1; + /delete-property/ i2c2; + /delete-property/ i2c3; + /delete-property/ serial4; + /delete-property/ serial5; + /delete-property/ serial6; + /delete-property/ serial7; + /delete-property/ spi2; + /delete-property/ spi3; + }; +}; + +/delete-node/ &adc1; +/delete-node/ &ecspi3; +/delete-node/ &ecspi4; +/delete-node/ &epit2; +/delete-node/ &gpt2; +/delete-node/ &i2c3; +/delete-node/ &i2c4; +/delete-node/ &pwm5; +/delete-node/ &pwm6; +/delete-node/ &pwm7; +/delete-node/ &pwm8; +/delete-node/ &uart5; +/delete-node/ &uart6; +/delete-node/ &uart7; +/delete-node/ &uart8; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx7d-sdb-reva.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx7d-sdb-reva.dts index 2b062794ac..40156cd919 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx7d-sdb-reva.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx7d-sdb-reva.dts @@ -1,41 +1,41 @@ -// SPDX-License-Identifier: GPL-2.0+ OR MIT -// -// Copyright (C) 2015 Freescale Semiconductor, Inc. - -/dts-v1/; - -#include "imx7d-sdb.dts" - -/ { - model = "Freescale i.MX7 SabreSD RevA Board"; - compatible = "fsl,imx7d-sdb-reva", "fsl,imx7d"; - - reg_usb_otg2_vbus: regulator-usb-otg2-vbus { - pinctrl-0 = <&pinctrl_usb_otg2_vbus_reg_reva>; - gpio = <&gpio4 7 GPIO_ACTIVE_HIGH>; - }; -}; - -&fec2 { - /delete-property/phy-supply; -}; - -&iomuxc { - pinctrl_tsc2046_pendown: tsc2046-pendowngrp { - fsl,pins = < - MX7D_PAD_EPDC_DATA13__GPIO2_IO13 0x59 - >; - }; - - pinctrl_hog: hoggrp { - fsl,pins = < - MX7D_PAD_ECSPI2_SS0__GPIO4_IO23 0x34 /* bt reg on */ - >; - }; - - pinctrl_usb_otg2_vbus_reg_reva: usbotg2vbusregrevagrp { - fsl,pins = < - MX7D_PAD_UART3_CTS_B__GPIO4_IO7 0x14 - >; - }; -}; +// SPDX-License-Identifier: GPL-2.0+ OR MIT +// +// Copyright (C) 2015 Freescale Semiconductor, Inc. + +/dts-v1/; + +#include "imx7d-sdb.dts" + +/ { + model = "Freescale i.MX7 SabreSD RevA Board"; + compatible = "fsl,imx7d-sdb-reva", "fsl,imx7d"; + + reg_usb_otg2_vbus: regulator-usb-otg2-vbus { + pinctrl-0 = <&pinctrl_usb_otg2_vbus_reg_reva>; + gpio = <&gpio4 7 GPIO_ACTIVE_HIGH>; + }; +}; + +&fec2 { + /delete-property/phy-supply; +}; + +&iomuxc { + pinctrl_tsc2046_pendown: tsc2046-pendowngrp { + fsl,pins = < + MX7D_PAD_EPDC_DATA13__GPIO2_IO13 0x59 + >; + }; + + pinctrl_hog: hoggrp { + fsl,pins = < + MX7D_PAD_ECSPI2_SS0__GPIO4_IO23 0x34 /* bt reg on */ + >; + }; + + pinctrl_usb_otg2_vbus_reg_reva: usbotg2vbusregrevagrp { + fsl,pins = < + MX7D_PAD_UART3_CTS_B__GPIO4_IO7 0x14 + >; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx7d-sdb-sht11.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx7d-sdb-sht11.dts index 9c299fa574..996555596d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx7d-sdb-sht11.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx7d-sdb-sht11.dts @@ -1,36 +1,36 @@ -// SPDX-License-Identifier: GPL-2.0+ OR MIT -// -// Copyright (C) 2015 Freescale Semiconductor, Inc. - -#include "imx7d-sdb.dts" - -/ { - sensor { - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_sensor>; - compatible = "sensirion,sht15"; - clk-gpios = <&gpio4 12 0>; - data-gpios = <&gpio4 13 0>; - vcc-supply = <®_sht15>; - }; - - reg_sht15: regulator-sht15 { - compatible = "regulator-fixed"; - regulator-name = "reg_sht15"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - }; -}; - -&i2c3 { - status = "disabled"; -}; - -&iomuxc { - pinctrl_sensor: sensorgrp { - fsl,pins = < - MX7D_PAD_I2C3_SDA__GPIO4_IO13 0x4000007f - MX7D_PAD_I2C3_SCL__GPIO4_IO12 0x4000007f - >; - }; -}; +// SPDX-License-Identifier: GPL-2.0+ OR MIT +// +// Copyright (C) 2015 Freescale Semiconductor, Inc. + +#include "imx7d-sdb.dts" + +/ { + sensor { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_sensor>; + compatible = "sensirion,sht15"; + clk-gpios = <&gpio4 12 0>; + data-gpios = <&gpio4 13 0>; + vcc-supply = <®_sht15>; + }; + + reg_sht15: regulator-sht15 { + compatible = "regulator-fixed"; + regulator-name = "reg_sht15"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + }; +}; + +&i2c3 { + status = "disabled"; +}; + +&iomuxc { + pinctrl_sensor: sensorgrp { + fsl,pins = < + MX7D_PAD_I2C3_SDA__GPIO4_IO13 0x4000007f + MX7D_PAD_I2C3_SCL__GPIO4_IO12 0x4000007f + >; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/lpc/lpc4350.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/lpc/lpc4350.dtsi index 6d2648c8e7..c4422f5870 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/lpc/lpc4350.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/lpc/lpc4350.dtsi @@ -1,39 +1,39 @@ -/* - * NXP LPC4350 and LPC4330 SoC - * - * Copyright 2015 Ariel D'Alessandro - * - * This code is released using a dual license strategy: BSD/GPL - * You can choose the licence that better fits your requirements. - * - * Released under the terms of 3-clause BSD License - * Released under the terms of GNU General Public License Version 2.0 - * - */ - -/ { - compatible = "nxp,lpc4350", "nxp,lpc4330"; - - cpus { - cpu@0 { - compatible = "arm,cortex-m4"; - }; - }; - - soc { - sram0: sram@10000000 { - compatible = "mmio-sram"; - reg = <0x10000000 0x20000>; /* 96 + 32 KiB local SRAM */ - }; - - sram1: sram@10080000 { - compatible = "mmio-sram"; - reg = <0x10080000 0x12000>; /* 64 + 8 KiB local SRAM */ - }; - - sram2: sram@20000000 { - compatible = "mmio-sram"; - reg = <0x20000000 0x10000>; /* 4 x 16 KiB AHB SRAM */ - }; - }; -}; +/* + * NXP LPC4350 and LPC4330 SoC + * + * Copyright 2015 Ariel D'Alessandro + * + * This code is released using a dual license strategy: BSD/GPL + * You can choose the licence that better fits your requirements. + * + * Released under the terms of 3-clause BSD License + * Released under the terms of GNU General Public License Version 2.0 + * + */ + +/ { + compatible = "nxp,lpc4350", "nxp,lpc4330"; + + cpus { + cpu@0 { + compatible = "arm,cortex-m4"; + }; + }; + + soc { + sram0: sram@10000000 { + compatible = "mmio-sram"; + reg = <0x10000000 0x20000>; /* 96 + 32 KiB local SRAM */ + }; + + sram1: sram@10080000 { + compatible = "mmio-sram"; + reg = <0x10080000 0x12000>; /* 64 + 8 KiB local SRAM */ + }; + + sram2: sram@20000000 { + compatible = "mmio-sram"; + reg = <0x20000000 0x10000>; /* 4 x 16 KiB AHB SRAM */ + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/lpc/lpc4357.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/lpc/lpc4357.dtsi index 8a8d5d5e57..72f12db8d5 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/lpc/lpc4357.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/lpc/lpc4357.dtsi @@ -1,43 +1,43 @@ -/* - * NXP LPC435x, LPC433x, LPC4327, LPC4325, LPC4317 and LPC4315 SoC - * - * Copyright 2015 Joachim Eastwood - * - * This code is released using a dual license strategy: BSD/GPL - * You can choose the licence that better fits your requirements. - * - * Released under the terms of 3-clause BSD License - * Released under the terms of GNU General Public License Version 2.0 - * - */ - -/ { - compatible = "nxp,lpc4357"; - - cpus { - cpu@0 { - compatible = "arm,cortex-m4"; - }; - }; - - soc { - sram0: sram@10000000 { - compatible = "mmio-sram"; - reg = <0x10000000 0x8000>; /* 32 KiB local SRAM */ - }; - - sram1: sram@10080000 { - compatible = "mmio-sram"; - reg = <0x10080000 0xa000>; /* 32 + 8 KiB local SRAM */ - }; - - sram2: sram@20000000 { - compatible = "mmio-sram"; - reg = <0x20000000 0x10000>; /* 4 x 16 KiB AHB SRAM */ - }; - }; -}; - -&eeprom { - status = "okay"; -}; +/* + * NXP LPC435x, LPC433x, LPC4327, LPC4325, LPC4317 and LPC4315 SoC + * + * Copyright 2015 Joachim Eastwood + * + * This code is released using a dual license strategy: BSD/GPL + * You can choose the licence that better fits your requirements. + * + * Released under the terms of 3-clause BSD License + * Released under the terms of GNU General Public License Version 2.0 + * + */ + +/ { + compatible = "nxp,lpc4357"; + + cpus { + cpu@0 { + compatible = "arm,cortex-m4"; + }; + }; + + soc { + sram0: sram@10000000 { + compatible = "mmio-sram"; + reg = <0x10000000 0x8000>; /* 32 KiB local SRAM */ + }; + + sram1: sram@10080000 { + compatible = "mmio-sram"; + reg = <0x10080000 0xa000>; /* 32 + 8 KiB local SRAM */ + }; + + sram2: sram@20000000 { + compatible = "mmio-sram"; + reg = <0x20000000 0x10000>; /* 4 x 16 KiB AHB SRAM */ + }; + }; +}; + +&eeprom { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/mxs/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/mxs/Makefile index 819b334b59..a430d04f9c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/mxs/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/mxs/Makefile @@ -1,31 +1,31 @@ -# SPDX-License-Identifier: GPL-2.0 -dtb-$(CONFIG_ARCH_MXS) += \ - imx23-evk.dtb \ - imx23-olinuxino.dtb \ - imx23-sansa.dtb \ - imx23-stmp378x_devb.dtb \ - imx23-xfi3.dtb \ - imx28-apf28.dtb \ - imx28-apf28dev.dtb \ - imx28-apx4devkit.dtb \ - imx28-cfa10036.dtb \ - imx28-cfa10037.dtb \ - imx28-cfa10049.dtb \ - imx28-cfa10055.dtb \ - imx28-cfa10056.dtb \ - imx28-cfa10057.dtb \ - imx28-cfa10058.dtb \ - imx28-duckbill-2-485.dtb \ - imx28-duckbill-2.dtb \ - imx28-duckbill-2-enocean.dtb \ - imx28-duckbill-2-spi.dtb \ - imx28-duckbill.dtb \ - imx28-eukrea-mbmx283lc.dtb \ - imx28-eukrea-mbmx287lc.dtb \ - imx28-evk.dtb \ - imx28-m28cu3.dtb \ - imx28-m28evk.dtb \ - imx28-sps1.dtb \ - imx28-ts4600.dtb \ - imx28-tx28.dtb \ - imx28-xea.dtb +# SPDX-License-Identifier: GPL-2.0 +dtb-$(CONFIG_ARCH_MXS) += \ + imx23-evk.dtb \ + imx23-olinuxino.dtb \ + imx23-sansa.dtb \ + imx23-stmp378x_devb.dtb \ + imx23-xfi3.dtb \ + imx28-apf28.dtb \ + imx28-apf28dev.dtb \ + imx28-apx4devkit.dtb \ + imx28-cfa10036.dtb \ + imx28-cfa10037.dtb \ + imx28-cfa10049.dtb \ + imx28-cfa10055.dtb \ + imx28-cfa10056.dtb \ + imx28-cfa10057.dtb \ + imx28-cfa10058.dtb \ + imx28-duckbill-2-485.dtb \ + imx28-duckbill-2.dtb \ + imx28-duckbill-2-enocean.dtb \ + imx28-duckbill-2-spi.dtb \ + imx28-duckbill.dtb \ + imx28-eukrea-mbmx283lc.dtb \ + imx28-eukrea-mbmx287lc.dtb \ + imx28-evk.dtb \ + imx28-m28cu3.dtb \ + imx28-m28evk.dtb \ + imx28-sps1.dtb \ + imx28-ts4600.dtb \ + imx28-tx28.dtb \ + imx28-xea.dtb diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/mxs/imx28-duckbill-2-485.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/mxs/imx28-duckbill-2-485.dts index e0a5d9c813..b73020ff10 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/mxs/imx28-duckbill-2-485.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/mxs/imx28-duckbill-2-485.dts @@ -1,38 +1,38 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Copyright (C) 2015-2017 I2SE GmbH - * Copyright (C) 2016 Michael Heimpold - */ - -/dts-v1/; -#include "imx28-duckbill-2.dts" - -/ { - model = "I2SE Duckbill 2 485"; - compatible = "i2se,duckbill-2-485", "i2se,duckbill-2", "fsl,imx28"; - - leds { - rs485-red { - label = "duckbill:red:rs485"; - gpios = <&gpio3 24 GPIO_ACTIVE_LOW>; - }; - - rs485-green { - label = "duckbill:green:rs485"; - gpios = <&gpio3 25 GPIO_ACTIVE_LOW>; - }; - }; -}; - -&i2c0 { - status = "disabled"; -}; - -&led_pins { - fsl,pinmux-ids = < - MX28_PAD_SAIF0_MCLK__GPIO_3_20 - MX28_PAD_SAIF0_LRCLK__GPIO_3_21 - MX28_PAD_I2C0_SCL__GPIO_3_24 - MX28_PAD_I2C0_SDA__GPIO_3_25 - >; -}; +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Copyright (C) 2015-2017 I2SE GmbH + * Copyright (C) 2016 Michael Heimpold + */ + +/dts-v1/; +#include "imx28-duckbill-2.dts" + +/ { + model = "I2SE Duckbill 2 485"; + compatible = "i2se,duckbill-2-485", "i2se,duckbill-2", "fsl,imx28"; + + leds { + rs485-red { + label = "duckbill:red:rs485"; + gpios = <&gpio3 24 GPIO_ACTIVE_LOW>; + }; + + rs485-green { + label = "duckbill:green:rs485"; + gpios = <&gpio3 25 GPIO_ACTIVE_LOW>; + }; + }; +}; + +&i2c0 { + status = "disabled"; +}; + +&led_pins { + fsl,pinmux-ids = < + MX28_PAD_SAIF0_MCLK__GPIO_3_20 + MX28_PAD_SAIF0_LRCLK__GPIO_3_21 + MX28_PAD_I2C0_SCL__GPIO_3_24 + MX28_PAD_I2C0_SDA__GPIO_3_25 + >; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/mxs/imx28-m28.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/mxs/imx28-m28.dtsi index 906c3694eb..66facef10b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/mxs/imx28-m28.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/mxs/imx28-m28.dtsi @@ -1,43 +1,43 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Copyright (C) 2014 Marek Vasut - */ - -#include "imx28.dtsi" - -/ { - model = "Aries/DENX M28"; - compatible = "aries,m28", "denx,m28", "fsl,imx28"; - - memory@40000000 { - device_type = "memory"; - reg = <0x40000000 0x08000000>; - }; - - reg_3p3v: regulator-0 { - compatible = "regulator-fixed"; - regulator-name = "3P3V"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - regulator-always-on; - }; -}; - -&gpmi { - #address-cells = <1>; - #size-cells = <1>; - pinctrl-names = "default"; - pinctrl-0 = <&gpmi_pins_a &gpmi_status_cfg>; - status = "okay"; -}; - -&i2c0 { - pinctrl-names = "default"; - pinctrl-0 = <&i2c0_pins_a>; - status = "okay"; - - rtc: rtc@68 { - compatible = "st,m41t62"; - reg = <0x68>; - }; -}; +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Copyright (C) 2014 Marek Vasut + */ + +#include "imx28.dtsi" + +/ { + model = "Aries/DENX M28"; + compatible = "aries,m28", "denx,m28", "fsl,imx28"; + + memory@40000000 { + device_type = "memory"; + reg = <0x40000000 0x08000000>; + }; + + reg_3p3v: regulator-0 { + compatible = "regulator-fixed"; + regulator-name = "3P3V"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-always-on; + }; +}; + +&gpmi { + #address-cells = <1>; + #size-cells = <1>; + pinctrl-names = "default"; + pinctrl-0 = <&gpmi_pins_a &gpmi_status_cfg>; + status = "okay"; +}; + +&i2c0 { + pinctrl-names = "default"; + pinctrl-0 = <&i2c0_pins_a>; + status = "okay"; + + rtc: rtc@68 { + compatible = "st,m41t62"; + reg = <0x68>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/vf/vf610m4-colibri.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/vf/vf610m4-colibri.dts index 070784f5fa..2c2db47af4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/vf/vf610m4-colibri.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/vf/vf610m4-colibri.dts @@ -1,63 +1,63 @@ -// SPDX-License-Identifier: GPL-2.0+ OR MIT -/* - * Device tree for Colibri VF61 Cortex-M4 support - * - * Copyright (C) 2015 Stefan Agner - */ - -/dts-v1/; -#include "vf610m4.dtsi" - -/ { - model = "VF610 Cortex-M4"; - compatible = "fsl,vf610m4"; - - chosen { - bootargs = "clk_ignore_unused init=/linuxrc rw"; - stdout-path = "serial2:115200"; - }; - - memory@8c000000 { - device_type = "memory"; - reg = <0x8c000000 0x3000000>; - }; -}; - -&gpio0 { - status = "disabled"; -}; - -&gpio1 { - status = "disabled"; -}; - -&gpio2 { - status = "disabled"; -}; - -&gpio3 { - status = "disabled"; -}; - -&gpio4 { - status = "disabled"; -}; - -&uart2 { - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_uart2>; - status = "okay"; -}; - -&iomuxc { - vf610-colibri { - pinctrl_uart2: uart2grp { - fsl,pins = < - VF610_PAD_PTD0__UART2_TX 0x21a2 - VF610_PAD_PTD1__UART2_RX 0x21a1 - VF610_PAD_PTD2__UART2_RTS 0x21a2 - VF610_PAD_PTD3__UART2_CTS 0x21a1 - >; - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Device tree for Colibri VF61 Cortex-M4 support + * + * Copyright (C) 2015 Stefan Agner + */ + +/dts-v1/; +#include "vf610m4.dtsi" + +/ { + model = "VF610 Cortex-M4"; + compatible = "fsl,vf610m4"; + + chosen { + bootargs = "clk_ignore_unused init=/linuxrc rw"; + stdout-path = "serial2:115200"; + }; + + memory@8c000000 { + device_type = "memory"; + reg = <0x8c000000 0x3000000>; + }; +}; + +&gpio0 { + status = "disabled"; +}; + +&gpio1 { + status = "disabled"; +}; + +&gpio2 { + status = "disabled"; +}; + +&gpio3 { + status = "disabled"; +}; + +&gpio4 { + status = "disabled"; +}; + +&uart2 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_uart2>; + status = "okay"; +}; + +&iomuxc { + vf610-colibri { + pinctrl_uart2: uart2grp { + fsl,pins = < + VF610_PAD_PTD0__UART2_TX 0x21a2 + VF610_PAD_PTD1__UART2_RX 0x21a1 + VF610_PAD_PTD2__UART2_RTS 0x21a2 + VF610_PAD_PTD3__UART2_CTS 0x21a1 + >; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/pmx65.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/pmx65.dtsi index a13dc569fa..1c7fdf59c1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/pmx65.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/pmx65.dtsi @@ -1,33 +1,33 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (c) 2022, Qualcomm Innovation Center, Inc. All rights reserved. - */ - -#include -#include - -&spmi_bus { - pmic@1 { - compatible = "qcom,pmx65", "qcom,spmi-pmic"; - reg = <1 SPMI_USID>; - #address-cells = <1>; - #size-cells = <0>; - - pmx65_temp: temp-alarm@a00 { - compatible = "qcom,spmi-temp-alarm"; - reg = <0xa00>; - interrupts = <0x1 0xa 0x0 IRQ_TYPE_EDGE_BOTH>; - #thermal-sensor-cells = <0>; - }; - - pmx65_gpios: gpio@8800 { - compatible = "qcom,pmx65-gpio", "qcom,spmi-gpio"; - reg = <0x8800>; - gpio-controller; - gpio-ranges = <&pmx65_gpios 0 0 16>; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (c) 2022, Qualcomm Innovation Center, Inc. All rights reserved. + */ + +#include +#include + +&spmi_bus { + pmic@1 { + compatible = "qcom,pmx65", "qcom,spmi-pmic"; + reg = <1 SPMI_USID>; + #address-cells = <1>; + #size-cells = <0>; + + pmx65_temp: temp-alarm@a00 { + compatible = "qcom,spmi-temp-alarm"; + reg = <0xa00>; + interrupts = <0x1 0xa 0x0 IRQ_TYPE_EDGE_BOTH>; + #thermal-sensor-cells = <0>; + }; + + pmx65_gpios: gpio@8800 { + compatible = "qcom,pmx65-gpio", "qcom,spmi-gpio"; + reg = <0x8800>; + gpio-controller; + gpio-ranges = <&pmx65_gpios 0 0 16>; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-ipq4018-ap120c-ac-bit.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-ipq4018-ap120c-ac-bit.dts index 3c01ae9be9..1b27edce9d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-ipq4018-ap120c-ac-bit.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-ipq4018-ap120c-ac-bit.dts @@ -1,34 +1,34 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT - -#include -#include "qcom-ipq4018-ap120c-ac.dtsi" - -/ { - model = "ALFA Network AP120C-AC Bit"; - - leds { - compatible = "gpio-leds"; - - led-power { - label = "ap120c-ac:green:power"; - function = LED_FUNCTION_POWER; - color = ; - gpios = <&tlmm 5 GPIO_ACTIVE_LOW>; - default-state = "on"; - }; - - led-wlan { - label = "ap120c-ac:green:wlan"; - function = LED_FUNCTION_WLAN; - color = ; - gpios = <&tlmm 3 GPIO_ACTIVE_HIGH>; - }; - - led-support { - label = "ap120c-ac:green:support"; - color = ; - gpios = <&tlmm 2 GPIO_ACTIVE_HIGH>; - panic-indicator; - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT + +#include +#include "qcom-ipq4018-ap120c-ac.dtsi" + +/ { + model = "ALFA Network AP120C-AC Bit"; + + leds { + compatible = "gpio-leds"; + + led-power { + label = "ap120c-ac:green:power"; + function = LED_FUNCTION_POWER; + color = ; + gpios = <&tlmm 5 GPIO_ACTIVE_LOW>; + default-state = "on"; + }; + + led-wlan { + label = "ap120c-ac:green:wlan"; + function = LED_FUNCTION_WLAN; + color = ; + gpios = <&tlmm 3 GPIO_ACTIVE_HIGH>; + }; + + led-support { + label = "ap120c-ac:green:support"; + color = ; + gpios = <&tlmm 2 GPIO_ACTIVE_HIGH>; + panic-indicator; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-ipq4018-ap120c-ac.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-ipq4018-ap120c-ac.dts index 0fcb60dbb3..a707057c88 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-ipq4018-ap120c-ac.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-ipq4018-ap120c-ac.dts @@ -1,34 +1,34 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT - -#include -#include "qcom-ipq4018-ap120c-ac.dtsi" - -/ { - leds { - compatible = "gpio-leds"; - - status: led-status { - label = "ap120c-ac:blue:status"; - function = LED_FUNCTION_STATUS; - color = ; - gpios = <&tlmm 5 GPIO_ACTIVE_LOW>; - default-state = "keep"; - }; - - led-wlan2g { - label = "ap120c-ac:green:wlan2g"; - function = LED_FUNCTION_WLAN; - color = ; - gpios = <&tlmm 3 GPIO_ACTIVE_HIGH>; - linux,default-trigger = "phy0tpt"; - }; - - led-wlan5g { - label = "ap120c-ac:red:wlan5g"; - function = LED_FUNCTION_WLAN; - color = ; - gpios = <&tlmm 2 GPIO_ACTIVE_HIGH>; - linux,default-trigger = "phy1tpt"; - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT + +#include +#include "qcom-ipq4018-ap120c-ac.dtsi" + +/ { + leds { + compatible = "gpio-leds"; + + status: led-status { + label = "ap120c-ac:blue:status"; + function = LED_FUNCTION_STATUS; + color = ; + gpios = <&tlmm 5 GPIO_ACTIVE_LOW>; + default-state = "keep"; + }; + + led-wlan2g { + label = "ap120c-ac:green:wlan2g"; + function = LED_FUNCTION_WLAN; + color = ; + gpios = <&tlmm 3 GPIO_ACTIVE_HIGH>; + linux,default-trigger = "phy0tpt"; + }; + + led-wlan5g { + label = "ap120c-ac:red:wlan5g"; + function = LED_FUNCTION_WLAN; + color = ; + gpios = <&tlmm 2 GPIO_ACTIVE_HIGH>; + linux,default-trigger = "phy1tpt"; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-ipq8062-smb208.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-ipq8062-smb208.dtsi index 096fae93f8..9d06255104 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-ipq8062-smb208.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-ipq8062-smb208.dtsi @@ -1,37 +1,37 @@ -// SPDX-License-Identifier: GPL-2.0-only - -#include "qcom-ipq8062.dtsi" - -&rpm { - smb208_regulators: regulators { - compatible = "qcom,rpm-smb208-regulators"; - - smb208_s1a: s1a { - regulator-min-microvolt = <1050000>; - regulator-max-microvolt = <1150000>; - - qcom,switch-mode-frequency = <1200000>; - }; - - smb208_s1b: s1b { - regulator-min-microvolt = <1050000>; - regulator-max-microvolt = <1150000>; - - qcom,switch-mode-frequency = <1200000>; - }; - - smb208_s2a: s2a { - regulator-min-microvolt = < 800000>; - regulator-max-microvolt = <1150000>; - - qcom,switch-mode-frequency = <1200000>; - }; - - smb208_s2b: s2b { - regulator-min-microvolt = < 800000>; - regulator-max-microvolt = <1150000>; - - qcom,switch-mode-frequency = <1200000>; - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0-only + +#include "qcom-ipq8062.dtsi" + +&rpm { + smb208_regulators: regulators { + compatible = "qcom,rpm-smb208-regulators"; + + smb208_s1a: s1a { + regulator-min-microvolt = <1050000>; + regulator-max-microvolt = <1150000>; + + qcom,switch-mode-frequency = <1200000>; + }; + + smb208_s1b: s1b { + regulator-min-microvolt = <1050000>; + regulator-max-microvolt = <1150000>; + + qcom,switch-mode-frequency = <1200000>; + }; + + smb208_s2a: s2a { + regulator-min-microvolt = < 800000>; + regulator-max-microvolt = <1150000>; + + qcom,switch-mode-frequency = <1200000>; + }; + + smb208_s2b: s2b { + regulator-min-microvolt = < 800000>; + regulator-max-microvolt = <1150000>; + + qcom,switch-mode-frequency = <1200000>; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-ipq8064-smb208.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-ipq8064-smb208.dtsi index 8f093ab45e..ac9c44f0c1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-ipq8064-smb208.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-ipq8064-smb208.dtsi @@ -1,37 +1,37 @@ -// SPDX-License-Identifier: GPL-2.0 - -#include "qcom-ipq8064.dtsi" - -&rpm { - smb208_regulators: regulators { - compatible = "qcom,rpm-smb208-regulators"; - - smb208_s1a: s1a { - regulator-min-microvolt = <1050000>; - regulator-max-microvolt = <1150000>; - - qcom,switch-mode-frequency = <1200000>; - }; - - smb208_s1b: s1b { - regulator-min-microvolt = <1050000>; - regulator-max-microvolt = <1150000>; - - qcom,switch-mode-frequency = <1200000>; - }; - - smb208_s2a: s2a { - regulator-min-microvolt = < 800000>; - regulator-max-microvolt = <1250000>; - - qcom,switch-mode-frequency = <1200000>; - }; - - smb208_s2b: s2b { - regulator-min-microvolt = < 800000>; - regulator-max-microvolt = <1250000>; - - qcom,switch-mode-frequency = <1200000>; - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0 + +#include "qcom-ipq8064.dtsi" + +&rpm { + smb208_regulators: regulators { + compatible = "qcom,rpm-smb208-regulators"; + + smb208_s1a: s1a { + regulator-min-microvolt = <1050000>; + regulator-max-microvolt = <1150000>; + + qcom,switch-mode-frequency = <1200000>; + }; + + smb208_s1b: s1b { + regulator-min-microvolt = <1050000>; + regulator-max-microvolt = <1150000>; + + qcom,switch-mode-frequency = <1200000>; + }; + + smb208_s2a: s2a { + regulator-min-microvolt = < 800000>; + regulator-max-microvolt = <1250000>; + + qcom,switch-mode-frequency = <1200000>; + }; + + smb208_s2b: s2b { + regulator-min-microvolt = < 800000>; + regulator-max-microvolt = <1250000>; + + qcom,switch-mode-frequency = <1200000>; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-ipq8064-v2.0-smb208.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-ipq8064-v2.0-smb208.dtsi index 47bb65e5d0..0442580b22 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-ipq8064-v2.0-smb208.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-ipq8064-v2.0-smb208.dtsi @@ -1,37 +1,37 @@ -// SPDX-License-Identifier: GPL-2.0 - -#include "qcom-ipq8064-v2.0.dtsi" - -&rpm { - smb208_regulators: regulators { - compatible = "qcom,rpm-smb208-regulators"; - - smb208_s1a: s1a { - regulator-min-microvolt = <1050000>; - regulator-max-microvolt = <1150000>; - - qcom,switch-mode-frequency = <1200000>; - }; - - smb208_s1b: s1b { - regulator-min-microvolt = <1050000>; - regulator-max-microvolt = <1150000>; - - qcom,switch-mode-frequency = <1200000>; - }; - - smb208_s2a: s2a { - regulator-min-microvolt = < 800000>; - regulator-max-microvolt = <1250000>; - - qcom,switch-mode-frequency = <1200000>; - }; - - smb208_s2b: s2b { - regulator-min-microvolt = < 800000>; - regulator-max-microvolt = <1250000>; - - qcom,switch-mode-frequency = <1200000>; - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0 + +#include "qcom-ipq8064-v2.0.dtsi" + +&rpm { + smb208_regulators: regulators { + compatible = "qcom,rpm-smb208-regulators"; + + smb208_s1a: s1a { + regulator-min-microvolt = <1050000>; + regulator-max-microvolt = <1150000>; + + qcom,switch-mode-frequency = <1200000>; + }; + + smb208_s1b: s1b { + regulator-min-microvolt = <1050000>; + regulator-max-microvolt = <1150000>; + + qcom,switch-mode-frequency = <1200000>; + }; + + smb208_s2a: s2a { + regulator-min-microvolt = < 800000>; + regulator-max-microvolt = <1250000>; + + qcom,switch-mode-frequency = <1200000>; + }; + + smb208_s2b: s2b { + regulator-min-microvolt = < 800000>; + regulator-max-microvolt = <1250000>; + + qcom,switch-mode-frequency = <1200000>; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-ipq8065-smb208.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-ipq8065-smb208.dtsi index 4ac6269981..803e6ff99e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-ipq8065-smb208.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-ipq8065-smb208.dtsi @@ -1,37 +1,37 @@ -// SPDX-License-Identifier: GPL-2.0 - -#include "qcom-ipq8065.dtsi" - -&rpm { - smb208_regulators: regulators { - compatible = "qcom,rpm-smb208-regulators"; - - smb208_s1a: s1a { - regulator-min-microvolt = <1050000>; - regulator-max-microvolt = <1150000>; - - qcom,switch-mode-frequency = <1200000>; - }; - - smb208_s1b: s1b { - regulator-min-microvolt = <1050000>; - regulator-max-microvolt = <1150000>; - - qcom,switch-mode-frequency = <1200000>; - }; - - smb208_s2a: s2a { - regulator-min-microvolt = <775000>; - regulator-max-microvolt = <1275000>; - - qcom,switch-mode-frequency = <1200000>; - }; - - smb208_s2b: s2b { - regulator-min-microvolt = <775000>; - regulator-max-microvolt = <1275000>; - - qcom,switch-mode-frequency = <1200000>; - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0 + +#include "qcom-ipq8065.dtsi" + +&rpm { + smb208_regulators: regulators { + compatible = "qcom,rpm-smb208-regulators"; + + smb208_s1a: s1a { + regulator-min-microvolt = <1050000>; + regulator-max-microvolt = <1150000>; + + qcom,switch-mode-frequency = <1200000>; + }; + + smb208_s1b: s1b { + regulator-min-microvolt = <1050000>; + regulator-max-microvolt = <1150000>; + + qcom,switch-mode-frequency = <1200000>; + }; + + smb208_s2a: s2a { + regulator-min-microvolt = <775000>; + regulator-max-microvolt = <1275000>; + + qcom,switch-mode-frequency = <1200000>; + }; + + smb208_s2b: s2b { + regulator-min-microvolt = <775000>; + regulator-max-microvolt = <1275000>; + + qcom,switch-mode-frequency = <1200000>; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-msm8226-microsoft-moneypenny.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-msm8226-microsoft-moneypenny.dts index 52ea195042..a28a83cb53 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-msm8226-microsoft-moneypenny.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-msm8226-microsoft-moneypenny.dts @@ -1,26 +1,26 @@ -// 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" - -/* This device has no magnetometer */ -/delete-node/ &magnetometer; - -/ { - model = "Nokia Lumia 630"; - compatible = "microsoft,moneypenny", "qcom,msm8226"; - chassis-type = "handset"; -}; - -&framebuffer { - width = <480>; - height = <854>; - stride = <(480 * 4)>; -}; +// 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" + +/* This device has no magnetometer */ +/delete-node/ &magnetometer; + +/ { + model = "Nokia Lumia 630"; + compatible = "microsoft,moneypenny", "qcom,msm8226"; + chassis-type = "handset"; +}; + +&framebuffer { + width = <480>; + height = <854>; + stride = <(480 * 4)>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-msm8916-smp.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-msm8916-smp.dtsi index aec65db41b..1ba403b83c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-msm8916-smp.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-msm8916-smp.dtsi @@ -1,62 +1,62 @@ -// SPDX-License-Identifier: GPL-2.0-only - -/ { - cpus { - cpu@0 { - enable-method = "qcom,msm8916-smp"; - }; - cpu@1 { - enable-method = "qcom,msm8916-smp"; - }; - cpu@2 { - enable-method = "qcom,msm8916-smp"; - }; - cpu@3 { - enable-method = "qcom,msm8916-smp"; - }; - - idle-states { - /delete-property/ entry-method; - }; - }; - - psci { - status = "disabled"; - }; -}; - -&CPU_SLEEP_0 { - compatible = "qcom,idle-state-spc", "arm,idle-state"; -}; - -&cpu0_acc { - status = "okay"; -}; - -&cpu0_saw { - status = "okay"; -}; - -&cpu1_acc { - status = "okay"; -}; - -&cpu1_saw { - status = "okay"; -}; - -&cpu2_acc { - status = "okay"; -}; - -&cpu2_saw { - status = "okay"; -}; - -&cpu3_acc { - status = "okay"; -}; - -&cpu3_saw { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0-only + +/ { + cpus { + cpu@0 { + enable-method = "qcom,msm8916-smp"; + }; + cpu@1 { + enable-method = "qcom,msm8916-smp"; + }; + cpu@2 { + enable-method = "qcom,msm8916-smp"; + }; + cpu@3 { + enable-method = "qcom,msm8916-smp"; + }; + + idle-states { + /delete-property/ entry-method; + }; + }; + + psci { + status = "disabled"; + }; +}; + +&CPU_SLEEP_0 { + compatible = "qcom,idle-state-spc", "arm,idle-state"; +}; + +&cpu0_acc { + status = "okay"; +}; + +&cpu0_saw { + status = "okay"; +}; + +&cpu1_acc { + status = "okay"; +}; + +&cpu1_saw { + status = "okay"; +}; + +&cpu2_acc { + status = "okay"; +}; + +&cpu2_saw { + status = "okay"; +}; + +&cpu3_acc { + status = "okay"; +}; + +&cpu3_saw { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-msm8926-samsung-matisselte.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-msm8926-samsung-matisselte.dts index c7f83999c0..d0e1bc39f8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-msm8926-samsung-matisselte.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-msm8926-samsung-matisselte.dts @@ -1,37 +1,37 @@ -// SPDX-License-Identifier: BSD-3-Clause -/* - * Copyright (c) 2022, Matti Lehtimäki - * Copyright (c) 2023, Stefan Hansson - */ - -/dts-v1/; - -#include "qcom-msm8226-samsung-matisse-common.dtsi" - -/ { - model = "Samsung Galaxy Tab 4 10.1 LTE"; - compatible = "samsung,matisselte", "qcom,msm8926", "qcom,msm8226"; - chassis-type = "tablet"; - - reg_tsp_3p3v: regulator-tsp-3p3v { - compatible = "regulator-fixed"; - regulator-name = "tsp_3p3v"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - - gpio = <&tlmm 32 GPIO_ACTIVE_HIGH>; - enable-active-high; - - pinctrl-names = "default"; - pinctrl-0 = <&tsp_en1_default_state>; - }; -}; - -&tlmm { - tsp_en1_default_state: tsp-en1-default-state { - pins = "gpio32"; - function = "gpio"; - drive-strength = <2>; - bias-disable; - }; -}; +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2022, Matti Lehtimäki + * Copyright (c) 2023, Stefan Hansson + */ + +/dts-v1/; + +#include "qcom-msm8226-samsung-matisse-common.dtsi" + +/ { + model = "Samsung Galaxy Tab 4 10.1 LTE"; + compatible = "samsung,matisselte", "qcom,msm8926", "qcom,msm8226"; + chassis-type = "tablet"; + + reg_tsp_3p3v: regulator-tsp-3p3v { + compatible = "regulator-fixed"; + regulator-name = "tsp_3p3v"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + + gpio = <&tlmm 32 GPIO_ACTIVE_HIGH>; + enable-active-high; + + pinctrl-names = "default"; + pinctrl-0 = <&tsp_en1_default_state>; + }; +}; + +&tlmm { + tsp_en1_default_state: tsp-en1-default-state { + pins = "gpio32"; + function = "gpio"; + drive-strength = <2>; + bias-disable; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/renesas/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/renesas/Makefile index 52c94b689c..833a02447e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/renesas/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/renesas/Makefile @@ -1,33 +1,33 @@ -# SPDX-License-Identifier: GPL-2.0 -dtb-$(CONFIG_ARCH_RENESAS) += \ - emev2-kzm9d.dtb \ - r7s72100-genmai.dtb \ - r7s72100-gr-peach.dtb \ - r7s72100-rskrza1.dtb \ - r7s9210-rza2mevb.dtb \ - r8a73a4-ape6evm.dtb \ - r8a7740-armadillo800eva.dtb \ - r8a7742-iwg21d-q7.dtb \ - r8a7742-iwg21d-q7-dbcm-ca.dtb \ - r8a7743-iwg20d-q7.dtb \ - r8a7743-iwg20d-q7-dbcm-ca.dtb \ - r8a7743-sk-rzg1m.dtb \ - r8a7744-iwg20d-q7.dtb \ - r8a7744-iwg20d-q7-dbcm-ca.dtb \ - r8a7745-iwg22d-sodimm.dtb \ - r8a7745-iwg22d-sodimm-dbhd-ca.dtb \ - r8a7745-sk-rzg1e.dtb \ - r8a77470-iwg23s-sbc.dtb \ - r8a7778-bockw.dtb \ - r8a7779-marzen.dtb \ - r8a7790-lager.dtb \ - r8a7790-stout.dtb \ - r8a7791-koelsch.dtb \ - r8a7791-porter.dtb \ - r8a7792-blanche.dtb \ - r8a7792-wheat.dtb \ - r8a7793-gose.dtb \ - r8a7794-alt.dtb \ - r8a7794-silk.dtb \ - r9a06g032-rzn1d400-db.dtb \ - sh73a0-kzm9g.dtb +# SPDX-License-Identifier: GPL-2.0 +dtb-$(CONFIG_ARCH_RENESAS) += \ + emev2-kzm9d.dtb \ + r7s72100-genmai.dtb \ + r7s72100-gr-peach.dtb \ + r7s72100-rskrza1.dtb \ + r7s9210-rza2mevb.dtb \ + r8a73a4-ape6evm.dtb \ + r8a7740-armadillo800eva.dtb \ + r8a7742-iwg21d-q7.dtb \ + r8a7742-iwg21d-q7-dbcm-ca.dtb \ + r8a7743-iwg20d-q7.dtb \ + r8a7743-iwg20d-q7-dbcm-ca.dtb \ + r8a7743-sk-rzg1m.dtb \ + r8a7744-iwg20d-q7.dtb \ + r8a7744-iwg20d-q7-dbcm-ca.dtb \ + r8a7745-iwg22d-sodimm.dtb \ + r8a7745-iwg22d-sodimm-dbhd-ca.dtb \ + r8a7745-sk-rzg1e.dtb \ + r8a77470-iwg23s-sbc.dtb \ + r8a7778-bockw.dtb \ + r8a7779-marzen.dtb \ + r8a7790-lager.dtb \ + r8a7790-stout.dtb \ + r8a7791-koelsch.dtb \ + r8a7791-porter.dtb \ + r8a7792-blanche.dtb \ + r8a7792-wheat.dtb \ + r8a7793-gose.dtb \ + r8a7794-alt.dtb \ + r8a7794-silk.dtb \ + r9a06g032-rzn1d400-db.dtb \ + sh73a0-kzm9g.dtb diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/renesas/r8a7742-iwg21d-q7-dbcm-ov5640-single.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/renesas/r8a7742-iwg21d-q7-dbcm-ov5640-single.dtsi index 9ddac20bf0..c73160df61 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/renesas/r8a7742-iwg21d-q7-dbcm-ov5640-single.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/renesas/r8a7742-iwg21d-q7-dbcm-ov5640-single.dtsi @@ -1,37 +1,37 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * This include file ties a VIN interface with a single ov5640 sensor on - * the iWave-RZ/G1H Qseven board development platform connected with the - * camera daughter board. - * - * Copyright (C) 2020 Renesas Electronics Corp. - */ - -#include - -#define CAM_ENABLED 1 - -&CAM_PARENT_I2C { - status = "okay"; - - ov5640@3c { - compatible = "ovti,ov5640"; - reg = <0x3c>; - clocks = <&MCLK_CAM>; - clock-names = "xclk"; - AVDD-supply = <®_2p8v>; - DOVDD-supply = <®_2p8v>; - DVDD-supply = <®_1p8v>; - status = "okay"; - - port { - CAM_EP: endpoint { - bus-width = <8>; - data-shift = <2>; - bus-type = ; - pclk-sample = <1>; - remote-endpoint = <&VIN_EP>; - }; - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * This include file ties a VIN interface with a single ov5640 sensor on + * the iWave-RZ/G1H Qseven board development platform connected with the + * camera daughter board. + * + * Copyright (C) 2020 Renesas Electronics Corp. + */ + +#include + +#define CAM_ENABLED 1 + +&CAM_PARENT_I2C { + status = "okay"; + + ov5640@3c { + compatible = "ovti,ov5640"; + reg = <0x3c>; + clocks = <&MCLK_CAM>; + clock-names = "xclk"; + AVDD-supply = <®_2p8v>; + DOVDD-supply = <®_2p8v>; + DVDD-supply = <®_1p8v>; + status = "okay"; + + port { + CAM_EP: endpoint { + bus-width = <8>; + data-shift = <2>; + bus-type = ; + pclk-sample = <1>; + remote-endpoint = <&VIN_EP>; + }; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/renesas/r8a7742-iwg21d-q7-dbcm-ov7725-single.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/renesas/r8a7742-iwg21d-q7-dbcm-ov7725-single.dtsi index d78fbd3cf6..a7f5cfec64 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/renesas/r8a7742-iwg21d-q7-dbcm-ov7725-single.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/renesas/r8a7742-iwg21d-q7-dbcm-ov7725-single.dtsi @@ -1,31 +1,31 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * This include file ties a VIN interface with a single ov7725 sensor on - * the iWave-RZ/G1H Qseven board development platform connected with the - * camera daughter board. - * - * Copyright (C) 2020 Renesas Electronics Corp. - */ - -#include - -#define CAM_ENABLED 1 - -&CAM_PARENT_I2C { - status = "okay"; - - ov7725@21 { - compatible = "ovti,ov7725"; - reg = <0x21>; - clocks = <&MCLK_CAM>; - status = "okay"; - - port { - CAM_EP: endpoint { - bus-width = <8>; - bus-type = ; - remote-endpoint = <&VIN_EP>; - }; - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * This include file ties a VIN interface with a single ov7725 sensor on + * the iWave-RZ/G1H Qseven board development platform connected with the + * camera daughter board. + * + * Copyright (C) 2020 Renesas Electronics Corp. + */ + +#include + +#define CAM_ENABLED 1 + +&CAM_PARENT_I2C { + status = "okay"; + + ov7725@21 { + compatible = "ovti,ov7725"; + reg = <0x21>; + clocks = <&MCLK_CAM>; + status = "okay"; + + port { + CAM_EP: endpoint { + bus-width = <8>; + bus-type = ; + remote-endpoint = <&VIN_EP>; + }; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/renesas/r8a77xx-aa121td01-panel.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/renesas/r8a77xx-aa121td01-panel.dtsi index 93687db61a..6e7589ea75 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/renesas/r8a77xx-aa121td01-panel.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/renesas/r8a77xx-aa121td01-panel.dtsi @@ -1,39 +1,39 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Common file for the AA121TD01 panel connected to Renesas R-Car boards - * - * Copyright (C) 2015 Renesas Electronics Corp. - */ - -/ { - panel { - compatible = "mitsubishi,aa121td01", "panel-lvds"; - - width-mm = <261>; - height-mm = <163>; - data-mapping = "jeida-18"; - - panel-timing { - /* 1280x800 @60Hz */ - clock-frequency = <71000000>; - hactive = <1280>; - vactive = <800>; - hsync-len = <70>; - hfront-porch = <20>; - hback-porch = <70>; - vsync-len = <5>; - vfront-porch = <3>; - vback-porch = <15>; - }; - - port { - panel_in: endpoint { - remote-endpoint = <&lvds_connector>; - }; - }; - }; -}; - -&lvds_connector { - remote-endpoint = <&panel_in>; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Common file for the AA121TD01 panel connected to Renesas R-Car boards + * + * Copyright (C) 2015 Renesas Electronics Corp. + */ + +/ { + panel { + compatible = "mitsubishi,aa121td01", "panel-lvds"; + + width-mm = <261>; + height-mm = <163>; + data-mapping = "jeida-18"; + + panel-timing { + /* 1280x800 @60Hz */ + clock-frequency = <71000000>; + hactive = <1280>; + vactive = <800>; + hsync-len = <70>; + hfront-porch = <20>; + hback-porch = <70>; + vsync-len = <5>; + vfront-porch = <3>; + vback-porch = <15>; + }; + + port { + panel_in: endpoint { + remote-endpoint = <&lvds_connector>; + }; + }; + }; +}; + +&lvds_connector { + remote-endpoint = <&panel_in>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/rockchip/rk3036-evb.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/rockchip/rk3036-evb.dts index 7520286486..becdc0b664 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/rockchip/rk3036-evb.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/rockchip/rk3036-evb.dts @@ -1,48 +1,48 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) - -/dts-v1/; - -#include "rk3036.dtsi" - -/ { - model = "Rockchip RK3036 Evaluation board"; - compatible = "rockchip,rk3036-evb", "rockchip,rk3036"; - - memory@60000000 { - device_type = "memory"; - reg = <0x60000000 0x40000000>; - }; -}; - -&emac { - phy = <&phy0>; - phy-reset-duration = <10>; /* millisecond */ - phy-reset-gpios = <&gpio2 RK_PC6 GPIO_ACTIVE_LOW>; /* PHY_RST */ - pinctrl-names = "default"; - pinctrl-0 = <&emac_xfer>, <&emac_mdio>; - status = "okay"; - - mdio { - #address-cells = <1>; - #size-cells = <0>; - - phy0: ethernet-phy@0 { - reg = <0>; - }; - }; -}; - -&i2c1 { - status = "okay"; - - hym8563: rtc@51 { - compatible = "haoyu,hym8563"; - reg = <0x51>; - #clock-cells = <0>; - clock-output-names = "xin32k"; - }; -}; - -&uart2 { - status = "okay"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) + +/dts-v1/; + +#include "rk3036.dtsi" + +/ { + model = "Rockchip RK3036 Evaluation board"; + compatible = "rockchip,rk3036-evb", "rockchip,rk3036"; + + memory@60000000 { + device_type = "memory"; + reg = <0x60000000 0x40000000>; + }; +}; + +&emac { + phy = <&phy0>; + phy-reset-duration = <10>; /* millisecond */ + phy-reset-gpios = <&gpio2 RK_PC6 GPIO_ACTIVE_LOW>; /* PHY_RST */ + pinctrl-names = "default"; + pinctrl-0 = <&emac_xfer>, <&emac_mdio>; + status = "okay"; + + mdio { + #address-cells = <1>; + #size-cells = <0>; + + phy0: ethernet-phy@0 { + reg = <0>; + }; + }; +}; + +&i2c1 { + status = "okay"; + + hym8563: rtc@51 { + compatible = "haoyu,hym8563"; + reg = <0x51>; + #clock-cells = <0>; + clock-output-names = "xin32k"; + }; +}; + +&uart2 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/rockchip/rk3288-veyron-mighty.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/rockchip/rk3288-veyron-mighty.dts index 8f3596fecb..fa695a88f2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/rockchip/rk3288-veyron-mighty.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/rockchip/rk3288-veyron-mighty.dts @@ -1,34 +1,34 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Google Veyron Mighty Rev 1+ board device tree source - * - * Copyright 2015 Google, Inc - */ - -/dts-v1/; - -#include "rk3288-veyron-jaq.dts" - -/ { - model = "Google Mighty"; - compatible = "google,veyron-mighty-rev5", "google,veyron-mighty-rev4", - "google,veyron-mighty-rev3", "google,veyron-mighty-rev2", - "google,veyron-mighty-rev1", "google,veyron-mighty", - "google,veyron", "rockchip,rk3288"; -}; - -&sdmmc { - pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd_disabled &sdmmc_cd_pin - &sdmmc_wp_pin &sdmmc_bus4>; - wp-gpios = <&gpio7 10 GPIO_ACTIVE_HIGH>; - - /delete-property/ disable-wp; -}; - -&pinctrl { - sdmmc { - sdmmc_wp_pin: sdmmc-wp-pin { - rockchip,pins = <7 RK_PB2 RK_FUNC_GPIO &pcfg_pull_up>; - }; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Google Veyron Mighty Rev 1+ board device tree source + * + * Copyright 2015 Google, Inc + */ + +/dts-v1/; + +#include "rk3288-veyron-jaq.dts" + +/ { + model = "Google Mighty"; + compatible = "google,veyron-mighty-rev5", "google,veyron-mighty-rev4", + "google,veyron-mighty-rev3", "google,veyron-mighty-rev2", + "google,veyron-mighty-rev1", "google,veyron-mighty", + "google,veyron", "rockchip,rk3288"; +}; + +&sdmmc { + pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd_disabled &sdmmc_cd_pin + &sdmmc_wp_pin &sdmmc_bus4>; + wp-gpios = <&gpio7 10 GPIO_ACTIVE_HIGH>; + + /delete-property/ disable-wp; +}; + +&pinctrl { + sdmmc { + sdmmc_wp_pin: sdmmc-wp-pin { + rockchip,pins = <7 RK_PB2 RK_FUNC_GPIO &pcfg_pull_up>; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/samsung/exynos4212-tab3-3g8.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/samsung/exynos4212-tab3-3g8.dts index 310a0cfd96..d96b2dd446 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/samsung/exynos4212-tab3-3g8.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/samsung/exynos4212-tab3-3g8.dts @@ -1,29 +1,29 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Samsung's Exynos4212 based Galaxy Tab 3 8.0 3G 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 3G (SM-T311) based on Exynos4212"; - compatible = "samsung,t311", "samsung,tab3", "samsung,exynos4212", "samsung,exynos4"; - chassis-type = "tablet"; -}; - -/* Pin control sleep state overrides */ -&sleep0 { - PIN_SLP(gpb-5, INPUT, UP); -}; - -&sleep1 { - PIN_SLP(gpl0-0, OUT0, NONE); - PIN_SLP(gpl1-0, OUT0, NONE); - PIN_SLP(gpl2-4, OUT0, NONE); - PIN_SLP(gpm3-3, OUT1, NONE); -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Samsung's Exynos4212 based Galaxy Tab 3 8.0 3G 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 3G (SM-T311) based on Exynos4212"; + compatible = "samsung,t311", "samsung,tab3", "samsung,exynos4212", "samsung,exynos4"; + chassis-type = "tablet"; +}; + +/* Pin control sleep state overrides */ +&sleep0 { + PIN_SLP(gpb-5, INPUT, UP); +}; + +&sleep1 { + PIN_SLP(gpl0-0, OUT0, NONE); + PIN_SLP(gpl1-0, OUT0, NONE); + PIN_SLP(gpl2-4, OUT0, NONE); + PIN_SLP(gpm3-3, OUT1, NONE); +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/samsung/exynos4212-tab3-lte8.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/samsung/exynos4212-tab3-lte8.dts index 58c0b25cc7..bbb398eca7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/samsung/exynos4212-tab3-lte8.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/samsung/exynos4212-tab3-lte8.dts @@ -1,44 +1,44 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Samsung's Exynos4212 based Galaxy Tab 3 8.0 LTE 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 LTE (SM-T315) based on Exynos4212"; - compatible = "samsung,t315", "samsung,tab3", "samsung,exynos4212", "samsung,exynos4"; - chassis-type = "tablet"; -}; - -/* Pin control sleep state overrides */ -&sleep0 { - PIN_SLP(gpa0-4, INPUT, UP); - PIN_SLP(gpa0-5, INPUT, UP); - - PIN_SLP(gpb-5, INPUT, UP); - - PIN_SLP(gpc0-0, PREV, NONE); - PIN_SLP(gpc1-3, INPUT, NONE); - - PIN_SLP(gpf1-6, INPUT, NONE); - PIN_SLP(gpf2-2, PREV, NONE); -}; - -&sleep1 { - PIN_SLP(gpl0-0, PREV, NONE); - - PIN_SLP(gpl1-0, PREV, NONE); - - PIN_SLP(gpl2-1, INPUT, DOWN); - PIN_SLP(gpl2-2, INPUT, DOWN); - PIN_SLP(gpl2-4, OUT0, NONE); - PIN_SLP(gpl2-5, PREV, NONE); - - PIN_SLP(gpm3-3, OUT1, NONE); -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Samsung's Exynos4212 based Galaxy Tab 3 8.0 LTE 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 LTE (SM-T315) based on Exynos4212"; + compatible = "samsung,t315", "samsung,tab3", "samsung,exynos4212", "samsung,exynos4"; + chassis-type = "tablet"; +}; + +/* Pin control sleep state overrides */ +&sleep0 { + PIN_SLP(gpa0-4, INPUT, UP); + PIN_SLP(gpa0-5, INPUT, UP); + + PIN_SLP(gpb-5, INPUT, UP); + + PIN_SLP(gpc0-0, PREV, NONE); + PIN_SLP(gpc1-3, INPUT, NONE); + + PIN_SLP(gpf1-6, INPUT, NONE); + PIN_SLP(gpf2-2, PREV, NONE); +}; + +&sleep1 { + PIN_SLP(gpl0-0, PREV, NONE); + + PIN_SLP(gpl1-0, PREV, NONE); + + PIN_SLP(gpl2-1, INPUT, DOWN); + PIN_SLP(gpl2-2, INPUT, DOWN); + PIN_SLP(gpl2-4, OUT0, NONE); + PIN_SLP(gpl2-5, PREV, NONE); + + PIN_SLP(gpm3-3, OUT1, NONE); +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/samsung/exynos4412-ppmu-common.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/samsung/exynos4412-ppmu-common.dtsi index ebe8298790..7f187a3ded 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/samsung/exynos4412-ppmu-common.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/samsung/exynos4412-ppmu-common.dtsi @@ -1,47 +1,47 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Device tree sources for Exynos4412 PPMU common device tree - * - * Copyright (C) 2015 Samsung Electronics - * Author: Chanwoo Choi - */ - -&ppmu_dmc0 { - status = "okay"; - - events { - ppmu_dmc0_3: ppmu-event3-dmc0 { - event-name = "ppmu-event3-dmc0"; - }; - }; -}; - -&ppmu_dmc1 { - status = "okay"; - - events { - ppmu_dmc1_3: ppmu-event3-dmc1 { - event-name = "ppmu-event3-dmc1"; - }; - }; -}; - -&ppmu_leftbus { - status = "okay"; - - events { - ppmu_leftbus_3: ppmu-event3-leftbus { - event-name = "ppmu-event3-leftbus"; - }; - }; -}; - -&ppmu_rightbus { - status = "okay"; - - events { - ppmu_rightbus_3: ppmu-event3-rightbus { - event-name = "ppmu-event3-rightbus"; - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Device tree sources for Exynos4412 PPMU common device tree + * + * Copyright (C) 2015 Samsung Electronics + * Author: Chanwoo Choi + */ + +&ppmu_dmc0 { + status = "okay"; + + events { + ppmu_dmc0_3: ppmu-event3-dmc0 { + event-name = "ppmu-event3-dmc0"; + }; + }; +}; + +&ppmu_dmc1 { + status = "okay"; + + events { + ppmu_dmc1_3: ppmu-event3-dmc1 { + event-name = "ppmu-event3-dmc1"; + }; + }; +}; + +&ppmu_leftbus { + status = "okay"; + + events { + ppmu_leftbus_3: ppmu-event3-leftbus { + event-name = "ppmu-event3-leftbus"; + }; + }; +}; + +&ppmu_rightbus { + status = "okay"; + + events { + ppmu_rightbus_3: ppmu-event3-rightbus { + event-name = "ppmu-event3-rightbus"; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/samsung/exynos4412-trats2.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/samsung/exynos4412-trats2.dts index 991c567176..3c2d2a7836 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/samsung/exynos4412-trats2.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/samsung/exynos4412-trats2.dts @@ -1,29 +1,29 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Samsung's Exynos4412 based Trats 2 board device tree source - * - * Copyright (c) 2013 Samsung Electronics Co., Ltd. - * http://www.samsung.com - * - * Device tree source file for Samsung's Trats 2 board which is based on - * Samsung's Exynos4412 SoC. - */ - -/dts-v1/; -#include "exynos4412-galaxy-s3.dtsi" - -/ { - model = "Samsung Trats 2 based on Exynos4412"; - compatible = "samsung,trats2", "samsung,midas", "samsung,exynos4412", "samsung,exynos4"; - chassis-type = "handset"; - - memory@40000000 { - device_type = "memory"; - reg = <0x40000000 0x40000000>; - }; - - chosen { - bootargs = "root=/dev/mmcblk0p5 rootwait earlyprintk panic=5"; - stdout-path = "serial2:115200n8"; - }; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Samsung's Exynos4412 based Trats 2 board device tree source + * + * Copyright (c) 2013 Samsung Electronics Co., Ltd. + * http://www.samsung.com + * + * Device tree source file for Samsung's Trats 2 board which is based on + * Samsung's Exynos4412 SoC. + */ + +/dts-v1/; +#include "exynos4412-galaxy-s3.dtsi" + +/ { + model = "Samsung Trats 2 based on Exynos4412"; + compatible = "samsung,trats2", "samsung,midas", "samsung,exynos4412", "samsung,exynos4"; + chassis-type = "handset"; + + memory@40000000 { + device_type = "memory"; + reg = <0x40000000 0x40000000>; + }; + + chosen { + bootargs = "root=/dev/mmcblk0p5 rootwait earlyprintk panic=5"; + stdout-path = "serial2:115200n8"; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/samsung/exynos5420-trip-points.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/samsung/exynos5420-trip-points.dtsi index 515c21b762..a67a380717 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/samsung/exynos5420-trip-points.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/samsung/exynos5420-trip-points.dtsi @@ -1,31 +1,31 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Device tree sources for default Exynos5420 thermal zone definition - * - * Copyright (c) 2014 Lukasz Majewski - */ - -polling-delay-passive = <0>; -polling-delay = <0>; -trips { - cpu-alert-0 { - temperature = <85000>; /* millicelsius */ - hysteresis = <10000>; /* millicelsius */ - type = "active"; - }; - cpu-alert-1 { - temperature = <103000>; /* millicelsius */ - hysteresis = <10000>; /* millicelsius */ - type = "active"; - }; - cpu-alert-2 { - temperature = <110000>; /* millicelsius */ - hysteresis = <10000>; /* millicelsius */ - type = "active"; - }; - cpu-crit-0 { - temperature = <120000>; /* millicelsius */ - hysteresis = <0>; /* millicelsius */ - type = "critical"; - }; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Device tree sources for default Exynos5420 thermal zone definition + * + * Copyright (c) 2014 Lukasz Majewski + */ + +polling-delay-passive = <0>; +polling-delay = <0>; +trips { + cpu-alert-0 { + temperature = <85000>; /* millicelsius */ + hysteresis = <10000>; /* millicelsius */ + type = "active"; + }; + cpu-alert-1 { + temperature = <103000>; /* millicelsius */ + hysteresis = <10000>; /* millicelsius */ + type = "active"; + }; + cpu-alert-2 { + temperature = <110000>; /* millicelsius */ + hysteresis = <10000>; /* millicelsius */ + type = "active"; + }; + cpu-crit-0 { + temperature = <120000>; /* millicelsius */ + hysteresis = <0>; /* millicelsius */ + type = "critical"; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/samsung/s3c6400.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/samsung/s3c6400.dtsi index 8c47a5eaca..7cc785a638 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/samsung/s3c6400.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/samsung/s3c6400.dtsi @@ -1,38 +1,38 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Samsung's S3C6400 SoC device tree source - * - * Copyright (c) 2013 Tomasz Figa - * - * Samsung's S3C6400 SoC device nodes are listed in this file. S3C6400 - * based board files can include this file and provide values for board specific - * bindings. - * - * Note: This file does not include device nodes for all the controllers in - * S3C6400 SoC. As device tree coverage for S3C6400 increases, additional - * nodes can be added to this file. - */ - -#include "s3c64xx.dtsi" - -/ { - compatible = "samsung,s3c6400"; -}; - -&vic0 { - valid-mask = <0xfffffe1f>; - valid-wakeup-mask = <0x00200004>; -}; - -&vic1 { - valid-mask = <0xffffffff>; - valid-wakeup-mask = <0x53020000>; -}; - -&soc { - clocks: clock-controller@7e00f000 { - compatible = "samsung,s3c6400-clock"; - reg = <0x7e00f000 0x1000>; - #clock-cells = <1>; - }; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Samsung's S3C6400 SoC device tree source + * + * Copyright (c) 2013 Tomasz Figa + * + * Samsung's S3C6400 SoC device nodes are listed in this file. S3C6400 + * based board files can include this file and provide values for board specific + * bindings. + * + * Note: This file does not include device nodes for all the controllers in + * S3C6400 SoC. As device tree coverage for S3C6400 increases, additional + * nodes can be added to this file. + */ + +#include "s3c64xx.dtsi" + +/ { + compatible = "samsung,s3c6400"; +}; + +&vic0 { + valid-mask = <0xfffffe1f>; + valid-wakeup-mask = <0x00200004>; +}; + +&vic1 { + valid-mask = <0xffffffff>; + valid-wakeup-mask = <0x53020000>; +}; + +&soc { + clocks: clock-controller@7e00f000 { + compatible = "samsung,s3c6400-clock"; + reg = <0x7e00f000 0x1000>; + #clock-cells = <1>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/samsung/s3c64xx-pinctrl.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/samsung/s3c64xx-pinctrl.h index 0d4c6f9598..645c591db3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/samsung/s3c64xx-pinctrl.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/samsung/s3c64xx-pinctrl.h @@ -1,27 +1,27 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Samsung S3C64xx DTS pinctrl constants - * - * Copyright (c) 2016 Samsung Electronics Co., Ltd. - * http://www.samsung.com - * Copyright (c) 2022 Linaro Ltd - * Author: Krzysztof Kozlowski - */ - -#ifndef __DTS_ARM_SAMSUNG_S3C64XX_PINCTRL_H__ -#define __DTS_ARM_SAMSUNG_S3C64XX_PINCTRL_H__ - -#define S3C64XX_PIN_PULL_NONE 0 -#define S3C64XX_PIN_PULL_DOWN 1 -#define S3C64XX_PIN_PULL_UP 2 - -#define S3C64XX_PIN_FUNC_INPUT 0 -#define S3C64XX_PIN_FUNC_OUTPUT 1 -#define S3C64XX_PIN_FUNC_2 2 -#define S3C64XX_PIN_FUNC_3 3 -#define S3C64XX_PIN_FUNC_4 4 -#define S3C64XX_PIN_FUNC_5 5 -#define S3C64XX_PIN_FUNC_6 6 -#define S3C64XX_PIN_FUNC_EINT 7 - -#endif /* __DTS_ARM_SAMSUNG_S3C64XX_PINCTRL_H__ */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Samsung S3C64xx DTS pinctrl constants + * + * Copyright (c) 2016 Samsung Electronics Co., Ltd. + * http://www.samsung.com + * Copyright (c) 2022 Linaro Ltd + * Author: Krzysztof Kozlowski + */ + +#ifndef __DTS_ARM_SAMSUNG_S3C64XX_PINCTRL_H__ +#define __DTS_ARM_SAMSUNG_S3C64XX_PINCTRL_H__ + +#define S3C64XX_PIN_PULL_NONE 0 +#define S3C64XX_PIN_PULL_DOWN 1 +#define S3C64XX_PIN_PULL_UP 2 + +#define S3C64XX_PIN_FUNC_INPUT 0 +#define S3C64XX_PIN_FUNC_OUTPUT 1 +#define S3C64XX_PIN_FUNC_2 2 +#define S3C64XX_PIN_FUNC_3 3 +#define S3C64XX_PIN_FUNC_4 4 +#define S3C64XX_PIN_FUNC_5 5 +#define S3C64XX_PIN_FUNC_6 6 +#define S3C64XX_PIN_FUNC_EINT 7 + +#endif /* __DTS_ARM_SAMSUNG_S3C64XX_PINCTRL_H__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sigmastar/mstar-infinity.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sigmastar/mstar-infinity.dtsi index 8fa136320f..441a917b88 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sigmastar/mstar-infinity.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sigmastar/mstar-infinity.dtsi @@ -1,52 +1,52 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Copyright (c) 2020 thingy.jp. - * Author: Daniel Palmer - */ - -#include "mstar-v7.dtsi" - -#include - -/ { - cpu0_opp_table: opp_table0 { - compatible = "operating-points-v2"; - opp-shared; - - opp-240000000 { - opp-hz = /bits/ 64 <240000000>; - opp-microvolt = <1000000>; - clock-latency-ns = <300000>; - }; - - opp-400000000 { - opp-hz = /bits/ 64 <400000000>; - opp-microvolt = <1000000>; - clock-latency-ns = <300000>; - }; - opp-600000000 { - opp-hz = /bits/ 64 <600000000>; - opp-microvolt = <1000000>; - clock-latency-ns = <300000>; - }; - - opp-800000000 { - opp-hz = /bits/ 64 <800000000>; - opp-microvolt = <1000000>; - clock-latency-ns = <300000>; - }; - }; -}; - -&cpu0 { - operating-points-v2 = <&cpu0_opp_table>; -}; - -&imi { - reg = <0xa0000000 0x16000>; -}; - -&gpio { - compatible = "mstar,msc313-gpio"; - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Copyright (c) 2020 thingy.jp. + * Author: Daniel Palmer + */ + +#include "mstar-v7.dtsi" + +#include + +/ { + cpu0_opp_table: opp_table0 { + compatible = "operating-points-v2"; + opp-shared; + + opp-240000000 { + opp-hz = /bits/ 64 <240000000>; + opp-microvolt = <1000000>; + clock-latency-ns = <300000>; + }; + + opp-400000000 { + opp-hz = /bits/ 64 <400000000>; + opp-microvolt = <1000000>; + clock-latency-ns = <300000>; + }; + opp-600000000 { + opp-hz = /bits/ 64 <600000000>; + opp-microvolt = <1000000>; + clock-latency-ns = <300000>; + }; + + opp-800000000 { + opp-hz = /bits/ 64 <800000000>; + opp-microvolt = <1000000>; + clock-latency-ns = <300000>; + }; + }; +}; + +&cpu0 { + operating-points-v2 = <&cpu0_opp_table>; +}; + +&imi { + reg = <0xa0000000 0x16000>; +}; + +&gpio { + compatible = "mstar,msc313-gpio"; + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sigmastar/mstar-infinity2m.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sigmastar/mstar-infinity2m.dtsi index 3a0215a74d..1b485efd71 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sigmastar/mstar-infinity2m.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sigmastar/mstar-infinity2m.dtsi @@ -1,39 +1,39 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Copyright (c) 2020 thingy.jp. - * Author: Daniel Palmer - */ - -#include "mstar-infinity.dtsi" - -&cpu0_opp_table { - opp-1000000000 { - opp-hz = /bits/ 64 <1000000000>; - opp-microvolt = <1000000>; - clock-latency-ns = <300000>; - }; - - opp-1200000000 { - opp-hz = /bits/ 64 <1200000000>; - opp-microvolt = <1000000>; - clock-latency-ns = <300000>; - }; -}; - -&cpus { - cpu1: cpu@1 { - device_type = "cpu"; - compatible = "arm,cortex-a7"; - operating-points-v2 = <&cpu0_opp_table>; - reg = <0x1>; - clocks = <&cpupll>; - clock-names = "cpuclk"; - }; -}; - -&riu { - smpctrl: smpctrl@204000 { - reg = <0x204000 0x200>; - status = "disabled"; - }; -}; +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Copyright (c) 2020 thingy.jp. + * Author: Daniel Palmer + */ + +#include "mstar-infinity.dtsi" + +&cpu0_opp_table { + opp-1000000000 { + opp-hz = /bits/ 64 <1000000000>; + opp-microvolt = <1000000>; + clock-latency-ns = <300000>; + }; + + opp-1200000000 { + opp-hz = /bits/ 64 <1200000000>; + opp-microvolt = <1000000>; + clock-latency-ns = <300000>; + }; +}; + +&cpus { + cpu1: cpu@1 { + device_type = "cpu"; + compatible = "arm,cortex-a7"; + operating-points-v2 = <&cpu0_opp_table>; + reg = <0x1>; + clocks = <&cpupll>; + clock-names = "cpuclk"; + }; +}; + +&riu { + smpctrl: smpctrl@204000 { + reg = <0x204000 0x200>; + status = "disabled"; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/socionext/uniphier-ld6b.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/socionext/uniphier-ld6b.dtsi index 87d52a5e12..4d07a94c6b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/socionext/uniphier-ld6b.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/socionext/uniphier-ld6b.dtsi @@ -1,30 +1,30 @@ -// SPDX-License-Identifier: GPL-2.0+ OR MIT -// -// Device Tree Source for UniPhier LD6b SoC -// -// Copyright (C) 2015-2016 Socionext Inc. -// Author: Masahiro Yamada - -/* - * LD6b consists of two silicon dies: D-chip and A-chip. - * The D-chip (digital chip) is the same as the PXs2 die. - * Reuse the PXs2 device tree with some properties overridden. - */ -#include "uniphier-pxs2.dtsi" - -/ { - compatible = "socionext,uniphier-ld6b"; -}; - -/* UART3 unavailable: the pads are not wired to the package balls */ -&serial3 { - status = "disabled"; -}; - -/* - * LD6b and PXs2 have completely different packages, - * which makes the pinctrl driver unshareable. - */ -&pinctrl { - compatible = "socionext,uniphier-ld6b-pinctrl"; -}; +// SPDX-License-Identifier: GPL-2.0+ OR MIT +// +// Device Tree Source for UniPhier LD6b SoC +// +// Copyright (C) 2015-2016 Socionext Inc. +// Author: Masahiro Yamada + +/* + * LD6b consists of two silicon dies: D-chip and A-chip. + * The D-chip (digital chip) is the same as the PXs2 die. + * Reuse the PXs2 device tree with some properties overridden. + */ +#include "uniphier-pxs2.dtsi" + +/ { + compatible = "socionext,uniphier-ld6b"; +}; + +/* UART3 unavailable: the pads are not wired to the package balls */ +&serial3 { + status = "disabled"; +}; + +/* + * LD6b and PXs2 have completely different packages, + * which makes the pinctrl driver unshareable. + */ +&pinctrl { + compatible = "socionext,uniphier-ld6b-pinctrl"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/socionext/uniphier-pro5-proex.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/socionext/uniphier-pro5-proex.dts index 3e3fe5187c..2cfb84f73c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/socionext/uniphier-pro5-proex.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/socionext/uniphier-pro5-proex.dts @@ -1,59 +1,59 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Device Tree Source for UniPhier Pro5 ProEX Board - * - * Copyright (C) 2021 Socionext Inc. - * Author: Kunihiko Hayashi - */ - -/dts-v1/; -#include "uniphier-pro5.dtsi" - -/ { - model = "UniPhier Pro5 ProEX Board"; - compatible = "socionext,uniphier-pro5-proex", "socionext,uniphier-pro5"; - - chosen { - stdout-path = "serial2:115200n8"; - }; - - aliases { - serial1 = &serial1; - serial2 = &serial2; - i2c0 = &i2c0; - i2c1 = &i2c3; - }; - - memory@80000000 { - device_type = "memory"; - reg = <0x80000000 0x40000000>; - }; -}; - -&serial1 { - status = "okay"; -}; - -&serial2 { - status = "okay"; -}; - -&i2c0 { - status = "okay"; -}; - -&i2c3 { - status = "okay"; -}; - -&usb1 { - status = "okay"; -}; - -&emmc { - status = "okay"; -}; - -&pcie_ep { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Device Tree Source for UniPhier Pro5 ProEX Board + * + * Copyright (C) 2021 Socionext Inc. + * Author: Kunihiko Hayashi + */ + +/dts-v1/; +#include "uniphier-pro5.dtsi" + +/ { + model = "UniPhier Pro5 ProEX Board"; + compatible = "socionext,uniphier-pro5-proex", "socionext,uniphier-pro5"; + + chosen { + stdout-path = "serial2:115200n8"; + }; + + aliases { + serial1 = &serial1; + serial2 = &serial2; + i2c0 = &i2c0; + i2c1 = &i2c3; + }; + + memory@80000000 { + device_type = "memory"; + reg = <0x80000000 0x40000000>; + }; +}; + +&serial1 { + status = "okay"; +}; + +&serial2 { + status = "okay"; +}; + +&i2c0 { + status = "okay"; +}; + +&i2c3 { + status = "okay"; +}; + +&usb1 { + status = "okay"; +}; + +&emmc { + status = "okay"; +}; + +&pcie_ep { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/socionext/uniphier-support-card.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/socionext/uniphier-support-card.dtsi index d6905f213f..97e7d5db8e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/socionext/uniphier-support-card.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/socionext/uniphier-support-card.dtsi @@ -1,27 +1,27 @@ -// SPDX-License-Identifier: GPL-2.0+ OR MIT -// -// Device Tree Source for UniPhier Support Card (Expansion Board) -// -// Copyright (C) 2015-2017 Socionext Inc. -// Author: Masahiro Yamada - -&system_bus { - status = "okay"; - ranges = <1 0x00000000 0x42000000 0x02000000>; - - ethsc: ethernet@1,1f00000 { - compatible = "smsc,lan9118", "smsc,lan9115"; - reg = <1 0x01f00000 0x1000>; - phy-mode = "mii"; - reg-io-width = <4>; - interrupt-parent = <&gpio>; - }; - - serialsc: serial@1,1fb0000 { - compatible = "ns16550a"; - reg = <1 0x01fb0000 0x20>; - clock-frequency = <12288000>; - reg-shift = <1>; - interrupt-parent = <&gpio>; - }; -}; +// SPDX-License-Identifier: GPL-2.0+ OR MIT +// +// Device Tree Source for UniPhier Support Card (Expansion Board) +// +// Copyright (C) 2015-2017 Socionext Inc. +// Author: Masahiro Yamada + +&system_bus { + status = "okay"; + ranges = <1 0x00000000 0x42000000 0x02000000>; + + ethsc: ethernet@1,1f00000 { + compatible = "smsc,lan9118", "smsc,lan9115"; + reg = <1 0x01f00000 0x1000>; + phy-mode = "mii"; + reg-io-width = <4>; + interrupt-parent = <&gpio>; + }; + + serialsc: serial@1,1fb0000 { + compatible = "ns16550a"; + reg = <1 0x01fb0000 0x20>; + clock-frequency = <12288000>; + reg-shift = <1>; + interrupt-parent = <&gpio>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/ste-db8500.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/ste-db8500.dtsi index ddf6a42f5a..f1ff3f4835 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/ste-db8500.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/ste-db8500.dtsi @@ -1,52 +1,52 @@ -// SPDX-License-Identifier: GPL-2.0-or-later - -#include "ste-dbx5x0.dtsi" - -/ { - cpus { - cpu@300 { - operating-points = <998400 0 - 798720 0 - 399360 0 - 199680 0>; - }; - }; - - reserved-memory { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - /* Modem trace memory */ - ram@6000000 { - reg = <0x06000000 0x00f00000>; - no-map; - }; - - /* Modem shared memory */ - ram@6f00000 { - reg = <0x06f00000 0x00100000>; - no-map; - }; - - /* Modem private memory */ - ram@7000000 { - reg = <0x07000000 0x01000000>; - no-map; - }; - - /* - * Initial Secure Software ISSW memory - * - * This is probably only used if the kernel tries - * to actually call into trustzone to run secure - * applications, which the mainline kernel probably - * will not do on this old chipset. But you can never - * be too careful, so reserve this memory anyway. - */ - ram@17f00000 { - reg = <0x17f00000 0x00100000>; - no-map; - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0-or-later + +#include "ste-dbx5x0.dtsi" + +/ { + cpus { + cpu@300 { + operating-points = <998400 0 + 798720 0 + 399360 0 + 199680 0>; + }; + }; + + reserved-memory { + #address-cells = <1>; + #size-cells = <1>; + ranges; + + /* Modem trace memory */ + ram@6000000 { + reg = <0x06000000 0x00f00000>; + no-map; + }; + + /* Modem shared memory */ + ram@6f00000 { + reg = <0x06f00000 0x00100000>; + no-map; + }; + + /* Modem private memory */ + ram@7000000 { + reg = <0x07000000 0x01000000>; + no-map; + }; + + /* + * Initial Secure Software ISSW memory + * + * This is probably only used if the kernel tries + * to actually call into trustzone to run secure + * applications, which the mainline kernel probably + * will not do on this old chipset. But you can never + * be too careful, so reserve this memory anyway. + */ + ram@17f00000 { + reg = <0x17f00000 0x00100000>; + no-map; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/ste-db8520.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/ste-db8520.dtsi index 8a0eda0a53..e4e8d5fc1f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/ste-db8520.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/ste-db8520.dtsi @@ -1,52 +1,52 @@ -// SPDX-License-Identifier: GPL-2.0-or-later - -#include "ste-dbx5x0.dtsi" - -/ { - cpus { - cpu@300 { - operating-points = <1152000 0 - 798720 0 - 399360 0 - 199680 0>; - }; - }; - - reserved-memory { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - /* Modem trace memory */ - ram@6000000 { - reg = <0x06000000 0x00f00000>; - no-map; - }; - - /* Modem shared memory */ - ram@6f00000 { - reg = <0x06f00000 0x00100000>; - no-map; - }; - - /* Modem private memory */ - ram@7000000 { - reg = <0x07000000 0x01000000>; - no-map; - }; - - /* - * Initial Secure Software ISSW memory - * - * This is probably only used if the kernel tries - * to actually call into trustzone to run secure - * applications, which the mainline kernel probably - * will not do on this old chipset. But you can never - * be too careful, so reserve this memory anyway. - */ - ram@17f00000 { - reg = <0x17f00000 0x00100000>; - no-map; - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0-or-later + +#include "ste-dbx5x0.dtsi" + +/ { + cpus { + cpu@300 { + operating-points = <1152000 0 + 798720 0 + 399360 0 + 199680 0>; + }; + }; + + reserved-memory { + #address-cells = <1>; + #size-cells = <1>; + ranges; + + /* Modem trace memory */ + ram@6000000 { + reg = <0x06000000 0x00f00000>; + no-map; + }; + + /* Modem shared memory */ + ram@6f00000 { + reg = <0x06f00000 0x00100000>; + no-map; + }; + + /* Modem private memory */ + ram@7000000 { + reg = <0x07000000 0x01000000>; + no-map; + }; + + /* + * Initial Secure Software ISSW memory + * + * This is probably only used if the kernel tries + * to actually call into trustzone to run secure + * applications, which the mainline kernel probably + * will not do on this old chipset. But you can never + * be too careful, so reserve this memory anyway. + */ + ram@17f00000 { + reg = <0x17f00000 0x00100000>; + no-map; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/ste-db9500.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/ste-db9500.dtsi index 188757f615..4273d36e88 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/ste-db9500.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/ste-db9500.dtsi @@ -1,34 +1,34 @@ -// SPDX-License-Identifier: GPL-2.0-or-later - -#include "ste-dbx5x0.dtsi" - -/ { - cpus { - cpu@300 { - operating-points = <998400 0 - 798720 0 - 399360 0 - 199680 0>; - }; - }; - - reserved-memory { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - /* - * Initial Secure Software ISSW memory - * - * This is probably only used if the kernel tries - * to actually call into trustzone to run secure - * applications, which the mainline kernel probably - * will not do on this old chipset. But you can never - * be too careful, so reserve this memory anyway. - */ - ram@17f00000 { - reg = <0x17f00000 0x00100000>; - no-map; - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0-or-later + +#include "ste-dbx5x0.dtsi" + +/ { + cpus { + cpu@300 { + operating-points = <998400 0 + 798720 0 + 399360 0 + 199680 0>; + }; + }; + + reserved-memory { + #address-cells = <1>; + #size-cells = <1>; + ranges; + + /* + * Initial Secure Software ISSW memory + * + * This is probably only used if the kernel tries + * to actually call into trustzone to run secure + * applications, which the mainline kernel probably + * will not do on this old chipset. But you can never + * be too careful, so reserve this memory anyway. + */ + ram@17f00000 { + reg = <0x17f00000 0x00100000>; + no-map; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/ste-hrefprev60-tvk.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/ste-hrefprev60-tvk.dts index ac971843a3..5da1ff41b0 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/ste-hrefprev60-tvk.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/ste-hrefprev60-tvk.dts @@ -1,34 +1,34 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Copyright 2012 ST-Ericsson AB - */ - -/dts-v1/; -#include "ste-db8500.dtsi" -#include "ste-href-ab8500.dtsi" -#include "ste-hrefprev60.dtsi" -#include "ste-href-tvk1281618-r2.dtsi" - -/ { - model = "ST-Ericsson HREF (pre-v60) and TVK1281618 R2 UIB"; - compatible = "st-ericsson,mop500", "st-ericsson,u8500"; - - /* ST6G3244ME level translator for 1.8/2.9 V */ - vmmci: regulator-gpio { - compatible = "regulator-gpio"; - - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <2900000>; - regulator-name = "mmci-reg"; - regulator-type = "voltage"; - - startup-delay-us = <100>; - - states = <1800000 0x1 - 2900000 0x0>; - - gpios = <&tc3589x_gpio 18 GPIO_ACTIVE_HIGH>; - enable-gpios = <&tc3589x_gpio 17 GPIO_ACTIVE_HIGH>; - enable-active-high; - }; -}; +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Copyright 2012 ST-Ericsson AB + */ + +/dts-v1/; +#include "ste-db8500.dtsi" +#include "ste-href-ab8500.dtsi" +#include "ste-hrefprev60.dtsi" +#include "ste-href-tvk1281618-r2.dtsi" + +/ { + model = "ST-Ericsson HREF (pre-v60) and TVK1281618 R2 UIB"; + compatible = "st-ericsson,mop500", "st-ericsson,u8500"; + + /* ST6G3244ME level translator for 1.8/2.9 V */ + vmmci: regulator-gpio { + compatible = "regulator-gpio"; + + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <2900000>; + regulator-name = "mmci-reg"; + regulator-type = "voltage"; + + startup-delay-us = <100>; + + states = <1800000 0x1 + 2900000 0x0>; + + gpios = <&tc3589x_gpio 18 GPIO_ACTIVE_HIGH>; + enable-gpios = <&tc3589x_gpio 17 GPIO_ACTIVE_HIGH>; + enable-active-high; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stm32f769.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stm32f769.dtsi index b1eb7b0da5..e8cbb99e81 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stm32f769.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stm32f769.dtsi @@ -1,37 +1,37 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright (c) 2023 Dario Binacchi - */ - -#include "stm32f746.dtsi" - -/ { - soc { - can3: can@40003400 { - compatible = "st,stm32f4-bxcan"; - reg = <0x40003400 0x200>; - interrupts = <104>, <105>, <106>, <107>; - interrupt-names = "tx", "rx0", "rx1", "sce"; - resets = <&rcc STM32F7_APB1_RESET(CAN3)>; - clocks = <&rcc 0 STM32F7_APB1_CLOCK(CAN3)>; - st,gcan = <&gcan3>; - status = "disabled"; - }; - - gcan3: gcan@40003600 { - compatible = "st,stm32f4-gcan", "syscon"; - reg = <0x40003600 0x200>; - clocks = <&rcc 0 STM32F7_APB1_CLOCK(CAN3)>; - }; - - dsi: dsi@40016c00 { - compatible = "st,stm32-dsi"; - reg = <0x40016c00 0x800>; - clocks = <&rcc 1 CLK_F769_DSI>, <&clk_hse>; - clock-names = "pclk", "ref"; - resets = <&rcc STM32F7_APB2_RESET(DSI)>; - reset-names = "apb"; - status = "disabled"; - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (c) 2023 Dario Binacchi + */ + +#include "stm32f746.dtsi" + +/ { + soc { + can3: can@40003400 { + compatible = "st,stm32f4-bxcan"; + reg = <0x40003400 0x200>; + interrupts = <104>, <105>, <106>, <107>; + interrupt-names = "tx", "rx0", "rx1", "sce"; + resets = <&rcc STM32F7_APB1_RESET(CAN3)>; + clocks = <&rcc 0 STM32F7_APB1_CLOCK(CAN3)>; + st,gcan = <&gcan3>; + status = "disabled"; + }; + + gcan3: gcan@40003600 { + compatible = "st,stm32f4-gcan", "syscon"; + reg = <0x40003600 0x200>; + clocks = <&rcc 0 STM32F7_APB1_CLOCK(CAN3)>; + }; + + dsi: dsi@40016c00 { + compatible = "st,stm32-dsi"; + reg = <0x40016c00 0x800>; + clocks = <&rcc 1 CLK_F769_DSI>, <&clk_hse>; + clock-names = "pclk", "ref"; + resets = <&rcc STM32F7_APB2_RESET(DSI)>; + reset-names = "apb"; + status = "disabled"; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stm32mp135.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stm32mp135.dtsi index 619d47ee98..834a4d545f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stm32mp135.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stm32mp135.dtsi @@ -1,34 +1,34 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) -/* - * Copyright (C) STMicroelectronics 2021 - All Rights Reserved - * Author: Alexandre Torgue for STMicroelectronics. - */ - -#include "stm32mp133.dtsi" - -/ { - soc { - dcmipp: dcmipp@5a000000 { - compatible = "st,stm32mp13-dcmipp"; - reg = <0x5a000000 0x400>; - interrupts = ; - resets = <&rcc DCMIPP_R>; - clocks = <&rcc DCMIPP_K>; - status = "disabled"; - - port { - }; - }; - - ltdc: display-controller@5a001000 { - compatible = "st,stm32-ltdc"; - reg = <0x5a001000 0x400>; - interrupts = , - ; - clocks = <&rcc LTDC_PX>; - clock-names = "lcd"; - resets = <&scmi_reset RST_SCMI_LTDC>; - status = "disabled"; - }; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) +/* + * Copyright (C) STMicroelectronics 2021 - All Rights Reserved + * Author: Alexandre Torgue for STMicroelectronics. + */ + +#include "stm32mp133.dtsi" + +/ { + soc { + dcmipp: dcmipp@5a000000 { + compatible = "st,stm32mp13-dcmipp"; + reg = <0x5a000000 0x400>; + interrupts = ; + resets = <&rcc DCMIPP_R>; + clocks = <&rcc DCMIPP_K>; + status = "disabled"; + + port { + }; + }; + + ltdc: display-controller@5a001000 { + compatible = "st,stm32-ltdc"; + reg = <0x5a001000 0x400>; + interrupts = , + ; + clocks = <&rcc LTDC_PX>; + clock-names = "lcd"; + resets = <&scmi_reset RST_SCMI_LTDC>; + status = "disabled"; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stm32mp151a-prtt1a.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stm32mp151a-prtt1a.dts index 7f0a157bb2..8e1dd84e0c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stm32mp151a-prtt1a.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stm32mp151a-prtt1a.dts @@ -1,48 +1,48 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) -/* - * Copyright (C) Protonic Holland - * Author: David Jander - */ -/dts-v1/; - -#include "stm32mp151a-prtt1l.dtsi" - -/ { - model = "Protonic PRTT1A"; - compatible = "prt,prtt1a", "st,stm32mp151"; -}; - -ðernet0 { - phy-handle = <&phy0>; -}; - -&mdio0 { - /* TI DP83TD510E */ - phy0: ethernet-phy@0 { - compatible = "ethernet-phy-id2000.0181"; - reg = <0>; - interrupts-extended = <&gpioa 4 IRQ_TYPE_LEVEL_LOW>; - reset-gpios = <&gpioa 3 GPIO_ACTIVE_LOW>; - reset-assert-us = <10>; - reset-deassert-us = <35>; - }; -}; - -&{pwm5_pins_a/pins} { - pinmux = ; /* TIM5_CH1 */ -}; - -&{pwm5_sleep_pins_a/pins} { - pinmux = ; /* TIM5_CH1 */ -}; - -&timers5 { - status = "okay"; - - pwm { - pinctrl-0 = <&pwm5_pins_a>; - pinctrl-1 = <&pwm5_sleep_pins_a>; - pinctrl-names = "default", "sleep"; - status = "okay"; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) +/* + * Copyright (C) Protonic Holland + * Author: David Jander + */ +/dts-v1/; + +#include "stm32mp151a-prtt1l.dtsi" + +/ { + model = "Protonic PRTT1A"; + compatible = "prt,prtt1a", "st,stm32mp151"; +}; + +ðernet0 { + phy-handle = <&phy0>; +}; + +&mdio0 { + /* TI DP83TD510E */ + phy0: ethernet-phy@0 { + compatible = "ethernet-phy-id2000.0181"; + reg = <0>; + interrupts-extended = <&gpioa 4 IRQ_TYPE_LEVEL_LOW>; + reset-gpios = <&gpioa 3 GPIO_ACTIVE_LOW>; + reset-assert-us = <10>; + reset-deassert-us = <35>; + }; +}; + +&{pwm5_pins_a/pins} { + pinmux = ; /* TIM5_CH1 */ +}; + +&{pwm5_sleep_pins_a/pins} { + pinmux = ; /* TIM5_CH1 */ +}; + +&timers5 { + status = "okay"; + + pwm { + pinctrl-0 = <&pwm5_pins_a>; + pinctrl-1 = <&pwm5_sleep_pins_a>; + pinctrl-names = "default", "sleep"; + status = "okay"; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stm32mp153c-dhcom-drc02.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stm32mp153c-dhcom-drc02.dts index b4849921e8..b4e504f026 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stm32mp153c-dhcom-drc02.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stm32mp153c-dhcom-drc02.dts @@ -1,39 +1,39 @@ -// SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause -/* - * Copyright (C) 2020 Marek Vasut - * - * DHCOM STM32MP1 variant: - * DHCM-STM32MP153C-C065-R102-F0819-SPI-E2-CAN2-RTC-I-01D2 - * DHCOM PCB number: 587-200 or newer - * DRC02 PCB number: 568-100 or newer - */ -/dts-v1/; - -#include "stm32mp153.dtsi" -#include "stm32mp15xc.dtsi" -#include "stm32mp15xx-dhcom-som.dtsi" -#include "stm32mp15xx-dhcom-drc02.dtsi" - -/ { - model = "DH electronics STM32MP153C DHCOM DRC02"; - compatible = "dh,stm32mp153c-dhcom-drc02", "dh,stm32mp153c-dhcom-som", - "st,stm32mp153"; -}; - -&cryp1 { - status = "okay"; -}; - -&m_can1 { - pinctrl-names = "default", "sleep"; - pinctrl-0 = <&m_can1_pins_a>; - pinctrl-1 = <&m_can1_sleep_pins_a>; - status = "okay"; -}; - -&m_can2 { - pinctrl-names = "default", "sleep"; - pinctrl-0 = <&m_can2_pins_a>; - pinctrl-1 = <&m_can2_sleep_pins_a>; - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause +/* + * Copyright (C) 2020 Marek Vasut + * + * DHCOM STM32MP1 variant: + * DHCM-STM32MP153C-C065-R102-F0819-SPI-E2-CAN2-RTC-I-01D2 + * DHCOM PCB number: 587-200 or newer + * DRC02 PCB number: 568-100 or newer + */ +/dts-v1/; + +#include "stm32mp153.dtsi" +#include "stm32mp15xc.dtsi" +#include "stm32mp15xx-dhcom-som.dtsi" +#include "stm32mp15xx-dhcom-drc02.dtsi" + +/ { + model = "DH electronics STM32MP153C DHCOM DRC02"; + compatible = "dh,stm32mp153c-dhcom-drc02", "dh,stm32mp153c-dhcom-som", + "st,stm32mp153"; +}; + +&cryp1 { + status = "okay"; +}; + +&m_can1 { + pinctrl-names = "default", "sleep"; + pinctrl-0 = <&m_can1_pins_a>; + pinctrl-1 = <&m_can1_sleep_pins_a>; + status = "okay"; +}; + +&m_can2 { + pinctrl-names = "default", "sleep"; + pinctrl-0 = <&m_can2_pins_a>; + pinctrl-1 = <&m_can2_sleep_pins_a>; + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stm32mp153c-dhcor-drc-compact.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stm32mp153c-dhcor-drc-compact.dts index 1df598e662..c8b9818499 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stm32mp153c-dhcor-drc-compact.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stm32mp153c-dhcor-drc-compact.dts @@ -1,30 +1,30 @@ -// SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) -/* - * Copyright (C) 2022 Marek Vasut - * - * DHCOR STM32MP1 variant: - * DHCR-STM32MP153C-C065-R051-V33-SPI-I-01LG - * DHCOR PCB number: 586-100 or newer - * DRC Compact PCB number: 627-100 or newer - */ - -/dts-v1/; - -#include "stm32mp153.dtsi" -#include "stm32mp15xc.dtsi" -#include "stm32mp15xx-dhcor-som.dtsi" -#include "stm32mp15xx-dhcor-drc-compact.dtsi" - -/ { - model = "DH electronics STM32MP153C DHCOR DRC Compact"; - compatible = "dh,stm32mp153c-dhcor-drc-compact", - "dh,stm32mp153c-dhcor-som", - "st,stm32mp153"; -}; - -&m_can1 { - pinctrl-names = "default", "sleep"; - pinctrl-0 = <&m_can1_pins_c>; - pinctrl-1 = <&m_can1_sleep_pins_c>; - status = "okay"; -}; +// SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) +/* + * Copyright (C) 2022 Marek Vasut + * + * DHCOR STM32MP1 variant: + * DHCR-STM32MP153C-C065-R051-V33-SPI-I-01LG + * DHCOR PCB number: 586-100 or newer + * DRC Compact PCB number: 627-100 or newer + */ + +/dts-v1/; + +#include "stm32mp153.dtsi" +#include "stm32mp15xc.dtsi" +#include "stm32mp15xx-dhcor-som.dtsi" +#include "stm32mp15xx-dhcor-drc-compact.dtsi" + +/ { + model = "DH electronics STM32MP153C DHCOR DRC Compact"; + compatible = "dh,stm32mp153c-dhcor-drc-compact", + "dh,stm32mp153c-dhcor-som", + "st,stm32mp153"; +}; + +&m_can1 { + pinctrl-names = "default", "sleep"; + pinctrl-0 = <&m_can1_pins_c>; + pinctrl-1 = <&m_can1_sleep_pins_c>; + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stm32mp157c-dhcom-pdk2.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stm32mp157c-dhcom-pdk2.dts index 8187ae8201..6dd8216c23 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stm32mp157c-dhcom-pdk2.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stm32mp157c-dhcom-pdk2.dts @@ -1,32 +1,32 @@ -// SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause -/* - * Copyright (C) 2019-2020 Marek Vasut - * - * DHCOM STM32MP1 variant: - * DHCM-STM32MP157C-C065-R102-F0819-SPI-E2-CAN2-SDR104-RTC-WBT-T-DSI-I-01D2 - * DHCOM PCB number: 587-200 or newer - * PDK2 PCB number: 516-400 or newer - */ -/dts-v1/; - -#include "stm32mp157.dtsi" -#include "stm32mp15xc.dtsi" -#include "stm32mp15xx-dhcom-som.dtsi" -#include "stm32mp15xx-dhcom-pdk2.dtsi" - -/ { - model = "DH electronics STM32MP157C DHCOM Premium Developer Kit (2)"; - compatible = "dh,stm32mp157c-dhcom-pdk2", "dh,stm32mp157c-dhcom-som", - "st,stm32mp157"; -}; - -&cryp1 { - status = "okay"; -}; - -&m_can1 { - pinctrl-names = "default", "sleep"; - pinctrl-0 = <&m_can1_pins_a>; - pinctrl-1 = <&m_can1_sleep_pins_a>; - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause +/* + * Copyright (C) 2019-2020 Marek Vasut + * + * DHCOM STM32MP1 variant: + * DHCM-STM32MP157C-C065-R102-F0819-SPI-E2-CAN2-SDR104-RTC-WBT-T-DSI-I-01D2 + * DHCOM PCB number: 587-200 or newer + * PDK2 PCB number: 516-400 or newer + */ +/dts-v1/; + +#include "stm32mp157.dtsi" +#include "stm32mp15xc.dtsi" +#include "stm32mp15xx-dhcom-som.dtsi" +#include "stm32mp15xx-dhcom-pdk2.dtsi" + +/ { + model = "DH electronics STM32MP157C DHCOM Premium Developer Kit (2)"; + compatible = "dh,stm32mp157c-dhcom-pdk2", "dh,stm32mp157c-dhcom-som", + "st,stm32mp157"; +}; + +&cryp1 { + status = "okay"; +}; + +&m_can1 { + pinctrl-names = "default", "sleep"; + pinctrl-0 = <&m_can1_pins_a>; + pinctrl-1 = <&m_can1_sleep_pins_a>; + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stm32mp157c-dhcom-picoitx.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stm32mp157c-dhcom-picoitx.dts index fee1ab862a..7067a860aa 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stm32mp157c-dhcom-picoitx.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stm32mp157c-dhcom-picoitx.dts @@ -1,39 +1,39 @@ -// SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause -/* - * Copyright (C) 2020 Marek Vasut - * - * DHCOM STM32MP1 variant: - * DHCM-STM32MP157C-C065-R102-F0819-SPI-E-CAN2-SD-RTC-T-DSI-I-01D2 - * DHCOM PCB number: 587-200 or newer - * PicoITX PCB number: 487-600 or newer - */ -/dts-v1/; - -#include "stm32mp157.dtsi" -#include "stm32mp15xc.dtsi" -#include "stm32mp15xx-dhcom-som.dtsi" -#include "stm32mp15xx-dhcom-picoitx.dtsi" - -/ { - model = "DH electronics STM32MP157C DHCOM PicoITX"; - compatible = "dh,stm32mp157c-dhcom-picoitx", "dh,stm32mp157c-dhcom-som", - "st,stm32mp157"; -}; - -&cryp1 { - status = "okay"; -}; - -&m_can1 { - pinctrl-names = "default", "sleep"; - pinctrl-0 = <&m_can1_pins_a>; - pinctrl-1 = <&m_can1_sleep_pins_a>; - status = "okay"; -}; - -&m_can2 { - pinctrl-names = "default", "sleep"; - pinctrl-0 = <&m_can2_pins_a>; - pinctrl-1 = <&m_can2_sleep_pins_a>; - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause +/* + * Copyright (C) 2020 Marek Vasut + * + * DHCOM STM32MP1 variant: + * DHCM-STM32MP157C-C065-R102-F0819-SPI-E-CAN2-SD-RTC-T-DSI-I-01D2 + * DHCOM PCB number: 587-200 or newer + * PicoITX PCB number: 487-600 or newer + */ +/dts-v1/; + +#include "stm32mp157.dtsi" +#include "stm32mp15xc.dtsi" +#include "stm32mp15xx-dhcom-som.dtsi" +#include "stm32mp15xx-dhcom-picoitx.dtsi" + +/ { + model = "DH electronics STM32MP157C DHCOM PicoITX"; + compatible = "dh,stm32mp157c-dhcom-picoitx", "dh,stm32mp157c-dhcom-som", + "st,stm32mp157"; +}; + +&cryp1 { + status = "okay"; +}; + +&m_can1 { + pinctrl-names = "default", "sleep"; + pinctrl-0 = <&m_can1_pins_a>; + pinctrl-1 = <&m_can1_sleep_pins_a>; + status = "okay"; +}; + +&m_can2 { + pinctrl-names = "default", "sleep"; + pinctrl-0 = <&m_can2_pins_a>; + pinctrl-1 = <&m_can2_sleep_pins_a>; + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stm32mp157c-phycore-stm32mp1-3.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stm32mp157c-phycore-stm32mp1-3.dts index 2e583b6511..28d7203264 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stm32mp157c-phycore-stm32mp1-3.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stm32mp157c-phycore-stm32mp1-3.dts @@ -1,60 +1,60 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) -/* - * Copyright (C) Phytec GmbH 2019-2020 - All Rights Reserved - * Author: Dom VOVARD . - */ - -/dts-v1/; - -#include -#include "stm32mp157.dtsi" -#include "stm32mp15xc.dtsi" -#include "stm32mp15xxac-pinctrl.dtsi" -#include "stm32mp157c-phycore-stm32mp15-som.dtsi" - -/ { - model = "PHYTEC phyCORE-STM32MP1-3 Dev Board"; - compatible = "phytec,phycore-stm32mp1-3", - "phytec,phycore-stm32mp157c-som", "st,stm32mp157"; - - aliases { - mmc0 = &sdmmc1; - mmc1 = &sdmmc2; - mmc2 = &sdmmc3; - serial0 = &uart4; - serial1 = &usart3; - serial2 = &usart1; - }; -}; - -&cryp1 { - status = "okay"; -}; - -&dts { - status = "okay"; -}; - -&fmc { - status = "disabled"; -}; - -&gpu { - status = "okay"; -}; - -&i2c4_eeprom { - status = "okay"; -}; - -&i2c4_rtc { - status = "okay"; -}; - -&qspi { - status = "okay"; -}; - -&sdmmc2 { - status = "okay"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) +/* + * Copyright (C) Phytec GmbH 2019-2020 - All Rights Reserved + * Author: Dom VOVARD . + */ + +/dts-v1/; + +#include +#include "stm32mp157.dtsi" +#include "stm32mp15xc.dtsi" +#include "stm32mp15xxac-pinctrl.dtsi" +#include "stm32mp157c-phycore-stm32mp15-som.dtsi" + +/ { + model = "PHYTEC phyCORE-STM32MP1-3 Dev Board"; + compatible = "phytec,phycore-stm32mp1-3", + "phytec,phycore-stm32mp157c-som", "st,stm32mp157"; + + aliases { + mmc0 = &sdmmc1; + mmc1 = &sdmmc2; + mmc2 = &sdmmc3; + serial0 = &uart4; + serial1 = &usart3; + serial2 = &usart1; + }; +}; + +&cryp1 { + status = "okay"; +}; + +&dts { + status = "okay"; +}; + +&fmc { + status = "disabled"; +}; + +&gpu { + status = "okay"; +}; + +&i2c4_eeprom { + status = "okay"; +}; + +&i2c4_rtc { + status = "okay"; +}; + +&qspi { + status = "okay"; +}; + +&sdmmc2 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stm32mp15xx-dhcor-io1v8.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stm32mp15xx-dhcor-io1v8.dtsi index f2644853e7..9937b28548 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stm32mp15xx-dhcor-io1v8.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stm32mp15xx-dhcor-io1v8.dtsi @@ -1,28 +1,28 @@ -// SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) -/* - * Copyright (C) Linaro Ltd 2019 - All Rights Reserved - * Author: Manivannan Sadhasivam - * Copyright (C) 2020 Marek Vasut - */ - -/ { - /* Enpirion EP3A8LQI U2 on the DHCOR */ - vdd_io: regulator-buck-io { - compatible = "regulator-fixed"; - regulator-name = "buck-io"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - regulator-always-on; - regulator-boot-on; - vin-supply = <&vdd>; - }; -}; - -&vdd { - regulator-min-microvolt = <2900000>; - regulator-max-microvolt = <2900000>; -}; - -&pwr_regulators { - vdd-supply = <&vdd_io>; -}; +// SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) +/* + * Copyright (C) Linaro Ltd 2019 - All Rights Reserved + * Author: Manivannan Sadhasivam + * Copyright (C) 2020 Marek Vasut + */ + +/ { + /* Enpirion EP3A8LQI U2 on the DHCOR */ + vdd_io: regulator-buck-io { + compatible = "regulator-fixed"; + regulator-name = "buck-io"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-always-on; + regulator-boot-on; + vin-supply = <&vdd>; + }; +}; + +&vdd { + regulator-min-microvolt = <2900000>; + regulator-max-microvolt = <2900000>; +}; + +&pwr_regulators { + vdd-supply = <&vdd_io>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/synaptics/berlin2-sony-nsz-gs7.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/synaptics/berlin2-sony-nsz-gs7.dts index 8bd272497c..64a297759e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/synaptics/berlin2-sony-nsz-gs7.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/synaptics/berlin2-sony-nsz-gs7.dts @@ -1,43 +1,43 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -/* - * Device Tree file for Sony NSZ-GS7 - * - * Sebastian Hesselbarth - */ - -/dts-v1/; - -#include "berlin2.dtsi" - -/ { - model = "Sony NSZ-GS7"; - compatible = "sony,nsz-gs7", "marvell,berlin2", "marvell,berlin"; - - chosen { - bootargs = "earlyprintk"; - stdout-path = "serial0:115200n8"; - }; - - memory@0 { - device_type = "memory"; - reg = <0x00000000 0x40000000>; /* 1 GB */ - }; -}; - -&ahci { status = "okay"; }; - -ð1 { status = "okay"; }; - -/* Unpopulated SATA plug on solder side */ -&sata0 { status = "okay"; }; - -&sata_phy { status = "okay"; }; - -/* Samsung M8G2FA 8GB eMMC */ -&sdhci2 { - non-removable; - bus-width = <8>; - status = "okay"; -}; - -&uart0 { status = "okay"; }; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Device Tree file for Sony NSZ-GS7 + * + * Sebastian Hesselbarth + */ + +/dts-v1/; + +#include "berlin2.dtsi" + +/ { + model = "Sony NSZ-GS7"; + compatible = "sony,nsz-gs7", "marvell,berlin2", "marvell,berlin"; + + chosen { + bootargs = "earlyprintk"; + stdout-path = "serial0:115200n8"; + }; + + memory@0 { + device_type = "memory"; + reg = <0x00000000 0x40000000>; /* 1 GB */ + }; +}; + +&ahci { status = "okay"; }; + +ð1 { status = "okay"; }; + +/* Unpopulated SATA plug on solder side */ +&sata0 { status = "okay"; }; + +&sata_phy { status = "okay"; }; + +/* Samsung M8G2FA 8GB eMMC */ +&sdhci2 { + non-removable; + bus-width = <8>; + status = "okay"; +}; + +&uart0 { status = "okay"; }; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/davinci/da850-enbw-cmc.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/davinci/da850-enbw-cmc.dts index 4d8ab78090..d4a5237cee 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/davinci/da850-enbw-cmc.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/davinci/da850-enbw-cmc.dts @@ -1,44 +1,44 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Device Tree for AM1808 EnBW CMC board - * - * Copyright 2012 DENX Software Engineering GmbH - * Heiko Schocher - */ -/dts-v1/; -#include "da850.dtsi" - -/ { - compatible = "enbw,cmc", "ti,da850"; - model = "EnBW CMC"; - - soc@1c00000 { - serial0: serial@42000 { - status = "okay"; - }; - serial1: serial@10c000 { - status = "okay"; - }; - serial2: serial@10d000 { - status = "okay"; - }; - mdio: mdio@224000 { - status = "okay"; - }; - eth0: ethernet@220000 { - status = "okay"; - }; - }; -}; - -&ref_clk { - clock-frequency = <24000000>; -}; - -&edma0 { - ti,edma-reserved-slot-ranges = <32 50>; -}; - -&edma1 { - ti,edma-reserved-slot-ranges = <32 90>; -}; +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Device Tree for AM1808 EnBW CMC board + * + * Copyright 2012 DENX Software Engineering GmbH + * Heiko Schocher + */ +/dts-v1/; +#include "da850.dtsi" + +/ { + compatible = "enbw,cmc", "ti,da850"; + model = "EnBW CMC"; + + soc@1c00000 { + serial0: serial@42000 { + status = "okay"; + }; + serial1: serial@10c000 { + status = "okay"; + }; + serial2: serial@10d000 { + status = "okay"; + }; + mdio: mdio@224000 { + status = "okay"; + }; + eth0: ethernet@220000 { + status = "okay"; + }; + }; +}; + +&ref_clk { + clock-frequency = <24000000>; +}; + +&edma0 { + ti,edma-reserved-slot-ranges = <32 50>; +}; + +&edma1 { + ti,edma-reserved-slot-ranges = <32 90>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am335x-bonegreen-common.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am335x-bonegreen-common.dtsi index 37fb78fd7f..383beeddf5 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am335x-bonegreen-common.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am335x-bonegreen-common.dtsi @@ -1,41 +1,41 @@ -// 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"; -}; - -&am33xx_pinmux { - uart2_pins: uart2-pins { - pinctrl-single,pins = < - AM33XX_PADCONF(AM335X_PIN_SPI0_SCLK, PIN_INPUT, MUX_MODE1) /* spi0_sclk.uart2_rxd */ - AM33XX_PADCONF(AM335X_PIN_SPI0_D0, PIN_OUTPUT, MUX_MODE1) /* spi0_d0.uart2_txd */ - >; - }; -}; - -&uart2 { - pinctrl-names = "default"; - pinctrl-0 = <&uart2_pins>; - status = "okay"; -}; - -&rtc { - system-power-controller; -}; +// 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"; +}; + +&am33xx_pinmux { + uart2_pins: uart2-pins { + pinctrl-single,pins = < + AM33XX_PADCONF(AM335X_PIN_SPI0_SCLK, PIN_INPUT, MUX_MODE1) /* spi0_sclk.uart2_rxd */ + AM33XX_PADCONF(AM335X_PIN_SPI0_D0, PIN_OUTPUT, MUX_MODE1) /* spi0_d0.uart2_txd */ + >; + }; +}; + +&uart2 { + pinctrl-names = "default"; + pinctrl-0 = <&uart2_pins>; + status = "okay"; +}; + +&rtc { + system-power-controller; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am571x-idk-touchscreen.dtso b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am571x-idk-touchscreen.dtso index 40c0218c09..c051ee6c11 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am571x-idk-touchscreen.dtso +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am571x-idk-touchscreen.dtso @@ -1,32 +1,32 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright (C) 2019-2022 Texas Instruments Incorporated - https://www.ti.com/ - */ - -/dts-v1/; -/plugin/; - -#include -#include - -&i2c1 { - #address-cells = <1>; - #size-cells = <0>; - - touchscreen: edt-ft5506@38 { - compatible = "edt,edt-ft5506", "edt,edt-ft5x06"; - - reg = <0x38>; - - interrupt-parent = <&gpio5>; - interrupts = <6 IRQ_TYPE_EDGE_FALLING>; - - /* GPIO line is inverted before going to touch panel */ - reset-gpios = <&gpio6 15 GPIO_ACTIVE_LOW>; - - touchscreen-size-x = <1920>; - touchscreen-size-y = <1200>; - - wakeup-source; - }; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2019-2022 Texas Instruments Incorporated - https://www.ti.com/ + */ + +/dts-v1/; +/plugin/; + +#include +#include + +&i2c1 { + #address-cells = <1>; + #size-cells = <0>; + + touchscreen: edt-ft5506@38 { + compatible = "edt,edt-ft5506", "edt,edt-ft5x06"; + + reg = <0x38>; + + interrupt-parent = <&gpio5>; + interrupts = <6 IRQ_TYPE_EDGE_FALLING>; + + /* GPIO line is inverted before going to touch panel */ + reset-gpios = <&gpio6 15 GPIO_ACTIVE_LOW>; + + touchscreen-size-x = <1920>; + touchscreen-size-y = <1200>; + + wakeup-source; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am572x-idk-touchscreen.dtso b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am572x-idk-touchscreen.dtso index 6eeee52a09..573e932b12 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am572x-idk-touchscreen.dtso +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am572x-idk-touchscreen.dtso @@ -1,32 +1,32 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright (C) 2019-2022 Texas Instruments Incorporated - https://www.ti.com/ - */ - -/dts-v1/; -/plugin/; - -#include -#include - -&i2c1 { - #address-cells = <1>; - #size-cells = <0>; - - touchscreen: edt-ft5506@38 { - compatible = "edt,edt-ft5506", "edt,edt-ft5x06"; - - reg = <0x38>; - - interrupt-parent = <&gpio3>; - interrupts = <14 IRQ_TYPE_EDGE_FALLING>; - - /* GPIO line is inverted before going to touch panel */ - reset-gpios = <&gpio6 15 GPIO_ACTIVE_LOW>; - - touchscreen-size-x = <1920>; - touchscreen-size-y = <1200>; - - wakeup-source; - }; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2019-2022 Texas Instruments Incorporated - https://www.ti.com/ + */ + +/dts-v1/; +/plugin/; + +#include +#include + +&i2c1 { + #address-cells = <1>; + #size-cells = <0>; + + touchscreen: edt-ft5506@38 { + compatible = "edt,edt-ft5506", "edt,edt-ft5x06"; + + reg = <0x38>; + + interrupt-parent = <&gpio3>; + interrupts = <14 IRQ_TYPE_EDGE_FALLING>; + + /* GPIO line is inverted before going to touch panel */ + reset-gpios = <&gpio6 15 GPIO_ACTIVE_LOW>; + + touchscreen-size-x = <1920>; + touchscreen-size-y = <1200>; + + wakeup-source; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am572x-idk.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am572x-idk.dts index bd8c8f249c..94a738cb0a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am572x-idk.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am572x-idk.dts @@ -1,37 +1,37 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2015-2016 Texas Instruments Incorporated - https://www.ti.com/ - */ - -/dts-v1/; - -#include "am5728.dtsi" -#include "dra7-mmc-iodelay.dtsi" -#include "dra74x-mmc-iodelay.dtsi" -#include "am572x-idk-common.dtsi" - -/ { - model = "TI AM5728 IDK"; - compatible = "ti,am5728-idk", "ti,am5728", "ti,dra7"; -}; - -&mmc1 { - pinctrl-names = "default", "hs"; - pinctrl-0 = <&mmc1_pins_default_no_clk_pu>; - pinctrl-1 = <&mmc1_pins_hs>; -}; - -&mmc2 { - pinctrl-names = "default", "hs", "ddr_3_3v"; - pinctrl-0 = <&mmc2_pins_default>; - pinctrl-1 = <&mmc2_pins_hs>; - pinctrl-2 = <&mmc2_pins_ddr_rev20>; -}; - -&pruss1_mdio { - status = "disabled"; -}; - -&pruss2_mdio { - status = "disabled"; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2015-2016 Texas Instruments Incorporated - https://www.ti.com/ + */ + +/dts-v1/; + +#include "am5728.dtsi" +#include "dra7-mmc-iodelay.dtsi" +#include "dra74x-mmc-iodelay.dtsi" +#include "am572x-idk-common.dtsi" + +/ { + model = "TI AM5728 IDK"; + compatible = "ti,am5728-idk", "ti,am5728", "ti,dra7"; +}; + +&mmc1 { + pinctrl-names = "default", "hs"; + pinctrl-0 = <&mmc1_pins_default_no_clk_pu>; + pinctrl-1 = <&mmc1_pins_hs>; +}; + +&mmc2 { + pinctrl-names = "default", "hs", "ddr_3_3v"; + pinctrl-0 = <&mmc2_pins_default>; + pinctrl-1 = <&mmc2_pins_hs>; + pinctrl-2 = <&mmc2_pins_ddr_rev20>; +}; + +&pruss1_mdio { + status = "disabled"; +}; + +&pruss2_mdio { + status = "disabled"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am574x-idk.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am574x-idk.dts index 8fe85af863..47b9174d23 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am574x-idk.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am574x-idk.dts @@ -1,49 +1,49 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright (C) 2017 Texas Instruments Incorporated - https://www.ti.com/ - */ - - -/dts-v1/; - -#include "am5748.dtsi" -#include "dra7-mmc-iodelay.dtsi" -#include "dra76x-mmc-iodelay.dtsi" -#include "am572x-idk-common.dtsi" - -/ { - model = "TI AM5748 IDK"; - compatible = "ti,am5748-idk", "ti,am5748", "ti,dra762", "ti,dra7"; -}; - -&qspi { - spi-max-frequency = <96000000>; - flash@0 { - spi-max-frequency = <96000000>; - }; -}; - -&mmc1 { - pinctrl-names = "default", "hs"; - pinctrl-0 = <&mmc1_pins_default_no_clk_pu>; - pinctrl-1 = <&mmc1_pins_hs>; -}; - -&mmc2 { - pinctrl-names = "default", "hs", "ddr_3_3v"; - pinctrl-0 = <&mmc2_pins_default>; - pinctrl-1 = <&mmc2_pins_default>; - pinctrl-2 = <&mmc2_pins_default>; -}; - -&emif1 { - status = "okay"; -}; - -&pruss1_mdio { - status = "disabled"; -}; - -&pruss2_mdio { - status = "disabled"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2017 Texas Instruments Incorporated - https://www.ti.com/ + */ + + +/dts-v1/; + +#include "am5748.dtsi" +#include "dra7-mmc-iodelay.dtsi" +#include "dra76x-mmc-iodelay.dtsi" +#include "am572x-idk-common.dtsi" + +/ { + model = "TI AM5748 IDK"; + compatible = "ti,am5748-idk", "ti,am5748", "ti,dra762", "ti,dra7"; +}; + +&qspi { + spi-max-frequency = <96000000>; + flash@0 { + spi-max-frequency = <96000000>; + }; +}; + +&mmc1 { + pinctrl-names = "default", "hs"; + pinctrl-0 = <&mmc1_pins_default_no_clk_pu>; + pinctrl-1 = <&mmc1_pins_hs>; +}; + +&mmc2 { + pinctrl-names = "default", "hs", "ddr_3_3v"; + pinctrl-0 = <&mmc2_pins_default>; + pinctrl-1 = <&mmc2_pins_default>; + pinctrl-2 = <&mmc2_pins_default>; +}; + +&emif1 { + status = "okay"; +}; + +&pruss1_mdio { + status = "disabled"; +}; + +&pruss2_mdio { + status = "disabled"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am57xx-beagle-x15-revb1.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am57xx-beagle-x15-revb1.dts index 748bb4b2ba..83e174e053 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am57xx-beagle-x15-revb1.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am57xx-beagle-x15-revb1.dts @@ -1,36 +1,36 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2014-2016 Texas Instruments Incorporated - https://www.ti.com/ - */ - -#include "am57xx-beagle-x15-common.dtsi" - -/ { - model = "TI AM5728 BeagleBoard-X15 rev B1"; -}; - -&tpd12s015 { - gpios = <&gpio7 10 GPIO_ACTIVE_HIGH>, /* gpio7_10, CT CP HPD */ - <&gpio2 30 GPIO_ACTIVE_HIGH>, /* gpio2_30, LS OE */ - <&gpio7 12 GPIO_ACTIVE_HIGH>; /* gpio7_12/sp1_cs2, HPD */ -}; - -&mmc1 { - pinctrl-names = "default", "hs"; - pinctrl-0 = <&mmc1_pins_default>; - pinctrl-1 = <&mmc1_pins_hs>; - vmmc-supply = <&vdd_3v3>; - vqmmc-supply = <&ldo1_reg>; -}; - -&mmc2 { - pinctrl-names = "default", "hs", "ddr_3_3v"; - pinctrl-0 = <&mmc2_pins_default>; - pinctrl-1 = <&mmc2_pins_hs>; - pinctrl-2 = <&mmc2_pins_ddr_3_3v_rev11 &mmc2_iodelay_ddr_3_3v_rev11_conf>; -}; - -/* errata i880 "Ethernet RGMII2 Limited to 10/100 Mbps" */ -&phy1 { - max-speed = <100>; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2014-2016 Texas Instruments Incorporated - https://www.ti.com/ + */ + +#include "am57xx-beagle-x15-common.dtsi" + +/ { + model = "TI AM5728 BeagleBoard-X15 rev B1"; +}; + +&tpd12s015 { + gpios = <&gpio7 10 GPIO_ACTIVE_HIGH>, /* gpio7_10, CT CP HPD */ + <&gpio2 30 GPIO_ACTIVE_HIGH>, /* gpio2_30, LS OE */ + <&gpio7 12 GPIO_ACTIVE_HIGH>; /* gpio7_12/sp1_cs2, HPD */ +}; + +&mmc1 { + pinctrl-names = "default", "hs"; + pinctrl-0 = <&mmc1_pins_default>; + pinctrl-1 = <&mmc1_pins_hs>; + vmmc-supply = <&vdd_3v3>; + vqmmc-supply = <&ldo1_reg>; +}; + +&mmc2 { + pinctrl-names = "default", "hs", "ddr_3_3v"; + pinctrl-0 = <&mmc2_pins_default>; + pinctrl-1 = <&mmc2_pins_hs>; + pinctrl-2 = <&mmc2_pins_ddr_3_3v_rev11 &mmc2_iodelay_ddr_3_3v_rev11_conf>; +}; + +/* errata i880 "Ethernet RGMII2 Limited to 10/100 Mbps" */ +&phy1 { + max-speed = <100>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am57xx-beagle-x15-revc.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am57xx-beagle-x15-revc.dts index 77d2ffb74a..656dd84460 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am57xx-beagle-x15-revc.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am57xx-beagle-x15-revc.dts @@ -1,31 +1,31 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2014-2017 Texas Instruments Incorporated - https://www.ti.com/ - */ - -#include "am57xx-beagle-x15-common.dtsi" - -/ { - model = "TI AM5728 BeagleBoard-X15 rev C"; -}; - -&tpd12s015 { - gpios = <&gpio7 10 GPIO_ACTIVE_HIGH>, /* gpio7_10, CT CP HPD */ - <&gpio2 30 GPIO_ACTIVE_HIGH>, /* gpio2_30, LS OE */ - <&gpio7 12 GPIO_ACTIVE_HIGH>; /* gpio7_12/sp1_cs2, HPD */ -}; - -&mmc1 { - pinctrl-names = "default", "hs"; - pinctrl-0 = <&mmc1_pins_default>; - pinctrl-1 = <&mmc1_pins_hs>; - vmmc-supply = <&vdd_3v3>; - vqmmc-supply = <&ldo1_reg>; -}; - -&mmc2 { - pinctrl-names = "default", "hs", "ddr_3_3v"; - pinctrl-0 = <&mmc2_pins_default>; - pinctrl-1 = <&mmc2_pins_hs>; - pinctrl-2 = <&mmc2_pins_ddr_rev20>; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2014-2017 Texas Instruments Incorporated - https://www.ti.com/ + */ + +#include "am57xx-beagle-x15-common.dtsi" + +/ { + model = "TI AM5728 BeagleBoard-X15 rev C"; +}; + +&tpd12s015 { + gpios = <&gpio7 10 GPIO_ACTIVE_HIGH>, /* gpio7_10, CT CP HPD */ + <&gpio2 30 GPIO_ACTIVE_HIGH>, /* gpio2_30, LS OE */ + <&gpio7 12 GPIO_ACTIVE_HIGH>; /* gpio7_12/sp1_cs2, HPD */ +}; + +&mmc1 { + pinctrl-names = "default", "hs"; + pinctrl-0 = <&mmc1_pins_default>; + pinctrl-1 = <&mmc1_pins_hs>; + vmmc-supply = <&vdd_3v3>; + vqmmc-supply = <&ldo1_reg>; +}; + +&mmc2 { + pinctrl-names = "default", "hs", "ddr_3_3v"; + pinctrl-0 = <&mmc2_pins_default>; + pinctrl-1 = <&mmc2_pins_hs>; + pinctrl-2 = <&mmc2_pins_ddr_rev20>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am57xx-beagle-x15.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am57xx-beagle-x15.dts index 0a81f0e0d4..0a8b16505e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am57xx-beagle-x15.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am57xx-beagle-x15.dts @@ -1,38 +1,38 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2014-2016 Texas Instruments Incorporated - https://www.ti.com/ - */ - -#include "am57xx-beagle-x15-common.dtsi" - -/ { - /* NOTE: This describes the "original" pre-production A2 revision */ - model = "TI AM5728 BeagleBoard-X15"; -}; - -&tpd12s015 { - gpios = <&gpio7 10 GPIO_ACTIVE_HIGH>, /* gpio7_10, CT CP HPD */ - <&gpio6 28 GPIO_ACTIVE_HIGH>, /* gpio6_28, LS OE */ - <&gpio7 12 GPIO_ACTIVE_HIGH>; /* gpio7_12/sp1_cs2, HPD */ -}; - -&mmc1 { - pinctrl-names = "default", "hs"; - pinctrl-0 = <&mmc1_pins_default>; - pinctrl-1 = <&mmc1_pins_hs>; - - vmmc-supply = <&ldo1_reg>; - no-1-8-v; -}; - -&mmc2 { - pinctrl-names = "default", "hs", "ddr_3_3v"; - pinctrl-0 = <&mmc2_pins_default>; - pinctrl-1 = <&mmc2_pins_hs>; - pinctrl-2 = <&mmc2_pins_ddr_3_3v_rev11 &mmc2_iodelay_ddr_3_3v_rev11_conf>; -}; - -/* errata i880 "Ethernet RGMII2 Limited to 10/100 Mbps" */ -&phy1 { - max-speed = <100>; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2014-2016 Texas Instruments Incorporated - https://www.ti.com/ + */ + +#include "am57xx-beagle-x15-common.dtsi" + +/ { + /* NOTE: This describes the "original" pre-production A2 revision */ + model = "TI AM5728 BeagleBoard-X15"; +}; + +&tpd12s015 { + gpios = <&gpio7 10 GPIO_ACTIVE_HIGH>, /* gpio7_10, CT CP HPD */ + <&gpio6 28 GPIO_ACTIVE_HIGH>, /* gpio6_28, LS OE */ + <&gpio7 12 GPIO_ACTIVE_HIGH>; /* gpio7_12/sp1_cs2, HPD */ +}; + +&mmc1 { + pinctrl-names = "default", "hs"; + pinctrl-0 = <&mmc1_pins_default>; + pinctrl-1 = <&mmc1_pins_hs>; + + vmmc-supply = <&ldo1_reg>; + no-1-8-v; +}; + +&mmc2 { + pinctrl-names = "default", "hs", "ddr_3_3v"; + pinctrl-0 = <&mmc2_pins_default>; + pinctrl-1 = <&mmc2_pins_hs>; + pinctrl-2 = <&mmc2_pins_ddr_3_3v_rev11 &mmc2_iodelay_ddr_3_3v_rev11_conf>; +}; + +/* errata i880 "Ethernet RGMII2 Limited to 10/100 Mbps" */ +&phy1 { + max-speed = <100>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am57xx-idk-lcd-osd101t2045.dtso b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am57xx-idk-lcd-osd101t2045.dtso index 74ca4b964c..25d74e9f3c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am57xx-idk-lcd-osd101t2045.dtso +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am57xx-idk-lcd-osd101t2045.dtso @@ -1,63 +1,63 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright (C) 2019-2022 Texas Instruments Incorporated - https://www.ti.com/ - */ - -/dts-v1/; -/plugin/; - -&{/} { - aliases { - display0 = "/display"; - display1 = "/connector"; - }; - - lcd_bl: backlight { - compatible = "pwm-backlight"; - pwms = <&ecap0 0 50000 1>; - brightness-levels = <0 51 53 56 62 75 101 152 255>; - default-brightness-level = <8>; - }; -}; - -&dsi_bridge { - status = "okay"; - - #address-cells = <1>; - #size-cells = <0>; - - lcd: display { - compatible = "osddisplays,osd101t2045-53ts"; - reg = <0>; - - label = "lcd"; - - backlight = <&lcd_bl>; - - port { - lcd_in: endpoint { - remote-endpoint = <&dsi_out>; - }; - }; - }; -}; - -&dsi_bridge_ports { - #address-cells = <1>; - #size-cells = <0>; - - port@1 { - reg = <1>; - dsi_out: endpoint { - remote-endpoint = <&lcd_in>; - }; - }; -}; - -&epwmss0 { - status = "okay"; -}; - -&ecap0 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2019-2022 Texas Instruments Incorporated - https://www.ti.com/ + */ + +/dts-v1/; +/plugin/; + +&{/} { + aliases { + display0 = "/display"; + display1 = "/connector"; + }; + + lcd_bl: backlight { + compatible = "pwm-backlight"; + pwms = <&ecap0 0 50000 1>; + brightness-levels = <0 51 53 56 62 75 101 152 255>; + default-brightness-level = <8>; + }; +}; + +&dsi_bridge { + status = "okay"; + + #address-cells = <1>; + #size-cells = <0>; + + lcd: display { + compatible = "osddisplays,osd101t2045-53ts"; + reg = <0>; + + label = "lcd"; + + backlight = <&lcd_bl>; + + port { + lcd_in: endpoint { + remote-endpoint = <&dsi_out>; + }; + }; + }; +}; + +&dsi_bridge_ports { + #address-cells = <1>; + #size-cells = <0>; + + port@1 { + reg = <1>; + dsi_out: endpoint { + remote-endpoint = <&lcd_in>; + }; + }; +}; + +&epwmss0 { + status = "okay"; +}; + +&ecap0 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/compulab-sb-som.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/compulab-sb-som.dtsi index 84ef4c6e03..8a8fa1b2b2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/compulab-sb-som.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/compulab-sb-som.dtsi @@ -1,46 +1,46 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2015 CompuLab, Ltd. - https://www.compulab.co.il/ - */ - -/ { - model = "CompuLab SB-SOM"; - compatible = "compulab,sb-som"; - - vsb_3v3: fixedregulator-v3_3 { - compatible = "regulator-fixed"; - regulator-name = "vsb_3v3"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - regulator-always-on; - enable-active-high; - }; - - lcd0: display { - compatible = "startek,startek-kd050c", "panel-dpi"; - label = "lcd"; - - panel-timing { - clock-frequency = <33000000>; - hactive = <800>; - vactive = <480>; - hfront-porch = <40>; - hback-porch = <40>; - hsync-len = <43>; - vback-porch = <29>; - vfront-porch = <13>; - vsync-len = <3>; - hsync-active = <0>; - vsync-active = <0>; - de-active = <1>; - pixelclk-active = <1>; - }; - }; - - hdmi_conn: connector { - compatible = "hdmi-connector"; - label = "hdmi"; - - type = "a"; - }; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2015 CompuLab, Ltd. - https://www.compulab.co.il/ + */ + +/ { + model = "CompuLab SB-SOM"; + compatible = "compulab,sb-som"; + + vsb_3v3: fixedregulator-v3_3 { + compatible = "regulator-fixed"; + regulator-name = "vsb_3v3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-always-on; + enable-active-high; + }; + + lcd0: display { + compatible = "startek,startek-kd050c", "panel-dpi"; + label = "lcd"; + + panel-timing { + clock-frequency = <33000000>; + hactive = <800>; + vactive = <480>; + hfront-porch = <40>; + hback-porch = <40>; + hsync-len = <43>; + vback-porch = <29>; + vfront-porch = <13>; + vsync-len = <3>; + hsync-active = <0>; + vsync-active = <0>; + de-active = <1>; + pixelclk-active = <1>; + }; + }; + + hdmi_conn: connector { + compatible = "hdmi-connector"; + label = "hdmi"; + + type = "a"; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/dra62x-clocks.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/dra62x-clocks.dtsi index 9b2eaa1277..11d1241b0e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/dra62x-clocks.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/dra62x-clocks.dtsi @@ -1,45 +1,45 @@ -// SPDX-License-Identifier: GPL-2.0-only - -#include "dm814x-clocks.dtsi" - -/* Compared to dm814x, dra62x does not have hdic, l3 or dss PLLs */ -&adpll_hdvic_ck { - status = "disabled"; -}; - -&adpll_l3_ck { - status = "disabled"; -}; - -&adpll_dss_ck { - status = "disabled"; -}; - -/* Compared to dm814x, dra62x has interconnect clocks on isp PLL */ -&sysclk4_ck { - clocks = <&adpll_isp_ck 1>; -}; - -&sysclk5_ck { - clocks = <&adpll_isp_ck 1>; -}; - -&sysclk6_ck { - clocks = <&adpll_isp_ck 1>; -}; - -/* - * Compared to dm814x, dra62x has different shifts and more mux options. - * Please add the extra options for ysclk_14 and 16 if really needed. - */ -&timer1_fck { - clocks = <&sysclk18_ck &aud_clkin0_ck &aud_clkin1_ck - &aud_clkin2_ck &devosc_ck &auxosc_ck &tclkin_ck>; - ti,bit-shift = <4>; -}; - -&timer2_fck { - clocks = <&sysclk18_ck &aud_clkin0_ck &aud_clkin1_ck - &aud_clkin2_ck &devosc_ck &auxosc_ck &tclkin_ck>; - ti,bit-shift = <8>; -}; +// SPDX-License-Identifier: GPL-2.0-only + +#include "dm814x-clocks.dtsi" + +/* Compared to dm814x, dra62x does not have hdic, l3 or dss PLLs */ +&adpll_hdvic_ck { + status = "disabled"; +}; + +&adpll_l3_ck { + status = "disabled"; +}; + +&adpll_dss_ck { + status = "disabled"; +}; + +/* Compared to dm814x, dra62x has interconnect clocks on isp PLL */ +&sysclk4_ck { + clocks = <&adpll_isp_ck 1>; +}; + +&sysclk5_ck { + clocks = <&adpll_isp_ck 1>; +}; + +&sysclk6_ck { + clocks = <&adpll_isp_ck 1>; +}; + +/* + * Compared to dm814x, dra62x has different shifts and more mux options. + * Please add the extra options for ysclk_14 and 16 if really needed. + */ +&timer1_fck { + clocks = <&sysclk18_ck &aud_clkin0_ck &aud_clkin1_ck + &aud_clkin2_ck &devosc_ck &auxosc_ck &tclkin_ck>; + ti,bit-shift = <4>; +}; + +&timer2_fck { + clocks = <&sysclk18_ck &aud_clkin0_ck &aud_clkin1_ck + &aud_clkin2_ck &devosc_ck &auxosc_ck &tclkin_ck>; + ti,bit-shift = <8>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/dra7-ipu-dsp-common.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/dra7-ipu-dsp-common.dtsi index be57c99a4a..a5bdc6431d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/dra7-ipu-dsp-common.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/dra7-ipu-dsp-common.dtsi @@ -1,39 +1,39 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Common IPU and DSP data for TI DRA7xx/AM57xx platforms - */ - -&mailbox5 { - status = "okay"; - mbox_ipu1_ipc3x: mbox-ipu1-ipc3x { - status = "okay"; - }; - mbox_dsp1_ipc3x: mbox-dsp1-ipc3x { - status = "okay"; - }; -}; - -&mailbox6 { - status = "okay"; - mbox_ipu2_ipc3x: mbox-ipu2-ipc3x { - status = "okay"; - }; -}; - -&ipu2 { - mboxes = <&mailbox6 &mbox_ipu2_ipc3x>; - ti,timers = <&timer3>; - ti,watchdog-timers = <&timer4>, <&timer9>; -}; - -&ipu1 { - mboxes = <&mailbox5 &mbox_ipu1_ipc3x>; - ti,timers = <&timer11>; - ti,watchdog-timers = <&timer7>, <&timer8>; -}; - -&dsp1 { - mboxes = <&mailbox5 &mbox_dsp1_ipc3x>; - ti,timers = <&timer5>; - ti,watchdog-timers = <&timer10>; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Common IPU and DSP data for TI DRA7xx/AM57xx platforms + */ + +&mailbox5 { + status = "okay"; + mbox_ipu1_ipc3x: mbox-ipu1-ipc3x { + status = "okay"; + }; + mbox_dsp1_ipc3x: mbox-dsp1-ipc3x { + status = "okay"; + }; +}; + +&mailbox6 { + status = "okay"; + mbox_ipu2_ipc3x: mbox-ipu2-ipc3x { + status = "okay"; + }; +}; + +&ipu2 { + mboxes = <&mailbox6 &mbox_ipu2_ipc3x>; + ti,timers = <&timer3>; + ti,watchdog-timers = <&timer4>, <&timer9>; +}; + +&ipu1 { + mboxes = <&mailbox5 &mbox_ipu1_ipc3x>; + ti,timers = <&timer11>; + ti,watchdog-timers = <&timer7>, <&timer8>; +}; + +&dsp1 { + mboxes = <&mailbox5 &mbox_dsp1_ipc3x>; + ti,timers = <&timer5>; + ti,watchdog-timers = <&timer10>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/dra7-mmc-iodelay.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/dra7-mmc-iodelay.dtsi index 1e322909bc..cb1a682c26 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/dra7-mmc-iodelay.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/dra7-mmc-iodelay.dtsi @@ -1,19 +1,19 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * MMC IOdelay values for TI's DRA7xx SoCs. - * Copyright (C) 2018 Texas Instruments - * Author: Kishon Vijay Abraham I - */ - -&dra7_pmx_core { - mmc1_pins_default_no_clk_pu: mmc1-default-no-clk-pu-pins { - pinctrl-single,pins = < - DRA7XX_CORE_IOPAD(0x3754, PIN_INPUT_PULLDOWN | MUX_MODE0) /* mmc1_clk.clk */ - DRA7XX_CORE_IOPAD(0x3758, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_cmd.cmd */ - DRA7XX_CORE_IOPAD(0x375c, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat0.dat0 */ - DRA7XX_CORE_IOPAD(0x3760, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat1.dat1 */ - DRA7XX_CORE_IOPAD(0x3764, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat2.dat2 */ - DRA7XX_CORE_IOPAD(0x3768, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat3.dat3 */ - >; - }; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * MMC IOdelay values for TI's DRA7xx SoCs. + * Copyright (C) 2018 Texas Instruments + * Author: Kishon Vijay Abraham I + */ + +&dra7_pmx_core { + mmc1_pins_default_no_clk_pu: mmc1-default-no-clk-pu-pins { + pinctrl-single,pins = < + DRA7XX_CORE_IOPAD(0x3754, PIN_INPUT_PULLDOWN | MUX_MODE0) /* mmc1_clk.clk */ + DRA7XX_CORE_IOPAD(0x3758, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_cmd.cmd */ + DRA7XX_CORE_IOPAD(0x375c, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat0.dat0 */ + DRA7XX_CORE_IOPAD(0x3760, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat1.dat1 */ + DRA7XX_CORE_IOPAD(0x3764, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat2.dat2 */ + DRA7XX_CORE_IOPAD(0x3768, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat3.dat3 */ + >; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/dra74x-p.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/dra74x-p.dtsi index ff0163be4e..bb5239ae16 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/dra74x-p.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/dra74x-p.dtsi @@ -1,27 +1,27 @@ -/* - * Copyright (C) 2017 Texas Instruments Incorporated - https://www.ti.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 "dra74x.dtsi" - -/ { - compatible = "ti,dra762", "ti,dra7"; - - ocp { - emif1: emif@4c000000 { - compatible = "ti,emif-dra7xx"; - reg = <0x4c000000 0x200>; - interrupts = ; - status = "disabled"; - }; - }; -}; - -/* MCAN interrupts are hard-wired to irqs 67, 68 */ -&crossbar_mpu { - ti,irqs-skip = <10 67 68 133 139 140>; -}; +/* + * Copyright (C) 2017 Texas Instruments Incorporated - https://www.ti.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 "dra74x.dtsi" + +/ { + compatible = "ti,dra762", "ti,dra7"; + + ocp { + emif1: emif@4c000000 { + compatible = "ti,emif-dra7xx"; + reg = <0x4c000000 0x200>; + interrupts = ; + status = "disabled"; + }; + }; +}; + +/* MCAN interrupts are hard-wired to irqs 67, 68 */ +&crossbar_mpu { + ti,irqs-skip = <10 67 68 133 139 140>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-cpu-thermal.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-cpu-thermal.dtsi index 1dce1dd3a2..7dd2340bc5 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-cpu-thermal.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-cpu-thermal.dtsi @@ -1,37 +1,37 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Device Tree Source for OMAP3 SoC CPU thermal - * - * Copyright (C) 2017 Texas Instruments Incorporated - https://www.ti.com/ - */ - -#include - -cpu_thermal: cpu-thermal { - polling-delay-passive = <250>; /* milliseconds */ - polling-delay = <1000>; /* milliseconds */ - coefficients = <0 20000>; - - thermal-sensors = <&bandgap>; - - cpu_trips: trips { - cpu_alert0: cpu_alert { - temperature = <80000>; /* millicelsius */ - hysteresis = <2000>; /* millicelsius */ - type = "passive"; - }; - cpu_crit: cpu_crit { - temperature = <90000>; /* millicelsius */ - hysteresis = <2000>; /* millicelsius */ - type = "critical"; - }; - }; - - cpu_cooling_maps: cooling-maps { - map0 { - trip = <&cpu_alert0>; - cooling-device = - <&cpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Device Tree Source for OMAP3 SoC CPU thermal + * + * Copyright (C) 2017 Texas Instruments Incorporated - https://www.ti.com/ + */ + +#include + +cpu_thermal: cpu-thermal { + polling-delay-passive = <250>; /* milliseconds */ + polling-delay = <1000>; /* milliseconds */ + coefficients = <0 20000>; + + thermal-sensors = <&bandgap>; + + cpu_trips: trips { + cpu_alert0: cpu_alert { + temperature = <80000>; /* millicelsius */ + hysteresis = <2000>; /* millicelsius */ + type = "passive"; + }; + cpu_crit: cpu_crit { + temperature = <90000>; /* millicelsius */ + hysteresis = <2000>; /* millicelsius */ + type = "critical"; + }; + }; + + cpu_cooling_maps: cooling-maps { + map0 { + trip = <&cpu_alert0>; + cooling-device = + <&cpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-devkit8000-lcd43.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-devkit8000-lcd43.dts index 537d565ba1..afed85078a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-devkit8000-lcd43.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-devkit8000-lcd43.dts @@ -1,34 +1,34 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Author: Anthoine Bourgeois - */ -/dts-v1/; - -/* - * 4.3'' LCD panel sold with devkit8000 board - */ - -#include "omap3-devkit8000-lcd-common.dtsi" -/ { - model = "TimLL OMAP3 Devkit8000 with 4.3'' LCD panel"; - compatible = "timll,omap3-devkit8000", "ti,omap3430", "ti,omap3"; - - lcd0: display { - panel-timing { - clock-frequency = <10164705>; - hactive = <480>; - vactive = <272>; - hfront-porch = <2>; - hback-porch = <2>; - hsync-len = <41>; - vback-porch = <2>; - vfront-porch = <2>; - vsync-len = <10>; - - hsync-active = <0>; - vsync-active = <0>; - de-active = <1>; - pixelclk-active = <1>; - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Author: Anthoine Bourgeois + */ +/dts-v1/; + +/* + * 4.3'' LCD panel sold with devkit8000 board + */ + +#include "omap3-devkit8000-lcd-common.dtsi" +/ { + model = "TimLL OMAP3 Devkit8000 with 4.3'' LCD panel"; + compatible = "timll,omap3-devkit8000", "ti,omap3430", "ti,omap3"; + + lcd0: display { + panel-timing { + clock-frequency = <10164705>; + hactive = <480>; + vactive = <272>; + hfront-porch = <2>; + hback-porch = <2>; + hsync-len = <41>; + vback-porch = <2>; + vfront-porch = <2>; + vsync-len = <10>; + + hsync-active = <0>; + vsync-active = <0>; + de-active = <1>; + pixelclk-active = <1>; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-devkit8000-lcd70.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-devkit8000-lcd70.dts index b7f9c42a56..07c51a105c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-devkit8000-lcd70.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-devkit8000-lcd70.dts @@ -1,34 +1,34 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Author: Anthoine Bourgeois - */ -/dts-v1/; - -/* - * 7.0'' LCD panel sold with some devkit8000 board - */ - -#include "omap3-devkit8000-lcd-common.dtsi" -/ { - model = "TimLL OMAP3 Devkit8000 with 7.0'' LCD panel"; - compatible = "timll,omap3-devkit8000", "ti,omap3430", "ti,omap3"; - - lcd0: display { - panel-timing { - clock-frequency = <40000000>; - hactive = <800>; - vactive = <480>; - hfront-porch = <1>; - hback-porch = <1>; - hsync-len = <48>; - vback-porch = <25>; - vfront-porch = <12>; - vsync-len = <3>; - - hsync-active = <0>; - vsync-active = <0>; - de-active = <1>; - pixelclk-active = <1>; - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Author: Anthoine Bourgeois + */ +/dts-v1/; + +/* + * 7.0'' LCD panel sold with some devkit8000 board + */ + +#include "omap3-devkit8000-lcd-common.dtsi" +/ { + model = "TimLL OMAP3 Devkit8000 with 7.0'' LCD panel"; + compatible = "timll,omap3-devkit8000", "ti,omap3430", "ti,omap3"; + + lcd0: display { + panel-timing { + clock-frequency = <40000000>; + hactive = <800>; + vactive = <480>; + hfront-porch = <1>; + hback-porch = <1>; + hsync-len = <48>; + vback-porch = <25>; + vfront-porch = <12>; + vsync-len = <3>; + + hsync-active = <0>; + vsync-active = <0>; + de-active = <1>; + pixelclk-active = <1>; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-overo-chestnut43.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-overo-chestnut43.dts index 5173fb2c92..bb53c76fff 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-overo-chestnut43.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-overo-chestnut43.dts @@ -1,35 +1,35 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2014 Florian Vaussard, EPFL Mobots group - */ - -/* - * Chestnut43 expansion board is manufactured by Gumstix Inc. - */ - -/dts-v1/; - -#include "omap3-overo.dtsi" -#include "omap3-overo-chestnut43-common.dtsi" - -/ { - model = "OMAP35xx Gumstix Overo on Chestnut43"; - compatible = "gumstix,omap3-overo-chestnut43", "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 */ - OMAP3430_CORE2_IOPAD(0x25ec, PIN_OUTPUT | MUX_MODE4) /* etk_d8.gpio_22 */ - >; - }; - - button_pins: button-pins { - pinctrl-single,pins = < - OMAP3430_CORE2_IOPAD(0x25ee, PIN_INPUT | MUX_MODE4) /* etk_d9.gpio_23 */ - OMAP3430_CORE2_IOPAD(0x25dc, PIN_INPUT | MUX_MODE4) /* etk_d0.gpio_14 */ - >; - }; -}; - +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2014 Florian Vaussard, EPFL Mobots group + */ + +/* + * Chestnut43 expansion board is manufactured by Gumstix Inc. + */ + +/dts-v1/; + +#include "omap3-overo.dtsi" +#include "omap3-overo-chestnut43-common.dtsi" + +/ { + model = "OMAP35xx Gumstix Overo on Chestnut43"; + compatible = "gumstix,omap3-overo-chestnut43", "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 */ + OMAP3430_CORE2_IOPAD(0x25ec, PIN_OUTPUT | MUX_MODE4) /* etk_d8.gpio_22 */ + >; + }; + + button_pins: button-pins { + pinctrl-single,pins = < + OMAP3430_CORE2_IOPAD(0x25ee, PIN_INPUT | MUX_MODE4) /* etk_d9.gpio_23 */ + OMAP3430_CORE2_IOPAD(0x25dc, PIN_INPUT | MUX_MODE4) /* etk_d0.gpio_14 */ + >; + }; +}; + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-overo-gallop43.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-overo-gallop43.dts index 046dbbf343..d882a58028 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-overo-gallop43.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-overo-gallop43.dts @@ -1,35 +1,35 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2014 Florian Vaussard, EPFL Mobots group - */ - -/* - * Gallop43 expansion board is manufactured by Gumstix Inc. - */ - -/dts-v1/; - -#include "omap3-overo.dtsi" -#include "omap3-overo-gallop43-common.dtsi" - -/ { - model = "OMAP35xx Gumstix Overo on Gallop43"; - compatible = "gumstix,omap3-overo-gallop43", "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 */ - OMAP3430_CORE2_IOPAD(0x25ec, PIN_OUTPUT | MUX_MODE4) /* etk_d8.gpio_22 */ - >; - }; - - button_pins: button-pins { - pinctrl-single,pins = < - OMAP3430_CORE2_IOPAD(0x25ee, PIN_INPUT | MUX_MODE4) /* etk_d9.gpio_23 */ - OMAP3430_CORE2_IOPAD(0x25dc, PIN_INPUT | MUX_MODE4) /* etk_d0.gpio_14 */ - >; - }; -}; - +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2014 Florian Vaussard, EPFL Mobots group + */ + +/* + * Gallop43 expansion board is manufactured by Gumstix Inc. + */ + +/dts-v1/; + +#include "omap3-overo.dtsi" +#include "omap3-overo-gallop43-common.dtsi" + +/ { + model = "OMAP35xx Gumstix Overo on Gallop43"; + compatible = "gumstix,omap3-overo-gallop43", "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 */ + OMAP3430_CORE2_IOPAD(0x25ec, PIN_OUTPUT | MUX_MODE4) /* etk_d8.gpio_22 */ + >; + }; + + button_pins: button-pins { + pinctrl-single,pins = < + OMAP3430_CORE2_IOPAD(0x25ee, PIN_INPUT | MUX_MODE4) /* etk_d9.gpio_23 */ + OMAP3430_CORE2_IOPAD(0x25dc, PIN_INPUT | MUX_MODE4) /* etk_d0.gpio_14 */ + >; + }; +}; + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-overo-palo35.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-overo-palo35.dts index 887e7b2911..39c8e9ce57 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-overo-palo35.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-overo-palo35.dts @@ -1,34 +1,34 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2015 Ash Charles, Gumstix Inc. - */ - -/* - * Palo35 expansion board is manufactured by Gumstix Inc. - */ - -/dts-v1/; - -#include "omap3-overo.dtsi" -#include "omap3-overo-palo35-common.dtsi" - -/ { - model = "OMAP35xx Gumstix Overo on Palo35"; - compatible = "gumstix,omap3-overo-palo35", "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 */ - OMAP3430_CORE2_IOPAD(0x25ec, PIN_OUTPUT | MUX_MODE4) /* etk_d8.gpio_22 */ - >; - }; - - button_pins: button-pins { - pinctrl-single,pins = < - OMAP3430_CORE2_IOPAD(0x25ee, PIN_INPUT | MUX_MODE4) /* etk_d9.gpio_23 */ - OMAP3430_CORE2_IOPAD(0x25dc, PIN_INPUT | MUX_MODE4) /* etk_d0.gpio_14 */ - >; - }; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2015 Ash Charles, Gumstix Inc. + */ + +/* + * Palo35 expansion board is manufactured by Gumstix Inc. + */ + +/dts-v1/; + +#include "omap3-overo.dtsi" +#include "omap3-overo-palo35-common.dtsi" + +/ { + model = "OMAP35xx Gumstix Overo on Palo35"; + compatible = "gumstix,omap3-overo-palo35", "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 */ + OMAP3430_CORE2_IOPAD(0x25ec, PIN_OUTPUT | MUX_MODE4) /* etk_d8.gpio_22 */ + >; + }; + + button_pins: button-pins { + pinctrl-single,pins = < + OMAP3430_CORE2_IOPAD(0x25ee, PIN_INPUT | MUX_MODE4) /* etk_d9.gpio_23 */ + OMAP3430_CORE2_IOPAD(0x25dc, PIN_INPUT | MUX_MODE4) /* etk_d0.gpio_14 */ + >; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-overo-palo43.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-overo-palo43.dts index be6a3f5107..2c0f755ec8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-overo-palo43.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-overo-palo43.dts @@ -1,35 +1,35 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2014 Florian Vaussard, EPFL Mobots group - */ - -/* - * Palo43 expansion board is manufactured by Gumstix Inc. - */ - -/dts-v1/; - -#include "omap3-overo.dtsi" -#include "omap3-overo-palo43-common.dtsi" - -/ { - model = "OMAP35xx Gumstix Overo on Palo43"; - compatible = "gumstix,omap3-overo-palo43", "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 */ - OMAP3430_CORE2_IOPAD(0x25ec, PIN_OUTPUT | MUX_MODE4) /* etk_d8.gpio_22 */ - >; - }; - - button_pins: button-pins { - pinctrl-single,pins = < - OMAP3430_CORE2_IOPAD(0x25ee, PIN_INPUT | MUX_MODE4) /* etk_d9.gpio_23 */ - OMAP3430_CORE2_IOPAD(0x25dc, PIN_INPUT | MUX_MODE4) /* etk_d0.gpio_14 */ - >; - }; -}; - +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2014 Florian Vaussard, EPFL Mobots group + */ + +/* + * Palo43 expansion board is manufactured by Gumstix Inc. + */ + +/dts-v1/; + +#include "omap3-overo.dtsi" +#include "omap3-overo-palo43-common.dtsi" + +/ { + model = "OMAP35xx Gumstix Overo on Palo43"; + compatible = "gumstix,omap3-overo-palo43", "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 */ + OMAP3430_CORE2_IOPAD(0x25ec, PIN_OUTPUT | MUX_MODE4) /* etk_d8.gpio_22 */ + >; + }; + + button_pins: button-pins { + pinctrl-single,pins = < + OMAP3430_CORE2_IOPAD(0x25ee, PIN_INPUT | MUX_MODE4) /* etk_d9.gpio_23 */ + OMAP3430_CORE2_IOPAD(0x25dc, PIN_INPUT | MUX_MODE4) /* etk_d0.gpio_14 */ + >; + }; +}; + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-overo-storm-chestnut43.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-overo-storm-chestnut43.dts index 2abddebb23..25e82efe4f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-overo-storm-chestnut43.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-overo-storm-chestnut43.dts @@ -1,35 +1,35 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2014 Florian Vaussard, EPFL Mobots group - */ - -/* - * Chestnut43 expansion board is manufactured by Gumstix Inc. - */ - -/dts-v1/; - -#include "omap3-overo-storm.dtsi" -#include "omap3-overo-chestnut43-common.dtsi" - -/ { - model = "OMAP36xx/AM37xx/DM37xx Gumstix Overo on Chestnut43"; - compatible = "gumstix,omap3-overo-chestnut43", "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 */ - OMAP3630_CORE2_IOPAD(0x25ec, PIN_OUTPUT | MUX_MODE4) /* etk_d8.gpio_22 */ - >; - }; - - button_pins: button-pins { - pinctrl-single,pins = < - OMAP3630_CORE2_IOPAD(0x25ee, PIN_INPUT | MUX_MODE4) /* etk_d9.gpio_23 */ - OMAP3630_CORE2_IOPAD(0x25dc, PIN_INPUT | MUX_MODE4) /* etk_d0.gpio_14 */ - >; - }; -}; - +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2014 Florian Vaussard, EPFL Mobots group + */ + +/* + * Chestnut43 expansion board is manufactured by Gumstix Inc. + */ + +/dts-v1/; + +#include "omap3-overo-storm.dtsi" +#include "omap3-overo-chestnut43-common.dtsi" + +/ { + model = "OMAP36xx/AM37xx/DM37xx Gumstix Overo on Chestnut43"; + compatible = "gumstix,omap3-overo-chestnut43", "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 */ + OMAP3630_CORE2_IOPAD(0x25ec, PIN_OUTPUT | MUX_MODE4) /* etk_d8.gpio_22 */ + >; + }; + + button_pins: button-pins { + pinctrl-single,pins = < + OMAP3630_CORE2_IOPAD(0x25ee, PIN_INPUT | MUX_MODE4) /* etk_d9.gpio_23 */ + OMAP3630_CORE2_IOPAD(0x25dc, PIN_INPUT | MUX_MODE4) /* etk_d0.gpio_14 */ + >; + }; +}; + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-overo-storm-gallop43.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-overo-storm-gallop43.dts index 56b38d8e93..0c93ea3f97 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-overo-storm-gallop43.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-overo-storm-gallop43.dts @@ -1,35 +1,35 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2014 Florian Vaussard, EPFL Mobots group - */ - -/* - * Gallop43 expansion board is manufactured by Gumstix Inc. - */ - -/dts-v1/; - -#include "omap3-overo-storm.dtsi" -#include "omap3-overo-gallop43-common.dtsi" - -/ { - model = "OMAP36xx/AM37xx/DM37xx Gumstix Overo on Gallop43"; - compatible = "gumstix,omap3-overo-gallop43", "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 */ - OMAP3630_CORE2_IOPAD(0x25ec, PIN_OUTPUT | MUX_MODE4) /* etk_d8.gpio_22 */ - >; - }; - - button_pins: button-pins { - pinctrl-single,pins = < - OMAP3630_CORE2_IOPAD(0x25ee, PIN_INPUT | MUX_MODE4) /* etk_d9.gpio_23 */ - OMAP3630_CORE2_IOPAD(0x25dc, PIN_INPUT | MUX_MODE4) /* etk_d0.gpio_14 */ - >; - }; -}; - +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2014 Florian Vaussard, EPFL Mobots group + */ + +/* + * Gallop43 expansion board is manufactured by Gumstix Inc. + */ + +/dts-v1/; + +#include "omap3-overo-storm.dtsi" +#include "omap3-overo-gallop43-common.dtsi" + +/ { + model = "OMAP36xx/AM37xx/DM37xx Gumstix Overo on Gallop43"; + compatible = "gumstix,omap3-overo-gallop43", "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 */ + OMAP3630_CORE2_IOPAD(0x25ec, PIN_OUTPUT | MUX_MODE4) /* etk_d8.gpio_22 */ + >; + }; + + button_pins: button-pins { + pinctrl-single,pins = < + OMAP3630_CORE2_IOPAD(0x25ee, PIN_INPUT | MUX_MODE4) /* etk_d9.gpio_23 */ + OMAP3630_CORE2_IOPAD(0x25dc, PIN_INPUT | MUX_MODE4) /* etk_d0.gpio_14 */ + >; + }; +}; + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-overo-storm-palo35.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-overo-storm-palo35.dts index 27fbfc9a57..9468ef9f97 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-overo-storm-palo35.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-overo-storm-palo35.dts @@ -1,34 +1,34 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2015 Ash Charles, Gumstix, Inc. - */ - -/* - * Palo35 expansion board is manufactured by Gumstix Inc. - */ - -/dts-v1/; - -#include "omap3-overo-storm.dtsi" -#include "omap3-overo-palo35-common.dtsi" - -/ { - model = "OMAP36xx/AM37xx/DM37xx Gumstix Overo on Palo35"; - compatible = "gumstix,omap3-overo-palo35", "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 */ - OMAP3630_CORE2_IOPAD(0x25ec, PIN_OUTPUT | MUX_MODE4) /* etk_d8.gpio_22 */ - >; - }; - - button_pins: button-pins { - pinctrl-single,pins = < - OMAP3630_CORE2_IOPAD(0x25ee, PIN_INPUT | MUX_MODE4) /* etk_d9.gpio_23 */ - OMAP3630_CORE2_IOPAD(0x25dc, PIN_INPUT | MUX_MODE4) /* etk_d0.gpio_14 */ - >; - }; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2015 Ash Charles, Gumstix, Inc. + */ + +/* + * Palo35 expansion board is manufactured by Gumstix Inc. + */ + +/dts-v1/; + +#include "omap3-overo-storm.dtsi" +#include "omap3-overo-palo35-common.dtsi" + +/ { + model = "OMAP36xx/AM37xx/DM37xx Gumstix Overo on Palo35"; + compatible = "gumstix,omap3-overo-palo35", "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 */ + OMAP3630_CORE2_IOPAD(0x25ec, PIN_OUTPUT | MUX_MODE4) /* etk_d8.gpio_22 */ + >; + }; + + button_pins: button-pins { + pinctrl-single,pins = < + OMAP3630_CORE2_IOPAD(0x25ee, PIN_INPUT | MUX_MODE4) /* etk_d9.gpio_23 */ + OMAP3630_CORE2_IOPAD(0x25dc, PIN_INPUT | MUX_MODE4) /* etk_d0.gpio_14 */ + >; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-overo-storm-palo43.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-overo-storm-palo43.dts index dd94dafae3..9feead5844 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-overo-storm-palo43.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-overo-storm-palo43.dts @@ -1,35 +1,35 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2014 Florian Vaussard, EPFL Mobots group - */ - -/* - * Palo43 expansion board is manufactured by Gumstix Inc. - */ - -/dts-v1/; - -#include "omap3-overo-storm.dtsi" -#include "omap3-overo-palo43-common.dtsi" - -/ { - model = "OMAP36xx/AM37xx/DM37xx Gumstix Overo on Palo43"; - compatible = "gumstix,omap3-overo-palo43", "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 */ - OMAP3630_CORE2_IOPAD(0x25ec, PIN_OUTPUT | MUX_MODE4) /* etk_d8.gpio_22 */ - >; - }; - - button_pins: button-pins { - pinctrl-single,pins = < - OMAP3630_CORE2_IOPAD(0x25ee, PIN_INPUT | MUX_MODE4) /* etk_d9.gpio_23 */ - OMAP3630_CORE2_IOPAD(0x25dc, PIN_INPUT | MUX_MODE4) /* etk_d0.gpio_14 */ - >; - }; -}; - +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2014 Florian Vaussard, EPFL Mobots group + */ + +/* + * Palo43 expansion board is manufactured by Gumstix Inc. + */ + +/dts-v1/; + +#include "omap3-overo-storm.dtsi" +#include "omap3-overo-palo43-common.dtsi" + +/ { + model = "OMAP36xx/AM37xx/DM37xx Gumstix Overo on Palo43"; + compatible = "gumstix,omap3-overo-palo43", "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 */ + OMAP3630_CORE2_IOPAD(0x25ec, PIN_OUTPUT | MUX_MODE4) /* etk_d8.gpio_22 */ + >; + }; + + button_pins: button-pins { + pinctrl-single,pins = < + OMAP3630_CORE2_IOPAD(0x25ee, PIN_INPUT | MUX_MODE4) /* etk_d9.gpio_23 */ + OMAP3630_CORE2_IOPAD(0x25dc, PIN_INPUT | MUX_MODE4) /* etk_d0.gpio_14 */ + >; + }; +}; + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-overo-tobi-common.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-overo-tobi-common.dtsi index a6eab79493..5432e4e16a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-overo-tobi-common.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-overo-tobi-common.dtsi @@ -1,37 +1,37 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2012 Florian Vaussard, EPFL Mobots group - */ - -/* - * Tobi expansion board is manufactured by Gumstix Inc. - */ - -#include "omap3-overo-common-peripherals.dtsi" -#include "omap3-overo-common-dvi.dtsi" - -/ { - leds { - compatible = "gpio-leds"; - led-heartbeat { - label = "overo:red:gpio21"; - gpios = <&gpio1 21 GPIO_ACTIVE_LOW>; - linux,default-trigger = "heartbeat"; - }; - }; -}; - -#include "omap-gpmc-smsc9221.dtsi" - -&gpmc { - ethernet@gpmc { - reg = <5 0 0xff>; - interrupt-parent = <&gpio6>; - interrupts = <16 IRQ_TYPE_LEVEL_LOW>; /* GPIO 176 */ - }; -}; - -&lis33de { - status = "disabled"; -}; - +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2012 Florian Vaussard, EPFL Mobots group + */ + +/* + * Tobi expansion board is manufactured by Gumstix Inc. + */ + +#include "omap3-overo-common-peripherals.dtsi" +#include "omap3-overo-common-dvi.dtsi" + +/ { + leds { + compatible = "gpio-leds"; + led-heartbeat { + label = "overo:red:gpio21"; + gpios = <&gpio1 21 GPIO_ACTIVE_LOW>; + linux,default-trigger = "heartbeat"; + }; + }; +}; + +#include "omap-gpmc-smsc9221.dtsi" + +&gpmc { + ethernet@gpmc { + reg = <5 0 0xff>; + interrupt-parent = <&gpio6>; + interrupts = <16 IRQ_TYPE_LEVEL_LOW>; /* GPIO 176 */ + }; +}; + +&lis33de { + status = "disabled"; +}; + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-sbc-t3730.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-sbc-t3730.dts index 38b8dc6f99..aefc1187eb 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-sbc-t3730.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-sbc-t3730.dts @@ -1,44 +1,44 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Suppport for CompuLab SBC-T3730 with CM-T3730 - */ - -#include "omap3-cm-t3730.dts" -#include "omap3-sb-t35.dtsi" - -/ { - model = "CompuLab SBC-T3730 with CM-T3730"; - compatible = "compulab,omap3-sbc-t3730", "compulab,omap3-cm-t3730", "ti,omap3630", "ti,omap3"; - - aliases { - display0 = &dvi0; - display1 = &tv0; - }; -}; - -&omap3_pmx_core { - pinctrl-names = "default"; - pinctrl-0 = <&sb_t35_usb_hub_pins>; - - sb_t35_usb_hub_pins: sb-t35-usb-hub-pins { - pinctrl-single,pins = < - OMAP3_CORE1_IOPAD(0x2130, PIN_OUTPUT | MUX_MODE4) /* ccdc_wen.gpio_167 - SB-T35 USB HUB RST */ - >; - }; -}; - -&gpmc { - ranges = <5 0 0x2c000000 0x01000000>, /* CM-T3x30 SMSC9x Eth */ - <4 0 0x2d000000 0x01000000>, /* SB-T35 SMSC9x Eth */ - <0 0 0x00000000 0x01000000>; /* CM-T3x NAND */ -}; - -&dss { - port { - dpi_out: endpoint { - remote-endpoint = <&tfp410_in>; - data-lines = <24>; - }; - }; -}; - +// SPDX-License-Identifier: GPL-2.0 +/* + * Suppport for CompuLab SBC-T3730 with CM-T3730 + */ + +#include "omap3-cm-t3730.dts" +#include "omap3-sb-t35.dtsi" + +/ { + model = "CompuLab SBC-T3730 with CM-T3730"; + compatible = "compulab,omap3-sbc-t3730", "compulab,omap3-cm-t3730", "ti,omap3630", "ti,omap3"; + + aliases { + display0 = &dvi0; + display1 = &tv0; + }; +}; + +&omap3_pmx_core { + pinctrl-names = "default"; + pinctrl-0 = <&sb_t35_usb_hub_pins>; + + sb_t35_usb_hub_pins: sb-t35-usb-hub-pins { + pinctrl-single,pins = < + OMAP3_CORE1_IOPAD(0x2130, PIN_OUTPUT | MUX_MODE4) /* ccdc_wen.gpio_167 - SB-T35 USB HUB RST */ + >; + }; +}; + +&gpmc { + ranges = <5 0 0x2c000000 0x01000000>, /* CM-T3x30 SMSC9x Eth */ + <4 0 0x2d000000 0x01000000>, /* SB-T35 SMSC9x Eth */ + <0 0 0x00000000 0x01000000>; /* CM-T3x NAND */ +}; + +&dss { + port { + dpi_out: endpoint { + remote-endpoint = <&tfp410_in>; + data-lines = <24>; + }; + }; +}; + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap4-xyboard-mz609.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap4-xyboard-mz609.dts index d505b09f5b..762934e2d0 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap4-xyboard-mz609.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap4-xyboard-mz609.dts @@ -1,46 +1,46 @@ -// SPDX-License-Identifier: GPL-2.0-only -/dts-v1/; - -#include "motorola-mapphone-mz607-mz617.dtsi" - -/ { - model = "Motorola Xyboard MZ609"; - compatible = "motorola,xyboard-mz609", "ti,omap4430", "ti,omap4"; - - chosen { - stdout-path = &uart3; - }; - - aliases { - display1 = &hdmi0; - }; - - backlight: backlight { - compatible = "led-backlight"; - - leds = <&backlight_led>; - brightness-levels = <31 63 95 127 159 191 223 255>; - default-brightness-level = <6>; - }; -}; - -&i2c1 { - led-controller@38 { - compatible = "ti,lm3532"; - #address-cells = <1>; - #size-cells = <0>; - reg = <0x38>; - - enable-gpios = <&gpio6 12 GPIO_ACTIVE_HIGH>; - - ramp-up-us = <1024>; - ramp-down-us = <8193>; - - backlight_led: led@0 { - reg = <0>; - led-sources = <2>; - ti,led-mode = <0>; - label = ":backlight"; - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0-only +/dts-v1/; + +#include "motorola-mapphone-mz607-mz617.dtsi" + +/ { + model = "Motorola Xyboard MZ609"; + compatible = "motorola,xyboard-mz609", "ti,omap4430", "ti,omap4"; + + chosen { + stdout-path = &uart3; + }; + + aliases { + display1 = &hdmi0; + }; + + backlight: backlight { + compatible = "led-backlight"; + + leds = <&backlight_led>; + brightness-levels = <31 63 95 127 159 191 223 255>; + default-brightness-level = <6>; + }; +}; + +&i2c1 { + led-controller@38 { + compatible = "ti,lm3532"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x38>; + + enable-gpios = <&gpio6 12 GPIO_ACTIVE_HIGH>; + + ramp-up-us = <1024>; + ramp-down-us = <8193>; + + backlight_led: led@0 { + reg = <0>; + led-sources = <2>; + ti,led-mode = <0>; + label = ":backlight"; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/twl6030_omap4.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/twl6030_omap4.dtsi index 544b762461..64e38c7c8b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/twl6030_omap4.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/twl6030_omap4.dtsi @@ -1,35 +1,35 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/ - */ - -&twl { - /* - * On most OMAP4 platforms, the twl6030 IRQ line is connected - * to the SYS_NIRQ1 line on OMAP and the twl6030 MSECURE line is - * connected to the fref_clk0_out.sys_drm_msecure line. - * Therefore, configure the defaults for the SYS_NIRQ1 and - * fref_clk0_out.sys_drm_msecure pins here. - */ - pinctrl-names = "default"; - pinctrl-0 = < - &twl6030_pins - &twl6030_wkup_pins - >; -}; - -&omap4_pmx_wkup { - twl6030_wkup_pins: twl6030-wkup-pins { - pinctrl-single,pins = < - OMAP4_IOPAD(0x054, PIN_OUTPUT | MUX_MODE2) /* fref_clk0_out.sys_drm_msecure */ - >; - }; -}; - -&omap4_pmx_core { - twl6030_pins: twl6030-pins { - pinctrl-single,pins = < - OMAP4_IOPAD(0x19e, WAKEUP_EN | PIN_INPUT_PULLUP | MUX_MODE0) /* sys_nirq1.sys_nirq1 */ - >; - }; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/ + */ + +&twl { + /* + * On most OMAP4 platforms, the twl6030 IRQ line is connected + * to the SYS_NIRQ1 line on OMAP and the twl6030 MSECURE line is + * connected to the fref_clk0_out.sys_drm_msecure line. + * Therefore, configure the defaults for the SYS_NIRQ1 and + * fref_clk0_out.sys_drm_msecure pins here. + */ + pinctrl-names = "default"; + pinctrl-0 = < + &twl6030_pins + &twl6030_wkup_pins + >; +}; + +&omap4_pmx_wkup { + twl6030_wkup_pins: twl6030-wkup-pins { + pinctrl-single,pins = < + OMAP4_IOPAD(0x054, PIN_OUTPUT | MUX_MODE2) /* fref_clk0_out.sys_drm_msecure */ + >; + }; +}; + +&omap4_pmx_core { + twl6030_pins: twl6030-pins { + pinctrl-single,pins = < + OMAP4_IOPAD(0x19e, WAKEUP_EN | PIN_INPUT_PULLUP | MUX_MODE0) /* sys_nirq1.sys_nirq1 */ + >; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/tps6507x.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/tps6507x.dtsi index aaa8c1fdb0..db4809d308 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/tps6507x.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/tps6507x.dtsi @@ -1,44 +1,44 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ - */ - -/* - * Integrated Power Management Chip - * http://www.ti.com/lit/ds/symlink/tps65070.pdf - */ - -&tps { - compatible = "ti,tps6507x"; - - regulators { - #address-cells = <1>; - #size-cells = <0>; - - vdcdc1_reg: regulator@0 { - reg = <0>; - regulator-compatible = "VDCDC1"; - }; - - vdcdc2_reg: regulator@1 { - reg = <1>; - regulator-compatible = "VDCDC2"; - }; - - vdcdc3_reg: regulator@2 { - reg = <2>; - regulator-compatible = "VDCDC3"; - }; - - ldo1_reg: regulator@3 { - reg = <3>; - regulator-compatible = "LDO1"; - }; - - ldo2_reg: regulator@4 { - reg = <4>; - regulator-compatible = "LDO2"; - }; - - }; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ + */ + +/* + * Integrated Power Management Chip + * http://www.ti.com/lit/ds/symlink/tps65070.pdf + */ + +&tps { + compatible = "ti,tps6507x"; + + regulators { + #address-cells = <1>; + #size-cells = <0>; + + vdcdc1_reg: regulator@0 { + reg = <0>; + regulator-compatible = "VDCDC1"; + }; + + vdcdc2_reg: regulator@1 { + reg = <1>; + regulator-compatible = "VDCDC2"; + }; + + vdcdc3_reg: regulator@2 { + reg = <2>; + regulator-compatible = "VDCDC3"; + }; + + ldo1_reg: regulator@3 { + reg = <3>; + regulator-compatible = "LDO1"; + }; + + ldo2_reg: regulator@4 { + reg = <4>; + regulator-compatible = "LDO2"; + }; + + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/unisoc/rda8810pl-orangepi-2g-iot.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/unisoc/rda8810pl-orangepi-2g-iot.dts index 9457d7a243..98e34248ae 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/unisoc/rda8810pl-orangepi-2g-iot.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/unisoc/rda8810pl-orangepi-2g-iot.dts @@ -1,50 +1,50 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (c) 2017 Andreas Färber - * Copyright (c) 2018 Manivannan Sadhasivam - */ - -/dts-v1/; - -#include "rda8810pl.dtsi" - -/ { - compatible = "xunlong,orangepi-2g-iot", "rda,8810pl"; - model = "Orange Pi 2G-IoT"; - - aliases { - serial0 = &uart1; - serial1 = &uart2; - serial2 = &uart3; - }; - - chosen { - stdout-path = "serial2:921600n8"; - }; - - memory@80000000 { - device_type = "memory"; - reg = <0x80000000 0x10000000>; - }; - - uart_clk: uart-clk { - compatible = "fixed-clock"; - clock-frequency = <921600>; - #clock-cells = <0>; - }; -}; - -&uart1 { - status = "okay"; - clocks = <&uart_clk>; -}; - -&uart2 { - status = "okay"; - clocks = <&uart_clk>; -}; - -&uart3 { - status = "okay"; - clocks = <&uart_clk>; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2017 Andreas Färber + * Copyright (c) 2018 Manivannan Sadhasivam + */ + +/dts-v1/; + +#include "rda8810pl.dtsi" + +/ { + compatible = "xunlong,orangepi-2g-iot", "rda,8810pl"; + model = "Orange Pi 2G-IoT"; + + aliases { + serial0 = &uart1; + serial1 = &uart2; + serial2 = &uart3; + }; + + chosen { + stdout-path = "serial2:921600n8"; + }; + + memory@80000000 { + device_type = "memory"; + reg = <0x80000000 0x10000000>; + }; + + uart_clk: uart-clk { + compatible = "fixed-clock"; + clock-frequency = <921600>; + #clock-cells = <0>; + }; +}; + +&uart1 { + status = "okay"; + clocks = <&uart_clk>; +}; + +&uart2 { + status = "okay"; + clocks = <&uart_clk>; +}; + +&uart3 { + status = "okay"; + clocks = <&uart_clk>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/unisoc/rda8810pl-orangepi-i96.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/unisoc/rda8810pl-orangepi-i96.dts index f312123aa5..728f76931b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/unisoc/rda8810pl-orangepi-i96.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/unisoc/rda8810pl-orangepi-i96.dts @@ -1,50 +1,50 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (c) 2017 Andreas Färber - * Copyright (c) 2018 Manivannan Sadhasivam - */ - -/dts-v1/; - -#include "rda8810pl.dtsi" - -/ { - compatible = "xunlong,orangepi-i96", "rda,8810pl"; - model = "Orange Pi i96"; - - aliases { - serial0 = &uart2; - serial1 = &uart1; - serial2 = &uart3; - }; - - chosen { - stdout-path = "serial2:921600n8"; - }; - - memory@80000000 { - device_type = "memory"; - reg = <0x80000000 0x10000000>; - }; - - uart_clk: uart-clk { - compatible = "fixed-clock"; - clock-frequency = <921600>; - #clock-cells = <0>; - }; -}; - -&uart1 { - status = "okay"; - clocks = <&uart_clk>; -}; - -&uart2 { - status = "okay"; - clocks = <&uart_clk>; -}; - -&uart3 { - status = "okay"; - clocks = <&uart_clk>; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2017 Andreas Färber + * Copyright (c) 2018 Manivannan Sadhasivam + */ + +/dts-v1/; + +#include "rda8810pl.dtsi" + +/ { + compatible = "xunlong,orangepi-i96", "rda,8810pl"; + model = "Orange Pi i96"; + + aliases { + serial0 = &uart2; + serial1 = &uart1; + serial2 = &uart3; + }; + + chosen { + stdout-path = "serial2:921600n8"; + }; + + memory@80000000 { + device_type = "memory"; + reg = <0x80000000 0x10000000>; + }; + + uart_clk: uart-clk { + compatible = "fixed-clock"; + clock-frequency = <921600>; + #clock-cells = <0>; + }; +}; + +&uart1 { + status = "okay"; + clocks = <&uart_clk>; +}; + +&uart2 { + status = "okay"; + clocks = <&uart_clk>; +}; + +&uart3 { + status = "okay"; + clocks = <&uart_clk>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/vt8500/vt8500-bv07.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/vt8500/vt8500-bv07.dts index 81a0b79b81..38a2da5e2c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/vt8500/vt8500-bv07.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/vt8500/vt8500-bv07.dts @@ -1,35 +1,35 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * vt8500-bv07.dts - Device tree file for Benign BV07 Netbook - * - * Copyright (C) 2012 Tony Prisk - */ - -/dts-v1/; -/include/ "vt8500.dtsi" - -/ { - model = "Benign BV07 Netbook"; -}; - -&fb { - bits-per-pixel = <16>; - display-timings { - native-mode = <&timing0>; - timing0: timing-800x480 { - clock-frequency = <0>; /* unused but required */ - hactive = <800>; - vactive = <480>; - hfront-porch = <40>; - hback-porch = <88>; - hsync-len = <0>; - vback-porch = <32>; - vfront-porch = <11>; - vsync-len = <1>; - }; - }; -}; - -&uart0 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * vt8500-bv07.dts - Device tree file for Benign BV07 Netbook + * + * Copyright (C) 2012 Tony Prisk + */ + +/dts-v1/; +/include/ "vt8500.dtsi" + +/ { + model = "Benign BV07 Netbook"; +}; + +&fb { + bits-per-pixel = <16>; + display-timings { + native-mode = <&timing0>; + timing0: timing-800x480 { + clock-frequency = <0>; /* unused but required */ + hactive = <800>; + vactive = <480>; + hfront-porch = <40>; + hback-porch = <88>; + hsync-len = <0>; + vback-porch = <32>; + vfront-porch = <11>; + vsync-len = <1>; + }; + }; +}; + +&uart0 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/vt8500/wm8505-ref.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/vt8500/wm8505-ref.dts index a696a0e17c..8ce9e2ef0a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/vt8500/wm8505-ref.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/vt8500/wm8505-ref.dts @@ -1,35 +1,35 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * wm8505-ref.dts - Device tree file for Wondermedia WM8505 reference netbook - * - * Copyright (C) 2012 Tony Prisk - */ - -/dts-v1/; -/include/ "wm8505.dtsi" - -/ { - model = "Wondermedia WM8505 Netbook"; -}; - -&fb { - bits-per-pixel = <32>; - display-timings { - native-mode = <&timing0>; - timing0: timing-800x480 { - clock-frequency = <0>; /* unused but required */ - hactive = <800>; - vactive = <480>; - hfront-porch = <40>; - hback-porch = <88>; - hsync-len = <0>; - vback-porch = <32>; - vfront-porch = <11>; - vsync-len = <1>; - }; - }; -}; - -&uart0 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * wm8505-ref.dts - Device tree file for Wondermedia WM8505 reference netbook + * + * Copyright (C) 2012 Tony Prisk + */ + +/dts-v1/; +/include/ "wm8505.dtsi" + +/ { + model = "Wondermedia WM8505 Netbook"; +}; + +&fb { + bits-per-pixel = <32>; + display-timings { + native-mode = <&timing0>; + timing0: timing-800x480 { + clock-frequency = <0>; /* unused but required */ + hactive = <800>; + vactive = <480>; + hfront-porch = <40>; + hback-porch = <88>; + hsync-len = <0>; + vback-porch = <32>; + vfront-porch = <11>; + vsync-len = <1>; + }; + }; +}; + +&uart0 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/vt8500/wm8650-mid.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/vt8500/wm8650-mid.dts index d499b08922..7977b6c1e8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/vt8500/wm8650-mid.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/vt8500/wm8650-mid.dts @@ -1,36 +1,36 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * wm8650-mid.dts - Device tree file for Wondermedia WM8650-MID Tablet - * - * Copyright (C) 2012 Tony Prisk - */ - -/dts-v1/; -/include/ "wm8650.dtsi" - -/ { - model = "Wondermedia WM8650-MID Tablet"; -}; - -&fb { - bits-per-pixel = <16>; - - display-timings { - native-mode = <&timing0>; - timing0: timing-800x480 { - clock-frequency = <0>; /* unused but required */ - hactive = <800>; - vactive = <480>; - hfront-porch = <40>; - hback-porch = <88>; - hsync-len = <0>; - vback-porch = <32>; - vfront-porch = <11>; - vsync-len = <1>; - }; - }; -}; - -&uart0 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * wm8650-mid.dts - Device tree file for Wondermedia WM8650-MID Tablet + * + * Copyright (C) 2012 Tony Prisk + */ + +/dts-v1/; +/include/ "wm8650.dtsi" + +/ { + model = "Wondermedia WM8650-MID Tablet"; +}; + +&fb { + bits-per-pixel = <16>; + + display-timings { + native-mode = <&timing0>; + timing0: timing-800x480 { + clock-frequency = <0>; /* unused but required */ + hactive = <800>; + vactive = <480>; + hfront-porch = <40>; + hback-porch = <88>; + hsync-len = <0>; + vback-porch = <32>; + vfront-porch = <11>; + vsync-len = <1>; + }; + }; +}; + +&uart0 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/vt8500/wm8850-w70v2.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/vt8500/wm8850-w70v2.dts index a9c55949ac..5d409323b1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/vt8500/wm8850-w70v2.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/vt8500/wm8850-w70v2.dts @@ -1,47 +1,47 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * wm8850-w70v2.dts - * - Device tree file for Wondermedia WM8850 Tablet - * - 'W70-V2' mainboard - * - HongLianYing 'HLY070ML268-21A' 7" LCD panel - * - * Copyright (C) 2012 Tony Prisk - */ - -/dts-v1/; -/include/ "wm8850.dtsi" -#include - -/ { - model = "Wondermedia WM8850-W70v2 Tablet"; - - backlight { - compatible = "pwm-backlight"; - pwms = <&pwm 0 50000 PWM_POLARITY_INVERTED>; - - brightness-levels = <0 40 60 80 100 130 190 255>; - default-brightness-level = <5>; - }; -}; - -&fb { - bits-per-pixel = <16>; - display-timings { - native-mode = <&timing0>; - timing0: timing-800x480 { - clock-frequency = <0>; /* unused but required */ - hactive = <800>; - vactive = <480>; - hfront-porch = <40>; - hback-porch = <88>; - hsync-len = <0>; - vback-porch = <32>; - vfront-porch = <11>; - vsync-len = <1>; - }; - }; -}; - -&uart0 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * wm8850-w70v2.dts + * - Device tree file for Wondermedia WM8850 Tablet + * - 'W70-V2' mainboard + * - HongLianYing 'HLY070ML268-21A' 7" LCD panel + * + * Copyright (C) 2012 Tony Prisk + */ + +/dts-v1/; +/include/ "wm8850.dtsi" +#include + +/ { + model = "Wondermedia WM8850-W70v2 Tablet"; + + backlight { + compatible = "pwm-backlight"; + pwms = <&pwm 0 50000 PWM_POLARITY_INVERTED>; + + brightness-levels = <0 40 60 80 100 130 190 255>; + default-brightness-level = <5>; + }; +}; + +&fb { + bits-per-pixel = <16>; + display-timings { + native-mode = <&timing0>; + timing0: timing-800x480 { + clock-frequency = <0>; /* unused but required */ + hactive = <800>; + vactive = <480>; + hfront-porch = <40>; + hback-porch = <88>; + hsync-len = <0>; + vback-porch = <32>; + vfront-porch = <11>; + vsync-len = <1>; + }; + }; +}; + +&uart0 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/xilinx/zynq-zc770-xm011.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/xilinx/zynq-zc770-xm011.dts index dd89f615e3..56732e8f6c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/xilinx/zynq-zc770-xm011.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/xilinx/zynq-zc770-xm011.dts @@ -1,64 +1,64 @@ -// SPDX-License-Identifier: GPL-2.0+ -/* - * Xilinx ZC770 XM011 board DTS - * - * Copyright (C) 2013-2018 Xilinx, Inc. - */ -/dts-v1/; -#include "zynq-7000.dtsi" - -/ { - model = "Xilinx ZC770 XM011 board"; - compatible = "xlnx,zynq-zc770-xm011", "xlnx,zynq-7000"; - - aliases { - i2c0 = &i2c1; - serial0 = &uart1; - spi0 = &spi0; - }; - - chosen { - bootargs = ""; - stdout-path = "serial0:115200n8"; - }; - - memory@0 { - device_type = "memory"; - reg = <0x0 0x40000000>; - }; - - usb_phy1: phy1 { - compatible = "usb-nop-xceiv"; - #phy-cells = <0>; - }; -}; - -&can0 { - status = "okay"; -}; - -&i2c1 { - status = "okay"; - clock-frequency = <400000>; - - eeprom: eeprom@52 { - compatible = "atmel,24c02"; - reg = <0x52>; - }; -}; - -&spi0 { - status = "okay"; - num-cs = <4>; - is-decoded-cs = <0>; -}; - -&uart1 { - status = "okay"; -}; - -&usb1 { - status = "okay"; - dr_mode = "host"; - usb-phy = <&usb_phy1>; -}; +// SPDX-License-Identifier: GPL-2.0+ +/* + * Xilinx ZC770 XM011 board DTS + * + * Copyright (C) 2013-2018 Xilinx, Inc. + */ +/dts-v1/; +#include "zynq-7000.dtsi" + +/ { + model = "Xilinx ZC770 XM011 board"; + compatible = "xlnx,zynq-zc770-xm011", "xlnx,zynq-7000"; + + aliases { + i2c0 = &i2c1; + serial0 = &uart1; + spi0 = &spi0; + }; + + chosen { + bootargs = ""; + stdout-path = "serial0:115200n8"; + }; + + memory@0 { + device_type = "memory"; + reg = <0x0 0x40000000>; + }; + + usb_phy1: phy1 { + compatible = "usb-nop-xceiv"; + #phy-cells = <0>; + }; +}; + +&can0 { + status = "okay"; +}; + +&i2c1 { + status = "okay"; + clock-frequency = <400000>; + + eeprom: eeprom@52 { + compatible = "atmel,24c02"; + reg = <0x52>; + }; +}; + +&spi0 { + status = "okay"; + num-cs = <4>; + is-decoded-cs = <0>; +}; + +&uart1 { + status = "okay"; +}; + +&usb1 { + status = "okay"; + dr_mode = "host"; + usb-phy = <&usb_phy1>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/xilinx/zynq-zc770-xm012.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/xilinx/zynq-zc770-xm012.dts index 79cb0aba1c..d2359b789e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/xilinx/zynq-zc770-xm012.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/xilinx/zynq-zc770-xm012.dts @@ -1,64 +1,64 @@ -// SPDX-License-Identifier: GPL-2.0+ -/* - * Xilinx ZC770 XM012 board DTS - * - * Copyright (C) 2013-2018 Xilinx, Inc. - */ -/dts-v1/; -#include "zynq-7000.dtsi" - -/ { - model = "Xilinx ZC770 XM012 board"; - compatible = "xlnx,zynq-zc770-xm012", "xlnx,zynq-7000"; - - aliases { - i2c0 = &i2c0; - i2c1 = &i2c1; - serial0 = &uart1; - spi0 = &spi1; - }; - - chosen { - bootargs = ""; - stdout-path = "serial0:115200n8"; - }; - - memory@0 { - device_type = "memory"; - reg = <0x0 0x40000000>; - }; -}; - -&can1 { - status = "okay"; -}; - -&i2c0 { - status = "okay"; - clock-frequency = <400000>; - - eeprom0: eeprom@52 { - compatible = "atmel,24c02"; - reg = <0x52>; - }; -}; - -&i2c1 { - status = "okay"; - clock-frequency = <400000>; - - eeprom1: eeprom@52 { - compatible = "atmel,24c02"; - reg = <0x52>; - }; -}; - -&spi1 { - status = "okay"; - num-cs = <4>; - is-decoded-cs = <0>; -}; - -&uart1 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0+ +/* + * Xilinx ZC770 XM012 board DTS + * + * Copyright (C) 2013-2018 Xilinx, Inc. + */ +/dts-v1/; +#include "zynq-7000.dtsi" + +/ { + model = "Xilinx ZC770 XM012 board"; + compatible = "xlnx,zynq-zc770-xm012", "xlnx,zynq-7000"; + + aliases { + i2c0 = &i2c0; + i2c1 = &i2c1; + serial0 = &uart1; + spi0 = &spi1; + }; + + chosen { + bootargs = ""; + stdout-path = "serial0:115200n8"; + }; + + memory@0 { + device_type = "memory"; + reg = <0x0 0x40000000>; + }; +}; + +&can1 { + status = "okay"; +}; + +&i2c0 { + status = "okay"; + clock-frequency = <400000>; + + eeprom0: eeprom@52 { + compatible = "atmel,24c02"; + reg = <0x52>; + }; +}; + +&i2c1 { + status = "okay"; + clock-frequency = <400000>; + + eeprom1: eeprom@52 { + compatible = "atmel,24c02"; + reg = <0x52>; + }; +}; + +&spi1 { + status = "okay"; + num-cs = <4>; + is-decoded-cs = <0>; +}; + +&uart1 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/xilinx/zynq-zed.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/xilinx/zynq-zed.dts index acc344ab13..6a5a93aa65 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/xilinx/zynq-zed.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/xilinx/zynq-zed.dts @@ -1,62 +1,62 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright (C) 2011 - 2014 Xilinx - * Copyright (C) 2012 National Instruments Corp. - */ -/dts-v1/; -#include "zynq-7000.dtsi" - -/ { - model = "Avnet ZedBoard board"; - compatible = "avnet,zynq-zed", "xlnx,zynq-zed", "xlnx,zynq-7000"; - - aliases { - ethernet0 = &gem0; - serial0 = &uart1; - mmc0 = &sdhci0; - }; - - memory@0 { - device_type = "memory"; - reg = <0x0 0x20000000>; - }; - - chosen { - bootargs = ""; - stdout-path = "serial0:115200n8"; - }; - - usb_phy0: phy0 { - compatible = "usb-nop-xceiv"; - #phy-cells = <0>; - }; -}; - -&clkc { - ps-clk-frequency = <33333333>; -}; - -&gem0 { - status = "okay"; - phy-mode = "rgmii-id"; - phy-handle = <ðernet_phy>; - - ethernet_phy: ethernet-phy@0 { - reg = <0>; - device_type = "ethernet-phy"; - }; -}; - -&sdhci0 { - status = "okay"; -}; - -&uart1 { - status = "okay"; -}; - -&usb0 { - status = "okay"; - dr_mode = "host"; - usb-phy = <&usb_phy0>; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2011 - 2014 Xilinx + * Copyright (C) 2012 National Instruments Corp. + */ +/dts-v1/; +#include "zynq-7000.dtsi" + +/ { + model = "Avnet ZedBoard board"; + compatible = "avnet,zynq-zed", "xlnx,zynq-zed", "xlnx,zynq-7000"; + + aliases { + ethernet0 = &gem0; + serial0 = &uart1; + mmc0 = &sdhci0; + }; + + memory@0 { + device_type = "memory"; + reg = <0x0 0x20000000>; + }; + + chosen { + bootargs = ""; + stdout-path = "serial0:115200n8"; + }; + + usb_phy0: phy0 { + compatible = "usb-nop-xceiv"; + #phy-cells = <0>; + }; +}; + +&clkc { + ps-clk-frequency = <33333333>; +}; + +&gem0 { + status = "okay"; + phy-mode = "rgmii-id"; + phy-handle = <ðernet_phy>; + + ethernet_phy: ethernet-phy@0 { + reg = <0>; + device_type = "ethernet-phy"; + }; +}; + +&sdhci0 { + status = "okay"; +}; + +&uart1 { + status = "okay"; +}; + +&usb0 { + status = "okay"; + dr_mode = "host"; + usb-phy = <&usb_phy0>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/xilinx/zynq-zybo.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/xilinx/zynq-zybo.dts index 5b93863a62..755f6f109d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/xilinx/zynq-zybo.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/xilinx/zynq-zybo.dts @@ -1,63 +1,63 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright (C) 2011 - 2014 Xilinx - * Copyright (C) 2012 National Instruments Corp. - */ -/dts-v1/; -#include "zynq-7000.dtsi" - -/ { - model = "Digilent Zybo board"; - compatible = "digilent,zynq-zybo", "xlnx,zynq-7000"; - - aliases { - ethernet0 = &gem0; - serial0 = &uart1; - mmc0 = &sdhci0; - }; - - memory@0 { - device_type = "memory"; - reg = <0x0 0x20000000>; - }; - - chosen { - bootargs = ""; - stdout-path = "serial0:115200n8"; - }; - - usb_phy0: phy0 { - #phy-cells = <0>; - compatible = "usb-nop-xceiv"; - reset-gpios = <&gpio0 46 1>; - }; -}; - -&clkc { - ps-clk-frequency = <50000000>; -}; - -&gem0 { - status = "okay"; - phy-mode = "rgmii-id"; - phy-handle = <ðernet_phy>; - - ethernet_phy: ethernet-phy@0 { - reg = <0>; - device_type = "ethernet-phy"; - }; -}; - -&sdhci0 { - status = "okay"; -}; - -&uart1 { - status = "okay"; -}; - -&usb0 { - status = "okay"; - dr_mode = "host"; - usb-phy = <&usb_phy0>; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2011 - 2014 Xilinx + * Copyright (C) 2012 National Instruments Corp. + */ +/dts-v1/; +#include "zynq-7000.dtsi" + +/ { + model = "Digilent Zybo board"; + compatible = "digilent,zynq-zybo", "xlnx,zynq-7000"; + + aliases { + ethernet0 = &gem0; + serial0 = &uart1; + mmc0 = &sdhci0; + }; + + memory@0 { + device_type = "memory"; + reg = <0x0 0x20000000>; + }; + + chosen { + bootargs = ""; + stdout-path = "serial0:115200n8"; + }; + + usb_phy0: phy0 { + #phy-cells = <0>; + compatible = "usb-nop-xceiv"; + reset-gpios = <&gpio0 46 1>; + }; +}; + +&clkc { + ps-clk-frequency = <50000000>; +}; + +&gem0 { + status = "okay"; + phy-mode = "rgmii-id"; + phy-handle = <ðernet_phy>; + + ethernet_phy: ethernet-phy@0 { + reg = <0>; + device_type = "ethernet-phy"; + }; +}; + +&sdhci0 { + status = "okay"; +}; + +&uart1 { + status = "okay"; +}; + +&usb0 { + status = "okay"; + dr_mode = "host"; + usb-phy = <&usb_phy0>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/common/secure_cntvoff.S b/image/debian/UFI003_MB_V02/kernel/arch/arm/common/secure_cntvoff.S index 97765d88d3..53fc7bdb6c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/common/secure_cntvoff.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/common/secure_cntvoff.S @@ -1,32 +1,32 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2014 Renesas Electronics Corporation - * - * Initialization of CNTVOFF register from secure mode - * - */ - -#include -#include - -ENTRY(secure_cntvoff_init) - .arch armv7-a - /* - * CNTVOFF has to be initialized either from non-secure Hypervisor - * mode or secure Monitor mode with SCR.NS==1. If TrustZone is enabled - * then it should be handled by the secure code. The CPU must implement - * the virtualization extensions. - */ - cps #MON_MODE - mrc p15, 0, r1, c1, c1, 0 /* Get Secure Config */ - orr r0, r1, #1 - mcr p15, 0, r0, c1, c1, 0 /* Set Non Secure bit */ - isb - mov r0, #0 - mcrr p15, 4, r0, r0, c14 /* CNTVOFF = 0 */ - isb - mcr p15, 0, r1, c1, c1, 0 /* Set Secure bit */ - isb - cps #SVC_MODE - ret lr -ENDPROC(secure_cntvoff_init) +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2014 Renesas Electronics Corporation + * + * Initialization of CNTVOFF register from secure mode + * + */ + +#include +#include + +ENTRY(secure_cntvoff_init) + .arch armv7-a + /* + * CNTVOFF has to be initialized either from non-secure Hypervisor + * mode or secure Monitor mode with SCR.NS==1. If TrustZone is enabled + * then it should be handled by the secure code. The CPU must implement + * the virtualization extensions. + */ + cps #MON_MODE + mrc p15, 0, r1, c1, c1, 0 /* Get Secure Config */ + orr r0, r1, #1 + mcr p15, 0, r0, c1, c1, 0 /* Set Non Secure bit */ + isb + mov r0, #0 + mcrr p15, 4, r0, r0, c14 /* CNTVOFF = 0 */ + isb + mcr p15, 0, r1, c1, c1, 0 /* Set Secure bit */ + isb + cps #SVC_MODE + ret lr +ENDPROC(secure_cntvoff_init) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/configs/imxrt_defconfig b/image/debian/UFI003_MB_V02/kernel/arch/arm/configs/imxrt_defconfig index d49864c94a..52dba37629 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/configs/imxrt_defconfig +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/configs/imxrt_defconfig @@ -1,35 +1,35 @@ -# CONFIG_LOCALVERSION_AUTO is not set -CONFIG_BPF_SYSCALL=y -CONFIG_SCHED_AUTOGROUP=y -# CONFIG_MMU is not set -CONFIG_ARCH_MXC=y -CONFIG_SOC_IMXRT=y -CONFIG_SET_MEM_PARAM=y -CONFIG_DRAM_BASE=0x80000000 -CONFIG_DRAM_SIZE=0x02000000 -CONFIG_BINFMT_FLAT=y -CONFIG_UEVENT_HELPER=y -CONFIG_DEVTMPFS=y -CONFIG_DEVTMPFS_MOUNT=y -CONFIG_IMX_WEIM=y -CONFIG_LEGACY_PTY_COUNT=2 -CONFIG_SERIAL_FSL_LPUART=y -CONFIG_SERIAL_FSL_LPUART_CONSOLE=y -CONFIG_SERIAL_DEV_BUS=y -CONFIG_PINCTRL_IMXRT1050=y -CONFIG_GPIO_MXC=y -CONFIG_MMC=y -CONFIG_MMC_SDHCI=y -CONFIG_MMC_SDHCI_PLTFM=y -CONFIG_MMC_SDHCI_ESDHC_IMX=y -CONFIG_DMADEVICES=y -CONFIG_FSL_EDMA=y -CONFIG_CLK_IMXRT1050=y -CONFIG_EXT4_FS=y -CONFIG_EXT4_FS_POSIX_ACL=y -CONFIG_EXT4_FS_SECURITY=y -CONFIG_VFAT_FS=y -CONFIG_FAT_DEFAULT_UTF8=y -CONFIG_EXFAT_FS=y -CONFIG_NLS_ASCII=y -CONFIG_NLS_UTF8=y +# CONFIG_LOCALVERSION_AUTO is not set +CONFIG_BPF_SYSCALL=y +CONFIG_SCHED_AUTOGROUP=y +# CONFIG_MMU is not set +CONFIG_ARCH_MXC=y +CONFIG_SOC_IMXRT=y +CONFIG_SET_MEM_PARAM=y +CONFIG_DRAM_BASE=0x80000000 +CONFIG_DRAM_SIZE=0x02000000 +CONFIG_BINFMT_FLAT=y +CONFIG_UEVENT_HELPER=y +CONFIG_DEVTMPFS=y +CONFIG_DEVTMPFS_MOUNT=y +CONFIG_IMX_WEIM=y +CONFIG_LEGACY_PTY_COUNT=2 +CONFIG_SERIAL_FSL_LPUART=y +CONFIG_SERIAL_FSL_LPUART_CONSOLE=y +CONFIG_SERIAL_DEV_BUS=y +CONFIG_PINCTRL_IMXRT1050=y +CONFIG_GPIO_MXC=y +CONFIG_MMC=y +CONFIG_MMC_SDHCI=y +CONFIG_MMC_SDHCI_PLTFM=y +CONFIG_MMC_SDHCI_ESDHC_IMX=y +CONFIG_DMADEVICES=y +CONFIG_FSL_EDMA=y +CONFIG_CLK_IMXRT1050=y +CONFIG_EXT4_FS=y +CONFIG_EXT4_FS_POSIX_ACL=y +CONFIG_EXT4_FS_SECURITY=y +CONFIG_VFAT_FS=y +CONFIG_FAT_DEFAULT_UTF8=y +CONFIG_EXFAT_FS=y +CONFIG_NLS_ASCII=y +CONFIG_NLS_UTF8=y diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/configs/msm8916_defconfig.part b/image/debian/UFI003_MB_V02/kernel/arch/arm/configs/msm8916_defconfig.part index bb8eefe79e..dc9c6e2577 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/configs/msm8916_defconfig.part +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/configs/msm8916_defconfig.part @@ -1,35 +1,35 @@ -# Build the full configuration by running -# cat arch/arm64/configs/msm8916_defconfig arch/arm/configs/msm8916_defconfig.part > arch/arm/configs/msm8916_defconfig - -CONFIG_PERF_EVENTS=y -# CONFIG_CACHE_L2X0 is not set -# CONFIG_ARM_ERRATA_643719 is not set -CONFIG_SMP=y -CONFIG_ARM_PSCI=y -CONFIG_HZ_300=y -CONFIG_HIGHMEM=y -# CONFIG_ATAGS is not set -CONFIG_VFP=y -CONFIG_NEON=y -CONFIG_KERNEL_MODE_NEON=y -CONFIG_ARM_CRYPTO=y -CONFIG_CRYPTO_SHA1_ARM_NEON=y -CONFIG_CRYPTO_SHA1_ARM_CE=y -CONFIG_CRYPTO_SHA2_ARM_CE=y -CONFIG_CRYPTO_SHA512_ARM=y -CONFIG_CRYPTO_BLAKE2S_ARM=y -CONFIG_CRYPTO_BLAKE2B_NEON=m -CONFIG_CRYPTO_AES_ARM=y -CONFIG_CRYPTO_AES_ARM_BS=y -CONFIG_CRYPTO_AES_ARM_CE=y -CONFIG_CRYPTO_GHASH_ARM_CE=y -CONFIG_CRYPTO_CRC32_ARM_CE=y -CONFIG_CRYPTO_POLY1305_ARM=m -CONFIG_CRYPTO_CURVE25519_NEON=m -CONFIG_POWER_RESET=y -CONFIG_POWER_SUPPLY=y -CONFIG_STRICT_DEVMEM=y - -# msm8909 -CONFIG_PINCTRL_MSM8909=y -CONFIG_MSM_GCC_8909=y +# Build the full configuration by running +# cat arch/arm64/configs/msm8916_defconfig arch/arm/configs/msm8916_defconfig.part > arch/arm/configs/msm8916_defconfig + +CONFIG_PERF_EVENTS=y +# CONFIG_CACHE_L2X0 is not set +# CONFIG_ARM_ERRATA_643719 is not set +CONFIG_SMP=y +CONFIG_ARM_PSCI=y +CONFIG_HZ_300=y +CONFIG_HIGHMEM=y +# CONFIG_ATAGS is not set +CONFIG_VFP=y +CONFIG_NEON=y +CONFIG_KERNEL_MODE_NEON=y +CONFIG_ARM_CRYPTO=y +CONFIG_CRYPTO_SHA1_ARM_NEON=y +CONFIG_CRYPTO_SHA1_ARM_CE=y +CONFIG_CRYPTO_SHA2_ARM_CE=y +CONFIG_CRYPTO_SHA512_ARM=y +CONFIG_CRYPTO_BLAKE2S_ARM=y +CONFIG_CRYPTO_BLAKE2B_NEON=m +CONFIG_CRYPTO_AES_ARM=y +CONFIG_CRYPTO_AES_ARM_BS=y +CONFIG_CRYPTO_AES_ARM_CE=y +CONFIG_CRYPTO_GHASH_ARM_CE=y +CONFIG_CRYPTO_CRC32_ARM_CE=y +CONFIG_CRYPTO_POLY1305_ARM=m +CONFIG_CRYPTO_CURVE25519_NEON=m +CONFIG_POWER_RESET=y +CONFIG_POWER_SUPPLY=y +CONFIG_STRICT_DEVMEM=y + +# msm8909 +CONFIG_PINCTRL_MSM8909=y +CONFIG_MSM_GCC_8909=y diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/cache.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/cache.h index 0f8c437d05..e3ea34558a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/cache.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/cache.h @@ -1,29 +1,29 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * arch/arm/include/asm/cache.h - */ -#ifndef __ASMARM_CACHE_H -#define __ASMARM_CACHE_H - -#define L1_CACHE_SHIFT CONFIG_ARM_L1_CACHE_SHIFT -#define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT) - -/* - * Memory returned by kmalloc() may be used for DMA, so we must make - * sure that all such allocations are cache aligned. Otherwise, - * unrelated code may cause parts of the buffer to be read into the - * cache before the transfer is done, causing old data to be seen by - * the CPU. - */ -#define ARCH_DMA_MINALIGN L1_CACHE_BYTES - -/* - * With EABI on ARMv5 and above we must have 64-bit aligned slab pointers. - */ -#if defined(CONFIG_AEABI) && (__LINUX_ARM_ARCH__ >= 5) -#define ARCH_SLAB_MINALIGN 8 -#endif - -#define __read_mostly __section(".data..read_mostly") - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * arch/arm/include/asm/cache.h + */ +#ifndef __ASMARM_CACHE_H +#define __ASMARM_CACHE_H + +#define L1_CACHE_SHIFT CONFIG_ARM_L1_CACHE_SHIFT +#define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT) + +/* + * Memory returned by kmalloc() may be used for DMA, so we must make + * sure that all such allocations are cache aligned. Otherwise, + * unrelated code may cause parts of the buffer to be read into the + * cache before the transfer is done, causing old data to be seen by + * the CPU. + */ +#define ARCH_DMA_MINALIGN L1_CACHE_BYTES + +/* + * With EABI on ARMv5 and above we must have 64-bit aligned slab pointers. + */ +#if defined(CONFIG_AEABI) && (__LINUX_ARM_ARCH__ >= 5) +#define ARCH_SLAB_MINALIGN 8 +#endif + +#define __read_mostly __section(".data..read_mostly") + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/dcc.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/dcc.h index 64d10a709d..d24c4be724 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/dcc.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/dcc.h @@ -1,33 +1,33 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* Copyright (c) 2010, 2014 The Linux Foundation. All rights reserved. - */ - -#include - -static inline u32 __dcc_getstatus(void) -{ - u32 __ret; - asm volatile("mrc p14, 0, %0, c0, c1, 0 @ read comms ctrl reg" - : "=r" (__ret) : : "cc"); - - return __ret; -} - -static inline char __dcc_getchar(void) -{ - char __c; - - asm volatile("mrc p14, 0, %0, c0, c5, 0 @ read comms data reg" - : "=r" (__c)); - isb(); - - return __c; -} - -static inline void __dcc_putchar(char c) -{ - asm volatile("mcr p14, 0, %0, c0, c5, 0 @ write a char" - : /* no output register */ - : "r" (c)); - isb(); -} +/* SPDX-License-Identifier: GPL-2.0-only */ +/* Copyright (c) 2010, 2014 The Linux Foundation. All rights reserved. + */ + +#include + +static inline u32 __dcc_getstatus(void) +{ + u32 __ret; + asm volatile("mrc p14, 0, %0, c0, c1, 0 @ read comms ctrl reg" + : "=r" (__ret) : : "cc"); + + return __ret; +} + +static inline char __dcc_getchar(void) +{ + char __c; + + asm volatile("mrc p14, 0, %0, c0, c5, 0 @ read comms data reg" + : "=r" (__c)); + isb(); + + return __c; +} + +static inline void __dcc_putchar(char c) +{ + asm volatile("mcr p14, 0, %0, c0, c5, 0 @ write a char" + : /* no output register */ + : "r" (c)); + isb(); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/dma-iommu.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/dma-iommu.h index 87a9e54a0a..2ce4c5683e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/dma-iommu.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/dma-iommu.h @@ -1,36 +1,36 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef ASMARM_DMA_IOMMU_H -#define ASMARM_DMA_IOMMU_H - -#ifdef __KERNEL__ - -#include -#include -#include - -struct dma_iommu_mapping { - /* iommu specific data */ - struct iommu_domain *domain; - - unsigned long **bitmaps; /* array of bitmaps */ - unsigned int nr_bitmaps; /* nr of elements in array */ - unsigned int extensions; - size_t bitmap_size; /* size of a single bitmap */ - size_t bits; /* per bitmap */ - dma_addr_t base; - - spinlock_t lock; - struct kref kref; -}; - -struct dma_iommu_mapping * -arm_iommu_create_mapping(struct device *dev, dma_addr_t base, u64 size); - -void arm_iommu_release_mapping(struct dma_iommu_mapping *mapping); - -int arm_iommu_attach_device(struct device *dev, - struct dma_iommu_mapping *mapping); -void arm_iommu_detach_device(struct device *dev); - -#endif /* __KERNEL__ */ -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef ASMARM_DMA_IOMMU_H +#define ASMARM_DMA_IOMMU_H + +#ifdef __KERNEL__ + +#include +#include +#include + +struct dma_iommu_mapping { + /* iommu specific data */ + struct iommu_domain *domain; + + unsigned long **bitmaps; /* array of bitmaps */ + unsigned int nr_bitmaps; /* nr of elements in array */ + unsigned int extensions; + size_t bitmap_size; /* size of a single bitmap */ + size_t bits; /* per bitmap */ + dma_addr_t base; + + spinlock_t lock; + struct kref kref; +}; + +struct dma_iommu_mapping * +arm_iommu_create_mapping(struct device *dev, dma_addr_t base, u64 size); + +void arm_iommu_release_mapping(struct dma_iommu_mapping *mapping); + +int arm_iommu_attach_device(struct device *dev, + struct dma_iommu_mapping *mapping); +void arm_iommu_detach_device(struct device *dev); + +#endif /* __KERNEL__ */ +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/hugetlb-3level.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/hugetlb-3level.h index 029e4c94c3..87d48e2d90 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/hugetlb-3level.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/hugetlb-3level.h @@ -1,29 +1,29 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * arch/arm/include/asm/hugetlb-3level.h - * - * Copyright (C) 2012 ARM Ltd. - * - * Based on arch/x86/include/asm/hugetlb.h. - */ - -#ifndef _ASM_ARM_HUGETLB_3LEVEL_H -#define _ASM_ARM_HUGETLB_3LEVEL_H - - -/* - * If our huge pte is non-zero then mark the valid bit. - * This allows pte_present(huge_ptep_get(mm,addr,ptep)) to return true for non-zero - * ptes. - * (The valid bit is automatically cleared by set_pte_at for PROT_NONE ptes). - */ -#define __HAVE_ARCH_HUGE_PTEP_GET -static inline pte_t huge_ptep_get(struct mm_struct *mm, unsigned long addr, pte_t *ptep) -{ - pte_t retval = *ptep; - if (pte_val(retval)) - pte_val(retval) |= L_PTE_VALID; - return retval; -} - -#endif /* _ASM_ARM_HUGETLB_3LEVEL_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * arch/arm/include/asm/hugetlb-3level.h + * + * Copyright (C) 2012 ARM Ltd. + * + * Based on arch/x86/include/asm/hugetlb.h. + */ + +#ifndef _ASM_ARM_HUGETLB_3LEVEL_H +#define _ASM_ARM_HUGETLB_3LEVEL_H + + +/* + * If our huge pte is non-zero then mark the valid bit. + * This allows pte_present(huge_ptep_get(mm,addr,ptep)) to return true for non-zero + * ptes. + * (The valid bit is automatically cleared by set_pte_at for PROT_NONE ptes). + */ +#define __HAVE_ARCH_HUGE_PTEP_GET +static inline pte_t huge_ptep_get(struct mm_struct *mm, unsigned long addr, pte_t *ptep) +{ + pte_t retval = *ptep; + if (pte_val(retval)) + pte_val(retval) |= L_PTE_VALID; + return retval; +} + +#endif /* _ASM_ARM_HUGETLB_3LEVEL_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/irq.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/irq.h index 5b0c4cffe0..26c1d2ced4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/irq.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/irq.h @@ -1,47 +1,47 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_ARM_IRQ_H -#define __ASM_ARM_IRQ_H - -#define NR_IRQS_LEGACY 16 - -#ifndef CONFIG_SPARSE_IRQ -#include -#else -#define NR_IRQS NR_IRQS_LEGACY -#endif - -#ifndef irq_canonicalize -#define irq_canonicalize(i) (i) -#endif - -/* - * Use this value to indicate lack of interrupt - * capability - */ -#ifndef NO_IRQ -#define NO_IRQ ((unsigned int)(-1)) -#endif - -#ifndef __ASSEMBLY__ -struct irqaction; -struct pt_regs; - -void handle_IRQ(unsigned int, struct pt_regs *); - -#ifdef CONFIG_SMP -#include - -extern void arch_trigger_cpumask_backtrace(const cpumask_t *mask, - int exclude_cpu); -#define arch_trigger_cpumask_backtrace arch_trigger_cpumask_backtrace -#endif - -static inline int nr_legacy_irqs(void) -{ - return NR_IRQS_LEGACY; -} - -#endif - -#endif - +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_ARM_IRQ_H +#define __ASM_ARM_IRQ_H + +#define NR_IRQS_LEGACY 16 + +#ifndef CONFIG_SPARSE_IRQ +#include +#else +#define NR_IRQS NR_IRQS_LEGACY +#endif + +#ifndef irq_canonicalize +#define irq_canonicalize(i) (i) +#endif + +/* + * Use this value to indicate lack of interrupt + * capability + */ +#ifndef NO_IRQ +#define NO_IRQ ((unsigned int)(-1)) +#endif + +#ifndef __ASSEMBLY__ +struct irqaction; +struct pt_regs; + +void handle_IRQ(unsigned int, struct pt_regs *); + +#ifdef CONFIG_SMP +#include + +extern void arch_trigger_cpumask_backtrace(const cpumask_t *mask, + int exclude_cpu); +#define arch_trigger_cpumask_backtrace arch_trigger_cpumask_backtrace +#endif + +static inline int nr_legacy_irqs(void) +{ + return NR_IRQS_LEGACY; +} + +#endif + +#endif + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/kasan.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/kasan.h index 3a4255287c..303c35df31 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/kasan.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/kasan.h @@ -1,33 +1,33 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * arch/arm/include/asm/kasan.h - * - * Copyright (c) 2015 Samsung Electronics Co., Ltd. - * Author: Andrey Ryabinin - * - */ - -#ifndef __ASM_KASAN_H -#define __ASM_KASAN_H - -#ifdef CONFIG_KASAN - -#include - -#define KASAN_SHADOW_SCALE_SHIFT 3 - -/* - * The compiler uses a shadow offset assuming that addresses start - * from 0. Kernel addresses don't start from 0, so shadow - * for kernel really starts from 'compiler's shadow offset' + - * ('kernel address space start' >> KASAN_SHADOW_SCALE_SHIFT) - */ - -asmlinkage void kasan_early_init(void); -extern void kasan_init(void); - -#else -static inline void kasan_init(void) { } -#endif - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * arch/arm/include/asm/kasan.h + * + * Copyright (c) 2015 Samsung Electronics Co., Ltd. + * Author: Andrey Ryabinin + * + */ + +#ifndef __ASM_KASAN_H +#define __ASM_KASAN_H + +#ifdef CONFIG_KASAN + +#include + +#define KASAN_SHADOW_SCALE_SHIFT 3 + +/* + * The compiler uses a shadow offset assuming that addresses start + * from 0. Kernel addresses don't start from 0, so shadow + * for kernel really starts from 'compiler's shadow offset' + + * ('kernel address space start' >> KASAN_SHADOW_SCALE_SHIFT) + */ + +asmlinkage void kasan_early_init(void); +extern void kasan_init(void); + +#else +static inline void kasan_init(void) { } +#endif + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/mach/sharpsl_param.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/mach/sharpsl_param.h index 14709f8d83..700a377c20 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/mach/sharpsl_param.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/mach/sharpsl_param.h @@ -1,33 +1,33 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Hardware parameter area specific to Sharp SL series devices - * - * Copyright (c) 2005 Richard Purdie - * - * Based on Sharp's 2.4 kernel patches - */ - -struct sharpsl_param_info { - unsigned int comadj_keyword; - unsigned int comadj; - - unsigned int uuid_keyword; - unsigned char uuid[16]; - - unsigned int touch_keyword; - unsigned int touch_xp; - unsigned int touch_yp; - unsigned int touch_xd; - unsigned int touch_yd; - - unsigned int adadj_keyword; - unsigned int adadj; - - unsigned int phad_keyword; - unsigned int phadadj; -} __attribute__((packed)); - - -extern struct sharpsl_param_info sharpsl_param; -extern void sharpsl_save_param(void); - +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Hardware parameter area specific to Sharp SL series devices + * + * Copyright (c) 2005 Richard Purdie + * + * Based on Sharp's 2.4 kernel patches + */ + +struct sharpsl_param_info { + unsigned int comadj_keyword; + unsigned int comadj; + + unsigned int uuid_keyword; + unsigned char uuid[16]; + + unsigned int touch_keyword; + unsigned int touch_xp; + unsigned int touch_yp; + unsigned int touch_xd; + unsigned int touch_yd; + + unsigned int adadj_keyword; + unsigned int adadj; + + unsigned int phad_keyword; + unsigned int phadadj; +} __attribute__((packed)); + + +extern struct sharpsl_param_info sharpsl_param; +extern void sharpsl_save_param(void); + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/mc146818rtc.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/mc146818rtc.h index 1fe72cd2b8..58922879a6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/mc146818rtc.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/mc146818rtc.h @@ -1,31 +1,31 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Machine dependent access functions for RTC registers. - */ -#ifndef _ASM_MC146818RTC_H -#define _ASM_MC146818RTC_H - -#include -#include - -#define RTC_IRQ BUILD_BUG_ON(1) - -#ifndef RTC_PORT -#define RTC_PORT(x) (0x70 + (x)) -#define RTC_ALWAYS_BCD 1 /* RTC operates in binary mode */ -#endif - -/* - * The yet supported machines all access the RTC index register via - * an ISA port access but the way to access the date register differs ... - */ -#define CMOS_READ(addr) ({ \ -outb_p((addr),RTC_PORT(0)); \ -inb_p(RTC_PORT(1)); \ -}) -#define CMOS_WRITE(val, addr) ({ \ -outb_p((addr),RTC_PORT(0)); \ -outb_p((val),RTC_PORT(1)); \ -}) - -#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 + +#include +#include + +#define RTC_IRQ BUILD_BUG_ON(1) + +#ifndef RTC_PORT +#define RTC_PORT(x) (0x70 + (x)) +#define RTC_ALWAYS_BCD 1 /* RTC operates in binary mode */ +#endif + +/* + * The yet supported machines all access the RTC index register via + * an ISA port access but the way to access the date register differs ... + */ +#define CMOS_READ(addr) ({ \ +outb_p((addr),RTC_PORT(0)); \ +inb_p(RTC_PORT(1)); \ +}) +#define CMOS_WRITE(val, addr) ({ \ +outb_p((addr),RTC_PORT(0)); \ +outb_p((val),RTC_PORT(1)); \ +}) + +#endif /* _ASM_MC146818RTC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/mmu.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/mmu.h index 361de156b9..e049723840 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/mmu.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/mmu.h @@ -1,49 +1,49 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ARM_MMU_H -#define __ARM_MMU_H - -#ifdef CONFIG_MMU - -typedef struct { -#ifdef CONFIG_CPU_HAS_ASID - atomic64_t id; -#else - int switch_pending; -#endif - atomic_t vmalloc_seq; - unsigned long sigpage; -#ifdef CONFIG_VDSO - unsigned long vdso; -#endif -#ifdef CONFIG_BINFMT_ELF_FDPIC - unsigned long exec_fdpic_loadmap; - unsigned long interp_fdpic_loadmap; -#endif -} mm_context_t; - -#ifdef CONFIG_CPU_HAS_ASID -#define ASID_BITS 8 -#define ASID_MASK ((~0ULL) << ASID_BITS) -#define ASID(mm) ((unsigned int)((mm)->context.id.counter & ~ASID_MASK)) -#else -#define ASID(mm) (0) -#endif - -#else - -/* - * From nommu.h: - * Copyright (C) 2002, David McCullough - * modified for 2.6 by Hyok S. Choi - */ -typedef struct { - unsigned long end_brk; -#ifdef CONFIG_BINFMT_ELF_FDPIC - unsigned long exec_fdpic_loadmap; - unsigned long interp_fdpic_loadmap; -#endif -} mm_context_t; - -#endif - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ARM_MMU_H +#define __ARM_MMU_H + +#ifdef CONFIG_MMU + +typedef struct { +#ifdef CONFIG_CPU_HAS_ASID + atomic64_t id; +#else + int switch_pending; +#endif + atomic_t vmalloc_seq; + unsigned long sigpage; +#ifdef CONFIG_VDSO + unsigned long vdso; +#endif +#ifdef CONFIG_BINFMT_ELF_FDPIC + unsigned long exec_fdpic_loadmap; + unsigned long interp_fdpic_loadmap; +#endif +} mm_context_t; + +#ifdef CONFIG_CPU_HAS_ASID +#define ASID_BITS 8 +#define ASID_MASK ((~0ULL) << ASID_BITS) +#define ASID(mm) ((unsigned int)((mm)->context.id.counter & ~ASID_MASK)) +#else +#define ASID(mm) (0) +#endif + +#else + +/* + * From nommu.h: + * Copyright (C) 2002, David McCullough + * modified for 2.6 by Hyok S. Choi + */ +typedef struct { + unsigned long end_brk; +#ifdef CONFIG_BINFMT_ELF_FDPIC + unsigned long exec_fdpic_loadmap; + unsigned long interp_fdpic_loadmap; +#endif +} mm_context_t; + +#endif + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/opcodes-virt.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/opcodes-virt.h index a469ee2fba..0b58da81b7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/opcodes-virt.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/opcodes-virt.h @@ -1,26 +1,26 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * opcodes-virt.h: Opcode definitions for the ARM virtualization extensions - * Copyright (C) 2012 Linaro Limited - */ -#ifndef __ASM_ARM_OPCODES_VIRT_H -#define __ASM_ARM_OPCODES_VIRT_H - -#include - -#define __HVC(imm16) __inst_arm_thumb32( \ - 0xE1400070 | (((imm16) & 0xFFF0) << 4) | ((imm16) & 0x000F), \ - 0xF7E08000 | (((imm16) & 0xF000) << 4) | ((imm16) & 0x0FFF) \ -) - -#define __ERET __inst_arm_thumb32( \ - 0xE160006E, \ - 0xF3DE8F00 \ -) - -#define __MSR_ELR_HYP(regnum) __inst_arm_thumb32( \ - 0xE12EF300 | regnum, \ - 0xF3808E30 | (regnum << 16) \ -) - -#endif /* ! __ASM_ARM_OPCODES_VIRT_H */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * opcodes-virt.h: Opcode definitions for the ARM virtualization extensions + * Copyright (C) 2012 Linaro Limited + */ +#ifndef __ASM_ARM_OPCODES_VIRT_H +#define __ASM_ARM_OPCODES_VIRT_H + +#include + +#define __HVC(imm16) __inst_arm_thumb32( \ + 0xE1400070 | (((imm16) & 0xFFF0) << 4) | ((imm16) & 0x000F), \ + 0xF7E08000 | (((imm16) & 0xF000) << 4) | ((imm16) & 0x0FFF) \ +) + +#define __ERET __inst_arm_thumb32( \ + 0xE160006E, \ + 0xF3DE8F00 \ +) + +#define __MSR_ELR_HYP(regnum) __inst_arm_thumb32( \ + 0xE12EF300 | regnum, \ + 0xF3808E30 | (regnum << 16) \ +) + +#endif /* ! __ASM_ARM_OPCODES_VIRT_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/page-nommu.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/page-nommu.h index 161c3efbd2..7c2c72323d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/page-nommu.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/page-nommu.h @@ -1,34 +1,34 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * arch/arm/include/asm/page-nommu.h - * - * Copyright (C) 2004 Hyok S. Choi - */ - -#ifndef _ASMARM_PAGE_NOMMU_H -#define _ASMARM_PAGE_NOMMU_H - -#define clear_page(page) memset((page), 0, PAGE_SIZE) -#define copy_page(to,from) memcpy((to), (from), PAGE_SIZE) - -#define clear_user_page(page, vaddr, pg) clear_page(page) -#define copy_user_page(to, from, vaddr, pg) copy_page(to, from) - -/* - * These are used to make use of C type-checking.. - */ -typedef unsigned long pte_t; -typedef unsigned long pmd_t; -typedef unsigned long pgd_t[2]; -typedef unsigned long pgprot_t; - -#define pte_val(x) (x) -#define pmd_val(x) (x) -#define pgd_val(x) ((x)[0]) -#define pgprot_val(x) (x) - -#define __pte(x) (x) -#define __pmd(x) (x) -#define __pgprot(x) (x) - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * arch/arm/include/asm/page-nommu.h + * + * Copyright (C) 2004 Hyok S. Choi + */ + +#ifndef _ASMARM_PAGE_NOMMU_H +#define _ASMARM_PAGE_NOMMU_H + +#define clear_page(page) memset((page), 0, PAGE_SIZE) +#define copy_page(to,from) memcpy((to), (from), PAGE_SIZE) + +#define clear_user_page(page, vaddr, pg) clear_page(page) +#define copy_user_page(to, from, vaddr, pg) copy_page(to, from) + +/* + * These are used to make use of C type-checking.. + */ +typedef unsigned long pte_t; +typedef unsigned long pmd_t; +typedef unsigned long pgd_t[2]; +typedef unsigned long pgprot_t; + +#define pte_val(x) (x) +#define pmd_val(x) (x) +#define pgd_val(x) ((x)[0]) +#define pgprot_val(x) (x) + +#define __pte(x) (x) +#define __pmd(x) (x) +#define __pgprot(x) (x) + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/pci.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/pci.h index 2e7a132b8c..5916b88d4c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/pci.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/pci.h @@ -1,28 +1,28 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef ASMARM_PCI_H -#define ASMARM_PCI_H - -#ifdef __KERNEL__ -#include /* for pci_sys_data */ - -extern unsigned long pcibios_min_io; -#define PCIBIOS_MIN_IO pcibios_min_io -extern unsigned long pcibios_min_mem; -#define PCIBIOS_MIN_MEM pcibios_min_mem - -#define pcibios_assign_all_busses() pci_has_flag(PCI_REASSIGN_ALL_BUS) - -#ifdef CONFIG_PCI_DOMAINS -static inline int pci_proc_domain(struct pci_bus *bus) -{ - return pci_domain_nr(bus); -} -#endif /* CONFIG_PCI_DOMAINS */ - -#define HAVE_PCI_MMAP -#define ARCH_GENERIC_PCI_MMAP_RESOURCE - -extern void pcibios_report_status(unsigned int status_mask, int warn); - -#endif /* __KERNEL__ */ -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef ASMARM_PCI_H +#define ASMARM_PCI_H + +#ifdef __KERNEL__ +#include /* for pci_sys_data */ + +extern unsigned long pcibios_min_io; +#define PCIBIOS_MIN_IO pcibios_min_io +extern unsigned long pcibios_min_mem; +#define PCIBIOS_MIN_MEM pcibios_min_mem + +#define pcibios_assign_all_busses() pci_has_flag(PCI_REASSIGN_ALL_BUS) + +#ifdef CONFIG_PCI_DOMAINS +static inline int pci_proc_domain(struct pci_bus *bus) +{ + return pci_domain_nr(bus); +} +#endif /* CONFIG_PCI_DOMAINS */ + +#define HAVE_PCI_MMAP +#define ARCH_GENERIC_PCI_MMAP_RESOURCE + +extern void pcibios_report_status(unsigned int status_mask, int warn); + +#endif /* __KERNEL__ */ +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/perf_event.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/perf_event.h index d7c7b013df..bdbc1e5908 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/perf_event.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/perf_event.h @@ -1,25 +1,25 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * linux/arch/arm/include/asm/perf_event.h - * - * Copyright (C) 2009 picoChip Designs Ltd, Jamie Iles - */ - -#ifndef __ARM_PERF_EVENT_H__ -#define __ARM_PERF_EVENT_H__ - -#ifdef CONFIG_PERF_EVENTS -struct pt_regs; -extern unsigned long perf_instruction_pointer(struct pt_regs *regs); -extern unsigned long perf_misc_flags(struct pt_regs *regs); -#define perf_misc_flags(regs) perf_misc_flags(regs) -#endif - -#define perf_arch_fetch_caller_regs(regs, __ip) { \ - (regs)->ARM_pc = (__ip); \ - frame_pointer((regs)) = (unsigned long) __builtin_frame_address(0); \ - (regs)->ARM_sp = current_stack_pointer; \ - (regs)->ARM_cpsr = SVC_MODE; \ -} - -#endif /* __ARM_PERF_EVENT_H__ */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * linux/arch/arm/include/asm/perf_event.h + * + * Copyright (C) 2009 picoChip Designs Ltd, Jamie Iles + */ + +#ifndef __ARM_PERF_EVENT_H__ +#define __ARM_PERF_EVENT_H__ + +#ifdef CONFIG_PERF_EVENTS +struct pt_regs; +extern unsigned long perf_instruction_pointer(struct pt_regs *regs); +extern unsigned long perf_misc_flags(struct pt_regs *regs); +#define perf_misc_flags(regs) perf_misc_flags(regs) +#endif + +#define perf_arch_fetch_caller_regs(regs, __ip) { \ + (regs)->ARM_pc = (__ip); \ + frame_pointer((regs)) = (unsigned long) __builtin_frame_address(0); \ + (regs)->ARM_sp = current_stack_pointer; \ + (regs)->ARM_cpsr = SVC_MODE; \ +} + +#endif /* __ARM_PERF_EVENT_H__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/sections.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/sections.h index 97ca657fcb..700b8bcdf9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/sections.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/sections.h @@ -1,26 +1,26 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_ARM_SECTIONS_H -#define _ASM_ARM_SECTIONS_H - -#include - -extern char _exiprom[]; - -extern char __idmap_text_start[]; -extern char __idmap_text_end[]; -extern char __entry_text_start[]; -extern char __entry_text_end[]; - -static inline bool in_entry_text(unsigned long addr) -{ - return memory_contains(__entry_text_start, __entry_text_end, - (void *)addr, 1); -} - -static inline bool in_idmap_text(unsigned long addr) -{ - void *a = (void *)addr; - return memory_contains(__idmap_text_start, __idmap_text_end, a, 1); -} - -#endif /* _ASM_ARM_SECTIONS_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_ARM_SECTIONS_H +#define _ASM_ARM_SECTIONS_H + +#include + +extern char _exiprom[]; + +extern char __idmap_text_start[]; +extern char __idmap_text_end[]; +extern char __entry_text_start[]; +extern char __entry_text_end[]; + +static inline bool in_entry_text(unsigned long addr) +{ + return memory_contains(__entry_text_start, __entry_text_end, + (void *)addr, 1); +} + +static inline bool in_idmap_text(unsigned long addr) +{ + void *a = (void *)addr; + return memory_contains(__idmap_text_start, __idmap_text_end, a, 1); +} + +#endif /* _ASM_ARM_SECTIONS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/semihost.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/semihost.h index f3867e8d6a..f365787e7c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/semihost.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/semihost.h @@ -1,30 +1,30 @@ -/* 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 _ARM_SEMIHOST_H_ -#define _ARM_SEMIHOST_H_ - -#ifdef CONFIG_THUMB2_KERNEL -#define SEMIHOST_SWI "0xab" -#else -#define SEMIHOST_SWI "0x123456" -#endif - -struct uart_port; - -static inline void smh_putc(struct uart_port *port, unsigned char c) -{ - asm volatile("mov r1, %0\n" - "mov r0, #3\n" - "svc " SEMIHOST_SWI "\n" - : : "r" (&c) : "r0", "r1", "memory"); -} - -#endif /* _ARM_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 _ARM_SEMIHOST_H_ +#define _ARM_SEMIHOST_H_ + +#ifdef CONFIG_THUMB2_KERNEL +#define SEMIHOST_SWI "0xab" +#else +#define SEMIHOST_SWI "0x123456" +#endif + +struct uart_port; + +static inline void smh_putc(struct uart_port *port, unsigned char c) +{ + asm volatile("mov r1, %0\n" + "mov r0, #3\n" + "svc " SEMIHOST_SWI "\n" + : : "r" (&c) : "r0", "r1", "memory"); +} + +#endif /* _ARM_SEMIHOST_H_ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/set_memory.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/set_memory.h index abc16ac1b5..0211b9c5b1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/set_memory.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/set_memory.h @@ -1,22 +1,22 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 1999-2002 Russell King - */ - -#ifndef _ASMARM_SET_MEMORY_H -#define _ASMARM_SET_MEMORY_H - -#ifdef CONFIG_MMU -int set_memory_ro(unsigned long addr, int numpages); -int set_memory_rw(unsigned long addr, int numpages); -int set_memory_x(unsigned long addr, int numpages); -int set_memory_nx(unsigned long addr, int numpages); -int set_memory_valid(unsigned long addr, int numpages, int enable); -#else -static inline int set_memory_ro(unsigned long addr, int numpages) { return 0; } -static inline int set_memory_rw(unsigned long addr, int numpages) { return 0; } -static inline int set_memory_x(unsigned long addr, int numpages) { return 0; } -static inline int set_memory_nx(unsigned long addr, int numpages) { return 0; } -#endif - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 1999-2002 Russell King + */ + +#ifndef _ASMARM_SET_MEMORY_H +#define _ASMARM_SET_MEMORY_H + +#ifdef CONFIG_MMU +int set_memory_ro(unsigned long addr, int numpages); +int set_memory_rw(unsigned long addr, int numpages); +int set_memory_x(unsigned long addr, int numpages); +int set_memory_nx(unsigned long addr, int numpages); +int set_memory_valid(unsigned long addr, int numpages, int enable); +#else +static inline int set_memory_ro(unsigned long addr, int numpages) { return 0; } +static inline int set_memory_rw(unsigned long addr, int numpages) { return 0; } +static inline int set_memory_x(unsigned long addr, int numpages) { return 0; } +static inline int set_memory_nx(unsigned long addr, int numpages) { return 0; } +#endif + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/signal.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/signal.h index df45dbba5f..8b84092d15 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/signal.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/signal.h @@ -1,30 +1,30 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASMARM_SIGNAL_H -#define _ASMARM_SIGNAL_H - -#include - -/* Most things should be clean enough to redefine this at will, if care - is taken to make libc match. */ - -#define _NSIG 64 -#define _NSIG_BPW 32 -#define _NSIG_WORDS (_NSIG / _NSIG_BPW) - -typedef unsigned long old_sigset_t; /* at least 32 bits */ - -typedef struct { - unsigned long sig[_NSIG_WORDS]; -} sigset_t; - -#define __ARCH_UAPI_SA_FLAGS (SA_THIRTYTWO | SA_RESTORER) - -#define __ARCH_HAS_SA_RESTORER - -#include - -void do_rseq_syscall(struct pt_regs *regs); -int do_work_pending(struct pt_regs *regs, unsigned int thread_flags, - int syscall); - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASMARM_SIGNAL_H +#define _ASMARM_SIGNAL_H + +#include + +/* Most things should be clean enough to redefine this at will, if care + is taken to make libc match. */ + +#define _NSIG 64 +#define _NSIG_BPW 32 +#define _NSIG_WORDS (_NSIG / _NSIG_BPW) + +typedef unsigned long old_sigset_t; /* at least 32 bits */ + +typedef struct { + unsigned long sig[_NSIG_WORDS]; +} sigset_t; + +#define __ARCH_UAPI_SA_FLAGS (SA_THIRTYTWO | SA_RESTORER) + +#define __ARCH_HAS_SA_RESTORER + +#include + +void do_rseq_syscall(struct pt_regs *regs); +int do_work_pending(struct pt_regs *regs, unsigned int thread_flags, + int syscall); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/sparsemem.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/sparsemem.h index 1d1a9d5789..421e341533 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/sparsemem.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/sparsemem.h @@ -1,26 +1,26 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef ASMARM_SPARSEMEM_H -#define ASMARM_SPARSEMEM_H - -#include - -/* - * Two definitions are required for sparsemem: - * - * MAX_PHYSMEM_BITS: The number of physical address bits required - * to address the last byte of memory. - * - * SECTION_SIZE_BITS: The number of physical address bits to cover - * the maximum amount of memory in a section. - * - * Eg, if you have 2 banks of up to 64MB at 0x80000000, 0x84000000, - * then MAX_PHYSMEM_BITS is 32, SECTION_SIZE_BITS is 26. - * - * These can be overridden in your mach/memory.h. - */ -#if !defined(MAX_PHYSMEM_BITS) || !defined(SECTION_SIZE_BITS) -#define MAX_PHYSMEM_BITS 36 -#define SECTION_SIZE_BITS 28 -#endif - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef ASMARM_SPARSEMEM_H +#define ASMARM_SPARSEMEM_H + +#include + +/* + * Two definitions are required for sparsemem: + * + * MAX_PHYSMEM_BITS: The number of physical address bits required + * to address the last byte of memory. + * + * SECTION_SIZE_BITS: The number of physical address bits to cover + * the maximum amount of memory in a section. + * + * Eg, if you have 2 banks of up to 64MB at 0x80000000, 0x84000000, + * then MAX_PHYSMEM_BITS is 32, SECTION_SIZE_BITS is 26. + * + * These can be overridden in your mach/memory.h. + */ +#if !defined(MAX_PHYSMEM_BITS) || !defined(SECTION_SIZE_BITS) +#define MAX_PHYSMEM_BITS 36 +#define SECTION_SIZE_BITS 28 +#endif + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/system_info.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/system_info.h index 86e73800e5..ef7fdb588b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/system_info.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/system_info.h @@ -1,30 +1,30 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_ARM_SYSTEM_INFO_H -#define __ASM_ARM_SYSTEM_INFO_H - -#define CPU_ARCH_UNKNOWN 0 -#define CPU_ARCH_ARMv3 1 -#define CPU_ARCH_ARMv4 2 -#define CPU_ARCH_ARMv4T 3 -#define CPU_ARCH_ARMv5 4 -#define CPU_ARCH_ARMv5T 5 -#define CPU_ARCH_ARMv5TE 6 -#define CPU_ARCH_ARMv5TEJ 7 -#define CPU_ARCH_ARMv6 8 -#define CPU_ARCH_ARMv7 9 -#define CPU_ARCH_ARMv7M 10 - -#ifndef __ASSEMBLY__ - -/* information about the system we're running on */ -extern unsigned int system_rev; -extern const char *system_serial; -extern unsigned int system_serial_low; -extern unsigned int system_serial_high; -extern unsigned int mem_fclk_21285; - -extern int __pure cpu_architecture(void); - -#endif /* !__ASSEMBLY__ */ - -#endif /* __ASM_ARM_SYSTEM_INFO_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_ARM_SYSTEM_INFO_H +#define __ASM_ARM_SYSTEM_INFO_H + +#define CPU_ARCH_UNKNOWN 0 +#define CPU_ARCH_ARMv3 1 +#define CPU_ARCH_ARMv4 2 +#define CPU_ARCH_ARMv4T 3 +#define CPU_ARCH_ARMv5 4 +#define CPU_ARCH_ARMv5T 5 +#define CPU_ARCH_ARMv5TE 6 +#define CPU_ARCH_ARMv5TEJ 7 +#define CPU_ARCH_ARMv6 8 +#define CPU_ARCH_ARMv7 9 +#define CPU_ARCH_ARMv7M 10 + +#ifndef __ASSEMBLY__ + +/* information about the system we're running on */ +extern unsigned int system_rev; +extern const char *system_serial; +extern unsigned int system_serial_low; +extern unsigned int system_serial_high; +extern unsigned int mem_fclk_21285; + +extern int __pure cpu_architecture(void); + +#endif /* !__ASSEMBLY__ */ + +#endif /* __ASM_ARM_SYSTEM_INFO_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/therm.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/therm.h index 0f6b583f8b..17b0bc9b5e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/therm.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/therm.h @@ -1,29 +1,29 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * arch/arm/include/asm/therm.h: Definitions for Dallas Semiconductor - * DS1620 thermometer driver (as used in the Rebel.com NetWinder) - */ -#ifndef __ASM_THERM_H -#define __ASM_THERM_H - -/* ioctl numbers for /dev/therm */ -#define CMD_SET_THERMOSTATE 0x53 -#define CMD_GET_THERMOSTATE 0x54 -#define CMD_GET_STATUS 0x56 -#define CMD_GET_TEMPERATURE 0x57 -#define CMD_SET_THERMOSTATE2 0x58 -#define CMD_GET_THERMOSTATE2 0x59 -#define CMD_GET_TEMPERATURE2 0x5a -#define CMD_GET_FAN 0x5b -#define CMD_SET_FAN 0x5c - -#define FAN_OFF 0 -#define FAN_ON 1 -#define FAN_ALWAYS_ON 2 - -struct therm { - int hi; - int lo; -}; - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * arch/arm/include/asm/therm.h: Definitions for Dallas Semiconductor + * DS1620 thermometer driver (as used in the Rebel.com NetWinder) + */ +#ifndef __ASM_THERM_H +#define __ASM_THERM_H + +/* ioctl numbers for /dev/therm */ +#define CMD_SET_THERMOSTATE 0x53 +#define CMD_GET_THERMOSTATE 0x54 +#define CMD_GET_STATUS 0x56 +#define CMD_GET_TEMPERATURE 0x57 +#define CMD_SET_THERMOSTATE2 0x58 +#define CMD_GET_THERMOSTATE2 0x59 +#define CMD_GET_TEMPERATURE2 0x5a +#define CMD_GET_FAN 0x5b +#define CMD_SET_FAN 0x5c + +#define FAN_OFF 0 +#define FAN_ON 1 +#define FAN_ALWAYS_ON 2 + +struct therm { + int hi; + int lo; +}; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/uprobes.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/uprobes.h index bea89c0c47..6a61b28749 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/uprobes.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/uprobes.h @@ -1,42 +1,42 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2012 Rabin Vincent - */ - -#ifndef _ASM_UPROBES_H -#define _ASM_UPROBES_H - -#include -#include - -typedef u32 uprobe_opcode_t; - -#define MAX_UINSN_BYTES 4 -#define UPROBE_XOL_SLOT_BYTES 64 - -#define UPROBE_SWBP_ARM_INSN 0xe7f001f9 -#define UPROBE_SS_ARM_INSN 0xe7f001fa -#define UPROBE_SWBP_INSN __opcode_to_mem_arm(UPROBE_SWBP_ARM_INSN) -#define UPROBE_SWBP_INSN_SIZE 4 - -struct arch_uprobe_task { - u32 backup; - unsigned long saved_trap_no; -}; - -struct arch_uprobe { - u8 insn[MAX_UINSN_BYTES]; - unsigned long ixol[2]; - uprobe_opcode_t bpinsn; - bool simulate; - u32 pcreg; - void (*prehandler)(struct arch_uprobe *auprobe, - struct arch_uprobe_task *autask, - struct pt_regs *regs); - void (*posthandler)(struct arch_uprobe *auprobe, - struct arch_uprobe_task *autask, - struct pt_regs *regs); - struct arch_probes_insn asi; -}; - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2012 Rabin Vincent + */ + +#ifndef _ASM_UPROBES_H +#define _ASM_UPROBES_H + +#include +#include + +typedef u32 uprobe_opcode_t; + +#define MAX_UINSN_BYTES 4 +#define UPROBE_XOL_SLOT_BYTES 64 + +#define UPROBE_SWBP_ARM_INSN 0xe7f001f9 +#define UPROBE_SS_ARM_INSN 0xe7f001fa +#define UPROBE_SWBP_INSN __opcode_to_mem_arm(UPROBE_SWBP_ARM_INSN) +#define UPROBE_SWBP_INSN_SIZE 4 + +struct arch_uprobe_task { + u32 backup; + unsigned long saved_trap_no; +}; + +struct arch_uprobe { + u8 insn[MAX_UINSN_BYTES]; + unsigned long ixol[2]; + uprobe_opcode_t bpinsn; + bool simulate; + u32 pcreg; + void (*prehandler)(struct arch_uprobe *auprobe, + struct arch_uprobe_task *autask, + struct pt_regs *regs); + void (*posthandler)(struct arch_uprobe *auprobe, + struct arch_uprobe_task *autask, + struct pt_regs *regs); + struct arch_probes_insn asi; +}; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/vdso/cp15.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/vdso/cp15.h index 17ffc9cec7..bed16fa186 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/vdso/cp15.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/vdso/cp15.h @@ -1,38 +1,38 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2020 ARM Ltd. - */ -#ifndef __ASM_VDSO_CP15_H -#define __ASM_VDSO_CP15_H - -#ifndef __ASSEMBLY__ - -#ifdef CONFIG_CPU_CP15 - -#include - -#define __ACCESS_CP15(CRn, Op1, CRm, Op2) \ - "mrc", "mcr", __stringify(p15, Op1, %0, CRn, CRm, Op2), u32 -#define __ACCESS_CP15_64(Op1, CRm) \ - "mrrc", "mcrr", __stringify(p15, Op1, %Q0, %R0, CRm), u64 - -#define __read_sysreg(r, w, c, t) ({ \ - t __val; \ - asm volatile(r " " c : "=r" (__val)); \ - __val; \ -}) -#define read_sysreg(...) __read_sysreg(__VA_ARGS__) - -#define __write_sysreg(v, r, w, c, t) asm volatile(w " " c : : "r" ((t)(v))) -#define write_sysreg(v, ...) __write_sysreg(v, __VA_ARGS__) - -#define BPIALL __ACCESS_CP15(c7, 0, c5, 6) -#define ICIALLU __ACCESS_CP15(c7, 0, c5, 0) - -#define CNTVCT __ACCESS_CP15_64(1, c14) - -#endif /* CONFIG_CPU_CP15 */ - -#endif /* __ASSEMBLY__ */ - -#endif /* __ASM_VDSO_CP15_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2020 ARM Ltd. + */ +#ifndef __ASM_VDSO_CP15_H +#define __ASM_VDSO_CP15_H + +#ifndef __ASSEMBLY__ + +#ifdef CONFIG_CPU_CP15 + +#include + +#define __ACCESS_CP15(CRn, Op1, CRm, Op2) \ + "mrc", "mcr", __stringify(p15, Op1, %0, CRn, CRm, Op2), u32 +#define __ACCESS_CP15_64(Op1, CRm) \ + "mrrc", "mcrr", __stringify(p15, Op1, %Q0, %R0, CRm), u64 + +#define __read_sysreg(r, w, c, t) ({ \ + t __val; \ + asm volatile(r " " c : "=r" (__val)); \ + __val; \ +}) +#define read_sysreg(...) __read_sysreg(__VA_ARGS__) + +#define __write_sysreg(v, r, w, c, t) asm volatile(w " " c : : "r" ((t)(v))) +#define write_sysreg(v, ...) __write_sysreg(v, __VA_ARGS__) + +#define BPIALL __ACCESS_CP15(c7, 0, c5, 6) +#define ICIALLU __ACCESS_CP15(c7, 0, c5, 0) + +#define CNTVCT __ACCESS_CP15_64(1, c14) + +#endif /* CONFIG_CPU_CP15 */ + +#endif /* __ASSEMBLY__ */ + +#endif /* __ASM_VDSO_CP15_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/vdso/vsyscall.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/vdso/vsyscall.h index 9ddf612b5e..47e41ae8cc 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/vdso/vsyscall.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/vdso/vsyscall.h @@ -1,36 +1,36 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_VDSO_VSYSCALL_H -#define __ASM_VDSO_VSYSCALL_H - -#ifndef __ASSEMBLY__ - -#include -#include -#include - -extern struct vdso_data *vdso_data; -extern bool cntvct_ok; - -/* - * Update the vDSO data page to keep in sync with kernel timekeeping. - */ -static __always_inline -struct vdso_data *__arm_get_k_vdso_data(void) -{ - return vdso_data; -} -#define __arch_get_k_vdso_data __arm_get_k_vdso_data - -static __always_inline -void __arm_sync_vdso_data(struct vdso_data *vdata) -{ - flush_dcache_page(virt_to_page(vdata)); -} -#define __arch_sync_vdso_data __arm_sync_vdso_data - -/* The asm-generic header needs to be included after the definitions above */ -#include - -#endif /* !__ASSEMBLY__ */ - -#endif /* __ASM_VDSO_VSYSCALL_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_VDSO_VSYSCALL_H +#define __ASM_VDSO_VSYSCALL_H + +#ifndef __ASSEMBLY__ + +#include +#include +#include + +extern struct vdso_data *vdso_data; +extern bool cntvct_ok; + +/* + * Update the vDSO data page to keep in sync with kernel timekeeping. + */ +static __always_inline +struct vdso_data *__arm_get_k_vdso_data(void) +{ + return vdso_data; +} +#define __arch_get_k_vdso_data __arm_get_k_vdso_data + +static __always_inline +void __arm_sync_vdso_data(struct vdso_data *vdata) +{ + flush_dcache_page(virt_to_page(vdata)); +} +#define __arch_sync_vdso_data __arm_sync_vdso_data + +/* The asm-generic header needs to be included after the definitions above */ +#include + +#endif /* !__ASSEMBLY__ */ + +#endif /* __ASM_VDSO_VSYSCALL_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/vermagic.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/vermagic.h index 31a4126204..62ce94e26a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/vermagic.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/vermagic.h @@ -1,31 +1,31 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_VERMAGIC_H -#define _ASM_VERMAGIC_H - -#include - -/* - * Add the ARM architecture version to the version magic string - */ -#define MODULE_ARCH_VERMAGIC_ARMVSN "ARMv" __stringify(__LINUX_ARM_ARCH__) " " - -/* Add __virt_to_phys patching state as well */ -#ifdef CONFIG_ARM_PATCH_PHYS_VIRT -#define MODULE_ARCH_VERMAGIC_P2V "p2v8 " -#else -#define MODULE_ARCH_VERMAGIC_P2V "" -#endif - -/* Add instruction set architecture tag to distinguish ARM/Thumb kernels */ -#ifdef CONFIG_THUMB2_KERNEL -#define MODULE_ARCH_VERMAGIC_ARMTHUMB "thumb2 " -#else -#define MODULE_ARCH_VERMAGIC_ARMTHUMB "" -#endif - -#define MODULE_ARCH_VERMAGIC \ - MODULE_ARCH_VERMAGIC_ARMVSN \ - MODULE_ARCH_VERMAGIC_ARMTHUMB \ - MODULE_ARCH_VERMAGIC_P2V - -#endif /* _ASM_VERMAGIC_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_VERMAGIC_H +#define _ASM_VERMAGIC_H + +#include + +/* + * Add the ARM architecture version to the version magic string + */ +#define MODULE_ARCH_VERMAGIC_ARMVSN "ARMv" __stringify(__LINUX_ARM_ARCH__) " " + +/* Add __virt_to_phys patching state as well */ +#ifdef CONFIG_ARM_PATCH_PHYS_VIRT +#define MODULE_ARCH_VERMAGIC_P2V "p2v8 " +#else +#define MODULE_ARCH_VERMAGIC_P2V "" +#endif + +/* Add instruction set architecture tag to distinguish ARM/Thumb kernels */ +#ifdef CONFIG_THUMB2_KERNEL +#define MODULE_ARCH_VERMAGIC_ARMTHUMB "thumb2 " +#else +#define MODULE_ARCH_VERMAGIC_ARMTHUMB "" +#endif + +#define MODULE_ARCH_VERMAGIC \ + MODULE_ARCH_VERMAGIC_ARMVSN \ + MODULE_ARCH_VERMAGIC_ARMTHUMB \ + MODULE_ARCH_VERMAGIC_P2V + +#endif /* _ASM_VERMAGIC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/xen/events.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/xen/events.h index def3db56bb..c83086f745 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/xen/events.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/xen/events.h @@ -1,30 +1,30 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_ARM_XEN_EVENTS_H -#define _ASM_ARM_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 raw_irqs_disabled_flags(regs->ARM_cpsr); -} - -#define xchg_xen_ulong(ptr, val) atomic64_xchg(container_of((long long*)(ptr),\ - atomic64_t, \ - counter), (val)) - -/* Rebind event channel is supported by default */ -static inline bool xen_support_evtchn_rebind(void) -{ - return true; -} - -#endif /* _ASM_ARM_XEN_EVENTS_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_ARM_XEN_EVENTS_H +#define _ASM_ARM_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 raw_irqs_disabled_flags(regs->ARM_cpsr); +} + +#define xchg_xen_ulong(ptr, val) atomic64_xchg(container_of((long long*)(ptr),\ + atomic64_t, \ + counter), (val)) + +/* Rebind event channel is supported by default */ +static inline bool xen_support_evtchn_rebind(void) +{ + return true; +} + +#endif /* _ASM_ARM_XEN_EVENTS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/debug/asm9260.S b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/debug/asm9260.S index e2eb3b1674..5a0ce145c4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/debug/asm9260.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/debug/asm9260.S @@ -1,28 +1,28 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* Debugging macro include header - * - * Copyright (C) 1994-1999 Russell King - * Moved from linux/arch/arm/kernel/debug.S by Ben Dooks - * Modified for ASM9260 by Oleksij Remepl - */ - - .macro addruart, rp, rv, tmp - ldr \rp, = CONFIG_DEBUG_UART_PHYS - ldr \rv, = CONFIG_DEBUG_UART_VIRT - .endm - - .macro waituarttxrdy,rd,rx - .endm - - .macro waituartcts,rd,rx - .endm - - .macro senduart,rd,rx - str \rd, [\rx, #0x50] @ TXDATA - .endm - - .macro busyuart,rd,rx -1002: ldr \rd, [\rx, #0x60] @ STAT - tst \rd, #1 << 27 @ TXEMPTY - beq 1002b @ wait until transmit done - .endm +/* SPDX-License-Identifier: GPL-2.0-only */ +/* Debugging macro include header + * + * Copyright (C) 1994-1999 Russell King + * Moved from linux/arch/arm/kernel/debug.S by Ben Dooks + * Modified for ASM9260 by Oleksij Remepl + */ + + .macro addruart, rp, rv, tmp + ldr \rp, = CONFIG_DEBUG_UART_PHYS + ldr \rv, = CONFIG_DEBUG_UART_VIRT + .endm + + .macro waituarttxrdy,rd,rx + .endm + + .macro waituartcts,rd,rx + .endm + + .macro senduart,rd,rx + str \rd, [\rx, #0x50] @ TXDATA + .endm + + .macro busyuart,rd,rx +1002: ldr \rd, [\rx, #0x60] @ STAT + tst \rd, #1 << 27 @ TXEMPTY + beq 1002b @ wait until transmit done + .endm diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/debug/bcm63xx.S b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/debug/bcm63xx.S index e2b0b523ec..da65abb673 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/debug/bcm63xx.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/debug/bcm63xx.S @@ -1,33 +1,33 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Broadcom BCM63xx low-level UART debug - * - * Copyright (C) 2014 Broadcom Corporation - */ - -#include - - .macro addruart, rp, rv, tmp - ldr \rp, =CONFIG_DEBUG_UART_PHYS - ldr \rv, =CONFIG_DEBUG_UART_VIRT - .endm - - .macro senduart, rd, rx - /* word access do not work */ - strb \rd, [\rx, #UART_FIFO_REG] - .endm - - .macro waituarttxrdy, rd, rx -1001: ldr \rd, [\rx, #UART_IR_REG] - tst \rd, #(1 << UART_IR_TXEMPTY) - beq 1001b - .endm - - .macro waituartcts, rd, rx - .endm - - .macro busyuart, rd, rx -1002: ldr \rd, [\rx, #UART_IR_REG] - tst \rd, #(1 << UART_IR_TXTRESH) - beq 1002b - .endm +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Broadcom BCM63xx low-level UART debug + * + * Copyright (C) 2014 Broadcom Corporation + */ + +#include + + .macro addruart, rp, rv, tmp + ldr \rp, =CONFIG_DEBUG_UART_PHYS + ldr \rv, =CONFIG_DEBUG_UART_VIRT + .endm + + .macro senduart, rd, rx + /* word access do not work */ + strb \rd, [\rx, #UART_FIFO_REG] + .endm + + .macro waituarttxrdy, rd, rx +1001: ldr \rd, [\rx, #UART_IR_REG] + tst \rd, #(1 << UART_IR_TXEMPTY) + beq 1001b + .endm + + .macro waituartcts, rd, rx + .endm + + .macro busyuart, rd, rx +1002: ldr \rd, [\rx, #UART_IR_REG] + tst \rd, #(1 << UART_IR_TXTRESH) + beq 1002b + .endm diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/debug/clps711x.S b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/debug/clps711x.S index 3218233430..a983d12a65 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/debug/clps711x.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/debug/clps711x.S @@ -1,37 +1,37 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * Copyright (C) 2014 Alexander Shiyan - */ - -#ifndef CONFIG_DEBUG_CLPS711X_UART2 -#define CLPS711X_UART_PADDR (0x80000000 + 0x0000) -#define CLPS711X_UART_VADDR (0xfeff4000 + 0x0000) -#else -#define CLPS711X_UART_PADDR (0x80000000 + 0x1000) -#define CLPS711X_UART_VADDR (0xfeff4000 + 0x1000) -#endif - -#define SYSFLG (0x0140) -#define SYSFLG_UBUSY (1 << 11) -#define UARTDR (0x0480) - - .macro addruart, rp, rv, tmp - ldr \rv, =CLPS711X_UART_VADDR - ldr \rp, =CLPS711X_UART_PADDR - .endm - - .macro waituartcts,rd,rx - .endm - - .macro waituarttxrdy,rd,rx - .endm - - .macro senduart,rd,rx - str \rd, [\rx, #UARTDR] - .endm - - .macro busyuart,rd,rx -1001: ldr \rd, [\rx, #SYSFLG] - tst \rd, #SYSFLG_UBUSY - bne 1001b - .endm +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * Copyright (C) 2014 Alexander Shiyan + */ + +#ifndef CONFIG_DEBUG_CLPS711X_UART2 +#define CLPS711X_UART_PADDR (0x80000000 + 0x0000) +#define CLPS711X_UART_VADDR (0xfeff4000 + 0x0000) +#else +#define CLPS711X_UART_PADDR (0x80000000 + 0x1000) +#define CLPS711X_UART_VADDR (0xfeff4000 + 0x1000) +#endif + +#define SYSFLG (0x0140) +#define SYSFLG_UBUSY (1 << 11) +#define UARTDR (0x0480) + + .macro addruart, rp, rv, tmp + ldr \rv, =CLPS711X_UART_VADDR + ldr \rp, =CLPS711X_UART_PADDR + .endm + + .macro waituartcts,rd,rx + .endm + + .macro waituarttxrdy,rd,rx + .endm + + .macro senduart,rd,rx + str \rd, [\rx, #UARTDR] + .endm + + .macro busyuart,rd,rx +1001: ldr \rd, [\rx, #SYSFLG] + tst \rd, #SYSFLG_UBUSY + bne 1001b + .endm diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/debug/dc21285.S b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/debug/dc21285.S index 01aa56c3e3..4ec0e5e317 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/debug/dc21285.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/debug/dc21285.S @@ -1,41 +1,41 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* arch/arm/mach-footbridge/include/mach/debug-macro.S - * - * Debugging macro include header - * - * Copyright (C) 1994-1999 Russell King - * Moved from linux/arch/arm/kernel/debug.S by Ben Dooks -*/ - -#include - -#include - /* For EBSA285 debugging */ - .equ dc21285_high, ARMCSR_BASE & 0xff000000 - .equ dc21285_low, ARMCSR_BASE & 0x00ffffff - - .macro addruart, rp, rv, tmp - .if dc21285_low - mov \rp, #dc21285_low - .else - mov \rp, #0 - .endif - orr \rv, \rp, #dc21285_high - orr \rp, \rp, #0x42000000 - .endm - - .macro senduart,rd,rx - str \rd, [\rx, #0x160] @ UARTDR - .endm - - .macro busyuart,rd,rx -1001: ldr \rd, [\rx, #0x178] @ UARTFLG - tst \rd, #1 << 3 - bne 1001b - .endm - - .macro waituartcts,rd,rx - .endm - - .macro waituarttxrdy,rd,rx - .endm +/* SPDX-License-Identifier: GPL-2.0-only */ +/* arch/arm/mach-footbridge/include/mach/debug-macro.S + * + * Debugging macro include header + * + * Copyright (C) 1994-1999 Russell King + * Moved from linux/arch/arm/kernel/debug.S by Ben Dooks +*/ + +#include + +#include + /* For EBSA285 debugging */ + .equ dc21285_high, ARMCSR_BASE & 0xff000000 + .equ dc21285_low, ARMCSR_BASE & 0x00ffffff + + .macro addruart, rp, rv, tmp + .if dc21285_low + mov \rp, #dc21285_low + .else + mov \rp, #0 + .endif + orr \rv, \rp, #dc21285_high + orr \rp, \rp, #0x42000000 + .endm + + .macro senduart,rd,rx + str \rd, [\rx, #0x160] @ UARTDR + .endm + + .macro busyuart,rd,rx +1001: ldr \rd, [\rx, #0x178] @ UARTFLG + tst \rd, #1 << 3 + bne 1001b + .endm + + .macro waituartcts,rd,rx + .endm + + .macro waituarttxrdy,rd,rx + .endm diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/debug/digicolor.S b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/debug/digicolor.S index 674bde393f..443674cad7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/debug/digicolor.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/debug/digicolor.S @@ -1,34 +1,34 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Debugging macro include header for Conexant Digicolor USART - * - * Copyright (C) 2014 Paradox Innovation Ltd. -*/ - -#define UA0_STATUS 0x0742 -#define UA0_EMI_REC 0x0744 - -#define UA0_STATUS_TX_READY 0x40 - -#ifdef CONFIG_DEBUG_UART_PHYS - .macro addruart, rp, rv, tmp - ldr \rp, =CONFIG_DEBUG_UART_PHYS - ldr \rv, =CONFIG_DEBUG_UART_VIRT - .endm -#endif - - .macro senduart,rd,rx - strb \rd, [\rx, #UA0_EMI_REC] - .endm - - .macro waituartcts,rd,rx - .endm - - .macro waituarttxrdy,rd,rx - .endm - - .macro busyuart,rd,rx -1001: ldrb \rd, [\rx, #UA0_STATUS] - tst \rd, #UA0_STATUS_TX_READY - beq 1001b - .endm +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Debugging macro include header for Conexant Digicolor USART + * + * Copyright (C) 2014 Paradox Innovation Ltd. +*/ + +#define UA0_STATUS 0x0742 +#define UA0_EMI_REC 0x0744 + +#define UA0_STATUS_TX_READY 0x40 + +#ifdef CONFIG_DEBUG_UART_PHYS + .macro addruart, rp, rv, tmp + ldr \rp, =CONFIG_DEBUG_UART_PHYS + ldr \rv, =CONFIG_DEBUG_UART_VIRT + .endm +#endif + + .macro senduart,rd,rx + strb \rd, [\rx, #UA0_EMI_REC] + .endm + + .macro waituartcts,rd,rx + .endm + + .macro waituarttxrdy,rd,rx + .endm + + .macro busyuart,rd,rx +1001: ldrb \rd, [\rx, #UA0_STATUS] + tst \rd, #UA0_STATUS_TX_READY + beq 1001b + .endm diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/debug/meson.S b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/debug/meson.S index 2f633abd74..7b60e44012 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/debug/meson.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/debug/meson.S @@ -1,35 +1,35 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2014 Carlo Caione - * Carlo Caione - */ - -#define MESON_AO_UART_WFIFO 0x0 -#define MESON_AO_UART_STATUS 0xc - -#define MESON_AO_UART_TX_FIFO_EMPTY (1 << 22) -#define MESON_AO_UART_TX_FIFO_FULL (1 << 21) - - .macro addruart, rp, rv, tmp - ldr \rp, =(CONFIG_DEBUG_UART_PHYS) @ physical - ldr \rv, =(CONFIG_DEBUG_UART_VIRT) @ virtual - .endm - - .macro senduart,rd,rx - str \rd, [\rx, #MESON_AO_UART_WFIFO] - .endm - - .macro busyuart,rd,rx -1002: ldr \rd, [\rx, #MESON_AO_UART_STATUS] - tst \rd, #MESON_AO_UART_TX_FIFO_EMPTY - beq 1002b - .endm - - .macro waituartcts,rd,rx - .endm - - .macro waituarttxrdy,rd,rx -1001: ldr \rd, [\rx, #MESON_AO_UART_STATUS] - tst \rd, #MESON_AO_UART_TX_FIFO_FULL - bne 1001b - .endm +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2014 Carlo Caione + * Carlo Caione + */ + +#define MESON_AO_UART_WFIFO 0x0 +#define MESON_AO_UART_STATUS 0xc + +#define MESON_AO_UART_TX_FIFO_EMPTY (1 << 22) +#define MESON_AO_UART_TX_FIFO_FULL (1 << 21) + + .macro addruart, rp, rv, tmp + ldr \rp, =(CONFIG_DEBUG_UART_PHYS) @ physical + ldr \rv, =(CONFIG_DEBUG_UART_VIRT) @ virtual + .endm + + .macro senduart,rd,rx + str \rd, [\rx, #MESON_AO_UART_WFIFO] + .endm + + .macro busyuart,rd,rx +1002: ldr \rd, [\rx, #MESON_AO_UART_STATUS] + tst \rd, #MESON_AO_UART_TX_FIFO_EMPTY + beq 1002b + .endm + + .macro waituartcts,rd,rx + .endm + + .macro waituarttxrdy,rd,rx +1001: ldr \rd, [\rx, #MESON_AO_UART_STATUS] + tst \rd, #MESON_AO_UART_TX_FIFO_FULL + bne 1001b + .endm diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/debug/pl01x.S b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/debug/pl01x.S index ea520a50e1..c7e02d0628 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/debug/pl01x.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/debug/pl01x.S @@ -1,37 +1,37 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* arch/arm/include/debug/pl01x.S - * - * Debugging macro include header - * - * Copyright (C) 1994-1999 Russell King - * Moved from linux/arch/arm/kernel/debug.S by Ben Dooks -*/ -#include - -#ifdef CONFIG_DEBUG_UART_PHYS - .macro addruart, rp, rv, tmp - ldr \rp, =CONFIG_DEBUG_UART_PHYS - ldr \rv, =CONFIG_DEBUG_UART_VIRT - .endm -#endif - - .macro senduart,rd,rx - strb \rd, [\rx, #UART01x_DR] - .endm - - .macro waituartcts,rd,rx - .endm - - .macro waituarttxrdy,rd,rx -1001: ldr \rd, [\rx, #UART01x_FR] - ARM_BE8( rev \rd, \rd ) - tst \rd, #UART01x_FR_TXFF - bne 1001b - .endm - - .macro busyuart,rd,rx -1001: ldr \rd, [\rx, #UART01x_FR] - ARM_BE8( rev \rd, \rd ) - tst \rd, #UART01x_FR_BUSY - bne 1001b - .endm +/* SPDX-License-Identifier: GPL-2.0-only */ +/* arch/arm/include/debug/pl01x.S + * + * Debugging macro include header + * + * Copyright (C) 1994-1999 Russell King + * Moved from linux/arch/arm/kernel/debug.S by Ben Dooks +*/ +#include + +#ifdef CONFIG_DEBUG_UART_PHYS + .macro addruart, rp, rv, tmp + ldr \rp, =CONFIG_DEBUG_UART_PHYS + ldr \rv, =CONFIG_DEBUG_UART_VIRT + .endm +#endif + + .macro senduart,rd,rx + strb \rd, [\rx, #UART01x_DR] + .endm + + .macro waituartcts,rd,rx + .endm + + .macro waituarttxrdy,rd,rx +1001: ldr \rd, [\rx, #UART01x_FR] + ARM_BE8( rev \rd, \rd ) + tst \rd, #UART01x_FR_TXFF + bne 1001b + .endm + + .macro busyuart,rd,rx +1001: ldr \rd, [\rx, #UART01x_FR] + ARM_BE8( rev \rd, \rd ) + tst \rd, #UART01x_FR_BUSY + bne 1001b + .endm diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/debug/s3c24xx.S b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/debug/s3c24xx.S index 3d5d282f1d..7ab5e577cd 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/debug/s3c24xx.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/debug/s3c24xx.S @@ -1,33 +1,33 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* arch/arm/mach-s3c2410/include/mach/debug-macro.S - * - * Debugging macro include header - * - * Copyright (C) 1994-1999 Russell King - * Copyright (C) 2005 Simtec Electronics - * - * Moved from linux/arch/arm/kernel/debug.S by Ben Dooks -*/ - -#include - -#define S3C2410_UART1_OFF (0x4000) - - .macro addruart, rp, rv, tmp - ldr \rp, = CONFIG_DEBUG_UART_PHYS - ldr \rv, = CONFIG_DEBUG_UART_VIRT - .endm - - .macro fifo_full_s3c2410 rd, rx - ldr \rd, [\rx, # S3C2410_UFSTAT] - tst \rd, #S3C2410_UFSTAT_TXFULL - .endm - - .macro fifo_level_s3c2410 rd, rx - ldr \rd, [\rx, # S3C2410_UFSTAT] - and \rd, \rd, #S3C2410_UFSTAT_TXMASK - .endm - -/* include the reset of the code which will do the work */ - -#include +/* SPDX-License-Identifier: GPL-2.0-only */ +/* arch/arm/mach-s3c2410/include/mach/debug-macro.S + * + * Debugging macro include header + * + * Copyright (C) 1994-1999 Russell King + * Copyright (C) 2005 Simtec Electronics + * + * Moved from linux/arch/arm/kernel/debug.S by Ben Dooks +*/ + +#include + +#define S3C2410_UART1_OFF (0x4000) + + .macro addruart, rp, rv, tmp + ldr \rp, = CONFIG_DEBUG_UART_PHYS + ldr \rv, = CONFIG_DEBUG_UART_VIRT + .endm + + .macro fifo_full_s3c2410 rd, rx + ldr \rd, [\rx, # S3C2410_UFSTAT] + tst \rd, #S3C2410_UFSTAT_TXFULL + .endm + + .macro fifo_level_s3c2410 rd, rx + ldr \rd, [\rx, # S3C2410_UFSTAT] + and \rd, \rd, #S3C2410_UFSTAT_TXMASK + .endm + +/* include the reset of the code which will do the work */ + +#include diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/debug/s5pv210.S b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/debug/s5pv210.S index fd057e2689..820a1cfb05 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/debug/s5pv210.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/debug/s5pv210.S @@ -1,31 +1,31 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd. - * http://www.samsung.com -*/ - -/* pull in the relevant register and map files. */ - -#define S3C_ADDR_BASE 0xF6000000 -#define S3C_VA_UART S3C_ADDR_BASE + 0x01000000 -#define S5PV210_PA_UART 0xe2900000 - - /* note, for the boot process to work we have to keep the UART - * virtual address aligned to an 1MiB boundary for the L1 - * mapping the head code makes. We keep the UART virtual address - * aligned and add in the offset when we load the value here. - */ - - .macro addruart, rp, rv, tmp - ldr \rp, =S5PV210_PA_UART - ldr \rv, =S3C_VA_UART -#if CONFIG_DEBUG_S3C_UART != 0 - add \rp, \rp, #(0x400 * CONFIG_DEBUG_S3C_UART) - add \rv, \rv, #(0x400 * CONFIG_DEBUG_S3C_UART) -#endif - .endm - -#define fifo_full fifo_full_s5pv210 -#define fifo_level fifo_level_s5pv210 - -#include +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd. + * http://www.samsung.com +*/ + +/* pull in the relevant register and map files. */ + +#define S3C_ADDR_BASE 0xF6000000 +#define S3C_VA_UART S3C_ADDR_BASE + 0x01000000 +#define S5PV210_PA_UART 0xe2900000 + + /* note, for the boot process to work we have to keep the UART + * virtual address aligned to an 1MiB boundary for the L1 + * mapping the head code makes. We keep the UART virtual address + * aligned and add in the offset when we load the value here. + */ + + .macro addruart, rp, rv, tmp + ldr \rp, =S5PV210_PA_UART + ldr \rv, =S3C_VA_UART +#if CONFIG_DEBUG_S3C_UART != 0 + add \rp, \rp, #(0x400 * CONFIG_DEBUG_S3C_UART) + add \rv, \rv, #(0x400 * CONFIG_DEBUG_S3C_UART) +#endif + .endm + +#define fifo_full fifo_full_s5pv210 +#define fifo_level fifo_level_s5pv210 + +#include diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/debug/vf.S b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/debug/vf.S index ebbaccdaa6..035bcbf117 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/debug/vf.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/debug/vf.S @@ -1,36 +1,36 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright 2013 Freescale Semiconductor, Inc. - */ - -#define VF_UART0_BASE_ADDR 0x40027000 -#define VF_UART1_BASE_ADDR 0x40028000 -#define VF_UART2_BASE_ADDR 0x40029000 -#define VF_UART3_BASE_ADDR 0x4002a000 -#define VF_UART_BASE_ADDR(n) VF_UART##n##_BASE_ADDR -#define VF_UART_BASE(n) VF_UART_BASE_ADDR(n) -#define VF_UART_PHYSICAL_BASE VF_UART_BASE(CONFIG_DEBUG_VF_UART_PORT) - -#define VF_UART_VIRTUAL_BASE 0xfe000000 - - .macro addruart, rp, rv, tmp - ldr \rp, =VF_UART_PHYSICAL_BASE @ physical - and \rv, \rp, #0xffffff @ offset within 16MB section - add \rv, \rv, #VF_UART_VIRTUAL_BASE - .endm - - .macro senduart, rd, rx - strb \rd, [\rx, #0x7] @ Data Register - .endm - - .macro busyuart, rd, rx -1001: ldrb \rd, [\rx, #0x4] @ Status Register 1 - tst \rd, #1 << 6 @ TC - beq 1001b @ wait until transmit done - .endm - - .macro waituartcts,rd,rx - .endm - - .macro waituarttxrdy,rd,rx - .endm +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright 2013 Freescale Semiconductor, Inc. + */ + +#define VF_UART0_BASE_ADDR 0x40027000 +#define VF_UART1_BASE_ADDR 0x40028000 +#define VF_UART2_BASE_ADDR 0x40029000 +#define VF_UART3_BASE_ADDR 0x4002a000 +#define VF_UART_BASE_ADDR(n) VF_UART##n##_BASE_ADDR +#define VF_UART_BASE(n) VF_UART_BASE_ADDR(n) +#define VF_UART_PHYSICAL_BASE VF_UART_BASE(CONFIG_DEBUG_VF_UART_PORT) + +#define VF_UART_VIRTUAL_BASE 0xfe000000 + + .macro addruart, rp, rv, tmp + ldr \rp, =VF_UART_PHYSICAL_BASE @ physical + and \rv, \rp, #0xffffff @ offset within 16MB section + add \rv, \rv, #VF_UART_VIRTUAL_BASE + .endm + + .macro senduart, rd, rx + strb \rd, [\rx, #0x7] @ Data Register + .endm + + .macro busyuart, rd, rx +1001: ldrb \rd, [\rx, #0x4] @ Status Register 1 + tst \rd, #1 << 6 @ TC + beq 1001b @ wait until transmit done + .endm + + .macro waituartcts,rd,rx + .endm + + .macro waituarttxrdy,rd,rx + .endm diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/debug/vt8500.S b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/debug/vt8500.S index 1780817736..d01094fdbc 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/debug/vt8500.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/debug/vt8500.S @@ -1,37 +1,37 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Debugging macro include header - * - * Copyright (C) 2010 Alexey Charkov - * Moved from arch/arm/mach-vt8500/include/mach/debug-macro.S - * Minor changes for readability. - */ - -#define DEBUG_LL_PHYS_BASE 0xD8000000 -#define DEBUG_LL_VIRT_BASE 0xF8000000 -#define DEBUG_LL_UART_OFFSET 0x00200000 - -#if defined(CONFIG_DEBUG_VT8500_UART0) - .macro addruart, rp, rv, tmp - mov \rp, #DEBUG_LL_UART_OFFSET - orr \rv, \rp, #DEBUG_LL_VIRT_BASE - orr \rp, \rp, #DEBUG_LL_PHYS_BASE - .endm - - .macro senduart,rd,rx - strb \rd, [\rx, #0] - .endm - - .macro busyuart,rd,rx -1001: ldr \rd, [\rx, #0x1c] - ands \rd, \rd, #0x2 - bne 1001b - .endm - - .macro waituartcts,rd,rx - .endm - - .macro waituarttxrdy,rd,rx - .endm - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Debugging macro include header + * + * Copyright (C) 2010 Alexey Charkov + * Moved from arch/arm/mach-vt8500/include/mach/debug-macro.S + * Minor changes for readability. + */ + +#define DEBUG_LL_PHYS_BASE 0xD8000000 +#define DEBUG_LL_VIRT_BASE 0xF8000000 +#define DEBUG_LL_UART_OFFSET 0x00200000 + +#if defined(CONFIG_DEBUG_VT8500_UART0) + .macro addruart, rp, rv, tmp + mov \rp, #DEBUG_LL_UART_OFFSET + orr \rv, \rp, #DEBUG_LL_VIRT_BASE + orr \rp, \rp, #DEBUG_LL_PHYS_BASE + .endm + + .macro senduart,rd,rx + strb \rd, [\rx, #0] + .endm + + .macro busyuart,rd,rx +1001: ldr \rd, [\rx, #0x1c] + ands \rd, \rd, #0x2 + bne 1001b + .endm + + .macro waituartcts,rd,rx + .endm + + .macro waituarttxrdy,rd,rx + .endm + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/uapi/asm/byteorder.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/uapi/asm/byteorder.h index 5b2bf530b6..cb8406afe1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/uapi/asm/byteorder.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/uapi/asm/byteorder.h @@ -1,26 +1,26 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -/* - * arch/arm/include/asm/byteorder.h - * - * ARM Endian-ness. In little endian mode, the data bus is connected such - * that byte accesses appear as: - * 0 = d0...d7, 1 = d8...d15, 2 = d16...d23, 3 = d24...d31 - * and word accesses (data or instruction) appear as: - * d0...d31 - * - * When in big endian mode, byte accesses appear as: - * 0 = d24...d31, 1 = d16...d23, 2 = d8...d15, 3 = d0...d7 - * and word accesses (data or instruction) appear as: - * d0...d31 - */ -#ifndef __ASM_ARM_BYTEORDER_H -#define __ASM_ARM_BYTEORDER_H - -#ifdef __ARMEB__ -#include -#else -#include -#endif - -#endif - +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +/* + * arch/arm/include/asm/byteorder.h + * + * ARM Endian-ness. In little endian mode, the data bus is connected such + * that byte accesses appear as: + * 0 = d0...d7, 1 = d8...d15, 2 = d16...d23, 3 = d24...d31 + * and word accesses (data or instruction) appear as: + * d0...d31 + * + * When in big endian mode, byte accesses appear as: + * 0 = d24...d31, 1 = d16...d23, 2 = d8...d15, 3 = d0...d7 + * and word accesses (data or instruction) appear as: + * d0...d31 + */ +#ifndef __ASM_ARM_BYTEORDER_H +#define __ASM_ARM_BYTEORDER_H + +#ifdef __ARMEB__ +#include +#else +#include +#endif + +#endif + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/uapi/asm/sigcontext.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/uapi/asm/sigcontext.h index b6c81d3921..e223c65ada 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/uapi/asm/sigcontext.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/uapi/asm/sigcontext.h @@ -1,35 +1,35 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _ASMARM_SIGCONTEXT_H -#define _ASMARM_SIGCONTEXT_H - -/* - * Signal context structure - contains all info to do with the state - * before the signal handler was invoked. Note: only add new entries - * to the end of the structure. - */ -struct sigcontext { - unsigned long trap_no; - unsigned long error_code; - unsigned long oldmask; - unsigned long arm_r0; - unsigned long arm_r1; - unsigned long arm_r2; - unsigned long arm_r3; - unsigned long arm_r4; - unsigned long arm_r5; - unsigned long arm_r6; - unsigned long arm_r7; - unsigned long arm_r8; - unsigned long arm_r9; - unsigned long arm_r10; - unsigned long arm_fp; - unsigned long arm_ip; - unsigned long arm_sp; - unsigned long arm_lr; - unsigned long arm_pc; - unsigned long arm_cpsr; - unsigned long fault_address; -}; - - -#endif +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _ASMARM_SIGCONTEXT_H +#define _ASMARM_SIGCONTEXT_H + +/* + * Signal context structure - contains all info to do with the state + * before the signal handler was invoked. Note: only add new entries + * to the end of the structure. + */ +struct sigcontext { + unsigned long trap_no; + unsigned long error_code; + unsigned long oldmask; + unsigned long arm_r0; + unsigned long arm_r1; + unsigned long arm_r2; + unsigned long arm_r3; + unsigned long arm_r4; + unsigned long arm_r5; + unsigned long arm_r6; + unsigned long arm_r7; + unsigned long arm_r8; + unsigned long arm_r9; + unsigned long arm_r10; + unsigned long arm_fp; + unsigned long arm_ip; + unsigned long arm_sp; + unsigned long arm_lr; + unsigned long arm_pc; + unsigned long arm_cpsr; + unsigned long fault_address; +}; + + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/kernel/arch_timer.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/kernel/arch_timer.c index 0f49de83e2..b5e2179076 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/kernel/arch_timer.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/kernel/arch_timer.c @@ -1,42 +1,42 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * linux/arch/arm/kernel/arch_timer.c - * - * Copyright (C) 2011 ARM Ltd. - * All Rights Reserved - */ -#include -#include -#include - -#include -#include - -#include - -static unsigned long arch_timer_read_counter_long(void) -{ - return arch_timer_read_counter(); -} - -static struct delay_timer arch_delay_timer; - -static void __init arch_timer_delay_timer_register(void) -{ - /* Use the architected timer for the delay loop. */ - arch_delay_timer.read_current_timer = arch_timer_read_counter_long; - arch_delay_timer.freq = arch_timer_get_rate(); - register_current_timer_delay(&arch_delay_timer); -} - -int __init arch_timer_arch_init(void) -{ - u32 arch_timer_rate = arch_timer_get_rate(); - - if (arch_timer_rate == 0) - return -ENXIO; - - arch_timer_delay_timer_register(); - - return 0; -} +// SPDX-License-Identifier: GPL-2.0-only +/* + * linux/arch/arm/kernel/arch_timer.c + * + * Copyright (C) 2011 ARM Ltd. + * All Rights Reserved + */ +#include +#include +#include + +#include +#include + +#include + +static unsigned long arch_timer_read_counter_long(void) +{ + return arch_timer_read_counter(); +} + +static struct delay_timer arch_delay_timer; + +static void __init arch_timer_delay_timer_register(void) +{ + /* Use the architected timer for the delay loop. */ + arch_delay_timer.read_current_timer = arch_timer_read_counter_long; + arch_delay_timer.freq = arch_timer_get_rate(); + register_current_timer_delay(&arch_delay_timer); +} + +int __init arch_timer_arch_init(void) +{ + u32 arch_timer_rate = arch_timer_get_rate(); + + if (arch_timer_rate == 0) + return -ENXIO; + + arch_timer_delay_timer_register(); + + return 0; +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/kernel/crash_dump.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/kernel/crash_dump.c index a1de6c5b96..938bd932df 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/kernel/crash_dump.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/kernel/crash_dump.c @@ -1,35 +1,35 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * arch/arm/kernel/crash_dump.c - * - * Copyright (C) 2010 Nokia Corporation. - * Author: Mika Westerberg - * - * This code is taken from arch/x86/kernel/crash_dump_64.c - * Created by: Hariprasad Nellitheertha (hari@in.ibm.com) - * Copyright (C) IBM Corporation, 2004. All rights reserved - */ - -#include -#include -#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 = ioremap(__pfn_to_phys(pfn), PAGE_SIZE); - if (!vaddr) - return -ENOMEM; - - csize = copy_to_iter(vaddr + offset, csize, iter); - - iounmap(vaddr); - return csize; -} +// SPDX-License-Identifier: GPL-2.0-only +/* + * arch/arm/kernel/crash_dump.c + * + * Copyright (C) 2010 Nokia Corporation. + * Author: Mika Westerberg + * + * This code is taken from arch/x86/kernel/crash_dump_64.c + * Created by: Hariprasad Nellitheertha (hari@in.ibm.com) + * Copyright (C) IBM Corporation, 2004. All rights reserved + */ + +#include +#include +#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 = ioremap(__pfn_to_phys(pfn), PAGE_SIZE); + if (!vaddr) + return -ENOMEM; + + csize = copy_to_iter(vaddr + offset, csize, iter); + + iounmap(vaddr); + return csize; +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/kernel/early_printk.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/kernel/early_printk.c index 902aeecca3..03239ca0d5 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/kernel/early_printk.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/kernel/early_printk.c @@ -1,47 +1,47 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * linux/arch/arm/kernel/early_printk.c - * - * Copyright (C) 2009 Sascha Hauer - */ - -#include -#include -#include -#include - -extern void printascii(const char *); - -static void early_write(const char *s, unsigned n) -{ - char buf[128]; - while (n) { - unsigned l = min(n, sizeof(buf)-1); - memcpy(buf, s, l); - buf[l] = 0; - s += l; - n -= l; - printascii(buf); - } -} - -static void early_console_write(struct console *con, const char *s, unsigned n) -{ - early_write(s, n); -} - -static struct console early_console_dev = { - .name = "earlycon", - .write = early_console_write, - .flags = CON_PRINTBUFFER | CON_BOOT, - .index = -1, -}; - -static int __init setup_early_printk(char *buf) -{ - early_console = &early_console_dev; - register_console(&early_console_dev); - return 0; -} - -early_param("earlyprintk", setup_early_printk); +// SPDX-License-Identifier: GPL-2.0-only +/* + * linux/arch/arm/kernel/early_printk.c + * + * Copyright (C) 2009 Sascha Hauer + */ + +#include +#include +#include +#include + +extern void printascii(const char *); + +static void early_write(const char *s, unsigned n) +{ + char buf[128]; + while (n) { + unsigned l = min(n, sizeof(buf)-1); + memcpy(buf, s, l); + buf[l] = 0; + s += l; + n -= l; + printascii(buf); + } +} + +static void early_console_write(struct console *con, const char *s, unsigned n) +{ + early_write(s, n); +} + +static struct console early_console_dev = { + .name = "earlycon", + .write = early_console_write, + .flags = CON_PRINTBUFFER | CON_BOOT, + .index = -1, +}; + +static int __init setup_early_printk(char *buf) +{ + early_console = &early_console_dev; + register_console(&early_console_dev); + return 0; +} + +early_param("earlyprintk", setup_early_printk); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/kernel/jump_label.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/kernel/jump_label.c index 3af5e931fe..eb9c24b6e8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/kernel/jump_label.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/kernel/jump_label.c @@ -1,29 +1,29 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include -#include -#include - -static void __arch_jump_label_transform(struct jump_entry *entry, - enum jump_label_type type, - bool is_static) -{ - void *addr = (void *)entry->code; - unsigned int insn; - - if (type == JUMP_LABEL_JMP) - insn = arm_gen_branch(entry->code, entry->target); - else - insn = arm_gen_nop(); - - if (is_static) - __patch_text_early(addr, insn); - else - patch_text(addr, insn); -} - -void arch_jump_label_transform(struct jump_entry *entry, - enum jump_label_type type) -{ - __arch_jump_label_transform(entry, type, false); -} +// SPDX-License-Identifier: GPL-2.0 +#include +#include +#include +#include + +static void __arch_jump_label_transform(struct jump_entry *entry, + enum jump_label_type type, + bool is_static) +{ + void *addr = (void *)entry->code; + unsigned int insn; + + if (type == JUMP_LABEL_JMP) + insn = arm_gen_branch(entry->code, entry->target); + else + insn = arm_gen_nop(); + + if (is_static) + __patch_text_early(addr, insn); + else + patch_text(addr, insn); +} + +void arch_jump_label_transform(struct jump_entry *entry, + enum jump_label_type type) +{ + __arch_jump_label_transform(entry, type, false); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/kernel/perf_regs.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/kernel/perf_regs.c index c81bd83b66..0529f90395 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/kernel/perf_regs.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/kernel/perf_regs.c @@ -1,39 +1,39 @@ -// SPDX-License-Identifier: GPL-2.0 - -#include -#include -#include -#include -#include -#include -#include - -u64 perf_reg_value(struct pt_regs *regs, int idx) -{ - if (WARN_ON_ONCE((u32)idx >= PERF_REG_ARM_MAX)) - return 0; - - return regs->uregs[idx]; -} - -#define REG_RESERVED (~((1ULL << PERF_REG_ARM_MAX) - 1)) - -int perf_reg_validate(u64 mask) -{ - if (!mask || mask & REG_RESERVED) - return -EINVAL; - - return 0; -} - -u64 perf_reg_abi(struct task_struct *task) -{ - return PERF_SAMPLE_REGS_ABI_32; -} - -void perf_get_regs_user(struct perf_regs *regs_user, - struct pt_regs *regs) -{ - regs_user->regs = task_pt_regs(current); - regs_user->abi = perf_reg_abi(current); -} +// SPDX-License-Identifier: GPL-2.0 + +#include +#include +#include +#include +#include +#include +#include + +u64 perf_reg_value(struct pt_regs *regs, int idx) +{ + if (WARN_ON_ONCE((u32)idx >= PERF_REG_ARM_MAX)) + return 0; + + return regs->uregs[idx]; +} + +#define REG_RESERVED (~((1ULL << PERF_REG_ARM_MAX) - 1)) + +int perf_reg_validate(u64 mask) +{ + if (!mask || mask & REG_RESERVED) + return -EINVAL; + + return 0; +} + +u64 perf_reg_abi(struct task_struct *task) +{ + return PERF_SAMPLE_REGS_ABI_32; +} + +void perf_get_regs_user(struct perf_regs *regs_user, + struct pt_regs *regs) +{ + regs_user->regs = task_pt_regs(current); + regs_user->abi = perf_reg_abi(current); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/lib/bswapsdi2.S b/image/debian/UFI003_MB_V02/kernel/arch/arm/lib/bswapsdi2.S index 77c0dec610..591ba077e8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/lib/bswapsdi2.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/lib/bswapsdi2.S @@ -1,38 +1,38 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#include -#include - -#if __LINUX_ARM_ARCH__ >= 6 -ENTRY(__bswapsi2) - rev r0, r0 - bx lr -ENDPROC(__bswapsi2) - -ENTRY(__bswapdi2) - rev r3, r0 - rev r0, r1 - mov r1, r3 - bx lr -ENDPROC(__bswapdi2) -#else -ENTRY(__bswapsi2) - eor r3, r0, r0, ror #16 - mov r3, r3, lsr #8 - bic r3, r3, #0xff00 - eor r0, r3, r0, ror #8 - ret lr -ENDPROC(__bswapsi2) - -ENTRY(__bswapdi2) - mov ip, r1 - eor r3, ip, ip, ror #16 - eor r1, r0, r0, ror #16 - mov r1, r1, lsr #8 - mov r3, r3, lsr #8 - bic r3, r3, #0xff00 - bic r1, r1, #0xff00 - eor r1, r1, r0, ror #8 - eor r0, r3, ip, ror #8 - ret lr -ENDPROC(__bswapdi2) -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#include +#include + +#if __LINUX_ARM_ARCH__ >= 6 +ENTRY(__bswapsi2) + rev r0, r0 + bx lr +ENDPROC(__bswapsi2) + +ENTRY(__bswapdi2) + rev r3, r0 + rev r0, r1 + mov r1, r3 + bx lr +ENDPROC(__bswapdi2) +#else +ENTRY(__bswapsi2) + eor r3, r0, r0, ror #16 + mov r3, r3, lsr #8 + bic r3, r3, #0xff00 + eor r0, r3, r0, ror #8 + ret lr +ENDPROC(__bswapsi2) + +ENTRY(__bswapdi2) + mov ip, r1 + eor r3, ip, ip, ror #16 + eor r1, r0, r0, ror #16 + mov r1, r1, lsr #8 + mov r3, r3, lsr #8 + bic r3, r3, #0xff00 + bic r1, r1, #0xff00 + eor r1, r1, r0, ror #8 + eor r0, r3, ip, ror #8 + ret lr +ENDPROC(__bswapdi2) +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/lib/muldi3.S b/image/debian/UFI003_MB_V02/kernel/arch/arm/lib/muldi3.S index 107038055f..8362fe6c0d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/lib/muldi3.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/lib/muldi3.S @@ -1,45 +1,45 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * linux/arch/arm/lib/muldi3.S - * - * Author: Nicolas Pitre - * Created: Oct 19, 2005 - * Copyright: Monta Vista Software, Inc. - */ - -#include -#include - -#ifdef __ARMEB__ -#define xh r0 -#define xl r1 -#define yh r2 -#define yl r3 -#else -#define xl r0 -#define xh r1 -#define yl r2 -#define yh r3 -#endif - -ENTRY(__muldi3) -ENTRY(__aeabi_lmul) - - mul xh, yl, xh - mla xh, xl, yh, xh - mov ip, xl, lsr #16 - mov yh, yl, lsr #16 - bic xl, xl, ip, lsl #16 - bic yl, yl, yh, lsl #16 - mla xh, yh, ip, xh - mul yh, xl, yh - mul xl, yl, xl - mul ip, yl, ip - adds xl, xl, yh, lsl #16 - adc xh, xh, yh, lsr #16 - adds xl, xl, ip, lsl #16 - adc xh, xh, ip, lsr #16 - ret lr - -ENDPROC(__muldi3) -ENDPROC(__aeabi_lmul) +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * linux/arch/arm/lib/muldi3.S + * + * Author: Nicolas Pitre + * Created: Oct 19, 2005 + * Copyright: Monta Vista Software, Inc. + */ + +#include +#include + +#ifdef __ARMEB__ +#define xh r0 +#define xl r1 +#define yh r2 +#define yl r3 +#else +#define xl r0 +#define xh r1 +#define yl r2 +#define yh r3 +#endif + +ENTRY(__muldi3) +ENTRY(__aeabi_lmul) + + mul xh, yl, xh + mla xh, xl, yh, xh + mov ip, xl, lsr #16 + mov yh, yl, lsr #16 + bic xl, xl, ip, lsl #16 + bic yl, yl, yh, lsl #16 + mla xh, yh, ip, xh + mul yh, xl, yh + mul xl, yl, xl + mul ip, yl, ip + adds xl, xl, yh, lsl #16 + adc xh, xh, yh, lsr #16 + adds xl, xl, ip, lsl #16 + adc xh, xh, ip, lsr #16 + ret lr + +ENDPROC(__muldi3) +ENDPROC(__aeabi_lmul) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/lib/ucmpdi2.S b/image/debian/UFI003_MB_V02/kernel/arch/arm/lib/ucmpdi2.S index a1bdca3ff6..679e16a210 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/lib/ucmpdi2.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/lib/ucmpdi2.S @@ -1,50 +1,50 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * linux/arch/arm/lib/ucmpdi2.S - * - * Author: Nicolas Pitre - * Created: Oct 19, 2005 - * Copyright: Monta Vista Software, Inc. - */ - -#include -#include - -#ifdef __ARMEB__ -#define xh r0 -#define xl r1 -#define yh r2 -#define yl r3 -#else -#define xl r0 -#define xh r1 -#define yl r2 -#define yh r3 -#endif - -ENTRY(__ucmpdi2) - - cmp xh, yh - cmpeq xl, yl - movlo r0, #0 - moveq r0, #1 - movhi r0, #2 - ret lr - -ENDPROC(__ucmpdi2) - -#ifdef CONFIG_AEABI - -ENTRY(__aeabi_ulcmp) - - cmp xh, yh - cmpeq xl, yl - movlo r0, #-1 - moveq r0, #0 - movhi r0, #1 - ret lr - -ENDPROC(__aeabi_ulcmp) - -#endif - +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * linux/arch/arm/lib/ucmpdi2.S + * + * Author: Nicolas Pitre + * Created: Oct 19, 2005 + * Copyright: Monta Vista Software, Inc. + */ + +#include +#include + +#ifdef __ARMEB__ +#define xh r0 +#define xl r1 +#define yh r2 +#define yl r3 +#else +#define xl r0 +#define xh r1 +#define yl r2 +#define yh r3 +#endif + +ENTRY(__ucmpdi2) + + cmp xh, yh + cmpeq xl, yl + movlo r0, #0 + moveq r0, #1 + movhi r0, #2 + ret lr + +ENDPROC(__ucmpdi2) + +#ifdef CONFIG_AEABI + +ENTRY(__aeabi_ulcmp) + + cmp xh, yh + cmpeq xl, yl + movlo r0, #-1 + moveq r0, #0 + movhi r0, #1 + ret lr + +ENDPROC(__aeabi_ulcmp) + +#endif + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-alpine/alpine_cpu_resume.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-alpine/alpine_cpu_resume.h index 6209c07b6f..4b550786f1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-alpine/alpine_cpu_resume.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-alpine/alpine_cpu_resume.h @@ -1,29 +1,29 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * Annapurna labs cpu-resume register structure. - * - * Copyright (C) 2015 Annapurna Labs Ltd. - */ - -#ifndef ALPINE_CPU_RESUME_H_ -#define ALPINE_CPU_RESUME_H_ - -/* Per-cpu regs */ -struct al_cpu_resume_regs_per_cpu { - uint32_t flags; - uint32_t resume_addr; -}; - -/* general regs */ -struct al_cpu_resume_regs { - /* Watermark for validating the CPU resume struct */ - uint32_t watermark; - uint32_t flags; - struct al_cpu_resume_regs_per_cpu per_cpu[]; -}; - -/* The expected magic number for validating the resume addresses */ -#define AL_CPU_RESUME_MAGIC_NUM 0xf0e1d200 -#define AL_CPU_RESUME_MAGIC_NUM_MASK 0xffffff00 - -#endif /* ALPINE_CPU_RESUME_H_ */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * Annapurna labs cpu-resume register structure. + * + * Copyright (C) 2015 Annapurna Labs Ltd. + */ + +#ifndef ALPINE_CPU_RESUME_H_ +#define ALPINE_CPU_RESUME_H_ + +/* Per-cpu regs */ +struct al_cpu_resume_regs_per_cpu { + uint32_t flags; + uint32_t resume_addr; +}; + +/* general regs */ +struct al_cpu_resume_regs { + /* Watermark for validating the CPU resume struct */ + uint32_t watermark; + uint32_t flags; + struct al_cpu_resume_regs_per_cpu per_cpu[]; +}; + +/* The expected magic number for validating the resume addresses */ +#define AL_CPU_RESUME_MAGIC_NUM 0xf0e1d200 +#define AL_CPU_RESUME_MAGIC_NUM_MASK 0xffffff00 + +#endif /* ALPINE_CPU_RESUME_H_ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-alpine/platsmp.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-alpine/platsmp.c index f22bc9a1ee..fc4bba2902 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-alpine/platsmp.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-alpine/platsmp.c @@ -1,40 +1,40 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * SMP operations for Alpine platform. - * - * Copyright (C) 2015 Annapurna Labs Ltd. - */ - -#include -#include -#include -#include - -#include - -#include "alpine_cpu_pm.h" - -static int alpine_boot_secondary(unsigned int cpu, struct task_struct *idle) -{ - phys_addr_t addr; - - addr = __pa_symbol(secondary_startup); - - if (addr > (phys_addr_t)(uint32_t)(-1)) { - pr_err("FAIL: resume address over 32bit (%pa)", &addr); - return -EINVAL; - } - - return alpine_cpu_wakeup(cpu_logical_map(cpu), (uint32_t)addr); -} - -static void __init alpine_smp_prepare_cpus(unsigned int max_cpus) -{ - alpine_cpu_pm_init(); -} - -static const struct smp_operations alpine_smp_ops __initconst = { - .smp_prepare_cpus = alpine_smp_prepare_cpus, - .smp_boot_secondary = alpine_boot_secondary, -}; -CPU_METHOD_OF_DECLARE(alpine_smp, "al,alpine-smp", &alpine_smp_ops); +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * SMP operations for Alpine platform. + * + * Copyright (C) 2015 Annapurna Labs Ltd. + */ + +#include +#include +#include +#include + +#include + +#include "alpine_cpu_pm.h" + +static int alpine_boot_secondary(unsigned int cpu, struct task_struct *idle) +{ + phys_addr_t addr; + + addr = __pa_symbol(secondary_startup); + + if (addr > (phys_addr_t)(uint32_t)(-1)) { + pr_err("FAIL: resume address over 32bit (%pa)", &addr); + return -EINVAL; + } + + return alpine_cpu_wakeup(cpu_logical_map(cpu), (uint32_t)addr); +} + +static void __init alpine_smp_prepare_cpus(unsigned int max_cpus) +{ + alpine_cpu_pm_init(); +} + +static const struct smp_operations alpine_smp_ops __initconst = { + .smp_prepare_cpus = alpine_smp_prepare_cpus, + .smp_boot_secondary = alpine_boot_secondary, +}; +CPU_METHOD_OF_DECLARE(alpine_smp, "al,alpine-smp", &alpine_smp_ops); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-at91/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-at91/Makefile index 7106a0bd90..7d8a7bc44e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-at91/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-at91/Makefile @@ -1,28 +1,28 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Makefile for the linux kernel. -# - -# CPU-specific support -obj-$(CONFIG_SOC_AT91RM9200) += at91rm9200.o -obj-$(CONFIG_SOC_AT91SAM9) += at91sam9.o -obj-$(CONFIG_SOC_SAM9X60) += sam9x60.o -obj-$(CONFIG_SOC_SAM9X7) += sam9x7.o -obj-$(CONFIG_SOC_SAMA5) += sama5.o sam_secure.o -obj-$(CONFIG_SOC_SAMA7) += sama7.o -obj-$(CONFIG_SOC_SAMV7) += samv7.o - -# Power Management -obj-$(CONFIG_ATMEL_PM) += pm.o pm_suspend.o - -ifeq ($(CONFIG_PM_DEBUG),y) -CFLAGS_pm.o += -DDEBUG -endif - -$(obj)/pm_data-offsets.h: $(obj)/pm_data-offsets.s FORCE - $(call filechk,offsets,__PM_DATA_OFFSETS_H__) - -$(obj)/pm_suspend.o: $(obj)/pm_data-offsets.h - -targets += pm_data-offsets.s -clean-files += pm_data-offsets.h +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile for the linux kernel. +# + +# CPU-specific support +obj-$(CONFIG_SOC_AT91RM9200) += at91rm9200.o +obj-$(CONFIG_SOC_AT91SAM9) += at91sam9.o +obj-$(CONFIG_SOC_SAM9X60) += sam9x60.o +obj-$(CONFIG_SOC_SAM9X7) += sam9x7.o +obj-$(CONFIG_SOC_SAMA5) += sama5.o sam_secure.o +obj-$(CONFIG_SOC_SAMA7) += sama7.o +obj-$(CONFIG_SOC_SAMV7) += samv7.o + +# Power Management +obj-$(CONFIG_ATMEL_PM) += pm.o pm_suspend.o + +ifeq ($(CONFIG_PM_DEBUG),y) +CFLAGS_pm.o += -DDEBUG +endif + +$(obj)/pm_data-offsets.h: $(obj)/pm_data-offsets.s FORCE + $(call filechk,offsets,__PM_DATA_OFFSETS_H__) + +$(obj)/pm_suspend.o: $(obj)/pm_data-offsets.h + +targets += pm_data-offsets.s +clean-files += pm_data-offsets.h diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-at91/at91rm9200.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-at91/at91rm9200.c index 1290d68993..4f81862116 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-at91/at91rm9200.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-at91/at91rm9200.c @@ -1,32 +1,32 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Setup code for AT91RM9200 - * - * Copyright (C) 2011 Atmel, - * 2011 Nicolas Ferre - * 2012 Joachim Eastwood - */ - -#include -#include - -#include - -#include "generic.h" - -static void __init at91rm9200_dt_device_init(void) -{ - of_platform_default_populate(NULL, NULL, NULL); - - at91rm9200_pm_init(); -} - -static const char *const at91rm9200_dt_board_compat[] __initconst = { - "atmel,at91rm9200", - NULL -}; - -DT_MACHINE_START(at91rm9200_dt, "Atmel AT91RM9200") - .init_machine = at91rm9200_dt_device_init, - .dt_compat = at91rm9200_dt_board_compat, -MACHINE_END +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Setup code for AT91RM9200 + * + * Copyright (C) 2011 Atmel, + * 2011 Nicolas Ferre + * 2012 Joachim Eastwood + */ + +#include +#include + +#include + +#include "generic.h" + +static void __init at91rm9200_dt_device_init(void) +{ + of_platform_default_populate(NULL, NULL, NULL); + + at91rm9200_pm_init(); +} + +static const char *const at91rm9200_dt_board_compat[] __initconst = { + "atmel,at91rm9200", + NULL +}; + +DT_MACHINE_START(at91rm9200_dt, "Atmel AT91RM9200") + .init_machine = at91rm9200_dt_device_init, + .dt_compat = at91rm9200_dt_board_compat, +MACHINE_END diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-at91/at91sam9.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-at91/at91sam9.c index 37cbaf327c..7e572189a5 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-at91/at91sam9.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-at91/at91sam9.c @@ -1,33 +1,33 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Setup code for AT91SAM9 - * - * Copyright (C) 2011 Atmel, - * 2011 Nicolas Ferre - */ - -#include -#include - -#include -#include - -#include "generic.h" - -static void __init at91sam9_init(void) -{ - of_platform_default_populate(NULL, NULL, NULL); - - at91sam9_pm_init(); -} - -static const char *const at91_dt_board_compat[] __initconst = { - "atmel,at91sam9", - NULL -}; - -DT_MACHINE_START(at91sam_dt, "Atmel AT91SAM9") - /* Maintainer: Atmel */ - .init_machine = at91sam9_init, - .dt_compat = at91_dt_board_compat, -MACHINE_END +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Setup code for AT91SAM9 + * + * Copyright (C) 2011 Atmel, + * 2011 Nicolas Ferre + */ + +#include +#include + +#include +#include + +#include "generic.h" + +static void __init at91sam9_init(void) +{ + of_platform_default_populate(NULL, NULL, NULL); + + at91sam9_pm_init(); +} + +static const char *const at91_dt_board_compat[] __initconst = { + "atmel,at91sam9", + NULL +}; + +DT_MACHINE_START(at91sam_dt, "Atmel AT91SAM9") + /* Maintainer: Atmel */ + .init_machine = at91sam9_init, + .dt_compat = at91_dt_board_compat, +MACHINE_END diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-at91/generic.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-at91/generic.h index 8e3d191117..acf0b3c82a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-at91/generic.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-at91/generic.h @@ -1,29 +1,29 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * linux/arch/arm/mach-at91/generic.h - * - * Copyright (C) 2005 David Brownell - */ - -#ifndef _AT91_GENERIC_H -#define _AT91_GENERIC_H - -#ifdef CONFIG_PM -extern void __init at91rm9200_pm_init(void); -extern void __init at91sam9_pm_init(void); -extern void __init sam9x60_pm_init(void); -extern void __init sam9x7_pm_init(void); -extern void __init sama5_pm_init(void); -extern void __init sama5d2_pm_init(void); -extern void __init sama7_pm_init(void); -#else -static inline void __init at91rm9200_pm_init(void) { } -static inline void __init at91sam9_pm_init(void) { } -static inline void __init sam9x60_pm_init(void) { } -static inline void __init sam9x7_pm_init(void) { } -static inline void __init sama5_pm_init(void) { } -static inline void __init sama5d2_pm_init(void) { } -static inline void __init sama7_pm_init(void) { } -#endif - -#endif /* _AT91_GENERIC_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * linux/arch/arm/mach-at91/generic.h + * + * Copyright (C) 2005 David Brownell + */ + +#ifndef _AT91_GENERIC_H +#define _AT91_GENERIC_H + +#ifdef CONFIG_PM +extern void __init at91rm9200_pm_init(void); +extern void __init at91sam9_pm_init(void); +extern void __init sam9x60_pm_init(void); +extern void __init sam9x7_pm_init(void); +extern void __init sama5_pm_init(void); +extern void __init sama5d2_pm_init(void); +extern void __init sama7_pm_init(void); +#else +static inline void __init at91rm9200_pm_init(void) { } +static inline void __init at91sam9_pm_init(void) { } +static inline void __init sam9x60_pm_init(void) { } +static inline void __init sam9x7_pm_init(void) { } +static inline void __init sama5_pm_init(void) { } +static inline void __init sama5d2_pm_init(void) { } +static inline void __init sama7_pm_init(void) { } +#endif + +#endif /* _AT91_GENERIC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-at91/pm_data-offsets.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-at91/pm_data-offsets.c index dce6b9e1c5..40bd4e8fe4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-at91/pm_data-offsets.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-at91/pm_data-offsets.c @@ -1,23 +1,23 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include -#include "pm.h" - -int main(void) -{ - DEFINE(PM_DATA_PMC, offsetof(struct at91_pm_data, pmc)); - DEFINE(PM_DATA_RAMC0, offsetof(struct at91_pm_data, ramc[0])); - DEFINE(PM_DATA_RAMC1, offsetof(struct at91_pm_data, ramc[1])); - DEFINE(PM_DATA_RAMC_PHY, offsetof(struct at91_pm_data, - ramc_phy)); - DEFINE(PM_DATA_MEMCTRL, offsetof(struct at91_pm_data, memctrl)); - DEFINE(PM_DATA_MODE, offsetof(struct at91_pm_data, mode)); - DEFINE(PM_DATA_SHDWC, offsetof(struct at91_pm_data, shdwc)); - DEFINE(PM_DATA_SFRBU, offsetof(struct at91_pm_data, sfrbu)); - DEFINE(PM_DATA_PMC_MCKR_OFFSET, offsetof(struct at91_pm_data, - pmc_mckr_offset)); - DEFINE(PM_DATA_PMC_VERSION, offsetof(struct at91_pm_data, - pmc_version)); - - return 0; -} +// SPDX-License-Identifier: GPL-2.0 +#include +#include +#include "pm.h" + +int main(void) +{ + DEFINE(PM_DATA_PMC, offsetof(struct at91_pm_data, pmc)); + DEFINE(PM_DATA_RAMC0, offsetof(struct at91_pm_data, ramc[0])); + DEFINE(PM_DATA_RAMC1, offsetof(struct at91_pm_data, ramc[1])); + DEFINE(PM_DATA_RAMC_PHY, offsetof(struct at91_pm_data, + ramc_phy)); + DEFINE(PM_DATA_MEMCTRL, offsetof(struct at91_pm_data, memctrl)); + DEFINE(PM_DATA_MODE, offsetof(struct at91_pm_data, mode)); + DEFINE(PM_DATA_SHDWC, offsetof(struct at91_pm_data, shdwc)); + DEFINE(PM_DATA_SFRBU, offsetof(struct at91_pm_data, sfrbu)); + DEFINE(PM_DATA_PMC_MCKR_OFFSET, offsetof(struct at91_pm_data, + pmc_mckr_offset)); + DEFINE(PM_DATA_PMC_VERSION, offsetof(struct at91_pm_data, + pmc_version)); + + return 0; +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-at91/sam9x60.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-at91/sam9x60.c index c9e7ea1193..d8c739d254 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-at91/sam9x60.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-at91/sam9x60.c @@ -1,34 +1,34 @@ -// SPDX-License-Identifier: GPL-2.0+ -/* - * Setup code for SAM9X60. - * - * Copyright (C) 2019 Microchip Technology Inc. and its subsidiaries - * - * Author: Claudiu Beznea - */ - -#include -#include - -#include -#include - -#include "generic.h" - -static void __init sam9x60_init(void) -{ - of_platform_default_populate(NULL, NULL, NULL); - - sam9x60_pm_init(); -} - -static const char *const sam9x60_dt_board_compat[] __initconst = { - "microchip,sam9x60", - NULL -}; - -DT_MACHINE_START(sam9x60_dt, "Microchip SAM9X60") - /* Maintainer: Microchip */ - .init_machine = sam9x60_init, - .dt_compat = sam9x60_dt_board_compat, -MACHINE_END +// SPDX-License-Identifier: GPL-2.0+ +/* + * Setup code for SAM9X60. + * + * Copyright (C) 2019 Microchip Technology Inc. and its subsidiaries + * + * Author: Claudiu Beznea + */ + +#include +#include + +#include +#include + +#include "generic.h" + +static void __init sam9x60_init(void) +{ + of_platform_default_populate(NULL, NULL, NULL); + + sam9x60_pm_init(); +} + +static const char *const sam9x60_dt_board_compat[] __initconst = { + "microchip,sam9x60", + NULL +}; + +DT_MACHINE_START(sam9x60_dt, "Microchip SAM9X60") + /* Maintainer: Microchip */ + .init_machine = sam9x60_init, + .dt_compat = sam9x60_dt_board_compat, +MACHINE_END diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-at91/sam9x7.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-at91/sam9x7.c index 83aecc9b8f..e1ff30b5b0 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-at91/sam9x7.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-at91/sam9x7.c @@ -1,33 +1,33 @@ -// SPDX-License-Identifier: GPL-2.0+ -/* - * Setup code for SAM9X7. - * - * Copyright (C) 2023 Microchip Technology Inc. and its subsidiaries - * - * Author: Varshini Rajendran - */ - -#include -#include - -#include - -#include "generic.h" - -static void __init sam9x7_init(void) -{ - of_platform_default_populate(NULL, NULL, NULL); - - sam9x7_pm_init(); -} - -static const char * const sam9x7_dt_board_compat[] __initconst = { - "microchip,sam9x7", - NULL -}; - -DT_MACHINE_START(sam9x7_dt, "Microchip SAM9X7") - /* Maintainer: Microchip */ - .init_machine = sam9x7_init, - .dt_compat = sam9x7_dt_board_compat, -MACHINE_END +// SPDX-License-Identifier: GPL-2.0+ +/* + * Setup code for SAM9X7. + * + * Copyright (C) 2023 Microchip Technology Inc. and its subsidiaries + * + * Author: Varshini Rajendran + */ + +#include +#include + +#include + +#include "generic.h" + +static void __init sam9x7_init(void) +{ + of_platform_default_populate(NULL, NULL, NULL); + + sam9x7_pm_init(); +} + +static const char * const sam9x7_dt_board_compat[] __initconst = { + "microchip,sam9x7", + NULL +}; + +DT_MACHINE_START(sam9x7_dt, "Microchip SAM9X7") + /* Maintainer: Microchip */ + .init_machine = sam9x7_init, + .dt_compat = sam9x7_dt_board_compat, +MACHINE_END diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-at91/sama7.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-at91/sama7.c index 243581ac18..bd43733ede 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-at91/sama7.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-at91/sama7.c @@ -1,33 +1,33 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Setup code for SAMA7 - * - * Copyright (C) 2021 Microchip Technology, Inc. and its subsidiaries - * - */ - -#include -#include - -#include -#include - -#include "generic.h" - -static void __init sama7_dt_device_init(void) -{ - of_platform_default_populate(NULL, NULL, NULL); - sama7_pm_init(); -} - -static const char *const sama7_dt_board_compat[] __initconst = { - "microchip,sama7", - NULL -}; - -DT_MACHINE_START(sama7_dt, "Microchip SAMA7") - /* Maintainer: Microchip */ - .init_machine = sama7_dt_device_init, - .dt_compat = sama7_dt_board_compat, -MACHINE_END - +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Setup code for SAMA7 + * + * Copyright (C) 2021 Microchip Technology, Inc. and its subsidiaries + * + */ + +#include +#include + +#include +#include + +#include "generic.h" + +static void __init sama7_dt_device_init(void) +{ + of_platform_default_populate(NULL, NULL, NULL); + sama7_pm_init(); +} + +static const char *const sama7_dt_board_compat[] __initconst = { + "microchip,sama7", + NULL +}; + +DT_MACHINE_START(sama7_dt, "Microchip SAMA7") + /* Maintainer: Microchip */ + .init_machine = sama7_dt_device_init, + .dt_compat = sama7_dt_board_compat, +MACHINE_END + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-bcm/brcmstb.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-bcm/brcmstb.c index d892f37e73..43bc98e388 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-bcm/brcmstb.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-bcm/brcmstb.c @@ -1,40 +1,40 @@ -// SPDX-License-Identifier: GPL-2.0-only -// Copyright (C) 2013-2014 Broadcom Corporation - -#include -#include - -#include -#include - -/* - * Storage for debug-macro.S's state. - * - * This must be in .data not .bss so that it gets initialized each time the - * kernel is loaded. The data is declared here rather than debug-macro.S so - * that multiple inclusions of debug-macro.S point at the same data. - */ -u32 brcmstb_uart_config[3] = { - /* Debug UART initialization required */ - 1, - /* Debug UART physical address */ - 0, - /* Debug UART virtual address */ - 0, -}; - -static void __init brcmstb_init_irq(void) -{ - irqchip_init(); -} - -static const char *const brcmstb_match[] __initconst = { - "brcm,bcm7445", - "brcm,brcmstb", - NULL -}; - -DT_MACHINE_START(BRCMSTB, "Broadcom STB (Flattened Device Tree)") - .dt_compat = brcmstb_match, - .init_irq = brcmstb_init_irq, -MACHINE_END +// SPDX-License-Identifier: GPL-2.0-only +// Copyright (C) 2013-2014 Broadcom Corporation + +#include +#include + +#include +#include + +/* + * Storage for debug-macro.S's state. + * + * This must be in .data not .bss so that it gets initialized each time the + * kernel is loaded. The data is declared here rather than debug-macro.S so + * that multiple inclusions of debug-macro.S point at the same data. + */ +u32 brcmstb_uart_config[3] = { + /* Debug UART initialization required */ + 1, + /* Debug UART physical address */ + 0, + /* Debug UART virtual address */ + 0, +}; + +static void __init brcmstb_init_irq(void) +{ + irqchip_init(); +} + +static const char *const brcmstb_match[] __initconst = { + "brcm,bcm7445", + "brcm,brcmstb", + NULL +}; + +DT_MACHINE_START(BRCMSTB, "Broadcom STB (Flattened Device Tree)") + .dt_compat = brcmstb_match, + .init_irq = brcmstb_init_irq, +MACHINE_END diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-bcm/kona_l2_cache.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-bcm/kona_l2_cache.c index 900146e455..457c66e1d7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-bcm/kona_l2_cache.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-bcm/kona_l2_cache.c @@ -1,38 +1,38 @@ -// SPDX-License-Identifier: GPL-2.0-only -// Copyright (C) 2012-2014 Broadcom Corporation - - -#include -#include -#include - -#include "bcm_kona_smc.h" -#include "kona_l2_cache.h" - -void __init kona_l2_cache_init(void) -{ - unsigned int result; - int ret; - - ret = bcm_kona_smc_init(); - if (ret) { - pr_info("Secure API not available (%d). Skipping L2 init.\n", - ret); - return; - } - - result = bcm_kona_smc(SSAPI_ENABLE_L2_CACHE, 0, 0, 0, 0); - if (result != SEC_ROM_RET_OK) { - pr_err("Secure Monitor call failed (%u)! Skipping L2 init.\n", - result); - return; - } - - /* - * The aux_val and aux_mask have no effect since L2 cache is already - * enabled. Pass 0s for aux_val and 1s for aux_mask for default value. - */ - ret = l2x0_of_init(0, ~0); - if (ret) - pr_err("Couldn't enable L2 cache: %d\n", ret); -} +// SPDX-License-Identifier: GPL-2.0-only +// Copyright (C) 2012-2014 Broadcom Corporation + + +#include +#include +#include + +#include "bcm_kona_smc.h" +#include "kona_l2_cache.h" + +void __init kona_l2_cache_init(void) +{ + unsigned int result; + int ret; + + ret = bcm_kona_smc_init(); + if (ret) { + pr_info("Secure API not available (%d). Skipping L2 init.\n", + ret); + return; + } + + result = bcm_kona_smc(SSAPI_ENABLE_L2_CACHE, 0, 0, 0, 0); + if (result != SEC_ROM_RET_OK) { + pr_err("Secure Monitor call failed (%u)! Skipping L2 init.\n", + result); + return; + } + + /* + * The aux_val and aux_mask have no effect since L2 cache is already + * enabled. Pass 0s for aux_val and 1s for aux_mask for default value. + */ + ret = l2x0_of_init(0, ~0); + if (ret) + pr_err("Couldn't enable L2 cache: %d\n", ret); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-berlin/Kconfig b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-berlin/Kconfig index 0fd6baf870..01861fa72c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-berlin/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-berlin/Kconfig @@ -1,41 +1,41 @@ -# SPDX-License-Identifier: GPL-2.0-only -menuconfig ARCH_BERLIN - bool "Marvell Berlin SoCs" - depends on ARCH_MULTI_V7 - select ARCH_HAS_RESET_CONTROLLER - select ARM_GIC - select DW_APB_ICTL - select DW_APB_TIMER_OF - select GENERIC_IRQ_CHIP - select GPIOLIB - select MFD_SYSCON - select PINCTRL - -if ARCH_BERLIN - -config MACH_BERLIN_BG2 - bool "Marvell Armada 1500 (BG2)" - select CACHE_L2X0 - select CPU_PJ4B - select HAVE_ARM_SCU if SMP - select HAVE_ARM_TWD if SMP - select PINCTRL_BERLIN_BG2 - -config MACH_BERLIN_BG2CD - bool "Marvell Armada 1500-mini (BG2CD)" - select ARM_ERRATA_754322 - select ARM_ERRATA_775420 - select ARM_GLOBAL_TIMER - select CACHE_L2X0 - select HAVE_ARM_SCU - select HAVE_ARM_TWD - select PINCTRL_BERLIN_BG2CD - -config MACH_BERLIN_BG2Q - bool "Marvell Armada 1500 Pro (BG2-Q)" - select CACHE_L2X0 - select HAVE_ARM_SCU if SMP - select HAVE_ARM_TWD if SMP - select PINCTRL_BERLIN_BG2Q - -endif +# SPDX-License-Identifier: GPL-2.0-only +menuconfig ARCH_BERLIN + bool "Marvell Berlin SoCs" + depends on ARCH_MULTI_V7 + select ARCH_HAS_RESET_CONTROLLER + select ARM_GIC + select DW_APB_ICTL + select DW_APB_TIMER_OF + select GENERIC_IRQ_CHIP + select GPIOLIB + select MFD_SYSCON + select PINCTRL + +if ARCH_BERLIN + +config MACH_BERLIN_BG2 + bool "Marvell Armada 1500 (BG2)" + select CACHE_L2X0 + select CPU_PJ4B + select HAVE_ARM_SCU if SMP + select HAVE_ARM_TWD if SMP + select PINCTRL_BERLIN_BG2 + +config MACH_BERLIN_BG2CD + bool "Marvell Armada 1500-mini (BG2CD)" + select ARM_ERRATA_754322 + select ARM_ERRATA_775420 + select ARM_GLOBAL_TIMER + select CACHE_L2X0 + select HAVE_ARM_SCU + select HAVE_ARM_TWD + select PINCTRL_BERLIN_BG2CD + +config MACH_BERLIN_BG2Q + bool "Marvell Armada 1500 Pro (BG2-Q)" + select CACHE_L2X0 + select HAVE_ARM_SCU if SMP + select HAVE_ARM_TWD if SMP + select PINCTRL_BERLIN_BG2Q + +endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-davinci/cputype.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-davinci/cputype.h index db33a2c44a..148a738391 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-davinci/cputype.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-davinci/cputype.h @@ -1,31 +1,31 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * DaVinci CPU type detection - * - * Author: Kevin Hilman, Deep Root Systems, LLC - * - * Defines the cpu_is_*() macros for runtime detection of DaVinci - * device type. In addition, if support for a given device is not - * compiled in to the kernel, the macros return 0 so that - * resulting code can be optimized out. - * - * 2009 (c) Deep Root Systems, LLC. - */ -#ifndef _ASM_ARCH_CPU_H -#define _ASM_ARCH_CPU_H - -#include "common.h" - -struct davinci_id { - u8 variant; /* JTAG ID bits 31:28 */ - u16 part_no; /* JTAG ID bits 27:12 */ - u16 manufacturer; /* JTAG ID bits 11:1 */ - u32 cpu_id; - char *name; -}; - -/* Can use lower 16 bits of cpu id for a variant when required */ -#define DAVINCI_CPU_ID_DA830 0x08300000 -#define DAVINCI_CPU_ID_DA850 0x08500000 - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * DaVinci CPU type detection + * + * Author: Kevin Hilman, Deep Root Systems, LLC + * + * Defines the cpu_is_*() macros for runtime detection of DaVinci + * device type. In addition, if support for a given device is not + * compiled in to the kernel, the macros return 0 so that + * resulting code can be optimized out. + * + * 2009 (c) Deep Root Systems, LLC. + */ +#ifndef _ASM_ARCH_CPU_H +#define _ASM_ARCH_CPU_H + +#include "common.h" + +struct davinci_id { + u8 variant; /* JTAG ID bits 31:28 */ + u16 part_no; /* JTAG ID bits 27:12 */ + u16 manufacturer; /* JTAG ID bits 11:1 */ + u32 cpu_id; + char *name; +}; + +/* Can use lower 16 bits of cpu id for a variant when required */ +#define DAVINCI_CPU_ID_DA830 0x08300000 +#define DAVINCI_CPU_ID_DA850 0x08500000 + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-davinci/da8xx-dt.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-davinci/da8xx-dt.c index 6aa39d4cc1..45763a9b37 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-davinci/da8xx-dt.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-davinci/da8xx-dt.c @@ -1,36 +1,36 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ - * - * Modified from mach-omap/omap2/board-generic.c - */ - -#include - -#include "common.h" -#include "da8xx.h" - -#ifdef CONFIG_ARCH_DAVINCI_DA850 - -static void __init da850_init_machine(void) -{ - davinci_pm_init(); - pdata_quirks_init(); -} - -static const char *const da850_boards_compat[] __initconst = { - "enbw,cmc", - "ti,da850-lcdk", - "ti,da850-evm", - "ti,da850", - NULL, -}; - -DT_MACHINE_START(DA850_DT, "Generic DA850/OMAP-L138/AM18x") - .map_io = da850_init, - .init_machine = da850_init_machine, - .dt_compat = da850_boards_compat, - .init_late = davinci_init_late, -MACHINE_END - -#endif +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ + * + * Modified from mach-omap/omap2/board-generic.c + */ + +#include + +#include "common.h" +#include "da8xx.h" + +#ifdef CONFIG_ARCH_DAVINCI_DA850 + +static void __init da850_init_machine(void) +{ + davinci_pm_init(); + pdata_quirks_init(); +} + +static const char *const da850_boards_compat[] __initconst = { + "enbw,cmc", + "ti,da850-lcdk", + "ti,da850-evm", + "ti,da850", + NULL, +}; + +DT_MACHINE_START(DA850_DT, "Generic DA850/OMAP-L138/AM18x") + .map_io = da850_init, + .init_machine = da850_init_machine, + .dt_compat = da850_boards_compat, + .init_late = davinci_init_late, +MACHINE_END + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-davinci/hardware.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-davinci/hardware.h index 7947a4cefd..7848b6a240 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-davinci/hardware.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-davinci/hardware.h @@ -1,31 +1,31 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Hardware definitions common to all DaVinci family processors - * - * Author: Kevin Hilman, Deep Root Systems, LLC - * - * 2007 (c) Deep Root Systems, LLC. - */ -#ifndef __ASM_ARCH_HARDWARE_H -#define __ASM_ARCH_HARDWARE_H - -/* - * Before you add anything to ths file: - * - * This header is for defines common to ALL DaVinci family chips. - * Anything that is chip specific should go in .h, - * and the chip/board init code should then explicitly include - * .h - */ -/* - * I/O mapping - */ -#define IO_PHYS UL(0x01c00000) -#define IO_OFFSET 0xfd000000 /* Virtual IO = 0xfec00000 */ -#define IO_SIZE 0x00400000 -#define IO_VIRT (IO_PHYS + IO_OFFSET) -#define io_v2p(va) ((va) - IO_OFFSET) -#define __IO_ADDRESS(x) ((x) + IO_OFFSET) -#define IO_ADDRESS(pa) IOMEM(__IO_ADDRESS(pa)) - -#endif /* __ASM_ARCH_HARDWARE_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Hardware definitions common to all DaVinci family processors + * + * Author: Kevin Hilman, Deep Root Systems, LLC + * + * 2007 (c) Deep Root Systems, LLC. + */ +#ifndef __ASM_ARCH_HARDWARE_H +#define __ASM_ARCH_HARDWARE_H + +/* + * Before you add anything to ths file: + * + * This header is for defines common to ALL DaVinci family chips. + * Anything that is chip specific should go in .h, + * and the chip/board init code should then explicitly include + * .h + */ +/* + * I/O mapping + */ +#define IO_PHYS UL(0x01c00000) +#define IO_OFFSET 0xfd000000 /* Virtual IO = 0xfec00000 */ +#define IO_SIZE 0x00400000 +#define IO_VIRT (IO_PHYS + IO_OFFSET) +#define io_v2p(va) ((va) - IO_OFFSET) +#define __IO_ADDRESS(x) ((x) + IO_OFFSET) +#define IO_ADDRESS(pa) IOMEM(__IO_ADDRESS(pa)) + +#endif /* __ASM_ARCH_HARDWARE_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-davinci/pm_domain.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-davinci/pm_domain.c index 5e5e959af8..6b21d5bd99 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-davinci/pm_domain.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-davinci/pm_domain.c @@ -1,37 +1,37 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Runtime PM support code for DaVinci - * - * Author: Kevin Hilman - * - * Copyright (C) 2012 Texas Instruments, Inc. - */ -#include -#include -#include -#include -#include - -static struct dev_pm_domain davinci_pm_domain = { - .ops = { - USE_PM_CLK_RUNTIME_OPS - USE_PLATFORM_PM_SLEEP_OPS - }, -}; - -static struct pm_clk_notifier_block platform_bus_notifier = { - .pm_domain = &davinci_pm_domain, - .con_ids = { "fck", "master", "slave", NULL }, -}; - -static int __init davinci_pm_runtime_init(void) -{ - if (of_have_populated_dt()) - return 0; - - /* Use pm_clk as fallback if we're not using genpd. */ - pm_clk_add_notifier(&platform_bus_type, &platform_bus_notifier); - - return 0; -} -core_initcall(davinci_pm_runtime_init); +// SPDX-License-Identifier: GPL-2.0-only +/* + * Runtime PM support code for DaVinci + * + * Author: Kevin Hilman + * + * Copyright (C) 2012 Texas Instruments, Inc. + */ +#include +#include +#include +#include +#include + +static struct dev_pm_domain davinci_pm_domain = { + .ops = { + USE_PM_CLK_RUNTIME_OPS + USE_PLATFORM_PM_SLEEP_OPS + }, +}; + +static struct pm_clk_notifier_block platform_bus_notifier = { + .pm_domain = &davinci_pm_domain, + .con_ids = { "fck", "master", "slave", NULL }, +}; + +static int __init davinci_pm_runtime_init(void) +{ + if (of_have_populated_dt()) + return 0; + + /* Use pm_clk as fallback if we're not using genpd. */ + pm_clk_add_notifier(&platform_bus_type, &platform_bus_notifier); + + return 0; +} +core_initcall(davinci_pm_runtime_init); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-davinci/sram.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-davinci/sram.h index ebefc38168..7ef8d1d3c3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-davinci/sram.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-davinci/sram.h @@ -1,27 +1,27 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * mach/sram.h - DaVinci simple SRAM allocator - * - * Copyright (C) 2009 David Brownell - */ -#ifndef __MACH_SRAM_H -#define __MACH_SRAM_H - -/* ARBITRARY: SRAM allocations are multiples of this 2^N size */ -#define SRAM_GRANULARITY 512 - -/* - * SRAM allocations return a CPU virtual address, or NULL on error. - * If a DMA address is requested and the SRAM supports DMA, its - * mapped address is also returned. - * - * Errors include SRAM memory not being available, and requesting - * DMA mapped SRAM on systems which don't allow that. - */ -extern void *sram_alloc(size_t len, dma_addr_t *dma); -extern void sram_free(void *addr, size_t len); - -/* Get the struct gen_pool * for use in platform data */ -extern struct gen_pool *sram_get_gen_pool(void); - -#endif /* __MACH_SRAM_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * mach/sram.h - DaVinci simple SRAM allocator + * + * Copyright (C) 2009 David Brownell + */ +#ifndef __MACH_SRAM_H +#define __MACH_SRAM_H + +/* ARBITRARY: SRAM allocations are multiples of this 2^N size */ +#define SRAM_GRANULARITY 512 + +/* + * SRAM allocations return a CPU virtual address, or NULL on error. + * If a DMA address is requested and the SRAM supports DMA, its + * mapped address is also returned. + * + * Errors include SRAM memory not being available, and requesting + * DMA mapped SRAM on systems which don't allow that. + */ +extern void *sram_alloc(size_t len, dma_addr_t *dma); +extern void sram_free(void *addr, size_t len); + +/* Get the struct gen_pool * for use in platform data */ +extern struct gen_pool *sram_get_gen_pool(void); + +#endif /* __MACH_SRAM_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-exynos/headsmp.S b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-exynos/headsmp.S index cec3efd785..0ac2cb9a73 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-exynos/headsmp.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-exynos/headsmp.S @@ -1,39 +1,39 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Cloned from linux/arch/arm/mach-realview/headsmp.S - * - * Copyright (c) 2003 ARM Limited - * All Rights Reserved - */ -#include -#include - -#include - -/* - * exynos4 specific entry point for secondary CPUs. This provides - * a "holding pen" into which all secondary cores are held until we're - * ready for them to initialise. - */ -ENTRY(exynos4_secondary_startup) -ARM_BE8(setend be) - mrc p15, 0, r0, c0, c0, 5 - and r0, r0, #15 - adr r4, 1f - ldmia r4, {r5, r6} - sub r4, r4, r5 - add r6, r6, r4 -pen: ldr r7, [r6] - cmp r7, r0 - bne pen - - /* - * we've been released from the holding pen: secondary_stack - * should now contain the SVC stack for this core - */ - b secondary_startup -ENDPROC(exynos4_secondary_startup) - - .align 2 -1: .long . - .long exynos_pen_release +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Cloned from linux/arch/arm/mach-realview/headsmp.S + * + * Copyright (c) 2003 ARM Limited + * All Rights Reserved + */ +#include +#include + +#include + +/* + * exynos4 specific entry point for secondary CPUs. This provides + * a "holding pen" into which all secondary cores are held until we're + * ready for them to initialise. + */ +ENTRY(exynos4_secondary_startup) +ARM_BE8(setend be) + mrc p15, 0, r0, c0, c0, 5 + and r0, r0, #15 + adr r4, 1f + ldmia r4, {r5, r6} + sub r4, r4, r5 + add r6, r6, r4 +pen: ldr r7, [r6] + cmp r7, r0 + bne pen + + /* + * we've been released from the holding pen: secondary_stack + * should now contain the SVC stack for this core + */ + b secondary_startup +ENDPROC(exynos4_secondary_startup) + + .align 2 +1: .long . + .long exynos_pen_release diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-footbridge/include/mach/memory.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-footbridge/include/mach/memory.h index 4dd314fd63..9516877667 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-footbridge/include/mach/memory.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-footbridge/include/mach/memory.h @@ -1,26 +1,26 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * arch/arm/mach-footbridge/include/mach/memory.h - * - * Copyright (C) 1996-1999 Russell King. - * - * Changelog: - * 20-Oct-1996 RMK Created - * 31-Dec-1997 RMK Fixed definitions to reduce warnings. - * 17-May-1998 DAG Added __virt_to_bus and __bus_to_virt functions. - * 21-Nov-1998 RMK Changed __virt_to_bus and __bus_to_virt to macros. - * 21-Mar-1999 RMK Added PAGE_OFFSET for co285 architecture. - * Renamed to memory.h - * Moved PAGE_OFFSET and TASK_SIZE here - */ -#ifndef __ASM_ARCH_MEMORY_H -#define __ASM_ARCH_MEMORY_H - -/* - * Cache flushing area. - */ -#define FLUSH_BASE 0xf9000000 - -#define FLUSH_BASE_PHYS 0x50000000 - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * arch/arm/mach-footbridge/include/mach/memory.h + * + * Copyright (C) 1996-1999 Russell King. + * + * Changelog: + * 20-Oct-1996 RMK Created + * 31-Dec-1997 RMK Fixed definitions to reduce warnings. + * 17-May-1998 DAG Added __virt_to_bus and __bus_to_virt functions. + * 21-Nov-1998 RMK Changed __virt_to_bus and __bus_to_virt to macros. + * 21-Mar-1999 RMK Added PAGE_OFFSET for co285 architecture. + * Renamed to memory.h + * Moved PAGE_OFFSET and TASK_SIZE here + */ +#ifndef __ASM_ARCH_MEMORY_H +#define __ASM_ARCH_MEMORY_H + +/* + * Cache flushing area. + */ +#define FLUSH_BASE 0xf9000000 + +#define FLUSH_BASE_PHYS 0x50000000 + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-footbridge/include/mach/uncompress.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-footbridge/include/mach/uncompress.h index 3a541150ca..28b577e29d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-footbridge/include/mach/uncompress.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-footbridge/include/mach/uncompress.h @@ -1,34 +1,34 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * arch/arm/mach-footbridge/include/mach/uncompress.h - * - * Copyright (C) 1996-1999 Russell King - */ -#include - -/* - * Note! This could cause problems on the NetWinder - */ -#define DC21285_BASE ((volatile unsigned int *)0x42000160) -#define SER0_BASE ((volatile unsigned char *)0x7c0003f8) - -static inline void putc(char c) -{ - if (machine_is_netwinder()) { - while ((SER0_BASE[5] & 0x60) != 0x60) - barrier(); - SER0_BASE[0] = c; - } else { - while (DC21285_BASE[6] & 8); - DC21285_BASE[0] = c; - } -} - -static inline void flush(void) -{ -} - -/* - * nothing to do - */ -#define arch_decomp_setup() +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * arch/arm/mach-footbridge/include/mach/uncompress.h + * + * Copyright (C) 1996-1999 Russell King + */ +#include + +/* + * Note! This could cause problems on the NetWinder + */ +#define DC21285_BASE ((volatile unsigned int *)0x42000160) +#define SER0_BASE ((volatile unsigned char *)0x7c0003f8) + +static inline void putc(char c) +{ + if (machine_is_netwinder()) { + while ((SER0_BASE[5] & 0x60) != 0x60) + barrier(); + SER0_BASE[0] = c; + } else { + while (DC21285_BASE[6] & 8); + DC21285_BASE[0] = c; + } +} + +static inline void flush(void) +{ +} + +/* + * nothing to do + */ +#define arch_decomp_setup() diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-footbridge/isa-timer.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-footbridge/isa-timer.c index 31043045a9..723e3eae99 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-footbridge/isa-timer.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-footbridge/isa-timer.c @@ -1,36 +1,36 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * linux/arch/arm/mach-footbridge/isa-timer.c - * - * Copyright (C) 1998 Russell King. - * Copyright (C) 1998 Phil Blundell - */ -#include -#include -#include -#include -#include -#include -#include - -#include -#include - -#include "common.h" - -static irqreturn_t pit_timer_interrupt(int irq, void *dev_id) -{ - struct clock_event_device *ce = dev_id; - ce->event_handler(ce); - return IRQ_HANDLED; -} - -void __init isa_timer_init(void) -{ - clocksource_i8253_init(); - - if (request_irq(i8253_clockevent.irq, pit_timer_interrupt, - IRQF_TIMER | IRQF_IRQPOLL, "pit", &i8253_clockevent)) - pr_err("Failed to request irq %d(pit)\n", i8253_clockevent.irq); - clockevent_i8253_init(false); -} +// SPDX-License-Identifier: GPL-2.0 +/* + * linux/arch/arm/mach-footbridge/isa-timer.c + * + * Copyright (C) 1998 Russell King. + * Copyright (C) 1998 Phil Blundell + */ +#include +#include +#include +#include +#include +#include +#include + +#include +#include + +#include "common.h" + +static irqreturn_t pit_timer_interrupt(int irq, void *dev_id) +{ + struct clock_event_device *ce = dev_id; + ce->event_handler(ce); + return IRQ_HANDLED; +} + +void __init isa_timer_init(void) +{ + clocksource_i8253_init(); + + if (request_irq(i8253_clockevent.irq, pit_timer_interrupt, + IRQF_TIMER | IRQF_IRQPOLL, "pit", &i8253_clockevent)) + pr_err("Failed to request irq %d(pit)\n", i8253_clockevent.irq); + clockevent_i8253_init(false); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-hpe/Kconfig b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-hpe/Kconfig index 48ff169060..3372bbf38d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-hpe/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-hpe/Kconfig @@ -1,23 +1,23 @@ -menuconfig ARCH_HPE - bool "HPE SoC support" - depends on ARCH_MULTI_V7 - help - This enables support for HPE ARM based BMC chips. -if ARCH_HPE - -config ARCH_HPE_GXP - bool "HPE GXP SoC" - depends on ARCH_MULTI_V7 - select ARM_VIC - select GENERIC_IRQ_CHIP - select CLKSRC_MMIO - help - HPE GXP is the name of the HPE Soc. This SoC is used to implement many - BMC features at HPE. It supports ARMv7 architecture based on the Cortex - A9 core. It is capable of using an AXI bus to which a memory controller - is attached. It has multiple SPI interfaces to connect boot flash and - BIOS flash. It uses a 10/100/1000 MAC for network connectivity. It - has multiple i2c engines to drive connectivity with a host - infrastructure. - -endif +menuconfig ARCH_HPE + bool "HPE SoC support" + depends on ARCH_MULTI_V7 + help + This enables support for HPE ARM based BMC chips. +if ARCH_HPE + +config ARCH_HPE_GXP + bool "HPE GXP SoC" + depends on ARCH_MULTI_V7 + select ARM_VIC + select GENERIC_IRQ_CHIP + select CLKSRC_MMIO + help + HPE GXP is the name of the HPE Soc. This SoC is used to implement many + BMC features at HPE. It supports ARMv7 architecture based on the Cortex + A9 core. It is capable of using an AXI bus to which a memory controller + is attached. It has multiple SPI interfaces to connect boot flash and + BIOS flash. It uses a 10/100/1000 MAC for network connectivity. It + has multiple i2c engines to drive connectivity with a host + infrastructure. + +endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/cpu-imx35.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/cpu-imx35.c index 519c7fabdd..1fe75b39c2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/cpu-imx35.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/cpu-imx35.c @@ -1,47 +1,47 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * MX35 CPU type detection - * - * Copyright (c) 2009 Daniel Mack - */ -#include -#include -#include - -#include "hardware.h" -#include "iim.h" - -static int mx35_cpu_rev = -1; - -static int mx35_read_cpu_rev(void) -{ - void __iomem *iim_base; - struct device_node *np; - u32 rev; - - np = of_find_compatible_node(NULL, NULL, "fsl,imx35-iim"); - iim_base = of_iomap(np, 0); - of_node_put(np); - BUG_ON(!iim_base); - - rev = imx_readl(iim_base + MXC_IIMSREV); - switch (rev) { - case 0x00: - return IMX_CHIP_REVISION_1_0; - case 0x10: - return IMX_CHIP_REVISION_2_0; - case 0x11: - return IMX_CHIP_REVISION_2_1; - default: - return IMX_CHIP_REVISION_UNKNOWN; - } -} - -int mx35_revision(void) -{ - if (mx35_cpu_rev == -1) - mx35_cpu_rev = mx35_read_cpu_rev(); - - return mx35_cpu_rev; -} -EXPORT_SYMBOL(mx35_revision); +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * MX35 CPU type detection + * + * Copyright (c) 2009 Daniel Mack + */ +#include +#include +#include + +#include "hardware.h" +#include "iim.h" + +static int mx35_cpu_rev = -1; + +static int mx35_read_cpu_rev(void) +{ + void __iomem *iim_base; + struct device_node *np; + u32 rev; + + np = of_find_compatible_node(NULL, NULL, "fsl,imx35-iim"); + iim_base = of_iomap(np, 0); + of_node_put(np); + BUG_ON(!iim_base); + + rev = imx_readl(iim_base + MXC_IIMSREV); + switch (rev) { + case 0x00: + return IMX_CHIP_REVISION_1_0; + case 0x10: + return IMX_CHIP_REVISION_2_0; + case 0x11: + return IMX_CHIP_REVISION_2_1; + default: + return IMX_CHIP_REVISION_UNKNOWN; + } +} + +int mx35_revision(void) +{ + if (mx35_cpu_rev == -1) + mx35_cpu_rev = mx35_read_cpu_rev(); + + return mx35_cpu_rev; +} +EXPORT_SYMBOL(mx35_revision); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/cpuidle-imx5.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/cpuidle-imx5.c index ca718fe606..5ad9f2f533 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/cpuidle-imx5.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/cpuidle-imx5.c @@ -1,34 +1,34 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2012 Freescale Semiconductor, Inc. - */ - -#include -#include -#include -#include "cpuidle.h" - -static __cpuidle int imx5_cpuidle_enter(struct cpuidle_device *dev, - struct cpuidle_driver *drv, int index) -{ - arm_pm_idle(); - return index; -} - -static struct cpuidle_driver imx5_cpuidle_driver = { - .name = "imx5_cpuidle", - .owner = THIS_MODULE, - .states[0] = { - .enter = imx5_cpuidle_enter, - .exit_latency = 2, - .target_residency = 1, - .name = "IMX5 SRPG", - .desc = "CPU state retained,powered off", - }, - .state_count = 1, -}; - -int __init imx5_cpuidle_init(void) -{ - return cpuidle_register(&imx5_cpuidle_driver, NULL); -} +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2012 Freescale Semiconductor, Inc. + */ + +#include +#include +#include +#include "cpuidle.h" + +static __cpuidle int imx5_cpuidle_enter(struct cpuidle_device *dev, + struct cpuidle_driver *drv, int index) +{ + arm_pm_idle(); + return index; +} + +static struct cpuidle_driver imx5_cpuidle_driver = { + .name = "imx5_cpuidle", + .owner = THIS_MODULE, + .states[0] = { + .enter = imx5_cpuidle_enter, + .exit_latency = 2, + .target_residency = 1, + .name = "IMX5 SRPG", + .desc = "CPU state retained,powered off", + }, + .state_count = 1, +}; + +int __init imx5_cpuidle_init(void) +{ + return cpuidle_register(&imx5_cpuidle_driver, NULL); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/cpuidle.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/cpuidle.h index b3026842b7..ce552c096c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/cpuidle.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/cpuidle.h @@ -1,34 +1,34 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * Copyright 2012 Freescale Semiconductor, Inc. - * Copyright 2012 Linaro Ltd. - */ - -#ifdef CONFIG_CPU_IDLE -extern int imx5_cpuidle_init(void); -extern int imx6q_cpuidle_init(void); -extern int imx6sl_cpuidle_init(void); -extern int imx6sx_cpuidle_init(void); -extern int imx7ulp_cpuidle_init(void); -#else -static inline int imx5_cpuidle_init(void) -{ - return 0; -} -static inline int imx6q_cpuidle_init(void) -{ - return 0; -} -static inline int imx6sl_cpuidle_init(void) -{ - return 0; -} -static inline int imx6sx_cpuidle_init(void) -{ - return 0; -} -static inline int imx7ulp_cpuidle_init(void) -{ - return 0; -} -#endif +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * Copyright 2012 Freescale Semiconductor, Inc. + * Copyright 2012 Linaro Ltd. + */ + +#ifdef CONFIG_CPU_IDLE +extern int imx5_cpuidle_init(void); +extern int imx6q_cpuidle_init(void); +extern int imx6sl_cpuidle_init(void); +extern int imx6sx_cpuidle_init(void); +extern int imx7ulp_cpuidle_init(void); +#else +static inline int imx5_cpuidle_init(void) +{ + return 0; +} +static inline int imx6q_cpuidle_init(void) +{ + return 0; +} +static inline int imx6sl_cpuidle_init(void) +{ + return 0; +} +static inline int imx6sx_cpuidle_init(void) +{ + return 0; +} +static inline int imx7ulp_cpuidle_init(void) +{ + return 0; +} +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/headsmp.S b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/headsmp.S index 9d0a8bfbf8..5f9c7b48ae 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/headsmp.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/headsmp.S @@ -1,37 +1,37 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - */ - -#include -#include -#include - -.arch armv7-a - -diag_reg_offset: - .word g_diag_reg - . - - .macro set_diag_reg - adr r0, diag_reg_offset - ldr r1, [r0] - add r1, r1, r0 @ r1 = physical &g_diag_reg - ldr r0, [r1] - mcr p15, 0, r0, c15, c0, 1 @ write diagnostic register - .endm - -ENTRY(v7_secondary_startup) -ARM_BE8(setend be) @ go BE8 if entered LE - mrc p15, 0, r0, c0, c0, 0 - lsl r0, r0, #16 - lsr r0, r0, #20 - /* 0xc07 is cortex A7's ID */ - mov r1, #0xc00 - orr r1, #0x7 - cmp r0, r1 - beq secondary_startup - - set_diag_reg - b secondary_startup -ENDPROC(v7_secondary_startup) +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * Copyright 2011 Freescale Semiconductor, Inc. + * Copyright 2011 Linaro Ltd. + */ + +#include +#include +#include + +.arch armv7-a + +diag_reg_offset: + .word g_diag_reg - . + + .macro set_diag_reg + adr r0, diag_reg_offset + ldr r1, [r0] + add r1, r1, r0 @ r1 = physical &g_diag_reg + ldr r0, [r1] + mcr p15, 0, r0, c15, c0, 1 @ write diagnostic register + .endm + +ENTRY(v7_secondary_startup) +ARM_BE8(setend be) @ go BE8 if entered LE + mrc p15, 0, r0, c0, c0, 0 + lsl r0, r0, #16 + lsr r0, r0, #20 + /* 0xc07 is cortex A7's ID */ + mov r1, #0xc00 + orr r1, #0x7 + cmp r0, r1 + beq secondary_startup + + set_diag_reg + b secondary_startup +ENDPROC(v7_secondary_startup) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/mach-imx25.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/mach-imx25.c index 358b8f4091..114df312a9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/mach-imx25.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/mach-imx25.c @@ -1,30 +1,30 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Copyright 2012 Sascha Hauer, Pengutronix - */ - -#include -#include "common.h" -#include "hardware.h" - -static void __init imx25_init_early(void) -{ - mxc_set_cpu_type(MXC_CPU_MX25); -} - -static void __init imx25_dt_init(void) -{ - imx_aips_allow_unprivileged_access("fsl,imx25-aips"); -} - -static const char * const imx25_dt_board_compat[] __initconst = { - "fsl,imx25", - NULL -}; - -DT_MACHINE_START(IMX25_DT, "Freescale i.MX25 (Device Tree Support)") - .init_early = imx25_init_early, - .init_machine = imx25_dt_init, - .init_late = imx25_pm_init, - .dt_compat = imx25_dt_board_compat, -MACHINE_END +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Copyright 2012 Sascha Hauer, Pengutronix + */ + +#include +#include "common.h" +#include "hardware.h" + +static void __init imx25_init_early(void) +{ + mxc_set_cpu_type(MXC_CPU_MX25); +} + +static void __init imx25_dt_init(void) +{ + imx_aips_allow_unprivileged_access("fsl,imx25-aips"); +} + +static const char * const imx25_dt_board_compat[] __initconst = { + "fsl,imx25", + NULL +}; + +DT_MACHINE_START(IMX25_DT, "Freescale i.MX25 (Device Tree Support)") + .init_early = imx25_init_early, + .init_machine = imx25_dt_init, + .init_late = imx25_pm_init, + .dt_compat = imx25_dt_board_compat, +MACHINE_END diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/mach-imx53.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/mach-imx53.c index af67d9ae38..6622406e00 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/mach-imx53.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/mach-imx53.c @@ -1,39 +1,39 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Copyright 2011 Freescale Semiconductor, Inc. All Rights Reserved. - * Copyright 2011 Linaro Ltd. - */ - -#include - -#include "common.h" -#include "hardware.h" - -static void __init imx53_init_early(void) -{ - mxc_set_cpu_type(MXC_CPU_MX53); -} - -static void __init imx53_dt_init(void) -{ - imx_src_init(); - imx5_pmu_init(); - imx_aips_allow_unprivileged_access("fsl,imx53-aipstz"); -} - -static void __init imx53_init_late(void) -{ - imx53_pm_init(); -} - -static const char * const imx53_dt_board_compat[] __initconst = { - "fsl,imx53", - NULL -}; - -DT_MACHINE_START(IMX53_DT, "Freescale i.MX53 (Device Tree Support)") - .init_early = imx53_init_early, - .init_machine = imx53_dt_init, - .init_late = imx53_init_late, - .dt_compat = imx53_dt_board_compat, -MACHINE_END +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Copyright 2011 Freescale Semiconductor, Inc. All Rights Reserved. + * Copyright 2011 Linaro Ltd. + */ + +#include + +#include "common.h" +#include "hardware.h" + +static void __init imx53_init_early(void) +{ + mxc_set_cpu_type(MXC_CPU_MX53); +} + +static void __init imx53_dt_init(void) +{ + imx_src_init(); + imx5_pmu_init(); + imx_aips_allow_unprivileged_access("fsl,imx53-aipstz"); +} + +static void __init imx53_init_late(void) +{ + imx53_pm_init(); +} + +static const char * const imx53_dt_board_compat[] __initconst = { + "fsl,imx53", + NULL +}; + +DT_MACHINE_START(IMX53_DT, "Freescale i.MX53 (Device Tree Support)") + .init_early = imx53_init_early, + .init_machine = imx53_dt_init, + .init_late = imx53_init_late, + .dt_compat = imx53_dt_board_compat, +MACHINE_END diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/mx27.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/mx27.h index 4b81db7431..241c04d706 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/mx27.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/mx27.h @@ -1,25 +1,25 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * Copyright 2004-2007 Freescale Semiconductor, Inc. All Rights Reserved. - * Copyright 2008 Juergen Beisert, kernel@pengutronix.de - * - * This contains i.MX27-specific hardware definitions. For those - * hardware pieces that are common between i.MX21 and i.MX27, have a - * look at mx2x.h. - */ - -#ifndef __MACH_MX27_H__ -#define __MACH_MX27_H__ - -#define MX27_AIPI_BASE_ADDR 0x10000000 -#define MX27_AIPI_SIZE SZ_1M - -#define MX27_SAHB1_BASE_ADDR 0x80000000 -#define MX27_SAHB1_SIZE SZ_1M - -#define MX27_X_MEMC_BASE_ADDR 0xd8000000 -#define MX27_X_MEMC_SIZE SZ_1M - -#define MX27_IO_P2V(x) IMX_IO_P2V(x) - -#endif /* ifndef __MACH_MX27_H__ */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * Copyright 2004-2007 Freescale Semiconductor, Inc. All Rights Reserved. + * Copyright 2008 Juergen Beisert, kernel@pengutronix.de + * + * This contains i.MX27-specific hardware definitions. For those + * hardware pieces that are common between i.MX21 and i.MX27, have a + * look at mx2x.h. + */ + +#ifndef __MACH_MX27_H__ +#define __MACH_MX27_H__ + +#define MX27_AIPI_BASE_ADDR 0x10000000 +#define MX27_AIPI_SIZE SZ_1M + +#define MX27_SAHB1_BASE_ADDR 0x80000000 +#define MX27_SAHB1_SIZE SZ_1M + +#define MX27_X_MEMC_BASE_ADDR 0xd8000000 +#define MX27_X_MEMC_SIZE SZ_1M + +#define MX27_IO_P2V(x) IMX_IO_P2V(x) + +#endif /* ifndef __MACH_MX27_H__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-lpc32xx/common.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-lpc32xx/common.h index dd45852387..32f0ad2178 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-lpc32xx/common.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-lpc32xx/common.h @@ -1,32 +1,32 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * arch/arm/mach-lpc32xx/common.h - * - * Author: Kevin Wells - * - * Copyright (C) 2009-2010 NXP Semiconductors - */ - -#ifndef __LPC32XX_COMMON_H -#define __LPC32XX_COMMON_H - -#include - -/* - * Other arch specific structures and functions - */ -extern void __init lpc32xx_map_io(void); -extern void __init lpc32xx_serial_init(void); - -/* - * Returns the LPC32xx unique 128-bit chip ID - */ -extern void lpc32xx_get_uid(u32 devid[4]); - -/* - * Pointers used for sizing and copying suspend function data - */ -extern int lpc32xx_sys_suspend(void); -extern int lpc32xx_sys_suspend_sz; - -#endif +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * arch/arm/mach-lpc32xx/common.h + * + * Author: Kevin Wells + * + * Copyright (C) 2009-2010 NXP Semiconductors + */ + +#ifndef __LPC32XX_COMMON_H +#define __LPC32XX_COMMON_H + +#include + +/* + * Other arch specific structures and functions + */ +extern void __init lpc32xx_map_io(void); +extern void __init lpc32xx_serial_init(void); + +/* + * Returns the LPC32xx unique 128-bit chip ID + */ +extern void lpc32xx_get_uid(u32 devid[4]); + +/* + * Pointers used for sizing and copying suspend function data + */ +extern int lpc32xx_sys_suspend(void); +extern int lpc32xx_sys_suspend_sz; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mediatek/Kconfig b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mediatek/Kconfig index 81f8ea6c54..35a3430c79 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mediatek/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mediatek/Kconfig @@ -1,43 +1,43 @@ -# SPDX-License-Identifier: GPL-2.0-only -menuconfig ARCH_MEDIATEK - bool "MediaTek SoC Support" - depends on ARCH_MULTI_V7 - select ARM_GIC - select PINCTRL - select MTK_TIMER - select MFD_SYSCON - help - Support for Mediatek MT65xx & MT81xx SoCs - -if ARCH_MEDIATEK - -config MACH_MT2701 - bool "MediaTek MT2701 SoCs support" - default ARCH_MEDIATEK - -config MACH_MT6589 - bool "MediaTek MT6589 SoCs support" - default ARCH_MEDIATEK - -config MACH_MT6592 - bool "MediaTek MT6592 SoCs support" - default ARCH_MEDIATEK - -config MACH_MT7623 - bool "MediaTek MT7623 SoCs support" - default ARCH_MEDIATEK - -config MACH_MT7629 - bool "MediaTek MT7629 SoCs support" - default ARCH_MEDIATEK - select HAVE_ARM_ARCH_TIMER - -config MACH_MT8127 - bool "MediaTek MT8127 SoCs support" - default ARCH_MEDIATEK - -config MACH_MT8135 - bool "MediaTek MT8135 SoCs support" - default ARCH_MEDIATEK - -endif +# SPDX-License-Identifier: GPL-2.0-only +menuconfig ARCH_MEDIATEK + bool "MediaTek SoC Support" + depends on ARCH_MULTI_V7 + select ARM_GIC + select PINCTRL + select MTK_TIMER + select MFD_SYSCON + help + Support for Mediatek MT65xx & MT81xx SoCs + +if ARCH_MEDIATEK + +config MACH_MT2701 + bool "MediaTek MT2701 SoCs support" + default ARCH_MEDIATEK + +config MACH_MT6589 + bool "MediaTek MT6589 SoCs support" + default ARCH_MEDIATEK + +config MACH_MT6592 + bool "MediaTek MT6592 SoCs support" + default ARCH_MEDIATEK + +config MACH_MT7623 + bool "MediaTek MT7623 SoCs support" + default ARCH_MEDIATEK + +config MACH_MT7629 + bool "MediaTek MT7629 SoCs support" + default ARCH_MEDIATEK + select HAVE_ARM_ARCH_TIMER + +config MACH_MT8127 + bool "MediaTek MT8127 SoCs support" + default ARCH_MEDIATEK + +config MACH_MT8135 + bool "MediaTek MT8135 SoCs support" + default ARCH_MEDIATEK + +endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mmp/mmp2-dt.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mmp/mmp2-dt.c index 5a8aab26e5..e5ddc32765 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mmp/mmp2-dt.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mmp/mmp2-dt.c @@ -1,34 +1,34 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * linux/arch/arm/mach-mmp/mmp2-dt.c - * - * Copyright (C) 2012 Marvell Technology Group Ltd. - * Author: Haojian Zhuang - */ - -#include -#include -#include -#include - -#include "common.h" - -static void __init mmp_init_time(void) -{ -#ifdef CONFIG_CACHE_TAUROS2 - tauros2_init(0); -#endif - of_clk_init(NULL); - timer_probe(); -} - -static const char *const mmp2_dt_board_compat[] __initconst = { - "mrvl,mmp2", - NULL, -}; - -DT_MACHINE_START(MMP2_DT, "Marvell MMP2 (Device Tree Support)") - .map_io = mmp2_map_io, - .init_time = mmp_init_time, - .dt_compat = mmp2_dt_board_compat, -MACHINE_END +// SPDX-License-Identifier: GPL-2.0-only +/* + * linux/arch/arm/mach-mmp/mmp2-dt.c + * + * Copyright (C) 2012 Marvell Technology Group Ltd. + * Author: Haojian Zhuang + */ + +#include +#include +#include +#include + +#include "common.h" + +static void __init mmp_init_time(void) +{ +#ifdef CONFIG_CACHE_TAUROS2 + tauros2_init(0); +#endif + of_clk_init(NULL); + timer_probe(); +} + +static const char *const mmp2_dt_board_compat[] __initconst = { + "mrvl,mmp2", + NULL, +}; + +DT_MACHINE_START(MMP2_DT, "Marvell MMP2 (Device Tree Support)") + .map_io = mmp2_map_io, + .init_time = mmp_init_time, + .dt_compat = mmp2_dt_board_compat, +MACHINE_END diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mmp/platsmp.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mmp/platsmp.c index 125d22967d..c99405469b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mmp/platsmp.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mmp/platsmp.c @@ -1,32 +1,32 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Copyright (C) 2019 Lubomir Rintel - */ -#include -#include -#include -#include "addr-map.h" - -#define SW_BRANCH_VIRT_ADDR CIU_REG(0x24) - -static int mmp3_boot_secondary(unsigned int cpu, struct task_struct *idle) -{ - /* - * Apparently, the boot ROM on the second core spins on this - * register becoming non-zero and then jumps to the address written - * there. No IPIs involved. - */ - __raw_writel(__pa_symbol(secondary_startup), SW_BRANCH_VIRT_ADDR); - return 0; -} - -static void mmp3_smp_prepare_cpus(unsigned int max_cpus) -{ - scu_enable(SCU_VIRT_BASE); -} - -static const struct smp_operations mmp3_smp_ops __initconst = { - .smp_prepare_cpus = mmp3_smp_prepare_cpus, - .smp_boot_secondary = mmp3_boot_secondary, -}; -CPU_METHOD_OF_DECLARE(mmp3_smp, "marvell,mmp3-smp", &mmp3_smp_ops); +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Copyright (C) 2019 Lubomir Rintel + */ +#include +#include +#include +#include "addr-map.h" + +#define SW_BRANCH_VIRT_ADDR CIU_REG(0x24) + +static int mmp3_boot_secondary(unsigned int cpu, struct task_struct *idle) +{ + /* + * Apparently, the boot ROM on the second core spins on this + * register becoming non-zero and then jumps to the address written + * there. No IPIs involved. + */ + __raw_writel(__pa_symbol(secondary_startup), SW_BRANCH_VIRT_ADDR); + return 0; +} + +static void mmp3_smp_prepare_cpus(unsigned int max_cpus) +{ + scu_enable(SCU_VIRT_BASE); +} + +static const struct smp_operations mmp3_smp_ops __initconst = { + .smp_prepare_cpus = mmp3_smp_prepare_cpus, + .smp_boot_secondary = mmp3_boot_secondary, +}; +CPU_METHOD_OF_DECLARE(mmp3_smp, "marvell,mmp3-smp", &mmp3_smp_ops); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mv78xx0/bridge-regs.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mv78xx0/bridge-regs.h index fe082efbe1..d57ac967c4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mv78xx0/bridge-regs.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mv78xx0/bridge-regs.h @@ -1,31 +1,31 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -#ifndef __ASM_ARCH_BRIDGE_REGS_H -#define __ASM_ARCH_BRIDGE_REGS_H - -#include "mv78xx0.h" - -#define CPU_CONTROL (BRIDGE_VIRT_BASE + 0x0104) -#define L2_WRITETHROUGH 0x00020000 - -#define RSTOUTn_MASK (BRIDGE_VIRT_BASE + 0x0108) -#define RSTOUTn_MASK_PHYS (BRIDGE_PHYS_BASE + 0x0108) -#define SOFT_RESET_OUT_EN 0x00000004 - -#define SYSTEM_SOFT_RESET (BRIDGE_VIRT_BASE + 0x010c) -#define SOFT_RESET 0x00000001 - -#define BRIDGE_INT_TIMER1_CLR (~0x0004) - -#define IRQ_VIRT_BASE (BRIDGE_VIRT_BASE + 0x0200) -#define IRQ_CAUSE_ERR_OFF 0x0000 -#define IRQ_CAUSE_LOW_OFF 0x0004 -#define IRQ_CAUSE_HIGH_OFF 0x0008 -#define IRQ_MASK_ERR_OFF 0x000c -#define IRQ_MASK_LOW_OFF 0x0010 -#define IRQ_MASK_HIGH_OFF 0x0014 - -#define TIMER_VIRT_BASE (BRIDGE_VIRT_BASE + 0x0300) -#define TIMER_PHYS_BASE (BRIDGE_PHYS_BASE + 0x0300) - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ + +#ifndef __ASM_ARCH_BRIDGE_REGS_H +#define __ASM_ARCH_BRIDGE_REGS_H + +#include "mv78xx0.h" + +#define CPU_CONTROL (BRIDGE_VIRT_BASE + 0x0104) +#define L2_WRITETHROUGH 0x00020000 + +#define RSTOUTn_MASK (BRIDGE_VIRT_BASE + 0x0108) +#define RSTOUTn_MASK_PHYS (BRIDGE_PHYS_BASE + 0x0108) +#define SOFT_RESET_OUT_EN 0x00000004 + +#define SYSTEM_SOFT_RESET (BRIDGE_VIRT_BASE + 0x010c) +#define SOFT_RESET 0x00000001 + +#define BRIDGE_INT_TIMER1_CLR (~0x0004) + +#define IRQ_VIRT_BASE (BRIDGE_VIRT_BASE + 0x0200) +#define IRQ_CAUSE_ERR_OFF 0x0000 +#define IRQ_CAUSE_LOW_OFF 0x0004 +#define IRQ_CAUSE_HIGH_OFF 0x0008 +#define IRQ_MASK_ERR_OFF 0x000c +#define IRQ_MASK_LOW_OFF 0x0010 +#define IRQ_MASK_HIGH_OFF 0x0014 + +#define TIMER_VIRT_BASE (BRIDGE_VIRT_BASE + 0x0300) +#define TIMER_PHYS_BASE (BRIDGE_PHYS_BASE + 0x0300) + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mv78xx0/mpp.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mv78xx0/mpp.c index d566ff0664..aff0e612cb 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mv78xx0/mpp.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mv78xx0/mpp.c @@ -1,34 +1,34 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * arch/arm/mach-mv78x00/mpp.c - * - * MPP functions for Marvell MV78x00 SoCs - */ -#include -#include -#include -#include -#include -#include "mv78xx0.h" -#include "common.h" -#include "mpp.h" - -static unsigned int __init mv78xx0_variant(void) -{ - u32 dev, rev; - - mv78xx0_pcie_id(&dev, &rev); - - if (dev == MV78100_DEV_ID && rev >= MV78100_REV_A0) - return MPP_78100_A0_MASK; - - printk(KERN_ERR "MPP setup: unknown mv78x00 variant " - "(dev %#x rev %#x)\n", dev, rev); - return 0; -} - -void __init mv78xx0_mpp_conf(unsigned int *mpp_list) -{ - orion_mpp_conf(mpp_list, mv78xx0_variant(), - MPP_MAX, DEV_BUS_VIRT_BASE); -} +// SPDX-License-Identifier: GPL-2.0-only +/* + * arch/arm/mach-mv78x00/mpp.c + * + * MPP functions for Marvell MV78x00 SoCs + */ +#include +#include +#include +#include +#include +#include "mv78xx0.h" +#include "common.h" +#include "mpp.h" + +static unsigned int __init mv78xx0_variant(void) +{ + u32 dev, rev; + + mv78xx0_pcie_id(&dev, &rev); + + if (dev == MV78100_DEV_ID && rev >= MV78100_REV_A0) + return MPP_78100_A0_MASK; + + printk(KERN_ERR "MPP setup: unknown mv78x00 variant " + "(dev %#x rev %#x)\n", dev, rev); + return 0; +} + +void __init mv78xx0_mpp_conf(unsigned int *mpp_list) +{ + orion_mpp_conf(mpp_list, mv78xx0_variant(), + MPP_MAX, DEV_BUS_VIRT_BASE); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mvebu/common.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mvebu/common.h index a070b049f6..fbfa3c4f30 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mvebu/common.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mvebu/common.h @@ -1,27 +1,27 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Core functions for Marvell System On Chip - * - * Copyright (C) 2012 Marvell - * - * Lior Amsalem - * Gregory CLEMENT - * Thomas Petazzoni - */ - -#ifndef __ARCH_MVEBU_COMMON_H -#define __ARCH_MVEBU_COMMON_H - -#include - -void mvebu_restart(enum reboot_mode mode, const char *cmd); -int mvebu_cpu_reset_deassert(int cpu); -void mvebu_pmsu_set_cpu_boot_addr(int hw_cpu, void *boot_addr); -void mvebu_system_controller_set_cpu_boot_addr(void *boot_addr); -int mvebu_system_controller_get_soc_id(u32 *dev, u32 *rev); - -void __iomem *mvebu_get_scu_base(void); - -int mvebu_pm_suspend_init(void (*board_pm_enter)(void __iomem *sdram_reg, - u32 srcmd)); -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Core functions for Marvell System On Chip + * + * Copyright (C) 2012 Marvell + * + * Lior Amsalem + * Gregory CLEMENT + * Thomas Petazzoni + */ + +#ifndef __ARCH_MVEBU_COMMON_H +#define __ARCH_MVEBU_COMMON_H + +#include + +void mvebu_restart(enum reboot_mode mode, const char *cmd); +int mvebu_cpu_reset_deassert(int cpu); +void mvebu_pmsu_set_cpu_boot_addr(int hw_cpu, void *boot_addr); +void mvebu_system_controller_set_cpu_boot_addr(void *boot_addr); +int mvebu_system_controller_get_soc_id(u32 *dev, u32 *rev); + +void __iomem *mvebu_get_scu_base(void); + +int mvebu_pm_suspend_init(void (*board_pm_enter)(void __iomem *sdram_reg, + u32 srcmd)); +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mvebu/dove.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mvebu/dove.c index 9a8e8854a5..c938ba725d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mvebu/dove.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mvebu/dove.c @@ -1,36 +1,36 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * arch/arm/mach-mvebu/dove.c - * - * Marvell Dove 88AP510 System On Chip FDT Board - */ - -#include -#include -#include -#include -#include -#include -#include "common.h" - -static void __init dove_init(void) -{ - pr_info("Dove 88AP510 SoC\n"); - -#ifdef CONFIG_CACHE_TAUROS2 - tauros2_init(0); -#endif - BUG_ON(mvebu_mbus_dt_init(false)); - dove_init_pmu(); -} - -static const char * const dove_dt_compat[] __initconst = { - "marvell,dove", - NULL -}; - -DT_MACHINE_START(DOVE_DT, "Marvell Dove") - .init_machine = dove_init, - .restart = mvebu_restart, - .dt_compat = dove_dt_compat, -MACHINE_END +// SPDX-License-Identifier: GPL-2.0-only +/* + * arch/arm/mach-mvebu/dove.c + * + * Marvell Dove 88AP510 System On Chip FDT Board + */ + +#include +#include +#include +#include +#include +#include +#include "common.h" + +static void __init dove_init(void) +{ + pr_info("Dove 88AP510 SoC\n"); + +#ifdef CONFIG_CACHE_TAUROS2 + tauros2_init(0); +#endif + BUG_ON(mvebu_mbus_dt_init(false)); + dove_init_pmu(); +} + +static const char * const dove_dt_compat[] __initconst = { + "marvell,dove", + NULL +}; + +DT_MACHINE_START(DOVE_DT, "Marvell Dove") + .init_machine = dove_init, + .restart = mvebu_restart, + .dt_compat = dove_dt_compat, +MACHINE_END diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mvebu/pmsu.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mvebu/pmsu.h index 23f7707003..1e847388e8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mvebu/pmsu.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mvebu/pmsu.h @@ -1,21 +1,21 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Power Management Service Unit (PMSU) support for Armada 370/XP platforms. - * - * Copyright (C) 2012 Marvell - */ - -#ifndef __MACH_MVEBU_PMSU_H -#define __MACH_MVEBU_PMSU_H - -int armada_xp_boot_cpu(unsigned int cpu_id, void *phys_addr); -int mvebu_setup_boot_addr_wa(unsigned int crypto_eng_target, - unsigned int crypto_eng_attribute, - phys_addr_t resume_addr_reg); - -void mvebu_v7_pmsu_idle_exit(void); -void armada_370_xp_cpu_resume(void); - -int armada_370_xp_pmsu_idle_enter(unsigned long deepidle); -int armada_38x_do_cpu_suspend(unsigned long deepidle); -#endif /* __MACH_370_XP_PMSU_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Power Management Service Unit (PMSU) support for Armada 370/XP platforms. + * + * Copyright (C) 2012 Marvell + */ + +#ifndef __MACH_MVEBU_PMSU_H +#define __MACH_MVEBU_PMSU_H + +int armada_xp_boot_cpu(unsigned int cpu_id, void *phys_addr); +int mvebu_setup_boot_addr_wa(unsigned int crypto_eng_target, + unsigned int crypto_eng_attribute, + phys_addr_t resume_addr_reg); + +void mvebu_v7_pmsu_idle_exit(void); +void armada_370_xp_cpu_resume(void); + +int armada_370_xp_pmsu_idle_enter(unsigned long deepidle); +int armada_38x_do_cpu_suspend(unsigned long deepidle); +#endif /* __MACH_370_XP_PMSU_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-nomadik/Kconfig b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-nomadik/Kconfig index ee2f897614..f5c4df6d2a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-nomadik/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-nomadik/Kconfig @@ -1,32 +1,32 @@ -# SPDX-License-Identifier: GPL-2.0-only -menuconfig ARCH_NOMADIK - bool "ST-Ericsson Nomadik" - depends on ARCH_MULTI_V5 - depends on CPU_LITTLE_ENDIAN - select ARM_AMBA - select ARM_VIC - select CLKSRC_NOMADIK_MTU - select CPU_ARM926T - select GPIOLIB - select MFD_SYSCON - select MIGHT_HAVE_CACHE_L2X0 - select PINCTRL - select PINCTRL_NOMADIK - select PINCTRL_STN8815 - help - Support for the Nomadik platform by ST-Ericsson - -if ARCH_NOMADIK - -config MACH_NOMADIK_8815NHK - bool "ST 8815 Nomadik Hardware Kit (evaluation board)" - select NOMADIK_8815 - select I2C - select I2C_ALGOBIT - select I2C_NOMADIK - -endif - -config NOMADIK_8815 - depends on ARCH_NOMADIK - bool +# SPDX-License-Identifier: GPL-2.0-only +menuconfig ARCH_NOMADIK + bool "ST-Ericsson Nomadik" + depends on ARCH_MULTI_V5 + depends on CPU_LITTLE_ENDIAN + select ARM_AMBA + select ARM_VIC + select CLKSRC_NOMADIK_MTU + select CPU_ARM926T + select GPIOLIB + select MFD_SYSCON + select MIGHT_HAVE_CACHE_L2X0 + select PINCTRL + select PINCTRL_NOMADIK + select PINCTRL_STN8815 + help + Support for the Nomadik platform by ST-Ericsson + +if ARCH_NOMADIK + +config MACH_NOMADIK_8815NHK + bool "ST 8815 Nomadik Hardware Kit (evaluation board)" + select NOMADIK_8815 + select I2C + select I2C_ALGOBIT + select I2C_NOMADIK + +endif + +config NOMADIK_8815 + depends on ARCH_NOMADIK + bool diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap1/i2c.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap1/i2c.h index bf1546837c..03e2ac2efe 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap1/i2c.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap1/i2c.h @@ -1,36 +1,36 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Helper module for board specific I2C bus registration - * - * Copyright (C) 2009 Nokia Corporation. - */ - -#ifndef __ARCH_ARM_MACH_OMAP1_I2C_H -#define __ARCH_ARM_MACH_OMAP1_I2C_H - -struct i2c_board_info; -struct omap_i2c_bus_platform_data; - -int omap_i2c_add_bus(struct omap_i2c_bus_platform_data *i2c_pdata, - int bus_id); - -#if defined(CONFIG_I2C_OMAP) || defined(CONFIG_I2C_OMAP_MODULE) -extern int omap_register_i2c_bus(int bus_id, u32 clkrate, - struct i2c_board_info const *info, - unsigned len); -extern int omap_register_i2c_bus_cmdline(void); -#else -static inline int omap_register_i2c_bus(int bus_id, u32 clkrate, - struct i2c_board_info const *info, - unsigned len) -{ - return 0; -} - -static inline int omap_register_i2c_bus_cmdline(void) -{ - return 0; -} -#endif - -#endif /* __ARCH_ARM_MACH_OMAP1_I2C_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Helper module for board specific I2C bus registration + * + * Copyright (C) 2009 Nokia Corporation. + */ + +#ifndef __ARCH_ARM_MACH_OMAP1_I2C_H +#define __ARCH_ARM_MACH_OMAP1_I2C_H + +struct i2c_board_info; +struct omap_i2c_bus_platform_data; + +int omap_i2c_add_bus(struct omap_i2c_bus_platform_data *i2c_pdata, + int bus_id); + +#if defined(CONFIG_I2C_OMAP) || defined(CONFIG_I2C_OMAP_MODULE) +extern int omap_register_i2c_bus(int bus_id, u32 clkrate, + struct i2c_board_info const *info, + unsigned len); +extern int omap_register_i2c_bus_cmdline(void); +#else +static inline int omap_register_i2c_bus(int bus_id, u32 clkrate, + struct i2c_board_info const *info, + unsigned len) +{ + return 0; +} + +static inline int omap_register_i2c_bus_cmdline(void) +{ + return 0; +} +#endif + +#endif /* __ARCH_ARM_MACH_OMAP1_I2C_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap1/pm_bus.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap1/pm_bus.c index d32cac1762..c04619ac06 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap1/pm_bus.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap1/pm_bus.c @@ -1,42 +1,42 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Runtime PM support code for OMAP1 - * - * Author: Kevin Hilman, Deep Root Systems, LLC - * - * Copyright (C) 2010 Texas Instruments, Inc. - */ -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include "soc.h" - -static struct dev_pm_domain default_pm_domain = { - .ops = { - USE_PM_CLK_RUNTIME_OPS - USE_PLATFORM_PM_SLEEP_OPS - }, -}; - -static struct pm_clk_notifier_block platform_bus_notifier = { - .pm_domain = &default_pm_domain, - .con_ids = { "ick", "fck", NULL, }, -}; - -static int __init omap1_pm_runtime_init(void) -{ - if (!cpu_class_is_omap1()) - return -ENODEV; - - pm_clk_add_notifier(&platform_bus_type, &platform_bus_notifier); - - return 0; -} -core_initcall(omap1_pm_runtime_init); +// SPDX-License-Identifier: GPL-2.0-only +/* + * Runtime PM support code for OMAP1 + * + * Author: Kevin Hilman, Deep Root Systems, LLC + * + * Copyright (C) 2010 Texas Instruments, Inc. + */ +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include "soc.h" + +static struct dev_pm_domain default_pm_domain = { + .ops = { + USE_PM_CLK_RUNTIME_OPS + USE_PLATFORM_PM_SLEEP_OPS + }, +}; + +static struct pm_clk_notifier_block platform_bus_notifier = { + .pm_domain = &default_pm_domain, + .con_ids = { "ick", "fck", NULL, }, +}; + +static int __init omap1_pm_runtime_init(void) +{ + if (!cpu_class_is_omap1()) + return -ENODEV; + + pm_clk_add_notifier(&platform_bus_type, &platform_bus_notifier); + + return 0; +} +core_initcall(omap1_pm_runtime_init); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap1/usb.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap1/usb.h index 64cd587503..08c9344c46 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap1/usb.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap1/usb.h @@ -1,25 +1,25 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * fixme correct answer depends on hmc_mode, - * as does (on omap1) any nonzero value for config->otg port number - */ -#include -#include - -#if IS_ENABLED(CONFIG_USB_OMAP) -#define is_usb0_device(config) 1 -#else -#define is_usb0_device(config) 0 -#endif - -#if IS_ENABLED(CONFIG_USB_SUPPORT) -void omap1_usb_init(struct omap_usb_config *pdata); -#else -static inline void omap1_usb_init(struct omap_usb_config *pdata) -{ -} -#endif - -#define OMAP1_OHCI_BASE 0xfffba000 -#define OMAP2_OHCI_BASE 0x4805e000 -#define OMAP_OHCI_BASE OMAP1_OHCI_BASE +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * fixme correct answer depends on hmc_mode, + * as does (on omap1) any nonzero value for config->otg port number + */ +#include +#include + +#if IS_ENABLED(CONFIG_USB_OMAP) +#define is_usb0_device(config) 1 +#else +#define is_usb0_device(config) 0 +#endif + +#if IS_ENABLED(CONFIG_USB_SUPPORT) +void omap1_usb_init(struct omap_usb_config *pdata); +#else +static inline void omap1_usb_init(struct omap_usb_config *pdata) +{ +} +#endif + +#define OMAP1_OHCI_BASE 0xfffba000 +#define OMAP2_OHCI_BASE 0x4805e000 +#define OMAP_OHCI_BASE OMAP1_OHCI_BASE diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/am33xx-restart.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/am33xx-restart.c index afc2e12ada..fcf3d557aa 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/am33xx-restart.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/am33xx-restart.c @@ -1,25 +1,25 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * am33xx-restart.c - Code common to all AM33xx machines. - */ -#include -#include - -#include "common.h" -#include "prm.h" - -/** - * am33xx_restart - trigger a software restart of the SoC - * @mode: the "reboot mode", see arch/arm/kernel/{setup,process}.c - * @cmd: passed from the userspace program rebooting the system (if provided) - * - * Resets the SoC. For @cmd, see the 'reboot' syscall in - * kernel/sys.c. No return value. - */ -void am33xx_restart(enum reboot_mode mode, const char *cmd) -{ - /* TODO: Handle cmd if necessary */ - prm_reboot_mode = mode; - - omap_prm_reset_system(); -} +// SPDX-License-Identifier: GPL-2.0-only +/* + * am33xx-restart.c - Code common to all AM33xx machines. + */ +#include +#include + +#include "common.h" +#include "prm.h" + +/** + * am33xx_restart - trigger a software restart of the SoC + * @mode: the "reboot mode", see arch/arm/kernel/{setup,process}.c + * @cmd: passed from the userspace program rebooting the system (if provided) + * + * Resets the SoC. For @cmd, see the 'reboot' syscall in + * kernel/sys.c. No return value. + */ +void am33xx_restart(enum reboot_mode mode, const char *cmd) +{ + /* TODO: Handle cmd if necessary */ + prm_reboot_mode = mode; + + omap_prm_reset_system(); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/cm44xx.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/cm44xx.h index 4ba7dc9b9a..826fdda54b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/cm44xx.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/cm44xx.h @@ -1,25 +1,25 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * OMAP4 Clock Management (CM) definitions - * - * Copyright (C) 2007-2011 Texas Instruments, Inc. - * Copyright (C) 2007-2009 Nokia Corporation - * - * Written by Paul Walmsley - * - * OMAP4 has two separate CM blocks, CM1 and CM2. This file contains - * macros and function prototypes that are applicable to both. - */ -#ifndef __ARCH_ASM_MACH_OMAP2_CM44XX_H -#define __ARCH_ASM_MACH_OMAP2_CM44XX_H - - -#include "prcm-common.h" -#include "cm.h" - -#define OMAP4_CM_CLKSTCTRL 0x0000 -#define OMAP4_CM_STATICDEP 0x0004 - -int omap4_cm_init(const struct omap_prcm_init_data *data); - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * OMAP4 Clock Management (CM) definitions + * + * Copyright (C) 2007-2011 Texas Instruments, Inc. + * Copyright (C) 2007-2009 Nokia Corporation + * + * Written by Paul Walmsley + * + * OMAP4 has two separate CM blocks, CM1 and CM2. This file contains + * macros and function prototypes that are applicable to both. + */ +#ifndef __ARCH_ASM_MACH_OMAP2_CM44XX_H +#define __ARCH_ASM_MACH_OMAP2_CM44XX_H + + +#include "prcm-common.h" +#include "cm.h" + +#define OMAP4_CM_CLKSTCTRL 0x0000 +#define OMAP4_CM_STATICDEP 0x0004 + +int omap4_cm_init(const struct omap_prcm_init_data *data); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/common.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/common.c index f349e951dd..a4af202cbc 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/common.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/common.c @@ -1,31 +1,31 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * linux/arch/arm/mach-omap2/common.c - * - * Code common to all OMAP2+ machines. - * - * Copyright (C) 2009 Texas Instruments - * Copyright (C) 2010 Nokia Corporation - * Tony Lindgren - * Added OMAP4 support - Santosh Shilimkar - */ -#include -#include - -#include "common.h" -#include "omap-secure.h" - -/* - * Stub function for OMAP2 so that common files - * continue to build when custom builds are used - */ -int __weak omap_secure_ram_reserve_memblock(void) -{ - return 0; -} - -void __init omap_reserve(void) -{ - omap_secure_ram_reserve_memblock(); - omap_barrier_reserve_memblock(); -} +// SPDX-License-Identifier: GPL-2.0-only +/* + * linux/arch/arm/mach-omap2/common.c + * + * Code common to all OMAP2+ machines. + * + * Copyright (C) 2009 Texas Instruments + * Copyright (C) 2010 Nokia Corporation + * Tony Lindgren + * Added OMAP4 support - Santosh Shilimkar + */ +#include +#include + +#include "common.h" +#include "omap-secure.h" + +/* + * Stub function for OMAP2 so that common files + * continue to build when custom builds are used + */ +int __weak omap_secure_ram_reserve_memblock(void) +{ + return 0; +} + +void __init omap_reserve(void) +{ + omap_secure_ram_reserve_memblock(); + omap_barrier_reserve_memblock(); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/l4_2xxx.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/l4_2xxx.h index ca99ff3ce6..418e1072d7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/l4_2xxx.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/l4_2xxx.h @@ -1,19 +1,19 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * arch/arm/plat-omap/include/plat/l4_2xxx.h - L4 firewall definitions - * - * Copyright (C) 2010 Texas Instruments Incorporated - https://www.ti.com/ - * Sumit Semwal - */ -#ifndef __ARCH_ARM_PLAT_OMAP_INCLUDE_PLAT_L4_2XXX_H -#define __ARCH_ARM_PLAT_OMAP_INCLUDE_PLAT_L4_2XXX_H - -/* L4 CORE */ -/* Display Sub system (DSS) */ -#define OMAP2420_L4_CORE_FW_DSS_CORE_REGION 28 -#define OMAP2420_L4_CORE_FW_DSS_DISPC_REGION 29 -#define OMAP2420_L4_CORE_FW_DSS_RFBI_REGION 30 -#define OMAP2420_L4_CORE_FW_DSS_VENC_REGION 31 -#define OMAP2420_L4_CORE_FW_DSS_TA_REGION 32 - -#endif +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * arch/arm/plat-omap/include/plat/l4_2xxx.h - L4 firewall definitions + * + * Copyright (C) 2010 Texas Instruments Incorporated - https://www.ti.com/ + * Sumit Semwal + */ +#ifndef __ARCH_ARM_PLAT_OMAP_INCLUDE_PLAT_L4_2XXX_H +#define __ARCH_ARM_PLAT_OMAP_INCLUDE_PLAT_L4_2XXX_H + +/* L4 CORE */ +/* Display Sub system (DSS) */ +#define OMAP2420_L4_CORE_FW_DSS_CORE_REGION 28 +#define OMAP2420_L4_CORE_FW_DSS_DISPC_REGION 29 +#define OMAP2420_L4_CORE_FW_DSS_RFBI_REGION 30 +#define OMAP2420_L4_CORE_FW_DSS_VENC_REGION 31 +#define OMAP2420_L4_CORE_FW_DSS_TA_REGION 32 + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/omap3-restart.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/omap3-restart.c index ad04547e51..bcabe6fa16 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/omap3-restart.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/omap3-restart.c @@ -1,32 +1,32 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * omap3-restart.c - Code common to all OMAP3xxx machines. - * - * Copyright (C) 2009, 2012 Texas Instruments - * Copyright (C) 2010 Nokia Corporation - * Tony Lindgren - * Santosh Shilimkar - */ -#include -#include -#include - -#include "common.h" -#include "control.h" -#include "prm.h" - -/* Global address base setup code */ - -/** - * omap3xxx_restart - trigger a software restart of the SoC - * @mode: the "reboot mode", see arch/arm/kernel/{setup,process}.c - * @cmd: passed from the userspace program rebooting the system (if provided) - * - * Resets the SoC. For @cmd, see the 'reboot' syscall in - * kernel/sys.c. No return value. - */ -void omap3xxx_restart(enum reboot_mode mode, const char *cmd) -{ - omap3_ctrl_write_boot_mode((cmd ? (u8)*cmd : 0)); - omap_prm_reset_system(); -} +// SPDX-License-Identifier: GPL-2.0-only +/* + * omap3-restart.c - Code common to all OMAP3xxx machines. + * + * Copyright (C) 2009, 2012 Texas Instruments + * Copyright (C) 2010 Nokia Corporation + * Tony Lindgren + * Santosh Shilimkar + */ +#include +#include +#include + +#include "common.h" +#include "control.h" +#include "prm.h" + +/* Global address base setup code */ + +/** + * omap3xxx_restart - trigger a software restart of the SoC + * @mode: the "reboot mode", see arch/arm/kernel/{setup,process}.c + * @cmd: passed from the userspace program rebooting the system (if provided) + * + * Resets the SoC. For @cmd, see the 'reboot' syscall in + * kernel/sys.c. No return value. + */ +void omap3xxx_restart(enum reboot_mode mode, const char *cmd) +{ + omap3_ctrl_write_boot_mode((cmd ? (u8)*cmd : 0)); + omap_prm_reset_system(); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/omap4-restart.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/omap4-restart.c index e386839cf4..56f621314f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/omap4-restart.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/omap4-restart.c @@ -1,23 +1,23 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * omap4-restart.c - Common to OMAP4 and OMAP5 - */ - -#include -#include -#include "common.h" -#include "prm.h" - -/** - * omap44xx_restart - trigger a software restart of the SoC - * @mode: the "reboot mode", see arch/arm/kernel/{setup,process}.c - * @cmd: passed from the userspace program rebooting the system (if provided) - * - * Resets the SoC. For @cmd, see the 'reboot' syscall in - * kernel/sys.c. No return value. - */ -void omap44xx_restart(enum reboot_mode mode, const char *cmd) -{ - /* XXX Should save 'cmd' into scratchpad for use after reboot */ - omap_prm_reset_system(); -} +// SPDX-License-Identifier: GPL-2.0-only +/* + * omap4-restart.c - Common to OMAP4 and OMAP5 + */ + +#include +#include +#include "common.h" +#include "prm.h" + +/** + * omap44xx_restart - trigger a software restart of the SoC + * @mode: the "reboot mode", see arch/arm/kernel/{setup,process}.c + * @cmd: passed from the userspace program rebooting the system (if provided) + * + * Resets the SoC. For @cmd, see the 'reboot' syscall in + * kernel/sys.c. No return value. + */ +void omap44xx_restart(enum reboot_mode mode, const char *cmd) +{ + /* XXX Should save 'cmd' into scratchpad for use after reboot */ + omap_prm_reset_system(); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/ti81xx-restart.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/ti81xx-restart.c index 7891b0b220..5b5fb37caa 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/ti81xx-restart.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/ti81xx-restart.c @@ -1,31 +1,31 @@ -// SPDX-License-Identifier: GPL-2.0-only -#include -#include -#include - -#include "iomap.h" -#include "common.h" -#include "control.h" -#include "prm3xxx.h" - -#define TI81XX_PRM_DEVICE_RSTCTRL 0x00a0 -#define TI81XX_GLOBAL_RST_COLD BIT(1) - -/** - * ti81xx_restart - trigger a software restart of the SoC - * @mode: the "reboot mode", see arch/arm/kernel/{setup,process}.c - * @cmd: passed from the userspace program rebooting the system (if provided) - * - * Resets the SoC. For @cmd, see the 'reboot' syscall in - * kernel/sys.c. No return value. - * - * NOTE: Warm reset does not seem to work, may require resetting - * clocks to bypass mode. - */ -void ti81xx_restart(enum reboot_mode mode, const char *cmd) -{ - omap2_prm_set_mod_reg_bits(TI81XX_GLOBAL_RST_COLD, 0, - TI81XX_PRM_DEVICE_RSTCTRL); - while (1) - ; -} +// SPDX-License-Identifier: GPL-2.0-only +#include +#include +#include + +#include "iomap.h" +#include "common.h" +#include "control.h" +#include "prm3xxx.h" + +#define TI81XX_PRM_DEVICE_RSTCTRL 0x00a0 +#define TI81XX_GLOBAL_RST_COLD BIT(1) + +/** + * ti81xx_restart - trigger a software restart of the SoC + * @mode: the "reboot mode", see arch/arm/kernel/{setup,process}.c + * @cmd: passed from the userspace program rebooting the system (if provided) + * + * Resets the SoC. For @cmd, see the 'reboot' syscall in + * kernel/sys.c. No return value. + * + * NOTE: Warm reset does not seem to work, may require resetting + * clocks to bypass mode. + */ +void ti81xx_restart(enum reboot_mode mode, const char *cmd) +{ + omap2_prm_set_mod_reg_bits(TI81XX_GLOBAL_RST_COLD, 0, + TI81XX_PRM_DEVICE_RSTCTRL); + while (1) + ; +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/ti81xx.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/ti81xx.h index 29ba44f6a7..fe9f7f388c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/ti81xx.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/ti81xx.h @@ -1,28 +1,28 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * This file contains the address data for various TI81XX modules. - * - * Copyright (C) 2010 Texas Instruments, Inc. - https://www.ti.com/ - */ - -#ifndef __ASM_ARCH_TI81XX_H -#define __ASM_ARCH_TI81XX_H - -#define L4_SLOW_TI81XX_BASE 0x48000000 - -#define TI81XX_SCM_BASE 0x48140000 -#define TI81XX_CTRL_BASE TI81XX_SCM_BASE -#define TI81XX_PRCM_BASE 0x48180000 - -/* - * Adjust TAP register base such that omap3_check_revision accesses the correct - * TI81XX register for checking device ID (it adds 0x204 to tap base while - * TI81XX DEVICE ID register is at offset 0x600 from control base). - */ -#define TI81XX_TAP_BASE (TI81XX_CTRL_BASE + \ - TI81XX_CONTROL_DEVICE_ID - 0x204) - - -#define TI81XX_ARM_INTC_BASE 0x48200000 - -#endif /* __ASM_ARCH_TI81XX_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * This file contains the address data for various TI81XX modules. + * + * Copyright (C) 2010 Texas Instruments, Inc. - https://www.ti.com/ + */ + +#ifndef __ASM_ARCH_TI81XX_H +#define __ASM_ARCH_TI81XX_H + +#define L4_SLOW_TI81XX_BASE 0x48000000 + +#define TI81XX_SCM_BASE 0x48140000 +#define TI81XX_CTRL_BASE TI81XX_SCM_BASE +#define TI81XX_PRCM_BASE 0x48180000 + +/* + * Adjust TAP register base such that omap3_check_revision accesses the correct + * TI81XX register for checking device ID (it adds 0x204 to tap base while + * TI81XX DEVICE ID register is at offset 0x600 from control base). + */ +#define TI81XX_TAP_BASE (TI81XX_CTRL_BASE + \ + TI81XX_CONTROL_DEVICE_ID - 0x204) + + +#define TI81XX_ARM_INTC_BASE 0x48200000 + +#endif /* __ASM_ARCH_TI81XX_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-orion5x/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-orion5x/Makefile index e20c8ac874..6f54d7fef2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-orion5x/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-orion5x/Makefile @@ -1,18 +1,18 @@ -# SPDX-License-Identifier: GPL-2.0 -ccflags-y := -I$(srctree)/arch/arm/plat-orion/include - -obj-y += common.o pci.o irq.o mpp.o -obj-$(CONFIG_MACH_KUROBOX_PRO) += kurobox_pro-setup.o -obj-$(CONFIG_MACH_TERASTATION_PRO2) += terastation_pro2-setup.o -obj-$(CONFIG_MACH_LINKSTATION_PRO) += kurobox_pro-setup.o -obj-$(CONFIG_MACH_DNS323) += dns323-setup.o -obj-$(CONFIG_MACH_TS209) += ts209-setup.o tsx09-common.o -obj-$(CONFIG_MACH_TS409) += ts409-setup.o tsx09-common.o -obj-$(CONFIG_MACH_TS78XX) += ts78xx-setup.o -obj-$(CONFIG_MACH_MV2120) += mv2120-setup.o -obj-$(CONFIG_MACH_NET2BIG) += net2big-setup.o - -obj-$(CONFIG_ARCH_ORION5X_DT) += board-dt.o -obj-$(CONFIG_MACH_D2NET_DT) += board-d2net.o -obj-$(CONFIG_MACH_MSS2_DT) += board-mss2.o -obj-$(CONFIG_MACH_RD88F5182_DT) += board-rd88f5182.o +# SPDX-License-Identifier: GPL-2.0 +ccflags-y := -I$(srctree)/arch/arm/plat-orion/include + +obj-y += common.o pci.o irq.o mpp.o +obj-$(CONFIG_MACH_KUROBOX_PRO) += kurobox_pro-setup.o +obj-$(CONFIG_MACH_TERASTATION_PRO2) += terastation_pro2-setup.o +obj-$(CONFIG_MACH_LINKSTATION_PRO) += kurobox_pro-setup.o +obj-$(CONFIG_MACH_DNS323) += dns323-setup.o +obj-$(CONFIG_MACH_TS209) += ts209-setup.o tsx09-common.o +obj-$(CONFIG_MACH_TS409) += ts409-setup.o tsx09-common.o +obj-$(CONFIG_MACH_TS78XX) += ts78xx-setup.o +obj-$(CONFIG_MACH_MV2120) += mv2120-setup.o +obj-$(CONFIG_MACH_NET2BIG) += net2big-setup.o + +obj-$(CONFIG_ARCH_ORION5X_DT) += board-dt.o +obj-$(CONFIG_MACH_D2NET_DT) += board-d2net.o +obj-$(CONFIG_MACH_MSS2_DT) += board-mss2.o +obj-$(CONFIG_MACH_RD88F5182_DT) += board-rd88f5182.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-orion5x/bridge-regs.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-orion5x/bridge-regs.h index f20f08160f..fe85bc5b13 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-orion5x/bridge-regs.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-orion5x/bridge-regs.h @@ -1,30 +1,30 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* Orion CPU Bridge Registers */ - -#ifndef __ASM_ARCH_BRIDGE_REGS_H -#define __ASM_ARCH_BRIDGE_REGS_H - -#include "orion5x.h" - -#define CPU_CONF (ORION5X_BRIDGE_VIRT_BASE + 0x100) - -#define CPU_CTRL (ORION5X_BRIDGE_VIRT_BASE + 0x104) - -#define RSTOUTn_MASK (ORION5X_BRIDGE_VIRT_BASE + 0x108) -#define RSTOUTn_MASK_PHYS (ORION5X_BRIDGE_PHYS_BASE + 0x108) - -#define CPU_SOFT_RESET (ORION5X_BRIDGE_VIRT_BASE + 0x10c) - -#define BRIDGE_CAUSE (ORION5X_BRIDGE_VIRT_BASE + 0x110) - -#define POWER_MNG_CTRL_REG (ORION5X_BRIDGE_VIRT_BASE + 0x11C) - -#define BRIDGE_INT_TIMER1_CLR (~0x0004) - -#define MAIN_IRQ_CAUSE (ORION5X_BRIDGE_VIRT_BASE + 0x200) - -#define MAIN_IRQ_MASK (ORION5X_BRIDGE_VIRT_BASE + 0x204) - -#define TIMER_VIRT_BASE (ORION5X_BRIDGE_VIRT_BASE + 0x300) -#define TIMER_PHYS_BASE (ORION5X_BRIDGE_PHYS_BASE + 0x300) -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* Orion CPU Bridge Registers */ + +#ifndef __ASM_ARCH_BRIDGE_REGS_H +#define __ASM_ARCH_BRIDGE_REGS_H + +#include "orion5x.h" + +#define CPU_CONF (ORION5X_BRIDGE_VIRT_BASE + 0x100) + +#define CPU_CTRL (ORION5X_BRIDGE_VIRT_BASE + 0x104) + +#define RSTOUTn_MASK (ORION5X_BRIDGE_VIRT_BASE + 0x108) +#define RSTOUTn_MASK_PHYS (ORION5X_BRIDGE_PHYS_BASE + 0x108) + +#define CPU_SOFT_RESET (ORION5X_BRIDGE_VIRT_BASE + 0x10c) + +#define BRIDGE_CAUSE (ORION5X_BRIDGE_VIRT_BASE + 0x110) + +#define POWER_MNG_CTRL_REG (ORION5X_BRIDGE_VIRT_BASE + 0x11C) + +#define BRIDGE_INT_TIMER1_CLR (~0x0004) + +#define MAIN_IRQ_CAUSE (ORION5X_BRIDGE_VIRT_BASE + 0x200) + +#define MAIN_IRQ_MASK (ORION5X_BRIDGE_VIRT_BASE + 0x204) + +#define TIMER_VIRT_BASE (ORION5X_BRIDGE_VIRT_BASE + 0x300) +#define TIMER_PHYS_BASE (ORION5X_BRIDGE_PHYS_BASE + 0x300) +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-orion5x/mpp.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-orion5x/mpp.c index 99a7ac4fae..b9855dce6b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-orion5x/mpp.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-orion5x/mpp.c @@ -1,41 +1,41 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * arch/arm/mach-orion5x/mpp.c - * - * MPP functions for Marvell Orion 5x SoCs - */ - -#include -#include -#include -#include -#include "orion5x.h" -#include "mpp.h" -#include "common.h" - -static unsigned int __init orion5x_variant(void) -{ - u32 dev; - u32 rev; - - orion5x_pcie_id(&dev, &rev); - - if (dev == MV88F5181_DEV_ID) - return MPP_F5181_MASK; - - if (dev == MV88F5182_DEV_ID) - return MPP_F5182_MASK; - - if (dev == MV88F5281_DEV_ID) - return MPP_F5281_MASK; - - printk(KERN_ERR "MPP setup: unknown orion5x variant " - "(dev %#x rev %#x)\n", dev, rev); - return 0; -} - -void __init orion5x_mpp_conf(unsigned int *mpp_list) -{ - orion_mpp_conf(mpp_list, orion5x_variant(), - MPP_MAX, ORION5X_DEV_BUS_VIRT_BASE); -} +// SPDX-License-Identifier: GPL-2.0-only +/* + * arch/arm/mach-orion5x/mpp.c + * + * MPP functions for Marvell Orion 5x SoCs + */ + +#include +#include +#include +#include +#include "orion5x.h" +#include "mpp.h" +#include "common.h" + +static unsigned int __init orion5x_variant(void) +{ + u32 dev; + u32 rev; + + orion5x_pcie_id(&dev, &rev); + + if (dev == MV88F5181_DEV_ID) + return MPP_F5181_MASK; + + if (dev == MV88F5182_DEV_ID) + return MPP_F5182_MASK; + + if (dev == MV88F5281_DEV_ID) + return MPP_F5281_MASK; + + printk(KERN_ERR "MPP setup: unknown orion5x variant " + "(dev %#x rev %#x)\n", dev, rev); + return 0; +} + +void __init orion5x_mpp_conf(unsigned int *mpp_list) +{ + orion_mpp_conf(mpp_list, orion5x_variant(), + MPP_MAX, ORION5X_DEV_BUS_VIRT_BASE); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-pxa/pm.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-pxa/pm.h index 7d04b0e6db..a16fa14088 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-pxa/pm.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-pxa/pm.h @@ -1,29 +1,29 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (c) 2005 Richard Purdie - */ - -#include - -struct pxa_cpu_pm_fns { - int save_count; - void (*save)(unsigned long *); - void (*restore)(unsigned long *); - int (*valid)(suspend_state_t state); - void (*enter)(suspend_state_t state); - int (*prepare)(void); - void (*finish)(void); -}; - -extern struct pxa_cpu_pm_fns *pxa_cpu_pm_fns; - -/* sleep.S */ -extern int pxa25x_finish_suspend(unsigned long); -extern int pxa27x_finish_suspend(unsigned long); - -extern int pxa_pm_enter(suspend_state_t state); -extern int pxa_pm_prepare(void); -extern void pxa_pm_finish(void); - -extern const char pm_enter_standby_start[], pm_enter_standby_end[]; -extern int pxa3xx_finish_suspend(unsigned long); +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (c) 2005 Richard Purdie + */ + +#include + +struct pxa_cpu_pm_fns { + int save_count; + void (*save)(unsigned long *); + void (*restore)(unsigned long *); + int (*valid)(suspend_state_t state); + void (*enter)(suspend_state_t state); + int (*prepare)(void); + void (*finish)(void); +}; + +extern struct pxa_cpu_pm_fns *pxa_cpu_pm_fns; + +/* sleep.S */ +extern int pxa25x_finish_suspend(unsigned long); +extern int pxa27x_finish_suspend(unsigned long); + +extern int pxa_pm_enter(suspend_state_t state); +extern int pxa_pm_prepare(void); +extern void pxa_pm_finish(void); + +extern const char pm_enter_standby_start[], pm_enter_standby_end[]; +extern int pxa3xx_finish_suspend(unsigned long); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-pxa/regs-rtc.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-pxa/regs-rtc.h index 9365805ab7..96255a0f59 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-pxa/regs-rtc.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-pxa/regs-rtc.h @@ -1,24 +1,24 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_MACH_REGS_RTC_H -#define __ASM_MACH_REGS_RTC_H - -#include "pxa-regs.h" - -/* - * Real Time Clock - */ - -#define RCNR __REG(0x40900000) /* RTC Count Register */ -#define RTAR __REG(0x40900004) /* RTC Alarm Register */ -#define RTSR __REG(0x40900008) /* RTC Status Register */ -#define RTTR __REG(0x4090000C) /* RTC Timer Trim Register */ -#define PIAR __REG(0x40900038) /* Periodic Interrupt Alarm Register */ - -#define RTSR_PICE (1 << 15) /* Periodic interrupt count enable */ -#define RTSR_PIALE (1 << 14) /* Periodic interrupt Alarm enable */ -#define RTSR_HZE (1 << 3) /* HZ interrupt enable */ -#define RTSR_ALE (1 << 2) /* RTC alarm interrupt enable */ -#define RTSR_HZ (1 << 1) /* HZ rising-edge detected */ -#define RTSR_AL (1 << 0) /* RTC alarm detected */ - -#endif /* __ASM_MACH_REGS_RTC_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_MACH_REGS_RTC_H +#define __ASM_MACH_REGS_RTC_H + +#include "pxa-regs.h" + +/* + * Real Time Clock + */ + +#define RCNR __REG(0x40900000) /* RTC Count Register */ +#define RTAR __REG(0x40900004) /* RTC Alarm Register */ +#define RTSR __REG(0x40900008) /* RTC Status Register */ +#define RTTR __REG(0x4090000C) /* RTC Timer Trim Register */ +#define PIAR __REG(0x40900038) /* Periodic Interrupt Alarm Register */ + +#define RTSR_PICE (1 << 15) /* Periodic interrupt count enable */ +#define RTSR_PIALE (1 << 14) /* Periodic interrupt Alarm enable */ +#define RTSR_HZE (1 << 3) /* HZ interrupt enable */ +#define RTSR_ALE (1 << 2) /* RTC alarm interrupt enable */ +#define RTSR_HZ (1 << 1) /* HZ rising-edge detected */ +#define RTSR_AL (1 << 0) /* RTC alarm detected */ + +#endif /* __ASM_MACH_REGS_RTC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-pxa/reset.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-pxa/reset.h index 77b7414552..963dd190bc 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-pxa/reset.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-pxa/reset.h @@ -1,22 +1,22 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_ARCH_RESET_H -#define __ASM_ARCH_RESET_H - -#define RESET_STATUS_HARDWARE (1 << 0) /* Hardware Reset */ -#define RESET_STATUS_WATCHDOG (1 << 1) /* Watchdog Reset */ -#define RESET_STATUS_LOWPOWER (1 << 2) /* Low Power/Sleep Exit */ -#define RESET_STATUS_GPIO (1 << 3) /* GPIO Reset */ -#define RESET_STATUS_ALL (0xf) - -extern void clear_reset_status(unsigned int mask); -extern void pxa_register_wdt(unsigned int reset_status); - -/** - * init_gpio_reset() - register GPIO as reset generator - * @gpio: gpio nr - * @output: set gpio as output instead of input during normal work - * @level: output level - */ -extern int init_gpio_reset(int gpio, int output, int level); - -#endif /* __ASM_ARCH_RESET_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_ARCH_RESET_H +#define __ASM_ARCH_RESET_H + +#define RESET_STATUS_HARDWARE (1 << 0) /* Hardware Reset */ +#define RESET_STATUS_WATCHDOG (1 << 1) /* Watchdog Reset */ +#define RESET_STATUS_LOWPOWER (1 << 2) /* Low Power/Sleep Exit */ +#define RESET_STATUS_GPIO (1 << 3) /* GPIO Reset */ +#define RESET_STATUS_ALL (0xf) + +extern void clear_reset_status(unsigned int mask); +extern void pxa_register_wdt(unsigned int reset_status); + +/** + * init_gpio_reset() - register GPIO as reset generator + * @gpio: gpio nr + * @output: set gpio as output instead of input during normal work + * @level: output level + */ +extern int init_gpio_reset(int gpio, int output, int level); + +#endif /* __ASM_ARCH_RESET_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-qcom/Kconfig b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-qcom/Kconfig index 8aa5afcd6d..85b06e4910 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-qcom/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-qcom/Kconfig @@ -1,25 +1,25 @@ -# SPDX-License-Identifier: GPL-2.0-only -menuconfig ARCH_QCOM - bool "Qualcomm Support" - depends on ARCH_MULTI_V7 - select ARM_GIC - select ARM_AMBA - select IOMMU_DMA - select CLKSRC_QCOM - select HAVE_ARM_ARCH_TIMER - select PINCTRL - select QCOM_SCM if SMP - help - Support for Qualcomm's devicetree based systems. - This includes support for a few devices with ARM64 SoC, that have - ARM32 signed firmware that does not allow booting ARM64 kernels. - -if ARCH_QCOM - -config ARCH_QCOM_RESERVE_SMEM - bool "Reserve SMEM at the beginning of RAM" - help - Reserve 2MB at the beginning of the System RAM for shared mem. - This is required on IPQ40xx, MSM8x60 and MSM8960 platforms. - -endif +# SPDX-License-Identifier: GPL-2.0-only +menuconfig ARCH_QCOM + bool "Qualcomm Support" + depends on ARCH_MULTI_V7 + select ARM_GIC + select ARM_AMBA + select IOMMU_DMA + select CLKSRC_QCOM + select HAVE_ARM_ARCH_TIMER + select PINCTRL + select QCOM_SCM if SMP + help + Support for Qualcomm's devicetree based systems. + This includes support for a few devices with ARM64 SoC, that have + ARM32 signed firmware that does not allow booting ARM64 kernels. + +if ARCH_QCOM + +config ARCH_QCOM_RESERVE_SMEM + bool "Reserve SMEM at the beginning of RAM" + help + Reserve 2MB at the beginning of the System RAM for shared mem. + This is required on IPQ40xx, MSM8x60 and MSM8960 platforms. + +endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-realtek/rtd1195.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-realtek/rtd1195.c index 2ff30e63f5..0381a44473 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-realtek/rtd1195.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-realtek/rtd1195.c @@ -1,40 +1,40 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Realtek RTD1195 - * - * Copyright (c) 2017-2019 Andreas Färber - */ - -#include -#include - -static void __init rtd1195_memblock_remove(phys_addr_t base, phys_addr_t size) -{ - int ret; - - ret = memblock_remove(base, size); - if (ret) - pr_err("Failed to remove memblock %pa (%d)\n", &base, ret); -} - -static void __init rtd1195_reserve(void) -{ - /* Exclude boot ROM from RAM */ - rtd1195_memblock_remove(0x00000000, 0x0000a800); - - /* Exclude peripheral register spaces from RAM */ - rtd1195_memblock_remove(0x18000000, 0x00070000); - rtd1195_memblock_remove(0x18100000, 0x01000000); -} - -static const char *const rtd1195_dt_compat[] __initconst = { - "realtek,rtd1195", - NULL -}; - -DT_MACHINE_START(rtd1195, "Realtek RTD1195") - .dt_compat = rtd1195_dt_compat, - .reserve = rtd1195_reserve, - .l2c_aux_val = 0x0, - .l2c_aux_mask = ~0x0, -MACHINE_END +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Realtek RTD1195 + * + * Copyright (c) 2017-2019 Andreas Färber + */ + +#include +#include + +static void __init rtd1195_memblock_remove(phys_addr_t base, phys_addr_t size) +{ + int ret; + + ret = memblock_remove(base, size); + if (ret) + pr_err("Failed to remove memblock %pa (%d)\n", &base, ret); +} + +static void __init rtd1195_reserve(void) +{ + /* Exclude boot ROM from RAM */ + rtd1195_memblock_remove(0x00000000, 0x0000a800); + + /* Exclude peripheral register spaces from RAM */ + rtd1195_memblock_remove(0x18000000, 0x00070000); + rtd1195_memblock_remove(0x18100000, 0x01000000); +} + +static const char *const rtd1195_dt_compat[] __initconst = { + "realtek,rtd1195", + NULL +}; + +DT_MACHINE_START(rtd1195, "Realtek RTD1195") + .dt_compat = rtd1195_dt_compat, + .reserve = rtd1195_reserve, + .l2c_aux_val = 0x0, + .l2c_aux_mask = ~0x0, +MACHINE_END diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-rockchip/Kconfig b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-rockchip/Kconfig index 4ba6a8a502..b7855cc665 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-rockchip/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-rockchip/Kconfig @@ -1,24 +1,24 @@ -# SPDX-License-Identifier: GPL-2.0-only -config ARCH_ROCKCHIP - bool "Rockchip RK2928 and RK3xxx SOCs" - depends on ARCH_MULTI_V7 - select PINCTRL - select PINCTRL_ROCKCHIP - select ARCH_HAS_RESET_CONTROLLER - select ARM_AMBA - select ARM_GIC - select CACHE_L2X0 - select GPIOLIB - select HAVE_ARM_ARCH_TIMER - select HAVE_ARM_SCU if SMP - select HAVE_ARM_TWD if SMP - select DW_APB_TIMER_OF - select REGULATOR if PM - select ROCKCHIP_TIMER - select ARM_GLOBAL_TIMER - select CLKSRC_ARM_GLOBAL_TIMER_SCHED_CLOCK - select ZONE_DMA if ARM_LPAE - select PM - help - Support for Rockchip's Cortex-A9 Single-to-Quad-Core-SoCs - containing the RK2928, RK30xx and RK31xx series. +# SPDX-License-Identifier: GPL-2.0-only +config ARCH_ROCKCHIP + bool "Rockchip RK2928 and RK3xxx SOCs" + depends on ARCH_MULTI_V7 + select PINCTRL + select PINCTRL_ROCKCHIP + select ARCH_HAS_RESET_CONTROLLER + select ARM_AMBA + select ARM_GIC + select CACHE_L2X0 + select GPIOLIB + select HAVE_ARM_ARCH_TIMER + select HAVE_ARM_SCU if SMP + select HAVE_ARM_TWD if SMP + select DW_APB_TIMER_OF + select REGULATOR if PM + select ROCKCHIP_TIMER + select ARM_GLOBAL_TIMER + select CLKSRC_ARM_GLOBAL_TIMER_SCHED_CLOCK + select ZONE_DMA if ARM_LPAE + select PM + help + Support for Rockchip's Cortex-A9 Single-to-Quad-Core-SoCs + containing the RK2928, RK30xx and RK31xx series. diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-rpc/Kconfig b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-rpc/Kconfig index 28207a3bd5..55f6d829b6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-rpc/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-rpc/Kconfig @@ -1,21 +1,21 @@ -config ARCH_RPC - bool "RiscPC" - depends on ARCH_MULTI_V4 && !(ARCH_MULTI_V4T || ARCH_MULTI_V5) - depends on !(ARCH_FOOTBRIDGE || ARCH_SA1100 || ARCH_MOXART || ARCH_GEMINI) - depends on !CC_IS_CLANG && GCC_VERSION < 90100 && GCC_VERSION >= 60000 - depends on CPU_LITTLE_ENDIAN - depends on ATAGS - depends on MMU - select ARCH_ACORN - select ARCH_MAY_HAVE_PC_FDC - select CPU_SA110 - select FIQ - select HAVE_PATA_PLATFORM - select ISA_DMA_API - select LEGACY_TIMER_TICK - select NEED_MACH_IO_H - select NEED_MACH_MEMORY_H - select NO_IOPORT_MAP - help - On the Acorn Risc-PC, Linux can support the internal IDE disk and - CD-ROM interface, serial and parallel port, and the floppy drive. +config ARCH_RPC + bool "RiscPC" + depends on ARCH_MULTI_V4 && !(ARCH_MULTI_V4T || ARCH_MULTI_V5) + depends on !(ARCH_FOOTBRIDGE || ARCH_SA1100 || ARCH_MOXART || ARCH_GEMINI) + depends on !CC_IS_CLANG && GCC_VERSION < 90100 && GCC_VERSION >= 60000 + depends on CPU_LITTLE_ENDIAN + depends on ATAGS + depends on MMU + select ARCH_ACORN + select ARCH_MAY_HAVE_PC_FDC + select CPU_SA110 + select FIQ + select HAVE_PATA_PLATFORM + select ISA_DMA_API + select LEGACY_TIMER_TICK + select NEED_MACH_IO_H + select NEED_MACH_MEMORY_H + select NO_IOPORT_MAP + help + On the Acorn Risc-PC, Linux can support the internal IDE disk and + CD-ROM interface, serial and parallel port, and the floppy drive. diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-rpc/ecard-loader.S b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-rpc/ecard-loader.S index e0f4d74313..eb8ac0412d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-rpc/ecard-loader.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-rpc/ecard-loader.S @@ -1,40 +1,40 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * linux/arch/arm/lib/ecard.S - * - * Copyright (C) 1995, 1996 Russell King - * - * 27/03/03 Ian Molton Clean up CONFIG_CPU - */ -#include -#include - -#define CPSR2SPSR(rt) \ - mrs rt, cpsr; \ - msr spsr_cxsf, rt - -@ Purpose: call an expansion card loader to read bytes. -@ Proto : char read_loader(int offset, char *card_base, char *loader); -@ Returns: byte read - -ENTRY(ecard_loader_read) - stmfd sp!, {r4 - r12, lr} - mov r11, r1 - mov r1, r0 - CPSR2SPSR(r0) - mov lr, pc - mov pc, r2 - ldmfd sp!, {r4 - r12, pc} - -@ Purpose: call an expansion card loader to reset the card -@ Proto : void read_loader(int card_base, char *loader); -@ Returns: byte read - -ENTRY(ecard_loader_reset) - stmfd sp!, {r4 - r12, lr} - mov r11, r0 - CPSR2SPSR(r0) - mov lr, pc - add pc, r1, #8 - ldmfd sp!, {r4 - r12, pc} - +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * linux/arch/arm/lib/ecard.S + * + * Copyright (C) 1995, 1996 Russell King + * + * 27/03/03 Ian Molton Clean up CONFIG_CPU + */ +#include +#include + +#define CPSR2SPSR(rt) \ + mrs rt, cpsr; \ + msr spsr_cxsf, rt + +@ Purpose: call an expansion card loader to read bytes. +@ Proto : char read_loader(int offset, char *card_base, char *loader); +@ Returns: byte read + +ENTRY(ecard_loader_read) + stmfd sp!, {r4 - r12, lr} + mov r11, r1 + mov r1, r0 + CPSR2SPSR(r0) + mov lr, pc + mov pc, r2 + ldmfd sp!, {r4 - r12, pc} + +@ Purpose: call an expansion card loader to reset the card +@ Proto : void read_loader(int card_base, char *loader); +@ Returns: byte read + +ENTRY(ecard_loader_reset) + stmfd sp!, {r4 - r12, lr} + mov r11, r0 + CPSR2SPSR(r0) + mov lr, pc + add pc, r1, #8 + ldmfd sp!, {r4 - r12, pc} + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-rpc/include/mach/io.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-rpc/include/mach/io.h index 5e3399e373..8a8f284066 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-rpc/include/mach/io.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-rpc/include/mach/io.h @@ -1,28 +1,28 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * arch/arm/mach-rpc/include/mach/io.h - * - * Copyright (C) 1997 Russell King - * - * Modifications: - * 06-Dec-1997 RMK Created. - */ -#ifndef __ASM_ARM_ARCH_IO_H -#define __ASM_ARM_ARCH_IO_H - -#include - -#define IO_SPACE_LIMIT 0xffff - -/* - * We need PC style IO addressing for: - * - floppy (at 0x3f2,0x3f4,0x3f5,0x3f7) - * - parport (at 0x278-0x27a, 0x27b-0x27f, 0x778-0x77a) - * - 8250 serial (only for compile) - * - * These peripherals are found in an area of MMIO which looks very much - * like an ISA bus, but with registers at the low byte of each word. - */ -#define __io(a) (PCIO_BASE + ((a) << 2)) - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * arch/arm/mach-rpc/include/mach/io.h + * + * Copyright (C) 1997 Russell King + * + * Modifications: + * 06-Dec-1997 RMK Created. + */ +#ifndef __ASM_ARM_ARCH_IO_H +#define __ASM_ARM_ARCH_IO_H + +#include + +#define IO_SPACE_LIMIT 0xffff + +/* + * We need PC style IO addressing for: + * - floppy (at 0x3f2,0x3f4,0x3f5,0x3f7) + * - parport (at 0x278-0x27a, 0x27b-0x27f, 0x778-0x77a) + * - 8250 serial (only for compile) + * + * These peripherals are found in an area of MMIO which looks very much + * like an ISA bus, but with registers at the low byte of each word. + */ +#define __io(a) (PCIO_BASE + ((a) << 2)) + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-rpc/include/mach/irqs.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-rpc/include/mach/irqs.h index a576693392..0c3428fd97 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-rpc/include/mach/irqs.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-rpc/include/mach/irqs.h @@ -1,42 +1,42 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * arch/arm/mach-rpc/include/mach/irqs.h - * - * Copyright (C) 1996 Russell King - */ - -#define IRQ_PRINTER 0 -#define IRQ_BATLOW 1 -#define IRQ_FLOPPYINDEX 2 -#define IRQ_VSYNCPULSE 3 -#define IRQ_POWERON 4 -#define IRQ_TIMER0 5 -#define IRQ_TIMER1 6 -#define IRQ_IMMEDIATE 7 -#define IRQ_EXPCARDFIQ 8 -#define IRQ_HARDDISK 9 -#define IRQ_SERIALPORT 10 -#define IRQ_FLOPPYDISK 12 -#define IRQ_EXPANSIONCARD 13 -#define IRQ_KEYBOARDTX 14 -#define IRQ_KEYBOARDRX 15 - -#define IRQ_DMA0 16 -#define IRQ_DMA1 17 -#define IRQ_DMA2 18 -#define IRQ_DMA3 19 -#define IRQ_DMAS0 20 -#define IRQ_DMAS1 21 - -#define FIQ_FLOPPYDATA 0 -#define FIQ_ECONET 2 -#define FIQ_SERIALPORT 4 -#define FIQ_EXPANSIONCARD 6 -#define FIQ_FORCE 7 - -/* - * This is the offset of the FIQ "IRQ" numbers - */ -#define FIQ_START 64 - -#define NR_IRQS 128 +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * arch/arm/mach-rpc/include/mach/irqs.h + * + * Copyright (C) 1996 Russell King + */ + +#define IRQ_PRINTER 0 +#define IRQ_BATLOW 1 +#define IRQ_FLOPPYINDEX 2 +#define IRQ_VSYNCPULSE 3 +#define IRQ_POWERON 4 +#define IRQ_TIMER0 5 +#define IRQ_TIMER1 6 +#define IRQ_IMMEDIATE 7 +#define IRQ_EXPCARDFIQ 8 +#define IRQ_HARDDISK 9 +#define IRQ_SERIALPORT 10 +#define IRQ_FLOPPYDISK 12 +#define IRQ_EXPANSIONCARD 13 +#define IRQ_KEYBOARDTX 14 +#define IRQ_KEYBOARDRX 15 + +#define IRQ_DMA0 16 +#define IRQ_DMA1 17 +#define IRQ_DMA2 18 +#define IRQ_DMA3 19 +#define IRQ_DMAS0 20 +#define IRQ_DMAS1 21 + +#define FIQ_FLOPPYDATA 0 +#define FIQ_ECONET 2 +#define FIQ_SERIALPORT 4 +#define FIQ_EXPANSIONCARD 6 +#define FIQ_FORCE 7 + +/* + * This is the offset of the FIQ "IRQ" numbers + */ +#define FIQ_START 64 + +#define NR_IRQS 128 diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-rpc/include/mach/memory.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-rpc/include/mach/memory.h index 11da4afdc0..a586eb31b1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-rpc/include/mach/memory.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-rpc/include/mach/memory.h @@ -1,32 +1,32 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * arch/arm/mach-rpc/include/mach/memory.h - * - * Copyright (C) 1996,1997,1998 Russell King. - * - * Changelog: - * 20-Oct-1996 RMK Created - * 31-Dec-1997 RMK Fixed definitions to reduce warnings - * 11-Jan-1998 RMK Uninlined to reduce hits on cache - * 08-Feb-1998 RMK Added __virt_to_bus and __bus_to_virt - * 21-Mar-1999 RMK Renamed to memory.h - * RMK Added TASK_SIZE and PAGE_OFFSET - */ -#ifndef __ASM_ARCH_MEMORY_H -#define __ASM_ARCH_MEMORY_H - -/* - * Cache flushing area - ROM - */ -#define FLUSH_BASE_PHYS 0x00000000 -#define FLUSH_BASE 0xdf000000 - -/* - * Sparsemem support. Each section is a maximum of 64MB. The sections - * are offset by 128MB and can cover 128MB, so that gives us a maximum - * of 29 physmem bits. - */ -#define MAX_PHYSMEM_BITS 29 -#define SECTION_SIZE_BITS 26 - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * arch/arm/mach-rpc/include/mach/memory.h + * + * Copyright (C) 1996,1997,1998 Russell King. + * + * Changelog: + * 20-Oct-1996 RMK Created + * 31-Dec-1997 RMK Fixed definitions to reduce warnings + * 11-Jan-1998 RMK Uninlined to reduce hits on cache + * 08-Feb-1998 RMK Added __virt_to_bus and __bus_to_virt + * 21-Mar-1999 RMK Renamed to memory.h + * RMK Added TASK_SIZE and PAGE_OFFSET + */ +#ifndef __ASM_ARCH_MEMORY_H +#define __ASM_ARCH_MEMORY_H + +/* + * Cache flushing area - ROM + */ +#define FLUSH_BASE_PHYS 0x00000000 +#define FLUSH_BASE 0xdf000000 + +/* + * Sparsemem support. Each section is a maximum of 64MB. The sections + * are offset by 128MB and can cover 128MB, so that gives us a maximum + * of 29 physmem bits. + */ +#define MAX_PHYSMEM_BITS 29 +#define SECTION_SIZE_BITS 26 + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/cpu.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/cpu.c index 811705ca96..3491f790d5 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/cpu.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/cpu.c @@ -1,32 +1,32 @@ -// SPDX-License-Identifier: GPL-2.0 -// -// Copyright (c) 2009-2011 Samsung Electronics Co., Ltd. -// http://www.samsung.com -// -// Samsung CPU Support - -#include -#include -#include -#include - -#include "map-base.h" -#include "cpu.h" - -unsigned long samsung_cpu_id; - -void __init s3c64xx_init_cpu(void) -{ - samsung_cpu_id = readl_relaxed(S3C_VA_SYS + 0x118); - if (!samsung_cpu_id) { - /* - * S3C6400 has the ID register in a different place, - * and needs a write before it can be read. - */ - writel_relaxed(0x0, S3C_VA_SYS + 0xA1C); - samsung_cpu_id = readl_relaxed(S3C_VA_SYS + 0xA1C); - } - - pr_info("Samsung CPU ID: 0x%08lx\n", samsung_cpu_id); - pr_err("The platform is deprecated and scheduled for removal. Please reach to the maintainers of the platform and linux-samsung-soc@vger.kernel.org if you still use it. Without such feedback, the platform will be removed after 2022.\n"); -} +// SPDX-License-Identifier: GPL-2.0 +// +// Copyright (c) 2009-2011 Samsung Electronics Co., Ltd. +// http://www.samsung.com +// +// Samsung CPU Support + +#include +#include +#include +#include + +#include "map-base.h" +#include "cpu.h" + +unsigned long samsung_cpu_id; + +void __init s3c64xx_init_cpu(void) +{ + samsung_cpu_id = readl_relaxed(S3C_VA_SYS + 0x118); + if (!samsung_cpu_id) { + /* + * S3C6400 has the ID register in a different place, + * and needs a write before it can be read. + */ + writel_relaxed(0x0, S3C_VA_SYS + 0xA1C); + samsung_cpu_id = readl_relaxed(S3C_VA_SYS + 0xA1C); + } + + pr_info("Samsung CPU ID: 0x%08lx\n", samsung_cpu_id); + pr_err("The platform is deprecated and scheduled for removal. Please reach to the maintainers of the platform and linux-samsung-soc@vger.kernel.org if you still use it. Without such feedback, the platform will be removed after 2022.\n"); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/crag6410.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/crag6410.h index d9b00cec05..f39ea2ca7a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/crag6410.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/crag6410.h @@ -1,22 +1,22 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* Cragganmore 6410 shared definitions - * - * Copyright 2011 Wolfson Microelectronics plc - * Mark Brown - */ - -#ifndef MACH_CRAG6410_H -#define MACH_CRAG6410_H - -#include "gpio-samsung.h" - -#define GLENFARCLAS_PMIC_IRQ_BASE IRQ_BOARD_START -#define BANFF_PMIC_IRQ_BASE (IRQ_BOARD_START + 64) - -#define PCA935X_GPIO_BASE GPIO_BOARD_START -#define CODEC_GPIO_BASE (GPIO_BOARD_START + 8) -#define GLENFARCLAS_PMIC_GPIO_BASE (GPIO_BOARD_START + 32) -#define BANFF_PMIC_GPIO_BASE (GPIO_BOARD_START + 64) -#define MMGPIO_GPIO_BASE (GPIO_BOARD_START + 96) - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +/* Cragganmore 6410 shared definitions + * + * Copyright 2011 Wolfson Microelectronics plc + * Mark Brown + */ + +#ifndef MACH_CRAG6410_H +#define MACH_CRAG6410_H + +#include "gpio-samsung.h" + +#define GLENFARCLAS_PMIC_IRQ_BASE IRQ_BOARD_START +#define BANFF_PMIC_IRQ_BASE (IRQ_BOARD_START + 64) + +#define PCA935X_GPIO_BASE GPIO_BOARD_START +#define CODEC_GPIO_BASE (GPIO_BOARD_START + 8) +#define GLENFARCLAS_PMIC_GPIO_BASE (GPIO_BOARD_START + 32) +#define BANFF_PMIC_GPIO_BASE (GPIO_BOARD_START + 64) +#define MMGPIO_GPIO_BASE (GPIO_BOARD_START + 96) + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/dev-uart.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/dev-uart.c index 9eb9bde9d7..3d1f7f2fd7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/dev-uart.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/dev-uart.c @@ -1,41 +1,41 @@ -// SPDX-License-Identifier: GPL-2.0 -// -// originally from arch/arm/plat-s3c24xx/devs.c -// -// Copyright (c) 2004 Simtec Electronics -// Ben Dooks -// -// Base S3C24XX platform device definitions - -#include -#include - -#include "devs.h" - -/* uart devices */ - -static struct platform_device s3c24xx_uart_device0 = { - .id = 0, -}; - -static struct platform_device s3c24xx_uart_device1 = { - .id = 1, -}; - -static struct platform_device s3c24xx_uart_device2 = { - .id = 2, -}; - -static struct platform_device s3c24xx_uart_device3 = { - .id = 3, -}; - -struct platform_device *s3c24xx_uart_src[4] = { - &s3c24xx_uart_device0, - &s3c24xx_uart_device1, - &s3c24xx_uart_device2, - &s3c24xx_uart_device3, -}; - -struct platform_device *s3c24xx_uart_devs[4] = { -}; +// SPDX-License-Identifier: GPL-2.0 +// +// originally from arch/arm/plat-s3c24xx/devs.c +// +// Copyright (c) 2004 Simtec Electronics +// Ben Dooks +// +// Base S3C24XX platform device definitions + +#include +#include + +#include "devs.h" + +/* uart devices */ + +static struct platform_device s3c24xx_uart_device0 = { + .id = 0, +}; + +static struct platform_device s3c24xx_uart_device1 = { + .id = 1, +}; + +static struct platform_device s3c24xx_uart_device2 = { + .id = 2, +}; + +static struct platform_device s3c24xx_uart_device3 = { + .id = 3, +}; + +struct platform_device *s3c24xx_uart_src[4] = { + &s3c24xx_uart_device0, + &s3c24xx_uart_device1, + &s3c24xx_uart_device2, + &s3c24xx_uart_device3, +}; + +struct platform_device *s3c24xx_uart_devs[4] = { +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/fb.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/fb.h index bc4df96b7d..615d381ae3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/fb.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/fb.h @@ -1,31 +1,31 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright 2008 Openmoko, Inc. - * Copyright 2008 Simtec Electronics - * http://armlinux.simtec.co.uk/ - * Ben Dooks - * - * S3C - FB platform data definitions - */ - -#ifndef __PLAT_S3C_FB_H -#define __PLAT_S3C_FB_H __FILE__ - -#include - -/** - * s3c_fb_set_platdata() - Setup the FB device with platform data. - * @pd: The platform data to set. The data is copied from the passed structure - * so the machine data can mark the data __initdata so that any unused - * machines will end up dumping their data at runtime. - */ -extern void s3c_fb_set_platdata(struct s3c_fb_platdata *pd); - -/** - * s3c64xx_fb_gpio_setup_24bpp() - S3C64XX setup function for 24bpp LCD - * - * Initialise the GPIO for an 24bpp LCD display on the RGB interface. - */ -extern void s3c64xx_fb_gpio_setup_24bpp(void); - -#endif /* __PLAT_S3C_FB_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright 2008 Openmoko, Inc. + * Copyright 2008 Simtec Electronics + * http://armlinux.simtec.co.uk/ + * Ben Dooks + * + * S3C - FB platform data definitions + */ + +#ifndef __PLAT_S3C_FB_H +#define __PLAT_S3C_FB_H __FILE__ + +#include + +/** + * s3c_fb_set_platdata() - Setup the FB device with platform data. + * @pd: The platform data to set. The data is copied from the passed structure + * so the machine data can mark the data __initdata so that any unused + * machines will end up dumping their data at runtime. + */ +extern void s3c_fb_set_platdata(struct s3c_fb_platdata *pd); + +/** + * s3c64xx_fb_gpio_setup_24bpp() - S3C64XX setup function for 24bpp LCD + * + * Initialise the GPIO for an 24bpp LCD display on the RGB interface. + */ +extern void s3c64xx_fb_gpio_setup_24bpp(void); + +#endif /* __PLAT_S3C_FB_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/iic-core.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/iic-core.h index 718404e1de..6672691bd7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/iic-core.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/iic-core.h @@ -1,31 +1,31 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright 2008 Openmoko, Inc. - * Copyright 2008 Simtec Electronics - * Ben Dooks - * - * S3C - I2C Controller core functions - */ - -#ifndef __ASM_ARCH_IIC_CORE_H -#define __ASM_ARCH_IIC_CORE_H __FILE__ - -/* These functions are only for use with the core support code, such as - * the cpu specific initialisation code - */ - -/* re-define device name depending on support. */ -static inline void s3c_i2c0_setname(char *name) -{ - /* currently this device is always compiled in */ - s3c_device_i2c0.name = name; -} - -static inline void s3c_i2c1_setname(char *name) -{ -#ifdef CONFIG_S3C_DEV_I2C1 - s3c_device_i2c1.name = name; -#endif -} - -#endif /* __ASM_ARCH_IIC_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright 2008 Openmoko, Inc. + * Copyright 2008 Simtec Electronics + * Ben Dooks + * + * S3C - I2C Controller core functions + */ + +#ifndef __ASM_ARCH_IIC_CORE_H +#define __ASM_ARCH_IIC_CORE_H __FILE__ + +/* These functions are only for use with the core support code, such as + * the cpu specific initialisation code + */ + +/* re-define device name depending on support. */ +static inline void s3c_i2c0_setname(char *name) +{ + /* currently this device is always compiled in */ + s3c_device_i2c0.name = name; +} + +static inline void s3c_i2c1_setname(char *name) +{ +#ifdef CONFIG_S3C_DEV_I2C1 + s3c_device_i2c1.name = name; +#endif +} + +#endif /* __ASM_ARCH_IIC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/keypad.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/keypad.h index 3b991a39a0..9754b9a299 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/keypad.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/keypad.h @@ -1,27 +1,27 @@ -/* SPDX-License-Identifier: GPL-2.0+ */ -/* - * Samsung Platform - Keypad platform data definitions - * - * Copyright (C) 2010 Samsung Electronics Co.Ltd - * Author: Joonyoung Shim - */ - -#ifndef __PLAT_SAMSUNG_KEYPAD_H -#define __PLAT_SAMSUNG_KEYPAD_H - -#include - -/** - * samsung_keypad_set_platdata - Set platform data for Samsung Keypad device. - * @pd: Platform data to register to device. - * - * Register the given platform data for use with Samsung Keypad device. - * The call will copy the platform data, so the board definitions can - * make the structure itself __initdata. - */ -extern void samsung_keypad_set_platdata(struct samsung_keypad_platdata *pd); - -/* defined by architecture to configure gpio. */ -extern void samsung_keypad_cfg_gpio(unsigned int rows, unsigned int cols); - -#endif /* __PLAT_SAMSUNG_KEYPAD_H */ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * Samsung Platform - Keypad platform data definitions + * + * Copyright (C) 2010 Samsung Electronics Co.Ltd + * Author: Joonyoung Shim + */ + +#ifndef __PLAT_SAMSUNG_KEYPAD_H +#define __PLAT_SAMSUNG_KEYPAD_H + +#include + +/** + * samsung_keypad_set_platdata - Set platform data for Samsung Keypad device. + * @pd: Platform data to register to device. + * + * Register the given platform data for use with Samsung Keypad device. + * The call will copy the platform data, so the board definitions can + * make the structure itself __initdata. + */ +extern void samsung_keypad_set_platdata(struct samsung_keypad_platdata *pd); + +/* defined by architecture to configure gpio. */ +extern void samsung_keypad_cfg_gpio(unsigned int rows, unsigned int cols); + +#endif /* __PLAT_SAMSUNG_KEYPAD_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/map-s3c.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/map-s3c.h index 45b54ae496..b5f5bdba38 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/map-s3c.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/map-s3c.h @@ -1,33 +1,33 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (c) 2008 Simtec Electronics - * Ben Dooks - * - * S3C24XX - Memory map definitions - */ - -#ifndef __ASM_PLAT_MAP_S3C_H -#define __ASM_PLAT_MAP_S3C_H __FILE__ - -#include "map.h" - -/* - * GPIO ports - * - * the calculation for the VA of this must ensure that - * it is the same distance apart from the UART in the - * phsyical address space, as the initial mapping for the IO - * is done as a 1:1 mapping. This puts it (currently) at - * 0xFA800000, which is not in the way of any current mapping - * by the base system. -*/ -#define S3C64XX_VA_GPIO S3C_ADDR_CPU(0x00000000) - -#define S3C64XX_VA_MODEM S3C_ADDR_CPU(0x00100000) -#define S3C64XX_VA_USB_HSPHY S3C_ADDR_CPU(0x00200000) - -#define S3C_VA_USB_HSPHY S3C64XX_VA_USB_HSPHY - -#include "map-s5p.h" - -#endif /* __ASM_PLAT_MAP_S3C_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (c) 2008 Simtec Electronics + * Ben Dooks + * + * S3C24XX - Memory map definitions + */ + +#ifndef __ASM_PLAT_MAP_S3C_H +#define __ASM_PLAT_MAP_S3C_H __FILE__ + +#include "map.h" + +/* + * GPIO ports + * + * the calculation for the VA of this must ensure that + * it is the same distance apart from the UART in the + * phsyical address space, as the initial mapping for the IO + * is done as a 1:1 mapping. This puts it (currently) at + * 0xFA800000, which is not in the way of any current mapping + * by the base system. +*/ +#define S3C64XX_VA_GPIO S3C_ADDR_CPU(0x00000000) + +#define S3C64XX_VA_MODEM S3C_ADDR_CPU(0x00100000) +#define S3C64XX_VA_USB_HSPHY S3C_ADDR_CPU(0x00200000) + +#define S3C_VA_USB_HSPHY S3C64XX_VA_USB_HSPHY + +#include "map-s5p.h" + +#endif /* __ASM_PLAT_MAP_S3C_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/regs-clock-s3c64xx.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/regs-clock-s3c64xx.h index 4af6e45c97..35a68767b3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/regs-clock-s3c64xx.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/regs-clock-s3c64xx.h @@ -1,34 +1,34 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright 2008 Openmoko, Inc. - * Copyright 2008 Simtec Electronics - * Ben Dooks - * http://armlinux.simtec.co.uk/ - * - * S3C64XX clock register definitions - */ - -#ifndef __PLAT_REGS_CLOCK_H -#define __PLAT_REGS_CLOCK_H __FILE__ - -/* - * FIXME: Remove remaining definitions - */ - -#define S3C_CLKREG(x) (S3C_VA_SYS + (x)) - -#define S3C_PCLK_GATE S3C_CLKREG(0x34) -#define S3C6410_CLK_SRC2 S3C_CLKREG(0x10C) -#define S3C_MEM_SYS_CFG S3C_CLKREG(0x120) - -/* PCLK GATE Registers */ -#define S3C_CLKCON_PCLK_UART3 (1<<4) -#define S3C_CLKCON_PCLK_UART2 (1<<3) -#define S3C_CLKCON_PCLK_UART1 (1<<2) -#define S3C_CLKCON_PCLK_UART0 (1<<1) - -/* MEM_SYS_CFG */ -#define MEM_SYS_CFG_INDEP_CF 0x4000 -#define MEM_SYS_CFG_EBI_FIX_PRI_CFCON 0x30 - -#endif /* _PLAT_REGS_CLOCK_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright 2008 Openmoko, Inc. + * Copyright 2008 Simtec Electronics + * Ben Dooks + * http://armlinux.simtec.co.uk/ + * + * S3C64XX clock register definitions + */ + +#ifndef __PLAT_REGS_CLOCK_H +#define __PLAT_REGS_CLOCK_H __FILE__ + +/* + * FIXME: Remove remaining definitions + */ + +#define S3C_CLKREG(x) (S3C_VA_SYS + (x)) + +#define S3C_PCLK_GATE S3C_CLKREG(0x34) +#define S3C6410_CLK_SRC2 S3C_CLKREG(0x10C) +#define S3C_MEM_SYS_CFG S3C_CLKREG(0x120) + +/* PCLK GATE Registers */ +#define S3C_CLKCON_PCLK_UART3 (1<<4) +#define S3C_CLKCON_PCLK_UART2 (1<<3) +#define S3C_CLKCON_PCLK_UART1 (1<<2) +#define S3C_CLKCON_PCLK_UART0 (1<<1) + +/* MEM_SYS_CFG */ +#define MEM_SYS_CFG_INDEP_CF 0x4000 +#define MEM_SYS_CFG_EBI_FIX_PRI_CFCON 0x30 + +#endif /* _PLAT_REGS_CLOCK_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/regs-gpio-memport-s3c64xx.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/regs-gpio-memport-s3c64xx.h index d30ae8f902..589afe1132 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/regs-gpio-memport-s3c64xx.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/regs-gpio-memport-s3c64xx.h @@ -1,25 +1,25 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright 2008 Openmoko, Inc. - * Copyright 2008 Simtec Electronics - * Ben Dooks - * http://armlinux.simtec.co.uk/ - * - * S3C64XX - GPIO memory port register definitions - */ - -#ifndef __MACH_S3C64XX_REGS_GPIO_MEMPORT_H -#define __MACH_S3C64XX_REGS_GPIO_MEMPORT_H __FILE__ - -#define S3C64XX_MEM0CONSTOP S3C64XX_GPIOREG(0x1B0) -#define S3C64XX_MEM1CONSTOP S3C64XX_GPIOREG(0x1B4) - -#define S3C64XX_MEM0CONSLP0 S3C64XX_GPIOREG(0x1C0) -#define S3C64XX_MEM0CONSLP1 S3C64XX_GPIOREG(0x1C4) -#define S3C64XX_MEM1CONSLP S3C64XX_GPIOREG(0x1C8) - -#define S3C64XX_MEM0DRVCON S3C64XX_GPIOREG(0x1D0) -#define S3C64XX_MEM1DRVCON S3C64XX_GPIOREG(0x1D4) - -#endif /* __MACH_S3C64XX_REGS_GPIO_MEMPORT_H */ - +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright 2008 Openmoko, Inc. + * Copyright 2008 Simtec Electronics + * Ben Dooks + * http://armlinux.simtec.co.uk/ + * + * S3C64XX - GPIO memory port register definitions + */ + +#ifndef __MACH_S3C64XX_REGS_GPIO_MEMPORT_H +#define __MACH_S3C64XX_REGS_GPIO_MEMPORT_H __FILE__ + +#define S3C64XX_MEM0CONSTOP S3C64XX_GPIOREG(0x1B0) +#define S3C64XX_MEM1CONSTOP S3C64XX_GPIOREG(0x1B4) + +#define S3C64XX_MEM0CONSLP0 S3C64XX_GPIOREG(0x1C0) +#define S3C64XX_MEM0CONSLP1 S3C64XX_GPIOREG(0x1C4) +#define S3C64XX_MEM1CONSLP S3C64XX_GPIOREG(0x1C8) + +#define S3C64XX_MEM0DRVCON S3C64XX_GPIOREG(0x1D0) +#define S3C64XX_MEM1DRVCON S3C64XX_GPIOREG(0x1D4) + +#endif /* __MACH_S3C64XX_REGS_GPIO_MEMPORT_H */ + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/regs-modem-s3c64xx.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/regs-modem-s3c64xx.h index 4c5c611320..136ad44291 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/regs-modem-s3c64xx.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/regs-modem-s3c64xx.h @@ -1,27 +1,27 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright 2008 Openmoko, Inc. - * Copyright 2008 Simtec Electronics - * http://armlinux.simtec.co.uk/ - * Ben Dooks - * - * S3C64XX - modem block registers - */ - -#ifndef __MACH_S3C64XX_REGS_MODEM_H -#define __MACH_S3C64XX_REGS_MODEM_H __FILE__ - -#define S3C64XX_MODEMREG(x) (S3C64XX_VA_MODEM + (x)) - -#define S3C64XX_MODEM_INT2AP S3C64XX_MODEMREG(0x0) -#define S3C64XX_MODEM_INT2MODEM S3C64XX_MODEMREG(0x4) -#define S3C64XX_MODEM_MIFCON S3C64XX_MODEMREG(0x8) -#define S3C64XX_MODEM_MIFPCON S3C64XX_MODEMREG(0xC) -#define S3C64XX_MODEM_INTCLR S3C64XX_MODEMREG(0x10) -#define S3C64XX_MODEM_DMA_TXADDR S3C64XX_MODEMREG(0x14) -#define S3C64XX_MODEM_DMA_RXADDR S3C64XX_MODEMREG(0x18) - -#define MIFPCON_INT2M_LEVEL (1 << 4) -#define MIFPCON_LCD_BYPASS (1 << 3) - -#endif /* __MACH_S3C64XX_REGS_MODEM_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright 2008 Openmoko, Inc. + * Copyright 2008 Simtec Electronics + * http://armlinux.simtec.co.uk/ + * Ben Dooks + * + * S3C64XX - modem block registers + */ + +#ifndef __MACH_S3C64XX_REGS_MODEM_H +#define __MACH_S3C64XX_REGS_MODEM_H __FILE__ + +#define S3C64XX_MODEMREG(x) (S3C64XX_VA_MODEM + (x)) + +#define S3C64XX_MODEM_INT2AP S3C64XX_MODEMREG(0x0) +#define S3C64XX_MODEM_INT2MODEM S3C64XX_MODEMREG(0x4) +#define S3C64XX_MODEM_MIFCON S3C64XX_MODEMREG(0x8) +#define S3C64XX_MODEM_MIFPCON S3C64XX_MODEMREG(0xC) +#define S3C64XX_MODEM_INTCLR S3C64XX_MODEMREG(0x10) +#define S3C64XX_MODEM_DMA_TXADDR S3C64XX_MODEMREG(0x14) +#define S3C64XX_MODEM_DMA_RXADDR S3C64XX_MODEMREG(0x18) + +#define MIFPCON_INT2M_LEVEL (1 << 4) +#define MIFPCON_LCD_BYPASS (1 << 3) + +#endif /* __MACH_S3C64XX_REGS_MODEM_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/regs-sys-s3c64xx.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/regs-sys-s3c64xx.h index a57bbf8555..3687325e2b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/regs-sys-s3c64xx.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/regs-sys-s3c64xx.h @@ -1,27 +1,27 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright 2008 Openmoko, Inc. - * Copyright 2008 Simtec Electronics - * Ben Dooks - * http://armlinux.simtec.co.uk/ - * - * S3C64XX system register definitions -*/ - -#ifndef __MACH_S3C64XX_REGS_SYS_H -#define __MACH_S3C64XX_REGS_SYS_H __FILE__ - -#define S3C_SYSREG(x) (S3C_VA_SYS + (x)) - -#define S3C64XX_AHB_CON0 S3C_SYSREG(0x100) -#define S3C64XX_AHB_CON1 S3C_SYSREG(0x104) -#define S3C64XX_AHB_CON2 S3C_SYSREG(0x108) - -#define S3C64XX_SDMA_SEL S3C_SYSREG(0x110) - -#define S3C64XX_OTHERS S3C_SYSREG(0x900) - -#define S3C64XX_OTHERS_USBMASK (1 << 16) -#define S3C64XX_OTHERS_SYNCMUXSEL (1 << 6) - -#endif /* __MACH_S3C64XX_REGS_SYS_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright 2008 Openmoko, Inc. + * Copyright 2008 Simtec Electronics + * Ben Dooks + * http://armlinux.simtec.co.uk/ + * + * S3C64XX system register definitions +*/ + +#ifndef __MACH_S3C64XX_REGS_SYS_H +#define __MACH_S3C64XX_REGS_SYS_H __FILE__ + +#define S3C_SYSREG(x) (S3C_VA_SYS + (x)) + +#define S3C64XX_AHB_CON0 S3C_SYSREG(0x100) +#define S3C64XX_AHB_CON1 S3C_SYSREG(0x104) +#define S3C64XX_AHB_CON2 S3C_SYSREG(0x108) + +#define S3C64XX_SDMA_SEL S3C_SYSREG(0x110) + +#define S3C64XX_OTHERS S3C_SYSREG(0x900) + +#define S3C64XX_OTHERS_USBMASK (1 << 16) +#define S3C64XX_OTHERS_SYNCMUXSEL (1 << 6) + +#endif /* __MACH_S3C64XX_REGS_SYS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/wakeup-mask.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/wakeup-mask.c index 5413c1ba80..b490e7527c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/wakeup-mask.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/wakeup-mask.c @@ -1,42 +1,42 @@ -// SPDX-License-Identifier: GPL-2.0 -// -// Copyright 2010 Ben Dooks -// -// Support for wakeup mask interrupts on newer SoCs - -#include -#include -#include -#include -#include -#include - -#include "wakeup-mask.h" -#include "pm.h" - -void samsung_sync_wakemask(void __iomem *reg, - const struct samsung_wakeup_mask *mask, int nr_mask) -{ - struct irq_data *data; - u32 val; - - val = __raw_readl(reg); - - for (; nr_mask > 0; nr_mask--, mask++) { - if (mask->irq == NO_WAKEUP_IRQ) { - val |= mask->bit; - continue; - } - - data = irq_get_irq_data(mask->irq); - - /* bit of a liberty to read this directly from irq_data. */ - if (irqd_is_wakeup_set(data)) - val &= ~mask->bit; - else - val |= mask->bit; - } - - printk(KERN_INFO "wakemask %08x => %08x\n", __raw_readl(reg), val); - __raw_writel(val, reg); -} +// SPDX-License-Identifier: GPL-2.0 +// +// Copyright 2010 Ben Dooks +// +// Support for wakeup mask interrupts on newer SoCs + +#include +#include +#include +#include +#include +#include + +#include "wakeup-mask.h" +#include "pm.h" + +void samsung_sync_wakemask(void __iomem *reg, + const struct samsung_wakeup_mask *mask, int nr_mask) +{ + struct irq_data *data; + u32 val; + + val = __raw_readl(reg); + + for (; nr_mask > 0; nr_mask--, mask++) { + if (mask->irq == NO_WAKEUP_IRQ) { + val |= mask->bit; + continue; + } + + data = irq_get_irq_data(mask->irq); + + /* bit of a liberty to read this directly from irq_data. */ + if (irqd_is_wakeup_set(data)) + val &= ~mask->bit; + else + val |= mask->bit; + } + + printk(KERN_INFO "wakemask %08x => %08x\n", __raw_readl(reg), val); + __raw_writel(val, reg); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-sa1100/include/mach/jornada720.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-sa1100/include/mach/jornada720.h index 64a125a39a..bb22fcab8c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-sa1100/include/mach/jornada720.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-sa1100/include/mach/jornada720.h @@ -1,28 +1,28 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * arch/arm/mach-sa1100/include/mach/jornada720.h - * - * SSP/MCU communication definitions for HP Jornada 710/720/728 - * - * Copyright 2007,2008 Kristoffer Ericson - * Copyright 2000 John Ankcorn - */ - - /* HP Jornada 7xx microprocessor commands */ -#define GETBATTERYDATA 0xc0 -#define GETSCANKEYCODE 0x90 -#define GETTOUCHSAMPLES 0xa0 -#define GETCONTRAST 0xD0 -#define SETCONTRAST 0xD1 -#define GETBRIGHTNESS 0xD2 -#define SETBRIGHTNESS 0xD3 -#define CONTRASTOFF 0xD8 -#define BRIGHTNESSOFF 0xD9 -#define PWMOFF 0xDF -#define TXDUMMY 0x11 -#define ERRORCODE 0x00 - -extern void jornada_ssp_start(void); -extern void jornada_ssp_end(void); -extern int jornada_ssp_inout(u8 byte); -extern int jornada_ssp_byte(u8 byte); +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * arch/arm/mach-sa1100/include/mach/jornada720.h + * + * SSP/MCU communication definitions for HP Jornada 710/720/728 + * + * Copyright 2007,2008 Kristoffer Ericson + * Copyright 2000 John Ankcorn + */ + + /* HP Jornada 7xx microprocessor commands */ +#define GETBATTERYDATA 0xc0 +#define GETSCANKEYCODE 0x90 +#define GETTOUCHSAMPLES 0xa0 +#define GETCONTRAST 0xD0 +#define SETCONTRAST 0xD1 +#define GETBRIGHTNESS 0xD2 +#define SETBRIGHTNESS 0xD3 +#define CONTRASTOFF 0xD8 +#define BRIGHTNESSOFF 0xD9 +#define PWMOFF 0xDF +#define TXDUMMY 0x11 +#define ERRORCODE 0x00 + +extern void jornada_ssp_start(void); +extern void jornada_ssp_end(void); +extern int jornada_ssp_inout(u8 byte); +extern int jornada_ssp_byte(u8 byte); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-sa1100/include/mach/mtd-xip.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-sa1100/include/mach/mtd-xip.h index ffbbb710fa..85e6a79112 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-sa1100/include/mach/mtd-xip.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-sa1100/include/mach/mtd-xip.h @@ -1,23 +1,23 @@ -/* 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 __ARCH_SA1100_MTD_XIP_H__ -#define __ARCH_SA1100_MTD_XIP_H__ - -#include - -#define xip_irqpending() (ICIP & ICMR) - -/* we sample OSCR and convert desired delta to usec (1/4 ~= 1000000/3686400) */ -#define xip_currtime() readl_relaxed(OSCR) -#define xip_elapsed_since(x) (signed)((readl_relaxed(OSCR) - (x)) / 4) - -#endif /* __ARCH_SA1100_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 __ARCH_SA1100_MTD_XIP_H__ +#define __ARCH_SA1100_MTD_XIP_H__ + +#include + +#define xip_irqpending() (ICIP & ICMR) + +/* we sample OSCR and convert desired delta to usec (1/4 ~= 1000000/3686400) */ +#define xip_currtime() readl_relaxed(OSCR) +#define xip_elapsed_since(x) (signed)((readl_relaxed(OSCR) - (x)) / 4) + +#endif /* __ARCH_SA1100_MTD_XIP_H__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-sa1100/include/mach/neponset.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-sa1100/include/mach/neponset.h index efad1b403c..18411cfdfe 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-sa1100/include/mach/neponset.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-sa1100/include/mach/neponset.h @@ -1,31 +1,31 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * arch/arm/mach-sa1100/include/mach/neponset.h - * - * Created 2000/06/05 by Nicolas Pitre - * - * This file contains the hardware specific definitions for Assabet - * Only include this file from SA1100-specific files. - * - * 2000/05/23 John Dorsey - * Definitions for Neponset added. - */ -#ifndef __ASM_ARCH_NEPONSET_H -#define __ASM_ARCH_NEPONSET_H - -/* - * Neponset definitions: - */ -#define NCR_GP01_OFF (1<<0) -#define NCR_TP_PWR_EN (1<<1) -#define NCR_MS_PWR_EN (1<<2) -#define NCR_ENET_OSC_EN (1<<3) -#define NCR_SPI_KB_WK_UP (1<<4) -#define NCR_A0VPP (1<<5) -#define NCR_A1VPP (1<<6) - -void neponset_ncr_frob(unsigned int, unsigned int); -#define neponset_ncr_set(v) neponset_ncr_frob(0, v) -#define neponset_ncr_clear(v) neponset_ncr_frob(v, 0) - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * arch/arm/mach-sa1100/include/mach/neponset.h + * + * Created 2000/06/05 by Nicolas Pitre + * + * This file contains the hardware specific definitions for Assabet + * Only include this file from SA1100-specific files. + * + * 2000/05/23 John Dorsey + * Definitions for Neponset added. + */ +#ifndef __ASM_ARCH_NEPONSET_H +#define __ASM_ARCH_NEPONSET_H + +/* + * Neponset definitions: + */ +#define NCR_GP01_OFF (1<<0) +#define NCR_TP_PWR_EN (1<<1) +#define NCR_MS_PWR_EN (1<<2) +#define NCR_ENET_OSC_EN (1<<3) +#define NCR_SPI_KB_WK_UP (1<<4) +#define NCR_A0VPP (1<<5) +#define NCR_A1VPP (1<<6) + +void neponset_ncr_frob(unsigned int, unsigned int); +#define neponset_ncr_set(v) neponset_ncr_frob(0, v) +#define neponset_ncr_clear(v) neponset_ncr_frob(v, 0) + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-shmobile/headsmp-scu.S b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-shmobile/headsmp-scu.S index 4115fdcb93..e892ee794d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-shmobile/headsmp-scu.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-shmobile/headsmp-scu.S @@ -1,31 +1,31 @@ -/* SPDX-License-Identifier: GPL-2.0+ - * - * Shared SCU setup for mach-shmobile - * - * Copyright (C) 2012 Bastian Hecht - */ - -#include -#include -#include - -/* - * Boot code for secondary CPUs. - * - * First we turn on L1 cache coherency for our CPU. Then we jump to - * secondary_startup that invalidates the cache and hands over control - * to the common ARM startup code. - */ -ENTRY(shmobile_boot_scu) - @ r0 = SCU base address - mrc p15, 0, r1, c0, c0, 5 @ read MPIDR - and r1, r1, #3 @ mask out cpu ID - lsl r1, r1, #3 @ we will shift by cpu_id * 8 bits - ldr r2, [r0, #8] @ SCU Power Status Register - mov r3, #3 - lsl r3, r3, r1 - bic r2, r2, r3 @ Clear bits of our CPU (Run Mode) - str r2, [r0, #8] @ write back - - b secondary_startup -ENDPROC(shmobile_boot_scu) +/* SPDX-License-Identifier: GPL-2.0+ + * + * Shared SCU setup for mach-shmobile + * + * Copyright (C) 2012 Bastian Hecht + */ + +#include +#include +#include + +/* + * Boot code for secondary CPUs. + * + * First we turn on L1 cache coherency for our CPU. Then we jump to + * secondary_startup that invalidates the cache and hands over control + * to the common ARM startup code. + */ +ENTRY(shmobile_boot_scu) + @ r0 = SCU base address + mrc p15, 0, r1, c0, c0, 5 @ read MPIDR + and r1, r1, #3 @ mask out cpu ID + lsl r1, r1, #3 @ we will shift by cpu_id * 8 bits + ldr r2, [r0, #8] @ SCU Power Status Register + mov r3, #3 + lsl r3, r3, r1 + bic r2, r2, r3 @ Clear bits of our CPU (Run Mode) + str r2, [r0, #8] @ write back + + b secondary_startup +ENDPROC(shmobile_boot_scu) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-shmobile/platsmp.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-shmobile/platsmp.c index 98d997162e..7437c01513 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-shmobile/platsmp.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-shmobile/platsmp.c @@ -1,35 +1,35 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * SMP support for R-Mobile / SH-Mobile - * - * Copyright (C) 2010 Magnus Damm - * Copyright (C) 2011 Paul Mundt - * - * Based on vexpress, Copyright (C) 2002 ARM Ltd, All Rights Reserved - */ -#include -#include -#include -#include "common.h" - -extern unsigned long shmobile_smp_fn[]; -extern unsigned long shmobile_smp_arg[]; -extern unsigned long shmobile_smp_mpidr[]; - -void shmobile_smp_hook(unsigned int cpu, unsigned long fn, unsigned long arg) -{ - shmobile_smp_fn[cpu] = 0; - flush_cache_all(); - - shmobile_smp_mpidr[cpu] = cpu_logical_map(cpu); - shmobile_smp_fn[cpu] = fn; - shmobile_smp_arg[cpu] = arg; - flush_cache_all(); -} - -#ifdef CONFIG_HOTPLUG_CPU -bool shmobile_smp_cpu_can_disable(unsigned int cpu) -{ - return true; /* Hotplug of any CPU is supported */ -} -#endif +// SPDX-License-Identifier: GPL-2.0 +/* + * SMP support for R-Mobile / SH-Mobile + * + * Copyright (C) 2010 Magnus Damm + * Copyright (C) 2011 Paul Mundt + * + * Based on vexpress, Copyright (C) 2002 ARM Ltd, All Rights Reserved + */ +#include +#include +#include +#include "common.h" + +extern unsigned long shmobile_smp_fn[]; +extern unsigned long shmobile_smp_arg[]; +extern unsigned long shmobile_smp_mpidr[]; + +void shmobile_smp_hook(unsigned int cpu, unsigned long fn, unsigned long arg) +{ + shmobile_smp_fn[cpu] = 0; + flush_cache_all(); + + shmobile_smp_mpidr[cpu] = cpu_logical_map(cpu); + shmobile_smp_fn[cpu] = fn; + shmobile_smp_arg[cpu] = arg; + flush_cache_all(); +} + +#ifdef CONFIG_HOTPLUG_CPU +bool shmobile_smp_cpu_can_disable(unsigned int cpu) +{ + return true; /* Hotplug of any CPU is supported */ +} +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-shmobile/setup-emev2.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-shmobile/setup-emev2.c index f40bc798c3..ed82d64296 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-shmobile/setup-emev2.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-shmobile/setup-emev2.c @@ -1,27 +1,27 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Emma Mobile EV2 processor support - * - * Copyright (C) 2012 Magnus Damm - */ -#include -#include -#include -#include -#include -#include - -#include "common.h" -#include "emev2.h" - -static const char *const emev2_boards_compat_dt[] __initconst = { - "renesas,emev2", - NULL -}; - -DT_MACHINE_START(EMEV2_DT, "Generic Emma Mobile EV2 (Flattened Device Tree)") - .smp = smp_ops(emev2_smp_ops), - .init_early = shmobile_init_delay, - .init_late = shmobile_init_late, - .dt_compat = emev2_boards_compat_dt, -MACHINE_END +// SPDX-License-Identifier: GPL-2.0 +/* + * Emma Mobile EV2 processor support + * + * Copyright (C) 2012 Magnus Damm + */ +#include +#include +#include +#include +#include +#include + +#include "common.h" +#include "emev2.h" + +static const char *const emev2_boards_compat_dt[] __initconst = { + "renesas,emev2", + NULL +}; + +DT_MACHINE_START(EMEV2_DT, "Generic Emma Mobile EV2 (Flattened Device Tree)") + .smp = smp_ops(emev2_smp_ops), + .init_early = shmobile_init_delay, + .init_late = shmobile_init_late, + .dt_compat = emev2_boards_compat_dt, +MACHINE_END diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-shmobile/suspend.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-shmobile/suspend.c index fce5b64862..3969a49974 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-shmobile/suspend.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-shmobile/suspend.c @@ -1,47 +1,47 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Suspend-to-RAM support code for SH-Mobile ARM - * - * Copyright (C) 2011 Magnus Damm - */ - -#include -#include -#include -#include -#include - -#include -#include - -#include "common.h" - -static int shmobile_suspend_default_enter(suspend_state_t suspend_state) -{ - cpu_do_idle(); - return 0; -} - -static int shmobile_suspend_begin(suspend_state_t state) -{ - cpu_idle_poll_ctrl(true); - return 0; -} - -static void shmobile_suspend_end(void) -{ - cpu_idle_poll_ctrl(false); -} - -struct platform_suspend_ops shmobile_suspend_ops = { - .begin = shmobile_suspend_begin, - .end = shmobile_suspend_end, - .enter = shmobile_suspend_default_enter, - .valid = suspend_valid_only_mem, -}; - -int __init shmobile_suspend_init(void) -{ - suspend_set_ops(&shmobile_suspend_ops); - return 0; -} +// SPDX-License-Identifier: GPL-2.0 +/* + * Suspend-to-RAM support code for SH-Mobile ARM + * + * Copyright (C) 2011 Magnus Damm + */ + +#include +#include +#include +#include +#include + +#include +#include + +#include "common.h" + +static int shmobile_suspend_default_enter(suspend_state_t suspend_state) +{ + cpu_do_idle(); + return 0; +} + +static int shmobile_suspend_begin(suspend_state_t state) +{ + cpu_idle_poll_ctrl(true); + return 0; +} + +static void shmobile_suspend_end(void) +{ + cpu_idle_poll_ctrl(false); +} + +struct platform_suspend_ops shmobile_suspend_ops = { + .begin = shmobile_suspend_begin, + .end = shmobile_suspend_end, + .enter = shmobile_suspend_default_enter, + .valid = suspend_valid_only_mem, +}; + +int __init shmobile_suspend_init(void) +{ + suspend_set_ops(&shmobile_suspend_ops); + return 0; +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-shmobile/timer.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-shmobile/timer.c index e75bdce4e5..2335311b5f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-shmobile/timer.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-shmobile/timer.c @@ -1,41 +1,41 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * SH-Mobile Timer - * - * Copyright (C) 2010 Magnus Damm - * Copyright (C) 2002 - 2009 Paul Mundt - */ -#include -#include -#include -#include - -#include "common.h" - -void __init shmobile_init_delay(void) -{ - struct device_node *np; - u32 max_freq = 0; - - for_each_of_cpu_node(np) { - u32 freq; - - if (!of_property_read_u32(np, "clock-frequency", &freq)) - max_freq = max(max_freq, freq); - } - - if (!max_freq) - return; - - /* - * Calculate a worst-case loops-per-jiffy value - * based on maximum cpu core hz setting and the - * __delay() implementation in arch/arm/lib/delay.S. - * - * This will result in a longer delay than expected - * when the cpu core runs on lower frequencies. - */ - - if (!preset_lpj) - preset_lpj = max_freq / HZ; -} +// SPDX-License-Identifier: GPL-2.0 +/* + * SH-Mobile Timer + * + * Copyright (C) 2010 Magnus Damm + * Copyright (C) 2002 - 2009 Paul Mundt + */ +#include +#include +#include +#include + +#include "common.h" + +void __init shmobile_init_delay(void) +{ + struct device_node *np; + u32 max_freq = 0; + + for_each_of_cpu_node(np) { + u32 freq; + + if (!of_property_read_u32(np, "clock-frequency", &freq)) + max_freq = max(max_freq, freq); + } + + if (!max_freq) + return; + + /* + * Calculate a worst-case loops-per-jiffy value + * based on maximum cpu core hz setting and the + * __delay() implementation in arch/arm/lib/delay.S. + * + * This will result in a longer delay than expected + * when the cpu core runs on lower frequencies. + */ + + if (!preset_lpj) + preset_lpj = max_freq / HZ; +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-socfpga/Kconfig b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-socfpga/Kconfig index bf89d885c7..eb72c240c2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-socfpga/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-socfpga/Kconfig @@ -1,29 +1,29 @@ -# SPDX-License-Identifier: GPL-2.0-only -menuconfig ARCH_INTEL_SOCFPGA - bool "Altera SOCFPGA family" - depends on ARCH_MULTI_V7 - select ARCH_HAS_RESET_CONTROLLER - select ARM_AMBA - select ARM_GIC - select CACHE_L2X0 - select DW_APB_TIMER_OF - select GPIO_PL061 if GPIOLIB - select HAVE_ARM_SCU - select HAVE_ARM_TWD if SMP - select MFD_SYSCON - select ARM_ERRATA_754322 - select ARM_ERRATA_764369 if SMP - select ARM_ERRATA_775420 - select PL310_ERRATA_588369 - select PL310_ERRATA_727915 - select PL310_ERRATA_753970 if PL310 - select PL310_ERRATA_769419 - select RESET_CONTROLLER - -if ARCH_INTEL_SOCFPGA -config SOCFPGA_SUSPEND - bool "Suspend to RAM on SOCFPGA" - help - Select this if you want to enable Suspend-to-RAM on SOCFPGA - platforms. -endif +# SPDX-License-Identifier: GPL-2.0-only +menuconfig ARCH_INTEL_SOCFPGA + bool "Altera SOCFPGA family" + depends on ARCH_MULTI_V7 + select ARCH_HAS_RESET_CONTROLLER + select ARM_AMBA + select ARM_GIC + select CACHE_L2X0 + select DW_APB_TIMER_OF + select GPIO_PL061 if GPIOLIB + select HAVE_ARM_SCU + select HAVE_ARM_TWD if SMP + select MFD_SYSCON + select ARM_ERRATA_754322 + select ARM_ERRATA_764369 if SMP + select ARM_ERRATA_775420 + select PL310_ERRATA_588369 + select PL310_ERRATA_727915 + select PL310_ERRATA_753970 if PL310 + select PL310_ERRATA_769419 + select RESET_CONTROLLER + +if ARCH_INTEL_SOCFPGA +config SOCFPGA_SUSPEND + bool "Suspend to RAM on SOCFPGA" + help + Select this if you want to enable Suspend-to-RAM on SOCFPGA + platforms. +endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-socfpga/headsmp.S b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-socfpga/headsmp.S index 428b524028..f7e91a7724 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-socfpga/headsmp.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-socfpga/headsmp.S @@ -1,33 +1,33 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (c) 2003 ARM Limited - * Copyright (c) u-boot contributors - * Copyright (c) 2012 Pavel Machek - */ -#include -#include -#include -#include - - .arch armv7-a - .arm - -ENTRY(secondary_trampoline) - /* CPU1 will always fetch from 0x0 when it is brought out of reset. - * Thus, we can just subtract the PAGE_OFFSET to get the physical - * address of &cpu1start_addr. This would not work for platforms - * where the physical memory does not start at 0x0. - */ -ARM_BE8(setend be) - adr r0, 1f - ldmia r0, {r1, r2} - sub r2, r2, #PAGE_OFFSET - ldr r3, [r2] - ldr r4, [r3] -ARM_BE8(rev r4, r4) - bx r4 - - .align -1: .long . - .long socfpga_cpu1start_addr -ENTRY(secondary_trampoline_end) +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (c) 2003 ARM Limited + * Copyright (c) u-boot contributors + * Copyright (c) 2012 Pavel Machek + */ +#include +#include +#include +#include + + .arch armv7-a + .arm + +ENTRY(secondary_trampoline) + /* CPU1 will always fetch from 0x0 when it is brought out of reset. + * Thus, we can just subtract the PAGE_OFFSET to get the physical + * address of &cpu1start_addr. This would not work for platforms + * where the physical memory does not start at 0x0. + */ +ARM_BE8(setend be) + adr r0, 1f + ldmia r0, {r1, r2} + sub r2, r2, #PAGE_OFFSET + ldr r3, [r2] + ldr r4, [r3] +ARM_BE8(rev r4, r4) + bx r4 + + .align +1: .long . + .long socfpga_cpu1start_addr +ENTRY(secondary_trampoline_end) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-spear/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-spear/Makefile index ff416af8a5..c6101a8436 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-spear/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-spear/Makefile @@ -1,25 +1,25 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# SPEAr Platform specific Makefile -# - -# Common support -obj-y := restart.o time.o - -smp-$(CONFIG_SMP) += headsmp.o platsmp.o -smp-$(CONFIG_HOTPLUG_CPU) += hotplug.o - -obj-$(CONFIG_ARCH_SPEAR13XX) += spear13xx.o $(smp-y) -obj-$(CONFIG_MACH_SPEAR1310) += spear1310.o -obj-$(CONFIG_MACH_SPEAR1340) += spear1340.o - -obj-$(CONFIG_ARCH_SPEAR3XX) += spear3xx.o -obj-$(CONFIG_ARCH_SPEAR3XX) += pl080.o -obj-$(CONFIG_MACH_SPEAR300) += spear300.o -obj-$(CONFIG_MACH_SPEAR310) += spear310.o -obj-$(CONFIG_MACH_SPEAR320) += spear320.o - -obj-$(CONFIG_ARCH_SPEAR6XX) += spear6xx.o -obj-$(CONFIG_ARCH_SPEAR6XX) += pl080.o - -CFLAGS_hotplug.o += -march=armv7-a +# SPDX-License-Identifier: GPL-2.0 +# +# SPEAr Platform specific Makefile +# + +# Common support +obj-y := restart.o time.o + +smp-$(CONFIG_SMP) += headsmp.o platsmp.o +smp-$(CONFIG_HOTPLUG_CPU) += hotplug.o + +obj-$(CONFIG_ARCH_SPEAR13XX) += spear13xx.o $(smp-y) +obj-$(CONFIG_MACH_SPEAR1310) += spear1310.o +obj-$(CONFIG_MACH_SPEAR1340) += spear1340.o + +obj-$(CONFIG_ARCH_SPEAR3XX) += spear3xx.o +obj-$(CONFIG_ARCH_SPEAR3XX) += pl080.o +obj-$(CONFIG_MACH_SPEAR300) += spear300.o +obj-$(CONFIG_MACH_SPEAR310) += spear310.o +obj-$(CONFIG_MACH_SPEAR320) += spear320.o + +obj-$(CONFIG_ARCH_SPEAR6XX) += spear6xx.o +obj-$(CONFIG_ARCH_SPEAR6XX) += pl080.o + +CFLAGS_hotplug.o += -march=armv7-a diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-spear/restart.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-spear/restart.c index c20525a4a7..76fb16cc81 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-spear/restart.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-spear/restart.c @@ -1,32 +1,32 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * arch/arm/plat-spear/restart.c - * - * SPEAr platform specific restart functions - * - * Copyright (C) 2009 ST Microelectronics - * Viresh Kumar - */ -#include -#include -#include -#include -#include "spear.h" -#include "generic.h" - -#define SPEAR13XX_SYS_SW_RES (VA_MISC_BASE + 0x204) -void spear_restart(enum reboot_mode mode, const char *cmd) -{ - if (mode == REBOOT_SOFT) { - /* software reset, Jump into ROM at address 0 */ - soft_restart(0); - } else { - /* hardware reset, Use on-chip reset capability */ -#ifdef CONFIG_ARCH_SPEAR13XX - writel_relaxed(0x01, SPEAR13XX_SYS_SW_RES); -#endif -#if defined(CONFIG_ARCH_SPEAR3XX) || defined(CONFIG_ARCH_SPEAR6XX) - sysctl_soft_reset((void __iomem *)VA_SPEAR_SYS_CTRL_BASE); -#endif - } -} +// SPDX-License-Identifier: GPL-2.0-only +/* + * arch/arm/plat-spear/restart.c + * + * SPEAr platform specific restart functions + * + * Copyright (C) 2009 ST Microelectronics + * Viresh Kumar + */ +#include +#include +#include +#include +#include "spear.h" +#include "generic.h" + +#define SPEAR13XX_SYS_SW_RES (VA_MISC_BASE + 0x204) +void spear_restart(enum reboot_mode mode, const char *cmd) +{ + if (mode == REBOOT_SOFT) { + /* software reset, Jump into ROM at address 0 */ + soft_restart(0); + } else { + /* hardware reset, Use on-chip reset capability */ +#ifdef CONFIG_ARCH_SPEAR13XX + writel_relaxed(0x01, SPEAR13XX_SYS_SW_RES); +#endif +#if defined(CONFIG_ARCH_SPEAR3XX) || defined(CONFIG_ARCH_SPEAR6XX) + sysctl_soft_reset((void __iomem *)VA_SPEAR_SYS_CTRL_BASE); +#endif + } +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-spear/spear1340.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-spear/spear1340.c index 06a2c35fc3..70986ef6c8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-spear/spear1340.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-spear/spear1340.c @@ -1,35 +1,35 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * arch/arm/mach-spear13xx/spear1340.c - * - * SPEAr1340 machine source file - * - * Copyright (C) 2012 ST Microelectronics - * Viresh Kumar - */ - -#define pr_fmt(fmt) "SPEAr1340: " fmt - -#include -#include -#include "generic.h" - -static void __init spear1340_dt_init(void) -{ - platform_device_register_simple("spear-cpufreq", -1, NULL, 0); -} - -static const char * const spear1340_dt_board_compat[] = { - "st,spear1340", - "st,spear1340-evb", - NULL, -}; - -DT_MACHINE_START(SPEAR1340_DT, "ST SPEAr1340 SoC with Flattened Device Tree") - .smp = smp_ops(spear13xx_smp_ops), - .map_io = spear13xx_map_io, - .init_time = spear13xx_timer_init, - .init_machine = spear1340_dt_init, - .restart = spear_restart, - .dt_compat = spear1340_dt_board_compat, -MACHINE_END +// SPDX-License-Identifier: GPL-2.0-only +/* + * arch/arm/mach-spear13xx/spear1340.c + * + * SPEAr1340 machine source file + * + * Copyright (C) 2012 ST Microelectronics + * Viresh Kumar + */ + +#define pr_fmt(fmt) "SPEAr1340: " fmt + +#include +#include +#include "generic.h" + +static void __init spear1340_dt_init(void) +{ + platform_device_register_simple("spear-cpufreq", -1, NULL, 0); +} + +static const char * const spear1340_dt_board_compat[] = { + "st,spear1340", + "st,spear1340-evb", + NULL, +}; + +DT_MACHINE_START(SPEAR1340_DT, "ST SPEAr1340 SoC with Flattened Device Tree") + .smp = smp_ops(spear13xx_smp_ops), + .map_io = spear13xx_map_io, + .init_time = spear13xx_timer_init, + .init_machine = spear1340_dt_init, + .restart = spear_restart, + .dt_compat = spear1340_dt_board_compat, +MACHINE_END diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-sti/board-dt.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-sti/board-dt.c index fe64c164f6..488084b61b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-sti/board-dt.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-sti/board-dt.c @@ -1,29 +1,29 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2013 STMicroelectronics (R&D) Limited. - * Author(s): Srinivas Kandagatla - */ - -#include -#include - -#include "smp.h" - -static const char *const stih41x_dt_match[] __initconst = { - "st,stih415", - "st,stih416", - "st,stih407", - "st,stih410", - "st,stih418", - NULL -}; - -DT_MACHINE_START(STM, "STi SoC with Flattened Device Tree") - .dt_compat = stih41x_dt_match, - .l2c_aux_val = L2C_AUX_CTRL_SHARED_OVERRIDE | - L310_AUX_CTRL_DATA_PREFETCH | - L310_AUX_CTRL_INSTR_PREFETCH | - L2C_AUX_CTRL_WAY_SIZE(4), - .l2c_aux_mask = 0xc0000fff, - .smp = smp_ops(sti_smp_ops), -MACHINE_END +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2013 STMicroelectronics (R&D) Limited. + * Author(s): Srinivas Kandagatla + */ + +#include +#include + +#include "smp.h" + +static const char *const stih41x_dt_match[] __initconst = { + "st,stih415", + "st,stih416", + "st,stih407", + "st,stih410", + "st,stih418", + NULL +}; + +DT_MACHINE_START(STM, "STi SoC with Flattened Device Tree") + .dt_compat = stih41x_dt_match, + .l2c_aux_val = L2C_AUX_CTRL_SHARED_OVERRIDE | + L310_AUX_CTRL_DATA_PREFETCH | + L310_AUX_CTRL_INSTR_PREFETCH | + L2C_AUX_CTRL_WAY_SIZE(4), + .l2c_aux_mask = 0xc0000fff, + .smp = smp_ops(sti_smp_ops), +MACHINE_END diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-stm32/board-dt.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-stm32/board-dt.c index acde6f9b0b..5dcc4ddd1a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-stm32/board-dt.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-stm32/board-dt.c @@ -1,34 +1,34 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright (C) Maxime Coquelin 2015 - * Copyright (C) STMicroelectronics 2017 - * Author: Maxime Coquelin - */ - -#include -#include -#ifdef CONFIG_ARM_SINGLE_ARMV7M -#include -#endif - -static const char *const stm32_compat[] __initconst = { - "st,stm32f429", - "st,stm32f469", - "st,stm32f746", - "st,stm32f769", - "st,stm32h743", - "st,stm32h750", - "st,stm32mp131", - "st,stm32mp133", - "st,stm32mp135", - "st,stm32mp151", - "st,stm32mp157", - NULL -}; - -DT_MACHINE_START(STM32DT, "STM32 (Device Tree Support)") - .dt_compat = stm32_compat, -#ifdef CONFIG_ARM_SINGLE_ARMV7M - .restart = armv7m_restart, -#endif -MACHINE_END +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) Maxime Coquelin 2015 + * Copyright (C) STMicroelectronics 2017 + * Author: Maxime Coquelin + */ + +#include +#include +#ifdef CONFIG_ARM_SINGLE_ARMV7M +#include +#endif + +static const char *const stm32_compat[] __initconst = { + "st,stm32f429", + "st,stm32f469", + "st,stm32f746", + "st,stm32f769", + "st,stm32h743", + "st,stm32h750", + "st,stm32mp131", + "st,stm32mp133", + "st,stm32mp135", + "st,stm32mp151", + "st,stm32mp157", + NULL +}; + +DT_MACHINE_START(STM32DT, "STM32 (Device Tree Support)") + .dt_compat = stm32_compat, +#ifdef CONFIG_ARM_SINGLE_ARMV7M + .restart = armv7m_restart, +#endif +MACHINE_END diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-tegra/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-tegra/Makefile index 75335e40f9..a2bb55bc00 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-tegra/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-tegra/Makefile @@ -1,19 +1,19 @@ -# SPDX-License-Identifier: GPL-2.0 -obj-y += io.o -obj-y += irq.o -obj-y += pm.o -obj-y += reset.o -obj-y += reset-handler.o -obj-y += sleep.o -obj-y += tegra.o -obj-y += sleep-tegra20.o -obj-y += sleep-tegra30.o -obj-$(CONFIG_ARCH_TEGRA_2x_SOC) += pm-tegra20.o -obj-$(CONFIG_ARCH_TEGRA_3x_SOC) += pm-tegra30.o -obj-$(CONFIG_SMP) += platsmp.o -obj-$(CONFIG_HOTPLUG_CPU) += hotplug.o - -obj-$(CONFIG_ARCH_TEGRA_114_SOC) += pm-tegra30.o -obj-$(CONFIG_ARCH_TEGRA_124_SOC) += pm-tegra30.o - -obj-$(CONFIG_ARCH_TEGRA_2x_SOC) += board-paz00.o +# SPDX-License-Identifier: GPL-2.0 +obj-y += io.o +obj-y += irq.o +obj-y += pm.o +obj-y += reset.o +obj-y += reset-handler.o +obj-y += sleep.o +obj-y += tegra.o +obj-y += sleep-tegra20.o +obj-y += sleep-tegra30.o +obj-$(CONFIG_ARCH_TEGRA_2x_SOC) += pm-tegra20.o +obj-$(CONFIG_ARCH_TEGRA_3x_SOC) += pm-tegra30.o +obj-$(CONFIG_SMP) += platsmp.o +obj-$(CONFIG_HOTPLUG_CPU) += hotplug.o + +obj-$(CONFIG_ARCH_TEGRA_114_SOC) += pm-tegra30.o +obj-$(CONFIG_ARCH_TEGRA_124_SOC) += pm-tegra30.o + +obj-$(CONFIG_ARCH_TEGRA_2x_SOC) += board-paz00.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-tegra/pm.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-tegra/pm.h index 37ea1f1cdd..e63f96de28 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-tegra/pm.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-tegra/pm.h @@ -1,28 +1,28 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2010 Google, Inc. - * Copyright (c) 2010-2012 NVIDIA Corporation. All rights reserved. - * - * Author: - * Colin Cross - */ - -#ifndef _MACH_TEGRA_PM_H_ -#define _MACH_TEGRA_PM_H_ - -struct tegra_lp1_iram { - void *start_addr; - void *end_addr; -}; - -extern struct tegra_lp1_iram tegra_lp1_iram; -extern void (*tegra_sleep_core_finish)(unsigned long v2p); - -void tegra20_lp1_iram_hook(void); -void tegra20_sleep_core_init(void); -void tegra30_lp1_iram_hook(void); -void tegra30_sleep_core_init(void); - -extern void (*tegra_tear_down_cpu)(void); - -#endif /* _MACH_TEGRA_PM_H_ */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2010 Google, Inc. + * Copyright (c) 2010-2012 NVIDIA Corporation. All rights reserved. + * + * Author: + * Colin Cross + */ + +#ifndef _MACH_TEGRA_PM_H_ +#define _MACH_TEGRA_PM_H_ + +struct tegra_lp1_iram { + void *start_addr; + void *end_addr; +}; + +extern struct tegra_lp1_iram tegra_lp1_iram; +extern void (*tegra_sleep_core_finish)(unsigned long v2p); + +void tegra20_lp1_iram_hook(void); +void tegra20_sleep_core_init(void); +void tegra30_lp1_iram_hook(void); +void tegra30_sleep_core_init(void); + +extern void (*tegra_tear_down_cpu)(void); + +#endif /* _MACH_TEGRA_PM_H_ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-versatile/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-versatile/Makefile index 57423788dd..d819fb2fc4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-versatile/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-versatile/Makefile @@ -1,33 +1,33 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the linux kernel. -# - -# versatile -obj-$(CONFIG_ARCH_VERSATILE) += versatile.o - -# integrator -obj-$(CONFIG_ARCH_INTEGRATOR) += integrator.o -obj-$(CONFIG_ARCH_INTEGRATOR_AP) += integrator_ap.o -obj-$(CONFIG_ARCH_INTEGRATOR_CP) += integrator_cp.o - -# realview -obj-$(CONFIG_ARCH_REALVIEW) += realview.o - -# vexpress -obj-$(CONFIG_ARCH_VEXPRESS) := v2m.o -obj-$(CONFIG_ARCH_VEXPRESS_SPC) += spc.o -CFLAGS_REMOVE_spc.o = -pg -obj-$(CONFIG_ARCH_VEXPRESS_TC2_PM) += tc2_pm.o -CFLAGS_tc2_pm.o += -march=armv7-a -CFLAGS_REMOVE_tc2_pm.o = -pg - -# mps2 -obj-$(CONFIG_ARCH_MPS2) += v2m-mps2.o - -ifdef CONFIG_SMP -obj-y += headsmp.o platsmp.o -obj-$(CONFIG_ARCH_REALVIEW) += platsmp-realview.o -obj-$(CONFIG_ARCH_VEXPRESS) += platsmp-vexpress.o -obj-$(CONFIG_HOTPLUG_CPU) += hotplug.o -endif +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for the linux kernel. +# + +# versatile +obj-$(CONFIG_ARCH_VERSATILE) += versatile.o + +# integrator +obj-$(CONFIG_ARCH_INTEGRATOR) += integrator.o +obj-$(CONFIG_ARCH_INTEGRATOR_AP) += integrator_ap.o +obj-$(CONFIG_ARCH_INTEGRATOR_CP) += integrator_cp.o + +# realview +obj-$(CONFIG_ARCH_REALVIEW) += realview.o + +# vexpress +obj-$(CONFIG_ARCH_VEXPRESS) := v2m.o +obj-$(CONFIG_ARCH_VEXPRESS_SPC) += spc.o +CFLAGS_REMOVE_spc.o = -pg +obj-$(CONFIG_ARCH_VEXPRESS_TC2_PM) += tc2_pm.o +CFLAGS_tc2_pm.o += -march=armv7-a +CFLAGS_REMOVE_tc2_pm.o = -pg + +# mps2 +obj-$(CONFIG_ARCH_MPS2) += v2m-mps2.o + +ifdef CONFIG_SMP +obj-y += headsmp.o platsmp.o +obj-$(CONFIG_ARCH_REALVIEW) += platsmp-realview.o +obj-$(CONFIG_ARCH_VEXPRESS) += platsmp-vexpress.o +obj-$(CONFIG_HOTPLUG_CPU) += hotplug.o +endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-versatile/headsmp.S b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-versatile/headsmp.S index a1eafa014e..99c32db412 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-versatile/headsmp.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-versatile/headsmp.S @@ -1,36 +1,36 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (c) 2003 ARM Limited - * All Rights Reserved - */ -#include -#include -#include - -/* - * Realview/Versatile Express specific entry point for secondary CPUs. - * This provides a "holding pen" into which all secondary cores are held - * until we're ready for them to initialise. - */ -ENTRY(versatile_secondary_startup) - ARM_BE8(setend be) - mrc p15, 0, r0, c0, c0, 5 - bic r0, #0xff000000 - adr r4, 1f - ldmia r4, {r5, r6} - sub r4, r4, r5 - add r6, r6, r4 -pen: ldr r7, [r6] - cmp r7, r0 - bne pen - - /* - * we've been released from the holding pen: secondary_stack - * should now contain the SVC stack for this core - */ - b secondary_startup - - .align -1: .long . - .long versatile_cpu_release -ENDPROC(versatile_secondary_startup) +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (c) 2003 ARM Limited + * All Rights Reserved + */ +#include +#include +#include + +/* + * Realview/Versatile Express specific entry point for secondary CPUs. + * This provides a "holding pen" into which all secondary cores are held + * until we're ready for them to initialise. + */ +ENTRY(versatile_secondary_startup) + ARM_BE8(setend be) + mrc p15, 0, r0, c0, c0, 5 + bic r0, #0xff000000 + adr r4, 1f + ldmia r4, {r5, r6} + sub r4, r4, r5 + add r6, r6, r4 +pen: ldr r7, [r6] + cmp r7, r0 + bne pen + + /* + * we've been released from the holding pen: secondary_stack + * should now contain the SVC stack for this core + */ + b secondary_startup + + .align +1: .long . + .long versatile_cpu_release +ENDPROC(versatile_secondary_startup) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-versatile/v2m.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-versatile/v2m.c index bc7b522bb4..79afdf2a90 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-versatile/v2m.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-versatile/v2m.c @@ -1,40 +1,40 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include -#include - -#include "vexpress.h" - -#define SYS_FLAGSSET 0x030 -#define SYS_FLAGSCLR 0x034 - -void vexpress_flags_set(u32 data) -{ - static void __iomem *base; - - if (!base) { - struct device_node *node = of_find_compatible_node(NULL, NULL, - "arm,vexpress-sysreg"); - - base = of_iomap(node, 0); - } - - if (WARN_ON(!base)) - return; - - writel(~0, base + SYS_FLAGSCLR); - writel(data, base + SYS_FLAGSSET); -} - -static const char * const v2m_dt_match[] __initconst = { - "arm,vexpress", - NULL, -}; - -DT_MACHINE_START(VEXPRESS_DT, "ARM-Versatile Express") - .dt_compat = v2m_dt_match, - .l2c_aux_val = 0x00400000, - .l2c_aux_mask = 0xfe0fffff, - .smp = smp_ops(vexpress_smp_dt_ops), - .smp_init = smp_init_ops(vexpress_smp_init_ops), -MACHINE_END +// SPDX-License-Identifier: GPL-2.0 +#include +#include +#include + +#include "vexpress.h" + +#define SYS_FLAGSSET 0x030 +#define SYS_FLAGSCLR 0x034 + +void vexpress_flags_set(u32 data) +{ + static void __iomem *base; + + if (!base) { + struct device_node *node = of_find_compatible_node(NULL, NULL, + "arm,vexpress-sysreg"); + + base = of_iomap(node, 0); + } + + if (WARN_ON(!base)) + return; + + writel(~0, base + SYS_FLAGSCLR); + writel(data, base + SYS_FLAGSSET); +} + +static const char * const v2m_dt_match[] __initconst = { + "arm,vexpress", + NULL, +}; + +DT_MACHINE_START(VEXPRESS_DT, "ARM-Versatile Express") + .dt_compat = v2m_dt_match, + .l2c_aux_val = 0x00400000, + .l2c_aux_mask = 0xfe0fffff, + .smp = smp_ops(vexpress_smp_dt_ops), + .smp_init = smp_init_ops(vexpress_smp_init_ops), +MACHINE_END diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-vt8500/Kconfig b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-vt8500/Kconfig index e686d9aa7f..1aad54ea3c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-vt8500/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-vt8500/Kconfig @@ -1,29 +1,29 @@ -# SPDX-License-Identifier: GPL-2.0 -config ARCH_VT8500 - bool - select GPIOLIB - select VT8500_TIMER - select PINCTRL - help - Support for VIA/WonderMedia VT8500/WM85xx System-on-Chip. - -config ARCH_WM8505 - bool "VIA/Wondermedia 85xx and WM8650" - depends on ARCH_MULTI_V5 - depends on CPU_LITTLE_ENDIAN - select ARCH_VT8500 - select CPU_ARM926T - -config ARCH_WM8750 - bool "WonderMedia WM8750" - depends on ARCH_MULTI_V6 - select ARCH_VT8500 - help - Support for WonderMedia WM8750 System-on-Chip. - -config ARCH_WM8850 - bool "WonderMedia WM8850" - depends on ARCH_MULTI_V7 - select ARCH_VT8500 - help - Support for WonderMedia WM8850 System-on-Chip. +# SPDX-License-Identifier: GPL-2.0 +config ARCH_VT8500 + bool + select GPIOLIB + select VT8500_TIMER + select PINCTRL + help + Support for VIA/WonderMedia VT8500/WM85xx System-on-Chip. + +config ARCH_WM8505 + bool "VIA/Wondermedia 85xx and WM8650" + depends on ARCH_MULTI_V5 + depends on CPU_LITTLE_ENDIAN + select ARCH_VT8500 + select CPU_ARM926T + +config ARCH_WM8750 + bool "WonderMedia WM8750" + depends on ARCH_MULTI_V6 + select ARCH_VT8500 + help + Support for WonderMedia WM8750 System-on-Chip. + +config ARCH_WM8850 + bool "WonderMedia WM8850" + depends on ARCH_MULTI_V7 + select ARCH_VT8500 + help + Support for WonderMedia WM8850 System-on-Chip. diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mm/abort-ev4.S b/image/debian/UFI003_MB_V02/kernel/arch/arm/mm/abort-ev4.S index d6ce360bbf..a10bcb8959 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mm/abort-ev4.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mm/abort-ev4.S @@ -1,27 +1,27 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#include -#include -/* - * Function: v4_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. - * Note: we read user space. This means we might cause a data - * abort here if the I-TLB and D-TLB aren't seeing the same - * picture. Unfortunately, this does happen. We live with it. - */ - .align 5 -ENTRY(v4_early_abort) - mrc p15, 0, r1, c5, c0, 0 @ get FSR - mrc p15, 0, r0, c6, c0, 0 @ get FAR - ldr r3, [r4] @ read aborted ARM instruction - uaccess_disable ip @ disable userspace access - bic r1, r1, #1 << 11 | 1 << 10 @ clear bits 11 and 10 of FSR - tst r3, #1 << 20 @ L = 1 -> write? - orreq r1, r1, #1 << 11 @ yes. - b do_DataAbort +/* SPDX-License-Identifier: GPL-2.0 */ +#include +#include +/* + * Function: v4_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. + * Note: we read user space. This means we might cause a data + * abort here if the I-TLB and D-TLB aren't seeing the same + * picture. Unfortunately, this does happen. We live with it. + */ + .align 5 +ENTRY(v4_early_abort) + mrc p15, 0, r1, c5, c0, 0 @ get FSR + mrc p15, 0, r0, c6, c0, 0 @ get FAR + ldr r3, [r4] @ read aborted ARM instruction + uaccess_disable ip @ disable userspace access + bic r1, r1, #1 << 11 | 1 << 10 @ clear bits 11 and 10 of FSR + tst r3, #1 << 20 @ L = 1 -> write? + orreq r1, r1, #1 << 11 @ yes. + b do_DataAbort diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mm/abort-ev4t.S b/image/debian/UFI003_MB_V02/kernel/arch/arm/mm/abort-ev4t.S index b9ba0b540c..14743a2f69 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mm/abort-ev4t.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mm/abort-ev4t.S @@ -1,28 +1,28 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#include -#include -#include "abort-macro.S" -/* - * Function: v4t_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. - * Note: we read user space. This means we might cause a data - * abort here if the I-TLB and D-TLB aren't seeing the same - * picture. Unfortunately, this does happen. We live with it. - */ - .align 5 -ENTRY(v4t_early_abort) - mrc p15, 0, r1, c5, c0, 0 @ get FSR - mrc p15, 0, r0, c6, c0, 0 @ get FAR - do_thumb_abort fsr=r1, pc=r4, psr=r5, tmp=r3 - ldreq r3, [r4] @ read aborted ARM instruction - bic r1, r1, #1 << 11 | 1 << 10 @ clear bits 11 and 10 of FSR - tst r3, #1 << 20 @ check write - orreq r1, r1, #1 << 11 - b do_DataAbort +/* SPDX-License-Identifier: GPL-2.0 */ +#include +#include +#include "abort-macro.S" +/* + * Function: v4t_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. + * Note: we read user space. This means we might cause a data + * abort here if the I-TLB and D-TLB aren't seeing the same + * picture. Unfortunately, this does happen. We live with it. + */ + .align 5 +ENTRY(v4t_early_abort) + mrc p15, 0, r1, c5, c0, 0 @ get FSR + mrc p15, 0, r0, c6, c0, 0 @ get FAR + do_thumb_abort fsr=r1, pc=r4, psr=r5, tmp=r3 + ldreq r3, [r4] @ read aborted ARM instruction + bic r1, r1, #1 << 11 | 1 << 10 @ clear bits 11 and 10 of FSR + tst r3, #1 << 20 @ check write + orreq r1, r1, #1 << 11 + b do_DataAbort diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mm/cache-tauros3.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mm/cache-tauros3.h index 2f0756dcaf..fa5f926799 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mm/cache-tauros3.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mm/cache-tauros3.h @@ -1,29 +1,29 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Marvell Tauros3 cache controller includes - * - * Sebastian Hesselbarth - * - * based on GPL'ed 2.6 kernel sources - * (c) Marvell International Ltd. - */ - -#ifndef __ASM_ARM_HARDWARE_TAUROS3_H -#define __ASM_ARM_HARDWARE_TAUROS3_H - -/* - * Marvell Tauros3 L2CC is compatible with PL310 r0p0 - * but with PREFETCH_CTRL (r2p0) and an additional event counter. - * Also, there is AUX2_CTRL for some Marvell specific control. - */ - -#define TAUROS3_EVENT_CNT2_CFG 0x224 -#define TAUROS3_EVENT_CNT2_VAL 0x228 -#define TAUROS3_INV_ALL 0x780 -#define TAUROS3_CLEAN_ALL 0x784 -#define TAUROS3_AUX2_CTRL 0x820 - -/* Registers shifts and masks */ -#define TAUROS3_AUX2_CTRL_LINEFILL_BURST8_EN (1 << 2) - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Marvell Tauros3 cache controller includes + * + * Sebastian Hesselbarth + * + * based on GPL'ed 2.6 kernel sources + * (c) Marvell International Ltd. + */ + +#ifndef __ASM_ARM_HARDWARE_TAUROS3_H +#define __ASM_ARM_HARDWARE_TAUROS3_H + +/* + * Marvell Tauros3 L2CC is compatible with PL310 r0p0 + * but with PREFETCH_CTRL (r2p0) and an additional event counter. + * Also, there is AUX2_CTRL for some Marvell specific control. + */ + +#define TAUROS3_EVENT_CNT2_CFG 0x224 +#define TAUROS3_EVENT_CNT2_VAL 0x228 +#define TAUROS3_INV_ALL 0x780 +#define TAUROS3_CLEAN_ALL 0x784 +#define TAUROS3_AUX2_CTRL 0x820 + +/* Registers shifts and masks */ +#define TAUROS3_AUX2_CTRL_LINEFILL_BURST8_EN (1 << 2) + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mm/dma.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mm/dma.h index 61f07f116b..aaef64b7f1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mm/dma.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mm/dma.h @@ -1,33 +1,33 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef DMA_H -#define DMA_H - -#include - -#ifndef MULTI_CACHE -#define dmac_map_area __glue(_CACHE,_dma_map_area) -#define dmac_unmap_area __glue(_CACHE,_dma_unmap_area) - -/* - * These are private to the dma-mapping API. Do not use directly. - * Their sole purpose is to ensure that data held in the cache - * is visible to DMA, or data written by DMA to system memory is - * visible to the CPU. - */ -extern void dmac_map_area(const void *, size_t, int); -extern void dmac_unmap_area(const void *, size_t, int); - -#else - -/* - * These are private to the dma-mapping API. Do not use directly. - * Their sole purpose is to ensure that data held in the cache - * is visible to DMA, or data written by DMA to system memory is - * visible to the CPU. - */ -#define dmac_map_area cpu_cache.dma_map_area -#define dmac_unmap_area cpu_cache.dma_unmap_area - -#endif - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef DMA_H +#define DMA_H + +#include + +#ifndef MULTI_CACHE +#define dmac_map_area __glue(_CACHE,_dma_map_area) +#define dmac_unmap_area __glue(_CACHE,_dma_unmap_area) + +/* + * These are private to the dma-mapping API. Do not use directly. + * Their sole purpose is to ensure that data held in the cache + * is visible to DMA, or data written by DMA to system memory is + * visible to the CPU. + */ +extern void dmac_map_area(const void *, size_t, int); +extern void dmac_unmap_area(const void *, size_t, int); + +#else + +/* + * These are private to the dma-mapping API. Do not use directly. + * Their sole purpose is to ensure that data held in the cache + * is visible to DMA, or data written by DMA to system memory is + * visible to the CPU. + */ +#define dmac_map_area cpu_cache.dma_map_area +#define dmac_unmap_area cpu_cache.dma_unmap_area + +#endif + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mm/iomap.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mm/iomap.c index 2628a07fd1..415d0a4542 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mm/iomap.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mm/iomap.c @@ -1,45 +1,45 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * linux/arch/arm/mm/iomap.c - * - * Map IO port and PCI memory spaces so that {read,write}[bwl] can - * be used to access this memory. - */ -#include -#include -#include -#include - -#include - -unsigned long vga_base; -EXPORT_SYMBOL(vga_base); - -#ifdef __io -void __iomem *ioport_map(unsigned long port, unsigned int nr) -{ - return __io(port); -} -EXPORT_SYMBOL(ioport_map); - -void ioport_unmap(void __iomem *addr) -{ -} -EXPORT_SYMBOL(ioport_unmap); -#endif - -#ifdef CONFIG_PCI -unsigned long pcibios_min_io = 0x1000; -EXPORT_SYMBOL(pcibios_min_io); - -unsigned long pcibios_min_mem = 0x01000000; -EXPORT_SYMBOL(pcibios_min_mem); - -void pci_iounmap(struct pci_dev *dev, void __iomem *addr) -{ - if ((unsigned long)addr >= VMALLOC_START && - (unsigned long)addr < VMALLOC_END) - iounmap(addr); -} -EXPORT_SYMBOL(pci_iounmap); -#endif +// SPDX-License-Identifier: GPL-2.0 +/* + * linux/arch/arm/mm/iomap.c + * + * Map IO port and PCI memory spaces so that {read,write}[bwl] can + * be used to access this memory. + */ +#include +#include +#include +#include + +#include + +unsigned long vga_base; +EXPORT_SYMBOL(vga_base); + +#ifdef __io +void __iomem *ioport_map(unsigned long port, unsigned int nr) +{ + return __io(port); +} +EXPORT_SYMBOL(ioport_map); + +void ioport_unmap(void __iomem *addr) +{ +} +EXPORT_SYMBOL(ioport_unmap); +#endif + +#ifdef CONFIG_PCI +unsigned long pcibios_min_io = 0x1000; +EXPORT_SYMBOL(pcibios_min_io); + +unsigned long pcibios_min_mem = 0x01000000; +EXPORT_SYMBOL(pcibios_min_mem); + +void pci_iounmap(struct pci_dev *dev, void __iomem *addr) +{ + if ((unsigned long)addr >= VMALLOC_START && + (unsigned long)addr < VMALLOC_END) + iounmap(addr); +} +EXPORT_SYMBOL(pci_iounmap); +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/nwfpe/fpmodule.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/nwfpe/fpmodule.h index f4b21ef14a..77a3a60a09 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/nwfpe/fpmodule.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/nwfpe/fpmodule.h @@ -1,35 +1,35 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - NetWinder Floating Point Emulator - (c) Rebel.com, 1998-1999 - - Direct questions, comments to Scott Bambrough - - - 27/03/03 Ian Molton Clean up CONFIG_CPU -*/ - -#ifndef __FPMODULE_H__ -#define __FPMODULE_H__ - -#define REG_ORIG_R0 17 -#define REG_CPSR 16 -#define REG_PC 15 -#define REG_LR 14 -#define REG_SP 13 -#define REG_IP 12 -#define REG_FP 11 -#define REG_R10 10 -#define REG_R9 9 -#define REG_R9 9 -#define REG_R8 8 -#define REG_R7 7 -#define REG_R6 6 -#define REG_R5 5 -#define REG_R4 4 -#define REG_R3 3 -#define REG_R2 2 -#define REG_R1 1 -#define REG_R0 0 - -#endif +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + NetWinder Floating Point Emulator + (c) Rebel.com, 1998-1999 + + Direct questions, comments to Scott Bambrough + + + 27/03/03 Ian Molton Clean up CONFIG_CPU +*/ + +#ifndef __FPMODULE_H__ +#define __FPMODULE_H__ + +#define REG_ORIG_R0 17 +#define REG_CPSR 16 +#define REG_PC 15 +#define REG_LR 14 +#define REG_SP 13 +#define REG_IP 12 +#define REG_FP 11 +#define REG_R10 10 +#define REG_R9 9 +#define REG_R9 9 +#define REG_R8 8 +#define REG_R7 7 +#define REG_R6 6 +#define REG_R5 5 +#define REG_R4 4 +#define REG_R3 3 +#define REG_R2 2 +#define REG_R1 1 +#define REG_R0 0 + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/probes/uprobes/core.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/probes/uprobes/core.h index 8330dba811..332ed634d5 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/probes/uprobes/core.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/probes/uprobes/core.h @@ -1,32 +1,32 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2012 Rabin Vincent - */ - -#ifndef __ARM_KERNEL_UPROBES_H -#define __ARM_KERNEL_UPROBES_H - -enum probes_insn uprobe_decode_ldmstm(probes_opcode_t insn, - struct arch_probes_insn *asi, - const struct decode_header *d); - -enum probes_insn decode_ldr(probes_opcode_t insn, - struct arch_probes_insn *asi, - const struct decode_header *d); - -enum probes_insn -decode_rd12rn16rm0rs8_rwflags(probes_opcode_t insn, - struct arch_probes_insn *asi, - const struct decode_header *d); - -enum probes_insn -decode_wb_pc(probes_opcode_t insn, struct arch_probes_insn *asi, - const struct decode_header *d, bool alu); - -enum probes_insn -decode_pc_ro(probes_opcode_t insn, struct arch_probes_insn *asi, - const struct decode_header *d); - -extern const union decode_action uprobes_probes_actions[]; - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2012 Rabin Vincent + */ + +#ifndef __ARM_KERNEL_UPROBES_H +#define __ARM_KERNEL_UPROBES_H + +enum probes_insn uprobe_decode_ldmstm(probes_opcode_t insn, + struct arch_probes_insn *asi, + const struct decode_header *d); + +enum probes_insn decode_ldr(probes_opcode_t insn, + struct arch_probes_insn *asi, + const struct decode_header *d); + +enum probes_insn +decode_rd12rn16rm0rs8_rwflags(probes_opcode_t insn, + struct arch_probes_insn *asi, + const struct decode_header *d); + +enum probes_insn +decode_wb_pc(probes_opcode_t insn, struct arch_probes_insn *asi, + const struct decode_header *d, bool alu); + +enum probes_insn +decode_pc_ro(probes_opcode_t insn, struct arch_probes_insn *asi, + const struct decode_header *d); + +extern const union decode_action uprobes_probes_actions[]; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/tools/syscallnr.sh b/image/debian/UFI003_MB_V02/kernel/arch/arm/tools/syscallnr.sh index 25e2e81aa7..9e386770b6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/tools/syscallnr.sh +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/tools/syscallnr.sh @@ -1,33 +1,33 @@ -#!/bin/sh -# SPDX-License-Identifier: GPL-2.0 -in="$1" -out="$2" -align=1 - -fileguard=_ASM_ARM_`basename "$out" | sed \ - -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/' \ - -e 's/[^A-Z0-9_]/_/g' -e 's/__/_/g'` - -grep -E "^[0-9A-Fa-fXx]+[[:space:]]+" "$in" | sort -n | tail -n1 | ( - echo "#ifndef ${fileguard} -#define ${fileguard} 1 - -/* - * This needs to be greater than __NR_last_syscall+1 in order to account - * for the padding in the syscall table. - */ -" - - while read nr abi name entry; do - nr=$(($nr + 1)) - while [ "$(($nr / (256 * $align) ))" -gt 0 ]; do - align=$(( $align * 4 )) - done - nr=$(( ($nr + $align - 1) & ~($align - 1) )) - echo "/* aligned to $align */" - echo "#define __NR_syscalls $nr" - done - - echo "" - echo "#endif /* ${fileguard} */" -) > "$out" +#!/bin/sh +# SPDX-License-Identifier: GPL-2.0 +in="$1" +out="$2" +align=1 + +fileguard=_ASM_ARM_`basename "$out" | sed \ + -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/' \ + -e 's/[^A-Z0-9_]/_/g' -e 's/__/_/g'` + +grep -E "^[0-9A-Fa-fXx]+[[:space:]]+" "$in" | sort -n | tail -n1 | ( + echo "#ifndef ${fileguard} +#define ${fileguard} 1 + +/* + * This needs to be greater than __NR_last_syscall+1 in order to account + * for the padding in the syscall table. + */ +" + + while read nr abi name entry; do + nr=$(($nr + 1)) + while [ "$(($nr / (256 * $align) ))" -gt 0 ]; do + align=$(( $align * 4 )) + done + nr=$(( ($nr + $align - 1) & ~($align - 1) )) + echo "/* aligned to $align */" + echo "#define __NR_syscalls $nr" + done + + echo "" + echo "#endif /* ${fileguard} */" +) > "$out" diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/Kconfig.debug b/image/debian/UFI003_MB_V02/kernel/arch/arm64/Kconfig.debug index d6a2367ad8..265c446103 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/Kconfig.debug +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/Kconfig.debug @@ -1,23 +1,23 @@ -# SPDX-License-Identifier: GPL-2.0-only - -config PID_IN_CONTEXTIDR - bool "Write the current PID to the CONTEXTIDR register" - help - Enabling this option causes the kernel to write the current PID to - the CONTEXTIDR register, at the expense of some additional - instructions during context switch. Say Y here only if you are - planning to use hardware trace tools with this kernel. - -config DEBUG_EFI - depends on EFI && DEBUG_INFO - bool "UEFI debugging" - help - Enable this option to include EFI specific debugging features into - the kernel that are only useful when using a debug build of the - UEFI firmware - -config ARM64_RELOC_TEST - depends on m - tristate "Relocation testing module" - -source "drivers/hwtracing/coresight/Kconfig" +# SPDX-License-Identifier: GPL-2.0-only + +config PID_IN_CONTEXTIDR + bool "Write the current PID to the CONTEXTIDR register" + help + Enabling this option causes the kernel to write the current PID to + the CONTEXTIDR register, at the expense of some additional + instructions during context switch. Say Y here only if you are + planning to use hardware trace tools with this kernel. + +config DEBUG_EFI + depends on EFI && DEBUG_INFO + bool "UEFI debugging" + help + Enable this option to include EFI specific debugging features into + the kernel that are only useful when using a debug build of the + UEFI firmware + +config ARM64_RELOC_TEST + depends on m + tristate "Relocation testing module" + +source "drivers/hwtracing/coresight/Kconfig" diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/Makefile index f3923e02b5..21cd3a87f3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/Makefile @@ -1,36 +1,36 @@ -# SPDX-License-Identifier: GPL-2.0 -subdir-y += actions -subdir-y += airoha -subdir-y += allwinner -subdir-y += altera -subdir-y += amazon -subdir-y += amd -subdir-y += amlogic -subdir-y += apm -subdir-y += apple -subdir-y += arm -subdir-y += bitmain -subdir-y += broadcom -subdir-y += cavium -subdir-y += exynos -subdir-y += freescale -subdir-y += hisilicon -subdir-y += intel -subdir-y += lg -subdir-y += marvell -subdir-y += mediatek -subdir-y += microchip -subdir-y += nuvoton -subdir-y += nvidia -subdir-y += qcom -subdir-y += realtek -subdir-y += renesas -subdir-y += rockchip -subdir-y += socionext -subdir-y += sprd -subdir-y += st -subdir-y += synaptics -subdir-y += tesla -subdir-y += ti -subdir-y += toshiba -subdir-y += xilinx +# SPDX-License-Identifier: GPL-2.0 +subdir-y += actions +subdir-y += airoha +subdir-y += allwinner +subdir-y += altera +subdir-y += amazon +subdir-y += amd +subdir-y += amlogic +subdir-y += apm +subdir-y += apple +subdir-y += arm +subdir-y += bitmain +subdir-y += broadcom +subdir-y += cavium +subdir-y += exynos +subdir-y += freescale +subdir-y += hisilicon +subdir-y += intel +subdir-y += lg +subdir-y += marvell +subdir-y += mediatek +subdir-y += microchip +subdir-y += nuvoton +subdir-y += nvidia +subdir-y += qcom +subdir-y += realtek +subdir-y += renesas +subdir-y += rockchip +subdir-y += socionext +subdir-y += sprd +subdir-y += st +subdir-y += synaptics +subdir-y += tesla +subdir-y += ti +subdir-y += toshiba +subdir-y += xilinx diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64-plus.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64-plus.dts index 29eb699bcf..026d843cd7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64-plus.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64-plus.dts @@ -1,35 +1,35 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -// Copyright (c) 2016 ARM Ltd. - -#include "sun50i-a64-pine64.dts" - -/ { - model = "Pine64 PINE A64+"; - compatible = "pine64,pine64-plus", "allwinner,sun50i-a64"; - - /* TODO: Camera, touchscreen, etc. */ -}; - -&emac { - pinctrl-names = "default"; - pinctrl-0 = <&rgmii_pins>; - phy-mode = "rgmii-txid"; - phy-handle = <&ext_rgmii_phy>; - status = "okay"; -}; - -&mdio { - ext_rgmii_phy: ethernet-phy@1 { - compatible = "ethernet-phy-ieee802.3-c22"; - reg = <1>; - }; -}; - -®_dc1sw { - /* - * Ethernet PHY needs 30ms to properly power up and some more - * to initialize. 100ms should be plenty of time to finish - * whole process. - */ - regulator-enable-ramp-delay = <100000>; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +// Copyright (c) 2016 ARM Ltd. + +#include "sun50i-a64-pine64.dts" + +/ { + model = "Pine64 PINE A64+"; + compatible = "pine64,pine64-plus", "allwinner,sun50i-a64"; + + /* TODO: Camera, touchscreen, etc. */ +}; + +&emac { + pinctrl-names = "default"; + pinctrl-0 = <&rgmii_pins>; + phy-mode = "rgmii-txid"; + phy-handle = <&ext_rgmii_phy>; + status = "okay"; +}; + +&mdio { + ext_rgmii_phy: ethernet-phy@1 { + compatible = "ethernet-phy-ieee802.3-c22"; + reg = <1>; + }; +}; + +®_dc1sw { + /* + * Ethernet PHY needs 30ms to properly power up and some more + * to initialize. 100ms should be plenty of time to finish + * whole process. + */ + regulator-enable-ramp-delay = <100000>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/allwinner/sun50i-h6-tanix-tx6.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/allwinner/sun50i-h6-tanix-tx6.dts index f609d4ec3b..9a38ff9b3f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/allwinner/sun50i-h6-tanix-tx6.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/allwinner/sun50i-h6-tanix-tx6.dts @@ -1,29 +1,29 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -// Copyright (c) 2019 Jernej Skrabec - -/dts-v1/; - -#include "sun50i-h6-tanix.dtsi" - -/ { - model = "Tanix TX6"; - compatible = "oranth,tanix-tx6", "allwinner,sun50i-h6"; -}; - -&r_ir { - linux,rc-map-name = "rc-tanix-tx5max"; -}; - -&uart1 { - pinctrl-names = "default"; - pinctrl-0 = <&uart1_pins>, <&uart1_rts_cts_pins>; - uart-has-rtscts; - status = "okay"; - - bluetooth { - compatible = "realtek,rtl8822cs-bt"; - device-wake-gpios = <&r_pio 1 2 GPIO_ACTIVE_HIGH>; /* PM2 */ - host-wake-gpios = <&r_pio 1 1 GPIO_ACTIVE_HIGH>; /* PM1 */ - enable-gpios = <&r_pio 1 4 GPIO_ACTIVE_HIGH>; /* PM4 */ - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +// Copyright (c) 2019 Jernej Skrabec + +/dts-v1/; + +#include "sun50i-h6-tanix.dtsi" + +/ { + model = "Tanix TX6"; + compatible = "oranth,tanix-tx6", "allwinner,sun50i-h6"; +}; + +&r_ir { + linux,rc-map-name = "rc-tanix-tx5max"; +}; + +&uart1 { + pinctrl-names = "default"; + pinctrl-0 = <&uart1_pins>, <&uart1_rts_cts_pins>; + uart-has-rtscts; + status = "okay"; + + bluetooth { + compatible = "realtek,rtl8822cs-bt"; + device-wake-gpios = <&r_pio 1 2 GPIO_ACTIVE_HIGH>; /* PM2 */ + host-wake-gpios = <&r_pio 1 1 GPIO_ACTIVE_HIGH>; /* PM1 */ + enable-gpios = <&r_pio 1 4 GPIO_ACTIVE_HIGH>; /* PM4 */ + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/allwinner/sun50i-h616-bigtreetech-pi.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/allwinner/sun50i-h616-bigtreetech-pi.dts index 3b70dfde0a..ff84a37944 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/allwinner/sun50i-h616-bigtreetech-pi.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/allwinner/sun50i-h616-bigtreetech-pi.dts @@ -1,63 +1,63 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (C) 2023 Martin Botka . - */ - -/dts-v1/; - -#include "sun50i-h616-bigtreetech-cb1.dtsi" - -/ { - model = "BigTreeTech Pi"; - compatible = "bigtreetech,pi", "allwinner,sun50i-h616"; - - aliases { - serial0 = &uart0; - }; - - chosen { - stdout-path = "serial0:115200n8"; - }; -}; - -&ehci0 { - status = "okay"; -}; - -&ehci1 { - status = "okay"; -}; - -&ehci2 { - status = "okay"; -}; - -&ehci3 { - status = "okay"; -}; - -&ir { - status = "okay"; -}; - -&ohci0 { - status = "okay"; -}; - -&ohci1 { - status = "okay"; -}; - -&ohci2 { - status = "okay"; -}; - -&ohci3 { - 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 Pi"; + compatible = "bigtreetech,pi", "allwinner,sun50i-h616"; + + aliases { + serial0 = &uart0; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; +}; + +&ehci0 { + status = "okay"; +}; + +&ehci1 { + status = "okay"; +}; + +&ehci2 { + status = "okay"; +}; + +&ehci3 { + status = "okay"; +}; + +&ir { + status = "okay"; +}; + +&ohci0 { + status = "okay"; +}; + +&ohci1 { + status = "okay"; +}; + +&ohci2 { + status = "okay"; +}; + +&ohci3 { + 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/allwinner/sun50i-h700-anbernic-rg35xx-sp.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/allwinner/sun50i-h700-anbernic-rg35xx-sp.dts index d1e8053731..0cf16dc903 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/allwinner/sun50i-h700-anbernic-rg35xx-sp.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/allwinner/sun50i-h700-anbernic-rg35xx-sp.dts @@ -1,34 +1,34 @@ -// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -/* - * Copyright (C) 2024 Ryan Walklin . - * Copyright (C) 2024 Chris Morgan . - */ - -#include -#include "sun50i-h700-anbernic-rg35xx-plus.dts" - -/ { - model = "Anbernic RG35XX SP"; - compatible = "anbernic,rg35xx-sp", "allwinner,sun50i-h700"; - - gpio-keys-lid { - compatible = "gpio-keys"; - - lid-switch { - label = "Lid Switch"; - gpios = <&pio 4 7 GPIO_ACTIVE_LOW>; /* PE7 */ - linux,can-disable; - linux,code = ; - linux,input-type = ; - wakeup-event-action = ; - wakeup-source; - }; - }; -}; - -&r_i2c { - rtc_ext: rtc@51 { - compatible = "nxp,pcf8563"; - reg = <0x51>; - }; -}; +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +/* + * Copyright (C) 2024 Ryan Walklin . + * Copyright (C) 2024 Chris Morgan . + */ + +#include +#include "sun50i-h700-anbernic-rg35xx-plus.dts" + +/ { + model = "Anbernic RG35XX SP"; + compatible = "anbernic,rg35xx-sp", "allwinner,sun50i-h700"; + + gpio-keys-lid { + compatible = "gpio-keys"; + + lid-switch { + label = "Lid Switch"; + gpios = <&pio 4 7 GPIO_ACTIVE_LOW>; /* PE7 */ + linux,can-disable; + linux,code = ; + linux,input-type = ; + wakeup-event-action = ; + wakeup-source; + }; + }; +}; + +&r_i2c { + rtc_ext: rtc@51 { + compatible = "nxp,pcf8563"; + reg = <0x51>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/amlogic-a4-a113l2-ba400.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/amlogic-a4-a113l2-ba400.dts index 0213765063..ad3127e695 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/amlogic-a4-a113l2-ba400.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/amlogic-a4-a113l2-ba400.dts @@ -1,42 +1,42 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (c) 2024 Amlogic, Inc. All rights reserved. - */ - -/dts-v1/; - -#include "amlogic-a4.dtsi" - -/ { - model = "Amlogic A113L2 ba400 Development Board"; - compatible = "amlogic,ba400", "amlogic,a4"; - interrupt-parent = <&gic>; - #address-cells = <2>; - #size-cells = <2>; - - aliases { - serial0 = &uart_b; - }; - - memory@0 { - device_type = "memory"; - reg = <0x0 0x0 0x0 0x40000000>; - }; - - reserved-memory { - #address-cells = <2>; - #size-cells = <2>; - ranges; - - /* 10 MiB reserved for ARM Trusted Firmware */ - secmon_reserved: secmon@5000000 { - compatible = "shared-dma-pool"; - reg = <0x0 0x05000000 0x0 0xa00000>; - no-map; - }; - }; -}; - -&uart_b { - status = "okay"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2024 Amlogic, Inc. All rights reserved. + */ + +/dts-v1/; + +#include "amlogic-a4.dtsi" + +/ { + model = "Amlogic A113L2 ba400 Development Board"; + compatible = "amlogic,ba400", "amlogic,a4"; + interrupt-parent = <&gic>; + #address-cells = <2>; + #size-cells = <2>; + + aliases { + serial0 = &uart_b; + }; + + memory@0 { + device_type = "memory"; + reg = <0x0 0x0 0x0 0x40000000>; + }; + + reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + /* 10 MiB reserved for ARM Trusted Firmware */ + secmon_reserved: secmon@5000000 { + compatible = "shared-dma-pool"; + reg = <0x0 0x05000000 0x0 0xa00000>; + no-map; + }; + }; +}; + +&uart_b { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/amlogic-a4.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/amlogic-a4.dtsi index 8c667587ae..de10e7aebf 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/amlogic-a4.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/amlogic-a4.dtsi @@ -1,50 +1,50 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (c) 2024 Amlogic, Inc. All rights reserved. - */ - -#include "amlogic-a4-common.dtsi" -#include -/ { - cpus { - #address-cells = <2>; - #size-cells = <0>; - - cpu0: cpu@0 { - device_type = "cpu"; - compatible = "arm,cortex-a53"; - reg = <0x0 0x0>; - enable-method = "psci"; - }; - - cpu1: cpu@1 { - device_type = "cpu"; - compatible = "arm,cortex-a53"; - reg = <0x0 0x1>; - enable-method = "psci"; - }; - - cpu2: cpu@2 { - device_type = "cpu"; - compatible = "arm,cortex-a53"; - reg = <0x0 0x2>; - enable-method = "psci"; - }; - - cpu3: cpu@3 { - device_type = "cpu"; - compatible = "arm,cortex-a53"; - reg = <0x0 0x3>; - enable-method = "psci"; - }; - }; - - sm: secure-monitor { - compatible = "amlogic,meson-gxbb-sm"; - - pwrc: power-controller { - compatible = "amlogic,a4-pwrc"; - #power-domain-cells = <1>; - }; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2024 Amlogic, Inc. All rights reserved. + */ + +#include "amlogic-a4-common.dtsi" +#include +/ { + cpus { + #address-cells = <2>; + #size-cells = <0>; + + cpu0: cpu@0 { + device_type = "cpu"; + compatible = "arm,cortex-a53"; + reg = <0x0 0x0>; + enable-method = "psci"; + }; + + cpu1: cpu@1 { + device_type = "cpu"; + compatible = "arm,cortex-a53"; + reg = <0x0 0x1>; + enable-method = "psci"; + }; + + cpu2: cpu@2 { + device_type = "cpu"; + compatible = "arm,cortex-a53"; + reg = <0x0 0x2>; + enable-method = "psci"; + }; + + cpu3: cpu@3 { + device_type = "cpu"; + compatible = "arm,cortex-a53"; + reg = <0x0 0x3>; + enable-method = "psci"; + }; + }; + + sm: secure-monitor { + compatible = "amlogic,meson-gxbb-sm"; + + pwrc: power-controller { + compatible = "amlogic,a4-pwrc"; + #power-domain-cells = <1>; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/amlogic-a5-a113x2-av400.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/amlogic-a5-a113x2-av400.dts index 177230c8b6..11d8b88c1c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/amlogic-a5-a113x2-av400.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/amlogic-a5-a113x2-av400.dts @@ -1,42 +1,42 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (c) 2024 Amlogic, Inc. All rights reserved. - */ - -/dts-v1/; - -#include "amlogic-a5.dtsi" - -/ { - model = "Amlogic A113X2 av400 Development Board"; - compatible = "amlogic,av400", "amlogic,a5"; - interrupt-parent = <&gic>; - #address-cells = <2>; - #size-cells = <2>; - - aliases { - serial0 = &uart_b; - }; - - memory@0 { - device_type = "memory"; - reg = <0x0 0x0 0x0 0x40000000>; - }; - - reserved-memory { - #address-cells = <2>; - #size-cells = <2>; - ranges; - - /* 10 MiB reserved for ARM Trusted Firmware */ - secmon_reserved: secmon@5000000 { - compatible = "shared-dma-pool"; - reg = <0x0 0x05000000 0x0 0xa00000>; - no-map; - }; - }; -}; - -&uart_b { - status = "okay"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2024 Amlogic, Inc. All rights reserved. + */ + +/dts-v1/; + +#include "amlogic-a5.dtsi" + +/ { + model = "Amlogic A113X2 av400 Development Board"; + compatible = "amlogic,av400", "amlogic,a5"; + interrupt-parent = <&gic>; + #address-cells = <2>; + #size-cells = <2>; + + aliases { + serial0 = &uart_b; + }; + + memory@0 { + device_type = "memory"; + reg = <0x0 0x0 0x0 0x40000000>; + }; + + reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + /* 10 MiB reserved for ARM Trusted Firmware */ + secmon_reserved: secmon@5000000 { + compatible = "shared-dma-pool"; + reg = <0x0 0x05000000 0x0 0xa00000>; + no-map; + }; + }; +}; + +&uart_b { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/amlogic-a5.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/amlogic-a5.dtsi index 92a91b5d2c..17a6316de8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/amlogic-a5.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/amlogic-a5.dtsi @@ -1,50 +1,50 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (c) 2024 Amlogic, Inc. All rights reserved. - */ - -#include "amlogic-a4-common.dtsi" -#include -/ { - cpus { - #address-cells = <2>; - #size-cells = <0>; - - cpu0: cpu@0 { - device_type = "cpu"; - compatible = "arm,cortex-a55"; - reg = <0x0 0x0>; - enable-method = "psci"; - }; - - cpu1: cpu@100 { - device_type = "cpu"; - compatible = "arm,cortex-a55"; - reg = <0x0 0x100>; - enable-method = "psci"; - }; - - cpu2: cpu@200 { - device_type = "cpu"; - compatible = "arm,cortex-a55"; - reg = <0x0 0x200>; - enable-method = "psci"; - }; - - cpu3: cpu@300 { - device_type = "cpu"; - compatible = "arm,cortex-a55"; - reg = <0x0 0x300>; - enable-method = "psci"; - }; - }; - - sm: secure-monitor { - compatible = "amlogic,meson-gxbb-sm"; - - pwrc: power-controller { - compatible = "amlogic,a5-pwrc"; - #power-domain-cells = <1>; - }; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2024 Amlogic, Inc. All rights reserved. + */ + +#include "amlogic-a4-common.dtsi" +#include +/ { + cpus { + #address-cells = <2>; + #size-cells = <0>; + + cpu0: cpu@0 { + device_type = "cpu"; + compatible = "arm,cortex-a55"; + reg = <0x0 0x0>; + enable-method = "psci"; + }; + + cpu1: cpu@100 { + device_type = "cpu"; + compatible = "arm,cortex-a55"; + reg = <0x0 0x100>; + enable-method = "psci"; + }; + + cpu2: cpu@200 { + device_type = "cpu"; + compatible = "arm,cortex-a55"; + reg = <0x0 0x200>; + enable-method = "psci"; + }; + + cpu3: cpu@300 { + device_type = "cpu"; + compatible = "arm,cortex-a55"; + reg = <0x0 0x300>; + enable-method = "psci"; + }; + }; + + sm: secure-monitor { + compatible = "amlogic,meson-gxbb-sm"; + + pwrc: power-controller { + compatible = "amlogic,a5-pwrc"; + #power-domain-cells = <1>; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/amlogic-t7-a311d2-an400.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/amlogic-t7-a311d2-an400.dts index eb1eb120a8..c05edebb90 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/amlogic-t7-a311d2-an400.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/amlogic-t7-a311d2-an400.dts @@ -1,39 +1,39 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (c) 2023 Amlogic, Inc. All rights reserved. - */ - -/dts-v1/; - -#include "amlogic-t7.dtsi" - -/ { - model = "Amlogic A311D2 AN400 Development Board"; - compatible = "amlogic,an400", "amlogic,a311d2", "amlogic,t7"; - interrupt-parent = <&gic>; - #address-cells = <2>; - #size-cells = <2>; - - aliases { - serial0 = &uart_a; - }; - - memory@0 { - device_type = "memory"; - reg = <0x00000000 0x00000000 0x00000000 0xE0000000 - 0x00000001 0x00000000 0x00000000 0x20000000>; - }; - - xtal: xtal-clk { - compatible = "fixed-clock"; - clock-frequency = <24000000>; - clock-output-names = "xtal"; - #clock-cells = <0>; - }; -}; - -&uart_a { - clocks = <&xtal>, <&xtal>, <&xtal>; - clock-names = "xtal", "pclk", "baud"; - status = "okay"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2023 Amlogic, Inc. All rights reserved. + */ + +/dts-v1/; + +#include "amlogic-t7.dtsi" + +/ { + model = "Amlogic A311D2 AN400 Development Board"; + compatible = "amlogic,an400", "amlogic,a311d2", "amlogic,t7"; + interrupt-parent = <&gic>; + #address-cells = <2>; + #size-cells = <2>; + + aliases { + serial0 = &uart_a; + }; + + memory@0 { + device_type = "memory"; + reg = <0x00000000 0x00000000 0x00000000 0xE0000000 + 0x00000001 0x00000000 0x00000000 0x20000000>; + }; + + xtal: xtal-clk { + compatible = "fixed-clock"; + clock-frequency = <24000000>; + clock-output-names = "xtal"; + #clock-cells = <0>; + }; +}; + +&uart_a { + clocks = <&xtal>, <&xtal>, <&xtal>; + clock-names = "xtal", "pclk", "baud"; + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-axg-jethome-jethub-j100.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-axg-jethome-jethub-j100.dts index 7e5a7ea9e6..b2d6ba6609 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-axg-jethome-jethub-j100.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-axg-jethome-jethub-j100.dts @@ -1,40 +1,40 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (c) 2022 Vyacheslav Bocharov - * Copyright (c) 2022 JetHome - * Author: Vyacheslav Bocharov - */ - -/dts-v1/; - -#include "meson-axg-jethome-jethub-j1xx.dtsi" - -/ { - compatible = "jethome,jethub-j100", "amlogic,a113d", "amlogic,meson-axg"; - model = "JetHome JetHub D1 (J100)"; - - /* 1024MB RAM */ - memory@0 { - device_type = "memory"; - reg = <0x0 0x0 0x0 0x40000000>; - }; -}; - - -/* wifi module */ -&sd_emmc_b { - non-removable; - - brcmf: wifi@1 { - reg = <1>; - compatible = "brcm,bcm4329-fmac"; - }; -}; - -/* UART Bluetooth */ -&uart_B { - bluetooth { - compatible = "brcm,bcm43438-bt"; - shutdown-gpios = <&gpio GPIOZ_7 GPIO_ACTIVE_HIGH>; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2022 Vyacheslav Bocharov + * Copyright (c) 2022 JetHome + * Author: Vyacheslav Bocharov + */ + +/dts-v1/; + +#include "meson-axg-jethome-jethub-j1xx.dtsi" + +/ { + compatible = "jethome,jethub-j100", "amlogic,a113d", "amlogic,meson-axg"; + model = "JetHome JetHub D1 (J100)"; + + /* 1024MB RAM */ + memory@0 { + device_type = "memory"; + reg = <0x0 0x0 0x0 0x40000000>; + }; +}; + + +/* wifi module */ +&sd_emmc_b { + non-removable; + + brcmf: wifi@1 { + reg = <1>; + compatible = "brcm,bcm4329-fmac"; + }; +}; + +/* UART Bluetooth */ +&uart_B { + bluetooth { + compatible = "brcm,bcm43438-bt"; + shutdown-gpios = <&gpio GPIOZ_7 GPIO_ACTIVE_HIGH>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-axg-jethome-jethub-j110-rev-3.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-axg-jethome-jethub-j110-rev-3.dts index bdee027a40..c356bd2cc6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-axg-jethome-jethub-j110-rev-3.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-axg-jethome-jethub-j110-rev-3.dts @@ -1,39 +1,39 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (c) 2022 Vyacheslav Bocharov - * Copyright (c) 2022 JetHome - * Author: Vyacheslav Bocharov - */ - -/dts-v1/; - -#include "meson-axg-jethome-jethub-j1xx.dtsi" - -/ { - compatible = "jethome,jethub-j110", "amlogic,a113d", "amlogic,meson-axg"; - model = "JetHome JetHub D1p (J110) Hw rev.3"; - - /* 2GiB or 4GiB RAM */ - memory@0 { - device_type = "memory"; - reg = <0x0 0x0 0x0 0x80000000>; - }; -}; - - -/* wifi module */ -&sd_emmc_b { - broken-cd;/* cd-gpios = <&gpio_ao GPIOAO_3 GPIO_ACTIVE_LOW>;*/ -}; - -&i2c_AO { - /* EEPROM on base board */ - eeprompd: eeprom@56 { - compatible = "atmel,24c64"; - reg = <0x56>; - pagesize = <0x20>; - label = "eeprompd"; - address-width = <0x10>; - vcc-supply = <&vddao_3v3>; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2022 Vyacheslav Bocharov + * Copyright (c) 2022 JetHome + * Author: Vyacheslav Bocharov + */ + +/dts-v1/; + +#include "meson-axg-jethome-jethub-j1xx.dtsi" + +/ { + compatible = "jethome,jethub-j110", "amlogic,a113d", "amlogic,meson-axg"; + model = "JetHome JetHub D1p (J110) Hw rev.3"; + + /* 2GiB or 4GiB RAM */ + memory@0 { + device_type = "memory"; + reg = <0x0 0x0 0x0 0x80000000>; + }; +}; + + +/* wifi module */ +&sd_emmc_b { + broken-cd;/* cd-gpios = <&gpio_ao GPIOAO_3 GPIO_ACTIVE_LOW>;*/ +}; + +&i2c_AO { + /* EEPROM on base board */ + eeprompd: eeprom@56 { + compatible = "atmel,24c64"; + reg = <0x56>; + pagesize = <0x20>; + label = "eeprompd"; + address-width = <0x10>; + vcc-supply = <&vddao_3v3>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-g12a-fbx8am-brcm.dtso b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-g12a-fbx8am-brcm.dtso index cae8da70bb..9591fdc31e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-g12a-fbx8am-brcm.dtso +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-g12a-fbx8am-brcm.dtso @@ -1,31 +1,31 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -// Copyright (c) 2024 Freebox SAS - -/dts-v1/; -/plugin/; - -#include -#include - -&uart_A { - bluetooth { - compatible = "brcm,bcm43438-bt"; - shutdown-gpios = <&gpio GPIOX_17 GPIO_ACTIVE_HIGH>; - max-speed = <2000000>; - clocks = <&wifi32k>; - clock-names = "lpo"; - vbat-supply = <&vddao_3v3>; - vddio-supply = <&vddio_ao1v8>; - }; -}; - -&sd_emmc_a { - /* Per mmc-controller.yaml */ - #address-cells = <1>; - #size-cells = <0>; - /* NB: may be either AP6398S or AP6398SR3 wifi module */ - brcmf: wifi@1 { - reg = <1>; - compatible = "brcm,bcm4329-fmac"; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +// Copyright (c) 2024 Freebox SAS + +/dts-v1/; +/plugin/; + +#include +#include + +&uart_A { + bluetooth { + compatible = "brcm,bcm43438-bt"; + shutdown-gpios = <&gpio GPIOX_17 GPIO_ACTIVE_HIGH>; + max-speed = <2000000>; + clocks = <&wifi32k>; + clock-names = "lpo"; + vbat-supply = <&vddao_3v3>; + vddio-supply = <&vddio_ao1v8>; + }; +}; + +&sd_emmc_a { + /* Per mmc-controller.yaml */ + #address-cells = <1>; + #size-cells = <0>; + /* NB: may be either AP6398S or AP6398SR3 wifi module */ + brcmf: wifi@1 { + reg = <1>; + compatible = "brcm,bcm4329-fmac"; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-g12b-a311d-bananapi-m2s.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-g12b-a311d-bananapi-m2s.dts index 3defbe7c58..ac6f7ae1d1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-g12b-a311d-bananapi-m2s.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-g12b-a311d-bananapi-m2s.dts @@ -1,37 +1,37 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (c) 2023 Christian Hewitt - */ - -/dts-v1/; - -#include "meson-g12b-a311d.dtsi" -#include "meson-g12b-bananapi.dtsi" - -/ { - compatible = "bananapi,bpi-m2s", "amlogic,a311d", "amlogic,g12b"; - model = "BananaPi M2S"; - - aliases { - i2c0 = &i2c1; - i2c1 = &i2c3; - }; -}; - -/* Camera (CSI) bus */ -&i2c1 { - status = "okay"; - pinctrl-0 = <&i2c1_sda_h6_pins>, <&i2c1_sck_h7_pins>; - pinctrl-names = "default"; -}; - -/* Display (DSI) bus */ -&i2c3 { - status = "okay"; - pinctrl-0 = <&i2c3_sda_a_pins>, <&i2c3_sck_a_pins>; - pinctrl-names = "default"; -}; - -&npu { - status = "okay"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2023 Christian Hewitt + */ + +/dts-v1/; + +#include "meson-g12b-a311d.dtsi" +#include "meson-g12b-bananapi.dtsi" + +/ { + compatible = "bananapi,bpi-m2s", "amlogic,a311d", "amlogic,g12b"; + model = "BananaPi M2S"; + + aliases { + i2c0 = &i2c1; + i2c1 = &i2c3; + }; +}; + +/* Camera (CSI) bus */ +&i2c1 { + status = "okay"; + pinctrl-0 = <&i2c1_sda_h6_pins>, <&i2c1_sck_h7_pins>; + pinctrl-names = "default"; +}; + +/* Display (DSI) bus */ +&i2c3 { + status = "okay"; + pinctrl-0 = <&i2c3_sda_a_pins>, <&i2c3_sck_a_pins>; + pinctrl-names = "default"; +}; + +&npu { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2-plus.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2-plus.dts index 21fa03c285..ce1198ad34 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2-plus.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2-plus.dts @@ -1,31 +1,31 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (c) 2019 BayLibre, SAS - * Author: Neil Armstrong - */ - -/dts-v1/; - -/* The Amlogic S922X Rev. C supports the same OPPs as the A311D variant */ -#include "meson-g12b-a311d.dtsi" -#include "meson-g12b-odroid-n2.dtsi" - -/ { - compatible = "hardkernel,odroid-n2-plus", "amlogic,s922x", "amlogic,g12b"; - model = "Hardkernel ODROID-N2Plus"; -}; - -&vddcpu_a { - regulator-min-microvolt = <680000>; - regulator-max-microvolt = <1040000>; - - pwms = <&pwm_ab 0 1500 0>; -}; - -&vddcpu_b { - regulator-min-microvolt = <680000>; - regulator-max-microvolt = <1040000>; - - pwms = <&pwm_AO_cd 1 1500 0>; -}; - +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2019 BayLibre, SAS + * Author: Neil Armstrong + */ + +/dts-v1/; + +/* The Amlogic S922X Rev. C supports the same OPPs as the A311D variant */ +#include "meson-g12b-a311d.dtsi" +#include "meson-g12b-odroid-n2.dtsi" + +/ { + compatible = "hardkernel,odroid-n2-plus", "amlogic,s922x", "amlogic,g12b"; + model = "Hardkernel ODROID-N2Plus"; +}; + +&vddcpu_a { + regulator-min-microvolt = <680000>; + regulator-max-microvolt = <1040000>; + + pwms = <&pwm_ab 0 1500 0>; +}; + +&vddcpu_b { + regulator-min-microvolt = <680000>; + regulator-max-microvolt = <1040000>; + + pwms = <&pwm_AO_cd 1 1500 0>; +}; + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-gxl-s905w-tx3-mini.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-gxl-s905w-tx3-mini.dts index a63314a783..6705c2082a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-gxl-s905w-tx3-mini.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-gxl-s905w-tx3-mini.dts @@ -1,30 +1,30 @@ -// 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 = "oranth,tx3-mini", "amlogic,s905w", "amlogic,meson-gxl"; - model = "Oranth Tanix TX3 Mini"; - - memory@0 { - device_type = "memory"; - reg = <0x0 0x0 0x0 0x40000000>; /* 1 GiB or 2 GiB */ - }; -}; - -&ir { - linux,rc-map-name = "rc-tanix-tx3mini"; -}; - -&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 = "oranth,tx3-mini", "amlogic,s905w", "amlogic,meson-gxl"; + model = "Oranth Tanix TX3 Mini"; + + memory@0 { + device_type = "memory"; + reg = <0x0 0x0 0x0 0x40000000>; /* 1 GiB or 2 GiB */ + }; +}; + +&ir { + linux,rc-map-name = "rc-tanix-tx3mini"; +}; + +&usb { + dr_mode = "host"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-gxm-vega-s96.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-gxm-vega-s96.dts index d8a1ea2528..d3fdba4da9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-gxm-vega-s96.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-gxm-vega-s96.dts @@ -1,45 +1,45 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (c) 2017 BayLibre, SAS. - * Author: Neil Armstrong - * Copyright (c) 2017 Oleg - */ - -/dts-v1/; - -#include "meson-gxm.dtsi" -#include "meson-gx-p23x-q20x.dtsi" - -/ { - compatible = "tronsmart,vega-s96", "amlogic,s912", "amlogic,meson-gxm"; - model = "Tronsmart Vega S96"; - -}; - -ðmac { - pinctrl-0 = <ð_pins>; - pinctrl-names = "default"; - - /* Select external PHY by default */ - phy-handle = <&external_phy>; - - amlogic,tx-delay-ns = <2>; - - /* External PHY is in RGMII */ - phy-mode = "rgmii"; -}; - -&external_mdio { - external_phy: ethernet-phy@0 { - /* Realtek RTL8211F (0x001cc916) */ - reg = <0>; - }; -}; - -&ir { - linux,rc-map-name = "rc-vega-s9x"; -}; - -&usb { - dr_mode = "host"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2017 BayLibre, SAS. + * Author: Neil Armstrong + * Copyright (c) 2017 Oleg + */ + +/dts-v1/; + +#include "meson-gxm.dtsi" +#include "meson-gx-p23x-q20x.dtsi" + +/ { + compatible = "tronsmart,vega-s96", "amlogic,s912", "amlogic,meson-gxm"; + model = "Tronsmart Vega S96"; + +}; + +ðmac { + pinctrl-0 = <ð_pins>; + pinctrl-names = "default"; + + /* Select external PHY by default */ + phy-handle = <&external_phy>; + + amlogic,tx-delay-ns = <2>; + + /* External PHY is in RGMII */ + phy-mode = "rgmii"; +}; + +&external_mdio { + external_phy: ethernet-phy@0 { + /* Realtek RTL8211F (0x001cc916) */ + reg = <0>; + }; +}; + +&ir { + linux,rc-map-name = "rc-vega-s9x"; +}; + +&usb { + dr_mode = "host"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/apple/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/apple/Makefile index 2fbc3686e7..aec5e29cdf 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/apple/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/apple/Makefile @@ -1,15 +1,15 @@ -# SPDX-License-Identifier: GPL-2.0 -dtb-$(CONFIG_ARCH_APPLE) += t8103-j274.dtb -dtb-$(CONFIG_ARCH_APPLE) += t8103-j293.dtb -dtb-$(CONFIG_ARCH_APPLE) += t8103-j313.dtb -dtb-$(CONFIG_ARCH_APPLE) += t8103-j456.dtb -dtb-$(CONFIG_ARCH_APPLE) += t8103-j457.dtb -dtb-$(CONFIG_ARCH_APPLE) += t6000-j314s.dtb -dtb-$(CONFIG_ARCH_APPLE) += t6001-j314c.dtb -dtb-$(CONFIG_ARCH_APPLE) += t6000-j316s.dtb -dtb-$(CONFIG_ARCH_APPLE) += t6001-j316c.dtb -dtb-$(CONFIG_ARCH_APPLE) += t6001-j375c.dtb -dtb-$(CONFIG_ARCH_APPLE) += t6002-j375d.dtb -dtb-$(CONFIG_ARCH_APPLE) += t8112-j413.dtb -dtb-$(CONFIG_ARCH_APPLE) += t8112-j473.dtb -dtb-$(CONFIG_ARCH_APPLE) += t8112-j493.dtb +# SPDX-License-Identifier: GPL-2.0 +dtb-$(CONFIG_ARCH_APPLE) += t8103-j274.dtb +dtb-$(CONFIG_ARCH_APPLE) += t8103-j293.dtb +dtb-$(CONFIG_ARCH_APPLE) += t8103-j313.dtb +dtb-$(CONFIG_ARCH_APPLE) += t8103-j456.dtb +dtb-$(CONFIG_ARCH_APPLE) += t8103-j457.dtb +dtb-$(CONFIG_ARCH_APPLE) += t6000-j314s.dtb +dtb-$(CONFIG_ARCH_APPLE) += t6001-j314c.dtb +dtb-$(CONFIG_ARCH_APPLE) += t6000-j316s.dtb +dtb-$(CONFIG_ARCH_APPLE) += t6001-j316c.dtb +dtb-$(CONFIG_ARCH_APPLE) += t6001-j375c.dtb +dtb-$(CONFIG_ARCH_APPLE) += t6002-j375d.dtb +dtb-$(CONFIG_ARCH_APPLE) += t8112-j413.dtb +dtb-$(CONFIG_ARCH_APPLE) += t8112-j473.dtb +dtb-$(CONFIG_ARCH_APPLE) += t8112-j493.dtb diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/apple/t600x-gpio-pins.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/apple/t600x-gpio-pins.dtsi index 29928460ad..b31f1a7a2b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/apple/t600x-gpio-pins.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/apple/t600x-gpio-pins.dtsi @@ -1,45 +1,45 @@ -// SPDX-License-Identifier: GPL-2.0+ OR MIT -/* - * GPIO pin mappings for Apple T600x SoCs. - * - * Copyright The Asahi Linux Contributors - */ - -&pinctrl_ap { - i2c0_pins: i2c0-pins { - pinmux = , - ; - }; - - i2c1_pins: i2c1-pins { - pinmux = , - ; - }; - - i2c2_pins: i2c2-pins { - pinmux = , - ; - }; - - i2c3_pins: i2c3-pins { - pinmux = , - ; - }; - - i2c4_pins: i2c4-pins { - pinmux = , - ; - }; - - i2c5_pins: i2c5-pins { - pinmux = , - ; - }; - - pcie_pins: pcie-pins { - pinmux = , - , - , - ; - }; -}; +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * GPIO pin mappings for Apple T600x SoCs. + * + * Copyright The Asahi Linux Contributors + */ + +&pinctrl_ap { + i2c0_pins: i2c0-pins { + pinmux = , + ; + }; + + i2c1_pins: i2c1-pins { + pinmux = , + ; + }; + + i2c2_pins: i2c2-pins { + pinmux = , + ; + }; + + i2c3_pins: i2c3-pins { + pinmux = , + ; + }; + + i2c4_pins: i2c4-pins { + pinmux = , + ; + }; + + i2c5_pins: i2c5-pins { + pinmux = , + ; + }; + + pcie_pins: pcie-pins { + pinmux = , + , + , + ; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/apple/t8103-j293.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/apple/t8103-j293.dts index e24a9dafe2..56b0c67bfc 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/apple/t8103-j293.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/apple/t8103-j293.dts @@ -1,51 +1,51 @@ -// SPDX-License-Identifier: GPL-2.0+ OR MIT -/* - * Apple MacBook Pro (13-inch, M1, 2020) - * - * target-type: J293 - * - * Copyright The Asahi Linux Contributors - */ - -/dts-v1/; - -#include "t8103.dtsi" -#include "t8103-jxxx.dtsi" -#include - -/ { - compatible = "apple,j293", "apple,t8103", "apple,arm-platform"; - model = "Apple MacBook Pro (13-inch, M1, 2020)"; - - led-controller { - compatible = "pwm-leds"; - led-0 { - pwms = <&fpwm1 0 40000>; - label = "kbd_backlight"; - function = LED_FUNCTION_KBD_BACKLIGHT; - color = ; - max-brightness = <255>; - default-state = "keep"; - }; - }; -}; - -&bluetooth0 { - brcm,board-type = "apple,honshu"; -}; - -&wifi0 { - brcm,board-type = "apple,honshu"; -}; - -&i2c2 { - status = "okay"; -}; - -&i2c4 { - status = "okay"; -}; - -&fpwm1 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple MacBook Pro (13-inch, M1, 2020) + * + * target-type: J293 + * + * Copyright The Asahi Linux Contributors + */ + +/dts-v1/; + +#include "t8103.dtsi" +#include "t8103-jxxx.dtsi" +#include + +/ { + compatible = "apple,j293", "apple,t8103", "apple,arm-platform"; + model = "Apple MacBook Pro (13-inch, M1, 2020)"; + + led-controller { + compatible = "pwm-leds"; + led-0 { + pwms = <&fpwm1 0 40000>; + label = "kbd_backlight"; + function = LED_FUNCTION_KBD_BACKLIGHT; + color = ; + max-brightness = <255>; + default-state = "keep"; + }; + }; +}; + +&bluetooth0 { + brcm,board-type = "apple,honshu"; +}; + +&wifi0 { + brcm,board-type = "apple,honshu"; +}; + +&i2c2 { + status = "okay"; +}; + +&i2c4 { + status = "okay"; +}; + +&fpwm1 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/apple/t8103-j313.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/apple/t8103-j313.dts index e3033545bf..97a4344d8d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/apple/t8103-j313.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/apple/t8103-j313.dts @@ -1,43 +1,43 @@ -// SPDX-License-Identifier: GPL-2.0+ OR MIT -/* - * Apple MacBook Air (M1, 2020) - * - * target-type: J313 - * - * Copyright The Asahi Linux Contributors - */ - -/dts-v1/; - -#include "t8103.dtsi" -#include "t8103-jxxx.dtsi" -#include - -/ { - compatible = "apple,j313", "apple,t8103", "apple,arm-platform"; - model = "Apple MacBook Air (M1, 2020)"; - - led-controller { - compatible = "pwm-leds"; - led-0 { - pwms = <&fpwm1 0 40000>; - label = "kbd_backlight"; - function = LED_FUNCTION_KBD_BACKLIGHT; - color = ; - max-brightness = <255>; - default-state = "keep"; - }; - }; -}; - -&bluetooth0 { - brcm,board-type = "apple,shikoku"; -}; - -&wifi0 { - brcm,board-type = "apple,shikoku"; -}; - -&fpwm1 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple MacBook Air (M1, 2020) + * + * target-type: J313 + * + * Copyright The Asahi Linux Contributors + */ + +/dts-v1/; + +#include "t8103.dtsi" +#include "t8103-jxxx.dtsi" +#include + +/ { + compatible = "apple,j313", "apple,t8103", "apple,arm-platform"; + model = "Apple MacBook Air (M1, 2020)"; + + led-controller { + compatible = "pwm-leds"; + led-0 { + pwms = <&fpwm1 0 40000>; + label = "kbd_backlight"; + function = LED_FUNCTION_KBD_BACKLIGHT; + color = ; + max-brightness = <255>; + default-state = "keep"; + }; + }; +}; + +&bluetooth0 { + brcm,board-type = "apple,shikoku"; +}; + +&wifi0 { + brcm,board-type = "apple,shikoku"; +}; + +&fpwm1 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/apple/t8103-j457.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/apple/t8103-j457.dts index f4e18a1979..152f95fd49 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/apple/t8103-j457.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/apple/t8103-j457.dts @@ -1,50 +1,50 @@ -// SPDX-License-Identifier: GPL-2.0+ OR MIT -/* - * Apple iMac (24-inch, 2x USB-C, M1, 2020) - * - * target-type: J457 - * - * Copyright The Asahi Linux Contributors - */ - -/dts-v1/; - -#include "t8103.dtsi" -#include "t8103-jxxx.dtsi" - -/ { - compatible = "apple,j457", "apple,t8103", "apple,arm-platform"; - model = "Apple iMac (24-inch, 2x USB-C, M1, 2021)"; - - aliases { - ethernet0 = ðernet0; - }; -}; - -&bluetooth0 { - brcm,board-type = "apple,santorini"; -}; - -&wifi0 { - brcm,board-type = "apple,santorini"; -}; - -/* - * Force the bus number assignments so that we can declare some of the - * on-board devices and properties that are populated by the bootloader - * (such as MAC addresses). - */ - -&port02 { - bus-range = <3 3>; - status = "okay"; - ethernet0: ethernet@0,0 { - reg = <0x30000 0x0 0x0 0x0 0x0>; - /* To be filled by the loader */ - local-mac-address = [00 10 18 00 00 00]; - }; -}; - -&pcie0_dart_2 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iMac (24-inch, 2x USB-C, M1, 2020) + * + * target-type: J457 + * + * Copyright The Asahi Linux Contributors + */ + +/dts-v1/; + +#include "t8103.dtsi" +#include "t8103-jxxx.dtsi" + +/ { + compatible = "apple,j457", "apple,t8103", "apple,arm-platform"; + model = "Apple iMac (24-inch, 2x USB-C, M1, 2021)"; + + aliases { + ethernet0 = ðernet0; + }; +}; + +&bluetooth0 { + brcm,board-type = "apple,santorini"; +}; + +&wifi0 { + brcm,board-type = "apple,santorini"; +}; + +/* + * Force the bus number assignments so that we can declare some of the + * on-board devices and properties that are populated by the bootloader + * (such as MAC addresses). + */ + +&port02 { + bus-range = <3 3>; + status = "okay"; + ethernet0: ethernet@0,0 { + reg = <0x30000 0x0 0x0 0x0 0x0>; + /* To be filled by the loader */ + local-mac-address = [00 10 18 00 00 00]; + }; +}; + +&pcie0_dart_2 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/apple/t8112-j473.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/apple/t8112-j473.dts index 821ee55950..06fe257f08 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/apple/t8112-j473.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/apple/t8112-j473.dts @@ -1,54 +1,54 @@ -// SPDX-License-Identifier: GPL-2.0+ OR MIT -/* - * Apple Mac mini (M2, 2023) - * - * target-type: J473 - * - * Copyright The Asahi Linux Contributors - */ - -/dts-v1/; - -#include "t8112.dtsi" -#include "t8112-jxxx.dtsi" - -/ { - compatible = "apple,j473", "apple,t8112", "apple,arm-platform"; - model = "Apple Mac mini (M2, 2023)"; - - aliases { - ethernet0 = ðernet0; - }; -}; - -/* - * Force the bus number assignments so that we can declare some of the - * on-board devices and properties that are populated by the bootloader - * (such as MAC addresses). - */ -&port00 { - bus-range = <1 1>; -}; - -&port01 { - bus-range = <2 2>; - status = "okay"; -}; - -&port02 { - bus-range = <3 3>; - status = "okay"; - ethernet0: ethernet@0,0 { - reg = <0x30000 0x0 0x0 0x0 0x0>; - /* To be filled by the loader */ - local-mac-address = [00 10 18 00 00 00]; - }; -}; - -&pcie1_dart { - status = "okay"; -}; - -&pcie2_dart { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple Mac mini (M2, 2023) + * + * target-type: J473 + * + * Copyright The Asahi Linux Contributors + */ + +/dts-v1/; + +#include "t8112.dtsi" +#include "t8112-jxxx.dtsi" + +/ { + compatible = "apple,j473", "apple,t8112", "apple,arm-platform"; + model = "Apple Mac mini (M2, 2023)"; + + aliases { + ethernet0 = ðernet0; + }; +}; + +/* + * Force the bus number assignments so that we can declare some of the + * on-board devices and properties that are populated by the bootloader + * (such as MAC addresses). + */ +&port00 { + bus-range = <1 1>; +}; + +&port01 { + bus-range = <2 2>; + status = "okay"; +}; + +&port02 { + bus-range = <3 3>; + status = "okay"; + ethernet0: ethernet@0,0 { + reg = <0x30000 0x0 0x0 0x0 0x0>; + /* To be filled by the loader */ + local-mac-address = [00 10 18 00 00 00]; + }; +}; + +&pcie1_dart { + status = "okay"; +}; + +&pcie2_dart { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/arm/corstone1000-mps3.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/arm/corstone1000-mps3.dts index db11acc1c8..10d265be0c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/arm/corstone1000-mps3.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/arm/corstone1000-mps3.dts @@ -1,32 +1,32 @@ -// SPDX-License-Identifier: GPL-2.0 OR MIT -/* - * Copyright (c) 2022, Arm Limited. All rights reserved. - * Copyright (c) 2022, Linaro Limited. All rights reserved. - * - */ - -/dts-v1/; - -#include "corstone1000.dtsi" - -/ { - model = "ARM Corstone1000 FPGA MPS3 board"; - compatible = "arm,corstone1000-mps3"; - - smsc: ethernet@4010000 { - compatible = "smsc,lan9220", "smsc,lan9115"; - reg = <0x40100000 0x10000>; - phy-mode = "mii"; - interrupts = ; - reg-io-width = <2>; - smsc,irq-push-pull; - }; - - usb_host: usb@40200000 { - compatible = "nxp,usb-isp1763"; - reg = <0x40200000 0x100000>; - interrupts = ; - bus-width = <16>; - dr_mode = "host"; - }; -}; +// SPDX-License-Identifier: GPL-2.0 OR MIT +/* + * Copyright (c) 2022, Arm Limited. All rights reserved. + * Copyright (c) 2022, Linaro Limited. All rights reserved. + * + */ + +/dts-v1/; + +#include "corstone1000.dtsi" + +/ { + model = "ARM Corstone1000 FPGA MPS3 board"; + compatible = "arm,corstone1000-mps3"; + + smsc: ethernet@4010000 { + compatible = "smsc,lan9220", "smsc,lan9115"; + reg = <0x40100000 0x10000>; + phy-mode = "mii"; + interrupts = ; + reg-io-width = <2>; + smsc,irq-push-pull; + }; + + usb_host: usb@40200000 { + compatible = "nxp,usb-isp1763"; + reg = <0x40200000 0x100000>; + interrupts = ; + bus-width = <16>; + dr_mode = "host"; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/arm/foundation-v8-gicv3.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/arm/foundation-v8-gicv3.dtsi index 8c1ddd00bc..17fba3bc99 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/arm/foundation-v8-gicv3.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/arm/foundation-v8-gicv3.dtsi @@ -1,29 +1,29 @@ -/* - * ARM Ltd. - * - * ARMv8 Foundation model DTS (GICv3 configuration) - */ - -/ { - gic: interrupt-controller@2f000000 { - compatible = "arm,gic-v3"; - #interrupt-cells = <3>; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0x0 0x0 0x2f000000 0x100000>; - interrupt-controller; - reg = <0x0 0x2f000000 0x0 0x10000>, - <0x0 0x2f100000 0x0 0x200000>, - <0x0 0x2c000000 0x0 0x2000>, - <0x0 0x2c010000 0x0 0x2000>, - <0x0 0x2c02f000 0x0 0x2000>; - interrupts = ; - - its: msi-controller@2f020000 { - compatible = "arm,gic-v3-its"; - msi-controller; - #msi-cells = <1>; - reg = <0x20000 0x20000>; - }; - }; -}; +/* + * ARM Ltd. + * + * ARMv8 Foundation model DTS (GICv3 configuration) + */ + +/ { + gic: interrupt-controller@2f000000 { + compatible = "arm,gic-v3"; + #interrupt-cells = <3>; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x0 0x0 0x2f000000 0x100000>; + interrupt-controller; + reg = <0x0 0x2f000000 0x0 0x10000>, + <0x0 0x2f100000 0x0 0x200000>, + <0x0 0x2c000000 0x0 0x2000>, + <0x0 0x2c010000 0x0 0x2000>, + <0x0 0x2c02f000 0x0 0x2000>; + interrupts = ; + + its: msi-controller@2f020000 { + compatible = "arm,gic-v3-its"; + msi-controller; + #msi-cells = <1>; + reg = <0x20000 0x20000>; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/bcmbca/bcm4906.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/bcmbca/bcm4906.dtsi index 76ca49c2c4..d084c33d5c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/bcmbca/bcm4906.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/bcmbca/bcm4906.dtsi @@ -1,26 +1,26 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT - -#include "bcm4908.dtsi" - -/ { - cpus { - /delete-node/ cpu@2; - - /delete-node/ cpu@3; - }; - - timer { - compatible = "arm,armv8-timer"; - interrupts = , - , - , - ; - }; - - pmu { - compatible = "arm,cortex-a53-pmu"; - interrupts = , - ; - interrupt-affinity = <&cpu0>, <&cpu1>; - }; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT + +#include "bcm4908.dtsi" + +/ { + cpus { + /delete-node/ cpu@2; + + /delete-node/ cpu@3; + }; + + timer { + compatible = "arm,armv8-timer"; + interrupts = , + , + , + ; + }; + + pmu { + compatible = "arm,cortex-a53-pmu"; + interrupts = , + ; + interrupt-affinity = <&cpu0>, <&cpu1>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/stingray/stingray-board-base.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/stingray/stingray-board-base.dtsi index e2b20b2b46..cdd709491f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/stingray/stingray-board-base.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/stingray/stingray-board-base.dtsi @@ -1,51 +1,51 @@ -// SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) -/* - * Copyright(c) 2016-2018 Broadcom - */ - -#include "stingray.dtsi" -#include - -/ { - aliases { - serial0 = &uart1; - serial1 = &uart0; - serial2 = &uart2; - serial3 = &uart3; - }; - - chosen { - stdout-path = "serial0:115200n8"; - }; -}; - -&memory { /* Default DRAM banks */ - reg = <0x00000000 0x80000000 0x0 0x80000000>, /* 2G @ 2G */ - <0x00000008 0x80000000 0x1 0x80000000>; /* 6G @ 34G */ -}; - -&enet { - phy-mode = "rgmii-id"; - phy-handle = <&gphy0>; -}; - -&uart1 { - status = "okay"; -}; - -&sdio0 { - non-removable; - full-pwr-cycle; -}; - -&sdio1 { - full-pwr-cycle; -}; - -&mdio_mux_iproc { - mdio@10 { - gphy0: eth-phy@10 { - reg = <0x10>; - }; - }; -}; +// SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) +/* + * Copyright(c) 2016-2018 Broadcom + */ + +#include "stingray.dtsi" +#include + +/ { + aliases { + serial0 = &uart1; + serial1 = &uart0; + serial2 = &uart2; + serial3 = &uart3; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; +}; + +&memory { /* Default DRAM banks */ + reg = <0x00000000 0x80000000 0x0 0x80000000>, /* 2G @ 2G */ + <0x00000008 0x80000000 0x1 0x80000000>; /* 6G @ 34G */ +}; + +&enet { + phy-mode = "rgmii-id"; + phy-handle = <&gphy0>; +}; + +&uart1 { + status = "okay"; +}; + +&sdio0 { + non-removable; + full-pwr-cycle; +}; + +&sdio1 { + full-pwr-cycle; +}; + +&mdio_mux_iproc { + mdio@10 { + gphy0: eth-phy@10 { + reg = <0x10>; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/exynos/google/gs101-pinctrl.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/exynos/google/gs101-pinctrl.h index 6d1006190b..b7d276b1e2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/exynos/google/gs101-pinctrl.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/exynos/google/gs101-pinctrl.h @@ -1,33 +1,33 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Pinctrl binding constants for GS101 - * - * Copyright 2020-2023 Google LLC - */ - -#ifndef __DTS_ARM64_SAMSUNG_EXYNOS_GOOGLE_PINCTRL_GS101_H__ -#define __DTS_ARM64_SAMSUNG_EXYNOS_GOOGLE_PINCTRL_GS101_H__ - -#define GS101_PIN_PULL_NONE 0 -#define GS101_PIN_PULL_DOWN 1 -#define GS101_PIN_PULL_UP 3 - -/* Pin function in power down mode */ -#define GS101_PIN_PDN_OUT0 0 -#define GS101_PIN_PDN_OUT1 1 -#define GS101_PIN_PDN_INPUT 2 -#define GS101_PIN_PDN_PREV 3 - -/* GS101 drive strengths */ -#define GS101_PIN_DRV_2_5_MA 0 -#define GS101_PIN_DRV_5_MA 1 -#define GS101_PIN_DRV_7_5_MA 2 -#define GS101_PIN_DRV_10_MA 3 - -#define GS101_PIN_FUNC_INPUT 0 -#define GS101_PIN_FUNC_OUTPUT 1 -#define GS101_PIN_FUNC_2 2 -#define GS101_PIN_FUNC_3 3 -#define GS101_PIN_FUNC_EINT 0xf - -#endif /* __DTS_ARM64_SAMSUNG_EXYNOS_GOOGLE_PINCTRL_GS101_H__ */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Pinctrl binding constants for GS101 + * + * Copyright 2020-2023 Google LLC + */ + +#ifndef __DTS_ARM64_SAMSUNG_EXYNOS_GOOGLE_PINCTRL_GS101_H__ +#define __DTS_ARM64_SAMSUNG_EXYNOS_GOOGLE_PINCTRL_GS101_H__ + +#define GS101_PIN_PULL_NONE 0 +#define GS101_PIN_PULL_DOWN 1 +#define GS101_PIN_PULL_UP 3 + +/* Pin function in power down mode */ +#define GS101_PIN_PDN_OUT0 0 +#define GS101_PIN_PDN_OUT1 1 +#define GS101_PIN_PDN_INPUT 2 +#define GS101_PIN_PDN_PREV 3 + +/* GS101 drive strengths */ +#define GS101_PIN_DRV_2_5_MA 0 +#define GS101_PIN_DRV_5_MA 1 +#define GS101_PIN_DRV_7_5_MA 2 +#define GS101_PIN_DRV_10_MA 3 + +#define GS101_PIN_FUNC_INPUT 0 +#define GS101_PIN_FUNC_OUTPUT 1 +#define GS101_PIN_FUNC_2 2 +#define GS101_PIN_FUNC_3 3 +#define GS101_PIN_FUNC_EINT 0xf + +#endif /* __DTS_ARM64_SAMSUNG_EXYNOS_GOOGLE_PINCTRL_GS101_H__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/fsl-ls1012a-frwy.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/fsl-ls1012a-frwy.dts index f18d41d075..e8562585d4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/fsl-ls1012a-frwy.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/fsl-ls1012a-frwy.dts @@ -1,44 +1,44 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Device Tree file for Freescale LS1012A FRWY Board. - * - * Copyright 2018 NXP - * - * Pramod Kumar - * - */ -/dts-v1/; - -#include "fsl-ls1012a.dtsi" - -/ { - model = "LS1012A FRWY Board"; - compatible = "fsl,ls1012a-frwy", "fsl,ls1012a"; -}; - -&duart0 { - status = "okay"; -}; - -&i2c0 { - status = "okay"; -}; - -&pcie1 { - status = "okay"; -}; - -&qspi { - status = "okay"; - - w25q16dw0: flash@0 { - compatible = "jedec,spi-nor"; - #address-cells = <1>; - #size-cells = <1>; - m25p,fast-read; - spi-max-frequency = <50000000>; - reg = <0>; - spi-rx-bus-width = <2>; - spi-tx-bus-width = <2>; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Device Tree file for Freescale LS1012A FRWY Board. + * + * Copyright 2018 NXP + * + * Pramod Kumar + * + */ +/dts-v1/; + +#include "fsl-ls1012a.dtsi" + +/ { + model = "LS1012A FRWY Board"; + compatible = "fsl,ls1012a-frwy", "fsl,ls1012a"; +}; + +&duart0 { + status = "okay"; +}; + +&i2c0 { + status = "okay"; +}; + +&pcie1 { + status = "okay"; +}; + +&qspi { + status = "okay"; + + w25q16dw0: flash@0 { + compatible = "jedec,spi-nor"; + #address-cells = <1>; + #size-cells = <1>; + m25p,fast-read; + spi-max-frequency = <50000000>; + reg = <0>; + spi-rx-bus-width = <2>; + spi-tx-bus-width = <2>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/fsl-ls1043a-tqmls1043a.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/fsl-ls1043a-tqmls1043a.dtsi index dc6bbe307c..12d5f3938e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/fsl-ls1043a-tqmls1043a.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/fsl-ls1043a-tqmls1043a.dtsi @@ -1,32 +1,32 @@ -// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) -/* - * Copyright (c) 2018-2023 TQ-Systems GmbH , - * D-82229 Seefeld, Germany. - * Author: Gregor Herburger, Timo Herbrecher - * - * Device Tree Include file for LS1043A based SoM of TQ - */ - -#include "fsl-ls1043a.dtsi" -#include "tqmls10xxa.dtsi" - -&qspi { - num-cs = <2>; - status = "okay"; - - qflash0: flash@0 { - compatible = "jedec,spi-nor"; - reg = <0>; - #address-cells = <1>; - #size-cells = <1>; - spi-max-frequency = <62500000>; - spi-rx-bus-width = <4>; - spi-tx-bus-width = <4>; - - partitions { - compatible = "fixed-partitions"; - #address-cells = <1>; - #size-cells = <1>; - }; - }; -}; +// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) +/* + * Copyright (c) 2018-2023 TQ-Systems GmbH , + * D-82229 Seefeld, Germany. + * Author: Gregor Herburger, Timo Herbrecher + * + * Device Tree Include file for LS1043A based SoM of TQ + */ + +#include "fsl-ls1043a.dtsi" +#include "tqmls10xxa.dtsi" + +&qspi { + num-cs = <2>; + status = "okay"; + + qflash0: flash@0 { + compatible = "jedec,spi-nor"; + reg = <0>; + #address-cells = <1>; + #size-cells = <1>; + spi-max-frequency = <62500000>; + spi-rx-bus-width = <4>; + spi-tx-bus-width = <4>; + + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/fsl-ls1046a-tqmls1046a.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/fsl-ls1046a-tqmls1046a.dtsi index bed6558e80..4a8f8bc688 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/fsl-ls1046a-tqmls1046a.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/fsl-ls1046a-tqmls1046a.dtsi @@ -1,42 +1,42 @@ -// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) -/* - * Copyright (c) 2018-2023 TQ-Systems GmbH , - * D-82229 Seefeld, Germany. - * Author: Gregor Herburger, Timo Herbrecher - * - * Device Tree Include file for LS1046A based SoM of TQ - */ - -#include "fsl-ls1046a.dtsi" -#include "tqmls10xxa.dtsi" - -&qspi { - num-cs = <2>; - status = "okay"; - - qflash0: flash@0 { - compatible = "jedec,spi-nor"; - reg = <0>; - #address-cells = <1>; - #size-cells = <1>; - spi-max-frequency = <62500000>; - spi-rx-bus-width = <4>; - spi-tx-bus-width = <4>; - - partitions { - compatible = "fixed-partitions"; - #address-cells = <1>; - #size-cells = <1>; - }; - }; - - qflash1: flash@1 { - compatible = "jedec,spi-nor"; - reg = <1>; - #address-cells = <1>; - #size-cells = <1>; - spi-max-frequency = <62500000>; - spi-rx-bus-width = <4>; - spi-tx-bus-width = <4>; - }; -}; +// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) +/* + * Copyright (c) 2018-2023 TQ-Systems GmbH , + * D-82229 Seefeld, Germany. + * Author: Gregor Herburger, Timo Herbrecher + * + * Device Tree Include file for LS1046A based SoM of TQ + */ + +#include "fsl-ls1046a.dtsi" +#include "tqmls10xxa.dtsi" + +&qspi { + num-cs = <2>; + status = "okay"; + + qflash0: flash@0 { + compatible = "jedec,spi-nor"; + reg = <0>; + #address-cells = <1>; + #size-cells = <1>; + spi-max-frequency = <62500000>; + spi-rx-bus-width = <4>; + spi-tx-bus-width = <4>; + + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + }; + }; + + qflash1: flash@1 { + compatible = "jedec,spi-nor"; + reg = <1>; + #address-cells = <1>; + #size-cells = <1>; + spi-max-frequency = <62500000>; + spi-rx-bus-width = <4>; + spi-tx-bus-width = <4>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/fsl-ls1088a-tqmls1088a.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/fsl-ls1088a-tqmls1088a.dtsi index 99270dc4ac..9a0f21484b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/fsl-ls1088a-tqmls1088a.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/fsl-ls1088a-tqmls1088a.dtsi @@ -1,42 +1,42 @@ -// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) -/* - * Copyright (c) 2018-2023 TQ-Systems GmbH , - * D-82229 Seefeld, Germany. - * Author: Gregor Herburger, Timo Herbrecher - * - * Device Tree Include file for LS1088A based SoM of TQ - */ - -#include "fsl-ls1088a.dtsi" -#include "tqmls10xxa.dtsi" - -&qspi { - num-cs = <2>; - status = "okay"; - - qflash0: flash@0 { - compatible = "jedec,spi-nor"; - reg = <0>; - #address-cells = <1>; - #size-cells = <1>; - spi-max-frequency = <62500000>; - spi-rx-bus-width = <4>; - spi-tx-bus-width = <4>; - - partitions { - compatible = "fixed-partitions"; - #address-cells = <1>; - #size-cells = <1>; - }; - }; - - qflash1: flash@1 { - compatible = "jedec,spi-nor"; - reg = <1>; - #address-cells = <1>; - #size-cells = <1>; - spi-max-frequency = <62500000>; - spi-rx-bus-width = <4>; - spi-tx-bus-width = <4>; - }; -}; +// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) +/* + * Copyright (c) 2018-2023 TQ-Systems GmbH , + * D-82229 Seefeld, Germany. + * Author: Gregor Herburger, Timo Herbrecher + * + * Device Tree Include file for LS1088A based SoM of TQ + */ + +#include "fsl-ls1088a.dtsi" +#include "tqmls10xxa.dtsi" + +&qspi { + num-cs = <2>; + status = "okay"; + + qflash0: flash@0 { + compatible = "jedec,spi-nor"; + reg = <0>; + #address-cells = <1>; + #size-cells = <1>; + spi-max-frequency = <62500000>; + spi-rx-bus-width = <4>; + spi-tx-bus-width = <4>; + + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + }; + }; + + qflash1: flash@1 { + compatible = "jedec,spi-nor"; + reg = <1>; + #address-cells = <1>; + #size-cells = <1>; + spi-max-frequency = <62500000>; + spi-rx-bus-width = <4>; + spi-tx-bus-width = <4>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/fsl-lx2160a-bluebox3-rev-a.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/fsl-lx2160a-bluebox3-rev-a.dts index f338f7c5ca..15d273c931 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/fsl-lx2160a-bluebox3-rev-a.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/fsl-lx2160a-bluebox3-rev-a.dts @@ -1,34 +1,34 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -// -// Device Tree file for LX2160A BLUEBOX3 -// -// Copyright 2020-2021 NXP - -/dts-v1/; - -#include "fsl-lx2160a-bluebox3.dts" - -/ { - compatible = "fsl,lx2160a-bluebox3-rev-a", "fsl,lx2160a"; -}; - -/* The RGMII PHYs have a different MDIO address */ -&emdio1 { - /delete-node/ ethernet-phy@5; - - sw1_mii3_phy: ethernet-phy@1 { - /* AR8035 */ - compatible = "ethernet-phy-id004d.d072"; - reg = <0x1>; - interrupts-extended = <&extirq 6 IRQ_TYPE_LEVEL_LOW>; - }; - - /delete-node/ ethernet-phy@6; - - sw2_mii3_phy: ethernet-phy@2 { - /* AR8035 */ - compatible = "ethernet-phy-id004d.d072"; - reg = <0x2>; - interrupts-extended = <&extirq 7 IRQ_TYPE_LEVEL_LOW>; - }; -}; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +// +// Device Tree file for LX2160A BLUEBOX3 +// +// Copyright 2020-2021 NXP + +/dts-v1/; + +#include "fsl-lx2160a-bluebox3.dts" + +/ { + compatible = "fsl,lx2160a-bluebox3-rev-a", "fsl,lx2160a"; +}; + +/* The RGMII PHYs have a different MDIO address */ +&emdio1 { + /delete-node/ ethernet-phy@5; + + sw1_mii3_phy: ethernet-phy@1 { + /* AR8035 */ + compatible = "ethernet-phy-id004d.d072"; + reg = <0x1>; + interrupts-extended = <&extirq 6 IRQ_TYPE_LEVEL_LOW>; + }; + + /delete-node/ ethernet-phy@6; + + sw2_mii3_phy: ethernet-phy@2 { + /* AR8035 */ + compatible = "ethernet-phy-id004d.d072"; + reg = <0x2>; + interrupts-extended = <&extirq 7 IRQ_TYPE_LEVEL_LOW>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/fsl-lx2160a-tqmlx2160a-mblx2160a_x_11_x.dtso b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/fsl-lx2160a-tqmlx2160a-mblx2160a_x_11_x.dtso index d7dcc5cbd2..6d0c808cd8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/fsl-lx2160a-tqmlx2160a-mblx2160a_x_11_x.dtso +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/fsl-lx2160a-tqmlx2160a-mblx2160a_x_11_x.dtso @@ -1,49 +1,49 @@ -// 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/; - -&dpmac12 { - phy-handle = <&dp83867_1_1>; - phy-connection-type = "sgmii"; - managed = "in-band-status"; -}; - -&dpmac13 { - phy-handle = <&dp83867_1_5>; - phy-connection-type = "sgmii"; - managed = "in-band-status"; -}; - -&dpmac14 { - phy-handle = <&dp83867_1_6>; - phy-connection-type = "sgmii"; - managed = "in-band-status"; -}; - -&dpmac16 { - phy-handle = <&dp83867_1_4>; - phy-connection-type = "sgmii"; - managed = "in-band-status"; -}; - -&pcs_mdio12 { - status = "okay"; -}; - -&pcs_mdio13 { - status = "okay"; -}; - -&pcs_mdio14 { - status = "okay"; -}; - -&pcs_mdio16 { - 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/; + +&dpmac12 { + phy-handle = <&dp83867_1_1>; + phy-connection-type = "sgmii"; + managed = "in-band-status"; +}; + +&dpmac13 { + phy-handle = <&dp83867_1_5>; + phy-connection-type = "sgmii"; + managed = "in-band-status"; +}; + +&dpmac14 { + phy-handle = <&dp83867_1_6>; + phy-connection-type = "sgmii"; + managed = "in-band-status"; +}; + +&dpmac16 { + phy-handle = <&dp83867_1_4>; + phy-connection-type = "sgmii"; + managed = "in-band-status"; +}; + +&pcs_mdio12 { + status = "okay"; +}; + +&pcs_mdio13 { + status = "okay"; +}; + +&pcs_mdio14 { + status = "okay"; +}; + +&pcs_mdio16 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/fsl-lx2160a-tqmlx2160a-mblx2160a_x_7_x.dtso b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/fsl-lx2160a-tqmlx2160a-mblx2160a_x_7_x.dtso index 2bf8c6d81c..db88a86ff6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/fsl-lx2160a-tqmlx2160a-mblx2160a_x_7_x.dtso +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/fsl-lx2160a-tqmlx2160a-mblx2160a_x_7_x.dtso @@ -1,55 +1,55 @@ -// 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/; - -&dpmac12 { - phy-handle = <&dp83867_1_1>; - phy-connection-type = "sgmii"; - managed = "in-band-status"; -}; - -&dpmac13 { - sfp = <&sfp_xfi1>; - managed = "in-band-status"; -}; - -&dpmac14 { - sfp = <&sfp_xfi2>; - managed = "in-band-status"; -}; - -&dpmac16 { - phy-handle = <&dp83867_1_4>; - phy-connection-type = "sgmii"; - managed = "in-band-status"; -}; - -&pcs_mdio12 { - status = "okay"; -}; - -&pcs_mdio13 { - status = "okay"; -}; - -&pcs_mdio14 { - status = "okay"; -}; - -&pcs_mdio16 { - 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/; + +&dpmac12 { + phy-handle = <&dp83867_1_1>; + phy-connection-type = "sgmii"; + managed = "in-band-status"; +}; + +&dpmac13 { + sfp = <&sfp_xfi1>; + managed = "in-band-status"; +}; + +&dpmac14 { + sfp = <&sfp_xfi2>; + managed = "in-band-status"; +}; + +&dpmac16 { + phy-handle = <&dp83867_1_4>; + phy-connection-type = "sgmii"; + managed = "in-band-status"; +}; + +&pcs_mdio12 { + status = "okay"; +}; + +&pcs_mdio13 { + status = "okay"; +}; + +&pcs_mdio14 { + status = "okay"; +}; + +&pcs_mdio16 { + 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-gpu0.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8-ss-gpu0.dtsi index 93fe9df45f..9b8a44aa63 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8-ss-gpu0.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8-ss-gpu0.dtsi @@ -1,27 +1,27 @@ -// SPDX-License-Identifier: GPL-2.0+ -/* - * Copyright 2019 NXP - * Dong Aisheng - */ - -#include - -gpu0_subsys: bus@53000000 { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0x53000000 0x0 0x53000000 0x1000000>; - - gpu_3d0: gpu@53100000 { - compatible = "vivante,gc"; - reg = <0x53100000 0x40000>; - interrupts = ; - clocks = <&clk IMX_SC_R_GPU_0_PID0 IMX_SC_PM_CLK_PER>, - <&clk IMX_SC_R_GPU_0_PID0 IMX_SC_PM_CLK_MISC>; - clock-names = "core", "shader"; - assigned-clocks = <&clk IMX_SC_R_GPU_0_PID0 IMX_SC_PM_CLK_PER>, - <&clk IMX_SC_R_GPU_0_PID0 IMX_SC_PM_CLK_MISC>; - assigned-clock-rates = <700000000>, <850000000>; - power-domains = <&pd IMX_SC_R_GPU_0_PID0>; - }; -}; +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright 2019 NXP + * Dong Aisheng + */ + +#include + +gpu0_subsys: bus@53000000 { + compatible = "simple-bus"; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x53000000 0x0 0x53000000 0x1000000>; + + gpu_3d0: gpu@53100000 { + compatible = "vivante,gc"; + reg = <0x53100000 0x40000>; + interrupts = ; + clocks = <&clk IMX_SC_R_GPU_0_PID0 IMX_SC_PM_CLK_PER>, + <&clk IMX_SC_R_GPU_0_PID0 IMX_SC_PM_CLK_MISC>; + clock-names = "core", "shader"; + assigned-clocks = <&clk IMX_SC_R_GPU_0_PID0 IMX_SC_PM_CLK_PER>, + <&clk IMX_SC_R_GPU_0_PID0 IMX_SC_PM_CLK_MISC>; + assigned-clock-rates = <700000000>, <850000000>; + power-domains = <&pd IMX_SC_R_GPU_0_PID0>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mm-overdrive.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mm-overdrive.dtsi index fc88ca879e..b31436b5e9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mm-overdrive.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mm-overdrive.dtsi @@ -1,29 +1,29 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) - -&gpu_2d { - assigned-clocks = <&clk IMX8MM_CLK_GPU2D_CORE>, - <&clk IMX8MM_GPU_PLL_OUT>; - assigned-clock-parents = <&clk IMX8MM_GPU_PLL_OUT>; - assigned-clock-rates = <0>, <1000000000>; -}; - -&gpu_3d { - assigned-clocks = <&clk IMX8MM_CLK_GPU3D_CORE>, - <&clk IMX8MM_GPU_PLL_OUT>; - assigned-clock-parents = <&clk IMX8MM_GPU_PLL_OUT>; - assigned-clock-rates = <0>, <1000000000>; -}; - -&vpu_blk_ctrl { - assigned-clocks = <&clk IMX8MM_CLK_VPU_G1>, - <&clk IMX8MM_CLK_VPU_G2>, - <&clk IMX8MM_CLK_VPU_H1>, - <&clk IMX8MM_VPU_PLL_OUT>; - assigned-clock-parents = <&clk IMX8MM_SYS_PLL3_OUT>, - <&clk IMX8MM_VPU_PLL_OUT>, - <&clk IMX8MM_SYS_PLL3_OUT>; - assigned-clock-rates = <750000000>, - <700000000>, - <750000000>, - <700000000>; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) + +&gpu_2d { + assigned-clocks = <&clk IMX8MM_CLK_GPU2D_CORE>, + <&clk IMX8MM_GPU_PLL_OUT>; + assigned-clock-parents = <&clk IMX8MM_GPU_PLL_OUT>; + assigned-clock-rates = <0>, <1000000000>; +}; + +&gpu_3d { + assigned-clocks = <&clk IMX8MM_CLK_GPU3D_CORE>, + <&clk IMX8MM_GPU_PLL_OUT>; + assigned-clock-parents = <&clk IMX8MM_GPU_PLL_OUT>; + assigned-clock-rates = <0>, <1000000000>; +}; + +&vpu_blk_ctrl { + assigned-clocks = <&clk IMX8MM_CLK_VPU_G1>, + <&clk IMX8MM_CLK_VPU_G2>, + <&clk IMX8MM_CLK_VPU_H1>, + <&clk IMX8MM_VPU_PLL_OUT>; + assigned-clock-parents = <&clk IMX8MM_SYS_PLL3_OUT>, + <&clk IMX8MM_VPU_PLL_OUT>, + <&clk IMX8MM_SYS_PLL3_OUT>; + assigned-clock-rates = <750000000>, + <700000000>, + <750000000>, + <700000000>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mm-phygate-tauri-l-rs232-rts-cts.dtso b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mm-phygate-tauri-l-rs232-rts-cts.dtso index 2cc9b73fcd..4719f5fbad 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mm-phygate-tauri-l-rs232-rts-cts.dtso +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mm-phygate-tauri-l-rs232-rts-cts.dtso @@ -1,35 +1,35 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (C) 2023 PHYTEC Messtechnik GmbH - * Author: Jens Lang - * - * Tauri-L RS232 with RTS/CTS hardware flow control: - * - UART4_TX becomes RTS - * - UART4_RX becomes CTS - */ - -#include -#include "imx8mm-pinfunc.h" - -/dts-v1/; -/plugin/; - -&uart2 { - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_uart2>; - assigned-clocks = <&clk IMX8MM_CLK_UART2>; - assigned-clock-parents = <&clk IMX8MM_SYS_PLL1_80M>; - uart-has-rtscts; - status = "okay"; -}; - -&iomuxc { - pinctrl_uart2: uart2grp { - fsl,pins = < - MX8MM_IOMUXC_UART2_RXD_UART2_DCE_RX 0x00 - MX8MM_IOMUXC_UART2_TXD_UART2_DCE_TX 0x00 - MX8MM_IOMUXC_UART4_RXD_UART2_DCE_CTS_B 0x00 - MX8MM_IOMUXC_UART4_TXD_UART2_DCE_RTS_B 0x00 - >; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (C) 2023 PHYTEC Messtechnik GmbH + * Author: Jens Lang + * + * Tauri-L RS232 with RTS/CTS hardware flow control: + * - UART4_TX becomes RTS + * - UART4_RX becomes CTS + */ + +#include +#include "imx8mm-pinfunc.h" + +/dts-v1/; +/plugin/; + +&uart2 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_uart2>; + assigned-clocks = <&clk IMX8MM_CLK_UART2>; + assigned-clock-parents = <&clk IMX8MM_SYS_PLL1_80M>; + uart-has-rtscts; + status = "okay"; +}; + +&iomuxc { + pinctrl_uart2: uart2grp { + fsl,pins = < + MX8MM_IOMUXC_UART2_RXD_UART2_DCE_RX 0x00 + MX8MM_IOMUXC_UART2_TXD_UART2_DCE_TX 0x00 + MX8MM_IOMUXC_UART4_RXD_UART2_DCE_CTS_B 0x00 + MX8MM_IOMUXC_UART4_TXD_UART2_DCE_RTS_B 0x00 + >; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mm-tqma8mqml-mba8mx-lvds-tm070jvhg33.dtso b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mm-tqma8mqml-mba8mx-lvds-tm070jvhg33.dtso index 31eaf53f3e..e44249c6d8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mm-tqma8mqml-mba8mx-lvds-tm070jvhg33.dtso +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mm-tqma8mqml-mba8mx-lvds-tm070jvhg33.dtso @@ -1,45 +1,45 @@ -// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) -/* - * Copyright (c) 2022-2023 TQ-Systems GmbH , - * D-82229 Seefeld, Germany. - * Author: Alexander Stein - */ - -/dts-v1/; -/plugin/; - -#include - -&{/} { - compatible = "tq,imx8mm-tqma8mqml-mba8mx", "tq,imx8mm-tqma8mqml", "fsl,imx8mm"; -}; - -&backlight_lvds { - status = "okay"; -}; - -&dsi_lvds_bridge { - status = "okay"; -}; - -&expander0 { - dsi-mux-oe-hog { - gpio-hog; - gpios = <10 GPIO_ACTIVE_LOW>; - output-high; - line-name = "DSI_MUX_OE#"; - }; -}; - -&lcdif { - status = "okay"; -}; - -&mipi_dsi { - status = "okay"; -}; - -&panel { - compatible = "tianma,tm070jvhg33"; - status = "okay"; -}; +// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) +/* + * Copyright (c) 2022-2023 TQ-Systems GmbH , + * D-82229 Seefeld, Germany. + * Author: Alexander Stein + */ + +/dts-v1/; +/plugin/; + +#include + +&{/} { + compatible = "tq,imx8mm-tqma8mqml-mba8mx", "tq,imx8mm-tqma8mqml", "fsl,imx8mm"; +}; + +&backlight_lvds { + status = "okay"; +}; + +&dsi_lvds_bridge { + status = "okay"; +}; + +&expander0 { + dsi-mux-oe-hog { + gpio-hog; + gpios = <10 GPIO_ACTIVE_LOW>; + output-high; + line-name = "DSI_MUX_OE#"; + }; +}; + +&lcdif { + status = "okay"; +}; + +&mipi_dsi { + status = "okay"; +}; + +&panel { + compatible = "tianma,tm070jvhg33"; + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mm-venice-gw72xx-0x-rs232-rts.dtso b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mm-venice-gw72xx-0x-rs232-rts.dtso index 337acf465d..bb2056746f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mm-venice-gw72xx-0x-rs232-rts.dtso +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mm-venice-gw72xx-0x-rs232-rts.dtso @@ -1,48 +1,48 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright 2022 Gateworks Corporation - * - * GW72xx RS232 with RTS/CTS hardware flow control: - * - GPIO4_0 rs485_en needs to be driven low (in-active) - * - UART4_TX becomes RTS - * - UART4_RX becomes CTS - */ - -#include - -#include "imx8mm-pinfunc.h" - -/dts-v1/; -/plugin/; - -&gpio4 { - rs485-en-hog { - gpio-hog; - gpios = <0 GPIO_ACTIVE_HIGH>; - output-low; - line-name = "rs485_en"; - }; -}; - -&uart2 { - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_uart2>; - rts-gpios = <&gpio5 29 GPIO_ACTIVE_LOW>; - cts-gpios = <&gpio5 28 GPIO_ACTIVE_LOW>; - status = "okay"; -}; - -&uart4 { - status = "disabled"; -}; - -&iomuxc { - pinctrl_uart2: uart2grp { - fsl,pins = < - MX8MM_IOMUXC_UART2_RXD_UART2_DCE_RX 0x140 - MX8MM_IOMUXC_UART2_TXD_UART2_DCE_TX 0x140 - MX8MM_IOMUXC_UART4_TXD_GPIO5_IO29 0x140 - MX8MM_IOMUXC_UART4_RXD_GPIO5_IO28 0x140 - >; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright 2022 Gateworks Corporation + * + * GW72xx RS232 with RTS/CTS hardware flow control: + * - GPIO4_0 rs485_en needs to be driven low (in-active) + * - UART4_TX becomes RTS + * - UART4_RX becomes CTS + */ + +#include + +#include "imx8mm-pinfunc.h" + +/dts-v1/; +/plugin/; + +&gpio4 { + rs485-en-hog { + gpio-hog; + gpios = <0 GPIO_ACTIVE_HIGH>; + output-low; + line-name = "rs485_en"; + }; +}; + +&uart2 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_uart2>; + rts-gpios = <&gpio5 29 GPIO_ACTIVE_LOW>; + cts-gpios = <&gpio5 28 GPIO_ACTIVE_LOW>; + status = "okay"; +}; + +&uart4 { + status = "disabled"; +}; + +&iomuxc { + pinctrl_uart2: uart2grp { + fsl,pins = < + MX8MM_IOMUXC_UART2_RXD_UART2_DCE_RX 0x140 + MX8MM_IOMUXC_UART2_TXD_UART2_DCE_TX 0x140 + MX8MM_IOMUXC_UART4_TXD_GPIO5_IO29 0x140 + MX8MM_IOMUXC_UART4_RXD_GPIO5_IO28 0x140 + >; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mn-tqma8mqnl-mba8mx-lvds-tm070jvhg33.dtso b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mn-tqma8mqnl-mba8mx-lvds-tm070jvhg33.dtso index 1c5df623d0..29235e390a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mn-tqma8mqnl-mba8mx-lvds-tm070jvhg33.dtso +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mn-tqma8mqnl-mba8mx-lvds-tm070jvhg33.dtso @@ -1,45 +1,45 @@ -// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) -/* - * Copyright (c) 2022-2023 TQ-Systems GmbH , - * D-82229 Seefeld, Germany. - * Author: Alexander Stein - */ - -/dts-v1/; -/plugin/; - -#include - -&{/} { - compatible = "tq,imx8mn-tqma8mqnl-mba8mx", "tq,imx8mn-tqma8mqnl", "fsl,imx8mn"; -}; - -&backlight_lvds { - status = "okay"; -}; - -&dsi_lvds_bridge { - status = "okay"; -}; - -&expander0 { - dsi-mux-oe-hog { - gpio-hog; - gpios = <10 GPIO_ACTIVE_LOW>; - output-high; - line-name = "DSI_MUX_OE#"; - }; -}; - -&lcdif { - status = "okay"; -}; - -&mipi_dsi { - status = "okay"; -}; - -&panel { - compatible = "tianma,tm070jvhg33"; - status = "okay"; -}; +// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) +/* + * Copyright (c) 2022-2023 TQ-Systems GmbH , + * D-82229 Seefeld, Germany. + * Author: Alexander Stein + */ + +/dts-v1/; +/plugin/; + +#include + +&{/} { + compatible = "tq,imx8mn-tqma8mqnl-mba8mx", "tq,imx8mn-tqma8mqnl", "fsl,imx8mn"; +}; + +&backlight_lvds { + status = "okay"; +}; + +&dsi_lvds_bridge { + status = "okay"; +}; + +&expander0 { + dsi-mux-oe-hog { + gpio-hog; + gpios = <10 GPIO_ACTIVE_LOW>; + output-high; + line-name = "DSI_MUX_OE#"; + }; +}; + +&lcdif { + status = "okay"; +}; + +&mipi_dsi { + status = "okay"; +}; + +&panel { + compatible = "tianma,tm070jvhg33"; + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mp-msc-sm2s-14N0600E.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mp-msc-sm2s-14N0600E.dtsi index 9d081b1751..2f5cc013e8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mp-msc-sm2s-14N0600E.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mp-msc-sm2s-14N0600E.dtsi @@ -1,68 +1,68 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright (C) 2022 Avnet Embedded GmbH - */ -/dts-v1/; - -#include "imx8mp-msc-sm2s.dtsi" - -/ { - memory@40000000 { - device_type = "memory"; - reg = <0x0 0x40000000 0 0x80000000>; /* bank0, 2GiB */ - }; -}; - -&cpu_alert0 { - temperature = <95000>; -}; - -&cpu_crit0 { - temperature = <105000>; -}; - -&soc_alert0 { - temperature = <95000>; -}; - -&soc_crit0 { - temperature = <105000>; -}; - -&tca6424 { - gbe0-int-hog { - gpio-hog; - input; - gpios = <3 GPIO_ACTIVE_LOW>; - }; - - gbe1-int-hog { - gpio-hog; - input; - gpios = <4 GPIO_ACTIVE_LOW>; - }; - - cam2-rst-hog { - gpio-hog; - output-high; - gpios = <9 GPIO_ACTIVE_LOW>; - }; - - cam2-pwr-hog { - gpio-hog; - output-high; - gpios = <10 GPIO_ACTIVE_LOW>; - }; - - tpm-int-hog { - gpio-hog; - input; - gpios = <13 GPIO_ACTIVE_LOW>; - }; - - wifi-int-hog { - gpio-hog; - input; - gpios = <14 GPIO_ACTIVE_LOW>; - }; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2022 Avnet Embedded GmbH + */ +/dts-v1/; + +#include "imx8mp-msc-sm2s.dtsi" + +/ { + memory@40000000 { + device_type = "memory"; + reg = <0x0 0x40000000 0 0x80000000>; /* bank0, 2GiB */ + }; +}; + +&cpu_alert0 { + temperature = <95000>; +}; + +&cpu_crit0 { + temperature = <105000>; +}; + +&soc_alert0 { + temperature = <95000>; +}; + +&soc_crit0 { + temperature = <105000>; +}; + +&tca6424 { + gbe0-int-hog { + gpio-hog; + input; + gpios = <3 GPIO_ACTIVE_LOW>; + }; + + gbe1-int-hog { + gpio-hog; + input; + gpios = <4 GPIO_ACTIVE_LOW>; + }; + + cam2-rst-hog { + gpio-hog; + output-high; + gpios = <9 GPIO_ACTIVE_LOW>; + }; + + cam2-pwr-hog { + gpio-hog; + output-high; + gpios = <10 GPIO_ACTIVE_LOW>; + }; + + tpm-int-hog { + gpio-hog; + input; + gpios = <13 GPIO_ACTIVE_LOW>; + }; + + wifi-int-hog { + gpio-hog; + input; + gpios = <14 GPIO_ACTIVE_LOW>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql-mba8mpxl-lvds.dtso b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql-mba8mpxl-lvds.dtso index 9b67428415..ea44d60534 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql-mba8mpxl-lvds.dtso +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql-mba8mpxl-lvds.dtso @@ -1,61 +1,61 @@ -// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) -/* - * Copyright (c) 2022 TQ-Systems GmbH , - * D-82229 Seefeld, Germany. - * Author: Alexander Stein - */ - -/dts-v1/; -/plugin/; - -&{/} { - compatible = "tq,imx8mp-tqma8mpql-mba8mpxl", "tq,imx8mp-tqma8mpql", "fsl,imx8mp"; -}; - -&backlight_lvds { - status = "okay"; -}; - -&display { - compatible = "tianma,tm070jvhg33"; - status = "okay"; - - panel-timing { - clock-frequency = <74250000>; - hactive = <1280>; - vactive = <800>; - hfront-porch = <64>; - hback-porch = <5>; - hsync-len = <1>; - vfront-porch = <40>; - vback-porch = <2>; - vsync-len = <1>; - de-active = <1>; - }; - - port { - panel_in_lvds0: endpoint { - remote-endpoint = <&ldb_lvds_ch0>; - }; - }; -}; - -&lcdif2 { - status = "okay"; -}; - -&lvds_bridge { - status = "okay"; - - ports { - port@1 { - ldb_lvds_ch0: endpoint { - remote-endpoint = <&panel_in_lvds0>; - }; - }; - }; -}; - -&pwm2 { - status = "okay"; -}; +// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) +/* + * Copyright (c) 2022 TQ-Systems GmbH , + * D-82229 Seefeld, Germany. + * Author: Alexander Stein + */ + +/dts-v1/; +/plugin/; + +&{/} { + compatible = "tq,imx8mp-tqma8mpql-mba8mpxl", "tq,imx8mp-tqma8mpql", "fsl,imx8mp"; +}; + +&backlight_lvds { + status = "okay"; +}; + +&display { + compatible = "tianma,tm070jvhg33"; + status = "okay"; + + panel-timing { + clock-frequency = <74250000>; + hactive = <1280>; + vactive = <800>; + hfront-porch = <64>; + hback-porch = <5>; + hsync-len = <1>; + vfront-porch = <40>; + vback-porch = <2>; + vsync-len = <1>; + de-active = <1>; + }; + + port { + panel_in_lvds0: endpoint { + remote-endpoint = <&ldb_lvds_ch0>; + }; + }; +}; + +&lcdif2 { + status = "okay"; +}; + +&lvds_bridge { + status = "okay"; + + ports { + port@1 { + ldb_lvds_ch0: endpoint { + remote-endpoint = <&panel_in_lvds0>; + }; + }; + }; +}; + +&pwm2 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mq-librem5-r3.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mq-librem5-r3.dtsi index b1e2d8007f..17f86496f8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mq-librem5-r3.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mq-librem5-r3.dtsi @@ -1,49 +1,49 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -// Copyright (C) 2021 Purism SPC - -/dts-v1/; - -/* - * This file describes hardware that is shared among r3 ("Dogwood") and - * later revisions of the Librem 5 so it has to be included in dts there. - */ - -#include "imx8mq-librem5.dtsi" - -/ { - model = "Purism Librem 5r3"; - compatible = "purism,librem5r3", "purism,librem5", "fsl,imx8mq"; -}; - -&accel_gyro { - mount-matrix = "1", "0", "0", - "0", "1", "0", - "0", "0", "-1"; -}; - -&bq25895 { - ti,charge-current = <1500000>; /* uA */ -}; - -&camera_front { - pinctrl-0 = <&pinctrl_csi1>, <&pinctrl_r3_camera_pwr>; - shutdown-gpios = <&gpio5 4 GPIO_ACTIVE_LOW>; -}; - -&iomuxc { - pinctrl_r3_camera_pwr: r3camerapwrgrp { - fsl,pins = < - MX8MQ_IOMUXC_SPDIF_RX_GPIO5_IO4 0x83 - >; - }; -}; - -&magnetometer { - mount-matrix = "1", "0", "0", - "0", "-1", "0", - "0", "0", "-1"; -}; - -&proximity { - proximity-near-level = <10>; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +// Copyright (C) 2021 Purism SPC + +/dts-v1/; + +/* + * This file describes hardware that is shared among r3 ("Dogwood") and + * later revisions of the Librem 5 so it has to be included in dts there. + */ + +#include "imx8mq-librem5.dtsi" + +/ { + model = "Purism Librem 5r3"; + compatible = "purism,librem5r3", "purism,librem5", "fsl,imx8mq"; +}; + +&accel_gyro { + mount-matrix = "1", "0", "0", + "0", "1", "0", + "0", "0", "-1"; +}; + +&bq25895 { + ti,charge-current = <1500000>; /* uA */ +}; + +&camera_front { + pinctrl-0 = <&pinctrl_csi1>, <&pinctrl_r3_camera_pwr>; + shutdown-gpios = <&gpio5 4 GPIO_ACTIVE_LOW>; +}; + +&iomuxc { + pinctrl_r3_camera_pwr: r3camerapwrgrp { + fsl,pins = < + MX8MQ_IOMUXC_SPDIF_RX_GPIO5_IO4 0x83 + >; + }; +}; + +&magnetometer { + mount-matrix = "1", "0", "0", + "0", "-1", "0", + "0", "0", "-1"; +}; + +&proximity { + proximity-near-level = <10>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mq-tqma8mq-mba8mx-lvds-tm070jvhg33.dtso b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mq-tqma8mq-mba8mx-lvds-tm070jvhg33.dtso index 41e5782d46..306977d6ba 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mq-tqma8mq-mba8mx-lvds-tm070jvhg33.dtso +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mq-tqma8mq-mba8mx-lvds-tm070jvhg33.dtso @@ -1,49 +1,49 @@ -// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) -/* - * Copyright (c) 2019-2023 TQ-Systems GmbH , - * D-82229 Seefeld, Germany. - * Author: Alexander Stein - */ - -/dts-v1/; -/plugin/; - -#include - -&{/} { - compatible = "tq,imx8mq-tqma8mq-mba8mx", "tq,imx8mq-tqma8mq", "fsl,imx8mq"; -}; - -&backlight_lvds { - status = "okay"; -}; - -&dphy { - status = "okay"; -}; - -&dsi_lvds_bridge { - status = "okay"; -}; - -&expander0 { - dsi-mux-oe-hog { - gpio-hog; - gpios = <10 GPIO_ACTIVE_LOW>; - output-high; - line-name = "DSI_MUX_OE#"; - }; -}; - -&lcdif { - status = "okay"; -}; - -&mipi_dsi { - status = "okay"; -}; - -&panel { - compatible = "tianma,tm070jvhg33"; - status = "okay"; -}; +// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) +/* + * Copyright (c) 2019-2023 TQ-Systems GmbH , + * D-82229 Seefeld, Germany. + * Author: Alexander Stein + */ + +/dts-v1/; +/plugin/; + +#include + +&{/} { + compatible = "tq,imx8mq-tqma8mq-mba8mx", "tq,imx8mq-tqma8mq", "fsl,imx8mq"; +}; + +&backlight_lvds { + status = "okay"; +}; + +&dphy { + status = "okay"; +}; + +&dsi_lvds_bridge { + status = "okay"; +}; + +&expander0 { + dsi-mux-oe-hog { + gpio-hog; + gpios = <10 GPIO_ACTIVE_LOW>; + output-high; + line-name = "DSI_MUX_OE#"; + }; +}; + +&lcdif { + status = "okay"; +}; + +&mipi_dsi { + status = "okay"; +}; + +&panel { + compatible = "tianma,tm070jvhg33"; + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qm-ss-conn.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qm-ss-conn.dtsi index a63c58ffe4..545e175c88 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qm-ss-conn.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qm-ss-conn.dtsi @@ -1,30 +1,30 @@ -// SPDX-License-Identifier: GPL-2.0+ -/* - * Copyright 2019-2020 NXP - * Dong Aisheng - */ - -&fec1 { - compatible = "fsl,imx8qm-fec", "fsl,imx6sx-fec"; - iommus = <&smmu 0x12 0x7f80>; -}; - -&fec2 { - compatible = "fsl,imx8qm-fec", "fsl,imx6sx-fec"; - iommus = <&smmu 0x12 0x7f80>; -}; - -&usdhc1 { - compatible = "fsl,imx8qm-usdhc", "fsl,imx8qxp-usdhc", "fsl,imx7d-usdhc"; - iommus = <&smmu 0x11 0x7f80>; -}; - -&usdhc2 { - compatible = "fsl,imx8qm-usdhc", "fsl,imx8qxp-usdhc", "fsl,imx7d-usdhc"; - iommus = <&smmu 0x11 0x7f80>; -}; - -&usdhc3 { - compatible = "fsl,imx8qm-usdhc", "fsl,imx8qxp-usdhc", "fsl,imx7d-usdhc"; - iommus = <&smmu 0x11 0x7f80>; -}; +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright 2019-2020 NXP + * Dong Aisheng + */ + +&fec1 { + compatible = "fsl,imx8qm-fec", "fsl,imx6sx-fec"; + iommus = <&smmu 0x12 0x7f80>; +}; + +&fec2 { + compatible = "fsl,imx8qm-fec", "fsl,imx6sx-fec"; + iommus = <&smmu 0x12 0x7f80>; +}; + +&usdhc1 { + compatible = "fsl,imx8qm-usdhc", "fsl,imx8qxp-usdhc", "fsl,imx7d-usdhc"; + iommus = <&smmu 0x11 0x7f80>; +}; + +&usdhc2 { + compatible = "fsl,imx8qm-usdhc", "fsl,imx8qxp-usdhc", "fsl,imx7d-usdhc"; + iommus = <&smmu 0x11 0x7f80>; +}; + +&usdhc3 { + compatible = "fsl,imx8qm-usdhc", "fsl,imx8qxp-usdhc", "fsl,imx7d-usdhc"; + iommus = <&smmu 0x11 0x7f80>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/qoriq-fman3-0-10g-0.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/qoriq-fman3-0-10g-0.dtsi index b5cb68c939..1b2b20c612 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/qoriq-fman3-0-10g-0.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/qoriq-fman3-0-10g-0.dtsi @@ -1,43 +1,43 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) -/* - * QorIQ FMan v3 10g port #0 device tree - * - * Copyright 2012-2015 Freescale Semiconductor Inc. - * - */ - -fman@1a00000 { - fman0_rx_0x10: port@90000 { - cell-index = <0x10>; - compatible = "fsl,fman-v3-port-rx"; - reg = <0x90000 0x1000>; - fsl,fman-10g-port; - }; - - fman0_tx_0x30: port@b0000 { - cell-index = <0x30>; - compatible = "fsl,fman-v3-port-tx"; - reg = <0xb0000 0x1000>; - fsl,fman-10g-port; - }; - - ethernet@f0000 { - cell-index = <0x8>; - compatible = "fsl,fman-memac"; - reg = <0xf0000 0x1000>; - fsl,fman-ports = <&fman0_rx_0x10 &fman0_tx_0x30>; - pcsphy-handle = <&pcsphy6>; - pcs-handle = <&pcsphy6>; - }; - - mdio@f1000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,fman-memac-mdio"; - reg = <0xf1000 0x1000>; - - pcsphy6: ethernet-phy@0 { - reg = <0x0>; - }; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) +/* + * QorIQ FMan v3 10g port #0 device tree + * + * Copyright 2012-2015 Freescale Semiconductor Inc. + * + */ + +fman@1a00000 { + fman0_rx_0x10: port@90000 { + cell-index = <0x10>; + compatible = "fsl,fman-v3-port-rx"; + reg = <0x90000 0x1000>; + fsl,fman-10g-port; + }; + + fman0_tx_0x30: port@b0000 { + cell-index = <0x30>; + compatible = "fsl,fman-v3-port-tx"; + reg = <0xb0000 0x1000>; + fsl,fman-10g-port; + }; + + ethernet@f0000 { + cell-index = <0x8>; + compatible = "fsl,fman-memac"; + reg = <0xf0000 0x1000>; + fsl,fman-ports = <&fman0_rx_0x10 &fman0_tx_0x30>; + pcsphy-handle = <&pcsphy6>; + pcs-handle = <&pcsphy6>; + }; + + mdio@f1000 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "fsl,fman-memac-mdio"; + reg = <0xf1000 0x1000>; + + pcsphy6: ethernet-phy@0 { + reg = <0x0>; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/qoriq-fman3-0-10g-1.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/qoriq-fman3-0-10g-1.dtsi index a83786eade..55d78f6f7c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/qoriq-fman3-0-10g-1.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/qoriq-fman3-0-10g-1.dtsi @@ -1,43 +1,43 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) -/* - * QorIQ FMan v3 10g port #1 device tree - * - * Copyright 2012-2015 Freescale Semiconductor Inc. - * - */ - -fman@1a00000 { - fman0_rx_0x11: port@91000 { - cell-index = <0x11>; - compatible = "fsl,fman-v3-port-rx"; - reg = <0x91000 0x1000>; - fsl,fman-10g-port; - }; - - fman0_tx_0x31: port@b1000 { - cell-index = <0x31>; - compatible = "fsl,fman-v3-port-tx"; - reg = <0xb1000 0x1000>; - fsl,fman-10g-port; - }; - - ethernet@f2000 { - cell-index = <0x9>; - compatible = "fsl,fman-memac"; - reg = <0xf2000 0x1000>; - fsl,fman-ports = <&fman0_rx_0x11 &fman0_tx_0x31>; - pcsphy-handle = <&pcsphy7>; - pcs-handle = <&pcsphy7>; - }; - - mdio@f3000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,fman-memac-mdio"; - reg = <0xf3000 0x1000>; - - pcsphy7: ethernet-phy@0 { - reg = <0x0>; - }; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) +/* + * QorIQ FMan v3 10g port #1 device tree + * + * Copyright 2012-2015 Freescale Semiconductor Inc. + * + */ + +fman@1a00000 { + fman0_rx_0x11: port@91000 { + cell-index = <0x11>; + compatible = "fsl,fman-v3-port-rx"; + reg = <0x91000 0x1000>; + fsl,fman-10g-port; + }; + + fman0_tx_0x31: port@b1000 { + cell-index = <0x31>; + compatible = "fsl,fman-v3-port-tx"; + reg = <0xb1000 0x1000>; + fsl,fman-10g-port; + }; + + ethernet@f2000 { + cell-index = <0x9>; + compatible = "fsl,fman-memac"; + reg = <0xf2000 0x1000>; + fsl,fman-ports = <&fman0_rx_0x11 &fman0_tx_0x31>; + pcsphy-handle = <&pcsphy7>; + pcs-handle = <&pcsphy7>; + }; + + mdio@f3000 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "fsl,fman-memac-mdio"; + reg = <0xf3000 0x1000>; + + pcsphy7: ethernet-phy@0 { + reg = <0x0>; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/qoriq-fman3-0-1g-0.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/qoriq-fman3-0-1g-0.dtsi index f04a81fa1c..18916a860c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/qoriq-fman3-0-1g-0.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/qoriq-fman3-0-1g-0.dtsi @@ -1,42 +1,42 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) -/* - * QorIQ FMan v3 1g port #0 device tree - * - * Copyright 2012-2015 Freescale Semiconductor Inc. - * - */ - -fman@1a00000 { - fman0_rx_0x08: port@88000 { - cell-index = <0x8>; - compatible = "fsl,fman-v3-port-rx"; - reg = <0x88000 0x1000>; - }; - - fman0_tx_0x28: port@a8000 { - cell-index = <0x28>; - compatible = "fsl,fman-v3-port-tx"; - reg = <0xa8000 0x1000>; - }; - - ethernet@e0000 { - cell-index = <0>; - compatible = "fsl,fman-memac"; - reg = <0xe0000 0x1000>; - fsl,fman-ports = <&fman0_rx_0x08 &fman0_tx_0x28>; - ptp-timer = <&ptp_timer0>; - pcsphy-handle = <&pcsphy0>; - pcs-handle = <&pcsphy0>; - }; - - mdio@e1000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,fman-memac-mdio"; - reg = <0xe1000 0x1000>; - - pcsphy0: ethernet-phy@0 { - reg = <0x0>; - }; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) +/* + * QorIQ FMan v3 1g port #0 device tree + * + * Copyright 2012-2015 Freescale Semiconductor Inc. + * + */ + +fman@1a00000 { + fman0_rx_0x08: port@88000 { + cell-index = <0x8>; + compatible = "fsl,fman-v3-port-rx"; + reg = <0x88000 0x1000>; + }; + + fman0_tx_0x28: port@a8000 { + cell-index = <0x28>; + compatible = "fsl,fman-v3-port-tx"; + reg = <0xa8000 0x1000>; + }; + + ethernet@e0000 { + cell-index = <0>; + compatible = "fsl,fman-memac"; + reg = <0xe0000 0x1000>; + fsl,fman-ports = <&fman0_rx_0x08 &fman0_tx_0x28>; + ptp-timer = <&ptp_timer0>; + pcsphy-handle = <&pcsphy0>; + pcs-handle = <&pcsphy0>; + }; + + mdio@e1000 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "fsl,fman-memac-mdio"; + reg = <0xe1000 0x1000>; + + pcsphy0: ethernet-phy@0 { + reg = <0x0>; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/qoriq-fman3-0-1g-1.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/qoriq-fman3-0-1g-1.dtsi index d2d68e6299..e90af445a2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/qoriq-fman3-0-1g-1.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/qoriq-fman3-0-1g-1.dtsi @@ -1,42 +1,42 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) -/* - * QorIQ FMan v3 1g port #1 device tree - * - * Copyright 2012-2015 Freescale Semiconductor Inc. - * - */ - -fman@1a00000 { - fman0_rx_0x09: port@89000 { - cell-index = <0x9>; - compatible = "fsl,fman-v3-port-rx"; - reg = <0x89000 0x1000>; - }; - - fman0_tx_0x29: port@a9000 { - cell-index = <0x29>; - compatible = "fsl,fman-v3-port-tx"; - reg = <0xa9000 0x1000>; - }; - - ethernet@e2000 { - cell-index = <1>; - compatible = "fsl,fman-memac"; - reg = <0xe2000 0x1000>; - fsl,fman-ports = <&fman0_rx_0x09 &fman0_tx_0x29>; - ptp-timer = <&ptp_timer0>; - pcsphy-handle = <&pcsphy1>; - pcs-handle = <&pcsphy1>; - }; - - mdio@e3000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,fman-memac-mdio"; - reg = <0xe3000 0x1000>; - - pcsphy1: ethernet-phy@0 { - reg = <0x0>; - }; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) +/* + * QorIQ FMan v3 1g port #1 device tree + * + * Copyright 2012-2015 Freescale Semiconductor Inc. + * + */ + +fman@1a00000 { + fman0_rx_0x09: port@89000 { + cell-index = <0x9>; + compatible = "fsl,fman-v3-port-rx"; + reg = <0x89000 0x1000>; + }; + + fman0_tx_0x29: port@a9000 { + cell-index = <0x29>; + compatible = "fsl,fman-v3-port-tx"; + reg = <0xa9000 0x1000>; + }; + + ethernet@e2000 { + cell-index = <1>; + compatible = "fsl,fman-memac"; + reg = <0xe2000 0x1000>; + fsl,fman-ports = <&fman0_rx_0x09 &fman0_tx_0x29>; + ptp-timer = <&ptp_timer0>; + pcsphy-handle = <&pcsphy1>; + pcs-handle = <&pcsphy1>; + }; + + mdio@e3000 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "fsl,fman-memac-mdio"; + reg = <0xe3000 0x1000>; + + pcsphy1: ethernet-phy@0 { + reg = <0x0>; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/qoriq-fman3-0-1g-2.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/qoriq-fman3-0-1g-2.dtsi index bbb93c9b57..fec93905bc 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/qoriq-fman3-0-1g-2.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/qoriq-fman3-0-1g-2.dtsi @@ -1,42 +1,42 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) -/* - * QorIQ FMan v3 1g port #2 device tree - * - * Copyright 2012-2015 Freescale Semiconductor Inc. - * - */ - -fman@1a00000 { - fman0_rx_0x0a: port@8a000 { - cell-index = <0xa>; - compatible = "fsl,fman-v3-port-rx"; - reg = <0x8a000 0x1000>; - }; - - fman0_tx_0x2a: port@aa000 { - cell-index = <0x2a>; - compatible = "fsl,fman-v3-port-tx"; - reg = <0xaa000 0x1000>; - }; - - ethernet@e4000 { - cell-index = <2>; - compatible = "fsl,fman-memac"; - reg = <0xe4000 0x1000>; - fsl,fman-ports = <&fman0_rx_0x0a &fman0_tx_0x2a>; - ptp-timer = <&ptp_timer0>; - pcsphy-handle = <&pcsphy2>; - pcs-handle = <&pcsphy2>; - }; - - mdio@e5000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,fman-memac-mdio"; - reg = <0xe5000 0x1000>; - - pcsphy2: ethernet-phy@0 { - reg = <0x0>; - }; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) +/* + * QorIQ FMan v3 1g port #2 device tree + * + * Copyright 2012-2015 Freescale Semiconductor Inc. + * + */ + +fman@1a00000 { + fman0_rx_0x0a: port@8a000 { + cell-index = <0xa>; + compatible = "fsl,fman-v3-port-rx"; + reg = <0x8a000 0x1000>; + }; + + fman0_tx_0x2a: port@aa000 { + cell-index = <0x2a>; + compatible = "fsl,fman-v3-port-tx"; + reg = <0xaa000 0x1000>; + }; + + ethernet@e4000 { + cell-index = <2>; + compatible = "fsl,fman-memac"; + reg = <0xe4000 0x1000>; + fsl,fman-ports = <&fman0_rx_0x0a &fman0_tx_0x2a>; + ptp-timer = <&ptp_timer0>; + pcsphy-handle = <&pcsphy2>; + pcs-handle = <&pcsphy2>; + }; + + mdio@e5000 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "fsl,fman-memac-mdio"; + reg = <0xe5000 0x1000>; + + pcsphy2: ethernet-phy@0 { + reg = <0x0>; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/qoriq-fman3-0-1g-3.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/qoriq-fman3-0-1g-3.dtsi index 4c8a0714c8..2aa953faa6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/qoriq-fman3-0-1g-3.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/qoriq-fman3-0-1g-3.dtsi @@ -1,42 +1,42 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) -/* - * QorIQ FMan v3 1g port #3 device tree - * - * Copyright 2012-2015 Freescale Semiconductor Inc. - * - */ - -fman@1a00000 { - fman0_rx_0x0b: port@8b000 { - cell-index = <0xb>; - compatible = "fsl,fman-v3-port-rx"; - reg = <0x8b000 0x1000>; - }; - - fman0_tx_0x2b: port@ab000 { - cell-index = <0x2b>; - compatible = "fsl,fman-v3-port-tx"; - reg = <0xab000 0x1000>; - }; - - ethernet@e6000 { - cell-index = <3>; - compatible = "fsl,fman-memac"; - reg = <0xe6000 0x1000>; - fsl,fman-ports = <&fman0_rx_0x0b &fman0_tx_0x2b>; - ptp-timer = <&ptp_timer0>; - pcsphy-handle = <&pcsphy3>; - pcs-handle = <&pcsphy3>; - }; - - mdio@e7000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,fman-memac-mdio"; - reg = <0xe7000 0x1000>; - - pcsphy3: ethernet-phy@0 { - reg = <0x0>; - }; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) +/* + * QorIQ FMan v3 1g port #3 device tree + * + * Copyright 2012-2015 Freescale Semiconductor Inc. + * + */ + +fman@1a00000 { + fman0_rx_0x0b: port@8b000 { + cell-index = <0xb>; + compatible = "fsl,fman-v3-port-rx"; + reg = <0x8b000 0x1000>; + }; + + fman0_tx_0x2b: port@ab000 { + cell-index = <0x2b>; + compatible = "fsl,fman-v3-port-tx"; + reg = <0xab000 0x1000>; + }; + + ethernet@e6000 { + cell-index = <3>; + compatible = "fsl,fman-memac"; + reg = <0xe6000 0x1000>; + fsl,fman-ports = <&fman0_rx_0x0b &fman0_tx_0x2b>; + ptp-timer = <&ptp_timer0>; + pcsphy-handle = <&pcsphy3>; + pcs-handle = <&pcsphy3>; + }; + + mdio@e7000 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "fsl,fman-memac-mdio"; + reg = <0xe7000 0x1000>; + + pcsphy3: ethernet-phy@0 { + reg = <0x0>; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/qoriq-fman3-0-1g-4.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/qoriq-fman3-0-1g-4.dtsi index 988ae01e6e..948e394114 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/qoriq-fman3-0-1g-4.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/qoriq-fman3-0-1g-4.dtsi @@ -1,42 +1,42 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) -/* - * QorIQ FMan v3 1g port #4 device tree - * - * Copyright 2012-2015 Freescale Semiconductor Inc. - * - */ - -fman@1a00000 { - fman0_rx_0x0c: port@8c000 { - cell-index = <0xc>; - compatible = "fsl,fman-v3-port-rx"; - reg = <0x8c000 0x1000>; - }; - - fman0_tx_0x2c: port@ac000 { - cell-index = <0x2c>; - compatible = "fsl,fman-v3-port-tx"; - reg = <0xac000 0x1000>; - }; - - ethernet@e8000 { - cell-index = <4>; - compatible = "fsl,fman-memac"; - reg = <0xe8000 0x1000>; - fsl,fman-ports = <&fman0_rx_0x0c &fman0_tx_0x2c>; - ptp-timer = <&ptp_timer0>; - pcsphy-handle = <&pcsphy4>; - pcs-handle = <&pcsphy4>; - }; - - mdio@e9000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,fman-memac-mdio"; - reg = <0xe9000 0x1000>; - - pcsphy4: ethernet-phy@0 { - reg = <0x0>; - }; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) +/* + * QorIQ FMan v3 1g port #4 device tree + * + * Copyright 2012-2015 Freescale Semiconductor Inc. + * + */ + +fman@1a00000 { + fman0_rx_0x0c: port@8c000 { + cell-index = <0xc>; + compatible = "fsl,fman-v3-port-rx"; + reg = <0x8c000 0x1000>; + }; + + fman0_tx_0x2c: port@ac000 { + cell-index = <0x2c>; + compatible = "fsl,fman-v3-port-tx"; + reg = <0xac000 0x1000>; + }; + + ethernet@e8000 { + cell-index = <4>; + compatible = "fsl,fman-memac"; + reg = <0xe8000 0x1000>; + fsl,fman-ports = <&fman0_rx_0x0c &fman0_tx_0x2c>; + ptp-timer = <&ptp_timer0>; + pcsphy-handle = <&pcsphy4>; + pcs-handle = <&pcsphy4>; + }; + + mdio@e9000 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "fsl,fman-memac-mdio"; + reg = <0xe9000 0x1000>; + + pcsphy4: ethernet-phy@0 { + reg = <0x0>; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/qoriq-fman3-0-1g-5.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/qoriq-fman3-0-1g-5.dtsi index d580a4fe91..01b78c0463 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/qoriq-fman3-0-1g-5.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/qoriq-fman3-0-1g-5.dtsi @@ -1,41 +1,41 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) -/* - * QorIQ FMan v3 1g port #5 device tree - * - * Copyright 2012-2015 Freescale Semiconductor Inc. - * - */ - -fman@1a00000 { - fman0_rx_0x0d: port@8d000 { - cell-index = <0xd>; - compatible = "fsl,fman-v3-port-rx"; - reg = <0x8d000 0x1000>; - }; - - fman0_tx_0x2d: port@ad000 { - cell-index = <0x2d>; - compatible = "fsl,fman-v3-port-tx"; - reg = <0xad000 0x1000>; - }; - - ethernet@ea000 { - cell-index = <5>; - compatible = "fsl,fman-memac"; - reg = <0xea000 0x1000>; - fsl,fman-ports = <&fman0_rx_0x0d &fman0_tx_0x2d>; - ptp-timer = <&ptp_timer0>; - pcsphy-handle = <&pcsphy5>; - }; - - mdio@eb000 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "fsl,fman-memac-mdio"; - reg = <0xeb000 0x1000>; - - pcsphy5: ethernet-phy@0 { - reg = <0x0>; - }; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) +/* + * QorIQ FMan v3 1g port #5 device tree + * + * Copyright 2012-2015 Freescale Semiconductor Inc. + * + */ + +fman@1a00000 { + fman0_rx_0x0d: port@8d000 { + cell-index = <0xd>; + compatible = "fsl,fman-v3-port-rx"; + reg = <0x8d000 0x1000>; + }; + + fman0_tx_0x2d: port@ad000 { + cell-index = <0x2d>; + compatible = "fsl,fman-v3-port-tx"; + reg = <0xad000 0x1000>; + }; + + ethernet@ea000 { + cell-index = <5>; + compatible = "fsl,fman-memac"; + reg = <0xea000 0x1000>; + fsl,fman-ports = <&fman0_rx_0x0d &fman0_tx_0x2d>; + ptp-timer = <&ptp_timer0>; + pcsphy-handle = <&pcsphy5>; + }; + + mdio@eb000 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "fsl,fman-memac-mdio"; + reg = <0xeb000 0x1000>; + + pcsphy5: ethernet-phy@0 { + reg = <0x0>; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/s32g274a-rdb2.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/s32g274a-rdb2.dts index cf693700a2..ab1e5caaea 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/s32g274a-rdb2.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/s32g274a-rdb2.dts @@ -1,45 +1,45 @@ -// 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 Reference Design Board 2 (S32G-VNP-RDB2)"; - compatible = "nxp,s32g274a-rdb2", "nxp,s32g2"; - - aliases { - serial0 = &uart0; - serial1 = &uart1; - }; - - chosen { - stdout-path = "serial0:115200n8"; - }; - - /* 4GiB RAM */ - memory@80000000 { - device_type = "memory"; - reg = <0x0 0x80000000 0 0x80000000>, - <0x8 0x80000000 0 0x80000000>; - }; -}; - -/* UART (J2) to Micro USB port */ -&uart0 { - status = "okay"; -}; - -/* UART (J1) to Micro USB port */ -&uart1 { - 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 Reference Design Board 2 (S32G-VNP-RDB2)"; + compatible = "nxp,s32g274a-rdb2", "nxp,s32g2"; + + aliases { + serial0 = &uart0; + serial1 = &uart1; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + /* 4GiB RAM */ + memory@80000000 { + device_type = "memory"; + reg = <0x0 0x80000000 0 0x80000000>, + <0x8 0x80000000 0 0x80000000>; + }; +}; + +/* UART (J2) to Micro USB port */ +&uart0 { + status = "okay"; +}; + +/* UART (J1) to Micro USB port */ +&uart1 { + status = "okay"; +}; + +&usdhc0 { + disable-wp; + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/s32g399a-rdb3.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/s32g399a-rdb3.dts index 1f89fb04a9..176e5af191 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/s32g399a-rdb3.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/s32g399a-rdb3.dts @@ -1,46 +1,46 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) -/* - * Copyright 2021-2024 NXP - * - * NXP S32G3 Reference Design Board 3 (S32G-VNP-RDB3) - */ - -/dts-v1/; - -#include "s32g3.dtsi" - -/ { - model = "NXP S32G3 Reference Design Board 3 (S32G-VNP-RDB3)"; - compatible = "nxp,s32g399a-rdb3", "nxp,s32g3"; - - aliases { - mmc0 = &usdhc0; - serial0 = &uart0; - serial1 = &uart1; - }; - - chosen { - stdout-path = "serial0:115200n8"; - }; - - /* 4GiB RAM */ - memory@80000000 { - device_type = "memory"; - reg = <0x0 0x80000000 0 0x80000000>, - <0x8 0x80000000 0 0x80000000>; - }; -}; - -&uart0 { - status = "okay"; -}; - -&uart1 { - status = "okay"; -}; - -&usdhc0 { - bus-width = <8>; - disable-wp; - status = "okay"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) +/* + * Copyright 2021-2024 NXP + * + * NXP S32G3 Reference Design Board 3 (S32G-VNP-RDB3) + */ + +/dts-v1/; + +#include "s32g3.dtsi" + +/ { + model = "NXP S32G3 Reference Design Board 3 (S32G-VNP-RDB3)"; + compatible = "nxp,s32g399a-rdb3", "nxp,s32g3"; + + aliases { + mmc0 = &usdhc0; + serial0 = &uart0; + serial1 = &uart1; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + /* 4GiB RAM */ + memory@80000000 { + device_type = "memory"; + reg = <0x0 0x80000000 0 0x80000000>, + <0x8 0x80000000 0 0x80000000>; + }; +}; + +&uart0 { + status = "okay"; +}; + +&uart1 { + status = "okay"; +}; + +&usdhc0 { + bus-width = <8>; + disable-wp; + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/hisilicon/hip06-d03.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/hisilicon/hip06-d03.dts index e056ed7cb1..35af5d3821 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/hisilicon/hip06-d03.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/hisilicon/hip06-d03.dts @@ -1,58 +1,58 @@ -// SPDX-License-Identifier: GPL-2.0-only -/** - * dts file for Hisilicon D03 Development Board - * - * Copyright (C) 2016 HiSilicon Ltd. - */ - -/dts-v1/; - -#include "hip06.dtsi" - -/ { - model = "Hisilicon Hip06 D03 Development Board"; - compatible = "hisilicon,hip06-d03"; - - memory@0 { - device_type = "memory"; - reg = <0x0 0x00000000 0x0 0x40000000>; - }; - - chosen { }; -}; - -&ipmi0 { - status = "okay"; -}; - -&uart0 { - status = "okay"; -}; - -ð0 { - status = "okay"; -}; - -ð1 { - status = "okay"; -}; - -ð2 { - status = "okay"; -}; - -ð3 { - status = "okay"; -}; - -&sas1 { - status = "okay"; -}; - -&usb_ohci { - status = "okay"; -}; - -&usb_ehci { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0-only +/** + * dts file for Hisilicon D03 Development Board + * + * Copyright (C) 2016 HiSilicon Ltd. + */ + +/dts-v1/; + +#include "hip06.dtsi" + +/ { + model = "Hisilicon Hip06 D03 Development Board"; + compatible = "hisilicon,hip06-d03"; + + memory@0 { + device_type = "memory"; + reg = <0x0 0x00000000 0x0 0x40000000>; + }; + + chosen { }; +}; + +&ipmi0 { + status = "okay"; +}; + +&uart0 { + status = "okay"; +}; + +ð0 { + status = "okay"; +}; + +ð1 { + status = "okay"; +}; + +ð2 { + status = "okay"; +}; + +ð3 { + status = "okay"; +}; + +&sas1 { + status = "okay"; +}; + +&usb_ohci { + status = "okay"; +}; + +&usb_ehci { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/armada-3720-espressobin-emmc.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/armada-3720-espressobin-emmc.dts index bf65833e1f..6715a19c14 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/armada-3720-espressobin-emmc.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/armada-3720-espressobin-emmc.dts @@ -1,26 +1,26 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Device Tree file for Globalscale Marvell ESPRESSOBin Board with eMMC - * Copyright (C) 2018 Marvell - * - * Romain Perier - * Konstantin Porotchkin - * - */ -/* - * 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 (eMMC)"; - compatible = "globalscale,espressobin-emmc", "globalscale,espressobin", - "marvell,armada3720", "marvell,armada3700"; -}; - -&sdhci0 { - status = "okay"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Device Tree file for Globalscale Marvell ESPRESSOBin Board with eMMC + * Copyright (C) 2018 Marvell + * + * Romain Perier + * Konstantin Porotchkin + * + */ +/* + * 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 (eMMC)"; + compatible = "globalscale,espressobin-emmc", "globalscale,espressobin", + "marvell,armada3720", "marvell,armada3700"; +}; + +&sdhci0 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/armada-3720-espressobin-v7-emmc.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/armada-3720-espressobin-v7-emmc.dts index e09159b457..2a8aa3901a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/armada-3720-espressobin-v7-emmc.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/armada-3720-espressobin-v7-emmc.dts @@ -1,45 +1,45 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Device Tree file for Globalscale Marvell ESPRESSOBin Board V7 with eMMC - * Copyright (C) 2018 Marvell - * - * Romain Perier - * Konstantin Porotchkin - * - */ -/* - * Schematic available at http://espressobin.net/wp-content/uploads/2020/05/ESPRESSObin_V7-0_Schematic.pdf - */ - -/dts-v1/; - -#include "armada-3720-espressobin.dtsi" - -/ { - model = "Globalscale Marvell ESPRESSOBin Board V7 (eMMC)"; - compatible = "globalscale,espressobin-v7-emmc", "globalscale,espressobin-v7", - "globalscale,espressobin", "marvell,armada3720", - "marvell,armada3700"; - - aliases { - /* ethernet1 is wan port */ - ethernet1 = &switch0port3; - ethernet3 = &switch0port1; - }; -}; - -&switch0port1 { - label = "lan1"; -}; - -&switch0port3 { - label = "wan"; -}; - -&sdhci0 { - status = "okay"; -}; - -&led2 { - status = "okay"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Device Tree file for Globalscale Marvell ESPRESSOBin Board V7 with eMMC + * Copyright (C) 2018 Marvell + * + * Romain Perier + * Konstantin Porotchkin + * + */ +/* + * Schematic available at http://espressobin.net/wp-content/uploads/2020/05/ESPRESSObin_V7-0_Schematic.pdf + */ + +/dts-v1/; + +#include "armada-3720-espressobin.dtsi" + +/ { + model = "Globalscale Marvell ESPRESSOBin Board V7 (eMMC)"; + compatible = "globalscale,espressobin-v7-emmc", "globalscale,espressobin-v7", + "globalscale,espressobin", "marvell,armada3720", + "marvell,armada3700"; + + aliases { + /* ethernet1 is wan port */ + ethernet1 = &switch0port3; + ethernet3 = &switch0port1; + }; +}; + +&switch0port1 { + label = "lan1"; +}; + +&switch0port3 { + label = "wan"; +}; + +&sdhci0 { + status = "okay"; +}; + +&led2 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/armada-3720-espressobin-v7.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/armada-3720-espressobin-v7.dts index 35781aa3b0..b03af87611 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/armada-3720-espressobin-v7.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/armada-3720-espressobin-v7.dts @@ -1,40 +1,40 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Device Tree file for Globalscale Marvell ESPRESSOBin Board V7 - * Copyright (C) 2018 Marvell - * - * Romain Perier - * Konstantin Porotchkin - * - */ -/* - * Schematic available at http://espressobin.net/wp-content/uploads/2020/05/ESPRESSObin_V7-0_Schematic.pdf - */ - -/dts-v1/; - -#include "armada-3720-espressobin.dtsi" - -/ { - model = "Globalscale Marvell ESPRESSOBin Board V7"; - compatible = "globalscale,espressobin-v7", "globalscale,espressobin", - "marvell,armada3720", "marvell,armada3700"; - - aliases { - /* ethernet1 is wan port */ - ethernet1 = &switch0port3; - ethernet3 = &switch0port1; - }; -}; - -&switch0port1 { - label = "lan1"; -}; - -&switch0port3 { - label = "wan"; -}; - -&led2 { - status = "okay"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Device Tree file for Globalscale Marvell ESPRESSOBin Board V7 + * Copyright (C) 2018 Marvell + * + * Romain Perier + * Konstantin Porotchkin + * + */ +/* + * Schematic available at http://espressobin.net/wp-content/uploads/2020/05/ESPRESSObin_V7-0_Schematic.pdf + */ + +/dts-v1/; + +#include "armada-3720-espressobin.dtsi" + +/ { + model = "Globalscale Marvell ESPRESSOBin Board V7"; + compatible = "globalscale,espressobin-v7", "globalscale,espressobin", + "marvell,armada3720", "marvell,armada3700"; + + aliases { + /* ethernet1 is wan port */ + ethernet1 = &switch0port3; + ethernet3 = &switch0port1; + }; +}; + +&switch0port1 { + label = "lan1"; +}; + +&switch0port3 { + label = "wan"; +}; + +&led2 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/armada-7040.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/armada-7040.dtsi index 4c7013ec39..2f440711d2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/armada-7040.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/armada-7040.dtsi @@ -1,40 +1,40 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (C) 2016 Marvell Technology Group Ltd. - * - * Device Tree file for the Armada 7040 SoC, made of an AP806 Quad and - * one CP110. - */ - -#include "armada-ap806-quad.dtsi" -#include "armada-70x0.dtsi" - -/ { - model = "Marvell Armada 7040"; - compatible = "marvell,armada7040", "marvell,armada-ap806-quad", - "marvell,armada-ap806"; -}; - -&cp0_pcie0 { - iommu-map = - <0x0 &smmu 0x480 0x20>, - <0x100 &smmu 0x4a0 0x20>, - <0x200 &smmu 0x4c0 0x20>; - iommu-map-mask = <0x031f>; -}; - -&cp0_sata0 { - iommus = <&smmu 0x444>; -}; - -&cp0_sdhci0 { - iommus = <&smmu 0x445>; -}; - -&cp0_usb3_0 { - iommus = <&smmu 0x440>; -}; - -&cp0_usb3_1 { - iommus = <&smmu 0x441>; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (C) 2016 Marvell Technology Group Ltd. + * + * Device Tree file for the Armada 7040 SoC, made of an AP806 Quad and + * one CP110. + */ + +#include "armada-ap806-quad.dtsi" +#include "armada-70x0.dtsi" + +/ { + model = "Marvell Armada 7040"; + compatible = "marvell,armada7040", "marvell,armada-ap806-quad", + "marvell,armada-ap806"; +}; + +&cp0_pcie0 { + iommu-map = + <0x0 &smmu 0x480 0x20>, + <0x100 &smmu 0x4a0 0x20>, + <0x200 &smmu 0x4c0 0x20>; + iommu-map-mask = <0x031f>; +}; + +&cp0_sata0 { + iommus = <&smmu 0x444>; +}; + +&cp0_sdhci0 { + iommus = <&smmu 0x445>; +}; + +&cp0_usb3_0 { + iommus = <&smmu 0x440>; +}; + +&cp0_usb3_1 { + iommus = <&smmu 0x441>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/armada-8020.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/armada-8020.dtsi index dc26064998..ba1307c0fa 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/armada-8020.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/armada-8020.dtsi @@ -1,26 +1,26 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (C) 2016 Marvell Technology Group Ltd. - * - * Device Tree file for the Armada 8020 SoC, made of an AP806 Dual and - * two CP110. - */ - -#include "armada-ap806-dual.dtsi" -#include "armada-80x0.dtsi" - -/ { - model = "Marvell Armada 8020"; - compatible = "marvell,armada8020", "marvell,armada-ap806-dual", - "marvell,armada-ap806"; -}; - -/* The RTC requires external oscillator. But on Aramda 80x0, the RTC clock - * in CP master is not connected (by package) to the oscillator. So - * disable it. However, the RTC clock in CP slave is connected to the - * oscillator so this one is let enabled. - */ - -&cp0_rtc { - status = "disabled"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (C) 2016 Marvell Technology Group Ltd. + * + * Device Tree file for the Armada 8020 SoC, made of an AP806 Dual and + * two CP110. + */ + +#include "armada-ap806-dual.dtsi" +#include "armada-80x0.dtsi" + +/ { + model = "Marvell Armada 8020"; + compatible = "marvell,armada8020", "marvell,armada-ap806-dual", + "marvell,armada-ap806"; +}; + +/* The RTC requires external oscillator. But on Aramda 80x0, the RTC clock + * in CP master is not connected (by package) to the oscillator. So + * disable it. However, the RTC clock in CP slave is connected to the + * oscillator so this one is let enabled. + */ + +&cp0_rtc { + status = "disabled"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts index fceb83b25e..1766cf5810 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts @@ -1,45 +1,45 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (C) 2016 Marvell Technology Group Ltd. - * - * Device Tree file for MACCHIATOBin Armada 8040 community board platform - */ - -#include "armada-8040-mcbin.dtsi" - -/ { - model = "Marvell 8040 MACCHIATOBin Double-shot"; - compatible = "marvell,armada8040-mcbin-doubleshot", - "marvell,armada8040-mcbin", "marvell,armada8040", - "marvell,armada-ap806-quad", "marvell,armada-ap806"; -}; - -&cp0_xmdio { - status = "okay"; - - phy0: ethernet-phy@0 { - compatible = "ethernet-phy-ieee802.3-c45"; - reg = <0>; - sfp = <&sfp_eth0>; - }; - - phy8: ethernet-phy@8 { - compatible = "ethernet-phy-ieee802.3-c45"; - reg = <8>; - sfp = <&sfp_eth1>; - }; -}; - -&cp0_eth0 { - status = "okay"; - /* Network PHY */ - phy = <&phy0>; - phy-mode = "10gbase-r"; -}; - -&cp1_eth0 { - status = "okay"; - /* Network PHY */ - phy = <&phy8>; - phy-mode = "10gbase-r"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (C) 2016 Marvell Technology Group Ltd. + * + * Device Tree file for MACCHIATOBin Armada 8040 community board platform + */ + +#include "armada-8040-mcbin.dtsi" + +/ { + model = "Marvell 8040 MACCHIATOBin Double-shot"; + compatible = "marvell,armada8040-mcbin-doubleshot", + "marvell,armada8040-mcbin", "marvell,armada8040", + "marvell,armada-ap806-quad", "marvell,armada-ap806"; +}; + +&cp0_xmdio { + status = "okay"; + + phy0: ethernet-phy@0 { + compatible = "ethernet-phy-ieee802.3-c45"; + reg = <0>; + sfp = <&sfp_eth0>; + }; + + phy8: ethernet-phy@8 { + compatible = "ethernet-phy-ieee802.3-c45"; + reg = <8>; + sfp = <&sfp_eth1>; + }; +}; + +&cp0_eth0 { + status = "okay"; + /* Network PHY */ + phy = <&phy0>; + phy-mode = "10gbase-r"; +}; + +&cp1_eth0 { + status = "okay"; + /* Network PHY */ + phy = <&phy8>; + phy-mode = "10gbase-r"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/armada-ap807.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/armada-ap807.dtsi index d1dafbbdec..a3328d05fc 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/armada-ap807.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/armada-ap807.dtsi @@ -1,38 +1,38 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Device Tree file for Marvell Armada AP807 - * - * Copyright (C) 2019 Marvell Technology Group Ltd. - */ - -#define AP_NAME ap807 -#include "armada-ap80x.dtsi" - -/ { - model = "Marvell Armada AP807"; - compatible = "marvell,armada-ap807"; -}; - -&ap_syscon0 { - ap_clk: clock { - compatible = "marvell,ap807-clock"; - #clock-cells = <1>; - }; -}; - -&ap_syscon1 { - cpu_clk: clock-cpu { - compatible = "marvell,ap807-cpu-clock"; - clocks = <&ap_clk 0>, <&ap_clk 1>; - #clock-cells = <1>; - }; -}; - -&ap_sdhci0 { - compatible = "marvell,armada-ap807-sdhci", - "marvell,armada-ap806-sdhci"; /* Backward compatibility */ -}; - -&ap_thermal { - compatible = "marvell,armada-ap807-thermal"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Device Tree file for Marvell Armada AP807 + * + * Copyright (C) 2019 Marvell Technology Group Ltd. + */ + +#define AP_NAME ap807 +#include "armada-ap80x.dtsi" + +/ { + model = "Marvell Armada AP807"; + compatible = "marvell,armada-ap807"; +}; + +&ap_syscon0 { + ap_clk: clock { + compatible = "marvell,ap807-clock"; + #clock-cells = <1>; + }; +}; + +&ap_syscon1 { + cpu_clk: clock-cpu { + compatible = "marvell,ap807-cpu-clock"; + clocks = <&ap_clk 0>, <&ap_clk 1>; + #clock-cells = <1>; + }; +}; + +&ap_sdhci0 { + compatible = "marvell,armada-ap807-sdhci", + "marvell,armada-ap806-sdhci"; /* Backward compatibility */ +}; + +&ap_thermal { + compatible = "marvell,armada-ap807-thermal"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/cn9130-crb-A.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/cn9130-crb-A.dts index 52a46882ee..a7b6dfba8a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/cn9130-crb-A.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/cn9130-crb-A.dts @@ -1,38 +1,38 @@ -// SPDX-License-Identifier: GPL-2.0+ -/* - * Copyright (C) 2020 Marvell International Ltd. - */ - -#include "cn9130-crb.dtsi" - -/ { - model = "Marvell Armada CN9130-CRB-A"; -}; - -&cp0_pcie0 { - status = "okay"; - num-lanes = <4>; - num-viewport = <8>; - /* Generic PHY, providing serdes lanes */ - phys = <&cp0_comphy0 0 - &cp0_comphy1 0 - &cp0_comphy2 0 - &cp0_comphy3 0>; - iommu-map = - <0x0 &smmu 0x480 0x20>, - <0x100 &smmu 0x4a0 0x20>, - <0x200 &smmu 0x4c0 0x20>; - iommu-map-mask = <0x031f>; -}; - -&cp0_usb3_0 { - status = "okay"; - usb-phy = <&cp0_usb3_0_phy0>; - phy-names = "usb"; -}; - -&cp0_usb3_1 { - status = "okay"; - usb-phy = <&cp0_usb3_0_phy1>; - phy-names = "usb"; -}; +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (C) 2020 Marvell International Ltd. + */ + +#include "cn9130-crb.dtsi" + +/ { + model = "Marvell Armada CN9130-CRB-A"; +}; + +&cp0_pcie0 { + status = "okay"; + num-lanes = <4>; + num-viewport = <8>; + /* Generic PHY, providing serdes lanes */ + phys = <&cp0_comphy0 0 + &cp0_comphy1 0 + &cp0_comphy2 0 + &cp0_comphy3 0>; + iommu-map = + <0x0 &smmu 0x480 0x20>, + <0x100 &smmu 0x4a0 0x20>, + <0x200 &smmu 0x4c0 0x20>; + iommu-map-mask = <0x031f>; +}; + +&cp0_usb3_0 { + status = "okay"; + usb-phy = <&cp0_usb3_0_phy0>; + phy-names = "usb"; +}; + +&cp0_usb3_1 { + status = "okay"; + usb-phy = <&cp0_usb3_0_phy1>; + phy-names = "usb"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/cn9130-crb-B.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/cn9130-crb-B.dts index 59b2716c81..0904cb0309 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/cn9130-crb-B.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/cn9130-crb-B.dts @@ -1,46 +1,46 @@ -// SPDX-License-Identifier: GPL-2.0+ -/* - * Copyright (C) 2020 Marvell International Ltd. - */ - -#include "cn9130-crb.dtsi" - -/ { - model = "Marvell Armada CN9130-CRB-B"; -}; - -&cp0_pcie0 { - status = "okay"; - num-lanes = <1>; - num-viewport = <8>; - /* Generic PHY, providing serdes lanes */ - phys = <&cp0_comphy0 0>; - iommu-map = - <0x0 &smmu 0x480 0x20>, - <0x100 &smmu 0x4a0 0x20>, - <0x200 &smmu 0x4c0 0x20>; - iommu-map-mask = <0x031f>; -}; - -&cp0_sata0 { - status = "okay"; - sata-port@0 { - status = "okay"; - /* Generic PHY, providing serdes lanes */ - phys = <&cp0_comphy2 0>; - }; -}; - -&cp0_usb3_0 { - status = "okay"; - usb-phy = <&cp0_usb3_0_phy0>; - phy-names = "usb"; - phys = <&cp0_comphy1 0>; -}; - -&cp0_usb3_1 { - status = "okay"; - usb-phy = <&cp0_usb3_0_phy1>; - phy-names = "usb"; - phys = <&cp0_comphy3 1>; -}; +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (C) 2020 Marvell International Ltd. + */ + +#include "cn9130-crb.dtsi" + +/ { + model = "Marvell Armada CN9130-CRB-B"; +}; + +&cp0_pcie0 { + status = "okay"; + num-lanes = <1>; + num-viewport = <8>; + /* Generic PHY, providing serdes lanes */ + phys = <&cp0_comphy0 0>; + iommu-map = + <0x0 &smmu 0x480 0x20>, + <0x100 &smmu 0x4a0 0x20>, + <0x200 &smmu 0x4c0 0x20>; + iommu-map-mask = <0x031f>; +}; + +&cp0_sata0 { + status = "okay"; + sata-port@0 { + status = "okay"; + /* Generic PHY, providing serdes lanes */ + phys = <&cp0_comphy2 0>; + }; +}; + +&cp0_usb3_0 { + status = "okay"; + usb-phy = <&cp0_usb3_0_phy0>; + phy-names = "usb"; + phys = <&cp0_comphy1 0>; +}; + +&cp0_usb3_1 { + status = "okay"; + usb-phy = <&cp0_usb3_0_phy1>; + phy-names = "usb"; + phys = <&cp0_comphy3 1>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3-nand.dtso b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3-nand.dtso index 21c117a856..24398f8a7d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3-nand.dtso +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3-nand.dtso @@ -1,53 +1,53 @@ -/* SPDX-License-Identifier: (GPL-2.0-only OR MIT) */ -/* - * Authors: Daniel Golle - * Frank Wunderlich - */ - -/dts-v1/; -/plugin/; - -/ { - compatible = "bananapi,bpi-r3", "mediatek,mt7986a"; -}; - -&{/soc/spi@1100a000} { - #address-cells = <1>; - #size-cells = <0>; - - spi_nand: flash@0 { - compatible = "spi-nand"; - reg = <0>; - spi-max-frequency = <10000000>; - spi-tx-buswidth = <4>; - spi-rx-buswidth = <4>; - - partitions { - compatible = "fixed-partitions"; - #address-cells = <1>; - #size-cells = <1>; - - partition@0 { - label = "bl2"; - reg = <0x0 0x100000>; - read-only; - }; - - partition@100000 { - label = "reserved"; - reg = <0x100000 0x280000>; - }; - - partition@380000 { - label = "fip"; - reg = <0x380000 0x200000>; - read-only; - }; - - partition@580000 { - label = "ubi"; - reg = <0x580000 0x7a80000>; - }; - }; - }; -}; +/* SPDX-License-Identifier: (GPL-2.0-only OR MIT) */ +/* + * Authors: Daniel Golle + * Frank Wunderlich + */ + +/dts-v1/; +/plugin/; + +/ { + compatible = "bananapi,bpi-r3", "mediatek,mt7986a"; +}; + +&{/soc/spi@1100a000} { + #address-cells = <1>; + #size-cells = <0>; + + spi_nand: flash@0 { + compatible = "spi-nand"; + reg = <0>; + spi-max-frequency = <10000000>; + spi-tx-buswidth = <4>; + spi-rx-buswidth = <4>; + + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + partition@0 { + label = "bl2"; + reg = <0x0 0x100000>; + read-only; + }; + + partition@100000 { + label = "reserved"; + reg = <0x100000 0x280000>; + }; + + partition@380000 { + label = "fip"; + reg = <0x380000 0x200000>; + read-only; + }; + + partition@580000 { + label = "ubi"; + reg = <0x580000 0x7a80000>; + }; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-burnet.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-burnet.dts index 6127e8cc50..20b71f2e71 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-burnet.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-burnet.dts @@ -1,35 +1,35 @@ -// 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 burnet board"; - chassis-type = "convertible"; - compatible = "google,burnet", "mediatek,mt8183"; -}; - -&mt6358codec { - mediatek,dmic-mode = <1>; /* one-wire */ -}; - -&i2c0 { - touchscreen@2c { - compatible = "hid-over-i2c"; - reg = <0x2c>; - pinctrl-names = "default"; - pinctrl-0 = <&touchscreen_pins>; - interrupts-extended = <&pio 155 IRQ_TYPE_LEVEL_LOW>; - - post-power-on-delay-ms = <200>; - hid-descr-addr = <0x0020>; - }; -}; - -&i2c2 { - i2c-scl-internal-delay-ns = <4100>; -}; +// 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 burnet board"; + chassis-type = "convertible"; + compatible = "google,burnet", "mediatek,mt8183"; +}; + +&mt6358codec { + mediatek,dmic-mode = <1>; /* one-wire */ +}; + +&i2c0 { + touchscreen@2c { + compatible = "hid-over-i2c"; + reg = <0x2c>; + pinctrl-names = "default"; + pinctrl-0 = <&touchscreen_pins>; + interrupts-extended = <&pio 155 IRQ_TYPE_LEVEL_LOW>; + + post-power-on-delay-ms = <200>; + hid-descr-addr = <0x0020>; + }; +}; + +&i2c2 { + i2c-scl-internal-delay-ns = <4100>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-cozmo.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-cozmo.dts index 47e0f2e208..83bbcfe620 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-cozmo.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-cozmo.dts @@ -1,39 +1,39 @@ -// 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 cozmo board"; - chassis-type = "laptop"; - compatible = "google,cozmo", "mediatek,mt8183"; -}; - -&i2c_tunnel { - google,remote-bus = <0>; -}; - -&i2c2 { - i2c-scl-internal-delay-ns = <25000>; - - 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_COZMO"; -}; +// 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 cozmo board"; + chassis-type = "laptop"; + compatible = "google,cozmo", "mediatek,mt8183"; +}; + +&i2c_tunnel { + google,remote-bus = <0>; +}; + +&i2c2 { + i2c-scl-internal-delay-ns = <25000>; + + 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_COZMO"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-damu.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-damu.dts index ae942d4b33..3935d83a04 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-damu.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-damu.dts @@ -1,39 +1,39 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -/* - * Copyright 2021 Google LLC - */ - -/dts-v1/; -#include "mt8183-kukui-jacuzzi.dtsi" -#include "mt8183-kukui-audio-da7219-max98357a.dtsi" - -/ { - model = "Google damu board"; - chassis-type = "convertible"; - compatible = "google,damu", "mediatek,mt8183"; -}; - -&touchscreen { - status = "okay"; - - compatible = "hid-over-i2c"; - reg = <0x10>; - interrupts-extended = <&pio 155 IRQ_TYPE_LEVEL_LOW>; - pinctrl-names = "default"; - pinctrl-0 = <&touchscreen_pins>; - - post-power-on-delay-ms = <10>; - hid-descr-addr = <0x0001>; -}; - -&mt6358codec { - mediatek,dmic-mode = <1>; /* one-wire */ -}; - -&qca_wifi { - qcom,ath10k-calibration-variant = "GO_DAMU"; -}; - -&i2c2 { - i2c-scl-internal-delay-ns = <20000>; -}; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright 2021 Google LLC + */ + +/dts-v1/; +#include "mt8183-kukui-jacuzzi.dtsi" +#include "mt8183-kukui-audio-da7219-max98357a.dtsi" + +/ { + model = "Google damu board"; + chassis-type = "convertible"; + compatible = "google,damu", "mediatek,mt8183"; +}; + +&touchscreen { + status = "okay"; + + compatible = "hid-over-i2c"; + reg = <0x10>; + interrupts-extended = <&pio 155 IRQ_TYPE_LEVEL_LOW>; + pinctrl-names = "default"; + pinctrl-0 = <&touchscreen_pins>; + + post-power-on-delay-ms = <10>; + hid-descr-addr = <0x0001>; +}; + +&mt6358codec { + mediatek,dmic-mode = <1>; /* one-wire */ +}; + +&qca_wifi { + qcom,ath10k-calibration-variant = "GO_DAMU"; +}; + +&i2c2 { + i2c-scl-internal-delay-ns = <20000>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-fennel-sku1.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-fennel-sku1.dts index 9e70cb8497..72852b7600 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-fennel-sku1.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-fennel-sku1.dts @@ -1,45 +1,45 @@ -// 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 fennel sku1 board"; - chassis-type = "convertible"; - compatible = "google,fennel-sku1", "google,fennel", "mediatek,mt8183"; - - pwmleds { - compatible = "pwm-leds"; - keyboard_backlight: led-0 { - label = "cros_ec::kbd_backlight"; - pwms = <&cros_ec_pwm 0>; - max-brightness = <1023>; - }; - }; -}; - -&cros_ec_pwm { - status = "okay"; -}; - -&touchscreen { - status = "okay"; - - compatible = "hid-over-i2c"; - reg = <0x10>; - interrupts-extended = <&pio 155 IRQ_TYPE_LEVEL_LOW>; - pinctrl-names = "default"; - pinctrl-0 = <&touchscreen_pins>; - - post-power-on-delay-ms = <10>; - hid-descr-addr = <0x0001>; -}; - -&qca_wifi { - qcom,ath10k-calibration-variant = "GO_FENNEL"; -}; - +// 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 fennel sku1 board"; + chassis-type = "convertible"; + compatible = "google,fennel-sku1", "google,fennel", "mediatek,mt8183"; + + pwmleds { + compatible = "pwm-leds"; + keyboard_backlight: led-0 { + label = "cros_ec::kbd_backlight"; + pwms = <&cros_ec_pwm 0>; + max-brightness = <1023>; + }; + }; +}; + +&cros_ec_pwm { + status = "okay"; +}; + +&touchscreen { + status = "okay"; + + compatible = "hid-over-i2c"; + reg = <0x10>; + interrupts-extended = <&pio 155 IRQ_TYPE_LEVEL_LOW>; + pinctrl-names = "default"; + pinctrl-0 = <&touchscreen_pins>; + + post-power-on-delay-ms = <10>; + hid-descr-addr = <0x0001>; +}; + +&qca_wifi { + qcom,ath10k-calibration-variant = "GO_FENNEL"; +}; + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-fennel-sku6.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-fennel-sku6.dts index 288ce637e0..757d0afd14 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-fennel-sku6.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-fennel-sku6.dts @@ -1,33 +1,33 @@ -// 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 fennel sku6 board"; - chassis-type = "convertible"; - compatible = "google,fennel-sku6", "google,fennel", "mediatek,mt8183"; -}; - -&touchscreen { - status = "okay"; - - compatible = "hid-over-i2c"; - reg = <0x10>; - interrupts-extended = <&pio 155 IRQ_TYPE_LEVEL_LOW>; - pinctrl-names = "default"; - pinctrl-0 = <&touchscreen_pins>; - - post-power-on-delay-ms = <10>; - hid-descr-addr = <0x0001>; -}; - - -&qca_wifi { - qcom,ath10k-calibration-variant = "GO_FENNEL"; -}; - +// 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 fennel sku6 board"; + chassis-type = "convertible"; + compatible = "google,fennel-sku6", "google,fennel", "mediatek,mt8183"; +}; + +&touchscreen { + status = "okay"; + + compatible = "hid-over-i2c"; + reg = <0x10>; + interrupts-extended = <&pio 155 IRQ_TYPE_LEVEL_LOW>; + pinctrl-names = "default"; + pinctrl-0 = <&touchscreen_pins>; + + post-power-on-delay-ms = <10>; + hid-descr-addr = <0x0001>; +}; + + +&qca_wifi { + qcom,ath10k-calibration-variant = "GO_FENNEL"; +}; + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-fennel-sku7.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-fennel-sku7.dts index 519f987a4e..6641b087e7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-fennel-sku7.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-fennel-sku7.dts @@ -1,33 +1,33 @@ -// 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 fennel sku7 board"; - chassis-type = "convertible"; - compatible = "google,fennel-sku7", "google,fennel", "mediatek,mt8183"; -}; - -&touchscreen { - status = "okay"; - - compatible = "hid-over-i2c"; - reg = <0x10>; - interrupts-extended = <&pio 155 IRQ_TYPE_LEVEL_LOW>; - pinctrl-names = "default"; - pinctrl-0 = <&touchscreen_pins>; - - post-power-on-delay-ms = <10>; - hid-descr-addr = <0x0001>; -}; - - -&qca_wifi { - qcom,ath10k-calibration-variant = "GO_FENNEL"; -}; - +// 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 fennel sku7 board"; + chassis-type = "convertible"; + compatible = "google,fennel-sku7", "google,fennel", "mediatek,mt8183"; +}; + +&touchscreen { + status = "okay"; + + compatible = "hid-over-i2c"; + reg = <0x10>; + interrupts-extended = <&pio 155 IRQ_TYPE_LEVEL_LOW>; + pinctrl-names = "default"; + pinctrl-0 = <&touchscreen_pins>; + + post-power-on-delay-ms = <10>; + hid-descr-addr = <0x0001>; +}; + + +&qca_wifi { + qcom,ath10k-calibration-variant = "GO_FENNEL"; +}; + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-pico.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-pico.dts index 2aab0386d8..8ce9568fee 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-pico.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-pico.dts @@ -1,35 +1,35 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -/* - * Copyright 2023 Google LLC - */ - -/dts-v1/; -#include "mt8183-kukui-jacuzzi.dtsi" -#include "mt8183-kukui-audio-ts3a227e-max98357a.dtsi" - -/ { - model = "Google pico board"; - chassis-type = "convertible"; - compatible = "google,pico-sku1", "google,pico", "mediatek,mt8183"; -}; - -&i2c_tunnel { - google,remote-bus = <0>; -}; - -&i2c2 { - i2c-scl-internal-delay-ns = <25000>; - - 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; - }; -}; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright 2023 Google LLC + */ + +/dts-v1/; +#include "mt8183-kukui-jacuzzi.dtsi" +#include "mt8183-kukui-audio-ts3a227e-max98357a.dtsi" + +/ { + model = "Google pico board"; + chassis-type = "convertible"; + compatible = "google,pico-sku1", "google,pico", "mediatek,mt8183"; +}; + +&i2c_tunnel { + google,remote-bus = <0>; +}; + +&i2c2 { + i2c-scl-internal-delay-ns = <25000>; + + 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; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-willow.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-willow.dtsi index fc575ad656..c942e461a1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-willow.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-willow.dtsi @@ -1,41 +1,41 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -/* - * Copyright 2021 Google LLC - */ - -/dts-v1/; -#include "mt8183-kukui-jacuzzi.dtsi" - -&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>; - }; -}; - -&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" + +&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>; + }; +}; + +&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-kakadu-sku22.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-kakadu-sku22.dts index 8a7284c17e..1ecf39458d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-kakadu-sku22.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-kakadu-sku22.dts @@ -1,38 +1,38 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -/* - * Copyright 2021 Google LLC - */ - -/dts-v1/; -#include "mt8183-kukui-kakadu.dtsi" -#include "mt8183-kukui-audio-rt1015p.dtsi" - -/ { - model = "MediaTek kakadu board sku22"; - chassis-type = "tablet"; - compatible = "google,kakadu-rev3-sku22", "google,kakadu-rev2-sku22", - "google,kakadu", "mediatek,mt8183"; -}; - -&i2c0 { - touchscreen: touchscreen@10 { - compatible = "hid-over-i2c"; - reg = <0x10>; - pinctrl-names = "default"; - pinctrl-0 = <&open_touch>; - - interrupts-extended = <&pio 155 IRQ_TYPE_EDGE_FALLING>; - - post-power-on-delay-ms = <10>; - hid-descr-addr = <0x0001>; - }; -}; - -&panel { - compatible = "boe,tv105wum-nw0"; -}; - -&sound { - compatible = "mediatek,mt8183_mt6358_ts3a227_rt1015p"; -}; - +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright 2021 Google LLC + */ + +/dts-v1/; +#include "mt8183-kukui-kakadu.dtsi" +#include "mt8183-kukui-audio-rt1015p.dtsi" + +/ { + model = "MediaTek kakadu board sku22"; + chassis-type = "tablet"; + compatible = "google,kakadu-rev3-sku22", "google,kakadu-rev2-sku22", + "google,kakadu", "mediatek,mt8183"; +}; + +&i2c0 { + touchscreen: touchscreen@10 { + compatible = "hid-over-i2c"; + reg = <0x10>; + pinctrl-names = "default"; + pinctrl-0 = <&open_touch>; + + interrupts-extended = <&pio 155 IRQ_TYPE_EDGE_FALLING>; + + post-power-on-delay-ms = <10>; + hid-descr-addr = <0x0001>; + }; +}; + +&panel { + compatible = "boe,tv105wum-nw0"; +}; + +&sound { + compatible = "mediatek,mt8183_mt6358_ts3a227_rt1015p"; +}; + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-kakadu.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-kakadu.dts index d9a4b15288..ba74109a49 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-kakadu.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-kakadu.dts @@ -1,33 +1,33 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -/* - * Copyright 2020 Google LLC - */ - -/dts-v1/; -#include "mt8183-kukui-kakadu.dtsi" -#include "mt8183-kukui-audio-da7219-rt1015p.dtsi" - -/ { - model = "MediaTek kakadu board"; - chassis-type = "tablet"; - compatible = "google,kakadu-rev3", "google,kakadu-rev2", - "google,kakadu", "mediatek,mt8183"; -}; - -&i2c0 { - touchscreen: touchscreen@10 { - compatible = "hid-over-i2c"; - reg = <0x10>; - pinctrl-names = "default"; - pinctrl-0 = <&open_touch>; - - interrupts-extended = <&pio 155 IRQ_TYPE_EDGE_FALLING>; - - post-power-on-delay-ms = <10>; - hid-descr-addr = <0x0001>; - }; -}; - -&panel { - compatible = "boe,tv105wum-nw0"; -}; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright 2020 Google LLC + */ + +/dts-v1/; +#include "mt8183-kukui-kakadu.dtsi" +#include "mt8183-kukui-audio-da7219-rt1015p.dtsi" + +/ { + model = "MediaTek kakadu board"; + chassis-type = "tablet"; + compatible = "google,kakadu-rev3", "google,kakadu-rev2", + "google,kakadu", "mediatek,mt8183"; +}; + +&i2c0 { + touchscreen: touchscreen@10 { + compatible = "hid-over-i2c"; + reg = <0x10>; + pinctrl-names = "default"; + pinctrl-0 = <&open_touch>; + + interrupts-extended = <&pio 155 IRQ_TYPE_EDGE_FALLING>; + + post-power-on-delay-ms = <10>; + hid-descr-addr = <0x0001>; + }; +}; + +&panel { + compatible = "boe,tv105wum-nw0"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-katsu-sku32.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-katsu-sku32.dts index 354822538e..05361008e8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-katsu-sku32.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-katsu-sku32.dts @@ -1,36 +1,36 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -/* - * Copyright 2023 Google LLC - */ - -/dts-v1/; -#include "mt8183-kukui-kakadu.dtsi" -#include "mt8183-kukui-audio-da7219-rt1015p.dtsi" - -/ { - model = "Google katsu board"; - chassis-type = "tablet"; - compatible = "google,katsu-sku32", "google,katsu", "mediatek,mt8183"; -}; - -&i2c0 { - touchscreen1: touchscreen@5d { - compatible = "goodix,gt7375p"; - reg = <0x5d>; - pinctrl-names = "default"; - pinctrl-0 = <&open_touch>; - - interrupts-extended = <&pio 155 IRQ_TYPE_LEVEL_LOW>; - - reset-gpios = <&pio 156 GPIO_ACTIVE_LOW>; - vdd-supply = <&lcd_pp3300>; - }; -}; - -&panel { - compatible = "starry,2081101qfh032011-53g"; -}; - -&qca_wifi { - qcom,ath10k-calibration-variant = "GO_KATSU"; -}; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright 2023 Google LLC + */ + +/dts-v1/; +#include "mt8183-kukui-kakadu.dtsi" +#include "mt8183-kukui-audio-da7219-rt1015p.dtsi" + +/ { + model = "Google katsu board"; + chassis-type = "tablet"; + compatible = "google,katsu-sku32", "google,katsu", "mediatek,mt8183"; +}; + +&i2c0 { + touchscreen1: touchscreen@5d { + compatible = "goodix,gt7375p"; + reg = <0x5d>; + pinctrl-names = "default"; + pinctrl-0 = <&open_touch>; + + interrupts-extended = <&pio 155 IRQ_TYPE_LEVEL_LOW>; + + reset-gpios = <&pio 156 GPIO_ACTIVE_LOW>; + vdd-supply = <&lcd_pp3300>; + }; +}; + +&panel { + compatible = "starry,2081101qfh032011-53g"; +}; + +&qca_wifi { + qcom,ath10k-calibration-variant = "GO_KATSU"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-katsu-sku38.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-katsu-sku38.dts index 34b8651b97..cf008ed828 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-katsu-sku38.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-katsu-sku38.dts @@ -1,40 +1,40 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -/* - * Copyright 2023 Google LLC - */ - -/dts-v1/; -#include "mt8183-kukui-kakadu.dtsi" -#include "mt8183-kukui-audio-rt1015p.dtsi" - -/ { - model = "Google katsu sku38 board"; - chassis-type = "tablet"; - compatible = "google,katsu-sku38", "google,katsu", "mediatek,mt8183"; -}; - -&i2c0 { - touchscreen1: touchscreen@5d { - compatible = "goodix,gt7375p"; - reg = <0x5d>; - pinctrl-names = "default"; - pinctrl-0 = <&open_touch>; - - interrupts-extended = <&pio 155 IRQ_TYPE_LEVEL_LOW>; - - reset-gpios = <&pio 156 GPIO_ACTIVE_LOW>; - vdd-supply = <&lcd_pp3300>; - }; -}; - -&panel { - compatible = "starry,2081101qfh032011-53g"; -}; - -&qca_wifi { - qcom,ath10k-calibration-variant = "GO_KATSU"; -}; - -&sound { - compatible = "mediatek,mt8183_mt6358_ts3a227_rt1015p"; -}; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright 2023 Google LLC + */ + +/dts-v1/; +#include "mt8183-kukui-kakadu.dtsi" +#include "mt8183-kukui-audio-rt1015p.dtsi" + +/ { + model = "Google katsu sku38 board"; + chassis-type = "tablet"; + compatible = "google,katsu-sku38", "google,katsu", "mediatek,mt8183"; +}; + +&i2c0 { + touchscreen1: touchscreen@5d { + compatible = "goodix,gt7375p"; + reg = <0x5d>; + pinctrl-names = "default"; + pinctrl-0 = <&open_touch>; + + interrupts-extended = <&pio 155 IRQ_TYPE_LEVEL_LOW>; + + reset-gpios = <&pio 156 GPIO_ACTIVE_LOW>; + vdd-supply = <&lcd_pp3300>; + }; +}; + +&panel { + compatible = "starry,2081101qfh032011-53g"; +}; + +&qca_wifi { + qcom,ath10k-calibration-variant = "GO_KATSU"; +}; + +&sound { + compatible = "mediatek,mt8183_mt6358_ts3a227_rt1015p"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8186-corsola-magneton-sku393216.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8186-corsola-magneton-sku393216.dts index 862d307b2d..c9673381ad 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8186-corsola-magneton-sku393216.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8186-corsola-magneton-sku393216.dts @@ -1,39 +1,39 @@ -// 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-sku393219", "google,steelix-sku393216", - "google,steelix", "mediatek,mt8186"; - chassis-type = "laptop"; -}; - -&gpio_keys { - status = "disabled"; -}; - -&i2c1 { - touchscreen@10 { - compatible = "hid-over-i2c"; - reg = <0x10>; - interrupts-extended = <&pio 12 IRQ_TYPE_LEVEL_LOW>; - pinctrl-names = "default"; - pinctrl-0 = <&touchscreen_pins>; - vdd-supply = <&pp3300_s3>; - post-power-on-delay-ms = <350>; - hid-descr-addr = <0x0001>; - }; -}; - -&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-sku393219", "google,steelix-sku393216", + "google,steelix", "mediatek,mt8186"; + chassis-type = "laptop"; +}; + +&gpio_keys { + status = "disabled"; +}; + +&i2c1 { + touchscreen@10 { + compatible = "hid-over-i2c"; + reg = <0x10>; + interrupts-extended = <&pio 12 IRQ_TYPE_LEVEL_LOW>; + pinctrl-names = "default"; + pinctrl-0 = <&touchscreen_pins>; + vdd-supply = <&pp3300_s3>; + post-power-on-delay-ms = <350>; + hid-descr-addr = <0x0001>; + }; +}; + +&touchscreen { + status = "disabled"; +}; + +&usb_c1 { + status = "disabled"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8186-corsola-magneton-sku393217.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8186-corsola-magneton-sku393217.dts index 0aa719188c..28e3bbe564 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8186-corsola-magneton-sku393217.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8186-corsola-magneton-sku393217.dts @@ -1,39 +1,39 @@ -// 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-sku393220", "google,steelix-sku393217", - "google,steelix", "mediatek,mt8186"; - chassis-type = "laptop"; -}; - -&gpio_keys { - status = "disabled"; -}; - -&i2c1 { - touchscreen@40 { - compatible = "hid-over-i2c"; - reg = <0x40>; - interrupts-extended = <&pio 12 IRQ_TYPE_LEVEL_LOW>; - pinctrl-names = "default"; - pinctrl-0 = <&touchscreen_pins>; - vdd-supply = <&pp3300_s3>; - post-power-on-delay-ms = <450>; - hid-descr-addr = <0x0001>; - }; -}; - -&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-sku393220", "google,steelix-sku393217", + "google,steelix", "mediatek,mt8186"; + chassis-type = "laptop"; +}; + +&gpio_keys { + status = "disabled"; +}; + +&i2c1 { + touchscreen@40 { + compatible = "hid-over-i2c"; + reg = <0x40>; + interrupts-extended = <&pio 12 IRQ_TYPE_LEVEL_LOW>; + pinctrl-names = "default"; + pinctrl-0 = <&touchscreen_pins>; + vdd-supply = <&pp3300_s3>; + post-power-on-delay-ms = <450>; + hid-descr-addr = <0x0001>; + }; +}; + +&touchscreen { + status = "disabled"; +}; + +&usb_c1 { + status = "disabled"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8186-corsola-tentacruel-sku262148.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8186-corsola-tentacruel-sku262148.dts index ac8788a7f5..447b57b12b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8186-corsola-tentacruel-sku262148.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8186-corsola-tentacruel-sku262148.dts @@ -1,26 +1,26 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -/* - * Copyright 2023 Google LLC - */ - -#include "mt8186-corsola-tentacruel-sku262144.dts" - -/ { - compatible = "google,tentacruel-sku262151", "google,tentacruel-sku262150", - "google,tentacruel-sku262149", "google,tentacruel-sku262148", - "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-tentacruel-sku262144.dts" + +/ { + compatible = "google,tentacruel-sku262151", "google,tentacruel-sku262150", + "google,tentacruel-sku262149", "google,tentacruel-sku262148", + "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/microchip/sparx5_pcb134_emmc.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/microchip/sparx5_pcb134_emmc.dts index eff93dd688..bbb9852c1f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/microchip/sparx5_pcb134_emmc.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/microchip/sparx5_pcb134_emmc.dts @@ -1,40 +1,40 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (c) 2020 Microchip Technology Inc. and its subsidiaries. - */ - -/dts-v1/; -#include "sparx5_pcb134_board.dtsi" - -/ { - model = "Sparx5 PCB134 Reference Board (eMMC enabled)"; - compatible = "microchip,sparx5-pcb134", "microchip,sparx5"; - - memory@0 { - device_type = "memory"; - reg = <0x00000000 0x00000000 0x10000000>; - }; -}; - -&gpio { - emmc_pins: emmc-pins { - /* NB: No "GPIO_35", "GPIO_36", "GPIO_37" - * (N/A: CARD_nDETECT, CARD_WP, CARD_LED) - */ - pins = "GPIO_34", "GPIO_38", "GPIO_39", - "GPIO_40", "GPIO_41", "GPIO_42", - "GPIO_43", "GPIO_44", "GPIO_45", - "GPIO_46", "GPIO_47"; - drive-strength = <3>; - function = "emmc"; - }; -}; - -&sdhci0 { - status = "okay"; - pinctrl-0 = <&emmc_pins>; - non-removable; - max-frequency = <52000000>; - bus-width = <8>; - microchip,clock-delay = <10>; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2020 Microchip Technology Inc. and its subsidiaries. + */ + +/dts-v1/; +#include "sparx5_pcb134_board.dtsi" + +/ { + model = "Sparx5 PCB134 Reference Board (eMMC enabled)"; + compatible = "microchip,sparx5-pcb134", "microchip,sparx5"; + + memory@0 { + device_type = "memory"; + reg = <0x00000000 0x00000000 0x10000000>; + }; +}; + +&gpio { + emmc_pins: emmc-pins { + /* NB: No "GPIO_35", "GPIO_36", "GPIO_37" + * (N/A: CARD_nDETECT, CARD_WP, CARD_LED) + */ + pins = "GPIO_34", "GPIO_38", "GPIO_39", + "GPIO_40", "GPIO_41", "GPIO_42", + "GPIO_43", "GPIO_44", "GPIO_45", + "GPIO_46", "GPIO_47"; + drive-strength = <3>; + function = "emmc"; + }; +}; + +&sdhci0 { + status = "okay"; + pinctrl-0 = <&emmc_pins>; + non-removable; + max-frequency = <52000000>; + bus-width = <8>; + microchip,clock-delay = <10>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/microchip/sparx5_pcb135_emmc.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/microchip/sparx5_pcb135_emmc.dts index 1cdc3cf56e..f82266fe2a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/microchip/sparx5_pcb135_emmc.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/microchip/sparx5_pcb135_emmc.dts @@ -1,40 +1,40 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (c) 2020 Microchip Technology Inc. and its subsidiaries. - */ - -/dts-v1/; -#include "sparx5_pcb135_board.dtsi" - -/ { - model = "Sparx5 PCB135 Reference Board (eMMC enabled)"; - compatible = "microchip,sparx5-pcb135", "microchip,sparx5"; - - memory@0 { - device_type = "memory"; - reg = <0x00000000 0x00000000 0x10000000>; - }; -}; - -&gpio { - emmc_pins: emmc-pins { - /* NB: No "GPIO_35", "GPIO_36", "GPIO_37" - * (N/A: CARD_nDETECT, CARD_WP, CARD_LED) - */ - pins = "GPIO_34", "GPIO_38", "GPIO_39", - "GPIO_40", "GPIO_41", "GPIO_42", - "GPIO_43", "GPIO_44", "GPIO_45", - "GPIO_46", "GPIO_47"; - drive-strength = <3>; - function = "emmc"; - }; -}; - -&sdhci0 { - status = "okay"; - pinctrl-0 = <&emmc_pins>; - non-removable; - max-frequency = <52000000>; - bus-width = <8>; - microchip,clock-delay = <10>; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2020 Microchip Technology Inc. and its subsidiaries. + */ + +/dts-v1/; +#include "sparx5_pcb135_board.dtsi" + +/ { + model = "Sparx5 PCB135 Reference Board (eMMC enabled)"; + compatible = "microchip,sparx5-pcb135", "microchip,sparx5"; + + memory@0 { + device_type = "memory"; + reg = <0x00000000 0x00000000 0x10000000>; + }; +}; + +&gpio { + emmc_pins: emmc-pins { + /* NB: No "GPIO_35", "GPIO_36", "GPIO_37" + * (N/A: CARD_nDETECT, CARD_WP, CARD_LED) + */ + pins = "GPIO_34", "GPIO_38", "GPIO_39", + "GPIO_40", "GPIO_41", "GPIO_42", + "GPIO_43", "GPIO_44", "GPIO_45", + "GPIO_46", "GPIO_47"; + drive-strength = <3>; + function = "emmc"; + }; +}; + +&sdhci0 { + status = "okay"; + pinctrl-0 = <&emmc_pins>; + non-removable; + max-frequency = <52000000>; + bus-width = <8>; + microchip,clock-delay = <10>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/nvidia/tegra194-p3668-0000.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/nvidia/tegra194-p3668-0000.dtsi index f48d0c61fd..8c2c709dd5 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/nvidia/tegra194-p3668-0000.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/nvidia/tegra194-p3668-0000.dtsi @@ -1,32 +1,32 @@ -// SPDX-License-Identifier: GPL-2.0 -#include "tegra194-p3668.dtsi" - -/ { - model = "NVIDIA Jetson Xavier NX (SD-card)"; - compatible = "nvidia,p3668-0000", "nvidia,tegra194"; - - aliases { - mmc0 = "/bus@0/mmc@3400000"; - }; - - bus@0 { - /* SDMMC1 (SD/MMC) */ - mmc@3400000 { - status = "okay"; - bus-width = <4>; - cd-gpios = <&gpio TEGRA194_MAIN_GPIO(G, 7) GPIO_ACTIVE_LOW>; - disable-wp; - vmmc-supply = <&vdd_3v3_sd>; - }; - }; - - vdd_3v3_sd: regulator-vdd-3v3-sd { - compatible = "regulator-fixed"; - regulator-name = "VDD_3V3_SD"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - gpio = <&gpio TEGRA194_MAIN_GPIO(G, 2) GPIO_ACTIVE_HIGH>; - regulator-boot-on; - enable-active-high; - }; -}; +// SPDX-License-Identifier: GPL-2.0 +#include "tegra194-p3668.dtsi" + +/ { + model = "NVIDIA Jetson Xavier NX (SD-card)"; + compatible = "nvidia,p3668-0000", "nvidia,tegra194"; + + aliases { + mmc0 = "/bus@0/mmc@3400000"; + }; + + bus@0 { + /* SDMMC1 (SD/MMC) */ + mmc@3400000 { + status = "okay"; + bus-width = <4>; + cd-gpios = <&gpio TEGRA194_MAIN_GPIO(G, 7) GPIO_ACTIVE_LOW>; + disable-wp; + vmmc-supply = <&vdd_3v3_sd>; + }; + }; + + vdd_3v3_sd: regulator-vdd-3v3-sd { + compatible = "regulator-fixed"; + regulator-name = "VDD_3V3_SD"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + gpio = <&gpio TEGRA194_MAIN_GPIO(G, 2) GPIO_ACTIVE_HIGH>; + regulator-boot-on; + enable-active-high; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8916-samsung-j3ltetw.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8916-samsung-j3ltetw.dts index d2bb1500aa..a26d2fd13c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8916-samsung-j3ltetw.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8916-samsung-j3ltetw.dts @@ -1,31 +1,31 @@ -// SPDX-License-Identifier: GPL-2.0-only - -/dts-v1/; - -#include "msm8916-samsung-j3-common.dtsi" - -/ { - model = "Samsung Galaxy J3 (2016) (SM-J320YZ)"; - compatible = "samsung,j3ltetw", "qcom,msm8916"; - chassis-type = "handset"; -}; - -&i2c_muic { - sda-gpios = <&tlmm 0 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; - scl-gpios = <&tlmm 1 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; -}; - -&i2c_sensors { - /* I2C2 */ - sda-gpios = <&tlmm 6 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; - scl-gpios = <&tlmm 7 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; -}; - -&muic_i2c_default { - pins = "gpio0", "gpio1"; -}; - -&sensors_i2c_default { - /* I2C2 */ - pins = "gpio6", "gpio7"; -}; +// SPDX-License-Identifier: GPL-2.0-only + +/dts-v1/; + +#include "msm8916-samsung-j3-common.dtsi" + +/ { + model = "Samsung Galaxy J3 (2016) (SM-J320YZ)"; + compatible = "samsung,j3ltetw", "qcom,msm8916"; + chassis-type = "handset"; +}; + +&i2c_muic { + sda-gpios = <&tlmm 0 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; + scl-gpios = <&tlmm 1 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; +}; + +&i2c_sensors { + /* I2C2 */ + sda-gpios = <&tlmm 6 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; + scl-gpios = <&tlmm 7 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; +}; + +&muic_i2c_default { + pins = "gpio0", "gpio1"; +}; + +&sensors_i2c_default { + /* I2C2 */ + pins = "gpio6", "gpio7"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8916-samsung-j5.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8916-samsung-j5.dts index 56bafcbbdd..549e7c03e1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8916-samsung-j5.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8916-samsung-j5.dts @@ -1,53 +1,53 @@ -// SPDX-License-Identifier: GPL-2.0-only - -/dts-v1/; - -#include "msm8916-samsung-j5-common.dtsi" - -/ { - model = "Samsung Galaxy J5 (2015)"; - compatible = "samsung,j5", "qcom,msm8916"; - chassis-type = "handset"; -}; - -&accelerometer { - vdd-supply = <&pm8916_l5>; - vddio-supply = <&pm8916_l5>; -}; - -&blsp_i2c5 { - status = "disabled"; -}; - -&front_flash_led { - ctrl-gpios = <&tlmm 50 GPIO_ACTIVE_HIGH>; -}; - -&panel { - vdd3-supply = <®_vdd_lcd_1p8>; - vci-supply = <&pm8916_l17>; -}; - -&pm8916_codec { - qcom,micbias1-ext-cap; -}; - -®_vdd_lcd_1p8 { - gpio = <&tlmm 16 GPIO_ACTIVE_HIGH>; -}; - -&touchscreen { - /* FIXME: Missing sm5703-mfd driver to power up vdd-supply */ -}; - -&usb_hs_phy { - qcom,init-seq = /bits/ 8 <0x1 0x19 0x2 0x0b>; -}; - -&lcd_1p8_ldo_en_default { - pins = "gpio16"; -}; - -&vtcam_flash_en_default { - pins = "gpio50"; -}; +// SPDX-License-Identifier: GPL-2.0-only + +/dts-v1/; + +#include "msm8916-samsung-j5-common.dtsi" + +/ { + model = "Samsung Galaxy J5 (2015)"; + compatible = "samsung,j5", "qcom,msm8916"; + chassis-type = "handset"; +}; + +&accelerometer { + vdd-supply = <&pm8916_l5>; + vddio-supply = <&pm8916_l5>; +}; + +&blsp_i2c5 { + status = "disabled"; +}; + +&front_flash_led { + ctrl-gpios = <&tlmm 50 GPIO_ACTIVE_HIGH>; +}; + +&panel { + vdd3-supply = <®_vdd_lcd_1p8>; + vci-supply = <&pm8916_l17>; +}; + +&pm8916_codec { + qcom,micbias1-ext-cap; +}; + +®_vdd_lcd_1p8 { + gpio = <&tlmm 16 GPIO_ACTIVE_HIGH>; +}; + +&touchscreen { + /* FIXME: Missing sm5703-mfd driver to power up vdd-supply */ +}; + +&usb_hs_phy { + qcom,init-seq = /bits/ 8 <0x1 0x19 0x2 0x0b>; +}; + +&lcd_1p8_ldo_en_default { + pins = "gpio16"; +}; + +&vtcam_flash_en_default { + pins = "gpio50"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8916-samsung-rossa-common.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8916-samsung-rossa-common.dtsi index 5da51d49a0..42afa68ef1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8916-samsung-rossa-common.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8916-samsung-rossa-common.dtsi @@ -1,50 +1,50 @@ -// SPDX-License-Identifier: GPL-2.0-only - -#include "msm8916-samsung-fortuna-common.dtsi" - -/* SM5504 MUIC instead of SM5502 */ -/delete-node/ &muic; - -/* Touchscreen varies depending on model variant */ -/delete-node/ &touchscreen; - -&blsp_i2c1 { - muic: extcon@14 { - compatible = "siliconmitus,sm5504-muic"; - reg = <0x14>; - interrupts-extended = <&tlmm 12 IRQ_TYPE_EDGE_FALLING>; - pinctrl-0 = <&muic_int_default>; - pinctrl-names = "default"; - - usb_con: connector { - compatible = "usb-b-connector"; - label = "micro-USB"; - type = "micro"; - }; - }; -}; - -/* On rossa backlight is controlled with MIPI DCS commands */ -&clk_pwm { - status = "disabled"; -}; - -&clk_pwm_backlight { - status = "disabled"; -}; - -&panel { - /delete-property/ backlight; -}; - -&s3fwrn5_nfc { - status = "okay"; -}; - -&st_accel { - compatible = "st,lis2hh12"; - mount-matrix = "1", "0", "0", - "0", "-1", "0", - "0", "0", "1"; - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0-only + +#include "msm8916-samsung-fortuna-common.dtsi" + +/* SM5504 MUIC instead of SM5502 */ +/delete-node/ &muic; + +/* Touchscreen varies depending on model variant */ +/delete-node/ &touchscreen; + +&blsp_i2c1 { + muic: extcon@14 { + compatible = "siliconmitus,sm5504-muic"; + reg = <0x14>; + interrupts-extended = <&tlmm 12 IRQ_TYPE_EDGE_FALLING>; + pinctrl-0 = <&muic_int_default>; + pinctrl-names = "default"; + + usb_con: connector { + compatible = "usb-b-connector"; + label = "micro-USB"; + type = "micro"; + }; + }; +}; + +/* On rossa backlight is controlled with MIPI DCS commands */ +&clk_pwm { + status = "disabled"; +}; + +&clk_pwm_backlight { + status = "disabled"; +}; + +&panel { + /delete-property/ backlight; +}; + +&s3fwrn5_nfc { + status = "okay"; +}; + +&st_accel { + compatible = "st,lis2hh12"; + mount-matrix = "1", "0", "0", + "0", "-1", "0", + "0", "0", "1"; + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8916-samsung-rossa.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8916-samsung-rossa.dts index c1051d1c71..6dae901368 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8916-samsung-rossa.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8916-samsung-rossa.dts @@ -1,46 +1,46 @@ -// SPDX-License-Identifier: GPL-2.0-only - -/dts-v1/; - -#include "msm8916-samsung-rossa-common.dtsi" - -/ { - model = "Samsung Galaxy Core Prime LTE"; - compatible = "samsung,rossa", "qcom,msm8916"; - chassis-type = "handset"; -}; - -&battery { - charge-term-current-microamp = <150000>; - constant-charge-current-max-microamp = <700000>; - constant-charge-voltage-max-microvolt = <4400000>; -}; - -&blsp_i2c5 { - touchscreen@50 { - compatible = "imagis,ist3038"; - reg = <0x50>; - - interrupts-extended = <&tlmm 13 IRQ_TYPE_EDGE_FALLING>; - - touchscreen-size-x = <480>; - touchscreen-size-y = <800>; - - vdd-supply = <®_vdd_tsp_a>; - vddio-supply = <&pm8916_l6>; - - pinctrl-0 = <&tsp_int_default>; - pinctrl-names = "default"; - - linux,keycodes = ; - }; -}; - -&mpss_mem { - /* Firmware for rossa needs more space */ - reg = <0x0 0x86800000 0x0 0x5800000>; -}; - -&panel { - compatible = "samsung,cprime-panel"; -}; +// SPDX-License-Identifier: GPL-2.0-only + +/dts-v1/; + +#include "msm8916-samsung-rossa-common.dtsi" + +/ { + model = "Samsung Galaxy Core Prime LTE"; + compatible = "samsung,rossa", "qcom,msm8916"; + chassis-type = "handset"; +}; + +&battery { + charge-term-current-microamp = <150000>; + constant-charge-current-max-microamp = <700000>; + constant-charge-voltage-max-microvolt = <4400000>; +}; + +&blsp_i2c5 { + touchscreen@50 { + compatible = "imagis,ist3038"; + reg = <0x50>; + + interrupts-extended = <&tlmm 13 IRQ_TYPE_EDGE_FALLING>; + + touchscreen-size-x = <480>; + touchscreen-size-y = <800>; + + vdd-supply = <®_vdd_tsp_a>; + vddio-supply = <&pm8916_l6>; + + pinctrl-0 = <&tsp_int_default>; + pinctrl-names = "default"; + + linux,keycodes = ; + }; +}; + +&mpss_mem { + /* Firmware for rossa needs more space */ + reg = <0x0 0x86800000 0x0 0x5800000>; +}; + +&panel { + compatible = "samsung,cprime-panel"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8956-sony-xperia-loire-kugo.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8956-sony-xperia-loire-kugo.dts index 49f2d72444..3fb8e23e43 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8956-sony-xperia-loire-kugo.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8956-sony-xperia-loire-kugo.dts @@ -1,35 +1,35 @@ -// 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 Compact"; - compatible = "sony,kugo-row", "qcom,msm8956"; - chassis-type = "handset"; -}; - -&blsp2_i2c2 { - status = "okay"; - - /* FUSB301 USB-C Controller */ -}; - -&blsp2_i2c4 { - status = "okay"; - - /* ST STMVL53L0 ToF @ 29 */ - /* AMS TCS349 RGBCIR @ 72 */ -}; - -&pm8950_l1 { - regulator-min-microvolt = <1100000>; - regulator-max-microvolt = <1300000>; -}; +// 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 Compact"; + compatible = "sony,kugo-row", "qcom,msm8956"; + chassis-type = "handset"; +}; + +&blsp2_i2c2 { + status = "okay"; + + /* FUSB301 USB-C Controller */ +}; + +&blsp2_i2c4 { + status = "okay"; + + /* ST STMVL53L0 ToF @ 29 */ + /* AMS TCS349 RGBCIR @ 72 */ +}; + +&pm8950_l1 { + regulator-min-microvolt = <1100000>; + regulator-max-microvolt = <1300000>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8994-sony-xperia-kitakami-karin.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8994-sony-xperia-kitakami-karin.dts index 33c45de350..71758d2cfd 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8994-sony-xperia-kitakami-karin.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8994-sony-xperia-kitakami-karin.dts @@ -1,46 +1,46 @@ -// SPDX-License-Identifier: BSD-3-Clause -/* - * Copyright (c) 2020, Konrad Dybcio - */ - -/dts-v1/; - -#include "msm8994-sony-xperia-kitakami.dtsi" - -/ { - model = "Sony Xperia Z4 Tablet (LTE)"; - compatible = "sony,karin-row", "qcom,msm8994"; - chassis-type = "tablet"; -}; - -&blsp2_i2c5 { - /* - * TI LP8557 backlight driver @ 2c - * AD AD7146 touch controller @ 2f - * sii8620 HDMI/MHL bridge @ 72 (kitakami-common) - */ -}; - -&pm8994_l3 { - regulator-min-microvolt = <1050000>; - regulator-max-microvolt = <1050000>; -}; - -&pm8994_l17 { - regulator-min-microvolt = <2700000>; - regulator-max-microvolt = <2700000>; -}; - -&pm8994_l22 { - regulator-min-microvolt = <3100000>; - regulator-max-microvolt = <3100000>; -}; - -&pm8994_l25 { - regulator-min-microvolt = <1037500>; - regulator-max-microvolt = <1037500>; -}; - -/delete-node/ &pm8994_l32; -/* Z4 tablets use a different touchscreen. */ -/delete-node/ &touchscreen; +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2020, Konrad Dybcio + */ + +/dts-v1/; + +#include "msm8994-sony-xperia-kitakami.dtsi" + +/ { + model = "Sony Xperia Z4 Tablet (LTE)"; + compatible = "sony,karin-row", "qcom,msm8994"; + chassis-type = "tablet"; +}; + +&blsp2_i2c5 { + /* + * TI LP8557 backlight driver @ 2c + * AD AD7146 touch controller @ 2f + * sii8620 HDMI/MHL bridge @ 72 (kitakami-common) + */ +}; + +&pm8994_l3 { + regulator-min-microvolt = <1050000>; + regulator-max-microvolt = <1050000>; +}; + +&pm8994_l17 { + regulator-min-microvolt = <2700000>; + regulator-max-microvolt = <2700000>; +}; + +&pm8994_l22 { + regulator-min-microvolt = <3100000>; + regulator-max-microvolt = <3100000>; +}; + +&pm8994_l25 { + regulator-min-microvolt = <1037500>; + regulator-max-microvolt = <1037500>; +}; + +/delete-node/ &pm8994_l32; +/* Z4 tablets use a different touchscreen. */ +/delete-node/ &touchscreen; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8996-oneplus3.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8996-oneplus3.dts index b0047fd480..dfe75119b8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8996-oneplus3.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8996-oneplus3.dts @@ -1,50 +1,50 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (c) 2022, Harry Austen - */ - -/dts-v1/; - -#include "msm8996-oneplus-common.dtsi" - -/ { - model = "OnePlus 3"; - compatible = "oneplus,oneplus3", "qcom,msm8996"; - chassis-type = "handset"; - qcom,board-id = <8 0 15801 15>, <8 0 15801 16>; - qcom,msm-id = <246 0x30001>; -}; - -&adsp_pil { - firmware-name = "qcom/msm8996/oneplus3/adsp.mbn"; - status = "okay"; -}; - -&battery { - charge-full-design-microamp-hours = <3000000>; - voltage-max-design-microvolt = <4350000>; -}; - -&gpu { - status = "okay"; - - zap-shader { - firmware-name = "qcom/msm8996/oneplus3/a530_zap.mbn"; - }; -}; - -&mss_pil { - firmware-name = "qcom/msm8996/oneplus3/mba.mbn", - "qcom/msm8996/oneplus3/modem.mbn"; - status = "okay"; -}; - -&slpi_pil { - firmware-name = "qcom/msm8996/oneplus3/slpi.mbn"; - status = "okay"; -}; - -&venus { - firmware-name = "qcom/msm8996/oneplus3/venus.mbn"; - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (c) 2022, Harry Austen + */ + +/dts-v1/; + +#include "msm8996-oneplus-common.dtsi" + +/ { + model = "OnePlus 3"; + compatible = "oneplus,oneplus3", "qcom,msm8996"; + chassis-type = "handset"; + qcom,board-id = <8 0 15801 15>, <8 0 15801 16>; + qcom,msm-id = <246 0x30001>; +}; + +&adsp_pil { + firmware-name = "qcom/msm8996/oneplus3/adsp.mbn"; + status = "okay"; +}; + +&battery { + charge-full-design-microamp-hours = <3000000>; + voltage-max-design-microvolt = <4350000>; +}; + +&gpu { + status = "okay"; + + zap-shader { + firmware-name = "qcom/msm8996/oneplus3/a530_zap.mbn"; + }; +}; + +&mss_pil { + firmware-name = "qcom/msm8996/oneplus3/mba.mbn", + "qcom/msm8996/oneplus3/modem.mbn"; + status = "okay"; +}; + +&slpi_pil { + firmware-name = "qcom/msm8996/oneplus3/slpi.mbn"; + status = "okay"; +}; + +&venus { + firmware-name = "qcom/msm8996/oneplus3/venus.mbn"; + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8996-oneplus3t.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8996-oneplus3t.dts index ecc62b4d2b..51fce65e89 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8996-oneplus3t.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8996-oneplus3t.dts @@ -1,51 +1,51 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (c) 2022, Harry Austen - */ - -/dts-v1/; - -#include "msm8996-oneplus-common.dtsi" - -/ { - model = "OnePlus 3T"; - compatible = "oneplus,oneplus3t", "qcom,msm8996"; - chassis-type = "handset"; - qcom,board-id = <8 0 15811 26>, - <8 0 15811 27>, - <8 0 15811 28>; -}; - -&adsp_pil { - firmware-name = "qcom/msm8996/oneplus3t/adsp.mbn"; - status = "okay"; -}; - -&battery { - charge-full-design-microamp-hours = <3400000>; - voltage-max-design-microvolt = <4400000>; -}; - -&gpu { - status = "okay"; - - zap-shader { - firmware-name = "qcom/msm8996/oneplus3t/a530_zap.mbn"; - }; -}; - -&mss_pil { - firmware-name = "qcom/msm8996/oneplus3t/mba.mbn", - "qcom/msm8996/oneplus3t/modem.mbn"; - status = "okay"; -}; - -&slpi_pil { - firmware-name = "qcom/msm8996/oneplus3t/slpi.mbn"; - status = "okay"; -}; - -&venus { - firmware-name = "qcom/msm8996/oneplus3t/venus.mbn"; - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (c) 2022, Harry Austen + */ + +/dts-v1/; + +#include "msm8996-oneplus-common.dtsi" + +/ { + model = "OnePlus 3T"; + compatible = "oneplus,oneplus3t", "qcom,msm8996"; + chassis-type = "handset"; + qcom,board-id = <8 0 15811 26>, + <8 0 15811 27>, + <8 0 15811 28>; +}; + +&adsp_pil { + firmware-name = "qcom/msm8996/oneplus3t/adsp.mbn"; + status = "okay"; +}; + +&battery { + charge-full-design-microamp-hours = <3400000>; + voltage-max-design-microvolt = <4400000>; +}; + +&gpu { + status = "okay"; + + zap-shader { + firmware-name = "qcom/msm8996/oneplus3t/a530_zap.mbn"; + }; +}; + +&mss_pil { + firmware-name = "qcom/msm8996/oneplus3t/mba.mbn", + "qcom/msm8996/oneplus3t/modem.mbn"; + status = "okay"; +}; + +&slpi_pil { + firmware-name = "qcom/msm8996/oneplus3t/slpi.mbn"; + status = "okay"; +}; + +&venus { + firmware-name = "qcom/msm8996/oneplus3t/venus.mbn"; + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8998-asus-novago-tp370ql.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8998-asus-novago-tp370ql.dts index 4f90f50a5f..102f3e9a79 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8998-asus-novago-tp370ql.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8998-asus-novago-tp370ql.dts @@ -1,41 +1,41 @@ -// SPDX-License-Identifier: GPL-2.0 -/* Copyright (c) 2019, Jeffrey Hugo. All rights reserved. */ - -/dts-v1/; - -#include "msm8998-clamshell.dtsi" - -/ { - model = "Asus NovaGo TP370QL"; - compatible = "asus,novago-tp370ql", "qcom,msm8998"; - chassis-type = "convertible"; -}; - -&blsp1_i2c6 { - status = "okay"; - - touchpad@15 { - compatible = "hid-over-i2c"; - reg = <0x15>; - pinctrl-names = "default"; - pinctrl-0 = <&touchpad>; - - interrupt-parent = <&tlmm>; - interrupts = <123 IRQ_TYPE_LEVEL_LOW>; - - hid-descr-addr = <0x0001>; - }; - - keyboard@3a { - compatible = "hid-over-i2c"; - reg = <0x3a>; - interrupt-parent = <&tlmm>; - interrupts = <37 IRQ_TYPE_LEVEL_LOW>; - - hid-descr-addr = <0x0001>; - }; -}; - -&sdhc2 { - cd-gpios = <&tlmm 95 GPIO_ACTIVE_HIGH>; -}; +// SPDX-License-Identifier: GPL-2.0 +/* Copyright (c) 2019, Jeffrey Hugo. All rights reserved. */ + +/dts-v1/; + +#include "msm8998-clamshell.dtsi" + +/ { + model = "Asus NovaGo TP370QL"; + compatible = "asus,novago-tp370ql", "qcom,msm8998"; + chassis-type = "convertible"; +}; + +&blsp1_i2c6 { + status = "okay"; + + touchpad@15 { + compatible = "hid-over-i2c"; + reg = <0x15>; + pinctrl-names = "default"; + pinctrl-0 = <&touchpad>; + + interrupt-parent = <&tlmm>; + interrupts = <123 IRQ_TYPE_LEVEL_LOW>; + + hid-descr-addr = <0x0001>; + }; + + keyboard@3a { + compatible = "hid-over-i2c"; + reg = <0x3a>; + interrupt-parent = <&tlmm>; + interrupts = <37 IRQ_TYPE_LEVEL_LOW>; + + hid-descr-addr = <0x0001>; + }; +}; + +&sdhc2 { + cd-gpios = <&tlmm 95 GPIO_ACTIVE_HIGH>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8998-lenovo-miix-630.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8998-lenovo-miix-630.dts index f4e54365f4..a105143bee 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8998-lenovo-miix-630.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8998-lenovo-miix-630.dts @@ -1,37 +1,37 @@ -// SPDX-License-Identifier: GPL-2.0 -/* Copyright (c) 2019, Jeffrey Hugo. All rights reserved. */ - -/dts-v1/; - -#include "msm8998-clamshell.dtsi" - -/ { - model = "Lenovo Miix 630"; - compatible = "lenovo,miix-630", "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>; - }; -}; - -&remoteproc_mss { - firmware-name = "qcom/msm8998/LENOVO/81F1/qcdsp1v28998.mbn", - "qcom/msm8998/LENOVO/81F1/qcdsp28998.mbn"; -}; - -&sdhc2 { - cd-gpios = <&tlmm 95 GPIO_ACTIVE_HIGH>; -}; +// SPDX-License-Identifier: GPL-2.0 +/* Copyright (c) 2019, Jeffrey Hugo. All rights reserved. */ + +/dts-v1/; + +#include "msm8998-clamshell.dtsi" + +/ { + model = "Lenovo Miix 630"; + compatible = "lenovo,miix-630", "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>; + }; +}; + +&remoteproc_mss { + firmware-name = "qcom/msm8998/LENOVO/81F1/qcdsp1v28998.mbn", + "qcom/msm8998/LENOVO/81F1/qcdsp28998.mbn"; +}; + +&sdhc2 { + cd-gpios = <&tlmm 95 GPIO_ACTIVE_HIGH>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8998-oneplus-cheeseburger.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8998-oneplus-cheeseburger.dts index 92ed508027..fac8b3510c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8998-oneplus-cheeseburger.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8998-oneplus-cheeseburger.dts @@ -1,41 +1,41 @@ -// SPDX-License-Identifier: BSD-3-Clause -/* - * OnePlus 5 (cheeseburger) device tree - * - * Copyright (c) 2021, Jami Kettunen - */ - -#include -#include "msm8998-oneplus-common.dtsi" - -/ { - model = "OnePlus 5"; - compatible = "oneplus,cheeseburger", "qcom,msm8998"; - chassis-type = "handset"; - /* Required for bootloader to select correct board */ - qcom,board-id = <8 0 16859 23>; - - /* Capacitive keypad button backlight */ - leds { - compatible = "gpio-leds"; - - pinctrl-names = "default"; - pinctrl-0 = <&button_backlight_default>; - - led-keypad-backlight { - gpios = <&pmi8998_gpios 5 GPIO_ACTIVE_HIGH>; - color = ; - function = LED_FUNCTION_KBD_BACKLIGHT; - default-state = "off"; - }; - }; -}; - -&pmi8998_gpios { - button_backlight_default: button-backlight-state { - pins = "gpio5"; - function = "normal"; - bias-pull-down; - qcom,drive-strength = ; - }; -}; +// SPDX-License-Identifier: BSD-3-Clause +/* + * OnePlus 5 (cheeseburger) device tree + * + * Copyright (c) 2021, Jami Kettunen + */ + +#include +#include "msm8998-oneplus-common.dtsi" + +/ { + model = "OnePlus 5"; + compatible = "oneplus,cheeseburger", "qcom,msm8998"; + chassis-type = "handset"; + /* Required for bootloader to select correct board */ + qcom,board-id = <8 0 16859 23>; + + /* Capacitive keypad button backlight */ + leds { + compatible = "gpio-leds"; + + pinctrl-names = "default"; + pinctrl-0 = <&button_backlight_default>; + + led-keypad-backlight { + gpios = <&pmi8998_gpios 5 GPIO_ACTIVE_HIGH>; + color = ; + function = LED_FUNCTION_KBD_BACKLIGHT; + default-state = "off"; + }; + }; +}; + +&pmi8998_gpios { + button_backlight_default: button-backlight-state { + pins = "gpio5"; + function = "normal"; + bias-pull-down; + qcom,drive-strength = ; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8998-sony-xperia-yoshino-lilac.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8998-sony-xperia-yoshino-lilac.dts index 0ac36d76a1..fcaefc1b1e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8998-sony-xperia-yoshino-lilac.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8998-sony-xperia-yoshino-lilac.dts @@ -1,35 +1,35 @@ -// SPDX-License-Identifier: BSD-3-Clause -/* - * Copyright (c) 2021, AngeloGioacchino Del Regno - * - */ - -/dts-v1/; - -#include "msm8998-sony-xperia-yoshino.dtsi" - -/ { - model = "Sony Xperia XZ1 Compact"; - compatible = "sony,xperia-lilac", "qcom,msm8998"; - chassis-type = "handset"; -}; - -&ibb { - regulator-min-microvolt = <5500000>; - regulator-max-microvolt = <5500000>; -}; - -&lab { - regulator-min-microvolt = <5500000>; - regulator-max-microvolt = <5500000>; - qcom,soft-start-us = <800>; -}; - -&vreg_l22a_2p85 { - regulator-min-microvolt = <2800000>; - regulator-max-microvolt = <2800000>; -}; - -&vreg_lvs1a_1p8 { - status = "disabled"; -}; +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2021, AngeloGioacchino Del Regno + * + */ + +/dts-v1/; + +#include "msm8998-sony-xperia-yoshino.dtsi" + +/ { + model = "Sony Xperia XZ1 Compact"; + compatible = "sony,xperia-lilac", "qcom,msm8998"; + chassis-type = "handset"; +}; + +&ibb { + regulator-min-microvolt = <5500000>; + regulator-max-microvolt = <5500000>; +}; + +&lab { + regulator-min-microvolt = <5500000>; + regulator-max-microvolt = <5500000>; + qcom,soft-start-us = <800>; +}; + +&vreg_l22a_2p85 { + regulator-min-microvolt = <2800000>; + regulator-max-microvolt = <2800000>; +}; + +&vreg_lvs1a_1p8 { + status = "disabled"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8998-sony-xperia-yoshino-poplar.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8998-sony-xperia-yoshino-poplar.dts index 476da13228..c21333aa73 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8998-sony-xperia-yoshino-poplar.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8998-sony-xperia-yoshino-poplar.dts @@ -1,38 +1,38 @@ -// SPDX-License-Identifier: BSD-3-Clause -/* - * Copyright (c) 2021, AngeloGioacchino Del Regno - * - */ - -/dts-v1/; - -#include "msm8998-sony-xperia-yoshino.dtsi" - -/ { - model = "Sony Xperia XZ1"; - compatible = "sony,xperia-poplar", "qcom,msm8998"; - chassis-type = "handset"; -}; - -&ibb { - regulator-min-microvolt = <5600000>; - regulator-max-microvolt = <5600000>; -}; - -&lab { - regulator-min-microvolt = <5600000>; - regulator-max-microvolt = <5600000>; - qcom,soft-start-us = <800>; -}; - -&vreg_l18a_2p85 { - /* Note: Round-down from 2850000 to be a multiple of PLDO step-size 8000 */ - regulator-min-microvolt = <2848000>; - regulator-max-microvolt = <2848000>; -}; - -&vreg_l22a_2p85 { - /* Note: Round-down from 2700000 to be a multiple of PLDO step-size 8000 */ - regulator-min-microvolt = <2696000>; - regulator-max-microvolt = <2696000>; -}; +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2021, AngeloGioacchino Del Regno + * + */ + +/dts-v1/; + +#include "msm8998-sony-xperia-yoshino.dtsi" + +/ { + model = "Sony Xperia XZ1"; + compatible = "sony,xperia-poplar", "qcom,msm8998"; + chassis-type = "handset"; +}; + +&ibb { + regulator-min-microvolt = <5600000>; + regulator-max-microvolt = <5600000>; +}; + +&lab { + regulator-min-microvolt = <5600000>; + regulator-max-microvolt = <5600000>; + qcom,soft-start-us = <800>; +}; + +&vreg_l18a_2p85 { + /* Note: Round-down from 2850000 to be a multiple of PLDO step-size 8000 */ + regulator-min-microvolt = <2848000>; + regulator-max-microvolt = <2848000>; +}; + +&vreg_l22a_2p85 { + /* Note: Round-down from 2700000 to be a multiple of PLDO step-size 8000 */ + regulator-min-microvolt = <2696000>; + regulator-max-microvolt = <2696000>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/pm8005.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/pm8005.dtsi index cfbe4878f3..0f0ab2da83 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/pm8005.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/pm8005.dtsi @@ -1,36 +1,36 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* Copyright 2018 Google LLC. */ - -#include -#include - -&spmi_bus { - pm8005_lsid0: pmic@4 { - compatible = "qcom,pm8005", "qcom,spmi-pmic"; - reg = <0x4 SPMI_USID>; - #address-cells = <1>; - #size-cells = <0>; - - pm8005_gpios: gpio@c000 { - compatible = "qcom,pm8005-gpio", "qcom,spmi-gpio"; - reg = <0xc000>; - gpio-controller; - gpio-ranges = <&pm8005_gpios 0 0 4>; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - }; - - pm8005_lsid1: pmic@5 { - compatible = "qcom,pm8005", "qcom,spmi-pmic"; - reg = <0x5 SPMI_USID>; - #address-cells = <1>; - #size-cells = <0>; - - pm8005_regulators: regulators { - compatible = "qcom,pm8005-regulators"; - }; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* Copyright 2018 Google LLC. */ + +#include +#include + +&spmi_bus { + pm8005_lsid0: pmic@4 { + compatible = "qcom,pm8005", "qcom,spmi-pmic"; + reg = <0x4 SPMI_USID>; + #address-cells = <1>; + #size-cells = <0>; + + pm8005_gpios: gpio@c000 { + compatible = "qcom,pm8005-gpio", "qcom,spmi-gpio"; + reg = <0xc000>; + gpio-controller; + gpio-ranges = <&pm8005_gpios 0 0 4>; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + }; + + }; + + pm8005_lsid1: pmic@5 { + compatible = "qcom,pm8005", "qcom,spmi-pmic"; + reg = <0x5 SPMI_USID>; + #address-cells = <1>; + #size-cells = <0>; + + pm8005_regulators: regulators { + compatible = "qcom,pm8005-regulators"; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/pm8009.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/pm8009.dtsi index b56a90016a..0c2c424be0 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/pm8009.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/pm8009.dtsi @@ -1,38 +1,38 @@ -// SPDX-License-Identifier: BSD-3-Clause -/* - * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved. - * Copyright (c) 2020, Linaro Limited - */ - -#include - -&spmi_bus { - pmic@a { - compatible = "qcom,pm8009", "qcom,spmi-pmic"; - reg = <0xa SPMI_USID>; - #address-cells = <1>; - #size-cells = <0>; - - pm8009_pon: pon@800 { - compatible = "qcom,pm8916-pon"; - reg = <0x0800>; - }; - - pm8009_gpios: gpio@c000 { - compatible = "qcom,pm8005-gpio", "qcom,spmi-gpio"; - reg = <0xc000>; - gpio-controller; - gpio-ranges = <&pm8009_gpios 0 0 4>; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - }; - - pmic@b { - compatible = "qcom,pm8009", "qcom,spmi-pmic"; - reg = <0xb SPMI_USID>; - #address-cells = <1>; - #size-cells = <0>; - }; -}; +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved. + * Copyright (c) 2020, Linaro Limited + */ + +#include + +&spmi_bus { + pmic@a { + compatible = "qcom,pm8009", "qcom,spmi-pmic"; + reg = <0xa SPMI_USID>; + #address-cells = <1>; + #size-cells = <0>; + + pm8009_pon: pon@800 { + compatible = "qcom,pm8916-pon"; + reg = <0x0800>; + }; + + pm8009_gpios: gpio@c000 { + compatible = "qcom,pm8005-gpio", "qcom,spmi-gpio"; + reg = <0xc000>; + gpio-controller; + gpio-ranges = <&pm8009_gpios 0 0 4>; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + }; + }; + + pmic@b { + compatible = "qcom,pm8009", "qcom,spmi-pmic"; + reg = <0xb SPMI_USID>; + #address-cells = <1>; + #size-cells = <0>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-limozeen-nots-r4.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-limozeen-nots-r4.dts index 52d364999d..70d5a7aa88 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-limozeen-nots-r4.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-limozeen-nots-r4.dts @@ -1,34 +1,34 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Google Lazor Limozeen board device tree source - * - * Copyright 2020 Google LLC. - */ - -#include "sc7180-trogdor-lazor-limozeen-nots-r5.dts" - -/ { - model = "Google Lazor Limozeen without Touchscreen (rev4)"; - compatible = "google,lazor-rev4-sku5", "qcom,sc7180"; -}; - -/* - * rev4-sku5 was built with a different trackpad. - */ -/delete-node/&trackpad; -&ap_tp_i2c { - trackpad: trackpad@2c { - compatible = "hid-over-i2c"; - reg = <0x2c>; - pinctrl-names = "default"; - pinctrl-0 = <&tp_int_odl>; - - interrupt-parent = <&tlmm>; - interrupts = <58 IRQ_TYPE_EDGE_FALLING>; - - vdd-supply = <&pp3300_fp_tp>; - hid-descr-addr = <0x20>; - - wakeup-source; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Google Lazor Limozeen board device tree source + * + * Copyright 2020 Google LLC. + */ + +#include "sc7180-trogdor-lazor-limozeen-nots-r5.dts" + +/ { + model = "Google Lazor Limozeen without Touchscreen (rev4)"; + compatible = "google,lazor-rev4-sku5", "qcom,sc7180"; +}; + +/* + * rev4-sku5 was built with a different trackpad. + */ +/delete-node/&trackpad; +&ap_tp_i2c { + trackpad: trackpad@2c { + compatible = "hid-over-i2c"; + reg = <0x2c>; + pinctrl-names = "default"; + pinctrl-0 = <&tp_int_odl>; + + interrupt-parent = <&tlmm>; + interrupts = <58 IRQ_TYPE_EDGE_FALLING>; + + vdd-supply = <&pp3300_fp_tp>; + hid-descr-addr = <0x20>; + + wakeup-source; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-limozeen-nots-r5.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-limozeen-nots-r5.dts index 3f5acfa7ca..e7da0d6e8e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-limozeen-nots-r5.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-limozeen-nots-r5.dts @@ -1,32 +1,32 @@ -// 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-ti-sn65dsi86.dtsi" -#include "sc7180-trogdor-lazor.dtsi" -#include "sc7180-trogdor-lte-sku.dtsi" -#include "sc7180-trogdor-rt5682i-sku.dtsi" - -/ { - model = "Google Lazor Limozeen without Touchscreen (rev5 - rev8)"; - /* No sku5 post-rev5 */ - compatible = "google,lazor-rev5-sku5", "google,lazor-rev5-sku6", - "google,lazor-rev6-sku6", "google,lazor-rev7-sku6", - "google,lazor-rev8-sku6", "qcom,sc7180"; -}; - -/delete-node/&ap_ts; - -&panel { - compatible = "innolux,n116bca-ea1"; -}; - -&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-ti-sn65dsi86.dtsi" +#include "sc7180-trogdor-lazor.dtsi" +#include "sc7180-trogdor-lte-sku.dtsi" +#include "sc7180-trogdor-rt5682i-sku.dtsi" + +/ { + model = "Google Lazor Limozeen without Touchscreen (rev5 - rev8)"; + /* No sku5 post-rev5 */ + compatible = "google,lazor-rev5-sku5", "google,lazor-rev5-sku6", + "google,lazor-rev6-sku6", "google,lazor-rev7-sku6", + "google,lazor-rev8-sku6", "qcom,sc7180"; +}; + +/delete-node/&ap_ts; + +&panel { + compatible = "innolux,n116bca-ea1"; +}; + +&sdhc_2 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-limozeen-r10.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-limozeen-r10.dts index c8a427acc4..5cc7c0d8e7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-limozeen-r10.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-limozeen-r10.dts @@ -1,45 +1,45 @@ -// 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 (rev10+)"; - compatible = "google,lazor-sku4", "google,lazor-sku15", "qcom,sc7180"; -}; - -/delete-node/ &ap_ts; - -&ap_ts_pen_1v8 { - ap_ts: touchscreen@10 { - compatible = "elan,ekth3500"; - reg = <0x10>; - pinctrl-0 = <&ts_int_l>, <&ts_reset_l>; - pinctrl-names = "default"; - - interrupts = <9 IRQ_TYPE_LEVEL_LOW>; - interrupt-parent = <&tlmm>; - - vcc33-supply = <&pp3300_ts>; - - reset-gpios = <&tlmm 8 GPIO_ACTIVE_LOW>; - }; -}; - -&panel { - compatible = "auo,b116xa01"; -}; - -&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 (rev10+)"; + compatible = "google,lazor-sku4", "google,lazor-sku15", "qcom,sc7180"; +}; + +/delete-node/ &ap_ts; + +&ap_ts_pen_1v8 { + ap_ts: touchscreen@10 { + compatible = "elan,ekth3500"; + reg = <0x10>; + pinctrl-0 = <&ts_int_l>, <&ts_reset_l>; + pinctrl-names = "default"; + + interrupts = <9 IRQ_TYPE_LEVEL_LOW>; + interrupt-parent = <&tlmm>; + + vcc33-supply = <&pp3300_ts>; + + reset-gpios = <&tlmm 8 GPIO_ACTIVE_LOW>; + }; +}; + +&panel { + compatible = "auo,b116xa01"; +}; + +&sdhc_2 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-limozeen-r9.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-limozeen-r9.dts index a85b6b1d2f..dd377209de 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-limozeen-r9.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-limozeen-r9.dts @@ -1,45 +1,45 @@ -// 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 (rev9)"; - compatible = "google,lazor-rev9-sku4", "google,lazor-rev9-sku15", "qcom,sc7180"; -}; - -/delete-node/ &ap_ts; - -&ap_ts_pen_1v8 { - ap_ts: touchscreen@10 { - compatible = "elan,ekth3500"; - reg = <0x10>; - pinctrl-0 = <&ts_int_l>, <&ts_reset_l>; - pinctrl-names = "default"; - - interrupts = <9 IRQ_TYPE_LEVEL_LOW>; - interrupt-parent = <&tlmm>; - - vcc33-supply = <&pp3300_ts>; - - reset-gpios = <&tlmm 8 GPIO_ACTIVE_LOW>; - }; -}; - -&panel { - compatible = "auo,b116xa01"; -}; - -&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 (rev9)"; + compatible = "google,lazor-rev9-sku4", "google,lazor-rev9-sku15", "qcom,sc7180"; +}; + +/delete-node/ &ap_ts; + +&ap_ts_pen_1v8 { + ap_ts: touchscreen@10 { + compatible = "elan,ekth3500"; + reg = <0x10>; + pinctrl-0 = <&ts_int_l>, <&ts_reset_l>; + pinctrl-names = "default"; + + interrupts = <9 IRQ_TYPE_LEVEL_LOW>; + interrupt-parent = <&tlmm>; + + vcc33-supply = <&pp3300_ts>; + + reset-gpios = <&tlmm 8 GPIO_ACTIVE_LOW>; + }; +}; + +&panel { + compatible = "auo,b116xa01"; +}; + +&sdhc_2 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r3-lte.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r3-lte.dts index aaa2f5bb48..82bd9ed7e2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r3-lte.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r3-lte.dts @@ -1,30 +1,30 @@ -// 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-lte-sku.dtsi" -#include "sc7180-trogdor-rt5682i-sku.dtsi" - -/ { - model = "Google Lazor (rev3 - 8) with LTE"; - compatible = "google,lazor-rev3-sku0", "google,lazor-rev4-sku0", - "google,lazor-rev5-sku0", "google,lazor-rev6-sku0", - "google,lazor-rev7-sku0", "google,lazor-rev8-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. + */ + +/dts-v1/; + +#include "sc7180-trogdor.dtsi" +#include "sc7180-trogdor-ti-sn65dsi86.dtsi" +#include "sc7180-trogdor-lazor.dtsi" +#include "sc7180-trogdor-lte-sku.dtsi" +#include "sc7180-trogdor-rt5682i-sku.dtsi" + +/ { + model = "Google Lazor (rev3 - 8) with LTE"; + compatible = "google,lazor-rev3-sku0", "google,lazor-rev4-sku0", + "google,lazor-rev5-sku0", "google,lazor-rev6-sku0", + "google,lazor-rev7-sku0", "google,lazor-rev8-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-pompom-r1.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-pompom-r1.dts index 21f0919f0f..ba222a60c4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-pompom-r1.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-pompom-r1.dts @@ -1,43 +1,43 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Google Pompom board device tree source - * - * Copyright 2020 Google LLC. - */ - -/dts-v1/; - -#include "sc7180-trogdor-pompom.dtsi" - -/delete-node/ &keyboard_controller; -#include - -/ { - model = "Google Pompom (rev1)"; - compatible = "google,pompom-rev1", "qcom,sc7180"; -}; - -/* - * Pompom rev1 is stuffed with a 47k NTC as charger thermistor which currently - * is not supported by the PM6150 ADC driver. Disable the charger thermal zone - * to avoid using bogus temperature values. - */ -&charger_thermal { - status = "disabled"; -}; - -&pm6150_adc { - /delete-node/ channel@4f; -}; - -&pm6150_adc_tm { - /delete-node/ charger-thermistor@0; -}; - -&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 Pompom board device tree source + * + * Copyright 2020 Google LLC. + */ + +/dts-v1/; + +#include "sc7180-trogdor-pompom.dtsi" + +/delete-node/ &keyboard_controller; +#include + +/ { + model = "Google Pompom (rev1)"; + compatible = "google,pompom-rev1", "qcom,sc7180"; +}; + +/* + * Pompom rev1 is stuffed with a 47k NTC as charger thermistor which currently + * is not supported by the PM6150 ADC driver. Disable the charger thermal zone + * to avoid using bogus temperature values. + */ +&charger_thermal { + status = "disabled"; +}; + +&pm6150_adc { + /delete-node/ channel@4f; +}; + +&pm6150_adc_tm { + /delete-node/ charger-thermistor@0; +}; + +&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-pompom-r2.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-pompom-r2.dts index 180ac9acd9..64d6172bf4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-pompom-r2.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-pompom-r2.dts @@ -1,32 +1,32 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Google Pompom board device tree source - * - * Copyright 2020 Google LLC. - */ - -/dts-v1/; - -#include "sc7180-trogdor-pompom.dtsi" - -/ { - model = "Google Pompom (rev2)"; - compatible = "google,pompom-rev2", "qcom,sc7180"; -}; - -/* - * Pompom rev2 is stuffed with a 47k NTC as charger thermistor which currently - * is not supported by the PM6150 ADC driver. Disable the charger thermal zone - * to avoid using bogus temperature values. - */ -&charger_thermal { - status = "disabled"; -}; - -&pm6150_adc { - /delete-node/ channel@4f; -}; - -&pm6150_adc_tm { - /delete-node/ charger-thermistor@0; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Google Pompom board device tree source + * + * Copyright 2020 Google LLC. + */ + +/dts-v1/; + +#include "sc7180-trogdor-pompom.dtsi" + +/ { + model = "Google Pompom (rev2)"; + compatible = "google,pompom-rev2", "qcom,sc7180"; +}; + +/* + * Pompom rev2 is stuffed with a 47k NTC as charger thermistor which currently + * is not supported by the PM6150 ADC driver. Disable the charger thermal zone + * to avoid using bogus temperature values. + */ +&charger_thermal { + status = "disabled"; +}; + +&pm6150_adc { + /delete-node/ channel@4f; +}; + +&pm6150_adc_tm { + /delete-node/ charger-thermistor@0; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-quackingstick-r0-lte.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-quackingstick-r0-lte.dts index 8ffc714549..35e8945fc5 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-quackingstick-r0-lte.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-quackingstick-r0-lte.dts @@ -1,38 +1,38 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Google Quackingstick board device tree source - * - * Copyright 2021 Google LLC. - * - * SKU: 0x600 => 1536 - * - bits 11..8: Panel ID: 0x6 (AUO) - */ - -#include "sc7180-trogdor-quackingstick-r0.dts" -#include "sc7180-trogdor-lte-sku.dtsi" - -/ { - model = "Google Quackingstick (rev0+) with LTE"; - compatible = "google,quackingstick-sku1536", "qcom,sc7180"; -}; - -&ap_sar_sensor { - compatible = "semtech,sx9324"; - semtech,ph0-pin = <3 1 3>; - semtech,ph1-pin = <2 1 2>; - semtech,ph2-pin = <3 3 1>; - semtech,ph3-pin = <1 3 3>; - semtech,ph01-resolution = <1024>; - semtech,ph23-resolution = <1024>; - semtech,startup-sensor = <1>; - semtech,ph01-proxraw-strength = <3>; - semtech,ph23-proxraw-strength = <3>; - semtech,avg-pos-strength = <256>; - - /delete-property/ svdd-supply; - vdd-supply = <&pp1800_prox>; -}; - -&ap_sar_sensor_i2c { - status = "okay"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Google Quackingstick board device tree source + * + * Copyright 2021 Google LLC. + * + * SKU: 0x600 => 1536 + * - bits 11..8: Panel ID: 0x6 (AUO) + */ + +#include "sc7180-trogdor-quackingstick-r0.dts" +#include "sc7180-trogdor-lte-sku.dtsi" + +/ { + model = "Google Quackingstick (rev0+) with LTE"; + compatible = "google,quackingstick-sku1536", "qcom,sc7180"; +}; + +&ap_sar_sensor { + compatible = "semtech,sx9324"; + semtech,ph0-pin = <3 1 3>; + semtech,ph1-pin = <2 1 2>; + semtech,ph2-pin = <3 3 1>; + semtech,ph3-pin = <1 3 3>; + semtech,ph01-resolution = <1024>; + semtech,ph23-resolution = <1024>; + semtech,startup-sensor = <1>; + semtech,ph01-proxraw-strength = <3>; + semtech,ph23-proxraw-strength = <3>; + semtech,avg-pos-strength = <256>; + + /delete-property/ svdd-supply; + vdd-supply = <&pp1800_prox>; +}; + +&ap_sar_sensor_i2c { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-rt5682i-sku.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-rt5682i-sku.dtsi index c084884b46..26f2f5de48 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-rt5682i-sku.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-rt5682i-sku.dtsi @@ -1,38 +1,38 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Google Trogdor dts fragment for SKUs with rt5682i - * - * Copyright 2023 Google LLC. - */ - -&hp_i2c { - alc5682: codec@1a { - compatible = "realtek,rt5682i"; - reg = <0x1a>; - pinctrl-names = "default"; - pinctrl-0 = <&hp_irq>; - - #sound-dai-cells = <1>; - - interrupt-parent = <&tlmm>; - /* - * This will get ignored because the interrupt type - * is set in rt5682.c. - */ - interrupts = <28 IRQ_TYPE_EDGE_BOTH>; - - AVDD-supply = <&pp1800_alc5682>; - DBVDD-supply = <&pp1800_alc5682>; - LDO1-IN-supply = <&pp1800_alc5682>; - MICVDD-supply = <&pp3300_codec>; - VBAT-supply = <&pp3300_audio>; - - realtek,dmic1-data-pin = <1>; - realtek,dmic1-clk-pin = <1>; - realtek,jd-src = <1>; - }; -}; - -&sound { - model = "sc7180-rt5682-max98357a-1mic"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Google Trogdor dts fragment for SKUs with rt5682i + * + * Copyright 2023 Google LLC. + */ + +&hp_i2c { + alc5682: codec@1a { + compatible = "realtek,rt5682i"; + reg = <0x1a>; + pinctrl-names = "default"; + pinctrl-0 = <&hp_irq>; + + #sound-dai-cells = <1>; + + interrupt-parent = <&tlmm>; + /* + * This will get ignored because the interrupt type + * is set in rt5682.c. + */ + interrupts = <28 IRQ_TYPE_EDGE_BOTH>; + + AVDD-supply = <&pp1800_alc5682>; + DBVDD-supply = <&pp1800_alc5682>; + LDO1-IN-supply = <&pp1800_alc5682>; + MICVDD-supply = <&pp3300_codec>; + VBAT-supply = <&pp3300_audio>; + + realtek,dmic1-data-pin = <1>; + realtek,dmic1-clk-pin = <1>; + realtek,jd-src = <1>; + }; +}; + +&sound { + model = "sc7180-rt5682-max98357a-1mic"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-rt5682s-sku.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-rt5682s-sku.dtsi index eae82cec97..ea036a73f8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-rt5682s-sku.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-rt5682s-sku.dtsi @@ -1,38 +1,38 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Google Trogdor dts fragment for SKUs with rt5682s - * - * Copyright 2023 Google LLC. - */ - -&hp_i2c { - alc5682: codec@1a { - compatible = "realtek,rt5682s"; - reg = <0x1a>; - pinctrl-names = "default"; - pinctrl-0 = <&hp_irq>; - - #sound-dai-cells = <1>; - - interrupt-parent = <&tlmm>; - /* - * This will get ignored because the interrupt type - * is set in rt5682.c. - */ - interrupts = <28 IRQ_TYPE_EDGE_BOTH>; - - AVDD-supply = <&pp1800_alc5682>; - DBVDD-supply = <&pp1800_alc5682>; - LDO1-IN-supply = <&pp1800_alc5682>; - MICVDD-supply = <&pp3300_codec>; - - realtek,dmic1-data-pin = <1>; - realtek,dmic1-clk-pin = <2>; - realtek,dmic-clk-rate-hz = <2048000>; - realtek,jd-src = <1>; - }; -}; - -&sound { - model = "sc7180-rt5682s-max98357a-1mic"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Google Trogdor dts fragment for SKUs with rt5682s + * + * Copyright 2023 Google LLC. + */ + +&hp_i2c { + alc5682: codec@1a { + compatible = "realtek,rt5682s"; + reg = <0x1a>; + pinctrl-names = "default"; + pinctrl-0 = <&hp_irq>; + + #sound-dai-cells = <1>; + + interrupt-parent = <&tlmm>; + /* + * This will get ignored because the interrupt type + * is set in rt5682.c. + */ + interrupts = <28 IRQ_TYPE_EDGE_BOTH>; + + AVDD-supply = <&pp1800_alc5682>; + DBVDD-supply = <&pp1800_alc5682>; + LDO1-IN-supply = <&pp1800_alc5682>; + MICVDD-supply = <&pp3300_codec>; + + realtek,dmic1-data-pin = <1>; + realtek,dmic1-clk-pin = <2>; + realtek,dmic-clk-rate-hz = <2048000>; + realtek,jd-src = <1>; + }; +}; + +&sound { + model = "sc7180-rt5682s-max98357a-1mic"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-wormdingler-rev1-boe-rt5682s.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-wormdingler-rev1-boe-rt5682s.dts index 7f1aa8b4b4..116f79c25a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-wormdingler-rev1-boe-rt5682s.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-wormdingler-rev1-boe-rt5682s.dts @@ -1,29 +1,29 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Google Wormdingler board device tree source - * - * Copyright 2021 Google LLC. - * - * SKU: 0x401 => 1025 - * - bits 11..8: Panel ID: 0x4 (BOE) - */ - -/dts-v1/; - -#include "sc7180-trogdor-wormdingler.dtsi" -#include "sc7180-trogdor-rt5682s-sku.dtsi" - -/ { - model = "Google Wormdingler rev1+ (BOE, rt5682s)"; - compatible = "google,wormdingler-sku1025", "qcom,sc7180"; -}; - -&mdss_dsi0_phy { - qcom,phy-rescode-offset-top = /bits/ 8 <31 31 31 31 (-32)>; - qcom,phy-rescode-offset-bot = /bits/ 8 <31 31 31 31 (-32)>; - qcom,phy-drive-ldo-level = <450>; -}; - -&panel { - compatible = "boe,tv110c9m-ll3"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Google Wormdingler board device tree source + * + * Copyright 2021 Google LLC. + * + * SKU: 0x401 => 1025 + * - bits 11..8: Panel ID: 0x4 (BOE) + */ + +/dts-v1/; + +#include "sc7180-trogdor-wormdingler.dtsi" +#include "sc7180-trogdor-rt5682s-sku.dtsi" + +/ { + model = "Google Wormdingler rev1+ (BOE, rt5682s)"; + compatible = "google,wormdingler-sku1025", "qcom,sc7180"; +}; + +&mdss_dsi0_phy { + qcom,phy-rescode-offset-top = /bits/ 8 <31 31 31 31 (-32)>; + qcom,phy-rescode-offset-bot = /bits/ 8 <31 31 31 31 (-32)>; + qcom,phy-drive-ldo-level = <450>; +}; + +&panel { + compatible = "boe,tv110c9m-ll3"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-wormdingler-rev1-boe.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-wormdingler-rev1-boe.dts index 1a23c3f357..72627760e2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-wormdingler-rev1-boe.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-wormdingler-rev1-boe.dts @@ -1,29 +1,29 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Google Wormdingler board device tree source - * - * Copyright 2021 Google LLC. - * - * SKU: 0x400 => 1024 - * - bits 11..8: Panel ID: 0x4 (BOE) - */ - -/dts-v1/; - -#include "sc7180-trogdor-wormdingler.dtsi" -#include "sc7180-trogdor-rt5682i-sku.dtsi" - -/ { - model = "Google Wormdingler rev1+ BOE panel board"; - compatible = "google,wormdingler-sku1024", "qcom,sc7180"; -}; - -&mdss_dsi0_phy { - qcom,phy-rescode-offset-top = /bits/ 8 <31 31 31 31 (-32)>; - qcom,phy-rescode-offset-bot = /bits/ 8 <31 31 31 31 (-32)>; - qcom,phy-drive-ldo-level = <450>; -}; - -&panel { - compatible = "boe,tv110c9m-ll3"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Google Wormdingler board device tree source + * + * Copyright 2021 Google LLC. + * + * SKU: 0x400 => 1024 + * - bits 11..8: Panel ID: 0x4 (BOE) + */ + +/dts-v1/; + +#include "sc7180-trogdor-wormdingler.dtsi" +#include "sc7180-trogdor-rt5682i-sku.dtsi" + +/ { + model = "Google Wormdingler rev1+ BOE panel board"; + compatible = "google,wormdingler-sku1024", "qcom,sc7180"; +}; + +&mdss_dsi0_phy { + qcom,phy-rescode-offset-top = /bits/ 8 <31 31 31 31 (-32)>; + qcom,phy-rescode-offset-bot = /bits/ 8 <31 31 31 31 (-32)>; + qcom,phy-drive-ldo-level = <450>; +}; + +&panel { + compatible = "boe,tv110c9m-ll3"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7280-idp2.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7280-idp2.dts index 04d2fc4e8b..d4f7cab170 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7280-idp2.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7280-idp2.dts @@ -1,40 +1,40 @@ -// SPDX-License-Identifier: BSD-3-Clause -/* - * sc7280 IDP2 board device tree source - * - * Copyright (c) 2021, The Linux Foundation. All rights reserved. - */ - -/dts-v1/; - -#include "sc7280-idp.dtsi" -#include "sc7280-idp-ec-h1.dtsi" - -/ { - model = "Qualcomm Technologies, Inc. sc7280 IDP SKU2 platform"; - compatible = "qcom,sc7280-idp2", "google,piglin", "qcom,sc7280"; - - aliases { - serial0 = &uart5; - }; - - chosen { - stdout-path = "serial0:115200n8"; - }; -}; - -&bluetooth { - vddio-supply = <&vreg_l18b_1p8>; -}; - -&nvme_pwren { - pins = "gpio51"; -}; - -&nvme_3v3_regulator { - gpio = <&tlmm 51 GPIO_ACTIVE_HIGH>; -}; - -&pm8350c_pwm { - status = "okay"; -}; +// SPDX-License-Identifier: BSD-3-Clause +/* + * sc7280 IDP2 board device tree source + * + * Copyright (c) 2021, The Linux Foundation. All rights reserved. + */ + +/dts-v1/; + +#include "sc7280-idp.dtsi" +#include "sc7280-idp-ec-h1.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. sc7280 IDP SKU2 platform"; + compatible = "qcom,sc7280-idp2", "google,piglin", "qcom,sc7280"; + + aliases { + serial0 = &uart5; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; +}; + +&bluetooth { + vddio-supply = <&vreg_l18b_1p8>; +}; + +&nvme_pwren { + pins = "gpio51"; +}; + +&nvme_3v3_regulator { + gpio = <&tlmm 51 GPIO_ACTIVE_HIGH>; +}; + +&pm8350c_pwm { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sdm630-sony-xperia-ganges-kirin.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sdm630-sony-xperia-ganges-kirin.dts index 13d77c4ae2..9425b2d953 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sdm630-sony-xperia-ganges-kirin.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sdm630-sony-xperia-ganges-kirin.dts @@ -1,31 +1,31 @@ -// SPDX-License-Identifier: BSD-3-Clause -/* - * Copyright (c) 2020, Martin Botka - */ - -/dts-v1/; - -#include "sdm630.dtsi" -#include "sdm630-sony-xperia-nile.dtsi" - -/ { - model = "Sony Xperia 10"; - compatible = "sony,kirin-row", "qcom,sdm630"; - chassis-type = "handset"; - - chosen { - framebuffer@9d400000 { - reg = <0 0x9d400000 0 (2520 * 1080 * 4)>; - height = <2520>; - }; - }; -}; - -/* Reserve a bigger chunk of RAM for the higher-res display */ -&cont_splash_mem { - reg = <0 0x9d400000 0 (2520 * 1080 * 4)>; -}; - -/* Ganges devices feature a Novatek touchscreen instead. */ -/delete-node/ &touchscreen; -/delete-node/ &vreg_l18a_1v8; +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2020, Martin Botka + */ + +/dts-v1/; + +#include "sdm630.dtsi" +#include "sdm630-sony-xperia-nile.dtsi" + +/ { + model = "Sony Xperia 10"; + compatible = "sony,kirin-row", "qcom,sdm630"; + chassis-type = "handset"; + + chosen { + framebuffer@9d400000 { + reg = <0 0x9d400000 0 (2520 * 1080 * 4)>; + height = <2520>; + }; + }; +}; + +/* Reserve a bigger chunk of RAM for the higher-res display */ +&cont_splash_mem { + reg = <0 0x9d400000 0 (2520 * 1080 * 4)>; +}; + +/* Ganges devices feature a Novatek touchscreen instead. */ +/delete-node/ &touchscreen; +/delete-node/ &vreg_l18a_1v8; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sdm636.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sdm636.dtsi index b41efc0b8a..ae15d81fa3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sdm636.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sdm636.dtsi @@ -1,23 +1,23 @@ -// SPDX-License-Identifier: BSD-3-Clause -/* - * Copyright (c) 2020, AngeloGioacchino Del Regno - * Copyright (c) 2020, Konrad Dybcio - * Copyright (c) 2020, Martin Botka - */ - -#include "sdm660.dtsi" - -/* - * According to the downstream DTS, - * 636 is basically a 660 except for - * different CPU frequencies, Adreno - * 509 instead of 512 and lack of - * turing IP. These differences will - * be addressed when the aforementioned - * peripherals will be enabled upstream. - */ - -&adreno_gpu { - compatible = "qcom,adreno-509.0", "qcom,adreno"; - /* Adreno 509 shares the frequency table with 512 */ -}; +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2020, AngeloGioacchino Del Regno + * Copyright (c) 2020, Konrad Dybcio + * Copyright (c) 2020, Martin Botka + */ + +#include "sdm660.dtsi" + +/* + * According to the downstream DTS, + * 636 is basically a 660 except for + * different CPU frequencies, Adreno + * 509 instead of 512 and lack of + * turing IP. These differences will + * be addressed when the aforementioned + * peripherals will be enabled upstream. + */ + +&adreno_gpu { + compatible = "qcom,adreno-509.0", "qcom,adreno"; + /* Adreno 509 shares the frequency table with 512 */ +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sdm845-lg-judyp.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sdm845-lg-judyp.dts index 7db1de4478..d17d4d4d56 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sdm845-lg-judyp.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sdm845-lg-judyp.dts @@ -1,44 +1,44 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * SDM845 LG V35 (judyp) device tree. - * - * Copyright (c) 2022, The Linux Foundation. All rights reserved. - */ - -/dts-v1/; - -#include "sdm845-lg-common.dtsi" - -/ { - model = "LG V35 ThinQ"; - compatible = "lg,judyp", "qcom,sdm845"; - - chosen { - framebuffer@9d400000 { - compatible = "simple-framebuffer"; - reg = <0x0 0x9d400000 0x0 (1440 * 2880 * 4)>; - width = <1440>; - height = <2880>; - stride = <(1440 * 4)>; - format = "a8r8g8b8"; - }; - }; -}; - -&adsp_pas { - firmware-name = "qcom/sdm845/judyp/adsp.mbn"; -}; - -&cdsp_pas { - firmware-name = "qcom/sdm845/judyp/cdsp.mbn"; -}; - -&gpu { - zap-shader { - firmware-name = "qcom/sdm845/judyp/a630_zap.mbn"; - }; -}; - -&mss_pil { - firmware-name = "qcom/sdm845/judyp/mba.mbn", "qcom/sdm845/judyp/modem.mbn"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * SDM845 LG V35 (judyp) device tree. + * + * Copyright (c) 2022, The Linux Foundation. All rights reserved. + */ + +/dts-v1/; + +#include "sdm845-lg-common.dtsi" + +/ { + model = "LG V35 ThinQ"; + compatible = "lg,judyp", "qcom,sdm845"; + + chosen { + framebuffer@9d400000 { + compatible = "simple-framebuffer"; + reg = <0x0 0x9d400000 0x0 (1440 * 2880 * 4)>; + width = <1440>; + height = <2880>; + stride = <(1440 * 4)>; + format = "a8r8g8b8"; + }; + }; +}; + +&adsp_pas { + firmware-name = "qcom/sdm845/judyp/adsp.mbn"; +}; + +&cdsp_pas { + firmware-name = "qcom/sdm845/judyp/cdsp.mbn"; +}; + +&gpu { + zap-shader { + firmware-name = "qcom/sdm845/judyp/a630_zap.mbn"; + }; +}; + +&mss_pil { + firmware-name = "qcom/sdm845/judyp/mba.mbn", "qcom/sdm845/judyp/modem.mbn"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sm7225.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sm7225.dtsi index 035f72c0ff..b7b4044e9b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sm7225.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sm7225.dtsi @@ -1,35 +1,35 @@ -// SPDX-License-Identifier: BSD-3-Clause -/* - * Copyright (c) 2021, Luca Weiss - */ - -#include "sm6350.dtsi" - -/* SM7225 uses Kryo 570 instead of Kryo 560 */ -&CPU0 { compatible = "qcom,kryo570"; }; -&CPU1 { compatible = "qcom,kryo570"; }; -&CPU2 { compatible = "qcom,kryo570"; }; -&CPU3 { compatible = "qcom,kryo570"; }; -&CPU4 { compatible = "qcom,kryo570"; }; -&CPU5 { compatible = "qcom,kryo570"; }; -&CPU6 { compatible = "qcom,kryo570"; }; -&CPU7 { compatible = "qcom,kryo570"; }; - -&cpu0_opp_table { - opp-1804800000 { - opp-hz = /bits/ 64 <1804800000>; - opp-peak-kBps = <(1804000 * 4 * 2 * 2) (1459200 * 16 * 2)>; - }; -}; - -&cpu6_opp_table { - opp-2131200000 { - opp-hz = /bits/ 64 <2131200000>; - opp-peak-kBps = <(2092000 * 4 * 2 * 2) (1459200 * 16 * 2)>; - }; - - opp-2208000000 { - opp-hz = /bits/ 64 <2208000000>; - opp-peak-kBps = <(2092000 * 4 * 2 * 2) (1459200 * 16 * 2)>; - }; -}; +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2021, Luca Weiss + */ + +#include "sm6350.dtsi" + +/* SM7225 uses Kryo 570 instead of Kryo 560 */ +&CPU0 { compatible = "qcom,kryo570"; }; +&CPU1 { compatible = "qcom,kryo570"; }; +&CPU2 { compatible = "qcom,kryo570"; }; +&CPU3 { compatible = "qcom,kryo570"; }; +&CPU4 { compatible = "qcom,kryo570"; }; +&CPU5 { compatible = "qcom,kryo570"; }; +&CPU6 { compatible = "qcom,kryo570"; }; +&CPU7 { compatible = "qcom,kryo570"; }; + +&cpu0_opp_table { + opp-1804800000 { + opp-hz = /bits/ 64 <1804800000>; + opp-peak-kBps = <(1804000 * 4 * 2 * 2) (1459200 * 16 * 2)>; + }; +}; + +&cpu6_opp_table { + opp-2131200000 { + opp-hz = /bits/ 64 <2131200000>; + opp-peak-kBps = <(2092000 * 4 * 2 * 2) (1459200 * 16 * 2)>; + }; + + opp-2208000000 { + opp-hz = /bits/ 64 <2208000000>; + opp-peak-kBps = <(2092000 * 4 * 2 * 2) (1459200 * 16 * 2)>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sm8350-sony-xperia-sagami-pdx214.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sm8350-sony-xperia-sagami-pdx214.dts index 055b608b37..e6824c8c27 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sm8350-sony-xperia-sagami-pdx214.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sm8350-sony-xperia-sagami-pdx214.dts @@ -1,42 +1,42 @@ -// SPDX-License-Identifier: BSD-3-Clause -/* - * Copyright (c) 2021, Konrad Dybcio - */ - -/dts-v1/; - -#include "sm8350-sony-xperia-sagami.dtsi" - -/ { - model = "Sony Xperia 5 III"; - compatible = "sony,pdx214-generic", "qcom,sm8350"; -}; - -&framebuffer { - width = <1080>; - height = <2520>; - stride = <(1080 * 4)>; -}; - -&pm8350b_gpios { - gpio-line-names = "NC", /* GPIO_1 */ - "NC", - "NC", - "NC", - "SNAPSHOT_N", - "NC", - "NC", - "FOCUS_N"; -}; - -&pm8350c_gpios { - gpio-line-names = "FL_STROBE_TRIG_WIDE", /* GPIO_1 */ - "FL_STROBE_TRIG_TELE", - "NC", - "NC", - "NC", - "RGBC_IR_PWR_EN", - "NC", - "NC", - "WIDEC_PWR_EN"; -}; +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2021, Konrad Dybcio + */ + +/dts-v1/; + +#include "sm8350-sony-xperia-sagami.dtsi" + +/ { + model = "Sony Xperia 5 III"; + compatible = "sony,pdx214-generic", "qcom,sm8350"; +}; + +&framebuffer { + width = <1080>; + height = <2520>; + stride = <(1080 * 4)>; +}; + +&pm8350b_gpios { + gpio-line-names = "NC", /* GPIO_1 */ + "NC", + "NC", + "NC", + "SNAPSHOT_N", + "NC", + "NC", + "FOCUS_N"; +}; + +&pm8350c_gpios { + gpio-line-names = "FL_STROBE_TRIG_WIDE", /* GPIO_1 */ + "FL_STROBE_TRIG_TELE", + "NC", + "NC", + "NC", + "RGBC_IR_PWR_EN", + "NC", + "NC", + "WIDEC_PWR_EN"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/realtek/rtd1619-mjolnir.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/realtek/rtd1619-mjolnir.dts index ed0bee6097..90ed668146 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/realtek/rtd1619-mjolnir.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/realtek/rtd1619-mjolnir.dts @@ -1,44 +1,44 @@ -// SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) -/* - * Copyright (c) 2019 Realtek Semiconductor Corp. - * Copyright (c) 2019 Andreas Färber - */ - -/dts-v1/; - -#include "rtd1619.dtsi" - -/ { - compatible = "realtek,mjolnir", "realtek,rtd1619"; - model = "Realtek Mjolnir EVB"; - - memory@2e000 { - device_type = "memory"; - reg = <0x2e000 0x7ffd2000>; /* boot ROM to 2 GiB */ - }; - - chosen { - stdout-path = "serial0:115200n8"; - }; - - aliases { - serial0 = &uart0; - serial1 = &uart1; - serial2 = &uart2; - }; -}; - -/* debug console (J1) */ -&uart0 { - status = "okay"; -}; - -/* M.2 slot (CON4) */ -&uart1 { - status = "disabled"; -}; - -/* GPIO connector (T1) */ -&uart2 { - status = "disabled"; -}; +// SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) +/* + * Copyright (c) 2019 Realtek Semiconductor Corp. + * Copyright (c) 2019 Andreas Färber + */ + +/dts-v1/; + +#include "rtd1619.dtsi" + +/ { + compatible = "realtek,mjolnir", "realtek,rtd1619"; + model = "Realtek Mjolnir EVB"; + + memory@2e000 { + device_type = "memory"; + reg = <0x2e000 0x7ffd2000>; /* boot ROM to 2 GiB */ + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + aliases { + serial0 = &uart0; + serial1 = &uart1; + serial2 = &uart2; + }; +}; + +/* debug console (J1) */ +&uart0 { + status = "okay"; +}; + +/* M.2 slot (CON4) */ +&uart1 { + status = "disabled"; +}; + +/* GPIO connector (T1) */ +&uart2 { + status = "disabled"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/hihope-rzg2-ex-lvds.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/hihope-rzg2-ex-lvds.dtsi index 48fdb9404d..d66d17e346 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/hihope-rzg2-ex-lvds.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/hihope-rzg2-ex-lvds.dtsi @@ -1,52 +1,52 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Device Tree Source for the RZ/G2[MN] HiHope sub board LVDS common parts - * - * Copyright (C) 2020 Renesas Electronics Corp. - */ - -/ { - backlight { - compatible = "pwm-backlight"; - pwms = <&pwm0 0 50000>; - - brightness-levels = <0 2 8 16 32 64 128 255>; - default-brightness-level = <6>; - }; -}; - -&gpio1 { - /* - * When GP1_20 is LOW LVDS0 is connected to the LVDS connector - * When GP1_20 is HIGH LVDS0 is connected to the LT8918L - */ - lvds-connector-en-hog { - gpio-hog; - gpios = <20 GPIO_ACTIVE_HIGH>; - output-low; - line-name = "lvds-connector-en-gpio"; - }; -}; - -&lvds0 { - ports { - port@1 { - lvds_connector: endpoint { - }; - }; - }; -}; - -&pfc { - pwm0_pins: pwm0 { - groups = "pwm0"; - function = "pwm0"; - }; -}; - -&pwm0 { - pinctrl-0 = <&pwm0_pins>; - pinctrl-names = "default"; - - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Device Tree Source for the RZ/G2[MN] HiHope sub board LVDS common parts + * + * Copyright (C) 2020 Renesas Electronics Corp. + */ + +/ { + backlight { + compatible = "pwm-backlight"; + pwms = <&pwm0 0 50000>; + + brightness-levels = <0 2 8 16 32 64 128 255>; + default-brightness-level = <6>; + }; +}; + +&gpio1 { + /* + * When GP1_20 is LOW LVDS0 is connected to the LVDS connector + * When GP1_20 is HIGH LVDS0 is connected to the LT8918L + */ + lvds-connector-en-hog { + gpio-hog; + gpios = <20 GPIO_ACTIVE_HIGH>; + output-low; + line-name = "lvds-connector-en-gpio"; + }; +}; + +&lvds0 { + ports { + port@1 { + lvds_connector: endpoint { + }; + }; + }; +}; + +&pfc { + pwm0_pins: pwm0 { + groups = "pwm0"; + function = "pwm0"; + }; +}; + +&pwm0 { + pinctrl-0 = <&pwm0_pins>; + pinctrl-names = "default"; + + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a774a1-hihope-rzg2m-ex-mipi-2.1.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a774a1-hihope-rzg2m-ex-mipi-2.1.dts index c3c167f5bd..5c91e0d7e6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a774a1-hihope-rzg2m-ex-mipi-2.1.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a774a1-hihope-rzg2m-ex-mipi-2.1.dts @@ -1,29 +1,29 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Device Tree Source for the HiHope RZ/G2M board - * connected with aistarvision-mipi-v2-adapter board - * - * Copyright (C) 2020 Renesas Electronics Corp. - */ - -/dts-v1/; -#include "r8a774a1-hihope-rzg2m-ex.dts" -#include "hihope-rzg2-ex-aistarvision-mipi-adapter-2.1.dtsi" - -/ { - model = "HopeRun HiHope RZ/G2M with sub board connected with aistarvision-mipi-v2-adapter board"; - compatible = "hoperun,hihope-rzg2m", "renesas,r8a774a1"; -}; - -/* - * On RZ/G2M SoC LSI V1.3 CSI40 supports only 4 lane mode. - * HiHope RZ/G2M Rev.4.0 board is based on LSI V1.3 so disable csi40 and - * imx219 as the imx219 endpoint driver supports only 2 lane mode. - */ -&csi40 { - status = "disabled"; -}; - -&imx219 { - status = "disabled"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Device Tree Source for the HiHope RZ/G2M board + * connected with aistarvision-mipi-v2-adapter board + * + * Copyright (C) 2020 Renesas Electronics Corp. + */ + +/dts-v1/; +#include "r8a774a1-hihope-rzg2m-ex.dts" +#include "hihope-rzg2-ex-aistarvision-mipi-adapter-2.1.dtsi" + +/ { + model = "HopeRun HiHope RZ/G2M with sub board connected with aistarvision-mipi-v2-adapter board"; + compatible = "hoperun,hihope-rzg2m", "renesas,r8a774a1"; +}; + +/* + * On RZ/G2M SoC LSI V1.3 CSI40 supports only 4 lane mode. + * HiHope RZ/G2M Rev.4.0 board is based on LSI V1.3 so disable csi40 and + * imx219 as the imx219 endpoint driver supports only 2 lane mode. + */ +&csi40 { + status = "disabled"; +}; + +&imx219 { + status = "disabled"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a774a1-hihope-rzg2m-rev2.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a774a1-hihope-rzg2m-rev2.dts index a40b39de89..bb18f6ee20 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a774a1-hihope-rzg2m-rev2.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a774a1-hihope-rzg2m-rev2.dts @@ -1,37 +1,37 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Device Tree Source for the HiHope RZ/G2M Rev.2.0 main board - * - * Copyright (C) 2019 Renesas Electronics Corp. - */ - -/dts-v1/; -#include "r8a774a1.dtsi" -#include "hihope-rev2.dtsi" - -/ { - model = "HopeRun HiHope RZ/G2M main board (Rev.2.0) based on r8a774a1"; - compatible = "hoperun,hihope-rzg2m", "renesas,r8a774a1"; - - memory@48000000 { - device_type = "memory"; - /* first 128MB is reserved for secure area. */ - reg = <0x0 0x48000000 0x0 0x78000000>; - }; - - memory@600000000 { - device_type = "memory"; - reg = <0x6 0x00000000 0x0 0x80000000>; - }; -}; - -&du { - clocks = <&cpg CPG_MOD 724>, - <&cpg CPG_MOD 723>, - <&cpg CPG_MOD 722>, - <&versaclock5 1>, - <&x302_clk>, - <&versaclock5 2>; - clock-names = "du.0", "du.1", "du.2", - "dclkin.0", "dclkin.1", "dclkin.2"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Device Tree Source for the HiHope RZ/G2M Rev.2.0 main board + * + * Copyright (C) 2019 Renesas Electronics Corp. + */ + +/dts-v1/; +#include "r8a774a1.dtsi" +#include "hihope-rev2.dtsi" + +/ { + model = "HopeRun HiHope RZ/G2M main board (Rev.2.0) based on r8a774a1"; + compatible = "hoperun,hihope-rzg2m", "renesas,r8a774a1"; + + memory@48000000 { + device_type = "memory"; + /* first 128MB is reserved for secure area. */ + reg = <0x0 0x48000000 0x0 0x78000000>; + }; + + memory@600000000 { + device_type = "memory"; + reg = <0x6 0x00000000 0x0 0x80000000>; + }; +}; + +&du { + clocks = <&cpg CPG_MOD 724>, + <&cpg CPG_MOD 723>, + <&cpg CPG_MOD 722>, + <&versaclock5 1>, + <&x302_clk>, + <&versaclock5 2>; + clock-names = "du.0", "du.1", "du.2", + "dclkin.0", "dclkin.1", "dclkin.2"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a774a1-hihope-rzg2m.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a774a1-hihope-rzg2m.dts index 1035d3b338..25ae255de0 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a774a1-hihope-rzg2m.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a774a1-hihope-rzg2m.dts @@ -1,37 +1,37 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Device Tree Source for the HiHope RZ/G2M Rev.3.0/4.0 main board - * - * Copyright (C) 2020 Renesas Electronics Corp. - */ - -/dts-v1/; -#include "r8a774a1.dtsi" -#include "hihope-rev4.dtsi" - -/ { - model = "HopeRun HiHope RZ/G2M main board based on r8a774a1"; - compatible = "hoperun,hihope-rzg2m", "renesas,r8a774a1"; - - memory@48000000 { - device_type = "memory"; - /* first 128MB is reserved for secure area. */ - reg = <0x0 0x48000000 0x0 0x78000000>; - }; - - memory@600000000 { - device_type = "memory"; - reg = <0x6 0x00000000 0x0 0x80000000>; - }; -}; - -&du { - clocks = <&cpg CPG_MOD 724>, - <&cpg CPG_MOD 723>, - <&cpg CPG_MOD 722>, - <&versaclock5 1>, - <&x302_clk>, - <&versaclock5 2>; - clock-names = "du.0", "du.1", "du.2", - "dclkin.0", "dclkin.1", "dclkin.2"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Device Tree Source for the HiHope RZ/G2M Rev.3.0/4.0 main board + * + * Copyright (C) 2020 Renesas Electronics Corp. + */ + +/dts-v1/; +#include "r8a774a1.dtsi" +#include "hihope-rev4.dtsi" + +/ { + model = "HopeRun HiHope RZ/G2M main board based on r8a774a1"; + compatible = "hoperun,hihope-rzg2m", "renesas,r8a774a1"; + + memory@48000000 { + device_type = "memory"; + /* first 128MB is reserved for secure area. */ + reg = <0x0 0x48000000 0x0 0x78000000>; + }; + + memory@600000000 { + device_type = "memory"; + reg = <0x6 0x00000000 0x0 0x80000000>; + }; +}; + +&du { + clocks = <&cpg CPG_MOD 724>, + <&cpg CPG_MOD 723>, + <&cpg CPG_MOD 722>, + <&versaclock5 1>, + <&x302_clk>, + <&versaclock5 2>; + clock-names = "du.0", "du.1", "du.2", + "dclkin.0", "dclkin.1", "dclkin.2"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a774b1-hihope-rzg2n-rev2.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a774b1-hihope-rzg2n-rev2.dts index 4b4bec51f9..c69ca5cf6f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a774b1-hihope-rzg2n-rev2.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a774b1-hihope-rzg2n-rev2.dts @@ -1,41 +1,41 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Device Tree Source for the HiHope RZ/G2N Rev.2.0 main board - * - * Copyright (C) 2019 Renesas Electronics Corp. - */ - -/dts-v1/; -#include "r8a774b1.dtsi" -#include "hihope-rev2.dtsi" - -/ { - model = "HopeRun HiHope RZ/G2N main board (Rev.2.0) based on r8a774b1"; - compatible = "hoperun,hihope-rzg2n", "renesas,r8a774b1"; - - memory@48000000 { - device_type = "memory"; - /* first 128MB is reserved for secure area. */ - reg = <0x0 0x48000000 0x0 0x78000000>; - }; - - memory@480000000 { - device_type = "memory"; - reg = <0x4 0x80000000 0x0 0x80000000>; - }; -}; - -&du { - clocks = <&cpg CPG_MOD 724>, - <&cpg CPG_MOD 723>, - <&cpg CPG_MOD 721>, - <&versaclock5 1>, - <&x302_clk>, - <&versaclock5 2>; - clock-names = "du.0", "du.1", "du.3", - "dclkin.0", "dclkin.1", "dclkin.3"; -}; - -&sdhi3 { - mmc-hs400-1_8v; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Device Tree Source for the HiHope RZ/G2N Rev.2.0 main board + * + * Copyright (C) 2019 Renesas Electronics Corp. + */ + +/dts-v1/; +#include "r8a774b1.dtsi" +#include "hihope-rev2.dtsi" + +/ { + model = "HopeRun HiHope RZ/G2N main board (Rev.2.0) based on r8a774b1"; + compatible = "hoperun,hihope-rzg2n", "renesas,r8a774b1"; + + memory@48000000 { + device_type = "memory"; + /* first 128MB is reserved for secure area. */ + reg = <0x0 0x48000000 0x0 0x78000000>; + }; + + memory@480000000 { + device_type = "memory"; + reg = <0x4 0x80000000 0x0 0x80000000>; + }; +}; + +&du { + clocks = <&cpg CPG_MOD 724>, + <&cpg CPG_MOD 723>, + <&cpg CPG_MOD 721>, + <&versaclock5 1>, + <&x302_clk>, + <&versaclock5 2>; + clock-names = "du.0", "du.1", "du.3", + "dclkin.0", "dclkin.1", "dclkin.3"; +}; + +&sdhi3 { + mmc-hs400-1_8v; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a774b1-hihope-rzg2n.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a774b1-hihope-rzg2n.dts index eb6e7191db..f1883cbd1a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a774b1-hihope-rzg2n.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a774b1-hihope-rzg2n.dts @@ -1,41 +1,41 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Device Tree Source for the HiHope RZ/G2N main board Rev.3.0/4.0 - * - * Copyright (C) 2020 Renesas Electronics Corp. - */ - -/dts-v1/; -#include "r8a774b1.dtsi" -#include "hihope-rev4.dtsi" - -/ { - model = "HopeRun HiHope RZ/G2N main board based on r8a774b1"; - compatible = "hoperun,hihope-rzg2n", "renesas,r8a774b1"; - - memory@48000000 { - device_type = "memory"; - /* first 128MB is reserved for secure area. */ - reg = <0x0 0x48000000 0x0 0x78000000>; - }; - - memory@480000000 { - device_type = "memory"; - reg = <0x4 0x80000000 0x0 0x80000000>; - }; -}; - -&du { - clocks = <&cpg CPG_MOD 724>, - <&cpg CPG_MOD 723>, - <&cpg CPG_MOD 721>, - <&versaclock5 1>, - <&x302_clk>, - <&versaclock5 2>; - clock-names = "du.0", "du.1", "du.3", - "dclkin.0", "dclkin.1", "dclkin.3"; -}; - -&sdhi3 { - mmc-hs400-1_8v; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Device Tree Source for the HiHope RZ/G2N main board Rev.3.0/4.0 + * + * Copyright (C) 2020 Renesas Electronics Corp. + */ + +/dts-v1/; +#include "r8a774b1.dtsi" +#include "hihope-rev4.dtsi" + +/ { + model = "HopeRun HiHope RZ/G2N main board based on r8a774b1"; + compatible = "hoperun,hihope-rzg2n", "renesas,r8a774b1"; + + memory@48000000 { + device_type = "memory"; + /* first 128MB is reserved for secure area. */ + reg = <0x0 0x48000000 0x0 0x78000000>; + }; + + memory@480000000 { + device_type = "memory"; + reg = <0x4 0x80000000 0x0 0x80000000>; + }; +}; + +&du { + clocks = <&cpg CPG_MOD 724>, + <&cpg CPG_MOD 723>, + <&cpg CPG_MOD 721>, + <&versaclock5 1>, + <&x302_clk>, + <&versaclock5 2>; + clock-names = "du.0", "du.1", "du.3", + "dclkin.0", "dclkin.1", "dclkin.3"; +}; + +&sdhi3 { + mmc-hs400-1_8v; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a774e1-hihope-rzg2h.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a774e1-hihope-rzg2h.dts index 6c0b1ec0eb..9525d5ed6f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a774e1-hihope-rzg2h.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a774e1-hihope-rzg2h.dts @@ -1,41 +1,41 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Device Tree Source for the HiHope RZ/G2H main board - * - * Copyright (C) 2020 Renesas Electronics Corp. - */ - -/dts-v1/; -#include "r8a774e1.dtsi" -#include "hihope-rev4.dtsi" - -/ { - model = "HopeRun HiHope RZ/G2H main board based on r8a774e1"; - compatible = "hoperun,hihope-rzg2h", "renesas,r8a774e1"; - - memory@48000000 { - device_type = "memory"; - /* first 128MB is reserved for secure area. */ - reg = <0x0 0x48000000 0x0 0x78000000>; - }; - - memory@500000000 { - device_type = "memory"; - reg = <0x5 0x00000000 0x0 0x80000000>; - }; -}; - -&du { - clocks = <&cpg CPG_MOD 724>, - <&cpg CPG_MOD 723>, - <&cpg CPG_MOD 721>, - <&versaclock5 1>, - <&x302_clk>, - <&versaclock5 2>; - clock-names = "du.0", "du.1", "du.3", - "dclkin.0", "dclkin.1", "dclkin.3"; -}; - -&sdhi3 { - mmc-hs400-1_8v; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Device Tree Source for the HiHope RZ/G2H main board + * + * Copyright (C) 2020 Renesas Electronics Corp. + */ + +/dts-v1/; +#include "r8a774e1.dtsi" +#include "hihope-rev4.dtsi" + +/ { + model = "HopeRun HiHope RZ/G2H main board based on r8a774e1"; + compatible = "hoperun,hihope-rzg2h", "renesas,r8a774e1"; + + memory@48000000 { + device_type = "memory"; + /* first 128MB is reserved for secure area. */ + reg = <0x0 0x48000000 0x0 0x78000000>; + }; + + memory@500000000 { + device_type = "memory"; + reg = <0x5 0x00000000 0x0 0x80000000>; + }; +}; + +&du { + clocks = <&cpg CPG_MOD 724>, + <&cpg CPG_MOD 723>, + <&cpg CPG_MOD 721>, + <&versaclock5 1>, + <&x302_clk>, + <&versaclock5 2>; + clock-names = "du.0", "du.1", "du.3", + "dclkin.0", "dclkin.1", "dclkin.3"; +}; + +&sdhi3 { + mmc-hs400-1_8v; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a77960-salvator-x.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a77960-salvator-x.dts index ff1ac00e20..d5543f26c4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a77960-salvator-x.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a77960-salvator-x.dts @@ -1,37 +1,37 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Device Tree Source for the Salvator-X board with R-Car M3-W - * - * Copyright (C) 2016 Renesas Electronics Corp. - */ - -/dts-v1/; -#include "r8a77960.dtsi" -#include "salvator-x.dtsi" - -/ { - model = "Renesas Salvator-X board based on r8a77960"; - compatible = "renesas,salvator-x", "renesas,r8a7796"; - - memory@48000000 { - device_type = "memory"; - /* first 128MB is reserved for secure area. */ - reg = <0x0 0x48000000 0x0 0x78000000>; - }; - - memory@600000000 { - device_type = "memory"; - reg = <0x6 0x00000000 0x0 0x80000000>; - }; -}; - -&du { - clocks = <&cpg CPG_MOD 724>, - <&cpg CPG_MOD 723>, - <&cpg CPG_MOD 722>, - <&versaclock5 1>, - <&x21_clk>, - <&versaclock5 2>; - clock-names = "du.0", "du.1", "du.2", - "dclkin.0", "dclkin.1", "dclkin.2"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Device Tree Source for the Salvator-X board with R-Car M3-W + * + * Copyright (C) 2016 Renesas Electronics Corp. + */ + +/dts-v1/; +#include "r8a77960.dtsi" +#include "salvator-x.dtsi" + +/ { + model = "Renesas Salvator-X board based on r8a77960"; + compatible = "renesas,salvator-x", "renesas,r8a7796"; + + memory@48000000 { + device_type = "memory"; + /* first 128MB is reserved for secure area. */ + reg = <0x0 0x48000000 0x0 0x78000000>; + }; + + memory@600000000 { + device_type = "memory"; + reg = <0x6 0x00000000 0x0 0x80000000>; + }; +}; + +&du { + clocks = <&cpg CPG_MOD 724>, + <&cpg CPG_MOD 723>, + <&cpg CPG_MOD 722>, + <&versaclock5 1>, + <&x21_clk>, + <&versaclock5 2>; + clock-names = "du.0", "du.1", "du.2", + "dclkin.0", "dclkin.1", "dclkin.2"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a77960-salvator-xs.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a77960-salvator-xs.dts index ca744c29a5..9ebb47b6bf 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a77960-salvator-xs.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a77960-salvator-xs.dts @@ -1,37 +1,37 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Device Tree Source for the Salvator-X 2nd version board with R-Car M3-W - * - * Copyright (C) 2015-2017 Renesas Electronics Corp. - */ - -/dts-v1/; -#include "r8a77960.dtsi" -#include "salvator-xs.dtsi" - -/ { - model = "Renesas Salvator-X 2nd version board based on r8a77960"; - compatible = "renesas,salvator-xs", "renesas,r8a7796"; - - memory@48000000 { - device_type = "memory"; - /* first 128MB is reserved for secure area. */ - reg = <0x0 0x48000000 0x0 0x78000000>; - }; - - memory@600000000 { - device_type = "memory"; - reg = <0x6 0x00000000 0x0 0x80000000>; - }; -}; - -&du { - clocks = <&cpg CPG_MOD 724>, - <&cpg CPG_MOD 723>, - <&cpg CPG_MOD 722>, - <&versaclock6 1>, - <&x21_clk>, - <&versaclock6 2>; - clock-names = "du.0", "du.1", "du.2", - "dclkin.0", "dclkin.1", "dclkin.2"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Device Tree Source for the Salvator-X 2nd version board with R-Car M3-W + * + * Copyright (C) 2015-2017 Renesas Electronics Corp. + */ + +/dts-v1/; +#include "r8a77960.dtsi" +#include "salvator-xs.dtsi" + +/ { + model = "Renesas Salvator-X 2nd version board based on r8a77960"; + compatible = "renesas,salvator-xs", "renesas,r8a7796"; + + memory@48000000 { + device_type = "memory"; + /* first 128MB is reserved for secure area. */ + reg = <0x0 0x48000000 0x0 0x78000000>; + }; + + memory@600000000 { + device_type = "memory"; + reg = <0x6 0x00000000 0x0 0x80000000>; + }; +}; + +&du { + clocks = <&cpg CPG_MOD 724>, + <&cpg CPG_MOD 723>, + <&cpg CPG_MOD 722>, + <&versaclock6 1>, + <&x21_clk>, + <&versaclock6 2>; + clock-names = "du.0", "du.1", "du.2", + "dclkin.0", "dclkin.1", "dclkin.2"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a77960-ulcb.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a77960-ulcb.dts index 97490acf38..4bfeb1df04 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a77960-ulcb.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a77960-ulcb.dts @@ -1,38 +1,38 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Device Tree Source for the M3ULCB (R-Car Starter Kit Pro) board with R-Car M3-W - * - * Copyright (C) 2016 Renesas Electronics Corp. - * Copyright (C) 2016 Cogent Embedded, Inc. - */ - -/dts-v1/; -#include "r8a77960.dtsi" -#include "ulcb.dtsi" - -/ { - model = "Renesas M3ULCB board based on r8a77960"; - compatible = "renesas,m3ulcb", "renesas,r8a7796"; - - memory@48000000 { - device_type = "memory"; - /* first 128MB is reserved for secure area. */ - reg = <0x0 0x48000000 0x0 0x38000000>; - }; - - memory@600000000 { - device_type = "memory"; - reg = <0x6 0x00000000 0x0 0x40000000>; - }; -}; - -&du { - clocks = <&cpg CPG_MOD 724>, - <&cpg CPG_MOD 723>, - <&cpg CPG_MOD 722>, - <&versaclock5 1>, - <&versaclock5 3>, - <&versaclock5 2>; - clock-names = "du.0", "du.1", "du.2", - "dclkin.0", "dclkin.1", "dclkin.2"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Device Tree Source for the M3ULCB (R-Car Starter Kit Pro) board with R-Car M3-W + * + * Copyright (C) 2016 Renesas Electronics Corp. + * Copyright (C) 2016 Cogent Embedded, Inc. + */ + +/dts-v1/; +#include "r8a77960.dtsi" +#include "ulcb.dtsi" + +/ { + model = "Renesas M3ULCB board based on r8a77960"; + compatible = "renesas,m3ulcb", "renesas,r8a7796"; + + memory@48000000 { + device_type = "memory"; + /* first 128MB is reserved for secure area. */ + reg = <0x0 0x48000000 0x0 0x38000000>; + }; + + memory@600000000 { + device_type = "memory"; + reg = <0x6 0x00000000 0x0 0x40000000>; + }; +}; + +&du { + clocks = <&cpg CPG_MOD 724>, + <&cpg CPG_MOD 723>, + <&cpg CPG_MOD 722>, + <&versaclock5 1>, + <&versaclock5 3>, + <&versaclock5 2>; + clock-names = "du.0", "du.1", "du.2", + "dclkin.0", "dclkin.1", "dclkin.2"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a77961-salvator-xs.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a77961-salvator-xs.dts index 78e7c41888..c7f14177f7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a77961-salvator-xs.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a77961-salvator-xs.dts @@ -1,42 +1,42 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Device Tree Source for the Salvator-X 2nd version board with R-Car M3-W+ - * - * Copyright (C) 2018 Renesas Electronics Corp. - */ - -/dts-v1/; -#include "r8a77961.dtsi" -#include "salvator-xs.dtsi" - -/ { - model = "Renesas Salvator-X 2nd version board based on r8a77961"; - compatible = "renesas,salvator-xs", "renesas,r8a77961"; - - memory@48000000 { - device_type = "memory"; - /* first 128MB is reserved for secure area. */ - reg = <0x0 0x48000000 0x0 0x78000000>; - }; - - memory@480000000 { - device_type = "memory"; - reg = <0x4 0x80000000 0x0 0x80000000>; - }; - - memory@600000000 { - device_type = "memory"; - reg = <0x6 0x00000000 0x1 0x00000000>; - }; -}; - -&du { - clocks = <&cpg CPG_MOD 724>, - <&cpg CPG_MOD 723>, - <&cpg CPG_MOD 722>, - <&versaclock6 1>, - <&x21_clk>, - <&versaclock6 2>; - clock-names = "du.0", "du.1", "du.2", - "dclkin.0", "dclkin.1", "dclkin.2"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Device Tree Source for the Salvator-X 2nd version board with R-Car M3-W+ + * + * Copyright (C) 2018 Renesas Electronics Corp. + */ + +/dts-v1/; +#include "r8a77961.dtsi" +#include "salvator-xs.dtsi" + +/ { + model = "Renesas Salvator-X 2nd version board based on r8a77961"; + compatible = "renesas,salvator-xs", "renesas,r8a77961"; + + memory@48000000 { + device_type = "memory"; + /* first 128MB is reserved for secure area. */ + reg = <0x0 0x48000000 0x0 0x78000000>; + }; + + memory@480000000 { + device_type = "memory"; + reg = <0x4 0x80000000 0x0 0x80000000>; + }; + + memory@600000000 { + device_type = "memory"; + reg = <0x6 0x00000000 0x1 0x00000000>; + }; +}; + +&du { + clocks = <&cpg CPG_MOD 724>, + <&cpg CPG_MOD 723>, + <&cpg CPG_MOD 722>, + <&versaclock6 1>, + <&x21_clk>, + <&versaclock6 2>; + clock-names = "du.0", "du.1", "du.2", + "dclkin.0", "dclkin.1", "dclkin.2"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a77961-ulcb.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a77961-ulcb.dts index bb692db3cc..70cf926667 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a77961-ulcb.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a77961-ulcb.dts @@ -1,42 +1,42 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Device Tree Source for the M3ULCB (R-Car Starter Kit Pro) board with R-Car M3-W+ - * - * Copyright (C) 2020 Renesas Electronics Corp. - */ - -/dts-v1/; -#include "r8a77961.dtsi" -#include "ulcb.dtsi" - -/ { - model = "Renesas M3ULCB board based on r8a77961"; - compatible = "renesas,m3ulcb", "renesas,r8a77961"; - - memory@48000000 { - device_type = "memory"; - /* first 128MB is reserved for secure area. */ - reg = <0x0 0x48000000 0x0 0x78000000>; - }; - - memory@480000000 { - device_type = "memory"; - reg = <0x4 0x80000000 0x0 0x80000000>; - }; - - memory@600000000 { - device_type = "memory"; - reg = <0x6 0x00000000 0x1 0x00000000>; - }; -}; - -&du { - clocks = <&cpg CPG_MOD 724>, - <&cpg CPG_MOD 723>, - <&cpg CPG_MOD 722>, - <&versaclock5 1>, - <&versaclock5 3>, - <&versaclock5 2>; - clock-names = "du.0", "du.1", "du.2", - "dclkin.0", "dclkin.1", "dclkin.2"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Device Tree Source for the M3ULCB (R-Car Starter Kit Pro) board with R-Car M3-W+ + * + * Copyright (C) 2020 Renesas Electronics Corp. + */ + +/dts-v1/; +#include "r8a77961.dtsi" +#include "ulcb.dtsi" + +/ { + model = "Renesas M3ULCB board based on r8a77961"; + compatible = "renesas,m3ulcb", "renesas,r8a77961"; + + memory@48000000 { + device_type = "memory"; + /* first 128MB is reserved for secure area. */ + reg = <0x0 0x48000000 0x0 0x78000000>; + }; + + memory@480000000 { + device_type = "memory"; + reg = <0x4 0x80000000 0x0 0x80000000>; + }; + + memory@600000000 { + device_type = "memory"; + reg = <0x6 0x00000000 0x1 0x00000000>; + }; +}; + +&du { + clocks = <&cpg CPG_MOD 724>, + <&cpg CPG_MOD 723>, + <&cpg CPG_MOD 722>, + <&versaclock5 1>, + <&versaclock5 3>, + <&versaclock5 2>; + clock-names = "du.0", "du.1", "du.2", + "dclkin.0", "dclkin.1", "dclkin.2"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a77965-salvator-x.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a77965-salvator-x.dts index 43fefeb5d0..f84c64ed4d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a77965-salvator-x.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a77965-salvator-x.dts @@ -1,32 +1,32 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Device Tree Source for the Salvator-X board with R-Car M3-N - * - * Copyright (C) 2018 Jacopo Mondi - */ - -/dts-v1/; -#include "r8a77965.dtsi" -#include "salvator-x.dtsi" - -/ { - model = "Renesas Salvator-X board based on r8a77965"; - compatible = "renesas,salvator-x", "renesas,r8a77965"; - - memory@48000000 { - device_type = "memory"; - /* first 128MB is reserved for secure area. */ - reg = <0x0 0x48000000 0x0 0x78000000>; - }; -}; - -&du { - clocks = <&cpg CPG_MOD 724>, - <&cpg CPG_MOD 723>, - <&cpg CPG_MOD 721>, - <&versaclock5 1>, - <&x21_clk>, - <&versaclock5 2>; - clock-names = "du.0", "du.1", "du.3", - "dclkin.0", "dclkin.1", "dclkin.3"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Device Tree Source for the Salvator-X board with R-Car M3-N + * + * Copyright (C) 2018 Jacopo Mondi + */ + +/dts-v1/; +#include "r8a77965.dtsi" +#include "salvator-x.dtsi" + +/ { + model = "Renesas Salvator-X board based on r8a77965"; + compatible = "renesas,salvator-x", "renesas,r8a77965"; + + memory@48000000 { + device_type = "memory"; + /* first 128MB is reserved for secure area. */ + reg = <0x0 0x48000000 0x0 0x78000000>; + }; +}; + +&du { + clocks = <&cpg CPG_MOD 724>, + <&cpg CPG_MOD 723>, + <&cpg CPG_MOD 721>, + <&versaclock5 1>, + <&x21_clk>, + <&versaclock5 2>; + clock-names = "du.0", "du.1", "du.3", + "dclkin.0", "dclkin.1", "dclkin.3"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a77965-salvator-xs.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a77965-salvator-xs.dts index ebd5ef4fed..a1d3c8d531 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a77965-salvator-xs.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a77965-salvator-xs.dts @@ -1,32 +1,32 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Device Tree Source for the Salvator-X 2nd version board with R-Car M3-N - * - * Copyright (C) 2017 Renesas Electronics Corp. - */ - -/dts-v1/; -#include "r8a77965.dtsi" -#include "salvator-xs.dtsi" - -/ { - model = "Renesas Salvator-X 2nd version board based on r8a77965"; - compatible = "renesas,salvator-xs", "renesas,r8a77965"; - - memory@48000000 { - device_type = "memory"; - /* first 128MB is reserved for secure area. */ - reg = <0x0 0x48000000 0x0 0x78000000>; - }; -}; - -&du { - clocks = <&cpg CPG_MOD 724>, - <&cpg CPG_MOD 723>, - <&cpg CPG_MOD 721>, - <&versaclock6 1>, - <&x21_clk>, - <&versaclock6 2>; - clock-names = "du.0", "du.1", "du.3", - "dclkin.0", "dclkin.1", "dclkin.3"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Device Tree Source for the Salvator-X 2nd version board with R-Car M3-N + * + * Copyright (C) 2017 Renesas Electronics Corp. + */ + +/dts-v1/; +#include "r8a77965.dtsi" +#include "salvator-xs.dtsi" + +/ { + model = "Renesas Salvator-X 2nd version board based on r8a77965"; + compatible = "renesas,salvator-xs", "renesas,r8a77965"; + + memory@48000000 { + device_type = "memory"; + /* first 128MB is reserved for secure area. */ + reg = <0x0 0x48000000 0x0 0x78000000>; + }; +}; + +&du { + clocks = <&cpg CPG_MOD 724>, + <&cpg CPG_MOD 723>, + <&cpg CPG_MOD 721>, + <&versaclock6 1>, + <&x21_clk>, + <&versaclock6 2>; + clock-names = "du.0", "du.1", "du.3", + "dclkin.0", "dclkin.1", "dclkin.3"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a77965-ulcb.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a77965-ulcb.dts index 00cda1a6d5..71704b67a2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a77965-ulcb.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a77965-ulcb.dts @@ -1,33 +1,33 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Device Tree Source for the M3NULCB (R-Car Starter Kit Pro) board with R-Car M3-N - * - * Copyright (C) 2018 Renesas Electronics Corp. - * Copyright (C) 2018 Cogent Embedded, Inc. - */ - -/dts-v1/; -#include "r8a77965.dtsi" -#include "ulcb.dtsi" - -/ { - model = "Renesas M3NULCB board based on r8a77965"; - compatible = "renesas,m3nulcb", "renesas,r8a77965"; - - memory@48000000 { - device_type = "memory"; - /* first 128MB is reserved for secure area. */ - reg = <0x0 0x48000000 0x0 0x78000000>; - }; -}; - -&du { - clocks = <&cpg CPG_MOD 724>, - <&cpg CPG_MOD 723>, - <&cpg CPG_MOD 721>, - <&versaclock5 1>, - <&versaclock5 3>, - <&versaclock5 2>; - clock-names = "du.0", "du.1", "du.3", - "dclkin.0", "dclkin.1", "dclkin.3"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Device Tree Source for the M3NULCB (R-Car Starter Kit Pro) board with R-Car M3-N + * + * Copyright (C) 2018 Renesas Electronics Corp. + * Copyright (C) 2018 Cogent Embedded, Inc. + */ + +/dts-v1/; +#include "r8a77965.dtsi" +#include "ulcb.dtsi" + +/ { + model = "Renesas M3NULCB board based on r8a77965"; + compatible = "renesas,m3nulcb", "renesas,r8a77965"; + + memory@48000000 { + device_type = "memory"; + /* first 128MB is reserved for secure area. */ + reg = <0x0 0x48000000 0x0 0x78000000>; + }; +}; + +&du { + clocks = <&cpg CPG_MOD 724>, + <&cpg CPG_MOD 723>, + <&cpg CPG_MOD 721>, + <&versaclock5 1>, + <&versaclock5 3>, + <&versaclock5 2>; + clock-names = "du.0", "du.1", "du.3", + "dclkin.0", "dclkin.1", "dclkin.3"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779m5-salvator-xs.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779m5-salvator-xs.dts index 7e7d9af563..6efc23171a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779m5-salvator-xs.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779m5-salvator-xs.dts @@ -1,36 +1,36 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -/* - * Device Tree Source for the Salvator-X 2nd version board with R-Car M3Ne-2G - * - * Copyright (C) 2021 Glider bv - * - * Based on r8a77965-salvator-xs.dts - * Copyright (C) 2017 Renesas Electronics Corp. - */ - -/dts-v1/; -#include "r8a779m5.dtsi" -#include "salvator-xs.dtsi" - -/ { - model = "Renesas Salvator-X 2nd version board based on r8a779m5"; - compatible = "renesas,salvator-xs", "renesas,r8a779m5", - "renesas,r8a77965"; - - memory@48000000 { - device_type = "memory"; - /* first 128MB is reserved for secure area. */ - reg = <0x0 0x48000000 0x0 0x78000000>; - }; -}; - -&du { - clocks = <&cpg CPG_MOD 724>, - <&cpg CPG_MOD 723>, - <&cpg CPG_MOD 721>, - <&versaclock6 1>, - <&x21_clk>, - <&versaclock6 2>; - clock-names = "du.0", "du.1", "du.3", - "dclkin.0", "dclkin.1", "dclkin.3"; -}; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Device Tree Source for the Salvator-X 2nd version board with R-Car M3Ne-2G + * + * Copyright (C) 2021 Glider bv + * + * Based on r8a77965-salvator-xs.dts + * Copyright (C) 2017 Renesas Electronics Corp. + */ + +/dts-v1/; +#include "r8a779m5.dtsi" +#include "salvator-xs.dtsi" + +/ { + model = "Renesas Salvator-X 2nd version board based on r8a779m5"; + compatible = "renesas,salvator-xs", "renesas,r8a779m5", + "renesas,r8a77965"; + + memory@48000000 { + device_type = "memory"; + /* first 128MB is reserved for secure area. */ + reg = <0x0 0x48000000 0x0 0x78000000>; + }; +}; + +&du { + clocks = <&cpg CPG_MOD 724>, + <&cpg CPG_MOD 723>, + <&cpg CPG_MOD 721>, + <&versaclock6 1>, + <&x21_clk>, + <&versaclock6 2>; + clock-names = "du.0", "du.1", "du.3", + "dclkin.0", "dclkin.1", "dclkin.3"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r9a07g043-smarc-pmod.dtso b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r9a07g043-smarc-pmod.dtso index c7b211ffee..4edd103c77 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r9a07g043-smarc-pmod.dtso +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r9a07g043-smarc-pmod.dtso @@ -1,45 +1,45 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Device Tree Source for the RZ/{G2UL, Five} SMARC EVK PMOD parts - * - * Copyright (C) 2023 Renesas Electronics Corp. - * - * - * [Connection] - * - * SMARC EVK - * +----------------------------+ - * |CN7 (PMOD1 PIN HEADER) | - * | SCI0_TXD pin7 | - * | SCI0_RXD pin8 | - * | Gnd pin11 | - * | Vcc pin12 | - * +----------------------------+ - * - */ - -/dts-v1/; -/plugin/; - -#include - -&pinctrl { - can0-stb-hog { - status = "disabled"; - }; - - can1-stb-hog { - status = "disabled"; - }; - - sci0_pins: sci0-pins { - pinmux = , /* TxD */ - ; /* RxD */ - }; -}; - -&sci0 { - pinctrl-0 = <&sci0_pins>; - pinctrl-names = "default"; - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Device Tree Source for the RZ/{G2UL, Five} SMARC EVK PMOD parts + * + * Copyright (C) 2023 Renesas Electronics Corp. + * + * + * [Connection] + * + * SMARC EVK + * +----------------------------+ + * |CN7 (PMOD1 PIN HEADER) | + * | SCI0_TXD pin7 | + * | SCI0_RXD pin8 | + * | Gnd pin11 | + * | Vcc pin12 | + * +----------------------------+ + * + */ + +/dts-v1/; +/plugin/; + +#include + +&pinctrl { + can0-stb-hog { + status = "disabled"; + }; + + can1-stb-hog { + status = "disabled"; + }; + + sci0_pins: sci0-pins { + pinmux = , /* TxD */ + ; /* RxD */ + }; +}; + +&sci0 { + pinctrl-0 = <&sci0_pins>; + pinctrl-names = "default"; + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r9a07g043u11-smarc.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r9a07g043u11-smarc.dts index 6a988c787c..8e0107df2d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r9a07g043u11-smarc.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r9a07g043u11-smarc.dts @@ -1,38 +1,38 @@ -// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -/* - * Device Tree Source for the RZ/G2UL Type-1 SMARC EVK board - * - * Copyright (C) 2022 Renesas Electronics Corp. - */ - -/dts-v1/; - -/* - * DIP-Switch SW1 setting - * 1 : High; 0: Low - * SW1-2 : SW_SD0_DEV_SEL (0: uSD; 1: eMMC) - * SW1-3 : SW_ET0_EN_N (0: ETHER0; 1: CAN0, CAN1, SSI1, RSPI1) - * Please change below macros according to SW1 setting on the SoM - */ -#define SW_SW0_DEV_SEL 1 -#define SW_ET0_EN_N 1 - -/* - * To enable MTU3a PWM on PMOD0, - * - Set DIP-Switch SW1-3 to On position. - * - Set PMOD_MTU3 macro to 1. - */ -#define PMOD_MTU3 0 - -#if (PMOD_MTU3 && !SW_ET0_EN_N) -#error "Cannot set as both PMOD_MTU3 and !SW_ET0_EN_N are mutually exclusive" -#endif - -#include "r9a07g043u.dtsi" -#include "rzg2ul-smarc-som.dtsi" -#include "rzg2ul-smarc.dtsi" - -/ { - model = "Renesas SMARC EVK based on r9a07g043u11"; - compatible = "renesas,smarc-evk", "renesas,r9a07g043u11", "renesas,r9a07g043"; -}; +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +/* + * Device Tree Source for the RZ/G2UL Type-1 SMARC EVK board + * + * Copyright (C) 2022 Renesas Electronics Corp. + */ + +/dts-v1/; + +/* + * DIP-Switch SW1 setting + * 1 : High; 0: Low + * SW1-2 : SW_SD0_DEV_SEL (0: uSD; 1: eMMC) + * SW1-3 : SW_ET0_EN_N (0: ETHER0; 1: CAN0, CAN1, SSI1, RSPI1) + * Please change below macros according to SW1 setting on the SoM + */ +#define SW_SW0_DEV_SEL 1 +#define SW_ET0_EN_N 1 + +/* + * To enable MTU3a PWM on PMOD0, + * - Set DIP-Switch SW1-3 to On position. + * - Set PMOD_MTU3 macro to 1. + */ +#define PMOD_MTU3 0 + +#if (PMOD_MTU3 && !SW_ET0_EN_N) +#error "Cannot set as both PMOD_MTU3 and !SW_ET0_EN_N are mutually exclusive" +#endif + +#include "r9a07g043u.dtsi" +#include "rzg2ul-smarc-som.dtsi" +#include "rzg2ul-smarc.dtsi" + +/ { + model = "Renesas SMARC EVK based on r9a07g043u11"; + compatible = "renesas,smarc-evk", "renesas,r9a07g043u11", "renesas,r9a07g043"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/rzg2-advantech-idk-1110wr-panel.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/rzg2-advantech-idk-1110wr-panel.dtsi index 5b23fb4383..bcc21178ae 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/rzg2-advantech-idk-1110wr-panel.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/rzg2-advantech-idk-1110wr-panel.dtsi @@ -1,41 +1,41 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Device Tree Source for the Advantech idk-1110wr LVDS panel connected - * to RZ/G2 boards - * - * Copyright (C) 2019 Renesas Electronics Corp. - */ - -/ { - panel-lvds { - compatible = "advantech,idk-1110wr", "panel-lvds"; - - width-mm = <223>; - height-mm = <125>; - - data-mapping = "jeida-24"; - - panel-timing { - /* 1024x600 @60Hz */ - clock-frequency = <51200000>; - hactive = <1024>; - vactive = <600>; - hsync-len = <240>; - hfront-porch = <40>; - hback-porch = <40>; - vfront-porch = <15>; - vback-porch = <10>; - vsync-len = <10>; - }; - - port { - panel_in: endpoint { - remote-endpoint = <&lvds_connector>; - }; - }; - }; -}; - -&lvds_connector { - remote-endpoint = <&panel_in>; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Device Tree Source for the Advantech idk-1110wr LVDS panel connected + * to RZ/G2 boards + * + * Copyright (C) 2019 Renesas Electronics Corp. + */ + +/ { + panel-lvds { + compatible = "advantech,idk-1110wr", "panel-lvds"; + + width-mm = <223>; + height-mm = <125>; + + data-mapping = "jeida-24"; + + panel-timing { + /* 1024x600 @60Hz */ + clock-frequency = <51200000>; + hactive = <1024>; + vactive = <600>; + hsync-len = <240>; + hfront-porch = <40>; + hback-porch = <40>; + vfront-porch = <15>; + vback-porch = <10>; + vsync-len = <10>; + }; + + port { + panel_in: endpoint { + remote-endpoint = <&lvds_connector>; + }; + }; + }; +}; + +&lvds_connector { + remote-endpoint = <&panel_in>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/ulcb-kf-audio-graph-card2.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/ulcb-kf-audio-graph-card2.dtsi index 7524535fc2..4fc229418d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/ulcb-kf-audio-graph-card2.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/ulcb-kf-audio-graph-card2.dtsi @@ -1,30 +1,30 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Device Tree for ULCB + Kingfisher + Audio Graph Card2 - * - * Copyright (C) 2022 Renesas Electronics Corp. - */ - -/* - * (A) CPU0 <----> ak4613 - * (B) CPU1 ----> HDMI - * (C) CPU2 ----> PCM3168A-p (8ch) - * (D) CPU3 <---- PCM3168A-c (6ch) - * - * (A) aplay -D plughw:0,0 xxx.wav - * (B) aplay -D plughw:0,1 xxx.wav - * (C) aplay -D plughw:1,0 xxx.wav - * - * (A) arecord -D plughw:0,0 xxx.wav - * (D) arecord -D plughw:1,1 xxx.wav - */ -#include "ulcb-kf-audio-graph-card.dtsi" - -&sound_card_kf { - compatible = "audio-graph-card2"; - - /delete-property/ dais; - links = <&snd_kf1 /* (C) CPU2 -> PCM3168A-p */ - &snd_kf2 /* (D) CPU3 <- PCM3168A-c */ - >; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Device Tree for ULCB + Kingfisher + Audio Graph Card2 + * + * Copyright (C) 2022 Renesas Electronics Corp. + */ + +/* + * (A) CPU0 <----> ak4613 + * (B) CPU1 ----> HDMI + * (C) CPU2 ----> PCM3168A-p (8ch) + * (D) CPU3 <---- PCM3168A-c (6ch) + * + * (A) aplay -D plughw:0,0 xxx.wav + * (B) aplay -D plughw:0,1 xxx.wav + * (C) aplay -D plughw:1,0 xxx.wav + * + * (A) arecord -D plughw:0,0 xxx.wav + * (D) arecord -D plughw:1,1 xxx.wav + */ +#include "ulcb-kf-audio-graph-card.dtsi" + +&sound_card_kf { + compatible = "audio-graph-card2"; + + /delete-property/ dais; + links = <&snd_kf1 /* (C) CPU2 -> PCM3168A-p */ + &snd_kf2 /* (D) CPU3 <- PCM3168A-c */ + >; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/px30-engicam-edimm2.2.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/px30-engicam-edimm2.2.dtsi index 055bc7d0d0..449b8eb645 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/px30-engicam-edimm2.2.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/px30-engicam-edimm2.2.dtsi @@ -1,66 +1,66 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (c) 2020 Engicam srl - * Copyright (c) 2020 Amarula Solutions(India) - */ - -#include "px30-engicam-common.dtsi" - -/ { - backlight: backlight { - compatible = "pwm-backlight"; - pwms = <&pwm0 0 25000 0>; - }; - - panel { - compatible = "yes-optoelectronics,ytc700tlag-05-201c"; - backlight = <&backlight>; - data-mapping = "vesa-24"; - power-supply = <&vcc3v3_lcd>; - - port { - panel_in_lvds: endpoint { - remote-endpoint = <&lvds_out_panel>; - }; - }; - }; -}; - -&display_subsystem { - status = "okay"; -}; - -&dsi_dphy { - status = "okay"; -}; - -/* LVDS_B(secondary) */ -&lvds { - status = "okay"; - - ports { - port@1 { - reg = <1>; - - lvds_out_panel: endpoint { - remote-endpoint = <&panel_in_lvds>; - }; - }; - }; -}; - -&vopb { - status = "okay"; -}; - -&vopb_mmu { - status = "okay"; -}; - -&vopl { - status = "okay"; -}; - -&vopl_mmu { - status = "okay"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2020 Engicam srl + * Copyright (c) 2020 Amarula Solutions(India) + */ + +#include "px30-engicam-common.dtsi" + +/ { + backlight: backlight { + compatible = "pwm-backlight"; + pwms = <&pwm0 0 25000 0>; + }; + + panel { + compatible = "yes-optoelectronics,ytc700tlag-05-201c"; + backlight = <&backlight>; + data-mapping = "vesa-24"; + power-supply = <&vcc3v3_lcd>; + + port { + panel_in_lvds: endpoint { + remote-endpoint = <&lvds_out_panel>; + }; + }; + }; +}; + +&display_subsystem { + status = "okay"; +}; + +&dsi_dphy { + status = "okay"; +}; + +/* LVDS_B(secondary) */ +&lvds { + status = "okay"; + + ports { + port@1 { + reg = <1>; + + lvds_out_panel: endpoint { + remote-endpoint = <&panel_in_lvds>; + }; + }; + }; +}; + +&vopb { + status = "okay"; +}; + +&vopb_mmu { + status = "okay"; +}; + +&vopl { + status = "okay"; +}; + +&vopl_mmu { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/px30-engicam-px30-core-edimm2.2.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/px30-engicam-px30-core-edimm2.2.dts index 55cebb70c1..165d09ccb9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/px30-engicam-px30-core-edimm2.2.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/px30-engicam-px30-core-edimm2.2.dts @@ -1,43 +1,43 @@ -// 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(India) - */ - -/dts-v1/; -#include "px30.dtsi" -#include "px30-engicam-edimm2.2.dtsi" -#include "px30-engicam-px30-core.dtsi" - -/ { - model = "Engicam PX30.Core EDIMM2.2 Starter Kit"; - compatible = "engicam,px30-core-edimm2.2", "engicam,px30-core", - "rockchip,px30"; - - chosen { - stdout-path = "serial2:115200n8"; - }; -}; - -&pinctrl { - bt { - bt_enable_h: bt-enable-h { - rockchip,pins = <1 RK_PC2 RK_FUNC_GPIO &pcfg_pull_none>; - }; - }; - - sdio-pwrseq { - wifi_enable_h: wifi-enable-h { - rockchip,pins = <1 RK_PC3 RK_FUNC_GPIO &pcfg_pull_none>; - }; - }; -}; - -&sdio_pwrseq { - reset-gpios = <&gpio1 RK_PC3 GPIO_ACTIVE_LOW>; -}; - -&vcc3v3_btreg { - enable-gpios = <&gpio1 RK_PC2 GPIO_ACTIVE_HIGH>; -}; +// 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(India) + */ + +/dts-v1/; +#include "px30.dtsi" +#include "px30-engicam-edimm2.2.dtsi" +#include "px30-engicam-px30-core.dtsi" + +/ { + model = "Engicam PX30.Core EDIMM2.2 Starter Kit"; + compatible = "engicam,px30-core-edimm2.2", "engicam,px30-core", + "rockchip,px30"; + + chosen { + stdout-path = "serial2:115200n8"; + }; +}; + +&pinctrl { + bt { + bt_enable_h: bt-enable-h { + rockchip,pins = <1 RK_PC2 RK_FUNC_GPIO &pcfg_pull_none>; + }; + }; + + sdio-pwrseq { + wifi_enable_h: wifi-enable-h { + rockchip,pins = <1 RK_PC3 RK_FUNC_GPIO &pcfg_pull_none>; + }; + }; +}; + +&sdio_pwrseq { + reset-gpios = <&gpio1 RK_PC3 GPIO_ACTIVE_LOW>; +}; + +&vcc3v3_btreg { + enable-gpios = <&gpio1 RK_PC2 GPIO_ACTIVE_HIGH>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3326-anbernic-rg351v.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3326-anbernic-rg351v.dts index c6cd16e7fe..c79f7a7b38 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3326-anbernic-rg351v.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3326-anbernic-rg351v.dts @@ -1,44 +1,44 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) - -/dts-v1/; -#include "rk3326-anbernic-rg351m.dtsi" - -/ { - model = "Anbernic RG351V"; - compatible = "anbernic,rg351v", "rockchip,rk3326"; - - gpio_keys_vol: gpio-keys-vol { - compatible = "gpio-keys"; - autorepeat; - - button-vol-down { - gpios = <&gpio2 RK_PA1 GPIO_ACTIVE_LOW>; - label = "VOLUMEDOWN"; - linux,code = ; - }; - - button-vol-up { - gpios = <&gpio2 RK_PA0 GPIO_ACTIVE_LOW>; - label = "VOLUMEUP"; - linux,code = ; - }; - }; -}; - -&internal_display { - compatible = "anbernic,rg351v-panel", "newvision,nv3051d"; - vdd-supply = <&vcc_lcd>; -}; - -&io_domains { - vccio1-supply = <&vccio_sd>; -}; - -&vcc_sd { - regulator-max-microvolt = <3000000>; - regulator-min-microvolt = <1800000>; -}; - -&vccio_sd { - regulator-max-microvolt = <1800000>; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) + +/dts-v1/; +#include "rk3326-anbernic-rg351m.dtsi" + +/ { + model = "Anbernic RG351V"; + compatible = "anbernic,rg351v", "rockchip,rk3326"; + + gpio_keys_vol: gpio-keys-vol { + compatible = "gpio-keys"; + autorepeat; + + button-vol-down { + gpios = <&gpio2 RK_PA1 GPIO_ACTIVE_LOW>; + label = "VOLUMEDOWN"; + linux,code = ; + }; + + button-vol-up { + gpios = <&gpio2 RK_PA0 GPIO_ACTIVE_LOW>; + label = "VOLUMEUP"; + linux,code = ; + }; + }; +}; + +&internal_display { + compatible = "anbernic,rg351v-panel", "newvision,nv3051d"; + vdd-supply = <&vcc_lcd>; +}; + +&io_domains { + vccio1-supply = <&vccio_sd>; +}; + +&vcc_sd { + regulator-max-microvolt = <3000000>; + regulator-min-microvolt = <1800000>; +}; + +&vccio_sd { + regulator-max-microvolt = <1800000>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2c-plus.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2c-plus.dts index 4a7993b34a..16a1958e45 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2c-plus.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2c-plus.dts @@ -1,33 +1,33 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright (c) 2021 FriendlyElec Computer Tech. Co., Ltd. - * (http://www.friendlyarm.com) - * - * Copyright (c) 2023 Tianling Shen - */ - -/dts-v1/; -#include "rk3328-nanopi-r2c.dts" - -/ { - model = "FriendlyElec NanoPi R2C Plus"; - compatible = "friendlyarm,nanopi-r2c-plus", "rockchip,rk3328"; - - aliases { - mmc1 = &emmc; - }; -}; - -&emmc { - bus-width = <8>; - cap-mmc-highspeed; - max-frequency = <150000000>; - mmc-ddr-1_8v; - mmc-hs200-1_8v; - non-removable; - pinctrl-names = "default"; - pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_bus8>; - vmmc-supply = <&vcc_io_33>; - vqmmc-supply = <&vcc18_emmc>; - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright (c) 2021 FriendlyElec Computer Tech. Co., Ltd. + * (http://www.friendlyarm.com) + * + * Copyright (c) 2023 Tianling Shen + */ + +/dts-v1/; +#include "rk3328-nanopi-r2c.dts" + +/ { + model = "FriendlyElec NanoPi R2C Plus"; + compatible = "friendlyarm,nanopi-r2c-plus", "rockchip,rk3328"; + + aliases { + mmc1 = &emmc; + }; +}; + +&emmc { + bus-width = <8>; + cap-mmc-highspeed; + max-frequency = <150000000>; + mmc-ddr-1_8v; + mmc-hs200-1_8v; + non-removable; + pinctrl-names = "default"; + pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_bus8>; + vmmc-supply = <&vcc_io_33>; + vqmmc-supply = <&vcc18_emmc>; + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2c.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2c.dts index e89d408e33..a07a26b944 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2c.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2c.dts @@ -1,40 +1,40 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright (c) 2021 FriendlyElec Computer Tech. Co., Ltd. - * (http://www.friendlyarm.com) - * - * Copyright (c) 2021-2023 Tianling Shen - */ - -/dts-v1/; -#include "rk3328-nanopi-r2s.dts" - -/ { - model = "FriendlyElec NanoPi R2C"; - compatible = "friendlyarm,nanopi-r2c", "rockchip,rk3328"; -}; - -&gmac2io { - phy-handle = <&yt8521s>; - tx_delay = <0x22>; - rx_delay = <0x12>; - - mdio { - /delete-node/ ethernet-phy@1; - - yt8521s: ethernet-phy@3 { - compatible = "ethernet-phy-ieee802.3-c22"; - reg = <3>; - - motorcomm,clk-out-frequency-hz = <125000000>; - motorcomm,keep-pll-enabled; - motorcomm,auto-sleep-disabled; - - pinctrl-0 = <ð_phy_reset_pin>; - pinctrl-names = "default"; - reset-assert-us = <10000>; - reset-deassert-us = <50000>; - reset-gpios = <&gpio1 RK_PC2 GPIO_ACTIVE_LOW>; - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright (c) 2021 FriendlyElec Computer Tech. Co., Ltd. + * (http://www.friendlyarm.com) + * + * Copyright (c) 2021-2023 Tianling Shen + */ + +/dts-v1/; +#include "rk3328-nanopi-r2s.dts" + +/ { + model = "FriendlyElec NanoPi R2C"; + compatible = "friendlyarm,nanopi-r2c", "rockchip,rk3328"; +}; + +&gmac2io { + phy-handle = <&yt8521s>; + tx_delay = <0x22>; + rx_delay = <0x12>; + + mdio { + /delete-node/ ethernet-phy@1; + + yt8521s: ethernet-phy@3 { + compatible = "ethernet-phy-ieee802.3-c22"; + reg = <3>; + + motorcomm,clk-out-frequency-hz = <125000000>; + motorcomm,keep-pll-enabled; + motorcomm,auto-sleep-disabled; + + pinctrl-0 = <ð_phy_reset_pin>; + pinctrl-names = "default"; + reset-assert-us = <10000>; + reset-deassert-us = <50000>; + reset-gpios = <&gpio1 RK_PC2 GPIO_ACTIVE_LOW>; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3399-nanopi-m4b.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3399-nanopi-m4b.dts index a0ccc3b3ec..65cb21837b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3399-nanopi-m4b.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3399-nanopi-m4b.dts @@ -1,52 +1,52 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * FriendlyElec NanoPi M4B board device tree source - * - * Copyright (c) 2020 Chen-Yu Tsai - */ - -/dts-v1/; -#include "rk3399-nanopi-m4.dts" - -/ { - model = "FriendlyElec NanoPi M4B"; - compatible = "friendlyarm,nanopi-m4b", "rockchip,rk3399"; - - adc-keys { - compatible = "adc-keys"; - io-channels = <&saradc 1>; - io-channel-names = "buttons"; - keyup-threshold-microvolt = <1500000>; - poll-interval = <100>; - - button-recovery { - label = "Recovery"; - linux,code = ; - press-threshold-microvolt = <18000>; - }; - }; -}; - -/* No USB type-C PD power manager */ -/delete-node/ &fusb0; - -&i2c4 { - status = "disabled"; -}; - -&u2phy0_host { - phy-supply = <&vcc5v0_usb2>; -}; - -&u2phy0_otg { - phy-supply = <&vbus_typec>; -}; - -&u2phy1_otg { - phy-supply = <&vcc5v0_usb1>; -}; - -&vbus_typec { - enable-active-high; - gpios = <&gpio4 RK_PD2 GPIO_ACTIVE_HIGH>; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * FriendlyElec NanoPi M4B board device tree source + * + * Copyright (c) 2020 Chen-Yu Tsai + */ + +/dts-v1/; +#include "rk3399-nanopi-m4.dts" + +/ { + model = "FriendlyElec NanoPi M4B"; + compatible = "friendlyarm,nanopi-m4b", "rockchip,rk3399"; + + adc-keys { + compatible = "adc-keys"; + io-channels = <&saradc 1>; + io-channel-names = "buttons"; + keyup-threshold-microvolt = <1500000>; + poll-interval = <100>; + + button-recovery { + label = "Recovery"; + linux,code = ; + press-threshold-microvolt = <18000>; + }; + }; +}; + +/* No USB type-C PD power manager */ +/delete-node/ &fusb0; + +&i2c4 { + status = "disabled"; +}; + +&u2phy0_host { + phy-supply = <&vcc5v0_usb2>; +}; + +&u2phy0_otg { + phy-supply = <&vbus_typec>; +}; + +&u2phy1_otg { + phy-supply = <&vcc5v0_usb1>; +}; + +&vbus_typec { + enable-active-high; + gpios = <&gpio4 RK_PD2 GPIO_ACTIVE_HIGH>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3399-nanopi-neo4.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3399-nanopi-neo4.dts index bbbf62ee4d..195410b089 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3399-nanopi-neo4.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3399-nanopi-neo4.dts @@ -1,50 +1,50 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (C) 2019 Amarula Solutions B.V. - * Author: Jagan Teki - */ - -/dts-v1/; - -#include "rk3399-nanopi4.dtsi" - -/ { - model = "FriendlyARM NanoPi NEO4"; - compatible = "friendlyarm,nanopi-neo4", "rockchip,rk3399"; - - vdd_5v: vdd-5v { - compatible = "regulator-fixed"; - regulator-name = "vdd_5v"; - regulator-always-on; - regulator-boot-on; - }; - - vcc5v0_core: vcc5v0-core { - compatible = "regulator-fixed"; - regulator-name = "vcc5v0_core"; - regulator-always-on; - regulator-boot-on; - vin-supply = <&vdd_5v>; - }; - - vcc5v0_usb1: vcc5v0-usb1 { - compatible = "regulator-fixed"; - regulator-name = "vcc5v0_usb1"; - regulator-always-on; - regulator-boot-on; - vin-supply = <&vcc5v0_sys>; - }; -}; - -&vcc3v3_sys { - vin-supply = <&vcc5v0_core>; -}; - -&u2phy0_host { - phy-supply = <&vcc5v0_usb1>; -}; - -&vbus_typec { - regulator-always-on; - vin-supply = <&vdd_5v>; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (C) 2019 Amarula Solutions B.V. + * Author: Jagan Teki + */ + +/dts-v1/; + +#include "rk3399-nanopi4.dtsi" + +/ { + model = "FriendlyARM NanoPi NEO4"; + compatible = "friendlyarm,nanopi-neo4", "rockchip,rk3399"; + + vdd_5v: vdd-5v { + compatible = "regulator-fixed"; + regulator-name = "vdd_5v"; + regulator-always-on; + regulator-boot-on; + }; + + vcc5v0_core: vcc5v0-core { + compatible = "regulator-fixed"; + regulator-name = "vcc5v0_core"; + regulator-always-on; + regulator-boot-on; + vin-supply = <&vdd_5v>; + }; + + vcc5v0_usb1: vcc5v0-usb1 { + compatible = "regulator-fixed"; + regulator-name = "vcc5v0_usb1"; + regulator-always-on; + regulator-boot-on; + vin-supply = <&vcc5v0_sys>; + }; +}; + +&vcc3v3_sys { + vin-supply = <&vcc5v0_core>; +}; + +&u2phy0_host { + phy-supply = <&vcc5v0_usb1>; +}; + +&vbus_typec { + regulator-always-on; + vin-supply = <&vdd_5v>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3399-rockpro64-v2.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3399-rockpro64-v2.dts index 78d8e266d6..304e3c5139 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3399-rockpro64-v2.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3399-rockpro64-v2.dts @@ -1,30 +1,30 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (c) 2017 Fuzhou Rockchip Electronics Co., Ltd. - * Copyright (c) 2018 Akash Gajjar - * Copyright (c) 2019 Katsuhiro Suzuki - */ - -/dts-v1/; -#include "rk3399-rockpro64.dtsi" - -/ { - model = "Pine64 RockPro64 v2.0"; - compatible = "pine64,rockpro64-v2.0", "pine64,rockpro64", "rockchip,rk3399"; -}; - -&i2c1 { - es8316: codec@10 { - compatible = "everest,es8316"; - reg = <0x10>; - clocks = <&cru SCLK_I2S_8CH_OUT>; - clock-names = "mclk"; - #sound-dai-cells = <0>; - - port { - es8316_p0_0: endpoint { - remote-endpoint = <&i2s1_p0_0>; - }; - }; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2017 Fuzhou Rockchip Electronics Co., Ltd. + * Copyright (c) 2018 Akash Gajjar + * Copyright (c) 2019 Katsuhiro Suzuki + */ + +/dts-v1/; +#include "rk3399-rockpro64.dtsi" + +/ { + model = "Pine64 RockPro64 v2.0"; + compatible = "pine64,rockpro64-v2.0", "pine64,rockpro64", "rockchip,rk3399"; +}; + +&i2c1 { + es8316: codec@10 { + compatible = "everest,es8316"; + reg = <0x10>; + clocks = <&cru SCLK_I2S_8CH_OUT>; + clock-names = "mclk"; + #sound-dai-cells = <0>; + + port { + es8316_p0_0: endpoint { + remote-endpoint = <&i2s1_p0_0>; + }; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dts index ba728794bd..4b42717800 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dts @@ -1,30 +1,30 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (c) 2017 Fuzhou Rockchip Electronics Co., Ltd. - * Copyright (c) 2018 Akash Gajjar - * Copyright (c) 2019 Katsuhiro Suzuki - */ - -/dts-v1/; -#include "rk3399-rockpro64.dtsi" - -/ { - model = "Pine64 RockPro64 v2.1"; - compatible = "pine64,rockpro64-v2.1", "pine64,rockpro64", "rockchip,rk3399"; -}; - -&i2c1 { - es8316: codec@11 { - compatible = "everest,es8316"; - reg = <0x11>; - clocks = <&cru SCLK_I2S_8CH_OUT>; - clock-names = "mclk"; - #sound-dai-cells = <0>; - - port { - es8316_p0_0: endpoint { - remote-endpoint = <&i2s1_p0_0>; - }; - }; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2017 Fuzhou Rockchip Electronics Co., Ltd. + * Copyright (c) 2018 Akash Gajjar + * Copyright (c) 2019 Katsuhiro Suzuki + */ + +/dts-v1/; +#include "rk3399-rockpro64.dtsi" + +/ { + model = "Pine64 RockPro64 v2.1"; + compatible = "pine64,rockpro64-v2.1", "pine64,rockpro64", "rockchip,rk3399"; +}; + +&i2c1 { + es8316: codec@11 { + compatible = "everest,es8316"; + reg = <0x11>; + clocks = <&cru SCLK_I2S_8CH_OUT>; + clock-names = "mclk"; + #sound-dai-cells = <0>; + + port { + es8316_p0_0: endpoint { + remote-endpoint = <&i2s1_p0_0>; + }; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3566-pinetab2-v2.0.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3566-pinetab2-v2.0.dts index 8973ae17e2..9349541cbb 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3566-pinetab2-v2.0.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3566-pinetab2-v2.0.dts @@ -1,48 +1,48 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) - -/dts-v1/; - -#include "rk3566-pinetab2.dtsi" - -/ { - model = "Pine64 PineTab2 v2.0"; - compatible = "pine64,pinetab2-v2.0", "pine64,pinetab2", "rockchip,rk3566"; -}; - -&gpio_keys { - pinctrl-0 = <&kb_id_det>, <&hall_int_l>; - - event-hall-sensor { - debounce-interval = <20>; - gpios = <&gpio0 RK_PA6 GPIO_ACTIVE_LOW>; - label = "Hall Sensor"; - linux,code = ; - linux,input-type = ; - wakeup-event-action = ; - wakeup-source; - }; -}; - -&lcd { - reset-gpios = <&gpio0 RK_PC6 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_PC6 RK_FUNC_GPIO &pcfg_pull_none>; - }; - }; - - hall { - hall_int_l: hall-int-l { - rockchip,pins = <0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>; - }; - }; -}; - -&sdmmc1 { - vmmc-supply = <&vcc_sys>; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) + +/dts-v1/; + +#include "rk3566-pinetab2.dtsi" + +/ { + model = "Pine64 PineTab2 v2.0"; + compatible = "pine64,pinetab2-v2.0", "pine64,pinetab2", "rockchip,rk3566"; +}; + +&gpio_keys { + pinctrl-0 = <&kb_id_det>, <&hall_int_l>; + + event-hall-sensor { + debounce-interval = <20>; + gpios = <&gpio0 RK_PA6 GPIO_ACTIVE_LOW>; + label = "Hall Sensor"; + linux,code = ; + linux,input-type = ; + wakeup-event-action = ; + wakeup-source; + }; +}; + +&lcd { + reset-gpios = <&gpio0 RK_PC6 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_PC6 RK_FUNC_GPIO &pcfg_pull_none>; + }; + }; + + hall { + hall_int_l: hall-int-l { + rockchip,pins = <0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>; + }; + }; +}; + +&sdmmc1 { + vmmc-supply = <&vcc_sys>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6.dts index 95745f6c91..92321c1d3f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6.dts @@ -1,40 +1,40 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (c) 2021 Rockchip Electronics Co., Ltd. - * Copyright (c) 2023 Thomas McKahan - * Copyright (c) 2024 Linaro Ltd. - * - */ - -/dts-v1/; - -#include "rk3588-nanopc-t6.dtsi" - -/ { - model = "FriendlyElec NanoPC-T6"; - compatible = "friendlyarm,nanopc-t6", "rockchip,rk3588"; - - vdd_4g_3v3: vdd-4g-3v3-regulator { - compatible = "regulator-fixed"; - enable-active-high; - gpio = <&gpio4 RK_PC6 GPIO_ACTIVE_HIGH>; - pinctrl-names = "default"; - pinctrl-0 = <&pin_4g_lte_pwren>; - regulator-name = "vdd_4g_3v3"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - vin-supply = <&vcc5v0_sys>; - }; -}; - -&pinctrl { - usb { - pin_4g_lte_pwren: 4g-lte-pwren { - rockchip,pins = <4 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>; - }; - }; -}; - -&u2phy2_host { - phy-supply = <&vdd_4g_3v3>; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2021 Rockchip Electronics Co., Ltd. + * Copyright (c) 2023 Thomas McKahan + * Copyright (c) 2024 Linaro Ltd. + * + */ + +/dts-v1/; + +#include "rk3588-nanopc-t6.dtsi" + +/ { + model = "FriendlyElec NanoPC-T6"; + compatible = "friendlyarm,nanopc-t6", "rockchip,rk3588"; + + vdd_4g_3v3: vdd-4g-3v3-regulator { + compatible = "regulator-fixed"; + enable-active-high; + gpio = <&gpio4 RK_PC6 GPIO_ACTIVE_HIGH>; + pinctrl-names = "default"; + pinctrl-0 = <&pin_4g_lte_pwren>; + regulator-name = "vdd_4g_3v3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + vin-supply = <&vcc5v0_sys>; + }; +}; + +&pinctrl { + usb { + pin_4g_lte_pwren: 4g-lte-pwren { + rockchip,pins = <4 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>; + }; + }; +}; + +&u2phy2_host { + phy-supply = <&vdd_4g_3v3>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/socionext/uniphier-pxs3-ref-gadget0.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/socionext/uniphier-pxs3-ref-gadget0.dts index a06ae140d6..99136adb18 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/socionext/uniphier-pxs3-ref-gadget0.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/socionext/uniphier-pxs3-ref-gadget0.dts @@ -1,41 +1,41 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -// -// Device Tree Source for UniPhier PXs3 Reference Board (for USB-Device #0) -// -// Copyright (C) 2021 Socionext Inc. -// Author: Kunihiko Hayashi - -/dts-v1/; -#include "uniphier-pxs3-ref.dts" - -/ { - model = "UniPhier PXs3 Reference Board (USB-Device #0)"; -}; - -/* I2C3 pinctrl is shared with USB*VBUSIN */ -&i2c3 { - status = "disabled"; -}; - -&usb0 { - status = "okay"; - dr_mode = "peripheral"; - pinctrl-0 = <&pinctrl_usb0_device>; - snps,dis_enblslpm_quirk; - snps,dis_u2_susphy_quirk; - snps,dis_u3_susphy_quirk; - snps,usb2-gadget-lpm-disable; - phy-names = "usb2-phy", "usb3-phy"; - phys = <&usb0_hsphy0>, <&usb0_ssphy0>; -}; - -&usb0_hsphy0 { - /delete-property/ vbus-supply; -}; - -&usb0_ssphy0 { - /delete-property/ vbus-supply; -}; - -/delete-node/ &usb0_hsphy1; -/delete-node/ &usb0_ssphy1; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +// +// Device Tree Source for UniPhier PXs3 Reference Board (for USB-Device #0) +// +// Copyright (C) 2021 Socionext Inc. +// Author: Kunihiko Hayashi + +/dts-v1/; +#include "uniphier-pxs3-ref.dts" + +/ { + model = "UniPhier PXs3 Reference Board (USB-Device #0)"; +}; + +/* I2C3 pinctrl is shared with USB*VBUSIN */ +&i2c3 { + status = "disabled"; +}; + +&usb0 { + status = "okay"; + dr_mode = "peripheral"; + pinctrl-0 = <&pinctrl_usb0_device>; + snps,dis_enblslpm_quirk; + snps,dis_u2_susphy_quirk; + snps,dis_u3_susphy_quirk; + snps,usb2-gadget-lpm-disable; + phy-names = "usb2-phy", "usb3-phy"; + phys = <&usb0_hsphy0>, <&usb0_ssphy0>; +}; + +&usb0_hsphy0 { + /delete-property/ vbus-supply; +}; + +&usb0_ssphy0 { + /delete-property/ vbus-supply; +}; + +/delete-node/ &usb0_hsphy1; +/delete-node/ &usb0_ssphy1; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/socionext/uniphier-pxs3-ref-gadget1.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/socionext/uniphier-pxs3-ref-gadget1.dts index b8a4a8701a..4c960f4554 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/socionext/uniphier-pxs3-ref-gadget1.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/socionext/uniphier-pxs3-ref-gadget1.dts @@ -1,40 +1,40 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -// -// Device Tree Source for UniPhier PXs3 Reference Board (for USB-Device #1) -// -// Copyright (C) 2021 Socionext Inc. -// Author: Kunihiko Hayashi - -/dts-v1/; -#include "uniphier-pxs3-ref.dts" - -/ { - model = "UniPhier PXs3 Reference Board (USB-Device #1)"; -}; - -/* I2C3 pinctrl is shared with USB*VBUSIN */ -&i2c3 { - status = "disabled"; -}; - -&usb1 { - status = "okay"; - dr_mode = "peripheral"; - pinctrl-0 = <&pinctrl_usb1_device>; - snps,dis_enblslpm_quirk; - snps,dis_u2_susphy_quirk; - snps,dis_u3_susphy_quirk; - snps,usb2-gadget-lpm-disable; - phy-names = "usb2-phy", "usb3-phy"; - phys = <&usb1_hsphy0>, <&usb1_ssphy0>; -}; - -&usb1_hsphy0 { - /delete-property/ vbus-supply; -}; - -&usb1_ssphy0 { - /delete-property/ vbus-supply; -}; - -/delete-node/ &usb1_hsphy1; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +// +// Device Tree Source for UniPhier PXs3 Reference Board (for USB-Device #1) +// +// Copyright (C) 2021 Socionext Inc. +// Author: Kunihiko Hayashi + +/dts-v1/; +#include "uniphier-pxs3-ref.dts" + +/ { + model = "UniPhier PXs3 Reference Board (USB-Device #1)"; +}; + +/* I2C3 pinctrl is shared with USB*VBUSIN */ +&i2c3 { + status = "disabled"; +}; + +&usb1 { + status = "okay"; + dr_mode = "peripheral"; + pinctrl-0 = <&pinctrl_usb1_device>; + snps,dis_enblslpm_quirk; + snps,dis_u2_susphy_quirk; + snps,dis_u3_susphy_quirk; + snps,usb2-gadget-lpm-disable; + phy-names = "usb2-phy", "usb3-phy"; + phys = <&usb1_hsphy0>, <&usb1_ssphy0>; +}; + +&usb1_hsphy0 { + /delete-property/ vbus-supply; +}; + +&usb1_ssphy0 { + /delete-property/ vbus-supply; +}; + +/delete-node/ &usb1_hsphy1; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/sprd/sc9836-openphone.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/sprd/sc9836-openphone.dts index 2a64f1218f..b98589ea5a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/sprd/sc9836-openphone.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/sprd/sc9836-openphone.dts @@ -1,48 +1,48 @@ -// SPDX-License-Identifier: (GPL-2.0-only OR MIT) -/* - * Spreadtrum SC9836 openphone board DTS file - * - * Copyright (C) 2014, Spreadtrum Communications Inc. - */ - -/dts-v1/; - -#include "sc9836.dtsi" - -/ { - model = "Spreadtrum SC9836 Openphone Board"; - - compatible = "sprd,sc9836-openphone", "sprd,sc9836"; - - aliases { - serial0 = &uart0; - serial1 = &uart1; - serial2 = &uart2; - serial3 = &uart3; - }; - - memory@80000000 { - device_type = "memory"; - reg = <0 0x80000000 0 0x20000000>; - }; - - chosen { - stdout-path = "serial1:115200n8"; - }; -}; - -&uart0 { - status = "okay"; -}; - -&uart1 { - status = "okay"; -}; - -&uart2 { - status = "okay"; -}; - -&uart3 { - status = "okay"; -}; +// SPDX-License-Identifier: (GPL-2.0-only OR MIT) +/* + * Spreadtrum SC9836 openphone board DTS file + * + * Copyright (C) 2014, Spreadtrum Communications Inc. + */ + +/dts-v1/; + +#include "sc9836.dtsi" + +/ { + model = "Spreadtrum SC9836 Openphone Board"; + + compatible = "sprd,sc9836-openphone", "sprd,sc9836"; + + aliases { + serial0 = &uart0; + serial1 = &uart1; + serial2 = &uart2; + serial3 = &uart3; + }; + + memory@80000000 { + device_type = "memory"; + reg = <0 0x80000000 0 0x20000000>; + }; + + chosen { + stdout-path = "serial1:115200n8"; + }; +}; + +&uart0 { + status = "okay"; +}; + +&uart1 { + status = "okay"; +}; + +&uart2 { + status = "okay"; +}; + +&uart3 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/sprd/ums512-1h10.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/sprd/ums512-1h10.dts index 285e8b7844..46890f6d14 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/sprd/ums512-1h10.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/sprd/ums512-1h10.dts @@ -1,61 +1,61 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -/* - * Unisoc UMS512-1h10 boards DTS file - * - * Copyright (C) 2021, Unisoc Inc. - */ - -/dts-v1/; - -#include "ums512.dtsi" - -/ { - model = "Unisoc UMS512-1H10 Board"; - - compatible = "sprd,ums512-1h10", "sprd,ums512"; - - aliases { - serial0 = &uart0; - serial1 = &uart1; - }; - - memory@80000000 { - device_type = "memory"; - reg = <0x0 0x80000000 0x0 0x80000000>; - }; - - chosen { - stdout-path = "serial1:115200n8"; - }; -}; - -&uart0 { - status = "okay"; -}; - -&uart1 { - status = "okay"; -}; - -/* SD card */ -&sdio0 { - bus-width = <4>; - no-sdio; - no-mmc; - sprd,phy-delay-sd-uhs-sdr104 = <0x7f 0x73 0x72 0x72>; - sprd,phy-delay-sd-uhs-sdr50 = <0x6e 0x7f 0x01 0x01>; - sprd,phy-delay-sd-highspeed = <0x7f 0x1a 0x9a 0x9a>; - sprd,phy-delay-legacy = <0x7f 0x1a 0x9a 0x9a>; - sd-uhs-sdr104; - sd-uhs-sdr50; -}; - -/* EMMC storage */ -&sdio3 { - status = "okay"; - bus-width = <8>; - no-sdio; - no-sd; - non-removable; - cap-mmc-hw-reset; -}; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Unisoc UMS512-1h10 boards DTS file + * + * Copyright (C) 2021, Unisoc Inc. + */ + +/dts-v1/; + +#include "ums512.dtsi" + +/ { + model = "Unisoc UMS512-1H10 Board"; + + compatible = "sprd,ums512-1h10", "sprd,ums512"; + + aliases { + serial0 = &uart0; + serial1 = &uart1; + }; + + memory@80000000 { + device_type = "memory"; + reg = <0x0 0x80000000 0x0 0x80000000>; + }; + + chosen { + stdout-path = "serial1:115200n8"; + }; +}; + +&uart0 { + status = "okay"; +}; + +&uart1 { + status = "okay"; +}; + +/* SD card */ +&sdio0 { + bus-width = <4>; + no-sdio; + no-mmc; + sprd,phy-delay-sd-uhs-sdr104 = <0x7f 0x73 0x72 0x72>; + sprd,phy-delay-sd-uhs-sdr50 = <0x6e 0x7f 0x01 0x01>; + sprd,phy-delay-sd-highspeed = <0x7f 0x1a 0x9a 0x9a>; + sprd,phy-delay-legacy = <0x7f 0x1a 0x9a 0x9a>; + sd-uhs-sdr104; + sd-uhs-sdr50; +}; + +/* EMMC storage */ +&sdio3 { + status = "okay"; + bus-width = <8>; + no-sdio; + no-sd; + non-removable; + cap-mmc-hw-reset; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/st/stm32mp255.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/st/stm32mp255.dtsi index efb776bb5b..f689b47c50 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/st/stm32mp255.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/st/stm32mp255.dtsi @@ -1,25 +1,25 @@ -// SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-3-Clause) -/* - * Copyright (C) STMicroelectronics 2023 - All Rights Reserved - * Author: Alexandre Torgue for STMicroelectronics. - */ -#include "stm32mp253.dtsi" - -&rifsc { - vdec: vdec@480d0000 { - compatible = "st,stm32mp25-vdec"; - reg = <0x480d0000 0x3c8>; - interrupts = ; - clocks = <&rcc CK_BUS_VDEC>; - access-controllers = <&rifsc 89>; - - }; - - venc: venc@480e0000 { - compatible = "st,stm32mp25-venc"; - reg = <0x480e0000 0x800>; - interrupts = ; - clocks = <&rcc CK_BUS_VENC>; - access-controllers = <&rifsc 90>; - }; +// SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-3-Clause) +/* + * Copyright (C) STMicroelectronics 2023 - All Rights Reserved + * Author: Alexandre Torgue for STMicroelectronics. + */ +#include "stm32mp253.dtsi" + +&rifsc { + vdec: vdec@480d0000 { + compatible = "st,stm32mp25-vdec"; + reg = <0x480d0000 0x3c8>; + interrupts = ; + clocks = <&rcc CK_BUS_VDEC>; + access-controllers = <&rifsc 89>; + + }; + + venc: venc@480e0000 { + compatible = "st,stm32mp25-venc"; + reg = <0x480e0000 0x800>; + interrupts = ; + clocks = <&rcc CK_BUS_VENC>; + access-controllers = <&rifsc 90>; + }; }; \ No newline at end of file diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/tesla/fsd-pinctrl.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/tesla/fsd-pinctrl.h index 4b4c241d0c..c397d02208 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/tesla/fsd-pinctrl.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/tesla/fsd-pinctrl.h @@ -1,33 +1,33 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Tesla FSD DTS pinctrl constants - * - * Copyright (c) 2016 Samsung Electronics Co., Ltd. - * http://www.samsung.com - * Copyright (c) 2022 Linaro Ltd - * Author: Krzysztof Kozlowski - */ - -#ifndef __DTS_ARM64_TESLA_FSD_PINCTRL_H__ -#define __DTS_ARM64_TESLA_FSD_PINCTRL_H__ - -#define FSD_PIN_PULL_NONE 0 -#define FSD_PIN_PULL_DOWN 1 -#define FSD_PIN_PULL_UP 3 - -#define FSD_PIN_DRV_LV1 0 -#define FSD_PIN_DRV_LV2 1 -#define FSD_PIN_DRV_LV4 2 -#define FSD_PIN_DRV_LV6 3 - -#define FSD_PIN_FUNC_INPUT 0 -#define FSD_PIN_FUNC_OUTPUT 1 -#define FSD_PIN_FUNC_2 2 -#define FSD_PIN_FUNC_3 3 -#define FSD_PIN_FUNC_4 4 -#define FSD_PIN_FUNC_5 5 -#define FSD_PIN_FUNC_6 6 -#define FSD_PIN_FUNC_EINT 0xf -#define FSD_PIN_FUNC_F FSD_PIN_FUNC_EINT - -#endif /* __DTS_ARM64_TESLA_FSD_PINCTRL_H__ */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Tesla FSD DTS pinctrl constants + * + * Copyright (c) 2016 Samsung Electronics Co., Ltd. + * http://www.samsung.com + * Copyright (c) 2022 Linaro Ltd + * Author: Krzysztof Kozlowski + */ + +#ifndef __DTS_ARM64_TESLA_FSD_PINCTRL_H__ +#define __DTS_ARM64_TESLA_FSD_PINCTRL_H__ + +#define FSD_PIN_PULL_NONE 0 +#define FSD_PIN_PULL_DOWN 1 +#define FSD_PIN_PULL_UP 3 + +#define FSD_PIN_DRV_LV1 0 +#define FSD_PIN_DRV_LV2 1 +#define FSD_PIN_DRV_LV4 2 +#define FSD_PIN_DRV_LV6 3 + +#define FSD_PIN_FUNC_INPUT 0 +#define FSD_PIN_FUNC_OUTPUT 1 +#define FSD_PIN_FUNC_2 2 +#define FSD_PIN_FUNC_3 3 +#define FSD_PIN_FUNC_4 4 +#define FSD_PIN_FUNC_5 5 +#define FSD_PIN_FUNC_6 6 +#define FSD_PIN_FUNC_EINT 0xf +#define FSD_PIN_FUNC_F FSD_PIN_FUNC_EINT + +#endif /* __DTS_ARM64_TESLA_FSD_PINCTRL_H__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am62-verdin-wifi.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am62-verdin-wifi.dtsi index ed790c16d1..4768ef42c4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am62-verdin-wifi.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am62-verdin-wifi.dtsi @@ -1,44 +1,44 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2023 Toradex - * - * Common dtsi for Verdin AM62 SoM WB variant - * - * https://www.toradex.com/computer-on-modules/verdin-arm-family/ti-am62 - */ - -/ { - wifi_pwrseq: wifi-pwrseq { - compatible = "mmc-pwrseq-simple"; - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_wifi_en>; - reset-gpios = <&main_gpio0 22 GPIO_ACTIVE_LOW>; - }; -}; - -/* On-module Wi-Fi */ -&sdhci2 { - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_sdhci2>; - bus-width = <4>; - cap-power-off-card; - keep-power-in-suspend; - mmc-pwrseq = <&wifi_pwrseq>; - non-removable; - ti,fails-without-test-cd; - vmmc-supply = <®_3v3>; - status = "okay"; -}; - -/* On-module Bluetooth */ -&main_uart5 { - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_uart5>; - uart-has-rtscts; - status = "okay"; - - bluetooth { - compatible = "nxp,88w8987-bt"; - fw-init-baudrate = <3000000>; - }; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2023 Toradex + * + * Common dtsi for Verdin AM62 SoM WB variant + * + * https://www.toradex.com/computer-on-modules/verdin-arm-family/ti-am62 + */ + +/ { + wifi_pwrseq: wifi-pwrseq { + compatible = "mmc-pwrseq-simple"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_wifi_en>; + reset-gpios = <&main_gpio0 22 GPIO_ACTIVE_LOW>; + }; +}; + +/* On-module Wi-Fi */ +&sdhci2 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_sdhci2>; + bus-width = <4>; + cap-power-off-card; + keep-power-in-suspend; + mmc-pwrseq = <&wifi_pwrseq>; + non-removable; + ti,fails-without-test-cd; + vmmc-supply = <®_3v3>; + status = "okay"; +}; + +/* On-module Bluetooth */ +&main_uart5 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_uart5>; + uart-has-rtscts; + status = "okay"; + + bluetooth { + compatible = "nxp,88w8987-bt"; + fw-init-baudrate = <3000000>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am62x-sk-hdmi-audio.dtso b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am62x-sk-hdmi-audio.dtso index 143fd7f0b1..18c3082f68 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am62x-sk-hdmi-audio.dtso +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am62x-sk-hdmi-audio.dtso @@ -1,40 +1,40 @@ -// SPDX-License-Identifier: GPL-2.0-only OR MIT -/** - * Audio playback via HDMI for AM625-SK and AM62-LP SK. - * - * Links: - * AM625 SK: https://www.ti.com/tool/SK-AM62 - * AM62-LP SK: https://www.ti.com/tool/SK-AM62-LP - * - * Copyright (C) 2023-2024 Texas Instruments Incorporated - https://www.ti.com/ - */ - -/dts-v1/; -/plugin/; - -&{/} { - hdmi_audio: sound-sii9022 { - compatible = "simple-audio-card"; - simple-audio-card,name = "AM62x-Sil9022-HDMI"; - simple-audio-card,format = "i2s"; - simple-audio-card,bitclock-master = <&hdmi_dailink_master>; - simple-audio-card,frame-master = <&hdmi_dailink_master>; - - hdmi_dailink_master: simple-audio-card,cpu { - sound-dai = <&mcasp1>; - system-clock-direction-out; - }; - - simple-audio-card,codec { - sound-dai = <&sii9022>; - }; - }; -}; - -&mcasp1 { - auxclk-fs-ratio = <2177>; -}; - -&codec_audio { - status = "disabled"; -}; +// SPDX-License-Identifier: GPL-2.0-only OR MIT +/** + * Audio playback via HDMI for AM625-SK and AM62-LP SK. + * + * Links: + * AM625 SK: https://www.ti.com/tool/SK-AM62 + * AM62-LP SK: https://www.ti.com/tool/SK-AM62-LP + * + * Copyright (C) 2023-2024 Texas Instruments Incorporated - https://www.ti.com/ + */ + +/dts-v1/; +/plugin/; + +&{/} { + hdmi_audio: sound-sii9022 { + compatible = "simple-audio-card"; + simple-audio-card,name = "AM62x-Sil9022-HDMI"; + simple-audio-card,format = "i2s"; + simple-audio-card,bitclock-master = <&hdmi_dailink_master>; + simple-audio-card,frame-master = <&hdmi_dailink_master>; + + hdmi_dailink_master: simple-audio-card,cpu { + sound-dai = <&mcasp1>; + system-clock-direction-out; + }; + + simple-audio-card,codec { + sound-dai = <&sii9022>; + }; + }; +}; + +&mcasp1 { + auxclk-fs-ratio = <2177>; +}; + +&codec_audio { + status = "disabled"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am64-thermal.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am64-thermal.dtsi index 587c04f245..b1cd554242 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am64-thermal.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am64-thermal.dtsi @@ -1,36 +1,36 @@ -// SPDX-License-Identifier: GPL-2.0-only OR MIT -/* - * Copyright (C) 2023-2024 Texas Instruments Incorporated - https://www.ti.com/ - */ - -#include - -thermal_zones: thermal-zones { - main0_thermal: main0-thermal { - polling-delay-passive = <250>; /* milliSeconds */ - polling-delay = <500>; /* milliSeconds */ - thermal-sensors = <&main_vtm0 0>; - - trips { - main0_crit: main0-crit { - temperature = <105000>; /* milliCelsius */ - hysteresis = <2000>; /* milliCelsius */ - type = "critical"; - }; - }; - }; - - main1_thermal: main1-thermal { - polling-delay-passive = <250>; /* milliSeconds */ - polling-delay = <500>; /* milliSeconds */ - thermal-sensors = <&main_vtm0 1>; - - trips { - main1_crit: main1-crit { - temperature = <105000>; /* milliCelsius */ - hysteresis = <2000>; /* milliCelsius */ - type = "critical"; - }; - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0-only OR MIT +/* + * Copyright (C) 2023-2024 Texas Instruments Incorporated - https://www.ti.com/ + */ + +#include + +thermal_zones: thermal-zones { + main0_thermal: main0-thermal { + polling-delay-passive = <250>; /* milliSeconds */ + polling-delay = <500>; /* milliSeconds */ + thermal-sensors = <&main_vtm0 0>; + + trips { + main0_crit: main0-crit { + temperature = <105000>; /* milliCelsius */ + hysteresis = <2000>; /* milliCelsius */ + type = "critical"; + }; + }; + }; + + main1_thermal: main1-thermal { + polling-delay-passive = <250>; /* milliSeconds */ + polling-delay = <500>; /* milliSeconds */ + thermal-sensors = <&main_vtm0 1>; + + trips { + main1_crit: main1-crit { + temperature = <105000>; /* milliCelsius */ + hysteresis = <2000>; /* milliCelsius */ + type = "critical"; + }; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am642-hummingboard-t-pcie.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am642-hummingboard-t-pcie.dts index 259bea9a9a..023b2a6aaa 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am642-hummingboard-t-pcie.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am642-hummingboard-t-pcie.dts @@ -1,47 +1,47 @@ -// SPDX-License-Identifier: GPL-2.0+ -/* - * Copyright (C) 2023 Josua Mayer - * - * DTS for SolidRun AM642 HummingBoard-T, - * running on Cortex A53, with PCI-E. - * - */ - -#include "k3-am642-hummingboard-t.dts" - -#include "k3-serdes.h" - -/ { - model = "SolidRun AM642 HummingBoard-T with PCI-E"; -}; - -&pcie0_rc { - pinctrl-names = "default"; - pinctrl-0 = <&pcie0_default_pins>; - reset-gpios = <&main_gpio1 15 GPIO_ACTIVE_HIGH>; - phys = <&serdes0_link>; - phy-names = "pcie-phy"; - num-lanes = <1>; - status = "okay"; -}; - -&serdes0 { - #address-cells = <1>; - #size-cells = <0>; - - serdes0_link: phy@0 { - reg = <0>; - cdns,num-lanes = <1>; - cdns,phy-type = ; - #phy-cells = <0>; - resets = <&serdes_wiz0 1>; - }; -}; - -&serdes_ln_ctrl { - idle-states = ; -}; - -&serdes_mux { - idle-state = <1>; -}; +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (C) 2023 Josua Mayer + * + * DTS for SolidRun AM642 HummingBoard-T, + * running on Cortex A53, with PCI-E. + * + */ + +#include "k3-am642-hummingboard-t.dts" + +#include "k3-serdes.h" + +/ { + model = "SolidRun AM642 HummingBoard-T with PCI-E"; +}; + +&pcie0_rc { + pinctrl-names = "default"; + pinctrl-0 = <&pcie0_default_pins>; + reset-gpios = <&main_gpio1 15 GPIO_ACTIVE_HIGH>; + phys = <&serdes0_link>; + phy-names = "pcie-phy"; + num-lanes = <1>; + status = "okay"; +}; + +&serdes0 { + #address-cells = <1>; + #size-cells = <0>; + + serdes0_link: phy@0 { + reg = <0>; + cdns,num-lanes = <1>; + cdns,phy-type = ; + #phy-cells = <0>; + resets = <&serdes_wiz0 1>; + }; +}; + +&serdes_ln_ctrl { + idle-states = ; +}; + +&serdes_mux { + idle-state = <1>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am642-hummingboard-t-usb3.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am642-hummingboard-t-usb3.dts index b76b07573b..ee9bd618f3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am642-hummingboard-t-usb3.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am642-hummingboard-t-usb3.dts @@ -1,47 +1,47 @@ -// SPDX-License-Identifier: GPL-2.0+ -/* - * Copyright (C) 2023 Josua Mayer - * - * DTS for SolidRun AM642 HummingBoard-T, - * running on Cortex A53, with USB-3.1 Gen 1. - * - */ - -#include "k3-am642-hummingboard-t.dts" - -#include "k3-serdes.h" - -/ { - model = "SolidRun AM642 HummingBoard-T with USB-3.1 Gen 1"; -}; - -&serdes0 { - #address-cells = <1>; - #size-cells = <0>; - - serdes0_link: phy@0 { - reg = <0>; - cdns,num-lanes = <1>; - cdns,phy-type = ; - #phy-cells = <0>; - resets = <&serdes_wiz0 1>; - }; -}; - -&serdes_ln_ctrl { - idle-states = ; -}; - -&serdes_mux { - idle-state = <0>; -}; - -&usbss0 { - /delete-property/ ti,usb2-only; -}; - -&usb0 { - maximum-speed = "super-speed"; - phys = <&serdes0_link>; - phy-names = "cdns3,usb3-phy"; -}; +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (C) 2023 Josua Mayer + * + * DTS for SolidRun AM642 HummingBoard-T, + * running on Cortex A53, with USB-3.1 Gen 1. + * + */ + +#include "k3-am642-hummingboard-t.dts" + +#include "k3-serdes.h" + +/ { + model = "SolidRun AM642 HummingBoard-T with USB-3.1 Gen 1"; +}; + +&serdes0 { + #address-cells = <1>; + #size-cells = <0>; + + serdes0_link: phy@0 { + reg = <0>; + cdns,num-lanes = <1>; + cdns,phy-type = ; + #phy-cells = <0>; + resets = <&serdes_wiz0 1>; + }; +}; + +&serdes_ln_ctrl { + idle-states = ; +}; + +&serdes_mux { + idle-state = <0>; +}; + +&usbss0 { + /delete-property/ ti,usb2-only; +}; + +&usb0 { + maximum-speed = "super-speed"; + phys = <&serdes0_link>; + phy-names = "cdns3,usb3-phy"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am65-iot2050-common-pg2.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am65-iot2050-common-pg2.dtsi index 190e79dc42..b3c4c0eec3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am65-iot2050-common-pg2.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am65-iot2050-common-pg2.dtsi @@ -1,35 +1,35 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (c) Siemens AG, 2021-2023 - * - * Authors: - * Chao Zeng - * Jan Kiszka - * - * Common bits of the IOT2050 Basic and Advanced variants, PG2 - */ - -&main_pmx0 { - cp2102n_reset_pin_default: cp2102n-reset-default-pins { - pinctrl-single,pins = < - /* (AF12) GPIO1_24, used as cp2102 reset */ - AM65X_IOPAD(0x01e0, PIN_OUTPUT, 7) - >; - }; -}; - -&main_gpio1 { - pinctrl-names = "default"; - pinctrl-0 = - <&main_pcie_enable_pins_default>, - <&cp2102n_reset_pin_default>; - gpio-line-names = - "", "", "", "", "", "", "", "", "", "", - "", "", "", "", "", "", "", "", "", "", - "", "", "", "", "CP2102N-RESET"; -}; - -&dss { - /* Workaround needed to get DP clock of 154Mhz */ - assigned-clocks = <&k3_clks 67 0>; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (c) Siemens AG, 2021-2023 + * + * Authors: + * Chao Zeng + * Jan Kiszka + * + * Common bits of the IOT2050 Basic and Advanced variants, PG2 + */ + +&main_pmx0 { + cp2102n_reset_pin_default: cp2102n-reset-default-pins { + pinctrl-single,pins = < + /* (AF12) GPIO1_24, used as cp2102 reset */ + AM65X_IOPAD(0x01e0, PIN_OUTPUT, 7) + >; + }; +}; + +&main_gpio1 { + pinctrl-names = "default"; + pinctrl-0 = + <&main_pcie_enable_pins_default>, + <&cp2102n_reset_pin_default>; + gpio-line-names = + "", "", "", "", "", "", "", "", "", "", + "", "", "", "", "", "", "", "", "", "", + "", "", "", "", "CP2102N-RESET"; +}; + +&dss { + /* Workaround needed to get DP clock of 154Mhz */ + assigned-clocks = <&k3_clks 67 0>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am65-iot2050-usb3.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am65-iot2050-usb3.dtsi index ca5a096111..e5bd7c301b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am65-iot2050-usb3.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am65-iot2050-usb3.dtsi @@ -1,27 +1,27 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (c) Siemens AG, 2024 - * - * Authors: - * Jan Kiszka - * - * Common bits for IOT2050 variants with USB3 support - */ - -&serdes0 { - assigned-clocks = <&k3_clks 153 4>, <&serdes0 AM654_SERDES_CMU_REFCLK>; - assigned-clock-parents = <&k3_clks 153 7>, <&k3_clks 153 4>; -}; - -&dwc3_0 { - assigned-clock-parents = <&k3_clks 151 4>, /* set REF_CLK to 20MHz i.e. PER0_PLL/48 */ - <&k3_clks 151 8>; /* set PIPE3_TXB_CLK to WIZ8B2M4VSB */ - phys = <&serdes0 PHY_TYPE_USB3 0>; - phy-names = "usb3-phy"; -}; - -&usb0 { - maximum-speed = "super-speed"; - snps,dis-u1-entry-quirk; - snps,dis-u2-entry-quirk; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (c) Siemens AG, 2024 + * + * Authors: + * Jan Kiszka + * + * Common bits for IOT2050 variants with USB3 support + */ + +&serdes0 { + assigned-clocks = <&k3_clks 153 4>, <&serdes0 AM654_SERDES_CMU_REFCLK>; + assigned-clock-parents = <&k3_clks 153 7>, <&k3_clks 153 4>; +}; + +&dwc3_0 { + assigned-clock-parents = <&k3_clks 151 4>, /* set REF_CLK to 20MHz i.e. PER0_PLL/48 */ + <&k3_clks 151 8>; /* set PIPE3_TXB_CLK to WIZ8B2M4VSB */ + phys = <&serdes0 PHY_TYPE_USB3 0>; + phy-names = "usb3-phy"; +}; + +&usb0 { + maximum-speed = "super-speed"; + snps,dis-u1-entry-quirk; + snps,dis-u2-entry-quirk; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am6528-iot2050-basic-pg2.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am6528-iot2050-basic-pg2.dts index 47b9de3cba..c1faf9497b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am6528-iot2050-basic-pg2.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am6528-iot2050-basic-pg2.dts @@ -1,26 +1,26 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (c) Siemens AG, 2018-2021 - * - * Authors: - * Le Jin - * Jan Kiszka - * - * AM6528-based (dual-core) IOT2050 Basic variant, Product Generation 2 - * 1 GB RAM, no eMMC, main_uart0 on connector X30 - * - * Product homepage: - * https://new.siemens.com/global/en/products/automation/pc-based/iot-gateways/simatic-iot2050.html - */ - -/dts-v1/; - -#include "k3-am6528-iot2050-basic-common.dtsi" -#include "k3-am65-iot2050-common-pg2.dtsi" -#include "k3-am65-iot2050-dp.dtsi" -#include "k3-am65-iot2050-usb3.dtsi" - -/ { - compatible = "siemens,iot2050-basic-pg2", "ti,am654"; - model = "SIMATIC IOT2050 Basic PG2"; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (c) Siemens AG, 2018-2021 + * + * Authors: + * Le Jin + * Jan Kiszka + * + * AM6528-based (dual-core) IOT2050 Basic variant, Product Generation 2 + * 1 GB RAM, no eMMC, main_uart0 on connector X30 + * + * Product homepage: + * https://new.siemens.com/global/en/products/automation/pc-based/iot-gateways/simatic-iot2050.html + */ + +/dts-v1/; + +#include "k3-am6528-iot2050-basic-common.dtsi" +#include "k3-am65-iot2050-common-pg2.dtsi" +#include "k3-am65-iot2050-dp.dtsi" +#include "k3-am65-iot2050-usb3.dtsi" + +/ { + compatible = "siemens,iot2050-basic-pg2", "ti,am654"; + model = "SIMATIC IOT2050 Basic PG2"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am6528-iot2050-basic.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am6528-iot2050-basic.dts index 68d4676221..4968a47f31 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am6528-iot2050-basic.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am6528-iot2050-basic.dts @@ -1,24 +1,24 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (c) Siemens AG, 2018-2021 - * - * Authors: - * Le Jin - * Jan Kiszka - * - * AM6528-based (dual-core) IOT2050 Basic variant, Product Generation 1 - * 1 GB RAM, no eMMC, main_uart0 on connector X30 - * - * Product homepage: - * https://new.siemens.com/global/en/products/automation/pc-based/iot-gateways/simatic-iot2050.html - */ - -/dts-v1/; - -#include "k3-am6528-iot2050-basic-common.dtsi" -#include "k3-am65-iot2050-common-pg1.dtsi" - -/ { - compatible = "siemens,iot2050-basic", "ti,am654"; - model = "SIMATIC IOT2050 Basic"; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (c) Siemens AG, 2018-2021 + * + * Authors: + * Le Jin + * Jan Kiszka + * + * AM6528-based (dual-core) IOT2050 Basic variant, Product Generation 1 + * 1 GB RAM, no eMMC, main_uart0 on connector X30 + * + * Product homepage: + * https://new.siemens.com/global/en/products/automation/pc-based/iot-gateways/simatic-iot2050.html + */ + +/dts-v1/; + +#include "k3-am6528-iot2050-basic-common.dtsi" +#include "k3-am65-iot2050-common-pg1.dtsi" + +/ { + compatible = "siemens,iot2050-basic", "ti,am654"; + model = "SIMATIC IOT2050 Basic"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am6548-iot2050-advanced-pg2.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am6548-iot2050-advanced-pg2.dts index dc1730d573..ec721275e8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am6548-iot2050-advanced-pg2.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am6548-iot2050-advanced-pg2.dts @@ -1,27 +1,27 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (c) Siemens AG, 2018-2023 - * - * Authors: - * Le Jin - * Jan Kiszka - * - * AM6548-based (quad-core) IOT2050 Advanced variant, Product Generation 2 - * 2 GB RAM, 16 GB eMMC, USB-serial converter on connector X30 - * - * Product homepage: - * https://new.siemens.com/global/en/products/automation/pc-based/iot-gateways/simatic-iot2050.html - */ - -/dts-v1/; - -#include "k3-am6548-iot2050-advanced-common.dtsi" -#include "k3-am65-iot2050-common-pg2.dtsi" -#include "k3-am65-iot2050-arduino-connector.dtsi" -#include "k3-am65-iot2050-dp.dtsi" -#include "k3-am65-iot2050-usb3.dtsi" - -/ { - compatible = "siemens,iot2050-advanced-pg2", "ti,am654"; - model = "SIMATIC IOT2050 Advanced PG2"; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (c) Siemens AG, 2018-2023 + * + * Authors: + * Le Jin + * Jan Kiszka + * + * AM6548-based (quad-core) IOT2050 Advanced variant, Product Generation 2 + * 2 GB RAM, 16 GB eMMC, USB-serial converter on connector X30 + * + * Product homepage: + * https://new.siemens.com/global/en/products/automation/pc-based/iot-gateways/simatic-iot2050.html + */ + +/dts-v1/; + +#include "k3-am6548-iot2050-advanced-common.dtsi" +#include "k3-am65-iot2050-common-pg2.dtsi" +#include "k3-am65-iot2050-arduino-connector.dtsi" +#include "k3-am65-iot2050-dp.dtsi" +#include "k3-am65-iot2050-usb3.dtsi" + +/ { + compatible = "siemens,iot2050-advanced-pg2", "ti,am654"; + model = "SIMATIC IOT2050 Advanced PG2"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am6548-iot2050-advanced.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am6548-iot2050-advanced.dts index fb46ad1757..649652a540 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am6548-iot2050-advanced.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am6548-iot2050-advanced.dts @@ -1,25 +1,25 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (c) Siemens AG, 2018-2021 - * - * Authors: - * Le Jin - * Jan Kiszka - * - * AM6548-based (quad-core) IOT2050 Advanced variant, Product Generation 1 - * 2 GB RAM, 16 GB eMMC, USB-serial converter on connector X30 - * - * Product homepage: - * https://new.siemens.com/global/en/products/automation/pc-based/iot-gateways/simatic-iot2050.html - */ - -/dts-v1/; - -#include "k3-am6548-iot2050-advanced-common.dtsi" -#include "k3-am65-iot2050-common-pg1.dtsi" -#include "k3-am65-iot2050-arduino-connector.dtsi" - -/ { - compatible = "siemens,iot2050-advanced", "ti,am654"; - model = "SIMATIC IOT2050 Advanced"; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (c) Siemens AG, 2018-2021 + * + * Authors: + * Le Jin + * Jan Kiszka + * + * AM6548-based (quad-core) IOT2050 Advanced variant, Product Generation 1 + * 2 GB RAM, 16 GB eMMC, USB-serial converter on connector X30 + * + * Product homepage: + * https://new.siemens.com/global/en/products/automation/pc-based/iot-gateways/simatic-iot2050.html + */ + +/dts-v1/; + +#include "k3-am6548-iot2050-advanced-common.dtsi" +#include "k3-am65-iot2050-common-pg1.dtsi" +#include "k3-am65-iot2050-arduino-connector.dtsi" + +/ { + compatible = "siemens,iot2050-advanced", "ti,am654"; + model = "SIMATIC IOT2050 Advanced"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/toshiba/tmpv7708-visrobo-vrb.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/toshiba/tmpv7708-visrobo-vrb.dts index d63795c35b..ed7aa7e457 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/toshiba/tmpv7708-visrobo-vrb.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/toshiba/tmpv7708-visrobo-vrb.dts @@ -1,55 +1,55 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Device Tree File for TMPV7708 VisROBO VRB board - * - * (C) Copyright 2020, 2021, Toshiba Corporation. - * (C) Copyright 2020, Nobuhiro Iwamatsu - */ - -/dts-v1/; - -#include "tmpv7708-visrobo-vrc.dtsi" - -/ { - model = "Toshiba TMPV7708 VisROBO (VRB) board"; - compatible = "toshiba,tmpv7708-visrobo-vrb", "toshiba,tmpv7708"; - - aliases { - serial0 = &uart0; - serial1 = &uart1; - }; - - chosen { - stdout-path = "serial0:115200n8"; - }; - - /* 768MB memory */ - memory@80000000 { - device_type = "memory"; - reg = <0x0 0x80000000 0x0 0x30000000>; - }; -}; - -&uart0 { - status = "okay"; -}; - -&uart1 { - status = "okay"; -}; - -&piether { - status = "okay"; - phy-handle = <&phy0>; - phy-mode = "rgmii-id"; - - mdio0 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "snps,dwmac-mdio"; - phy0: ethernet-phy@1 { - device_type = "ethernet-phy"; - reg = <0x1>; - }; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Device Tree File for TMPV7708 VisROBO VRB board + * + * (C) Copyright 2020, 2021, Toshiba Corporation. + * (C) Copyright 2020, Nobuhiro Iwamatsu + */ + +/dts-v1/; + +#include "tmpv7708-visrobo-vrc.dtsi" + +/ { + model = "Toshiba TMPV7708 VisROBO (VRB) board"; + compatible = "toshiba,tmpv7708-visrobo-vrb", "toshiba,tmpv7708"; + + aliases { + serial0 = &uart0; + serial1 = &uart1; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + /* 768MB memory */ + memory@80000000 { + device_type = "memory"; + reg = <0x0 0x80000000 0x0 0x30000000>; + }; +}; + +&uart0 { + status = "okay"; +}; + +&uart1 { + status = "okay"; +}; + +&piether { + status = "okay"; + phy-handle = <&phy0>; + phy-mode = "rgmii-id"; + + mdio0 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "snps,dwmac-mdio"; + phy0: ethernet-phy@1 { + device_type = "ethernet-phy"; + reg = <0x1>; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/toshiba/tmpv7708-visrobo-vrc.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/toshiba/tmpv7708-visrobo-vrc.dtsi index 765f508ec0..0c8321022a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/toshiba/tmpv7708-visrobo-vrc.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/toshiba/tmpv7708-visrobo-vrc.dtsi @@ -1,40 +1,40 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Device Tree File for TMPV7708 VisROBO VRC SoM - * - * (C) Copyright 2020, 2021, Toshiba Corporation. - * (C) Copyright 2020, Nobuhiro Iwamatsu - */ - -/dts-v1/; - -#include "tmpv7708.dtsi" -#include - -&wdt { - status = "okay"; -}; - -&gpio { - status = "okay"; -}; - -&spi0_pins { - groups = "spi0_grp", "spi0_cs0_grp"; -}; - -&spi0 { - status = "okay"; - - mmc-slot@0 { - compatible = "mmc-spi-slot"; - reg = <0>; - gpios = <&gpio 15 GPIO_ACTIVE_LOW>; - voltage-ranges = <3200 3400>; - spi-max-frequency = <12000000>; - }; -}; - -&i2c0 { - status = "okay"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Device Tree File for TMPV7708 VisROBO VRC SoM + * + * (C) Copyright 2020, 2021, Toshiba Corporation. + * (C) Copyright 2020, Nobuhiro Iwamatsu + */ + +/dts-v1/; + +#include "tmpv7708.dtsi" +#include + +&wdt { + status = "okay"; +}; + +&gpio { + status = "okay"; +}; + +&spi0_pins { + groups = "spi0_grp", "spi0_cs0_grp"; +}; + +&spi0 { + status = "okay"; + + mmc-slot@0 { + compatible = "mmc-spi-slot"; + reg = <0>; + gpios = <&gpio 15 GPIO_ACTIVE_LOW>; + voltage-ranges = <3200 3400>; + spi-max-frequency = <12000000>; + }; +}; + +&i2c0 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-rev1.0.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-rev1.0.dts index 4fe9ab7390..495ca94b45 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-rev1.0.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-rev1.0.dts @@ -1,44 +1,44 @@ -// SPDX-License-Identifier: GPL-2.0+ -/* - * dts file for Xilinx ZynqMP ZCU102 Rev1.0 - * - * (C) Copyright 2016 - 2018, Xilinx, Inc. - * - * Michal Simek - */ - -#include "zynqmp-zcu102-revB.dts" - -/ { - model = "ZynqMP ZCU102 Rev1.0"; - compatible = "xlnx,zynqmp-zcu102-rev1.0", "xlnx,zynqmp-zcu102", "xlnx,zynqmp"; -}; - -&rproc_split { - status = "okay"; -}; - -&rproc_lockstep { - status = "disabled"; -}; - -&eeprom { - #address-cells = <1>; - #size-cells = <1>; - - board_sn: board-sn@0 { - reg = <0x0 0x14>; - }; - - eth_mac: eth-mac@20 { - reg = <0x20 0x6>; - }; - - board_name: board-name@d0 { - reg = <0xd0 0x6>; - }; - - board_revision: board-revision@e0 { - reg = <0xe0 0x3>; - }; -}; +// SPDX-License-Identifier: GPL-2.0+ +/* + * dts file for Xilinx ZynqMP ZCU102 Rev1.0 + * + * (C) Copyright 2016 - 2018, Xilinx, Inc. + * + * Michal Simek + */ + +#include "zynqmp-zcu102-revB.dts" + +/ { + model = "ZynqMP ZCU102 Rev1.0"; + compatible = "xlnx,zynqmp-zcu102-rev1.0", "xlnx,zynqmp-zcu102", "xlnx,zynqmp"; +}; + +&rproc_split { + status = "okay"; +}; + +&rproc_lockstep { + status = "disabled"; +}; + +&eeprom { + #address-cells = <1>; + #size-cells = <1>; + + board_sn: board-sn@0 { + reg = <0x0 0x14>; + }; + + eth_mac: eth-mac@20 { + reg = <0x20 0x6>; + }; + + board_name: board-name@d0 { + reg = <0xd0 0x6>; + }; + + board_revision: board-revision@e0 { + reg = <0xe0 0x3>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/xilinx/zynqmp-zcu1275-revA.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/xilinx/zynqmp-zcu1275-revA.dts index 11694ebae8..a38c2baeba 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/xilinx/zynqmp-zcu1275-revA.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/xilinx/zynqmp-zcu1275-revA.dts @@ -1,58 +1,58 @@ -// SPDX-License-Identifier: GPL-2.0+ -/* - * dts file for Xilinx ZynqMP ZCU1275 - * - * (C) Copyright 2017 - 2021, Xilinx, Inc. - * - * Michal Simek - * Siva Durga Prasad Paladugu - */ - -/dts-v1/; - -#include "zynqmp.dtsi" -#include "zynqmp-clk-ccf.dtsi" - -/ { - model = "ZynqMP ZCU1275 RevA"; - compatible = "xlnx,zynqmp-zcu1275-revA", "xlnx,zynqmp-zcu1275", "xlnx,zynqmp"; - - aliases { - serial0 = &uart0; - serial1 = &dcc; - spi0 = &qspi; - }; - - chosen { - bootargs = "earlycon"; - stdout-path = "serial0:115200n8"; - }; - - memory@0 { - device_type = "memory"; - reg = <0x0 0x0 0x0 0x80000000>; - }; -}; - -&dcc { - status = "okay"; -}; - -&gpio { - status = "okay"; -}; - -&qspi { - status = "okay"; - flash@0 { - compatible = "m25p80", "jedec,spi-nor"; - reg = <0x0>; - spi-tx-bus-width = <4>; - spi-rx-bus-width = <4>; - spi-max-frequency = <108000000>; - }; -}; - -&uart0 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0+ +/* + * dts file for Xilinx ZynqMP ZCU1275 + * + * (C) Copyright 2017 - 2021, Xilinx, Inc. + * + * Michal Simek + * Siva Durga Prasad Paladugu + */ + +/dts-v1/; + +#include "zynqmp.dtsi" +#include "zynqmp-clk-ccf.dtsi" + +/ { + model = "ZynqMP ZCU1275 RevA"; + compatible = "xlnx,zynqmp-zcu1275-revA", "xlnx,zynqmp-zcu1275", "xlnx,zynqmp"; + + aliases { + serial0 = &uart0; + serial1 = &dcc; + spi0 = &qspi; + }; + + chosen { + bootargs = "earlycon"; + stdout-path = "serial0:115200n8"; + }; + + memory@0 { + device_type = "memory"; + reg = <0x0 0x0 0x0 0x80000000>; + }; +}; + +&dcc { + status = "okay"; +}; + +&gpio { + status = "okay"; +}; + +&qspi { + status = "okay"; + flash@0 { + compatible = "m25p80", "jedec,spi-nor"; + reg = <0x0>; + spi-tx-bus-width = <4>; + spi-rx-bus-width = <4>; + spi-max-frequency = <108000000>; + }; +}; + +&uart0 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/crypto/sm4-ce-cipher-core.S b/image/debian/UFI003_MB_V02/kernel/arch/arm64/crypto/sm4-ce-cipher-core.S index 001483677d..4ac6cfbc57 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/crypto/sm4-ce-cipher-core.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/crypto/sm4-ce-cipher-core.S @@ -1,36 +1,36 @@ -// SPDX-License-Identifier: GPL-2.0 - -#include -#include - - .irp b, 0, 1, 2, 3, 4, 5, 6, 7, 8 - .set .Lv\b\().4s, \b - .endr - - .macro sm4e, rd, rn - .inst 0xcec08400 | .L\rd | (.L\rn << 5) - .endm - - /* - * void sm4_ce_do_crypt(const u32 *rk, u32 *out, const u32 *in); - */ - .text -SYM_FUNC_START(sm4_ce_do_crypt) - ld1 {v8.4s}, [x2] - ld1 {v0.4s-v3.4s}, [x0], #64 -CPU_LE( rev32 v8.16b, v8.16b ) - ld1 {v4.4s-v7.4s}, [x0] - sm4e v8.4s, v0.4s - sm4e v8.4s, v1.4s - sm4e v8.4s, v2.4s - sm4e v8.4s, v3.4s - sm4e v8.4s, v4.4s - sm4e v8.4s, v5.4s - sm4e v8.4s, v6.4s - sm4e v8.4s, v7.4s - rev64 v8.4s, v8.4s - ext v8.16b, v8.16b, v8.16b, #8 -CPU_LE( rev32 v8.16b, v8.16b ) - st1 {v8.4s}, [x1] - ret -SYM_FUNC_END(sm4_ce_do_crypt) +// SPDX-License-Identifier: GPL-2.0 + +#include +#include + + .irp b, 0, 1, 2, 3, 4, 5, 6, 7, 8 + .set .Lv\b\().4s, \b + .endr + + .macro sm4e, rd, rn + .inst 0xcec08400 | .L\rd | (.L\rn << 5) + .endm + + /* + * void sm4_ce_do_crypt(const u32 *rk, u32 *out, const u32 *in); + */ + .text +SYM_FUNC_START(sm4_ce_do_crypt) + ld1 {v8.4s}, [x2] + ld1 {v0.4s-v3.4s}, [x0], #64 +CPU_LE( rev32 v8.16b, v8.16b ) + ld1 {v4.4s-v7.4s}, [x0] + sm4e v8.4s, v0.4s + sm4e v8.4s, v1.4s + sm4e v8.4s, v2.4s + sm4e v8.4s, v3.4s + sm4e v8.4s, v4.4s + sm4e v8.4s, v5.4s + sm4e v8.4s, v6.4s + sm4e v8.4s, v7.4s + rev64 v8.4s, v8.4s + ext v8.16b, v8.16b, v8.16b, #8 +CPU_LE( rev32 v8.16b, v8.16b ) + st1 {v8.4s}, [x1] + ret +SYM_FUNC_END(sm4_ce_do_crypt) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/asm-bug.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/asm-bug.h index 2e69d93941..6e73809f64 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/asm-bug.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/asm-bug.h @@ -1,44 +1,44 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -#ifndef __ASM_ASM_BUG_H -/* - * Copyright (C) 2017 ARM Limited - */ -#define __ASM_ASM_BUG_H - -#include - -#ifdef CONFIG_DEBUG_BUGVERBOSE -#define _BUGVERBOSE_LOCATION(file, line) __BUGVERBOSE_LOCATION(file, line) -#define __BUGVERBOSE_LOCATION(file, line) \ - .pushsection .rodata.str,"aMS",@progbits,1; \ - 14472: .string file; \ - .popsection; \ - \ - .long 14472b - .; \ - .short line; -#else -#define _BUGVERBOSE_LOCATION(file, line) -#endif - -#ifdef CONFIG_GENERIC_BUG - -#define __BUG_ENTRY(flags) \ - .pushsection __bug_table,"aw"; \ - .align 2; \ - 14470: .long 14471f - .; \ -_BUGVERBOSE_LOCATION(__FILE__, __LINE__) \ - .short flags; \ - .align 2; \ - .popsection; \ - 14471: -#else -#define __BUG_ENTRY(flags) -#endif - -#define ASM_BUG_FLAGS(flags) \ - __BUG_ENTRY(flags) \ - brk BUG_BRK_IMM - -#define ASM_BUG() ASM_BUG_FLAGS(0) - -#endif /* __ASM_ASM_BUG_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +#ifndef __ASM_ASM_BUG_H +/* + * Copyright (C) 2017 ARM Limited + */ +#define __ASM_ASM_BUG_H + +#include + +#ifdef CONFIG_DEBUG_BUGVERBOSE +#define _BUGVERBOSE_LOCATION(file, line) __BUGVERBOSE_LOCATION(file, line) +#define __BUGVERBOSE_LOCATION(file, line) \ + .pushsection .rodata.str,"aMS",@progbits,1; \ + 14472: .string file; \ + .popsection; \ + \ + .long 14472b - .; \ + .short line; +#else +#define _BUGVERBOSE_LOCATION(file, line) +#endif + +#ifdef CONFIG_GENERIC_BUG + +#define __BUG_ENTRY(flags) \ + .pushsection __bug_table,"aw"; \ + .align 2; \ + 14470: .long 14471f - .; \ +_BUGVERBOSE_LOCATION(__FILE__, __LINE__) \ + .short flags; \ + .align 2; \ + .popsection; \ + 14471: +#else +#define __BUG_ENTRY(flags) +#endif + +#define ASM_BUG_FLAGS(flags) \ + __BUG_ENTRY(flags) \ + brk BUG_BRK_IMM + +#define ASM_BUG() ASM_BUG_FLAGS(0) + +#endif /* __ASM_ASM_BUG_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/bitops.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/bitops.h index 89867ea8cb..9b3c787132 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/bitops.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/bitops.h @@ -1,31 +1,31 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2012 ARM Ltd. - */ -#ifndef __ASM_BITOPS_H -#define __ASM_BITOPS_H - -#include - -#ifndef _LINUX_BITOPS_H -#error only can be included directly -#endif - -#include -#include -#include -#include - -#include -#include - -#include -#include - -#include -#include -#include -#include -#include - -#endif /* __ASM_BITOPS_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2012 ARM Ltd. + */ +#ifndef __ASM_BITOPS_H +#define __ASM_BITOPS_H + +#include + +#ifndef _LINUX_BITOPS_H +#error only can be included directly +#endif + +#include +#include +#include +#include + +#include +#include + +#include +#include + +#include +#include +#include +#include +#include + +#endif /* __ASM_BITOPS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/dmi.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/dmi.h index 777fbd3e6f..69d37d87b1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/dmi.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/dmi.h @@ -1,31 +1,31 @@ -/* - * arch/arm64/include/asm/dmi.h - * - * Copyright (C) 2013 Linaro Limited. - * Written by: Yi Li (yi.li@linaro.org) - * - * based on arch/ia64/include/asm/dmi.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_DMI_H -#define __ASM_DMI_H - -#include -#include - -/* - * According to section 2.3.6 of the UEFI spec, the firmware should not - * request a virtual mapping for configuration tables such as SMBIOS. - * This means we have to map them before use. - */ -#define dmi_early_remap(x, l) ioremap_cache(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) -#define dmi_alloc(l) kzalloc(l, GFP_KERNEL) - -#endif +/* + * arch/arm64/include/asm/dmi.h + * + * Copyright (C) 2013 Linaro Limited. + * Written by: Yi Li (yi.li@linaro.org) + * + * based on arch/ia64/include/asm/dmi.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_DMI_H +#define __ASM_DMI_H + +#include +#include + +/* + * According to section 2.3.6 of the UEFI spec, the firmware should not + * request a virtual mapping for configuration tables such as SMBIOS. + * This means we have to map them before use. + */ +#define dmi_early_remap(x, l) ioremap_cache(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) +#define dmi_alloc(l) kzalloc(l, GFP_KERNEL) + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/gpr-num.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/gpr-num.h index d8419f2f5b..05da4a7c57 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/gpr-num.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/gpr-num.h @@ -1,26 +1,26 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -#ifndef __ASM_GPR_NUM_H -#define __ASM_GPR_NUM_H - -#ifdef __ASSEMBLY__ - - .irp num,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30 - .equ .L__gpr_num_x\num, \num - .equ .L__gpr_num_w\num, \num - .endr - .equ .L__gpr_num_xzr, 31 - .equ .L__gpr_num_wzr, 31 - -#else /* __ASSEMBLY__ */ - -#define __DEFINE_ASM_GPR_NUMS \ -" .irp num,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30\n" \ -" .equ .L__gpr_num_x\\num, \\num\n" \ -" .equ .L__gpr_num_w\\num, \\num\n" \ -" .endr\n" \ -" .equ .L__gpr_num_xzr, 31\n" \ -" .equ .L__gpr_num_wzr, 31\n" - -#endif /* __ASSEMBLY__ */ - -#endif /* __ASM_GPR_NUM_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +#ifndef __ASM_GPR_NUM_H +#define __ASM_GPR_NUM_H + +#ifdef __ASSEMBLY__ + + .irp num,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30 + .equ .L__gpr_num_x\num, \num + .equ .L__gpr_num_w\num, \num + .endr + .equ .L__gpr_num_xzr, 31 + .equ .L__gpr_num_wzr, 31 + +#else /* __ASSEMBLY__ */ + +#define __DEFINE_ASM_GPR_NUMS \ +" .irp num,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30\n" \ +" .equ .L__gpr_num_x\\num, \\num\n" \ +" .equ .L__gpr_num_w\\num, \\num\n" \ +" .endr\n" \ +" .equ .L__gpr_num_xzr, 31\n" \ +" .equ .L__gpr_num_wzr, 31\n" + +#endif /* __ASSEMBLY__ */ + +#endif /* __ASM_GPR_NUM_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/kfence.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/kfence.h index 0ecd443760..a81937fae9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/kfence.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/kfence.h @@ -1,32 +1,32 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * arm64 KFENCE support. - * - * Copyright (C) 2020, Google LLC. - */ - -#ifndef __ASM_KFENCE_H -#define __ASM_KFENCE_H - -#include - -static inline bool arch_kfence_init_pool(void) { return true; } - -static inline bool kfence_protect_page(unsigned long addr, bool protect) -{ - set_memory_valid(addr, 1, !protect); - - return true; -} - -#ifdef CONFIG_KFENCE -extern bool kfence_early_init; -static inline bool arm64_kfence_can_set_direct_map(void) -{ - return !kfence_early_init; -} -#else /* CONFIG_KFENCE */ -static inline bool arm64_kfence_can_set_direct_map(void) { return false; } -#endif /* CONFIG_KFENCE */ - -#endif /* __ASM_KFENCE_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * arm64 KFENCE support. + * + * Copyright (C) 2020, Google LLC. + */ + +#ifndef __ASM_KFENCE_H +#define __ASM_KFENCE_H + +#include + +static inline bool arch_kfence_init_pool(void) { return true; } + +static inline bool kfence_protect_page(unsigned long addr, bool protect) +{ + set_memory_valid(addr, 1, !protect); + + return true; +} + +#ifdef CONFIG_KFENCE +extern bool kfence_early_init; +static inline bool arm64_kfence_can_set_direct_map(void) +{ + return !kfence_early_init; +} +#else /* CONFIG_KFENCE */ +static inline bool arm64_kfence_can_set_direct_map(void) { return false; } +#endif /* CONFIG_KFENCE */ + +#endif /* __ASM_KFENCE_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/lse.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/lse.h index 9968a93b7b..3129a5819d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/lse.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/lse.h @@ -1,37 +1,37 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_LSE_H -#define __ASM_LSE_H - -#include - -#ifdef CONFIG_ARM64_LSE_ATOMICS - -#define __LSE_PREAMBLE ".arch_extension lse\n" - -#include -#include -#include -#include -#include -#include -#include - -#define __lse_ll_sc_body(op, ...) \ -({ \ - alternative_has_cap_likely(ARM64_HAS_LSE_ATOMICS) ? \ - __lse_##op(__VA_ARGS__) : \ - __ll_sc_##op(__VA_ARGS__); \ -}) - -/* In-line patching at runtime */ -#define ARM64_LSE_ATOMIC_INSN(llsc, lse) \ - ALTERNATIVE(llsc, __LSE_PREAMBLE lse, ARM64_HAS_LSE_ATOMICS) - -#else /* CONFIG_ARM64_LSE_ATOMICS */ - -#define __lse_ll_sc_body(op, ...) __ll_sc_##op(__VA_ARGS__) - -#define ARM64_LSE_ATOMIC_INSN(llsc, lse) llsc - -#endif /* CONFIG_ARM64_LSE_ATOMICS */ -#endif /* __ASM_LSE_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_LSE_H +#define __ASM_LSE_H + +#include + +#ifdef CONFIG_ARM64_LSE_ATOMICS + +#define __LSE_PREAMBLE ".arch_extension lse\n" + +#include +#include +#include +#include +#include +#include +#include + +#define __lse_ll_sc_body(op, ...) \ +({ \ + alternative_has_cap_likely(ARM64_HAS_LSE_ATOMICS) ? \ + __lse_##op(__VA_ARGS__) : \ + __ll_sc_##op(__VA_ARGS__); \ +}) + +/* In-line patching at runtime */ +#define ARM64_LSE_ATOMIC_INSN(llsc, lse) \ + ALTERNATIVE(llsc, __LSE_PREAMBLE lse, ARM64_HAS_LSE_ATOMICS) + +#else /* CONFIG_ARM64_LSE_ATOMICS */ + +#define __lse_ll_sc_body(op, ...) __ll_sc_##op(__VA_ARGS__) + +#define ARM64_LSE_ATOMIC_INSN(llsc, lse) llsc + +#endif /* CONFIG_ARM64_LSE_ATOMICS */ +#endif /* __ASM_LSE_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/module.lds.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/module.lds.h index b21c62a964..fb944b4684 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/module.lds.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/module.lds.h @@ -1,27 +1,27 @@ -SECTIONS { - .plt 0 : { BYTE(0) } - .init.plt 0 : { BYTE(0) } - .text.ftrace_trampoline 0 : { BYTE(0) } - .init.text.ftrace_trampoline 0 : { BYTE(0) } - -#ifdef CONFIG_KASAN_SW_TAGS - /* - * Outlined checks go into comdat-deduplicated sections named .text.hot. - * Because they are in comdats they are not combined by the linker and - * we otherwise end up with multiple sections with the same .text.hot - * name in the .ko file. The kernel module loader warns if it sees - * multiple sections with the same name so we use this sections - * directive to force them into a single section and silence the - * warning. - */ - .text.hot : { *(.text.hot) } -#endif - -#ifdef CONFIG_UNWIND_TABLES - /* - * Currently, we only use unwind info at module load time, so we can - * put it into the .init allocation. - */ - .init.eh_frame : { *(.eh_frame) } -#endif -} +SECTIONS { + .plt 0 : { BYTE(0) } + .init.plt 0 : { BYTE(0) } + .text.ftrace_trampoline 0 : { BYTE(0) } + .init.text.ftrace_trampoline 0 : { BYTE(0) } + +#ifdef CONFIG_KASAN_SW_TAGS + /* + * Outlined checks go into comdat-deduplicated sections named .text.hot. + * Because they are in comdats they are not combined by the linker and + * we otherwise end up with multiple sections with the same .text.hot + * name in the .ko file. The kernel module loader warns if it sees + * multiple sections with the same name so we use this sections + * directive to force them into a single section and silence the + * warning. + */ + .text.hot : { *(.text.hot) } +#endif + +#ifdef CONFIG_UNWIND_TABLES + /* + * Currently, we only use unwind info at module load time, so we can + * put it into the .init allocation. + */ + .init.eh_frame : { *(.eh_frame) } +#endif +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/perf_event.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/perf_event.h index 5587b0ab4b..eb7071c9eb 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/perf_event.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/perf_event.h @@ -1,27 +1,27 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2012 ARM Ltd. - */ - -#ifndef __ASM_PERF_EVENT_H -#define __ASM_PERF_EVENT_H - -#include -#include - -#ifdef CONFIG_PERF_EVENTS -struct pt_regs; -extern unsigned long perf_instruction_pointer(struct pt_regs *regs); -extern unsigned long perf_misc_flags(struct pt_regs *regs); -#define perf_misc_flags(regs) perf_misc_flags(regs) -#define perf_arch_bpf_user_pt_regs(regs) ®s->user_regs -#endif - -#define perf_arch_fetch_caller_regs(regs, __ip) { \ - (regs)->pc = (__ip); \ - (regs)->regs[29] = (unsigned long) __builtin_frame_address(0); \ - (regs)->sp = current_stack_pointer; \ - (regs)->pstate = PSR_MODE_EL1h; \ -} - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2012 ARM Ltd. + */ + +#ifndef __ASM_PERF_EVENT_H +#define __ASM_PERF_EVENT_H + +#include +#include + +#ifdef CONFIG_PERF_EVENTS +struct pt_regs; +extern unsigned long perf_instruction_pointer(struct pt_regs *regs); +extern unsigned long perf_misc_flags(struct pt_regs *regs); +#define perf_misc_flags(regs) perf_misc_flags(regs) +#define perf_arch_bpf_user_pt_regs(regs) ®s->user_regs +#endif + +#define perf_arch_fetch_caller_regs(regs, __ip) { \ + (regs)->pc = (__ip); \ + (regs)->regs[29] = (unsigned long) __builtin_frame_address(0); \ + (regs)->sp = current_stack_pointer; \ + (regs)->pstate = PSR_MODE_EL1h; \ +} + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/por.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/por.h index 0da5d3bff4..e06e9f4736 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/por.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/por.h @@ -1,33 +1,33 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2023 Arm Ltd. - */ - -#ifndef _ASM_ARM64_POR_H -#define _ASM_ARM64_POR_H - -#define POR_BITS_PER_PKEY 4 -#define POR_ELx_IDX(por_elx, idx) (((por_elx) >> ((idx) * POR_BITS_PER_PKEY)) & 0xf) - -static inline bool por_elx_allows_read(u64 por, u8 pkey) -{ - u8 perm = POR_ELx_IDX(por, pkey); - - return perm & POE_R; -} - -static inline bool por_elx_allows_write(u64 por, u8 pkey) -{ - u8 perm = POR_ELx_IDX(por, pkey); - - return perm & POE_W; -} - -static inline bool por_elx_allows_exec(u64 por, u8 pkey) -{ - u8 perm = POR_ELx_IDX(por, pkey); - - return perm & POE_X; -} - -#endif /* _ASM_ARM64_POR_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2023 Arm Ltd. + */ + +#ifndef _ASM_ARM64_POR_H +#define _ASM_ARM64_POR_H + +#define POR_BITS_PER_PKEY 4 +#define POR_ELx_IDX(por_elx, idx) (((por_elx) >> ((idx) * POR_BITS_PER_PKEY)) & 0xf) + +static inline bool por_elx_allows_read(u64 por, u8 pkey) +{ + u8 perm = POR_ELx_IDX(por, pkey); + + return perm & POE_R; +} + +static inline bool por_elx_allows_write(u64 por, u8 pkey) +{ + u8 perm = POR_ELx_IDX(por, pkey); + + return perm & POE_W; +} + +static inline bool por_elx_allows_exec(u64 por, u8 pkey) +{ + u8 perm = POR_ELx_IDX(por, pkey); + + return perm & POE_X; +} + +#endif /* _ASM_ARM64_POR_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/probes.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/probes.h index 02f3bee4c0..0069467453 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/probes.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/probes.h @@ -1,30 +1,30 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * arch/arm64/include/asm/probes.h - * - * Copyright (C) 2013 Linaro Limited - */ -#ifndef _ARM_PROBES_H -#define _ARM_PROBES_H - -#include - -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; - pstate_check_t *pstate_cc; - probes_handler_t *handler; - /* restore address after step xol */ - unsigned long restore; -}; -#ifdef CONFIG_KPROBES -typedef u32 kprobe_opcode_t; -struct arch_specific_insn { - struct arch_probe_insn api; -}; -#endif - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * arch/arm64/include/asm/probes.h + * + * Copyright (C) 2013 Linaro Limited + */ +#ifndef _ARM_PROBES_H +#define _ARM_PROBES_H + +#include + +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; + pstate_check_t *pstate_cc; + probes_handler_t *handler; + /* restore address after step xol */ + unsigned long restore; +}; +#ifdef CONFIG_KPROBES +typedef u32 kprobe_opcode_t; +struct arch_specific_insn { + struct arch_probe_insn api; +}; +#endif + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/seccomp.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/seccomp.h index b3391d9f7b..b839755553 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/seccomp.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/seccomp.h @@ -1,32 +1,32 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * arch/arm64/include/asm/seccomp.h - * - * Copyright (C) 2014 Linaro Limited - * Author: AKASHI Takahiro - */ -#ifndef _ASM_SECCOMP_H -#define _ASM_SECCOMP_H - -#include - -#ifdef CONFIG_COMPAT -#define __NR_seccomp_read_32 __NR_compat32_read -#define __NR_seccomp_write_32 __NR_compat32_write -#define __NR_seccomp_exit_32 __NR_compat32_exit -#define __NR_seccomp_sigreturn_32 __NR_compat32_rt_sigreturn -#endif /* CONFIG_COMPAT */ - -#include - -#define SECCOMP_ARCH_NATIVE AUDIT_ARCH_AARCH64 -#define SECCOMP_ARCH_NATIVE_NR NR_syscalls -#define SECCOMP_ARCH_NATIVE_NAME "aarch64" -#ifdef CONFIG_COMPAT -#include -# define SECCOMP_ARCH_COMPAT AUDIT_ARCH_ARM -# define SECCOMP_ARCH_COMPAT_NR __NR_compat32_syscalls -# define SECCOMP_ARCH_COMPAT_NAME "arm" -#endif - -#endif /* _ASM_SECCOMP_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * arch/arm64/include/asm/seccomp.h + * + * Copyright (C) 2014 Linaro Limited + * Author: AKASHI Takahiro + */ +#ifndef _ASM_SECCOMP_H +#define _ASM_SECCOMP_H + +#include + +#ifdef CONFIG_COMPAT +#define __NR_seccomp_read_32 __NR_compat32_read +#define __NR_seccomp_write_32 __NR_compat32_write +#define __NR_seccomp_exit_32 __NR_compat32_exit +#define __NR_seccomp_sigreturn_32 __NR_compat32_rt_sigreturn +#endif /* CONFIG_COMPAT */ + +#include + +#define SECCOMP_ARCH_NATIVE AUDIT_ARCH_AARCH64 +#define SECCOMP_ARCH_NATIVE_NR NR_syscalls +#define SECCOMP_ARCH_NATIVE_NAME "aarch64" +#ifdef CONFIG_COMPAT +#include +# define SECCOMP_ARCH_COMPAT AUDIT_ARCH_ARM +# define SECCOMP_ARCH_COMPAT_NR __NR_compat32_syscalls +# define SECCOMP_ARCH_COMPAT_NAME "arm" +#endif + +#endif /* _ASM_SECCOMP_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/setup.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/setup.h index 235aeb8a7c..ba269a7a32 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/setup.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/setup.h @@ -1,44 +1,44 @@ -// SPDX-License-Identifier: GPL-2.0 - -#ifndef __ARM64_ASM_SETUP_H -#define __ARM64_ASM_SETUP_H - -#include - -#include - -/* - * These two variables are used in the head.S file. - */ -extern phys_addr_t __fdt_pointer __initdata; -extern u64 __cacheline_aligned boot_args[4]; - -static inline bool arch_parse_debug_rodata(char *arg) -{ - extern bool rodata_enabled; - extern bool rodata_full; - - if (!arg) - return false; - - if (!strcmp(arg, "full")) { - rodata_enabled = rodata_full = true; - return true; - } - - if (!strcmp(arg, "off")) { - rodata_enabled = rodata_full = false; - return true; - } - - if (!strcmp(arg, "on")) { - rodata_enabled = true; - rodata_full = false; - return true; - } - - return false; -} -#define arch_parse_debug_rodata arch_parse_debug_rodata - -#endif +// SPDX-License-Identifier: GPL-2.0 + +#ifndef __ARM64_ASM_SETUP_H +#define __ARM64_ASM_SETUP_H + +#include + +#include + +/* + * These two variables are used in the head.S file. + */ +extern phys_addr_t __fdt_pointer __initdata; +extern u64 __cacheline_aligned boot_args[4]; + +static inline bool arch_parse_debug_rodata(char *arg) +{ + extern bool rodata_enabled; + extern bool rodata_full; + + if (!arg) + return false; + + if (!strcmp(arg, "full")) { + rodata_enabled = rodata_full = true; + return true; + } + + if (!strcmp(arg, "off")) { + rodata_enabled = rodata_full = false; + return true; + } + + if (!strcmp(arg, "on")) { + rodata_enabled = true; + rodata_full = false; + return true; + } + + return false; +} +#define arch_parse_debug_rodata arch_parse_debug_rodata + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/signal.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/signal.h index 6661b5c454..ef449f5f4b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/signal.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/signal.h @@ -1,25 +1,25 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ARM64_ASM_SIGNAL_H -#define __ARM64_ASM_SIGNAL_H - -#include -#include -#include - -static inline void __user *arch_untagged_si_addr(void __user *addr, - unsigned long sig, - unsigned long si_code) -{ - /* - * For historical reasons, all bits of the fault address are exposed as - * address bits for watchpoint exceptions. New architectures should - * handle the tag bits consistently. - */ - if (sig == SIGTRAP && si_code == TRAP_BRKPT) - return addr; - - return untagged_addr(addr); -} -#define arch_untagged_si_addr arch_untagged_si_addr - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ARM64_ASM_SIGNAL_H +#define __ARM64_ASM_SIGNAL_H + +#include +#include +#include + +static inline void __user *arch_untagged_si_addr(void __user *addr, + unsigned long sig, + unsigned long si_code) +{ + /* + * For historical reasons, all bits of the fault address are exposed as + * address bits for watchpoint exceptions. New architectures should + * handle the tag bits consistently. + */ + if (sig == SIGTRAP && si_code == TRAP_BRKPT) + return addr; + + return untagged_addr(addr); +} +#define arch_untagged_si_addr arch_untagged_si_addr + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/smp_plat.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/smp_plat.h index 8bd42aa210..97ddc6c203 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/smp_plat.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/smp_plat.h @@ -1,44 +1,44 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Definitions specific to SMP platforms. - * - * Copyright (C) 2013 ARM Ltd. - */ - -#ifndef __ASM_SMP_PLAT_H -#define __ASM_SMP_PLAT_H - -#include - -#include -#include - -struct mpidr_hash { - u64 mask; - u32 shift_aff[4]; - u32 bits; -}; - -extern struct mpidr_hash mpidr_hash; - -static inline u32 mpidr_hash_size(void) -{ - return 1 << mpidr_hash.bits; -} - -/* - * Retrieve logical cpu index corresponding to a given MPIDR.Aff* - * - mpidr: MPIDR.Aff* bits to be used for the look-up - * - * Returns the cpu logical index or -EINVAL on look-up error - */ -static inline int get_logical_index(u64 mpidr) -{ - int cpu; - for (cpu = 0; cpu < nr_cpu_ids; cpu++) - if (cpu_logical_map(cpu) == mpidr) - return cpu; - return -EINVAL; -} - -#endif /* __ASM_SMP_PLAT_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Definitions specific to SMP platforms. + * + * Copyright (C) 2013 ARM Ltd. + */ + +#ifndef __ASM_SMP_PLAT_H +#define __ASM_SMP_PLAT_H + +#include + +#include +#include + +struct mpidr_hash { + u64 mask; + u32 shift_aff[4]; + u32 bits; +}; + +extern struct mpidr_hash mpidr_hash; + +static inline u32 mpidr_hash_size(void) +{ + return 1 << mpidr_hash.bits; +} + +/* + * Retrieve logical cpu index corresponding to a given MPIDR.Aff* + * - mpidr: MPIDR.Aff* bits to be used for the look-up + * + * Returns the cpu logical index or -EINVAL on look-up error + */ +static inline int get_logical_index(u64 mpidr) +{ + int cpu; + for (cpu = 0; cpu < nr_cpu_ids; cpu++) + if (cpu_logical_map(cpu) == mpidr) + return cpu; + return -EINVAL; +} + +#endif /* __ASM_SMP_PLAT_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/sparsemem.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/sparsemem.h index d7f81b6399..84783efdc9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/sparsemem.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/sparsemem.h @@ -1,32 +1,32 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2012 ARM Ltd. - */ -#ifndef __ASM_SPARSEMEM_H -#define __ASM_SPARSEMEM_H - -#include - -#define MAX_PHYSMEM_BITS PHYS_MASK_SHIFT -#define MAX_POSSIBLE_PHYSMEM_BITS (52) - -/* - * Section size must be at least 512MB for 64K base - * page size config. Otherwise it will be less than - * MAX_PAGE_ORDER and the build process will fail. - */ -#ifdef CONFIG_ARM64_64K_PAGES -#define SECTION_SIZE_BITS 29 - -#else - -/* - * Section size must be at least 128MB for 4K base - * page size config. Otherwise PMD based huge page - * entries could not be created for vmemmap mappings. - * 16K follows 4K for simplicity. - */ -#define SECTION_SIZE_BITS 27 -#endif /* CONFIG_ARM64_64K_PAGES */ - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2012 ARM Ltd. + */ +#ifndef __ASM_SPARSEMEM_H +#define __ASM_SPARSEMEM_H + +#include + +#define MAX_PHYSMEM_BITS PHYS_MASK_SHIFT +#define MAX_POSSIBLE_PHYSMEM_BITS (52) + +/* + * Section size must be at least 512MB for 64K base + * page size config. Otherwise it will be less than + * MAX_PAGE_ORDER and the build process will fail. + */ +#ifdef CONFIG_ARM64_64K_PAGES +#define SECTION_SIZE_BITS 29 + +#else + +/* + * Section size must be at least 128MB for 4K base + * page size config. Otherwise PMD based huge page + * entries could not be created for vmemmap mappings. + * 16K follows 4K for simplicity. + */ +#define SECTION_SIZE_BITS 27 +#endif /* CONFIG_ARM64_64K_PAGES */ + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/stat.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/stat.h index c145bac9cc..3b4a62f5ae 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/stat.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/stat.h @@ -1,51 +1,51 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2012 ARM Ltd. - */ -#ifndef __ASM_STAT_H -#define __ASM_STAT_H - -#include - -#ifdef CONFIG_COMPAT - -#include -#include - -/* - * struct stat64 is needed for compat tasks only. Its definition is different - * from the generic struct stat64. - */ -struct stat64 { - compat_u64 st_dev; - unsigned char __pad0[4]; - -#define STAT64_HAS_BROKEN_ST_INO 1 - compat_ulong_t __st_ino; - compat_uint_t st_mode; - compat_uint_t st_nlink; - - compat_ulong_t st_uid; - compat_ulong_t st_gid; - - compat_u64 st_rdev; - unsigned char __pad3[4]; - - compat_s64 st_size; - compat_ulong_t st_blksize; - compat_u64 st_blocks; /* Number of 512-byte blocks allocated. */ - - compat_ulong_t st_atime; - compat_ulong_t st_atime_nsec; - - compat_ulong_t st_mtime; - compat_ulong_t st_mtime_nsec; - - compat_ulong_t st_ctime; - compat_ulong_t st_ctime_nsec; - - compat_u64 st_ino; -}; - -#endif -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2012 ARM Ltd. + */ +#ifndef __ASM_STAT_H +#define __ASM_STAT_H + +#include + +#ifdef CONFIG_COMPAT + +#include +#include + +/* + * struct stat64 is needed for compat tasks only. Its definition is different + * from the generic struct stat64. + */ +struct stat64 { + compat_u64 st_dev; + unsigned char __pad0[4]; + +#define STAT64_HAS_BROKEN_ST_INO 1 + compat_ulong_t __st_ino; + compat_uint_t st_mode; + compat_uint_t st_nlink; + + compat_ulong_t st_uid; + compat_ulong_t st_gid; + + compat_u64 st_rdev; + unsigned char __pad3[4]; + + compat_s64 st_size; + compat_ulong_t st_blksize; + compat_u64 st_blocks; /* Number of 512-byte blocks allocated. */ + + compat_ulong_t st_atime; + compat_ulong_t st_atime_nsec; + + compat_ulong_t st_mtime; + compat_ulong_t st_mtime_nsec; + + compat_ulong_t st_ctime; + compat_ulong_t st_ctime_nsec; + + compat_u64 st_ino; +}; + +#endif +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/system_misc.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/system_misc.h index a01d91f968..c343442567 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/system_misc.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/system_misc.h @@ -1,37 +1,37 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Based on arch/arm/include/asm/system_misc.h - * - * Copyright (C) 2012 ARM Ltd. - */ -#ifndef __ASM_SYSTEM_MISC_H -#define __ASM_SYSTEM_MISC_H - -#ifndef __ASSEMBLY__ - -#include -#include -#include -#include -#include -#include - -struct pt_regs; - -void die(const char *msg, struct pt_regs *regs, long err); - -struct siginfo; -void arm64_notify_die(const char *str, struct pt_regs *regs, - int signo, int sicode, unsigned long far, - unsigned long err); - -void hook_debug_fault_code(int nr, int (*fn)(unsigned long, unsigned long, - struct pt_regs *), - int sig, int code, const char *name); - -struct mm_struct; -extern void __show_regs(struct pt_regs *); - -#endif /* __ASSEMBLY__ */ - -#endif /* __ASM_SYSTEM_MISC_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Based on arch/arm/include/asm/system_misc.h + * + * Copyright (C) 2012 ARM Ltd. + */ +#ifndef __ASM_SYSTEM_MISC_H +#define __ASM_SYSTEM_MISC_H + +#ifndef __ASSEMBLY__ + +#include +#include +#include +#include +#include +#include + +struct pt_regs; + +void die(const char *msg, struct pt_regs *regs, long err); + +struct siginfo; +void arm64_notify_die(const char *str, struct pt_regs *regs, + int signo, int sicode, unsigned long far, + unsigned long err); + +void hook_debug_fault_code(int nr, int (*fn)(unsigned long, unsigned long, + struct pt_regs *), + int sig, int code, const char *name); + +struct mm_struct; +extern void __show_regs(struct pt_regs *); + +#endif /* __ASSEMBLY__ */ + +#endif /* __ASM_SYSTEM_MISC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/unistd.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/unistd.h index 9a3231e52b..80618c9bbc 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/unistd.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/unistd.h @@ -1,33 +1,33 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2012 ARM Ltd. - */ -#ifdef CONFIG_COMPAT -#define __ARCH_WANT_COMPAT_STAT -#define __ARCH_WANT_COMPAT_STAT64 -#define __ARCH_WANT_SYS_GETHOSTNAME -#define __ARCH_WANT_SYS_PAUSE -#define __ARCH_WANT_SYS_GETPGRP -#define __ARCH_WANT_SYS_NICE -#define __ARCH_WANT_SYS_SIGPENDING -#define __ARCH_WANT_SYS_SIGPROCMASK -#define __ARCH_WANT_COMPAT_SYS_SENDFILE -#define __ARCH_WANT_SYS_UTIME32 -#define __ARCH_WANT_SYS_FORK -#define __ARCH_WANT_SYS_VFORK - -/* - * The following SVCs are ARM private. - */ -#define __ARM_NR_COMPAT_BASE 0x0f0000 -#define __ARM_NR_compat_cacheflush (__ARM_NR_COMPAT_BASE + 2) -#define __ARM_NR_compat_set_tls (__ARM_NR_COMPAT_BASE + 5) -#define __ARM_NR_COMPAT_END (__ARM_NR_COMPAT_BASE + 0x800) -#endif - -#define __ARCH_WANT_SYS_CLONE -#define __ARCH_WANT_NEW_STAT - -#include - -#define NR_syscalls (__NR_syscalls) +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2012 ARM Ltd. + */ +#ifdef CONFIG_COMPAT +#define __ARCH_WANT_COMPAT_STAT +#define __ARCH_WANT_COMPAT_STAT64 +#define __ARCH_WANT_SYS_GETHOSTNAME +#define __ARCH_WANT_SYS_PAUSE +#define __ARCH_WANT_SYS_GETPGRP +#define __ARCH_WANT_SYS_NICE +#define __ARCH_WANT_SYS_SIGPENDING +#define __ARCH_WANT_SYS_SIGPROCMASK +#define __ARCH_WANT_COMPAT_SYS_SENDFILE +#define __ARCH_WANT_SYS_UTIME32 +#define __ARCH_WANT_SYS_FORK +#define __ARCH_WANT_SYS_VFORK + +/* + * The following SVCs are ARM private. + */ +#define __ARM_NR_COMPAT_BASE 0x0f0000 +#define __ARM_NR_compat_cacheflush (__ARM_NR_COMPAT_BASE + 2) +#define __ARM_NR_compat_set_tls (__ARM_NR_COMPAT_BASE + 5) +#define __ARM_NR_COMPAT_END (__ARM_NR_COMPAT_BASE + 0x800) +#endif + +#define __ARCH_WANT_SYS_CLONE +#define __ARCH_WANT_NEW_STAT + +#include + +#define NR_syscalls (__NR_syscalls) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/vdso.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/vdso.h index 5e568b61d1..4305995c8f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/vdso.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/vdso.h @@ -1,31 +1,31 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2012 ARM Limited - */ -#ifndef __ASM_VDSO_H -#define __ASM_VDSO_H - -/* - * Default link address for the vDSO. - * Since we randomise the VDSO mapping, there's little point in trying - * to prelink this. - */ -#define VDSO_LBASE 0x0 - -#define __VVAR_PAGES 2 - -#ifndef __ASSEMBLY__ - -#include - -#define VDSO_SYMBOL(base, name) \ -({ \ - (void *)(vdso_offset_##name - VDSO_LBASE + (unsigned long)(base)); \ -}) - -extern char vdso_start[], vdso_end[]; -extern char vdso32_start[], vdso32_end[]; - -#endif /* !__ASSEMBLY__ */ - -#endif /* __ASM_VDSO_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2012 ARM Limited + */ +#ifndef __ASM_VDSO_H +#define __ASM_VDSO_H + +/* + * Default link address for the vDSO. + * Since we randomise the VDSO mapping, there's little point in trying + * to prelink this. + */ +#define VDSO_LBASE 0x0 + +#define __VVAR_PAGES 2 + +#ifndef __ASSEMBLY__ + +#include + +#define VDSO_SYMBOL(base, name) \ +({ \ + (void *)(vdso_offset_##name - VDSO_LBASE + (unsigned long)(base)); \ +}) + +extern char vdso_start[], vdso_end[]; +extern char vdso32_start[], vdso32_end[]; + +#endif /* !__ASSEMBLY__ */ + +#endif /* __ASM_VDSO_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/vdso/compat_barrier.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/vdso/compat_barrier.h index 938cba8396..3ac35f4a66 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/vdso/compat_barrier.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/vdso/compat_barrier.h @@ -1,37 +1,37 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2018 ARM Limited - */ -#ifndef __COMPAT_BARRIER_H -#define __COMPAT_BARRIER_H - -#ifndef __ASSEMBLY__ -/* - * Warning: This code is meant to be used with - * ENABLE_COMPAT_VDSO only. - */ -#ifndef ENABLE_COMPAT_VDSO -#error This header is meant to be used with ENABLE_COMPAT_VDSO only -#endif - -#ifdef dmb -#undef dmb -#endif - -#define dmb(option) __asm__ __volatile__ ("dmb " #option : : : "memory") - -#define aarch32_smp_mb() dmb(ish) -#define aarch32_smp_rmb() dmb(ishld) -#define aarch32_smp_wmb() dmb(ishst) - -#undef smp_mb -#undef smp_rmb -#undef smp_wmb - -#define smp_mb() aarch32_smp_mb() -#define smp_rmb() aarch32_smp_rmb() -#define smp_wmb() aarch32_smp_wmb() - -#endif /* !__ASSEMBLY__ */ - -#endif /* __COMPAT_BARRIER_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2018 ARM Limited + */ +#ifndef __COMPAT_BARRIER_H +#define __COMPAT_BARRIER_H + +#ifndef __ASSEMBLY__ +/* + * Warning: This code is meant to be used with + * ENABLE_COMPAT_VDSO only. + */ +#ifndef ENABLE_COMPAT_VDSO +#error This header is meant to be used with ENABLE_COMPAT_VDSO only +#endif + +#ifdef dmb +#undef dmb +#endif + +#define dmb(option) __asm__ __volatile__ ("dmb " #option : : : "memory") + +#define aarch32_smp_mb() dmb(ish) +#define aarch32_smp_rmb() dmb(ishld) +#define aarch32_smp_wmb() dmb(ishst) + +#undef smp_mb +#undef smp_rmb +#undef smp_wmb + +#define smp_mb() aarch32_smp_mb() +#define smp_rmb() aarch32_smp_rmb() +#define smp_wmb() aarch32_smp_wmb() + +#endif /* !__ASSEMBLY__ */ + +#endif /* __COMPAT_BARRIER_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/vmalloc.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/vmalloc.h index 5ee3fbf887..38fafffe69 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/vmalloc.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/vmalloc.h @@ -1,34 +1,34 @@ -#ifndef _ASM_ARM64_VMALLOC_H -#define _ASM_ARM64_VMALLOC_H - -#include -#include - -#ifdef CONFIG_HAVE_ARCH_HUGE_VMAP - -#define arch_vmap_pud_supported arch_vmap_pud_supported -static inline bool arch_vmap_pud_supported(pgprot_t prot) -{ - /* - * SW table walks can't handle removal of intermediate entries. - */ - return pud_sect_supported() && - !IS_ENABLED(CONFIG_PTDUMP_DEBUGFS); -} - -#define arch_vmap_pmd_supported arch_vmap_pmd_supported -static inline bool arch_vmap_pmd_supported(pgprot_t prot) -{ - /* See arch_vmap_pud_supported() */ - return !IS_ENABLED(CONFIG_PTDUMP_DEBUGFS); -} - -#endif - -#define arch_vmap_pgprot_tagged arch_vmap_pgprot_tagged -static inline pgprot_t arch_vmap_pgprot_tagged(pgprot_t prot) -{ - return pgprot_tagged(prot); -} - -#endif /* _ASM_ARM64_VMALLOC_H */ +#ifndef _ASM_ARM64_VMALLOC_H +#define _ASM_ARM64_VMALLOC_H + +#include +#include + +#ifdef CONFIG_HAVE_ARCH_HUGE_VMAP + +#define arch_vmap_pud_supported arch_vmap_pud_supported +static inline bool arch_vmap_pud_supported(pgprot_t prot) +{ + /* + * SW table walks can't handle removal of intermediate entries. + */ + return pud_sect_supported() && + !IS_ENABLED(CONFIG_PTDUMP_DEBUGFS); +} + +#define arch_vmap_pmd_supported arch_vmap_pmd_supported +static inline bool arch_vmap_pmd_supported(pgprot_t prot) +{ + /* See arch_vmap_pud_supported() */ + return !IS_ENABLED(CONFIG_PTDUMP_DEBUGFS); +} + +#endif + +#define arch_vmap_pgprot_tagged arch_vmap_pgprot_tagged +static inline pgprot_t arch_vmap_pgprot_tagged(pgprot_t prot) +{ + return pgprot_tagged(prot); +} + +#endif /* _ASM_ARM64_VMALLOC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/vmap_stack.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/vmap_stack.h index 43528b9fdb..20873099c0 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/vmap_stack.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/vmap_stack.h @@ -1,29 +1,29 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -// Copyright (C) 2017 Arm Ltd. -#ifndef __ASM_VMAP_STACK_H -#define __ASM_VMAP_STACK_H - -#include -#include -#include -#include -#include -#include -#include - -/* - * To ensure that VMAP'd stack overflow detection works correctly, all VMAP'd - * stacks need to have the same alignment. - */ -static inline unsigned long *arch_alloc_vmap_stack(size_t stack_size, int node) -{ - void *p; - - BUILD_BUG_ON(!IS_ENABLED(CONFIG_VMAP_STACK)); - - p = __vmalloc_node(stack_size, THREAD_ALIGN, THREADINFO_GFP, node, - __builtin_return_address(0)); - return kasan_reset_tag(p); -} - -#endif /* __ASM_VMAP_STACK_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +// Copyright (C) 2017 Arm Ltd. +#ifndef __ASM_VMAP_STACK_H +#define __ASM_VMAP_STACK_H + +#include +#include +#include +#include +#include +#include +#include + +/* + * To ensure that VMAP'd stack overflow detection works correctly, all VMAP'd + * stacks need to have the same alignment. + */ +static inline unsigned long *arch_alloc_vmap_stack(size_t stack_size, int node) +{ + void *p; + + BUILD_BUG_ON(!IS_ENABLED(CONFIG_VMAP_STACK)); + + p = __vmalloc_node(stack_size, THREAD_ALIGN, THREADINFO_GFP, node, + __builtin_return_address(0)); + return kasan_reset_tag(p); +} + +#endif /* __ASM_VMAP_STACK_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/uapi/asm/auxvec.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/uapi/asm/auxvec.h index b43764446b..743c0b84fd 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/uapi/asm/auxvec.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/uapi/asm/auxvec.h @@ -1,26 +1,26 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -/* - * Copyright (C) 2012 ARM Ltd. - * - * 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. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -#ifndef __ASM_AUXVEC_H -#define __ASM_AUXVEC_H - -/* vDSO location */ -#define AT_SYSINFO_EHDR 33 -#define AT_MINSIGSTKSZ 51 /* stack needed for signal delivery */ - -#define AT_VECTOR_SIZE_ARCH 2 /* entries in ARCH_DLINFO */ - -#endif +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +/* + * Copyright (C) 2012 ARM Ltd. + * + * 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. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ +#ifndef __ASM_AUXVEC_H +#define __ASM_AUXVEC_H + +/* vDSO location */ +#define AT_SYSINFO_EHDR 33 +#define AT_MINSIGSTKSZ 51 /* stack needed for signal delivery */ + +#define AT_VECTOR_SIZE_ARCH 2 /* entries in ARCH_DLINFO */ + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/uapi/asm/bitsperlong.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/uapi/asm/bitsperlong.h index 19c577d9de..485d60bee2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/uapi/asm/bitsperlong.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/uapi/asm/bitsperlong.h @@ -1,24 +1,24 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -/* - * Copyright (C) 2012 ARM Ltd. - * - * 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. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -#ifndef __ASM_BITSPERLONG_H -#define __ASM_BITSPERLONG_H - -#define __BITS_PER_LONG 64 - -#include - -#endif /* __ASM_BITSPERLONG_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +/* + * Copyright (C) 2012 ARM Ltd. + * + * 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. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ +#ifndef __ASM_BITSPERLONG_H +#define __ASM_BITSPERLONG_H + +#define __BITS_PER_LONG 64 + +#include + +#endif /* __ASM_BITSPERLONG_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/uapi/asm/byteorder.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/uapi/asm/byteorder.h index eb4fc189e0..ca9cfdab33 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/uapi/asm/byteorder.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/uapi/asm/byteorder.h @@ -1,26 +1,26 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -/* - * Copyright (C) 2012 ARM Ltd. - * - * 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. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -#ifndef __ASM_BYTEORDER_H -#define __ASM_BYTEORDER_H - -#ifdef __AARCH64EB__ -#include -#else -#include -#endif - -#endif /* __ASM_BYTEORDER_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +/* + * Copyright (C) 2012 ARM Ltd. + * + * 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. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ +#ifndef __ASM_BYTEORDER_H +#define __ASM_BYTEORDER_H + +#ifdef __AARCH64EB__ +#include +#else +#include +#endif + +#endif /* __ASM_BYTEORDER_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/uapi/asm/param.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/uapi/asm/param.h index 56d27c9612..b115c55577 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/uapi/asm/param.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/uapi/asm/param.h @@ -1,24 +1,24 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -/* - * Copyright (C) 2012 ARM Ltd. - * - * 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. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -#ifndef __ASM_PARAM_H -#define __ASM_PARAM_H - -#define EXEC_PAGESIZE 65536 - -#include - -#endif +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +/* + * Copyright (C) 2012 ARM Ltd. + * + * 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. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ +#ifndef __ASM_PARAM_H +#define __ASM_PARAM_H + +#define EXEC_PAGESIZE 65536 + +#include + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/uapi/asm/setup.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/uapi/asm/setup.h index fe1705ed58..5d703888f3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/uapi/asm/setup.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/uapi/asm/setup.h @@ -1,27 +1,27 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -/* - * Based on arch/arm/include/asm/setup.h - * - * Copyright (C) 1997-1999 Russell King - * Copyright (C) 2012 ARM Ltd. - * - * 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. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -#ifndef __ASM_SETUP_H -#define __ASM_SETUP_H - -#include - -#define COMMAND_LINE_SIZE 2048 - -#endif +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +/* + * Based on arch/arm/include/asm/setup.h + * + * Copyright (C) 1997-1999 Russell King + * Copyright (C) 2012 ARM Ltd. + * + * 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. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ +#ifndef __ASM_SETUP_H +#define __ASM_SETUP_H + +#include + +#define COMMAND_LINE_SIZE 2048 + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/uapi/asm/signal.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/uapi/asm/signal.h index 564376e6d2..bdf0cfb046 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/uapi/asm/signal.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/uapi/asm/signal.h @@ -1,28 +1,28 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -/* - * Copyright (C) 2012 ARM Ltd. - * - * 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. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -#ifndef __ASM_SIGNAL_H -#define __ASM_SIGNAL_H - -/* Required for AArch32 compatibility. */ -#define SA_RESTORER 0x04000000 - -#define MINSIGSTKSZ 5120 -#define SIGSTKSZ 16384 - -#include - -#endif +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +/* + * Copyright (C) 2012 ARM Ltd. + * + * 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. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ +#ifndef __ASM_SIGNAL_H +#define __ASM_SIGNAL_H + +/* Required for AArch32 compatibility. */ +#define SA_RESTORER 0x04000000 + +#define MINSIGSTKSZ 5120 +#define SIGSTKSZ 16384 + +#include + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/uapi/asm/statfs.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/uapi/asm/statfs.h index 45103be17c..615357b6ba 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/uapi/asm/statfs.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/uapi/asm/statfs.h @@ -1,24 +1,24 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -/* - * Copyright (C) 2012 ARM Ltd. - * - * 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. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -#ifndef __ASM_STATFS_H -#define __ASM_STATFS_H - -#define ARCH_PACK_COMPAT_STATFS64 __attribute__((packed,aligned(4))) - -#include - -#endif +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +/* + * Copyright (C) 2012 ARM Ltd. + * + * 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. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ +#ifndef __ASM_STATFS_H +#define __ASM_STATFS_H + +#define ARCH_PACK_COMPAT_STATFS64 __attribute__((packed,aligned(4))) + +#include + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/kernel/idle.c b/image/debian/UFI003_MB_V02/kernel/arch/arm64/kernel/idle.c index 1675f61ab8..05cfb347ec 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/kernel/idle.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/kernel/idle.c @@ -1,45 +1,45 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Low-level idle sequences - */ - -#include -#include - -#include -#include -#include -#include - -/* - * cpu_do_idle() - * - * Idle the processor (wait for interrupt). - * - * If the CPU supports priority masking we must do additional work to - * ensure that interrupts are not masked at the PMR (because the core will - * not wake up if we block the wake up signal in the interrupt controller). - */ -void __cpuidle cpu_do_idle(void) -{ - struct arm_cpuidle_irq_context context; - - arm_cpuidle_save_irq_context(&context); - - dsb(sy); - wfi(); - - arm_cpuidle_restore_irq_context(&context); -} - -/* - * This is our default idle handler. - */ -void __cpuidle arch_cpu_idle(void) -{ - /* - * This should do all the clock switching and wait for interrupt - * tricks - */ - cpu_do_idle(); -} +// SPDX-License-Identifier: GPL-2.0-only +/* + * Low-level idle sequences + */ + +#include +#include + +#include +#include +#include +#include + +/* + * cpu_do_idle() + * + * Idle the processor (wait for interrupt). + * + * If the CPU supports priority masking we must do additional work to + * ensure that interrupts are not masked at the PMR (because the core will + * not wake up if we block the wake up signal in the interrupt controller). + */ +void __cpuidle cpu_do_idle(void) +{ + struct arm_cpuidle_irq_context context; + + arm_cpuidle_save_irq_context(&context); + + dsb(sy); + wfi(); + + arm_cpuidle_restore_irq_context(&context); +} + +/* + * This is our default idle handler. + */ +void __cpuidle arch_cpu_idle(void) +{ + /* + * This should do all the clock switching and wait for interrupt + * tricks + */ + cpu_do_idle(); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/kernel/jump_label.c b/image/debian/UFI003_MB_V02/kernel/arch/arm64/kernel/jump_label.c index 97806784d9..f63ea915d6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/kernel/jump_label.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/kernel/jump_label.c @@ -1,35 +1,35 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2013 Huawei Ltd. - * Author: Jiang Liu - * - * Based on arch/arm/kernel/jump_label.c - */ -#include -#include -#include -#include -#include - -bool arch_jump_label_transform_queue(struct jump_entry *entry, - enum jump_label_type type) -{ - void *addr = (void *)jump_entry_code(entry); - u32 insn; - - if (type == JUMP_LABEL_JMP) { - insn = aarch64_insn_gen_branch_imm(jump_entry_code(entry), - jump_entry_target(entry), - AARCH64_INSN_BRANCH_NOLINK); - } else { - insn = aarch64_insn_gen_nop(); - } - - aarch64_insn_patch_text_nosync(addr, insn); - return true; -} - -void arch_jump_label_transform_apply(void) -{ - kick_all_cpus_sync(); -} +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2013 Huawei Ltd. + * Author: Jiang Liu + * + * Based on arch/arm/kernel/jump_label.c + */ +#include +#include +#include +#include +#include + +bool arch_jump_label_transform_queue(struct jump_entry *entry, + enum jump_label_type type) +{ + void *addr = (void *)jump_entry_code(entry); + u32 insn; + + if (type == JUMP_LABEL_JMP) { + insn = aarch64_insn_gen_branch_imm(jump_entry_code(entry), + jump_entry_target(entry), + AARCH64_INSN_BRANCH_NOLINK); + } else { + insn = aarch64_insn_gen_nop(); + } + + aarch64_insn_patch_text_nosync(addr, insn); + return true; +} + +void arch_jump_label_transform_apply(void) +{ + kick_all_cpus_sync(); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/kernel/pci.c b/image/debian/UFI003_MB_V02/kernel/arch/arm64/kernel/pci.c index 3a52e8c523..fd9a7bed83 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/kernel/pci.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/kernel/pci.c @@ -1,42 +1,42 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Code borrowed from powerpc/kernel/pci-common.c - * - * Copyright (C) 2003 Anton Blanchard , IBM - * Copyright (C) 2014 ARM Ltd. - */ - -#include - -/* - * raw_pci_read/write - Platform-specific PCI config space access. - */ -int raw_pci_read(unsigned int domain, unsigned int bus, - unsigned int devfn, int reg, int len, u32 *val) -{ - struct pci_bus *b = pci_find_bus(domain, bus); - - if (!b) - return PCIBIOS_DEVICE_NOT_FOUND; - return b->ops->read(b, devfn, reg, len, val); -} - -int raw_pci_write(unsigned int domain, unsigned int bus, - unsigned int devfn, int reg, int len, u32 val) -{ - struct pci_bus *b = pci_find_bus(domain, bus); - - if (!b) - return PCIBIOS_DEVICE_NOT_FOUND; - return b->ops->write(b, devfn, reg, len, val); -} - -#ifdef CONFIG_NUMA - -int pcibus_to_node(struct pci_bus *bus) -{ - return dev_to_node(&bus->dev); -} -EXPORT_SYMBOL(pcibus_to_node); - -#endif +// SPDX-License-Identifier: GPL-2.0-only +/* + * Code borrowed from powerpc/kernel/pci-common.c + * + * Copyright (C) 2003 Anton Blanchard , IBM + * Copyright (C) 2014 ARM Ltd. + */ + +#include + +/* + * raw_pci_read/write - Platform-specific PCI config space access. + */ +int raw_pci_read(unsigned int domain, unsigned int bus, + unsigned int devfn, int reg, int len, u32 *val) +{ + struct pci_bus *b = pci_find_bus(domain, bus); + + if (!b) + return PCIBIOS_DEVICE_NOT_FOUND; + return b->ops->read(b, devfn, reg, len, val); +} + +int raw_pci_write(unsigned int domain, unsigned int bus, + unsigned int devfn, int reg, int len, u32 val) +{ + struct pci_bus *b = pci_find_bus(domain, bus); + + if (!b) + return PCIBIOS_DEVICE_NOT_FOUND; + return b->ops->write(b, devfn, reg, len, val); +} + +#ifdef CONFIG_NUMA + +int pcibus_to_node(struct pci_bus *bus) +{ + return dev_to_node(&bus->dev); +} +EXPORT_SYMBOL(pcibus_to_node); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/kernel/probes/decode-insn.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/kernel/probes/decode-insn.h index 379ec93186..8b758c5a20 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/kernel/probes/decode-insn.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/kernel/probes/decode-insn.h @@ -1,33 +1,33 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * arch/arm64/kernel/probes/decode-insn.h - * - * Copyright (C) 2013 Linaro Limited. - */ - -#ifndef _ARM_KERNEL_KPROBES_ARM64_H -#define _ARM_KERNEL_KPROBES_ARM64_H - -#include - -/* - * ARM strongly recommends a limit of 128 bytes between LoadExcl and - * StoreExcl instructions in a single thread of execution. So keep the - * max atomic context size as 32. - */ -#define MAX_ATOMIC_CONTEXT_SIZE (128 / sizeof(kprobe_opcode_t)) - -enum probe_insn { - INSN_REJECTED, - INSN_GOOD_NO_SLOT, - INSN_GOOD, -}; - -#ifdef CONFIG_KPROBES -enum probe_insn __kprobes -arm_kprobe_decode_insn(kprobe_opcode_t *addr, struct arch_specific_insn *asi); -#endif -enum probe_insn __kprobes -arm_probe_decode_insn(probe_opcode_t insn, struct arch_probe_insn *asi); - -#endif /* _ARM_KERNEL_KPROBES_ARM64_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * arch/arm64/kernel/probes/decode-insn.h + * + * Copyright (C) 2013 Linaro Limited. + */ + +#ifndef _ARM_KERNEL_KPROBES_ARM64_H +#define _ARM_KERNEL_KPROBES_ARM64_H + +#include + +/* + * ARM strongly recommends a limit of 128 bytes between LoadExcl and + * StoreExcl instructions in a single thread of execution. So keep the + * max atomic context size as 32. + */ +#define MAX_ATOMIC_CONTEXT_SIZE (128 / sizeof(kprobe_opcode_t)) + +enum probe_insn { + INSN_REJECTED, + INSN_GOOD_NO_SLOT, + INSN_GOOD, +}; + +#ifdef CONFIG_KPROBES +enum probe_insn __kprobes +arm_kprobe_decode_insn(kprobe_opcode_t *addr, struct arch_specific_insn *asi); +#endif +enum probe_insn __kprobes +arm_probe_decode_insn(probe_opcode_t insn, struct arch_probe_insn *asi); + +#endif /* _ARM_KERNEL_KPROBES_ARM64_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/kernel/probes/simulate-insn.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/kernel/probes/simulate-insn.h index 103a5d7348..e065dc9221 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/kernel/probes/simulate-insn.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/kernel/probes/simulate-insn.h @@ -1,20 +1,20 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * arch/arm64/kernel/probes/simulate-insn.h - * - * Copyright (C) 2013 Linaro Limited - */ - -#ifndef _ARM_KERNEL_KPROBES_SIMULATE_INSN_H -#define _ARM_KERNEL_KPROBES_SIMULATE_INSN_H - -void simulate_adr_adrp(u32 opcode, long addr, struct pt_regs *regs); -void simulate_b_bl(u32 opcode, long addr, struct pt_regs *regs); -void simulate_b_cond(u32 opcode, long addr, struct pt_regs *regs); -void simulate_br_blr_ret(u32 opcode, long addr, struct pt_regs *regs); -void simulate_cbz_cbnz(u32 opcode, long addr, struct pt_regs *regs); -void simulate_tbz_tbnz(u32 opcode, long addr, struct pt_regs *regs); -void simulate_ldr_literal(u32 opcode, long addr, struct pt_regs *regs); -void simulate_ldrsw_literal(u32 opcode, long addr, struct pt_regs *regs); - -#endif /* _ARM_KERNEL_KPROBES_SIMULATE_INSN_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * arch/arm64/kernel/probes/simulate-insn.h + * + * Copyright (C) 2013 Linaro Limited + */ + +#ifndef _ARM_KERNEL_KPROBES_SIMULATE_INSN_H +#define _ARM_KERNEL_KPROBES_SIMULATE_INSN_H + +void simulate_adr_adrp(u32 opcode, long addr, struct pt_regs *regs); +void simulate_b_bl(u32 opcode, long addr, struct pt_regs *regs); +void simulate_b_cond(u32 opcode, long addr, struct pt_regs *regs); +void simulate_br_blr_ret(u32 opcode, long addr, struct pt_regs *regs); +void simulate_cbz_cbnz(u32 opcode, long addr, struct pt_regs *regs); +void simulate_tbz_tbnz(u32 opcode, long addr, struct pt_regs *regs); +void simulate_ldr_literal(u32 opcode, long addr, struct pt_regs *regs); +void simulate_ldrsw_literal(u32 opcode, long addr, struct pt_regs *regs); + +#endif /* _ARM_KERNEL_KPROBES_SIMULATE_INSN_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/kernel/return_address.c b/image/debian/UFI003_MB_V02/kernel/arch/arm64/kernel/return_address.c index 9665e16865..68330017d0 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/kernel/return_address.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/kernel/return_address.c @@ -1,50 +1,50 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * arch/arm64/kernel/return_address.c - * - * Copyright (C) 2013 Linaro Limited - * Author: AKASHI Takahiro - */ - -#include -#include -#include -#include - -#include - -struct return_address_data { - unsigned int level; - void *addr; -}; - -static bool save_return_addr(void *d, unsigned long pc) -{ - struct return_address_data *data = d; - - if (!data->level) { - data->addr = (void *)pc; - return false; - } else { - --data->level; - return true; - } -} -NOKPROBE_SYMBOL(save_return_addr); - -void *return_address(unsigned int level) -{ - struct return_address_data data; - - data.level = level + 2; - data.addr = NULL; - - arch_stack_walk(save_return_addr, &data, current, NULL); - - if (!data.level) - return data.addr; - else - return NULL; -} -EXPORT_SYMBOL_GPL(return_address); -NOKPROBE_SYMBOL(return_address); +// SPDX-License-Identifier: GPL-2.0-only +/* + * arch/arm64/kernel/return_address.c + * + * Copyright (C) 2013 Linaro Limited + * Author: AKASHI Takahiro + */ + +#include +#include +#include +#include + +#include + +struct return_address_data { + unsigned int level; + void *addr; +}; + +static bool save_return_addr(void *d, unsigned long pc) +{ + struct return_address_data *data = d; + + if (!data->level) { + data->addr = (void *)pc; + return false; + } else { + --data->level; + return true; + } +} +NOKPROBE_SYMBOL(save_return_addr); + +void *return_address(unsigned int level) +{ + struct return_address_data data; + + data.level = level + 2; + data.addr = NULL; + + arch_stack_walk(save_return_addr, &data, current, NULL); + + if (!data.level) + return data.addr; + else + return NULL; +} +EXPORT_SYMBOL_GPL(return_address); +NOKPROBE_SYMBOL(return_address); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/kernel/trace-events-emulation.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/kernel/trace-events-emulation.h index 3125e58eee..c51b547b58 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/kernel/trace-events-emulation.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/kernel/trace-events-emulation.h @@ -1,36 +1,36 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#undef TRACE_SYSTEM -#define TRACE_SYSTEM emulation - -#if !defined(_TRACE_EMULATION_H) || defined(TRACE_HEADER_MULTI_READ) -#define _TRACE_EMULATION_H - -#include - -TRACE_EVENT(instruction_emulation, - - TP_PROTO(const char *instr, u64 addr), - TP_ARGS(instr, addr), - - TP_STRUCT__entry( - __string(instr, instr) - __field(u64, addr) - ), - - TP_fast_assign( - __assign_str(instr); - __entry->addr = addr; - ), - - TP_printk("instr=\"%s\" addr=0x%llx", __get_str(instr), __entry->addr) -); - -#endif /* _TRACE_EMULATION_H */ - -/* This part must be outside protection */ -#undef TRACE_INCLUDE_PATH -#undef TRACE_INCLUDE_FILE -#define TRACE_INCLUDE_PATH . - -#define TRACE_INCLUDE_FILE trace-events-emulation -#include +/* SPDX-License-Identifier: GPL-2.0 */ +#undef TRACE_SYSTEM +#define TRACE_SYSTEM emulation + +#if !defined(_TRACE_EMULATION_H) || defined(TRACE_HEADER_MULTI_READ) +#define _TRACE_EMULATION_H + +#include + +TRACE_EVENT(instruction_emulation, + + TP_PROTO(const char *instr, u64 addr), + TP_ARGS(instr, addr), + + TP_STRUCT__entry( + __string(instr, instr) + __field(u64, addr) + ), + + TP_fast_assign( + __assign_str(instr); + __entry->addr = addr; + ), + + TP_printk("instr=\"%s\" addr=0x%llx", __get_str(instr), __entry->addr) +); + +#endif /* _TRACE_EMULATION_H */ + +/* This part must be outside protection */ +#undef TRACE_INCLUDE_PATH +#undef TRACE_INCLUDE_FILE +#define TRACE_INCLUDE_PATH . + +#define TRACE_INCLUDE_FILE trace-events-emulation +#include diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/kernel/vdso/vgettimeofday.c b/image/debian/UFI003_MB_V02/kernel/arch/arm64/kernel/vdso/vgettimeofday.c index 8b9bee5550..9941c5b04f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/kernel/vdso/vgettimeofday.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/kernel/vdso/vgettimeofday.c @@ -1,29 +1,29 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * ARM64 userspace implementations of gettimeofday() and similar. - * - * Copyright (C) 2018 ARM Limited - * - */ - -int __kernel_clock_gettime(clockid_t clock, struct __kernel_timespec *ts); -int __kernel_gettimeofday(struct __kernel_old_timeval *tv, struct timezone *tz); -int __kernel_clock_getres(clockid_t clock_id, struct __kernel_timespec *res); - -int __kernel_clock_gettime(clockid_t clock, - struct __kernel_timespec *ts) -{ - return __cvdso_clock_gettime(clock, ts); -} - -int __kernel_gettimeofday(struct __kernel_old_timeval *tv, - struct timezone *tz) -{ - return __cvdso_gettimeofday(tv, tz); -} - -int __kernel_clock_getres(clockid_t clock_id, - struct __kernel_timespec *res) -{ - return __cvdso_clock_getres(clock_id, res); -} +// SPDX-License-Identifier: GPL-2.0 +/* + * ARM64 userspace implementations of gettimeofday() and similar. + * + * Copyright (C) 2018 ARM Limited + * + */ + +int __kernel_clock_gettime(clockid_t clock, struct __kernel_timespec *ts); +int __kernel_gettimeofday(struct __kernel_old_timeval *tv, struct timezone *tz); +int __kernel_clock_getres(clockid_t clock_id, struct __kernel_timespec *res); + +int __kernel_clock_gettime(clockid_t clock, + struct __kernel_timespec *ts) +{ + return __cvdso_clock_gettime(clock, ts); +} + +int __kernel_gettimeofday(struct __kernel_old_timeval *tv, + struct timezone *tz) +{ + return __cvdso_gettimeofday(tv, tz); +} + +int __kernel_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/arm64/kernel/vdso32/vgettimeofday.c b/image/debian/UFI003_MB_V02/kernel/arch/arm64/kernel/vdso32/vgettimeofday.c index 745746eda6..29b4d8f61e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/kernel/vdso32/vgettimeofday.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/kernel/vdso32/vgettimeofday.c @@ -1,47 +1,47 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * ARM64 compat userspace implementations of gettimeofday() and similar. - * - * Copyright (C) 2018 ARM Limited - * - */ -#define BUILD_VDSO32_64 -#include - -int __vdso_clock_gettime(clockid_t clock, - struct old_timespec32 *ts) -{ - return __cvdso_clock_gettime32(clock, ts); -} - -int __vdso_clock_gettime64(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 old_timespec32 *res) -{ - return __cvdso_clock_getres_time32(clock_id, res); -} - -/* Avoid unresolved references emitted by GCC */ - -void __aeabi_unwind_cpp_pr0(void) -{ -} - -void __aeabi_unwind_cpp_pr1(void) -{ -} - -void __aeabi_unwind_cpp_pr2(void) -{ -} +// SPDX-License-Identifier: GPL-2.0 +/* + * ARM64 compat userspace implementations of gettimeofday() and similar. + * + * Copyright (C) 2018 ARM Limited + * + */ +#define BUILD_VDSO32_64 +#include + +int __vdso_clock_gettime(clockid_t clock, + struct old_timespec32 *ts) +{ + return __cvdso_clock_gettime32(clock, ts); +} + +int __vdso_clock_gettime64(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 old_timespec32 *res) +{ + return __cvdso_clock_getres_time32(clock_id, res); +} + +/* Avoid unresolved references emitted by GCC */ + +void __aeabi_unwind_cpp_pr0(void) +{ +} + +void __aeabi_unwind_cpp_pr1(void) +{ +} + +void __aeabi_unwind_cpp_pr2(void) +{ +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/kvm/hyp/include/nvhe/gfp.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/kvm/hyp/include/nvhe/gfp.h index b2c09efe99..97c527ef53 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/kvm/hyp/include/nvhe/gfp.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/kvm/hyp/include/nvhe/gfp.h @@ -1,34 +1,34 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -#ifndef __KVM_HYP_GFP_H -#define __KVM_HYP_GFP_H - -#include - -#include -#include - -#define HYP_NO_ORDER USHRT_MAX - -struct hyp_pool { - /* - * Spinlock protecting concurrent changes to the memory pool as well as - * the struct hyp_page of the pool's pages until we have a proper atomic - * API at EL2. - */ - hyp_spinlock_t lock; - struct list_head free_area[NR_PAGE_ORDERS]; - phys_addr_t range_start; - phys_addr_t range_end; - unsigned short max_order; -}; - -/* Allocation */ -void *hyp_alloc_pages(struct hyp_pool *pool, unsigned short order); -void hyp_split_page(struct hyp_page *page); -void hyp_get_page(struct hyp_pool *pool, void *addr); -void hyp_put_page(struct hyp_pool *pool, void *addr); - -/* Used pages cannot be freed */ -int hyp_pool_init(struct hyp_pool *pool, u64 pfn, unsigned int nr_pages, - unsigned int reserved_pages); -#endif /* __KVM_HYP_GFP_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +#ifndef __KVM_HYP_GFP_H +#define __KVM_HYP_GFP_H + +#include + +#include +#include + +#define HYP_NO_ORDER USHRT_MAX + +struct hyp_pool { + /* + * Spinlock protecting concurrent changes to the memory pool as well as + * the struct hyp_page of the pool's pages until we have a proper atomic + * API at EL2. + */ + hyp_spinlock_t lock; + struct list_head free_area[NR_PAGE_ORDERS]; + phys_addr_t range_start; + phys_addr_t range_end; + unsigned short max_order; +}; + +/* Allocation */ +void *hyp_alloc_pages(struct hyp_pool *pool, unsigned short order); +void hyp_split_page(struct hyp_page *page); +void hyp_get_page(struct hyp_pool *pool, void *addr); +void hyp_put_page(struct hyp_pool *pool, void *addr); + +/* Used pages cannot be freed */ +int hyp_pool_init(struct hyp_pool *pool, u64 pfn, unsigned int nr_pages, + unsigned int reserved_pages); +#endif /* __KVM_HYP_GFP_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/kvm/hyp/nvhe/cache.S b/image/debian/UFI003_MB_V02/kernel/arch/arm64/kvm/hyp/nvhe/cache.S index 1becb8d8a7..85936c17ae 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/kvm/hyp/nvhe/cache.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/kvm/hyp/nvhe/cache.S @@ -1,25 +1,25 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Code copied from arch/arm64/mm/cache.S. - */ - -#include -#include -#include - -SYM_FUNC_START(__pi_dcache_clean_inval_poc) - dcache_by_line_op civac, sy, x0, x1, x2, x3 - ret -SYM_FUNC_END(__pi_dcache_clean_inval_poc) -SYM_FUNC_ALIAS(dcache_clean_inval_poc, __pi_dcache_clean_inval_poc) - -SYM_FUNC_START(__pi_icache_inval_pou) -alternative_if ARM64_HAS_CACHE_DIC - isb - ret -alternative_else_nop_endif - - invalidate_icache_by_line x0, x1, x2, x3 - ret -SYM_FUNC_END(__pi_icache_inval_pou) -SYM_FUNC_ALIAS(icache_inval_pou, __pi_icache_inval_pou) +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Code copied from arch/arm64/mm/cache.S. + */ + +#include +#include +#include + +SYM_FUNC_START(__pi_dcache_clean_inval_poc) + dcache_by_line_op civac, sy, x0, x1, x2, x3 + ret +SYM_FUNC_END(__pi_dcache_clean_inval_poc) +SYM_FUNC_ALIAS(dcache_clean_inval_poc, __pi_dcache_clean_inval_poc) + +SYM_FUNC_START(__pi_icache_inval_pou) +alternative_if ARM64_HAS_CACHE_DIC + isb + ret +alternative_else_nop_endif + + invalidate_icache_by_line x0, x1, x2, x3 + ret +SYM_FUNC_END(__pi_icache_inval_pou) +SYM_FUNC_ALIAS(icache_inval_pou, __pi_icache_inval_pou) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/kvm/hyp/nvhe/hyp.lds.S b/image/debian/UFI003_MB_V02/kernel/arch/arm64/kvm/hyp/nvhe/hyp.lds.S index 5090e2afc7..f4562f417d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/kvm/hyp/nvhe/hyp.lds.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/kvm/hyp/nvhe/hyp.lds.S @@ -1,29 +1,29 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2020 Google LLC. - * Written by David Brazdil - * - * Linker script used for partial linking of nVHE EL2 object files. - */ - -#include -#include -#include -#include - -SECTIONS { - HYP_SECTION(.idmap.text) - HYP_SECTION(.text) - HYP_SECTION(.data..ro_after_init) - HYP_SECTION(.rodata) - - /* - * .hyp..data..percpu needs to be page aligned to maintain the same - * alignment for when linking into vmlinux. - */ - . = ALIGN(PAGE_SIZE); - BEGIN_HYP_SECTION(.data..percpu) - PERCPU_INPUT(L1_CACHE_BYTES) - END_HYP_SECTION - HYP_SECTION(.bss) -} +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2020 Google LLC. + * Written by David Brazdil + * + * Linker script used for partial linking of nVHE EL2 object files. + */ + +#include +#include +#include +#include + +SECTIONS { + HYP_SECTION(.idmap.text) + HYP_SECTION(.text) + HYP_SECTION(.data..ro_after_init) + HYP_SECTION(.rodata) + + /* + * .hyp..data..percpu needs to be page aligned to maintain the same + * alignment for when linking into vmlinux. + */ + . = ALIGN(PAGE_SIZE); + BEGIN_HYP_SECTION(.data..percpu) + PERCPU_INPUT(L1_CACHE_BYTES) + END_HYP_SECTION + HYP_SECTION(.bss) +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/kvm/hyp/nvhe/sysreg-sr.c b/image/debian/UFI003_MB_V02/kernel/arch/arm64/kvm/hyp/nvhe/sysreg-sr.c index 371e44acd7..29305022bc 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/kvm/hyp/nvhe/sysreg-sr.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/kvm/hyp/nvhe/sysreg-sr.c @@ -1,35 +1,35 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2012-2015 - ARM Ltd - * Author: Marc Zyngier - */ - -#include - -#include -#include - -#include -#include -#include -#include - -/* - * Non-VHE: Both host and guest must save everything. - */ - -void __sysreg_save_state_nvhe(struct kvm_cpu_context *ctxt) -{ - __sysreg_save_el1_state(ctxt); - __sysreg_save_common_state(ctxt); - __sysreg_save_user_state(ctxt); - __sysreg_save_el2_return_state(ctxt); -} - -void __sysreg_restore_state_nvhe(struct kvm_cpu_context *ctxt) -{ - __sysreg_restore_el1_state(ctxt); - __sysreg_restore_common_state(ctxt); - __sysreg_restore_user_state(ctxt); - __sysreg_restore_el2_return_state(ctxt); -} +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2012-2015 - ARM Ltd + * Author: Marc Zyngier + */ + +#include + +#include +#include + +#include +#include +#include +#include + +/* + * Non-VHE: Both host and guest must save everything. + */ + +void __sysreg_save_state_nvhe(struct kvm_cpu_context *ctxt) +{ + __sysreg_save_el1_state(ctxt); + __sysreg_save_common_state(ctxt); + __sysreg_save_user_state(ctxt); + __sysreg_save_el2_return_state(ctxt); +} + +void __sysreg_restore_state_nvhe(struct kvm_cpu_context *ctxt) +{ + __sysreg_restore_el1_state(ctxt); + __sysreg_restore_common_state(ctxt); + __sysreg_restore_user_state(ctxt); + __sysreg_restore_el2_return_state(ctxt); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/kvm/vgic/trace.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/kvm/vgic/trace.h index d1da5fc7d9..83c64401a7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/kvm/vgic/trace.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/kvm/vgic/trace.h @@ -1,38 +1,38 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#if !defined(_TRACE_VGIC_H) || defined(TRACE_HEADER_MULTI_READ) -#define _TRACE_VGIC_H - -#include - -#undef TRACE_SYSTEM -#define TRACE_SYSTEM kvm - -TRACE_EVENT(vgic_update_irq_pending, - TP_PROTO(unsigned long vcpu_id, __u32 irq, bool level), - TP_ARGS(vcpu_id, irq, level), - - TP_STRUCT__entry( - __field( unsigned long, vcpu_id ) - __field( __u32, irq ) - __field( bool, level ) - ), - - TP_fast_assign( - __entry->vcpu_id = vcpu_id; - __entry->irq = irq; - __entry->level = level; - ), - - TP_printk("VCPU: %ld, IRQ %d, level: %d", - __entry->vcpu_id, __entry->irq, __entry->level) -); - -#endif /* _TRACE_VGIC_H */ - -#undef TRACE_INCLUDE_PATH -#define TRACE_INCLUDE_PATH ../../arch/arm64/kvm/vgic -#undef TRACE_INCLUDE_FILE -#define TRACE_INCLUDE_FILE trace - -/* This part must be outside protection */ -#include +/* SPDX-License-Identifier: GPL-2.0 */ +#if !defined(_TRACE_VGIC_H) || defined(TRACE_HEADER_MULTI_READ) +#define _TRACE_VGIC_H + +#include + +#undef TRACE_SYSTEM +#define TRACE_SYSTEM kvm + +TRACE_EVENT(vgic_update_irq_pending, + TP_PROTO(unsigned long vcpu_id, __u32 irq, bool level), + TP_ARGS(vcpu_id, irq, level), + + TP_STRUCT__entry( + __field( unsigned long, vcpu_id ) + __field( __u32, irq ) + __field( bool, level ) + ), + + TP_fast_assign( + __entry->vcpu_id = vcpu_id; + __entry->irq = irq; + __entry->level = level; + ), + + TP_printk("VCPU: %ld, IRQ %d, level: %d", + __entry->vcpu_id, __entry->irq, __entry->level) +); + +#endif /* _TRACE_VGIC_H */ + +#undef TRACE_INCLUDE_PATH +#define TRACE_INCLUDE_PATH ../../arch/arm64/kvm/vgic +#undef TRACE_INCLUDE_FILE +#define TRACE_INCLUDE_FILE trace + +/* This part must be outside protection */ +#include diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/lib/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm64/lib/Makefile index d955702b6f..13e6a28291 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/lib/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/lib/Makefile @@ -1,22 +1,22 @@ -# SPDX-License-Identifier: GPL-2.0 -lib-y := clear_user.o delay.o copy_from_user.o \ - copy_to_user.o copy_page.o \ - clear_page.o csum.o insn.o memchr.o memcpy.o \ - memset.o memcmp.o strcmp.o strncmp.o strlen.o \ - strnlen.o strchr.o strrchr.o tishift.o - -ifeq ($(CONFIG_KERNEL_MODE_NEON), y) -obj-$(CONFIG_XOR_BLOCKS) += xor-neon.o -CFLAGS_xor-neon.o += $(CC_FLAGS_FPU) -CFLAGS_REMOVE_xor-neon.o += $(CC_FLAGS_NO_FPU) -endif - -lib-$(CONFIG_ARCH_HAS_UACCESS_FLUSHCACHE) += uaccess_flushcache.o - -obj-$(CONFIG_CRC32) += crc32.o - -obj-$(CONFIG_FUNCTION_ERROR_INJECTION) += error-inject.o - -obj-$(CONFIG_ARM64_MTE) += mte.o - -obj-$(CONFIG_KASAN_SW_TAGS) += kasan_sw_tags.o +# SPDX-License-Identifier: GPL-2.0 +lib-y := clear_user.o delay.o copy_from_user.o \ + copy_to_user.o copy_page.o \ + clear_page.o csum.o insn.o memchr.o memcpy.o \ + memset.o memcmp.o strcmp.o strncmp.o strlen.o \ + strnlen.o strchr.o strrchr.o tishift.o + +ifeq ($(CONFIG_KERNEL_MODE_NEON), y) +obj-$(CONFIG_XOR_BLOCKS) += xor-neon.o +CFLAGS_xor-neon.o += $(CC_FLAGS_FPU) +CFLAGS_REMOVE_xor-neon.o += $(CC_FLAGS_NO_FPU) +endif + +lib-$(CONFIG_ARCH_HAS_UACCESS_FLUSHCACHE) += uaccess_flushcache.o + +obj-$(CONFIG_CRC32) += crc32.o + +obj-$(CONFIG_FUNCTION_ERROR_INJECTION) += error-inject.o + +obj-$(CONFIG_ARM64_MTE) += mte.o + +obj-$(CONFIG_KASAN_SW_TAGS) += kasan_sw_tags.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/lib/clear_page.S b/image/debian/UFI003_MB_V02/kernel/arch/arm64/lib/clear_page.S index 317c524381..ebde40e7fa 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/lib/clear_page.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/lib/clear_page.S @@ -1,40 +1,40 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2012 ARM Ltd. - */ - -#include -#include -#include -#include - -/* - * Clear page @dest - * - * Parameters: - * x0 - dest - */ -SYM_FUNC_START(__pi_clear_page) - mrs x1, dczid_el0 - tbnz x1, #4, 2f /* Branch if DC ZVA is prohibited */ - and w1, w1, #0xf - mov x2, #4 - lsl x1, x2, x1 - -1: dc zva, x0 - add x0, x0, x1 - tst x0, #(PAGE_SIZE - 1) - b.ne 1b - ret - -2: stnp xzr, xzr, [x0] - stnp xzr, xzr, [x0, #16] - stnp xzr, xzr, [x0, #32] - stnp xzr, xzr, [x0, #48] - add x0, x0, #64 - tst x0, #(PAGE_SIZE - 1) - b.ne 2b - ret -SYM_FUNC_END(__pi_clear_page) -SYM_FUNC_ALIAS(clear_page, __pi_clear_page) -EXPORT_SYMBOL(clear_page) +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2012 ARM Ltd. + */ + +#include +#include +#include +#include + +/* + * Clear page @dest + * + * Parameters: + * x0 - dest + */ +SYM_FUNC_START(__pi_clear_page) + mrs x1, dczid_el0 + tbnz x1, #4, 2f /* Branch if DC ZVA is prohibited */ + and w1, w1, #0xf + mov x2, #4 + lsl x1, x2, x1 + +1: dc zva, x0 + add x0, x0, x1 + tst x0, #(PAGE_SIZE - 1) + b.ne 1b + ret + +2: stnp xzr, xzr, [x0] + stnp xzr, xzr, [x0, #16] + stnp xzr, xzr, [x0, #32] + stnp xzr, xzr, [x0, #48] + add x0, x0, #64 + tst x0, #(PAGE_SIZE - 1) + b.ne 2b + ret +SYM_FUNC_END(__pi_clear_page) +SYM_FUNC_ALIAS(clear_page, __pi_clear_page) +EXPORT_SYMBOL(clear_page) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/lib/strchr.S b/image/debian/UFI003_MB_V02/kernel/arch/arm64/lib/strchr.S index 94b137167e..94ee67a6b2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/lib/strchr.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/lib/strchr.S @@ -1,34 +1,34 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Based on arch/arm/lib/strchr.S - * - * Copyright (C) 1995-2000 Russell King - * Copyright (C) 2013 ARM Ltd. - */ - -#include -#include - -/* - * Find the first occurrence of a character in a string. - * - * Parameters: - * x0 - str - * x1 - c - * Returns: - * x0 - address of first occurrence of 'c' or 0 - */ -SYM_FUNC_START(__pi_strchr) - and w1, w1, #0xff -1: ldrb w2, [x0], #1 - cmp w2, w1 - ccmp w2, wzr, #4, ne - b.ne 1b - sub x0, x0, #1 - cmp w2, w1 - csel x0, x0, xzr, eq - ret -SYM_FUNC_END(__pi_strchr) - -SYM_FUNC_ALIAS_WEAK(strchr, __pi_strchr) -EXPORT_SYMBOL_NOKASAN(strchr) +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Based on arch/arm/lib/strchr.S + * + * Copyright (C) 1995-2000 Russell King + * Copyright (C) 2013 ARM Ltd. + */ + +#include +#include + +/* + * Find the first occurrence of a character in a string. + * + * Parameters: + * x0 - str + * x1 - c + * Returns: + * x0 - address of first occurrence of 'c' or 0 + */ +SYM_FUNC_START(__pi_strchr) + and w1, w1, #0xff +1: ldrb w2, [x0], #1 + cmp w2, w1 + ccmp w2, wzr, #4, ne + b.ne 1b + sub x0, x0, #1 + cmp w2, w1 + csel x0, x0, xzr, eq + ret +SYM_FUNC_END(__pi_strchr) + +SYM_FUNC_ALIAS_WEAK(strchr, __pi_strchr) +EXPORT_SYMBOL_NOKASAN(strchr) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/lib/strrchr.S b/image/debian/UFI003_MB_V02/kernel/arch/arm64/lib/strrchr.S index 377bf63922..a5123cf0ce 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/lib/strrchr.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/lib/strrchr.S @@ -1,34 +1,34 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Based on arch/arm/lib/strrchr.S - * - * Copyright (C) 1995-2000 Russell King - * Copyright (C) 2013 ARM Ltd. - */ - -#include -#include - -/* - * Find the last occurrence of a character in a string. - * - * Parameters: - * x0 - str - * x1 - c - * Returns: - * x0 - address of last occurrence of 'c' or 0 - */ -SYM_FUNC_START(__pi_strrchr) - mov x3, #0 - and w1, w1, #0xff -1: ldrb w2, [x0], #1 - cbz w2, 2f - cmp w2, w1 - b.ne 1b - sub x3, x0, #1 - b 1b -2: mov x0, x3 - ret -SYM_FUNC_END(__pi_strrchr) -SYM_FUNC_ALIAS_WEAK(strrchr, __pi_strrchr) -EXPORT_SYMBOL_NOKASAN(strrchr) +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Based on arch/arm/lib/strrchr.S + * + * Copyright (C) 1995-2000 Russell King + * Copyright (C) 2013 ARM Ltd. + */ + +#include +#include + +/* + * Find the last occurrence of a character in a string. + * + * Parameters: + * x0 - str + * x1 - c + * Returns: + * x0 - address of last occurrence of 'c' or 0 + */ +SYM_FUNC_START(__pi_strrchr) + mov x3, #0 + and w1, w1, #0xff +1: ldrb w2, [x0], #1 + cbz w2, 2f + cmp w2, w1 + b.ne 1b + sub x3, x0, #1 + b 1b +2: mov x0, x3 + ret +SYM_FUNC_END(__pi_strrchr) +SYM_FUNC_ALIAS_WEAK(strrchr, __pi_strrchr) +EXPORT_SYMBOL_NOKASAN(strrchr) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/lib/uaccess_flushcache.c b/image/debian/UFI003_MB_V02/kernel/arch/arm64/lib/uaccess_flushcache.c index c604a9ac9f..7510d1a231 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/lib/uaccess_flushcache.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/lib/uaccess_flushcache.c @@ -1,32 +1,32 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2017 ARM Ltd. - */ - -#include -#include -#include - -void memcpy_flushcache(void *dst, const void *src, size_t cnt) -{ - /* - * We assume this should not be called with @dst pointing to - * non-cacheable memory, such that we don't need an explicit - * barrier to order the cache maintenance against the memcpy. - */ - memcpy(dst, src, cnt); - dcache_clean_pop((unsigned long)dst, (unsigned long)dst + cnt); -} -EXPORT_SYMBOL_GPL(memcpy_flushcache); - -unsigned long __copy_user_flushcache(void *to, const void __user *from, - unsigned long n) -{ - unsigned long rc; - - rc = raw_copy_from_user(to, from, n); - - /* See above */ - dcache_clean_pop((unsigned long)to, (unsigned long)to + n - rc); - return rc; -} +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2017 ARM Ltd. + */ + +#include +#include +#include + +void memcpy_flushcache(void *dst, const void *src, size_t cnt) +{ + /* + * We assume this should not be called with @dst pointing to + * non-cacheable memory, such that we don't need an explicit + * barrier to order the cache maintenance against the memcpy. + */ + memcpy(dst, src, cnt); + dcache_clean_pop((unsigned long)dst, (unsigned long)dst + cnt); +} +EXPORT_SYMBOL_GPL(memcpy_flushcache); + +unsigned long __copy_user_flushcache(void *to, const void __user *from, + unsigned long n) +{ + unsigned long rc; + + rc = raw_copy_from_user(to, from, n); + + /* See above */ + dcache_clean_pop((unsigned long)to, (unsigned long)to + n - rc); + return rc; +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/mm/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm64/mm/Makefile index b022db5990..2fc8c6dd04 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/mm/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/mm/Makefile @@ -1,17 +1,17 @@ -# SPDX-License-Identifier: GPL-2.0 -obj-y := dma-mapping.o extable.o fault.o init.o \ - cache.o copypage.o flush.o \ - ioremap.o mmap.o pgd.o mem_encrypt.o mmu.o \ - context.o proc.o pageattr.o fixmap.o -obj-$(CONFIG_ARM64_CONTPTE) += contpte.o -obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o -obj-$(CONFIG_PTDUMP_CORE) += ptdump.o -obj-$(CONFIG_PTDUMP_DEBUGFS) += ptdump_debugfs.o -obj-$(CONFIG_TRANS_TABLE) += trans_pgd.o -obj-$(CONFIG_TRANS_TABLE) += trans_pgd-asm.o -obj-$(CONFIG_DEBUG_VIRTUAL) += physaddr.o -obj-$(CONFIG_ARM64_MTE) += mteswap.o -KASAN_SANITIZE_physaddr.o += n - -obj-$(CONFIG_KASAN) += kasan_init.o -KASAN_SANITIZE_kasan_init.o := n +# SPDX-License-Identifier: GPL-2.0 +obj-y := dma-mapping.o extable.o fault.o init.o \ + cache.o copypage.o flush.o \ + ioremap.o mmap.o pgd.o mem_encrypt.o mmu.o \ + context.o proc.o pageattr.o fixmap.o +obj-$(CONFIG_ARM64_CONTPTE) += contpte.o +obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o +obj-$(CONFIG_PTDUMP_CORE) += ptdump.o +obj-$(CONFIG_PTDUMP_DEBUGFS) += ptdump_debugfs.o +obj-$(CONFIG_TRANS_TABLE) += trans_pgd.o +obj-$(CONFIG_TRANS_TABLE) += trans_pgd-asm.o +obj-$(CONFIG_DEBUG_VIRTUAL) += physaddr.o +obj-$(CONFIG_ARM64_MTE) += mteswap.o +KASAN_SANITIZE_physaddr.o += n + +obj-$(CONFIG_KASAN) += kasan_init.o +KASAN_SANITIZE_kasan_init.o := n diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/mm/physaddr.c b/image/debian/UFI003_MB_V02/kernel/arch/arm64/mm/physaddr.c index 6f61d5cf21..cde44c13dd 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/mm/physaddr.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/mm/physaddr.c @@ -1,31 +1,31 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include -#include -#include -#include - -#include - -phys_addr_t __virt_to_phys(unsigned long x) -{ - WARN(!__is_lm_address(__tag_reset(x)), - "virt_to_phys used for non-linear address: %pK (%pS)\n", - (void *)x, - (void *)x); - - return __virt_to_phys_nodebug(x); -} -EXPORT_SYMBOL(__virt_to_phys); - -phys_addr_t __phys_addr_symbol(unsigned long x) -{ - /* - * This is bounds checking against the kernel image only. - * __pa_symbol should only be used on kernel symbol addresses. - */ - VIRTUAL_BUG_ON(x < (unsigned long) KERNEL_START || - x > (unsigned long) KERNEL_END); - return __pa_symbol_nodebug(x); -} -EXPORT_SYMBOL(__phys_addr_symbol); +// SPDX-License-Identifier: GPL-2.0 +#include +#include +#include +#include +#include + +#include + +phys_addr_t __virt_to_phys(unsigned long x) +{ + WARN(!__is_lm_address(__tag_reset(x)), + "virt_to_phys used for non-linear address: %pK (%pS)\n", + (void *)x, + (void *)x); + + return __virt_to_phys_nodebug(x); +} +EXPORT_SYMBOL(__virt_to_phys); + +phys_addr_t __phys_addr_symbol(unsigned long x) +{ + /* + * This is bounds checking against the kernel image only. + * __pa_symbol should only be used on kernel symbol addresses. + */ + VIRTUAL_BUG_ON(x < (unsigned long) KERNEL_START || + x > (unsigned long) KERNEL_END); + return __pa_symbol_nodebug(x); +} +EXPORT_SYMBOL(__phys_addr_symbol); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/tools/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm64/tools/Makefile index ce61cbea5a..c2b34e7610 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/tools/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/tools/Makefile @@ -1,28 +1,28 @@ -# SPDX-License-Identifier: GPL-2.0 - -gen := arch/$(ARCH)/include/generated -kapi := $(gen)/asm - -kapisyshdr-y := cpucap-defs.h sysreg-defs.h - -kapi-hdrs-y := $(addprefix $(kapi)/, $(kapisyshdr-y)) - -targets += $(addprefix ../../../, $(kapi-hdrs-y)) - -PHONY += kapi - -all: $(syscall64) kapi - -kapi: $(kapi-hdrs-y) - -quiet_cmd_gen_cpucaps = GEN $@ - cmd_gen_cpucaps = mkdir -p $(dir $@); $(AWK) -f $(real-prereqs) > $@ - -quiet_cmd_gen_sysreg = GEN $@ - cmd_gen_sysreg = mkdir -p $(dir $@); $(AWK) -f $(real-prereqs) > $@ - -$(kapi)/cpucap-defs.h: $(src)/gen-cpucaps.awk $(src)/cpucaps FORCE - $(call if_changed,gen_cpucaps) - -$(kapi)/sysreg-defs.h: $(src)/gen-sysreg.awk $(src)/sysreg FORCE - $(call if_changed,gen_sysreg) +# SPDX-License-Identifier: GPL-2.0 + +gen := arch/$(ARCH)/include/generated +kapi := $(gen)/asm + +kapisyshdr-y := cpucap-defs.h sysreg-defs.h + +kapi-hdrs-y := $(addprefix $(kapi)/, $(kapisyshdr-y)) + +targets += $(addprefix ../../../, $(kapi-hdrs-y)) + +PHONY += kapi + +all: $(syscall64) kapi + +kapi: $(kapi-hdrs-y) + +quiet_cmd_gen_cpucaps = GEN $@ + cmd_gen_cpucaps = mkdir -p $(dir $@); $(AWK) -f $(real-prereqs) > $@ + +quiet_cmd_gen_sysreg = GEN $@ + cmd_gen_sysreg = mkdir -p $(dir $@); $(AWK) -f $(real-prereqs) > $@ + +$(kapi)/cpucap-defs.h: $(src)/gen-cpucaps.awk $(src)/cpucaps FORCE + $(call if_changed,gen_cpucaps) + +$(kapi)/sysreg-defs.h: $(src)/gen-sysreg.awk $(src)/sysreg FORCE + $(call if_changed,gen_sysreg) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/tools/gen-cpucaps.awk b/image/debian/UFI003_MB_V02/kernel/arch/arm64/tools/gen-cpucaps.awk old mode 100644 new mode 100755 index 802e57879c..2f4f61a0af --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/tools/gen-cpucaps.awk +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/tools/gen-cpucaps.awk @@ -1,40 +1,40 @@ -#!/bin/awk -f -# SPDX-License-Identifier: GPL-2.0 -# gen-cpucaps.awk: arm64 cpucaps header generator -# -# Usage: awk -f gen-cpucaps.awk cpucaps.txt - -# Log an error and terminate -function fatal(msg) { - print "Error at line " NR ": " msg > "/dev/stderr" - exit 1 -} - -# skip blank lines and comment lines -/^$/ { next } -/^#/ { next } - -BEGIN { - print "#ifndef __ASM_CPUCAP_DEFS_H" - print "#define __ASM_CPUCAP_DEFS_H" - print "" - print "/* Generated file - do not edit */" - cap_num = 0 - print "" -} - -/^[vA-Z0-9_]+$/ { - printf("#define ARM64_%-40s\t%d\n", $0, cap_num++) - next -} - -END { - printf("#define ARM64_NCAPS\t\t\t\t\t%d\n", cap_num) - print "" - print "#endif /* __ASM_CPUCAP_DEFS_H */" -} - -# Any lines not handled by previous rules are unexpected -{ - fatal("unhandled statement") -} +#!/bin/awk -f +# SPDX-License-Identifier: GPL-2.0 +# gen-cpucaps.awk: arm64 cpucaps header generator +# +# Usage: awk -f gen-cpucaps.awk cpucaps.txt + +# Log an error and terminate +function fatal(msg) { + print "Error at line " NR ": " msg > "/dev/stderr" + exit 1 +} + +# skip blank lines and comment lines +/^$/ { next } +/^#/ { next } + +BEGIN { + print "#ifndef __ASM_CPUCAP_DEFS_H" + print "#define __ASM_CPUCAP_DEFS_H" + print "" + print "/* Generated file - do not edit */" + cap_num = 0 + print "" +} + +/^[vA-Z0-9_]+$/ { + printf("#define ARM64_%-40s\t%d\n", $0, cap_num++) + next +} + +END { + printf("#define ARM64_NCAPS\t\t\t\t\t%d\n", cap_num) + print "" + print "#endif /* __ASM_CPUCAP_DEFS_H */" +} + +# Any lines not handled by previous rules are unexpected +{ + fatal("unhandled statement") +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/abiv1/inc/abi/elf.h b/image/debian/UFI003_MB_V02/kernel/arch/csky/abiv1/inc/abi/elf.h index b09f4b9c3b..3058cc06b1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/abiv1/inc/abi/elf.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/abiv1/inc/abi/elf.h @@ -1,26 +1,26 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#ifndef __ABI_CSKY_ELF_H -#define __ABI_CSKY_ELF_H - -#define ELF_CORE_COPY_REGS(pr_reg, regs) do { \ - pr_reg[0] = regs->pc; \ - pr_reg[1] = regs->regs[9]; \ - pr_reg[2] = regs->usp; \ - pr_reg[3] = regs->sr; \ - pr_reg[4] = regs->a0; \ - pr_reg[5] = regs->a1; \ - pr_reg[6] = regs->a2; \ - pr_reg[7] = regs->a3; \ - pr_reg[8] = regs->regs[0]; \ - pr_reg[9] = regs->regs[1]; \ - pr_reg[10] = regs->regs[2]; \ - pr_reg[11] = regs->regs[3]; \ - pr_reg[12] = regs->regs[4]; \ - pr_reg[13] = regs->regs[5]; \ - pr_reg[14] = regs->regs[6]; \ - pr_reg[15] = regs->regs[7]; \ - pr_reg[16] = regs->regs[8]; \ - pr_reg[17] = regs->lr; \ -} while (0); -#endif /* __ABI_CSKY_ELF_H */ +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef __ABI_CSKY_ELF_H +#define __ABI_CSKY_ELF_H + +#define ELF_CORE_COPY_REGS(pr_reg, regs) do { \ + pr_reg[0] = regs->pc; \ + pr_reg[1] = regs->regs[9]; \ + pr_reg[2] = regs->usp; \ + pr_reg[3] = regs->sr; \ + pr_reg[4] = regs->a0; \ + pr_reg[5] = regs->a1; \ + pr_reg[6] = regs->a2; \ + pr_reg[7] = regs->a3; \ + pr_reg[8] = regs->regs[0]; \ + pr_reg[9] = regs->regs[1]; \ + pr_reg[10] = regs->regs[2]; \ + pr_reg[11] = regs->regs[3]; \ + pr_reg[12] = regs->regs[4]; \ + pr_reg[13] = regs->regs[5]; \ + pr_reg[14] = regs->regs[6]; \ + pr_reg[15] = regs->regs[7]; \ + pr_reg[16] = regs->regs[8]; \ + pr_reg[17] = regs->lr; \ +} while (0); +#endif /* __ABI_CSKY_ELF_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/abiv1/inc/abi/page.h b/image/debian/UFI003_MB_V02/kernel/arch/csky/abiv1/inc/abi/page.h index 4ec0fb3c05..2d2159933b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/abiv1/inc/abi/page.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/abiv1/inc/abi/page.h @@ -1,27 +1,27 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#include - -extern void flush_dcache_page(struct page *page); - -static inline unsigned long pages_do_alias(unsigned long addr1, - unsigned long addr2) -{ - return (addr1 ^ addr2) & (SHMLBA-1); -} - -static inline void clear_user_page(void *addr, unsigned long vaddr, - struct page *page) -{ - clear_page(addr); - if (pages_do_alias((unsigned long) addr, vaddr & PAGE_MASK)) - flush_dcache_page(page); -} - -static inline void copy_user_page(void *to, void *from, unsigned long vaddr, - struct page *page) -{ - copy_page(to, from); - if (pages_do_alias((unsigned long) to, vaddr & PAGE_MASK)) - flush_dcache_page(page); -} +/* SPDX-License-Identifier: GPL-2.0 */ + +#include + +extern void flush_dcache_page(struct page *page); + +static inline unsigned long pages_do_alias(unsigned long addr1, + unsigned long addr2) +{ + return (addr1 ^ addr2) & (SHMLBA-1); +} + +static inline void clear_user_page(void *addr, unsigned long vaddr, + struct page *page) +{ + clear_page(addr); + if (pages_do_alias((unsigned long) addr, vaddr & PAGE_MASK)) + flush_dcache_page(page); +} + +static inline void copy_user_page(void *to, void *from, unsigned long vaddr, + struct page *page) +{ + copy_page(to, from); + if (pages_do_alias((unsigned long) to, vaddr & PAGE_MASK)) + flush_dcache_page(page); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/abiv2/inc/abi/string.h b/image/debian/UFI003_MB_V02/kernel/arch/csky/abiv2/inc/abi/string.h index 3f1b7df445..f01bad2ac4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/abiv2/inc/abi/string.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/abiv2/inc/abi/string.h @@ -1,27 +1,27 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#ifndef __ABI_CSKY_STRING_H -#define __ABI_CSKY_STRING_H - -#define __HAVE_ARCH_MEMCMP -extern int memcmp(const void *, const void *, __kernel_size_t); - -#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); - -#define __HAVE_ARCH_STRCMP -extern int strcmp(const char *, const char *); - -#define __HAVE_ARCH_STRCPY -extern char *strcpy(char *, const char *); - -#define __HAVE_ARCH_STRLEN -extern __kernel_size_t strlen(const char *); - -#endif /* __ABI_CSKY_STRING_H */ +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef __ABI_CSKY_STRING_H +#define __ABI_CSKY_STRING_H + +#define __HAVE_ARCH_MEMCMP +extern int memcmp(const void *, const void *, __kernel_size_t); + +#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); + +#define __HAVE_ARCH_STRCMP +extern int strcmp(const char *, const char *); + +#define __HAVE_ARCH_STRCPY +extern char *strcpy(char *, const char *); + +#define __HAVE_ARCH_STRLEN +extern __kernel_size_t strlen(const char *); + +#endif /* __ABI_CSKY_STRING_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/boot/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/csky/boot/Makefile index 7afdb82055..c3cfde28f8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/boot/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/boot/Makefile @@ -1,24 +1,24 @@ -# SPDX-License-Identifier: GPL-2.0-only -targets := Image zImage uImage - -$(obj)/Image: vmlinux FORCE - $(call if_changed,objcopy) - @echo ' Kernel: $@ is ready' - -compress-$(CONFIG_KERNEL_GZIP) = gzip -compress-$(CONFIG_KERNEL_LZO) = lzo -compress-$(CONFIG_KERNEL_LZMA) = lzma -compress-$(CONFIG_KERNEL_XZ) = xzkern -compress-$(CONFIG_KERNEL_LZ4) = lz4 - -$(obj)/zImage: $(obj)/Image FORCE - $(call if_changed,$(compress-y)) - @echo ' Kernel: $@ is ready' - -UIMAGE_ARCH = sandbox -UIMAGE_COMPRESSION = $(compress-y) -UIMAGE_LOADADDR = $(shell $(NM) vmlinux | awk '$$NF == "_start" {print $$1}') - -$(obj)/uImage: $(obj)/zImage - $(call if_changed,uimage) - @echo 'Image: $@ is ready' +# SPDX-License-Identifier: GPL-2.0-only +targets := Image zImage uImage + +$(obj)/Image: vmlinux FORCE + $(call if_changed,objcopy) + @echo ' Kernel: $@ is ready' + +compress-$(CONFIG_KERNEL_GZIP) = gzip +compress-$(CONFIG_KERNEL_LZO) = lzo +compress-$(CONFIG_KERNEL_LZMA) = lzma +compress-$(CONFIG_KERNEL_XZ) = xzkern +compress-$(CONFIG_KERNEL_LZ4) = lz4 + +$(obj)/zImage: $(obj)/Image FORCE + $(call if_changed,$(compress-y)) + @echo ' Kernel: $@ is ready' + +UIMAGE_ARCH = sandbox +UIMAGE_COMPRESSION = $(compress-y) +UIMAGE_LOADADDR = $(shell $(NM) vmlinux | awk '$$NF == "_start" {print $$1}') + +$(obj)/uImage: $(obj)/zImage + $(call if_changed,uimage) + @echo 'Image: $@ is ready' diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/cache.h b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/cache.h index 2a1b5296ea..4b5c09bf1d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/cache.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/cache.h @@ -1,32 +1,32 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#ifndef __ASM_CSKY_CACHE_H -#define __ASM_CSKY_CACHE_H - -/* bytes per L1 cache line */ -#define L1_CACHE_SHIFT CONFIG_L1_CACHE_SHIFT - -#define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT) - -#define ARCH_DMA_MINALIGN L1_CACHE_BYTES - -#ifndef __ASSEMBLY__ - -void dcache_wb_line(unsigned long start); - -void icache_inv_range(unsigned long start, unsigned long end); -void icache_inv_all(void); -void local_icache_inv_all(void *priv); - -void dcache_wb_range(unsigned long start, unsigned long end); -void dcache_wbinv_all(void); - -void cache_wbinv_range(unsigned long start, unsigned long end); -void cache_wbinv_all(void); - -void dma_wbinv_range(unsigned long start, unsigned long end); -void dma_inv_range(unsigned long start, unsigned long end); -void dma_wb_range(unsigned long start, unsigned long end); - -#endif -#endif /* __ASM_CSKY_CACHE_H */ +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef __ASM_CSKY_CACHE_H +#define __ASM_CSKY_CACHE_H + +/* bytes per L1 cache line */ +#define L1_CACHE_SHIFT CONFIG_L1_CACHE_SHIFT + +#define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT) + +#define ARCH_DMA_MINALIGN L1_CACHE_BYTES + +#ifndef __ASSEMBLY__ + +void dcache_wb_line(unsigned long start); + +void icache_inv_range(unsigned long start, unsigned long end); +void icache_inv_all(void); +void local_icache_inv_all(void *priv); + +void dcache_wb_range(unsigned long start, unsigned long end); +void dcache_wbinv_all(void); + +void cache_wbinv_range(unsigned long start, unsigned long end); +void cache_wbinv_all(void); + +void dma_wbinv_range(unsigned long start, unsigned long end); +void dma_inv_range(unsigned long start, unsigned long end); +void dma_wb_range(unsigned long start, unsigned long end); + +#endif +#endif /* __ASM_CSKY_CACHE_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/checksum.h b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/checksum.h index b5b36e6f84..aa12ef4b90 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/checksum.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/checksum.h @@ -1,49 +1,49 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#ifndef __ASM_CSKY_CHECKSUM_H -#define __ASM_CSKY_CHECKSUM_H - -#include -#include - -static inline __sum16 csum_fold(__wsum csum) -{ - u32 tmp; - - asm volatile( - "mov %1, %0\n" - "rori %0, 16\n" - "addu %0, %1\n" - "lsri %0, 16\n" - : "=r"(csum), "=r"(tmp) - : "0"(csum)); - - return (__force __sum16) ~csum; -} -#define csum_fold csum_fold - -static inline __wsum csum_tcpudp_nofold(__be32 saddr, __be32 daddr, - unsigned short len, unsigned short proto, __wsum sum) -{ - asm volatile( - "clrc\n" - "addc %0, %1\n" - "addc %0, %2\n" - "addc %0, %3\n" - "inct %0\n" - : "=r"(sum) - : "r"((__force u32)saddr), "r"((__force u32)daddr), -#ifdef __BIG_ENDIAN - "r"(proto + len), -#else - "r"((proto + len) << 8), -#endif - "0" ((__force unsigned long)sum) - : "cc"); - return sum; -} -#define csum_tcpudp_nofold csum_tcpudp_nofold - -#include - -#endif /* __ASM_CSKY_CHECKSUM_H */ +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef __ASM_CSKY_CHECKSUM_H +#define __ASM_CSKY_CHECKSUM_H + +#include +#include + +static inline __sum16 csum_fold(__wsum csum) +{ + u32 tmp; + + asm volatile( + "mov %1, %0\n" + "rori %0, 16\n" + "addu %0, %1\n" + "lsri %0, 16\n" + : "=r"(csum), "=r"(tmp) + : "0"(csum)); + + return (__force __sum16) ~csum; +} +#define csum_fold csum_fold + +static inline __wsum csum_tcpudp_nofold(__be32 saddr, __be32 daddr, + unsigned short len, unsigned short proto, __wsum sum) +{ + asm volatile( + "clrc\n" + "addc %0, %1\n" + "addc %0, %2\n" + "addc %0, %3\n" + "inct %0\n" + : "=r"(sum) + : "r"((__force u32)saddr), "r"((__force u32)daddr), +#ifdef __BIG_ENDIAN + "r"(proto + len), +#else + "r"((proto + len) << 8), +#endif + "0" ((__force unsigned long)sum) + : "cc"); + return sum; +} +#define csum_tcpudp_nofold csum_tcpudp_nofold + +#include + +#endif /* __ASM_CSKY_CHECKSUM_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/fixmap.h b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/fixmap.h index ea19b49c2d..49a77cbbe2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/fixmap.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/fixmap.h @@ -1,33 +1,33 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#ifndef __ASM_CSKY_FIXMAP_H -#define __ASM_CSKY_FIXMAP_H - -#include -#include -#ifdef CONFIG_HIGHMEM -#include -#include -#endif - -enum fixed_addresses { -#ifdef CONFIG_HAVE_TCM - FIX_TCM = TCM_NR_PAGES, -#endif -#ifdef CONFIG_HIGHMEM - FIX_KMAP_BEGIN, - FIX_KMAP_END = FIX_KMAP_BEGIN + (KM_MAX_IDX * NR_CPUS) - 1, -#endif - __end_of_fixed_addresses -}; - -#define FIXADDR_SIZE (__end_of_fixed_addresses << PAGE_SHIFT) -#define FIXADDR_START (FIXADDR_TOP - FIXADDR_SIZE) - -#include - -extern void fixrange_init(unsigned long start, unsigned long end, - pgd_t *pgd_base); -extern void __init fixaddr_init(void); - -#endif /* __ASM_CSKY_FIXMAP_H */ +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef __ASM_CSKY_FIXMAP_H +#define __ASM_CSKY_FIXMAP_H + +#include +#include +#ifdef CONFIG_HIGHMEM +#include +#include +#endif + +enum fixed_addresses { +#ifdef CONFIG_HAVE_TCM + FIX_TCM = TCM_NR_PAGES, +#endif +#ifdef CONFIG_HIGHMEM + FIX_KMAP_BEGIN, + FIX_KMAP_END = FIX_KMAP_BEGIN + (KM_MAX_IDX * NR_CPUS) - 1, +#endif + __end_of_fixed_addresses +}; + +#define FIXADDR_SIZE (__end_of_fixed_addresses << PAGE_SHIFT) +#define FIXADDR_START (FIXADDR_TOP - FIXADDR_SIZE) + +#include + +extern void fixrange_init(unsigned long start, unsigned long end, + pgd_t *pgd_base); +extern void __init fixaddr_init(void); + +#endif /* __ASM_CSKY_FIXMAP_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/ftrace.h b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/ftrace.h index bbce744c50..00f9f7647e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/ftrace.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/ftrace.h @@ -1,32 +1,32 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#ifndef __ASM_CSKY_FTRACE_H -#define __ASM_CSKY_FTRACE_H - -#define MCOUNT_INSN_SIZE 14 - -#define HAVE_FUNCTION_GRAPH_FP_TEST - -#define ARCH_SUPPORTS_FTRACE_OPS 1 - -#define MCOUNT_ADDR ((unsigned long)_mcount) - -#ifndef __ASSEMBLY__ - -extern void _mcount(unsigned long); - -extern void ftrace_graph_call(void); - -static inline unsigned long ftrace_call_adjust(unsigned long addr) -{ - return addr; -} - -struct dyn_arch_ftrace { -}; - -void prepare_ftrace_return(unsigned long *parent, unsigned long self_addr, - unsigned long frame_pointer); - -#endif /* !__ASSEMBLY__ */ -#endif /* __ASM_CSKY_FTRACE_H */ +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef __ASM_CSKY_FTRACE_H +#define __ASM_CSKY_FTRACE_H + +#define MCOUNT_INSN_SIZE 14 + +#define HAVE_FUNCTION_GRAPH_FP_TEST + +#define ARCH_SUPPORTS_FTRACE_OPS 1 + +#define MCOUNT_ADDR ((unsigned long)_mcount) + +#ifndef __ASSEMBLY__ + +extern void _mcount(unsigned long); + +extern void ftrace_graph_call(void); + +static inline unsigned long ftrace_call_adjust(unsigned long addr) +{ + return addr; +} + +struct dyn_arch_ftrace { +}; + +void prepare_ftrace_return(unsigned long *parent, unsigned long self_addr, + unsigned long frame_pointer); + +#endif /* !__ASSEMBLY__ */ +#endif /* __ASM_CSKY_FTRACE_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/memory.h b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/memory.h index 174077bb14..d12179801a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/memory.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/memory.h @@ -1,25 +1,25 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#ifndef __ASM_CSKY_MEMORY_H -#define __ASM_CSKY_MEMORY_H - -#include -#include -#include -#include - -#define FIXADDR_TOP _AC(0xffffc000, UL) -#define PKMAP_BASE _AC(0xff800000, UL) -#define VMALLOC_START (PAGE_OFFSET + LOWMEM_LIMIT + (PAGE_SIZE * 8)) -#define VMALLOC_END (PKMAP_BASE - (PAGE_SIZE * 2)) - -#ifdef CONFIG_HAVE_TCM -#ifdef CONFIG_HAVE_DTCM -#define TCM_NR_PAGES (CONFIG_ITCM_NR_PAGES + CONFIG_DTCM_NR_PAGES) -#else -#define TCM_NR_PAGES (CONFIG_ITCM_NR_PAGES) -#endif -#define FIXADDR_TCM _AC(FIXADDR_TOP - (TCM_NR_PAGES * PAGE_SIZE), UL) -#endif - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef __ASM_CSKY_MEMORY_H +#define __ASM_CSKY_MEMORY_H + +#include +#include +#include +#include + +#define FIXADDR_TOP _AC(0xffffc000, UL) +#define PKMAP_BASE _AC(0xff800000, UL) +#define VMALLOC_START (PAGE_OFFSET + LOWMEM_LIMIT + (PAGE_SIZE * 8)) +#define VMALLOC_END (PKMAP_BASE - (PAGE_SIZE * 2)) + +#ifdef CONFIG_HAVE_TCM +#ifdef CONFIG_HAVE_DTCM +#define TCM_NR_PAGES (CONFIG_ITCM_NR_PAGES + CONFIG_DTCM_NR_PAGES) +#else +#define TCM_NR_PAGES (CONFIG_ITCM_NR_PAGES) +#endif +#define FIXADDR_TCM _AC(FIXADDR_TOP - (TCM_NR_PAGES * PAGE_SIZE), UL) +#endif + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/smp.h b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/smp.h index 818364bb10..d3db334f31 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/smp.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/smp.h @@ -1,30 +1,30 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#ifndef __ASM_CSKY_SMP_H -#define __ASM_CSKY_SMP_H - -#include -#include -#include - -#ifdef CONFIG_SMP - -void __init setup_smp(void); - -void __init setup_smp_ipi(void); - -void arch_send_call_function_ipi_mask(struct cpumask *mask); - -void arch_send_call_function_single_ipi(int cpu); - -void __init set_send_ipi(void (*func)(const struct cpumask *mask), int irq); - -#define raw_smp_processor_id() (current_thread_info()->cpu) - -int __cpu_disable(void); - -static inline void __cpu_die(unsigned int cpu) { } - -#endif /* CONFIG_SMP */ - -#endif /* __ASM_CSKY_SMP_H */ +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef __ASM_CSKY_SMP_H +#define __ASM_CSKY_SMP_H + +#include +#include +#include + +#ifdef CONFIG_SMP + +void __init setup_smp(void); + +void __init setup_smp_ipi(void); + +void arch_send_call_function_ipi_mask(struct cpumask *mask); + +void arch_send_call_function_single_ipi(int cpu); + +void __init set_send_ipi(void (*func)(const struct cpumask *mask), int irq); + +#define raw_smp_processor_id() (current_thread_info()->cpu) + +int __cpu_disable(void); + +static inline void __cpu_die(unsigned int cpu) { } + +#endif /* CONFIG_SMP */ + +#endif /* __ASM_CSKY_SMP_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/switch_to.h b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/switch_to.h index 55649d2cb3..731e466415 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/switch_to.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/switch_to.h @@ -1,35 +1,35 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#ifndef __ASM_CSKY_SWITCH_TO_H -#define __ASM_CSKY_SWITCH_TO_H - -#include -#ifdef CONFIG_CPU_HAS_FPU -#include -static inline void __switch_to_fpu(struct task_struct *prev, - struct task_struct *next) -{ - save_to_user_fp(&prev->thread.user_fp); - restore_from_user_fp(&next->thread.user_fp); -} -#else -static inline void __switch_to_fpu(struct task_struct *prev, - struct task_struct *next) -{} -#endif - -/* - * Context switching is now performed out-of-line in switch_to.S - */ -extern struct task_struct *__switch_to(struct task_struct *, - struct task_struct *); - -#define switch_to(prev, next, last) \ - do { \ - struct task_struct *__prev = (prev); \ - struct task_struct *__next = (next); \ - __switch_to_fpu(__prev, __next); \ - ((last) = __switch_to((prev), (next))); \ - } while (0) - -#endif /* __ASM_CSKY_SWITCH_TO_H */ +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef __ASM_CSKY_SWITCH_TO_H +#define __ASM_CSKY_SWITCH_TO_H + +#include +#ifdef CONFIG_CPU_HAS_FPU +#include +static inline void __switch_to_fpu(struct task_struct *prev, + struct task_struct *next) +{ + save_to_user_fp(&prev->thread.user_fp); + restore_from_user_fp(&next->thread.user_fp); +} +#else +static inline void __switch_to_fpu(struct task_struct *prev, + struct task_struct *next) +{} +#endif + +/* + * Context switching is now performed out-of-line in switch_to.S + */ +extern struct task_struct *__switch_to(struct task_struct *, + struct task_struct *); + +#define switch_to(prev, next, last) \ + do { \ + struct task_struct *__prev = (prev); \ + struct task_struct *__next = (next); \ + __switch_to_fpu(__prev, __next); \ + ((last) = __switch_to((prev), (next))); \ + } while (0) + +#endif /* __ASM_CSKY_SWITCH_TO_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/tcm.h b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/tcm.h index d10a60791e..bd1e662ecd 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/tcm.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/tcm.h @@ -1,24 +1,24 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#ifndef __ASM_CSKY_TCM_H -#define __ASM_CSKY_TCM_H - -#ifndef CONFIG_HAVE_TCM -#error "You should not be including tcm.h unless you have a TCM!" -#endif - -#include - -/* Tag variables with this */ -#define __tcmdata __section(".tcm.data") -/* Tag constants with this */ -#define __tcmconst __section(".tcm.rodata") -/* Tag functions inside TCM called from outside TCM with this */ -#define __tcmfunc __section(".tcm.text") noinline -/* Tag function inside TCM called from inside TCM with this */ -#define __tcmlocalfunc __section(".tcm.text") - -void *tcm_alloc(size_t len); -void tcm_free(void *addr, size_t len); - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef __ASM_CSKY_TCM_H +#define __ASM_CSKY_TCM_H + +#ifndef CONFIG_HAVE_TCM +#error "You should not be including tcm.h unless you have a TCM!" +#endif + +#include + +/* Tag variables with this */ +#define __tcmdata __section(".tcm.data") +/* Tag constants with this */ +#define __tcmconst __section(".tcm.rodata") +/* Tag functions inside TCM called from outside TCM with this */ +#define __tcmfunc __section(".tcm.text") noinline +/* Tag function inside TCM called from inside TCM with this */ +#define __tcmlocalfunc __section(".tcm.text") + +void *tcm_alloc(size_t len); +void tcm_free(void *addr, size_t len); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/tlbflush.h b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/tlbflush.h index a9c1777500..407160b4fd 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/tlbflush.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/tlbflush.h @@ -1,24 +1,24 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#ifndef __ASM_TLBFLUSH_H -#define __ASM_TLBFLUSH_H - -/* - * TLB flushing: - * - * - flush_tlb_all() flushes all processes TLB entries - * - flush_tlb_mm(mm) flushes the specified mm context TLB entries - * - flush_tlb_page(vma, vmaddr) flushes one page - * - flush_tlb_range(vma, start, end) flushes a range of pages - * - flush_tlb_kernel_range(start, end) flushes a range of kernel pages - */ -extern void flush_tlb_all(void); -extern void flush_tlb_mm(struct mm_struct *mm); -extern void flush_tlb_page(struct vm_area_struct *vma, unsigned long page); -extern void flush_tlb_range(struct vm_area_struct *vma, unsigned long start, - unsigned long end); -extern void flush_tlb_kernel_range(unsigned long start, unsigned long end); - -extern void flush_tlb_one(unsigned long vaddr); - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef __ASM_TLBFLUSH_H +#define __ASM_TLBFLUSH_H + +/* + * TLB flushing: + * + * - flush_tlb_all() flushes all processes TLB entries + * - flush_tlb_mm(mm) flushes the specified mm context TLB entries + * - flush_tlb_page(vma, vmaddr) flushes one page + * - flush_tlb_range(vma, start, end) flushes a range of pages + * - flush_tlb_kernel_range(start, end) flushes a range of kernel pages + */ +extern void flush_tlb_all(void); +extern void flush_tlb_mm(struct mm_struct *mm); +extern void flush_tlb_page(struct vm_area_struct *vma, unsigned long page); +extern void flush_tlb_range(struct vm_area_struct *vma, unsigned long start, + unsigned long end); +extern void flush_tlb_kernel_range(unsigned long start, unsigned long end); + +extern void flush_tlb_one(unsigned long vaddr); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/uprobes.h b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/uprobes.h index 3c013f7a6e..600388eb93 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/uprobes.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/uprobes.h @@ -1,33 +1,33 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -#ifndef __ASM_CSKY_UPROBES_H -#define __ASM_CSKY_UPROBES_H - -#include - -#define MAX_UINSN_BYTES 4 - -#define UPROBE_SWBP_INSN USR_BKPT -#define UPROBE_SWBP_INSN_SIZE 2 -#define UPROBE_XOL_SLOT_BYTES MAX_UINSN_BYTES - -typedef u32 uprobe_opcode_t; - -struct arch_uprobe_task { - unsigned long saved_trap_no; -}; - -struct arch_uprobe { - union { - u8 insn[MAX_UINSN_BYTES]; - u8 ixol[MAX_UINSN_BYTES]; - }; - struct arch_probe_insn api; - unsigned long insn_size; - bool simulate; -}; - -int uprobe_breakpoint_handler(struct pt_regs *regs); -int uprobe_single_step_handler(struct pt_regs *regs); - -#endif /* __ASM_CSKY_UPROBES_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ + +#ifndef __ASM_CSKY_UPROBES_H +#define __ASM_CSKY_UPROBES_H + +#include + +#define MAX_UINSN_BYTES 4 + +#define UPROBE_SWBP_INSN USR_BKPT +#define UPROBE_SWBP_INSN_SIZE 2 +#define UPROBE_XOL_SLOT_BYTES MAX_UINSN_BYTES + +typedef u32 uprobe_opcode_t; + +struct arch_uprobe_task { + unsigned long saved_trap_no; +}; + +struct arch_uprobe { + union { + u8 insn[MAX_UINSN_BYTES]; + u8 ixol[MAX_UINSN_BYTES]; + }; + struct arch_probe_insn api; + unsigned long insn_size; + bool simulate; +}; + +int uprobe_breakpoint_handler(struct pt_regs *regs); +int uprobe_single_step_handler(struct pt_regs *regs); + +#endif /* __ASM_CSKY_UPROBES_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/vdso.h b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/vdso.h index ddabc694dd..181a15edaf 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/vdso.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/vdso.h @@ -1,22 +1,22 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#ifndef __ASM_CSKY_VDSO_H -#define __ASM_CSKY_VDSO_H - -#include - -/* - * The VDSO symbols are mapped into Linux so we can just use regular symbol - * addressing to get their offsets in userspace. The symbols are mapped at an - * offset of 0, but since the linker must support setting weak undefined - * symbols to the absolute address 0 it also happens to support other low - * addresses even when the code model suggests those low addresses would not - * otherwise be available. - */ -#define VDSO_SYMBOL(base, name) \ -({ \ - extern const char __vdso_##name[]; \ - (void __user *)((unsigned long)(base) + __vdso_##name); \ -}) - -#endif /* __ASM_CSKY_VDSO_H */ +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef __ASM_CSKY_VDSO_H +#define __ASM_CSKY_VDSO_H + +#include + +/* + * The VDSO symbols are mapped into Linux so we can just use regular symbol + * addressing to get their offsets in userspace. The symbols are mapped at an + * offset of 0, but since the linker must support setting weak undefined + * symbols to the absolute address 0 it also happens to support other low + * addresses even when the code model suggests those low addresses would not + * otherwise be available. + */ +#define VDSO_SYMBOL(base, name) \ +({ \ + extern const char __vdso_##name[]; \ + (void __user *)((unsigned long)(base) + __vdso_##name); \ +}) + +#endif /* __ASM_CSKY_VDSO_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/uapi/asm/ptrace.h b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/uapi/asm/ptrace.h index 100fee27f2..3be9c14334 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/uapi/asm/ptrace.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/uapi/asm/ptrace.h @@ -1,51 +1,51 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ - -#ifndef _CSKY_PTRACE_H -#define _CSKY_PTRACE_H - -#ifndef __ASSEMBLY__ - -struct pt_regs { - unsigned long tls; - unsigned long lr; - unsigned long pc; - unsigned long sr; - unsigned long usp; - - /* - * a0, a1, a2, a3: - * abiv1: r2, r3, r4, r5 - * abiv2: r0, r1, r2, r3 - */ - unsigned long orig_a0; - unsigned long a0; - unsigned long a1; - unsigned long a2; - unsigned long a3; - - /* - * ABIV2: r4 ~ r13 - * ABIV1: r6 ~ r14, r1 - */ - unsigned long regs[10]; - -#if defined(__CSKYABIV2__) - /* r16 ~ r30 */ - unsigned long exregs[15]; - - unsigned long rhi; - unsigned long rlo; - unsigned long dcsr; -#endif -}; - -struct user_fp { - unsigned long vr[96]; - unsigned long fcr; - unsigned long fesr; - unsigned long fid; - unsigned long reserved; -}; - -#endif /* __ASSEMBLY__ */ -#endif /* _CSKY_PTRACE_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ + +#ifndef _CSKY_PTRACE_H +#define _CSKY_PTRACE_H + +#ifndef __ASSEMBLY__ + +struct pt_regs { + unsigned long tls; + unsigned long lr; + unsigned long pc; + unsigned long sr; + unsigned long usp; + + /* + * a0, a1, a2, a3: + * abiv1: r2, r3, r4, r5 + * abiv2: r0, r1, r2, r3 + */ + unsigned long orig_a0; + unsigned long a0; + unsigned long a1; + unsigned long a2; + unsigned long a3; + + /* + * ABIV2: r4 ~ r13 + * ABIV1: r6 ~ r14, r1 + */ + unsigned long regs[10]; + +#if defined(__CSKYABIV2__) + /* r16 ~ r30 */ + unsigned long exregs[15]; + + unsigned long rhi; + unsigned long rlo; + unsigned long dcsr; +#endif +}; + +struct user_fp { + unsigned long vr[96]; + unsigned long fcr; + unsigned long fesr; + unsigned long fid; + unsigned long reserved; +}; + +#endif /* __ASSEMBLY__ */ +#endif /* _CSKY_PTRACE_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/kernel/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/csky/kernel/Makefile index a227de9e75..8a868316b9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/kernel/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/kernel/Makefile @@ -1,20 +1,20 @@ -# SPDX-License-Identifier: GPL-2.0-only -extra-y := vmlinux.lds - -obj-y += head.o entry.o atomic.o signal.o traps.o irq.o time.o vdso.o vdso/ -obj-y += power.o syscall.o syscall_table.o setup.o io.o -obj-y += process.o cpu-probe.o ptrace.o stacktrace.o -obj-y += probes/ - -obj-$(CONFIG_MODULES) += module.o -obj-$(CONFIG_SMP) += smp.o -obj-$(CONFIG_FUNCTION_TRACER) += ftrace.o -obj-$(CONFIG_STACKTRACE) += stacktrace.o -obj-$(CONFIG_CSKY_PMU_V1) += perf_event.o -obj-$(CONFIG_PERF_EVENTS) += perf_callchain.o -obj-$(CONFIG_HAVE_PERF_REGS) += perf_regs.o -obj-$(CONFIG_JUMP_LABEL) += jump_label.o - -ifdef CONFIG_FUNCTION_TRACER -CFLAGS_REMOVE_ftrace.o = $(CC_FLAGS_FTRACE) -endif +# SPDX-License-Identifier: GPL-2.0-only +extra-y := vmlinux.lds + +obj-y += head.o entry.o atomic.o signal.o traps.o irq.o time.o vdso.o vdso/ +obj-y += power.o syscall.o syscall_table.o setup.o io.o +obj-y += process.o cpu-probe.o ptrace.o stacktrace.o +obj-y += probes/ + +obj-$(CONFIG_MODULES) += module.o +obj-$(CONFIG_SMP) += smp.o +obj-$(CONFIG_FUNCTION_TRACER) += ftrace.o +obj-$(CONFIG_STACKTRACE) += stacktrace.o +obj-$(CONFIG_CSKY_PMU_V1) += perf_event.o +obj-$(CONFIG_PERF_EVENTS) += perf_callchain.o +obj-$(CONFIG_HAVE_PERF_REGS) += perf_regs.o +obj-$(CONFIG_JUMP_LABEL) += jump_label.o + +ifdef CONFIG_FUNCTION_TRACER +CFLAGS_REMOVE_ftrace.o = $(CC_FLAGS_FTRACE) +endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/kernel/atomic.S b/image/debian/UFI003_MB_V02/kernel/arch/csky/kernel/atomic.S index c9aff2d890..e73e548f78 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/kernel/atomic.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/kernel/atomic.S @@ -1,61 +1,61 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd. - -#include -#include - -.text - -/* - * int csky_cmpxchg(int oldval, int newval, int *ptr) - * - * If *ptr != oldval && return 1, - * else *ptr = newval return 0. - */ -ENTRY(csky_cmpxchg) - USPTOKSP - - RD_MEH a3 - WR_MEH a3 - - mfcr a3, epc - addi a3, TRAP0_SIZE - - subi sp, 16 - stw a3, (sp, 0) - mfcr a3, epsr - stw a3, (sp, 4) - mfcr a3, usp - stw a3, (sp, 8) - - psrset ee -#ifdef CONFIG_CPU_HAS_LDSTEX -1: - ldex a3, (a2) - cmpne a0, a3 - bt16 2f - mov a3, a1 - stex a3, (a2) - bez a3, 1b -2: - sync.is -#else -GLOBAL(csky_cmpxchg_ldw) - ldw a3, (a2) - cmpne a0, a3 - bt16 3f -GLOBAL(csky_cmpxchg_stw) - stw a1, (a2) -3: -#endif - mvc a0 - ldw a3, (sp, 0) - mtcr a3, epc - ldw a3, (sp, 4) - mtcr a3, epsr - ldw a3, (sp, 8) - mtcr a3, usp - addi sp, 16 - KSPTOUSP - rte -END(csky_cmpxchg) +/* SPDX-License-Identifier: GPL-2.0 */ +// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd. + +#include +#include + +.text + +/* + * int csky_cmpxchg(int oldval, int newval, int *ptr) + * + * If *ptr != oldval && return 1, + * else *ptr = newval return 0. + */ +ENTRY(csky_cmpxchg) + USPTOKSP + + RD_MEH a3 + WR_MEH a3 + + mfcr a3, epc + addi a3, TRAP0_SIZE + + subi sp, 16 + stw a3, (sp, 0) + mfcr a3, epsr + stw a3, (sp, 4) + mfcr a3, usp + stw a3, (sp, 8) + + psrset ee +#ifdef CONFIG_CPU_HAS_LDSTEX +1: + ldex a3, (a2) + cmpne a0, a3 + bt16 2f + mov a3, a1 + stex a3, (a2) + bez a3, 1b +2: + sync.is +#else +GLOBAL(csky_cmpxchg_ldw) + ldw a3, (a2) + cmpne a0, a3 + bt16 3f +GLOBAL(csky_cmpxchg_stw) + stw a1, (a2) +3: +#endif + mvc a0 + ldw a3, (sp, 0) + mtcr a3, epc + ldw a3, (sp, 4) + mtcr a3, epsr + ldw a3, (sp, 8) + mtcr a3, usp + addi sp, 16 + KSPTOUSP + rte +END(csky_cmpxchg) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/kernel/head.S b/image/debian/UFI003_MB_V02/kernel/arch/csky/kernel/head.S index 0c07046146..7e3e4f15b0 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/kernel/head.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/kernel/head.S @@ -1,42 +1,42 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#include -#include -#include -#include - -__HEAD -ENTRY(_start) - SETUP_MMU - - /* set stack point */ - lrw r6, init_thread_union + THREAD_SIZE - mov sp, r6 - - jmpi csky_start -END(_start) - -#ifdef CONFIG_SMP -.align 10 -ENTRY(_start_smp_secondary) - SETUP_MMU - -#ifdef CONFIG_PAGE_OFFSET_80000000 - lrw r6, secondary_msa1 - ld.w r6, (r6, 0) - mtcr r6, cr<31, 15> -#endif - - lrw r6, secondary_pgd - ld.w r6, (r6, 0) - mtcr r6, cr<28, 15> - mtcr r6, cr<29, 15> - - /* set stack point */ - lrw r6, secondary_stack - ld.w r6, (r6, 0) - mov sp, r6 - - jmpi csky_start_secondary -END(_start_smp_secondary) -#endif +/* SPDX-License-Identifier: GPL-2.0 */ + +#include +#include +#include +#include + +__HEAD +ENTRY(_start) + SETUP_MMU + + /* set stack point */ + lrw r6, init_thread_union + THREAD_SIZE + mov sp, r6 + + jmpi csky_start +END(_start) + +#ifdef CONFIG_SMP +.align 10 +ENTRY(_start_smp_secondary) + SETUP_MMU + +#ifdef CONFIG_PAGE_OFFSET_80000000 + lrw r6, secondary_msa1 + ld.w r6, (r6, 0) + mtcr r6, cr<31, 15> +#endif + + lrw r6, secondary_pgd + ld.w r6, (r6, 0) + mtcr r6, cr<28, 15> + mtcr r6, cr<29, 15> + + /* set stack point */ + lrw r6, secondary_stack + ld.w r6, (r6, 0) + mov sp, r6 + + jmpi csky_start_secondary +END(_start_smp_secondary) +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/kernel/perf_regs.c b/image/debian/UFI003_MB_V02/kernel/arch/csky/kernel/perf_regs.c index c5da5f703e..09b7f88a2d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/kernel/perf_regs.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/kernel/perf_regs.c @@ -1,39 +1,39 @@ -// SPDX-License-Identifier: GPL-2.0 -// Copyright (C) 2019 Hangzhou C-SKY Microsystems co.,ltd. - -#include -#include -#include -#include -#include -#include - -u64 perf_reg_value(struct pt_regs *regs, int idx) -{ - if (WARN_ON_ONCE((u32)idx >= PERF_REG_CSKY_MAX)) - return 0; - - return (u64)*((u32 *)regs + idx); -} - -#define REG_RESERVED (~((1ULL << PERF_REG_CSKY_MAX) - 1)) - -int perf_reg_validate(u64 mask) -{ - if (!mask || mask & REG_RESERVED) - return -EINVAL; - - return 0; -} - -u64 perf_reg_abi(struct task_struct *task) -{ - return PERF_SAMPLE_REGS_ABI_32; -} - -void perf_get_regs_user(struct perf_regs *regs_user, - struct pt_regs *regs) -{ - regs_user->regs = task_pt_regs(current); - regs_user->abi = perf_reg_abi(current); -} +// SPDX-License-Identifier: GPL-2.0 +// Copyright (C) 2019 Hangzhou C-SKY Microsystems co.,ltd. + +#include +#include +#include +#include +#include +#include + +u64 perf_reg_value(struct pt_regs *regs, int idx) +{ + if (WARN_ON_ONCE((u32)idx >= PERF_REG_CSKY_MAX)) + return 0; + + return (u64)*((u32 *)regs + idx); +} + +#define REG_RESERVED (~((1ULL << PERF_REG_CSKY_MAX) - 1)) + +int perf_reg_validate(u64 mask) +{ + if (!mask || mask & REG_RESERVED) + return -EINVAL; + + return 0; +} + +u64 perf_reg_abi(struct task_struct *task) +{ + return PERF_SAMPLE_REGS_ABI_32; +} + +void perf_get_regs_user(struct perf_regs *regs_user, + struct pt_regs *regs) +{ + regs_user->regs = task_pt_regs(current); + regs_user->abi = perf_reg_abi(current); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/kernel/syscall.c b/image/debian/UFI003_MB_V02/kernel/arch/csky/kernel/syscall.c index 7b46a5014e..4540a271ee 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/kernel/syscall.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/kernel/syscall.c @@ -1,43 +1,43 @@ -// SPDX-License-Identifier: GPL-2.0 -// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd. - -#include - -SYSCALL_DEFINE1(set_thread_area, unsigned long, addr) -{ - struct thread_info *ti = task_thread_info(current); - struct pt_regs *reg = current_pt_regs(); - - reg->tls = addr; - ti->tp_value = addr; - - return 0; -} - -SYSCALL_DEFINE6(mmap2, - unsigned long, addr, - unsigned long, len, - unsigned long, prot, - unsigned long, flags, - unsigned long, fd, - unsigned long, offset) -{ - if (unlikely(offset & (~PAGE_MASK >> 12))) - return -EINVAL; - - return ksys_mmap_pgoff(addr, len, prot, flags, fd, - offset >> (PAGE_SHIFT - 12)); -} - -/* - * for abiv1 the 64bits args should be even th, So we need mov the advice - * forward. - */ -SYSCALL_DEFINE4(csky_fadvise64_64, - int, fd, - int, advice, - loff_t, offset, - loff_t, len) -{ - return ksys_fadvise64_64(fd, offset, len, advice); -} +// SPDX-License-Identifier: GPL-2.0 +// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd. + +#include + +SYSCALL_DEFINE1(set_thread_area, unsigned long, addr) +{ + struct thread_info *ti = task_thread_info(current); + struct pt_regs *reg = current_pt_regs(); + + reg->tls = addr; + ti->tp_value = addr; + + return 0; +} + +SYSCALL_DEFINE6(mmap2, + unsigned long, addr, + unsigned long, len, + unsigned long, prot, + unsigned long, flags, + unsigned long, fd, + unsigned long, offset) +{ + if (unlikely(offset & (~PAGE_MASK >> 12))) + return -EINVAL; + + return ksys_mmap_pgoff(addr, len, prot, flags, fd, + offset >> (PAGE_SHIFT - 12)); +} + +/* + * for abiv1 the 64bits args should be even th, So we need mov the advice + * forward. + */ +SYSCALL_DEFINE4(csky_fadvise64_64, + int, fd, + int, advice, + loff_t, offset, + loff_t, len) +{ + return ksys_fadvise64_64(fd, offset, len, advice); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/kernel/vdso/vgettimeofday.c b/image/debian/UFI003_MB_V02/kernel/arch/csky/kernel/vdso/vgettimeofday.c index 863b06e367..55af30e837 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/kernel/vdso/vgettimeofday.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/kernel/vdso/vgettimeofday.c @@ -1,30 +1,30 @@ -// SPDX-License-Identifier: GPL-2.0-only - -#include -#include -#include - -extern -int __vdso_clock_gettime(clockid_t clock, - struct old_timespec32 *ts) -{ - return __cvdso_clock_gettime32(clock, ts); -} - -int __vdso_clock_gettime64(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 old_timespec32 *res) -{ - return __cvdso_clock_getres_time32(clock_id, res); -} +// SPDX-License-Identifier: GPL-2.0-only + +#include +#include +#include + +extern +int __vdso_clock_gettime(clockid_t clock, + struct old_timespec32 *ts) +{ + return __cvdso_clock_gettime32(clock, ts); +} + +int __vdso_clock_gettime64(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 old_timespec32 *res) +{ + return __cvdso_clock_getres_time32(clock_id, res); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/lib/delay.c b/image/debian/UFI003_MB_V02/kernel/arch/csky/lib/delay.c index 50ea3d1317..f5db317313 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/lib/delay.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/lib/delay.c @@ -1,39 +1,39 @@ -// SPDX-License-Identifier: GPL-2.0 -// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd. -#include -#include -#include -#include - -void __aligned(8) __delay(unsigned long loops) -{ - asm volatile ( - "mov r0, r0\n" - "1:declt %0\n" - "bf 1b" - : "=r"(loops) - : "0"(loops)); -} -EXPORT_SYMBOL(__delay); - -void __const_udelay(unsigned long xloops) -{ - unsigned long long loops; - - loops = (unsigned long long)xloops * loops_per_jiffy * HZ; - - __delay(loops >> 32); -} -EXPORT_SYMBOL(__const_udelay); - -void __udelay(unsigned long usecs) -{ - __const_udelay(usecs * 0x10C7UL); /* 2**32 / 1000000 (rounded up) */ -} -EXPORT_SYMBOL(__udelay); - -void __ndelay(unsigned long nsecs) -{ - __const_udelay(nsecs * 0x5UL); /* 2**32 / 1000000000 (rounded up) */ -} -EXPORT_SYMBOL(__ndelay); +// SPDX-License-Identifier: GPL-2.0 +// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd. +#include +#include +#include +#include + +void __aligned(8) __delay(unsigned long loops) +{ + asm volatile ( + "mov r0, r0\n" + "1:declt %0\n" + "bf 1b" + : "=r"(loops) + : "0"(loops)); +} +EXPORT_SYMBOL(__delay); + +void __const_udelay(unsigned long xloops) +{ + unsigned long long loops; + + loops = (unsigned long long)xloops * loops_per_jiffy * HZ; + + __delay(loops >> 32); +} +EXPORT_SYMBOL(__const_udelay); + +void __udelay(unsigned long usecs) +{ + __const_udelay(usecs * 0x10C7UL); /* 2**32 / 1000000 (rounded up) */ +} +EXPORT_SYMBOL(__udelay); + +void __ndelay(unsigned long nsecs) +{ + __const_udelay(nsecs * 0x5UL); /* 2**32 / 1000000000 (rounded up) */ +} +EXPORT_SYMBOL(__ndelay); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/mm/highmem.c b/image/debian/UFI003_MB_V02/kernel/arch/csky/mm/highmem.c index a58be2da06..4161df3c6c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/mm/highmem.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/mm/highmem.c @@ -1,36 +1,36 @@ -// SPDX-License-Identifier: GPL-2.0 -// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd. - -#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); - -void __init kmap_init(void) -{ - unsigned long vaddr; - pgd_t *pgd; - pmd_t *pmd; - pud_t *pud; - pte_t *pte; - - vaddr = PKMAP_BASE; - fixrange_init(vaddr, vaddr + PAGE_SIZE*LAST_PKMAP, swapper_pg_dir); - - pgd = swapper_pg_dir + pgd_index(vaddr); - pud = (pud_t *)pgd; - pmd = pmd_offset(pud, vaddr); - pte = pte_offset_kernel(pmd, vaddr); - pkmap_page_table = pte; -} +// SPDX-License-Identifier: GPL-2.0 +// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd. + +#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); + +void __init kmap_init(void) +{ + unsigned long vaddr; + pgd_t *pgd; + pmd_t *pmd; + pud_t *pud; + pte_t *pte; + + vaddr = PKMAP_BASE; + fixrange_init(vaddr, vaddr + PAGE_SIZE*LAST_PKMAP, swapper_pg_dir); + + pgd = swapper_pg_dir + pgd_index(vaddr); + pud = (pud_t *)pgd; + pmd = pmd_offset(pud, vaddr); + pte = pte_offset_kernel(pmd, vaddr); + pkmap_page_table = pte; +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/mm/syscache.c b/image/debian/UFI003_MB_V02/kernel/arch/csky/mm/syscache.c index 85d85410a5..cd847ad62c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/mm/syscache.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/mm/syscache.c @@ -1,32 +1,32 @@ -// SPDX-License-Identifier: GPL-2.0 -// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd. - -#include -#include -#include -#include - -SYSCALL_DEFINE3(cacheflush, - void __user *, addr, - unsigned long, bytes, - int, cache) -{ - switch (cache) { - case BCACHE: - case DCACHE: - dcache_wb_range((unsigned long)addr, - (unsigned long)addr + bytes); - if (cache != BCACHE) - break; - fallthrough; - case ICACHE: - flush_icache_mm_range(current->mm, - (unsigned long)addr, - (unsigned long)addr + bytes); - break; - default: - return -EINVAL; - } - - return 0; -} +// SPDX-License-Identifier: GPL-2.0 +// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd. + +#include +#include +#include +#include + +SYSCALL_DEFINE3(cacheflush, + void __user *, addr, + unsigned long, bytes, + int, cache) +{ + switch (cache) { + case BCACHE: + case DCACHE: + dcache_wb_range((unsigned long)addr, + (unsigned long)addr + bytes); + if (cache != BCACHE) + break; + fallthrough; + case ICACHE: + flush_icache_mm_range(current->mm, + (unsigned long)addr, + (unsigned long)addr + bytes); + break; + default: + return -EINVAL; + } + + return 0; +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/checksum.h b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/checksum.h index dec2c98ee9..4bc6ad96c4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/checksum.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/checksum.h @@ -1,26 +1,26 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved. - */ - -#ifndef _ASM_CHECKSUM_H -#define _ASM_CHECKSUM_H - -#define do_csum do_csum -unsigned int do_csum(const void *voidptr, int len); - -/* - * computes the checksum of the TCP/UDP pseudo-header - * returns a 16-bit checksum, already complemented - */ -#define csum_tcpudp_nofold csum_tcpudp_nofold -__wsum csum_tcpudp_nofold(__be32 saddr, __be32 daddr, - __u32 len, __u8 proto, __wsum sum); - -#define csum_tcpudp_magic csum_tcpudp_magic -__sum16 csum_tcpudp_magic(__be32 saddr, __be32 daddr, - __u32 len, __u8 proto, __wsum sum); - -#include - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved. + */ + +#ifndef _ASM_CHECKSUM_H +#define _ASM_CHECKSUM_H + +#define do_csum do_csum +unsigned int do_csum(const void *voidptr, int len); + +/* + * computes the checksum of the TCP/UDP pseudo-header + * returns a 16-bit checksum, already complemented + */ +#define csum_tcpudp_nofold csum_tcpudp_nofold +__wsum csum_tcpudp_nofold(__be32 saddr, __be32 daddr, + __u32 len, __u8 proto, __wsum sum); + +#define csum_tcpudp_magic csum_tcpudp_magic +__sum16 csum_tcpudp_magic(__be32 saddr, __be32 daddr, + __u32 len, __u8 proto, __wsum sum); + +#include + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/irqflags.h b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/irqflags.h index b2aa881675..c4d2a4de13 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/irqflags.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/irqflags.h @@ -1,49 +1,49 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * IRQ support for the Hexagon architecture - * - * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved. - */ - -#ifndef _ASM_IRQFLAGS_H -#define _ASM_IRQFLAGS_H - -#include -#include - -static inline unsigned long arch_local_save_flags(void) -{ - return __vmgetie(); -} - -static inline unsigned long arch_local_irq_save(void) -{ - return __vmsetie(VM_INT_DISABLE); -} - -static inline bool arch_irqs_disabled_flags(unsigned long flags) -{ - return !flags; -} - -static inline bool arch_irqs_disabled(void) -{ - return !__vmgetie(); -} - -static inline void arch_local_irq_enable(void) -{ - __vmsetie(VM_INT_ENABLE); -} - -static inline void arch_local_irq_disable(void) -{ - __vmsetie(VM_INT_DISABLE); -} - -static inline void arch_local_irq_restore(unsigned long flags) -{ - __vmsetie(flags); -} - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * IRQ support for the Hexagon architecture + * + * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved. + */ + +#ifndef _ASM_IRQFLAGS_H +#define _ASM_IRQFLAGS_H + +#include +#include + +static inline unsigned long arch_local_save_flags(void) +{ + return __vmgetie(); +} + +static inline unsigned long arch_local_irq_save(void) +{ + return __vmsetie(VM_INT_DISABLE); +} + +static inline bool arch_irqs_disabled_flags(unsigned long flags) +{ + return !flags; +} + +static inline bool arch_irqs_disabled(void) +{ + return !__vmgetie(); +} + +static inline void arch_local_irq_enable(void) +{ + __vmsetie(VM_INT_ENABLE); +} + +static inline void arch_local_irq_disable(void) +{ + __vmsetie(VM_INT_DISABLE); +} + +static inline void arch_local_irq_restore(unsigned long flags) +{ + __vmsetie(flags); +} + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/kgdb.h b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/kgdb.h index 870b809904..30cc387b34 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/kgdb.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/kgdb.h @@ -1,31 +1,31 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * arch/hexagon/include/asm/kgdb.h - Hexagon KGDB Support - * - * Copyright (c) 2011, The Linux Foundation. All rights reserved. - */ - -#ifndef __HEXAGON_KGDB_H__ -#define __HEXAGON_KGDB_H__ - -#define BREAK_INSTR_SIZE 4 -#define CACHE_FLUSH_IS_SAFE 1 -#define BUFMAX ((NUMREGBYTES * 2) + 512) - -static inline void arch_kgdb_breakpoint(void) -{ - asm("trap0(#0xDB)"); -} - -/* Registers: - * 32 gpr + sa0/1 + lc0/1 + m0/1 + gp + ugp + pred + pc = 42 total. - * vm regs = psp+elr+est+badva = 4 - * syscall+restart = 2 more - * also add cs0/1 = 2 - * so 48 = 42 + 4 + 2 + 2 - */ -#define DBG_USER_REGS 42 -#define DBG_MAX_REG_NUM (DBG_USER_REGS + 8) -#define NUMREGBYTES (DBG_MAX_REG_NUM*4) - -#endif /* __HEXAGON_KGDB_H__ */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * arch/hexagon/include/asm/kgdb.h - Hexagon KGDB Support + * + * Copyright (c) 2011, The Linux Foundation. All rights reserved. + */ + +#ifndef __HEXAGON_KGDB_H__ +#define __HEXAGON_KGDB_H__ + +#define BREAK_INSTR_SIZE 4 +#define CACHE_FLUSH_IS_SAFE 1 +#define BUFMAX ((NUMREGBYTES * 2) + 512) + +static inline void arch_kgdb_breakpoint(void) +{ + asm("trap0(#0xDB)"); +} + +/* Registers: + * 32 gpr + sa0/1 + lc0/1 + m0/1 + gp + ugp + pred + pc = 42 total. + * vm regs = psp+elr+est+badva = 4 + * syscall+restart = 2 more + * also add cs0/1 = 2 + * so 48 = 42 + 4 + 2 + 2 + */ +#define DBG_USER_REGS 42 +#define DBG_MAX_REG_NUM (DBG_USER_REGS + 8) +#define NUMREGBYTES (DBG_MAX_REG_NUM*4) + +#endif /* __HEXAGON_KGDB_H__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/ptrace.h b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/ptrace.h index 94415e6e98..ed35da1ee6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/ptrace.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/ptrace.h @@ -1,25 +1,25 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Ptrace definitions for the Hexagon architecture - * - * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved. - */ - -#ifndef _ASM_HEXAGON_PTRACE_H -#define _ASM_HEXAGON_PTRACE_H - -#include - -/* kprobe-based event tracer support */ -extern int regs_query_register_offset(const char *name); -extern const char *regs_query_register_name(unsigned int offset); - -#define current_pt_regs() \ - ((struct pt_regs *) \ - ((unsigned long)current_thread_info() + THREAD_SIZE) - 1) - -#if CONFIG_HEXAGON_ARCH_VERSION >= 4 -#define arch_has_single_step() (1) -#endif - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Ptrace definitions for the Hexagon architecture + * + * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved. + */ + +#ifndef _ASM_HEXAGON_PTRACE_H +#define _ASM_HEXAGON_PTRACE_H + +#include + +/* kprobe-based event tracer support */ +extern int regs_query_register_offset(const char *name); +extern const char *regs_query_register_name(unsigned int offset); + +#define current_pt_regs() \ + ((struct pt_regs *) \ + ((unsigned long)current_thread_info() + THREAD_SIZE) - 1) + +#if CONFIG_HEXAGON_ARCH_VERSION >= 4 +#define arch_has_single_step() (1) +#endif + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/smp.h b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/smp.h index 2a1171b215..60d6c94864 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/smp.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/smp.h @@ -1,30 +1,30 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * SMP definitions for the Hexagon architecture - * - * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved. - */ - -#ifndef __ASM_SMP_H -#define __ASM_SMP_H - -#include - -#define raw_smp_processor_id() (current_thread_info()->cpu) - -enum ipi_message_type { - IPI_NOP = 0, - IPI_RESCHEDULE = 1, - IPI_CALL_FUNC, - IPI_CPU_STOP, - IPI_TIMER, -}; - -extern void send_ipi(const struct cpumask *cpumask, enum ipi_message_type msg); -extern void smp_start_cpus(void); -extern void arch_send_call_function_single_ipi(int cpu); -extern void arch_send_call_function_ipi_mask(const struct cpumask *mask); - -extern void smp_vm_unmask_irq(void *info); - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * SMP definitions for the Hexagon architecture + * + * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved. + */ + +#ifndef __ASM_SMP_H +#define __ASM_SMP_H + +#include + +#define raw_smp_processor_id() (current_thread_info()->cpu) + +enum ipi_message_type { + IPI_NOP = 0, + IPI_RESCHEDULE = 1, + IPI_CALL_FUNC, + IPI_CPU_STOP, + IPI_TIMER, +}; + +extern void send_ipi(const struct cpumask *cpumask, enum ipi_message_type msg); +extern void smp_start_cpus(void); +extern void arch_send_call_function_single_ipi(int cpu); +extern void arch_send_call_function_ipi_mask(const struct cpumask *mask); + +extern void smp_vm_unmask_irq(void *info); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/uapi/asm/param.h b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/uapi/asm/param.h index 030af06614..a1283866d5 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/uapi/asm/param.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/uapi/asm/param.h @@ -1,27 +1,27 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -/* - * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 and - * only version 2 as published by the Free Software Foundation. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA - * 02110-1301, USA. - */ - -#ifndef _ASM_PARAM_H -#define _ASM_PARAM_H - -#define EXEC_PAGESIZE 16384 - -#include - -#endif +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +/* + * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 and + * only version 2 as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + * 02110-1301, USA. + */ + +#ifndef _ASM_PARAM_H +#define _ASM_PARAM_H + +#define EXEC_PAGESIZE 16384 + +#include + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/uapi/asm/swab.h b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/uapi/asm/swab.h index d310707339..b39f12104d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/uapi/asm/swab.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/uapi/asm/swab.h @@ -1,25 +1,25 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -/* - * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 and - * only version 2 as published by the Free Software Foundation. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA - * 02110-1301, USA. - */ - -#ifndef _ASM_SWAB_H -#define _ASM_SWAB_H - -#define __SWAB_64_THRU_32__ - -#endif +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +/* + * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 and + * only version 2 as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + * 02110-1301, USA. + */ + +#ifndef _ASM_SWAB_H +#define _ASM_SWAB_H + +#define __SWAB_64_THRU_32__ + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/kernel/syscalltab.c b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/kernel/syscalltab.c index 3a7393ba31..b53e2eead4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/kernel/syscalltab.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/kernel/syscalltab.c @@ -1,30 +1,30 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * System call table for Hexagon - * - * Copyright (c) 2010-2011, The Linux Foundation. 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 - -SYSCALL_DEFINE6(hexagon_fadvise64_64, int, fd, int, advice, - SC_ARG64(offset), SC_ARG64(len)) -{ - return ksys_fadvise64_64(fd, SC_VAL64(loff_t, offset), SC_VAL64(loff_t, len), advice); -} -#define sys_fadvise64_64 sys_hexagon_fadvise64_64 - -#define sys_sync_file_range sys_sync_file_range2 - -void *sys_call_table[__NR_syscalls] = { -#include -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * System call table for Hexagon + * + * Copyright (c) 2010-2011, The Linux Foundation. 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 + +SYSCALL_DEFINE6(hexagon_fadvise64_64, int, fd, int, advice, + SC_ARG64(offset), SC_ARG64(len)) +{ + return ksys_fadvise64_64(fd, SC_VAL64(loff_t, offset), SC_VAL64(loff_t, len), advice); +} +#define sys_fadvise64_64 sys_hexagon_fadvise64_64 + +#define sys_sync_file_range sys_sync_file_range2 + +void *sys_call_table[__NR_syscalls] = { +#include +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/kernel/vm_vectors.S b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/kernel/vm_vectors.S index 3f1beab674..fba33745ce 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/kernel/vm_vectors.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/kernel/vm_vectors.S @@ -1,35 +1,35 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Event jump tables - * - * Copyright (c) 2010-2012,2013, The Linux Foundation. All rights reserved. - */ - -#include - -.text - -/* This is registered early on to allow angel */ -.global _K_provisional_vec -_K_provisional_vec: - jump 1f; - jump 1f; - jump 1f; - jump 1f; - jump 1f; - trap1(#HVM_TRAP1_VMRTE) - jump 1f; - jump 1f; - - -.global _K_VM_event_vector -_K_VM_event_vector: -1: - jump 1b; /* Reset */ - jump _K_enter_machcheck; - jump _K_enter_genex; - jump _K_enter_debug; - jump 1b; /* 4 Rsvd */ - jump _K_enter_trap0; - jump 1b; /* 6 Rsvd */ - jump _K_enter_interrupt; +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Event jump tables + * + * Copyright (c) 2010-2012,2013, The Linux Foundation. All rights reserved. + */ + +#include + +.text + +/* This is registered early on to allow angel */ +.global _K_provisional_vec +_K_provisional_vec: + jump 1f; + jump 1f; + jump 1f; + jump 1f; + jump 1f; + trap1(#HVM_TRAP1_VMRTE) + jump 1f; + jump 1f; + + +.global _K_VM_event_vector +_K_VM_event_vector: +1: + jump 1b; /* Reset */ + jump _K_enter_machcheck; + jump _K_enter_genex; + jump _K_enter_debug; + jump 1b; /* 4 Rsvd */ + jump _K_enter_trap0; + jump 1b; /* 6 Rsvd */ + jump _K_enter_interrupt; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/lib/udivsi3.S b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/lib/udivsi3.S index 87b0ef37f1..477f27b931 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/lib/udivsi3.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/lib/udivsi3.S @@ -1,38 +1,38 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (c) 2021, The Linux Foundation. All rights reserved. - */ - -#include - -SYM_FUNC_START(__hexagon_udivsi3) - { - r2 = cl0(r0) - r3 = cl0(r1) - r5:4 = combine(#1,#0) - p0 = cmp.gtu(r1,r0) - } - { - r6 = sub(r3,r2) - r4 = r1 - r1:0 = combine(r0,r4) - if (p0) jumpr r31 - } - { - r3:2 = vlslw(r5:4,r6) - loop0(1f,r6) - } - .falign -1: - { - p0 = cmp.gtu(r2,r1) - if (!p0.new) r1 = sub(r1,r2) - if (!p0.new) r0 = add(r0,r3) - r3:2 = vlsrw(r3:2,#1) - }:endloop0 - { - p0 = cmp.gtu(r2,r1) - if (!p0.new) r0 = add(r0,r3) - jumpr r31 - } -SYM_FUNC_END(__hexagon_udivsi3) +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (c) 2021, The Linux Foundation. All rights reserved. + */ + +#include + +SYM_FUNC_START(__hexagon_udivsi3) + { + r2 = cl0(r0) + r3 = cl0(r1) + r5:4 = combine(#1,#0) + p0 = cmp.gtu(r1,r0) + } + { + r6 = sub(r3,r2) + r4 = r1 + r1:0 = combine(r0,r4) + if (p0) jumpr r31 + } + { + r3:2 = vlslw(r5:4,r6) + loop0(1f,r6) + } + .falign +1: + { + p0 = cmp.gtu(r2,r1) + if (!p0.new) r1 = sub(r1,r2) + if (!p0.new) r0 = add(r0,r3) + r3:2 = vlsrw(r3:2,#1) + }:endloop0 + { + p0 = cmp.gtu(r2,r1) + if (!p0.new) r0 = add(r0,r3) + jumpr r31 + } +SYM_FUNC_END(__hexagon_udivsi3) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/lib/umodsi3.S b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/lib/umodsi3.S index 0cde4c277b..280bf06a55 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/lib/umodsi3.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/lib/umodsi3.S @@ -1,36 +1,36 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (c) 2021, The Linux Foundation. All rights reserved. - */ - -#include - -SYM_FUNC_START(__hexagon_umodsi3) - { - r2 = cl0(r0) - r3 = cl0(r1) - p0 = cmp.gtu(r1,r0) - } - { - r2 = sub(r3,r2) - if (p0) jumpr r31 - } - { - loop0(1f,r2) - p1 = cmp.eq(r2,#0) - r2 = lsl(r1,r2) - } - .falign -1: - { - p0 = cmp.gtu(r2,r0) - if (!p0.new) r0 = sub(r0,r2) - r2 = lsr(r2,#1) - if (p1) r1 = #0 - }:endloop0 - { - p0 = cmp.gtu(r2,r0) - if (!p0.new) r0 = sub(r0,r1) - jumpr r31 - } -SYM_FUNC_END(__hexagon_umodsi3) +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (c) 2021, The Linux Foundation. All rights reserved. + */ + +#include + +SYM_FUNC_START(__hexagon_umodsi3) + { + r2 = cl0(r0) + r3 = cl0(r1) + p0 = cmp.gtu(r1,r0) + } + { + r2 = sub(r3,r2) + if (p0) jumpr r31 + } + { + loop0(1f,r2) + p1 = cmp.eq(r2,#0) + r2 = lsl(r1,r2) + } + .falign +1: + { + p0 = cmp.gtu(r2,r0) + if (!p0.new) r0 = sub(r0,r2) + r2 = lsr(r2,#1) + if (p1) r1 = #0 + }:endloop0 + { + p0 = cmp.gtu(r2,r0) + if (!p0.new) r0 = sub(r0,r1) + jumpr r31 + } +SYM_FUNC_END(__hexagon_umodsi3) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/boot/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/boot/Makefile index 6b3c2bcd99..4e1c374c57 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/boot/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/boot/Makefile @@ -1,26 +1,26 @@ -# -# arch/loongarch/boot/Makefile -# -# Copyright (C) 2020-2022 Loongson Technology Corporation Limited -# - -drop-sections := .comment .note .options .note.gnu.build-id -strip-flags := $(addprefix --remove-section=,$(drop-sections)) -S -OBJCOPYFLAGS_vmlinux.efi := -O binary $(strip-flags) - -quiet_cmd_strip = STRIP $@ - cmd_strip = $(STRIP) -s -o $@ $< - -targets := vmlinux.elf -$(obj)/vmlinux.elf: vmlinux FORCE - $(call if_changed,strip) - -targets += vmlinux.efi -$(obj)/vmlinux.efi: vmlinux FORCE - $(call if_changed,objcopy) - -EFI_ZBOOT_PAYLOAD := vmlinux.efi -EFI_ZBOOT_BFD_TARGET := elf64-loongarch -EFI_ZBOOT_MACH_TYPE := LOONGARCH64 - -include $(srctree)/drivers/firmware/efi/libstub/Makefile.zboot +# +# arch/loongarch/boot/Makefile +# +# Copyright (C) 2020-2022 Loongson Technology Corporation Limited +# + +drop-sections := .comment .note .options .note.gnu.build-id +strip-flags := $(addprefix --remove-section=,$(drop-sections)) -S +OBJCOPYFLAGS_vmlinux.efi := -O binary $(strip-flags) + +quiet_cmd_strip = STRIP $@ + cmd_strip = $(STRIP) -s -o $@ $< + +targets := vmlinux.elf +$(obj)/vmlinux.elf: vmlinux FORCE + $(call if_changed,strip) + +targets += vmlinux.efi +$(obj)/vmlinux.efi: vmlinux FORCE + $(call if_changed,objcopy) + +EFI_ZBOOT_PAYLOAD := vmlinux.efi +EFI_ZBOOT_BFD_TARGET := elf64-loongarch +EFI_ZBOOT_MACH_TYPE := LOONGARCH64 + +include $(srctree)/drivers/firmware/efi/libstub/Makefile.zboot diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/bitops.h b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/bitops.h index 1334a1dff6..69e00f8d80 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/bitops.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/bitops.h @@ -1,33 +1,33 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2020-2022 Loongson Technology Corporation Limited - */ -#ifndef _ASM_BITOPS_H -#define _ASM_BITOPS_H - -#include - -#ifndef _LINUX_BITOPS_H -#error only can be included directly -#endif - -#include - -#include -#include -#include -#include - -#include -#include - -#include -#include - -#include -#include -#include -#include -#include - -#endif /* _ASM_BITOPS_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2020-2022 Loongson Technology Corporation Limited + */ +#ifndef _ASM_BITOPS_H +#define _ASM_BITOPS_H + +#include + +#ifndef _LINUX_BITOPS_H +#error only can be included directly +#endif + +#include + +#include +#include +#include +#include + +#include +#include + +#include +#include + +#include +#include +#include +#include +#include + +#endif /* _ASM_BITOPS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/bitrev.h b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/bitrev.h index 3e1de6f4a0..46f275b9cd 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/bitrev.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/bitrev.h @@ -1,34 +1,34 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2020-2022 Loongson Technology Corporation Limited - */ -#ifndef __LOONGARCH_ASM_BITREV_H__ -#define __LOONGARCH_ASM_BITREV_H__ - -#include - -static __always_inline __attribute_const__ u32 __arch_bitrev32(u32 x) -{ - u32 ret; - - asm("bitrev.4b %0, %1" : "=r"(ret) : "r"(__swab32(x))); - return ret; -} - -static __always_inline __attribute_const__ u16 __arch_bitrev16(u16 x) -{ - u16 ret; - - asm("bitrev.4b %0, %1" : "=r"(ret) : "r"(__swab16(x))); - return ret; -} - -static __always_inline __attribute_const__ u8 __arch_bitrev8(u8 x) -{ - u8 ret; - - asm("bitrev.4b %0, %1" : "=r"(ret) : "r"(x)); - return ret; -} - -#endif /* __LOONGARCH_ASM_BITREV_H__ */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2020-2022 Loongson Technology Corporation Limited + */ +#ifndef __LOONGARCH_ASM_BITREV_H__ +#define __LOONGARCH_ASM_BITREV_H__ + +#include + +static __always_inline __attribute_const__ u32 __arch_bitrev32(u32 x) +{ + u32 ret; + + asm("bitrev.4b %0, %1" : "=r"(ret) : "r"(__swab32(x))); + return ret; +} + +static __always_inline __attribute_const__ u16 __arch_bitrev16(u16 x) +{ + u16 ret; + + asm("bitrev.4b %0, %1" : "=r"(ret) : "r"(__swab16(x))); + return ret; +} + +static __always_inline __attribute_const__ u8 __arch_bitrev8(u8 x) +{ + u8 ret; + + asm("bitrev.4b %0, %1" : "=r"(ret) : "r"(x)); + return ret; +} + +#endif /* __LOONGARCH_ASM_BITREV_H__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/efi.h b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/efi.h index 3359c2cb99..eddc8e79b3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/efi.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/efi.h @@ -1,35 +1,35 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2020-2022 Loongson Technology Corporation Limited - */ -#ifndef _ASM_LOONGARCH_EFI_H -#define _ASM_LOONGARCH_EFI_H - -#include - -void __init efi_init(void); -void __init efi_runtime_init(void); -void __init *efi_fdt_pointer(void); -void efifb_setup_from_dmi(struct screen_info *si, const char *opt); - -#define ARCH_EFI_IRQ_FLAGS_MASK 0x00000004 /* Bit 2: CSR.CRMD.IE */ - -#define arch_efi_call_virt_setup() -#define arch_efi_call_virt_teardown() - -#define EFI_ALLOC_ALIGN SZ_64K -#define EFI_RT_VIRTUAL_OFFSET CSR_DMW0_BASE - -static inline unsigned long efi_get_max_initrd_addr(unsigned long image_addr) -{ - return ULONG_MAX; -} - -static inline unsigned long efi_get_kimg_min_align(void) -{ - return SZ_2M; -} - -#define EFI_KIMG_PREFERRED_ADDRESS PHYSADDR(VMLINUX_LOAD_ADDRESS) - -#endif /* _ASM_LOONGARCH_EFI_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2020-2022 Loongson Technology Corporation Limited + */ +#ifndef _ASM_LOONGARCH_EFI_H +#define _ASM_LOONGARCH_EFI_H + +#include + +void __init efi_init(void); +void __init efi_runtime_init(void); +void __init *efi_fdt_pointer(void); +void efifb_setup_from_dmi(struct screen_info *si, const char *opt); + +#define ARCH_EFI_IRQ_FLAGS_MASK 0x00000004 /* Bit 2: CSR.CRMD.IE */ + +#define arch_efi_call_virt_setup() +#define arch_efi_call_virt_teardown() + +#define EFI_ALLOC_ALIGN SZ_64K +#define EFI_RT_VIRTUAL_OFFSET CSR_DMW0_BASE + +static inline unsigned long efi_get_max_initrd_addr(unsigned long image_addr) +{ + return ULONG_MAX; +} + +static inline unsigned long efi_get_kimg_min_align(void) +{ + return SZ_2M; +} + +#define EFI_KIMG_PREFERRED_ADDRESS PHYSADDR(VMLINUX_LOAD_ADDRESS) + +#endif /* _ASM_LOONGARCH_EFI_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/hardirq.h b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/hardirq.h index 9842360efc..10da8d6961 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/hardirq.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/hardirq.h @@ -1,34 +1,34 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2020-2022 Loongson Technology Corporation Limited - */ -#ifndef _ASM_HARDIRQ_H -#define _ASM_HARDIRQ_H - -#include -#include -#include - -extern void ack_bad_irq(unsigned int irq); -#define ack_bad_irq ack_bad_irq - -#define NR_IPI 4 - -enum ipi_msg_type { - IPI_RESCHEDULE, - IPI_CALL_FUNCTION, - IPI_IRQ_WORK, - IPI_CLEAR_VECTOR, -}; - -typedef struct { - unsigned int ipi_irqs[NR_IPI]; - unsigned int __softirq_pending; - atomic_t message ____cacheline_aligned_in_smp; -} ____cacheline_aligned irq_cpustat_t; - -DECLARE_PER_CPU_SHARED_ALIGNED(irq_cpustat_t, irq_stat); - -#define __ARCH_IRQ_STAT - -#endif /* _ASM_HARDIRQ_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2020-2022 Loongson Technology Corporation Limited + */ +#ifndef _ASM_HARDIRQ_H +#define _ASM_HARDIRQ_H + +#include +#include +#include + +extern void ack_bad_irq(unsigned int irq); +#define ack_bad_irq ack_bad_irq + +#define NR_IPI 4 + +enum ipi_msg_type { + IPI_RESCHEDULE, + IPI_CALL_FUNCTION, + IPI_IRQ_WORK, + IPI_CLEAR_VECTOR, +}; + +typedef struct { + unsigned int ipi_irqs[NR_IPI]; + unsigned int __softirq_pending; + atomic_t message ____cacheline_aligned_in_smp; +} ____cacheline_aligned irq_cpustat_t; + +DECLARE_PER_CPU_SHARED_ALIGNED(irq_cpustat_t, irq_stat); + +#define __ARCH_IRQ_STAT + +#endif /* _ASM_HARDIRQ_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/paravirt.h b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/paravirt.h index 9a3bbdf9f1..3f4323603e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/paravirt.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/paravirt.h @@ -1,42 +1,42 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_LOONGARCH_PARAVIRT_H -#define _ASM_LOONGARCH_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_ipi_init(void); -int __init pv_time_init(void); -int __init pv_spinlock_init(void); - -#else - -static inline int pv_ipi_init(void) -{ - return 0; -} - -static inline int pv_time_init(void) -{ - return 0; -} - -static inline int pv_spinlock_init(void) -{ - return 0; -} - -#endif // CONFIG_PARAVIRT -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_LOONGARCH_PARAVIRT_H +#define _ASM_LOONGARCH_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_ipi_init(void); +int __init pv_time_init(void); +int __init pv_spinlock_init(void); + +#else + +static inline int pv_ipi_init(void) +{ + return 0; +} + +static inline int pv_time_init(void) +{ + return 0; +} + +static inline int pv_spinlock_init(void) +{ + return 0; +} + +#endif // CONFIG_PARAVIRT +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/qspinlock.h b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/qspinlock.h index e31a279cd4..e76d3aa1e1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/qspinlock.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/qspinlock.h @@ -1,41 +1,41 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_LOONGARCH_QSPINLOCK_H -#define _ASM_LOONGARCH_QSPINLOCK_H - -#include - -#ifdef CONFIG_PARAVIRT - -DECLARE_STATIC_KEY_FALSE(virt_spin_lock_key); - -#define virt_spin_lock virt_spin_lock - -static inline bool virt_spin_lock(struct qspinlock *lock) -{ - int val; - - if (!static_branch_unlikely(&virt_spin_lock_key)) - return false; - - /* - * On hypervisors without PARAVIRT_SPINLOCKS support we fall - * back to a Test-and-Set spinlock, because fair locks have - * horrible lock 'holder' preemption issues. - */ - -__retry: - val = atomic_read(&lock->val); - - if (val || !atomic_try_cmpxchg(&lock->val, &val, _Q_LOCKED_VAL)) { - cpu_relax(); - goto __retry; - } - - return true; -} - -#endif /* CONFIG_PARAVIRT */ - -#include - -#endif // _ASM_LOONGARCH_QSPINLOCK_H +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_LOONGARCH_QSPINLOCK_H +#define _ASM_LOONGARCH_QSPINLOCK_H + +#include + +#ifdef CONFIG_PARAVIRT + +DECLARE_STATIC_KEY_FALSE(virt_spin_lock_key); + +#define virt_spin_lock virt_spin_lock + +static inline bool virt_spin_lock(struct qspinlock *lock) +{ + int val; + + if (!static_branch_unlikely(&virt_spin_lock_key)) + return false; + + /* + * On hypervisors without PARAVIRT_SPINLOCKS support we fall + * back to a Test-and-Set spinlock, because fair locks have + * horrible lock 'holder' preemption issues. + */ + +__retry: + val = atomic_read(&lock->val); + + if (val || !atomic_try_cmpxchg(&lock->val, &val, _Q_LOCKED_VAL)) { + cpu_relax(); + goto __retry; + } + + return true; +} + +#endif /* CONFIG_PARAVIRT */ + +#include + +#endif // _ASM_LOONGARCH_QSPINLOCK_H diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/regdef.h b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/regdef.h index 8066676ff8..49a374c261 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/regdef.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/regdef.h @@ -1,41 +1,41 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2020-2022 Loongson Technology Corporation Limited - */ -#ifndef _ASM_REGDEF_H -#define _ASM_REGDEF_H - -#define zero $r0 /* wired zero */ -#define ra $r1 /* return address */ -#define tp $r2 -#define sp $r3 /* stack pointer */ -#define a0 $r4 /* argument registers, a0/a1 reused as v0/v1 for return value */ -#define a1 $r5 -#define a2 $r6 -#define a3 $r7 -#define a4 $r8 -#define a5 $r9 -#define a6 $r10 -#define a7 $r11 -#define t0 $r12 /* caller saved */ -#define t1 $r13 -#define t2 $r14 -#define t3 $r15 -#define t4 $r16 -#define t5 $r17 -#define t6 $r18 -#define t7 $r19 -#define t8 $r20 -#define u0 $r21 -#define fp $r22 /* frame pointer */ -#define s0 $r23 /* callee saved */ -#define s1 $r24 -#define s2 $r25 -#define s3 $r26 -#define s4 $r27 -#define s5 $r28 -#define s6 $r29 -#define s7 $r30 -#define s8 $r31 - -#endif /* _ASM_REGDEF_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2020-2022 Loongson Technology Corporation Limited + */ +#ifndef _ASM_REGDEF_H +#define _ASM_REGDEF_H + +#define zero $r0 /* wired zero */ +#define ra $r1 /* return address */ +#define tp $r2 +#define sp $r3 /* stack pointer */ +#define a0 $r4 /* argument registers, a0/a1 reused as v0/v1 for return value */ +#define a1 $r5 +#define a2 $r6 +#define a3 $r7 +#define a4 $r8 +#define a5 $r9 +#define a6 $r10 +#define a7 $r11 +#define t0 $r12 /* caller saved */ +#define t1 $r13 +#define t2 $r14 +#define t3 $r15 +#define t4 $r16 +#define t5 $r17 +#define t6 $r18 +#define t7 $r19 +#define t8 $r20 +#define u0 $r21 +#define fp $r22 /* frame pointer */ +#define s0 $r23 /* callee saved */ +#define s1 $r24 +#define s2 $r25 +#define s3 $r26 +#define s4 $r27 +#define s5 $r28 +#define s6 $r29 +#define s7 $r30 +#define s8 $r31 + +#endif /* _ASM_REGDEF_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/set_memory.h b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/set_memory.h index ed2f3f52e7..d70505b667 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/set_memory.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/set_memory.h @@ -1,21 +1,21 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2024 Loongson Technology Corporation Limited - */ - -#ifndef _ASM_LOONGARCH_SET_MEMORY_H -#define _ASM_LOONGARCH_SET_MEMORY_H - -/* - * Functions to change memory attributes. - */ -int set_memory_x(unsigned long addr, int numpages); -int set_memory_nx(unsigned long addr, int numpages); -int set_memory_ro(unsigned long addr, int numpages); -int set_memory_rw(unsigned long addr, int numpages); - -bool kernel_page_present(struct page *page); -int set_direct_map_default_noflush(struct page *page); -int set_direct_map_invalid_noflush(struct page *page); - -#endif /* _ASM_LOONGARCH_SET_MEMORY_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2024 Loongson Technology Corporation Limited + */ + +#ifndef _ASM_LOONGARCH_SET_MEMORY_H +#define _ASM_LOONGARCH_SET_MEMORY_H + +/* + * Functions to change memory attributes. + */ +int set_memory_x(unsigned long addr, int numpages); +int set_memory_nx(unsigned long addr, int numpages); +int set_memory_ro(unsigned long addr, int numpages); +int set_memory_rw(unsigned long addr, int numpages); + +bool kernel_page_present(struct page *page); +int set_direct_map_default_noflush(struct page *page); +int set_direct_map_invalid_noflush(struct page *page); + +#endif /* _ASM_LOONGARCH_SET_MEMORY_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/sparsemem.h b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/sparsemem.h index 45d445c59e..8d4af6aff8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/sparsemem.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/sparsemem.h @@ -1,31 +1,31 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _LOONGARCH_SPARSEMEM_H -#define _LOONGARCH_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 - */ -#define SECTION_SIZE_BITS 29 /* 2^29 = Largest Huge Page Size */ -#define MAX_PHYSMEM_BITS 48 - -#ifdef CONFIG_SPARSEMEM_VMEMMAP -#define VMEMMAP_SIZE (sizeof(struct page) * (1UL << (cpu_pabits + 1 - PAGE_SHIFT))) -#endif - -#endif /* CONFIG_SPARSEMEM */ - -#ifndef VMEMMAP_SIZE -#define VMEMMAP_SIZE 0 /* 1, For FLATMEM; 2, For SPARSEMEM without VMEMMAP. */ -#endif - -#ifdef CONFIG_MEMORY_HOTPLUG -int memory_add_physaddr_to_nid(u64 addr); -#define memory_add_physaddr_to_nid memory_add_physaddr_to_nid -#endif - -#define INIT_MEMBLOCK_RESERVED_REGIONS (INIT_MEMBLOCK_REGIONS + NR_CPUS) - -#endif /* _LOONGARCH_SPARSEMEM_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _LOONGARCH_SPARSEMEM_H +#define _LOONGARCH_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 + */ +#define SECTION_SIZE_BITS 29 /* 2^29 = Largest Huge Page Size */ +#define MAX_PHYSMEM_BITS 48 + +#ifdef CONFIG_SPARSEMEM_VMEMMAP +#define VMEMMAP_SIZE (sizeof(struct page) * (1UL << (cpu_pabits + 1 - PAGE_SHIFT))) +#endif + +#endif /* CONFIG_SPARSEMEM */ + +#ifndef VMEMMAP_SIZE +#define VMEMMAP_SIZE 0 /* 1, For FLATMEM; 2, For SPARSEMEM without VMEMMAP. */ +#endif + +#ifdef CONFIG_MEMORY_HOTPLUG +int memory_add_physaddr_to_nid(u64 addr); +#define memory_add_physaddr_to_nid memory_add_physaddr_to_nid +#endif + +#define INIT_MEMBLOCK_RESERVED_REGIONS (INIT_MEMBLOCK_REGIONS + NR_CPUS) + +#endif /* _LOONGARCH_SPARSEMEM_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/unwind_hints.h b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/unwind_hints.h index 4024dba14e..2c68bc7273 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/unwind_hints.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/unwind_hints.h @@ -1,36 +1,36 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_LOONGARCH_UNWIND_HINTS_H -#define _ASM_LOONGARCH_UNWIND_HINTS_H - -#include -#include - -#ifdef __ASSEMBLY__ - -.macro UNWIND_HINT_UNDEFINED - UNWIND_HINT type=UNWIND_HINT_TYPE_UNDEFINED -.endm - -.macro UNWIND_HINT_END_OF_STACK - UNWIND_HINT type=UNWIND_HINT_TYPE_END_OF_STACK -.endm - -.macro UNWIND_HINT_REGS - UNWIND_HINT sp_reg=ORC_REG_SP type=UNWIND_HINT_TYPE_REGS -.endm - -.macro UNWIND_HINT_FUNC - UNWIND_HINT sp_reg=ORC_REG_SP type=UNWIND_HINT_TYPE_CALL -.endm - -#else /* !__ASSEMBLY__ */ - -#define UNWIND_HINT_SAVE \ - UNWIND_HINT(UNWIND_HINT_TYPE_SAVE, 0, 0, 0) - -#define UNWIND_HINT_RESTORE \ - UNWIND_HINT(UNWIND_HINT_TYPE_RESTORE, 0, 0, 0) - -#endif /* !__ASSEMBLY__ */ - -#endif /* _ASM_LOONGARCH_UNWIND_HINTS_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_LOONGARCH_UNWIND_HINTS_H +#define _ASM_LOONGARCH_UNWIND_HINTS_H + +#include +#include + +#ifdef __ASSEMBLY__ + +.macro UNWIND_HINT_UNDEFINED + UNWIND_HINT type=UNWIND_HINT_TYPE_UNDEFINED +.endm + +.macro UNWIND_HINT_END_OF_STACK + UNWIND_HINT type=UNWIND_HINT_TYPE_END_OF_STACK +.endm + +.macro UNWIND_HINT_REGS + UNWIND_HINT sp_reg=ORC_REG_SP type=UNWIND_HINT_TYPE_REGS +.endm + +.macro UNWIND_HINT_FUNC + UNWIND_HINT sp_reg=ORC_REG_SP type=UNWIND_HINT_TYPE_CALL +.endm + +#else /* !__ASSEMBLY__ */ + +#define UNWIND_HINT_SAVE \ + UNWIND_HINT(UNWIND_HINT_TYPE_SAVE, 0, 0, 0) + +#define UNWIND_HINT_RESTORE \ + UNWIND_HINT(UNWIND_HINT_TYPE_RESTORE, 0, 0, 0) + +#endif /* !__ASSEMBLY__ */ + +#endif /* _ASM_LOONGARCH_UNWIND_HINTS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/uprobes.h b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/uprobes.h index 74f15e32d5..025fc3f0a1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/uprobes.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/uprobes.h @@ -1,35 +1,35 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -#ifndef __ASM_LOONGARCH_UPROBES_H -#define __ASM_LOONGARCH_UPROBES_H - -#include - -typedef u32 uprobe_opcode_t; - -#define MAX_UINSN_BYTES 8 -#define UPROBE_XOL_SLOT_BYTES MAX_UINSN_BYTES - -#define UPROBE_SWBP_INSN __emit_break(BRK_UPROBE_BP) -#define UPROBE_SWBP_INSN_SIZE LOONGARCH_INSN_SIZE - -#define UPROBE_XOLBP_INSN __emit_break(BRK_UPROBE_XOLBP) - -struct arch_uprobe { - u32 insn[2]; - u32 ixol[2]; - bool simulate; -}; - -struct arch_uprobe_task { - unsigned long saved_trap_nr; -}; - -#ifdef CONFIG_UPROBES -bool uprobe_breakpoint_handler(struct pt_regs *regs); -bool uprobe_singlestep_handler(struct pt_regs *regs); -#else /* !CONFIG_UPROBES */ -static inline bool uprobe_breakpoint_handler(struct pt_regs *regs) { return false; } -static inline bool uprobe_singlestep_handler(struct pt_regs *regs) { return false; } -#endif /* CONFIG_UPROBES */ - -#endif /* __ASM_LOONGARCH_UPROBES_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +#ifndef __ASM_LOONGARCH_UPROBES_H +#define __ASM_LOONGARCH_UPROBES_H + +#include + +typedef u32 uprobe_opcode_t; + +#define MAX_UINSN_BYTES 8 +#define UPROBE_XOL_SLOT_BYTES MAX_UINSN_BYTES + +#define UPROBE_SWBP_INSN __emit_break(BRK_UPROBE_BP) +#define UPROBE_SWBP_INSN_SIZE LOONGARCH_INSN_SIZE + +#define UPROBE_XOLBP_INSN __emit_break(BRK_UPROBE_XOLBP) + +struct arch_uprobe { + u32 insn[2]; + u32 ixol[2]; + bool simulate; +}; + +struct arch_uprobe_task { + unsigned long saved_trap_nr; +}; + +#ifdef CONFIG_UPROBES +bool uprobe_breakpoint_handler(struct pt_regs *regs); +bool uprobe_singlestep_handler(struct pt_regs *regs); +#else /* !CONFIG_UPROBES */ +static inline bool uprobe_breakpoint_handler(struct pt_regs *regs) { return false; } +static inline bool uprobe_singlestep_handler(struct pt_regs *regs) { return false; } +#endif /* CONFIG_UPROBES */ + +#endif /* __ASM_LOONGARCH_UPROBES_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/vdso/vsyscall.h b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/vdso/vsyscall.h index bee2cadeb3..b1273ce6f1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/vdso/vsyscall.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/vdso/vsyscall.h @@ -1,35 +1,35 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_VDSO_VSYSCALL_H -#define __ASM_VDSO_VSYSCALL_H - -#ifndef __ASSEMBLY__ - -#include -#include - -extern struct vdso_data *vdso_data; -extern struct vdso_rng_data *vdso_rng_data; - -/* - * Update the vDSO data page to keep in sync with kernel timekeeping. - */ -static __always_inline -struct vdso_data *__loongarch_get_k_vdso_data(void) -{ - return vdso_data; -} -#define __arch_get_k_vdso_data __loongarch_get_k_vdso_data - -static __always_inline -struct vdso_rng_data *__loongarch_get_k_vdso_rng_data(void) -{ - return vdso_rng_data; -} -#define __arch_get_k_vdso_rng_data __loongarch_get_k_vdso_rng_data - -/* The asm-generic header needs to be included after the definitions above */ -#include - -#endif /* !__ASSEMBLY__ */ - -#endif /* __ASM_VDSO_VSYSCALL_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_VDSO_VSYSCALL_H +#define __ASM_VDSO_VSYSCALL_H + +#ifndef __ASSEMBLY__ + +#include +#include + +extern struct vdso_data *vdso_data; +extern struct vdso_rng_data *vdso_rng_data; + +/* + * Update the vDSO data page to keep in sync with kernel timekeeping. + */ +static __always_inline +struct vdso_data *__loongarch_get_k_vdso_data(void) +{ + return vdso_data; +} +#define __arch_get_k_vdso_data __loongarch_get_k_vdso_data + +static __always_inline +struct vdso_rng_data *__loongarch_get_k_vdso_rng_data(void) +{ + return vdso_rng_data; +} +#define __arch_get_k_vdso_rng_data __loongarch_get_k_vdso_rng_data + +/* The asm-generic header needs to be included after the definitions above */ +#include + +#endif /* !__ASSEMBLY__ */ + +#endif /* __ASM_VDSO_VSYSCALL_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/video.h b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/video.h index 48eb935bc7..9f76845f2d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/video.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/video.h @@ -1,31 +1,31 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2020-2022 Loongson Technology Corporation Limited - */ -#ifndef _ASM_VIDEO_H_ -#define _ASM_VIDEO_H_ - -#include -#include - -static inline void fb_memcpy_fromio(void *to, const volatile void __iomem *from, size_t n) -{ - memcpy(to, (void __force *)from, n); -} -#define fb_memcpy_fromio fb_memcpy_fromio - -static inline void fb_memcpy_toio(volatile void __iomem *to, const void *from, size_t n) -{ - memcpy((void __force *)to, from, n); -} -#define fb_memcpy_toio fb_memcpy_toio - -static inline void fb_memset_io(volatile void __iomem *addr, int c, size_t n) -{ - memset((void __force *)addr, c, n); -} -#define fb_memset fb_memset_io - -#include - -#endif /* _ASM_VIDEO_H_ */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2020-2022 Loongson Technology Corporation Limited + */ +#ifndef _ASM_VIDEO_H_ +#define _ASM_VIDEO_H_ + +#include +#include + +static inline void fb_memcpy_fromio(void *to, const volatile void __iomem *from, size_t n) +{ + memcpy(to, (void __force *)from, n); +} +#define fb_memcpy_fromio fb_memcpy_fromio + +static inline void fb_memcpy_toio(volatile void __iomem *to, const void *from, size_t n) +{ + memcpy((void __force *)to, from, n); +} +#define fb_memcpy_toio fb_memcpy_toio + +static inline void fb_memset_io(volatile void __iomem *addr, int c, size_t n) +{ + memset((void __force *)addr, c, n); +} +#define fb_memset fb_memset_io + +#include + +#endif /* _ASM_VIDEO_H_ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/uapi/asm/break.h b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/uapi/asm/break.h index 7737fc2940..bb9b82ba59 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/uapi/asm/break.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/uapi/asm/break.h @@ -1,23 +1,23 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -/* - * Copyright (C) 2020-2022 Loongson Technology Corporation Limited - */ -#ifndef __UAPI_ASM_BREAK_H -#define __UAPI_ASM_BREAK_H - -#define BRK_DEFAULT 0 /* Used as default */ -#define BRK_BUG 1 /* Used by BUG() */ -#define BRK_KDB 2 /* Used in KDB_ENTER() */ -#define BRK_MATHEMU 3 /* Used by FPU emulator */ -#define BRK_USERBP 4 /* User bp (used by debuggers) */ -#define BRK_SSTEPBP 5 /* User bp (used by debuggers) */ -#define BRK_OVERFLOW 6 /* Overflow check */ -#define BRK_DIVZERO 7 /* Divide by zero check */ -#define BRK_RANGE 8 /* Range error check */ -#define BRK_MULOVFL 9 /* Multiply overflow */ -#define BRK_KPROBE_BP 10 /* Kprobe break */ -#define BRK_KPROBE_SSTEPBP 11 /* Kprobe single step break */ -#define BRK_UPROBE_BP 12 /* See */ -#define BRK_UPROBE_XOLBP 13 /* See */ - -#endif /* __UAPI_ASM_BREAK_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +/* + * Copyright (C) 2020-2022 Loongson Technology Corporation Limited + */ +#ifndef __UAPI_ASM_BREAK_H +#define __UAPI_ASM_BREAK_H + +#define BRK_DEFAULT 0 /* Used as default */ +#define BRK_BUG 1 /* Used by BUG() */ +#define BRK_KDB 2 /* Used in KDB_ENTER() */ +#define BRK_MATHEMU 3 /* Used by FPU emulator */ +#define BRK_USERBP 4 /* User bp (used by debuggers) */ +#define BRK_SSTEPBP 5 /* User bp (used by debuggers) */ +#define BRK_OVERFLOW 6 /* Overflow check */ +#define BRK_DIVZERO 7 /* Divide by zero check */ +#define BRK_RANGE 8 /* Range error check */ +#define BRK_MULOVFL 9 /* Multiply overflow */ +#define BRK_KPROBE_BP 10 /* Kprobe break */ +#define BRK_KPROBE_SSTEPBP 11 /* Kprobe single step break */ +#define BRK_UPROBE_BP 12 /* See */ +#define BRK_UPROBE_XOLBP 13 /* See */ + +#endif /* __UAPI_ASM_BREAK_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/uapi/asm/hwcap.h b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/uapi/asm/hwcap.h index d8ddca728f..2b34e56cfa 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/uapi/asm/hwcap.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/uapi/asm/hwcap.h @@ -1,22 +1,22 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _UAPI_ASM_HWCAP_H -#define _UAPI_ASM_HWCAP_H - -/* HWCAP flags */ -#define HWCAP_LOONGARCH_CPUCFG (1 << 0) -#define HWCAP_LOONGARCH_LAM (1 << 1) -#define HWCAP_LOONGARCH_UAL (1 << 2) -#define HWCAP_LOONGARCH_FPU (1 << 3) -#define HWCAP_LOONGARCH_LSX (1 << 4) -#define HWCAP_LOONGARCH_LASX (1 << 5) -#define HWCAP_LOONGARCH_CRC32 (1 << 6) -#define HWCAP_LOONGARCH_COMPLEX (1 << 7) -#define HWCAP_LOONGARCH_CRYPTO (1 << 8) -#define HWCAP_LOONGARCH_LVZ (1 << 9) -#define HWCAP_LOONGARCH_LBT_X86 (1 << 10) -#define HWCAP_LOONGARCH_LBT_ARM (1 << 11) -#define HWCAP_LOONGARCH_LBT_MIPS (1 << 12) -#define HWCAP_LOONGARCH_PTW (1 << 13) -#define HWCAP_LOONGARCH_LSPW (1 << 14) - -#endif /* _UAPI_ASM_HWCAP_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _UAPI_ASM_HWCAP_H +#define _UAPI_ASM_HWCAP_H + +/* HWCAP flags */ +#define HWCAP_LOONGARCH_CPUCFG (1 << 0) +#define HWCAP_LOONGARCH_LAM (1 << 1) +#define HWCAP_LOONGARCH_UAL (1 << 2) +#define HWCAP_LOONGARCH_FPU (1 << 3) +#define HWCAP_LOONGARCH_LSX (1 << 4) +#define HWCAP_LOONGARCH_LASX (1 << 5) +#define HWCAP_LOONGARCH_CRC32 (1 << 6) +#define HWCAP_LOONGARCH_COMPLEX (1 << 7) +#define HWCAP_LOONGARCH_CRYPTO (1 << 8) +#define HWCAP_LOONGARCH_LVZ (1 << 9) +#define HWCAP_LOONGARCH_LBT_X86 (1 << 10) +#define HWCAP_LOONGARCH_LBT_ARM (1 << 11) +#define HWCAP_LOONGARCH_LBT_MIPS (1 << 12) +#define HWCAP_LOONGARCH_PTW (1 << 13) +#define HWCAP_LOONGARCH_LSPW (1 << 14) + +#endif /* _UAPI_ASM_HWCAP_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/uapi/asm/kvm_para.h b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/uapi/asm/kvm_para.h index ef88e421f1..b0604aa9b4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/uapi/asm/kvm_para.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/uapi/asm/kvm_para.h @@ -1,21 +1,21 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _UAPI_ASM_KVM_PARA_H -#define _UAPI_ASM_KVM_PARA_H - -#include - -/* - * CPUCFG index area: 0x40000000 -- 0x400000ff - * SW emulation for KVM hypervirsor - */ -#define CPUCFG_KVM_BASE 0x40000000 -#define CPUCFG_KVM_SIZE 0x100 -#define CPUCFG_KVM_SIG (CPUCFG_KVM_BASE + 0) -#define KVM_SIGNATURE "KVM\0" -#define CPUCFG_KVM_FEATURE (CPUCFG_KVM_BASE + 4) -#define KVM_FEATURE_IPI 1 -#define KVM_FEATURE_STEAL_TIME 2 -/* BIT 24 - 31 are features configurable by user space vmm */ -#define KVM_FEATURE_VIRT_EXTIOI 24 - -#endif /* _UAPI_ASM_KVM_PARA_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _UAPI_ASM_KVM_PARA_H +#define _UAPI_ASM_KVM_PARA_H + +#include + +/* + * CPUCFG index area: 0x40000000 -- 0x400000ff + * SW emulation for KVM hypervirsor + */ +#define CPUCFG_KVM_BASE 0x40000000 +#define CPUCFG_KVM_SIZE 0x100 +#define CPUCFG_KVM_SIG (CPUCFG_KVM_BASE + 0) +#define KVM_SIGNATURE "KVM\0" +#define CPUCFG_KVM_FEATURE (CPUCFG_KVM_BASE + 4) +#define KVM_FEATURE_IPI 1 +#define KVM_FEATURE_STEAL_TIME 2 +/* BIT 24 - 31 are features configurable by user space vmm */ +#define KVM_FEATURE_VIRT_EXTIOI 24 + +#endif /* _UAPI_ASM_KVM_PARA_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/kernel/rethook.c b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/kernel/rethook.c index 6e5cfd542e..db1c5f5024 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/kernel/rethook.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/kernel/rethook.c @@ -1,28 +1,28 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Generic return hook for LoongArch. - */ - -#include -#include -#include "rethook.h" - -/* This is called from arch_rethook_trampoline() */ -unsigned long __used arch_rethook_trampoline_callback(struct pt_regs *regs) -{ - return rethook_trampoline_handler(regs, 0); -} -NOKPROBE_SYMBOL(arch_rethook_trampoline_callback); - -void arch_rethook_prepare(struct rethook_node *rhn, struct pt_regs *regs, bool mcount) -{ - rhn->frame = 0; - rhn->ret_addr = regs->regs[1]; - - /* replace return addr with trampoline */ - regs->regs[1] = (unsigned long)arch_rethook_trampoline; -} -NOKPROBE_SYMBOL(arch_rethook_prepare); - -/* ASM function that handles the rethook must not be probed itself */ -NOKPROBE_SYMBOL(arch_rethook_trampoline); +// SPDX-License-Identifier: GPL-2.0 +/* + * Generic return hook for LoongArch. + */ + +#include +#include +#include "rethook.h" + +/* This is called from arch_rethook_trampoline() */ +unsigned long __used arch_rethook_trampoline_callback(struct pt_regs *regs) +{ + return rethook_trampoline_handler(regs, 0); +} +NOKPROBE_SYMBOL(arch_rethook_trampoline_callback); + +void arch_rethook_prepare(struct rethook_node *rhn, struct pt_regs *regs, bool mcount) +{ + rhn->frame = 0; + rhn->ret_addr = regs->regs[1]; + + /* replace return addr with trampoline */ + regs->regs[1] = (unsigned long)arch_rethook_trampoline; +} +NOKPROBE_SYMBOL(arch_rethook_prepare); + +/* ASM function that handles the rethook must not be probed itself */ +NOKPROBE_SYMBOL(arch_rethook_trampoline); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/kernel/unwind.c b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/kernel/unwind.c index d400b9bf4b..a463d69613 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/kernel/unwind.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/kernel/unwind.c @@ -1,32 +1,32 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright (C) 2022-2023 Loongson Technology Corporation Limited - */ -#include -#include - -#include - -bool default_next_frame(struct unwind_state *state) -{ - struct stack_info *info = &state->stack_info; - unsigned long addr; - - if (unwind_done(state)) - return false; - - do { - for (state->sp += sizeof(unsigned long); - state->sp < info->end; state->sp += sizeof(unsigned long)) { - addr = *(unsigned long *)(state->sp); - state->pc = unwind_graph_addr(state, addr, state->sp + 8); - if (__kernel_text_address(state->pc)) - return true; - } - - state->sp = info->next_sp; - - } while (!get_stack_info(state->sp, state->task, info)); - - return false; -} +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2022-2023 Loongson Technology Corporation Limited + */ +#include +#include + +#include + +bool default_next_frame(struct unwind_state *state) +{ + struct stack_info *info = &state->stack_info; + unsigned long addr; + + if (unwind_done(state)) + return false; + + do { + for (state->sp += sizeof(unsigned long); + state->sp < info->end; state->sp += sizeof(unsigned long)) { + addr = *(unsigned long *)(state->sp); + state->pc = unwind_graph_addr(state, addr, state->sp + 8); + if (__kernel_text_address(state->pc)) + return true; + } + + state->sp = info->next_sp; + + } while (!get_stack_info(state->sp, state->task, info)); + + return false; +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/kernel/unwind_guess.c b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/kernel/unwind_guess.c index d72d1d7d95..98379b7d41 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/kernel/unwind_guess.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/kernel/unwind_guess.c @@ -1,26 +1,26 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright (C) 2022 Loongson Technology Corporation Limited - */ -#include - -unsigned long unwind_get_return_address(struct unwind_state *state) -{ - return __unwind_get_return_address(state); -} -EXPORT_SYMBOL_GPL(unwind_get_return_address); - -void unwind_start(struct unwind_state *state, struct task_struct *task, - struct pt_regs *regs) -{ - __unwind_start(state, task, regs); - if (!unwind_done(state) && !__kernel_text_address(state->pc)) - unwind_next_frame(state); -} -EXPORT_SYMBOL_GPL(unwind_start); - -bool unwind_next_frame(struct unwind_state *state) -{ - return default_next_frame(state); -} -EXPORT_SYMBOL_GPL(unwind_next_frame); +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2022 Loongson Technology Corporation Limited + */ +#include + +unsigned long unwind_get_return_address(struct unwind_state *state) +{ + return __unwind_get_return_address(state); +} +EXPORT_SYMBOL_GPL(unwind_get_return_address); + +void unwind_start(struct unwind_state *state, struct task_struct *task, + struct pt_regs *regs) +{ + __unwind_start(state, task, regs); + if (!unwind_done(state) && !__kernel_text_address(state->pc)) + unwind_next_frame(state); +} +EXPORT_SYMBOL_GPL(unwind_start); + +bool unwind_next_frame(struct unwind_state *state) +{ + return default_next_frame(state); +} +EXPORT_SYMBOL_GPL(unwind_next_frame); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/kvm/tlb.c b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/kvm/tlb.c index 2ca88c6429..ebdbe9264e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/kvm/tlb.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/kvm/tlb.c @@ -1,29 +1,29 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright (C) 2020-2023 Loongson Technology Corporation Limited - */ - -#include -#include -#include - -/* - * kvm_flush_tlb_all() - Flush all root TLB entries for guests. - * - * Invalidate all entries including GVA-->GPA and GPA-->HPA mappings. - */ -void kvm_flush_tlb_all(void) -{ - unsigned long flags; - - local_irq_save(flags); - invtlb_all(INVTLB_ALLGID, 0, 0); - local_irq_restore(flags); -} - -void kvm_flush_tlb_gpa(struct kvm_vcpu *vcpu, unsigned long gpa) -{ - lockdep_assert_irqs_disabled(); - gpa &= (PAGE_MASK << 1); - invtlb(INVTLB_GID_ADDR, read_csr_gstat() & CSR_GSTAT_GID, gpa); -} +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2020-2023 Loongson Technology Corporation Limited + */ + +#include +#include +#include + +/* + * kvm_flush_tlb_all() - Flush all root TLB entries for guests. + * + * Invalidate all entries including GVA-->GPA and GPA-->HPA mappings. + */ +void kvm_flush_tlb_all(void) +{ + unsigned long flags; + + local_irq_save(flags); + invtlb_all(INVTLB_ALLGID, 0, 0); + local_irq_restore(flags); +} + +void kvm_flush_tlb_gpa(struct kvm_vcpu *vcpu, unsigned long gpa) +{ + lockdep_assert_irqs_disabled(); + gpa &= (PAGE_MASK << 1); + invtlb(INVTLB_GID_ADDR, read_csr_gstat() & CSR_GSTAT_GID, gpa); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/mm/ioremap.c b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/mm/ioremap.c index b549d903b3..70ca730198 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/mm/ioremap.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/mm/ioremap.c @@ -1,28 +1,28 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright (C) 2020-2022 Loongson Technology Corporation Limited - */ - -#include -#include - -void __init __iomem *early_ioremap(u64 phys_addr, unsigned long size) -{ - return ((void __iomem *)TO_CACHE(phys_addr)); -} - -void __init early_iounmap(void __iomem *addr, unsigned long size) -{ - -} - -void *early_memremap_ro(resource_size_t phys_addr, unsigned long size) -{ - return early_memremap(phys_addr, size); -} - -void *early_memremap_prot(resource_size_t phys_addr, unsigned long size, - unsigned long prot_val) -{ - return early_memremap(phys_addr, size); -} +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2020-2022 Loongson Technology Corporation Limited + */ + +#include +#include + +void __init __iomem *early_ioremap(u64 phys_addr, unsigned long size) +{ + return ((void __iomem *)TO_CACHE(phys_addr)); +} + +void __init early_iounmap(void __iomem *addr, unsigned long size) +{ + +} + +void *early_memremap_ro(resource_size_t phys_addr, unsigned long size) +{ + return early_memremap(phys_addr, size); +} + +void *early_memremap_prot(resource_size_t phys_addr, unsigned long size, + unsigned long prot_val) +{ + return early_memremap(phys_addr, size); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/vdso/vgetcpu.c b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/vdso/vgetcpu.c index 3aede71063..9e445be397 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/vdso/vgetcpu.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/vdso/vgetcpu.c @@ -1,45 +1,45 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Fast user context implementation of getcpu() - */ - -#include -#include - -static __always_inline int read_cpu_id(void) -{ - int cpu_id; - - __asm__ __volatile__( - " rdtime.d $zero, %0\n" - : "=r" (cpu_id) - : - : "memory"); - - return cpu_id; -} - -static __always_inline const struct vdso_pcpu_data *get_pcpu_data(void) -{ - return (struct vdso_pcpu_data *)(get_vdso_data() + VVAR_LOONGARCH_PAGES_START * PAGE_SIZE); -} - -extern -int __vdso_getcpu(unsigned int *cpu, unsigned int *node, struct getcpu_cache *unused); -int __vdso_getcpu(unsigned int *cpu, unsigned int *node, struct getcpu_cache *unused) -{ - int cpu_id; - const struct vdso_pcpu_data *data; - - cpu_id = read_cpu_id(); - - if (cpu) - *cpu = cpu_id; - - if (node) { - data = get_pcpu_data(); - *node = data[cpu_id].node; - } - - return 0; -} +// SPDX-License-Identifier: GPL-2.0-only +/* + * Fast user context implementation of getcpu() + */ + +#include +#include + +static __always_inline int read_cpu_id(void) +{ + int cpu_id; + + __asm__ __volatile__( + " rdtime.d $zero, %0\n" + : "=r" (cpu_id) + : + : "memory"); + + return cpu_id; +} + +static __always_inline const struct vdso_pcpu_data *get_pcpu_data(void) +{ + return (struct vdso_pcpu_data *)(get_vdso_data() + VVAR_LOONGARCH_PAGES_START * PAGE_SIZE); +} + +extern +int __vdso_getcpu(unsigned int *cpu, unsigned int *node, struct getcpu_cache *unused); +int __vdso_getcpu(unsigned int *cpu, unsigned int *node, struct getcpu_cache *unused) +{ + int cpu_id; + const struct vdso_pcpu_data *data; + + cpu_id = read_cpu_id(); + + if (cpu) + *cpu = cpu_id; + + if (node) { + data = get_pcpu_data(); + *node = data[cpu_id].node; + } + + return 0; +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/68000/romvec.S b/image/debian/UFI003_MB_V02/kernel/arch/m68k/68000/romvec.S index c8f7ddc526..15c70cd645 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/68000/romvec.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/68000/romvec.S @@ -1,35 +1,35 @@ -/* - * romvec.S - Vector table for 68000 cpus - * - * 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 1996 Roman Zippel - * Copyright 1999 D. Jeff Dionne - * Copyright 2006 Greg Ungerer - */ - -.global _start -.global _buserr -.global trap -.global system_call - -.section .romvec - -e_vectors: -.long CONFIG_RAMBASE+CONFIG_RAMSIZE-4, _start, buserr, trap -.long trap, trap, trap, trap -.long trap, trap, trap, trap -.long trap, trap, trap, trap -.long trap, trap, trap, trap -.long trap, trap, trap, trap -.long trap, trap, trap, trap -.long trap, trap, trap, trap -/* TRAP #0-15 */ -.long system_call, trap, trap, trap -.long trap, trap, trap, trap -.long trap, trap, trap, trap -.long trap, trap, trap, trap -.long 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 - +/* + * romvec.S - Vector table for 68000 cpus + * + * 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 1996 Roman Zippel + * Copyright 1999 D. Jeff Dionne + * Copyright 2006 Greg Ungerer + */ + +.global _start +.global _buserr +.global trap +.global system_call + +.section .romvec + +e_vectors: +.long CONFIG_RAMBASE+CONFIG_RAMSIZE-4, _start, buserr, trap +.long trap, trap, trap, trap +.long trap, trap, trap, trap +.long trap, trap, trap, trap +.long trap, trap, trap, trap +.long trap, trap, trap, trap +.long trap, trap, trap, trap +.long trap, trap, trap, trap +/* TRAP #0-15 */ +.long system_call, trap, trap, trap +.long trap, trap, trap, trap +.long trap, trap, trap, trap +.long trap, trap, trap, trap +.long 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/68000/ucsimm.c b/image/debian/UFI003_MB_V02/kernel/arch/m68k/68000/ucsimm.c index 693f1a1e09..c54fde75ea 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/68000/ucsimm.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/68000/ucsimm.c @@ -1,37 +1,37 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright (C) 1993 Hamish Macdonald - * Copyright (C) 1999 D. Jeff Dionne - * Copyright (C) 2001 Georges Menie, Ken Desmet - * - * 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. - */ -#include -#include -#include -#include - - -#include "m68328.h" - -static int errno; - -static _bsc0(char *, getserialnum) -static _bsc1(unsigned char *, gethwaddr, int, a) -static _bsc1(char *, getbenv, char *, a) - -void __init init_ucsimm(char *command, int size) -{ - char *p; - - pr_info("uCsimm/uCdimm serial string [%s]\n", getserialnum()); - p = gethwaddr(0); - pr_info("uCsimm/uCdimm hwaddr %pM\n", p); - p = getbenv("APPEND"); - if (p) - strcpy(p, command); - else - command[0] = 0; -} +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 1993 Hamish Macdonald + * Copyright (C) 1999 D. Jeff Dionne + * Copyright (C) 2001 Georges Menie, Ken Desmet + * + * 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. + */ +#include +#include +#include +#include + + +#include "m68328.h" + +static int errno; + +static _bsc0(char *, getserialnum) +static _bsc1(unsigned char *, gethwaddr, int, a) +static _bsc1(char *, getbenv, char *, a) + +void __init init_ucsimm(char *command, int size) +{ + char *p; + + pr_info("uCsimm/uCdimm serial string [%s]\n", getserialnum()); + p = gethwaddr(0); + pr_info("uCsimm/uCdimm hwaddr %pM\n", p); + p = getbenv("APPEND"); + if (p) + strcpy(p, command); + else + command[0] = 0; +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/Kbuild b/image/debian/UFI003_MB_V02/kernel/arch/m68k/Kbuild index 56118d4c69..7762af9f6d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/Kbuild +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/Kbuild @@ -1,20 +1,20 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-y += kernel/ mm/ -obj-$(CONFIG_Q40) += q40/ -obj-$(CONFIG_AMIGA) += amiga/ -obj-$(CONFIG_ATARI) += atari/ -obj-$(CONFIG_MAC) += mac/ -obj-$(CONFIG_HP300) += hp300/ -obj-$(CONFIG_APOLLO) += apollo/ -obj-$(CONFIG_MVME147) += mvme147/ -obj-$(CONFIG_MVME16x) += mvme16x/ -obj-$(CONFIG_BVME6000) += bvme6000/ -obj-$(CONFIG_SUN3X) += sun3x/ sun3/ -obj-$(CONFIG_SUN3) += sun3/ -obj-$(CONFIG_NATFEAT) += emu/ -obj-$(CONFIG_M68040) += fpsp040/ -obj-$(CONFIG_M68060) += ifpsp060/ -obj-$(CONFIG_M68KFPU_EMU) += math-emu/ -obj-$(CONFIG_M68000) += 68000/ -obj-$(CONFIG_COLDFIRE) += coldfire/ -obj-$(CONFIG_VIRT) += virt/ +# SPDX-License-Identifier: GPL-2.0-only +obj-y += kernel/ mm/ +obj-$(CONFIG_Q40) += q40/ +obj-$(CONFIG_AMIGA) += amiga/ +obj-$(CONFIG_ATARI) += atari/ +obj-$(CONFIG_MAC) += mac/ +obj-$(CONFIG_HP300) += hp300/ +obj-$(CONFIG_APOLLO) += apollo/ +obj-$(CONFIG_MVME147) += mvme147/ +obj-$(CONFIG_MVME16x) += mvme16x/ +obj-$(CONFIG_BVME6000) += bvme6000/ +obj-$(CONFIG_SUN3X) += sun3x/ sun3/ +obj-$(CONFIG_SUN3) += sun3/ +obj-$(CONFIG_NATFEAT) += emu/ +obj-$(CONFIG_M68040) += fpsp040/ +obj-$(CONFIG_M68060) += ifpsp060/ +obj-$(CONFIG_M68KFPU_EMU) += math-emu/ +obj-$(CONFIG_M68000) += 68000/ +obj-$(CONFIG_COLDFIRE) += coldfire/ +obj-$(CONFIG_VIRT) += virt/ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/coldfire/mcf8390.c b/image/debian/UFI003_MB_V02/kernel/arch/m68k/coldfire/mcf8390.c index 91880fa5d2..23a6874a32 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/coldfire/mcf8390.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/coldfire/mcf8390.c @@ -1,38 +1,38 @@ -/* - * mcf8390.c -- platform support for 8390 ethernet on many boards - * - * (C) Copyright 2012, Greg Ungerer - * - * 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. - */ - -#include -#include -#include -#include -#include -#include - -static struct resource mcf8390_resources[] = { - { - .start = NE2000_ADDR, - .end = NE2000_ADDR + NE2000_ADDRSIZE - 1, - .flags = IORESOURCE_MEM, - }, - { - .start = NE2000_IRQ_VECTOR, - .end = NE2000_IRQ_VECTOR, - .flags = IORESOURCE_IRQ, - }, -}; - -static int __init mcf8390_platform_init(void) -{ - platform_device_register_simple("mcf8390", -1, mcf8390_resources, - ARRAY_SIZE(mcf8390_resources)); - return 0; -} - -arch_initcall(mcf8390_platform_init); +/* + * mcf8390.c -- platform support for 8390 ethernet on many boards + * + * (C) Copyright 2012, Greg Ungerer + * + * 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. + */ + +#include +#include +#include +#include +#include +#include + +static struct resource mcf8390_resources[] = { + { + .start = NE2000_ADDR, + .end = NE2000_ADDR + NE2000_ADDRSIZE - 1, + .flags = IORESOURCE_MEM, + }, + { + .start = NE2000_IRQ_VECTOR, + .end = NE2000_IRQ_VECTOR, + .flags = IORESOURCE_IRQ, + }, +}; + +static int __init mcf8390_platform_init(void) +{ + platform_device_register_simple("mcf8390", -1, mcf8390_resources, + ARRAY_SIZE(mcf8390_resources)); + return 0; +} + +arch_initcall(mcf8390_platform_init); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/blinken.h b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/blinken.h index 5103d88818..0626582a7d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/blinken.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/blinken.h @@ -1,32 +1,32 @@ -/* -** asm/blinken.h -- m68k blinkenlights support (currently hp300 only) -** -** (c) 1998 Phil Blundell -** -** 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 _M68K_BLINKEN_H -#define _M68K_BLINKEN_H - -#include -#include - -#define HP300_LEDS 0xf001ffff - -extern unsigned char hp300_ledstate; - -static __inline__ void blinken_leds(int on, int off) -{ - if (MACH_IS_HP300) - { - hp300_ledstate |= on; - hp300_ledstate &= ~off; - out_8(HP300_LEDS, ~hp300_ledstate); - } -} - -#endif +/* +** asm/blinken.h -- m68k blinkenlights support (currently hp300 only) +** +** (c) 1998 Phil Blundell +** +** 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 _M68K_BLINKEN_H +#define _M68K_BLINKEN_H + +#include +#include + +#define HP300_LEDS 0xf001ffff + +extern unsigned char hp300_ledstate; + +static __inline__ void blinken_leds(int on, int off) +{ + if (MACH_IS_HP300) + { + hp300_ledstate |= on; + hp300_ledstate &= ~off; + out_8(HP300_LEDS, ~hp300_ledstate); + } +} + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/bootinfo.h b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/bootinfo.h index 7169638974..81c91af8ec 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/bootinfo.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/bootinfo.h @@ -1,34 +1,34 @@ -/* -** asm/bootinfo.h -- Definition of the Linux/m68k boot information structure -** -** 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 _M68K_BOOTINFO_H -#define _M68K_BOOTINFO_H - -#include - - -#ifndef __ASSEMBLY__ - -#ifdef CONFIG_BOOTINFO_PROC -extern void save_bootinfo(const struct bi_record *bi); -#else -static inline void save_bootinfo(const struct bi_record *bi) {} -#endif - -#ifdef CONFIG_UBOOT -void process_uboot_commandline(char *commandp, int size); -#else -static inline void process_uboot_commandline(char *commandp, int size) {} -#endif - -#endif /* __ASSEMBLY__ */ - - -#endif /* _M68K_BOOTINFO_H */ +/* +** asm/bootinfo.h -- Definition of the Linux/m68k boot information structure +** +** 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 _M68K_BOOTINFO_H +#define _M68K_BOOTINFO_H + +#include + + +#ifndef __ASSEMBLY__ + +#ifdef CONFIG_BOOTINFO_PROC +extern void save_bootinfo(const struct bi_record *bi); +#else +static inline void save_bootinfo(const struct bi_record *bi) {} +#endif + +#ifdef CONFIG_UBOOT +void process_uboot_commandline(char *commandp, int size); +#else +static inline void process_uboot_commandline(char *commandp, int size) {} +#endif + +#endif /* __ASSEMBLY__ */ + + +#endif /* _M68K_BOOTINFO_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/bug.h b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/bug.h index 9d1c5d3d29..275dca1435 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/bug.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/bug.h @@ -1,34 +1,34 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _M68K_BUG_H -#define _M68K_BUG_H - -#ifdef CONFIG_MMU -#ifdef CONFIG_BUG -#ifdef CONFIG_DEBUG_BUGVERBOSE -#ifndef CONFIG_SUN3 -#define BUG() do { \ - pr_crit("kernel BUG at %s:%d!\n", __FILE__, __LINE__); \ - barrier_before_unreachable(); \ - __builtin_trap(); \ -} while (0) -#else -#define BUG() do { \ - pr_crit("kernel BUG at %s:%d!\n", __FILE__, __LINE__); \ - barrier_before_unreachable(); \ - panic("BUG!"); \ -} while (0) -#endif -#else -#define BUG() do { \ - barrier_before_unreachable(); \ - __builtin_trap(); \ -} while (0) -#endif - -#define HAVE_ARCH_BUG -#endif -#endif /* CONFIG_MMU */ - -#include - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _M68K_BUG_H +#define _M68K_BUG_H + +#ifdef CONFIG_MMU +#ifdef CONFIG_BUG +#ifdef CONFIG_DEBUG_BUGVERBOSE +#ifndef CONFIG_SUN3 +#define BUG() do { \ + pr_crit("kernel BUG at %s:%d!\n", __FILE__, __LINE__); \ + barrier_before_unreachable(); \ + __builtin_trap(); \ +} while (0) +#else +#define BUG() do { \ + pr_crit("kernel BUG at %s:%d!\n", __FILE__, __LINE__); \ + barrier_before_unreachable(); \ + panic("BUG!"); \ +} while (0) +#endif +#else +#define BUG() do { \ + barrier_before_unreachable(); \ + __builtin_trap(); \ +} while (0) +#endif + +#define HAVE_ARCH_BUG +#endif +#endif /* CONFIG_MMU */ + +#include + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/current.h b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/current.h index 25511bc16f..c117907e12 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/current.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/current.h @@ -1,31 +1,31 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _M68K_CURRENT_H -#define _M68K_CURRENT_H - -#ifdef CONFIG_MMU - -register struct task_struct *current __asm__("%a2"); - -#else - -/* - * Rather than dedicate a register (as the m68k source does), we - * just keep a global, we should probably just change it all to be - * current and lose _current_task. - */ -#include - -struct task_struct; - -static inline struct task_struct *get_current(void) -{ - return(current_thread_info()->task); -} - -#define current get_current() - -#endif /* CONFIG_MMU */ - -register unsigned long current_stack_pointer __asm__("sp"); - -#endif /* !(_M68K_CURRENT_H) */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _M68K_CURRENT_H +#define _M68K_CURRENT_H + +#ifdef CONFIG_MMU + +register struct task_struct *current __asm__("%a2"); + +#else + +/* + * Rather than dedicate a register (as the m68k source does), we + * just keep a global, we should probably just change it all to be + * current and lose _current_task. + */ +#include + +struct task_struct; + +static inline struct task_struct *get_current(void) +{ + return(current_thread_info()->task); +} + +#define current get_current() + +#endif /* CONFIG_MMU */ + +register unsigned long current_stack_pointer __asm__("sp"); + +#endif /* !(_M68K_CURRENT_H) */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/idprom.h b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/idprom.h index 7822ac3401..13b099d011 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/idprom.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/idprom.h @@ -1,28 +1,28 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _M68K_IDPROM_H -#define _M68K_IDPROM_H -/* - * idprom.h: Macros and defines for idprom routines - * - * Copyright (C) 1995,1996 David S. Miller (davem@caip.rutgers.edu) - */ - -#include - -struct idprom { - u8 id_format; /* Format identifier (always 0x01) */ - u8 id_machtype; /* Machine type */ - u8 id_ethaddr[6]; /* Hardware ethernet address */ - s32 id_date; /* Date of manufacture */ - u32 id_sernum:24; /* Unique serial number */ - u8 id_cksum; /* Checksum - xor of the data bytes */ - u8 reserved[16]; -}; - -extern struct idprom *idprom; -extern void idprom_init(void); - -/* Sun3: in control space */ -#define SUN3_IDPROM_BASE 0x00000000 - -#endif /* !(_M68K_IDPROM_H) */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _M68K_IDPROM_H +#define _M68K_IDPROM_H +/* + * idprom.h: Macros and defines for idprom routines + * + * Copyright (C) 1995,1996 David S. Miller (davem@caip.rutgers.edu) + */ + +#include + +struct idprom { + u8 id_format; /* Format identifier (always 0x01) */ + u8 id_machtype; /* Machine type */ + u8 id_ethaddr[6]; /* Hardware ethernet address */ + s32 id_date; /* Date of manufacture */ + u32 id_sernum:24; /* Unique serial number */ + u8 id_cksum; /* Checksum - xor of the data bytes */ + u8 reserved[16]; +}; + +extern struct idprom *idprom; +extern void idprom_init(void); + +/* Sun3: in control space */ +#define SUN3_IDPROM_BASE 0x00000000 + +#endif /* !(_M68K_IDPROM_H) */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/kexec.h b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/kexec.h index 3fdbfe6bd1..3b0b64f0a3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/kexec.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/kexec.h @@ -1,30 +1,30 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_M68K_KEXEC_H -#define _ASM_M68K_KEXEC_H - -#ifdef CONFIG_KEXEC_CORE - -/* Maximum physical address we can use pages from */ -#define KEXEC_SOURCE_MEMORY_LIMIT (-1UL) -/* Maximum address we can reach in physical address mode */ -#define KEXEC_DESTINATION_MEMORY_LIMIT (-1UL) -/* Maximum address we can use for the control code buffer */ -#define KEXEC_CONTROL_MEMORY_LIMIT (-1UL) - -#define KEXEC_CONTROL_PAGE_SIZE 4096 - -#define KEXEC_ARCH KEXEC_ARCH_68K - -#ifndef __ASSEMBLY__ - -static inline void crash_setup_regs(struct pt_regs *newregs, - struct pt_regs *oldregs) -{ - /* Dummy implementation for now */ -} - -#endif /* __ASSEMBLY__ */ - -#endif /* CONFIG_KEXEC_CORE */ - -#endif /* _ASM_M68K_KEXEC_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_M68K_KEXEC_H +#define _ASM_M68K_KEXEC_H + +#ifdef CONFIG_KEXEC_CORE + +/* Maximum physical address we can use pages from */ +#define KEXEC_SOURCE_MEMORY_LIMIT (-1UL) +/* Maximum address we can reach in physical address mode */ +#define KEXEC_DESTINATION_MEMORY_LIMIT (-1UL) +/* Maximum address we can use for the control code buffer */ +#define KEXEC_CONTROL_MEMORY_LIMIT (-1UL) + +#define KEXEC_CONTROL_PAGE_SIZE 4096 + +#define KEXEC_ARCH KEXEC_ARCH_68K + +#ifndef __ASSEMBLY__ + +static inline void crash_setup_regs(struct pt_regs *newregs, + struct pt_regs *oldregs) +{ + /* Dummy implementation for now */ +} + +#endif /* __ASSEMBLY__ */ + +#endif /* CONFIG_KEXEC_CORE */ + +#endif /* _ASM_M68K_KEXEC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/module.h b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/module.h index d16872dc04..36cb06cc03 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/module.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/module.h @@ -1,42 +1,42 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_M68K_MODULE_H -#define _ASM_M68K_MODULE_H - -#include - -enum m68k_fixup_type { - m68k_fixup_memoffset, - m68k_fixup_vnode_shift, -}; - -struct m68k_fixup_info { - enum m68k_fixup_type type; - void *addr; -}; - -struct mod_arch_specific { - struct m68k_fixup_info *fixup_start, *fixup_end; -}; - -#ifdef CONFIG_MMU - -#define MODULE_ARCH_INIT { \ - .fixup_start = __start_fixup, \ - .fixup_end = __stop_fixup, \ -} - - -#define m68k_fixup(type, addr) \ - " .section \".m68k_fixup\",\"aw\"\n" \ - " .long " #type "," #addr "\n" \ - " .previous\n" - -#endif /* CONFIG_MMU */ - -extern struct m68k_fixup_info __start_fixup[], __stop_fixup[]; - -struct module; -extern void module_fixup(struct module *mod, struct m68k_fixup_info *start, - struct m68k_fixup_info *end); - -#endif /* _ASM_M68K_MODULE_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_M68K_MODULE_H +#define _ASM_M68K_MODULE_H + +#include + +enum m68k_fixup_type { + m68k_fixup_memoffset, + m68k_fixup_vnode_shift, +}; + +struct m68k_fixup_info { + enum m68k_fixup_type type; + void *addr; +}; + +struct mod_arch_specific { + struct m68k_fixup_info *fixup_start, *fixup_end; +}; + +#ifdef CONFIG_MMU + +#define MODULE_ARCH_INIT { \ + .fixup_start = __start_fixup, \ + .fixup_end = __stop_fixup, \ +} + + +#define m68k_fixup(type, addr) \ + " .section \".m68k_fixup\",\"aw\"\n" \ + " .long " #type "," #addr "\n" \ + " .previous\n" + +#endif /* CONFIG_MMU */ + +extern struct m68k_fixup_info __start_fixup[], __stop_fixup[]; + +struct module; +extern void module_fixup(struct module *mod, struct m68k_fixup_info *start, + struct m68k_fixup_info *end); + +#endif /* _ASM_M68K_MODULE_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/parport.h b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/parport.h index 2390dad4bc..becfebd5c6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/parport.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/parport.h @@ -1,29 +1,29 @@ -/* 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. - * - * RZ: for use with Q40 and other ISA machines - */ - -#ifndef _ASM_M68K_PARPORT_H -#define _ASM_M68K_PARPORT_H 1 - -#undef insl -#undef outsl -#define insl(port,buf,len) isa_insb(port,buf,(len)<<2) -#define outsl(port,buf,len) isa_outsb(port,buf,(len)<<2) - -/* no dma, or IRQ autoprobing */ -static int parport_pc_find_isa_ports (int autoirq, int autodma); -static int parport_pc_find_nonpci_ports (int autoirq, int autodma) -{ - if (! (MACH_IS_Q40)) - return 0; /* count=0 */ - return parport_pc_find_isa_ports (PARPORT_IRQ_NONE, PARPORT_DMA_NONE); -} - -#endif /* !(_ASM_M68K_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. + * + * RZ: for use with Q40 and other ISA machines + */ + +#ifndef _ASM_M68K_PARPORT_H +#define _ASM_M68K_PARPORT_H 1 + +#undef insl +#undef outsl +#define insl(port,buf,len) isa_insb(port,buf,(len)<<2) +#define outsl(port,buf,len) isa_outsb(port,buf,(len)<<2) + +/* no dma, or IRQ autoprobing */ +static int parport_pc_find_isa_ports (int autoirq, int autodma); +static int parport_pc_find_nonpci_ports (int autoirq, int autodma) +{ + if (! (MACH_IS_Q40)) + return 0; /* count=0 */ + return parport_pc_find_isa_ports (PARPORT_IRQ_NONE, PARPORT_DMA_NONE); +} + +#endif /* !(_ASM_M68K_PARPORT_H) */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/ptrace.h b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/ptrace.h index 4c2a82f730..ea5a80ca1a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/ptrace.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/ptrace.h @@ -1,28 +1,28 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _M68K_PTRACE_H -#define _M68K_PTRACE_H - -#include - -#ifndef __ASSEMBLY__ - -#ifndef PS_S -#define PS_S (0x2000) -#define PS_M (0x1000) -#endif - -#define user_mode(regs) (!((regs)->sr & PS_S)) -#define instruction_pointer(regs) ((regs)->pc) -#define profile_pc(regs) instruction_pointer(regs) -#define current_pt_regs() \ - (struct pt_regs *)((char *)current_thread_info() + THREAD_SIZE) - 1 -#define current_user_stack_pointer() rdusp() - -#define arch_has_single_step() (1) - -#ifdef CONFIG_MMU -#define arch_has_block_step() (1) -#endif - -#endif /* __ASSEMBLY__ */ -#endif /* _M68K_PTRACE_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _M68K_PTRACE_H +#define _M68K_PTRACE_H + +#include + +#ifndef __ASSEMBLY__ + +#ifndef PS_S +#define PS_S (0x2000) +#define PS_M (0x1000) +#endif + +#define user_mode(regs) (!((regs)->sr & PS_S)) +#define instruction_pointer(regs) ((regs)->pc) +#define profile_pc(regs) instruction_pointer(regs) +#define current_pt_regs() \ + (struct pt_regs *)((char *)current_thread_info() + THREAD_SIZE) - 1 +#define current_user_stack_pointer() rdusp() + +#define arch_has_single_step() (1) + +#ifdef CONFIG_MMU +#define arch_has_block_step() (1) +#endif + +#endif /* __ASSEMBLY__ */ +#endif /* _M68K_PTRACE_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/q40ints.h b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/q40ints.h index 2215cd5cbf..7c93ac4117 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/q40ints.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/q40ints.h @@ -1,27 +1,27 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * contains some Q40 related interrupt definitions - */ - -#define Q40_IRQ_MAX (34) - -#define Q40_IRQ_SAMPLE (34) -#define Q40_IRQ_KEYBOARD (32) -#define Q40_IRQ_FRAME (33) - - -/* masks for interrupt regiosters*/ -/* internal, IIRQ_REG */ -#define Q40_IRQ_KEYB_MASK (2) -#define Q40_IRQ_SER_MASK (1<<2) -#define Q40_IRQ_FRAME_MASK (1<<3) -#define Q40_IRQ_EXT_MASK (1<<4) /* is a EIRQ */ -/* eirq, EIRQ_REG */ -#define Q40_IRQ3_MASK (1) -#define Q40_IRQ4_MASK (1<<1) -#define Q40_IRQ5_MASK (1<<2) -#define Q40_IRQ6_MASK (1<<3) -#define Q40_IRQ7_MASK (1<<4) -#define Q40_IRQ10_MASK (1<<5) -#define Q40_IRQ14_MASK (1<<6) -#define Q40_IRQ15_MASK (1<<7) +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * contains some Q40 related interrupt definitions + */ + +#define Q40_IRQ_MAX (34) + +#define Q40_IRQ_SAMPLE (34) +#define Q40_IRQ_KEYBOARD (32) +#define Q40_IRQ_FRAME (33) + + +/* masks for interrupt regiosters*/ +/* internal, IIRQ_REG */ +#define Q40_IRQ_KEYB_MASK (2) +#define Q40_IRQ_SER_MASK (1<<2) +#define Q40_IRQ_FRAME_MASK (1<<3) +#define Q40_IRQ_EXT_MASK (1<<4) /* is a EIRQ */ +/* eirq, EIRQ_REG */ +#define Q40_IRQ3_MASK (1) +#define Q40_IRQ4_MASK (1<<1) +#define Q40_IRQ5_MASK (1<<2) +#define Q40_IRQ6_MASK (1<<3) +#define Q40_IRQ7_MASK (1<<4) +#define Q40_IRQ10_MASK (1<<5) +#define Q40_IRQ14_MASK (1<<6) +#define Q40_IRQ15_MASK (1<<7) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/sun3x.h b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/sun3x.h index b4a7351df7..b3a83bcaf4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/sun3x.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/sun3x.h @@ -1,28 +1,28 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef SUN3X_H -#define SUN3X_H - -/* hardware addresses */ -#define SUN3X_IOMMU 0x60000000 -#define SUN3X_ENAREG 0x61000000 -#define SUN3X_INTREG 0x61001400 -#define SUN3X_DIAGREG 0x61001800 -#define SUN3X_ZS1 0x62000000 -#define SUN3X_ZS2 0x62002000 -#define SUN3X_LANCE 0x65002000 -#define SUN3X_EEPROM 0x64000000 -#define SUN3X_IDPROM 0x640007d8 -#define SUN3X_VIDEO_BASE 0x50000000 -#define SUN3X_VIDEO_P4ID 0x50300000 -#define SUN3X_ESP_BASE 0x66000000 -#define SUN3X_ESP_DMA 0x66001000 -#define SUN3X_FDC 0x6e000000 -#define SUN3X_FDC_FCR 0x6e000400 -#define SUN3X_FDC_FVR 0x6e000800 - -/* some NVRAM addresses */ -#define SUN3X_EEPROM_CONS (SUN3X_EEPROM + 0x1f) -#define SUN3X_EEPROM_PORTA (SUN3X_EEPROM + 0x58) -#define SUN3X_EEPROM_PORTB (SUN3X_EEPROM + 0x60) - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef SUN3X_H +#define SUN3X_H + +/* hardware addresses */ +#define SUN3X_IOMMU 0x60000000 +#define SUN3X_ENAREG 0x61000000 +#define SUN3X_INTREG 0x61001400 +#define SUN3X_DIAGREG 0x61001800 +#define SUN3X_ZS1 0x62000000 +#define SUN3X_ZS2 0x62002000 +#define SUN3X_LANCE 0x65002000 +#define SUN3X_EEPROM 0x64000000 +#define SUN3X_IDPROM 0x640007d8 +#define SUN3X_VIDEO_BASE 0x50000000 +#define SUN3X_VIDEO_P4ID 0x50300000 +#define SUN3X_ESP_BASE 0x66000000 +#define SUN3X_ESP_DMA 0x66001000 +#define SUN3X_FDC 0x6e000000 +#define SUN3X_FDC_FCR 0x6e000400 +#define SUN3X_FDC_FVR 0x6e000800 + +/* some NVRAM addresses */ +#define SUN3X_EEPROM_CONS (SUN3X_EEPROM + 0x1f) +#define SUN3X_EEPROM_PORTA (SUN3X_EEPROM + 0x58) +#define SUN3X_EEPROM_PORTB (SUN3X_EEPROM + 0x60) + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/syscalls.h b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/syscalls.h index ac9ce47b16..fb3639acd0 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/syscalls.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/syscalls.h @@ -1,19 +1,19 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -#ifndef _ASM_M68K_SYSCALLS_H -#define _ASM_M68K_SYSCALLS_H - -#include -#include - -asmlinkage int sys_cacheflush(unsigned long addr, int scope, int cache, - unsigned long len); -asmlinkage int sys_atomic_cmpxchg_32(unsigned long newval, int oldval, int d3, - int d4, int d5, unsigned long __user *mem); -asmlinkage int sys_getpagesize(void); -asmlinkage unsigned long sys_get_thread_area(void); -asmlinkage int sys_set_thread_area(unsigned long tp); -asmlinkage int sys_atomic_barrier(void); - -#include - -#endif /* _ASM_M68K_SYSCALLS_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +#ifndef _ASM_M68K_SYSCALLS_H +#define _ASM_M68K_SYSCALLS_H + +#include +#include + +asmlinkage int sys_cacheflush(unsigned long addr, int scope, int cache, + unsigned long len); +asmlinkage int sys_atomic_cmpxchg_32(unsigned long newval, int oldval, int d3, + int d4, int d5, unsigned long __user *mem); +asmlinkage int sys_getpagesize(void); +asmlinkage unsigned long sys_get_thread_area(void); +asmlinkage int sys_set_thread_area(unsigned long tp); +asmlinkage int sys_atomic_barrier(void); + +#include + +#endif /* _ASM_M68K_SYSCALLS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/vga.h b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/vga.h index 6d4138bce3..cdd414fa87 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/vga.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/vga.h @@ -1,37 +1,37 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_M68K_VGA_H -#define _ASM_M68K_VGA_H - -/* - * Some ColdFire platforms do in fact have a PCI bus. So for those we want - * to use the real IO access functions, don't fake them out or redirect them - * for that case. - */ -#ifndef CONFIG_PCI - -#include -#include - -/* - * FIXME - * Ugh, we don't have PCI space, so map readb() and friends to use raw I/O - * accessors, which are identical to the z_*() Zorro bus accessors. - * This should make cirrusfb work again on Amiga - */ -#undef inb_p -#undef inw_p -#undef outb_p -#undef outw -#undef readb -#undef writeb -#undef writew -#define inb_p(port) 0 -#define inw_p(port) 0 -#define outb_p(port, val) do { } while (0) -#define outw(port, val) do { } while (0) -#define readb __raw_readb -#define writeb __raw_writeb -#define writew __raw_writew - -#endif /* CONFIG_PCI */ -#endif /* _ASM_M68K_VGA_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_M68K_VGA_H +#define _ASM_M68K_VGA_H + +/* + * Some ColdFire platforms do in fact have a PCI bus. So for those we want + * to use the real IO access functions, don't fake them out or redirect them + * for that case. + */ +#ifndef CONFIG_PCI + +#include +#include + +/* + * FIXME + * Ugh, we don't have PCI space, so map readb() and friends to use raw I/O + * accessors, which are identical to the z_*() Zorro bus accessors. + * This should make cirrusfb work again on Amiga + */ +#undef inb_p +#undef inw_p +#undef outb_p +#undef outw +#undef readb +#undef writeb +#undef writew +#define inb_p(port) 0 +#define inw_p(port) 0 +#define outb_p(port, val) do { } while (0) +#define outw(port, val) do { } while (0) +#define readb __raw_readb +#define writeb __raw_writeb +#define writew __raw_writew + +#endif /* CONFIG_PCI */ +#endif /* _ASM_M68K_VGA_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/video.h b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/video.h index 7b85a3ae70..6cf2194c41 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/video.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/video.h @@ -1,32 +1,32 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_VIDEO_H_ -#define _ASM_VIDEO_H_ - -#include -#include - -static inline pgprot_t pgprot_framebuffer(pgprot_t prot, - unsigned long vm_start, unsigned long vm_end, - unsigned long offset) -{ -#ifdef CONFIG_MMU -#ifdef CONFIG_SUN3 - pgprot_val(prot) |= SUN3_PAGE_NOCACHE; -#else - if (CPU_IS_020_OR_030) - pgprot_val(prot) |= _PAGE_NOCACHE030; - if (CPU_IS_040_OR_060) { - pgprot_val(prot) &= _CACHEMASK040; - /* Use no-cache mode, serialized */ - pgprot_val(prot) |= _PAGE_NOCACHE_S; - } -#endif /* CONFIG_SUN3 */ -#endif /* CONFIG_MMU */ - - return 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 +#include + +static inline pgprot_t pgprot_framebuffer(pgprot_t prot, + unsigned long vm_start, unsigned long vm_end, + unsigned long offset) +{ +#ifdef CONFIG_MMU +#ifdef CONFIG_SUN3 + pgprot_val(prot) |= SUN3_PAGE_NOCACHE; +#else + if (CPU_IS_020_OR_030) + pgprot_val(prot) |= _PAGE_NOCACHE030; + if (CPU_IS_040_OR_060) { + pgprot_val(prot) &= _CACHEMASK040; + /* Use no-cache mode, serialized */ + pgprot_val(prot) |= _PAGE_NOCACHE_S; + } +#endif /* CONFIG_SUN3 */ +#endif /* CONFIG_MMU */ + + return prot; +} +#define pgprot_framebuffer pgprot_framebuffer + +#include + +#endif /* _ASM_VIDEO_H_ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/virtconvert.h b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/virtconvert.h index 92df55ecaa..0a27905b00 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/virtconvert.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/virtconvert.h @@ -1,43 +1,43 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __VIRT_CONVERT__ -#define __VIRT_CONVERT__ - -/* - * Macros used for converting between virtual and physical mappings. - */ - -#ifdef __KERNEL__ - -#include -#include -#include -#include - -/* - * Change virtual addresses to physical addresses and vv. - */ -#define virt_to_phys virt_to_phys -static inline unsigned long virt_to_phys(void *address) -{ - return __pa(address); -} - -#define phys_to_virt phys_to_virt -static inline void *phys_to_virt(unsigned long address) -{ - return __va(address); -} - -/* Permanent address of a page. */ -#define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT) - -/* - * IO bus memory addresses are 1:1 with the physical address, - * deprecated globally but still used on two machines. - */ -#if defined(CONFIG_AMIGA) || defined(CONFIG_VME) -#define virt_to_bus virt_to_phys -#endif - -#endif -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __VIRT_CONVERT__ +#define __VIRT_CONVERT__ + +/* + * Macros used for converting between virtual and physical mappings. + */ + +#ifdef __KERNEL__ + +#include +#include +#include +#include + +/* + * Change virtual addresses to physical addresses and vv. + */ +#define virt_to_phys virt_to_phys +static inline unsigned long virt_to_phys(void *address) +{ + return __pa(address); +} + +#define phys_to_virt phys_to_virt +static inline void *phys_to_virt(unsigned long address) +{ + return __va(address); +} + +/* Permanent address of a page. */ +#define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT) + +/* + * IO bus memory addresses are 1:1 with the physical address, + * deprecated globally but still used on two machines. + */ +#if defined(CONFIG_AMIGA) || defined(CONFIG_VME) +#define virt_to_bus virt_to_phys +#endif + +#endif +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/uapi/asm/a.out.h b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/uapi/asm/a.out.h index d38aa9cbb3..3eb24fd8b8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/uapi/asm/a.out.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/uapi/asm/a.out.h @@ -1,21 +1,21 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef __M68K_A_OUT_H__ -#define __M68K_A_OUT_H__ - -struct exec -{ - unsigned long a_info; /* Use macros N_MAGIC, etc for access */ - unsigned a_text; /* length of text, in bytes */ - unsigned a_data; /* length of data, in bytes */ - unsigned a_bss; /* length of uninitialized data area for file, in bytes */ - unsigned a_syms; /* length of symbol table data in file, in bytes */ - unsigned a_entry; /* start address */ - unsigned a_trsize; /* length of relocation info for text, in bytes */ - unsigned a_drsize; /* length of relocation info for data, in bytes */ -}; - -#define N_TRSIZE(a) ((a).a_trsize) -#define N_DRSIZE(a) ((a).a_drsize) -#define N_SYMSIZE(a) ((a).a_syms) - -#endif /* __M68K_A_OUT_H__ */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef __M68K_A_OUT_H__ +#define __M68K_A_OUT_H__ + +struct exec +{ + unsigned long a_info; /* Use macros N_MAGIC, etc for access */ + unsigned a_text; /* length of text, in bytes */ + unsigned a_data; /* length of data, in bytes */ + unsigned a_bss; /* length of uninitialized data area for file, in bytes */ + unsigned a_syms; /* length of symbol table data in file, in bytes */ + unsigned a_entry; /* start address */ + unsigned a_trsize; /* length of relocation info for text, in bytes */ + unsigned a_drsize; /* length of relocation info for data, in bytes */ +}; + +#define N_TRSIZE(a) ((a).a_trsize) +#define N_DRSIZE(a) ((a).a_drsize) +#define N_SYMSIZE(a) ((a).a_syms) + +#endif /* __M68K_A_OUT_H__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/uapi/asm/bootinfo-virt.h b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/uapi/asm/bootinfo-virt.h index 72be6647b6..7dbcd7bec1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/uapi/asm/bootinfo-virt.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/uapi/asm/bootinfo-virt.h @@ -1,21 +1,21 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -/* - * asm/bootinfo-virt.h -- Virtual-m68k-specific boot information definitions - */ - -#ifndef _UAPI_ASM_M68K_BOOTINFO_VIRT_H -#define _UAPI_ASM_M68K_BOOTINFO_VIRT_H - -#define BI_VIRT_QEMU_VERSION 0x8000 -#define BI_VIRT_GF_PIC_BASE 0x8001 -#define BI_VIRT_GF_RTC_BASE 0x8002 -#define BI_VIRT_GF_TTY_BASE 0x8003 -#define BI_VIRT_VIRTIO_BASE 0x8004 -#define BI_VIRT_CTRL_BASE 0x8005 - -/* No longer used -- replaced with BI_RNG_SEED -- but don't reuse this index: - * #define BI_VIRT_RNG_SEED 0x8006 */ - -#define VIRT_BOOTI_VERSION MK_BI_VERSION(2, 0) - -#endif /* _UAPI_ASM_M68K_BOOTINFO_MAC_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +/* + * asm/bootinfo-virt.h -- Virtual-m68k-specific boot information definitions + */ + +#ifndef _UAPI_ASM_M68K_BOOTINFO_VIRT_H +#define _UAPI_ASM_M68K_BOOTINFO_VIRT_H + +#define BI_VIRT_QEMU_VERSION 0x8000 +#define BI_VIRT_GF_PIC_BASE 0x8001 +#define BI_VIRT_GF_RTC_BASE 0x8002 +#define BI_VIRT_GF_TTY_BASE 0x8003 +#define BI_VIRT_VIRTIO_BASE 0x8004 +#define BI_VIRT_CTRL_BASE 0x8005 + +/* No longer used -- replaced with BI_RNG_SEED -- but don't reuse this index: + * #define BI_VIRT_RNG_SEED 0x8006 */ + +#define VIRT_BOOTI_VERSION MK_BI_VERSION(2, 0) + +#endif /* _UAPI_ASM_M68K_BOOTINFO_MAC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/uapi/asm/posix_types.h b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/uapi/asm/posix_types.h index ac64561aeb..10a65149b5 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/uapi/asm/posix_types.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/uapi/asm/posix_types.h @@ -1,26 +1,26 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef __ARCH_M68K_POSIX_TYPES_H -#define __ARCH_M68K_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 short __kernel_mode_t; -#define __kernel_mode_t __kernel_mode_t - -typedef unsigned short __kernel_ipc_pid_t; -#define __kernel_ipc_pid_t __kernel_ipc_pid_t - -typedef unsigned short __kernel_uid_t; -typedef unsigned short __kernel_gid_t; -#define __kernel_uid_t __kernel_uid_t - -typedef unsigned short __kernel_old_dev_t; -#define __kernel_old_dev_t __kernel_old_dev_t - -#include - -#endif +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef __ARCH_M68K_POSIX_TYPES_H +#define __ARCH_M68K_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 short __kernel_mode_t; +#define __kernel_mode_t __kernel_mode_t + +typedef unsigned short __kernel_ipc_pid_t; +#define __kernel_ipc_pid_t __kernel_ipc_pid_t + +typedef unsigned short __kernel_uid_t; +typedef unsigned short __kernel_gid_t; +#define __kernel_uid_t __kernel_uid_t + +typedef unsigned short __kernel_old_dev_t; +#define __kernel_old_dev_t __kernel_old_dev_t + +#include + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/uapi/asm/sigcontext.h b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/uapi/asm/sigcontext.h index 49325f5418..6cc8421c8a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/uapi/asm/sigcontext.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/uapi/asm/sigcontext.h @@ -1,25 +1,25 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _ASM_M68k_SIGCONTEXT_H -#define _ASM_M68k_SIGCONTEXT_H - -struct sigcontext { - unsigned long sc_mask; /* old sigmask */ - unsigned long sc_usp; /* old user stack pointer */ - unsigned long sc_d0; - unsigned long sc_d1; - unsigned long sc_a0; - unsigned long sc_a1; -#ifdef __uClinux__ - unsigned long sc_a5; -#endif - unsigned short sc_sr; - unsigned long sc_pc; - unsigned short sc_formatvec; -#ifndef __uClinux__ - unsigned long sc_fpregs[2*3]; /* room for two fp registers */ - unsigned long sc_fpcntl[3]; - unsigned char sc_fpstate[216]; -#endif -}; - -#endif +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _ASM_M68k_SIGCONTEXT_H +#define _ASM_M68k_SIGCONTEXT_H + +struct sigcontext { + unsigned long sc_mask; /* old sigmask */ + unsigned long sc_usp; /* old user stack pointer */ + unsigned long sc_d0; + unsigned long sc_d1; + unsigned long sc_a0; + unsigned long sc_a1; +#ifdef __uClinux__ + unsigned long sc_a5; +#endif + unsigned short sc_sr; + unsigned long sc_pc; + unsigned short sc_formatvec; +#ifndef __uClinux__ + unsigned long sc_fpregs[2*3]; /* room for two fp registers */ + unsigned long sc_fpcntl[3]; + unsigned char sc_fpstate[216]; +#endif +}; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/uapi/asm/swab.h b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/uapi/asm/swab.h index 4798e07db3..9ef4fafba7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/uapi/asm/swab.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/uapi/asm/swab.h @@ -1,28 +1,28 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _M68K_SWAB_H -#define _M68K_SWAB_H - -#include -#include - -#define __SWAB_64_THRU_32__ - -#if defined (__mcfisaaplus__) || defined (__mcfisac__) -static inline __attribute_const__ __u32 __arch_swab32(__u32 val) -{ - __asm__("byterev %0" : "=d" (val) : "0" (val)); - return val; -} - -#define __arch_swab32 __arch_swab32 -#elif !defined(__mcoldfire__) - -static inline __attribute_const__ __u32 __arch_swab32(__u32 val) -{ - __asm__("rolw #8,%0; swap %0; rolw #8,%0" : "=d" (val) : "0" (val)); - return val; -} -#define __arch_swab32 __arch_swab32 -#endif - -#endif /* _M68K_SWAB_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _M68K_SWAB_H +#define _M68K_SWAB_H + +#include +#include + +#define __SWAB_64_THRU_32__ + +#if defined (__mcfisaaplus__) || defined (__mcfisac__) +static inline __attribute_const__ __u32 __arch_swab32(__u32 val) +{ + __asm__("byterev %0" : "=d" (val) : "0" (val)); + return val; +} + +#define __arch_swab32 __arch_swab32 +#elif !defined(__mcoldfire__) + +static inline __attribute_const__ __u32 __arch_swab32(__u32 val) +{ + __asm__("rolw #8,%0; swap %0; rolw #8,%0" : "=d" (val) : "0" (val)); + return val; +} +#define __arch_swab32 __arch_swab32 +#endif + +#endif /* _M68K_SWAB_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/install.sh b/image/debian/UFI003_MB_V02/kernel/arch/m68k/install.sh old mode 100644 new mode 100755 index 262fca4e7f..b6829b3942 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/install.sh +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/install.sh @@ -1,32 +1,32 @@ -#!/bin/sh -# -# 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 by Linus Torvalds -# -# Adapted from code in arch/i386/boot/Makefile by H. Peter Anvin -# -# "make install" script for m68k architecture -# -# Arguments: -# $1 - kernel version -# $2 - kernel image file -# $3 - kernel map file -# $4 - default install path (blank if root directory) - -set -e - -if [ -f $4/vmlinuz ]; then - mv $4/vmlinuz $4/vmlinuz.old -fi - -if [ -f $4/System.map ]; then - mv $4/System.map $4/System.old -fi - -cat $2 > $4/vmlinuz -cp $3 $4/System.map - -sync +#!/bin/sh +# +# 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 by Linus Torvalds +# +# Adapted from code in arch/i386/boot/Makefile by H. Peter Anvin +# +# "make install" script for m68k architecture +# +# Arguments: +# $1 - kernel version +# $2 - kernel image file +# $3 - kernel map file +# $4 - default install path (blank if root directory) + +set -e + +if [ -f $4/vmlinuz ]; then + mv $4/vmlinuz $4/vmlinuz.old +fi + +if [ -f $4/System.map ]; then + mv $4/System.map $4/System.old +fi + +cat $2 > $4/vmlinuz +cp $3 $4/System.map + +sync diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/kernel/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/m68k/kernel/Makefile index d7642c7f58..f335bf3268 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/kernel/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/kernel/Makefile @@ -1,33 +1,33 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Makefile for the linux kernel. -# - -extra-y += vmlinux.lds - -obj-$(CONFIG_AMIGA) := head.o -obj-$(CONFIG_ATARI) := head.o -obj-$(CONFIG_MAC) := head.o -obj-$(CONFIG_APOLLO) := head.o -obj-$(CONFIG_VME) := head.o -obj-$(CONFIG_HP300) := head.o -obj-$(CONFIG_Q40) := head.o -obj-$(CONFIG_SUN3X) := head.o -obj-$(CONFIG_VIRT) := head.o -obj-$(CONFIG_SUN3) := sun3-head.o - -obj-y += entry.o irq.o module.o process.o ptrace.o -obj-y += setup.o signal.o sys_m68k.o syscalltable.o time.o traps.o - -obj-$(CONFIG_MMU_MOTOROLA) += ints.o vectors.o -obj-$(CONFIG_MMU_SUN3) += ints.o vectors.o -obj-$(CONFIG_PCI) += pcibios.o - -obj-$(CONFIG_M68K_NONCOHERENT_DMA) += dma.o - -obj-$(CONFIG_KEXEC_CORE) += machine_kexec.o relocate_kernel.o -obj-$(CONFIG_BOOTINFO_PROC) += bootinfo_proc.o -obj-$(CONFIG_UBOOT) += uboot.o - -obj-$(CONFIG_EARLY_PRINTK) += early_printk.o - +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile for the linux kernel. +# + +extra-y += vmlinux.lds + +obj-$(CONFIG_AMIGA) := head.o +obj-$(CONFIG_ATARI) := head.o +obj-$(CONFIG_MAC) := head.o +obj-$(CONFIG_APOLLO) := head.o +obj-$(CONFIG_VME) := head.o +obj-$(CONFIG_HP300) := head.o +obj-$(CONFIG_Q40) := head.o +obj-$(CONFIG_SUN3X) := head.o +obj-$(CONFIG_VIRT) := head.o +obj-$(CONFIG_SUN3) := sun3-head.o + +obj-y += entry.o irq.o module.o process.o ptrace.o +obj-y += setup.o signal.o sys_m68k.o syscalltable.o time.o traps.o + +obj-$(CONFIG_MMU_MOTOROLA) += ints.o vectors.o +obj-$(CONFIG_MMU_SUN3) += ints.o vectors.o +obj-$(CONFIG_PCI) += pcibios.o + +obj-$(CONFIG_M68K_NONCOHERENT_DMA) += dma.o + +obj-$(CONFIG_KEXEC_CORE) += machine_kexec.o relocate_kernel.o +obj-$(CONFIG_BOOTINFO_PROC) += bootinfo_proc.o +obj-$(CONFIG_UBOOT) += uboot.o + +obj-$(CONFIG_EARLY_PRINTK) += early_printk.o + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/kernel/irq.c b/image/debian/UFI003_MB_V02/kernel/arch/m68k/kernel/irq.c index e38ce2b1fa..9ab4f55034 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/kernel/irq.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/kernel/irq.c @@ -1,39 +1,39 @@ -/* - * irq.c - * - * (C) Copyright 2007, Greg Ungerer - * - * 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. - */ - -#include -#include -#include -#include -#include -#include -#include -#include - -asmlinkage void do_IRQ(int irq, struct pt_regs *regs) -{ - struct pt_regs *oldregs = set_irq_regs(regs); - - irq_enter(); - generic_handle_irq(irq); - irq_exit(); - - set_irq_regs(oldregs); -} - - -/* The number of spurious interrupts */ -atomic_t irq_err_count; - -int arch_show_interrupts(struct seq_file *p, int prec) -{ - seq_printf(p, "%*s: %10u\n", prec, "ERR", atomic_read(&irq_err_count)); - return 0; -} +/* + * irq.c + * + * (C) Copyright 2007, Greg Ungerer + * + * 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. + */ + +#include +#include +#include +#include +#include +#include +#include +#include + +asmlinkage void do_IRQ(int irq, struct pt_regs *regs) +{ + struct pt_regs *oldregs = set_irq_regs(regs); + + irq_enter(); + generic_handle_irq(irq); + irq_exit(); + + set_irq_regs(oldregs); +} + + +/* The number of spurious interrupts */ +atomic_t irq_err_count; + +int arch_show_interrupts(struct seq_file *p, int prec) +{ + seq_printf(p, "%*s: %10u\n", prec, "ERR", atomic_read(&irq_err_count)); + return 0; +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/kernel/syscalls/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/m68k/kernel/syscalls/Makefile index a516b5473f..b265e4bc16 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/kernel/syscalls/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/kernel/syscalls/Makefile @@ -1,32 +1,32 @@ -# SPDX-License-Identifier: GPL-2.0 -kapi := arch/$(SRCARCH)/include/generated/asm -uapi := arch/$(SRCARCH)/include/generated/uapi/asm - -$(shell mkdir -p $(uapi) $(kapi)) - -syscall := $(src)/syscall.tbl -syshdr := $(srctree)/scripts/syscallhdr.sh -systbl := $(srctree)/scripts/syscalltbl.sh - -quiet_cmd_syshdr = SYSHDR $@ - cmd_syshdr = $(CONFIG_SHELL) $(syshdr) --emit-nr $< $@ - -quiet_cmd_systbl = SYSTBL $@ - cmd_systbl = $(CONFIG_SHELL) $(systbl) $< $@ - -$(uapi)/unistd_32.h: $(syscall) $(syshdr) FORCE - $(call if_changed,syshdr) - -$(kapi)/syscall_table.h: $(syscall) $(systbl) FORCE - $(call if_changed,systbl) - -uapisyshdr-y += unistd_32.h -kapisyshdr-y += syscall_table.h - -uapisyshdr-y := $(addprefix $(uapi)/, $(uapisyshdr-y)) -kapisyshdr-y := $(addprefix $(kapi)/, $(kapisyshdr-y)) -targets += $(addprefix ../../../../, $(uapisyshdr-y) $(kapisyshdr-y)) - -PHONY += all -all: $(uapisyshdr-y) $(kapisyshdr-y) - @: +# SPDX-License-Identifier: GPL-2.0 +kapi := arch/$(SRCARCH)/include/generated/asm +uapi := arch/$(SRCARCH)/include/generated/uapi/asm + +$(shell mkdir -p $(uapi) $(kapi)) + +syscall := $(src)/syscall.tbl +syshdr := $(srctree)/scripts/syscallhdr.sh +systbl := $(srctree)/scripts/syscalltbl.sh + +quiet_cmd_syshdr = SYSHDR $@ + cmd_syshdr = $(CONFIG_SHELL) $(syshdr) --emit-nr $< $@ + +quiet_cmd_systbl = SYSTBL $@ + cmd_systbl = $(CONFIG_SHELL) $(systbl) $< $@ + +$(uapi)/unistd_32.h: $(syscall) $(syshdr) FORCE + $(call if_changed,syshdr) + +$(kapi)/syscall_table.h: $(syscall) $(systbl) FORCE + $(call if_changed,systbl) + +uapisyshdr-y += unistd_32.h +kapisyshdr-y += syscall_table.h + +uapisyshdr-y := $(addprefix $(uapi)/, $(uapisyshdr-y)) +kapisyshdr-y := $(addprefix $(kapi)/, $(kapisyshdr-y)) +targets += $(addprefix ../../../../, $(uapisyshdr-y) $(kapisyshdr-y)) + +PHONY += all +all: $(uapisyshdr-y) $(kapisyshdr-y) + @: diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/kernel/syscalltable.S b/image/debian/UFI003_MB_V02/kernel/arch/m68k/kernel/syscalltable.S index 112b289b5d..e25ef4a9df 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/kernel/syscalltable.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/kernel/syscalltable.S @@ -1,25 +1,25 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2002, Greg Ungerer (gerg@snapgear.com) - * - * Based on older entry.S files, the following copyrights apply: - * - * Copyright (C) 1998 D. Jeff Dionne , - * Kenneth Albanowski , - * Copyright (C) 2000 Lineo Inc. (www.lineo.com) - * Copyright (C) 1991, 1992 Linus Torvalds - * - * Linux/m68k support by Hamish Macdonald - */ - -#include - -#ifndef CONFIG_MMU -#define sys_mmap2 sys_mmap_pgoff -#endif - -#define __SYSCALL(nr, entry) .long entry - .section .rodata -ALIGN -ENTRY(sys_call_table) -#include +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2002, Greg Ungerer (gerg@snapgear.com) + * + * Based on older entry.S files, the following copyrights apply: + * + * Copyright (C) 1998 D. Jeff Dionne , + * Kenneth Albanowski , + * Copyright (C) 2000 Lineo Inc. (www.lineo.com) + * Copyright (C) 1991, 1992 Linus Torvalds + * + * Linux/m68k support by Hamish Macdonald + */ + +#include + +#ifndef CONFIG_MMU +#define sys_mmap2 sys_mmap_pgoff +#endif + +#define __SYSCALL(nr, entry) .long entry + .section .rodata +ALIGN +ENTRY(sys_call_table) +#include diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/sun3/prom/init.c b/image/debian/UFI003_MB_V02/kernel/arch/m68k/sun3/prom/init.c index 96a51576d8..0c6d99df6a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/sun3/prom/init.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/sun3/prom/init.c @@ -1,36 +1,36 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * init.c: Initialize internal variables used by the PROM - * library functions. - * - * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu) - */ - -#include -#include - -#include -#include - -struct linux_romvec *romvec; -enum prom_major_version prom_vers; -unsigned int prom_rev, prom_prev; - -/* The root node of the prom device tree. */ -int prom_root_node; - -/* Pointer to the device tree operations structure. */ -struct linux_nodeops *prom_nodeops; - -/* You must call prom_init() before you attempt to use any of the - * routines in the prom library. - * It gets passed the pointer to the PROM vector. - */ - -void __init prom_init(struct linux_romvec *rp) -{ - romvec = rp; - - /* Initialization successful. */ - return; -} +// SPDX-License-Identifier: GPL-2.0 +/* + * init.c: Initialize internal variables used by the PROM + * library functions. + * + * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu) + */ + +#include +#include + +#include +#include + +struct linux_romvec *romvec; +enum prom_major_version prom_vers; +unsigned int prom_rev, prom_prev; + +/* The root node of the prom device tree. */ +int prom_root_node; + +/* Pointer to the device tree operations structure. */ +struct linux_nodeops *prom_nodeops; + +/* You must call prom_init() before you attempt to use any of the + * routines in the prom library. + * It gets passed the pointer to the PROM vector. + */ + +void __init prom_init(struct linux_romvec *rp) +{ + romvec = rp; + + /* Initialization successful. */ + return; +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/sun3/prom/printf.c b/image/debian/UFI003_MB_V02/kernel/arch/m68k/sun3/prom/printf.c index c4869cd621..db5537ef12 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/sun3/prom/printf.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/sun3/prom/printf.c @@ -1,55 +1,55 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * printf.c: Internal prom library printf facility. - * - * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu) - */ - -/* This routine is internal to the prom library, no one else should know - * about or use it! It's simple and smelly anyway.... - */ - -#include - -#include -#include - -#ifdef CONFIG_KGDB -extern int kgdb_initialized; -#endif - -static char ppbuf[1024]; - -void -prom_printf(char *fmt, ...) -{ - va_list args; - char ch, *bptr; - - va_start(args, fmt); - -#ifdef CONFIG_KGDB - ppbuf[0] = 'O'; - vsprintf(ppbuf + 1, fmt, args) + 1; -#else - vsprintf(ppbuf, fmt, args); -#endif - - bptr = ppbuf; - -#ifdef CONFIG_KGDB - if (kgdb_initialized) { - pr_info("kgdb_initialized = %d\n", kgdb_initialized); - putpacket(bptr, 1); - } else -#else - while((ch = *(bptr++)) != 0) { - if(ch == '\n') - prom_putchar('\r'); - - prom_putchar(ch); - } -#endif - va_end(args); - return; -} +// SPDX-License-Identifier: GPL-2.0 +/* + * printf.c: Internal prom library printf facility. + * + * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu) + */ + +/* This routine is internal to the prom library, no one else should know + * about or use it! It's simple and smelly anyway.... + */ + +#include + +#include +#include + +#ifdef CONFIG_KGDB +extern int kgdb_initialized; +#endif + +static char ppbuf[1024]; + +void +prom_printf(char *fmt, ...) +{ + va_list args; + char ch, *bptr; + + va_start(args, fmt); + +#ifdef CONFIG_KGDB + ppbuf[0] = 'O'; + vsprintf(ppbuf + 1, fmt, args) + 1; +#else + vsprintf(ppbuf, fmt, args); +#endif + + bptr = ppbuf; + +#ifdef CONFIG_KGDB + if (kgdb_initialized) { + pr_info("kgdb_initialized = %d\n", kgdb_initialized); + putpacket(bptr, 1); + } else +#else + while((ch = *(bptr++)) != 0) { + if(ch == '\n') + prom_putchar('\r'); + + prom_putchar(ch); + } +#endif + va_end(args); + return; +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/boot/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/boot/Makefile index 512b0f2731..2b42c370d5 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/boot/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/boot/Makefile @@ -1,35 +1,35 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# arch/microblaze/boot/Makefile -# - -targets := linux.bin linux.bin.gz linux.bin.ub simpleImage.* - -OBJCOPYFLAGS := -R .note -R .comment -R .note.gnu.build-id -O binary - -$(obj)/linux.bin: vmlinux FORCE - $(call if_changed,objcopy) - -$(obj)/linux.bin.ub: $(obj)/linux.bin FORCE - $(call if_changed,uimage) - -$(obj)/linux.bin.gz: $(obj)/linux.bin FORCE - $(call if_changed,gzip) - -quiet_cmd_strip = STRIP $< $@$2 - cmd_strip = $(STRIP) -K microblaze_start -K _end -K __log_buf \ - -K _fdt_start $< -o $@$2 - -UIMAGE_LOADADDR = $(CONFIG_KERNEL_BASE_ADDR) - -$(obj)/simpleImage.$(DTB): vmlinux FORCE - $(call if_changed,objcopy) - -$(obj)/simpleImage.$(DTB).ub: $(obj)/simpleImage.$(DTB) FORCE - $(call if_changed,uimage) - -$(obj)/simpleImage.$(DTB).unstrip: vmlinux FORCE - $(call if_changed,copy) - -$(obj)/simpleImage.$(DTB).strip: vmlinux FORCE - $(call if_changed,strip) +# SPDX-License-Identifier: GPL-2.0 +# +# arch/microblaze/boot/Makefile +# + +targets := linux.bin linux.bin.gz linux.bin.ub simpleImage.* + +OBJCOPYFLAGS := -R .note -R .comment -R .note.gnu.build-id -O binary + +$(obj)/linux.bin: vmlinux FORCE + $(call if_changed,objcopy) + +$(obj)/linux.bin.ub: $(obj)/linux.bin FORCE + $(call if_changed,uimage) + +$(obj)/linux.bin.gz: $(obj)/linux.bin FORCE + $(call if_changed,gzip) + +quiet_cmd_strip = STRIP $< $@$2 + cmd_strip = $(STRIP) -K microblaze_start -K _end -K __log_buf \ + -K _fdt_start $< -o $@$2 + +UIMAGE_LOADADDR = $(CONFIG_KERNEL_BASE_ADDR) + +$(obj)/simpleImage.$(DTB): vmlinux FORCE + $(call if_changed,objcopy) + +$(obj)/simpleImage.$(DTB).ub: $(obj)/simpleImage.$(DTB) FORCE + $(call if_changed,uimage) + +$(obj)/simpleImage.$(DTB).unstrip: vmlinux FORCE + $(call if_changed,copy) + +$(obj)/simpleImage.$(DTB).strip: vmlinux FORCE + $(call if_changed,strip) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/cache.h b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/cache.h index 459c8ec0a0..1903988b9e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/cache.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/cache.h @@ -1,26 +1,26 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Cache operations - * - * Copyright (C) 2007-2009 Michal Simek - * Copyright (C) 2007-2009 PetaLogix - * Copyright (C) 2003 John Williams - */ - -#ifndef _ASM_MICROBLAZE_CACHE_H -#define _ASM_MICROBLAZE_CACHE_H - -#include - -#define L1_CACHE_SHIFT 5 -/* word-granular cache in microblaze */ -#define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT) - -#define SMP_CACHE_BYTES L1_CACHE_BYTES - -/* MS be sure that SLAB allocates aligned objects */ -#define ARCH_DMA_MINALIGN L1_CACHE_BYTES - -#define ARCH_SLAB_MINALIGN L1_CACHE_BYTES - -#endif /* _ASM_MICROBLAZE_CACHE_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Cache operations + * + * Copyright (C) 2007-2009 Michal Simek + * Copyright (C) 2007-2009 PetaLogix + * Copyright (C) 2003 John Williams + */ + +#ifndef _ASM_MICROBLAZE_CACHE_H +#define _ASM_MICROBLAZE_CACHE_H + +#include + +#define L1_CACHE_SHIFT 5 +/* word-granular cache in microblaze */ +#define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT) + +#define SMP_CACHE_BYTES L1_CACHE_BYTES + +/* MS be sure that SLAB allocates aligned objects */ +#define ARCH_DMA_MINALIGN L1_CACHE_BYTES + +#define ARCH_SLAB_MINALIGN L1_CACHE_BYTES + +#endif /* _ASM_MICROBLAZE_CACHE_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/checksum.h b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/checksum.h index 79e5f6b998..2e5ebd5999 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/checksum.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/checksum.h @@ -1,36 +1,36 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2008 Michal Simek - * Copyright (C) 2006 Atmark Techno, Inc. - */ - -#ifndef _ASM_MICROBLAZE_CHECKSUM_H -#define _ASM_MICROBLAZE_CHECKSUM_H - -/* - * computes the checksum of the TCP/UDP pseudo-header - * returns a 16-bit checksum, already complemented - */ -#define csum_tcpudp_nofold csum_tcpudp_nofold -static inline __wsum -csum_tcpudp_nofold(__be32 saddr, __be32 daddr, __u32 len, - __u8 proto, __wsum sum) -{ - __asm__("add %0, %0, %1\n\t" - "addc %0, %0, %2\n\t" - "addc %0, %0, %3\n\t" - "addc %0, %0, r0\n\t" - : "+&d" (sum) - : "d" (saddr), "d" (daddr), -#ifdef __MICROBLAZEEL__ - "d" ((len + proto) << 8) -#else - "d" (len + proto) -#endif -); - return sum; -} - -#include - -#endif /* _ASM_MICROBLAZE_CHECKSUM_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2008 Michal Simek + * Copyright (C) 2006 Atmark Techno, Inc. + */ + +#ifndef _ASM_MICROBLAZE_CHECKSUM_H +#define _ASM_MICROBLAZE_CHECKSUM_H + +/* + * computes the checksum of the TCP/UDP pseudo-header + * returns a 16-bit checksum, already complemented + */ +#define csum_tcpudp_nofold csum_tcpudp_nofold +static inline __wsum +csum_tcpudp_nofold(__be32 saddr, __be32 daddr, __u32 len, + __u8 proto, __wsum sum) +{ + __asm__("add %0, %0, %1\n\t" + "addc %0, %0, %2\n\t" + "addc %0, %0, %3\n\t" + "addc %0, %0, r0\n\t" + : "+&d" (sum) + : "d" (saddr), "d" (daddr), +#ifdef __MICROBLAZEEL__ + "d" ((len + proto) << 8) +#else + "d" (len + proto) +#endif +); + return sum; +} + +#include + +#endif /* _ASM_MICROBLAZE_CHECKSUM_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/current.h b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/current.h index 892b666dee..a4bb45be30 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/current.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/current.h @@ -1,26 +1,26 @@ -/* 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_CURRENT_H -#define _ASM_MICROBLAZE_CURRENT_H - -/* - * Register used to hold the current task pointer while in the kernel. - * Any `call clobbered' register without a special meaning should be OK, - * but check asm/microblaze/kernel/entry.S to be sure. - */ -#define CURRENT_TASK r31 -# ifndef __ASSEMBLY__ -/* - * Dedicate r31 to keeping the current task pointer - */ -register struct task_struct *current asm("r31"); - -# define get_current() current -# endif /* __ASSEMBLY__ */ - -#endif /* _ASM_MICROBLAZE_CURRENT_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_CURRENT_H +#define _ASM_MICROBLAZE_CURRENT_H + +/* + * Register used to hold the current task pointer while in the kernel. + * Any `call clobbered' register without a special meaning should be OK, + * but check asm/microblaze/kernel/entry.S to be sure. + */ +#define CURRENT_TASK r31 +# ifndef __ASSEMBLY__ +/* + * Dedicate r31 to keeping the current task pointer + */ +register struct task_struct *current asm("r31"); + +# define get_current() current +# endif /* __ASSEMBLY__ */ + +#endif /* _ASM_MICROBLAZE_CURRENT_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/ftrace.h b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/ftrace.h index e9ad06e187..4ca38b92a3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/ftrace.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/ftrace.h @@ -1,28 +1,28 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_MICROBLAZE_FTRACE -#define _ASM_MICROBLAZE_FTRACE - -#ifdef CONFIG_FUNCTION_TRACER - -#define MCOUNT_ADDR ((unsigned long)(_mcount)) -#define MCOUNT_INSN_SIZE 8 /* sizeof mcount call */ - -#ifndef __ASSEMBLY__ -extern void _mcount(void); -extern void ftrace_call_graph(void); -void prepare_ftrace_return(unsigned long *parent, unsigned long self_addr); -#endif - -#ifdef CONFIG_DYNAMIC_FTRACE -/* relocation of mcount call site is the same as the address */ -static inline unsigned long ftrace_call_adjust(unsigned long addr) -{ - return addr; -} - -struct dyn_arch_ftrace { -}; -#endif /* CONFIG_DYNAMIC_FTRACE */ - -#endif /* CONFIG_FUNCTION_TRACER */ -#endif /* _ASM_MICROBLAZE_FTRACE */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_MICROBLAZE_FTRACE +#define _ASM_MICROBLAZE_FTRACE + +#ifdef CONFIG_FUNCTION_TRACER + +#define MCOUNT_ADDR ((unsigned long)(_mcount)) +#define MCOUNT_INSN_SIZE 8 /* sizeof mcount call */ + +#ifndef __ASSEMBLY__ +extern void _mcount(void); +extern void ftrace_call_graph(void); +void prepare_ftrace_return(unsigned long *parent, unsigned long self_addr); +#endif + +#ifdef CONFIG_DYNAMIC_FTRACE +/* relocation of mcount call site is the same as the address */ +static inline unsigned long ftrace_call_adjust(unsigned long addr) +{ + return addr; +} + +struct dyn_arch_ftrace { +}; +#endif /* CONFIG_DYNAMIC_FTRACE */ + +#endif /* CONFIG_FUNCTION_TRACER */ +#endif /* _ASM_MICROBLAZE_FTRACE */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/kgdb.h b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/kgdb.h index 8004d495f7..8dc5ebb07f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/kgdb.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/kgdb.h @@ -1,32 +1,32 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifdef __KERNEL__ -#ifndef __MICROBLAZE_KGDB_H__ -#define __MICROBLAZE_KGDB_H__ - -#ifndef __ASSEMBLY__ - -#define CACHE_FLUSH_IS_SAFE 1 -#define BUFMAX 2048 - -/* - * 32 32-bit general purpose registers (r0-r31) - * 6 32-bit special registers (pc, msr, ear, esr, fsr, btr) - * 12 32-bit PVR - * 7 32-bit MMU Regs (redr, rpid, rzpr, rtlbx, rtlbsx, rtlblo, rtlbhi) - * ------ - * 57 registers - */ -#define NUMREGBYTES (57 * 4) - -#define BREAK_INSTR_SIZE 4 -static inline void arch_kgdb_breakpoint(void) -{ - __asm__ __volatile__("brki r16, 0x18;"); -} - -struct pt_regs; -asmlinkage void microblaze_kgdb_break(struct pt_regs *regs); - -#endif /* __ASSEMBLY__ */ -#endif /* __MICROBLAZE_KGDB_H__ */ -#endif /* __KERNEL__ */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifdef __KERNEL__ +#ifndef __MICROBLAZE_KGDB_H__ +#define __MICROBLAZE_KGDB_H__ + +#ifndef __ASSEMBLY__ + +#define CACHE_FLUSH_IS_SAFE 1 +#define BUFMAX 2048 + +/* + * 32 32-bit general purpose registers (r0-r31) + * 6 32-bit special registers (pc, msr, ear, esr, fsr, btr) + * 12 32-bit PVR + * 7 32-bit MMU Regs (redr, rpid, rzpr, rtlbx, rtlbsx, rtlblo, rtlbhi) + * ------ + * 57 registers + */ +#define NUMREGBYTES (57 * 4) + +#define BREAK_INSTR_SIZE 4 +static inline void arch_kgdb_breakpoint(void) +{ + __asm__ __volatile__("brki r16, 0x18;"); +} + +struct pt_regs; +asmlinkage void microblaze_kgdb_break(struct pt_regs *regs); + +#endif /* __ASSEMBLY__ */ +#endif /* __MICROBLAZE_KGDB_H__ */ +#endif /* __KERNEL__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/module.h b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/module.h index 8c6456ba2f..eda1c183b6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/module.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/module.h @@ -1,28 +1,28 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2006 Atmark Techno, Inc. - */ - -#ifndef _ASM_MICROBLAZE_MODULE_H -#define _ASM_MICROBLAZE_MODULE_H - -#include - -/* Microblaze Relocations */ -#define R_MICROBLAZE_NONE 0 -#define R_MICROBLAZE_32 1 -#define R_MICROBLAZE_32_PCREL 2 -#define R_MICROBLAZE_64_PCREL 3 -#define R_MICROBLAZE_32_PCREL_LO 4 -#define R_MICROBLAZE_64 5 -#define R_MICROBLAZE_32_LO 6 -#define R_MICROBLAZE_SRO32 7 -#define R_MICROBLAZE_SRW32 8 -#define R_MICROBLAZE_64_NONE 9 -#define R_MICROBLAZE_32_SYM_OP_SYM 10 -/* Keep this the last entry. */ -#define R_MICROBLAZE_NUM 11 - -typedef struct { volatile int counter; } module_t; - -#endif /* _ASM_MICROBLAZE_MODULE_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2006 Atmark Techno, Inc. + */ + +#ifndef _ASM_MICROBLAZE_MODULE_H +#define _ASM_MICROBLAZE_MODULE_H + +#include + +/* Microblaze Relocations */ +#define R_MICROBLAZE_NONE 0 +#define R_MICROBLAZE_32 1 +#define R_MICROBLAZE_32_PCREL 2 +#define R_MICROBLAZE_64_PCREL 3 +#define R_MICROBLAZE_32_PCREL_LO 4 +#define R_MICROBLAZE_64 5 +#define R_MICROBLAZE_32_LO 6 +#define R_MICROBLAZE_SRO32 7 +#define R_MICROBLAZE_SRW32 8 +#define R_MICROBLAZE_64_NONE 9 +#define R_MICROBLAZE_32_SYM_OP_SYM 10 +/* Keep this the last entry. */ +#define R_MICROBLAZE_NUM 11 + +typedef struct { volatile int counter; } module_t; + +#endif /* _ASM_MICROBLAZE_MODULE_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/setup.h b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/setup.h index 173f5c56d1..bf2600f759 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/setup.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/setup.h @@ -1,29 +1,29 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2007-2009 Michal Simek - * Copyright (C) 2007-2009 PetaLogix - * Copyright (C) 2006 Atmark Techno, Inc. - */ -#ifndef _ASM_MICROBLAZE_SETUP_H -#define _ASM_MICROBLAZE_SETUP_H - -#include - -# ifndef __ASSEMBLY__ -extern char cmd_line[COMMAND_LINE_SIZE]; - -extern char *klimit; - -extern void mmu_reset(void); - -void machine_early_init(const char *cmdline, unsigned int ram, - unsigned int fdt, unsigned int msr, unsigned int tlb0, - unsigned int tlb1); - -void machine_restart(char *cmd); -void machine_shutdown(void); -void machine_halt(void); -void machine_power_off(void); - -# endif /* __ASSEMBLY__ */ -#endif /* _ASM_MICROBLAZE_SETUP_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2007-2009 Michal Simek + * Copyright (C) 2007-2009 PetaLogix + * Copyright (C) 2006 Atmark Techno, Inc. + */ +#ifndef _ASM_MICROBLAZE_SETUP_H +#define _ASM_MICROBLAZE_SETUP_H + +#include + +# ifndef __ASSEMBLY__ +extern char cmd_line[COMMAND_LINE_SIZE]; + +extern char *klimit; + +extern void mmu_reset(void); + +void machine_early_init(const char *cmdline, unsigned int ram, + unsigned int fdt, unsigned int msr, unsigned int tlb0, + unsigned int tlb1); + +void machine_restart(char *cmd); +void machine_shutdown(void); +void machine_halt(void); +void machine_power_off(void); + +# endif /* __ASSEMBLY__ */ +#endif /* _ASM_MICROBLAZE_SETUP_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/xilinx_mb_manager.h b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/xilinx_mb_manager.h index 6e5125115c..7b6995722b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/xilinx_mb_manager.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/xilinx_mb_manager.h @@ -1,29 +1,29 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2022 Xilinx, Inc. - */ -#ifndef _XILINX_MB_MANAGER_H -#define _XILINX_MB_MANAGER_H - -# ifndef __ASSEMBLY__ - -#include - -/* - * When the break vector gets asserted because of error injection, the break - * signal must be blocked before exiting from the break handler, Below api - * updates the manager address and control register and error counter callback - * arguments, which will be used by the break handler to block the break and - * call the callback function. - */ -void xmb_manager_register(uintptr_t phys_baseaddr, u32 cr_val, - void (*callback)(void *data), - void *priv, void (*reset_callback)(void *data)); -asmlinkage void xmb_inject_err(void); - -# endif /* __ASSEMBLY__ */ - -/* Error injection offset */ -#define XMB_INJECT_ERR_OFFSET 0x200 - -#endif /* _XILINX_MB_MANAGER_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2022 Xilinx, Inc. + */ +#ifndef _XILINX_MB_MANAGER_H +#define _XILINX_MB_MANAGER_H + +# ifndef __ASSEMBLY__ + +#include + +/* + * When the break vector gets asserted because of error injection, the break + * signal must be blocked before exiting from the break handler, Below api + * updates the manager address and control register and error counter callback + * arguments, which will be used by the break handler to block the break and + * call the callback function. + */ +void xmb_manager_register(uintptr_t phys_baseaddr, u32 cr_val, + void (*callback)(void *data), + void *priv, void (*reset_callback)(void *data)); +asmlinkage void xmb_inject_err(void); + +# endif /* __ASSEMBLY__ */ + +/* Error injection offset */ +#define XMB_INJECT_ERR_OFFSET 0x200 + +#endif /* _XILINX_MB_MANAGER_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/kernel/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/kernel/Makefile index c519c78973..85c4d29ef4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/kernel/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/kernel/Makefile @@ -1,29 +1,29 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Makefile -# - -ifdef CONFIG_FUNCTION_TRACER -# Do not trace early boot code and low level code -CFLAGS_REMOVE_timer.o = -pg -CFLAGS_REMOVE_intc.o = -pg -CFLAGS_REMOVE_ftrace.o = -pg -CFLAGS_REMOVE_process.o = -pg -endif - -extra-y := vmlinux.lds - -obj-y += head.o dma.o exceptions.o \ - hw_exception_handler.o irq.o \ - process.o prom.o ptrace.o \ - reset.o setup.o signal.o sys_microblaze.o timer.o traps.o unwind.o - -obj-y += cpu/ - -obj-$(CONFIG_MODULES) += microblaze_ksyms.o module.o -obj-y += misc.o -obj-$(CONFIG_STACKTRACE) += stacktrace.o -obj-$(CONFIG_FUNCTION_TRACER) += ftrace.o mcount.o -obj-$(CONFIG_KGDB) += kgdb.o - -obj-y += entry.o +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile +# + +ifdef CONFIG_FUNCTION_TRACER +# Do not trace early boot code and low level code +CFLAGS_REMOVE_timer.o = -pg +CFLAGS_REMOVE_intc.o = -pg +CFLAGS_REMOVE_ftrace.o = -pg +CFLAGS_REMOVE_process.o = -pg +endif + +extra-y := vmlinux.lds + +obj-y += head.o dma.o exceptions.o \ + hw_exception_handler.o irq.o \ + process.o prom.o ptrace.o \ + reset.o setup.o signal.o sys_microblaze.o timer.o traps.o unwind.o + +obj-y += cpu/ + +obj-$(CONFIG_MODULES) += microblaze_ksyms.o module.o +obj-y += misc.o +obj-$(CONFIG_STACKTRACE) += stacktrace.o +obj-$(CONFIG_FUNCTION_TRACER) += ftrace.o mcount.o +obj-$(CONFIG_KGDB) += kgdb.o + +obj-y += entry.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/kernel/irq.c b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/kernel/irq.c index 3541a4d6fd..1f8cb4c4f7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/kernel/irq.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/kernel/irq.c @@ -1,39 +1,39 @@ -/* - * 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. - */ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void __irq_entry do_IRQ(struct pt_regs *regs) -{ - struct pt_regs *old_regs = set_irq_regs(regs); - trace_hardirqs_off(); - - irq_enter(); - handle_arch_irq(regs); - irq_exit(); - set_irq_regs(old_regs); - trace_hardirqs_on(); -} - -void __init init_IRQ(void) -{ - /* process the entire interrupt tree in one go */ - irqchip_init(); -} +/* + * 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. + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +void __irq_entry do_IRQ(struct pt_regs *regs) +{ + struct pt_regs *old_regs = set_irq_regs(regs); + trace_hardirqs_off(); + + irq_enter(); + handle_arch_irq(regs); + irq_exit(); + set_irq_regs(old_regs); + trace_hardirqs_on(); +} + +void __init init_IRQ(void) +{ + /* process the entire interrupt tree in one go */ + irqchip_init(); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/kernel/prom.c b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/kernel/prom.c index ae58dfe024..76ac4cfdfb 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/kernel/prom.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/kernel/prom.c @@ -1,30 +1,30 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Procedures for creating, accessing and interpreting the device tree. - * - * Paul Mackerras August 1996. - * Copyright (C) 1996-2005 Paul Mackerras. - * - * Adapted for 64bit PowerPC by Dave Engebretsen and Peter Bergner. - * {engebret|bergner}@us.ibm.com - */ - -#include -#include -#include -#include - -void __init early_init_devtree(void *params) -{ - pr_debug(" -> early_init_devtree(%p)\n", params); - - early_init_dt_scan(params, __pa(params)); - if (!strlen(boot_command_line)) - strscpy(boot_command_line, cmd_line, COMMAND_LINE_SIZE); - - memblock_allow_resize(); - - pr_debug("Phys. mem: %lx\n", (unsigned long) memblock_phys_mem_size()); - - pr_debug(" <- early_init_devtree()\n"); -} +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Procedures for creating, accessing and interpreting the device tree. + * + * Paul Mackerras August 1996. + * Copyright (C) 1996-2005 Paul Mackerras. + * + * Adapted for 64bit PowerPC by Dave Engebretsen and Peter Bergner. + * {engebret|bergner}@us.ibm.com + */ + +#include +#include +#include +#include + +void __init early_init_devtree(void *params) +{ + pr_debug(" -> early_init_devtree(%p)\n", params); + + early_init_dt_scan(params, __pa(params)); + if (!strlen(boot_command_line)) + strscpy(boot_command_line, cmd_line, COMMAND_LINE_SIZE); + + memblock_allow_resize(); + + pr_debug("Phys. mem: %lx\n", (unsigned long) memblock_phys_mem_size()); + + pr_debug(" <- early_init_devtree()\n"); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/kernel/reset.c b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/kernel/reset.c index cd10772f7a..2f66c79630 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/kernel/reset.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/kernel/reset.c @@ -1,42 +1,42 @@ -/* - * Copyright (C) 2009 Michal Simek - * Copyright (C) 2009 PetaLogix - * - * 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. - */ - -#include -#include -#include - -void machine_shutdown(void) -{ - pr_notice("Machine shutdown...\n"); - while (1) - ; -} - -void machine_halt(void) -{ - pr_notice("Machine halt...\n"); - while (1) - ; -} - -void machine_power_off(void) -{ - pr_notice("Machine power off...\n"); - while (1) - ; -} - -void machine_restart(char *cmd) -{ - do_kernel_restart(cmd); - /* Give the restart hook 1 s to take us down */ - mdelay(1000); - pr_emerg("Reboot failed -- System halted\n"); - while (1); -} +/* + * Copyright (C) 2009 Michal Simek + * Copyright (C) 2009 PetaLogix + * + * 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. + */ + +#include +#include +#include + +void machine_shutdown(void) +{ + pr_notice("Machine shutdown...\n"); + while (1) + ; +} + +void machine_halt(void) +{ + pr_notice("Machine halt...\n"); + while (1) + ; +} + +void machine_power_off(void) +{ + pr_notice("Machine power off...\n"); + while (1) + ; +} + +void machine_restart(char *cmd) +{ + do_kernel_restart(cmd); + /* Give the restart hook 1 s to take us down */ + mdelay(1000); + pr_emerg("Reboot failed -- System halted\n"); + while (1); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/kernel/stacktrace.c b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/kernel/stacktrace.c index dcdf5fd991..b266c4d6ed 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/kernel/stacktrace.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/kernel/stacktrace.c @@ -1,31 +1,31 @@ -/* - * Stack trace support for Microblaze. - * - * Copyright (C) 2009 Michal Simek - * Copyright (C) 2009 PetaLogix - * - * 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. - */ - -#include -#include -#include -#include -#include -#include - -void save_stack_trace(struct stack_trace *trace) -{ - /* Exclude our helper functions from the trace*/ - trace->skip += 2; - microblaze_unwind(NULL, trace, ""); -} -EXPORT_SYMBOL_GPL(save_stack_trace); - -void save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace) -{ - microblaze_unwind(tsk, trace, ""); -} -EXPORT_SYMBOL_GPL(save_stack_trace_tsk); +/* + * Stack trace support for Microblaze. + * + * Copyright (C) 2009 Michal Simek + * Copyright (C) 2009 PetaLogix + * + * 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. + */ + +#include +#include +#include +#include +#include +#include + +void save_stack_trace(struct stack_trace *trace) +{ + /* Exclude our helper functions from the trace*/ + trace->skip += 2; + microblaze_unwind(NULL, trace, ""); +} +EXPORT_SYMBOL_GPL(save_stack_trace); + +void save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace) +{ + microblaze_unwind(tsk, trace, ""); +} +EXPORT_SYMBOL_GPL(save_stack_trace_tsk); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/kernel/syscalls/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/kernel/syscalls/Makefile index a516b5473f..b265e4bc16 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/kernel/syscalls/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/kernel/syscalls/Makefile @@ -1,32 +1,32 @@ -# SPDX-License-Identifier: GPL-2.0 -kapi := arch/$(SRCARCH)/include/generated/asm -uapi := arch/$(SRCARCH)/include/generated/uapi/asm - -$(shell mkdir -p $(uapi) $(kapi)) - -syscall := $(src)/syscall.tbl -syshdr := $(srctree)/scripts/syscallhdr.sh -systbl := $(srctree)/scripts/syscalltbl.sh - -quiet_cmd_syshdr = SYSHDR $@ - cmd_syshdr = $(CONFIG_SHELL) $(syshdr) --emit-nr $< $@ - -quiet_cmd_systbl = SYSTBL $@ - cmd_systbl = $(CONFIG_SHELL) $(systbl) $< $@ - -$(uapi)/unistd_32.h: $(syscall) $(syshdr) FORCE - $(call if_changed,syshdr) - -$(kapi)/syscall_table.h: $(syscall) $(systbl) FORCE - $(call if_changed,systbl) - -uapisyshdr-y += unistd_32.h -kapisyshdr-y += syscall_table.h - -uapisyshdr-y := $(addprefix $(uapi)/, $(uapisyshdr-y)) -kapisyshdr-y := $(addprefix $(kapi)/, $(kapisyshdr-y)) -targets += $(addprefix ../../../../, $(uapisyshdr-y) $(kapisyshdr-y)) - -PHONY += all -all: $(uapisyshdr-y) $(kapisyshdr-y) - @: +# SPDX-License-Identifier: GPL-2.0 +kapi := arch/$(SRCARCH)/include/generated/asm +uapi := arch/$(SRCARCH)/include/generated/uapi/asm + +$(shell mkdir -p $(uapi) $(kapi)) + +syscall := $(src)/syscall.tbl +syshdr := $(srctree)/scripts/syscallhdr.sh +systbl := $(srctree)/scripts/syscalltbl.sh + +quiet_cmd_syshdr = SYSHDR $@ + cmd_syshdr = $(CONFIG_SHELL) $(syshdr) --emit-nr $< $@ + +quiet_cmd_systbl = SYSTBL $@ + cmd_systbl = $(CONFIG_SHELL) $(systbl) $< $@ + +$(uapi)/unistd_32.h: $(syscall) $(syshdr) FORCE + $(call if_changed,syshdr) + +$(kapi)/syscall_table.h: $(syscall) $(systbl) FORCE + $(call if_changed,systbl) + +uapisyshdr-y += unistd_32.h +kapisyshdr-y += syscall_table.h + +uapisyshdr-y := $(addprefix $(uapi)/, $(uapisyshdr-y)) +kapisyshdr-y := $(addprefix $(kapi)/, $(kapisyshdr-y)) +targets += $(addprefix ../../../../, $(uapisyshdr-y) $(kapisyshdr-y)) + +PHONY += all +all: $(uapisyshdr-y) $(kapisyshdr-y) + @: diff --git a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/lib/libgcc.h b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/lib/libgcc.h index 16f1a479ef..a909366c20 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/lib/libgcc.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/lib/libgcc.h @@ -1,33 +1,33 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_LIBGCC_H -#define __ASM_LIBGCC_H - -#include - -typedef int word_type __attribute__ ((mode (__word__))); - -#ifdef __BIG_ENDIAN -struct DWstruct { - int high, low; -}; -#elif defined(__LITTLE_ENDIAN) -struct DWstruct { - int low, high; -}; -#else -#error I feel sick. -#endif - -typedef union { - struct DWstruct s; - long long ll; -} DWunion; - -extern long long __ashldi3(long long u, word_type b); -extern long long __ashrdi3(long long u, word_type b); -extern word_type __cmpdi2(long long a, long long b); -extern long long __lshrdi3(long long u, word_type b); -extern long long __muldi3(long long u, long long v); -extern word_type __ucmpdi2(unsigned long long a, unsigned long long b); - -#endif /* __ASM_LIBGCC_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_LIBGCC_H +#define __ASM_LIBGCC_H + +#include + +typedef int word_type __attribute__ ((mode (__word__))); + +#ifdef __BIG_ENDIAN +struct DWstruct { + int high, low; +}; +#elif defined(__LITTLE_ENDIAN) +struct DWstruct { + int low, high; +}; +#else +#error I feel sick. +#endif + +typedef union { + struct DWstruct s; + long long ll; +} DWunion; + +extern long long __ashldi3(long long u, word_type b); +extern long long __ashrdi3(long long u, word_type b); +extern word_type __cmpdi2(long long a, long long b); +extern long long __lshrdi3(long long u, word_type b); +extern long long __muldi3(long long u, long long v); +extern word_type __ucmpdi2(unsigned long long a, unsigned long long b); + +#endif /* __ASM_LIBGCC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/lib/mulsi3.S b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/lib/mulsi3.S index 06e1d622c3..d6703a4d91 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/lib/mulsi3.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/lib/mulsi3.S @@ -1,47 +1,47 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#include - -/* - * Multiply operation for 32 bit integers. - * Input : Operand1 in Reg r5 - * Operand2 in Reg r6 - * Output: Result [op1 * op2] in Reg r3 - */ - .text - .globl __mulsi3 - .type __mulsi3, @function - .ent __mulsi3 - -__mulsi3: - .frame r1, 0, r15 - add r3, r0, r0 - beqi r5, result_is_zero /* multiply by zero */ - beqi r6, result_is_zero /* multiply by zero */ - bgeid r5, r5_pos - xor r4, r5, r6 /* get the sign of the result */ - rsubi r5, r5, 0 /* make r5 positive */ -r5_pos: - bgei r6, r6_pos - rsubi r6, r6, 0 /* make r6 positive */ -r6_pos: - bri l1 -l2: - add r5, r5, r5 -l1: - srl r6, r6 - addc r7, r0, r0 - beqi r7, l2 - bneid r6, l2 - add r3, r3, r5 - blti r4, negateresult - rtsd r15, 8 - nop -negateresult: - rtsd r15, 8 - rsub r3, r3, r0 -result_is_zero: - rtsd r15, 8 - addi r3, r0, 0 - -.size __mulsi3, . - __mulsi3 -.end __mulsi3 +/* SPDX-License-Identifier: GPL-2.0 */ +#include + +/* + * Multiply operation for 32 bit integers. + * Input : Operand1 in Reg r5 + * Operand2 in Reg r6 + * Output: Result [op1 * op2] in Reg r3 + */ + .text + .globl __mulsi3 + .type __mulsi3, @function + .ent __mulsi3 + +__mulsi3: + .frame r1, 0, r15 + add r3, r0, r0 + beqi r5, result_is_zero /* multiply by zero */ + beqi r6, result_is_zero /* multiply by zero */ + bgeid r5, r5_pos + xor r4, r5, r6 /* get the sign of the result */ + rsubi r5, r5, 0 /* make r5 positive */ +r5_pos: + bgei r6, r6_pos + rsubi r6, r6, 0 /* make r6 positive */ +r6_pos: + bri l1 +l2: + add r5, r5, r5 +l1: + srl r6, r6 + addc r7, r0, r0 + beqi r7, l2 + bneid r6, l2 + add r3, r3, r5 + blti r4, negateresult + rtsd r15, 8 + nop +negateresult: + rtsd r15, 8 + rsub r3, r3, r0 +result_is_zero: + rtsd r15, 8 + addi r3, r0, 0 + +.size __mulsi3, . - __mulsi3 +.end __mulsi3 diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/Makefile.postlink b/image/debian/UFI003_MB_V02/kernel/arch/mips/Makefile.postlink index c100e66763..6cfdc149d3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/Makefile.postlink +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/Makefile.postlink @@ -1,41 +1,41 @@ -# SPDX-License-Identifier: GPL-2.0 -# =========================================================================== -# Post-link MIPS pass -# =========================================================================== -# -# 1. Check that Loongson3 LL/SC workarounds are applied correctly -# 2. Insert relocations into vmlinux - -PHONY := __archpost -__archpost: - --include include/config/auto.conf -include $(srctree)/scripts/Kbuild.include - -CMD_LS3_LLSC = arch/mips/tools/loongson3-llsc-check -quiet_cmd_ls3_llsc = LLSCCHK $@ - cmd_ls3_llsc = $(CMD_LS3_LLSC) $@ - -CMD_RELOCS = arch/mips/boot/tools/relocs -quiet_cmd_relocs = RELOCS $@ - cmd_relocs = $(CMD_RELOCS) $@ - -# `@true` prevents complaint when there is nothing to be done - -vmlinux: FORCE - @true -ifeq ($(CONFIG_CPU_LOONGSON3_WORKAROUNDS),y) - $(call if_changed,ls3_llsc) -endif -ifeq ($(CONFIG_RELOCATABLE),y) - $(call if_changed,relocs) -endif - -clean: - @true - -PHONY += FORCE clean - -FORCE: - -.PHONY: $(PHONY) +# SPDX-License-Identifier: GPL-2.0 +# =========================================================================== +# Post-link MIPS pass +# =========================================================================== +# +# 1. Check that Loongson3 LL/SC workarounds are applied correctly +# 2. Insert relocations into vmlinux + +PHONY := __archpost +__archpost: + +-include include/config/auto.conf +include $(srctree)/scripts/Kbuild.include + +CMD_LS3_LLSC = arch/mips/tools/loongson3-llsc-check +quiet_cmd_ls3_llsc = LLSCCHK $@ + cmd_ls3_llsc = $(CMD_LS3_LLSC) $@ + +CMD_RELOCS = arch/mips/boot/tools/relocs +quiet_cmd_relocs = RELOCS $@ + cmd_relocs = $(CMD_RELOCS) $@ + +# `@true` prevents complaint when there is nothing to be done + +vmlinux: FORCE + @true +ifeq ($(CONFIG_CPU_LOONGSON3_WORKAROUNDS),y) + $(call if_changed,ls3_llsc) +endif +ifeq ($(CONFIG_RELOCATABLE),y) + $(call if_changed,relocs) +endif + +clean: + @true + +PHONY += FORCE clean + +FORCE: + +.PHONY: $(PHONY) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/alchemy/Kconfig b/image/debian/UFI003_MB_V02/kernel/arch/mips/alchemy/Kconfig index 60635c5634..6ca81e1bd3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/alchemy/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/alchemy/Kconfig @@ -1,37 +1,37 @@ -# SPDX-License-Identifier: GPL-2.0 -choice - prompt "Machine type" - depends on MIPS_ALCHEMY - default MIPS_DB1XXX - -config MIPS_MTX1 - bool "4G Systems MTX-1 board" - select HAVE_PCI - select SYS_SUPPORTS_LITTLE_ENDIAN - select SYS_HAS_EARLY_PRINTK - -config MIPS_DB1XXX - bool "Alchemy DB1XXX / PB1XXX boards" - select GPIOLIB - select HAVE_PCI - select HAVE_PATA_PLATFORM - select SYS_SUPPORTS_LITTLE_ENDIAN - select SYS_HAS_EARLY_PRINTK - help - Select this option if you have one of the following Alchemy - development boards: DB1000 DB1500 DB1100 DB1550 DB1200 DB1300 - PB1500 PB1100 PB1550 PB1200 - Board type is autodetected during boot. - -config MIPS_XXS1500 - bool "MyCable XXS1500 board" - select SYS_SUPPORTS_LITTLE_ENDIAN - select SYS_HAS_EARLY_PRINTK - -config MIPS_GPR - bool "Trapeze ITS GPR board" - select HAVE_PCI - select SYS_SUPPORTS_LITTLE_ENDIAN - select SYS_HAS_EARLY_PRINTK - -endchoice +# SPDX-License-Identifier: GPL-2.0 +choice + prompt "Machine type" + depends on MIPS_ALCHEMY + default MIPS_DB1XXX + +config MIPS_MTX1 + bool "4G Systems MTX-1 board" + select HAVE_PCI + select SYS_SUPPORTS_LITTLE_ENDIAN + select SYS_HAS_EARLY_PRINTK + +config MIPS_DB1XXX + bool "Alchemy DB1XXX / PB1XXX boards" + select GPIOLIB + select HAVE_PCI + select HAVE_PATA_PLATFORM + select SYS_SUPPORTS_LITTLE_ENDIAN + select SYS_HAS_EARLY_PRINTK + help + Select this option if you have one of the following Alchemy + development boards: DB1000 DB1500 DB1100 DB1550 DB1200 DB1300 + PB1500 PB1100 PB1550 PB1200 + Board type is autodetected during boot. + +config MIPS_XXS1500 + bool "MyCable XXS1500 board" + select SYS_SUPPORTS_LITTLE_ENDIAN + select SYS_HAS_EARLY_PRINTK + +config MIPS_GPR + bool "Trapeze ITS GPR board" + select HAVE_PCI + select SYS_SUPPORTS_LITTLE_ENDIAN + select SYS_HAS_EARLY_PRINTK + +endchoice diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/alchemy/Platform b/image/debian/UFI003_MB_V02/kernel/arch/mips/alchemy/Platform index e10b0ba64f..c8cff50b0e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/alchemy/Platform +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/alchemy/Platform @@ -1,35 +1,35 @@ -# -# Core Alchemy code -# -platform-$(CONFIG_MIPS_ALCHEMY) += alchemy/common/ - - -# -# AMD Alchemy Db1000/Db1500/Pb1500/Db1100/Pb1100 -# Db1550/Pb1550/Db1200/Pb1200/Db1300 -# -platform-$(CONFIG_MIPS_DB1XXX) += alchemy/devboards/ -cflags-$(CONFIG_MIPS_DB1XXX) += -I$(srctree)/arch/mips/include/asm/mach-db1x00 -load-$(CONFIG_MIPS_DB1XXX) += 0xffffffff80100000 - -# -# 4G-Systems MTX-1 "MeshCube" wireless router -# -load-$(CONFIG_MIPS_MTX1) += 0xffffffff80100000 - -# -# MyCable eval board -# -load-$(CONFIG_MIPS_XXS1500) += 0xffffffff80100000 - -# -# Trapeze ITS GRP board -# -load-$(CONFIG_MIPS_GPR) += 0xffffffff80100000 - -# boards can specify their own in one of their include dirs. -# If they do, placing this line here at the end will make sure the -# compiler picks the board one. If they don't, it will make sure -# the alchemy generic gpio header is picked up. - -cflags-$(CONFIG_MIPS_ALCHEMY) += -I$(srctree)/arch/mips/include/asm/mach-au1x00 +# +# Core Alchemy code +# +platform-$(CONFIG_MIPS_ALCHEMY) += alchemy/common/ + + +# +# AMD Alchemy Db1000/Db1500/Pb1500/Db1100/Pb1100 +# Db1550/Pb1550/Db1200/Pb1200/Db1300 +# +platform-$(CONFIG_MIPS_DB1XXX) += alchemy/devboards/ +cflags-$(CONFIG_MIPS_DB1XXX) += -I$(srctree)/arch/mips/include/asm/mach-db1x00 +load-$(CONFIG_MIPS_DB1XXX) += 0xffffffff80100000 + +# +# 4G-Systems MTX-1 "MeshCube" wireless router +# +load-$(CONFIG_MIPS_MTX1) += 0xffffffff80100000 + +# +# MyCable eval board +# +load-$(CONFIG_MIPS_XXS1500) += 0xffffffff80100000 + +# +# Trapeze ITS GRP board +# +load-$(CONFIG_MIPS_GPR) += 0xffffffff80100000 + +# boards can specify their own in one of their include dirs. +# If they do, placing this line here at the end will make sure the +# compiler picks the board one. If they don't, it will make sure +# the alchemy generic gpio header is picked up. + +cflags-$(CONFIG_MIPS_ALCHEMY) += -I$(srctree)/arch/mips/include/asm/mach-au1x00 diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/ath79/prom.c b/image/debian/UFI003_MB_V02/kernel/arch/mips/ath79/prom.c index 435d206af7..cc6dc56006 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/ath79/prom.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/ath79/prom.c @@ -1,34 +1,34 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Atheros AR71XX/AR724X/AR913X specific prom routines - * - * Copyright (C) 2015 Laurent Fasnacht - * Copyright (C) 2008-2010 Gabor Juhos - * Copyright (C) 2008 Imre Kaloz - */ - -#include -#include -#include -#include -#include - -#include -#include -#include - -#include "common.h" - -void __init prom_init(void) -{ - fw_init_cmdline(); - -#ifdef CONFIG_BLK_DEV_INITRD - /* Read the initrd address from the firmware environment */ - initrd_start = fw_getenvl("initrd_start"); - if (initrd_start) { - initrd_start = KSEG0ADDR(initrd_start); - initrd_end = initrd_start + fw_getenvl("initrd_size"); - } -#endif -} +// SPDX-License-Identifier: GPL-2.0-only +/* + * Atheros AR71XX/AR724X/AR913X specific prom routines + * + * Copyright (C) 2015 Laurent Fasnacht + * Copyright (C) 2008-2010 Gabor Juhos + * Copyright (C) 2008 Imre Kaloz + */ + +#include +#include +#include +#include +#include + +#include +#include +#include + +#include "common.h" + +void __init prom_init(void) +{ + fw_init_cmdline(); + +#ifdef CONFIG_BLK_DEV_INITRD + /* Read the initrd address from the firmware environment */ + initrd_start = fw_getenvl("initrd_start"); + if (initrd_start) { + initrd_start = KSEG0ADDR(initrd_start); + initrd_end = initrd_start + fw_getenvl("initrd_size"); + } +#endif +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/bcm47xx/workarounds.c b/image/debian/UFI003_MB_V02/kernel/arch/mips/bcm47xx/workarounds.c index d86b4edfe7..745c6228eb 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/bcm47xx/workarounds.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/bcm47xx/workarounds.c @@ -1,36 +1,36 @@ -// SPDX-License-Identifier: GPL-2.0 -#include "bcm47xx_private.h" - -#include -#include -#include - -static void __init bcm47xx_workarounds_enable_usb_power(int usb_power) -{ - int err; - - err = gpio_request_one(usb_power, GPIOF_OUT_INIT_HIGH, "usb_power"); - if (err) - pr_err("Failed to request USB power gpio: %d\n", err); - else - gpio_free(usb_power); -} - -void __init bcm47xx_workarounds(void) -{ - enum bcm47xx_board board = bcm47xx_board_get(); - - switch (board) { - case BCM47XX_BOARD_NETGEAR_WNR3500L: - case BCM47XX_BOARD_NETGEAR_WNR3500L_V2: - bcm47xx_workarounds_enable_usb_power(12); - break; - case BCM47XX_BOARD_NETGEAR_WNDR3400V2: - case BCM47XX_BOARD_NETGEAR_WNDR3400_V3: - bcm47xx_workarounds_enable_usb_power(21); - break; - default: - /* No workaround(s) needed */ - break; - } -} +// SPDX-License-Identifier: GPL-2.0 +#include "bcm47xx_private.h" + +#include +#include +#include + +static void __init bcm47xx_workarounds_enable_usb_power(int usb_power) +{ + int err; + + err = gpio_request_one(usb_power, GPIOF_OUT_INIT_HIGH, "usb_power"); + if (err) + pr_err("Failed to request USB power gpio: %d\n", err); + else + gpio_free(usb_power); +} + +void __init bcm47xx_workarounds(void) +{ + enum bcm47xx_board board = bcm47xx_board_get(); + + switch (board) { + case BCM47XX_BOARD_NETGEAR_WNR3500L: + case BCM47XX_BOARD_NETGEAR_WNR3500L_V2: + bcm47xx_workarounds_enable_usb_power(12); + break; + case BCM47XX_BOARD_NETGEAR_WNDR3400V2: + case BCM47XX_BOARD_NETGEAR_WNDR3400_V3: + bcm47xx_workarounds_enable_usb_power(21); + break; + default: + /* No workaround(s) needed */ + break; + } +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/bcm63xx/Kconfig b/image/debian/UFI003_MB_V02/kernel/arch/mips/bcm63xx/Kconfig index 05046c3467..837f6e5a2f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/bcm63xx/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/bcm63xx/Kconfig @@ -1,45 +1,45 @@ -# SPDX-License-Identifier: GPL-2.0 -menu "CPU support" - depends on BCM63XX - -config BCM63XX_CPU_3368 - bool "support 3368 CPU" - select SYS_HAS_CPU_BMIPS4350 - select HAVE_PCI - -config BCM63XX_CPU_6328 - bool "support 6328 CPU" - select SYS_HAS_CPU_BMIPS4350 - select HAVE_PCI - -config BCM63XX_CPU_6338 - bool "support 6338 CPU" - select SYS_HAS_CPU_BMIPS32_3300 - select HAVE_PCI - -config BCM63XX_CPU_6345 - bool "support 6345 CPU" - select SYS_HAS_CPU_BMIPS32_3300 - -config BCM63XX_CPU_6348 - bool "support 6348 CPU" - select SYS_HAS_CPU_BMIPS32_3300 - select HAVE_PCI - -config BCM63XX_CPU_6358 - bool "support 6358 CPU" - select SYS_HAS_CPU_BMIPS4350 - select HAVE_PCI - -config BCM63XX_CPU_6362 - bool "support 6362 CPU" - select SYS_HAS_CPU_BMIPS4350 - select HAVE_PCI - -config BCM63XX_CPU_6368 - bool "support 6368 CPU" - select SYS_HAS_CPU_BMIPS4350 - select HAVE_PCI -endmenu - -source "arch/mips/bcm63xx/boards/Kconfig" +# SPDX-License-Identifier: GPL-2.0 +menu "CPU support" + depends on BCM63XX + +config BCM63XX_CPU_3368 + bool "support 3368 CPU" + select SYS_HAS_CPU_BMIPS4350 + select HAVE_PCI + +config BCM63XX_CPU_6328 + bool "support 6328 CPU" + select SYS_HAS_CPU_BMIPS4350 + select HAVE_PCI + +config BCM63XX_CPU_6338 + bool "support 6338 CPU" + select SYS_HAS_CPU_BMIPS32_3300 + select HAVE_PCI + +config BCM63XX_CPU_6345 + bool "support 6345 CPU" + select SYS_HAS_CPU_BMIPS32_3300 + +config BCM63XX_CPU_6348 + bool "support 6348 CPU" + select SYS_HAS_CPU_BMIPS32_3300 + select HAVE_PCI + +config BCM63XX_CPU_6358 + bool "support 6358 CPU" + select SYS_HAS_CPU_BMIPS4350 + select HAVE_PCI + +config BCM63XX_CPU_6362 + bool "support 6362 CPU" + select SYS_HAS_CPU_BMIPS4350 + select HAVE_PCI + +config BCM63XX_CPU_6368 + bool "support 6368 CPU" + select SYS_HAS_CPU_BMIPS4350 + select HAVE_PCI +endmenu + +source "arch/mips/bcm63xx/boards/Kconfig" diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/bcm63xx/early_printk.c b/image/debian/UFI003_MB_V02/kernel/arch/mips/bcm63xx/early_printk.c index be1b329855..9e9ec27c28 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/bcm63xx/early_printk.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/bcm63xx/early_printk.c @@ -1,30 +1,30 @@ -/* - * 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 - -static void wait_xfered(void) -{ - unsigned int val; - - /* wait for any previous char to be transmitted */ - do { - val = bcm_uart0_readl(UART_IR_REG); - if (val & UART_IR_STAT(UART_IR_TXEMPTY)) - break; - } while (1); -} - -void prom_putchar(char c) -{ - wait_xfered(); - bcm_uart0_writel(c, UART_FIFO_REG); - wait_xfered(); -} +/* + * 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 + +static void wait_xfered(void) +{ + unsigned int val; + + /* wait for any previous char to be transmitted */ + do { + val = bcm_uart0_readl(UART_IR_REG); + if (val & UART_IR_STAT(UART_IR_TXEMPTY)) + break; + } while (1); +} + +void prom_putchar(char c) +{ + wait_xfered(); + bcm_uart0_writel(c, UART_FIFO_REG); + wait_xfered(); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/bmips/dma.c b/image/debian/UFI003_MB_V02/kernel/arch/mips/bmips/dma.c index 6d6e1bf322..2bc9c0d440 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/bmips/dma.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/bmips/dma.c @@ -1,27 +1,27 @@ -// SPDX-License-Identifier: GPL-2.0+ - -#include -#include -#include -#include - -bool bmips_rac_flush_disable; - -void arch_sync_dma_for_cpu_all(void) -{ - void __iomem *cbr = bmips_cbr_addr; - u32 cfg; - - if (boot_cpu_type() != CPU_BMIPS3300 && - boot_cpu_type() != CPU_BMIPS4350 && - boot_cpu_type() != CPU_BMIPS4380) - return; - - if (unlikely(bmips_rac_flush_disable)) - return; - - /* Flush stale data out of the readahead cache */ - cfg = __raw_readl(cbr + BMIPS_RAC_CONFIG); - __raw_writel(cfg | 0x100, cbr + BMIPS_RAC_CONFIG); - __raw_readl(cbr + BMIPS_RAC_CONFIG); -} +// SPDX-License-Identifier: GPL-2.0+ + +#include +#include +#include +#include + +bool bmips_rac_flush_disable; + +void arch_sync_dma_for_cpu_all(void) +{ + void __iomem *cbr = bmips_cbr_addr; + u32 cfg; + + if (boot_cpu_type() != CPU_BMIPS3300 && + boot_cpu_type() != CPU_BMIPS4350 && + boot_cpu_type() != CPU_BMIPS4380) + return; + + if (unlikely(bmips_rac_flush_disable)) + return; + + /* Flush stale data out of the readahead cache */ + cfg = __raw_readl(cbr + BMIPS_RAC_CONFIG); + __raw_writel(cfg | 0x100, cbr + BMIPS_RAC_CONFIG); + __raw_readl(cbr + BMIPS_RAC_CONFIG); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/bmips/irq.c b/image/debian/UFI003_MB_V02/kernel/arch/mips/bmips/irq.c index 35ccd87fa6..c4daa590b9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/bmips/irq.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/bmips/irq.c @@ -1,42 +1,42 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * - * Copyright (C) 2014 Broadcom Corporation - * Author: Kevin Cernekee - */ - -#include -#include - -#include -#include -#include -#include - -static const struct of_device_id smp_intc_dt_match[] = { - { .compatible = "brcm,bcm7038-l1-intc" }, - { .compatible = "brcm,bcm6345-l1-intc" }, - {} -}; - -unsigned int get_c0_compare_int(void) -{ - return CP0_LEGACY_COMPARE_IRQ; -} - -void __init arch_init_irq(void) -{ - struct device_node *dn; - - /* Only these controllers support SMP IRQ affinity */ - dn = of_find_matching_node(NULL, smp_intc_dt_match); - if (dn) - of_node_put(dn); - else - bmips_tp1_irqs = 0; - - irqchip_init(); -} - -IRQCHIP_DECLARE(mips_cpu_intc, "mti,cpu-interrupt-controller", - mips_cpu_irq_of_init); +// SPDX-License-Identifier: GPL-2.0-only +/* + * + * Copyright (C) 2014 Broadcom Corporation + * Author: Kevin Cernekee + */ + +#include +#include + +#include +#include +#include +#include + +static const struct of_device_id smp_intc_dt_match[] = { + { .compatible = "brcm,bcm7038-l1-intc" }, + { .compatible = "brcm,bcm6345-l1-intc" }, + {} +}; + +unsigned int get_c0_compare_int(void) +{ + return CP0_LEGACY_COMPARE_IRQ; +} + +void __init arch_init_irq(void) +{ + struct device_node *dn; + + /* Only these controllers support SMP IRQ affinity */ + dn = of_find_matching_node(NULL, smp_intc_dt_match); + if (dn) + of_node_put(dn); + else + bmips_tp1_irqs = 0; + + irqchip_init(); +} + +IRQCHIP_DECLARE(mips_cpu_intc, "mti,cpu-interrupt-controller", + mips_cpu_irq_of_init); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/compressed/dbg.c b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/compressed/dbg.c index 28d4cc4ad3..95405292ac 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/compressed/dbg.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/compressed/dbg.c @@ -1,39 +1,39 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * MIPS-specific debug support for pre-boot environment - * - * NOTE: putc() is board specific, if your board have a 16550 compatible uart, - * please select SYS_SUPPORTS_ZBOOT_UART16550 for your machine. otherwise, you - * need to implement your own putc(). - */ -#include -#include - -#include "decompress.h" - -void __weak putc(char c) -{ -} - -void puts(const char *s) -{ - char c; - while ((c = *s++) != '\0') { - putc(c); - if (c == '\n') - putc('\r'); - } -} - -void puthex(unsigned long long val) -{ - - unsigned char buf[10]; - int i; - for (i = 7; i >= 0; i--) { - buf[i] = "0123456789ABCDEF"[val & 0x0F]; - val >>= 4; - } - buf[8] = '\0'; - puts(buf); -} +// SPDX-License-Identifier: GPL-2.0 +/* + * MIPS-specific debug support for pre-boot environment + * + * NOTE: putc() is board specific, if your board have a 16550 compatible uart, + * please select SYS_SUPPORTS_ZBOOT_UART16550 for your machine. otherwise, you + * need to implement your own putc(). + */ +#include +#include + +#include "decompress.h" + +void __weak putc(char c) +{ +} + +void puts(const char *s) +{ + char c; + while ((c = *s++) != '\0') { + putc(c); + if (c == '\n') + putc('\r'); + } +} + +void puthex(unsigned long long val) +{ + + unsigned char buf[10]; + int i; + for (i = 7; i >= 0; i--) { + buf[i] = "0123456789ABCDEF"[val & 0x0F]; + val >>= 4; + } + buf[8] = '\0'; + puts(buf); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/compressed/ld.script b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/compressed/ld.script index f9de2ac7bd..0ebb667274 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/compressed/ld.script +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/compressed/ld.script @@ -1,60 +1,60 @@ -/* - * ld.script for compressed kernel support of MIPS - * - * Copyright (C) 2009 Lemote Inc. - * Author: Wu Zhangjin - * Copyright (C) 2010 "Wu Zhangjin" - */ - -OUTPUT_ARCH(mips) -ENTRY(start) -PHDRS { - text PT_LOAD FLAGS(7); /* RWX */ -} -SECTIONS -{ - /* Text and read-only data */ - /* . = VMLINUZ_LOAD_ADDRESS; */ - .text : { - *(.text) - *(.rodata) - }: text - /* End of text section */ - - /* Writable data */ - .data : { - *(.data) - /* Put the compressed image here */ - __image_begin = .; - *(.image) - __image_end = .; - CONSTRUCTORS - . = ALIGN(16); - } - - .appended_dtb : { - __appended_dtb = .; - /* leave space for appended DTB */ - . += 0x100000; - } - - _edata = .; - /* End of data section */ - - /* BSS */ - .bss : { - *(.bss) - } - . = ALIGN(16); - _end = .; - - /* Sections to be discarded */ - /DISCARD/ : { - *(.MIPS.options) - *(.options) - *(.pdr) - *(.reginfo) - *(.comment) - *(.note) - } -} +/* + * ld.script for compressed kernel support of MIPS + * + * Copyright (C) 2009 Lemote Inc. + * Author: Wu Zhangjin + * Copyright (C) 2010 "Wu Zhangjin" + */ + +OUTPUT_ARCH(mips) +ENTRY(start) +PHDRS { + text PT_LOAD FLAGS(7); /* RWX */ +} +SECTIONS +{ + /* Text and read-only data */ + /* . = VMLINUZ_LOAD_ADDRESS; */ + .text : { + *(.text) + *(.rodata) + }: text + /* End of text section */ + + /* Writable data */ + .data : { + *(.data) + /* Put the compressed image here */ + __image_begin = .; + *(.image) + __image_end = .; + CONSTRUCTORS + . = ALIGN(16); + } + + .appended_dtb : { + __appended_dtb = .; + /* leave space for appended DTB */ + . += 0x100000; + } + + _edata = .; + /* End of data section */ + + /* BSS */ + .bss : { + *(.bss) + } + . = ALIGN(16); + _end = .; + + /* Sections to be discarded */ + /DISCARD/ : { + *(.MIPS.options) + *(.options) + *(.pdr) + *(.reginfo) + *(.comment) + *(.note) + } +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/compressed/string.c b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/compressed/string.c index 67ae8e398b..f0eb251e44 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/compressed/string.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/compressed/string.c @@ -1,47 +1,47 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * arch/mips/boot/compressed/string.c - * - * Very small subset of simple string routines - */ - -#include -#include -#include - -void *memcpy(void *dest, const void *src, size_t n) -{ - int i; - const char *s = src; - char *d = dest; - - for (i = 0; i < n; i++) - d[i] = s[i]; - return dest; -} - -void *memset(void *s, int c, size_t n) -{ - int i; - char *ss = s; - - for (i = 0; i < n; i++) - ss[i] = c; - return s; -} - -void * __weak memmove(void *dest, const void *src, size_t n) -{ - unsigned int i; - const char *s = src; - char *d = dest; - - if ((uintptr_t)dest < (uintptr_t)src) { - for (i = 0; i < n; i++) - d[i] = s[i]; - } else { - for (i = n; i > 0; i--) - d[i - 1] = s[i - 1]; - } - return dest; -} +// SPDX-License-Identifier: GPL-2.0 +/* + * arch/mips/boot/compressed/string.c + * + * Very small subset of simple string routines + */ + +#include +#include +#include + +void *memcpy(void *dest, const void *src, size_t n) +{ + int i; + const char *s = src; + char *d = dest; + + for (i = 0; i < n; i++) + d[i] = s[i]; + return dest; +} + +void *memset(void *s, int c, size_t n) +{ + int i; + char *ss = s; + + for (i = 0; i < n; i++) + ss[i] = c; + return s; +} + +void * __weak memmove(void *dest, const void *src, size_t n) +{ + unsigned int i; + const char *s = src; + char *d = dest; + + if ((uintptr_t)dest < (uintptr_t)src) { + for (i = 0; i < n; i++) + d[i] = s[i]; + } else { + for (i = n; i > 0; i--) + d[i - 1] = s[i - 1]; + } + return dest; +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/Makefile index 192ecb7718..e2476b12bb 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/Makefile @@ -1,20 +1,20 @@ -# SPDX-License-Identifier: GPL-2.0 -subdir-$(CONFIG_BMIPS_GENERIC) += brcm -subdir-$(CONFIG_CAVIUM_OCTEON_SOC) += cavium-octeon -subdir-$(CONFIG_EYEQ) += mobileye -subdir-$(CONFIG_FIT_IMAGE_FDT_MARDUK) += img -subdir-$(CONFIG_FIT_IMAGE_FDT_BOSTON) += img -subdir-$(CONFIG_MACH_INGENIC) += ingenic -subdir-$(CONFIG_LANTIQ) += lantiq -subdir-$(CONFIG_MACH_LOONGSON64) += loongson -subdir-$(CONFIG_SOC_VCOREIII) += mscc -subdir-$(CONFIG_MIPS_MALTA) += mti -subdir-$(CONFIG_LEGACY_BOARD_SEAD3) += mti -subdir-$(CONFIG_FIT_IMAGE_FDT_NI169445) += ni -subdir-$(CONFIG_MACH_PIC32) += pic32 -subdir-$(CONFIG_ATH79) += qca -subdir-$(CONFIG_RALINK) += ralink -subdir-$(CONFIG_MACH_REALTEK_RTL) += realtek -subdir-$(CONFIG_FIT_IMAGE_FDT_XILFPGA) += xilfpga - -obj-$(CONFIG_BUILTIN_DTB) := $(addsuffix /, $(subdir-y)) +# SPDX-License-Identifier: GPL-2.0 +subdir-$(CONFIG_BMIPS_GENERIC) += brcm +subdir-$(CONFIG_CAVIUM_OCTEON_SOC) += cavium-octeon +subdir-$(CONFIG_EYEQ) += mobileye +subdir-$(CONFIG_FIT_IMAGE_FDT_MARDUK) += img +subdir-$(CONFIG_FIT_IMAGE_FDT_BOSTON) += img +subdir-$(CONFIG_MACH_INGENIC) += ingenic +subdir-$(CONFIG_LANTIQ) += lantiq +subdir-$(CONFIG_MACH_LOONGSON64) += loongson +subdir-$(CONFIG_SOC_VCOREIII) += mscc +subdir-$(CONFIG_MIPS_MALTA) += mti +subdir-$(CONFIG_LEGACY_BOARD_SEAD3) += mti +subdir-$(CONFIG_FIT_IMAGE_FDT_NI169445) += ni +subdir-$(CONFIG_MACH_PIC32) += pic32 +subdir-$(CONFIG_ATH79) += qca +subdir-$(CONFIG_RALINK) += ralink +subdir-$(CONFIG_MACH_REALTEK_RTL) += realtek +subdir-$(CONFIG_FIT_IMAGE_FDT_XILFPGA) += xilfpga + +obj-$(CONFIG_BUILTIN_DTB) := $(addsuffix /, $(subdir-y)) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/brcm/bcm6358-neufbox4-sercomm.dts b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/brcm/bcm6358-neufbox4-sercomm.dts index d8e007c6ee..c646690ee3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/brcm/bcm6358-neufbox4-sercomm.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/brcm/bcm6358-neufbox4-sercomm.dts @@ -1,48 +1,48 @@ -// SPDX-License-Identifier: GPL-2.0 -/dts-v1/; - -#include "bcm6358.dtsi" - -/ { - compatible = "sfr,nb4-ser", "brcm,bcm6358"; - model = "SFR Neufbox 4 (Sercomm)"; - - memory@0 { - device_type = "memory"; - reg = <0x00000000 0x02000000>; - }; - - chosen { - bootargs = "console=ttyS0,115200"; - stdout-path = &uart0; - }; -}; - -&leds0 { - status = "okay"; - - led@0 { - reg = <0>; - active-low; - label = "nb4-ser:white:alarm"; - }; - led@2 { - reg = <2>; - active-low; - label = "nb4-ser:white:tv"; - }; - led@3 { - reg = <3>; - active-low; - label = "nb4-ser:white:tel"; - }; - led@4 { - reg = <4>; - active-low; - label = "nb4-ser:white:adsl"; - }; -}; - -&uart0 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 +/dts-v1/; + +#include "bcm6358.dtsi" + +/ { + compatible = "sfr,nb4-ser", "brcm,bcm6358"; + model = "SFR Neufbox 4 (Sercomm)"; + + memory@0 { + device_type = "memory"; + reg = <0x00000000 0x02000000>; + }; + + chosen { + bootargs = "console=ttyS0,115200"; + stdout-path = &uart0; + }; +}; + +&leds0 { + status = "okay"; + + led@0 { + reg = <0>; + active-low; + label = "nb4-ser:white:alarm"; + }; + led@2 { + reg = <2>; + active-low; + label = "nb4-ser:white:tv"; + }; + led@3 { + reg = <3>; + active-low; + label = "nb4-ser:white:tel"; + }; + led@4 { + reg = <4>; + active-low; + label = "nb4-ser:white:adsl"; + }; +}; + +&uart0 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/brcm/bcm97125cbmb.dts b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/brcm/bcm97125cbmb.dts index 4a59eab9b4..bda5f79625 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/brcm/bcm97125cbmb.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/brcm/bcm97125cbmb.dts @@ -1,68 +1,68 @@ -// SPDX-License-Identifier: GPL-2.0 -/dts-v1/; - -#include "bcm7125.dtsi" - -/ { - compatible = "brcm,bcm97125cbmb", "brcm,bcm7125"; - model = "Broadcom BCM97125CBMB"; - - memory@0 { - device_type = "memory"; - reg = <0x00000000 0x10000000>; - }; - - chosen { - bootargs = "console=ttyS0,115200"; - stdout-path = &uart0; - }; -}; - -&uart0 { - status = "okay"; -}; - -&uart1 { - status = "okay"; -}; - -&uart2 { - status = "okay"; -}; - -&bsca { - status = "okay"; -}; - -&bscb { - status = "okay"; -}; - -&bscc { - status = "okay"; -}; - -&bscd { - status = "okay"; -}; - -&pwma { - status = "okay"; -}; - -&watchdog { - status = "okay"; -}; - -/* FIXME: USB is wonky; disable it for now */ -&ehci0 { - status = "disabled"; -}; - -&ohci0 { - status = "disabled"; -}; - -&mspi { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 +/dts-v1/; + +#include "bcm7125.dtsi" + +/ { + compatible = "brcm,bcm97125cbmb", "brcm,bcm7125"; + model = "Broadcom BCM97125CBMB"; + + memory@0 { + device_type = "memory"; + reg = <0x00000000 0x10000000>; + }; + + chosen { + bootargs = "console=ttyS0,115200"; + stdout-path = &uart0; + }; +}; + +&uart0 { + status = "okay"; +}; + +&uart1 { + status = "okay"; +}; + +&uart2 { + status = "okay"; +}; + +&bsca { + status = "okay"; +}; + +&bscb { + status = "okay"; +}; + +&bscc { + status = "okay"; +}; + +&bscd { + status = "okay"; +}; + +&pwma { + status = "okay"; +}; + +&watchdog { + status = "okay"; +}; + +/* FIXME: USB is wonky; disable it for now */ +&ehci0 { + status = "disabled"; +}; + +&ohci0 { + status = "disabled"; +}; + +&mspi { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/brcm/bcm97362svmb.dts b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/brcm/bcm97362svmb.dts index e5b0d9deec..97aeb51b68 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/brcm/bcm97362svmb.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/brcm/bcm97362svmb.dts @@ -1,88 +1,88 @@ -// SPDX-License-Identifier: GPL-2.0 -/dts-v1/; - -#include "bcm7362.dtsi" -#include "bcm97xxx-nand-cs1-bch4.dtsi" - -/ { - compatible = "brcm,bcm97362svmb", "brcm,bcm7362"; - model = "Broadcom BCM97362SVMB"; - - memory@0 { - device_type = "memory"; - reg = <0x00000000 0x10000000>, <0x20000000 0x30000000>; - }; - - chosen { - bootargs = "console=ttyS0,115200"; - stdout-path = &uart0; - }; -}; - -&uart0 { - status = "okay"; -}; - -&uart1 { - status = "okay"; -}; - -&uart2 { - status = "okay"; -}; - -&bsca { - status = "okay"; -}; - -&bscb { - status = "okay"; -}; - -&bscd { - status = "okay"; -}; - -&pwma { - status = "okay"; -}; - -&watchdog { - status = "okay"; -}; - -&enet0 { - status = "okay"; -}; - -&ehci0 { - status = "okay"; -}; - -&ohci0 { - status = "okay"; -}; - -&nand { - status = "okay"; -}; - -&sata { - status = "okay"; -}; - -&sata_phy { - status = "okay"; -}; - -&sdhci0 { - status = "okay"; -}; - -&mspi { - status = "okay"; -}; - -&waketimer { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 +/dts-v1/; + +#include "bcm7362.dtsi" +#include "bcm97xxx-nand-cs1-bch4.dtsi" + +/ { + compatible = "brcm,bcm97362svmb", "brcm,bcm7362"; + model = "Broadcom BCM97362SVMB"; + + memory@0 { + device_type = "memory"; + reg = <0x00000000 0x10000000>, <0x20000000 0x30000000>; + }; + + chosen { + bootargs = "console=ttyS0,115200"; + stdout-path = &uart0; + }; +}; + +&uart0 { + status = "okay"; +}; + +&uart1 { + status = "okay"; +}; + +&uart2 { + status = "okay"; +}; + +&bsca { + status = "okay"; +}; + +&bscb { + status = "okay"; +}; + +&bscd { + status = "okay"; +}; + +&pwma { + status = "okay"; +}; + +&watchdog { + status = "okay"; +}; + +&enet0 { + status = "okay"; +}; + +&ehci0 { + status = "okay"; +}; + +&ohci0 { + status = "okay"; +}; + +&nand { + status = "okay"; +}; + +&sata { + status = "okay"; +}; + +&sata_phy { + status = "okay"; +}; + +&sdhci0 { + status = "okay"; +}; + +&mspi { + status = "okay"; +}; + +&waketimer { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/cavium-octeon/dlink_dsr-1000n.dts b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/cavium-octeon/dlink_dsr-1000n.dts index 033e009f73..cb460eaf88 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/cavium-octeon/dlink_dsr-1000n.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/cavium-octeon/dlink_dsr-1000n.dts @@ -1,48 +1,48 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Device tree source for D-Link DSR-1000N. - * - * Written by: Aaro Koskinen - */ - -/include/ "dlink_dsr-500n-1000n.dtsi" -#include - -/ { - model = "dlink,dsr-1000n"; - - soc@0 { - uart0: serial@1180000000800 { - clock-frequency = <500000000>; - }; - }; - - leds { - compatible = "gpio-leds"; - - led-usb1 { - label = "usb1"; - gpios = <&gpio 9 GPIO_ACTIVE_LOW>; - }; - - led-usb2 { - label = "usb2"; - gpios = <&gpio 10 GPIO_ACTIVE_LOW>; - }; - - led-wps { - label = "wps"; - gpios = <&gpio 11 GPIO_ACTIVE_LOW>; - }; - - led-wireless1 { - label = "5g"; - gpios = <&gpio 17 GPIO_ACTIVE_LOW>; - }; - - led-wireless2 { - label = "2.4g"; - gpios = <&gpio 18 GPIO_ACTIVE_LOW>; - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Device tree source for D-Link DSR-1000N. + * + * Written by: Aaro Koskinen + */ + +/include/ "dlink_dsr-500n-1000n.dtsi" +#include + +/ { + model = "dlink,dsr-1000n"; + + soc@0 { + uart0: serial@1180000000800 { + clock-frequency = <500000000>; + }; + }; + + leds { + compatible = "gpio-leds"; + + led-usb1 { + label = "usb1"; + gpios = <&gpio 9 GPIO_ACTIVE_LOW>; + }; + + led-usb2 { + label = "usb2"; + gpios = <&gpio 10 GPIO_ACTIVE_LOW>; + }; + + led-wps { + label = "wps"; + gpios = <&gpio 11 GPIO_ACTIVE_LOW>; + }; + + led-wireless1 { + label = "5g"; + gpios = <&gpio 17 GPIO_ACTIVE_LOW>; + }; + + led-wireless2 { + label = "2.4g"; + gpios = <&gpio 18 GPIO_ACTIVE_LOW>; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/cavium-octeon/dlink_dsr-500n-1000n.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/cavium-octeon/dlink_dsr-500n-1000n.dtsi index b610c6f378..b4acdb26a6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/cavium-octeon/dlink_dsr-500n-1000n.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/cavium-octeon/dlink_dsr-500n-1000n.dtsi @@ -1,55 +1,55 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Device tree source for D-Link DSR-500N/1000N (common parts). - * - * Written by: Aaro Koskinen - */ - -/include/ "octeon_3xxx.dtsi" - -/ { - soc@0 { - smi0: mdio@1180000001800 { - phy8: ethernet-phy@8 { - reg = <8>; - compatible = "ethernet-phy-ieee802.3-c22"; - }; - }; - - pip: pip@11800a0000000 { - interface@0 { - ethernet@0 { - fixed-link { - speed = <1000>; - full-duplex; - }; - }; - ethernet@1 { - fixed-link { - speed = <1000>; - full-duplex; - }; - }; - ethernet@2 { - phy-handle = <&phy8>; - }; - }; - }; - - twsi0: i2c@1180000001000 { - rtc@68 { - compatible = "dallas,ds1337"; - reg = <0x68>; - }; - }; - - usbn: usbn@1180068000000 { - refclk-frequency = <12000000>; - refclk-type = "crystal"; - }; - }; - - aliases { - pip = &pip; - }; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Device tree source for D-Link DSR-500N/1000N (common parts). + * + * Written by: Aaro Koskinen + */ + +/include/ "octeon_3xxx.dtsi" + +/ { + soc@0 { + smi0: mdio@1180000001800 { + phy8: ethernet-phy@8 { + reg = <8>; + compatible = "ethernet-phy-ieee802.3-c22"; + }; + }; + + pip: pip@11800a0000000 { + interface@0 { + ethernet@0 { + fixed-link { + speed = <1000>; + full-duplex; + }; + }; + ethernet@1 { + fixed-link { + speed = <1000>; + full-duplex; + }; + }; + ethernet@2 { + phy-handle = <&phy8>; + }; + }; + }; + + twsi0: i2c@1180000001000 { + rtc@68 { + compatible = "dallas,ds1337"; + reg = <0x68>; + }; + }; + + usbn: usbn@1180068000000 { + refclk-frequency = <12000000>; + refclk-type = "crystal"; + }; + }; + + aliases { + pip = &pip; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/cavium-octeon/dlink_dsr-500n.dts b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/cavium-octeon/dlink_dsr-500n.dts index ce8af39efa..c55845fd84 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/cavium-octeon/dlink_dsr-500n.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/cavium-octeon/dlink_dsr-500n.dts @@ -1,37 +1,37 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Device tree source for D-Link DSR-500N. - * - * Written by: Aaro Koskinen - */ - -/include/ "dlink_dsr-500n-1000n.dtsi" -#include - -/ { - model = "dlink,dsr-500n"; - compatible = "dlink,dsr-500n", "cavium,octeon-3860"; - - soc@0 { - uart0: serial@1180000000800 { - clock-frequency = <300000000>; - }; - }; - - leds { - compatible = "gpio-leds"; - - led-usb { - gpios = <&gpio 9 GPIO_ACTIVE_LOW>; - }; - - led-wps { - gpios = <&gpio 11 GPIO_ACTIVE_LOW>; - }; - - led-wireless { - label = "2.4g"; - gpios = <&gpio 18 GPIO_ACTIVE_LOW>; - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Device tree source for D-Link DSR-500N. + * + * Written by: Aaro Koskinen + */ + +/include/ "dlink_dsr-500n-1000n.dtsi" +#include + +/ { + model = "dlink,dsr-500n"; + compatible = "dlink,dsr-500n", "cavium,octeon-3860"; + + soc@0 { + uart0: serial@1180000000800 { + clock-frequency = <300000000>; + }; + }; + + leds { + compatible = "gpio-leds"; + + led-usb { + gpios = <&gpio 9 GPIO_ACTIVE_LOW>; + }; + + led-wps { + gpios = <&gpio 11 GPIO_ACTIVE_LOW>; + }; + + led-wireless { + label = "2.4g"; + gpios = <&gpio 18 GPIO_ACTIVE_LOW>; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/loongson/loongson64c_4core_ls7a.dts b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/loongson/loongson64c_4core_ls7a.dts index fda0b941e1..6c277ab83d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/loongson/loongson64c_4core_ls7a.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/loongson/loongson64c_4core_ls7a.dts @@ -1,38 +1,38 @@ -// SPDX-License-Identifier: GPL-2.0 - -/dts-v1/; - -#include "loongson64c-package.dtsi" -#include "ls7a-pch.dtsi" - -/ { - compatible = "loongson,loongson64c-4core-ls7a"; -}; - -&package0 { - htvec: interrupt-controller@efdfb000080 { - compatible = "loongson,htvec-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>; - }; -}; - -&pch { - msi: msi-controller@2ff00000 { - compatible = "loongson,pch-msi-1.0"; - reg = <0 0x2ff00000 0 0x8>; - interrupt-controller; - #interrupt-cells = <1>; - msi-controller; - loongson,msi-base-vec = <64>; - loongson,msi-num-vecs = <64>; - interrupt-parent = <&htvec>; - }; -}; +// SPDX-License-Identifier: GPL-2.0 + +/dts-v1/; + +#include "loongson64c-package.dtsi" +#include "ls7a-pch.dtsi" + +/ { + compatible = "loongson,loongson64c-4core-ls7a"; +}; + +&package0 { + htvec: interrupt-controller@efdfb000080 { + compatible = "loongson,htvec-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>; + }; +}; + +&pch { + msi: msi-controller@2ff00000 { + compatible = "loongson,pch-msi-1.0"; + reg = <0 0x2ff00000 0 0x8>; + interrupt-controller; + #interrupt-cells = <1>; + msi-controller; + loongson,msi-base-vec = <64>; + loongson,msi-num-vecs = <64>; + interrupt-parent = <&htvec>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/loongson/loongson64g_4core_ls7a.dts b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/loongson/loongson64g_4core_ls7a.dts index 988c654e1a..fb180cb2b8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/loongson/loongson64g_4core_ls7a.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/loongson/loongson64g_4core_ls7a.dts @@ -1,42 +1,42 @@ -// SPDX-License-Identifier: GPL-2.0 - -/dts-v1/; - -#include "loongson64g-package.dtsi" -#include "ls7a-pch.dtsi" - -/ { - compatible = "loongson,loongson64g-4core-ls7a"; -}; - -&package0 { - htvec: interrupt-controller@efdfb000080 { - compatible = "loongson,htvec-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>, - <28 IRQ_TYPE_LEVEL_HIGH>, - <29 IRQ_TYPE_LEVEL_HIGH>, - <30 IRQ_TYPE_LEVEL_HIGH>, - <31 IRQ_TYPE_LEVEL_HIGH>; - }; -}; - -&pch { - msi: msi-controller@2ff00000 { - compatible = "loongson,pch-msi-1.0"; - reg = <0 0x2ff00000 0 0x8>; - interrupt-controller; - #interrupt-cells = <1>; - msi-controller; - loongson,msi-base-vec = <64>; - loongson,msi-num-vecs = <192>; - interrupt-parent = <&htvec>; - }; -}; +// SPDX-License-Identifier: GPL-2.0 + +/dts-v1/; + +#include "loongson64g-package.dtsi" +#include "ls7a-pch.dtsi" + +/ { + compatible = "loongson,loongson64g-4core-ls7a"; +}; + +&package0 { + htvec: interrupt-controller@efdfb000080 { + compatible = "loongson,htvec-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>, + <28 IRQ_TYPE_LEVEL_HIGH>, + <29 IRQ_TYPE_LEVEL_HIGH>, + <30 IRQ_TYPE_LEVEL_HIGH>, + <31 IRQ_TYPE_LEVEL_HIGH>; + }; +}; + +&pch { + msi: msi-controller@2ff00000 { + compatible = "loongson,pch-msi-1.0"; + reg = <0 0x2ff00000 0 0x8>; + interrupt-controller; + #interrupt-cells = <1>; + msi-controller; + loongson,msi-base-vec = <64>; + loongson,msi-num-vecs = <192>; + interrupt-parent = <&htvec>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/mscc/ocelot_pcb123.dts b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/mscc/ocelot_pcb123.dts index ddde77fbdf..0185045c76 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/mscc/ocelot_pcb123.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/mscc/ocelot_pcb123.dts @@ -1,71 +1,71 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -/* Copyright (c) 2017 Microsemi Corporation */ - -/dts-v1/; - -#include "ocelot.dtsi" - -/ { - compatible = "mscc,ocelot-pcb123", "mscc,ocelot"; - - chosen { - stdout-path = "serial0:115200n8"; - }; - - memory@0 { - device_type = "memory"; - reg = <0x0 0x0e000000>; - }; -}; - -&uart0 { - status = "okay"; -}; - -&uart2 { - status = "okay"; -}; - -&spi { - status = "okay"; - - flash@0 { - compatible = "macronix,mx25l25635f", "jedec,spi-nor"; - spi-max-frequency = <20000000>; - reg = <0>; - }; -}; - -&i2c { - clock-frequency = <100000>; - i2c-sda-hold-time-ns = <300>; - status = "okay"; -}; - -&mdio0 { - status = "okay"; -}; - -&port0 { - status = "okay"; - phy-handle = <&phy0>; - phy-mode = "internal"; -}; - -&port1 { - status = "okay"; - phy-handle = <&phy1>; - phy-mode = "internal"; -}; - -&port2 { - status = "okay"; - phy-handle = <&phy2>; - phy-mode = "internal"; -}; - -&port3 { - status = "okay"; - phy-handle = <&phy3>; - phy-mode = "internal"; -}; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* Copyright (c) 2017 Microsemi Corporation */ + +/dts-v1/; + +#include "ocelot.dtsi" + +/ { + compatible = "mscc,ocelot-pcb123", "mscc,ocelot"; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + memory@0 { + device_type = "memory"; + reg = <0x0 0x0e000000>; + }; +}; + +&uart0 { + status = "okay"; +}; + +&uart2 { + status = "okay"; +}; + +&spi { + status = "okay"; + + flash@0 { + compatible = "macronix,mx25l25635f", "jedec,spi-nor"; + spi-max-frequency = <20000000>; + reg = <0>; + }; +}; + +&i2c { + clock-frequency = <100000>; + i2c-sda-hold-time-ns = <300>; + status = "okay"; +}; + +&mdio0 { + status = "okay"; +}; + +&port0 { + status = "okay"; + phy-handle = <&phy0>; + phy-mode = "internal"; +}; + +&port1 { + status = "okay"; + phy-handle = <&phy1>; + phy-mode = "internal"; +}; + +&port2 { + status = "okay"; + phy-handle = <&phy2>; + phy-mode = "internal"; +}; + +&port3 { + status = "okay"; + phy-handle = <&phy3>; + phy-mode = "internal"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/ralink/rt2880_eval.dts b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/ralink/rt2880_eval.dts index fcb97a88c8..759bc1dd5b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/ralink/rt2880_eval.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/ralink/rt2880_eval.dts @@ -1,48 +1,48 @@ -// SPDX-License-Identifier: GPL-2.0 -/dts-v1/; - -/include/ "rt2880.dtsi" - -/ { - compatible = "ralink,rt2880-eval-board", "ralink,rt2880-soc"; - model = "Ralink RT2880 evaluation board"; - - memory@0 { - device_type = "memory"; - reg = <0x8000000 0x2000000>; - }; - - chosen { - bootargs = "console=ttyS0,57600"; - }; - - cfi@1f000000 { - compatible = "cfi-flash"; - reg = <0x1f000000 0x400000>; - - bank-width = <2>; - device-width = <2>; - #address-cells = <1>; - #size-cells = <1>; - - partition@0 { - label = "uboot"; - reg = <0x0 0x30000>; - read-only; - }; - partition@30000 { - label = "uboot-env"; - reg = <0x30000 0x10000>; - read-only; - }; - partition@40000 { - label = "calibration"; - reg = <0x40000 0x10000>; - read-only; - }; - partition@50000 { - label = "linux"; - reg = <0x50000 0x3b0000>; - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0 +/dts-v1/; + +/include/ "rt2880.dtsi" + +/ { + compatible = "ralink,rt2880-eval-board", "ralink,rt2880-soc"; + model = "Ralink RT2880 evaluation board"; + + memory@0 { + device_type = "memory"; + reg = <0x8000000 0x2000000>; + }; + + chosen { + bootargs = "console=ttyS0,57600"; + }; + + cfi@1f000000 { + compatible = "cfi-flash"; + reg = <0x1f000000 0x400000>; + + bank-width = <2>; + device-width = <2>; + #address-cells = <1>; + #size-cells = <1>; + + partition@0 { + label = "uboot"; + reg = <0x0 0x30000>; + read-only; + }; + partition@30000 { + label = "uboot-env"; + reg = <0x30000 0x10000>; + read-only; + }; + partition@40000 { + label = "calibration"; + reg = <0x40000 0x10000>; + read-only; + }; + partition@50000 { + label = "linux"; + reg = <0x50000 0x3b0000>; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/ralink/rt3052_eval.dts b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/ralink/rt3052_eval.dts index 5cb445fcd6..6408ff629d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/ralink/rt3052_eval.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/ralink/rt3052_eval.dts @@ -1,52 +1,52 @@ -// SPDX-License-Identifier: GPL-2.0 -/dts-v1/; - -#include "rt3050.dtsi" - -/ { - compatible = "ralink,rt3052-eval-board", "ralink,rt3052-soc"; - model = "Ralink RT3052 evaluation board"; - - memory@0 { - device_type = "memory"; - reg = <0x0 0x2000000>; - }; - - chosen { - bootargs = "console=ttyS0,57600"; - }; - - cfi@1f000000 { - compatible = "cfi-flash"; - reg = <0x1f000000 0x800000>; - - bank-width = <2>; - device-width = <2>; - #address-cells = <1>; - #size-cells = <1>; - - partition@0 { - label = "uboot"; - reg = <0x0 0x30000>; - read-only; - }; - partition@30000 { - label = "uboot-env"; - reg = <0x30000 0x10000>; - read-only; - }; - partition@40000 { - label = "calibration"; - reg = <0x40000 0x10000>; - read-only; - }; - partition@50000 { - label = "linux"; - reg = <0x50000 0x7b0000>; - }; - }; - - usb@101c0000 { - status = "okay"; - }; -}; +// SPDX-License-Identifier: GPL-2.0 +/dts-v1/; + +#include "rt3050.dtsi" + +/ { + compatible = "ralink,rt3052-eval-board", "ralink,rt3052-soc"; + model = "Ralink RT3052 evaluation board"; + + memory@0 { + device_type = "memory"; + reg = <0x0 0x2000000>; + }; + + chosen { + bootargs = "console=ttyS0,57600"; + }; + + cfi@1f000000 { + compatible = "cfi-flash"; + reg = <0x1f000000 0x800000>; + + bank-width = <2>; + device-width = <2>; + #address-cells = <1>; + #size-cells = <1>; + + partition@0 { + label = "uboot"; + reg = <0x0 0x30000>; + read-only; + }; + partition@30000 { + label = "uboot-env"; + reg = <0x30000 0x10000>; + read-only; + }; + partition@40000 { + label = "calibration"; + reg = <0x40000 0x10000>; + read-only; + }; + partition@50000 { + label = "linux"; + reg = <0x50000 0x7b0000>; + }; + }; + + usb@101c0000 { + status = "okay"; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/tools/relocs.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/tools/relocs.h index 09b85d87c4..607ff01030 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/tools/relocs.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/tools/relocs.h @@ -1,46 +1,46 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef RELOCS_H -#define RELOCS_H - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#define USE_BSD -#include -#include - -void die(char *fmt, ...); - -/* - * Introduced for MIPSr6 - */ -#ifndef R_MIPS_PC21_S2 -#define R_MIPS_PC21_S2 60 -#endif - -#ifndef R_MIPS_PC26_S2 -#define R_MIPS_PC26_S2 61 -#endif - -#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) - -enum symtype { - S_ABS, - S_REL, - S_SEG, - S_LIN, - S_NSYMTYPES -}; - -void process_32(FILE *fp, int as_text, int as_bin, - int show_reloc_info, int keep_relocs); -void process_64(FILE *fp, int as_text, int as_bin, - int show_reloc_info, int keep_relocs); -#endif /* RELOCS_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef RELOCS_H +#define RELOCS_H + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#define USE_BSD +#include +#include + +void die(char *fmt, ...); + +/* + * Introduced for MIPSr6 + */ +#ifndef R_MIPS_PC21_S2 +#define R_MIPS_PC21_S2 60 +#endif + +#ifndef R_MIPS_PC26_S2 +#define R_MIPS_PC26_S2 61 +#endif + +#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) + +enum symtype { + S_ABS, + S_REL, + S_SEG, + S_LIN, + S_NSYMTYPES +}; + +void process_32(FILE *fp, int as_text, int as_bin, + int show_reloc_info, int keep_relocs); +void process_64(FILE *fp, int as_text, int as_bin, + int show_reloc_info, int keep_relocs); +#endif /* RELOCS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/tools/relocs_64.c b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/tools/relocs_64.c index 9457f0f716..154015d745 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/tools/relocs_64.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/tools/relocs_64.c @@ -1,31 +1,31 @@ -// SPDX-License-Identifier: GPL-2.0 -#include "relocs.h" - -#define ELF_BITS 64 - -#define ELF_MACHINE EM_MIPS -#define ELF_MACHINE_NAME "MIPS64" -#define SHT_REL_TYPE SHT_RELA -#define Elf_Rel Elf64_Rela - -typedef uint8_t Elf64_Byte; - -typedef union { - struct { - Elf64_Word r_sym; /* Symbol index. */ - Elf64_Byte r_ssym; /* Special symbol. */ - Elf64_Byte r_type3; /* Third relocation. */ - Elf64_Byte r_type2; /* Second relocation. */ - Elf64_Byte r_type; /* First relocation. */ - } fields; - Elf64_Xword unused; -} Elf64_Mips_Rela; - -#define ELF_CLASS ELFCLASS64 -#define ELF_R_SYM(val) (((Elf64_Mips_Rela *)(&val))->fields.r_sym) -#define ELF_R_TYPE(val) (((Elf64_Mips_Rela *)(&val))->fields.r_type) -#define ELF_ST_TYPE(o) ELF64_ST_TYPE(o) -#define ELF_ST_BIND(o) ELF64_ST_BIND(o) -#define ELF_ST_VISIBILITY(o) ELF64_ST_VISIBILITY(o) - -#include "relocs.c" +// SPDX-License-Identifier: GPL-2.0 +#include "relocs.h" + +#define ELF_BITS 64 + +#define ELF_MACHINE EM_MIPS +#define ELF_MACHINE_NAME "MIPS64" +#define SHT_REL_TYPE SHT_RELA +#define Elf_Rel Elf64_Rela + +typedef uint8_t Elf64_Byte; + +typedef union { + struct { + Elf64_Word r_sym; /* Symbol index. */ + Elf64_Byte r_ssym; /* Special symbol. */ + Elf64_Byte r_type3; /* Third relocation. */ + Elf64_Byte r_type2; /* Second relocation. */ + Elf64_Byte r_type; /* First relocation. */ + } fields; + Elf64_Xword unused; +} Elf64_Mips_Rela; + +#define ELF_CLASS ELFCLASS64 +#define ELF_R_SYM(val) (((Elf64_Mips_Rela *)(&val))->fields.r_sym) +#define ELF_R_TYPE(val) (((Elf64_Mips_Rela *)(&val))->fields.r_type) +#define ELF_ST_TYPE(o) ELF64_ST_TYPE(o) +#define ELF_ST_BIND(o) ELF64_ST_BIND(o) +#define ELF_ST_VISIBILITY(o) ELF64_ST_VISIBILITY(o) + +#include "relocs.c" diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/cavium-octeon/executive/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/mips/cavium-octeon/executive/Makefile index 6baf88a1c1..50b4278794 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/cavium-octeon/executive/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/cavium-octeon/executive/Makefile @@ -1,19 +1,19 @@ -# -# 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-2008 Cavium Networks -# - -obj-y += cvmx-bootmem.o cvmx-l2c.o cvmx-sysinfo.o octeon-model.o -obj-y += cvmx-pko.o cvmx-spi.o cvmx-cmd-queue.o \ - cvmx-helper-board.o cvmx-helper.o cvmx-helper-xaui.o \ - cvmx-helper-rgmii.o cvmx-helper-sgmii.o cvmx-helper-npi.o \ - cvmx-helper-loop.o cvmx-helper-spi.o cvmx-helper-util.o \ - cvmx-interrupt-decodes.o cvmx-interrupt-rsl.o - -obj-y += cvmx-helper-errata.o cvmx-helper-jtag.o cvmx-boot-vector.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-2008 Cavium Networks +# + +obj-y += cvmx-bootmem.o cvmx-l2c.o cvmx-sysinfo.o octeon-model.o +obj-y += cvmx-pko.o cvmx-spi.o cvmx-cmd-queue.o \ + cvmx-helper-board.o cvmx-helper.o cvmx-helper-xaui.o \ + cvmx-helper-rgmii.o cvmx-helper-sgmii.o cvmx-helper-npi.o \ + cvmx-helper-loop.o cvmx-helper-spi.o cvmx-helper-util.o \ + cvmx-interrupt-decodes.o cvmx-interrupt-rsl.o + +obj-y += cvmx-helper-errata.o cvmx-helper-jtag.o cvmx-boot-vector.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/cobalt/buttons.c b/image/debian/UFI003_MB_V02/kernel/arch/mips/cobalt/buttons.c index fbd6adcfeb..0f9299fe57 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/cobalt/buttons.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/cobalt/buttons.c @@ -1,41 +1,41 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Cobalt buttons platform device. - * - * Copyright (C) 2007 Yoichi Yuasa - */ - -#include -#include -#include - -static struct resource cobalt_buttons_resource __initdata = { - .start = 0x1d000000, - .end = 0x1d000003, - .flags = IORESOURCE_MEM, -}; - -static __init int cobalt_add_buttons(void) -{ - struct platform_device *pd; - int error; - - pd = platform_device_alloc("Cobalt buttons", -1); - if (!pd) - return -ENOMEM; - - error = platform_device_add_resources(pd, &cobalt_buttons_resource, 1); - if (error) - goto err_free_device; - - error = platform_device_add(pd); - if (error) - goto err_free_device; - - return 0; - - err_free_device: - platform_device_put(pd); - return error; -} -device_initcall(cobalt_add_buttons); +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Cobalt buttons platform device. + * + * Copyright (C) 2007 Yoichi Yuasa + */ + +#include +#include +#include + +static struct resource cobalt_buttons_resource __initdata = { + .start = 0x1d000000, + .end = 0x1d000003, + .flags = IORESOURCE_MEM, +}; + +static __init int cobalt_add_buttons(void) +{ + struct platform_device *pd; + int error; + + pd = platform_device_alloc("Cobalt buttons", -1); + if (!pd) + return -ENOMEM; + + error = platform_device_add_resources(pd, &cobalt_buttons_resource, 1); + if (error) + goto err_free_device; + + error = platform_device_add(pd); + if (error) + goto err_free_device; + + return 0; + + err_free_device: + platform_device_put(pd); + return error; +} +device_initcall(cobalt_add_buttons); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/cobalt/lcd.c b/image/debian/UFI003_MB_V02/kernel/arch/mips/cobalt/lcd.c index 4555207efc..7d43b5ec39 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/cobalt/lcd.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/cobalt/lcd.c @@ -1,42 +1,42 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Registration of Cobalt LCD platform device. - * - * Copyright (C) 2008 Yoichi Yuasa - */ -#include -#include -#include -#include - -static struct resource cobalt_lcd_resource __initdata = { - .start = 0x1f000000, - .end = 0x1f00001f, - .flags = IORESOURCE_MEM, -}; - -static __init int cobalt_lcd_add(void) -{ - struct platform_device *pdev; - int retval; - - pdev = platform_device_alloc("cobalt-lcd", -1); - if (!pdev) - return -ENOMEM; - - retval = platform_device_add_resources(pdev, &cobalt_lcd_resource, 1); - if (retval) - goto err_free_device; - - retval = platform_device_add(pdev); - if (retval) - goto err_free_device; - - return 0; - -err_free_device: - platform_device_put(pdev); - - return retval; -} -device_initcall(cobalt_lcd_add); +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Registration of Cobalt LCD platform device. + * + * Copyright (C) 2008 Yoichi Yuasa + */ +#include +#include +#include +#include + +static struct resource cobalt_lcd_resource __initdata = { + .start = 0x1f000000, + .end = 0x1f00001f, + .flags = IORESOURCE_MEM, +}; + +static __init int cobalt_lcd_add(void) +{ + struct platform_device *pdev; + int retval; + + pdev = platform_device_alloc("cobalt-lcd", -1); + if (!pdev) + return -ENOMEM; + + retval = platform_device_add_resources(pdev, &cobalt_lcd_resource, 1); + if (retval) + goto err_free_device; + + retval = platform_device_add(pdev); + if (retval) + goto err_free_device; + + return 0; + +err_free_device: + platform_device_put(pdev); + + return retval; +} +device_initcall(cobalt_lcd_add); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/cobalt/time.c b/image/debian/UFI003_MB_V02/kernel/arch/mips/cobalt/time.c index a86915ba84..1b6fa66491 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/cobalt/time.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/cobalt/time.c @@ -1,41 +1,41 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Cobalt time initialization. - * - * Copyright (C) 2007 Yoichi Yuasa - */ -#include -#include - -#include -#include - -#define GT641XX_BASE_CLOCK 50000000 /* 50MHz */ - -void __init plat_time_init(void) -{ - u32 start, end; - int i = HZ / 10; - - setup_pit_timer(); - - gt641xx_set_base_clock(GT641XX_BASE_CLOCK); - - /* - * MIPS counter frequency is measured during a 100msec interval - * using GT64111 timer0. - */ - while (!gt641xx_timer0_state()) - ; - - start = read_c0_count(); - - while (i--) - while (!gt641xx_timer0_state()) - ; - - end = read_c0_count(); - - mips_hpt_frequency = (end - start) * 10; - printk(KERN_INFO "MIPS counter frequency %dHz\n", mips_hpt_frequency); -} +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Cobalt time initialization. + * + * Copyright (C) 2007 Yoichi Yuasa + */ +#include +#include + +#include +#include + +#define GT641XX_BASE_CLOCK 50000000 /* 50MHz */ + +void __init plat_time_init(void) +{ + u32 start, end; + int i = HZ / 10; + + setup_pit_timer(); + + gt641xx_set_base_clock(GT641XX_BASE_CLOCK); + + /* + * MIPS counter frequency is measured during a 100msec interval + * using GT64111 timer0. + */ + while (!gt641xx_timer0_state()) + ; + + start = read_c0_count(); + + while (i--) + while (!gt641xx_timer0_state()) + ; + + end = read_c0_count(); + + mips_hpt_frequency = (end - start) * 10; + printk(KERN_INFO "MIPS counter frequency %dHz\n", mips_hpt_frequency); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/configs/generic/board-boston.config b/image/debian/UFI003_MB_V02/kernel/arch/mips/configs/generic/board-boston.config index 7a1b9edc13..19560a45b6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/configs/generic/board-boston.config +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/configs/generic/board-boston.config @@ -1,48 +1,48 @@ -CONFIG_FIT_IMAGE_FDT_BOSTON=y - -CONFIG_ATA=y -CONFIG_SATA_AHCI=y -CONFIG_SCSI=y -CONFIG_BLK_DEV_SD=y - -CONFIG_AUXDISPLAY=y -CONFIG_IMG_ASCII_LCD=y - -CONFIG_COMMON_CLK_BOSTON=y - -CONFIG_DMADEVICES=y -CONFIG_PCH_DMA=y - -CONFIG_GPIOLIB=y -CONFIG_GPIO_SYSFS=y -CONFIG_GPIO_PCH=y - -CONFIG_I2C=y -CONFIG_I2C_EG20T=y - -CONFIG_MMC=y -CONFIG_MMC_SDHCI=y -CONFIG_MMC_SDHCI_PCI=y - -CONFIG_NETDEVICES=y -CONFIG_PCH_GBE=y - -CONFIG_PCI=y -CONFIG_PCI_MSI=y -CONFIG_PCIE_XILINX=y - -CONFIG_PCH_PHUB=y - -CONFIG_RTC_CLASS=y -CONFIG_RTC_DRV_M41T80=y - -CONFIG_SERIAL_8250=y -CONFIG_SERIAL_8250_CONSOLE=y -CONFIG_SERIAL_OF_PLATFORM=y - -CONFIG_SPI=y -CONFIG_SPI_TOPCLIFF_PCH=y - -CONFIG_USB=y -CONFIG_USB_EHCI_HCD=y -CONFIG_USB_OHCI_HCD=y +CONFIG_FIT_IMAGE_FDT_BOSTON=y + +CONFIG_ATA=y +CONFIG_SATA_AHCI=y +CONFIG_SCSI=y +CONFIG_BLK_DEV_SD=y + +CONFIG_AUXDISPLAY=y +CONFIG_IMG_ASCII_LCD=y + +CONFIG_COMMON_CLK_BOSTON=y + +CONFIG_DMADEVICES=y +CONFIG_PCH_DMA=y + +CONFIG_GPIOLIB=y +CONFIG_GPIO_SYSFS=y +CONFIG_GPIO_PCH=y + +CONFIG_I2C=y +CONFIG_I2C_EG20T=y + +CONFIG_MMC=y +CONFIG_MMC_SDHCI=y +CONFIG_MMC_SDHCI_PCI=y + +CONFIG_NETDEVICES=y +CONFIG_PCH_GBE=y + +CONFIG_PCI=y +CONFIG_PCI_MSI=y +CONFIG_PCIE_XILINX=y + +CONFIG_PCH_PHUB=y + +CONFIG_RTC_CLASS=y +CONFIG_RTC_DRV_M41T80=y + +CONFIG_SERIAL_8250=y +CONFIG_SERIAL_8250_CONSOLE=y +CONFIG_SERIAL_OF_PLATFORM=y + +CONFIG_SPI=y +CONFIG_SPI_TOPCLIFF_PCH=y + +CONFIG_USB=y +CONFIG_USB_EHCI_HCD=y +CONFIG_USB_OHCI_HCD=y diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/configs/generic/board-marduk.config b/image/debian/UFI003_MB_V02/kernel/arch/mips/configs/generic/board-marduk.config index f234f1c609..05ca34cd5a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/configs/generic/board-marduk.config +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/configs/generic/board-marduk.config @@ -1,53 +1,53 @@ -CONFIG_FIT_IMAGE_FDT_MARDUK=y - -CONFIG_SCSI=y -CONFIG_BLK_DEV_SD=y - -CONFIG_CLKSRC_PISTACHIO=y - -CONFIG_COMMON_CLK_PISTACHIO=y - -CONFIG_DMADEVICES=y -CONFIG_IMG_MDC_DMA=y - -CONFIG_GPIOLIB=y -CONFIG_GPIO_SYSFS=y -CONFIG_GPIO_PCH=y - -CONFIG_I2C=y -CONFIG_I2C_IMG=y - -CONFIG_MMC=y -CONFIG_MMC_SDHCI=y -CONFIG_MMC_DW=y -CONFIG_MMC_DW_PLTFM=y - -CONFIG_NETDEVICES=y -CONFIG_STMMAC_ETH=y -CONFIG_STMMAC_PLATFORM=y - -CONFIG_PHY_PISTACHIO_USB=y - -CONFIG_PINCTRL=y -CONFIG_PINCTRL_PISTACHIO=y - -CONFIG_RESET_PISTACHIO=y - -CONFIG_SERIAL_8250=y -CONFIG_SERIAL_8250_CONSOLE=y -CONFIG_SERIAL_OF_PLATFORM=y -CONFIG_SERIAL_8250_DW=y - -CONFIG_SPI=y -CONFIG_SRAM=y - -CONFIG_USB=y -CONFIG_USB_EHCI_HCD=y -CONFIG_USB_OHCI_HCD=y -CONFIG_USB_DWC2=y - -CONFIG_CRYPTO_DEV_IMGTEC_HASH=y -CONFIG_IMGPDC_WDT=y -CONFIG_IR_IMG=y -CONFIG_CC10001_ADC=y -CONFIG_SND_SOC_IMG=y +CONFIG_FIT_IMAGE_FDT_MARDUK=y + +CONFIG_SCSI=y +CONFIG_BLK_DEV_SD=y + +CONFIG_CLKSRC_PISTACHIO=y + +CONFIG_COMMON_CLK_PISTACHIO=y + +CONFIG_DMADEVICES=y +CONFIG_IMG_MDC_DMA=y + +CONFIG_GPIOLIB=y +CONFIG_GPIO_SYSFS=y +CONFIG_GPIO_PCH=y + +CONFIG_I2C=y +CONFIG_I2C_IMG=y + +CONFIG_MMC=y +CONFIG_MMC_SDHCI=y +CONFIG_MMC_DW=y +CONFIG_MMC_DW_PLTFM=y + +CONFIG_NETDEVICES=y +CONFIG_STMMAC_ETH=y +CONFIG_STMMAC_PLATFORM=y + +CONFIG_PHY_PISTACHIO_USB=y + +CONFIG_PINCTRL=y +CONFIG_PINCTRL_PISTACHIO=y + +CONFIG_RESET_PISTACHIO=y + +CONFIG_SERIAL_8250=y +CONFIG_SERIAL_8250_CONSOLE=y +CONFIG_SERIAL_OF_PLATFORM=y +CONFIG_SERIAL_8250_DW=y + +CONFIG_SPI=y +CONFIG_SRAM=y + +CONFIG_USB=y +CONFIG_USB_EHCI_HCD=y +CONFIG_USB_OHCI_HCD=y +CONFIG_USB_DWC2=y + +CONFIG_CRYPTO_DEV_IMGTEC_HASH=y +CONFIG_IMGPDC_WDT=y +CONFIG_IR_IMG=y +CONFIG_CC10001_ADC=y +CONFIG_SND_SOC_IMG=y diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/configs/generic/board-ocelot.config b/image/debian/UFI003_MB_V02/kernel/arch/mips/configs/generic/board-ocelot.config index dafb061270..a5b5b51024 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/configs/generic/board-ocelot.config +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/configs/generic/board-ocelot.config @@ -1,51 +1,51 @@ -# require CONFIG_CPU_MIPS32_R2=y - -CONFIG_LEGACY_BOARD_OCELOT=y -CONFIG_FIT_IMAGE_FDT_OCELOT=y - -CONFIG_BRIDGE=y -CONFIG_GENERIC_PHY=y - -CONFIG_MTD=y -CONFIG_MTD_CMDLINE_PARTS=y -CONFIG_MTD_BLOCK=y -CONFIG_MTD_RAW_NAND=y -CONFIG_MTD_NAND_PLATFORM=y -CONFIG_MTD_SPI_NOR=y -CONFIG_MTD_UBI=y - -CONFIG_BLK_DEV_LOOP=y -CONFIG_BLK_DEV_RAM=y - -CONFIG_SERIAL_8250=y -CONFIG_SERIAL_8250_CONSOLE=y -CONFIG_SERIAL_OF_PLATFORM=y - -CONFIG_NETDEVICES=y -CONFIG_NET_SWITCHDEV=y -CONFIG_NET_DSA=y -CONFIG_MSCC_OCELOT_SWITCH=y -CONFIG_MDIO_MSCC_MIIM=y -CONFIG_MICROSEMI_PHY=y - -CONFIG_I2C=y -CONFIG_I2C_CHARDEV=y -CONFIG_I2C_MUX=y -CONFIG_I2C_DESIGNWARE_CORE=y -CONFIG_I2C_DESIGNWARE_PLATFORM=y - -CONFIG_SPI=y -CONFIG_SPI_BITBANG=y -CONFIG_SPI_DESIGNWARE=y -CONFIG_SPI_DW_MMIO=y -CONFIG_SPI_SPIDEV=y - -CONFIG_PINCTRL=y -CONFIG_PINCTRL_OCELOT=y - -CONFIG_GPIO_SYSFS=y - -CONFIG_POWER_RESET=y -CONFIG_POWER_RESET_OCELOT_RESET=y - -CONFIG_MAGIC_SYSRQ=y +# require CONFIG_CPU_MIPS32_R2=y + +CONFIG_LEGACY_BOARD_OCELOT=y +CONFIG_FIT_IMAGE_FDT_OCELOT=y + +CONFIG_BRIDGE=y +CONFIG_GENERIC_PHY=y + +CONFIG_MTD=y +CONFIG_MTD_CMDLINE_PARTS=y +CONFIG_MTD_BLOCK=y +CONFIG_MTD_RAW_NAND=y +CONFIG_MTD_NAND_PLATFORM=y +CONFIG_MTD_SPI_NOR=y +CONFIG_MTD_UBI=y + +CONFIG_BLK_DEV_LOOP=y +CONFIG_BLK_DEV_RAM=y + +CONFIG_SERIAL_8250=y +CONFIG_SERIAL_8250_CONSOLE=y +CONFIG_SERIAL_OF_PLATFORM=y + +CONFIG_NETDEVICES=y +CONFIG_NET_SWITCHDEV=y +CONFIG_NET_DSA=y +CONFIG_MSCC_OCELOT_SWITCH=y +CONFIG_MDIO_MSCC_MIIM=y +CONFIG_MICROSEMI_PHY=y + +CONFIG_I2C=y +CONFIG_I2C_CHARDEV=y +CONFIG_I2C_MUX=y +CONFIG_I2C_DESIGNWARE_CORE=y +CONFIG_I2C_DESIGNWARE_PLATFORM=y + +CONFIG_SPI=y +CONFIG_SPI_BITBANG=y +CONFIG_SPI_DESIGNWARE=y +CONFIG_SPI_DW_MMIO=y +CONFIG_SPI_SPIDEV=y + +CONFIG_PINCTRL=y +CONFIG_PINCTRL_OCELOT=y + +CONFIG_GPIO_SYSFS=y + +CONFIG_POWER_RESET=y +CONFIG_POWER_RESET_OCELOT_RESET=y + +CONFIG_MAGIC_SYSRQ=y diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/configs/generic/board-virt.config b/image/debian/UFI003_MB_V02/kernel/arch/mips/configs/generic/board-virt.config index 046c8cf8e6..5594f9e5c3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/configs/generic/board-virt.config +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/configs/generic/board-virt.config @@ -1,38 +1,38 @@ -CONFIG_COMMON_CLK=y - -CONFIG_GOLDFISH=y -CONFIG_GOLDFISH_PIC=y - -CONFIG_PCI=y -CONFIG_PCI_MSI=y -CONFIG_PCI_HOST_GENERIC=y - -CONFIG_POWER_RESET=y -CONFIG_POWER_RESET_SYSCON=y -CONFIG_POWER_RESET_SYSCON_POWEROFF=y -CONFIG_SYSCON_REBOOT_MODE=y - -CONFIG_RTC_CLASS=y -CONFIG_RTC_DRV_GOLDFISH=y - -CONFIG_SERIAL_8250=y -CONFIG_SERIAL_8250_CONSOLE=y -CONFIG_SERIAL_OF_PLATFORM=y - -CONFIG_MTD=y -CONFIG_MTD_CFI=y - -CONFIG_USB=y -CONFIG_USB_EHCI_HCD=y -CONFIG_USB_OHCI_HCD=y -CONFIG_USB_XHCI_HCD=y - -CONFIG_VIRTIO_CONSOLE=y -CONFIG_VIRTIO_PCI=y -CONFIG_VIRTIO_MMIO=y -CONFIG_VIRTIO_MMIO_CMDLINE_DEVICES=y -CONFIG_VIRTIO_BALLOON=y -CONFIG_VIRTIO_BLK=y -CONFIG_VIRTIO_NET=y -CONFIG_NET_9P=y -CONFIG_NET_9P_VIRTIO=y +CONFIG_COMMON_CLK=y + +CONFIG_GOLDFISH=y +CONFIG_GOLDFISH_PIC=y + +CONFIG_PCI=y +CONFIG_PCI_MSI=y +CONFIG_PCI_HOST_GENERIC=y + +CONFIG_POWER_RESET=y +CONFIG_POWER_RESET_SYSCON=y +CONFIG_POWER_RESET_SYSCON_POWEROFF=y +CONFIG_SYSCON_REBOOT_MODE=y + +CONFIG_RTC_CLASS=y +CONFIG_RTC_DRV_GOLDFISH=y + +CONFIG_SERIAL_8250=y +CONFIG_SERIAL_8250_CONSOLE=y +CONFIG_SERIAL_OF_PLATFORM=y + +CONFIG_MTD=y +CONFIG_MTD_CFI=y + +CONFIG_USB=y +CONFIG_USB_EHCI_HCD=y +CONFIG_USB_OHCI_HCD=y +CONFIG_USB_XHCI_HCD=y + +CONFIG_VIRTIO_CONSOLE=y +CONFIG_VIRTIO_PCI=y +CONFIG_VIRTIO_MMIO=y +CONFIG_VIRTIO_MMIO_CMDLINE_DEVICES=y +CONFIG_VIRTIO_BALLOON=y +CONFIG_VIRTIO_BLK=y +CONFIG_VIRTIO_NET=y +CONFIG_NET_9P=y +CONFIG_NET_9P_VIRTIO=y diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/crypto/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/mips/crypto/Makefile index 17a5a81747..5e4105cccf 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/crypto/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/crypto/Makefile @@ -1,24 +1,24 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Makefile for MIPS crypto files.. -# - -obj-$(CONFIG_CRYPTO_CRC32_MIPS) += crc32-mips.o - -obj-$(CONFIG_CRYPTO_CHACHA_MIPS) += chacha-mips.o -chacha-mips-y := chacha-core.o chacha-glue.o -AFLAGS_chacha-core.o += -O2 # needed to fill branch delay slots - -obj-$(CONFIG_CRYPTO_POLY1305_MIPS) += poly1305-mips.o -poly1305-mips-y := poly1305-core.o poly1305-glue.o - -perlasm-flavour-$(CONFIG_32BIT) := o32 -perlasm-flavour-$(CONFIG_64BIT) := 64 - -quiet_cmd_perlasm = PERLASM $@ - cmd_perlasm = $(PERL) $(<) $(perlasm-flavour-y) $(@) - -$(obj)/poly1305-core.S: $(src)/poly1305-mips.pl FORCE - $(call if_changed,perlasm) - -targets += poly1305-core.S +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile for MIPS crypto files.. +# + +obj-$(CONFIG_CRYPTO_CRC32_MIPS) += crc32-mips.o + +obj-$(CONFIG_CRYPTO_CHACHA_MIPS) += chacha-mips.o +chacha-mips-y := chacha-core.o chacha-glue.o +AFLAGS_chacha-core.o += -O2 # needed to fill branch delay slots + +obj-$(CONFIG_CRYPTO_POLY1305_MIPS) += poly1305-mips.o +poly1305-mips-y := poly1305-core.o poly1305-glue.o + +perlasm-flavour-$(CONFIG_32BIT) := o32 +perlasm-flavour-$(CONFIG_64BIT) := 64 + +quiet_cmd_perlasm = PERLASM $@ + cmd_perlasm = $(PERL) $(<) $(perlasm-flavour-y) $(@) + +$(obj)/poly1305-core.S: $(src)/poly1305-mips.pl FORCE + $(call if_changed,perlasm) + +targets += poly1305-core.S diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/dec/platform.c b/image/debian/UFI003_MB_V02/kernel/arch/mips/dec/platform.c index ea2546d7b8..c4fcb8c58e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/dec/platform.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/dec/platform.c @@ -1,40 +1,40 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * DEC platform devices. - * - * Copyright (c) 2014 Maciej W. Rozycki - */ - -#include -#include -#include -#include - -static struct resource dec_rtc_resources[] = { - { - .name = "rtc", - .flags = IORESOURCE_MEM, - }, -}; - -static struct cmos_rtc_board_info dec_rtc_info = { - .flags = CMOS_RTC_FLAGS_NOFREQ, - .address_space = 64, -}; - -static struct platform_device dec_rtc_device = { - .name = "rtc_cmos", - .id = PLATFORM_DEVID_NONE, - .dev.platform_data = &dec_rtc_info, - .resource = dec_rtc_resources, - .num_resources = ARRAY_SIZE(dec_rtc_resources), -}; - -static int __init dec_add_devices(void) -{ - dec_rtc_resources[0].start = RTC_PORT(0); - dec_rtc_resources[0].end = RTC_PORT(0) + dec_kn_slot_size - 1; - return platform_device_register(&dec_rtc_device); -} - -device_initcall(dec_add_devices); +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * DEC platform devices. + * + * Copyright (c) 2014 Maciej W. Rozycki + */ + +#include +#include +#include +#include + +static struct resource dec_rtc_resources[] = { + { + .name = "rtc", + .flags = IORESOURCE_MEM, + }, +}; + +static struct cmos_rtc_board_info dec_rtc_info = { + .flags = CMOS_RTC_FLAGS_NOFREQ, + .address_space = 64, +}; + +static struct platform_device dec_rtc_device = { + .name = "rtc_cmos", + .id = PLATFORM_DEVID_NONE, + .dev.platform_data = &dec_rtc_info, + .resource = dec_rtc_resources, + .num_resources = ARRAY_SIZE(dec_rtc_resources), +}; + +static int __init dec_add_devices(void) +{ + dec_rtc_resources[0].start = RTC_PORT(0); + dec_rtc_resources[0].end = RTC_PORT(0) + dec_kn_slot_size - 1; + return platform_device_register(&dec_rtc_device); +} + +device_initcall(dec_add_devices); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/dec/prom/cmdline.c b/image/debian/UFI003_MB_V02/kernel/arch/mips/dec/prom/cmdline.c index 1235416991..3ed63280ae 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/dec/prom/cmdline.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/dec/prom/cmdline.c @@ -1,40 +1,40 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * cmdline.c: read the command line passed to us by the PROM. - * - * Copyright (C) 1998 Harald Koerfgen - * Copyright (C) 2002, 2004 Maciej W. Rozycki - */ -#include -#include -#include -#include - -#include -#include - -#undef PROM_DEBUG - -void __init prom_init_cmdline(s32 argc, s32 *argv, u32 magic) -{ - char *arg; - int start_arg, i; - - /* - * collect args and prepare cmd_line - */ - if (!prom_is_rex(magic)) - start_arg = 1; - else - start_arg = 2; - for (i = start_arg; i < argc; i++) { - arg = (void *)(long)(argv[i]); - strcat(arcs_cmdline, arg); - if (i < (argc - 1)) - strcat(arcs_cmdline, " "); - } - -#ifdef PROM_DEBUG - printk("arcs_cmdline: %s\n", &(arcs_cmdline[0])); -#endif -} +// SPDX-License-Identifier: GPL-2.0 +/* + * cmdline.c: read the command line passed to us by the PROM. + * + * Copyright (C) 1998 Harald Koerfgen + * Copyright (C) 2002, 2004 Maciej W. Rozycki + */ +#include +#include +#include +#include + +#include +#include + +#undef PROM_DEBUG + +void __init prom_init_cmdline(s32 argc, s32 *argv, u32 magic) +{ + char *arg; + int start_arg, i; + + /* + * collect args and prepare cmd_line + */ + if (!prom_is_rex(magic)) + start_arg = 1; + else + start_arg = 2; + for (i = start_arg; i < argc; i++) { + arg = (void *)(long)(argv[i]); + strcat(arcs_cmdline, arg); + if (i < (argc - 1)) + strcat(arcs_cmdline, " "); + } + +#ifdef PROM_DEBUG + printk("arcs_cmdline: %s\n", &(arcs_cmdline[0])); +#endif +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/dec/prom/console.c b/image/debian/UFI003_MB_V02/kernel/arch/mips/dec/prom/console.c index b77c0a261c..31a8441d84 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/dec/prom/console.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/dec/prom/console.c @@ -1,41 +1,41 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * DECstation PROM-based early console support. - * - * Copyright (C) 2004, 2007 Maciej W. Rozycki - */ -#include -#include -#include -#include - -#include - -static void __init prom_console_write(struct console *con, const char *s, - unsigned int c) -{ - char buf[81]; - unsigned int chunk = sizeof(buf) - 1; - - while (c > 0) { - if (chunk > c) - chunk = c; - memcpy(buf, s, chunk); - buf[chunk] = '\0'; - prom_printf("%s", buf); - s += chunk; - c -= chunk; - } -} - -static struct console promcons __initdata = { - .name = "prom", - .write = prom_console_write, - .flags = CON_BOOT | CON_PRINTBUFFER, - .index = -1, -}; - -void __init register_prom_console(void) -{ - register_console(&promcons); -} +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * DECstation PROM-based early console support. + * + * Copyright (C) 2004, 2007 Maciej W. Rozycki + */ +#include +#include +#include +#include + +#include + +static void __init prom_console_write(struct console *con, const char *s, + unsigned int c) +{ + char buf[81]; + unsigned int chunk = sizeof(buf) - 1; + + while (c > 0) { + if (chunk > c) + chunk = c; + memcpy(buf, s, chunk); + buf[chunk] = '\0'; + prom_printf("%s", buf); + s += chunk; + c -= chunk; + } +} + +static struct console promcons __initdata = { + .name = "prom", + .write = prom_console_write, + .flags = CON_BOOT | CON_PRINTBUFFER, + .index = -1, +}; + +void __init register_prom_console(void) +{ + register_console(&promcons); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/dec/reset.c b/image/debian/UFI003_MB_V02/kernel/arch/mips/dec/reset.c index 85ee40166e..3df01f1da3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/dec/reset.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/dec/reset.c @@ -1,41 +1,41 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Reset a DECstation machine. - * - * Copyright (C) 199x the Anonymous - * Copyright (C) 2001, 2002, 2003 Maciej W. Rozycki - */ -#include -#include - -#include - -typedef void __noreturn (* noret_func_t)(void); - -static inline void __noreturn back_to_prom(void) -{ - noret_func_t func = (void *)CKSEG1ADDR(0x1fc00000); - - func(); -} - -void __noreturn dec_machine_restart(char *command) -{ - back_to_prom(); -} - -void __noreturn dec_machine_halt(void) -{ - back_to_prom(); -} - -void __noreturn dec_machine_power_off(void) -{ - /* DECstations don't have a software power switch */ - back_to_prom(); -} - -irqreturn_t dec_intr_halt(int irq, void *dev_id) -{ - dec_machine_halt(); -} +// SPDX-License-Identifier: GPL-2.0 +/* + * Reset a DECstation machine. + * + * Copyright (C) 199x the Anonymous + * Copyright (C) 2001, 2002, 2003 Maciej W. Rozycki + */ +#include +#include + +#include + +typedef void __noreturn (* noret_func_t)(void); + +static inline void __noreturn back_to_prom(void) +{ + noret_func_t func = (void *)CKSEG1ADDR(0x1fc00000); + + func(); +} + +void __noreturn dec_machine_restart(char *command) +{ + back_to_prom(); +} + +void __noreturn dec_machine_halt(void) +{ + back_to_prom(); +} + +void __noreturn dec_machine_power_off(void) +{ + /* DECstations don't have a software power switch */ + back_to_prom(); +} + +irqreturn_t dec_intr_halt(int irq, void *dev_id) +{ + dec_machine_halt(); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/fw/arc/misc.c b/image/debian/UFI003_MB_V02/kernel/arch/mips/fw/arc/misc.c index 1b1507c449..d5b2d59013 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/fw/arc/misc.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/fw/arc/misc.c @@ -1,36 +1,36 @@ -/* - * 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. - * - * Miscellaneous ARCS PROM routines. - * - * Copyright (C) 1996 David S. Miller (davem@davemloft.net) - * Copyright (C) 1999 Ralf Baechle (ralf@gnu.org) - * Copyright (C) 1999 Silicon Graphics, Inc. - */ -#include -#include -#include -#include - -#include - -#include -#include -#include - -VOID __noreturn -ArcEnterInteractiveMode(VOID) -{ - bc_disable(); - local_irq_disable(); - ARC_CALL0(imode); - - unreachable(); -} - -DISPLAY_STATUS * __init ArcGetDisplayStatus(ULONG FileID) -{ - return (DISPLAY_STATUS *) ARC_CALL1(GetDisplayStatus, FileID); -} +/* + * 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. + * + * Miscellaneous ARCS PROM routines. + * + * Copyright (C) 1996 David S. Miller (davem@davemloft.net) + * Copyright (C) 1999 Ralf Baechle (ralf@gnu.org) + * Copyright (C) 1999 Silicon Graphics, Inc. + */ +#include +#include +#include +#include + +#include + +#include +#include +#include + +VOID __noreturn +ArcEnterInteractiveMode(VOID) +{ + bc_disable(); + local_irq_disable(); + ARC_CALL0(imode); + + unreachable(); +} + +DISPLAY_STATUS * __init ArcGetDisplayStatus(ULONG FileID) +{ + return (DISPLAY_STATUS *) ARC_CALL1(GetDisplayStatus, FileID); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/generic/board-jaguar2.its.S b/image/debian/UFI003_MB_V02/kernel/arch/mips/generic/board-jaguar2.its.S index 5488b2960f..c2b8d479b2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/generic/board-jaguar2.its.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/generic/board-jaguar2.its.S @@ -1,40 +1,40 @@ -/* SPDX-License-Identifier: (GPL-2.0 OR MIT) */ -/ { - images { - fdt-jaguar2_pcb110 { - description = "MSCC Jaguar2 PCB110 Device Tree"; - data = /incbin/("boot/dts/mscc/jaguar2_pcb110.dtb"); - type = "flat_dt"; - arch = "mips"; - compression = "none"; - hash { - algo = "sha1"; - }; - }; - fdt-jaguar2_pcb111 { - description = "MSCC Jaguar2 PCB111 Device Tree"; - data = /incbin/("boot/dts/mscc/jaguar2_pcb111.dtb"); - type = "flat_dt"; - arch = "mips"; - compression = "none"; - hash { - algo = "sha1"; - }; - }; - }; - - configurations { - pcb110 { - description = "Jaguar2 Linux kernel"; - kernel = "kernel"; - fdt = "fdt-jaguar2_pcb110"; - ramdisk = "ramdisk"; - }; - pcb111 { - description = "Jaguar2 Linux kernel"; - kernel = "kernel"; - fdt = "fdt-jaguar2_pcb111"; - ramdisk = "ramdisk"; - }; - }; -}; +/* SPDX-License-Identifier: (GPL-2.0 OR MIT) */ +/ { + images { + fdt-jaguar2_pcb110 { + description = "MSCC Jaguar2 PCB110 Device Tree"; + data = /incbin/("boot/dts/mscc/jaguar2_pcb110.dtb"); + type = "flat_dt"; + arch = "mips"; + compression = "none"; + hash { + algo = "sha1"; + }; + }; + fdt-jaguar2_pcb111 { + description = "MSCC Jaguar2 PCB111 Device Tree"; + data = /incbin/("boot/dts/mscc/jaguar2_pcb111.dtb"); + type = "flat_dt"; + arch = "mips"; + compression = "none"; + hash { + algo = "sha1"; + }; + }; + }; + + configurations { + pcb110 { + description = "Jaguar2 Linux kernel"; + kernel = "kernel"; + fdt = "fdt-jaguar2_pcb110"; + ramdisk = "ramdisk"; + }; + pcb111 { + description = "Jaguar2 Linux kernel"; + kernel = "kernel"; + fdt = "fdt-jaguar2_pcb111"; + ramdisk = "ramdisk"; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/generic/board-ocelot.its.S b/image/debian/UFI003_MB_V02/kernel/arch/mips/generic/board-ocelot.its.S index d3480c8bb2..8c7e3a1b68 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/generic/board-ocelot.its.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/generic/board-ocelot.its.S @@ -1,40 +1,40 @@ -/* SPDX-License-Identifier: (GPL-2.0 OR MIT) */ -/ { - images { - fdt-ocelot_pcb123 { - description = "MSCC Ocelot PCB123 Device Tree"; - data = /incbin/("boot/dts/mscc/ocelot_pcb123.dtb"); - type = "flat_dt"; - arch = "mips"; - compression = "none"; - hash { - algo = "sha1"; - }; - }; - - fdt-ocelot_pcb120 { - description = "MSCC Ocelot PCB120 Device Tree"; - data = /incbin/("boot/dts/mscc/ocelot_pcb120.dtb"); - type = "flat_dt"; - arch = "mips"; - compression = "none"; - hash { - algo = "sha1"; - }; - }; - }; - - configurations { - conf-ocelot_pcb123 { - description = "Ocelot Linux kernel"; - kernel = "kernel"; - fdt = "fdt-ocelot_pcb123"; - }; - - conf-ocelot_pcb120 { - description = "Ocelot Linux kernel"; - kernel = "kernel"; - fdt = "fdt-ocelot_pcb120"; - }; - }; -}; +/* SPDX-License-Identifier: (GPL-2.0 OR MIT) */ +/ { + images { + fdt-ocelot_pcb123 { + description = "MSCC Ocelot PCB123 Device Tree"; + data = /incbin/("boot/dts/mscc/ocelot_pcb123.dtb"); + type = "flat_dt"; + arch = "mips"; + compression = "none"; + hash { + algo = "sha1"; + }; + }; + + fdt-ocelot_pcb120 { + description = "MSCC Ocelot PCB120 Device Tree"; + data = /incbin/("boot/dts/mscc/ocelot_pcb120.dtb"); + type = "flat_dt"; + arch = "mips"; + compression = "none"; + hash { + algo = "sha1"; + }; + }; + }; + + configurations { + conf-ocelot_pcb123 { + description = "Ocelot Linux kernel"; + kernel = "kernel"; + fdt = "fdt-ocelot_pcb123"; + }; + + conf-ocelot_pcb120 { + description = "Ocelot Linux kernel"; + kernel = "kernel"; + fdt = "fdt-ocelot_pcb120"; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/abi.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/abi.h index a5674a1225..dba7f4b6be 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/abi.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/abi.h @@ -1,32 +1,32 @@ -/* - * 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, 06 by Ralf Baechle (ralf@linux-mips.org) - * Copyright (C) 2005 MIPS Technologies, Inc. - */ -#ifndef _ASM_ABI_H -#define _ASM_ABI_H - -#include - -#include -#include -#include - -struct mips_abi { - int (* const setup_frame)(void *sig_return, struct ksignal *ksig, - struct pt_regs *regs, sigset_t *set); - int (* const setup_rt_frame)(void *sig_return, struct ksignal *ksig, - struct pt_regs *regs, sigset_t *set); - const unsigned long restart; - - unsigned off_sc_fpregs; - unsigned off_sc_fpc_csr; - unsigned off_sc_used_math; - - struct mips_vdso_image *vdso; -}; - -#endif /* _ASM_ABI_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) 2005, 06 by Ralf Baechle (ralf@linux-mips.org) + * Copyright (C) 2005 MIPS Technologies, Inc. + */ +#ifndef _ASM_ABI_H +#define _ASM_ABI_H + +#include + +#include +#include +#include + +struct mips_abi { + int (* const setup_frame)(void *sig_return, struct ksignal *ksig, + struct pt_regs *regs, sigset_t *set); + int (* const setup_rt_frame)(void *sig_return, struct ksignal *ksig, + struct pt_regs *regs, sigset_t *set); + const unsigned long restart; + + unsigned off_sc_fpregs; + unsigned off_sc_fpc_csr; + unsigned off_sc_used_math; + + struct mips_vdso_image *vdso; +}; + +#endif /* _ASM_ABI_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/arch_hweight.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/arch_hweight.h index 4ca49bce39..712a7445ee 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/arch_hweight.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/arch_hweight.h @@ -1,38 +1,38 @@ -/* - * 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_ARCH_HWEIGHT_H -#define _ASM_ARCH_HWEIGHT_H - -#ifdef ARCH_HAS_USABLE_BUILTIN_POPCOUNT - -#include - -static inline unsigned int __arch_hweight32(unsigned int w) -{ - return __builtin_popcount(w); -} - -static inline unsigned int __arch_hweight16(unsigned int w) -{ - return __builtin_popcount(w & 0xffff); -} - -static inline unsigned int __arch_hweight8(unsigned int w) -{ - return __builtin_popcount(w & 0xff); -} - -static inline unsigned long __arch_hweight64(__u64 w) -{ - return __builtin_popcountll(w); -} - -#else -#include -#endif - -#endif /* _ASM_ARCH_HWEIGHT_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_ARCH_HWEIGHT_H +#define _ASM_ARCH_HWEIGHT_H + +#ifdef ARCH_HAS_USABLE_BUILTIN_POPCOUNT + +#include + +static inline unsigned int __arch_hweight32(unsigned int w) +{ + return __builtin_popcount(w); +} + +static inline unsigned int __arch_hweight16(unsigned int w) +{ + return __builtin_popcount(w & 0xffff); +} + +static inline unsigned int __arch_hweight8(unsigned int w) +{ + return __builtin_popcount(w & 0xff); +} + +static inline unsigned long __arch_hweight64(__u64 w) +{ + return __builtin_popcountll(w); +} + +#else +#include +#endif + +#endif /* _ASM_ARCH_HWEIGHT_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/break.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/break.h index 5d805f14ad..0ef11429a7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/break.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/break.h @@ -1,26 +1,26 @@ -/* - * 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, 2003 by Ralf Baechle - * Copyright (C) 1999 Silicon Graphics, Inc. - */ -#ifndef __ASM_BREAK_H -#define __ASM_BREAK_H - -#ifdef __UAPI_ASM_BREAK_H -#error "Error: Do not directly include " -#endif -#include - -/* - * Break codes used internally to the kernel. - */ -#define BRK_KDB 513 /* Used in KDB_ENTER() */ -#define BRK_MEMU 514 /* Used by FPU emulator */ -#define BRK_KPROBE_BP 515 /* Kprobe break */ -#define BRK_KPROBE_SSTEPBP 516 /* Kprobe single step software implementation */ -#define BRK_MULOVF 1023 /* Multiply overflow */ - -#endif /* __ASM_BREAK_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, 2003 by Ralf Baechle + * Copyright (C) 1999 Silicon Graphics, Inc. + */ +#ifndef __ASM_BREAK_H +#define __ASM_BREAK_H + +#ifdef __UAPI_ASM_BREAK_H +#error "Error: Do not directly include " +#endif +#include + +/* + * Break codes used internally to the kernel. + */ +#define BRK_KDB 513 /* Used in KDB_ENTER() */ +#define BRK_MEMU 514 /* Used by FPU emulator */ +#define BRK_KPROBE_BP 515 /* Kprobe break */ +#define BRK_KPROBE_SSTEPBP 516 /* Kprobe single step software implementation */ +#define BRK_MULOVF 1023 /* Multiply overflow */ + +#endif /* __ASM_BREAK_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/bug.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/bug.h index 1fa8b799eb..745dc160a0 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/bug.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/bug.h @@ -1,44 +1,44 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_BUG_H -#define __ASM_BUG_H - -#include -#include - -#ifdef CONFIG_BUG - -#include - -static inline void __noreturn BUG(void) -{ - __asm__ __volatile__("break %0" : : "i" (BRK_BUG)); - unreachable(); -} - -#define HAVE_ARCH_BUG - -#if (_MIPS_ISA > _MIPS_ISA_MIPS1) - -static inline void __BUG_ON(unsigned long condition) -{ - if (__builtin_constant_p(condition)) { - if (condition) - BUG(); - else - return; - } - __asm__ __volatile__("tne $0, %0, %1" - : : "r" (condition), "i" (BRK_BUG)); -} - -#define BUG_ON(C) __BUG_ON((unsigned long)(C)) - -#define HAVE_ARCH_BUG_ON - -#endif /* _MIPS_ISA > _MIPS_ISA_MIPS1 */ - -#endif - -#include - -#endif /* __ASM_BUG_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_BUG_H +#define __ASM_BUG_H + +#include +#include + +#ifdef CONFIG_BUG + +#include + +static inline void __noreturn BUG(void) +{ + __asm__ __volatile__("break %0" : : "i" (BRK_BUG)); + unreachable(); +} + +#define HAVE_ARCH_BUG + +#if (_MIPS_ISA > _MIPS_ISA_MIPS1) + +static inline void __BUG_ON(unsigned long condition) +{ + if (__builtin_constant_p(condition)) { + if (condition) + BUG(); + else + return; + } + __asm__ __volatile__("tne $0, %0, %1" + : : "r" (condition), "i" (BRK_BUG)); +} + +#define BUG_ON(C) __BUG_ON((unsigned long)(C)) + +#define HAVE_ARCH_BUG_ON + +#endif /* _MIPS_ISA > _MIPS_ISA_MIPS1 */ + +#endif + +#include + +#endif /* __ASM_BUG_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/cache.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/cache.h index 15daa6a5a0..8b08db3fb1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/cache.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/cache.h @@ -1,27 +1,27 @@ -/* - * 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, 2003 Ralf Baechle - * Copyright (C) 1999 Silicon Graphics, Inc. - */ -#ifndef _ASM_CACHE_H -#define _ASM_CACHE_H - -#include - -#define L1_CACHE_SHIFT CONFIG_MIPS_L1_CACHE_SHIFT -#define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT) - -#define __read_mostly __section(".data..read_mostly") - -extern void cache_noop(void); -extern void r3k_cache_init(void); -extern unsigned long r3k_cache_size(unsigned long); -extern unsigned long r3k_cache_lsize(unsigned long); -extern void r4k_cache_init(void); -extern void octeon_cache_init(void); -extern void au1x00_fixup_config_od(void); - -#endif /* _ASM_CACHE_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, 2003 Ralf Baechle + * Copyright (C) 1999 Silicon Graphics, Inc. + */ +#ifndef _ASM_CACHE_H +#define _ASM_CACHE_H + +#include + +#define L1_CACHE_SHIFT CONFIG_MIPS_L1_CACHE_SHIFT +#define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT) + +#define __read_mostly __section(".data..read_mostly") + +extern void cache_noop(void); +extern void r3k_cache_init(void); +extern unsigned long r3k_cache_size(unsigned long); +extern unsigned long r3k_cache_lsize(unsigned long); +extern void r4k_cache_init(void); +extern void octeon_cache_init(void); +extern void au1x00_fixup_config_od(void); + +#endif /* _ASM_CACHE_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/cevt-r4k.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/cevt-r4k.h index 77e0efa2be..2e13a038d2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/cevt-r4k.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/cevt-r4k.h @@ -1,29 +1,29 @@ -/* - * 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 Kevin D. Kissell - */ - -/* - * Definitions used for common event timer implementation - * for MIPS 4K-type processors and their MIPS MT variants. - * Avoids unsightly extern declarations in C files. - */ -#ifndef __ASM_CEVT_R4K_H -#define __ASM_CEVT_R4K_H - -#include -#include - -DECLARE_PER_CPU(struct clock_event_device, mips_clockevent_device); - -void mips_event_handler(struct clock_event_device *dev); -int c0_compare_int_usable(void); -irqreturn_t c0_compare_interrupt(int, void *); - -extern struct irqaction c0_compare_irqaction; -extern int cp0_timer_irq_installed; - -#endif /* __ASM_CEVT_R4K_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 Kevin D. Kissell + */ + +/* + * Definitions used for common event timer implementation + * for MIPS 4K-type processors and their MIPS MT variants. + * Avoids unsightly extern declarations in C files. + */ +#ifndef __ASM_CEVT_R4K_H +#define __ASM_CEVT_R4K_H + +#include +#include + +DECLARE_PER_CPU(struct clock_event_device, mips_clockevent_device); + +void mips_event_handler(struct clock_event_device *dev); +int c0_compare_int_usable(void); +irqreturn_t c0_compare_interrupt(int, void *); + +extern struct irqaction c0_compare_irqaction; +extern int cp0_timer_irq_installed; + +#endif /* __ASM_CEVT_R4K_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/compat-signal.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/compat-signal.h index 230224881b..c3b7a2550d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/compat-signal.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/compat-signal.h @@ -1,29 +1,29 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_COMPAT_SIGNAL_H -#define __ASM_COMPAT_SIGNAL_H - -#include -#include -#include - -#include -#include - -#include - -static inline int __copy_conv_sigset_to_user(compat_sigset_t __user *d, - const sigset_t *s) -{ - BUILD_BUG_ON(sizeof(*d) != sizeof(*s)); - BUILD_BUG_ON(_NSIG_WORDS != 2); - - return put_compat_sigset(d, s, sizeof(*d)); -} - -static inline int __copy_conv_sigset_from_user(sigset_t *d, - const compat_sigset_t __user *s) -{ - return get_compat_sigset(d, s); -} - -#endif /* __ASM_COMPAT_SIGNAL_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_COMPAT_SIGNAL_H +#define __ASM_COMPAT_SIGNAL_H + +#include +#include +#include + +#include +#include + +#include + +static inline int __copy_conv_sigset_to_user(compat_sigset_t __user *d, + const sigset_t *s) +{ + BUILD_BUG_ON(sizeof(*d) != sizeof(*s)); + BUILD_BUG_ON(_NSIG_WORDS != 2); + + return put_compat_sigset(d, s, sizeof(*d)); +} + +static inline int __copy_conv_sigset_from_user(sigset_t *d, + const compat_sigset_t __user *s) +{ + return get_compat_sigset(d, s); +} + +#endif /* __ASM_COMPAT_SIGNAL_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/dec/ioasic.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/dec/ioasic.h index 5afe46b01d..6d912f0958 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/dec/ioasic.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/dec/ioasic.h @@ -1,34 +1,34 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * include/asm-mips/dec/ioasic.h - * - * DEC I/O ASIC access operations. - * - * Copyright (C) 2000, 2002, 2003 Maciej W. Rozycki - */ - -#ifndef __ASM_DEC_IOASIC_H -#define __ASM_DEC_IOASIC_H - -#include -#include - -extern spinlock_t ioasic_ssr_lock; - -extern volatile u32 *ioasic_base; - -static inline void ioasic_write(unsigned int reg, u32 v) -{ - ioasic_base[reg / 4] = v; -} - -static inline u32 ioasic_read(unsigned int reg) -{ - return ioasic_base[reg / 4]; -} - -extern void init_ioasic_irqs(int base); - -extern int dec_ioasic_clocksource_init(void); - -#endif /* __ASM_DEC_IOASIC_H */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * include/asm-mips/dec/ioasic.h + * + * DEC I/O ASIC access operations. + * + * Copyright (C) 2000, 2002, 2003 Maciej W. Rozycki + */ + +#ifndef __ASM_DEC_IOASIC_H +#define __ASM_DEC_IOASIC_H + +#include +#include + +extern spinlock_t ioasic_ssr_lock; + +extern volatile u32 *ioasic_base; + +static inline void ioasic_write(unsigned int reg, u32 v) +{ + ioasic_base[reg / 4] = v; +} + +static inline u32 ioasic_read(unsigned int reg) +{ + return ioasic_base[reg / 4]; +} + +extern void init_ioasic_irqs(int base); + +extern int dec_ioasic_clocksource_init(void); + +#endif /* __ASM_DEC_IOASIC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/dec/kn230.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/dec/kn230.h index a24d5b46bb..cb13a77998 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/dec/kn230.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/dec/kn230.h @@ -1,22 +1,22 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * include/asm-mips/dec/kn230.h - * - * DECsystem 5100 (MIPSmate or KN230) definitions. - * - * Copyright (C) 2002, 2003 Maciej W. Rozycki - */ -#ifndef __ASM_MIPS_DEC_KN230_H -#define __ASM_MIPS_DEC_KN230_H - -/* - * CPU interrupt bits. - */ -#define KN230_CPU_INR_HALT 6 /* HALT button */ -#define KN230_CPU_INR_BUS 5 /* memory, I/O bus read/write errors */ -#define KN230_CPU_INR_RTC 4 /* DS1287 RTC */ -#define KN230_CPU_INR_SII 3 /* SII (DC7061) SCSI */ -#define KN230_CPU_INR_LANCE 3 /* LANCE (Am7990) Ethernet */ -#define KN230_CPU_INR_DZ11 2 /* DZ11 (DC7085) serial */ - -#endif /* __ASM_MIPS_DEC_KN230_H */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * include/asm-mips/dec/kn230.h + * + * DECsystem 5100 (MIPSmate or KN230) definitions. + * + * Copyright (C) 2002, 2003 Maciej W. Rozycki + */ +#ifndef __ASM_MIPS_DEC_KN230_H +#define __ASM_MIPS_DEC_KN230_H + +/* + * CPU interrupt bits. + */ +#define KN230_CPU_INR_HALT 6 /* HALT button */ +#define KN230_CPU_INR_BUS 5 /* memory, I/O bus read/write errors */ +#define KN230_CPU_INR_RTC 4 /* DS1287 RTC */ +#define KN230_CPU_INR_SII 3 /* SII (DC7061) SCSI */ +#define KN230_CPU_INR_LANCE 3 /* LANCE (Am7990) Ethernet */ +#define KN230_CPU_INR_DZ11 2 /* DZ11 (DC7085) serial */ + +#endif /* __ASM_MIPS_DEC_KN230_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/dec/machtype.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/dec/machtype.h index e4f4b21e78..a6ecdebc43 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/dec/machtype.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/dec/machtype.h @@ -1,27 +1,27 @@ -/* - * Various machine type macros - * - * 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) 1998, 2000 Harald Koerfgen - */ - -#ifndef __ASM_DEC_MACHTYPE_H -#define __ASM_DEC_MACHTYPE_H - -#include - -#define TURBOCHANNEL (mips_machtype == MACH_DS5000_200 || \ - mips_machtype == MACH_DS5000_1XX || \ - mips_machtype == MACH_DS5000_XX || \ - mips_machtype == MACH_DS5000_2X0 || \ - mips_machtype == MACH_DS5900) - -#define IOASIC (mips_machtype == MACH_DS5000_1XX || \ - mips_machtype == MACH_DS5000_XX || \ - mips_machtype == MACH_DS5000_2X0 || \ - mips_machtype == MACH_DS5900) - -#endif +/* + * Various machine type macros + * + * 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) 1998, 2000 Harald Koerfgen + */ + +#ifndef __ASM_DEC_MACHTYPE_H +#define __ASM_DEC_MACHTYPE_H + +#include + +#define TURBOCHANNEL (mips_machtype == MACH_DS5000_200 || \ + mips_machtype == MACH_DS5000_1XX || \ + mips_machtype == MACH_DS5000_XX || \ + mips_machtype == MACH_DS5000_2X0 || \ + mips_machtype == MACH_DS5900) + +#define IOASIC (mips_machtype == MACH_DS5000_1XX || \ + mips_machtype == MACH_DS5000_XX || \ + mips_machtype == MACH_DS5000_2X0 || \ + mips_machtype == MACH_DS5900) + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/delay.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/delay.h index edb148326d..dc0a5f77a3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/delay.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/delay.h @@ -1,32 +1,32 @@ -/* - * 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 by Waldorf Electronics - * Copyright (C) 1995 - 2000, 01, 03 by Ralf Baechle - * Copyright (C) 1999, 2000 Silicon Graphics, Inc. - * Copyright (C) 2007 Maciej W. Rozycki - */ -#ifndef _ASM_DELAY_H -#define _ASM_DELAY_H - -#include - -extern void __delay(unsigned long loops); -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 */ +/* + * 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 by Waldorf Electronics + * Copyright (C) 1995 - 2000, 01, 03 by Ralf Baechle + * Copyright (C) 1999, 2000 Silicon Graphics, Inc. + * Copyright (C) 2007 Maciej W. Rozycki + */ +#ifndef _ASM_DELAY_H +#define _ASM_DELAY_H + +#include + +extern void __delay(unsigned long loops); +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/mips/include/asm/edac.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/edac.h index dc2aca492c..c5d1477444 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/edac.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/edac.h @@ -1,38 +1,38 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef ASM_EDAC_H -#define ASM_EDAC_H - -#include - -/* ECC atomic, DMA, SMP and interrupt safe scrub function */ - -static inline void edac_atomic_scrub(void *va, u32 size) -{ - unsigned long *virt_addr = va; - unsigned long temp; - u32 i; - - for (i = 0; i < size / sizeof(unsigned long); i++) { - /* - * Very carefully read and write to memory atomically - * so we are interrupt, DMA and SMP safe. - * - * Intel: asm("lock; addl $0, %0"::"m"(*virt_addr)); - */ - - __asm__ __volatile__ ( - " .set push \n" - " .set mips2 \n" - "1: ll %0, %1 # edac_atomic_scrub \n" - " addu %0, $0 \n" - " sc %0, %1 \n" - " beqz %0, 1b \n" - " .set pop \n" - : "=&r" (temp), "=" GCC_OFF_SMALL_ASM() (*virt_addr) - : GCC_OFF_SMALL_ASM() (*virt_addr)); - - virt_addr++; - } -} - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef ASM_EDAC_H +#define ASM_EDAC_H + +#include + +/* ECC atomic, DMA, SMP and interrupt safe scrub function */ + +static inline void edac_atomic_scrub(void *va, u32 size) +{ + unsigned long *virt_addr = va; + unsigned long temp; + u32 i; + + for (i = 0; i < size / sizeof(unsigned long); i++) { + /* + * Very carefully read and write to memory atomically + * so we are interrupt, DMA and SMP safe. + * + * Intel: asm("lock; addl $0, %0"::"m"(*virt_addr)); + */ + + __asm__ __volatile__ ( + " .set push \n" + " .set mips2 \n" + "1: ll %0, %1 # edac_atomic_scrub \n" + " addu %0, $0 \n" + " sc %0, %1 \n" + " beqz %0, 1b \n" + " .set pop \n" + : "=&r" (temp), "=" GCC_OFF_SMALL_ASM() (*virt_addr) + : GCC_OFF_SMALL_ASM() (*virt_addr)); + + virt_addr++; + } +} + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/elfcore-compat.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/elfcore-compat.h index 923dfb9efe..2f0f0103c7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/elfcore-compat.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/elfcore-compat.h @@ -1,29 +1,29 @@ -#ifndef _ASM_MIPS_ELFCORE_COMPAT_H -#define _ASM_MIPS_ELFCORE_COMPAT_H - -/* - * On mips we have two 32bit ABIs - o32 and n32. The latter - * has bigger registers, so we use it for compat_elf_regset_t. - * The former uses o32_elf_prstatus and PRSTATUS_SIZE/SET_PR_FPVALID - * are used to choose the size and location of ->pr_fpvalid of - * the layout actually used. - */ -typedef elf_gregset_t compat_elf_gregset_t; - -struct o32_elf_prstatus -{ - struct compat_elf_prstatus_common common; - unsigned int pr_reg[ELF_NGREG]; - compat_int_t pr_fpvalid; -}; - -#define PRSTATUS_SIZE \ - (!test_thread_flag(TIF_32BIT_REGS) \ - ? sizeof(struct compat_elf_prstatus) \ - : sizeof(struct o32_elf_prstatus)) -#define SET_PR_FPVALID(S) \ - (*(!test_thread_flag(TIF_32BIT_REGS) \ - ? &(S)->pr_fpvalid \ - : &((struct o32_elf_prstatus *)(S))->pr_fpvalid) = 1) - -#endif +#ifndef _ASM_MIPS_ELFCORE_COMPAT_H +#define _ASM_MIPS_ELFCORE_COMPAT_H + +/* + * On mips we have two 32bit ABIs - o32 and n32. The latter + * has bigger registers, so we use it for compat_elf_regset_t. + * The former uses o32_elf_prstatus and PRSTATUS_SIZE/SET_PR_FPVALID + * are used to choose the size and location of ->pr_fpvalid of + * the layout actually used. + */ +typedef elf_gregset_t compat_elf_gregset_t; + +struct o32_elf_prstatus +{ + struct compat_elf_prstatus_common common; + unsigned int pr_reg[ELF_NGREG]; + compat_int_t pr_fpvalid; +}; + +#define PRSTATUS_SIZE \ + (!test_thread_flag(TIF_32BIT_REGS) \ + ? sizeof(struct compat_elf_prstatus) \ + : sizeof(struct o32_elf_prstatus)) +#define SET_PR_FPVALID(S) \ + (*(!test_thread_flag(TIF_32BIT_REGS) \ + ? &(S)->pr_fpvalid \ + : &((struct o32_elf_prstatus *)(S))->pr_fpvalid) = 1) + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/eva.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/eva.h index 6e9c262534..a3d1807f22 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/eva.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/eva.h @@ -1,43 +1,43 @@ -/* - * 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) 2014, Imagination Technologies Ltd. - * - * EVA functions for generic code - */ - -#ifndef _ASM_EVA_H -#define _ASM_EVA_H - -#include - -#ifdef __ASSEMBLY__ - -#ifdef CONFIG_EVA - -/* - * EVA early init code - * - * Platforms must define their own 'platform_eva_init' macro in - * their kernel-entry-init.h header. This macro usually does the - * platform specific configuration of the segmentation registers, - * and it is normally called from assembly code. - * - */ - -.macro eva_init -platform_eva_init -.endm - -#else - -.macro eva_init -.endm - -#endif /* CONFIG_EVA */ - -#endif /* __ASSEMBLY__ */ - -#endif +/* + * 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) 2014, Imagination Technologies Ltd. + * + * EVA functions for generic code + */ + +#ifndef _ASM_EVA_H +#define _ASM_EVA_H + +#include + +#ifdef __ASSEMBLY__ + +#ifdef CONFIG_EVA + +/* + * EVA early init code + * + * Platforms must define their own 'platform_eva_init' macro in + * their kernel-entry-init.h header. This macro usually does the + * platform specific configuration of the segmentation registers, + * and it is normally called from assembly code. + * + */ + +.macro eva_init +platform_eva_init +.endm + +#else + +.macro eva_init +.endm + +#endif /* CONFIG_EVA */ + +#endif /* __ASSEMBLY__ */ + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/fw/fw.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/fw/fw.h index 94f570def6..d0494ce4b3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/fw/fw.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/fw/fw.h @@ -1,31 +1,31 @@ -/* - * 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) 2012 MIPS Technologies, Inc. - */ -#ifndef __ASM_FW_H_ -#define __ASM_FW_H_ - -#include /* For cleaner code... */ - -extern int fw_argc; -extern int *_fw_argv; -extern int *_fw_envp; - -/* - * Most firmware like YAMON, PMON, etc. pass arguments and environment - * variables as 32-bit pointers. These take care of sign extension. - */ -#define fw_argv(index) ((char *)(long)_fw_argv[(index)]) -#define fw_envp(index) ((char *)(long)_fw_envp[(index)]) - -extern void fw_init_cmdline(void); -extern char *fw_getcmdline(void); -extern void fw_meminit(void); -extern char *fw_getenv(char *name); -extern unsigned long fw_getenvl(char *name); -extern void fw_init_early_console(void); - -#endif /* __ASM_FW_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) 2012 MIPS Technologies, Inc. + */ +#ifndef __ASM_FW_H_ +#define __ASM_FW_H_ + +#include /* For cleaner code... */ + +extern int fw_argc; +extern int *_fw_argv; +extern int *_fw_envp; + +/* + * Most firmware like YAMON, PMON, etc. pass arguments and environment + * variables as 32-bit pointers. These take care of sign extension. + */ +#define fw_argv(index) ((char *)(long)_fw_argv[(index)]) +#define fw_envp(index) ((char *)(long)_fw_envp[(index)]) + +extern void fw_init_cmdline(void); +extern char *fw_getcmdline(void); +extern void fw_meminit(void); +extern char *fw_getenv(char *name); +extern unsigned long fw_getenvl(char *name); +extern void fw_init_early_console(void); + +#endif /* __ASM_FW_H_ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/idle.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/idle.h index 9692b25c3e..0992cad9c6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/idle.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/idle.h @@ -1,32 +1,32 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_IDLE_H -#define __ASM_IDLE_H - -#include -#include - -extern void (*cpu_wait)(void); -extern void r4k_wait(void); -extern asmlinkage void __r4k_wait(void); -extern void r4k_wait_irqoff(void); - -static inline int using_rollback_handler(void) -{ - return cpu_wait == r4k_wait; -} - -extern void __init check_wait(void); - -extern int mips_cpuidle_wait_enter(struct cpuidle_device *dev, - struct cpuidle_driver *drv, int index); - -#define MIPS_CPUIDLE_WAIT_STATE {\ - .enter = mips_cpuidle_wait_enter,\ - .exit_latency = 1,\ - .target_residency = 1,\ - .power_usage = UINT_MAX,\ - .name = "wait",\ - .desc = "MIPS wait",\ -} - -#endif /* __ASM_IDLE_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_IDLE_H +#define __ASM_IDLE_H + +#include +#include + +extern void (*cpu_wait)(void); +extern void r4k_wait(void); +extern asmlinkage void __r4k_wait(void); +extern void r4k_wait_irqoff(void); + +static inline int using_rollback_handler(void) +{ + return cpu_wait == r4k_wait; +} + +extern void __init check_wait(void); + +extern int mips_cpuidle_wait_enter(struct cpuidle_device *dev, + struct cpuidle_driver *drv, int index); + +#define MIPS_CPUIDLE_WAIT_STATE {\ + .enter = mips_cpuidle_wait_enter,\ + .exit_latency = 1,\ + .target_residency = 1,\ + .power_usage = UINT_MAX,\ + .name = "wait",\ + .desc = "MIPS wait",\ +} + +#endif /* __ASM_IDLE_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-ath79/kernel-entry-init.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-ath79/kernel-entry-init.h index e380382172..88db67bf47 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-ath79/kernel-entry-init.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-ath79/kernel-entry-init.h @@ -1,28 +1,28 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Atheros AR71XX/AR724X/AR913X specific kernel entry setup - * - * Copyright (C) 2009 Gabor Juhos - */ -#ifndef __ASM_MACH_ATH79_KERNEL_ENTRY_H -#define __ASM_MACH_ATH79_KERNEL_ENTRY_H - - /* - * Some bootloaders set the 'Kseg0 coherency algorithm' to - * 'Cacheable, noncoherent, write-through, no write allocate' - * and this cause performance issues. Let's go and change it to - * 'Cacheable, noncoherent, write-back, write allocate' - */ - .macro kernel_entry_setup - mfc0 t0, CP0_CONFIG - li t1, ~CONF_CM_CMASK - and t0, t1 - ori t0, CONF_CM_CACHABLE_NONCOHERENT - mtc0 t0, CP0_CONFIG - nop - .endm - - .macro smp_slave_setup - .endm - -#endif /* __ASM_MACH_ATH79_KERNEL_ENTRY_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Atheros AR71XX/AR724X/AR913X specific kernel entry setup + * + * Copyright (C) 2009 Gabor Juhos + */ +#ifndef __ASM_MACH_ATH79_KERNEL_ENTRY_H +#define __ASM_MACH_ATH79_KERNEL_ENTRY_H + + /* + * Some bootloaders set the 'Kseg0 coherency algorithm' to + * 'Cacheable, noncoherent, write-through, no write allocate' + * and this cause performance issues. Let's go and change it to + * 'Cacheable, noncoherent, write-back, write allocate' + */ + .macro kernel_entry_setup + mfc0 t0, CP0_CONFIG + li t1, ~CONF_CM_CMASK + and t0, t1 + ori t0, CONF_CM_CACHABLE_NONCOHERENT + mtc0 t0, CP0_CONFIG + nop + .endm + + .macro smp_slave_setup + .endm + +#endif /* __ASM_MACH_ATH79_KERNEL_ENTRY_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-bcm47xx/bcm47xx.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-bcm47xx/bcm47xx.h index 7ba09db142..93817bfb7f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-bcm47xx/bcm47xx.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-bcm47xx/bcm47xx.h @@ -1,38 +1,38 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * Copyright (C) 2007 Aurelien Jarno - */ - -#ifndef __ASM_BCM47XX_H -#define __ASM_BCM47XX_H - -#include -#include -#include -#include -#include - -enum bcm47xx_bus_type { -#ifdef CONFIG_BCM47XX_SSB - BCM47XX_BUS_TYPE_SSB, -#endif -#ifdef CONFIG_BCM47XX_BCMA - BCM47XX_BUS_TYPE_BCMA, -#endif -}; - -union bcm47xx_bus { -#ifdef CONFIG_BCM47XX_SSB - struct ssb_bus ssb; -#endif -#ifdef CONFIG_BCM47XX_BCMA - struct bcma_soc bcma; -#endif -}; - -extern union bcm47xx_bus bcm47xx_bus; -extern enum bcm47xx_bus_type bcm47xx_bus_type; - -void bcm47xx_set_system_type(u16 chip_id); - -#endif /* __ASM_BCM47XX_H */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * Copyright (C) 2007 Aurelien Jarno + */ + +#ifndef __ASM_BCM47XX_H +#define __ASM_BCM47XX_H + +#include +#include +#include +#include +#include + +enum bcm47xx_bus_type { +#ifdef CONFIG_BCM47XX_SSB + BCM47XX_BUS_TYPE_SSB, +#endif +#ifdef CONFIG_BCM47XX_BCMA + BCM47XX_BUS_TYPE_BCMA, +#endif +}; + +union bcm47xx_bus { +#ifdef CONFIG_BCM47XX_SSB + struct ssb_bus ssb; +#endif +#ifdef CONFIG_BCM47XX_BCMA + struct bcma_soc bcma; +#endif +}; + +extern union bcm47xx_bus bcm47xx_bus; +extern enum bcm47xx_bus_type bcm47xx_bus_type; + +void bcm47xx_set_system_type(u16 chip_id); + +#endif /* __ASM_BCM47XX_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-bcm63xx/bcm63xx_gpio.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-bcm63xx/bcm63xx_gpio.h index c3b1243ff3..9212429d5e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-bcm63xx/bcm63xx_gpio.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-bcm63xx/bcm63xx_gpio.h @@ -1,35 +1,35 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef BCM63XX_GPIO_H -#define BCM63XX_GPIO_H - -#include -#include - -int __init bcm63xx_gpio_init(void); - -static inline unsigned long bcm63xx_gpio_count(void) -{ - switch (bcm63xx_get_cpu_id()) { - case BCM6328_CPU_ID: - return 32; - case BCM3368_CPU_ID: - return 40; - case BCM6338_CPU_ID: - return 8; - case BCM6345_CPU_ID: - return 16; - case BCM6358_CPU_ID: - case BCM6368_CPU_ID: - return 38; - case BCM6362_CPU_ID: - return 48; - case BCM6348_CPU_ID: - default: - return 37; - } -} - -#define BCM63XX_GPIO_DIR_OUT 0x0 -#define BCM63XX_GPIO_DIR_IN 0x1 - -#endif /* !BCM63XX_GPIO_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef BCM63XX_GPIO_H +#define BCM63XX_GPIO_H + +#include +#include + +int __init bcm63xx_gpio_init(void); + +static inline unsigned long bcm63xx_gpio_count(void) +{ + switch (bcm63xx_get_cpu_id()) { + case BCM6328_CPU_ID: + return 32; + case BCM3368_CPU_ID: + return 40; + case BCM6338_CPU_ID: + return 8; + case BCM6345_CPU_ID: + return 16; + case BCM6358_CPU_ID: + case BCM6368_CPU_ID: + return 38; + case BCM6362_CPU_ID: + return 48; + case BCM6348_CPU_ID: + default: + return 37; + } +} + +#define BCM63XX_GPIO_DIR_OUT 0x0 +#define BCM63XX_GPIO_DIR_IN 0x1 + +#endif /* !BCM63XX_GPIO_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-bcm63xx/bcm63xx_nvram.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-bcm63xx/bcm63xx_nvram.h index 242caeb701..f78d725f26 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-bcm63xx/bcm63xx_nvram.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-bcm63xx/bcm63xx_nvram.h @@ -1,36 +1,36 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef BCM63XX_NVRAM_H -#define BCM63XX_NVRAM_H - -#include - -/** - * bcm63xx_nvram_init() - initializes nvram - * @nvram: address of the nvram data - * - * Initialized the local nvram copy from the target address and checks - * its checksum. - */ -void bcm63xx_nvram_init(void *nvram); - -/** - * bcm63xx_nvram_get_name() - returns the board name according to nvram - * - * Returns the board name field from nvram. Note that it might not be - * null terminated if it is exactly 16 bytes long. - */ -u8 *bcm63xx_nvram_get_name(void); - -/** - * bcm63xx_nvram_get_mac_address() - register & return a new mac address - * @mac: pointer to array for allocated mac - * - * Registers and returns a mac address from the allocated macs from nvram. - * - * Returns 0 on success. - */ -int bcm63xx_nvram_get_mac_address(u8 *mac); - -int bcm63xx_nvram_get_psi_size(void); - -#endif /* BCM63XX_NVRAM_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef BCM63XX_NVRAM_H +#define BCM63XX_NVRAM_H + +#include + +/** + * bcm63xx_nvram_init() - initializes nvram + * @nvram: address of the nvram data + * + * Initialized the local nvram copy from the target address and checks + * its checksum. + */ +void bcm63xx_nvram_init(void *nvram); + +/** + * bcm63xx_nvram_get_name() - returns the board name according to nvram + * + * Returns the board name field from nvram. Note that it might not be + * null terminated if it is exactly 16 bytes long. + */ +u8 *bcm63xx_nvram_get_name(void); + +/** + * bcm63xx_nvram_get_mac_address() - register & return a new mac address + * @mac: pointer to array for allocated mac + * + * Registers and returns a mac address from the allocated macs from nvram. + * + * Returns 0 on success. + */ +int bcm63xx_nvram_get_mac_address(u8 *mac); + +int bcm63xx_nvram_get_psi_size(void); + +#endif /* BCM63XX_NVRAM_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-bmips/ioremap.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-bmips/ioremap.h index 3b27e6d7fb..63b4af9916 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-bmips/ioremap.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-bmips/ioremap.h @@ -1,29 +1,29 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_MACH_BMIPS_IOREMAP_H -#define __ASM_MACH_BMIPS_IOREMAP_H - -#include - -static inline int is_bmips_internal_registers(phys_addr_t offset) -{ - if (offset >= 0xfff80000) - return 1; - - return 0; -} - -static inline void __iomem *plat_ioremap(phys_addr_t offset, unsigned long size, - unsigned long flags) -{ - if (is_bmips_internal_registers(offset)) - return (void __iomem *)offset; - - return NULL; -} - -static inline int plat_iounmap(const volatile void __iomem *addr) -{ - return is_bmips_internal_registers((unsigned long)addr); -} - -#endif /* __ASM_MACH_BMIPS_IOREMAP_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_MACH_BMIPS_IOREMAP_H +#define __ASM_MACH_BMIPS_IOREMAP_H + +#include + +static inline int is_bmips_internal_registers(phys_addr_t offset) +{ + if (offset >= 0xfff80000) + return 1; + + return 0; +} + +static inline void __iomem *plat_ioremap(phys_addr_t offset, unsigned long size, + unsigned long flags) +{ + if (is_bmips_internal_registers(offset)) + return (void __iomem *)offset; + + return NULL; +} + +static inline int plat_iounmap(const volatile void __iomem *addr) +{ + return is_bmips_internal_registers((unsigned long)addr); +} + +#endif /* __ASM_MACH_BMIPS_IOREMAP_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-cavium-octeon/spaces.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-cavium-octeon/spaces.h index 8caafd5441..daa91accf5 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-cavium-octeon/spaces.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-cavium-octeon/spaces.h @@ -1,24 +1,24 @@ -/* - * 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) 2012 Cavium, Inc. - */ -#ifndef _ASM_MACH_CAVIUM_OCTEON_SPACES_H -#define _ASM_MACH_CAVIUM_OCTEON_SPACES_H - -#include - -#ifdef CONFIG_64BIT -/* They are all the same and some OCTEON II cores cannot handle 0xa8.. */ -#define CAC_BASE _AC(0x8000000000000000, UL) -#define UNCAC_BASE _AC(0x8000000000000000, UL) -#define IO_BASE _AC(0x8000000000000000, UL) - - -#endif /* CONFIG_64BIT */ - -#include - -#endif /* _ASM_MACH_CAVIUM_OCTEON_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) 2012 Cavium, Inc. + */ +#ifndef _ASM_MACH_CAVIUM_OCTEON_SPACES_H +#define _ASM_MACH_CAVIUM_OCTEON_SPACES_H + +#include + +#ifdef CONFIG_64BIT +/* They are all the same and some OCTEON II cores cannot handle 0xa8.. */ +#define CAC_BASE _AC(0x8000000000000000, UL) +#define UNCAC_BASE _AC(0x8000000000000000, UL) +#define IO_BASE _AC(0x8000000000000000, UL) + + +#endif /* CONFIG_64BIT */ + +#include + +#endif /* _ASM_MACH_CAVIUM_OCTEON_SPACES_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-cobalt/cobalt.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-cobalt/cobalt.h index 4befcc1771..97f9d5e944 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-cobalt/cobalt.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-cobalt/cobalt.h @@ -1,25 +1,25 @@ -/* - * The Cobalt board ID information. - * - * 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 Cobalt Microserver - * Copyright (C) 1997, 2003 Ralf Baechle - * Copyright (C) 2001, 2002, 2003 Liam Davies (ldavies@agile.tv) - */ -#ifndef __ASM_COBALT_H -#define __ASM_COBALT_H - -extern int cobalt_board_id; - -#define COBALT_BRD_ID_QUBE1 0x3 -#define COBALT_BRD_ID_RAQ1 0x4 -#define COBALT_BRD_ID_QUBE2 0x5 -#define COBALT_BRD_ID_RAQ2 0x6 - -void cobalt_machine_halt(void); -void cobalt_machine_restart(char *command); - -#endif /* __ASM_COBALT_H */ +/* + * The Cobalt board ID information. + * + * 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 Cobalt Microserver + * Copyright (C) 1997, 2003 Ralf Baechle + * Copyright (C) 2001, 2002, 2003 Liam Davies (ldavies@agile.tv) + */ +#ifndef __ASM_COBALT_H +#define __ASM_COBALT_H + +extern int cobalt_board_id; + +#define COBALT_BRD_ID_QUBE1 0x3 +#define COBALT_BRD_ID_RAQ1 0x4 +#define COBALT_BRD_ID_QUBE2 0x5 +#define COBALT_BRD_ID_RAQ2 0x6 + +void cobalt_machine_halt(void); +void cobalt_machine_restart(char *command); + +#endif /* __ASM_COBALT_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-dec/mc146818rtc.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-dec/mc146818rtc.h index 3628ac7119..d4614e2a87 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-dec/mc146818rtc.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-dec/mc146818rtc.h @@ -1,39 +1,39 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * RTC definitions for DECstation style attached Dallas DS1287 chip. - * - * Copyright (C) 1998, 2001 by Ralf Baechle - * Copyright (C) 1998 by Harald Koerfgen - * Copyright (C) 2002, 2005 Maciej W. Rozycki - */ -#ifndef __ASM_MIPS_DEC_RTC_DEC_H -#define __ASM_MIPS_DEC_RTC_DEC_H - -#include -#include -#include - -extern volatile u8 *dec_rtc_base; - -#define ARCH_RTC_LOCATION - -#define RTC_PORT(x) CPHYSADDR((long)dec_rtc_base) -#define RTC_IO_EXTENT dec_kn_slot_size -#define RTC_IOMAPPED 0 -#undef RTC_IRQ - -#define RTC_DEC_YEAR 0x3f /* Where we store the real year on DECs. */ - -static inline unsigned char CMOS_READ(unsigned long addr) -{ - return dec_rtc_base[addr * 4]; -} - -static inline void CMOS_WRITE(unsigned char data, unsigned long addr) -{ - dec_rtc_base[addr * 4] = data; -} - -#define RTC_ALWAYS_BCD 0 - -#endif /* __ASM_MIPS_DEC_RTC_DEC_H */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * RTC definitions for DECstation style attached Dallas DS1287 chip. + * + * Copyright (C) 1998, 2001 by Ralf Baechle + * Copyright (C) 1998 by Harald Koerfgen + * Copyright (C) 2002, 2005 Maciej W. Rozycki + */ +#ifndef __ASM_MIPS_DEC_RTC_DEC_H +#define __ASM_MIPS_DEC_RTC_DEC_H + +#include +#include +#include + +extern volatile u8 *dec_rtc_base; + +#define ARCH_RTC_LOCATION + +#define RTC_PORT(x) CPHYSADDR((long)dec_rtc_base) +#define RTC_IO_EXTENT dec_kn_slot_size +#define RTC_IOMAPPED 0 +#undef RTC_IRQ + +#define RTC_DEC_YEAR 0x3f /* Where we store the real year on DECs. */ + +static inline unsigned char CMOS_READ(unsigned long addr) +{ + return dec_rtc_base[addr * 4]; +} + +static inline void CMOS_WRITE(unsigned char data, unsigned long addr) +{ + dec_rtc_base[addr * 4] = data; +} + +#define RTC_ALWAYS_BCD 0 + +#endif /* __ASM_MIPS_DEC_RTC_DEC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-generic/irq.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-generic/irq.h index 84fa9ef776..4249af4bef 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-generic/irq.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-generic/irq.h @@ -1,33 +1,33 @@ -/* - * 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 - -#ifndef NR_IRQS -#define NR_IRQS 256 -#endif - -#ifdef CONFIG_I8259 -#ifndef I8259A_IRQ_BASE -#define I8259A_IRQ_BASE 0 -#endif -#endif - -#ifdef CONFIG_IRQ_MIPS_CPU - -#ifndef MIPS_CPU_IRQ_BASE -#ifdef CONFIG_I8259 -#define MIPS_CPU_IRQ_BASE 16 -#else -#define MIPS_CPU_IRQ_BASE 0 -#endif /* CONFIG_I8259 */ -#endif - -#endif /* CONFIG_IRQ_MIPS_CPU */ - -#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 + +#ifndef NR_IRQS +#define NR_IRQS 256 +#endif + +#ifdef CONFIG_I8259 +#ifndef I8259A_IRQ_BASE +#define I8259A_IRQ_BASE 0 +#endif +#endif + +#ifdef CONFIG_IRQ_MIPS_CPU + +#ifndef MIPS_CPU_IRQ_BASE +#ifdef CONFIG_I8259 +#define MIPS_CPU_IRQ_BASE 16 +#else +#define MIPS_CPU_IRQ_BASE 0 +#endif /* CONFIG_I8259 */ +#endif + +#endif /* CONFIG_IRQ_MIPS_CPU */ + +#endif /* __ASM_MACH_GENERIC_IRQ_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-generic/kernel-entry-init.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-generic/kernel-entry-init.h index 79c0819dee..a229297c88 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-generic/kernel-entry-init.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-generic/kernel-entry-init.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) 2005 Embedded Alley Solutions, Inc - * Copyright (C) 2005 Ralf Baechle (ralf@linux-mips.org) - */ -#ifndef __ASM_MACH_GENERIC_KERNEL_ENTRY_H -#define __ASM_MACH_GENERIC_KERNEL_ENTRY_H - -/* Intentionally empty macro, used in head.S. Override in - * arch/mips/mach-xxx/kernel-entry-init.h when necessary. - */ - .macro kernel_entry_setup - .endm - -/* - * Do SMP slave processor setup necessary before we can safely execute C code. - */ - .macro smp_slave_setup - .endm - - -#endif /* __ASM_MACH_GENERIC_KERNEL_ENTRY_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) 2005 Embedded Alley Solutions, Inc + * Copyright (C) 2005 Ralf Baechle (ralf@linux-mips.org) + */ +#ifndef __ASM_MACH_GENERIC_KERNEL_ENTRY_H +#define __ASM_MACH_GENERIC_KERNEL_ENTRY_H + +/* Intentionally empty macro, used in head.S. Override in + * arch/mips/mach-xxx/kernel-entry-init.h when necessary. + */ + .macro kernel_entry_setup + .endm + +/* + * Do SMP slave processor setup necessary before we can safely execute C code. + */ + .macro smp_slave_setup + .endm + + +#endif /* __ASM_MACH_GENERIC_KERNEL_ENTRY_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-generic/mc146818rtc.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-generic/mc146818rtc.h index b61339ee3b..9c72e540ff 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-generic/mc146818rtc.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-generic/mc146818rtc.h @@ -1,36 +1,36 @@ -/* - * 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) 1998, 2001, 03 by Ralf Baechle - * - * RTC routines for PC style attached Dallas chip. - */ -#ifndef __ASM_MACH_GENERIC_MC146818RTC_H -#define __ASM_MACH_GENERIC_MC146818RTC_H - -#include - -#define RTC_PORT(x) (0x70 + (x)) -#define RTC_IRQ 8 - -static inline unsigned char CMOS_READ(unsigned long addr) -{ - outb_p(addr, RTC_PORT(0)); - return inb_p(RTC_PORT(1)); -} - -static inline void CMOS_WRITE(unsigned char data, unsigned long addr) -{ - outb_p(addr, RTC_PORT(0)); - outb_p(data, RTC_PORT(1)); -} - -#define RTC_ALWAYS_BCD 0 - -#ifndef mc146818_decode_year -#define mc146818_decode_year(year) ((year) < 70 ? (year) + 2000 : (year) + 1900) -#endif - -#endif /* __ASM_MACH_GENERIC_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. + * + * Copyright (C) 1998, 2001, 03 by Ralf Baechle + * + * RTC routines for PC style attached Dallas chip. + */ +#ifndef __ASM_MACH_GENERIC_MC146818RTC_H +#define __ASM_MACH_GENERIC_MC146818RTC_H + +#include + +#define RTC_PORT(x) (0x70 + (x)) +#define RTC_IRQ 8 + +static inline unsigned char CMOS_READ(unsigned long addr) +{ + outb_p(addr, RTC_PORT(0)); + return inb_p(RTC_PORT(1)); +} + +static inline void CMOS_WRITE(unsigned char data, unsigned long addr) +{ + outb_p(addr, RTC_PORT(0)); + outb_p(data, RTC_PORT(1)); +} + +#define RTC_ALWAYS_BCD 0 + +#ifndef mc146818_decode_year +#define mc146818_decode_year(year) ((year) < 70 ? (year) + 2000 : (year) + 1900) +#endif + +#endif /* __ASM_MACH_GENERIC_MC146818RTC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-ip27/irq.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-ip27/irq.h index 8e118d5d9c..f45d7999fd 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-ip27/irq.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-ip27/irq.h @@ -1,24 +1,24 @@ -/* - * 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) 1999, 2000, 01, 02, 03 by Ralf Baechle - * Copyright (C) 1999, 2000 Silicon Graphics, Inc. - * Copyright (C) 2001 Kanoj Sarcar - */ -#ifndef __ASM_MACH_IP27_IRQ_H -#define __ASM_MACH_IP27_IRQ_H - -#define NR_IRQS 256 - -#include - -#define IP27_HUB_PEND0_IRQ (MIPS_CPU_IRQ_BASE + 2) -#define IP27_HUB_PEND1_IRQ (MIPS_CPU_IRQ_BASE + 3) -#define IP27_RT_TIMER_IRQ (MIPS_CPU_IRQ_BASE + 4) - -#define IP27_HUB_IRQ_BASE (MIPS_CPU_IRQ_BASE + 8) -#define IP27_HUB_IRQ_COUNT 128 - -#endif /* __ASM_MACH_IP27_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) 1999, 2000, 01, 02, 03 by Ralf Baechle + * Copyright (C) 1999, 2000 Silicon Graphics, Inc. + * Copyright (C) 2001 Kanoj Sarcar + */ +#ifndef __ASM_MACH_IP27_IRQ_H +#define __ASM_MACH_IP27_IRQ_H + +#define NR_IRQS 256 + +#include + +#define IP27_HUB_PEND0_IRQ (MIPS_CPU_IRQ_BASE + 2) +#define IP27_HUB_PEND1_IRQ (MIPS_CPU_IRQ_BASE + 3) +#define IP27_RT_TIMER_IRQ (MIPS_CPU_IRQ_BASE + 4) + +#define IP27_HUB_IRQ_BASE (MIPS_CPU_IRQ_BASE + 8) +#define IP27_HUB_IRQ_COUNT 128 + +#endif /* __ASM_MACH_IP27_IRQ_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-ip27/mangle-port.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-ip27/mangle-port.h index 0b1f718e78..f71c38bbfc 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-ip27/mangle-port.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-ip27/mangle-port.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) 2003, 2004 Ralf Baechle - */ -#ifndef __ASM_MACH_IP27_MANGLE_PORT_H -#define __ASM_MACH_IP27_MANGLE_PORT_H - -#define __swizzle_addr_b(port) ((port) ^ 3) -#define __swizzle_addr_w(port) ((port) ^ 2) -#define __swizzle_addr_l(port) (port) -#define __swizzle_addr_q(port) (port) - -# define ioswabb(a, x) (x) -# define __mem_ioswabb(a, x) (x) -# define ioswabw(a, x) (x) -# define __mem_ioswabw(a, x) ((__force u16)cpu_to_le16(x)) -# define ioswabl(a, x) (x) -# define __mem_ioswabl(a, x) ((__force u32)cpu_to_le32(x)) -# define ioswabq(a, x) (x) -# define __mem_ioswabq(a, x) ((__force u64)cpu_to_le64(x)) - -#endif /* __ASM_MACH_IP27_MANGLE_PORT_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, 2004 Ralf Baechle + */ +#ifndef __ASM_MACH_IP27_MANGLE_PORT_H +#define __ASM_MACH_IP27_MANGLE_PORT_H + +#define __swizzle_addr_b(port) ((port) ^ 3) +#define __swizzle_addr_w(port) ((port) ^ 2) +#define __swizzle_addr_l(port) (port) +#define __swizzle_addr_q(port) (port) + +# define ioswabb(a, x) (x) +# define __mem_ioswabb(a, x) (x) +# define ioswabw(a, x) (x) +# define __mem_ioswabw(a, x) ((__force u16)cpu_to_le16(x)) +# define ioswabl(a, x) (x) +# define __mem_ioswabl(a, x) ((__force u32)cpu_to_le32(x)) +# define ioswabq(a, x) (x) +# define __mem_ioswabq(a, x) ((__force u64)cpu_to_le64(x)) + +#endif /* __ASM_MACH_IP27_MANGLE_PORT_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-ip27/topology.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-ip27/topology.h index f50eaca34e..d66cc53fea 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-ip27/topology.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-ip27/topology.h @@ -1,31 +1,31 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_MACH_TOPOLOGY_H -#define _ASM_MACH_TOPOLOGY_H 1 - -#include -#include - -struct cpuinfo_ip27 { - nasid_t p_nasid; /* my node ID in numa-as-id-space */ - unsigned short p_speed; /* cpu speed in MHz */ - unsigned char p_slice; /* Physical position on node board */ -}; - -extern struct cpuinfo_ip27 sn_cpu_info[NR_CPUS]; - -#define cpu_to_node(cpu) (cputonasid(cpu)) -#define cpumask_of_node(node) ((node) == -1 ? \ - cpu_all_mask : \ - &hub_data(node)->h_cpus) -struct pci_bus; -extern int pcibus_to_node(struct pci_bus *); - -#define cpumask_of_pcibus(bus) (cpumask_of_node(pcibus_to_node(bus))) - -extern unsigned char __node_distances[MAX_NUMNODES][MAX_NUMNODES]; - -#define node_distance(from, to) (__node_distances[(from)][(to)]) - -#include - -#endif /* _ASM_MACH_TOPOLOGY_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_MACH_TOPOLOGY_H +#define _ASM_MACH_TOPOLOGY_H 1 + +#include +#include + +struct cpuinfo_ip27 { + nasid_t p_nasid; /* my node ID in numa-as-id-space */ + unsigned short p_speed; /* cpu speed in MHz */ + unsigned char p_slice; /* Physical position on node board */ +}; + +extern struct cpuinfo_ip27 sn_cpu_info[NR_CPUS]; + +#define cpu_to_node(cpu) (cputonasid(cpu)) +#define cpumask_of_node(node) ((node) == -1 ? \ + cpu_all_mask : \ + &hub_data(node)->h_cpus) +struct pci_bus; +extern int pcibus_to_node(struct pci_bus *); + +#define cpumask_of_pcibus(bus) (cpumask_of_node(pcibus_to_node(bus))) + +extern unsigned char __node_distances[MAX_NUMNODES][MAX_NUMNODES]; + +#define node_distance(from, to) (__node_distances[(from)][(to)]) + +#include + +#endif /* _ASM_MACH_TOPOLOGY_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-ip30/mangle-port.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-ip30/mangle-port.h index 1e807b0f44..439c6a6018 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-ip30/mangle-port.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-ip30/mangle-port.h @@ -1,22 +1,22 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2003, 2004 Ralf Baechle - */ -#ifndef __ASM_MACH_IP30_MANGLE_PORT_H -#define __ASM_MACH_IP30_MANGLE_PORT_H - -#define __swizzle_addr_b(port) ((port)^3) -#define __swizzle_addr_w(port) ((port)^2) -#define __swizzle_addr_l(port) (port) -#define __swizzle_addr_q(port) (port) - -#define ioswabb(a, x) (x) -#define __mem_ioswabb(a, x) (x) -#define ioswabw(a, x) (x) -#define __mem_ioswabw(a, x) ((__force u16)cpu_to_le16(x)) -#define ioswabl(a, x) (x) -#define __mem_ioswabl(a, x) ((__force u32)cpu_to_le32(x)) -#define ioswabq(a, x) (x) -#define __mem_ioswabq(a, x) ((__force u64)cpu_to_le64(x)) - -#endif /* __ASM_MACH_IP30_MANGLE_PORT_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2003, 2004 Ralf Baechle + */ +#ifndef __ASM_MACH_IP30_MANGLE_PORT_H +#define __ASM_MACH_IP30_MANGLE_PORT_H + +#define __swizzle_addr_b(port) ((port)^3) +#define __swizzle_addr_w(port) ((port)^2) +#define __swizzle_addr_l(port) (port) +#define __swizzle_addr_q(port) (port) + +#define ioswabb(a, x) (x) +#define __mem_ioswabb(a, x) (x) +#define ioswabw(a, x) (x) +#define __mem_ioswabw(a, x) ((__force u16)cpu_to_le16(x)) +#define ioswabl(a, x) (x) +#define __mem_ioswabl(a, x) ((__force u32)cpu_to_le32(x)) +#define ioswabq(a, x) (x) +#define __mem_ioswabq(a, x) ((__force u64)cpu_to_le64(x)) + +#endif /* __ASM_MACH_IP30_MANGLE_PORT_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-ip32/mangle-port.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-ip32/mangle-port.h index b9403c728f..4bc3d20e82 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-ip32/mangle-port.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-ip32/mangle-port.h @@ -1,26 +1,26 @@ -/* - * 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 Ladislav Michl - * Copyright (C) 2004 Ralf Baechle - */ -#ifndef __ASM_MACH_IP32_MANGLE_PORT_H -#define __ASM_MACH_IP32_MANGLE_PORT_H - -#define __swizzle_addr_b(port) ((port) ^ 3) -#define __swizzle_addr_w(port) ((port) ^ 2) -#define __swizzle_addr_l(port) (port) -#define __swizzle_addr_q(port) (port) - -# define ioswabb(a, x) (x) -# define __mem_ioswabb(a, x) (x) -# define ioswabw(a, x) (x) -# define __mem_ioswabw(a, x) ((__force u16)cpu_to_le16(x)) -# define ioswabl(a, x) (x) -# define __mem_ioswabl(a, x) ((__force u32)cpu_to_le32(x)) -# define ioswabq(a, x) (x) -# define __mem_ioswabq(a, x) ((__force u64)cpu_to_le64(x)) - -#endif /* __ASM_MACH_IP32_MANGLE_PORT_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 Ladislav Michl + * Copyright (C) 2004 Ralf Baechle + */ +#ifndef __ASM_MACH_IP32_MANGLE_PORT_H +#define __ASM_MACH_IP32_MANGLE_PORT_H + +#define __swizzle_addr_b(port) ((port) ^ 3) +#define __swizzle_addr_w(port) ((port) ^ 2) +#define __swizzle_addr_l(port) (port) +#define __swizzle_addr_q(port) (port) + +# define ioswabb(a, x) (x) +# define __mem_ioswabb(a, x) (x) +# define ioswabw(a, x) (x) +# define __mem_ioswabw(a, x) ((__force u16)cpu_to_le16(x)) +# define ioswabl(a, x) (x) +# define __mem_ioswabl(a, x) ((__force u32)cpu_to_le32(x)) +# define ioswabq(a, x) (x) +# define __mem_ioswabq(a, x) ((__force u64)cpu_to_le64(x)) + +#endif /* __ASM_MACH_IP32_MANGLE_PORT_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-jazz/mc146818rtc.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-jazz/mc146818rtc.h index 5624afe484..987f727afe 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-jazz/mc146818rtc.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-jazz/mc146818rtc.h @@ -1,38 +1,38 @@ -/* - * 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) 1998, 2001, 03 by Ralf Baechle - * Copyright (C) 2007 Thomas Bogendoerfer - * - * RTC routines for Jazz style attached Dallas chip. - */ -#ifndef __ASM_MACH_JAZZ_MC146818RTC_H -#define __ASM_MACH_JAZZ_MC146818RTC_H - -#include - -#include -#include - -#define RTC_PORT(x) (0x70 + (x)) -#define RTC_IRQ 8 - -static inline unsigned char CMOS_READ(unsigned long addr) -{ - outb_p(addr, RTC_PORT(0)); - return *(volatile char *)JAZZ_RTC_BASE; -} - -static inline void CMOS_WRITE(unsigned char data, unsigned long addr) -{ - outb_p(addr, RTC_PORT(0)); - *(volatile char *)JAZZ_RTC_BASE = data; -} - -#define RTC_ALWAYS_BCD 0 - -#define mc146818_decode_year(year) ((year) + 1980) - -#endif /* __ASM_MACH_JAZZ_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. + * + * Copyright (C) 1998, 2001, 03 by Ralf Baechle + * Copyright (C) 2007 Thomas Bogendoerfer + * + * RTC routines for Jazz style attached Dallas chip. + */ +#ifndef __ASM_MACH_JAZZ_MC146818RTC_H +#define __ASM_MACH_JAZZ_MC146818RTC_H + +#include + +#include +#include + +#define RTC_PORT(x) (0x70 + (x)) +#define RTC_IRQ 8 + +static inline unsigned char CMOS_READ(unsigned long addr) +{ + outb_p(addr, RTC_PORT(0)); + return *(volatile char *)JAZZ_RTC_BASE; +} + +static inline void CMOS_WRITE(unsigned char data, unsigned long addr) +{ + outb_p(addr, RTC_PORT(0)); + *(volatile char *)JAZZ_RTC_BASE = data; +} + +#define RTC_ALWAYS_BCD 0 + +#define mc146818_decode_year(year) ((year) + 1980) + +#endif /* __ASM_MACH_JAZZ_MC146818RTC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-loongson2ef/cs5536/cs5536_mfgpt.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-loongson2ef/cs5536/cs5536_mfgpt.h index 865fc00d19..52e8bb0fc0 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-loongson2ef/cs5536/cs5536_mfgpt.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-loongson2ef/cs5536/cs5536_mfgpt.h @@ -1,36 +1,36 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * cs5536 mfgpt header file - */ - -#ifndef _CS5536_MFGPT_H -#define _CS5536_MFGPT_H - -#include -#include - -#ifdef CONFIG_CS5536_MFGPT -extern void setup_mfgpt0_timer(void); -extern void disable_mfgpt0_counter(void); -extern void enable_mfgpt0_counter(void); -#else -static inline void __maybe_unused setup_mfgpt0_timer(void) -{ -} -static inline void __maybe_unused disable_mfgpt0_counter(void) -{ -} -static inline void __maybe_unused enable_mfgpt0_counter(void) -{ -} -#endif - -#define MFGPT_TICK_RATE 14318000 -#define COMPARE ((MFGPT_TICK_RATE + HZ/2) / HZ) - -#define MFGPT_BASE mfgpt_base -#define MFGPT0_CMP2 (MFGPT_BASE + 2) -#define MFGPT0_CNT (MFGPT_BASE + 4) -#define MFGPT0_SETUP (MFGPT_BASE + 6) - -#endif /*!_CS5536_MFGPT_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * cs5536 mfgpt header file + */ + +#ifndef _CS5536_MFGPT_H +#define _CS5536_MFGPT_H + +#include +#include + +#ifdef CONFIG_CS5536_MFGPT +extern void setup_mfgpt0_timer(void); +extern void disable_mfgpt0_counter(void); +extern void enable_mfgpt0_counter(void); +#else +static inline void __maybe_unused setup_mfgpt0_timer(void) +{ +} +static inline void __maybe_unused disable_mfgpt0_counter(void) +{ +} +static inline void __maybe_unused enable_mfgpt0_counter(void) +{ +} +#endif + +#define MFGPT_TICK_RATE 14318000 +#define COMPARE ((MFGPT_TICK_RATE + HZ/2) / HZ) + +#define MFGPT_BASE mfgpt_base +#define MFGPT0_CMP2 (MFGPT_BASE + 2) +#define MFGPT0_CNT (MFGPT_BASE + 4) +#define MFGPT0_SETUP (MFGPT_BASE + 6) + +#endif /*!_CS5536_MFGPT_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-loongson2ef/cs5536/cs5536_vsm.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-loongson2ef/cs5536/cs5536_vsm.h index 9c2b933352..70d0153ccc 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-loongson2ef/cs5536/cs5536_vsm.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-loongson2ef/cs5536/cs5536_vsm.h @@ -1,32 +1,32 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * the read/write interfaces for Virtual Support Module(VSM) - * - * Copyright (C) 2009 Lemote, Inc. - * Author: Wu Zhangjin - */ - -#ifndef _CS5536_VSM_H -#define _CS5536_VSM_H - -#include - -typedef void (*cs5536_pci_vsm_write)(int reg, u32 value); -typedef u32 (*cs5536_pci_vsm_read)(int reg); - -#define DECLARE_CS5536_MODULE(name) \ -extern void pci_##name##_write_reg(int reg, u32 value); \ -extern u32 pci_##name##_read_reg(int reg); - -/* ide module */ -DECLARE_CS5536_MODULE(ide) -/* acc module */ -DECLARE_CS5536_MODULE(acc) -/* ohci module */ -DECLARE_CS5536_MODULE(ohci) -/* isa module */ -DECLARE_CS5536_MODULE(isa) -/* ehci module */ -DECLARE_CS5536_MODULE(ehci) - -#endif /* _CS5536_VSM_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * the read/write interfaces for Virtual Support Module(VSM) + * + * Copyright (C) 2009 Lemote, Inc. + * Author: Wu Zhangjin + */ + +#ifndef _CS5536_VSM_H +#define _CS5536_VSM_H + +#include + +typedef void (*cs5536_pci_vsm_write)(int reg, u32 value); +typedef u32 (*cs5536_pci_vsm_read)(int reg); + +#define DECLARE_CS5536_MODULE(name) \ +extern void pci_##name##_write_reg(int reg, u32 value); \ +extern u32 pci_##name##_read_reg(int reg); + +/* ide module */ +DECLARE_CS5536_MODULE(ide) +/* acc module */ +DECLARE_CS5536_MODULE(acc) +/* ohci module */ +DECLARE_CS5536_MODULE(ohci) +/* isa module */ +DECLARE_CS5536_MODULE(isa) +/* ehci module */ +DECLARE_CS5536_MODULE(ehci) + +#endif /* _CS5536_VSM_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-loongson2ef/mem.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-loongson2ef/mem.h index e20ebaeb0f..d1d759b897 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-loongson2ef/mem.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-loongson2ef/mem.h @@ -1,37 +1,37 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * Copyright (C) 2009 Lemote, Inc. - * Author: Wu Zhangjin - */ - -#ifndef __ASM_MACH_LOONGSON2EF_MEM_H -#define __ASM_MACH_LOONGSON2EF_MEM_H - -/* - * high memory space - * - * in loongson2e, starts from 512M - * in loongson2f, starts from 2G 256M - */ -#ifdef CONFIG_CPU_LOONGSON2E -#define LOONGSON_HIGHMEM_START 0x20000000 -#else -#define LOONGSON_HIGHMEM_START 0x90000000 -#endif - -/* - * the peripheral registers(MMIO): - * - * On the Lemote Loongson 2e system, reside between 0x1000:0000 and 0x2000:0000. - * On the Lemote Loongson 2f system, reside between 0x1000:0000 and 0x8000:0000. - */ - -#define LOONGSON_MMIO_MEM_START 0x10000000 - -#ifdef CONFIG_CPU_LOONGSON2E -#define LOONGSON_MMIO_MEM_END 0x20000000 -#else -#define LOONGSON_MMIO_MEM_END 0x80000000 -#endif - -#endif /* __ASM_MACH_LOONGSON2EF_MEM_H */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * Copyright (C) 2009 Lemote, Inc. + * Author: Wu Zhangjin + */ + +#ifndef __ASM_MACH_LOONGSON2EF_MEM_H +#define __ASM_MACH_LOONGSON2EF_MEM_H + +/* + * high memory space + * + * in loongson2e, starts from 512M + * in loongson2f, starts from 2G 256M + */ +#ifdef CONFIG_CPU_LOONGSON2E +#define LOONGSON_HIGHMEM_START 0x20000000 +#else +#define LOONGSON_HIGHMEM_START 0x90000000 +#endif + +/* + * the peripheral registers(MMIO): + * + * On the Lemote Loongson 2e system, reside between 0x1000:0000 and 0x2000:0000. + * On the Lemote Loongson 2f system, reside between 0x1000:0000 and 0x8000:0000. + */ + +#define LOONGSON_MMIO_MEM_START 0x10000000 + +#ifdef CONFIG_CPU_LOONGSON2E +#define LOONGSON_MMIO_MEM_END 0x20000000 +#else +#define LOONGSON_MMIO_MEM_END 0x80000000 +#endif + +#endif /* __ASM_MACH_LOONGSON2EF_MEM_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-loongson32/platform.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-loongson32/platform.h index a0e8c46dcd..f74292b13b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-loongson32/platform.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-loongson32/platform.h @@ -1,23 +1,23 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * Copyright (c) 2011 Zhang, Keguang - */ - -#ifndef __ASM_MACH_LOONGSON32_PLATFORM_H -#define __ASM_MACH_LOONGSON32_PLATFORM_H - -#include - -extern struct platform_device ls1x_uart_pdev; -extern struct platform_device ls1x_eth0_pdev; -extern struct platform_device ls1x_eth1_pdev; -extern struct platform_device ls1x_ehci_pdev; -extern struct platform_device ls1x_gpio0_pdev; -extern struct platform_device ls1x_gpio1_pdev; -extern struct platform_device ls1x_rtc_pdev; -extern struct platform_device ls1x_wdt_pdev; - -void __init ls1x_rtc_set_extclk(struct platform_device *pdev); -void __init ls1x_serial_set_uartclk(struct platform_device *pdev); - -#endif /* __ASM_MACH_LOONGSON32_PLATFORM_H */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * Copyright (c) 2011 Zhang, Keguang + */ + +#ifndef __ASM_MACH_LOONGSON32_PLATFORM_H +#define __ASM_MACH_LOONGSON32_PLATFORM_H + +#include + +extern struct platform_device ls1x_uart_pdev; +extern struct platform_device ls1x_eth0_pdev; +extern struct platform_device ls1x_eth1_pdev; +extern struct platform_device ls1x_ehci_pdev; +extern struct platform_device ls1x_gpio0_pdev; +extern struct platform_device ls1x_gpio1_pdev; +extern struct platform_device ls1x_rtc_pdev; +extern struct platform_device ls1x_wdt_pdev; + +void __init ls1x_rtc_set_extclk(struct platform_device *pdev); +void __init ls1x_serial_set_uartclk(struct platform_device *pdev); + +#endif /* __ASM_MACH_LOONGSON32_PLATFORM_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-loongson64/mmzone.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-loongson64/mmzone.h index daeecef55e..8fb70fd3c9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-loongson64/mmzone.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-loongson64/mmzone.h @@ -1,19 +1,19 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * Copyright (C) 2010 Loongson Inc. & Lemote Inc. & - * Institute of Computing Technology - * Author: Xiang Gao, gaoxiang@ict.ac.cn - * Huacai Chen, chenhc@lemote.com - * Xiaofu Meng, Shuangshuang Zhang - */ -#ifndef _ASM_MACH_LOONGSON64_MMZONE_H -#define _ASM_MACH_LOONGSON64_MMZONE_H - -#define NODE_ADDRSPACE_SHIFT 44 - -#define pa_to_nid(addr) (((addr) & 0xf00000000000) >> NODE_ADDRSPACE_SHIFT) -#define nid_to_addrbase(nid) ((unsigned long)(nid) << NODE_ADDRSPACE_SHIFT) - -extern void __init prom_init_numa_memory(void); - -#endif /* _ASM_MACH_MMZONE_H */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * Copyright (C) 2010 Loongson Inc. & Lemote Inc. & + * Institute of Computing Technology + * Author: Xiang Gao, gaoxiang@ict.ac.cn + * Huacai Chen, chenhc@lemote.com + * Xiaofu Meng, Shuangshuang Zhang + */ +#ifndef _ASM_MACH_LOONGSON64_MMZONE_H +#define _ASM_MACH_LOONGSON64_MMZONE_H + +#define NODE_ADDRSPACE_SHIFT 44 + +#define pa_to_nid(addr) (((addr) & 0xf00000000000) >> NODE_ADDRSPACE_SHIFT) +#define nid_to_addrbase(nid) ((unsigned long)(nid) << NODE_ADDRSPACE_SHIFT) + +extern void __init prom_init_numa_memory(void); + +#endif /* _ASM_MACH_MMZONE_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-pic32/cpu-feature-overrides.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-pic32/cpu-feature-overrides.h index 9b7cc07d51..468230834e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-pic32/cpu-feature-overrides.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-pic32/cpu-feature-overrides.h @@ -1,32 +1,32 @@ -/* - * Joshua Henderson - * Copyright (C) 2015 Microchip Technology Inc. All rights reserved. - * - * 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_MACH_PIC32_CPU_FEATURE_OVERRIDES_H -#define __ASM_MACH_PIC32_CPU_FEATURE_OVERRIDES_H - -/* - * CPU feature overrides for PIC32 boards - */ -#ifdef CONFIG_CPU_MIPS32 -#define cpu_has_vint 1 -#define cpu_has_veic 0 -#define cpu_has_tlb 1 -#define cpu_has_4kex 1 -#define cpu_has_4k_cache 1 -#define cpu_has_fpu 0 -#define cpu_has_counter 1 -#define cpu_has_llsc 1 -#define cpu_has_nofpuex 0 -#define cpu_icache_snoops_remote_store 1 -#endif - -#ifdef CONFIG_CPU_MIPS64 -#error This platform does not support 64bit. -#endif - -#endif /* __ASM_MACH_PIC32_CPU_FEATURE_OVERRIDES_H */ +/* + * Joshua Henderson + * Copyright (C) 2015 Microchip Technology Inc. All rights reserved. + * + * 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_MACH_PIC32_CPU_FEATURE_OVERRIDES_H +#define __ASM_MACH_PIC32_CPU_FEATURE_OVERRIDES_H + +/* + * CPU feature overrides for PIC32 boards + */ +#ifdef CONFIG_CPU_MIPS32 +#define cpu_has_vint 1 +#define cpu_has_veic 0 +#define cpu_has_tlb 1 +#define cpu_has_4kex 1 +#define cpu_has_4k_cache 1 +#define cpu_has_fpu 0 +#define cpu_has_counter 1 +#define cpu_has_llsc 1 +#define cpu_has_nofpuex 0 +#define cpu_icache_snoops_remote_store 1 +#endif + +#ifdef CONFIG_CPU_MIPS64 +#error This platform does not support 64bit. +#endif + +#endif /* __ASM_MACH_PIC32_CPU_FEATURE_OVERRIDES_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-ralink/mt7621.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-ralink/mt7621.h index 67ea24f59c..79d5bb0e06 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-ralink/mt7621.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-ralink/mt7621.h @@ -1,37 +1,37 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * - * Copyright (C) 2015 John Crispin - */ - -#ifndef _MT7621_REGS_H_ -#define _MT7621_REGS_H_ - -#define IOMEM(x) ((void __iomem *)(KSEG1ADDR(x))) - -#define MT7621_PALMBUS_BASE 0x1C000000 -#define MT7621_PALMBUS_SIZE 0x03FFFFFF - -#define MT7621_SYSC_BASE IOMEM(0x1E000000) - -#define SYSC_REG_CHIP_NAME0 0x00 -#define SYSC_REG_CHIP_NAME1 0x04 -#define SYSC_REG_CHIP_REV 0x0c -#define SYSC_REG_SYSTEM_CONFIG0 0x10 -#define SYSC_REG_SYSTEM_CONFIG1 0x14 - -#define CHIP_REV_PKG_MASK 0x1 -#define CHIP_REV_PKG_SHIFT 16 -#define CHIP_REV_VER_MASK 0xf -#define CHIP_REV_VER_SHIFT 8 -#define CHIP_REV_ECO_MASK 0xf - -#define MT7621_LOWMEM_BASE 0x0 -#define MT7621_LOWMEM_MAX_SIZE 0x1C000000 -#define MT7621_HIGHMEM_BASE 0x20000000 -#define MT7621_HIGHMEM_SIZE 0x4000000 - -#define MT7621_CHIP_NAME0 0x3637544D -#define MT7621_CHIP_NAME1 0x20203132 - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * + * Copyright (C) 2015 John Crispin + */ + +#ifndef _MT7621_REGS_H_ +#define _MT7621_REGS_H_ + +#define IOMEM(x) ((void __iomem *)(KSEG1ADDR(x))) + +#define MT7621_PALMBUS_BASE 0x1C000000 +#define MT7621_PALMBUS_SIZE 0x03FFFFFF + +#define MT7621_SYSC_BASE IOMEM(0x1E000000) + +#define SYSC_REG_CHIP_NAME0 0x00 +#define SYSC_REG_CHIP_NAME1 0x04 +#define SYSC_REG_CHIP_REV 0x0c +#define SYSC_REG_SYSTEM_CONFIG0 0x10 +#define SYSC_REG_SYSTEM_CONFIG1 0x14 + +#define CHIP_REV_PKG_MASK 0x1 +#define CHIP_REV_PKG_SHIFT 16 +#define CHIP_REV_VER_MASK 0xf +#define CHIP_REV_VER_SHIFT 8 +#define CHIP_REV_ECO_MASK 0xf + +#define MT7621_LOWMEM_BASE 0x0 +#define MT7621_LOWMEM_MAX_SIZE 0x1C000000 +#define MT7621_HIGHMEM_BASE 0x20000000 +#define MT7621_HIGHMEM_SIZE 0x4000000 + +#define MT7621_CHIP_NAME0 0x3637544D +#define MT7621_CHIP_NAME1 0x20203132 + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-ralink/rt288x.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-ralink/rt288x.h index 432dc9cc2d..66d190358e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-ralink/rt288x.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-ralink/rt288x.h @@ -1,33 +1,33 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * - * Parts of this file are based on Ralink's 2.6.21 BSP - * - * Copyright (C) 2008-2011 Gabor Juhos - * Copyright (C) 2008 Imre Kaloz - * Copyright (C) 2013 John Crispin - */ - -#ifndef _RT288X_REGS_H_ -#define _RT288X_REGS_H_ - -#define IOMEM(x) ((void __iomem *)(KSEG1ADDR(x))) -#define RT2880_SYSC_BASE IOMEM(0x00300000) - -#define SYSC_REG_CHIP_NAME0 0x00 -#define SYSC_REG_CHIP_NAME1 0x04 -#define SYSC_REG_CHIP_ID 0x0c -#define SYSC_REG_SYSTEM_CONFIG 0x10 - -#define RT2880_CHIP_NAME0 0x38325452 -#define RT2880_CHIP_NAME1 0x20203038 - -#define CHIP_ID_ID_MASK 0xff -#define CHIP_ID_ID_SHIFT 8 -#define CHIP_ID_REV_MASK 0xff - -#define RT2880_SDRAM_BASE 0x08000000 -#define RT2880_MEM_SIZE_MIN 2 -#define RT2880_MEM_SIZE_MAX 128 - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * + * Parts of this file are based on Ralink's 2.6.21 BSP + * + * Copyright (C) 2008-2011 Gabor Juhos + * Copyright (C) 2008 Imre Kaloz + * Copyright (C) 2013 John Crispin + */ + +#ifndef _RT288X_REGS_H_ +#define _RT288X_REGS_H_ + +#define IOMEM(x) ((void __iomem *)(KSEG1ADDR(x))) +#define RT2880_SYSC_BASE IOMEM(0x00300000) + +#define SYSC_REG_CHIP_NAME0 0x00 +#define SYSC_REG_CHIP_NAME1 0x04 +#define SYSC_REG_CHIP_ID 0x0c +#define SYSC_REG_SYSTEM_CONFIG 0x10 + +#define RT2880_CHIP_NAME0 0x38325452 +#define RT2880_CHIP_NAME1 0x20203038 + +#define CHIP_ID_ID_MASK 0xff +#define CHIP_ID_ID_SHIFT 8 +#define CHIP_ID_REV_MASK 0xff + +#define RT2880_SDRAM_BASE 0x08000000 +#define RT2880_MEM_SIZE_MIN 2 +#define RT2880_MEM_SIZE_MAX 128 + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-rm/mc146818rtc.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-rm/mc146818rtc.h index 24ade10b76..a074f4f84f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-rm/mc146818rtc.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-rm/mc146818rtc.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) 2004 by Ralf Baechle - * - * RTC routines for PC style attached Dallas chip with ARC epoch. - */ -#ifndef __ASM_MACH_RM_MC146818RTC_H -#define __ASM_MACH_RM_MC146818RTC_H - -#ifdef CONFIG_CPU_BIG_ENDIAN -#define mc146818_decode_year(year) ((year) < 70 ? (year) + 2000 : (year) + 1900) -#else -#define mc146818_decode_year(year) ((year) + 1980) -#endif - -#include - -#endif /* __ASM_MACH_RM_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. + * + * Copyright (C) 2004 by Ralf Baechle + * + * RTC routines for PC style attached Dallas chip with ARC epoch. + */ +#ifndef __ASM_MACH_RM_MC146818RTC_H +#define __ASM_MACH_RM_MC146818RTC_H + +#ifdef CONFIG_CPU_BIG_ENDIAN +#define mc146818_decode_year(year) ((year) < 70 ? (year) + 2000 : (year) + 1900) +#else +#define mc146818_decode_year(year) ((year) + 1980) +#endif + +#include + +#endif /* __ASM_MACH_RM_MC146818RTC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-tx49xx/cpu-feature-overrides.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-tx49xx/cpu-feature-overrides.h index 60c105fec9..04e4247255 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-tx49xx/cpu-feature-overrides.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-tx49xx/cpu-feature-overrides.h @@ -1,26 +1,26 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_MACH_TX49XX_CPU_FEATURE_OVERRIDES_H -#define __ASM_MACH_TX49XX_CPU_FEATURE_OVERRIDES_H - -#define cpu_has_llsc 1 -#define cpu_has_64bits 1 -#define cpu_has_inclusive_pcaches 0 - -#define cpu_has_mips16 0 -#define cpu_has_mips16e2 0 -#define cpu_has_mdmx 0 -#define cpu_has_mips3d 0 -#define cpu_has_smartmips 0 -#define cpu_has_vtag_icache 0 -#define cpu_has_ic_fills_f_dc 0 -#define cpu_has_dsp 0 -#define cpu_has_dsp2 0 -#define cpu_has_mipsmt 0 -#define cpu_has_userlocal 0 - -#define cpu_has_mips32r1 0 -#define cpu_has_mips32r2 0 -#define cpu_has_mips64r1 0 -#define cpu_has_mips64r2 0 - -#endif /* __ASM_MACH_TX49XX_CPU_FEATURE_OVERRIDES_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_MACH_TX49XX_CPU_FEATURE_OVERRIDES_H +#define __ASM_MACH_TX49XX_CPU_FEATURE_OVERRIDES_H + +#define cpu_has_llsc 1 +#define cpu_has_64bits 1 +#define cpu_has_inclusive_pcaches 0 + +#define cpu_has_mips16 0 +#define cpu_has_mips16e2 0 +#define cpu_has_mdmx 0 +#define cpu_has_mips3d 0 +#define cpu_has_smartmips 0 +#define cpu_has_vtag_icache 0 +#define cpu_has_ic_fills_f_dc 0 +#define cpu_has_dsp 0 +#define cpu_has_dsp2 0 +#define cpu_has_mipsmt 0 +#define cpu_has_userlocal 0 + +#define cpu_has_mips32r1 0 +#define cpu_has_mips32r2 0 +#define cpu_has_mips64r1 0 +#define cpu_has_mips64r2 0 + +#endif /* __ASM_MACH_TX49XX_CPU_FEATURE_OVERRIDES_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-tx49xx/ioremap.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-tx49xx/ioremap.h index 21ecba03c8..b1f3710acf 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-tx49xx/ioremap.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-tx49xx/ioremap.h @@ -1,30 +1,30 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * include/asm-mips/mach-tx49xx/ioremap.h - */ -#ifndef __ASM_MACH_TX49XX_IOREMAP_H -#define __ASM_MACH_TX49XX_IOREMAP_H - -#include - -static inline void __iomem *plat_ioremap(phys_addr_t offset, unsigned long size, - unsigned long flags) -{ -#ifdef CONFIG_64BIT -#define TXX9_DIRECTMAP_BASE 0xfff000000ul -#else -#define TXX9_DIRECTMAP_BASE 0xff000000ul -#endif - if (offset >= TXX9_DIRECTMAP_BASE && - offset < TXX9_DIRECTMAP_BASE + 0x400000) - return (void __iomem *)(unsigned long)(int)offset; - return NULL; -} - -static inline int plat_iounmap(const volatile void __iomem *addr) -{ - return (unsigned long)addr >= - (unsigned long)(int)(TXX9_DIRECTMAP_BASE & 0xffffffff); -} - -#endif /* __ASM_MACH_TX49XX_IOREMAP_H */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * include/asm-mips/mach-tx49xx/ioremap.h + */ +#ifndef __ASM_MACH_TX49XX_IOREMAP_H +#define __ASM_MACH_TX49XX_IOREMAP_H + +#include + +static inline void __iomem *plat_ioremap(phys_addr_t offset, unsigned long size, + unsigned long flags) +{ +#ifdef CONFIG_64BIT +#define TXX9_DIRECTMAP_BASE 0xfff000000ul +#else +#define TXX9_DIRECTMAP_BASE 0xff000000ul +#endif + if (offset >= TXX9_DIRECTMAP_BASE && + offset < TXX9_DIRECTMAP_BASE + 0x400000) + return (void __iomem *)(unsigned long)(int)offset; + return NULL; +} + +static inline int plat_iounmap(const volatile void __iomem *addr) +{ + return (unsigned long)addr >= + (unsigned long)(int)(TXX9_DIRECTMAP_BASE & 0xffffffff); +} + +#endif /* __ASM_MACH_TX49XX_IOREMAP_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-tx49xx/mangle-port.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-tx49xx/mangle-port.h index cbf4c289dc..50b1b8f1e1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-tx49xx/mangle-port.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-tx49xx/mangle-port.h @@ -1,19 +1,19 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_MACH_TX49XX_MANGLE_PORT_H -#define __ASM_MACH_TX49XX_MANGLE_PORT_H - -#define __swizzle_addr_b(port) (port) -#define __swizzle_addr_w(port) (port) -#define __swizzle_addr_l(port) (port) -#define __swizzle_addr_q(port) (port) - -#define ioswabb(a, x) (x) -#define __mem_ioswabb(a, x) (x) -#define ioswabw(a, x) le16_to_cpu((__force __le16)(x)) -#define __mem_ioswabw(a, x) (x) -#define ioswabl(a, x) le32_to_cpu((__force __le32)(x)) -#define __mem_ioswabl(a, x) (x) -#define ioswabq(a, x) le64_to_cpu((__force __le64)(x)) -#define __mem_ioswabq(a, x) (x) - -#endif /* __ASM_MACH_TX49XX_MANGLE_PORT_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_MACH_TX49XX_MANGLE_PORT_H +#define __ASM_MACH_TX49XX_MANGLE_PORT_H + +#define __swizzle_addr_b(port) (port) +#define __swizzle_addr_w(port) (port) +#define __swizzle_addr_l(port) (port) +#define __swizzle_addr_q(port) (port) + +#define ioswabb(a, x) (x) +#define __mem_ioswabb(a, x) (x) +#define ioswabw(a, x) le16_to_cpu((__force __le16)(x)) +#define __mem_ioswabw(a, x) (x) +#define ioswabl(a, x) le32_to_cpu((__force __le32)(x)) +#define __mem_ioswabl(a, x) (x) +#define ioswabq(a, x) le64_to_cpu((__force __le64)(x)) +#define __mem_ioswabq(a, x) (x) + +#endif /* __ASM_MACH_TX49XX_MANGLE_PORT_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mips-boards/launch.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mips-boards/launch.h index f463720944..3481ed4c11 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mips-boards/launch.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mips-boards/launch.h @@ -1,41 +1,41 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * - */ - -#ifndef _ASM_MIPS_BOARDS_LAUNCH_H -#define _ASM_MIPS_BOARDS_LAUNCH_H - -#ifndef _ASSEMBLER_ - -struct cpulaunch { - unsigned long pc; - unsigned long gp; - unsigned long sp; - unsigned long a0; - unsigned long _pad[3]; /* pad to cache line size to avoid thrashing */ - unsigned long flags; -}; - -#else - -#define LOG2CPULAUNCH 5 -#define LAUNCH_PC 0 -#define LAUNCH_GP 4 -#define LAUNCH_SP 8 -#define LAUNCH_A0 12 -#define LAUNCH_FLAGS 28 - -#endif - -#define LAUNCH_FREADY 1 -#define LAUNCH_FGO 2 -#define LAUNCH_FGONE 4 - -#define CPULAUNCH 0x00000f00 -#define NCPULAUNCH 8 - -/* Polling period in count cycles for secondary CPU's */ -#define LAUNCHPERIOD 10000 - -#endif /* _ASM_MIPS_BOARDS_LAUNCH_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * + */ + +#ifndef _ASM_MIPS_BOARDS_LAUNCH_H +#define _ASM_MIPS_BOARDS_LAUNCH_H + +#ifndef _ASSEMBLER_ + +struct cpulaunch { + unsigned long pc; + unsigned long gp; + unsigned long sp; + unsigned long a0; + unsigned long _pad[3]; /* pad to cache line size to avoid thrashing */ + unsigned long flags; +}; + +#else + +#define LOG2CPULAUNCH 5 +#define LAUNCH_PC 0 +#define LAUNCH_GP 4 +#define LAUNCH_SP 8 +#define LAUNCH_A0 12 +#define LAUNCH_FLAGS 28 + +#endif + +#define LAUNCH_FREADY 1 +#define LAUNCH_FGO 2 +#define LAUNCH_FGONE 4 + +#define CPULAUNCH 0x00000f00 +#define NCPULAUNCH 8 + +/* Polling period in count cycles for secondary CPU's */ +#define LAUNCHPERIOD 10000 + +#endif /* _ASM_MIPS_BOARDS_LAUNCH_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mips_mt.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mips_mt.h index 5ca1b049bf..6ea02af298 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mips_mt.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mips_mt.h @@ -1,29 +1,29 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Definitions and declarations for MIPS MT support that are common between - * the VSMP, and AP/SP kernel models. - */ -#ifndef __ASM_MIPS_MT_H -#define __ASM_MIPS_MT_H - -#include - -/* - * How many VPEs and TCs is Linux allowed to use? 0 means no limit. - */ -extern int tclimit; -extern int vpelimit; - -extern cpumask_t mt_fpu_cpumask; -extern unsigned long mt_fpemul_threshold; - -#ifdef CONFIG_MIPS_MT -extern void mips_mt_set_cpuoptions(void); -#else -static inline void mips_mt_set_cpuoptions(void) { } -#endif - -struct class; -extern const struct class mt_class; - -#endif /* __ASM_MIPS_MT_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Definitions and declarations for MIPS MT support that are common between + * the VSMP, and AP/SP kernel models. + */ +#ifndef __ASM_MIPS_MT_H +#define __ASM_MIPS_MT_H + +#include + +/* + * How many VPEs and TCs is Linux allowed to use? 0 means no limit. + */ +extern int tclimit; +extern int vpelimit; + +extern cpumask_t mt_fpu_cpumask; +extern unsigned long mt_fpemul_threshold; + +#ifdef CONFIG_MIPS_MT +extern void mips_mt_set_cpuoptions(void); +#else +static inline void mips_mt_set_cpuoptions(void) { } +#endif + +struct class; +extern const struct class mt_class; + +#endif /* __ASM_MIPS_MT_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/prom.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/prom.h index c872ae1c66..2d74406089 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/prom.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/prom.h @@ -1,30 +1,30 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * arch/mips/include/asm/prom.h - * - * Copyright (C) 2010 Cisco Systems Inc. - */ -#ifndef __ASM_PROM_H -#define __ASM_PROM_H - -#ifdef CONFIG_USE_OF -#include -#include -#include -#include - -extern void device_tree_init(void); - -struct boot_param_header; - -extern void __dt_setup_arch(void *bph); -extern int __dt_register_buses(const char *bus0, const char *bus1); - -#else /* !CONFIG_USE_OF */ -static inline void device_tree_init(void) { } -#endif /* !CONFIG_USE_OF */ - -extern char *mips_get_machine_name(void); -extern void mips_set_machine_name(const char *name); - -#endif /* __ASM_PROM_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * arch/mips/include/asm/prom.h + * + * Copyright (C) 2010 Cisco Systems Inc. + */ +#ifndef __ASM_PROM_H +#define __ASM_PROM_H + +#ifdef CONFIG_USE_OF +#include +#include +#include +#include + +extern void device_tree_init(void); + +struct boot_param_header; + +extern void __dt_setup_arch(void *bph); +extern int __dt_register_buses(const char *bus0, const char *bus1); + +#else /* !CONFIG_USE_OF */ +static inline void device_tree_init(void) { } +#endif /* !CONFIG_USE_OF */ + +extern char *mips_get_machine_name(void); +extern void mips_set_machine_name(const char *name); + +#endif /* __ASM_PROM_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/seccomp.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/seccomp.h index 493d8c6e65..aa809589a1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/seccomp.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/seccomp.h @@ -1,35 +1,35 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_SECCOMP_H - -#include - -#ifdef CONFIG_COMPAT -static inline const int *get_compat_mode1_syscalls(void) -{ - static const int syscalls_O32[] = { - __NR_O32_Linux + 3, __NR_O32_Linux + 4, - __NR_O32_Linux + 1, __NR_O32_Linux + 193, - -1, /* negative terminated */ - }; - static const int syscalls_N32[] = { - __NR_N32_Linux + 0, __NR_N32_Linux + 1, - __NR_N32_Linux + 58, __NR_N32_Linux + 211, - -1, /* negative terminated */ - }; - - if (IS_ENABLED(CONFIG_MIPS32_O32) && test_thread_flag(TIF_32BIT_REGS)) - return syscalls_O32; - - if (IS_ENABLED(CONFIG_MIPS32_N32)) - return syscalls_N32; - - BUG(); -} - -#define get_compat_mode1_syscalls get_compat_mode1_syscalls - -#endif /* CONFIG_COMPAT */ - -#include - -#endif /* __ASM_SECCOMP_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_SECCOMP_H + +#include + +#ifdef CONFIG_COMPAT +static inline const int *get_compat_mode1_syscalls(void) +{ + static const int syscalls_O32[] = { + __NR_O32_Linux + 3, __NR_O32_Linux + 4, + __NR_O32_Linux + 1, __NR_O32_Linux + 193, + -1, /* negative terminated */ + }; + static const int syscalls_N32[] = { + __NR_N32_Linux + 0, __NR_N32_Linux + 1, + __NR_N32_Linux + 58, __NR_N32_Linux + 211, + -1, /* negative terminated */ + }; + + if (IS_ENABLED(CONFIG_MIPS32_O32) && test_thread_flag(TIF_32BIT_REGS)) + return syscalls_O32; + + if (IS_ENABLED(CONFIG_MIPS32_N32)) + return syscalls_N32; + + BUG(); +} + +#define get_compat_mode1_syscalls get_compat_mode1_syscalls + +#endif /* CONFIG_COMPAT */ + +#include + +#endif /* __ASM_SECCOMP_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/sibyte/bigsur.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/sibyte/bigsur.h index 5040e40aaf..86c8761965 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/sibyte/bigsur.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/sibyte/bigsur.h @@ -1,35 +1,35 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * Copyright (C) 2000,2001,2002,2003,2004 Broadcom Corporation - */ -#ifndef __ASM_SIBYTE_BIGSUR_H -#define __ASM_SIBYTE_BIGSUR_H - -#include -#include - -#ifdef CONFIG_SIBYTE_BIGSUR -#define SIBYTE_BOARD_NAME "BCM91x80A/B (BigSur)" -#define SIBYTE_HAVE_PCMCIA 1 -#define SIBYTE_HAVE_IDE 1 -#endif - -/* Generic bus chip selects */ -#define LEDS_CS 3 -#define LEDS_PHYS 0x100a0000 - -#ifdef SIBYTE_HAVE_IDE -#define IDE_CS 4 -#define IDE_PHYS 0x100b0000 -#define K_GPIO_GB_IDE 4 -#define K_INT_GB_IDE (K_INT_GPIO_0 + K_GPIO_GB_IDE) -#endif - -#ifdef SIBYTE_HAVE_PCMCIA -#define PCMCIA_CS 6 -#define PCMCIA_PHYS 0x11000000 -#define K_GPIO_PC_READY 9 -#define K_INT_PC_READY (K_INT_GPIO_0 + K_GPIO_PC_READY) -#endif - -#endif /* __ASM_SIBYTE_BIGSUR_H */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * Copyright (C) 2000,2001,2002,2003,2004 Broadcom Corporation + */ +#ifndef __ASM_SIBYTE_BIGSUR_H +#define __ASM_SIBYTE_BIGSUR_H + +#include +#include + +#ifdef CONFIG_SIBYTE_BIGSUR +#define SIBYTE_BOARD_NAME "BCM91x80A/B (BigSur)" +#define SIBYTE_HAVE_PCMCIA 1 +#define SIBYTE_HAVE_IDE 1 +#endif + +/* Generic bus chip selects */ +#define LEDS_CS 3 +#define LEDS_PHYS 0x100a0000 + +#ifdef SIBYTE_HAVE_IDE +#define IDE_CS 4 +#define IDE_PHYS 0x100b0000 +#define K_GPIO_GB_IDE 4 +#define K_INT_GB_IDE (K_INT_GPIO_0 + K_GPIO_GB_IDE) +#endif + +#ifdef SIBYTE_HAVE_PCMCIA +#define PCMCIA_CS 6 +#define PCMCIA_PHYS 0x11000000 +#define K_GPIO_PC_READY 9 +#define K_INT_PC_READY (K_INT_GPIO_0 + K_GPIO_PC_READY) +#endif + +#endif /* __ASM_SIBYTE_BIGSUR_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/sn/arch.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/sn/arch.h index 0d542a757d..9a9682543e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/sn/arch.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/sn/arch.h @@ -1,28 +1,28 @@ -/* - * 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. - * - * SGI specific setup. - * - * Copyright (C) 1995 - 1997, 1999 Silcon Graphics, Inc. - * Copyright (C) 1999 Ralf Baechle (ralf@gnu.org) - */ -#ifndef _ASM_SN_ARCH_H -#define _ASM_SN_ARCH_H - -#include -#include -#ifdef CONFIG_SGI_IP27 -#include -#endif - -#define cputonasid(cpu) (sn_cpu_info[(cpu)].p_nasid) -#define cputoslice(cpu) (sn_cpu_info[(cpu)].p_slice) - -#define INVALID_NASID (nasid_t)-1 -#define INVALID_PNODEID (pnodeid_t)-1 -#define INVALID_MODULE (moduleid_t)-1 -#define INVALID_PARTID (partid_t)-1 - -#endif /* _ASM_SN_ARCH_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. + * + * SGI specific setup. + * + * Copyright (C) 1995 - 1997, 1999 Silcon Graphics, Inc. + * Copyright (C) 1999 Ralf Baechle (ralf@gnu.org) + */ +#ifndef _ASM_SN_ARCH_H +#define _ASM_SN_ARCH_H + +#include +#include +#ifdef CONFIG_SGI_IP27 +#include +#endif + +#define cputonasid(cpu) (sn_cpu_info[(cpu)].p_nasid) +#define cputoslice(cpu) (sn_cpu_info[(cpu)].p_slice) + +#define INVALID_NASID (nasid_t)-1 +#define INVALID_PNODEID (pnodeid_t)-1 +#define INVALID_MODULE (moduleid_t)-1 +#define INVALID_PARTID (partid_t)-1 + +#endif /* _ASM_SN_ARCH_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/sn/types.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/sn/types.h index 3583df28c5..451ba1ee41 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/sn/types.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/sn/types.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) 1999 Silicon Graphics, Inc. - * Copyright (C) 1999 by Ralf Baechle - */ -#ifndef _ASM_SN_TYPES_H -#define _ASM_SN_TYPES_H - -#include - -#ifndef __ASSEMBLY__ - -typedef unsigned long cpuid_t; -typedef signed short nasid_t; /* node id in numa-as-id space */ -typedef signed char partid_t; /* partition ID type */ -typedef signed short moduleid_t; /* user-visible module number type */ - -typedef dev_t vertex_hdl_t; /* hardware graph vertex handle */ - -#endif - -#endif /* _ASM_SN_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) 1999 Silicon Graphics, Inc. + * Copyright (C) 1999 by Ralf Baechle + */ +#ifndef _ASM_SN_TYPES_H +#define _ASM_SN_TYPES_H + +#include + +#ifndef __ASSEMBLY__ + +typedef unsigned long cpuid_t; +typedef signed short nasid_t; /* node id in numa-as-id space */ +typedef signed char partid_t; /* partition ID type */ +typedef signed short moduleid_t; /* user-visible module number type */ + +typedef dev_t vertex_hdl_t; /* hardware graph vertex handle */ + +#endif + +#endif /* _ASM_SN_TYPES_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/spinlock.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/spinlock.h index 46627de3bf..6ce2117e49 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/spinlock.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/spinlock.h @@ -1,31 +1,31 @@ -/* - * 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) 1999, 2000, 06 Ralf Baechle (ralf@linux-mips.org) - * Copyright (C) 1999, 2000 Silicon Graphics, Inc. - */ -#ifndef _ASM_SPINLOCK_H -#define _ASM_SPINLOCK_H - -#include - -#include - -#define queued_spin_unlock queued_spin_unlock -/** - * queued_spin_unlock - release a queued spinlock - * @lock : Pointer to queued spinlock structure - */ -static inline void queued_spin_unlock(struct qspinlock *lock) -{ - /* This could be optimised with ARCH_HAS_MMIOWB */ - mmiowb(); - smp_store_release(&lock->locked, 0); -} - -#include -#include - -#endif /* _ASM_SPINLOCK_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) 1999, 2000, 06 Ralf Baechle (ralf@linux-mips.org) + * Copyright (C) 1999, 2000 Silicon Graphics, Inc. + */ +#ifndef _ASM_SPINLOCK_H +#define _ASM_SPINLOCK_H + +#include + +#include + +#define queued_spin_unlock queued_spin_unlock +/** + * queued_spin_unlock - release a queued spinlock + * @lock : Pointer to queued spinlock structure + */ +static inline void queued_spin_unlock(struct qspinlock *lock) +{ + /* This could be optimised with ARCH_HAS_MMIOWB */ + mmiowb(); + smp_store_release(&lock->locked, 0); +} + +#include +#include + +#endif /* _ASM_SPINLOCK_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/string.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/string.h index ef3c98eb82..1de3bbce8e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/string.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/string.h @@ -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 (c) 1994, 95, 96, 97, 98, 2000, 01 Ralf Baechle - * Copyright (c) 2000 by Silicon Graphics, Inc. - * Copyright (c) 2001 MIPS Technologies, Inc. - */ -#ifndef _ASM_STRING_H -#define _ASM_STRING_H - -#define __HAVE_ARCH_MEMSET -extern void *memset(void *__s, int __c, size_t __count); - -#define __HAVE_ARCH_MEMCPY -extern void *memcpy(void *__to, __const__ void *__from, size_t __n); - -#define __HAVE_ARCH_MEMMOVE -extern void *memmove(void *__dest, __const__ void *__src, size_t __n); - -#endif /* _ASM_STRING_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, 2000, 01 Ralf Baechle + * Copyright (c) 2000 by Silicon Graphics, Inc. + * Copyright (c) 2001 MIPS Technologies, Inc. + */ +#ifndef _ASM_STRING_H +#define _ASM_STRING_H + +#define __HAVE_ARCH_MEMSET +extern void *memset(void *__s, int __c, size_t __count); + +#define __HAVE_ARCH_MEMCPY +extern void *memcpy(void *__to, __const__ void *__from, size_t __n); + +#define __HAVE_ARCH_MEMMOVE +extern void *memmove(void *__dest, __const__ void *__src, size_t __n); + +#endif /* _ASM_STRING_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/txx9irq.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/txx9irq.h index 1eb9112a3b..3875243bb5 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/txx9irq.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/txx9irq.h @@ -1,30 +1,30 @@ -/* - * include/asm-mips/txx9irq.h - * TX39/TX49 interrupt 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_TXX9IRQ_H -#define __ASM_TXX9IRQ_H - -#include - -#ifdef CONFIG_IRQ_MIPS_CPU -#define TXX9_IRQ_BASE (MIPS_CPU_IRQ_BASE + 8) -#else -#ifdef CONFIG_I8259 -#define TXX9_IRQ_BASE (I8259A_IRQ_BASE + 16) -#else -#define TXX9_IRQ_BASE 0 -#endif -#endif - -#define TXx9_MAX_IR 32 - -void txx9_irq_init(unsigned long baseaddr); -int txx9_irq(void); -int txx9_irq_set_pri(int irc_irq, int new_pri); - -#endif /* __ASM_TXX9IRQ_H */ +/* + * include/asm-mips/txx9irq.h + * TX39/TX49 interrupt 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_TXX9IRQ_H +#define __ASM_TXX9IRQ_H + +#include + +#ifdef CONFIG_IRQ_MIPS_CPU +#define TXX9_IRQ_BASE (MIPS_CPU_IRQ_BASE + 8) +#else +#ifdef CONFIG_I8259 +#define TXX9_IRQ_BASE (I8259A_IRQ_BASE + 16) +#else +#define TXX9_IRQ_BASE 0 +#endif +#endif + +#define TXx9_MAX_IR 32 + +void txx9_irq_init(unsigned long baseaddr); +int txx9_irq(void); +int txx9_irq_set_pri(int irc_irq, int new_pri); + +#endif /* __ASM_TXX9IRQ_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/vdso/processor.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/vdso/processor.h index 0d981a04f9..511c95d735 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/vdso/processor.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/vdso/processor.h @@ -1,27 +1,27 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2020 ARM Ltd. - */ -#ifndef __ASM_VDSO_PROCESSOR_H -#define __ASM_VDSO_PROCESSOR_H - -#ifndef __ASSEMBLY__ - -#ifdef CONFIG_CPU_LOONGSON64 -/* - * Loongson-3's SFB (Store-Fill-Buffer) may buffer writes indefinitely when a - * tight read loop is executed, because reads take priority over writes & the - * hardware (incorrectly) doesn't ensure that writes will eventually occur. - * - * Since spin loops of any kind should have a cpu_relax() in them, force an SFB - * flush from cpu_relax() such that any pending writes will become visible as - * expected. - */ -#define cpu_relax() smp_mb() -#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__ + +#ifdef CONFIG_CPU_LOONGSON64 +/* + * Loongson-3's SFB (Store-Fill-Buffer) may buffer writes indefinitely when a + * tight read loop is executed, because reads take priority over writes & the + * hardware (incorrectly) doesn't ensure that writes will eventually occur. + * + * Since spin loops of any kind should have a cpu_relax() in them, force an SFB + * flush from cpu_relax() such that any pending writes will become visible as + * expected. + */ +#define cpu_relax() smp_mb() +#else +#define cpu_relax() barrier() +#endif + +#endif /* __ASSEMBLY__ */ + +#endif /* __ASM_VDSO_PROCESSOR_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/vdso/vsyscall.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/vdso/vsyscall.h index 62d5dddbcf..47168aaf1e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/vdso/vsyscall.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/vdso/vsyscall.h @@ -1,27 +1,27 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_VDSO_VSYSCALL_H -#define __ASM_VDSO_VSYSCALL_H - -#ifndef __ASSEMBLY__ - -#include -#include - -extern struct vdso_data *vdso_data; - -/* - * Update the vDSO data page to keep in sync with kernel timekeeping. - */ -static __always_inline -struct vdso_data *__mips_get_k_vdso_data(void) -{ - return vdso_data; -} -#define __arch_get_k_vdso_data __mips_get_k_vdso_data - -/* The asm-generic header needs to be included after the definitions above */ -#include - -#endif /* !__ASSEMBLY__ */ - -#endif /* __ASM_VDSO_VSYSCALL_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_VDSO_VSYSCALL_H +#define __ASM_VDSO_VSYSCALL_H + +#ifndef __ASSEMBLY__ + +#include +#include + +extern struct vdso_data *vdso_data; + +/* + * Update the vDSO data page to keep in sync with kernel timekeeping. + */ +static __always_inline +struct vdso_data *__mips_get_k_vdso_data(void) +{ + return vdso_data; +} +#define __arch_get_k_vdso_data __mips_get_k_vdso_data + +/* The asm-generic header needs to be included after the definitions above */ +#include + +#endif /* !__ASSEMBLY__ */ + +#endif /* __ASM_VDSO_VSYSCALL_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/video.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/video.h index 80bf5dce54..007c106d98 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/video.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/video.h @@ -1,38 +1,38 @@ -#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 pgprot_noncached(prot); -} -#define pgprot_framebuffer pgprot_framebuffer - -/* - * MIPS doesn't define __raw_ I/O macros, so the helpers - * in don't generate fb_readq() and - * fb_writeq(). We have to provide them here. - * - * TODO: Convert MIPS to generic I/O. The helpers below can - * then be removed. - */ -#ifdef CONFIG_64BIT -static inline u64 fb_readq(const volatile void __iomem *addr) -{ - return __raw_readq(addr); -} -#define fb_readq fb_readq - -static inline void fb_writeq(u64 b, volatile void __iomem *addr) -{ - __raw_writeq(b, addr); -} -#define fb_writeq fb_writeq -#endif - -#include - -#endif /* _ASM_VIDEO_H_ */ +#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 pgprot_noncached(prot); +} +#define pgprot_framebuffer pgprot_framebuffer + +/* + * MIPS doesn't define __raw_ I/O macros, so the helpers + * in don't generate fb_readq() and + * fb_writeq(). We have to provide them here. + * + * TODO: Convert MIPS to generic I/O. The helpers below can + * then be removed. + */ +#ifdef CONFIG_64BIT +static inline u64 fb_readq(const volatile void __iomem *addr) +{ + return __raw_readq(addr); +} +#define fb_readq fb_readq + +static inline void fb_writeq(u64 b, volatile void __iomem *addr) +{ + __raw_writeq(b, addr); +} +#define fb_writeq fb_writeq +#endif + +#include + +#endif /* _ASM_VIDEO_H_ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/watch.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/watch.h index d118027c38..6ffe3eadf1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/watch.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/watch.h @@ -1,32 +1,32 @@ -/* - * 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 David Daney - */ -#ifndef _ASM_WATCH_H -#define _ASM_WATCH_H - -#include - -#include - -void mips_install_watch_registers(struct task_struct *t); -void mips_read_watch_registers(void); -void mips_clear_watch_registers(void); -void mips_probe_watch_registers(struct cpuinfo_mips *c); - -#ifdef CONFIG_HARDWARE_WATCHPOINTS -#define __restore_watch(task) do { \ - if (unlikely(test_bit(TIF_LOAD_WATCH, \ - &task_thread_info(task)->flags))) { \ - mips_install_watch_registers(task); \ - } \ -} while (0) - -#else -#define __restore_watch(task) do {} while (0) -#endif - -#endif /* _ASM_WATCH_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 David Daney + */ +#ifndef _ASM_WATCH_H +#define _ASM_WATCH_H + +#include + +#include + +void mips_install_watch_registers(struct task_struct *t); +void mips_read_watch_registers(void); +void mips_clear_watch_registers(void); +void mips_probe_watch_registers(struct cpuinfo_mips *c); + +#ifdef CONFIG_HARDWARE_WATCHPOINTS +#define __restore_watch(task) do { \ + if (unlikely(test_bit(TIF_LOAD_WATCH, \ + &task_thread_info(task)->flags))) { \ + mips_install_watch_registers(task); \ + } \ +} while (0) + +#else +#define __restore_watch(task) do {} while (0) +#endif + +#endif /* _ASM_WATCH_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/wbflush.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/wbflush.h index 3542cee2b7..eadc0ac47e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/wbflush.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/wbflush.h @@ -1,34 +1,34 @@ -/* - * Header file for using the wbflush routine - * - * 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) 1998 Harald Koerfgen - * Copyright (C) 2002 Maciej W. Rozycki - */ -#ifndef _ASM_WBFLUSH_H -#define _ASM_WBFLUSH_H - - -#ifdef CONFIG_CPU_HAS_WB - -extern void (*__wbflush)(void); -extern void wbflush_setup(void); - -#define wbflush() \ - do { \ - __sync(); \ - __wbflush(); \ - } while (0) - -#else /* !CONFIG_CPU_HAS_WB */ - -#define wbflush_setup() do { } while (0) - -#define wbflush() fast_iob() - -#endif /* !CONFIG_CPU_HAS_WB */ - -#endif /* _ASM_WBFLUSH_H */ +/* + * Header file for using the wbflush routine + * + * 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) 1998 Harald Koerfgen + * Copyright (C) 2002 Maciej W. Rozycki + */ +#ifndef _ASM_WBFLUSH_H +#define _ASM_WBFLUSH_H + + +#ifdef CONFIG_CPU_HAS_WB + +extern void (*__wbflush)(void); +extern void wbflush_setup(void); + +#define wbflush() \ + do { \ + __sync(); \ + __wbflush(); \ + } while (0) + +#else /* !CONFIG_CPU_HAS_WB */ + +#define wbflush_setup() do { } while (0) + +#define wbflush() fast_iob() + +#endif /* !CONFIG_CPU_HAS_WB */ + +#endif /* _ASM_WBFLUSH_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/uapi/asm/bitfield.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/uapi/asm/bitfield.h index 92f1821c35..b11713d874 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/uapi/asm/bitfield.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/uapi/asm/bitfield.h @@ -1,30 +1,30 @@ -/* 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) 2014 by Ralf Baechle - */ -#ifndef __UAPI_ASM_BITFIELD_H -#define __UAPI_ASM_BITFIELD_H - -/* - * * Damn ... bitfields depend from byteorder :-( - * */ -#ifdef __MIPSEB__ -#define __BITFIELD_FIELD(field, more) \ - field; \ - more - -#elif defined(__MIPSEL__) - -#define __BITFIELD_FIELD(field, more) \ - more \ - field; - -#else /* !defined (__MIPSEB__) && !defined (__MIPSEL__) */ -#error "MIPS but neither __MIPSEL__ nor __MIPSEB__?" -#endif - -#endif /* __UAPI_ASM_BITFIELD_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) 2014 by Ralf Baechle + */ +#ifndef __UAPI_ASM_BITFIELD_H +#define __UAPI_ASM_BITFIELD_H + +/* + * * Damn ... bitfields depend from byteorder :-( + * */ +#ifdef __MIPSEB__ +#define __BITFIELD_FIELD(field, more) \ + field; \ + more + +#elif defined(__MIPSEL__) + +#define __BITFIELD_FIELD(field, more) \ + more \ + field; + +#else /* !defined (__MIPSEB__) && !defined (__MIPSEL__) */ +#error "MIPS but neither __MIPSEL__ nor __MIPSEB__?" +#endif + +#endif /* __UAPI_ASM_BITFIELD_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/uapi/asm/cachectl.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/uapi/asm/cachectl.h index a91b298a3e..af7639ff42 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/uapi/asm/cachectl.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/uapi/asm/cachectl.h @@ -1,27 +1,27 @@ -/* 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) 1994, 1995, 1996 by Ralf Baechle - */ -#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 */ - -/* - * Caching modes for the cachectl(2) call - * - * cachectl(2) is currently not supported and returns ENOSYS. - */ -#define CACHEABLE 0 /* make pages cacheable */ -#define UNCACHEABLE 1 /* make pages uncacheable */ - -#endif /* _ASM_CACHECTL */ +/* 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) 1994, 1995, 1996 by Ralf Baechle + */ +#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 */ + +/* + * Caching modes for the cachectl(2) call + * + * cachectl(2) is currently not supported and returns ENOSYS. + */ +#define CACHEABLE 0 /* make pages cacheable */ +#define UNCACHEABLE 1 /* make pages uncacheable */ + +#endif /* _ASM_CACHECTL */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/uapi/asm/hwcap.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/uapi/asm/hwcap.h index 5fd93a7a19..b7e02bdc19 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/uapi/asm/hwcap.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/uapi/asm/hwcap.h @@ -1,22 +1,22 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _UAPI_ASM_HWCAP_H -#define _UAPI_ASM_HWCAP_H - -/* HWCAP flags */ -#define HWCAP_MIPS_R6 (1 << 0) -#define HWCAP_MIPS_MSA (1 << 1) -#define HWCAP_MIPS_CRC32 (1 << 2) -#define HWCAP_MIPS_MIPS16 (1 << 3) -#define HWCAP_MIPS_MDMX (1 << 4) -#define HWCAP_MIPS_MIPS3D (1 << 5) -#define HWCAP_MIPS_SMARTMIPS (1 << 6) -#define HWCAP_MIPS_DSP (1 << 7) -#define HWCAP_MIPS_DSP2 (1 << 8) -#define HWCAP_MIPS_DSP3 (1 << 9) -#define HWCAP_MIPS_MIPS16E2 (1 << 10) -#define HWCAP_LOONGSON_MMI (1 << 11) -#define HWCAP_LOONGSON_EXT (1 << 12) -#define HWCAP_LOONGSON_EXT2 (1 << 13) -#define HWCAP_LOONGSON_CPUCFG (1 << 14) - -#endif /* _UAPI_ASM_HWCAP_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _UAPI_ASM_HWCAP_H +#define _UAPI_ASM_HWCAP_H + +/* HWCAP flags */ +#define HWCAP_MIPS_R6 (1 << 0) +#define HWCAP_MIPS_MSA (1 << 1) +#define HWCAP_MIPS_CRC32 (1 << 2) +#define HWCAP_MIPS_MIPS16 (1 << 3) +#define HWCAP_MIPS_MDMX (1 << 4) +#define HWCAP_MIPS_MIPS3D (1 << 5) +#define HWCAP_MIPS_SMARTMIPS (1 << 6) +#define HWCAP_MIPS_DSP (1 << 7) +#define HWCAP_MIPS_DSP2 (1 << 8) +#define HWCAP_MIPS_DSP3 (1 << 9) +#define HWCAP_MIPS_MIPS16E2 (1 << 10) +#define HWCAP_LOONGSON_MMI (1 << 11) +#define HWCAP_LOONGSON_EXT (1 << 12) +#define HWCAP_LOONGSON_EXT2 (1 << 13) +#define HWCAP_LOONGSON_CPUCFG (1 << 14) + +#endif /* _UAPI_ASM_HWCAP_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/uapi/asm/ioctl.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/uapi/asm/ioctl.h index 3700bca894..1050a6ea21 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/uapi/asm/ioctl.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/uapi/asm/ioctl.h @@ -1,28 +1,28 @@ -/* 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) 1995, 96, 99, 2001 Ralf Baechle - * Copyright (C) 2009 Wind River Systems - * Written by Ralf Baechle - */ -#ifndef __ASM_IOCTL_H -#define __ASM_IOCTL_H - -#define _IOC_SIZEBITS 13 -#define _IOC_DIRBITS 3 - -/* - * Direction bits _IOC_NONE could be 0, but OSF/1 gives it a bit. - * And this turns out useful to catch old ioctl numbers in header - * files for us. - */ -#define _IOC_NONE 1U -#define _IOC_READ 2U -#define _IOC_WRITE 4U - -#include - -#endif /* __ASM_IOCTL_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) 1995, 96, 99, 2001 Ralf Baechle + * Copyright (C) 2009 Wind River Systems + * Written by Ralf Baechle + */ +#ifndef __ASM_IOCTL_H +#define __ASM_IOCTL_H + +#define _IOC_SIZEBITS 13 +#define _IOC_DIRBITS 3 + +/* + * Direction bits _IOC_NONE could be 0, but OSF/1 gives it a bit. + * And this turns out useful to catch old ioctl numbers in header + * files for us. + */ +#define _IOC_NONE 1U +#define _IOC_READ 2U +#define _IOC_WRITE 4U + +#include + +#endif /* __ASM_IOCTL_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/uapi/asm/perf_regs.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/uapi/asm/perf_regs.h index 2170e5c5e5..d0f4ecd616 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/uapi/asm/perf_regs.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/uapi/asm/perf_regs.h @@ -1,40 +1,40 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _ASM_MIPS_PERF_REGS_H -#define _ASM_MIPS_PERF_REGS_H - -enum perf_event_mips_regs { - PERF_REG_MIPS_PC, - PERF_REG_MIPS_R1, - PERF_REG_MIPS_R2, - PERF_REG_MIPS_R3, - PERF_REG_MIPS_R4, - PERF_REG_MIPS_R5, - PERF_REG_MIPS_R6, - PERF_REG_MIPS_R7, - PERF_REG_MIPS_R8, - PERF_REG_MIPS_R9, - PERF_REG_MIPS_R10, - PERF_REG_MIPS_R11, - PERF_REG_MIPS_R12, - PERF_REG_MIPS_R13, - PERF_REG_MIPS_R14, - PERF_REG_MIPS_R15, - PERF_REG_MIPS_R16, - PERF_REG_MIPS_R17, - PERF_REG_MIPS_R18, - PERF_REG_MIPS_R19, - PERF_REG_MIPS_R20, - PERF_REG_MIPS_R21, - PERF_REG_MIPS_R22, - PERF_REG_MIPS_R23, - PERF_REG_MIPS_R24, - PERF_REG_MIPS_R25, - PERF_REG_MIPS_R26, - PERF_REG_MIPS_R27, - PERF_REG_MIPS_R28, - PERF_REG_MIPS_R29, - PERF_REG_MIPS_R30, - PERF_REG_MIPS_R31, - PERF_REG_MIPS_MAX = PERF_REG_MIPS_R31 + 1, -}; -#endif /* _ASM_MIPS_PERF_REGS_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _ASM_MIPS_PERF_REGS_H +#define _ASM_MIPS_PERF_REGS_H + +enum perf_event_mips_regs { + PERF_REG_MIPS_PC, + PERF_REG_MIPS_R1, + PERF_REG_MIPS_R2, + PERF_REG_MIPS_R3, + PERF_REG_MIPS_R4, + PERF_REG_MIPS_R5, + PERF_REG_MIPS_R6, + PERF_REG_MIPS_R7, + PERF_REG_MIPS_R8, + PERF_REG_MIPS_R9, + PERF_REG_MIPS_R10, + PERF_REG_MIPS_R11, + PERF_REG_MIPS_R12, + PERF_REG_MIPS_R13, + PERF_REG_MIPS_R14, + PERF_REG_MIPS_R15, + PERF_REG_MIPS_R16, + PERF_REG_MIPS_R17, + PERF_REG_MIPS_R18, + PERF_REG_MIPS_R19, + PERF_REG_MIPS_R20, + PERF_REG_MIPS_R21, + PERF_REG_MIPS_R22, + PERF_REG_MIPS_R23, + PERF_REG_MIPS_R24, + PERF_REG_MIPS_R25, + PERF_REG_MIPS_R26, + PERF_REG_MIPS_R27, + PERF_REG_MIPS_R28, + PERF_REG_MIPS_R29, + PERF_REG_MIPS_R30, + PERF_REG_MIPS_R31, + PERF_REG_MIPS_MAX = PERF_REG_MIPS_R31 + 1, +}; +#endif /* _ASM_MIPS_PERF_REGS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/uapi/asm/posix_types.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/uapi/asm/posix_types.h index 174a2846e5..f0ccb5b90c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/uapi/asm/posix_types.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/uapi/asm/posix_types.h @@ -1,26 +1,26 @@ -/* 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, 97, 98, 99, 2000 by Ralf Baechle - * Copyright (C) 1999, 2000 Silicon Graphics, Inc. - */ -#ifndef _ASM_POSIX_TYPES_H -#define _ASM_POSIX_TYPES_H - -#include - -/* - * 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 long __kernel_daddr_t; -#define __kernel_daddr_t __kernel_daddr_t - -#include - -#endif /* _ASM_POSIX_TYPES_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, 97, 98, 99, 2000 by Ralf Baechle + * Copyright (C) 1999, 2000 Silicon Graphics, Inc. + */ +#ifndef _ASM_POSIX_TYPES_H +#define _ASM_POSIX_TYPES_H + +#include + +/* + * 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 long __kernel_daddr_t; +#define __kernel_daddr_t __kernel_daddr_t + +#include + +#endif /* _ASM_POSIX_TYPES_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/uapi/asm/siginfo.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/uapi/asm/siginfo.h index 013dda7722..8cb8bd061a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/uapi/asm/siginfo.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/uapi/asm/siginfo.h @@ -1,30 +1,30 @@ -/* 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) 1998, 1999, 2001, 2003 Ralf Baechle - * Copyright (C) 2000, 2001 Silicon Graphics, Inc. - */ -#ifndef _UAPI_ASM_SIGINFO_H -#define _UAPI_ASM_SIGINFO_H - -#define __ARCH_SIGEV_PREAMBLE_SIZE (sizeof(long) + 2*sizeof(int)) - -#define __ARCH_HAS_SWAPPED_SIGINFO - -#include - -/* - * si_code values - * Again these have been chosen to be IRIX compatible. - */ -#undef SI_ASYNCIO -#undef SI_TIMER -#undef SI_MESGQ -#define SI_ASYNCIO -2 /* sent by AIO completion */ -#define SI_TIMER -3 /* sent by timer expiration */ -#define SI_MESGQ -4 /* sent by real time mesq state change */ - -#endif /* _UAPI_ASM_SIGINFO_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) 1998, 1999, 2001, 2003 Ralf Baechle + * Copyright (C) 2000, 2001 Silicon Graphics, Inc. + */ +#ifndef _UAPI_ASM_SIGINFO_H +#define _UAPI_ASM_SIGINFO_H + +#define __ARCH_SIGEV_PREAMBLE_SIZE (sizeof(long) + 2*sizeof(int)) + +#define __ARCH_HAS_SWAPPED_SIGINFO + +#include + +/* + * si_code values + * Again these have been chosen to be IRIX compatible. + */ +#undef SI_ASYNCIO +#undef SI_TIMER +#undef SI_MESGQ +#define SI_ASYNCIO -2 /* sent by AIO completion */ +#define SI_TIMER -3 /* sent by timer expiration */ +#define SI_MESGQ -4 /* sent by real time mesq state change */ + +#endif /* _UAPI_ASM_SIGINFO_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/uapi/asm/sockios.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/uapi/asm/sockios.h index 7af84524bb..66f60234f2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/uapi/asm/sockios.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/uapi/asm/sockios.h @@ -1,27 +1,27 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -/* - * Socket-level I/O control calls. - * - * 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 by Ralf Baechle - */ -#ifndef _ASM_SOCKIOS_H -#define _ASM_SOCKIOS_H - -#include - -/* 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_SOCKIOS_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +/* + * Socket-level I/O control calls. + * + * 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 by Ralf Baechle + */ +#ifndef _ASM_SOCKIOS_H +#define _ASM_SOCKIOS_H + +#include + +/* 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_SOCKIOS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/uapi/asm/sysmips.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/uapi/asm/sysmips.h index 1e140b9869..4c009e10df 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/uapi/asm/sysmips.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/uapi/asm/sysmips.h @@ -1,26 +1,26 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -/* - * Definitions for the MIPS sysmips(2) call - * - * 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 by Ralf Baechle - */ -#ifndef _ASM_SYSMIPS_H -#define _ASM_SYSMIPS_H - -/* - * Commands for the sysmips(2) call - * - * sysmips(2) is deprecated - though some existing software uses it. - * We only support the following commands. - */ -#define SETNAME 1 /* set hostname */ -#define FLUSH_CACHE 3 /* writeback and invalidate caches */ -#define MIPS_FIXADE 7 /* control address error fixing */ -#define MIPS_RDNVRAM 10 /* read NVRAM */ -#define MIPS_ATOMIC_SET 2001 /* atomically set variable */ - -#endif /* _ASM_SYSMIPS_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +/* + * Definitions for the MIPS sysmips(2) call + * + * 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 by Ralf Baechle + */ +#ifndef _ASM_SYSMIPS_H +#define _ASM_SYSMIPS_H + +/* + * Commands for the sysmips(2) call + * + * sysmips(2) is deprecated - though some existing software uses it. + * We only support the following commands. + */ +#define SETNAME 1 /* set hostname */ +#define FLUSH_CACHE 3 /* writeback and invalidate caches */ +#define MIPS_FIXADE 7 /* control address error fixing */ +#define MIPS_RDNVRAM 10 /* read NVRAM */ +#define MIPS_ATOMIC_SET 2001 /* atomically set variable */ + +#endif /* _ASM_SYSMIPS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/uapi/asm/types.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/uapi/asm/types.h index 2ba9a6ad4c..6b21504842 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/uapi/asm/types.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/uapi/asm/types.h @@ -1,31 +1,31 @@ -/* 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) 1994, 1995, 1996, 1999 by Ralf Baechle - * Copyright (C) 2008 Wind River Systems, - * written by Ralf Baechle - * Copyright (C) 1999 Silicon Graphics, Inc. - */ -#ifndef _UAPI_ASM_TYPES_H -#define _UAPI_ASM_TYPES_H - -/* - * We don't use int-l64.h for the kernel anymore but still use it for - * userspace to avoid code changes. - * - * However, some user programs (e.g. perf) may not want this. They can - * flag __SANE_USERSPACE_TYPES__ to get int-ll64.h here. - */ -#ifndef __KERNEL__ -# if _MIPS_SZLONG == 64 && !defined(__SANE_USERSPACE_TYPES__) -# include -# else -# include -# endif -#endif - - -#endif /* _UAPI_ASM_TYPES_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) 1994, 1995, 1996, 1999 by Ralf Baechle + * Copyright (C) 2008 Wind River Systems, + * written by Ralf Baechle + * Copyright (C) 1999 Silicon Graphics, Inc. + */ +#ifndef _UAPI_ASM_TYPES_H +#define _UAPI_ASM_TYPES_H + +/* + * We don't use int-l64.h for the kernel anymore but still use it for + * userspace to avoid code changes. + * + * However, some user programs (e.g. perf) may not want this. They can + * flag __SANE_USERSPACE_TYPES__ to get int-ll64.h here. + */ +#ifndef __KERNEL__ +# if _MIPS_SZLONG == 64 && !defined(__SANE_USERSPACE_TYPES__) +# include +# else +# include +# endif +#endif + + +#endif /* _UAPI_ASM_TYPES_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/kernel/fpu-probe.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/kernel/fpu-probe.h index ddaa79e481..951ce50890 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/kernel/fpu-probe.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/kernel/fpu-probe.h @@ -1,40 +1,40 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ - -#include - -#include -#include - -#ifdef CONFIG_MIPS_FP_SUPPORT - -extern int mips_fpu_disabled; - -int __cpu_has_fpu(void); -void cpu_set_fpu_opts(struct cpuinfo_mips *c); -void cpu_set_nofpu_opts(struct cpuinfo_mips *c); - -#else /* !CONFIG_MIPS_FP_SUPPORT */ - -#define mips_fpu_disabled 1 - -static inline unsigned long cpu_get_fpu_id(void) -{ - return FPIR_IMP_NONE; -} - -static inline int __cpu_has_fpu(void) -{ - return 0; -} - -static inline void cpu_set_fpu_opts(struct cpuinfo_mips *c) -{ - /* no-op */ -} - -static inline void cpu_set_nofpu_opts(struct cpuinfo_mips *c) -{ - /* no-op */ -} - -#endif /* CONFIG_MIPS_FP_SUPPORT */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ + +#include + +#include +#include + +#ifdef CONFIG_MIPS_FP_SUPPORT + +extern int mips_fpu_disabled; + +int __cpu_has_fpu(void); +void cpu_set_fpu_opts(struct cpuinfo_mips *c); +void cpu_set_nofpu_opts(struct cpuinfo_mips *c); + +#else /* !CONFIG_MIPS_FP_SUPPORT */ + +#define mips_fpu_disabled 1 + +static inline unsigned long cpu_get_fpu_id(void) +{ + return FPIR_IMP_NONE; +} + +static inline int __cpu_has_fpu(void) +{ + return 0; +} + +static inline void cpu_set_fpu_opts(struct cpuinfo_mips *c) +{ + /* no-op */ +} + +static inline void cpu_set_nofpu_opts(struct cpuinfo_mips *c) +{ + /* no-op */ +} + +#endif /* CONFIG_MIPS_FP_SUPPORT */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/kernel/i8253.c b/image/debian/UFI003_MB_V02/kernel/arch/mips/kernel/i8253.c index 2d66ce8030..ca21210e06 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/kernel/i8253.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/kernel/i8253.c @@ -1,38 +1,38 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * i8253.c 8253/PIT functions - * - */ -#include -#include -#include -#include -#include - -#include - -static irqreturn_t timer_interrupt(int irq, void *dev_id) -{ - i8253_clockevent.event_handler(&i8253_clockevent); - - return IRQ_HANDLED; -} - -void __init setup_pit_timer(void) -{ - unsigned long flags = IRQF_NOBALANCING | IRQF_TIMER; - - clockevent_i8253_init(true); - if (request_irq(0, timer_interrupt, flags, "timer", NULL)) - pr_err("Failed to request irq 0 (timer)\n"); -} - -static int __init init_pit_clocksource(void) -{ - if (num_possible_cpus() > 1 || /* PIT does not scale! */ - !clockevent_state_periodic(&i8253_clockevent)) - return 0; - - return clocksource_i8253_init(); -} -arch_initcall(init_pit_clocksource); +// SPDX-License-Identifier: GPL-2.0 +/* + * i8253.c 8253/PIT functions + * + */ +#include +#include +#include +#include +#include + +#include + +static irqreturn_t timer_interrupt(int irq, void *dev_id) +{ + i8253_clockevent.event_handler(&i8253_clockevent); + + return IRQ_HANDLED; +} + +void __init setup_pit_timer(void) +{ + unsigned long flags = IRQF_NOBALANCING | IRQF_TIMER; + + clockevent_i8253_init(true); + if (request_irq(0, timer_interrupt, flags, "timer", NULL)) + pr_err("Failed to request irq 0 (timer)\n"); +} + +static int __init init_pit_clocksource(void) +{ + if (num_possible_cpus() > 1 || /* PIT does not scale! */ + !clockevent_state_periodic(&i8253_clockevent)) + return 0; + + return clocksource_i8253_init(); +} +arch_initcall(init_pit_clocksource); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/kernel/syscalls/syscallnr.sh b/image/debian/UFI003_MB_V02/kernel/arch/mips/kernel/syscalls/syscallnr.sh index a822c6be69..c190bbefbf 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/kernel/syscalls/syscallnr.sh +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/kernel/syscalls/syscallnr.sh @@ -1,26 +1,26 @@ -#!/bin/sh -# SPDX-License-Identifier: GPL-2.0 - -in="$1" -out="$2" -my_abis=`echo "($3)" | tr ',' '|'` -prefix="$4" - -fileguard=_UAPI_ASM_MIPS_`basename "$out" | sed \ - -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/' \ - -e 's/[^A-Z0-9_]/_/g' -e 's/__/_/g'` -grep -E "^[0-9A-Fa-fXx]+[[:space:]]+${my_abis}" "$in" | sort -n | ( - printf "#ifndef %s\n" "${fileguard}" - printf "#define %s\n" "${fileguard}" - printf "\n" - - nxt=0 - while read nr abi name entry compat ; do - nxt=$((nr+1)) - done - - printf "#define __NR_%s_Linux_syscalls\t%s\n" "${prefix}" "${nxt}" - printf "\n" - printf "#endif /* %s */" "${fileguard}" - printf "\n" -) > "$out" +#!/bin/sh +# SPDX-License-Identifier: GPL-2.0 + +in="$1" +out="$2" +my_abis=`echo "($3)" | tr ',' '|'` +prefix="$4" + +fileguard=_UAPI_ASM_MIPS_`basename "$out" | sed \ + -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/' \ + -e 's/[^A-Z0-9_]/_/g' -e 's/__/_/g'` +grep -E "^[0-9A-Fa-fXx]+[[:space:]]+${my_abis}" "$in" | sort -n | ( + printf "#ifndef %s\n" "${fileguard}" + printf "#define %s\n" "${fileguard}" + printf "\n" + + nxt=0 + while read nr abi name entry compat ; do + nxt=$((nr+1)) + done + + printf "#define __NR_%s_Linux_syscalls\t%s\n" "${prefix}" "${nxt}" + printf "\n" + printf "#endif /* %s */" "${fileguard}" + printf "\n" +) > "$out" diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/lantiq/Kconfig b/image/debian/UFI003_MB_V02/kernel/arch/mips/lantiq/Kconfig index e99031cbcd..6c6802e482 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/lantiq/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/lantiq/Kconfig @@ -1,55 +1,55 @@ -# SPDX-License-Identifier: GPL-2.0 -if LANTIQ - -config SOC_TYPE_XWAY - bool - select PINCTRL_XWAY - default n - -choice - prompt "SoC Type" - default SOC_XWAY - -config SOC_AMAZON_SE - bool "Amazon SE" - select SOC_TYPE_XWAY - select MFD_SYSCON - select MFD_CORE - -config SOC_XWAY - bool "XWAY" - select SOC_TYPE_XWAY - select HAVE_PCI - select MFD_SYSCON - select MFD_CORE - -config SOC_FALCON - bool "FALCON" - select PINCTRL_FALCON - -endchoice - -choice - prompt "Built-in device tree" - help - Legacy bootloaders do not pass a DTB pointer to the kernel, so - if a "wrapper" is not being used, the kernel will need to include - a device tree that matches the target board. - - The builtin DTB will only be used if the firmware does not supply - a valid DTB. - -config LANTIQ_DT_NONE - bool "None" - -config DT_EASY50712 - bool "Easy50712" - depends on SOC_XWAY - select BUILTIN_DTB -endchoice - -config PCI_LANTIQ - bool "PCI Support" - depends on SOC_XWAY && PCI - -endif +# SPDX-License-Identifier: GPL-2.0 +if LANTIQ + +config SOC_TYPE_XWAY + bool + select PINCTRL_XWAY + default n + +choice + prompt "SoC Type" + default SOC_XWAY + +config SOC_AMAZON_SE + bool "Amazon SE" + select SOC_TYPE_XWAY + select MFD_SYSCON + select MFD_CORE + +config SOC_XWAY + bool "XWAY" + select SOC_TYPE_XWAY + select HAVE_PCI + select MFD_SYSCON + select MFD_CORE + +config SOC_FALCON + bool "FALCON" + select PINCTRL_FALCON + +endchoice + +choice + prompt "Built-in device tree" + help + Legacy bootloaders do not pass a DTB pointer to the kernel, so + if a "wrapper" is not being used, the kernel will need to include + a device tree that matches the target board. + + The builtin DTB will only be used if the firmware does not supply + a valid DTB. + +config LANTIQ_DT_NONE + bool "None" + +config DT_EASY50712 + bool "Easy50712" + depends on SOC_XWAY + select BUILTIN_DTB +endchoice + +config PCI_LANTIQ + bool "PCI Support" + depends on SOC_XWAY && PCI + +endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/lantiq/early_printk.c b/image/debian/UFI003_MB_V02/kernel/arch/mips/lantiq/early_printk.c index b98b1f5a38..4e4a28be1d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/lantiq/early_printk.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/lantiq/early_printk.c @@ -1,31 +1,31 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * - * Copyright (C) 2010 John Crispin - */ - -#include -#include -#include - -#define ASC_BUF 1024 -#define LTQ_ASC_FSTAT ((u32 *)(LTQ_EARLY_ASC + 0x0048)) -#ifdef __BIG_ENDIAN -#define LTQ_ASC_TBUF ((u32 *)(LTQ_EARLY_ASC + 0x0020 + 3)) -#else -#define LTQ_ASC_TBUF ((u32 *)(LTQ_EARLY_ASC + 0x0020)) -#endif -#define TXMASK 0x3F00 -#define TXOFFSET 8 - -void prom_putchar(char c) -{ - unsigned long flags; - - local_irq_save(flags); - do { } while ((ltq_r32(LTQ_ASC_FSTAT) & TXMASK) >> TXOFFSET); - if (c == '\n') - ltq_w8('\r', LTQ_ASC_TBUF); - ltq_w8(c, LTQ_ASC_TBUF); - local_irq_restore(flags); -} +// SPDX-License-Identifier: GPL-2.0-only +/* + * + * Copyright (C) 2010 John Crispin + */ + +#include +#include +#include + +#define ASC_BUF 1024 +#define LTQ_ASC_FSTAT ((u32 *)(LTQ_EARLY_ASC + 0x0048)) +#ifdef __BIG_ENDIAN +#define LTQ_ASC_TBUF ((u32 *)(LTQ_EARLY_ASC + 0x0020 + 3)) +#else +#define LTQ_ASC_TBUF ((u32 *)(LTQ_EARLY_ASC + 0x0020)) +#endif +#define TXMASK 0x3F00 +#define TXOFFSET 8 + +void prom_putchar(char c) +{ + unsigned long flags; + + local_irq_save(flags); + do { } while ((ltq_r32(LTQ_ASC_FSTAT) & TXMASK) >> TXOFFSET); + if (c == '\n') + ltq_w8('\r', LTQ_ASC_TBUF); + ltq_w8(c, LTQ_ASC_TBUF); + local_irq_restore(flags); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/lib/iomap_copy.c b/image/debian/UFI003_MB_V02/kernel/arch/mips/lib/iomap_copy.c index 277a61a14b..157500a09a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/lib/iomap_copy.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/lib/iomap_copy.c @@ -1,29 +1,29 @@ -// SPDX-License-Identifier: GPL-2.0-only - -#include -#include - -/** - * __ioread64_copy - copy data from MMIO space, in 64-bit units - * @to: destination (must be 64-bit aligned) - * @from: source, in MMIO space (must be 64-bit aligned) - * @count: number of 64-bit quantities to copy - * - * Copy data from MMIO space to kernel space, in units of 32 or 64 bits at a - * time. Order of access is not guaranteed, nor is a memory barrier - * performed afterwards. - */ -void __ioread64_copy(void *to, const void __iomem *from, size_t count) -{ -#ifdef CONFIG_64BIT - u64 *dst = to; - const u64 __iomem *src = from; - const u64 __iomem *end = src + count; - - while (src < end) - *dst++ = __raw_readq(src++); -#else - __ioread32_copy(to, from, count * 2); -#endif -} -EXPORT_SYMBOL_GPL(__ioread64_copy); +// SPDX-License-Identifier: GPL-2.0-only + +#include +#include + +/** + * __ioread64_copy - copy data from MMIO space, in 64-bit units + * @to: destination (must be 64-bit aligned) + * @from: source, in MMIO space (must be 64-bit aligned) + * @count: number of 64-bit quantities to copy + * + * Copy data from MMIO space to kernel space, in units of 32 or 64 bits at a + * time. Order of access is not guaranteed, nor is a memory barrier + * performed afterwards. + */ +void __ioread64_copy(void *to, const void __iomem *from, size_t count) +{ +#ifdef CONFIG_64BIT + u64 *dst = to; + const u64 __iomem *src = from; + const u64 __iomem *end = src + count; + + while (src < end) + *dst++ = __raw_readq(src++); +#else + __ioread32_copy(to, from, count * 2); +#endif +} +EXPORT_SYMBOL_GPL(__ioread64_copy); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/lib/libgcc.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/lib/libgcc.h index 2ba4dce771..199a7f9628 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/lib/libgcc.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/lib/libgcc.h @@ -1,43 +1,43 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_LIBGCC_H -#define __ASM_LIBGCC_H - -#include - -typedef int word_type __attribute__ ((mode (__word__))); - -#ifdef __BIG_ENDIAN -struct DWstruct { - int high, low; -}; - -struct TWstruct { - long long high, low; -}; -#elif defined(__LITTLE_ENDIAN) -struct DWstruct { - int low, high; -}; - -struct TWstruct { - long long low, high; -}; -#else -#error I feel sick. -#endif - -typedef union { - struct DWstruct s; - long long ll; -} DWunion; - -#if defined(CONFIG_64BIT) && defined(CONFIG_CPU_MIPSR6) -typedef int ti_type __attribute__((mode(TI))); - -typedef union { - struct TWstruct s; - ti_type ti; -} TWunion; -#endif - -#endif /* __ASM_LIBGCC_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_LIBGCC_H +#define __ASM_LIBGCC_H + +#include + +typedef int word_type __attribute__ ((mode (__word__))); + +#ifdef __BIG_ENDIAN +struct DWstruct { + int high, low; +}; + +struct TWstruct { + long long high, low; +}; +#elif defined(__LITTLE_ENDIAN) +struct DWstruct { + int low, high; +}; + +struct TWstruct { + long long low, high; +}; +#else +#error I feel sick. +#endif + +typedef union { + struct DWstruct s; + long long ll; +} DWunion; + +#if defined(CONFIG_64BIT) && defined(CONFIG_CPU_MIPSR6) +typedef int ti_type __attribute__((mode(TI))); + +typedef union { + struct TWstruct s; + ti_type ti; +} TWunion; +#endif + +#endif /* __ASM_LIBGCC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson2ef/common/mem.c b/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson2ef/common/mem.c index fbe521753d..fceb3ee47e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson2ef/common/mem.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson2ef/common/mem.c @@ -1,43 +1,43 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - */ -#include -#include -#include -#include - -#include - -#include -#include -#include - - -u32 memsize, highmemsize; - -void __init prom_init_memory(void) -{ - memblock_add(0x0, (memsize << 20)); - -#ifdef CONFIG_CPU_SUPPORTS_ADDRWINCFG - { - int bit; - - bit = fls(memsize + highmemsize); - if (bit != ffs(memsize + highmemsize)) - bit += 20; - else - bit = bit + 20 - 1; - - /* set cpu window3 to map CPU to DDR: 2G -> 2G */ - LOONGSON_ADDRWIN_CPUTODDR(ADDRWIN_WIN3, 0x80000000ul, - 0x80000000ul, (1 << bit)); - mmiowb(); - } -#endif /* !CONFIG_CPU_SUPPORTS_ADDRWINCFG */ - -#ifdef CONFIG_64BIT - if (highmemsize > 0) - memblock_add(LOONGSON_HIGHMEM_START, highmemsize << 20); -#endif /* !CONFIG_64BIT */ -} +// SPDX-License-Identifier: GPL-2.0-or-later +/* + */ +#include +#include +#include +#include + +#include + +#include +#include +#include + + +u32 memsize, highmemsize; + +void __init prom_init_memory(void) +{ + memblock_add(0x0, (memsize << 20)); + +#ifdef CONFIG_CPU_SUPPORTS_ADDRWINCFG + { + int bit; + + bit = fls(memsize + highmemsize); + if (bit != ffs(memsize + highmemsize)) + bit += 20; + else + bit = bit + 20 - 1; + + /* set cpu window3 to map CPU to DDR: 2G -> 2G */ + LOONGSON_ADDRWIN_CPUTODDR(ADDRWIN_WIN3, 0x80000000ul, + 0x80000000ul, (1 << bit)); + mmiowb(); + } +#endif /* !CONFIG_CPU_SUPPORTS_ADDRWINCFG */ + +#ifdef CONFIG_64BIT + if (highmemsize > 0) + memblock_add(LOONGSON_HIGHMEM_START, highmemsize << 20); +#endif /* !CONFIG_64BIT */ +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson2ef/common/platform.c b/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson2ef/common/platform.c index 7841e1223e..b10300a527 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson2ef/common/platform.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson2ef/common/platform.c @@ -1,27 +1,27 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Copyright (C) 2009 Lemote Inc. - * Author: Wu Zhangjin, wuzhangjin@gmail.com - */ - -#include -#include -#include - -static struct platform_device loongson2_cpufreq_device = { - .name = "loongson2_cpufreq", - .id = -1, -}; - -static int __init loongson2_cpufreq_init(void) -{ - struct cpuinfo_mips *c = ¤t_cpu_data; - - /* Only 2F revision and its successors support CPUFreq */ - if ((c->processor_id & PRID_REV_MASK) >= PRID_REV_LOONGSON2F) - return platform_device_register(&loongson2_cpufreq_device); - - return -ENODEV; -} - -arch_initcall(loongson2_cpufreq_init); +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Copyright (C) 2009 Lemote Inc. + * Author: Wu Zhangjin, wuzhangjin@gmail.com + */ + +#include +#include +#include + +static struct platform_device loongson2_cpufreq_device = { + .name = "loongson2_cpufreq", + .id = -1, +}; + +static int __init loongson2_cpufreq_init(void) +{ + struct cpuinfo_mips *c = ¤t_cpu_data; + + /* Only 2F revision and its successors support CPUFreq */ + if ((c->processor_id & PRID_REV_MASK) >= PRID_REV_LOONGSON2F) + return platform_device_register(&loongson2_cpufreq_device); + + return -ENODEV; +} + +arch_initcall(loongson2_cpufreq_init); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson2ef/common/rtc.c b/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson2ef/common/rtc.c index 7959779cb6..8d7628c0f5 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson2ef/common/rtc.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson2ef/common/rtc.c @@ -1,39 +1,39 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Lemote Fuloong platform support - * - * Copyright(c) 2010 Arnaud Patard - */ - -#include -#include -#include -#include - -static struct resource loongson_rtc_resources[] = { - { - .start = RTC_PORT(0), - .end = RTC_PORT(1), - .flags = IORESOURCE_IO, - }, { - .start = RTC_IRQ, - .end = RTC_IRQ, - .flags = IORESOURCE_IRQ, - } -}; - -static struct platform_device loongson_rtc_device = { - .name = "rtc_cmos", - .id = -1, - .resource = loongson_rtc_resources, - .num_resources = ARRAY_SIZE(loongson_rtc_resources), -}; - - -static int __init loongson_rtc_platform_init(void) -{ - platform_device_register(&loongson_rtc_device); - return 0; -} - -device_initcall(loongson_rtc_platform_init); +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Lemote Fuloong platform support + * + * Copyright(c) 2010 Arnaud Patard + */ + +#include +#include +#include +#include + +static struct resource loongson_rtc_resources[] = { + { + .start = RTC_PORT(0), + .end = RTC_PORT(1), + .flags = IORESOURCE_IO, + }, { + .start = RTC_IRQ, + .end = RTC_IRQ, + .flags = IORESOURCE_IRQ, + } +}; + +static struct platform_device loongson_rtc_device = { + .name = "rtc_cmos", + .id = -1, + .resource = loongson_rtc_resources, + .num_resources = ARRAY_SIZE(loongson_rtc_resources), +}; + + +static int __init loongson_rtc_platform_init(void) +{ + platform_device_register(&loongson_rtc_device); + return 0; +} + +device_initcall(loongson_rtc_platform_init); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson2ef/common/time.c b/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson2ef/common/time.c index d85feddeb1..585741af42 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson2ef/common/time.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson2ef/common/time.c @@ -1,28 +1,28 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Copyright (C) 2007 Lemote, Inc. & Institute of Computing Technology - * Author: Fuxin Zhang, zhangfx@lemote.com - * - * Copyright (C) 2009 Lemote Inc. - * Author: Wu Zhangjin, wuzhangjin@gmail.com - */ -#include -#include -#include - -#include -#include - -void __init plat_time_init(void) -{ - /* setup mips r4k timer */ - mips_hpt_frequency = cpu_clock_freq / 2; - - setup_mfgpt0_timer(); -} - -void read_persistent_clock64(struct timespec64 *ts) -{ - ts->tv_sec = mc146818_get_cmos_time(); - ts->tv_nsec = 0; -} +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Copyright (C) 2007 Lemote, Inc. & Institute of Computing Technology + * Author: Fuxin Zhang, zhangfx@lemote.com + * + * Copyright (C) 2009 Lemote Inc. + * Author: Wu Zhangjin, wuzhangjin@gmail.com + */ +#include +#include +#include + +#include +#include + +void __init plat_time_init(void) +{ + /* setup mips r4k timer */ + mips_hpt_frequency = cpu_clock_freq / 2; + + setup_mfgpt0_timer(); +} + +void read_persistent_clock64(struct timespec64 *ts) +{ + ts->tv_sec = mc146818_get_cmos_time(); + ts->tv_nsec = 0; +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson32/Kconfig b/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson32/Kconfig index bfa61c7b67..a7c5009595 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson32/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson32/Kconfig @@ -1,38 +1,38 @@ -# SPDX-License-Identifier: GPL-2.0 -if MACH_LOONGSON32 - -choice - prompt "Machine Type" - -config LOONGSON1_LS1B - bool "Loongson LS1B board" - select CEVT_R4K if !MIPS_EXTERNAL_TIMER - select CSRC_R4K if !MIPS_EXTERNAL_TIMER - select SYS_HAS_CPU_LOONGSON1B - select DMA_NONCOHERENT - select BOOT_ELF32 - select IRQ_MIPS_CPU - select SYS_SUPPORTS_32BIT_KERNEL - select SYS_SUPPORTS_LITTLE_ENDIAN - select SYS_SUPPORTS_HIGHMEM - select SYS_HAS_EARLY_PRINTK - select USE_GENERIC_EARLY_PRINTK_8250 - select COMMON_CLK - -config LOONGSON1_LS1C - bool "Loongson LS1C board" - select CEVT_R4K if !MIPS_EXTERNAL_TIMER - select CSRC_R4K if !MIPS_EXTERNAL_TIMER - select SYS_HAS_CPU_LOONGSON1C - select DMA_NONCOHERENT - select BOOT_ELF32 - select IRQ_MIPS_CPU - select SYS_SUPPORTS_32BIT_KERNEL - select SYS_SUPPORTS_LITTLE_ENDIAN - select SYS_SUPPORTS_HIGHMEM - select SYS_HAS_EARLY_PRINTK - select USE_GENERIC_EARLY_PRINTK_8250 - select COMMON_CLK -endchoice - -endif # MACH_LOONGSON32 +# SPDX-License-Identifier: GPL-2.0 +if MACH_LOONGSON32 + +choice + prompt "Machine Type" + +config LOONGSON1_LS1B + bool "Loongson LS1B board" + select CEVT_R4K if !MIPS_EXTERNAL_TIMER + select CSRC_R4K if !MIPS_EXTERNAL_TIMER + select SYS_HAS_CPU_LOONGSON1B + select DMA_NONCOHERENT + select BOOT_ELF32 + select IRQ_MIPS_CPU + select SYS_SUPPORTS_32BIT_KERNEL + select SYS_SUPPORTS_LITTLE_ENDIAN + select SYS_SUPPORTS_HIGHMEM + select SYS_HAS_EARLY_PRINTK + select USE_GENERIC_EARLY_PRINTK_8250 + select COMMON_CLK + +config LOONGSON1_LS1C + bool "Loongson LS1C board" + select CEVT_R4K if !MIPS_EXTERNAL_TIMER + select CSRC_R4K if !MIPS_EXTERNAL_TIMER + select SYS_HAS_CPU_LOONGSON1C + select DMA_NONCOHERENT + select BOOT_ELF32 + select IRQ_MIPS_CPU + select SYS_SUPPORTS_32BIT_KERNEL + select SYS_SUPPORTS_LITTLE_ENDIAN + select SYS_SUPPORTS_HIGHMEM + select SYS_HAS_EARLY_PRINTK + select USE_GENERIC_EARLY_PRINTK_8250 + select COMMON_CLK +endchoice + +endif # MACH_LOONGSON32 diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson64/dma.c b/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson64/dma.c index ba1d0ae1ab..52801442ea 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson64/dma.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson64/dma.c @@ -1,29 +1,29 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include -#include -#include -#include - -dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) -{ - /* We extract 2bit node id (bit 44~47, only bit 44~45 used now) from - * Loongson-3's 48bit address space and embed it into 40bit */ - long nid = (paddr >> 44) & 0x3; - - return ((nid << 44) ^ paddr) | (nid << node_id_offset); -} - -phys_addr_t dma_to_phys(struct device *dev, dma_addr_t daddr) -{ - /* We extract 2bit node id (bit 44~47, only bit 44~45 used now) from - * Loongson-3's 48bit address space and embed it into 40bit */ - long nid = (daddr >> node_id_offset) & 0x3; - - return ((nid << node_id_offset) ^ daddr) | (nid << 44); -} - -void __init plat_swiotlb_setup(void) -{ - swiotlb_init(true, SWIOTLB_VERBOSE); -} +// SPDX-License-Identifier: GPL-2.0 +#include +#include +#include +#include +#include + +dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) +{ + /* We extract 2bit node id (bit 44~47, only bit 44~45 used now) from + * Loongson-3's 48bit address space and embed it into 40bit */ + long nid = (paddr >> 44) & 0x3; + + return ((nid << 44) ^ paddr) | (nid << node_id_offset); +} + +phys_addr_t dma_to_phys(struct device *dev, dma_addr_t daddr) +{ + /* We extract 2bit node id (bit 44~47, only bit 44~45 used now) from + * Loongson-3's 48bit address space and embed it into 40bit */ + long nid = (daddr >> node_id_offset) & 0x3; + + return ((nid << node_id_offset) ^ daddr) | (nid << 44); +} + +void __init plat_swiotlb_setup(void) +{ + swiotlb_init(true, SWIOTLB_VERBOSE); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson64/smp.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson64/smp.h index 4162e2e3d7..957bde81e0 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson64/smp.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson64/smp.h @@ -1,31 +1,31 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __LOONGSON_SMP_H_ -#define __LOONGSON_SMP_H_ - -/* for Loongson-3 smp support */ -extern unsigned long long smp_group[4]; - -/* 4 groups(nodes) in maximum in numa case */ -#define SMP_CORE_GROUP0_BASE (smp_group[0]) -#define SMP_CORE_GROUP1_BASE (smp_group[1]) -#define SMP_CORE_GROUP2_BASE (smp_group[2]) -#define SMP_CORE_GROUP3_BASE (smp_group[3]) - -/* 4 cores in each group(node) */ -#define SMP_CORE0_OFFSET 0x000 -#define SMP_CORE1_OFFSET 0x100 -#define SMP_CORE2_OFFSET 0x200 -#define SMP_CORE3_OFFSET 0x300 - -/* ipi registers offsets */ -#define STATUS0 0x00 -#define EN0 0x04 -#define SET0 0x08 -#define CLEAR0 0x0c -#define STATUS1 0x10 -#define MASK1 0x14 -#define SET1 0x18 -#define CLEAR1 0x1c -#define BUF 0x20 - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __LOONGSON_SMP_H_ +#define __LOONGSON_SMP_H_ + +/* for Loongson-3 smp support */ +extern unsigned long long smp_group[4]; + +/* 4 groups(nodes) in maximum in numa case */ +#define SMP_CORE_GROUP0_BASE (smp_group[0]) +#define SMP_CORE_GROUP1_BASE (smp_group[1]) +#define SMP_CORE_GROUP2_BASE (smp_group[2]) +#define SMP_CORE_GROUP3_BASE (smp_group[3]) + +/* 4 cores in each group(node) */ +#define SMP_CORE0_OFFSET 0x000 +#define SMP_CORE1_OFFSET 0x100 +#define SMP_CORE2_OFFSET 0x200 +#define SMP_CORE3_OFFSET 0x300 + +/* ipi registers offsets */ +#define STATUS0 0x00 +#define EN0 0x04 +#define SET0 0x08 +#define CLEAR0 0x0c +#define STATUS1 0x10 +#define MASK1 0x14 +#define SET1 0x18 +#define CLEAR1 0x1c +#define BUF 0x20 + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson64/time.c b/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson64/time.c index 6c68b0f1fa..f6d2c1e305 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson64/time.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson64/time.c @@ -1,47 +1,47 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Copyright (C) 2007 Lemote, Inc. & Institute of Computing Technology - * Author: Fuxin Zhang, zhangfx@lemote.com - * - * Copyright (C) 2009 Lemote Inc. - * Author: Wu Zhangjin, wuzhangjin@gmail.com - */ - -#include -#include - -#include -#include -#include - -void __init plat_time_init(void) -{ - struct clk *clk; - struct device_node *np; - - if (loongson_sysconf.fw_interface == LOONGSON_DTB) { - of_clk_init(NULL); - - np = of_get_cpu_node(0, NULL); - if (!np) { - pr_err("Failed to get CPU node\n"); - return; - } - - clk = of_clk_get(np, 0); - if (IS_ERR(clk)) { - pr_err("Failed to get CPU clock: %ld\n", PTR_ERR(clk)); - return; - } - - cpu_clock_freq = clk_get_rate(clk); - clk_put(clk); - } - - /* setup mips r4k timer */ - mips_hpt_frequency = cpu_clock_freq / 2; - -#ifdef CONFIG_RS780_HPET - setup_hpet_timer(); -#endif -} +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Copyright (C) 2007 Lemote, Inc. & Institute of Computing Technology + * Author: Fuxin Zhang, zhangfx@lemote.com + * + * Copyright (C) 2009 Lemote Inc. + * Author: Wu Zhangjin, wuzhangjin@gmail.com + */ + +#include +#include + +#include +#include +#include + +void __init plat_time_init(void) +{ + struct clk *clk; + struct device_node *np; + + if (loongson_sysconf.fw_interface == LOONGSON_DTB) { + of_clk_init(NULL); + + np = of_get_cpu_node(0, NULL); + if (!np) { + pr_err("Failed to get CPU node\n"); + return; + } + + clk = of_clk_get(np, 0); + if (IS_ERR(clk)) { + pr_err("Failed to get CPU clock: %ld\n", PTR_ERR(clk)); + return; + } + + cpu_clock_freq = clk_get_rate(clk); + clk_put(clk); + } + + /* setup mips r4k timer */ + mips_hpt_frequency = cpu_clock_freq / 2; + +#ifdef CONFIG_RS780_HPET + setup_hpet_timer(); +#endif +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson64/vbios_quirk.c b/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson64/vbios_quirk.c index 3b34fb1b29..3115d4de98 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson64/vbios_quirk.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson64/vbios_quirk.c @@ -1,28 +1,28 @@ -// SPDX-License-Identifier: GPL-2.0+ - -#include -#include - -static void pci_fixup_video(struct pci_dev *pdev) -{ - struct resource *res = &pdev->resource[PCI_ROM_RESOURCE]; - - if (res->start) - return; - - if (!loongson_sysconf.vgabios_addr) - return; - - pci_disable_rom(pdev); - if (res->parent) - release_resource(res); - - res->start = virt_to_phys((void *) loongson_sysconf.vgabios_addr); - res->end = res->start + 256*1024 - 1; - res->flags = IORESOURCE_MEM | IORESOURCE_ROM_SHADOW | - IORESOURCE_PCI_FIXED; - - dev_info(&pdev->dev, "Video device with shadowed ROM at %pR\n", res); -} -DECLARE_PCI_FIXUP_CLASS_HEADER(PCI_VENDOR_ID_ATI, 0x9615, - PCI_CLASS_DISPLAY_VGA, 8, pci_fixup_video); +// SPDX-License-Identifier: GPL-2.0+ + +#include +#include + +static void pci_fixup_video(struct pci_dev *pdev) +{ + struct resource *res = &pdev->resource[PCI_ROM_RESOURCE]; + + if (res->start) + return; + + if (!loongson_sysconf.vgabios_addr) + return; + + pci_disable_rom(pdev); + if (res->parent) + release_resource(res); + + res->start = virt_to_phys((void *) loongson_sysconf.vgabios_addr); + res->end = res->start + 256*1024 - 1; + res->flags = IORESOURCE_MEM | IORESOURCE_ROM_SHADOW | + IORESOURCE_PCI_FIXED; + + dev_info(&pdev->dev, "Video device with shadowed ROM at %pR\n", res); +} +DECLARE_PCI_FIXUP_CLASS_HEADER(PCI_VENDOR_ID_ATI, 0x9615, + PCI_CLASS_DISPLAY_VGA, 8, pci_fixup_video); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/math-emu/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/mips/math-emu/Makefile index a999112ed6..81d25ff328 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/math-emu/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/math-emu/Makefile @@ -1,19 +1,19 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Makefile for the Linux/MIPS kernel FPU emulation. -# - -obj-y += cp1emu.o ieee754dp.o ieee754sp.o ieee754.o \ - dp_div.o dp_mul.o dp_sub.o dp_add.o dp_fsp.o dp_cmp.o dp_simple.o \ - dp_tint.o dp_fint.o dp_rint.o dp_maddf.o dp_2008class.o dp_fmin.o \ - dp_fmax.o \ - sp_div.o sp_mul.o sp_sub.o sp_add.o sp_fdp.o sp_cmp.o sp_simple.o \ - sp_tint.o sp_fint.o sp_rint.o sp_maddf.o sp_2008class.o sp_fmin.o \ - sp_fmax.o \ - dsemul.o - -lib-y += ieee754d.o \ - dp_tlong.o dp_flong.o dp_sqrt.o \ - sp_tlong.o sp_flong.o sp_sqrt.o - -obj-$(CONFIG_DEBUG_FS) += me-debugfs.o +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile for the Linux/MIPS kernel FPU emulation. +# + +obj-y += cp1emu.o ieee754dp.o ieee754sp.o ieee754.o \ + dp_div.o dp_mul.o dp_sub.o dp_add.o dp_fsp.o dp_cmp.o dp_simple.o \ + dp_tint.o dp_fint.o dp_rint.o dp_maddf.o dp_2008class.o dp_fmin.o \ + dp_fmax.o \ + sp_div.o sp_mul.o sp_sub.o sp_add.o sp_fdp.o sp_cmp.o sp_simple.o \ + sp_tint.o sp_fint.o sp_rint.o sp_maddf.o sp_2008class.o sp_fmin.o \ + sp_fmax.o \ + dsemul.o + +lib-y += ieee754d.o \ + dp_tlong.o dp_flong.o dp_sqrt.o \ + sp_tlong.o sp_flong.o sp_sqrt.o + +obj-$(CONFIG_DEBUG_FS) += me-debugfs.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/math-emu/dp_cmp.c b/image/debian/UFI003_MB_V02/kernel/arch/mips/math-emu/dp_cmp.c index 70f54028b9..a59680b035 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/math-emu/dp_cmp.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/math-emu/dp_cmp.c @@ -1,47 +1,47 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* IEEE754 floating point arithmetic - * double precision: common utilities - */ -/* - * MIPS floating point support - * Copyright (C) 1994-2000 Algorithmics Ltd. - */ - -#include "ieee754dp.h" - -int ieee754dp_cmp(union ieee754dp x, union ieee754dp y, int cmp, int sig) -{ - s64 vx; - s64 vy; - - COMPXDP; - COMPYDP; - - EXPLODEXDP; - EXPLODEYDP; - FLUSHXDP; - FLUSHYDP; - ieee754_clearcx(); /* Even clear inexact flag here */ - - if (ieee754_class_nan(xc) || ieee754_class_nan(yc)) { - if (sig || - xc == IEEE754_CLASS_SNAN || yc == IEEE754_CLASS_SNAN) - ieee754_setcx(IEEE754_INVALID_OPERATION); - return (cmp & IEEE754_CUN) != 0; - } else { - vx = x.bits; - vy = y.bits; - - if (vx < 0) - vx = -vx ^ DP_SIGN_BIT; - if (vy < 0) - vy = -vy ^ DP_SIGN_BIT; - - if (vx < vy) - return (cmp & IEEE754_CLT) != 0; - else if (vx == vy) - return (cmp & IEEE754_CEQ) != 0; - else - return (cmp & IEEE754_CGT) != 0; - } -} +// SPDX-License-Identifier: GPL-2.0-only +/* IEEE754 floating point arithmetic + * double precision: common utilities + */ +/* + * MIPS floating point support + * Copyright (C) 1994-2000 Algorithmics Ltd. + */ + +#include "ieee754dp.h" + +int ieee754dp_cmp(union ieee754dp x, union ieee754dp y, int cmp, int sig) +{ + s64 vx; + s64 vy; + + COMPXDP; + COMPYDP; + + EXPLODEXDP; + EXPLODEYDP; + FLUSHXDP; + FLUSHYDP; + ieee754_clearcx(); /* Even clear inexact flag here */ + + if (ieee754_class_nan(xc) || ieee754_class_nan(yc)) { + if (sig || + xc == IEEE754_CLASS_SNAN || yc == IEEE754_CLASS_SNAN) + ieee754_setcx(IEEE754_INVALID_OPERATION); + return (cmp & IEEE754_CUN) != 0; + } else { + vx = x.bits; + vy = y.bits; + + if (vx < 0) + vx = -vx ^ DP_SIGN_BIT; + if (vy < 0) + vy = -vy ^ DP_SIGN_BIT; + + if (vx < vy) + return (cmp & IEEE754_CLT) != 0; + else if (vx == vy) + return (cmp & IEEE754_CEQ) != 0; + else + return (cmp & IEEE754_CGT) != 0; + } +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/math-emu/dp_fint.c b/image/debian/UFI003_MB_V02/kernel/arch/mips/math-emu/dp_fint.c index 4ac8823fe6..996b15ba07 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/math-emu/dp_fint.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/math-emu/dp_fint.c @@ -1,44 +1,44 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* IEEE754 floating point arithmetic - * double precision: common utilities - */ -/* - * MIPS floating point support - * Copyright (C) 1994-2000 Algorithmics Ltd. - */ - -#include "ieee754dp.h" - -union ieee754dp ieee754dp_fint(int x) -{ - u64 xm; - int xe; - int xs; - - ieee754_clearcx(); - - if (x == 0) - return ieee754dp_zero(0); - if (x == 1 || x == -1) - return ieee754dp_one(x < 0); - if (x == 10 || x == -10) - return ieee754dp_ten(x < 0); - - xs = (x < 0); - if (xs) { - if (x == (1 << 31)) - xm = ((unsigned) 1 << 31); /* max neg can't be safely negated */ - else - xm = -x; - } else { - xm = x; - } - - /* normalize - result can never be inexact or overflow */ - xe = DP_FBITS; - while ((xm >> DP_FBITS) == 0) { - xm <<= 1; - xe--; - } - return builddp(xs, xe + DP_EBIAS, xm & ~DP_HIDDEN_BIT); -} +// SPDX-License-Identifier: GPL-2.0-only +/* IEEE754 floating point arithmetic + * double precision: common utilities + */ +/* + * MIPS floating point support + * Copyright (C) 1994-2000 Algorithmics Ltd. + */ + +#include "ieee754dp.h" + +union ieee754dp ieee754dp_fint(int x) +{ + u64 xm; + int xe; + int xs; + + ieee754_clearcx(); + + if (x == 0) + return ieee754dp_zero(0); + if (x == 1 || x == -1) + return ieee754dp_one(x < 0); + if (x == 10 || x == -10) + return ieee754dp_ten(x < 0); + + xs = (x < 0); + if (xs) { + if (x == (1 << 31)) + xm = ((unsigned) 1 << 31); /* max neg can't be safely negated */ + else + xm = -x; + } else { + xm = x; + } + + /* normalize - result can never be inexact or overflow */ + xe = DP_FBITS; + while ((xm >> DP_FBITS) == 0) { + xm <<= 1; + xe--; + } + return builddp(xs, xe + DP_EBIAS, xm & ~DP_HIDDEN_BIT); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/math-emu/dp_simple.c b/image/debian/UFI003_MB_V02/kernel/arch/mips/math-emu/dp_simple.c index ae33f214f8..b063aad7d2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/math-emu/dp_simple.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/math-emu/dp_simple.c @@ -1,49 +1,49 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* IEEE754 floating point arithmetic - * double precision: common utilities - */ -/* - * MIPS floating point support - * Copyright (C) 1994-2000 Algorithmics Ltd. - */ - -#include "ieee754dp.h" - -union ieee754dp ieee754dp_neg(union ieee754dp x) -{ - union ieee754dp y; - - if (ieee754_csr.abs2008) { - y = x; - DPSIGN(y) = !DPSIGN(x); - } else { - unsigned int oldrm; - - oldrm = ieee754_csr.rm; - ieee754_csr.rm = FPU_CSR_RD; - y = ieee754dp_sub(ieee754dp_zero(0), x); - ieee754_csr.rm = oldrm; - } - return y; -} - -union ieee754dp ieee754dp_abs(union ieee754dp x) -{ - union ieee754dp y; - - if (ieee754_csr.abs2008) { - y = x; - DPSIGN(y) = 0; - } else { - unsigned int oldrm; - - oldrm = ieee754_csr.rm; - ieee754_csr.rm = FPU_CSR_RD; - if (DPSIGN(x)) - y = ieee754dp_sub(ieee754dp_zero(0), x); - else - y = ieee754dp_add(ieee754dp_zero(0), x); - ieee754_csr.rm = oldrm; - } - return y; -} +// SPDX-License-Identifier: GPL-2.0-only +/* IEEE754 floating point arithmetic + * double precision: common utilities + */ +/* + * MIPS floating point support + * Copyright (C) 1994-2000 Algorithmics Ltd. + */ + +#include "ieee754dp.h" + +union ieee754dp ieee754dp_neg(union ieee754dp x) +{ + union ieee754dp y; + + if (ieee754_csr.abs2008) { + y = x; + DPSIGN(y) = !DPSIGN(x); + } else { + unsigned int oldrm; + + oldrm = ieee754_csr.rm; + ieee754_csr.rm = FPU_CSR_RD; + y = ieee754dp_sub(ieee754dp_zero(0), x); + ieee754_csr.rm = oldrm; + } + return y; +} + +union ieee754dp ieee754dp_abs(union ieee754dp x) +{ + union ieee754dp y; + + if (ieee754_csr.abs2008) { + y = x; + DPSIGN(y) = 0; + } else { + unsigned int oldrm; + + oldrm = ieee754_csr.rm; + ieee754_csr.rm = FPU_CSR_RD; + if (DPSIGN(x)) + y = ieee754dp_sub(ieee754dp_zero(0), x); + else + y = ieee754dp_add(ieee754dp_zero(0), x); + ieee754_csr.rm = oldrm; + } + return y; +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/math-emu/sp_cmp.c b/image/debian/UFI003_MB_V02/kernel/arch/mips/math-emu/sp_cmp.c index 30dedbff72..64a37362af 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/math-emu/sp_cmp.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/math-emu/sp_cmp.c @@ -1,47 +1,47 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* IEEE754 floating point arithmetic - * single precision - */ -/* - * MIPS floating point support - * Copyright (C) 1994-2000 Algorithmics Ltd. - */ - -#include "ieee754sp.h" - -int ieee754sp_cmp(union ieee754sp x, union ieee754sp y, int cmp, int sig) -{ - int vx; - int vy; - - COMPXSP; - COMPYSP; - - EXPLODEXSP; - EXPLODEYSP; - FLUSHXSP; - FLUSHYSP; - ieee754_clearcx(); /* Even clear inexact flag here */ - - if (ieee754_class_nan(xc) || ieee754_class_nan(yc)) { - if (sig || - xc == IEEE754_CLASS_SNAN || yc == IEEE754_CLASS_SNAN) - ieee754_setcx(IEEE754_INVALID_OPERATION); - return (cmp & IEEE754_CUN) != 0; - } else { - vx = x.bits; - vy = y.bits; - - if (vx < 0) - vx = -vx ^ SP_SIGN_BIT; - if (vy < 0) - vy = -vy ^ SP_SIGN_BIT; - - if (vx < vy) - return (cmp & IEEE754_CLT) != 0; - else if (vx == vy) - return (cmp & IEEE754_CEQ) != 0; - else - return (cmp & IEEE754_CGT) != 0; - } -} +// SPDX-License-Identifier: GPL-2.0-only +/* IEEE754 floating point arithmetic + * single precision + */ +/* + * MIPS floating point support + * Copyright (C) 1994-2000 Algorithmics Ltd. + */ + +#include "ieee754sp.h" + +int ieee754sp_cmp(union ieee754sp x, union ieee754sp y, int cmp, int sig) +{ + int vx; + int vy; + + COMPXSP; + COMPYSP; + + EXPLODEXSP; + EXPLODEYSP; + FLUSHXSP; + FLUSHYSP; + ieee754_clearcx(); /* Even clear inexact flag here */ + + if (ieee754_class_nan(xc) || ieee754_class_nan(yc)) { + if (sig || + xc == IEEE754_CLASS_SNAN || yc == IEEE754_CLASS_SNAN) + ieee754_setcx(IEEE754_INVALID_OPERATION); + return (cmp & IEEE754_CUN) != 0; + } else { + vx = x.bits; + vy = y.bits; + + if (vx < 0) + vx = -vx ^ SP_SIGN_BIT; + if (vy < 0) + vy = -vy ^ SP_SIGN_BIT; + + if (vx < vy) + return (cmp & IEEE754_CLT) != 0; + else if (vx == vy) + return (cmp & IEEE754_CEQ) != 0; + else + return (cmp & IEEE754_CGT) != 0; + } +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/math-emu/sp_fint.c b/image/debian/UFI003_MB_V02/kernel/arch/mips/math-emu/sp_fint.c index 95344b1430..6068e3caae 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/math-emu/sp_fint.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/math-emu/sp_fint.c @@ -1,53 +1,53 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* IEEE754 floating point arithmetic - * single precision - */ -/* - * MIPS floating point support - * Copyright (C) 1994-2000 Algorithmics Ltd. - */ - -#include "ieee754sp.h" - -union ieee754sp ieee754sp_fint(int x) -{ - unsigned int xm; - int xe; - int xs; - - ieee754_clearcx(); - - if (x == 0) - return ieee754sp_zero(0); - if (x == 1 || x == -1) - return ieee754sp_one(x < 0); - if (x == 10 || x == -10) - return ieee754sp_ten(x < 0); - - xs = (x < 0); - if (xs) { - if (x == (1 << 31)) - xm = ((unsigned) 1 << 31); /* max neg can't be safely negated */ - else - xm = -x; - } else { - xm = x; - } - xe = SP_FBITS + 3; - - if (xm >> (SP_FBITS + 1 + 3)) { - /* shunt out overflow bits - */ - while (xm >> (SP_FBITS + 1 + 3)) { - SPXSRSX1(); - } - } else { - /* normalize in grs extended single precision - */ - while ((xm >> (SP_FBITS + 3)) == 0) { - xm <<= 1; - xe--; - } - } - return ieee754sp_format(xs, xe, xm); -} +// SPDX-License-Identifier: GPL-2.0-only +/* IEEE754 floating point arithmetic + * single precision + */ +/* + * MIPS floating point support + * Copyright (C) 1994-2000 Algorithmics Ltd. + */ + +#include "ieee754sp.h" + +union ieee754sp ieee754sp_fint(int x) +{ + unsigned int xm; + int xe; + int xs; + + ieee754_clearcx(); + + if (x == 0) + return ieee754sp_zero(0); + if (x == 1 || x == -1) + return ieee754sp_one(x < 0); + if (x == 10 || x == -10) + return ieee754sp_ten(x < 0); + + xs = (x < 0); + if (xs) { + if (x == (1 << 31)) + xm = ((unsigned) 1 << 31); /* max neg can't be safely negated */ + else + xm = -x; + } else { + xm = x; + } + xe = SP_FBITS + 3; + + if (xm >> (SP_FBITS + 1 + 3)) { + /* shunt out overflow bits + */ + while (xm >> (SP_FBITS + 1 + 3)) { + SPXSRSX1(); + } + } else { + /* normalize in grs extended single precision + */ + while ((xm >> (SP_FBITS + 3)) == 0) { + xm <<= 1; + xe--; + } + } + return ieee754sp_format(xs, xe, xm); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/math-emu/sp_simple.c b/image/debian/UFI003_MB_V02/kernel/arch/mips/math-emu/sp_simple.c index db53b6f7b3..b9e91da7df 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/math-emu/sp_simple.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/math-emu/sp_simple.c @@ -1,49 +1,49 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* IEEE754 floating point arithmetic - * single precision - */ -/* - * MIPS floating point support - * Copyright (C) 1994-2000 Algorithmics Ltd. - */ - -#include "ieee754sp.h" - -union ieee754sp ieee754sp_neg(union ieee754sp x) -{ - union ieee754sp y; - - if (ieee754_csr.abs2008) { - y = x; - SPSIGN(y) = !SPSIGN(x); - } else { - unsigned int oldrm; - - oldrm = ieee754_csr.rm; - ieee754_csr.rm = FPU_CSR_RD; - y = ieee754sp_sub(ieee754sp_zero(0), x); - ieee754_csr.rm = oldrm; - } - return y; -} - -union ieee754sp ieee754sp_abs(union ieee754sp x) -{ - union ieee754sp y; - - if (ieee754_csr.abs2008) { - y = x; - SPSIGN(y) = 0; - } else { - unsigned int oldrm; - - oldrm = ieee754_csr.rm; - ieee754_csr.rm = FPU_CSR_RD; - if (SPSIGN(x)) - y = ieee754sp_sub(ieee754sp_zero(0), x); - else - y = ieee754sp_add(ieee754sp_zero(0), x); - ieee754_csr.rm = oldrm; - } - return y; -} +// SPDX-License-Identifier: GPL-2.0-only +/* IEEE754 floating point arithmetic + * single precision + */ +/* + * MIPS floating point support + * Copyright (C) 1994-2000 Algorithmics Ltd. + */ + +#include "ieee754sp.h" + +union ieee754sp ieee754sp_neg(union ieee754sp x) +{ + union ieee754sp y; + + if (ieee754_csr.abs2008) { + y = x; + SPSIGN(y) = !SPSIGN(x); + } else { + unsigned int oldrm; + + oldrm = ieee754_csr.rm; + ieee754_csr.rm = FPU_CSR_RD; + y = ieee754sp_sub(ieee754sp_zero(0), x); + ieee754_csr.rm = oldrm; + } + return y; +} + +union ieee754sp ieee754sp_abs(union ieee754sp x) +{ + union ieee754sp y; + + if (ieee754_csr.abs2008) { + y = x; + SPSIGN(y) = 0; + } else { + unsigned int oldrm; + + oldrm = ieee754_csr.rm; + ieee754_csr.rm = FPU_CSR_RD; + if (SPSIGN(x)) + y = ieee754sp_sub(ieee754sp_zero(0), x); + else + y = ieee754sp_add(ieee754sp_zero(0), x); + ieee754_csr.rm = oldrm; + } + return y; +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/mm/pgtable.c b/image/debian/UFI003_MB_V02/kernel/arch/mips/mm/pgtable.c index 7f76e5534d..1506e45804 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/mm/pgtable.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/mm/pgtable.c @@ -1,27 +1,27 @@ -/* - * 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. - */ -#include -#include -#include -#include - -pgd_t *pgd_alloc(struct mm_struct *mm) -{ - pgd_t *init, *ret = NULL; - struct ptdesc *ptdesc = pagetable_alloc(GFP_KERNEL & ~__GFP_HIGHMEM, - PGD_TABLE_ORDER); - - if (ptdesc) { - ret = ptdesc_address(ptdesc); - init = pgd_offset(&init_mm, 0UL); - pgd_init(ret); - memcpy(ret + USER_PTRS_PER_PGD, init + USER_PTRS_PER_PGD, - (PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t)); - } - - return ret; -} -EXPORT_SYMBOL_GPL(pgd_alloc); +/* + * 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. + */ +#include +#include +#include +#include + +pgd_t *pgd_alloc(struct mm_struct *mm) +{ + pgd_t *init, *ret = NULL; + struct ptdesc *ptdesc = pagetable_alloc(GFP_KERNEL & ~__GFP_HIGHMEM, + PGD_TABLE_ORDER); + + if (ptdesc) { + ret = ptdesc_address(ptdesc); + init = pgd_offset(&init_mm, 0UL); + pgd_init(ret); + memcpy(ret + USER_PTRS_PER_PGD, init + USER_PTRS_PER_PGD, + (PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t)); + } + + return ret; +} +EXPORT_SYMBOL_GPL(pgd_alloc); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/mm/tlbex-fault.S b/image/debian/UFI003_MB_V02/kernel/arch/mips/mm/tlbex-fault.S index 0abb76e053..77db401fc6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/mm/tlbex-fault.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/mm/tlbex-fault.S @@ -1,28 +1,28 @@ -/* - * 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) 1999 Ralf Baechle - * Copyright (C) 1999 Silicon Graphics, Inc. - */ -#include -#include -#include - - .macro tlb_do_page_fault, write - NESTED(tlb_do_page_fault_\write, PT_SIZE, sp) - .cfi_signal_frame - SAVE_ALL docfi=1 - MFC0 a2, CP0_BADVADDR - KMODE - move a0, sp - REG_S a2, PT_BVADDR(sp) - li a1, \write - jal do_page_fault - j ret_from_exception - END(tlb_do_page_fault_\write) - .endm - - tlb_do_page_fault 0 - tlb_do_page_fault 1 +/* + * 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) 1999 Ralf Baechle + * Copyright (C) 1999 Silicon Graphics, Inc. + */ +#include +#include +#include + + .macro tlb_do_page_fault, write + NESTED(tlb_do_page_fault_\write, PT_SIZE, sp) + .cfi_signal_frame + SAVE_ALL docfi=1 + MFC0 a2, CP0_BADVADDR + KMODE + move a0, sp + REG_S a2, PT_BVADDR(sp) + li a1, \write + jal do_page_fault + j ret_from_exception + END(tlb_do_page_fault_\write) + .endm + + tlb_do_page_fault 0 + tlb_do_page_fault 1 diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/pci/pci-bcm63xx.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/pci/pci-bcm63xx.h index c24b8666e3..214def1e45 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/pci/pci-bcm63xx.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/pci/pci-bcm63xx.h @@ -1,33 +1,33 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef PCI_BCM63XX_H_ -#define PCI_BCM63XX_H_ - -#include -#include -#include -#include - -/* - * Cardbus shares the PCI bus, but has no IDSEL, so a special id is - * reserved for it. If you have a standard PCI device at this id, you - * need to change the following definition. - */ -#define CARDBUS_PCI_IDSEL 0x8 - - -#define PCIE_BUS_BRIDGE 0 -#define PCIE_BUS_DEVICE 1 - -/* - * defined in ops-bcm63xx.c - */ -extern struct pci_ops bcm63xx_pci_ops; -extern struct pci_ops bcm63xx_cb_ops; -extern struct pci_ops bcm63xx_pcie_ops; - -/* - * defined in pci-bcm63xx.c - */ -extern void __iomem *pci_iospace_start; - -#endif /* ! PCI_BCM63XX_H_ */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef PCI_BCM63XX_H_ +#define PCI_BCM63XX_H_ + +#include +#include +#include +#include + +/* + * Cardbus shares the PCI bus, but has no IDSEL, so a special id is + * reserved for it. If you have a standard PCI device at this id, you + * need to change the following definition. + */ +#define CARDBUS_PCI_IDSEL 0x8 + + +#define PCIE_BUS_BRIDGE 0 +#define PCIE_BUS_DEVICE 1 + +/* + * defined in ops-bcm63xx.c + */ +extern struct pci_ops bcm63xx_pci_ops; +extern struct pci_ops bcm63xx_cb_ops; +extern struct pci_ops bcm63xx_pcie_ops; + +/* + * defined in pci-bcm63xx.c + */ +extern void __iomem *pci_iospace_start; + +#endif /* ! PCI_BCM63XX_H_ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/power/cpu.c b/image/debian/UFI003_MB_V02/kernel/arch/mips/power/cpu.c index 4ea40984bc..d8ef7778e5 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/power/cpu.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/power/cpu.c @@ -1,43 +1,43 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Suspend support specific for mips. - * - * Copyright (C) 2009 Lemote Inc. - * Author: Hu Hongbing - * Wu Zhangjin - */ -#include -#include -#include -#include - -static u32 saved_status; -struct pt_regs saved_regs; - -void save_processor_state(void) -{ - saved_status = read_c0_status(); - - if (is_fpu_owner()) - save_fp(current); - - save_dsp(current); -} - -void restore_processor_state(void) -{ - write_c0_status(saved_status); - - if (is_fpu_owner()) - restore_fp(current); - - restore_dsp(current); -} - -int pfn_is_nosave(unsigned long pfn) -{ - unsigned long nosave_begin_pfn = PFN_DOWN(__pa(&__nosave_begin)); - unsigned long nosave_end_pfn = PFN_UP(__pa(&__nosave_end)); - - return (pfn >= nosave_begin_pfn) && (pfn < nosave_end_pfn); -} +// SPDX-License-Identifier: GPL-2.0-only +/* + * Suspend support specific for mips. + * + * Copyright (C) 2009 Lemote Inc. + * Author: Hu Hongbing + * Wu Zhangjin + */ +#include +#include +#include +#include + +static u32 saved_status; +struct pt_regs saved_regs; + +void save_processor_state(void) +{ + saved_status = read_c0_status(); + + if (is_fpu_owner()) + save_fp(current); + + save_dsp(current); +} + +void restore_processor_state(void) +{ + write_c0_status(saved_status); + + if (is_fpu_owner()) + restore_fp(current); + + restore_dsp(current); +} + +int pfn_is_nosave(unsigned long pfn) +{ + unsigned long nosave_begin_pfn = PFN_DOWN(__pa(&__nosave_begin)); + unsigned long nosave_end_pfn = PFN_UP(__pa(&__nosave_end)); + + return (pfn >= nosave_begin_pfn) && (pfn < nosave_end_pfn); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/ralink/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/mips/ralink/Makefile index 323c3233f6..26fabbdea1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/ralink/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/ralink/Makefile @@ -1,28 +1,28 @@ -# SPDX-License-Identifier: GPL-2.0-only -# Makefile for the Ralink common stuff -# -# Copyright (C) 2009-2011 Gabor Juhos -# Copyright (C) 2013 John Crispin - -obj-y := prom.o of.o reset.o - -ifndef CONFIG_MIPS_GIC - obj-y += clk.o timer.o -endif - -obj-$(CONFIG_CLKEVT_RT3352) += cevt-rt3352.o - -obj-$(CONFIG_RALINK_ILL_ACC) += ill_acc.o - -obj-$(CONFIG_IRQ_INTC) += irq.o -obj-$(CONFIG_MIPS_GIC) += irq-gic.o timer-gic.o - -obj-$(CONFIG_SOC_RT288X) += rt288x.o -obj-$(CONFIG_SOC_RT305X) += rt305x.o -obj-$(CONFIG_SOC_RT3883) += rt3883.o -obj-$(CONFIG_SOC_MT7620) += mt7620.o -obj-$(CONFIG_SOC_MT7621) += mt7621.o - -obj-$(CONFIG_EARLY_PRINTK) += early_printk.o - -obj-$(CONFIG_DEBUG_FS) += bootrom.o +# SPDX-License-Identifier: GPL-2.0-only +# Makefile for the Ralink common stuff +# +# Copyright (C) 2009-2011 Gabor Juhos +# Copyright (C) 2013 John Crispin + +obj-y := prom.o of.o reset.o + +ifndef CONFIG_MIPS_GIC + obj-y += clk.o timer.o +endif + +obj-$(CONFIG_CLKEVT_RT3352) += cevt-rt3352.o + +obj-$(CONFIG_RALINK_ILL_ACC) += ill_acc.o + +obj-$(CONFIG_IRQ_INTC) += irq.o +obj-$(CONFIG_MIPS_GIC) += irq-gic.o timer-gic.o + +obj-$(CONFIG_SOC_RT288X) += rt288x.o +obj-$(CONFIG_SOC_RT305X) += rt305x.o +obj-$(CONFIG_SOC_RT3883) += rt3883.o +obj-$(CONFIG_SOC_MT7620) += mt7620.o +obj-$(CONFIG_SOC_MT7621) += mt7621.o + +obj-$(CONFIG_EARLY_PRINTK) += early_printk.o + +obj-$(CONFIG_DEBUG_FS) += bootrom.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/ralink/Platform b/image/debian/UFI003_MB_V02/kernel/arch/mips/ralink/Platform index 854f256703..02ee079148 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/ralink/Platform +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/ralink/Platform @@ -1,33 +1,33 @@ -# -# Ralink SoC common stuff -# -cflags-$(CONFIG_RALINK) += -I$(srctree)/arch/mips/include/asm/mach-ralink - -# -# Ralink RT288x -# -load-$(CONFIG_SOC_RT288X) += 0xffffffff88000000 -cflags-$(CONFIG_SOC_RT288X) += -I$(srctree)/arch/mips/include/asm/mach-ralink/rt288x - -# -# Ralink RT305x -# -load-$(CONFIG_SOC_RT305X) += 0xffffffff80000000 -cflags-$(CONFIG_SOC_RT305X) += -I$(srctree)/arch/mips/include/asm/mach-ralink/rt305x - -# -# Ralink RT3883 -# -load-$(CONFIG_SOC_RT3883) += 0xffffffff80000000 -cflags-$(CONFIG_SOC_RT3883) += -I$(srctree)/arch/mips/include/asm/mach-ralink/rt3883 - -# -# Ralink MT7620 -# -load-$(CONFIG_SOC_MT7620) += 0xffffffff80000000 -cflags-$(CONFIG_SOC_MT7620) += -I$(srctree)/arch/mips/include/asm/mach-ralink/mt7620 - -# Ralink MT7621 -# -load-$(CONFIG_SOC_MT7621) += 0xffffffff80001000 -cflags-$(CONFIG_SOC_MT7621) += -I$(srctree)/arch/mips/include/asm/mach-ralink/mt7621 +# +# Ralink SoC common stuff +# +cflags-$(CONFIG_RALINK) += -I$(srctree)/arch/mips/include/asm/mach-ralink + +# +# Ralink RT288x +# +load-$(CONFIG_SOC_RT288X) += 0xffffffff88000000 +cflags-$(CONFIG_SOC_RT288X) += -I$(srctree)/arch/mips/include/asm/mach-ralink/rt288x + +# +# Ralink RT305x +# +load-$(CONFIG_SOC_RT305X) += 0xffffffff80000000 +cflags-$(CONFIG_SOC_RT305X) += -I$(srctree)/arch/mips/include/asm/mach-ralink/rt305x + +# +# Ralink RT3883 +# +load-$(CONFIG_SOC_RT3883) += 0xffffffff80000000 +cflags-$(CONFIG_SOC_RT3883) += -I$(srctree)/arch/mips/include/asm/mach-ralink/rt3883 + +# +# Ralink MT7620 +# +load-$(CONFIG_SOC_MT7620) += 0xffffffff80000000 +cflags-$(CONFIG_SOC_MT7620) += -I$(srctree)/arch/mips/include/asm/mach-ralink/mt7620 + +# Ralink MT7621 +# +load-$(CONFIG_SOC_MT7621) += 0xffffffff80001000 +cflags-$(CONFIG_SOC_MT7621) += -I$(srctree)/arch/mips/include/asm/mach-ralink/mt7621 diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/ralink/reset.c b/image/debian/UFI003_MB_V02/kernel/arch/mips/ralink/reset.c index 1898bb1293..4875637ef4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/ralink/reset.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/ralink/reset.c @@ -1,43 +1,43 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * - * Copyright (C) 2008-2009 Gabor Juhos - * Copyright (C) 2008 Imre Kaloz - * Copyright (C) 2013 John Crispin - */ - -#include -#include -#include -#include - -#include - -#include - -/* Reset Control */ -#define SYSC_REG_RESET_CTRL 0x034 - -#define RSTCTL_RESET_PCI BIT(26) -#define RSTCTL_RESET_SYSTEM BIT(0) - -static void ralink_restart(char *command) -{ - if (IS_ENABLED(CONFIG_PCI)) { - rt_sysc_m32(0, RSTCTL_RESET_PCI, SYSC_REG_RESET_CTRL); - mdelay(50); - } - - local_irq_disable(); - rt_sysc_w32(RSTCTL_RESET_SYSTEM, SYSC_REG_RESET_CTRL); - unreachable(); -} - -static int __init mips_reboot_setup(void) -{ - _machine_restart = ralink_restart; - - return 0; -} - -arch_initcall(mips_reboot_setup); +// SPDX-License-Identifier: GPL-2.0-only +/* + * + * Copyright (C) 2008-2009 Gabor Juhos + * Copyright (C) 2008 Imre Kaloz + * Copyright (C) 2013 John Crispin + */ + +#include +#include +#include +#include + +#include + +#include + +/* Reset Control */ +#define SYSC_REG_RESET_CTRL 0x034 + +#define RSTCTL_RESET_PCI BIT(26) +#define RSTCTL_RESET_SYSTEM BIT(0) + +static void ralink_restart(char *command) +{ + if (IS_ENABLED(CONFIG_PCI)) { + rt_sysc_m32(0, RSTCTL_RESET_PCI, SYSC_REG_RESET_CTRL); + mdelay(50); + } + + local_irq_disable(); + rt_sysc_w32(RSTCTL_RESET_SYSTEM, SYSC_REG_RESET_CTRL); + unreachable(); +} + +static int __init mips_reboot_setup(void) +{ + _machine_restart = ralink_restart; + + return 0; +} + +arch_initcall(mips_reboot_setup); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/sgi-ip27/Platform b/image/debian/UFI003_MB_V02/kernel/arch/mips/sgi-ip27/Platform index b06cb2de9e..e734ee6abd 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/sgi-ip27/Platform +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/sgi-ip27/Platform @@ -1,16 +1,16 @@ -# -# SGI-IP27 (Origin200/2000) -# -# Set the load address to >= 0xc000000000300000 if you want to leave space for -# symmon, 0xc00000000001c000 for production kernels. Note that the value must -# be 16kb aligned or the handling of the current variable will break. -# -cflags-$(CONFIG_SGI_IP27) += -I$(srctree)/arch/mips/include/asm/mach-ip27 -ifdef CONFIG_MAPPED_KERNEL -load-$(CONFIG_SGI_IP27) += 0xc00000004001c000 -OBJCOPYFLAGS := --change-addresses=0x3fffffff80000000 -dataoffset-$(CONFIG_SGI_IP27) += 0x01000000 -else -load-$(CONFIG_SGI_IP27) += 0xa80000000001c000 -OBJCOPYFLAGS := --change-addresses=0x57ffffff80000000 -endif +# +# SGI-IP27 (Origin200/2000) +# +# Set the load address to >= 0xc000000000300000 if you want to leave space for +# symmon, 0xc00000000001c000 for production kernels. Note that the value must +# be 16kb aligned or the handling of the current variable will break. +# +cflags-$(CONFIG_SGI_IP27) += -I$(srctree)/arch/mips/include/asm/mach-ip27 +ifdef CONFIG_MAPPED_KERNEL +load-$(CONFIG_SGI_IP27) += 0xc00000004001c000 +OBJCOPYFLAGS := --change-addresses=0x3fffffff80000000 +dataoffset-$(CONFIG_SGI_IP27) += 0x01000000 +else +load-$(CONFIG_SGI_IP27) += 0xa80000000001c000 +OBJCOPYFLAGS := --change-addresses=0x57ffffff80000000 +endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/sgi-ip27/ip27-common.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/sgi-ip27/ip27-common.h index 87199186f1..a0059fa139 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/sgi-ip27/ip27-common.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/sgi-ip27/ip27-common.h @@ -1,22 +1,22 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -#ifndef __IP27_COMMON_H -#define __IP27_COMMON_H - -extern nasid_t master_nasid; - -extern void cpu_node_probe(void); -extern void hub_rt_clock_event_init(void); -extern void hub_rtc_init(nasid_t nasid); -extern void install_cpu_nmi_handler(int slice); -extern void install_ipi(void); -extern void ip27_be_init(void); -extern void ip27_reboot_setup(void); -extern const struct plat_smp_ops ip27_smp_ops; -extern unsigned long node_getfirstfree(nasid_t nasid); -extern void per_cpu_init(void); -extern void replicate_kernel_text(void); -extern void setup_replication_mask(void); - - -#endif /* __IP27_COMMON_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ + +#ifndef __IP27_COMMON_H +#define __IP27_COMMON_H + +extern nasid_t master_nasid; + +extern void cpu_node_probe(void); +extern void hub_rt_clock_event_init(void); +extern void hub_rtc_init(nasid_t nasid); +extern void install_cpu_nmi_handler(int slice); +extern void install_ipi(void); +extern void ip27_be_init(void); +extern void ip27_reboot_setup(void); +extern const struct plat_smp_ops ip27_smp_ops; +extern unsigned long node_getfirstfree(nasid_t nasid); +extern void per_cpu_init(void); +extern void replicate_kernel_text(void); +extern void setup_replication_mask(void); + + +#endif /* __IP27_COMMON_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/sgi-ip27/ip27-console.c b/image/debian/UFI003_MB_V02/kernel/arch/mips/sgi-ip27/ip27-console.c index 66d6643e57..7737a88c65 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/sgi-ip27/ip27-console.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/sgi-ip27/ip27-console.c @@ -1,42 +1,42 @@ -/* - * 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) 2001, 2002 Ralf Baechle - */ - -#include -#include -#include -#include -#include -#include - -#include -#include - -#include "ip27-common.h" - -#define IOC3_CLK (22000000 / 3) -#define IOC3_FLAGS (0) - -static inline struct ioc3_uartregs *console_uart(void) -{ - struct ioc3 *ioc3; - nasid_t nasid; - - nasid = (master_nasid == INVALID_NASID) ? get_nasid() : master_nasid; - ioc3 = (struct ioc3 *)KL_CONFIG_CH_CONS_INFO(nasid)->memory_base; - - return &ioc3->sregs.uarta; -} - -void prom_putchar(char c) -{ - struct ioc3_uartregs *uart = console_uart(); - - while ((readb(&uart->iu_lsr) & 0x20) == 0) - ; - writeb(c, &uart->iu_thr); -} +/* + * 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) 2001, 2002 Ralf Baechle + */ + +#include +#include +#include +#include +#include +#include + +#include +#include + +#include "ip27-common.h" + +#define IOC3_CLK (22000000 / 3) +#define IOC3_FLAGS (0) + +static inline struct ioc3_uartregs *console_uart(void) +{ + struct ioc3 *ioc3; + nasid_t nasid; + + nasid = (master_nasid == INVALID_NASID) ? get_nasid() : master_nasid; + ioc3 = (struct ioc3 *)KL_CONFIG_CH_CONS_INFO(nasid)->memory_base; + + return &ioc3->sregs.uarta; +} + +void prom_putchar(char c) +{ + struct ioc3_uartregs *uart = console_uart(); + + while ((readb(&uart->iu_lsr) & 0x20) == 0) + ; + writeb(c, &uart->iu_thr); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/sgi-ip30/ip30-common.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/sgi-ip30/ip30-common.h index cc4e3f29ab..7b5db24b62 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/sgi-ip30/ip30-common.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/sgi-ip30/ip30-common.h @@ -1,23 +1,23 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -#ifndef __IP30_COMMON_H -#define __IP30_COMMON_H - -/* - * Power Switch is wired via BaseIO BRIDGE slot #6. - * - * ACFail is wired via BaseIO BRIDGE slot #7. - */ -#define IP30_POWER_IRQ HEART_L2_INT_POWER_BTN - -#define IP30_HEART_L0_IRQ (MIPS_CPU_IRQ_BASE + 2) -#define IP30_HEART_L1_IRQ (MIPS_CPU_IRQ_BASE + 3) -#define IP30_HEART_L2_IRQ (MIPS_CPU_IRQ_BASE + 4) -#define IP30_HEART_TIMER_IRQ (MIPS_CPU_IRQ_BASE + 5) -#define IP30_HEART_ERR_IRQ (MIPS_CPU_IRQ_BASE + 6) - -extern void __init ip30_install_ipi(void); -extern struct plat_smp_ops ip30_smp_ops; -extern void __init ip30_per_cpu_init(void); - -#endif /* __IP30_COMMON_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ + +#ifndef __IP30_COMMON_H +#define __IP30_COMMON_H + +/* + * Power Switch is wired via BaseIO BRIDGE slot #6. + * + * ACFail is wired via BaseIO BRIDGE slot #7. + */ +#define IP30_POWER_IRQ HEART_L2_INT_POWER_BTN + +#define IP30_HEART_L0_IRQ (MIPS_CPU_IRQ_BASE + 2) +#define IP30_HEART_L1_IRQ (MIPS_CPU_IRQ_BASE + 3) +#define IP30_HEART_L2_IRQ (MIPS_CPU_IRQ_BASE + 4) +#define IP30_HEART_TIMER_IRQ (MIPS_CPU_IRQ_BASE + 5) +#define IP30_HEART_ERR_IRQ (MIPS_CPU_IRQ_BASE + 6) + +extern void __init ip30_install_ipi(void); +extern struct plat_smp_ops ip30_smp_ops; +extern void __init ip30_per_cpu_init(void); + +#endif /* __IP30_COMMON_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/sgi-ip32/ip32-dma.c b/image/debian/UFI003_MB_V02/kernel/arch/mips/sgi-ip32/ip32-dma.c index 62cb780f03..20c6da9d76 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/sgi-ip32/ip32-dma.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/sgi-ip32/ip32-dma.c @@ -1,37 +1,37 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright (C) 2006 Ralf Baechle - */ -#include -#include - -/* - * Few notes. - * 1. CPU sees memory as two chunks: 0-256M@0x0, and the rest @0x40000000+256M - * 2. PCI sees memory as one big chunk @0x0 (or we could use 0x40000000 for - * native-endian) - * 3. All other devices see memory as one big chunk at 0x40000000 - * 4. Non-PCI devices will pass NULL as struct device* - * - * Thus we translate differently, depending on device. - */ - -#define RAM_OFFSET_MASK 0x3fffffffUL - -dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) -{ - dma_addr_t dma_addr = paddr & RAM_OFFSET_MASK; - - if (!dev) - dma_addr += CRIME_HI_MEM_BASE; - return dma_addr; -} - -phys_addr_t dma_to_phys(struct device *dev, dma_addr_t dma_addr) -{ - phys_addr_t paddr = dma_addr & RAM_OFFSET_MASK; - - if (dma_addr >= 256*1024*1024) - paddr += CRIME_HI_MEM_BASE; - return paddr; -} +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2006 Ralf Baechle + */ +#include +#include + +/* + * Few notes. + * 1. CPU sees memory as two chunks: 0-256M@0x0, and the rest @0x40000000+256M + * 2. PCI sees memory as one big chunk @0x0 (or we could use 0x40000000 for + * native-endian) + * 3. All other devices see memory as one big chunk at 0x40000000 + * 4. Non-PCI devices will pass NULL as struct device* + * + * Thus we translate differently, depending on device. + */ + +#define RAM_OFFSET_MASK 0x3fffffffUL + +dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) +{ + dma_addr_t dma_addr = paddr & RAM_OFFSET_MASK; + + if (!dev) + dma_addr += CRIME_HI_MEM_BASE; + return dma_addr; +} + +phys_addr_t dma_to_phys(struct device *dev, dma_addr_t dma_addr) +{ + phys_addr_t paddr = dma_addr & RAM_OFFSET_MASK; + + if (dma_addr >= 256*1024*1024) + paddr += CRIME_HI_MEM_BASE; + return paddr; +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/sibyte/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/mips/sibyte/Makefile index 160a9cea84..47078353fe 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/sibyte/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/sibyte/Makefile @@ -1,23 +1,23 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Sibyte SB1250 / BCM1480 family of SOCs -# -obj-$(CONFIG_SIBYTE_BCM112X) += sb1250/ -obj-$(CONFIG_SIBYTE_BCM112X) += common/ -obj-$(CONFIG_SIBYTE_SB1250) += sb1250/ -obj-$(CONFIG_SIBYTE_SB1250) += common/ -obj-$(CONFIG_SIBYTE_BCM1x80) += bcm1480/ -obj-$(CONFIG_SIBYTE_BCM1x80) += common/ - -# -# Sibyte BCM91125C (CRhone) board -# Sibyte BCM91125E (Rhone) board -# Sibyte SWARM board -# Sibyte BCM91x80 (BigSur) board -# -obj-$(CONFIG_SIBYTE_CRHONE) += swarm/ -obj-$(CONFIG_SIBYTE_RHONE) += swarm/ -obj-$(CONFIG_SIBYTE_SENTOSA) += swarm/ -obj-$(CONFIG_SIBYTE_SWARM) += swarm/ -obj-$(CONFIG_SIBYTE_BIGSUR) += swarm/ -obj-$(CONFIG_SIBYTE_LITTLESUR) += swarm/ +# SPDX-License-Identifier: GPL-2.0 +# +# Sibyte SB1250 / BCM1480 family of SOCs +# +obj-$(CONFIG_SIBYTE_BCM112X) += sb1250/ +obj-$(CONFIG_SIBYTE_BCM112X) += common/ +obj-$(CONFIG_SIBYTE_SB1250) += sb1250/ +obj-$(CONFIG_SIBYTE_SB1250) += common/ +obj-$(CONFIG_SIBYTE_BCM1x80) += bcm1480/ +obj-$(CONFIG_SIBYTE_BCM1x80) += common/ + +# +# Sibyte BCM91125C (CRhone) board +# Sibyte BCM91125E (Rhone) board +# Sibyte SWARM board +# Sibyte BCM91x80 (BigSur) board +# +obj-$(CONFIG_SIBYTE_CRHONE) += swarm/ +obj-$(CONFIG_SIBYTE_RHONE) += swarm/ +obj-$(CONFIG_SIBYTE_SENTOSA) += swarm/ +obj-$(CONFIG_SIBYTE_SWARM) += swarm/ +obj-$(CONFIG_SIBYTE_BIGSUR) += swarm/ +obj-$(CONFIG_SIBYTE_LITTLESUR) += swarm/ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/nios2/boot/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/nios2/boot/Makefile index 1c9c66868e..29c11a06b7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/nios2/boot/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/nios2/boot/Makefile @@ -1,32 +1,32 @@ -# -# arch/nios2/boot/Makefile -# -# 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. -# - -UIMAGE_LOADADDR = $(shell $(NM) vmlinux | awk '$$NF == "_stext" {print $$1}') -UIMAGE_ENTRYADDR = $(shell $(NM) vmlinux | awk '$$NF == "_start" {print $$1}') -UIMAGE_COMPRESSION = gzip - -OBJCOPYFLAGS_vmlinux.bin := -O binary - -targets += vmlinux.bin vmlinux.gz vmImage - -$(obj)/vmlinux.bin: vmlinux FORCE - $(call if_changed,objcopy) - -$(obj)/vmlinux.gz: $(obj)/vmlinux.bin FORCE - $(call if_changed,gzip) - -$(obj)/vmImage: $(obj)/vmlinux.gz FORCE - $(call if_changed,uimage) - @$(kecho) 'Kernel: $@ is ready' - -$(obj)/zImage: $(obj)/compressed/vmlinux FORCE - $(call if_changed,objcopy) - @$(kecho) 'Kernel: $@ is ready' - -$(obj)/compressed/vmlinux: $(obj)/vmlinux.gz FORCE - $(Q)$(MAKE) $(build)=$(obj)/compressed $@ +# +# arch/nios2/boot/Makefile +# +# 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. +# + +UIMAGE_LOADADDR = $(shell $(NM) vmlinux | awk '$$NF == "_stext" {print $$1}') +UIMAGE_ENTRYADDR = $(shell $(NM) vmlinux | awk '$$NF == "_start" {print $$1}') +UIMAGE_COMPRESSION = gzip + +OBJCOPYFLAGS_vmlinux.bin := -O binary + +targets += vmlinux.bin vmlinux.gz vmImage + +$(obj)/vmlinux.bin: vmlinux FORCE + $(call if_changed,objcopy) + +$(obj)/vmlinux.gz: $(obj)/vmlinux.bin FORCE + $(call if_changed,gzip) + +$(obj)/vmImage: $(obj)/vmlinux.gz FORCE + $(call if_changed,uimage) + @$(kecho) 'Kernel: $@ is ready' + +$(obj)/zImage: $(obj)/compressed/vmlinux FORCE + $(call if_changed,objcopy) + @$(kecho) 'Kernel: $@ is ready' + +$(obj)/compressed/vmlinux: $(obj)/vmlinux.gz FORCE + $(Q)$(MAKE) $(build)=$(obj)/compressed $@ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/nios2/boot/compressed/vmlinux.lds.S b/image/debian/UFI003_MB_V02/kernel/arch/nios2/boot/compressed/vmlinux.lds.S index ae313e011a..9b02d0c972 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/nios2/boot/compressed/vmlinux.lds.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/nios2/boot/compressed/vmlinux.lds.S @@ -1,45 +1,45 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * Copyright (C) 2009 Thomas Chou - */ - -#include - -OUTPUT_FORMAT("elf32-littlenios2", "elf32-littlenios2", "elf32-littlenios2") - -OUTPUT_ARCH(nios) -ENTRY(_start) /* Defined in head.S */ - -SECTIONS -{ - . = (CONFIG_NIOS2_MEM_BASE + CONFIG_NIOS2_BOOT_LINK_OFFSET) | \ - CONFIG_NIOS2_KERNEL_REGION_BASE; - - _text = .; - .text : { *(.text) } = 0 - .rodata : { *(.rodata) *(.rodata.*) } - _etext = .; - - . = ALIGN(32 / 8); - .data : { *(.data) } - . = ALIGN(32 / 8); - _got = .; - .got : { - *(.got.plt) - *(.igot.plt) - *(.got) - *(.igot) - } - _egot = .; - _edata = .; - - . = ALIGN(32 / 8); - __bss_start = .; - .bss : { *(.bss) *(.sbss) } - . = ALIGN(32 / 8); - _ebss = .; - end = . ; - _end = . ; - - got_len = (_egot - _got); -} +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * Copyright (C) 2009 Thomas Chou + */ + +#include + +OUTPUT_FORMAT("elf32-littlenios2", "elf32-littlenios2", "elf32-littlenios2") + +OUTPUT_ARCH(nios) +ENTRY(_start) /* Defined in head.S */ + +SECTIONS +{ + . = (CONFIG_NIOS2_MEM_BASE + CONFIG_NIOS2_BOOT_LINK_OFFSET) | \ + CONFIG_NIOS2_KERNEL_REGION_BASE; + + _text = .; + .text : { *(.text) } = 0 + .rodata : { *(.rodata) *(.rodata.*) } + _etext = .; + + . = ALIGN(32 / 8); + .data : { *(.data) } + . = ALIGN(32 / 8); + _got = .; + .got : { + *(.got.plt) + *(.igot.plt) + *(.got) + *(.igot) + } + _egot = .; + _edata = .; + + . = ALIGN(32 / 8); + __bss_start = .; + .bss : { *(.bss) *(.sbss) } + . = ALIGN(32 / 8); + _ebss = .; + end = . ; + _end = . ; + + got_len = (_egot - _got); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/nios2/boot/compressed/vmlinux.scr b/image/debian/UFI003_MB_V02/kernel/arch/nios2/boot/compressed/vmlinux.scr index b1c3ba95f6..28c42f1d12 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/nios2/boot/compressed/vmlinux.scr +++ b/image/debian/UFI003_MB_V02/kernel/arch/nios2/boot/compressed/vmlinux.scr @@ -1,28 +1,28 @@ -/* - * Copyright (C) 2009 Thomas Chou - * - * 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. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - * - */ - -SECTIONS -{ - .data : { - input_len = .; - LONG(input_data_end - input_data) input_data = .; - *(.data) - . = ALIGN(4); - input_data_end = .; - } -} +/* + * Copyright (C) 2009 Thomas Chou + * + * 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. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + * + */ + +SECTIONS +{ + .data : { + input_len = .; + LONG(input_data_end - input_data) input_data = .; + *(.data) + . = ALIGN(4); + input_data_end = .; + } +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/nios2/boot/install.sh b/image/debian/UFI003_MB_V02/kernel/arch/nios2/boot/install.sh old mode 100644 new mode 100755 index eaf44a587a..1161f2bf59 --- a/image/debian/UFI003_MB_V02/kernel/arch/nios2/boot/install.sh +++ b/image/debian/UFI003_MB_V02/kernel/arch/nios2/boot/install.sh @@ -1,32 +1,32 @@ -#!/bin/sh -# -# 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 by Linus Torvalds -# -# Adapted from code in arch/i386/boot/Makefile by H. Peter Anvin -# -# "make install" script for nios2 architecture -# -# Arguments: -# $1 - kernel version -# $2 - kernel image file -# $3 - kernel map file -# $4 - default install path (blank if root directory) - -set -e - -if [ -f $4/vmlinuz ]; then - mv $4/vmlinuz $4/vmlinuz.old -fi - -if [ -f $4/System.map ]; then - mv $4/System.map $4/System.old -fi - -cat $2 > $4/vmlinuz -cp $3 $4/System.map - -sync +#!/bin/sh +# +# 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 by Linus Torvalds +# +# Adapted from code in arch/i386/boot/Makefile by H. Peter Anvin +# +# "make install" script for nios2 architecture +# +# Arguments: +# $1 - kernel version +# $2 - kernel image file +# $3 - kernel map file +# $4 - default install path (blank if root directory) + +set -e + +if [ -f $4/vmlinuz ]; then + mv $4/vmlinuz $4/vmlinuz.old +fi + +if [ -f $4/System.map ]; then + mv $4/System.map $4/System.old +fi + +cat $2 > $4/vmlinuz +cp $3 $4/System.map + +sync diff --git a/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/asm/cache.h b/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/asm/cache.h index 20b227698e..43695f341f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/asm/cache.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/asm/cache.h @@ -1,26 +1,26 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * Copyright (C) 2004 Microtronix Datacom Ltd. - * - * All rights reserved. - */ - -#ifndef _ASM_NIOS2_CACHE_H -#define _ASM_NIOS2_CACHE_H - -#define NIOS2_DCACHE_SIZE CONFIG_NIOS2_DCACHE_SIZE -#define NIOS2_ICACHE_SIZE CONFIG_NIOS2_ICACHE_SIZE -#define NIOS2_DCACHE_LINE_SIZE CONFIG_NIOS2_DCACHE_LINE_SIZE -#define NIOS2_ICACHE_LINE_SHIFT 5 -#define NIOS2_ICACHE_LINE_SIZE (1 << NIOS2_ICACHE_LINE_SHIFT) - -/* bytes per L1 cache line */ -#define L1_CACHE_SHIFT NIOS2_ICACHE_LINE_SHIFT -#define L1_CACHE_BYTES NIOS2_ICACHE_LINE_SIZE - -#define ARCH_DMA_MINALIGN L1_CACHE_BYTES - -#define __cacheline_aligned -#define ____cacheline_aligned - -#endif +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * Copyright (C) 2004 Microtronix Datacom Ltd. + * + * All rights reserved. + */ + +#ifndef _ASM_NIOS2_CACHE_H +#define _ASM_NIOS2_CACHE_H + +#define NIOS2_DCACHE_SIZE CONFIG_NIOS2_DCACHE_SIZE +#define NIOS2_ICACHE_SIZE CONFIG_NIOS2_ICACHE_SIZE +#define NIOS2_DCACHE_LINE_SIZE CONFIG_NIOS2_DCACHE_LINE_SIZE +#define NIOS2_ICACHE_LINE_SHIFT 5 +#define NIOS2_ICACHE_LINE_SIZE (1 << NIOS2_ICACHE_LINE_SHIFT) + +/* bytes per L1 cache line */ +#define L1_CACHE_SHIFT NIOS2_ICACHE_LINE_SHIFT +#define L1_CACHE_BYTES NIOS2_ICACHE_LINE_SIZE + +#define ARCH_DMA_MINALIGN L1_CACHE_BYTES + +#define __cacheline_aligned +#define ____cacheline_aligned + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/asm/cpuinfo.h b/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/asm/cpuinfo.h index dffff560bf..61349e003a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/asm/cpuinfo.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/asm/cpuinfo.h @@ -1,46 +1,46 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * Copyright (C) 2011 Tobias Klauser - */ - -#ifndef _ASM_NIOS2_CPUINFO_H -#define _ASM_NIOS2_CPUINFO_H - -#include - -struct cpuinfo { - /* Core CPU configuration */ - char cpu_impl[12]; - u32 cpu_clock_freq; - bool mmu; - bool has_div; - bool has_mul; - bool has_mulx; - bool has_bmx; - bool has_cdx; - - /* CPU caches */ - u32 icache_line_size; - u32 icache_size; - u32 dcache_line_size; - u32 dcache_size; - - /* TLB */ - u32 tlb_pid_num_bits; /* number of bits used for the PID in TLBMISC */ - u32 tlb_num_ways; - u32 tlb_num_ways_log2; - u32 tlb_num_entries; - u32 tlb_num_lines; - u32 tlb_ptr_sz; - - /* Addresses */ - u32 reset_addr; - u32 exception_addr; - u32 fast_tlb_miss_exc_addr; -}; - -extern struct cpuinfo cpuinfo; - -extern void setup_cpuinfo(void); - -#endif /* _ASM_NIOS2_CPUINFO_H */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * Copyright (C) 2011 Tobias Klauser + */ + +#ifndef _ASM_NIOS2_CPUINFO_H +#define _ASM_NIOS2_CPUINFO_H + +#include + +struct cpuinfo { + /* Core CPU configuration */ + char cpu_impl[12]; + u32 cpu_clock_freq; + bool mmu; + bool has_div; + bool has_mul; + bool has_mulx; + bool has_bmx; + bool has_cdx; + + /* CPU caches */ + u32 icache_line_size; + u32 icache_size; + u32 dcache_line_size; + u32 dcache_size; + + /* TLB */ + u32 tlb_pid_num_bits; /* number of bits used for the PID in TLBMISC */ + u32 tlb_num_ways; + u32 tlb_num_ways_log2; + u32 tlb_num_entries; + u32 tlb_num_lines; + u32 tlb_ptr_sz; + + /* Addresses */ + u32 reset_addr; + u32 exception_addr; + u32 fast_tlb_miss_exc_addr; +}; + +extern struct cpuinfo cpuinfo; + +extern void setup_cpuinfo(void); + +#endif /* _ASM_NIOS2_CPUINFO_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/asm/pgalloc.h b/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/asm/pgalloc.h index 613a92b61f..ce6bb8e742 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/asm/pgalloc.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/asm/pgalloc.h @@ -1,37 +1,37 @@ -/* - * 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 - 2001, 2003 by Ralf Baechle - * Copyright (C) 1999, 2000, 2001 Silicon Graphics, Inc. - */ - -#ifndef _ASM_NIOS2_PGALLOC_H -#define _ASM_NIOS2_PGALLOC_H - -#include - -#include - -static inline void pmd_populate_kernel(struct mm_struct *mm, pmd_t *pmd, - pte_t *pte) -{ - set_pmd(pmd, __pmd((unsigned long)pte)); -} - -static inline void pmd_populate(struct mm_struct *mm, pmd_t *pmd, - pgtable_t pte) -{ - set_pmd(pmd, __pmd((unsigned long)page_address(pte))); -} - -extern pgd_t *pgd_alloc(struct mm_struct *mm); - -#define __pte_free_tlb(tlb, pte, addr) \ - do { \ - pagetable_pte_dtor(page_ptdesc(pte)); \ - tlb_remove_page_ptdesc((tlb), (page_ptdesc(pte))); \ - } while (0) - -#endif /* _ASM_NIOS2_PGALLOC_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 - 2001, 2003 by Ralf Baechle + * Copyright (C) 1999, 2000, 2001 Silicon Graphics, Inc. + */ + +#ifndef _ASM_NIOS2_PGALLOC_H +#define _ASM_NIOS2_PGALLOC_H + +#include + +#include + +static inline void pmd_populate_kernel(struct mm_struct *mm, pmd_t *pmd, + pte_t *pte) +{ + set_pmd(pmd, __pmd((unsigned long)pte)); +} + +static inline void pmd_populate(struct mm_struct *mm, pmd_t *pmd, + pgtable_t pte) +{ + set_pmd(pmd, __pmd((unsigned long)page_address(pte))); +} + +extern pgd_t *pgd_alloc(struct mm_struct *mm); + +#define __pte_free_tlb(tlb, pte, addr) \ + do { \ + pagetable_pte_dtor(page_ptdesc(pte)); \ + tlb_remove_page_ptdesc((tlb), (page_ptdesc(pte))); \ + } while (0) + +#endif /* _ASM_NIOS2_PGALLOC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/asm/switch_to.h b/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/asm/switch_to.h index 801121a9ce..c47b3f4afb 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/asm/switch_to.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/asm/switch_to.h @@ -1,31 +1,31 @@ -/* - * 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_SWITCH_TO_H -#define _ASM_NIOS2_SWITCH_TO_H - -/* - * switch_to(n) should switch tasks to task ptr, first checking that - * ptr isn't the current task, in which case it does nothing. This - * also clears the TS-flag if the task we switched to has used the - * math co-processor latest. - */ -#define switch_to(prev, next, last) \ -{ \ - void *_last; \ - __asm__ __volatile__ ( \ - "mov r4, %1\n" \ - "mov r5, %2\n" \ - "call resume\n" \ - "mov %0,r4\n" \ - : "=r" (_last) \ - : "r" (prev), "r" (next) \ - : "r4", "r5", "r7", "r8", "ra"); \ - (last) = _last; \ -} - -#endif /* _ASM_NIOS2_SWITCH_TO_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_SWITCH_TO_H +#define _ASM_NIOS2_SWITCH_TO_H + +/* + * switch_to(n) should switch tasks to task ptr, first checking that + * ptr isn't the current task, in which case it does nothing. This + * also clears the TS-flag if the task we switched to has used the + * math co-processor latest. + */ +#define switch_to(prev, next, last) \ +{ \ + void *_last; \ + __asm__ __volatile__ ( \ + "mov r4, %1\n" \ + "mov r5, %2\n" \ + "call resume\n" \ + "mov %0,r4\n" \ + : "=r" (_last) \ + : "r" (prev), "r" (next) \ + : "r4", "r5", "r7", "r8", "ra"); \ + (last) = _last; \ +} + +#endif /* _ASM_NIOS2_SWITCH_TO_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/asm/tlb.h b/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/asm/tlb.h index b069a97399..f9f2e27e32 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/asm/tlb.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/asm/tlb.h @@ -1,24 +1,24 @@ -/* - * Copyright (C) 2010 Tobias Klauser - * Copyright (C) 2009 Wind River Systems Inc - * 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_TLB_H -#define _ASM_NIOS2_TLB_H - -extern void set_mmu_pid(unsigned long pid); - -/* - * NIOS32 does have flush_tlb_range(), but it lacks a limit and fallback to - * full mm invalidation. So use flush_tlb_mm() for everything. - */ - -#include -#include - -#endif /* _ASM_NIOS2_TLB_H */ +/* + * Copyright (C) 2010 Tobias Klauser + * Copyright (C) 2009 Wind River Systems Inc + * 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_TLB_H +#define _ASM_NIOS2_TLB_H + +extern void set_mmu_pid(unsigned long pid); + +/* + * NIOS32 does have flush_tlb_range(), but it lacks a limit and fallback to + * full mm invalidation. So use flush_tlb_mm() for everything. + */ + +#include +#include + +#endif /* _ASM_NIOS2_TLB_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/uapi/asm/byteorder.h b/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/uapi/asm/byteorder.h index 18aa9deaf3..639007a554 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/uapi/asm/byteorder.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/uapi/asm/byteorder.h @@ -1,23 +1,23 @@ -/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ -/* - * Copyright (C) 2009 Thomas Chou - * Copyright (C) 2004 Microtronix Datacom Ltd - * - * 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. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - */ - -#ifndef _ASM_NIOS2_BYTEORDER_H -#define _ASM_NIOS2_BYTEORDER_H - -#include - -#endif +/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ +/* + * Copyright (C) 2009 Thomas Chou + * Copyright (C) 2004 Microtronix Datacom Ltd + * + * 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. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + */ + +#ifndef _ASM_NIOS2_BYTEORDER_H +#define _ASM_NIOS2_BYTEORDER_H + +#include + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/uapi/asm/sigcontext.h b/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/uapi/asm/sigcontext.h index 3bd1bb30a0..204ae3475b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/uapi/asm/sigcontext.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/uapi/asm/sigcontext.h @@ -1,31 +1,31 @@ -/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ -/* - * Copyright (C) 2004, Microtronix Datacom Ltd. - * - * All rights reserved. - * - * 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. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, GOOD TITLE or - * NON INFRINGEMENT. See the GNU General Public License for more - * details. - */ - -#ifndef _UAPI__ASM_SIGCONTEXT_H -#define _UAPI__ASM_SIGCONTEXT_H - -#include - -#define MCONTEXT_VERSION 2 - -struct sigcontext { - int version; - unsigned long gregs[32]; -}; - -#endif +/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ +/* + * Copyright (C) 2004, Microtronix Datacom Ltd. + * + * All rights reserved. + * + * 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. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, GOOD TITLE or + * NON INFRINGEMENT. See the GNU General Public License for more + * details. + */ + +#ifndef _UAPI__ASM_SIGCONTEXT_H +#define _UAPI__ASM_SIGCONTEXT_H + +#include + +#define MCONTEXT_VERSION 2 + +struct sigcontext { + int version; + unsigned long gregs[32]; +}; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/uapi/asm/signal.h b/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/uapi/asm/signal.h index dba4323007..b0d983068f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/uapi/asm/signal.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/uapi/asm/signal.h @@ -1,24 +1,24 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -/* - * Copyright Altera Corporation (C) 2013. All rights reserved - * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. - * - * This program is distributed in the hope it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - * - * You should have received a copy of the GNU General Public License along with - * this program. If not, see . - * - */ -#ifndef _ASM_NIOS2_SIGNAL_H -#define _ASM_NIOS2_SIGNAL_H - -#define SA_RESTORER 0x04000000 -#include - -#endif /* _ASM_NIOS2_SIGNAL_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +/* + * Copyright Altera Corporation (C) 2013. All rights reserved + * + * This program is free software; you can redistribute it and/or modify it + * under the terms and conditions of the GNU General Public License, + * version 2, as published by the Free Software Foundation. + * + * This program is distributed in the hope it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + * + * You should have received a copy of the GNU General Public License along with + * this program. If not, see . + * + */ +#ifndef _ASM_NIOS2_SIGNAL_H +#define _ASM_NIOS2_SIGNAL_H + +#define SA_RESTORER 0x04000000 +#include + +#endif /* _ASM_NIOS2_SIGNAL_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/uapi/asm/unistd.h b/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/uapi/asm/unistd.h index c4a696b511..1f0e0f5538 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/uapi/asm/unistd.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/uapi/asm/unistd.h @@ -1,19 +1,19 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -/* - * Copyright (C) 2013 Altera Corporation - * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. - * - * This program is distributed in the hope it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - * - * You should have received a copy of the GNU General Public License along with - * this program. If not, see . - * - */ - -#include +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +/* + * Copyright (C) 2013 Altera Corporation + * + * This program is free software; you can redistribute it and/or modify it + * under the terms and conditions of the GNU General Public License, + * version 2, as published by the Free Software Foundation. + * + * This program is distributed in the hope it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + * + * You should have received a copy of the GNU General Public License along with + * this program. If not, see . + * + */ + +#include diff --git a/image/debian/UFI003_MB_V02/kernel/arch/nios2/lib/delay.c b/image/debian/UFI003_MB_V02/kernel/arch/nios2/lib/delay.c index 50f055b03a..f1e39c7f74 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/nios2/lib/delay.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/nios2/lib/delay.c @@ -1,40 +1,40 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* Copyright Altera Corporation (C) 2014. All rights reserved. - */ - -#include -#include -#include -#include -#include - -void __delay(unsigned long cycles) -{ - cycles_t start = get_cycles(); - - while ((get_cycles() - start) < cycles) - cpu_relax(); -} -EXPORT_SYMBOL(__delay); - -void __const_udelay(unsigned long xloops) -{ - u64 loops; - - loops = (u64)xloops * loops_per_jiffy * HZ; - - __delay(loops >> 32); -} -EXPORT_SYMBOL(__const_udelay); - -void __udelay(unsigned long usecs) -{ - __const_udelay(usecs * 0x10C7UL); /* 2**32 / 1000000 (rounded up) */ -} -EXPORT_SYMBOL(__udelay); - -void __ndelay(unsigned long nsecs) -{ - __const_udelay(nsecs * 0x5UL); /* 2**32 / 1000000000 (rounded up) */ -} -EXPORT_SYMBOL(__ndelay); +// SPDX-License-Identifier: GPL-2.0-only +/* Copyright Altera Corporation (C) 2014. All rights reserved. + */ + +#include +#include +#include +#include +#include + +void __delay(unsigned long cycles) +{ + cycles_t start = get_cycles(); + + while ((get_cycles() - start) < cycles) + cpu_relax(); +} +EXPORT_SYMBOL(__delay); + +void __const_udelay(unsigned long xloops) +{ + u64 loops; + + loops = (u64)xloops * loops_per_jiffy * HZ; + + __delay(loops >> 32); +} +EXPORT_SYMBOL(__const_udelay); + +void __udelay(unsigned long usecs) +{ + __const_udelay(usecs * 0x10C7UL); /* 2**32 / 1000000 (rounded up) */ +} +EXPORT_SYMBOL(__udelay); + +void __ndelay(unsigned long nsecs) +{ + __const_udelay(nsecs * 0x5UL); /* 2**32 / 1000000000 (rounded up) */ +} +EXPORT_SYMBOL(__ndelay); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/nios2/mm/extable.c b/image/debian/UFI003_MB_V02/kernel/arch/nios2/mm/extable.c index abeb64363e..2574dba040 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/nios2/mm/extable.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/nios2/mm/extable.c @@ -1,25 +1,25 @@ -/* - * Copyright (C) 2010, Tobias Klauser - * Copyright (C) 2009, Wind River Systems Inc - * Implemented by fredrik.markstrom@gmail.com and ivarholmqvist@gmail.com - * - * 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. - */ - -#include -#include - -int fixup_exception(struct pt_regs *regs) -{ - const struct exception_table_entry *fixup; - - fixup = search_exception_tables(regs->ea); - if (fixup) { - regs->ea = fixup->fixup; - return 1; - } - - return 0; -} +/* + * Copyright (C) 2010, Tobias Klauser + * Copyright (C) 2009, Wind River Systems Inc + * Implemented by fredrik.markstrom@gmail.com and ivarholmqvist@gmail.com + * + * 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. + */ + +#include +#include + +int fixup_exception(struct pt_regs *regs) +{ + const struct exception_table_entry *fixup; + + fixup = search_exception_tables(regs->ea); + if (fixup) { + regs->ea = fixup->fixup; + return 1; + } + + return 0; +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/cache.h b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/cache.h index 0df831f771..fbc3f8cae9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/cache.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/cache.h @@ -1,27 +1,27 @@ -/* 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_CACHE_H -#define __ASM_OPENRISC_CACHE_H - -/* FIXME: How can we replace these with values from the CPU... - * they shouldn't be hard-coded! - */ - -#define __ro_after_init __read_mostly - -#define L1_CACHE_BYTES 16 -#define L1_CACHE_SHIFT 4 - -#endif /* __ASM_OPENRISC_CACHE_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_CACHE_H +#define __ASM_OPENRISC_CACHE_H + +/* FIXME: How can we replace these with values from the CPU... + * they shouldn't be hard-coded! + */ + +#define __ro_after_init __read_mostly + +#define L1_CACHE_BYTES 16 +#define L1_CACHE_SHIFT 4 + +#endif /* __ASM_OPENRISC_CACHE_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/cpuinfo.h b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/cpuinfo.h index 5e24bd230e..5e4744153d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/cpuinfo.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/cpuinfo.h @@ -1,35 +1,35 @@ -/* 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_CPUINFO_H -#define __ASM_OPENRISC_CPUINFO_H - -struct cpuinfo_or1k { - u32 clock_frequency; - - u32 icache_size; - u32 icache_block_size; - u32 icache_ways; - - u32 dcache_size; - u32 dcache_block_size; - u32 dcache_ways; - - u16 coreid; -}; - -extern struct cpuinfo_or1k cpuinfo_or1k[NR_CPUS]; -extern void setup_cpuinfo(void); - -#endif /* __ASM_OPENRISC_CPUINFO_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_CPUINFO_H +#define __ASM_OPENRISC_CPUINFO_H + +struct cpuinfo_or1k { + u32 clock_frequency; + + u32 icache_size; + u32 icache_block_size; + u32 icache_ways; + + u32 dcache_size; + u32 dcache_block_size; + u32 dcache_ways; + + u16 coreid; +}; + +extern struct cpuinfo_or1k cpuinfo_or1k[NR_CPUS]; +extern void setup_cpuinfo(void); + +#endif /* __ASM_OPENRISC_CPUINFO_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/io.h b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/io.h index 8b880d2e10..5a6f0f16a5 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/io.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/io.h @@ -1,39 +1,39 @@ -/* 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 - * et al. - */ - -#ifndef __ASM_OPENRISC_IO_H -#define __ASM_OPENRISC_IO_H - -#include -#include -#include - -/* - * PCI: We do not use IO ports in OpenRISC - */ -#define IO_SPACE_LIMIT 0 - -/* OpenRISC has no port IO */ -#define HAVE_ARCH_PIO_SIZE 1 -#define PIO_RESERVED 0X0UL -#define PIO_OFFSET 0 -#define PIO_MASK 0 - -/* - * I/O memory mapping functions. - */ -#define _PAGE_IOREMAP (pgprot_val(PAGE_KERNEL) | _PAGE_CI) - -#include - -#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 + * et al. + */ + +#ifndef __ASM_OPENRISC_IO_H +#define __ASM_OPENRISC_IO_H + +#include +#include +#include + +/* + * PCI: We do not use IO ports in OpenRISC + */ +#define IO_SPACE_LIMIT 0 + +/* OpenRISC has no port IO */ +#define HAVE_ARCH_PIO_SIZE 1 +#define PIO_RESERVED 0X0UL +#define PIO_OFFSET 0 +#define PIO_MASK 0 + +/* + * I/O memory mapping functions. + */ +#define _PAGE_IOREMAP (pgprot_val(PAGE_KERNEL) | _PAGE_CI) + +#include + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/irqflags.h b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/irqflags.h index 0bc7a7cb0b..d63343b229 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/irqflags.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/irqflags.h @@ -1,25 +1,25 @@ -/* 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_IRQFLAGS_H -#define ___ASM_OPENRISC_IRQFLAGS_H - -#include - -#define ARCH_IRQ_DISABLED 0x00 -#define ARCH_IRQ_ENABLED (SPR_SR_IEE|SPR_SR_TEE) - -#include - -#endif /* ___ASM_OPENRISC_IRQFLAGS_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_IRQFLAGS_H +#define ___ASM_OPENRISC_IRQFLAGS_H + +#include + +#define ARCH_IRQ_DISABLED 0x00 +#define ARCH_IRQ_ENABLED (SPR_SR_IEE|SPR_SR_TEE) + +#include + +#endif /* ___ASM_OPENRISC_IRQFLAGS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/serial.h b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/serial.h index 8c38d9240e..a9f23af336 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/serial.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/serial.h @@ -1,32 +1,32 @@ -/* 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_SERIAL_H -#define __ASM_OPENRISC_SERIAL_H - -#ifdef __KERNEL__ - -#include - -/* There's a generic version of this file, but it assumes a 1.8MHz UART clk... - * this, on the other hand, assumes the UART clock is tied to the system - * clock... 8250_early.c (early 8250 serial console) actually uses this, so - * it needs to be correct to get the early console working. - */ - -#define BASE_BAUD (cpuinfo_or1k[smp_processor_id()].clock_frequency/16) - -#endif /* __KERNEL__ */ - -#endif /* __ASM_OPENRISC_SERIAL_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_SERIAL_H +#define __ASM_OPENRISC_SERIAL_H + +#ifdef __KERNEL__ + +#include + +/* There's a generic version of this file, but it assumes a 1.8MHz UART clk... + * this, on the other hand, assumes the UART clock is tied to the system + * clock... 8250_early.c (early 8250 serial console) actually uses this, so + * it needs to be correct to get the early console working. + */ + +#define BASE_BAUD (cpuinfo_or1k[smp_processor_id()].clock_frequency/16) + +#endif /* __KERNEL__ */ + +#endif /* __ASM_OPENRISC_SERIAL_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/smp.h b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/smp.h index 1a40813580..e21d2f12b5 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/smp.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/smp.h @@ -1,26 +1,26 @@ -/* - * Copyright (C) 2014 Stefan Kristiansson - * - * 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_SMP_H -#define __ASM_OPENRISC_SMP_H - -#include -#include - -#define raw_smp_processor_id() (current_thread_info()->cpu) -#define hard_smp_processor_id() mfspr(SPR_COREID) - -extern void smp_init_cpus(void); - -extern void arch_send_call_function_single_ipi(int cpu); -extern void arch_send_call_function_ipi_mask(const struct cpumask *mask); - -extern void set_smp_cross_call(void (*)(const struct cpumask *, unsigned int)); -extern void handle_IPI(unsigned int ipi_msg); - -#endif /* __ASM_OPENRISC_SMP_H */ +/* + * Copyright (C) 2014 Stefan Kristiansson + * + * 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_SMP_H +#define __ASM_OPENRISC_SMP_H + +#include +#include + +#define raw_smp_processor_id() (current_thread_info()->cpu) +#define hard_smp_processor_id() mfspr(SPR_COREID) + +extern void smp_init_cpus(void); + +extern void arch_send_call_function_single_ipi(int cpu); +extern void arch_send_call_function_ipi_mask(const struct cpumask *mask); + +extern void set_smp_cross_call(void (*)(const struct cpumask *, unsigned int)); +extern void handle_IPI(unsigned int ipi_msg); + +#endif /* __ASM_OPENRISC_SMP_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/syscalls.h b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/syscalls.h index c29ce50545..9f4c47961b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/syscalls.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/syscalls.h @@ -1,28 +1,28 @@ -/* 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_SYSCALLS_H -#define __ASM_OPENRISC_SYSCALLS_H - -asmlinkage long sys_or1k_atomic(unsigned long type, unsigned long *v1, - unsigned long *v2); - -#include - -asmlinkage long __sys_clone(unsigned long clone_flags, unsigned long newsp, - void __user *parent_tid, void __user *child_tid, int tls); -asmlinkage long __sys_clone3(struct clone_args __user *uargs, size_t size); -asmlinkage long __sys_fork(void); - -#endif /* __ASM_OPENRISC_SYSCALLS_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_SYSCALLS_H +#define __ASM_OPENRISC_SYSCALLS_H + +asmlinkage long sys_or1k_atomic(unsigned long type, unsigned long *v1, + unsigned long *v2); + +#include + +asmlinkage long __sys_clone(unsigned long clone_flags, unsigned long newsp, + void __user *parent_tid, void __user *child_tid, int tls); +asmlinkage long __sys_clone3(struct clone_args __user *uargs, size_t size); +asmlinkage long __sys_fork(void); + +#endif /* __ASM_OPENRISC_SYSCALLS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/time.h b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/time.h index 5e0f8515a2..313ee97577 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/time.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/time.h @@ -1,23 +1,23 @@ -/* - * OpenRISC timer API - * - * Copyright (C) 2017 by Stafford Horne (shorne@gmail.com) - * - * 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_OR1K_TIME_H -#define __ASM_OR1K_TIME_H - -extern void openrisc_clockevent_init(void); - -extern void openrisc_timer_set(unsigned long count); -extern void openrisc_timer_set_next(unsigned long delta); - -#ifdef CONFIG_SMP -extern void synchronise_count_master(int cpu); -extern void synchronise_count_slave(int cpu); -#endif - -#endif /* __ASM_OR1K_TIME_H */ +/* + * OpenRISC timer API + * + * Copyright (C) 2017 by Stafford Horne (shorne@gmail.com) + * + * 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_OR1K_TIME_H +#define __ASM_OR1K_TIME_H + +extern void openrisc_clockevent_init(void); + +extern void openrisc_timer_set(unsigned long count); +extern void openrisc_timer_set_next(unsigned long delta); + +#ifdef CONFIG_SMP +extern void synchronise_count_master(int cpu); +extern void synchronise_count_slave(int cpu); +#endif + +#endif /* __ASM_OR1K_TIME_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/timex.h b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/timex.h index 82b9fe1cd0..5487fa93dd 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/timex.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/timex.h @@ -1,33 +1,33 @@ -/* 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_TIMEX_H -#define __ASM_OPENRISC_TIMEX_H - -#define get_cycles get_cycles - -#include -#include -#include - -static inline cycles_t get_cycles(void) -{ - return mfspr(SPR_TTCR); -} -#define get_cycles get_cycles - -/* This isn't really used any more */ -#define CLOCK_TICK_RATE 1000 - -#define ARCH_HAS_READ_CURRENT_TIMER - -#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_TIMEX_H +#define __ASM_OPENRISC_TIMEX_H + +#define get_cycles get_cycles + +#include +#include +#include + +static inline cycles_t get_cycles(void) +{ + return mfspr(SPR_TTCR); +} +#define get_cycles get_cycles + +/* This isn't really used any more */ +#define CLOCK_TICK_RATE 1000 + +#define ARCH_HAS_READ_CURRENT_TIMER + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/tlb.h b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/tlb.h index 2de1babdb4..1936d0494b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/tlb.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/tlb.h @@ -1,26 +1,26 @@ -/* 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_TLB_H__ -#define __ASM_OPENRISC_TLB_H__ - -/* - * OpenRISC doesn't have an efficient flush_tlb_range() so use flush_tlb_mm() - * for everything. - */ - -#include -#include - -#endif /* __ASM_OPENRISC_TLB_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_TLB_H__ +#define __ASM_OPENRISC_TLB_H__ + +/* + * OpenRISC doesn't have an efficient flush_tlb_range() so use flush_tlb_mm() + * for everything. + */ + +#include +#include + +#endif /* __ASM_OPENRISC_TLB_H__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/uapi/asm/param.h b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/uapi/asm/param.h index 1acafe1061..103471e310 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/uapi/asm/param.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/uapi/asm/param.h @@ -1,27 +1,27 @@ -/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ -/* - * 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. - * - * 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_OPENRISC_PARAM_H -#define __ASM_OPENRISC_PARAM_H - -#define EXEC_PAGESIZE 8192 - -#include - -#endif /* __ASM_OPENRISC_PARAM_H */ +/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ +/* + * 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. + * + * 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_OPENRISC_PARAM_H +#define __ASM_OPENRISC_PARAM_H + +#define EXEC_PAGESIZE 8192 + +#include + +#endif /* __ASM_OPENRISC_PARAM_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/uapi/asm/unistd.h b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/uapi/asm/unistd.h index e386bc9f80..46b94d454e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/uapi/asm/unistd.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/uapi/asm/unistd.h @@ -1,20 +1,20 @@ -/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ -/* - * 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. - * - * 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. - */ - -#include +/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ +/* + * 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. + * + * 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. + */ + +#include diff --git a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/kernel/irq.c b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/kernel/irq.c index 4489ba1fe9..f38e10962a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/kernel/irq.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/kernel/irq.c @@ -1,38 +1,38 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * OpenRISC irq.c - * - * Linux architectural port borrowing liberally from similar works of - * others. All original copyrights apply as per the original source - * declaration. - * - * Modifications for the OpenRISC architecture: - * Copyright (C) 2010-2011 Jonas Bonn - */ - -#include -#include -#include -#include -#include -#include -#include - -/* read interrupt enabled status */ -unsigned long arch_local_save_flags(void) -{ - return mfspr(SPR_SR) & (SPR_SR_IEE|SPR_SR_TEE); -} -EXPORT_SYMBOL(arch_local_save_flags); - -/* set interrupt enabled status */ -void arch_local_irq_restore(unsigned long flags) -{ - mtspr(SPR_SR, ((mfspr(SPR_SR) & ~(SPR_SR_IEE|SPR_SR_TEE)) | flags)); -} -EXPORT_SYMBOL(arch_local_irq_restore); - -void __init init_IRQ(void) -{ - irqchip_init(); -} +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * OpenRISC irq.c + * + * Linux architectural port borrowing liberally from similar works of + * others. All original copyrights apply as per the original source + * declaration. + * + * Modifications for the OpenRISC architecture: + * Copyright (C) 2010-2011 Jonas Bonn + */ + +#include +#include +#include +#include +#include +#include +#include + +/* read interrupt enabled status */ +unsigned long arch_local_save_flags(void) +{ + return mfspr(SPR_SR) & (SPR_SR_IEE|SPR_SR_TEE); +} +EXPORT_SYMBOL(arch_local_save_flags); + +/* set interrupt enabled status */ +void arch_local_irq_restore(unsigned long flags) +{ + mtspr(SPR_SR, ((mfspr(SPR_SR) & ~(SPR_SR_IEE|SPR_SR_TEE)) | flags)); +} +EXPORT_SYMBOL(arch_local_irq_restore); + +void __init init_IRQ(void) +{ + irqchip_init(); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/kernel/prom.c b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/kernel/prom.c index 336e089da4..e424e9bd12 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/kernel/prom.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/kernel/prom.c @@ -1,27 +1,27 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * OpenRISC prom.c - * - * Linux architectural port borrowing liberally from similar works of - * others. All original copyrights apply as per the original source - * declaration. - * - * Modifications for the OpenRISC architecture: - * Copyright (C) 2010-2011 Jonas Bonn - * - * Architecture specific procedures for creating, accessing and - * interpreting the device tree. - */ - -#include -#include -#include -#include - -#include - -void __init early_init_devtree(void *params) -{ - early_init_dt_scan(params, __pa(params)); - memblock_allow_resize(); -} +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * OpenRISC prom.c + * + * Linux architectural port borrowing liberally from similar works of + * others. All original copyrights apply as per the original source + * declaration. + * + * Modifications for the OpenRISC architecture: + * Copyright (C) 2010-2011 Jonas Bonn + * + * Architecture specific procedures for creating, accessing and + * interpreting the device tree. + */ + +#include +#include +#include +#include + +#include + +void __init early_init_devtree(void *params) +{ + early_init_dt_scan(params, __pa(params)); + memblock_allow_resize(); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/kernel/sys_call_table.c b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/kernel/sys_call_table.c index 3f9f4b6b6f..b2f57e2538 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/kernel/sys_call_table.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/kernel/sys_call_table.c @@ -1,29 +1,29 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * OpenRISC sys_call_table.c - * - * Linux architectural port borrowing liberally from similar works of - * others. All original copyrights apply as per the original source - * declaration. - * - * Modifications for the OpenRISC architecture: - * Copyright (C) 2010-2011 Jonas Bonn - */ - -#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 -#define sys_clone __sys_clone -#define sys_clone3 __sys_clone3 -#define sys_fork __sys_fork - -void *sys_call_table[__NR_syscalls] = { -#include -}; +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * OpenRISC sys_call_table.c + * + * Linux architectural port borrowing liberally from similar works of + * others. All original copyrights apply as per the original source + * declaration. + * + * Modifications for the OpenRISC architecture: + * Copyright (C) 2010-2011 Jonas Bonn + */ + +#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 +#define sys_clone __sys_clone +#define sys_clone3 __sys_clone3 +#define sys_fork __sys_fork + +void *sys_call_table[__NR_syscalls] = { +#include +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/parisc/Kconfig.debug b/image/debian/UFI003_MB_V02/kernel/arch/parisc/Kconfig.debug index 1e54ff391c..f4f164eb12 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/parisc/Kconfig.debug +++ b/image/debian/UFI003_MB_V02/kernel/arch/parisc/Kconfig.debug @@ -1,23 +1,23 @@ -# SPDX-License-Identifier: GPL-2.0 -# -config LIGHTWEIGHT_SPINLOCK_CHECK - bool "Enable lightweight spinlock checks" - depends on DEBUG_KERNEL && SMP && !DEBUG_SPINLOCK - default y - help - Add checks with low performance impact to the spinlock functions - to catch memory overwrites at runtime. For more advanced - spinlock debugging you should choose the DEBUG_SPINLOCK option - which will detect unitialized spinlocks too. - If unsure say Y here. - -config TLB_PTLOCK - bool "Use page table locks in TLB fault handler" - depends on DEBUG_KERNEL && SMP - default n - help - Select this option to enable page table locking in the TLB - fault handler. This ensures that page table entries are - updated consistently on SMP machines at the expense of some - loss in performance. - +# SPDX-License-Identifier: GPL-2.0 +# +config LIGHTWEIGHT_SPINLOCK_CHECK + bool "Enable lightweight spinlock checks" + depends on DEBUG_KERNEL && SMP && !DEBUG_SPINLOCK + default y + help + Add checks with low performance impact to the spinlock functions + to catch memory overwrites at runtime. For more advanced + spinlock debugging you should choose the DEBUG_SPINLOCK option + which will detect unitialized spinlocks too. + If unsure say Y here. + +config TLB_PTLOCK + bool "Use page table locks in TLB fault handler" + depends on DEBUG_KERNEL && SMP + default n + help + Select this option to enable page table locking in the TLB + fault handler. This ensures that page table entries are + updated consistently on SMP machines at the expense of some + loss in performance. + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/parisc/defpalo.conf b/image/debian/UFI003_MB_V02/kernel/arch/parisc/defpalo.conf index fe5ac30ba2..208ff3b414 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/parisc/defpalo.conf +++ b/image/debian/UFI003_MB_V02/kernel/arch/parisc/defpalo.conf @@ -1,21 +1,21 @@ -# This a generic Palo configuration file. For more information about how -# it works try 'palo -?'. -# -# Most people using 'make palo' want a bootable file, usable for -# network or tape booting for example. ---init-tape=lifimage ---recoverykernel=vmlinuz - -########## Pick your ROOT here! ########## -# You need at least one 'root='! -# -# If you want a root ramdisk, use the next 2 lines -# (Edit the ramdisk image name!!!!) ---ramdisk=ram-disk-image-file ---commandline=0/vmlinuz HOME=/ root=/dev/ram initrd=0/ramdisk panic_timeout=60 panic=-1 - -# If you want NFS root, use the following command line (Edit the HOSTNAME!!!) -#--commandline=0/vmlinuz HOME=/ root=/dev/nfs nfsroot=HOSTNAME ip=bootp - -# If you have root on a disk partition, use this (Edit the partition name!!!) -#--commandline=0/vmlinuz HOME=/ root=/dev/sda1 +# This a generic Palo configuration file. For more information about how +# it works try 'palo -?'. +# +# Most people using 'make palo' want a bootable file, usable for +# network or tape booting for example. +--init-tape=lifimage +--recoverykernel=vmlinuz + +########## Pick your ROOT here! ########## +# You need at least one 'root='! +# +# If you want a root ramdisk, use the next 2 lines +# (Edit the ramdisk image name!!!!) +--ramdisk=ram-disk-image-file +--commandline=0/vmlinuz HOME=/ root=/dev/ram initrd=0/ramdisk panic_timeout=60 panic=-1 + +# If you want NFS root, use the following command line (Edit the HOSTNAME!!!) +#--commandline=0/vmlinuz HOME=/ root=/dev/nfs nfsroot=HOSTNAME ip=bootp + +# If you have root on a disk partition, use this (Edit the partition name!!!) +#--commandline=0/vmlinuz HOME=/ root=/dev/sda1 diff --git a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/ftrace.h b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/ftrace.h index 660f276a32..f1cc1ee3a6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/ftrace.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/ftrace.h @@ -1,34 +1,34 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_PARISC_FTRACE_H -#define _ASM_PARISC_FTRACE_H - -#ifndef __ASSEMBLY__ -extern void mcount(void); - -#define MCOUNT_ADDR ((unsigned long)mcount) -#define MCOUNT_INSN_SIZE 4 -#define CC_USING_NOP_MCOUNT -#define ARCH_SUPPORTS_FTRACE_OPS 1 -extern unsigned long sys_call_table[]; - -extern unsigned long return_address(unsigned int); -struct ftrace_regs; -extern void ftrace_function_trampoline(unsigned long parent, - unsigned long self_addr, unsigned long org_sp_gr3, - struct ftrace_regs *fregs); - -#ifdef CONFIG_DYNAMIC_FTRACE -extern void ftrace_caller(void); - -struct dyn_arch_ftrace { -}; - -unsigned long ftrace_call_adjust(unsigned long addr); - -#endif - -#define ftrace_return_address(n) return_address(n) - -#endif /* __ASSEMBLY__ */ - -#endif /* _ASM_PARISC_FTRACE_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_PARISC_FTRACE_H +#define _ASM_PARISC_FTRACE_H + +#ifndef __ASSEMBLY__ +extern void mcount(void); + +#define MCOUNT_ADDR ((unsigned long)mcount) +#define MCOUNT_INSN_SIZE 4 +#define CC_USING_NOP_MCOUNT +#define ARCH_SUPPORTS_FTRACE_OPS 1 +extern unsigned long sys_call_table[]; + +extern unsigned long return_address(unsigned int); +struct ftrace_regs; +extern void ftrace_function_trampoline(unsigned long parent, + unsigned long self_addr, unsigned long org_sp_gr3, + struct ftrace_regs *fregs); + +#ifdef CONFIG_DYNAMIC_FTRACE +extern void ftrace_caller(void); + +struct dyn_arch_ftrace { +}; + +unsigned long ftrace_call_adjust(unsigned long addr); + +#endif + +#define ftrace_return_address(n) return_address(n) + +#endif /* __ASSEMBLY__ */ + +#endif /* _ASM_PARISC_FTRACE_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/kexec.h b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/kexec.h index bc07728c77..87e1740069 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/kexec.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/kexec.h @@ -1,33 +1,33 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_PARISC_KEXEC_H -#define _ASM_PARISC_KEXEC_H - -/* Maximum physical address we can use pages from */ -#define KEXEC_SOURCE_MEMORY_LIMIT (-1UL) -/* Maximum address we can reach in physical address mode */ -#define KEXEC_DESTINATION_MEMORY_LIMIT (-1UL) -/* Maximum address we can use for the control code buffer */ -#define KEXEC_CONTROL_MEMORY_LIMIT (-1UL) - -#define KEXEC_CONTROL_PAGE_SIZE 4096 - -#define KEXEC_ARCH KEXEC_ARCH_PARISC -#define ARCH_HAS_KIMAGE_ARCH - -#ifndef __ASSEMBLY__ - -struct kimage_arch { - unsigned long initrd_start; - unsigned long initrd_end; - unsigned long cmdline; -}; - -static inline void crash_setup_regs(struct pt_regs *newregs, - struct pt_regs *oldregs) -{ - /* Dummy implementation for now */ -} - -#endif /* __ASSEMBLY__ */ - -#endif /* _ASM_PARISC_KEXEC_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_PARISC_KEXEC_H +#define _ASM_PARISC_KEXEC_H + +/* Maximum physical address we can use pages from */ +#define KEXEC_SOURCE_MEMORY_LIMIT (-1UL) +/* Maximum address we can reach in physical address mode */ +#define KEXEC_DESTINATION_MEMORY_LIMIT (-1UL) +/* Maximum address we can use for the control code buffer */ +#define KEXEC_CONTROL_MEMORY_LIMIT (-1UL) + +#define KEXEC_CONTROL_PAGE_SIZE 4096 + +#define KEXEC_ARCH KEXEC_ARCH_PARISC +#define ARCH_HAS_KIMAGE_ARCH + +#ifndef __ASSEMBLY__ + +struct kimage_arch { + unsigned long initrd_start; + unsigned long initrd_end; + unsigned long cmdline; +}; + +static inline void crash_setup_regs(struct pt_regs *newregs, + struct pt_regs *oldregs) +{ + /* Dummy implementation for now */ +} + +#endif /* __ASSEMBLY__ */ + +#endif /* _ASM_PARISC_KEXEC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/kfence.h b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/kfence.h index d477ffa05f..6259e5ac1f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/kfence.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/kfence.h @@ -1,44 +1,44 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * PA-RISC KFENCE support. - * - * Copyright (C) 2021, Helge Deller - */ - -#ifndef _ASM_PARISC_KFENCE_H -#define _ASM_PARISC_KFENCE_H - -#include - -#include -#include - -static inline bool arch_kfence_init_pool(void) -{ - return true; -} - -/* Protect the given page and flush TLB. */ -static inline bool kfence_protect_page(unsigned long addr, bool protect) -{ - pte_t *pte = virt_to_kpte(addr); - - if (WARN_ON(!pte)) - return false; - - /* - * We need to avoid IPIs, as we may get KFENCE allocations or faults - * with interrupts disabled. - */ - - if (protect) - set_pte(pte, __pte(pte_val(*pte) & ~_PAGE_PRESENT)); - else - set_pte(pte, __pte(pte_val(*pte) | _PAGE_PRESENT)); - - flush_tlb_kernel_range(addr, addr + PAGE_SIZE); - - return true; -} - -#endif /* _ASM_PARISC_KFENCE_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * PA-RISC KFENCE support. + * + * Copyright (C) 2021, Helge Deller + */ + +#ifndef _ASM_PARISC_KFENCE_H +#define _ASM_PARISC_KFENCE_H + +#include + +#include +#include + +static inline bool arch_kfence_init_pool(void) +{ + return true; +} + +/* Protect the given page and flush TLB. */ +static inline bool kfence_protect_page(unsigned long addr, bool protect) +{ + pte_t *pte = virt_to_kpte(addr); + + if (WARN_ON(!pte)) + return false; + + /* + * We need to avoid IPIs, as we may get KFENCE allocations or faults + * with interrupts disabled. + */ + + if (protect) + set_pte(pte, __pte(pte_val(*pte) & ~_PAGE_PRESENT)); + else + set_pte(pte, __pte(pte_val(*pte) | _PAGE_PRESENT)); + + flush_tlb_kernel_range(addr, addr + PAGE_SIZE); + + return true; +} + +#endif /* _ASM_PARISC_KFENCE_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/linkage.h b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/linkage.h index 538b38bab0..cd6fe4febe 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/linkage.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/linkage.h @@ -1,40 +1,40 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_PARISC_LINKAGE_H -#define __ASM_PARISC_LINKAGE_H - -#include - -#ifndef __ALIGN -#define __ALIGN .align 4 -#define __ALIGN_STR ".align 4" -#endif - -/* - * In parisc assembly a semicolon marks a comment while a - * exclamation mark is used to separate independent lines. - */ -#define ASM_NL ! - -#ifdef __ASSEMBLY__ - -#define ENTRY(name) \ - ALIGN !\ -name: ASM_NL\ - .export name - -#define ENTRY_CFI(name, ...) \ - ENTRY(name) ASM_NL\ - .proc ASM_NL\ - .callinfo __VA_ARGS__ ASM_NL\ - .entry ASM_NL\ - CFI_STARTPROC - -#define ENDPROC_CFI(name) \ - CFI_ENDPROC ASM_NL\ - .exit ASM_NL\ - .procend ASM_NL\ - ENDPROC(name) - -#endif /* __ASSEMBLY__ */ - -#endif /* __ASM_PARISC_LINKAGE_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_PARISC_LINKAGE_H +#define __ASM_PARISC_LINKAGE_H + +#include + +#ifndef __ALIGN +#define __ALIGN .align 4 +#define __ALIGN_STR ".align 4" +#endif + +/* + * In parisc assembly a semicolon marks a comment while a + * exclamation mark is used to separate independent lines. + */ +#define ASM_NL ! + +#ifdef __ASSEMBLY__ + +#define ENTRY(name) \ + ALIGN !\ +name: ASM_NL\ + .export name + +#define ENTRY_CFI(name, ...) \ + ENTRY(name) ASM_NL\ + .proc ASM_NL\ + .callinfo __VA_ARGS__ ASM_NL\ + .entry ASM_NL\ + CFI_STARTPROC + +#define ENDPROC_CFI(name) \ + CFI_ENDPROC ASM_NL\ + .exit ASM_NL\ + .procend ASM_NL\ + ENDPROC(name) + +#endif /* __ASSEMBLY__ */ + +#endif /* __ASM_PARISC_LINKAGE_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/mman.h b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/mman.h index e0117e15fb..663f587dc7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/mman.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/mman.h @@ -1,29 +1,29 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_MMAN_H__ -#define __ASM_MMAN_H__ - -#include -#include - -/* PARISC cannot allow mdwe as it needs writable stacks */ -static inline bool arch_memory_deny_write_exec_supported(void) -{ - return false; -} -#define arch_memory_deny_write_exec_supported arch_memory_deny_write_exec_supported - -static inline unsigned long arch_calc_vm_flag_bits(struct file *file, unsigned long flags) -{ - /* - * The stack on parisc grows upwards, so if userspace requests memory - * for a stack, mark it with VM_GROWSUP so that the stack expansion in - * the fault handler will work. - */ - if (flags & MAP_STACK) - return VM_GROWSUP; - - return 0; -} -#define arch_calc_vm_flag_bits(file, flags) arch_calc_vm_flag_bits(file, flags) - -#endif /* __ASM_MMAN_H__ */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_MMAN_H__ +#define __ASM_MMAN_H__ + +#include +#include + +/* PARISC cannot allow mdwe as it needs writable stacks */ +static inline bool arch_memory_deny_write_exec_supported(void) +{ + return false; +} +#define arch_memory_deny_write_exec_supported arch_memory_deny_write_exec_supported + +static inline unsigned long arch_calc_vm_flag_bits(struct file *file, unsigned long flags) +{ + /* + * The stack on parisc grows upwards, so if userspace requests memory + * for a stack, mark it with VM_GROWSUP so that the stack expansion in + * the fault handler will work. + */ + if (flags & MAP_STACK) + return VM_GROWSUP; + + return 0; +} +#define arch_calc_vm_flag_bits(file, flags) arch_calc_vm_flag_bits(file, flags) + +#endif /* __ASM_MMAN_H__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/seccomp.h b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/seccomp.h index ed4fecf2d4..b058b22203 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/seccomp.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/seccomp.h @@ -1,22 +1,22 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -#ifndef _ASM_SECCOMP_H -#define _ASM_SECCOMP_H - -#include - -#ifdef CONFIG_64BIT -# define SECCOMP_ARCH_NATIVE AUDIT_ARCH_PARISC64 -# define SECCOMP_ARCH_NATIVE_NR NR_syscalls -# define SECCOMP_ARCH_NATIVE_NAME "parisc64" -# ifdef CONFIG_COMPAT -# define SECCOMP_ARCH_COMPAT AUDIT_ARCH_PARISC -# define SECCOMP_ARCH_COMPAT_NR NR_syscalls -# define SECCOMP_ARCH_COMPAT_NAME "parisc" -# endif -#else /* !CONFIG_64BIT */ -# define SECCOMP_ARCH_NATIVE AUDIT_ARCH_PARISC -# define SECCOMP_ARCH_NATIVE_NR NR_syscalls -# define SECCOMP_ARCH_NATIVE_NAME "parisc" -#endif - -#endif /* _ASM_SECCOMP_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +#ifndef _ASM_SECCOMP_H +#define _ASM_SECCOMP_H + +#include + +#ifdef CONFIG_64BIT +# define SECCOMP_ARCH_NATIVE AUDIT_ARCH_PARISC64 +# define SECCOMP_ARCH_NATIVE_NR NR_syscalls +# define SECCOMP_ARCH_NATIVE_NAME "parisc64" +# ifdef CONFIG_COMPAT +# define SECCOMP_ARCH_COMPAT AUDIT_ARCH_PARISC +# define SECCOMP_ARCH_COMPAT_NR NR_syscalls +# define SECCOMP_ARCH_COMPAT_NAME "parisc" +# endif +#else /* !CONFIG_64BIT */ +# define SECCOMP_ARCH_NATIVE AUDIT_ARCH_PARISC +# define SECCOMP_ARCH_NATIVE_NR NR_syscalls +# define SECCOMP_ARCH_NATIVE_NAME "parisc" +#endif + +#endif /* _ASM_SECCOMP_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/traps.h b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/traps.h index 551b10069f..0ccdb738a9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/traps.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/traps.h @@ -1,24 +1,24 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_TRAPS_H -#define __ASM_TRAPS_H - -#define PARISC_ITLB_TRAP 6 /* defined by architecture. Do not change. */ - -#if !defined(__ASSEMBLY__) -struct pt_regs; - -/* traps.c */ -void parisc_terminate(char *msg, struct pt_regs *regs, - int code, unsigned long offset) __noreturn __cold; - -void die_if_kernel(char *str, struct pt_regs *regs, long err); - -/* mm/fault.c */ -unsigned long parisc_acctyp(unsigned long code, unsigned int inst); -const char *trap_name(unsigned long code); -void do_page_fault(struct pt_regs *regs, unsigned long code, - unsigned long address); -int handle_nadtlb_fault(struct pt_regs *regs); -#endif - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_TRAPS_H +#define __ASM_TRAPS_H + +#define PARISC_ITLB_TRAP 6 /* defined by architecture. Do not change. */ + +#if !defined(__ASSEMBLY__) +struct pt_regs; + +/* traps.c */ +void parisc_terminate(char *msg, struct pt_regs *regs, + int code, unsigned long offset) __noreturn __cold; + +void die_if_kernel(char *str, struct pt_regs *regs, long err); + +/* mm/fault.c */ +unsigned long parisc_acctyp(unsigned long code, unsigned int inst); +const char *trap_name(unsigned long code); +void do_page_fault(struct pt_regs *regs, unsigned long code, + unsigned long address); +int handle_nadtlb_fault(struct pt_regs *regs); +#endif + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/uapi/asm/ipcbuf.h b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/uapi/asm/ipcbuf.h index 8e95475a7a..edf266204b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/uapi/asm/ipcbuf.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/uapi/asm/ipcbuf.h @@ -1,33 +1,33 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef __PARISC_IPCBUF_H__ -#define __PARISC_IPCBUF_H__ - -#include -#include - -/* - * The ipc64_perm structure for PA-RISC is almost identical to - * kern_ipc_perm as we have always had 32-bit UIDs and GIDs in the kernel. - * 'seq' has been changed from long to int so that it's the same size - * on 64-bit kernels as on 32-bit ones. - */ - -struct ipc64_perm -{ - __kernel_key_t key; - __kernel_uid_t uid; - __kernel_gid_t gid; - __kernel_uid_t cuid; - __kernel_gid_t cgid; -#if __BITS_PER_LONG != 64 - unsigned short int __pad1; -#endif - __kernel_mode_t mode; - unsigned short int __pad2; - unsigned short int seq; - unsigned int __pad3; - unsigned long long int __unused1; - unsigned long long int __unused2; -}; - -#endif /* __PARISC_IPCBUF_H__ */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef __PARISC_IPCBUF_H__ +#define __PARISC_IPCBUF_H__ + +#include +#include + +/* + * The ipc64_perm structure for PA-RISC is almost identical to + * kern_ipc_perm as we have always had 32-bit UIDs and GIDs in the kernel. + * 'seq' has been changed from long to int so that it's the same size + * on 64-bit kernels as on 32-bit ones. + */ + +struct ipc64_perm +{ + __kernel_key_t key; + __kernel_uid_t uid; + __kernel_gid_t gid; + __kernel_uid_t cuid; + __kernel_gid_t cgid; +#if __BITS_PER_LONG != 64 + unsigned short int __pad1; +#endif + __kernel_mode_t mode; + unsigned short int __pad2; + unsigned short int seq; + unsigned int __pad3; + unsigned long long int __unused1; + unsigned long long int __unused2; +}; + +#endif /* __PARISC_IPCBUF_H__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/uapi/asm/posix_types.h b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/uapi/asm/posix_types.h index d5af65e680..8dce56f5dc 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/uapi/asm/posix_types.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/uapi/asm/posix_types.h @@ -1,24 +1,24 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef __ARCH_PARISC_POSIX_TYPES_H -#define __ARCH_PARISC_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. - */ - -#ifndef __LP64__ -typedef unsigned short __kernel_mode_t; -#define __kernel_mode_t __kernel_mode_t -#endif - -typedef unsigned short __kernel_ipc_pid_t; -#define __kernel_ipc_pid_t __kernel_ipc_pid_t - -typedef long long __kernel_off64_t; -typedef unsigned long long __kernel_ino64_t; - -#include - -#endif +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef __ARCH_PARISC_POSIX_TYPES_H +#define __ARCH_PARISC_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. + */ + +#ifndef __LP64__ +typedef unsigned short __kernel_mode_t; +#define __kernel_mode_t __kernel_mode_t +#endif + +typedef unsigned short __kernel_ipc_pid_t; +#define __kernel_ipc_pid_t __kernel_ipc_pid_t + +typedef long long __kernel_off64_t; +typedef unsigned long long __kernel_ino64_t; + +#include + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/uapi/asm/sembuf.h b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/uapi/asm/sembuf.h index 89a0d7120d..e2ca4301c7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/uapi/asm/sembuf.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/uapi/asm/sembuf.h @@ -1,33 +1,33 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _PARISC_SEMBUF_H -#define _PARISC_SEMBUF_H - -#include -#include - -/* - * The semid64_ds structure for parisc architecture. - * Note extra padding because this structure is passed back and forth - * between kernel and user space. - * - * Pad space is left for: - * - 2 miscellaneous 32-bit values - */ - -struct semid64_ds { - struct ipc64_perm sem_perm; /* permissions .. see ipc.h */ -#if __BITS_PER_LONG == 64 - long sem_otime; /* last semop time */ - long sem_ctime; /* last change time */ -#else - unsigned long sem_otime_high; - unsigned long sem_otime; /* last semop time */ - unsigned long sem_ctime_high; - unsigned long sem_ctime; /* last change time */ -#endif - unsigned long sem_nsems; /* no. of semaphores in array */ - unsigned long __unused1; - unsigned long __unused2; -}; - -#endif /* _PARISC_SEMBUF_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _PARISC_SEMBUF_H +#define _PARISC_SEMBUF_H + +#include +#include + +/* + * The semid64_ds structure for parisc architecture. + * Note extra padding because this structure is passed back and forth + * between kernel and user space. + * + * Pad space is left for: + * - 2 miscellaneous 32-bit values + */ + +struct semid64_ds { + struct ipc64_perm sem_perm; /* permissions .. see ipc.h */ +#if __BITS_PER_LONG == 64 + long sem_otime; /* last semop time */ + long sem_ctime; /* last change time */ +#else + unsigned long sem_otime_high; + unsigned long sem_otime; /* last semop time */ + unsigned long sem_ctime_high; + unsigned long sem_ctime; /* last change time */ +#endif + unsigned long sem_nsems; /* no. of semaphores in array */ + unsigned long __unused1; + unsigned long __unused2; +}; + +#endif /* _PARISC_SEMBUF_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/parisc/install.sh b/image/debian/UFI003_MB_V02/kernel/arch/parisc/install.sh old mode 100644 new mode 100755 index f60fd44c2b..664c2d77f7 --- a/image/debian/UFI003_MB_V02/kernel/arch/parisc/install.sh +++ b/image/debian/UFI003_MB_V02/kernel/arch/parisc/install.sh @@ -1,41 +1,41 @@ -#!/bin/sh -# -# 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 by Linus Torvalds -# -# Adapted from code in arch/i386/boot/Makefile by H. Peter Anvin -# -# "make install" script for i386 architecture -# -# Arguments: -# $1 - kernel version -# $2 - kernel image file -# $3 - kernel map file -# $4 - default install path (blank if root directory) - -set -e - -if [ "$(basename $2)" = "vmlinuz" ]; then -# Compressed install - echo "Installing compressed kernel" - base=vmlinuz -else -# Normal install - echo "Installing normal kernel" - base=vmlinux -fi - -if [ -f $4/$base-$1 ]; then - mv $4/$base-$1 $4/$base-$1.old -fi -cat $2 > $4/$base-$1 - -# Install system map file -if [ -f $4/System.map-$1 ]; then - mv $4/System.map-$1 $4/System.map-$1.old -fi -cp $3 $4/System.map-$1 - +#!/bin/sh +# +# 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 by Linus Torvalds +# +# Adapted from code in arch/i386/boot/Makefile by H. Peter Anvin +# +# "make install" script for i386 architecture +# +# Arguments: +# $1 - kernel version +# $2 - kernel image file +# $3 - kernel map file +# $4 - default install path (blank if root directory) + +set -e + +if [ "$(basename $2)" = "vmlinuz" ]; then +# Compressed install + echo "Installing compressed kernel" + base=vmlinuz +else +# Normal install + echo "Installing normal kernel" + base=vmlinux +fi + +if [ -f $4/$base-$1 ]; then + mv $4/$base-$1 $4/$base-$1.old +fi +cat $2 > $4/$base-$1 + +# Install system map file +if [ -f $4/System.map-$1 ]; then + mv $4/System.map-$1 $4/System.map-$1.old +fi +cp $3 $4/System.map-$1 + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/parisc/kernel/sys_parisc32.c b/image/debian/UFI003_MB_V02/kernel/arch/parisc/kernel/sys_parisc32.c index 30e4bdf4a1..826c8e51b5 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/parisc/kernel/sys_parisc32.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/parisc/kernel/sys_parisc32.c @@ -1,25 +1,25 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * sys_parisc32.c: Conversion between 32bit and 64bit native syscalls. - * - * Copyright (C) 2000-2001 Hewlett Packard Company - * Copyright (C) 2000 John Marvin - * Copyright (C) 2001 Matthew Wilcox - * Copyright (C) 2014 Helge Deller - * - * These routines maintain argument size conversion between 32bit and 64bit - * environment. Based heavily on sys_ia32.c and sys_sparc32.c. - */ - -#include -#include -#include - - -asmlinkage long sys32_unimplemented(int r26, int r25, int r24, int r23, - int r22, int r21, int r20) -{ - printk(KERN_ERR "%s(%d): Unimplemented 32 on 64 syscall #%d!\n", - current->comm, current->pid, r20); - return -ENOSYS; -} +// SPDX-License-Identifier: GPL-2.0 +/* + * sys_parisc32.c: Conversion between 32bit and 64bit native syscalls. + * + * Copyright (C) 2000-2001 Hewlett Packard Company + * Copyright (C) 2000 John Marvin + * Copyright (C) 2001 Matthew Wilcox + * Copyright (C) 2014 Helge Deller + * + * These routines maintain argument size conversion between 32bit and 64bit + * environment. Based heavily on sys_ia32.c and sys_sparc32.c. + */ + +#include +#include +#include + + +asmlinkage long sys32_unimplemented(int r26, int r25, int r24, int r23, + int r22, int r21, int r20) +{ + printk(KERN_ERR "%s(%d): Unimplemented 32 on 64 syscall #%d!\n", + current->comm, current->pid, r20); + return -ENOSYS; +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/parisc/kernel/vdso32/note.S b/image/debian/UFI003_MB_V02/kernel/arch/parisc/kernel/vdso32/note.S index 0092dd19ea..bb350918be 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/parisc/kernel/vdso32/note.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/parisc/kernel/vdso32/note.S @@ -1,26 +1,26 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * 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 - -#define ASM_ELF_NOTE_BEGIN(name, flags, vendor, type) \ - .section name, flags; \ - .balign 4; \ - .long 1f - 0f; /* name length */ \ - .long 3f - 2f; /* data length */ \ - .long type; /* note type */ \ -0: .asciz vendor; /* vendor name */ \ -1: .balign 4; \ -2: - -#define ASM_ELF_NOTE_END \ -3: .balign 4; /* pad out section */ \ - .previous - - ASM_ELF_NOTE_BEGIN(".note.kernel-version", "a", UTS_SYSNAME, 0) - .long LINUX_VERSION_CODE - ASM_ELF_NOTE_END +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * 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 + +#define ASM_ELF_NOTE_BEGIN(name, flags, vendor, type) \ + .section name, flags; \ + .balign 4; \ + .long 1f - 0f; /* name length */ \ + .long 3f - 2f; /* data length */ \ + .long type; /* note type */ \ +0: .asciz vendor; /* vendor name */ \ +1: .balign 4; \ +2: + +#define ASM_ELF_NOTE_END \ +3: .balign 4; /* pad out section */ \ + .previous + + ASM_ELF_NOTE_BEGIN(".note.kernel-version", "a", UTS_SYSNAME, 0) + .long LINUX_VERSION_CODE + ASM_ELF_NOTE_END diff --git a/image/debian/UFI003_MB_V02/kernel/arch/parisc/kernel/vdso32/restart_syscall.S b/image/debian/UFI003_MB_V02/kernel/arch/parisc/kernel/vdso32/restart_syscall.S index 68a88986b0..7e82008d7e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/parisc/kernel/vdso32/restart_syscall.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/parisc/kernel/vdso32/restart_syscall.S @@ -1,32 +1,32 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Syscall restart trampoline for 32 and 64 bits processes. - * - * Copyright (C) 2018-2022 Helge Deller - * Copyright (C) 2022 John David Anglin - */ - -#include -#include - -#include - - .text - -ENTRY_CFI(__kernel_restart_syscall) - /* - * Setup a trampoline to restart the syscall - * with __NR_restart_syscall - */ - - /* load return pointer */ -#if defined(__VDSO64__) - ldd 0(%sp), %r31 -#elif defined(__VDSO32__) - ldw 0(%sp), %r31 -#endif - - be 0x100(%sr2, %r0) - ldi __NR_restart_syscall, %r20 - -ENDPROC_CFI(__kernel_restart_syscall) +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Syscall restart trampoline for 32 and 64 bits processes. + * + * Copyright (C) 2018-2022 Helge Deller + * Copyright (C) 2022 John David Anglin + */ + +#include +#include + +#include + + .text + +ENTRY_CFI(__kernel_restart_syscall) + /* + * Setup a trampoline to restart the syscall + * with __NR_restart_syscall + */ + + /* load return pointer */ +#if defined(__VDSO64__) + ldd 0(%sp), %r31 +#elif defined(__VDSO32__) + ldw 0(%sp), %r31 +#endif + + be 0x100(%sr2, %r0) + ldi __NR_restart_syscall, %r20 + +ENDPROC_CFI(__kernel_restart_syscall) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/parisc/kernel/vdso32/vdso32_generic.c b/image/debian/UFI003_MB_V02/kernel/arch/parisc/kernel/vdso32/vdso32_generic.c index 627ba4c80a..8d5bd59e86 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/parisc/kernel/vdso32/vdso32_generic.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/parisc/kernel/vdso32/vdso32_generic.c @@ -1,32 +1,32 @@ -// SPDX-License-Identifier: GPL-2.0 - -#include "asm/unistd.h" -#include -#include - -struct timezone; -struct old_timespec32; -struct __kernel_timespec; -struct __kernel_old_timeval; - -/* forward declarations */ -int __vdso_gettimeofday(struct __kernel_old_timeval *tv, struct timezone *tz); -int __vdso_clock_gettime(clockid_t clock, struct old_timespec32 *ts); -int __vdso_clock_gettime64(clockid_t clock, struct __kernel_timespec *ts); - - -int __vdso_gettimeofday(struct __kernel_old_timeval *tv, - struct timezone *tz) -{ - return syscall2(__NR_gettimeofday, (long)tv, (long)tz); -} - -int __vdso_clock_gettime(clockid_t clock, struct old_timespec32 *ts) -{ - return syscall2(__NR_clock_gettime, (long)clock, (long)ts); -} - -int __vdso_clock_gettime64(clockid_t clock, struct __kernel_timespec *ts) -{ - return syscall2(__NR_clock_gettime64, (long)clock, (long)ts); -} +// SPDX-License-Identifier: GPL-2.0 + +#include "asm/unistd.h" +#include +#include + +struct timezone; +struct old_timespec32; +struct __kernel_timespec; +struct __kernel_old_timeval; + +/* forward declarations */ +int __vdso_gettimeofday(struct __kernel_old_timeval *tv, struct timezone *tz); +int __vdso_clock_gettime(clockid_t clock, struct old_timespec32 *ts); +int __vdso_clock_gettime64(clockid_t clock, struct __kernel_timespec *ts); + + +int __vdso_gettimeofday(struct __kernel_old_timeval *tv, + struct timezone *tz) +{ + return syscall2(__NR_gettimeofday, (long)tv, (long)tz); +} + +int __vdso_clock_gettime(clockid_t clock, struct old_timespec32 *ts) +{ + return syscall2(__NR_clock_gettime, (long)clock, (long)ts); +} + +int __vdso_clock_gettime64(clockid_t clock, struct __kernel_timespec *ts) +{ + return syscall2(__NR_clock_gettime64, (long)clock, (long)ts); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/parisc/kernel/vdso64/vdso64_generic.c b/image/debian/UFI003_MB_V02/kernel/arch/parisc/kernel/vdso64/vdso64_generic.c index 73b206c613..fc6836a007 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/parisc/kernel/vdso64/vdso64_generic.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/parisc/kernel/vdso64/vdso64_generic.c @@ -1,24 +1,24 @@ -// SPDX-License-Identifier: GPL-2.0 - -#include "asm/unistd.h" -#include - -struct timezone; -struct __kernel_timespec; -struct __kernel_old_timeval; - -/* forward declarations */ -int __vdso_gettimeofday(struct __kernel_old_timeval *tv, struct timezone *tz); -int __vdso_clock_gettime(clockid_t clock, struct __kernel_timespec *ts); - - -int __vdso_gettimeofday(struct __kernel_old_timeval *tv, - struct timezone *tz) -{ - return syscall2(__NR_gettimeofday, (long)tv, (long)tz); -} - -int __vdso_clock_gettime(clockid_t clock, struct __kernel_timespec *ts) -{ - return syscall2(__NR_clock_gettime, (long)clock, (long)ts); -} +// SPDX-License-Identifier: GPL-2.0 + +#include "asm/unistd.h" +#include + +struct timezone; +struct __kernel_timespec; +struct __kernel_old_timeval; + +/* forward declarations */ +int __vdso_gettimeofday(struct __kernel_old_timeval *tv, struct timezone *tz); +int __vdso_clock_gettime(clockid_t clock, struct __kernel_timespec *ts); + + +int __vdso_gettimeofday(struct __kernel_old_timeval *tv, + struct timezone *tz) +{ + return syscall2(__NR_gettimeofday, (long)tv, (long)tz); +} + +int __vdso_clock_gettime(clockid_t clock, struct __kernel_timespec *ts) +{ + return syscall2(__NR_clock_gettime, (long)clock, (long)ts); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/parisc/math-emu/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/parisc/math-emu/Makefile index 4dd71bd94e..7b64740e15 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/parisc/math-emu/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/parisc/math-emu/Makefile @@ -1,22 +1,22 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Makefile for the linux/parisc floating point code -# - -# See arch/parisc/math-emu/README -ccflags-y := -Wno-parentheses -Wno-implicit-function-declaration \ - -Wno-uninitialized -Wno-strict-prototypes -Wno-return-type \ - -Wno-implicit-int -Wno-missing-prototypes -Wno-missing-declarations \ - -Wno-old-style-definition -Wno-unused-but-set-variable - -obj-y := frnd.o driver.o decode_exc.o fpudispatch.o denormal.o \ - dfmpy.o sfmpy.o sfsqrt.o dfsqrt.o dfadd.o fmpyfadd.o \ - sfadd.o dfsub.o sfsub.o fcnvfxt.o fcnvff.o fcnvxf.o \ - fcnvfx.o fcnvuf.o fcnvfu.o fcnvfut.o dfdiv.o sfdiv.o \ - dfrem.o sfrem.o dfcmp.o sfcmp.o - -# Math emulation code beyond the FRND is required for 712/80i and -# other very old or stripped-down PA-RISC CPUs -- not currently supported - -obj-$(CONFIG_MATH_EMULATION) += unimplemented-math-emulation.o -CFLAGS_REMOVE_fpudispatch.o = -Wimplicit-fallthrough +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile for the linux/parisc floating point code +# + +# See arch/parisc/math-emu/README +ccflags-y := -Wno-parentheses -Wno-implicit-function-declaration \ + -Wno-uninitialized -Wno-strict-prototypes -Wno-return-type \ + -Wno-implicit-int -Wno-missing-prototypes -Wno-missing-declarations \ + -Wno-old-style-definition -Wno-unused-but-set-variable + +obj-y := frnd.o driver.o decode_exc.o fpudispatch.o denormal.o \ + dfmpy.o sfmpy.o sfsqrt.o dfsqrt.o dfadd.o fmpyfadd.o \ + sfadd.o dfsub.o sfsub.o fcnvfxt.o fcnvff.o fcnvxf.o \ + fcnvfx.o fcnvuf.o fcnvfu.o fcnvfut.o dfdiv.o sfdiv.o \ + dfrem.o sfrem.o dfcmp.o sfcmp.o + +# Math emulation code beyond the FRND is required for 712/80i and +# other very old or stripped-down PA-RISC CPUs -- not currently supported + +obj-$(CONFIG_MATH_EMULATION) += unimplemented-math-emulation.o +CFLAGS_REMOVE_fpudispatch.o = -Wimplicit-fallthrough diff --git a/image/debian/UFI003_MB_V02/kernel/arch/parisc/math-emu/README b/image/debian/UFI003_MB_V02/kernel/arch/parisc/math-emu/README index 639db5be56..1a0124ef02 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/parisc/math-emu/README +++ b/image/debian/UFI003_MB_V02/kernel/arch/parisc/math-emu/README @@ -1,11 +1,11 @@ -All files except driver.c are snapshots from the HP-UX kernel. They've -been modified as little as possible. Even though they don't fit the -Linux coding style, please leave them in their funny format just in case -someone in the future, with access to HP-UX source code, is generous -enough to update our copies with later changes from HP-UX -- it'll -make their 'diff' job easier if our code is relatively unmodified. - -Required Disclaimer: Hewlett-Packard makes no implied or expressed -warranties about this code nor any promises to maintain or test it -in any way. This copy of this snapshot is no longer the property -of Hewlett-Packard. +All files except driver.c are snapshots from the HP-UX kernel. They've +been modified as little as possible. Even though they don't fit the +Linux coding style, please leave them in their funny format just in case +someone in the future, with access to HP-UX source code, is generous +enough to update our copies with later changes from HP-UX -- it'll +make their 'diff' job easier if our code is relatively unmodified. + +Required Disclaimer: Hewlett-Packard makes no implied or expressed +warranties about this code nor any promises to maintain or test it +in any way. This copy of this snapshot is no longer the property +of Hewlett-Packard. diff --git a/image/debian/UFI003_MB_V02/kernel/arch/parisc/mm/fixmap.c b/image/debian/UFI003_MB_V02/kernel/arch/parisc/mm/fixmap.c index e7b78b0fe2..ae3493dae9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/parisc/mm/fixmap.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/parisc/mm/fixmap.c @@ -1,38 +1,38 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * fixmaps for parisc - * - * Copyright (c) 2019 Sven Schnelle - */ - -#include -#include -#include -#include - -void notrace set_fixmap(enum fixed_addresses idx, phys_addr_t phys) -{ - unsigned long vaddr = __fix_to_virt(idx); - pgd_t *pgd = pgd_offset_k(vaddr); - p4d_t *p4d = p4d_offset(pgd, vaddr); - pud_t *pud = pud_offset(p4d, vaddr); - pmd_t *pmd = pmd_offset(pud, vaddr); - pte_t *pte; - - pte = pte_offset_kernel(pmd, vaddr); - set_pte_at(&init_mm, vaddr, pte, __mk_pte(phys, PAGE_KERNEL_RWX)); - flush_tlb_kernel_range(vaddr, vaddr + PAGE_SIZE); -} - -void notrace clear_fixmap(enum fixed_addresses idx) -{ - unsigned long vaddr = __fix_to_virt(idx); - pte_t *pte = virt_to_kpte(vaddr); - - if (WARN_ON(pte_none(*pte))) - return; - - pte_clear(&init_mm, vaddr, pte); - - flush_tlb_kernel_range(vaddr, vaddr + PAGE_SIZE); -} +// SPDX-License-Identifier: GPL-2.0 +/* + * fixmaps for parisc + * + * Copyright (c) 2019 Sven Schnelle + */ + +#include +#include +#include +#include + +void notrace set_fixmap(enum fixed_addresses idx, phys_addr_t phys) +{ + unsigned long vaddr = __fix_to_virt(idx); + pgd_t *pgd = pgd_offset_k(vaddr); + p4d_t *p4d = p4d_offset(pgd, vaddr); + pud_t *pud = pud_offset(p4d, vaddr); + pmd_t *pmd = pmd_offset(pud, vaddr); + pte_t *pte; + + pte = pte_offset_kernel(pmd, vaddr); + set_pte_at(&init_mm, vaddr, pte, __mk_pte(phys, PAGE_KERNEL_RWX)); + flush_tlb_kernel_range(vaddr, vaddr + PAGE_SIZE); +} + +void notrace clear_fixmap(enum fixed_addresses idx) +{ + unsigned long vaddr = __fix_to_virt(idx); + pte_t *pte = virt_to_kpte(vaddr); + + if (WARN_ON(pte_none(*pte))) + return; + + pte_clear(&init_mm, vaddr, pte); + + flush_tlb_kernel_range(vaddr, vaddr + PAGE_SIZE); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/parisc/video/video-sti.c b/image/debian/UFI003_MB_V02/kernel/arch/parisc/video/video-sti.c index bc81bc3d48..564661e870 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/parisc/video/video-sti.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/parisc/video/video-sti.c @@ -1,27 +1,27 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2000 Philipp Rumpf - * Copyright (C) 2001-2020 Helge Deller - * Copyright (C) 2001-2002 Thomas Bogendoerfer - */ - -#include - -#include