From fff813178752dcb3bdb8a665f23174365d1ab60c Mon Sep 17 00:00:00 2001 From: Nixevol Date: Tue, 1 Dec 2026 13:49:36 +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 --- .../kernel/.github/workflows/build.yml | 72 +++++ .../kernel/.github/workflows/release.yml | 73 +++++ .../Documentation/ABI/removed/sysfs-mce | 74 ++--- .../ABI/removed/sysfs-selinux-checkreqprot | 52 ++-- .../ABI/removed/sysfs-selinux-disable | 58 ++-- .../Documentation/ABI/stable/sysfs-bus-nvmem | 100 +++---- .../ABI/stable/sysfs-firmware-opal-dump | 92 +++--- .../Documentation/ABI/stable/sysfs-module | 94 +++--- .../kernel/Documentation/ABI/stable/vdso | 74 ++--- .../Documentation/ABI/testing/configfs-acpi | 104 +++---- .../ABI/testing/configfs-spear-pcie-gadget | 66 ++--- .../ABI/testing/configfs-stp-policy | 96 +++--- .../ABI/testing/configfs-stp-policy-p_sys-t | 82 +++--- .../testing/configfs-usb-gadget-mass-storage | 82 +++--- .../ABI/testing/configfs-usb-gadget-uac1 | 82 +++--- .../ABI/testing/debugfs-cec-error-inj | 80 ++--- .../Documentation/ABI/testing/debugfs-tpmi | 80 ++--- .../ABI/testing/debugfs-wilco-ec | 90 +++--- .../Documentation/ABI/testing/dell-smbios-wmi | 82 +++--- .../Documentation/ABI/testing/ppc-memtrace | 92 +++--- .../ABI/testing/procfs-smaps_rollup | 84 +++--- .../kernel/Documentation/ABI/testing/pstore | 94 +++--- .../Documentation/ABI/testing/sysfs-block-aoe | 90 +++--- .../Documentation/ABI/testing/sysfs-block-dm | 94 +++--- .../ABI/testing/sysfs-block-loop | 100 +++---- .../ABI/testing/sysfs-bus-coreboot | 90 +++--- .../testing/sysfs-bus-dfl-devices-n3000-nios | 94 +++--- .../sysfs-bus-event_source-devices-iommu | 74 ++--- .../Documentation/ABI/testing/sysfs-bus-fsi | 92 +++--- .../ABI/testing/sysfs-bus-iio-adc-ad4130 | 92 +++--- .../sysfs-bus-iio-adc-envelope-detector | 78 ++--- .../sysfs-bus-iio-chemical-sunrise-co2 | 76 ++--- .../Documentation/ABI/testing/sysfs-bus-mei | 112 +++---- .../testing/sysfs-bus-pci-drivers-ehci_hcd | 92 +++--- .../ABI/testing/sysfs-bus-spi-devices-spi-nor | 80 ++--- .../testing/sysfs-bus-usb-devices-usbsevseg | 92 +++--- .../sysfs-class-backlight-driver-lm3533 | 108 +++---- .../ABI/testing/sysfs-class-led-driver-lm3533 | 146 ++++----- .../testing/sysfs-class-led-trigger-pattern | 100 +++---- .../ABI/testing/sysfs-class-net-grcan | 70 ++--- .../ABI/testing/sysfs-class-ocxl | 102 +++---- .../ABI/testing/sysfs-class-power-wilco | 80 ++--- .../ABI/testing/sysfs-devices-lpss_ltr | 88 +++--- .../testing/sysfs-devices-physical_location | 84 +++--- .../sysfs-devices-platform-sh_mobile_lcdc_fb | 88 +++--- .../ABI/testing/sysfs-devices-state_synced | 58 ++-- .../ABI/testing/sysfs-devices-xenbus | 82 +++--- .../ABI/testing/sysfs-driver-pciback | 56 ++-- .../ABI/testing/sysfs-driver-qat_ras | 82 +++--- .../ABI/testing/sysfs-driver-samsung-laptop | 96 +++--- .../ABI/testing/sysfs-driver-xdata | 98 +++--- .../testing/sysfs-firmware-efi-runtime-map | 72 ++--- .../ABI/testing/sysfs-hypervisor-xen | 92 +++--- .../Documentation/ABI/testing/sysfs-ibft | 66 ++--- .../ABI/testing/sysfs-memory-page-offline | 88 +++--- .../ABI/testing/sysfs-platform-eeepc-laptop | 112 +++---- .../ABI/testing/sysfs-platform-ideapad-laptop | 122 ++++---- .../ABI/testing/sysfs-platform-ts5500 | 108 +++---- .../ABI/testing/sysfs-platform_profile | 70 ++--- .../ABI/testing/usb-charger-uevent | 108 +++---- .../Documentation/accounting/cgroupstats.rst | 62 ++-- .../Documentation/admin-guide/LSM/LoadPin.rst | 62 ++-- .../admin-guide/LSM/apparmor.rst | 102 +++---- .../Documentation/admin-guide/LSM/tomoyo.rst | 104 +++---- .../admin-guide/braille-console.rst | 76 ++--- .../admin-guide/cifs/winucase_convert.pl | 124 ++++---- .../admin-guide/device-mapper/delay.rst | 108 +++---- .../admin-guide/device-mapper/dm-ebs.rst | 102 +++---- .../admin-guide/device-mapper/linear.rst | 126 ++++---- .../admin-guide/device-mapper/zero.rst | 74 ++--- .../Documentation/admin-guide/media/cx88.rst | 116 ++++---- .../media/dvb-usb-af9035-cardlist.rst | 148 +++++----- .../admin-guide/media/rcar-fdp1.rst | 78 ++--- .../admin-guide/media/siano-cardlist.rst | 112 +++---- .../Documentation/admin-guide/media/vimc.dot | 52 ++-- .../admin-guide/mm/soft-dirty.rst | 90 +++--- .../namespaces/compatibility-list.rst | 86 +++--- .../admin-guide/nfs/nfsd-admin-interfaces.rst | 80 ++--- .../admin-guide/nfs/pnfs-block-server.rst | 84 +++--- .../admin-guide/perf/qcom_l2_pmu.rst | 78 ++--- .../admin-guide/perf/qcom_l3_pmu.rst | 52 ++-- .../admin-guide/perf/thunderx2-pmu.rst | 88 +++--- .../admin-guide/pm/intel_epb.rst | 82 +++--- .../kernel/Documentation/admin-guide/ufs.rst | 136 ++++----- .../arch/arm/keystone/overview.rst | 148 +++++----- .../Documentation/arch/arm/netwinder.rst | 170 +++++------ .../Documentation/arch/arm/nwfpe/notes.rst | 64 ++-- .../Documentation/arch/arm/sunxi/clocks.rst | 114 +++---- .../Documentation/arch/arm64/hugetlbpage.rst | 86 +++--- .../Documentation/arch/loongarch/booting.rst | 84 +++--- .../Documentation/arch/parisc/debugging.rst | 92 +++--- .../arch/powerpc/kaslr-booke32.rst | 84 +++--- .../Documentation/arch/sh/register-banks.rst | 80 ++--- .../Documentation/arch/x86/elf_auxvec.rst | 106 +++---- .../Documentation/arch/x86/x86_64/uefi.rst | 116 ++++---- .../kernel/Documentation/atomic_bitops.txt | 138 ++++----- .../Documentation/block/cmdline-partition.rst | 106 +++---- .../Documentation/core-api/boot-time-mm.rst | 82 +++--- .../Documentation/core-api/tracepoint.rst | 110 +++---- .../Documentation/crypto/api-digest.rst | 70 ++--- .../kernel/Documentation/crypto/api-kpp.rst | 76 ++--- .../Documentation/crypto/api-skcipher.rst | 70 ++--- .../devicetree/bindings/arm/actions.yaml | 106 +++---- .../devicetree/bindings/arm/altera.yaml | 136 ++++----- .../amlogic/amlogic,meson-gx-ao-secure.yaml | 124 ++++---- .../bindings/arm/arm,corstone1000.yaml | 90 +++--- .../bindings/arm/arm,versatile.yaml | 98 +++--- .../devicetree/bindings/arm/bcm/bcm2835.yaml | 130 ++++---- .../arm/cpu-enable-method/al,alpine-smp | 140 ++++----- .../arm/firmware/linaro,optee-tz.yaml | 134 ++++----- .../devicetree/bindings/arm/firmware/sdei.txt | 84 +++--- .../arm/hisilicon/controller/cpuctrl.yaml | 148 +++++----- .../controller/hi3798cv200-perictrl.yaml | 128 ++++---- .../controller/hi6220-domain-ctrl.yaml | 136 ++++----- .../bindings/arm/hisilicon/hisilicon.yaml | 140 ++++----- .../bindings/arm/hisilicon/low-pin-count.yaml | 122 ++++---- .../arm/keystone/ti,k3-sci-common.yaml | 92 +++--- .../bindings/arm/nvidia,tegra194-ccplex.yaml | 142 ++++----- .../devicetree/bindings/arm/omap/l4.txt | 74 ++--- .../devicetree/bindings/arm/omap/prcm.txt | 136 ++++----- .../devicetree/bindings/arm/realtek.yaml | 120 ++++---- .../devicetree/bindings/arm/rockchip/pmu.yaml | 134 ++++----- .../devicetree/bindings/arm/sp810.yaml | 160 +++++----- .../devicetree/bindings/arm/ux500/boards.txt | 166 +++++------ .../ata/allwinner,sun8i-r40-ahci.yaml | 134 ++++----- .../bindings/ata/brcm,sata-brcm.yaml | 174 +++++------ .../ata/intel,ixp4xx-compact-flash.yaml | 124 ++++---- .../devicetree/bindings/ata/pata-common.yaml | 106 +++---- .../devicetree/bindings/ata/sata-common.yaml | 114 +++---- .../bindings/ata/snps,dwc-ahci.yaml | 160 +++++----- .../bindings/auxdisplay/gpio-7-segment.yaml | 110 +++---- .../bindings/board/fsl,fpga-qixis-i2c.yaml | 140 ++++----- .../bindings/board/fsl,fpga-qixis.yaml | 162 +++++----- .../bindings/bus/allwinner,sun8i-a23-rsb.yaml | 164 +++++------ .../devicetree/bindings/bus/brcm,bus-axi.txt | 106 +++---- .../devicetree/bindings/bus/fsl,spba-bus.yaml | 136 ++++----- .../devicetree/bindings/bus/palmbus.yaml | 160 +++++----- .../devicetree/bindings/bus/qcom,ssbi.yaml | 126 ++++---- .../devicetree/bindings/bus/renesas,bsc.yaml | 124 ++++---- .../devicetree/bindings/bus/ts-nbus.txt | 100 +++---- .../cache/andestech,ax45mp-cache.yaml | 162 +++++----- .../bindings/cache/baikal,bt1-l2-ctl.yaml | 126 ++++---- .../cache/starfive,jh8100-starlink-cache.yaml | 132 ++++----- .../bindings/chrome/google,cros-ec-typec.yaml | 132 ++++----- .../bindings/clock/actions,owl-cmu.txt | 104 +++---- .../bindings/clock/adi,axi-clkgen.yaml | 136 ++++----- .../clock/allwinner,sun4i-a10-mmc-clk.yaml | 174 +++++------ .../clock/allwinner,sun4i-a10-mod0-clk.yaml | 160 +++++----- .../allwinner,sun4i-a10-tcon-ch0-clk.yaml | 154 +++++----- .../clock/allwinner,sun8i-a83t-de2-clk.yaml | 158 +++++----- .../allwinner,sun9i-a80-mmc-config-clk.yaml | 136 ++++----- .../bindings/clock/altr_socfpga.txt | 60 ++-- .../bindings/clock/amlogic,a1-pll-clkc.yaml | 128 ++++---- .../bindings/clock/amlogic,gxbb-aoclkc.yaml | 170 +++++------ .../bindings/clock/amlogic,meson8b-clkc.txt | 102 +++---- .../devicetree/bindings/clock/apple,nco.yaml | 126 ++++---- .../bindings/clock/atmel,at91sam9x5-sckc.yaml | 144 ++++----- .../bindings/clock/brcm,bcm2835-cprman.txt | 120 ++++---- .../devicetree/bindings/clock/fsl,plldig.yaml | 116 ++++---- .../clock/fsl,qoriq-clock-legacy.yaml | 168 +++++------ .../bindings/clock/hi3660-clock.txt | 94 +++--- .../bindings/clock/hi6220-clock.txt | 104 +++---- .../devicetree/bindings/clock/hisi-crg.txt | 100 +++---- .../bindings/clock/imx23-clock.yaml | 170 +++++------ .../devicetree/bindings/clock/imx5-clock.yaml | 116 ++++---- .../bindings/clock/imx6sll-clock.yaml | 136 ++++----- .../bindings/clock/imx6sx-clock.yaml | 144 ++++----- .../bindings/clock/imx6ul-clock.yaml | 136 ++++----- .../bindings/clock/imx7d-clock.yaml | 128 ++++---- .../bindings/clock/loongson,ls2k-clk.yaml | 130 ++++---- .../clock/marvell,armada-3700-uart-clock.yaml | 118 ++++---- .../clock/marvell,mmp2-audio-clock.yaml | 150 +++++----- .../bindings/clock/marvell,mmp2-clock.yaml | 138 ++++----- .../bindings/clock/maxim,max9485.txt | 118 ++++---- .../bindings/clock/mediatek,apmixedsys.yaml | 128 ++++---- .../bindings/clock/mediatek,mt6795-clock.yaml | 132 ++++----- .../bindings/clock/mediatek,mt8186-clock.yaml | 112 +++---- .../bindings/clock/mediatek,mt8186-fhctl.yaml | 116 ++++---- .../clock/mediatek,mt8186-sys-clock.yaml | 114 +++---- .../bindings/clock/mediatek,mt8188-clock.yaml | 138 ++++----- .../clock/mediatek,mt8188-sys-clock.yaml | 116 ++++---- .../clock/mediatek,mt8192-sys-clock.yaml | 136 ++++----- .../bindings/clock/mediatek,mtmips-sysc.yaml | 128 ++++---- .../bindings/clock/mediatek,pericfg.yaml | 142 ++++----- .../bindings/clock/mediatek,topckgen.yaml | 130 ++++---- .../bindings/clock/qcom,a53pll.yaml | 140 ++++----- .../bindings/clock/qcom,aoncc-sm8250.yaml | 122 ++++---- .../bindings/clock/qcom,audiocc-sm8250.yaml | 122 ++++---- .../bindings/clock/qcom,camcc-sm8250.yaml | 148 +++++----- .../bindings/clock/qcom,gcc-msm8909.yaml | 126 ++++---- .../bindings/clock/qcom,gcc-msm8916.yaml | 134 ++++----- .../bindings/clock/qcom,gcc-msm8974.yaml | 124 ++++---- .../bindings/clock/qcom,gcc-msm8996.yaml | 138 ++++----- .../bindings/clock/qcom,gcc-msm8998.yaml | 128 ++++---- .../bindings/clock/qcom,gcc-sc7180.yaml | 134 ++++----- .../bindings/clock/qcom,gcc-sc8180x.yaml | 132 ++++----- .../bindings/clock/qcom,gcc-sdm660.yaml | 124 ++++---- .../bindings/clock/qcom,gcc-sdx65.yaml | 126 ++++---- .../bindings/clock/qcom,gcc-sm8250.yaml | 120 ++++---- .../bindings/clock/qcom,gpucc-sdm660.yaml | 128 ++++---- .../devicetree/bindings/clock/qcom,hfpll.yaml | 138 ++++----- .../bindings/clock/qcom,ipq5018-gcc.yaml | 128 ++++---- .../bindings/clock/qcom,ipq5332-gcc.yaml | 112 +++---- .../bindings/clock/qcom,ipq9574-gcc.yaml | 132 ++++----- .../bindings/clock/qcom,kpss-acc-v1.yaml | 144 ++++----- .../bindings/clock/qcom,qdu1000-ecpricc.yaml | 136 ++++----- .../bindings/clock/qcom,qdu1000-gcc.yaml | 106 +++---- .../bindings/clock/qcom,rpmhcc.yaml | 136 ++++----- .../bindings/clock/qcom,sc7180-camcc.yaml | 124 ++++---- .../bindings/clock/qcom,sc7280-camcc.yaml | 122 ++++---- .../bindings/clock/qcom,sc7280-lpasscc.yaml | 144 ++++----- .../bindings/clock/qcom,sc8280xp-lpasscc.yaml | 134 ++++----- .../bindings/clock/qcom,sm4450-camcc.yaml | 126 ++++---- .../bindings/clock/qcom,sm4450-dispcc.yaml | 142 ++++----- .../bindings/clock/qcom,sm4450-gcc.yaml | 112 +++---- .../bindings/clock/qcom,sm6115-dispcc.yaml | 114 +++---- .../bindings/clock/qcom,sm6115-gpucc.yaml | 116 ++++---- .../bindings/clock/qcom,sm6125-gpucc.yaml | 128 ++++---- .../bindings/clock/qcom,sm7150-camcc.yaml | 120 ++++---- .../bindings/clock/qcom,sm7150-videocc.yaml | 116 ++++---- .../bindings/clock/qcom,sm8150-camcc.yaml | 154 +++++----- .../bindings/clock/qcom,sm8350-videocc.yaml | 140 ++++----- .../bindings/clock/qcom,sm8450-gpucc.yaml | 138 ++++----- .../bindings/clock/qcom,sm8550-gcc.yaml | 126 ++++---- .../bindings/clock/qcom,sm8650-gcc.yaml | 132 ++++----- .../bindings/clock/qcom,spmi-clkdiv.yaml | 142 ++++----- .../clock/renesas,r9a06g032-sysctrl.yaml | 146 ++++----- .../bindings/clock/rockchip,rk3128-cru.yaml | 152 +++++----- .../bindings/clock/rockchip,rk3568-cru.yaml | 146 ++++----- .../bindings/clock/rockchip,rk3588-cru.yaml | 134 ++++----- .../bindings/clock/samsung,exynos-clock.yaml | 120 ++++---- .../clock/samsung,exynos4412-isp-clock.yaml | 126 ++++---- .../clock/samsung,exynos5410-clock.yaml | 132 ++++----- .../bindings/clock/samsung,s3c6400-clock.yaml | 114 +++---- .../bindings/clock/sifive/fu540-prci.yaml | 118 ++++---- .../bindings/clock/sifive/fu740-prci.yaml | 128 ++++---- .../bindings/clock/silabs,si570.txt | 82 +++--- .../bindings/clock/sprd,ums512-clk.yaml | 142 ++++----- .../bindings/clock/st/st,clkgen.txt | 136 ++++----- .../bindings/clock/st/st,quadfs.txt | 96 +++--- .../clock/starfive,jh7100-clkgen.yaml | 112 +++---- .../devicetree/bindings/clock/ti,sci-clk.yaml | 98 +++--- .../devicetree/bindings/clock/ti/adpll.txt | 78 ++--- .../devicetree/bindings/clock/ti/apll.txt | 86 +++--- .../bindings/clock/ti/composite.txt | 110 +++---- .../bindings/clock/xlnx,clocking-wizard.yaml | 156 +++++----- .../bindings/counter/interrupt-counter.yaml | 124 ++++---- .../bindings/cpufreq/cpufreq-dt.txt | 122 ++++---- .../bindings/cpufreq/cpufreq-mediatek-hw.yaml | 140 ++++----- .../crypto/allwinner,sun4i-a10-crypto.yaml | 190 ++++++------ .../crypto/atmel,at91sam9g46-aes.yaml | 140 ++++----- .../crypto/atmel,at91sam9g46-sha.yaml | 128 ++++---- .../crypto/atmel,at91sam9g46-tdes.yaml | 136 ++++----- .../bindings/crypto/fsl-imx-sahara.yaml | 148 +++++----- .../bindings/crypto/intel,ixp4xx-crypto.yaml | 112 +++---- .../bindings/crypto/marvell-cesa.txt | 88 +++--- .../bindings/crypto/samsung-sss.yaml | 114 +++---- .../bindings/crypto/st,stm32-cryp.yaml | 148 +++++----- .../bindings/crypto/st,stm32-hash.yaml | 188 ++++++------ .../crypto/starfive,jh7110-crypto.yaml | 192 ++++++------ .../devicetree/bindings/csky/cpus.txt | 146 ++++----- .../bindings/devfreq/event/rockchip,dfi.yaml | 148 +++++----- .../bindings/display/atmel,lcdc.yaml | 140 ++++----- .../atmel/atmel,hlcdc-display-controller.yaml | 126 ++++---- .../bindings/display/brcm,bcm2835-dsi0.yaml | 170 +++++------ .../bindings/display/brcm,bcm2835-hdmi.yaml | 166 +++++------ .../display/bridge/chrontel,ch7033.yaml | 154 +++++----- .../display/bridge/snps,dw-mipi-dsi.yaml | 122 ++++---- .../display/bridge/toshiba,tc358762.yaml | 174 +++++------ .../bindings/display/cirrus,clps711x-fb.txt | 94 +++--- .../display/connector/dvi-connector.yaml | 142 ++++----- .../display/connector/hdmi-connector.yaml | 136 ++++----- .../bindings/display/faraday,tve200.yaml | 136 ++++----- .../bindings/display/hisilicon/dw-dsi.txt | 144 ++++----- .../bindings/display/ilitek,ili9486.yaml | 138 ++++----- .../display/intel,keembay-display.yaml | 144 ++++----- .../display/mediatek/mediatek,od.yaml | 122 ++++---- .../bindings/display/msm/dsi-phy-14nm.yaml | 156 +++++----- .../bindings/display/msm/dsi-phy-20nm.yaml | 140 ++++----- .../bindings/display/msm/dsi-phy-28nm.yaml | 150 +++++----- .../bindings/display/msm/dsi-phy-7nm.yaml | 152 +++++----- .../display/panel/advantech,idk-1110wr.yaml | 168 +++++------ .../panel/anbernic,rg35xx-plus-panel.yaml | 134 ++++----- .../display/panel/boe,th101mb31ig002-28a.yaml | 150 +++++----- .../bindings/display/panel/ebbg,ft8719.yaml | 148 +++++----- .../panel/feiyang,fy07024di26a30d.yaml | 130 ++++---- .../bindings/display/panel/himax,hx83102.yaml | 154 +++++----- .../display/panel/himax,hx83112a.yaml | 152 +++++----- .../bindings/display/panel/himax,hx8394.yaml | 178 +++++------ .../display/panel/ilitek,ili9163.yaml | 136 ++++----- .../display/panel/ilitek,ili9322.yaml | 142 ++++----- .../display/panel/jadard,jd9365da-h3.yaml | 150 +++++----- .../display/panel/jdi,lt070me05000.yaml | 148 +++++----- .../display/panel/mantix,mlaf057we51-x.yaml | 152 +++++----- .../display/panel/mitsubishi,aa104xd12.yaml | 180 ++++++------ .../display/panel/mitsubishi,aa121td01.yaml | 178 +++++------ .../display/panel/newvision,nv3051d.yaml | 128 ++++---- .../display/panel/novatek,nt35510.yaml | 124 ++++---- .../display/panel/olimex,lcd-olinuxino.yaml | 144 ++++----- .../bindings/display/panel/panel-dpi.yaml | 142 ++++----- .../bindings/display/panel/panel-lvds.yaml | 134 ++++----- .../panel/raspberrypi,7inch-touchscreen.yaml | 142 ++++----- .../display/panel/raydium,rm67191.yaml | 158 +++++----- .../display/panel/raydium,rm692e5.yaml | 150 +++++----- .../display/panel/rocktech,jh057n00900.yaml | 156 +++++----- .../panel/samsung,amoled-mipi-dsi.yaml | 154 +++++----- .../display/panel/samsung,s6d7aa0.yaml | 142 ++++----- .../panel/samsung,s6e88a0-ams452ef01.yaml | 122 ++++---- .../display/panel/sgd,gktw70sdae4se.yaml | 166 +++++------ .../display/panel/sitronix,st7789v.yaml | 156 +++++----- .../display/panel/sony,td4353-jdi.yaml | 170 +++++------ .../panel/sony,tulip-truly-nt35521.yaml | 146 ++++----- .../display/panel/startek,kd070fhfid015.yaml | 138 ++++----- .../display/panel/visionox,rm69299.yaml | 136 ++++----- .../bindings/display/renesas,cmm.yaml | 134 ++++----- .../bindings/display/sitronix,st7735r.yaml | 144 ++++----- .../bindings/display/solomon,ssd132x.yaml | 178 +++++------ .../display/sprd/sprd,sharkl3-dpu.yaml | 154 +++++----- .../display/sprd/sprd,sharkl3-dsi-host.yaml | 176 +++++------ .../bindings/display/st,stm32-ltdc.yaml | 154 +++++----- .../display/tegra/nvidia,tegra114-mipi.yaml | 148 +++++----- .../display/tegra/nvidia,tegra124-vic.yaml | 144 ++++----- .../display/tegra/nvidia,tegra186-dc.yaml | 170 +++++------ .../display/tegra/nvidia,tegra20-gr2d.yaml | 146 ++++----- .../bindings/display/truly,nt35597.txt | 118 ++++---- .../dma/allwinner,sun50i-a64-dma.yaml | 198 ++++++------- .../devicetree/bindings/dma/altr,msgdma.yaml | 126 ++++---- .../devicetree/bindings/dma/apm-xgene-dma.txt | 94 +++--- .../devicetree/bindings/dma/arm,pl330.yaml | 184 ++++++------ .../devicetree/bindings/dma/atmel-xdma.txt | 108 +++---- .../devicetree/bindings/dma/dma-common.yaml | 106 +++---- .../bindings/dma/loongson,ls1b-apbdma.yaml | 130 ++++---- .../bindings/dma/lpc1850-dmamux.txt | 108 +++---- .../bindings/dma/marvell,mmp-dma.yaml | 144 ++++----- .../bindings/dma/nvidia,tegra20-apbdma.txt | 88 +++--- .../devicetree/bindings/dma/owl-dma.yaml | 160 +++++----- .../bindings/dma/sifive,fu540-c000-pdma.yaml | 150 +++++----- .../dma/socionext,uniphier-mio-dmac.yaml | 126 ++++---- .../dma/socionext,uniphier-xdmac.yaml | 124 ++++---- .../dma/xilinx/xlnx,zynqmp-dpdma.yaml | 148 +++++----- .../bindings/edac/amazon,al-mc-edac.yaml | 132 ++++----- .../bindings/eeprom/microchip,93lc46b.yaml | 140 ++++----- .../bindings/extcon/extcon-ptn5150.yaml | 146 ++++----- .../bindings/extcon/extcon-usbc-cros-ec.yaml | 110 +++---- .../bindings/extcon/qcom,pm8941-misc.yaml | 132 ++++----- .../extcon/siliconmitus,sm5502-muic.yaml | 114 +++---- .../bindings/firmware/qemu,fw-cfg-mmio.yaml | 108 +++---- .../bindings/fsi/fsi-controller.yaml | 132 ++++----- .../bindings/fsi/fsi-master-ast-cf.txt | 72 ++--- .../devicetree/bindings/fsi/ibm,fsi2spi.yaml | 132 ++++----- .../bindings/fuse/nvidia,tegra20-fuse.yaml | 176 +++++------ .../bindings/gnss/brcm,bcm4751.yaml | 140 ++++----- .../devicetree/bindings/gnss/gnss-common.yaml | 100 +++---- .../devicetree/bindings/gnss/mediatek.yaml | 120 ++++---- .../bindings/gnss/u-blox,neo-6m.yaml | 130 ++++---- .../bindings/gpio/airoha,en7523-gpio.yaml | 132 ++++----- .../bindings/gpio/atmel,at91rm9200-gpio.yaml | 162 +++++----- .../bindings/gpio/brcm,bcm63xx-gpio.yaml | 144 ++++----- .../bindings/gpio/brcm,xgs-iproc-gpio.yaml | 140 ++++----- .../bindings/gpio/cavium-octeon-gpio.txt | 98 +++--- .../devicetree/bindings/gpio/cdns,gpio.txt | 86 +++--- .../bindings/gpio/fairchild,74hc595.yaml | 136 ++++----- .../devicetree/bindings/gpio/gpio-altera.txt | 88 +++--- .../bindings/gpio/gpio-consumer-common.yaml | 128 ++++---- .../bindings/gpio/mediatek,mt7621-gpio.yaml | 144 ++++----- .../bindings/gpio/microchip,pic32-gpio.txt | 98 +++--- .../bindings/gpio/realtek,rtd-gpio.yaml | 138 ++++----- .../bindings/gpio/renesas,em-gio.yaml | 140 ++++----- .../bindings/gpio/rockchip,gpio-bank.yaml | 192 ++++++------ .../devicetree/bindings/gpio/sodaville.txt | 96 +++--- .../devicetree/bindings/gpio/sprd,gpio.yaml | 150 +++++----- .../bindings/gpio/st,nomadik-gpio.yaml | 190 ++++++------ .../bindings/gpio/toshiba,gpio-visconti.yaml | 138 ++++----- .../bindings/gpio/xylon,logicvc-gpio.yaml | 142 ++++----- .../devicetree/bindings/gpu/brcm,bcm-v3d.yaml | 152 +++++----- .../bindings/gpu/img,powervr-rogue.yaml | 146 ++++----- .../devicetree/bindings/gpu/samsung-g2d.yaml | 172 +++++------ .../bindings/gpu/samsung-scaler.yaml | 188 ++++++------ .../devicetree/bindings/gpu/vivante,gc.yaml | 152 +++++----- .../devicetree/bindings/hsi/nokia-modem.txt | 118 ++++---- .../bindings/hwmon/adi,adm1177.yaml | 140 ++++----- .../bindings/hwmon/adi,axi-fan-control.yaml | 126 ++++---- .../bindings/hwmon/adi,ltc2992.yaml | 162 +++++----- .../devicetree/bindings/hwmon/amd,sbrmi.yaml | 106 +++---- .../devicetree/bindings/hwmon/amd,sbtsi.yaml | 108 +++---- .../bindings/hwmon/aspeed,g6-pwm-tach.yaml | 142 ++++----- .../devicetree/bindings/hwmon/fan-common.yaml | 158 +++++----- .../devicetree/bindings/hwmon/jedec,jc42.yaml | 156 +++++----- .../bindings/hwmon/maxim,max6650.yaml | 140 ++++----- .../hwmon/pmbus/infineon,tda38640.yaml | 154 +++++----- .../bindings/hwmon/pmbus/ti,lm25066.yaml | 138 ++++----- .../bindings/hwmon/sensirion,shtc1.yaml | 122 ++++---- .../bindings/hwmon/starfive,jh71x0-temp.yaml | 140 ++++----- .../bindings/hwmon/ti,adc128d818.yaml | 126 ++++---- .../devicetree/bindings/hwmon/ti,lm87.yaml | 138 ++++----- .../devicetree/bindings/i2c/apple,i2c.yaml | 134 ++++----- .../devicetree/bindings/i2c/aspeed,i2c.yaml | 136 ++++----- .../bindings/i2c/brcm,brcmstb-i2c.yaml | 192 ++++++------ .../bindings/i2c/brcm,iproc-i2c.yaml | 142 ++++----- .../bindings/i2c/cdns,i2c-r1p10.yaml | 150 +++++----- .../i2c/google,cros-ec-i2c-tunnel.yaml | 132 ++++----- .../bindings/i2c/hisilicon,ascend910-i2c.yaml | 146 ++++----- .../devicetree/bindings/i2c/i2c-atr.yaml | 68 ++--- .../devicetree/bindings/i2c/i2c-davinci.txt | 86 +++--- .../bindings/i2c/i2c-imx-lpi2c.yaml | 168 +++++------ .../bindings/i2c/i2c-mux-ltc4306.txt | 122 ++++---- .../devicetree/bindings/i2c/i2c-owl.yaml | 124 ++++---- .../devicetree/bindings/i2c/i2c-pxa.yaml | 148 +++++----- .../devicetree/bindings/i2c/ibm,i2c-fsi.yaml | 152 +++++----- .../bindings/i2c/renesas,rzv2m.yaml | 160 +++++----- .../bindings/i2c/sprd,sc9860-i2c.yaml | 130 ++++---- .../devicetree/bindings/i2c/st,sti-i2c.yaml | 142 ++++----- .../bindings/i3c/aspeed,ast2600-i3c.yaml | 144 ++++----- .../bindings/iio/accel/adi,adxl372.yaml | 136 ++++----- .../bindings/iio/accel/bosch,bmi088.yaml | 142 ++++----- .../bindings/iio/accel/kionix,kx022a.yaml | 138 ++++----- .../bindings/iio/accel/kionix,kxsd9.yaml | 140 ++++----- .../bindings/iio/adc/adi,ad799x.yaml | 146 ++++----- .../bindings/iio/adc/adi,axi-adc.yaml | 136 ++++----- .../iio/adc/allwinner,sun20i-d1-gpadc.yaml | 192 ++++++------ .../bindings/iio/adc/avia-hx711.yaml | 134 ++++----- .../iio/adc/brcm,iproc-static-adc.yaml | 130 ++++---- .../bindings/iio/adc/lltc,ltc2497.yaml | 120 ++++---- .../bindings/iio/adc/maxim,max1027.yaml | 136 ++++----- .../bindings/iio/adc/maxim,max11205.yaml | 138 ++++----- .../bindings/iio/adc/maxim,max1238.yaml | 156 +++++----- .../bindings/iio/adc/maxim,max1241.yaml | 136 ++++----- .../bindings/iio/adc/microchip,mcp3201.yaml | 158 +++++----- .../bindings/iio/adc/nuvoton,npcm750-adc.yaml | 134 ++++----- .../bindings/iio/adc/nxp,imx8qxp-adc.yaml | 170 +++++------ .../bindings/iio/adc/qcom,spmi-iadc.yaml | 132 ++++----- .../bindings/iio/adc/richtek,rtq6056.yaml | 126 ++++---- .../iio/adc/sophgo,cv1800b-saradc.yaml | 166 +++++------ .../bindings/iio/adc/ti,ads1298.yaml | 160 +++++----- .../bindings/iio/adc/ti,lmp92064.yaml | 140 ++++----- .../bindings/iio/adc/ti,palmas-gpadc.yaml | 140 ++++----- .../bindings/iio/adc/x-powers,axp209-adc.yaml | 172 +++++------ .../bindings/iio/afe/current-sense-shunt.yaml | 136 ++++----- .../bindings/iio/chemical/atlas,sensor.yaml | 122 ++++---- .../iio/chemical/sciosense,ens160.yaml | 140 ++++----- .../iio/chemical/senseair,sunrise.yaml | 110 +++---- .../iio/chemical/sensirion,scd30.yaml | 136 ++++----- .../bindings/iio/dac/adi,ad5360.yaml | 156 +++++----- .../bindings/iio/dac/adi,ad5380.yaml | 144 ++++----- .../bindings/iio/dac/adi,ad5766.yaml | 130 ++++---- .../devicetree/bindings/iio/dac/dpot-dac.yaml | 128 ++++---- .../bindings/iio/dac/ti,dac082s085.yaml | 146 ++++----- .../bindings/iio/filter/adi,admv8818.yaml | 132 ++++----- .../bindings/iio/frequency/adf4371.yaml | 136 ++++----- .../iio/gyroscope/invensense,mpu3050.yaml | 140 ++++----- .../bindings/iio/health/maxim,max30102.yaml | 152 +++++----- .../bindings/iio/humidity/ti,hdc3020.yaml | 126 ++++---- .../bindings/iio/imu/bosch,bmi323.yaml | 154 +++++----- .../bindings/iio/imu/nxp,fxos8700.yaml | 162 +++++----- .../bindings/iio/light/ams,as73211.yaml | 114 +++---- .../bindings/iio/light/ti,opt4001.yaml | 136 ++++----- .../bindings/iio/light/veml6030.yaml | 128 ++++---- .../iio/magnetometer/bosch,bmc150_magn.yaml | 122 ++++---- .../iio/magnetometer/voltafield,af8133j.yaml | 120 ++++---- .../iio/potentiometer/renesas,x9250.yaml | 156 +++++----- .../iio/potentiostat/ti,lmp91000.yaml | 136 ++++----- .../bindings/iio/proximity/ams,as3935.yaml | 148 +++++----- .../iio/proximity/awinic,aw96103.yaml | 122 ++++---- .../iio/proximity/maxbotix,mb1232.yaml | 120 ++++---- .../bindings/iio/proximity/parallax-ping.yaml | 106 +++---- .../iio/proximity/vishay,vcnl3020.yaml | 128 ++++---- .../bindings/iio/resolver/adi,ad2s90.yaml | 126 ++++---- .../iio/samsung,sensorhub-rinato.yaml | 146 ++++----- .../iio/temperature/maxim,max31855k.yaml | 152 +++++----- .../iio/temperature/microchip,mcp9600.yaml | 140 ++++----- .../input/adafruit,seesaw-gamepad.yaml | 126 ++++---- .../bindings/input/cirrus,cs40l50.yaml | 136 ++++----- .../bindings/input/cypress,tm2-touchkey.yaml | 146 ++++----- .../bindings/input/elan,ekth3000.yaml | 162 +++++----- .../bindings/input/elan,ekth6915.yaml | 164 +++++------ .../bindings/input/gpio-matrix-keypad.txt | 98 +++--- .../devicetree/bindings/input/gpio-mouse.yaml | 136 ++++----- .../bindings/input/ilitek,ili9882t.yaml | 134 ++++----- .../devicetree/bindings/input/input.yaml | 128 ++++---- .../bindings/input/matrix-keymap.yaml | 96 +++--- .../input/pine64,pinephone-keyboard.yaml | 132 ++++----- .../bindings/input/pwm-vibrator.yaml | 118 ++++---- .../bindings/input/qcom,pm8921-pwrkey.yaml | 150 +++++----- .../devicetree/bindings/input/st-keyscan.txt | 120 ++++---- .../bindings/input/ti,nspire-keypad.yaml | 148 +++++----- .../input/touchscreen/azoteq,iqs5xx.yaml | 150 +++++----- .../bindings/input/touchscreen/bu21013.txt | 86 +++--- .../input/touchscreen/cypress,cy8ctma140.yaml | 144 ++++----- .../input/touchscreen/eeti,exc3000.yaml | 128 ++++---- .../input/touchscreen/elan,elants_i2c.yaml | 148 +++++----- .../bindings/input/touchscreen/goodix.yaml | 164 +++++------ .../input/touchscreen/himax,hx852es.yaml | 162 +++++----- .../input/touchscreen/ilitek_ts_i2c.yaml | 152 +++++----- .../input/touchscreen/mstar,msg2638.yaml | 150 +++++----- .../input/touchscreen/neonode,zforce.yaml | 144 ++++----- .../bindings/input/touchscreen/st,stmfts.yaml | 144 ++++----- .../interconnect/mediatek,mt8183-emi.yaml | 102 +++---- .../bindings/interconnect/qcom,msm8939.yaml | 154 +++++----- .../bindings/interconnect/qcom,msm8974.yaml | 124 ++++---- .../bindings/interconnect/qcom,osm-l3.yaml | 154 +++++----- .../interconnect/qcom,qdu1000-rpmh.yaml | 140 ++++----- .../actions,owl-sirq.yaml | 130 ++++---- .../allwinner,sun6i-a31-r-intc.yaml | 134 ++++----- .../allwinner,sun7i-a20-sc-nmi.yaml | 128 ++++---- .../arm,versatile-fpga-irq.txt | 76 ++--- .../aspeed,ast2400-vic.yaml | 124 ++++---- .../interrupt-controller/brcm,l2-intc.yaml | 144 ++++----- .../interrupt-controller/csky,apb-intc.txt | 124 ++++---- .../interrupt-controller/fsl,intmux.yaml | 144 ++++----- .../interrupt-controller/fsl,ls-msi.yaml | 158 +++++----- .../interrupt-controller/ingenic,intc.yaml | 132 ++++----- .../intel,ce4100-ioapic.yaml | 120 ++++---- .../intel,ixp4xx-interrupt.yaml | 112 +++---- .../kontron,sl28cpld-intc.yaml | 108 +++---- .../interrupt-controller/loongson,htpic.yaml | 122 ++++---- .../interrupt-controller/loongson,htvec.yaml | 114 +++---- .../loongson,pch-msi.yaml | 124 ++++---- .../interrupt-controller/marvell,mpic.yaml | 126 ++++---- .../marvell,odmi-controller.txt | 84 +++--- .../marvell,orion-intc.txt | 96 +++--- .../interrupt-controller/marvell,sei.txt | 72 ++--- .../microchip,sama7g5-eic.yaml | 146 ++++----- .../interrupt-controller/msi-controller.yaml | 92 +++--- .../interrupt-controller/mstar,mst-intc.yaml | 128 ++++---- .../nvidia,tegra20-ictlr.txt | 82 +++--- .../interrupt-controller/nxp,lpc3220-mic.txt | 116 ++++---- .../qca,ath79-cpu-intc.txt | 88 +++--- .../snps,archs-idu-intc.txt | 92 +++--- .../interrupt-controller/snps,dw-apb-ictl.txt | 86 +++--- .../socionext,uniphier-aidet.yaml | 124 ++++---- .../sunplus,sp7021-intc.yaml | 124 ++++---- .../iommu/allwinner,sun50i-h6-iommu.yaml | 132 ++++----- .../devicetree/bindings/iommu/apple,sart.yaml | 112 +++---- .../devicetree/bindings/ipmi/ipmi-ipmb.yaml | 134 ++++----- .../bindings/leds/backlight/mps,mp3309c.yaml | 142 ++++----- .../backlight/richtek,rt4831-backlight.yaml | 134 ++++----- .../bindings/leds/leds-cr0014114.txt | 132 ++++----- .../bindings/leds/leds-el15203000.txt | 138 ++++----- .../bindings/leds/leds-group-multicolor.yaml | 128 ++++---- .../devicetree/bindings/leds/leds-lm3601x.txt | 102 +++---- .../devicetree/bindings/leds/leds-mt6323.txt | 126 ++++---- .../bindings/leds/leds-pwm-multicolor.yaml | 172 +++++------ .../bindings/leds/leds-sgm3140.yaml | 130 ++++---- .../leds/mediatek,mt6370-indicator.yaml | 160 +++++----- .../devicetree/bindings/leds/nxp,pca995x.yaml | 166 +++++------ .../bindings/leds/panasonic,an30259a.yaml | 168 +++++------ .../bindings/leds/qcom,pm8058-led.yaml | 114 +++---- .../bindings/leds/rohm,bd2606mvv.yaml | 162 +++++----- .../bindings/leds/sprd,sc2731-bltc.yaml | 168 +++++------ .../bindings/mailbox/altera-mailbox.txt | 96 +++--- .../mailbox/amlogic,meson-gxbb-mhu.yaml | 106 +++---- .../mailbox/hisilicon,hi3660-mailbox.txt | 102 +++---- .../bindings/mailbox/sprd-mailbox.yaml | 138 ++++----- .../bindings/mailbox/st,stm32-ipcc.yaml | 152 +++++----- .../bindings/mailbox/ti,message-manager.txt | 100 +++---- .../media/allwinner,sun4i-a10-ir.yaml | 156 +++++----- .../media/allwinner,sun50i-h6-vpu-g2.yaml | 138 ++++----- .../allwinner,sun8i-a83t-de2-rotate.yaml | 140 ++++----- .../bindings/media/cec/cec-gpio.yaml | 148 +++++----- .../bindings/media/cec/samsung,s5p-cec.yaml | 132 ++++----- .../devicetree/bindings/media/i2c/adv7343.txt | 96 +++--- .../media/i2c/alliedvision,alvium-csi2.yaml | 162 +++++----- .../bindings/media/i2c/aptina,mt9v111.yaml | 150 +++++----- .../bindings/media/i2c/chrontel,ch7322.yaml | 136 ++++----- .../devicetree/bindings/media/i2c/max2175.txt | 118 ++++---- .../devicetree/bindings/media/i2c/ov7670.txt | 110 +++---- .../devicetree/bindings/media/i2c/ov7740.txt | 94 +++--- .../bindings/media/i2c/ovti,ov5647.yaml | 150 +++++----- .../bindings/media/i2c/sony,imx274.yaml | 144 ++++----- .../bindings/media/i2c/tc358743.txt | 96 +++--- .../bindings/media/i2c/toshiba,et8ek8.txt | 110 +++---- .../devicetree/bindings/media/i2c/tvp7002.txt | 106 +++---- .../bindings/media/img,e5010-jpeg-enc.yaml | 150 +++++----- .../bindings/media/mediatek,mdp3-fg.yaml | 122 ++++---- .../bindings/media/mediatek,mdp3-hdr.yaml | 122 ++++---- .../bindings/media/mediatek,mdp3-stitch.yaml | 122 ++++---- .../bindings/media/mediatek,mdp3-tcc.yaml | 124 ++++---- .../bindings/media/mediatek,mdp3-tdshp.yaml | 122 ++++---- .../bindings/media/mediatek-jpeg-encoder.yaml | 150 +++++----- .../bindings/media/nuvoton,npcm-vcd.yaml | 144 ++++----- .../devicetree/bindings/media/nxp,dw100.yaml | 138 ++++----- .../bindings/media/nxp,imx7-csi.yaml | 174 +++++------ .../bindings/media/nxp,imx8mq-vpu.yaml | 138 ++++----- .../bindings/media/raspberrypi,pispbe.yaml | 126 ++++---- .../bindings/media/renesas,ceu.yaml | 164 +++++------ .../bindings/media/renesas,fdp1.yaml | 138 ++++----- .../bindings/media/renesas,imr.yaml | 134 ++++----- .../bindings/media/renesas,jpu.yaml | 130 ++++---- .../bindings/media/rockchip,rk3568-vepu.yaml | 140 ++++----- .../media/samsung,exynos4212-fimc-lite.yaml | 126 ++++---- .../bindings/media/st,stm32-dma2d.yaml | 142 ++++----- .../devicetree/bindings/media/ti,vpe.yaml | 128 ++++---- .../bindings/media/ti-am437x-vpfe.txt | 122 ++++---- .../bindings/media/xilinx/video.txt | 70 ++--- .../bindings/media/xilinx/xlnx,v-tpg.txt | 142 ++++----- .../bindings/media/xilinx/xlnx,video.txt | 110 +++---- .../brcm,brcmstb-memc-ddr.yaml | 104 +++---- .../mc-peripheral-props.yaml | 84 +++--- .../qca,ath79-ddr-controller.yaml | 122 ++++---- .../memory-controllers/renesas,dbsc.yaml | 112 +++---- .../xlnx,versal-ddrmc-edac.yaml | 114 +++---- .../devicetree/bindings/mfd/adi,max77541.yaml | 136 ++++----- .../bindings/mfd/allwinner,sun4i-a10-ts.yaml | 152 +++++----- .../devicetree/bindings/mfd/altera-a10sr.txt | 112 +++---- .../mfd/arm,dev-platforms-syscon.yaml | 134 ++++----- .../devicetree/bindings/mfd/brcm,twd.yaml | 138 ++++----- .../devicetree/bindings/mfd/da9052-i2c.txt | 134 ++++----- .../devicetree/bindings/mfd/da9150.txt | 120 ++++---- .../devicetree/bindings/mfd/ene-kb930.yaml | 130 ++++---- .../bindings/mfd/marvell,88pm886-a1.yaml | 152 +++++----- .../bindings/mfd/maxim,max77714.yaml | 136 ++++----- .../bindings/mfd/mediatek,mt8195-scpsys.yaml | 140 ++++----- .../devicetree/bindings/mfd/mps,mp2629.yaml | 128 ++++---- .../devicetree/bindings/mfd/mxs-lradc.txt | 90 +++--- .../devicetree/bindings/mfd/qcom,tcsr.yaml | 140 ++++----- .../bindings/mfd/silergy,sy7636a.yaml | 166 +++++------ .../bindings/mfd/sprd,sc27xx-pmic.txt | 80 ++--- .../bindings/mfd/sprd,ums512-glbreg.yaml | 146 ++++----- .../bindings/mfd/syscon-common.yaml | 142 ++++----- .../bindings/mfd/ti,am3359-tscadc.yaml | 170 +++++------ .../devicetree/bindings/mfd/tps65912.txt | 98 +++--- .../devicetree/bindings/mfd/twl4030-power.txt | 96 +++--- .../bindings/mips/ingenic/devices.yaml | 116 ++++---- .../devicetree/bindings/mips/lantiq/rcu.txt | 138 ++++----- .../bindings/mips/loongson/devices.yaml | 108 +++---- .../bindings/misc/aspeed,ast2400-cvic.yaml | 120 ++++---- .../bindings/misc/aspeed-p2a-ctrl.txt | 92 +++--- .../devicetree/bindings/misc/atmel-ssc.txt | 100 +++---- .../devicetree/bindings/misc/ge-achc.yaml | 130 ++++---- .../devicetree/bindings/misc/idt,89hpesx.yaml | 144 ++++----- .../devicetree/bindings/misc/ifm-csi.txt | 82 +++--- .../misc/intel,ixp4xx-ahb-queue-manager.yaml | 102 +++---- .../bindings/misc/olpc,xo1.75-ec.yaml | 112 +++---- .../misc/qemu,vcpu-stall-detector.yaml | 114 +++---- .../bindings/misc/ti,j721e-esm.yaml | 106 +++---- .../bindings/mmc/amlogic,meson-gx-mmc.yaml | 158 +++++----- .../bindings/mmc/amlogic,meson-mx-sdhc.yaml | 140 ++++----- .../bindings/mmc/amlogic,meson-mx-sdio.txt | 108 +++---- .../devicetree/bindings/mmc/atmel-hsmci.txt | 146 ++++----- .../bindings/mmc/brcm,iproc-sdhci.yaml | 128 ++++---- .../devicetree/bindings/mmc/cavium-mmc.txt | 114 +++---- .../devicetree/bindings/mmc/litex,mmc.yaml | 156 +++++----- .../mmc/microchip,dw-sparx5-sdhci.yaml | 134 ++++----- .../bindings/mmc/mmc-pwrseq-emmc.yaml | 96 +++--- .../bindings/mmc/mmc-pwrseq-simple.yaml | 128 ++++---- .../devicetree/bindings/mmc/mmc-spi-slot.yaml | 154 +++++----- .../bindings/mmc/samsung,s3c6410-sdhci.yaml | 162 +++++----- .../bindings/mtd/arm,pl353-nand-r2p1.yaml | 104 +++---- .../bindings/mtd/cadence-nand-controller.txt | 106 +++---- .../devicetree/bindings/mtd/fsl-upm-nand.txt | 134 ++++----- .../bindings/mtd/gpio-control-nand.txt | 94 +++--- .../devicetree/bindings/mtd/hisi504-nand.txt | 94 +++--- .../bindings/mtd/intel,lgm-ebunand.yaml | 180 ++++++------ .../devicetree/bindings/mtd/lpc32xx-slc.txt | 104 +++---- .../mtd/mediatek,nand-ecc-engine.yaml | 126 ++++---- .../bindings/mtd/nand-controller.yaml | 142 ++++----- .../devicetree/bindings/mtd/nxp-spifi.txt | 116 ++++---- .../partitions/brcm,bcm4908-partitions.yaml | 144 ++++----- .../bindings/mtd/partitions/brcm,trx.txt | 84 +++--- .../mtd/partitions/linksys,ns-partitions.yaml | 152 +++++----- .../bindings/mtd/partitions/linux,ubi.yaml | 150 +++++----- .../mtd/partitions/qcom,smem-part.yaml | 124 ++++---- .../tplink,safeloader-partitions.yaml | 114 +++---- .../bindings/mtd/renesas-nandc.yaml | 132 ++++----- .../bindings/mtd/ti,am654-hbmc.yaml | 142 ++++----- .../devicetree/bindings/net/asix,ax88178.yaml | 140 ++++----- .../bindings/net/asix,ax88796c.yaml | 148 +++++----- .../net/bluetooth/amlogic,w155s2-bt.yaml | 126 ++++---- .../net/bluetooth/nokia,h4p-bluetooth.txt | 102 +++---- .../net/bluetooth/realtek,bluetooth.yaml | 136 ++++----- .../devicetree/bindings/net/brcm,amac.yaml | 176 +++++------ .../bindings/net/brcm,mdio-mux-iproc.yaml | 160 +++++----- .../devicetree/bindings/net/btusb.txt | 88 +++--- .../net/can/allwinner,sun4i-a10-can.yaml | 160 +++++----- .../devicetree/bindings/net/can/cc770.txt | 106 +++---- .../bindings/net/can/ctu,ctucanfd.yaml | 132 ++++----- .../bindings/net/can/microchip,mcp2510.yaml | 140 ++++----- .../bindings/net/can/mpc5xxx-mscan.txt | 106 +++---- .../net/can/rockchip,rk3568v2-canfd.yaml | 148 +++++----- .../devicetree/bindings/net/can/tcan4x5x.txt | 96 +++--- .../bindings/net/davicom,dm9051.yaml | 124 ++++---- .../devicetree/bindings/net/davinci_emac.txt | 88 +++--- .../devicetree/bindings/net/dsa/dsa.yaml | 110 +++---- .../devicetree/bindings/net/fsl,enetc.yaml | 132 ++++----- .../bindings/net/hisilicon-femac.txt | 82 +++--- .../devicetree/bindings/net/ingenic,mac.yaml | 154 +++++----- .../bindings/net/intel,ixp46x-ptp-timer.yaml | 108 +++---- .../bindings/net/lantiq,etop-xway.yaml | 136 ++++----- .../bindings/net/marvell-neta-bm.txt | 94 +++--- .../bindings/net/microchip,lan78xx.txt | 106 +++---- .../bindings/net/renesas,rzn1-gmac.yaml | 132 ++++----- .../net/socionext,synquacer-netsec.yaml | 146 ++++----- .../bindings/net/ti,davinci-mdio.yaml | 160 +++++----- .../bindings/net/vertexcom-mse102x.yaml | 142 ++++----- .../bindings/net/wireless/ieee80211.yaml | 88 +++--- .../bindings/net/wireless/ti,wl1251.txt | 128 ++++---- .../devicetree/bindings/net/wiznet,w5x00.txt | 100 +++---- .../bindings/net/xlnx,emaclite.yaml | 126 ++++---- .../bindings/net/xlnx,gmii-to-rgmii.yaml | 120 ++++---- .../devicetree/bindings/nvmem/brcm,nvram.yaml | 146 ++++----- .../bindings/nvmem/fsl,layerscape-sfp.yaml | 126 ++++---- .../bindings/nvmem/layouts/fixed-cell.yaml | 110 +++---- .../nvmem/layouts/kontron,sl28-vpd.yaml | 128 ++++---- .../bindings/nvmem/rockchip-efuse.yaml | 146 ++++----- .../bindings/nvmem/st,stm32-romem.yaml | 146 ++++----- .../bindings/nvmem/sunplus,sp7021-ocotp.yaml | 158 +++++----- .../devicetree/bindings/opp/opp-v1.yaml | 102 +++---- .../bindings/opp/opp-v2-qcom-level.yaml | 126 ++++---- .../bindings/pci/altr,msi-controller.yaml | 130 ++++---- .../bindings/pci/cdns,cdns-pcie-host.yaml | 144 ++++----- .../bindings/pci/intel,keembay-pcie-ep.yaml | 138 ++++----- .../devicetree/bindings/pci/loongson.yaml | 126 ++++---- .../devicetree/bindings/pci/pci-armada8k.txt | 96 +++--- .../devicetree/bindings/pci/pci-ep.yaml | 118 ++++---- .../devicetree/bindings/pci/pcie-al.txt | 92 +++--- .../pci/plda,xpressrich3-axi-common.yaml | 150 +++++----- .../bindings/pci/qcom,pcie-common.yaml | 206 ++++++------- .../bindings/pci/ti,am65-pci-ep.yaml | 152 +++++----- .../devicetree/bindings/peci/peci-aspeed.yaml | 144 ++++----- .../devicetree/bindings/perf/arm,cmn.yaml | 140 ++++----- .../bindings/perf/arm,smmu-v3-pmcg.yaml | 140 ++++----- .../bindings/perf/marvell-cn10k-tad.yaml | 126 ++++---- .../bindings/phy/airoha,en7581-pcie-phy.yaml | 138 ++++----- .../phy/allwinner,sun6i-a31-mipi-dphy.yaml | 168 +++++------ .../phy/allwinner,sun8i-v3s-usb-phy.yaml | 176 +++++------ .../phy/allwinner,suniv-f1c100s-usb-phy.yaml | 166 +++++------ .../bindings/phy/amlogic,g12a-usb2-phy.yaml | 162 +++++----- .../phy/amlogic,meson8-hdmi-tx-phy.yaml | 130 ++++---- .../phy/amlogic,meson8b-usb2-phy.yaml | 128 ++++---- .../bindings/phy/bcm-ns-usb2-phy.yaml | 144 ++++----- .../bindings/phy/brcm,bcm63xx-usbh-phy.yaml | 156 +++++----- .../bindings/phy/brcm,cygnus-pcie-phy.yaml | 154 +++++----- .../bindings/phy/fsl,imx8qm-lvds-phy.yaml | 122 ++++---- .../bindings/phy/hisilicon,hi3670-usb3.yaml | 128 ++++---- .../bindings/phy/intel,lgm-emmc-phy.yaml | 150 +++++----- .../phy/marvell,armada-3700-utmi-phy.yaml | 114 +++---- .../bindings/phy/mediatek,mt7628-usbphy.yaml | 148 +++++----- .../bindings/phy/mediatek,pcie-phy.yaml | 150 +++++----- .../bindings/phy/mediatek,ufs-phy.yaml | 138 ++++----- .../phy/microchip,lan966x-serdes.yaml | 118 ++++---- .../bindings/phy/mscc,vsc7514-serdes.yaml | 112 +++---- .../bindings/phy/phy-lantiq-rcu-usb2.txt | 80 ++--- .../bindings/phy/phy-rockchip-inno-hdmi.txt | 86 +++--- .../bindings/phy/phy-tegra194-p2u.yaml | 106 +++---- .../devicetree/bindings/phy/qcom,edp-phy.yaml | 162 +++++----- .../bindings/phy/qcom,ipq806x-usb-phy-ss.yaml | 148 +++++----- .../bindings/phy/qcom,pcie2-phy.yaml | 172 +++++------ .../bindings/phy/qcom,snps-eusb2-phy.yaml | 172 +++++------ .../phy/qcom,snps-eusb2-repeater.yaml | 160 +++++----- .../bindings/phy/qcom,usb-hsic-phy.yaml | 134 ++++----- .../devicetree/bindings/phy/qcom,usb-ss.yaml | 166 +++++------ .../bindings/phy/rockchip,px30-dsi-dphy.yaml | 144 ++++----- .../bindings/phy/rockchip-inno-csi-dphy.yaml | 160 +++++----- .../bindings/phy/rockchip-mipi-dphy-rx0.yaml | 146 ++++----- .../phy/samsung,exynos5250-sata-phy.yaml | 128 ++++---- .../phy/socionext,uniphier-usb2-phy.yaml | 166 +++++------ .../bindings/phy/st,stih407-usb2-phy.yaml | 126 ++++---- .../bindings/phy/starfive,jh7110-dphy-rx.yaml | 142 ++++----- .../phy/starfive,jh7110-pcie-phy.yaml | 116 ++++---- .../bindings/phy/sunplus,sp7021-usb2-phy.yaml | 146 ++++----- .../devicetree/bindings/phy/ti,omap-usb2.yaml | 160 +++++----- .../pinctrl/amlogic,meson-pinctrl-a1.yaml | 146 ++++----- .../amlogic,meson-pinctrl-g12a-aobus.yaml | 142 ++++----- .../amlogic,meson-pinctrl-g12a-periphs.yaml | 150 +++++----- .../pinctrl/amlogic,meson8-pinctrl-aobus.yaml | 160 +++++----- .../bindings/pinctrl/berlin,pinctrl.txt | 94 +++--- .../bindings/pinctrl/brcm,nsp-pinmux.txt | 158 +++++----- .../pinctrl/cortina,gemini-pinctrl.txt | 136 ++++----- .../bindings/pinctrl/fsl,imx6dl-pinctrl.txt | 76 ++--- .../bindings/pinctrl/fsl,imx6q-pinctrl.txt | 76 ++--- .../bindings/pinctrl/fsl,imx6sl-pinctrl.txt | 78 ++--- .../bindings/pinctrl/fsl,imx6sll-pinctrl.txt | 80 ++--- .../bindings/pinctrl/fsl,imx6sx-pinctrl.txt | 72 ++--- .../bindings/pinctrl/fsl,imx7ulp-pinctrl.txt | 106 +++---- .../bindings/pinctrl/intel,lgm-io.yaml | 152 +++++----- .../pinctrl/marvell,mvebu-pinctrl.txt | 92 +++--- .../pinctrl/microchip,pic32-pinctrl.txt | 120 ++++---- .../bindings/pinctrl/nxp,lpc1850-scu.txt | 142 ++++----- .../bindings/pinctrl/pinctrl-rk805.txt | 126 ++++---- .../bindings/pinctrl/pinctrl-sirf.txt | 94 +++--- .../devicetree/bindings/pinctrl/pinctrl.yaml | 90 +++--- .../pinctrl/qcom,lpass-lpi-common.yaml | 150 +++++----- .../pinctrl/samsung,pinctrl-gpio-bank.yaml | 104 +++---- .../bindings/pinctrl/ti,iodelay.txt | 94 +++--- .../platform/lenovo,yoga-c630-ec.yaml | 166 +++++------ .../devicetree/bindings/power/pd-samsung.yaml | 136 ++++----- .../bindings/power/renesas,apmu.yaml | 114 +++---- .../power/reset/atmel,at91sam9260-shdwc.yaml | 164 +++++------ .../bindings/power/reset/gpio-poweroff.yaml | 130 ++++---- .../bindings/power/reset/reboot-mode.yaml | 98 +++--- .../power/reset/syscon-reboot-mode.yaml | 106 +++---- .../bindings/power/supply/adc-battery.yaml | 140 ++++----- .../power/supply/ingenic,battery.yaml | 122 ++++---- .../bindings/power/supply/lltc,ltc294x.yaml | 132 ++++----- .../bindings/power/supply/maxim,max8903.yaml | 134 ++++----- .../power/supply/qcom,pm8941-coincell.yaml | 134 ++++----- .../bindings/power/supply/richtek,rt9471.yaml | 146 ++++----- .../power/supply/samsung,battery.yaml | 112 +++---- .../power/supply/twl4030-charger.yaml | 136 ++++----- .../bindings/powerpc/4xx/akebono.txt | 104 +++---- .../devicetree/bindings/powerpc/fsl/ccf.txt | 92 +++--- .../devicetree/bindings/powerpc/fsl/cpus.txt | 66 ++--- .../devicetree/bindings/ptp/ptp-idtcm.yaml | 138 ++++----- .../bindings/pwm/google,cros-ec-pwm.yaml | 114 +++---- .../devicetree/bindings/pwm/imx-pwm.yaml | 172 +++++------ .../bindings/pwm/mediatek,pwm-disp.yaml | 160 +++++----- .../devicetree/bindings/pwm/pwm-sprd.txt | 80 ++--- .../devicetree/bindings/pwm/pwm-st.txt | 86 +++--- .../bindings/pwm/snps,dw-apb-timers-pwm2.yaml | 134 ++++----- .../bindings/pwm/ti,omap-dmtimer-pwm.yaml | 118 ++++---- .../bindings/regulator/awinic,aw37503.yaml | 156 +++++----- .../bindings/regulator/fcs,fan53555.yaml | 146 ++++----- .../bindings/regulator/max8660.yaml | 146 ++++----- .../bindings/regulator/maxim,max14577.yaml | 156 +++++----- .../bindings/regulator/maxim,max77693.yaml | 120 ++++---- .../bindings/regulator/maxim,max77826.yaml | 134 ++++----- .../bindings/regulator/maxim,max77843.yaml | 130 ++++---- .../bindings/regulator/mps,mp5416.yaml | 156 +++++----- .../bindings/regulator/mps,mp886x.yaml | 126 ++++---- .../bindings/regulator/mps,mpq7932.yaml | 136 ++++----- .../bindings/regulator/mt6315-regulator.yaml | 136 ++++----- .../devicetree/bindings/regulator/pv88080.txt | 124 ++++---- .../devicetree/bindings/regulator/pv88090.txt | 130 ++++---- .../qcom,sdm845-refgen-regulator.yaml | 114 +++---- .../bindings/regulator/richtek,rt4803.yaml | 136 ++++----- .../bindings/regulator/richtek,rt5739.yaml | 146 ++++----- .../regulator/richtek,rt6160-regulator.yaml | 122 ++++---- .../regulator/richtek,rtq6752-regulator.yaml | 154 +++++----- .../bindings/regulator/samsung,s2mpa01.yaml | 124 ++++---- .../bindings/regulator/samsung,s2mps14.yaml | 122 ++++---- .../siliconmitus,sm5703-regulator.yaml | 98 +++--- .../regulator/st,stm32mp1-pwr-reg.yaml | 136 ++++----- .../bindings/regulator/tps65023.txt | 120 ++++---- .../bindings/remoteproc/ingenic,vpu.yaml | 154 +++++----- .../remoteproc/renesas,rcar-rproc.yaml | 130 ++++---- .../bindings/remoteproc/st-rproc.txt | 82 +++--- .../bindings/remoteproc/wkup_m3_rproc.txt | 104 +++---- .../reserved-memory/qcom,rmtfs-mem.yaml | 132 ++++----- .../allwinner,sun6i-a31-clock-reset.yaml | 136 ++++----- .../reset/atmel,at91sam9260-reset.yaml | 136 ++++----- .../bindings/reset/fsl,imx-src.yaml | 140 ++++----- .../bindings/reset/fsl,imx7-src.yaml | 130 ++++---- .../reset/hisilicon,hi3660-reset.yaml | 116 ++++---- .../bindings/reset/img,pistachio-reset.txt | 110 +++---- .../bindings/reset/intel,rcu-gw.yaml | 130 ++++---- .../bindings/reset/nuvoton,npcm750-reset.yaml | 116 ++++---- .../reset/renesas,rzg2l-usbphy-ctrl.yaml | 154 +++++----- .../bindings/reset/st,sti-softreset.txt | 88 +++--- .../bindings/reset/st,stih407-powerdown.yaml | 98 +++--- .../bindings/reset/ti,sci-reset.yaml | 102 +++---- .../bindings/reset/xlnx,zynqmp-reset.yaml | 108 +++---- .../devicetree/bindings/reset/zynq-reset.txt | 136 ++++----- .../devicetree/bindings/resource-names.txt | 108 +++---- .../devicetree/bindings/rng/brcm,bcm2835.yaml | 164 +++++------ .../devicetree/bindings/rng/omap_rng.yaml | 162 +++++----- .../bindings/rng/samsung,exynos5250-trng.yaml | 152 +++++----- .../devicetree/bindings/rng/st,stm32-rng.yaml | 142 ++++----- .../devicetree/bindings/rtc/adi,max31335.yaml | 140 ++++----- .../bindings/rtc/atmel,at91sam9260-rtt.yaml | 142 ++++----- .../bindings/rtc/faraday,ftrtc010.yaml | 116 ++++---- .../bindings/rtc/intersil,isl12022.yaml | 128 ++++---- .../bindings/rtc/microchip,mfps-rtc.yaml | 134 ++++----- .../devicetree/bindings/rtc/nxp,pcf85063.yaml | 184 ++++++------ .../bindings/rtc/renesas,rzn1-rtc.yaml | 140 ++++----- .../devicetree/bindings/rtc/rtc-omap.txt | 106 +++---- .../bindings/rtc/xlnx,zynqmp-rtc.yaml | 168 +++++------ .../devicetree/bindings/serial/cdns,uart.yaml | 162 +++++----- .../bindings/serial/fsl-mxs-auart.yaml | 188 ++++++------ .../bindings/serial/maxim,max310x.yaml | 148 +++++----- .../bindings/serial/nvidia,tegra194-tcu.yaml | 122 ++++---- .../serial/qcom,serial-geni-qcom.yaml | 172 +++++------ .../bindings/serial/renesas,em-uart.yaml | 148 +++++----- .../serial/serial-peripheral-props.yaml | 82 +++--- .../bindings/serial/sifive-serial.yaml | 130 ++++---- .../devicetree/bindings/serial/sprd-uart.yaml | 152 +++++----- .../bindings/serial/xlnx,opb-uartlite.yaml | 176 +++++------ .../devicetree/bindings/serio/arm,pl050.yaml | 134 ++++----- .../devicetree/bindings/serio/ps2-gpio.yaml | 128 ++++---- .../sifive/sifive-blocks-ip-versioning.txt | 76 ++--- .../bindings/soc/aspeed/uart-routing.yaml | 112 +++---- .../bindings/soc/bcm/brcm,bcm2835-pm.yaml | 172 +++++------ .../devicetree/bindings/soc/dove/pmu.txt | 112 +++---- .../bindings/soc/fsl/cpm_qe/cpm/i2c.txt | 82 +++--- .../soc/fsl/cpm_qe/fsl,qe-firmware.yaml | 96 +++--- .../bindings/soc/fsl/cpm_qe/qe/par_io.txt | 102 +++---- .../bindings/soc/fsl/cpm_qe/qe/pincfg.txt | 114 +++---- .../bindings/soc/fsl/cpm_qe/qe/usb.txt | 72 ++--- .../bindings/soc/fsl/fsl,layerscape-dcfg.yaml | 134 ++++----- .../bindings/soc/imx/fsl,imx-iomuxc-gpr.yaml | 146 ++++----- .../soc/imx/fsl,imx8mq-vpu-blk-ctrl.yaml | 142 ++++----- .../bindings/soc/imx/imx8m-soc.yaml | 172 +++++------ .../bindings/soc/mediatek/devapc.yaml | 122 ++++---- .../microchip,mpfs-sys-controller.yaml | 100 +++---- .../bindings/soc/qcom/qcom,apr-services.yaml | 106 +++---- .../bindings/soc/qcom/qcom-stats.yaml | 134 ++++----- .../socionext/socionext,uniphier-mioctrl.yaml | 130 ++++---- .../socionext,uniphier-perictrl.yaml | 128 ++++---- .../socionext/socionext,uniphier-sdctrl.yaml | 122 ++++---- .../socionext,uniphier-soc-glue-debug.yaml | 136 ++++----- .../bindings/soc/tegra/nvidia,nvec.yaml | 168 +++++------ .../bindings/sound/adi,max98363.yaml | 120 ++++---- .../sound/allwinner,sun50i-h6-dmic.yaml | 174 +++++------ .../bindings/sound/amlogic,axg-pdm.yaml | 164 +++++------ .../bindings/sound/amlogic,axg-spdifin.yaml | 172 +++++------ .../bindings/sound/amlogic,axg-spdifout.yaml | 158 +++++----- .../bindings/sound/asahi-kasei,ak4458.yaml | 146 ++++----- .../bindings/sound/awinic,aw8738.yaml | 108 +++---- .../bindings/sound/awinic,aw88395.yaml | 160 +++++----- .../bindings/sound/cirrus,cs42l51.yaml | 170 +++++------ .../bindings/sound/cirrus,cs42xx8.yaml | 162 +++++----- .../bindings/sound/cirrus,cs530x.yaml | 170 +++++------ .../bindings/sound/cirrus,ep9301-i2s.yaml | 164 +++++------ .../bindings/sound/cirrus,lochnagar.yaml | 110 +++---- .../devicetree/bindings/sound/cs42l52.txt | 92 +++--- .../bindings/sound/davinci-evm-audio.txt | 98 +++--- .../bindings/sound/everest,es7241.yaml | 134 ++++----- .../bindings/sound/everest,es8328.yaml | 154 +++++----- .../devicetree/bindings/sound/fsl,saif.yaml | 166 +++++------ .../bindings/sound/hisilicon,hi6210-i2s.txt | 84 +++--- .../devicetree/bindings/sound/img,i2s-out.txt | 102 +++---- .../bindings/sound/imx-audio-hdmi.yaml | 110 +++---- .../bindings/sound/imx-audio-sgtl5000.txt | 112 +++---- .../bindings/sound/ingenic,aic.yaml | 180 ++++++------ .../sound/loongson,ls-audio-card.yaml | 140 ++++----- .../bindings/sound/maxim,max98090.yaml | 168 +++++------ .../sound/mediatek,mt2701-wm8960.yaml | 108 +++---- .../sound/microchip,sama7g5-spdifrx.yaml | 152 +++++----- .../sound/microchip,sama7g5-spdiftx.yaml | 156 +++++----- .../bindings/sound/mscc,zl38060.yaml | 144 ++++----- .../bindings/sound/mt2701-cs42448.txt | 86 +++--- .../devicetree/bindings/sound/mt6359.yaml | 122 ++++---- .../devicetree/bindings/sound/mvebu-audio.txt | 92 +++--- .../bindings/sound/nvidia,tegra20-ac97.yaml | 164 +++++------ .../bindings/sound/nvidia,tegra20-i2s.yaml | 154 +++++----- .../bindings/sound/nvidia,tegra20-spdif.yaml | 176 +++++------ .../bindings/sound/nvidia,tegra210-mixer.yaml | 150 +++++----- .../bindings/sound/nvidia,tegra210-sfc.yaml | 148 +++++----- .../bindings/sound/nxp,lpc3220-i2s.yaml | 146 ++++----- .../devicetree/bindings/sound/qcom,q6afe.yaml | 136 ++++----- .../devicetree/bindings/sound/qcom,q6apm.yaml | 136 ++++----- .../devicetree/bindings/sound/qcom,q6asm.yaml | 136 ++++----- .../devicetree/bindings/sound/qcom,q6usb.yaml | 110 +++---- .../bindings/sound/qcom,wcd938x-sdw.yaml | 140 ++++----- .../bindings/sound/qcom,wcd939x-sdw.yaml | 138 ++++----- .../bindings/sound/qcom,wsa881x.yaml | 142 ++++----- .../bindings/sound/renesas,idt821034.yaml | 150 +++++----- .../bindings/sound/richtek,rt9120.yaml | 124 ++++---- .../bindings/sound/rockchip,rk3328-codec.yaml | 148 +++++----- .../bindings/sound/rohm,bd28623.yaml | 140 ++++----- .../bindings/sound/samsung,snow.yaml | 152 +++++----- .../bindings/sound/serial-midi.yaml | 108 +++---- .../sound/socionext,uniphier-evea.yaml | 150 +++++----- .../bindings/sound/st,stm32-spdifrx.yaml | 174 +++++------ .../sound/starfive,jh7110-pwmdac.yaml | 152 +++++----- .../bindings/sound/ti,omap4-mcpdm.yaml | 146 ++++----- .../devicetree/bindings/sound/ti,tas5086.txt | 96 +++--- .../bindings/sound/ti,tas5805m.yaml | 114 +++---- .../devicetree/bindings/sound/wlf,wm8904.yaml | 148 +++++----- .../bindings/spi/adi,axi-spi-engine.yaml | 132 ++++----- .../bindings/spi/allwinner,sun4i-a10-spi.yaml | 168 +++++------ .../spi/arm,pl022-peripheral-props.yaml | 122 ++++---- .../bindings/spi/brcm,bcm63xx-spi.yaml | 142 ++++----- .../bindings/spi/cirrus,ep9301-spi.yaml | 140 ++++----- .../devicetree/bindings/spi/ingenic,spi.yaml | 150 +++++----- .../bindings/spi/marvell,mmp2-ssp.yaml | 170 +++++------ .../bindings/spi/microchip,mpfs-spi.yaml | 172 +++++------ .../bindings/spi/microchip,spi-pic32.txt | 68 ++--- .../bindings/spi/nuvoton,npcm-pspi.txt | 72 ++--- .../bindings/spi/nuvoton,wpcm450-fiu.yaml | 132 ++++----- .../bindings/spi/nvidia,tegra20-sflash.yaml | 162 +++++----- .../bindings/spi/renesas,rzv2m-csi.yaml | 158 +++++----- .../bindings/spi/socionext,synquacer-spi.yaml | 146 ++++----- .../devicetree/bindings/spi/spi-cadence.yaml | 172 +++++------ .../devicetree/bindings/spi/spi-gpio.yaml | 148 +++++----- .../bindings/spi/spi-sunplus-sp7021.yaml | 156 +++++----- .../bindings/spi/st,stm32-qspi.yaml | 178 +++++------ .../spmi/hisilicon,hisi-spmi-controller.yaml | 140 ++++----- .../bindings/spmi/mtk,spmi-mtk-pmif.yaml | 162 +++++----- .../devicetree/bindings/spmi/spmi.yaml | 150 +++++----- .../devicetree/bindings/sram/qcom,imem.yaml | 162 +++++----- .../bindings/thermal/armada-thermal.txt | 84 +++--- .../bindings/thermal/db8500-thermal.txt | 88 +++--- .../bindings/thermal/imx8mm-thermal.yaml | 144 ++++----- .../thermal/loongson,ls2k-thermal.yaml | 142 ++++----- .../bindings/thermal/max77620_thermal.txt | 140 ++++----- .../thermal/nvidia,tegra30-tsensor.yaml | 140 ++++----- .../bindings/thermal/rzg2l-thermal.yaml | 158 +++++----- .../thermal/socionext,uniphier-thermal.yaml | 110 +++---- .../bindings/thermal/st,stm32-thermal.yaml | 160 +++++----- .../timer/allwinner,sun5i-a13-hstimer.yaml | 154 +++++----- .../timer/brcm,bcm2835-system-timer.yaml | 100 +++---- .../bindings/timer/fsl,ftm-timer.yaml | 118 ++++---- .../timer/marvell,armada-370-xp-timer.txt | 88 +++--- .../bindings/timer/nuvoton,npcm7xx-timer.yaml | 108 +++---- .../bindings/timer/nxp,tpm-timer.yaml | 130 ++++---- .../bindings/timer/realtek,otto-timer.yaml | 126 ++++---- .../bindings/timer/renesas,mtu2.yaml | 152 +++++----- .../bindings/timer/riscv,timer.yaml | 104 +++---- .../bindings/timer/rockchip,rk-timer.yaml | 132 ++++----- .../bindings/timer/snps,dw-apb-timer.yaml | 168 +++++------ .../bindings/timer/sprd,sc9860-timer.yaml | 136 ++++----- .../bindings/timer/st,nomadik-mtu.yaml | 116 ++++---- .../bindings/timer/ti,da830-timer.yaml | 136 ++++----- .../bindings/timer/xlnx,xps-timer.yaml | 184 ++++++------ .../devicetree/bindings/tpm/google,cr50.yaml | 130 ++++---- .../bindings/tpm/microsoft,ftpm.yaml | 94 +++--- .../devicetree/bindings/ufs/cdns,ufshc.yaml | 146 ++++----- .../devicetree/bindings/ufs/mediatek,ufs.yaml | 142 ++++----- .../bindings/usb/analogix,anx7411.yaml | 140 ++++----- .../devicetree/bindings/usb/ehci-st.txt | 76 ++--- .../bindings/usb/faraday,fotg210.yaml | 156 +++++----- .../devicetree/bindings/usb/fcs,fusb302.yaml | 134 ++++----- .../devicetree/bindings/usb/fsl,usbmisc.yaml | 138 ++++----- .../devicetree/bindings/usb/generic-xhci.yaml | 168 +++++------ .../devicetree/bindings/usb/gr-udc.txt | 68 ++--- .../bindings/usb/hisilicon,histb-xhci.txt | 90 +++--- .../bindings/usb/intel,keembay-dwc3.yaml | 154 +++++----- .../devicetree/bindings/usb/ite,it5205.yaml | 144 ++++----- .../bindings/usb/maxim,max3420-udc.yaml | 134 ++++----- .../bindings/usb/microchip,usb2514.yaml | 142 ++++----- .../devicetree/bindings/usb/nxp,ptn5110.yaml | 148 +++++----- .../devicetree/bindings/usb/octeon-usb.txt | 124 ++++---- .../devicetree/bindings/usb/pxa-usb.txt | 106 +++---- .../bindings/usb/renesas,rzn1-usbf.yaml | 136 ++++----- .../devicetree/bindings/usb/ti,usb8020b.yaml | 138 ++++----- .../devicetree/bindings/usb/ti,usb8041.yaml | 134 ++++----- .../devicetree/bindings/usb/twlxxxx-usb.txt | 86 +++--- .../bindings/usb/usb-nop-xceiv.yaml | 146 ++++----- .../devicetree/bindings/usb/usb-switch.yaml | 134 ++++----- .../devicetree/bindings/usb/usb-uhci.yaml | 150 +++++----- .../devicetree/bindings/usb/usb.yaml | 128 ++++---- .../devicetree/bindings/usb/ux500-usb.txt | 100 +++---- .../devicetree/bindings/usb/vialab,vl817.yaml | 140 ++++----- .../bindings/usb/willsemi,wusb3801.yaml | 152 +++++----- .../devicetree/bindings/w1/w1-uart.yaml | 118 ++++---- .../watchdog/alphascale,asm9260-wdt.yaml | 140 ++++----- .../bindings/watchdog/arm,sp805.yaml | 150 +++++----- .../watchdog/dlg,da9062-watchdog.yaml | 108 +++---- .../bindings/watchdog/faraday,ftwdt010.yaml | 134 ++++----- .../bindings/watchdog/fsl-imx7ulp-wdt.yaml | 126 ++++---- .../bindings/watchdog/linux,wdt-gpio.yaml | 136 ++++----- .../watchdog/xlnx,xps-timebase-wdt.yaml | 136 ++++----- .../devicetree/bindings/x86/ce4100.txt | 114 +++---- .../Documentation/devicetree/changesets.rst | 74 ++--- .../doc-guide/checktransupdate.rst | 108 +++---- .../Documentation/driver-api/firewire.rst | 100 +++---- .../driver-api/firmware/direct-fs-lookup.rst | 60 ++-- .../driver-api/firmware/other_interfaces.rst | 102 +++---- .../driver-api/iio/hw-consumer.rst | 100 +++---- .../driver-api/media/drivers/rkisp1.rst | 86 +++--- .../media/drivers/saa7134-devel.rst | 134 ++++----- .../driver-api/media/dtv-common.rst | 106 +++---- .../driver-api/media/dtv-core.rst | 78 ++--- .../driver-api/miscellaneous.rst | 96 +++--- .../driver-api/mmc/mmc-dev-parts.rst | 82 +++--- .../thermal/x86_pkg_temperature_thermal.rst | 110 +++---- .../Documentation/driver-api/tty/tty_port.rst | 140 ++++----- .../driver-api/tty/tty_struct.rst | 162 +++++----- .../Documentation/driver-api/xilinx/eemi.rst | 80 ++--- .../kernel/Documentation/fb/gxfb.rst | 108 +++---- .../kernel/Documentation/fb/lxfb.rst | 110 +++---- .../kernel/Documentation/fb/sa1100fb.rst | 80 ++--- .../filesystems/bcachefs/errorcodes.rst | 60 ++-- .../Documentation/filesystems/btrfs.rst | 86 +++--- .../Documentation/filesystems/devpts.rst | 72 ++--- .../Documentation/filesystems/efivarfs.rst | 86 +++--- .../Documentation/filesystems/ext4/about.rst | 88 +++--- .../filesystems/ext4/inlinedata.rst | 74 ++--- .../filesystems/ext4/special_inodes.rst | 110 +++---- .../Documentation/filesystems/ext4/verity.rst | 88 +++--- .../Documentation/filesystems/hfsplus.rst | 122 ++++---- .../Documentation/filesystems/index.rst | 254 ++++++++-------- .../acpi/extcon-intel-int3496.rst | 66 ++--- .../firmware-guide/acpi/i2c-muxes.rst | 122 ++++---- .../kernel/Documentation/gpu/amdgpu/ras.rst | 124 ++++---- .../gpu/dp-mst/topology-figure-1.dot | 104 +++---- .../gpu/dp-mst/topology-figure-2.dot | 112 +++---- .../gpu/dp-mst/topology-figure-3.dot | 118 ++++---- .../kernel/Documentation/gpu/meson.rst | 110 +++---- .../kernel/Documentation/gpu/panfrost.rst | 98 +++--- .../kernel/Documentation/hwmon/adp1050.rst | 128 ++++---- .../kernel/Documentation/hwmon/adt7411.rst | 100 +++---- .../kernel/Documentation/hwmon/aht10.rst | 112 +++---- .../Documentation/hwmon/asus_rog_ryujin.rst | 94 +++--- .../Documentation/hwmon/corsair-cpro.rst | 98 +++--- .../kernel/Documentation/hwmon/da9055.rst | 114 +++---- .../kernel/Documentation/hwmon/dps920ab.rst | 146 ++++----- .../kernel/Documentation/hwmon/emc2305.rst | 72 ++--- .../Documentation/hwmon/ftsteutates.rst | 84 +++--- .../hwmon/gigabyte_waterforce.rst | 94 +++--- .../kernel/Documentation/hwmon/gsc-hwmon.rst | 106 +++---- .../kernel/Documentation/hwmon/ibm-cffps.rst | 114 +++---- .../kernel/Documentation/hwmon/ibmaem.rst | 88 +++--- .../kernel/Documentation/hwmon/ina238.rst | 112 +++---- .../kernel/Documentation/hwmon/ir36021.rst | 126 ++++---- .../kernel/Documentation/hwmon/lm77.rst | 90 +++--- .../kernel/Documentation/hwmon/lm95234.rst | 96 +++--- .../kernel/Documentation/hwmon/lm95245.rst | 96 +++--- .../kernel/Documentation/hwmon/ltc2992.rst | 112 +++---- .../kernel/Documentation/hwmon/ltc3815.rst | 134 ++++----- .../kernel/Documentation/hwmon/ltc4260.rst | 128 ++++---- .../kernel/Documentation/hwmon/max127.rst | 90 +++--- .../kernel/Documentation/hwmon/max31730.rst | 88 +++--- .../kernel/Documentation/hwmon/max31790.rst | 90 +++--- .../kernel/Documentation/hwmon/max6620.rst | 92 +++--- .../kernel/Documentation/hwmon/menf21bmc.rst | 110 +++---- .../kernel/Documentation/hwmon/mp5920.rst | 182 ++++++------ .../kernel/Documentation/hwmon/mp9941.rst | 184 ++++++------ .../kernel/Documentation/hwmon/nct7904.rst | 134 ++++----- .../kernel/Documentation/hwmon/powr1220.rst | 106 +++---- .../kernel/Documentation/hwmon/q54sj108a2.rst | 108 +++---- .../kernel/Documentation/hwmon/sbtsi_temp.rst | 84 +++--- .../kernel/Documentation/hwmon/sch5627.rst | 90 +++--- .../kernel/Documentation/hwmon/sht21.rst | 136 ++++----- .../kernel/Documentation/hwmon/shtc1.rst | 134 ++++----- .../kernel/Documentation/hwmon/tmp421.rst | 152 +++++----- .../kernel/Documentation/hwmon/tmp464.rst | 146 ++++----- .../Documentation/hwmon/userspace-tools.rst | 86 +++--- .../kernel/Documentation/hwmon/vexpress.rst | 82 +++--- .../kernel/Documentation/hwmon/w83l785ts.rst | 90 +++--- .../kernel/Documentation/hwmon/w83l786ng.rst | 132 ++++----- .../Documentation/i2c/busses/i2c-ali1535.rst | 90 +++--- .../Documentation/i2c/busses/i2c-nforce2.rst | 106 +++---- .../Documentation/i2c/busses/i2c-taos-evm.rst | 96 +++--- .../Documentation/i2c/ten-bit-addresses.rst | 66 ++--- .../kernel/Documentation/iio/ep93xx_adc.rst | 80 ++--- .../Documentation/input/devices/pxrc.rst | 112 +++---- .../kernel/Documentation/leds/leds-lp3944.rst | 118 ++++---- .../Documentation/leds/ledtrig-oneshot.rst | 88 +++--- .../Documentation/leds/ledtrig-usbport.rst | 92 +++--- .../misc-devices/ad525x_dpot.rst | 114 +++---- .../misc-devices/dw-xdata-pcie.rst | 128 ++++---- .../misc-devices/mrvl_cn10k_dpi.rst | 104 +++---- .../misc-devices/pci-endpoint-test.rst | 112 +++---- .../kernel/Documentation/mm/damon/index.rst | 78 ++--- .../kernel/Documentation/mm/index.rst | 132 ++++----- .../Documentation/mm/remap_file_pages.rst | 62 ++-- .../Documentation/networking/6lowpan.rst | 106 +++---- .../kernel/Documentation/networking/dctcp.rst | 104 +++---- .../device_drivers/atm/cxacru-cf.py | 96 +++--- .../device_drivers/can/freescale/flexcan.rst | 108 +++---- .../ethernet/freescale/gianfar.rst | 102 +++---- .../ethernet/marvell/octeon_ep.rst | 82 +++--- .../Documentation/networking/devlink/mlx4.rst | 112 +++---- .../Documentation/networking/devlink/nfp.rst | 136 ++++----- .../networking/devlink/octeontx2.rst | 116 ++++---- .../Documentation/networking/devlink/sfc.rst | 114 +++---- .../Documentation/networking/mpls-sysctl.rst | 114 +++---- .../kernel/Documentation/networking/sctp.rst | 84 +++--- .../networking/tc-queue-filters.rst | 74 ++--- .../kernel/Documentation/power/apm-acpi.rst | 72 ++--- .../kernel/Documentation/rust/index.rst | 128 ++++---- .../Documentation/scheduler/membarrier.rst | 78 ++--- .../sound/designs/jack-controls.rst | 96 +++--- .../Documentation/sound/soc/clocking.rst | 92 +++--- .../Documentation/spi/spi-sc18is602.rst | 78 ++--- .../kernel/Documentation/subsystem-apis.rst | 182 ++++++------ .../kernel/Documentation/timers/hpet.rst | 60 ++-- .../kernel/Documentation/tools/rtla/Makefile | 106 +++---- .../tools/rtla/common_timerlat_options.rst | 98 +++--- .../Documentation/tools/rtla/rtla-osnoise.rst | 118 ++++---- .../tools/rtla/rtla-timerlat.rst | 114 +++---- .../kernel/Documentation/tools/rv/Makefile | 104 +++---- .../kernel/Documentation/trace/events-nmi.rst | 90 +++--- .../trace/function-graph-fold.vim | 84 +++--- .../Documentation/trace/rv/monitor_wip.rst | 110 +++---- .../zh_CN/arch/arm64/hugetlbpage.rst | 90 +++--- .../zh_CN/arch/loongarch/booting.rst | 96 +++--- .../zh_CN/arch/parisc/debugging.rst | 90 +++--- .../zh_CN/arch/riscv/patch-acceptance.rst | 66 ++--- .../zh_CN/core-api/boot-time-mm.rst | 98 +++--- .../translations/zh_CN/core-api/mm-api.rst | 262 ++++++++--------- .../zh_CN/devicetree/changesets.rst | 74 ++--- .../zh_CN/doc-guide/checktransupdate.rst | 110 +++---- .../translations/zh_CN/glossary.rst | 72 ++--- .../translations/zh_CN/iio/ep93xx_adc.rst | 96 +++--- .../zh_CN/mm/free_page_reporting.rst | 76 ++--- .../translations/zh_CN/mm/index.rst | 136 ++++----- .../zh_CN/mm/remap_file_pages.rst | 64 ++-- .../translations/zh_CN/peci/peci.rst | 108 +++---- .../translations/zh_CN/process/index.rst | 204 ++++++------- .../translations/zh_CN/subsystem-apis.rst | 220 +++++++------- .../translations/zh_CN/virt/acrn/cpuid.rst | 112 +++---- .../translations/zh_CN/virt/paravirt_ops.rst | 82 +++--- .../zh_TW/arch/arm64/hugetlbpage.rst | 98 +++--- .../zh_TW/arch/loongarch/booting.rst | 98 +++--- .../zh_TW/arch/parisc/debugging.rst | 92 +++--- .../translations/zh_TW/process/index.rst | 134 ++++----- .../Documentation/usb/misc_usbsevseg.rst | 102 +++---- .../kernel/Documentation/usb/ohci.rst | 70 ++--- .../gpio/gpio-handle-set-config-ioctl.rst | 132 ++++----- .../gpio-handle-set-line-values-ioctl.rst | 110 +++---- .../gpio/gpio-v2-line-get-values-ioctl.rst | 116 ++++---- .../gpio/gpio-v2-line-set-config-ioctl.rst | 122 ++++---- .../gpio/gpio-v2-line-set-values-ioctl.rst | 108 +++---- .../userspace-api/media/Makefile | 128 ++++---- .../media/cec/cec-func-ioctl.rst | 126 ++++---- .../userspace-api/media/cec/cec-func-open.rst | 148 +++++----- .../userspace-api/media/cec/cec-intro.rst | 84 +++--- .../userspace-api/media/dvb/ca-fopen.rst | 144 ++++----- .../userspace-api/media/dvb/dmx-fread.rst | 154 +++++----- .../userspace-api/media/dvb/dmx-fwrite.rst | 140 ++++----- .../media/dvb/dmx-get-pes-pids.rst | 124 ++++---- .../userspace-api/media/dvb/dmx-querybuf.rst | 128 ++++---- .../media/dvb/dmx-set-filter.rst | 110 +++---- .../userspace-api/media/dvb/fe-get-info.rst | 118 ++++---- .../media/dvb/fe-read-status.rst | 124 ++++---- .../media/dvb/fe-set-frontend.rst | 136 ++++----- .../userspace-api/media/dvb/fe-set-tone.rst | 112 +++---- .../media/dvb/fe-set-voltage.rst | 120 ++++---- .../dvb/frontend-property-cable-systems.rst | 150 +++++----- .../userspace-api/media/dvb/frontend.rst | 112 +++---- .../media/dvb/legacy_dvb_decoder_api.rst | 122 ++++---- .../media/mediactl/media-controller-intro.rst | 66 ++--- .../media/mediactl/media-controller-model.rst | 80 ++--- .../media/mediactl/media-func-ioctl.rst | 126 ++++---- .../mediactl/media-ioc-request-alloc.rst | 130 ++++---- .../media/mediactl/media-ioc-setup-link.rst | 130 ++++---- .../media/mediactl/request-func-ioctl.rst | 126 ++++---- .../media/mediactl/request-func-poll.rst | 146 ++++----- .../media/rc/lirc-get-send-mode.rst | 142 ++++----- .../media/rc/lirc-get-timeout.rst | 114 +++---- .../userspace-api/media/rc/lirc-read.rst | 130 ++++---- .../media/rc/lirc-set-rec-timeout.rst | 110 +++---- .../media/rc/lirc-set-transmitter-mask.rst | 102 +++---- .../media/rc/lirc-set-wideband-receiver.rst | 112 +++---- .../userspace-api/media/v4l/app-pri.rst | 60 ++-- .../userspace-api/media/v4l/dev-radio.rst | 104 +++---- .../userspace-api/media/v4l/func-ioctl.rst | 116 ++++---- .../userspace-api/media/v4l/io.rst | 98 +++--- .../userspace-api/media/v4l/pixfmt-m420.rst | 142 ++++----- .../media/v4l/pixfmt-sdr-pcu16be.rst | 110 +++---- .../media/v4l/pixfmt-sdr-pcu18be.rst | 110 +++---- .../media/v4l/pixfmt-sdr-pcu20be.rst | 110 +++---- .../userspace-api/media/v4l/pixfmt-srggb8.rst | 110 +++---- .../media/v4l/pixfmt-tch-td16.rst | 134 ++++----- .../media/v4l/pixfmt-tch-tu16.rst | 132 ++++----- .../userspace-api/media/v4l/pixfmt-y8i.rst | 132 ++++----- .../userspace-api/media/v4l/pixfmt-z16.rst | 132 ++++----- .../userspace-api/media/v4l/querycap.rst | 68 ++--- .../media/v4l/selection-api-intro.rst | 56 ++-- .../userspace-api/media/v4l/streaming-par.rst | 68 ++--- .../userspace-api/media/v4l/user-func.rst | 170 +++++------ .../media/v4l/v4l2-selection-flags.rst | 108 +++---- .../media/v4l/vidioc-enumaudioout.rst | 116 ++++---- .../media/v4l/vidioc-g-input.rst | 126 ++++---- .../media/v4l/vidioc-prepare-buf.rst | 112 +++---- .../Documentation/userspace-api/tee.rst | 78 ++--- .../virt/kvm/review-checklist.rst | 82 +++--- .../Documentation/virt/paravirt_ops.rst | 70 ++--- .../Documentation/w1/slaves/w1_ds2413.rst | 118 ++++---- .../kernel/LICENSES/deprecated/X11 | 74 ++--- .../kernel/LICENSES/preferred/BSD-2-Clause | 64 ++-- .../kernel/LICENSES/preferred/MIT | 60 ++-- .../kernel/arch/alpha/configs/defconfig | 140 ++++----- .../kernel/arch/alpha/include/asm/extable.h | 112 +++---- .../kernel/arch/alpha/include/asm/setup.h | 86 +++--- .../kernel/arch/alpha/include/asm/smp.h | 120 ++++---- .../arch/alpha/include/asm/word-at-a-time.h | 116 ++++---- .../arch/alpha/include/uapi/asm/gentrap.h | 76 ++--- .../arch/alpha/include/uapi/asm/ptrace.h | 150 +++++----- .../arch/alpha/include/uapi/asm/termios.h | 142 ++++----- .../kernel/arch/alpha/kernel/es1888.c | 100 +++---- .../kernel/arch/alpha/kernel/irq_srm.c | 130 ++++---- .../kernel/arch/alpha/kernel/pc873xx.c | 178 +++++------ .../kernel/arch/alpha/kernel/termios.c | 112 +++---- .../kernel/arch/alpha/kernel/vmlinux.lds.S | 154 +++++----- .../kernel/arch/alpha/lib/ev67-strcat.S | 112 +++---- .../kernel/arch/alpha/lib/ev67-strlen.S | 102 +++---- .../kernel/arch/alpha/lib/strncpy.S | 166 +++++------ .../kernel/arch/arc/boot/dts/haps_hs_idu.dts | 148 +++++----- .../kernel/arch/arc/boot/dts/nsimosci.dts | 176 +++++------ .../arch/arc/boot/dts/vdk_axc003_idu.dtsi | 146 ++++----- .../kernel/arch/arc/configs/haps_hs_defconfig | 124 ++++---- .../arch/arc/configs/haps_hs_smp_defconfig | 124 ++++---- .../arch/arc/configs/nsim_700_defconfig | 118 ++++---- .../arch/arc/configs/nsimosci_defconfig | 134 ++++----- .../arch/arc/configs/nsimosci_hs_defconfig | 130 ++++---- .../kernel/arch/arc/include/asm/barrier.h | 88 +++--- .../kernel/arch/arc/include/asm/highmem.h | 106 +++---- .../kernel/arch/arc/include/asm/linkage.h | 160 +++++----- .../kernel/arch/arc/include/asm/syscall.h | 160 +++++----- .../kernel/arch/arc/include/asm/tlbflush.h | 84 +++--- .../kernel/arch/arc/include/uapi/asm/ptrace.h | 116 ++++---- .../kernel/arch/arc/kernel/arc_hostlink.c | 110 +++---- .../kernel/arch/arc/kernel/arcksyms.c | 108 +++---- .../kernel/arch/arc/kernel/ctx_sw_asm.S | 128 ++++---- .../kernel/arch/arc/kernel/devtree.c | 152 +++++----- .../kernel/arch/arc/lib/strcpy-700.S | 134 ++++----- .../kernel/arch/arc/mm/ioremap.c | 128 ++++---- .../kernel/arch/arm/boot/bootp/Makefile | 118 ++++---- .../arch/arm/boot/compressed/decompress.c | 132 ++++----- .../kernel/arch/arm/boot/deflate_xip_data.sh | 124 ++++---- .../dts/allwinner/sun8i-h3-rervision-dvk.dts | 228 +++++++------- .../arm/boot/dts/allwinner/sun8i-t113s.dtsi | 118 ++++---- .../allwinner/suniv-f1c200s-popstick-v1.1.dts | 162 +++++----- .../boot/dts/amlogic/meson8-minix-neo-x8.dts | 194 ++++++------ .../arm-realview-eb-11mp-bbrevd-ctrevb.dts | 64 ++-- .../boot/dts/arm/arm-realview-eb-bbrevd.dtsi | 90 +++--- .../dts/aspeed/aspeed-bmc-facebook-yamp.dts | 254 ++++++++-------- .../ast2400-facebook-netbmc-common.dtsi | 242 +++++++-------- .../arch/arm/boot/dts/broadcom/bcm23550.dtsi | 182 ++++++------ .../boot/dts/broadcom/bcm2835-rpi-cm1-io1.dts | 194 ++++++------ .../arm/boot/dts/broadcom/bcm2835-rpi.dtsi | 168 +++++------ .../boot/dts/broadcom/bcm2837-rpi-cm3-io3.dts | 192 ++++++------ .../dts/broadcom/bcm4708-asus-rt-ac56u.dts | 188 ++++++------ .../dts/broadcom/bcm4708-asus-rt-ac68u.dts | 170 +++++------ .../dts/broadcom/bcm4708-luxul-xap-1510.dts | 194 ++++++------ .../dts/broadcom/bcm4708-luxul-xwc-1000.dts | 200 ++++++------- .../dts/broadcom/bcm4708-netgear-r6300-v2.dts | 176 +++++------ .../dts/broadcom/bcm47081-asus-rt-n18u.dts | 158 +++++----- .../dts/broadcom/bcm47081-luxul-xap-1410.dts | 186 ++++++------ .../dts/broadcom/bcm47094-luxul-abr-4500.dts | 238 +++++++-------- .../dts/broadcom/bcm47094-luxul-xbr-4500.dts | 238 +++++++-------- .../dts/broadcom/bcm47094-netgear-r8500.dts | 192 ++++++------ .../dts/broadcom/bcm47189-luxul-xap-810.dts | 204 ++++++------- .../broadcom/bcm53340-ubnt-unifi-switch8.dts | 172 +++++------ .../arm/boot/dts/broadcom/bcm947189acdbmr.dts | 192 ++++++------ .../dts/intel/ixp/intel-ixp42x-ixdp425.dts | 144 ++++----- .../ixp/intel-ixp42x-welltech-epbx100.dts | 196 ++++++------ .../dts/intel/ixp/intel-ixp43x-kixrp435.dts | 136 ++++----- .../pxa/pxa300-raumfeld-tuneable-clock.dtsi | 170 +++++------ .../socfpga/socfpga_arria10_mercury_aa1.dtsi | 162 +++++----- .../socfpga/socfpga_cyclone5_de0_nano_soc.dts | 202 ++++++------- .../socfpga/socfpga_cyclone5_socrates.dts | 188 ++++++------ .../marvell/armada-382-rd-ac3x-48g4x2xl.dts | 224 +++++++------- .../marvell/armada-385-clearfog-gtr-s4.dts | 172 +++++------ .../dts/marvell/armada-388-clearfog-base.dts | 136 ++++----- .../arm/boot/dts/marvell/armada-xp-matrix.dts | 158 +++++----- .../arch/arm/boot/dts/marvell/dove-d3plug.dts | 194 ++++++------ .../boot/dts/marvell/kirkwood-98dx4122.dtsi | 126 ++++---- .../boot/dts/marvell/kirkwood-cloudbox.dts | 202 ++++++------- .../arm/boot/dts/marvell/kirkwood-db.dtsi | 178 +++++------ .../marvell/kirkwood-linkstation-lswvl.dts | 150 +++++----- .../marvell/kirkwood-linkstation-lswxl.dts | 160 +++++----- .../boot/dts/marvell/kirkwood-ns2-common.dtsi | 190 ++++++------ .../boot/dts/marvell/kirkwood-rd88f6192.dts | 212 ++++++------- .../arm/boot/dts/marvell/kirkwood-ts419.dtsi | 138 ++++----- .../dts/microchip/at91-dvk_su60_somc_lcm.dtsi | 180 ++++++------ .../arm/boot/dts/microchip/at91-wb50n.dts | 204 ++++++------- .../boot/dts/microchip/at91sam9x5_can.dtsi | 112 +++---- .../boot/dts/microchip/at91sam9x5_macb1.dtsi | 90 +++--- .../boot/dts/microchip/at91sam9x5_usart3.dtsi | 122 ++++---- .../arm/boot/dts/microchip/ge863-pro3.dtsi | 154 +++++----- .../arm/boot/dts/microchip/sama5d3_can.dtsi | 114 +++---- .../arm/boot/dts/microchip/sama5d3_emac.dtsi | 96 +++--- .../arm/boot/dts/microchip/sama5d3_mci2.dtsi | 98 +++--- .../arm/boot/dts/microchip/sama5d3_uart.dtsi | 130 ++++---- .../boot/dts/microchip/usb_a9g20-dab-mmx.dtsi | 190 ++++++------ .../arm/boot/dts/nspire/nspire-classic.dtsi | 172 +++++------ .../arm/boot/dts/nuvoton/nuvoton-npcm750.dtsi | 124 ++++---- .../arm/boot/dts/nxp/imx/imx53-qsb-hdmi.dtso | 166 +++++------ .../nxp/imx/imx53-sk-imx53-atm0700d4-lvds.dts | 194 ++++++------ .../dts/nxp/imx/imx6dl-aristainetos_4.dts | 166 +++++------ .../dts/nxp/imx/imx6dl-aristainetos_7.dts | 146 ++++----- .../arm/boot/dts/nxp/imx/imx6dl-b1x5v2.dtsi | 114 +++---- .../boot/dts/nxp/imx/imx6dl-colibri-aster.dts | 228 +++++++------- .../arm/boot/dts/nxp/imx/imx6dl-gw52xx.dts | 142 ++++----- .../arm/boot/dts/nxp/imx/imx6dl-gw53xx.dts | 142 ++++----- .../arm/boot/dts/nxp/imx/imx6dl-gw54xx.dts | 142 ++++----- .../boot/dts/nxp/imx/imx6q-apalis-eval.dtsi | 240 +++++++-------- .../arm/boot/dts/nxp/imx/imx6q-gw52xx.dts | 150 +++++----- .../arm/boot/dts/nxp/imx/imx6q-gw53xx.dts | 150 +++++----- .../dts/nxp/imx/imx6qdl-dhcom-picoitx.dtsi | 138 ++++----- .../imx/imx6qdl-phytec-mira-peb-eval-01.dtsi | 142 ++++----- .../dts/nxp/imx/imx6qdl-skov-cpu-revc.dtsi | 158 +++++----- .../arm/boot/dts/nxp/imx/imx6qp-sabreauto.dts | 120 ++++---- .../arm/boot/dts/nxp/imx/imx6qp-sabresd.dts | 126 ++++---- .../dts/nxp/imx/imx6ull-colibri-iris-v2.dts | 210 ++++++------- .../nxp/imx/imx6ull-colibri-wifi-iris-v2.dts | 178 +++++------ .../boot/dts/nxp/imx/imx6ull-pinfunc-snvs.h | 52 ++-- .../dts/nxp/imx/imx6ull-tarragon-master.dts | 164 +++++------ .../dts/nxp/imx/imx6ull-tarragon-slavext.dts | 128 ++++---- .../dts/nxp/imx/imx7d-colibri-iris-v2.dts | 168 +++++------ .../arm/boot/dts/nxp/imx/imx7d-pico-nymph.dts | 170 +++++------ .../arch/arm/boot/dts/nxp/imx/imx7ulp-com.dts | 158 +++++----- .../arm/boot/dts/nxp/imx/imxrt1050-evk.dts | 144 ++++----- .../boot/dts/nxp/mxs/imx23-stmp378x_devb.dts | 138 ++++----- .../arm/boot/dts/nxp/mxs/imx28-cfa10037.dts | 152 +++++----- .../dts/nxp/mxs/imx28-duckbill-2-enocean.dts | 138 ++++----- .../boot/dts/nxp/mxs/imx28-duckbill-2-spi.dts | 126 ++++---- .../arm/boot/dts/nxp/vf/vf500-colibri.dtsi | 138 ++++----- .../kernel/arch/arm/boot/dts/qcom/pmx55.dtsi | 170 +++++------ .../qcom-apq8026-samsung-matisse-wifi.dts | 182 ++++++------ .../boot/dts/qcom/qcom-ipq4019-ap.dk07.1.dtsi | 150 +++++----- .../arm/boot/dts/qcom/qcom-msm8660-surf.dts | 176 +++++------ .../dts/qcom/qcom-msm8926-microsoft-tesla.dts | 140 ++++----- .../renesas/gr-peach-audiocamerashield.dtsi | 150 +++++----- .../arm/boot/dts/renesas/r8a7743-iwg20m.dtsi | 190 ++++++------ .../arm/boot/dts/renesas/r8a7743-sk-rzg1m.dts | 162 +++++----- .../arm/boot/dts/renesas/r8a7744-iwg20m.dtsi | 180 ++++++------ .../arch/arm/boot/dts/rockchip/rk3128-evb.dts | 208 ++++++------- .../kernel/arch/arm/boot/dts/samsung/Makefile | 114 +++---- .../arm/boot/dts/samsung/exynos-pinctrl.h | 110 +++---- .../dts/samsung/exynos3250-artik5-eval.dts | 138 ++++----- .../dts/samsung/exynos5420-chagall-wifi.dts | 150 +++++----- .../dts/samsung/exynos5420-klimt-wifi.dts | 150 +++++----- .../samsung/exynos5422-odroidxu3-audio.dtsi | 164 +++++------ .../boot/dts/samsung/exynos5422-odroidxu3.dts | 188 ++++++------ .../arm/boot/dts/samsung/s5pv210-smdkc110.dts | 168 +++++------ .../boot/dts/socionext/uniphier-ld6b-ref.dts | 206 ++++++------- .../boot/dts/socionext/uniphier-pro4-ref.dts | 236 +++++++-------- .../dts/socionext/uniphier-pxs2-gentil.dts | 210 ++++++------- .../dts/socionext/uniphier-pxs2-vodka.dts | 196 ++++++------ .../arch/arm/boot/dts/st/spear600-evb.dts | 212 ++++++------- .../kernel/arch/arm/boot/dts/st/st-pincfg.h | 144 ++++----- .../arm/boot/dts/st/ste-hrefv60plus-stuib.dts | 150 +++++----- .../arch/arm/boot/dts/st/stih418-b2199.dts | 218 +++++++------- .../arch/arm/boot/dts/st/stm32mp15-scmi.dtsi | 176 +++++------ .../arch/arm/boot/dts/st/stm32mp153.dtsi | 122 ++++---- .../arm/boot/dts/st/stm32mp157a-dk1-scmi.dts | 174 +++++------ .../arm/boot/dts/st/stm32mp157a-iot-box.dts | 140 ++++----- .../arch/arm/boot/dts/st/stm32mp157c-dk2.dts | 186 ++++++------ .../arm/boot/dts/st/stm32mp157c-ed1-scmi.dts | 184 ++++++------ .../boot/dts/st/stm32mp15xxaa-pinctrl.dtsi | 170 +++++------ .../synaptics/berlin2cd-google-chromecast.dts | 154 +++++----- .../synaptics/berlin2cd-valve-steamlink.dts | 158 +++++----- .../boot/dts/ti/omap/am335x-sancloud-bbe.dts | 106 +++---- .../boot/dts/ti/omap/elpida_ecb240abacn.dtsi | 136 ++++----- .../dts/ti/omap/motorola-mapphone-xt8xx.dtsi | 150 +++++----- .../boot/dts/ti/omap/omap-gpmc-smsc9221.dtsi | 118 ++++---- .../arm/boot/dts/ti/omap/omap2430-sdp.dts | 140 ++++----- .../ti/omap/omap3-devkit8000-lcd-common.dtsi | 146 ++++----- .../boot/dts/ti/omap/omap3-igep0020-rev-f.dts | 118 ++++---- .../arm/boot/dts/ti/omap/omap3-igep0020.dts | 94 +++--- .../arm/boot/dts/ti/omap/omap3-igep0030.dts | 118 ++++---- .../arch/arm/boot/dts/ti/omap/omap3-n9.dts | 168 +++++------ .../ti/omap/omap3-overo-alto35-common.dtsi | 150 +++++----- .../omap/omap3-panel-sharp-ls037v7dw01.dtsi | 146 ++++----- .../arm/boot/dts/ti/omap/omap3-sbc-t3517.dts | 152 +++++----- .../arch/arm/boot/dts/ti/omap/omap443x.dtsi | 172 +++++------ .../kernel/arch/arm/boot/dts/tps65910.dtsi | 176 +++++------ .../arch/arm/boot/dts/xen/xenvm-4.2.dts | 164 +++++------ .../arm/boot/dts/xilinx/zynq-microzed.dts | 176 +++++------ .../arm/boot/dts/xilinx/zynq-parallella.dts | 176 +++++------ .../arm/boot/dts/xilinx/zynq-zc770-xm010.dts | 190 ++++++------ .../boot/dts/xilinx/zynq-zturn-common.dtsi | 224 +++++++------- .../arch/arm/common/bL_switcher_dummy_if.c | 120 ++++---- .../kernel/arch/arm/common/sharpsl_param.c | 126 ++++---- .../kernel/arch/arm/configs/h3600_defconfig | 124 ++++---- .../arch/arm/configs/netwinder_defconfig | 170 +++++------ .../kernel/arch/arm/configs/pxa168_defconfig | 104 +++---- .../kernel/arch/arm/configs/pxa910_defconfig | 126 ++++---- .../kernel/arch/arm/configs/s3c6400_defconfig | 142 ++++----- .../kernel/arch/arm/configs/sp7021_defconfig | 116 ++++---- .../arch/arm/configs/spear6xx_defconfig | 142 ++++----- .../kernel/arch/arm/crypto/aes-cipher-glue.c | 138 ++++----- .../kernel/arch/arm/include/asm/cpuidle.h | 116 ++++---- .../kernel/arch/arm/include/asm/fiq.h | 114 +++---- .../kernel/arch/arm/include/asm/firmware.h | 158 +++++----- .../kernel/arch/arm/include/asm/fpstate.h | 158 +++++----- .../arch/arm/include/asm/hardware/ioc.h | 138 ++++----- .../arch/arm/include/asm/hardware/scoop.h | 134 ++++----- .../kernel/arch/arm/include/asm/mach/dma.h | 92 +++--- .../kernel/arch/arm/include/asm/mach/map.h | 130 ++++---- .../kernel/arch/arm/include/asm/percpu.h | 140 ++++----- .../kernel/arch/arm/include/asm/smp_scu.h | 124 ++++---- .../kernel/arch/arm/include/asm/stacktrace.h | 120 ++++---- .../kernel/arch/arm/include/asm/sync_bitops.h | 96 +++--- .../kernel/arch/arm/include/asm/tlb.h | 140 ++++----- .../kernel/arch/arm/include/asm/traps.h | 96 +++--- .../kernel/arch/arm/include/asm/unistd.h | 130 ++++---- .../kernel/arch/arm/include/debug/icedcc.S | 190 ++++++------ .../kernel/arch/arm/include/debug/sa1100.S | 134 ++++----- .../kernel/arch/arm/include/uapi/asm/hwcap.h | 98 +++--- .../kernel/arch/arm/include/uapi/asm/swab.h | 108 +++---- .../kernel/arch/arm/include/uapi/asm/types.h | 82 +++--- .../kernel/arch/arm/kernel/atags_proc.c | 152 +++++----- .../kernel/arch/arm/kernel/insn.c | 128 ++++---- .../UFI003_MB_V02/kernel/arch/arm/kernel/io.c | 170 +++++------ .../kernel/arch/arm/kernel/smccc-call.S | 128 ++++---- .../kernel/arch/arm/kernel/spectre.c | 142 ++++----- .../kernel/arch/arm/kernel/thumbee.c | 140 ++++----- .../kernel/arch/arm/lib/Makefile | 94 +++--- .../kernel/arch/arm/lib/ashldi3.S | 108 +++---- .../kernel/arch/arm/lib/ashrdi3.S | 108 +++---- .../kernel/arch/arm/lib/io-readsl.S | 152 +++++----- .../kernel/arch/arm/lib/io-readsw-armv3.S | 206 ++++++------- .../kernel/arch/arm/lib/io-writesb.S | 182 ++++++------ .../kernel/arch/arm/lib/io-writesw-armv4.S | 194 ++++++------ .../kernel/arch/arm/lib/lshrdi3.S | 108 +++---- .../arch/arm/mach-alpine/alpine_cpu_pm.c | 122 ++++---- .../arch/arm/mach-artpec/board-artpec6.c | 132 ++++----- .../kernel/arch/arm/mach-aspeed/platsmp.c | 122 ++++---- .../kernel/arch/arm/mach-at91/sama5.c | 158 +++++----- .../kernel/arch/arm/mach-bcm/Makefile | 124 ++++---- .../kernel/arch/arm/mach-bcm/board_bcm281xx.c | 126 ++++---- .../kernel/arch/arm/mach-davinci/Kconfig | 122 ++++---- .../kernel/arch/arm/mach-davinci/clock.h | 122 ++++---- .../kernel/arch/arm/mach-davinci/common.h | 134 ++++----- .../kernel/arch/arm/mach-davinci/pm.h | 92 +++--- .../kernel/arch/arm/mach-davinci/sram.c | 154 +++++----- .../kernel/arch/arm/mach-dove/bridge-regs.h | 100 +++---- .../kernel/arch/arm/mach-dove/irq.c | 162 +++++----- .../kernel/arch/arm/mach-gemini/board-dt.c | 128 ++++---- .../kernel/arch/arm/mach-highbank/sysregs.h | 150 +++++----- .../kernel/arch/arm/mach-hisi/Kconfig | 134 ++++----- .../kernel/arch/arm/mach-imx/cpu-imx27.c | 138 ++++----- .../kernel/arch/arm/mach-imx/cpu-imx31.c | 134 ++++----- .../kernel/arch/arm/mach-imx/cpu.c | 144 ++++----- .../kernel/arch/arm/mach-imx/mach-imx7ulp.c | 168 +++++------ .../kernel/arch/arm/mach-imx/mach-vf610.c | 142 ++++----- .../kernel/arch/arm/mach-imx/mxc.h | 174 +++++------ .../kernel/arch/arm/mach-imx/pm-imx7ulp.c | 138 ++++----- .../kernel/arch/arm/mach-mmp/Kconfig | 158 +++++----- .../kernel/arch/arm/mach-mmp/addr-map.h | 96 +++--- .../kernel/arch/arm/mach-mv78xx0/common.h | 108 +++---- .../kernel/arch/arm/mach-mv78xx0/irq.c | 138 ++++----- .../kernel/arch/arm/mach-mvebu/kirkwood-pm.c | 136 ++++----- .../kernel/arch/arm/mach-npcm/platsmp.c | 156 +++++----- .../arch/arm/mach-omap1/board-ams-delta.h | 84 +++--- .../arch/arm/mach-omap1/board-sx1-mmc.c | 124 ++++---- .../kernel/arch/arm/mach-omap1/fb.c | 168 +++++------ .../kernel/arch/arm/mach-omap1/iomap.h | 66 ++--- .../kernel/arch/arm/mach-omap1/mtd-xip.h | 112 +++---- .../kernel/arch/arm/mach-omap1/reset.c | 126 ++++---- .../kernel/arch/arm/mach-omap1/serial.h | 96 +++--- .../kernel/arch/arm/mach-omap1/sram.S | 116 ++++---- .../arch/arm/mach-omap2/cm-regbits-44xx.h | 84 +++--- .../arch/arm/mach-omap2/cm-regbits-7xx.h | 96 +++--- .../kernel/arch/arm/mach-omap2/cm1_44xx.h | 86 +++--- .../kernel/arch/arm/mach-omap2/cm1_54xx.h | 78 ++--- .../kernel/arch/arm/mach-omap2/cm2xxx.h | 120 ++++---- .../kernel/arch/arm/mach-omap2/cm81xx.h | 108 +++---- .../kernel/arch/arm/mach-omap2/devices.c | 130 ++++---- .../kernel/arch/arm/mach-omap2/hdq1w.c | 128 ++++---- .../kernel/arch/arm/mach-omap2/i2c.c | 148 +++++----- .../kernel/arch/arm/mach-omap2/omap-hotplug.c | 138 ++++----- .../arch/arm/mach-omap2/omap2-restart.c | 124 ++++---- .../kernel/arch/arm/mach-omap2/omap34xx.h | 112 +++---- .../kernel/arch/arm/mach-omap2/omap54xx.h | 84 +++--- .../omap_hwmod_2xxx_3xxx_ipblock_data.c | 156 +++++----- .../mach-omap2/powerdomains2xxx_3xxx_data.c | 124 ++++---- .../kernel/arch/arm/mach-omap2/prcm44xx.h | 100 +++---- .../kernel/arch/arm/mach-omap2/sram.h | 116 ++++---- .../kernel/arch/arm/mach-orion5x/irqs.h | 110 +++---- .../kernel/arch/arm/mach-pxa/addr-map.h | 122 ++++---- .../kernel/arch/arm/mach-pxa/generic.h | 108 +++---- .../kernel/arch/arm/mach-pxa/pxa-regs.h | 104 +++---- .../kernel/arch/arm/mach-pxa/regs-ost.h | 74 ++--- .../kernel/arch/arm/mach-rockchip/rockchip.c | 142 ++++----- .../kernel/arch/arm/mach-rockchip/sleep.S | 128 ++++---- .../arch/arm/mach-s3c/dev-uart-s3c64xx.c | 130 ++++---- .../kernel/arch/arm/mach-s3c/devs.h | 114 +++---- .../kernel/arch/arm/mach-s3c/map-base.h | 96 +++--- .../arch/arm/mach-s3c/pm-core-s3c64xx.h | 134 ++++----- .../arm/mach-s3c/regs-usb-hsotg-phy-s3c64xx.h | 94 +++--- .../kernel/arch/arm/mach-s3c/s3c6410.c | 170 +++++------ .../arm/mach-s3c/setup-sdhci-gpio-s3c64xx.c | 106 +++---- .../kernel/arch/arm/mach-s5pv210/s5pv210.c | 142 ++++----- .../kernel/arch/arm/mach-sa1100/generic.h | 110 +++---- .../arm/mach-sa1100/include/mach/hardware.h | 112 +++---- .../kernel/arch/arm/mach-shmobile/common.h | 78 ++--- .../arch/arm/mach-shmobile/setup-r8a7779.c | 120 ++++---- .../kernel/arch/arm/mach-spear/pl080.c | 152 +++++----- .../kernel/arch/arm/mach-spear/spear1310.c | 124 ++++---- .../kernel/arch/arm/mach-sti/Kconfig | 114 +++---- .../kernel/arch/arm/mach-sunxi/Kconfig | 166 +++++------ .../kernel/arch/arm/mach-tegra/board-paz00.c | 112 +++---- .../kernel/arch/arm/mach-tegra/hotplug.c | 148 +++++----- .../kernel/arch/arm/mach-tegra/reset.h | 114 +++---- .../kernel/arch/arm/mach-zynq/pm.c | 142 ++++----- .../kernel/arch/arm/mm/l2c-l2x0-resume.S | 120 ++++---- .../kernel/arch/arm/mm/physaddr.c | 116 ++++---- .../UFI003_MB_V02/kernel/arch/arm/mm/tlb-fa.S | 130 ++++---- .../UFI003_MB_V02/kernel/arch/arm/mm/tlb-v4.S | 124 ++++---- .../kernel/arch/arm/mm/tlb-v4wb.S | 138 ++++----- .../kernel/arch/arm/mm/tlb-v4wbi.S | 120 ++++---- .../kernel/arch/arm/nwfpe/fpa11.inl | 102 +++---- .../kernel/arch/arm/nwfpe/fpopcode.c | 102 +++---- .../arm/plat-orion/include/plat/addr-map.h | 108 +++---- .../kernel/arch/arm/probes/decode-arm.h | 136 ++++----- .../kernel/arch/arm/probes/kprobes/core.h | 100 +++---- .../kernel/arch/arm/tools/Makefile | 114 +++---- .../kernel/arch/arm/vdso/Makefile | 112 +++---- .../kernel/arch/arm/vdso/vdso.lds.S | 156 +++++----- .../kernel/arch/arm64/boot/Makefile | 114 +++---- .../dts/allwinner/sun50i-a64-cpu-opp.dtsi | 150 +++++----- .../sun50i-a64-oceanic-5205-5inmfd.dts | 178 +++++------ .../allwinner/sun50i-a64-pinephone-1.2.dts | 108 +++---- .../boot/dts/allwinner/sun50i-h5-cpu-opp.dtsi | 158 +++++----- .../boot/dts/allwinner/sun50i-h6-gpu-opp.dtsi | 174 +++++------ .../allwinner/sun50i-h6-orangepi-lite2.dts | 148 +++++----- .../sun50i-h618-longan-module-3h.dtsi | 160 +++++----- .../dts/altera/socfpga_stratix10_swvp.dts | 230 +++++++-------- .../arm64/boot/dts/amazon/alpine-v2-evp.dts | 106 +++---- .../boot/dts/amlogic/meson-g12b-s922x.dtsi | 198 ++++++------- .../boot/dts/amlogic/meson-gx-mali450.dtsi | 122 ++++---- .../boot/dts/amlogic/meson-gxbb-p201.dts | 138 ++++----- .../meson-gxl-s905d-mecool-kii-pro.dts | 168 +++++------ .../dts/amlogic/meson-gxl-s905d-sml5442tw.dts | 166 +++++------ .../dts/amlogic/meson-gxm-gt1-ultimate.dts | 182 ++++++------ .../arm64/boot/dts/amlogic/meson-gxm-q200.dts | 158 +++++----- .../dts/amlogic/meson-gxm-wetek-core2.dts | 170 +++++------ .../dts/amlogic/meson-sm1-bananapi-m2-pro.dts | 202 ++++++------- .../arch/arm64/boot/dts/apple/t600x-nvme.dtsi | 84 +++--- .../arch/arm64/boot/dts/apple/t8103-j456.dts | 154 +++++----- .../arch/arm64/boot/dts/apple/t8112-j413.dts | 160 +++++----- .../arch/arm64/boot/dts/apple/t8112-j493.dts | 138 ++++----- .../boot/dts/broadcom/bcm2712-rpi-5-b.dts | 128 ++++---- .../boot/dts/broadcom/stingray/bcm958742t.dts | 96 +++--- .../dts/broadcom/stingray/stingray-pcie.dtsi | 108 +++---- .../boot/dts/exynos/exynosautov920-sadk.dts | 176 +++++------ .../boot/dts/freescale/fsl-ls1012a-oxalis.dts | 200 ++++++------- .../boot/dts/freescale/fsl-ls1012a-rdb.dts | 212 ++++++------- .../fsl-ls1028a-kontron-sl28-var1.dts | 122 ++++---- .../fsl-ls1028a-kontron-sl28-var2.dts | 160 +++++----- .../dts/freescale/fsl-ls1028a-qds-13bb.dtso | 182 ++++++------ .../dts/freescale/fsl-ls1028a-qds-65bb.dtso | 170 +++++------ .../dts/freescale/fsl-ls1028a-qds-85bb.dtso | 170 +++++------ .../boot/dts/freescale/fsl-ls1043-post.dtsi | 146 ++++----- .../boot/dts/freescale/fsl-ls1046-post.dtsi | 154 +++++----- .../boot/dts/freescale/fsl-ls2080a-rdb.dts | 188 ++++++------ .../dts/freescale/fsl-lx2160a-tqmlx2160a.dtsi | 194 ++++++------ .../boot/dts/freescale/imx8-apalis-eval.dtsi | 244 +++++++-------- .../arm64/boot/dts/freescale/imx8-ss-vpu.dtsi | 148 +++++----- .../boot/dts/freescale/imx8mm-ddr4-evk.dts | 112 +++---- .../dts/freescale/imx8mm-emtop-baseboard.dts | 126 ++++---- .../imx8mm-phygate-tauri-l-rs232-rs232.dtso | 134 ++++----- .../imx8mm-phygate-tauri-l-rs232-rs485.dtso | 142 ++++----- .../imx8mm-venice-gw72xx-0x-rpidsi.dtso | 180 ++++++------ .../imx8mm-venice-gw73xx-0x-rpidsi.dtso | 180 ++++++------ .../dts/freescale/imx8mm-verdin-nonwifi.dtsi | 150 +++++----- .../dts/freescale/imx8mm-verdin-wifi.dtsi | 188 ++++++------ .../imx8mn-tqma8mqnl-mba8mx-usbotg.dtso | 178 +++++------ .../dts/freescale/imx8mp-verdin-wifi.dtsi | 170 +++++------ .../dts/freescale/imx8x-colibri-eval-v3.dtsi | 264 ++++++++--------- .../arm64/boot/dts/hisilicon/hip05-d02.dts | 164 +++++------ .../arch/arm64/boot/dts/marvell/Makefile | 68 ++--- .../boot/dts/marvell/ac5-98dx35xx-rd.dts | 210 ++++++------- .../dts/marvell/ac5x-rd-carrier-cn9131.dts | 88 +++--- .../boot/dts/marvell/ac5x-rd-carrier.dtsi | 68 ++--- .../dts/marvell/cn9130-db-comexpress.dtsi | 192 ++++++------ .../dts/marvell/cn9131-db-comexpress.dtsi | 216 +++++++------- .../dts/mediatek/mt7981b-cudy-wr3000-v1.dts | 148 +++++----- .../mt8186-corsola-tentacool-sku327681.dts | 114 +++---- .../dts/mediatek/mt8186-corsola-voltorb.dtsi | 184 ++++++------ .../mt8192-asurada-hayato-r5-sku2.dts | 130 ++++---- .../mediatek/mt8192-asurada-spherion-r0.dts | 162 +++++----- .../mediatek/mt8192-asurada-spherion-r4.dts | 156 +++++----- .../boot/dts/microchip/sparx5_pcb125.dts | 158 +++++----- .../boot/dts/nuvoton/nuvoton-npcm845.dtsi | 156 +++++----- .../arch/arm64/boot/dts/nvidia/Makefile | 64 ++-- .../qcom/apq8016-sbc-d3-camera-mezzanine.dts | 162 +++++----- .../boot/dts/qcom/ipq5332-rdp-common.dtsi | 162 +++++----- .../arm64/boot/dts/qcom/ipq5332-rdp442.dts | 186 ++++++------ .../arm64/boot/dts/qcom/ipq6018-cp01-c1.dts | 176 +++++------ .../arch/arm64/boot/dts/qcom/ipq8074-hk01.dts | 238 +++++++-------- .../dts/qcom/msm8916-alcatel-alto5-vdf.dts | 212 ++++++------- .../arm64/boot/dts/qcom/msm8916-ark-peach.dts | 208 ++++++------- .../dts/qcom/msm8916-samsung-fortunaltezt.dts | 114 +++---- .../qcom/msm8939-sony-xperia-kanuti-tulip.dts | 194 ++++++------ .../arch/arm64/boot/dts/qcom/pm6350.dtsi | 186 ++++++------ .../arch/arm64/boot/dts/qcom/pm7550ba.dtsi | 138 ++++----- .../arch/arm64/boot/dts/qcom/pm8010.dtsi | 164 +++++------ .../arch/arm64/boot/dts/qcom/pm8350c.dtsi | 138 ++++----- .../arch/arm64/boot/dts/qcom/pm8550.dtsi | 142 ++++----- .../arch/arm64/boot/dts/qcom/pmi8994.dtsi | 136 ++++----- .../arch/arm64/boot/dts/qcom/pmk8550.dtsi | 154 +++++----- .../arm64/boot/dts/qcom/qcs404-evb-4000.dts | 192 ++++++------ .../dts/qcom/sc7180-trogdor-pazquel360.dtsi | 126 ++++---- .../dts/qcom/sc7280-herobrine-lte-sku.dtsi | 122 ++++---- .../arch/arm64/boot/dts/qcom/sc7280-idp.dts | 194 ++++++------ .../arch/arm64/boot/dts/qcom/sdm632.dtsi | 178 +++++------ .../dts/qcom/sdm845-oneplus-enchilada.dts | 156 +++++----- .../boot/dts/qcom/sdm845-oneplus-fajita.dts | 140 ++++----- .../arm64/boot/dts/renesas/hihope-rev2.dtsi | 166 +++++------ ...rzg2-ex-aistarvision-mipi-adapter-2.1.dtsi | 214 +++++++------- .../boot/dts/renesas/hihope-rzg2-ex.dtsi | 188 ++++++------ .../dts/renesas/r8a774c0-ek874-mipi-2.1.dts | 146 ++++----- .../boot/dts/renesas/r8a779a0-falcon.dts | 200 ++++++------- .../r9a07g043u11-smarc-du-adv7513.dtso | 124 ++++---- .../boot/dts/renesas/r9a07g044c2-smarc.dts | 120 ++++---- .../dts/renesas/rz-smarc-cru-csi-ov5645.dtsi | 160 +++++----- .../arm64/boot/dts/renesas/salvator-xs.dtsi | 170 +++++------ .../ulcb-audio-graph-card-mix+split.dtsi | 190 ++++++------ .../dts/renesas/ulcb-audio-graph-card.dtsi | 180 ++++++------ .../dts/renesas/ulcb-kf-audio-graph-card.dtsi | 186 ++++++------ .../renesas/ulcb-kf-simple-audio-card.dtsi | 180 ++++++------ .../ulcb-simple-audio-card-mix+split.dtsi | 192 ++++++------ .../boot/dts/rockchip/rk3326-odroid-go2.dts | 136 ++++----- .../dts/rockchip/rk3399-rock-pi-4b-plus.dts | 122 ++++---- .../boot/dts/rockchip/rk3399-rock-pi-4c.dts | 160 +++++----- .../dts/rockchip/rk3566-orangepi-3b-v2.1.dts | 140 ++++----- .../rockchip/rk3566-powkiddy-rgb10max3.dts | 174 +++++------ .../boot/dts/socionext/uniphier-ld20-ref.dts | 172 +++++------ .../boot/dts/st/stm32mp25xxai-pinctrl.dtsi | 166 +++++------ .../arch/arm64/boot/dts/tesla/fsd-evb.dts | 224 +++++++------- .../arm64/boot/dts/ti/k3-am62-thermal.dtsi | 140 ++++----- .../arch/arm64/boot/dts/ti/k3-am62p-main.dtsi | 140 ++++----- .../boot/dts/ti/k3-am62x-sk-csi2-imx219.dtso | 166 +++++------ .../boot/dts/ti/k3-am62x-sk-csi2-ov5640.dtso | 164 +++++------ .../dts/ti/k3-am62x-sk-csi2-tevi-ov5640.dtso | 164 +++++------ .../arch/arm64/boot/dts/ti/k3-am652.dtsi | 148 +++++----- ...am654-base-board-rocktech-rk101-panel.dtso | 142 ++++----- .../arm64/boot/dts/ti/k3-am654-pcie-usb3.dtso | 122 ++++---- .../ti/k3-am6548-iot2050-advanced-common.dtsi | 106 +++---- .../boot/dts/ti/k3-j721e-evm-pcie0-ep.dtso | 106 +++---- .../boot/dts/ti/k3-j721s2-evm-pcie1-ep.dtso | 106 +++---- .../arm64/boot/dts/toshiba/tmpv7708_pins.dtsi | 196 ++++++------ .../arch/arm64/boot/dts/xilinx/Makefile | 62 ++-- .../boot/dts/xilinx/zynqmp-zc1232-revA.dts | 136 ++++----- .../kernel/arch/arm64/crypto/aes-ce-core.S | 168 +++++------ .../arch/arm64/crypto/aes-cipher-glue.c | 126 ++++---- .../kernel/arch/arm64/include/asm/cpu.h | 160 +++++----- .../kernel/arch/arm64/include/asm/extable.h | 98 +++--- .../kernel/arch/arm64/include/asm/image.h | 118 ++++---- .../kernel/arch/arm64/include/asm/kvm_mte.h | 132 ++++----- .../kernel/arch/arm64/include/asm/module.h | 138 ++++----- .../kernel/arch/arm64/include/asm/mshyperv.h | 108 +++---- .../kernel/arch/arm64/include/asm/page.h | 108 +++---- .../arch/arm64/include/asm/pgtable-types.h | 122 ++++---- .../kernel/arch/arm64/include/asm/ptdump.h | 150 +++++----- .../kernel/arch/arm64/include/asm/sdei.h | 106 +++---- .../arch/arm64/include/asm/stacktrace/nvhe.h | 110 +++---- .../kernel/arch/arm64/include/asm/suspend.h | 108 +++---- .../arch/arm64/include/asm/vdso/getrandom.h | 100 +++---- .../kernel/arch/arm64/include/asm/vectors.h | 146 ++++----- .../arch/arm64/include/asm/word-at-a-time.h | 138 ++++----- .../kernel/arch/arm64/kernel/cpu-reset.S | 106 +++---- .../kernel/arch/arm64/kernel/perf_callchain.c | 136 ++++----- .../kernel/arch/arm64/kernel/pi/Makefile | 88 +++--- .../kernel/arch/arm64/kernel/pi/kaslr_early.c | 132 ++++----- .../arch/arm64/kernel/reloc_test_syms.S | 170 +++++------ .../kernel/arch/arm64/kernel/sigreturn32.S | 94 +++--- .../kernel/arch/arm64/kernel/sys.c | 126 ++++---- .../kernel/arch/arm64/kernel/time.c | 144 ++++----- .../kernel/arch/arm64/kvm/Makefile | 92 +++--- .../arch/arm64/kvm/hyp/nvhe/list_debug.c | 112 +++---- .../kernel/arch/arm64/kvm/hyp/nvhe/timer-sr.c | 124 ++++---- .../kernel/arch/arm64/lib/copy_from_user.S | 146 ++++----- .../kernel/arch/arm64/lib/copy_page.S | 138 ++++----- .../kernel/arch/arm64/lib/copy_to_user.S | 146 ++++----- .../kernel/arch/arm64/lib/delay.c | 138 ++++----- .../kernel/arch/arm64/lib/memchr.S | 152 +++++----- .../kernel/arch/arm64/mm/extable.c | 156 +++++----- .../UFI003_MB_V02/kernel/arch/arm64/mm/pgd.c | 134 ++++----- .../UFI003_MB_V02/kernel/arch/csky/Makefile | 156 +++++----- .../kernel/arch/csky/abiv1/cacheflush.c | 150 +++++----- .../kernel/arch/csky/abiv1/inc/abi/ckmmu.h | 202 ++++++------- .../arch/csky/abiv1/inc/abi/pgtable-bits.h | 110 +++---- .../kernel/arch/csky/abiv1/mmap.c | 144 ++++----- .../kernel/arch/csky/abiv2/inc/abi/fpu.h | 132 ++++----- .../arch/csky/abiv2/inc/abi/pgtable-bits.h | 106 +++---- .../kernel/arch/csky/abiv2/memset.S | 166 +++++------ .../kernel/arch/csky/abiv2/strcpy.S | 246 ++++++++-------- .../kernel/arch/csky/abiv2/strlen.S | 194 ++++++------ .../kernel/arch/csky/include/asm/io.h | 108 +++---- .../kernel/arch/csky/include/asm/pgalloc.h | 148 +++++----- .../kernel/arch/csky/include/asm/syscall.h | 136 ++++----- .../kernel/arch/csky/include/asm/traps.h | 120 ++++---- .../kernel/arch/csky/kernel/cpu-probe.c | 158 +++++----- .../kernel/arch/csky/kernel/io.c | 182 ++++++------ .../kernel/arch/csky/kernel/jump_label.c | 108 +++---- .../arch/csky/kernel/probes/decode-insn.c | 98 +++--- .../kernel/arch/csky/kernel/probes/ftrace.c | 140 ++++----- .../arch/csky/kernel/probes/simulate-insn.h | 98 +++--- .../kernel/arch/csky/kernel/vdso/Makefile | 112 +++---- .../arch/hexagon/include/asm/mmu_context.h | 132 ++++----- .../arch/hexagon/include/asm/tlbflush.h | 90 +++--- .../arch/hexagon/include/uapi/asm/user.h | 130 ++++---- .../kernel/arch/hexagon/kernel/vm_ops.S | 178 +++++------ .../kernel/arch/hexagon/lib/divsi3.S | 134 ++++----- .../kernel/arch/hexagon/lib/io.c | 164 +++++------ .../arch/hexagon/lib/memcpy_likely_aligned.S | 112 +++---- .../kernel/arch/hexagon/mm/copy_from_user.S | 202 ++++++------- .../kernel/arch/hexagon/mm/copy_to_user.S | 158 +++++----- .../kernel/arch/loongarch/Kconfig.debug | 82 +++--- .../boot/dts/loongson-2k2000-ref.dts | 210 ++++++------- .../kernel/arch/loongarch/include/asm/acpi.h | 126 ++++---- .../arch/loongarch/include/asm/asm-extable.h | 130 ++++---- .../kernel/arch/loongarch/include/asm/bug.h | 126 ++++---- .../arch/loongarch/include/asm/cacheops.h | 86 +++--- .../arch/loongarch/include/asm/checksum.h | 132 ++++----- .../arch/loongarch/include/asm/exception.h | 94 +++--- .../arch/loongarch/include/asm/extable.h | 94 +++--- .../arch/loongarch/include/asm/gpr-num.h | 104 +++---- .../kernel/arch/loongarch/include/asm/kexec.h | 120 ++++---- .../arch/loongarch/include/asm/kfence.h | 142 ++++----- .../arch/loongarch/include/asm/kprobes.h | 116 ++++---- .../kernel/arch/loongarch/include/asm/numa.h | 136 ++++----- .../arch/loongarch/include/asm/orc_types.h | 116 ++++---- .../arch/loongarch/include/asm/switch_to.h | 88 +++--- .../arch/loongarch/include/asm/syscall.h | 148 +++++----- .../arch/loongarch/include/asm/vdso/vdso.h | 142 ++++----- .../kernel/arch/loongarch/include/asm/xor.h | 136 ++++----- .../arch/loongarch/include/asm/xor_simd.h | 68 ++--- .../arch/loongarch/include/uapi/asm/ptrace.h | 176 +++++------ .../arch/loongarch/include/uapi/asm/reg.h | 118 ++++---- .../loongarch/include/uapi/asm/sigcontext.h | 142 ++++----- .../loongarch/include/uapi/asm/ucontext.h | 70 ++--- .../kernel/arch/loongarch/kernel/ftrace.c | 146 ++++----- .../kernel/arch/loongarch/kernel/io.c | 188 ++++++------ .../kernel/arch/loongarch/kernel/mem.c | 126 ++++---- .../kernel/arch/loongarch/kernel/reset.c | 158 +++++----- .../kernel/arch/loongarch/kernel/sysrq.c | 130 ++++---- .../kernel/arch/loongarch/lib/unaligned.S | 166 +++++------ .../kernel/arch/loongarch/lib/xor_simd.h | 76 ++--- .../kernel/arch/loongarch/mm/extable.c | 126 ++++---- .../kernel/arch/loongarch/mm/hugetlbpage.c | 132 ++++----- .../kernel/arch/loongarch/mm/page.S | 168 +++++------ .../kernel/arch/loongarch/power/hibernate.c | 130 ++++---- .../arch/loongarch/power/hibernate_asm.S | 132 ++++----- .../kernel/arch/loongarch/vdso/vdso.lds.S | 148 +++++----- .../kernel/arch/m68k/68000/m68328.c | 128 ++++---- .../kernel/arch/m68k/coldfire/Makefile | 96 +++--- .../kernel/arch/m68k/coldfire/intc-5249.c | 122 ++++---- .../kernel/arch/m68k/coldfire/vectors.c | 144 ++++----- .../arch/m68k/configs/m5307c3_defconfig | 110 +++---- .../kernel/arch/m68k/configs/virt_defconfig | 134 ++++----- .../kernel/arch/m68k/fpsp040/README | 60 ++-- .../kernel/arch/m68k/include/asm/atarikb.h | 88 +++--- .../kernel/arch/m68k/include/asm/coldfire.h | 100 +++---- .../kernel/arch/m68k/include/asm/irqflags.h | 160 +++++----- .../kernel/arch/m68k/include/asm/kmap.h | 138 ++++----- .../kernel/arch/m68k/include/asm/linkage.h | 76 ++--- .../kernel/arch/m68k/include/asm/mcfqspi.h | 84 +++--- .../kernel/arch/m68k/include/asm/mcfsim.h | 104 +++---- .../kernel/arch/m68k/include/asm/movs.h | 112 +++---- .../kernel/arch/m68k/include/asm/page.h | 128 ++++---- .../arch/m68k/include/asm/quicc_simple.h | 106 +++---- .../kernel/arch/m68k/include/asm/signal.h | 132 ++++----- .../kernel/arch/m68k/include/asm/switch_to.h | 84 +++--- .../kernel/arch/m68k/include/asm/syscall.h | 138 ++++----- .../m68k/include/uapi/asm/bootinfo-amiga.h | 128 ++++---- .../m68k/include/uapi/asm/bootinfo-hp300.h | 102 +++---- .../arch/m68k/include/uapi/asm/bootinfo-vme.h | 142 ++++----- .../arch/m68k/include/uapi/asm/signal.h | 178 +++++------ .../kernel/arch/m68k/include/uapi/asm/stat.h | 156 +++++----- .../kernel/arch/m68k/kernel/bootinfo_proc.c | 158 +++++----- .../kernel/arch/m68k/kernel/early_printk.c | 112 +++---- .../kernel/arch/m68k/kernel/vmlinux-nommu.lds | 186 ++++++------ .../kernel/arch/m68k/lib/memcpy.c | 178 +++++------ .../kernel/arch/m68k/math-emu/fp_arith.h | 78 ++--- .../kernel/arch/m68k/math-emu/fp_log.h | 88 +++--- .../kernel/arch/m68k/sun3/intersil.c | 140 ++++----- .../kernel/arch/m68k/sun3x/config.c | 152 +++++----- .../kernel/arch/m68k/tools/amiga/dmesg.c | 138 ++++----- .../arch/microblaze/include/asm/highmem.h | 122 ++++---- .../kernel/arch/microblaze/include/asm/io.h | 120 ++++---- .../arch/microblaze/include/asm/registers.h | 90 +++--- .../arch/microblaze/include/asm/syscall.h | 158 +++++----- .../arch/microblaze/include/asm/tlbflush.h | 106 +++---- .../arch/microblaze/include/uapi/asm/ptrace.h | 146 ++++----- .../arch/microblaze/kernel/microblaze_ksyms.c | 116 ++++---- .../kernel/arch/microblaze/kernel/misc.S | 132 ++++----- .../arch/microblaze/kernel/sys_microblaze.c | 110 +++---- .../kernel/arch/microblaze/lib/divsi3.S | 148 +++++----- .../kernel/arch/microblaze/lib/modsi3.S | 148 +++++----- .../kernel/arch/microblaze/lib/muldi3.c | 116 ++++---- .../kernel/arch/microblaze/mm/mmu_context.c | 130 ++++---- .../kernel/arch/mips/Kbuild.platforms | 74 ++--- .../kernel/arch/mips/bcm63xx/dev-spi.c | 120 ++++---- .../kernel/arch/mips/bcm63xx/dev-uart.c | 154 +++++----- .../kernel/arch/mips/bmips/Kconfig | 166 +++++------ .../kernel/arch/mips/boot/dts/brcm/Makefile | 74 ++--- .../dts/brcm/bcm63268-comtrend-vr-3032u.dts | 218 +++++++------- .../arch/mips/boot/dts/brcm/bcm97435svmb.dts | 278 +++++++++--------- .../dts/loongson/loongson64c-package.dtsi | 128 ++++---- .../dts/loongson/loongson64g-package.dtsi | 122 ++++---- .../boot/dts/qca/ar9132_tl_wr1043nd_v1.dts | 220 +++++++------- .../mips/boot/dts/qca/ar9331_dragino_ms14.dts | 200 ++++++------- .../qca/ar9331_openembed_som9331_board.dts | 216 +++++++------- .../boot/dts/ralink/mt7621-gnubee-gb-pc1.dts | 212 ++++++------- .../dts/ralink/mt7621-tplink-hc220-g5-v1.dts | 168 +++++------ .../arch/mips/boot/dts/realtek/rtl930x.dtsi | 158 +++++----- .../kernel/arch/mips/boot/tools/relocs_main.c | 170 +++++------ .../cavium-octeon/executive/cvmx-sysinfo.c | 106 +++---- .../kernel/arch/mips/cobalt/irq.c | 128 ++++---- .../kernel/arch/mips/cobalt/serial.c | 146 ++++----- .../arch/mips/configs/bcm63xx_defconfig | 132 ++++----- .../arch/mips/configs/bmips_be_defconfig | 152 +++++----- .../kernel/arch/mips/configs/cobalt_defconfig | 146 ++++----- .../kernel/arch/mips/configs/ip28_defconfig | 130 ++++---- .../kernel/arch/mips/configs/jazz_defconfig | 178 +++++------ .../kernel/arch/mips/crypto/Kconfig | 154 +++++----- .../kernel/arch/mips/dec/kn02-irq.c | 150 +++++----- .../kernel/arch/mips/fw/arc/promlib.c | 122 ++++---- .../kernel/arch/mips/generic/board-realtek.c | 158 +++++----- .../kernel/arch/mips/include/asm/cop2.h | 122 ++++---- .../kernel/arch/mips/include/asm/dec/ecc.h | 102 +++---- .../kernel/arch/mips/include/asm/dsp.h | 162 +++++----- .../kernel/arch/mips/include/asm/floppy.h | 112 +++---- .../arch/mips/include/asm/fw/cfe/cfe_error.h | 134 ++++----- .../kernel/arch/mips/include/asm/gio_device.h | 106 +++---- .../kernel/arch/mips/include/asm/highmem.h | 120 ++++---- .../kernel/arch/mips/include/asm/jump_label.h | 160 +++++----- .../kernel/arch/mips/include/asm/kexec.h | 102 +++---- .../kernel/arch/mips/include/asm/kprobes.h | 152 +++++----- .../asm/mach-ath25/cpu-feature-overrides.h | 118 ++++---- .../asm/mach-ath79/cpu-feature-overrides.h | 110 +++---- .../asm/mach-bcm63xx/cpu-feature-overrides.h | 108 +++---- .../mips/include/asm/mach-cavium-octeon/irq.h | 116 ++++---- .../asm/mach-cavium-octeon/mangle-port.h | 128 ++++---- .../asm/mach-cobalt/cpu-feature-overrides.h | 112 +++---- .../arch/mips/include/asm/mach-cobalt/irq.h | 114 +++---- .../include/asm/mach-generic/mangle-port.h | 104 +++---- .../asm/mach-ip28/cpu-feature-overrides.h | 108 +++---- .../asm/mach-ip32/cpu-feature-overrides.h | 102 +++---- .../mips/include/asm/mach-lantiq/lantiq.h | 110 +++---- .../include/asm/mach-lantiq/xway/xway_dma.h | 100 +++---- .../mips/include/asm/mach-loongson2ef/pci.h | 92 +++--- .../include/asm/mach-loongson32/loongson1.h | 100 +++---- .../mach-loongson64/cpu-feature-overrides.h | 100 +++---- .../include/asm/mach-loongson64/cpucfg-emul.h | 148 +++++----- .../arch/mips/include/asm/mach-malta/spaces.h | 92 +++--- .../mips/include/asm/mach-ralink/mt7620.h | 130 ++++---- .../mt7621/cpu-feature-overrides.h | 118 ++++---- .../asm/mach-rc32434/cpu-feature-overrides.h | 124 ++++---- .../arch/mips/include/asm/mach-rc32434/prom.h | 80 ++--- .../arch/mips/include/asm/mach-rc32434/rb.h | 128 ++++---- .../mips/include/asm/mips-boards/maltaint.h | 126 ++++---- .../include/asm/octeon/cvmx-boot-vector.h | 106 +++---- .../include/asm/octeon/cvmx-helper-jtag.h | 86 +++--- .../arch/mips/include/asm/octeon/pci-octeon.h | 134 ++++----- .../kernel/arch/mips/include/asm/pm-cps.h | 98 +++--- .../kernel/arch/mips/include/asm/sgialib.h | 122 ++++---- .../kernel/arch/mips/include/asm/sn/fru.h | 88 +++--- .../arch/mips/include/asm/sn/sn0/arch.h | 112 +++---- .../kernel/arch/mips/include/asm/sn/sn0/hub.h | 124 ++++---- .../kernel/arch/mips/include/asm/socket.h | 100 +++---- .../kernel/arch/mips/include/asm/time.h | 146 ++++----- .../kernel/arch/mips/include/asm/tlbflush.h | 98 +++--- .../kernel/arch/mips/include/asm/txx9tmr.h | 126 ++++---- .../kernel/arch/mips/include/asm/vdso.h | 106 +++---- .../kernel/arch/mips/include/asm/vdso/vdso.h | 150 +++++----- .../arch/mips/include/asm/xtalk/xtalk.h | 104 +++---- .../kernel/arch/mips/include/asm/yamon-dt.h | 120 ++++---- .../kernel/arch/mips/include/uapi/asm/swab.h | 142 ++++----- .../kernel/arch/mips/ingenic/Kconfig | 156 +++++----- .../kernel/arch/mips/kernel/csrc-ioasic.c | 130 ++++---- .../kernel/arch/mips/kernel/csrc-sb1250.c | 142 ++++----- .../kernel/arch/mips/kernel/perf_event.c | 134 ++++----- .../kernel/arch/mips/kernel/perf_regs.c | 136 ++++----- .../kernel/arch/mips/kernel/probes-common.h | 158 +++++----- .../kernel/arch/mips/kernel/prom.c | 148 +++++----- .../kernel/arch/mips/kernel/r2300_switch.S | 128 ++++---- .../kernel/arch/mips/kernel/r4k_switch.S | 118 ++++---- .../kernel/arch/mips/kernel/signal-common.h | 92 +++--- .../kernel/arch/mips/kernel/smp-up.c | 158 +++++----- .../kernel/arch/mips/kernel/syscalls/Makefile | 102 +++---- .../kernel/arch/mips/kernel/sysrq.c | 132 ++++----- .../kernel/arch/mips/kvm/interrupt.c | 112 +++---- .../kernel/arch/mips/kvm/interrupt.h | 86 +++--- .../kernel/arch/mips/lantiq/falcon/reset.c | 150 +++++----- .../kernel/arch/mips/lantiq/xway/vmmc.c | 142 ++++----- .../kernel/arch/mips/lib/delay.c | 136 ++++----- .../kernel/arch/mips/lib/r3k_dump_tlb.c | 142 ++++----- .../kernel/arch/mips/lib/strncpy_user.S | 130 ++++---- .../kernel/arch/mips/lib/strnlen_user.S | 128 ++++---- .../kernel/arch/mips/loongson2ef/common/irq.c | 126 ++++---- .../arch/mips/loongson2ef/common/machtype.c | 124 ++++---- .../arch/mips/loongson2ef/common/reset.c | 146 ++++----- .../arch/mips/loongson2ef/fuloong-2e/irq.c | 130 ++++---- .../mips/loongson2ef/lemote-2f/machtype.c | 82 +++--- .../kernel/arch/mips/math-emu/dp_rint.c | 156 +++++----- .../kernel/arch/mips/math-emu/ieee754dp.h | 146 ++++----- .../kernel/arch/mips/math-emu/ieee754sp.h | 154 +++++----- .../kernel/arch/mips/math-emu/sp_fdp.c | 146 ++++----- .../kernel/arch/mips/math-emu/sp_rint.c | 158 +++++----- .../kernel/arch/mips/math-emu/sp_sqrt.c | 206 ++++++------- .../kernel/arch/mips/mm/cex-oct.S | 140 ++++----- .../kernel/arch/mips/mm/hugetlbpage.c | 118 ++++---- .../kernel/arch/mips/mm/page-funcs.S | 106 +++---- .../kernel/arch/mips/pci/fixup-ip32.c | 104 +++---- .../kernel/arch/mips/pci/pci-generic.c | 128 ++++---- .../kernel/arch/mips/rb532/setup.c | 162 +++++----- .../kernel/arch/mips/rb532/time.c | 108 +++---- .../kernel/arch/mips/sgi-ip22/ip22-hpc.c | 128 ++++---- .../kernel/arch/mips/sgi-ip27/ip27-klconfig.c | 148 +++++----- .../kernel/arch/mips/sgi-ip27/ip27-reset.c | 162 +++++----- .../kernel/arch/mips/sgi-ip30/ip30-timer.c | 126 ++++---- .../arch/mips/sibyte/common/cfe_console.c | 162 +++++----- .../UFI003_MB_V02/kernel/arch/mips/sni/irq.c | 152 +++++----- .../kernel/arch/mips/txx9/rbtx4927/prom.c | 84 +++--- .../UFI003_MB_V02/kernel/arch/mips/vdso/elf.S | 124 ++++---- .../kernel/arch/nios2/include/asm/checksum.h | 140 ++++----- .../arch/nios2/include/asm/mmu_context.h | 110 +++---- .../kernel/arch/nios2/include/asm/registers.h | 116 ++++---- .../kernel/arch/nios2/include/asm/syscall.h | 132 ++++----- .../kernel/arch/nios2/include/asm/tlbflush.h | 88 +++--- .../arch/nios2/include/uapi/asm/ptrace.h | 168 +++++------ .../kernel/arch/nios2/kernel/irq.c | 158 +++++----- .../kernel/arch/nios2/lib/memmove.c | 160 +++++----- .../kernel/arch/nios2/mm/dma-mapping.c | 154 +++++----- .../kernel/arch/nios2/mm/pgtable.c | 146 ++++----- .../kernel/arch/openrisc/Makefile | 126 ++++---- .../arch/openrisc/configs/or1ksim_defconfig | 112 +++---- .../openrisc/configs/simple_smp_defconfig | 130 ++++---- .../arch/openrisc/include/asm/syscall.h | 128 ++++---- .../kernel/arch/openrisc/lib/string.S | 202 ++++++------- .../kernel/arch/openrisc/mm/cache.c | 122 ++++---- .../kernel/arch/openrisc/mm/ioremap.c | 96 +++--- .../kernel/arch/parisc/boot/compressed/head.S | 170 +++++------ .../arch/parisc/boot/compressed/vmlinux.lds.S | 212 ++++++------- .../kernel/arch/parisc/include/asm/hugetlb.h | 96 +++--- .../kernel/arch/parisc/include/asm/kgdb.h | 140 ++++----- .../kernel/arch/parisc/include/asm/pgalloc.h | 146 ++++----- .../kernel/arch/parisc/include/asm/ptrace.h | 106 +++---- .../kernel/arch/parisc/include/asm/syscall.h | 134 ++++----- .../arch/parisc/include/uapi/asm/ioctl.h | 90 +++--- .../arch/parisc/include/uapi/asm/shmbuf.h | 106 +++---- .../arch/parisc/include/uapi/asm/signal.h | 168 +++++------ .../arch/parisc/include/uapi/asm/stat.h | 136 ++++----- .../kernel/arch/parisc/kernel/Makefile | 98 +++--- .../kernel/arch/parisc/kernel/pdc_cons.c | 130 ++++---- .../kernel/arch/parisc/kernel/toc_asm.S | 150 +++++----- .../kernel/arch/parisc/lib/bitops.c | 150 +++++----- .../kernel/arch/parisc/lib/delay.c | 144 ++++----- .../kernel/arch/parisc/lib/memset.c | 144 ++++----- .../kernel/arch/powerpc/boot/cuboot-52xx.c | 120 ++++---- .../kernel/arch/powerpc/boot/cuboot-83xx.c | 112 +++---- .../arch/powerpc/boot/cuboot-85xx-cpm2.c | 126 ++++---- .../kernel/arch/powerpc/boot/cuboot-85xx.c | 118 ++++---- .../boot/dts/fsl/mpc8572ds_camp_core0.dts | 156 +++++----- .../arch/powerpc/boot/dts/fsl/p1020rdb.dts | 124 ++++---- .../powerpc/boot/dts/fsl/p1020rdb_36b.dts | 124 ++++---- .../kernel/arch/powerpc/boot/epapr.c | 126 ++++---- .../kernel/arch/powerpc/boot/mpc52xx-psc.c | 130 ++++---- .../kernel/arch/powerpc/boot/mpc8xx.c | 156 +++++----- .../kernel/arch/powerpc/boot/mvme7100.c | 108 +++---- .../kernel/arch/powerpc/boot/planetcore.h | 94 +++--- .../kernel/arch/powerpc/boot/ps3-head.S | 144 ++++----- .../arch/powerpc/boot/treeboot-iss4xx.c | 146 ++++----- .../kernel/arch/powerpc/boot/util.S | 134 ++++----- .../kernel/arch/powerpc/boot/zImage.lds.S | 194 ++++++------ .../powerpc/configs/44x/canyonlands_defconfig | 138 ++++----- .../powerpc/configs/44x/iss476-smp_defconfig | 136 ++++----- .../powerpc/configs/44x/rainier_defconfig | 124 ++++---- .../powerpc/configs/44x/sequoia_defconfig | 126 ++++---- .../powerpc/configs/52xx/cm5200_defconfig | 156 +++++----- .../powerpc/configs/52xx/lite5200b_defconfig | 126 ++++---- .../powerpc/configs/52xx/pcm030_defconfig | 156 +++++----- .../powerpc/configs/83xx/asp8347_defconfig | 142 ++++----- .../configs/83xx/mpc8313_rdb_defconfig | 172 +++++------ .../configs/83xx/mpc8315_rdb_defconfig | 170 +++++------ .../configs/83xx/mpc832x_rdb_defconfig | 156 +++++----- .../configs/83xx/mpc834x_itx_defconfig | 168 +++++------ .../configs/83xx/mpc834x_itxgp_defconfig | 152 +++++----- .../configs/83xx/mpc836x_rdk_defconfig | 142 ++++----- .../configs/83xx/mpc837x_rdb_defconfig | 160 +++++----- .../powerpc/configs/85xx/tqm8548_defconfig | 132 ++++----- .../arch/powerpc/configs/ep8248e_defconfig | 140 ++++----- .../arch/powerpc/configs/holly_defconfig | 120 ++++---- .../arch/powerpc/configs/mgcoge_defconfig | 164 +++++------ .../arch/powerpc/configs/storcenter_defconfig | 156 +++++----- .../arch/powerpc/configs/tqm8xx_defconfig | 120 ++++---- .../powerpc/include/asm/book3s/64/hash-pkey.h | 90 +++--- .../kernel/arch/powerpc/include/asm/fadump.h | 92 +++--- .../arch/powerpc/include/asm/hvcserver.h | 92 +++--- .../arch/powerpc/include/asm/io_event_irq.h | 100 +++---- .../kernel/arch/powerpc/include/asm/irq.h | 126 ++++---- .../kernel/arch/powerpc/include/asm/kdump.h | 94 +++--- .../arch/powerpc/include/asm/mediabay.h | 98 +++--- .../include/asm/nohash/32/hugetlb-8xx.h | 120 ++++---- .../powerpc/include/asm/nohash/64/pgalloc.h | 134 ++++----- .../kernel/arch/powerpc/include/asm/ohare.h | 110 +++---- .../kernel/arch/powerpc/include/asm/page_32.h | 116 ++++---- .../arch/powerpc/include/asm/papr-sysparm.h | 86 +++--- .../arch/powerpc/include/asm/perf_event.h | 96 +++--- .../kernel/arch/powerpc/include/asm/ps3stor.h | 118 ++++---- .../arch/powerpc/include/asm/pte-walk.h | 126 ++++---- .../powerpc/include/asm/qspinlock_types.h | 144 ++++----- .../arch/powerpc/include/asm/set_memory.h | 102 +++---- .../powerpc/include/asm/syscall_wrapper.h | 98 +++--- .../arch/powerpc/include/asm/syscalls_32.h | 120 ++++---- .../kernel/arch/powerpc/include/asm/udbg.h | 114 +++---- .../kernel/arch/powerpc/include/asm/unistd.h | 112 +++---- .../arch/powerpc/include/asm/vdso/getrandom.h | 108 +++---- .../arch/powerpc/include/uapi/asm/opal-prd.h | 118 ++++---- .../arch/powerpc/include/uapi/asm/ps3fb.h | 92 +++--- .../arch/powerpc/include/uapi/asm/shmbuf.h | 120 ++++---- .../arch/powerpc/include/uapi/asm/termios.h | 154 +++++----- .../arch/powerpc/kernel/cpu_setup_44x.S | 138 ++++----- .../arch/powerpc/kernel/cpu_specs_85xx.h | 114 +++---- .../arch/powerpc/kernel/epapr_paravirt.c | 148 +++++----- .../arch/powerpc/kernel/ptrace/ptrace-novsx.c | 128 ++++---- .../arch/powerpc/kernel/ptrace/ptrace-spe.c | 120 ++++---- .../kernel/arch/powerpc/kernel/secure_boot.c | 136 ++++----- .../kernel/arch/powerpc/kernel/setup.h | 134 ++++----- .../arch/powerpc/kernel/syscalls/Makefile | 96 +++--- .../arch/powerpc/kernel/vdso/datapage.S | 128 ++++---- .../arch/powerpc/kernel/vdso/getrandom.S | 116 ++++---- .../arch/powerpc/kernel/vdso/vgettimeofday.c | 98 +++--- .../kernel/arch/powerpc/kvm/book3s.h | 74 ++--- .../kernel/arch/powerpc/lib/div64.S | 110 +++---- .../kernel/arch/powerpc/lib/locks.c | 130 ++++---- .../kernel/arch/powerpc/lib/restart_table.c | 112 +++---- .../kernel/arch/powerpc/lib/string_32.S | 180 ++++++------ .../kernel/arch/powerpc/lib/vmx-helper.c | 150 +++++----- .../kernel/arch/powerpc/lib/xor_vmx_glue.c | 126 ++++---- .../arch/powerpc/mm/book3s32/nohash_low.S | 160 +++++----- .../kernel/arch/powerpc/mm/ioremap_64.c | 114 +++---- .../kernel/arch/powerpc/mm/kasan/book3s_32.c | 120 ++++---- .../kernel/arch/powerpc/mm/ptdump/8xx.c | 178 +++++------ .../kernel/arch/powerpc/mm/ptdump/shared.c | 174 +++++------ .../kernel/arch/powerpc/perf/hv-common.h | 94 +++--- .../kernel/arch/powerpc/platforms/44x/ebony.c | 122 ++++---- .../arch/powerpc/platforms/44x/sam440ep.c | 138 ++++----- .../arch/powerpc/platforms/512x/mpc5121_ads.c | 142 ++++----- .../arch/powerpc/platforms/52xx/Kconfig | 112 +++---- .../arch/powerpc/platforms/83xx/mpc834x_itx.c | 140 ++++----- .../arch/powerpc/platforms/83xx/mpc837x_rdb.c | 148 +++++----- .../arch/powerpc/platforms/85xx/mpc8536_ds.c | 132 ++++----- .../powerpc/platforms/85xx/mpc85xx_8259.c | 128 ++++---- .../arch/powerpc/platforms/85xx/p1010rdb.c | 154 +++++----- .../arch/powerpc/platforms/85xx/p2020.c | 162 +++++----- .../arch/powerpc/platforms/85xx/qemu_e500.c | 126 ++++---- .../arch/powerpc/platforms/85xx/socrates.c | 158 +++++----- .../kernel/arch/powerpc/platforms/86xx/pic.c | 138 ++++----- .../arch/powerpc/platforms/8xx/mpc86xads.h | 94 +++--- .../arch/powerpc/platforms/8xx/mpc885ads.h | 98 +++--- .../arch/powerpc/platforms/cell/spufs/gang.c | 150 +++++----- .../powerpc/platforms/embedded6xx/gamecube.c | 178 +++++------ .../arch/powerpc/platforms/powernv/Makefile | 66 ++--- .../platforms/powernv/opal-tracepoints.c | 174 +++++------ .../powerpc/platforms/powernv/opal-wrappers.S | 126 ++++---- .../powerpc/platforms/powernv/subcore-asm.S | 182 ++++++------ .../powerpc/platforms/powernv/ultravisor.c | 140 ++++----- .../arch/powerpc/platforms/pseries/Makefile | 80 ++--- .../arch/powerpc/platforms/pseries/kexec.c | 126 ++++---- .../arch/powerpc/platforms/pseries/power.c | 144 ++++----- .../kernel/arch/powerpc/sysdev/Makefile | 102 +++---- .../kernel/arch/powerpc/sysdev/cpm_gpio.c | 160 +++++----- .../kernel/arch/powerpc/sysdev/dart.h | 128 ++++---- .../kernel/arch/powerpc/sysdev/fsl_pmc.c | 168 +++++------ .../kernel/arch/powerpc/sysdev/ipic.h | 112 +++---- .../kernel/arch/powerpc/sysdev/mpic.h | 120 ++++---- .../kernel/arch/powerpc/sysdev/of_rtc.c | 118 ++++---- .../arch/powerpc/sysdev/rtc_cmos_setup.c | 140 ++++----- .../dts/allwinner/sun20i-d1-lichee-rv.dts | 174 +++++------ .../riscv/boot/dts/allwinner/sun20i-d1.dtsi | 132 ++++----- .../boot/dts/sophgo/sg2042-milkv-pioneer.dts | 216 +++++++------- .../arch/riscv/include/asm/arch_hweight.h | 156 +++++----- .../arch/riscv/include/asm/archrandom.h | 144 ++++----- .../kernel/arch/riscv/include/asm/extable.h | 104 +++---- .../kernel/arch/riscv/include/asm/fixmap.h | 134 ++++----- .../kernel/arch/riscv/include/asm/hugetlb.h | 114 +++---- .../kernel/arch/riscv/include/asm/image.h | 130 ++++---- .../arch/riscv/include/asm/jump_label.h | 128 ++++---- .../kernel/arch/riscv/include/asm/kasan.h | 90 +++--- .../arch/riscv/include/asm/kvm_vcpu_fp.h | 118 ++++---- .../arch/riscv/include/asm/kvm_vcpu_timer.h | 104 +++---- .../arch/riscv/include/asm/membarrier.h | 100 +++---- .../arch/riscv/include/asm/pgtable-bits.h | 84 +++--- .../kernel/arch/riscv/include/asm/simd.h | 128 ++++---- .../kernel/arch/riscv/include/asm/string.h | 88 +++--- .../kernel/arch/riscv/include/asm/timex.h | 182 ++++++------ .../arch/riscv/include/asm/word-at-a-time.h | 152 +++++----- .../kernel/arch/riscv/include/asm/xip_fixup.h | 98 +++--- .../kernel/arch/riscv/include/asm/xor.h | 136 ++++----- .../arch/riscv/include/uapi/asm/ucontext.h | 76 ++--- .../kernel/arch/riscv/kernel/copy-unaligned.S | 142 ++++----- .../kernel/arch/riscv/kernel/cpu-hotplug.c | 154 +++++----- .../arch/riscv/kernel/crash_save_regs.S | 112 +++---- .../kernel/arch/riscv/kernel/hibernate-asm.S | 152 +++++----- .../kernel/arch/riscv/kernel/pi/Makefile | 84 +++--- .../arch/riscv/kernel/pi/cmdline_early.c | 136 ++++----- .../kernel/arch/riscv/kernel/vdso/vdso.lds.S | 172 +++++------ .../arch/riscv/kernel/vendor_extensions.c | 112 +++---- .../kernel/arch/riscv/kvm/trace.h | 134 ++++----- .../kernel/arch/riscv/lib/clear_page.S | 148 +++++----- .../UFI003_MB_V02/kernel/arch/riscv/lib/xor.S | 162 +++++----- .../kernel/arch/s390/appldata/appldata.h | 96 +++--- .../UFI003_MB_V02/kernel/arch/s390/boot/als.c | 162 +++++----- .../kernel/arch/s390/boot/decompressor.c | 150 +++++----- .../kernel/arch/s390/include/asm/appldata.h | 136 ++++----- .../arch/s390/include/asm/arch_hweight.h | 154 +++++----- .../kernel/arch/s390/include/asm/bug.h | 142 ++++----- .../kernel/arch/s390/include/asm/chsc.h | 168 +++++------ .../kernel/arch/s390/include/asm/clp.h | 118 ++++---- .../kernel/arch/s390/include/asm/ebcdic.h | 94 +++--- .../arch/s390/include/asm/entry-common.h | 124 ++++---- .../kernel/arch/s390/include/asm/jump_label.h | 110 +++---- .../kernel/arch/s390/include/asm/kmsan.h | 118 ++++---- .../kernel/arch/s390/include/asm/mmu.h | 96 +++--- .../kernel/arch/s390/include/asm/module.h | 110 +++---- .../kernel/arch/s390/include/asm/os_info.h | 150 +++++----- .../arch/s390/include/asm/page-states.h | 160 +++++----- .../kernel/arch/s390/include/asm/stp.h | 196 ++++++------ .../arch/s390/include/asm/vdso/gettimeofday.h | 120 ++++---- .../arch/s390/include/asm/word-at-a-time.h | 130 ++++---- .../arch/s390/include/uapi/asm/hwctrset.h | 102 +++---- .../kernel/arch/s390/include/uapi/asm/hypfs.h | 110 +++---- .../arch/s390/include/uapi/asm/posix_types.h | 116 ++++---- .../s390/include/uapi/asm/runtime_instr.h | 148 +++++----- .../arch/s390/include/uapi/asm/sigcontext.h | 170 +++++------ .../kernel/arch/s390/kernel/audit.c | 162 +++++----- .../kernel/arch/s390/kernel/kexec_image.c | 134 ++++----- .../arch/s390/kernel/machine_kexec_reloc.c | 112 +++---- .../kernel/arch/s390/kernel/perf_regs.c | 132 ++++----- .../kernel/arch/s390/kernel/reipl.S | 154 +++++----- .../s390/kernel/vdso64/vdso_user_wrapper.S | 104 +++---- .../kernel/arch/s390/kvm/Kconfig | 110 +++---- .../UFI003_MB_V02/kernel/arch/s390/kvm/pci.h | 174 +++++------ .../kernel/arch/s390/lib/test_kprobes.c | 152 +++++----- .../kernel/arch/s390/lib/test_modules.h | 106 +++---- .../kernel/arch/s390/net/bpf_jit.h | 110 +++---- .../kernel/arch/s390/purgatory/Makefile | 92 +++--- .../kernel/arch/sh/boards/Makefile | 76 ++--- .../kernel/arch/sh/boards/board-edosk7705.c | 158 +++++----- .../arch/sh/boards/board-secureedge5410.c | 150 +++++----- .../sh/boards/mach-highlander/irq-r7780mp.c | 142 ++++----- .../sh/boards/mach-highlander/irq-r7780rp.c | 128 ++++---- .../kernel/arch/sh/boards/mach-landisk/irq.c | 126 ++++---- .../kernel/arch/sh/boards/mach-sdk7786/fpga.c | 138 ++++----- .../kernel/arch/sh/boards/mach-sdk7786/nmi.c | 160 +++++----- .../kernel/arch/sh/boards/mach-sdk7786/sram.c | 138 ++++----- .../arch/sh/boards/mach-se/7751/setup.c | 120 ++++---- .../kernel/arch/sh/boards/mach-se/7780/irq.c | 130 ++++---- .../kernel/arch/sh/boot/compressed/Makefile | 114 +++---- .../kernel/arch/sh/boot/dts/j2_mimas_v2.dts | 194 ++++++------ .../kernel/arch/sh/boot/romimage/head.S | 170 +++++------ .../arch/sh/configs/dreamcast_defconfig | 142 ++++----- .../sh/configs/ecovec24-romimage_defconfig | 114 +++---- .../kernel/arch/sh/configs/hp6xx_defconfig | 120 ++++---- .../sh/configs/kfr2r09-romimage_defconfig | 104 +++---- .../kernel/arch/sh/configs/lboxre2_defconfig | 122 ++++---- .../kernel/arch/sh/configs/rsk7201_defconfig | 126 ++++---- .../kernel/arch/sh/configs/rsk7269_defconfig | 112 +++---- .../arch/sh/drivers/pci/fixups-landisk.c | 114 +++---- .../arch/sh/drivers/pci/fixups-rts7751r2d.c | 128 ++++---- .../arch/sh/drivers/pci/fixups-sdk7786.c | 128 ++++---- .../kernel/arch/sh/drivers/pci/pci-sh7780.h | 86 +++--- .../kernel/arch/sh/include/asm/barrier.h | 90 +++--- .../kernel/arch/sh/include/asm/bitops-cas.h | 188 ++++++------ .../kernel/arch/sh/include/asm/bitops.h | 144 ++++----- .../kernel/arch/sh/include/asm/dma-register.h | 100 +++---- .../kernel/arch/sh/include/asm/fpu.h | 144 ++++----- .../kernel/arch/sh/include/asm/ftrace.h | 116 ++++---- .../kernel/arch/sh/include/asm/futex.h | 144 ++++----- .../kernel/arch/sh/include/asm/io_trapped.h | 118 ++++---- .../arch/sh/include/asm/pgtable-3level.h | 118 ++++---- .../kernel/arch/sh/include/asm/syscall_32.h | 138 ++++----- .../kernel/arch/sh/include/asm/tlbflush.h | 104 +++---- .../kernel/arch/sh/include/asm/traps_32.h | 128 ++++---- .../kernel/arch/sh/include/asm/uncached.h | 118 ++++---- .../arch/sh/include/asm/word-at-a-time.h | 112 +++---- .../arch/sh/include/cpu-sh2/cpu/watchdog.h | 132 ++++----- .../kernel/arch/sh/include/cpu-sh4/cpu/shx3.h | 130 ++++---- .../arch/sh/include/mach-common/mach/hp6xx.h | 118 ++++---- .../include/mach-common/mach/magicpanelr2.h | 128 ++++---- .../sh/include/mach-common/mach/mangle-port.h | 92 +++--- .../include/mach-common/mach/secureedge5410.h | 94 +++--- .../sh/include/mach-common/mach/sh7785lcr.h | 116 ++++---- .../sh/include/mach-dreamcast/mach/sysasic.h | 92 +++--- .../mach-ecovec24/mach/partner-jet-setup.txt | 164 +++++------ .../mach-landisk/mach/iodata_landisk.h | 92 +++--- .../arch/sh/include/mach-se/mach/mrshpc.h | 106 +++---- .../arch/sh/include/mach-se/mach/se7724.h | 138 ++++----- .../arch/sh/include/uapi/asm/ptrace_32.h | 156 +++++----- .../kernel/arch/sh/include/uapi/asm/stat.h | 156 +++++----- .../kernel/arch/sh/kernel/Makefile | 100 +++---- .../kernel/arch/sh/kernel/cpu/clock-cpg.c | 156 +++++----- .../kernel/arch/sh/kernel/cpu/fpu.c | 184 ++++++------ .../arch/sh/kernel/cpu/sh2/clock-sh7619.c | 148 +++++----- .../arch/sh/kernel/cpu/sh2a/clock-sh7203.c | 156 +++++----- .../arch/sh/kernel/cpu/sh2a/opcode_helper.c | 106 +++---- .../kernel/arch/sh/kernel/cpu/sh2a/probe.c | 114 +++---- .../arch/sh/kernel/cpu/sh3/clock-sh7710.c | 150 +++++----- .../arch/sh/kernel/cpu/sh3/clock-sh7712.c | 136 ++++----- .../kernel/arch/sh/kernel/cpu/sh3/ex.S | 112 +++---- .../kernel/arch/sh/kernel/cpu/sh3/setup-sh3.c | 138 ++++----- .../arch/sh/kernel/cpu/sh4a/clock-sh7770.c | 140 ++++----- .../kernel/arch/sh/kernel/nmi_debug.c | 150 +++++----- .../kernel/arch/sh/kernel/process.c | 154 +++++----- .../kernel/arch/sh/kernel/reboot.c | 192 ++++++------ .../kernel/arch/sh/kernel/stacktrace.c | 158 +++++----- .../kernel/arch/sh/kernel/topology.c | 148 +++++----- .../kernel/arch/sh/kernel/vmlinux.lds.S | 164 +++++------ .../sh/kernel/vsyscall/vsyscall-sigreturn.S | 150 +++++----- .../kernel/arch/sh/lib/__clear_user.S | 218 +++++++------- .../kernel/arch/sh/lib/memset-sh4.S | 216 +++++++------- .../kernel/arch/sh/mm/asids-debugfs.c | 118 ++++---- .../kernel/arch/sh/mm/cache-j2.c | 128 ++++---- .../kernel/arch/sh/mm/consistent.c | 130 ++++---- .../UFI003_MB_V02/kernel/arch/sh/mm/kmap.c | 132 ++++----- .../UFI003_MB_V02/kernel/arch/sh/mm/nommu.c | 200 ++++++------- .../UFI003_MB_V02/kernel/arch/sh/mm/numa.c | 106 +++---- .../UFI003_MB_V02/kernel/arch/sh/mm/pgtable.c | 118 ++++---- .../kernel/arch/sh/tools/mach-types | 134 ++++----- .../kernel/arch/sparc/crypto/sha1_asm.S | 146 ++++----- .../kernel/arch/sparc/crypto/sha256_asm.S | 158 +++++----- .../kernel/arch/sparc/include/asm/bitops_64.h | 126 ++++---- .../kernel/arch/sparc/include/asm/dcu.h | 56 ++-- .../kernel/arch/sparc/include/asm/hugetlb.h | 120 ++++---- .../arch/sparc/include/asm/iommu-common.h | 106 +++---- .../kernel/arch/sparc/include/asm/machines.h | 102 +++---- .../kernel/arch/sparc/include/asm/pbm.h | 96 +++--- .../arch/sparc/include/asm/pgalloc_32.h | 154 +++++----- .../kernel/arch/sparc/include/asm/psr.h | 136 ++++----- .../kernel/arch/sparc/include/asm/setup.h | 144 ++++----- .../kernel/arch/sparc/include/asm/smp_64.h | 168 +++++------ .../arch/sparc/include/asm/tlbflush_64.h | 142 ++++----- .../arch/sparc/include/asm/topology_64.h | 130 ++++---- .../kernel/arch/sparc/include/asm/visasm.h | 134 ++++----- .../kernel/arch/sparc/include/asm/vvar.h | 150 +++++----- .../kernel/arch/sparc/include/uapi/asm/apc.h | 130 ++++---- .../arch/sparc/include/uapi/asm/fcntl.h | 114 +++---- .../arch/sparc/include/uapi/asm/posix_types.h | 120 ++++---- .../arch/sparc/include/uapi/asm/shmbuf.h | 102 +++---- .../kernel/arch/sparc/include/uapi/asm/uctx.h | 144 ++++----- .../arch/sparc/include/uapi/asm/utrap.h | 104 +++---- .../kernel/arch/sparc/kernel/asm-offsets.c | 120 ++++---- .../kernel/arch/sparc/kernel/dtlb_prot.S | 110 +++---- .../kernel/arch/sparc/kernel/helpers.S | 132 ++++----- .../kernel/arch/sparc/kernel/power.c | 144 ++++----- .../kernel/arch/sparc/kernel/psycho_common.h | 98 +++--- .../kernel/arch/sparc/lib/GENpage.S | 156 +++++----- .../kernel/arch/sparc/lib/NG4copy_page.S | 116 ++++---- .../kernel/arch/sparc/lib/NG4patch.S | 128 ++++---- .../kernel/arch/sparc/lib/muldi3.S | 132 ++++----- .../kernel/arch/sparc/lib/strlen.S | 166 +++++------ .../kernel/arch/sparc/lib/strncmp_32.S | 242 +++++++-------- .../kernel/arch/sparc/net/bpf_jit_32.h | 138 ++++----- .../kernel/arch/sparc/prom/init_32.c | 152 +++++----- .../kernel/arch/sparc/prom/printf.c | 140 ++++----- .../kernel/arch/um/configs/i386_defconfig | 146 ++++----- .../kernel/arch/um/configs/x86_64_defconfig | 144 ++++----- .../kernel/arch/um/drivers/chan.h | 98 +++--- .../kernel/arch/um/drivers/chan_user.h | 108 +++---- .../kernel/arch/um/drivers/rtc_user.c | 162 +++++----- .../kernel/arch/um/drivers/stderr_console.c | 126 ++++---- .../kernel/arch/um/drivers/tty.c | 162 +++++----- .../kernel/arch/um/drivers/ubd_user.c | 156 +++++----- .../kernel/arch/um/drivers/xterm_kern.c | 166 +++++------ .../kernel/arch/um/include/asm/common.lds.S | 202 ++++++------- .../kernel/arch/um/include/asm/fixmap.h | 112 +++---- .../arch/um/include/asm/syscall-generic.h | 134 ++++----- .../kernel/arch/um/include/shared/as-layout.h | 118 ++++---- .../kernel/arch/um/include/shared/net_kern.h | 138 ++++----- .../kernel/arch/um/include/shared/net_user.h | 104 +++---- .../kernel/arch/um/kernel/exitcode.c | 158 +++++----- .../kernel/arch/um/kernel/kmsg_dump.c | 130 ++++---- .../kernel/arch/um/kernel/skas/stub.c | 138 ++++----- .../kernel/arch/um/kernel/skas/syscall.c | 112 +++---- .../kernel/arch/um/kernel/sysrq.c | 112 +++---- .../UFI003_MB_V02/kernel/arch/x86/Makefile.um | 126 ++++---- .../kernel/arch/x86/boot/bioscall.S | 158 +++++----- .../x86/boot/compressed/idt_handlers_64.S | 156 +++++----- .../kernel/arch/x86/boot/compressed/mkpiggy.c | 148 +++++----- .../kernel/arch/x86/boot/compressed/tdx.c | 154 +++++----- .../UFI003_MB_V02/kernel/arch/x86/boot/cpu.c | 172 +++++------ .../kernel/arch/x86/boot/pmjump.S | 150 +++++----- .../UFI003_MB_V02/kernel/arch/x86/boot/vesa.h | 134 ++++----- .../kernel/arch/x86/coco/tdx/tdcall.S | 126 ++++---- .../kernel/arch/x86/crypto/serpent-sse2.h | 120 ++++---- .../kernel/arch/x86/entry/vdso/vdso32-setup.c | 160 +++++----- .../kernel/arch/x86/events/Kconfig | 110 +++---- .../kernel/arch/x86/events/probe.c | 126 ++++---- .../kernel/arch/x86/include/asm/acenv.h | 108 +++---- .../kernel/arch/x86/include/asm/apm.h | 148 +++++----- .../kernel/arch/x86/include/asm/archrandom.h | 124 ++++---- .../kernel/arch/x86/include/asm/gsseg.h | 132 ++++----- .../kernel/arch/x86/include/asm/ia32.h | 184 ++++++------ .../kernel/arch/x86/include/asm/imr.h | 112 +++---- .../kernel/arch/x86/include/asm/insn-eval.h | 94 +++--- .../kernel/arch/x86/include/asm/invpcid.h | 100 +++---- .../kernel/arch/x86/include/asm/io_bitmap.h | 104 +++---- .../kernel/arch/x86/include/asm/irqdomain.h | 128 ++++---- .../kernel/arch/x86/include/asm/jump_label.h | 138 ++++----- .../kernel/arch/x86/include/asm/kfence.h | 146 ++++----- .../kernel/arch/x86/include/asm/mach_timer.h | 98 +++--- .../kernel/arch/x86/include/asm/msi.h | 142 ++++----- .../kernel/arch/x86/include/asm/msr-trace.h | 116 ++++---- .../kernel/arch/x86/include/asm/nmi.h | 130 ++++---- .../kernel/arch/x86/include/asm/numa.h | 136 ++++----- .../arch/x86/include/asm/pgtable_32_areas.h | 106 +++---- .../arch/x86/include/asm/processor-flags.h | 116 ++++---- .../kernel/arch/x86/include/asm/pvclock-abi.h | 96 +++--- .../kernel/arch/x86/include/asm/reboot.h | 86 +++--- .../arch/x86/include/asm/runtime-const.h | 122 ++++---- .../kernel/arch/x86/include/asm/shstk.h | 84 +++--- .../kernel/arch/x86/include/asm/sighandling.h | 98 +++--- .../kernel/arch/x86/include/asm/smap.h | 140 ++++----- .../kernel/arch/x86/include/asm/suspend_64.h | 128 ++++---- .../arch/x86/include/asm/trace/exceptions.h | 108 +++---- .../kernel/arch/x86/include/asm/trapnr.h | 88 +++--- .../kernel/arch/x86/include/asm/traps.h | 124 ++++---- .../kernel/arch/x86/include/asm/tsc.h | 136 ++++----- .../kernel/arch/x86/include/asm/unistd.h | 120 ++++---- .../kernel/arch/x86/include/asm/vdso.h | 114 +++---- .../kernel/arch/x86/include/asm/xen/pci.h | 134 ++++----- .../kernel/arch/x86/include/uapi/asm/mce.h | 90 +++--- .../arch/x86/include/uapi/asm/perf_regs.h | 116 ++++---- .../kernel/arch/x86/include/uapi/asm/ptrace.h | 172 +++++------ .../arch/x86/include/uapi/asm/setup_data.h | 166 +++++------ .../kernel/arch/x86/kernel/acpi/wakeup_32.S | 202 ++++++------- .../arch/x86/kernel/apic/apic_flat_64.c | 136 ++++----- .../kernel/arch/x86/kernel/apic/hw_nmi.c | 122 ++++---- .../kernel/arch/x86/kernel/asm-offsets_32.c | 116 ++++---- .../kernel/arch/x86/kernel/audit_64.c | 160 +++++----- .../kernel/arch/x86/kernel/bootflag.c | 204 ++++++------- .../kernel/arch/x86/kernel/cpu/mce/p5.c | 132 ++++----- .../kernel/arch/x86/kernel/cpu/mkcapflags.sh | 146 ++++----- .../kernel/arch/x86/kernel/crash_dump_64.c | 128 ++++---- .../kernel/arch/x86/kernel/unwind_guess.c | 144 ++++----- .../kernel/arch/x86/kvm/Makefile | 98 +++--- .../UFI003_MB_V02/kernel/arch/x86/kvm/i8254.h | 130 ++++---- .../kernel/arch/x86/kvm/svm/hyperv.h | 108 +++---- .../kernel/arch/x86/kvm/svm/svm_ops.h | 128 ++++---- .../kernel/arch/x86/lib/cmpxchg8b_emu.S | 194 ++++++------ .../kernel/arch/x86/lib/msr-reg.S | 186 ++++++------ .../kernel/arch/x86/lib/usercopy.c | 110 +++---- .../kernel/arch/x86/math-emu/div_small.S | 96 +++--- .../kernel/arch/x86/math-emu/reg_convert.c | 94 +++--- .../kernel/arch/x86/mm/debug_pagetables.c | 150 +++++----- .../kernel/arch/x86/mm/pat/memtype.h | 98 +++--- .../UFI003_MB_V02/kernel/arch/x86/pci/early.c | 118 ++++---- .../kernel/arch/x86/pci/legacy.c | 154 +++++----- .../kernel/arch/x86/platform/geode/geos.c | 118 ++++---- .../arch/x86/platform/olpc/olpc-xo1-rtc.c | 160 +++++----- .../kernel/arch/x86/realmode/rm/wakemain.c | 174 +++++------ .../kernel/arch/x86/tools/relocs_common.c | 170 +++++------ .../kernel/arch/x86/um/os-Linux/tls.c | 138 ++++----- .../arch/x86/um/shared/sysdep/ptrace_64.h | 124 ++++---- .../kernel/arch/x86/um/syscalls_64.c | 128 ++++---- .../kernel/arch/x86/um/vdso/Makefile | 124 ++++---- .../kernel/arch/x86/um/vdso/vdso-layout.lds.S | 130 ++++---- .../kernel/arch/x86/um/vdso/vma.c | 152 +++++----- .../UFI003_MB_V02/kernel/arch/x86/xen/irq.c | 118 ++++---- .../kernel/arch/x86/xen/mmu_hvm.c | 138 ++++----- .../kernel/arch/x86/xen/suspend.c | 164 +++++------ .../kernel/arch/xtensa/Kconfig.debug | 96 +++--- .../kernel/arch/xtensa/boot/Makefile | 106 +++---- .../arch/xtensa/boot/boot-elf/bootstrap.S | 158 +++++----- .../kernel/arch/xtensa/boot/dts/virt.dts | 144 ++++----- .../arch/xtensa/configs/common_defconfig | 110 +++---- .../arch/xtensa/include/asm/bootparam.h | 100 +++---- .../kernel/arch/xtensa/include/asm/core.h | 136 ++++----- .../kernel/arch/xtensa/include/asm/delay.h | 150 +++++----- .../kernel/arch/xtensa/include/asm/dma.h | 110 +++---- .../arch/xtensa/include/asm/hw_breakpoint.h | 124 ++++---- .../kernel/arch/xtensa/include/asm/io.h | 124 ++++---- .../arch/xtensa/include/asm/jump_label.h | 130 ++++---- .../arch/xtensa/include/asm/pci-bridge.h | 152 +++++----- .../kernel/arch/xtensa/include/asm/pgalloc.h | 134 ++++----- .../kernel/arch/xtensa/include/asm/sections.h | 90 +++--- .../kernel/arch/xtensa/include/asm/timex.h | 120 ++++---- .../arch/xtensa/include/uapi/asm/msgbuf.h | 100 +++---- .../arch/xtensa/include/uapi/asm/shmbuf.h | 108 +++---- .../arch/xtensa/include/uapi/asm/stat.h | 120 ++++---- .../kernel/arch/xtensa/kernel/mcount.S | 172 +++++------ .../kernel/arch/xtensa/lib/udivsi3.S | 138 ++++----- .../kernel/arch/xtensa/mm/highmem.c | 118 ++++---- .../xtfpga/include/platform/hardware.h | 120 ++++---- .../kernel/block/Kconfig.iosched | 94 +++--- .../UFI003_MB_V02/kernel/block/Makefile | 80 ++--- .../kernel/block/blk-cgroup-fc-appid.c | 114 +++---- .../kernel/crypto/aegis128-neon.c | 138 ++++----- .../crypto/asymmetric_keys/x509_akid.asn1 | 100 +++---- .../crypto/asymmetric_keys/x509_loader.c | 116 ++++---- .../kernel/crypto/jitterentropy.h | 64 ++-- image/debian/UFI003_MB_V02/kernel/fs/9p/acl.h | 108 +++---- .../debian/UFI003_MB_V02/kernel/fs/9p/cache.c | 152 +++++----- .../UFI003_MB_V02/kernel/fs/affs/symlink.c | 150 +++++----- .../UFI003_MB_V02/kernel/fs/bcachefs/Makefile | 202 ++++++------- .../UFI003_MB_V02/kernel/fs/bcachefs/acl.h | 120 ++++---- .../kernel/fs/bcachefs/bkey_buf.h | 122 ++++---- .../kernel/fs/bcachefs/data_update.h | 110 +++---- .../kernel/fs/bcachefs/errcode.c | 142 ++++----- .../kernel/fs/bcachefs/fs-common.h | 90 +++--- .../kernel/fs/bcachefs/keylist.h | 144 ++++----- .../UFI003_MB_V02/kernel/fs/bcachefs/lru.h | 112 +++---- .../kernel/fs/bcachefs/nocow_locking.h | 100 +++---- .../UFI003_MB_V02/kernel/fs/bcachefs/super.h | 108 +++---- .../UFI003_MB_V02/kernel/fs/bcachefs/sysfs.h | 96 +++--- .../UFI003_MB_V02/kernel/fs/bcachefs/xattr.h | 98 +++--- .../debian/UFI003_MB_V02/kernel/fs/befs/io.c | 122 ++++---- .../kernel/fs/btrfs/async-thread.h | 102 +++---- .../kernel/fs/btrfs/dev-replace.h | 82 +++--- .../kernel/fs/btrfs/raid-stripe-tree.h | 108 +++---- .../UFI003_MB_V02/kernel/fs/btrfs/root-tree.h | 84 +++--- .../UFI003_MB_V02/kernel/fs/btrfs/sysfs.h | 102 +++---- .../kernel/fs/btrfs/tests/btrfs-tests.h | 116 ++++---- .../kernel/fs/cachefiles/Kconfig | 80 ++--- .../UFI003_MB_V02/kernel/fs/ceph/Kconfig | 104 +++---- .../kernel/fs/cramfs/uncompress.c | 160 +++++----- .../kernel/fs/debugfs/internal.h | 114 +++---- .../UFI003_MB_V02/kernel/fs/dlm/config.h | 116 ++++---- .../UFI003_MB_V02/kernel/fs/dlm/midcomms.h | 84 +++--- .../UFI003_MB_V02/kernel/fs/dlm/recover.h | 64 ++-- .../debian/UFI003_MB_V02/kernel/fs/dlm/util.c | 132 ++++----- .../UFI003_MB_V02/kernel/fs/ext2/Kconfig | 100 +++---- .../debian/UFI003_MB_V02/kernel/fs/ext2/acl.h | 146 ++++----- .../kernel/fs/ext2/xattr_security.c | 118 ++++---- .../debian/UFI003_MB_V02/kernel/fs/ext4/acl.h | 148 +++++----- .../UFI003_MB_V02/kernel/fs/ext4/truncate.h | 104 +++---- .../UFI003_MB_V02/kernel/fs/ext4/xattr_hurd.c | 104 +++---- .../kernel/fs/ext4/xattr_security.c | 132 ++++----- .../kernel/fs/freevxfs/vxfs_extern.h | 98 +++--- .../UFI003_MB_V02/kernel/fs/gfs2/Kconfig | 74 ++--- .../UFI003_MB_V02/kernel/fs/gfs2/trans.h | 104 +++---- .../UFI003_MB_V02/kernel/fs/hpfs/dentry.c | 124 ++++---- .../UFI003_MB_V02/kernel/fs/isofs/Kconfig | 82 +++--- .../UFI003_MB_V02/kernel/fs/jbd2/Kconfig | 72 ++--- .../UFI003_MB_V02/kernel/fs/jffs2/LICENCE | 60 ++-- .../kernel/fs/jffs2/jffs2_fs_i.h | 112 +++---- .../UFI003_MB_V02/kernel/fs/jfs/Kconfig | 102 +++---- .../UFI003_MB_V02/kernel/fs/minix/itree_v2.c | 150 +++++----- .../UFI003_MB_V02/kernel/fs/nfs/Makefile | 76 ++--- .../UFI003_MB_V02/kernel/fs/nfs/iostat.h | 122 ++++---- .../UFI003_MB_V02/kernel/fs/nfs/nfs4trace.c | 80 ++--- .../UFI003_MB_V02/kernel/fs/nfs/symlink.c | 154 +++++----- .../kernel/fs/nfsd/blocklayoutxdr.h | 124 ++++---- .../kernel/fs/nfsd/current_stateid.h | 82 +++--- .../UFI003_MB_V02/kernel/fs/nilfs2/btnode.h | 94 +++--- .../UFI003_MB_V02/kernel/fs/nilfs2/dat.h | 94 +++--- .../UFI003_MB_V02/kernel/fs/nilfs2/page.h | 110 +++---- .../UFI003_MB_V02/kernel/fs/nls/nls_koi8-ru.c | 166 +++++------ .../UFI003_MB_V02/kernel/fs/ntfs3/debug.h | 110 +++---- .../kernel/fs/ocfs2/buffer_head_io.h | 116 ++++---- .../kernel/fs/ocfs2/localalloc.h | 104 +++---- .../UFI003_MB_V02/kernel/fs/proc/kmsg.c | 126 ++++---- .../UFI003_MB_V02/kernel/fs/proc/self.c | 146 ++++----- .../UFI003_MB_V02/kernel/fs/pstore/internal.h | 104 +++---- .../kernel/fs/quota/quotaio_v1.h | 72 ++--- .../UFI003_MB_V02/kernel/fs/ramfs/file-mmu.c | 110 +++---- .../UFI003_MB_V02/kernel/fs/smb/client/asn1.c | 130 ++++---- .../kernel/fs/smb/client/cifs_swn.h | 104 +++---- .../kernel/fs/smb/client/export.c | 106 +++---- .../UFI003_MB_V02/kernel/fs/smb/client/unc.c | 138 ++++----- .../fs/smb/common/smbdirect/smbdirect_pdu.h | 110 +++---- .../kernel/fs/smb/server/mgmt/tree_connect.h | 130 ++++---- .../kernel/fs/smb/server/mgmt/user_config.h | 140 ++++----- .../kernel/fs/smb/server/server.h | 148 +++++----- .../kernel/fs/squashfs/decompressor.h | 108 +++---- .../kernel/fs/squashfs/page_actor.h | 118 ++++---- .../kernel/fs/squashfs/squashfs_fs_sb.h | 146 ++++----- .../UFI003_MB_V02/kernel/fs/sysv/Kconfig | 76 ++--- .../UFI003_MB_V02/kernel/fs/sysv/file.c | 118 ++++---- .../UFI003_MB_V02/kernel/fs/udf/lowlevel.c | 124 ++++---- .../UFI003_MB_V02/kernel/fs/udf/udfend.h | 156 +++++----- .../UFI003_MB_V02/kernel/fs/ufs/Kconfig | 90 +++--- .../UFI003_MB_V02/kernel/fs/verity/init.c | 138 ++++----- .../kernel/fs/xfs/libxfs/xfs_attr_sf.h | 116 ++++---- .../kernel/fs/xfs/libxfs/xfs_bit.h | 150 +++++----- .../kernel/fs/xfs/libxfs/xfs_inode_buf.h | 108 +++---- .../kernel/fs/xfs/libxfs/xfs_sb.h | 94 +++--- .../kernel/fs/xfs/scrub/dabtree.h | 92 +++--- .../kernel/fs/xfs/scrub/findparent.h | 112 +++---- .../kernel/fs/xfs/scrub/quotacheck.h | 152 +++++----- .../UFI003_MB_V02/kernel/fs/xfs/scrub/stats.h | 118 ++++---- .../kernel/fs/xfs/scrub/tempfile.h | 96 +++--- .../UFI003_MB_V02/kernel/fs/xfs/scrub/trace.c | 116 ++++---- .../kernel/fs/xfs/xfs_exchrange.h | 104 +++---- .../UFI003_MB_V02/kernel/fs/xfs/xfs_export.h | 124 ++++---- .../UFI003_MB_V02/kernel/fs/xfs/xfs_globals.c | 118 ++++---- .../UFI003_MB_V02/kernel/fs/xfs/xfs_iomap.h | 116 ++++---- .../UFI003_MB_V02/kernel/fs/xfs/xfs_pwork.h | 118 ++++---- .../UFI003_MB_V02/kernel/fs/xfs/xfs_rtalloc.h | 118 ++++---- .../UFI003_MB_V02/kernel/include/acpi/acpi.h | 66 ++--- .../UFI003_MB_V02/kernel/include/acpi/apei.h | 114 +++---- .../UFI003_MB_V02/kernel/include/acpi/pcc.h | 110 +++---- .../kernel/include/acpi/proc_cap_intel.h | 80 ++--- .../kernel/include/asm-generic/Kbuild | 130 ++++---- .../kernel/include/asm-generic/access_ok.h | 96 +++--- .../include/asm-generic/bitops/atomic.h | 140 ++++----- .../asm-generic/bitops/const_hweight.h | 88 +++--- .../kernel/include/asm-generic/checksum.h | 130 ++++---- .../include/asm-generic/cmpxchg-local.h | 136 ++++----- .../include/asm-generic/early_ioremap.h | 94 +++--- .../kernel/include/asm-generic/irqflags.h | 134 ++++----- .../kernel/include/asm-generic/memory_model.h | 138 ++++----- .../kernel/include/asm-generic/mmiowb.h | 130 ++++---- .../kernel/include/asm-generic/mmu_context.h | 152 +++++----- .../kernel/include/asm-generic/numa.h | 112 +++---- .../include/asm-generic/pgtable-nop4d.h | 116 ++++---- .../kernel/include/clocksource/timer-xilinx.h | 146 ++++----- .../kernel/include/crypto/blake2b.h | 132 ++++----- .../kernel/include/crypto/chacha20poly1305.h | 100 +++---- .../UFI003_MB_V02/kernel/include/crypto/ctr.h | 130 ++++---- .../UFI003_MB_V02/kernel/include/crypto/des.h | 114 +++---- .../kernel/include/crypto/ecc_curve.h | 124 ++++---- .../UFI003_MB_V02/kernel/include/crypto/gcm.h | 170 +++++------ .../include/crypto/internal/kdf_selftest.h | 142 ++++----- .../kernel/include/crypto/internal/rsa.h | 114 +++---- .../UFI003_MB_V02/kernel/include/crypto/sm3.h | 128 ++++---- .../kernel/include/drm/bridge/analogix_dp.h | 102 +++---- .../kernel/include/drm/bridge/aux-bridge.h | 104 +++---- .../kernel/include/drm/drm_modeset_helper.h | 88 +++--- .../kernel/include/drm/drm_probe_helper.h | 92 +++--- .../drm/intel/i915_gsc_proxy_mei_interface.h | 106 +++---- .../drm/intel/i915_pxp_tee_interface.h | 124 ++++---- .../include/drm/intel/intel_lpe_audio.h | 102 +++---- .../include/drm/ttm/ttm_range_manager.h | 112 +++---- .../dt-bindings/clock/actions,s500-cmu.h | 170 +++++------ .../include/dt-bindings/clock/aspeed-clock.h | 114 +++---- .../kernel/include/dt-bindings/clock/at91.h | 116 ++++---- .../include/dt-bindings/clock/bcm21664.h | 108 +++---- .../include/dt-bindings/clock/bcm2835.h | 124 ++++---- .../kernel/include/dt-bindings/clock/dm814.h | 84 +++--- .../include/dt-bindings/clock/exynos5410.h | 128 ++++---- .../dt-bindings/clock/ingenic,jz4755-cgu.h | 98 +++--- .../dt-bindings/clock/ingenic,jz4760-cgu.h | 112 +++---- .../dt-bindings/clock/ingenic,jz4770-cgu.h | 118 ++++---- .../dt-bindings/clock/ingenic,x1000-cgu.h | 116 ++++---- .../dt-bindings/clock/ingenic,x1830-cgu.h | 114 +++---- .../include/dt-bindings/clock/lpc32xx-clock.h | 116 ++++---- .../dt-bindings/clock/marvell,pxa1928.h | 110 +++---- .../dt-bindings/clock/marvell,pxa910.h | 116 ++++---- .../dt-bindings/clock/microchip,mpfs-clock.h | 152 +++++----- .../include/dt-bindings/clock/pxa-clock.h | 148 +++++----- .../dt-bindings/clock/qcom,dispcc-sc7180.h | 92 +++--- .../dt-bindings/clock/qcom,dispcc-sm6350.h | 96 +++--- .../dt-bindings/clock/qcom,gpucc-sm8350.h | 104 +++---- .../clock/qcom,lpassaudiocc-sc7280.h | 96 +++--- .../dt-bindings/clock/qcom,sa8775p-gpucc.h | 100 +++---- .../dt-bindings/clock/qcom,sm4450-dispcc.h | 102 +++---- .../dt-bindings/clock/qcom,sm8450-gpucc.h | 96 +++--- .../dt-bindings/clock/qcom,sm8550-gpucc.h | 96 +++--- .../include/dt-bindings/clock/r8a73a4-clock.h | 128 ++++---- .../include/dt-bindings/clock/r8a7740-clock.h | 148 +++++----- .../dt-bindings/clock/r8a774a1-cpg-mssr.h | 118 ++++---- .../dt-bindings/clock/r8a774b1-cpg-mssr.h | 114 +++---- .../dt-bindings/clock/r8a774c0-cpg-mssr.h | 122 ++++---- .../dt-bindings/clock/r8a774e1-cpg-mssr.h | 118 ++++---- .../include/dt-bindings/clock/r8a7778-clock.h | 138 ++++----- .../include/dt-bindings/clock/r8a7779-clock.h | 120 ++++---- .../dt-bindings/clock/r8a77965-cpg-mssr.h | 124 ++++---- .../dt-bindings/clock/r8a77980-cpg-mssr.h | 102 +++---- .../dt-bindings/clock/r8a77990-cpg-mssr.h | 124 ++++---- .../dt-bindings/clock/r8a77995-cpg-mssr.h | 108 +++---- .../dt-bindings/clock/r8a779a0-cpg-mssr.h | 110 +++---- .../dt-bindings/clock/sophgo,sg2042-rpgate.h | 116 ++++---- .../include/dt-bindings/clock/stm32fx-clock.h | 126 ++++---- .../dt-bindings/clock/suniv-ccu-f1c100s.h | 144 ++++----- .../include/dt-bindings/dma/jz4780-dma.h | 98 +++--- .../include/dt-bindings/dma/x2000-dma.h | 108 +++---- .../dt-bindings/gpio/amlogic-c3-gpio.h | 144 ++++----- .../include/dt-bindings/gpio/aspeed-gpio.h | 98 +++--- .../include/dt-bindings/gpio/meson-a1-gpio.h | 146 ++++----- .../include/dt-bindings/gpio/tegra-gpio.h | 104 +++---- .../include/dt-bindings/gpio/tegra186-gpio.h | 114 +++---- .../dt-bindings/interconnect/fsl,imx8mp.h | 118 ++++---- .../dt-bindings/interconnect/qcom,ipq5332.h | 92 +++--- .../dt-bindings/interconnect/qcom,ipq9574.h | 118 ++++---- .../dt-bindings/interconnect/qcom,sdx65.h | 134 ++++----- .../kernel/include/dt-bindings/mfd/as3722.h | 106 +++---- .../kernel/include/dt-bindings/mfd/max77620.h | 80 ++--- .../include/dt-bindings/net/ti-dp83869.h | 84 +++--- .../include/dt-bindings/pinctrl/am43xx.h | 110 +++---- .../kernel/include/dt-bindings/pinctrl/at91.h | 98 +++--- .../kernel/include/dt-bindings/pinctrl/hisi.h | 132 ++++----- .../dt-bindings/pinctrl/pinctrl-cv1800b.h | 126 ++++---- .../dt-bindings/power/amlogic,t7-pwrc.h | 126 ++++---- .../dt-bindings/power/mediatek,mt8188-power.h | 88 +++--- .../include/dt-bindings/power/mt8195-power.h | 92 +++--- .../include/dt-bindings/power/r8a779a0-sysc.h | 118 ++++---- .../dt-bindings/power/renesas,r8a779h0-sysc.h | 98 +++--- .../include/dt-bindings/power/rk3588-power.h | 138 ++++----- .../dt-bindings/power/tegra234-powergate.h | 78 ++--- .../regulator/qcom,rpmh-regulator.h | 72 ++--- .../regulator/st,stm32mp25-regulator.h | 96 +++--- .../dt-bindings/reset/actions,s500-reset.h | 134 ++++----- .../dt-bindings/reset/actions,s900-reset.h | 130 ++++---- .../reset/amlogic,meson-a1-reset.h | 148 +++++----- .../reset/amlogic,meson-g12a-audio-reset.h | 106 +++---- .../dt-bindings/reset/bitmain,bm1880-reset.h | 102 +++---- .../include/dt-bindings/reset/imx7-reset.h | 106 +++---- .../include/dt-bindings/reset/imx8mp-reset.h | 100 +++---- .../dt-bindings/reset/imx8ulp-pcc-reset.h | 118 ++++---- .../reset/mediatek,mt6795-resets.h | 106 +++---- .../include/dt-bindings/reset/mt7986-resets.h | 110 +++---- .../include/dt-bindings/reset/mt8186-resets.h | 82 +++--- .../dt-bindings/reset/qcom,mmcc-apq8084.h | 112 +++---- .../dt-bindings/reset/qcom,mmcc-msm8974.h | 108 +++---- .../reset/stericsson,db8500-prcc-reset.h | 102 +++---- .../dt-bindings/reset/sun50i-a100-ccu.h | 136 ++++----- .../include/dt-bindings/reset/sun50i-h6-ccu.h | 146 ++++----- .../dt-bindings/reset/sun50i-h616-ccu.h | 142 ++++----- .../dt-bindings/reset/toshiba,tmpv770x.h | 82 +++--- .../kernel/include/keys/asymmetric-subtype.h | 120 ++++---- .../kernel/include/kunit/attributes.h | 100 +++---- .../kernel/include/kunit/skbuff.h | 112 +++---- .../kernel/include/kvm/arm_hypercalls.h | 110 +++---- .../UFI003_MB_V02/kernel/include/kvm/iodev.h | 116 ++++---- .../UFI003_MB_V02/kernel/include/linux/adb.h | 134 ++++----- .../UFI003_MB_V02/kernel/include/linux/aer.h | 118 ++++---- .../kernel/include/linux/amba/sp810.h | 124 ++++---- .../kernel/include/linux/aperture.h | 124 ++++---- .../kernel/include/linux/apm-emulation.h | 122 ++++---- .../kernel/include/linux/arm-cci.h | 114 +++---- .../UFI003_MB_V02/kernel/include/linux/asn1.h | 130 ++++---- .../kernel/include/linux/ath9k_platform.h | 102 +++---- .../kernel/include/linux/backing-file.h | 90 +++--- .../include/linux/bcma/bcma_driver_mips.h | 90 +++--- .../UFI003_MB_V02/kernel/include/linux/bits.h | 108 +++---- .../kernel/include/linux/blk-cgroup.h | 102 +++---- .../kernel/include/linux/bootmem_info.h | 136 ++++----- .../kernel/include/linux/bpf-netns.h | 124 ++++---- .../kernel/include/linux/bsg-lib.h | 148 +++++----- .../kernel/include/linux/c2port.h | 118 ++++---- .../kernel/include/linux/call_once.h | 132 ++++----- .../include/linux/ceph/cls_lock_client.h | 116 ++++---- .../kernel/include/linux/ceph/striper.h | 142 ++++----- .../kernel/include/linux/cfag12864b.h | 136 ++++----- .../kernel/include/linux/comedi/comedi_8255.h | 108 +++---- .../include/linux/comedi/comedi_pcmcia.h | 96 +++--- .../kernel/include/linux/comedi/comedi_usb.h | 82 +++--- .../kernel/include/linux/count_zeros.h | 106 +++---- .../kernel/include/linux/cpu_rmap.h | 132 ++++----- .../kernel/include/linux/cpufeature.h | 116 ++++---- .../kernel/include/linux/cpuhplock.h | 98 +++--- .../kernel/include/linux/crash_reserve.h | 96 +++--- .../kernel/include/linux/debug_locks.h | 150 +++++----- .../kernel/include/linux/decompress/generic.h | 80 ++--- .../kernel/include/linux/device_cgroup.h | 134 ++++----- .../kernel/include/linux/dma/dw.h | 108 +++---- .../kernel/include/linux/dma/hsu.h | 126 ++++---- .../kernel/include/linux/dma/qcom-gpi-dma.h | 166 +++++------ .../kernel/include/linux/dma/qcom_bam_dma.h | 142 ++++----- .../kernel/include/linux/dmapool.h | 118 ++++---- .../kernel/include/linux/dns_resolver.h | 68 ++--- .../kernel/include/linux/drbd_genl_api.h | 112 +++---- .../UFI003_MB_V02/kernel/include/linux/dtpm.h | 146 ++++----- .../kernel/include/linux/dw_apb_timer.h | 102 +++---- .../kernel/include/linux/efs_vh.h | 108 +++---- .../kernel/include/linux/elfcore-compat.h | 132 ++++----- .../kernel/include/linux/errno.h | 72 ++--- .../kernel/include/linux/falloc.h | 124 ++++---- .../kernel/include/linux/fcntl.h | 96 +++--- .../kernel/include/linux/firmware/imx/dsp.h | 142 ++++----- .../kernel/include/linux/firmware/imx/ipc.h | 142 ++++----- .../kernel/include/linux/firmware/imx/sci.h | 114 +++---- .../linux/firmware/qcom/qcom_qseecom.h | 108 +++---- .../include/linux/firmware/qcom/qcom_tzmem.h | 112 +++---- .../linux/firmware/xlnx-event-manager.h | 92 +++--- .../UFI003_MB_V02/kernel/include/linux/font.h | 158 +++++----- .../kernel/include/linux/fw_table.h | 122 ++++---- .../UFI003_MB_V02/kernel/include/linux/gnss.h | 152 +++++----- .../kernel/include/linux/hid-debug.h | 106 +++---- .../kernel/include/linux/hiddev.h | 112 +++---- .../kernel/include/linux/hrtimer_types.h | 100 +++---- .../kernel/include/linux/i2c-algo-bit.h | 86 +++--- .../kernel/include/linux/i2c-mux.h | 130 ++++---- .../kernel/include/linux/i2c-smbus.h | 104 +++---- .../kernel/include/linux/if_tun.h | 164 +++++------ .../kernel/include/linux/iio/buffer.h | 116 ++++---- .../include/linux/iio/common/ssp_sensors.h | 144 ++++----- .../kernel/include/linux/iio/driver.h | 86 +++--- .../kernel/include/linux/iio/sw_device.h | 128 ++++---- .../kernel/include/linux/iio/sw_trigger.h | 128 ++++---- .../include/linux/iio/trigger_consumer.h | 106 +++---- .../UFI003_MB_V02/kernel/include/linux/in6.h | 88 +++--- .../kernel/include/linux/input/ad714x.h | 126 ++++---- .../include/linux/input/matrix_keypad.h | 90 +++--- .../kernel/include/linux/integrity.h | 130 ++++---- .../UFI003_MB_V02/kernel/include/linux/ip.h | 118 ++++---- .../kernel/include/linux/irq_sim.h | 86 +++--- .../include/linux/irqchip/arm-gic-v3-prio.h | 104 +++---- .../linux/irqchip/irq-partition-percpu.h | 106 +++---- .../kernel/include/linux/kasan-checks.h | 100 +++---- .../kernel/include/linux/kern_levels.h | 78 ++--- .../kernel/include/linux/kernel_read_file.h | 110 +++---- .../kernel/include/linux/kernelcapi.h | 90 +++--- .../UFI003_MB_V02/kernel/include/linux/lapb.h | 126 ++++---- .../kernel/include/linux/lockd/nlm.h | 116 ++++---- .../kernel/include/linux/lockd/xdr4.h | 86 +++--- .../kernel/include/linux/lockref.h | 104 +++---- .../kernel/include/linux/mailbox_client.h | 100 +++---- .../kernel/include/linux/mdio-bitbang.h | 104 +++---- .../kernel/include/linux/mfd/88pm886.h | 138 ++++----- .../kernel/include/linux/mfd/da9055/core.h | 160 +++++----- .../kernel/include/linux/mfd/gsc.h | 152 +++++----- .../kernel/include/linux/mfd/ingenic-tcu.h | 112 +++---- .../kernel/include/linux/mfd/intel_pmc_bxt.h | 106 +++---- .../include/linux/mfd/intel_soc_pmic_bxtwc.h | 118 ++++---- .../kernel/include/linux/mfd/lochnagar.h | 110 +++---- .../kernel/include/linux/mfd/madera/pdata.h | 116 ++++---- .../kernel/include/linux/mfd/max77693.h | 156 +++++----- .../kernel/include/linux/mfd/max77714.h | 120 ++++---- .../kernel/include/linux/mfd/mcp.h | 126 ++++---- .../kernel/include/linux/mfd/mt6397/core.h | 160 +++++----- .../kernel/include/linux/mfd/ocelot.h | 124 ++++---- .../kernel/include/linux/mfd/rave-sp.h | 124 ++++---- .../kernel/include/linux/mfd/stw481x.h | 102 +++---- .../include/linux/mfd/syscon/atmel-st.h | 90 +++--- .../linux/mfd/syscon/imx7-iomuxc-gpr.h | 96 +++--- .../kernel/include/linux/mfd/wm831x/status.h | 58 ++-- .../kernel/include/linux/mlx4/srq.h | 88 +++--- .../kernel/include/linux/mlx5/eq.h | 126 ++++---- .../kernel/include/linux/mm_types_task.h | 140 ++++----- .../kernel/include/linux/msdos_partition.h | 100 +++---- .../kernel/include/linux/mtd/cfi_endian.h | 78 ++--- .../kernel/include/linux/mtd/inftl.h | 126 ++++---- .../kernel/include/linux/mtd/nftl.h | 114 +++---- .../kernel/include/linux/mtd/spear_smi.h | 130 ++++---- .../kernel/include/linux/net/intel/libie/rx.h | 100 +++---- .../include/linux/netfilter_ipv6/ip6_tables.h | 110 +++---- .../UFI003_MB_V02/kernel/include/linux/nfs.h | 138 ++++----- .../kernel/include/linux/nfsacl.h | 96 +++--- .../kernel/include/linux/nsc_gpio.h | 82 +++--- .../UFI003_MB_V02/kernel/include/linux/numa.h | 152 +++++----- .../kernel/include/linux/numa_memblks.h | 116 ++++---- .../kernel/include/linux/nvme-auth.h | 88 +++--- .../kernel/include/linux/pci-pwrctl.h | 108 +++---- .../kernel/include/linux/pds/pds_common.h | 108 +++---- .../kernel/include/linux/phy/tegra/xusb.h | 74 ++--- .../kernel/include/linux/phy_link_topology.h | 164 +++++------ .../kernel/include/linux/pinctrl/devinfo.h | 154 +++++----- .../include/linux/pinctrl/pinctrl-state.h | 76 ++--- .../include/linux/platform_data/ad7266.h | 100 +++---- .../linux/platform_data/ams-delta-fiq.h | 116 ++++---- .../include/linux/platform_data/asoc-s3c.h | 96 +++--- .../kernel/include/linux/platform_data/dsa.h | 136 ++++----- .../linux/platform_data/gpio-htc-egpio.h | 106 +++---- .../include/linux/platform_data/i2c-gpio.h | 80 ++--- .../include/linux/platform_data/leds-lm355x.h | 130 ++++---- .../linux/platform_data/lenovo-yoga-c630.h | 88 +++--- .../include/linux/platform_data/lm3630a_bl.h | 130 ++++---- .../include/linux/platform_data/lm3639_bl.h | 130 ++++---- .../include/linux/platform_data/lp8727.h | 130 ++++---- .../include/linux/platform_data/lp8755.h | 134 ++++----- .../linux/platform_data/media/omap4iss.h | 132 ++++----- .../linux/platform_data/media/si4713.h | 96 +++--- .../linux/platform_data/microchip-ksz.h | 106 +++---- .../include/linux/platform_data/pxa_sdhci.h | 102 +++---- .../include/linux/platform_data/spi-s3c64xx.h | 116 ++++---- .../kernel/include/linux/platform_data/tmio.h | 124 ++++---- .../include/linux/platform_data/usb-omap1.h | 114 +++---- .../linux/platform_data/video-ep93xx.h | 90 +++--- .../include/linux/platform_data/video_s3c.h | 110 +++---- .../include/linux/platform_data/x86/soc.h | 140 ++++----- .../include/linux/power/bq2415x_charger.h | 90 +++--- .../UFI003_MB_V02/kernel/include/linux/pr.h | 88 +++--- .../kernel/include/linux/prefetch.h | 136 ++++----- .../kernel/include/linux/prime_numbers.h | 76 ++--- .../kernel/include/linux/profile.h | 168 +++++------ .../UFI003_MB_V02/kernel/include/linux/psci.h | 124 ++++---- .../UFI003_MB_V02/kernel/include/linux/psi.h | 140 ++++----- .../kernel/include/linux/pstore_blk.h | 110 +++---- .../UFI003_MB_V02/kernel/include/linux/ras.h | 112 +++---- .../kernel/include/linux/ratelimit.h | 158 +++++----- .../kernel/include/linux/ratelimit_types.h | 94 +++--- .../kernel/include/linux/rcu_sync.h | 106 +++---- .../kernel/include/linux/regulator/act8865.h | 164 +++++------ .../kernel/include/linux/regulator/fixed.h | 120 ++++---- .../kernel/include/linux/regulator/max1586.h | 100 +++---- .../linux/regulator/mt6358-regulator.h | 196 ++++++------ .../kernel/include/linux/regulator/pfuze100.h | 132 ++++----- .../kernel/include/linux/remoteproc/mtk_scp.h | 138 ++++----- .../kernel/include/linux/remoteproc/pruss.h | 166 +++++------ .../kernel/include/linux/reset/bcm63xx_pmb.h | 160 +++++----- .../kernel/include/linux/reset/reset-simple.h | 96 +++--- .../kernel/include/linux/rpmsg/byteorder.h | 134 ++++----- .../kernel/include/linux/rtc/m48t59.h | 122 ++++---- .../UFI003_MB_V02/kernel/include/linux/rv.h | 140 ++++----- .../kernel/include/linux/rwlock_types.h | 156 +++++----- .../kernel/include/linux/sched/debug.h | 108 +++---- .../kernel/include/linux/sched/isolation.h | 150 +++++----- .../kernel/include/linux/sched/loadavg.h | 96 +++--- .../include/linux/sched/numa_balancing.h | 114 +++---- .../kernel/include/linux/sched/user.h | 112 +++---- .../kernel/include/linux/sched_clock.h | 104 +++---- .../kernel/include/linux/scmi_imx_protocol.h | 118 ++++---- .../kernel/include/linux/selection.h | 104 +++---- .../kernel/include/linux/semaphore.h | 102 +++---- .../kernel/include/linux/serial_sci.h | 134 ++++----- .../kernel/include/linux/signal_types.h | 176 +++++------ .../kernel/include/linux/sizes.h | 126 ++++---- .../kernel/include/linux/skbuff_ref.h | 148 +++++----- .../kernel/include/linux/smc91x.h | 92 +++--- .../kernel/include/linux/smp_types.h | 138 ++++----- .../kernel/include/linux/smpboot.h | 98 +++--- .../kernel/include/linux/smsc911x.h | 100 +++---- .../kernel/include/linux/soc/apple/sart.h | 106 +++---- .../include/linux/soc/marvell/octeontx2/asm.h | 114 +++---- .../kernel/include/linux/soc/mmp/cputype.h | 130 ++++---- .../include/linux/soc/qcom/smem_state.h | 124 ++++---- .../include/linux/soc/samsung/exynos-chipid.h | 100 +++---- .../kernel/include/linux/sony-laptop.h | 78 ++--- .../kernel/include/linux/sonypi.h | 98 +++--- .../kernel/include/linux/soundcard.h | 74 ++--- .../kernel/include/linux/spi/ads7846.h | 90 +++--- .../kernel/include/linux/spi/spi_bitbang.h | 104 +++---- .../kernel/include/linux/spinlock_types.h | 152 +++++----- .../kernel/include/linux/spinlock_types_raw.h | 146 ++++----- .../UFI003_MB_V02/kernel/include/linux/stat.h | 140 ++++----- .../kernel/include/linux/statfs.h | 122 ++++---- .../kernel/include/linux/sync_file.h | 124 ++++---- .../kernel/include/linux/termios_internal.h | 98 +++--- .../UFI003_MB_V02/kernel/include/linux/tfrc.h | 102 +++---- .../kernel/include/linux/time32.h | 144 ++++----- .../kernel/include/linux/ulpi/driver.h | 130 ++++---- .../kernel/include/linux/unroll.h | 72 ++--- .../kernel/include/linux/usb/ehci_pdriver.h | 102 +++---- .../kernel/include/linux/usb/iowarrior.h | 86 +++--- .../kernel/include/linux/usb/isp1362.h | 94 +++--- .../kernel/include/linux/usb/typec_tbt.h | 118 ++++---- .../kernel/include/linux/user_events.h | 168 +++++------ .../kernel/include/linux/vbox_utils.h | 118 ++++---- .../kernel/include/linux/vhost_iotlb.h | 104 +++---- .../kernel/include/linux/virtio_byteorder.h | 128 ++++---- .../kernel/include/linux/virtio_pci_legacy.h | 80 ++--- .../kernel/include/linux/vmpressure.h | 104 +++---- .../kernel/include/linux/vt_buffer.h | 146 ++++----- .../kernel/include/linux/wireless.h | 106 +++---- .../kernel/include/linux/wkup_m3_ipc.h | 138 ++++----- .../kernel/include/linux/wordpart.h | 114 +++---- .../kernel/include/linux/zconf.h | 114 +++---- .../kernel/include/linux/zsmalloc.h | 122 ++++---- .../kernel/include/media/davinci/vpif_types.h | 156 +++++----- .../kernel/include/media/frame_vector.h | 94 +++--- .../kernel/include/media/i2c/adv7343.h | 110 +++---- .../kernel/include/media/i2c/ir-kbd-i2c.h | 124 ++++---- .../kernel/include/media/i2c/ov772x.h | 116 ++++---- .../kernel/include/media/i2c/tvp7002.h | 82 +++--- .../kernel/include/media/i2c/upd64083.h | 90 +++--- .../kernel/include/media/mipi-csi2.h | 94 +++--- .../kernel/include/memory/renesas-rpc-if.h | 158 +++++----- .../kernel/include/net/atmclip.h | 106 +++---- .../kernel/include/net/ax88796.h | 92 +++--- .../kernel/include/net/bluetooth/sco.h | 98 +++--- .../kernel/include/net/bpf_sk_storage.h | 126 ++++---- .../kernel/include/net/caif/cfsrvl.h | 124 ++++---- .../kernel/include/net/calipso.h | 154 +++++----- .../kernel/include/net/dropreason.h | 98 +++--- .../kernel/include/net/fib_notifier.h | 102 +++---- .../UFI003_MB_V02/kernel/include/net/gtp.h | 172 +++++------ .../kernel/include/net/handshake.h | 98 +++--- .../kernel/include/net/hotdata.h | 110 +++---- .../kernel/include/net/ieee8021q.h | 114 +++---- .../kernel/include/net/inet_dscp.h | 114 +++---- .../UFI003_MB_V02/kernel/include/net/ioam6.h | 144 ++++----- .../kernel/include/net/llc_c_st.h | 104 +++---- .../kernel/include/net/llc_s_ac.h | 82 +++--- .../kernel/include/net/netdev_rx_queue.h | 120 ++++---- .../include/net/netfilter/nf_conntrack_acct.h | 162 +++++----- .../net/netfilter/nf_conntrack_act_ct.h | 108 +++---- .../net/netfilter/nf_conntrack_extend.h | 158 +++++----- .../net/netfilter/nf_conntrack_labels.h | 124 ++++---- .../net/netfilter/nf_conntrack_seqadj.h | 90 +++--- .../include/net/netfilter/nf_nat_helper.h | 84 +++--- .../kernel/include/net/netfilter/nft_meta.h | 108 +++---- .../kernel/include/net/phonet/pn_dev.h | 108 +++---- .../kernel/include/net/rsi_91x.h | 112 +++---- .../kernel/include/net/sctp/checksum.h | 132 ++++----- .../include/net/sctp/stream_interleave.h | 92 +++--- .../kernel/include/net/seg6_hmac.h | 128 ++++---- .../kernel/include/net/tc_act/tc_gact.h | 154 +++++----- .../kernel/include/net/tc_act/tc_mirred.h | 120 ++++---- .../UFI003_MB_V02/kernel/include/net/wext.h | 122 ++++---- .../kernel/include/rdma/rdmavt_cq.h | 134 ++++----- .../kernel/include/scsi/scsi_eh.h | 106 +++---- .../kernel/include/scsi/scsi_ioctl.h | 110 +++---- .../include/soc/amlogic/meson_ddr_pmu.h | 132 ++++----- .../kernel/include/soc/at91/atmel-sfr.h | 102 +++---- .../kernel/include/soc/at91/sama7-sfrbu.h | 68 ++--- .../kernel/include/soc/fsl/qe/ucc.h | 128 ++++---- .../kernel/include/soc/microchip/mpfs.h | 106 +++---- .../kernel/include/soc/mscc/ocelot_ptp.h | 120 ++++---- .../kernel/include/soc/qcom/ocmem.h | 130 ++++---- .../kernel/include/soc/tegra/pm.h | 144 ++++----- .../kernel/include/sound/ad1843.h | 92 +++--- .../kernel/include/sound/cs-amp-lib.h | 132 ++++----- .../kernel/include/sound/designware_i2s.h | 134 ++++----- .../kernel/include/sound/max98095.h | 122 ++++---- .../kernel/include/sound/mixer_oss.h | 132 ++++----- .../UFI003_MB_V02/kernel/include/sound/sdw.h | 98 +++--- .../kernel/include/sound/seq_midi_event.h | 78 ++--- .../kernel/include/sound/sof/dai-imx.h | 122 ++++---- .../kernel/include/sound/sof/debug.h | 86 +++--- .../kernel/include/sound/sta350.h | 106 +++---- .../UFI003_MB_V02/kernel/include/sound/tlv.h | 90 +++--- .../kernel/include/sound/util_mem.h | 102 +++---- .../kernel/include/sound/wm8962.h | 116 ++++---- .../kernel/include/trace/events/csd.h | 144 ++++----- .../kernel/include/trace/events/dma_fence.h | 178 +++++------ .../kernel/include/trace/events/hwmon.h | 142 ++++----- .../kernel/include/trace/events/icmp.h | 134 ++++----- .../kernel/include/trace/events/intel_ifs.h | 136 ++++----- .../kernel/include/trace/events/mctp.h | 156 +++++----- .../include/trace/events/power_cpu_migrate.h | 136 ++++----- .../kernel/include/trace/events/pwc.h | 130 ++++---- .../kernel/include/trace/events/pwm.h | 120 ++++---- .../kernel/include/trace/events/rseq.h | 124 ++++---- .../kernel/include/trace/events/syscalls.h | 148 +++++----- .../kernel/include/trace/events/task.h | 124 ++++---- .../include/trace/events/tegra_apb_dma.h | 122 ++++---- .../kernel/include/trace/events/tlb.h | 124 ++++---- .../kernel/include/trace/events/vb2.h | 138 ++++----- .../kernel/include/trace/events/watchdog.h | 132 ++++----- .../trace/stages/stage1_struct_define.h | 120 ++++---- .../trace/stages/stage2_data_offsets.h | 126 ++++---- .../include/uapi/asm-generic/errno-base.h | 80 ++--- .../include/uapi/asm-generic/hugetlb_encode.h | 74 ++--- .../kernel/include/uapi/asm-generic/msgbuf.h | 98 +++--- .../kernel/include/uapi/asm-generic/sembuf.h | 90 +++--- .../kernel/include/uapi/asm-generic/termios.h | 102 +++---- .../include/uapi/linux/affs_hardblocks.h | 138 ++++----- .../kernel/include/uapi/linux/amt.h | 124 ++++---- .../include/uapi/linux/aspeed-lpc-ctrl.h | 124 ++++---- .../kernel/include/uapi/linux/atm_tcp.h | 124 ++++---- .../kernel/include/uapi/linux/atm_zatm.h | 94 +++--- .../kernel/include/uapi/linux/atmioc.h | 84 +++--- .../kernel/include/uapi/linux/auxvec.h | 88 +++--- .../kernel/include/uapi/linux/bpf_common.h | 114 +++---- .../kernel/include/uapi/linux/cachefiles.h | 136 ++++----- .../kernel/include/uapi/linux/cfm_bridge.h | 128 ++++---- .../include/uapi/linux/cifs/cifs_netlink.h | 126 ++++---- .../kernel/include/uapi/linux/const.h | 106 +++---- .../kernel/include/uapi/linux/dma-heap.h | 106 +++---- .../kernel/include/uapi/linux/dvb/net.h | 106 +++---- .../kernel/include/uapi/linux/elf-fdpic.h | 100 +++---- .../kernel/include/uapi/linux/gen_stats.h | 156 +++++----- .../kernel/include/uapi/linux/handshake.h | 148 +++++----- .../kernel/include/uapi/linux/i8k.h | 96 +++--- .../kernel/include/uapi/linux/if_alg.h | 122 ++++---- .../kernel/include/uapi/linux/if_eql.h | 110 +++---- .../kernel/include/uapi/linux/if_fc.h | 104 +++---- .../kernel/include/uapi/linux/if_team.h | 156 +++++----- .../kernel/include/uapi/linux/iio/events.h | 86 +++--- .../kernel/include/uapi/linux/ioam6_genl.h | 144 ++++----- .../include/uapi/linux/ioam6_iptunnel.h | 128 ++++---- .../kernel/include/uapi/linux/matroxfb.h | 86 +++--- .../kernel/include/uapi/linux/memfd.h | 78 ++--- .../kernel/include/uapi/linux/mrp_bridge.h | 148 +++++----- .../uapi/linux/netfilter/nf_conntrack_tcp.h | 116 ++++---- .../include/uapi/linux/netfilter/nf_nat.h | 110 +++---- .../include/uapi/linux/netfilter/xt_set.h | 188 ++++++------ .../include/uapi/linux/netfilter_ipv4.h | 110 +++---- .../include/uapi/linux/netfilter_ipv6.h | 104 +++---- .../kernel/include/uapi/linux/netlink_diag.h | 134 ++++----- .../kernel/include/uapi/linux/nfs2.h | 136 ++++----- .../kernel/include/uapi/linux/nfs_fs.h | 126 ++++---- .../kernel/include/uapi/linux/nsfs.h | 90 +++--- .../kernel/include/uapi/linux/openat2.h | 86 +++--- .../kernel/include/uapi/linux/packet_diag.h | 162 +++++----- .../kernel/include/uapi/linux/pci.h | 84 +++--- .../kernel/include/uapi/linux/phantom.h | 100 +++---- .../kernel/include/uapi/linux/pr.h | 136 ++++----- .../kernel/include/uapi/linux/reboot.h | 80 ++--- .../include/uapi/linux/suspend_ioctls.h | 68 ++--- .../include/uapi/linux/tc_act/tc_pedit.h | 140 ++++----- .../kernel/include/uapi/linux/time.h | 150 +++++----- .../kernel/include/uapi/linux/tiocl.h | 80 ++--- .../kernel/include/uapi/linux/tty.h | 92 +++--- .../kernel/include/uapi/linux/udp.h | 94 +++--- .../kernel/include/uapi/linux/usb/g_printer.h | 72 ++--- .../kernel/include/uapi/linux/usbip.h | 106 +++---- .../kernel/include/uapi/linux/userio.h | 90 +++--- .../kernel/include/uapi/linux/virtio_gpio.h | 144 ++++----- .../kernel/include/uapi/linux/vtpm_proxy.h | 108 +++---- .../kernel/include/uapi/linux/wmi.h | 140 ++++----- .../kernel/include/uapi/linux/xdp_diag.h | 166 +++++------ .../kernel/include/uapi/mtd/inftl-user.h | 184 ++++++------ .../kernel/include/uapi/rdma/mana-abi.h | 174 +++++------ .../kernel/include/uapi/rdma/rvt-abi.h | 132 ++++----- .../kernel/include/uapi/sound/scarlett2.h | 108 +++---- .../kernel/include/video/cvisionppc.h | 102 +++---- .../kernel/include/video/hecubafb.h | 102 +++---- .../kernel/include/video/metronomefb.h | 114 +++---- .../kernel/include/video/omapvrfb.h | 112 +++---- .../kernel/include/video/videomode.h | 114 +++---- .../UFI003_MB_V02/kernel/include/xen/hvm.h | 130 ++++---- .../kernel/include/xen/interface/hvm/ioreq.h | 102 +++---- .../kernel/include/xen/interface/io/tpmif.h | 104 +++---- .../kernel/include/xen/interface/nmi.h | 104 +++---- .../kernel/include/xen/mem-reservation.h | 120 ++++---- .../kernel/include/xen/xenbus_dev.h | 84 +++--- .../debian/UFI003_MB_V02/kernel/init/Makefile | 122 ++++---- .../UFI003_MB_V02/kernel/io_uring/epoll.c | 122 ++++---- .../UFI003_MB_V02/kernel/io_uring/opdef.h | 102 +++---- .../UFI003_MB_V02/kernel/io_uring/refs.h | 124 ++++---- .../UFI003_MB_V02/kernel/io_uring/statx.c | 144 ++++----- .../UFI003_MB_V02/kernel/kernel/Kconfig.hz | 118 ++++---- .../kernel/kernel/bpf/mmap_unlock_work.h | 130 ++++---- .../kernel/bpf/preload/iterators/Makefile | 134 ++++----- .../UFI003_MB_V02/kernel/kernel/dma/dummy.c | 118 ++++---- .../UFI003_MB_V02/kernel/kernel/dma/remap.c | 144 ++++----- .../UFI003_MB_V02/kernel/kernel/gcov/Kconfig | 110 +++---- .../kernel/kernel/irq/dummychip.c | 128 ++++---- .../kernel/kernel/kexec_internal.h | 84 +++--- .../UFI003_MB_V02/kernel/kernel/kheaders.c | 132 ++++----- .../kernel/kernel/livepatch/core.h | 118 ++++---- .../kernel/kernel/locking/mutex.h | 90 +++--- .../UFI003_MB_V02/kernel/kernel/module/kdb.c | 126 ++++---- .../UFI003_MB_V02/kernel/kernel/pid_sysctl.h | 106 +++---- .../kernel/kernel/printk/printk_safe.c | 150 +++++----- .../kernel/kernel/sched/Makefile | 68 ++--- .../kernel/kernel/sched/autogroup.h | 132 ++++----- .../kernel/kernel/sched/build_policy.c | 132 ++++----- .../kernel/kernel/time/timekeeping_debug.c | 110 +++---- .../UFI003_MB_V02/kernel/kernel/trace/rv/rv.h | 136 ++++----- .../kernel/kernel/trace/trace_output.h | 90 +++--- image/debian/UFI003_MB_V02/kernel/kernel/up.c | 146 ++++----- .../kernel/kernel/user-return-notifier.c | 90 +++--- .../UFI003_MB_V02/kernel/lib/bucket_locks.c | 108 +++---- .../UFI003_MB_V02/kernel/lib/crc32defs.h | 118 ++++---- .../kernel/lib/crypto/mpi/generic_mpih-add1.c | 96 +++--- .../lib/crypto/mpi/generic_mpih-lshift.c | 100 +++---- .../lib/crypto/mpi/generic_mpih-rshift.c | 100 +++---- .../kernel/lib/crypto/mpi/generic_mpih-sub1.c | 94 +++--- .../kernel/lib/crypto/mpi/mpi-cmp.c | 144 ++++----- .../kernel/lib/crypto/mpi/mpih-cmp.c | 86 +++--- image/debian/UFI003_MB_V02/kernel/lib/ctype.c | 76 ++--- .../UFI003_MB_V02/kernel/lib/dhry_run.c | 174 +++++------ .../kernel/lib/is_signed_type_kunit.c | 100 +++---- .../UFI003_MB_V02/kernel/lib/kasprintf.c | 128 ++++---- .../kernel/lib/kunit/string-stream.h | 124 ++++---- .../UFI003_MB_V02/kernel/lib/math/gcd.c | 170 +++++------ .../kernel/lib/math/rational-test.c | 114 +++---- .../kernel/lib/math/reciprocal_div.c | 146 ++++----- .../debian/UFI003_MB_V02/kernel/lib/muldi3.c | 120 ++++---- .../kernel/lib/netdev-notifier-error-inject.c | 112 +++---- .../kernel/lib/smp_processor_id.c | 136 ++++----- .../UFI003_MB_V02/kernel/lib/test_fpu_glue.c | 126 ++++---- .../kernel/lib/test_static_key_base.c | 122 ++++---- .../kernel/lib/trace_readwrite.c | 94 +++--- .../UFI003_MB_V02/kernel/lib/xz/xz_stream.h | 122 ++++---- .../UFI003_MB_V02/kernel/lib/zstd/Makefile | 86 +++--- .../zstd/compress/zstd_compress_literals.h | 62 ++-- image/debian/UFI003_MB_V02/kernel/mm/cma.h | 116 ++++---- .../kernel/mm/damon/modules-common.h | 98 +++--- .../kernel/mm/damon/sysfs-common.h | 134 ++++----- .../kernel/mm/debug_page_alloc.c | 102 +++---- .../UFI003_MB_V02/kernel/mm/debug_page_ref.c | 110 +++---- .../UFI003_MB_V02/kernel/mm/fail_page_alloc.c | 138 ++++----- .../debian/UFI003_MB_V02/kernel/mm/failslab.c | 152 +++++----- .../debian/UFI003_MB_V02/kernel/mm/init-mm.c | 114 +++---- .../debian/UFI003_MB_V02/kernel/mm/ioremap.c | 148 +++++----- .../kernel/mm/kasan/report_hw_tags.c | 142 ++++----- .../debian/UFI003_MB_V02/kernel/mm/mm_slot.h | 110 +++---- image/debian/UFI003_MB_V02/kernel/mm/numa.c | 138 ++++----- .../UFI003_MB_V02/kernel/mm/page_reporting.h | 106 +++---- .../UFI003_MB_V02/kernel/net/802/p8022.c | 128 ++++---- .../kernel/net/8021q/vlan_gvrp.c | 134 ++++----- .../kernel/net/8021q/vlan_mvrp.c | 146 ++++----- .../UFI003_MB_V02/kernel/net/9p/Kconfig | 126 ++++---- .../kernel/net/appletalk/Kconfig | 60 ++-- .../kernel/net/appletalk/sysctl_net_atalk.c | 116 ++++---- .../UFI003_MB_V02/kernel/net/atm/common.h | 112 +++---- .../kernel/net/batman-adv/bitarray.h | 112 +++---- .../kernel/net/batman-adv/hash.c | 168 +++++------ .../kernel/net/batman-adv/routing.h | 106 +++---- .../kernel/net/batman-adv/trace.h | 128 ++++---- .../kernel/net/bluetooth/ecdh_helper.h | 60 ++-- .../kernel/net/bluetooth/hci_debugfs.h | 106 +++---- .../kernel/net/bluetooth/selftest.h | 90 +++--- .../kernel/net/bridge/br_private_stp.h | 132 ++++----- .../UFI003_MB_V02/kernel/net/caif/Kconfig | 108 +++---- .../UFI003_MB_V02/kernel/net/caif/cfdbgl.c | 110 +++---- .../UFI003_MB_V02/kernel/net/caif/cfvidl.c | 130 ++++---- .../kernel/net/ceph/ceph_strings.c | 180 ++++++------ .../UFI003_MB_V02/kernel/net/ceph/snapshot.c | 126 ++++---- .../UFI003_MB_V02/kernel/net/core/Makefile | 94 +++--- .../kernel/net/core/netdev-genl-gen.h | 94 +++--- .../kernel/net/core/netmem_priv.h | 124 ++++---- .../kernel/net/core/page_pool_priv.h | 116 ++++---- .../kernel/net/core/timestamping.c | 144 ++++----- .../kernel/net/dccp/ccids/Kconfig | 110 +++---- .../kernel/net/dns_resolver/internal.h | 102 +++---- .../UFI003_MB_V02/kernel/net/dsa/Makefile | 88 +++--- .../debian/UFI003_MB_V02/kernel/net/dsa/dsa.h | 80 ++--- .../UFI003_MB_V02/kernel/net/dsa/netlink.c | 128 ++++---- .../kernel/net/dsa/tag_hellcreek.c | 148 +++++----- .../kernel/net/dsa/tag_trailer.c | 132 ++++----- .../kernel/net/dsa/tag_vsc73xx_8021q.c | 136 ++++----- .../kernel/net/dsa/tag_xrs700x.c | 134 ++++----- .../UFI003_MB_V02/kernel/net/ethtool/bitset.h | 68 ++--- .../UFI003_MB_V02/kernel/net/handshake/genl.c | 116 ++++---- .../UFI003_MB_V02/kernel/net/hsr/Kconfig | 80 ++--- .../kernel/net/ieee802154/core.h | 100 +++---- .../kernel/net/ipv4/fib_lookup.h | 126 ++++---- .../kernel/net/ipv4/fib_notifier.c | 144 ++++----- .../UFI003_MB_V02/kernel/net/ipv4/fou_nl.c | 96 +++--- .../kernel/net/ipv4/netfilter/Makefile | 106 +++---- .../kernel/net/ipv4/tcp_scalable.c | 130 ++++---- .../kernel/net/ipv6/fib6_notifier.c | 128 ++++---- .../kernel/net/ipv6/netfilter/Makefile | 90 +++--- .../kernel/net/ipv6/netfilter/ip6t_eui64.c | 142 ++++----- .../kernel/net/mac80211/debugfs_key.h | 88 +++--- .../kernel/net/mac80211/debugfs_netdev.h | 90 +++--- .../UFI003_MB_V02/kernel/net/mac80211/wpa.h | 98 +++--- .../kernel/net/mctp/test/utils.c | 136 ++++----- .../kernel/net/mptcp/crypto_test.c | 146 ++++----- .../kernel/net/netfilter/ipvs/Makefile | 90 +++--- .../net/netfilter/nf_conntrack_labels.c | 162 +++++----- .../net/netfilter/nf_flow_table_procfs.c | 160 +++++----- .../kernel/net/netfilter/nf_internals.h | 86 +++--- .../kernel/net/netfilter/nf_nat_tftp.c | 112 +++---- .../kernel/net/netfilter/xt_TRACE.c | 138 ++++----- .../kernel/net/netfilter/xt_cpu.c | 122 ++++---- .../kernel/net/netfilter/xt_length.c | 132 ++++----- .../kernel/net/netfilter/xt_mac.c | 126 ++++---- .../kernel/net/netfilter/xt_osf.c | 146 ++++----- .../kernel/net/netfilter/xt_pkttype.c | 122 ++++---- .../kernel/net/netfilter/xt_repldata.h | 96 +++--- .../kernel/net/netrom/nr_loopback.c | 146 ++++----- .../UFI003_MB_V02/kernel/net/nfc/nci/lib.c | 146 ++++----- .../kernel/net/sched/act_meta_mark.c | 146 ++++----- .../kernel/net/sched/act_meta_skbprio.c | 142 ++++----- .../kernel/net/sched/act_meta_skbtcindex.c | 146 ++++----- .../UFI003_MB_V02/kernel/net/sched/em_nbyte.c | 154 +++++----- .../UFI003_MB_V02/kernel/net/smc/smc_pnet.h | 140 ++++----- .../UFI003_MB_V02/kernel/net/tipc/Kconfig | 120 ++++---- .../UFI003_MB_V02/kernel/net/tls/tls_proc.c | 112 +++---- .../kernel/net/vmw_vsock/vsock_addr.c | 138 ++++----- .../UFI003_MB_V02/kernel/net/wireless/ap.c | 148 +++++----- .../UFI003_MB_V02/kernel/net/wireless/ocb.c | 130 ++++---- .../kernel/net/wireless/tests/util.c | 112 +++---- .../kernel/net/wireless/tests/util.h | 132 ++++----- .../UFI003_MB_V02/kernel/net/x25/Kconfig | 64 ++-- .../kernel/rust/bindgen_parameters | 72 ++--- .../UFI003_MB_V02/kernel/rust/bindings/lib.rs | 116 ++++---- .../kernel/rust/kernel/block/mq/raw_writer.rs | 110 +++---- .../UFI003_MB_V02/kernel/rust/kernel/sync.rs | 118 ++++---- .../kernel/rust/macros/pinned_drop.rs | 96 +++--- .../UFI003_MB_V02/kernel/samples/Makefile | 82 +++--- .../kernel/samples/bpf/lwt_len_hist.bpf.c | 124 ++++---- .../kernel/samples/bpf/lwt_len_hist_user.c | 154 +++++----- .../kernel/samples/bpf/sockex1_user.c | 126 ++++---- .../kernel/samples/bpf/sockex2_user.c | 124 ++++---- .../kernel/samples/bpf/spintest.bpf.c | 120 ++++---- .../kernel/samples/bpf/tcp_basertt_kern.c | 142 ++++----- .../kernel/samples/bpf/tcp_dumpstats_kern.c | 136 ++++----- .../kernel/samples/bpf/tcp_rwnd_kern.c | 128 ++++---- .../kernel/samples/bpf/tcp_synrto_kern.c | 128 ++++---- .../kernel/samples/bpf/tcp_tos_reflect_kern.c | 160 +++++----- .../kernel/samples/bpf/test_cgrp2_tc.bpf.c | 112 +++---- .../samples/bpf/test_probe_write_user.bpf.c | 104 +++---- .../kernel/samples/bpf/tracex1.bpf.c | 94 +++--- .../livepatch/livepatch-callbacks-busymod.c | 120 ++++---- .../samples/livepatch/livepatch-sample.c | 140 ++++----- .../samples/trace_events/trace_custom_sched.c | 118 ++++---- .../samples/trace_printk/trace-printk.c | 116 ++++---- .../kernel/samples/user_events/example.c | 146 ++++----- .../kernel/scripts/Makefile.clang | 78 ++--- .../kernel/scripts/Makefile.debug | 104 +++---- .../kernel/scripts/Makefile.userprogs | 90 +++--- .../kernel/scripts/cc-version.sh | 132 ++++----- .../api/alloc/pool_zalloc-simple.cocci | 170 +++++------ .../scripts/coccinelle/api/memdup.cocci | 132 ++++----- .../scripts/coccinelle/api/vma_pages.cocci | 122 ++++---- .../scripts/coccinelle/iterators/itnull.cocci | 190 ++++++------ .../iterators/list_entry_update.cocci | 126 ++++---- .../coccinelle/locks/double_lock.cocci | 186 ++++++------ .../scripts/coccinelle/locks/flags.cocci | 162 +++++----- .../scripts/coccinelle/locks/mini_lock.cocci | 198 ++++++------- .../scripts/coccinelle/misc/array_size.cocci | 176 +++++------ .../scripts/coccinelle/misc/badty.cocci | 154 +++++----- .../scripts/coccinelle/misc/boolconv.cocci | 182 ++++++------ .../scripts/coccinelle/misc/doubleinit.cocci | 108 +++---- .../coccinelle/misc/flexible_array.cocci | 214 +++++++------- .../coccinelle/misc/newline_in_nl_msg.cocci | 150 +++++----- .../scripts/coccinelle/misc/of_table.cocci | 172 +++++------ .../scripts/coccinelle/misc/struct_size.cocci | 148 +++++----- .../kernel/scripts/coccinelle/misc/swap.cocci | 244 +++++++-------- .../coccinelle/misc/uninitialized_var.cocci | 112 +++---- .../kernel/scripts/coccinelle/misc/warn.cocci | 220 +++++++------- .../scripts/coccinelle/null/kmerr.cocci | 146 ++++----- .../kernel/scripts/const_structs.checkpatch | 222 +++++++------- .../UFI003_MB_V02/kernel/scripts/dtc/fstree.c | 152 +++++----- .../kernel/scripts/dtc/libfdt/fdt.h | 132 ++++----- .../kernel/scripts/dtc/libfdt/fdt_strerror.c | 120 ++++---- .../kernel/scripts/extract-ikconfig | 138 ++++----- .../kernel/scripts/extract-vmlinux | 128 ++++---- .../kernel/scripts/gcc-plugins/Kconfig | 106 +++---- .../kernel/scripts/gdb/linux/kasan.py | 88 +++--- .../kernel/scripts/gdb/linux/vfs.py | 118 ++++---- .../kernel/scripts/head-object-list.txt | 86 +++--- .../kernel/scripts/kconfig/lkc_proto.h | 94 +++--- .../kernel/scripts/kconfig/mconf-cfg.sh | 114 +++---- .../kernel/scripts/kconfig/nconf-cfg.sh | 110 +++---- .../tests/err_recursive_dep/expected_stderr | 76 ++--- .../UFI003_MB_V02/kernel/scripts/module.lds.S | 136 ++++----- .../UFI003_MB_V02/kernel/scripts/nsdeps | 120 ++++---- .../kernel/scripts/package/gen-diff-patch | 76 ++--- .../UFI003_MB_V02/kernel/scripts/syscallnr.sh | 148 +++++----- .../security/apparmor/include/apparmor.h | 132 ++++----- .../kernel/security/apparmor/include/mount.h | 120 ++++---- .../kernel/security/integrity/iint.c | 122 ++++---- .../platform_certs/keyring_handler.h | 110 +++---- .../platform_certs/platform_keyring.c | 116 ++++---- .../UFI003_MB_V02/kernel/security/ipe/eval.h | 140 ++++----- .../UFI003_MB_V02/kernel/security/ipe/hooks.h | 104 +++---- .../kernel/security/keys/trusted-keys/Kconfig | 104 +++---- .../security/keys/trusted-keys/trusted_caam.c | 160 +++++----- .../kernel/security/landlock/Kconfig | 74 ++--- .../kernel/security/landlock/object.c | 134 ++++----- .../kernel/security/landlock/setup.c | 158 +++++----- .../kernel/security/loadpin/Kconfig | 88 +++--- .../kernel/security/lockdown/Kconfig | 94 +++--- .../UFI003_MB_V02/kernel/security/min_addr.c | 106 +++---- .../kernel/security/safesetid/lsm.h | 146 ++++----- .../kernel/security/selinux/Makefile | 84 +++--- .../kernel/security/selinux/ss/mls_types.h | 104 +++---- .../kernel/security/smack/smack_netfilter.c | 160 +++++----- .../kernel/sound/aoa/codecs/tas-basstreble.h | 270 ++++++++--------- .../kernel/sound/aoa/codecs/tas.h | 108 +++---- .../UFI003_MB_V02/kernel/sound/core/Makefile | 112 +++---- .../kernel/sound/core/hwdep_compat.c | 110 +++---- .../kernel/sound/core/seq/oss/seq_oss_midi.h | 70 ++--- .../kernel/sound/core/seq/oss/seq_oss_readq.h | 90 +++--- .../kernel/sound/core/seq/oss/seq_oss_synth.h | 78 ++--- .../kernel/sound/core/seq/seq_fifo.h | 118 ++++---- .../kernel/sound/core/seq/seq_info.c | 120 ++++---- .../kernel/sound/drivers/opl3/opl3_voice.h | 92 +++--- .../kernel/sound/firewire/amdtp-am824.h | 98 +++--- .../UFI003_MB_V02/kernel/sound/firewire/cmp.h | 106 +++---- .../sound/firewire/dice/dice-presonus.c | 120 ++++---- .../UFI003_MB_V02/kernel/sound/hda/local.h | 92 +++--- .../kernel/sound/oss/dmasound/Kconfig | 92 +++--- .../kernel/sound/pci/ac97/ac97_id.h | 102 +++---- .../kernel/sound/pci/asihpi/hpi6000.h | 118 ++++---- .../kernel/sound/pci/asihpi/hpidebug.c | 134 ++++----- .../kernel/sound/pci/au88x0/au88x0_xtalk.h | 98 +++--- .../kernel/sound/pci/ctxfi/cthardware.c | 178 +++++------ .../kernel/sound/pci/ctxfi/ctmixer.h | 132 ++++----- .../kernel/sound/pci/ctxfi/ctvmem.h | 120 ++++---- .../kernel/sound/pci/hda/cs35l41_hda_i2c.c | 138 ++++----- .../kernel/sound/pci/hda/cs35l41_hda_spi.c | 128 ++++---- .../kernel/sound/pci/ice1712/aureon.h | 102 +++---- .../kernel/sound/pci/oxygen/cm9780.h | 128 ++++---- .../kernel/sound/pci/oxygen/pcm1796.h | 116 ++++---- .../kernel/sound/pci/oxygen/xonar.h | 110 +++---- .../kernel/sound/pci/oxygen/xonar_dg.h | 114 +++---- .../kernel/sound/pci/pcxhr/pcxhr_mix22.h | 94 +++--- .../UFI003_MB_V02/kernel/sound/ppc/Kconfig | 106 +++---- .../UFI003_MB_V02/kernel/sound/sh/aica.h | 136 ++++----- .../kernel/sound/soc/amd/acp/Makefile | 88 +++--- .../kernel/sound/soc/amd/acp/amd-sdw-acpi.c | 124 ++++---- .../kernel/sound/soc/amd/ps/ps-mach.c | 160 +++++----- .../kernel/sound/soc/amd/renoir/acp3x-rn.c | 154 +++++----- .../kernel/sound/soc/atmel/Makefile | 84 +++--- .../kernel/sound/soc/au1x/Kconfig | 130 ++++---- .../kernel/sound/soc/au1x/db1000.c | 118 ++++---- .../kernel/sound/soc/cirrus/ep93xx-pcm.c | 100 +++---- .../kernel/sound/soc/codecs/ad1836.h | 100 +++---- .../kernel/sound/soc/codecs/ad73311.h | 146 ++++----- .../kernel/sound/soc/codecs/adau1761-i2c.c | 142 ++++----- .../kernel/sound/soc/codecs/adau1781-i2c.c | 134 ++++----- .../kernel/sound/soc/codecs/ak5558.h | 104 +++---- .../kernel/sound/soc/codecs/cs4265.h | 120 ++++---- .../kernel/sound/soc/codecs/cs42l51-i2c.c | 122 ++++---- .../kernel/sound/soc/codecs/cs530x-i2c.c | 144 ++++----- .../sound/soc/codecs/lpass-macro-common.h | 152 +++++----- .../kernel/sound/soc/codecs/pcm1789-i2c.c | 126 ++++---- .../kernel/sound/soc/codecs/pcm186x-i2c.c | 122 ++++---- .../kernel/sound/soc/codecs/pcm186x-spi.c | 122 ++++---- .../kernel/sound/soc/codecs/pcm512x-spi.c | 138 ++++----- .../kernel/sound/soc/codecs/rt5670-dsp.h | 102 +++---- .../kernel/sound/soc/codecs/sigmadsp-regmap.c | 118 ++++---- .../kernel/sound/soc/codecs/sigmadsp.h | 128 ++++---- .../kernel/sound/soc/codecs/ssm2602-i2c.c | 118 ++++---- .../kernel/sound/soc/codecs/tlv320aic23-i2c.c | 116 ++++---- .../sound/soc/codecs/tlv320aic32x4-i2c.c | 140 ++++----- .../sound/soc/codecs/tlv320aic32x4-spi.c | 140 ++++----- .../kernel/sound/soc/codecs/tlv320aic3x-i2c.c | 146 ++++----- .../kernel/sound/soc/codecs/tpa6130a2.h | 92 +++--- .../kernel/sound/soc/codecs/uda1380.h | 144 ++++----- .../kernel/sound/soc/codecs/wcd-clsh-v2.h | 132 ++++----- .../kernel/sound/soc/codecs/wm8731-i2c.c | 136 ++++----- .../kernel/sound/soc/codecs/wm8750.h | 112 +++---- .../kernel/sound/soc/codecs/wm8770.h | 96 +++--- .../kernel/sound/soc/codecs/wm8804-i2c.c | 144 ++++----- .../kernel/sound/soc/codecs/wm8804.h | 140 ++++----- .../kernel/sound/soc/codecs/wm8900.h | 104 +++---- .../kernel/sound/soc/img/Kconfig | 106 +++---- .../sound/soc/intel/avs/boards/Makefile | 74 ++--- .../kernel/sound/soc/intel/avs/path.h | 144 ++++----- .../kernel/sound/soc/intel/avs/tgl.c | 106 +++---- .../kernel/sound/soc/intel/avs/utils.h | 130 ++++---- .../sound/soc/intel/boards/sof_maxim_common.h | 96 +++--- .../soc/intel/boards/sof_nuvoton_common.c | 146 ++++----- .../soc/intel/boards/sof_realtek_common.h | 126 ++++---- .../sound/soc/intel/boards/sof_sdw_common.h | 132 ++++----- .../kernel/sound/soc/intel/catpt/trace.h | 166 +++++------ .../intel/common/soc-acpi-intel-glk-match.c | 136 ++++----- .../soc/mediatek/common/mtk-dai-adda-common.c | 140 ++++----- .../mediatek/common/mtk-soundcard-driver.h | 112 +++---- .../soc/mediatek/mt8173/mt8173-afe-common.h | 130 ++++---- .../mediatek/mt8186/mt8186-mt6366-common.c | 114 +++---- .../soc/mediatek/mt8188/mt8188-audsys-clkid.h | 166 +++++------ .../mediatek/mt8192/mt8192-interconnection.h | 130 ++++---- .../soc/mediatek/mt8195/mt8195-audsys-clkid.h | 186 ++++++------ .../soc/mediatek/mt8365/mt8365-afe-clk.h | 64 ++-- .../kernel/sound/soc/meson/aiu-fifo.h | 96 +++--- .../kernel/sound/soc/meson/meson-card.h | 108 +++---- .../kernel/sound/soc/pxa/Kconfig | 108 +++---- .../kernel/sound/soc/qcom/Makefile | 94 +++--- .../kernel/sound/soc/qcom/qdsp6/q6dsp-errno.h | 102 +++---- .../sound/soc/rockchip/rockchip_spdif.h | 120 ++++---- .../kernel/sound/soc/samsung/Makefile | 88 +++--- .../sound/soc/sdw_utils/soc_sdw_cs_amp.c | 128 ++++---- .../sound/soc/sdw_utils/soc_sdw_rt712_sdca.c | 96 +++--- .../UFI003_MB_V02/kernel/sound/soc/sh/Kconfig | 152 +++++----- .../kernel/sound/soc/sh/sh7760-ac97.c | 144 ++++----- .../kernel/sound/soc/sof/amd/acp-trace.c | 128 ++++---- .../kernel/sound/soc/sof/imx/Kconfig | 106 +++---- .../kernel/sound/soc/sof/intel/hda-ipc.h | 112 +++---- .../kernel/sound/soc/sof/ipc4-telemetry.h | 146 ++++----- .../soc/sof/mediatek/mt8186/mt8186-loader.c | 116 ++++---- .../soc/sof/mediatek/mt8195/mt8195-loader.c | 122 ++++---- .../kernel/sound/soc/spear/spear_pcm.c | 110 +++---- .../kernel/sound/soc/stm/Kconfig | 94 +++--- .../kernel/sound/soc/tegra/tegra186_dspk.h | 140 ++++----- .../kernel/sound/soc/tegra/tegra_pcm.h | 82 +++--- .../kernel/sound/soc/ti/Makefile | 92 +++--- .../kernel/sound/soc/ti/edma-pcm.c | 126 ++++---- .../kernel/sound/soc/uniphier/Kconfig | 100 +++---- .../kernel/sound/soc/ux500/ux500_msp_dai.h | 132 ++++----- .../kernel/sound/usb/6fire/pcm.h | 142 ++++----- .../UFI003_MB_V02/kernel/sound/usb/helper.h | 92 +++--- .../UFI003_MB_V02/kernel/sound/usb/quirks.h | 106 +++---- .../kernel/sound/usb/usx2y/usbus428ctldefs.h | 186 ++++++------ .../kernel/sound/xen/xen_snd_front.h | 108 +++---- .../tools/arch/alpha/include/uapi/asm/mman.h | 92 +++--- .../tools/arch/arc/include/uapi/asm/unistd.h | 102 +++---- .../arch/hexagon/include/uapi/asm/unistd.h | 80 ++--- .../arch/loongarch/include/asm/orc_types.h | 116 ++++---- .../tools/arch/powerpc/include/asm/barrier.h | 92 +++--- .../arch/riscv/include/uapi/asm/unistd.h | 84 +++--- .../x86/dell-uart-backlight-emulator/README | 92 +++--- .../tools/arch/x86/include/asm/atomic.h | 168 +++++------ .../tools/arch/x86/include/asm/barrier.h | 92 +++--- .../tools/arch/x86/include/asm/pvclock-abi.h | 96 +++--- .../arch/x86/include/uapi/asm/perf_regs.h | 116 ++++---- .../tools/arch/xtensa/include/uapi/asm/mman.h | 92 +++--- .../tools/bpf/bpftool/Documentation/Makefile | 120 ++++---- .../kernel/tools/cgroup/memcg_shrinker.py | 140 ++++----- .../kernel/tools/counter/Makefile | 126 ++++---- .../kernel/tools/crypto/ccp/dbc.c | 144 ++++----- .../kernel/tools/crypto/ccp/dbc.py | 128 ++++---- .../kernel/tools/firewire/list.h | 126 ++++---- .../asm-generic/bitops/const_hweight.h | 88 +++--- .../include/asm-generic/hugetlb_encode.h | 74 ++--- .../kernel/tools/include/asm/barrier.h | 130 ++++---- .../kernel/tools/include/linux/bits.h | 108 +++---- .../kernel/tools/include/linux/string.h | 110 +++---- .../kernel/tools/include/linux/types.h | 202 ++++++------- .../kernel/tools/include/nolibc/ctype.h | 204 ++++++------- .../tools/include/nolibc/stackprotector.h | 102 +++---- .../kernel/tools/include/nolibc/unistd.h | 136 ++++----- .../kernel/tools/include/tools/be_byteshift.h | 142 ++++----- .../tools/include/tools/dis-asm-compat.h | 110 +++---- .../kernel/tools/include/tools/le_byteshift.h | 142 ++++----- .../include/uapi/asm-generic/errno-base.h | 80 ++--- .../tools/include/uapi/linux/bpf_common.h | 114 +++---- .../kernel/tools/include/uapi/linux/const.h | 106 +++---- .../kernel/tools/include/uapi/linux/memfd.h | 78 ++--- .../kernel/tools/include/uapi/linux/stddef.h | 108 +++---- .../kernel/tools/leds/led_hw_brightness_mon.c | 170 +++++------ .../kernel/tools/lib/api/fd/array.h | 118 ++++---- .../kernel/tools/lib/api/fs/fs.h | 124 ++++---- .../kernel/tools/lib/argv_split.c | 200 ++++++------- .../UFI003_MB_V02/kernel/tools/lib/ctype.c | 70 ++--- .../UFI003_MB_V02/kernel/tools/lib/hweight.c | 126 ++++---- .../tools/lib/perf/include/internal/mmap.h | 120 ++++---- .../tools/lib/perf/include/internal/tests.h | 134 ++++----- .../kernel/tools/lib/perf/libperf.map | 126 ++++---- .../tools/lib/perf/tests/test-threadmap.c | 146 ++++----- .../kernel/tools/lib/subcmd/subcmd-util.h | 150 +++++----- .../kernel/tools/lib/symbol/kallsyms.c | 156 +++++----- .../memory-model/scripts/checkalllitmus.sh | 130 ++++---- .../net/sunrpc/xdrgen/generators/enum.py | 88 +++--- .../sunrpc/xdrgen/generators/header_top.py | 90 +++--- .../kernel/tools/net/ynl/Makefile.deps | 58 ++-- .../kernel/tools/net/ynl/samples/devlink.c | 120 ++++---- .../kernel/tools/net/ynl/samples/ethtool.c | 130 ++++---- .../kernel/tools/objtool/noreturns.h | 106 +++---- .../UFI003_MB_V02/kernel/tools/pci/Makefile | 116 ++++---- .../tools/perf/Documentation/db-export.txt | 82 +++--- .../perf/arch/arm/annotate/instructions.c | 126 ++++---- .../tools/perf/arch/arm/tests/dwarf-unwind.c | 126 ++++---- .../tools/perf/arch/arm/tests/regs_load.S | 118 ++++---- .../tools/perf/arch/arm/util/dwarf-regs.c | 122 ++++---- .../kernel/tools/perf/arch/arm/util/pmu.c | 94 +++--- .../perf/arch/arm64/tests/dwarf-unwind.c | 126 ++++---- .../tools/perf/arch/arm64/util/unwind-libdw.c | 122 ++++---- .../tools/perf/arch/csky/util/dwarf-regs.c | 98 +++--- .../tools/perf/arch/loongarch/util/header.c | 192 ++++++------ .../perf/arch/loongarch/util/unwind-libdw.c | 114 +++---- .../perf/arch/powerpc/tests/dwarf-unwind.c | 126 ++++---- .../tools/perf/arch/powerpc/tests/regs_load.S | 190 ++++++------ .../tools/perf/arch/powerpc/util/event.c | 120 ++++---- .../tools/perf/arch/riscv/util/kvm-stat.c | 156 +++++----- .../tools/perf/arch/riscv/util/unwind-libdw.c | 116 ++++---- .../tools/perf/arch/s390/util/unwind-libdw.c | 130 ++++---- .../tools/perf/arch/sparc/util/dwarf-regs.c | 78 ++--- .../arch/x86/tests/amd-ibs-via-core-pmu.c | 136 ++++----- .../tools/perf/arch/x86/tests/dwarf-unwind.c | 158 +++++----- .../tools/perf/arch/x86/util/auxtrace.c | 144 ++++----- .../kernel/tools/perf/arch/x86/util/tsc.c | 182 ++++++------ .../tools/perf/arch/x86/util/unwind-libdw.c | 108 +++---- .../kernel/tools/perf/bench/kallsyms-parse.c | 150 +++++----- .../kernel/tools/perf/builtin-kallsyms.c | 140 ++++----- .../kernel/tools/perf/builtin-version.c | 148 +++++----- .../arm64/ampere/ampereone/instruction.json | 172 +++++------ .../arch/arm64/ampere/emag/instruction.json | 146 ++++----- .../arch/arm64/ampere/emag/pipeline.json | 100 +++---- .../arm64/arm/cortex-a510/instruction.json | 190 ++++++------ .../arch/arm64/arm/cortex-a53/pipeline.json | 104 +++---- .../arch/arm64/arm/cortex-a57-a72/cache.json | 160 +++++----- .../arch/arm64/arm/cortex-a73/pipeline.json | 76 ++--- .../arch/arm64/arm/neoverse-n2-v2/trace.json | 76 ++--- .../arch/arm64/fujitsu/a64fx/sve.json | 220 +++++++------- .../arm64/hisilicon/hip08/uncore-ddrc.json | 116 ++++---- .../perf/pmu-events/arch/arm64/mapfile.csv | 90 +++--- .../perf/pmu-events/arch/arm64/sbsa.json | 68 ++--- .../arch/riscv/sifive/u74/microarch.json | 112 +++---- .../arch/riscv/thead/c900-legacy/cache.json | 134 ++++----- .../riscv/thead/c900-legacy/instruction.json | 144 ++++----- .../arch/test/test_soc/cpu/metrics.json | 128 ++++---- .../arch/test/test_soc/cpu/uncore.json | 116 ++++---- .../arch/x86/alderlaken/metricgroups.json | 46 +-- .../pmu-events/arch/x86/amdzen2/branch.json | 104 +++---- .../pmu-events/arch/x86/amdzen3/branch.json | 106 +++---- .../arch/x86/emeraldrapids/counter.json | 162 +++++----- .../arch/x86/grandridge/frontend.json | 70 ++--- .../arch/x86/grandridge/metricgroups.json | 46 +-- .../pmu-events/arch/x86/grandridge/other.json | 98 +++--- .../arch/x86/graniterapids/counter.json | 152 +++++----- .../pmu-events/arch/x86/haswell/other.json | 78 ++--- .../pmu-events/arch/x86/haswellx/other.json | 78 ++--- .../pmu-events/arch/x86/ivybridge/other.json | 80 ++--- .../pmu-events/arch/x86/ivytown/other.json | 80 ++--- .../x86/knightslanding/floating-point.json | 58 ++-- .../arch/x86/lunarlake/frontend.json | 60 ++-- .../arch/x86/sapphirerapids/counter.json | 162 +++++----- .../arch/x86/sierraforest/counter.json | 152 +++++----- .../arch/x86/sierraforest/frontend.json | 70 ++--- .../arch/x86/sierraforest/metricgroups.json | 46 +-- .../arch/x86/sierraforest/other.json | 98 +++--- .../kernel/tools/perf/python/tracepoint.py | 96 +++--- .../Perf-Trace-Util/lib/Perf/Trace/Util.pm | 188 ++++++------ .../perf/scripts/python/futex-contention.py | 114 +++---- .../perf/scripts/python/net_dropmonitor.py | 156 +++++----- .../perf/scripts/python/syscall-counts.py | 130 ++++---- .../kernel/tools/perf/tests/bitmap.c | 112 +++---- .../tools/perf/tests/demangle-java-test.c | 88 +++--- .../kernel/tools/perf/tests/mem.c | 126 ++++---- .../shell/base_probe/test_line_semantics.sh | 110 +++---- .../coresight/memcpy_thread/memcpy_thread.c | 156 +++++----- .../shell/coresight/thread_loop/thread_loop.c | 170 +++++------ .../unroll_loop_thread/unroll_loop_thread.c | 146 ++++----- .../shell/record+script_probe_vfs_getname.sh | 102 +++---- .../shell/test_perf_data_converter_json.sh | 130 ++++---- .../shell/test_uprobe_from_different_cu.sh | 180 ++++++------ .../tests/shell/trace+probe_vfs_getname.sh | 88 +++--- .../tools/perf/tests/shell/trace_btf_enum.sh | 132 ++++----- .../tools/perf/tests/workloads/landlock.c | 132 ++++----- .../tools/perf/trace/beauty/fs_at_flags.c | 116 ++++---- .../tools/perf/trace/beauty/mmap_flags.sh | 86 +++--- .../kernel/tools/perf/trace/beauty/mode_t.c | 142 ++++----- .../tools/perf/trace/beauty/msg_flags.c | 152 +++++----- .../tools/perf/trace/beauty/pkey_alloc.c | 108 +++---- .../kernel/tools/perf/trace/beauty/seccomp.c | 110 +++---- .../kernel/tools/perf/trace/beauty/socket.c | 94 +++--- .../tools/perf/trace/beauty/socket_type.c | 126 ++++---- .../tools/perf/trace/beauty/sync_file_range.c | 80 ++--- .../perf/trace/beauty/tracepoints/x86_msr.sh | 80 ++--- .../kernel/tools/perf/ui/gtk/browser.c | 172 +++++------ .../kernel/tools/perf/ui/gtk/gtk.h | 134 ++++----- .../kernel/tools/perf/ui/gtk/progress.c | 118 ++++---- .../kernel/tools/perf/ui/helpline.c | 166 +++++------ .../UFI003_MB_V02/kernel/tools/perf/ui/util.c | 180 ++++++------ .../kernel/tools/perf/util/block-range.h | 152 +++++----- .../kernel/tools/perf/util/bpf-event.h | 120 ++++---- .../kernel/tools/perf/util/bpf-filter.h | 130 ++++---- .../kernel/tools/perf/util/bpf_map.c | 138 ++++----- .../perf/util/bpf_skel/bperf_follower.bpf.c | 156 +++++----- .../perf/util/bpf_skel/bperf_leader.bpf.c | 110 +++---- .../kernel/tools/perf/util/call-path.h | 136 ++++----- .../kernel/tools/perf/util/cgroup.h | 118 ++++---- .../kernel/tools/perf/util/color.h | 98 +++--- .../kernel/tools/perf/util/counts.c | 142 ++++----- .../kernel/tools/perf/util/cpu-set-sched.h | 100 +++---- .../kernel/tools/perf/util/debuginfo.h | 132 ++++----- .../kernel/tools/perf/util/demangle-ocaml.c | 136 ++++----- .../kernel/tools/perf/util/dsos.h | 104 +++---- .../kernel/tools/perf/util/evsel_config.h | 122 ++++---- .../kernel/tools/perf/util/evsel_fprintf.h | 100 +++---- .../kernel/tools/perf/util/evswitch.c | 122 ++++---- .../kernel/tools/perf/util/ftrace.h | 168 +++++------ .../tools/perf/util/generate-cmdlist.sh | 140 ++++----- .../tools/perf/util/include/dwarf-regs.h | 106 +++---- .../kernel/tools/perf/util/iostat.c | 108 +++---- .../kernel/tools/perf/util/iostat.h | 94 +++--- .../kernel/tools/perf/util/libunwind/arm64.c | 80 ++--- .../kernel/tools/perf/util/libunwind/x86_32.c | 82 +++--- .../kernel/tools/perf/util/mmap.h | 134 ++++----- .../kernel/tools/perf/util/path.c | 162 +++++----- .../util/perf-regs-arch/perf_regs_aarch64.c | 184 ++++++------ .../perf/util/perf-regs-arch/perf_regs_mips.c | 166 +++++------ .../util/perf-regs-arch/perf_regs_riscv.c | 176 +++++------ .../perf/util/perf-regs-arch/perf_regs_s390.c | 184 ++++++------ .../perf/util/perf-regs-arch/perf_regs_x86.c | 188 ++++++------ .../kernel/tools/perf/util/pmu.y | 202 ++++++------- .../kernel/tools/perf/util/print-events.h | 86 +++--- .../kernel/tools/perf/util/print_binary.c | 116 ++++---- .../kernel/tools/perf/util/pstack.c | 170 +++++------ .../kernel/tools/perf/util/rblist.h | 100 +++---- .../kernel/tools/perf/util/svghelper.h | 78 ++--- .../kernel/tools/perf/util/symbol_conf.h | 178 +++++------ .../kernel/tools/perf/util/time-utils.h | 102 +++---- .../kernel/tools/perf/util/top.h | 130 ++++---- .../kernel/tools/perf/util/zlib.c | 194 ++++++------ .../kernel/tools/power/acpi/Makefile.rules | 98 +++--- .../kernel/tools/power/acpi/common/cmfsize.c | 136 ++++----- .../tools/power/cpupower/bench/Makefile | 96 +++--- .../power/cpupower/bindings/python/Makefile | 66 ++--- .../power/cpupower/bindings/python/README | 118 ++++---- .../tools/power/cpupower/lib/acpi_cppc.c | 118 ++++---- .../tools/power/cpupower/lib/powercap.h | 108 +++---- .../cpupower/man/cpupower-frequency-set.1 | 104 +++---- .../tools/power/cpupower/man/cpupower.1 | 144 ++++----- .../tools/power/cpupower/utils/helpers/pci.c | 126 ++++---- .../power/cpupower/utils/helpers/sysfs.h | 78 ++--- .../tools/power/pm-graph/config/cgskip.txt | 132 ++++----- .../power/x86/intel-speed-select/Makefile | 120 ++++---- .../kernel/tools/rcu/rcu-updaters.sh | 100 +++---- .../UFI003_MB_V02/kernel/tools/spi/Makefile | 136 ++++----- .../tools/testing/ktest/examples/README | 64 ++-- .../examples/bootconfigs/verify-tracing.sh | 144 ++++----- .../testing/ktest/examples/snowball.conf | 106 +++---- .../kernel/tools/testing/kunit/kunit_json.py | 126 ++++---- .../test_data/test_config_printk_time.log | 64 ++-- .../test_is_test_passed-all_passed.log | 66 ++--- .../test_data/test_is_test_passed-failure.log | 74 ++--- .../test_is_test_passed-missing_plan.log | 62 ++-- ..._output_with_prefix_isolated_correctly.log | 64 ++-- .../kunit/test_data/test_pound_sign.log | 68 ++--- .../kernel/tools/testing/memblock/Makefile | 110 +++---- .../kernel/tools/testing/nvdimm/test/ndtest.h | 156 +++++----- .../testing/radix-tree/iteration_check_2.c | 174 +++++------ .../tools/testing/radix-tree/regression4.c | 158 +++++----- .../testing/selftests/acct/acct_syscall.c | 156 +++++----- .../alsa/conf.d/Lenovo_ThinkPad_P1_Gen2.conf | 168 +++++------ .../tools/testing/selftests/arm64/Makefile | 118 ++++---- .../tools/testing/selftests/arm64/fp/Makefile | 108 +++---- .../selftests/arm64/fp/sve-probe-vls.c | 126 ++++---- .../testing/selftests/arm64/mte/mte_def.h | 120 ++++---- .../testing/selftests/arm64/pauth/Makefile | 78 ++--- .../testing/selftests/arm64/signal/signals.S | 128 ++++---- .../testcases/fake_sigreturn_bad_magic.c | 104 +++---- .../testcases/fake_sigreturn_sme_change_vl.c | 152 +++++----- .../testcases/fake_sigreturn_sve_change_vl.c | 152 +++++----- .../arm64/signal/testcases/fpmr_siginfo.c | 164 +++++------ .../arm64/signal/testcases/poe_siginfo.c | 172 +++++------ .../arm64/signal/testcases/tpidr2_restore.c | 172 +++++------ .../selftests/bpf/benchs/bench_bpf_loop.c | 200 ++++++------- .../selftests/bpf/benchs/bench_count.c | 158 +++++----- .../bpf/benchs/run_bench_bloom_filter_map.sh | 90 +++--- .../testing/selftests/bpf/bpf_arena_alloc.h | 134 ++++----- .../bpf/bpf_test_no_cfi/bpf_test_no_cfi.c | 168 +++++------ .../tools/testing/selftests/bpf/cap_helpers.c | 134 ++++----- .../bpf/cgroup_getset_retval_hooks.h | 50 ++-- .../testing/selftests/bpf/cgroup_helpers.h | 82 +++--- .../testing/selftests/bpf/config.riscv64 | 168 +++++------ .../selftests/bpf/flow_dissector_load.h | 136 ++++----- .../testing/selftests/bpf/netlink_helpers.h | 92 +++--- .../selftests/bpf/prog_tests/bad_struct_ops.c | 134 ++++----- .../selftests/bpf/prog_tests/cb_refs.c | 96 +++--- .../bpf/prog_tests/core_read_macros.c | 128 ++++---- .../testing/selftests/bpf/prog_tests/endian.c | 106 +++---- .../selftests/bpf/prog_tests/fentry_fexit.c | 90 +++--- .../selftests/bpf/prog_tests/fexit_stress.c | 120 ++++---- .../prog_tests/flow_dissector_load_bytes.c | 102 +++---- .../bpf/prog_tests/global_data_init.c | 124 ++++---- .../bpf/prog_tests/global_func_args.c | 124 ++++---- .../bpf/prog_tests/kfunc_module_order.c | 110 +++---- .../testing/selftests/bpf/prog_tests/ksyms.c | 106 +++---- .../selftests/bpf/prog_tests/ksyms_module.c | 138 ++++----- .../selftests/bpf/prog_tests/legacy_printk.c | 130 ++++---- .../bpf/prog_tests/load_bytes_relative.c | 142 ++++----- .../bpf/prog_tests/map_lookup_percpu_elem.c | 116 ++++---- .../selftests/bpf/prog_tests/modify_return.c | 122 ++++---- .../selftests/bpf/prog_tests/pro_epilogue.c | 120 ++++---- .../bpf/prog_tests/prog_tests_framework.c | 112 +++---- .../selftests/bpf/prog_tests/read_vsyscall.c | 116 ++++---- .../bpf/prog_tests/refcounted_kptr.c | 92 +++--- .../bpf/prog_tests/reference_tracking.c | 126 ++++---- .../bpf/prog_tests/sk_storage_omem_uncharge.c | 112 +++---- .../bpf/prog_tests/skc_to_unix_sock.c | 108 +++---- .../selftests/bpf/prog_tests/snprintf_btf.c | 120 ++++---- .../bpf/prog_tests/stacktrace_map_skip.c | 126 ++++---- .../bpf/prog_tests/task_under_cgroup.c | 120 ++++---- .../selftests/bpf/prog_tests/tc_helpers.h | 156 +++++----- .../bpf/prog_tests/test_mmap_inner_array.c | 114 +++---- .../selftests/bpf/prog_tests/time_tai.c | 148 +++++----- .../selftests/bpf/prog_tests/trace_printk.c | 116 ++++---- .../testing/selftests/bpf/prog_tests/xdp.c | 108 +++---- .../testing/selftests/bpf/progs/arena_list.c | 176 +++++------ .../selftests/bpf/progs/bloom_filter_map.c | 166 +++++------ .../selftests/bpf/progs/bpf_hashmap_lookup.c | 126 ++++---- .../selftests/bpf/progs/bpf_iter_ipv6_route.c | 112 +++---- .../selftests/bpf/progs/bpf_iter_ksym.c | 142 ++++----- .../selftests/bpf/progs/bpf_iter_netlink.c | 126 ++++---- .../selftests/bpf/progs/bpf_iter_setsockopt.c | 142 ++++----- .../selftests/bpf/progs/bpf_iter_task_stack.c | 136 ++++----- .../selftests/bpf/progs/bpf_iter_task_vmas.c | 124 ++++---- .../selftests/bpf/progs/bpf_iter_udp4.c | 140 ++++----- .../bpf/progs/btf_dump_test_case_bitfields.c | 184 ++++++------ .../selftests/bpf/progs/btf_type_tag_percpu.c | 134 ++++----- .../selftests/bpf/progs/crypto_common.h | 132 ++++----- .../selftests/bpf/progs/decap_sanity.c | 136 ++++----- .../selftests/bpf/progs/exhandler_kern.c | 104 +++---- .../testing/selftests/bpf/progs/fentry_test.c | 158 +++++----- .../testing/selftests/bpf/progs/fexit_test.c | 160 +++++----- .../testing/selftests/bpf/progs/find_vma.c | 138 ++++----- .../bpf/progs/for_each_array_map_elem.c | 146 ++++----- .../tools/testing/selftests/bpf/progs/ima.c | 206 ++++++------- .../testing/selftests/bpf/progs/iters_css.c | 144 ++++----- .../bpf/progs/kprobe_multi_session.c | 156 +++++----- .../selftests/bpf/progs/linked_maps2.c | 152 +++++----- .../selftests/bpf/progs/linked_vars1.c | 108 +++---- .../selftests/bpf/progs/linked_vars2.c | 110 +++---- .../local_storage_rcu_tasks_trace_bench.c | 134 ++++----- .../selftests/bpf/progs/map_in_map_btf.c | 146 ++++----- .../testing/selftests/bpf/progs/netcnt_prog.c | 138 ++++----- .../selftests/bpf/progs/netns_cookie_prog.c | 168 +++++------ .../selftests/bpf/progs/preempted_bpf_ma_op.c | 212 ++++++------- .../selftests/bpf/progs/read_vsyscall.c | 104 +++---- .../selftests/bpf/progs/sockopt_multi.c | 180 ++++++------ .../selftests/bpf/progs/stacktrace_map_skip.c | 136 ++++----- .../selftests/bpf/progs/strncmp_test.c | 108 +++---- .../selftests/bpf/progs/struct_ops_module.c | 180 ++++++------ .../bpf/progs/struct_ops_multi_pages.c | 204 ++++++------- .../selftests/bpf/progs/tailcall_bpf2bpf4.c | 156 +++++----- .../selftests/bpf/progs/task_kfunc_common.h | 152 +++++----- .../selftests/bpf/progs/tcp_ca_update.c | 148 +++++----- .../bpf/progs/tcp_ca_write_sk_pacing.c | 130 ++++---- .../bpf/progs/test_cgroup1_hierarchy.c | 142 ++++----- .../selftests/bpf/progs/test_cls_redirect.h | 126 ++++---- .../selftests/bpf/progs/test_core_extern.c | 130 ++++---- .../bpf/progs/test_core_reloc_enumval.c | 144 ++++----- .../bpf/progs/test_core_reloc_existence.c | 156 +++++----- .../bpf/progs/test_core_reloc_misc.c | 120 ++++---- .../bpf/progs/test_core_reloc_mods.c | 148 +++++----- .../selftests/bpf/progs/test_get_xattr.c | 128 ++++---- .../selftests/bpf/progs/test_global_func15.c | 112 +++---- .../selftests/bpf/progs/test_global_func9.c | 268 ++++++++--------- .../bpf/progs/test_helper_restricted.c | 246 ++++++++-------- .../selftests/bpf/progs/test_ksyms_btf.c | 110 +++---- .../selftests/bpf/progs/test_legacy_printk.c | 146 ++++----- .../selftests/bpf/progs/test_log_fixup.c | 148 +++++----- .../selftests/bpf/progs/test_map_in_map.c | 152 +++++----- .../bpf/progs/test_map_lookup_percpu_elem.c | 152 +++++----- .../selftests/bpf/progs/test_rdonly_maps.c | 168 +++++------ .../selftests/bpf/progs/test_ringbuf.c | 154 +++++----- .../bpf/progs/test_ringbuf_map_key.c | 142 ++++----- .../selftests/bpf/progs/test_ringbuf_multi.c | 176 +++++------ .../selftests/bpf/progs/test_siphash.h | 128 ++++---- .../bpf/progs/test_skmsg_load_helpers.c | 140 ++++----- .../selftests/bpf/progs/test_stack_var_off.c | 102 +++---- .../bpf/progs/test_stacktrace_build_id.c | 134 ++++----- .../selftests/bpf/progs/test_stacktrace_map.c | 152 +++++----- .../selftests/bpf/progs/test_sysctl_loop1.c | 146 ++++----- .../selftests/bpf/progs/test_sysctl_loop2.c | 142 ++++----- .../selftests/bpf/progs/test_sysctl_prog.c | 144 ++++----- .../bpf/progs/test_task_under_cgroup.c | 154 +++++----- .../selftests/bpf/progs/test_tc_link.c | 204 ++++++------- .../bpf/progs/test_unpriv_bpf_disabled.c | 166 +++++------ .../selftests/bpf/progs/test_xdp_bpf2bpf.c | 132 ++++----- .../selftests/bpf/progs/timer_failure.c | 136 ++++----- .../selftests/bpf/progs/timer_lockup.c | 174 +++++------ .../selftests/bpf/progs/timer_mim_reject.c | 148 +++++----- .../verifier_direct_stack_access_wraparound.c | 112 +++---- .../bpf/progs/verifier_prevent_map_lookup.c | 122 ++++---- .../selftests/bpf/progs/verifier_reg_equal.c | 116 ++++---- .../selftests/bpf/progs/verifier_uninit.c | 122 ++++---- .../bpf/progs/verifier_value_adj_spill.c | 156 +++++----- .../selftests/bpf/progs/verifier_vfs_accept.c | 170 +++++------ .../selftests/bpf/progs/vrf_socket_lookup.c | 178 +++++------ .../selftests/bpf/progs/xsk_xdp_progs.c | 146 ++++----- .../selftests/bpf/test_bpftool_metadata.sh | 170 +++++------ .../tools/testing/selftests/bpf/test_kmod.sh | 146 ++++----- .../selftests/bpf/test_tcp_check_syncookie.sh | 170 +++++------ .../testing/selftests/bpf/test_xdp_meta.sh | 116 ++++---- .../bpf/verifier/perf_event_sample_period.c | 118 ++++---- .../testing/selftests/bpf/xsk_prereqs.sh | 186 ++++++------ .../selftests/capabilities/validate_cap.c | 154 +++++----- .../selftests/cgroup/test_cpuset_v1_base.sh | 154 +++++----- .../testing/selftests/cgroup/wait_inotify.c | 174 +++++------ .../testing/selftests/cgroup/with_stress.sh | 202 ++++++------- .../selftests/clone3/clone3_selftests.h | 138 ++++----- ...fs_target_ids_read_before_terminate_race.c | 160 +++++----- .../damon/sysfs_update_removed_scheme_dir.sh | 116 ++++---- .../drivers/net/bonding/bond-lladdr-target.sh | 160 +++++----- .../drivers/net/bonding/bond_topo_3d1c.sh | 86 +++--- .../drivers/net/dsa/test_bridge_fdb_stress.sh | 94 +++--- .../selftests/drivers/net/hw/loopback.sh | 206 ++++++------- .../selftests/drivers/net/mlxsw/mlxsw_lib.sh | 154 +++++----- .../drivers/net/mlxsw/port_range_scale.sh | 190 ++++++------ .../selftests/drivers/net/mlxsw/port_scale.sh | 124 ++++---- .../drivers/net/mlxsw/rif_counter_scale.sh | 214 +++++++------- .../net/mlxsw/rif_mac_profile_scale.sh | 144 ++++----- .../net/mlxsw/spectrum-2/resource_scale.sh | 158 +++++----- .../net/mlxsw/spectrum/resource_scale.sh | 168 +++++------ .../drivers/net/mlxsw/tc_police_scale.sh | 202 ++++++------- .../selftests/drivers/net/mlxsw/vxlan_ipv6.sh | 130 ++++---- .../drivers/net/netdevsim/devlink_in_netns.sh | 144 ++++----- .../drivers/net/netdevsim/ethtool-ring.sh | 170 +++++------ .../drivers/net/netdevsim/tc-mq-visibility.sh | 154 +++++----- .../testing/selftests/drivers/net/ping.py | 102 +++---- .../testing/selftests/drivers/net/queues.py | 130 ++++---- .../tools/testing/selftests/exec/Makefile | 80 ++--- .../tools/testing/selftests/exec/null-argv.c | 156 +++++----- .../tools/testing/selftests/fpu/test_fpu.c | 122 ++++---- .../ftrace/test.d/direct/ftrace-direct.tc | 138 ++++----- .../ftrace/test.d/direct/kprobe-direct.tc | 160 +++++----- .../dynevent/add_remove_tprobe_module.tc | 122 ++++---- .../test.d/dynevent/eprobes_syntax_errors.tc | 58 ++-- .../ftrace/test.d/dynevent/fprobe_args_vfs.tc | 82 +++--- .../ftrace/test.d/dynevent/test_duplicates.tc | 76 ++--- .../test.d/ftrace/fgraph-filter-stack.tc | 146 ++++----- .../ftrace/test.d/ftrace/func-filter-glob.tc | 116 ++++---- .../ftrace/test.d/ftrace/func_profiler.tc | 128 ++++---- .../test.d/kprobe/kprobe_args_symbol.tc | 76 ++--- .../ftrace/test.d/kprobe/kprobe_module.tc | 104 +++---- .../test.d/kprobe/kretprobe_maxactive.tc | 70 ++--- .../test.d/preemptirq/irqsoff_tracer.tc | 156 +++++----- .../trigger-field-variable-support.tc | 66 ++--- .../trigger-inter-event-combined-hist.tc | 74 ++--- .../inter-event/trigger-synthetic-eprobe.tc | 106 +++---- .../trigger-synthetic_event_syntax_errors.tc | 76 ++--- .../test.d/trigger/trigger-eventonoff.tc | 90 +++--- .../ftrace/test.d/trigger/trigger-filter.tc | 76 ++--- .../ftrace/test.d/trigger/trigger-hist-mod.tc | 100 +++---- .../test.d/trigger/trigger-multihist.tc | 88 +++--- .../testing/selftests/futex/include/atomic.h | 158 +++++----- .../selftests/gpio/gpio-mockup-sysfs.sh | 154 +++++----- .../tools/testing/selftests/kselftest/ksft.py | 180 ++++++------ .../selftests/kselftest/ktap_helpers.sh | 222 +++++++------- .../testing/selftests/kselftest_module.h | 116 ++++---- .../testing/selftests/kvm/include/numaif.h | 110 +++---- .../selftests/kvm/include/riscv/arch_timer.h | 142 ++++----- .../selftests/kvm/include/s390x/debug_print.h | 138 ++++----- .../selftests/kvm/include/x86_64/svm_util.h | 130 ++++---- .../selftests/kvm/lib/riscv/handlers.S | 202 ++++++------- .../testing/selftests/kvm/lib/x86_64/ucall.c | 112 +++---- .../testing/selftests/kvm/riscv/ebreak_test.c | 166 +++++------ .../kvm/x86_64/cr4_cpuid_sync_test.c | 170 +++++------ .../selftests/kvm/x86_64/flds_emulation.h | 104 +++---- .../selftests/kvm/x86_64/platform_info_test.c | 160 +++++----- .../kvm/x86_64/recalc_apic_map_test.c | 148 +++++----- .../kvm/x86_64/svm_nested_shutdown_test.c | 118 ++++---- .../selftests/kvm/x86_64/svm_vmcall_test.c | 140 ++++----- .../kvm/x86_64/vmx_close_while_nested_test.c | 160 +++++----- .../selftests/kvm/x86_64/xss_msr_test.c | 108 +++---- .../tools/testing/selftests/livepatch/README | 112 +++---- .../selftests/livepatch/test-syscall.sh | 112 +++---- .../test_modules/test_klp_callbacks_busy.c | 140 ++++----- .../testing/selftests/lkdtm/stack-entropy.sh | 102 +++---- .../tools/testing/selftests/lsm/common.c | 178 +++++------ .../selftests/lsm/lsm_set_self_attr_test.c | 148 +++++----- .../selftests/media_tests/regression_test.txt | 86 +++--- .../membarrier/membarrier_test_multi_thread.c | 146 ++++----- .../selftests/memfd/run_hugetlbfs_test.sh | 136 ++++----- .../testing/selftests/mm/hugepage-mmap.c | 156 +++++----- .../selftests/mm/hugetlb_fault_after_madv.c | 146 ++++----- .../selftests/mm/va_high_addr_switch.sh | 120 ++++---- .../tools/testing/selftests/net/altnames.sh | 150 +++++----- .../tools/testing/selftests/net/bind_bhash.sh | 136 ++++----- .../testing/selftests/net/bind_timewait.c | 184 ++++++------ .../testing/selftests/net/cmsg_so_mark.sh | 156 +++++----- .../net/forwarding/bridge_mdb_host.sh | 206 ++++++------- .../net/forwarding/ip6gre_hier_key.sh | 158 +++++----- .../net/forwarding/ip6gre_hier_keys.sh | 158 +++++----- .../net/forwarding/mirror_gre_vlan.sh | 146 ++++----- .../net/forwarding/sch_tbf_etsprio.sh | 142 ++++----- .../testing/selftests/net/hsr/hsr_common.sh | 168 +++++------ .../testing/selftests/net/ip6_gre_headroom.sh | 130 ++++---- .../tools/testing/selftests/net/lib/py/ynl.py | 98 +++--- .../testing/selftests/net/netfilter/Makefile | 116 ++++---- .../net/netfilter/br_netfilter_queue.sh | 170 +++++------ .../net/netfilter/nf_conntrack_packetdrill.sh | 142 ++++----- .../conntrack_syn_challenge_ack.pkt | 88 +++--- .../packetdrill/conntrack_synack_reuse.pkt | 68 ++--- .../net/packetdrill/tcp_inq_client.pkt | 102 +++---- .../net/packetdrill/tcp_inq_server.pkt | 102 +++---- ...tcp_slow_start_slow-start-ack-per-1pkt.pkt | 112 +++---- ...slow_start_slow-start-after-win-update.pkt | 100 +++---- .../net/packetdrill/tcp_zerocopy_batch.pkt | 82 +++--- .../net/packetdrill/tcp_zerocopy_closed.pkt | 88 +++--- .../tcp_zerocopy_fastopen-server.pkt | 88 +++--- .../testing/selftests/net/rds/README.txt | 82 +++--- .../selftests/net/sk_bind_sendto_listen.c | 160 +++++----- .../testing/selftests/net/so_netns_cookie.c | 122 ++++---- .../testing/selftests/net/tcp_ao/Makefile | 114 +++---- .../testing/selftests/net/txtimestamp.sh | 168 +++++------ .../selftests/net/xfrm_policy_add_speed.sh | 166 +++++------ .../tools/testing/selftests/nsfs/pidns.c | 158 +++++----- .../tools/testing/selftests/powerpc/Makefile | 152 +++++----- .../powerpc/alignment/copy_first_unaligned.c | 134 ++++----- .../selftests/powerpc/benchmarks/mmap_bench.c | 180 ++++++------ .../selftests/powerpc/copyloops/asm/ppc_asm.h | 124 ++++---- .../selftests/powerpc/dscr/dscr_sysfs_test.c | 178 +++++------ .../powerpc/dscr/dscr_sysfs_thread_test.c | 158 +++++----- .../selftests/powerpc/dscr/dscr_user_test.c | 120 ++++---- .../selftests/powerpc/include/vmx_asm.h | 184 ++++++------ .../selftests/powerpc/math/fpu_syscall.c | 176 +++++------ .../selftests/powerpc/math/vmx_syscall.c | 184 ++++++------ .../testing/selftests/powerpc/math/vsx_asm.S | 114 +++---- .../powerpc/mm/hugetlb_vs_thp_test.c | 154 +++++----- .../selftests/powerpc/mm/segv_errors.c | 156 +++++----- .../testing/selftests/powerpc/nx-gzip/README | 90 +++--- .../powerpc/nx-gzip/include/copy-paste.h | 112 +++---- .../powerpc/pmu/ebb/cpu_event_vs_ebb_test.c | 180 ++++++------ .../testing/selftests/powerpc/pmu/ebb/ebb.h | 152 +++++----- .../powerpc/pmu/ebb/ebb_on_child_test.c | 176 +++++------ .../powerpc/pmu/ebb/ebb_vs_cpu_event_test.c | 174 +++++------ .../powerpc/pmu/ebb/fork_cleanup_test.c | 160 +++++----- .../powerpc/pmu/ebb/pmc56_overflow_test.c | 186 ++++++------ .../powerpc/pmu/ebb/task_event_vs_ebb_test.c | 170 +++++------ .../testing/selftests/powerpc/pmu/event.h | 98 +++--- .../group_constraint_cache_test.c | 120 ++++---- .../group_constraint_l2l3_sel_test.c | 128 ++++---- .../group_constraint_pmc56_test.c | 126 ++++---- .../group_constraint_pmc_count_test.c | 140 ++++----- .../group_constraint_radix_scope_qual_test.c | 112 +++---- .../group_constraint_thresh_ctl_test.c | 128 ++++---- .../group_constraint_thresh_sel_test.c | 126 ++++---- .../group_pmc56_exclude_constraints_test.c | 128 ++++---- .../invalid_event_code_test.c | 134 ++++----- .../bhrb_no_crash_wo_pmu_test.c | 118 ++++---- .../sampling_tests/mmcr0_exceptionbits_test.c | 118 ++++---- .../pmu/sampling_tests/mmcr1_comb_test.c | 132 ++++----- .../pmu/sampling_tests/mmcr2_l2l3_test.c | 148 +++++----- .../pmu/sampling_tests/mmcr3_src_test.c | 134 ++++----- .../pmu/sampling_tests/mmcra_bhrb_any_test.c | 130 ++++---- .../pmu/sampling_tests/mmcra_bhrb_cond_test.c | 138 ++++----- .../mmcra_bhrb_disable_no_branch_test.c | 128 ++++---- .../sampling_tests/mmcra_bhrb_disable_test.c | 132 ++++----- .../sampling_tests/mmcra_bhrb_ind_call_test.c | 138 ++++----- .../sampling_tests/mmcra_thresh_cmp_test.c | 148 +++++----- .../selftests/powerpc/security/flush_utils.c | 168 +++++------ .../powerpc/security/mitigation-patching.sh | 156 +++++----- .../switch_endian/switch_endian_test.S | 194 ++++++------ .../selftests/powerpc/tm/tm-signal-msr-resv.c | 148 +++++----- .../selftests/powerpc/tm/tm-signal-stack.c | 154 +++++----- .../prctl/disable-tsc-ctxt-sw-stress-test.c | 196 ++++++------ .../prctl/disable-tsc-on-off-stress-test.c | 194 ++++++------ .../selftests/prctl/set-process-name.c | 188 ++++++------ .../testing/selftests/proc/fd-002-posix-eq.c | 114 +++---- .../selftests/proc/proc-2-is-kthread.c | 106 +++---- .../selftests/proc/proc-fsconfig-hidepid.c | 100 +++---- .../selftests/proc/proc-multiple-procfs.c | 96 +++--- .../selftests/proc/proc-self-syscall.c | 116 ++++---- .../tools/testing/selftests/proc/proc-tid0.c | 162 +++++----- .../testing/selftests/proc/proc-uptime-001.c | 116 ++++---- .../testing/selftests/proc/proc-uptime.h | 120 ++++---- .../testing/selftests/proc/thread-self.c | 128 ++++---- .../testing/selftests/pstore/common_tests | 166 +++++------ .../testing/selftests/ptrace/get_set_sud.c | 144 ++++----- .../tools/testing/selftests/ptrace/vmaccess.c | 172 +++++------ .../rcutorture/bin/kvm-recheck-refscale.sh | 142 ++++----- .../selftests/rcutorture/bin/srcu_lockdep.sh | 156 +++++----- .../rcutorture/configs/rcu/ver_functions.sh | 112 +++---- .../tools/testing/selftests/riscv/Makefile | 116 ++++---- .../tools/testing/selftests/rseq/basic_test.c | 120 ++++---- .../tools/testing/selftests/rseq/compiler.h | 124 ++++---- .../selftests/rseq/rseq-bits-template.h | 82 +++--- .../tools/testing/selftests/rtc/setdate.c | 154 +++++----- .../selftests/sched_ext/ddsp_bogus_dsq_fail.c | 114 +++---- .../sched_ext/ddsp_vtimelocal_fail.c | 112 +++---- .../selftests/sched_ext/dsp_local_on.bpf.c | 136 ++++----- .../selftests/sched_ext/dsp_local_on.c | 118 ++++---- .../sched_ext/enq_last_no_enq_fails.c | 128 ++++---- .../testing/selftests/sched_ext/exit.bpf.c | 172 +++++------ .../tools/testing/selftests/sched_ext/exit.c | 126 ++++---- .../testing/selftests/sched_ext/hotplug.bpf.c | 122 ++++---- .../testing/selftests/sched_ext/prog_run.c | 156 +++++----- .../testing/selftests/sched_ext/reload_loop.c | 150 +++++----- .../selftests/sched_ext/select_cpu_dfl.c | 144 ++++----- .../sched_ext/select_cpu_dfl_nodispatch.c | 144 ++++----- .../selftests/sched_ext/select_cpu_dispatch.c | 140 ++++----- .../sched_ext/select_cpu_dispatch_bad_dsq.c | 112 +++---- .../sched_ext/select_cpu_dispatch_dbl_dsp.c | 112 +++---- .../tools/testing/selftests/sgx/Makefile | 120 ++++---- .../tools/testing/selftests/sgx/defines.h | 162 +++++----- .../tools/testing/selftests/sync/sw_sync.h | 92 +++--- .../tools/testing/selftests/sync/sync.h | 80 ++--- .../tc-testing/plugin-lib/scapyPlugin.py | 108 +++---- .../tc-testing/tc-tests/qdiscs/drr.json | 130 ++++---- .../tools/testing/selftests/tc-testing/tdc.sh | 132 ++++----- .../tools/testing/selftests/timers/set-tai.c | 138 ++++----- .../selftests/timers/skew_consistency.c | 150 +++++----- .../tools/testing/selftests/vDSO/Makefile | 86 +++--- .../tools/testing/selftests/vDSO/vdso_call.h | 140 ++++----- .../selftests/vDSO/vdso_test_gettimeofday.c | 116 ++++---- .../selftests/wireguard/qemu/debug.config | 114 +++---- .../kernel/tools/thermal/lib/log.c | 154 +++++----- .../kernel/tools/thermal/lib/mainloop.c | 208 ++++++------- .../kernel/tools/thermal/tmon/Makefile | 108 +++---- .../kernel/tools/thermal/tmon/README | 100 +++---- .../kernel/tools/tracing/rtla/Makefile.config | 112 +++---- .../kernel/tools/tracing/rtla/src/rtla.c | 178 +++++------ .../kernel/tools/tracing/rtla/src/timerlat.c | 142 ++++----- .../kernel/tools/tracing/rtla/src/trace.h | 104 +++---- .../kernel/tools/tracing/rtla/src/utils.h | 144 ++++----- .../UFI003_MB_V02/kernel/tools/usb/Makefile | 102 +++---- .../usb/usbip/libsrc/usbip_host_driver.c | 106 +++---- .../kernel/tools/verification/dot2/dot2k | 90 +++--- .../tools/verification/rv/Makefile.config | 96 +++--- .../kernel/tools/verification/rv/Makefile.rv | 102 +++---- .../kernel/tools/virtio/linux/dma-mapping.h | 92 +++--- .../kernel/tools/virtio/linux/virtio.h | 144 ++++----- 4000 files changed, 255506 insertions(+), 255361 deletions(-) create mode 100644 image/debian/UFI003_MB_V02/kernel/.github/workflows/build.yml create mode 100644 image/debian/UFI003_MB_V02/kernel/.github/workflows/release.yml mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/cifs/winucase_convert.pl mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/arch/arm/boot/deflate_xip_data.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/scripts/cc-version.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/scripts/extract-ikconfig mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/scripts/extract-vmlinux mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/scripts/kconfig/mconf-cfg.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/scripts/kconfig/nconf-cfg.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/scripts/package/gen-diff-patch mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/scripts/syscallnr.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/memory-model/scripts/checkalllitmus.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/perf/python/tracepoint.py mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/perf/scripts/python/net_dropmonitor.py mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/perf/tests/shell/base_probe/test_line_semantics.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/perf/tests/shell/record+script_probe_vfs_getname.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/perf/tests/shell/test_perf_data_converter_json.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/perf/tests/shell/test_uprobe_from_different_cu.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/perf/tests/shell/trace+probe_vfs_getname.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/perf/tests/shell/trace_btf_enum.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/perf/trace/beauty/mmap_flags.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/perf/trace/beauty/tracepoints/x86_msr.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/perf/util/generate-cmdlist.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/rcu/rcu-updaters.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/ktest/examples/bootconfigs/verify-tracing.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/benchs/run_bench_bloom_filter_map.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/test_bpftool_metadata.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/test_kmod.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/test_tcp_check_syncookie.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/test_xdp_meta.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/xsk_prereqs.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/cgroup/test_cpuset_v1_base.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/cgroup/with_stress.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/damon/sysfs_update_removed_scheme_dir.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/bonding/bond-lladdr-target.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/dsa/test_bridge_fdb_stress.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/hw/loopback.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/resource_scale.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/mlxsw/spectrum/resource_scale.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/mlxsw/vxlan_ipv6.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/netdevsim/devlink_in_netns.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/netdevsim/ethtool-ring.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/netdevsim/tc-mq-visibility.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/ping.py mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/queues.py mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/gpio/gpio-mockup-sysfs.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/livepatch/test-syscall.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/lkdtm/stack-entropy.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/memfd/run_hugetlbfs_test.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/mm/va_high_addr_switch.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/altnames.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/bind_bhash.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/cmsg_so_mark.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/forwarding/bridge_mdb_host.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/forwarding/ip6gre_hier_key.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/forwarding/ip6gre_hier_keys.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/forwarding/mirror_gre_vlan.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/ip6_gre_headroom.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/netfilter/br_netfilter_queue.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/netfilter/nf_conntrack_packetdrill.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/txtimestamp.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/xfrm_policy_add_speed.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/powerpc/security/mitigation-patching.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/pstore/common_tests mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/bin/kvm-recheck-refscale.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/bin/srcu_lockdep.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/tc-testing/tdc.sh diff --git a/image/debian/UFI003_MB_V02/kernel/.github/workflows/build.yml b/image/debian/UFI003_MB_V02/kernel/.github/workflows/build.yml new file mode 100644 index 0000000000..6a307be475 --- /dev/null +++ b/image/debian/UFI003_MB_V02/kernel/.github/workflows/build.yml @@ -0,0 +1,72 @@ +name: Build kernel deb packages +on: + push: + branches: + - '*' + pull_request: + workflow_dispatch: + +jobs: + build: + name: Build kernel + runs-on: ubuntu-latest + container: debian:trixie + steps: + - name: Prepare + run: | + dpkg --add-architecture arm64 + apt-get -y update + apt-get -y install git lsb-release gcc-aarch64-linux-gnu bison flex libssl-dev libssl-dev:arm64 libelf-dev debhelper bc rsync kmod cpio + + - name: Checkout + uses: actions/checkout@v4 + + - name: Prepare repository + run: git config --global --add safe.directory "$(pwd)" + + - name: Build + run: | + export CROSS_COMPILE=aarch64-linux-gnu- + export ARCH=arm64 + make ufi003_defconfig + make deb-pkg -j"$(($(grep -c processor < /proc/cpuinfo)*2))" + + - name: Prepare artifacts + run: mkdir artifacts && mv ../linux-image-*.deb ../linux-headers-*.deb artifacts/ + + - name: Upload artifacts + uses: actions/upload-artifact@v4 + with: + name: kernel + path: artifacts/* + + bootimg: + name: Make boot images + needs: build + runs-on: ubuntu-22.04 + steps: + - name: Prepare + run: | + sudo apt-get -y update + sudo apt-get -y install binfmt-support qemu-user-static mkbootimg + mkdir artifacts + + - name: Checkout + uses: actions/checkout@v4 + + - name: Download kernel + uses: actions/download-artifact@v4 + with: + name: kernel + path: artifacts + + - name: Build + run: | + cd .github/scripts + sudo ./build_boot_img.sh + + - name: Upload artifacts + uses: actions/upload-artifact@v4 + with: + name: kernel and boot images + path: artifacts/* diff --git a/image/debian/UFI003_MB_V02/kernel/.github/workflows/release.yml b/image/debian/UFI003_MB_V02/kernel/.github/workflows/release.yml new file mode 100644 index 0000000000..5135320469 --- /dev/null +++ b/image/debian/UFI003_MB_V02/kernel/.github/workflows/release.yml @@ -0,0 +1,73 @@ +name: Release kernel deb packages +on: + push: + tags: + - "*" + +jobs: + build: + name: Build kernel + runs-on: ubuntu-latest + container: debian:trixie + steps: + - name: Prepare + run: | + dpkg --add-architecture arm64 + apt-get -y update + apt-get -y install git lsb-release gcc-aarch64-linux-gnu bison flex libssl-dev libssl-dev:arm64 libelf-dev debhelper bc rsync kmod cpio + + - name: Checkout + uses: actions/checkout@v4 + + - name: Prepare repository + run: git config --global --add safe.directory "$(pwd)" + + - name: Build + run: | + export CROSS_COMPILE=aarch64-linux-gnu- + export ARCH=arm64 + make ufi003_defconfig + make deb-pkg -j"$(($(grep -c processor < /proc/cpuinfo)*2))" + + - name: Prepare artifacts + run: mkdir artifacts && mv ../linux-* artifacts/ + + - name: Upload artifacts + uses: actions/upload-artifact@v4 + with: + name: kernel + path: artifacts/* + + bootimg: + name: Make boot images + needs: build + runs-on: ubuntu-22.04 + steps: + - name: Prepare + run: | + sudo apt-get -y update + sudo apt-get -y install binfmt-support qemu-user-static mkbootimg + mkdir artifacts + + - name: Checkout + uses: actions/checkout@v4 + + - name: Download kernel + uses: actions/download-artifact@v4 + with: + name: kernel + path: artifacts + + - name: Build + run: | + cd .github/scripts + sudo ./build_boot_img.sh + + - name: Generate release info + run: git log -1 --format=%B > changes.txt + + - name: Releases + uses: softprops/action-gh-release@v2 + with: + body_path: changes.txt + files: artifacts/* diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/removed/sysfs-mce b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/removed/sysfs-mce index 7e2032dd44..ef5dd2a809 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/removed/sysfs-mce +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/removed/sysfs-mce @@ -1,37 +1,37 @@ -What: /sys/devices/system/machinecheck/machinecheckX/tolerant -Contact: Borislav Petkov -Date: Dec, 2021 -Description: - Unused and obsolete after the advent of recoverable machine - checks (see last sentence below) and those are present since - 2010 (Nehalem). - - Original description: - - The entries appear for each CPU, but they are truly shared - between all CPUs. - - Tolerance level. When a machine check exception occurs for a - non corrected machine check the kernel can take different - actions. - - Since machine check exceptions can happen any time it is - sometimes risky for the kernel to kill a process because it - defies normal kernel locking rules. The tolerance level - configures how hard the kernel tries to recover even at some - risk of deadlock. Higher tolerant values trade potentially - better uptime with the risk of a crash or even corruption - (for tolerant >= 3). - - == =========================================================== - 0 always panic on uncorrected errors, log corrected errors - 1 panic or SIGBUS on uncorrected errors, log corrected errors - 2 SIGBUS or log uncorrected errors, log corrected errors - 3 never panic or SIGBUS, log all errors (for testing only) - == =========================================================== - - Default: 1 - - Note this only makes a difference if the CPU allows recovery - from a machine check exception. Current x86 CPUs generally - do not. +What: /sys/devices/system/machinecheck/machinecheckX/tolerant +Contact: Borislav Petkov +Date: Dec, 2021 +Description: + Unused and obsolete after the advent of recoverable machine + checks (see last sentence below) and those are present since + 2010 (Nehalem). + + Original description: + + The entries appear for each CPU, but they are truly shared + between all CPUs. + + Tolerance level. When a machine check exception occurs for a + non corrected machine check the kernel can take different + actions. + + Since machine check exceptions can happen any time it is + sometimes risky for the kernel to kill a process because it + defies normal kernel locking rules. The tolerance level + configures how hard the kernel tries to recover even at some + risk of deadlock. Higher tolerant values trade potentially + better uptime with the risk of a crash or even corruption + (for tolerant >= 3). + + == =========================================================== + 0 always panic on uncorrected errors, log corrected errors + 1 panic or SIGBUS on uncorrected errors, log corrected errors + 2 SIGBUS or log uncorrected errors, log corrected errors + 3 never panic or SIGBUS, log all errors (for testing only) + == =========================================================== + + Default: 1 + + Note this only makes a difference if the CPU allows recovery + from a machine check exception. Current x86 CPUs generally + do not. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/removed/sysfs-selinux-checkreqprot b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/removed/sysfs-selinux-checkreqprot index e189fa5ccb..f599a0a87e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/removed/sysfs-selinux-checkreqprot +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/removed/sysfs-selinux-checkreqprot @@ -1,26 +1,26 @@ -What: /sys/fs/selinux/checkreqprot -Date: April 2005 (predates git) -KernelVersion: 2.6.12-rc2 (predates git) -Contact: selinux@vger.kernel.org -Description: - - REMOVAL UPDATE: The SELinux checkreqprot functionality was removed in - March 2023, the original deprecation notice is shown below. - - The selinuxfs "checkreqprot" node allows SELinux to be configured - to check the protection requested by userspace for mmap/mprotect - calls instead of the actual protection applied by the kernel. - This was a compatibility mechanism for legacy userspace and - for the READ_IMPLIES_EXEC personality flag. However, if set to - 1, it weakens security by allowing mappings to be made executable - without authorization by policy. The default value of checkreqprot - at boot was changed starting in Linux v4.4 to 0 (i.e. check the - actual protection), and Android and Linux distributions have been - explicitly writing a "0" to /sys/fs/selinux/checkreqprot during - initialization for some time. Support for setting checkreqprot to 1 - will be removed no sooner than June 2021, at which point the kernel - will always cease using checkreqprot internally and will always - check the actual protections being applied upon mmap/mprotect calls. - The checkreqprot selinuxfs node will remain for backward compatibility - but will discard writes of the "0" value and will reject writes of the - "1" value when this mechanism is removed. +What: /sys/fs/selinux/checkreqprot +Date: April 2005 (predates git) +KernelVersion: 2.6.12-rc2 (predates git) +Contact: selinux@vger.kernel.org +Description: + + REMOVAL UPDATE: The SELinux checkreqprot functionality was removed in + March 2023, the original deprecation notice is shown below. + + The selinuxfs "checkreqprot" node allows SELinux to be configured + to check the protection requested by userspace for mmap/mprotect + calls instead of the actual protection applied by the kernel. + This was a compatibility mechanism for legacy userspace and + for the READ_IMPLIES_EXEC personality flag. However, if set to + 1, it weakens security by allowing mappings to be made executable + without authorization by policy. The default value of checkreqprot + at boot was changed starting in Linux v4.4 to 0 (i.e. check the + actual protection), and Android and Linux distributions have been + explicitly writing a "0" to /sys/fs/selinux/checkreqprot during + initialization for some time. Support for setting checkreqprot to 1 + will be removed no sooner than June 2021, at which point the kernel + will always cease using checkreqprot internally and will always + check the actual protections being applied upon mmap/mprotect calls. + The checkreqprot selinuxfs node will remain for backward compatibility + but will discard writes of the "0" value and will reject writes of the + "1" value when this mechanism is removed. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/removed/sysfs-selinux-disable b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/removed/sysfs-selinux-disable index 0cb077d924..cb783c64ca 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/removed/sysfs-selinux-disable +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/removed/sysfs-selinux-disable @@ -1,29 +1,29 @@ -What: /sys/fs/selinux/disable -Date: April 2005 (predates git) -KernelVersion: 2.6.12-rc2 (predates git) -Contact: selinux@vger.kernel.org -Description: - - REMOVAL UPDATE: The SELinux runtime disable functionality was removed - in March 2023, the original deprecation notice is shown below. - - The selinuxfs "disable" node allows SELinux to be disabled at runtime - prior to a policy being loaded into the kernel. If disabled via this - mechanism, SELinux will remain disabled until the system is rebooted. - - The preferred method of disabling SELinux is via the "selinux=0" boot - parameter, but the selinuxfs "disable" node was created to make it - easier for systems with primitive bootloaders that did not allow for - easy modification of the kernel command line. Unfortunately, allowing - for SELinux to be disabled at runtime makes it difficult to secure the - kernel's LSM hooks using the "__ro_after_init" feature. - - Thankfully, the need for the SELinux runtime disable appears to be - gone, the default Kconfig configuration disables this selinuxfs node, - and only one of the major distributions, Fedora, supports disabling - SELinux at runtime. Fedora is in the process of removing the - selinuxfs "disable" node and once that is complete we will start the - slow process of removing this code from the kernel. - - More information on /sys/fs/selinux/disable can be found under the - CONFIG_SECURITY_SELINUX_DISABLE Kconfig option. +What: /sys/fs/selinux/disable +Date: April 2005 (predates git) +KernelVersion: 2.6.12-rc2 (predates git) +Contact: selinux@vger.kernel.org +Description: + + REMOVAL UPDATE: The SELinux runtime disable functionality was removed + in March 2023, the original deprecation notice is shown below. + + The selinuxfs "disable" node allows SELinux to be disabled at runtime + prior to a policy being loaded into the kernel. If disabled via this + mechanism, SELinux will remain disabled until the system is rebooted. + + The preferred method of disabling SELinux is via the "selinux=0" boot + parameter, but the selinuxfs "disable" node was created to make it + easier for systems with primitive bootloaders that did not allow for + easy modification of the kernel command line. Unfortunately, allowing + for SELinux to be disabled at runtime makes it difficult to secure the + kernel's LSM hooks using the "__ro_after_init" feature. + + Thankfully, the need for the SELinux runtime disable appears to be + gone, the default Kconfig configuration disables this selinuxfs node, + and only one of the major distributions, Fedora, supports disabling + SELinux at runtime. Fedora is in the process of removing the + selinuxfs "disable" node and once that is complete we will start the + slow process of removing this code from the kernel. + + More information on /sys/fs/selinux/disable can be found under the + CONFIG_SECURITY_SELINUX_DISABLE Kconfig option. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/stable/sysfs-bus-nvmem b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/stable/sysfs-bus-nvmem index f341a3f4e5..0ae8cb074a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/stable/sysfs-bus-nvmem +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/stable/sysfs-bus-nvmem @@ -1,50 +1,50 @@ -What: /sys/bus/nvmem/devices/.../force_ro -Date: June 2024 -KernelVersion: 6.11 -Contact: Marek Vasut -Description: - This read/write attribute allows users to set read-write - devices as read-only and back to read-write from userspace. - This can be used to unlock and relock write-protection of - devices which are generally locked, except during sporadic - programming operation. - Read returns '0' or '1' for read-write or read-only modes - respectively. - Write parses one of 'YyTt1NnFf0', or [oO][NnFf] for "on" - and "off", i.e. what kstrtobool() supports. - Note: This file is only present if CONFIG_NVMEM_SYSFS - is enabled. - -What: /sys/bus/nvmem/devices/.../nvmem -Date: July 2015 -KernelVersion: 4.2 -Contact: Srinivas Kandagatla -Description: - This file allows user to read/write the raw NVMEM contents. - Permissions for write to this file depends on the nvmem - provider configuration. - Note: This file is only present if CONFIG_NVMEM_SYSFS - is enabled - - ex:: - - hexdump /sys/bus/nvmem/devices/qfprom0/nvmem - - 0000000 0000 0000 0000 0000 0000 0000 0000 0000 - * - 00000a0 db10 2240 0000 e000 0c00 0c00 0000 0c00 - 0000000 0000 0000 0000 0000 0000 0000 0000 0000 - ... - * - 0001000 - -What: /sys/bus/nvmem/devices/.../type -Date: November 2018 -KernelVersion: 5.0 -Contact: Alexandre Belloni -Description: - This read-only attribute allows user to read the NVMEM - device type. Supported types are "Unknown", "EEPROM", - "OTP", "Battery backed", "FRAM". - Note: This file is only present if CONFIG_NVMEM_SYSFS - is enabled. +What: /sys/bus/nvmem/devices/.../force_ro +Date: June 2024 +KernelVersion: 6.11 +Contact: Marek Vasut +Description: + This read/write attribute allows users to set read-write + devices as read-only and back to read-write from userspace. + This can be used to unlock and relock write-protection of + devices which are generally locked, except during sporadic + programming operation. + Read returns '0' or '1' for read-write or read-only modes + respectively. + Write parses one of 'YyTt1NnFf0', or [oO][NnFf] for "on" + and "off", i.e. what kstrtobool() supports. + Note: This file is only present if CONFIG_NVMEM_SYSFS + is enabled. + +What: /sys/bus/nvmem/devices/.../nvmem +Date: July 2015 +KernelVersion: 4.2 +Contact: Srinivas Kandagatla +Description: + This file allows user to read/write the raw NVMEM contents. + Permissions for write to this file depends on the nvmem + provider configuration. + Note: This file is only present if CONFIG_NVMEM_SYSFS + is enabled + + ex:: + + hexdump /sys/bus/nvmem/devices/qfprom0/nvmem + + 0000000 0000 0000 0000 0000 0000 0000 0000 0000 + * + 00000a0 db10 2240 0000 e000 0c00 0c00 0000 0c00 + 0000000 0000 0000 0000 0000 0000 0000 0000 0000 + ... + * + 0001000 + +What: /sys/bus/nvmem/devices/.../type +Date: November 2018 +KernelVersion: 5.0 +Contact: Alexandre Belloni +Description: + This read-only attribute allows user to read the NVMEM + device type. Supported types are "Unknown", "EEPROM", + "OTP", "Battery backed", "FRAM". + Note: This file is only present if CONFIG_NVMEM_SYSFS + is enabled. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/stable/sysfs-firmware-opal-dump b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/stable/sysfs-firmware-opal-dump index a744d38fd2..1f74f45327 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/stable/sysfs-firmware-opal-dump +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/stable/sysfs-firmware-opal-dump @@ -1,46 +1,46 @@ -What: /sys/firmware/opal/dump -Date: Feb 2014 -Contact: Stewart Smith -Description: - This directory exposes interfaces for interacting with - the FSP and platform dumps through OPAL firmware interface. - - This is only for the powerpc/powernv platform. - - =============== =============================================== - initiate_dump: When '1' is written to it, - we will initiate a dump. - Read this file for supported commands. - - 0xXX-0xYYYY: A directory for dump of type 0xXX and - id 0xYYYY (in hex). The name of this - directory should not be relied upon to - be in this format, only that it's unique - among all dumps. For determining the type - and ID of the dump, use the id and type files. - Do not rely on any particular size of dump - type or dump id. - =============== =============================================== - - Each dump has the following files: - - =============== =============================================== - id: An ASCII representation of the dump ID - in hex (e.g. '0x01') - type: An ASCII representation of the type of - dump in the format "0x%x %s" with the ID - in hex and a description of the dump type - (or 'unknown'). - Type '0xffffffff unknown' is used when - we could not get the type from firmware. - e.g. '0x02 System/Platform Dump' - dump: A binary file containing the dump. - The size of the dump is the size of this file. - acknowledge: When 'ack' is written to this, we will - acknowledge that we've retrieved the - dump to the service processor. It will - then remove it, making the dump - inaccessible. - Reading this file will get a list of - supported actions. - =============== =============================================== +What: /sys/firmware/opal/dump +Date: Feb 2014 +Contact: Stewart Smith +Description: + This directory exposes interfaces for interacting with + the FSP and platform dumps through OPAL firmware interface. + + This is only for the powerpc/powernv platform. + + =============== =============================================== + initiate_dump: When '1' is written to it, + we will initiate a dump. + Read this file for supported commands. + + 0xXX-0xYYYY: A directory for dump of type 0xXX and + id 0xYYYY (in hex). The name of this + directory should not be relied upon to + be in this format, only that it's unique + among all dumps. For determining the type + and ID of the dump, use the id and type files. + Do not rely on any particular size of dump + type or dump id. + =============== =============================================== + + Each dump has the following files: + + =============== =============================================== + id: An ASCII representation of the dump ID + in hex (e.g. '0x01') + type: An ASCII representation of the type of + dump in the format "0x%x %s" with the ID + in hex and a description of the dump type + (or 'unknown'). + Type '0xffffffff unknown' is used when + we could not get the type from firmware. + e.g. '0x02 System/Platform Dump' + dump: A binary file containing the dump. + The size of the dump is the size of this file. + acknowledge: When 'ack' is written to this, we will + acknowledge that we've retrieved the + dump to the service processor. It will + then remove it, making the dump + inaccessible. + Reading this file will get a list of + supported actions. + =============== =============================================== diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/stable/sysfs-module b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/stable/sysfs-module index 8a86bd8a81..41b1f16e87 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/stable/sysfs-module +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/stable/sysfs-module @@ -1,47 +1,47 @@ -The /sys/module tree consists of the following structure: - -What: /sys/module/ -Description: - The name of the module that is in the kernel. This - module name will always show up if the module is loaded as a - dynamic module. If it is built directly into the kernel, it - will only show up if it has a version or at least one - parameter. - - Note: The conditions of creation in the built-in case are not - by design and may be removed in the future. - -What: /sys/module//parameters -Description: - This directory contains individual files that are each - individual parameters of the module that are able to be - changed at runtime. See the individual module - documentation as to the contents of these parameters and - what they accomplish. - - Note: The individual parameter names and values are not - considered stable, only the fact that they will be - placed in this location within sysfs. See the - individual driver documentation for details as to the - stability of the different parameters. - -What: /sys/module//refcnt -Description: - If the module is able to be unloaded from the kernel, this file - will contain the current reference count of the module. - - Note: If the module is built into the kernel, or if the - CONFIG_MODULE_UNLOAD kernel configuration value is not enabled, - this file will not be present. - -What: /sys/module//srcversion -Date: Jun 2005 -Description: - If the module source has MODULE_VERSION, this file will contain - the checksum of the source code. - -What: /sys/module//version -Date: Jun 2005 -Description: - If the module source has MODULE_VERSION, this file will contain - the version of the source code. +The /sys/module tree consists of the following structure: + +What: /sys/module/ +Description: + The name of the module that is in the kernel. This + module name will always show up if the module is loaded as a + dynamic module. If it is built directly into the kernel, it + will only show up if it has a version or at least one + parameter. + + Note: The conditions of creation in the built-in case are not + by design and may be removed in the future. + +What: /sys/module//parameters +Description: + This directory contains individual files that are each + individual parameters of the module that are able to be + changed at runtime. See the individual module + documentation as to the contents of these parameters and + what they accomplish. + + Note: The individual parameter names and values are not + considered stable, only the fact that they will be + placed in this location within sysfs. See the + individual driver documentation for details as to the + stability of the different parameters. + +What: /sys/module//refcnt +Description: + If the module is able to be unloaded from the kernel, this file + will contain the current reference count of the module. + + Note: If the module is built into the kernel, or if the + CONFIG_MODULE_UNLOAD kernel configuration value is not enabled, + this file will not be present. + +What: /sys/module//srcversion +Date: Jun 2005 +Description: + If the module source has MODULE_VERSION, this file will contain + the checksum of the source code. + +What: /sys/module//version +Date: Jun 2005 +Description: + If the module source has MODULE_VERSION, this file will contain + the version of the source code. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/stable/vdso b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/stable/vdso index 0a2cee58cb..85dbb6a160 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/stable/vdso +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/stable/vdso @@ -1,37 +1,37 @@ -What: vDSO -Date: July 2011 -KernelVersion: 3.0 -Contact: Andy Lutomirski -Description: - -On some architectures, when the kernel loads any userspace program it -maps an ELF DSO into that program's address space. This DSO is called -the vDSO and it often contains useful and highly-optimized alternatives -to real syscalls. - -These functions are called according to your platform's ABI. On many -platforms they are called just like ordinary C function. On other platforms -(ex: powerpc) they are called with the same convention as system calls which -is different from ordinary C functions. Call them from a sensible context. -(For example, if you set CS on x86 to something strange, the vDSO functions are -within their rights to crash.) In addition, if you pass a bad -pointer to a vDSO function, you might get SIGSEGV instead of -EFAULT. - -To find the DSO, parse the auxiliary vector passed to the program's -entry point. The AT_SYSINFO_EHDR entry will point to the vDSO. - -The vDSO uses symbol versioning; whenever you request a symbol from the -vDSO, specify the version you are expecting. - -Programs that dynamically link to glibc will use the vDSO automatically. -Otherwise, you can use the reference parser in -tools/testing/selftests/vDSO/parse_vdso.c. - -Unless otherwise noted, the set of symbols with any given version and the -ABI of those symbols is considered stable. It may vary across architectures, -though. - -Note: - As of this writing, this ABI documentation as been confirmed for x86_64. - The maintainers of the other vDSO-using architectures should confirm - that it is correct for their architecture. +What: vDSO +Date: July 2011 +KernelVersion: 3.0 +Contact: Andy Lutomirski +Description: + +On some architectures, when the kernel loads any userspace program it +maps an ELF DSO into that program's address space. This DSO is called +the vDSO and it often contains useful and highly-optimized alternatives +to real syscalls. + +These functions are called according to your platform's ABI. On many +platforms they are called just like ordinary C function. On other platforms +(ex: powerpc) they are called with the same convention as system calls which +is different from ordinary C functions. Call them from a sensible context. +(For example, if you set CS on x86 to something strange, the vDSO functions are +within their rights to crash.) In addition, if you pass a bad +pointer to a vDSO function, you might get SIGSEGV instead of -EFAULT. + +To find the DSO, parse the auxiliary vector passed to the program's +entry point. The AT_SYSINFO_EHDR entry will point to the vDSO. + +The vDSO uses symbol versioning; whenever you request a symbol from the +vDSO, specify the version you are expecting. + +Programs that dynamically link to glibc will use the vDSO automatically. +Otherwise, you can use the reference parser in +tools/testing/selftests/vDSO/parse_vdso.c. + +Unless otherwise noted, the set of symbols with any given version and the +ABI of those symbols is considered stable. It may vary across architectures, +though. + +Note: + As of this writing, this ABI documentation as been confirmed for x86_64. + The maintainers of the other vDSO-using architectures should confirm + that it is correct for their architecture. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-acpi b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-acpi index 6cb398e2cd..c09b640c3c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-acpi +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-acpi @@ -1,52 +1,52 @@ -What: /config/acpi -Date: July 2016 -KernelVersion: 4.8 -Contact: linux-acpi@vger.kernel.org -Description: - This represents the ACPI subsystem entry point directory. It - contains sub-groups corresponding to ACPI configurable options. - -What: /config/acpi/table -Date: July 2016 -KernelVersion: 4.8 -Description: - - This group contains the configuration for user defined ACPI - tables. The attributes of a user define table are: - - aml - - a binary attribute that the user can use to - fill in the ACPI aml definitions. Once the aml - data is written to this file and the file is - closed the table will be loaded and ACPI devices - will be enumerated. To check if the operation is - successful the user must check the error code - for close(). If the operation is successful, - subsequent writes to this attribute will fail. - - The rest of the attributes are read-only and are valid only - after the table has been loaded by filling the aml entry: - - signature - - ASCII table signature - - length - - length of table in bytes, including the header - - revision - - ACPI Specification minor version number - - oem_id - - ASCII OEM identification - - oem_table_id - - ASCII OEM table identification - - oem_revision - - OEM revision number - - asl_compiler_id - - ASCII ASL compiler vendor ID - - asl_compiler_revision - - ASL compiler version +What: /config/acpi +Date: July 2016 +KernelVersion: 4.8 +Contact: linux-acpi@vger.kernel.org +Description: + This represents the ACPI subsystem entry point directory. It + contains sub-groups corresponding to ACPI configurable options. + +What: /config/acpi/table +Date: July 2016 +KernelVersion: 4.8 +Description: + + This group contains the configuration for user defined ACPI + tables. The attributes of a user define table are: + + aml + - a binary attribute that the user can use to + fill in the ACPI aml definitions. Once the aml + data is written to this file and the file is + closed the table will be loaded and ACPI devices + will be enumerated. To check if the operation is + successful the user must check the error code + for close(). If the operation is successful, + subsequent writes to this attribute will fail. + + The rest of the attributes are read-only and are valid only + after the table has been loaded by filling the aml entry: + + signature + - ASCII table signature + + length + - length of table in bytes, including the header + + revision + - ACPI Specification minor version number + + oem_id + - ASCII OEM identification + + oem_table_id + - ASCII OEM table identification + + oem_revision + - OEM revision number + + asl_compiler_id + - ASCII ASL compiler vendor ID + + asl_compiler_revision + - ASL compiler version diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-spear-pcie-gadget b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-spear-pcie-gadget index 972fa5ab8a..cf877bd341 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-spear-pcie-gadget +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-spear-pcie-gadget @@ -1,33 +1,33 @@ -What: /config/pcie-gadget -Date: Feb 2011 -KernelVersion: 2.6.37 -Contact: Pratyush Anand -Description: - - Interface is used to configure selected dual mode PCIe controller - as device and then program its various registers to configure it - as a particular device type. - This interfaces can be used to show spear's PCIe device capability. - - Nodes are only visible when configfs is mounted. To mount configfs - in /config directory use:: - - # mount -t configfs none /config/ - - For nth PCIe Device Controller /config/pcie-gadget.n/: - - =============== ====================================================== - link used to enable ltssm and read its status. - int_type used to configure and read type of supported interrupt - no_of_msi used to configure number of MSI vector needed and - to read no of MSI granted. - inta write 1 to assert INTA and 0 to de-assert. - send_msi write MSI vector to be sent. - vendor_id used to write and read vendor id (hex) - device_id used to write and read device id (hex) - bar0_size used to write and read bar0_size - bar0_address used to write and read bar0 mapped area in hex. - bar0_rw_offset used to write and read offset of bar0 where bar0_data - will be written or read. - bar0_data used to write and read data at bar0_rw_offset. - =============== ====================================================== +What: /config/pcie-gadget +Date: Feb 2011 +KernelVersion: 2.6.37 +Contact: Pratyush Anand +Description: + + Interface is used to configure selected dual mode PCIe controller + as device and then program its various registers to configure it + as a particular device type. + This interfaces can be used to show spear's PCIe device capability. + + Nodes are only visible when configfs is mounted. To mount configfs + in /config directory use:: + + # mount -t configfs none /config/ + + For nth PCIe Device Controller /config/pcie-gadget.n/: + + =============== ====================================================== + link used to enable ltssm and read its status. + int_type used to configure and read type of supported interrupt + no_of_msi used to configure number of MSI vector needed and + to read no of MSI granted. + inta write 1 to assert INTA and 0 to de-assert. + send_msi write MSI vector to be sent. + vendor_id used to write and read vendor id (hex) + device_id used to write and read device id (hex) + bar0_size used to write and read bar0_size + bar0_address used to write and read bar0 mapped area in hex. + bar0_rw_offset used to write and read offset of bar0 where bar0_data + will be written or read. + bar0_data used to write and read data at bar0_rw_offset. + =============== ====================================================== diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-stp-policy b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-stp-policy index 7656819996..421ce6825c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-stp-policy +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-stp-policy @@ -1,48 +1,48 @@ -What: /config/stp-policy -Date: June 2015 -KernelVersion: 4.3 -Description: - This group contains policies mandating Master/Channel allocation - for software sources wishing to send trace data over an STM - device. - -What: /config/stp-policy/. -Date: June 2015 -KernelVersion: 4.3 -Description: - This group is the root of a policy; its name is a concatenation - of an stm device name to which this policy applies and an - arbitrary string. If part doesn't match an existing - stm device, mkdir will fail with ENODEV; if that device already - has a policy assigned to it, mkdir will fail with EBUSY. - -What: /config/stp-policy/./device -Date: June 2015 -KernelVersion: 4.3 -Description: - STM device to which this policy applies, read only. Same as the - component of its parent directory. - -What: /config/stp-policy/./ -Date: June 2015 -KernelVersion: 4.3 -Description: - Policy node is a string identifier that software clients will - use to request a master/channel to be allocated and assigned to - them. - -What: /config/stp-policy/.//masters -Date: June 2015 -KernelVersion: 4.3 -Description: - Range of masters from which to allocate for users of this node. - Write two numbers: the first master and the last master number. - -What: /config/stp-policy/.//channels -Date: June 2015 -KernelVersion: 4.3 -Description: - Range of channels from which to allocate for users of this node. - Write two numbers: the first channel and the last channel - number. - +What: /config/stp-policy +Date: June 2015 +KernelVersion: 4.3 +Description: + This group contains policies mandating Master/Channel allocation + for software sources wishing to send trace data over an STM + device. + +What: /config/stp-policy/. +Date: June 2015 +KernelVersion: 4.3 +Description: + This group is the root of a policy; its name is a concatenation + of an stm device name to which this policy applies and an + arbitrary string. If part doesn't match an existing + stm device, mkdir will fail with ENODEV; if that device already + has a policy assigned to it, mkdir will fail with EBUSY. + +What: /config/stp-policy/./device +Date: June 2015 +KernelVersion: 4.3 +Description: + STM device to which this policy applies, read only. Same as the + component of its parent directory. + +What: /config/stp-policy/./ +Date: June 2015 +KernelVersion: 4.3 +Description: + Policy node is a string identifier that software clients will + use to request a master/channel to be allocated and assigned to + them. + +What: /config/stp-policy/.//masters +Date: June 2015 +KernelVersion: 4.3 +Description: + Range of masters from which to allocate for users of this node. + Write two numbers: the first master and the last master number. + +What: /config/stp-policy/.//channels +Date: June 2015 +KernelVersion: 4.3 +Description: + Range of channels from which to allocate for users of this node. + Write two numbers: the first channel and the last channel + number. + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-stp-policy-p_sys-t b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-stp-policy-p_sys-t index 0be1362487..b290d1c00d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-stp-policy-p_sys-t +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-stp-policy-p_sys-t @@ -1,41 +1,41 @@ -What: /config/stp-policy/:p_sys-t.//uuid -Date: June 2018 -KernelVersion: 4.19 -Description: - UUID source identifier string, RW. - Default value is randomly generated at the mkdir time. - Data coming from trace sources that use this will be - tagged with this UUID in the MIPI SyS-T packet stream, to - allow the decoder to discern between different sources - within the same master/channel range, and identify the - higher level decoders that may be needed for each source. - -What: /config/stp-policy/:p_sys-t.//do_len -Date: June 2018 -KernelVersion: 4.19 -Description: - Include payload length in the MIPI SyS-T header, boolean. - If enabled, the SyS-T protocol encoder will include payload - length in each packet's metadata. This is normally redundant - if the underlying transport protocol supports marking message - boundaries (which STP does), so this is off by default. - -What: /config/stp-policy/:p_sys-t.//ts_interval -Date: June 2018 -KernelVersion: 4.19 -Description: - Time interval in milliseconds. Include a timestamp in the - MIPI SyS-T packet metadata, if this many milliseconds have - passed since the previous packet from this source. Zero is - the default and stands for "never send the timestamp". - -What: /config/stp-policy/:p_sys-t.//clocksync_interval -Date: June 2018 -KernelVersion: 4.19 -Description: - Time interval in milliseconds. Send a CLOCKSYNC packet if - this many milliseconds have passed since the previous - CLOCKSYNC packet from this source. Zero is the default and - stands for "never send the CLOCKSYNC". It makes sense to - use this option with sources that generate constant and/or - periodic data, like stm_heartbeat. +What: /config/stp-policy/:p_sys-t.//uuid +Date: June 2018 +KernelVersion: 4.19 +Description: + UUID source identifier string, RW. + Default value is randomly generated at the mkdir time. + Data coming from trace sources that use this will be + tagged with this UUID in the MIPI SyS-T packet stream, to + allow the decoder to discern between different sources + within the same master/channel range, and identify the + higher level decoders that may be needed for each source. + +What: /config/stp-policy/:p_sys-t.//do_len +Date: June 2018 +KernelVersion: 4.19 +Description: + Include payload length in the MIPI SyS-T header, boolean. + If enabled, the SyS-T protocol encoder will include payload + length in each packet's metadata. This is normally redundant + if the underlying transport protocol supports marking message + boundaries (which STP does), so this is off by default. + +What: /config/stp-policy/:p_sys-t.//ts_interval +Date: June 2018 +KernelVersion: 4.19 +Description: + Time interval in milliseconds. Include a timestamp in the + MIPI SyS-T packet metadata, if this many milliseconds have + passed since the previous packet from this source. Zero is + the default and stands for "never send the timestamp". + +What: /config/stp-policy/:p_sys-t.//clocksync_interval +Date: June 2018 +KernelVersion: 4.19 +Description: + Time interval in milliseconds. Send a CLOCKSYNC packet if + this many milliseconds have passed since the previous + CLOCKSYNC packet from this source. Zero is the default and + stands for "never send the CLOCKSYNC". It makes sense to + use this option with sources that generate constant and/or + periodic data, like stm_heartbeat. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-usb-gadget-mass-storage b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-usb-gadget-mass-storage index aa8a252429..fc03280692 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-usb-gadget-mass-storage +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-usb-gadget-mass-storage @@ -1,41 +1,41 @@ -What: /config/usb-gadget/gadget/functions/mass_storage.name -Date: Oct 2013 -KernelVersion: 3.13 -Description: - The attributes: - - =========== ============================================== - stall Set to permit function to halt bulk endpoints. - Disabled on some USB devices known not to work - correctly. You should set it to true. - num_buffers Number of pipeline buffers. Valid numbers - are 2..4. Available only if - CONFIG_USB_GADGET_DEBUG_FILES is set. - =========== ============================================== - -What: /config/usb-gadget/gadget/functions/mass_storage.name/lun.name -Date: Oct 2013 -KernelVersion: 3.13 -Description: - The attributes: - - ============ ============================================== - file The path to the backing file for the LUN. - Required if LUN is not marked as removable. - ro Flag specifying access to the LUN shall be - read-only. This is implied if CD-ROM emulation - is enabled as well as when it was impossible - to open "filename" in R/W mode. - removable Flag specifying that LUN shall be indicated as - being removable. - cdrom Flag specifying that LUN shall be reported as - being a CD-ROM. - nofua Flag specifying that FUA flag - in SCSI WRITE(10,12) - forced_eject This write-only file is useful only when - the function is active. It causes the backing - file to be forcibly detached from the LUN, - regardless of whether the host has allowed it. - Any non-zero number of bytes written will - result in ejection. - ============ ============================================== +What: /config/usb-gadget/gadget/functions/mass_storage.name +Date: Oct 2013 +KernelVersion: 3.13 +Description: + The attributes: + + =========== ============================================== + stall Set to permit function to halt bulk endpoints. + Disabled on some USB devices known not to work + correctly. You should set it to true. + num_buffers Number of pipeline buffers. Valid numbers + are 2..4. Available only if + CONFIG_USB_GADGET_DEBUG_FILES is set. + =========== ============================================== + +What: /config/usb-gadget/gadget/functions/mass_storage.name/lun.name +Date: Oct 2013 +KernelVersion: 3.13 +Description: + The attributes: + + ============ ============================================== + file The path to the backing file for the LUN. + Required if LUN is not marked as removable. + ro Flag specifying access to the LUN shall be + read-only. This is implied if CD-ROM emulation + is enabled as well as when it was impossible + to open "filename" in R/W mode. + removable Flag specifying that LUN shall be indicated as + being removable. + cdrom Flag specifying that LUN shall be reported as + being a CD-ROM. + nofua Flag specifying that FUA flag + in SCSI WRITE(10,12) + forced_eject This write-only file is useful only when + the function is active. It causes the backing + file to be forcibly detached from the LUN, + regardless of whether the host has allowed it. + Any non-zero number of bytes written will + result in ejection. + ============ ============================================== diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-usb-gadget-uac1 b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-usb-gadget-uac1 index d5040c076e..64188a8559 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-usb-gadget-uac1 +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-usb-gadget-uac1 @@ -1,41 +1,41 @@ -What: /config/usb-gadget/gadget/functions/uac1.name -Date: June 2017 -KernelVersion: 4.14 -Description: - The attributes: - - ===================== ======================================= - c_chmask capture channel mask - c_srate list of capture sampling rates (comma-separated) - c_ssize capture sample size (bytes) - c_mute_present capture mute control enable - c_volume_present capture volume control enable - c_volume_min capture volume control min value - (in 1/256 dB) - c_volume_max capture volume control max value - (in 1/256 dB) - c_volume_res capture volume control resolution - (in 1/256 dB) - p_chmask playback channel mask - p_srate list of playback sampling rates (comma-separated) - p_ssize playback sample size (bytes) - p_mute_present playback mute control enable - p_volume_present playback volume control enable - p_volume_min playback volume control min value - (in 1/256 dB) - p_volume_max playback volume control max value - (in 1/256 dB) - p_volume_res playback volume control resolution - (in 1/256 dB) - req_number the number of pre-allocated requests - for both capture and playback - function_name name of the interface - p_it_name playback input terminal name - p_it_ch_name playback channels name - p_ot_name playback output terminal name - p_fu_vol_name playback mute/volume functional unit name - c_it_name capture input terminal name - c_it_ch_name capture channels name - c_ot_name capture output terminal name - c_fu_vol_name capture mute/volume functional unit name - ===================== ======================================= +What: /config/usb-gadget/gadget/functions/uac1.name +Date: June 2017 +KernelVersion: 4.14 +Description: + The attributes: + + ===================== ======================================= + c_chmask capture channel mask + c_srate list of capture sampling rates (comma-separated) + c_ssize capture sample size (bytes) + c_mute_present capture mute control enable + c_volume_present capture volume control enable + c_volume_min capture volume control min value + (in 1/256 dB) + c_volume_max capture volume control max value + (in 1/256 dB) + c_volume_res capture volume control resolution + (in 1/256 dB) + p_chmask playback channel mask + p_srate list of playback sampling rates (comma-separated) + p_ssize playback sample size (bytes) + p_mute_present playback mute control enable + p_volume_present playback volume control enable + p_volume_min playback volume control min value + (in 1/256 dB) + p_volume_max playback volume control max value + (in 1/256 dB) + p_volume_res playback volume control resolution + (in 1/256 dB) + req_number the number of pre-allocated requests + for both capture and playback + function_name name of the interface + p_it_name playback input terminal name + p_it_ch_name playback channels name + p_ot_name playback output terminal name + p_fu_vol_name playback mute/volume functional unit name + c_it_name capture input terminal name + c_it_ch_name capture channels name + c_ot_name capture output terminal name + c_fu_vol_name capture mute/volume functional unit name + ===================== ======================================= diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/debugfs-cec-error-inj b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/debugfs-cec-error-inj index 0aa650d045..8debcb08a3 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/debugfs-cec-error-inj +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/debugfs-cec-error-inj @@ -1,40 +1,40 @@ -What: /sys/kernel/debug/cec/*/error-inj -Date: March 2018 -Contact: Hans Verkuil -Description: - -The CEC Framework allows for CEC error injection commands through -debugfs. Drivers that support this will create an error-inj file -through which the error injection commands can be given. - -The basic syntax is as follows: - -Leading spaces/tabs are ignored. If the next character is a '#' or the -end of the line was reached, then the whole line is ignored. Otherwise -a command is expected. - -It is up to the driver to decide what commands to implement. The only -exception is that the command 'clear' without any arguments must be -implemented and that it will remove all current error injection -commands. - -This ensures that you can always do 'echo clear >error-inj' to clear any -error injections without having to know the details of the driver-specific -commands. - -Note that the output of 'error-inj' shall be valid as input to 'error-inj'. -So this must work:: - - $ cat error-inj >einj.txt - $ cat einj.txt >error-inj - -Other than these basic rules described above this ABI is not considered -stable and may change in the future. - -Drivers that implement this functionality must document the commands as -part of the CEC documentation and must keep that documentation up to date -when changes are made. - -The following CEC error injection implementations exist: - -- Documentation/userspace-api/media/cec/cec-pin-error-inj.rst +What: /sys/kernel/debug/cec/*/error-inj +Date: March 2018 +Contact: Hans Verkuil +Description: + +The CEC Framework allows for CEC error injection commands through +debugfs. Drivers that support this will create an error-inj file +through which the error injection commands can be given. + +The basic syntax is as follows: + +Leading spaces/tabs are ignored. If the next character is a '#' or the +end of the line was reached, then the whole line is ignored. Otherwise +a command is expected. + +It is up to the driver to decide what commands to implement. The only +exception is that the command 'clear' without any arguments must be +implemented and that it will remove all current error injection +commands. + +This ensures that you can always do 'echo clear >error-inj' to clear any +error injections without having to know the details of the driver-specific +commands. + +Note that the output of 'error-inj' shall be valid as input to 'error-inj'. +So this must work:: + + $ cat error-inj >einj.txt + $ cat einj.txt >error-inj + +Other than these basic rules described above this ABI is not considered +stable and may change in the future. + +Drivers that implement this functionality must document the commands as +part of the CEC documentation and must keep that documentation up to date +when changes are made. + +The following CEC error injection implementations exist: + +- Documentation/userspace-api/media/cec/cec-pin-error-inj.rst diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/debugfs-tpmi b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/debugfs-tpmi index eefa68954b..c493a1403d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/debugfs-tpmi +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/debugfs-tpmi @@ -1,40 +1,40 @@ -What: /sys/kernel/debug/tpmi-/pfs_dump -Date: November 2023 -KernelVersion: 6.6 -Contact: srinivas.pandruvada@linux.intel.com -Description: -The PFS (PM Feature Structure) table, shows details of each power -management feature. This includes: -tpmi_id, number of entries, entry size, offset, vsec offset, lock status -and disabled status. -Users: Debugging, any user space test suite - -What: /sys/kernel/debug/tpmi-/tpmi-id-/mem_dump -Date: November 2023 -KernelVersion: 6.6 -Contact: srinivas.pandruvada@linux.intel.com -Description: -Shows the memory dump of the MMIO region for a TPMI ID. -Users: Debugging, any user space test suite - -What: /sys/kernel/debug/tpmi-/tpmi-id-/mem_write -Date: November 2023 -KernelVersion: 6.6 -Contact: srinivas.pandruvada@linux.intel.com -Description: -Allows to write at any offset. It doesn't check for Read/Write access -as hardware will not allow to write at read-only memory. This write is -at offset multiples of 4. The format is instance,offset,contents. -Example: -echo 0,0x20,0xff > mem_write -echo 1,64,64 > mem_write -Users: Debugging, any user space test suite - -What: /sys/kernel/debug/tpmi-/plr/domain/status -Date: Aug 2024 -KernelVersion: 6.11 -Contact: Tero Kristo -Description: -Shows the currently active Performance Limit Reasons for die level and the -individual CPUs under the die. The contents of this file are sticky, and -clearing all the statuses can be done by writing "0\n" to this file. +What: /sys/kernel/debug/tpmi-/pfs_dump +Date: November 2023 +KernelVersion: 6.6 +Contact: srinivas.pandruvada@linux.intel.com +Description: +The PFS (PM Feature Structure) table, shows details of each power +management feature. This includes: +tpmi_id, number of entries, entry size, offset, vsec offset, lock status +and disabled status. +Users: Debugging, any user space test suite + +What: /sys/kernel/debug/tpmi-/tpmi-id-/mem_dump +Date: November 2023 +KernelVersion: 6.6 +Contact: srinivas.pandruvada@linux.intel.com +Description: +Shows the memory dump of the MMIO region for a TPMI ID. +Users: Debugging, any user space test suite + +What: /sys/kernel/debug/tpmi-/tpmi-id-/mem_write +Date: November 2023 +KernelVersion: 6.6 +Contact: srinivas.pandruvada@linux.intel.com +Description: +Allows to write at any offset. It doesn't check for Read/Write access +as hardware will not allow to write at read-only memory. This write is +at offset multiples of 4. The format is instance,offset,contents. +Example: +echo 0,0x20,0xff > mem_write +echo 1,64,64 > mem_write +Users: Debugging, any user space test suite + +What: /sys/kernel/debug/tpmi-/plr/domain/status +Date: Aug 2024 +KernelVersion: 6.11 +Contact: Tero Kristo +Description: +Shows the currently active Performance Limit Reasons for die level and the +individual CPUs under the die. The contents of this file are sticky, and +clearing all the statuses can be done by writing "0\n" to this file. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/debugfs-wilco-ec b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/debugfs-wilco-ec index 99de7ca7c1..682e3c09ef 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/debugfs-wilco-ec +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/debugfs-wilco-ec @@ -1,45 +1,45 @@ -What: /sys/kernel/debug/wilco_ec/h1_gpio -Date: April 2019 -KernelVersion: 5.2 -Description: - As part of Chrome OS's FAFT (Fully Automated Firmware Testing) - tests, we need to ensure that the H1 chip is properly setting - some GPIO lines. The h1_gpio attribute exposes the state - of the lines: - - ENTRY_TO_FACT_MODE in BIT(0) - - SPI_CHROME_SEL in BIT(1) - - Output will formatted with "0x%02x\n". - -What: /sys/kernel/debug/wilco_ec/raw -Date: January 2019 -KernelVersion: 5.1 -Description: - Write and read raw mailbox commands to the EC. - - You can write a hexadecimal sentence to raw, and that series of - bytes will be sent to the EC. Then, you can read the bytes of - response by reading from raw. - - For writing, bytes 0-1 indicate the message type, one of enum - wilco_ec_msg_type. Byte 2+ consist of the data passed in the - request, starting at MBOX[0]. At least three bytes are required - for writing, two for the type and at least a single byte of - data. - - Example:: - - // Request EC info type 3 (EC firmware build date) - // Corresponds with sending type 0x00f0 with - // MBOX = [38, 00, 03, 00] - $ echo 00 f0 38 00 03 00 > /sys/kernel/debug/wilco_ec/raw - // View the result. The decoded ASCII result "12/21/18" is - // included after the raw hex. - // Corresponds with MBOX = [00, 00, 31, 32, 2f, 32, 31, 38, ...] - $ cat /sys/kernel/debug/wilco_ec/raw - 00 00 31 32 2f 32 31 2f 31 38 00 38 00 01 00 2f 00 ..12/21/18.8... - - Note that the first 16 bytes of the received MBOX[] will be - printed, even if some of the data is junk, and skipping bytes - 17 to 32. It is up to you to know how many of the first bytes of - data are the actual response. +What: /sys/kernel/debug/wilco_ec/h1_gpio +Date: April 2019 +KernelVersion: 5.2 +Description: + As part of Chrome OS's FAFT (Fully Automated Firmware Testing) + tests, we need to ensure that the H1 chip is properly setting + some GPIO lines. The h1_gpio attribute exposes the state + of the lines: + - ENTRY_TO_FACT_MODE in BIT(0) + - SPI_CHROME_SEL in BIT(1) + + Output will formatted with "0x%02x\n". + +What: /sys/kernel/debug/wilco_ec/raw +Date: January 2019 +KernelVersion: 5.1 +Description: + Write and read raw mailbox commands to the EC. + + You can write a hexadecimal sentence to raw, and that series of + bytes will be sent to the EC. Then, you can read the bytes of + response by reading from raw. + + For writing, bytes 0-1 indicate the message type, one of enum + wilco_ec_msg_type. Byte 2+ consist of the data passed in the + request, starting at MBOX[0]. At least three bytes are required + for writing, two for the type and at least a single byte of + data. + + Example:: + + // Request EC info type 3 (EC firmware build date) + // Corresponds with sending type 0x00f0 with + // MBOX = [38, 00, 03, 00] + $ echo 00 f0 38 00 03 00 > /sys/kernel/debug/wilco_ec/raw + // View the result. The decoded ASCII result "12/21/18" is + // included after the raw hex. + // Corresponds with MBOX = [00, 00, 31, 32, 2f, 32, 31, 38, ...] + $ cat /sys/kernel/debug/wilco_ec/raw + 00 00 31 32 2f 32 31 2f 31 38 00 38 00 01 00 2f 00 ..12/21/18.8... + + Note that the first 16 bytes of the received MBOX[] will be + printed, even if some of the data is junk, and skipping bytes + 17 to 32. It is up to you to know how many of the first bytes of + data are the actual response. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/dell-smbios-wmi b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/dell-smbios-wmi index 15150c95b1..f582290844 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/dell-smbios-wmi +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/dell-smbios-wmi @@ -1,41 +1,41 @@ -What: /dev/wmi/dell-smbios -Date: November 2017 -KernelVersion: 4.15 -Contact: Dell.Client.Kernel@dell.com -Description: - Perform SMBIOS calls on supported Dell machines. - through the Dell ACPI-WMI interface. - - IOCTL's and buffer formats are defined in: - - - 1) To perform an SMBIOS call from userspace, you'll need to - first determine the minimum size of the calling interface - buffer for your machine. - Platforms that contain larger buffers can return larger - objects from the system firmware. - Commonly this size is either 4k or 32k. - - To determine the size of the buffer read() a u64 dword from - the WMI character device /dev/wmi/dell-smbios. - - 2) After you've determined the minimum size of the calling - interface buffer, you can allocate a structure that represents - the structure documented above. - - 3) In the 'length' object store the size of the buffer you - determined above and allocated. - - 4) In this buffer object, prepare as necessary for the SMBIOS - call you're interested in. Typically SMBIOS buffers have - "class", "select", and "input" defined to values that coincide - with the data you are interested in. - Documenting class/select/input values is outside of the scope - of this documentation. Check with the libsmbios project for - further documentation on these values. - - 6) Run the call by using ioctl() as described in the header. - - 7) The output will be returned in the buffer object. - - 8) Be sure to free up your allocated object. +What: /dev/wmi/dell-smbios +Date: November 2017 +KernelVersion: 4.15 +Contact: Dell.Client.Kernel@dell.com +Description: + Perform SMBIOS calls on supported Dell machines. + through the Dell ACPI-WMI interface. + + IOCTL's and buffer formats are defined in: + + + 1) To perform an SMBIOS call from userspace, you'll need to + first determine the minimum size of the calling interface + buffer for your machine. + Platforms that contain larger buffers can return larger + objects from the system firmware. + Commonly this size is either 4k or 32k. + + To determine the size of the buffer read() a u64 dword from + the WMI character device /dev/wmi/dell-smbios. + + 2) After you've determined the minimum size of the calling + interface buffer, you can allocate a structure that represents + the structure documented above. + + 3) In the 'length' object store the size of the buffer you + determined above and allocated. + + 4) In this buffer object, prepare as necessary for the SMBIOS + call you're interested in. Typically SMBIOS buffers have + "class", "select", and "input" defined to values that coincide + with the data you are interested in. + Documenting class/select/input values is outside of the scope + of this documentation. Check with the libsmbios project for + further documentation on these values. + + 6) Run the call by using ioctl() as described in the header. + + 7) The output will be returned in the buffer object. + + 8) Be sure to free up your allocated object. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/ppc-memtrace b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/ppc-memtrace index 2ff3081205..9606aed331 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/ppc-memtrace +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/ppc-memtrace @@ -1,46 +1,46 @@ -What: /sys/kernel/debug/powerpc/memtrace -Date: Aug 2017 -KernelVersion: 4.14 -Contact: linuxppc-dev@lists.ozlabs.org -Description: This folder contains the relevant debugfs files for the - hardware trace macro to use. CONFIG_PPC64_HARDWARE_TRACING - must be set. - -What: /sys/kernel/debug/powerpc/memtrace/enable -Date: Aug 2017 -KernelVersion: 4.14 -Contact: linuxppc-dev@lists.ozlabs.org -Description: Write an integer containing the size in bytes of the memory - you want removed from each NUMA node to this file - it must be - aligned to the memblock size. This amount of RAM will be removed - from each NUMA node in the kernel mappings and the following - debugfs files will be created. Once memory is successfully - removed from each node, the following files are created. To - re-add memory to the kernel, echo 0 into this file (it will be - automatically onlined). - -What: /sys/kernel/debug/powerpc/memtrace/ -Date: Aug 2017 -KernelVersion: 4.14 -Contact: linuxppc-dev@lists.ozlabs.org -Description: This directory contains information about the removed memory - from the specific NUMA node. - -What: /sys/kernel/debug/powerpc/memtrace//size -Date: Aug 2017 -KernelVersion: 4.14 -Contact: linuxppc-dev@lists.ozlabs.org -Description: This contains the size of the memory removed from the node. - -What: /sys/kernel/debug/powerpc/memtrace//start -Date: Aug 2017 -KernelVersion: 4.14 -Contact: linuxppc-dev@lists.ozlabs.org -Description: This contains the start address of the removed memory. - -What: /sys/kernel/debug/powerpc/memtrace//trace -Date: Aug 2017 -KernelVersion: 4.14 -Contact: linuxppc-dev@lists.ozlabs.org -Description: This is where the hardware trace macro will output the trace - it generates. +What: /sys/kernel/debug/powerpc/memtrace +Date: Aug 2017 +KernelVersion: 4.14 +Contact: linuxppc-dev@lists.ozlabs.org +Description: This folder contains the relevant debugfs files for the + hardware trace macro to use. CONFIG_PPC64_HARDWARE_TRACING + must be set. + +What: /sys/kernel/debug/powerpc/memtrace/enable +Date: Aug 2017 +KernelVersion: 4.14 +Contact: linuxppc-dev@lists.ozlabs.org +Description: Write an integer containing the size in bytes of the memory + you want removed from each NUMA node to this file - it must be + aligned to the memblock size. This amount of RAM will be removed + from each NUMA node in the kernel mappings and the following + debugfs files will be created. Once memory is successfully + removed from each node, the following files are created. To + re-add memory to the kernel, echo 0 into this file (it will be + automatically onlined). + +What: /sys/kernel/debug/powerpc/memtrace/ +Date: Aug 2017 +KernelVersion: 4.14 +Contact: linuxppc-dev@lists.ozlabs.org +Description: This directory contains information about the removed memory + from the specific NUMA node. + +What: /sys/kernel/debug/powerpc/memtrace//size +Date: Aug 2017 +KernelVersion: 4.14 +Contact: linuxppc-dev@lists.ozlabs.org +Description: This contains the size of the memory removed from the node. + +What: /sys/kernel/debug/powerpc/memtrace//start +Date: Aug 2017 +KernelVersion: 4.14 +Contact: linuxppc-dev@lists.ozlabs.org +Description: This contains the start address of the removed memory. + +What: /sys/kernel/debug/powerpc/memtrace//trace +Date: Aug 2017 +KernelVersion: 4.14 +Contact: linuxppc-dev@lists.ozlabs.org +Description: This is where the hardware trace macro will output the trace + it generates. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/procfs-smaps_rollup b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/procfs-smaps_rollup index 916305ad56..b446a7154a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/procfs-smaps_rollup +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/procfs-smaps_rollup @@ -1,42 +1,42 @@ -What: /proc/pid/smaps_rollup -Date: August 2017 -Contact: Daniel Colascione -Description: - This file provides pre-summed memory information for a - process. The format is almost identical to /proc/pid/smaps, - except instead of an entry for each VMA in a process, - smaps_rollup has a single entry (tagged "[rollup]") - for which each field is the sum of the corresponding - fields from all the maps in /proc/pid/smaps. - Additionally, the fields Pss_Anon, Pss_File and Pss_Shmem - are not present in /proc/pid/smaps. These fields represent - the sum of the Pss field of each type (anon, file, shmem). - For more details, see Documentation/filesystems/proc.rst - and the procfs man page. - - Typical output looks like this:: - - 00100000-ff709000 ---p 00000000 00:00 0 [rollup] - Size: 1192 kB - KernelPageSize: 4 kB - MMUPageSize: 4 kB - Rss: 884 kB - Pss: 385 kB - Pss_Dirty: 68 kB - Pss_Anon: 301 kB - Pss_File: 80 kB - Pss_Shmem: 4 kB - Shared_Clean: 696 kB - Shared_Dirty: 0 kB - Private_Clean: 120 kB - Private_Dirty: 68 kB - Referenced: 884 kB - Anonymous: 68 kB - LazyFree: 0 kB - AnonHugePages: 0 kB - ShmemPmdMapped: 0 kB - Shared_Hugetlb: 0 kB - Private_Hugetlb: 0 kB - Swap: 0 kB - SwapPss: 0 kB - Locked: 385 kB +What: /proc/pid/smaps_rollup +Date: August 2017 +Contact: Daniel Colascione +Description: + This file provides pre-summed memory information for a + process. The format is almost identical to /proc/pid/smaps, + except instead of an entry for each VMA in a process, + smaps_rollup has a single entry (tagged "[rollup]") + for which each field is the sum of the corresponding + fields from all the maps in /proc/pid/smaps. + Additionally, the fields Pss_Anon, Pss_File and Pss_Shmem + are not present in /proc/pid/smaps. These fields represent + the sum of the Pss field of each type (anon, file, shmem). + For more details, see Documentation/filesystems/proc.rst + and the procfs man page. + + Typical output looks like this:: + + 00100000-ff709000 ---p 00000000 00:00 0 [rollup] + Size: 1192 kB + KernelPageSize: 4 kB + MMUPageSize: 4 kB + Rss: 884 kB + Pss: 385 kB + Pss_Dirty: 68 kB + Pss_Anon: 301 kB + Pss_File: 80 kB + Pss_Shmem: 4 kB + Shared_Clean: 696 kB + Shared_Dirty: 0 kB + Private_Clean: 120 kB + Private_Dirty: 68 kB + Referenced: 884 kB + Anonymous: 68 kB + LazyFree: 0 kB + AnonHugePages: 0 kB + ShmemPmdMapped: 0 kB + Shared_Hugetlb: 0 kB + Private_Hugetlb: 0 kB + Swap: 0 kB + SwapPss: 0 kB + Locked: 385 kB diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/pstore b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/pstore index 91555b4674..d3cff4a7ee 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/pstore +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/pstore @@ -1,47 +1,47 @@ -What: /sys/fs/pstore/... -What: /dev/pstore/... -Date: March 2011 -KernelVersion: 2.6.39 -Contact: tony.luck@intel.com -Description: Generic interface to platform dependent persistent storage. - - Platforms that provide a mechanism to preserve some data - across system reboots can register with this driver to - provide a generic interface to show records captured in - the dying moments. In the case of a panic the last part - of the console log is captured, but other interesting - data can also be saved:: - - # mount -t pstore -o kmsg_bytes=8000 - /sys/fs/pstore - - $ ls -l /sys/fs/pstore/ - total 0 - -r--r--r-- 1 root root 7896 Nov 30 15:38 dmesg-erst-1 - - Different users of this interface will result in different - filename prefixes. Currently two are defined: - - - "dmesg" - saved console log - - "mce" - architecture dependent data from fatal h/w error - - Once the information in a file has been read, removing - the file will signal to the underlying persistent storage - device that it can reclaim the space for later re-use:: - - $ rm /sys/fs/pstore/dmesg-erst-1 - - The expectation is that all files in /sys/fs/pstore/ - will be saved elsewhere and erased from persistent store - soon after boot to free up space ready for the next - catastrophe. - - The 'kmsg_bytes' mount option changes the target amount of - data saved on each oops/panic. Pstore saves (possibly - multiple) files based on the record size of the underlying - persistent storage until at least this amount is reached. - Default is 10 Kbytes. - - Pstore only supports one backend at a time. If multiple - backends are available, the preferred backend may be - set by passing the pstore.backend= argument to the kernel at - boot time. +What: /sys/fs/pstore/... +What: /dev/pstore/... +Date: March 2011 +KernelVersion: 2.6.39 +Contact: tony.luck@intel.com +Description: Generic interface to platform dependent persistent storage. + + Platforms that provide a mechanism to preserve some data + across system reboots can register with this driver to + provide a generic interface to show records captured in + the dying moments. In the case of a panic the last part + of the console log is captured, but other interesting + data can also be saved:: + + # mount -t pstore -o kmsg_bytes=8000 - /sys/fs/pstore + + $ ls -l /sys/fs/pstore/ + total 0 + -r--r--r-- 1 root root 7896 Nov 30 15:38 dmesg-erst-1 + + Different users of this interface will result in different + filename prefixes. Currently two are defined: + + - "dmesg" - saved console log + - "mce" - architecture dependent data from fatal h/w error + + Once the information in a file has been read, removing + the file will signal to the underlying persistent storage + device that it can reclaim the space for later re-use:: + + $ rm /sys/fs/pstore/dmesg-erst-1 + + The expectation is that all files in /sys/fs/pstore/ + will be saved elsewhere and erased from persistent store + soon after boot to free up space ready for the next + catastrophe. + + The 'kmsg_bytes' mount option changes the target amount of + data saved on each oops/panic. Pstore saves (possibly + multiple) files based on the record size of the underlying + persistent storage until at least this amount is reached. + Default is 10 Kbytes. + + Pstore only supports one backend at a time. If multiple + backends are available, the preferred backend may be + set by passing the pstore.backend= argument to the kernel at + boot time. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-block-aoe b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-block-aoe index 3181e3c724..b5837765bc 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-block-aoe +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-block-aoe @@ -1,45 +1,45 @@ -What: /sys/block/etherd*/mac -Date: Apr, 2005 -KernelVersion: v2.6.12 -Contact: Ed L. Cashin -Description: - (RO) The ethernet address of the remote Ata over Ethernet (AoE) - device. - -What: /sys/block/etherd*/netif -Date: Apr, 2005 -KernelVersion: v2.6.12 -Contact: Ed L. Cashin -Description: - (RO) The names of the network interfaces on the localhost (comma - separated) through which we are communicating with the remote - AoE device. - -What: /sys/block/etherd*/state -Date: Apr, 2005 -KernelVersion: v2.6.12 -Contact: Ed L. Cashin -Description: - (RO) Device status. The state attribute is "up" when the device - is ready for I/O and "down" if detected but unusable. The - "down,closewait" state shows that the device is still open and - cannot come up again until it has been closed. The "up,kickme" - state means that the driver wants to send more commands to the - target but found out there were already the max number of - commands waiting for a response. It will retry again after being - kicked by the periodic timer handler routine. - -What: /sys/block/etherd*/firmware-version -Date: Apr, 2005 -KernelVersion: v2.6.12 -Contact: Ed L. Cashin -Description: - (RO) Version of the firmware in the target. - -What: /sys/block/etherd*/payload -Date: Dec, 2012 -KernelVersion: v3.10 -Contact: Ed L. Cashin -Description: - (RO) The amount of user data transferred (in bytes) inside each AoE - command on the network, network headers excluded. +What: /sys/block/etherd*/mac +Date: Apr, 2005 +KernelVersion: v2.6.12 +Contact: Ed L. Cashin +Description: + (RO) The ethernet address of the remote Ata over Ethernet (AoE) + device. + +What: /sys/block/etherd*/netif +Date: Apr, 2005 +KernelVersion: v2.6.12 +Contact: Ed L. Cashin +Description: + (RO) The names of the network interfaces on the localhost (comma + separated) through which we are communicating with the remote + AoE device. + +What: /sys/block/etherd*/state +Date: Apr, 2005 +KernelVersion: v2.6.12 +Contact: Ed L. Cashin +Description: + (RO) Device status. The state attribute is "up" when the device + is ready for I/O and "down" if detected but unusable. The + "down,closewait" state shows that the device is still open and + cannot come up again until it has been closed. The "up,kickme" + state means that the driver wants to send more commands to the + target but found out there were already the max number of + commands waiting for a response. It will retry again after being + kicked by the periodic timer handler routine. + +What: /sys/block/etherd*/firmware-version +Date: Apr, 2005 +KernelVersion: v2.6.12 +Contact: Ed L. Cashin +Description: + (RO) Version of the firmware in the target. + +What: /sys/block/etherd*/payload +Date: Dec, 2012 +KernelVersion: v3.10 +Contact: Ed L. Cashin +Description: + (RO) The amount of user data transferred (in bytes) inside each AoE + command on the network, network headers excluded. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-block-dm b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-block-dm index c58d9315c8..f9f2339b9a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-block-dm +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-block-dm @@ -1,47 +1,47 @@ -What: /sys/block/dm-/dm/name -Date: January 2009 -KernelVersion: 2.6.29 -Contact: dm-devel@redhat.com -Description: Device-mapper device name. - Read-only string containing mapped device name. -Users: util-linux, device-mapper udev rules - -What: /sys/block/dm-/dm/uuid -Date: January 2009 -KernelVersion: 2.6.29 -Contact: dm-devel@redhat.com -Description: Device-mapper device UUID. - Read-only string containing DM-UUID or empty string - if DM-UUID is not set. -Users: util-linux, device-mapper udev rules - -What: /sys/block/dm-/dm/suspended -Date: June 2009 -KernelVersion: 2.6.31 -Contact: dm-devel@redhat.com -Description: Device-mapper device suspend state. - Contains the value 1 while the device is suspended. - Otherwise it contains 0. Read-only attribute. -Users: util-linux, device-mapper udev rules - -What: /sys/block/dm-/dm/rq_based_seq_io_merge_deadline -Date: March 2015 -KernelVersion: 4.1 -Contact: dm-devel@redhat.com -Description: Allow control over how long a request that is a - reasonable merge candidate can be queued on the request - queue. The resolution of this deadline is in - microseconds (ranging from 1 to 100000 usecs). - Setting this attribute to 0 (the default) will disable - request-based DM's merge heuristic and associated extra - accounting. This attribute is not applicable to - bio-based DM devices so it will only ever report 0 for - them. - -What: /sys/block/dm-/dm/use_blk_mq -Date: March 2015 -KernelVersion: 4.1 -Contact: dm-devel@redhat.com -Description: Request-based Device-mapper blk-mq I/O path mode. - Contains the value 1 if the device is using blk-mq. - Otherwise it contains 0. Read-only attribute. +What: /sys/block/dm-/dm/name +Date: January 2009 +KernelVersion: 2.6.29 +Contact: dm-devel@redhat.com +Description: Device-mapper device name. + Read-only string containing mapped device name. +Users: util-linux, device-mapper udev rules + +What: /sys/block/dm-/dm/uuid +Date: January 2009 +KernelVersion: 2.6.29 +Contact: dm-devel@redhat.com +Description: Device-mapper device UUID. + Read-only string containing DM-UUID or empty string + if DM-UUID is not set. +Users: util-linux, device-mapper udev rules + +What: /sys/block/dm-/dm/suspended +Date: June 2009 +KernelVersion: 2.6.31 +Contact: dm-devel@redhat.com +Description: Device-mapper device suspend state. + Contains the value 1 while the device is suspended. + Otherwise it contains 0. Read-only attribute. +Users: util-linux, device-mapper udev rules + +What: /sys/block/dm-/dm/rq_based_seq_io_merge_deadline +Date: March 2015 +KernelVersion: 4.1 +Contact: dm-devel@redhat.com +Description: Allow control over how long a request that is a + reasonable merge candidate can be queued on the request + queue. The resolution of this deadline is in + microseconds (ranging from 1 to 100000 usecs). + Setting this attribute to 0 (the default) will disable + request-based DM's merge heuristic and associated extra + accounting. This attribute is not applicable to + bio-based DM devices so it will only ever report 0 for + them. + +What: /sys/block/dm-/dm/use_blk_mq +Date: March 2015 +KernelVersion: 4.1 +Contact: dm-devel@redhat.com +Description: Request-based Device-mapper blk-mq I/O path mode. + Contains the value 1 if the device is using blk-mq. + Otherwise it contains 0. Read-only attribute. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-block-loop b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-block-loop index 885966af55..627f4eb872 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-block-loop +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-block-loop @@ -1,50 +1,50 @@ -What: /sys/block/loopX/loop/autoclear -Date: Aug, 2010 -KernelVersion: v2.6.37 -Contact: linux-block@vger.kernel.org -Description: - (RO) Shows if the device is in autoclear mode or not ( "1" or - "0"). Autoclear (if set) indicates that the loopback device will - self-distruct after last close. - -What: /sys/block/loopX/loop/backing_file -Date: Aug, 2010 -KernelVersion: v2.6.37 -Contact: linux-block@vger.kernel.org -Description: - (RO) The path of the backing file that the loop device maps its - data blocks to. - -What: /sys/block/loopX/loop/offset -Date: Aug, 2010 -KernelVersion: v2.6.37 -Contact: linux-block@vger.kernel.org -Description: - (RO) Start offset (in bytes). - -What: /sys/block/loopX/loop/sizelimit -Date: Aug, 2010 -KernelVersion: v2.6.37 -Contact: linux-block@vger.kernel.org -Description: - (RO) The size (in bytes) that the block device maps, starting - from the offset. - -What: /sys/block/loopX/loop/partscan -Date: Aug, 2011 -KernelVersion: v3.10 -Contact: linux-block@vger.kernel.org -Description: - (RO) Shows if automatic partition scanning is enabled for the - device or not ("1" or "0"). This can be requested individually - per loop device during its setup by setting LO_FLAGS_PARTSCAN in - in the ioctl request. By default, no partition tables are - scanned. - -What: /sys/block/loopX/loop/dio -Date: Aug, 2015 -KernelVersion: v4.10 -Contact: linux-block@vger.kernel.org -Description: - (RO) Shows if direct IO is being used to access backing file or - not ("1 or "0"). +What: /sys/block/loopX/loop/autoclear +Date: Aug, 2010 +KernelVersion: v2.6.37 +Contact: linux-block@vger.kernel.org +Description: + (RO) Shows if the device is in autoclear mode or not ( "1" or + "0"). Autoclear (if set) indicates that the loopback device will + self-distruct after last close. + +What: /sys/block/loopX/loop/backing_file +Date: Aug, 2010 +KernelVersion: v2.6.37 +Contact: linux-block@vger.kernel.org +Description: + (RO) The path of the backing file that the loop device maps its + data blocks to. + +What: /sys/block/loopX/loop/offset +Date: Aug, 2010 +KernelVersion: v2.6.37 +Contact: linux-block@vger.kernel.org +Description: + (RO) Start offset (in bytes). + +What: /sys/block/loopX/loop/sizelimit +Date: Aug, 2010 +KernelVersion: v2.6.37 +Contact: linux-block@vger.kernel.org +Description: + (RO) The size (in bytes) that the block device maps, starting + from the offset. + +What: /sys/block/loopX/loop/partscan +Date: Aug, 2011 +KernelVersion: v3.10 +Contact: linux-block@vger.kernel.org +Description: + (RO) Shows if automatic partition scanning is enabled for the + device or not ("1" or "0"). This can be requested individually + per loop device during its setup by setting LO_FLAGS_PARTSCAN in + in the ioctl request. By default, no partition tables are + scanned. + +What: /sys/block/loopX/loop/dio +Date: Aug, 2015 +KernelVersion: v4.10 +Contact: linux-block@vger.kernel.org +Description: + (RO) Shows if direct IO is being used to access backing file or + not ("1 or "0"). diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-coreboot b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-coreboot index d00d75824d..8e8d6af24a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-coreboot +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-coreboot @@ -1,45 +1,45 @@ -What: /sys/bus/coreboot -Date: August 2022 -Contact: Jack Rosenthal -Description: - The coreboot bus provides a variety of virtual devices used to - access data structures created by the Coreboot BIOS. - -What: /sys/bus/coreboot/devices/cbmem- -Date: August 2022 -Contact: Jack Rosenthal -Description: - CBMEM is a downwards-growing memory region created by Coreboot, - and contains tagged data structures to be shared with payloads - in the boot process and the OS. Each CBMEM entry is given a - directory in /sys/bus/coreboot/devices based on its id. - A list of ids known to Coreboot can be found in the coreboot - source tree at - ``src/commonlib/bsd/include/commonlib/bsd/cbmem_id.h``. - -What: /sys/bus/coreboot/devices/cbmem-/address -Date: August 2022 -Contact: Jack Rosenthal -Description: - This is the physical memory address that the CBMEM entry's data - begins at, in hexadecimal (e.g., ``0x76ffe000``). - -What: /sys/bus/coreboot/devices/cbmem-/size -Date: August 2022 -Contact: Jack Rosenthal -Description: - This is the size of the CBMEM entry's data, in hexadecimal - (e.g., ``0x1234``). - -What: /sys/bus/coreboot/devices/cbmem-/mem -Date: August 2022 -Contact: Jack Rosenthal -Description: - A file exposing read/write access to the entry's data. Note - that this file does not support mmap(), as coreboot - does not guarantee that the data will be page-aligned. - - The mode of this file is 0600. While there shouldn't be - anything security-sensitive contained in CBMEM, read access - requires root privileges given this is exposing a small subset - of physical memory. +What: /sys/bus/coreboot +Date: August 2022 +Contact: Jack Rosenthal +Description: + The coreboot bus provides a variety of virtual devices used to + access data structures created by the Coreboot BIOS. + +What: /sys/bus/coreboot/devices/cbmem- +Date: August 2022 +Contact: Jack Rosenthal +Description: + CBMEM is a downwards-growing memory region created by Coreboot, + and contains tagged data structures to be shared with payloads + in the boot process and the OS. Each CBMEM entry is given a + directory in /sys/bus/coreboot/devices based on its id. + A list of ids known to Coreboot can be found in the coreboot + source tree at + ``src/commonlib/bsd/include/commonlib/bsd/cbmem_id.h``. + +What: /sys/bus/coreboot/devices/cbmem-/address +Date: August 2022 +Contact: Jack Rosenthal +Description: + This is the physical memory address that the CBMEM entry's data + begins at, in hexadecimal (e.g., ``0x76ffe000``). + +What: /sys/bus/coreboot/devices/cbmem-/size +Date: August 2022 +Contact: Jack Rosenthal +Description: + This is the size of the CBMEM entry's data, in hexadecimal + (e.g., ``0x1234``). + +What: /sys/bus/coreboot/devices/cbmem-/mem +Date: August 2022 +Contact: Jack Rosenthal +Description: + A file exposing read/write access to the entry's data. Note + that this file does not support mmap(), as coreboot + does not guarantee that the data will be page-aligned. + + The mode of this file is 0600. While there shouldn't be + anything security-sensitive contained in CBMEM, read access + requires root privileges given this is exposing a small subset + of physical memory. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-dfl-devices-n3000-nios b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-dfl-devices-n3000-nios index 488195a66d..5335d742bc 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-dfl-devices-n3000-nios +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-dfl-devices-n3000-nios @@ -1,47 +1,47 @@ -What: /sys/bus/dfl/devices/dfl_dev.X/fec_mode -Date: Oct 2020 -KernelVersion: 5.12 -Contact: Xu Yilun -Description: Read-only. Returns the FEC mode of the 25G links of the - ethernet retimers configured by Nios firmware. "rs" for Reed - Solomon FEC, "kr" for Fire Code FEC, "no" for NO FEC. - "not supported" if the FEC mode setting is not supported, this - happens when the Nios firmware version major < 3, or no link is - configured to 25G. - Format: string - -What: /sys/bus/dfl/devices/dfl_dev.X/retimer_A_mode -Date: Oct 2020 -KernelVersion: 5.12 -Contact: Xu Yilun -Description: Read-only. Returns the enumeration value of the working mode of - the retimer A configured by the Nios firmware. The value is - read out from shared registers filled by the Nios firmware. Now - the values could be: - - - "0": Reset - - "1": 4x10G - - "2": 4x25G - - "3": 2x25G - - "4": 2x25G+2x10G - - "5": 1x25G - - If the Nios firmware is updated in future to support more - retimer modes, more enumeration value is expected. - Format: 0x%x - -What: /sys/bus/dfl/devices/dfl_dev.X/retimer_B_mode -Date: Oct 2020 -KernelVersion: 5.12 -Contact: Xu Yilun -Description: Read-only. Returns the enumeration value of the working mode of - the retimer B configured by the Nios firmware. The value format - is the same as retimer_A_mode. - -What: /sys/bus/dfl/devices/dfl_dev.X/nios_fw_version -Date: Oct 2020 -KernelVersion: 5.12 -Contact: Xu Yilun -Description: Read-only. Returns the version of the Nios firmware in the - FPGA. Its format is "major.minor.patch". - Format: %x.%x.%x +What: /sys/bus/dfl/devices/dfl_dev.X/fec_mode +Date: Oct 2020 +KernelVersion: 5.12 +Contact: Xu Yilun +Description: Read-only. Returns the FEC mode of the 25G links of the + ethernet retimers configured by Nios firmware. "rs" for Reed + Solomon FEC, "kr" for Fire Code FEC, "no" for NO FEC. + "not supported" if the FEC mode setting is not supported, this + happens when the Nios firmware version major < 3, or no link is + configured to 25G. + Format: string + +What: /sys/bus/dfl/devices/dfl_dev.X/retimer_A_mode +Date: Oct 2020 +KernelVersion: 5.12 +Contact: Xu Yilun +Description: Read-only. Returns the enumeration value of the working mode of + the retimer A configured by the Nios firmware. The value is + read out from shared registers filled by the Nios firmware. Now + the values could be: + + - "0": Reset + - "1": 4x10G + - "2": 4x25G + - "3": 2x25G + - "4": 2x25G+2x10G + - "5": 1x25G + + If the Nios firmware is updated in future to support more + retimer modes, more enumeration value is expected. + Format: 0x%x + +What: /sys/bus/dfl/devices/dfl_dev.X/retimer_B_mode +Date: Oct 2020 +KernelVersion: 5.12 +Contact: Xu Yilun +Description: Read-only. Returns the enumeration value of the working mode of + the retimer B configured by the Nios firmware. The value format + is the same as retimer_A_mode. + +What: /sys/bus/dfl/devices/dfl_dev.X/nios_fw_version +Date: Oct 2020 +KernelVersion: 5.12 +Contact: Xu Yilun +Description: Read-only. Returns the version of the Nios firmware in the + FPGA. Its format is "major.minor.patch". + Format: %x.%x.%x diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-event_source-devices-iommu b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-event_source-devices-iommu index daa543a1ce..d7af491930 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-event_source-devices-iommu +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-event_source-devices-iommu @@ -1,37 +1,37 @@ -What: /sys/bus/event_source/devices/dmar*/format -Date: Jan 2023 -KernelVersion: 6.3 -Contact: Kan Liang -Description: Read-only. Attribute group to describe the magic bits - that go into perf_event_attr.config, - perf_event_attr.config1 or perf_event_attr.config2 for - the IOMMU pmu. (See also - ABI/testing/sysfs-bus-event_source-devices-format). - - Each attribute in this group defines a bit range in - perf_event_attr.config, perf_event_attr.config1, - or perf_event_attr.config2. All supported attributes - are listed below (See the VT-d Spec 4.0 for possible - attribute values):: - - event = "config:0-27" - event ID - event_group = "config:28-31" - event group ID - - filter_requester_en = "config1:0" - Enable Requester ID filter - filter_domain_en = "config1:1" - Enable Domain ID filter - filter_pasid_en = "config1:2" - Enable PASID filter - filter_ats_en = "config1:3" - Enable Address Type filter - filter_page_table_en= "config1:4" - Enable Page Table Level filter - filter_requester_id = "config1:16-31" - Requester ID filter - filter_domain = "config1:32-47" - Domain ID filter - filter_pasid = "config2:0-21" - PASID filter - filter_ats = "config2:24-28" - Address Type filter - filter_page_table = "config2:32-36" - Page Table Level filter - -What: /sys/bus/event_source/devices/dmar*/cpumask -Date: Jan 2023 -KernelVersion: 6.3 -Contact: Kan Liang -Description: Read-only. This file always returns the CPU to which the - IOMMU pmu is bound for access to all IOMMU pmu performance - monitoring events. +What: /sys/bus/event_source/devices/dmar*/format +Date: Jan 2023 +KernelVersion: 6.3 +Contact: Kan Liang +Description: Read-only. Attribute group to describe the magic bits + that go into perf_event_attr.config, + perf_event_attr.config1 or perf_event_attr.config2 for + the IOMMU pmu. (See also + ABI/testing/sysfs-bus-event_source-devices-format). + + Each attribute in this group defines a bit range in + perf_event_attr.config, perf_event_attr.config1, + or perf_event_attr.config2. All supported attributes + are listed below (See the VT-d Spec 4.0 for possible + attribute values):: + + event = "config:0-27" - event ID + event_group = "config:28-31" - event group ID + + filter_requester_en = "config1:0" - Enable Requester ID filter + filter_domain_en = "config1:1" - Enable Domain ID filter + filter_pasid_en = "config1:2" - Enable PASID filter + filter_ats_en = "config1:3" - Enable Address Type filter + filter_page_table_en= "config1:4" - Enable Page Table Level filter + filter_requester_id = "config1:16-31" - Requester ID filter + filter_domain = "config1:32-47" - Domain ID filter + filter_pasid = "config2:0-21" - PASID filter + filter_ats = "config2:24-28" - Address Type filter + filter_page_table = "config2:32-36" - Page Table Level filter + +What: /sys/bus/event_source/devices/dmar*/cpumask +Date: Jan 2023 +KernelVersion: 6.3 +Contact: Kan Liang +Description: Read-only. This file always returns the CPU to which the + IOMMU pmu is bound for access to all IOMMU pmu performance + monitoring events. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-fsi b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-fsi index 8e2d71dc2e..76e0caa0c2 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-fsi +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-fsi @@ -1,46 +1,46 @@ -What: /sys/bus/platform/devices/../fsi-master/fsi0/rescan -Date: May 2017 -KernelVersion: 4.12 -Contact: linux-fsi@lists.ozlabs.org -Description: - Initiates a FSI master scan for all connected slave devices - on its links. - -What: /sys/bus/platform/devices/../fsi-master/fsi0/break -Date: May 2017 -KernelVersion: 4.12 -Contact: linux-fsi@lists.ozlabs.org -Description: - Sends an FSI BREAK command on a master's communication - link to any connected slaves. A BREAK resets connected - device's logic and preps it to receive further commands - from the master. - -What: /sys/bus/platform/devices/../fsi-master/fsi0/slave@00:00/term -Date: May 2017 -KernelVersion: 4.12 -Contact: linux-fsi@lists.ozlabs.org -Description: - Sends an FSI terminate command from the master to its - connected slave. A terminate resets the slave's state machines - that control access to the internally connected engines. In - addition the slave freezes its internal error register for - debugging purposes. This command is also needed to abort any - ongoing operation in case of an expired 'Master Time Out' - timer. - -What: /sys/bus/platform/devices/../fsi-master/fsi0/slave@00:00/raw -Date: May 2017 -KernelVersion: 4.12 -Contact: linux-fsi@lists.ozlabs.org -Description: - Provides a means of reading/writing a 32 bit value from/to a - specified FSI bus address. - -What: /sys/bus/platform/devices/../cfam_reset -Date: Sept 2020 -KernelVersion: 5.10 -Contact: linux-fsi@lists.ozlabs.org -Description: - Provides a means of resetting the cfam that is attached to the - FSI device. +What: /sys/bus/platform/devices/../fsi-master/fsi0/rescan +Date: May 2017 +KernelVersion: 4.12 +Contact: linux-fsi@lists.ozlabs.org +Description: + Initiates a FSI master scan for all connected slave devices + on its links. + +What: /sys/bus/platform/devices/../fsi-master/fsi0/break +Date: May 2017 +KernelVersion: 4.12 +Contact: linux-fsi@lists.ozlabs.org +Description: + Sends an FSI BREAK command on a master's communication + link to any connected slaves. A BREAK resets connected + device's logic and preps it to receive further commands + from the master. + +What: /sys/bus/platform/devices/../fsi-master/fsi0/slave@00:00/term +Date: May 2017 +KernelVersion: 4.12 +Contact: linux-fsi@lists.ozlabs.org +Description: + Sends an FSI terminate command from the master to its + connected slave. A terminate resets the slave's state machines + that control access to the internally connected engines. In + addition the slave freezes its internal error register for + debugging purposes. This command is also needed to abort any + ongoing operation in case of an expired 'Master Time Out' + timer. + +What: /sys/bus/platform/devices/../fsi-master/fsi0/slave@00:00/raw +Date: May 2017 +KernelVersion: 4.12 +Contact: linux-fsi@lists.ozlabs.org +Description: + Provides a means of reading/writing a 32 bit value from/to a + specified FSI bus address. + +What: /sys/bus/platform/devices/../cfam_reset +Date: Sept 2020 +KernelVersion: 5.10 +Contact: linux-fsi@lists.ozlabs.org +Description: + Provides a means of resetting the cfam that is attached to the + FSI device. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-adc-ad4130 b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-adc-ad4130 index d0740df57d..f24ed6687e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-adc-ad4130 +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-adc-ad4130 @@ -1,46 +1,46 @@ -What: /sys/bus/iio/devices/iio:deviceX/in_voltage-voltage_filter_mode_available -KernelVersion: 6.2 -Contact: linux-iio@vger.kernel.org -Description: - Reading returns a list with the possible filter modes. - - * "sinc4" - Sinc 4. Excellent noise performance. Long - 1st conversion time. No natural 50/60Hz rejection. - - * "sinc4+sinc1" - Sinc4 + averaging by 8. Low 1st conversion - time. - - * "sinc3" - Sinc3. Moderate 1st conversion time. - Good noise performance. - - * "sinc3+rej60" - Sinc3 + 60Hz rejection. At a sampling - frequency of 50Hz, achieves simultaneous 50Hz and 60Hz - rejection. - - * "sinc3+sinc1" - Sinc3 + averaging by 8. Low 1st conversion - time. Best used with a sampling frequency of at least - 216.19Hz. - - * "sinc3+pf1" - Sinc3 + Post Filter 1. 53dB rejection @ - 50Hz, 58dB rejection @ 60Hz. - - * "sinc3+pf2" - Sinc3 + Post Filter 2. 70dB rejection @ - 50Hz, 70dB rejection @ 60Hz. - - * "sinc3+pf3" - Sinc3 + Post Filter 3. 99dB rejection @ - 50Hz, 103dB rejection @ 60Hz. - - * "sinc3+pf4" - Sinc3 + Post Filter 4. 103dB rejection @ - 50Hz, 109dB rejection @ 60Hz. - -What: /sys/bus/iio/devices/iio:deviceX/in_voltageY-voltageZ_filter_mode -KernelVersion: 6.2 -Contact: linux-iio@vger.kernel.org -Description: - Set the filter mode of the differential channel. When the filter - mode changes, the in_voltageY-voltageZ_sampling_frequency and - in_voltageY-voltageZ_sampling_frequency_available attributes - might also change to accommodate the new filter mode. - If the current sampling frequency is out of range for the new - filter mode, the sampling frequency will be changed to the - closest valid one. +What: /sys/bus/iio/devices/iio:deviceX/in_voltage-voltage_filter_mode_available +KernelVersion: 6.2 +Contact: linux-iio@vger.kernel.org +Description: + Reading returns a list with the possible filter modes. + + * "sinc4" - Sinc 4. Excellent noise performance. Long + 1st conversion time. No natural 50/60Hz rejection. + + * "sinc4+sinc1" - Sinc4 + averaging by 8. Low 1st conversion + time. + + * "sinc3" - Sinc3. Moderate 1st conversion time. + Good noise performance. + + * "sinc3+rej60" - Sinc3 + 60Hz rejection. At a sampling + frequency of 50Hz, achieves simultaneous 50Hz and 60Hz + rejection. + + * "sinc3+sinc1" - Sinc3 + averaging by 8. Low 1st conversion + time. Best used with a sampling frequency of at least + 216.19Hz. + + * "sinc3+pf1" - Sinc3 + Post Filter 1. 53dB rejection @ + 50Hz, 58dB rejection @ 60Hz. + + * "sinc3+pf2" - Sinc3 + Post Filter 2. 70dB rejection @ + 50Hz, 70dB rejection @ 60Hz. + + * "sinc3+pf3" - Sinc3 + Post Filter 3. 99dB rejection @ + 50Hz, 103dB rejection @ 60Hz. + + * "sinc3+pf4" - Sinc3 + Post Filter 4. 103dB rejection @ + 50Hz, 109dB rejection @ 60Hz. + +What: /sys/bus/iio/devices/iio:deviceX/in_voltageY-voltageZ_filter_mode +KernelVersion: 6.2 +Contact: linux-iio@vger.kernel.org +Description: + Set the filter mode of the differential channel. When the filter + mode changes, the in_voltageY-voltageZ_sampling_frequency and + in_voltageY-voltageZ_sampling_frequency_available attributes + might also change to accommodate the new filter mode. + If the current sampling frequency is out of range for the new + filter mode, the sampling frequency will be changed to the + closest valid one. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-adc-envelope-detector b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-adc-envelope-detector index 663a9ecd1a..1c2a07f7a7 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-adc-envelope-detector +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-adc-envelope-detector @@ -1,39 +1,39 @@ -What: /sys/bus/iio/devices/iio:deviceX/in_altvoltageY_invert -Date: October 2016 -KernelVersion: 4.9 -Contact: Peter Rosin -Description: - The DAC is used to find the peak level of an alternating - voltage input signal by a binary search using the output - of a comparator wired to an interrupt pin. Like so:: - - _ - | \ - input +------>-------|+ \ - | \ - .-------. | }---. - | | | / | - | dac|-->--|- / | - | | |_/ | - | | | - | | | - | irq|------<-------' - | | - '-------' - - The boolean invert attribute (0/1) should be set when the - input signal is centered around the maximum value of the - dac instead of zero. The envelope detector will search - from below in this case and will also invert the result. - - The edge/level of the interrupt is also switched to its - opposite value. - -What: /sys/bus/iio/devices/iio:deviceX/in_altvoltageY_compare_interval -Date: October 2016 -KernelVersion: 4.9 -Contact: Peter Rosin -Description: - Number of milliseconds to wait for the comparator in each - step of the binary search for the input peak level. Needs - to relate to the frequency of the input signal. +What: /sys/bus/iio/devices/iio:deviceX/in_altvoltageY_invert +Date: October 2016 +KernelVersion: 4.9 +Contact: Peter Rosin +Description: + The DAC is used to find the peak level of an alternating + voltage input signal by a binary search using the output + of a comparator wired to an interrupt pin. Like so:: + + _ + | \ + input +------>-------|+ \ + | \ + .-------. | }---. + | | | / | + | dac|-->--|- / | + | | |_/ | + | | | + | | | + | irq|------<-------' + | | + '-------' + + The boolean invert attribute (0/1) should be set when the + input signal is centered around the maximum value of the + dac instead of zero. The envelope detector will search + from below in this case and will also invert the result. + + The edge/level of the interrupt is also switched to its + opposite value. + +What: /sys/bus/iio/devices/iio:deviceX/in_altvoltageY_compare_interval +Date: October 2016 +KernelVersion: 4.9 +Contact: Peter Rosin +Description: + Number of milliseconds to wait for the comparator in each + step of the binary search for the input peak level. Needs + to relate to the frequency of the input signal. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-chemical-sunrise-co2 b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-chemical-sunrise-co2 index 4d5d5e5122..ee7aeb1170 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-chemical-sunrise-co2 +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-chemical-sunrise-co2 @@ -1,38 +1,38 @@ -What: /sys/bus/iio/devices/iio:deviceX/in_concentration_co2_calibration_factory -Date: August 2021 -KernelVersion: 5.16 -Contact: Jacopo Mondi -Description: - Writing '1' triggers a 'Factory' calibration cycle. - -What: /sys/bus/iio/devices/iio:deviceX/in_concentration_co2_calibration_background -Date: August 2021 -KernelVersion: 5.16 -Contact: Jacopo Mondi -Description: - Writing '1' triggers a 'Background' calibration cycle. - -What: /sys/bus/iio/devices/iio:deviceX/error_status_available -Date: August 2021 -KernelVersion: 5.16 -Contact: Jacopo Mondi -Description: - Reading returns the list of possible chip error status. - Available options are: - - 'error_fatal': Analog front-end initialization error - - 'error_i2c': Read/write to non-existing register - - 'error_algorithm': Corrupted parameters - - 'error_calibration': Calibration has failed - - 'error_self_diagnostic': Internal interface failure - - 'error_out_of_range': Measured concentration out of scale - - 'error_memory': Error during memory operations - - 'error_no_measurement': Cleared at first measurement - - 'error_low_voltage': Sensor regulated voltage too low - - 'error_measurement_timeout': Unable to complete measurement - -What: /sys/bus/iio/devices/iio:deviceX/error_status -Date: August 2021 -KernelVersion: 5.16 -Contact: Jacopo Mondi -Description: - Reading returns the current chip error status. +What: /sys/bus/iio/devices/iio:deviceX/in_concentration_co2_calibration_factory +Date: August 2021 +KernelVersion: 5.16 +Contact: Jacopo Mondi +Description: + Writing '1' triggers a 'Factory' calibration cycle. + +What: /sys/bus/iio/devices/iio:deviceX/in_concentration_co2_calibration_background +Date: August 2021 +KernelVersion: 5.16 +Contact: Jacopo Mondi +Description: + Writing '1' triggers a 'Background' calibration cycle. + +What: /sys/bus/iio/devices/iio:deviceX/error_status_available +Date: August 2021 +KernelVersion: 5.16 +Contact: Jacopo Mondi +Description: + Reading returns the list of possible chip error status. + Available options are: + - 'error_fatal': Analog front-end initialization error + - 'error_i2c': Read/write to non-existing register + - 'error_algorithm': Corrupted parameters + - 'error_calibration': Calibration has failed + - 'error_self_diagnostic': Internal interface failure + - 'error_out_of_range': Measured concentration out of scale + - 'error_memory': Error during memory operations + - 'error_no_measurement': Cleared at first measurement + - 'error_low_voltage': Sensor regulated voltage too low + - 'error_measurement_timeout': Unable to complete measurement + +What: /sys/bus/iio/devices/iio:deviceX/error_status +Date: August 2021 +KernelVersion: 5.16 +Contact: Jacopo Mondi +Description: + Reading returns the current chip error status. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-mei b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-mei index b6cfa73fb1..6e9a105fe5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-mei +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-mei @@ -1,56 +1,56 @@ -What: /sys/bus/mei/devices/.../modalias -Date: March 2013 -KernelVersion: 3.10 -Contact: Samuel Ortiz - linux-mei@linux.intel.com -Description: Stores the same MODALIAS value emitted by uevent - Format: mei::: - -What: /sys/bus/mei/devices/.../name -Date: May 2015 -KernelVersion: 4.2 -Contact: Tomas Winkler -Description: Stores mei client device name - Format: string - -What: /sys/bus/mei/devices/.../uuid -Date: May 2015 -KernelVersion: 4.2 -Contact: Tomas Winkler -Description: Stores mei client device uuid - Format: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx - -What: /sys/bus/mei/devices/.../version -Date: Aug 2015 -KernelVersion: 4.3 -Contact: Tomas Winkler -Description: Stores mei client protocol version - Format: %d - -What: /sys/bus/mei/devices/.../max_conn -Date: Nov 2019 -KernelVersion: 5.5 -Contact: Tomas Winkler -Description: Stores mei client maximum number of connections - Format: %d - -What: /sys/bus/mei/devices/.../fixed -Date: Nov 2019 -KernelVersion: 5.5 -Contact: Tomas Winkler -Description: Stores mei client fixed address, if any - Format: %d - -What: /sys/bus/mei/devices/.../vtag -Date: Nov 2020 -KernelVersion: 5.9 -Contact: Tomas Winkler -Description: Stores mei client vtag support status - Format: %d - -What: /sys/bus/mei/devices/.../max_len -Date: Nov 2019 -KernelVersion: 5.5 -Contact: Tomas Winkler -Description: Stores mei client maximum message length - Format: %d +What: /sys/bus/mei/devices/.../modalias +Date: March 2013 +KernelVersion: 3.10 +Contact: Samuel Ortiz + linux-mei@linux.intel.com +Description: Stores the same MODALIAS value emitted by uevent + Format: mei::: + +What: /sys/bus/mei/devices/.../name +Date: May 2015 +KernelVersion: 4.2 +Contact: Tomas Winkler +Description: Stores mei client device name + Format: string + +What: /sys/bus/mei/devices/.../uuid +Date: May 2015 +KernelVersion: 4.2 +Contact: Tomas Winkler +Description: Stores mei client device uuid + Format: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx + +What: /sys/bus/mei/devices/.../version +Date: Aug 2015 +KernelVersion: 4.3 +Contact: Tomas Winkler +Description: Stores mei client protocol version + Format: %d + +What: /sys/bus/mei/devices/.../max_conn +Date: Nov 2019 +KernelVersion: 5.5 +Contact: Tomas Winkler +Description: Stores mei client maximum number of connections + Format: %d + +What: /sys/bus/mei/devices/.../fixed +Date: Nov 2019 +KernelVersion: 5.5 +Contact: Tomas Winkler +Description: Stores mei client fixed address, if any + Format: %d + +What: /sys/bus/mei/devices/.../vtag +Date: Nov 2020 +KernelVersion: 5.9 +Contact: Tomas Winkler +Description: Stores mei client vtag support status + Format: %d + +What: /sys/bus/mei/devices/.../max_len +Date: Nov 2019 +KernelVersion: 5.5 +Contact: Tomas Winkler +Description: Stores mei client maximum message length + Format: %d diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-pci-drivers-ehci_hcd b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-pci-drivers-ehci_hcd index aa6bd675c5..c90d97a808 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-pci-drivers-ehci_hcd +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-pci-drivers-ehci_hcd @@ -1,46 +1,46 @@ -What: /sys/bus/pci/drivers/ehci_hcd/.../companion - /sys/bus/usb/devices/usbN/../companion -Date: January 2007 -KernelVersion: 2.6.21 -Contact: Alan Stern -Description: - PCI-based EHCI USB controllers (i.e., high-speed USB-2.0 - controllers) are often implemented along with a set of - "companion" full/low-speed USB-1.1 controllers. When a - high-speed device is plugged in, the connection is routed - to the EHCI controller; when a full- or low-speed device - is plugged in, the connection is routed to the companion - controller. - - Sometimes you want to force a high-speed device to connect - at full speed, which can be accomplished by forcing the - connection to be routed to the companion controller. - That's what this file does. Writing a port number to the - file causes connections on that port to be routed to the - companion controller, and writing the negative of a port - number returns the port to normal operation. - - For example: To force the high-speed device attached to - port 4 on bus 2 to run at full speed:: - - echo 4 >/sys/bus/usb/devices/usb2/../companion - - To return the port to high-speed operation:: - - echo -4 >/sys/bus/usb/devices/usb2/../companion - - Reading the file gives the list of ports currently forced - to the companion controller. - - Note: Some EHCI controllers do not have companions; they - may contain an internal "transaction translator" or they - may be attached directly to a "rate-matching hub". This - mechanism will not work with such controllers. Also, it - cannot be used to force a port on a high-speed hub to - connect at full speed. - - Note: When this file was first added, it appeared in a - different sysfs directory. The location given above is - correct for 2.6.35 (and probably several earlier kernel - versions as well). - +What: /sys/bus/pci/drivers/ehci_hcd/.../companion + /sys/bus/usb/devices/usbN/../companion +Date: January 2007 +KernelVersion: 2.6.21 +Contact: Alan Stern +Description: + PCI-based EHCI USB controllers (i.e., high-speed USB-2.0 + controllers) are often implemented along with a set of + "companion" full/low-speed USB-1.1 controllers. When a + high-speed device is plugged in, the connection is routed + to the EHCI controller; when a full- or low-speed device + is plugged in, the connection is routed to the companion + controller. + + Sometimes you want to force a high-speed device to connect + at full speed, which can be accomplished by forcing the + connection to be routed to the companion controller. + That's what this file does. Writing a port number to the + file causes connections on that port to be routed to the + companion controller, and writing the negative of a port + number returns the port to normal operation. + + For example: To force the high-speed device attached to + port 4 on bus 2 to run at full speed:: + + echo 4 >/sys/bus/usb/devices/usb2/../companion + + To return the port to high-speed operation:: + + echo -4 >/sys/bus/usb/devices/usb2/../companion + + Reading the file gives the list of ports currently forced + to the companion controller. + + Note: Some EHCI controllers do not have companions; they + may contain an internal "transaction translator" or they + may be attached directly to a "rate-matching hub". This + mechanism will not work with such controllers. Also, it + cannot be used to force a port on a high-speed hub to + connect at full speed. + + Note: When this file was first added, it appeared in a + different sysfs directory. The location given above is + correct for 2.6.35 (and probably several earlier kernel + versions as well). + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-spi-devices-spi-nor b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-spi-devices-spi-nor index eaf45f9a78..9ed5582dde 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-spi-devices-spi-nor +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-spi-devices-spi-nor @@ -1,40 +1,40 @@ -What: /sys/bus/spi/devices/.../spi-nor/jedec_id -Date: April 2021 -KernelVersion: 5.14 -Contact: linux-mtd@lists.infradead.org -Description: (RO) The JEDEC ID of the SPI NOR flash as reported by the - flash device. - - The attribute is not present if the flash doesn't support - the "Read JEDEC ID" command (9Fh). This is the case for - non-JEDEC compliant flashes. - -What: /sys/bus/spi/devices/.../spi-nor/manufacturer -Date: April 2021 -KernelVersion: 5.14 -Contact: linux-mtd@lists.infradead.org -Description: (RO) Manufacturer of the SPI NOR flash. - - The attribute is not present if the flash device isn't - known to the kernel and is only probed by its SFDP - tables. - -What: /sys/bus/spi/devices/.../spi-nor/partname -Date: April 2021 -KernelVersion: 5.14 -Contact: linux-mtd@lists.infradead.org -Description: (RO) Part name of the SPI NOR flash. - - The attribute is optional. User space should not rely on - it to be present or even correct. Instead, user space - should read the jedec_id attribute. - -What: /sys/bus/spi/devices/.../spi-nor/sfdp -Date: April 2021 -KernelVersion: 5.14 -Contact: linux-mtd@lists.infradead.org -Description: (RO) This attribute is only present if the SPI NOR flash - device supports the "Read SFDP" command (5Ah). - - If present, it contains the complete SFDP (serial flash - discoverable parameters) binary data of the flash. +What: /sys/bus/spi/devices/.../spi-nor/jedec_id +Date: April 2021 +KernelVersion: 5.14 +Contact: linux-mtd@lists.infradead.org +Description: (RO) The JEDEC ID of the SPI NOR flash as reported by the + flash device. + + The attribute is not present if the flash doesn't support + the "Read JEDEC ID" command (9Fh). This is the case for + non-JEDEC compliant flashes. + +What: /sys/bus/spi/devices/.../spi-nor/manufacturer +Date: April 2021 +KernelVersion: 5.14 +Contact: linux-mtd@lists.infradead.org +Description: (RO) Manufacturer of the SPI NOR flash. + + The attribute is not present if the flash device isn't + known to the kernel and is only probed by its SFDP + tables. + +What: /sys/bus/spi/devices/.../spi-nor/partname +Date: April 2021 +KernelVersion: 5.14 +Contact: linux-mtd@lists.infradead.org +Description: (RO) Part name of the SPI NOR flash. + + The attribute is optional. User space should not rely on + it to be present or even correct. Instead, user space + should read the jedec_id attribute. + +What: /sys/bus/spi/devices/.../spi-nor/sfdp +Date: April 2021 +KernelVersion: 5.14 +Contact: linux-mtd@lists.infradead.org +Description: (RO) This attribute is only present if the SPI NOR flash + device supports the "Read SFDP" command (5Ah). + + If present, it contains the complete SFDP (serial flash + discoverable parameters) binary data of the flash. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-usb-devices-usbsevseg b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-usb-devices-usbsevseg index 84ffb89601..2f86e4223b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-usb-devices-usbsevseg +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-usb-devices-usbsevseg @@ -1,46 +1,46 @@ -What: /sys/bus/usb/.../powered -Date: August 2008 -KernelVersion: 2.6.26 -Contact: Harrison Metzger -Description: Controls whether the device's display will powered. - A value of 0 is off and a non-zero value is on. - -What: /sys/bus/usb/.../mode_msb -What: /sys/bus/usb/.../mode_lsb -Date: August 2008 -KernelVersion: 2.6.26 -Contact: Harrison Metzger -Description: Controls the devices display mode. - For a 6 character display the values are - - MSB 0x06; LSB 0x3F, and - - for an 8 character display the values are - - MSB 0x08; LSB 0xFF. - -What: /sys/bus/usb/.../textmode -Date: August 2008 -KernelVersion: 2.6.26 -Contact: Harrison Metzger -Description: Controls the way the device interprets its text buffer. - raw: each character controls its segment manually - hex: each character is between 0-15 - ascii: each character is between '0'-'9' and 'A'-'F'. - -What: /sys/bus/usb/.../text -Date: August 2008 -KernelVersion: 2.6.26 -Contact: Harrison Metzger -Description: The text (or data) for the device to display - -What: /sys/bus/usb/.../decimals -Date: August 2008 -KernelVersion: 2.6.26 -Contact: Harrison Metzger -Description: Controls the decimal places on the device. - To set the nth decimal place, give this field - the value of ``10 ** n``. Assume this field has - the value k and has 1 or more decimal places set, - to set the mth place (where m is not already set), - change this fields value to ``k + 10 ** m``. +What: /sys/bus/usb/.../powered +Date: August 2008 +KernelVersion: 2.6.26 +Contact: Harrison Metzger +Description: Controls whether the device's display will powered. + A value of 0 is off and a non-zero value is on. + +What: /sys/bus/usb/.../mode_msb +What: /sys/bus/usb/.../mode_lsb +Date: August 2008 +KernelVersion: 2.6.26 +Contact: Harrison Metzger +Description: Controls the devices display mode. + For a 6 character display the values are + + MSB 0x06; LSB 0x3F, and + + for an 8 character display the values are + + MSB 0x08; LSB 0xFF. + +What: /sys/bus/usb/.../textmode +Date: August 2008 +KernelVersion: 2.6.26 +Contact: Harrison Metzger +Description: Controls the way the device interprets its text buffer. + raw: each character controls its segment manually + hex: each character is between 0-15 + ascii: each character is between '0'-'9' and 'A'-'F'. + +What: /sys/bus/usb/.../text +Date: August 2008 +KernelVersion: 2.6.26 +Contact: Harrison Metzger +Description: The text (or data) for the device to display + +What: /sys/bus/usb/.../decimals +Date: August 2008 +KernelVersion: 2.6.26 +Contact: Harrison Metzger +Description: Controls the decimal places on the device. + To set the nth decimal place, give this field + the value of ``10 ** n``. Assume this field has + the value k and has 1 or more decimal places set, + to set the mth place (where m is not already set), + change this fields value to ``k + 10 ** m``. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-backlight-driver-lm3533 b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-backlight-driver-lm3533 index 61c4f78cd0..8251e78abc 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-backlight-driver-lm3533 +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-backlight-driver-lm3533 @@ -1,54 +1,54 @@ -What: /sys/class/backlight//als_channel -Date: May 2012 -KernelVersion: 3.5 -Contact: Johan Hovold -Description: - Get the ALS output channel used as input in - ALS-current-control mode (0, 1), where: - - == ========================== - 0 out_current0 (backlight 0) - 1 out_current1 (backlight 1) - == ========================== - -What: /sys/class/backlight//als_en -Date: May 2012 -KernelVersion: 3.5 -Contact: Johan Hovold -Description: - Enable ALS-current-control mode (0, 1). - -What: /sys/class/backlight//id -Date: April 2012 -KernelVersion: 3.5 -Contact: Johan Hovold -Description: - Get the id of this backlight (0, 1). - -What: /sys/class/backlight//linear -Date: April 2012 -KernelVersion: 3.5 -Contact: Johan Hovold -Description: - Set the brightness-mapping mode (0, 1), where: - - == ================ - 0 exponential mode - 1 linear mode - == ================ - -What: /sys/class/backlight//pwm -Date: April 2012 -KernelVersion: 3.5 -Contact: Johan Hovold -Description: - Set the PWM-input control mask (5 bits), where: - - ===== =========================== - bit 5 PWM-input enabled in Zone 4 - bit 4 PWM-input enabled in Zone 3 - bit 3 PWM-input enabled in Zone 2 - bit 2 PWM-input enabled in Zone 1 - bit 1 PWM-input enabled in Zone 0 - bit 0 PWM-input enabled - ===== =========================== +What: /sys/class/backlight//als_channel +Date: May 2012 +KernelVersion: 3.5 +Contact: Johan Hovold +Description: + Get the ALS output channel used as input in + ALS-current-control mode (0, 1), where: + + == ========================== + 0 out_current0 (backlight 0) + 1 out_current1 (backlight 1) + == ========================== + +What: /sys/class/backlight//als_en +Date: May 2012 +KernelVersion: 3.5 +Contact: Johan Hovold +Description: + Enable ALS-current-control mode (0, 1). + +What: /sys/class/backlight//id +Date: April 2012 +KernelVersion: 3.5 +Contact: Johan Hovold +Description: + Get the id of this backlight (0, 1). + +What: /sys/class/backlight//linear +Date: April 2012 +KernelVersion: 3.5 +Contact: Johan Hovold +Description: + Set the brightness-mapping mode (0, 1), where: + + == ================ + 0 exponential mode + 1 linear mode + == ================ + +What: /sys/class/backlight//pwm +Date: April 2012 +KernelVersion: 3.5 +Contact: Johan Hovold +Description: + Set the PWM-input control mask (5 bits), where: + + ===== =========================== + bit 5 PWM-input enabled in Zone 4 + bit 4 PWM-input enabled in Zone 3 + bit 3 PWM-input enabled in Zone 2 + bit 2 PWM-input enabled in Zone 1 + bit 1 PWM-input enabled in Zone 0 + bit 0 PWM-input enabled + ===== =========================== diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-led-driver-lm3533 b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-led-driver-lm3533 index 38d458ae11..e38a835d0a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-led-driver-lm3533 +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-led-driver-lm3533 @@ -1,73 +1,73 @@ -What: /sys/class/leds//als_channel -Date: May 2012 -KernelVersion: 3.5 -Contact: Johan Hovold -Description: - Set the ALS output channel to use as input in - ALS-current-control mode (1, 2), where: - - == ============ - 1 out_current1 - 2 out_current2 - == ============ - -What: /sys/class/leds//als_en -Date: May 2012 -KernelVersion: 3.5 -Contact: Johan Hovold -Description: - Enable ALS-current-control mode (0, 1). - -What: /sys/class/leds//falltime -What: /sys/class/leds//risetime -Date: April 2012 -KernelVersion: 3.5 -Contact: Johan Hovold -Description: - Set the pattern generator fall and rise times (0..7), where: - - == ======= - 0 2048 us - 1 262 ms - 2 524 ms - 3 1.049 s - 4 2.097 s - 5 4.194 s - 6 8.389 s - 7 16.78 s - == ======= - -What: /sys/class/leds//id -Date: April 2012 -KernelVersion: 3.5 -Contact: Johan Hovold -Description: - Get the id of this led (0..3). - -What: /sys/class/leds//linear -Date: April 2012 -KernelVersion: 3.5 -Contact: Johan Hovold -Description: - Set the brightness-mapping mode (0, 1), where: - - == ================ - 0 exponential mode - 1 linear mode - == ================ - -What: /sys/class/leds//pwm -Date: April 2012 -KernelVersion: 3.5 -Contact: Johan Hovold -Description: - Set the PWM-input control mask (5 bits), where: - - ===== =========================== - bit 5 PWM-input enabled in Zone 4 - bit 4 PWM-input enabled in Zone 3 - bit 3 PWM-input enabled in Zone 2 - bit 2 PWM-input enabled in Zone 1 - bit 1 PWM-input enabled in Zone 0 - bit 0 PWM-input enabled - ===== =========================== +What: /sys/class/leds//als_channel +Date: May 2012 +KernelVersion: 3.5 +Contact: Johan Hovold +Description: + Set the ALS output channel to use as input in + ALS-current-control mode (1, 2), where: + + == ============ + 1 out_current1 + 2 out_current2 + == ============ + +What: /sys/class/leds//als_en +Date: May 2012 +KernelVersion: 3.5 +Contact: Johan Hovold +Description: + Enable ALS-current-control mode (0, 1). + +What: /sys/class/leds//falltime +What: /sys/class/leds//risetime +Date: April 2012 +KernelVersion: 3.5 +Contact: Johan Hovold +Description: + Set the pattern generator fall and rise times (0..7), where: + + == ======= + 0 2048 us + 1 262 ms + 2 524 ms + 3 1.049 s + 4 2.097 s + 5 4.194 s + 6 8.389 s + 7 16.78 s + == ======= + +What: /sys/class/leds//id +Date: April 2012 +KernelVersion: 3.5 +Contact: Johan Hovold +Description: + Get the id of this led (0..3). + +What: /sys/class/leds//linear +Date: April 2012 +KernelVersion: 3.5 +Contact: Johan Hovold +Description: + Set the brightness-mapping mode (0, 1), where: + + == ================ + 0 exponential mode + 1 linear mode + == ================ + +What: /sys/class/leds//pwm +Date: April 2012 +KernelVersion: 3.5 +Contact: Johan Hovold +Description: + Set the PWM-input control mask (5 bits), where: + + ===== =========================== + bit 5 PWM-input enabled in Zone 4 + bit 4 PWM-input enabled in Zone 3 + bit 3 PWM-input enabled in Zone 2 + bit 2 PWM-input enabled in Zone 1 + bit 1 PWM-input enabled in Zone 0 + bit 0 PWM-input enabled + ===== =========================== diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-led-trigger-pattern b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-led-trigger-pattern index fcbe52faf3..22f28f2e9a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-led-trigger-pattern +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-led-trigger-pattern @@ -1,50 +1,50 @@ -What: /sys/class/leds//pattern -Date: September 2018 -KernelVersion: 4.20 -Description: - Specify a software pattern for the LED, that supports altering - the brightness for the specified duration with one software - timer. It can do gradual dimming and step change of brightness. - - The pattern is given by a series of tuples, of brightness and - duration (ms). - - The exact format is described in: - Documentation/devicetree/bindings/leds/leds-trigger-pattern.txt - -What: /sys/class/leds//hr_pattern -Date: April 2024 -Description: - Specify a software pattern for the LED, that supports altering - the brightness for the specified duration with one software - timer. It can do gradual dimming and step change of brightness. - - Unlike the /sys/class/leds//pattern, this attribute runs - a pattern on high-resolution timer (hrtimer). - -What: /sys/class/leds//hw_pattern -Date: September 2018 -KernelVersion: 4.20 -Description: - Specify a hardware pattern for the LED, for LED hardware that - supports autonomously controlling brightness over time, according - to some preprogrammed hardware patterns. It deactivates any active - software pattern. - - Since different LED hardware can have different semantics of - hardware patterns, each driver is expected to provide its own - description for the hardware patterns in their documentation - file at Documentation/leds/. - -What: /sys/class/leds//repeat -Date: September 2018 -KernelVersion: 4.20 -Description: - Specify a pattern repeat number. -1 means repeat indefinitely, - other negative numbers and number 0 are invalid. - - This file will always return the originally written repeat - number. - - It should be noticed that some leds, like EL15203000 may - only support indefinitely patterns, so they always store -1. +What: /sys/class/leds//pattern +Date: September 2018 +KernelVersion: 4.20 +Description: + Specify a software pattern for the LED, that supports altering + the brightness for the specified duration with one software + timer. It can do gradual dimming and step change of brightness. + + The pattern is given by a series of tuples, of brightness and + duration (ms). + + The exact format is described in: + Documentation/devicetree/bindings/leds/leds-trigger-pattern.txt + +What: /sys/class/leds//hr_pattern +Date: April 2024 +Description: + Specify a software pattern for the LED, that supports altering + the brightness for the specified duration with one software + timer. It can do gradual dimming and step change of brightness. + + Unlike the /sys/class/leds//pattern, this attribute runs + a pattern on high-resolution timer (hrtimer). + +What: /sys/class/leds//hw_pattern +Date: September 2018 +KernelVersion: 4.20 +Description: + Specify a hardware pattern for the LED, for LED hardware that + supports autonomously controlling brightness over time, according + to some preprogrammed hardware patterns. It deactivates any active + software pattern. + + Since different LED hardware can have different semantics of + hardware patterns, each driver is expected to provide its own + description for the hardware patterns in their documentation + file at Documentation/leds/. + +What: /sys/class/leds//repeat +Date: September 2018 +KernelVersion: 4.20 +Description: + Specify a pattern repeat number. -1 means repeat indefinitely, + other negative numbers and number 0 are invalid. + + This file will always return the originally written repeat + number. + + It should be noticed that some leds, like EL15203000 may + only support indefinitely patterns, so they always store -1. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-net-grcan b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-net-grcan index f56bf426db..f418c92ca5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-net-grcan +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-net-grcan @@ -1,35 +1,35 @@ - -What: /sys/class/net//grcan/enable0 -Date: October 2012 -KernelVersion: 3.8 -Contact: Andreas Larsson -Description: - Hardware configuration of physical interface 0. This file reads - and writes the "Enable 0" bit of the configuration register. - Possible values: 0 or 1. See the GRCAN chapter of the GRLIB IP - core library documentation for details. The default value is 0 - or set by the module parameter grcan.enable0 and can be read at - /sys/module/grcan/parameters/enable0. - -What: /sys/class/net//grcan/enable1 -Date: October 2012 -KernelVersion: 3.8 -Contact: Andreas Larsson -Description: - Hardware configuration of physical interface 1. This file reads - and writes the "Enable 1" bit of the configuration register. - Possible values: 0 or 1. See the GRCAN chapter of the GRLIB IP - core library documentation for details. The default value is 0 - or set by the module parameter grcan.enable1 and can be read at - /sys/module/grcan/parameters/enable1. - -What: /sys/class/net//grcan/select -Date: October 2012 -KernelVersion: 3.8 -Contact: Andreas Larsson -Description: - Configuration of which physical interface to be used. Possible - values: 0 or 1. See the GRCAN chapter of the GRLIB IP core - library documentation for details. The default value is 0 or is - set by the module parameter grcan.select and can be read at - /sys/module/grcan/parameters/select. + +What: /sys/class/net//grcan/enable0 +Date: October 2012 +KernelVersion: 3.8 +Contact: Andreas Larsson +Description: + Hardware configuration of physical interface 0. This file reads + and writes the "Enable 0" bit of the configuration register. + Possible values: 0 or 1. See the GRCAN chapter of the GRLIB IP + core library documentation for details. The default value is 0 + or set by the module parameter grcan.enable0 and can be read at + /sys/module/grcan/parameters/enable0. + +What: /sys/class/net//grcan/enable1 +Date: October 2012 +KernelVersion: 3.8 +Contact: Andreas Larsson +Description: + Hardware configuration of physical interface 1. This file reads + and writes the "Enable 1" bit of the configuration register. + Possible values: 0 or 1. See the GRCAN chapter of the GRLIB IP + core library documentation for details. The default value is 0 + or set by the module parameter grcan.enable1 and can be read at + /sys/module/grcan/parameters/enable1. + +What: /sys/class/net//grcan/select +Date: October 2012 +KernelVersion: 3.8 +Contact: Andreas Larsson +Description: + Configuration of which physical interface to be used. Possible + values: 0 or 1. See the GRCAN chapter of the GRLIB IP core + library documentation for details. The default value is 0 or is + set by the module parameter grcan.select and can be read at + /sys/module/grcan/parameters/select. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-ocxl b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-ocxl index e081e48b68..847a7edc31 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-ocxl +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-ocxl @@ -1,51 +1,51 @@ -What: /sys/class/ocxl//afu_version -Date: January 2018 -Contact: linuxppc-dev@lists.ozlabs.org -Description: read only - Version of the AFU, in the format : - Reflects what is read in the configuration space of the AFU - -What: /sys/class/ocxl//contexts -Date: January 2018 -Contact: linuxppc-dev@lists.ozlabs.org -Description: read only - Number of contexts for the AFU, in the format / - where: - - ==== =============================================== - n number of currently active contexts, for debug - max maximum number of contexts supported by the AFU - ==== =============================================== - -What: /sys/class/ocxl//pp_mmio_size -Date: January 2018 -Contact: linuxppc-dev@lists.ozlabs.org -Description: read only - Size of the per-process mmio area, as defined in the - configuration space of the AFU - -What: /sys/class/ocxl//global_mmio_size -Date: January 2018 -Contact: linuxppc-dev@lists.ozlabs.org -Description: read only - Size of the global mmio area, as defined in the - configuration space of the AFU - -What: /sys/class/ocxl//global_mmio_area -Date: January 2018 -Contact: linuxppc-dev@lists.ozlabs.org -Description: read/write - Give access the global mmio area for the AFU - -What: /sys/class/ocxl//reload_on_reset -Date: February 2020 -Contact: linuxppc-dev@lists.ozlabs.org -Description: read/write - Control whether the FPGA is reloaded on a link reset. Enabled - through a vendor-specific logic block on the FPGA. - - =========== =========================================== - 0 Do not reload FPGA image from flash - 1 Reload FPGA image from flash - unavailable The device does not support this capability - =========== =========================================== +What: /sys/class/ocxl//afu_version +Date: January 2018 +Contact: linuxppc-dev@lists.ozlabs.org +Description: read only + Version of the AFU, in the format : + Reflects what is read in the configuration space of the AFU + +What: /sys/class/ocxl//contexts +Date: January 2018 +Contact: linuxppc-dev@lists.ozlabs.org +Description: read only + Number of contexts for the AFU, in the format / + where: + + ==== =============================================== + n number of currently active contexts, for debug + max maximum number of contexts supported by the AFU + ==== =============================================== + +What: /sys/class/ocxl//pp_mmio_size +Date: January 2018 +Contact: linuxppc-dev@lists.ozlabs.org +Description: read only + Size of the per-process mmio area, as defined in the + configuration space of the AFU + +What: /sys/class/ocxl//global_mmio_size +Date: January 2018 +Contact: linuxppc-dev@lists.ozlabs.org +Description: read only + Size of the global mmio area, as defined in the + configuration space of the AFU + +What: /sys/class/ocxl//global_mmio_area +Date: January 2018 +Contact: linuxppc-dev@lists.ozlabs.org +Description: read/write + Give access the global mmio area for the AFU + +What: /sys/class/ocxl//reload_on_reset +Date: February 2020 +Contact: linuxppc-dev@lists.ozlabs.org +Description: read/write + Control whether the FPGA is reloaded on a link reset. Enabled + through a vendor-specific logic block on the FPGA. + + =========== =========================================== + 0 Do not reload FPGA image from flash + 1 Reload FPGA image from flash + unavailable The device does not support this capability + =========== =========================================== diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-power-wilco b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-power-wilco index 383453917a..083c4641b4 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-power-wilco +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-power-wilco @@ -1,40 +1,40 @@ -What: /sys/class/power_supply/wilco-charger/charge_type -Date: April 2019 -KernelVersion: 5.2 -Description: - What charging algorithm to use: - - Standard: - Fully charges battery at a standard rate. - Adaptive: - Battery settings adaptively optimized based on - typical battery usage pattern. - Fast: - Battery charges over a shorter period. - Trickle: - Extends battery lifespan, intended for users who - primarily use their Chromebook while connected to AC. - Custom: - A low and high threshold percentage is specified. - Charging begins when level drops below - charge_control_start_threshold, and ceases when - level is above charge_control_end_threshold. - Long Life: - Customized charge rate for last longer battery life. - On Wilco device this mode is pre-configured in the factory - through EC's private PID. Switching to a different mode will - be denied by Wilco EC when Long Life mode is enabled. - -What: /sys/class/power_supply/wilco-charger/charge_control_start_threshold -Date: April 2019 -KernelVersion: 5.2 -Description: - Used when charge_type="Custom", as described above. Measured in - percentages. The valid range is [50, 95]. - -What: /sys/class/power_supply/wilco-charger/charge_control_end_threshold -Date: April 2019 -KernelVersion: 5.2 -Description: - Used when charge_type="Custom", as described above. Measured in - percentages. The valid range is [55, 100]. +What: /sys/class/power_supply/wilco-charger/charge_type +Date: April 2019 +KernelVersion: 5.2 +Description: + What charging algorithm to use: + + Standard: + Fully charges battery at a standard rate. + Adaptive: + Battery settings adaptively optimized based on + typical battery usage pattern. + Fast: + Battery charges over a shorter period. + Trickle: + Extends battery lifespan, intended for users who + primarily use their Chromebook while connected to AC. + Custom: + A low and high threshold percentage is specified. + Charging begins when level drops below + charge_control_start_threshold, and ceases when + level is above charge_control_end_threshold. + Long Life: + Customized charge rate for last longer battery life. + On Wilco device this mode is pre-configured in the factory + through EC's private PID. Switching to a different mode will + be denied by Wilco EC when Long Life mode is enabled. + +What: /sys/class/power_supply/wilco-charger/charge_control_start_threshold +Date: April 2019 +KernelVersion: 5.2 +Description: + Used when charge_type="Custom", as described above. Measured in + percentages. The valid range is [50, 95]. + +What: /sys/class/power_supply/wilco-charger/charge_control_end_threshold +Date: April 2019 +KernelVersion: 5.2 +Description: + Used when charge_type="Custom", as described above. Measured in + percentages. The valid range is [55, 100]. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-lpss_ltr b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-lpss_ltr index 6446b64bdf..ea9298d9bb 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-lpss_ltr +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-lpss_ltr @@ -1,44 +1,44 @@ -What: /sys/devices/.../lpss_ltr/ -Date: March 2013 -Contact: Rafael J. Wysocki -Description: - The /sys/devices/.../lpss_ltr/ directory is only present for - devices included into the Intel Lynxpoint Low Power Subsystem - (LPSS). If present, it contains attributes containing the LTR - mode and the values of LTR registers of the device. - -What: /sys/devices/.../lpss_ltr/ltr_mode -Date: March 2013 -Contact: Rafael J. Wysocki -Description: - The /sys/devices/.../lpss_ltr/ltr_mode attribute contains an - integer number (0 or 1) indicating whether or not the devices' - LTR functionality is working in the software mode (1). - - This attribute is read-only. If the device's runtime PM status - is not "active", attempts to read from this attribute cause - -EAGAIN to be returned. - -What: /sys/devices/.../lpss_ltr/auto_ltr -Date: March 2013 -Contact: Rafael J. Wysocki -Description: - The /sys/devices/.../lpss_ltr/auto_ltr attribute contains the - current value of the device's AUTO_LTR register (raw) - represented as an 8-digit hexadecimal number. - - This attribute is read-only. If the device's runtime PM status - is not "active", attempts to read from this attribute cause - -EAGAIN to be returned. - -What: /sys/devices/.../lpss_ltr/sw_ltr -Date: March 2013 -Contact: Rafael J. Wysocki -Description: - The /sys/devices/.../lpss_ltr/auto_ltr attribute contains the - current value of the device's SW_LTR register (raw) represented - as an 8-digit hexadecimal number. - - This attribute is read-only. If the device's runtime PM status - is not "active", attempts to read from this attribute cause - -EAGAIN to be returned. +What: /sys/devices/.../lpss_ltr/ +Date: March 2013 +Contact: Rafael J. Wysocki +Description: + The /sys/devices/.../lpss_ltr/ directory is only present for + devices included into the Intel Lynxpoint Low Power Subsystem + (LPSS). If present, it contains attributes containing the LTR + mode and the values of LTR registers of the device. + +What: /sys/devices/.../lpss_ltr/ltr_mode +Date: March 2013 +Contact: Rafael J. Wysocki +Description: + The /sys/devices/.../lpss_ltr/ltr_mode attribute contains an + integer number (0 or 1) indicating whether or not the devices' + LTR functionality is working in the software mode (1). + + This attribute is read-only. If the device's runtime PM status + is not "active", attempts to read from this attribute cause + -EAGAIN to be returned. + +What: /sys/devices/.../lpss_ltr/auto_ltr +Date: March 2013 +Contact: Rafael J. Wysocki +Description: + The /sys/devices/.../lpss_ltr/auto_ltr attribute contains the + current value of the device's AUTO_LTR register (raw) + represented as an 8-digit hexadecimal number. + + This attribute is read-only. If the device's runtime PM status + is not "active", attempts to read from this attribute cause + -EAGAIN to be returned. + +What: /sys/devices/.../lpss_ltr/sw_ltr +Date: March 2013 +Contact: Rafael J. Wysocki +Description: + The /sys/devices/.../lpss_ltr/auto_ltr attribute contains the + current value of the device's SW_LTR register (raw) represented + as an 8-digit hexadecimal number. + + This attribute is read-only. If the device's runtime PM status + is not "active", attempts to read from this attribute cause + -EAGAIN to be returned. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-physical_location b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-physical_location index f5eedff79d..202324b870 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-physical_location +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-physical_location @@ -1,42 +1,42 @@ -What: /sys/devices/.../physical_location -Date: March 2022 -Contact: Won Chung -Description: - This directory contains information on physical location of - the device connection point with respect to the system's - housing. - -What: /sys/devices/.../physical_location/panel -Date: March 2022 -Contact: Won Chung -Description: - Describes which panel surface of the system’s housing the - device connection point resides on. - -What: /sys/devices/.../physical_location/vertical_position -Date: March 2022 -Contact: Won Chung -Description: - Describes vertical position of the device connection point on - the panel surface. - -What: /sys/devices/.../physical_location/horizontal_position -Date: March 2022 -Contact: Won Chung -Description: - Describes horizontal position of the device connection point on - the panel surface. - -What: /sys/devices/.../physical_location/dock -Date: March 2022 -Contact: Won Chung -Description: - "Yes" if the device connection point resides in a docking - station or a port replicator. "No" otherwise. - -What: /sys/devices/.../physical_location/lid -Date: March 2022 -Contact: Won Chung -Description: - "Yes" if the device connection point resides on the lid of - laptop system. "No" otherwise. +What: /sys/devices/.../physical_location +Date: March 2022 +Contact: Won Chung +Description: + This directory contains information on physical location of + the device connection point with respect to the system's + housing. + +What: /sys/devices/.../physical_location/panel +Date: March 2022 +Contact: Won Chung +Description: + Describes which panel surface of the system’s housing the + device connection point resides on. + +What: /sys/devices/.../physical_location/vertical_position +Date: March 2022 +Contact: Won Chung +Description: + Describes vertical position of the device connection point on + the panel surface. + +What: /sys/devices/.../physical_location/horizontal_position +Date: March 2022 +Contact: Won Chung +Description: + Describes horizontal position of the device connection point on + the panel surface. + +What: /sys/devices/.../physical_location/dock +Date: March 2022 +Contact: Won Chung +Description: + "Yes" if the device connection point resides in a docking + station or a port replicator. "No" otherwise. + +What: /sys/devices/.../physical_location/lid +Date: March 2022 +Contact: Won Chung +Description: + "Yes" if the device connection point resides on the lid of + laptop system. "No" otherwise. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-platform-sh_mobile_lcdc_fb b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-platform-sh_mobile_lcdc_fb index fd2c621441..e45ac2e865 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-platform-sh_mobile_lcdc_fb +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-platform-sh_mobile_lcdc_fb @@ -1,44 +1,44 @@ -What: /sys/devices/platform/sh_mobile_lcdc_fb.[0-3]/graphics/fb[0-9]/ovl_alpha -Date: May 2012 -Contact: Laurent Pinchart -Description: - This file is only available on fb[0-9] devices corresponding - to overlay planes. - - Stores the alpha blending value for the overlay. Values range - from 0 (transparent) to 255 (opaque). The value is ignored if - the mode is not set to Alpha Blending. - -What: /sys/devices/platform/sh_mobile_lcdc_fb.[0-3]/graphics/fb[0-9]/ovl_mode -Date: May 2012 -Contact: Laurent Pinchart -Description: - This file is only available on fb[0-9] devices corresponding - to overlay planes. - - Selects the composition mode for the overlay. Possible values - are: - - - 0 - Alpha Blending - - 1 - ROP3 - -What: /sys/devices/platform/sh_mobile_lcdc_fb.[0-3]/graphics/fb[0-9]/ovl_position -Date: May 2012 -Contact: Laurent Pinchart -Description: - This file is only available on fb[0-9] devices corresponding - to overlay planes. - - Stores the x,y overlay position on the display in pixels. The - position format is `[0-9]+,[0-9]+`. - -What: /sys/devices/platform/sh_mobile_lcdc_fb.[0-3]/graphics/fb[0-9]/ovl_rop3 -Date: May 2012 -Contact: Laurent Pinchart -Description: - This file is only available on fb[0-9] devices corresponding - to overlay planes. - - Stores the raster operation (ROP3) for the overlay. Values - range from 0 to 255. The value is ignored if the mode is not - set to ROP3. +What: /sys/devices/platform/sh_mobile_lcdc_fb.[0-3]/graphics/fb[0-9]/ovl_alpha +Date: May 2012 +Contact: Laurent Pinchart +Description: + This file is only available on fb[0-9] devices corresponding + to overlay planes. + + Stores the alpha blending value for the overlay. Values range + from 0 (transparent) to 255 (opaque). The value is ignored if + the mode is not set to Alpha Blending. + +What: /sys/devices/platform/sh_mobile_lcdc_fb.[0-3]/graphics/fb[0-9]/ovl_mode +Date: May 2012 +Contact: Laurent Pinchart +Description: + This file is only available on fb[0-9] devices corresponding + to overlay planes. + + Selects the composition mode for the overlay. Possible values + are: + + - 0 - Alpha Blending + - 1 - ROP3 + +What: /sys/devices/platform/sh_mobile_lcdc_fb.[0-3]/graphics/fb[0-9]/ovl_position +Date: May 2012 +Contact: Laurent Pinchart +Description: + This file is only available on fb[0-9] devices corresponding + to overlay planes. + + Stores the x,y overlay position on the display in pixels. The + position format is `[0-9]+,[0-9]+`. + +What: /sys/devices/platform/sh_mobile_lcdc_fb.[0-3]/graphics/fb[0-9]/ovl_rop3 +Date: May 2012 +Contact: Laurent Pinchart +Description: + This file is only available on fb[0-9] devices corresponding + to overlay planes. + + Stores the raster operation (ROP3) for the overlay. Values + range from 0 to 255. The value is ignored if the mode is not + set to ROP3. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-state_synced b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-state_synced index 846ede7427..c64636ddac 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-state_synced +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-state_synced @@ -1,29 +1,29 @@ -What: /sys/devices/.../state_synced -Date: May 2020 -Contact: Saravana Kannan -Description: - The /sys/devices/.../state_synced attribute is only present for - devices whose bus types or driver provides the .sync_state() - callback. The number read from it (0 or 1) reflects the value - of the device's 'state_synced' field. A value of 0 means the - .sync_state() callback hasn't been called yet. A value of 1 - means the .sync_state() callback has been called. - - Generally, if a device has sync_state() support and has some of - the resources it provides enabled at the time the kernel starts - (Eg: enabled by hardware reset or bootloader or anything that - run before the kernel starts), then it'll keep those resources - enabled and in a state that's compatible with the state they - were in at the start of the kernel. The device will stop doing - this only when the sync_state() callback has been called -- - which happens only when all its consumer devices are registered - and have probed successfully. Resources that were left disabled - at the time the kernel starts are not affected or limited in - any way by sync_state() callbacks. - - Writing "1" to this file will force a call to the device's - sync_state() function if it hasn't been called already. The - sync_state() call happens independent of the state of the - consumer devices. - - +What: /sys/devices/.../state_synced +Date: May 2020 +Contact: Saravana Kannan +Description: + The /sys/devices/.../state_synced attribute is only present for + devices whose bus types or driver provides the .sync_state() + callback. The number read from it (0 or 1) reflects the value + of the device's 'state_synced' field. A value of 0 means the + .sync_state() callback hasn't been called yet. A value of 1 + means the .sync_state() callback has been called. + + Generally, if a device has sync_state() support and has some of + the resources it provides enabled at the time the kernel starts + (Eg: enabled by hardware reset or bootloader or anything that + run before the kernel starts), then it'll keep those resources + enabled and in a state that's compatible with the state they + were in at the start of the kernel. The device will stop doing + this only when the sync_state() callback has been called -- + which happens only when all its consumer devices are registered + and have probed successfully. Resources that were left disabled + at the time the kernel starts are not affected or limited in + any way by sync_state() callbacks. + + Writing "1" to this file will force a call to the device's + sync_state() function if it hasn't been called already. The + sync_state() call happens independent of the state of the + consumer devices. + + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-xenbus b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-xenbus index 3fa269b902..fd796cb4f3 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-xenbus +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-xenbus @@ -1,41 +1,41 @@ -What: /sys/devices/*/xenbus/event_channels -Date: February 2021 -Contact: Xen Developers mailing list -Description: - Number of Xen event channels associated with a kernel based - paravirtualized device frontend or backend. - -What: /sys/devices/*/xenbus/events -Date: February 2021 -Contact: Xen Developers mailing list -Description: - Total number of Xen events received for a Xen pv device - frontend or backend. - -What: /sys/devices/*/xenbus/jiffies_eoi_delayed -Date: February 2021 -Contact: Xen Developers mailing list -Description: - Summed up time in jiffies the EOI of an interrupt for a Xen - pv device has been delayed in order to avoid stalls due to - event storms. This value rising is a first sign for a rogue - other end of the pv device. - -What: /sys/devices/*/xenbus/spurious_events -Date: February 2021 -Contact: Xen Developers mailing list -Description: - Number of events received for a Xen pv device which did not - require any action. Too many spurious events in a row will - trigger delayed EOI processing. - -What: /sys/devices/*/xenbus/spurious_threshold -Date: February 2021 -Contact: Xen Developers mailing list -Description: - Controls the tolerated number of subsequent spurious events - before delayed EOI processing is triggered for a Xen pv - device. Default is 1. This can be modified in case the other - end of the pv device is issuing spurious events on a regular - basis and is known not to be malicious on purpose. Raising - the value for such cases can improve pv device performance. +What: /sys/devices/*/xenbus/event_channels +Date: February 2021 +Contact: Xen Developers mailing list +Description: + Number of Xen event channels associated with a kernel based + paravirtualized device frontend or backend. + +What: /sys/devices/*/xenbus/events +Date: February 2021 +Contact: Xen Developers mailing list +Description: + Total number of Xen events received for a Xen pv device + frontend or backend. + +What: /sys/devices/*/xenbus/jiffies_eoi_delayed +Date: February 2021 +Contact: Xen Developers mailing list +Description: + Summed up time in jiffies the EOI of an interrupt for a Xen + pv device has been delayed in order to avoid stalls due to + event storms. This value rising is a first sign for a rogue + other end of the pv device. + +What: /sys/devices/*/xenbus/spurious_events +Date: February 2021 +Contact: Xen Developers mailing list +Description: + Number of events received for a Xen pv device which did not + require any action. Too many spurious events in a row will + trigger delayed EOI processing. + +What: /sys/devices/*/xenbus/spurious_threshold +Date: February 2021 +Contact: Xen Developers mailing list +Description: + Controls the tolerated number of subsequent spurious events + before delayed EOI processing is triggered for a Xen pv + device. Default is 1. This can be modified in case the other + end of the pv device is issuing spurious events on a regular + basis and is known not to be malicious on purpose. Raising + the value for such cases can improve pv device performance. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-pciback b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-pciback index 5ea6ac029a..49f5fd0c8b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-pciback +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-pciback @@ -1,28 +1,28 @@ -What: /sys/bus/pci/drivers/pciback/quirks -Date: Oct 2011 -KernelVersion: 3.1 -Contact: xen-devel@lists.xenproject.org -Description: - If the permissive attribute is set, then writing a string in - the format of DDDD:BB:DD.F-REG:SIZE:MASK will allow the guest - to write and read from the PCI device. That is Domain:Bus: - Device.Function-Register:Size:Mask (Domain is optional). - For example:: - - #echo 00:19.0-E0:2:FF > /sys/bus/pci/drivers/pciback/quirks - - will allow the guest to read and write to the configuration - register 0x0E. - -What: /sys/bus/pci/drivers/pciback/allow_interrupt_control -Date: Jan 2020 -KernelVersion: 5.6 -Contact: xen-devel@lists.xenproject.org -Description: - List of devices which can have interrupt control flag (INTx, - MSI, MSI-X) set by a connected guest. It is meant to be set - only when the guest is a stubdomain hosting device model (qemu) - and the actual device is assigned to a HVM. It is not safe - (similar to permissive attribute) to set for a devices assigned - to a PV guest. The device is automatically removed from this - list when the connected pcifront terminates. +What: /sys/bus/pci/drivers/pciback/quirks +Date: Oct 2011 +KernelVersion: 3.1 +Contact: xen-devel@lists.xenproject.org +Description: + If the permissive attribute is set, then writing a string in + the format of DDDD:BB:DD.F-REG:SIZE:MASK will allow the guest + to write and read from the PCI device. That is Domain:Bus: + Device.Function-Register:Size:Mask (Domain is optional). + For example:: + + #echo 00:19.0-E0:2:FF > /sys/bus/pci/drivers/pciback/quirks + + will allow the guest to read and write to the configuration + register 0x0E. + +What: /sys/bus/pci/drivers/pciback/allow_interrupt_control +Date: Jan 2020 +KernelVersion: 5.6 +Contact: xen-devel@lists.xenproject.org +Description: + List of devices which can have interrupt control flag (INTx, + MSI, MSI-X) set by a connected guest. It is meant to be set + only when the guest is a stubdomain hosting device model (qemu) + and the actual device is assigned to a HVM. It is not safe + (similar to permissive attribute) to set for a devices assigned + to a PV guest. The device is automatically removed from this + list when the connected pcifront terminates. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-qat_ras b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-qat_ras index cfcfd0c07e..176dea1e9c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-qat_ras +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-qat_ras @@ -1,41 +1,41 @@ -What: /sys/bus/pci/devices//qat_ras/errors_correctable -Date: January 2024 -KernelVersion: 6.7 -Contact: qat-linux@intel.com -Description: (RO) Reports the number of correctable errors detected by the device. - - This attribute is only available for qat_4xxx devices. - -What: /sys/bus/pci/devices//qat_ras/errors_nonfatal -Date: January 2024 -KernelVersion: 6.7 -Contact: qat-linux@intel.com -Description: (RO) Reports the number of non fatal errors detected by the device. - - This attribute is only available for qat_4xxx devices. - -What: /sys/bus/pci/devices//qat_ras/errors_fatal -Date: January 2024 -KernelVersion: 6.7 -Contact: qat-linux@intel.com -Description: (RO) Reports the number of fatal errors detected by the device. - - This attribute is only available for qat_4xxx devices. - -What: /sys/bus/pci/devices//qat_ras/reset_error_counters -Date: January 2024 -KernelVersion: 6.7 -Contact: qat-linux@intel.com -Description: (WO) Write to resets all error counters of a device. - - The following example reports how to reset the counters:: - - # echo 1 > /sys/bus/pci/devices//qat_ras/reset_error_counters - # cat /sys/bus/pci/devices//qat_ras/errors_correctable - 0 - # cat /sys/bus/pci/devices//qat_ras/errors_nonfatal - 0 - # cat /sys/bus/pci/devices//qat_ras/errors_fatal - 0 - - This attribute is only available for qat_4xxx devices. +What: /sys/bus/pci/devices//qat_ras/errors_correctable +Date: January 2024 +KernelVersion: 6.7 +Contact: qat-linux@intel.com +Description: (RO) Reports the number of correctable errors detected by the device. + + This attribute is only available for qat_4xxx devices. + +What: /sys/bus/pci/devices//qat_ras/errors_nonfatal +Date: January 2024 +KernelVersion: 6.7 +Contact: qat-linux@intel.com +Description: (RO) Reports the number of non fatal errors detected by the device. + + This attribute is only available for qat_4xxx devices. + +What: /sys/bus/pci/devices//qat_ras/errors_fatal +Date: January 2024 +KernelVersion: 6.7 +Contact: qat-linux@intel.com +Description: (RO) Reports the number of fatal errors detected by the device. + + This attribute is only available for qat_4xxx devices. + +What: /sys/bus/pci/devices//qat_ras/reset_error_counters +Date: January 2024 +KernelVersion: 6.7 +Contact: qat-linux@intel.com +Description: (WO) Write to resets all error counters of a device. + + The following example reports how to reset the counters:: + + # echo 1 > /sys/bus/pci/devices//qat_ras/reset_error_counters + # cat /sys/bus/pci/devices//qat_ras/errors_correctable + 0 + # cat /sys/bus/pci/devices//qat_ras/errors_nonfatal + 0 + # cat /sys/bus/pci/devices//qat_ras/errors_fatal + 0 + + This attribute is only available for qat_4xxx devices. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-samsung-laptop b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-samsung-laptop index 04fb79c918..28c9c040de 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-samsung-laptop +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-samsung-laptop @@ -1,48 +1,48 @@ -What: /sys/devices/platform/samsung/performance_level -Date: January 1, 2010 -KernelVersion: 2.6.33 -Contact: Greg Kroah-Hartman -Description: Some Samsung laptops have different "performance levels" - that can be modified by a function key, and by this - sysfs file. These values don't always make a whole lot - of sense, but some users like to modify them to keep - their fans quiet at all costs. Reading from this file - will show the current performance level. Writing to the - file can change this value. - - Valid options: - - "silent" - - "normal" - - "overclock" - - Note that not all laptops support all of these options. - Specifically, not all support the "overclock" option, - and it's still unknown if this value even changes - anything, other than making the user feel a bit better. - -What: /sys/devices/platform/samsung/battery_life_extender -Date: December 1, 2011 -KernelVersion: 3.3 -Contact: Corentin Chary -Description: Max battery charge level can be modified, battery cycle - life can be extended by reducing the max battery charge - level. - - - 0 means normal battery mode (100% charge) - - 1 means battery life extender mode (80% charge) - -What: /sys/devices/platform/samsung/usb_charge -Date: December 1, 2011 -KernelVersion: 3.3 -Contact: Corentin Chary -Description: Use your USB ports to charge devices, even - when your laptop is powered off. - 1 means enabled, 0 means disabled. - -What: /sys/devices/platform/samsung/lid_handling -Date: December 11, 2014 -KernelVersion: 3.19 -Contact: Julijonas Kikutis -Description: Some Samsung laptops handle lid closing quicker and - only handle lid opening with this mode enabled. - 1 means enabled, 0 means disabled. +What: /sys/devices/platform/samsung/performance_level +Date: January 1, 2010 +KernelVersion: 2.6.33 +Contact: Greg Kroah-Hartman +Description: Some Samsung laptops have different "performance levels" + that can be modified by a function key, and by this + sysfs file. These values don't always make a whole lot + of sense, but some users like to modify them to keep + their fans quiet at all costs. Reading from this file + will show the current performance level. Writing to the + file can change this value. + + Valid options: + - "silent" + - "normal" + - "overclock" + + Note that not all laptops support all of these options. + Specifically, not all support the "overclock" option, + and it's still unknown if this value even changes + anything, other than making the user feel a bit better. + +What: /sys/devices/platform/samsung/battery_life_extender +Date: December 1, 2011 +KernelVersion: 3.3 +Contact: Corentin Chary +Description: Max battery charge level can be modified, battery cycle + life can be extended by reducing the max battery charge + level. + + - 0 means normal battery mode (100% charge) + - 1 means battery life extender mode (80% charge) + +What: /sys/devices/platform/samsung/usb_charge +Date: December 1, 2011 +KernelVersion: 3.3 +Contact: Corentin Chary +Description: Use your USB ports to charge devices, even + when your laptop is powered off. + 1 means enabled, 0 means disabled. + +What: /sys/devices/platform/samsung/lid_handling +Date: December 11, 2014 +KernelVersion: 3.19 +Contact: Julijonas Kikutis +Description: Some Samsung laptops handle lid closing quicker and + only handle lid opening with this mode enabled. + 1 means enabled, 0 means disabled. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-xdata b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-xdata index 903c99da1b..f574e8e6dc 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-xdata +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-xdata @@ -1,49 +1,49 @@ -What: /sys/class/misc/drivers/dw-xdata-pcie./write -Date: April 2021 -KernelVersion: 5.13 -Contact: Gustavo Pimentel -Description: Allows the user to enable the PCIe traffic generator which - will create write TLPs frames - from the Root Complex to the - Endpoint direction or to disable the PCIe traffic generator - in all directions. - - Write y/1/on to enable, n/0/off to disable - - Usage e.g. - echo 1 > /sys/class/misc/dw-xdata-pcie./write - or - echo 0 > /sys/class/misc/dw-xdata-pcie./write - - The user can read the current PCIe link throughput generated - through this generator in MB/s. - - Usage e.g. - cat /sys/class/misc/dw-xdata-pcie./write - 204 - - The file is read and write. - -What: /sys/class/misc/dw-xdata-pcie./read -Date: April 2021 -KernelVersion: 5.13 -Contact: Gustavo Pimentel -Description: Allows the user to enable the PCIe traffic generator which - will create read TLPs frames - from the Endpoint to the Root - Complex direction or to disable the PCIe traffic generator - in all directions. - - Write y/1/on to enable, n/0/off to disable - - Usage e.g. - echo 1 > /sys/class/misc/dw-xdata-pcie./read - or - echo 0 > /sys/class/misc/dw-xdata-pcie./read - - The user can read the current PCIe link throughput generated - through this generator in MB/s. - - Usage e.g. - cat /sys/class/misc/dw-xdata-pcie./read - 199 - - The file is read and write. +What: /sys/class/misc/drivers/dw-xdata-pcie./write +Date: April 2021 +KernelVersion: 5.13 +Contact: Gustavo Pimentel +Description: Allows the user to enable the PCIe traffic generator which + will create write TLPs frames - from the Root Complex to the + Endpoint direction or to disable the PCIe traffic generator + in all directions. + + Write y/1/on to enable, n/0/off to disable + + Usage e.g. + echo 1 > /sys/class/misc/dw-xdata-pcie./write + or + echo 0 > /sys/class/misc/dw-xdata-pcie./write + + The user can read the current PCIe link throughput generated + through this generator in MB/s. + + Usage e.g. + cat /sys/class/misc/dw-xdata-pcie./write + 204 + + The file is read and write. + +What: /sys/class/misc/dw-xdata-pcie./read +Date: April 2021 +KernelVersion: 5.13 +Contact: Gustavo Pimentel +Description: Allows the user to enable the PCIe traffic generator which + will create read TLPs frames - from the Endpoint to the Root + Complex direction or to disable the PCIe traffic generator + in all directions. + + Write y/1/on to enable, n/0/off to disable + + Usage e.g. + echo 1 > /sys/class/misc/dw-xdata-pcie./read + or + echo 0 > /sys/class/misc/dw-xdata-pcie./read + + The user can read the current PCIe link throughput generated + through this generator in MB/s. + + Usage e.g. + cat /sys/class/misc/dw-xdata-pcie./read + 199 + + The file is read and write. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-firmware-efi-runtime-map b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-firmware-efi-runtime-map index 61a22ed8b8..9c4d581be3 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-firmware-efi-runtime-map +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-firmware-efi-runtime-map @@ -1,36 +1,36 @@ -What: /sys/firmware/efi/runtime-map/ -Date: December 2013 -Contact: Dave Young -Description: Switching efi runtime services to virtual mode requires - that all efi memory ranges which have the runtime attribute - bit set to be mapped to virtual addresses. - - The efi runtime services can only be switched to virtual - mode once without rebooting. The kexec kernel must maintain - the same physical to virtual address mappings as the first - kernel. The mappings are exported to sysfs so userspace tools - can reassemble them and pass them into the kexec kernel. - - /sys/firmware/efi/runtime-map/ is the directory the kernel - exports that information in. - - subdirectories are named with the number of the memory range:: - - /sys/firmware/efi/runtime-map/0 - /sys/firmware/efi/runtime-map/1 - /sys/firmware/efi/runtime-map/2 - /sys/firmware/efi/runtime-map/3 - ... - - Each subdirectory contains five files: - - ========= ========================================= - attribute The attributes of the memory range. - num_pages The size of the memory range in pages. - phys_addr The physical address of the memory range. - type The type of the memory range. - virt_addr The virtual address of the memory range. - ========= ========================================= - - Above values are all hexadecimal numbers with the '0x' prefix. -Users: Kexec +What: /sys/firmware/efi/runtime-map/ +Date: December 2013 +Contact: Dave Young +Description: Switching efi runtime services to virtual mode requires + that all efi memory ranges which have the runtime attribute + bit set to be mapped to virtual addresses. + + The efi runtime services can only be switched to virtual + mode once without rebooting. The kexec kernel must maintain + the same physical to virtual address mappings as the first + kernel. The mappings are exported to sysfs so userspace tools + can reassemble them and pass them into the kexec kernel. + + /sys/firmware/efi/runtime-map/ is the directory the kernel + exports that information in. + + subdirectories are named with the number of the memory range:: + + /sys/firmware/efi/runtime-map/0 + /sys/firmware/efi/runtime-map/1 + /sys/firmware/efi/runtime-map/2 + /sys/firmware/efi/runtime-map/3 + ... + + Each subdirectory contains five files: + + ========= ========================================= + attribute The attributes of the memory range. + num_pages The size of the memory range in pages. + phys_addr The physical address of the memory range. + type The type of the memory range. + virt_addr The virtual address of the memory range. + ========= ========================================= + + Above values are all hexadecimal numbers with the '0x' prefix. +Users: Kexec diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-hypervisor-xen b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-hypervisor-xen index e2305f4d0a..4dbe0c49b3 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-hypervisor-xen +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-hypervisor-xen @@ -1,46 +1,46 @@ -What: /sys/hypervisor/guest_type -Date: June 2017 -KernelVersion: 4.13 -Contact: xen-devel@lists.xenproject.org -Description: If running under Xen: - Type of guest: - "Xen": standard guest type on arm - "HVM": fully virtualized guest (x86) - "PV": paravirtualized guest (x86) - "PVH": fully virtualized guest without legacy emulation (x86) - -What: /sys/hypervisor/pmu/pmu_mode -Date: August 2015 -KernelVersion: 4.3 -Contact: Boris Ostrovsky -Description: If running under Xen: - Describes mode that Xen's performance-monitoring unit (PMU) - uses. Accepted values are: - - ====== ============================================ - "off" PMU is disabled - "self" The guest can profile itself - "hv" The guest can profile itself and, if it is - privileged (e.g. dom0), the hypervisor - "all" The guest can profile itself, the hypervisor - and all other guests. Only available to - privileged guests. - ====== ============================================ - -What: /sys/hypervisor/pmu/pmu_features -Date: August 2015 -KernelVersion: 4.3 -Contact: Boris Ostrovsky -Description: If running under Xen: - Describes Xen PMU features (as an integer). A set bit indicates - that the corresponding feature is enabled. See - include/xen/interface/xenpmu.h for available features - -What: /sys/hypervisor/properties/buildid -Date: June 2017 -KernelVersion: 4.13 -Contact: xen-devel@lists.xenproject.org -Description: If running under Xen: - Build id of the hypervisor, needed for hypervisor live patching. - Might return "" in case of special security settings - in the hypervisor. +What: /sys/hypervisor/guest_type +Date: June 2017 +KernelVersion: 4.13 +Contact: xen-devel@lists.xenproject.org +Description: If running under Xen: + Type of guest: + "Xen": standard guest type on arm + "HVM": fully virtualized guest (x86) + "PV": paravirtualized guest (x86) + "PVH": fully virtualized guest without legacy emulation (x86) + +What: /sys/hypervisor/pmu/pmu_mode +Date: August 2015 +KernelVersion: 4.3 +Contact: Boris Ostrovsky +Description: If running under Xen: + Describes mode that Xen's performance-monitoring unit (PMU) + uses. Accepted values are: + + ====== ============================================ + "off" PMU is disabled + "self" The guest can profile itself + "hv" The guest can profile itself and, if it is + privileged (e.g. dom0), the hypervisor + "all" The guest can profile itself, the hypervisor + and all other guests. Only available to + privileged guests. + ====== ============================================ + +What: /sys/hypervisor/pmu/pmu_features +Date: August 2015 +KernelVersion: 4.3 +Contact: Boris Ostrovsky +Description: If running under Xen: + Describes Xen PMU features (as an integer). A set bit indicates + that the corresponding feature is enabled. See + include/xen/interface/xenpmu.h for available features + +What: /sys/hypervisor/properties/buildid +Date: June 2017 +KernelVersion: 4.13 +Contact: xen-devel@lists.xenproject.org +Description: If running under Xen: + Build id of the hypervisor, needed for hypervisor live patching. + Might return "" in case of special security settings + in the hypervisor. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-ibft b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-ibft index 388b0e8dfe..7d6725fe61 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-ibft +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-ibft @@ -1,33 +1,33 @@ -What: /sys/firmware/ibft/initiator -Date: November 2007 -Contact: Konrad Rzeszutek -Description: The /sys/firmware/ibft/initiator directory will contain - files that expose the iSCSI Boot Firmware Table initiator data. - Usually this contains the Initiator name. - -What: /sys/firmware/ibft/targetX -Date: November 2007 -Contact: Konrad Rzeszutek -Description: The /sys/firmware/ibft/targetX directory will contain - files that expose the iSCSI Boot Firmware Table target data. - Usually this contains the target's IP address, boot LUN, - target name, and what NIC it is associated with. It can also - contain the CHAP name (and password), the reverse CHAP - name (and password) - -What: /sys/firmware/ibft/ethernetX -Date: November 2007 -Contact: Konrad Rzeszutek -Description: The /sys/firmware/ibft/ethernetX directory will contain - files that expose the iSCSI Boot Firmware Table NIC data. - Usually this contains the IP address, MAC, and gateway of the NIC. - -What: /sys/firmware/ibft/acpi_header -Date: March 2016 -Contact: David Bond -Description: The /sys/firmware/ibft/acpi_header directory will contain files - that expose the SIGNATURE, OEM_ID, and OEM_TABLE_ID fields of the - acpi table header of the iBFT structure. This will allow for - identification of the creator of the table which is useful in - determining quirks associated with some adapters when used in - hardware vs software iscsi initiator mode. +What: /sys/firmware/ibft/initiator +Date: November 2007 +Contact: Konrad Rzeszutek +Description: The /sys/firmware/ibft/initiator directory will contain + files that expose the iSCSI Boot Firmware Table initiator data. + Usually this contains the Initiator name. + +What: /sys/firmware/ibft/targetX +Date: November 2007 +Contact: Konrad Rzeszutek +Description: The /sys/firmware/ibft/targetX directory will contain + files that expose the iSCSI Boot Firmware Table target data. + Usually this contains the target's IP address, boot LUN, + target name, and what NIC it is associated with. It can also + contain the CHAP name (and password), the reverse CHAP + name (and password) + +What: /sys/firmware/ibft/ethernetX +Date: November 2007 +Contact: Konrad Rzeszutek +Description: The /sys/firmware/ibft/ethernetX directory will contain + files that expose the iSCSI Boot Firmware Table NIC data. + Usually this contains the IP address, MAC, and gateway of the NIC. + +What: /sys/firmware/ibft/acpi_header +Date: March 2016 +Contact: David Bond +Description: The /sys/firmware/ibft/acpi_header directory will contain files + that expose the SIGNATURE, OEM_ID, and OEM_TABLE_ID fields of the + acpi table header of the iBFT structure. This will allow for + identification of the creator of the table which is useful in + determining quirks associated with some adapters when used in + hardware vs software iscsi initiator mode. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-memory-page-offline b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-memory-page-offline index 8bb4060a5a..00f4e35f91 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-memory-page-offline +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-memory-page-offline @@ -1,44 +1,44 @@ -What: /sys/devices/system/memory/soft_offline_page -Date: Sep 2009 -KernelVersion: 2.6.33 -Contact: andi@firstfloor.org -Description: - Soft-offline the memory page containing the physical address - written into this file. Input is a hex number specifying the - physical address of the page. The kernel will then attempt - to soft-offline it, by moving the contents elsewhere or - dropping it if possible. The kernel will then be placed - on the bad page list and never be reused. - - The offlining is done in kernel specific granularity. - Normally it's the base page size of the kernel, but - this might change. - - The page must be still accessible, not poisoned. The - kernel will never kill anything for this, but rather - fail the offline. Return value is the size of the - number, or a error when the offlining failed. Reading - the file is not allowed. - -What: /sys/devices/system/memory/hard_offline_page -Date: Sep 2009 -KernelVersion: 2.6.33 -Contact: andi@firstfloor.org -Description: - Hard-offline the memory page containing the physical - address written into this file. Input is a hex number - specifying the physical address of the page. The - kernel will then attempt to hard-offline the page, by - trying to drop the page or killing any owner or - triggering IO errors if needed. Note this may kill - any processes owning the page. The kernel will avoid - to access this page assuming it's poisoned by the - hardware. - - The offlining is done in kernel specific granularity. - Normally it's the base page size of the kernel, but - this might change. - - Return value is the size of the number, or a error when - the offlining failed. - Reading the file is not allowed. +What: /sys/devices/system/memory/soft_offline_page +Date: Sep 2009 +KernelVersion: 2.6.33 +Contact: andi@firstfloor.org +Description: + Soft-offline the memory page containing the physical address + written into this file. Input is a hex number specifying the + physical address of the page. The kernel will then attempt + to soft-offline it, by moving the contents elsewhere or + dropping it if possible. The kernel will then be placed + on the bad page list and never be reused. + + The offlining is done in kernel specific granularity. + Normally it's the base page size of the kernel, but + this might change. + + The page must be still accessible, not poisoned. The + kernel will never kill anything for this, but rather + fail the offline. Return value is the size of the + number, or a error when the offlining failed. Reading + the file is not allowed. + +What: /sys/devices/system/memory/hard_offline_page +Date: Sep 2009 +KernelVersion: 2.6.33 +Contact: andi@firstfloor.org +Description: + Hard-offline the memory page containing the physical + address written into this file. Input is a hex number + specifying the physical address of the page. The + kernel will then attempt to hard-offline the page, by + trying to drop the page or killing any owner or + triggering IO errors if needed. Note this may kill + any processes owning the page. The kernel will avoid + to access this page assuming it's poisoned by the + hardware. + + The offlining is done in kernel specific granularity. + Normally it's the base page size of the kernel, but + this might change. + + Return value is the size of the number, or a error when + the offlining failed. + Reading the file is not allowed. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-eeepc-laptop b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-eeepc-laptop index 294e345f8e..70dbe0733c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-eeepc-laptop +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-eeepc-laptop @@ -1,56 +1,56 @@ -What: /sys/devices/platform/eeepc/disp -Date: May 2008 -KernelVersion: 2.6.26 -Contact: "Corentin Chary" -Description: - This file allows display switching. - - - 1 = LCD - - 2 = CRT - - 3 = LCD+CRT - - If you run X11, you should use xrandr instead. - -What: /sys/devices/platform/eeepc/camera -Date: May 2008 -KernelVersion: 2.6.26 -Contact: "Corentin Chary" -Description: - Control the camera. 1 means on, 0 means off. - -What: /sys/devices/platform/eeepc/cardr -Date: May 2008 -KernelVersion: 2.6.26 -Contact: "Corentin Chary" -Description: - Control the card reader. 1 means on, 0 means off. - -What: /sys/devices/platform/eeepc/cpufv -Date: Jun 2009 -KernelVersion: 2.6.31 -Contact: "Corentin Chary" -Description: - Change CPU clock configuration. - On the Eee PC 1000H there are three available clock configuration: - - * 0 -> Super Performance Mode - * 1 -> High Performance Mode - * 2 -> Power Saving Mode - - On Eee PC 701 there is only 2 available clock configurations. - Available configuration are listed in available_cpufv file. - Reading this file will show the raw hexadecimal value which - is defined as follow:: - - | 8 bit | 8 bit | - | `---- Current mode - `------------ Availables modes - - For example, 0x301 means: mode 1 selected, 3 available modes. - -What: /sys/devices/platform/eeepc/available_cpufv -Date: Jun 2009 -KernelVersion: 2.6.31 -Contact: "Corentin Chary" -Description: - List available cpufv modes. +What: /sys/devices/platform/eeepc/disp +Date: May 2008 +KernelVersion: 2.6.26 +Contact: "Corentin Chary" +Description: + This file allows display switching. + + - 1 = LCD + - 2 = CRT + - 3 = LCD+CRT + + If you run X11, you should use xrandr instead. + +What: /sys/devices/platform/eeepc/camera +Date: May 2008 +KernelVersion: 2.6.26 +Contact: "Corentin Chary" +Description: + Control the camera. 1 means on, 0 means off. + +What: /sys/devices/platform/eeepc/cardr +Date: May 2008 +KernelVersion: 2.6.26 +Contact: "Corentin Chary" +Description: + Control the card reader. 1 means on, 0 means off. + +What: /sys/devices/platform/eeepc/cpufv +Date: Jun 2009 +KernelVersion: 2.6.31 +Contact: "Corentin Chary" +Description: + Change CPU clock configuration. + On the Eee PC 1000H there are three available clock configuration: + + * 0 -> Super Performance Mode + * 1 -> High Performance Mode + * 2 -> Power Saving Mode + + On Eee PC 701 there is only 2 available clock configurations. + Available configuration are listed in available_cpufv file. + Reading this file will show the raw hexadecimal value which + is defined as follow:: + + | 8 bit | 8 bit | + | `---- Current mode + `------------ Availables modes + + For example, 0x301 means: mode 1 selected, 3 available modes. + +What: /sys/devices/platform/eeepc/available_cpufv +Date: Jun 2009 +KernelVersion: 2.6.31 +Contact: "Corentin Chary" +Description: + List available cpufv modes. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-ideapad-laptop b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-ideapad-laptop index 222aae9f0a..4989ab2666 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-ideapad-laptop +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-ideapad-laptop @@ -1,61 +1,61 @@ -What: /sys/bus/platform/devices/VPC2004:*/camera_power -Date: Dec 2010 -KernelVersion: 2.6.37 -Contact: "Ike Panhc " -Description: - Control the power of camera module. 1 means on, 0 means off. - -What: /sys/bus/platform/devices/VPC2004:*/fan_mode -Date: June 2012 -KernelVersion: 3.6 -Contact: "Maxim Mikityanskiy " -Description: - Change fan mode - There are four available modes: - - * 0 -> Super Silent Mode - * 1 -> Standard Mode - * 2 -> Dust Cleaning - * 4 -> Efficient Thermal Dissipation Mode - -What: /sys/bus/platform/devices/VPC2004:*/touchpad -Date: May 2017 -KernelVersion: 4.13 -Contact: "Ritesh Raj Sarraf " -Description: - Control touchpad mode. - * 1 -> Switched On - * 0 -> Switched Off - -What: /sys/bus/platform/devices/VPC2004:*/conservation_mode -Date: Aug 2017 -KernelVersion: 4.14 -Contact: platform-driver-x86@vger.kernel.org -Description: - Controls whether the conservation mode is enabled or not. - This feature limits the maximum battery charge percentage to - around 50-60% in order to prolong the lifetime of the battery. - -What: /sys/bus/platform/devices/VPC2004:*/fn_lock -Date: May 2018 -KernelVersion: 4.18 -Contact: "Oleg Keri " -Description: - Control fn-lock mode. - - * 1 -> Switched On - * 0 -> Switched Off - - For example:: - - # echo "0" > \ - /sys/bus/pci/devices/0000:00:1f.0/PNP0C09:00/VPC2004:00/fn_lock - -What: /sys/bus/platform/devices/VPC2004:*/usb_charging -Date: Feb 2021 -KernelVersion: 5.12 -Contact: platform-driver-x86@vger.kernel.org -Description: - Controls whether the "always on USB charging" feature is - enabled or not. This feature enables charging USB devices - even if the computer is not turned on. +What: /sys/bus/platform/devices/VPC2004:*/camera_power +Date: Dec 2010 +KernelVersion: 2.6.37 +Contact: "Ike Panhc " +Description: + Control the power of camera module. 1 means on, 0 means off. + +What: /sys/bus/platform/devices/VPC2004:*/fan_mode +Date: June 2012 +KernelVersion: 3.6 +Contact: "Maxim Mikityanskiy " +Description: + Change fan mode + There are four available modes: + + * 0 -> Super Silent Mode + * 1 -> Standard Mode + * 2 -> Dust Cleaning + * 4 -> Efficient Thermal Dissipation Mode + +What: /sys/bus/platform/devices/VPC2004:*/touchpad +Date: May 2017 +KernelVersion: 4.13 +Contact: "Ritesh Raj Sarraf " +Description: + Control touchpad mode. + * 1 -> Switched On + * 0 -> Switched Off + +What: /sys/bus/platform/devices/VPC2004:*/conservation_mode +Date: Aug 2017 +KernelVersion: 4.14 +Contact: platform-driver-x86@vger.kernel.org +Description: + Controls whether the conservation mode is enabled or not. + This feature limits the maximum battery charge percentage to + around 50-60% in order to prolong the lifetime of the battery. + +What: /sys/bus/platform/devices/VPC2004:*/fn_lock +Date: May 2018 +KernelVersion: 4.18 +Contact: "Oleg Keri " +Description: + Control fn-lock mode. + + * 1 -> Switched On + * 0 -> Switched Off + + For example:: + + # echo "0" > \ + /sys/bus/pci/devices/0000:00:1f.0/PNP0C09:00/VPC2004:00/fn_lock + +What: /sys/bus/platform/devices/VPC2004:*/usb_charging +Date: Feb 2021 +KernelVersion: 5.12 +Contact: platform-driver-x86@vger.kernel.org +Description: + Controls whether the "always on USB charging" feature is + enabled or not. This feature enables charging USB devices + even if the computer is not turned on. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-ts5500 b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-ts5500 index ea80bdf49c..e685957caa 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-ts5500 +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-ts5500 @@ -1,54 +1,54 @@ -What: /sys/devices/platform/ts5500/adc -Date: January 2013 -KernelVersion: 3.7 -Contact: "Savoir-faire Linux Inc." -Description: - Indicates the presence of an A/D Converter. If it is present, - it will display "1", otherwise "0". - -What: /sys/devices/platform/ts5500/ereset -Date: January 2013 -KernelVersion: 3.7 -Contact: "Savoir-faire Linux Inc." -Description: - Indicates the presence of an external reset. If it is present, - it will display "1", otherwise "0". - -What: /sys/devices/platform/ts5500/id -Date: January 2013 -KernelVersion: 3.7 -Contact: "Savoir-faire Linux Inc." -Description: - Product ID of the TS board. TS-5500 ID is 0x60. - -What: /sys/devices/platform/ts5500/jumpers -Date: January 2013 -KernelVersion: 3.7 -Contact: "Savoir-faire Linux Inc." -Description: - Bitfield showing the jumpers' state. If a jumper is present, - the corresponding bit is set. For instance, 0x0e means jumpers - 2, 3 and 4 are set. - -What: /sys/devices/platform/ts5500/name -Date: July 2014 -KernelVersion: 3.16 -Contact: "Savoir-faire Linux Inc." -Description: - Model name of the TS board, e.g. "TS-5500". - -What: /sys/devices/platform/ts5500/rs485 -Date: January 2013 -KernelVersion: 3.7 -Contact: "Savoir-faire Linux Inc." -Description: - Indicates the presence of the RS485 option. If it is present, - it will display "1", otherwise "0". - -What: /sys/devices/platform/ts5500/sram -Date: January 2013 -KernelVersion: 3.7 -Contact: "Savoir-faire Linux Inc." -Description: - Indicates the presence of the SRAM option. If it is present, - it will display "1", otherwise "0". +What: /sys/devices/platform/ts5500/adc +Date: January 2013 +KernelVersion: 3.7 +Contact: "Savoir-faire Linux Inc." +Description: + Indicates the presence of an A/D Converter. If it is present, + it will display "1", otherwise "0". + +What: /sys/devices/platform/ts5500/ereset +Date: January 2013 +KernelVersion: 3.7 +Contact: "Savoir-faire Linux Inc." +Description: + Indicates the presence of an external reset. If it is present, + it will display "1", otherwise "0". + +What: /sys/devices/platform/ts5500/id +Date: January 2013 +KernelVersion: 3.7 +Contact: "Savoir-faire Linux Inc." +Description: + Product ID of the TS board. TS-5500 ID is 0x60. + +What: /sys/devices/platform/ts5500/jumpers +Date: January 2013 +KernelVersion: 3.7 +Contact: "Savoir-faire Linux Inc." +Description: + Bitfield showing the jumpers' state. If a jumper is present, + the corresponding bit is set. For instance, 0x0e means jumpers + 2, 3 and 4 are set. + +What: /sys/devices/platform/ts5500/name +Date: July 2014 +KernelVersion: 3.16 +Contact: "Savoir-faire Linux Inc." +Description: + Model name of the TS board, e.g. "TS-5500". + +What: /sys/devices/platform/ts5500/rs485 +Date: January 2013 +KernelVersion: 3.7 +Contact: "Savoir-faire Linux Inc." +Description: + Indicates the presence of the RS485 option. If it is present, + it will display "1", otherwise "0". + +What: /sys/devices/platform/ts5500/sram +Date: January 2013 +KernelVersion: 3.7 +Contact: "Savoir-faire Linux Inc." +Description: + Indicates the presence of the SRAM option. If it is present, + it will display "1", otherwise "0". diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform_profile b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform_profile index 82f4e9a620..baf1d125f9 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform_profile +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform_profile @@ -1,35 +1,35 @@ -What: /sys/firmware/acpi/platform_profile_choices -Date: October 2020 -Contact: Hans de Goede -Description: This file contains a space-separated list of profiles supported for this device. - - Drivers must use the following standard profile-names: - - ==================== ======================================== - low-power Low power consumption - cool Cooler operation - quiet Quieter operation - balanced Balance between low power consumption - and performance - balanced-performance Balance between performance and low - power consumption with a slight bias - towards performance - performance High performance operation - ==================== ======================================== - - Userspace may expect drivers to offer more than one of these - standard profile names. - -What: /sys/firmware/acpi/platform_profile -Date: October 2020 -Contact: Hans de Goede -Description: Reading this file gives the current selected profile for this - device. Writing this file with one of the strings from - platform_profile_choices changes the profile to the new value. - - This file can be monitored for changes by polling for POLLPRI, - POLLPRI will be signalled on any changes, independent of those - changes coming from a userspace write; or coming from another - source such as e.g. a hotkey triggered profile change handled - either directly by the embedded-controller or fully handled - inside the kernel. +What: /sys/firmware/acpi/platform_profile_choices +Date: October 2020 +Contact: Hans de Goede +Description: This file contains a space-separated list of profiles supported for this device. + + Drivers must use the following standard profile-names: + + ==================== ======================================== + low-power Low power consumption + cool Cooler operation + quiet Quieter operation + balanced Balance between low power consumption + and performance + balanced-performance Balance between performance and low + power consumption with a slight bias + towards performance + performance High performance operation + ==================== ======================================== + + Userspace may expect drivers to offer more than one of these + standard profile names. + +What: /sys/firmware/acpi/platform_profile +Date: October 2020 +Contact: Hans de Goede +Description: Reading this file gives the current selected profile for this + device. Writing this file with one of the strings from + platform_profile_choices changes the profile to the new value. + + This file can be monitored for changes by polling for POLLPRI, + POLLPRI will be signalled on any changes, independent of those + changes coming from a userspace write; or coming from another + source such as e.g. a hotkey triggered profile change handled + either directly by the embedded-controller or fully handled + inside the kernel. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/usb-charger-uevent b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/usb-charger-uevent index 23eb19a670..1db89b0cf8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/usb-charger-uevent +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/usb-charger-uevent @@ -1,54 +1,54 @@ -What: Raise a uevent when a USB charger is inserted or removed -Date: 2020-01-14 -KernelVersion: 5.6 -Contact: linux-usb@vger.kernel.org -Description: There are two USB charger states: - - - USB_CHARGER_ABSENT - - USB_CHARGER_PRESENT - - There are five USB charger types: - - ======================== ========================== - USB_CHARGER_UNKNOWN_TYPE Charger type is unknown - USB_CHARGER_SDP_TYPE Standard Downstream Port - USB_CHARGER_CDP_TYPE Charging Downstream Port - USB_CHARGER_DCP_TYPE Dedicated Charging Port - USB_CHARGER_ACA_TYPE Accessory Charging Adapter - ======================== ========================== - - https://www.usb.org/document-library/battery-charging-v12-spec-and-adopters-agreement - - Here are two examples taken using ``udevadm monitor -p`` when - USB charger is online:: - - UDEV change /devices/soc0/usbphynop1 (platform) - ACTION=change - DEVPATH=/devices/soc0/usbphynop1 - DRIVER=usb_phy_generic - MODALIAS=of:Nusbphynop1T(null)Cusb-nop-xceiv - OF_COMPATIBLE_0=usb-nop-xceiv - OF_COMPATIBLE_N=1 - OF_FULLNAME=/usbphynop1 - OF_NAME=usbphynop1 - SEQNUM=2493 - SUBSYSTEM=platform - USB_CHARGER_STATE=USB_CHARGER_PRESENT - USB_CHARGER_TYPE=USB_CHARGER_SDP_TYPE - USEC_INITIALIZED=227422826 - - USB charger is offline:: - - KERNEL change /devices/soc0/usbphynop1 (platform) - ACTION=change - DEVPATH=/devices/soc0/usbphynop1 - DRIVER=usb_phy_generic - MODALIAS=of:Nusbphynop1T(null)Cusb-nop-xceiv - OF_COMPATIBLE_0=usb-nop-xceiv - OF_COMPATIBLE_N=1 - OF_FULLNAME=/usbphynop1 - OF_NAME=usbphynop1 - SEQNUM=2494 - SUBSYSTEM=platform - USB_CHARGER_STATE=USB_CHARGER_ABSENT - USB_CHARGER_TYPE=USB_CHARGER_UNKNOWN_TYPE +What: Raise a uevent when a USB charger is inserted or removed +Date: 2020-01-14 +KernelVersion: 5.6 +Contact: linux-usb@vger.kernel.org +Description: There are two USB charger states: + + - USB_CHARGER_ABSENT + - USB_CHARGER_PRESENT + + There are five USB charger types: + + ======================== ========================== + USB_CHARGER_UNKNOWN_TYPE Charger type is unknown + USB_CHARGER_SDP_TYPE Standard Downstream Port + USB_CHARGER_CDP_TYPE Charging Downstream Port + USB_CHARGER_DCP_TYPE Dedicated Charging Port + USB_CHARGER_ACA_TYPE Accessory Charging Adapter + ======================== ========================== + + https://www.usb.org/document-library/battery-charging-v12-spec-and-adopters-agreement + + Here are two examples taken using ``udevadm monitor -p`` when + USB charger is online:: + + UDEV change /devices/soc0/usbphynop1 (platform) + ACTION=change + DEVPATH=/devices/soc0/usbphynop1 + DRIVER=usb_phy_generic + MODALIAS=of:Nusbphynop1T(null)Cusb-nop-xceiv + OF_COMPATIBLE_0=usb-nop-xceiv + OF_COMPATIBLE_N=1 + OF_FULLNAME=/usbphynop1 + OF_NAME=usbphynop1 + SEQNUM=2493 + SUBSYSTEM=platform + USB_CHARGER_STATE=USB_CHARGER_PRESENT + USB_CHARGER_TYPE=USB_CHARGER_SDP_TYPE + USEC_INITIALIZED=227422826 + + USB charger is offline:: + + KERNEL change /devices/soc0/usbphynop1 (platform) + ACTION=change + DEVPATH=/devices/soc0/usbphynop1 + DRIVER=usb_phy_generic + MODALIAS=of:Nusbphynop1T(null)Cusb-nop-xceiv + OF_COMPATIBLE_0=usb-nop-xceiv + OF_COMPATIBLE_N=1 + OF_FULLNAME=/usbphynop1 + OF_NAME=usbphynop1 + SEQNUM=2494 + SUBSYSTEM=platform + USB_CHARGER_STATE=USB_CHARGER_ABSENT + USB_CHARGER_TYPE=USB_CHARGER_UNKNOWN_TYPE diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/accounting/cgroupstats.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/accounting/cgroupstats.rst index a0aaf0f537..85186e7d40 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/accounting/cgroupstats.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/accounting/cgroupstats.rst @@ -1,31 +1,31 @@ -================== -Control Groupstats -================== - -Control Groupstats is inspired by the discussion at -https://lore.kernel.org/r/461CF883.2030308@sw.ru and implements per cgroup statistics as -suggested by Andrew Morton in https://lore.kernel.org/r/20070411114927.1277d7c9.akpm@linux-foundation.org. - -Per cgroup statistics infrastructure re-uses code from the taskstats -interface. A new set of cgroup operations are registered with commands -and attributes specific to cgroups. It should be very easy to -extend per cgroup statistics, by adding members to the cgroupstats -structure. - -The current model for cgroupstats is a pull, a push model (to post -statistics on interesting events), should be very easy to add. Currently -user space requests for statistics by passing the cgroup path. -Statistics about the state of all the tasks in the cgroup is returned to -user space. - -NOTE: We currently rely on delay accounting for extracting information -about tasks blocked on I/O. If CONFIG_TASK_DELAY_ACCT is disabled, this -information will not be available. - -To extract cgroup statistics a utility very similar to getdelays.c -has been developed, the sample output of the utility is shown below:: - - ~/balbir/cgroupstats # ./getdelays -C "/sys/fs/cgroup/a" - sleeping 1, blocked 0, running 1, stopped 0, uninterruptible 0 - ~/balbir/cgroupstats # ./getdelays -C "/sys/fs/cgroup" - sleeping 155, blocked 0, running 1, stopped 0, uninterruptible 2 +================== +Control Groupstats +================== + +Control Groupstats is inspired by the discussion at +https://lore.kernel.org/r/461CF883.2030308@sw.ru and implements per cgroup statistics as +suggested by Andrew Morton in https://lore.kernel.org/r/20070411114927.1277d7c9.akpm@linux-foundation.org. + +Per cgroup statistics infrastructure re-uses code from the taskstats +interface. A new set of cgroup operations are registered with commands +and attributes specific to cgroups. It should be very easy to +extend per cgroup statistics, by adding members to the cgroupstats +structure. + +The current model for cgroupstats is a pull, a push model (to post +statistics on interesting events), should be very easy to add. Currently +user space requests for statistics by passing the cgroup path. +Statistics about the state of all the tasks in the cgroup is returned to +user space. + +NOTE: We currently rely on delay accounting for extracting information +about tasks blocked on I/O. If CONFIG_TASK_DELAY_ACCT is disabled, this +information will not be available. + +To extract cgroup statistics a utility very similar to getdelays.c +has been developed, the sample output of the utility is shown below:: + + ~/balbir/cgroupstats # ./getdelays -C "/sys/fs/cgroup/a" + sleeping 1, blocked 0, running 1, stopped 0, uninterruptible 0 + ~/balbir/cgroupstats # ./getdelays -C "/sys/fs/cgroup" + sleeping 155, blocked 0, running 1, stopped 0, uninterruptible 2 diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/LSM/LoadPin.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/LSM/LoadPin.rst index 78cba7247f..dd3ca68b5d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/LSM/LoadPin.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/LSM/LoadPin.rst @@ -1,31 +1,31 @@ -======= -LoadPin -======= - -LoadPin is a Linux Security Module that ensures all kernel-loaded files -(modules, firmware, etc) all originate from the same filesystem, with -the expectation that such a filesystem is backed by a read-only device -such as dm-verity or CDROM. This allows systems that have a verified -and/or unchangeable filesystem to enforce module and firmware loading -restrictions without needing to sign the files individually. - -The LSM is selectable at build-time with ``CONFIG_SECURITY_LOADPIN``, and -can be controlled at boot-time with the kernel command line option -"``loadpin.enforce``". By default, it is enabled, but can be disabled at -boot ("``loadpin.enforce=0``"). - -LoadPin starts pinning when it sees the first file loaded. If the -block device backing the filesystem is not read-only, a sysctl is -created to toggle pinning: ``/proc/sys/kernel/loadpin/enabled``. (Having -a mutable filesystem means pinning is mutable too, but having the -sysctl allows for easy testing on systems with a mutable filesystem.) - -It's also possible to exclude specific file types from LoadPin using kernel -command line option "``loadpin.exclude``". By default, all files are -included, but they can be excluded using kernel command line option such -as "``loadpin.exclude=kernel-module,kexec-image``". This allows to use -different mechanisms such as ``CONFIG_MODULE_SIG`` and -``CONFIG_KEXEC_VERIFY_SIG`` to verify kernel module and kernel image while -still use LoadPin to protect the integrity of other files kernel loads. The -full list of valid file types can be found in ``kernel_read_file_str`` -defined in ``include/linux/kernel_read_file.h``. +======= +LoadPin +======= + +LoadPin is a Linux Security Module that ensures all kernel-loaded files +(modules, firmware, etc) all originate from the same filesystem, with +the expectation that such a filesystem is backed by a read-only device +such as dm-verity or CDROM. This allows systems that have a verified +and/or unchangeable filesystem to enforce module and firmware loading +restrictions without needing to sign the files individually. + +The LSM is selectable at build-time with ``CONFIG_SECURITY_LOADPIN``, and +can be controlled at boot-time with the kernel command line option +"``loadpin.enforce``". By default, it is enabled, but can be disabled at +boot ("``loadpin.enforce=0``"). + +LoadPin starts pinning when it sees the first file loaded. If the +block device backing the filesystem is not read-only, a sysctl is +created to toggle pinning: ``/proc/sys/kernel/loadpin/enabled``. (Having +a mutable filesystem means pinning is mutable too, but having the +sysctl allows for easy testing on systems with a mutable filesystem.) + +It's also possible to exclude specific file types from LoadPin using kernel +command line option "``loadpin.exclude``". By default, all files are +included, but they can be excluded using kernel command line option such +as "``loadpin.exclude=kernel-module,kexec-image``". This allows to use +different mechanisms such as ``CONFIG_MODULE_SIG`` and +``CONFIG_KEXEC_VERIFY_SIG`` to verify kernel module and kernel image while +still use LoadPin to protect the integrity of other files kernel loads. The +full list of valid file types can be found in ``kernel_read_file_str`` +defined in ``include/linux/kernel_read_file.h``. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/LSM/apparmor.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/LSM/apparmor.rst index d355709869..6cf81bbd7c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/LSM/apparmor.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/LSM/apparmor.rst @@ -1,51 +1,51 @@ -======== -AppArmor -======== - -What is AppArmor? -================= - -AppArmor is MAC style security extension for the Linux kernel. It implements -a task centered policy, with task "profiles" being created and loaded -from user space. Tasks on the system that do not have a profile defined for -them run in an unconfined state which is equivalent to standard Linux DAC -permissions. - -How to enable/disable -===================== - -set ``CONFIG_SECURITY_APPARMOR=y`` - -If AppArmor should be selected as the default security module then set:: - - CONFIG_DEFAULT_SECURITY="apparmor" - CONFIG_SECURITY_APPARMOR_BOOTPARAM_VALUE=1 - -Build the kernel - -If AppArmor is not the default security module it can be enabled by passing -``security=apparmor`` on the kernel's command line. - -If AppArmor is the default security module it can be disabled by passing -``apparmor=0, security=XXXX`` (where ``XXXX`` is valid security module), on the -kernel's command line. - -For AppArmor to enforce any restrictions beyond standard Linux DAC permissions -policy must be loaded into the kernel from user space (see the Documentation -and tools links). - -Documentation -============= - -Documentation can be found on the wiki, linked below. - -Links -===== - -Mailing List - apparmor@lists.ubuntu.com - -Wiki - http://wiki.apparmor.net - -User space tools - https://gitlab.com/apparmor - -Kernel module - git://git.kernel.org/pub/scm/linux/kernel/git/jj/linux-apparmor +======== +AppArmor +======== + +What is AppArmor? +================= + +AppArmor is MAC style security extension for the Linux kernel. It implements +a task centered policy, with task "profiles" being created and loaded +from user space. Tasks on the system that do not have a profile defined for +them run in an unconfined state which is equivalent to standard Linux DAC +permissions. + +How to enable/disable +===================== + +set ``CONFIG_SECURITY_APPARMOR=y`` + +If AppArmor should be selected as the default security module then set:: + + CONFIG_DEFAULT_SECURITY="apparmor" + CONFIG_SECURITY_APPARMOR_BOOTPARAM_VALUE=1 + +Build the kernel + +If AppArmor is not the default security module it can be enabled by passing +``security=apparmor`` on the kernel's command line. + +If AppArmor is the default security module it can be disabled by passing +``apparmor=0, security=XXXX`` (where ``XXXX`` is valid security module), on the +kernel's command line. + +For AppArmor to enforce any restrictions beyond standard Linux DAC permissions +policy must be loaded into the kernel from user space (see the Documentation +and tools links). + +Documentation +============= + +Documentation can be found on the wiki, linked below. + +Links +===== + +Mailing List - apparmor@lists.ubuntu.com + +Wiki - http://wiki.apparmor.net + +User space tools - https://gitlab.com/apparmor + +Kernel module - git://git.kernel.org/pub/scm/linux/kernel/git/jj/linux-apparmor diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/LSM/tomoyo.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/LSM/tomoyo.rst index 55aac58eb8..bdb2c2e2a1 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/LSM/tomoyo.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/LSM/tomoyo.rst @@ -1,52 +1,52 @@ -====== -TOMOYO -====== - -What is TOMOYO? -=============== - -TOMOYO is a name-based MAC extension (LSM module) for the Linux kernel. - -LiveCD-based tutorials are available at - -https://tomoyo.sourceforge.net/1.8/ubuntu12.04-live.html -https://tomoyo.sourceforge.net/1.8/centos6-live.html - -Though these tutorials use non-LSM version of TOMOYO, they are useful for you -to know what TOMOYO is. - -How to enable TOMOYO? -===================== - -Build the kernel with ``CONFIG_SECURITY_TOMOYO=y`` and pass ``security=tomoyo`` on -kernel's command line. - -Please see https://tomoyo.sourceforge.net/2.6/ for details. - -Where is documentation? -======================= - -User <-> Kernel interface documentation is available at -https://tomoyo.sourceforge.net/2.6/policy-specification/index.html . - -Materials we prepared for seminars and symposiums are available at -https://sourceforge.net/projects/tomoyo/files/docs/ . -Below lists are chosen from three aspects. - -What is TOMOYO? - TOMOYO Linux Overview - https://sourceforge.net/projects/tomoyo/files/docs/lca2009-takeda.pdf - TOMOYO Linux: pragmatic and manageable security for Linux - https://sourceforge.net/projects/tomoyo/files/docs/freedomhectaipei-tomoyo.pdf - TOMOYO Linux: A Practical Method to Understand and Protect Your Own Linux Box - https://sourceforge.net/projects/tomoyo/files/docs/PacSec2007-en-no-demo.pdf - -What can TOMOYO do? - Deep inside TOMOYO Linux - https://sourceforge.net/projects/tomoyo/files/docs/lca2009-kumaneko.pdf - The role of "pathname based access control" in security. - https://sourceforge.net/projects/tomoyo/files/docs/lfj2008-bof.pdf - -History of TOMOYO? - Realities of Mainlining - https://sourceforge.net/projects/tomoyo/files/docs/lfj2008.pdf +====== +TOMOYO +====== + +What is TOMOYO? +=============== + +TOMOYO is a name-based MAC extension (LSM module) for the Linux kernel. + +LiveCD-based tutorials are available at + +https://tomoyo.sourceforge.net/1.8/ubuntu12.04-live.html +https://tomoyo.sourceforge.net/1.8/centos6-live.html + +Though these tutorials use non-LSM version of TOMOYO, they are useful for you +to know what TOMOYO is. + +How to enable TOMOYO? +===================== + +Build the kernel with ``CONFIG_SECURITY_TOMOYO=y`` and pass ``security=tomoyo`` on +kernel's command line. + +Please see https://tomoyo.sourceforge.net/2.6/ for details. + +Where is documentation? +======================= + +User <-> Kernel interface documentation is available at +https://tomoyo.sourceforge.net/2.6/policy-specification/index.html . + +Materials we prepared for seminars and symposiums are available at +https://sourceforge.net/projects/tomoyo/files/docs/ . +Below lists are chosen from three aspects. + +What is TOMOYO? + TOMOYO Linux Overview + https://sourceforge.net/projects/tomoyo/files/docs/lca2009-takeda.pdf + TOMOYO Linux: pragmatic and manageable security for Linux + https://sourceforge.net/projects/tomoyo/files/docs/freedomhectaipei-tomoyo.pdf + TOMOYO Linux: A Practical Method to Understand and Protect Your Own Linux Box + https://sourceforge.net/projects/tomoyo/files/docs/PacSec2007-en-no-demo.pdf + +What can TOMOYO do? + Deep inside TOMOYO Linux + https://sourceforge.net/projects/tomoyo/files/docs/lca2009-kumaneko.pdf + The role of "pathname based access control" in security. + https://sourceforge.net/projects/tomoyo/files/docs/lfj2008-bof.pdf + +History of TOMOYO? + Realities of Mainlining + https://sourceforge.net/projects/tomoyo/files/docs/lfj2008.pdf diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/braille-console.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/braille-console.rst index c8c9bdba5e..18e79337dc 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/braille-console.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/braille-console.rst @@ -1,38 +1,38 @@ -Linux Braille Console -===================== - -To get early boot messages on a braille device (before userspace screen -readers can start), you first need to compile the support for the usual serial -console (see :ref:`Documentation/admin-guide/serial-console.rst `), and -for braille device -(in :menuselection:`Device Drivers --> Accessibility support --> Console on braille device`). - -Then you need to specify a ``console=brl``, option on the kernel command line, the -format is:: - - console=brl,serial_options... - -where ``serial_options...`` are the same as described in -:ref:`Documentation/admin-guide/serial-console.rst `. - -So for instance you can use ``console=brl,ttyS0`` if the braille device is connected to the first serial port, and ``console=brl,ttyS0,115200`` to -override the baud rate to 115200, etc. - -By default, the braille device will just show the last kernel message (console -mode). To review previous messages, press the Insert key to switch to the VT -review mode. In review mode, the arrow keys permit to browse in the VT content, -:kbd:`PAGE-UP`/:kbd:`PAGE-DOWN` keys go at the top/bottom of the screen, and -the :kbd:`HOME` key goes back -to the cursor, hence providing very basic screen reviewing facility. - -Sound feedback can be obtained by adding the ``braille_console.sound=1`` kernel -parameter. - -For simplicity, only one braille console can be enabled, other uses of -``console=brl,...`` will be discarded. Also note that it does not interfere with -the console selection mechanism described in -:ref:`Documentation/admin-guide/serial-console.rst `. - -For now, only the VisioBraille device is supported. - -Samuel Thibault +Linux Braille Console +===================== + +To get early boot messages on a braille device (before userspace screen +readers can start), you first need to compile the support for the usual serial +console (see :ref:`Documentation/admin-guide/serial-console.rst `), and +for braille device +(in :menuselection:`Device Drivers --> Accessibility support --> Console on braille device`). + +Then you need to specify a ``console=brl``, option on the kernel command line, the +format is:: + + console=brl,serial_options... + +where ``serial_options...`` are the same as described in +:ref:`Documentation/admin-guide/serial-console.rst `. + +So for instance you can use ``console=brl,ttyS0`` if the braille device is connected to the first serial port, and ``console=brl,ttyS0,115200`` to +override the baud rate to 115200, etc. + +By default, the braille device will just show the last kernel message (console +mode). To review previous messages, press the Insert key to switch to the VT +review mode. In review mode, the arrow keys permit to browse in the VT content, +:kbd:`PAGE-UP`/:kbd:`PAGE-DOWN` keys go at the top/bottom of the screen, and +the :kbd:`HOME` key goes back +to the cursor, hence providing very basic screen reviewing facility. + +Sound feedback can be obtained by adding the ``braille_console.sound=1`` kernel +parameter. + +For simplicity, only one braille console can be enabled, other uses of +``console=brl,...`` will be discarded. Also note that it does not interfere with +the console selection mechanism described in +:ref:`Documentation/admin-guide/serial-console.rst `. + +For now, only the VisioBraille device is supported. + +Samuel Thibault diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/cifs/winucase_convert.pl b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/cifs/winucase_convert.pl old mode 100644 new mode 100755 index fb1414cbfb..993186beea --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/cifs/winucase_convert.pl +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/cifs/winucase_convert.pl @@ -1,62 +1,62 @@ -#!/usr/bin/perl -w -# -# winucase_convert.pl -- convert "Windows 8 Upper Case Mapping Table.txt" to -# a two-level set of C arrays. -# -# Copyright 2013: Jeff Layton -# -# 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 3 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 . -# - -while(<>) { - next if (!/^0x(..)(..)\t0x(....)\t/); - $firstchar = hex($1); - $secondchar = hex($2); - $uppercase = hex($3); - - $top[$firstchar][$secondchar] = $uppercase; -} - -for ($i = 0; $i < 256; $i++) { - next if (!$top[$i]); - - printf("static const wchar_t t2_%2.2x[256] = {", $i); - for ($j = 0; $j < 256; $j++) { - if (($j % 8) == 0) { - print "\n\t"; - } else { - print " "; - } - printf("0x%4.4x,", $top[$i][$j] ? $top[$i][$j] : 0); - } - print "\n};\n\n"; -} - -printf("static const wchar_t *const toplevel[256] = {", $i); -for ($i = 0; $i < 256; $i++) { - if (($i % 8) == 0) { - print "\n\t"; - } elsif ($top[$i]) { - print " "; - } else { - print " "; - } - - if ($top[$i]) { - printf("t2_%2.2x,", $i); - } else { - print "NULL,"; - } -} -print "\n};\n\n"; +#!/usr/bin/perl -w +# +# winucase_convert.pl -- convert "Windows 8 Upper Case Mapping Table.txt" to +# a two-level set of C arrays. +# +# Copyright 2013: Jeff Layton +# +# 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 3 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 . +# + +while(<>) { + next if (!/^0x(..)(..)\t0x(....)\t/); + $firstchar = hex($1); + $secondchar = hex($2); + $uppercase = hex($3); + + $top[$firstchar][$secondchar] = $uppercase; +} + +for ($i = 0; $i < 256; $i++) { + next if (!$top[$i]); + + printf("static const wchar_t t2_%2.2x[256] = {", $i); + for ($j = 0; $j < 256; $j++) { + if (($j % 8) == 0) { + print "\n\t"; + } else { + print " "; + } + printf("0x%4.4x,", $top[$i][$j] ? $top[$i][$j] : 0); + } + print "\n};\n\n"; +} + +printf("static const wchar_t *const toplevel[256] = {", $i); +for ($i = 0; $i < 256; $i++) { + if (($i % 8) == 0) { + print "\n\t"; + } elsif ($top[$i]) { + print " "; + } else { + print " "; + } + + if ($top[$i]) { + printf("t2_%2.2x,", $i); + } else { + print "NULL,"; + } +} +print "\n};\n\n"; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/device-mapper/delay.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/device-mapper/delay.rst index f100d95d26..4d667228e7 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/device-mapper/delay.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/device-mapper/delay.rst @@ -1,54 +1,54 @@ -======== -dm-delay -======== - -Device-Mapper's "delay" target delays reads and/or writes -and/or flushs and optionally maps them to different devices. - -Arguments:: - - [ - [ ]] - -Table line has to either have 3, 6 or 9 arguments: - -3: apply offset and delay to read, write and flush operations on device - -6: apply offset and delay to device, also apply write_offset and write_delay - to write and flush operations on optionally different write_device with - optionally different sector offset - -9: same as 6 arguments plus define flush_offset and flush_delay explicitely - on/with optionally different flush_device/flush_offset. - -Offsets are specified in sectors. - -Delays are specified in milliseconds. - - -Example scripts -=============== - -:: - #!/bin/sh - # - # Create mapped device named "delayed" delaying read, write and flush operations for 500ms. - # - dmsetup create delayed --table "0 `blockdev --getsz $1` delay $1 0 500" - -:: - #!/bin/sh - # - # Create mapped device delaying write and flush operations for 400ms and - # splitting reads to device $1 but writes and flushs to different device $2 - # to different offsets of 2048 and 4096 sectors respectively. - # - dmsetup create delayed --table "0 `blockdev --getsz $1` delay $1 2048 0 $2 4096 400" - -:: - #!/bin/sh - # - # Create mapped device delaying reads for 50ms, writes for 100ms and flushs for 333ms - # onto the same backing device at offset 0 sectors. - # - dmsetup create delayed --table "0 `blockdev --getsz $1` delay $1 0 50 $2 0 100 $1 0 333" +======== +dm-delay +======== + +Device-Mapper's "delay" target delays reads and/or writes +and/or flushs and optionally maps them to different devices. + +Arguments:: + + [ + [ ]] + +Table line has to either have 3, 6 or 9 arguments: + +3: apply offset and delay to read, write and flush operations on device + +6: apply offset and delay to device, also apply write_offset and write_delay + to write and flush operations on optionally different write_device with + optionally different sector offset + +9: same as 6 arguments plus define flush_offset and flush_delay explicitely + on/with optionally different flush_device/flush_offset. + +Offsets are specified in sectors. + +Delays are specified in milliseconds. + + +Example scripts +=============== + +:: + #!/bin/sh + # + # Create mapped device named "delayed" delaying read, write and flush operations for 500ms. + # + dmsetup create delayed --table "0 `blockdev --getsz $1` delay $1 0 500" + +:: + #!/bin/sh + # + # Create mapped device delaying write and flush operations for 400ms and + # splitting reads to device $1 but writes and flushs to different device $2 + # to different offsets of 2048 and 4096 sectors respectively. + # + dmsetup create delayed --table "0 `blockdev --getsz $1` delay $1 2048 0 $2 4096 400" + +:: + #!/bin/sh + # + # Create mapped device delaying reads for 50ms, writes for 100ms and flushs for 333ms + # onto the same backing device at offset 0 sectors. + # + dmsetup create delayed --table "0 `blockdev --getsz $1` delay $1 0 50 $2 0 100 $1 0 333" diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/device-mapper/dm-ebs.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/device-mapper/dm-ebs.rst index 46d38628d2..c09f66db56 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/device-mapper/dm-ebs.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/device-mapper/dm-ebs.rst @@ -1,51 +1,51 @@ -====== -dm-ebs -====== - - -This target is similar to the linear target except that it emulates -a smaller logical block size on a device with a larger logical block -size. Its main purpose is to provide emulation of 512 byte sectors on -devices that do not provide this emulation (i.e. 4K native disks). - -Supported emulated logical block sizes 512, 1024, 2048 and 4096. - -Underlying block size can be set to > 4K to test buffering larger units. - - -Table parameters ----------------- - [] - -Mandatory parameters: - - : - Full pathname to the underlying block-device, - or a "major:minor" device-number. - : - Starting sector within the device; - has to be a multiple of . - : - Number of sectors defining the logical block size to be emulated; - 1, 2, 4, 8 sectors of 512 bytes supported. - -Optional parameter: - - : - Number of sectors defining the logical block size of . - 2^N supported, e.g. 8 = emulate 8 sectors of 512 bytes = 4KiB. - If not provided, the logical block size of will be used. - - -Examples: - -Emulate 1 sector = 512 bytes logical block size on /dev/sda starting at -offset 1024 sectors with underlying devices block size automatically set: - -ebs /dev/sda 1024 1 - -Emulate 2 sector = 1KiB logical block size on /dev/sda starting at -offset 128 sectors, enforce 2KiB underlying device block size. -This presumes 2KiB logical blocksize on /dev/sda or less to work: - -ebs /dev/sda 128 2 4 +====== +dm-ebs +====== + + +This target is similar to the linear target except that it emulates +a smaller logical block size on a device with a larger logical block +size. Its main purpose is to provide emulation of 512 byte sectors on +devices that do not provide this emulation (i.e. 4K native disks). + +Supported emulated logical block sizes 512, 1024, 2048 and 4096. + +Underlying block size can be set to > 4K to test buffering larger units. + + +Table parameters +---------------- + [] + +Mandatory parameters: + + : + Full pathname to the underlying block-device, + or a "major:minor" device-number. + : + Starting sector within the device; + has to be a multiple of . + : + Number of sectors defining the logical block size to be emulated; + 1, 2, 4, 8 sectors of 512 bytes supported. + +Optional parameter: + + : + Number of sectors defining the logical block size of . + 2^N supported, e.g. 8 = emulate 8 sectors of 512 bytes = 4KiB. + If not provided, the logical block size of will be used. + + +Examples: + +Emulate 1 sector = 512 bytes logical block size on /dev/sda starting at +offset 1024 sectors with underlying devices block size automatically set: + +ebs /dev/sda 1024 1 + +Emulate 2 sector = 1KiB logical block size on /dev/sda starting at +offset 128 sectors, enforce 2KiB underlying device block size. +This presumes 2KiB logical blocksize on /dev/sda or less to work: + +ebs /dev/sda 128 2 4 diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/device-mapper/linear.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/device-mapper/linear.rst index 9af0278dd2..9d17fc6e64 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/device-mapper/linear.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/device-mapper/linear.rst @@ -1,63 +1,63 @@ -========= -dm-linear -========= - -Device-Mapper's "linear" target maps a linear range of the Device-Mapper -device onto a linear range of another device. This is the basic building -block of logical volume managers. - -Parameters: - : - Full pathname to the underlying block-device, or a - "major:minor" device-number. - : - Starting sector within the device. - - -Example scripts -=============== - -:: - - #!/bin/sh - # Create an identity mapping for a device - echo "0 `blockdev --getsz $1` linear $1 0" | dmsetup create identity - -:: - - #!/bin/sh - # Join 2 devices together - size1=`blockdev --getsz $1` - size2=`blockdev --getsz $2` - echo "0 $size1 linear $1 0 - $size1 $size2 linear $2 0" | dmsetup create joined - -:: - - #!/usr/bin/perl -w - # Split a device into 4M chunks and then join them together in reverse order. - - my $name = "reverse"; - my $extent_size = 4 * 1024 * 2; - my $dev = $ARGV[0]; - my $table = ""; - my $count = 0; - - if (!defined($dev)) { - die("Please specify a device.\n"); - } - - my $dev_size = `blockdev --getsz $dev`; - my $extents = int($dev_size / $extent_size) - - (($dev_size % $extent_size) ? 1 : 0); - - while ($extents > 0) { - my $this_start = $count * $extent_size; - $extents--; - $count++; - my $this_offset = $extents * $extent_size; - - $table .= "$this_start $extent_size linear $dev $this_offset\n"; - } - - `echo \"$table\" | dmsetup create $name`; +========= +dm-linear +========= + +Device-Mapper's "linear" target maps a linear range of the Device-Mapper +device onto a linear range of another device. This is the basic building +block of logical volume managers. + +Parameters: + : + Full pathname to the underlying block-device, or a + "major:minor" device-number. + : + Starting sector within the device. + + +Example scripts +=============== + +:: + + #!/bin/sh + # Create an identity mapping for a device + echo "0 `blockdev --getsz $1` linear $1 0" | dmsetup create identity + +:: + + #!/bin/sh + # Join 2 devices together + size1=`blockdev --getsz $1` + size2=`blockdev --getsz $2` + echo "0 $size1 linear $1 0 + $size1 $size2 linear $2 0" | dmsetup create joined + +:: + + #!/usr/bin/perl -w + # Split a device into 4M chunks and then join them together in reverse order. + + my $name = "reverse"; + my $extent_size = 4 * 1024 * 2; + my $dev = $ARGV[0]; + my $table = ""; + my $count = 0; + + if (!defined($dev)) { + die("Please specify a device.\n"); + } + + my $dev_size = `blockdev --getsz $dev`; + my $extents = int($dev_size / $extent_size) - + (($dev_size % $extent_size) ? 1 : 0); + + while ($extents > 0) { + my $this_start = $count * $extent_size; + $extents--; + $count++; + my $this_offset = $extents * $extent_size; + + $table .= "$this_start $extent_size linear $dev $this_offset\n"; + } + + `echo \"$table\" | dmsetup create $name`; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/device-mapper/zero.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/device-mapper/zero.rst index 2ad01ff71b..11fb5cf459 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/device-mapper/zero.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/device-mapper/zero.rst @@ -1,37 +1,37 @@ -======= -dm-zero -======= - -Device-Mapper's "zero" target provides a block-device that always returns -zero'd data on reads and silently drops writes. This is similar behavior to -/dev/zero, but as a block-device instead of a character-device. - -Dm-zero has no target-specific parameters. - -One very interesting use of dm-zero is for creating "sparse" devices in -conjunction with dm-snapshot. A sparse device reports a device-size larger -than the amount of actual storage space available for that device. A user can -write data anywhere within the sparse device and read it back like a normal -device. Reads to previously unwritten areas will return a zero'd buffer. When -enough data has been written to fill up the actual storage space, the sparse -device is deactivated. This can be very useful for testing device and -filesystem limitations. - -To create a sparse device, start by creating a dm-zero device that's the -desired size of the sparse device. For this example, we'll assume a 10TB -sparse device:: - - TEN_TERABYTES=`expr 10 \* 1024 \* 1024 \* 1024 \* 2` # 10 TB in sectors - echo "0 $TEN_TERABYTES zero" | dmsetup create zero1 - -Then create a snapshot of the zero device, using any available block-device as -the COW device. The size of the COW device will determine the amount of real -space available to the sparse device. For this example, we'll assume /dev/sdb1 -is an available 10GB partition:: - - echo "0 $TEN_TERABYTES snapshot /dev/mapper/zero1 /dev/sdb1 p 128" | \ - dmsetup create sparse1 - -This will create a 10TB sparse device called /dev/mapper/sparse1 that has -10GB of actual storage space available. If more than 10GB of data is written -to this device, it will start returning I/O errors. +======= +dm-zero +======= + +Device-Mapper's "zero" target provides a block-device that always returns +zero'd data on reads and silently drops writes. This is similar behavior to +/dev/zero, but as a block-device instead of a character-device. + +Dm-zero has no target-specific parameters. + +One very interesting use of dm-zero is for creating "sparse" devices in +conjunction with dm-snapshot. A sparse device reports a device-size larger +than the amount of actual storage space available for that device. A user can +write data anywhere within the sparse device and read it back like a normal +device. Reads to previously unwritten areas will return a zero'd buffer. When +enough data has been written to fill up the actual storage space, the sparse +device is deactivated. This can be very useful for testing device and +filesystem limitations. + +To create a sparse device, start by creating a dm-zero device that's the +desired size of the sparse device. For this example, we'll assume a 10TB +sparse device:: + + TEN_TERABYTES=`expr 10 \* 1024 \* 1024 \* 1024 \* 2` # 10 TB in sectors + echo "0 $TEN_TERABYTES zero" | dmsetup create zero1 + +Then create a snapshot of the zero device, using any available block-device as +the COW device. The size of the COW device will determine the amount of real +space available to the sparse device. For this example, we'll assume /dev/sdb1 +is an available 10GB partition:: + + echo "0 $TEN_TERABYTES snapshot /dev/mapper/zero1 /dev/sdb1 p 128" | \ + dmsetup create sparse1 + +This will create a 10TB sparse device called /dev/mapper/sparse1 that has +10GB of actual storage space available. If more than 10GB of data is written +to this device, it will start returning I/O errors. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/cx88.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/cx88.rst index 707fb3abe8..e4badb1819 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/cx88.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/cx88.rst @@ -1,58 +1,58 @@ -.. SPDX-License-Identifier: GPL-2.0 - -The cx88 driver -=============== - -Author: Gerd Hoffmann - -This is a v4l2 device driver for the cx2388x chip. - - -Current status --------------- - -video - - Works. - - Overlay isn't supported. - -audio - - Works. The TV standard detection is made by the driver, as the - hardware has bugs to auto-detect. - - audio data dma (i.e. recording without loopback cable to the - sound card) is supported via cx88-alsa. - -vbi - - Works. - - -How to add support for new cards --------------------------------- - -The driver needs some config info for the TV cards. This stuff is in -cx88-cards.c. If the driver doesn't work well you likely need a new -entry for your card in that file. Check the kernel log (using dmesg) -to see whenever the driver knows your card or not. There is a line -like this one: - -.. code-block:: none - - cx8800[0]: subsystem: 0070:3400, board: Hauppauge WinTV \ - 34xxx models [card=1,autodetected] - -If your card is listed as "board: UNKNOWN/GENERIC" it is unknown to -the driver. What to do then? - -1) Try upgrading to the latest snapshot, maybe it has been added - meanwhile. -2) You can try to create a new entry yourself, have a look at - cx88-cards.c. If that worked, mail me your changes as unified - diff ("diff -u"). -3) Or you can mail me the config information. We need at least the - following information to add the card: - - - the PCI Subsystem ID ("0070:3400" from the line above, - "lspci -v" output is fine too). - - the tuner type used by the card. You can try to find one by - trial-and-error using the tuner= insmod option. If you - know which one the card has you can also have a look at the - list in CARDLIST.tuner +.. SPDX-License-Identifier: GPL-2.0 + +The cx88 driver +=============== + +Author: Gerd Hoffmann + +This is a v4l2 device driver for the cx2388x chip. + + +Current status +-------------- + +video + - Works. + - Overlay isn't supported. + +audio + - Works. The TV standard detection is made by the driver, as the + hardware has bugs to auto-detect. + - audio data dma (i.e. recording without loopback cable to the + sound card) is supported via cx88-alsa. + +vbi + - Works. + + +How to add support for new cards +-------------------------------- + +The driver needs some config info for the TV cards. This stuff is in +cx88-cards.c. If the driver doesn't work well you likely need a new +entry for your card in that file. Check the kernel log (using dmesg) +to see whenever the driver knows your card or not. There is a line +like this one: + +.. code-block:: none + + cx8800[0]: subsystem: 0070:3400, board: Hauppauge WinTV \ + 34xxx models [card=1,autodetected] + +If your card is listed as "board: UNKNOWN/GENERIC" it is unknown to +the driver. What to do then? + +1) Try upgrading to the latest snapshot, maybe it has been added + meanwhile. +2) You can try to create a new entry yourself, have a look at + cx88-cards.c. If that worked, mail me your changes as unified + diff ("diff -u"). +3) Or you can mail me the config information. We need at least the + following information to add the card: + + - the PCI Subsystem ID ("0070:3400" from the line above, + "lspci -v" output is fine too). + - the tuner type used by the card. You can try to find one by + trial-and-error using the tuner= insmod option. If you + know which one the card has you can also have a look at the + list in CARDLIST.tuner diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-af9035-cardlist.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-af9035-cardlist.rst index 26a5e7c12b..63e4170777 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-af9035-cardlist.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-af9035-cardlist.rst @@ -1,74 +1,74 @@ -.. SPDX-License-Identifier: GPL-2.0 - -dvb-usb-af9035 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 AVerTV Volar HD/PRO (A835) - - 07ca:a835, 07ca:b835 - * - AVerMedia HD Volar (A867) - - 07ca:1867, 07ca:a867, 07ca:0337 - * - AVerMedia TD310 DVB-T2 - - 07ca:1871 - * - AVerMedia Twinstar (A825) - - 07ca:0825 - * - Afatech AF9035 reference design - - 15a4:9035, 15a4:1000, 15a4:1001, 15a4:1002, 15a4:1003 - * - Asus U3100Mini Plus - - 0b05:1779 - * - Avermedia A835B(1835) - - 07ca:1835 - * - Avermedia A835B(2835) - - 07ca:2835 - * - Avermedia A835B(3835) - - 07ca:3835 - * - Avermedia A835B(4835) - - 07ca:4835 - * - Avermedia AverTV Volar HD 2 (TD110) - - 07ca:a110 - * - Avermedia H335 - - 07ca:0335 - * - Digital Dual TV Receiver CTVDIGDUAL_V2 - - 1b80:e410 - * - EVOLVEO XtraTV stick - - 1f4d:a115 - * - Hauppauge WinTV-MiniStick 2 - - 2040:f900 - * - ITE 9135 Generic - - 048d:9135 - * - ITE 9135(9005) Generic - - 048d:9005 - * - ITE 9135(9006) Generic - - 048d:9006 - * - ITE 9303 Generic - - 048d:9306 - * - Kworld UB499-2T T09 - - 1b80:e409 - * - Leadtek WinFast DTV Dongle Dual - - 0413:6a05 - * - Logilink VG0022A - - 1d19:0100 - * - PCTV AndroiDTV (78e) - - 2013:025a - * - PCTV microStick (79e) - - 2013:0262 - * - Sveon STV22 Dual DVB-T HDTV - - 1b80:e411 - * - TerraTec Cinergy T Stick - - 0ccd:0093 - * - TerraTec Cinergy T Stick (rev. 2) - - 0ccd:00aa - * - TerraTec Cinergy T Stick Dual RC (rev. 2) - - 0ccd:0099 - * - TerraTec Cinergy TC2 Stick - - 0ccd:10b2 - * - TerraTec T1 - - 0ccd:10ae +.. SPDX-License-Identifier: GPL-2.0 + +dvb-usb-af9035 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 AVerTV Volar HD/PRO (A835) + - 07ca:a835, 07ca:b835 + * - AVerMedia HD Volar (A867) + - 07ca:1867, 07ca:a867, 07ca:0337 + * - AVerMedia TD310 DVB-T2 + - 07ca:1871 + * - AVerMedia Twinstar (A825) + - 07ca:0825 + * - Afatech AF9035 reference design + - 15a4:9035, 15a4:1000, 15a4:1001, 15a4:1002, 15a4:1003 + * - Asus U3100Mini Plus + - 0b05:1779 + * - Avermedia A835B(1835) + - 07ca:1835 + * - Avermedia A835B(2835) + - 07ca:2835 + * - Avermedia A835B(3835) + - 07ca:3835 + * - Avermedia A835B(4835) + - 07ca:4835 + * - Avermedia AverTV Volar HD 2 (TD110) + - 07ca:a110 + * - Avermedia H335 + - 07ca:0335 + * - Digital Dual TV Receiver CTVDIGDUAL_V2 + - 1b80:e410 + * - EVOLVEO XtraTV stick + - 1f4d:a115 + * - Hauppauge WinTV-MiniStick 2 + - 2040:f900 + * - ITE 9135 Generic + - 048d:9135 + * - ITE 9135(9005) Generic + - 048d:9005 + * - ITE 9135(9006) Generic + - 048d:9006 + * - ITE 9303 Generic + - 048d:9306 + * - Kworld UB499-2T T09 + - 1b80:e409 + * - Leadtek WinFast DTV Dongle Dual + - 0413:6a05 + * - Logilink VG0022A + - 1d19:0100 + * - PCTV AndroiDTV (78e) + - 2013:025a + * - PCTV microStick (79e) + - 2013:0262 + * - Sveon STV22 Dual DVB-T HDTV + - 1b80:e411 + * - TerraTec Cinergy T Stick + - 0ccd:0093 + * - TerraTec Cinergy T Stick (rev. 2) + - 0ccd:00aa + * - TerraTec Cinergy T Stick Dual RC (rev. 2) + - 0ccd:0099 + * - TerraTec Cinergy TC2 Stick + - 0ccd:10b2 + * - TerraTec T1 + - 0ccd:10ae diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/rcar-fdp1.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/rcar-fdp1.rst index e90e588c15..88b0edcf90 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/rcar-fdp1.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/rcar-fdp1.rst @@ -1,39 +1,39 @@ -.. SPDX-License-Identifier: GPL-2.0 - -Renesas R-Car Fine Display Processor (FDP1) Driver -================================================== - -The R-Car FDP1 driver implements driver-specific controls as follows. - -``V4L2_CID_DEINTERLACING_MODE (menu)`` - The video deinterlacing mode (such as Bob, Weave, ...). The R-Car FDP1 - driver implements the following modes. - -.. flat-table:: - :header-rows: 0 - :stub-columns: 0 - :widths: 1 4 - - * - ``"Progressive" (0)`` - - The input image video stream is progressive (not interlaced). No - deinterlacing is performed. Apart from (optional) format and encoding - conversion output frames are identical to the input frames. - * - ``"Adaptive 2D/3D" (1)`` - - Motion adaptive version of 2D and 3D deinterlacing. Use 3D deinterlacing - in the presence of fast motion and 2D deinterlacing with diagonal - interpolation otherwise. - * - ``"Fixed 2D" (2)`` - - The current field is scaled vertically by averaging adjacent lines to - recover missing lines. This method is also known as blending or Line - Averaging (LAV). - * - ``"Fixed 3D" (3)`` - - The previous and next fields are averaged to recover lines missing from - the current field. This method is also known as Field Averaging (FAV). - * - ``"Previous field" (4)`` - - The current field is weaved with the previous field, i.e. the previous - field is used to fill missing lines from the current field. This method - is also known as weave deinterlacing. - * - ``"Next field" (5)`` - - The current field is weaved with the next field, i.e. the next field is - used to fill missing lines from the current field. This method is also - known as weave deinterlacing. +.. SPDX-License-Identifier: GPL-2.0 + +Renesas R-Car Fine Display Processor (FDP1) Driver +================================================== + +The R-Car FDP1 driver implements driver-specific controls as follows. + +``V4L2_CID_DEINTERLACING_MODE (menu)`` + The video deinterlacing mode (such as Bob, Weave, ...). The R-Car FDP1 + driver implements the following modes. + +.. flat-table:: + :header-rows: 0 + :stub-columns: 0 + :widths: 1 4 + + * - ``"Progressive" (0)`` + - The input image video stream is progressive (not interlaced). No + deinterlacing is performed. Apart from (optional) format and encoding + conversion output frames are identical to the input frames. + * - ``"Adaptive 2D/3D" (1)`` + - Motion adaptive version of 2D and 3D deinterlacing. Use 3D deinterlacing + in the presence of fast motion and 2D deinterlacing with diagonal + interpolation otherwise. + * - ``"Fixed 2D" (2)`` + - The current field is scaled vertically by averaging adjacent lines to + recover missing lines. This method is also known as blending or Line + Averaging (LAV). + * - ``"Fixed 3D" (3)`` + - The previous and next fields are averaged to recover lines missing from + the current field. This method is also known as Field Averaging (FAV). + * - ``"Previous field" (4)`` + - The current field is weaved with the previous field, i.e. the previous + field is used to fill missing lines from the current field. This method + is also known as weave deinterlacing. + * - ``"Next field" (5)`` + - The current field is weaved with the next field, i.e. the next field is + used to fill missing lines from the current field. This method is also + known as weave deinterlacing. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/siano-cardlist.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/siano-cardlist.rst index b07dcb8443..bb731a9538 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/siano-cardlist.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/siano-cardlist.rst @@ -1,56 +1,56 @@ -.. SPDX-License-Identifier: GPL-2.0 - -Siano cards list -================ - -.. tabularcolumns:: p{13.3cm}|p{4.2cm}| - -.. flat-table:: - :header-rows: 1 - :widths: 17 16 - :stub-columns: 0 - - * - Card name - - USB IDs - * - Hauppauge Catamount - - 2040:1700 - * - Hauppauge Okemo-A - - 2040:1800 - * - Hauppauge Okemo-B - - 2040:1801 - * - Hauppauge WinTV MiniCard - - 2040:2000, 2040:200a, 2040:2010, 2040:2011, 2040:2019 - * - Hauppauge WinTV MiniCard Rev 2 - - 2040:2009 - * - Hauppauge WinTV MiniStick - - 2040:5500, 2040:5510, 2040:5520, 2040:5530, 2040:5580, 2040:5590, 2040:b900, 2040:b910, 2040:b980, 2040:b990, 2040:c000, 2040:c010, 2040:c080, 2040:c090, 2040:c0a0, 2040:f5a0 - * - Hauppauge microStick 77e - - 2013:0257 - * - ONDA Data Card Digital Receiver - - 19D2:0078 - * - Siano Denver (ATSC-M/H) Digital Receiver - - 187f:0800 - * - Siano Denver (TDMB) Digital Receiver - - 187f:0700 - * - Siano Ming Digital Receiver - - 187f:0310 - * - Siano Nice Digital Receiver - - 187f:0202, 187f:0202 - * - Siano Nova A Digital Receiver - - 187f:0200 - * - Siano Nova B Digital Receiver - - 187f:0201 - * - Siano Pele Digital Receiver - - 187f:0500 - * - Siano Rio Digital Receiver - - 187f:0600, 3275:0080 - * - Siano Stellar Digital Receiver - - 187f:0100 - * - Siano Stellar Digital Receiver ROM - - 187f:0010 - * - Siano Vega Digital Receiver - - 187f:0300 - * - Siano Venice Digital Receiver - - 187f:0301, 187f:0301, 187f:0302 - * - ZTE Data Card Digital Receiver - - 19D2:0086 +.. SPDX-License-Identifier: GPL-2.0 + +Siano cards list +================ + +.. tabularcolumns:: p{13.3cm}|p{4.2cm}| + +.. flat-table:: + :header-rows: 1 + :widths: 17 16 + :stub-columns: 0 + + * - Card name + - USB IDs + * - Hauppauge Catamount + - 2040:1700 + * - Hauppauge Okemo-A + - 2040:1800 + * - Hauppauge Okemo-B + - 2040:1801 + * - Hauppauge WinTV MiniCard + - 2040:2000, 2040:200a, 2040:2010, 2040:2011, 2040:2019 + * - Hauppauge WinTV MiniCard Rev 2 + - 2040:2009 + * - Hauppauge WinTV MiniStick + - 2040:5500, 2040:5510, 2040:5520, 2040:5530, 2040:5580, 2040:5590, 2040:b900, 2040:b910, 2040:b980, 2040:b990, 2040:c000, 2040:c010, 2040:c080, 2040:c090, 2040:c0a0, 2040:f5a0 + * - Hauppauge microStick 77e + - 2013:0257 + * - ONDA Data Card Digital Receiver + - 19D2:0078 + * - Siano Denver (ATSC-M/H) Digital Receiver + - 187f:0800 + * - Siano Denver (TDMB) Digital Receiver + - 187f:0700 + * - Siano Ming Digital Receiver + - 187f:0310 + * - Siano Nice Digital Receiver + - 187f:0202, 187f:0202 + * - Siano Nova A Digital Receiver + - 187f:0200 + * - Siano Nova B Digital Receiver + - 187f:0201 + * - Siano Pele Digital Receiver + - 187f:0500 + * - Siano Rio Digital Receiver + - 187f:0600, 3275:0080 + * - Siano Stellar Digital Receiver + - 187f:0100 + * - Siano Stellar Digital Receiver ROM + - 187f:0010 + * - Siano Vega Digital Receiver + - 187f:0300 + * - Siano Venice Digital Receiver + - 187f:0301, 187f:0301, 187f:0302 + * - ZTE Data Card Digital Receiver + - 19D2:0086 diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/vimc.dot b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/vimc.dot index 2ae354af75..92a5bb6312 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/vimc.dot +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/vimc.dot @@ -1,26 +1,26 @@ -# SPDX-License-Identifier: GPL-2.0 - -digraph board { - rankdir=TB - n00000001 [label="{{} | Sensor A\n/dev/v4l-subdev0 | { 0}}", shape=Mrecord, style=filled, fillcolor=green] - n00000001:port0 -> n00000005:port0 [style=bold] - n00000001:port0 -> n0000000b [style=bold] - n00000001 -> n00000002 - n00000002 [label="{{} | Lens A\n/dev/v4l-subdev5 | {}}", shape=Mrecord, style=filled, fillcolor=green] - n00000003 [label="{{} | Sensor B\n/dev/v4l-subdev1 | { 0}}", shape=Mrecord, style=filled, fillcolor=green] - n00000003:port0 -> n00000008:port0 [style=bold] - n00000003:port0 -> n0000000f [style=bold] - n00000003 -> n00000004 - n00000004 [label="{{} | Lens B\n/dev/v4l-subdev6 | {}}", shape=Mrecord, style=filled, fillcolor=green] - n00000005 [label="{{ 0} | Debayer A\n/dev/v4l-subdev2 | { 1}}", shape=Mrecord, style=filled, fillcolor=green] - n00000005:port1 -> n00000015:port0 - n00000008 [label="{{ 0} | Debayer B\n/dev/v4l-subdev3 | { 1}}", shape=Mrecord, style=filled, fillcolor=green] - n00000008:port1 -> n00000015:port0 [style=dashed] - n0000000b [label="Raw Capture 0\n/dev/video0", shape=box, style=filled, fillcolor=yellow] - n0000000f [label="Raw Capture 1\n/dev/video1", shape=box, style=filled, fillcolor=yellow] - n00000013 [label="{{} | RGB/YUV Input\n/dev/v4l-subdev4 | { 0}}", shape=Mrecord, style=filled, fillcolor=green] - n00000013:port0 -> n00000015:port0 [style=dashed] - n00000015 [label="{{ 0} | Scaler\n/dev/v4l-subdev5 | { 1}}", shape=Mrecord, style=filled, fillcolor=green] - n00000015:port1 -> n00000018 [style=bold] - n00000018 [label="RGB/YUV Capture\n/dev/video2", shape=box, style=filled, fillcolor=yellow] -} +# SPDX-License-Identifier: GPL-2.0 + +digraph board { + rankdir=TB + n00000001 [label="{{} | Sensor A\n/dev/v4l-subdev0 | { 0}}", shape=Mrecord, style=filled, fillcolor=green] + n00000001:port0 -> n00000005:port0 [style=bold] + n00000001:port0 -> n0000000b [style=bold] + n00000001 -> n00000002 + n00000002 [label="{{} | Lens A\n/dev/v4l-subdev5 | {}}", shape=Mrecord, style=filled, fillcolor=green] + n00000003 [label="{{} | Sensor B\n/dev/v4l-subdev1 | { 0}}", shape=Mrecord, style=filled, fillcolor=green] + n00000003:port0 -> n00000008:port0 [style=bold] + n00000003:port0 -> n0000000f [style=bold] + n00000003 -> n00000004 + n00000004 [label="{{} | Lens B\n/dev/v4l-subdev6 | {}}", shape=Mrecord, style=filled, fillcolor=green] + n00000005 [label="{{ 0} | Debayer A\n/dev/v4l-subdev2 | { 1}}", shape=Mrecord, style=filled, fillcolor=green] + n00000005:port1 -> n00000015:port0 + n00000008 [label="{{ 0} | Debayer B\n/dev/v4l-subdev3 | { 1}}", shape=Mrecord, style=filled, fillcolor=green] + n00000008:port1 -> n00000015:port0 [style=dashed] + n0000000b [label="Raw Capture 0\n/dev/video0", shape=box, style=filled, fillcolor=yellow] + n0000000f [label="Raw Capture 1\n/dev/video1", shape=box, style=filled, fillcolor=yellow] + n00000013 [label="{{} | RGB/YUV Input\n/dev/v4l-subdev4 | { 0}}", shape=Mrecord, style=filled, fillcolor=green] + n00000013:port0 -> n00000015:port0 [style=dashed] + n00000015 [label="{{ 0} | Scaler\n/dev/v4l-subdev5 | { 1}}", shape=Mrecord, style=filled, fillcolor=green] + n00000015:port1 -> n00000018 [style=bold] + n00000018 [label="RGB/YUV Capture\n/dev/video2", shape=box, style=filled, fillcolor=yellow] +} diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/mm/soft-dirty.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/mm/soft-dirty.rst index f25fb78560..aeea936caa 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/mm/soft-dirty.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/mm/soft-dirty.rst @@ -1,45 +1,45 @@ -=============== -Soft-Dirty PTEs -=============== - -The soft-dirty is a bit on a PTE which helps to track which pages a task -writes to. In order to do this tracking one should - - 1. Clear soft-dirty bits from the task's PTEs. - - This is done by writing "4" into the ``/proc/PID/clear_refs`` file of the - task in question. - - 2. Wait some time. - - 3. Read soft-dirty bits from the PTEs. - - This is done by reading from the ``/proc/PID/pagemap``. The bit 55 of the - 64-bit qword is the soft-dirty one. If set, the respective PTE was - written to since step 1. - - -Internally, to do this tracking, the writable bit is cleared from PTEs -when the soft-dirty bit is cleared. So, after this, when the task tries to -modify a page at some virtual address the #PF occurs and the kernel sets -the soft-dirty bit on the respective PTE. - -Note, that although all the task's address space is marked as r/o after the -soft-dirty bits clear, the #PF-s that occur after that are processed fast. -This is so, since the pages are still mapped to physical memory, and thus all -the kernel does is finds this fact out and puts both writable and soft-dirty -bits on the PTE. - -While in most cases tracking memory changes by #PF-s is more than enough -there is still a scenario when we can lose soft dirty bits -- a task -unmaps a previously mapped memory region and then maps a new one at exactly -the same place. When unmap is called, the kernel internally clears PTE values -including soft dirty bits. To notify user space application about such -memory region renewal the kernel always marks new memory regions (and -expanded regions) as soft dirty. - -This feature is actively used by the checkpoint-restore project. You -can find more details about it on http://criu.org - - --- Pavel Emelyanov, Apr 9, 2013 +=============== +Soft-Dirty PTEs +=============== + +The soft-dirty is a bit on a PTE which helps to track which pages a task +writes to. In order to do this tracking one should + + 1. Clear soft-dirty bits from the task's PTEs. + + This is done by writing "4" into the ``/proc/PID/clear_refs`` file of the + task in question. + + 2. Wait some time. + + 3. Read soft-dirty bits from the PTEs. + + This is done by reading from the ``/proc/PID/pagemap``. The bit 55 of the + 64-bit qword is the soft-dirty one. If set, the respective PTE was + written to since step 1. + + +Internally, to do this tracking, the writable bit is cleared from PTEs +when the soft-dirty bit is cleared. So, after this, when the task tries to +modify a page at some virtual address the #PF occurs and the kernel sets +the soft-dirty bit on the respective PTE. + +Note, that although all the task's address space is marked as r/o after the +soft-dirty bits clear, the #PF-s that occur after that are processed fast. +This is so, since the pages are still mapped to physical memory, and thus all +the kernel does is finds this fact out and puts both writable and soft-dirty +bits on the PTE. + +While in most cases tracking memory changes by #PF-s is more than enough +there is still a scenario when we can lose soft dirty bits -- a task +unmaps a previously mapped memory region and then maps a new one at exactly +the same place. When unmap is called, the kernel internally clears PTE values +including soft dirty bits. To notify user space application about such +memory region renewal the kernel always marks new memory regions (and +expanded regions) as soft dirty. + +This feature is actively used by the checkpoint-restore project. You +can find more details about it on http://criu.org + + +-- Pavel Emelyanov, Apr 9, 2013 diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/namespaces/compatibility-list.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/namespaces/compatibility-list.rst index fb455496eb..318800b2a9 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/namespaces/compatibility-list.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/namespaces/compatibility-list.rst @@ -1,43 +1,43 @@ -============================= -Namespaces compatibility list -============================= - -This document contains the information about the problems user -may have when creating tasks living in different namespaces. - -Here's the summary. This matrix shows the known problems, that -occur when tasks share some namespace (the columns) while living -in different other namespaces (the rows): - -==== === === === === ==== === -- UTS IPC VFS PID User Net -==== === === === === ==== === -UTS X -IPC X 1 -VFS X -PID 1 1 X -User 2 2 X -Net X -==== === === === === ==== === - -1. Both the IPC and the PID namespaces provide IDs to address - object inside the kernel. E.g. semaphore with IPCID or - process group with pid. - - In both cases, tasks shouldn't try exposing this ID to some - other task living in a different namespace via a shared filesystem - or IPC shmem/message. The fact is that this ID is only valid - within the namespace it was obtained in and may refer to some - other object in another namespace. - -2. Intentionally, two equal user IDs in different user namespaces - should not be equal from the VFS point of view. In other - words, user 10 in one user namespace shouldn't have the same - access permissions to files, belonging to user 10 in another - namespace. - - The same is true for the IPC namespaces being shared - two users - from different user namespaces should not access the same IPC objects - even having equal UIDs. - - But currently this is not so. +============================= +Namespaces compatibility list +============================= + +This document contains the information about the problems user +may have when creating tasks living in different namespaces. + +Here's the summary. This matrix shows the known problems, that +occur when tasks share some namespace (the columns) while living +in different other namespaces (the rows): + +==== === === === === ==== === +- UTS IPC VFS PID User Net +==== === === === === ==== === +UTS X +IPC X 1 +VFS X +PID 1 1 X +User 2 2 X +Net X +==== === === === === ==== === + +1. Both the IPC and the PID namespaces provide IDs to address + object inside the kernel. E.g. semaphore with IPCID or + process group with pid. + + In both cases, tasks shouldn't try exposing this ID to some + other task living in a different namespace via a shared filesystem + or IPC shmem/message. The fact is that this ID is only valid + within the namespace it was obtained in and may refer to some + other object in another namespace. + +2. Intentionally, two equal user IDs in different user namespaces + should not be equal from the VFS point of view. In other + words, user 10 in one user namespace shouldn't have the same + access permissions to files, belonging to user 10 in another + namespace. + + The same is true for the IPC namespaces being shared - two users + from different user namespaces should not access the same IPC objects + even having equal UIDs. + + But currently this is not so. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/nfs/nfsd-admin-interfaces.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/nfs/nfsd-admin-interfaces.rst index b08e8c30a3..c05926f790 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/nfs/nfsd-admin-interfaces.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/nfs/nfsd-admin-interfaces.rst @@ -1,40 +1,40 @@ -================================== -Administrative interfaces for nfsd -================================== - -Note that normally these interfaces are used only by the utilities in -nfs-utils. - -nfsd is controlled mainly by pseudofiles under the "nfsd" filesystem, -which is normally mounted at /proc/fs/nfsd/. - -The server is always started by the first write of a nonzero value to -nfsd/threads. - -Before doing that, NFSD can be told which sockets to listen on by -writing to nfsd/portlist; that write may be: - - - an ascii-encoded file descriptor, which should refer to a - bound (and listening, for tcp) socket, or - - "transportname port", where transportname is currently either - "udp", "tcp", or "rdma". - -If nfsd is started without doing any of these, then it will create one -udp and one tcp listener at port 2049 (see nfsd_init_socks). - -On startup, nfsd and lockd grace periods start. nfsd is shut down by a write of -0 to nfsd/threads. All locks and state are thrown away at that point. - -Between startup and shutdown, the number of threads may be adjusted up -or down by additional writes to nfsd/threads or by writes to -nfsd/pool_threads. - -For more detail about files under nfsd/ and what they control, see -fs/nfsd/nfsctl.c; most of them have detailed comments. - -Implementation notes -==================== - -Note that the rpc server requires the caller to serialize addition and -removal of listening sockets, and startup and shutdown of the server. -For nfsd this is done using nfsd_mutex. +================================== +Administrative interfaces for nfsd +================================== + +Note that normally these interfaces are used only by the utilities in +nfs-utils. + +nfsd is controlled mainly by pseudofiles under the "nfsd" filesystem, +which is normally mounted at /proc/fs/nfsd/. + +The server is always started by the first write of a nonzero value to +nfsd/threads. + +Before doing that, NFSD can be told which sockets to listen on by +writing to nfsd/portlist; that write may be: + + - an ascii-encoded file descriptor, which should refer to a + bound (and listening, for tcp) socket, or + - "transportname port", where transportname is currently either + "udp", "tcp", or "rdma". + +If nfsd is started without doing any of these, then it will create one +udp and one tcp listener at port 2049 (see nfsd_init_socks). + +On startup, nfsd and lockd grace periods start. nfsd is shut down by a write of +0 to nfsd/threads. All locks and state are thrown away at that point. + +Between startup and shutdown, the number of threads may be adjusted up +or down by additional writes to nfsd/threads or by writes to +nfsd/pool_threads. + +For more detail about files under nfsd/ and what they control, see +fs/nfsd/nfsctl.c; most of them have detailed comments. + +Implementation notes +==================== + +Note that the rpc server requires the caller to serialize addition and +removal of listening sockets, and startup and shutdown of the server. +For nfsd this is done using nfsd_mutex. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/nfs/pnfs-block-server.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/nfs/pnfs-block-server.rst index 7864b130cd..20fe9f5117 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/nfs/pnfs-block-server.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/nfs/pnfs-block-server.rst @@ -1,42 +1,42 @@ -=================================== -pNFS block layout server user guide -=================================== - -The Linux NFS server now supports the pNFS block layout extension. In this -case the NFS server acts as Metadata Server (MDS) for pNFS, which in addition -to handling all the metadata access to the NFS export also hands out layouts -to the clients to directly access the underlying block devices that are -shared with the client. - -To use pNFS block layouts with the Linux NFS server the exported file -system needs to support the pNFS block layouts (currently just XFS), and the -file system must sit on shared storage (typically iSCSI) that is accessible -to the clients in addition to the MDS. As of now the file system needs to -sit directly on the exported volume, striping or concatenation of -volumes on the MDS and clients is not supported yet. - -On the server, pNFS block volume support is automatically if the file system -support it. On the client make sure the kernel has the CONFIG_PNFS_BLOCK -option enabled, the blkmapd daemon from nfs-utils is running, and the -file system is mounted using the NFSv4.1 protocol version (mount -o vers=4.1). - -If the nfsd server needs to fence a non-responding client it calls -/sbin/nfsd-recall-failed with the first argument set to the IP address of -the client, and the second argument set to the device node without the /dev -prefix for the file system to be fenced. Below is an example file that shows -how to translate the device into a serial number from SCSI EVPD 0x80:: - - cat > /sbin/nfsd-recall-failed << EOF - -.. code-block:: sh - - #!/bin/sh - - CLIENT="$1" - DEV="/dev/$2" - EVPD=`sg_inq --page=0x80 ${DEV} | \ - grep "Unit serial number:" | \ - awk -F ': ' '{print $2}'` - - echo "fencing client ${CLIENT} serial ${EVPD}" >> /var/log/pnfsd-fence.log - EOF +=================================== +pNFS block layout server user guide +=================================== + +The Linux NFS server now supports the pNFS block layout extension. In this +case the NFS server acts as Metadata Server (MDS) for pNFS, which in addition +to handling all the metadata access to the NFS export also hands out layouts +to the clients to directly access the underlying block devices that are +shared with the client. + +To use pNFS block layouts with the Linux NFS server the exported file +system needs to support the pNFS block layouts (currently just XFS), and the +file system must sit on shared storage (typically iSCSI) that is accessible +to the clients in addition to the MDS. As of now the file system needs to +sit directly on the exported volume, striping or concatenation of +volumes on the MDS and clients is not supported yet. + +On the server, pNFS block volume support is automatically if the file system +support it. On the client make sure the kernel has the CONFIG_PNFS_BLOCK +option enabled, the blkmapd daemon from nfs-utils is running, and the +file system is mounted using the NFSv4.1 protocol version (mount -o vers=4.1). + +If the nfsd server needs to fence a non-responding client it calls +/sbin/nfsd-recall-failed with the first argument set to the IP address of +the client, and the second argument set to the device node without the /dev +prefix for the file system to be fenced. Below is an example file that shows +how to translate the device into a serial number from SCSI EVPD 0x80:: + + cat > /sbin/nfsd-recall-failed << EOF + +.. code-block:: sh + + #!/bin/sh + + CLIENT="$1" + DEV="/dev/$2" + EVPD=`sg_inq --page=0x80 ${DEV} | \ + grep "Unit serial number:" | \ + awk -F ': ' '{print $2}'` + + echo "fencing client ${CLIENT} serial ${EVPD}" >> /var/log/pnfsd-fence.log + EOF diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/perf/qcom_l2_pmu.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/perf/qcom_l2_pmu.rst index dd02688e1a..c37c6be9b8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/perf/qcom_l2_pmu.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/perf/qcom_l2_pmu.rst @@ -1,39 +1,39 @@ -===================================================================== -Qualcomm Technologies Level-2 Cache Performance Monitoring Unit (PMU) -===================================================================== - -This driver supports the L2 cache clusters found in Qualcomm Technologies -Centriq SoCs. There are multiple physical L2 cache clusters, each with their -own PMU. Each cluster has one or more CPUs associated with it. - -There is one logical L2 PMU exposed, which aggregates the results from -the physical PMUs. - -The driver provides a description of its available events and configuration -options in sysfs, see /sys/bus/event_source/devices/l2cache_0. - -The "format" directory describes the format of the events. - -Events can be envisioned as a 2-dimensional array. Each column represents -a group of events. There are 8 groups. Only one entry from each -group can be in use at a time. If multiple events from the same group -are specified, the conflicting events cannot be counted at the same time. - -Events are specified as 0xCCG, where CC is 2 hex digits specifying -the code (array row) and G specifies the group (column) 0-7. - -In addition there is a cycle counter event specified by the value 0xFE -which is outside the above scheme. - -The driver provides a "cpumask" sysfs attribute which contains a mask -consisting of one CPU per cluster which will be used to handle all the PMU -events on that cluster. - -Examples for use with perf:: - - perf stat -e l2cache_0/config=0x001/,l2cache_0/config=0x042/ -a sleep 1 - - perf stat -e l2cache_0/config=0xfe/ -C 2 sleep 1 - -The driver does not support sampling, therefore "perf record" will -not work. Per-task perf sessions are not supported. +===================================================================== +Qualcomm Technologies Level-2 Cache Performance Monitoring Unit (PMU) +===================================================================== + +This driver supports the L2 cache clusters found in Qualcomm Technologies +Centriq SoCs. There are multiple physical L2 cache clusters, each with their +own PMU. Each cluster has one or more CPUs associated with it. + +There is one logical L2 PMU exposed, which aggregates the results from +the physical PMUs. + +The driver provides a description of its available events and configuration +options in sysfs, see /sys/bus/event_source/devices/l2cache_0. + +The "format" directory describes the format of the events. + +Events can be envisioned as a 2-dimensional array. Each column represents +a group of events. There are 8 groups. Only one entry from each +group can be in use at a time. If multiple events from the same group +are specified, the conflicting events cannot be counted at the same time. + +Events are specified as 0xCCG, where CC is 2 hex digits specifying +the code (array row) and G specifies the group (column) 0-7. + +In addition there is a cycle counter event specified by the value 0xFE +which is outside the above scheme. + +The driver provides a "cpumask" sysfs attribute which contains a mask +consisting of one CPU per cluster which will be used to handle all the PMU +events on that cluster. + +Examples for use with perf:: + + perf stat -e l2cache_0/config=0x001/,l2cache_0/config=0x042/ -a sleep 1 + + perf stat -e l2cache_0/config=0xfe/ -C 2 sleep 1 + +The driver does not support sampling, therefore "perf record" will +not work. Per-task perf sessions are not supported. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/perf/qcom_l3_pmu.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/perf/qcom_l3_pmu.rst index a08cbfcc68..a66556b7e9 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/perf/qcom_l3_pmu.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/perf/qcom_l3_pmu.rst @@ -1,26 +1,26 @@ -=========================================================================== -Qualcomm Datacenter Technologies L3 Cache Performance Monitoring Unit (PMU) -=========================================================================== - -This driver supports the L3 cache PMUs found in Qualcomm Datacenter Technologies -Centriq SoCs. The L3 cache on these SOCs is composed of multiple slices, shared -by all cores within a socket. Each slice is exposed as a separate uncore perf -PMU with device name l3cache__. User space is responsible -for aggregating across slices. - -The driver provides a description of its available events and configuration -options in sysfs, see /sys/bus/event_source/devices/l3cache*. Given that these are uncore PMUs -the driver also exposes a "cpumask" sysfs attribute which contains a mask -consisting of one CPU per socket which will be used to handle all the PMU -events on that socket. - -The hardware implements 32bit event counters and has a flat 8bit event space -exposed via the "event" format attribute. In addition to the 32bit physical -counters the driver supports virtual 64bit hardware counters by using hardware -counter chaining. This feature is exposed via the "lc" (long counter) format -flag. E.g.:: - - perf stat -e l3cache_0_0/read-miss,lc/ - -Given that these are uncore PMUs the driver does not support sampling, therefore -"perf record" will not work. Per-task perf sessions are not supported. +=========================================================================== +Qualcomm Datacenter Technologies L3 Cache Performance Monitoring Unit (PMU) +=========================================================================== + +This driver supports the L3 cache PMUs found in Qualcomm Datacenter Technologies +Centriq SoCs. The L3 cache on these SOCs is composed of multiple slices, shared +by all cores within a socket. Each slice is exposed as a separate uncore perf +PMU with device name l3cache__. User space is responsible +for aggregating across slices. + +The driver provides a description of its available events and configuration +options in sysfs, see /sys/bus/event_source/devices/l3cache*. Given that these are uncore PMUs +the driver also exposes a "cpumask" sysfs attribute which contains a mask +consisting of one CPU per socket which will be used to handle all the PMU +events on that socket. + +The hardware implements 32bit event counters and has a flat 8bit event space +exposed via the "event" format attribute. In addition to the 32bit physical +counters the driver supports virtual 64bit hardware counters by using hardware +counter chaining. This feature is exposed via the "lc" (long counter) format +flag. E.g.:: + + perf stat -e l3cache_0_0/read-miss,lc/ + +Given that these are uncore PMUs the driver does not support sampling, therefore +"perf record" will not work. Per-task perf sessions are not supported. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/perf/thunderx2-pmu.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/perf/thunderx2-pmu.rst index 4513f9ce81..9255f7bf94 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/perf/thunderx2-pmu.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/perf/thunderx2-pmu.rst @@ -1,44 +1,44 @@ -============================================================= -Cavium ThunderX2 SoC Performance Monitoring Unit (PMU UNCORE) -============================================================= - -The ThunderX2 SoC PMU consists of independent, system-wide, per-socket -PMUs such as the Level 3 Cache (L3C), DDR4 Memory Controller (DMC) and -Cavium Coherent Processor Interconnect (CCPI2). - -The DMC has 8 interleaved channels and the L3C has 16 interleaved tiles. -Events are counted for the default channel (i.e. channel 0) and prorated -to the total number of channels/tiles. - -The DMC and L3C support up to 4 counters, while the CCPI2 supports up to 8 -counters. Counters are independently programmable to different events and -can be started and stopped individually. None of the counters support an -overflow interrupt. DMC and L3C counters are 32-bit and read every 2 seconds. -The CCPI2 counters are 64-bit and assumed not to overflow in normal operation. - -PMU UNCORE (perf) driver: - -The thunderx2_pmu driver registers per-socket perf PMUs for the DMC and -L3C devices. Each PMU can be used to count up to 4 (DMC/L3C) or up to 8 -(CCPI2) events simultaneously. The PMUs provide a description of their -available events and configuration options under sysfs, see -/sys/bus/event_source/devices/uncore_; S is the socket id. - -The driver does not support sampling, therefore "perf record" will not -work. Per-task perf sessions are also not supported. - -Examples:: - - # perf stat -a -e uncore_dmc_0/cnt_cycles/ sleep 1 - - # perf stat -a -e \ - uncore_dmc_0/cnt_cycles/,\ - uncore_dmc_0/data_transfers/,\ - uncore_dmc_0/read_txns/,\ - uncore_dmc_0/write_txns/ sleep 1 - - # perf stat -a -e \ - uncore_l3c_0/read_request/,\ - uncore_l3c_0/read_hit/,\ - uncore_l3c_0/inv_request/,\ - uncore_l3c_0/inv_hit/ sleep 1 +============================================================= +Cavium ThunderX2 SoC Performance Monitoring Unit (PMU UNCORE) +============================================================= + +The ThunderX2 SoC PMU consists of independent, system-wide, per-socket +PMUs such as the Level 3 Cache (L3C), DDR4 Memory Controller (DMC) and +Cavium Coherent Processor Interconnect (CCPI2). + +The DMC has 8 interleaved channels and the L3C has 16 interleaved tiles. +Events are counted for the default channel (i.e. channel 0) and prorated +to the total number of channels/tiles. + +The DMC and L3C support up to 4 counters, while the CCPI2 supports up to 8 +counters. Counters are independently programmable to different events and +can be started and stopped individually. None of the counters support an +overflow interrupt. DMC and L3C counters are 32-bit and read every 2 seconds. +The CCPI2 counters are 64-bit and assumed not to overflow in normal operation. + +PMU UNCORE (perf) driver: + +The thunderx2_pmu driver registers per-socket perf PMUs for the DMC and +L3C devices. Each PMU can be used to count up to 4 (DMC/L3C) or up to 8 +(CCPI2) events simultaneously. The PMUs provide a description of their +available events and configuration options under sysfs, see +/sys/bus/event_source/devices/uncore_; S is the socket id. + +The driver does not support sampling, therefore "perf record" will not +work. Per-task perf sessions are also not supported. + +Examples:: + + # perf stat -a -e uncore_dmc_0/cnt_cycles/ sleep 1 + + # perf stat -a -e \ + uncore_dmc_0/cnt_cycles/,\ + uncore_dmc_0/data_transfers/,\ + uncore_dmc_0/read_txns/,\ + uncore_dmc_0/write_txns/ sleep 1 + + # perf stat -a -e \ + uncore_l3c_0/read_request/,\ + uncore_l3c_0/read_hit/,\ + uncore_l3c_0/inv_request/,\ + uncore_l3c_0/inv_hit/ sleep 1 diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/pm/intel_epb.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/pm/intel_epb.rst index e6babcaed0..005121167a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/pm/intel_epb.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/pm/intel_epb.rst @@ -1,41 +1,41 @@ -.. SPDX-License-Identifier: GPL-2.0 -.. include:: - -====================================== -Intel Performance and Energy Bias Hint -====================================== - -:Copyright: |copy| 2019 Intel Corporation - -:Author: Rafael J. Wysocki - - -.. kernel-doc:: arch/x86/kernel/cpu/intel_epb.c - :doc: overview - -Intel Performance and Energy Bias Attribute in ``sysfs`` -======================================================== - -The Intel Performance and Energy Bias Hint (EPB) value for a given (logical) CPU -can be checked or updated through a ``sysfs`` attribute (file) under -:file:`/sys/devices/system/cpu/cpu/power/`, where the CPU number ```` -is allocated at the system initialization time: - -``energy_perf_bias`` - Shows the current EPB value for the CPU in a sliding scale 0 - 15, where - a value of 0 corresponds to a hint preference for highest performance - and a value of 15 corresponds to the maximum energy savings. - - In order to update the EPB value for the CPU, this attribute can be - written to, either with a number in the 0 - 15 sliding scale above, or - with one of the strings: "performance", "balance-performance", "normal", - "balance-power", "power" that represent values reflected by their - meaning. - - This attribute is present for all online CPUs supporting the EPB - feature. - -Note that while the EPB interface to the processor is defined at the logical CPU -level, the physical register backing it may be shared by multiple CPUs (for -example, SMT siblings or cores in one package). For this reason, updating the -EPB value for one CPU may cause the EPB values for other CPUs to change. +.. SPDX-License-Identifier: GPL-2.0 +.. include:: + +====================================== +Intel Performance and Energy Bias Hint +====================================== + +:Copyright: |copy| 2019 Intel Corporation + +:Author: Rafael J. Wysocki + + +.. kernel-doc:: arch/x86/kernel/cpu/intel_epb.c + :doc: overview + +Intel Performance and Energy Bias Attribute in ``sysfs`` +======================================================== + +The Intel Performance and Energy Bias Hint (EPB) value for a given (logical) CPU +can be checked or updated through a ``sysfs`` attribute (file) under +:file:`/sys/devices/system/cpu/cpu/power/`, where the CPU number ```` +is allocated at the system initialization time: + +``energy_perf_bias`` + Shows the current EPB value for the CPU in a sliding scale 0 - 15, where + a value of 0 corresponds to a hint preference for highest performance + and a value of 15 corresponds to the maximum energy savings. + + In order to update the EPB value for the CPU, this attribute can be + written to, either with a number in the 0 - 15 sliding scale above, or + with one of the strings: "performance", "balance-performance", "normal", + "balance-power", "power" that represent values reflected by their + meaning. + + This attribute is present for all online CPUs supporting the EPB + feature. + +Note that while the EPB interface to the processor is defined at the logical CPU +level, the physical register backing it may be shared by multiple CPUs (for +example, SMT siblings or cores in one package). For this reason, updating the +EPB value for one CPU may cause the EPB values for other CPUs to change. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/ufs.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/ufs.rst index 17913f0943..55d15297f8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/ufs.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/ufs.rst @@ -1,68 +1,68 @@ -========= -Using UFS -========= - -mount -t ufs -o ufstype=type_of_ufs device dir - - -UFS Options -=========== - -ufstype=type_of_ufs - UFS is a file system widely used in different operating systems. - The problem are differences among implementations. Features of - some implementations are undocumented, so its hard to recognize - type of ufs automatically. That's why user must specify type of - ufs manually by mount option ufstype. Possible values are: - - old - old format of ufs - default value, supported as read-only - - 44bsd - used in FreeBSD, NetBSD, OpenBSD - supported as read-write - - ufs2 - used in FreeBSD 5.x - supported as read-write - - 5xbsd - synonym for ufs2 - - sun - used in SunOS (Solaris) - supported as read-write - - sunx86 - used in SunOS for Intel (Solarisx86) - supported as read-write - - hp - used in HP-UX - supported as read-only - - nextstep - used in NextStep - supported as read-only - - nextstep-cd - used for NextStep CDROMs (block_size == 2048) - supported as read-only - - openstep - used in OpenStep - supported as read-only - - -Possible Problems ------------------ - -See next section, if you have any. - - -Bug Reports ------------ - -Any ufs bug report you can send to daniel.pirkl@email.cz or -to dushistov@mail.ru (do not send partition tables bug reports). +========= +Using UFS +========= + +mount -t ufs -o ufstype=type_of_ufs device dir + + +UFS Options +=========== + +ufstype=type_of_ufs + UFS is a file system widely used in different operating systems. + The problem are differences among implementations. Features of + some implementations are undocumented, so its hard to recognize + type of ufs automatically. That's why user must specify type of + ufs manually by mount option ufstype. Possible values are: + + old + old format of ufs + default value, supported as read-only + + 44bsd + used in FreeBSD, NetBSD, OpenBSD + supported as read-write + + ufs2 + used in FreeBSD 5.x + supported as read-write + + 5xbsd + synonym for ufs2 + + sun + used in SunOS (Solaris) + supported as read-write + + sunx86 + used in SunOS for Intel (Solarisx86) + supported as read-write + + hp + used in HP-UX + supported as read-only + + nextstep + used in NextStep + supported as read-only + + nextstep-cd + used for NextStep CDROMs (block_size == 2048) + supported as read-only + + openstep + used in OpenStep + supported as read-only + + +Possible Problems +----------------- + +See next section, if you have any. + + +Bug Reports +----------- + +Any ufs bug report you can send to daniel.pirkl@email.cz or +to dushistov@mail.ru (do not send partition tables bug reports). diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/keystone/overview.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/keystone/overview.rst index 8bea3a7396..cd90298c49 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/keystone/overview.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/keystone/overview.rst @@ -1,74 +1,74 @@ -========================== -TI Keystone Linux Overview -========================== - -Introduction ------------- -Keystone range of SoCs are based on ARM Cortex-A15 MPCore Processors -and c66x DSP cores. This document describes essential information required -for users to run Linux on Keystone based EVMs from Texas Instruments. - -Following SoCs & EVMs are currently supported:- - -K2HK SoC and EVM -================= - -a.k.a Keystone 2 Hawking/Kepler SoC -TCI6636K2H & TCI6636K2K: See documentation at - - http://www.ti.com/product/tci6638k2k - http://www.ti.com/product/tci6638k2h - -EVM: - http://www.advantech.com/Support/TI-EVM/EVMK2HX_sd.aspx - -K2E SoC and EVM -=============== - -a.k.a Keystone 2 Edison SoC - -K2E - 66AK2E05: - -See documentation at - - http://www.ti.com/product/66AK2E05/technicaldocuments - -EVM: - https://www.einfochips.com/index.php/partnerships/texas-instruments/k2e-evm.html - -K2L SoC and EVM -=============== - -a.k.a Keystone 2 Lamarr SoC - -K2L - TCI6630K2L: - -See documentation at - http://www.ti.com/product/TCI6630K2L/technicaldocuments - -EVM: - https://www.einfochips.com/index.php/partnerships/texas-instruments/k2l-evm.html - -Configuration -------------- - -All of the K2 SoCs/EVMs share a common defconfig, keystone_defconfig and same -image is used to boot on individual EVMs. The platform configuration is -specified through DTS. Following are the DTS used: - - K2HK EVM: - k2hk-evm.dts - K2E EVM: - k2e-evm.dts - K2L EVM: - k2l-evm.dts - -The device tree documentation for the keystone machines are located at - - Documentation/devicetree/bindings/arm/keystone/keystone.txt - -Document Author ---------------- -Murali Karicheri - -Copyright 2015 Texas Instruments +========================== +TI Keystone Linux Overview +========================== + +Introduction +------------ +Keystone range of SoCs are based on ARM Cortex-A15 MPCore Processors +and c66x DSP cores. This document describes essential information required +for users to run Linux on Keystone based EVMs from Texas Instruments. + +Following SoCs & EVMs are currently supported:- + +K2HK SoC and EVM +================= + +a.k.a Keystone 2 Hawking/Kepler SoC +TCI6636K2H & TCI6636K2K: See documentation at + + http://www.ti.com/product/tci6638k2k + http://www.ti.com/product/tci6638k2h + +EVM: + http://www.advantech.com/Support/TI-EVM/EVMK2HX_sd.aspx + +K2E SoC and EVM +=============== + +a.k.a Keystone 2 Edison SoC + +K2E - 66AK2E05: + +See documentation at + + http://www.ti.com/product/66AK2E05/technicaldocuments + +EVM: + https://www.einfochips.com/index.php/partnerships/texas-instruments/k2e-evm.html + +K2L SoC and EVM +=============== + +a.k.a Keystone 2 Lamarr SoC + +K2L - TCI6630K2L: + +See documentation at + http://www.ti.com/product/TCI6630K2L/technicaldocuments + +EVM: + https://www.einfochips.com/index.php/partnerships/texas-instruments/k2l-evm.html + +Configuration +------------- + +All of the K2 SoCs/EVMs share a common defconfig, keystone_defconfig and same +image is used to boot on individual EVMs. The platform configuration is +specified through DTS. Following are the DTS used: + + K2HK EVM: + k2hk-evm.dts + K2E EVM: + k2e-evm.dts + K2L EVM: + k2l-evm.dts + +The device tree documentation for the keystone machines are located at + + Documentation/devicetree/bindings/arm/keystone/keystone.txt + +Document Author +--------------- +Murali Karicheri + +Copyright 2015 Texas Instruments diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/netwinder.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/netwinder.rst index 0fb5b12425..8eab66caa2 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/netwinder.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/netwinder.rst @@ -1,85 +1,85 @@ -================================ -NetWinder specific documentation -================================ - -The NetWinder is a small low-power computer, primarily designed -to run Linux. It is based around the StrongARM RISC processor, -DC21285 PCI bridge, with PC-type hardware glued around it. - -Port usage -========== - -======= ====== =============================== -Min Max Description -======= ====== =============================== -0x0000 0x000f DMA1 -0x0020 0x0021 PIC1 -0x0060 0x006f Keyboard -0x0070 0x007f RTC -0x0080 0x0087 DMA1 -0x0088 0x008f DMA2 -0x00a0 0x00a3 PIC2 -0x00c0 0x00df DMA2 -0x0180 0x0187 IRDA -0x01f0 0x01f6 ide0 -0x0201 Game port -0x0203 RWA010 configuration read -0x0220 ? SoundBlaster -0x0250 ? WaveArtist -0x0279 RWA010 configuration index -0x02f8 0x02ff Serial ttyS1 -0x0300 0x031f Ether10 -0x0338 GPIO1 -0x033a GPIO2 -0x0370 0x0371 W83977F configuration registers -0x0388 ? AdLib -0x03c0 0x03df VGA -0x03f6 ide0 -0x03f8 0x03ff Serial ttyS0 -0x0400 0x0408 DC21143 -0x0480 0x0487 DMA1 -0x0488 0x048f DMA2 -0x0a79 RWA010 configuration write -0xe800 0xe80f ide0/ide1 BM DMA -======= ====== =============================== - - -Interrupt usage -=============== - -======= ======= ======================== -IRQ type Description -======= ======= ======================== - 0 ISA 100Hz timer - 1 ISA Keyboard - 2 ISA cascade - 3 ISA Serial ttyS1 - 4 ISA Serial ttyS0 - 5 ISA PS/2 mouse - 6 ISA IRDA - 7 ISA Printer - 8 ISA RTC alarm - 9 ISA -10 ISA GP10 (Orange reset button) -11 ISA -12 ISA WaveArtist -13 ISA -14 ISA hda1 -15 ISA -======= ======= ======================== - -DMA usage -========= - -======= ======= =========== -DMA type Description -======= ======= =========== - 0 ISA IRDA - 1 ISA - 2 ISA cascade - 3 ISA WaveArtist - 4 ISA - 5 ISA - 6 ISA - 7 ISA WaveArtist -======= ======= =========== +================================ +NetWinder specific documentation +================================ + +The NetWinder is a small low-power computer, primarily designed +to run Linux. It is based around the StrongARM RISC processor, +DC21285 PCI bridge, with PC-type hardware glued around it. + +Port usage +========== + +======= ====== =============================== +Min Max Description +======= ====== =============================== +0x0000 0x000f DMA1 +0x0020 0x0021 PIC1 +0x0060 0x006f Keyboard +0x0070 0x007f RTC +0x0080 0x0087 DMA1 +0x0088 0x008f DMA2 +0x00a0 0x00a3 PIC2 +0x00c0 0x00df DMA2 +0x0180 0x0187 IRDA +0x01f0 0x01f6 ide0 +0x0201 Game port +0x0203 RWA010 configuration read +0x0220 ? SoundBlaster +0x0250 ? WaveArtist +0x0279 RWA010 configuration index +0x02f8 0x02ff Serial ttyS1 +0x0300 0x031f Ether10 +0x0338 GPIO1 +0x033a GPIO2 +0x0370 0x0371 W83977F configuration registers +0x0388 ? AdLib +0x03c0 0x03df VGA +0x03f6 ide0 +0x03f8 0x03ff Serial ttyS0 +0x0400 0x0408 DC21143 +0x0480 0x0487 DMA1 +0x0488 0x048f DMA2 +0x0a79 RWA010 configuration write +0xe800 0xe80f ide0/ide1 BM DMA +======= ====== =============================== + + +Interrupt usage +=============== + +======= ======= ======================== +IRQ type Description +======= ======= ======================== + 0 ISA 100Hz timer + 1 ISA Keyboard + 2 ISA cascade + 3 ISA Serial ttyS1 + 4 ISA Serial ttyS0 + 5 ISA PS/2 mouse + 6 ISA IRDA + 7 ISA Printer + 8 ISA RTC alarm + 9 ISA +10 ISA GP10 (Orange reset button) +11 ISA +12 ISA WaveArtist +13 ISA +14 ISA hda1 +15 ISA +======= ======= ======================== + +DMA usage +========= + +======= ======= =========== +DMA type Description +======= ======= =========== + 0 ISA IRDA + 1 ISA + 2 ISA cascade + 3 ISA WaveArtist + 4 ISA + 5 ISA + 6 ISA + 7 ISA WaveArtist +======= ======= =========== diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/nwfpe/notes.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/nwfpe/notes.rst index 0b16447476..102e55af84 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/nwfpe/notes.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/nwfpe/notes.rst @@ -1,32 +1,32 @@ -Notes -===== - -There seems to be a problem with exp(double) and our emulator. I haven't -been able to track it down yet. This does not occur with the emulator -supplied by Russell King. - -I also found one oddity in the emulator. I don't think it is serious but -will point it out. The ARM calling conventions require floating point -registers f4-f7 to be preserved over a function call. The compiler quite -often uses an stfe instruction to save f4 on the stack upon entry to a -function, and an ldfe instruction to restore it before returning. - -I was looking at some code, that calculated a double result, stored it in f4 -then made a function call. Upon return from the function call the number in -f4 had been converted to an extended value in the emulator. - -This is a side effect of the stfe instruction. The double in f4 had to be -converted to extended, then stored. If an lfm/sfm combination had been used, -then no conversion would occur. This has performance considerations. The -result from the function call and f4 were used in a multiplication. If the -emulator sees a multiply of a double and extended, it promotes the double to -extended, then does the multiply in extended precision. - -This code will cause this problem: - -double x, y, z; -z = log(x)/log(y); - -The result of log(x) (a double) will be calculated, returned in f0, then -moved to f4 to preserve it over the log(y) call. The division will be done -in extended precision, due to the stfe instruction used to save f4 in log(y). +Notes +===== + +There seems to be a problem with exp(double) and our emulator. I haven't +been able to track it down yet. This does not occur with the emulator +supplied by Russell King. + +I also found one oddity in the emulator. I don't think it is serious but +will point it out. The ARM calling conventions require floating point +registers f4-f7 to be preserved over a function call. The compiler quite +often uses an stfe instruction to save f4 on the stack upon entry to a +function, and an ldfe instruction to restore it before returning. + +I was looking at some code, that calculated a double result, stored it in f4 +then made a function call. Upon return from the function call the number in +f4 had been converted to an extended value in the emulator. + +This is a side effect of the stfe instruction. The double in f4 had to be +converted to extended, then stored. If an lfm/sfm combination had been used, +then no conversion would occur. This has performance considerations. The +result from the function call and f4 were used in a multiplication. If the +emulator sees a multiply of a double and extended, it promotes the double to +extended, then does the multiply in extended precision. + +This code will cause this problem: + +double x, y, z; +z = log(x)/log(y); + +The result of log(x) (a double) will be calculated, returned in f0, then +moved to f4 to preserve it over the log(y) call. The division will be done +in extended precision, due to the stfe instruction used to save f4 in log(y). diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/sunxi/clocks.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/sunxi/clocks.rst index 8f4ff4c0b6..dfe6d48872 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/sunxi/clocks.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/sunxi/clocks.rst @@ -1,57 +1,57 @@ -======================================================= -Frequently asked questions about the sunxi clock system -======================================================= - -This document contains useful bits of information that people tend to ask -about the sunxi clock system, as well as accompanying ASCII art when adequate. - -Q: Why is the main 24MHz oscillator gateable? Wouldn't that break the - system? - -A: The 24MHz oscillator allows gating to save power. Indeed, if gated - carelessly the system would stop functioning, but with the right - steps, one can gate it and keep the system running. Consider this - simplified suspend example: - - While the system is operational, you would see something like:: - - 24MHz 32kHz - | - PLL1 - \ - \_ CPU Mux - | - [CPU] - - When you are about to suspend, you switch the CPU Mux to the 32kHz - oscillator:: - - 24Mhz 32kHz - | | - PLL1 | - / - CPU Mux _/ - | - [CPU] - - Finally you can gate the main oscillator:: - - 32kHz - | - | - / - CPU Mux _/ - | - [CPU] - -Q: Were can I learn more about the sunxi clocks? - -A: The linux-sunxi wiki contains a page documenting the clock registers, - you can find it at - - http://linux-sunxi.org/A10/CCM - - The authoritative source for information at this time is the ccmu driver - released by Allwinner, you can find it at - - https://github.com/linux-sunxi/linux-sunxi/tree/sunxi-3.0/arch/arm/mach-sun4i/clock/ccmu +======================================================= +Frequently asked questions about the sunxi clock system +======================================================= + +This document contains useful bits of information that people tend to ask +about the sunxi clock system, as well as accompanying ASCII art when adequate. + +Q: Why is the main 24MHz oscillator gateable? Wouldn't that break the + system? + +A: The 24MHz oscillator allows gating to save power. Indeed, if gated + carelessly the system would stop functioning, but with the right + steps, one can gate it and keep the system running. Consider this + simplified suspend example: + + While the system is operational, you would see something like:: + + 24MHz 32kHz + | + PLL1 + \ + \_ CPU Mux + | + [CPU] + + When you are about to suspend, you switch the CPU Mux to the 32kHz + oscillator:: + + 24Mhz 32kHz + | | + PLL1 | + / + CPU Mux _/ + | + [CPU] + + Finally you can gate the main oscillator:: + + 32kHz + | + | + / + CPU Mux _/ + | + [CPU] + +Q: Were can I learn more about the sunxi clocks? + +A: The linux-sunxi wiki contains a page documenting the clock registers, + you can find it at + + http://linux-sunxi.org/A10/CCM + + The authoritative source for information at this time is the ccmu driver + released by Allwinner, you can find it at + + https://github.com/linux-sunxi/linux-sunxi/tree/sunxi-3.0/arch/arm/mach-sun4i/clock/ccmu diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm64/hugetlbpage.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm64/hugetlbpage.rst index 77be9cd313..a110124c11 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm64/hugetlbpage.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm64/hugetlbpage.rst @@ -1,43 +1,43 @@ -.. _hugetlbpage_index: - -==================== -HugeTLBpage on ARM64 -==================== - -Hugepage relies on making efficient use of TLBs to improve performance of -address translations. The benefit depends on both - - - - the size of hugepages - - size of entries supported by the TLBs - -The ARM64 port supports two flavours of hugepages. - -1) Block mappings at the pud/pmd level --------------------------------------- - -These are regular hugepages where a pmd or a pud page table entry points to a -block of memory. Regardless of the supported size of entries in TLB, block -mappings reduce the depth of page table walk needed to translate hugepage -addresses. - -2) Using the Contiguous bit ---------------------------- - -The architecture provides a contiguous bit in the translation table entries -(D4.5.3, ARM DDI 0487C.a) that hints to the MMU to indicate that it is one of a -contiguous set of entries that can be cached in a single TLB entry. - -The contiguous bit is used in Linux to increase the mapping size at the pmd and -pte (last) level. The number of supported contiguous entries varies by page size -and level of the page table. - - -The following hugepage sizes are supported - - - ====== ======== ==== ======== === - - CONT PTE PMD CONT PMD PUD - ====== ======== ==== ======== === - 4K: 64K 2M 32M 1G - 16K: 2M 32M 1G - 64K: 2M 512M 16G - ====== ======== ==== ======== === +.. _hugetlbpage_index: + +==================== +HugeTLBpage on ARM64 +==================== + +Hugepage relies on making efficient use of TLBs to improve performance of +address translations. The benefit depends on both - + + - the size of hugepages + - size of entries supported by the TLBs + +The ARM64 port supports two flavours of hugepages. + +1) Block mappings at the pud/pmd level +-------------------------------------- + +These are regular hugepages where a pmd or a pud page table entry points to a +block of memory. Regardless of the supported size of entries in TLB, block +mappings reduce the depth of page table walk needed to translate hugepage +addresses. + +2) Using the Contiguous bit +--------------------------- + +The architecture provides a contiguous bit in the translation table entries +(D4.5.3, ARM DDI 0487C.a) that hints to the MMU to indicate that it is one of a +contiguous set of entries that can be cached in a single TLB entry. + +The contiguous bit is used in Linux to increase the mapping size at the pmd and +pte (last) level. The number of supported contiguous entries varies by page size +and level of the page table. + + +The following hugepage sizes are supported - + + ====== ======== ==== ======== === + - CONT PTE PMD CONT PMD PUD + ====== ======== ==== ======== === + 4K: 64K 2M 32M 1G + 16K: 2M 32M 1G + 64K: 2M 512M 16G + ====== ======== ==== ======== === diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/loongarch/booting.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/loongarch/booting.rst index 4317c50473..91eccd4104 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/loongarch/booting.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/loongarch/booting.rst @@ -1,42 +1,42 @@ -.. SPDX-License-Identifier: GPL-2.0 - -======================= -Booting Linux/LoongArch -======================= - -:Author: Yanteng Si -:Date: 18 Nov 2022 - -Information passed from BootLoader to kernel -============================================ - -LoongArch supports ACPI and FDT. The information that needs to be passed -to the kernel includes the memmap, the initrd, the command line, optionally -the ACPI/FDT tables, and so on. - -The kernel is passed the following arguments on `kernel_entry` : - - - a0 = efi_boot: `efi_boot` is a flag indicating whether - this boot environment is fully UEFI-compliant. - - - a1 = cmdline: `cmdline` is a pointer to the kernel command line. - - - a2 = systemtable: `systemtable` points to the EFI system table. - All pointers involved at this stage are in physical addresses. - -Header of Linux/LoongArch kernel images -======================================= - -Linux/LoongArch kernel images are EFI images. Being PE files, they have -a 64-byte header structured like:: - - u32 MZ_MAGIC /* "MZ", MS-DOS header */ - u32 res0 = 0 /* Reserved */ - u64 kernel_entry /* Kernel entry point */ - u64 _end - _text /* Kernel image effective size */ - u64 load_offset /* Kernel image load offset from start of RAM */ - u64 res1 = 0 /* Reserved */ - u64 res2 = 0 /* Reserved */ - u64 res3 = 0 /* Reserved */ - u32 LINUX_PE_MAGIC /* Magic number */ - u32 pe_header - _head /* Offset to the PE header */ +.. SPDX-License-Identifier: GPL-2.0 + +======================= +Booting Linux/LoongArch +======================= + +:Author: Yanteng Si +:Date: 18 Nov 2022 + +Information passed from BootLoader to kernel +============================================ + +LoongArch supports ACPI and FDT. The information that needs to be passed +to the kernel includes the memmap, the initrd, the command line, optionally +the ACPI/FDT tables, and so on. + +The kernel is passed the following arguments on `kernel_entry` : + + - a0 = efi_boot: `efi_boot` is a flag indicating whether + this boot environment is fully UEFI-compliant. + + - a1 = cmdline: `cmdline` is a pointer to the kernel command line. + + - a2 = systemtable: `systemtable` points to the EFI system table. + All pointers involved at this stage are in physical addresses. + +Header of Linux/LoongArch kernel images +======================================= + +Linux/LoongArch kernel images are EFI images. Being PE files, they have +a 64-byte header structured like:: + + u32 MZ_MAGIC /* "MZ", MS-DOS header */ + u32 res0 = 0 /* Reserved */ + u64 kernel_entry /* Kernel entry point */ + u64 _end - _text /* Kernel image effective size */ + u64 load_offset /* Kernel image load offset from start of RAM */ + u64 res1 = 0 /* Reserved */ + u64 res2 = 0 /* Reserved */ + u64 res3 = 0 /* Reserved */ + u32 LINUX_PE_MAGIC /* Magic number */ + u32 pe_header - _head /* Offset to the PE header */ diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/parisc/debugging.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/parisc/debugging.rst index 8d87b4f983..de1b60402c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/parisc/debugging.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/parisc/debugging.rst @@ -1,46 +1,46 @@ -================= -PA-RISC Debugging -================= - -okay, here are some hints for debugging the lower-level parts of -linux/parisc. - - -1. Absolute addresses -===================== - -A lot of the assembly code currently runs in real mode, which means -absolute addresses are used instead of virtual addresses as in the -rest of the kernel. To translate an absolute address to a virtual -address you can lookup in System.map, add __PAGE_OFFSET (0x10000000 -currently). - - -2. HPMCs -======== - -When real-mode code tries to access non-existent memory, you'll get -an HPMC instead of a kernel oops. To debug an HPMC, try to find -the System Responder/Requestor addresses. The System Requestor -address should match (one of the) processor HPAs (high addresses in -the I/O range); the System Responder address is the address real-mode -code tried to access. - -Typical values for the System Responder address are addresses larger -than __PAGE_OFFSET (0x10000000) which mean a virtual address didn't -get translated to a physical address before real-mode code tried to -access it. - - -3. Q bit fun -============ - -Certain, very critical code has to clear the Q bit in the PSW. What -happens when the Q bit is cleared is the CPU does not update the -registers interruption handlers read to find out where the machine -was interrupted - so if you get an interruption between the instruction -that clears the Q bit and the RFI that sets it again you don't know -where exactly it happened. If you're lucky the IAOQ will point to the -instruction that cleared the Q bit, if you're not it points anywhere -at all. Usually Q bit problems will show themselves in unexplainable -system hangs or running off the end of physical memory. +================= +PA-RISC Debugging +================= + +okay, here are some hints for debugging the lower-level parts of +linux/parisc. + + +1. Absolute addresses +===================== + +A lot of the assembly code currently runs in real mode, which means +absolute addresses are used instead of virtual addresses as in the +rest of the kernel. To translate an absolute address to a virtual +address you can lookup in System.map, add __PAGE_OFFSET (0x10000000 +currently). + + +2. HPMCs +======== + +When real-mode code tries to access non-existent memory, you'll get +an HPMC instead of a kernel oops. To debug an HPMC, try to find +the System Responder/Requestor addresses. The System Requestor +address should match (one of the) processor HPAs (high addresses in +the I/O range); the System Responder address is the address real-mode +code tried to access. + +Typical values for the System Responder address are addresses larger +than __PAGE_OFFSET (0x10000000) which mean a virtual address didn't +get translated to a physical address before real-mode code tried to +access it. + + +3. Q bit fun +============ + +Certain, very critical code has to clear the Q bit in the PSW. What +happens when the Q bit is cleared is the CPU does not update the +registers interruption handlers read to find out where the machine +was interrupted - so if you get an interruption between the instruction +that clears the Q bit and the RFI that sets it again you don't know +where exactly it happened. If you're lucky the IAOQ will point to the +instruction that cleared the Q bit, if you're not it points anywhere +at all. Usually Q bit problems will show themselves in unexplainable +system hangs or running off the end of physical memory. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/powerpc/kaslr-booke32.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/powerpc/kaslr-booke32.rst index efbccfc24b..5681c1d1b6 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/powerpc/kaslr-booke32.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/powerpc/kaslr-booke32.rst @@ -1,42 +1,42 @@ -.. SPDX-License-Identifier: GPL-2.0 - -=========================== -KASLR for Freescale BookE32 -=========================== - -The word KASLR stands for Kernel Address Space Layout Randomization. - -This document tries to explain the implementation of the KASLR for -Freescale BookE32. KASLR is a security feature that deters exploit -attempts relying on knowledge of the location of kernel internals. - -Since CONFIG_RELOCATABLE has already supported, what we need to do is -map or copy kernel to a proper place and relocate. Freescale Book-E -parts expect lowmem to be mapped by fixed TLB entries(TLB1). The TLB1 -entries are not suitable to map the kernel directly in a randomized -region, so we chose to copy the kernel to a proper place and restart to -relocate. - -Entropy is derived from the banner and timer base, which will change every -build and boot. This not so much safe so additionally the bootloader may -pass entropy via the /chosen/kaslr-seed node in device tree. - -We will use the first 512M of the low memory to randomize the kernel -image. The memory will be split in 64M zones. We will use the lower 8 -bit of the entropy to decide the index of the 64M zone. Then we chose a -16K aligned offset inside the 64M zone to put the kernel in:: - - KERNELBASE - - |--> 64M <--| - | | - +---------------+ +----------------+---------------+ - | |....| |kernel| | | - +---------------+ +----------------+---------------+ - | | - |-----> offset <-----| - - kernstart_virt_addr - -To enable KASLR, set CONFIG_RANDOMIZE_BASE = y. If KASLR is enabled and you -want to disable it at runtime, add "nokaslr" to the kernel cmdline. +.. SPDX-License-Identifier: GPL-2.0 + +=========================== +KASLR for Freescale BookE32 +=========================== + +The word KASLR stands for Kernel Address Space Layout Randomization. + +This document tries to explain the implementation of the KASLR for +Freescale BookE32. KASLR is a security feature that deters exploit +attempts relying on knowledge of the location of kernel internals. + +Since CONFIG_RELOCATABLE has already supported, what we need to do is +map or copy kernel to a proper place and relocate. Freescale Book-E +parts expect lowmem to be mapped by fixed TLB entries(TLB1). The TLB1 +entries are not suitable to map the kernel directly in a randomized +region, so we chose to copy the kernel to a proper place and restart to +relocate. + +Entropy is derived from the banner and timer base, which will change every +build and boot. This not so much safe so additionally the bootloader may +pass entropy via the /chosen/kaslr-seed node in device tree. + +We will use the first 512M of the low memory to randomize the kernel +image. The memory will be split in 64M zones. We will use the lower 8 +bit of the entropy to decide the index of the 64M zone. Then we chose a +16K aligned offset inside the 64M zone to put the kernel in:: + + KERNELBASE + + |--> 64M <--| + | | + +---------------+ +----------------+---------------+ + | |....| |kernel| | | + +---------------+ +----------------+---------------+ + | | + |-----> offset <-----| + + kernstart_virt_addr + +To enable KASLR, set CONFIG_RANDOMIZE_BASE = y. If KASLR is enabled and you +want to disable it at runtime, add "nokaslr" to the kernel cmdline. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/sh/register-banks.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/sh/register-banks.rst index bf47a245cc..2bef5c8fcb 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/sh/register-banks.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/sh/register-banks.rst @@ -1,40 +1,40 @@ -.. SPDX-License-Identifier: GPL-2.0 - -========================================== -Notes on register bank usage in the kernel -========================================== - -Introduction ------------- - -The SH-3 and SH-4 CPU families traditionally include a single partial register -bank (selected by SR.RB, only r0 ... r7 are banked), whereas other families -may have more full-featured banking or simply no such capabilities at all. - -SR.RB banking -------------- - -In the case of this type of banking, banked registers are mapped directly to -r0 ... r7 if SR.RB is set to the bank we are interested in, otherwise ldc/stc -can still be used to reference the banked registers (as r0_bank ... r7_bank) -when in the context of another bank. The developer must keep the SR.RB value -in mind when writing code that utilizes these banked registers, for obvious -reasons. Userspace is also not able to poke at the bank1 values, so these can -be used rather effectively as scratch registers by the kernel. - -Presently the kernel uses several of these registers. - - - r0_bank, r1_bank (referenced as k0 and k1, used for scratch - registers when doing exception handling). - - - r2_bank (used to track the EXPEVT/INTEVT code) - - - Used by do_IRQ() and friends for doing irq mapping based off - of the interrupt exception vector jump table offset - - - r6_bank (global interrupt mask) - - - The SR.IMASK interrupt handler makes use of this to set the - interrupt priority level (used by local_irq_enable()) - - - r7_bank (current) +.. SPDX-License-Identifier: GPL-2.0 + +========================================== +Notes on register bank usage in the kernel +========================================== + +Introduction +------------ + +The SH-3 and SH-4 CPU families traditionally include a single partial register +bank (selected by SR.RB, only r0 ... r7 are banked), whereas other families +may have more full-featured banking or simply no such capabilities at all. + +SR.RB banking +------------- + +In the case of this type of banking, banked registers are mapped directly to +r0 ... r7 if SR.RB is set to the bank we are interested in, otherwise ldc/stc +can still be used to reference the banked registers (as r0_bank ... r7_bank) +when in the context of another bank. The developer must keep the SR.RB value +in mind when writing code that utilizes these banked registers, for obvious +reasons. Userspace is also not able to poke at the bank1 values, so these can +be used rather effectively as scratch registers by the kernel. + +Presently the kernel uses several of these registers. + + - r0_bank, r1_bank (referenced as k0 and k1, used for scratch + registers when doing exception handling). + + - r2_bank (used to track the EXPEVT/INTEVT code) + + - Used by do_IRQ() and friends for doing irq mapping based off + of the interrupt exception vector jump table offset + + - r6_bank (global interrupt mask) + + - The SR.IMASK interrupt handler makes use of this to set the + interrupt priority level (used by local_irq_enable()) + + - r7_bank (current) diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/x86/elf_auxvec.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/x86/elf_auxvec.rst index 8b22565f44..18e4744717 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/x86/elf_auxvec.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/x86/elf_auxvec.rst @@ -1,53 +1,53 @@ -.. SPDX-License-Identifier: GPL-2.0 - -================================== -x86-specific ELF Auxiliary Vectors -================================== - -This document describes the semantics of the x86 auxiliary vectors. - -Introduction -============ - -ELF Auxiliary vectors enable the kernel to efficiently provide -configuration-specific parameters to userspace. In this example, a program -allocates an alternate stack based on the kernel-provided size:: - - #include - #include - #include - #include - #include - #include - - #ifndef AT_MINSIGSTKSZ - #define AT_MINSIGSTKSZ 51 - #endif - - .... - stack_t ss; - - ss.ss_sp = malloc(ss.ss_size); - assert(ss.ss_sp); - - ss.ss_size = getauxval(AT_MINSIGSTKSZ) + SIGSTKSZ; - ss.ss_flags = 0; - - if (sigaltstack(&ss, NULL)) - err(1, "sigaltstack"); - - -The exposed auxiliary vectors -============================= - -AT_SYSINFO is used for locating the vsyscall entry point. It is not -exported on 64-bit mode. - -AT_SYSINFO_EHDR is the start address of the page containing the vDSO. - -AT_MINSIGSTKSZ denotes the minimum stack size required by the kernel to -deliver a signal to user-space. AT_MINSIGSTKSZ comprehends the space -consumed by the kernel to accommodate the user context for the current -hardware configuration. It does not comprehend subsequent user-space stack -consumption, which must be added by the user. (e.g. Above, user-space adds -SIGSTKSZ to AT_MINSIGSTKSZ.) +.. SPDX-License-Identifier: GPL-2.0 + +================================== +x86-specific ELF Auxiliary Vectors +================================== + +This document describes the semantics of the x86 auxiliary vectors. + +Introduction +============ + +ELF Auxiliary vectors enable the kernel to efficiently provide +configuration-specific parameters to userspace. In this example, a program +allocates an alternate stack based on the kernel-provided size:: + + #include + #include + #include + #include + #include + #include + + #ifndef AT_MINSIGSTKSZ + #define AT_MINSIGSTKSZ 51 + #endif + + .... + stack_t ss; + + ss.ss_sp = malloc(ss.ss_size); + assert(ss.ss_sp); + + ss.ss_size = getauxval(AT_MINSIGSTKSZ) + SIGSTKSZ; + ss.ss_flags = 0; + + if (sigaltstack(&ss, NULL)) + err(1, "sigaltstack"); + + +The exposed auxiliary vectors +============================= + +AT_SYSINFO is used for locating the vsyscall entry point. It is not +exported on 64-bit mode. + +AT_SYSINFO_EHDR is the start address of the page containing the vDSO. + +AT_MINSIGSTKSZ denotes the minimum stack size required by the kernel to +deliver a signal to user-space. AT_MINSIGSTKSZ comprehends the space +consumed by the kernel to accommodate the user context for the current +hardware configuration. It does not comprehend subsequent user-space stack +consumption, which must be added by the user. (e.g. Above, user-space adds +SIGSTKSZ to AT_MINSIGSTKSZ.) diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/x86/x86_64/uefi.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/x86/x86_64/uefi.rst index d93c0b1fec..fbc30c9a07 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/x86/x86_64/uefi.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/x86/x86_64/uefi.rst @@ -1,58 +1,58 @@ -.. SPDX-License-Identifier: GPL-2.0 - -===================================== -General note on [U]EFI x86_64 support -===================================== - -The nomenclature EFI and UEFI are used interchangeably in this document. - -Although the tools below are _not_ needed for building the kernel, -the needed bootloader support and associated tools for x86_64 platforms -with EFI firmware and specifications are listed below. - -1. UEFI specification: http://www.uefi.org - -2. Booting Linux kernel on UEFI x86_64 platform requires bootloader - support. Elilo with x86_64 support can be used. - -3. x86_64 platform with EFI/UEFI firmware. - -Mechanics ---------- - -- Build the kernel with the following configuration:: - - CONFIG_FB_EFI=y - CONFIG_FRAMEBUFFER_CONSOLE=y - - If EFI runtime services are expected, the following configuration should - be selected:: - - CONFIG_EFI=y - CONFIG_EFIVAR_FS=y or m # optional - -- Create a VFAT partition on the disk -- Copy the following to the VFAT partition: - - elilo bootloader with x86_64 support, elilo configuration file, - kernel image built in first step and corresponding - initrd. Instructions on building elilo and its dependencies - can be found in the elilo sourceforge project. - -- Boot to EFI shell and invoke elilo choosing the kernel image built - in first step. -- If some or all EFI runtime services don't work, you can try following - kernel command line parameters to turn off some or all EFI runtime - services. - - noefi - turn off all EFI runtime services - reboot_type=k - turn off EFI reboot runtime service - -- If the EFI memory map has additional entries not in the E820 map, - you can include those entries in the kernels memory map of available - physical RAM by using the following kernel command line parameter. - - add_efi_memmap - include EFI memory map of available physical RAM +.. SPDX-License-Identifier: GPL-2.0 + +===================================== +General note on [U]EFI x86_64 support +===================================== + +The nomenclature EFI and UEFI are used interchangeably in this document. + +Although the tools below are _not_ needed for building the kernel, +the needed bootloader support and associated tools for x86_64 platforms +with EFI firmware and specifications are listed below. + +1. UEFI specification: http://www.uefi.org + +2. Booting Linux kernel on UEFI x86_64 platform requires bootloader + support. Elilo with x86_64 support can be used. + +3. x86_64 platform with EFI/UEFI firmware. + +Mechanics +--------- + +- Build the kernel with the following configuration:: + + CONFIG_FB_EFI=y + CONFIG_FRAMEBUFFER_CONSOLE=y + + If EFI runtime services are expected, the following configuration should + be selected:: + + CONFIG_EFI=y + CONFIG_EFIVAR_FS=y or m # optional + +- Create a VFAT partition on the disk +- Copy the following to the VFAT partition: + + elilo bootloader with x86_64 support, elilo configuration file, + kernel image built in first step and corresponding + initrd. Instructions on building elilo and its dependencies + can be found in the elilo sourceforge project. + +- Boot to EFI shell and invoke elilo choosing the kernel image built + in first step. +- If some or all EFI runtime services don't work, you can try following + kernel command line parameters to turn off some or all EFI runtime + services. + + noefi + turn off all EFI runtime services + reboot_type=k + turn off EFI reboot runtime service + +- If the EFI memory map has additional entries not in the E820 map, + you can include those entries in the kernels memory map of available + physical RAM by using the following kernel command line parameter. + + add_efi_memmap + include EFI memory map of available physical RAM diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/atomic_bitops.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/atomic_bitops.txt index 4ad4aaf43c..edea4656c5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/atomic_bitops.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/atomic_bitops.txt @@ -1,69 +1,69 @@ -============= -Atomic bitops -============= - -While our bitmap_{}() functions are non-atomic, we have a number of operations -operating on single bits in a bitmap that are atomic. - - -API ---- - -The single bit operations are: - -Non-RMW ops: - - test_bit() - -RMW atomic operations without return value: - - {set,clear,change}_bit() - clear_bit_unlock() - -RMW atomic operations with return value: - - test_and_{set,clear,change}_bit() - test_and_set_bit_lock() - -Barriers: - - smp_mb__{before,after}_atomic() - - -All RMW atomic operations have a '__' prefixed variant which is non-atomic. - - -SEMANTICS ---------- - -Non-atomic ops: - -In particular __clear_bit_unlock() suffers the same issue as atomic_set(), -which is why the generic version maps to clear_bit_unlock(), see atomic_t.txt. - - -RMW ops: - -The test_and_{}_bit() operations return the original value of the bit. - - -ORDERING --------- - -Like with atomic_t, the rule of thumb is: - - - non-RMW operations are unordered; - - - RMW operations that have no return value are unordered; - - - RMW operations that have a return value are fully ordered. - - - RMW operations that are conditional are fully ordered. - -Except for a successful test_and_set_bit_lock() which has ACQUIRE semantics, -clear_bit_unlock() which has RELEASE semantics and test_bit_acquire which has -ACQUIRE semantics. - -Since a platform only has a single means of achieving atomic operations -the same barriers as for atomic_t are used, see atomic_t.txt. - +============= +Atomic bitops +============= + +While our bitmap_{}() functions are non-atomic, we have a number of operations +operating on single bits in a bitmap that are atomic. + + +API +--- + +The single bit operations are: + +Non-RMW ops: + + test_bit() + +RMW atomic operations without return value: + + {set,clear,change}_bit() + clear_bit_unlock() + +RMW atomic operations with return value: + + test_and_{set,clear,change}_bit() + test_and_set_bit_lock() + +Barriers: + + smp_mb__{before,after}_atomic() + + +All RMW atomic operations have a '__' prefixed variant which is non-atomic. + + +SEMANTICS +--------- + +Non-atomic ops: + +In particular __clear_bit_unlock() suffers the same issue as atomic_set(), +which is why the generic version maps to clear_bit_unlock(), see atomic_t.txt. + + +RMW ops: + +The test_and_{}_bit() operations return the original value of the bit. + + +ORDERING +-------- + +Like with atomic_t, the rule of thumb is: + + - non-RMW operations are unordered; + + - RMW operations that have no return value are unordered; + + - RMW operations that have a return value are fully ordered. + + - RMW operations that are conditional are fully ordered. + +Except for a successful test_and_set_bit_lock() which has ACQUIRE semantics, +clear_bit_unlock() which has RELEASE semantics and test_bit_acquire which has +ACQUIRE semantics. + +Since a platform only has a single means of achieving atomic operations +the same barriers as for atomic_t are used, see atomic_t.txt. + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/block/cmdline-partition.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/block/cmdline-partition.rst index c234aee94b..530bedff54 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/block/cmdline-partition.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/block/cmdline-partition.rst @@ -1,53 +1,53 @@ -============================================== -Embedded device command line partition parsing -============================================== - -The "blkdevparts" command line option adds support for reading the -block device partition table from the kernel command line. - -It is typically used for fixed block (eMMC) embedded devices. -It has no MBR, so saves storage space. Bootloader can be easily accessed -by absolute address of data on the block device. -Users can easily change the partition. - -The format for the command line is just like mtdparts: - -blkdevparts=[;] - := :[,] - := [@](part-name) - - - block device disk name. Embedded device uses fixed block device. - Its disk name is also fixed, such as: mmcblk0, mmcblk1, mmcblk0boot0. - - - partition size, in bytes, such as: 512, 1m, 1G. - size may contain an optional suffix of (upper or lower case): - - K, M, G, T, P, E. - - "-" is used to denote all remaining space. - - - partition start address, in bytes. - offset may contain an optional suffix of (upper or lower case): - - K, M, G, T, P, E. - -(part-name) - partition name. Kernel sends uevent with "PARTNAME". Application can - create a link to block device partition with the name "PARTNAME". - User space application can access partition by partition name. - -Example: - - eMMC disk names are "mmcblk0" and "mmcblk0boot0". - - bootargs:: - - 'blkdevparts=mmcblk0:1G(data0),1G(data1),-;mmcblk0boot0:1m(boot),-(kernel)' - - dmesg:: - - mmcblk0: p1(data0) p2(data1) p3() - mmcblk0boot0: p1(boot) p2(kernel) +============================================== +Embedded device command line partition parsing +============================================== + +The "blkdevparts" command line option adds support for reading the +block device partition table from the kernel command line. + +It is typically used for fixed block (eMMC) embedded devices. +It has no MBR, so saves storage space. Bootloader can be easily accessed +by absolute address of data on the block device. +Users can easily change the partition. + +The format for the command line is just like mtdparts: + +blkdevparts=[;] + := :[,] + := [@](part-name) + + + block device disk name. Embedded device uses fixed block device. + Its disk name is also fixed, such as: mmcblk0, mmcblk1, mmcblk0boot0. + + + partition size, in bytes, such as: 512, 1m, 1G. + size may contain an optional suffix of (upper or lower case): + + K, M, G, T, P, E. + + "-" is used to denote all remaining space. + + + partition start address, in bytes. + offset may contain an optional suffix of (upper or lower case): + + K, M, G, T, P, E. + +(part-name) + partition name. Kernel sends uevent with "PARTNAME". Application can + create a link to block device partition with the name "PARTNAME". + User space application can access partition by partition name. + +Example: + + eMMC disk names are "mmcblk0" and "mmcblk0boot0". + + bootargs:: + + 'blkdevparts=mmcblk0:1G(data0),1G(data1),-;mmcblk0boot0:1m(boot),-(kernel)' + + dmesg:: + + mmcblk0: p1(data0) p2(data1) p3() + mmcblk0boot0: p1(boot) p2(kernel) diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/core-api/boot-time-mm.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/core-api/boot-time-mm.rst index a87ea3e66f..e5ec9f1a56 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/core-api/boot-time-mm.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/core-api/boot-time-mm.rst @@ -1,41 +1,41 @@ -=========================== -Boot time memory management -=========================== - -Early system initialization cannot use "normal" memory management -simply because it is not set up yet. But there is still need to -allocate memory for various data structures, for instance for the -physical page allocator. - -A specialized allocator called ``memblock`` performs the -boot time memory management. The architecture specific initialization -must set it up in :c:func:`setup_arch` and tear it down in -:c:func:`mem_init` functions. - -Once the early memory management is available it offers a variety of -functions and macros for memory allocations. The allocation request -may be directed to the first (and probably the only) node or to a -particular node in a NUMA system. There are API variants that panic -when an allocation fails and those that don't. - -Memblock also offers a variety of APIs that control its own behaviour. - -Memblock Overview -================= - -.. kernel-doc:: mm/memblock.c - :doc: memblock overview - - -Functions and structures -======================== - -Here is the description of memblock data structures, functions and -macros. Some of them are actually internal, but since they are -documented it would be silly to omit them. Besides, reading the -descriptions for the internal functions can help to understand what -really happens under the hood. - -.. kernel-doc:: include/linux/memblock.h -.. kernel-doc:: mm/memblock.c - :functions: +=========================== +Boot time memory management +=========================== + +Early system initialization cannot use "normal" memory management +simply because it is not set up yet. But there is still need to +allocate memory for various data structures, for instance for the +physical page allocator. + +A specialized allocator called ``memblock`` performs the +boot time memory management. The architecture specific initialization +must set it up in :c:func:`setup_arch` and tear it down in +:c:func:`mem_init` functions. + +Once the early memory management is available it offers a variety of +functions and macros for memory allocations. The allocation request +may be directed to the first (and probably the only) node or to a +particular node in a NUMA system. There are API variants that panic +when an allocation fails and those that don't. + +Memblock also offers a variety of APIs that control its own behaviour. + +Memblock Overview +================= + +.. kernel-doc:: mm/memblock.c + :doc: memblock overview + + +Functions and structures +======================== + +Here is the description of memblock data structures, functions and +macros. Some of them are actually internal, but since they are +documented it would be silly to omit them. Besides, reading the +descriptions for the internal functions can help to understand what +really happens under the hood. + +.. kernel-doc:: include/linux/memblock.h +.. kernel-doc:: mm/memblock.c + :functions: diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/core-api/tracepoint.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/core-api/tracepoint.rst index a178b3fa15..6b44bec0de 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/core-api/tracepoint.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/core-api/tracepoint.rst @@ -1,55 +1,55 @@ -=============================== -The Linux Kernel Tracepoint API -=============================== - -:Author: Jason Baron -:Author: William Cohen - -Introduction -============ - -Tracepoints are static probe points that are located in strategic points -throughout the kernel. 'Probes' register/unregister with tracepoints via -a callback mechanism. The 'probes' are strictly typed functions that are -passed a unique set of parameters defined by each tracepoint. - -From this simple callback mechanism, 'probes' can be used to profile, -debug, and understand kernel behavior. There are a number of tools that -provide a framework for using 'probes'. These tools include Systemtap, -ftrace, and LTTng. - -Tracepoints are defined in a number of header files via various macros. -Thus, the purpose of this document is to provide a clear accounting of -the available tracepoints. The intention is to understand not only what -tracepoints are available but also to understand where future -tracepoints might be added. - -The API presented has functions of the form: -``trace_tracepointname(function parameters)``. These are the tracepoints -callbacks that are found throughout the code. Registering and -unregistering probes with these callback sites is covered in the -``Documentation/trace/*`` directory. - -IRQ -=== - -.. kernel-doc:: include/trace/events/irq.h - :internal: - -SIGNAL -====== - -.. kernel-doc:: include/trace/events/signal.h - :internal: - -Block IO -======== - -.. kernel-doc:: include/trace/events/block.h - :internal: - -Workqueue -========= - -.. kernel-doc:: include/trace/events/workqueue.h - :internal: +=============================== +The Linux Kernel Tracepoint API +=============================== + +:Author: Jason Baron +:Author: William Cohen + +Introduction +============ + +Tracepoints are static probe points that are located in strategic points +throughout the kernel. 'Probes' register/unregister with tracepoints via +a callback mechanism. The 'probes' are strictly typed functions that are +passed a unique set of parameters defined by each tracepoint. + +From this simple callback mechanism, 'probes' can be used to profile, +debug, and understand kernel behavior. There are a number of tools that +provide a framework for using 'probes'. These tools include Systemtap, +ftrace, and LTTng. + +Tracepoints are defined in a number of header files via various macros. +Thus, the purpose of this document is to provide a clear accounting of +the available tracepoints. The intention is to understand not only what +tracepoints are available but also to understand where future +tracepoints might be added. + +The API presented has functions of the form: +``trace_tracepointname(function parameters)``. These are the tracepoints +callbacks that are found throughout the code. Registering and +unregistering probes with these callback sites is covered in the +``Documentation/trace/*`` directory. + +IRQ +=== + +.. kernel-doc:: include/trace/events/irq.h + :internal: + +SIGNAL +====== + +.. kernel-doc:: include/trace/events/signal.h + :internal: + +Block IO +======== + +.. kernel-doc:: include/trace/events/block.h + :internal: + +Workqueue +========= + +.. kernel-doc:: include/trace/events/workqueue.h + :internal: diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/crypto/api-digest.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/crypto/api-digest.rst index def93d550c..7a1e670d6c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/crypto/api-digest.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/crypto/api-digest.rst @@ -1,35 +1,35 @@ -Message Digest Algorithm Definitions ------------------------------------- - -.. kernel-doc:: include/crypto/hash.h - :doc: Message Digest Algorithm Definitions - -.. kernel-doc:: include/crypto/hash.h - :functions: hash_alg_common ahash_alg shash_alg - -Asynchronous Message Digest API -------------------------------- - -.. kernel-doc:: include/crypto/hash.h - :doc: Asynchronous Message Digest API - -.. kernel-doc:: include/crypto/hash.h - :functions: crypto_alloc_ahash crypto_free_ahash crypto_ahash_init crypto_ahash_digestsize crypto_ahash_reqtfm crypto_ahash_reqsize crypto_ahash_statesize crypto_ahash_setkey crypto_ahash_finup crypto_ahash_final crypto_ahash_digest crypto_ahash_export crypto_ahash_import - -Asynchronous Hash Request Handle --------------------------------- - -.. kernel-doc:: include/crypto/hash.h - :doc: Asynchronous Hash Request Handle - -.. kernel-doc:: include/crypto/hash.h - :functions: ahash_request_set_tfm ahash_request_alloc ahash_request_free ahash_request_set_callback ahash_request_set_crypt - -Synchronous Message Digest API ------------------------------- - -.. kernel-doc:: include/crypto/hash.h - :doc: Synchronous Message Digest API - -.. kernel-doc:: include/crypto/hash.h - :functions: crypto_alloc_shash crypto_free_shash crypto_shash_blocksize crypto_shash_digestsize crypto_shash_descsize crypto_shash_setkey crypto_shash_digest crypto_shash_export crypto_shash_import crypto_shash_init crypto_shash_update crypto_shash_final crypto_shash_finup +Message Digest Algorithm Definitions +------------------------------------ + +.. kernel-doc:: include/crypto/hash.h + :doc: Message Digest Algorithm Definitions + +.. kernel-doc:: include/crypto/hash.h + :functions: hash_alg_common ahash_alg shash_alg + +Asynchronous Message Digest API +------------------------------- + +.. kernel-doc:: include/crypto/hash.h + :doc: Asynchronous Message Digest API + +.. kernel-doc:: include/crypto/hash.h + :functions: crypto_alloc_ahash crypto_free_ahash crypto_ahash_init crypto_ahash_digestsize crypto_ahash_reqtfm crypto_ahash_reqsize crypto_ahash_statesize crypto_ahash_setkey crypto_ahash_finup crypto_ahash_final crypto_ahash_digest crypto_ahash_export crypto_ahash_import + +Asynchronous Hash Request Handle +-------------------------------- + +.. kernel-doc:: include/crypto/hash.h + :doc: Asynchronous Hash Request Handle + +.. kernel-doc:: include/crypto/hash.h + :functions: ahash_request_set_tfm ahash_request_alloc ahash_request_free ahash_request_set_callback ahash_request_set_crypt + +Synchronous Message Digest API +------------------------------ + +.. kernel-doc:: include/crypto/hash.h + :doc: Synchronous Message Digest API + +.. kernel-doc:: include/crypto/hash.h + :functions: crypto_alloc_shash crypto_free_shash crypto_shash_blocksize crypto_shash_digestsize crypto_shash_descsize crypto_shash_setkey crypto_shash_digest crypto_shash_export crypto_shash_import crypto_shash_init crypto_shash_update crypto_shash_final crypto_shash_finup diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/crypto/api-kpp.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/crypto/api-kpp.rst index 5ebd395148..7d86ab906b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/crypto/api-kpp.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/crypto/api-kpp.rst @@ -1,38 +1,38 @@ -Key-agreement Protocol Primitives (KPP) Cipher Algorithm Definitions --------------------------------------------------------------------- - -.. kernel-doc:: include/crypto/kpp.h - :functions: kpp_request crypto_kpp kpp_alg kpp_secret - -Key-agreement Protocol Primitives (KPP) Cipher API --------------------------------------------------- - -.. kernel-doc:: include/crypto/kpp.h - :doc: Generic Key-agreement Protocol Primitives API - -.. kernel-doc:: include/crypto/kpp.h - :functions: crypto_alloc_kpp crypto_free_kpp crypto_kpp_set_secret crypto_kpp_generate_public_key crypto_kpp_compute_shared_secret crypto_kpp_maxsize - -Key-agreement Protocol Primitives (KPP) Cipher Request Handle -------------------------------------------------------------- - -.. kernel-doc:: include/crypto/kpp.h - :functions: kpp_request_alloc kpp_request_free kpp_request_set_callback kpp_request_set_input kpp_request_set_output - -ECDH Helper Functions ---------------------- - -.. kernel-doc:: include/crypto/ecdh.h - :doc: ECDH Helper Functions - -.. kernel-doc:: include/crypto/ecdh.h - :functions: ecdh crypto_ecdh_key_len crypto_ecdh_encode_key crypto_ecdh_decode_key - -DH Helper Functions -------------------- - -.. kernel-doc:: include/crypto/dh.h - :doc: DH Helper Functions - -.. kernel-doc:: include/crypto/dh.h - :functions: dh crypto_dh_key_len crypto_dh_encode_key crypto_dh_decode_key +Key-agreement Protocol Primitives (KPP) Cipher Algorithm Definitions +-------------------------------------------------------------------- + +.. kernel-doc:: include/crypto/kpp.h + :functions: kpp_request crypto_kpp kpp_alg kpp_secret + +Key-agreement Protocol Primitives (KPP) Cipher API +-------------------------------------------------- + +.. kernel-doc:: include/crypto/kpp.h + :doc: Generic Key-agreement Protocol Primitives API + +.. kernel-doc:: include/crypto/kpp.h + :functions: crypto_alloc_kpp crypto_free_kpp crypto_kpp_set_secret crypto_kpp_generate_public_key crypto_kpp_compute_shared_secret crypto_kpp_maxsize + +Key-agreement Protocol Primitives (KPP) Cipher Request Handle +------------------------------------------------------------- + +.. kernel-doc:: include/crypto/kpp.h + :functions: kpp_request_alloc kpp_request_free kpp_request_set_callback kpp_request_set_input kpp_request_set_output + +ECDH Helper Functions +--------------------- + +.. kernel-doc:: include/crypto/ecdh.h + :doc: ECDH Helper Functions + +.. kernel-doc:: include/crypto/ecdh.h + :functions: ecdh crypto_ecdh_key_len crypto_ecdh_encode_key crypto_ecdh_decode_key + +DH Helper Functions +------------------- + +.. kernel-doc:: include/crypto/dh.h + :doc: DH Helper Functions + +.. kernel-doc:: include/crypto/dh.h + :functions: dh crypto_dh_key_len crypto_dh_encode_key crypto_dh_decode_key diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/crypto/api-skcipher.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/crypto/api-skcipher.rst index ea9f8683c3..04d6cc5357 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/crypto/api-skcipher.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/crypto/api-skcipher.rst @@ -1,35 +1,35 @@ -Block Cipher Algorithm Definitions ----------------------------------- - -.. kernel-doc:: include/linux/crypto.h - :doc: Block Cipher Algorithm Definitions - -.. kernel-doc:: include/linux/crypto.h - :functions: crypto_alg cipher_alg compress_alg - -Symmetric Key Cipher API ------------------------- - -.. kernel-doc:: include/crypto/skcipher.h - :doc: Symmetric Key Cipher API - -.. kernel-doc:: include/crypto/skcipher.h - :functions: crypto_alloc_skcipher crypto_free_skcipher crypto_has_skcipher crypto_skcipher_ivsize crypto_skcipher_blocksize crypto_skcipher_setkey crypto_skcipher_reqtfm crypto_skcipher_encrypt crypto_skcipher_decrypt - -Symmetric Key Cipher Request Handle ------------------------------------ - -.. kernel-doc:: include/crypto/skcipher.h - :doc: Symmetric Key Cipher Request Handle - -.. kernel-doc:: include/crypto/skcipher.h - :functions: crypto_skcipher_reqsize skcipher_request_set_tfm skcipher_request_alloc skcipher_request_free skcipher_request_set_callback skcipher_request_set_crypt - -Single Block Cipher API ------------------------ - -.. kernel-doc:: include/crypto/internal/cipher.h - :doc: Single Block Cipher API - -.. kernel-doc:: include/crypto/internal/cipher.h - :functions: crypto_alloc_cipher crypto_free_cipher crypto_has_cipher crypto_cipher_blocksize crypto_cipher_setkey crypto_cipher_encrypt_one crypto_cipher_decrypt_one +Block Cipher Algorithm Definitions +---------------------------------- + +.. kernel-doc:: include/linux/crypto.h + :doc: Block Cipher Algorithm Definitions + +.. kernel-doc:: include/linux/crypto.h + :functions: crypto_alg cipher_alg compress_alg + +Symmetric Key Cipher API +------------------------ + +.. kernel-doc:: include/crypto/skcipher.h + :doc: Symmetric Key Cipher API + +.. kernel-doc:: include/crypto/skcipher.h + :functions: crypto_alloc_skcipher crypto_free_skcipher crypto_has_skcipher crypto_skcipher_ivsize crypto_skcipher_blocksize crypto_skcipher_setkey crypto_skcipher_reqtfm crypto_skcipher_encrypt crypto_skcipher_decrypt + +Symmetric Key Cipher Request Handle +----------------------------------- + +.. kernel-doc:: include/crypto/skcipher.h + :doc: Symmetric Key Cipher Request Handle + +.. kernel-doc:: include/crypto/skcipher.h + :functions: crypto_skcipher_reqsize skcipher_request_set_tfm skcipher_request_alloc skcipher_request_free skcipher_request_set_callback skcipher_request_set_crypt + +Single Block Cipher API +----------------------- + +.. kernel-doc:: include/crypto/internal/cipher.h + :doc: Single Block Cipher API + +.. kernel-doc:: include/crypto/internal/cipher.h + :functions: crypto_alloc_cipher crypto_free_cipher crypto_has_cipher crypto_cipher_blocksize crypto_cipher_setkey crypto_cipher_encrypt_one crypto_cipher_decrypt_one diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/actions.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/actions.yaml index 1cfcc0fc90..e012f612f0 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/actions.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/actions.yaml @@ -1,53 +1,53 @@ -# SPDX-License-Identifier: GPL-2.0-or-later OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/arm/actions.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Actions Semi platforms - -maintainers: - - Andreas Färber - - Manivannan Sadhasivam - -properties: - $nodename: - const: "/" - compatible: - oneOf: - # The Actions Semi S500 is a quad-core ARM Cortex-A9 SoC. - - items: - - enum: - - allo,sparky # Allo.com Sparky - - cubietech,cubieboard6 # Cubietech CubieBoard6 - - roseapplepi,roseapplepi # RoseapplePi.org RoseapplePi - - const: actions,s500 - - items: - - enum: - - caninos,labrador-base-m # Labrador Base Board M v1 - - const: caninos,labrador-v2 # Labrador Core v2 - - const: actions,s500 - - items: - - enum: - - lemaker,guitar-bb-rev-b # LeMaker Guitar Base Board rev. B - - const: lemaker,guitar - - const: actions,s500 - - # The Actions Semi S700 is a quad-core ARM Cortex-A53 SoC. - - items: - - enum: - - caninos,labrador-base-m2 # Labrador Base Board M v2 - - const: caninos,labrador-v3 # Labrador Core v3 - - const: actions,s700 - - items: - - enum: - - cubietech,cubieboard7 # Cubietech CubieBoard7 - - const: actions,s700 - - # The Actions Semi S900 is a quad-core ARM Cortex-A53 SoC. - - items: - - enum: - - ucrobotics,bubblegum-96 # uCRobotics Bubblegum-96 - - const: actions,s900 - -additionalProperties: true +# SPDX-License-Identifier: GPL-2.0-or-later OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/actions.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Actions Semi platforms + +maintainers: + - Andreas Färber + - Manivannan Sadhasivam + +properties: + $nodename: + const: "/" + compatible: + oneOf: + # The Actions Semi S500 is a quad-core ARM Cortex-A9 SoC. + - items: + - enum: + - allo,sparky # Allo.com Sparky + - cubietech,cubieboard6 # Cubietech CubieBoard6 + - roseapplepi,roseapplepi # RoseapplePi.org RoseapplePi + - const: actions,s500 + - items: + - enum: + - caninos,labrador-base-m # Labrador Base Board M v1 + - const: caninos,labrador-v2 # Labrador Core v2 + - const: actions,s500 + - items: + - enum: + - lemaker,guitar-bb-rev-b # LeMaker Guitar Base Board rev. B + - const: lemaker,guitar + - const: actions,s500 + + # The Actions Semi S700 is a quad-core ARM Cortex-A53 SoC. + - items: + - enum: + - caninos,labrador-base-m2 # Labrador Base Board M v2 + - const: caninos,labrador-v3 # Labrador Core v3 + - const: actions,s700 + - items: + - enum: + - cubietech,cubieboard7 # Cubietech CubieBoard7 + - const: actions,s700 + + # The Actions Semi S900 is a quad-core ARM Cortex-A53 SoC. + - items: + - enum: + - ucrobotics,bubblegum-96 # uCRobotics Bubblegum-96 + - const: actions,s900 + +additionalProperties: true diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/altera.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/altera.yaml index 73370e78c7..8c75754554 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/altera.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/altera.yaml @@ -1,68 +1,68 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/arm/altera.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Altera's SoCFPGA platform - -maintainers: - - Dinh Nguyen - -properties: - $nodename: - const: "/" - compatible: - oneOf: - - description: Arria 5 boards - items: - - enum: - - altr,socfpga-arria5-socdk - - const: altr,socfpga-arria5 - - const: altr,socfpga - - - description: Arria 10 boards - items: - - enum: - - altr,socfpga-arria10-socdk - - const: altr,socfpga-arria10 - - const: altr,socfpga - - - description: Mercury+ AA1 boards - items: - - enum: - - enclustra,mercury-pe1 - - google,chameleon-v3 - - const: enclustra,mercury-aa1 - - const: altr,socfpga-arria10 - - const: altr,socfpga - - - description: Cyclone 5 boards - items: - - enum: - - altr,socfpga-cyclone5-socdk - - denx,mcvevk - - ebv,socrates - - macnica,sodia - - novtech,chameleon96 - - samtec,vining - - terasic,de0-atlas - - terasic,socfpga-cyclone5-sockit - - const: altr,socfpga-cyclone5 - - const: altr,socfpga - - - description: Stratix 10 boards - items: - - enum: - - altr,socfpga-stratix10-socdk - - altr,socfpga-stratix10-swvp - - const: altr,socfpga-stratix10 - - - description: SoCFPGA VT - items: - - const: altr,socfpga-vt - - const: altr,socfpga - -additionalProperties: true - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/altera.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Altera's SoCFPGA platform + +maintainers: + - Dinh Nguyen + +properties: + $nodename: + const: "/" + compatible: + oneOf: + - description: Arria 5 boards + items: + - enum: + - altr,socfpga-arria5-socdk + - const: altr,socfpga-arria5 + - const: altr,socfpga + + - description: Arria 10 boards + items: + - enum: + - altr,socfpga-arria10-socdk + - const: altr,socfpga-arria10 + - const: altr,socfpga + + - description: Mercury+ AA1 boards + items: + - enum: + - enclustra,mercury-pe1 + - google,chameleon-v3 + - const: enclustra,mercury-aa1 + - const: altr,socfpga-arria10 + - const: altr,socfpga + + - description: Cyclone 5 boards + items: + - enum: + - altr,socfpga-cyclone5-socdk + - denx,mcvevk + - ebv,socrates + - macnica,sodia + - novtech,chameleon96 + - samtec,vining + - terasic,de0-atlas + - terasic,socfpga-cyclone5-sockit + - const: altr,socfpga-cyclone5 + - const: altr,socfpga + + - description: Stratix 10 boards + items: + - enum: + - altr,socfpga-stratix10-socdk + - altr,socfpga-stratix10-swvp + - const: altr,socfpga-stratix10 + + - description: SoCFPGA VT + items: + - const: altr,socfpga-vt + - const: altr,socfpga + +additionalProperties: true + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/amlogic/amlogic,meson-gx-ao-secure.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/amlogic/amlogic,meson-gx-ao-secure.yaml index 06ff0e192d..b4f6695a60 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/amlogic/amlogic,meson-gx-ao-secure.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/amlogic/amlogic,meson-gx-ao-secure.yaml @@ -1,62 +1,62 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -# Copyright 2019 BayLibre, SAS -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/arm/amlogic/amlogic,meson-gx-ao-secure.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Amlogic Meson Firmware registers Interface - -maintainers: - - Neil Armstrong - -description: | - The Meson SoCs have a register bank with status and data shared with the - secure firmware. - -# We need a select here so we don't match all nodes with 'syscon' -select: - properties: - compatible: - contains: - const: amlogic,meson-gx-ao-secure - required: - - compatible - -properties: - compatible: - oneOf: - - items: - - const: amlogic,meson-gx-ao-secure - - const: syscon - - items: - - enum: - - amlogic,a4-ao-secure - - amlogic,c3-ao-secure - - amlogic,s4-ao-secure - - amlogic,t7-ao-secure - - const: amlogic,meson-gx-ao-secure - - const: syscon - reg: - maxItems: 1 - - amlogic,has-chip-id: - description: | - A firmware register encodes the SoC type, package and revision - information on the Meson GX SoCs. If present, the interface gives - the current SoC version. - type: boolean - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - ao-secure@140 { - compatible = "amlogic,meson-gx-ao-secure", "syscon"; - reg = <0x140 0x140>; - amlogic,has-chip-id; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +# Copyright 2019 BayLibre, SAS +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/amlogic/amlogic,meson-gx-ao-secure.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Amlogic Meson Firmware registers Interface + +maintainers: + - Neil Armstrong + +description: | + The Meson SoCs have a register bank with status and data shared with the + secure firmware. + +# We need a select here so we don't match all nodes with 'syscon' +select: + properties: + compatible: + contains: + const: amlogic,meson-gx-ao-secure + required: + - compatible + +properties: + compatible: + oneOf: + - items: + - const: amlogic,meson-gx-ao-secure + - const: syscon + - items: + - enum: + - amlogic,a4-ao-secure + - amlogic,c3-ao-secure + - amlogic,s4-ao-secure + - amlogic,t7-ao-secure + - const: amlogic,meson-gx-ao-secure + - const: syscon + reg: + maxItems: 1 + + amlogic,has-chip-id: + description: | + A firmware register encodes the SoC type, package and revision + information on the Meson GX SoCs. If present, the interface gives + the current SoC version. + type: boolean + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + ao-secure@140 { + compatible = "amlogic,meson-gx-ao-secure", "syscon"; + reg = <0x140 0x140>; + amlogic,has-chip-id; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/arm,corstone1000.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/arm,corstone1000.yaml index 6a27a1f7f1..cff1cdaadb 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/arm,corstone1000.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/arm,corstone1000.yaml @@ -1,45 +1,45 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/arm/arm,corstone1000.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: ARM Corstone1000 - -maintainers: - - Abdellatif El Khlifi - - Hugues Kamba Mpiana - -description: |+ - ARM's Corstone1000 includes pre-verified Corstone SSE-710 subsystem that - provides a flexible compute architecture that combines Cortex‑A and Cortex‑M - processors. - - Support for Cortex‑A32, Cortex‑A35 and Cortex‑A53 processors. Two expansion - systems for M-Class (or other) processors for adding sensors, connectivity, - video, audio and machine learning at the edge System and security IPs to build - a secure SoC for a range of rich IoT applications, for example gateways, smart - cameras and embedded systems. - - Integrated Secure Enclave providing hardware Root of Trust and supporting - seamless integration of the optional CryptoCell™-312 cryptographic - accelerator. - -properties: - $nodename: - const: '/' - compatible: - oneOf: - - description: Corstone1000 MPS3 it has 1 Cortex-A35 CPU core in a FPGA - implementation of the Corstone1000 in the MPS3 prototyping board. See - ARM document DAI0550. - items: - - const: arm,corstone1000-mps3 - - description: Corstone1000 FVP is the Fixed Virtual Platform - implementation of this system. See ARM ecosystems FVP's. - items: - - const: arm,corstone1000-fvp - -additionalProperties: true - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/arm,corstone1000.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ARM Corstone1000 + +maintainers: + - Abdellatif El Khlifi + - Hugues Kamba Mpiana + +description: |+ + ARM's Corstone1000 includes pre-verified Corstone SSE-710 subsystem that + provides a flexible compute architecture that combines Cortex‑A and Cortex‑M + processors. + + Support for Cortex‑A32, Cortex‑A35 and Cortex‑A53 processors. Two expansion + systems for M-Class (or other) processors for adding sensors, connectivity, + video, audio and machine learning at the edge System and security IPs to build + a secure SoC for a range of rich IoT applications, for example gateways, smart + cameras and embedded systems. + + Integrated Secure Enclave providing hardware Root of Trust and supporting + seamless integration of the optional CryptoCell™-312 cryptographic + accelerator. + +properties: + $nodename: + const: '/' + compatible: + oneOf: + - description: Corstone1000 MPS3 it has 1 Cortex-A35 CPU core in a FPGA + implementation of the Corstone1000 in the MPS3 prototyping board. See + ARM document DAI0550. + items: + - const: arm,corstone1000-mps3 + - description: Corstone1000 FVP is the Fixed Virtual Platform + implementation of this system. See ARM ecosystems FVP's. + items: + - const: arm,corstone1000-fvp + +additionalProperties: true + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/arm,versatile.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/arm,versatile.yaml index 9362b4934d..7a3caf6af2 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/arm,versatile.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/arm,versatile.yaml @@ -1,49 +1,49 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/arm/arm,versatile.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: ARM Versatile Boards - -maintainers: - - Linus Walleij - -description: |+ - The ARM Versatile boards are two variants of ARM926EJ-S evaluation boards - with various pluggable interface boards, in essence the Versatile PB version - is a superset of the Versatile AB version. - - The root node in the Versatile platforms must contain a core module child - node. They are always at physical address 0x10000000 in all the Versatile - variants. - - When fitted with the IB2 Interface Board, the Versatile AB will present an - optional system controller node which controls the extra peripherals on the - interface board. - -properties: - $nodename: - const: '/' - compatible: - oneOf: - - description: The ARM Versatile Application Baseboard (HBI-0118) is an - evaluation board specifically for the ARM926EJ-S. It can be connected - to an IB1 interface board for a touchscreen-type use case or an IB2 - for a candybar phone-type use case. See ARM DUI 0225D. - items: - - const: arm,versatile-ab - - description: The ARM Versatile Platform Baseboard (HBI-0117) is an - extension of the Versatile Application Baseboard that includes a - PCI host controller. Like the sibling board, it is done specifically - for ARM926EJ-S. See ARM DUI 0224B. - items: - - const: arm,versatile-pb - -required: - - compatible - - core-module@10000000 - -additionalProperties: true - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/arm,versatile.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ARM Versatile Boards + +maintainers: + - Linus Walleij + +description: |+ + The ARM Versatile boards are two variants of ARM926EJ-S evaluation boards + with various pluggable interface boards, in essence the Versatile PB version + is a superset of the Versatile AB version. + + The root node in the Versatile platforms must contain a core module child + node. They are always at physical address 0x10000000 in all the Versatile + variants. + + When fitted with the IB2 Interface Board, the Versatile AB will present an + optional system controller node which controls the extra peripherals on the + interface board. + +properties: + $nodename: + const: '/' + compatible: + oneOf: + - description: The ARM Versatile Application Baseboard (HBI-0118) is an + evaluation board specifically for the ARM926EJ-S. It can be connected + to an IB1 interface board for a touchscreen-type use case or an IB2 + for a candybar phone-type use case. See ARM DUI 0225D. + items: + - const: arm,versatile-ab + - description: The ARM Versatile Platform Baseboard (HBI-0117) is an + extension of the Versatile Application Baseboard that includes a + PCI host controller. Like the sibling board, it is done specifically + for ARM926EJ-S. See ARM DUI 0224B. + items: + - const: arm,versatile-pb + +required: + - compatible + - core-module@10000000 + +additionalProperties: true + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/bcm/bcm2835.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/bcm/bcm2835.yaml index 5f26eb9876..e4ff71f006 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/bcm/bcm2835.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/bcm/bcm2835.yaml @@ -1,65 +1,65 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/arm/bcm/bcm2835.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Broadcom BCM2711/BCM2835 Platforms - -maintainers: - - Eric Anholt - - Stefan Wahren - -properties: - $nodename: - const: '/' - compatible: - oneOf: - - description: BCM2711 based Boards - items: - - enum: - - raspberrypi,400 - - raspberrypi,4-compute-module - - raspberrypi,4-model-b - - const: brcm,bcm2711 - - - description: BCM2712 based Boards - items: - - enum: - - raspberrypi,5-model-b - - const: brcm,bcm2712 - - - description: BCM2835 based Boards - items: - - enum: - - raspberrypi,model-a - - raspberrypi,model-a-plus - - raspberrypi,model-b - - raspberrypi,model-b-i2c0 # Raspberry Pi Model B (no P5) - - raspberrypi,model-b-rev2 - - raspberrypi,model-b-plus - - raspberrypi,compute-module - - raspberrypi,model-zero - - raspberrypi,model-zero-w - - const: brcm,bcm2835 - - - description: BCM2836 based Boards - items: - - enum: - - raspberrypi,2-model-b - - const: brcm,bcm2836 - - - description: BCM2837 based Boards - items: - - enum: - - raspberrypi,3-model-a-plus - - raspberrypi,3-model-b - - raspberrypi,3-model-b-plus - - raspberrypi,3-compute-module - - raspberrypi,3-compute-module-lite - - raspberrypi,model-zero-2-w - - const: brcm,bcm2837 - -additionalProperties: true - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/bcm/bcm2835.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom BCM2711/BCM2835 Platforms + +maintainers: + - Eric Anholt + - Stefan Wahren + +properties: + $nodename: + const: '/' + compatible: + oneOf: + - description: BCM2711 based Boards + items: + - enum: + - raspberrypi,400 + - raspberrypi,4-compute-module + - raspberrypi,4-model-b + - const: brcm,bcm2711 + + - description: BCM2712 based Boards + items: + - enum: + - raspberrypi,5-model-b + - const: brcm,bcm2712 + + - description: BCM2835 based Boards + items: + - enum: + - raspberrypi,model-a + - raspberrypi,model-a-plus + - raspberrypi,model-b + - raspberrypi,model-b-i2c0 # Raspberry Pi Model B (no P5) + - raspberrypi,model-b-rev2 + - raspberrypi,model-b-plus + - raspberrypi,compute-module + - raspberrypi,model-zero + - raspberrypi,model-zero-w + - const: brcm,bcm2835 + + - description: BCM2836 based Boards + items: + - enum: + - raspberrypi,2-model-b + - const: brcm,bcm2836 + + - description: BCM2837 based Boards + items: + - enum: + - raspberrypi,3-model-a-plus + - raspberrypi,3-model-b + - raspberrypi,3-model-b-plus + - raspberrypi,3-compute-module + - raspberrypi,3-compute-module-lite + - raspberrypi,model-zero-2-w + - const: brcm,bcm2837 + +additionalProperties: true + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/cpu-enable-method/al,alpine-smp b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/cpu-enable-method/al,alpine-smp index 40dfa3442e..cc7b1402a3 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/cpu-enable-method/al,alpine-smp +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/cpu-enable-method/al,alpine-smp @@ -1,70 +1,70 @@ -======================================================== -Secondary CPU enable-method "al,alpine-smp" binding -======================================================== - -This document describes the "al,alpine-smp" method for -enabling secondary CPUs. To apply to all CPUs, a single -"al,alpine-smp" enable method should be defined in the -"cpus" node. - -Enable method name: "al,alpine-smp" -Compatible machines: "al,alpine" -Compatible CPUs: "arm,cortex-a15" -Related properties: (none) - -Note: -This enable method requires valid nodes compatible with -"al,alpine-cpu-resume" and "al,alpine-nb-service". - - -* Alpine CPU resume registers - -The CPU resume register are used to define required resume address after -reset. - -Properties: -- compatible : Should contain "al,alpine-cpu-resume". -- reg : Offset and length of the register set for the device - - -Example: - -cpus { - #address-cells = <1>; - #size-cells = <0>; - enable-method = "al,alpine-smp"; - - cpu@0 { - compatible = "arm,cortex-a15"; - device_type = "cpu"; - reg = <0>; - }; - - cpu@1 { - compatible = "arm,cortex-a15"; - device_type = "cpu"; - reg = <1>; - }; - - cpu@2 { - compatible = "arm,cortex-a15"; - device_type = "cpu"; - reg = <2>; - }; - - cpu@3 { - compatible = "arm,cortex-a15"; - device_type = "cpu"; - reg = <3>; - }; -}; - -cpu_resume { - compatible = "al,alpine-cpu-resume"; - reg = <0xfbff5ed0 0x30>; -}; - -nb_service { - compatible = "al,alpine-sysfabric-service", "syscon"; - reg = <0xfb070000 0x10000>; -}; +======================================================== +Secondary CPU enable-method "al,alpine-smp" binding +======================================================== + +This document describes the "al,alpine-smp" method for +enabling secondary CPUs. To apply to all CPUs, a single +"al,alpine-smp" enable method should be defined in the +"cpus" node. + +Enable method name: "al,alpine-smp" +Compatible machines: "al,alpine" +Compatible CPUs: "arm,cortex-a15" +Related properties: (none) + +Note: +This enable method requires valid nodes compatible with +"al,alpine-cpu-resume" and "al,alpine-nb-service". + + +* Alpine CPU resume registers + +The CPU resume register are used to define required resume address after +reset. + +Properties: +- compatible : Should contain "al,alpine-cpu-resume". +- reg : Offset and length of the register set for the device + + +Example: + +cpus { + #address-cells = <1>; + #size-cells = <0>; + enable-method = "al,alpine-smp"; + + cpu@0 { + compatible = "arm,cortex-a15"; + device_type = "cpu"; + reg = <0>; + }; + + cpu@1 { + compatible = "arm,cortex-a15"; + device_type = "cpu"; + reg = <1>; + }; + + cpu@2 { + compatible = "arm,cortex-a15"; + device_type = "cpu"; + reg = <2>; + }; + + cpu@3 { + compatible = "arm,cortex-a15"; + device_type = "cpu"; + reg = <3>; + }; +}; + +cpu_resume { + compatible = "al,alpine-cpu-resume"; + reg = <0xfbff5ed0 0x30>; +}; + +nb_service { + compatible = "al,alpine-sysfabric-service", "syscon"; + reg = <0xfb070000 0x10000>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/firmware/linaro,optee-tz.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/firmware/linaro,optee-tz.yaml index d29db48cea..5d033570b5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/firmware/linaro,optee-tz.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/firmware/linaro,optee-tz.yaml @@ -1,67 +1,67 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/arm/firmware/linaro,optee-tz.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: OP-TEE - -maintainers: - - Jens Wiklander - -description: | - OP-TEE is a piece of software using hardware features to provide a Trusted - Execution Environment. The security can be provided with ARM TrustZone, but - also by virtualization or a separate chip. - - We're using "linaro" as the first part of the compatible property for - the reference implementation maintained by Linaro. - -properties: - $nodename: - const: optee - - compatible: - const: linaro,optee-tz - - interrupts: - maxItems: 1 - description: | - This interrupt which is used to signal an event by the secure world - software is expected to be either a per-cpu interrupt or an - edge-triggered peripheral interrupt. - - method: - enum: [smc, hvc] - description: | - The method of calling the OP-TEE Trusted OS depending on smc or hvc - instruction usage. - SMC #0, register assignments - or - HVC #0, register assignments - register assignments are specified in drivers/tee/optee/optee_smc.h - -required: - - compatible - - method - -additionalProperties: false - -examples: - - | - #include - firmware { - optee { - compatible = "linaro,optee-tz"; - method = "smc"; - interrupts = ; - }; - }; - - - | - firmware { - optee { - compatible = "linaro,optee-tz"; - method = "hvc"; - }; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/firmware/linaro,optee-tz.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: OP-TEE + +maintainers: + - Jens Wiklander + +description: | + OP-TEE is a piece of software using hardware features to provide a Trusted + Execution Environment. The security can be provided with ARM TrustZone, but + also by virtualization or a separate chip. + + We're using "linaro" as the first part of the compatible property for + the reference implementation maintained by Linaro. + +properties: + $nodename: + const: optee + + compatible: + const: linaro,optee-tz + + interrupts: + maxItems: 1 + description: | + This interrupt which is used to signal an event by the secure world + software is expected to be either a per-cpu interrupt or an + edge-triggered peripheral interrupt. + + method: + enum: [smc, hvc] + description: | + The method of calling the OP-TEE Trusted OS depending on smc or hvc + instruction usage. + SMC #0, register assignments + or + HVC #0, register assignments + register assignments are specified in drivers/tee/optee/optee_smc.h + +required: + - compatible + - method + +additionalProperties: false + +examples: + - | + #include + firmware { + optee { + compatible = "linaro,optee-tz"; + method = "smc"; + interrupts = ; + }; + }; + + - | + firmware { + optee { + compatible = "linaro,optee-tz"; + method = "hvc"; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/firmware/sdei.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/firmware/sdei.txt index efa104d604..ee3f0ff498 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/firmware/sdei.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/firmware/sdei.txt @@ -1,42 +1,42 @@ -* Software Delegated Exception Interface (SDEI) - -Firmware implementing the SDEI functions described in ARM document number -ARM DEN 0054A ("Software Delegated Exception Interface") can be used by -Linux to receive notification of events such as those generated by -firmware-first error handling, or from an IRQ that has been promoted to -a firmware-assisted NMI. - -The interface provides a number of API functions for registering callbacks -and enabling/disabling events. Functions are invoked by trapping to the -privilege level of the SDEI firmware (specified as part of the binding -below) and passing arguments in a manner specified by the "SMC Calling -Convention (ARM DEN 0028B): - - r0 => 32-bit Function ID / return value - {r1 - r3} => Parameters - -Note that the immediate field of the trapping instruction must be set -to #0. - -The SDEI_EVENT_REGISTER function registers a callback in the kernel -text to handle the specified event number. - -The sdei node should be a child node of '/firmware' and have required -properties: - - - compatible : should contain: - * "arm,sdei-1.0" : For implementations complying to SDEI version 1.x. - - - method : The method of calling the SDEI firmware. Permitted - values are: - * "smc" : SMC #0, with the register assignments specified in this - binding. - * "hvc" : HVC #0, with the register assignments specified in this - binding. -Example: - firmware { - sdei { - compatible = "arm,sdei-1.0"; - method = "smc"; - }; - }; +* Software Delegated Exception Interface (SDEI) + +Firmware implementing the SDEI functions described in ARM document number +ARM DEN 0054A ("Software Delegated Exception Interface") can be used by +Linux to receive notification of events such as those generated by +firmware-first error handling, or from an IRQ that has been promoted to +a firmware-assisted NMI. + +The interface provides a number of API functions for registering callbacks +and enabling/disabling events. Functions are invoked by trapping to the +privilege level of the SDEI firmware (specified as part of the binding +below) and passing arguments in a manner specified by the "SMC Calling +Convention (ARM DEN 0028B): + + r0 => 32-bit Function ID / return value + {r1 - r3} => Parameters + +Note that the immediate field of the trapping instruction must be set +to #0. + +The SDEI_EVENT_REGISTER function registers a callback in the kernel +text to handle the specified event number. + +The sdei node should be a child node of '/firmware' and have required +properties: + + - compatible : should contain: + * "arm,sdei-1.0" : For implementations complying to SDEI version 1.x. + + - method : The method of calling the SDEI firmware. Permitted + values are: + * "smc" : SMC #0, with the register assignments specified in this + binding. + * "hvc" : HVC #0, with the register assignments specified in this + binding. +Example: + firmware { + sdei { + compatible = "arm,sdei-1.0"; + method = "smc"; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/hisilicon/controller/cpuctrl.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/hisilicon/controller/cpuctrl.yaml index 58bafd4c43..4fc208d399 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/hisilicon/controller/cpuctrl.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/hisilicon/controller/cpuctrl.yaml @@ -1,74 +1,74 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/arm/hisilicon/controller/cpuctrl.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Hisilicon CPU controller - -maintainers: - - Wei Xu - -description: | - The clock registers and power registers of secondary cores are defined - in CPU controller, especially in HIX5HD2 SoC. - -properties: - compatible: - items: - - const: hisilicon,cpuctrl - - reg: - maxItems: 1 - - "#address-cells": - const: 1 - - "#size-cells": - const: 1 - - ranges: true - -patternProperties: - "^clock@[0-9a-f]+$": - type: object - additionalProperties: false - - properties: - compatible: - const: hisilicon,hix5hd2-clock - - reg: - maxItems: 1 - - "#clock-cells": - const: 1 - - required: - - compatible - - reg - - "#clock-cells" - -required: - - compatible - - reg - -additionalProperties: - type: object - -examples: - - | - cpuctrl@a22000 { - compatible = "hisilicon,cpuctrl"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x00a22000 0x2000>; - ranges = <0 0x00a22000 0x2000>; - - clock: clock@0 { - compatible = "hisilicon,hix5hd2-clock"; - reg = <0 0x2000>; - #clock-cells = <1>; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/hisilicon/controller/cpuctrl.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Hisilicon CPU controller + +maintainers: + - Wei Xu + +description: | + The clock registers and power registers of secondary cores are defined + in CPU controller, especially in HIX5HD2 SoC. + +properties: + compatible: + items: + - const: hisilicon,cpuctrl + + reg: + maxItems: 1 + + "#address-cells": + const: 1 + + "#size-cells": + const: 1 + + ranges: true + +patternProperties: + "^clock@[0-9a-f]+$": + type: object + additionalProperties: false + + properties: + compatible: + const: hisilicon,hix5hd2-clock + + reg: + maxItems: 1 + + "#clock-cells": + const: 1 + + required: + - compatible + - reg + - "#clock-cells" + +required: + - compatible + - reg + +additionalProperties: + type: object + +examples: + - | + cpuctrl@a22000 { + compatible = "hisilicon,cpuctrl"; + #address-cells = <1>; + #size-cells = <1>; + reg = <0x00a22000 0x2000>; + ranges = <0 0x00a22000 0x2000>; + + clock: clock@0 { + compatible = "hisilicon,hix5hd2-clock"; + reg = <0 0x2000>; + #clock-cells = <1>; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/hisilicon/controller/hi3798cv200-perictrl.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/hisilicon/controller/hi3798cv200-perictrl.yaml index c3239a3db4..cba1937aad 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/hisilicon/controller/hi3798cv200-perictrl.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/hisilicon/controller/hi3798cv200-perictrl.yaml @@ -1,64 +1,64 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/arm/hisilicon/controller/hi3798cv200-perictrl.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Hisilicon Hi3798CV200 Peripheral Controller - -maintainers: - - Wei Xu - -description: | - The Hi3798CV200 Peripheral Controller controls peripherals, queries - their status, and configures some functions of peripherals. - -properties: - compatible: - items: - - const: hisilicon,hi3798cv200-perictrl - - const: syscon - - const: simple-mfd - - reg: - maxItems: 1 - - "#address-cells": - const: 1 - - "#size-cells": - const: 1 - - ranges: true - -required: - - compatible - - reg - - "#address-cells" - - "#size-cells" - - ranges - -additionalProperties: - type: object - -examples: - - | - peripheral-controller@8a20000 { - compatible = "hisilicon,hi3798cv200-perictrl", "syscon", "simple-mfd"; - reg = <0x8a20000 0x1000>; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0x0 0x8a20000 0x1000>; - - phy@850 { - compatible = "hisilicon,hi3798cv200-combphy"; - reg = <0x850 0x8>; - #phy-cells = <1>; - clocks = <&crg 42>; - resets = <&crg 0x188 4>; - assigned-clocks = <&crg 42>; - assigned-clock-rates = <100000000>; - hisilicon,fixed-mode = <4>; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/hisilicon/controller/hi3798cv200-perictrl.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Hisilicon Hi3798CV200 Peripheral Controller + +maintainers: + - Wei Xu + +description: | + The Hi3798CV200 Peripheral Controller controls peripherals, queries + their status, and configures some functions of peripherals. + +properties: + compatible: + items: + - const: hisilicon,hi3798cv200-perictrl + - const: syscon + - const: simple-mfd + + reg: + maxItems: 1 + + "#address-cells": + const: 1 + + "#size-cells": + const: 1 + + ranges: true + +required: + - compatible + - reg + - "#address-cells" + - "#size-cells" + - ranges + +additionalProperties: + type: object + +examples: + - | + peripheral-controller@8a20000 { + compatible = "hisilicon,hi3798cv200-perictrl", "syscon", "simple-mfd"; + reg = <0x8a20000 0x1000>; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x0 0x8a20000 0x1000>; + + phy@850 { + compatible = "hisilicon,hi3798cv200-combphy"; + reg = <0x850 0x8>; + #phy-cells = <1>; + clocks = <&crg 42>; + resets = <&crg 0x188 4>; + assigned-clocks = <&crg 42>; + assigned-clock-rates = <100000000>; + hisilicon,fixed-mode = <4>; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/hisilicon/controller/hi6220-domain-ctrl.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/hisilicon/controller/hi6220-domain-ctrl.yaml index 3b8eb24ead..6ea6d7ee7a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/hisilicon/controller/hi6220-domain-ctrl.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/hisilicon/controller/hi6220-domain-ctrl.yaml @@ -1,68 +1,68 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/arm/hisilicon/controller/hi6220-domain-ctrl.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Hisilicon Hi6220 domain controller - -maintainers: - - Wei Xu - -description: | - Hisilicon designs some special domain controllers for mobile platform, - such as: the power Always On domain controller, the Media domain - controller(e.g. codec, G3D ...) and the Power Management domain - controller. - - The compatible names of each domain controller are as follows: - Power Always ON domain controller --> hisilicon,hi6220-aoctrl - Media domain controller --> hisilicon,hi6220-mediactrl - Power Management domain controller --> hisilicon,hi6220-pmctrl - -properties: - compatible: - items: - - enum: - - hisilicon,hi6220-aoctrl - - hisilicon,hi6220-mediactrl - - hisilicon,hi6220-pmctrl - - const: syscon - - reg: - maxItems: 1 - - '#clock-cells': - const: 1 - - '#reset-cells': - const: 1 - -required: - - compatible - - reg - - '#clock-cells' - -additionalProperties: false - -examples: - - | - ao_ctrl@f7800000 { - compatible = "hisilicon,hi6220-aoctrl", "syscon"; - reg = <0xf7800000 0x2000>; - #clock-cells = <1>; - #reset-cells = <1>; - }; - - media_ctrl@f4410000 { - compatible = "hisilicon,hi6220-mediactrl", "syscon"; - reg = <0xf4410000 0x1000>; - #clock-cells = <1>; - }; - - pm_ctrl@f7032000 { - compatible = "hisilicon,hi6220-pmctrl", "syscon"; - reg = <0xf7032000 0x1000>; - #clock-cells = <1>; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/hisilicon/controller/hi6220-domain-ctrl.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Hisilicon Hi6220 domain controller + +maintainers: + - Wei Xu + +description: | + Hisilicon designs some special domain controllers for mobile platform, + such as: the power Always On domain controller, the Media domain + controller(e.g. codec, G3D ...) and the Power Management domain + controller. + + The compatible names of each domain controller are as follows: + Power Always ON domain controller --> hisilicon,hi6220-aoctrl + Media domain controller --> hisilicon,hi6220-mediactrl + Power Management domain controller --> hisilicon,hi6220-pmctrl + +properties: + compatible: + items: + - enum: + - hisilicon,hi6220-aoctrl + - hisilicon,hi6220-mediactrl + - hisilicon,hi6220-pmctrl + - const: syscon + + reg: + maxItems: 1 + + '#clock-cells': + const: 1 + + '#reset-cells': + const: 1 + +required: + - compatible + - reg + - '#clock-cells' + +additionalProperties: false + +examples: + - | + ao_ctrl@f7800000 { + compatible = "hisilicon,hi6220-aoctrl", "syscon"; + reg = <0xf7800000 0x2000>; + #clock-cells = <1>; + #reset-cells = <1>; + }; + + media_ctrl@f4410000 { + compatible = "hisilicon,hi6220-mediactrl", "syscon"; + reg = <0xf4410000 0x1000>; + #clock-cells = <1>; + }; + + pm_ctrl@f7032000 { + compatible = "hisilicon,hi6220-pmctrl", "syscon"; + reg = <0xf7032000 0x1000>; + #clock-cells = <1>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/hisilicon/hisilicon.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/hisilicon/hisilicon.yaml index 30b6a28a9a..5408763220 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/hisilicon/hisilicon.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/hisilicon/hisilicon.yaml @@ -1,70 +1,70 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/arm/hisilicon/hisilicon.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Hisilicon Platforms - -maintainers: - - Wei Xu - -properties: - $nodename: - const: '/' - - compatible: - oneOf: - - description: Hi3660 based boards. - items: - - const: hisilicon,hi3660-hikey960 - - const: hisilicon,hi3660 - - - description: Hi3670 based boards. - items: - - const: hisilicon,hi3670-hikey970 - - const: hisilicon,hi3670 - - - description: Hi3798cv200 based boards. - items: - - const: hisilicon,hi3798cv200-poplar - - const: hisilicon,hi3798cv200 - - - description: Hi4511 Board - items: - - const: hisilicon,hi3620-hi4511 - - - description: Hi6220 based boards. - items: - - const: hisilicon,hi6220-hikey - - const: hisilicon,hi6220 - - - description: HiP01 based boards. - items: - - const: hisilicon,hip01-ca9x2 - - const: hisilicon,hip01 - - - description: HiP04 D01 Board - items: - - const: hisilicon,hip04-d01 - - - description: HiP05 D02 Board - items: - - const: hisilicon,hip05-d02 - - - description: HiP06 D03 Board - items: - - const: hisilicon,hip06-d03 - - - description: HiP07 D05 Board - items: - - const: hisilicon,hip07-d05 - - - description: SD5203 based boards - items: - - const: H836ASDJ - - const: hisilicon,sd5203 - -additionalProperties: true - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/hisilicon/hisilicon.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Hisilicon Platforms + +maintainers: + - Wei Xu + +properties: + $nodename: + const: '/' + + compatible: + oneOf: + - description: Hi3660 based boards. + items: + - const: hisilicon,hi3660-hikey960 + - const: hisilicon,hi3660 + + - description: Hi3670 based boards. + items: + - const: hisilicon,hi3670-hikey970 + - const: hisilicon,hi3670 + + - description: Hi3798cv200 based boards. + items: + - const: hisilicon,hi3798cv200-poplar + - const: hisilicon,hi3798cv200 + + - description: Hi4511 Board + items: + - const: hisilicon,hi3620-hi4511 + + - description: Hi6220 based boards. + items: + - const: hisilicon,hi6220-hikey + - const: hisilicon,hi6220 + + - description: HiP01 based boards. + items: + - const: hisilicon,hip01-ca9x2 + - const: hisilicon,hip01 + + - description: HiP04 D01 Board + items: + - const: hisilicon,hip04-d01 + + - description: HiP05 D02 Board + items: + - const: hisilicon,hip05-d02 + + - description: HiP06 D03 Board + items: + - const: hisilicon,hip06-d03 + + - description: HiP07 D05 Board + items: + - const: hisilicon,hip07-d05 + + - description: SD5203 based boards + items: + - const: H836ASDJ + - const: hisilicon,sd5203 + +additionalProperties: true + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/hisilicon/low-pin-count.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/hisilicon/low-pin-count.yaml index 93bd0ababb..3b36e683bb 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/hisilicon/low-pin-count.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/hisilicon/low-pin-count.yaml @@ -1,61 +1,61 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/arm/hisilicon/low-pin-count.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Hisilicon HiP06 Low Pin Count device - -maintainers: - - Wei Xu - -description: | - Hisilicon HiP06 SoCs implement a Low Pin Count (LPC) controller, which - provides I/O access to some legacy ISA devices. - HiP06 is based on arm64 architecture where there is no I/O space. So, the - I/O ports here are not CPU addresses, and there is no 'ranges' property in - LPC device node. - -properties: - $nodename: - pattern: '^isa@[0-9a-f]+$' - description: | - The node name before '@' must be "isa" to represent the binding stick - to the ISA/EISA binding specification. - - compatible: - enum: - - hisilicon,hip06-lpc - - hisilicon,hip07-lpc - - reg: - maxItems: 1 - - '#address-cells': - const: 2 - - '#size-cells': - const: 1 - -required: - - compatible - - reg - -additionalProperties: - type: object - -examples: - - | - isa@a01b0000 { - compatible = "hisilicon,hip06-lpc"; - #address-cells = <2>; - #size-cells = <1>; - reg = <0xa01b0000 0x1000>; - - ipmi0: bt@e4 { - compatible = "ipmi-bt"; - device_type = "ipmi"; - reg = <0x01 0xe4 0x04>; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/hisilicon/low-pin-count.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Hisilicon HiP06 Low Pin Count device + +maintainers: + - Wei Xu + +description: | + Hisilicon HiP06 SoCs implement a Low Pin Count (LPC) controller, which + provides I/O access to some legacy ISA devices. + HiP06 is based on arm64 architecture where there is no I/O space. So, the + I/O ports here are not CPU addresses, and there is no 'ranges' property in + LPC device node. + +properties: + $nodename: + pattern: '^isa@[0-9a-f]+$' + description: | + The node name before '@' must be "isa" to represent the binding stick + to the ISA/EISA binding specification. + + compatible: + enum: + - hisilicon,hip06-lpc + - hisilicon,hip07-lpc + + reg: + maxItems: 1 + + '#address-cells': + const: 2 + + '#size-cells': + const: 1 + +required: + - compatible + - reg + +additionalProperties: + type: object + +examples: + - | + isa@a01b0000 { + compatible = "hisilicon,hip06-lpc"; + #address-cells = <2>; + #size-cells = <1>; + reg = <0xa01b0000 0x1000>; + + ipmi0: bt@e4 { + compatible = "ipmi-bt"; + device_type = "ipmi"; + reg = <0x01 0xe4 0x04>; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/keystone/ti,k3-sci-common.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/keystone/ti,k3-sci-common.yaml index b66fe8bbd8..4a323e8c78 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/keystone/ti,k3-sci-common.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/keystone/ti,k3-sci-common.yaml @@ -1,46 +1,46 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/arm/keystone/ti,k3-sci-common.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Common K3 TI-SCI - -maintainers: - - Nishanth Menon - -description: | - The TI K3 family of SoCs usually have a central System Controller Processor - that is responsible for managing various SoC-level resources like clocks, - resets, interrupts etc. The communication with that processor is performed - through the TI-SCI protocol. - - Each specific device management node like a clock controller node, a reset - controller node or an interrupt-controller node should define a common set - of properties that enables them to implement the corresponding functionality - over the TI-SCI protocol. The following are some of the common properties - needed by such individual nodes. The required properties for each device - management node is defined in the respective binding. - -properties: - ti,sci: - $ref: /schemas/types.yaml#/definitions/phandle - description: - Should be a phandle to the TI-SCI System Controller node - - ti,sci-dev-id: - $ref: /schemas/types.yaml#/definitions/uint32 - description: | - Should contain the TI-SCI device id corresponding to the device. Please - refer to the corresponding System Controller documentation for valid - values for the desired device. - - ti,sci-proc-ids: - description: Should contain a single tuple of . - $ref: /schemas/types.yaml#/definitions/uint32-array - items: - - description: TI-SCI processor id for the remote processor device - - description: TI-SCI host id to which processor control ownership - should be transferred to - -additionalProperties: true +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/keystone/ti,k3-sci-common.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Common K3 TI-SCI + +maintainers: + - Nishanth Menon + +description: | + The TI K3 family of SoCs usually have a central System Controller Processor + that is responsible for managing various SoC-level resources like clocks, + resets, interrupts etc. The communication with that processor is performed + through the TI-SCI protocol. + + Each specific device management node like a clock controller node, a reset + controller node or an interrupt-controller node should define a common set + of properties that enables them to implement the corresponding functionality + over the TI-SCI protocol. The following are some of the common properties + needed by such individual nodes. The required properties for each device + management node is defined in the respective binding. + +properties: + ti,sci: + $ref: /schemas/types.yaml#/definitions/phandle + description: + Should be a phandle to the TI-SCI System Controller node + + ti,sci-dev-id: + $ref: /schemas/types.yaml#/definitions/uint32 + description: | + Should contain the TI-SCI device id corresponding to the device. Please + refer to the corresponding System Controller documentation for valid + values for the desired device. + + ti,sci-proc-ids: + description: Should contain a single tuple of . + $ref: /schemas/types.yaml#/definitions/uint32-array + items: + - description: TI-SCI processor id for the remote processor device + - description: TI-SCI host id to which processor control ownership + should be transferred to + +additionalProperties: true diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/nvidia,tegra194-ccplex.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/nvidia,tegra194-ccplex.yaml index d9e0634a57..84dc6b7512 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/nvidia,tegra194-ccplex.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/nvidia,tegra194-ccplex.yaml @@ -1,71 +1,71 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/arm/nvidia,tegra194-ccplex.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: NVIDIA Tegra194 CPU Complex - -maintainers: - - Thierry Reding - - Jonathan Hunter - - Sumit Gupta - -description: |+ - Tegra194 SOC has homogeneous architecture where each cluster has two - symmetric cores. Compatible string in "cpus" node represents the CPU - Complex having all clusters. - -properties: - $nodename: - const: cpus - - compatible: - enum: - - nvidia,tegra194-ccplex - - nvidia,bpmp: - $ref: /schemas/types.yaml#/definitions/phandle - description: | - Specifies the bpmp node that needs to be queried to get - operating point data for all CPUs. - -additionalProperties: true - -examples: - - | - cpus { - compatible = "nvidia,tegra194-ccplex"; - nvidia,bpmp = <&bpmp>; - #address-cells = <1>; - #size-cells = <0>; - - cpu0_0: cpu@0 { - compatible = "nvidia,tegra194-carmel"; - device_type = "cpu"; - reg = <0x0>; - enable-method = "psci"; - }; - - cpu0_1: cpu@1 { - compatible = "nvidia,tegra194-carmel"; - device_type = "cpu"; - reg = <0x001>; - enable-method = "psci"; - }; - - cpu1_0: cpu@100 { - compatible = "nvidia,tegra194-carmel"; - device_type = "cpu"; - reg = <0x100>; - enable-method = "psci"; - }; - - cpu1_1: cpu@101 { - compatible = "nvidia,tegra194-carmel"; - device_type = "cpu"; - reg = <0x101>; - enable-method = "psci"; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/nvidia,tegra194-ccplex.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NVIDIA Tegra194 CPU Complex + +maintainers: + - Thierry Reding + - Jonathan Hunter + - Sumit Gupta + +description: |+ + Tegra194 SOC has homogeneous architecture where each cluster has two + symmetric cores. Compatible string in "cpus" node represents the CPU + Complex having all clusters. + +properties: + $nodename: + const: cpus + + compatible: + enum: + - nvidia,tegra194-ccplex + + nvidia,bpmp: + $ref: /schemas/types.yaml#/definitions/phandle + description: | + Specifies the bpmp node that needs to be queried to get + operating point data for all CPUs. + +additionalProperties: true + +examples: + - | + cpus { + compatible = "nvidia,tegra194-ccplex"; + nvidia,bpmp = <&bpmp>; + #address-cells = <1>; + #size-cells = <0>; + + cpu0_0: cpu@0 { + compatible = "nvidia,tegra194-carmel"; + device_type = "cpu"; + reg = <0x0>; + enable-method = "psci"; + }; + + cpu0_1: cpu@1 { + compatible = "nvidia,tegra194-carmel"; + device_type = "cpu"; + reg = <0x001>; + enable-method = "psci"; + }; + + cpu1_0: cpu@100 { + compatible = "nvidia,tegra194-carmel"; + device_type = "cpu"; + reg = <0x100>; + enable-method = "psci"; + }; + + cpu1_1: cpu@101 { + compatible = "nvidia,tegra194-carmel"; + device_type = "cpu"; + reg = <0x101>; + enable-method = "psci"; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/omap/l4.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/omap/l4.txt index 9f9a829f9f..6816adcdc1 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/omap/l4.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/omap/l4.txt @@ -1,37 +1,37 @@ -L4 interconnect bindings - -These bindings describe the OMAP SoCs L4 interconnect bus. - -Required properties: -- compatible : Should be "ti,omap2-l4" for OMAP2 family l4 core bus - Should be "ti,omap2-l4-wkup" for OMAP2 family l4 wkup bus - Should be "ti,omap3-l4-core" for OMAP3 family l4 core bus - Should be "ti,omap4-l4-cfg" for OMAP4 family l4 cfg bus - Should be "ti,omap4-l4-per" for OMAP4 family l4 per bus - Should be "ti,omap4-l4-wkup" for OMAP4 family l4 wkup bus - Should be "ti,omap5-l4-cfg" for OMAP5 family l4 cfg bus - Should be "ti,omap5-l4-wkup" for OMAP5 family l4 wkup bus - Should be "ti,dra7-l4-cfg" for DRA7 family l4 cfg bus - Should be "ti,dra7-l4-wkup" for DRA7 family l4 wkup bus - Should be "ti,am3-l4-wkup" for AM33xx family l4 wkup bus - Should be "ti,am4-l4-wkup" for AM43xx family l4 wkup bus -- ranges : contains the IO map range for the bus -- reg : registers link agent and interconnect agent and access protection -- reg-names : "la" for link agent, "ia0" to "ia3" for one to three - interconnect agent instances, "ap" for access if it exists - -Examples: - -l4: interconnect@48000000 { - compatible "ti,omap4-l4-per", "simple-bus"; - reg = <0x48000000 0x800>, - <0x48000800 0x800>, - <0x48001000 0x400>, - <0x48001400 0x400>, - <0x48001800 0x400>, - <0x48001c00 0x400>; - reg-names = "ap", "la", "ia0", "ia1", "ia2", "ia3"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 0x48000000 0x100000>; -}; +L4 interconnect bindings + +These bindings describe the OMAP SoCs L4 interconnect bus. + +Required properties: +- compatible : Should be "ti,omap2-l4" for OMAP2 family l4 core bus + Should be "ti,omap2-l4-wkup" for OMAP2 family l4 wkup bus + Should be "ti,omap3-l4-core" for OMAP3 family l4 core bus + Should be "ti,omap4-l4-cfg" for OMAP4 family l4 cfg bus + Should be "ti,omap4-l4-per" for OMAP4 family l4 per bus + Should be "ti,omap4-l4-wkup" for OMAP4 family l4 wkup bus + Should be "ti,omap5-l4-cfg" for OMAP5 family l4 cfg bus + Should be "ti,omap5-l4-wkup" for OMAP5 family l4 wkup bus + Should be "ti,dra7-l4-cfg" for DRA7 family l4 cfg bus + Should be "ti,dra7-l4-wkup" for DRA7 family l4 wkup bus + Should be "ti,am3-l4-wkup" for AM33xx family l4 wkup bus + Should be "ti,am4-l4-wkup" for AM43xx family l4 wkup bus +- ranges : contains the IO map range for the bus +- reg : registers link agent and interconnect agent and access protection +- reg-names : "la" for link agent, "ia0" to "ia3" for one to three + interconnect agent instances, "ap" for access if it exists + +Examples: + +l4: interconnect@48000000 { + compatible "ti,omap4-l4-per", "simple-bus"; + reg = <0x48000000 0x800>, + <0x48000800 0x800>, + <0x48001000 0x400>, + <0x48001400 0x400>, + <0x48001800 0x400>, + <0x48001c00 0x400>; + reg-names = "ap", "la", "ia0", "ia1", "ia2", "ia3"; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0 0x48000000 0x100000>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/omap/prcm.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/omap/prcm.txt index a4d74ba468..431ef8c56a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/omap/prcm.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/omap/prcm.txt @@ -1,68 +1,68 @@ -OMAP PRCM bindings - -Power Reset and Clock Manager lists the device clocks and clockdomains under -a DT hierarchy. Each TI SoC can have multiple PRCM entities listed for it, -each describing one module and the clock hierarchy under it. see [1] for -documentation about the individual clock/clockdomain nodes. - -[1] Documentation/devicetree/bindings/clock/ti/* - -Required properties: -- compatible: Must be one of: - "ti,am3-prcm" - "ti,am4-prcm" - "ti,omap2-prcm" - "ti,omap3-prm" - "ti,omap3-cm" - "ti,omap4-cm1" - "ti,omap4-prm" - "ti,omap4-cm2" - "ti,omap4-scrm" - "ti,omap5-prm" - "ti,omap5-cm-core-aon" - "ti,omap5-scrm" - "ti,omap5-cm-core" - "ti,dra7-prm" - "ti,dra7-cm-core-aon" - "ti,dra7-cm-core" - "ti,dm814-prcm" - "ti,dm816-prcm" -- reg: Contains PRCM module register address range - (base address and length) -- clocks: clocks for this module -- clockdomains: clockdomains for this module -- #clock-cells: From common clock binding -- clock-output-names: From common clock binding - - -Example: - -cm: clock@48004000 { - compatible = "ti,omap3-cm"; - reg = <0x48004000 0x4000>; - #clock-cells = <0>; - clock-output-names = "cm"; - - cm_clocks: clocks { - #address-cells = <1>; - #size-cells = <0>; - }; - - cm_clockdomains: clockdomains { - }; -} - -&cm_clocks { - omap2_32k_fck: omap_32k_fck { - #clock-cells = <0>; - compatible = "fixed-clock"; - clock-frequency = <32768>; - }; -}; - -&cm_clockdomains { - core_l3_clkdm: core_l3_clkdm { - compatible = "ti,clockdomain"; - clocks = <&sdrc_ick>; - }; -}; +OMAP PRCM bindings + +Power Reset and Clock Manager lists the device clocks and clockdomains under +a DT hierarchy. Each TI SoC can have multiple PRCM entities listed for it, +each describing one module and the clock hierarchy under it. see [1] for +documentation about the individual clock/clockdomain nodes. + +[1] Documentation/devicetree/bindings/clock/ti/* + +Required properties: +- compatible: Must be one of: + "ti,am3-prcm" + "ti,am4-prcm" + "ti,omap2-prcm" + "ti,omap3-prm" + "ti,omap3-cm" + "ti,omap4-cm1" + "ti,omap4-prm" + "ti,omap4-cm2" + "ti,omap4-scrm" + "ti,omap5-prm" + "ti,omap5-cm-core-aon" + "ti,omap5-scrm" + "ti,omap5-cm-core" + "ti,dra7-prm" + "ti,dra7-cm-core-aon" + "ti,dra7-cm-core" + "ti,dm814-prcm" + "ti,dm816-prcm" +- reg: Contains PRCM module register address range + (base address and length) +- clocks: clocks for this module +- clockdomains: clockdomains for this module +- #clock-cells: From common clock binding +- clock-output-names: From common clock binding + + +Example: + +cm: clock@48004000 { + compatible = "ti,omap3-cm"; + reg = <0x48004000 0x4000>; + #clock-cells = <0>; + clock-output-names = "cm"; + + cm_clocks: clocks { + #address-cells = <1>; + #size-cells = <0>; + }; + + cm_clockdomains: clockdomains { + }; +} + +&cm_clocks { + omap2_32k_fck: omap_32k_fck { + #clock-cells = <0>; + compatible = "fixed-clock"; + clock-frequency = <32768>; + }; +}; + +&cm_clockdomains { + core_l3_clkdm: core_l3_clkdm { + compatible = "ti,clockdomain"; + clocks = <&sdrc_ick>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/realtek.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/realtek.yaml index 8c44fd1869..ddd9a85099 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/realtek.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/realtek.yaml @@ -1,60 +1,60 @@ -# SPDX-License-Identifier: GPL-2.0-or-later OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/arm/realtek.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Realtek platforms - -maintainers: - - Andreas Färber - -properties: - $nodename: - const: '/' - compatible: - oneOf: - # RTD1195 SoC based boards - - items: - - enum: - - mele,x1000 # MeLE X1000 - - realtek,horseradish # Realtek Horseradish EVB - - const: realtek,rtd1195 - - # RTD1293 SoC based boards - - items: - - enum: - - synology,ds418j # Synology DiskStation DS418j - - const: realtek,rtd1293 - - # RTD1295 SoC based boards - - items: - - enum: - - mele,v9 # MeLE V9 - - probox2,ava # ProBox2 AVA - - xnano,x5 # Xnano X5 - - zidoo,x9s # Zidoo X9S - - const: realtek,rtd1295 - - # RTD1296 SoC based boards - - items: - - enum: - - synology,ds418 # Synology DiskStation DS418 - - const: realtek,rtd1296 - - # RTD1395 SoC based boards - - items: - - enum: - - bananapi,bpi-m4 # Banana Pi BPI-M4 - - realtek,lion-skin # Realtek Lion Skin EVB - - const: realtek,rtd1395 - - # RTD1619 SoC based boards - - items: - - enum: - - realtek,mjolnir # Realtek Mjolnir EVB - - const: realtek,rtd1619 - -additionalProperties: true - -... +# SPDX-License-Identifier: GPL-2.0-or-later OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/realtek.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Realtek platforms + +maintainers: + - Andreas Färber + +properties: + $nodename: + const: '/' + compatible: + oneOf: + # RTD1195 SoC based boards + - items: + - enum: + - mele,x1000 # MeLE X1000 + - realtek,horseradish # Realtek Horseradish EVB + - const: realtek,rtd1195 + + # RTD1293 SoC based boards + - items: + - enum: + - synology,ds418j # Synology DiskStation DS418j + - const: realtek,rtd1293 + + # RTD1295 SoC based boards + - items: + - enum: + - mele,v9 # MeLE V9 + - probox2,ava # ProBox2 AVA + - xnano,x5 # Xnano X5 + - zidoo,x9s # Zidoo X9S + - const: realtek,rtd1295 + + # RTD1296 SoC based boards + - items: + - enum: + - synology,ds418 # Synology DiskStation DS418 + - const: realtek,rtd1296 + + # RTD1395 SoC based boards + - items: + - enum: + - bananapi,bpi-m4 # Banana Pi BPI-M4 + - realtek,lion-skin # Realtek Lion Skin EVB + - const: realtek,rtd1395 + + # RTD1619 SoC based boards + - items: + - enum: + - realtek,mjolnir # Realtek Mjolnir EVB + - const: realtek,rtd1619 + +additionalProperties: true + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/rockchip/pmu.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/rockchip/pmu.yaml index 47455026ef..932f981265 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/rockchip/pmu.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/rockchip/pmu.yaml @@ -1,67 +1,67 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/arm/rockchip/pmu.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Rockchip Power Management Unit (PMU) - -maintainers: - - Elaine Zhang - - Heiko Stuebner - -description: | - The PMU is used to turn on and off different power domains of the SoCs. - This includes the power to the CPU cores. - -select: - properties: - compatible: - contains: - enum: - - rockchip,px30-pmu - - rockchip,rk3066-pmu - - rockchip,rk3128-pmu - - rockchip,rk3288-pmu - - rockchip,rk3368-pmu - - rockchip,rk3399-pmu - - rockchip,rk3568-pmu - - rockchip,rk3576-pmu - - rockchip,rk3588-pmu - - rockchip,rv1126-pmu - - required: - - compatible - -properties: - compatible: - items: - - enum: - - rockchip,px30-pmu - - rockchip,rk3066-pmu - - rockchip,rk3128-pmu - - rockchip,rk3288-pmu - - rockchip,rk3368-pmu - - rockchip,rk3399-pmu - - rockchip,rk3568-pmu - - rockchip,rk3576-pmu - - rockchip,rk3588-pmu - - rockchip,rv1126-pmu - - const: syscon - - const: simple-mfd - - reg: - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: true - -examples: - - | - pmu@20004000 { - compatible = "rockchip,rk3066-pmu", "syscon", "simple-mfd"; - reg = <0x20004000 0x100>; - }; +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/rockchip/pmu.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Rockchip Power Management Unit (PMU) + +maintainers: + - Elaine Zhang + - Heiko Stuebner + +description: | + The PMU is used to turn on and off different power domains of the SoCs. + This includes the power to the CPU cores. + +select: + properties: + compatible: + contains: + enum: + - rockchip,px30-pmu + - rockchip,rk3066-pmu + - rockchip,rk3128-pmu + - rockchip,rk3288-pmu + - rockchip,rk3368-pmu + - rockchip,rk3399-pmu + - rockchip,rk3568-pmu + - rockchip,rk3576-pmu + - rockchip,rk3588-pmu + - rockchip,rv1126-pmu + + required: + - compatible + +properties: + compatible: + items: + - enum: + - rockchip,px30-pmu + - rockchip,rk3066-pmu + - rockchip,rk3128-pmu + - rockchip,rk3288-pmu + - rockchip,rk3368-pmu + - rockchip,rk3399-pmu + - rockchip,rk3568-pmu + - rockchip,rk3576-pmu + - rockchip,rk3588-pmu + - rockchip,rv1126-pmu + - const: syscon + - const: simple-mfd + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: true + +examples: + - | + pmu@20004000 { + compatible = "rockchip,rk3066-pmu", "syscon", "simple-mfd"; + reg = <0x20004000 0x100>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/sp810.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/sp810.yaml index 42ac1406b8..c9094e5ec5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/sp810.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/sp810.yaml @@ -1,80 +1,80 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/arm/sp810.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: ARM Versatile Express SP810 System Controller - -maintainers: - - Andre Przywara - -description: - The Arm SP810 system controller provides clocks, timers and a watchdog. - -# We need a select here so we don't match all nodes with 'arm,primecell' -select: - properties: - compatible: - contains: - const: arm,sp810 - required: - - compatible - -properties: - compatible: - items: - - const: arm,sp810 - - const: arm,primecell - - reg: - maxItems: 1 - - clock-names: - items: - - const: refclk - - const: timclk - - const: apb_pclk - - clocks: - items: - - description: reference clock - - description: timer clock - - description: APB register access clock - - "#clock-cells": - const: 1 - - clock-output-names: - maxItems: 4 - - assigned-clocks: - maxItems: 4 - - assigned-clock-parents: - maxItems: 4 - -additionalProperties: false - -required: - - compatible - - reg - - clocks - - clock-names - - "#clock-cells" - -examples: - - | - sysctl@20000 { - compatible = "arm,sp810", "arm,primecell"; - reg = <0x020000 0x1000>; - clocks = <&v2m_refclk32khz>, <&v2m_refclk1mhz>, <&smbclk>; - clock-names = "refclk", "timclk", "apb_pclk"; - #clock-cells = <1>; - clock-output-names = "timerclken0", "timerclken1", - "timerclken2", "timerclken3"; - assigned-clocks = <&v2m_sysctl 0>, <&v2m_sysctl 1>, - <&v2m_sysctl 3>, <&v2m_sysctl 3>; - assigned-clock-parents = <&v2m_refclk1mhz>, <&v2m_refclk1mhz>, - <&v2m_refclk1mhz>, <&v2m_refclk1mhz>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/sp810.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ARM Versatile Express SP810 System Controller + +maintainers: + - Andre Przywara + +description: + The Arm SP810 system controller provides clocks, timers and a watchdog. + +# We need a select here so we don't match all nodes with 'arm,primecell' +select: + properties: + compatible: + contains: + const: arm,sp810 + required: + - compatible + +properties: + compatible: + items: + - const: arm,sp810 + - const: arm,primecell + + reg: + maxItems: 1 + + clock-names: + items: + - const: refclk + - const: timclk + - const: apb_pclk + + clocks: + items: + - description: reference clock + - description: timer clock + - description: APB register access clock + + "#clock-cells": + const: 1 + + clock-output-names: + maxItems: 4 + + assigned-clocks: + maxItems: 4 + + assigned-clock-parents: + maxItems: 4 + +additionalProperties: false + +required: + - compatible + - reg + - clocks + - clock-names + - "#clock-cells" + +examples: + - | + sysctl@20000 { + compatible = "arm,sp810", "arm,primecell"; + reg = <0x020000 0x1000>; + clocks = <&v2m_refclk32khz>, <&v2m_refclk1mhz>, <&smbclk>; + clock-names = "refclk", "timclk", "apb_pclk"; + #clock-cells = <1>; + clock-output-names = "timerclken0", "timerclken1", + "timerclken2", "timerclken3"; + assigned-clocks = <&v2m_sysctl 0>, <&v2m_sysctl 1>, + <&v2m_sysctl 3>, <&v2m_sysctl 3>; + assigned-clock-parents = <&v2m_refclk1mhz>, <&v2m_refclk1mhz>, + <&v2m_refclk1mhz>, <&v2m_refclk1mhz>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/ux500/boards.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/ux500/boards.txt index 7d50b56d84..18d55532d3 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/ux500/boards.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/ux500/boards.txt @@ -1,83 +1,83 @@ -ST-Ericsson Ux500 boards ------------------------- - -Required properties (in root node) one of these: - compatible = "st-ericsson,mop500" (legacy) - compatible = "st-ericsson,u8500" - -Required node (under root node): - -soc: represents the system-on-chip and contains the chip -peripherals - -Required property of soc node, one of these: - compatible = "stericsson,db8500" - -Required subnodes under soc node: - -backupram: (used for CPU spin tables and for storing data -during retention, system won't boot without this): - compatible = "ste,dbx500-backupram" - -scu: - see binding for arm/arm,scu.yaml - -interrupt-controller: - see binding for interrupt-controller/arm,gic.txt - -timer: - see binding for timer/arm,twd-timer.yaml - -clocks: - see binding for clocks/ux500.txt - -Example: - -/dts-v1/; - -/ { - model = "ST-Ericsson HREF (pre-v60) and ST UIB"; - compatible = "st-ericsson,mop500", "st-ericsson,u8500"; - - soc { - #address-cells = <1>; - #size-cells = <1>; - compatible = "stericsson,db8500"; - interrupt-parent = <&intc>; - ranges; - - backupram@80150000 { - compatible = "ste,dbx500-backupram"; - reg = <0x80150000 0x2000>; - }; - - intc: interrupt-controller@a0411000 { - compatible = "arm,cortex-a9-gic"; - #interrupt-cells = <3>; - #address-cells = <1>; - interrupt-controller; - reg = <0xa0411000 0x1000>, - <0xa0410100 0x100>; - }; - - scu@a0410000 { - compatible = "arm,cortex-a9-scu"; - reg = <0xa0410000 0x100>; - }; - - timer@a0410600 { - compatible = "arm,cortex-a9-twd-timer"; - reg = <0xa0410600 0x20>; - interrupts = <1 13 0x304>; /* IRQ level high per-CPU */ - clocks = <&smp_twd_clk>; - }; - - clocks { - compatible = "stericsson,u8500-clks"; - - smp_twd_clk: smp-twd-clock { - #clock-cells = <0>; - }; - }; - }; -}; +ST-Ericsson Ux500 boards +------------------------ + +Required properties (in root node) one of these: + compatible = "st-ericsson,mop500" (legacy) + compatible = "st-ericsson,u8500" + +Required node (under root node): + +soc: represents the system-on-chip and contains the chip +peripherals + +Required property of soc node, one of these: + compatible = "stericsson,db8500" + +Required subnodes under soc node: + +backupram: (used for CPU spin tables and for storing data +during retention, system won't boot without this): + compatible = "ste,dbx500-backupram" + +scu: + see binding for arm/arm,scu.yaml + +interrupt-controller: + see binding for interrupt-controller/arm,gic.txt + +timer: + see binding for timer/arm,twd-timer.yaml + +clocks: + see binding for clocks/ux500.txt + +Example: + +/dts-v1/; + +/ { + model = "ST-Ericsson HREF (pre-v60) and ST UIB"; + compatible = "st-ericsson,mop500", "st-ericsson,u8500"; + + soc { + #address-cells = <1>; + #size-cells = <1>; + compatible = "stericsson,db8500"; + interrupt-parent = <&intc>; + ranges; + + backupram@80150000 { + compatible = "ste,dbx500-backupram"; + reg = <0x80150000 0x2000>; + }; + + intc: interrupt-controller@a0411000 { + compatible = "arm,cortex-a9-gic"; + #interrupt-cells = <3>; + #address-cells = <1>; + interrupt-controller; + reg = <0xa0411000 0x1000>, + <0xa0410100 0x100>; + }; + + scu@a0410000 { + compatible = "arm,cortex-a9-scu"; + reg = <0xa0410000 0x100>; + }; + + timer@a0410600 { + compatible = "arm,cortex-a9-twd-timer"; + reg = <0xa0410600 0x20>; + interrupts = <1 13 0x304>; /* IRQ level high per-CPU */ + clocks = <&smp_twd_clk>; + }; + + clocks { + compatible = "stericsson,u8500-clks"; + + smp_twd_clk: smp-twd-clock { + #clock-cells = <0>; + }; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ata/allwinner,sun8i-r40-ahci.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ata/allwinner,sun8i-r40-ahci.yaml index e8af3a63ab..a2afe2ad60 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ata/allwinner,sun8i-r40-ahci.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ata/allwinner,sun8i-r40-ahci.yaml @@ -1,67 +1,67 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/ata/allwinner,sun8i-r40-ahci.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Allwinner R40 AHCI SATA Controller - -maintainers: - - Chen-Yu Tsai - - Maxime Ripard - -properties: - compatible: - const: allwinner,sun8i-r40-ahci - - reg: - maxItems: 1 - - clocks: - items: - - description: AHCI Bus Clock - - description: AHCI Module Clock - - interrupts: - maxItems: 1 - - resets: - maxItems: 1 - - reset-names: - const: ahci - - ahci-supply: - description: Regulator for the AHCI controller - - phy-supply: - description: Regulator for the SATA PHY power - -required: - - compatible - - reg - - clocks - - interrupts - - resets - - reset-names - -additionalProperties: false - -examples: - - | - #include - #include - #include - - ahci: sata@1c18000 { - compatible = "allwinner,sun8i-r40-ahci"; - reg = <0x01c18000 0x1000>; - interrupts = ; - clocks = <&ccu CLK_BUS_SATA>, <&ccu CLK_SATA>; - resets = <&ccu RST_BUS_SATA>; - reset-names = "ahci"; - ahci-supply = <®_dldo4>; - phy-supply = <®_eldo3>; - }; - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/ata/allwinner,sun8i-r40-ahci.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Allwinner R40 AHCI SATA Controller + +maintainers: + - Chen-Yu Tsai + - Maxime Ripard + +properties: + compatible: + const: allwinner,sun8i-r40-ahci + + reg: + maxItems: 1 + + clocks: + items: + - description: AHCI Bus Clock + - description: AHCI Module Clock + + interrupts: + maxItems: 1 + + resets: + maxItems: 1 + + reset-names: + const: ahci + + ahci-supply: + description: Regulator for the AHCI controller + + phy-supply: + description: Regulator for the SATA PHY power + +required: + - compatible + - reg + - clocks + - interrupts + - resets + - reset-names + +additionalProperties: false + +examples: + - | + #include + #include + #include + + ahci: sata@1c18000 { + compatible = "allwinner,sun8i-r40-ahci"; + reg = <0x01c18000 0x1000>; + interrupts = ; + clocks = <&ccu CLK_BUS_SATA>, <&ccu CLK_SATA>; + resets = <&ccu RST_BUS_SATA>; + reset-names = "ahci"; + ahci-supply = <®_dldo4>; + phy-supply = <®_eldo3>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ata/brcm,sata-brcm.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ata/brcm,sata-brcm.yaml index 0876ace374..fe7f091e74 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ata/brcm,sata-brcm.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ata/brcm,sata-brcm.yaml @@ -1,87 +1,87 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/ata/brcm,sata-brcm.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Broadcom SATA3 AHCI Controller - -description: - SATA nodes are defined to describe on-chip Serial ATA controllers. - Each SATA controller should have its own node. - -maintainers: - - Florian Fainelli - -allOf: - - $ref: ahci-common.yaml# - -properties: - compatible: - oneOf: - - items: - - enum: - - brcm,bcm7216-ahci - - brcm,bcm7445-ahci - - brcm,bcm7425-ahci - - brcm,bcm63138-ahci - - const: brcm,sata3-ahci - - items: - - const: brcm,bcm-nsp-ahci - - reg: - maxItems: 2 - - reg-names: - items: - - const: ahci - - const: top-ctrl - - interrupts: - maxItems: 1 - -if: - properties: - compatible: - contains: - enum: - - brcm,bcm7216-ahci - - brcm,bcm63138-ahci -then: - properties: - resets: - maxItems: 1 - reset-names: - enum: - - rescal - - ahci - -required: - - compatible - - reg - - interrupts - - "#address-cells" - - "#size-cells" - -unevaluatedProperties: false - -examples: - - | - sata@f045a000 { - compatible = "brcm,bcm7445-ahci", "brcm,sata3-ahci"; - reg = <0xf045a000 0xa9c>, <0xf0458040 0x24>; - reg-names = "ahci", "top-ctrl"; - interrupts = <0 30 0>; - #address-cells = <1>; - #size-cells = <0>; - - sata0: sata-port@0 { - reg = <0>; - phys = <&sata_phy 0>; - }; - - sata1: sata-port@1 { - reg = <1>; - phys = <&sata_phy 1>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/ata/brcm,sata-brcm.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom SATA3 AHCI Controller + +description: + SATA nodes are defined to describe on-chip Serial ATA controllers. + Each SATA controller should have its own node. + +maintainers: + - Florian Fainelli + +allOf: + - $ref: ahci-common.yaml# + +properties: + compatible: + oneOf: + - items: + - enum: + - brcm,bcm7216-ahci + - brcm,bcm7445-ahci + - brcm,bcm7425-ahci + - brcm,bcm63138-ahci + - const: brcm,sata3-ahci + - items: + - const: brcm,bcm-nsp-ahci + + reg: + maxItems: 2 + + reg-names: + items: + - const: ahci + - const: top-ctrl + + interrupts: + maxItems: 1 + +if: + properties: + compatible: + contains: + enum: + - brcm,bcm7216-ahci + - brcm,bcm63138-ahci +then: + properties: + resets: + maxItems: 1 + reset-names: + enum: + - rescal + - ahci + +required: + - compatible + - reg + - interrupts + - "#address-cells" + - "#size-cells" + +unevaluatedProperties: false + +examples: + - | + sata@f045a000 { + compatible = "brcm,bcm7445-ahci", "brcm,sata3-ahci"; + reg = <0xf045a000 0xa9c>, <0xf0458040 0x24>; + reg-names = "ahci", "top-ctrl"; + interrupts = <0 30 0>; + #address-cells = <1>; + #size-cells = <0>; + + sata0: sata-port@0 { + reg = <0>; + phys = <&sata_phy 0>; + }; + + sata1: sata-port@1 { + reg = <1>; + phys = <&sata_phy 1>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ata/intel,ixp4xx-compact-flash.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ata/intel,ixp4xx-compact-flash.yaml index 44f085c7e8..378692010c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ata/intel,ixp4xx-compact-flash.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ata/intel,ixp4xx-compact-flash.yaml @@ -1,62 +1,62 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/ata/intel,ixp4xx-compact-flash.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Intel IXP4xx CompactFlash Card Controller - -maintainers: - - Linus Walleij - -description: | - The IXP4xx network processors have a CompactFlash interface that presents - a CompactFlash card to the system as a true IDE (parallel ATA) device. The - device is always connected to the expansion bus of the IXP4xx SoCs using one - or two chip select areas and address translating logic on the board. The - node must be placed inside a chip select node on the IXP4xx expansion bus. - -properties: - compatible: - const: intel,ixp4xx-compact-flash - - reg: - items: - - description: Command interface registers - - description: Control interface registers - - interrupts: - maxItems: 1 - -required: - - compatible - - reg - - interrupts - -allOf: - - $ref: pata-common.yaml# - - $ref: /schemas/memory-controllers/intel,ixp4xx-expansion-peripheral-props.yaml# - -unevaluatedProperties: false - -examples: - - | - #include - - bus@c4000000 { - compatible = "intel,ixp43x-expansion-bus-controller", "syscon"; - reg = <0xc4000000 0x1000>; - native-endian; - #address-cells = <2>; - #size-cells = <1>; - ranges = <0 0x0 0x50000000 0x01000000>, <1 0x0 0x51000000 0x01000000>; - dma-ranges = <0 0x0 0x50000000 0x01000000>, <1 0x0 0x51000000 0x01000000>; - ide@1,0 { - compatible = "intel,ixp4xx-compact-flash"; - reg = <1 0x00000000 0x1000>, <1 0x00040000 0x1000>; - interrupt-parent = <&gpio0>; - interrupts = <12 IRQ_TYPE_EDGE_RISING>; - }; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/ata/intel,ixp4xx-compact-flash.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Intel IXP4xx CompactFlash Card Controller + +maintainers: + - Linus Walleij + +description: | + The IXP4xx network processors have a CompactFlash interface that presents + a CompactFlash card to the system as a true IDE (parallel ATA) device. The + device is always connected to the expansion bus of the IXP4xx SoCs using one + or two chip select areas and address translating logic on the board. The + node must be placed inside a chip select node on the IXP4xx expansion bus. + +properties: + compatible: + const: intel,ixp4xx-compact-flash + + reg: + items: + - description: Command interface registers + - description: Control interface registers + + interrupts: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + +allOf: + - $ref: pata-common.yaml# + - $ref: /schemas/memory-controllers/intel,ixp4xx-expansion-peripheral-props.yaml# + +unevaluatedProperties: false + +examples: + - | + #include + + bus@c4000000 { + compatible = "intel,ixp43x-expansion-bus-controller", "syscon"; + reg = <0xc4000000 0x1000>; + native-endian; + #address-cells = <2>; + #size-cells = <1>; + ranges = <0 0x0 0x50000000 0x01000000>, <1 0x0 0x51000000 0x01000000>; + dma-ranges = <0 0x0 0x50000000 0x01000000>, <1 0x0 0x51000000 0x01000000>; + ide@1,0 { + compatible = "intel,ixp4xx-compact-flash"; + reg = <1 0x00000000 0x1000>, <1 0x00040000 0x1000>; + interrupt-parent = <&gpio0>; + interrupts = <12 IRQ_TYPE_EDGE_RISING>; + }; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ata/pata-common.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ata/pata-common.yaml index a565b88781..4e867dd4d4 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ata/pata-common.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ata/pata-common.yaml @@ -1,53 +1,53 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/ata/pata-common.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Common Properties for Parallel AT attachment (PATA) controllers - -maintainers: - - Linus Walleij - -description: | - This document defines device tree properties common to most Parallel - ATA (PATA, also known as IDE) AT attachment storage devices. - It doesn't constitute a device tree binding specification by itself but is - meant to be referenced by device tree bindings. - - The PATA (IDE) controller-specific device tree bindings are responsible for - defining whether each property is required or optional. - -properties: - $nodename: - pattern: "^ide(@.*)?$" - description: - Specifies the host controller node. PATA host controller nodes are named - "ide". - - "#address-cells": - const: 1 - - "#size-cells": - const: 0 - -patternProperties: - "^ide-port@[0-1]$": - description: | - DT nodes for ports connected on the PATA host. The master drive will have - ID number 0 and the slave drive will have ID number 1. The PATA port - nodes will be named "ide-port". - type: object - additionalProperties: false - - properties: - reg: - minimum: 0 - maximum: 1 - description: - The ID number of the drive port, 0 for the master port and 1 for the - slave port. - -additionalProperties: true - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/ata/pata-common.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Common Properties for Parallel AT attachment (PATA) controllers + +maintainers: + - Linus Walleij + +description: | + This document defines device tree properties common to most Parallel + ATA (PATA, also known as IDE) AT attachment storage devices. + It doesn't constitute a device tree binding specification by itself but is + meant to be referenced by device tree bindings. + + The PATA (IDE) controller-specific device tree bindings are responsible for + defining whether each property is required or optional. + +properties: + $nodename: + pattern: "^ide(@.*)?$" + description: + Specifies the host controller node. PATA host controller nodes are named + "ide". + + "#address-cells": + const: 1 + + "#size-cells": + const: 0 + +patternProperties: + "^ide-port@[0-1]$": + description: | + DT nodes for ports connected on the PATA host. The master drive will have + ID number 0 and the slave drive will have ID number 1. The PATA port + nodes will be named "ide-port". + type: object + additionalProperties: false + + properties: + reg: + minimum: 0 + maximum: 1 + description: + The ID number of the drive port, 0 for the master port and 1 for the + slave port. + +additionalProperties: true + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ata/sata-common.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ata/sata-common.yaml index 5bb5e7c6ee..58c9342b99 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ata/sata-common.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ata/sata-common.yaml @@ -1,57 +1,57 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/ata/sata-common.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Common Properties for Serial AT attachment (SATA) controllers - -maintainers: - - Linus Walleij - -description: | - This document defines device tree properties common to most Serial - AT attachment (SATA) storage devices. It doesn't constitute a device tree - binding specification by itself but is meant to be referenced by device - tree bindings. - - The SATA controller-specific device tree bindings are responsible for - defining whether each property is required or optional. - -properties: - $nodename: - pattern: "^sata(@.*)?$" - description: - Specifies the host controller node. SATA host controller nodes are named - "sata" - - "#address-cells": - const: 1 - - "#size-cells": - const: 0 - - dma-coherent: true - -patternProperties: - "^sata-port@[0-9a-e]$": - $ref: '#/$defs/sata-port' - description: | - DT nodes for ports connected on the SATA host. The SATA port - nodes will be named "sata-port". - -additionalProperties: true - -$defs: - sata-port: - type: object - - properties: - reg: - minimum: 0 - description: - The ID number of the SATA port. Aside with being directly used, - each port can have a Port Multiplier attached thus allowing to - access more than one drive by means of a single SATA port. - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/ata/sata-common.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Common Properties for Serial AT attachment (SATA) controllers + +maintainers: + - Linus Walleij + +description: | + This document defines device tree properties common to most Serial + AT attachment (SATA) storage devices. It doesn't constitute a device tree + binding specification by itself but is meant to be referenced by device + tree bindings. + + The SATA controller-specific device tree bindings are responsible for + defining whether each property is required or optional. + +properties: + $nodename: + pattern: "^sata(@.*)?$" + description: + Specifies the host controller node. SATA host controller nodes are named + "sata" + + "#address-cells": + const: 1 + + "#size-cells": + const: 0 + + dma-coherent: true + +patternProperties: + "^sata-port@[0-9a-e]$": + $ref: '#/$defs/sata-port' + description: | + DT nodes for ports connected on the SATA host. The SATA port + nodes will be named "sata-port". + +additionalProperties: true + +$defs: + sata-port: + type: object + + properties: + reg: + minimum: 0 + description: + The ID number of the SATA port. Aside with being directly used, + each port can have a Port Multiplier attached thus allowing to + access more than one drive by means of a single SATA port. + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ata/snps,dwc-ahci.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ata/snps,dwc-ahci.yaml index 9c886a1a61..4c848fcb5a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ata/snps,dwc-ahci.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ata/snps,dwc-ahci.yaml @@ -1,80 +1,80 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/ata/snps,dwc-ahci.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Synopsys DWC AHCI SATA controller - -maintainers: - - Serge Semin - -description: - This document defines device tree bindings for the generic Synopsys DWC - implementation of the AHCI SATA controller. - -select: - properties: - compatible: - enum: - - snps,dwc-ahci - - snps,spear-ahci - required: - - compatible - -allOf: - - $ref: snps,dwc-ahci-common.yaml# - -properties: - compatible: - oneOf: - - description: Synopsys AHCI SATA-compatible devices - const: snps,dwc-ahci - - description: SPEAr1340 AHCI SATA device - const: snps,spear-ahci - -patternProperties: - "^sata-port@[0-9a-e]$": - $ref: /schemas/ata/snps,dwc-ahci-common.yaml#/$defs/dwc-ahci-port - - unevaluatedProperties: false - -required: - - compatible - - reg - - interrupts - -unevaluatedProperties: false - -examples: - - | - #include - #include - - sata@122f0000 { - compatible = "snps,dwc-ahci"; - reg = <0x122F0000 0x1ff>; - #address-cells = <1>; - #size-cells = <0>; - - interrupts = ; - - clocks = <&clock1>, <&clock2>; - clock-names = "aclk", "ref"; - - phys = <&sata_phy>; - phy-names = "sata-phy"; - - ports-implemented = <0x1>; - - sata-port@0 { - reg = <0>; - - hba-port-cap = ; - - snps,tx-ts-max = <512>; - snps,rx-ts-max = <512>; - }; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/ata/snps,dwc-ahci.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Synopsys DWC AHCI SATA controller + +maintainers: + - Serge Semin + +description: + This document defines device tree bindings for the generic Synopsys DWC + implementation of the AHCI SATA controller. + +select: + properties: + compatible: + enum: + - snps,dwc-ahci + - snps,spear-ahci + required: + - compatible + +allOf: + - $ref: snps,dwc-ahci-common.yaml# + +properties: + compatible: + oneOf: + - description: Synopsys AHCI SATA-compatible devices + const: snps,dwc-ahci + - description: SPEAr1340 AHCI SATA device + const: snps,spear-ahci + +patternProperties: + "^sata-port@[0-9a-e]$": + $ref: /schemas/ata/snps,dwc-ahci-common.yaml#/$defs/dwc-ahci-port + + unevaluatedProperties: false + +required: + - compatible + - reg + - interrupts + +unevaluatedProperties: false + +examples: + - | + #include + #include + + sata@122f0000 { + compatible = "snps,dwc-ahci"; + reg = <0x122F0000 0x1ff>; + #address-cells = <1>; + #size-cells = <0>; + + interrupts = ; + + clocks = <&clock1>, <&clock2>; + clock-names = "aclk", "ref"; + + phys = <&sata_phy>; + phy-names = "sata-phy"; + + ports-implemented = <0x1>; + + sata-port@0 { + reg = <0>; + + hba-port-cap = ; + + snps,tx-ts-max = <512>; + snps,rx-ts-max = <512>; + }; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/auxdisplay/gpio-7-segment.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/auxdisplay/gpio-7-segment.yaml index cfefd9bdc4..328954893c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/auxdisplay/gpio-7-segment.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/auxdisplay/gpio-7-segment.yaml @@ -1,55 +1,55 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/auxdisplay/gpio-7-segment.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: GPIO based LED segment display - -maintainers: - - Chris Packham - -properties: - compatible: - const: gpio-7-segment - - segment-gpios: - description: | - An array of GPIOs one per segment. The first GPIO corresponds to the A - segment, the seventh GPIO corresponds to the G segment. Some LED blocks - also have a decimal point which can be specified as an optional eighth - segment. - - -a- - | | - f b - | | - -g- - | | - e c - | | - -d- dp - - minItems: 7 - maxItems: 8 - -required: - - segment-gpios - -additionalProperties: false - -examples: - - | - - #include - - led-7seg { - compatible = "gpio-7-segment"; - segment-gpios = <&gpio 0 GPIO_ACTIVE_LOW>, - <&gpio 1 GPIO_ACTIVE_LOW>, - <&gpio 2 GPIO_ACTIVE_LOW>, - <&gpio 3 GPIO_ACTIVE_LOW>, - <&gpio 4 GPIO_ACTIVE_LOW>, - <&gpio 5 GPIO_ACTIVE_LOW>, - <&gpio 6 GPIO_ACTIVE_LOW>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/auxdisplay/gpio-7-segment.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: GPIO based LED segment display + +maintainers: + - Chris Packham + +properties: + compatible: + const: gpio-7-segment + + segment-gpios: + description: | + An array of GPIOs one per segment. The first GPIO corresponds to the A + segment, the seventh GPIO corresponds to the G segment. Some LED blocks + also have a decimal point which can be specified as an optional eighth + segment. + + -a- + | | + f b + | | + -g- + | | + e c + | | + -d- dp + + minItems: 7 + maxItems: 8 + +required: + - segment-gpios + +additionalProperties: false + +examples: + - | + + #include + + led-7seg { + compatible = "gpio-7-segment"; + segment-gpios = <&gpio 0 GPIO_ACTIVE_LOW>, + <&gpio 1 GPIO_ACTIVE_LOW>, + <&gpio 2 GPIO_ACTIVE_LOW>, + <&gpio 3 GPIO_ACTIVE_LOW>, + <&gpio 4 GPIO_ACTIVE_LOW>, + <&gpio 5 GPIO_ACTIVE_LOW>, + <&gpio 6 GPIO_ACTIVE_LOW>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/board/fsl,fpga-qixis-i2c.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/board/fsl,fpga-qixis-i2c.yaml index 72c2a8938a..28b37772fb 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/board/fsl,fpga-qixis-i2c.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/board/fsl,fpga-qixis-i2c.yaml @@ -1,70 +1,70 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/board/fsl,fpga-qixis-i2c.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Freescale on-board FPGA connected on I2C bus - -maintainers: - - Frank Li - -properties: - compatible: - oneOf: - - items: - - enum: - - fsl,bsc9132qds-fpga - - const: fsl,fpga-qixis-i2c - - items: - - enum: - - fsl,ls1028aqds-fpga - - fsl,lx2160aqds-fpga - - const: fsl,fpga-qixis-i2c - - const: simple-mfd - - interrupts: - maxItems: 1 - - reg: - maxItems: 1 - - mux-controller: - $ref: /schemas/mux/reg-mux.yaml - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - board-control@66 { - compatible = "fsl,bsc9132qds-fpga", "fsl,fpga-qixis-i2c"; - reg = <0x66>; - }; - }; - - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - board-control@66 { - compatible = "fsl,ls1028aqds-fpga", "fsl,fpga-qixis-i2c", - "simple-mfd"; - reg = <0x66>; - - mux-controller { - compatible = "reg-mux"; - #mux-control-cells = <1>; - mux-reg-masks = <0x54 0xf0>; /* 0: reg 0x54, bits 7:4 */ - }; - }; - }; - +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/board/fsl,fpga-qixis-i2c.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Freescale on-board FPGA connected on I2C bus + +maintainers: + - Frank Li + +properties: + compatible: + oneOf: + - items: + - enum: + - fsl,bsc9132qds-fpga + - const: fsl,fpga-qixis-i2c + - items: + - enum: + - fsl,ls1028aqds-fpga + - fsl,lx2160aqds-fpga + - const: fsl,fpga-qixis-i2c + - const: simple-mfd + + interrupts: + maxItems: 1 + + reg: + maxItems: 1 + + mux-controller: + $ref: /schemas/mux/reg-mux.yaml + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + board-control@66 { + compatible = "fsl,bsc9132qds-fpga", "fsl,fpga-qixis-i2c"; + reg = <0x66>; + }; + }; + + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + board-control@66 { + compatible = "fsl,ls1028aqds-fpga", "fsl,fpga-qixis-i2c", + "simple-mfd"; + reg = <0x66>; + + mux-controller { + compatible = "reg-mux"; + #mux-control-cells = <1>; + mux-reg-masks = <0x54 0xf0>; /* 0: reg 0x54, bits 7:4 */ + }; + }; + }; + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/board/fsl,fpga-qixis.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/board/fsl,fpga-qixis.yaml index a9e9a5eede..5a3cd431ef 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/board/fsl,fpga-qixis.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/board/fsl,fpga-qixis.yaml @@ -1,81 +1,81 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/board/fsl,fpga-qixis.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Freescale on-board FPGA/CPLD - -maintainers: - - Frank Li - -properties: - compatible: - oneOf: - - items: - - const: fsl,p1022ds-fpga - - const: fsl,fpga-ngpixis - - items: - - enum: - - fsl,ls1088aqds-fpga - - fsl,ls1088ardb-fpga - - fsl,ls2080aqds-fpga - - fsl,ls2080ardb-fpga - - const: fsl,fpga-qixis - - items: - - enum: - - fsl,ls1043aqds-fpga - - fsl,ls1043ardb-fpga - - fsl,ls1046aqds-fpga - - fsl,ls1046ardb-fpga - - fsl,ls208xaqds-fpga - - const: fsl,fpga-qixis - - const: simple-mfd - - enum: - - fsl,ls1043ardb-cpld - - fsl,ls1046ardb-cpld - - fsl,t1040rdb-cpld - - fsl,t1042rdb-cpld - - fsl,t1042rdb_pi-cpld - - interrupts: - maxItems: 1 - - reg: - maxItems: 1 - - "#address-cells": - const: 1 - - "#size-cells": - const: 1 - - ranges: - maxItems: 1 - -patternProperties: - '^mdio-mux@[a-f0-9,]+$': - $ref: /schemas/net/mdio-mux-mmioreg.yaml - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - #include - board-control@3 { - compatible = "fsl,p1022ds-fpga", "fsl,fpga-ngpixis"; - reg = <3 0x30>; - interrupt-parent = <&mpic>; - interrupts = <8 IRQ_TYPE_LEVEL_LOW 0 0>; - }; - - - | - board-control@3 { - compatible = "fsl,ls2080ardb-fpga", "fsl,fpga-qixis"; - reg = <0x3 0x10000>; - }; - +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/board/fsl,fpga-qixis.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Freescale on-board FPGA/CPLD + +maintainers: + - Frank Li + +properties: + compatible: + oneOf: + - items: + - const: fsl,p1022ds-fpga + - const: fsl,fpga-ngpixis + - items: + - enum: + - fsl,ls1088aqds-fpga + - fsl,ls1088ardb-fpga + - fsl,ls2080aqds-fpga + - fsl,ls2080ardb-fpga + - const: fsl,fpga-qixis + - items: + - enum: + - fsl,ls1043aqds-fpga + - fsl,ls1043ardb-fpga + - fsl,ls1046aqds-fpga + - fsl,ls1046ardb-fpga + - fsl,ls208xaqds-fpga + - const: fsl,fpga-qixis + - const: simple-mfd + - enum: + - fsl,ls1043ardb-cpld + - fsl,ls1046ardb-cpld + - fsl,t1040rdb-cpld + - fsl,t1042rdb-cpld + - fsl,t1042rdb_pi-cpld + + interrupts: + maxItems: 1 + + reg: + maxItems: 1 + + "#address-cells": + const: 1 + + "#size-cells": + const: 1 + + ranges: + maxItems: 1 + +patternProperties: + '^mdio-mux@[a-f0-9,]+$': + $ref: /schemas/net/mdio-mux-mmioreg.yaml + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + #include + board-control@3 { + compatible = "fsl,p1022ds-fpga", "fsl,fpga-ngpixis"; + reg = <3 0x30>; + interrupt-parent = <&mpic>; + interrupts = <8 IRQ_TYPE_LEVEL_LOW 0 0>; + }; + + - | + board-control@3 { + compatible = "fsl,ls2080ardb-fpga", "fsl,fpga-qixis"; + reg = <0x3 0x10000>; + }; + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/bus/allwinner,sun8i-a23-rsb.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/bus/allwinner,sun8i-a23-rsb.yaml index 792fdcff01..24c939f590 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/bus/allwinner,sun8i-a23-rsb.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/bus/allwinner,sun8i-a23-rsb.yaml @@ -1,82 +1,82 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/bus/allwinner,sun8i-a23-rsb.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Allwinner A23 RSB - -maintainers: - - Chen-Yu Tsai - - Maxime Ripard - -properties: - "#address-cells": - const: 1 - - "#size-cells": - const: 0 - - compatible: - oneOf: - - const: allwinner,sun8i-a23-rsb - - items: - - enum: - - allwinner,sun8i-a83t-rsb - - allwinner,sun50i-h616-rsb - - const: allwinner,sun8i-a23-rsb - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - maxItems: 1 - - resets: - maxItems: 1 - - clock-frequency: - minimum: 1 - maximum: 20000000 - -patternProperties: - "^.*@[0-9a-fA-F]+$": - type: object - additionalProperties: true - properties: - reg: - maxItems: 1 - - required: - - reg - -required: - - compatible - - reg - - interrupts - - clocks - - resets - -examples: - - | - rsb@1f03400 { - compatible = "allwinner,sun8i-a23-rsb"; - reg = <0x01f03400 0x400>; - interrupts = <0 39 4>; - clocks = <&apb0_gates 3>; - clock-frequency = <3000000>; - resets = <&apb0_rst 3>; - #address-cells = <1>; - #size-cells = <0>; - - pmic@3e3 { - reg = <0x3e3>; - - /* ... */ - }; - }; - -additionalProperties: false +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/bus/allwinner,sun8i-a23-rsb.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Allwinner A23 RSB + +maintainers: + - Chen-Yu Tsai + - Maxime Ripard + +properties: + "#address-cells": + const: 1 + + "#size-cells": + const: 0 + + compatible: + oneOf: + - const: allwinner,sun8i-a23-rsb + - items: + - enum: + - allwinner,sun8i-a83t-rsb + - allwinner,sun50i-h616-rsb + - const: allwinner,sun8i-a23-rsb + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + + resets: + maxItems: 1 + + clock-frequency: + minimum: 1 + maximum: 20000000 + +patternProperties: + "^.*@[0-9a-fA-F]+$": + type: object + additionalProperties: true + properties: + reg: + maxItems: 1 + + required: + - reg + +required: + - compatible + - reg + - interrupts + - clocks + - resets + +examples: + - | + rsb@1f03400 { + compatible = "allwinner,sun8i-a23-rsb"; + reg = <0x01f03400 0x400>; + interrupts = <0 39 4>; + clocks = <&apb0_gates 3>; + clock-frequency = <3000000>; + resets = <&apb0_rst 3>; + #address-cells = <1>; + #size-cells = <0>; + + pmic@3e3 { + reg = <0x3e3>; + + /* ... */ + }; + }; + +additionalProperties: false diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/bus/brcm,bus-axi.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/bus/brcm,bus-axi.txt index f575d49b7e..edd44d8021 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/bus/brcm,bus-axi.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/bus/brcm,bus-axi.txt @@ -1,53 +1,53 @@ -Driver for ARM AXI Bus with Broadcom Plugins (bcma) - -Required properties: - -- compatible : brcm,bus-axi - -- reg : iomem address range of chipcommon core - -The cores on the AXI bus are automatically detected by bcma with the -memory ranges they are using and they get registered afterwards. -Automatic detection of the IRQ number is not working on -BCM47xx/BCM53xx ARM SoCs. To assign IRQ numbers to the cores, provide -them manually through device tree. Use an interrupt-map to specify the -IRQ used by the devices on the bus. The first address is just an index, -because we do not have any special register. - -The top-level axi bus may contain children representing attached cores -(devices). This is needed since some hardware details can't be auto -detected (e.g. IRQ numbers). Also some of the cores may be responsible -for extra things, e.g. ChipCommon providing access to the GPIO chip. - -Example: - - axi@18000000 { - compatible = "brcm,bus-axi"; - reg = <0x18000000 0x1000>; - ranges = <0x00000000 0x18000000 0x00100000>; - #address-cells = <1>; - #size-cells = <1>; - #interrupt-cells = <1>; - interrupt-map-mask = <0x000fffff 0xffff>; - interrupt-map = - /* Ethernet Controller 0 */ - <0x00024000 0 &gic GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>, - - /* Ethernet Controller 1 */ - <0x00025000 0 &gic GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>; - - /* PCIe Controller 0 */ - <0x00012000 0 &gic GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>, - <0x00012000 1 &gic GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>, - <0x00012000 2 &gic GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>, - <0x00012000 3 &gic GIC_SPI 129 IRQ_TYPE_LEVEL_HIGH>, - <0x00012000 4 &gic GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH>, - <0x00012000 5 &gic GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>; - - chipcommon { - reg = <0x00000000 0x1000>; - - gpio-controller; - #gpio-cells = <2>; - }; - }; +Driver for ARM AXI Bus with Broadcom Plugins (bcma) + +Required properties: + +- compatible : brcm,bus-axi + +- reg : iomem address range of chipcommon core + +The cores on the AXI bus are automatically detected by bcma with the +memory ranges they are using and they get registered afterwards. +Automatic detection of the IRQ number is not working on +BCM47xx/BCM53xx ARM SoCs. To assign IRQ numbers to the cores, provide +them manually through device tree. Use an interrupt-map to specify the +IRQ used by the devices on the bus. The first address is just an index, +because we do not have any special register. + +The top-level axi bus may contain children representing attached cores +(devices). This is needed since some hardware details can't be auto +detected (e.g. IRQ numbers). Also some of the cores may be responsible +for extra things, e.g. ChipCommon providing access to the GPIO chip. + +Example: + + axi@18000000 { + compatible = "brcm,bus-axi"; + reg = <0x18000000 0x1000>; + ranges = <0x00000000 0x18000000 0x00100000>; + #address-cells = <1>; + #size-cells = <1>; + #interrupt-cells = <1>; + interrupt-map-mask = <0x000fffff 0xffff>; + interrupt-map = + /* Ethernet Controller 0 */ + <0x00024000 0 &gic GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>, + + /* Ethernet Controller 1 */ + <0x00025000 0 &gic GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>; + + /* PCIe Controller 0 */ + <0x00012000 0 &gic GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>, + <0x00012000 1 &gic GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>, + <0x00012000 2 &gic GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>, + <0x00012000 3 &gic GIC_SPI 129 IRQ_TYPE_LEVEL_HIGH>, + <0x00012000 4 &gic GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH>, + <0x00012000 5 &gic GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>; + + chipcommon { + reg = <0x00000000 0x1000>; + + gpio-controller; + #gpio-cells = <2>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/bus/fsl,spba-bus.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/bus/fsl,spba-bus.yaml index 3a5f2c3fa0..d42dbb0bbc 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/bus/fsl,spba-bus.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/bus/fsl,spba-bus.yaml @@ -1,68 +1,68 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/bus/fsl,spba-bus.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Shared Peripherals Bus Interface - -maintainers: - - Shawn Guo - -description: | - A simple bus enabling access to shared peripherals. - - The "spba-bus" follows the "simple-bus" set of properties, as - specified in the Devicetree Specification. It is an extension of - "simple-bus" because the SDMA controller uses this compatible flag to - determine which peripherals are available to it and the range over which - the SDMA can access. There are no special clocks for the bus, because - the SDMA controller itself has its interrupt and clock assignments. - -select: - properties: - compatible: - contains: - const: fsl,spba-bus - required: - - compatible - -properties: - $nodename: - pattern: "^spba-bus(@[0-9a-f]+)?$" - - compatible: - items: - - const: fsl,spba-bus - - const: simple-bus - - '#address-cells': - enum: [ 1, 2 ] - - '#size-cells': - enum: [ 1, 2 ] - - reg: - maxItems: 1 - - ranges: true - -required: - - compatible - - '#address-cells' - - '#size-cells' - - reg - - ranges - -additionalProperties: - type: object - -examples: - - | - spba-bus@30000000 { - compatible = "fsl,spba-bus", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x30000000 0x100000>; - ranges; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/bus/fsl,spba-bus.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Shared Peripherals Bus Interface + +maintainers: + - Shawn Guo + +description: | + A simple bus enabling access to shared peripherals. + + The "spba-bus" follows the "simple-bus" set of properties, as + specified in the Devicetree Specification. It is an extension of + "simple-bus" because the SDMA controller uses this compatible flag to + determine which peripherals are available to it and the range over which + the SDMA can access. There are no special clocks for the bus, because + the SDMA controller itself has its interrupt and clock assignments. + +select: + properties: + compatible: + contains: + const: fsl,spba-bus + required: + - compatible + +properties: + $nodename: + pattern: "^spba-bus(@[0-9a-f]+)?$" + + compatible: + items: + - const: fsl,spba-bus + - const: simple-bus + + '#address-cells': + enum: [ 1, 2 ] + + '#size-cells': + enum: [ 1, 2 ] + + reg: + maxItems: 1 + + ranges: true + +required: + - compatible + - '#address-cells' + - '#size-cells' + - reg + - ranges + +additionalProperties: + type: object + +examples: + - | + spba-bus@30000000 { + compatible = "fsl,spba-bus", "simple-bus"; + #address-cells = <1>; + #size-cells = <1>; + reg = <0x30000000 0x100000>; + ranges; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/bus/palmbus.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/bus/palmbus.yaml index 1f51da7c21..c36c1e92a5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/bus/palmbus.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/bus/palmbus.yaml @@ -1,80 +1,80 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/bus/palmbus.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Ralink PalmBus - -maintainers: - - Sergio Paracuellos - -description: | - The ralink palmbus controller can be found in all ralink MIPS - SoCs. It provides an external bus for connecting multiple - external devices to the SoC. - -properties: - $nodename: - pattern: "^palmbus(@[0-9a-f]+)?$" - - "#address-cells": - const: 1 - - "#size-cells": - const: 1 - - compatible: - const: palmbus - - reg: - maxItems: 1 - - ranges: true - -patternProperties: - # All other properties should be child nodes with unit-address and 'reg' - "@[0-9a-f]+$": - type: object - additionalProperties: true - properties: - reg: - maxItems: 1 - - required: - - reg - -required: - - compatible - - reg - - "#address-cells" - - "#size-cells" - - ranges - -additionalProperties: false - -examples: - - | - #include - #include - palmbus@1e000000 { - compatible = "palmbus"; - reg = <0x1e000000 0x100000>; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0x0 0x1e000000 0x0fffff>; - - gpio@600 { - #gpio-cells = <2>; - #interrupt-cells = <2>; - compatible = "mediatek,mt7621-gpio"; - gpio-controller; - gpio-ranges = <&pinctrl 0 0 95>; - interrupt-controller; - reg = <0x600 0x100>; - interrupt-parent = <&gic>; - interrupts = ; - }; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/bus/palmbus.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Ralink PalmBus + +maintainers: + - Sergio Paracuellos + +description: | + The ralink palmbus controller can be found in all ralink MIPS + SoCs. It provides an external bus for connecting multiple + external devices to the SoC. + +properties: + $nodename: + pattern: "^palmbus(@[0-9a-f]+)?$" + + "#address-cells": + const: 1 + + "#size-cells": + const: 1 + + compatible: + const: palmbus + + reg: + maxItems: 1 + + ranges: true + +patternProperties: + # All other properties should be child nodes with unit-address and 'reg' + "@[0-9a-f]+$": + type: object + additionalProperties: true + properties: + reg: + maxItems: 1 + + required: + - reg + +required: + - compatible + - reg + - "#address-cells" + - "#size-cells" + - ranges + +additionalProperties: false + +examples: + - | + #include + #include + palmbus@1e000000 { + compatible = "palmbus"; + reg = <0x1e000000 0x100000>; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x0 0x1e000000 0x0fffff>; + + gpio@600 { + #gpio-cells = <2>; + #interrupt-cells = <2>; + compatible = "mediatek,mt7621-gpio"; + gpio-controller; + gpio-ranges = <&pinctrl 0 0 95>; + interrupt-controller; + reg = <0x600 0x100>; + interrupt-parent = <&gic>; + interrupts = ; + }; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/bus/qcom,ssbi.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/bus/qcom,ssbi.yaml index ac4b4d0cb2..693cfa9696 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/bus/qcom,ssbi.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/bus/qcom,ssbi.yaml @@ -1,63 +1,63 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/bus/qcom,ssbi.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm Single-wire Serial Bus Interface (SSBI) - -description: - Some Qualcomm MSM devices contain a point-to-point serial bus used to - communicate with a limited range of devices (mostly power management - chips). - -maintainers: - - Andy Gross - - Bjorn Andersson - -properties: - compatible: - const: qcom,ssbi - - reg: - maxItems: 1 - - qcom,controller-type: - description: - Indicates the SSBI bus variant the controller should use to talk - with the slave device. The type chosen is determined by the attached - slave. - enum: - - ssbi - - ssbi2 - - pmic-arbiter - - pmic: - $ref: /schemas/mfd/qcom-pm8xxx.yaml# - -required: - - compatible - - reg - - qcom,controller-type - -additionalProperties: false - -examples: - - | - #include - ssbi@c00000 { - compatible = "qcom,ssbi"; - reg = <0x00c00000 0x1000>; - qcom,controller-type = "pmic-arbiter"; - - pmic { - compatible = "qcom,pm8821"; - interrupt-parent = <&msmgpio>; - interrupts = <76 IRQ_TYPE_LEVEL_LOW>; - #interrupt-cells = <2>; - interrupt-controller; - #address-cells = <1>; - #size-cells = <0>; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/bus/qcom,ssbi.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Single-wire Serial Bus Interface (SSBI) + +description: + Some Qualcomm MSM devices contain a point-to-point serial bus used to + communicate with a limited range of devices (mostly power management + chips). + +maintainers: + - Andy Gross + - Bjorn Andersson + +properties: + compatible: + const: qcom,ssbi + + reg: + maxItems: 1 + + qcom,controller-type: + description: + Indicates the SSBI bus variant the controller should use to talk + with the slave device. The type chosen is determined by the attached + slave. + enum: + - ssbi + - ssbi2 + - pmic-arbiter + + pmic: + $ref: /schemas/mfd/qcom-pm8xxx.yaml# + +required: + - compatible + - reg + - qcom,controller-type + +additionalProperties: false + +examples: + - | + #include + ssbi@c00000 { + compatible = "qcom,ssbi"; + reg = <0x00c00000 0x1000>; + qcom,controller-type = "pmic-arbiter"; + + pmic { + compatible = "qcom,pm8821"; + interrupt-parent = <&msmgpio>; + interrupts = <76 IRQ_TYPE_LEVEL_LOW>; + #interrupt-cells = <2>; + interrupt-controller; + #address-cells = <1>; + #size-cells = <0>; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/bus/renesas,bsc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/bus/renesas,bsc.yaml index 32f50aff34..f53a377854 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/bus/renesas,bsc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/bus/renesas,bsc.yaml @@ -1,62 +1,62 @@ -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/bus/renesas,bsc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Renesas Bus State Controller (BSC) - -maintainers: - - Geert Uytterhoeven - -description: | - The Renesas Bus State Controller (BSC, sometimes called "LBSC within Bus - Bridge", or "External Bus Interface") can be found in several Renesas ARM - SoCs. It provides an external bus for connecting multiple external - devices to the SoC, driving several chip select lines, for e.g. NOR - FLASH, Ethernet and USB. - - While the BSC is a fairly simple memory-mapped bus, it may be part of a - PM domain, and may have a gateable functional clock. Before a device - connected to the BSC can be accessed, the PM domain containing the BSC - must be powered on, and the functional clock driving the BSC must be - enabled. - - The bindings for the BSC extend the bindings for "simple-pm-bus". - -allOf: - - $ref: simple-pm-bus.yaml# - -properties: - compatible: - items: - - enum: - - renesas,bsc-r8a73a4 # R-Mobile APE6 (r8a73a4) - - renesas,bsc-sh73a0 # SH-Mobile AG5 (sh73a0) - - const: renesas,bsc - - {} # simple-pm-bus, but not listed here to avoid false select - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - -required: - - reg - -unevaluatedProperties: false - -examples: - - | - #include - - bsc: bus@fec10000 { - compatible = "renesas,bsc-sh73a0", "renesas,bsc", "simple-pm-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 0 0x20000000>; - reg = <0xfec10000 0x400>; - interrupts = <0 39 IRQ_TYPE_LEVEL_HIGH>; - clocks = <&zb_clk>; - power-domains = <&pd_a4s>; - }; +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/bus/renesas,bsc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Renesas Bus State Controller (BSC) + +maintainers: + - Geert Uytterhoeven + +description: | + The Renesas Bus State Controller (BSC, sometimes called "LBSC within Bus + Bridge", or "External Bus Interface") can be found in several Renesas ARM + SoCs. It provides an external bus for connecting multiple external + devices to the SoC, driving several chip select lines, for e.g. NOR + FLASH, Ethernet and USB. + + While the BSC is a fairly simple memory-mapped bus, it may be part of a + PM domain, and may have a gateable functional clock. Before a device + connected to the BSC can be accessed, the PM domain containing the BSC + must be powered on, and the functional clock driving the BSC must be + enabled. + + The bindings for the BSC extend the bindings for "simple-pm-bus". + +allOf: + - $ref: simple-pm-bus.yaml# + +properties: + compatible: + items: + - enum: + - renesas,bsc-r8a73a4 # R-Mobile APE6 (r8a73a4) + - renesas,bsc-sh73a0 # SH-Mobile AG5 (sh73a0) + - const: renesas,bsc + - {} # simple-pm-bus, but not listed here to avoid false select + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + +required: + - reg + +unevaluatedProperties: false + +examples: + - | + #include + + bsc: bus@fec10000 { + compatible = "renesas,bsc-sh73a0", "renesas,bsc", "simple-pm-bus"; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0 0 0x20000000>; + reg = <0xfec10000 0x400>; + interrupts = <0 39 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&zb_clk>; + power-domains = <&pd_a4s>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/bus/ts-nbus.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/bus/ts-nbus.txt index 71fe4b4ef4..2a10d065b9 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/bus/ts-nbus.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/bus/ts-nbus.txt @@ -1,50 +1,50 @@ -Technologic Systems NBUS - -The NBUS is a bus used to interface with peripherals in the Technologic -Systems FPGA on the TS-4600 SoM. - -Required properties : - - compatible : "technologic,ts-nbus" - - #address-cells : must be 1 - - #size-cells : must be 0 - - pwms : The PWM bound to the FPGA - - ts,data-gpios : The 8 GPIO pins connected to the data lines on the FPGA - - ts,csn-gpios : The GPIO pin connected to the csn line on the FPGA - - ts,txrx-gpios : The GPIO pin connected to the txrx line on the FPGA - - ts,strobe-gpios : The GPIO pin connected to the stobe line on the FPGA - - ts,ale-gpios : The GPIO pin connected to the ale line on the FPGA - - ts,rdy-gpios : The GPIO pin connected to the rdy line on the FPGA - -Child nodes: - -The NBUS node can contain zero or more child nodes representing peripherals -on the bus. - -Example: - - nbus { - compatible = "technologic,ts-nbus"; - pinctrl-0 = <&nbus_pins>; - #address-cells = <1>; - #size-cells = <0>; - pwms = <&pwm 2 83>; - ts,data-gpios = <&gpio0 0 GPIO_ACTIVE_HIGH - &gpio0 1 GPIO_ACTIVE_HIGH - &gpio0 2 GPIO_ACTIVE_HIGH - &gpio0 3 GPIO_ACTIVE_HIGH - &gpio0 4 GPIO_ACTIVE_HIGH - &gpio0 5 GPIO_ACTIVE_HIGH - &gpio0 6 GPIO_ACTIVE_HIGH - &gpio0 7 GPIO_ACTIVE_HIGH>; - ts,csn-gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>; - ts,txrx-gpios = <&gpio0 24 GPIO_ACTIVE_HIGH>; - ts,strobe-gpios = <&gpio0 25 GPIO_ACTIVE_HIGH>; - ts,ale-gpios = <&gpio0 26 GPIO_ACTIVE_HIGH>; - ts,rdy-gpios = <&gpio0 21 GPIO_ACTIVE_HIGH>; - - watchdog@2a { - compatible = "..."; - - /* ... */ - }; - }; +Technologic Systems NBUS + +The NBUS is a bus used to interface with peripherals in the Technologic +Systems FPGA on the TS-4600 SoM. + +Required properties : + - compatible : "technologic,ts-nbus" + - #address-cells : must be 1 + - #size-cells : must be 0 + - pwms : The PWM bound to the FPGA + - ts,data-gpios : The 8 GPIO pins connected to the data lines on the FPGA + - ts,csn-gpios : The GPIO pin connected to the csn line on the FPGA + - ts,txrx-gpios : The GPIO pin connected to the txrx line on the FPGA + - ts,strobe-gpios : The GPIO pin connected to the stobe line on the FPGA + - ts,ale-gpios : The GPIO pin connected to the ale line on the FPGA + - ts,rdy-gpios : The GPIO pin connected to the rdy line on the FPGA + +Child nodes: + +The NBUS node can contain zero or more child nodes representing peripherals +on the bus. + +Example: + + nbus { + compatible = "technologic,ts-nbus"; + pinctrl-0 = <&nbus_pins>; + #address-cells = <1>; + #size-cells = <0>; + pwms = <&pwm 2 83>; + ts,data-gpios = <&gpio0 0 GPIO_ACTIVE_HIGH + &gpio0 1 GPIO_ACTIVE_HIGH + &gpio0 2 GPIO_ACTIVE_HIGH + &gpio0 3 GPIO_ACTIVE_HIGH + &gpio0 4 GPIO_ACTIVE_HIGH + &gpio0 5 GPIO_ACTIVE_HIGH + &gpio0 6 GPIO_ACTIVE_HIGH + &gpio0 7 GPIO_ACTIVE_HIGH>; + ts,csn-gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>; + ts,txrx-gpios = <&gpio0 24 GPIO_ACTIVE_HIGH>; + ts,strobe-gpios = <&gpio0 25 GPIO_ACTIVE_HIGH>; + ts,ale-gpios = <&gpio0 26 GPIO_ACTIVE_HIGH>; + ts,rdy-gpios = <&gpio0 21 GPIO_ACTIVE_HIGH>; + + watchdog@2a { + compatible = "..."; + + /* ... */ + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/cache/andestech,ax45mp-cache.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/cache/andestech,ax45mp-cache.yaml index 0cecb1b093..d2cbe49f4e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/cache/andestech,ax45mp-cache.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/cache/andestech,ax45mp-cache.yaml @@ -1,81 +1,81 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -# Copyright (C) 2023 Renesas Electronics Corp. -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/cache/andestech,ax45mp-cache.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Andestech AX45MP L2 Cache Controller - -maintainers: - - Lad Prabhakar - -description: - A level-2 cache (L2C) is used to improve the system performance by providing - a large amount of cache line entries and reasonable access delays. The L2C - is shared between cores, and a non-inclusive non-exclusive policy is used. - -select: - properties: - compatible: - contains: - enum: - - andestech,ax45mp-cache - - required: - - compatible - -properties: - compatible: - items: - - const: andestech,ax45mp-cache - - const: cache - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - cache-line-size: - const: 64 - - cache-level: - const: 2 - - cache-sets: - const: 1024 - - cache-size: - enum: [131072, 262144, 524288, 1048576, 2097152] - - cache-unified: true - - next-level-cache: true - -additionalProperties: false - -required: - - compatible - - reg - - interrupts - - cache-line-size - - cache-level - - cache-sets - - cache-size - - cache-unified - -examples: - - | - #include - - cache-controller@13400000 { - compatible = "andestech,ax45mp-cache", "cache"; - reg = <0x13400000 0x100000>; - interrupts = <508 IRQ_TYPE_LEVEL_HIGH>; - cache-line-size = <64>; - cache-level = <2>; - cache-sets = <1024>; - cache-size = <262144>; - cache-unified; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +# Copyright (C) 2023 Renesas Electronics Corp. +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/cache/andestech,ax45mp-cache.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Andestech AX45MP L2 Cache Controller + +maintainers: + - Lad Prabhakar + +description: + A level-2 cache (L2C) is used to improve the system performance by providing + a large amount of cache line entries and reasonable access delays. The L2C + is shared between cores, and a non-inclusive non-exclusive policy is used. + +select: + properties: + compatible: + contains: + enum: + - andestech,ax45mp-cache + + required: + - compatible + +properties: + compatible: + items: + - const: andestech,ax45mp-cache + - const: cache + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + cache-line-size: + const: 64 + + cache-level: + const: 2 + + cache-sets: + const: 1024 + + cache-size: + enum: [131072, 262144, 524288, 1048576, 2097152] + + cache-unified: true + + next-level-cache: true + +additionalProperties: false + +required: + - compatible + - reg + - interrupts + - cache-line-size + - cache-level + - cache-sets + - cache-size + - cache-unified + +examples: + - | + #include + + cache-controller@13400000 { + compatible = "andestech,ax45mp-cache", "cache"; + reg = <0x13400000 0x100000>; + interrupts = <508 IRQ_TYPE_LEVEL_HIGH>; + cache-line-size = <64>; + cache-level = <2>; + cache-sets = <1024>; + cache-size = <262144>; + cache-unified; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/cache/baikal,bt1-l2-ctl.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/cache/baikal,bt1-l2-ctl.yaml index a376c7964f..ec4f367bc0 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/cache/baikal,bt1-l2-ctl.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/cache/baikal,bt1-l2-ctl.yaml @@ -1,63 +1,63 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -# Copyright (C) 2020 BAIKAL ELECTRONICS, JSC -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/cache/baikal,bt1-l2-ctl.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Baikal-T1 L2-cache Control Block - -maintainers: - - Serge Semin - -description: | - By means of the System Controller Baikal-T1 SoC exposes a few settings to - tune the MIPS P5600 CM2 L2 cache performance up. In particular it's possible - to change the Tag, Data and Way-select RAM access latencies. Baikal-T1 - L2-cache controller block is responsible for the tuning. Its DT node is - supposed to be a child of the system controller. - -properties: - compatible: - const: baikal,bt1-l2-ctl - - reg: - maxItems: 1 - - baikal,l2-ws-latency: - $ref: /schemas/types.yaml#/definitions/uint32 - description: Cycles of latency for Way-select RAM accesses - default: 0 - minimum: 0 - maximum: 3 - - baikal,l2-tag-latency: - $ref: /schemas/types.yaml#/definitions/uint32 - description: Cycles of latency for Tag RAM accesses - default: 0 - minimum: 0 - maximum: 3 - - baikal,l2-data-latency: - $ref: /schemas/types.yaml#/definitions/uint32 - description: Cycles of latency for Data RAM accesses - default: 1 - minimum: 0 - maximum: 3 - -additionalProperties: false - -required: - - compatible - -examples: - - | - l2@1f04d028 { - compatible = "baikal,bt1-l2-ctl"; - reg = <0x1f04d028 0x004>; - - baikal,l2-ws-latency = <1>; - baikal,l2-tag-latency = <1>; - baikal,l2-data-latency = <2>; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +# Copyright (C) 2020 BAIKAL ELECTRONICS, JSC +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/cache/baikal,bt1-l2-ctl.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Baikal-T1 L2-cache Control Block + +maintainers: + - Serge Semin + +description: | + By means of the System Controller Baikal-T1 SoC exposes a few settings to + tune the MIPS P5600 CM2 L2 cache performance up. In particular it's possible + to change the Tag, Data and Way-select RAM access latencies. Baikal-T1 + L2-cache controller block is responsible for the tuning. Its DT node is + supposed to be a child of the system controller. + +properties: + compatible: + const: baikal,bt1-l2-ctl + + reg: + maxItems: 1 + + baikal,l2-ws-latency: + $ref: /schemas/types.yaml#/definitions/uint32 + description: Cycles of latency for Way-select RAM accesses + default: 0 + minimum: 0 + maximum: 3 + + baikal,l2-tag-latency: + $ref: /schemas/types.yaml#/definitions/uint32 + description: Cycles of latency for Tag RAM accesses + default: 0 + minimum: 0 + maximum: 3 + + baikal,l2-data-latency: + $ref: /schemas/types.yaml#/definitions/uint32 + description: Cycles of latency for Data RAM accesses + default: 1 + minimum: 0 + maximum: 3 + +additionalProperties: false + +required: + - compatible + +examples: + - | + l2@1f04d028 { + compatible = "baikal,bt1-l2-ctl"; + reg = <0x1f04d028 0x004>; + + baikal,l2-ws-latency = <1>; + baikal,l2-tag-latency = <1>; + baikal,l2-data-latency = <2>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/cache/starfive,jh8100-starlink-cache.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/cache/starfive,jh8100-starlink-cache.yaml index 894630e448..6d61098e38 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/cache/starfive,jh8100-starlink-cache.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/cache/starfive,jh8100-starlink-cache.yaml @@ -1,66 +1,66 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/cache/starfive,jh8100-starlink-cache.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: StarFive StarLink Cache Controller - -maintainers: - - Joshua Yeong - -description: - StarFive's StarLink Cache Controller manages the L3 cache shared between - clusters of CPU cores. The cache driver enables RISC-V non-standard cache - management as an alternative to instructions in the RISC-V Zicbom extension. - -allOf: - - $ref: /schemas/cache-controller.yaml# - -# We need a select here so we don't match all nodes with 'cache' -select: - properties: - compatible: - contains: - enum: - - starfive,jh8100-starlink-cache - - required: - - compatible - -properties: - compatible: - items: - - const: starfive,jh8100-starlink-cache - - const: cache - - reg: - maxItems: 1 - -unevaluatedProperties: false - -required: - - compatible - - reg - - cache-block-size - - cache-level - - cache-sets - - cache-size - - cache-unified - -examples: - - | - soc { - #address-cells = <2>; - #size-cells = <2>; - - cache-controller@15000000 { - compatible = "starfive,jh8100-starlink-cache", "cache"; - reg = <0x0 0x15000000 0x0 0x278>; - cache-block-size = <64>; - cache-level = <3>; - cache-sets = <8192>; - cache-size = <0x400000>; - cache-unified; - }; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/cache/starfive,jh8100-starlink-cache.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: StarFive StarLink Cache Controller + +maintainers: + - Joshua Yeong + +description: + StarFive's StarLink Cache Controller manages the L3 cache shared between + clusters of CPU cores. The cache driver enables RISC-V non-standard cache + management as an alternative to instructions in the RISC-V Zicbom extension. + +allOf: + - $ref: /schemas/cache-controller.yaml# + +# We need a select here so we don't match all nodes with 'cache' +select: + properties: + compatible: + contains: + enum: + - starfive,jh8100-starlink-cache + + required: + - compatible + +properties: + compatible: + items: + - const: starfive,jh8100-starlink-cache + - const: cache + + reg: + maxItems: 1 + +unevaluatedProperties: false + +required: + - compatible + - reg + - cache-block-size + - cache-level + - cache-sets + - cache-size + - cache-unified + +examples: + - | + soc { + #address-cells = <2>; + #size-cells = <2>; + + cache-controller@15000000 { + compatible = "starfive,jh8100-starlink-cache", "cache"; + reg = <0x0 0x15000000 0x0 0x278>; + cache-block-size = <64>; + cache-level = <3>; + cache-sets = <8192>; + cache-size = <0x400000>; + cache-unified; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/chrome/google,cros-ec-typec.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/chrome/google,cros-ec-typec.yaml index 7be5112ff5..9f9816fbec 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/chrome/google,cros-ec-typec.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/chrome/google,cros-ec-typec.yaml @@ -1,66 +1,66 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/chrome/google,cros-ec-typec.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Google Chrome OS EC(Embedded Controller) Type C port driver. - -maintainers: - - Benson Leung - - Prashant Malani - -description: - Chrome OS devices have an Embedded Controller(EC) which has access to - Type C port state. This node is intended to allow the host to read and - control the Type C ports. The node for this device should be under a - cros-ec node like google,cros-ec-spi. - -properties: - compatible: - const: google,cros-ec-typec - - '#address-cells': - const: 1 - - '#size-cells': - const: 0 - -patternProperties: - '^connector@[0-9a-f]+$': - $ref: /schemas/connector/usb-connector.yaml# - required: - - reg - -required: - - compatible - -additionalProperties: false - -examples: - - |+ - spi { - #address-cells = <1>; - #size-cells = <0>; - - cros_ec: ec@0 { - compatible = "google,cros-ec-spi"; - reg = <0>; - interrupts = <35 0>; - - typec { - compatible = "google,cros-ec-typec"; - - #address-cells = <1>; - #size-cells = <0>; - - connector@0 { - compatible = "usb-c-connector"; - reg = <0>; - power-role = "dual"; - data-role = "dual"; - try-power-role = "source"; - }; - }; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/chrome/google,cros-ec-typec.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Google Chrome OS EC(Embedded Controller) Type C port driver. + +maintainers: + - Benson Leung + - Prashant Malani + +description: + Chrome OS devices have an Embedded Controller(EC) which has access to + Type C port state. This node is intended to allow the host to read and + control the Type C ports. The node for this device should be under a + cros-ec node like google,cros-ec-spi. + +properties: + compatible: + const: google,cros-ec-typec + + '#address-cells': + const: 1 + + '#size-cells': + const: 0 + +patternProperties: + '^connector@[0-9a-f]+$': + $ref: /schemas/connector/usb-connector.yaml# + required: + - reg + +required: + - compatible + +additionalProperties: false + +examples: + - |+ + spi { + #address-cells = <1>; + #size-cells = <0>; + + cros_ec: ec@0 { + compatible = "google,cros-ec-spi"; + reg = <0>; + interrupts = <35 0>; + + typec { + compatible = "google,cros-ec-typec"; + + #address-cells = <1>; + #size-cells = <0>; + + connector@0 { + compatible = "usb-c-connector"; + reg = <0>; + power-role = "dual"; + data-role = "dual"; + try-power-role = "source"; + }; + }; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/actions,owl-cmu.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/actions,owl-cmu.txt index ad0f0ef26f..d19885b7c7 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/actions,owl-cmu.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/actions,owl-cmu.txt @@ -1,52 +1,52 @@ -* Actions Semi Owl Clock Management Unit (CMU) - -The Actions Semi Owl Clock Management Unit generates and supplies clock -to various controllers within the SoC. The clock binding described here is -applicable to S900, S700 and S500 SoC's. - -Required Properties: - -- compatible: should be one of the following, - "actions,s900-cmu" - "actions,s700-cmu" - "actions,s500-cmu" -- reg: physical base address of the controller and length of memory mapped - region. -- clocks: Reference to the parent clocks ("hosc", "losc") -- #clock-cells: should be 1. -- #reset-cells: should be 1. - -Each clock is assigned an identifier, and client nodes can use this identifier -to specify the clock which they consume. - -All available clocks are defined as preprocessor macros in corresponding -dt-bindings/clock/actions,s900-cmu.h or actions,s700-cmu.h or -actions,s500-cmu.h header and can be used in device tree sources. - -External clocks: - -The hosc clock used as input for the plls is generated outside the SoC. It is -expected that it is defined using standard clock bindings as "hosc". - -Actions Semi S900 CMU also requires one more clock: - - "losc" - internal low frequency oscillator - -Example: Clock Management Unit node: - - cmu: clock-controller@e0160000 { - compatible = "actions,s900-cmu"; - reg = <0x0 0xe0160000 0x0 0x1000>; - clocks = <&hosc>, <&losc>; - #clock-cells = <1>; - #reset-cells = <1>; - }; - -Example: UART controller node that consumes clock generated by the clock -management unit: - - uart: serial@e012a000 { - compatible = "actions,s900-uart", "actions,owl-uart"; - reg = <0x0 0xe012a000 0x0 0x2000>; - interrupts = ; - clocks = <&cmu CLK_UART5>; - }; +* Actions Semi Owl Clock Management Unit (CMU) + +The Actions Semi Owl Clock Management Unit generates and supplies clock +to various controllers within the SoC. The clock binding described here is +applicable to S900, S700 and S500 SoC's. + +Required Properties: + +- compatible: should be one of the following, + "actions,s900-cmu" + "actions,s700-cmu" + "actions,s500-cmu" +- reg: physical base address of the controller and length of memory mapped + region. +- clocks: Reference to the parent clocks ("hosc", "losc") +- #clock-cells: should be 1. +- #reset-cells: should be 1. + +Each clock is assigned an identifier, and client nodes can use this identifier +to specify the clock which they consume. + +All available clocks are defined as preprocessor macros in corresponding +dt-bindings/clock/actions,s900-cmu.h or actions,s700-cmu.h or +actions,s500-cmu.h header and can be used in device tree sources. + +External clocks: + +The hosc clock used as input for the plls is generated outside the SoC. It is +expected that it is defined using standard clock bindings as "hosc". + +Actions Semi S900 CMU also requires one more clock: + - "losc" - internal low frequency oscillator + +Example: Clock Management Unit node: + + cmu: clock-controller@e0160000 { + compatible = "actions,s900-cmu"; + reg = <0x0 0xe0160000 0x0 0x1000>; + clocks = <&hosc>, <&losc>; + #clock-cells = <1>; + #reset-cells = <1>; + }; + +Example: UART controller node that consumes clock generated by the clock +management unit: + + uart: serial@e012a000 { + compatible = "actions,s900-uart", "actions,owl-uart"; + reg = <0x0 0xe012a000 0x0 0x2000>; + interrupts = ; + clocks = <&cmu CLK_UART5>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/adi,axi-clkgen.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/adi,axi-clkgen.yaml index 49e19a9fa0..2b2041818a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/adi,axi-clkgen.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/adi,axi-clkgen.yaml @@ -1,68 +1,68 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/adi,axi-clkgen.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Analog Devices AXI clkgen pcore clock generator - -maintainers: - - Lars-Peter Clausen - - Michael Hennerich - -description: | - The axi_clkgen IP core is a software programmable clock generator, - that can be synthesized on various FPGA platforms. - - Link: https://wiki.analog.com/resources/fpga/docs/axi_clkgen - -properties: - compatible: - enum: - - adi,axi-clkgen-2.00.a - - adi,zynqmp-axi-clkgen-2.00.a - - clocks: - description: - Specifies the reference clock(s) from which the output frequency is - derived. This must either reference one clock if only the first clock - input is connected or two if both clock inputs are connected. The last - clock is the AXI bus clock that needs to be enabled so we can access the - core registers. - minItems: 2 - maxItems: 3 - - clock-names: - oneOf: - - items: - - const: clkin1 - - const: s_axi_aclk - - items: - - const: clkin1 - - const: clkin2 - - const: s_axi_aclk - - '#clock-cells': - const: 0 - - reg: - maxItems: 1 - -required: - - compatible - - reg - - clocks - - clock-names - - '#clock-cells' - -additionalProperties: false - -examples: - - | - clock-controller@ff000000 { - compatible = "adi,axi-clkgen-2.00.a"; - #clock-cells = <0>; - reg = <0xff000000 0x1000>; - clocks = <&osc 1>, <&clkc 15>; - clock-names = "clkin1", "s_axi_aclk"; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/adi,axi-clkgen.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Analog Devices AXI clkgen pcore clock generator + +maintainers: + - Lars-Peter Clausen + - Michael Hennerich + +description: | + The axi_clkgen IP core is a software programmable clock generator, + that can be synthesized on various FPGA platforms. + + Link: https://wiki.analog.com/resources/fpga/docs/axi_clkgen + +properties: + compatible: + enum: + - adi,axi-clkgen-2.00.a + - adi,zynqmp-axi-clkgen-2.00.a + + clocks: + description: + Specifies the reference clock(s) from which the output frequency is + derived. This must either reference one clock if only the first clock + input is connected or two if both clock inputs are connected. The last + clock is the AXI bus clock that needs to be enabled so we can access the + core registers. + minItems: 2 + maxItems: 3 + + clock-names: + oneOf: + - items: + - const: clkin1 + - const: s_axi_aclk + - items: + - const: clkin1 + - const: clkin2 + - const: s_axi_aclk + + '#clock-cells': + const: 0 + + reg: + maxItems: 1 + +required: + - compatible + - reg + - clocks + - clock-names + - '#clock-cells' + +additionalProperties: false + +examples: + - | + clock-controller@ff000000 { + compatible = "adi,axi-clkgen-2.00.a"; + #clock-cells = <0>; + reg = <0xff000000 0x1000>; + clocks = <&osc 1>, <&clkc 15>; + clock-names = "clkin1", "s_axi_aclk"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/allwinner,sun4i-a10-mmc-clk.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/allwinner,sun4i-a10-mmc-clk.yaml index 2248b27205..c612f94bef 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/allwinner,sun4i-a10-mmc-clk.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/allwinner,sun4i-a10-mmc-clk.yaml @@ -1,87 +1,87 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/allwinner,sun4i-a10-mmc-clk.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Allwinner A10 Module 1 Clock - -maintainers: - - Chen-Yu Tsai - - Maxime Ripard - -deprecated: true - -properties: - "#clock-cells": - const: 1 - description: > - There is three different outputs: the main clock, with the ID 0, - and the output and sample clocks, with the IDs 1 and 2, - respectively. - - compatible: - enum: - - allwinner,sun4i-a10-mmc-clk - - allwinner,sun9i-a80-mmc-clk - - reg: - maxItems: 1 - - clocks: - minItems: 2 - maxItems: 3 - description: > - The parent order must match the hardware programming order. - - clock-output-names: - maxItems: 3 - -required: - - "#clock-cells" - - compatible - - reg - - clocks - - clock-output-names - -additionalProperties: false - -if: - properties: - compatible: - contains: - const: allwinner,sun4i-a10-mmc-clk - -then: - properties: - clocks: - maxItems: 3 - -else: - properties: - clocks: - maxItems: 2 - -examples: - - | - clk@1c20088 { - #clock-cells = <1>; - compatible = "allwinner,sun4i-a10-mmc-clk"; - reg = <0x01c20088 0x4>; - clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; - clock-output-names = "mmc0", - "mmc0_output", - "mmc0_sample"; - }; - - - | - clk@6000410 { - #clock-cells = <1>; - compatible = "allwinner,sun9i-a80-mmc-clk"; - reg = <0x06000410 0x4>; - clocks = <&osc24M>, <&pll4>; - clock-output-names = "mmc0", "mmc0_output", - "mmc0_sample"; - }; - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/allwinner,sun4i-a10-mmc-clk.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Allwinner A10 Module 1 Clock + +maintainers: + - Chen-Yu Tsai + - Maxime Ripard + +deprecated: true + +properties: + "#clock-cells": + const: 1 + description: > + There is three different outputs: the main clock, with the ID 0, + and the output and sample clocks, with the IDs 1 and 2, + respectively. + + compatible: + enum: + - allwinner,sun4i-a10-mmc-clk + - allwinner,sun9i-a80-mmc-clk + + reg: + maxItems: 1 + + clocks: + minItems: 2 + maxItems: 3 + description: > + The parent order must match the hardware programming order. + + clock-output-names: + maxItems: 3 + +required: + - "#clock-cells" + - compatible + - reg + - clocks + - clock-output-names + +additionalProperties: false + +if: + properties: + compatible: + contains: + const: allwinner,sun4i-a10-mmc-clk + +then: + properties: + clocks: + maxItems: 3 + +else: + properties: + clocks: + maxItems: 2 + +examples: + - | + clk@1c20088 { + #clock-cells = <1>; + compatible = "allwinner,sun4i-a10-mmc-clk"; + reg = <0x01c20088 0x4>; + clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; + clock-output-names = "mmc0", + "mmc0_output", + "mmc0_sample"; + }; + + - | + clk@6000410 { + #clock-cells = <1>; + compatible = "allwinner,sun9i-a80-mmc-clk"; + reg = <0x06000410 0x4>; + clocks = <&osc24M>, <&pll4>; + clock-output-names = "mmc0", "mmc0_output", + "mmc0_sample"; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/allwinner,sun4i-a10-mod0-clk.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/allwinner,sun4i-a10-mod0-clk.yaml index f57bdbf149..80ae3a7a58 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/allwinner,sun4i-a10-mod0-clk.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/allwinner,sun4i-a10-mod0-clk.yaml @@ -1,80 +1,80 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/allwinner,sun4i-a10-mod0-clk.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Allwinner A10 Module 0 Clock - -maintainers: - - Chen-Yu Tsai - - Maxime Ripard - -deprecated: true - -select: - properties: - compatible: - contains: - enum: - - allwinner,sun4i-a10-mod0-clk - - allwinner,sun9i-a80-mod0-clk - - # The PRCM on the A31 and A23 will have the reg property missing, - # since it's set at the upper level node, and will be validated by - # PRCM's schema. Make sure we only validate standalone nodes. - required: - - compatible - - reg - -properties: - "#clock-cells": - const: 0 - - compatible: - enum: - - allwinner,sun4i-a10-mod0-clk - - allwinner,sun9i-a80-mod0-clk - - reg: - maxItems: 1 - - clocks: - # On the A80, the PRCM mod0 clocks have 2 parents. - minItems: 2 - 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: - - | - clk@1c20080 { - #clock-cells = <0>; - compatible = "allwinner,sun4i-a10-mod0-clk"; - reg = <0x01c20080 0x4>; - clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; - clock-output-names = "nand"; - }; - - - | - clk@8001454 { - #clock-cells = <0>; - compatible = "allwinner,sun4i-a10-mod0-clk"; - reg = <0x08001454 0x4>; - clocks = <&osc32k>, <&osc24M>; - clock-output-names = "r_ir"; - }; - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/allwinner,sun4i-a10-mod0-clk.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Allwinner A10 Module 0 Clock + +maintainers: + - Chen-Yu Tsai + - Maxime Ripard + +deprecated: true + +select: + properties: + compatible: + contains: + enum: + - allwinner,sun4i-a10-mod0-clk + - allwinner,sun9i-a80-mod0-clk + + # The PRCM on the A31 and A23 will have the reg property missing, + # since it's set at the upper level node, and will be validated by + # PRCM's schema. Make sure we only validate standalone nodes. + required: + - compatible + - reg + +properties: + "#clock-cells": + const: 0 + + compatible: + enum: + - allwinner,sun4i-a10-mod0-clk + - allwinner,sun9i-a80-mod0-clk + + reg: + maxItems: 1 + + clocks: + # On the A80, the PRCM mod0 clocks have 2 parents. + minItems: 2 + 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: + - | + clk@1c20080 { + #clock-cells = <0>; + compatible = "allwinner,sun4i-a10-mod0-clk"; + reg = <0x01c20080 0x4>; + clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; + clock-output-names = "nand"; + }; + + - | + clk@8001454 { + #clock-cells = <0>; + compatible = "allwinner,sun4i-a10-mod0-clk"; + reg = <0x08001454 0x4>; + clocks = <&osc32k>, <&osc24M>; + clock-output-names = "r_ir"; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/allwinner,sun4i-a10-tcon-ch0-clk.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/allwinner,sun4i-a10-tcon-ch0-clk.yaml index 2ffac7b766..6646b2a99f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/allwinner,sun4i-a10-tcon-ch0-clk.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/allwinner,sun4i-a10-tcon-ch0-clk.yaml @@ -1,77 +1,77 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/allwinner,sun4i-a10-tcon-ch0-clk.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Allwinner A10 TCON Channel 0 Clock - -maintainers: - - Chen-Yu Tsai - - Maxime Ripard - -deprecated: true - -properties: - "#clock-cells": - const: 0 - - "#reset-cells": - const: 1 - - compatible: - enum: - - allwinner,sun4i-a10-tcon-ch0-clk - - allwinner,sun4i-a10-tcon-ch1-clk - - reg: - maxItems: 1 - - clocks: - maxItems: 4 - description: > - The parent order must match the hardware programming order. - - clock-output-names: - maxItems: 1 - -required: - - "#clock-cells" - - compatible - - reg - - clocks - - clock-output-names - -if: - properties: - compatible: - contains: - const: allwinner,sun4i-a10-tcon-ch0-clk - -then: - required: - - "#reset-cells" - -additionalProperties: false - -examples: - - | - clk@1c20118 { - #clock-cells = <0>; - #reset-cells = <1>; - compatible = "allwinner,sun4i-a10-tcon-ch0-clk"; - reg = <0x01c20118 0x4>; - clocks = <&pll3>, <&pll7>, <&pll3x2>, <&pll7x2>; - clock-output-names = "tcon-ch0-sclk"; - }; - - - | - clk@1c2012c { - #clock-cells = <0>; - compatible = "allwinner,sun4i-a10-tcon-ch1-clk"; - reg = <0x01c2012c 0x4>; - clocks = <&pll3>, <&pll7>, <&pll3x2>, <&pll7x2>; - clock-output-names = "tcon-ch1-sclk"; - }; - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/allwinner,sun4i-a10-tcon-ch0-clk.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Allwinner A10 TCON Channel 0 Clock + +maintainers: + - Chen-Yu Tsai + - Maxime Ripard + +deprecated: true + +properties: + "#clock-cells": + const: 0 + + "#reset-cells": + const: 1 + + compatible: + enum: + - allwinner,sun4i-a10-tcon-ch0-clk + - allwinner,sun4i-a10-tcon-ch1-clk + + reg: + maxItems: 1 + + clocks: + maxItems: 4 + description: > + The parent order must match the hardware programming order. + + clock-output-names: + maxItems: 1 + +required: + - "#clock-cells" + - compatible + - reg + - clocks + - clock-output-names + +if: + properties: + compatible: + contains: + const: allwinner,sun4i-a10-tcon-ch0-clk + +then: + required: + - "#reset-cells" + +additionalProperties: false + +examples: + - | + clk@1c20118 { + #clock-cells = <0>; + #reset-cells = <1>; + compatible = "allwinner,sun4i-a10-tcon-ch0-clk"; + reg = <0x01c20118 0x4>; + clocks = <&pll3>, <&pll7>, <&pll3x2>, <&pll7x2>; + clock-output-names = "tcon-ch0-sclk"; + }; + + - | + clk@1c2012c { + #clock-cells = <0>; + compatible = "allwinner,sun4i-a10-tcon-ch1-clk"; + reg = <0x01c2012c 0x4>; + clocks = <&pll3>, <&pll7>, <&pll3x2>, <&pll7x2>; + clock-output-names = "tcon-ch1-sclk"; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/allwinner,sun8i-a83t-de2-clk.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/allwinner,sun8i-a83t-de2-clk.yaml index c74504f4a7..70369bd633 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/allwinner,sun8i-a83t-de2-clk.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/allwinner,sun8i-a83t-de2-clk.yaml @@ -1,79 +1,79 @@ -# SPDX-License-Identifier: GPL-2.0+ -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/allwinner,sun8i-a83t-de2-clk.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Allwinner A83t Display Engine 2/3 Clock Controller - -maintainers: - - Chen-Yu Tsai - - Maxime Ripard - -properties: - "#clock-cells": - const: 1 - - "#reset-cells": - const: 1 - - compatible: - oneOf: - - const: allwinner,sun8i-a83t-de2-clk - - const: allwinner,sun8i-h3-de2-clk - - const: allwinner,sun8i-v3s-de2-clk - - const: allwinner,sun50i-a64-de2-clk - - const: allwinner,sun50i-h5-de2-clk - - const: allwinner,sun50i-h6-de3-clk - - items: - - const: allwinner,sun8i-r40-de2-clk - - const: allwinner,sun8i-h3-de2-clk - - items: - - const: allwinner,sun20i-d1-de2-clk - - const: allwinner,sun50i-h5-de2-clk - - reg: - maxItems: 1 - - clocks: - items: - - description: Bus Clock - - description: Module Clock - - clock-names: - items: - - const: bus - - const: mod - - resets: - maxItems: 1 - -required: - - "#clock-cells" - - "#reset-cells" - - compatible - - reg - - clocks - - clock-names - - resets - -additionalProperties: false - -examples: - - | - #include - #include - - de2_clocks: clock@1000000 { - compatible = "allwinner,sun8i-h3-de2-clk"; - reg = <0x01000000 0x100000>; - clocks = <&ccu CLK_BUS_DE>, - <&ccu CLK_DE>; - clock-names = "bus", - "mod"; - resets = <&ccu RST_BUS_DE>; - #clock-cells = <1>; - #reset-cells = <1>; - }; - -... +# SPDX-License-Identifier: GPL-2.0+ +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/allwinner,sun8i-a83t-de2-clk.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Allwinner A83t Display Engine 2/3 Clock Controller + +maintainers: + - Chen-Yu Tsai + - Maxime Ripard + +properties: + "#clock-cells": + const: 1 + + "#reset-cells": + const: 1 + + compatible: + oneOf: + - const: allwinner,sun8i-a83t-de2-clk + - const: allwinner,sun8i-h3-de2-clk + - const: allwinner,sun8i-v3s-de2-clk + - const: allwinner,sun50i-a64-de2-clk + - const: allwinner,sun50i-h5-de2-clk + - const: allwinner,sun50i-h6-de3-clk + - items: + - const: allwinner,sun8i-r40-de2-clk + - const: allwinner,sun8i-h3-de2-clk + - items: + - const: allwinner,sun20i-d1-de2-clk + - const: allwinner,sun50i-h5-de2-clk + + reg: + maxItems: 1 + + clocks: + items: + - description: Bus Clock + - description: Module Clock + + clock-names: + items: + - const: bus + - const: mod + + resets: + maxItems: 1 + +required: + - "#clock-cells" + - "#reset-cells" + - compatible + - reg + - clocks + - clock-names + - resets + +additionalProperties: false + +examples: + - | + #include + #include + + de2_clocks: clock@1000000 { + compatible = "allwinner,sun8i-h3-de2-clk"; + reg = <0x01000000 0x100000>; + clocks = <&ccu CLK_BUS_DE>, + <&ccu CLK_DE>; + clock-names = "bus", + "mod"; + resets = <&ccu RST_BUS_DE>; + #clock-cells = <1>; + #reset-cells = <1>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/allwinner,sun9i-a80-mmc-config-clk.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/allwinner,sun9i-a80-mmc-config-clk.yaml index 03c7df714b..65ee5afe83 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/allwinner,sun9i-a80-mmc-config-clk.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/allwinner,sun9i-a80-mmc-config-clk.yaml @@ -1,68 +1,68 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/allwinner,sun9i-a80-mmc-config-clk.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Allwinner A80 MMC Configuration Clock - -maintainers: - - Chen-Yu Tsai - - Maxime Ripard - -deprecated: true - -description: > - There is one clock/reset output per mmc controller. The number of - outputs is determined by the size of the address block, which is - related to the overall mmc block. - -properties: - "#clock-cells": - const: 1 - description: > - The additional ID argument passed to the clock shall refer to - the index of the output. - - "#reset-cells": - const: 1 - - compatible: - const: allwinner,sun9i-a80-mmc-config-clk - - reg: - maxItems: 1 - - clocks: - maxItems: 1 - - resets: - maxItems: 1 - - clock-output-names: - maxItems: 4 - -required: - - "#clock-cells" - - "#reset-cells" - - compatible - - reg - - clocks - - clock-output-names - -additionalProperties: false - -examples: - - | - clk@1c13000 { - #clock-cells = <1>; - #reset-cells = <1>; - compatible = "allwinner,sun9i-a80-mmc-config-clk"; - reg = <0x01c13000 0x10>; - clocks = <&ahb0_gates 8>; - resets = <&ahb0_resets 8>; - clock-output-names = "mmc0_config", "mmc1_config", - "mmc2_config", "mmc3_config"; - }; - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/allwinner,sun9i-a80-mmc-config-clk.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Allwinner A80 MMC Configuration Clock + +maintainers: + - Chen-Yu Tsai + - Maxime Ripard + +deprecated: true + +description: > + There is one clock/reset output per mmc controller. The number of + outputs is determined by the size of the address block, which is + related to the overall mmc block. + +properties: + "#clock-cells": + const: 1 + description: > + The additional ID argument passed to the clock shall refer to + the index of the output. + + "#reset-cells": + const: 1 + + compatible: + const: allwinner,sun9i-a80-mmc-config-clk + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + resets: + maxItems: 1 + + clock-output-names: + maxItems: 4 + +required: + - "#clock-cells" + - "#reset-cells" + - compatible + - reg + - clocks + - clock-output-names + +additionalProperties: false + +examples: + - | + clk@1c13000 { + #clock-cells = <1>; + #reset-cells = <1>; + compatible = "allwinner,sun9i-a80-mmc-config-clk"; + reg = <0x01c13000 0x10>; + clocks = <&ahb0_gates 8>; + resets = <&ahb0_resets 8>; + clock-output-names = "mmc0_config", "mmc1_config", + "mmc2_config", "mmc3_config"; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/altr_socfpga.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/altr_socfpga.txt index 7bc8ed9625..f72e80e0da 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/altr_socfpga.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/altr_socfpga.txt @@ -1,30 +1,30 @@ -Device Tree Clock bindings for Altera's SoCFPGA platform - -This binding uses the common clock binding[1]. - -[1] Documentation/devicetree/bindings/clock/clock-bindings.txt - -Required properties: -- compatible : shall be one of the following: - "altr,socfpga-pll-clock" - for a PLL clock - "altr,socfpga-perip-clock" - The peripheral clock divided from the - PLL clock. - "altr,socfpga-gate-clk" - Clocks that directly feed peripherals and - can get gated. - -- reg : shall be the control register offset from CLOCK_MANAGER's base for the clock. -- clocks : shall be the input parent clock phandle for the clock. This is - either an oscillator or a pll output. -- #clock-cells : from common clock binding, shall be set to 0. - -Optional properties: -- fixed-divider : If clocks have a fixed divider value, use this property. -- clk-gate : For "socfpga-gate-clk", clk-gate contains the gating register - and the bit index. -- div-reg : For "socfpga-gate-clk" and "socfpga-periph-clock", div-reg contains - the divider register, bit shift, and width. -- clk-phase : For the sdmmc_clk, contains the value of the clock phase that controls - the SDMMC CIU clock. The first value is the clk_sample(smpsel), and the second - value is the cclk_in_drv(drvsel). The clk-phase is used to enable the correct - hold/delay times that is needed for the SD/MMC CIU clock. The values of both - can be 0-315 degrees, in 45 degree increments. +Device Tree Clock bindings for Altera's SoCFPGA platform + +This binding uses the common clock binding[1]. + +[1] Documentation/devicetree/bindings/clock/clock-bindings.txt + +Required properties: +- compatible : shall be one of the following: + "altr,socfpga-pll-clock" - for a PLL clock + "altr,socfpga-perip-clock" - The peripheral clock divided from the + PLL clock. + "altr,socfpga-gate-clk" - Clocks that directly feed peripherals and + can get gated. + +- reg : shall be the control register offset from CLOCK_MANAGER's base for the clock. +- clocks : shall be the input parent clock phandle for the clock. This is + either an oscillator or a pll output. +- #clock-cells : from common clock binding, shall be set to 0. + +Optional properties: +- fixed-divider : If clocks have a fixed divider value, use this property. +- clk-gate : For "socfpga-gate-clk", clk-gate contains the gating register + and the bit index. +- div-reg : For "socfpga-gate-clk" and "socfpga-periph-clock", div-reg contains + the divider register, bit shift, and width. +- clk-phase : For the sdmmc_clk, contains the value of the clock phase that controls + the SDMMC CIU clock. The first value is the clk_sample(smpsel), and the second + value is the cclk_in_drv(drvsel). The clk-phase is used to enable the correct + hold/delay times that is needed for the SD/MMC CIU clock. The values of both + can be 0-315 degrees, in 45 degree increments. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/amlogic,a1-pll-clkc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/amlogic,a1-pll-clkc.yaml index 448fc050fb..c99274d2a9 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/amlogic,a1-pll-clkc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/amlogic,a1-pll-clkc.yaml @@ -1,64 +1,64 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/amlogic,a1-pll-clkc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Amlogic A1 PLL Clock Control Unit - -maintainers: - - Neil Armstrong - - Jerome Brunet - - Jian Hu - - Dmitry Rokosov - -properties: - compatible: - const: amlogic,a1-pll-clkc - - '#clock-cells': - const: 1 - - reg: - maxItems: 1 - - clocks: - items: - - description: input fixpll_in - - description: input hifipll_in - - description: input syspll_in - minItems: 2 # syspll_in is optional - - clock-names: - items: - - const: fixpll_in - - const: hifipll_in - - const: syspll_in - minItems: 2 # syspll_in is optional - -required: - - compatible - - '#clock-cells' - - reg - - clocks - - clock-names - -additionalProperties: false - -examples: - - | - #include - apb { - #address-cells = <2>; - #size-cells = <2>; - - clock-controller@7c80 { - compatible = "amlogic,a1-pll-clkc"; - reg = <0 0x7c80 0 0x18c>; - #clock-cells = <1>; - clocks = <&clkc_periphs CLKID_FIXPLL_IN>, - <&clkc_periphs CLKID_HIFIPLL_IN>, - <&clkc_periphs CLKID_SYSPLL_IN>; - clock-names = "fixpll_in", "hifipll_in", "syspll_in"; - }; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/amlogic,a1-pll-clkc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Amlogic A1 PLL Clock Control Unit + +maintainers: + - Neil Armstrong + - Jerome Brunet + - Jian Hu + - Dmitry Rokosov + +properties: + compatible: + const: amlogic,a1-pll-clkc + + '#clock-cells': + const: 1 + + reg: + maxItems: 1 + + clocks: + items: + - description: input fixpll_in + - description: input hifipll_in + - description: input syspll_in + minItems: 2 # syspll_in is optional + + clock-names: + items: + - const: fixpll_in + - const: hifipll_in + - const: syspll_in + minItems: 2 # syspll_in is optional + +required: + - compatible + - '#clock-cells' + - reg + - clocks + - clock-names + +additionalProperties: false + +examples: + - | + #include + apb { + #address-cells = <2>; + #size-cells = <2>; + + clock-controller@7c80 { + compatible = "amlogic,a1-pll-clkc"; + reg = <0 0x7c80 0 0x18c>; + #clock-cells = <1>; + clocks = <&clkc_periphs CLKID_FIXPLL_IN>, + <&clkc_periphs CLKID_HIFIPLL_IN>, + <&clkc_periphs CLKID_SYSPLL_IN>; + clock-names = "fixpll_in", "hifipll_in", "syspll_in"; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/amlogic,gxbb-aoclkc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/amlogic,gxbb-aoclkc.yaml index f73ca2e664..628e5dd33d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/amlogic,gxbb-aoclkc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/amlogic,gxbb-aoclkc.yaml @@ -1,85 +1,85 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/amlogic,gxbb-aoclkc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Amlogic Always-On Clock Controller - -maintainers: - - Neil Armstrong - -properties: - compatible: - oneOf: - - items: - - enum: - - amlogic,meson-gxbb-aoclkc - - amlogic,meson-gxl-aoclkc - - amlogic,meson-gxm-aoclkc - - amlogic,meson-axg-aoclkc - - const: amlogic,meson-gx-aoclkc - - enum: - - amlogic,meson-axg-aoclkc - - amlogic,meson-g12a-aoclkc - - clocks: - minItems: 2 - maxItems: 5 - - clock-names: - minItems: 2 - items: - - const: xtal - - const: mpeg-clk - - const: ext-32k-0 - - const: ext-32k-1 - - const: ext-32k-2 - - '#clock-cells': - const: 1 - - '#reset-cells': - const: 1 - -required: - - compatible - - clocks - - clock-names - - '#clock-cells' - - '#reset-cells' - -allOf: - - if: - properties: - compatible: - enum: - - amlogic,meson-g12a-aoclkc - - then: - properties: - clocks: - minItems: 2 - maxItems: 3 - - clock-names: - minItems: 2 - maxItems: 3 - - - if: - properties: - compatible: - enum: - - amlogic,meson-gxl-aoclkc - - amlogic,meson-gxm-aoclkc - - amlogic,meson-axg-aoclkc - - then: - properties: - clocks: - maxItems: 2 - - clock-names: - maxItems: 2 - -additionalProperties: false +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/amlogic,gxbb-aoclkc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Amlogic Always-On Clock Controller + +maintainers: + - Neil Armstrong + +properties: + compatible: + oneOf: + - items: + - enum: + - amlogic,meson-gxbb-aoclkc + - amlogic,meson-gxl-aoclkc + - amlogic,meson-gxm-aoclkc + - amlogic,meson-axg-aoclkc + - const: amlogic,meson-gx-aoclkc + - enum: + - amlogic,meson-axg-aoclkc + - amlogic,meson-g12a-aoclkc + + clocks: + minItems: 2 + maxItems: 5 + + clock-names: + minItems: 2 + items: + - const: xtal + - const: mpeg-clk + - const: ext-32k-0 + - const: ext-32k-1 + - const: ext-32k-2 + + '#clock-cells': + const: 1 + + '#reset-cells': + const: 1 + +required: + - compatible + - clocks + - clock-names + - '#clock-cells' + - '#reset-cells' + +allOf: + - if: + properties: + compatible: + enum: + - amlogic,meson-g12a-aoclkc + + then: + properties: + clocks: + minItems: 2 + maxItems: 3 + + clock-names: + minItems: 2 + maxItems: 3 + + - if: + properties: + compatible: + enum: + - amlogic,meson-gxl-aoclkc + - amlogic,meson-gxm-aoclkc + - amlogic,meson-axg-aoclkc + + then: + properties: + clocks: + maxItems: 2 + + clock-names: + maxItems: 2 + +additionalProperties: false diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/amlogic,meson8b-clkc.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/amlogic,meson8b-clkc.txt index fc5644e985..cc51e4746b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/amlogic,meson8b-clkc.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/amlogic,meson8b-clkc.txt @@ -1,51 +1,51 @@ -* Amlogic Meson8, Meson8b and Meson8m2 Clock and Reset Unit - -The Amlogic Meson8 / Meson8b / Meson8m2 clock controller generates and -supplies clock to various controllers within the SoC. - -Required Properties: - -- compatible: must be one of: - - "amlogic,meson8-clkc" for Meson8 (S802) SoCs - - "amlogic,meson8b-clkc" for Meson8 (S805) SoCs - - "amlogic,meson8m2-clkc" for Meson8m2 (S812) SoCs -- #clock-cells: should be 1. -- #reset-cells: should be 1. -- clocks: list of clock phandles, one for each entry in clock-names -- clock-names: should contain the following: - * "xtal": the 24MHz system oscillator - * "ddr_pll": the DDR PLL clock - * "clk_32k": (if present) the 32kHz clock signal from GPIOAO_6 (CLK_32K_IN) - -Parent node should have the following properties : -- compatible: "amlogic,meson-hhi-sysctrl", "simple-mfd", "syscon" -- reg: base address and size of the HHI system control register space. - -Each clock is assigned an identifier and client nodes can use this identifier -to specify the clock which they consume. All available clocks are defined as -preprocessor macros in the dt-bindings/clock/meson8b-clkc.h header and can be -used in device tree sources. - -Similarly a preprocessor macro for each reset line is defined in -dt-bindings/reset/amlogic,meson8b-clkc-reset.h (which can be used from the -device tree sources). - - -Example: Clock controller node: - - clkc: clock-controller { - compatible = "amlogic,meson8b-clkc"; - #clock-cells = <1>; - #reset-cells = <1>; - }; - - -Example: UART controller node that consumes the clock generated by the clock - controller: - - uart_AO: serial@c81004c0 { - compatible = "amlogic,meson-uart"; - reg = <0xc81004c0 0x14>; - interrupts = <0 90 1>; - clocks = <&clkc CLKID_CLK81>; - }; +* Amlogic Meson8, Meson8b and Meson8m2 Clock and Reset Unit + +The Amlogic Meson8 / Meson8b / Meson8m2 clock controller generates and +supplies clock to various controllers within the SoC. + +Required Properties: + +- compatible: must be one of: + - "amlogic,meson8-clkc" for Meson8 (S802) SoCs + - "amlogic,meson8b-clkc" for Meson8 (S805) SoCs + - "amlogic,meson8m2-clkc" for Meson8m2 (S812) SoCs +- #clock-cells: should be 1. +- #reset-cells: should be 1. +- clocks: list of clock phandles, one for each entry in clock-names +- clock-names: should contain the following: + * "xtal": the 24MHz system oscillator + * "ddr_pll": the DDR PLL clock + * "clk_32k": (if present) the 32kHz clock signal from GPIOAO_6 (CLK_32K_IN) + +Parent node should have the following properties : +- compatible: "amlogic,meson-hhi-sysctrl", "simple-mfd", "syscon" +- reg: base address and size of the HHI system control register space. + +Each clock is assigned an identifier and client nodes can use this identifier +to specify the clock which they consume. All available clocks are defined as +preprocessor macros in the dt-bindings/clock/meson8b-clkc.h header and can be +used in device tree sources. + +Similarly a preprocessor macro for each reset line is defined in +dt-bindings/reset/amlogic,meson8b-clkc-reset.h (which can be used from the +device tree sources). + + +Example: Clock controller node: + + clkc: clock-controller { + compatible = "amlogic,meson8b-clkc"; + #clock-cells = <1>; + #reset-cells = <1>; + }; + + +Example: UART controller node that consumes the clock generated by the clock + controller: + + uart_AO: serial@c81004c0 { + compatible = "amlogic,meson-uart"; + reg = <0xc81004c0 0x14>; + interrupts = <0 90 1>; + clocks = <&clkc CLKID_CLK81>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/apple,nco.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/apple,nco.yaml index b0dc80530c..8b8411dc42 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/apple,nco.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/apple,nco.yaml @@ -1,63 +1,63 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/apple,nco.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Apple SoCs' NCO block - -maintainers: - - Martin Povišer - -description: | - The NCO (Numerically Controlled Oscillator) block found on Apple SoCs - such as the t8103 (M1) is a programmable clock generator performing - fractional division of a high frequency input clock. - - It carries a number of independent channels and is typically used for - generation of audio bitclocks. - -properties: - compatible: - items: - - enum: - - apple,t6000-nco - - apple,t8103-nco - - apple,t8112-nco - - const: apple,nco - - clocks: - description: - Specifies the reference clock from which the output clocks - are derived through fractional division. - maxItems: 1 - - '#clock-cells': - const: 1 - - reg: - maxItems: 1 - -required: - - compatible - - clocks - - '#clock-cells' - - reg - -additionalProperties: false - -examples: - - | - nco_clkref: clock-ref { - compatible = "fixed-clock"; - #clock-cells = <0>; - clock-frequency = <900000000>; - clock-output-names = "nco-ref"; - }; - - nco: clock-controller@23b044000 { - compatible = "apple,t8103-nco", "apple,nco"; - reg = <0x3b044000 0x14000>; - #clock-cells = <1>; - clocks = <&nco_clkref>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/apple,nco.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Apple SoCs' NCO block + +maintainers: + - Martin Povišer + +description: | + The NCO (Numerically Controlled Oscillator) block found on Apple SoCs + such as the t8103 (M1) is a programmable clock generator performing + fractional division of a high frequency input clock. + + It carries a number of independent channels and is typically used for + generation of audio bitclocks. + +properties: + compatible: + items: + - enum: + - apple,t6000-nco + - apple,t8103-nco + - apple,t8112-nco + - const: apple,nco + + clocks: + description: + Specifies the reference clock from which the output clocks + are derived through fractional division. + maxItems: 1 + + '#clock-cells': + const: 1 + + reg: + maxItems: 1 + +required: + - compatible + - clocks + - '#clock-cells' + - reg + +additionalProperties: false + +examples: + - | + nco_clkref: clock-ref { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <900000000>; + clock-output-names = "nco-ref"; + }; + + nco: clock-controller@23b044000 { + compatible = "apple,t8103-nco", "apple,nco"; + reg = <0x3b044000 0x14000>; + #clock-cells = <1>; + clocks = <&nco_clkref>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/atmel,at91sam9x5-sckc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/atmel,at91sam9x5-sckc.yaml index 2be2c9aeb8..c2283cd07f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/atmel,at91sam9x5-sckc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/atmel,at91sam9x5-sckc.yaml @@ -1,72 +1,72 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/atmel,at91sam9x5-sckc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Atmel Slow Clock Controller (SCKC) - -maintainers: - - Claudiu Beznea - -properties: - compatible: - oneOf: - - enum: - - atmel,at91sam9x5-sckc - - atmel,sama5d3-sckc - - atmel,sama5d4-sckc - - microchip,sam9x60-sckc - - items: - - enum: - - microchip,sam9x7-sckc - - microchip,sama7g5-sckc - - const: microchip,sam9x60-sckc - - reg: - maxItems: 1 - - clocks: - maxItems: 1 - - "#clock-cells": - enum: [0, 1] - - atmel,osc-bypass: - type: boolean - description: set when a clock signal is directly provided on XIN - -required: - - compatible - - reg - - clocks - - "#clock-cells" - -allOf: - - if: - properties: - compatible: - contains: - enum: - - microchip,sam9x60-sckc - then: - properties: - "#clock-cells": - const: 1 - else: - properties: - "#clock-cells": - const: 0 - -additionalProperties: false - -examples: - - | - clk32k: clock-controller@fffffe50 { - compatible = "microchip,sam9x60-sckc"; - reg = <0xfffffe50 0x4>; - clocks = <&slow_xtal>; - #clock-cells = <1>; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/atmel,at91sam9x5-sckc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Atmel Slow Clock Controller (SCKC) + +maintainers: + - Claudiu Beznea + +properties: + compatible: + oneOf: + - enum: + - atmel,at91sam9x5-sckc + - atmel,sama5d3-sckc + - atmel,sama5d4-sckc + - microchip,sam9x60-sckc + - items: + - enum: + - microchip,sam9x7-sckc + - microchip,sama7g5-sckc + - const: microchip,sam9x60-sckc + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + "#clock-cells": + enum: [0, 1] + + atmel,osc-bypass: + type: boolean + description: set when a clock signal is directly provided on XIN + +required: + - compatible + - reg + - clocks + - "#clock-cells" + +allOf: + - if: + properties: + compatible: + contains: + enum: + - microchip,sam9x60-sckc + then: + properties: + "#clock-cells": + const: 1 + else: + properties: + "#clock-cells": + const: 0 + +additionalProperties: false + +examples: + - | + clk32k: clock-controller@fffffe50 { + compatible = "microchip,sam9x60-sckc"; + reg = <0xfffffe50 0x4>; + clocks = <&slow_xtal>; + #clock-cells = <1>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/brcm,bcm2835-cprman.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/brcm,bcm2835-cprman.txt index 1ddd8fc881..9e0b03a651 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/brcm,bcm2835-cprman.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/brcm,bcm2835-cprman.txt @@ -1,60 +1,60 @@ -Broadcom BCM2835 CPRMAN clocks - -This binding uses the common clock binding: - Documentation/devicetree/bindings/clock/clock-bindings.txt - -The CPRMAN clock controller generates clocks in the audio power domain -of the BCM2835. There is a level of PLLs deriving from an external -oscillator, a level of PLL dividers that produce channels off of the -few PLLs, and a level of mostly-generic clock generators sourcing from -the PLL channels. Most other hardware components source from the -clock generators, but a few (like the ARM or HDMI) will source from -the PLL dividers directly. - -Required properties: -- compatible: should be one of the following, - "brcm,bcm2711-cprman" - "brcm,bcm2835-cprman" -- #clock-cells: Should be <1>. The permitted clock-specifier values can be - found in include/dt-bindings/clock/bcm2835.h -- reg: Specifies base physical address and size of the registers -- clocks: phandles to the parent clocks used as input to the module, in - the following order: - - - External oscillator - - DSI0 byte clock - - DSI0 DDR2 clock - - DSI0 DDR clock - - DSI1 byte clock - - DSI1 DDR2 clock - - DSI1 DDR clock - - Only external oscillator is required. The DSI clocks may - not be present, in which case their children will be - unusable. - -Example: - - clk_osc: clock@3 { - compatible = "fixed-clock"; - reg = <3>; - #clock-cells = <0>; - clock-output-names = "osc"; - clock-frequency = <19200000>; - }; - - clocks: cprman@7e101000 { - compatible = "brcm,bcm2835-cprman"; - #clock-cells = <1>; - reg = <0x7e101000 0x2000>; - clocks = <&clk_osc>; - }; - - i2c0: i2c@7e205000 { - compatible = "brcm,bcm2835-i2c"; - reg = <0x7e205000 0x1000>; - interrupts = <2 21>; - clocks = <&clocks BCM2835_CLOCK_VPU>; - #address-cells = <1>; - #size-cells = <0>; - }; +Broadcom BCM2835 CPRMAN clocks + +This binding uses the common clock binding: + Documentation/devicetree/bindings/clock/clock-bindings.txt + +The CPRMAN clock controller generates clocks in the audio power domain +of the BCM2835. There is a level of PLLs deriving from an external +oscillator, a level of PLL dividers that produce channels off of the +few PLLs, and a level of mostly-generic clock generators sourcing from +the PLL channels. Most other hardware components source from the +clock generators, but a few (like the ARM or HDMI) will source from +the PLL dividers directly. + +Required properties: +- compatible: should be one of the following, + "brcm,bcm2711-cprman" + "brcm,bcm2835-cprman" +- #clock-cells: Should be <1>. The permitted clock-specifier values can be + found in include/dt-bindings/clock/bcm2835.h +- reg: Specifies base physical address and size of the registers +- clocks: phandles to the parent clocks used as input to the module, in + the following order: + + - External oscillator + - DSI0 byte clock + - DSI0 DDR2 clock + - DSI0 DDR clock + - DSI1 byte clock + - DSI1 DDR2 clock + - DSI1 DDR clock + + Only external oscillator is required. The DSI clocks may + not be present, in which case their children will be + unusable. + +Example: + + clk_osc: clock@3 { + compatible = "fixed-clock"; + reg = <3>; + #clock-cells = <0>; + clock-output-names = "osc"; + clock-frequency = <19200000>; + }; + + clocks: cprman@7e101000 { + compatible = "brcm,bcm2835-cprman"; + #clock-cells = <1>; + reg = <0x7e101000 0x2000>; + clocks = <&clk_osc>; + }; + + i2c0: i2c@7e205000 { + compatible = "brcm,bcm2835-i2c"; + reg = <0x7e205000 0x1000>; + interrupts = <2 21>; + clocks = <&clocks BCM2835_CLOCK_VPU>; + #address-cells = <1>; + #size-cells = <0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/fsl,plldig.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/fsl,plldig.yaml index 595b7a3bbd..88dd9c18db 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/fsl,plldig.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/fsl,plldig.yaml @@ -1,58 +1,58 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/fsl,plldig.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: NXP QorIQ Layerscape LS1028A Display PIXEL Clock - -maintainers: - - Wen He - -description: | - NXP LS1028A has a clock domain PXLCLK0 used for the Display output - interface in the display core, as implemented in TSMC CLN28HPM PLL. - which generate and offers pixel clocks to Display. - -properties: - compatible: - const: fsl,ls1028a-plldig - - reg: - maxItems: 1 - - clocks: - maxItems: 1 - - '#clock-cells': - const: 0 - - fsl,vco-hz: - description: Optional for VCO frequency of the PLL in Hertz. The VCO frequency - of this PLL cannot be changed during runtime only at startup. Therefore, - the output frequencies are very limited and might not even closely match - the requested frequency. To work around this restriction the user may specify - its own desired VCO frequency for the PLL. - minimum: 650000000 - maximum: 1300000000 - default: 1188000000 - -required: - - compatible - - reg - - clocks - - '#clock-cells' - -additionalProperties: false - -examples: - # Display PIXEL Clock node: - - | - dpclk: clock-display@f1f0000 { - compatible = "fsl,ls1028a-plldig"; - reg = <0xf1f0000 0xffff>; - #clock-cells = <0>; - clocks = <&osc_27m>; - }; - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/fsl,plldig.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NXP QorIQ Layerscape LS1028A Display PIXEL Clock + +maintainers: + - Wen He + +description: | + NXP LS1028A has a clock domain PXLCLK0 used for the Display output + interface in the display core, as implemented in TSMC CLN28HPM PLL. + which generate and offers pixel clocks to Display. + +properties: + compatible: + const: fsl,ls1028a-plldig + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + '#clock-cells': + const: 0 + + fsl,vco-hz: + description: Optional for VCO frequency of the PLL in Hertz. The VCO frequency + of this PLL cannot be changed during runtime only at startup. Therefore, + the output frequencies are very limited and might not even closely match + the requested frequency. To work around this restriction the user may specify + its own desired VCO frequency for the PLL. + minimum: 650000000 + maximum: 1300000000 + default: 1188000000 + +required: + - compatible + - reg + - clocks + - '#clock-cells' + +additionalProperties: false + +examples: + # Display PIXEL Clock node: + - | + dpclk: clock-display@f1f0000 { + compatible = "fsl,ls1028a-plldig"; + reg = <0xf1f0000 0xffff>; + #clock-cells = <0>; + clocks = <&osc_27m>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/fsl,qoriq-clock-legacy.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/fsl,qoriq-clock-legacy.yaml index 7bcaced58e..97b96a1a58 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/fsl,qoriq-clock-legacy.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/fsl,qoriq-clock-legacy.yaml @@ -1,84 +1,84 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/fsl,qoriq-clock-legacy.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Legacy Clock Block on Freescale QorIQ Platforms - -maintainers: - - Frank Li - -description: | - These nodes are deprecated. Kernels should continue to support - device trees with these nodes, but new device trees should not use them. - - Most of the bindings are from the common clock binding[1]. - [1] Documentation/devicetree/bindings/clock/clock-bindings.txt - -properties: - compatible: - enum: - - fsl,qoriq-core-pll-1.0 - - fsl,qoriq-core-pll-2.0 - - fsl,qoriq-core-mux-1.0 - - fsl,qoriq-core-mux-2.0 - - fsl,qoriq-sysclk-1.0 - - fsl,qoriq-sysclk-2.0 - - fsl,qoriq-platform-pll-1.0 - - fsl,qoriq-platform-pll-2.0 - - reg: - maxItems: 1 - - clocks: - minItems: 1 - maxItems: 4 - - clock-names: - minItems: 1 - maxItems: 4 - - clock-output-names: - minItems: 1 - maxItems: 8 - - '#clock-cells': - minimum: 0 - maximum: 1 - -required: - - compatible - - '#clock-cells' - -additionalProperties: false - -allOf: - - if: - properties: - compatible: - contains: - enum: - - fsl,qoriq-sysclk-1.0 - - fsl,qoriq-sysclk-2.0 - then: - properties: - '#clock-cells': - const: 0 - - - if: - properties: - compatible: - contains: - enum: - - fsl,qoriq-core-pll-1.0 - - fsl,qoriq-core-pll-2.0 - then: - properties: - '#clock-cells': - const: 1 - description: | - * 0 - equal to the PLL frequency - * 1 - equal to the PLL frequency divided by 2 - * 2 - equal to the PLL frequency divided by 4 - +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/fsl,qoriq-clock-legacy.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Legacy Clock Block on Freescale QorIQ Platforms + +maintainers: + - Frank Li + +description: | + These nodes are deprecated. Kernels should continue to support + device trees with these nodes, but new device trees should not use them. + + Most of the bindings are from the common clock binding[1]. + [1] Documentation/devicetree/bindings/clock/clock-bindings.txt + +properties: + compatible: + enum: + - fsl,qoriq-core-pll-1.0 + - fsl,qoriq-core-pll-2.0 + - fsl,qoriq-core-mux-1.0 + - fsl,qoriq-core-mux-2.0 + - fsl,qoriq-sysclk-1.0 + - fsl,qoriq-sysclk-2.0 + - fsl,qoriq-platform-pll-1.0 + - fsl,qoriq-platform-pll-2.0 + + reg: + maxItems: 1 + + clocks: + minItems: 1 + maxItems: 4 + + clock-names: + minItems: 1 + maxItems: 4 + + clock-output-names: + minItems: 1 + maxItems: 8 + + '#clock-cells': + minimum: 0 + maximum: 1 + +required: + - compatible + - '#clock-cells' + +additionalProperties: false + +allOf: + - if: + properties: + compatible: + contains: + enum: + - fsl,qoriq-sysclk-1.0 + - fsl,qoriq-sysclk-2.0 + then: + properties: + '#clock-cells': + const: 0 + + - if: + properties: + compatible: + contains: + enum: + - fsl,qoriq-core-pll-1.0 + - fsl,qoriq-core-pll-2.0 + then: + properties: + '#clock-cells': + const: 1 + description: | + * 0 - equal to the PLL frequency + * 1 - equal to the PLL frequency divided by 2 + * 2 - equal to the PLL frequency divided by 4 + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/hi3660-clock.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/hi3660-clock.txt index 2508f7680e..946da7cee5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/hi3660-clock.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/hi3660-clock.txt @@ -1,47 +1,47 @@ -* Hisilicon Hi3660 Clock Controller - -The Hi3660 clock controller generates and supplies clock to various -controllers within the Hi3660 SoC. - -Required Properties: - -- compatible: the compatible should be one of the following strings to - indicate the clock controller functionality. - - - "hisilicon,hi3660-crgctrl" - - "hisilicon,hi3660-pctrl" - - "hisilicon,hi3660-pmuctrl" - - "hisilicon,hi3660-sctrl" - - "hisilicon,hi3660-iomcu" - - "hisilicon,hi3660-stub-clk" - -- reg: physical base address of the controller and length of memory mapped - region. - -- #clock-cells: should be 1. - -Optional Properties: - -- mboxes: Phandle to the mailbox for sending message to MCU. - (See: ../mailbox/hisilicon,hi3660-mailbox.txt for more info) - -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 . - -Examples: - crg_ctrl: clock-controller@fff35000 { - compatible = "hisilicon,hi3660-crgctrl", "syscon"; - reg = <0x0 0xfff35000 0x0 0x1000>; - #clock-cells = <1>; - }; - - uart0: serial@fdf02000 { - compatible = "arm,pl011", "arm,primecell"; - reg = <0x0 0xfdf02000 0x0 0x1000>; - interrupts = ; - clocks = <&crg_ctrl HI3660_CLK_MUX_UART0>, - <&crg_ctrl HI3660_PCLK>; - clock-names = "uartclk", "apb_pclk"; - }; +* Hisilicon Hi3660 Clock Controller + +The Hi3660 clock controller generates and supplies clock to various +controllers within the Hi3660 SoC. + +Required Properties: + +- compatible: the compatible should be one of the following strings to + indicate the clock controller functionality. + + - "hisilicon,hi3660-crgctrl" + - "hisilicon,hi3660-pctrl" + - "hisilicon,hi3660-pmuctrl" + - "hisilicon,hi3660-sctrl" + - "hisilicon,hi3660-iomcu" + - "hisilicon,hi3660-stub-clk" + +- reg: physical base address of the controller and length of memory mapped + region. + +- #clock-cells: should be 1. + +Optional Properties: + +- mboxes: Phandle to the mailbox for sending message to MCU. + (See: ../mailbox/hisilicon,hi3660-mailbox.txt for more info) + +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 . + +Examples: + crg_ctrl: clock-controller@fff35000 { + compatible = "hisilicon,hi3660-crgctrl", "syscon"; + reg = <0x0 0xfff35000 0x0 0x1000>; + #clock-cells = <1>; + }; + + uart0: serial@fdf02000 { + compatible = "arm,pl011", "arm,primecell"; + reg = <0x0 0xfdf02000 0x0 0x1000>; + interrupts = ; + clocks = <&crg_ctrl HI3660_CLK_MUX_UART0>, + <&crg_ctrl HI3660_PCLK>; + clock-names = "uartclk", "apb_pclk"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/hi6220-clock.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/hi6220-clock.txt index 060598b5c1..17ac4a3dd2 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/hi6220-clock.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/hi6220-clock.txt @@ -1,52 +1,52 @@ -* Hisilicon Hi6220 Clock Controller - -Clock control registers reside in different Hi6220 system controllers, -please refer the following document to know more about the binding rules -for these system controllers: - -Documentation/devicetree/bindings/arm/hisilicon/hisilicon.yaml - -Required Properties: - -- compatible: the compatible should be one of the following strings to - indicate the clock controller functionality. - - - "hisilicon,hi6220-acpu-sctrl" - - "hisilicon,hi6220-aoctrl" - - "hisilicon,hi6220-sysctrl" - - "hisilicon,hi6220-mediactrl" - - "hisilicon,hi6220-pmctrl" - - "hisilicon,hi6220-stub-clk" - -- reg: physical base address of the controller and length of memory mapped - region. - -- #clock-cells: should be 1. - -Optional Properties: - -- hisilicon,hi6220-clk-sram: phandle to the syscon managing the SoC internal sram; - the driver need use the sram to pass parameters for frequency change. - -- mboxes: use the label reference for the mailbox as the first parameter, the - second parameter is the channel number. - -Example 1: - sys_ctrl: sys_ctrl@f7030000 { - compatible = "hisilicon,hi6220-sysctrl", "syscon"; - reg = <0x0 0xf7030000 0x0 0x2000>; - #clock-cells = <1>; - }; - -Example 2: - stub_clock: stub_clock { - compatible = "hisilicon,hi6220-stub-clk"; - hisilicon,hi6220-clk-sram = <&sram>; - #clock-cells = <1>; - mboxes = <&mailbox 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 . +* Hisilicon Hi6220 Clock Controller + +Clock control registers reside in different Hi6220 system controllers, +please refer the following document to know more about the binding rules +for these system controllers: + +Documentation/devicetree/bindings/arm/hisilicon/hisilicon.yaml + +Required Properties: + +- compatible: the compatible should be one of the following strings to + indicate the clock controller functionality. + + - "hisilicon,hi6220-acpu-sctrl" + - "hisilicon,hi6220-aoctrl" + - "hisilicon,hi6220-sysctrl" + - "hisilicon,hi6220-mediactrl" + - "hisilicon,hi6220-pmctrl" + - "hisilicon,hi6220-stub-clk" + +- reg: physical base address of the controller and length of memory mapped + region. + +- #clock-cells: should be 1. + +Optional Properties: + +- hisilicon,hi6220-clk-sram: phandle to the syscon managing the SoC internal sram; + the driver need use the sram to pass parameters for frequency change. + +- mboxes: use the label reference for the mailbox as the first parameter, the + second parameter is the channel number. + +Example 1: + sys_ctrl: sys_ctrl@f7030000 { + compatible = "hisilicon,hi6220-sysctrl", "syscon"; + reg = <0x0 0xf7030000 0x0 0x2000>; + #clock-cells = <1>; + }; + +Example 2: + stub_clock: stub_clock { + compatible = "hisilicon,hi6220-stub-clk"; + hisilicon,hi6220-clk-sram = <&sram>; + #clock-cells = <1>; + mboxes = <&mailbox 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/hisi-crg.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/hisi-crg.txt index 3b2c4a9527..cc60b3d423 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/hisi-crg.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/hisi-crg.txt @@ -1,50 +1,50 @@ -* HiSilicon Clock and Reset Generator(CRG) - -The CRG module provides clock and reset signals to various -modules within the SoC. - -This binding uses the following bindings: - Documentation/devicetree/bindings/clock/clock-bindings.txt - Documentation/devicetree/bindings/reset/reset.txt - -Required Properties: - -- compatible: should be one of the following. - - "hisilicon,hi3516cv300-crg" - - "hisilicon,hi3516cv300-sysctrl" - - "hisilicon,hi3519-crg" - - "hisilicon,hi3798cv200-crg" - - "hisilicon,hi3798cv200-sysctrl" - -- reg: physical base address of the controller and length of memory mapped - region. - -- #clock-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 . - -- #reset-cells: should be 2. - -A reset signal can be controlled by writing a bit register in the CRG module. -The reset specifier consists of two cells. The first cell represents the -register offset relative to the base address. The second cell represents the -bit index in the register. - -Example: CRG nodes -CRG: clock-reset-controller@12010000 { - compatible = "hisilicon,hi3519-crg"; - reg = <0x12010000 0x10000>; - #clock-cells = <1>; - #reset-cells = <2>; -}; - -Example: consumer nodes -i2c0: i2c@12110000 { - compatible = "hisilicon,hi3519-i2c"; - reg = <0x12110000 0x1000>; - clocks = <&CRG HI3519_I2C0_RST>; - resets = <&CRG 0xe4 0>; -}; +* HiSilicon Clock and Reset Generator(CRG) + +The CRG module provides clock and reset signals to various +modules within the SoC. + +This binding uses the following bindings: + Documentation/devicetree/bindings/clock/clock-bindings.txt + Documentation/devicetree/bindings/reset/reset.txt + +Required Properties: + +- compatible: should be one of the following. + - "hisilicon,hi3516cv300-crg" + - "hisilicon,hi3516cv300-sysctrl" + - "hisilicon,hi3519-crg" + - "hisilicon,hi3798cv200-crg" + - "hisilicon,hi3798cv200-sysctrl" + +- reg: physical base address of the controller and length of memory mapped + region. + +- #clock-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 . + +- #reset-cells: should be 2. + +A reset signal can be controlled by writing a bit register in the CRG module. +The reset specifier consists of two cells. The first cell represents the +register offset relative to the base address. The second cell represents the +bit index in the register. + +Example: CRG nodes +CRG: clock-reset-controller@12010000 { + compatible = "hisilicon,hi3519-crg"; + reg = <0x12010000 0x10000>; + #clock-cells = <1>; + #reset-cells = <2>; +}; + +Example: consumer nodes +i2c0: i2c@12110000 { + compatible = "hisilicon,hi3519-i2c"; + reg = <0x12110000 0x1000>; + clocks = <&CRG HI3519_I2C0_RST>; + resets = <&CRG 0xe4 0>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/imx23-clock.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/imx23-clock.yaml index 7f6c37a406..5e71c92195 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/imx23-clock.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/imx23-clock.yaml @@ -1,85 +1,85 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/imx23-clock.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Freescale i.MX23 Clock Controller - -maintainers: - - Shawn Guo - -description: | - The clock consumer should specify the desired clock by having the clock - ID in its "clocks" phandle cell. The following is a full list of i.MX23 - clocks and IDs. - - Clock ID - ------------------ - ref_xtal 0 - pll 1 - ref_cpu 2 - ref_emi 3 - ref_pix 4 - ref_io 5 - saif_sel 6 - lcdif_sel 7 - gpmi_sel 8 - ssp_sel 9 - emi_sel 10 - cpu 11 - etm_sel 12 - cpu_pll 13 - cpu_xtal 14 - hbus 15 - xbus 16 - lcdif_div 17 - ssp_div 18 - gpmi_div 19 - emi_pll 20 - emi_xtal 21 - etm_div 22 - saif_div 23 - clk32k_div 24 - rtc 25 - adc 26 - spdif_div 27 - clk32k 28 - dri 29 - pwm 30 - filt 31 - uart 32 - ssp 33 - gpmi 34 - spdif 35 - emi 36 - saif 37 - lcdif 38 - etm 39 - usb 40 - usb_phy 41 - -properties: - compatible: - const: fsl,imx23-clkctrl - - reg: - maxItems: 1 - - '#clock-cells': - const: 1 - -required: - - compatible - - reg - - '#clock-cells' - -additionalProperties: false - -examples: - - | - clock-controller@80040000 { - compatible = "fsl,imx23-clkctrl"; - reg = <0x80040000 0x2000>; - #clock-cells = <1>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/imx23-clock.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Freescale i.MX23 Clock Controller + +maintainers: + - Shawn Guo + +description: | + The clock consumer should specify the desired clock by having the clock + ID in its "clocks" phandle cell. The following is a full list of i.MX23 + clocks and IDs. + + Clock ID + ------------------ + ref_xtal 0 + pll 1 + ref_cpu 2 + ref_emi 3 + ref_pix 4 + ref_io 5 + saif_sel 6 + lcdif_sel 7 + gpmi_sel 8 + ssp_sel 9 + emi_sel 10 + cpu 11 + etm_sel 12 + cpu_pll 13 + cpu_xtal 14 + hbus 15 + xbus 16 + lcdif_div 17 + ssp_div 18 + gpmi_div 19 + emi_pll 20 + emi_xtal 21 + etm_div 22 + saif_div 23 + clk32k_div 24 + rtc 25 + adc 26 + spdif_div 27 + clk32k 28 + dri 29 + pwm 30 + filt 31 + uart 32 + ssp 33 + gpmi 34 + spdif 35 + emi 36 + saif 37 + lcdif 38 + etm 39 + usb 40 + usb_phy 41 + +properties: + compatible: + const: fsl,imx23-clkctrl + + reg: + maxItems: 1 + + '#clock-cells': + const: 1 + +required: + - compatible + - reg + - '#clock-cells' + +additionalProperties: false + +examples: + - | + clock-controller@80040000 { + compatible = "fsl,imx23-clkctrl"; + reg = <0x80040000 0x2000>; + #clock-cells = <1>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/imx5-clock.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/imx5-clock.yaml index dd746641a2..423c0142c1 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/imx5-clock.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/imx5-clock.yaml @@ -1,58 +1,58 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/imx5-clock.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Freescale i.MX5 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/imx5-clock.h - for the full list of i.MX5 clock IDs. - -properties: - compatible: - enum: - - fsl,imx53-ccm - - fsl,imx51-ccm - - fsl,imx50-ccm - - reg: - maxItems: 1 - - interrupts: - description: CCM provides 2 interrupt requests, request 1 is to generate - interrupt for frequency or mux change, request 2 is to generate - interrupt for oscillator read or PLL lock. - items: - - description: CCM interrupt request 1 - - description: CCM interrupt request 2 - - '#clock-cells': - const: 1 - -required: - - compatible - - reg - - interrupts - - '#clock-cells' - -additionalProperties: false - -examples: - - | - #include - #include - - clock-controller@53fd4000{ - compatible = "fsl,imx53-ccm"; - reg = <0x53fd4000 0x4000>; - interrupts = <0 71 IRQ_TYPE_LEVEL_HIGH>, - <0 72 IRQ_TYPE_LEVEL_HIGH>; - #clock-cells = <1>; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/imx5-clock.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Freescale i.MX5 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/imx5-clock.h + for the full list of i.MX5 clock IDs. + +properties: + compatible: + enum: + - fsl,imx53-ccm + - fsl,imx51-ccm + - fsl,imx50-ccm + + reg: + maxItems: 1 + + interrupts: + description: CCM provides 2 interrupt requests, request 1 is to generate + interrupt for frequency or mux change, request 2 is to generate + interrupt for oscillator read or PLL lock. + items: + - description: CCM interrupt request 1 + - description: CCM interrupt request 2 + + '#clock-cells': + const: 1 + +required: + - compatible + - reg + - interrupts + - '#clock-cells' + +additionalProperties: false + +examples: + - | + #include + #include + + clock-controller@53fd4000{ + compatible = "fsl,imx53-ccm"; + reg = <0x53fd4000 0x4000>; + interrupts = <0 71 IRQ_TYPE_LEVEL_HIGH>, + <0 72 IRQ_TYPE_LEVEL_HIGH>; + #clock-cells = <1>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/imx6sll-clock.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/imx6sll-clock.yaml index fb3b53e5e2..6d64cf9463 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/imx6sll-clock.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/imx6sll-clock.yaml @@ -1,68 +1,68 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/imx6sll-clock.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Freescale i.MX6 SLL Clock Controller - -maintainers: - - Abel Vesa - - Peng Fan - -properties: - compatible: - const: fsl,imx6sll-ccm - - reg: - maxItems: 1 - - interrupts: - description: CCM provides 2 interrupt requests, request 1 is to generate - interrupt for frequency or mux change, request 2 is to generate - interrupt for oscillator read or PLL lock. - items: - - description: CCM interrupt request 1 - - description: CCM interrupt request 2 - - '#clock-cells': - const: 1 - - clocks: - items: - - description: 32k osc - - description: 24m osc - - description: ipp_di0 clock input - - description: ipp_di1 clock input - - clock-names: - items: - - const: ckil - - const: osc - - const: ipp_di0 - - const: ipp_di1 - -required: - - compatible - - reg - - interrupts - - '#clock-cells' - - clocks - - clock-names - -additionalProperties: false - -examples: - # Clock Control Module node: - - | - #include - - clock-controller@20c4000 { - compatible = "fsl,imx6sll-ccm"; - reg = <0x020c4000 0x4000>; - interrupts = , - ; - #clock-cells = <1>; - clocks = <&ckil>, <&osc>, <&ipp_di0>, <&ipp_di1>; - clock-names = "ckil", "osc", "ipp_di0", "ipp_di1"; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/imx6sll-clock.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Freescale i.MX6 SLL Clock Controller + +maintainers: + - Abel Vesa + - Peng Fan + +properties: + compatible: + const: fsl,imx6sll-ccm + + reg: + maxItems: 1 + + interrupts: + description: CCM provides 2 interrupt requests, request 1 is to generate + interrupt for frequency or mux change, request 2 is to generate + interrupt for oscillator read or PLL lock. + items: + - description: CCM interrupt request 1 + - description: CCM interrupt request 2 + + '#clock-cells': + const: 1 + + clocks: + items: + - description: 32k osc + - description: 24m osc + - description: ipp_di0 clock input + - description: ipp_di1 clock input + + clock-names: + items: + - const: ckil + - const: osc + - const: ipp_di0 + - const: ipp_di1 + +required: + - compatible + - reg + - interrupts + - '#clock-cells' + - clocks + - clock-names + +additionalProperties: false + +examples: + # Clock Control Module node: + - | + #include + + clock-controller@20c4000 { + compatible = "fsl,imx6sll-ccm"; + reg = <0x020c4000 0x4000>; + interrupts = , + ; + #clock-cells = <1>; + clocks = <&ckil>, <&osc>, <&ipp_di0>, <&ipp_di1>; + clock-names = "ckil", "osc", "ipp_di0", "ipp_di1"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/imx6sx-clock.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/imx6sx-clock.yaml index f318fe5cba..77afa4b81c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/imx6sx-clock.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/imx6sx-clock.yaml @@ -1,72 +1,72 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/imx6sx-clock.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Freescale i.MX6 SoloX Clock Controller - -maintainers: - - Abel Vesa - - Peng Fan - -properties: - compatible: - const: fsl,imx6sx-ccm - - reg: - maxItems: 1 - - interrupts: - description: CCM provides 2 interrupt requests, request 1 is to generate - interrupt for frequency or mux change, request 2 is to generate - interrupt for oscillator read or PLL lock. - items: - - description: CCM interrupt request 1 - - description: CCM interrupt request 2 - - '#clock-cells': - const: 1 - - clocks: - items: - - description: 32k osc - - description: 24m osc - - description: ipp_di0 clock input - - description: ipp_di1 clock input - - description: anaclk1 clock input - - description: anaclk2 clock input - - clock-names: - items: - - const: ckil - - const: osc - - const: ipp_di0 - - const: ipp_di1 - - const: anaclk1 - - const: anaclk2 - -required: - - compatible - - reg - - interrupts - - '#clock-cells' - - clocks - - clock-names - -additionalProperties: false - -examples: - # Clock Control Module node: - - | - #include - - clock-controller@20c4000 { - compatible = "fsl,imx6sx-ccm"; - reg = <0x020c4000 0x4000>; - interrupts = , - ; - #clock-cells = <1>; - clocks = <&ckil>, <&osc>, <&ipp_di0>, <&ipp_di1>, <&anaclk1>, <&anaclk2>; - clock-names = "ckil", "osc", "ipp_di0", "ipp_di1", "anaclk1", "anaclk2"; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/imx6sx-clock.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Freescale i.MX6 SoloX Clock Controller + +maintainers: + - Abel Vesa + - Peng Fan + +properties: + compatible: + const: fsl,imx6sx-ccm + + reg: + maxItems: 1 + + interrupts: + description: CCM provides 2 interrupt requests, request 1 is to generate + interrupt for frequency or mux change, request 2 is to generate + interrupt for oscillator read or PLL lock. + items: + - description: CCM interrupt request 1 + - description: CCM interrupt request 2 + + '#clock-cells': + const: 1 + + clocks: + items: + - description: 32k osc + - description: 24m osc + - description: ipp_di0 clock input + - description: ipp_di1 clock input + - description: anaclk1 clock input + - description: anaclk2 clock input + + clock-names: + items: + - const: ckil + - const: osc + - const: ipp_di0 + - const: ipp_di1 + - const: anaclk1 + - const: anaclk2 + +required: + - compatible + - reg + - interrupts + - '#clock-cells' + - clocks + - clock-names + +additionalProperties: false + +examples: + # Clock Control Module node: + - | + #include + + clock-controller@20c4000 { + compatible = "fsl,imx6sx-ccm"; + reg = <0x020c4000 0x4000>; + interrupts = , + ; + #clock-cells = <1>; + clocks = <&ckil>, <&osc>, <&ipp_di0>, <&ipp_di1>, <&anaclk1>, <&anaclk2>; + clock-names = "ckil", "osc", "ipp_di0", "ipp_di1", "anaclk1", "anaclk2"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/imx6ul-clock.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/imx6ul-clock.yaml index de7c2d7faf..d57e18a210 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/imx6ul-clock.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/imx6ul-clock.yaml @@ -1,68 +1,68 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/imx6ul-clock.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Freescale i.MX6 UltraLite Clock Controller - -maintainers: - - Abel Vesa - - Peng Fan - -properties: - compatible: - const: fsl,imx6ul-ccm - - reg: - maxItems: 1 - - interrupts: - description: CCM provides 2 interrupt requests, request 1 is to generate - interrupt for frequency or mux change, request 2 is to generate - interrupt for oscillator read or PLL lock. - items: - - description: CCM interrupt request 1 - - description: CCM interrupt request 2 - - '#clock-cells': - const: 1 - - clocks: - items: - - description: 32k osc - - description: 24m osc - - description: ipp_di0 clock input - - description: ipp_di1 clock input - - clock-names: - items: - - const: ckil - - const: osc - - const: ipp_di0 - - const: ipp_di1 - -required: - - compatible - - reg - - interrupts - - '#clock-cells' - - clocks - - clock-names - -additionalProperties: false - -examples: - # Clock Control Module node: - - | - #include - - clock-controller@20c4000 { - compatible = "fsl,imx6ul-ccm"; - reg = <0x020c4000 0x4000>; - interrupts = , - ; - #clock-cells = <1>; - clocks = <&ckil>, <&osc>, <&ipp_di0>, <&ipp_di1>; - clock-names = "ckil", "osc", "ipp_di0", "ipp_di1"; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/imx6ul-clock.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Freescale i.MX6 UltraLite Clock Controller + +maintainers: + - Abel Vesa + - Peng Fan + +properties: + compatible: + const: fsl,imx6ul-ccm + + reg: + maxItems: 1 + + interrupts: + description: CCM provides 2 interrupt requests, request 1 is to generate + interrupt for frequency or mux change, request 2 is to generate + interrupt for oscillator read or PLL lock. + items: + - description: CCM interrupt request 1 + - description: CCM interrupt request 2 + + '#clock-cells': + const: 1 + + clocks: + items: + - description: 32k osc + - description: 24m osc + - description: ipp_di0 clock input + - description: ipp_di1 clock input + + clock-names: + items: + - const: ckil + - const: osc + - const: ipp_di0 + - const: ipp_di1 + +required: + - compatible + - reg + - interrupts + - '#clock-cells' + - clocks + - clock-names + +additionalProperties: false + +examples: + # Clock Control Module node: + - | + #include + + clock-controller@20c4000 { + compatible = "fsl,imx6ul-ccm"; + reg = <0x020c4000 0x4000>; + interrupts = , + ; + #clock-cells = <1>; + clocks = <&ckil>, <&osc>, <&ipp_di0>, <&ipp_di1>; + clock-names = "ckil", "osc", "ipp_di0", "ipp_di1"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/imx7d-clock.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/imx7d-clock.yaml index 789cd3a9a2..880d602d09 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/imx7d-clock.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/imx7d-clock.yaml @@ -1,64 +1,64 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/imx7d-clock.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Freescale i.MX7 Dual Clock Controller - -maintainers: - - Frank Li - -description: | - The clock consumer should specify the desired clock by having the clock - ID in its "clocks" phandle cell. See include/dt-bindings/clock/imx7d-clock.h - for the full list of i.MX7 Dual clock IDs. - -properties: - compatible: - const: fsl,imx7d-ccm - - reg: - maxItems: 1 - - interrupts: - items: - - description: CCM interrupt request 1 - - description: CCM interrupt request 2 - - '#clock-cells': - const: 1 - - clocks: - items: - - description: 32k osc - - description: 24m osc - - clock-names: - items: - - const: ckil - - const: osc - -required: - - compatible - - reg - - interrupts - - clocks - - clock-names - - '#clock-cells' - -additionalProperties: false - -examples: - - | - #include - - clock-controller@30380000 { - compatible = "fsl,imx7d-ccm"; - reg = <0x30380000 0x10000>; - interrupts = , - ; - #clock-cells = <1>; - clocks = <&ckil>, <&osc>; - clock-names = "ckil", "osc"; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/imx7d-clock.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Freescale i.MX7 Dual Clock Controller + +maintainers: + - Frank Li + +description: | + The clock consumer should specify the desired clock by having the clock + ID in its "clocks" phandle cell. See include/dt-bindings/clock/imx7d-clock.h + for the full list of i.MX7 Dual clock IDs. + +properties: + compatible: + const: fsl,imx7d-ccm + + reg: + maxItems: 1 + + interrupts: + items: + - description: CCM interrupt request 1 + - description: CCM interrupt request 2 + + '#clock-cells': + const: 1 + + clocks: + items: + - description: 32k osc + - description: 24m osc + + clock-names: + items: + - const: ckil + - const: osc + +required: + - compatible + - reg + - interrupts + - clocks + - clock-names + - '#clock-cells' + +additionalProperties: false + +examples: + - | + #include + + clock-controller@30380000 { + compatible = "fsl,imx7d-ccm"; + reg = <0x30380000 0x10000>; + interrupts = , + ; + #clock-cells = <1>; + clocks = <&ckil>, <&osc>; + clock-names = "ckil", "osc"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/loongson,ls2k-clk.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/loongson,ls2k-clk.yaml index 58dc2a10f3..4f79cdb417 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/loongson,ls2k-clk.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/loongson,ls2k-clk.yaml @@ -1,65 +1,65 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/loongson,ls2k-clk.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Loongson-2 SoC Clock Control Module - -maintainers: - - Yinbo Zhu - -description: | - Loongson-2 SoC clock control module is an integrated clock controller, which - generates and supplies to all modules. - -properties: - compatible: - enum: - - loongson,ls2k0500-clk - - loongson,ls2k-clk # This is for Loongson-2K1000 - - loongson,ls2k2000-clk - - reg: - maxItems: 1 - - clocks: - items: - - description: 100m ref - - clock-names: - items: - - const: ref_100m - - '#clock-cells': - const: 1 - description: - The clock consumer should specify the desired clock by having the clock - ID in its "clocks" phandle cell. See include/dt-bindings/clock/loongson,ls2k-clk.h - for the full list of Loongson-2 SoC clock IDs. - -required: - - compatible - - reg - - clocks - - clock-names - - '#clock-cells' - -additionalProperties: false - -examples: - - | - ref_100m: clock-ref-100m { - compatible = "fixed-clock"; - #clock-cells = <0>; - clock-frequency = <100000000>; - clock-output-names = "ref_100m"; - }; - - clk: clock-controller@1fe00480 { - compatible = "loongson,ls2k-clk"; - reg = <0x1fe00480 0x58>; - #clock-cells = <1>; - clocks = <&ref_100m>; - clock-names = "ref_100m"; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/loongson,ls2k-clk.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Loongson-2 SoC Clock Control Module + +maintainers: + - Yinbo Zhu + +description: | + Loongson-2 SoC clock control module is an integrated clock controller, which + generates and supplies to all modules. + +properties: + compatible: + enum: + - loongson,ls2k0500-clk + - loongson,ls2k-clk # This is for Loongson-2K1000 + - loongson,ls2k2000-clk + + reg: + maxItems: 1 + + clocks: + items: + - description: 100m ref + + clock-names: + items: + - const: ref_100m + + '#clock-cells': + const: 1 + description: + The clock consumer should specify the desired clock by having the clock + ID in its "clocks" phandle cell. See include/dt-bindings/clock/loongson,ls2k-clk.h + for the full list of Loongson-2 SoC clock IDs. + +required: + - compatible + - reg + - clocks + - clock-names + - '#clock-cells' + +additionalProperties: false + +examples: + - | + ref_100m: clock-ref-100m { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <100000000>; + clock-output-names = "ref_100m"; + }; + + clk: clock-controller@1fe00480 { + compatible = "loongson,ls2k-clk"; + reg = <0x1fe00480 0x58>; + #clock-cells = <1>; + clocks = <&ref_100m>; + clock-names = "ref_100m"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/marvell,armada-3700-uart-clock.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/marvell,armada-3700-uart-clock.yaml index 266be294a4..175f5c8f2b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/marvell,armada-3700-uart-clock.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/marvell,armada-3700-uart-clock.yaml @@ -1,59 +1,59 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/marvell,armada-3700-uart-clock.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# -title: Marvell Armada 3720 UART clocks - -maintainers: - - Pali Rohár - -properties: - compatible: - const: marvell,armada-3700-uart-clock - - reg: - items: - - description: UART Clock Control Register - - description: UART 2 Baud Rate Divisor Register - - clocks: - description: | - List of parent clocks suitable for UART from following set: - "TBG-A-P", "TBG-B-P", "TBG-A-S", "TBG-B-S", "xtal" - UART clock can use one from this set and when more are provided - then kernel would choose and configure the most suitable one. - It is suggest to specify at least one TBG clock to achieve - baudrates above 230400 and also to specify clock which bootloader - used for UART (most probably xtal) for smooth boot log on UART. - - clock-names: - items: - - const: TBG-A-P - - const: TBG-B-P - - const: TBG-A-S - - const: TBG-B-S - - const: xtal - minItems: 1 - - '#clock-cells': - const: 1 - -required: - - compatible - - reg - - clocks - - clock-names - - '#clock-cells' - -additionalProperties: false - -examples: - - | - uartclk: clock-controller@12010 { - compatible = "marvell,armada-3700-uart-clock"; - reg = <0x12010 0x4>, <0x12210 0x4>; - clocks = <&tbg 0>, <&tbg 1>, <&tbg 2>, <&tbg 3>, <&xtalclk>; - clock-names = "TBG-A-P", "TBG-B-P", "TBG-A-S", "TBG-B-S", "xtal"; - #clock-cells = <1>; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/marvell,armada-3700-uart-clock.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# +title: Marvell Armada 3720 UART clocks + +maintainers: + - Pali Rohár + +properties: + compatible: + const: marvell,armada-3700-uart-clock + + reg: + items: + - description: UART Clock Control Register + - description: UART 2 Baud Rate Divisor Register + + clocks: + description: | + List of parent clocks suitable for UART from following set: + "TBG-A-P", "TBG-B-P", "TBG-A-S", "TBG-B-S", "xtal" + UART clock can use one from this set and when more are provided + then kernel would choose and configure the most suitable one. + It is suggest to specify at least one TBG clock to achieve + baudrates above 230400 and also to specify clock which bootloader + used for UART (most probably xtal) for smooth boot log on UART. + + clock-names: + items: + - const: TBG-A-P + - const: TBG-B-P + - const: TBG-A-S + - const: TBG-B-S + - const: xtal + minItems: 1 + + '#clock-cells': + const: 1 + +required: + - compatible + - reg + - clocks + - clock-names + - '#clock-cells' + +additionalProperties: false + +examples: + - | + uartclk: clock-controller@12010 { + compatible = "marvell,armada-3700-uart-clock"; + reg = <0x12010 0x4>, <0x12210 0x4>; + clocks = <&tbg 0>, <&tbg 1>, <&tbg 2>, <&tbg 3>, <&xtalclk>; + clock-names = "TBG-A-P", "TBG-B-P", "TBG-A-S", "TBG-B-S", "xtal"; + #clock-cells = <1>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/marvell,mmp2-audio-clock.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/marvell,mmp2-audio-clock.yaml index 25631a4a5e..dffa73402d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/marvell,mmp2-audio-clock.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/marvell,mmp2-audio-clock.yaml @@ -1,75 +1,75 @@ -# SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/marvell,mmp2-audio-clock.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Marvell MMP2 Audio Clock Controller - -maintainers: - - Lubomir Rintel - -description: | - The audio clock controller generates and supplies the clocks to the audio - codec. - - Each clock is assigned an identifier and client nodes use this identifier - to specify the clock which they consume. - - All these identifiers could be found in - . - -properties: - compatible: - enum: - - marvell,mmp2-audio-clock - - reg: - maxItems: 1 - - clocks: - items: - - description: Audio subsystem clock - - description: The crystal oscillator clock - - description: First I2S clock - - description: Second I2S clock - - clock-names: - items: - - const: audio - - const: vctcxo - - const: i2s0 - - const: i2s1 - - '#clock-cells': - const: 1 - - power-domains: - maxItems: 1 - -required: - - compatible - - reg - - clocks - - clock-names - - '#clock-cells' - -additionalProperties: false - -examples: - - | - #include - #include - #include - - clock-controller@d42a0c30 { - compatible = "marvell,mmp2-audio-clock"; - reg = <0xd42a0c30 0x10>; - clock-names = "audio", "vctcxo", "i2s0", "i2s1"; - clocks = <&soc_clocks MMP2_CLK_AUDIO>, - <&soc_clocks MMP2_CLK_VCTCXO>, - <&soc_clocks MMP2_CLK_I2S0>, - <&soc_clocks MMP2_CLK_I2S1>; - power-domains = <&soc_clocks MMP2_POWER_DOMAIN_AUDIO>; - #clock-cells = <1>; - }; +# SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/marvell,mmp2-audio-clock.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Marvell MMP2 Audio Clock Controller + +maintainers: + - Lubomir Rintel + +description: | + The audio clock controller generates and supplies the clocks to the audio + codec. + + Each clock is assigned an identifier and client nodes use this identifier + to specify the clock which they consume. + + All these identifiers could be found in + . + +properties: + compatible: + enum: + - marvell,mmp2-audio-clock + + reg: + maxItems: 1 + + clocks: + items: + - description: Audio subsystem clock + - description: The crystal oscillator clock + - description: First I2S clock + - description: Second I2S clock + + clock-names: + items: + - const: audio + - const: vctcxo + - const: i2s0 + - const: i2s1 + + '#clock-cells': + const: 1 + + power-domains: + maxItems: 1 + +required: + - compatible + - reg + - clocks + - clock-names + - '#clock-cells' + +additionalProperties: false + +examples: + - | + #include + #include + #include + + clock-controller@d42a0c30 { + compatible = "marvell,mmp2-audio-clock"; + reg = <0xd42a0c30 0x10>; + clock-names = "audio", "vctcxo", "i2s0", "i2s1"; + clocks = <&soc_clocks MMP2_CLK_AUDIO>, + <&soc_clocks MMP2_CLK_VCTCXO>, + <&soc_clocks MMP2_CLK_I2S0>, + <&soc_clocks MMP2_CLK_I2S1>; + power-domains = <&soc_clocks MMP2_POWER_DOMAIN_AUDIO>; + #clock-cells = <1>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/marvell,mmp2-clock.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/marvell,mmp2-clock.yaml index ed74606264..d68f0d196e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/marvell,mmp2-clock.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/marvell,mmp2-clock.yaml @@ -1,69 +1,69 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/marvell,mmp2-clock.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Marvell MMP2 and MMP3 Clock Controller - -maintainers: - - Lubomir Rintel - -description: | - The clock subsystem on MMP2 or MMP3 generates and supplies clock to various - controllers within the SoC. - - Each clock is assigned an identifier and client nodes use this identifier - to specify the clock which they consume. - - All these identifiers could be found in . - -properties: - compatible: - enum: - - marvell,mmp2-clock # controller compatible with MMP2 SoC - - marvell,mmp3-clock # controller compatible with MMP3 SoC - - reg: - items: - - description: MPMU register region - - description: APMU register region - - description: APBC register region - - reg-names: - items: - - const: mpmu - - const: apmu - - const: apbc - - '#clock-cells': - const: 1 - - '#reset-cells': - const: 1 - - '#power-domain-cells': - const: 1 - -required: - - compatible - - reg - - reg-names - - '#clock-cells' - - '#reset-cells' - - '#power-domain-cells' - -additionalProperties: false - -examples: - - | - clock-controller@d4050000 { - compatible = "marvell,mmp2-clock"; - reg = <0xd4050000 0x1000>, - <0xd4282800 0x400>, - <0xd4015000 0x1000>; - reg-names = "mpmu", "apmu", "apbc"; - #clock-cells = <1>; - #reset-cells = <1>; - #power-domain-cells = <1>; - }; +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/marvell,mmp2-clock.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Marvell MMP2 and MMP3 Clock Controller + +maintainers: + - Lubomir Rintel + +description: | + The clock subsystem on MMP2 or MMP3 generates and supplies clock to various + controllers within the SoC. + + Each clock is assigned an identifier and client nodes use this identifier + to specify the clock which they consume. + + All these identifiers could be found in . + +properties: + compatible: + enum: + - marvell,mmp2-clock # controller compatible with MMP2 SoC + - marvell,mmp3-clock # controller compatible with MMP3 SoC + + reg: + items: + - description: MPMU register region + - description: APMU register region + - description: APBC register region + + reg-names: + items: + - const: mpmu + - const: apmu + - const: apbc + + '#clock-cells': + const: 1 + + '#reset-cells': + const: 1 + + '#power-domain-cells': + const: 1 + +required: + - compatible + - reg + - reg-names + - '#clock-cells' + - '#reset-cells' + - '#power-domain-cells' + +additionalProperties: false + +examples: + - | + clock-controller@d4050000 { + compatible = "marvell,mmp2-clock"; + reg = <0xd4050000 0x1000>, + <0xd4282800 0x400>, + <0xd4015000 0x1000>; + reg-names = "mpmu", "apmu", "apbc"; + #clock-cells = <1>; + #reset-cells = <1>; + #power-domain-cells = <1>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/maxim,max9485.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/maxim,max9485.txt index 0b89c2a491..b8f5c3bbf1 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/maxim,max9485.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/maxim,max9485.txt @@ -1,59 +1,59 @@ -Devicetree bindings for Maxim MAX9485 Programmable Audio Clock Generator - -This device exposes 4 clocks in total: - -- MAX9485_MCLKOUT: A gated, buffered output of the input clock of 27 MHz -- MAX9485_CLKOUT: A PLL that can be configured to 16 different discrete - frequencies -- MAX9485_CLKOUT[1,2]: Two gated outputs for MAX9485_CLKOUT - -MAX9485_CLKOUT[1,2] are children of MAX9485_CLKOUT which upchain all rate set -requests. - -Required properties: -- compatible: "maxim,max9485" -- clocks: Input clock, must provide 27.000 MHz -- clock-names: Must be set to "xclk" -- #clock-cells: From common clock binding; shall be set to 1 - -Optional properties: -- reset-gpios: GPIO descriptor connected to the #RESET input pin -- vdd-supply: A regulator node for Vdd -- clock-output-names: Name of output clocks, as defined in common clock - bindings - -If not explicitly set, the output names are "mclkout", "clkout", "clkout1" -and "clkout2". - -Clocks are defined as preprocessor macros in the dt-binding header. - -Example: - - #include - - xo-27mhz: xo-27mhz { - compatible = "fixed-clock"; - #clock-cells = <0>; - clock-frequency = <27000000>; - }; - - &i2c0 { - max9485: audio-clock@63 { - reg = <0x63>; - compatible = "maxim,max9485"; - clock-names = "xclk"; - clocks = <&xo-27mhz>; - reset-gpios = <&gpio 1 GPIO_ACTIVE_HIGH>; - vdd-supply = <&3v3-reg>; - #clock-cells = <1>; - }; - }; - - // Clock consumer node - - foo@0 { - compatible = "bar,foo"; - /* ... */ - clock-names = "foo-input-clk"; - clocks = <&max9485 MAX9485_CLKOUT1>; - }; +Devicetree bindings for Maxim MAX9485 Programmable Audio Clock Generator + +This device exposes 4 clocks in total: + +- MAX9485_MCLKOUT: A gated, buffered output of the input clock of 27 MHz +- MAX9485_CLKOUT: A PLL that can be configured to 16 different discrete + frequencies +- MAX9485_CLKOUT[1,2]: Two gated outputs for MAX9485_CLKOUT + +MAX9485_CLKOUT[1,2] are children of MAX9485_CLKOUT which upchain all rate set +requests. + +Required properties: +- compatible: "maxim,max9485" +- clocks: Input clock, must provide 27.000 MHz +- clock-names: Must be set to "xclk" +- #clock-cells: From common clock binding; shall be set to 1 + +Optional properties: +- reset-gpios: GPIO descriptor connected to the #RESET input pin +- vdd-supply: A regulator node for Vdd +- clock-output-names: Name of output clocks, as defined in common clock + bindings + +If not explicitly set, the output names are "mclkout", "clkout", "clkout1" +and "clkout2". + +Clocks are defined as preprocessor macros in the dt-binding header. + +Example: + + #include + + xo-27mhz: xo-27mhz { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <27000000>; + }; + + &i2c0 { + max9485: audio-clock@63 { + reg = <0x63>; + compatible = "maxim,max9485"; + clock-names = "xclk"; + clocks = <&xo-27mhz>; + reset-gpios = <&gpio 1 GPIO_ACTIVE_HIGH>; + vdd-supply = <&3v3-reg>; + #clock-cells = <1>; + }; + }; + + // Clock consumer node + + foo@0 { + compatible = "bar,foo"; + /* ... */ + clock-names = "foo-input-clk"; + clocks = <&max9485 MAX9485_CLKOUT1>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/mediatek,apmixedsys.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/mediatek,apmixedsys.yaml index 2b4a2b87c3..db5f48e4dd 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/mediatek,apmixedsys.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/mediatek,apmixedsys.yaml @@ -1,64 +1,64 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/mediatek,apmixedsys.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: MediaTek AP Mixedsys Controller - -maintainers: - - Michael Turquette - - Stephen Boyd - -description: - The Mediatek apmixedsys controller provides PLLs to the system. - The clock values can be found in . - -properties: - compatible: - oneOf: - - enum: - - mediatek,mt6797-apmixedsys - - mediatek,mt7622-apmixedsys - - mediatek,mt7981-apmixedsys - - mediatek,mt7986-apmixedsys - - mediatek,mt7988-apmixedsys - - mediatek,mt8135-apmixedsys - - mediatek,mt8173-apmixedsys - - mediatek,mt8516-apmixedsys - - items: - - const: mediatek,mt7623-apmixedsys - - const: mediatek,mt2701-apmixedsys - - const: syscon - - items: - - enum: - - mediatek,mt2701-apmixedsys - - mediatek,mt2712-apmixedsys - - mediatek,mt6765-apmixedsys - - mediatek,mt6779-apmixed - - mediatek,mt6795-apmixedsys - - mediatek,mt7629-apmixedsys - - mediatek,mt8167-apmixedsys - - mediatek,mt8183-apmixedsys - - const: syscon - - reg: - maxItems: 1 - - '#clock-cells': - const: 1 - -required: - - compatible - - reg - - '#clock-cells' - -additionalProperties: false - -examples: - - | - apmixedsys: clock-controller@10209000 { - compatible = "mediatek,mt8173-apmixedsys"; - reg = <0x10209000 0x1000>; - #clock-cells = <1>; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/mediatek,apmixedsys.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: MediaTek AP Mixedsys Controller + +maintainers: + - Michael Turquette + - Stephen Boyd + +description: + The Mediatek apmixedsys controller provides PLLs to the system. + The clock values can be found in . + +properties: + compatible: + oneOf: + - enum: + - mediatek,mt6797-apmixedsys + - mediatek,mt7622-apmixedsys + - mediatek,mt7981-apmixedsys + - mediatek,mt7986-apmixedsys + - mediatek,mt7988-apmixedsys + - mediatek,mt8135-apmixedsys + - mediatek,mt8173-apmixedsys + - mediatek,mt8516-apmixedsys + - items: + - const: mediatek,mt7623-apmixedsys + - const: mediatek,mt2701-apmixedsys + - const: syscon + - items: + - enum: + - mediatek,mt2701-apmixedsys + - mediatek,mt2712-apmixedsys + - mediatek,mt6765-apmixedsys + - mediatek,mt6779-apmixed + - mediatek,mt6795-apmixedsys + - mediatek,mt7629-apmixedsys + - mediatek,mt8167-apmixedsys + - mediatek,mt8183-apmixedsys + - const: syscon + + reg: + maxItems: 1 + + '#clock-cells': + const: 1 + +required: + - compatible + - reg + - '#clock-cells' + +additionalProperties: false + +examples: + - | + apmixedsys: clock-controller@10209000 { + compatible = "mediatek,mt8173-apmixedsys"; + reg = <0x10209000 0x1000>; + #clock-cells = <1>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/mediatek,mt6795-clock.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/mediatek,mt6795-clock.yaml index 954af3088a..04469eabc8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/mediatek,mt6795-clock.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/mediatek,mt6795-clock.yaml @@ -1,66 +1,66 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/mediatek,mt6795-clock.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: MediaTek Functional Clock Controller for MT6795 - -maintainers: - - AngeloGioacchino Del Regno - - Chun-Jie Chen - -description: | - The clock architecture in MediaTek like below - PLLs --> - dividers --> - muxes - --> - clock gate - - The devices provide clock gate control in different IP blocks. - -properties: - compatible: - enum: - - mediatek,mt6795-mfgcfg - - mediatek,mt6795-vdecsys - - mediatek,mt6795-vencsys - - reg: - maxItems: 1 - - '#clock-cells': - const: 1 - -required: - - compatible - - reg - - '#clock-cells' - -additionalProperties: false - -examples: - - | - soc { - #address-cells = <2>; - #size-cells = <2>; - - mfgcfg: clock-controller@13000000 { - compatible = "mediatek,mt6795-mfgcfg"; - reg = <0 0x13000000 0 0x1000>; - #clock-cells = <1>; - }; - - vdecsys: clock-controller@16000000 { - compatible = "mediatek,mt6795-vdecsys"; - reg = <0 0x16000000 0 0x1000>; - #clock-cells = <1>; - }; - - vencsys: clock-controller@18000000 { - compatible = "mediatek,mt6795-vencsys"; - reg = <0 0x18000000 0 0x1000>; - #clock-cells = <1>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/mediatek,mt6795-clock.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: MediaTek Functional Clock Controller for MT6795 + +maintainers: + - AngeloGioacchino Del Regno + - Chun-Jie Chen + +description: | + The clock architecture in MediaTek like below + PLLs --> + dividers --> + muxes + --> + clock gate + + The devices provide clock gate control in different IP blocks. + +properties: + compatible: + enum: + - mediatek,mt6795-mfgcfg + - mediatek,mt6795-vdecsys + - mediatek,mt6795-vencsys + + reg: + maxItems: 1 + + '#clock-cells': + const: 1 + +required: + - compatible + - reg + - '#clock-cells' + +additionalProperties: false + +examples: + - | + soc { + #address-cells = <2>; + #size-cells = <2>; + + mfgcfg: clock-controller@13000000 { + compatible = "mediatek,mt6795-mfgcfg"; + reg = <0 0x13000000 0 0x1000>; + #clock-cells = <1>; + }; + + vdecsys: clock-controller@16000000 { + compatible = "mediatek,mt6795-vdecsys"; + reg = <0 0x16000000 0 0x1000>; + #clock-cells = <1>; + }; + + vencsys: clock-controller@18000000 { + compatible = "mediatek,mt6795-vencsys"; + reg = <0 0x18000000 0 0x1000>; + #clock-cells = <1>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/mediatek,mt8186-clock.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/mediatek,mt8186-clock.yaml index 377aa2268b..f4e58bfa50 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/mediatek,mt8186-clock.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/mediatek,mt8186-clock.yaml @@ -1,56 +1,56 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/mediatek,mt8186-clock.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: MediaTek Functional Clock Controller for MT8186 - -maintainers: - - Chun-Jie Chen - -description: | - The clock architecture in MediaTek like below - PLLs --> - dividers --> - muxes - --> - clock gate - - The devices provide clock gate control in different IP blocks. - -properties: - compatible: - items: - - enum: - - mediatek,mt8186-imp_iic_wrap - - mediatek,mt8186-mfgsys - - mediatek,mt8186-wpesys - - mediatek,mt8186-imgsys1 - - mediatek,mt8186-imgsys2 - - mediatek,mt8186-vdecsys - - mediatek,mt8186-vencsys - - mediatek,mt8186-camsys - - mediatek,mt8186-camsys_rawa - - mediatek,mt8186-camsys_rawb - - mediatek,mt8186-mdpsys - - mediatek,mt8186-ipesys - reg: - maxItems: 1 - - '#clock-cells': - const: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - imp_iic_wrap: clock-controller@11017000 { - compatible = "mediatek,mt8186-imp_iic_wrap"; - reg = <0x11017000 0x1000>; - #clock-cells = <1>; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/mediatek,mt8186-clock.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: MediaTek Functional Clock Controller for MT8186 + +maintainers: + - Chun-Jie Chen + +description: | + The clock architecture in MediaTek like below + PLLs --> + dividers --> + muxes + --> + clock gate + + The devices provide clock gate control in different IP blocks. + +properties: + compatible: + items: + - enum: + - mediatek,mt8186-imp_iic_wrap + - mediatek,mt8186-mfgsys + - mediatek,mt8186-wpesys + - mediatek,mt8186-imgsys1 + - mediatek,mt8186-imgsys2 + - mediatek,mt8186-vdecsys + - mediatek,mt8186-vencsys + - mediatek,mt8186-camsys + - mediatek,mt8186-camsys_rawa + - mediatek,mt8186-camsys_rawb + - mediatek,mt8186-mdpsys + - mediatek,mt8186-ipesys + reg: + maxItems: 1 + + '#clock-cells': + const: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + imp_iic_wrap: clock-controller@11017000 { + compatible = "mediatek,mt8186-imp_iic_wrap"; + reg = <0x11017000 0x1000>; + #clock-cells = <1>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/mediatek,mt8186-fhctl.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/mediatek,mt8186-fhctl.yaml index 18bb875343..d00327d12e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/mediatek,mt8186-fhctl.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/mediatek,mt8186-fhctl.yaml @@ -1,58 +1,58 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/mediatek,mt8186-fhctl.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: MediaTek frequency hopping and spread spectrum clocking control - -maintainers: - - Edward-JW Yang - -description: | - Frequency hopping control (FHCTL) is a piece of hardware that control - some PLLs to adopt "hopping" mechanism to adjust their frequency. - Spread spectrum clocking (SSC) is another function provided by this hardware. - -properties: - compatible: - enum: - - mediatek,mt6795-fhctl - - mediatek,mt8173-fhctl - - mediatek,mt8186-fhctl - - mediatek,mt8192-fhctl - - mediatek,mt8195-fhctl - - reg: - maxItems: 1 - - clocks: - description: Phandles of the PLL with FHCTL hardware capability. - minItems: 1 - maxItems: 30 - - mediatek,hopping-ssc-percent: - description: The percentage of spread spectrum clocking for one PLL. - minItems: 1 - maxItems: 30 - items: - default: 0 - minimum: 0 - maximum: 8 - -required: - - compatible - - reg - - clocks - -additionalProperties: false - -examples: - - | - #include - fhctl: fhctl@1000ce00 { - compatible = "mediatek,mt8186-fhctl"; - reg = <0x1000ce00 0x200>; - clocks = <&apmixedsys CLK_APMIXED_MSDCPLL>; - mediatek,hopping-ssc-percent = <3>; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/mediatek,mt8186-fhctl.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: MediaTek frequency hopping and spread spectrum clocking control + +maintainers: + - Edward-JW Yang + +description: | + Frequency hopping control (FHCTL) is a piece of hardware that control + some PLLs to adopt "hopping" mechanism to adjust their frequency. + Spread spectrum clocking (SSC) is another function provided by this hardware. + +properties: + compatible: + enum: + - mediatek,mt6795-fhctl + - mediatek,mt8173-fhctl + - mediatek,mt8186-fhctl + - mediatek,mt8192-fhctl + - mediatek,mt8195-fhctl + + reg: + maxItems: 1 + + clocks: + description: Phandles of the PLL with FHCTL hardware capability. + minItems: 1 + maxItems: 30 + + mediatek,hopping-ssc-percent: + description: The percentage of spread spectrum clocking for one PLL. + minItems: 1 + maxItems: 30 + items: + default: 0 + minimum: 0 + maximum: 8 + +required: + - compatible + - reg + - clocks + +additionalProperties: false + +examples: + - | + #include + fhctl: fhctl@1000ce00 { + compatible = "mediatek,mt8186-fhctl"; + reg = <0x1000ce00 0x200>; + clocks = <&apmixedsys CLK_APMIXED_MSDCPLL>; + mediatek,hopping-ssc-percent = <3>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/mediatek,mt8186-sys-clock.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/mediatek,mt8186-sys-clock.yaml index 61928dcbc1..1c446fbc51 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/mediatek,mt8186-sys-clock.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/mediatek,mt8186-sys-clock.yaml @@ -1,57 +1,57 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/mediatek,mt8186-sys-clock.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: MediaTek System Clock Controller for MT8186 - -maintainers: - - Chun-Jie Chen - -description: | - The clock architecture in MediaTek like below - PLLs --> - dividers --> - muxes - --> - clock gate - - The apmixedsys provides most of PLLs which generated from SoC 26m. - The topckgen provides dividers and muxes which provide the clock source to other IP blocks. - The infracfg_ao provides clock gate in peripheral and infrastructure IP blocks. - The mcusys provides mux control to select the clock source in AP MCU. - The device nodes also provide the system control capacity for configuration. - -properties: - compatible: - items: - - enum: - - mediatek,mt8186-mcusys - - mediatek,mt8186-topckgen - - mediatek,mt8186-infracfg_ao - - mediatek,mt8186-apmixedsys - - const: syscon - - reg: - maxItems: 1 - - '#clock-cells': - const: 1 - - '#reset-cells': - const: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - topckgen: syscon@10000000 { - compatible = "mediatek,mt8186-topckgen", "syscon"; - reg = <0x10000000 0x1000>; - #clock-cells = <1>; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/mediatek,mt8186-sys-clock.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: MediaTek System Clock Controller for MT8186 + +maintainers: + - Chun-Jie Chen + +description: | + The clock architecture in MediaTek like below + PLLs --> + dividers --> + muxes + --> + clock gate + + The apmixedsys provides most of PLLs which generated from SoC 26m. + The topckgen provides dividers and muxes which provide the clock source to other IP blocks. + The infracfg_ao provides clock gate in peripheral and infrastructure IP blocks. + The mcusys provides mux control to select the clock source in AP MCU. + The device nodes also provide the system control capacity for configuration. + +properties: + compatible: + items: + - enum: + - mediatek,mt8186-mcusys + - mediatek,mt8186-topckgen + - mediatek,mt8186-infracfg_ao + - mediatek,mt8186-apmixedsys + - const: syscon + + reg: + maxItems: 1 + + '#clock-cells': + const: 1 + + '#reset-cells': + const: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + topckgen: syscon@10000000 { + compatible = "mediatek,mt8186-topckgen", "syscon"; + reg = <0x10000000 0x1000>; + #clock-cells = <1>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/mediatek,mt8188-clock.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/mediatek,mt8188-clock.yaml index fbe3f4cdb3..8605703205 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/mediatek,mt8188-clock.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/mediatek,mt8188-clock.yaml @@ -1,69 +1,69 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/mediatek,mt8188-clock.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: MediaTek Functional Clock Controller for MT8188 - -maintainers: - - Garmin Chang - -description: | - The clock architecture in MediaTek like below - PLLs --> - dividers --> - muxes - --> - clock gate - - The devices provide clock gate control in different IP blocks. - -properties: - compatible: - enum: - - mediatek,mt8188-adsp-audio26m - - mediatek,mt8188-camsys - - mediatek,mt8188-camsys-rawa - - mediatek,mt8188-camsys-rawb - - mediatek,mt8188-camsys-yuva - - mediatek,mt8188-camsys-yuvb - - mediatek,mt8188-ccusys - - mediatek,mt8188-imgsys - - mediatek,mt8188-imgsys-wpe1 - - mediatek,mt8188-imgsys-wpe2 - - mediatek,mt8188-imgsys-wpe3 - - mediatek,mt8188-imgsys1-dip-nr - - mediatek,mt8188-imgsys1-dip-top - - mediatek,mt8188-imp-iic-wrap-c - - mediatek,mt8188-imp-iic-wrap-en - - mediatek,mt8188-imp-iic-wrap-w - - mediatek,mt8188-ipesys - - mediatek,mt8188-mfgcfg - - mediatek,mt8188-vdecsys - - mediatek,mt8188-vdecsys-soc - - mediatek,mt8188-vencsys - - mediatek,mt8188-wpesys - - mediatek,mt8188-wpesys-vpp0 - - reg: - maxItems: 1 - - '#clock-cells': - const: 1 - -required: - - compatible - - reg - - '#clock-cells' - -additionalProperties: false - -examples: - - | - clock-controller@11283000 { - compatible = "mediatek,mt8188-imp-iic-wrap-c"; - reg = <0x11283000 0x1000>; - #clock-cells = <1>; - }; - +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/mediatek,mt8188-clock.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: MediaTek Functional Clock Controller for MT8188 + +maintainers: + - Garmin Chang + +description: | + The clock architecture in MediaTek like below + PLLs --> + dividers --> + muxes + --> + clock gate + + The devices provide clock gate control in different IP blocks. + +properties: + compatible: + enum: + - mediatek,mt8188-adsp-audio26m + - mediatek,mt8188-camsys + - mediatek,mt8188-camsys-rawa + - mediatek,mt8188-camsys-rawb + - mediatek,mt8188-camsys-yuva + - mediatek,mt8188-camsys-yuvb + - mediatek,mt8188-ccusys + - mediatek,mt8188-imgsys + - mediatek,mt8188-imgsys-wpe1 + - mediatek,mt8188-imgsys-wpe2 + - mediatek,mt8188-imgsys-wpe3 + - mediatek,mt8188-imgsys1-dip-nr + - mediatek,mt8188-imgsys1-dip-top + - mediatek,mt8188-imp-iic-wrap-c + - mediatek,mt8188-imp-iic-wrap-en + - mediatek,mt8188-imp-iic-wrap-w + - mediatek,mt8188-ipesys + - mediatek,mt8188-mfgcfg + - mediatek,mt8188-vdecsys + - mediatek,mt8188-vdecsys-soc + - mediatek,mt8188-vencsys + - mediatek,mt8188-wpesys + - mediatek,mt8188-wpesys-vpp0 + + reg: + maxItems: 1 + + '#clock-cells': + const: 1 + +required: + - compatible + - reg + - '#clock-cells' + +additionalProperties: false + +examples: + - | + clock-controller@11283000 { + compatible = "mediatek,mt8188-imp-iic-wrap-c"; + reg = <0x11283000 0x1000>; + #clock-cells = <1>; + }; + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/mediatek,mt8188-sys-clock.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/mediatek,mt8188-sys-clock.yaml index 8a75e4dbca..db13d51a49 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/mediatek,mt8188-sys-clock.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/mediatek,mt8188-sys-clock.yaml @@ -1,58 +1,58 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/mediatek,mt8188-sys-clock.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: MediaTek System Clock Controller for MT8188 - -maintainers: - - Garmin Chang - -description: | - The clock architecture in MediaTek like below - PLLs --> - dividers --> - muxes - --> - clock gate - - The apmixedsys provides most of PLLs which generated from SoC 26m. - The topckgen provides dividers and muxes which provide the clock source to other IP blocks. - The infracfg_ao provides clock gate in peripheral and infrastructure IP blocks. - The mcusys provides mux control to select the clock source in AP MCU. - The device nodes also provide the system control capacity for configuration. - -properties: - compatible: - items: - - enum: - - mediatek,mt8188-apmixedsys - - mediatek,mt8188-infracfg-ao - - mediatek,mt8188-pericfg-ao - - mediatek,mt8188-topckgen - - const: syscon - - reg: - maxItems: 1 - - '#clock-cells': - const: 1 - - '#reset-cells': - const: 1 - -required: - - compatible - - reg - - '#clock-cells' - -additionalProperties: false - -examples: - - | - clock-controller@10000000 { - compatible = "mediatek,mt8188-topckgen", "syscon"; - reg = <0x10000000 0x1000>; - #clock-cells = <1>; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/mediatek,mt8188-sys-clock.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: MediaTek System Clock Controller for MT8188 + +maintainers: + - Garmin Chang + +description: | + The clock architecture in MediaTek like below + PLLs --> + dividers --> + muxes + --> + clock gate + + The apmixedsys provides most of PLLs which generated from SoC 26m. + The topckgen provides dividers and muxes which provide the clock source to other IP blocks. + The infracfg_ao provides clock gate in peripheral and infrastructure IP blocks. + The mcusys provides mux control to select the clock source in AP MCU. + The device nodes also provide the system control capacity for configuration. + +properties: + compatible: + items: + - enum: + - mediatek,mt8188-apmixedsys + - mediatek,mt8188-infracfg-ao + - mediatek,mt8188-pericfg-ao + - mediatek,mt8188-topckgen + - const: syscon + + reg: + maxItems: 1 + + '#clock-cells': + const: 1 + + '#reset-cells': + const: 1 + +required: + - compatible + - reg + - '#clock-cells' + +additionalProperties: false + +examples: + - | + clock-controller@10000000 { + compatible = "mediatek,mt8188-topckgen", "syscon"; + reg = <0x10000000 0x1000>; + #clock-cells = <1>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/mediatek,mt8192-sys-clock.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/mediatek,mt8192-sys-clock.yaml index da1f9f9321..bf8c9aacdf 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/mediatek,mt8192-sys-clock.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/mediatek,mt8192-sys-clock.yaml @@ -1,68 +1,68 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/mediatek,mt8192-sys-clock.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: MediaTek System Clock Controller for MT8192 - -maintainers: - - Chun-Jie Chen - -description: - The Mediatek system clock controller provides various clocks and system configuration - like reset and bus protection on MT8192. - -properties: - compatible: - items: - - enum: - - mediatek,mt8192-topckgen - - mediatek,mt8192-infracfg - - mediatek,mt8192-pericfg - - mediatek,mt8192-apmixedsys - - const: syscon - - reg: - maxItems: 1 - - '#clock-cells': - const: 1 - - '#reset-cells': - const: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - topckgen: syscon@10000000 { - compatible = "mediatek,mt8192-topckgen", "syscon"; - reg = <0x10000000 0x1000>; - #clock-cells = <1>; - }; - - - | - infracfg: syscon@10001000 { - compatible = "mediatek,mt8192-infracfg", "syscon"; - reg = <0x10001000 0x1000>; - #clock-cells = <1>; - }; - - - | - pericfg: syscon@10003000 { - compatible = "mediatek,mt8192-pericfg", "syscon"; - reg = <0x10003000 0x1000>; - #clock-cells = <1>; - }; - - - | - apmixedsys: syscon@1000c000 { - compatible = "mediatek,mt8192-apmixedsys", "syscon"; - reg = <0x1000c000 0x1000>; - #clock-cells = <1>; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/mediatek,mt8192-sys-clock.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: MediaTek System Clock Controller for MT8192 + +maintainers: + - Chun-Jie Chen + +description: + The Mediatek system clock controller provides various clocks and system configuration + like reset and bus protection on MT8192. + +properties: + compatible: + items: + - enum: + - mediatek,mt8192-topckgen + - mediatek,mt8192-infracfg + - mediatek,mt8192-pericfg + - mediatek,mt8192-apmixedsys + - const: syscon + + reg: + maxItems: 1 + + '#clock-cells': + const: 1 + + '#reset-cells': + const: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + topckgen: syscon@10000000 { + compatible = "mediatek,mt8192-topckgen", "syscon"; + reg = <0x10000000 0x1000>; + #clock-cells = <1>; + }; + + - | + infracfg: syscon@10001000 { + compatible = "mediatek,mt8192-infracfg", "syscon"; + reg = <0x10001000 0x1000>; + #clock-cells = <1>; + }; + + - | + pericfg: syscon@10003000 { + compatible = "mediatek,mt8192-pericfg", "syscon"; + reg = <0x10003000 0x1000>; + #clock-cells = <1>; + }; + + - | + apmixedsys: syscon@1000c000 { + compatible = "mediatek,mt8192-apmixedsys", "syscon"; + reg = <0x1000c000 0x1000>; + #clock-cells = <1>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/mediatek,mtmips-sysc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/mediatek,mtmips-sysc.yaml index db401921d6..ba7ffc5b16 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/mediatek,mtmips-sysc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/mediatek,mtmips-sysc.yaml @@ -1,64 +1,64 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/mediatek,mtmips-sysc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: MTMIPS SoCs System Controller - -maintainers: - - Sergio Paracuellos - -description: | - MediaTek MIPS and Ralink SoCs provides a system controller to allow - to access to system control registers. These registers include clock - and reset related ones so this node is both clock and reset provider - for the rest of the world. - - These SoCs have an XTAL from where the cpu clock is - provided as well as derived clocks for the bus and the peripherals. - -properties: - compatible: - items: - - enum: - - ralink,mt7620-sysc - - ralink,mt7628-sysc - - ralink,mt7688-sysc - - ralink,rt2880-sysc - - ralink,rt3050-sysc - - ralink,rt3052-sysc - - ralink,rt3352-sysc - - ralink,rt3883-sysc - - ralink,rt5350-sysc - - const: syscon - - reg: - maxItems: 1 - - '#clock-cells': - description: - The first cell indicates the clock number. - const: 1 - - '#reset-cells': - description: - The first cell indicates the reset bit within the register. - const: 1 - -required: - - compatible - - reg - - '#clock-cells' - - '#reset-cells' - -additionalProperties: false - -examples: - - | - syscon@0 { - compatible = "ralink,rt5350-sysc", "syscon"; - reg = <0x0 0x100>; - #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,mtmips-sysc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: MTMIPS SoCs System Controller + +maintainers: + - Sergio Paracuellos + +description: | + MediaTek MIPS and Ralink SoCs provides a system controller to allow + to access to system control registers. These registers include clock + and reset related ones so this node is both clock and reset provider + for the rest of the world. + + These SoCs have an XTAL from where the cpu clock is + provided as well as derived clocks for the bus and the peripherals. + +properties: + compatible: + items: + - enum: + - ralink,mt7620-sysc + - ralink,mt7628-sysc + - ralink,mt7688-sysc + - ralink,rt2880-sysc + - ralink,rt3050-sysc + - ralink,rt3052-sysc + - ralink,rt3352-sysc + - ralink,rt3883-sysc + - ralink,rt5350-sysc + - const: syscon + + reg: + maxItems: 1 + + '#clock-cells': + description: + The first cell indicates the clock number. + const: 1 + + '#reset-cells': + description: + The first cell indicates the reset bit within the register. + const: 1 + +required: + - compatible + - reg + - '#clock-cells' + - '#reset-cells' + +additionalProperties: false + +examples: + - | + syscon@0 { + compatible = "ralink,rt5350-sysc", "syscon"; + reg = <0x0 0x100>; + #clock-cells = <1>; + #reset-cells = <1>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/mediatek,pericfg.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/mediatek,pericfg.yaml index eb6cd8ef1a..2f06baecfd 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/mediatek,pericfg.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/mediatek,pericfg.yaml @@ -1,71 +1,71 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/mediatek,pericfg.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: MediaTek Peripheral Configuration Controller - -maintainers: - - Bartosz Golaszewski - -description: - The Mediatek pericfg controller provides various clocks and reset outputs - to the system. - -properties: - compatible: - oneOf: - - items: - - enum: - - mediatek,mt2701-pericfg - - mediatek,mt2712-pericfg - - mediatek,mt6765-pericfg - - mediatek,mt6795-pericfg - - mediatek,mt7622-pericfg - - mediatek,mt7629-pericfg - - mediatek,mt8135-pericfg - - mediatek,mt8173-pericfg - - mediatek,mt8183-pericfg - - mediatek,mt8186-pericfg - - mediatek,mt8188-pericfg - - mediatek,mt8195-pericfg - - mediatek,mt8516-pericfg - - const: syscon - - items: - # Special case for mt7623 for backward compatibility - - const: mediatek,mt7623-pericfg - - const: mediatek,mt2701-pericfg - - const: syscon - - reg: - maxItems: 1 - - '#clock-cells': - const: 1 - - '#reset-cells': - const: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - pericfg@10003000 { - compatible = "mediatek,mt8173-pericfg", "syscon"; - reg = <0x10003000 0x1000>; - #clock-cells = <1>; - #reset-cells = <1>; - }; - - - | - pericfg@10003000 { - compatible = "mediatek,mt7623-pericfg", "mediatek,mt2701-pericfg", "syscon"; - reg = <0x10003000 0x1000>; - #clock-cells = <1>; - #reset-cells = <1>; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/mediatek,pericfg.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: MediaTek Peripheral Configuration Controller + +maintainers: + - Bartosz Golaszewski + +description: + The Mediatek pericfg controller provides various clocks and reset outputs + to the system. + +properties: + compatible: + oneOf: + - items: + - enum: + - mediatek,mt2701-pericfg + - mediatek,mt2712-pericfg + - mediatek,mt6765-pericfg + - mediatek,mt6795-pericfg + - mediatek,mt7622-pericfg + - mediatek,mt7629-pericfg + - mediatek,mt8135-pericfg + - mediatek,mt8173-pericfg + - mediatek,mt8183-pericfg + - mediatek,mt8186-pericfg + - mediatek,mt8188-pericfg + - mediatek,mt8195-pericfg + - mediatek,mt8516-pericfg + - const: syscon + - items: + # Special case for mt7623 for backward compatibility + - const: mediatek,mt7623-pericfg + - const: mediatek,mt2701-pericfg + - const: syscon + + reg: + maxItems: 1 + + '#clock-cells': + const: 1 + + '#reset-cells': + const: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + pericfg@10003000 { + compatible = "mediatek,mt8173-pericfg", "syscon"; + reg = <0x10003000 0x1000>; + #clock-cells = <1>; + #reset-cells = <1>; + }; + + - | + pericfg@10003000 { + compatible = "mediatek,mt7623-pericfg", "mediatek,mt2701-pericfg", "syscon"; + reg = <0x10003000 0x1000>; + #clock-cells = <1>; + #reset-cells = <1>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/mediatek,topckgen.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/mediatek,topckgen.yaml index 46c7746775..bdf3b55bd5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/mediatek,topckgen.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/mediatek,topckgen.yaml @@ -1,65 +1,65 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/mediatek,topckgen.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: MediaTek Top Clock Generator Controller - -maintainers: - - Michael Turquette - - Stephen Boyd - -description: - The Mediatek topckgen controller provides various clocks to the system. - The clock values can be found in . - -properties: - compatible: - oneOf: - - enum: - - mediatek,mt6797-topckgen - - mediatek,mt7622-topckgen - - mediatek,mt8135-topckgen - - mediatek,mt8173-topckgen - - mediatek,mt8516-topckgen - - items: - - const: mediatek,mt7623-topckgen - - const: mediatek,mt2701-topckgen - - const: syscon - - items: - - enum: - - mediatek,mt2701-topckgen - - mediatek,mt2712-topckgen - - mediatek,mt6765-topckgen - - mediatek,mt6779-topckgen - - mediatek,mt6795-topckgen - - mediatek,mt7629-topckgen - - mediatek,mt7981-topckgen - - mediatek,mt7986-topckgen - - mediatek,mt7988-mcusys - - mediatek,mt7988-topckgen - - mediatek,mt8167-topckgen - - mediatek,mt8183-topckgen - - const: syscon - - reg: - maxItems: 1 - - '#clock-cells': - const: 1 - -required: - - compatible - - reg - - '#clock-cells' - -additionalProperties: false - -examples: - - | - topckgen: clock-controller@10000000 { - compatible = "mediatek,mt8173-topckgen"; - reg = <0x10000000 0x1000>; - #clock-cells = <1>; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/mediatek,topckgen.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: MediaTek Top Clock Generator Controller + +maintainers: + - Michael Turquette + - Stephen Boyd + +description: + The Mediatek topckgen controller provides various clocks to the system. + The clock values can be found in . + +properties: + compatible: + oneOf: + - enum: + - mediatek,mt6797-topckgen + - mediatek,mt7622-topckgen + - mediatek,mt8135-topckgen + - mediatek,mt8173-topckgen + - mediatek,mt8516-topckgen + - items: + - const: mediatek,mt7623-topckgen + - const: mediatek,mt2701-topckgen + - const: syscon + - items: + - enum: + - mediatek,mt2701-topckgen + - mediatek,mt2712-topckgen + - mediatek,mt6765-topckgen + - mediatek,mt6779-topckgen + - mediatek,mt6795-topckgen + - mediatek,mt7629-topckgen + - mediatek,mt7981-topckgen + - mediatek,mt7986-topckgen + - mediatek,mt7988-mcusys + - mediatek,mt7988-topckgen + - mediatek,mt8167-topckgen + - mediatek,mt8183-topckgen + - const: syscon + + reg: + maxItems: 1 + + '#clock-cells': + const: 1 + +required: + - compatible + - reg + - '#clock-cells' + +additionalProperties: false + +examples: + - | + topckgen: clock-controller@10000000 { + compatible = "mediatek,mt8173-topckgen"; + reg = <0x10000000 0x1000>; + #clock-cells = <1>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,a53pll.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,a53pll.yaml index 33418e907a..47ceab641a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,a53pll.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,a53pll.yaml @@ -1,70 +1,70 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/qcom,a53pll.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm A53 PLL clock - -maintainers: - - Bjorn Andersson - -description: - The A53 PLL on few Qualcomm platforms is the main CPU PLL used used for - frequencies above 1GHz. - -properties: - compatible: - enum: - - qcom,ipq5018-a53pll - - qcom,ipq5332-a53pll - - qcom,ipq6018-a53pll - - qcom,ipq8074-a53pll - - qcom,ipq9574-a73pll - - qcom,msm8226-a7pll - - qcom,msm8916-a53pll - - qcom,msm8939-a53pll - - reg: - maxItems: 1 - - '#clock-cells': - const: 0 - - clocks: - items: - - description: board XO clock - - clock-names: - items: - - const: xo - - operating-points-v2: true - - opp-table: - type: object - -required: - - compatible - - reg - - '#clock-cells' - -additionalProperties: false - -examples: - # Example 1 - A53 PLL found on MSM8916 devices - - | - a53pll: clock@b016000 { - compatible = "qcom,msm8916-a53pll"; - reg = <0xb016000 0x40>; - #clock-cells = <0>; - }; - # Example 2 - A53 PLL found on IPQ6018 devices - - | - a53pll_ipq: clock-controller@b116000 { - compatible = "qcom,ipq6018-a53pll"; - reg = <0x0b116000 0x40>; - #clock-cells = <0>; - clocks = <&xo>; - clock-names = "xo"; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/qcom,a53pll.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm A53 PLL clock + +maintainers: + - Bjorn Andersson + +description: + The A53 PLL on few Qualcomm platforms is the main CPU PLL used used for + frequencies above 1GHz. + +properties: + compatible: + enum: + - qcom,ipq5018-a53pll + - qcom,ipq5332-a53pll + - qcom,ipq6018-a53pll + - qcom,ipq8074-a53pll + - qcom,ipq9574-a73pll + - qcom,msm8226-a7pll + - qcom,msm8916-a53pll + - qcom,msm8939-a53pll + + reg: + maxItems: 1 + + '#clock-cells': + const: 0 + + clocks: + items: + - description: board XO clock + + clock-names: + items: + - const: xo + + operating-points-v2: true + + opp-table: + type: object + +required: + - compatible + - reg + - '#clock-cells' + +additionalProperties: false + +examples: + # Example 1 - A53 PLL found on MSM8916 devices + - | + a53pll: clock@b016000 { + compatible = "qcom,msm8916-a53pll"; + reg = <0xb016000 0x40>; + #clock-cells = <0>; + }; + # Example 2 - A53 PLL found on IPQ6018 devices + - | + a53pll_ipq: clock-controller@b116000 { + compatible = "qcom,ipq6018-a53pll"; + reg = <0x0b116000 0x40>; + #clock-cells = <0>; + clocks = <&xo>; + clock-names = "xo"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,aoncc-sm8250.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,aoncc-sm8250.yaml index aebe685019..8b8932bd5a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,aoncc-sm8250.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,aoncc-sm8250.yaml @@ -1,61 +1,61 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/qcom,aoncc-sm8250.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: LPASS Always ON Clock Controller on SM8250 SoCs - -maintainers: - - Srinivas Kandagatla - -description: | - The clock consumer should specify the desired clock by having the clock - ID in its "clocks" phandle cell. - See include/dt-bindings/clock/qcom,sm8250-lpass-aoncc.h for the full list - of Audio Clock controller clock IDs. - -properties: - compatible: - const: qcom,sm8250-lpass-aoncc - - reg: - maxItems: 1 - - '#clock-cells': - const: 1 - - clocks: - items: - - description: LPASS Core voting clock - - description: LPASS Audio codec voting clock - - description: Glitch Free Mux register clock - - clock-names: - items: - - const: core - - const: audio - - const: bus - -required: - - compatible - - reg - - '#clock-cells' - - clocks - - clock-names - -additionalProperties: false - -examples: - - | - #include - #include - clock-controller@3800000 { - #clock-cells = <1>; - compatible = "qcom,sm8250-lpass-aoncc"; - reg = <0x03380000 0x40000>; - clocks = <&q6afecc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, - <&q6afecc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, - <&q6afecc LPASS_CLK_ID_TX_CORE_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>; - clock-names = "core", "audio", "bus"; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/qcom,aoncc-sm8250.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: LPASS Always ON Clock Controller on SM8250 SoCs + +maintainers: + - Srinivas Kandagatla + +description: | + The clock consumer should specify the desired clock by having the clock + ID in its "clocks" phandle cell. + See include/dt-bindings/clock/qcom,sm8250-lpass-aoncc.h for the full list + of Audio Clock controller clock IDs. + +properties: + compatible: + const: qcom,sm8250-lpass-aoncc + + reg: + maxItems: 1 + + '#clock-cells': + const: 1 + + clocks: + items: + - description: LPASS Core voting clock + - description: LPASS Audio codec voting clock + - description: Glitch Free Mux register clock + + clock-names: + items: + - const: core + - const: audio + - const: bus + +required: + - compatible + - reg + - '#clock-cells' + - clocks + - clock-names + +additionalProperties: false + +examples: + - | + #include + #include + clock-controller@3800000 { + #clock-cells = <1>; + compatible = "qcom,sm8250-lpass-aoncc"; + reg = <0x03380000 0x40000>; + clocks = <&q6afecc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, + <&q6afecc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, + <&q6afecc LPASS_CLK_ID_TX_CORE_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>; + clock-names = "core", "audio", "bus"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,audiocc-sm8250.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,audiocc-sm8250.yaml index 6bc5b8cf5c..cfca888f60 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,audiocc-sm8250.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,audiocc-sm8250.yaml @@ -1,61 +1,61 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/qcom,audiocc-sm8250.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: LPASS Audio Clock Controller on SM8250 SoCs - -maintainers: - - Srinivas Kandagatla - -description: | - The clock consumer should specify the desired clock by having the clock - ID in its "clocks" phandle cell. - See include/dt-bindings/clock/qcom,sm8250-lpass-audiocc.h for the full list - of Audio Clock controller clock IDs. - -properties: - compatible: - const: qcom,sm8250-lpass-audiocc - - reg: - maxItems: 1 - - '#clock-cells': - const: 1 - - clocks: - items: - - description: LPASS Core voting clock - - description: LPASS Audio codec voting clock - - description: Glitch Free Mux register clock - - clock-names: - items: - - const: core - - const: audio - - const: bus - -required: - - compatible - - reg - - '#clock-cells' - - clocks - - clock-names - -additionalProperties: false - -examples: - - | - #include - #include - clock-controller@3300000 { - #clock-cells = <1>; - compatible = "qcom,sm8250-lpass-audiocc"; - reg = <0x03300000 0x30000>; - clocks = <&q6afecc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, - <&q6afecc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, - <&q6afecc LPASS_CLK_ID_TX_CORE_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>; - clock-names = "core", "audio", "bus"; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/qcom,audiocc-sm8250.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: LPASS Audio Clock Controller on SM8250 SoCs + +maintainers: + - Srinivas Kandagatla + +description: | + The clock consumer should specify the desired clock by having the clock + ID in its "clocks" phandle cell. + See include/dt-bindings/clock/qcom,sm8250-lpass-audiocc.h for the full list + of Audio Clock controller clock IDs. + +properties: + compatible: + const: qcom,sm8250-lpass-audiocc + + reg: + maxItems: 1 + + '#clock-cells': + const: 1 + + clocks: + items: + - description: LPASS Core voting clock + - description: LPASS Audio codec voting clock + - description: Glitch Free Mux register clock + + clock-names: + items: + - const: core + - const: audio + - const: bus + +required: + - compatible + - reg + - '#clock-cells' + - clocks + - clock-names + +additionalProperties: false + +examples: + - | + #include + #include + clock-controller@3300000 { + #clock-cells = <1>; + compatible = "qcom,sm8250-lpass-audiocc"; + reg = <0x03300000 0x30000>; + clocks = <&q6afecc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, + <&q6afecc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, + <&q6afecc LPASS_CLK_ID_TX_CORE_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>; + clock-names = "core", "audio", "bus"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,camcc-sm8250.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,camcc-sm8250.yaml index f3f8be7f7f..3fd3dc1069 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,camcc-sm8250.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,camcc-sm8250.yaml @@ -1,74 +1,74 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/qcom,camcc-sm8250.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm Camera Clock & Reset Controller on SM8250 - -maintainers: - - Jonathan Marek - -description: | - Qualcomm camera clock control module provides the clocks, resets and - power domains on SM8250. - - See also:: include/dt-bindings/clock/qcom,camcc-sm8250.h - -allOf: - - $ref: qcom,gcc.yaml# - -properties: - compatible: - const: qcom,sm8250-camcc - - clocks: - items: - - description: AHB - - description: Board XO source - - description: Board active XO source - - description: Sleep clock source - - clock-names: - items: - - const: iface - - const: bi_tcxo - - const: bi_tcxo_ao - - const: sleep_clk - - power-domains: - items: - - description: MMCX power domain - - reg: - maxItems: 1 - - required-opps: - maxItems: 1 - description: - OPP node describing required MMCX performance point. - -required: - - compatible - - clocks - - clock-names - -unevaluatedProperties: false - -examples: - - | - #include - #include - clock-controller@ad00000 { - compatible = "qcom,sm8250-camcc"; - reg = <0x0ad00000 0x10000>; - clocks = <&gcc GCC_CAMERA_AHB_CLK>, - <&rpmhcc RPMH_CXO_CLK>, - <&rpmhcc RPMH_CXO_CLK_A>, - <&sleep_clk>; - clock-names = "iface", "bi_tcxo", "bi_tcxo_ao", "sleep_clk"; - #clock-cells = <1>; - #reset-cells = <1>; - #power-domain-cells = <1>; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/qcom,camcc-sm8250.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Camera Clock & Reset Controller on SM8250 + +maintainers: + - Jonathan Marek + +description: | + Qualcomm camera clock control module provides the clocks, resets and + power domains on SM8250. + + See also:: include/dt-bindings/clock/qcom,camcc-sm8250.h + +allOf: + - $ref: qcom,gcc.yaml# + +properties: + compatible: + const: qcom,sm8250-camcc + + clocks: + items: + - description: AHB + - description: Board XO source + - description: Board active XO source + - description: Sleep clock source + + clock-names: + items: + - const: iface + - const: bi_tcxo + - const: bi_tcxo_ao + - const: sleep_clk + + power-domains: + items: + - description: MMCX power domain + + reg: + maxItems: 1 + + required-opps: + maxItems: 1 + description: + OPP node describing required MMCX performance point. + +required: + - compatible + - clocks + - clock-names + +unevaluatedProperties: false + +examples: + - | + #include + #include + clock-controller@ad00000 { + compatible = "qcom,sm8250-camcc"; + reg = <0x0ad00000 0x10000>; + clocks = <&gcc GCC_CAMERA_AHB_CLK>, + <&rpmhcc RPMH_CXO_CLK>, + <&rpmhcc RPMH_CXO_CLK_A>, + <&sleep_clk>; + clock-names = "iface", "bi_tcxo", "bi_tcxo_ao", "sleep_clk"; + #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-msm8909.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,gcc-msm8909.yaml index d266205a90..ce1f5a60bd 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,gcc-msm8909.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,gcc-msm8909.yaml @@ -1,63 +1,63 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/qcom,gcc-msm8909.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm Global Clock & Reset Controller on MSM8909, MSM8917 and QM215 - -maintainers: - - Stephan Gerhold - -description: | - Qualcomm global clock control module provides the clocks, resets and power - domains on MSM8909, MSM8917 or QM215. - - See also:: - include/dt-bindings/clock/qcom,gcc-msm8909.h - include/dt-bindings/clock/qcom,gcc-msm8917.h - -properties: - compatible: - enum: - - qcom,gcc-msm8909 - - qcom,gcc-msm8917 - - qcom,gcc-qm215 - - clocks: - items: - - description: XO source - - description: Sleep clock source - - description: DSI phy instance 0 dsi clock - - description: DSI phy instance 0 byte clock - - clock-names: - items: - - const: xo - - const: sleep_clk - - const: dsi0pll - - const: dsi0pllbyte - -required: - - compatible - - clocks - - clock-names - - '#power-domain-cells' - -allOf: - - $ref: qcom,gcc.yaml# - -unevaluatedProperties: false - -examples: - - | - gcc: clock-controller@1800000 { - compatible = "qcom,gcc-msm8909"; - reg = <0x01800000 0x80000>; - #clock-cells = <1>; - #reset-cells = <1>; - #power-domain-cells = <1>; - clocks = <&xo_board>, <&sleep_clk>, <&dsi0_phy 1>, <&dsi0_phy 0>; - clock-names = "xo", "sleep_clk", "dsi0pll", "dsi0pllbyte"; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/qcom,gcc-msm8909.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Global Clock & Reset Controller on MSM8909, MSM8917 and QM215 + +maintainers: + - Stephan Gerhold + +description: | + Qualcomm global clock control module provides the clocks, resets and power + domains on MSM8909, MSM8917 or QM215. + + See also:: + include/dt-bindings/clock/qcom,gcc-msm8909.h + include/dt-bindings/clock/qcom,gcc-msm8917.h + +properties: + compatible: + enum: + - qcom,gcc-msm8909 + - qcom,gcc-msm8917 + - qcom,gcc-qm215 + + clocks: + items: + - description: XO source + - description: Sleep clock source + - description: DSI phy instance 0 dsi clock + - description: DSI phy instance 0 byte clock + + clock-names: + items: + - const: xo + - const: sleep_clk + - const: dsi0pll + - const: dsi0pllbyte + +required: + - compatible + - clocks + - clock-names + - '#power-domain-cells' + +allOf: + - $ref: qcom,gcc.yaml# + +unevaluatedProperties: false + +examples: + - | + gcc: clock-controller@1800000 { + compatible = "qcom,gcc-msm8909"; + reg = <0x01800000 0x80000>; + #clock-cells = <1>; + #reset-cells = <1>; + #power-domain-cells = <1>; + clocks = <&xo_board>, <&sleep_clk>, <&dsi0_phy 1>, <&dsi0_phy 0>; + clock-names = "xo", "sleep_clk", "dsi0pll", "dsi0pllbyte"; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,gcc-msm8916.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,gcc-msm8916.yaml index 5690cd6a19..258b6b93de 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,gcc-msm8916.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,gcc-msm8916.yaml @@ -1,67 +1,67 @@ -# SPDX-License-Identifier: GPL-2.0-only -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/qcom,gcc-msm8916.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm Global Clock & Reset Controller on MSM8916 and MSM8939 - -maintainers: - - Stephen Boyd - - Taniya Das - -description: | - Qualcomm global clock control module provides the clocks, resets and power - domains on MSM8916 or MSM8939. - - See also:: - include/dt-bindings/clock/qcom,gcc-msm8916.h - include/dt-bindings/clock/qcom,gcc-msm8939.h - include/dt-bindings/reset/qcom,gcc-msm8916.h - include/dt-bindings/reset/qcom,gcc-msm8939.h - -properties: - compatible: - enum: - - qcom,gcc-msm8916 - - qcom,gcc-msm8939 - - clocks: - items: - - description: XO source - - description: Sleep clock source - - description: DSI phy instance 0 dsi clock - - description: DSI phy instance 0 byte clock - - description: External MCLK clock - - description: External Primary I2S clock - - description: External Secondary I2S clock - - clock-names: - items: - - const: xo - - const: sleep_clk - - const: dsi0pll - - const: dsi0pllbyte - - const: ext_mclk - - const: ext_pri_i2s - - const: ext_sec_i2s - -required: - - compatible - - '#power-domain-cells' - -allOf: - - $ref: qcom,gcc.yaml# - -unevaluatedProperties: false - -examples: - - | - clock-controller@300000 { - compatible = "qcom,gcc-msm8916"; - #clock-cells = <1>; - #reset-cells = <1>; - #power-domain-cells = <1>; - reg = <0x300000 0x90000>; - }; -... +# SPDX-License-Identifier: GPL-2.0-only +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/qcom,gcc-msm8916.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Global Clock & Reset Controller on MSM8916 and MSM8939 + +maintainers: + - Stephen Boyd + - Taniya Das + +description: | + Qualcomm global clock control module provides the clocks, resets and power + domains on MSM8916 or MSM8939. + + See also:: + include/dt-bindings/clock/qcom,gcc-msm8916.h + include/dt-bindings/clock/qcom,gcc-msm8939.h + include/dt-bindings/reset/qcom,gcc-msm8916.h + include/dt-bindings/reset/qcom,gcc-msm8939.h + +properties: + compatible: + enum: + - qcom,gcc-msm8916 + - qcom,gcc-msm8939 + + clocks: + items: + - description: XO source + - description: Sleep clock source + - description: DSI phy instance 0 dsi clock + - description: DSI phy instance 0 byte clock + - description: External MCLK clock + - description: External Primary I2S clock + - description: External Secondary I2S clock + + clock-names: + items: + - const: xo + - const: sleep_clk + - const: dsi0pll + - const: dsi0pllbyte + - const: ext_mclk + - const: ext_pri_i2s + - const: ext_sec_i2s + +required: + - compatible + - '#power-domain-cells' + +allOf: + - $ref: qcom,gcc.yaml# + +unevaluatedProperties: false + +examples: + - | + clock-controller@300000 { + compatible = "qcom,gcc-msm8916"; + #clock-cells = <1>; + #reset-cells = <1>; + #power-domain-cells = <1>; + reg = <0x300000 0x90000>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,gcc-msm8974.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,gcc-msm8974.yaml index de3a36ae31..929fafc84c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,gcc-msm8974.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,gcc-msm8974.yaml @@ -1,62 +1,62 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/qcom,gcc-msm8974.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm Global Clock & Reset Controller on MSM8974 (including Pro) and MSM8226 - Controller - -maintainers: - - Stephen Boyd - - Taniya Das - -description: | - Qualcomm global clock control module provides the clocks, resets and power - domains on MSM8974 (all variants) and MSM8226. - - See also:: - include/dt-bindings/clock/qcom,gcc-msm8974.h (qcom,gcc-msm8226 and qcom,gcc-msm8974) - include/dt-bindings/reset/qcom,gcc-msm8974.h (qcom,gcc-msm8226 and qcom,gcc-msm8974) - -$ref: qcom,gcc.yaml# - -properties: - compatible: - enum: - - qcom,gcc-msm8226 - - qcom,gcc-msm8974 - - qcom,gcc-msm8974pro - - qcom,gcc-msm8974pro-ac - - clocks: - items: - - description: XO source - - description: Sleep clock source - - clock-names: - items: - - const: xo - - const: sleep_clk - -required: - - compatible - - '#power-domain-cells' - -unevaluatedProperties: false - -examples: - - | - #include - clock-controller@fc400000 { - compatible = "qcom,gcc-msm8974"; - reg = <0x00100000 0x94000>; - #clock-cells = <1>; - #reset-cells = <1>; - #power-domain-cells = <1>; - - clock-names = "xo", "sleep_clk"; - clocks = <&xo_board>, - <&sleep_clk>; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/qcom,gcc-msm8974.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Global Clock & Reset Controller on MSM8974 (including Pro) and MSM8226 + Controller + +maintainers: + - Stephen Boyd + - Taniya Das + +description: | + Qualcomm global clock control module provides the clocks, resets and power + domains on MSM8974 (all variants) and MSM8226. + + See also:: + include/dt-bindings/clock/qcom,gcc-msm8974.h (qcom,gcc-msm8226 and qcom,gcc-msm8974) + include/dt-bindings/reset/qcom,gcc-msm8974.h (qcom,gcc-msm8226 and qcom,gcc-msm8974) + +$ref: qcom,gcc.yaml# + +properties: + compatible: + enum: + - qcom,gcc-msm8226 + - qcom,gcc-msm8974 + - qcom,gcc-msm8974pro + - qcom,gcc-msm8974pro-ac + + clocks: + items: + - description: XO source + - description: Sleep clock source + + clock-names: + items: + - const: xo + - const: sleep_clk + +required: + - compatible + - '#power-domain-cells' + +unevaluatedProperties: false + +examples: + - | + #include + clock-controller@fc400000 { + compatible = "qcom,gcc-msm8974"; + reg = <0x00100000 0x94000>; + #clock-cells = <1>; + #reset-cells = <1>; + #power-domain-cells = <1>; + + clock-names = "xo", "sleep_clk"; + clocks = <&xo_board>, + <&sleep_clk>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,gcc-msm8996.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,gcc-msm8996.yaml index f25c984976..013fd074a8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,gcc-msm8996.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,gcc-msm8996.yaml @@ -1,69 +1,69 @@ -# SPDX-License-Identifier: GPL-2.0-only -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/qcom,gcc-msm8996.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm Global Clock & Reset Controller on MSM8996 - -maintainers: - - Stephen Boyd - - Taniya Das - -description: | - Qualcomm global clock control module which provides the clocks, resets and - power domains on MSM8996. - - See also:: include/dt-bindings/clock/qcom,gcc-msm8996.h - -properties: - compatible: - const: qcom,gcc-msm8996 - - clocks: - minItems: 3 - items: - - description: XO source - - description: Second XO source - - description: Sleep clock source - - description: PCIe 0 PIPE clock (optional) - - description: PCIe 1 PIPE clock (optional) - - description: PCIe 2 PIPE clock (optional) - - description: USB3 PIPE clock (optional) - - description: UFS RX symbol 0 clock (optional) - - description: UFS RX symbol 1 clock (optional) - - description: UFS TX symbol 0 clock (optional) - - clock-names: - minItems: 3 - items: - - const: cxo - - const: cxo2 - - const: sleep_clk - - const: pcie_0_pipe_clk_src - - const: pcie_1_pipe_clk_src - - const: pcie_2_pipe_clk_src - - const: usb3_phy_pipe_clk_src - - const: ufs_rx_symbol_0_clk_src - - const: ufs_rx_symbol_1_clk_src - - const: ufs_tx_symbol_0_clk_src - -required: - - compatible - - '#power-domain-cells' - -allOf: - - $ref: qcom,gcc.yaml# - -unevaluatedProperties: false - -examples: - - | - clock-controller@300000 { - compatible = "qcom,gcc-msm8996"; - #clock-cells = <1>; - #reset-cells = <1>; - #power-domain-cells = <1>; - reg = <0x300000 0x90000>; - }; -... +# SPDX-License-Identifier: GPL-2.0-only +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/qcom,gcc-msm8996.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Global Clock & Reset Controller on MSM8996 + +maintainers: + - Stephen Boyd + - Taniya Das + +description: | + Qualcomm global clock control module which provides the clocks, resets and + power domains on MSM8996. + + See also:: include/dt-bindings/clock/qcom,gcc-msm8996.h + +properties: + compatible: + const: qcom,gcc-msm8996 + + clocks: + minItems: 3 + items: + - description: XO source + - description: Second XO source + - description: Sleep clock source + - description: PCIe 0 PIPE clock (optional) + - description: PCIe 1 PIPE clock (optional) + - description: PCIe 2 PIPE clock (optional) + - description: USB3 PIPE clock (optional) + - description: UFS RX symbol 0 clock (optional) + - description: UFS RX symbol 1 clock (optional) + - description: UFS TX symbol 0 clock (optional) + + clock-names: + minItems: 3 + items: + - const: cxo + - const: cxo2 + - const: sleep_clk + - const: pcie_0_pipe_clk_src + - const: pcie_1_pipe_clk_src + - const: pcie_2_pipe_clk_src + - const: usb3_phy_pipe_clk_src + - const: ufs_rx_symbol_0_clk_src + - const: ufs_rx_symbol_1_clk_src + - const: ufs_tx_symbol_0_clk_src + +required: + - compatible + - '#power-domain-cells' + +allOf: + - $ref: qcom,gcc.yaml# + +unevaluatedProperties: false + +examples: + - | + clock-controller@300000 { + compatible = "qcom,gcc-msm8996"; + #clock-cells = <1>; + #reset-cells = <1>; + #power-domain-cells = <1>; + reg = <0x300000 0x90000>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,gcc-msm8998.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,gcc-msm8998.yaml index d8201df53a..abae658c0e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,gcc-msm8998.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,gcc-msm8998.yaml @@ -1,64 +1,64 @@ -# SPDX-License-Identifier: GPL-2.0-only -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/qcom,gcc-msm8998.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm Global Clock & Reset Controller on MSM8998 - -maintainers: - - Stephen Boyd - - Taniya Das - -description: | - Qualcomm global clock control module provides the clocks, resets and power - domains on MSM8998. - - See also:: include/dt-bindings/clock/qcom,gcc-msm8998.h - -properties: - compatible: - const: qcom,gcc-msm8998 - - clocks: - items: - - description: Board XO source - - description: Sleep clock source - - description: Audio reference clock (Optional clock) - minItems: 2 - - clock-names: - items: - - const: xo - - const: sleep_clk - - const: aud_ref_clk # Optional clock - minItems: 2 - -required: - - compatible - - clocks - - clock-names - - '#power-domain-cells' - -allOf: - - $ref: qcom,gcc.yaml# - -unevaluatedProperties: false - -examples: - - | - #include - clock-controller@100000 { - compatible = "qcom,gcc-msm8998"; - #clock-cells = <1>; - #reset-cells = <1>; - #power-domain-cells = <1>; - reg = <0x00100000 0xb0000>; - clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>, - <&sleep>, - <0>; - clock-names = "xo", - "sleep_clk", - "aud_ref_clk"; - }; -... +# SPDX-License-Identifier: GPL-2.0-only +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/qcom,gcc-msm8998.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Global Clock & Reset Controller on MSM8998 + +maintainers: + - Stephen Boyd + - Taniya Das + +description: | + Qualcomm global clock control module provides the clocks, resets and power + domains on MSM8998. + + See also:: include/dt-bindings/clock/qcom,gcc-msm8998.h + +properties: + compatible: + const: qcom,gcc-msm8998 + + clocks: + items: + - description: Board XO source + - description: Sleep clock source + - description: Audio reference clock (Optional clock) + minItems: 2 + + clock-names: + items: + - const: xo + - const: sleep_clk + - const: aud_ref_clk # Optional clock + minItems: 2 + +required: + - compatible + - clocks + - clock-names + - '#power-domain-cells' + +allOf: + - $ref: qcom,gcc.yaml# + +unevaluatedProperties: false + +examples: + - | + #include + clock-controller@100000 { + compatible = "qcom,gcc-msm8998"; + #clock-cells = <1>; + #reset-cells = <1>; + #power-domain-cells = <1>; + reg = <0x00100000 0xb0000>; + clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>, + <&sleep>, + <0>; + clock-names = "xo", + "sleep_clk", + "aud_ref_clk"; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,gcc-sc7180.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,gcc-sc7180.yaml index 096b58d7c1..1847bbeaa9 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,gcc-sc7180.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,gcc-sc7180.yaml @@ -1,67 +1,67 @@ -# SPDX-License-Identifier: GPL-2.0-only -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/qcom,gcc-sc7180.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm Global Clock & Reset Controller on SC7180 - -maintainers: - - Stephen Boyd - - Taniya Das - -description: | - Qualcomm global clock control module provides the clocks, resets and power - domains on SC7180. - - See also:: include/dt-bindings/clock/qcom,gcc-sc7180.h - -properties: - compatible: - const: qcom,gcc-sc7180 - - clocks: - items: - - description: Board XO source - - description: Board active XO source - - description: Sleep clock source - - clock-names: - items: - - const: bi_tcxo - - const: bi_tcxo_ao - - const: sleep_clk - - power-domains: - items: - - description: CX domain - -required: - - compatible - - clocks - - clock-names - - '#power-domain-cells' - -allOf: - - $ref: qcom,gcc.yaml# - -unevaluatedProperties: false - -examples: - - | - #include - #include - - clock-controller@100000 { - compatible = "qcom,gcc-sc7180"; - reg = <0x00100000 0x1f0000>; - clocks = <&rpmhcc RPMH_CXO_CLK>, - <&rpmhcc RPMH_CXO_CLK_A>, - <&sleep_clk>; - clock-names = "bi_tcxo", "bi_tcxo_ao", "sleep_clk"; - power-domains = <&rpmhpd SC7180_CX>; - #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-sc7180.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Global Clock & Reset Controller on SC7180 + +maintainers: + - Stephen Boyd + - Taniya Das + +description: | + Qualcomm global clock control module provides the clocks, resets and power + domains on SC7180. + + See also:: include/dt-bindings/clock/qcom,gcc-sc7180.h + +properties: + compatible: + const: qcom,gcc-sc7180 + + clocks: + items: + - description: Board XO source + - description: Board active XO source + - description: Sleep clock source + + clock-names: + items: + - const: bi_tcxo + - const: bi_tcxo_ao + - const: sleep_clk + + power-domains: + items: + - description: CX domain + +required: + - compatible + - clocks + - clock-names + - '#power-domain-cells' + +allOf: + - $ref: qcom,gcc.yaml# + +unevaluatedProperties: false + +examples: + - | + #include + #include + + clock-controller@100000 { + compatible = "qcom,gcc-sc7180"; + reg = <0x00100000 0x1f0000>; + clocks = <&rpmhcc RPMH_CXO_CLK>, + <&rpmhcc RPMH_CXO_CLK_A>, + <&sleep_clk>; + clock-names = "bi_tcxo", "bi_tcxo_ao", "sleep_clk"; + power-domains = <&rpmhpd SC7180_CX>; + #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-sc8180x.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,gcc-sc8180x.yaml index 2d5ad057fd..b4784ecaf5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,gcc-sc8180x.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,gcc-sc8180x.yaml @@ -1,66 +1,66 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/qcom,gcc-sc8180x.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm Global Clock & Reset Controller on SC8180x - -maintainers: - - Bjorn Andersson - -description: | - Qualcomm global clock control module provides the clocks, resets and power - domains on SC8180x. - - See also:: include/dt-bindings/clock/qcom,gcc-sc8180x.h - -properties: - compatible: - const: qcom,gcc-sc8180x - - clocks: - items: - - description: Board XO source - - description: Board active XO source - - description: Sleep clock source - - clock-names: - items: - - const: bi_tcxo - - const: bi_tcxo_ao - - const: sleep_clk - - power-domains: - items: - - description: CX domain - -required: - - compatible - - clocks - - clock-names - - power-domains - - '#power-domain-cells' - -allOf: - - $ref: qcom,gcc.yaml# - -unevaluatedProperties: false - -examples: - - | - #include - #include - clock-controller@100000 { - compatible = "qcom,gcc-sc8180x"; - reg = <0x00100000 0x1f0000>; - clocks = <&rpmhcc RPMH_CXO_CLK>, - <&rpmhcc RPMH_CXO_CLK_A>, - <&sleep_clk>; - clock-names = "bi_tcxo", "bi_tcxo_ao", "sleep_clk"; - power-domains = <&rpmhpd SC8180X_CX>; - #clock-cells = <1>; - #reset-cells = <1>; - #power-domain-cells = <1>; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/qcom,gcc-sc8180x.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Global Clock & Reset Controller on SC8180x + +maintainers: + - Bjorn Andersson + +description: | + Qualcomm global clock control module provides the clocks, resets and power + domains on SC8180x. + + See also:: include/dt-bindings/clock/qcom,gcc-sc8180x.h + +properties: + compatible: + const: qcom,gcc-sc8180x + + clocks: + items: + - description: Board XO source + - description: Board active XO source + - description: Sleep clock source + + clock-names: + items: + - const: bi_tcxo + - const: bi_tcxo_ao + - const: sleep_clk + + power-domains: + items: + - description: CX domain + +required: + - compatible + - clocks + - clock-names + - power-domains + - '#power-domain-cells' + +allOf: + - $ref: qcom,gcc.yaml# + +unevaluatedProperties: false + +examples: + - | + #include + #include + clock-controller@100000 { + compatible = "qcom,gcc-sc8180x"; + reg = <0x00100000 0x1f0000>; + clocks = <&rpmhcc RPMH_CXO_CLK>, + <&rpmhcc RPMH_CXO_CLK_A>, + <&sleep_clk>; + clock-names = "bi_tcxo", "bi_tcxo_ao", "sleep_clk"; + power-domains = <&rpmhpd SC8180X_CX>; + #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-sdm660.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,gcc-sdm660.yaml index d2fb124ed0..724ce04911 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,gcc-sdm660.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,gcc-sdm660.yaml @@ -1,62 +1,62 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/qcom,gcc-sdm660.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm SDM660/SDM630/SDM636 Global Clock & Reset Controller - -maintainers: - - Stephen Boyd - - Taniya Das - -description: | - Qualcomm global clock control module provides the clocks, resets and power - domains on SDM630, SDM636 and SDM660 - - See also:: - include/dt-bindings/clock/qcom,gcc-sdm660.h (qcom,gcc-sdm630 and qcom,gcc-sdm660) - -$ref: qcom,gcc.yaml# - -properties: - compatible: - enum: - - qcom,gcc-sdm630 - - qcom,gcc-sdm660 - - clocks: - items: - - description: XO source - - description: Sleep clock source - - clock-names: - items: - - const: xo - - const: sleep_clk - - power-domains: - maxItems: 1 - -required: - - compatible - - '#power-domain-cells' - -unevaluatedProperties: false - -examples: - # Example for GCC for SDM660: - - | - #include - clock-controller@100000 { - compatible = "qcom,gcc-sdm660"; - reg = <0x00100000 0x94000>; - #clock-cells = <1>; - #reset-cells = <1>; - #power-domain-cells = <1>; - - clock-names = "xo", "sleep_clk"; - clocks = <&xo_board>, - <&sleep_clk>; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/qcom,gcc-sdm660.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm SDM660/SDM630/SDM636 Global Clock & Reset Controller + +maintainers: + - Stephen Boyd + - Taniya Das + +description: | + Qualcomm global clock control module provides the clocks, resets and power + domains on SDM630, SDM636 and SDM660 + + See also:: + include/dt-bindings/clock/qcom,gcc-sdm660.h (qcom,gcc-sdm630 and qcom,gcc-sdm660) + +$ref: qcom,gcc.yaml# + +properties: + compatible: + enum: + - qcom,gcc-sdm630 + - qcom,gcc-sdm660 + + clocks: + items: + - description: XO source + - description: Sleep clock source + + clock-names: + items: + - const: xo + - const: sleep_clk + + power-domains: + maxItems: 1 + +required: + - compatible + - '#power-domain-cells' + +unevaluatedProperties: false + +examples: + # Example for GCC for SDM660: + - | + #include + clock-controller@100000 { + compatible = "qcom,gcc-sdm660"; + reg = <0x00100000 0x94000>; + #clock-cells = <1>; + #reset-cells = <1>; + #power-domain-cells = <1>; + + clock-names = "xo", "sleep_clk"; + clocks = <&xo_board>, + <&sleep_clk>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,gcc-sdx65.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,gcc-sdx65.yaml index c7fbcdda2f..9154492286 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,gcc-sdx65.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,gcc-sdx65.yaml @@ -1,63 +1,63 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/qcom,gcc-sdx65.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm Global Clock & Reset Controller on SDX65 - -maintainers: - - Vamsi krishna Lanka - -description: | - Qualcomm global clock control module provides the clocks, resets and power - domains on SDX65 - - See also:: include/dt-bindings/clock/qcom,gcc-sdx65.h - -properties: - compatible: - const: qcom,gcc-sdx65 - - clocks: - items: - - description: Board XO source - - description: Board active XO source - - description: Sleep clock source - - description: PCIE Pipe clock source - - description: USB3 phy wrapper pipe clock source - - clock-names: - items: - - const: bi_tcxo - - const: bi_tcxo_ao - - const: sleep_clk - - const: pcie_pipe_clk - - const: usb3_phy_wrapper_gcc_usb30_pipe_clk - -required: - - compatible - - clocks - - clock-names - - '#power-domain-cells' - -allOf: - - $ref: qcom,gcc.yaml# - -unevaluatedProperties: false - -examples: - - | - #include - clock-controller@100000 { - compatible = "qcom,gcc-sdx65"; - reg = <0x100000 0x1f7400>; - clocks = <&rpmhcc RPMH_CXO_CLK>, <&rpmhcc RPMH_CXO_CLK_A>, <&sleep_clk>, - <&pcie_pipe_clk>, <&usb3_phy_wrapper_gcc_usb30_pipe_clk>; - clock-names = "bi_tcxo", "bi_tcxo_ao", "sleep_clk", - "pcie_pipe_clk", "usb3_phy_wrapper_gcc_usb30_pipe_clk"; - #clock-cells = <1>; - #reset-cells = <1>; - #power-domain-cells = <1>; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/qcom,gcc-sdx65.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Global Clock & Reset Controller on SDX65 + +maintainers: + - Vamsi krishna Lanka + +description: | + Qualcomm global clock control module provides the clocks, resets and power + domains on SDX65 + + See also:: include/dt-bindings/clock/qcom,gcc-sdx65.h + +properties: + compatible: + const: qcom,gcc-sdx65 + + clocks: + items: + - description: Board XO source + - description: Board active XO source + - description: Sleep clock source + - description: PCIE Pipe clock source + - description: USB3 phy wrapper pipe clock source + + clock-names: + items: + - const: bi_tcxo + - const: bi_tcxo_ao + - const: sleep_clk + - const: pcie_pipe_clk + - const: usb3_phy_wrapper_gcc_usb30_pipe_clk + +required: + - compatible + - clocks + - clock-names + - '#power-domain-cells' + +allOf: + - $ref: qcom,gcc.yaml# + +unevaluatedProperties: false + +examples: + - | + #include + clock-controller@100000 { + compatible = "qcom,gcc-sdx65"; + reg = <0x100000 0x1f7400>; + clocks = <&rpmhcc RPMH_CXO_CLK>, <&rpmhcc RPMH_CXO_CLK_A>, <&sleep_clk>, + <&pcie_pipe_clk>, <&usb3_phy_wrapper_gcc_usb30_pipe_clk>; + clock-names = "bi_tcxo", "bi_tcxo_ao", "sleep_clk", + "pcie_pipe_clk", "usb3_phy_wrapper_gcc_usb30_pipe_clk"; + #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-sm8250.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,gcc-sm8250.yaml index f46f0a6be7..979ff0a8bf 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,gcc-sm8250.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,gcc-sm8250.yaml @@ -1,60 +1,60 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/qcom,gcc-sm8250.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm Global Clock & Reset Controller on SM8250 - -maintainers: - - Stephen Boyd - - Taniya Das - -description: | - Qualcomm global clock control module provides the clocks, resets and power - domains on SM8250. - - See also:: include/dt-bindings/clock/qcom,gcc-sm8250.h - -properties: - compatible: - const: qcom,gcc-sm8250 - - clocks: - items: - - description: Board XO source - - description: Board active XO source - - description: Sleep clock source - - clock-names: - items: - - const: bi_tcxo - - const: bi_tcxo_ao - - const: sleep_clk - -required: - - compatible - - clocks - - clock-names - - '#power-domain-cells' - -allOf: - - $ref: qcom,gcc.yaml# - -unevaluatedProperties: false - -examples: - - | - #include - clock-controller@100000 { - compatible = "qcom,gcc-sm8250"; - reg = <0x00100000 0x1f0000>; - clocks = <&rpmhcc RPMH_CXO_CLK>, - <&rpmhcc RPMH_CXO_CLK_A>, - <&sleep_clk>; - clock-names = "bi_tcxo", "bi_tcxo_ao", "sleep_clk"; - #clock-cells = <1>; - #reset-cells = <1>; - #power-domain-cells = <1>; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/qcom,gcc-sm8250.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Global Clock & Reset Controller on SM8250 + +maintainers: + - Stephen Boyd + - Taniya Das + +description: | + Qualcomm global clock control module provides the clocks, resets and power + domains on SM8250. + + See also:: include/dt-bindings/clock/qcom,gcc-sm8250.h + +properties: + compatible: + const: qcom,gcc-sm8250 + + clocks: + items: + - description: Board XO source + - description: Board active XO source + - description: Sleep clock source + + clock-names: + items: + - const: bi_tcxo + - const: bi_tcxo_ao + - const: sleep_clk + +required: + - compatible + - clocks + - clock-names + - '#power-domain-cells' + +allOf: + - $ref: qcom,gcc.yaml# + +unevaluatedProperties: false + +examples: + - | + #include + clock-controller@100000 { + compatible = "qcom,gcc-sm8250"; + reg = <0x00100000 0x1f0000>; + clocks = <&rpmhcc RPMH_CXO_CLK>, + <&rpmhcc RPMH_CXO_CLK_A>, + <&sleep_clk>; + clock-names = "bi_tcxo", "bi_tcxo_ao", "sleep_clk"; + #clock-cells = <1>; + #reset-cells = <1>; + #power-domain-cells = <1>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,gpucc-sdm660.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,gpucc-sdm660.yaml index 5d189e02be..79bb90dbe4 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,gpucc-sdm660.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,gpucc-sdm660.yaml @@ -1,64 +1,64 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/qcom,gpucc-sdm660.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm Graphics Clock & Reset Controller on SDM630 and SDM660 - -maintainers: - - AngeloGioacchino Del Regno - -description: | - Qualcomm graphics clock control module provides the clocks, resets and - power domains on SDM630 and SDM660. - - See also dt-bindings/clock/qcom,gpucc-sdm660.h. - -properties: - compatible: - enum: - - qcom,gpucc-sdm630 - - qcom,gpucc-sdm660 - - clocks: - items: - - description: Board XO source - - description: GPLL0 main gpu branch - - description: GPLL0 divider gpu branch - - clock-names: - items: - - const: xo - - const: gcc_gpu_gpll0_clk - - const: gcc_gpu_gpll0_div_clk - -required: - - compatible - - clocks - - clock-names - - '#power-domain-cells' - -allOf: - - $ref: qcom,gcc.yaml# - -unevaluatedProperties: false - -examples: - - | - #include - #include - - clock-controller@5065000 { - compatible = "qcom,gpucc-sdm660"; - reg = <0x05065000 0x9038>; - clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>, - <&gcc GCC_GPU_GPLL0_CLK>, - <&gcc GCC_GPU_GPLL0_DIV_CLK>; - clock-names = "xo", "gcc_gpu_gpll0_clk", - "gcc_gpu_gpll0_div_clk"; - #clock-cells = <1>; - #power-domain-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,gpucc-sdm660.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Graphics Clock & Reset Controller on SDM630 and SDM660 + +maintainers: + - AngeloGioacchino Del Regno + +description: | + Qualcomm graphics clock control module provides the clocks, resets and + power domains on SDM630 and SDM660. + + See also dt-bindings/clock/qcom,gpucc-sdm660.h. + +properties: + compatible: + enum: + - qcom,gpucc-sdm630 + - qcom,gpucc-sdm660 + + clocks: + items: + - description: Board XO source + - description: GPLL0 main gpu branch + - description: GPLL0 divider gpu branch + + clock-names: + items: + - const: xo + - const: gcc_gpu_gpll0_clk + - const: gcc_gpu_gpll0_div_clk + +required: + - compatible + - clocks + - clock-names + - '#power-domain-cells' + +allOf: + - $ref: qcom,gcc.yaml# + +unevaluatedProperties: false + +examples: + - | + #include + #include + + clock-controller@5065000 { + compatible = "qcom,gpucc-sdm660"; + reg = <0x05065000 0x9038>; + clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>, + <&gcc GCC_GPU_GPLL0_CLK>, + <&gcc GCC_GPU_GPLL0_DIV_CLK>; + clock-names = "xo", "gcc_gpu_gpll0_clk", + "gcc_gpu_gpll0_div_clk"; + #clock-cells = <1>; + #power-domain-cells = <1>; + #reset-cells = <1>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,hfpll.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,hfpll.yaml index fed056a7a6..8cb1c164f7 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,hfpll.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,hfpll.yaml @@ -1,69 +1,69 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/qcom,hfpll.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm High-Frequency PLL - -maintainers: - - Bjorn Andersson - -description: - The HFPLL is used as CPU PLL on various Qualcomm SoCs. - -properties: - compatible: - oneOf: - - enum: - - qcom,msm8974-hfpll - - qcom,msm8976-hfpll-a53 - - qcom,msm8976-hfpll-a72 - - qcom,msm8976-hfpll-cci - - qcom,qcs404-hfpll - - const: qcom,hfpll - deprecated: true - - reg: - items: - - description: HFPLL registers - - description: Alias register region - minItems: 1 - - '#clock-cells': - const: 0 - - clocks: - items: - - description: board XO clock - - clock-names: - items: - - const: xo - - clock-output-names: - description: - Name of the PLL. Typically hfpllX where X is a CPU number starting at 0. - Otherwise hfpll_Y where Y is more specific such as "l2". - maxItems: 1 - -required: - - compatible - - reg - - '#clock-cells' - - clocks - - clock-names - - clock-output-names - -additionalProperties: false - -examples: - - | - clock-controller@f908a000 { - compatible = "qcom,msm8974-hfpll"; - reg = <0xf908a000 0x30>, <0xf900a000 0x30>; - #clock-cells = <0>; - clock-output-names = "hfpll0"; - clocks = <&xo_board>; - clock-names = "xo"; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/qcom,hfpll.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm High-Frequency PLL + +maintainers: + - Bjorn Andersson + +description: + The HFPLL is used as CPU PLL on various Qualcomm SoCs. + +properties: + compatible: + oneOf: + - enum: + - qcom,msm8974-hfpll + - qcom,msm8976-hfpll-a53 + - qcom,msm8976-hfpll-a72 + - qcom,msm8976-hfpll-cci + - qcom,qcs404-hfpll + - const: qcom,hfpll + deprecated: true + + reg: + items: + - description: HFPLL registers + - description: Alias register region + minItems: 1 + + '#clock-cells': + const: 0 + + clocks: + items: + - description: board XO clock + + clock-names: + items: + - const: xo + + clock-output-names: + description: + Name of the PLL. Typically hfpllX where X is a CPU number starting at 0. + Otherwise hfpll_Y where Y is more specific such as "l2". + maxItems: 1 + +required: + - compatible + - reg + - '#clock-cells' + - clocks + - clock-names + - clock-output-names + +additionalProperties: false + +examples: + - | + clock-controller@f908a000 { + compatible = "qcom,msm8974-hfpll"; + reg = <0xf908a000 0x30>, <0xf900a000 0x30>; + #clock-cells = <0>; + clock-output-names = "hfpll0"; + clocks = <&xo_board>; + clock-names = "xo"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,ipq5018-gcc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,ipq5018-gcc.yaml index e08dc7ab53..489d0fc560 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,ipq5018-gcc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,ipq5018-gcc.yaml @@ -1,64 +1,64 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/qcom,ipq5018-gcc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm Global Clock & Reset Controller on IPQ5018 - -maintainers: - - Sricharan Ramabadhran - -description: | - Qualcomm global clock control module provides the clocks, resets and power - domains on IPQ5018 - - See also:: - include/dt-bindings/clock/qcom,ipq5018-gcc.h - include/dt-bindings/reset/qcom,ipq5018-gcc.h - -properties: - compatible: - const: qcom,gcc-ipq5018 - - clocks: - items: - - description: Board XO source - - description: Sleep clock source - - description: PCIE20 PHY0 pipe clock source - - description: PCIE20 PHY1 pipe clock source - - description: USB3 PHY pipe clock source - - description: GEPHY RX clock source - - description: GEPHY TX clock source - - description: UNIPHY RX clock source - - description: UNIPHY TX clk source - - '#power-domain-cells': false - -required: - - compatible - - clocks - -allOf: - - $ref: qcom,gcc.yaml# - -unevaluatedProperties: false - -examples: - - | - clock-controller@1800000 { - compatible = "qcom,gcc-ipq5018"; - reg = <0x01800000 0x80000>; - clocks = <&xo_board_clk>, - <&sleep_clk>, - <&pcie20_phy0_pipe_clk>, - <&pcie20_phy1_pipe_clk>, - <&usb3_phy0_pipe_clk>, - <&gephy_rx_clk>, - <&gephy_tx_clk>, - <&uniphy_rx_clk>, - <&uniphy_tx_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,ipq5018-gcc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Global Clock & Reset Controller on IPQ5018 + +maintainers: + - Sricharan Ramabadhran + +description: | + Qualcomm global clock control module provides the clocks, resets and power + domains on IPQ5018 + + See also:: + include/dt-bindings/clock/qcom,ipq5018-gcc.h + include/dt-bindings/reset/qcom,ipq5018-gcc.h + +properties: + compatible: + const: qcom,gcc-ipq5018 + + clocks: + items: + - description: Board XO source + - description: Sleep clock source + - description: PCIE20 PHY0 pipe clock source + - description: PCIE20 PHY1 pipe clock source + - description: USB3 PHY pipe clock source + - description: GEPHY RX clock source + - description: GEPHY TX clock source + - description: UNIPHY RX clock source + - description: UNIPHY TX clk source + + '#power-domain-cells': false + +required: + - compatible + - clocks + +allOf: + - $ref: qcom,gcc.yaml# + +unevaluatedProperties: false + +examples: + - | + clock-controller@1800000 { + compatible = "qcom,gcc-ipq5018"; + reg = <0x01800000 0x80000>; + clocks = <&xo_board_clk>, + <&sleep_clk>, + <&pcie20_phy0_pipe_clk>, + <&pcie20_phy1_pipe_clk>, + <&usb3_phy0_pipe_clk>, + <&gephy_rx_clk>, + <&gephy_tx_clk>, + <&uniphy_rx_clk>, + <&uniphy_tx_clk>; + #clock-cells = <1>; + #reset-cells = <1>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,ipq5332-gcc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,ipq5332-gcc.yaml index dad494e538..9193de681d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,ipq5332-gcc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,ipq5332-gcc.yaml @@ -1,56 +1,56 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/qcom,ipq5332-gcc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm Global Clock & Reset Controller on IPQ5332 - -maintainers: - - Bjorn Andersson - -description: | - Qualcomm global clock control module provides the clocks, resets and power - domains on IPQ5332. - - See also:: include/dt-bindings/clock/qcom,gcc-ipq5332.h - -allOf: - - $ref: qcom,gcc.yaml# - -properties: - compatible: - const: qcom,ipq5332-gcc - - clocks: - items: - - description: Board XO clock source - - description: Sleep clock source - - description: PCIE 2lane PHY pipe clock source - - description: PCIE 2lane x1 PHY pipe clock source (For second lane) - - description: USB PCIE wrapper pipe clock source - - '#power-domain-cells': false - '#interconnect-cells': - const: 1 - -required: - - compatible - - clocks - -unevaluatedProperties: false - -examples: - - | - clock-controller@1800000 { - compatible = "qcom,ipq5332-gcc"; - reg = <0x01800000 0x80000>; - clocks = <&xo_board>, - <&sleep_clk>, - <&pcie_2lane_phy_pipe_clk>, - <&pcie_2lane_phy_pipe_clk_x1>, - <&usb_pcie_wrapper_pipe_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,ipq5332-gcc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Global Clock & Reset Controller on IPQ5332 + +maintainers: + - Bjorn Andersson + +description: | + Qualcomm global clock control module provides the clocks, resets and power + domains on IPQ5332. + + See also:: include/dt-bindings/clock/qcom,gcc-ipq5332.h + +allOf: + - $ref: qcom,gcc.yaml# + +properties: + compatible: + const: qcom,ipq5332-gcc + + clocks: + items: + - description: Board XO clock source + - description: Sleep clock source + - description: PCIE 2lane PHY pipe clock source + - description: PCIE 2lane x1 PHY pipe clock source (For second lane) + - description: USB PCIE wrapper pipe clock source + + '#power-domain-cells': false + '#interconnect-cells': + const: 1 + +required: + - compatible + - clocks + +unevaluatedProperties: false + +examples: + - | + clock-controller@1800000 { + compatible = "qcom,ipq5332-gcc"; + reg = <0x01800000 0x80000>; + clocks = <&xo_board>, + <&sleep_clk>, + <&pcie_2lane_phy_pipe_clk>, + <&pcie_2lane_phy_pipe_clk_x1>, + <&usb_pcie_wrapper_pipe_clk>; + #clock-cells = <1>; + #reset-cells = <1>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,ipq9574-gcc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,ipq9574-gcc.yaml index 36cab7383a..27ae9938fe 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,ipq9574-gcc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,ipq9574-gcc.yaml @@ -1,66 +1,66 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/qcom,ipq9574-gcc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm Global Clock & Reset Controller on IPQ9574 - -maintainers: - - Bjorn Andersson - - Anusha Rao - -description: | - Qualcomm global clock control module provides the clocks, resets and power - domains on IPQ9574 - - See also:: - include/dt-bindings/clock/qcom,ipq9574-gcc.h - include/dt-bindings/reset/qcom,ipq9574-gcc.h - -properties: - compatible: - const: qcom,ipq9574-gcc - - clocks: - items: - - description: Board XO source - - description: Sleep clock source - - description: Bias PLL ubi clock source - - description: PCIE30 PHY0 pipe clock source - - description: PCIE30 PHY1 pipe clock source - - description: PCIE30 PHY2 pipe clock source - - description: PCIE30 PHY3 pipe clock source - - description: USB3 PHY pipe clock source - - '#power-domain-cells': false - - '#interconnect-cells': - const: 1 - -required: - - compatible - - clocks - -allOf: - - $ref: qcom,gcc.yaml# - -unevaluatedProperties: false - -examples: - - | - clock-controller@1800000 { - compatible = "qcom,ipq9574-gcc"; - reg = <0x01800000 0x80000>; - clocks = <&xo_board_clk>, - <&sleep_clk>, - <&bias_pll_ubi_nc_clk>, - <&pcie30_phy0_pipe_clk>, - <&pcie30_phy1_pipe_clk>, - <&pcie30_phy2_pipe_clk>, - <&pcie30_phy3_pipe_clk>, - <&usb3phy_0_cc_pipe_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,ipq9574-gcc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Global Clock & Reset Controller on IPQ9574 + +maintainers: + - Bjorn Andersson + - Anusha Rao + +description: | + Qualcomm global clock control module provides the clocks, resets and power + domains on IPQ9574 + + See also:: + include/dt-bindings/clock/qcom,ipq9574-gcc.h + include/dt-bindings/reset/qcom,ipq9574-gcc.h + +properties: + compatible: + const: qcom,ipq9574-gcc + + clocks: + items: + - description: Board XO source + - description: Sleep clock source + - description: Bias PLL ubi clock source + - description: PCIE30 PHY0 pipe clock source + - description: PCIE30 PHY1 pipe clock source + - description: PCIE30 PHY2 pipe clock source + - description: PCIE30 PHY3 pipe clock source + - description: USB3 PHY pipe clock source + + '#power-domain-cells': false + + '#interconnect-cells': + const: 1 + +required: + - compatible + - clocks + +allOf: + - $ref: qcom,gcc.yaml# + +unevaluatedProperties: false + +examples: + - | + clock-controller@1800000 { + compatible = "qcom,ipq9574-gcc"; + reg = <0x01800000 0x80000>; + clocks = <&xo_board_clk>, + <&sleep_clk>, + <&bias_pll_ubi_nc_clk>, + <&pcie30_phy0_pipe_clk>, + <&pcie30_phy1_pipe_clk>, + <&pcie30_phy2_pipe_clk>, + <&pcie30_phy3_pipe_clk>, + <&usb3phy_0_cc_pipe_clk>; + #clock-cells = <1>; + #reset-cells = <1>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,kpss-acc-v1.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,kpss-acc-v1.yaml index e8f46f7551..57632757d4 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,kpss-acc-v1.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,kpss-acc-v1.yaml @@ -1,72 +1,72 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/qcom,kpss-acc-v1.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Krait Processor Sub-system (KPSS) Application Clock Controller (ACC) v1 - -maintainers: - - Christian Marangi - -description: - The KPSS ACC provides clock, power domain, and reset control to a Krait CPU. - There is one ACC register region per CPU within the KPSS remapped region as - well as an alias register region that remaps accesses to the ACC associated - with the CPU accessing the region. ACC v1 is currently used as a - clock-controller for enabling the cpu and handling the aux clocks. - -properties: - compatible: - const: qcom,kpss-acc-v1 - - reg: - items: - - description: Base address and size of the register region - - description: Optional base address and size of the alias register region - minItems: 1 - - clocks: - minItems: 2 - maxItems: 2 - - clock-names: - items: - - const: pll8_vote - - const: pxo - - clock-output-names: - description: Name of the aux clock. Krait can have at most 4 cpu. - enum: - - acpu0_aux - - acpu1_aux - - acpu2_aux - - acpu3_aux - - '#clock-cells': - const: 0 - -required: - - compatible - - reg - - clocks - - clock-names - - clock-output-names - - '#clock-cells' - -additionalProperties: false - -examples: - - | - #include - - clock-controller@2088000 { - compatible = "qcom,kpss-acc-v1"; - reg = <0x02088000 0x1000>, <0x02008000 0x1000>; - clocks = <&gcc PLL8_VOTE>, <&pxo_board>; - clock-names = "pll8_vote", "pxo"; - clock-output-names = "acpu0_aux"; - #clock-cells = <0>; - }; - -... +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/qcom,kpss-acc-v1.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Krait Processor Sub-system (KPSS) Application Clock Controller (ACC) v1 + +maintainers: + - Christian Marangi + +description: + The KPSS ACC provides clock, power domain, and reset control to a Krait CPU. + There is one ACC register region per CPU within the KPSS remapped region as + well as an alias register region that remaps accesses to the ACC associated + with the CPU accessing the region. ACC v1 is currently used as a + clock-controller for enabling the cpu and handling the aux clocks. + +properties: + compatible: + const: qcom,kpss-acc-v1 + + reg: + items: + - description: Base address and size of the register region + - description: Optional base address and size of the alias register region + minItems: 1 + + clocks: + minItems: 2 + maxItems: 2 + + clock-names: + items: + - const: pll8_vote + - const: pxo + + clock-output-names: + description: Name of the aux clock. Krait can have at most 4 cpu. + enum: + - acpu0_aux + - acpu1_aux + - acpu2_aux + - acpu3_aux + + '#clock-cells': + const: 0 + +required: + - compatible + - reg + - clocks + - clock-names + - clock-output-names + - '#clock-cells' + +additionalProperties: false + +examples: + - | + #include + + clock-controller@2088000 { + compatible = "qcom,kpss-acc-v1"; + reg = <0x02088000 0x1000>, <0x02008000 0x1000>; + clocks = <&gcc PLL8_VOTE>, <&pxo_board>; + clock-names = "pll8_vote", "pxo"; + clock-output-names = "acpu0_aux"; + #clock-cells = <0>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,qdu1000-ecpricc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,qdu1000-ecpricc.yaml index db744c6ed5..fd21df0e76 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,qdu1000-ecpricc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,qdu1000-ecpricc.yaml @@ -1,68 +1,68 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/qcom,qdu1000-ecpricc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm ECPRI Clock & Reset Controller for QDU1000 and QRU1000 - -maintainers: - - Taniya Das - - Imran Shaik - -description: | - Qualcomm ECPRI Specification V2.0 Common Public Radio Interface clock control - module which supports the clocks, resets on QDU1000 and QRU1000 - - See also:: include/dt-bindings/clock/qcom,qdu1000-ecpricc.h - -properties: - compatible: - enum: - - qcom,qdu1000-ecpricc - - reg: - maxItems: 1 - - clocks: - items: - - description: Board XO source - - description: GPLL0 source from GCC - - description: GPLL1 source from GCC - - description: GPLL2 source from GCC - - description: GPLL3 source from GCC - - description: GPLL4 source from GCC - - description: GPLL5 source from GCC - - '#clock-cells': - const: 1 - - '#reset-cells': - const: 1 - -required: - - compatible - - reg - - clocks - - '#clock-cells' - - '#reset-cells' - -additionalProperties: false - -examples: - - | - #include - #include - clock-controller@280000 { - compatible = "qcom,qdu1000-ecpricc"; - reg = <0x00280000 0x31c00>; - clocks = <&rpmhcc RPMH_CXO_CLK>, - <&gcc GCC_ECPRI_CC_GPLL0_CLK_SRC>, - <&gcc GCC_ECPRI_CC_GPLL1_EVEN_CLK_SRC>, - <&gcc GCC_ECPRI_CC_GPLL2_EVEN_CLK_SRC>, - <&gcc GCC_ECPRI_CC_GPLL3_CLK_SRC>, - <&gcc GCC_ECPRI_CC_GPLL4_CLK_SRC>, - <&gcc GCC_ECPRI_CC_GPLL5_EVEN_CLK_SRC>; - #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,qdu1000-ecpricc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm ECPRI Clock & Reset Controller for QDU1000 and QRU1000 + +maintainers: + - Taniya Das + - Imran Shaik + +description: | + Qualcomm ECPRI Specification V2.0 Common Public Radio Interface clock control + module which supports the clocks, resets on QDU1000 and QRU1000 + + See also:: include/dt-bindings/clock/qcom,qdu1000-ecpricc.h + +properties: + compatible: + enum: + - qcom,qdu1000-ecpricc + + reg: + maxItems: 1 + + clocks: + items: + - description: Board XO source + - description: GPLL0 source from GCC + - description: GPLL1 source from GCC + - description: GPLL2 source from GCC + - description: GPLL3 source from GCC + - description: GPLL4 source from GCC + - description: GPLL5 source from GCC + + '#clock-cells': + const: 1 + + '#reset-cells': + const: 1 + +required: + - compatible + - reg + - clocks + - '#clock-cells' + - '#reset-cells' + +additionalProperties: false + +examples: + - | + #include + #include + clock-controller@280000 { + compatible = "qcom,qdu1000-ecpricc"; + reg = <0x00280000 0x31c00>; + clocks = <&rpmhcc RPMH_CXO_CLK>, + <&gcc GCC_ECPRI_CC_GPLL0_CLK_SRC>, + <&gcc GCC_ECPRI_CC_GPLL1_EVEN_CLK_SRC>, + <&gcc GCC_ECPRI_CC_GPLL2_EVEN_CLK_SRC>, + <&gcc GCC_ECPRI_CC_GPLL3_CLK_SRC>, + <&gcc GCC_ECPRI_CC_GPLL4_CLK_SRC>, + <&gcc GCC_ECPRI_CC_GPLL5_EVEN_CLK_SRC>; + #clock-cells = <1>; + #reset-cells = <1>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,qdu1000-gcc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,qdu1000-gcc.yaml index b148d5a8b9..86befef026 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,qdu1000-gcc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,qdu1000-gcc.yaml @@ -1,53 +1,53 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/qcom,qdu1000-gcc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm Global Clock & Reset Controller for QDU1000 and QRU1000 - -maintainers: - - Taniya Das - - Imran Shaik - -description: | - Qualcomm global clock control module which supports the clocks, resets and - power domains on QDU1000 and QRU1000 - - See also:: include/dt-bindings/clock/qcom,qdu1000-gcc.h - -properties: - compatible: - const: qcom,qdu1000-gcc - - clocks: - items: - - description: Board XO source - - description: Sleep clock source - - description: PCIE 0 Pipe clock source - - description: PCIE 0 Phy Auxiliary clock source - - description: USB3 Phy wrapper pipe clock source - -required: - - compatible - - clocks - - '#power-domain-cells' - -allOf: - - $ref: qcom,gcc.yaml# - -unevaluatedProperties: false - -examples: - - | - #include - clock-controller@100000 { - compatible = "qcom,qdu1000-gcc"; - reg = <0x00100000 0x001f4200>; - clocks = <&rpmhcc RPMH_CXO_CLK>, <&sleep_clk>, - <&pcie_0_pipe_clk>, <&pcie_0_phy_aux_clk>, - <&usb3_phy_wrapper_pipe_clk>; - #clock-cells = <1>; - #reset-cells = <1>; - #power-domain-cells = <1>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/qcom,qdu1000-gcc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Global Clock & Reset Controller for QDU1000 and QRU1000 + +maintainers: + - Taniya Das + - Imran Shaik + +description: | + Qualcomm global clock control module which supports the clocks, resets and + power domains on QDU1000 and QRU1000 + + See also:: include/dt-bindings/clock/qcom,qdu1000-gcc.h + +properties: + compatible: + const: qcom,qdu1000-gcc + + clocks: + items: + - description: Board XO source + - description: Sleep clock source + - description: PCIE 0 Pipe clock source + - description: PCIE 0 Phy Auxiliary clock source + - description: USB3 Phy wrapper pipe clock source + +required: + - compatible + - clocks + - '#power-domain-cells' + +allOf: + - $ref: qcom,gcc.yaml# + +unevaluatedProperties: false + +examples: + - | + #include + clock-controller@100000 { + compatible = "qcom,qdu1000-gcc"; + reg = <0x00100000 0x001f4200>; + clocks = <&rpmhcc RPMH_CXO_CLK>, <&sleep_clk>, + <&pcie_0_pipe_clk>, <&pcie_0_phy_aux_clk>, + <&usb3_phy_wrapper_pipe_clk>; + #clock-cells = <1>; + #reset-cells = <1>; + #power-domain-cells = <1>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,rpmhcc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,rpmhcc.yaml index 487c49a354..ca857942ed 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,rpmhcc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,rpmhcc.yaml @@ -1,68 +1,68 @@ -# SPDX-License-Identifier: GPL-2.0-only -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/qcom,rpmhcc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm Technologies, Inc. RPMh Clocks - -maintainers: - - Taniya Das - -description: | - Resource Power Manager Hardened (RPMh) manages shared resources on - some Qualcomm Technologies Inc. SoCs. It accepts clock requests from - other hardware subsystems via RSC to control clocks. - -properties: - compatible: - enum: - - qcom,qdu1000-rpmh-clk - - qcom,sa8775p-rpmh-clk - - qcom,sc7180-rpmh-clk - - qcom,sc7280-rpmh-clk - - qcom,sc8180x-rpmh-clk - - qcom,sc8280xp-rpmh-clk - - qcom,sdm670-rpmh-clk - - qcom,sdm845-rpmh-clk - - qcom,sdx55-rpmh-clk - - qcom,sdx65-rpmh-clk - - qcom,sdx75-rpmh-clk - - qcom,sm4450-rpmh-clk - - qcom,sm6350-rpmh-clk - - qcom,sm8150-rpmh-clk - - qcom,sm8250-rpmh-clk - - qcom,sm8350-rpmh-clk - - qcom,sm8450-rpmh-clk - - qcom,sm8550-rpmh-clk - - qcom,sm8650-rpmh-clk - - qcom,x1e80100-rpmh-clk - - clocks: - maxItems: 1 - - clock-names: - items: - - const: xo - - '#clock-cells': - const: 1 - -required: - - compatible - - '#clock-cells' - -additionalProperties: false - -examples: - # Example for GCC for SDM845: The below node should be defined inside - # &apps_rsc node. - - | - #include - rpmhcc: clock-controller { - compatible = "qcom,sdm845-rpmh-clk"; - clocks = <&xo_board>; - clock-names = "xo"; - #clock-cells = <1>; - }; -... +# SPDX-License-Identifier: GPL-2.0-only +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/qcom,rpmhcc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Technologies, Inc. RPMh Clocks + +maintainers: + - Taniya Das + +description: | + Resource Power Manager Hardened (RPMh) manages shared resources on + some Qualcomm Technologies Inc. SoCs. It accepts clock requests from + other hardware subsystems via RSC to control clocks. + +properties: + compatible: + enum: + - qcom,qdu1000-rpmh-clk + - qcom,sa8775p-rpmh-clk + - qcom,sc7180-rpmh-clk + - qcom,sc7280-rpmh-clk + - qcom,sc8180x-rpmh-clk + - qcom,sc8280xp-rpmh-clk + - qcom,sdm670-rpmh-clk + - qcom,sdm845-rpmh-clk + - qcom,sdx55-rpmh-clk + - qcom,sdx65-rpmh-clk + - qcom,sdx75-rpmh-clk + - qcom,sm4450-rpmh-clk + - qcom,sm6350-rpmh-clk + - qcom,sm8150-rpmh-clk + - qcom,sm8250-rpmh-clk + - qcom,sm8350-rpmh-clk + - qcom,sm8450-rpmh-clk + - qcom,sm8550-rpmh-clk + - qcom,sm8650-rpmh-clk + - qcom,x1e80100-rpmh-clk + + clocks: + maxItems: 1 + + clock-names: + items: + - const: xo + + '#clock-cells': + const: 1 + +required: + - compatible + - '#clock-cells' + +additionalProperties: false + +examples: + # Example for GCC for SDM845: The below node should be defined inside + # &apps_rsc node. + - | + #include + rpmhcc: clock-controller { + compatible = "qcom,sdm845-rpmh-clk"; + clocks = <&xo_board>; + clock-names = "xo"; + #clock-cells = <1>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,sc7180-camcc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,sc7180-camcc.yaml index 5b6b0035bc..c7fe6400ea 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,sc7180-camcc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,sc7180-camcc.yaml @@ -1,62 +1,62 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/qcom,sc7180-camcc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm Camera Clock & Reset Controller on SC7180 - -maintainers: - - Taniya Das - -description: | - Qualcomm camera clock control module provides the clocks, resets and power - domains on SC7180. - - See also:: include/dt-bindings/clock/qcom,camcc-sc7180.h - -allOf: - - $ref: qcom,gcc.yaml# - -properties: - compatible: - const: qcom,sc7180-camcc - - clocks: - items: - - description: Board XO source - - description: Camera_ahb clock from GCC - - description: Camera XO clock from GCC - - clock-names: - items: - - const: bi_tcxo - - const: iface - - const: xo - - reg: - maxItems: 1 - -required: - - compatible - - clocks - - clock-names - -unevaluatedProperties: false - -examples: - - | - #include - #include - clock-controller@ad00000 { - compatible = "qcom,sc7180-camcc"; - reg = <0x0ad00000 0x10000>; - clocks = <&rpmhcc RPMH_CXO_CLK>, - <&gcc GCC_CAMERA_AHB_CLK>, - <&gcc GCC_CAMERA_XO_CLK>; - clock-names = "bi_tcxo", "iface", "xo"; - #clock-cells = <1>; - #reset-cells = <1>; - #power-domain-cells = <1>; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/qcom,sc7180-camcc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Camera Clock & Reset Controller on SC7180 + +maintainers: + - Taniya Das + +description: | + Qualcomm camera clock control module provides the clocks, resets and power + domains on SC7180. + + See also:: include/dt-bindings/clock/qcom,camcc-sc7180.h + +allOf: + - $ref: qcom,gcc.yaml# + +properties: + compatible: + const: qcom,sc7180-camcc + + clocks: + items: + - description: Board XO source + - description: Camera_ahb clock from GCC + - description: Camera XO clock from GCC + + clock-names: + items: + - const: bi_tcxo + - const: iface + - const: xo + + reg: + maxItems: 1 + +required: + - compatible + - clocks + - clock-names + +unevaluatedProperties: false + +examples: + - | + #include + #include + clock-controller@ad00000 { + compatible = "qcom,sc7180-camcc"; + reg = <0x0ad00000 0x10000>; + clocks = <&rpmhcc RPMH_CXO_CLK>, + <&gcc GCC_CAMERA_AHB_CLK>, + <&gcc GCC_CAMERA_XO_CLK>; + clock-names = "bi_tcxo", "iface", "xo"; + #clock-cells = <1>; + #reset-cells = <1>; + #power-domain-cells = <1>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,sc7280-camcc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,sc7280-camcc.yaml index 48a5ffa2a3..dcef8de3a9 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,sc7280-camcc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,sc7280-camcc.yaml @@ -1,61 +1,61 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/qcom,sc7280-camcc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm Camera Clock & Reset Controller on SC7280 - -maintainers: - - Taniya Das - -description: | - Qualcomm camera clock control module provides the clocks, resets and - power domains on SC7280. - - See also:: include/dt-bindings/clock/qcom,camcc-sc7280.h - -allOf: - - $ref: qcom,gcc.yaml# - -properties: - compatible: - const: qcom,sc7280-camcc - - clocks: - items: - - description: Board XO source - - description: Board XO active source - - description: Sleep clock source - - clock-names: - items: - - const: bi_tcxo - - const: bi_tcxo_ao - - const: sleep_clk - - reg: - maxItems: 1 - -required: - - compatible - - clocks - - clock-names - -unevaluatedProperties: false - -examples: - - | - #include - clock-controller@ad00000 { - compatible = "qcom,sc7280-camcc"; - reg = <0x0ad00000 0x10000>; - clocks = <&rpmhcc RPMH_CXO_CLK>, - <&rpmhcc RPMH_CXO_CLK_A>, - <&sleep_clk>; - clock-names = "bi_tcxo", "bi_tcxo_ao", "sleep_clk"; - #clock-cells = <1>; - #reset-cells = <1>; - #power-domain-cells = <1>; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/qcom,sc7280-camcc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Camera Clock & Reset Controller on SC7280 + +maintainers: + - Taniya Das + +description: | + Qualcomm camera clock control module provides the clocks, resets and + power domains on SC7280. + + See also:: include/dt-bindings/clock/qcom,camcc-sc7280.h + +allOf: + - $ref: qcom,gcc.yaml# + +properties: + compatible: + const: qcom,sc7280-camcc + + clocks: + items: + - description: Board XO source + - description: Board XO active source + - description: Sleep clock source + + clock-names: + items: + - const: bi_tcxo + - const: bi_tcxo_ao + - const: sleep_clk + + reg: + maxItems: 1 + +required: + - compatible + - clocks + - clock-names + +unevaluatedProperties: false + +examples: + - | + #include + clock-controller@ad00000 { + compatible = "qcom,sc7280-camcc"; + reg = <0x0ad00000 0x10000>; + clocks = <&rpmhcc RPMH_CXO_CLK>, + <&rpmhcc RPMH_CXO_CLK_A>, + <&sleep_clk>; + clock-names = "bi_tcxo", "bi_tcxo_ao", "sleep_clk"; + #clock-cells = <1>; + #reset-cells = <1>; + #power-domain-cells = <1>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,sc7280-lpasscc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,sc7280-lpasscc.yaml index de5bd3022e..f44c5c130d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,sc7280-lpasscc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,sc7280-lpasscc.yaml @@ -1,72 +1,72 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/qcom,sc7280-lpasscc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm LPASS Core Clock Controller on SC7280 - -maintainers: - - Taniya Das - -description: | - Qualcomm LPASS core clock control module provides the clocks and power - domains on SC7280. - - See also:: include/dt-bindings/clock/qcom,lpass-sc7280.h - -properties: - compatible: - enum: - - qcom,sc7280-lpasscc - - clocks: - items: - - description: gcc_cfg_noc_lpass_clk from GCC - - clock-names: - items: - - const: iface - - '#clock-cells': - const: 1 - - reg: - items: - - description: LPASS qdsp6ss register - - description: LPASS top-cc register - - reg-names: - items: - - const: qdsp6ss - - const: top_cc - - qcom,adsp-pil-mode: - description: - Indicates if the LPASS would be brought out of reset using - remoteproc peripheral loader. - type: boolean - -required: - - compatible - - reg - - clocks - - clock-names - - '#clock-cells' - -additionalProperties: false - -examples: - - | - #include - #include - clock-controller@3000000 { - compatible = "qcom,sc7280-lpasscc"; - reg = <0x03000000 0x40>, <0x03c04000 0x4>; - reg-names = "qdsp6ss", "top_cc"; - clocks = <&gcc GCC_CFG_NOC_LPASS_CLK>; - clock-names = "iface"; - qcom,adsp-pil-mode; - #clock-cells = <1>; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/qcom,sc7280-lpasscc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm LPASS Core Clock Controller on SC7280 + +maintainers: + - Taniya Das + +description: | + Qualcomm LPASS core clock control module provides the clocks and power + domains on SC7280. + + See also:: include/dt-bindings/clock/qcom,lpass-sc7280.h + +properties: + compatible: + enum: + - qcom,sc7280-lpasscc + + clocks: + items: + - description: gcc_cfg_noc_lpass_clk from GCC + + clock-names: + items: + - const: iface + + '#clock-cells': + const: 1 + + reg: + items: + - description: LPASS qdsp6ss register + - description: LPASS top-cc register + + reg-names: + items: + - const: qdsp6ss + - const: top_cc + + qcom,adsp-pil-mode: + description: + Indicates if the LPASS would be brought out of reset using + remoteproc peripheral loader. + type: boolean + +required: + - compatible + - reg + - clocks + - clock-names + - '#clock-cells' + +additionalProperties: false + +examples: + - | + #include + #include + clock-controller@3000000 { + compatible = "qcom,sc7280-lpasscc"; + reg = <0x03000000 0x40>, <0x03c04000 0x4>; + reg-names = "qdsp6ss", "top_cc"; + clocks = <&gcc GCC_CFG_NOC_LPASS_CLK>; + clock-names = "iface"; + qcom,adsp-pil-mode; + #clock-cells = <1>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,sc8280xp-lpasscc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,sc8280xp-lpasscc.yaml index 7115eb36e6..273d66e245 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,sc8280xp-lpasscc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,sc8280xp-lpasscc.yaml @@ -1,67 +1,67 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/qcom,sc8280xp-lpasscc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm LPASS Core & Audio Clock Controller on SC8280XP - -maintainers: - - Srinivas Kandagatla - -description: | - Qualcomm LPASS core and audio clock control module provides the clocks, - and reset on SC8280XP. - - See also:: - include/dt-bindings/clock/qcom,lpasscc-sc8280xp.h - -properties: - compatible: - oneOf: - - enum: - - qcom,sc8280xp-lpassaudiocc - - qcom,sc8280xp-lpasscc - - items: - - const: qcom,x1e80100-lpassaudiocc - - const: qcom,sc8280xp-lpassaudiocc - - items: - - const: qcom,x1e80100-lpasscc - - const: qcom,sc8280xp-lpasscc - - reg: - maxItems: 1 - - '#clock-cells': - const: 1 - - '#reset-cells': - const: 1 - -required: - - compatible - - reg - - '#clock-cells' - - '#reset-cells' - -additionalProperties: false - -examples: - - | - #include - lpass_audiocc: clock-controller@32a9000 { - compatible = "qcom,sc8280xp-lpassaudiocc"; - reg = <0x032a9000 0x1000>; - #clock-cells = <1>; - #reset-cells = <1>; - }; - - - | - #include - lpasscc: clock-controller@33e0000 { - compatible = "qcom,sc8280xp-lpasscc"; - reg = <0x033e0000 0x12000>; - #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,sc8280xp-lpasscc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm LPASS Core & Audio Clock Controller on SC8280XP + +maintainers: + - Srinivas Kandagatla + +description: | + Qualcomm LPASS core and audio clock control module provides the clocks, + and reset on SC8280XP. + + See also:: + include/dt-bindings/clock/qcom,lpasscc-sc8280xp.h + +properties: + compatible: + oneOf: + - enum: + - qcom,sc8280xp-lpassaudiocc + - qcom,sc8280xp-lpasscc + - items: + - const: qcom,x1e80100-lpassaudiocc + - const: qcom,sc8280xp-lpassaudiocc + - items: + - const: qcom,x1e80100-lpasscc + - const: qcom,sc8280xp-lpasscc + + reg: + maxItems: 1 + + '#clock-cells': + const: 1 + + '#reset-cells': + const: 1 + +required: + - compatible + - reg + - '#clock-cells' + - '#reset-cells' + +additionalProperties: false + +examples: + - | + #include + lpass_audiocc: clock-controller@32a9000 { + compatible = "qcom,sc8280xp-lpassaudiocc"; + reg = <0x032a9000 0x1000>; + #clock-cells = <1>; + #reset-cells = <1>; + }; + + - | + #include + lpasscc: clock-controller@33e0000 { + compatible = "qcom,sc8280xp-lpasscc"; + reg = <0x033e0000 0x12000>; + #clock-cells = <1>; + #reset-cells = <1>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,sm4450-camcc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,sm4450-camcc.yaml index 8fbb839999..f54ce86588 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,sm4450-camcc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,sm4450-camcc.yaml @@ -1,63 +1,63 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/qcom,sm4450-camcc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm Camera Clock & Reset Controller on SM4450 - -maintainers: - - Ajit Pandey - - Taniya Das - -description: | - Qualcomm camera clock control module provides the clocks, resets and power - domains on SM4450 - - See also:: include/dt-bindings/clock/qcom,sm4450-camcc.h - -properties: - compatible: - const: qcom,sm4450-camcc - - reg: - maxItems: 1 - - clocks: - items: - - description: Board XO source - - description: Camera AHB clock source from GCC - - '#clock-cells': - const: 1 - - '#reset-cells': - const: 1 - - '#power-domain-cells': - const: 1 - -required: - - compatible - - reg - - clocks - - '#clock-cells' - - '#reset-cells' - - '#power-domain-cells' - -additionalProperties: false - -examples: - - | - #include - #include - clock-controller@ade0000 { - compatible = "qcom,sm4450-camcc"; - reg = <0x0ade0000 0x20000>; - clocks = <&rpmhcc RPMH_CXO_CLK>, - <&gcc GCC_CAMERA_AHB_CLK>; - #clock-cells = <1>; - #reset-cells = <1>; - #power-domain-cells = <1>; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/qcom,sm4450-camcc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Camera Clock & Reset Controller on SM4450 + +maintainers: + - Ajit Pandey + - Taniya Das + +description: | + Qualcomm camera clock control module provides the clocks, resets and power + domains on SM4450 + + See also:: include/dt-bindings/clock/qcom,sm4450-camcc.h + +properties: + compatible: + const: qcom,sm4450-camcc + + reg: + maxItems: 1 + + clocks: + items: + - description: Board XO source + - description: Camera AHB clock source from GCC + + '#clock-cells': + const: 1 + + '#reset-cells': + const: 1 + + '#power-domain-cells': + const: 1 + +required: + - compatible + - reg + - clocks + - '#clock-cells' + - '#reset-cells' + - '#power-domain-cells' + +additionalProperties: false + +examples: + - | + #include + #include + clock-controller@ade0000 { + compatible = "qcom,sm4450-camcc"; + reg = <0x0ade0000 0x20000>; + clocks = <&rpmhcc RPMH_CXO_CLK>, + <&gcc GCC_CAMERA_AHB_CLK>; + #clock-cells = <1>; + #reset-cells = <1>; + #power-domain-cells = <1>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,sm4450-dispcc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,sm4450-dispcc.yaml index 20703e7657..2aa05353ef 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,sm4450-dispcc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,sm4450-dispcc.yaml @@ -1,71 +1,71 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/qcom,sm4450-dispcc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm Display Clock & Reset Controller on SM4450 - -maintainers: - - Ajit Pandey - - Taniya Das - -description: | - Qualcomm display clock control module provides the clocks, resets and power - domains on SM4450 - - See also:: include/dt-bindings/clock/qcom,sm4450-dispcc.h - -properties: - compatible: - const: qcom,sm4450-dispcc - - reg: - maxItems: 1 - - clocks: - items: - - description: Board XO source - - description: Board active XO source - - description: Display AHB clock source from GCC - - description: sleep clock source - - description: Byte clock from DSI PHY0 - - description: Pixel clock from DSI PHY0 - - '#clock-cells': - const: 1 - - '#reset-cells': - const: 1 - - '#power-domain-cells': - const: 1 - -required: - - compatible - - reg - - clocks - - '#clock-cells' - - '#reset-cells' - - '#power-domain-cells' - -additionalProperties: false - -examples: - - | - #include - #include - clock-controller@af00000 { - compatible = "qcom,sm4450-dispcc"; - reg = <0x0af00000 0x20000>; - clocks = <&rpmhcc RPMH_CXO_CLK>, - <&rpmhcc RPMH_CXO_CLK_A>, - <&gcc GCC_DISP_AHB_CLK>, - <&sleep_clk>, - <&dsi0_phy_pll_out_byteclk>, - <&dsi0_phy_pll_out_dsiclk>; - #clock-cells = <1>; - #reset-cells = <1>; - #power-domain-cells = <1>; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/qcom,sm4450-dispcc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Display Clock & Reset Controller on SM4450 + +maintainers: + - Ajit Pandey + - Taniya Das + +description: | + Qualcomm display clock control module provides the clocks, resets and power + domains on SM4450 + + See also:: include/dt-bindings/clock/qcom,sm4450-dispcc.h + +properties: + compatible: + const: qcom,sm4450-dispcc + + reg: + maxItems: 1 + + clocks: + items: + - description: Board XO source + - description: Board active XO source + - description: Display AHB clock source from GCC + - description: sleep clock source + - description: Byte clock from DSI PHY0 + - description: Pixel clock from DSI PHY0 + + '#clock-cells': + const: 1 + + '#reset-cells': + const: 1 + + '#power-domain-cells': + const: 1 + +required: + - compatible + - reg + - clocks + - '#clock-cells' + - '#reset-cells' + - '#power-domain-cells' + +additionalProperties: false + +examples: + - | + #include + #include + clock-controller@af00000 { + compatible = "qcom,sm4450-dispcc"; + reg = <0x0af00000 0x20000>; + clocks = <&rpmhcc RPMH_CXO_CLK>, + <&rpmhcc RPMH_CXO_CLK_A>, + <&gcc GCC_DISP_AHB_CLK>, + <&sleep_clk>, + <&dsi0_phy_pll_out_byteclk>, + <&dsi0_phy_pll_out_dsiclk>; + #clock-cells = <1>; + #reset-cells = <1>; + #power-domain-cells = <1>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,sm4450-gcc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,sm4450-gcc.yaml index 727c82d150..0ac92d7871 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,sm4450-gcc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,sm4450-gcc.yaml @@ -1,56 +1,56 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/qcom,sm4450-gcc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm Global Clock & Reset Controller on SM4450 - -maintainers: - - Ajit Pandey - - Taniya Das - -description: | - Qualcomm global clock control module provides the clocks, resets and power - domains on SM4450 - - See also:: include/dt-bindings/clock/qcom,sm4450-gcc.h - -properties: - compatible: - const: qcom,sm4450-gcc - - clocks: - items: - - description: Board XO source - - description: Sleep clock source - - description: UFS Phy Rx symbol 0 clock source - - description: UFS Phy Rx symbol 1 clock source - - description: UFS Phy Tx symbol 0 clock source - - description: USB3 Phy wrapper pipe clock source - -required: - - compatible - - clocks - - '#power-domain-cells' - -allOf: - - $ref: qcom,gcc.yaml# - -unevaluatedProperties: false - -examples: - - | - #include - clock-controller@100000 { - compatible = "qcom,sm4450-gcc"; - reg = <0x00100000 0x001f4200>; - clocks = <&rpmhcc RPMH_CXO_CLK>, <&sleep_clk>, - <&ufs_mem_phy 0>, <&ufs_mem_phy 1>, - <&ufs_mem_phy 2>, <&usb_1_qmpphy>; - #clock-cells = <1>; - #reset-cells = <1>; - #power-domain-cells = <1>; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/qcom,sm4450-gcc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Global Clock & Reset Controller on SM4450 + +maintainers: + - Ajit Pandey + - Taniya Das + +description: | + Qualcomm global clock control module provides the clocks, resets and power + domains on SM4450 + + See also:: include/dt-bindings/clock/qcom,sm4450-gcc.h + +properties: + compatible: + const: qcom,sm4450-gcc + + clocks: + items: + - description: Board XO source + - description: Sleep clock source + - description: UFS Phy Rx symbol 0 clock source + - description: UFS Phy Rx symbol 1 clock source + - description: UFS Phy Tx symbol 0 clock source + - description: USB3 Phy wrapper pipe clock source + +required: + - compatible + - clocks + - '#power-domain-cells' + +allOf: + - $ref: qcom,gcc.yaml# + +unevaluatedProperties: false + +examples: + - | + #include + clock-controller@100000 { + compatible = "qcom,sm4450-gcc"; + reg = <0x00100000 0x001f4200>; + clocks = <&rpmhcc RPMH_CXO_CLK>, <&sleep_clk>, + <&ufs_mem_phy 0>, <&ufs_mem_phy 1>, + <&ufs_mem_phy 2>, <&usb_1_qmpphy>; + #clock-cells = <1>; + #reset-cells = <1>; + #power-domain-cells = <1>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,sm6115-dispcc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,sm6115-dispcc.yaml index 833daeb1bd..00be36683e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,sm6115-dispcc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,sm6115-dispcc.yaml @@ -1,57 +1,57 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/qcom,sm6115-dispcc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm Display Clock Controller for SM6115 - -maintainers: - - Bjorn Andersson - -description: | - Qualcomm display clock control module provides the clocks and power domains - on SM6115. - - See also:: include/dt-bindings/clock/qcom,sm6115-dispcc.h - -properties: - compatible: - enum: - - qcom,sm6115-dispcc - - clocks: - items: - - description: Board XO source - - description: Board sleep clock - - description: Byte clock from DSI PHY0 - - description: Pixel clock from DSI PHY0 - - description: GPLL0 DISP DIV clock from GCC - -required: - - compatible - - clocks - - '#power-domain-cells' - -allOf: - - $ref: qcom,gcc.yaml# - -unevaluatedProperties: false - -examples: - - | - #include - #include - clock-controller@5f00000 { - compatible = "qcom,sm6115-dispcc"; - reg = <0x5f00000 0x20000>; - clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>, - <&sleep_clk>, - <&dsi0_phy 0>, - <&dsi0_phy 1>, - <&gcc GCC_DISP_GPLL0_DIV_CLK_SRC>; - #clock-cells = <1>; - #reset-cells = <1>; - #power-domain-cells = <1>; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/qcom,sm6115-dispcc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Display Clock Controller for SM6115 + +maintainers: + - Bjorn Andersson + +description: | + Qualcomm display clock control module provides the clocks and power domains + on SM6115. + + See also:: include/dt-bindings/clock/qcom,sm6115-dispcc.h + +properties: + compatible: + enum: + - qcom,sm6115-dispcc + + clocks: + items: + - description: Board XO source + - description: Board sleep clock + - description: Byte clock from DSI PHY0 + - description: Pixel clock from DSI PHY0 + - description: GPLL0 DISP DIV clock from GCC + +required: + - compatible + - clocks + - '#power-domain-cells' + +allOf: + - $ref: qcom,gcc.yaml# + +unevaluatedProperties: false + +examples: + - | + #include + #include + clock-controller@5f00000 { + compatible = "qcom,sm6115-dispcc"; + reg = <0x5f00000 0x20000>; + clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>, + <&sleep_clk>, + <&dsi0_phy 0>, + <&dsi0_phy 1>, + <&gcc GCC_DISP_GPLL0_DIV_CLK_SRC>; + #clock-cells = <1>; + #reset-cells = <1>; + #power-domain-cells = <1>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,sm6115-gpucc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,sm6115-gpucc.yaml index 423c6c66f2..4ff17a9134 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,sm6115-gpucc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,sm6115-gpucc.yaml @@ -1,58 +1,58 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/qcom,sm6115-gpucc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm Graphics Clock & Reset Controller on SM6115 - -maintainers: - - Konrad Dybcio - -description: | - Qualcomm graphics clock control module provides clocks, resets and power - domains on Qualcomm SoCs. - - See also:: include/dt-bindings/clock/qcom,sm6115-gpucc.h - -properties: - compatible: - enum: - - qcom,sm6115-gpucc - - clocks: - items: - - description: Board XO source - - description: GPLL0 main branch source - - description: GPLL0 main div source - -required: - - compatible - - clocks - -allOf: - - $ref: qcom,gcc.yaml# - -unevaluatedProperties: false - -examples: - - | - #include - #include - - soc { - #address-cells = <1>; - #size-cells = <1>; - - clock-controller@5990000 { - compatible = "qcom,sm6115-gpucc"; - reg = <0x05990000 0x9000>; - clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>, - <&gcc GCC_GPU_GPLL0_CLK_SRC>, - <&gcc GCC_GPU_GPLL0_DIV_CLK_SRC>; - #clock-cells = <1>; - #reset-cells = <1>; - #power-domain-cells = <1>; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/qcom,sm6115-gpucc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Graphics Clock & Reset Controller on SM6115 + +maintainers: + - Konrad Dybcio + +description: | + Qualcomm graphics clock control module provides clocks, resets and power + domains on Qualcomm SoCs. + + See also:: include/dt-bindings/clock/qcom,sm6115-gpucc.h + +properties: + compatible: + enum: + - qcom,sm6115-gpucc + + clocks: + items: + - description: Board XO source + - description: GPLL0 main branch source + - description: GPLL0 main div source + +required: + - compatible + - clocks + +allOf: + - $ref: qcom,gcc.yaml# + +unevaluatedProperties: false + +examples: + - | + #include + #include + + soc { + #address-cells = <1>; + #size-cells = <1>; + + clock-controller@5990000 { + compatible = "qcom,sm6115-gpucc"; + reg = <0x05990000 0x9000>; + clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>, + <&gcc GCC_GPU_GPLL0_CLK_SRC>, + <&gcc GCC_GPU_GPLL0_DIV_CLK_SRC>; + #clock-cells = <1>; + #reset-cells = <1>; + #power-domain-cells = <1>; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,sm6125-gpucc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,sm6125-gpucc.yaml index 45032559a0..10a9c96a97 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,sm6125-gpucc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,sm6125-gpucc.yaml @@ -1,64 +1,64 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/qcom,sm6125-gpucc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm Graphics Clock & Reset Controller on SM6125 - -maintainers: - - Konrad Dybcio - -description: | - Qualcomm graphics clock control module provides clocks and power domains on - Qualcomm SoCs. - - See also:: include/dt-bindings/clock/qcom,sm6125-gpucc.h - -properties: - compatible: - enum: - - qcom,sm6125-gpucc - - clocks: - items: - - description: Board XO source - - description: GPLL0 main branch source - - '#clock-cells': - const: 1 - - '#power-domain-cells': - const: 1 - - reg: - maxItems: 1 - -required: - - compatible - - reg - - clocks - - '#clock-cells' - - '#power-domain-cells' - -additionalProperties: false - -examples: - - | - #include - #include - - soc { - #address-cells = <1>; - #size-cells = <1>; - - clock-controller@5990000 { - compatible = "qcom,sm6125-gpucc"; - reg = <0x05990000 0x9000>; - clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>, - <&gcc GCC_GPU_GPLL0_CLK_SRC>; - #clock-cells = <1>; - #power-domain-cells = <1>; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/qcom,sm6125-gpucc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Graphics Clock & Reset Controller on SM6125 + +maintainers: + - Konrad Dybcio + +description: | + Qualcomm graphics clock control module provides clocks and power domains on + Qualcomm SoCs. + + See also:: include/dt-bindings/clock/qcom,sm6125-gpucc.h + +properties: + compatible: + enum: + - qcom,sm6125-gpucc + + clocks: + items: + - description: Board XO source + - description: GPLL0 main branch source + + '#clock-cells': + const: 1 + + '#power-domain-cells': + const: 1 + + reg: + maxItems: 1 + +required: + - compatible + - reg + - clocks + - '#clock-cells' + - '#power-domain-cells' + +additionalProperties: false + +examples: + - | + #include + #include + + soc { + #address-cells = <1>; + #size-cells = <1>; + + clock-controller@5990000 { + compatible = "qcom,sm6125-gpucc"; + reg = <0x05990000 0x9000>; + clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>, + <&gcc GCC_GPU_GPLL0_CLK_SRC>; + #clock-cells = <1>; + #power-domain-cells = <1>; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,sm7150-camcc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,sm7150-camcc.yaml index 1f0446be19..7be4b10c43 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,sm7150-camcc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,sm7150-camcc.yaml @@ -1,60 +1,60 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/qcom,sm7150-camcc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm Camera Clock & Reset Controller on SM7150 - -maintainers: - - Danila Tikhonov - - David Wronek - - Jens Reidel - -description: | - Qualcomm camera clock control module provides the clocks, resets and power - domains on SM7150. - - See also:: include/dt-bindings/clock/qcom,sm7150-camcc.h - -properties: - compatible: - const: qcom,sm7150-camcc - - clocks: - items: - - description: Board XO source - - description: Board XO Active-Only source - - description: Sleep clock source - - power-domains: - maxItems: 1 - description: - CX power domain. - -required: - - compatible - - clocks - - power-domains - -allOf: - - $ref: qcom,gcc.yaml# - -unevaluatedProperties: false - -examples: - - | - #include - #include - clock-controller@ad00000 { - compatible = "qcom,sm7150-camcc"; - reg = <0xad00000 0x10000>; - clocks = <&rpmhcc RPMH_CXO_CLK>, - <&rpmhcc RPMH_CXO_CLK_A>, - <&sleep_clk>; - power-domains = <&rpmhpd RPMHPD_CX>; - #clock-cells = <1>; - #reset-cells = <1>; - #power-domain-cells = <1>; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/qcom,sm7150-camcc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Camera Clock & Reset Controller on SM7150 + +maintainers: + - Danila Tikhonov + - David Wronek + - Jens Reidel + +description: | + Qualcomm camera clock control module provides the clocks, resets and power + domains on SM7150. + + See also:: include/dt-bindings/clock/qcom,sm7150-camcc.h + +properties: + compatible: + const: qcom,sm7150-camcc + + clocks: + items: + - description: Board XO source + - description: Board XO Active-Only source + - description: Sleep clock source + + power-domains: + maxItems: 1 + description: + CX power domain. + +required: + - compatible + - clocks + - power-domains + +allOf: + - $ref: qcom,gcc.yaml# + +unevaluatedProperties: false + +examples: + - | + #include + #include + clock-controller@ad00000 { + compatible = "qcom,sm7150-camcc"; + reg = <0xad00000 0x10000>; + clocks = <&rpmhcc RPMH_CXO_CLK>, + <&rpmhcc RPMH_CXO_CLK_A>, + <&sleep_clk>; + power-domains = <&rpmhpd RPMHPD_CX>; + #clock-cells = <1>; + #reset-cells = <1>; + #power-domain-cells = <1>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,sm7150-videocc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,sm7150-videocc.yaml index 9270653468..037ffc71e7 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,sm7150-videocc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,sm7150-videocc.yaml @@ -1,58 +1,58 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/qcom,sm7150-videocc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm Video Clock & Reset Controller on SM7150 - -maintainers: - - Danila Tikhonov - - David Wronek - - Jens Reidel - -description: | - Qualcomm video clock control module provides the clocks, resets and power - domains on SM7150. - - See also:: include/dt-bindings/clock/qcom,videocc-sm7150.h - -properties: - compatible: - const: qcom,sm7150-videocc - - clocks: - items: - - description: Board XO source - - description: Board Always On XO source - - power-domains: - maxItems: 1 - description: - CX power domain. - -required: - - compatible - - clocks - - power-domains - -allOf: - - $ref: qcom,gcc.yaml# - -unevaluatedProperties: false - -examples: - - | - #include - #include - videocc: clock-controller@ab00000 { - compatible = "qcom,sm7150-videocc"; - reg = <0x0ab00000 0x10000>; - clocks = <&rpmhcc RPMH_CXO_CLK>, - <&rpmhcc RPMH_CXO_CLK_A>; - power-domains = <&rpmhpd RPMHPD_CX>; - #clock-cells = <1>; - #reset-cells = <1>; - #power-domain-cells = <1>; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/qcom,sm7150-videocc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Video Clock & Reset Controller on SM7150 + +maintainers: + - Danila Tikhonov + - David Wronek + - Jens Reidel + +description: | + Qualcomm video clock control module provides the clocks, resets and power + domains on SM7150. + + See also:: include/dt-bindings/clock/qcom,videocc-sm7150.h + +properties: + compatible: + const: qcom,sm7150-videocc + + clocks: + items: + - description: Board XO source + - description: Board Always On XO source + + power-domains: + maxItems: 1 + description: + CX power domain. + +required: + - compatible + - clocks + - power-domains + +allOf: + - $ref: qcom,gcc.yaml# + +unevaluatedProperties: false + +examples: + - | + #include + #include + videocc: clock-controller@ab00000 { + compatible = "qcom,sm7150-videocc"; + reg = <0x0ab00000 0x10000>; + clocks = <&rpmhcc RPMH_CXO_CLK>, + <&rpmhcc RPMH_CXO_CLK_A>; + power-domains = <&rpmhpd RPMHPD_CX>; + #clock-cells = <1>; + #reset-cells = <1>; + #power-domain-cells = <1>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,sm8150-camcc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,sm8150-camcc.yaml index 79fc95b2f4..5e9f62d786 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,sm8150-camcc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,sm8150-camcc.yaml @@ -1,77 +1,77 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/qcom,sm8150-camcc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm Camera Clock & Reset Controller on SM8150 - -maintainers: - - Satya Priya Kakitapalli - -description: | - Qualcomm camera clock control module provides the clocks, resets and - power domains on SM8150. - - See also:: include/dt-bindings/clock/qcom,sm8150-camcc.h - -properties: - compatible: - const: qcom,sm8150-camcc - - reg: - maxItems: 1 - - clocks: - items: - - description: Board XO source - - description: Camera AHB clock from GCC - - power-domains: - maxItems: 1 - description: - A phandle and PM domain specifier for the MMCX power domain. - - required-opps: - maxItems: 1 - description: - A phandle to an OPP node describing required MMCX performance point. - - '#clock-cells': - const: 1 - - '#reset-cells': - const: 1 - - '#power-domain-cells': - const: 1 - -required: - - compatible - - reg - - clocks - - power-domains - - required-opps - - '#clock-cells' - - '#reset-cells' - - '#power-domain-cells' - -additionalProperties: false - -examples: - - | - #include - #include - #include - clock-controller@ad00000 { - compatible = "qcom,sm8150-camcc"; - reg = <0x0ad00000 0x10000>; - clocks = <&rpmhcc RPMH_CXO_CLK>, - <&gcc GCC_CAMERA_AHB_CLK>; - power-domains = <&rpmhpd SM8150_MMCX>; - required-opps = <&rpmhpd_opp_low_svs>; - #clock-cells = <1>; - #reset-cells = <1>; - #power-domain-cells = <1>; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/qcom,sm8150-camcc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Camera Clock & Reset Controller on SM8150 + +maintainers: + - Satya Priya Kakitapalli + +description: | + Qualcomm camera clock control module provides the clocks, resets and + power domains on SM8150. + + See also:: include/dt-bindings/clock/qcom,sm8150-camcc.h + +properties: + compatible: + const: qcom,sm8150-camcc + + reg: + maxItems: 1 + + clocks: + items: + - description: Board XO source + - description: Camera AHB clock from GCC + + power-domains: + maxItems: 1 + description: + A phandle and PM domain specifier for the MMCX power domain. + + required-opps: + maxItems: 1 + description: + A phandle to an OPP node describing required MMCX performance point. + + '#clock-cells': + const: 1 + + '#reset-cells': + const: 1 + + '#power-domain-cells': + const: 1 + +required: + - compatible + - reg + - clocks + - power-domains + - required-opps + - '#clock-cells' + - '#reset-cells' + - '#power-domain-cells' + +additionalProperties: false + +examples: + - | + #include + #include + #include + clock-controller@ad00000 { + compatible = "qcom,sm8150-camcc"; + reg = <0x0ad00000 0x10000>; + clocks = <&rpmhcc RPMH_CXO_CLK>, + <&gcc GCC_CAMERA_AHB_CLK>; + power-domains = <&rpmhpd SM8150_MMCX>; + required-opps = <&rpmhpd_opp_low_svs>; + #clock-cells = <1>; + #reset-cells = <1>; + #power-domain-cells = <1>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,sm8350-videocc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,sm8350-videocc.yaml index e7c2190b75..5c2ecec062 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,sm8350-videocc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,sm8350-videocc.yaml @@ -1,70 +1,70 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/qcom,sm8350-videocc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm SM8350 Video Clock & Reset Controller - -maintainers: - - Konrad Dybcio - -description: | - Qualcomm video clock control module provides the clocks, resets and power - domains on Qualcomm SoCs. - - See also:: - include/dt-bindings/clock/qcom,videocc-sm8350.h - include/dt-bindings/reset/qcom,videocc-sm8350.h - -properties: - compatible: - enum: - - qcom,sc8280xp-videocc - - qcom,sm8350-videocc - - clocks: - items: - - description: Board XO source - - description: Board active XO source - - description: Board sleep clock - - power-domains: - description: - A phandle and PM domain specifier for the MMCX power domain. - maxItems: 1 - - required-opps: - description: - A phandle to an OPP node describing required MMCX performance point. - maxItems: 1 - -required: - - compatible - - clocks - - power-domains - - required-opps - -allOf: - - $ref: qcom,gcc.yaml# - -unevaluatedProperties: false - -examples: - - | - #include - #include - - clock-controller@abf0000 { - compatible = "qcom,sm8350-videocc"; - reg = <0x0abf0000 0x10000>; - clocks = <&rpmhcc RPMH_CXO_CLK>, - <&rpmhcc RPMH_CXO_CLK_A>, - <&sleep_clk>; - power-domains = <&rpmhpd RPMHPD_MMCX>; - required-opps = <&rpmhpd_opp_low_svs>; - #clock-cells = <1>; - #reset-cells = <1>; - #power-domain-cells = <1>; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/qcom,sm8350-videocc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm SM8350 Video Clock & Reset Controller + +maintainers: + - Konrad Dybcio + +description: | + Qualcomm video clock control module provides the clocks, resets and power + domains on Qualcomm SoCs. + + See also:: + include/dt-bindings/clock/qcom,videocc-sm8350.h + include/dt-bindings/reset/qcom,videocc-sm8350.h + +properties: + compatible: + enum: + - qcom,sc8280xp-videocc + - qcom,sm8350-videocc + + clocks: + items: + - description: Board XO source + - description: Board active XO source + - description: Board sleep clock + + power-domains: + description: + A phandle and PM domain specifier for the MMCX power domain. + maxItems: 1 + + required-opps: + description: + A phandle to an OPP node describing required MMCX performance point. + maxItems: 1 + +required: + - compatible + - clocks + - power-domains + - required-opps + +allOf: + - $ref: qcom,gcc.yaml# + +unevaluatedProperties: false + +examples: + - | + #include + #include + + clock-controller@abf0000 { + compatible = "qcom,sm8350-videocc"; + reg = <0x0abf0000 0x10000>; + clocks = <&rpmhcc RPMH_CXO_CLK>, + <&rpmhcc RPMH_CXO_CLK_A>, + <&sleep_clk>; + power-domains = <&rpmhpd RPMHPD_MMCX>; + required-opps = <&rpmhpd_opp_low_svs>; + #clock-cells = <1>; + #reset-cells = <1>; + #power-domain-cells = <1>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,sm8450-gpucc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,sm8450-gpucc.yaml index 78be8f30ad..2d2c59aa8c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,sm8450-gpucc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,sm8450-gpucc.yaml @@ -1,69 +1,69 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/qcom,sm8450-gpucc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm Graphics Clock & Reset Controller on SM8450 - -maintainers: - - Konrad Dybcio - -description: | - Qualcomm graphics clock control module provides the clocks, resets and power - domains on Qualcomm SoCs. - - See also:: - include/dt-bindings/clock/qcom,sm4450-gpucc.h - include/dt-bindings/clock/qcom,sm8450-gpucc.h - include/dt-bindings/clock/qcom,sm8550-gpucc.h - include/dt-bindings/reset/qcom,sm8450-gpucc.h - include/dt-bindings/reset/qcom,sm8650-gpucc.h - include/dt-bindings/reset/qcom,x1e80100-gpucc.h - -properties: - compatible: - enum: - - qcom,sm4450-gpucc - - qcom,sm8450-gpucc - - qcom,sm8550-gpucc - - qcom,sm8650-gpucc - - qcom,x1e80100-gpucc - - clocks: - items: - - description: Board XO source - - description: GPLL0 main branch source - - description: GPLL0 div branch source - -required: - - compatible - - clocks - - '#power-domain-cells' - -allOf: - - $ref: qcom,gcc.yaml# - -unevaluatedProperties: false - -examples: - - | - #include - #include - - soc { - #address-cells = <2>; - #size-cells = <2>; - - clock-controller@3d90000 { - compatible = "qcom,sm8450-gpucc"; - reg = <0 0x03d90000 0 0xa000>; - clocks = <&rpmhcc RPMH_CXO_CLK>, - <&gcc GCC_GPU_GPLL0_CLK_SRC>, - <&gcc GCC_GPU_GPLL0_DIV_CLK_SRC>; - #clock-cells = <1>; - #reset-cells = <1>; - #power-domain-cells = <1>; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/qcom,sm8450-gpucc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Graphics Clock & Reset Controller on SM8450 + +maintainers: + - Konrad Dybcio + +description: | + Qualcomm graphics clock control module provides the clocks, resets and power + domains on Qualcomm SoCs. + + See also:: + include/dt-bindings/clock/qcom,sm4450-gpucc.h + include/dt-bindings/clock/qcom,sm8450-gpucc.h + include/dt-bindings/clock/qcom,sm8550-gpucc.h + include/dt-bindings/reset/qcom,sm8450-gpucc.h + include/dt-bindings/reset/qcom,sm8650-gpucc.h + include/dt-bindings/reset/qcom,x1e80100-gpucc.h + +properties: + compatible: + enum: + - qcom,sm4450-gpucc + - qcom,sm8450-gpucc + - qcom,sm8550-gpucc + - qcom,sm8650-gpucc + - qcom,x1e80100-gpucc + + clocks: + items: + - description: Board XO source + - description: GPLL0 main branch source + - description: GPLL0 div branch source + +required: + - compatible + - clocks + - '#power-domain-cells' + +allOf: + - $ref: qcom,gcc.yaml# + +unevaluatedProperties: false + +examples: + - | + #include + #include + + soc { + #address-cells = <2>; + #size-cells = <2>; + + clock-controller@3d90000 { + compatible = "qcom,sm8450-gpucc"; + reg = <0 0x03d90000 0 0xa000>; + clocks = <&rpmhcc RPMH_CXO_CLK>, + <&gcc GCC_GPU_GPLL0_CLK_SRC>, + <&gcc GCC_GPU_GPLL0_DIV_CLK_SRC>; + #clock-cells = <1>; + #reset-cells = <1>; + #power-domain-cells = <1>; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,sm8550-gcc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,sm8550-gcc.yaml index a67172f43a..d83b64dcce 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,sm8550-gcc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,sm8550-gcc.yaml @@ -1,63 +1,63 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/qcom,sm8550-gcc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm Global Clock & Reset Controller on SM8550 - -maintainers: - - Bjorn Andersson - -description: | - Qualcomm global clock control module provides the clocks, resets and power - domains on SM8550 - - See also:: include/dt-bindings/clock/qcom,sm8550-gcc.h - -properties: - compatible: - const: qcom,sm8550-gcc - - clocks: - items: - - description: Board XO source - - description: Sleep clock source - - description: PCIE 0 Pipe clock source - - description: PCIE 1 Pipe clock source - - description: PCIE 1 Phy Auxiliary clock source - - description: UFS Phy Rx symbol 0 clock source - - description: UFS Phy Rx symbol 1 clock source - - description: UFS Phy Tx symbol 0 clock source - - description: USB3 Phy wrapper pipe clock source - -required: - - compatible - - clocks - - '#power-domain-cells' - -allOf: - - $ref: qcom,gcc.yaml# - -unevaluatedProperties: false - -examples: - - | - #include - clock-controller@100000 { - compatible = "qcom,sm8550-gcc"; - reg = <0x00100000 0x001f4200>; - clocks = <&rpmhcc RPMH_CXO_CLK>, <&sleep_clk>, - <&pcie0_phy>, - <&pcie1_phy>, - <&pcie_1_phy_aux_clk>, - <&ufs_mem_phy 0>, - <&ufs_mem_phy 1>, - <&ufs_mem_phy 2>, - <&usb_1_qmpphy>; - #clock-cells = <1>; - #reset-cells = <1>; - #power-domain-cells = <1>; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/qcom,sm8550-gcc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Global Clock & Reset Controller on SM8550 + +maintainers: + - Bjorn Andersson + +description: | + Qualcomm global clock control module provides the clocks, resets and power + domains on SM8550 + + See also:: include/dt-bindings/clock/qcom,sm8550-gcc.h + +properties: + compatible: + const: qcom,sm8550-gcc + + clocks: + items: + - description: Board XO source + - description: Sleep clock source + - description: PCIE 0 Pipe clock source + - description: PCIE 1 Pipe clock source + - description: PCIE 1 Phy Auxiliary clock source + - description: UFS Phy Rx symbol 0 clock source + - description: UFS Phy Rx symbol 1 clock source + - description: UFS Phy Tx symbol 0 clock source + - description: USB3 Phy wrapper pipe clock source + +required: + - compatible + - clocks + - '#power-domain-cells' + +allOf: + - $ref: qcom,gcc.yaml# + +unevaluatedProperties: false + +examples: + - | + #include + clock-controller@100000 { + compatible = "qcom,sm8550-gcc"; + reg = <0x00100000 0x001f4200>; + clocks = <&rpmhcc RPMH_CXO_CLK>, <&sleep_clk>, + <&pcie0_phy>, + <&pcie1_phy>, + <&pcie_1_phy_aux_clk>, + <&ufs_mem_phy 0>, + <&ufs_mem_phy 1>, + <&ufs_mem_phy 2>, + <&usb_1_qmpphy>; + #clock-cells = <1>; + #reset-cells = <1>; + #power-domain-cells = <1>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,sm8650-gcc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,sm8650-gcc.yaml index 1d60f4b5b4..976f29cce8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,sm8650-gcc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,sm8650-gcc.yaml @@ -1,66 +1,66 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/qcom,sm8650-gcc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm Global Clock & Reset Controller on SM8650 - -maintainers: - - Bjorn Andersson - -description: | - Qualcomm global clock control module provides the clocks, resets and power - domains on SM8650 - - See also:: include/dt-bindings/clock/qcom,sm8650-gcc.h - -properties: - compatible: - const: qcom,sm8650-gcc - - clocks: - items: - - description: Board XO source - - description: Board Always On XO source - - description: Sleep clock source - - description: PCIE 0 Pipe clock source - - description: PCIE 1 Pipe clock source - - description: PCIE 1 Phy Auxiliary clock source - - description: UFS Phy Rx symbol 0 clock source - - description: UFS Phy Rx symbol 1 clock source - - description: UFS Phy Tx symbol 0 clock source - - description: USB3 Phy wrapper pipe clock source - -required: - - compatible - - clocks - - '#power-domain-cells' - -allOf: - - $ref: qcom,gcc.yaml# - -unevaluatedProperties: false - -examples: - - | - #include - clock-controller@100000 { - compatible = "qcom,sm8650-gcc"; - reg = <0x00100000 0x001f4200>; - clocks = <&rpmhcc RPMH_CXO_CLK>, - <&rpmhcc RPMH_CXO_CLK_A>, - <&sleep_clk>, - <&pcie0_phy>, - <&pcie1_phy>, - <&pcie_1_phy_aux_clk>, - <&ufs_mem_phy 0>, - <&ufs_mem_phy 1>, - <&ufs_mem_phy 2>, - <&usb_1_qmpphy>; - #clock-cells = <1>; - #reset-cells = <1>; - #power-domain-cells = <1>; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/qcom,sm8650-gcc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Global Clock & Reset Controller on SM8650 + +maintainers: + - Bjorn Andersson + +description: | + Qualcomm global clock control module provides the clocks, resets and power + domains on SM8650 + + See also:: include/dt-bindings/clock/qcom,sm8650-gcc.h + +properties: + compatible: + const: qcom,sm8650-gcc + + clocks: + items: + - description: Board XO source + - description: Board Always On XO source + - description: Sleep clock source + - description: PCIE 0 Pipe clock source + - description: PCIE 1 Pipe clock source + - description: PCIE 1 Phy Auxiliary clock source + - description: UFS Phy Rx symbol 0 clock source + - description: UFS Phy Rx symbol 1 clock source + - description: UFS Phy Tx symbol 0 clock source + - description: USB3 Phy wrapper pipe clock source + +required: + - compatible + - clocks + - '#power-domain-cells' + +allOf: + - $ref: qcom,gcc.yaml# + +unevaluatedProperties: false + +examples: + - | + #include + clock-controller@100000 { + compatible = "qcom,sm8650-gcc"; + reg = <0x00100000 0x001f4200>; + clocks = <&rpmhcc RPMH_CXO_CLK>, + <&rpmhcc RPMH_CXO_CLK_A>, + <&sleep_clk>, + <&pcie0_phy>, + <&pcie1_phy>, + <&pcie_1_phy_aux_clk>, + <&ufs_mem_phy 0>, + <&ufs_mem_phy 1>, + <&ufs_mem_phy 2>, + <&usb_1_qmpphy>; + #clock-cells = <1>; + #reset-cells = <1>; + #power-domain-cells = <1>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,spmi-clkdiv.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,spmi-clkdiv.yaml index 58d290c507..16c95ad6c9 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,spmi-clkdiv.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/qcom,spmi-clkdiv.yaml @@ -1,71 +1,71 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/qcom,spmi-clkdiv.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm SPMI PMIC clock divider - -maintainers: - - Bjorn Andersson - - Stephen Boyd - -description: | - Qualcomm SPMI PMIC clock divider configures the clock frequency of a set of - outputs on the PMIC. These clocks are typically wired through alternate - functions on GPIO pins. - -properties: - compatible: - const: qcom,spmi-clkdiv - - reg: - maxItems: 1 - - clocks: - items: - - description: Board XO source - - clock-names: - items: - - const: xo - - "#clock-cells": - const: 1 - - qcom,num-clkdivs: - $ref: /schemas/types.yaml#/definitions/uint32 - description: Number of CLKDIV peripherals. - -required: - - compatible - - reg - - clocks - - clock-names - - "#clock-cells" - - qcom,num-clkdivs - -additionalProperties: false - -examples: - - | - pmic { - #address-cells = <1>; - #size-cells = <0>; - - clock-controller@5b00 { - compatible = "qcom,spmi-clkdiv"; - reg = <0x5b00>; - clocks = <&xo_board>; - clock-names = "xo"; - #clock-cells = <1>; - qcom,num-clkdivs = <3>; - - assigned-clocks = <&pm8998_clk_divs 1>, - <&pm8998_clk_divs 2>, - <&pm8998_clk_divs 3>; - assigned-clock-rates = <9600000>, - <9600000>, - <9600000>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/qcom,spmi-clkdiv.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm SPMI PMIC clock divider + +maintainers: + - Bjorn Andersson + - Stephen Boyd + +description: | + Qualcomm SPMI PMIC clock divider configures the clock frequency of a set of + outputs on the PMIC. These clocks are typically wired through alternate + functions on GPIO pins. + +properties: + compatible: + const: qcom,spmi-clkdiv + + reg: + maxItems: 1 + + clocks: + items: + - description: Board XO source + + clock-names: + items: + - const: xo + + "#clock-cells": + const: 1 + + qcom,num-clkdivs: + $ref: /schemas/types.yaml#/definitions/uint32 + description: Number of CLKDIV peripherals. + +required: + - compatible + - reg + - clocks + - clock-names + - "#clock-cells" + - qcom,num-clkdivs + +additionalProperties: false + +examples: + - | + pmic { + #address-cells = <1>; + #size-cells = <0>; + + clock-controller@5b00 { + compatible = "qcom,spmi-clkdiv"; + reg = <0x5b00>; + clocks = <&xo_board>; + clock-names = "xo"; + #clock-cells = <1>; + qcom,num-clkdivs = <3>; + + assigned-clocks = <&pm8998_clk_divs 1>, + <&pm8998_clk_divs 2>, + <&pm8998_clk_divs 3>; + assigned-clock-rates = <9600000>, + <9600000>, + <9600000>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/renesas,r9a06g032-sysctrl.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/renesas,r9a06g032-sysctrl.yaml index f9e0da2d60..26d94cedc8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/renesas,r9a06g032-sysctrl.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/renesas,r9a06g032-sysctrl.yaml @@ -1,73 +1,73 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/renesas,r9a06g032-sysctrl.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Renesas RZ/N1D (R9A06G032) System Controller - -maintainers: - - Fabrizio Castro - - Geert Uytterhoeven - -properties: - compatible: - const: renesas,r9a06g032-sysctrl - - reg: - maxItems: 1 - - clocks: - minItems: 1 - items: - - description: External 40 MHz crystal - - description: Optional external 32.768 kHz crystal - - description: Optional external JTAG input - - description: Optional external RGMII_REFCLK - - clock-names: - minItems: 1 - items: - - const: mclk - - const: rtc - - const: jtag - - const: rgmii_ref_ext - - '#clock-cells': - const: 1 - - '#power-domain-cells': - const: 0 - - '#address-cells': - const: 1 - - '#size-cells': - const: 1 - -patternProperties: - "^dma-router@[a-f0-9]+$": - type: object - $ref: /schemas/dma/renesas,rzn1-dmamux.yaml# - -required: - - compatible - - reg - - clocks - - clock-names - - '#clock-cells' - - '#power-domain-cells' - -additionalProperties: false - -examples: - - | - sysctrl: system-controller@4000c000 { - compatible = "renesas,r9a06g032-sysctrl"; - reg = <0x4000c000 0x1000>; - clocks = <&ext_mclk>, <&ext_rtc_clk>, <&ext_jtag_clk>, - <&ext_rgmii_ref>; - clock-names = "mclk", "rtc", "jtag", "rgmii_ref_ext"; - #clock-cells = <1>; - #power-domain-cells = <0>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/renesas,r9a06g032-sysctrl.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Renesas RZ/N1D (R9A06G032) System Controller + +maintainers: + - Fabrizio Castro + - Geert Uytterhoeven + +properties: + compatible: + const: renesas,r9a06g032-sysctrl + + reg: + maxItems: 1 + + clocks: + minItems: 1 + items: + - description: External 40 MHz crystal + - description: Optional external 32.768 kHz crystal + - description: Optional external JTAG input + - description: Optional external RGMII_REFCLK + + clock-names: + minItems: 1 + items: + - const: mclk + - const: rtc + - const: jtag + - const: rgmii_ref_ext + + '#clock-cells': + const: 1 + + '#power-domain-cells': + const: 0 + + '#address-cells': + const: 1 + + '#size-cells': + const: 1 + +patternProperties: + "^dma-router@[a-f0-9]+$": + type: object + $ref: /schemas/dma/renesas,rzn1-dmamux.yaml# + +required: + - compatible + - reg + - clocks + - clock-names + - '#clock-cells' + - '#power-domain-cells' + +additionalProperties: false + +examples: + - | + sysctrl: system-controller@4000c000 { + compatible = "renesas,r9a06g032-sysctrl"; + reg = <0x4000c000 0x1000>; + clocks = <&ext_mclk>, <&ext_rtc_clk>, <&ext_jtag_clk>, + <&ext_rgmii_ref>; + clock-names = "mclk", "rtc", "jtag", "rgmii_ref_ext"; + #clock-cells = <1>; + #power-domain-cells = <0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/rockchip,rk3128-cru.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/rockchip,rk3128-cru.yaml index f368445444..b3d9c8eca9 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/rockchip,rk3128-cru.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/rockchip,rk3128-cru.yaml @@ -1,76 +1,76 @@ -# SPDX-License-Identifier: (GPL-2.0+ OR MIT) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/rockchip,rk3128-cru.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Rockchip RK3126/RK3128 Clock and Reset Unit (CRU) - -maintainers: - - Elaine Zhang - - Heiko Stuebner - -description: | - The RK3126/RK3128 clock controller generates and supplies clock to various - controllers within the SoC and also implements a reset controller for SoC - peripherals. - Each clock is assigned an identifier and client nodes can use this identifier - to specify the clock which they consume. All available clocks are defined as - preprocessor macros in the dt-bindings/clock/rk3128-cru.h headers and can be - used in device tree sources. Similar macros exist for the reset sources in - these files. - -properties: - compatible: - enum: - - rockchip,rk3126-cru - - rockchip,rk3128-cru - - reg: - maxItems: 1 - - "#clock-cells": - const: 1 - - "#reset-cells": - const: 1 - - clocks: - minItems: 1 - maxItems: 3 - - clock-names: - minItems: 1 - items: - - const: xin24m - - enum: - - ext_i2s - - gmac_clkin - - enum: - - ext_i2s - - gmac_clkin - - rockchip,grf: - $ref: /schemas/types.yaml#/definitions/phandle - description: - Phandle to the syscon managing the "general register files" (GRF), - if missing pll rates are not changeable, due to the missing pll - lock status. - -required: - - compatible - - reg - - "#clock-cells" - - "#reset-cells" - -additionalProperties: false - -examples: - - | - cru: clock-controller@20000000 { - compatible = "rockchip,rk3128-cru"; - reg = <0x20000000 0x1000>; - rockchip,grf = <&grf>; - #clock-cells = <1>; - #reset-cells = <1>; - }; +# SPDX-License-Identifier: (GPL-2.0+ OR MIT) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/rockchip,rk3128-cru.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Rockchip RK3126/RK3128 Clock and Reset Unit (CRU) + +maintainers: + - Elaine Zhang + - Heiko Stuebner + +description: | + The RK3126/RK3128 clock controller generates and supplies clock to various + controllers within the SoC and also implements a reset controller for SoC + peripherals. + Each clock is assigned an identifier and client nodes can use this identifier + to specify the clock which they consume. All available clocks are defined as + preprocessor macros in the dt-bindings/clock/rk3128-cru.h headers and can be + used in device tree sources. Similar macros exist for the reset sources in + these files. + +properties: + compatible: + enum: + - rockchip,rk3126-cru + - rockchip,rk3128-cru + + reg: + maxItems: 1 + + "#clock-cells": + const: 1 + + "#reset-cells": + const: 1 + + clocks: + minItems: 1 + maxItems: 3 + + clock-names: + minItems: 1 + items: + - const: xin24m + - enum: + - ext_i2s + - gmac_clkin + - enum: + - ext_i2s + - gmac_clkin + + rockchip,grf: + $ref: /schemas/types.yaml#/definitions/phandle + description: + Phandle to the syscon managing the "general register files" (GRF), + if missing pll rates are not changeable, due to the missing pll + lock status. + +required: + - compatible + - reg + - "#clock-cells" + - "#reset-cells" + +additionalProperties: false + +examples: + - | + cru: clock-controller@20000000 { + compatible = "rockchip,rk3128-cru"; + reg = <0x20000000 0x1000>; + rockchip,grf = <&grf>; + #clock-cells = <1>; + #reset-cells = <1>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/rockchip,rk3568-cru.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/rockchip,rk3568-cru.yaml index 3fe4d77358..f809c28944 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/rockchip,rk3568-cru.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/rockchip,rk3568-cru.yaml @@ -1,73 +1,73 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/rockchip,rk3568-cru.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: ROCKCHIP rk3568 Family Clock Control Module - -maintainers: - - Elaine Zhang - - Heiko Stuebner - -description: | - The RK3568 clock controller generates the clock and also implements a - reset controller for SoC peripherals. - (examples: provide SCLK_UART1\PCLK_UART1 and SRST_P_UART1\SRST_S_UART1 for UART module) - Each clock is assigned an identifier and client nodes can use this identifier - to specify the clock which they consume. All available clocks are defined as - preprocessor macros in the dt-bindings/clock/rk3568-cru.h headers and can be - used in device tree sources. - -properties: - compatible: - enum: - - rockchip,rk3568-cru - - rockchip,rk3568-pmucru - - reg: - maxItems: 1 - - "#clock-cells": - const: 1 - - "#reset-cells": - const: 1 - - clocks: - maxItems: 1 - - clock-names: - const: xin24m - - rockchip,grf: - $ref: /schemas/types.yaml#/definitions/phandle - description: - Phandle to the syscon managing the "general register files" (GRF), - if missing pll rates are not changeable, due to the missing pll - lock status. - -required: - - compatible - - reg - - "#clock-cells" - - "#reset-cells" - -additionalProperties: false - -examples: - # Clock Control Module node: - - | - pmucru: clock-controller@fdd00000 { - compatible = "rockchip,rk3568-pmucru"; - reg = <0xfdd00000 0x1000>; - #clock-cells = <1>; - #reset-cells = <1>; - }; - - | - cru: clock-controller@fdd20000 { - compatible = "rockchip,rk3568-cru"; - reg = <0xfdd20000 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/rockchip,rk3568-cru.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ROCKCHIP rk3568 Family Clock Control Module + +maintainers: + - Elaine Zhang + - Heiko Stuebner + +description: | + The RK3568 clock controller generates the clock and also implements a + reset controller for SoC peripherals. + (examples: provide SCLK_UART1\PCLK_UART1 and SRST_P_UART1\SRST_S_UART1 for UART module) + Each clock is assigned an identifier and client nodes can use this identifier + to specify the clock which they consume. All available clocks are defined as + preprocessor macros in the dt-bindings/clock/rk3568-cru.h headers and can be + used in device tree sources. + +properties: + compatible: + enum: + - rockchip,rk3568-cru + - rockchip,rk3568-pmucru + + reg: + maxItems: 1 + + "#clock-cells": + const: 1 + + "#reset-cells": + const: 1 + + clocks: + maxItems: 1 + + clock-names: + const: xin24m + + rockchip,grf: + $ref: /schemas/types.yaml#/definitions/phandle + description: + Phandle to the syscon managing the "general register files" (GRF), + if missing pll rates are not changeable, due to the missing pll + lock status. + +required: + - compatible + - reg + - "#clock-cells" + - "#reset-cells" + +additionalProperties: false + +examples: + # Clock Control Module node: + - | + pmucru: clock-controller@fdd00000 { + compatible = "rockchip,rk3568-pmucru"; + reg = <0xfdd00000 0x1000>; + #clock-cells = <1>; + #reset-cells = <1>; + }; + - | + cru: clock-controller@fdd20000 { + compatible = "rockchip,rk3568-cru"; + reg = <0xfdd20000 0x1000>; + #clock-cells = <1>; + #reset-cells = <1>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/rockchip,rk3588-cru.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/rockchip,rk3588-cru.yaml index 1005270e3a..4ff175c499 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/rockchip,rk3588-cru.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/rockchip,rk3588-cru.yaml @@ -1,67 +1,67 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/rockchip,rk3588-cru.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Rockchip rk3588 Family Clock and Reset Control Module - -maintainers: - - Elaine Zhang - - Heiko Stuebner - -description: | - The RK3588 clock controller generates the clock and also implements a reset - controller for SoC peripherals. For example it provides SCLK_UART2 and - PCLK_UART2, as well as SRST_P_UART2 and SRST_S_UART2 for the second UART - module. - Each clock is assigned an identifier and client nodes can use this identifier - to specify the clock which they consume. All available clock and reset IDs - are defined as preprocessor macros in dt-binding headers. - -properties: - compatible: - enum: - - rockchip,rk3588-cru - - reg: - maxItems: 1 - - "#clock-cells": - const: 1 - - "#reset-cells": - const: 1 - - clocks: - minItems: 2 - maxItems: 2 - - clock-names: - items: - - const: xin24m - - const: xin32k - - rockchip,grf: - $ref: /schemas/types.yaml#/definitions/phandle - description: > - phandle to the syscon managing the "general register files". It is used - for GRF muxes, if missing any muxes present in the GRF will not be - available. - -required: - - compatible - - reg - - "#clock-cells" - - "#reset-cells" - -additionalProperties: false - -examples: - - | - cru: clock-controller@fd7c0000 { - compatible = "rockchip,rk3588-cru"; - reg = <0xfd7c0000 0x5c000>; - #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/rockchip,rk3588-cru.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Rockchip rk3588 Family Clock and Reset Control Module + +maintainers: + - Elaine Zhang + - Heiko Stuebner + +description: | + The RK3588 clock controller generates the clock and also implements a reset + controller for SoC peripherals. For example it provides SCLK_UART2 and + PCLK_UART2, as well as SRST_P_UART2 and SRST_S_UART2 for the second UART + module. + Each clock is assigned an identifier and client nodes can use this identifier + to specify the clock which they consume. All available clock and reset IDs + are defined as preprocessor macros in dt-binding headers. + +properties: + compatible: + enum: + - rockchip,rk3588-cru + + reg: + maxItems: 1 + + "#clock-cells": + const: 1 + + "#reset-cells": + const: 1 + + clocks: + minItems: 2 + maxItems: 2 + + clock-names: + items: + - const: xin24m + - const: xin32k + + rockchip,grf: + $ref: /schemas/types.yaml#/definitions/phandle + description: > + phandle to the syscon managing the "general register files". It is used + for GRF muxes, if missing any muxes present in the GRF will not be + available. + +required: + - compatible + - reg + - "#clock-cells" + - "#reset-cells" + +additionalProperties: false + +examples: + - | + cru: clock-controller@fd7c0000 { + compatible = "rockchip,rk3588-cru"; + reg = <0xfd7c0000 0x5c000>; + #clock-cells = <1>; + #reset-cells = <1>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/samsung,exynos-clock.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/samsung,exynos-clock.yaml index 319733cce5..a36781a455 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/samsung,exynos-clock.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/samsung,exynos-clock.yaml @@ -1,60 +1,60 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/samsung,exynos-clock.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Samsung Exynos SoC clock controller - -maintainers: - - Chanwoo Choi - - Krzysztof Kozlowski - - Sylwester Nawrocki - - Tomasz Figa - -description: | - All available clocks are defined as preprocessor macros in - dt-bindings/clock/ headers. - -properties: - compatible: - oneOf: - - enum: - - samsung,exynos3250-cmu - - samsung,exynos3250-cmu-dmc - - samsung,exynos3250-cmu-isp - - samsung,exynos4210-clock - - samsung,exynos4212-clock - - samsung,exynos4412-clock - - samsung,exynos5250-clock - - items: - - enum: - - samsung,exynos5420-clock - - samsung,exynos5800-clock - - const: syscon - - clocks: - minItems: 1 - maxItems: 4 - - "#clock-cells": - const: 1 - - reg: - maxItems: 1 - -required: - - compatible - - "#clock-cells" - - reg - -additionalProperties: false - -examples: - - | - #include - clock: clock-controller@10010000 { - compatible = "samsung,exynos5250-clock"; - reg = <0x10010000 0x30000>; - #clock-cells = <1>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/samsung,exynos-clock.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Samsung Exynos SoC clock controller + +maintainers: + - Chanwoo Choi + - Krzysztof Kozlowski + - Sylwester Nawrocki + - Tomasz Figa + +description: | + All available clocks are defined as preprocessor macros in + dt-bindings/clock/ headers. + +properties: + compatible: + oneOf: + - enum: + - samsung,exynos3250-cmu + - samsung,exynos3250-cmu-dmc + - samsung,exynos3250-cmu-isp + - samsung,exynos4210-clock + - samsung,exynos4212-clock + - samsung,exynos4412-clock + - samsung,exynos5250-clock + - items: + - enum: + - samsung,exynos5420-clock + - samsung,exynos5800-clock + - const: syscon + + clocks: + minItems: 1 + maxItems: 4 + + "#clock-cells": + const: 1 + + reg: + maxItems: 1 + +required: + - compatible + - "#clock-cells" + - reg + +additionalProperties: false + +examples: + - | + #include + clock: clock-controller@10010000 { + compatible = "samsung,exynos5250-clock"; + reg = <0x10010000 0x30000>; + #clock-cells = <1>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/samsung,exynos4412-isp-clock.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/samsung,exynos4412-isp-clock.yaml index 9896eca2a8..bee13436d1 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/samsung,exynos4412-isp-clock.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/samsung,exynos4412-isp-clock.yaml @@ -1,63 +1,63 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/samsung,exynos4412-isp-clock.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Samsung Exynos4412 SoC ISP clock controller - -maintainers: - - Chanwoo Choi - - Krzysztof Kozlowski - - Sylwester Nawrocki - - Tomasz Figa - -description: | - Clock controller for Samsung Exynos4412 SoC FIMC-ISP (Camera ISP) - All available clocks are defined as preprocessor macros in - dt-bindings/clock/ headers. - -properties: - compatible: - const: samsung,exynos4412-isp-clock - - clocks: - items: - - description: CLK_ACLK200 from the main clock controller - - description: CLK_ACLK400_MCUISP from the main clock controller - - clock-names: - items: - - const: aclk200 - - const: aclk400_mcuisp - - "#clock-cells": - const: 1 - - power-domains: - maxItems: 1 - - reg: - maxItems: 1 - -required: - - compatible - - "#clock-cells" - - clocks - - clock-names - - power-domains - - reg - -additionalProperties: false - -examples: - - | - #include - clock-controller@10048000 { - compatible = "samsung,exynos4412-isp-clock"; - reg = <0x10048000 0x1000>; - #clock-cells = <1>; - power-domains = <&pd_isp>; - clocks = <&clock CLK_ACLK200>, <&clock CLK_ACLK400_MCUISP>; - clock-names = "aclk200", "aclk400_mcuisp"; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/samsung,exynos4412-isp-clock.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Samsung Exynos4412 SoC ISP clock controller + +maintainers: + - Chanwoo Choi + - Krzysztof Kozlowski + - Sylwester Nawrocki + - Tomasz Figa + +description: | + Clock controller for Samsung Exynos4412 SoC FIMC-ISP (Camera ISP) + All available clocks are defined as preprocessor macros in + dt-bindings/clock/ headers. + +properties: + compatible: + const: samsung,exynos4412-isp-clock + + clocks: + items: + - description: CLK_ACLK200 from the main clock controller + - description: CLK_ACLK400_MCUISP from the main clock controller + + clock-names: + items: + - const: aclk200 + - const: aclk400_mcuisp + + "#clock-cells": + const: 1 + + power-domains: + maxItems: 1 + + reg: + maxItems: 1 + +required: + - compatible + - "#clock-cells" + - clocks + - clock-names + - power-domains + - reg + +additionalProperties: false + +examples: + - | + #include + clock-controller@10048000 { + compatible = "samsung,exynos4412-isp-clock"; + reg = <0x10048000 0x1000>; + #clock-cells = <1>; + power-domains = <&pd_isp>; + clocks = <&clock CLK_ACLK200>, <&clock CLK_ACLK400_MCUISP>; + clock-names = "aclk200", "aclk400_mcuisp"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/samsung,exynos5410-clock.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/samsung,exynos5410-clock.yaml index 81837a6e84..b737c9d35a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/samsung,exynos5410-clock.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/samsung,exynos5410-clock.yaml @@ -1,66 +1,66 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/samsung,exynos5410-clock.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Samsung Exynos5410 SoC clock controller - -maintainers: - - Chanwoo Choi - - Krzysztof Kozlowski - - Sylwester Nawrocki - - Tomasz Figa - -description: | - Expected external clocks, defined in DTS as fixed-rate clocks with a matching - name:: - - "fin_pll" - PLL input clock from XXTI - - All available clocks are defined as preprocessor macros in - include/dt-bindings/clock/exynos5410.h header. - -properties: - compatible: - oneOf: - - enum: - - samsung,exynos5410-clock - - clocks: - description: - Should contain an entry specifying the root clock from external - oscillator supplied through XXTI or XusbXTI pin. This clock should be - defined using standard clock bindings with "fin_pll" clock-output-name. - That clock is being passed internally to the 9 PLLs. - maxItems: 1 - - "#clock-cells": - const: 1 - - reg: - maxItems: 1 - -required: - - compatible - - "#clock-cells" - - reg - -additionalProperties: false - -examples: - - | - #include - - fin_pll: osc-clock { - compatible = "fixed-clock"; - clock-frequency = <24000000>; - clock-output-names = "fin_pll"; - #clock-cells = <0>; - }; - - clock-controller@10010000 { - compatible = "samsung,exynos5410-clock"; - reg = <0x10010000 0x30000>; - #clock-cells = <1>; - clocks = <&fin_pll>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/samsung,exynos5410-clock.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Samsung Exynos5410 SoC clock controller + +maintainers: + - Chanwoo Choi + - Krzysztof Kozlowski + - Sylwester Nawrocki + - Tomasz Figa + +description: | + Expected external clocks, defined in DTS as fixed-rate clocks with a matching + name:: + - "fin_pll" - PLL input clock from XXTI + + All available clocks are defined as preprocessor macros in + include/dt-bindings/clock/exynos5410.h header. + +properties: + compatible: + oneOf: + - enum: + - samsung,exynos5410-clock + + clocks: + description: + Should contain an entry specifying the root clock from external + oscillator supplied through XXTI or XusbXTI pin. This clock should be + defined using standard clock bindings with "fin_pll" clock-output-name. + That clock is being passed internally to the 9 PLLs. + maxItems: 1 + + "#clock-cells": + const: 1 + + reg: + maxItems: 1 + +required: + - compatible + - "#clock-cells" + - reg + +additionalProperties: false + +examples: + - | + #include + + fin_pll: osc-clock { + compatible = "fixed-clock"; + clock-frequency = <24000000>; + clock-output-names = "fin_pll"; + #clock-cells = <0>; + }; + + clock-controller@10010000 { + compatible = "samsung,exynos5410-clock"; + reg = <0x10010000 0x30000>; + #clock-cells = <1>; + clocks = <&fin_pll>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/samsung,s3c6400-clock.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/samsung,s3c6400-clock.yaml index 3c4306eeb2..0fcc0c963f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/samsung,s3c6400-clock.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/samsung,s3c6400-clock.yaml @@ -1,57 +1,57 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/samsung,s3c6400-clock.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Samsung S3C6400 SoC clock controller - -maintainers: - - Krzysztof Kozlowski - -description: | - There are several clocks that are generated outside the SoC. It is expected - that they are defined using standard clock bindings with following - clock-output-names and/or provided as clock inputs to this clock controller: - - "fin_pll" - PLL input clock (xtal/extclk) - required, - - "xusbxti" - USB xtal - required, - - "iiscdclk0" - I2S0 codec clock - optional, - - "iiscdclk1" - I2S1 codec clock - optional, - - "iiscdclk2" - I2S2 codec clock - optional, - - "pcmcdclk0" - PCM0 codec clock - optional, - - "pcmcdclk1" - PCM1 codec clock - optional, only S3C6410. - - All available clocks are defined as preprocessor macros in - include/dt-bindings/clock/samsung,s3c64xx-clock.h header. - -properties: - compatible: - enum: - - samsung,s3c6400-clock - - samsung,s3c6410-clock - - reg: - maxItems: 1 - - clocks: - maxItems: 1 - - "#clock-cells": - const: 1 - -required: - - compatible - - reg - - clocks - - "#clock-cells" - -additionalProperties: false - -examples: - - | - clock-controller@7e00f000 { - compatible = "samsung,s3c6410-clock"; - reg = <0x7e00f000 0x1000>; - #clock-cells = <1>; - clocks = <&fin_pll>; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/samsung,s3c6400-clock.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Samsung S3C6400 SoC clock controller + +maintainers: + - Krzysztof Kozlowski + +description: | + There are several clocks that are generated outside the SoC. It is expected + that they are defined using standard clock bindings with following + clock-output-names and/or provided as clock inputs to this clock controller: + - "fin_pll" - PLL input clock (xtal/extclk) - required, + - "xusbxti" - USB xtal - required, + - "iiscdclk0" - I2S0 codec clock - optional, + - "iiscdclk1" - I2S1 codec clock - optional, + - "iiscdclk2" - I2S2 codec clock - optional, + - "pcmcdclk0" - PCM0 codec clock - optional, + - "pcmcdclk1" - PCM1 codec clock - optional, only S3C6410. + + All available clocks are defined as preprocessor macros in + include/dt-bindings/clock/samsung,s3c64xx-clock.h header. + +properties: + compatible: + enum: + - samsung,s3c6400-clock + - samsung,s3c6410-clock + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + "#clock-cells": + const: 1 + +required: + - compatible + - reg + - clocks + - "#clock-cells" + +additionalProperties: false + +examples: + - | + clock-controller@7e00f000 { + compatible = "samsung,s3c6410-clock"; + reg = <0x7e00f000 0x1000>; + #clock-cells = <1>; + clocks = <&fin_pll>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/sifive/fu540-prci.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/sifive/fu540-prci.yaml index d1e5acd35d..c79e752283 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/sifive/fu540-prci.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/sifive/fu540-prci.yaml @@ -1,59 +1,59 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -# Copyright (C) 2020 SiFive, Inc. -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/sifive/fu540-prci.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: SiFive FU540 Power Reset Clock Interrupt Controller (PRCI) - -maintainers: - - Paul Walmsley - -description: - On the FU540 family of SoCs, most system-wide clock and reset integration - is via the PRCI IP block. - The clock consumer should specify the desired clock via the clock ID - macros defined in include/dt-bindings/clock/sifive-fu540-prci.h. - These macros begin with PRCI_CLK_. - - The hfclk and rtcclk nodes are required, and represent physical - crystals or resonators located on the PCB. These nodes should be present - underneath /, rather than /soc. - -properties: - compatible: - const: sifive,fu540-c000-prci - - reg: - maxItems: 1 - - clocks: - items: - - description: high frequency clock. - - description: RTL clock. - - clock-names: - items: - - const: hfclk - - const: rtcclk - - "#clock-cells": - const: 1 - -required: - - compatible - - reg - - clocks - - "#clock-cells" - -additionalProperties: false - -examples: - - | - prci: clock-controller@10000000 { - compatible = "sifive,fu540-c000-prci"; - reg = <0x10000000 0x1000>; - clocks = <&hfclk>, <&rtcclk>; - #clock-cells = <1>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +# Copyright (C) 2020 SiFive, Inc. +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/sifive/fu540-prci.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: SiFive FU540 Power Reset Clock Interrupt Controller (PRCI) + +maintainers: + - Paul Walmsley + +description: + On the FU540 family of SoCs, most system-wide clock and reset integration + is via the PRCI IP block. + The clock consumer should specify the desired clock via the clock ID + macros defined in include/dt-bindings/clock/sifive-fu540-prci.h. + These macros begin with PRCI_CLK_. + + The hfclk and rtcclk nodes are required, and represent physical + crystals or resonators located on the PCB. These nodes should be present + underneath /, rather than /soc. + +properties: + compatible: + const: sifive,fu540-c000-prci + + reg: + maxItems: 1 + + clocks: + items: + - description: high frequency clock. + - description: RTL clock. + + clock-names: + items: + - const: hfclk + - const: rtcclk + + "#clock-cells": + const: 1 + +required: + - compatible + - reg + - clocks + - "#clock-cells" + +additionalProperties: false + +examples: + - | + prci: clock-controller@10000000 { + compatible = "sifive,fu540-c000-prci"; + reg = <0x10000000 0x1000>; + clocks = <&hfclk>, <&rtcclk>; + #clock-cells = <1>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/sifive/fu740-prci.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/sifive/fu740-prci.yaml index 4d018c61c2..252085a0cf 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/sifive/fu740-prci.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/sifive/fu740-prci.yaml @@ -1,64 +1,64 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -# Copyright (C) 2020 SiFive, Inc. -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/sifive/fu740-prci.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: SiFive FU740 Power Reset Clock Interrupt Controller (PRCI) - -maintainers: - - Zong Li - - Paul Walmsley - -description: - On the FU740 family of SoCs, most system-wide clock and reset integration - is via the PRCI IP block. - The clock consumer should specify the desired clock via the clock ID - macros defined in include/dt-bindings/clock/sifive-fu740-prci.h. - These macros begin with PRCI_CLK_. - - The hfclk and rtcclk nodes are required, and represent physical - crystals or resonators located on the PCB. These nodes should be present - underneath /, rather than /soc. - -properties: - compatible: - const: sifive,fu740-c000-prci - - reg: - maxItems: 1 - - clocks: - items: - - description: high frequency clock. - - description: RTL clock. - - clock-names: - items: - - const: hfclk - - const: rtcclk - - "#clock-cells": - const: 1 - - "#reset-cells": - const: 1 - -required: - - compatible - - reg - - clocks - - "#clock-cells" - -additionalProperties: false - -examples: - - | - prci: clock-controller@10000000 { - compatible = "sifive,fu740-c000-prci"; - reg = <0x10000000 0x1000>; - clocks = <&hfclk>, <&rtcclk>; - #clock-cells = <1>; - #reset-cells = <1>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +# Copyright (C) 2020 SiFive, Inc. +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/sifive/fu740-prci.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: SiFive FU740 Power Reset Clock Interrupt Controller (PRCI) + +maintainers: + - Zong Li + - Paul Walmsley + +description: + On the FU740 family of SoCs, most system-wide clock and reset integration + is via the PRCI IP block. + The clock consumer should specify the desired clock via the clock ID + macros defined in include/dt-bindings/clock/sifive-fu740-prci.h. + These macros begin with PRCI_CLK_. + + The hfclk and rtcclk nodes are required, and represent physical + crystals or resonators located on the PCB. These nodes should be present + underneath /, rather than /soc. + +properties: + compatible: + const: sifive,fu740-c000-prci + + reg: + maxItems: 1 + + clocks: + items: + - description: high frequency clock. + - description: RTL clock. + + clock-names: + items: + - const: hfclk + - const: rtcclk + + "#clock-cells": + const: 1 + + "#reset-cells": + const: 1 + +required: + - compatible + - reg + - clocks + - "#clock-cells" + +additionalProperties: false + +examples: + - | + prci: clock-controller@10000000 { + compatible = "sifive,fu740-c000-prci"; + reg = <0x10000000 0x1000>; + clocks = <&hfclk>, <&rtcclk>; + #clock-cells = <1>; + #reset-cells = <1>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/silabs,si570.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/silabs,si570.txt index e018f514b8..5dda17df1a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/silabs,si570.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/silabs,si570.txt @@ -1,41 +1,41 @@ -Binding for Silicon Labs 570, 571, 598 and 599 programmable -I2C clock generators. - -Reference -This binding uses the common clock binding[1]. Details about the devices can be -found in the data sheets[2][3]. - -[1] Documentation/devicetree/bindings/clock/clock-bindings.txt -[2] Si570/571 Data Sheet - https://www.silabs.com/Support%20Documents/TechnicalDocs/si570.pdf -[3] Si598/599 Data Sheet - https://www.silabs.com/Support%20Documents/TechnicalDocs/si598-99.pdf - -Required properties: - - compatible: Shall be one of "silabs,si570", "silabs,si571", - "silabs,si598", "silabs,si599" - - reg: I2C device address. - - #clock-cells: From common clock bindings: Shall be 0. - - factory-fout: Factory set default frequency. This frequency is part specific. - The correct frequency for the part used has to be provided in - order to generate the correct output frequencies. For more - details, please refer to the data sheet. - - temperature-stability: Temperature stability of the device in PPM. Should be - one of: 7, 20, 50 or 100. - -Optional properties: - - clock-output-names: From common clock bindings. Recommended to be "si570". - - clock-frequency: Output frequency to generate. This defines the output - frequency set during boot. It can be reprogrammed during - runtime through the common clock framework. - - silabs,skip-recall: Do not perform NVM->RAM recall operation. It will rely - on hardware loading of RAM from NVM at power on. - -Example: - si570: clock-generator@5d { - #clock-cells = <0>; - compatible = "silabs,si570"; - temperature-stability = <50>; - reg = <0x5d>; - factory-fout = <156250000>; - }; +Binding for Silicon Labs 570, 571, 598 and 599 programmable +I2C clock generators. + +Reference +This binding uses the common clock binding[1]. Details about the devices can be +found in the data sheets[2][3]. + +[1] Documentation/devicetree/bindings/clock/clock-bindings.txt +[2] Si570/571 Data Sheet + https://www.silabs.com/Support%20Documents/TechnicalDocs/si570.pdf +[3] Si598/599 Data Sheet + https://www.silabs.com/Support%20Documents/TechnicalDocs/si598-99.pdf + +Required properties: + - compatible: Shall be one of "silabs,si570", "silabs,si571", + "silabs,si598", "silabs,si599" + - reg: I2C device address. + - #clock-cells: From common clock bindings: Shall be 0. + - factory-fout: Factory set default frequency. This frequency is part specific. + The correct frequency for the part used has to be provided in + order to generate the correct output frequencies. For more + details, please refer to the data sheet. + - temperature-stability: Temperature stability of the device in PPM. Should be + one of: 7, 20, 50 or 100. + +Optional properties: + - clock-output-names: From common clock bindings. Recommended to be "si570". + - clock-frequency: Output frequency to generate. This defines the output + frequency set during boot. It can be reprogrammed during + runtime through the common clock framework. + - silabs,skip-recall: Do not perform NVM->RAM recall operation. It will rely + on hardware loading of RAM from NVM at power on. + +Example: + si570: clock-generator@5d { + #clock-cells = <0>; + compatible = "silabs,si570"; + temperature-stability = <50>; + reg = <0x5d>; + factory-fout = <156250000>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/sprd,ums512-clk.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/sprd,ums512-clk.yaml index 5e2caa0143..43d2b6c313 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/sprd,ums512-clk.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/sprd,ums512-clk.yaml @@ -1,71 +1,71 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -# Copyright 2022 Unisoc Inc. -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/sprd,ums512-clk.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: UMS512 Soc clock controller - -maintainers: - - Orson Zhai - - Baolin Wang - - Chunyan Zhang - -properties: - compatible: - enum: - - sprd,ums512-apahb-gate - - sprd,ums512-ap-clk - - sprd,ums512-aonapb-clk - - sprd,ums512-pmu-gate - - sprd,ums512-g0-pll - - sprd,ums512-g2-pll - - sprd,ums512-g3-pll - - sprd,ums512-gc-pll - - sprd,ums512-aon-gate - - sprd,ums512-audcpapb-gate - - sprd,ums512-audcpahb-gate - - sprd,ums512-gpu-clk - - sprd,ums512-mm-clk - - sprd,ums512-mm-gate-clk - - sprd,ums512-apapb-gate - - "#clock-cells": - const: 1 - - clocks: - minItems: 1 - maxItems: 4 - description: | - The input parent clock(s) phandle for the clock, only list - fixed clocks which are declared in devicetree. - - clock-names: - minItems: 1 - items: - - const: ext-26m - - const: ext-32k - - const: ext-4m - - const: rco-100m - - reg: - maxItems: 1 - -required: - - compatible - - '#clock-cells' - - reg - -additionalProperties: false - -examples: - - | - ap_clk: clock-controller@20200000 { - compatible = "sprd,ums512-ap-clk"; - reg = <0x20200000 0x1000>; - clocks = <&ext_26m>; - clock-names = "ext-26m"; - #clock-cells = <1>; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +# Copyright 2022 Unisoc Inc. +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/sprd,ums512-clk.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: UMS512 Soc clock controller + +maintainers: + - Orson Zhai + - Baolin Wang + - Chunyan Zhang + +properties: + compatible: + enum: + - sprd,ums512-apahb-gate + - sprd,ums512-ap-clk + - sprd,ums512-aonapb-clk + - sprd,ums512-pmu-gate + - sprd,ums512-g0-pll + - sprd,ums512-g2-pll + - sprd,ums512-g3-pll + - sprd,ums512-gc-pll + - sprd,ums512-aon-gate + - sprd,ums512-audcpapb-gate + - sprd,ums512-audcpahb-gate + - sprd,ums512-gpu-clk + - sprd,ums512-mm-clk + - sprd,ums512-mm-gate-clk + - sprd,ums512-apapb-gate + + "#clock-cells": + const: 1 + + clocks: + minItems: 1 + maxItems: 4 + description: | + The input parent clock(s) phandle for the clock, only list + fixed clocks which are declared in devicetree. + + clock-names: + minItems: 1 + items: + - const: ext-26m + - const: ext-32k + - const: ext-4m + - const: rco-100m + + reg: + maxItems: 1 + +required: + - compatible + - '#clock-cells' + - reg + +additionalProperties: false + +examples: + - | + ap_clk: clock-controller@20200000 { + compatible = "sprd,ums512-ap-clk"; + reg = <0x20200000 0x1000>; + clocks = <&ext_26m>; + clock-names = "ext-26m"; + #clock-cells = <1>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/st/st,clkgen.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/st/st,clkgen.txt index b97f8d4887..45ac19bfa0 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/st/st,clkgen.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/st/st,clkgen.txt @@ -1,68 +1,68 @@ -Binding for a Clockgen hardware block found on -certain STMicroelectronics consumer electronics SoC devices. - -A Clockgen node can contain pll, diviser or multiplexer nodes. - -We will find only the base address of the Clockgen, this base -address is common of all subnode. - - clockgen_node { - reg = <>; - - pll_node { - ... - }; - - quadfs_node { - ... - }; - - mux_node { - ... - }; - - flexgen_node { - ... - }; - ... - }; - -This binding uses the common clock binding[1]. -Each subnode should use the binding described in [2]..[7] - -[1] Documentation/devicetree/bindings/clock/clock-bindings.txt -[3] Documentation/devicetree/bindings/clock/st/st,clkgen-mux.txt -[4] Documentation/devicetree/bindings/clock/st/st,clkgen-pll.txt -[7] Documentation/devicetree/bindings/clock/st/st,quadfs.txt -[8] Documentation/devicetree/bindings/clock/st/st,flexgen.txt - - -Required properties: -- reg : A Base address and length of the register set. - -Example: - - clockgen-a@90ff000 { - compatible = "st,clkgen-c32"; - reg = <0x90ff000 0x1000>; - - clk_s_a0_pll: clk-s-a0-pll { - #clock-cells = <1>; - compatible = "st,clkgen-pll0"; - - clocks = <&clk_sysin>; - - clock-output-names = "clk-s-a0-pll-ofd-0"; - }; - - clk_s_a0_flexgen: clk-s-a0-flexgen { - compatible = "st,flexgen"; - - #clock-cells = <1>; - - clocks = <&clk_s_a0_pll 0>, - <&clk_sysin>; - - clock-output-names = "clk-ic-lmi0"; - }; - }; +Binding for a Clockgen hardware block found on +certain STMicroelectronics consumer electronics SoC devices. + +A Clockgen node can contain pll, diviser or multiplexer nodes. + +We will find only the base address of the Clockgen, this base +address is common of all subnode. + + clockgen_node { + reg = <>; + + pll_node { + ... + }; + + quadfs_node { + ... + }; + + mux_node { + ... + }; + + flexgen_node { + ... + }; + ... + }; + +This binding uses the common clock binding[1]. +Each subnode should use the binding described in [2]..[7] + +[1] Documentation/devicetree/bindings/clock/clock-bindings.txt +[3] Documentation/devicetree/bindings/clock/st/st,clkgen-mux.txt +[4] Documentation/devicetree/bindings/clock/st/st,clkgen-pll.txt +[7] Documentation/devicetree/bindings/clock/st/st,quadfs.txt +[8] Documentation/devicetree/bindings/clock/st/st,flexgen.txt + + +Required properties: +- reg : A Base address and length of the register set. + +Example: + + clockgen-a@90ff000 { + compatible = "st,clkgen-c32"; + reg = <0x90ff000 0x1000>; + + clk_s_a0_pll: clk-s-a0-pll { + #clock-cells = <1>; + compatible = "st,clkgen-pll0"; + + clocks = <&clk_sysin>; + + clock-output-names = "clk-s-a0-pll-ofd-0"; + }; + + clk_s_a0_flexgen: clk-s-a0-flexgen { + compatible = "st,flexgen"; + + #clock-cells = <1>; + + clocks = <&clk_s_a0_pll 0>, + <&clk_sysin>; + + clock-output-names = "clk-ic-lmi0"; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/st/st,quadfs.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/st/st,quadfs.txt index 453fefe3a6..c4ba2adb0b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/st/st,quadfs.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/st/st,quadfs.txt @@ -1,48 +1,48 @@ -Binding for a type of quad channel digital frequency synthesizer found on -certain STMicroelectronics consumer electronics SoC devices. - -This version contains a programmable PLL which can generate up to 216, 432 -or 660MHz (from a 30MHz oscillator input) as the input to the digital -synthesizers. - -This binding uses the common clock binding[1]. - -[1] Documentation/devicetree/bindings/clock/clock-bindings.txt - -Required properties: -- compatible : shall be: - "st,quadfs" - "st,quadfs-d0" - "st,quadfs-d2" - "st,quadfs-d3" - "st,quadfs-pll" - - -- #clock-cells : from common clock binding; shall be set to 1. - -- reg : A Base address and length of the register set. - -- clocks : from common clock binding - -- clock-output-names : From common clock binding. The block has 4 - clock outputs but not all of them in a specific instance - have to be used in the SoC. If a clock name is left as - an empty string then no clock will be created for the - output associated with that string index. If fewer than - 4 strings are provided then no clocks will be created - for the remaining outputs. - -Example: - - clk_s_c0_quadfs: clk-s-c0-quadfs@9103000 { - #clock-cells = <1>; - compatible = "st,quadfs-pll"; - reg = <0x9103000 0x1000>; - - clocks = <&clk_sysin>; - - clock-output-names = "clk-s-c0-fs0-ch0", - "clk-s-c0-fs0-ch1", - "clk-s-c0-fs0-ch2", - "clk-s-c0-fs0-ch3"; - }; +Binding for a type of quad channel digital frequency synthesizer found on +certain STMicroelectronics consumer electronics SoC devices. + +This version contains a programmable PLL which can generate up to 216, 432 +or 660MHz (from a 30MHz oscillator input) as the input to the digital +synthesizers. + +This binding uses the common clock binding[1]. + +[1] Documentation/devicetree/bindings/clock/clock-bindings.txt + +Required properties: +- compatible : shall be: + "st,quadfs" + "st,quadfs-d0" + "st,quadfs-d2" + "st,quadfs-d3" + "st,quadfs-pll" + + +- #clock-cells : from common clock binding; shall be set to 1. + +- reg : A Base address and length of the register set. + +- clocks : from common clock binding + +- clock-output-names : From common clock binding. The block has 4 + clock outputs but not all of them in a specific instance + have to be used in the SoC. If a clock name is left as + an empty string then no clock will be created for the + output associated with that string index. If fewer than + 4 strings are provided then no clocks will be created + for the remaining outputs. + +Example: + + clk_s_c0_quadfs: clk-s-c0-quadfs@9103000 { + #clock-cells = <1>; + compatible = "st,quadfs-pll"; + reg = <0x9103000 0x1000>; + + clocks = <&clk_sysin>; + + clock-output-names = "clk-s-c0-fs0-ch0", + "clk-s-c0-fs0-ch1", + "clk-s-c0-fs0-ch2", + "clk-s-c0-fs0-ch3"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/starfive,jh7100-clkgen.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/starfive,jh7100-clkgen.yaml index c4a44fdade..12f17b60ec 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/starfive,jh7100-clkgen.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/starfive,jh7100-clkgen.yaml @@ -1,56 +1,56 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/starfive,jh7100-clkgen.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: StarFive JH7100 Clock Generator - -maintainers: - - Geert Uytterhoeven - - Emil Renner Berthing - -properties: - compatible: - const: starfive,jh7100-clkgen - - reg: - maxItems: 1 - - clocks: - items: - - description: Main clock source (25 MHz) - - description: Application-specific clock source (12-27 MHz) - - description: RMII reference clock (50 MHz) - - description: RGMII RX clock (125 MHz) - - clock-names: - items: - - const: osc_sys - - const: osc_aud - - const: gmac_rmii_ref - - const: gmac_gr_mii_rxclk - - '#clock-cells': - const: 1 - description: - See for valid indices. - -required: - - compatible - - reg - - clocks - - clock-names - - '#clock-cells' - -additionalProperties: false - -examples: - - | - clock-controller@11800000 { - compatible = "starfive,jh7100-clkgen"; - reg = <0x11800000 0x10000>; - clocks = <&osc_sys>, <&osc_aud>, <&gmac_rmii_ref>, <&gmac_gr_mii_rxclk>; - clock-names = "osc_sys", "osc_aud", "gmac_rmii_ref", "gmac_gr_mii_rxclk"; - #clock-cells = <1>; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/starfive,jh7100-clkgen.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: StarFive JH7100 Clock Generator + +maintainers: + - Geert Uytterhoeven + - Emil Renner Berthing + +properties: + compatible: + const: starfive,jh7100-clkgen + + reg: + maxItems: 1 + + clocks: + items: + - description: Main clock source (25 MHz) + - description: Application-specific clock source (12-27 MHz) + - description: RMII reference clock (50 MHz) + - description: RGMII RX clock (125 MHz) + + clock-names: + items: + - const: osc_sys + - const: osc_aud + - const: gmac_rmii_ref + - const: gmac_gr_mii_rxclk + + '#clock-cells': + const: 1 + description: + See for valid indices. + +required: + - compatible + - reg + - clocks + - clock-names + - '#clock-cells' + +additionalProperties: false + +examples: + - | + clock-controller@11800000 { + compatible = "starfive,jh7100-clkgen"; + reg = <0x11800000 0x10000>; + clocks = <&osc_sys>, <&osc_aud>, <&gmac_rmii_ref>, <&gmac_gr_mii_rxclk>; + clock-names = "osc_sys", "osc_aud", "gmac_rmii_ref", "gmac_gr_mii_rxclk"; + #clock-cells = <1>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/ti,sci-clk.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/ti,sci-clk.yaml index 81b35846bf..66e8e66ca1 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/ti,sci-clk.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/ti,sci-clk.yaml @@ -1,49 +1,49 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/ti,sci-clk.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: TI-SCI clock controller - -maintainers: - - Nishanth Menon - -description: | - Some TI SoCs contain a system controller (like the Power Management Micro - Controller (PMMC) on Keystone 66AK2G SoC) that are responsible for controlling - the state of the various hardware modules present on the SoC. Communication - between the host processor running an OS and the system controller happens - through a protocol called TI System Control Interface (TI-SCI protocol). - - This clock controller node uses the TI SCI protocol to perform various clock - management of various hardware modules (devices) present on the SoC. This - node must be a child node of the associated TI-SCI system controller node. - -properties: - $nodename: - pattern: "^clock-controller$" - - compatible: - const: ti,k2g-sci-clk - - "#clock-cells": - const: 2 - description: - The two cells represent values that the TI-SCI controller defines. - - The first cell should contain the device ID. - - The second cell should contain the clock ID. - - Please see https://software-dl.ti.com/tisci/esd/latest/index.html for - protocol documentation for the values to be used for different devices. - -additionalProperties: false - -examples: - - | - k3_clks: clock-controller { - compatible = "ti,k2g-sci-clk"; - #clock-cells = <2>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/ti,sci-clk.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: TI-SCI clock controller + +maintainers: + - Nishanth Menon + +description: | + Some TI SoCs contain a system controller (like the Power Management Micro + Controller (PMMC) on Keystone 66AK2G SoC) that are responsible for controlling + the state of the various hardware modules present on the SoC. Communication + between the host processor running an OS and the system controller happens + through a protocol called TI System Control Interface (TI-SCI protocol). + + This clock controller node uses the TI SCI protocol to perform various clock + management of various hardware modules (devices) present on the SoC. This + node must be a child node of the associated TI-SCI system controller node. + +properties: + $nodename: + pattern: "^clock-controller$" + + compatible: + const: ti,k2g-sci-clk + + "#clock-cells": + const: 2 + description: + The two cells represent values that the TI-SCI controller defines. + + The first cell should contain the device ID. + + The second cell should contain the clock ID. + + Please see https://software-dl.ti.com/tisci/esd/latest/index.html for + protocol documentation for the values to be used for different devices. + +additionalProperties: false + +examples: + - | + k3_clks: clock-controller { + compatible = "ti,k2g-sci-clk"; + #clock-cells = <2>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/ti/adpll.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/ti/adpll.txt index 1990bfce2e..3122360adc 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/ti/adpll.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/ti/adpll.txt @@ -1,39 +1,39 @@ -Binding for Texas Instruments ADPLL clock. - -This binding uses the common clock binding[1]. It assumes a -register-mapped ADPLL with two to three selectable input clocks -and three to four children. - -[1] Documentation/devicetree/bindings/clock/clock-bindings.txt - -Required properties: -- compatible : shall be one of "ti,dm814-adpll-s-clock" or - "ti,dm814-adpll-lj-clock" depending on the type of the ADPLL -- #clock-cells : from common clock binding; shall be set to 1. -- clocks : link phandles of parent clocks clkinp and clkinpulow, note - that the adpll-s-clock also has an optional clkinphif -- reg : address and length of the register set for controlling the ADPLL. - -Examples: - adpll_mpu_ck: adpll@40 { - #clock-cells = <1>; - compatible = "ti,dm814-adpll-s-clock"; - reg = <0x40 0x40>; - clocks = <&devosc_ck &devosc_ck &devosc_ck>; - clock-names = "clkinp", "clkinpulow", "clkinphif"; - clock-output-names = "481c5040.adpll.dcoclkldo", - "481c5040.adpll.clkout", - "481c5040.adpll.clkoutx2", - "481c5040.adpll.clkouthif"; - }; - - adpll_dsp_ck: adpll@80 { - #clock-cells = <1>; - compatible = "ti,dm814-adpll-lj-clock"; - reg = <0x80 0x30>; - clocks = <&devosc_ck &devosc_ck>; - clock-names = "clkinp", "clkinpulow"; - clock-output-names = "481c5080.adpll.dcoclkldo", - "481c5080.adpll.clkout", - "481c5080.adpll.clkoutldo"; - }; +Binding for Texas Instruments ADPLL clock. + +This binding uses the common clock binding[1]. It assumes a +register-mapped ADPLL with two to three selectable input clocks +and three to four children. + +[1] Documentation/devicetree/bindings/clock/clock-bindings.txt + +Required properties: +- compatible : shall be one of "ti,dm814-adpll-s-clock" or + "ti,dm814-adpll-lj-clock" depending on the type of the ADPLL +- #clock-cells : from common clock binding; shall be set to 1. +- clocks : link phandles of parent clocks clkinp and clkinpulow, note + that the adpll-s-clock also has an optional clkinphif +- reg : address and length of the register set for controlling the ADPLL. + +Examples: + adpll_mpu_ck: adpll@40 { + #clock-cells = <1>; + compatible = "ti,dm814-adpll-s-clock"; + reg = <0x40 0x40>; + clocks = <&devosc_ck &devosc_ck &devosc_ck>; + clock-names = "clkinp", "clkinpulow", "clkinphif"; + clock-output-names = "481c5040.adpll.dcoclkldo", + "481c5040.adpll.clkout", + "481c5040.adpll.clkoutx2", + "481c5040.adpll.clkouthif"; + }; + + adpll_dsp_ck: adpll@80 { + #clock-cells = <1>; + compatible = "ti,dm814-adpll-lj-clock"; + reg = <0x80 0x30>; + clocks = <&devosc_ck &devosc_ck>; + clock-names = "clkinp", "clkinpulow"; + clock-output-names = "481c5080.adpll.dcoclkldo", + "481c5080.adpll.clkout", + "481c5080.adpll.clkoutldo"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/ti/apll.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/ti/apll.txt index 84a029eb0c..bbd505c119 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/ti/apll.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/ti/apll.txt @@ -1,43 +1,43 @@ -Binding for Texas Instruments APLL clock. - -This binding uses the common clock binding[1]. It assumes a -register-mapped APLL with usually two selectable input clocks -(reference clock and bypass clock), with analog phase locked -loop logic for multiplying the input clock to a desired output -clock. This clock also typically supports different operation -modes (locked, low power stop etc.) APLL mostly behaves like -a subtype of a DPLL [2], although a simplified one at that. - -[1] Documentation/devicetree/bindings/clock/clock-bindings.txt -[2] Documentation/devicetree/bindings/clock/ti/dpll.txt - -Required properties: -- compatible : shall be "ti,dra7-apll-clock" or "ti,omap2-apll-clock" -- #clock-cells : from common clock binding; shall be set to 0. -- clocks : link phandles of parent clocks (clk-ref and clk-bypass) -- reg : address and length of the register set for controlling the APLL. - It contains the information of registers in the following order: - "control" - contains the control register offset - "idlest" - contains the idlest register offset - "autoidle" - contains the autoidle register offset (OMAP2 only) -- ti,clock-frequency : static clock frequency for the clock (OMAP2 only) -- ti,idlest-shift : bit-shift for the idlest field (OMAP2 only) -- ti,bit-shift : bit-shift for enable and autoidle fields (OMAP2 only) - -Examples: - apll_pcie_ck: apll_pcie_ck { - #clock-cells = <0>; - clocks = <&apll_pcie_in_clk_mux>, <&dpll_pcie_ref_ck>; - reg = <0x021c>, <0x0220>; - compatible = "ti,dra7-apll-clock"; - }; - - apll96_ck: apll96_ck { - #clock-cells = <0>; - compatible = "ti,omap2-apll-clock"; - clocks = <&sys_ck>; - ti,bit-shift = <2>; - ti,idlest-shift = <8>; - ti,clock-frequency = <96000000>; - reg = <0x0500>, <0x0530>, <0x0520>; - }; +Binding for Texas Instruments APLL clock. + +This binding uses the common clock binding[1]. It assumes a +register-mapped APLL with usually two selectable input clocks +(reference clock and bypass clock), with analog phase locked +loop logic for multiplying the input clock to a desired output +clock. This clock also typically supports different operation +modes (locked, low power stop etc.) APLL mostly behaves like +a subtype of a DPLL [2], although a simplified one at that. + +[1] Documentation/devicetree/bindings/clock/clock-bindings.txt +[2] Documentation/devicetree/bindings/clock/ti/dpll.txt + +Required properties: +- compatible : shall be "ti,dra7-apll-clock" or "ti,omap2-apll-clock" +- #clock-cells : from common clock binding; shall be set to 0. +- clocks : link phandles of parent clocks (clk-ref and clk-bypass) +- reg : address and length of the register set for controlling the APLL. + It contains the information of registers in the following order: + "control" - contains the control register offset + "idlest" - contains the idlest register offset + "autoidle" - contains the autoidle register offset (OMAP2 only) +- ti,clock-frequency : static clock frequency for the clock (OMAP2 only) +- ti,idlest-shift : bit-shift for the idlest field (OMAP2 only) +- ti,bit-shift : bit-shift for enable and autoidle fields (OMAP2 only) + +Examples: + apll_pcie_ck: apll_pcie_ck { + #clock-cells = <0>; + clocks = <&apll_pcie_in_clk_mux>, <&dpll_pcie_ref_ck>; + reg = <0x021c>, <0x0220>; + compatible = "ti,dra7-apll-clock"; + }; + + apll96_ck: apll96_ck { + #clock-cells = <0>; + compatible = "ti,omap2-apll-clock"; + clocks = <&sys_ck>; + ti,bit-shift = <2>; + ti,idlest-shift = <8>; + ti,clock-frequency = <96000000>; + reg = <0x0500>, <0x0530>, <0x0520>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/ti/composite.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/ti/composite.txt index 1550a76d4c..6f7e1331b5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/ti/composite.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/ti/composite.txt @@ -1,55 +1,55 @@ -Binding for TI composite clock. - -This binding uses the common clock binding[1]. It assumes a -register-mapped composite clock with multiple different sub-types; - -a multiplexer clock with multiple input clock signals or parents, one -of which can be selected as output, this behaves exactly as [2] - -an adjustable clock rate divider, this behaves exactly as [3] - -a gating function which can be used to enable and disable the output -clock, this behaves exactly as [4] - -The binding must provide a list of the component clocks that shall be -merged to this clock. The component clocks shall be of one of the -"ti,*composite*-clock" types. - -[1] Documentation/devicetree/bindings/clock/clock-bindings.txt -[2] Documentation/devicetree/bindings/clock/ti/mux.txt -[3] Documentation/devicetree/bindings/clock/ti/divider.txt -[4] Documentation/devicetree/bindings/clock/ti/gate.txt - -Required properties: -- compatible : shall be: "ti,composite-clock" -- clocks : link phandles of component clocks -- #clock-cells : from common clock binding; shall be set to 0. - -Optional properties: -- clock-output-names : from common clock binding. - -Examples: - -usb_l4_gate_ick: usb_l4_gate_ick { - #clock-cells = <0>; - compatible = "ti,composite-interface-clock"; - clocks = <&l4_ick>; - ti,bit-shift = <5>; - reg = <0x0a10>; -}; - -usb_l4_div_ick: usb_l4_div_ick { - #clock-cells = <0>; - compatible = "ti,composite-divider-clock"; - clocks = <&l4_ick>; - ti,bit-shift = <4>; - ti,max-div = <1>; - reg = <0x0a40>; - ti,index-starts-at-one; -}; - -usb_l4_ick: usb_l4_ick { - #clock-cells = <0>; - compatible = "ti,composite-clock"; - clocks = <&usb_l4_gate_ick>, <&usb_l4_div_ick>; -}; +Binding for TI composite clock. + +This binding uses the common clock binding[1]. It assumes a +register-mapped composite clock with multiple different sub-types; + +a multiplexer clock with multiple input clock signals or parents, one +of which can be selected as output, this behaves exactly as [2] + +an adjustable clock rate divider, this behaves exactly as [3] + +a gating function which can be used to enable and disable the output +clock, this behaves exactly as [4] + +The binding must provide a list of the component clocks that shall be +merged to this clock. The component clocks shall be of one of the +"ti,*composite*-clock" types. + +[1] Documentation/devicetree/bindings/clock/clock-bindings.txt +[2] Documentation/devicetree/bindings/clock/ti/mux.txt +[3] Documentation/devicetree/bindings/clock/ti/divider.txt +[4] Documentation/devicetree/bindings/clock/ti/gate.txt + +Required properties: +- compatible : shall be: "ti,composite-clock" +- clocks : link phandles of component clocks +- #clock-cells : from common clock binding; shall be set to 0. + +Optional properties: +- clock-output-names : from common clock binding. + +Examples: + +usb_l4_gate_ick: usb_l4_gate_ick { + #clock-cells = <0>; + compatible = "ti,composite-interface-clock"; + clocks = <&l4_ick>; + ti,bit-shift = <5>; + reg = <0x0a10>; +}; + +usb_l4_div_ick: usb_l4_div_ick { + #clock-cells = <0>; + compatible = "ti,composite-divider-clock"; + clocks = <&l4_ick>; + ti,bit-shift = <4>; + ti,max-div = <1>; + reg = <0x0a40>; + ti,index-starts-at-one; +}; + +usb_l4_ick: usb_l4_ick { + #clock-cells = <0>; + compatible = "ti,composite-clock"; + clocks = <&usb_l4_gate_ick>, <&usb_l4_div_ick>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/xlnx,clocking-wizard.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/xlnx,clocking-wizard.yaml index dbb99830a1..9d5324dc10 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/xlnx,clocking-wizard.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/xlnx,clocking-wizard.yaml @@ -1,78 +1,78 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/clock/xlnx,clocking-wizard.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Xilinx clocking wizard - -maintainers: - - Shubhrajyoti Datta - -description: - The clocking wizard is a soft ip clocking block of Xilinx versal. It - reads required input clock frequencies from the devicetree and acts as clock - clock output. - -properties: - compatible: - enum: - - xlnx,clocking-wizard - - xlnx,clocking-wizard-v5.2 - - xlnx,clocking-wizard-v6.0 - - xlnx,versal-clk-wizard - - - reg: - maxItems: 1 - - "#clock-cells": - const: 1 - - clocks: - items: - - description: clock input - - description: axi clock - - clock-names: - items: - - const: clk_in1 - - const: s_axi_aclk - - - xlnx,speed-grade: - $ref: /schemas/types.yaml#/definitions/uint32 - enum: [1, 2, 3] - description: - Speed grade of the device. Higher the speed grade faster is the FPGA device. - - xlnx,nr-outputs: - $ref: /schemas/types.yaml#/definitions/uint32 - minimum: 1 - maximum: 8 - description: - Number of outputs. - -required: - - compatible - - reg - - "#clock-cells" - - clocks - - clock-names - - xlnx,speed-grade - - xlnx,nr-outputs - -additionalProperties: false - -examples: - - | - clock-controller@b0000000 { - compatible = "xlnx,clocking-wizard"; - reg = <0xb0000000 0x10000>; - #clock-cells = <1>; - xlnx,speed-grade = <1>; - xlnx,nr-outputs = <6>; - clock-names = "clk_in1", "s_axi_aclk"; - clocks = <&clkc 15>, <&clkc 15>; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/xlnx,clocking-wizard.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Xilinx clocking wizard + +maintainers: + - Shubhrajyoti Datta + +description: + The clocking wizard is a soft ip clocking block of Xilinx versal. It + reads required input clock frequencies from the devicetree and acts as clock + clock output. + +properties: + compatible: + enum: + - xlnx,clocking-wizard + - xlnx,clocking-wizard-v5.2 + - xlnx,clocking-wizard-v6.0 + - xlnx,versal-clk-wizard + + + reg: + maxItems: 1 + + "#clock-cells": + const: 1 + + clocks: + items: + - description: clock input + - description: axi clock + + clock-names: + items: + - const: clk_in1 + - const: s_axi_aclk + + + xlnx,speed-grade: + $ref: /schemas/types.yaml#/definitions/uint32 + enum: [1, 2, 3] + description: + Speed grade of the device. Higher the speed grade faster is the FPGA device. + + xlnx,nr-outputs: + $ref: /schemas/types.yaml#/definitions/uint32 + minimum: 1 + maximum: 8 + description: + Number of outputs. + +required: + - compatible + - reg + - "#clock-cells" + - clocks + - clock-names + - xlnx,speed-grade + - xlnx,nr-outputs + +additionalProperties: false + +examples: + - | + clock-controller@b0000000 { + compatible = "xlnx,clocking-wizard"; + reg = <0xb0000000 0x10000>; + #clock-cells = <1>; + xlnx,speed-grade = <1>; + xlnx,nr-outputs = <6>; + clock-names = "clk_in1", "s_axi_aclk"; + clocks = <&clkc 15>, <&clkc 15>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/counter/interrupt-counter.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/counter/interrupt-counter.yaml index 2c8a152687..fd075d1046 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/counter/interrupt-counter.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/counter/interrupt-counter.yaml @@ -1,62 +1,62 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/counter/interrupt-counter.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Interrupt counter - -maintainers: - - Oleksij Rempel - -description: | - A generic interrupt counter to measure interrupt frequency. It was developed - and used for agricultural devices to measure rotation speed of wheels or - other tools. Since the direction of rotation is not important, only one - signal line is needed. - Interrupts or gpios are required. If both are defined, the interrupt will - take precedence for counting interrupts. - -properties: - compatible: - const: interrupt-counter - - interrupts: - maxItems: 1 - - gpios: - maxItems: 1 - -required: - - compatible - -anyOf: - - required: [ interrupts-extended ] - - required: [ interrupts ] - - required: [ gpios ] - -additionalProperties: false - -examples: - - | - - #include - #include - - counter-0 { - compatible = "interrupt-counter"; - interrupts-extended = <&gpio 0 IRQ_TYPE_EDGE_RISING>; - }; - - counter-1 { - compatible = "interrupt-counter"; - gpios = <&gpio 2 GPIO_ACTIVE_HIGH>; - }; - - counter-2 { - compatible = "interrupt-counter"; - interrupts-extended = <&gpio 2 IRQ_TYPE_EDGE_RISING>; - gpios = <&gpio 2 GPIO_ACTIVE_HIGH>; - }; - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/counter/interrupt-counter.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Interrupt counter + +maintainers: + - Oleksij Rempel + +description: | + A generic interrupt counter to measure interrupt frequency. It was developed + and used for agricultural devices to measure rotation speed of wheels or + other tools. Since the direction of rotation is not important, only one + signal line is needed. + Interrupts or gpios are required. If both are defined, the interrupt will + take precedence for counting interrupts. + +properties: + compatible: + const: interrupt-counter + + interrupts: + maxItems: 1 + + gpios: + maxItems: 1 + +required: + - compatible + +anyOf: + - required: [ interrupts-extended ] + - required: [ interrupts ] + - required: [ gpios ] + +additionalProperties: false + +examples: + - | + + #include + #include + + counter-0 { + compatible = "interrupt-counter"; + interrupts-extended = <&gpio 0 IRQ_TYPE_EDGE_RISING>; + }; + + counter-1 { + compatible = "interrupt-counter"; + gpios = <&gpio 2 GPIO_ACTIVE_HIGH>; + }; + + counter-2 { + compatible = "interrupt-counter"; + interrupts-extended = <&gpio 2 IRQ_TYPE_EDGE_RISING>; + gpios = <&gpio 2 GPIO_ACTIVE_HIGH>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/cpufreq/cpufreq-dt.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/cpufreq/cpufreq-dt.txt index 354be635de..1d7e491676 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/cpufreq/cpufreq-dt.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/cpufreq/cpufreq-dt.txt @@ -1,61 +1,61 @@ -Generic cpufreq driver - -It is a generic DT based cpufreq driver for frequency management. It supports -both uniprocessor (UP) and symmetric multiprocessor (SMP) systems which share -clock and voltage across all CPUs. - -Both required and optional properties listed below must be defined -under node /cpus/cpu@0. - -Required properties: -- None - -Optional properties: -- operating-points: Refer to Documentation/devicetree/bindings/opp/opp-v1.yaml for - details. OPPs *must* be supplied either via DT, i.e. this property, or - populated at runtime. -- clock-latency: Specify the possible maximum transition latency for clock, - in unit of nanoseconds. -- voltage-tolerance: Specify the CPU voltage tolerance in percentage. -- #cooling-cells: - Please refer to - Documentation/devicetree/bindings/thermal/thermal-cooling-devices.yaml. - -Examples: - -cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu@0 { - compatible = "arm,cortex-a9"; - reg = <0>; - next-level-cache = <&L2>; - operating-points = < - /* kHz uV */ - 792000 1100000 - 396000 950000 - 198000 850000 - >; - clock-latency = <61036>; /* two CLK32 periods */ - #cooling-cells = <2>; - }; - - cpu@1 { - compatible = "arm,cortex-a9"; - reg = <1>; - next-level-cache = <&L2>; - }; - - cpu@2 { - compatible = "arm,cortex-a9"; - reg = <2>; - next-level-cache = <&L2>; - }; - - cpu@3 { - compatible = "arm,cortex-a9"; - reg = <3>; - next-level-cache = <&L2>; - }; -}; +Generic cpufreq driver + +It is a generic DT based cpufreq driver for frequency management. It supports +both uniprocessor (UP) and symmetric multiprocessor (SMP) systems which share +clock and voltage across all CPUs. + +Both required and optional properties listed below must be defined +under node /cpus/cpu@0. + +Required properties: +- None + +Optional properties: +- operating-points: Refer to Documentation/devicetree/bindings/opp/opp-v1.yaml for + details. OPPs *must* be supplied either via DT, i.e. this property, or + populated at runtime. +- clock-latency: Specify the possible maximum transition latency for clock, + in unit of nanoseconds. +- voltage-tolerance: Specify the CPU voltage tolerance in percentage. +- #cooling-cells: + Please refer to + Documentation/devicetree/bindings/thermal/thermal-cooling-devices.yaml. + +Examples: + +cpus { + #address-cells = <1>; + #size-cells = <0>; + + cpu@0 { + compatible = "arm,cortex-a9"; + reg = <0>; + next-level-cache = <&L2>; + operating-points = < + /* kHz uV */ + 792000 1100000 + 396000 950000 + 198000 850000 + >; + clock-latency = <61036>; /* two CLK32 periods */ + #cooling-cells = <2>; + }; + + cpu@1 { + compatible = "arm,cortex-a9"; + reg = <1>; + next-level-cache = <&L2>; + }; + + cpu@2 { + compatible = "arm,cortex-a9"; + reg = <2>; + next-level-cache = <&L2>; + }; + + cpu@3 { + compatible = "arm,cortex-a9"; + reg = <3>; + next-level-cache = <&L2>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/cpufreq/cpufreq-mediatek-hw.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/cpufreq/cpufreq-mediatek-hw.yaml index 865b710c5d..d0aecde2b8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/cpufreq/cpufreq-mediatek-hw.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/cpufreq/cpufreq-mediatek-hw.yaml @@ -1,70 +1,70 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/cpufreq/cpufreq-mediatek-hw.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: MediaTek's CPUFREQ - -maintainers: - - Hector Yuan - -description: - CPUFREQ HW is a hardware engine used by MediaTek SoCs to - manage frequency in hardware. It is capable of controlling - frequency for multiple clusters. - -properties: - compatible: - const: mediatek,cpufreq-hw - - reg: - minItems: 1 - maxItems: 2 - description: - Addresses and sizes for the memory of the HW bases in - each frequency domain. Each entry corresponds to - a register bank for each frequency domain present. - - "#performance-domain-cells": - description: - Number of cells in a performance domain specifier. - Set const to 1 here for nodes providing multiple - performance domains. - const: 1 - -required: - - compatible - - reg - - "#performance-domain-cells" - -additionalProperties: false - -examples: - - | - cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu0: cpu@0 { - device_type = "cpu"; - compatible = "arm,cortex-a55"; - enable-method = "psci"; - performance-domains = <&performance 0>; - reg = <0x000>; - }; - }; - - /* ... */ - - soc { - #address-cells = <2>; - #size-cells = <2>; - - performance: performance-controller@11bc00 { - compatible = "mediatek,cpufreq-hw"; - reg = <0 0x0011bc10 0 0x120>, <0 0x0011bd30 0 0x120>; - - #performance-domain-cells = <1>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/cpufreq/cpufreq-mediatek-hw.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: MediaTek's CPUFREQ + +maintainers: + - Hector Yuan + +description: + CPUFREQ HW is a hardware engine used by MediaTek SoCs to + manage frequency in hardware. It is capable of controlling + frequency for multiple clusters. + +properties: + compatible: + const: mediatek,cpufreq-hw + + reg: + minItems: 1 + maxItems: 2 + description: + Addresses and sizes for the memory of the HW bases in + each frequency domain. Each entry corresponds to + a register bank for each frequency domain present. + + "#performance-domain-cells": + description: + Number of cells in a performance domain specifier. + Set const to 1 here for nodes providing multiple + performance domains. + const: 1 + +required: + - compatible + - reg + - "#performance-domain-cells" + +additionalProperties: false + +examples: + - | + cpus { + #address-cells = <1>; + #size-cells = <0>; + + cpu0: cpu@0 { + device_type = "cpu"; + compatible = "arm,cortex-a55"; + enable-method = "psci"; + performance-domains = <&performance 0>; + reg = <0x000>; + }; + }; + + /* ... */ + + soc { + #address-cells = <2>; + #size-cells = <2>; + + performance: performance-controller@11bc00 { + compatible = "mediatek,cpufreq-hw"; + reg = <0 0x0011bc10 0 0x120>, <0 0x0011bd30 0 0x120>; + + #performance-domain-cells = <1>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/crypto/allwinner,sun4i-a10-crypto.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/crypto/allwinner,sun4i-a10-crypto.yaml index 69027f217f..0401c11da8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/crypto/allwinner,sun4i-a10-crypto.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/crypto/allwinner,sun4i-a10-crypto.yaml @@ -1,95 +1,95 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/crypto/allwinner,sun4i-a10-crypto.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Allwinner A10 Security System - -maintainers: - - Chen-Yu Tsai - - Maxime Ripard - -properties: - compatible: - oneOf: - - const: allwinner,sun4i-a10-crypto - - items: - - const: allwinner,sun5i-a13-crypto - - const: allwinner,sun4i-a10-crypto - - items: - - const: allwinner,sun6i-a31-crypto - - const: allwinner,sun4i-a10-crypto - - items: - - const: allwinner,sun7i-a20-crypto - - const: allwinner,sun4i-a10-crypto - - const: allwinner,sun8i-a33-crypto - - items: - - const: allwinner,sun8i-v3s-crypto - - const: allwinner,sun8i-a33-crypto - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - items: - - description: Bus Clock - - description: Module Clock - - clock-names: - items: - - const: ahb - - const: mod - - dmas: - items: - - description: RX DMA Channel - - description: TX DMA Channel - - dma-names: - items: - - const: rx - - const: tx - - resets: - maxItems: 1 - - reset-names: - const: ahb - -required: - - compatible - - reg - - interrupts - - clocks - - clock-names - -if: - properties: - compatible: - contains: - enum: - - allwinner,sun6i-a31-crypto - - allwinner,sun8i-a33-crypto - -then: - required: - - resets - - reset-names - -additionalProperties: false - -examples: - - | - crypto: crypto-engine@1c15000 { - compatible = "allwinner,sun4i-a10-crypto"; - reg = <0x01c15000 0x1000>; - interrupts = <86>; - clocks = <&ahb_gates 5>, <&ss_clk>; - clock-names = "ahb", "mod"; - }; - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/crypto/allwinner,sun4i-a10-crypto.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Allwinner A10 Security System + +maintainers: + - Chen-Yu Tsai + - Maxime Ripard + +properties: + compatible: + oneOf: + - const: allwinner,sun4i-a10-crypto + - items: + - const: allwinner,sun5i-a13-crypto + - const: allwinner,sun4i-a10-crypto + - items: + - const: allwinner,sun6i-a31-crypto + - const: allwinner,sun4i-a10-crypto + - items: + - const: allwinner,sun7i-a20-crypto + - const: allwinner,sun4i-a10-crypto + - const: allwinner,sun8i-a33-crypto + - items: + - const: allwinner,sun8i-v3s-crypto + - const: allwinner,sun8i-a33-crypto + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + items: + - description: Bus Clock + - description: Module Clock + + clock-names: + items: + - const: ahb + - const: mod + + dmas: + items: + - description: RX DMA Channel + - description: TX DMA Channel + + dma-names: + items: + - const: rx + - const: tx + + resets: + maxItems: 1 + + reset-names: + const: ahb + +required: + - compatible + - reg + - interrupts + - clocks + - clock-names + +if: + properties: + compatible: + contains: + enum: + - allwinner,sun6i-a31-crypto + - allwinner,sun8i-a33-crypto + +then: + required: + - resets + - reset-names + +additionalProperties: false + +examples: + - | + crypto: crypto-engine@1c15000 { + compatible = "allwinner,sun4i-a10-crypto"; + reg = <0x01c15000 0x1000>; + interrupts = <86>; + clocks = <&ahb_gates 5>, <&ss_clk>; + clock-names = "ahb", "mod"; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/crypto/atmel,at91sam9g46-aes.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/crypto/atmel,at91sam9g46-aes.yaml index 99e9ad4875..7dc0748444 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/crypto/atmel,at91sam9g46-aes.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/crypto/atmel,at91sam9g46-aes.yaml @@ -1,70 +1,70 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -# Copyright (C) 2022 Microchip Technology, Inc. and its subsidiaries -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/crypto/atmel,at91sam9g46-aes.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Atmel Advanced Encryption Standard (AES) HW cryptographic accelerator - -maintainers: - - Tudor Ambarus - -properties: - compatible: - oneOf: - - const: atmel,at91sam9g46-aes - - items: - - const: microchip,sam9x7-aes - - const: atmel,at91sam9g46-aes - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - maxItems: 1 - - clock-names: - const: aes_clk - - dmas: - items: - - description: TX DMA Channel - - description: RX DMA Channel - - dma-names: - items: - - const: tx - - const: rx - -required: - - compatible - - reg - - interrupts - - clocks - - clock-names - - dmas - - dma-names - -additionalProperties: false - -examples: - - | - #include - #include - #include - #include - - aes: crypto@e1810000 { - compatible = "atmel,at91sam9g46-aes"; - reg = <0xe1810000 0x100>; - interrupts = ; - clocks = <&pmc PMC_TYPE_PERIPHERAL 27>; - clock-names = "aes_clk"; - dmas = <&dma0 AT91_XDMAC_DT_PERID(1)>, - <&dma0 AT91_XDMAC_DT_PERID(2)>; - dma-names = "tx", "rx"; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +# Copyright (C) 2022 Microchip Technology, Inc. and its subsidiaries +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/crypto/atmel,at91sam9g46-aes.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Atmel Advanced Encryption Standard (AES) HW cryptographic accelerator + +maintainers: + - Tudor Ambarus + +properties: + compatible: + oneOf: + - const: atmel,at91sam9g46-aes + - items: + - const: microchip,sam9x7-aes + - const: atmel,at91sam9g46-aes + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + + clock-names: + const: aes_clk + + dmas: + items: + - description: TX DMA Channel + - description: RX DMA Channel + + dma-names: + items: + - const: tx + - const: rx + +required: + - compatible + - reg + - interrupts + - clocks + - clock-names + - dmas + - dma-names + +additionalProperties: false + +examples: + - | + #include + #include + #include + #include + + aes: crypto@e1810000 { + compatible = "atmel,at91sam9g46-aes"; + reg = <0xe1810000 0x100>; + interrupts = ; + clocks = <&pmc PMC_TYPE_PERIPHERAL 27>; + clock-names = "aes_clk"; + dmas = <&dma0 AT91_XDMAC_DT_PERID(1)>, + <&dma0 AT91_XDMAC_DT_PERID(2)>; + dma-names = "tx", "rx"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/crypto/atmel,at91sam9g46-sha.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/crypto/atmel,at91sam9g46-sha.yaml index e043fb159c..d378c53314 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/crypto/atmel,at91sam9g46-sha.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/crypto/atmel,at91sam9g46-sha.yaml @@ -1,64 +1,64 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -# Copyright (C) 2022 Microchip Technology, Inc. and its subsidiaries -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/crypto/atmel,at91sam9g46-sha.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Atmel Secure Hash Algorithm (SHA) HW cryptographic accelerator - -maintainers: - - Tudor Ambarus - -properties: - compatible: - oneOf: - - const: atmel,at91sam9g46-sha - - items: - - const: microchip,sam9x7-sha - - const: atmel,at91sam9g46-sha - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - maxItems: 1 - - clock-names: - const: sha_clk - - dmas: - maxItems: 1 - description: TX DMA Channel - - dma-names: - const: tx - -required: - - compatible - - reg - - interrupts - - clocks - - clock-names - -additionalProperties: false - -examples: - - | - #include - #include - #include - #include - - sha: crypto@e1814000 { - compatible = "atmel,at91sam9g46-sha"; - reg = <0xe1814000 0x100>; - interrupts = ; - clocks = <&pmc PMC_TYPE_PERIPHERAL 83>; - clock-names = "sha_clk"; - dmas = <&dma0 AT91_XDMAC_DT_PERID(48)>; - dma-names = "tx"; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +# Copyright (C) 2022 Microchip Technology, Inc. and its subsidiaries +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/crypto/atmel,at91sam9g46-sha.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Atmel Secure Hash Algorithm (SHA) HW cryptographic accelerator + +maintainers: + - Tudor Ambarus + +properties: + compatible: + oneOf: + - const: atmel,at91sam9g46-sha + - items: + - const: microchip,sam9x7-sha + - const: atmel,at91sam9g46-sha + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + + clock-names: + const: sha_clk + + dmas: + maxItems: 1 + description: TX DMA Channel + + dma-names: + const: tx + +required: + - compatible + - reg + - interrupts + - clocks + - clock-names + +additionalProperties: false + +examples: + - | + #include + #include + #include + #include + + sha: crypto@e1814000 { + compatible = "atmel,at91sam9g46-sha"; + reg = <0xe1814000 0x100>; + interrupts = ; + clocks = <&pmc PMC_TYPE_PERIPHERAL 83>; + clock-names = "sha_clk"; + dmas = <&dma0 AT91_XDMAC_DT_PERID(48)>; + dma-names = "tx"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/crypto/atmel,at91sam9g46-tdes.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/crypto/atmel,at91sam9g46-tdes.yaml index 164fd8af83..6a441f79ef 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/crypto/atmel,at91sam9g46-tdes.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/crypto/atmel,at91sam9g46-tdes.yaml @@ -1,68 +1,68 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -# Copyright (C) 2022 Microchip Technology, Inc. and its subsidiaries -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/crypto/atmel,at91sam9g46-tdes.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Atmel Triple Data Encryption Standard (TDES) HW cryptographic accelerator - -maintainers: - - Tudor Ambarus - -properties: - compatible: - oneOf: - - const: atmel,at91sam9g46-tdes - - items: - - const: microchip,sam9x7-tdes - - const: atmel,at91sam9g46-tdes - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - maxItems: 1 - - clock-names: - const: tdes_clk - - dmas: - items: - - description: TX DMA Channel - - description: RX DMA Channel - - dma-names: - items: - - const: tx - - const: rx - -required: - - compatible - - reg - - interrupts - - clocks - - clock-names - -additionalProperties: false - -examples: - - | - #include - #include - #include - #include - - tdes: crypto@e2014000 { - compatible = "atmel,at91sam9g46-tdes"; - reg = <0xe2014000 0x100>; - interrupts = ; - clocks = <&pmc PMC_TYPE_PERIPHERAL 96>; - clock-names = "tdes_clk"; - dmas = <&dma0 AT91_XDMAC_DT_PERID(54)>, - <&dma0 AT91_XDMAC_DT_PERID(53)>; - dma-names = "tx", "rx"; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +# Copyright (C) 2022 Microchip Technology, Inc. and its subsidiaries +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/crypto/atmel,at91sam9g46-tdes.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Atmel Triple Data Encryption Standard (TDES) HW cryptographic accelerator + +maintainers: + - Tudor Ambarus + +properties: + compatible: + oneOf: + - const: atmel,at91sam9g46-tdes + - items: + - const: microchip,sam9x7-tdes + - const: atmel,at91sam9g46-tdes + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + + clock-names: + const: tdes_clk + + dmas: + items: + - description: TX DMA Channel + - description: RX DMA Channel + + dma-names: + items: + - const: tx + - const: rx + +required: + - compatible + - reg + - interrupts + - clocks + - clock-names + +additionalProperties: false + +examples: + - | + #include + #include + #include + #include + + tdes: crypto@e2014000 { + compatible = "atmel,at91sam9g46-tdes"; + reg = <0xe2014000 0x100>; + interrupts = ; + clocks = <&pmc PMC_TYPE_PERIPHERAL 96>; + clock-names = "tdes_clk"; + dmas = <&dma0 AT91_XDMAC_DT_PERID(54)>, + <&dma0 AT91_XDMAC_DT_PERID(53)>; + dma-names = "tx", "rx"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/crypto/fsl-imx-sahara.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/crypto/fsl-imx-sahara.yaml index 622bfe0afb..41df80bcdc 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/crypto/fsl-imx-sahara.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/crypto/fsl-imx-sahara.yaml @@ -1,74 +1,74 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/crypto/fsl-imx-sahara.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Freescale SAHARA Cryptographic Accelerator - -maintainers: - - Steffen Trumtrar - -properties: - compatible: - enum: - - fsl,imx27-sahara - - fsl,imx53-sahara - - reg: - maxItems: 1 - - interrupts: - items: - - description: SAHARA Interrupt for Host 0 - - description: SAHARA Interrupt for Host 1 - minItems: 1 - - clocks: - items: - - description: Sahara IPG clock - - description: Sahara AHB clock - - clock-names: - items: - - const: ipg - - const: ahb - -required: - - compatible - - reg - - interrupts - - clocks - - clock-names - -allOf: - - if: - properties: - compatible: - contains: - enum: - - fsl,imx53-sahara - then: - properties: - interrupts: - minItems: 2 - maxItems: 2 - else: - properties: - interrupts: - maxItems: 1 - -additionalProperties: false - -examples: - - | - #include - - crypto@10025000 { - compatible = "fsl,imx27-sahara"; - reg = <0x10025000 0x800>; - interrupts = <75>; - clocks = <&clks IMX27_CLK_SAHARA_IPG_GATE>, - <&clks IMX27_CLK_SAHARA_AHB_GATE>; - clock-names = "ipg", "ahb"; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/crypto/fsl-imx-sahara.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Freescale SAHARA Cryptographic Accelerator + +maintainers: + - Steffen Trumtrar + +properties: + compatible: + enum: + - fsl,imx27-sahara + - fsl,imx53-sahara + + reg: + maxItems: 1 + + interrupts: + items: + - description: SAHARA Interrupt for Host 0 + - description: SAHARA Interrupt for Host 1 + minItems: 1 + + clocks: + items: + - description: Sahara IPG clock + - description: Sahara AHB clock + + clock-names: + items: + - const: ipg + - const: ahb + +required: + - compatible + - reg + - interrupts + - clocks + - clock-names + +allOf: + - if: + properties: + compatible: + contains: + enum: + - fsl,imx53-sahara + then: + properties: + interrupts: + minItems: 2 + maxItems: 2 + else: + properties: + interrupts: + maxItems: 1 + +additionalProperties: false + +examples: + - | + #include + + crypto@10025000 { + compatible = "fsl,imx27-sahara"; + reg = <0x10025000 0x800>; + interrupts = <75>; + clocks = <&clks IMX27_CLK_SAHARA_IPG_GATE>, + <&clks IMX27_CLK_SAHARA_AHB_GATE>; + clock-names = "ipg", "ahb"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/crypto/intel,ixp4xx-crypto.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/crypto/intel,ixp4xx-crypto.yaml index 3ef33f5535..a4006237aa 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/crypto/intel,ixp4xx-crypto.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/crypto/intel,ixp4xx-crypto.yaml @@ -1,56 +1,56 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -# Copyright 2018 Linaro Ltd. -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/crypto/intel,ixp4xx-crypto.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Intel IXP4xx cryptographic engine - -maintainers: - - Linus Walleij - -description: | - The Intel IXP4xx cryptographic engine makes use of the IXP4xx NPE - (Network Processing Engine). Since it is not a device on its own - it is defined as a subnode of the NPE, if crypto support is - available on the platform. - -properties: - compatible: - const: intel,ixp4xx-crypto - - intel,npe-handle: - $ref: /schemas/types.yaml#/definitions/phandle-array - items: - - items: - - description: phandle to the NPE this crypto engine - - description: the NPE instance number - description: phandle to the NPE this crypto engine is using, the cell - describing the NPE instance to be used. - - queue-rx: - $ref: /schemas/types.yaml#/definitions/phandle-array - items: - - items: - - description: phandle to the RX queue on the NPE - - description: the queue instance number - description: phandle to the RX queue on the NPE, the cell describing - the queue instance to be used. - - queue-txready: - $ref: /schemas/types.yaml#/definitions/phandle-array - items: - - items: - - description: phandle to the TX READY queue on the NPE - - description: the queue instance number - description: phandle to the TX READY queue on the NPE, the cell describing - the queue instance to be used. - -required: - - compatible - - intel,npe-handle - - queue-rx - - queue-txready - -additionalProperties: false +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +# Copyright 2018 Linaro Ltd. +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/crypto/intel,ixp4xx-crypto.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Intel IXP4xx cryptographic engine + +maintainers: + - Linus Walleij + +description: | + The Intel IXP4xx cryptographic engine makes use of the IXP4xx NPE + (Network Processing Engine). Since it is not a device on its own + it is defined as a subnode of the NPE, if crypto support is + available on the platform. + +properties: + compatible: + const: intel,ixp4xx-crypto + + intel,npe-handle: + $ref: /schemas/types.yaml#/definitions/phandle-array + items: + - items: + - description: phandle to the NPE this crypto engine + - description: the NPE instance number + description: phandle to the NPE this crypto engine is using, the cell + describing the NPE instance to be used. + + queue-rx: + $ref: /schemas/types.yaml#/definitions/phandle-array + items: + - items: + - description: phandle to the RX queue on the NPE + - description: the queue instance number + description: phandle to the RX queue on the NPE, the cell describing + the queue instance to be used. + + queue-txready: + $ref: /schemas/types.yaml#/definitions/phandle-array + items: + - items: + - description: phandle to the TX READY queue on the NPE + - description: the queue instance number + description: phandle to the TX READY queue on the NPE, the cell describing + the queue instance to be used. + +required: + - compatible + - intel,npe-handle + - queue-rx + - queue-txready + +additionalProperties: false diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/crypto/marvell-cesa.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/crypto/marvell-cesa.txt index 5929fb7f1f..28d3f2496b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/crypto/marvell-cesa.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/crypto/marvell-cesa.txt @@ -1,44 +1,44 @@ -Marvell Cryptographic Engines And Security Accelerator - -Required properties: -- compatible: should be one of the following string - "marvell,orion-crypto" - "marvell,kirkwood-crypto" - "marvell,dove-crypto" - "marvell,armada-370-crypto" - "marvell,armada-xp-crypto" - "marvell,armada-375-crypto" - "marvell,armada-38x-crypto" -- reg: base physical address of the engine and length of memory mapped - region. Can also contain an entry for the SRAM attached to the CESA, - but this representation is deprecated and marvell,crypto-srams should - be used instead -- reg-names: "regs". Can contain an "sram" entry, but this representation - is deprecated and marvell,crypto-srams should be used instead -- interrupts: interrupt number -- clocks: reference to the crypto engines clocks. This property is not - required for orion and kirkwood platforms -- clock-names: "cesaX" and "cesazX", X should be replaced by the crypto engine - id. - This property is not required for the orion and kirkwoord - platforms. - "cesazX" clocks are not required on armada-370 platforms -- marvell,crypto-srams: phandle to crypto SRAM definitions - -Optional properties: -- marvell,crypto-sram-size: SRAM size reserved for crypto operations, if not - specified the whole SRAM is used (2KB) - - -Examples: - - crypto@90000 { - compatible = "marvell,armada-xp-crypto"; - reg = <0x90000 0x10000>; - reg-names = "regs"; - interrupts = <48>, <49>; - clocks = <&gateclk 23>, <&gateclk 23>; - clock-names = "cesa0", "cesa1"; - marvell,crypto-srams = <&crypto_sram0>, <&crypto_sram1>; - marvell,crypto-sram-size = <0x600>; - }; +Marvell Cryptographic Engines And Security Accelerator + +Required properties: +- compatible: should be one of the following string + "marvell,orion-crypto" + "marvell,kirkwood-crypto" + "marvell,dove-crypto" + "marvell,armada-370-crypto" + "marvell,armada-xp-crypto" + "marvell,armada-375-crypto" + "marvell,armada-38x-crypto" +- reg: base physical address of the engine and length of memory mapped + region. Can also contain an entry for the SRAM attached to the CESA, + but this representation is deprecated and marvell,crypto-srams should + be used instead +- reg-names: "regs". Can contain an "sram" entry, but this representation + is deprecated and marvell,crypto-srams should be used instead +- interrupts: interrupt number +- clocks: reference to the crypto engines clocks. This property is not + required for orion and kirkwood platforms +- clock-names: "cesaX" and "cesazX", X should be replaced by the crypto engine + id. + This property is not required for the orion and kirkwoord + platforms. + "cesazX" clocks are not required on armada-370 platforms +- marvell,crypto-srams: phandle to crypto SRAM definitions + +Optional properties: +- marvell,crypto-sram-size: SRAM size reserved for crypto operations, if not + specified the whole SRAM is used (2KB) + + +Examples: + + crypto@90000 { + compatible = "marvell,armada-xp-crypto"; + reg = <0x90000 0x10000>; + reg-names = "regs"; + interrupts = <48>, <49>; + clocks = <&gateclk 23>, <&gateclk 23>; + clock-names = "cesa0", "cesa1"; + marvell,crypto-srams = <&crypto_sram0>, <&crypto_sram1>; + marvell,crypto-sram-size = <0x600>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/crypto/samsung-sss.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/crypto/samsung-sss.yaml index ed0906f067..6d62b0e42f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/crypto/samsung-sss.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/crypto/samsung-sss.yaml @@ -1,57 +1,57 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/crypto/samsung-sss.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Samsung Exynos SoC SSS (Security SubSystem) module - -maintainers: - - Krzysztof Kozlowski - -description: |+ - The SSS module in S5PV210 SoC supports the following: - -- Feeder (FeedCtrl) - -- Advanced Encryption Standard (AES) - -- Data Encryption Standard (DES)/3DES - -- Public Key Accelerator (PKA) - -- SHA-1/SHA-256/MD5/HMAC (SHA-1/SHA-256/MD5)/PRNG - -- PRNG: Pseudo Random Number Generator - - The SSS module in Exynos4 (Exynos4210) and Exynos5 (Exynos5420 and Exynos5250) - SoCs supports the following also: - -- ARCFOUR (ARC4) - -- True Random Number Generator (TRNG) - -- Secure Key Manager - -properties: - compatible: - items: - - enum: - - samsung,s5pv210-secss # for S5PV210 - - samsung,exynos4210-secss # for Exynos4210, Exynos4212, - # Exynos4412, Exynos5250, - # Exynos5260 and Exynos5420 - - reg: - maxItems: 1 - - clocks: - maxItems: 1 - - clock-names: - items: - - const: secss - - 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-sss.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Samsung Exynos SoC SSS (Security SubSystem) module + +maintainers: + - Krzysztof Kozlowski + +description: |+ + The SSS module in S5PV210 SoC supports the following: + -- Feeder (FeedCtrl) + -- Advanced Encryption Standard (AES) + -- Data Encryption Standard (DES)/3DES + -- Public Key Accelerator (PKA) + -- SHA-1/SHA-256/MD5/HMAC (SHA-1/SHA-256/MD5)/PRNG + -- PRNG: Pseudo Random Number Generator + + The SSS module in Exynos4 (Exynos4210) and Exynos5 (Exynos5420 and Exynos5250) + SoCs supports the following also: + -- ARCFOUR (ARC4) + -- True Random Number Generator (TRNG) + -- Secure Key Manager + +properties: + compatible: + items: + - enum: + - samsung,s5pv210-secss # for S5PV210 + - samsung,exynos4210-secss # for Exynos4210, Exynos4212, + # Exynos4412, Exynos5250, + # Exynos5260 and Exynos5420 + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + clock-names: + items: + - const: secss + + 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-cryp.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/crypto/st,stm32-cryp.yaml index e3335085ac..27354658d0 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/crypto/st,stm32-cryp.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/crypto/st,stm32-cryp.yaml @@ -1,74 +1,74 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/crypto/st,stm32-cryp.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: STMicroelectronics STM32 CRYP - -description: The STM32 CRYP block is built on the CRYP block found in - the STn8820 SoC introduced in 2007, and subsequently used in the U8500 - SoC in 2010. - -maintainers: - - Lionel Debieve - -properties: - compatible: - enum: - - st,stn8820-cryp - - stericsson,ux500-cryp - - st,stm32f756-cryp - - st,stm32mp1-cryp - - reg: - maxItems: 1 - - clocks: - maxItems: 1 - - interrupts: - maxItems: 1 - - resets: - maxItems: 1 - - dmas: - items: - - description: mem2cryp DMA channel - - description: cryp2mem DMA channel - - dma-names: - items: - - const: mem2cryp - - const: cryp2mem - - power-domains: - maxItems: 1 - - access-controllers: - minItems: 1 - maxItems: 2 - -required: - - compatible - - reg - - clocks - - interrupts - -additionalProperties: false - -examples: - - | - #include - #include - #include - cryp@54001000 { - compatible = "st,stm32mp1-cryp"; - reg = <0x54001000 0x400>; - interrupts = ; - clocks = <&rcc CRYP1>; - resets = <&rcc CRYP1_R>; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/crypto/st,stm32-cryp.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: STMicroelectronics STM32 CRYP + +description: The STM32 CRYP block is built on the CRYP block found in + the STn8820 SoC introduced in 2007, and subsequently used in the U8500 + SoC in 2010. + +maintainers: + - Lionel Debieve + +properties: + compatible: + enum: + - st,stn8820-cryp + - stericsson,ux500-cryp + - st,stm32f756-cryp + - st,stm32mp1-cryp + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + interrupts: + maxItems: 1 + + resets: + maxItems: 1 + + dmas: + items: + - description: mem2cryp DMA channel + - description: cryp2mem DMA channel + + dma-names: + items: + - const: mem2cryp + - const: cryp2mem + + power-domains: + maxItems: 1 + + access-controllers: + minItems: 1 + maxItems: 2 + +required: + - compatible + - reg + - clocks + - interrupts + +additionalProperties: false + +examples: + - | + #include + #include + #include + cryp@54001000 { + compatible = "st,stm32mp1-cryp"; + reg = <0x54001000 0x400>; + interrupts = ; + clocks = <&rcc CRYP1>; + resets = <&rcc CRYP1_R>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/crypto/st,stm32-hash.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/crypto/st,stm32-hash.yaml index 11472ff326..8223184140 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/crypto/st,stm32-hash.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/crypto/st,stm32-hash.yaml @@ -1,94 +1,94 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/crypto/st,stm32-hash.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: STMicroelectronics STM32 HASH - -description: The STM32 HASH block is built on the HASH block found in - the STn8820 SoC introduced in 2007, and subsequently used in the U8500 - SoC in 2010. - -maintainers: - - Lionel Debieve - -properties: - compatible: - enum: - - st,stn8820-hash - - stericsson,ux500-hash - - st,stm32f456-hash - - st,stm32f756-hash - - st,stm32mp13-hash - - reg: - maxItems: 1 - - clocks: - maxItems: 1 - - interrupts: - maxItems: 1 - - resets: - maxItems: 1 - - dmas: - maxItems: 1 - - dma-names: - items: - - const: in - - dma-maxburst: - description: Set number of maximum dma burst supported - $ref: /schemas/types.yaml#/definitions/uint32 - minimum: 0 - maximum: 2 - default: 0 - - power-domains: - maxItems: 1 - - access-controllers: - minItems: 1 - maxItems: 2 - -required: - - compatible - - reg - - clocks - -allOf: - - if: - properties: - compatible: - items: - const: stericsson,ux500-hash - then: - properties: - interrupts: false - else: - required: - - interrupts - -additionalProperties: false - -examples: - - | - #include - #include - #include - hash@54002000 { - compatible = "st,stm32f756-hash"; - reg = <0x54002000 0x400>; - interrupts = ; - clocks = <&rcc HASH1>; - resets = <&rcc HASH1_R>; - dmas = <&mdma1 31 0x10 0x1000A02 0x0 0x0>; - dma-names = "in"; - dma-maxburst = <2>; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/crypto/st,stm32-hash.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: STMicroelectronics STM32 HASH + +description: The STM32 HASH block is built on the HASH block found in + the STn8820 SoC introduced in 2007, and subsequently used in the U8500 + SoC in 2010. + +maintainers: + - Lionel Debieve + +properties: + compatible: + enum: + - st,stn8820-hash + - stericsson,ux500-hash + - st,stm32f456-hash + - st,stm32f756-hash + - st,stm32mp13-hash + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + interrupts: + maxItems: 1 + + resets: + maxItems: 1 + + dmas: + maxItems: 1 + + dma-names: + items: + - const: in + + dma-maxburst: + description: Set number of maximum dma burst supported + $ref: /schemas/types.yaml#/definitions/uint32 + minimum: 0 + maximum: 2 + default: 0 + + power-domains: + maxItems: 1 + + access-controllers: + minItems: 1 + maxItems: 2 + +required: + - compatible + - reg + - clocks + +allOf: + - if: + properties: + compatible: + items: + const: stericsson,ux500-hash + then: + properties: + interrupts: false + else: + required: + - interrupts + +additionalProperties: false + +examples: + - | + #include + #include + #include + hash@54002000 { + compatible = "st,stm32f756-hash"; + reg = <0x54002000 0x400>; + interrupts = ; + clocks = <&rcc HASH1>; + resets = <&rcc HASH1_R>; + dmas = <&mdma1 31 0x10 0x1000A02 0x0 0x0>; + dma-names = "in"; + dma-maxburst = <2>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/crypto/starfive,jh7110-crypto.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/crypto/starfive,jh7110-crypto.yaml index 2f9ff88780..7ccb6e1641 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/crypto/starfive,jh7110-crypto.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/crypto/starfive,jh7110-crypto.yaml @@ -1,96 +1,96 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/crypto/starfive,jh7110-crypto.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: StarFive Cryptographic Module - -maintainers: - - Jia Jie Ho - - William Qiu - -properties: - compatible: - enum: - - starfive,jh7110-crypto - - starfive,jh8100-crypto - - reg: - maxItems: 1 - - clocks: - items: - - description: Hardware reference clock - - description: AHB reference clock - - clock-names: - items: - - const: hclk - - const: ahb - - interrupts: - minItems: 1 - items: - - description: SHA2 module irq - - description: SM3 module irq - - resets: - maxItems: 1 - - dmas: - items: - - description: TX DMA channel - - description: RX DMA channel - - dma-names: - items: - - const: tx - - const: rx - -required: - - compatible - - reg - - clocks - - clock-names - - resets - - dmas - - dma-names - -additionalProperties: false - -allOf: - - if: - properties: - compatible: - const: starfive,jh7110-crypto - - then: - properties: - interrupts: - maxItems: 1 - - - if: - properties: - compatible: - const: starfive,jh8100-crypto - - then: - properties: - interrupts: - minItems: 2 - -examples: - - | - crypto: crypto@16000000 { - compatible = "starfive,jh7110-crypto"; - reg = <0x16000000 0x4000>; - clocks = <&clk 15>, <&clk 16>; - clock-names = "hclk", "ahb"; - interrupts = <28>; - resets = <&reset 3>; - dmas = <&dma 1 2>, - <&dma 0 2>; - dma-names = "tx", "rx"; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/crypto/starfive,jh7110-crypto.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: StarFive Cryptographic Module + +maintainers: + - Jia Jie Ho + - William Qiu + +properties: + compatible: + enum: + - starfive,jh7110-crypto + - starfive,jh8100-crypto + + reg: + maxItems: 1 + + clocks: + items: + - description: Hardware reference clock + - description: AHB reference clock + + clock-names: + items: + - const: hclk + - const: ahb + + interrupts: + minItems: 1 + items: + - description: SHA2 module irq + - description: SM3 module irq + + resets: + maxItems: 1 + + dmas: + items: + - description: TX DMA channel + - description: RX DMA channel + + dma-names: + items: + - const: tx + - const: rx + +required: + - compatible + - reg + - clocks + - clock-names + - resets + - dmas + - dma-names + +additionalProperties: false + +allOf: + - if: + properties: + compatible: + const: starfive,jh7110-crypto + + then: + properties: + interrupts: + maxItems: 1 + + - if: + properties: + compatible: + const: starfive,jh8100-crypto + + then: + properties: + interrupts: + minItems: 2 + +examples: + - | + crypto: crypto@16000000 { + compatible = "starfive,jh7110-crypto"; + reg = <0x16000000 0x4000>; + clocks = <&clk 15>, <&clk 16>; + clock-names = "hclk", "ahb"; + interrupts = <28>; + resets = <&reset 3>; + dmas = <&dma 1 2>, + <&dma 0 2>; + dma-names = "tx", "rx"; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/csky/cpus.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/csky/cpus.txt index 4b6a3ed83a..ae79412f26 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/csky/cpus.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/csky/cpus.txt @@ -1,73 +1,73 @@ -================== -C-SKY CPU Bindings -================== - -The device tree allows to describe the layout of CPUs in a system through -the "cpus" node, which in turn contains a number of subnodes (ie "cpu") -defining properties for every cpu. - -Only SMP system need to care about the cpus node and single processor -needn't define cpus node at all. - -===================================== -cpus and cpu node bindings definition -===================================== - -- cpus node - - Description: Container of cpu nodes - - The node name must be "cpus". - - A cpus node must define the following properties: - - - #address-cells - Usage: required - Value type: - Definition: must be set to 1 - - #size-cells - Usage: required - Value type: - Definition: must be set to 0 - -- cpu node - - Description: Describes one of SMP cores - - PROPERTIES - - - device_type - Usage: required - Value type: - Definition: must be "cpu" - - reg - Usage: required - Value type: - Definition: CPU index - - compatible: - Usage: required - Value type: - Definition: must contain "csky", eg: - "csky,610" - "csky,807" - "csky,810" - "csky,860" - -Example: --------- - - cpus { - #address-cells = <1>; - #size-cells = <0>; - cpu@0 { - device_type = "cpu"; - reg = <0>; - status = "ok"; - }; - - cpu@1 { - device_type = "cpu"; - reg = <1>; - status = "ok"; - }; - }; +================== +C-SKY CPU Bindings +================== + +The device tree allows to describe the layout of CPUs in a system through +the "cpus" node, which in turn contains a number of subnodes (ie "cpu") +defining properties for every cpu. + +Only SMP system need to care about the cpus node and single processor +needn't define cpus node at all. + +===================================== +cpus and cpu node bindings definition +===================================== + +- cpus node + + Description: Container of cpu nodes + + The node name must be "cpus". + + A cpus node must define the following properties: + + - #address-cells + Usage: required + Value type: + Definition: must be set to 1 + - #size-cells + Usage: required + Value type: + Definition: must be set to 0 + +- cpu node + + Description: Describes one of SMP cores + + PROPERTIES + + - device_type + Usage: required + Value type: + Definition: must be "cpu" + - reg + Usage: required + Value type: + Definition: CPU index + - compatible: + Usage: required + Value type: + Definition: must contain "csky", eg: + "csky,610" + "csky,807" + "csky,810" + "csky,860" + +Example: +-------- + + cpus { + #address-cells = <1>; + #size-cells = <0>; + cpu@0 { + device_type = "cpu"; + reg = <0>; + status = "ok"; + }; + + cpu@1 { + device_type = "cpu"; + reg = <1>; + status = "ok"; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/devfreq/event/rockchip,dfi.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/devfreq/event/rockchip,dfi.yaml index faeb810a05..50d3fabe95 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/devfreq/event/rockchip,dfi.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/devfreq/event/rockchip,dfi.yaml @@ -1,74 +1,74 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/devfreq/event/rockchip,dfi.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Rockchip DFI - -maintainers: - - Sascha Hauer - -properties: - compatible: - enum: - - rockchip,rk3399-dfi - - rockchip,rk3568-dfi - - rockchip,rk3588-dfi - - clocks: - maxItems: 1 - - clock-names: - items: - - const: pclk_ddr_mon - - interrupts: - minItems: 1 - maxItems: 4 - - reg: - maxItems: 1 - - rockchip,pmu: - $ref: /schemas/types.yaml#/definitions/phandle - description: - Phandle to the syscon managing the "PMU general register files". - -required: - - compatible - - interrupts - - reg - -if: - properties: - compatible: - contains: - enum: - - rockchip,rk3399-dfi - -then: - required: - - clocks - - clock-names - -additionalProperties: false - -examples: - - | - #include - #include - - bus { - #address-cells = <2>; - #size-cells = <2>; - - dfi: dfi@ff630000 { - compatible = "rockchip,rk3399-dfi"; - reg = <0x00 0xff630000 0x00 0x4000>; - interrupts = ; - rockchip,pmu = <&pmugrf>; - clocks = <&cru PCLK_DDR_MON>; - clock-names = "pclk_ddr_mon"; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/devfreq/event/rockchip,dfi.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Rockchip DFI + +maintainers: + - Sascha Hauer + +properties: + compatible: + enum: + - rockchip,rk3399-dfi + - rockchip,rk3568-dfi + - rockchip,rk3588-dfi + + clocks: + maxItems: 1 + + clock-names: + items: + - const: pclk_ddr_mon + + interrupts: + minItems: 1 + maxItems: 4 + + reg: + maxItems: 1 + + rockchip,pmu: + $ref: /schemas/types.yaml#/definitions/phandle + description: + Phandle to the syscon managing the "PMU general register files". + +required: + - compatible + - interrupts + - reg + +if: + properties: + compatible: + contains: + enum: + - rockchip,rk3399-dfi + +then: + required: + - clocks + - clock-names + +additionalProperties: false + +examples: + - | + #include + #include + + bus { + #address-cells = <2>; + #size-cells = <2>; + + dfi: dfi@ff630000 { + compatible = "rockchip,rk3399-dfi"; + reg = <0x00 0xff630000 0x00 0x4000>; + interrupts = ; + rockchip,pmu = <&pmugrf>; + clocks = <&cru PCLK_DDR_MON>; + clock-names = "pclk_ddr_mon"; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/atmel,lcdc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/atmel,lcdc.yaml index f3ef1443d2..1b6f7e3950 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/atmel,lcdc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/atmel,lcdc.yaml @@ -1,70 +1,70 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/atmel,lcdc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Microchip's LCDC Framebuffer - -maintainers: - - Nicolas Ferre - - Dharma Balasubiramani - -description: - The LCDC works with a framebuffer, which is a section of memory that contains - a complete frame of data representing pixel values for the display. The LCDC - reads the pixel data from the framebuffer and sends it to the LCD panel to - render the image. - -properties: - compatible: - enum: - - atmel,at91sam9261-lcdc - - atmel,at91sam9263-lcdc - - atmel,at91sam9g10-lcdc - - atmel,at91sam9g45-lcdc - - atmel,at91sam9g45es-lcdc - - atmel,at91sam9rl-lcdc - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - maxItems: 2 - - clock-names: - items: - - const: hclk - - const: lcdc_clk - - display: - $ref: /schemas/types.yaml#/definitions/phandle - description: A phandle pointing to the display node. - -required: - - compatible - - reg - - interrupts - - clocks - - clock-names - - display - -additionalProperties: false - -examples: - - | - #include - #include - fb@500000 { - compatible = "atmel,at91sam9g45-lcdc"; - reg = <0x00500000 0x1000>; - interrupts = <23 IRQ_TYPE_LEVEL_HIGH 0>; - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_fb>; - clocks = <&pmc PMC_TYPE_PERIPHERAL 23>, <&pmc PMC_TYPE_PERIPHERAL 23>; - clock-names = "hclk", "lcdc_clk"; - display = <&display>; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/atmel,lcdc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Microchip's LCDC Framebuffer + +maintainers: + - Nicolas Ferre + - Dharma Balasubiramani + +description: + The LCDC works with a framebuffer, which is a section of memory that contains + a complete frame of data representing pixel values for the display. The LCDC + reads the pixel data from the framebuffer and sends it to the LCD panel to + render the image. + +properties: + compatible: + enum: + - atmel,at91sam9261-lcdc + - atmel,at91sam9263-lcdc + - atmel,at91sam9g10-lcdc + - atmel,at91sam9g45-lcdc + - atmel,at91sam9g45es-lcdc + - atmel,at91sam9rl-lcdc + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 2 + + clock-names: + items: + - const: hclk + - const: lcdc_clk + + display: + $ref: /schemas/types.yaml#/definitions/phandle + description: A phandle pointing to the display node. + +required: + - compatible + - reg + - interrupts + - clocks + - clock-names + - display + +additionalProperties: false + +examples: + - | + #include + #include + fb@500000 { + compatible = "atmel,at91sam9g45-lcdc"; + reg = <0x00500000 0x1000>; + interrupts = <23 IRQ_TYPE_LEVEL_HIGH 0>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_fb>; + clocks = <&pmc PMC_TYPE_PERIPHERAL 23>, <&pmc PMC_TYPE_PERIPHERAL 23>; + clock-names = "hclk", "lcdc_clk"; + display = <&display>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/atmel/atmel,hlcdc-display-controller.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/atmel/atmel,hlcdc-display-controller.yaml index fb55d6372b..29ed42485d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/atmel/atmel,hlcdc-display-controller.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/atmel/atmel,hlcdc-display-controller.yaml @@ -1,63 +1,63 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/atmel/atmel,hlcdc-display-controller.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Atmel's High LCD Controller (HLCDC) - -maintainers: - - Nicolas Ferre - - Alexandre Belloni - - Claudiu Beznea - -description: - The LCD Controller (LCDC) consists of logic for transferring LCD image - data from an external display buffer to a TFT LCD panel. The LCDC has one - display input buffer per layer that fetches pixels through the single bus - host interface and a look-up table to allow palletized display - configurations. - -properties: - compatible: - const: atmel,hlcdc-display-controller - - '#address-cells': - const: 1 - - '#size-cells': - const: 0 - - port@0: - $ref: /schemas/graph.yaml#/$defs/port-base - unevaluatedProperties: false - description: - Output endpoint of the controller, connecting the LCD panel signals. - - properties: - '#address-cells': - const: 1 - - '#size-cells': - const: 0 - - reg: - maxItems: 1 - - endpoint: - $ref: /schemas/media/video-interfaces.yaml# - unevaluatedProperties: false - description: - Endpoint connecting the LCD panel signals. - - properties: - bus-width: - enum: [ 12, 16, 18, 24 ] - -required: - - '#address-cells' - - '#size-cells' - - compatible - - port@0 - -additionalProperties: false +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/atmel/atmel,hlcdc-display-controller.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Atmel's High LCD Controller (HLCDC) + +maintainers: + - Nicolas Ferre + - Alexandre Belloni + - Claudiu Beznea + +description: + The LCD Controller (LCDC) consists of logic for transferring LCD image + data from an external display buffer to a TFT LCD panel. The LCDC has one + display input buffer per layer that fetches pixels through the single bus + host interface and a look-up table to allow palletized display + configurations. + +properties: + compatible: + const: atmel,hlcdc-display-controller + + '#address-cells': + const: 1 + + '#size-cells': + const: 0 + + port@0: + $ref: /schemas/graph.yaml#/$defs/port-base + unevaluatedProperties: false + description: + Output endpoint of the controller, connecting the LCD panel signals. + + properties: + '#address-cells': + const: 1 + + '#size-cells': + const: 0 + + reg: + maxItems: 1 + + endpoint: + $ref: /schemas/media/video-interfaces.yaml# + unevaluatedProperties: false + description: + Endpoint connecting the LCD panel signals. + + properties: + bus-width: + enum: [ 12, 16, 18, 24 ] + +required: + - '#address-cells' + - '#size-cells' + - compatible + - port@0 + +additionalProperties: false diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/brcm,bcm2835-dsi0.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/brcm,bcm2835-dsi0.yaml index 817058d9b0..c8b2459d64 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/brcm,bcm2835-dsi0.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/brcm,bcm2835-dsi0.yaml @@ -1,85 +1,85 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/brcm,bcm2835-dsi0.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Broadcom VC4 (VideoCore4) DSI Controller - -maintainers: - - Eric Anholt - -allOf: - - $ref: dsi-controller.yaml# - -properties: - "#clock-cells": - const: 1 - - compatible: - enum: - - brcm,bcm2711-dsi1 - - brcm,bcm2835-dsi0 - - brcm,bcm2835-dsi1 - - reg: - maxItems: 1 - - clocks: - items: - - description: The DSI PLL clock feeding the DSI analog PHY - - description: The DSI ESC clock - - description: The DSI pixel clock - - clock-names: - items: - - const: phy - - const: escape - - const: pixel - - clock-output-names: true - # FIXME: The meta-schemas don't seem to allow it for now - # items: - # - description: The DSI byte clock for the PHY - # - description: The DSI DDR2 clock - # - description: The DSI DDR clock - - interrupts: - maxItems: 1 - - power-domains: - maxItems: 1 - -required: - - "#clock-cells" - - compatible - - reg - - clocks - - clock-names - - clock-output-names - - interrupts - -unevaluatedProperties: false - -examples: - - | - #include - - dsi1: dsi@7e700000 { - compatible = "brcm,bcm2835-dsi1"; - reg = <0x7e700000 0x8c>; - interrupts = <2 12>; - #address-cells = <1>; - #size-cells = <0>; - #clock-cells = <1>; - - clocks = <&clocks BCM2835_PLLD_DSI1>, - <&clocks BCM2835_CLOCK_DSI1E>, - <&clocks BCM2835_CLOCK_DSI1P>; - clock-names = "phy", "escape", "pixel"; - - clock-output-names = "dsi1_byte", "dsi1_ddr2", "dsi1_ddr"; - - }; - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/brcm,bcm2835-dsi0.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom VC4 (VideoCore4) DSI Controller + +maintainers: + - Eric Anholt + +allOf: + - $ref: dsi-controller.yaml# + +properties: + "#clock-cells": + const: 1 + + compatible: + enum: + - brcm,bcm2711-dsi1 + - brcm,bcm2835-dsi0 + - brcm,bcm2835-dsi1 + + reg: + maxItems: 1 + + clocks: + items: + - description: The DSI PLL clock feeding the DSI analog PHY + - description: The DSI ESC clock + - description: The DSI pixel clock + + clock-names: + items: + - const: phy + - const: escape + - const: pixel + + clock-output-names: true + # FIXME: The meta-schemas don't seem to allow it for now + # items: + # - description: The DSI byte clock for the PHY + # - description: The DSI DDR2 clock + # - description: The DSI DDR clock + + interrupts: + maxItems: 1 + + power-domains: + maxItems: 1 + +required: + - "#clock-cells" + - compatible + - reg + - clocks + - clock-names + - clock-output-names + - interrupts + +unevaluatedProperties: false + +examples: + - | + #include + + dsi1: dsi@7e700000 { + compatible = "brcm,bcm2835-dsi1"; + reg = <0x7e700000 0x8c>; + interrupts = <2 12>; + #address-cells = <1>; + #size-cells = <0>; + #clock-cells = <1>; + + clocks = <&clocks BCM2835_PLLD_DSI1>, + <&clocks BCM2835_CLOCK_DSI1E>, + <&clocks BCM2835_CLOCK_DSI1P>; + clock-names = "phy", "escape", "pixel"; + + clock-output-names = "dsi1_byte", "dsi1_ddr2", "dsi1_ddr"; + + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/brcm,bcm2835-hdmi.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/brcm,bcm2835-hdmi.yaml index 46bf579020..48c8cad0d9 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/brcm,bcm2835-hdmi.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/brcm,bcm2835-hdmi.yaml @@ -1,83 +1,83 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/brcm,bcm2835-hdmi.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Broadcom VC4 (VideoCore4) HDMI Controller - -maintainers: - - Eric Anholt - -properties: - compatible: - const: brcm,bcm2835-hdmi - - reg: - items: - - description: HDMI register range - - description: HD register range - - interrupts: - minItems: 2 - - clocks: - items: - - description: The pixel clock - - description: The HDMI state machine clock - - clock-names: - items: - - const: pixel - - const: hdmi - - ddc: - $ref: /schemas/types.yaml#/definitions/phandle - description: > - Phandle of the I2C controller used for DDC EDID probing - - hpd-gpios: - maxItems: 1 - description: > - The GPIO pin for the HDMI hotplug detect (if it doesn't appear - as an interrupt/status bit in the HDMI controller itself) - - dmas: - maxItems: 1 - description: > - Should contain one entry pointing to the DMA channel used to - transfer audio data. - - dma-names: - const: audio-rx - - power-domains: - maxItems: 1 - -required: - - compatible - - reg - - interrupts - - clocks - - ddc - -additionalProperties: false - -examples: - - | - #include - #include - - hdmi: hdmi@7e902000 { - compatible = "brcm,bcm2835-hdmi"; - reg = <0x7e902000 0x600>, - <0x7e808000 0x100>; - interrupts = <2 8>, <2 9>; - ddc = <&i2c2>; - hpd-gpios = <&gpio 46 GPIO_ACTIVE_HIGH>; - clocks = <&clocks BCM2835_PLLH_PIX>, - <&clocks BCM2835_CLOCK_HSM>; - clock-names = "pixel", "hdmi"; - }; - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/brcm,bcm2835-hdmi.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom VC4 (VideoCore4) HDMI Controller + +maintainers: + - Eric Anholt + +properties: + compatible: + const: brcm,bcm2835-hdmi + + reg: + items: + - description: HDMI register range + - description: HD register range + + interrupts: + minItems: 2 + + clocks: + items: + - description: The pixel clock + - description: The HDMI state machine clock + + clock-names: + items: + - const: pixel + - const: hdmi + + ddc: + $ref: /schemas/types.yaml#/definitions/phandle + description: > + Phandle of the I2C controller used for DDC EDID probing + + hpd-gpios: + maxItems: 1 + description: > + The GPIO pin for the HDMI hotplug detect (if it doesn't appear + as an interrupt/status bit in the HDMI controller itself) + + dmas: + maxItems: 1 + description: > + Should contain one entry pointing to the DMA channel used to + transfer audio data. + + dma-names: + const: audio-rx + + power-domains: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + - clocks + - ddc + +additionalProperties: false + +examples: + - | + #include + #include + + hdmi: hdmi@7e902000 { + compatible = "brcm,bcm2835-hdmi"; + reg = <0x7e902000 0x600>, + <0x7e808000 0x100>; + interrupts = <2 8>, <2 9>; + ddc = <&i2c2>; + hpd-gpios = <&gpio 46 GPIO_ACTIVE_HIGH>; + clocks = <&clocks BCM2835_PLLH_PIX>, + <&clocks BCM2835_CLOCK_HSM>; + clock-names = "pixel", "hdmi"; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/bridge/chrontel,ch7033.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/bridge/chrontel,ch7033.yaml index 1735aeb75b..b0589fa167 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/bridge/chrontel,ch7033.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/bridge/chrontel,ch7033.yaml @@ -1,77 +1,77 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -# Copyright (C) 2019,2020 Lubomir Rintel -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/bridge/chrontel,ch7033.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Chrontel CH7033 Video Encoder - -maintainers: - - Lubomir Rintel - -properties: - compatible: - const: chrontel,ch7033 - - reg: - maxItems: 1 - description: I2C address of the device - - ports: - $ref: /schemas/graph.yaml#/properties/ports - - properties: - port@0: - $ref: /schemas/graph.yaml#/properties/port - description: | - Video port for RGB input. - - port@1: - $ref: /schemas/graph.yaml#/properties/port - description: | - DVI port, should be connected to a node compatible with the - dvi-connector binding. - - required: - - port@0 - - port@1 - -required: - - compatible - - reg - - ports - -additionalProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - vga-dvi-encoder@76 { - compatible = "chrontel,ch7033"; - reg = <0x76>; - - ports { - #address-cells = <1>; - #size-cells = <0>; - - port@0 { - reg = <0>; - endpoint { - remote-endpoint = <&lcd0_rgb_out>; - }; - }; - - port@1 { - reg = <1>; - endpoint { - remote-endpoint = <&dvi_in>; - }; - }; - - }; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +# Copyright (C) 2019,2020 Lubomir Rintel +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/bridge/chrontel,ch7033.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Chrontel CH7033 Video Encoder + +maintainers: + - Lubomir Rintel + +properties: + compatible: + const: chrontel,ch7033 + + reg: + maxItems: 1 + description: I2C address of the device + + ports: + $ref: /schemas/graph.yaml#/properties/ports + + properties: + port@0: + $ref: /schemas/graph.yaml#/properties/port + description: | + Video port for RGB input. + + port@1: + $ref: /schemas/graph.yaml#/properties/port + description: | + DVI port, should be connected to a node compatible with the + dvi-connector binding. + + required: + - port@0 + - port@1 + +required: + - compatible + - reg + - ports + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + vga-dvi-encoder@76 { + compatible = "chrontel,ch7033"; + reg = <0x76>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + endpoint { + remote-endpoint = <&lcd0_rgb_out>; + }; + }; + + port@1 { + reg = <1>; + endpoint { + remote-endpoint = <&dvi_in>; + }; + }; + + }; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/bridge/snps,dw-mipi-dsi.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/bridge/snps,dw-mipi-dsi.yaml index 55f33b2022..8747b95ec2 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/bridge/snps,dw-mipi-dsi.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/bridge/snps,dw-mipi-dsi.yaml @@ -1,61 +1,61 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/bridge/snps,dw-mipi-dsi.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Synopsys DesignWare MIPI DSI host controller - -maintainers: - - Philippe CORNU - -description: | - This document defines device tree properties for the Synopsys DesignWare MIPI - DSI host controller. It doesn't constitute a device tree binding specification - by itself but is meant to be referenced by platform-specific device tree - bindings. - - When referenced from platform device tree bindings the properties defined in - this document are defined as follows. The platform device tree bindings are - responsible for defining whether each property is required or optional. - -allOf: - - $ref: ../dsi-controller.yaml# - -properties: - reg: - maxItems: 1 - - clocks: true - - clock-names: true - - resets: - maxItems: 1 - - reset-names: - const: apb - - ports: - $ref: /schemas/graph.yaml#/properties/ports - - properties: - port@0: - $ref: /schemas/graph.yaml#/properties/port - description: Input node to receive pixel data. - - port@1: - $ref: /schemas/graph.yaml#/properties/port - description: DSI output node to panel. - - required: - - port@0 - - port@1 - -required: - - clock-names - - clocks - - ports - - reg - -additionalProperties: true +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/bridge/snps,dw-mipi-dsi.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Synopsys DesignWare MIPI DSI host controller + +maintainers: + - Philippe CORNU + +description: | + This document defines device tree properties for the Synopsys DesignWare MIPI + DSI host controller. It doesn't constitute a device tree binding specification + by itself but is meant to be referenced by platform-specific device tree + bindings. + + When referenced from platform device tree bindings the properties defined in + this document are defined as follows. The platform device tree bindings are + responsible for defining whether each property is required or optional. + +allOf: + - $ref: ../dsi-controller.yaml# + +properties: + reg: + maxItems: 1 + + clocks: true + + clock-names: true + + resets: + maxItems: 1 + + reset-names: + const: apb + + ports: + $ref: /schemas/graph.yaml#/properties/ports + + properties: + port@0: + $ref: /schemas/graph.yaml#/properties/port + description: Input node to receive pixel data. + + port@1: + $ref: /schemas/graph.yaml#/properties/port + description: DSI output node to panel. + + required: + - port@0 + - port@1 + +required: + - clock-names + - clocks + - ports + - reg + +additionalProperties: true diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/bridge/toshiba,tc358762.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/bridge/toshiba,tc358762.yaml index a20ca2b5fd..6c1de0b217 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/bridge/toshiba,tc358762.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/bridge/toshiba,tc358762.yaml @@ -1,87 +1,87 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/bridge/toshiba,tc358762.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Toshiba TC358762 MIPI DSI to MIPI DPI bridge - -maintainers: - - Marek Vasut - -description: | - The TC358762 is bridge device which converts MIPI DSI to MIPI DPI. - -properties: - compatible: - enum: - - toshiba,tc358762 - - reg: - maxItems: 1 - description: virtual channel number of a DSI peripheral - - reset-gpios: - maxItems: 1 - - vddc-supply: - description: Regulator for 1.2V internal core power. - - ports: - $ref: /schemas/graph.yaml#/properties/ports - - properties: - port@0: - $ref: /schemas/graph.yaml#/properties/port - description: - Video port for MIPI DSI input - - port@1: - $ref: /schemas/graph.yaml#/properties/port - description: - Video port for MIPI DPI output (panel or connector). - - required: - - port@1 - -required: - - compatible - - reg - - vddc-supply - - ports - -additionalProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - bridge@0 { - reg = <0>; - compatible = "toshiba,tc358762"; - vddc-supply = <&vcc_1v2_reg>; - - ports { - #address-cells = <1>; - #size-cells = <0>; - - port@0 { - reg = <0>; - bridge_in: endpoint { - remote-endpoint = <&dsi_out>; - }; - }; - - port@1 { - reg = <1>; - bridge_out: endpoint { - remote-endpoint = <&panel_in>; - }; - }; - }; - }; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/bridge/toshiba,tc358762.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Toshiba TC358762 MIPI DSI to MIPI DPI bridge + +maintainers: + - Marek Vasut + +description: | + The TC358762 is bridge device which converts MIPI DSI to MIPI DPI. + +properties: + compatible: + enum: + - toshiba,tc358762 + + reg: + maxItems: 1 + description: virtual channel number of a DSI peripheral + + reset-gpios: + maxItems: 1 + + vddc-supply: + description: Regulator for 1.2V internal core power. + + ports: + $ref: /schemas/graph.yaml#/properties/ports + + properties: + port@0: + $ref: /schemas/graph.yaml#/properties/port + description: + Video port for MIPI DSI input + + port@1: + $ref: /schemas/graph.yaml#/properties/port + description: + Video port for MIPI DPI output (panel or connector). + + required: + - port@1 + +required: + - compatible + - reg + - vddc-supply + - ports + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + bridge@0 { + reg = <0>; + compatible = "toshiba,tc358762"; + vddc-supply = <&vcc_1v2_reg>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + bridge_in: endpoint { + remote-endpoint = <&dsi_out>; + }; + }; + + port@1 { + reg = <1>; + bridge_out: endpoint { + remote-endpoint = <&panel_in>; + }; + }; + }; + }; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/cirrus,clps711x-fb.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/cirrus,clps711x-fb.txt index 4cfcb74e08..84c75f8498 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/cirrus,clps711x-fb.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/cirrus,clps711x-fb.txt @@ -1,47 +1,47 @@ -* Cirrus Logic CLPS711X Framebuffer - -Required properties: -- compatible: Shall contain "cirrus,ep7209-fb". -- reg : Physical base address and length of the controller's registers + - location and size of the framebuffer memory. -- clocks : phandle + clock specifier pair of the FB reference clock. -- display : phandle to a display node as described in - Documentation/devicetree/bindings/display/panel/display-timing.txt. - Additionally, the display node has to define properties: - - bits-per-pixel: Bits per pixel. - - ac-prescale : LCD AC bias frequency. This frequency is the required - AC bias frequency for a given manufacturer's LCD plate. - - cmap-invert : Invert the color levels (Optional). - -Optional properties: -- lcd-supply: Regulator for LCD supply voltage. - -Example: - fb: fb@800002c0 { - compatible = "cirrus,ep7312-fb", "cirrus,ep7209-fb"; - reg = <0x800002c0 0xd44>, <0x60000000 0xc000>; - clocks = <&clks 2>; - lcd-supply = <®5v0>; - display = <&display>; - }; - - display: display { - model = "320x240x4"; - bits-per-pixel = <4>; - ac-prescale = <17>; - - display-timings { - native-mode = <&timing0>; - timing0: 320x240 { - hactive = <320>; - hback-porch = <0>; - hfront-porch = <0>; - hsync-len = <0>; - vactive = <240>; - vback-porch = <0>; - vfront-porch = <0>; - vsync-len = <0>; - clock-frequency = <6500000>; - }; - }; - }; +* Cirrus Logic CLPS711X Framebuffer + +Required properties: +- compatible: Shall contain "cirrus,ep7209-fb". +- reg : Physical base address and length of the controller's registers + + location and size of the framebuffer memory. +- clocks : phandle + clock specifier pair of the FB reference clock. +- display : phandle to a display node as described in + Documentation/devicetree/bindings/display/panel/display-timing.txt. + Additionally, the display node has to define properties: + - bits-per-pixel: Bits per pixel. + - ac-prescale : LCD AC bias frequency. This frequency is the required + AC bias frequency for a given manufacturer's LCD plate. + - cmap-invert : Invert the color levels (Optional). + +Optional properties: +- lcd-supply: Regulator for LCD supply voltage. + +Example: + fb: fb@800002c0 { + compatible = "cirrus,ep7312-fb", "cirrus,ep7209-fb"; + reg = <0x800002c0 0xd44>, <0x60000000 0xc000>; + clocks = <&clks 2>; + lcd-supply = <®5v0>; + display = <&display>; + }; + + display: display { + model = "320x240x4"; + bits-per-pixel = <4>; + ac-prescale = <17>; + + display-timings { + native-mode = <&timing0>; + timing0: 320x240 { + hactive = <320>; + hback-porch = <0>; + hfront-porch = <0>; + hsync-len = <0>; + vactive = <240>; + vback-porch = <0>; + vfront-porch = <0>; + vsync-len = <0>; + clock-frequency = <6500000>; + }; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/connector/dvi-connector.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/connector/dvi-connector.yaml index f0e794f14f..93eb14294e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/connector/dvi-connector.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/connector/dvi-connector.yaml @@ -1,71 +1,71 @@ -# SPDX-License-Identifier: GPL-2.0-only -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/connector/dvi-connector.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: DVI Connector - -maintainers: - - Laurent Pinchart - -properties: - compatible: - const: dvi-connector - - label: true - - hpd-gpios: - description: A GPIO line connected to HPD - maxItems: 1 - - ddc-i2c-bus: - description: phandle link to the I2C controller used for DDC EDID probing - $ref: /schemas/types.yaml#/definitions/phandle - - analog: - type: boolean - description: the connector has DVI analog pins - - digital: - type: boolean - description: the connector has DVI digital pins - - dual-link: - type: boolean - description: the connector has pins for DVI dual-link - - port: - $ref: /schemas/graph.yaml#/properties/port - description: Connection to controller providing DVI signals - -required: - - compatible - - port - -anyOf: - - required: - - analog - - required: - - digital - -additionalProperties: false - -examples: - - | - connector { - compatible = "dvi-connector"; - label = "dvi"; - - digital; - - ddc-i2c-bus = <&i2c3>; - - port { - dvi_connector_in: endpoint { - remote-endpoint = <&tfp410_out>; - }; - }; - }; - -... +# SPDX-License-Identifier: GPL-2.0-only +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/connector/dvi-connector.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: DVI Connector + +maintainers: + - Laurent Pinchart + +properties: + compatible: + const: dvi-connector + + label: true + + hpd-gpios: + description: A GPIO line connected to HPD + maxItems: 1 + + ddc-i2c-bus: + description: phandle link to the I2C controller used for DDC EDID probing + $ref: /schemas/types.yaml#/definitions/phandle + + analog: + type: boolean + description: the connector has DVI analog pins + + digital: + type: boolean + description: the connector has DVI digital pins + + dual-link: + type: boolean + description: the connector has pins for DVI dual-link + + port: + $ref: /schemas/graph.yaml#/properties/port + description: Connection to controller providing DVI signals + +required: + - compatible + - port + +anyOf: + - required: + - analog + - required: + - digital + +additionalProperties: false + +examples: + - | + connector { + compatible = "dvi-connector"; + label = "dvi"; + + digital; + + ddc-i2c-bus = <&i2c3>; + + port { + dvi_connector_in: endpoint { + remote-endpoint = <&tfp410_out>; + }; + }; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/connector/hdmi-connector.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/connector/hdmi-connector.yaml index f5bda19848..3ee8f92259 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/connector/hdmi-connector.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/connector/hdmi-connector.yaml @@ -1,68 +1,68 @@ -# SPDX-License-Identifier: GPL-2.0-only -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/connector/hdmi-connector.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: HDMI Connector - -maintainers: - - Laurent Pinchart - -properties: - compatible: - const: hdmi-connector - - type: - description: The HDMI connector type - enum: - - a # Standard full size - - b # Never deployed? - - c # Mini - - d # Micro - - e # automotive - - label: true - - hpd-gpios: - description: A GPIO line connected to HPD - maxItems: 1 - - ddc-i2c-bus: - description: phandle link to the I2C controller used for DDC EDID probing - $ref: /schemas/types.yaml#/definitions/phandle - - ddc-en-gpios: - description: GPIO signal to enable DDC bus - maxItems: 1 - - hdmi-pwr-supply: - description: Power supply for the HDMI +5V Power pin - - port: - $ref: /schemas/graph.yaml#/properties/port - description: Connection to controller providing HDMI signals - -required: - - compatible - - port - - type - -additionalProperties: false - -examples: - - | - connector { - compatible = "hdmi-connector"; - label = "hdmi"; - - type = "a"; - - port { - hdmi_connector_in: endpoint { - remote-endpoint = <&tpd12s015_out>; - }; - }; - }; - -... +# SPDX-License-Identifier: GPL-2.0-only +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/connector/hdmi-connector.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: HDMI Connector + +maintainers: + - Laurent Pinchart + +properties: + compatible: + const: hdmi-connector + + type: + description: The HDMI connector type + enum: + - a # Standard full size + - b # Never deployed? + - c # Mini + - d # Micro + - e # automotive + + label: true + + hpd-gpios: + description: A GPIO line connected to HPD + maxItems: 1 + + ddc-i2c-bus: + description: phandle link to the I2C controller used for DDC EDID probing + $ref: /schemas/types.yaml#/definitions/phandle + + ddc-en-gpios: + description: GPIO signal to enable DDC bus + maxItems: 1 + + hdmi-pwr-supply: + description: Power supply for the HDMI +5V Power pin + + port: + $ref: /schemas/graph.yaml#/properties/port + description: Connection to controller providing HDMI signals + +required: + - compatible + - port + - type + +additionalProperties: false + +examples: + - | + connector { + compatible = "hdmi-connector"; + label = "hdmi"; + + type = "a"; + + port { + hdmi_connector_in: endpoint { + remote-endpoint = <&tpd12s015_out>; + }; + }; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/faraday,tve200.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/faraday,tve200.yaml index 1b412f1c16..e2ee777673 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/faraday,tve200.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/faraday,tve200.yaml @@ -1,68 +1,68 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/faraday,tve200.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Faraday TV Encoder TVE200 - -maintainers: - - Linus Walleij - -properties: - compatible: - oneOf: - - const: faraday,tve200 - - items: - - const: cortina,gemini-tvc - - const: faraday,tve200 - - reg: - maxItems: 1 - - interrupts: - minItems: 1 - - clock-names: - items: - - const: PCLK - - const: TVE - - clocks: - minItems: 2 - - resets: - minItems: 1 - - port: - $ref: /schemas/graph.yaml#/properties/port - -required: - - compatible - - reg - - interrupts - - clock-names - - clocks - -additionalProperties: false - -examples: - - | - #include - #include - #include - display-controller@6a000000 { - compatible = "faraday,tve200"; - reg = <0x6a000000 0x1000>; - interrupts = <13 IRQ_TYPE_EDGE_RISING>; - resets = <&syscon GEMINI_RESET_TVC>; - clocks = <&syscon GEMINI_CLK_GATE_TVC>, - <&syscon GEMINI_CLK_TVC>; - clock-names = "PCLK", "TVE"; - - port { - display_out: endpoint { - remote-endpoint = <&panel_in>; - }; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/faraday,tve200.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Faraday TV Encoder TVE200 + +maintainers: + - Linus Walleij + +properties: + compatible: + oneOf: + - const: faraday,tve200 + - items: + - const: cortina,gemini-tvc + - const: faraday,tve200 + + reg: + maxItems: 1 + + interrupts: + minItems: 1 + + clock-names: + items: + - const: PCLK + - const: TVE + + clocks: + minItems: 2 + + resets: + minItems: 1 + + port: + $ref: /schemas/graph.yaml#/properties/port + +required: + - compatible + - reg + - interrupts + - clock-names + - clocks + +additionalProperties: false + +examples: + - | + #include + #include + #include + display-controller@6a000000 { + compatible = "faraday,tve200"; + reg = <0x6a000000 0x1000>; + interrupts = <13 IRQ_TYPE_EDGE_RISING>; + resets = <&syscon GEMINI_RESET_TVC>; + clocks = <&syscon GEMINI_CLK_GATE_TVC>, + <&syscon GEMINI_CLK_TVC>; + clock-names = "PCLK", "TVE"; + + port { + display_out: endpoint { + remote-endpoint = <&panel_in>; + }; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/hisilicon/dw-dsi.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/hisilicon/dw-dsi.txt index d5656cce10..d270bfe4e4 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/hisilicon/dw-dsi.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/hisilicon/dw-dsi.txt @@ -1,72 +1,72 @@ -Device-Tree bindings for DesignWare DSI Host Controller v1.20a driver - -A DSI Host Controller resides in the middle of display controller and external -HDMI converter or panel. - -Required properties: -- compatible: value should be "hisilicon,hi6220-dsi". -- reg: physical base address and length of dsi controller's registers. -- clocks: contains APB clock phandle + clock-specifier pair. -- clock-names: should be "pclk". -- ports: contains DSI controller input and output sub port. - The input port connects to ADE output port with the reg value "0". - The output port with the reg value "1", it could connect to panel or - any other bridge endpoints. - See Documentation/devicetree/bindings/graph.txt for more device graph info. - -A example of HiKey board hi6220 SoC and board specific DT entry: -Example: - -SoC specific: - dsi: dsi@f4107800 { - compatible = "hisilicon,hi6220-dsi"; - reg = <0x0 0xf4107800 0x0 0x100>; - clocks = <&media_ctrl HI6220_DSI_PCLK>; - clock-names = "pclk"; - status = "disabled"; - - ports { - #address-cells = <1>; - #size-cells = <0>; - - /* 0 for input port */ - port@0 { - reg = <0>; - dsi_in: endpoint { - remote-endpoint = <&ade_out>; - }; - }; - }; - }; - - -Board specific: - &dsi { - status = "ok"; - - ports { - /* 1 for output port */ - port@1 { - reg = <1>; - - dsi_out0: endpoint@0 { - remote-endpoint = <&adv7533_in>; - }; - }; - }; - }; - - &i2c2 { - ... - - adv7533: adv7533@39 { - ... - - port { - adv7533_in: endpoint { - remote-endpoint = <&dsi_out0>; - }; - }; - }; - }; - +Device-Tree bindings for DesignWare DSI Host Controller v1.20a driver + +A DSI Host Controller resides in the middle of display controller and external +HDMI converter or panel. + +Required properties: +- compatible: value should be "hisilicon,hi6220-dsi". +- reg: physical base address and length of dsi controller's registers. +- clocks: contains APB clock phandle + clock-specifier pair. +- clock-names: should be "pclk". +- ports: contains DSI controller input and output sub port. + The input port connects to ADE output port with the reg value "0". + The output port with the reg value "1", it could connect to panel or + any other bridge endpoints. + See Documentation/devicetree/bindings/graph.txt for more device graph info. + +A example of HiKey board hi6220 SoC and board specific DT entry: +Example: + +SoC specific: + dsi: dsi@f4107800 { + compatible = "hisilicon,hi6220-dsi"; + reg = <0x0 0xf4107800 0x0 0x100>; + clocks = <&media_ctrl HI6220_DSI_PCLK>; + clock-names = "pclk"; + status = "disabled"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + /* 0 for input port */ + port@0 { + reg = <0>; + dsi_in: endpoint { + remote-endpoint = <&ade_out>; + }; + }; + }; + }; + + +Board specific: + &dsi { + status = "ok"; + + ports { + /* 1 for output port */ + port@1 { + reg = <1>; + + dsi_out0: endpoint@0 { + remote-endpoint = <&adv7533_in>; + }; + }; + }; + }; + + &i2c2 { + ... + + adv7533: adv7533@39 { + ... + + port { + adv7533_in: endpoint { + remote-endpoint = <&dsi_out0>; + }; + }; + }; + }; + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/ilitek,ili9486.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/ilitek,ili9486.yaml index ff84c1b53e..9cc1fd0751 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/ilitek,ili9486.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/ilitek,ili9486.yaml @@ -1,69 +1,69 @@ -# SPDX-License-Identifier: GPL-2.0-only -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/ilitek,ili9486.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Ilitek ILI9486 display panels - -maintainers: - - Kamlesh Gurudasani - -description: - This binding is for display panels using an Ilitek ILI9486 controller in SPI - mode. - -allOf: - - $ref: panel/panel-common.yaml# - -properties: - compatible: - items: - - enum: - # Waveshare 3.5" 320x480 Color TFT LCD - - waveshare,rpi-lcd-35 - # Ozzmaker 3.5" 320x480 Color TFT LCD - - ozzmaker,piscreen - - const: ilitek,ili9486 - - spi-max-frequency: - maximum: 32000000 - - dc-gpios: - maxItems: 1 - description: Display data/command selection (D/CX) - - backlight: true - reg: true - reset-gpios: true - rotation: true - -required: - - compatible - - reg - - dc-gpios - - reset-gpios - -additionalProperties: false - -examples: - - | - #include - - spi { - #address-cells = <1>; - #size-cells = <0>; - - - display@0{ - compatible = "waveshare,rpi-lcd-35", "ilitek,ili9486"; - reg = <0>; - spi-max-frequency = <32000000>; - dc-gpios = <&gpio0 24 GPIO_ACTIVE_HIGH>; - reset-gpios = <&gpio0 25 GPIO_ACTIVE_HIGH>; - rotation = <180>; - backlight = <&backlight>; - }; - }; - -... +# SPDX-License-Identifier: GPL-2.0-only +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/ilitek,ili9486.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Ilitek ILI9486 display panels + +maintainers: + - Kamlesh Gurudasani + +description: + This binding is for display panels using an Ilitek ILI9486 controller in SPI + mode. + +allOf: + - $ref: panel/panel-common.yaml# + +properties: + compatible: + items: + - enum: + # Waveshare 3.5" 320x480 Color TFT LCD + - waveshare,rpi-lcd-35 + # Ozzmaker 3.5" 320x480 Color TFT LCD + - ozzmaker,piscreen + - const: ilitek,ili9486 + + spi-max-frequency: + maximum: 32000000 + + dc-gpios: + maxItems: 1 + description: Display data/command selection (D/CX) + + backlight: true + reg: true + reset-gpios: true + rotation: true + +required: + - compatible + - reg + - dc-gpios + - reset-gpios + +additionalProperties: false + +examples: + - | + #include + + spi { + #address-cells = <1>; + #size-cells = <0>; + + + display@0{ + compatible = "waveshare,rpi-lcd-35", "ilitek,ili9486"; + reg = <0>; + spi-max-frequency = <32000000>; + dc-gpios = <&gpio0 24 GPIO_ACTIVE_HIGH>; + reset-gpios = <&gpio0 25 GPIO_ACTIVE_HIGH>; + rotation = <180>; + backlight = <&backlight>; + }; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/intel,keembay-display.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/intel,keembay-display.yaml index b7e83b614f..2cf54ecc70 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/intel,keembay-display.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/intel,keembay-display.yaml @@ -1,72 +1,72 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/intel,keembay-display.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Intel Keem Bay display controller - -maintainers: - - Anitha Chrisanthus - - Edmond J Dea - -properties: - compatible: - const: intel,keembay-display - - reg: - items: - - description: LCD registers range - - reg-names: - items: - - const: lcd - - clocks: - items: - - description: LCD controller clock - - description: pll0 clock - - clock-names: - items: - - const: clk_lcd - - const: clk_pll0 - - interrupts: - maxItems: 1 - - port: - $ref: /schemas/graph.yaml#/properties/port - description: Display output node to DSI. - -required: - - compatible - - reg - - reg-names - - clocks - - clock-names - - interrupts - - port - -additionalProperties: false - -examples: - - | - #include - #include - - display@20930000 { - compatible = "intel,keembay-display"; - reg = <0x20930000 0x3000>; - reg-names = "lcd"; - interrupts = ; - clocks = <&scmi_clk 0x83>, - <&scmi_clk 0x0>; - clock-names = "clk_lcd", "clk_pll0"; - - port { - disp_out: endpoint { - remote-endpoint = <&dsi_in>; - }; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/intel,keembay-display.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Intel Keem Bay display controller + +maintainers: + - Anitha Chrisanthus + - Edmond J Dea + +properties: + compatible: + const: intel,keembay-display + + reg: + items: + - description: LCD registers range + + reg-names: + items: + - const: lcd + + clocks: + items: + - description: LCD controller clock + - description: pll0 clock + + clock-names: + items: + - const: clk_lcd + - const: clk_pll0 + + interrupts: + maxItems: 1 + + port: + $ref: /schemas/graph.yaml#/properties/port + description: Display output node to DSI. + +required: + - compatible + - reg + - reg-names + - clocks + - clock-names + - interrupts + - port + +additionalProperties: false + +examples: + - | + #include + #include + + display@20930000 { + compatible = "intel,keembay-display"; + reg = <0x20930000 0x3000>; + reg-names = "lcd"; + interrupts = ; + clocks = <&scmi_clk 0x83>, + <&scmi_clk 0x0>; + clock-names = "clk_lcd", "clk_pll0"; + + port { + disp_out: endpoint { + remote-endpoint = <&dsi_in>; + }; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/mediatek/mediatek,od.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/mediatek/mediatek,od.yaml index 5d36bd2509..831c653caf 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/mediatek/mediatek,od.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/mediatek/mediatek,od.yaml @@ -1,61 +1,61 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/mediatek/mediatek,od.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Mediatek display overdirve - -maintainers: - - Chun-Kuang Hu - - Philipp Zabel - -description: | - Mediatek display overdrive, namely OD, increases the transition values - of pixels between consecutive frames to make LCD rotate faster. - OD device node must be siblings to the central MMSYS_CONFIG node. - For a description of the MMSYS_CONFIG binding, see - Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.yaml - for details. - -properties: - compatible: - oneOf: - - enum: - - mediatek,mt2712-disp-od - - mediatek,mt8173-disp-od - - items: - - const: mediatek,mt6795-disp-od - - const: mediatek,mt8173-disp-od - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - items: - - description: OD Clock - -required: - - compatible - - reg - - clocks - -additionalProperties: false - -examples: - - | - #include - - soc { - #address-cells = <2>; - #size-cells = <2>; - - od@14023000 { - compatible = "mediatek,mt8173-disp-od"; - reg = <0 0x14023000 0 0x1000>; - clocks = <&mmsys CLK_MM_DISP_OD>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/mediatek/mediatek,od.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Mediatek display overdirve + +maintainers: + - Chun-Kuang Hu + - Philipp Zabel + +description: | + Mediatek display overdrive, namely OD, increases the transition values + of pixels between consecutive frames to make LCD rotate faster. + OD device node must be siblings to the central MMSYS_CONFIG node. + For a description of the MMSYS_CONFIG binding, see + Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.yaml + for details. + +properties: + compatible: + oneOf: + - enum: + - mediatek,mt2712-disp-od + - mediatek,mt8173-disp-od + - items: + - const: mediatek,mt6795-disp-od + - const: mediatek,mt8173-disp-od + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + items: + - description: OD Clock + +required: + - compatible + - reg + - clocks + +additionalProperties: false + +examples: + - | + #include + + soc { + #address-cells = <2>; + #size-cells = <2>; + + od@14023000 { + compatible = "mediatek,mt8173-disp-od"; + reg = <0 0x14023000 0 0x1000>; + clocks = <&mmsys CLK_MM_DISP_OD>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/msm/dsi-phy-14nm.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/msm/dsi-phy-14nm.yaml index d4e801dbb9..52bbe132e6 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/msm/dsi-phy-14nm.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/msm/dsi-phy-14nm.yaml @@ -1,78 +1,78 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/msm/dsi-phy-14nm.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm Display DSI 14nm PHY - -maintainers: - - Krishna Manikandan - -allOf: - - $ref: dsi-phy-common.yaml# - -properties: - compatible: - enum: - - qcom,dsi-phy-14nm - - qcom,dsi-phy-14nm-2290 - - qcom,dsi-phy-14nm-660 - - qcom,dsi-phy-14nm-8953 - - qcom,sm6125-dsi-phy-14nm - - reg: - items: - - description: dsi phy register set - - description: dsi phy lane register set - - description: dsi pll register set - - reg-names: - items: - - const: dsi_phy - - const: dsi_phy_lane - - const: dsi_pll - - vcca-supply: - description: Phandle to vcca regulator device node. - - power-domains: - description: - A phandle and PM domain specifier for an optional power domain. - maxItems: 1 - - required-opps: - description: - A phandle to an OPP node describing the power domain's performance point. - maxItems: 1 - -required: - - compatible - - reg - - reg-names - -unevaluatedProperties: false - -examples: - - | - #include - #include - - dsi-phy@ae94400 { - compatible = "qcom,dsi-phy-14nm"; - reg = <0x0ae94400 0x200>, - <0x0ae94600 0x280>, - <0x0ae94a00 0x1e0>; - reg-names = "dsi_phy", - "dsi_phy_lane", - "dsi_pll"; - - #clock-cells = <1>; - #phy-cells = <0>; - - vcca-supply = <&vcca_reg>; - clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>, - <&rpmhcc RPMH_CXO_CLK>; - clock-names = "iface", "ref"; - }; -... +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/msm/dsi-phy-14nm.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Display DSI 14nm PHY + +maintainers: + - Krishna Manikandan + +allOf: + - $ref: dsi-phy-common.yaml# + +properties: + compatible: + enum: + - qcom,dsi-phy-14nm + - qcom,dsi-phy-14nm-2290 + - qcom,dsi-phy-14nm-660 + - qcom,dsi-phy-14nm-8953 + - qcom,sm6125-dsi-phy-14nm + + reg: + items: + - description: dsi phy register set + - description: dsi phy lane register set + - description: dsi pll register set + + reg-names: + items: + - const: dsi_phy + - const: dsi_phy_lane + - const: dsi_pll + + vcca-supply: + description: Phandle to vcca regulator device node. + + power-domains: + description: + A phandle and PM domain specifier for an optional power domain. + maxItems: 1 + + required-opps: + description: + A phandle to an OPP node describing the power domain's performance point. + maxItems: 1 + +required: + - compatible + - reg + - reg-names + +unevaluatedProperties: false + +examples: + - | + #include + #include + + dsi-phy@ae94400 { + compatible = "qcom,dsi-phy-14nm"; + reg = <0x0ae94400 0x200>, + <0x0ae94600 0x280>, + <0x0ae94a00 0x1e0>; + reg-names = "dsi_phy", + "dsi_phy_lane", + "dsi_pll"; + + #clock-cells = <1>; + #phy-cells = <0>; + + vcca-supply = <&vcca_reg>; + clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>, + <&rpmhcc RPMH_CXO_CLK>; + clock-names = "iface", "ref"; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/msm/dsi-phy-20nm.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/msm/dsi-phy-20nm.yaml index 19bcdfe255..7e6687cb00 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/msm/dsi-phy-20nm.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/msm/dsi-phy-20nm.yaml @@ -1,70 +1,70 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/msm/dsi-phy-20nm.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm Display DSI 20nm PHY - -maintainers: - - Krishna Manikandan - -allOf: - - $ref: dsi-phy-common.yaml# - -properties: - compatible: - const: qcom,dsi-phy-20nm - - reg: - items: - - description: dsi pll register set - - description: dsi phy register set - - description: dsi phy regulator register set - - reg-names: - items: - - const: dsi_pll - - const: dsi_phy - - const: dsi_phy_regulator - - vcca-supply: - description: Phandle to vcca regulator device node. - - vddio-supply: - description: Phandle to vdd-io regulator device node. - -required: - - compatible - - reg - - reg-names - - vddio-supply - - vcca-supply - -unevaluatedProperties: false - -examples: - - | - #include - #include - - dsi-phy@fd922a00 { - compatible = "qcom,dsi-phy-20nm"; - reg = <0xfd922a00 0xd4>, - <0xfd922b00 0x2b0>, - <0xfd922d80 0x7b>; - reg-names = "dsi_pll", - "dsi_phy", - "dsi_phy_regulator"; - - #clock-cells = <1>; - #phy-cells = <0>; - - vcca-supply = <&vcca_reg>; - vddio-supply = <&vddio_reg>; - - clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>, - <&rpmhcc RPMH_CXO_CLK>; - clock-names = "iface", "ref"; - }; -... +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/msm/dsi-phy-20nm.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Display DSI 20nm PHY + +maintainers: + - Krishna Manikandan + +allOf: + - $ref: dsi-phy-common.yaml# + +properties: + compatible: + const: qcom,dsi-phy-20nm + + reg: + items: + - description: dsi pll register set + - description: dsi phy register set + - description: dsi phy regulator register set + + reg-names: + items: + - const: dsi_pll + - const: dsi_phy + - const: dsi_phy_regulator + + vcca-supply: + description: Phandle to vcca regulator device node. + + vddio-supply: + description: Phandle to vdd-io regulator device node. + +required: + - compatible + - reg + - reg-names + - vddio-supply + - vcca-supply + +unevaluatedProperties: false + +examples: + - | + #include + #include + + dsi-phy@fd922a00 { + compatible = "qcom,dsi-phy-20nm"; + reg = <0xfd922a00 0xd4>, + <0xfd922b00 0x2b0>, + <0xfd922d80 0x7b>; + reg-names = "dsi_pll", + "dsi_phy", + "dsi_phy_regulator"; + + #clock-cells = <1>; + #phy-cells = <0>; + + vcca-supply = <&vcca_reg>; + vddio-supply = <&vddio_reg>; + + clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>, + <&rpmhcc RPMH_CXO_CLK>; + clock-names = "iface", "ref"; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/msm/dsi-phy-28nm.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/msm/dsi-phy-28nm.yaml index d28e81cd45..a55c2445d1 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/msm/dsi-phy-28nm.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/msm/dsi-phy-28nm.yaml @@ -1,75 +1,75 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/msm/dsi-phy-28nm.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm Display DSI 28nm PHY - -maintainers: - - Krishna Manikandan - -allOf: - - $ref: dsi-phy-common.yaml# - -properties: - compatible: - enum: - - qcom,dsi-phy-28nm-8226 - - qcom,dsi-phy-28nm-8937 - - qcom,dsi-phy-28nm-8960 - - qcom,dsi-phy-28nm-hpm - - qcom,dsi-phy-28nm-hpm-fam-b - - qcom,dsi-phy-28nm-lp - - reg: - items: - - description: dsi pll register set - - description: dsi phy register set - - description: dsi phy regulator register set - - reg-names: - items: - - const: dsi_pll - - const: dsi_phy - - const: dsi_phy_regulator - - vddio-supply: - description: Phandle to vdd-io regulator device node. - - qcom,dsi-phy-regulator-ldo-mode: - type: boolean - description: Indicates if the LDO mode PHY regulator is wanted. - -required: - - compatible - - reg - - reg-names - - vddio-supply - -unevaluatedProperties: false - -examples: - - | - #include - #include - - dsi-phy@fd922a00 { - compatible = "qcom,dsi-phy-28nm-lp"; - reg = <0xfd922a00 0xd4>, - <0xfd922b00 0x2b0>, - <0xfd922d80 0x7b>; - reg-names = "dsi_pll", - "dsi_phy", - "dsi_phy_regulator"; - - #clock-cells = <1>; - #phy-cells = <0>; - - vddio-supply = <&vddio_reg>; - - clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>, - <&rpmhcc RPMH_CXO_CLK>; - clock-names = "iface", "ref"; - }; -... +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/msm/dsi-phy-28nm.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Display DSI 28nm PHY + +maintainers: + - Krishna Manikandan + +allOf: + - $ref: dsi-phy-common.yaml# + +properties: + compatible: + enum: + - qcom,dsi-phy-28nm-8226 + - qcom,dsi-phy-28nm-8937 + - qcom,dsi-phy-28nm-8960 + - qcom,dsi-phy-28nm-hpm + - qcom,dsi-phy-28nm-hpm-fam-b + - qcom,dsi-phy-28nm-lp + + reg: + items: + - description: dsi pll register set + - description: dsi phy register set + - description: dsi phy regulator register set + + reg-names: + items: + - const: dsi_pll + - const: dsi_phy + - const: dsi_phy_regulator + + vddio-supply: + description: Phandle to vdd-io regulator device node. + + qcom,dsi-phy-regulator-ldo-mode: + type: boolean + description: Indicates if the LDO mode PHY regulator is wanted. + +required: + - compatible + - reg + - reg-names + - vddio-supply + +unevaluatedProperties: false + +examples: + - | + #include + #include + + dsi-phy@fd922a00 { + compatible = "qcom,dsi-phy-28nm-lp"; + reg = <0xfd922a00 0xd4>, + <0xfd922b00 0x2b0>, + <0xfd922d80 0x7b>; + reg-names = "dsi_pll", + "dsi_phy", + "dsi_phy_regulator"; + + #clock-cells = <1>; + #phy-cells = <0>; + + vddio-supply = <&vddio_reg>; + + clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>, + <&rpmhcc RPMH_CXO_CLK>; + clock-names = "iface", "ref"; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/msm/dsi-phy-7nm.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/msm/dsi-phy-7nm.yaml index edb50aef2b..7e764eac3e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/msm/dsi-phy-7nm.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/msm/dsi-phy-7nm.yaml @@ -1,76 +1,76 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/msm/dsi-phy-7nm.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm Display DSI 7nm PHY - -maintainers: - - Jonathan Marek - -allOf: - - $ref: dsi-phy-common.yaml# - -properties: - compatible: - enum: - - qcom,dsi-phy-7nm - - qcom,dsi-phy-7nm-8150 - - qcom,sc7280-dsi-phy-7nm - - qcom,sm6375-dsi-phy-7nm - - qcom,sm8350-dsi-phy-5nm - - qcom,sm8450-dsi-phy-5nm - - qcom,sm8550-dsi-phy-4nm - - qcom,sm8650-dsi-phy-4nm - - reg: - items: - - description: dsi phy register set - - description: dsi phy lane register set - - description: dsi pll register set - - reg-names: - items: - - const: dsi_phy - - const: dsi_phy_lane - - const: dsi_pll - - vdds-supply: - description: | - Connected to VDD_A_DSI_PLL_0P9 pin (or VDDA_DSI{0,1}_PLL_0P9 for sm8150) - - phy-type: - description: D-PHY (default) or C-PHY mode - enum: [ 10, 11 ] - default: 10 - -required: - - compatible - - reg - - reg-names - -unevaluatedProperties: false - -examples: - - | - #include - #include - - dsi-phy@ae94400 { - compatible = "qcom,dsi-phy-7nm"; - reg = <0x0ae94400 0x200>, - <0x0ae94600 0x280>, - <0x0ae94900 0x260>; - reg-names = "dsi_phy", - "dsi_phy_lane", - "dsi_pll"; - - #clock-cells = <1>; - #phy-cells = <0>; - - vdds-supply = <&vreg_l5a_0p88>; - clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>, - <&rpmhcc RPMH_CXO_CLK>; - clock-names = "iface", "ref"; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/msm/dsi-phy-7nm.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Display DSI 7nm PHY + +maintainers: + - Jonathan Marek + +allOf: + - $ref: dsi-phy-common.yaml# + +properties: + compatible: + enum: + - qcom,dsi-phy-7nm + - qcom,dsi-phy-7nm-8150 + - qcom,sc7280-dsi-phy-7nm + - qcom,sm6375-dsi-phy-7nm + - qcom,sm8350-dsi-phy-5nm + - qcom,sm8450-dsi-phy-5nm + - qcom,sm8550-dsi-phy-4nm + - qcom,sm8650-dsi-phy-4nm + + reg: + items: + - description: dsi phy register set + - description: dsi phy lane register set + - description: dsi pll register set + + reg-names: + items: + - const: dsi_phy + - const: dsi_phy_lane + - const: dsi_pll + + vdds-supply: + description: | + Connected to VDD_A_DSI_PLL_0P9 pin (or VDDA_DSI{0,1}_PLL_0P9 for sm8150) + + phy-type: + description: D-PHY (default) or C-PHY mode + enum: [ 10, 11 ] + default: 10 + +required: + - compatible + - reg + - reg-names + +unevaluatedProperties: false + +examples: + - | + #include + #include + + dsi-phy@ae94400 { + compatible = "qcom,dsi-phy-7nm"; + reg = <0x0ae94400 0x200>, + <0x0ae94600 0x280>, + <0x0ae94900 0x260>; + reg-names = "dsi_phy", + "dsi_phy_lane", + "dsi_pll"; + + #clock-cells = <1>; + #phy-cells = <0>; + + vdds-supply = <&vreg_l5a_0p88>; + clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>, + <&rpmhcc RPMH_CXO_CLK>; + clock-names = "iface", "ref"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/advantech,idk-1110wr.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/advantech,idk-1110wr.yaml index 8edb19365a..f6fea9085a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/advantech,idk-1110wr.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/advantech,idk-1110wr.yaml @@ -1,84 +1,84 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/panel/advantech,idk-1110wr.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Advantech IDK-1110WR 10.1" WSVGA LVDS Display Panel - -maintainers: - - Lad Prabhakar - - Thierry Reding - -allOf: - - $ref: panel-common.yaml# - - $ref: /schemas/display/lvds.yaml# - -select: - properties: - compatible: - contains: - const: advantech,idk-1110wr - - required: - - compatible - -properties: - compatible: - items: - - const: advantech,idk-1110wr - - const: panel-lvds - - data-mapping: - const: jeida-24 - - width-mm: - const: 223 - - height-mm: - const: 125 - - panel-timing: true - port: true - -additionalProperties: false - -required: - - compatible - - data-mapping - - width-mm - - height-mm - - panel-timing - - port - -examples: - - |+ - panel { - 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>; - vsync-len = <10>; - vfront-porch = <15>; - vback-porch = <10>; - }; - - port { - panel_in: endpoint { - remote-endpoint = <&lvds_encoder>; - }; - }; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/advantech,idk-1110wr.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Advantech IDK-1110WR 10.1" WSVGA LVDS Display Panel + +maintainers: + - Lad Prabhakar + - Thierry Reding + +allOf: + - $ref: panel-common.yaml# + - $ref: /schemas/display/lvds.yaml# + +select: + properties: + compatible: + contains: + const: advantech,idk-1110wr + + required: + - compatible + +properties: + compatible: + items: + - const: advantech,idk-1110wr + - const: panel-lvds + + data-mapping: + const: jeida-24 + + width-mm: + const: 223 + + height-mm: + const: 125 + + panel-timing: true + port: true + +additionalProperties: false + +required: + - compatible + - data-mapping + - width-mm + - height-mm + - panel-timing + - port + +examples: + - |+ + panel { + 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>; + vsync-len = <10>; + vfront-porch = <15>; + vback-porch = <10>; + }; + + port { + panel_in: endpoint { + remote-endpoint = <&lvds_encoder>; + }; + }; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/anbernic,rg35xx-plus-panel.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/anbernic,rg35xx-plus-panel.yaml index 1683b1a7d6..1d67492ebd 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/anbernic,rg35xx-plus-panel.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/anbernic,rg35xx-plus-panel.yaml @@ -1,67 +1,67 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/panel/anbernic,rg35xx-plus-panel.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Anbernic RG35XX series (WL-355608-A8) 3.5" 640x480 24-bit IPS LCD panel - -maintainers: - - Ryan Walklin - -allOf: - - $ref: panel-common.yaml# - - $ref: /schemas/spi/spi-peripheral-props.yaml# - -properties: - compatible: - oneOf: - - const: anbernic,rg35xx-plus-panel - - items: - - enum: - - anbernic,rg35xx-2024-panel - - anbernic,rg35xx-h-panel - - anbernic,rg35xx-sp-panel - - const: anbernic,rg35xx-plus-panel - - reg: - maxItems: 1 - - spi-3wire: true - -required: - - compatible - - reg - - port - - power-supply - - reset-gpios - -unevaluatedProperties: false - -examples: - - | - #include - - spi { - #address-cells = <1>; - #size-cells = <0>; - - panel@0 { - compatible = "anbernic,rg35xx-plus-panel"; - reg = <0>; - - spi-3wire; - spi-max-frequency = <3125000>; - - reset-gpios = <&pio 8 14 GPIO_ACTIVE_LOW>; // PI14 - - backlight = <&backlight>; - power-supply = <®_lcd>; - - port { - endpoint { - remote-endpoint = <&tcon_lcd0_out_lcd>; - }; - }; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/anbernic,rg35xx-plus-panel.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Anbernic RG35XX series (WL-355608-A8) 3.5" 640x480 24-bit IPS LCD panel + +maintainers: + - Ryan Walklin + +allOf: + - $ref: panel-common.yaml# + - $ref: /schemas/spi/spi-peripheral-props.yaml# + +properties: + compatible: + oneOf: + - const: anbernic,rg35xx-plus-panel + - items: + - enum: + - anbernic,rg35xx-2024-panel + - anbernic,rg35xx-h-panel + - anbernic,rg35xx-sp-panel + - const: anbernic,rg35xx-plus-panel + + reg: + maxItems: 1 + + spi-3wire: true + +required: + - compatible + - reg + - port + - power-supply + - reset-gpios + +unevaluatedProperties: false + +examples: + - | + #include + + spi { + #address-cells = <1>; + #size-cells = <0>; + + panel@0 { + compatible = "anbernic,rg35xx-plus-panel"; + reg = <0>; + + spi-3wire; + spi-max-frequency = <3125000>; + + reset-gpios = <&pio 8 14 GPIO_ACTIVE_LOW>; // PI14 + + backlight = <&backlight>; + power-supply = <®_lcd>; + + port { + endpoint { + remote-endpoint = <&tcon_lcd0_out_lcd>; + }; + }; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/boe,th101mb31ig002-28a.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/boe,th101mb31ig002-28a.yaml index d07e313ca9..6a82bd1ec7 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/boe,th101mb31ig002-28a.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/boe,th101mb31ig002-28a.yaml @@ -1,75 +1,75 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/panel/boe,th101mb31ig002-28a.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: BOE TH101MB31IG002-28A WXGA DSI Display Panel - -maintainers: - - Manuel Traut - -properties: - compatible: - enum: - # BOE TH101MB31IG002-28A 10.1" WXGA TFT LCD panel - - boe,th101mb31ig002-28a - # The Starry-er88577 is a 10.1" WXGA TFT-LCD panel - - starry,er88577 - - reg: - maxItems: 1 - - backlight: true - enable-gpios: true - reset-gpios: true - power-supply: true - port: true - rotation: true - -required: - - compatible - - reg - - enable-gpios - - power-supply - -allOf: - - $ref: panel-common.yaml# - - if: - properties: - compatible: - # The Starry-er88577 is a 10.1" WXGA TFT-LCD panel - const: starry,er88577 - then: - properties: - reset-gpios: false - else: - required: - - reset-gpios - -additionalProperties: false - -examples: - - | - #include - - dsi { - #address-cells = <1>; - #size-cells = <0>; - panel@0 { - compatible = "boe,th101mb31ig002-28a"; - reg = <0>; - backlight = <&backlight_lcd0>; - enable-gpios = <&gpio 45 GPIO_ACTIVE_HIGH>; - reset-gpios = <&gpio 55 GPIO_ACTIVE_LOW>; - rotation = <90>; - power-supply = <&vcc_3v3>; - port { - panel_in_dsi: endpoint { - remote-endpoint = <&dsi_out_con>; - }; - }; - }; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/boe,th101mb31ig002-28a.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: BOE TH101MB31IG002-28A WXGA DSI Display Panel + +maintainers: + - Manuel Traut + +properties: + compatible: + enum: + # BOE TH101MB31IG002-28A 10.1" WXGA TFT LCD panel + - boe,th101mb31ig002-28a + # The Starry-er88577 is a 10.1" WXGA TFT-LCD panel + - starry,er88577 + + reg: + maxItems: 1 + + backlight: true + enable-gpios: true + reset-gpios: true + power-supply: true + port: true + rotation: true + +required: + - compatible + - reg + - enable-gpios + - power-supply + +allOf: + - $ref: panel-common.yaml# + - if: + properties: + compatible: + # The Starry-er88577 is a 10.1" WXGA TFT-LCD panel + const: starry,er88577 + then: + properties: + reset-gpios: false + else: + required: + - reset-gpios + +additionalProperties: false + +examples: + - | + #include + + dsi { + #address-cells = <1>; + #size-cells = <0>; + panel@0 { + compatible = "boe,th101mb31ig002-28a"; + reg = <0>; + backlight = <&backlight_lcd0>; + enable-gpios = <&gpio 45 GPIO_ACTIVE_HIGH>; + reset-gpios = <&gpio 55 GPIO_ACTIVE_LOW>; + rotation = <90>; + power-supply = <&vcc_3v3>; + port { + panel_in_dsi: endpoint { + remote-endpoint = <&dsi_out_con>; + }; + }; + }; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/ebbg,ft8719.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/ebbg,ft8719.yaml index bf9a7e4c10..80deedc01c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/ebbg,ft8719.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/ebbg,ft8719.yaml @@ -1,74 +1,74 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/panel/ebbg,ft8719.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: EBBG FT8719 MIPI-DSI LCD panel - -maintainers: - - Joel Selvaraj - -description: | - The FT8719 panel from EBBG is a FHD+ LCD display panel with a resolution - of 1080x2246. It is a video mode DSI panel. The backlight is managed - through the QCOM WLED driver. - -allOf: - - $ref: panel-common.yaml# - -properties: - compatible: - const: ebbg,ft8719 - - reg: - maxItems: 1 - description: DSI virtual channel of the peripheral - - vddio-supply: - description: power IC supply regulator - - vddpos-supply: - description: positive boost supply regulator - - vddneg-supply: - description: negative boost supply regulator - -required: - - compatible - - reg - - vddio-supply - - vddpos-supply - - vddneg-supply - - reset-gpios - - port - -unevaluatedProperties: false - -examples: - - | - #include - - dsi { - #address-cells = <1>; - #size-cells = <0>; - - panel@0 { - compatible = "ebbg,ft8719"; - reg = <0>; - - vddio-supply = <&vreg_l14a_1p88>; - vddpos-supply = <&lab>; - vddneg-supply = <&ibb>; - - reset-gpios = <&tlmm 6 GPIO_ACTIVE_LOW>; - - backlight = <&pmi8998_wled>; - - port { - ebbg_ft8719_in_0: endpoint { - remote-endpoint = <&dsi0_out>; - }; - }; - }; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/ebbg,ft8719.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: EBBG FT8719 MIPI-DSI LCD panel + +maintainers: + - Joel Selvaraj + +description: | + The FT8719 panel from EBBG is a FHD+ LCD display panel with a resolution + of 1080x2246. It is a video mode DSI panel. The backlight is managed + through the QCOM WLED driver. + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + const: ebbg,ft8719 + + reg: + maxItems: 1 + description: DSI virtual channel of the peripheral + + vddio-supply: + description: power IC supply regulator + + vddpos-supply: + description: positive boost supply regulator + + vddneg-supply: + description: negative boost supply regulator + +required: + - compatible + - reg + - vddio-supply + - vddpos-supply + - vddneg-supply + - reset-gpios + - port + +unevaluatedProperties: false + +examples: + - | + #include + + dsi { + #address-cells = <1>; + #size-cells = <0>; + + panel@0 { + compatible = "ebbg,ft8719"; + reg = <0>; + + vddio-supply = <&vreg_l14a_1p88>; + vddpos-supply = <&lab>; + vddneg-supply = <&ibb>; + + reset-gpios = <&tlmm 6 GPIO_ACTIVE_LOW>; + + backlight = <&pmi8998_wled>; + + port { + ebbg_ft8719_in_0: endpoint { + remote-endpoint = <&dsi0_out>; + }; + }; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/feiyang,fy07024di26a30d.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/feiyang,fy07024di26a30d.yaml index d39c22f5c5..92df69e80a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/feiyang,fy07024di26a30d.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/feiyang,fy07024di26a30d.yaml @@ -1,65 +1,65 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/panel/feiyang,fy07024di26a30d.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Feiyang FY07024DI26A30-D 7" MIPI-DSI LCD Panel - -maintainers: - - Jagan Teki - -allOf: - - $ref: panel-common.yaml# - -properties: - compatible: - const: feiyang,fy07024di26a30d - - reg: - description: DSI virtual channel used by that screen - maxItems: 1 - - avdd-supply: - description: analog regulator dc1 switch - - dvdd-supply: - description: 3v3 digital regulator - - port: true - reset-gpios: true - - backlight: true - -required: - - compatible - - reg - - avdd-supply - - dvdd-supply - - port - -additionalProperties: false - -examples: - - | - #include - - dsi { - #address-cells = <1>; - #size-cells = <0>; - - panel@0 { - compatible = "feiyang,fy07024di26a30d"; - reg = <0>; - avdd-supply = <®_dc1sw>; - dvdd-supply = <®_dldo2>; - reset-gpios = <&pio 3 24 GPIO_ACTIVE_HIGH>; /* LCD-RST: PD24 */ - backlight = <&backlight>; - - port { - mipi_in_panel: endpoint { - remote-endpoint = <&mipi_out_panel>; - }; - }; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/feiyang,fy07024di26a30d.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Feiyang FY07024DI26A30-D 7" MIPI-DSI LCD Panel + +maintainers: + - Jagan Teki + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + const: feiyang,fy07024di26a30d + + reg: + description: DSI virtual channel used by that screen + maxItems: 1 + + avdd-supply: + description: analog regulator dc1 switch + + dvdd-supply: + description: 3v3 digital regulator + + port: true + reset-gpios: true + + backlight: true + +required: + - compatible + - reg + - avdd-supply + - dvdd-supply + - port + +additionalProperties: false + +examples: + - | + #include + + dsi { + #address-cells = <1>; + #size-cells = <0>; + + panel@0 { + compatible = "feiyang,fy07024di26a30d"; + reg = <0>; + avdd-supply = <®_dc1sw>; + dvdd-supply = <®_dldo2>; + reset-gpios = <&pio 3 24 GPIO_ACTIVE_HIGH>; /* LCD-RST: PD24 */ + backlight = <&backlight>; + + port { + mipi_in_panel: endpoint { + remote-endpoint = <&mipi_out_panel>; + }; + }; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/himax,hx83102.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/himax,hx83102.yaml index abe0e80afd..c649fb0858 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/himax,hx83102.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/himax,hx83102.yaml @@ -1,77 +1,77 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/panel/himax,hx83102.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Himax HX83102 MIPI-DSI LCD panel controller - -maintainers: - - Cong Yang - -allOf: - - $ref: panel-common.yaml# - -properties: - compatible: - items: - - enum: - # Boe nv110wum-l60 11.0" WUXGA TFT LCD panel - - boe,nv110wum-l60 - # IVO t109nw41 11.0" WUXGA TFT LCD panel - - ivo,t109nw41 - # STARRY himax83102-j02 10.51" WUXGA TFT LCD panel - - starry,himax83102-j02 - - const: himax,hx83102 - - reg: - description: the virtual channel number of a DSI peripheral - - enable-gpios: - description: a GPIO spec for the enable pin - - pp1800-supply: - description: core voltage supply - - avdd-supply: - description: phandle of the regulator that provides positive voltage - - avee-supply: - description: phandle of the regulator that provides negative voltage - - backlight: true - port: true - rotation: true - -required: - - compatible - - reg - - enable-gpios - - pp1800-supply - - avdd-supply - - avee-supply - -additionalProperties: false - -examples: - - | - dsi { - #address-cells = <1>; - #size-cells = <0>; - panel@0 { - compatible = "starry,himax83102-j02", "himax,hx83102"; - reg = <0>; - enable-gpios = <&pio 45 0>; - avdd-supply = <&ppvarn_lcd>; - avee-supply = <&ppvarp_lcd>; - pp1800-supply = <&pp1800_lcd>; - backlight = <&backlight_lcd0>; - port { - panel_in: endpoint { - remote-endpoint = <&dsi_out>; - }; - }; - }; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/himax,hx83102.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Himax HX83102 MIPI-DSI LCD panel controller + +maintainers: + - Cong Yang + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + items: + - enum: + # Boe nv110wum-l60 11.0" WUXGA TFT LCD panel + - boe,nv110wum-l60 + # IVO t109nw41 11.0" WUXGA TFT LCD panel + - ivo,t109nw41 + # STARRY himax83102-j02 10.51" WUXGA TFT LCD panel + - starry,himax83102-j02 + - const: himax,hx83102 + + reg: + description: the virtual channel number of a DSI peripheral + + enable-gpios: + description: a GPIO spec for the enable pin + + pp1800-supply: + description: core voltage supply + + avdd-supply: + description: phandle of the regulator that provides positive voltage + + avee-supply: + description: phandle of the regulator that provides negative voltage + + backlight: true + port: true + rotation: true + +required: + - compatible + - reg + - enable-gpios + - pp1800-supply + - avdd-supply + - avee-supply + +additionalProperties: false + +examples: + - | + dsi { + #address-cells = <1>; + #size-cells = <0>; + panel@0 { + compatible = "starry,himax83102-j02", "himax,hx83102"; + reg = <0>; + enable-gpios = <&pio 45 0>; + avdd-supply = <&ppvarn_lcd>; + avee-supply = <&ppvarp_lcd>; + pp1800-supply = <&pp1800_lcd>; + backlight = <&backlight_lcd0>; + port { + panel_in: endpoint { + remote-endpoint = <&dsi_out>; + }; + }; + }; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/himax,hx83112a.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/himax,hx83112a.yaml index 45f73af306..56bcd152f4 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/himax,hx83112a.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/himax,hx83112a.yaml @@ -1,76 +1,76 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/panel/himax,hx83112a.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Himax HX83112A-based DSI display panels - -maintainers: - - Luca Weiss - -description: - The Himax HX83112A is a generic DSI Panel IC used to control - LCD panels. - -allOf: - - $ref: panel-common.yaml# - -properties: - compatible: - contains: - const: djn,9a-3r063-1102b - - reg: - maxItems: 1 - - vdd1-supply: - description: Digital voltage rail - - vsn-supply: - description: Positive source voltage rail - - vsp-supply: - description: Negative source voltage rail - - port: true - -required: - - compatible - - reg - - reset-gpios - - vdd1-supply - - vsn-supply - - vsp-supply - - port - -unevaluatedProperties: false - -examples: - - | - #include - - dsi { - #address-cells = <1>; - #size-cells = <0>; - - panel@0 { - compatible = "djn,9a-3r063-1102b"; - reg = <0>; - - backlight = <&pm6150l_wled>; - reset-gpios = <&pm6150l_gpios 9 GPIO_ACTIVE_LOW>; - - vdd1-supply = <&vreg_l1e>; - vsn-supply = <&pm6150l_lcdb_ncp>; - vsp-supply = <&pm6150l_lcdb_ldo>; - - port { - panel_in_0: endpoint { - remote-endpoint = <&dsi0_out>; - }; - }; - }; - }; - -... +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/himax,hx83112a.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Himax HX83112A-based DSI display panels + +maintainers: + - Luca Weiss + +description: + The Himax HX83112A is a generic DSI Panel IC used to control + LCD panels. + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + contains: + const: djn,9a-3r063-1102b + + reg: + maxItems: 1 + + vdd1-supply: + description: Digital voltage rail + + vsn-supply: + description: Positive source voltage rail + + vsp-supply: + description: Negative source voltage rail + + port: true + +required: + - compatible + - reg + - reset-gpios + - vdd1-supply + - vsn-supply + - vsp-supply + - port + +unevaluatedProperties: false + +examples: + - | + #include + + dsi { + #address-cells = <1>; + #size-cells = <0>; + + panel@0 { + compatible = "djn,9a-3r063-1102b"; + reg = <0>; + + backlight = <&pm6150l_wled>; + reset-gpios = <&pm6150l_gpios 9 GPIO_ACTIVE_LOW>; + + vdd1-supply = <&vreg_l1e>; + vsn-supply = <&pm6150l_lcdb_ncp>; + vsp-supply = <&pm6150l_lcdb_ldo>; + + port { + panel_in_0: endpoint { + remote-endpoint = <&dsi0_out>; + }; + }; + }; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/himax,hx8394.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/himax,hx8394.yaml index 23de26a145..75ccabff30 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/himax,hx8394.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/himax,hx8394.yaml @@ -1,89 +1,89 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/panel/himax,hx8394.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Himax HX8394 MIPI-DSI LCD panel controller - -maintainers: - - Ondrej Jirman - - Javier Martinez Canillas - -description: - Device tree bindings for panels based on the Himax HX8394 controller, - such as the HannStar HSD060BHW4 720x1440 TFT LCD panel connected with - a MIPI-DSI video interface. - -properties: - compatible: - items: - - enum: - - hannstar,hsd060bhw4 - - microchip,ac40t08a-mipi-panel - - powkiddy,x55-panel - - const: himax,hx8394 - - reg: - maxItems: 1 - - reset-gpios: true - - backlight: true - - rotation: true - - port: true - - vcc-supply: - description: Panel power supply - - iovcc-supply: - description: I/O voltage supply - -required: - - compatible - - reg - - backlight - - port - - vcc-supply - - iovcc-supply - -additionalProperties: false - -allOf: - - $ref: panel-common.yaml# - - if: - not: - properties: - compatible: - enum: - - microchip,ac40t08a-mipi-panel - then: - required: - - reset-gpios - -examples: - - | - #include - - dsi { - #address-cells = <1>; - #size-cells = <0>; - panel@0 { - compatible = "hannstar,hsd060bhw4", "himax,hx8394"; - reg = <0>; - vcc-supply = <®_2v8_p>; - iovcc-supply = <®_1v8_p>; - reset-gpios = <&gpio3 13 GPIO_ACTIVE_LOW>; - backlight = <&backlight>; - - port { - mipi_in_panel: endpoint { - remote-endpoint = <&mipi_out_panel>; - }; - }; - }; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/himax,hx8394.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Himax HX8394 MIPI-DSI LCD panel controller + +maintainers: + - Ondrej Jirman + - Javier Martinez Canillas + +description: + Device tree bindings for panels based on the Himax HX8394 controller, + such as the HannStar HSD060BHW4 720x1440 TFT LCD panel connected with + a MIPI-DSI video interface. + +properties: + compatible: + items: + - enum: + - hannstar,hsd060bhw4 + - microchip,ac40t08a-mipi-panel + - powkiddy,x55-panel + - const: himax,hx8394 + + reg: + maxItems: 1 + + reset-gpios: true + + backlight: true + + rotation: true + + port: true + + vcc-supply: + description: Panel power supply + + iovcc-supply: + description: I/O voltage supply + +required: + - compatible + - reg + - backlight + - port + - vcc-supply + - iovcc-supply + +additionalProperties: false + +allOf: + - $ref: panel-common.yaml# + - if: + not: + properties: + compatible: + enum: + - microchip,ac40t08a-mipi-panel + then: + required: + - reset-gpios + +examples: + - | + #include + + dsi { + #address-cells = <1>; + #size-cells = <0>; + panel@0 { + compatible = "hannstar,hsd060bhw4", "himax,hx8394"; + reg = <0>; + vcc-supply = <®_2v8_p>; + iovcc-supply = <®_1v8_p>; + reset-gpios = <&gpio3 13 GPIO_ACTIVE_LOW>; + backlight = <&backlight>; + + port { + mipi_in_panel: endpoint { + remote-endpoint = <&mipi_out_panel>; + }; + }; + }; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/ilitek,ili9163.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/ilitek,ili9163.yaml index bc59507224..ef5a2240b6 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/ilitek,ili9163.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/ilitek,ili9163.yaml @@ -1,68 +1,68 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/panel/ilitek,ili9163.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Ilitek ILI9163 display panels - -maintainers: - - Daniel Mack - -description: - This binding is for display panels using an Ilitek ILI9163 controller in SPI - mode. - -allOf: - - $ref: panel-common.yaml# - - $ref: /schemas/spi/spi-peripheral-props.yaml# - -properties: - compatible: - items: - - enum: - - newhaven,1.8-128160EF - - const: ilitek,ili9163 - - reg: - maxItems: 1 - - spi-max-frequency: - maximum: 32000000 - - dc-gpios: - maxItems: 1 - description: Display data/command selection (D/CX) - - backlight: true - reset-gpios: true - rotation: true - -required: - - compatible - - reg - - dc-gpios - - reset-gpios - -unevaluatedProperties: false - -examples: - - | - #include - - spi { - #address-cells = <1>; - #size-cells = <0>; - - display@0 { - compatible = "newhaven,1.8-128160EF", "ilitek,ili9163"; - reg = <0>; - spi-max-frequency = <32000000>; - dc-gpios = <&gpio0 24 GPIO_ACTIVE_HIGH>; - reset-gpios = <&gpio0 25 GPIO_ACTIVE_HIGH>; - rotation = <180>; - backlight = <&backlight>; - }; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/ilitek,ili9163.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Ilitek ILI9163 display panels + +maintainers: + - Daniel Mack + +description: + This binding is for display panels using an Ilitek ILI9163 controller in SPI + mode. + +allOf: + - $ref: panel-common.yaml# + - $ref: /schemas/spi/spi-peripheral-props.yaml# + +properties: + compatible: + items: + - enum: + - newhaven,1.8-128160EF + - const: ilitek,ili9163 + + reg: + maxItems: 1 + + spi-max-frequency: + maximum: 32000000 + + dc-gpios: + maxItems: 1 + description: Display data/command selection (D/CX) + + backlight: true + reset-gpios: true + rotation: true + +required: + - compatible + - reg + - dc-gpios + - reset-gpios + +unevaluatedProperties: false + +examples: + - | + #include + + spi { + #address-cells = <1>; + #size-cells = <0>; + + display@0 { + compatible = "newhaven,1.8-128160EF", "ilitek,ili9163"; + reg = <0>; + spi-max-frequency = <32000000>; + dc-gpios = <&gpio0 24 GPIO_ACTIVE_HIGH>; + reset-gpios = <&gpio0 25 GPIO_ACTIVE_HIGH>; + rotation = <180>; + backlight = <&backlight>; + }; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/ilitek,ili9322.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/ilitek,ili9322.yaml index 80c5aedb3e..44423465f6 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/ilitek,ili9322.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/ilitek,ili9322.yaml @@ -1,71 +1,71 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/panel/ilitek,ili9322.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Ilitek ILI9322 TFT panel driver with SPI control bus - -maintainers: - - Linus Walleij - -description: | - This is a driver for 320x240 TFT panels, accepting a variety of input - streams that get adapted and scaled to the panel. The panel output has - 960 TFT source driver pins and 240 TFT gate driver pins, VCOM, VCOML and - VCOMH outputs. - -allOf: - - $ref: panel-common.yaml# - - $ref: /schemas/spi/spi-peripheral-props.yaml# - -properties: - compatible: - items: - - enum: - - dlink,dir-685-panel - - const: ilitek,ili9322 - - reg: - maxItems: 1 - - reset-gpios: true - port: true - - vcc-supply: - description: Core voltage supply - - iovcc-supply: - description: Voltage supply for the interface input/output signals - - vci-supply: - description: Voltage supply for analog parts - -required: - - compatible - - reg - -unevaluatedProperties: false - -examples: - - | - spi { - #address-cells = <1>; - #size-cells = <0>; - - panel: display@0 { - compatible = "dlink,dir-685-panel", "ilitek,ili9322"; - reg = <0>; - vcc-supply = <&vdisp>; - iovcc-supply = <&vdisp>; - vci-supply = <&vdisp>; - - port { - panel_in: endpoint { - remote-endpoint = <&display_out>; - }; - }; - }; - }; - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/ilitek,ili9322.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Ilitek ILI9322 TFT panel driver with SPI control bus + +maintainers: + - Linus Walleij + +description: | + This is a driver for 320x240 TFT panels, accepting a variety of input + streams that get adapted and scaled to the panel. The panel output has + 960 TFT source driver pins and 240 TFT gate driver pins, VCOM, VCOML and + VCOMH outputs. + +allOf: + - $ref: panel-common.yaml# + - $ref: /schemas/spi/spi-peripheral-props.yaml# + +properties: + compatible: + items: + - enum: + - dlink,dir-685-panel + - const: ilitek,ili9322 + + reg: + maxItems: 1 + + reset-gpios: true + port: true + + vcc-supply: + description: Core voltage supply + + iovcc-supply: + description: Voltage supply for the interface input/output signals + + vci-supply: + description: Voltage supply for analog parts + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + spi { + #address-cells = <1>; + #size-cells = <0>; + + panel: display@0 { + compatible = "dlink,dir-685-panel", "ilitek,ili9322"; + reg = <0>; + vcc-supply = <&vdisp>; + iovcc-supply = <&vdisp>; + vci-supply = <&vdisp>; + + port { + panel_in: endpoint { + remote-endpoint = <&display_out>; + }; + }; + }; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/jadard,jd9365da-h3.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/jadard,jd9365da-h3.yaml index 6087576625..b8783eba3d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/jadard,jd9365da-h3.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/jadard,jd9365da-h3.yaml @@ -1,75 +1,75 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/panel/jadard,jd9365da-h3.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Jadard JD9365DA-HE WXGA DSI panel - -maintainers: - - Jagan Teki - -allOf: - - $ref: panel-common.yaml# - -properties: - compatible: - items: - - enum: - - chongzhou,cz101b4001 - - kingdisplay,kd101ne3-40ti - - melfas,lmfbx101117480 - - radxa,display-10hd-ad001 - - radxa,display-8hd-ad002 - - const: jadard,jd9365da-h3 - - reg: - maxItems: 1 - - vdd-supply: - description: supply regulator for VDD, usually 3.3V - - vccio-supply: - description: supply regulator for VCCIO, usually 1.8V - - reset-gpios: true - - backlight: true - - port: true - -required: - - compatible - - reg - - vdd-supply - - vccio-supply - - reset-gpios - -additionalProperties: false - -examples: - - | - #include - #include - - dsi { - #address-cells = <1>; - #size-cells = <0>; - - panel@0 { - compatible = "chongzhou,cz101b4001", "jadard,jd9365da-h3"; - reg = <0>; - vdd-supply = <&lcd_3v3>; - vccio-supply = <&vcca_1v8>; - reset-gpios = <&gpio1 RK_PC2 GPIO_ACTIVE_HIGH>; - backlight = <&backlight>; - - port { - mipi_in_panel: endpoint { - remote-endpoint = <&mipi_out_panel>; - }; - }; - }; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/jadard,jd9365da-h3.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Jadard JD9365DA-HE WXGA DSI panel + +maintainers: + - Jagan Teki + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + items: + - enum: + - chongzhou,cz101b4001 + - kingdisplay,kd101ne3-40ti + - melfas,lmfbx101117480 + - radxa,display-10hd-ad001 + - radxa,display-8hd-ad002 + - const: jadard,jd9365da-h3 + + reg: + maxItems: 1 + + vdd-supply: + description: supply regulator for VDD, usually 3.3V + + vccio-supply: + description: supply regulator for VCCIO, usually 1.8V + + reset-gpios: true + + backlight: true + + port: true + +required: + - compatible + - reg + - vdd-supply + - vccio-supply + - reset-gpios + +additionalProperties: false + +examples: + - | + #include + #include + + dsi { + #address-cells = <1>; + #size-cells = <0>; + + panel@0 { + compatible = "chongzhou,cz101b4001", "jadard,jd9365da-h3"; + reg = <0>; + vdd-supply = <&lcd_3v3>; + vccio-supply = <&vcca_1v8>; + reset-gpios = <&gpio1 RK_PC2 GPIO_ACTIVE_HIGH>; + backlight = <&backlight>; + + port { + mipi_in_panel: endpoint { + remote-endpoint = <&mipi_out_panel>; + }; + }; + }; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/jdi,lt070me05000.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/jdi,lt070me05000.yaml index 52cd7ca10e..0c8b5cb78b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/jdi,lt070me05000.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/jdi,lt070me05000.yaml @@ -1,74 +1,74 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/panel/jdi,lt070me05000.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: JDI model LT070ME05000 1200x1920 7" DSI Panel - -maintainers: - - Vinay Simha BN - -allOf: - - $ref: panel-common.yaml# - -properties: - compatible: - const: jdi,lt070me05000 - - reg: - maxItems: 1 - - enable-gpios: true - reset-gpios: true - - vddp-supply: - description: | - The regulator that provides the supply voltage Power IC supply (3-5V) - - iovcc-supply: - description: | - The regulator that provides the supply voltage IOVCC, - power supply for LCM (1.8V) - - dcdc-en-gpios: - maxItems: 1 - description: | - phandle of the gpio for power ic line - Power IC supply enable, High active - - port: true - -required: - - compatible - - reg - - vddp-supply - - iovcc-supply - - enable-gpios - - reset-gpios - - dcdc-en-gpios - -additionalProperties: false - -examples: - - | - #include - - dsi { - #address-cells = <1>; - #size-cells = <0>; - - panel@0 { - compatible = "jdi,lt070me05000"; - reg = <0>; - - vddp-supply = <&pm8921_l17>; - iovcc-supply = <&pm8921_lvs7>; - - enable-gpios = <&pm8921_gpio 36 GPIO_ACTIVE_HIGH>; - reset-gpios = <&tlmm_pinmux 54 GPIO_ACTIVE_LOW>; - dcdc-en-gpios = <&pm8921_gpio 23 GPIO_ACTIVE_HIGH>; - }; - }; - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/jdi,lt070me05000.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: JDI model LT070ME05000 1200x1920 7" DSI Panel + +maintainers: + - Vinay Simha BN + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + const: jdi,lt070me05000 + + reg: + maxItems: 1 + + enable-gpios: true + reset-gpios: true + + vddp-supply: + description: | + The regulator that provides the supply voltage Power IC supply (3-5V) + + iovcc-supply: + description: | + The regulator that provides the supply voltage IOVCC, + power supply for LCM (1.8V) + + dcdc-en-gpios: + maxItems: 1 + description: | + phandle of the gpio for power ic line + Power IC supply enable, High active + + port: true + +required: + - compatible + - reg + - vddp-supply + - iovcc-supply + - enable-gpios + - reset-gpios + - dcdc-en-gpios + +additionalProperties: false + +examples: + - | + #include + + dsi { + #address-cells = <1>; + #size-cells = <0>; + + panel@0 { + compatible = "jdi,lt070me05000"; + reg = <0>; + + vddp-supply = <&pm8921_l17>; + iovcc-supply = <&pm8921_lvs7>; + + enable-gpios = <&pm8921_gpio 36 GPIO_ACTIVE_HIGH>; + reset-gpios = <&tlmm_pinmux 54 GPIO_ACTIVE_LOW>; + dcdc-en-gpios = <&pm8921_gpio 23 GPIO_ACTIVE_HIGH>; + }; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/mantix,mlaf057we51-x.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/mantix,mlaf057we51-x.yaml index 716245d720..74ff772973 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/mantix,mlaf057we51-x.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/mantix,mlaf057we51-x.yaml @@ -1,76 +1,76 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/panel/mantix,mlaf057we51-x.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Mantix MLAF057WE51-X 5.7" 720x1440 TFT LCD panel - -maintainers: - - Guido Günther - -description: - Mantix MLAF057WE51 X is a 720x1440 TFT LCD panel connected using - a MIPI-DSI video interface. - -allOf: - - $ref: panel-common.yaml# - -properties: - compatible: - enum: - - mantix,mlaf057we51-x - - ys,ys57pss36bh5gq - - port: true - reg: - maxItems: 1 - description: DSI virtual channel - - avdd-supply: - description: Positive analog power supply - - avee-supply: - description: Negative analog power supply - - vddi-supply: - description: 1.8V I/O voltage supply - - reset-gpios: true - - mantix,tp-rstn-gpios: - maxItems: 1 - description: second reset line that triggers DSI config load - - backlight: true - -required: - - compatible - - reg - - avdd-supply - - avee-supply - - vddi-supply - - reset-gpios - -additionalProperties: false - -examples: - - | - #include - - dsi { - #address-cells = <1>; - #size-cells = <0>; - panel@0 { - compatible = "mantix,mlaf057we51-x"; - reg = <0>; - avdd-supply = <®_avdd>; - avee-supply = <®_avee>; - vddi-supply = <®_1v8_p>; - reset-gpios = <&gpio1 29 GPIO_ACTIVE_LOW>; - mantix,tp-rstn-gpios = <&gpio1 24 GPIO_ACTIVE_LOW>; - backlight = <&backlight>; - }; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/mantix,mlaf057we51-x.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Mantix MLAF057WE51-X 5.7" 720x1440 TFT LCD panel + +maintainers: + - Guido Günther + +description: + Mantix MLAF057WE51 X is a 720x1440 TFT LCD panel connected using + a MIPI-DSI video interface. + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + enum: + - mantix,mlaf057we51-x + - ys,ys57pss36bh5gq + + port: true + reg: + maxItems: 1 + description: DSI virtual channel + + avdd-supply: + description: Positive analog power supply + + avee-supply: + description: Negative analog power supply + + vddi-supply: + description: 1.8V I/O voltage supply + + reset-gpios: true + + mantix,tp-rstn-gpios: + maxItems: 1 + description: second reset line that triggers DSI config load + + backlight: true + +required: + - compatible + - reg + - avdd-supply + - avee-supply + - vddi-supply + - reset-gpios + +additionalProperties: false + +examples: + - | + #include + + dsi { + #address-cells = <1>; + #size-cells = <0>; + panel@0 { + compatible = "mantix,mlaf057we51-x"; + reg = <0>; + avdd-supply = <®_avdd>; + avee-supply = <®_avee>; + vddi-supply = <®_1v8_p>; + reset-gpios = <&gpio1 29 GPIO_ACTIVE_LOW>; + mantix,tp-rstn-gpios = <&gpio1 24 GPIO_ACTIVE_LOW>; + backlight = <&backlight>; + }; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/mitsubishi,aa104xd12.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/mitsubishi,aa104xd12.yaml index e3011a7580..3623ffa651 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/mitsubishi,aa104xd12.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/mitsubishi,aa104xd12.yaml @@ -1,90 +1,90 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/panel/mitsubishi,aa104xd12.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Mitsubishi AA104XD12 10.4" XGA LVDS Display Panel - -maintainers: - - Laurent Pinchart - - Thierry Reding - -allOf: - - $ref: panel-common.yaml# - - $ref: /schemas/display/lvds.yaml# - -select: - properties: - compatible: - contains: - const: mitsubishi,aa104xd12 - - required: - - compatible - -properties: - compatible: - items: - - const: mitsubishi,aa104xd12 - - const: panel-lvds - - vcc-supply: - description: Reference to the regulator powering the panel VCC pins. - - data-mapping: - const: jeida-24 - - width-mm: - const: 210 - - height-mm: - const: 158 - - panel-timing: true - port: true - -additionalProperties: false - -required: - - compatible - - vcc-supply - - data-mapping - - width-mm - - height-mm - - panel-timing - - port - -examples: - - |+ - - panel { - compatible = "mitsubishi,aa104xd12", "panel-lvds"; - vcc-supply = <&vcc_3v3>; - - width-mm = <210>; - height-mm = <158>; - - data-mapping = "jeida-24"; - - panel-timing { - /* 1024x768 @65Hz */ - clock-frequency = <65000000>; - hactive = <1024>; - vactive = <768>; - hsync-len = <136>; - hfront-porch = <20>; - hback-porch = <160>; - vfront-porch = <3>; - vback-porch = <29>; - vsync-len = <6>; - }; - - port { - panel_in: endpoint { - remote-endpoint = <&lvds_encoder>; - }; - }; - }; - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/mitsubishi,aa104xd12.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Mitsubishi AA104XD12 10.4" XGA LVDS Display Panel + +maintainers: + - Laurent Pinchart + - Thierry Reding + +allOf: + - $ref: panel-common.yaml# + - $ref: /schemas/display/lvds.yaml# + +select: + properties: + compatible: + contains: + const: mitsubishi,aa104xd12 + + required: + - compatible + +properties: + compatible: + items: + - const: mitsubishi,aa104xd12 + - const: panel-lvds + + vcc-supply: + description: Reference to the regulator powering the panel VCC pins. + + data-mapping: + const: jeida-24 + + width-mm: + const: 210 + + height-mm: + const: 158 + + panel-timing: true + port: true + +additionalProperties: false + +required: + - compatible + - vcc-supply + - data-mapping + - width-mm + - height-mm + - panel-timing + - port + +examples: + - |+ + + panel { + compatible = "mitsubishi,aa104xd12", "panel-lvds"; + vcc-supply = <&vcc_3v3>; + + width-mm = <210>; + height-mm = <158>; + + data-mapping = "jeida-24"; + + panel-timing { + /* 1024x768 @65Hz */ + clock-frequency = <65000000>; + hactive = <1024>; + vactive = <768>; + hsync-len = <136>; + hfront-porch = <20>; + hback-porch = <160>; + vfront-porch = <3>; + vback-porch = <29>; + vsync-len = <6>; + }; + + port { + panel_in: endpoint { + remote-endpoint = <&lvds_encoder>; + }; + }; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/mitsubishi,aa121td01.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/mitsubishi,aa121td01.yaml index af040feef8..37f01d847a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/mitsubishi,aa121td01.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/mitsubishi,aa121td01.yaml @@ -1,89 +1,89 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/panel/mitsubishi,aa121td01.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Mitsubishi AA121TD01 12.1" WXGA LVDS Display Panel - -maintainers: - - Laurent Pinchart - - Thierry Reding - -allOf: - - $ref: panel-common.yaml# - - $ref: /schemas/display/lvds.yaml# - -select: - properties: - compatible: - contains: - const: mitsubishi,aa121td01 - - required: - - compatible - -properties: - compatible: - items: - - const: mitsubishi,aa121td01 - - const: panel-lvds - - vcc-supply: - description: Reference to the regulator powering the panel VCC pins. - - data-mapping: - const: jeida-24 - - width-mm: - const: 261 - - height-mm: - const: 163 - - panel-timing: true - port: true - -additionalProperties: false - -required: - - compatible - - vcc-supply - - data-mapping - - width-mm - - height-mm - - panel-timing - - port - -examples: - - |+ - panel { - compatible = "mitsubishi,aa121td01", "panel-lvds"; - vcc-supply = <&vcc_3v3>; - - width-mm = <261>; - height-mm = <163>; - - data-mapping = "jeida-24"; - - 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_encoder>; - }; - }; - }; - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/mitsubishi,aa121td01.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Mitsubishi AA121TD01 12.1" WXGA LVDS Display Panel + +maintainers: + - Laurent Pinchart + - Thierry Reding + +allOf: + - $ref: panel-common.yaml# + - $ref: /schemas/display/lvds.yaml# + +select: + properties: + compatible: + contains: + const: mitsubishi,aa121td01 + + required: + - compatible + +properties: + compatible: + items: + - const: mitsubishi,aa121td01 + - const: panel-lvds + + vcc-supply: + description: Reference to the regulator powering the panel VCC pins. + + data-mapping: + const: jeida-24 + + width-mm: + const: 261 + + height-mm: + const: 163 + + panel-timing: true + port: true + +additionalProperties: false + +required: + - compatible + - vcc-supply + - data-mapping + - width-mm + - height-mm + - panel-timing + - port + +examples: + - |+ + panel { + compatible = "mitsubishi,aa121td01", "panel-lvds"; + vcc-supply = <&vcc_3v3>; + + width-mm = <261>; + height-mm = <163>; + + data-mapping = "jeida-24"; + + 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_encoder>; + }; + }; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/newvision,nv3051d.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/newvision,nv3051d.yaml index 3e8a851f53..d3a25a8fd7 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/newvision,nv3051d.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/newvision,nv3051d.yaml @@ -1,64 +1,64 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/panel/newvision,nv3051d.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: NewVision NV3051D based LCD panel - -description: | - The NewVision NV3051D is a driver chip used to drive DSI panels. - -maintainers: - - Chris Morgan - -allOf: - - $ref: panel-common.yaml# - -properties: - compatible: - items: - - enum: - - anbernic,rg351v-panel - - anbernic,rg353p-panel - - powkiddy,rk2023-panel - - const: newvision,nv3051d - - reg: - maxItems: 1 - - backlight: true - port: true - reset-gpios: - description: Active low reset GPIO - vdd-supply: true - -required: - - compatible - - reg - - backlight - -additionalProperties: false - -examples: - - | - #include - dsi { - #address-cells = <1>; - #size-cells = <0>; - panel@0 { - compatible = "anbernic,rg353p-panel", "newvision,nv3051d"; - reg = <0>; - backlight = <&backlight>; - reset-gpios = <&gpio4 0 GPIO_ACTIVE_LOW>; - vdd-supply = <&vcc3v3_lcd>; - - port { - mipi_in_panel: endpoint { - remote-endpoint = <&mipi_out_panel>; - }; - }; - }; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/newvision,nv3051d.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NewVision NV3051D based LCD panel + +description: | + The NewVision NV3051D is a driver chip used to drive DSI panels. + +maintainers: + - Chris Morgan + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + items: + - enum: + - anbernic,rg351v-panel + - anbernic,rg353p-panel + - powkiddy,rk2023-panel + - const: newvision,nv3051d + + reg: + maxItems: 1 + + backlight: true + port: true + reset-gpios: + description: Active low reset GPIO + vdd-supply: true + +required: + - compatible + - reg + - backlight + +additionalProperties: false + +examples: + - | + #include + dsi { + #address-cells = <1>; + #size-cells = <0>; + panel@0 { + compatible = "anbernic,rg353p-panel", "newvision,nv3051d"; + reg = <0>; + backlight = <&backlight>; + reset-gpios = <&gpio4 0 GPIO_ACTIVE_LOW>; + vdd-supply = <&vcc3v3_lcd>; + + port { + mipi_in_panel: endpoint { + remote-endpoint = <&mipi_out_panel>; + }; + }; + }; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/novatek,nt35510.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/novatek,nt35510.yaml index e7ca139631..bb50fd5506 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/novatek,nt35510.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/novatek,nt35510.yaml @@ -1,62 +1,62 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/panel/novatek,nt35510.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Novatek NT35510-based display panels - -maintainers: - - Linus Walleij - -allOf: - - $ref: panel-common.yaml# - -properties: - compatible: - items: - - enum: - - frida,frd400b25025 - - hydis,hva40wv1 - - const: novatek,nt35510 - description: This indicates the panel manufacturer of the panel - that is in turn using the NT35510 panel driver. The compatible - string determines how the NT35510 panel driver shall be configured - to work with the indicated panel. The novatek,nt35510 compatible shall - always be provided as a fallback. - - reg: - maxItems: 1 - - reset-gpios: true - vdd-supply: - description: regulator that supplies the vdd voltage - vddi-supply: - description: regulator that supplies the vddi voltage - backlight: true - port: true - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - #include - - dsi { - #address-cells = <1>; - #size-cells = <0>; - panel@0 { - compatible = "hydis,hva40wv1", "novatek,nt35510"; - reg = <0>; - vdd-supply = <&ab8500_ldo_aux4_reg>; - vddi-supply = <&ab8500_ldo_aux6_reg>; - reset-gpios = <&gpio4 11 GPIO_ACTIVE_LOW>; - backlight = <&gpio_bl>; - }; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/novatek,nt35510.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Novatek NT35510-based display panels + +maintainers: + - Linus Walleij + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + items: + - enum: + - frida,frd400b25025 + - hydis,hva40wv1 + - const: novatek,nt35510 + description: This indicates the panel manufacturer of the panel + that is in turn using the NT35510 panel driver. The compatible + string determines how the NT35510 panel driver shall be configured + to work with the indicated panel. The novatek,nt35510 compatible shall + always be provided as a fallback. + + reg: + maxItems: 1 + + reset-gpios: true + vdd-supply: + description: regulator that supplies the vdd voltage + vddi-supply: + description: regulator that supplies the vddi voltage + backlight: true + port: true + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + #include + + dsi { + #address-cells = <1>; + #size-cells = <0>; + panel@0 { + compatible = "hydis,hva40wv1", "novatek,nt35510"; + reg = <0>; + vdd-supply = <&ab8500_ldo_aux4_reg>; + vddi-supply = <&ab8500_ldo_aux6_reg>; + reset-gpios = <&gpio4 11 GPIO_ACTIVE_LOW>; + backlight = <&gpio_bl>; + }; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/olimex,lcd-olinuxino.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/olimex,lcd-olinuxino.yaml index b64e3a99a5..e5d8785fdf 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/olimex,lcd-olinuxino.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/olimex,lcd-olinuxino.yaml @@ -1,72 +1,72 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/panel/olimex,lcd-olinuxino.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Olimex Ltd. LCD-OLinuXino bridge panel. - -maintainers: - - Stefan Mavrodiev - -description: | - This device can be used as bridge between a host controller and LCD panels. - Currently supported LCDs are: - - LCD-OLinuXino-4.3TS - - LCD-OLinuXino-5 - - LCD-OLinuXino-7 - - LCD-OLinuXino-10 - - The panel itself contains: - - AT24C16C EEPROM holding panel identification and timing requirements - - AR1021 resistive touch screen controller (optional) - - FT5x6 capacitive touch screen controller (optional) - - GT911/GT928 capacitive touch screen controller (optional) - - The above chips share same I2C bus. The EEPROM is factory preprogrammed with - device information (id, serial, etc.) and timing requirements. - - Touchscreen bingings can be found in these files: - - input/touchscreen/goodix.yaml - - input/touchscreen/edt-ft5x06.txt - - input/touchscreen/ar1021.txt - -allOf: - - $ref: panel-common.yaml# - -properties: - compatible: - const: olimex,lcd-olinuxino - - reg: - maxItems: 1 - - backlight: true - enable-gpios: true - power-supply: true - -required: - - compatible - - reg - - power-supply - -additionalProperties: false - -examples: - - | - #include - - i2c { - #address-cells = <1>; - #size-cells = <0>; - - panel@50 { - compatible = "olimex,lcd-olinuxino"; - reg = <0x50>; - power-supply = <®_vcc5v0>; - enable-gpios = <&pio 7 8 GPIO_ACTIVE_HIGH>; - backlight = <&backlight>; - }; - }; - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/olimex,lcd-olinuxino.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Olimex Ltd. LCD-OLinuXino bridge panel. + +maintainers: + - Stefan Mavrodiev + +description: | + This device can be used as bridge between a host controller and LCD panels. + Currently supported LCDs are: + - LCD-OLinuXino-4.3TS + - LCD-OLinuXino-5 + - LCD-OLinuXino-7 + - LCD-OLinuXino-10 + + The panel itself contains: + - AT24C16C EEPROM holding panel identification and timing requirements + - AR1021 resistive touch screen controller (optional) + - FT5x6 capacitive touch screen controller (optional) + - GT911/GT928 capacitive touch screen controller (optional) + + The above chips share same I2C bus. The EEPROM is factory preprogrammed with + device information (id, serial, etc.) and timing requirements. + + Touchscreen bingings can be found in these files: + - input/touchscreen/goodix.yaml + - input/touchscreen/edt-ft5x06.txt + - input/touchscreen/ar1021.txt + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + const: olimex,lcd-olinuxino + + reg: + maxItems: 1 + + backlight: true + enable-gpios: true + power-supply: true + +required: + - compatible + - reg + - power-supply + +additionalProperties: false + +examples: + - | + #include + + i2c { + #address-cells = <1>; + #size-cells = <0>; + + panel@50 { + compatible = "olimex,lcd-olinuxino"; + reg = <0x50>; + power-supply = <®_vcc5v0>; + enable-gpios = <&pio 7 8 GPIO_ACTIVE_HIGH>; + backlight = <&backlight>; + }; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/panel-dpi.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/panel-dpi.yaml index 2614b58ad4..dae0676b5c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/panel-dpi.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/panel-dpi.yaml @@ -1,71 +1,71 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/panel/panel-dpi.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Generic MIPI DPI Panel - -maintainers: - - Sam Ravnborg - -allOf: - - $ref: panel-common.yaml# - -properties: - compatible: - description: - Shall contain a panel specific compatible and "panel-dpi" - in that order. - items: - - {} - - const: panel-dpi - - backlight: true - enable-gpios: true - height-mm: true - label: true - panel-timing: true - port: true - power-supply: true - reset-gpios: true - width-mm: true - -required: - - panel-timing - - power-supply - -additionalProperties: false - -examples: - - | - panel { - compatible = "startek,startek-kd050c", "panel-dpi"; - label = "osddisplay"; - power-supply = <&vcc_supply>; - backlight = <&backlight>; - - port { - lcd_in: endpoint { - remote-endpoint = <&dpi_out>; - }; - }; - panel-timing { - clock-frequency = <9200000>; - hactive = <800>; - vactive = <480>; - hfront-porch = <8>; - hback-porch = <4>; - hsync-len = <41>; - vback-porch = <2>; - vfront-porch = <4>; - vsync-len = <10>; - - hsync-active = <0>; - vsync-active = <0>; - de-active = <1>; - pixelclk-active = <1>; - }; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/panel-dpi.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Generic MIPI DPI Panel + +maintainers: + - Sam Ravnborg + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + description: + Shall contain a panel specific compatible and "panel-dpi" + in that order. + items: + - {} + - const: panel-dpi + + backlight: true + enable-gpios: true + height-mm: true + label: true + panel-timing: true + port: true + power-supply: true + reset-gpios: true + width-mm: true + +required: + - panel-timing + - power-supply + +additionalProperties: false + +examples: + - | + panel { + compatible = "startek,startek-kd050c", "panel-dpi"; + label = "osddisplay"; + power-supply = <&vcc_supply>; + backlight = <&backlight>; + + port { + lcd_in: endpoint { + remote-endpoint = <&dpi_out>; + }; + }; + panel-timing { + clock-frequency = <9200000>; + hactive = <800>; + vactive = <480>; + hfront-porch = <8>; + hback-porch = <4>; + hsync-len = <41>; + vback-porch = <2>; + vfront-porch = <4>; + vsync-len = <10>; + + hsync-active = <0>; + vsync-active = <0>; + de-active = <1>; + pixelclk-active = <1>; + }; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/panel-lvds.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/panel-lvds.yaml index 684b97a515..155d8ffa8f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/panel-lvds.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/panel-lvds.yaml @@ -1,67 +1,67 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/panel/panel-lvds.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Generic LVDS Display Panel - -maintainers: - - Lad Prabhakar - - Thierry Reding - -allOf: - - $ref: panel-common.yaml# - - $ref: /schemas/display/lvds.yaml# - -select: - properties: - compatible: - contains: - const: panel-lvds - - not: - properties: - compatible: - contains: - enum: - - advantech,idk-1110wr - - advantech,idk-2121wr - - innolux,ee101ia-01d - - mitsubishi,aa104xd12 - - mitsubishi,aa121td01 - - sgd,gktw70sdae4se - - required: - - compatible - -properties: - compatible: - items: - - enum: - # Admatec 9904379 10.1" 1024x600 LVDS panel - - admatec,9904379 - - auo,b101ew05 - # Chunghwa Picture Tubes Ltd. 7" WXGA (800x1280) TFT LCD LVDS panel - - chunghwa,claa070wp03xg - # EDT ETML0700Z9NDHA 7.0" WSVGA (1024x600) color TFT LCD LVDS panel - - edt,etml0700z9ndha - # HannStar Display Corp. HSD101PWW2 10.1" WXGA (1280x800) LVDS panel - - hannstar,hsd101pww2 - # Hydis Technologies 7" WXGA (800x1280) TFT LCD LVDS panel - - hydis,hv070wx2-1e0 - - tbs,a711-panel - - - const: panel-lvds - -unevaluatedProperties: false - -required: - - compatible - - data-mapping - - width-mm - - height-mm - - panel-timing - - port - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/panel-lvds.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Generic LVDS Display Panel + +maintainers: + - Lad Prabhakar + - Thierry Reding + +allOf: + - $ref: panel-common.yaml# + - $ref: /schemas/display/lvds.yaml# + +select: + properties: + compatible: + contains: + const: panel-lvds + + not: + properties: + compatible: + contains: + enum: + - advantech,idk-1110wr + - advantech,idk-2121wr + - innolux,ee101ia-01d + - mitsubishi,aa104xd12 + - mitsubishi,aa121td01 + - sgd,gktw70sdae4se + + required: + - compatible + +properties: + compatible: + items: + - enum: + # Admatec 9904379 10.1" 1024x600 LVDS panel + - admatec,9904379 + - auo,b101ew05 + # Chunghwa Picture Tubes Ltd. 7" WXGA (800x1280) TFT LCD LVDS panel + - chunghwa,claa070wp03xg + # EDT ETML0700Z9NDHA 7.0" WSVGA (1024x600) color TFT LCD LVDS panel + - edt,etml0700z9ndha + # HannStar Display Corp. HSD101PWW2 10.1" WXGA (1280x800) LVDS panel + - hannstar,hsd101pww2 + # Hydis Technologies 7" WXGA (800x1280) TFT LCD LVDS panel + - hydis,hv070wx2-1e0 + - tbs,a711-panel + + - const: panel-lvds + +unevaluatedProperties: false + +required: + - compatible + - data-mapping + - width-mm + - height-mm + - panel-timing + - port + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/raspberrypi,7inch-touchscreen.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/raspberrypi,7inch-touchscreen.yaml index eb0de613f1..22a083f7bc 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/raspberrypi,7inch-touchscreen.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/raspberrypi,7inch-touchscreen.yaml @@ -1,71 +1,71 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/panel/raspberrypi,7inch-touchscreen.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: The official 7" (800x480) Raspberry Pi touchscreen - -maintainers: - - Eric Anholt - - Thierry Reding - -description: |+ - This DSI panel contains: - - - TC358762 DSI->DPI bridge - - Atmel microcontroller on I2C for power sequencing the DSI bridge and - controlling backlight - - Touchscreen controller on I2C for touch input - - and this binding covers the DSI display parts but not its touch input. - -properties: - compatible: - const: raspberrypi,7inch-touchscreen-panel - - reg: - const: 0x45 - - port: true - -required: - - compatible - - reg - - port - -additionalProperties: false - -examples: - - |+ - dsi1: dsi { - #address-cells = <1>; - #size-cells = <0>; - - port { - dsi_out_port: endpoint { - remote-endpoint = <&panel_dsi_port>; - }; - }; - }; - - i2c_dsi: i2c { - compatible = "i2c-gpio"; - #address-cells = <1>; - #size-cells = <0>; - scl-gpios = <&gpio 28 0>; - sda-gpios = <&gpio 29 0>; - - lcd@45 { - compatible = "raspberrypi,7inch-touchscreen-panel"; - reg = <0x45>; - - port { - panel_dsi_port: endpoint { - remote-endpoint = <&dsi_out_port>; - }; - }; - }; - }; - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/raspberrypi,7inch-touchscreen.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: The official 7" (800x480) Raspberry Pi touchscreen + +maintainers: + - Eric Anholt + - Thierry Reding + +description: |+ + This DSI panel contains: + + - TC358762 DSI->DPI bridge + - Atmel microcontroller on I2C for power sequencing the DSI bridge and + controlling backlight + - Touchscreen controller on I2C for touch input + + and this binding covers the DSI display parts but not its touch input. + +properties: + compatible: + const: raspberrypi,7inch-touchscreen-panel + + reg: + const: 0x45 + + port: true + +required: + - compatible + - reg + - port + +additionalProperties: false + +examples: + - |+ + dsi1: dsi { + #address-cells = <1>; + #size-cells = <0>; + + port { + dsi_out_port: endpoint { + remote-endpoint = <&panel_dsi_port>; + }; + }; + }; + + i2c_dsi: i2c { + compatible = "i2c-gpio"; + #address-cells = <1>; + #size-cells = <0>; + scl-gpios = <&gpio 28 0>; + sda-gpios = <&gpio 29 0>; + + lcd@45 { + compatible = "raspberrypi,7inch-touchscreen-panel"; + reg = <0x45>; + + port { + panel_dsi_port: endpoint { + remote-endpoint = <&dsi_out_port>; + }; + }; + }; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/raydium,rm67191.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/raydium,rm67191.yaml index 243a683c1c..4825792bf7 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/raydium,rm67191.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/raydium,rm67191.yaml @@ -1,79 +1,79 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/panel/raydium,rm67191.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Raydium RM67171 OLED LCD panel with MIPI-DSI protocol - -maintainers: - - Robert Chiras - -allOf: - - $ref: panel-common.yaml# - -properties: - compatible: - const: raydium,rm67191 - - reg: - maxItems: 1 - - port: true - reset-gpios: true - width-mm: true - height-mm: true - - dsi-lanes: - description: Number of DSI lanes to be used must be <3> or <4> - $ref: /schemas/types.yaml#/definitions/uint32 - enum: [3, 4] - - v3p3-supply: - description: phandle to 3.3V regulator that powers the VDD_3V3 pin - - v1p8-supply: - description: phandle to 1.8V regulator that powers the VDD_1V8 pin - - video-mode: - description: | - 0 - burst-mode - 1 - non-burst with sync event - 2 - non-burst with sync pulse - $ref: /schemas/types.yaml#/definitions/uint32 - enum: [0, 1, 2] - -required: - - compatible - - reg - - dsi-lanes - - port - -additionalProperties: false - -examples: - - | - #include - - dsi { - #address-cells = <1>; - #size-cells = <0>; - - panel@0 { - compatible = "raydium,rm67191"; - reg = <0>; - reset-gpios = <&gpio1 7 GPIO_ACTIVE_LOW>; - dsi-lanes = <4>; - width-mm = <68>; - height-mm = <121>; - video-mode = <1>; - - port { - panel_in: endpoint { - remote-endpoint = <&mipi_out>; - }; - }; - }; - }; - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/raydium,rm67191.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Raydium RM67171 OLED LCD panel with MIPI-DSI protocol + +maintainers: + - Robert Chiras + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + const: raydium,rm67191 + + reg: + maxItems: 1 + + port: true + reset-gpios: true + width-mm: true + height-mm: true + + dsi-lanes: + description: Number of DSI lanes to be used must be <3> or <4> + $ref: /schemas/types.yaml#/definitions/uint32 + enum: [3, 4] + + v3p3-supply: + description: phandle to 3.3V regulator that powers the VDD_3V3 pin + + v1p8-supply: + description: phandle to 1.8V regulator that powers the VDD_1V8 pin + + video-mode: + description: | + 0 - burst-mode + 1 - non-burst with sync event + 2 - non-burst with sync pulse + $ref: /schemas/types.yaml#/definitions/uint32 + enum: [0, 1, 2] + +required: + - compatible + - reg + - dsi-lanes + - port + +additionalProperties: false + +examples: + - | + #include + + dsi { + #address-cells = <1>; + #size-cells = <0>; + + panel@0 { + compatible = "raydium,rm67191"; + reg = <0>; + reset-gpios = <&gpio1 7 GPIO_ACTIVE_LOW>; + dsi-lanes = <4>; + width-mm = <68>; + height-mm = <121>; + video-mode = <1>; + + port { + panel_in: endpoint { + remote-endpoint = <&mipi_out>; + }; + }; + }; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/raydium,rm692e5.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/raydium,rm692e5.yaml index f44af715b6..7ad223f982 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/raydium,rm692e5.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/raydium,rm692e5.yaml @@ -1,75 +1,75 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/panel/raydium,rm692e5.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Raydium RM692E5 based DSI display panels - -maintainers: - - Konrad Dybcio - -description: - The Raydium RM692E5 is a generic DSI Panel IC used to control - AMOLED panels. - -allOf: - - $ref: panel-common.yaml# - -properties: - compatible: - items: - - const: fairphone,fp5-rm692e5-boe - - const: raydium,rm692e5 - - reg: - maxItems: 1 - - dvdd-supply: - description: Digital voltage rail - - vci-supply: - description: Analog voltage rail - - vddio-supply: - description: I/O voltage rail - - port: true - -required: - - compatible - - reg - - reset-gpios - - dvdd-supply - - vci-supply - - vddio-supply - - port - -unevaluatedProperties: false - -examples: - - | - #include - - dsi { - #address-cells = <1>; - #size-cells = <0>; - - panel@0 { - compatible = "fairphone,fp5-rm692e5-boe", "raydium,rm692e5"; - reg = <0>; - - reset-gpios = <&tlmm 44 GPIO_ACTIVE_LOW>; - dvdd-supply = <&vreg_oled_vci>; - vci-supply = <&vreg_l12c>; - vddio-supply = <&vreg_oled_dvdd>; - - port { - panel_in_0: endpoint { - remote-endpoint = <&dsi0_out>; - }; - }; - }; - }; - -... +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/raydium,rm692e5.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Raydium RM692E5 based DSI display panels + +maintainers: + - Konrad Dybcio + +description: + The Raydium RM692E5 is a generic DSI Panel IC used to control + AMOLED panels. + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + items: + - const: fairphone,fp5-rm692e5-boe + - const: raydium,rm692e5 + + reg: + maxItems: 1 + + dvdd-supply: + description: Digital voltage rail + + vci-supply: + description: Analog voltage rail + + vddio-supply: + description: I/O voltage rail + + port: true + +required: + - compatible + - reg + - reset-gpios + - dvdd-supply + - vci-supply + - vddio-supply + - port + +unevaluatedProperties: false + +examples: + - | + #include + + dsi { + #address-cells = <1>; + #size-cells = <0>; + + panel@0 { + compatible = "fairphone,fp5-rm692e5-boe", "raydium,rm692e5"; + reg = <0>; + + reset-gpios = <&tlmm 44 GPIO_ACTIVE_LOW>; + dvdd-supply = <&vreg_oled_vci>; + vci-supply = <&vreg_l12c>; + vddio-supply = <&vreg_oled_dvdd>; + + port { + panel_in_0: endpoint { + remote-endpoint = <&dsi0_out>; + }; + }; + }; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/rocktech,jh057n00900.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/rocktech,jh057n00900.yaml index 4013573c71..4ae152cc55 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/rocktech,jh057n00900.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/rocktech,jh057n00900.yaml @@ -1,78 +1,78 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/panel/rocktech,jh057n00900.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Rocktech JH057N00900 5.5" 720x1440 TFT LCD panel - -maintainers: - - Ondrej Jirman - - Guido Gŭnther - -description: - Rocktech JH057N00900 is a 720x1440 TFT LCD panel - connected using a MIPI-DSI video interface. - -allOf: - - $ref: panel-common.yaml# - -properties: - compatible: - enum: - # Anberic RG353V-V2 5.0" 640x480 TFT LCD panel - - anbernic,rg353v-panel-v2 - # GameForce Chi 3.5" 640x480 TFT LCD panel - - gameforce,chi-panel - # Powkiddy RGB10MAX3 5.0" 720x1280 TFT LCD panel - - powkiddy,rgb10max3-panel - # Powkiddy RGB30 3.0" 720x720 TFT LCD panel - - powkiddy,rgb30-panel - # Rocktech JH057N00900 5.5" 720x1440 TFT LCD panel - - rocktech,jh057n00900 - # Xingbangda XBD599 5.99" 720x1440 TFT LCD panel - - xingbangda,xbd599 - - port: true - reg: - maxItems: 1 - description: DSI virtual channel - - vcc-supply: - description: Panel power supply - - iovcc-supply: - description: I/O voltage supply - - reset-gpios: true - - backlight: true - rotation: true - -required: - - compatible - - reg - - vcc-supply - - iovcc-supply - - reset-gpios - -additionalProperties: false - -examples: - - | - #include - - dsi { - #address-cells = <1>; - #size-cells = <0>; - panel@0 { - compatible = "rocktech,jh057n00900"; - reg = <0>; - vcc-supply = <®_2v8_p>; - iovcc-supply = <®_1v8_p>; - reset-gpios = <&gpio3 13 GPIO_ACTIVE_LOW>; - backlight = <&backlight>; - }; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/rocktech,jh057n00900.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Rocktech JH057N00900 5.5" 720x1440 TFT LCD panel + +maintainers: + - Ondrej Jirman + - Guido Gŭnther + +description: + Rocktech JH057N00900 is a 720x1440 TFT LCD panel + connected using a MIPI-DSI video interface. + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + enum: + # Anberic RG353V-V2 5.0" 640x480 TFT LCD panel + - anbernic,rg353v-panel-v2 + # GameForce Chi 3.5" 640x480 TFT LCD panel + - gameforce,chi-panel + # Powkiddy RGB10MAX3 5.0" 720x1280 TFT LCD panel + - powkiddy,rgb10max3-panel + # Powkiddy RGB30 3.0" 720x720 TFT LCD panel + - powkiddy,rgb30-panel + # Rocktech JH057N00900 5.5" 720x1440 TFT LCD panel + - rocktech,jh057n00900 + # Xingbangda XBD599 5.99" 720x1440 TFT LCD panel + - xingbangda,xbd599 + + port: true + reg: + maxItems: 1 + description: DSI virtual channel + + vcc-supply: + description: Panel power supply + + iovcc-supply: + description: I/O voltage supply + + reset-gpios: true + + backlight: true + rotation: true + +required: + - compatible + - reg + - vcc-supply + - iovcc-supply + - reset-gpios + +additionalProperties: false + +examples: + - | + #include + + dsi { + #address-cells = <1>; + #size-cells = <0>; + panel@0 { + compatible = "rocktech,jh057n00900"; + reg = <0>; + vcc-supply = <®_2v8_p>; + iovcc-supply = <®_1v8_p>; + reset-gpios = <&gpio3 13 GPIO_ACTIVE_LOW>; + backlight = <&backlight>; + }; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/samsung,amoled-mipi-dsi.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/samsung,amoled-mipi-dsi.yaml index 78660e12b5..e8f9e9d06a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/samsung,amoled-mipi-dsi.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/samsung,amoled-mipi-dsi.yaml @@ -1,77 +1,77 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/panel/samsung,amoled-mipi-dsi.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Samsung AMOLED MIPI-DSI panels - -maintainers: - - Hoegeun Kwon - -allOf: - - $ref: panel-common.yaml# - - - if: - properties: - compatible: - contains: - enum: - - samsung,s6e3ha2 - - samsung,s6e3hf2 - then: - required: - - enable-gpios - -properties: - compatible: - enum: - # Samsung S6E63J0X03 1.63" 320x320 AMOLED panel - - samsung,s6e63j0x03 - # Samsung S6E3HA2 5.7" 1440x2560 AMOLED panel - - samsung,s6e3ha2 - # Samsung S6E3HF2 5.65" 1600x2560 AMOLED panel - - samsung,s6e3hf2 - - reg: - maxItems: 1 - - reset-gpios: true - enable-gpios: true - te-gpios: true - - vdd3-supply: - description: I/O voltage supply - - vci-supply: - description: voltage supply for analog circuits - -required: - - compatible - - reg - - vdd3-supply - - vci-supply - - reset-gpios - -additionalProperties: false - -examples: - - | - #include - - dsi { - #address-cells = <1>; - #size-cells = <0>; - - panel@0 { - compatible = "samsung,s6e3ha2"; - reg = <0>; - vdd3-supply = <&ldo27_reg>; - vci-supply = <&ldo28_reg>; - reset-gpios = <&gpg0 0 GPIO_ACTIVE_LOW>; - enable-gpios = <&gpf1 5 GPIO_ACTIVE_HIGH>; - te-gpios = <&gpf1 3 GPIO_ACTIVE_HIGH>; - }; - }; - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/samsung,amoled-mipi-dsi.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Samsung AMOLED MIPI-DSI panels + +maintainers: + - Hoegeun Kwon + +allOf: + - $ref: panel-common.yaml# + + - if: + properties: + compatible: + contains: + enum: + - samsung,s6e3ha2 + - samsung,s6e3hf2 + then: + required: + - enable-gpios + +properties: + compatible: + enum: + # Samsung S6E63J0X03 1.63" 320x320 AMOLED panel + - samsung,s6e63j0x03 + # Samsung S6E3HA2 5.7" 1440x2560 AMOLED panel + - samsung,s6e3ha2 + # Samsung S6E3HF2 5.65" 1600x2560 AMOLED panel + - samsung,s6e3hf2 + + reg: + maxItems: 1 + + reset-gpios: true + enable-gpios: true + te-gpios: true + + vdd3-supply: + description: I/O voltage supply + + vci-supply: + description: voltage supply for analog circuits + +required: + - compatible + - reg + - vdd3-supply + - vci-supply + - reset-gpios + +additionalProperties: false + +examples: + - | + #include + + dsi { + #address-cells = <1>; + #size-cells = <0>; + + panel@0 { + compatible = "samsung,s6e3ha2"; + reg = <0>; + vdd3-supply = <&ldo27_reg>; + vci-supply = <&ldo28_reg>; + reset-gpios = <&gpg0 0 GPIO_ACTIVE_LOW>; + enable-gpios = <&gpf1 5 GPIO_ACTIVE_HIGH>; + te-gpios = <&gpf1 3 GPIO_ACTIVE_HIGH>; + }; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/samsung,s6d7aa0.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/samsung,s6d7aa0.yaml index 75234d8924..939da65114 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/samsung,s6d7aa0.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/samsung,s6d7aa0.yaml @@ -1,71 +1,71 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/panel/samsung,s6d7aa0.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Samsung S6D7AA0 MIPI-DSI LCD panel controller - -maintainers: - - Artur Weber - -allOf: - - $ref: panel-common.yaml# - -properties: - compatible: - items: - - enum: - # 1280x800 LSL080AL02 panel - - samsung,lsl080al02 - # 1024x768 LSL080AL03 panel - - samsung,lsl080al03 - # 1024x768 LTL101AT01 panel - - samsung,ltl101at01 - - const: samsung,s6d7aa0 - - reg: - maxItems: 1 - - backlight: - description: - Backlight to use for the panel. If this property is set on panels - that have DSI-based backlight control (LSL080AL03 and LTL101AT01), - it overrides the DSI-based backlight. - - reset-gpios: - description: Reset GPIO pin, usually GPIO_ACTIVE_LOW. - - power-supply: - description: - Main power supply for the panel; the exact voltage differs between - panels, and is usually somewhere around 3.3-5v. - - vmipi-supply: - description: VMIPI supply, usually 1.8v. - -required: - - compatible - - reg - - reset-gpios - -additionalProperties: false - -examples: - - | - #include - - dsi { - #address-cells = <1>; - #size-cells = <0>; - - panel@0 { - compatible = "samsung,lsl080al02", "samsung,s6d7aa0"; - reg = <0>; - power-supply = <&display_3v3_supply>; - reset-gpios = <&gpf0 4 GPIO_ACTIVE_LOW>; - backlight = <&backlight>; - }; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/samsung,s6d7aa0.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Samsung S6D7AA0 MIPI-DSI LCD panel controller + +maintainers: + - Artur Weber + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + items: + - enum: + # 1280x800 LSL080AL02 panel + - samsung,lsl080al02 + # 1024x768 LSL080AL03 panel + - samsung,lsl080al03 + # 1024x768 LTL101AT01 panel + - samsung,ltl101at01 + - const: samsung,s6d7aa0 + + reg: + maxItems: 1 + + backlight: + description: + Backlight to use for the panel. If this property is set on panels + that have DSI-based backlight control (LSL080AL03 and LTL101AT01), + it overrides the DSI-based backlight. + + reset-gpios: + description: Reset GPIO pin, usually GPIO_ACTIVE_LOW. + + power-supply: + description: + Main power supply for the panel; the exact voltage differs between + panels, and is usually somewhere around 3.3-5v. + + vmipi-supply: + description: VMIPI supply, usually 1.8v. + +required: + - compatible + - reg + - reset-gpios + +additionalProperties: false + +examples: + - | + #include + + dsi { + #address-cells = <1>; + #size-cells = <0>; + + panel@0 { + compatible = "samsung,lsl080al02", "samsung,s6d7aa0"; + reg = <0>; + power-supply = <&display_3v3_supply>; + reset-gpios = <&gpf0 4 GPIO_ACTIVE_LOW>; + backlight = <&backlight>; + }; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/samsung,s6e88a0-ams452ef01.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/samsung,s6e88a0-ams452ef01.yaml index cefddd54b0..42634fc3b5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/samsung,s6e88a0-ams452ef01.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/samsung,s6e88a0-ams452ef01.yaml @@ -1,61 +1,61 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/panel/samsung,s6e88a0-ams452ef01.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Samsung AMS452EF01 AMOLED panel with S6E88A0 video mode DSI controller - -maintainers: - - Michael Srba - -allOf: - - $ref: panel-common.yaml# - -properties: - compatible: - const: samsung,s6e88a0-ams452ef01 - - reg: - maxItems: 1 - - port: true - reset-gpios: true - vdd3-supply: - description: core voltage supply - vci-supply: - description: voltage supply for analog circuits - -required: - - compatible - - reg - - port - - vdd3-supply - - vci-supply - - reset-gpios - -additionalProperties: false - -examples: - - | - #include - - dsi { - #address-cells = <1>; - #size-cells = <0>; - panel@0 { - reg = <0>; - - compatible = "samsung,s6e88a0-ams452ef01"; - - vdd3-supply = <&pm8916_l17>; - vci-supply = <®_vlcd_vci>; - reset-gpios = <&msmgpio 25 GPIO_ACTIVE_HIGH>; - - port { - panel_in: endpoint { - remote-endpoint = <&dsi0_out>; - }; - }; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/samsung,s6e88a0-ams452ef01.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Samsung AMS452EF01 AMOLED panel with S6E88A0 video mode DSI controller + +maintainers: + - Michael Srba + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + const: samsung,s6e88a0-ams452ef01 + + reg: + maxItems: 1 + + port: true + reset-gpios: true + vdd3-supply: + description: core voltage supply + vci-supply: + description: voltage supply for analog circuits + +required: + - compatible + - reg + - port + - vdd3-supply + - vci-supply + - reset-gpios + +additionalProperties: false + +examples: + - | + #include + + dsi { + #address-cells = <1>; + #size-cells = <0>; + panel@0 { + reg = <0>; + + compatible = "samsung,s6e88a0-ams452ef01"; + + vdd3-supply = <&pm8916_l17>; + vci-supply = <®_vlcd_vci>; + reset-gpios = <&msmgpio 25 GPIO_ACTIVE_HIGH>; + + port { + panel_in: endpoint { + remote-endpoint = <&dsi0_out>; + }; + }; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/sgd,gktw70sdae4se.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/sgd,gktw70sdae4se.yaml index 08576b223b..e32d9188a3 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/sgd,gktw70sdae4se.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/sgd,gktw70sdae4se.yaml @@ -1,83 +1,83 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/panel/sgd,gktw70sdae4se.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Solomon Goldentek Display GKTW70SDAE4SE 7" WVGA LVDS Display Panel - -maintainers: - - Neil Armstrong - - Thierry Reding - -allOf: - - $ref: panel-common.yaml# - - $ref: /schemas/display/lvds.yaml# - -select: - properties: - compatible: - contains: - const: sgd,gktw70sdae4se - - required: - - compatible - -properties: - compatible: - items: - - const: sgd,gktw70sdae4se - - const: panel-lvds - - data-mapping: - const: jeida-18 - - width-mm: - const: 153 - - height-mm: - const: 86 - - panel-timing: true - port: true - -additionalProperties: false - -required: - - compatible - - port - - data-mapping - - width-mm - - height-mm - - panel-timing - -examples: - - |+ - panel { - compatible = "sgd,gktw70sdae4se", "panel-lvds"; - - width-mm = <153>; - height-mm = <86>; - - data-mapping = "jeida-18"; - - panel-timing { - clock-frequency = <32000000>; - hactive = <800>; - vactive = <480>; - hback-porch = <39>; - hfront-porch = <39>; - vback-porch = <29>; - vfront-porch = <13>; - hsync-len = <47>; - vsync-len = <2>; - }; - - port { - panel_in: endpoint { - remote-endpoint = <&lvds_encoder>; - }; - }; - }; - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/sgd,gktw70sdae4se.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Solomon Goldentek Display GKTW70SDAE4SE 7" WVGA LVDS Display Panel + +maintainers: + - Neil Armstrong + - Thierry Reding + +allOf: + - $ref: panel-common.yaml# + - $ref: /schemas/display/lvds.yaml# + +select: + properties: + compatible: + contains: + const: sgd,gktw70sdae4se + + required: + - compatible + +properties: + compatible: + items: + - const: sgd,gktw70sdae4se + - const: panel-lvds + + data-mapping: + const: jeida-18 + + width-mm: + const: 153 + + height-mm: + const: 86 + + panel-timing: true + port: true + +additionalProperties: false + +required: + - compatible + - port + - data-mapping + - width-mm + - height-mm + - panel-timing + +examples: + - |+ + panel { + compatible = "sgd,gktw70sdae4se", "panel-lvds"; + + width-mm = <153>; + height-mm = <86>; + + data-mapping = "jeida-18"; + + panel-timing { + clock-frequency = <32000000>; + hactive = <800>; + vactive = <480>; + hback-porch = <39>; + hfront-porch = <39>; + vback-porch = <29>; + vfront-porch = <13>; + hsync-len = <47>; + vsync-len = <2>; + }; + + port { + panel_in: endpoint { + remote-endpoint = <&lvds_encoder>; + }; + }; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/sitronix,st7789v.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/sitronix,st7789v.yaml index 60478dc7d9..0ce2ea1358 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/sitronix,st7789v.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/sitronix,st7789v.yaml @@ -1,78 +1,78 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/panel/sitronix,st7789v.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Sitronix ST7789V RGB panel with SPI control bus - -maintainers: - - Maxime Ripard - -allOf: - - $ref: panel-common.yaml# - - $ref: /schemas/spi/spi-peripheral-props.yaml# - -properties: - compatible: - enum: - - edt,et028013dma - - inanbo,t28cp45tn89-v17 - - jasonic,jt240mhqs-hwt-ek-e3 - - sitronix,st7789v - - reg: - maxItems: 1 - - reset-gpios: true - power-supply: true - backlight: true - port: true - rotation: true - - spi-cpha: true - spi-cpol: true - - spi-rx-bus-width: - minimum: 0 - maximum: 1 - - dc-gpios: - maxItems: 1 - description: DCX pin, Display data/command selection pin in parallel interface - -required: - - compatible - - reg - - power-supply - -unevaluatedProperties: false - -examples: - - | - #include - - spi { - #address-cells = <1>; - #size-cells = <0>; - - panel@0 { - compatible = "sitronix,st7789v"; - reg = <0>; - reset-gpios = <&pio 6 11 GPIO_ACTIVE_LOW>; - backlight = <&pwm_bl>; - power-supply = <&power>; - rotation = <180>; - spi-max-frequency = <100000>; - spi-cpol; - spi-cpha; - - port { - panel_input: endpoint { - remote-endpoint = <&tcon0_out_panel>; - }; - }; - }; - }; - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/sitronix,st7789v.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Sitronix ST7789V RGB panel with SPI control bus + +maintainers: + - Maxime Ripard + +allOf: + - $ref: panel-common.yaml# + - $ref: /schemas/spi/spi-peripheral-props.yaml# + +properties: + compatible: + enum: + - edt,et028013dma + - inanbo,t28cp45tn89-v17 + - jasonic,jt240mhqs-hwt-ek-e3 + - sitronix,st7789v + + reg: + maxItems: 1 + + reset-gpios: true + power-supply: true + backlight: true + port: true + rotation: true + + spi-cpha: true + spi-cpol: true + + spi-rx-bus-width: + minimum: 0 + maximum: 1 + + dc-gpios: + maxItems: 1 + description: DCX pin, Display data/command selection pin in parallel interface + +required: + - compatible + - reg + - power-supply + +unevaluatedProperties: false + +examples: + - | + #include + + spi { + #address-cells = <1>; + #size-cells = <0>; + + panel@0 { + compatible = "sitronix,st7789v"; + reg = <0>; + reset-gpios = <&pio 6 11 GPIO_ACTIVE_LOW>; + backlight = <&pwm_bl>; + power-supply = <&power>; + rotation = <180>; + spi-max-frequency = <100000>; + spi-cpol; + spi-cpha; + + port { + panel_input: endpoint { + remote-endpoint = <&tcon0_out_panel>; + }; + }; + }; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/sony,td4353-jdi.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/sony,td4353-jdi.yaml index afe782cb07..032a989184 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/sony,td4353-jdi.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/sony,td4353-jdi.yaml @@ -1,85 +1,85 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/panel/sony,td4353-jdi.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Sony TD4353 JDI 5 / 5.7" 2160x1080 MIPI-DSI Panel - -maintainers: - - Konrad Dybcio - -description: | - The Sony TD4353 JDI is a 5 (XZ2c) / 5.7 (XZ2) inch 2160x1080 - MIPI-DSI panel, used in Xperia XZ2 and XZ2 Compact smartphones. - -allOf: - - $ref: panel-common.yaml# - -properties: - compatible: - const: sony,td4353-jdi-tama - - reg: - maxItems: 1 - - backlight: true - width-mm: true - height-mm: true - - vddio-supply: - description: VDDIO 1.8V supply - - vsp-supply: - description: Positive 5.5V supply - - vsn-supply: - description: Negative 5.5V supply - - panel-reset-gpios: - description: Display panel reset pin - - touch-reset-gpios: - description: Touch panel reset pin - - port: true - -required: - - compatible - - reg - - vddio-supply - - vsp-supply - - vsn-supply - - panel-reset-gpios - - touch-reset-gpios - - port - -additionalProperties: false - -examples: - - | - #include - - dsi { - #address-cells = <1>; - #size-cells = <0>; - - panel: panel@0 { - compatible = "sony,td4353-jdi-tama"; - reg = <0>; - - backlight = <&pmi8998_wled>; - vddio-supply = <&vreg_l14a_1p8>; - vsp-supply = <&lab>; - vsn-supply = <&ibb>; - panel-reset-gpios = <&tlmm 6 GPIO_ACTIVE_HIGH>; - touch-reset-gpios = <&tlmm 99 GPIO_ACTIVE_HIGH>; - - port { - panel_in: endpoint { - remote-endpoint = <&dsi0_out>; - }; - }; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/sony,td4353-jdi.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Sony TD4353 JDI 5 / 5.7" 2160x1080 MIPI-DSI Panel + +maintainers: + - Konrad Dybcio + +description: | + The Sony TD4353 JDI is a 5 (XZ2c) / 5.7 (XZ2) inch 2160x1080 + MIPI-DSI panel, used in Xperia XZ2 and XZ2 Compact smartphones. + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + const: sony,td4353-jdi-tama + + reg: + maxItems: 1 + + backlight: true + width-mm: true + height-mm: true + + vddio-supply: + description: VDDIO 1.8V supply + + vsp-supply: + description: Positive 5.5V supply + + vsn-supply: + description: Negative 5.5V supply + + panel-reset-gpios: + description: Display panel reset pin + + touch-reset-gpios: + description: Touch panel reset pin + + port: true + +required: + - compatible + - reg + - vddio-supply + - vsp-supply + - vsn-supply + - panel-reset-gpios + - touch-reset-gpios + - port + +additionalProperties: false + +examples: + - | + #include + + dsi { + #address-cells = <1>; + #size-cells = <0>; + + panel: panel@0 { + compatible = "sony,td4353-jdi-tama"; + reg = <0>; + + backlight = <&pmi8998_wled>; + vddio-supply = <&vreg_l14a_1p8>; + vsp-supply = <&lab>; + vsn-supply = <&ibb>; + panel-reset-gpios = <&tlmm 6 GPIO_ACTIVE_HIGH>; + touch-reset-gpios = <&tlmm 99 GPIO_ACTIVE_HIGH>; + + port { + panel_in: endpoint { + remote-endpoint = <&dsi0_out>; + }; + }; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/sony,tulip-truly-nt35521.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/sony,tulip-truly-nt35521.yaml index f5b8808ef2..a58a313497 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/sony,tulip-truly-nt35521.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/sony,tulip-truly-nt35521.yaml @@ -1,73 +1,73 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/panel/sony,tulip-truly-nt35521.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Sony Tulip Truly NT35521 5.24" 1280x720 MIPI-DSI Panel - -maintainers: - - Shawn Guo - -description: | - The Sony Tulip Truly NT35521 is a 5.24" 1280x720 MIPI-DSI panel, which - can be found no Sony Xperia M4 phone. The panel backlight is managed - through DSI link. - -allOf: - - $ref: panel-common.yaml# - -properties: - compatible: - const: sony,tulip-truly-nt35521 - - reg: - maxItems: 1 - - positive5-supply: - description: Positive 5V supply - - negative5-supply: - description: Negative 5V supply - - reset-gpios: true - - enable-gpios: true - - port: true - -required: - - compatible - - reg - - positive5-supply - - negative5-supply - - reset-gpios - - enable-gpios - - port - -additionalProperties: false - -examples: - - | - #include - - dsi { - #address-cells = <1>; - #size-cells = <0>; - - panel@0 { - compatible = "sony,tulip-truly-nt35521"; - reg = <0>; - positive5-supply = <&positive5_reg>; - negative5-supply = <&negative5_reg>; - reset-gpios = <&msmgpio 25 GPIO_ACTIVE_LOW>; - enable-gpios = <&msmgpio 10 GPIO_ACTIVE_HIGH>; - - port { - panel_in: endpoint { - remote-endpoint = <&dsi0_out>; - }; - }; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/sony,tulip-truly-nt35521.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Sony Tulip Truly NT35521 5.24" 1280x720 MIPI-DSI Panel + +maintainers: + - Shawn Guo + +description: | + The Sony Tulip Truly NT35521 is a 5.24" 1280x720 MIPI-DSI panel, which + can be found no Sony Xperia M4 phone. The panel backlight is managed + through DSI link. + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + const: sony,tulip-truly-nt35521 + + reg: + maxItems: 1 + + positive5-supply: + description: Positive 5V supply + + negative5-supply: + description: Negative 5V supply + + reset-gpios: true + + enable-gpios: true + + port: true + +required: + - compatible + - reg + - positive5-supply + - negative5-supply + - reset-gpios + - enable-gpios + - port + +additionalProperties: false + +examples: + - | + #include + + dsi { + #address-cells = <1>; + #size-cells = <0>; + + panel@0 { + compatible = "sony,tulip-truly-nt35521"; + reg = <0>; + positive5-supply = <&positive5_reg>; + negative5-supply = <&negative5_reg>; + reset-gpios = <&msmgpio 25 GPIO_ACTIVE_LOW>; + enable-gpios = <&msmgpio 10 GPIO_ACTIVE_HIGH>; + + port { + panel_in: endpoint { + remote-endpoint = <&dsi0_out>; + }; + }; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/startek,kd070fhfid015.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/startek,kd070fhfid015.yaml index ac0824047a..d817f998cd 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/startek,kd070fhfid015.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/startek,kd070fhfid015.yaml @@ -1,69 +1,69 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/panel/startek,kd070fhfid015.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Startek Electronic Technology Co. kd070fhfid015 7 inch TFT LCD panel - -maintainers: - - Alexandre Mergnat - -allOf: - - $ref: panel-common.yaml# - -properties: - compatible: - const: startek,kd070fhfid015 - - enable-gpios: true - - iovcc-supply: - description: Reference to the regulator powering the panel IO pins. - - reg: - maxItems: 1 - description: DSI virtual channel - - reset-gpios: true - - port: true - - power-supply: true - -additionalProperties: false - -required: - - compatible - - enable-gpios - - iovcc-supply - - reg - - reset-gpios - - port - - power-supply - -examples: - - | - #include - - dsi0 { - #address-cells = <1>; - #size-cells = <0>; - - panel@0 { - compatible = "startek,kd070fhfid015"; - reg = <0>; - enable-gpios = <&pio 67 GPIO_ACTIVE_HIGH>; - reset-gpios = <&pio 20 GPIO_ACTIVE_HIGH>; - iovcc-supply = <&mt6357_vsim1_reg>; - power-supply = <&vsys_lcm_reg>; - - port { - panel_in: endpoint { - remote-endpoint = <&dsi_out>; - }; - }; - }; - }; - -... +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/startek,kd070fhfid015.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Startek Electronic Technology Co. kd070fhfid015 7 inch TFT LCD panel + +maintainers: + - Alexandre Mergnat + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + const: startek,kd070fhfid015 + + enable-gpios: true + + iovcc-supply: + description: Reference to the regulator powering the panel IO pins. + + reg: + maxItems: 1 + description: DSI virtual channel + + reset-gpios: true + + port: true + + power-supply: true + +additionalProperties: false + +required: + - compatible + - enable-gpios + - iovcc-supply + - reg + - reset-gpios + - port + - power-supply + +examples: + - | + #include + + dsi0 { + #address-cells = <1>; + #size-cells = <0>; + + panel@0 { + compatible = "startek,kd070fhfid015"; + reg = <0>; + enable-gpios = <&pio 67 GPIO_ACTIVE_HIGH>; + reset-gpios = <&pio 20 GPIO_ACTIVE_HIGH>; + iovcc-supply = <&mt6357_vsim1_reg>; + power-supply = <&vsys_lcm_reg>; + + port { + panel_in: endpoint { + remote-endpoint = <&dsi_out>; + }; + }; + }; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/visionox,rm69299.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/visionox,rm69299.yaml index d471ac4526..30047a62fc 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/visionox,rm69299.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/visionox,rm69299.yaml @@ -1,68 +1,68 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/panel/visionox,rm69299.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Visionox model RM69299 Panels - -maintainers: - - Abhinav Kumar - - Jessica Zhang - -description: | - This binding is for display panels using a Visionox RM692999 panel. - -allOf: - - $ref: panel-common.yaml# - -properties: - compatible: - const: visionox,rm69299-1080p-display - - reg: - maxItems: 1 - - vdda-supply: - description: | - Phandle of the regulator that provides the vdda supply voltage. - - vdd3p3-supply: - description: | - Phandle of the regulator that provides the vdd3p3 supply voltage. - - port: true - reset-gpios: true - -additionalProperties: false - -required: - - compatible - - reg - - vdda-supply - - vdd3p3-supply - - reset-gpios - - port - -examples: - - | - dsi { - #address-cells = <1>; - #size-cells = <0>; - - panel@0 { - compatible = "visionox,rm69299-1080p-display"; - reg = <0>; - - vdda-supply = <&src_pp1800_l8c>; - vdd3p3-supply = <&src_pp2800_l18a>; - - reset-gpios = <&pm6150l_gpio 3 0>; - port { - panel0_in: endpoint { - remote-endpoint = <&dsi0_out>; - }; - }; - }; - }; -... +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/visionox,rm69299.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Visionox model RM69299 Panels + +maintainers: + - Abhinav Kumar + - Jessica Zhang + +description: | + This binding is for display panels using a Visionox RM692999 panel. + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + const: visionox,rm69299-1080p-display + + reg: + maxItems: 1 + + vdda-supply: + description: | + Phandle of the regulator that provides the vdda supply voltage. + + vdd3p3-supply: + description: | + Phandle of the regulator that provides the vdd3p3 supply voltage. + + port: true + reset-gpios: true + +additionalProperties: false + +required: + - compatible + - reg + - vdda-supply + - vdd3p3-supply + - reset-gpios + - port + +examples: + - | + dsi { + #address-cells = <1>; + #size-cells = <0>; + + panel@0 { + compatible = "visionox,rm69299-1080p-display"; + reg = <0>; + + vdda-supply = <&src_pp1800_l8c>; + vdd3p3-supply = <&src_pp2800_l18a>; + + reset-gpios = <&pm6150l_gpio 3 0>; + port { + panel0_in: endpoint { + remote-endpoint = <&dsi0_out>; + }; + }; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/renesas,cmm.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/renesas,cmm.yaml index db30ad35ae..561efaaa5a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/renesas,cmm.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/renesas,cmm.yaml @@ -1,67 +1,67 @@ -# SPDX-License-Identifier: GPL-2.0-only -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/renesas,cmm.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Renesas R-Car Color Management Module (CMM) - -maintainers: - - Laurent Pinchart - - Kieran Bingham - - Jacopo Mondi - -description: |+ - Renesas R-Car color management module connected to R-Car DU video channels. - It provides image enhancement functions such as 1-D look-up tables (LUT), - 3-D look-up tables (CLU), 1D-histogram generation (HGO), and color - space conversion (CSC). - -properties: - compatible: - oneOf: - - items: - - enum: - - renesas,r8a7795-cmm - - renesas,r8a7796-cmm - - renesas,r8a77965-cmm - - renesas,r8a77990-cmm - - renesas,r8a77995-cmm - - const: renesas,rcar-gen3-cmm - - items: - - const: renesas,rcar-gen2-cmm - - reg: - maxItems: 1 - - clocks: - maxItems: 1 - - resets: - maxItems: 1 - - power-domains: - maxItems: 1 - -required: - - compatible - - reg - - clocks - - resets - - power-domains - -additionalProperties: false - -examples: - - | - #include - #include - - cmm0: cmm@fea40000 { - compatible = "renesas,r8a7796-cmm", - "renesas,rcar-gen3-cmm"; - reg = <0xfea40000 0x1000>; - power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; - clocks = <&cpg CPG_MOD 711>; - resets = <&cpg 711>; - }; +# SPDX-License-Identifier: GPL-2.0-only +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/renesas,cmm.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Renesas R-Car Color Management Module (CMM) + +maintainers: + - Laurent Pinchart + - Kieran Bingham + - Jacopo Mondi + +description: |+ + Renesas R-Car color management module connected to R-Car DU video channels. + It provides image enhancement functions such as 1-D look-up tables (LUT), + 3-D look-up tables (CLU), 1D-histogram generation (HGO), and color + space conversion (CSC). + +properties: + compatible: + oneOf: + - items: + - enum: + - renesas,r8a7795-cmm + - renesas,r8a7796-cmm + - renesas,r8a77965-cmm + - renesas,r8a77990-cmm + - renesas,r8a77995-cmm + - const: renesas,rcar-gen3-cmm + - items: + - const: renesas,rcar-gen2-cmm + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + resets: + maxItems: 1 + + power-domains: + maxItems: 1 + +required: + - compatible + - reg + - clocks + - resets + - power-domains + +additionalProperties: false + +examples: + - | + #include + #include + + cmm0: cmm@fea40000 { + compatible = "renesas,r8a7796-cmm", + "renesas,rcar-gen3-cmm"; + reg = <0xfea40000 0x1000>; + power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; + clocks = <&cpg CPG_MOD 711>; + resets = <&cpg 711>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/sitronix,st7735r.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/sitronix,st7735r.yaml index ccf98d1327..3b0ebc0db8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/sitronix,st7735r.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/sitronix,st7735r.yaml @@ -1,72 +1,72 @@ -# SPDX-License-Identifier: GPL-2.0-only -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/sitronix,st7735r.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Sitronix ST7735R Display Panels - -maintainers: - - David Lechner - -description: - This binding is for display panels using a Sitronix ST7715R or ST7735R - controller in SPI mode. - -allOf: - - $ref: panel/panel-common.yaml# - - $ref: /schemas/spi/spi-peripheral-props.yaml# - -properties: - compatible: - oneOf: - - description: - Adafruit 1.8" 160x128 Color TFT LCD (Product ID 358 or 618) - items: - - enum: - - jianda,jd-t18003-t01 - - const: sitronix,st7735r - - description: - Okaya 1.44" 128x128 Color TFT LCD (E.g. Renesas YRSK-LCD-PMOD) - items: - - enum: - - okaya,rh128128t - - const: sitronix,st7715r - - dc-gpios: - maxItems: 1 - description: Display data/command selection (D/CX) - - backlight: true - reg: true - spi-max-frequency: true - reset-gpios: true - rotation: true - -required: - - compatible - - reg - - dc-gpios - -additionalProperties: false - -examples: - - | - #include - - spi { - #address-cells = <1>; - #size-cells = <0>; - - display@0{ - compatible = "jianda,jd-t18003-t01", "sitronix,st7735r"; - reg = <0>; - spi-max-frequency = <32000000>; - dc-gpios = <&gpio 43 GPIO_ACTIVE_HIGH>; - reset-gpios = <&gpio 80 GPIO_ACTIVE_HIGH>; - rotation = <270>; - backlight = <&backlight>; - }; - }; - -... +# SPDX-License-Identifier: GPL-2.0-only +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/sitronix,st7735r.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Sitronix ST7735R Display Panels + +maintainers: + - David Lechner + +description: + This binding is for display panels using a Sitronix ST7715R or ST7735R + controller in SPI mode. + +allOf: + - $ref: panel/panel-common.yaml# + - $ref: /schemas/spi/spi-peripheral-props.yaml# + +properties: + compatible: + oneOf: + - description: + Adafruit 1.8" 160x128 Color TFT LCD (Product ID 358 or 618) + items: + - enum: + - jianda,jd-t18003-t01 + - const: sitronix,st7735r + - description: + Okaya 1.44" 128x128 Color TFT LCD (E.g. Renesas YRSK-LCD-PMOD) + items: + - enum: + - okaya,rh128128t + - const: sitronix,st7715r + + dc-gpios: + maxItems: 1 + description: Display data/command selection (D/CX) + + backlight: true + reg: true + spi-max-frequency: true + reset-gpios: true + rotation: true + +required: + - compatible + - reg + - dc-gpios + +additionalProperties: false + +examples: + - | + #include + + spi { + #address-cells = <1>; + #size-cells = <0>; + + display@0{ + compatible = "jianda,jd-t18003-t01", "sitronix,st7735r"; + reg = <0>; + spi-max-frequency = <32000000>; + dc-gpios = <&gpio 43 GPIO_ACTIVE_HIGH>; + reset-gpios = <&gpio 80 GPIO_ACTIVE_HIGH>; + rotation = <270>; + backlight = <&backlight>; + }; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/solomon,ssd132x.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/solomon,ssd132x.yaml index 71f62f7010..dd7939989c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/solomon,ssd132x.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/solomon,ssd132x.yaml @@ -1,89 +1,89 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/solomon,ssd132x.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Solomon SSD132x OLED Display Controllers - -maintainers: - - Javier Martinez Canillas - -properties: - compatible: - enum: - - solomon,ssd1322 - - solomon,ssd1325 - - solomon,ssd1327 - -required: - - compatible - - reg - -allOf: - - $ref: solomon,ssd-common.yaml# - - - if: - properties: - compatible: - contains: - const: solomon,ssd1322 - then: - properties: - solomon,width: - default: 480 - solomon,height: - default: 128 - - - if: - properties: - compatible: - contains: - const: solomon,ssd1325 - then: - properties: - solomon,width: - default: 128 - solomon,height: - default: 80 - - - if: - properties: - compatible: - contains: - const: solomon,ssd1327 - then: - properties: - solomon,width: - default: 128 - solomon,height: - default: 128 - -unevaluatedProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - oled@3c { - compatible = "solomon,ssd1327"; - reg = <0x3c>; - reset-gpios = <&gpio2 7>; - }; - - }; - - | - spi { - #address-cells = <1>; - #size-cells = <0>; - - oled@0 { - compatible = "solomon,ssd1327"; - 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,ssd132x.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Solomon SSD132x OLED Display Controllers + +maintainers: + - Javier Martinez Canillas + +properties: + compatible: + enum: + - solomon,ssd1322 + - solomon,ssd1325 + - solomon,ssd1327 + +required: + - compatible + - reg + +allOf: + - $ref: solomon,ssd-common.yaml# + + - if: + properties: + compatible: + contains: + const: solomon,ssd1322 + then: + properties: + solomon,width: + default: 480 + solomon,height: + default: 128 + + - if: + properties: + compatible: + contains: + const: solomon,ssd1325 + then: + properties: + solomon,width: + default: 128 + solomon,height: + default: 80 + + - if: + properties: + compatible: + contains: + const: solomon,ssd1327 + then: + properties: + solomon,width: + default: 128 + solomon,height: + default: 128 + +unevaluatedProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + oled@3c { + compatible = "solomon,ssd1327"; + reg = <0x3c>; + reset-gpios = <&gpio2 7>; + }; + + }; + - | + spi { + #address-cells = <1>; + #size-cells = <0>; + + oled@0 { + compatible = "solomon,ssd1327"; + 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/sprd/sprd,sharkl3-dpu.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/sprd/sprd,sharkl3-dpu.yaml index 0ece4ed606..8c52fa0ea5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/sprd/sprd,sharkl3-dpu.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/sprd/sprd,sharkl3-dpu.yaml @@ -1,77 +1,77 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/sprd/sprd,sharkl3-dpu.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Unisoc Sharkl3 Display Processor Unit (DPU) - -maintainers: - - Kevin Tang - -description: | - DPU (Display Processor Unit) is the Display Controller for the Unisoc SoCs - which transfers the image data from a video memory buffer to an internal - LCD interface. - -properties: - compatible: - const: sprd,sharkl3-dpu - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - maxItems: 2 - - clock-names: - items: - - const: clk_src_128m - - const: clk_src_384m - - power-domains: - maxItems: 1 - - iommus: - maxItems: 1 - - port: - type: object - description: - A port node with endpoint definitions as defined in - Documentation/devicetree/bindings/media/video-interfaces.txt. - That port should be the output endpoint, usually output to - the associated DSI. - -required: - - compatible - - reg - - interrupts - - clocks - - clock-names - - port - -additionalProperties: false - -examples: - - | - #include - #include - dpu: dpu@63000000 { - compatible = "sprd,sharkl3-dpu"; - reg = <0x63000000 0x1000>; - interrupts = ; - clock-names = "clk_src_128m", "clk_src_384m"; - - clocks = <&pll CLK_TWPLL_128M>, - <&pll CLK_TWPLL_384M>; - - dpu_port: port { - dpu_out: endpoint { - remote-endpoint = <&dsi_in>; - }; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/sprd/sprd,sharkl3-dpu.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Unisoc Sharkl3 Display Processor Unit (DPU) + +maintainers: + - Kevin Tang + +description: | + DPU (Display Processor Unit) is the Display Controller for the Unisoc SoCs + which transfers the image data from a video memory buffer to an internal + LCD interface. + +properties: + compatible: + const: sprd,sharkl3-dpu + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 2 + + clock-names: + items: + - const: clk_src_128m + - const: clk_src_384m + + power-domains: + maxItems: 1 + + iommus: + maxItems: 1 + + port: + type: object + description: + A port node with endpoint definitions as defined in + Documentation/devicetree/bindings/media/video-interfaces.txt. + That port should be the output endpoint, usually output to + the associated DSI. + +required: + - compatible + - reg + - interrupts + - clocks + - clock-names + - port + +additionalProperties: false + +examples: + - | + #include + #include + dpu: dpu@63000000 { + compatible = "sprd,sharkl3-dpu"; + reg = <0x63000000 0x1000>; + interrupts = ; + clock-names = "clk_src_128m", "clk_src_384m"; + + clocks = <&pll CLK_TWPLL_128M>, + <&pll CLK_TWPLL_384M>; + + dpu_port: port { + dpu_out: endpoint { + remote-endpoint = <&dsi_in>; + }; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/sprd/sprd,sharkl3-dsi-host.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/sprd/sprd,sharkl3-dsi-host.yaml index 5882b5c2f2..300bf2252c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/sprd/sprd,sharkl3-dsi-host.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/sprd/sprd,sharkl3-dsi-host.yaml @@ -1,88 +1,88 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/sprd/sprd,sharkl3-dsi-host.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Unisoc MIPI DSI Controller - -maintainers: - - Kevin Tang - -properties: - compatible: - const: sprd,sharkl3-dsi-host - - reg: - maxItems: 1 - - interrupts: - maxItems: 2 - - clocks: - maxItems: 1 - - clock-names: - items: - - const: clk_src_96m - - power-domains: - maxItems: 1 - - ports: - type: object - - properties: - "#address-cells": - const: 1 - - "#size-cells": - const: 0 - - port@0: - type: object - description: - A port node with endpoint definitions as defined in - Documentation/devicetree/bindings/media/video-interfaces.txt. - That port should be the input endpoint, usually coming from - the associated DPU. - - required: - - "#address-cells" - - "#size-cells" - - port@0 - - additionalProperties: false - -required: - - compatible - - reg - - interrupts - - clocks - - clock-names - - ports - -additionalProperties: false - -examples: - - | - #include - #include - dsi: dsi@63100000 { - compatible = "sprd,sharkl3-dsi-host"; - reg = <0x63100000 0x1000>; - interrupts = , - ; - clock-names = "clk_src_96m"; - clocks = <&pll CLK_TWPLL_96M>; - ports { - #address-cells = <1>; - #size-cells = <0>; - port@0 { - reg = <0>; - dsi_in: endpoint { - remote-endpoint = <&dpu_out>; - }; - }; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/sprd/sprd,sharkl3-dsi-host.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Unisoc MIPI DSI Controller + +maintainers: + - Kevin Tang + +properties: + compatible: + const: sprd,sharkl3-dsi-host + + reg: + maxItems: 1 + + interrupts: + maxItems: 2 + + clocks: + maxItems: 1 + + clock-names: + items: + - const: clk_src_96m + + power-domains: + maxItems: 1 + + ports: + type: object + + properties: + "#address-cells": + const: 1 + + "#size-cells": + const: 0 + + port@0: + type: object + description: + A port node with endpoint definitions as defined in + Documentation/devicetree/bindings/media/video-interfaces.txt. + That port should be the input endpoint, usually coming from + the associated DPU. + + required: + - "#address-cells" + - "#size-cells" + - port@0 + + additionalProperties: false + +required: + - compatible + - reg + - interrupts + - clocks + - clock-names + - ports + +additionalProperties: false + +examples: + - | + #include + #include + dsi: dsi@63100000 { + compatible = "sprd,sharkl3-dsi-host"; + reg = <0x63100000 0x1000>; + interrupts = , + ; + clock-names = "clk_src_96m"; + clocks = <&pll CLK_TWPLL_96M>; + ports { + #address-cells = <1>; + #size-cells = <0>; + port@0 { + reg = <0>; + dsi_in: endpoint { + remote-endpoint = <&dpu_out>; + }; + }; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/st,stm32-ltdc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/st,stm32-ltdc.yaml index 49dbf8361a..d6ea4d62a2 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/st,stm32-ltdc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/st,stm32-ltdc.yaml @@ -1,77 +1,77 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/st,stm32-ltdc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: STMicroelectronics STM32 lcd-tft display controller - -maintainers: - - Philippe Cornu - - Yannick Fertre - -properties: - compatible: - const: st,stm32-ltdc - - reg: - maxItems: 1 - - interrupts: - items: - - description: events interrupt line. - - description: errors interrupt line. - minItems: 1 - - clocks: - maxItems: 1 - - clock-names: - items: - - const: lcd - - resets: - maxItems: 1 - - port: - $ref: /schemas/graph.yaml#/properties/port - description: | - Video port for DPI RGB output. - ltdc has one video port with up to 2 endpoints: - - for external dpi rgb panel or bridge, using gpios. - - for internal dpi input of the MIPI DSI host controller. - Note: These 2 endpoints cannot be activated simultaneously. - -required: - - compatible - - reg - - interrupts - - clocks - - clock-names - - resets - - port - -additionalProperties: false - -examples: - - | - #include - #include - #include - ltdc: display-controller@40016800 { - compatible = "st,stm32-ltdc"; - reg = <0x5a001000 0x400>; - interrupts = , - ; - clocks = <&rcc LTDC_PX>; - clock-names = "lcd"; - resets = <&rcc LTDC_R>; - - port { - ltdc_out_dsi: endpoint { - remote-endpoint = <&dsi_in>; - }; - }; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/st,stm32-ltdc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: STMicroelectronics STM32 lcd-tft display controller + +maintainers: + - Philippe Cornu + - Yannick Fertre + +properties: + compatible: + const: st,stm32-ltdc + + reg: + maxItems: 1 + + interrupts: + items: + - description: events interrupt line. + - description: errors interrupt line. + minItems: 1 + + clocks: + maxItems: 1 + + clock-names: + items: + - const: lcd + + resets: + maxItems: 1 + + port: + $ref: /schemas/graph.yaml#/properties/port + description: | + Video port for DPI RGB output. + ltdc has one video port with up to 2 endpoints: + - for external dpi rgb panel or bridge, using gpios. + - for internal dpi input of the MIPI DSI host controller. + Note: These 2 endpoints cannot be activated simultaneously. + +required: + - compatible + - reg + - interrupts + - clocks + - clock-names + - resets + - port + +additionalProperties: false + +examples: + - | + #include + #include + #include + ltdc: display-controller@40016800 { + compatible = "st,stm32-ltdc"; + reg = <0x5a001000 0x400>; + interrupts = , + ; + clocks = <&rcc LTDC_PX>; + clock-names = "lcd"; + resets = <&rcc LTDC_R>; + + port { + ltdc_out_dsi: endpoint { + remote-endpoint = <&dsi_in>; + }; + }; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/tegra/nvidia,tegra114-mipi.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/tegra/nvidia,tegra114-mipi.yaml index a973cfd914..f448624dd7 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/tegra/nvidia,tegra114-mipi.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/tegra/nvidia,tegra114-mipi.yaml @@ -1,74 +1,74 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/tegra/nvidia,tegra114-mipi.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: NVIDIA Tegra MIPI pad calibration controller - -maintainers: - - Thierry Reding - - Jon Hunter - -properties: - $nodename: - pattern: "^mipi@[0-9a-f]+$" - - compatible: - enum: - - nvidia,tegra114-mipi - - nvidia,tegra210-mipi - - nvidia,tegra186-mipi - - reg: - maxItems: 1 - - clocks: - items: - - description: module clock - - clock-names: - items: - - const: mipi-cal - - power-domains: - maxItems: 1 - - "#nvidia,mipi-calibrate-cells": - description: The number of cells in a MIPI calibration specifier. - Should be 1. The single cell specifies a bitmask of the pads that - need to be calibrated for a given device. - $ref: /schemas/types.yaml#/definitions/uint32 - const: 1 - -additionalProperties: false - -required: - - compatible - - reg - - clocks - - "#nvidia,mipi-calibrate-cells" - -examples: - - | - #include - - mipi@700e3000 { - compatible = "nvidia,tegra114-mipi"; - reg = <0x700e3000 0x100>; - clocks = <&tegra_car TEGRA114_CLK_MIPI_CAL>; - clock-names = "mipi-cal"; - #nvidia,mipi-calibrate-cells = <1>; - }; - - dsia: dsi@54300000 { - compatible = "nvidia,tegra114-dsi"; - reg = <0x54300000 0x00040000>; - clocks = <&tegra_car TEGRA114_CLK_DSIA>, - <&tegra_car TEGRA114_CLK_DSIALP>, - <&tegra_car TEGRA114_CLK_PLL_D_OUT0>; - clock-names = "dsi", "lp", "parent"; - resets = <&tegra_car 48>; - reset-names = "dsi"; - nvidia,mipi-calibrate = <&mipi 0x060>; /* DSIA & DSIB pads */ - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/tegra/nvidia,tegra114-mipi.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NVIDIA Tegra MIPI pad calibration controller + +maintainers: + - Thierry Reding + - Jon Hunter + +properties: + $nodename: + pattern: "^mipi@[0-9a-f]+$" + + compatible: + enum: + - nvidia,tegra114-mipi + - nvidia,tegra210-mipi + - nvidia,tegra186-mipi + + reg: + maxItems: 1 + + clocks: + items: + - description: module clock + + clock-names: + items: + - const: mipi-cal + + power-domains: + maxItems: 1 + + "#nvidia,mipi-calibrate-cells": + description: The number of cells in a MIPI calibration specifier. + Should be 1. The single cell specifies a bitmask of the pads that + need to be calibrated for a given device. + $ref: /schemas/types.yaml#/definitions/uint32 + const: 1 + +additionalProperties: false + +required: + - compatible + - reg + - clocks + - "#nvidia,mipi-calibrate-cells" + +examples: + - | + #include + + mipi@700e3000 { + compatible = "nvidia,tegra114-mipi"; + reg = <0x700e3000 0x100>; + clocks = <&tegra_car TEGRA114_CLK_MIPI_CAL>; + clock-names = "mipi-cal"; + #nvidia,mipi-calibrate-cells = <1>; + }; + + dsia: dsi@54300000 { + compatible = "nvidia,tegra114-dsi"; + reg = <0x54300000 0x00040000>; + clocks = <&tegra_car TEGRA114_CLK_DSIA>, + <&tegra_car TEGRA114_CLK_DSIALP>, + <&tegra_car TEGRA114_CLK_PLL_D_OUT0>; + clock-names = "dsi", "lp", "parent"; + resets = <&tegra_car 48>; + reset-names = "dsi"; + nvidia,mipi-calibrate = <&mipi 0x060>; /* DSIA & DSIB pads */ + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/tegra/nvidia,tegra124-vic.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/tegra/nvidia,tegra124-vic.yaml index a47a33fd07..7200095ef1 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/tegra/nvidia,tegra124-vic.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/tegra/nvidia,tegra124-vic.yaml @@ -1,72 +1,72 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/tegra/nvidia,tegra124-vic.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: NVIDIA Tegra Video Image Composer - -maintainers: - - Thierry Reding - - Jon Hunter - -properties: - $nodename: - pattern: "^vic@[0-9a-f]+$" - - compatible: - oneOf: - - enum: - - nvidia,tegra124-vic - - nvidia,tegra210-vic - - nvidia,tegra186-vic - - nvidia,tegra194-vic - - nvidia,tegra234-vic - - - items: - - const: nvidia,tegra132-vic - - const: nvidia,tegra124-vic - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - items: - - description: clock input for the VIC hardware - - clock-names: - items: - - const: vic - - resets: - items: - - description: module reset - - reset-names: - items: - - const: vic - - power-domains: - maxItems: 1 - - iommus: - maxItems: 1 - - interconnects: - description: Description of the interconnect paths for the VIC; - see ../interconnect/interconnect.txt for details. - items: - - description: memory read client for VIC - - description: memory write client for VIC - - interconnect-names: - items: - - const: dma-mem # read - - const: write - - dma-coherent: true - -additionalProperties: false +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/tegra/nvidia,tegra124-vic.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NVIDIA Tegra Video Image Composer + +maintainers: + - Thierry Reding + - Jon Hunter + +properties: + $nodename: + pattern: "^vic@[0-9a-f]+$" + + compatible: + oneOf: + - enum: + - nvidia,tegra124-vic + - nvidia,tegra210-vic + - nvidia,tegra186-vic + - nvidia,tegra194-vic + - nvidia,tegra234-vic + + - items: + - const: nvidia,tegra132-vic + - const: nvidia,tegra124-vic + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + items: + - description: clock input for the VIC hardware + + clock-names: + items: + - const: vic + + resets: + items: + - description: module reset + + reset-names: + items: + - const: vic + + power-domains: + maxItems: 1 + + iommus: + maxItems: 1 + + interconnects: + description: Description of the interconnect paths for the VIC; + see ../interconnect/interconnect.txt for details. + items: + - description: memory read client for VIC + - description: memory write client for VIC + + interconnect-names: + items: + - const: dma-mem # read + - const: write + + dma-coherent: true + +additionalProperties: false diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/tegra/nvidia,tegra186-dc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/tegra/nvidia,tegra186-dc.yaml index 35d33fe11c..ce4589466a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/tegra/nvidia,tegra186-dc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/tegra/nvidia,tegra186-dc.yaml @@ -1,85 +1,85 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/tegra/nvidia,tegra186-dc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: NVIDIA Tegra186 (and later) Display Controller - -maintainers: - - Thierry Reding - - Jon Hunter - -properties: - $nodename: - pattern: "^display@[0-9a-f]+$" - - compatible: - enum: - - nvidia,tegra186-dc - - nvidia,tegra194-dc - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - items: - - description: display controller pixel clock - - clock-names: - items: - - const: dc - - resets: - items: - - description: display controller reset - - reset-names: - items: - - const: dc - - power-domains: - maxItems: 1 - - iommus: - maxItems: 1 - - interconnects: - description: Description of the interconnect paths for the - display controller; see ../interconnect/interconnect.txt - for details. - - interconnect-names: - items: - - const: dma-mem # read-0 - - const: read-1 - - nvidia,outputs: - description: A list of phandles of outputs that this display - controller can drive. - $ref: /schemas/types.yaml#/definitions/phandle-array - - nvidia,head: - description: The number of the display controller head. This - is used to setup the various types of output to receive - video data from the given head. - $ref: /schemas/types.yaml#/definitions/uint32 - -additionalProperties: false - -required: - - compatible - - reg - - interrupts - - clocks - - clock-names - - resets - - reset-names - - power-domains - - nvidia,outputs - - nvidia,head - -# see nvidia,tegra186-display.yaml for examples +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/tegra/nvidia,tegra186-dc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NVIDIA Tegra186 (and later) Display Controller + +maintainers: + - Thierry Reding + - Jon Hunter + +properties: + $nodename: + pattern: "^display@[0-9a-f]+$" + + compatible: + enum: + - nvidia,tegra186-dc + - nvidia,tegra194-dc + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + items: + - description: display controller pixel clock + + clock-names: + items: + - const: dc + + resets: + items: + - description: display controller reset + + reset-names: + items: + - const: dc + + power-domains: + maxItems: 1 + + iommus: + maxItems: 1 + + interconnects: + description: Description of the interconnect paths for the + display controller; see ../interconnect/interconnect.txt + for details. + + interconnect-names: + items: + - const: dma-mem # read-0 + - const: read-1 + + nvidia,outputs: + description: A list of phandles of outputs that this display + controller can drive. + $ref: /schemas/types.yaml#/definitions/phandle-array + + nvidia,head: + description: The number of the display controller head. This + is used to setup the various types of output to receive + video data from the given head. + $ref: /schemas/types.yaml#/definitions/uint32 + +additionalProperties: false + +required: + - compatible + - reg + - interrupts + - clocks + - clock-names + - resets + - reset-names + - power-domains + - nvidia,outputs + - nvidia,head + +# see nvidia,tegra186-display.yaml for examples diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-gr2d.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-gr2d.yaml index 59f4d044be..1026b0bc3d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-gr2d.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-gr2d.yaml @@ -1,73 +1,73 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/tegra/nvidia,tegra20-gr2d.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: NVIDIA 2D graphics engine - -maintainers: - - Thierry Reding - - Jon Hunter - -properties: - $nodename: - pattern: "^gr2d@[0-9a-f]+$" - - compatible: - enum: - - nvidia,tegra20-gr2d - - nvidia,tegra30-gr2d - - nvidia,tegra114-gr2d - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - items: - - description: module clock - - resets: - items: - - description: module reset - - description: memory client hotflush reset - - reset-names: - items: - - const: 2d - - const: mc - - iommus: - maxItems: 1 - - interconnects: - maxItems: 4 - - interconnect-names: - maxItems: 4 - - operating-points-v2: true - - power-domains: - items: - - description: phandle to the HEG or core power domain - -additionalProperties: false - -examples: - - | - #include - #include - #include - - gr2d@54140000 { - compatible = "nvidia,tegra20-gr2d"; - reg = <0x54140000 0x00040000>; - interrupts = ; - clocks = <&tegra_car TEGRA20_CLK_GR2D>; - resets = <&tegra_car 21>, <&mc TEGRA20_MC_RESET_2D>; - reset-names = "2d", "mc"; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/tegra/nvidia,tegra20-gr2d.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NVIDIA 2D graphics engine + +maintainers: + - Thierry Reding + - Jon Hunter + +properties: + $nodename: + pattern: "^gr2d@[0-9a-f]+$" + + compatible: + enum: + - nvidia,tegra20-gr2d + - nvidia,tegra30-gr2d + - nvidia,tegra114-gr2d + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + items: + - description: module clock + + resets: + items: + - description: module reset + - description: memory client hotflush reset + + reset-names: + items: + - const: 2d + - const: mc + + iommus: + maxItems: 1 + + interconnects: + maxItems: 4 + + interconnect-names: + maxItems: 4 + + operating-points-v2: true + + power-domains: + items: + - description: phandle to the HEG or core power domain + +additionalProperties: false + +examples: + - | + #include + #include + #include + + gr2d@54140000 { + compatible = "nvidia,tegra20-gr2d"; + reg = <0x54140000 0x00040000>; + interrupts = ; + clocks = <&tegra_car TEGRA20_CLK_GR2D>; + resets = <&tegra_car 21>, <&mc TEGRA20_MC_RESET_2D>; + reset-names = "2d", "mc"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/truly,nt35597.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/truly,nt35597.txt index 6c81a76827..f39c77ee36 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/truly,nt35597.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/truly,nt35597.txt @@ -1,59 +1,59 @@ -Truly model NT35597 DSI display driver - -The Truly NT35597 is a generic display driver, currently only configured -for use in the 2K display on the Qualcomm SDM845 MTP board. - -Required properties: -- compatible: should be "truly,nt35597-2K-display" -- vdda-supply: phandle of the regulator that provides the supply voltage - Power IC supply -- vdispp-supply: phandle of the regulator that provides the supply voltage - for positive LCD bias -- vdispn-supply: phandle of the regulator that provides the supply voltage - for negative LCD bias -- reset-gpios: phandle of gpio for reset line - This should be 8mA, gpio can be configured using mux, pinctrl, pinctrl-names - (active low) -- mode-gpios: phandle of the gpio for choosing the mode of the display - for single DSI or Dual DSI - This should be low for dual DSI and high for single DSI mode -- ports: This device has two video ports driven by two DSIs. Their connections - are modeled using the OF graph bindings specified in - Documentation/devicetree/bindings/graph.txt. - - port@0: DSI input port driven by master DSI - - port@1: DSI input port driven by secondary DSI - -Example: - - dsi@ae94000 { - panel@0 { - compatible = "truly,nt35597-2K-display"; - reg = <0>; - vdda-supply = <&pm8998_l14>; - vdispp-supply = <&lab_regulator>; - vdispn-supply = <&ibb_regulator>; - pinctrl-names = "default", "suspend"; - pinctrl-0 = <&dpu_dsi_active>; - pinctrl-1 = <&dpu_dsi_suspend>; - - reset-gpios = <&tlmm 6 GPIO_ACTIVE_LOW>; - mode-gpios = <&tlmm 52 GPIO_ACTIVE_HIGH>; - ports { - #address-cells = <1>; - #size-cells = <0>; - port@0 { - reg = <0>; - panel0_in: endpoint { - remote-endpoint = <&dsi0_out>; - }; - }; - - port@1 { - reg = <1>; - panel1_in: endpoint { - remote-endpoint = <&dsi1_out>; - }; - }; - }; - }; - }; +Truly model NT35597 DSI display driver + +The Truly NT35597 is a generic display driver, currently only configured +for use in the 2K display on the Qualcomm SDM845 MTP board. + +Required properties: +- compatible: should be "truly,nt35597-2K-display" +- vdda-supply: phandle of the regulator that provides the supply voltage + Power IC supply +- vdispp-supply: phandle of the regulator that provides the supply voltage + for positive LCD bias +- vdispn-supply: phandle of the regulator that provides the supply voltage + for negative LCD bias +- reset-gpios: phandle of gpio for reset line + This should be 8mA, gpio can be configured using mux, pinctrl, pinctrl-names + (active low) +- mode-gpios: phandle of the gpio for choosing the mode of the display + for single DSI or Dual DSI + This should be low for dual DSI and high for single DSI mode +- ports: This device has two video ports driven by two DSIs. Their connections + are modeled using the OF graph bindings specified in + Documentation/devicetree/bindings/graph.txt. + - port@0: DSI input port driven by master DSI + - port@1: DSI input port driven by secondary DSI + +Example: + + dsi@ae94000 { + panel@0 { + compatible = "truly,nt35597-2K-display"; + reg = <0>; + vdda-supply = <&pm8998_l14>; + vdispp-supply = <&lab_regulator>; + vdispn-supply = <&ibb_regulator>; + pinctrl-names = "default", "suspend"; + pinctrl-0 = <&dpu_dsi_active>; + pinctrl-1 = <&dpu_dsi_suspend>; + + reset-gpios = <&tlmm 6 GPIO_ACTIVE_LOW>; + mode-gpios = <&tlmm 52 GPIO_ACTIVE_HIGH>; + ports { + #address-cells = <1>; + #size-cells = <0>; + port@0 { + reg = <0>; + panel0_in: endpoint { + remote-endpoint = <&dsi0_out>; + }; + }; + + port@1 { + reg = <1>; + panel1_in: endpoint { + remote-endpoint = <&dsi1_out>; + }; + }; + }; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/dma/allwinner,sun50i-a64-dma.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/dma/allwinner,sun50i-a64-dma.yaml index cf3f1dced0..0f2501f72c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/dma/allwinner,sun50i-a64-dma.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/dma/allwinner,sun50i-a64-dma.yaml @@ -1,99 +1,99 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/dma/allwinner,sun50i-a64-dma.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Allwinner A64 DMA Controller - -maintainers: - - Chen-Yu Tsai - - Maxime Ripard - -allOf: - - $ref: dma-controller.yaml# - -properties: - "#dma-cells": - const: 1 - description: The cell is the request line number. - - compatible: - oneOf: - - enum: - - allwinner,sun20i-d1-dma - - allwinner,sun50i-a64-dma - - allwinner,sun50i-a100-dma - - allwinner,sun50i-h6-dma - - items: - - const: allwinner,sun8i-r40-dma - - const: allwinner,sun50i-a64-dma - - items: - - const: allwinner,sun50i-h616-dma - - const: allwinner,sun50i-a100-dma - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - minItems: 1 - maxItems: 2 - - clock-names: - items: - - const: bus - - const: mbus - - resets: - maxItems: 1 - -required: - - "#dma-cells" - - compatible - - reg - - interrupts - - clocks - - resets - - dma-channels - -if: - properties: - compatible: - contains: - enum: - - allwinner,sun20i-d1-dma - - allwinner,sun50i-a100-dma - - allwinner,sun50i-h6-dma - -then: - properties: - clocks: - minItems: 2 - - required: - - clock-names - -else: - properties: - clocks: - maxItems: 1 - -unevaluatedProperties: false - -examples: - - | - dma: dma-controller@1c02000 { - compatible = "allwinner,sun50i-a64-dma"; - reg = <0x01c02000 0x1000>; - interrupts = <0 50 4>; - clocks = <&ccu 30>; - dma-channels = <8>; - dma-requests = <27>; - resets = <&ccu 7>; - #dma-cells = <1>; - }; - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/dma/allwinner,sun50i-a64-dma.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Allwinner A64 DMA Controller + +maintainers: + - Chen-Yu Tsai + - Maxime Ripard + +allOf: + - $ref: dma-controller.yaml# + +properties: + "#dma-cells": + const: 1 + description: The cell is the request line number. + + compatible: + oneOf: + - enum: + - allwinner,sun20i-d1-dma + - allwinner,sun50i-a64-dma + - allwinner,sun50i-a100-dma + - allwinner,sun50i-h6-dma + - items: + - const: allwinner,sun8i-r40-dma + - const: allwinner,sun50i-a64-dma + - items: + - const: allwinner,sun50i-h616-dma + - const: allwinner,sun50i-a100-dma + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + minItems: 1 + maxItems: 2 + + clock-names: + items: + - const: bus + - const: mbus + + resets: + maxItems: 1 + +required: + - "#dma-cells" + - compatible + - reg + - interrupts + - clocks + - resets + - dma-channels + +if: + properties: + compatible: + contains: + enum: + - allwinner,sun20i-d1-dma + - allwinner,sun50i-a100-dma + - allwinner,sun50i-h6-dma + +then: + properties: + clocks: + minItems: 2 + + required: + - clock-names + +else: + properties: + clocks: + maxItems: 1 + +unevaluatedProperties: false + +examples: + - | + dma: dma-controller@1c02000 { + compatible = "allwinner,sun50i-a64-dma"; + reg = <0x01c02000 0x1000>; + interrupts = <0 50 4>; + clocks = <&ccu 30>; + dma-channels = <8>; + dma-requests = <27>; + resets = <&ccu 7>; + #dma-cells = <1>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/dma/altr,msgdma.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/dma/altr,msgdma.yaml index ffebba1218..391bf58386 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/dma/altr,msgdma.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/dma/altr,msgdma.yaml @@ -1,63 +1,63 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/dma/altr,msgdma.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Altera mSGDMA IP core - -maintainers: - - Olivier Dautricourt - -description: | - Altera / Intel modular Scatter-Gather Direct Memory Access (mSGDMA) - intellectual property (IP) - -allOf: - - $ref: dma-controller.yaml# - -properties: - compatible: - const: altr,socfpga-msgdma - - reg: - items: - - description: Control and Status Register Slave Port - - description: Descriptor Slave Port - - description: Response Slave Port (Optional) - minItems: 2 - - reg-names: - items: - - const: csr - - const: desc - - const: resp - minItems: 2 - - interrupts: - maxItems: 1 - - "#dma-cells": - const: 1 - description: - The cell identifies the channel id (must be 0) - -required: - - compatible - - reg - - reg-names - - interrupts - -unevaluatedProperties: false - -examples: - - | - #include - - msgdma_controller: dma-controller@ff200b00 { - compatible = "altr,socfpga-msgdma"; - reg = <0xff200b00 0x100>, <0xff200c00 0x100>, <0xff200d00 0x100>; - reg-names = "csr", "desc", "resp"; - interrupts = <0 67 IRQ_TYPE_LEVEL_HIGH>; - #dma-cells = <1>; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/dma/altr,msgdma.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Altera mSGDMA IP core + +maintainers: + - Olivier Dautricourt + +description: | + Altera / Intel modular Scatter-Gather Direct Memory Access (mSGDMA) + intellectual property (IP) + +allOf: + - $ref: dma-controller.yaml# + +properties: + compatible: + const: altr,socfpga-msgdma + + reg: + items: + - description: Control and Status Register Slave Port + - description: Descriptor Slave Port + - description: Response Slave Port (Optional) + minItems: 2 + + reg-names: + items: + - const: csr + - const: desc + - const: resp + minItems: 2 + + interrupts: + maxItems: 1 + + "#dma-cells": + const: 1 + description: + The cell identifies the channel id (must be 0) + +required: + - compatible + - reg + - reg-names + - interrupts + +unevaluatedProperties: false + +examples: + - | + #include + + msgdma_controller: dma-controller@ff200b00 { + compatible = "altr,socfpga-msgdma"; + reg = <0xff200b00 0x100>, <0xff200c00 0x100>, <0xff200d00 0x100>; + reg-names = "csr", "desc", "resp"; + interrupts = <0 67 IRQ_TYPE_LEVEL_HIGH>; + #dma-cells = <1>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/dma/apm-xgene-dma.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/dma/apm-xgene-dma.txt index feef500427..c53e0b0803 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/dma/apm-xgene-dma.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/dma/apm-xgene-dma.txt @@ -1,47 +1,47 @@ -Applied Micro X-Gene SoC DMA nodes - -DMA nodes are defined to describe on-chip DMA interfaces in -APM X-Gene SoC. - -Required properties for DMA interfaces: -- compatible: Should be "apm,xgene-dma". -- device_type: set to "dma". -- reg: Address and length of the register set for the device. - It contains the information of registers in the following order: - 1st - DMA control and status register address space. - 2nd - Descriptor ring control and status register address space. - 3rd - Descriptor ring command register address space. - 4th - Soc efuse register address space. -- interrupts: DMA has 5 interrupts sources. 1st interrupt is - DMA error reporting interrupt. 2nd, 3rd, 4th and 5th interrupts - are completion interrupts for each DMA channels. -- clocks: Reference to the clock entry. - -Optional properties: -- dma-coherent : Present if dma operations are coherent - -Example: - dmaclk: dmaclk@1f27c000 { - compatible = "apm,xgene-device-clock"; - #clock-cells = <1>; - clocks = <&socplldiv2 0>; - reg = <0x0 0x1f27c000 0x0 0x1000>; - reg-names = "csr-reg"; - clock-output-names = "dmaclk"; - }; - - dma: dma@1f270000 { - compatible = "apm,xgene-storm-dma"; - device_type = "dma"; - reg = <0x0 0x1f270000 0x0 0x10000>, - <0x0 0x1f200000 0x0 0x10000>, - <0x0 0x1b000000 0x0 0x400000>, - <0x0 0x1054a000 0x0 0x100>; - interrupts = <0x0 0x82 0x4>, - <0x0 0xb8 0x4>, - <0x0 0xb9 0x4>, - <0x0 0xba 0x4>, - <0x0 0xbb 0x4>; - dma-coherent; - clocks = <&dmaclk 0>; - }; +Applied Micro X-Gene SoC DMA nodes + +DMA nodes are defined to describe on-chip DMA interfaces in +APM X-Gene SoC. + +Required properties for DMA interfaces: +- compatible: Should be "apm,xgene-dma". +- device_type: set to "dma". +- reg: Address and length of the register set for the device. + It contains the information of registers in the following order: + 1st - DMA control and status register address space. + 2nd - Descriptor ring control and status register address space. + 3rd - Descriptor ring command register address space. + 4th - Soc efuse register address space. +- interrupts: DMA has 5 interrupts sources. 1st interrupt is + DMA error reporting interrupt. 2nd, 3rd, 4th and 5th interrupts + are completion interrupts for each DMA channels. +- clocks: Reference to the clock entry. + +Optional properties: +- dma-coherent : Present if dma operations are coherent + +Example: + dmaclk: dmaclk@1f27c000 { + compatible = "apm,xgene-device-clock"; + #clock-cells = <1>; + clocks = <&socplldiv2 0>; + reg = <0x0 0x1f27c000 0x0 0x1000>; + reg-names = "csr-reg"; + clock-output-names = "dmaclk"; + }; + + dma: dma@1f270000 { + compatible = "apm,xgene-storm-dma"; + device_type = "dma"; + reg = <0x0 0x1f270000 0x0 0x10000>, + <0x0 0x1f200000 0x0 0x10000>, + <0x0 0x1b000000 0x0 0x400000>, + <0x0 0x1054a000 0x0 0x100>; + interrupts = <0x0 0x82 0x4>, + <0x0 0xb8 0x4>, + <0x0 0xb9 0x4>, + <0x0 0xba 0x4>, + <0x0 0xbb 0x4>; + dma-coherent; + clocks = <&dmaclk 0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/dma/arm,pl330.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/dma/arm,pl330.yaml index 7a482ff2d5..4a3dd6f530 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/dma/arm,pl330.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/dma/arm,pl330.yaml @@ -1,92 +1,92 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/dma/arm,pl330.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: ARM PrimeCell PL330 DMA Controller - -maintainers: - - Vinod Koul - -description: - The ARM PrimeCell PL330 DMA controller can move blocks of memory contents - between memory and peripherals or memory to memory. - -# We need a select here so we don't match all nodes with 'arm,primecell' -select: - properties: - compatible: - contains: - const: arm,pl330 - required: - - compatible - -allOf: - - $ref: dma-controller.yaml# - - $ref: /schemas/arm/primecell.yaml# - -properties: - compatible: - items: - - enum: - - arm,pl330 - - const: arm,primecell - - reg: - maxItems: 1 - - interrupts: - minItems: 1 - maxItems: 32 - description: A single combined interrupt or an interrupt per event - - '#dma-cells': - const: 1 - description: Contains the DMA request number for the consumer - - arm,pl330-broken-no-flushp: - type: boolean - description: quirk for avoiding to execute DMAFLUSHP - - arm,pl330-periph-burst: - type: boolean - description: quirk for performing burst transfer only - - dma-coherent: true - - iommus: - minItems: 1 - maxItems: 9 - description: Up to 1 IOMMU entry per DMA channel for writes and 1 - IOMMU entry for reads. - - power-domains: - maxItems: 1 - - resets: - minItems: 1 - maxItems: 2 - - reset-names: - minItems: 1 - items: - - const: dma - - const: dma-ocp - -required: - - compatible - - reg - - interrupts - -unevaluatedProperties: false - -examples: - - | - dma-controller@12680000 { - compatible = "arm,pl330", "arm,primecell"; - reg = <0x12680000 0x1000>; - interrupts = <99>; - #dma-cells = <1>; - }; -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/dma/arm,pl330.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ARM PrimeCell PL330 DMA Controller + +maintainers: + - Vinod Koul + +description: + The ARM PrimeCell PL330 DMA controller can move blocks of memory contents + between memory and peripherals or memory to memory. + +# We need a select here so we don't match all nodes with 'arm,primecell' +select: + properties: + compatible: + contains: + const: arm,pl330 + required: + - compatible + +allOf: + - $ref: dma-controller.yaml# + - $ref: /schemas/arm/primecell.yaml# + +properties: + compatible: + items: + - enum: + - arm,pl330 + - const: arm,primecell + + reg: + maxItems: 1 + + interrupts: + minItems: 1 + maxItems: 32 + description: A single combined interrupt or an interrupt per event + + '#dma-cells': + const: 1 + description: Contains the DMA request number for the consumer + + arm,pl330-broken-no-flushp: + type: boolean + description: quirk for avoiding to execute DMAFLUSHP + + arm,pl330-periph-burst: + type: boolean + description: quirk for performing burst transfer only + + dma-coherent: true + + iommus: + minItems: 1 + maxItems: 9 + description: Up to 1 IOMMU entry per DMA channel for writes and 1 + IOMMU entry for reads. + + power-domains: + maxItems: 1 + + resets: + minItems: 1 + maxItems: 2 + + reset-names: + minItems: 1 + items: + - const: dma + - const: dma-ocp + +required: + - compatible + - reg + - interrupts + +unevaluatedProperties: false + +examples: + - | + dma-controller@12680000 { + compatible = "arm,pl330", "arm,primecell"; + reg = <0x12680000 0x1000>; + interrupts = <99>; + #dma-cells = <1>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/dma/atmel-xdma.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/dma/atmel-xdma.txt index 42249ccf88..76d649b3a2 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/dma/atmel-xdma.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/dma/atmel-xdma.txt @@ -1,54 +1,54 @@ -* Atmel Extensible Direct Memory Access Controller (XDMAC) - -* XDMA Controller -Required properties: -- compatible: Should be "atmel,sama5d4-dma", "microchip,sam9x60-dma" or - "microchip,sama7g5-dma" or - "microchip,sam9x7-dma", "atmel,sama5d4-dma". -- reg: Should contain DMA registers location and length. -- interrupts: Should contain DMA interrupt. -- #dma-cells: Must be <1>, used to represent the number of integer cells in -the dmas property of client devices. - - The 1st cell specifies the channel configuration register: - - bit 13: SIF, source interface identifier, used to get the memory - interface identifier, - - bit 14: DIF, destination interface identifier, used to get the peripheral - interface identifier, - - bit 30-24: PERID, peripheral identifier. - -Example: - -dma1: dma-controller@f0004000 { - compatible = "atmel,sama5d4-dma"; - reg = <0xf0004000 0x200>; - interrupts = <50 4 0>; - #dma-cells = <1>; -}; - - -* DMA clients -DMA clients connected to the Atmel XDMA controller must use the format -described in the dma.txt file, using a one-cell specifier for each channel. -The two cells in order are: -1. A phandle pointing to the DMA controller. -2. Channel configuration register. Configurable fields are: - - bit 13: SIF, source interface identifier, used to get the memory - interface identifier, - - bit 14: DIF, destination interface identifier, used to get the peripheral - interface identifier, - - bit 30-24: PERID, peripheral identifier. - -Example: - -i2c2: i2c@f8024000 { - compatible = "atmel,at91sam9x5-i2c"; - reg = <0xf8024000 0x4000>; - interrupts = <34 4 6>; - dmas = <&dma1 - (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) - | AT91_XDMAC_DT_PERID(6))>, - <&dma1 - (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) - | AT91_XDMAC_DT_PERID(7))>; - dma-names = "tx", "rx"; -}; +* Atmel Extensible Direct Memory Access Controller (XDMAC) + +* XDMA Controller +Required properties: +- compatible: Should be "atmel,sama5d4-dma", "microchip,sam9x60-dma" or + "microchip,sama7g5-dma" or + "microchip,sam9x7-dma", "atmel,sama5d4-dma". +- reg: Should contain DMA registers location and length. +- interrupts: Should contain DMA interrupt. +- #dma-cells: Must be <1>, used to represent the number of integer cells in +the dmas property of client devices. + - The 1st cell specifies the channel configuration register: + - bit 13: SIF, source interface identifier, used to get the memory + interface identifier, + - bit 14: DIF, destination interface identifier, used to get the peripheral + interface identifier, + - bit 30-24: PERID, peripheral identifier. + +Example: + +dma1: dma-controller@f0004000 { + compatible = "atmel,sama5d4-dma"; + reg = <0xf0004000 0x200>; + interrupts = <50 4 0>; + #dma-cells = <1>; +}; + + +* DMA clients +DMA clients connected to the Atmel XDMA controller must use the format +described in the dma.txt file, using a one-cell specifier for each channel. +The two cells in order are: +1. A phandle pointing to the DMA controller. +2. Channel configuration register. Configurable fields are: + - bit 13: SIF, source interface identifier, used to get the memory + interface identifier, + - bit 14: DIF, destination interface identifier, used to get the peripheral + interface identifier, + - bit 30-24: PERID, peripheral identifier. + +Example: + +i2c2: i2c@f8024000 { + compatible = "atmel,at91sam9x5-i2c"; + reg = <0xf8024000 0x4000>; + interrupts = <34 4 6>; + dmas = <&dma1 + (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) + | AT91_XDMAC_DT_PERID(6))>, + <&dma1 + (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) + | AT91_XDMAC_DT_PERID(7))>; + dma-names = "tx", "rx"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/dma/dma-common.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/dma/dma-common.yaml index c5c98af699..ea700f8ee6 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/dma/dma-common.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/dma/dma-common.yaml @@ -1,53 +1,53 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/dma/dma-common.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: DMA Engine Common Properties - -maintainers: - - Vinod Koul - -description: - Generic binding to provide a way for a driver using DMA Engine to - retrieve the DMA request or channel information that goes from a - hardware device to a DMA controller. - -select: false - -properties: - "#dma-cells": - minimum: 1 - # Should be enough - maximum: 255 - description: - Used to provide DMA controller specific information. - - dma-channel-mask: - description: - Bitmask of available DMA channels in ascending order that are - not reserved by firmware and are available to the - kernel. i.e. first channel corresponds to LSB. - The first item in the array is for channels 0-31, the second is for - channels 32-63, etc. - $ref: /schemas/types.yaml#/definitions/uint32-array - items: - minItems: 1 - # Should be enough - maxItems: 255 - - dma-channels: - $ref: /schemas/types.yaml#/definitions/uint32 - description: - Number of DMA channels supported by the controller. - - dma-requests: - $ref: /schemas/types.yaml#/definitions/uint32 - description: - Number of DMA request signals supported by the controller. - -required: - - "#dma-cells" - -additionalProperties: true +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/dma/dma-common.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: DMA Engine Common Properties + +maintainers: + - Vinod Koul + +description: + Generic binding to provide a way for a driver using DMA Engine to + retrieve the DMA request or channel information that goes from a + hardware device to a DMA controller. + +select: false + +properties: + "#dma-cells": + minimum: 1 + # Should be enough + maximum: 255 + description: + Used to provide DMA controller specific information. + + dma-channel-mask: + description: + Bitmask of available DMA channels in ascending order that are + not reserved by firmware and are available to the + kernel. i.e. first channel corresponds to LSB. + The first item in the array is for channels 0-31, the second is for + channels 32-63, etc. + $ref: /schemas/types.yaml#/definitions/uint32-array + items: + minItems: 1 + # Should be enough + maxItems: 255 + + dma-channels: + $ref: /schemas/types.yaml#/definitions/uint32 + description: + Number of DMA channels supported by the controller. + + dma-requests: + $ref: /schemas/types.yaml#/definitions/uint32 + description: + Number of DMA request signals supported by the controller. + +required: + - "#dma-cells" + +additionalProperties: true diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/dma/loongson,ls1b-apbdma.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/dma/loongson,ls1b-apbdma.yaml index 07b61c112e..4c7d2fb7b2 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/dma/loongson,ls1b-apbdma.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/dma/loongson,ls1b-apbdma.yaml @@ -1,65 +1,65 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/dma/loongson,ls1b-apbdma.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Loongson-1 APB DMA Controller - -maintainers: - - Keguang Zhang - -description: - Loongson-1 APB DMA controller provides 3 independent channels for - peripherals such as NAND, audio playback and capture. - -properties: - compatible: - oneOf: - - const: loongson,ls1b-apbdma - - items: - - enum: - - loongson,ls1a-apbdma - - loongson,ls1c-apbdma - - const: loongson,ls1b-apbdma - - reg: - maxItems: 1 - - interrupts: - items: - - description: NAND interrupt - - description: Audio playback interrupt - - description: Audio capture interrupt - - interrupt-names: - items: - - const: ch0 - - const: ch1 - - const: ch2 - - '#dma-cells': - const: 1 - -required: - - compatible - - reg - - interrupts - - interrupt-names - - '#dma-cells' - -additionalProperties: false - -examples: - - | - #include - dma-controller@1fd01160 { - compatible = "loongson,ls1b-apbdma"; - reg = <0x1fd01160 0x4>; - interrupt-parent = <&intc0>; - interrupts = <13 IRQ_TYPE_EDGE_RISING>, - <14 IRQ_TYPE_EDGE_RISING>, - <15 IRQ_TYPE_EDGE_RISING>; - interrupt-names = "ch0", "ch1", "ch2"; - #dma-cells = <1>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/dma/loongson,ls1b-apbdma.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Loongson-1 APB DMA Controller + +maintainers: + - Keguang Zhang + +description: + Loongson-1 APB DMA controller provides 3 independent channels for + peripherals such as NAND, audio playback and capture. + +properties: + compatible: + oneOf: + - const: loongson,ls1b-apbdma + - items: + - enum: + - loongson,ls1a-apbdma + - loongson,ls1c-apbdma + - const: loongson,ls1b-apbdma + + reg: + maxItems: 1 + + interrupts: + items: + - description: NAND interrupt + - description: Audio playback interrupt + - description: Audio capture interrupt + + interrupt-names: + items: + - const: ch0 + - const: ch1 + - const: ch2 + + '#dma-cells': + const: 1 + +required: + - compatible + - reg + - interrupts + - interrupt-names + - '#dma-cells' + +additionalProperties: false + +examples: + - | + #include + dma-controller@1fd01160 { + compatible = "loongson,ls1b-apbdma"; + reg = <0x1fd01160 0x4>; + interrupt-parent = <&intc0>; + interrupts = <13 IRQ_TYPE_EDGE_RISING>, + <14 IRQ_TYPE_EDGE_RISING>, + <15 IRQ_TYPE_EDGE_RISING>; + interrupt-names = "ch0", "ch1", "ch2"; + #dma-cells = <1>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/dma/lpc1850-dmamux.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/dma/lpc1850-dmamux.txt index 1edb58cce8..87740adb29 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/dma/lpc1850-dmamux.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/dma/lpc1850-dmamux.txt @@ -1,54 +1,54 @@ -NXP LPC18xx/43xx DMA MUX (DMA request router) - -Required properties: -- compatible: "nxp,lpc1850-dmamux" -- reg: Memory map for accessing module -- #dma-cells: Should be set to <3>. - * 1st cell contain the master dma request signal - * 2nd cell contain the mux value (0-3) for the peripheral - * 3rd cell contain either 1 or 2 depending on the AHB - master used. -- dma-requests: Number of DMA requests for the mux -- dma-masters: phandle pointing to the DMA controller - -The DMA controller node need to have the following poroperties: -- dma-requests: Number of DMA requests the controller can handle - -Example: - -dmac: dma@40002000 { - compatible = "nxp,lpc1850-gpdma", "arm,pl080", "arm,primecell"; - arm,primecell-periphid = <0x00041080>; - reg = <0x40002000 0x1000>; - interrupts = <2>; - clocks = <&ccu1 CLK_CPU_DMA>; - clock-names = "apb_pclk"; - #dma-cells = <2>; - dma-channels = <8>; - dma-requests = <16>; - lli-bus-interface-ahb1; - lli-bus-interface-ahb2; - mem-bus-interface-ahb1; - mem-bus-interface-ahb2; - memcpy-burst-size = <256>; - memcpy-bus-width = <32>; -}; - -dmamux: dma-mux { - compatible = "nxp,lpc1850-dmamux"; - #dma-cells = <3>; - dma-requests = <64>; - dma-masters = <&dmac>; -}; - -uart0: serial@40081000 { - compatible = "nxp,lpc1850-uart", "ns16550a"; - reg = <0x40081000 0x1000>; - reg-shift = <2>; - interrupts = <24>; - clocks = <&ccu2 CLK_APB0_UART0>, <&ccu1 CLK_CPU_UART0>; - clock-names = "uartclk", "reg"; - dmas = <&dmamux 1 1 2 - &dmamux 2 1 2>; - dma-names = "tx", "rx"; -}; +NXP LPC18xx/43xx DMA MUX (DMA request router) + +Required properties: +- compatible: "nxp,lpc1850-dmamux" +- reg: Memory map for accessing module +- #dma-cells: Should be set to <3>. + * 1st cell contain the master dma request signal + * 2nd cell contain the mux value (0-3) for the peripheral + * 3rd cell contain either 1 or 2 depending on the AHB + master used. +- dma-requests: Number of DMA requests for the mux +- dma-masters: phandle pointing to the DMA controller + +The DMA controller node need to have the following poroperties: +- dma-requests: Number of DMA requests the controller can handle + +Example: + +dmac: dma@40002000 { + compatible = "nxp,lpc1850-gpdma", "arm,pl080", "arm,primecell"; + arm,primecell-periphid = <0x00041080>; + reg = <0x40002000 0x1000>; + interrupts = <2>; + clocks = <&ccu1 CLK_CPU_DMA>; + clock-names = "apb_pclk"; + #dma-cells = <2>; + dma-channels = <8>; + dma-requests = <16>; + lli-bus-interface-ahb1; + lli-bus-interface-ahb2; + mem-bus-interface-ahb1; + mem-bus-interface-ahb2; + memcpy-burst-size = <256>; + memcpy-bus-width = <32>; +}; + +dmamux: dma-mux { + compatible = "nxp,lpc1850-dmamux"; + #dma-cells = <3>; + dma-requests = <64>; + dma-masters = <&dmac>; +}; + +uart0: serial@40081000 { + compatible = "nxp,lpc1850-uart", "ns16550a"; + reg = <0x40081000 0x1000>; + reg-shift = <2>; + interrupts = <24>; + clocks = <&ccu2 CLK_APB0_UART0>, <&ccu1 CLK_CPU_UART0>; + clock-names = "uartclk", "reg"; + dmas = <&dmamux 1 1 2 + &dmamux 2 1 2>; + dma-names = "tx", "rx"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/dma/marvell,mmp-dma.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/dma/marvell,mmp-dma.yaml index de1cde347e..d447d5207b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/dma/marvell,mmp-dma.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/dma/marvell,mmp-dma.yaml @@ -1,72 +1,72 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/dma/marvell,mmp-dma.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Marvell MMP DMA controller - -maintainers: - - Duje Mihanović - -description: - Marvell MMP SoCs may have two types of DMA controllers, peripheral and audio. - -properties: - compatible: - enum: - - marvell,pdma-1.0 - - marvell,adma-1.0 - - marvell,pxa910-squ - - reg: - maxItems: 1 - - interrupts: - description: - Interrupt lines for the controller, may be shared or one per DMA channel - minItems: 1 - - asram: - description: - A phandle to the SRAM pool - $ref: /schemas/types.yaml#/definitions/phandle - - '#dma-channels': - deprecated: true - - '#dma-requests': - deprecated: true - -required: - - compatible - - reg - - interrupts - - '#dma-cells' - -allOf: - - $ref: dma-controller.yaml# - - if: - properties: - compatible: - contains: - enum: - - marvell,pdma-1.0 - then: - properties: - asram: false - else: - required: - - asram - -unevaluatedProperties: false - -examples: - - | - dma-controller@d4000000 { - compatible = "marvell,pdma-1.0"; - reg = <0xd4000000 0x10000>; - interrupts = <47>; - #dma-cells = <2>; - dma-channels = <16>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/dma/marvell,mmp-dma.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Marvell MMP DMA controller + +maintainers: + - Duje Mihanović + +description: + Marvell MMP SoCs may have two types of DMA controllers, peripheral and audio. + +properties: + compatible: + enum: + - marvell,pdma-1.0 + - marvell,adma-1.0 + - marvell,pxa910-squ + + reg: + maxItems: 1 + + interrupts: + description: + Interrupt lines for the controller, may be shared or one per DMA channel + minItems: 1 + + asram: + description: + A phandle to the SRAM pool + $ref: /schemas/types.yaml#/definitions/phandle + + '#dma-channels': + deprecated: true + + '#dma-requests': + deprecated: true + +required: + - compatible + - reg + - interrupts + - '#dma-cells' + +allOf: + - $ref: dma-controller.yaml# + - if: + properties: + compatible: + contains: + enum: + - marvell,pdma-1.0 + then: + properties: + asram: false + else: + required: + - asram + +unevaluatedProperties: false + +examples: + - | + dma-controller@d4000000 { + compatible = "marvell,pdma-1.0"; + reg = <0xd4000000 0x10000>; + interrupts = <47>; + #dma-cells = <2>; + dma-channels = <16>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/dma/nvidia,tegra20-apbdma.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/dma/nvidia,tegra20-apbdma.txt index d959fb0580..447fb44e7a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/dma/nvidia,tegra20-apbdma.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/dma/nvidia,tegra20-apbdma.txt @@ -1,44 +1,44 @@ -* NVIDIA Tegra APB DMA controller - -Required properties: -- compatible: Should be "nvidia,-apbdma" -- reg: Should contain DMA registers location and length. This should include - all of the per-channel registers. -- interrupts: Should contain all of the per-channel DMA interrupts. -- clocks: Must contain one entry, for the module clock. - See ../clocks/clock-bindings.txt for details. -- resets : Must contain an entry for each entry in reset-names. - See ../reset/reset.txt for details. -- reset-names : Must include the following entries: - - dma -- #dma-cells : Must be <1>. This dictates the length of DMA specifiers in - client nodes' dmas properties. The specifier represents the DMA request - select value for the peripheral. For more details, consult the Tegra TRM's - documentation of the APB DMA channel control register REQ_SEL field. - -Examples: - -apbdma: dma@6000a000 { - compatible = "nvidia,tegra20-apbdma"; - reg = <0x6000a000 0x1200>; - interrupts = < 0 136 0x04 - 0 137 0x04 - 0 138 0x04 - 0 139 0x04 - 0 140 0x04 - 0 141 0x04 - 0 142 0x04 - 0 143 0x04 - 0 144 0x04 - 0 145 0x04 - 0 146 0x04 - 0 147 0x04 - 0 148 0x04 - 0 149 0x04 - 0 150 0x04 - 0 151 0x04 >; - clocks = <&tegra_car 34>; - resets = <&tegra_car 34>; - reset-names = "dma"; - #dma-cells = <1>; -}; +* NVIDIA Tegra APB DMA controller + +Required properties: +- compatible: Should be "nvidia,-apbdma" +- reg: Should contain DMA registers location and length. This should include + all of the per-channel registers. +- interrupts: Should contain all of the per-channel DMA interrupts. +- clocks: Must contain one entry, for the module clock. + See ../clocks/clock-bindings.txt for details. +- resets : Must contain an entry for each entry in reset-names. + See ../reset/reset.txt for details. +- reset-names : Must include the following entries: + - dma +- #dma-cells : Must be <1>. This dictates the length of DMA specifiers in + client nodes' dmas properties. The specifier represents the DMA request + select value for the peripheral. For more details, consult the Tegra TRM's + documentation of the APB DMA channel control register REQ_SEL field. + +Examples: + +apbdma: dma@6000a000 { + compatible = "nvidia,tegra20-apbdma"; + reg = <0x6000a000 0x1200>; + interrupts = < 0 136 0x04 + 0 137 0x04 + 0 138 0x04 + 0 139 0x04 + 0 140 0x04 + 0 141 0x04 + 0 142 0x04 + 0 143 0x04 + 0 144 0x04 + 0 145 0x04 + 0 146 0x04 + 0 147 0x04 + 0 148 0x04 + 0 149 0x04 + 0 150 0x04 + 0 151 0x04 >; + clocks = <&tegra_car 34>; + resets = <&tegra_car 34>; + reset-names = "dma"; + #dma-cells = <1>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/dma/owl-dma.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/dma/owl-dma.yaml index b715c98b35..ec8b3dc37c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/dma/owl-dma.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/dma/owl-dma.yaml @@ -1,80 +1,80 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/dma/owl-dma.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Actions Semi Owl SoCs DMA controller - -description: | - The OWL DMA is a general-purpose direct memory access controller capable of - supporting 10 independent DMA channels for the Actions Semi S700 SoC and 12 - independent DMA channels for the S500 and S900 SoC variants. - -maintainers: - - Manivannan Sadhasivam - -allOf: - - $ref: dma-controller.yaml# - -properties: - compatible: - enum: - - actions,s500-dma - - actions,s700-dma - - actions,s900-dma - - reg: - maxItems: 1 - - interrupts: - description: - controller supports 4 interrupts, which are freely assignable to the - DMA channels. - maxItems: 4 - - "#dma-cells": - const: 1 - - dma-channels: - maximum: 12 - - dma-requests: - maximum: 46 - - clocks: - maxItems: 1 - description: - Phandle and Specifier of the clock feeding the DMA controller. - - power-domains: - maxItems: 1 - -required: - - compatible - - reg - - interrupts - - "#dma-cells" - - dma-channels - - dma-requests - - clocks - -unevaluatedProperties: false - -examples: - - | - #include - dma: dma-controller@e0260000 { - compatible = "actions,s900-dma"; - reg = <0xe0260000 0x1000>; - interrupts = , - , - , - ; - #dma-cells = <1>; - dma-channels = <12>; - dma-requests = <46>; - clocks = <&clock 22>; - }; - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/dma/owl-dma.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Actions Semi Owl SoCs DMA controller + +description: | + The OWL DMA is a general-purpose direct memory access controller capable of + supporting 10 independent DMA channels for the Actions Semi S700 SoC and 12 + independent DMA channels for the S500 and S900 SoC variants. + +maintainers: + - Manivannan Sadhasivam + +allOf: + - $ref: dma-controller.yaml# + +properties: + compatible: + enum: + - actions,s500-dma + - actions,s700-dma + - actions,s900-dma + + reg: + maxItems: 1 + + interrupts: + description: + controller supports 4 interrupts, which are freely assignable to the + DMA channels. + maxItems: 4 + + "#dma-cells": + const: 1 + + dma-channels: + maximum: 12 + + dma-requests: + maximum: 46 + + clocks: + maxItems: 1 + description: + Phandle and Specifier of the clock feeding the DMA controller. + + power-domains: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + - "#dma-cells" + - dma-channels + - dma-requests + - clocks + +unevaluatedProperties: false + +examples: + - | + #include + dma: dma-controller@e0260000 { + compatible = "actions,s900-dma"; + reg = <0xe0260000 0x1000>; + interrupts = , + , + , + ; + #dma-cells = <1>; + dma-channels = <12>; + dma-requests = <46>; + clocks = <&clock 22>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/dma/sifive,fu540-c000-pdma.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/dma/sifive,fu540-c000-pdma.yaml index 2347777c9a..3b22183a1a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/dma/sifive,fu540-c000-pdma.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/dma/sifive,fu540-c000-pdma.yaml @@ -1,75 +1,75 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/dma/sifive,fu540-c000-pdma.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: SiFive Unleashed Rev C000 Platform DMA - -maintainers: - - Green Wan - - Palmer Debbelt - - Paul Walmsley - -description: | - Platform DMA is a DMA engine of SiFive Unleashed. It supports 4 - channels. Each channel has 2 interrupts. One is for DMA done and - the other is for DME error. - - In different SoC, DMA could be attached to different IRQ line. - DT file need to be changed to meet the difference. For technical - doc, - - https://static.dev.sifive.com/FU540-C000-v1.0.pdf - -allOf: - - $ref: dma-controller.yaml# - -properties: - compatible: - items: - - enum: - - microchip,mpfs-pdma - - sifive,fu540-c000-pdma - - const: sifive,pdma0 - description: - Should be "sifive,-pdma" and "sifive,pdma". - Supported compatible strings are - - "sifive,fu540-c000-pdma" for the SiFive PDMA v0 as integrated onto the - SiFive FU540 chip resp and "sifive,pdma0" for the SiFive PDMA v0 IP block - with no chip integration tweaks. - - reg: - maxItems: 1 - - interrupts: - minItems: 1 - maxItems: 8 - - dma-channels: - description: For backwards-compatibility, the default value is 4 - minimum: 1 - maximum: 4 - default: 4 - - '#dma-cells': - const: 1 - -required: - - compatible - - reg - - interrupts - -unevaluatedProperties: false - -examples: - - | - dma-controller@3000000 { - compatible = "sifive,fu540-c000-pdma", "sifive,pdma0"; - reg = <0x3000000 0x8000>; - dma-channels = <4>; - interrupts = <23>, <24>, <25>, <26>, <27>, <28>, <29>, <30>; - #dma-cells = <1>; - }; - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/dma/sifive,fu540-c000-pdma.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: SiFive Unleashed Rev C000 Platform DMA + +maintainers: + - Green Wan + - Palmer Debbelt + - Paul Walmsley + +description: | + Platform DMA is a DMA engine of SiFive Unleashed. It supports 4 + channels. Each channel has 2 interrupts. One is for DMA done and + the other is for DME error. + + In different SoC, DMA could be attached to different IRQ line. + DT file need to be changed to meet the difference. For technical + doc, + + https://static.dev.sifive.com/FU540-C000-v1.0.pdf + +allOf: + - $ref: dma-controller.yaml# + +properties: + compatible: + items: + - enum: + - microchip,mpfs-pdma + - sifive,fu540-c000-pdma + - const: sifive,pdma0 + description: + Should be "sifive,-pdma" and "sifive,pdma". + Supported compatible strings are - + "sifive,fu540-c000-pdma" for the SiFive PDMA v0 as integrated onto the + SiFive FU540 chip resp and "sifive,pdma0" for the SiFive PDMA v0 IP block + with no chip integration tweaks. + + reg: + maxItems: 1 + + interrupts: + minItems: 1 + maxItems: 8 + + dma-channels: + description: For backwards-compatibility, the default value is 4 + minimum: 1 + maximum: 4 + default: 4 + + '#dma-cells': + const: 1 + +required: + - compatible + - reg + - interrupts + +unevaluatedProperties: false + +examples: + - | + dma-controller@3000000 { + compatible = "sifive,fu540-c000-pdma", "sifive,pdma0"; + reg = <0x3000000 0x8000>; + dma-channels = <4>; + interrupts = <23>, <24>, <25>, <26>, <27>, <28>, <29>, <30>; + #dma-cells = <1>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/dma/socionext,uniphier-mio-dmac.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/dma/socionext,uniphier-mio-dmac.yaml index 1405f5543e..23c8a7bf24 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/dma/socionext,uniphier-mio-dmac.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/dma/socionext,uniphier-mio-dmac.yaml @@ -1,63 +1,63 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/dma/socionext,uniphier-mio-dmac.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: UniPhier Media IO DMA controller - -description: | - This works as an external DMA engine for SD/eMMC controllers etc. - found in UniPhier LD4, Pro4, sLD8 SoCs. - -maintainers: - - Masahiro Yamada - -allOf: - - $ref: dma-controller.yaml# - -properties: - compatible: - const: socionext,uniphier-mio-dmac - - reg: - maxItems: 1 - - interrupts: - description: | - A list of interrupt specifiers associated with the DMA channels. - The number of interrupt lines is SoC-dependent. - - clocks: - maxItems: 1 - - resets: - maxItems: 1 - - '#dma-cells': - description: The single cell represents the channel index. - const: 1 - -required: - - compatible - - reg - - interrupts - - clocks - - '#dma-cells' - -additionalProperties: false - -examples: - - | - // In the example below, "interrupts = <0 68 4>, <0 68 4>, ..." is not a - // typo. The first two channels share a single interrupt line. - - dmac: dma-controller@5a000000 { - compatible = "socionext,uniphier-mio-dmac"; - reg = <0x5a000000 0x1000>; - interrupts = <0 68 4>, <0 68 4>, <0 69 4>, <0 70 4>, - <0 71 4>, <0 72 4>, <0 73 4>, <0 74 4>; - clocks = <&mio_clk 7>; - resets = <&mio_rst 7>; - #dma-cells = <1>; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/dma/socionext,uniphier-mio-dmac.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: UniPhier Media IO DMA controller + +description: | + This works as an external DMA engine for SD/eMMC controllers etc. + found in UniPhier LD4, Pro4, sLD8 SoCs. + +maintainers: + - Masahiro Yamada + +allOf: + - $ref: dma-controller.yaml# + +properties: + compatible: + const: socionext,uniphier-mio-dmac + + reg: + maxItems: 1 + + interrupts: + description: | + A list of interrupt specifiers associated with the DMA channels. + The number of interrupt lines is SoC-dependent. + + clocks: + maxItems: 1 + + resets: + maxItems: 1 + + '#dma-cells': + description: The single cell represents the channel index. + const: 1 + +required: + - compatible + - reg + - interrupts + - clocks + - '#dma-cells' + +additionalProperties: false + +examples: + - | + // In the example below, "interrupts = <0 68 4>, <0 68 4>, ..." is not a + // typo. The first two channels share a single interrupt line. + + dmac: dma-controller@5a000000 { + compatible = "socionext,uniphier-mio-dmac"; + reg = <0x5a000000 0x1000>; + interrupts = <0 68 4>, <0 68 4>, <0 69 4>, <0 70 4>, + <0 71 4>, <0 72 4>, <0 73 4>, <0 74 4>; + clocks = <&mio_clk 7>; + resets = <&mio_rst 7>; + #dma-cells = <1>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/dma/socionext,uniphier-xdmac.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/dma/socionext,uniphier-xdmac.yaml index 67e433fbdc..da61d1ddc9 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/dma/socionext,uniphier-xdmac.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/dma/socionext,uniphier-xdmac.yaml @@ -1,62 +1,62 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/dma/socionext,uniphier-xdmac.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Socionext UniPhier external DMA controller - -description: | - This describes the devicetree bindings for an external DMA engine to perform - memory-to-memory or peripheral-to-memory data transfer capable of supporting - 16 channels, implemented in Socionext UniPhier SoCs. - -maintainers: - - Kunihiko Hayashi - -allOf: - - $ref: dma-controller.yaml# - -properties: - compatible: - const: socionext,uniphier-xdmac - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - "#dma-cells": - const: 2 - description: | - DMA request from clients consists of 2 cells: - 1. Channel index - 2. Transfer request factor number, If no transfer factor, use 0. - The number is SoC-specific, and this should be specified with - relation to the device to use the DMA controller. - - dma-channels: - minimum: 1 - maximum: 16 - -additionalProperties: false - -required: - - compatible - - reg - - interrupts - - "#dma-cells" - - dma-channels - -examples: - - | - xdmac: dma-controller@5fc10000 { - compatible = "socionext,uniphier-xdmac"; - reg = <0x5fc10000 0x5300>; - interrupts = <0 188 4>; - #dma-cells = <2>; - dma-channels = <16>; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/dma/socionext,uniphier-xdmac.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Socionext UniPhier external DMA controller + +description: | + This describes the devicetree bindings for an external DMA engine to perform + memory-to-memory or peripheral-to-memory data transfer capable of supporting + 16 channels, implemented in Socionext UniPhier SoCs. + +maintainers: + - Kunihiko Hayashi + +allOf: + - $ref: dma-controller.yaml# + +properties: + compatible: + const: socionext,uniphier-xdmac + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + "#dma-cells": + const: 2 + description: | + DMA request from clients consists of 2 cells: + 1. Channel index + 2. Transfer request factor number, If no transfer factor, use 0. + The number is SoC-specific, and this should be specified with + relation to the device to use the DMA controller. + + dma-channels: + minimum: 1 + maximum: 16 + +additionalProperties: false + +required: + - compatible + - reg + - interrupts + - "#dma-cells" + - dma-channels + +examples: + - | + xdmac: dma-controller@5fc10000 { + compatible = "socionext,uniphier-xdmac"; + reg = <0x5fc10000 0x5300>; + interrupts = <0 188 4>; + #dma-cells = <2>; + dma-channels = <16>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/dma/xilinx/xlnx,zynqmp-dpdma.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/dma/xilinx/xlnx,zynqmp-dpdma.yaml index ce29820ae3..2128f4645c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/dma/xilinx/xlnx,zynqmp-dpdma.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/dma/xilinx/xlnx,zynqmp-dpdma.yaml @@ -1,74 +1,74 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/dma/xilinx/xlnx,zynqmp-dpdma.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Xilinx ZynqMP DisplayPort DMA Controller - -description: | - These bindings describe the DMA engine included in the Xilinx ZynqMP - DisplayPort Subsystem. The DMA engine supports up to 6 DMA channels (3 - channels for a video stream, 1 channel for a graphics stream, and 2 channels - for an audio stream). - -maintainers: - - Laurent Pinchart - -allOf: - - $ref: ../dma-controller.yaml# - -properties: - "#dma-cells": - const: 1 - description: | - The cell is the DMA channel ID (see dt-bindings/dma/xlnx-zynqmp-dpdma.h - for a list of channel IDs). - - compatible: - const: xlnx,zynqmp-dpdma - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - description: The AXI clock - maxItems: 1 - - clock-names: - const: axi_clk - - power-domains: - maxItems: 1 - -required: - - "#dma-cells" - - compatible - - reg - - interrupts - - clocks - - clock-names - - power-domains - -additionalProperties: false - -examples: - - | - #include - #include - - dma: dma-controller@fd4c0000 { - compatible = "xlnx,zynqmp-dpdma"; - reg = <0xfd4c0000 0x1000>; - interrupts = ; - interrupt-parent = <&gic>; - clocks = <&dpdma_clk>; - clock-names = "axi_clk"; - #dma-cells = <1>; - power-domains = <&zynqmp_firmware PD_DP>; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/dma/xilinx/xlnx,zynqmp-dpdma.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Xilinx ZynqMP DisplayPort DMA Controller + +description: | + These bindings describe the DMA engine included in the Xilinx ZynqMP + DisplayPort Subsystem. The DMA engine supports up to 6 DMA channels (3 + channels for a video stream, 1 channel for a graphics stream, and 2 channels + for an audio stream). + +maintainers: + - Laurent Pinchart + +allOf: + - $ref: ../dma-controller.yaml# + +properties: + "#dma-cells": + const: 1 + description: | + The cell is the DMA channel ID (see dt-bindings/dma/xlnx-zynqmp-dpdma.h + for a list of channel IDs). + + compatible: + const: xlnx,zynqmp-dpdma + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + description: The AXI clock + maxItems: 1 + + clock-names: + const: axi_clk + + power-domains: + maxItems: 1 + +required: + - "#dma-cells" + - compatible + - reg + - interrupts + - clocks + - clock-names + - power-domains + +additionalProperties: false + +examples: + - | + #include + #include + + dma: dma-controller@fd4c0000 { + compatible = "xlnx,zynqmp-dpdma"; + reg = <0xfd4c0000 0x1000>; + interrupts = ; + interrupt-parent = <&gic>; + clocks = <&dpdma_clk>; + clock-names = "axi_clk"; + #dma-cells = <1>; + power-domains = <&zynqmp_firmware PD_DP>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/edac/amazon,al-mc-edac.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/edac/amazon,al-mc-edac.yaml index 0f91bf2a27..4cfc3a1870 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/edac/amazon,al-mc-edac.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/edac/amazon,al-mc-edac.yaml @@ -1,66 +1,66 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/edac/amazon,al-mc-edac.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Amazon's Annapurna Labs Memory Controller EDAC - -maintainers: - - Talel Shenhar - - Talel Shenhar - -description: | - EDAC node is defined to describe on-chip error detection and correction for - Amazon's Annapurna Labs Memory Controller. - -properties: - - compatible: - const: amazon,al-mc-edac - - reg: - maxItems: 1 - - "#address-cells": - const: 2 - - "#size-cells": - const: 2 - - interrupts: - minItems: 1 - items: - - description: uncorrectable error interrupt - - description: correctable error interrupt - - interrupt-names: - minItems: 1 - items: - - const: ue - - const: ce - -required: - - compatible - - reg - - "#address-cells" - - "#size-cells" - -additionalProperties: false - -examples: - - | - #include - soc { - #address-cells = <2>; - #size-cells = <2>; - edac@f0080000 { - #address-cells = <2>; - #size-cells = <2>; - compatible = "amazon,al-mc-edac"; - reg = <0x0 0xf0080000 0x0 0x00010000>; - interrupt-parent = <&amazon_al_system_fabric>; - interrupt-names = "ue"; - interrupts = <20 IRQ_TYPE_LEVEL_HIGH>; - }; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/edac/amazon,al-mc-edac.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Amazon's Annapurna Labs Memory Controller EDAC + +maintainers: + - Talel Shenhar + - Talel Shenhar + +description: | + EDAC node is defined to describe on-chip error detection and correction for + Amazon's Annapurna Labs Memory Controller. + +properties: + + compatible: + const: amazon,al-mc-edac + + reg: + maxItems: 1 + + "#address-cells": + const: 2 + + "#size-cells": + const: 2 + + interrupts: + minItems: 1 + items: + - description: uncorrectable error interrupt + - description: correctable error interrupt + + interrupt-names: + minItems: 1 + items: + - const: ue + - const: ce + +required: + - compatible + - reg + - "#address-cells" + - "#size-cells" + +additionalProperties: false + +examples: + - | + #include + soc { + #address-cells = <2>; + #size-cells = <2>; + edac@f0080000 { + #address-cells = <2>; + #size-cells = <2>; + compatible = "amazon,al-mc-edac"; + reg = <0x0 0xf0080000 0x0 0x00010000>; + interrupt-parent = <&amazon_al_system_fabric>; + interrupt-names = "ue"; + interrupts = <20 IRQ_TYPE_LEVEL_HIGH>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/eeprom/microchip,93lc46b.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/eeprom/microchip,93lc46b.yaml index d44d90fce8..144e86ce5c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/eeprom/microchip,93lc46b.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/eeprom/microchip,93lc46b.yaml @@ -1,70 +1,70 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/eeprom/microchip,93lc46b.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Microchip 93xx46 SPI compatible EEPROM family - -maintainers: - - Cory Tusar - -properties: - compatible: - enum: - - atmel,at93c46 - - atmel,at93c46d - - atmel,at93c56 - - atmel,at93c66 - - eeprom-93xx46 - - microchip,93lc46b - - data-size: - description: number of data bits per word - $ref: /schemas/types.yaml#/definitions/uint32 - enum: [8, 16] - - reg: - description: chip select of EEPROM - maxItems: 1 - - read-only: - description: - parameter-less property which disables writes to the EEPROM - type: boolean - - select-gpios: - description: - specifies the GPIO that needs to be asserted prior to each access - of EEPROM (e.g. for SPI bus multiplexing) - maxItems: 1 - -required: - - compatible - - reg - - data-size - - spi-max-frequency - -allOf: - - $ref: /schemas/spi/spi-peripheral-props.yaml# - - $ref: /schemas/nvmem/nvmem.yaml - -unevaluatedProperties: false - -examples: - - | - #include - - spi { - #address-cells = <1>; - #size-cells = <0>; - - eeprom@0 { - compatible = "eeprom-93xx46"; - reg = <0>; - spi-max-frequency = <1000000>; - spi-cs-high; - data-size = <8>; - select-gpios = <&gpio4 4 GPIO_ACTIVE_HIGH>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/eeprom/microchip,93lc46b.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Microchip 93xx46 SPI compatible EEPROM family + +maintainers: + - Cory Tusar + +properties: + compatible: + enum: + - atmel,at93c46 + - atmel,at93c46d + - atmel,at93c56 + - atmel,at93c66 + - eeprom-93xx46 + - microchip,93lc46b + + data-size: + description: number of data bits per word + $ref: /schemas/types.yaml#/definitions/uint32 + enum: [8, 16] + + reg: + description: chip select of EEPROM + maxItems: 1 + + read-only: + description: + parameter-less property which disables writes to the EEPROM + type: boolean + + select-gpios: + description: + specifies the GPIO that needs to be asserted prior to each access + of EEPROM (e.g. for SPI bus multiplexing) + maxItems: 1 + +required: + - compatible + - reg + - data-size + - spi-max-frequency + +allOf: + - $ref: /schemas/spi/spi-peripheral-props.yaml# + - $ref: /schemas/nvmem/nvmem.yaml + +unevaluatedProperties: false + +examples: + - | + #include + + spi { + #address-cells = <1>; + #size-cells = <0>; + + eeprom@0 { + compatible = "eeprom-93xx46"; + reg = <0>; + spi-max-frequency = <1000000>; + spi-cs-high; + data-size = <8>; + select-gpios = <&gpio4 4 GPIO_ACTIVE_HIGH>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/extcon/extcon-ptn5150.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/extcon/extcon-ptn5150.yaml index 70f7428d5b..072b3c0c5f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/extcon/extcon-ptn5150.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/extcon/extcon-ptn5150.yaml @@ -1,73 +1,73 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/extcon/extcon-ptn5150.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: PTN5150 CC (Configuration Channel) Logic device - -maintainers: - - Krzysztof Kozlowski - -description: | - PTN5150 is a small thin low power CC logic chip supporting the USB Type-C - connector application with CC control logic detection and indication - functions. It is interfaced to the host controller using an I2C interface. - -properties: - compatible: - const: nxp,ptn5150 - - int-gpios: - maxItems: 1 - deprecated: true - description: - GPIO pin (input) connected to the PTN5150's INTB pin. - Use "interrupts" instead. - - interrupts: - maxItems: 1 - - reg: - maxItems: 1 - - vbus-gpios: - maxItems: 1 - description: - GPIO pin (output) used to control VBUS. If skipped, no such control - takes place. - - port: - $ref: /schemas/graph.yaml#/properties/port - description: - A port node to link the usb controller for the dual role switch. - -required: - - compatible - - interrupts - - reg - -additionalProperties: false - -examples: - - | - #include - #include - i2c { - #address-cells = <1>; - #size-cells = <0>; - - ptn5150@1d { - compatible = "nxp,ptn5150"; - reg = <0x1d>; - interrupt-parent = <&msmgpio>; - interrupts = <78 IRQ_TYPE_LEVEL_HIGH>; - vbus-gpios = <&msmgpio 148 GPIO_ACTIVE_HIGH>; - - port { - endpoint { - remote-endpoint = <&usb1_drd_sw>; - }; - }; - }; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/extcon/extcon-ptn5150.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: PTN5150 CC (Configuration Channel) Logic device + +maintainers: + - Krzysztof Kozlowski + +description: | + PTN5150 is a small thin low power CC logic chip supporting the USB Type-C + connector application with CC control logic detection and indication + functions. It is interfaced to the host controller using an I2C interface. + +properties: + compatible: + const: nxp,ptn5150 + + int-gpios: + maxItems: 1 + deprecated: true + description: + GPIO pin (input) connected to the PTN5150's INTB pin. + Use "interrupts" instead. + + interrupts: + maxItems: 1 + + reg: + maxItems: 1 + + vbus-gpios: + maxItems: 1 + description: + GPIO pin (output) used to control VBUS. If skipped, no such control + takes place. + + port: + $ref: /schemas/graph.yaml#/properties/port + description: + A port node to link the usb controller for the dual role switch. + +required: + - compatible + - interrupts + - reg + +additionalProperties: false + +examples: + - | + #include + #include + i2c { + #address-cells = <1>; + #size-cells = <0>; + + ptn5150@1d { + compatible = "nxp,ptn5150"; + reg = <0x1d>; + interrupt-parent = <&msmgpio>; + interrupts = <78 IRQ_TYPE_LEVEL_HIGH>; + vbus-gpios = <&msmgpio 148 GPIO_ACTIVE_HIGH>; + + port { + endpoint { + remote-endpoint = <&usb1_drd_sw>; + }; + }; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/extcon/extcon-usbc-cros-ec.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/extcon/extcon-usbc-cros-ec.yaml index 97cd35fc2f..e00c8072ba 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/extcon/extcon-usbc-cros-ec.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/extcon/extcon-usbc-cros-ec.yaml @@ -1,55 +1,55 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/extcon/extcon-usbc-cros-ec.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: ChromeOS EC USB Type-C cable and accessories detection - -maintainers: - - Benson Leung - -description: | - On ChromeOS systems with USB Type C ports, the ChromeOS Embedded Controller is - able to detect the state of external accessories such as display adapters - or USB devices when said accessories are attached or detached. - The node for this device must be under a cros-ec node like google,cros-ec-spi - or google,cros-ec-i2c. - -properties: - compatible: - const: google,extcon-usbc-cros-ec - - google,usb-port-id: - $ref: /schemas/types.yaml#/definitions/uint32 - description: the port id - minimum: 0 - maximum: 255 - -required: - - compatible - - google,usb-port-id - -additionalProperties: false - -examples: - - | - spi { - #address-cells = <1>; - #size-cells = <0>; - cros-ec@0 { - compatible = "google,cros-ec-spi"; - reg = <0>; - interrupts = <44 0>; - - usbc_extcon0: extcon0 { - compatible = "google,extcon-usbc-cros-ec"; - google,usb-port-id = <0>; - }; - - usbc_extcon1: extcon1 { - compatible = "google,extcon-usbc-cros-ec"; - google,usb-port-id = <1>; - }; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/extcon/extcon-usbc-cros-ec.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ChromeOS EC USB Type-C cable and accessories detection + +maintainers: + - Benson Leung + +description: | + On ChromeOS systems with USB Type C ports, the ChromeOS Embedded Controller is + able to detect the state of external accessories such as display adapters + or USB devices when said accessories are attached or detached. + The node for this device must be under a cros-ec node like google,cros-ec-spi + or google,cros-ec-i2c. + +properties: + compatible: + const: google,extcon-usbc-cros-ec + + google,usb-port-id: + $ref: /schemas/types.yaml#/definitions/uint32 + description: the port id + minimum: 0 + maximum: 255 + +required: + - compatible + - google,usb-port-id + +additionalProperties: false + +examples: + - | + spi { + #address-cells = <1>; + #size-cells = <0>; + cros-ec@0 { + compatible = "google,cros-ec-spi"; + reg = <0>; + interrupts = <44 0>; + + usbc_extcon0: extcon0 { + compatible = "google,extcon-usbc-cros-ec"; + google,usb-port-id = <0>; + }; + + usbc_extcon1: extcon1 { + compatible = "google,extcon-usbc-cros-ec"; + google,usb-port-id = <1>; + }; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/extcon/qcom,pm8941-misc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/extcon/qcom,pm8941-misc.yaml index 8ba4a909d9..6b80518cbf 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/extcon/qcom,pm8941-misc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/extcon/qcom,pm8941-misc.yaml @@ -1,66 +1,66 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/extcon/qcom,pm8941-misc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm Technologies, Inc. PM8941 USB ID Extcon device - -maintainers: - - Guru Das Srinagesh - -description: | - Some Qualcomm PMICs have a "misc" module that can be used to detect when - the USB ID pin has been pulled low or high. - -properties: - compatible: - items: - - const: qcom,pm8941-misc - - reg: - maxItems: 1 - - interrupts: - minItems: 1 - maxItems: 2 - - interrupt-names: - minItems: 1 - anyOf: - - items: - - const: usb_id - - const: usb_vbus - - items: - - const: usb_id - - items: - - const: usb_vbus -required: - - compatible - - reg - - interrupts - - interrupt-names - -additionalProperties: false - -examples: - - | - #include - - pmic { - #address-cells = <1>; - #size-cells = <0>; - interrupt-controller; - #interrupt-cells = <4>; - - usb_id: usb-detect@900 { - compatible = "qcom,pm8941-misc"; - reg = <0x900>; - interrupts = <0x0 0x9 0 IRQ_TYPE_EDGE_BOTH>; - interrupt-names = "usb_id"; - }; - }; - - usb-controller { - extcon = <&usb_id>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/extcon/qcom,pm8941-misc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Technologies, Inc. PM8941 USB ID Extcon device + +maintainers: + - Guru Das Srinagesh + +description: | + Some Qualcomm PMICs have a "misc" module that can be used to detect when + the USB ID pin has been pulled low or high. + +properties: + compatible: + items: + - const: qcom,pm8941-misc + + reg: + maxItems: 1 + + interrupts: + minItems: 1 + maxItems: 2 + + interrupt-names: + minItems: 1 + anyOf: + - items: + - const: usb_id + - const: usb_vbus + - items: + - const: usb_id + - items: + - const: usb_vbus +required: + - compatible + - reg + - interrupts + - interrupt-names + +additionalProperties: false + +examples: + - | + #include + + pmic { + #address-cells = <1>; + #size-cells = <0>; + interrupt-controller; + #interrupt-cells = <4>; + + usb_id: usb-detect@900 { + compatible = "qcom,pm8941-misc"; + reg = <0x900>; + interrupts = <0x0 0x9 0 IRQ_TYPE_EDGE_BOTH>; + interrupt-names = "usb_id"; + }; + }; + + usb-controller { + extcon = <&usb_id>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/extcon/siliconmitus,sm5502-muic.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/extcon/siliconmitus,sm5502-muic.yaml index 03a9aaaa9c..7ef2d9bef7 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/extcon/siliconmitus,sm5502-muic.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/extcon/siliconmitus,sm5502-muic.yaml @@ -1,57 +1,57 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/extcon/siliconmitus,sm5502-muic.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: SM5502/SM5504 MUIC (Micro-USB Interface Controller) device - -maintainers: - - Chanwoo Choi - -description: - The Silicon Mitus SM5502 is a MUIC (Micro-USB Interface Controller) device - which can detect the state of external accessory when external accessory is - attached or detached and button is pressed or released. It is interfaced to - the host controller using an I2C interface. - -properties: - compatible: - enum: - - siliconmitus,sm5502-muic - - siliconmitus,sm5504-muic - - siliconmitus,sm5703-muic - - reg: - maxItems: 1 - description: I2C slave address of the device. Usually 0x25 for SM5502 - and SM5703, 0x14 for SM5504. - - connector: - $ref: /schemas/connector/usb-connector.yaml# - unevaluatedProperties: false - - interrupts: - maxItems: 1 - -required: - - compatible - - reg - - interrupts - -additionalProperties: false - -examples: - - | - #include - i2c { - #address-cells = <1>; - #size-cells = <0>; - - extcon@25 { - compatible = "siliconmitus,sm5502-muic"; - reg = <0x25>; - interrupt-parent = <&msmgpio>; - interrupts = <12 IRQ_TYPE_EDGE_FALLING>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/extcon/siliconmitus,sm5502-muic.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: SM5502/SM5504 MUIC (Micro-USB Interface Controller) device + +maintainers: + - Chanwoo Choi + +description: + The Silicon Mitus SM5502 is a MUIC (Micro-USB Interface Controller) device + which can detect the state of external accessory when external accessory is + attached or detached and button is pressed or released. It is interfaced to + the host controller using an I2C interface. + +properties: + compatible: + enum: + - siliconmitus,sm5502-muic + - siliconmitus,sm5504-muic + - siliconmitus,sm5703-muic + + reg: + maxItems: 1 + description: I2C slave address of the device. Usually 0x25 for SM5502 + and SM5703, 0x14 for SM5504. + + connector: + $ref: /schemas/connector/usb-connector.yaml# + unevaluatedProperties: false + + interrupts: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + +additionalProperties: false + +examples: + - | + #include + i2c { + #address-cells = <1>; + #size-cells = <0>; + + extcon@25 { + compatible = "siliconmitus,sm5502-muic"; + reg = <0x25>; + interrupt-parent = <&msmgpio>; + interrupts = <12 IRQ_TYPE_EDGE_FALLING>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/firmware/qemu,fw-cfg-mmio.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/firmware/qemu,fw-cfg-mmio.yaml index 592e2e51d9..3faae32366 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/firmware/qemu,fw-cfg-mmio.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/firmware/qemu,fw-cfg-mmio.yaml @@ -1,54 +1,54 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/firmware/qemu,fw-cfg-mmio.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: QEMU Firmware Configuration - -maintainers: - - Rob Herring - -description: | - Various QEMU emulation / virtualization targets provide the following - Firmware Configuration interface on the "virt" machine type: - - - A write-only, 16-bit wide selector (or control) register, - - a read-write, 64-bit wide data register. - - QEMU exposes the control and data register to guests as memory mapped - registers; their location is communicated to the guest's UEFI firmware in the - DTB that QEMU places at the bottom of the guest's DRAM. - - The authoritative guest-side hardware interface documentation to the fw_cfg - device can be found in "docs/specs/fw_cfg.txt" in the QEMU source tree. - - -properties: - compatible: - const: qemu,fw-cfg-mmio - - reg: - maxItems: 1 - description: | - * Bytes 0x0 to 0x7 cover the data register. - * Bytes 0x8 to 0x9 cover the selector register. - * Further registers may be appended to the region in case of future interface - revisions / feature bits. - - dma-coherent: true - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - - fw-cfg@9020000 { - compatible = "qemu,fw-cfg-mmio"; - reg = <0x9020000 0xa>; - }; -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/firmware/qemu,fw-cfg-mmio.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: QEMU Firmware Configuration + +maintainers: + - Rob Herring + +description: | + Various QEMU emulation / virtualization targets provide the following + Firmware Configuration interface on the "virt" machine type: + + - A write-only, 16-bit wide selector (or control) register, + - a read-write, 64-bit wide data register. + + QEMU exposes the control and data register to guests as memory mapped + registers; their location is communicated to the guest's UEFI firmware in the + DTB that QEMU places at the bottom of the guest's DRAM. + + The authoritative guest-side hardware interface documentation to the fw_cfg + device can be found in "docs/specs/fw_cfg.txt" in the QEMU source tree. + + +properties: + compatible: + const: qemu,fw-cfg-mmio + + reg: + maxItems: 1 + description: | + * Bytes 0x0 to 0x7 cover the data register. + * Bytes 0x8 to 0x9 cover the selector register. + * Further registers may be appended to the region in case of future interface + revisions / feature bits. + + dma-coherent: true + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + + fw-cfg@9020000 { + compatible = "qemu,fw-cfg-mmio"; + reg = <0x9020000 0xa>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/fsi/fsi-controller.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/fsi/fsi-controller.yaml index c344161987..ffe191921b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/fsi/fsi-controller.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/fsi/fsi-controller.yaml @@ -1,66 +1,66 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/fsi/fsi-controller.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: FSI Controller Common Properties - -maintainers: - - Eddie James - -description: - FSI (FRU (Field Replaceable Unit) Service Interface) is a two wire bus. The - FSI bus is connected to a CFAM (Common FRU Access Macro) which contains - various engines such as I2C controllers, SPI controllers, etc. - -properties: - "#address-cells": - const: 2 - - "#size-cells": - const: 0 - - '#interrupt-cells': - const: 1 - - bus-frequency: - minimum: 1 - maximum: 200000000 - - interrupt-controller: true - - no-scan-on-init: - $ref: /schemas/types.yaml#/definitions/flag - description: - The FSI controller cannot scan the bus during initialization. - -patternProperties: - "cfam@[0-9a-f],[0-9a-f]": - type: object - properties: - chip-id: - $ref: /schemas/types.yaml#/definitions/uint32 - description: - Processor index, a global unique chip ID which is used to identify - the physical location of the chip in a system specific way. - - bus-frequency: - minimum: 1 - maximum: 100000000 - - reg: - maxItems: 1 - - "#address-cells": - const: 1 - - "#size-cells": - const: 1 - - required: - - reg - - additionalProperties: true - -additionalProperties: true +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/fsi/fsi-controller.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: FSI Controller Common Properties + +maintainers: + - Eddie James + +description: + FSI (FRU (Field Replaceable Unit) Service Interface) is a two wire bus. The + FSI bus is connected to a CFAM (Common FRU Access Macro) which contains + various engines such as I2C controllers, SPI controllers, etc. + +properties: + "#address-cells": + const: 2 + + "#size-cells": + const: 0 + + '#interrupt-cells': + const: 1 + + bus-frequency: + minimum: 1 + maximum: 200000000 + + interrupt-controller: true + + no-scan-on-init: + $ref: /schemas/types.yaml#/definitions/flag + description: + The FSI controller cannot scan the bus during initialization. + +patternProperties: + "cfam@[0-9a-f],[0-9a-f]": + type: object + properties: + chip-id: + $ref: /schemas/types.yaml#/definitions/uint32 + description: + Processor index, a global unique chip ID which is used to identify + the physical location of the chip in a system specific way. + + bus-frequency: + minimum: 1 + maximum: 100000000 + + reg: + maxItems: 1 + + "#address-cells": + const: 1 + + "#size-cells": + const: 1 + + required: + - reg + + additionalProperties: true + +additionalProperties: true diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/fsi/fsi-master-ast-cf.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/fsi/fsi-master-ast-cf.txt index 7f4744576b..3dc752db74 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/fsi/fsi-master-ast-cf.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/fsi/fsi-master-ast-cf.txt @@ -1,36 +1,36 @@ -Device-tree bindings for ColdFire offloaded gpio-based FSI master driver ------------------------------------------------------------------------- - -Required properties: - - compatible = - "aspeed,ast2400-cf-fsi-master" for an AST2400 based system - or - "aspeed,ast2500-cf-fsi-master" for an AST2500 based system - - - clock-gpios = ; : GPIO for FSI clock - - data-gpios = ; : GPIO for FSI data signal - - enable-gpios = ; : GPIO for enable signal - - trans-gpios = ; : GPIO for voltage translator enable - - mux-gpios = ; : GPIO for pin multiplexing with other - functions (eg, external FSI masters) - - memory-region = ; : Reference to the reserved memory for - the ColdFire. Must be 2M aligned on - AST2400 and 1M aligned on AST2500 - - aspeed,sram = ; : Reference to the SRAM node. - - aspeed,cvic = ; : Reference to the CVIC node. - -Examples: - - fsi-master { - compatible = "aspeed,ast2500-cf-fsi-master", "fsi-master"; - - clock-gpios = <&gpio 0>; - data-gpios = <&gpio 1>; - enable-gpios = <&gpio 2>; - trans-gpios = <&gpio 3>; - mux-gpios = <&gpio 4>; - - memory-region = <&coldfire_memory>; - aspeed,sram = <&sram>; - aspeed,cvic = <&cvic>; - } +Device-tree bindings for ColdFire offloaded gpio-based FSI master driver +------------------------------------------------------------------------ + +Required properties: + - compatible = + "aspeed,ast2400-cf-fsi-master" for an AST2400 based system + or + "aspeed,ast2500-cf-fsi-master" for an AST2500 based system + + - clock-gpios = ; : GPIO for FSI clock + - data-gpios = ; : GPIO for FSI data signal + - enable-gpios = ; : GPIO for enable signal + - trans-gpios = ; : GPIO for voltage translator enable + - mux-gpios = ; : GPIO for pin multiplexing with other + functions (eg, external FSI masters) + - memory-region = ; : Reference to the reserved memory for + the ColdFire. Must be 2M aligned on + AST2400 and 1M aligned on AST2500 + - aspeed,sram = ; : Reference to the SRAM node. + - aspeed,cvic = ; : Reference to the CVIC node. + +Examples: + + fsi-master { + compatible = "aspeed,ast2500-cf-fsi-master", "fsi-master"; + + clock-gpios = <&gpio 0>; + data-gpios = <&gpio 1>; + enable-gpios = <&gpio 2>; + trans-gpios = <&gpio 3>; + mux-gpios = <&gpio 4>; + + memory-region = <&coldfire_memory>; + aspeed,sram = <&sram>; + aspeed,cvic = <&cvic>; + } diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/fsi/ibm,fsi2spi.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/fsi/ibm,fsi2spi.yaml index 84860d7343..ad5c83f484 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/fsi/ibm,fsi2spi.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/fsi/ibm,fsi2spi.yaml @@ -1,66 +1,66 @@ -# SPDX-License-Identifier: (GPL-2.0-or-later) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/fsi/ibm,fsi2spi.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: IBM FSI-attached SPI controllers - -maintainers: - - Eddie James - -description: - This binding describes an FSI CFAM engine called the FSI2SPI. Therefore this - node will always be a child of an FSI CFAM node. This FSI2SPI engine provides - access to a number of SPI controllers. - -properties: - compatible: - enum: - - ibm,fsi2spi - - reg: - items: - - description: FSI slave address - - "#address-cells": - const: 1 - - "#size-cells": - const: 0 - -patternProperties: - "^spi@[0-9a-f]+$": - type: object - $ref: /schemas/spi/ibm,spi-fsi.yaml - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - fsi2spi@1c00 { - compatible = "ibm,fsi2spi"; - reg = <0x1c00 0x400>; - #address-cells = <1>; - #size-cells = <0>; - - spi@0 { - compatible = "ibm,spi-fsi"; - reg = <0>; - #address-cells = <1>; - #size-cells = <0>; - - eeprom@0 { - compatible = "atmel,at25"; - reg = <0>; - address-width = <24>; - pagesize = <256>; - size = <0x80000>; - spi-max-frequency = <1000000>; - }; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-or-later) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/fsi/ibm,fsi2spi.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: IBM FSI-attached SPI controllers + +maintainers: + - Eddie James + +description: + This binding describes an FSI CFAM engine called the FSI2SPI. Therefore this + node will always be a child of an FSI CFAM node. This FSI2SPI engine provides + access to a number of SPI controllers. + +properties: + compatible: + enum: + - ibm,fsi2spi + + reg: + items: + - description: FSI slave address + + "#address-cells": + const: 1 + + "#size-cells": + const: 0 + +patternProperties: + "^spi@[0-9a-f]+$": + type: object + $ref: /schemas/spi/ibm,spi-fsi.yaml + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + fsi2spi@1c00 { + compatible = "ibm,fsi2spi"; + reg = <0x1c00 0x400>; + #address-cells = <1>; + #size-cells = <0>; + + spi@0 { + compatible = "ibm,spi-fsi"; + reg = <0>; + #address-cells = <1>; + #size-cells = <0>; + + eeprom@0 { + compatible = "atmel,at25"; + reg = <0>; + address-width = <24>; + pagesize = <256>; + size = <0x80000>; + spi-max-frequency = <1000000>; + }; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/fuse/nvidia,tegra20-fuse.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/fuse/nvidia,tegra20-fuse.yaml index 000338f44a..02f0b04623 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/fuse/nvidia,tegra20-fuse.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/fuse/nvidia,tegra20-fuse.yaml @@ -1,88 +1,88 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/fuse/nvidia,tegra20-fuse.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: NVIDIA Tegra FUSE block - -maintainers: - - Thierry Reding - - Jon Hunter - -properties: - compatible: - oneOf: - - enum: - - nvidia,tegra20-efuse - - nvidia,tegra30-efuse - - nvidia,tegra114-efuse - - nvidia,tegra124-efuse - - nvidia,tegra210-efuse - - nvidia,tegra186-efuse - - nvidia,tegra194-efuse - - nvidia,tegra234-efuse - - - items: - - const: nvidia,tegra132-efuse - - const: nvidia,tegra124-efuse - - reg: - maxItems: 1 - - clocks: - maxItems: 1 - - clock-names: - items: - - const: fuse - - resets: - maxItems: 1 - - reset-names: - items: - - const: fuse - - operating-points-v2: true - - power-domains: - items: - - description: phandle to the core power domain - -additionalProperties: false - -required: - - compatible - - reg - - clocks - - clock-names - -if: - properties: - compatible: - contains: - enum: - - nvidia,tegra20-efuse - - nvidia,tegra30-efuse - - nvidia,tegra114-efuse - - nvidia,tegra124-efuse - - nvidia,tegra132-efuse - - nvidia,tegra210-efuse -then: - required: - - resets - - reset-names - -examples: - - | - #include - - fuse@7000f800 { - compatible = "nvidia,tegra20-efuse"; - reg = <0x7000f800 0x400>; - clocks = <&tegra_car TEGRA20_CLK_FUSE>; - clock-names = "fuse"; - resets = <&tegra_car 39>; - reset-names = "fuse"; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/fuse/nvidia,tegra20-fuse.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NVIDIA Tegra FUSE block + +maintainers: + - Thierry Reding + - Jon Hunter + +properties: + compatible: + oneOf: + - enum: + - nvidia,tegra20-efuse + - nvidia,tegra30-efuse + - nvidia,tegra114-efuse + - nvidia,tegra124-efuse + - nvidia,tegra210-efuse + - nvidia,tegra186-efuse + - nvidia,tegra194-efuse + - nvidia,tegra234-efuse + + - items: + - const: nvidia,tegra132-efuse + - const: nvidia,tegra124-efuse + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + clock-names: + items: + - const: fuse + + resets: + maxItems: 1 + + reset-names: + items: + - const: fuse + + operating-points-v2: true + + power-domains: + items: + - description: phandle to the core power domain + +additionalProperties: false + +required: + - compatible + - reg + - clocks + - clock-names + +if: + properties: + compatible: + contains: + enum: + - nvidia,tegra20-efuse + - nvidia,tegra30-efuse + - nvidia,tegra114-efuse + - nvidia,tegra124-efuse + - nvidia,tegra132-efuse + - nvidia,tegra210-efuse +then: + required: + - resets + - reset-names + +examples: + - | + #include + + fuse@7000f800 { + compatible = "nvidia,tegra20-efuse"; + reg = <0x7000f800 0x400>; + clocks = <&tegra_car TEGRA20_CLK_FUSE>; + clock-names = "fuse"; + resets = <&tegra_car 39>; + reset-names = "fuse"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gnss/brcm,bcm4751.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gnss/brcm,bcm4751.yaml index 210ca0afae..0891660894 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gnss/brcm,bcm4751.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gnss/brcm,bcm4751.yaml @@ -1,70 +1,70 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/gnss/brcm,bcm4751.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Broadcom BCM4751 family GNSS Receiver - -maintainers: - - Johan Hovold - - Linus Walleij - -description: - Broadcom GPS chips can be used over the UART or I2C bus. The UART - bus requires CTS/RTS support. The number of the capsule is more - elaborate than the compatibles BCM4751 may be printed - BCM4751IFBG for example. - -allOf: - - $ref: gnss-common.yaml# - - $ref: /schemas/serial/serial-peripheral-props.yaml# - -properties: - compatible: - enum: - - brcm,bcm4751 - - brcm,bcm4752 - - brcm,bcm4753 - - reg: - description: - The I2C Address, not required on UART buses. - - vdd-auxin-supply: - description: - Main voltage supply, pin name VDD_AUXIN, typically connected - directly to a battery such as LiIon 3.8V battery or a 2.6V supply. - - vddio-supply: - description: - IO voltage supply, pin name VDDIO, typically 1.8V - - reset-gpios: - maxItems: 1 - description: An optional active low reset line, should be flagged with - GPIO_ACTIVE_LOW. - - enable-gpios: - description: Enable GPIO line, connected to pins named REGPU or NSTANDBY. - If the line is active low such as NSTANDBY, it should be tagged - GPIO_ACTIVE_LOW. - -required: - - compatible - - enable-gpios - -unevaluatedProperties: false - -examples: - - | - #include - serial { - gnss { - compatible = "brcm,bcm4751"; - vdd-auxin-supply = <&vbat>; - reset-gpios = <&gpio0 15 GPIO_ACTIVE_LOW>; - enable-gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>; - current-speed = <38400>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/gnss/brcm,bcm4751.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom BCM4751 family GNSS Receiver + +maintainers: + - Johan Hovold + - Linus Walleij + +description: + Broadcom GPS chips can be used over the UART or I2C bus. The UART + bus requires CTS/RTS support. The number of the capsule is more + elaborate than the compatibles BCM4751 may be printed + BCM4751IFBG for example. + +allOf: + - $ref: gnss-common.yaml# + - $ref: /schemas/serial/serial-peripheral-props.yaml# + +properties: + compatible: + enum: + - brcm,bcm4751 + - brcm,bcm4752 + - brcm,bcm4753 + + reg: + description: + The I2C Address, not required on UART buses. + + vdd-auxin-supply: + description: + Main voltage supply, pin name VDD_AUXIN, typically connected + directly to a battery such as LiIon 3.8V battery or a 2.6V supply. + + vddio-supply: + description: + IO voltage supply, pin name VDDIO, typically 1.8V + + reset-gpios: + maxItems: 1 + description: An optional active low reset line, should be flagged with + GPIO_ACTIVE_LOW. + + enable-gpios: + description: Enable GPIO line, connected to pins named REGPU or NSTANDBY. + If the line is active low such as NSTANDBY, it should be tagged + GPIO_ACTIVE_LOW. + +required: + - compatible + - enable-gpios + +unevaluatedProperties: false + +examples: + - | + #include + serial { + gnss { + compatible = "brcm,bcm4751"; + vdd-auxin-supply = <&vbat>; + reset-gpios = <&gpio0 15 GPIO_ACTIVE_LOW>; + enable-gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>; + current-speed = <38400>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gnss/gnss-common.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gnss/gnss-common.yaml index 5193b53020..d4430d2d68 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gnss/gnss-common.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gnss/gnss-common.yaml @@ -1,50 +1,50 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/gnss/gnss-common.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Common Properties for Global Navigation Satellite Systems (GNSS) - receiver devices - -maintainers: - - Johan Hovold - -description: | - This document defines device tree properties common to Global Navigation - Satellite System receivers. - -properties: - $nodename: - pattern: "^gnss(@.*)?$" - - lna-supply: - description: A separate regulator supplying power for the Low Noise - Amplifier (LNA). This is an amplifier connected between the GNSS - device and the receiver antenna. - - enable-gpios: - description: A GPIO line that will enable the GNSS receiver when - asserted. If this line is active low, the GPIO phandle should - consequently be tagged with the GPIO_ACTIVE_LOW flag so the operating - system can rely on asserting the line to enable the GNSS device. - maxItems: 1 - - timepulse-gpios: - description: When a timepulse is provided to the GNSS device using a - GPIO line, this is used. - maxItems: 1 - -additionalProperties: true - -examples: - - | - #include - serial { - gnss { - compatible = "u-blox,neo-8"; - vcc-supply = <&gnss_reg>; - timepulse-gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>; - current-speed = <4800>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/gnss/gnss-common.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Common Properties for Global Navigation Satellite Systems (GNSS) + receiver devices + +maintainers: + - Johan Hovold + +description: | + This document defines device tree properties common to Global Navigation + Satellite System receivers. + +properties: + $nodename: + pattern: "^gnss(@.*)?$" + + lna-supply: + description: A separate regulator supplying power for the Low Noise + Amplifier (LNA). This is an amplifier connected between the GNSS + device and the receiver antenna. + + enable-gpios: + description: A GPIO line that will enable the GNSS receiver when + asserted. If this line is active low, the GPIO phandle should + consequently be tagged with the GPIO_ACTIVE_LOW flag so the operating + system can rely on asserting the line to enable the GNSS device. + maxItems: 1 + + timepulse-gpios: + description: When a timepulse is provided to the GNSS device using a + GPIO line, this is used. + maxItems: 1 + +additionalProperties: true + +examples: + - | + #include + serial { + gnss { + compatible = "u-blox,neo-8"; + vcc-supply = <&gnss_reg>; + timepulse-gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>; + current-speed = <4800>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gnss/mediatek.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gnss/mediatek.yaml index 76a2b39f46..2b9e5be4eb 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gnss/mediatek.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gnss/mediatek.yaml @@ -1,60 +1,60 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/gnss/mediatek.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Mediatek GNSS Receiver - -maintainers: - - Johan Hovold - -description: - Mediatek chipsets are used in GNSS-receiver modules produced by several - vendors and can use a UART interface. - -allOf: - - $ref: gnss-common.yaml# - - $ref: /schemas/serial/serial-peripheral-props.yaml# - -properties: - compatible: - const: globaltop,pa6h - - vcc-supply: - description: - Main voltage regulator, pin name VCC. - - reset-gpios: - maxItems: 1 - description: An optional reset line, with names such as RESET or NRESET. - If the line is active low it should be flagged with GPIO_ACTIVE_LOW. - - timepulse-gpios: - description: Comes with pin names such as PPS1 or 1PPS. - - gnss-fix-gpios: - maxItems: 1 - description: GPIO used to determine device position fix state, pin names - FIX or 3D_FIX. - - vbackup-supply: - description: - Regulator providing backup voltage, pin names such as VBAT or VBACKUP. - -required: - - compatible - - vcc-supply - -unevaluatedProperties: false - -examples: - - | - #include - serial { - gnss { - compatible = "globaltop,pa6h"; - vcc-supply = <&vcc_3v3>; - reset-gpios = <&gpio 1 GPIO_ACTIVE_LOW>; - }; - }; +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/gnss/mediatek.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Mediatek GNSS Receiver + +maintainers: + - Johan Hovold + +description: + Mediatek chipsets are used in GNSS-receiver modules produced by several + vendors and can use a UART interface. + +allOf: + - $ref: gnss-common.yaml# + - $ref: /schemas/serial/serial-peripheral-props.yaml# + +properties: + compatible: + const: globaltop,pa6h + + vcc-supply: + description: + Main voltage regulator, pin name VCC. + + reset-gpios: + maxItems: 1 + description: An optional reset line, with names such as RESET or NRESET. + If the line is active low it should be flagged with GPIO_ACTIVE_LOW. + + timepulse-gpios: + description: Comes with pin names such as PPS1 or 1PPS. + + gnss-fix-gpios: + maxItems: 1 + description: GPIO used to determine device position fix state, pin names + FIX or 3D_FIX. + + vbackup-supply: + description: + Regulator providing backup voltage, pin names such as VBAT or VBACKUP. + +required: + - compatible + - vcc-supply + +unevaluatedProperties: false + +examples: + - | + #include + serial { + gnss { + compatible = "globaltop,pa6h"; + vcc-supply = <&vcc_3v3>; + reset-gpios = <&gpio 1 GPIO_ACTIVE_LOW>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gnss/u-blox,neo-6m.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gnss/u-blox,neo-6m.yaml index a049db7c57..7d4b6d49e5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gnss/u-blox,neo-6m.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gnss/u-blox,neo-6m.yaml @@ -1,65 +1,65 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/gnss/u-blox,neo-6m.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: U-blox GNSS Receiver - -allOf: - - $ref: gnss-common.yaml# - - $ref: /schemas/serial/serial-peripheral-props.yaml# - -maintainers: - - Johan Hovold - -description: > - The U-blox GNSS receivers can use UART, DDC (I2C), SPI and USB interfaces. - -properties: - compatible: - enum: - - u-blox,neo-6m - - u-blox,neo-8 - - u-blox,neo-m8 - - reg: - description: > - The DDC Slave Address, SPI chip select address, the number of the USB hub - port or the USB host-controller port to which this device is attached, - depending on the bus used. Required for the DDC, SPI or USB busses. - - reset-gpios: - maxItems: 1 - - vcc-supply: - description: > - Main voltage regulator - - u-blox,extint-gpios: - maxItems: 1 - description: > - GPIO connected to the "external interrupt" input pin - - v-bckp-supply: - description: > - Backup voltage regulator - -required: - - compatible - - vcc-supply - -unevaluatedProperties: false - -examples: - - | - #include - - serial { - gnss { - compatible = "u-blox,neo-8"; - v-bckp-supply = <&gnss_v_bckp_reg>; - vcc-supply = <&gnss_vcc_reg>; - reset-gpios = <&gpio 1 GPIO_ACTIVE_LOW>; - }; - }; +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/gnss/u-blox,neo-6m.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: U-blox GNSS Receiver + +allOf: + - $ref: gnss-common.yaml# + - $ref: /schemas/serial/serial-peripheral-props.yaml# + +maintainers: + - Johan Hovold + +description: > + The U-blox GNSS receivers can use UART, DDC (I2C), SPI and USB interfaces. + +properties: + compatible: + enum: + - u-blox,neo-6m + - u-blox,neo-8 + - u-blox,neo-m8 + + reg: + description: > + The DDC Slave Address, SPI chip select address, the number of the USB hub + port or the USB host-controller port to which this device is attached, + depending on the bus used. Required for the DDC, SPI or USB busses. + + reset-gpios: + maxItems: 1 + + vcc-supply: + description: > + Main voltage regulator + + u-blox,extint-gpios: + maxItems: 1 + description: > + GPIO connected to the "external interrupt" input pin + + v-bckp-supply: + description: > + Backup voltage regulator + +required: + - compatible + - vcc-supply + +unevaluatedProperties: false + +examples: + - | + #include + + serial { + gnss { + compatible = "u-blox,neo-8"; + v-bckp-supply = <&gnss_v_bckp_reg>; + vcc-supply = <&gnss_vcc_reg>; + reset-gpios = <&gpio 1 GPIO_ACTIVE_LOW>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/airoha,en7523-gpio.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/airoha,en7523-gpio.yaml index bdba84893e..7c41d8e814 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/airoha,en7523-gpio.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/airoha,en7523-gpio.yaml @@ -1,66 +1,66 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/gpio/airoha,en7523-gpio.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Airoha EN7523 GPIO controller - -maintainers: - - John Crispin - -description: | - Airoha's GPIO controller on their ARM EN7523 SoCs consists of two banks of 32 - GPIOs. - -properties: - $nodename: - pattern: "^gpio@[0-9a-f]+$" - - compatible: - items: - - const: airoha,en7523-gpio - - reg: - description: | - The first tuple points to the input register. - The second and third tuple point to the direction registers - The fourth tuple points to the output register - maxItems: 4 - - "#gpio-cells": - const: 2 - - gpio-controller: true - -required: - - compatible - - reg - - "#gpio-cells" - - gpio-controller - -additionalProperties: false - -examples: - - | - gpio0: gpio@1fbf0200 { - compatible = "airoha,en7523-gpio"; - reg = <0x1fbf0204 0x4>, - <0x1fbf0200 0x4>, - <0x1fbf0220 0x4>, - <0x1fbf0214 0x4>; - gpio-controller; - #gpio-cells = <2>; - }; - - gpio1: gpio@1fbf0270 { - compatible = "airoha,en7523-gpio"; - reg = <0x1fbf0270 0x4>, - <0x1fbf0260 0x4>, - <0x1fbf0264 0x4>, - <0x1fbf0278 0x4>; - 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/airoha,en7523-gpio.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Airoha EN7523 GPIO controller + +maintainers: + - John Crispin + +description: | + Airoha's GPIO controller on their ARM EN7523 SoCs consists of two banks of 32 + GPIOs. + +properties: + $nodename: + pattern: "^gpio@[0-9a-f]+$" + + compatible: + items: + - const: airoha,en7523-gpio + + reg: + description: | + The first tuple points to the input register. + The second and third tuple point to the direction registers + The fourth tuple points to the output register + maxItems: 4 + + "#gpio-cells": + const: 2 + + gpio-controller: true + +required: + - compatible + - reg + - "#gpio-cells" + - gpio-controller + +additionalProperties: false + +examples: + - | + gpio0: gpio@1fbf0200 { + compatible = "airoha,en7523-gpio"; + reg = <0x1fbf0204 0x4>, + <0x1fbf0200 0x4>, + <0x1fbf0220 0x4>, + <0x1fbf0214 0x4>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio1: gpio@1fbf0270 { + compatible = "airoha,en7523-gpio"; + reg = <0x1fbf0270 0x4>, + <0x1fbf0260 0x4>, + <0x1fbf0264 0x4>, + <0x1fbf0278 0x4>; + gpio-controller; + #gpio-cells = <2>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/atmel,at91rm9200-gpio.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/atmel,at91rm9200-gpio.yaml index aeaea95378..3dd70933ed 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/atmel,at91rm9200-gpio.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/atmel,at91rm9200-gpio.yaml @@ -1,81 +1,81 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/gpio/atmel,at91rm9200-gpio.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Microchip GPIO controller (PIO) - -maintainers: - - Manikandan Muralidharan - -properties: - compatible: - oneOf: - - items: - - enum: - - atmel,at91sam9x5-gpio - - microchip,sam9x60-gpio - - const: atmel,at91rm9200-gpio - - items: - - enum: - - microchip,sam9x7-gpio - - const: microchip,sam9x60-gpio - - const: atmel,at91rm9200-gpio - - items: - - const: atmel,at91rm9200-gpio - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - interrupt-controller: true - - "#interrupt-cells": - const: 2 - - gpio-controller: true - gpio-line-names: true - - "#gpio-cells": - const: 2 - - clocks: - maxItems: 1 - - "#gpio-lines": - description: - Number of gpio, 32 by default if absent - maxItems: 1 - default: 32 - -required: - - compatible - - reg - - interrupts - - interrupt-controller - - "#interrupt-cells" - - gpio-controller - - "#gpio-cells" - - clocks - -additionalProperties: false - -examples: - - | - #include - #include - - gpio@fffff400 { - compatible = "atmel,at91rm9200-gpio"; - reg = <0xfffff400 0x200>; - interrupts = <2 IRQ_TYPE_LEVEL_HIGH 1>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - #interrupt-cells = <2>; - clocks = <&pmc PMC_TYPE_PERIPHERAL 2>; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/gpio/atmel,at91rm9200-gpio.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Microchip GPIO controller (PIO) + +maintainers: + - Manikandan Muralidharan + +properties: + compatible: + oneOf: + - items: + - enum: + - atmel,at91sam9x5-gpio + - microchip,sam9x60-gpio + - const: atmel,at91rm9200-gpio + - items: + - enum: + - microchip,sam9x7-gpio + - const: microchip,sam9x60-gpio + - const: atmel,at91rm9200-gpio + - items: + - const: atmel,at91rm9200-gpio + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + interrupt-controller: true + + "#interrupt-cells": + const: 2 + + gpio-controller: true + gpio-line-names: true + + "#gpio-cells": + const: 2 + + clocks: + maxItems: 1 + + "#gpio-lines": + description: + Number of gpio, 32 by default if absent + maxItems: 1 + default: 32 + +required: + - compatible + - reg + - interrupts + - interrupt-controller + - "#interrupt-cells" + - gpio-controller + - "#gpio-cells" + - clocks + +additionalProperties: false + +examples: + - | + #include + #include + + gpio@fffff400 { + compatible = "atmel,at91rm9200-gpio"; + reg = <0xfffff400 0x200>; + interrupts = <2 IRQ_TYPE_LEVEL_HIGH 1>; + #gpio-cells = <2>; + gpio-controller; + interrupt-controller; + #interrupt-cells = <2>; + clocks = <&pmc PMC_TYPE_PERIPHERAL 2>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/brcm,bcm63xx-gpio.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/brcm,bcm63xx-gpio.yaml index 3baf4933cc..62fcc2bd5d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/brcm,bcm63xx-gpio.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/brcm,bcm63xx-gpio.yaml @@ -1,72 +1,72 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/gpio/brcm,bcm63xx-gpio.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Broadcom BCM63xx GPIO controller - -maintainers: - - Álvaro Fernández Rojas - - Jonas Gorski - -description: |+ - Bindings for Broadcom's BCM63xx memory-mapped GPIO controllers. - - These bindings can be used on any BCM63xx SoC. However, BCM6338 and BCM6345 - are the only ones which don't need a pinctrl driver. - - BCM6338 have 8-bit data and dirout registers, where GPIO state can be read - and/or written, and the direction changed from input to output. - BCM6318, BCM6328, BCM6358, BCM6362, BCM6368 and BCM63268 have 32-bit data - and dirout registers, where GPIO state can be read and/or written, and the - direction changed from input to output. - -properties: - compatible: - enum: - - brcm,bcm6318-gpio - - brcm,bcm6328-gpio - - brcm,bcm6358-gpio - - brcm,bcm6362-gpio - - brcm,bcm6368-gpio - - brcm,bcm63268-gpio - - gpio-controller: true - - "#gpio-cells": - const: 2 - - gpio-ranges: - maxItems: 1 - - native-endian: true - - reg: - maxItems: 2 - - reg-names: - items: - - const: dirout - - const: dat - -required: - - compatible - - reg - - reg-names - - gpio-controller - - '#gpio-cells' - -additionalProperties: false - -examples: - - | - gpio@0 { - compatible = "brcm,bcm63268-gpio"; - reg-names = "dirout", "dat"; - reg = <0x0 0x8>, <0x8 0x8>; - - gpio-controller; - gpio-ranges = <&pinctrl 0 0 52>; - #gpio-cells = <2>; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/gpio/brcm,bcm63xx-gpio.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom BCM63xx GPIO controller + +maintainers: + - Álvaro Fernández Rojas + - Jonas Gorski + +description: |+ + Bindings for Broadcom's BCM63xx memory-mapped GPIO controllers. + + These bindings can be used on any BCM63xx SoC. However, BCM6338 and BCM6345 + are the only ones which don't need a pinctrl driver. + + BCM6338 have 8-bit data and dirout registers, where GPIO state can be read + and/or written, and the direction changed from input to output. + BCM6318, BCM6328, BCM6358, BCM6362, BCM6368 and BCM63268 have 32-bit data + and dirout registers, where GPIO state can be read and/or written, and the + direction changed from input to output. + +properties: + compatible: + enum: + - brcm,bcm6318-gpio + - brcm,bcm6328-gpio + - brcm,bcm6358-gpio + - brcm,bcm6362-gpio + - brcm,bcm6368-gpio + - brcm,bcm63268-gpio + + gpio-controller: true + + "#gpio-cells": + const: 2 + + gpio-ranges: + maxItems: 1 + + native-endian: true + + reg: + maxItems: 2 + + reg-names: + items: + - const: dirout + - const: dat + +required: + - compatible + - reg + - reg-names + - gpio-controller + - '#gpio-cells' + +additionalProperties: false + +examples: + - | + gpio@0 { + compatible = "brcm,bcm63268-gpio"; + reg-names = "dirout", "dat"; + reg = <0x0 0x8>, <0x8 0x8>; + + gpio-controller; + gpio-ranges = <&pinctrl 0 0 52>; + #gpio-cells = <2>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/brcm,xgs-iproc-gpio.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/brcm,xgs-iproc-gpio.yaml index edfcfb9fd5..c213cb9ddb 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/brcm,xgs-iproc-gpio.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/brcm,xgs-iproc-gpio.yaml @@ -1,70 +1,70 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/gpio/brcm,xgs-iproc-gpio.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Broadcom XGS iProc GPIO controller - -maintainers: - - Chris Packham - -description: | - This controller is the Chip Common A GPIO present on a number of Broadcom - switch ASICs with integrated SoCs. - -properties: - compatible: - const: brcm,iproc-gpio-cca - - reg: - items: - - description: the I/O address containing the GPIO controller registers. - - description: the I/O address containing the Chip Common A interrupt registers. - - gpio-controller: true - - '#gpio-cells': - const: 2 - - ngpios: - minimum: 0 - maximum: 32 - - interrupt-controller: true - - '#interrupt-cells': - const: 2 - - interrupts: - maxItems: 1 - -required: - - compatible - - reg - - "#gpio-cells" - - gpio-controller - -additionalProperties: false - -dependencies: - interrupt-controller: [ interrupts ] - -examples: - - | - #include - #include - gpio@18000060 { - compatible = "brcm,iproc-gpio-cca"; - #gpio-cells = <2>; - reg = <0x18000060 0x50>, - <0x18000000 0x50>; - ngpios = <12>; - gpio-controller; - interrupt-controller; - #interrupt-cells = <2>; - interrupts = ; - }; - - -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/gpio/brcm,xgs-iproc-gpio.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom XGS iProc GPIO controller + +maintainers: + - Chris Packham + +description: | + This controller is the Chip Common A GPIO present on a number of Broadcom + switch ASICs with integrated SoCs. + +properties: + compatible: + const: brcm,iproc-gpio-cca + + reg: + items: + - description: the I/O address containing the GPIO controller registers. + - description: the I/O address containing the Chip Common A interrupt registers. + + gpio-controller: true + + '#gpio-cells': + const: 2 + + ngpios: + minimum: 0 + maximum: 32 + + interrupt-controller: true + + '#interrupt-cells': + const: 2 + + interrupts: + maxItems: 1 + +required: + - compatible + - reg + - "#gpio-cells" + - gpio-controller + +additionalProperties: false + +dependencies: + interrupt-controller: [ interrupts ] + +examples: + - | + #include + #include + gpio@18000060 { + compatible = "brcm,iproc-gpio-cca"; + #gpio-cells = <2>; + reg = <0x18000060 0x50>, + <0x18000000 0x50>; + ngpios = <12>; + gpio-controller; + interrupt-controller; + #interrupt-cells = <2>; + interrupts = ; + }; + + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/cavium-octeon-gpio.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/cavium-octeon-gpio.txt index f03ee92def..9d6dcd3fe7 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/cavium-octeon-gpio.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/cavium-octeon-gpio.txt @@ -1,49 +1,49 @@ -* General Purpose Input Output (GPIO) bus. - -Properties: -- compatible: "cavium,octeon-3860-gpio" - - Compatibility with all cn3XXX, cn5XXX and cn6XXX SOCs. - -- reg: The base address of the GPIO unit's register bank. - -- gpio-controller: This is a GPIO controller. - -- #gpio-cells: Must be <2>. The first cell is the GPIO pin. - -- interrupt-controller: The GPIO controller is also an interrupt - controller, many of its pins may be configured as an interrupt - source. - -- #interrupt-cells: Must be <2>. The first cell is the GPIO pin - connected to the interrupt source. The second cell is the interrupt - triggering protocol and may have one of four values: - 1 - edge triggered on the rising edge. - 2 - edge triggered on the falling edge - 4 - level triggered active high. - 8 - level triggered active low. - -- interrupts: Interrupt routing for each pin. - -Example: - - gpio-controller@1070000000800 { - #gpio-cells = <2>; - compatible = "cavium,octeon-3860-gpio"; - reg = <0x10700 0x00000800 0x0 0x100>; - gpio-controller; - /* Interrupts are specified by two parts: - * 1) GPIO pin number (0..15) - * 2) Triggering (1 - edge rising - * 2 - edge falling - * 4 - level active high - * 8 - level active low) - */ - interrupt-controller; - #interrupt-cells = <2>; - /* The GPIO pin connect to 16 consecutive CUI bits */ - interrupts = <0 16>, <0 17>, <0 18>, <0 19>, - <0 20>, <0 21>, <0 22>, <0 23>, - <0 24>, <0 25>, <0 26>, <0 27>, - <0 28>, <0 29>, <0 30>, <0 31>; - }; +* General Purpose Input Output (GPIO) bus. + +Properties: +- compatible: "cavium,octeon-3860-gpio" + + Compatibility with all cn3XXX, cn5XXX and cn6XXX SOCs. + +- reg: The base address of the GPIO unit's register bank. + +- gpio-controller: This is a GPIO controller. + +- #gpio-cells: Must be <2>. The first cell is the GPIO pin. + +- interrupt-controller: The GPIO controller is also an interrupt + controller, many of its pins may be configured as an interrupt + source. + +- #interrupt-cells: Must be <2>. The first cell is the GPIO pin + connected to the interrupt source. The second cell is the interrupt + triggering protocol and may have one of four values: + 1 - edge triggered on the rising edge. + 2 - edge triggered on the falling edge + 4 - level triggered active high. + 8 - level triggered active low. + +- interrupts: Interrupt routing for each pin. + +Example: + + gpio-controller@1070000000800 { + #gpio-cells = <2>; + compatible = "cavium,octeon-3860-gpio"; + reg = <0x10700 0x00000800 0x0 0x100>; + gpio-controller; + /* Interrupts are specified by two parts: + * 1) GPIO pin number (0..15) + * 2) Triggering (1 - edge rising + * 2 - edge falling + * 4 - level active high + * 8 - level active low) + */ + interrupt-controller; + #interrupt-cells = <2>; + /* The GPIO pin connect to 16 consecutive CUI bits */ + interrupts = <0 16>, <0 17>, <0 18>, <0 19>, + <0 20>, <0 21>, <0 22>, <0 23>, + <0 24>, <0 25>, <0 26>, <0 27>, + <0 28>, <0 29>, <0 30>, <0 31>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/cdns,gpio.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/cdns,gpio.txt index af9f76448b..706ef00f5c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/cdns,gpio.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/cdns,gpio.txt @@ -1,43 +1,43 @@ -Cadence GPIO controller bindings - -Required properties: -- compatible: should be "cdns,gpio-r1p02". -- reg: the register base address and size. -- #gpio-cells: should be 2. - * first cell is the GPIO number. - * second cell specifies the GPIO flags, as defined in - . Only the GPIO_ACTIVE_HIGH - and GPIO_ACTIVE_LOW flags are supported. -- gpio-controller: marks the device as a GPIO controller. -- clocks: should contain one entry referencing the peripheral clock driving - the GPIO controller. - -Optional properties: -- ngpios: integer number of gpio lines supported by this controller, up to 32. -- interrupts: interrupt specifier for the controllers interrupt. -- interrupt-controller: marks the device as an interrupt controller. When - defined, interrupts, interrupt-parent and #interrupt-cells - are required. -- interrupt-cells: should be 2. - * first cell is the GPIO number you want to use as an IRQ source. - * second cell specifies the IRQ type, as defined in - . - Currently only level sensitive IRQs are supported. - - -Example: - gpio0: gpio-controller@fd060000 { - compatible = "cdns,gpio-r1p02"; - reg =<0xfd060000 0x1000>; - - clocks = <&gpio_clk>; - - interrupt-parent = <&gic>; - interrupts = <0 5 IRQ_TYPE_LEVEL_HIGH>; - - gpio-controller; - #gpio-cells = <2>; - - interrupt-controller; - #interrupt-cells = <2>; - }; +Cadence GPIO controller bindings + +Required properties: +- compatible: should be "cdns,gpio-r1p02". +- reg: the register base address and size. +- #gpio-cells: should be 2. + * first cell is the GPIO number. + * second cell specifies the GPIO flags, as defined in + . Only the GPIO_ACTIVE_HIGH + and GPIO_ACTIVE_LOW flags are supported. +- gpio-controller: marks the device as a GPIO controller. +- clocks: should contain one entry referencing the peripheral clock driving + the GPIO controller. + +Optional properties: +- ngpios: integer number of gpio lines supported by this controller, up to 32. +- interrupts: interrupt specifier for the controllers interrupt. +- interrupt-controller: marks the device as an interrupt controller. When + defined, interrupts, interrupt-parent and #interrupt-cells + are required. +- interrupt-cells: should be 2. + * first cell is the GPIO number you want to use as an IRQ source. + * second cell specifies the IRQ type, as defined in + . + Currently only level sensitive IRQs are supported. + + +Example: + gpio0: gpio-controller@fd060000 { + compatible = "cdns,gpio-r1p02"; + reg =<0xfd060000 0x1000>; + + clocks = <&gpio_clk>; + + interrupt-parent = <&gic>; + interrupts = <0 5 IRQ_TYPE_LEVEL_HIGH>; + + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/fairchild,74hc595.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/fairchild,74hc595.yaml index 584f7d3395..e8bc9f018e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/fairchild,74hc595.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/fairchild,74hc595.yaml @@ -1,68 +1,68 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/gpio/fairchild,74hc595.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Generic 8-bit shift register - -maintainers: - - Maxime Ripard - -properties: - compatible: - enum: - - fairchild,74hc595 - - nxp,74lvc594 - - reg: - maxItems: 1 - - gpio-controller: true - - '#gpio-cells': - description: - The second cell is only used to specify the GPIO polarity. - const: 2 - - registers-number: - $ref: /schemas/types.yaml#/definitions/uint32 - description: Number of daisy-chained shift registers - - enable-gpios: - description: GPIO connected to the OE (Output Enable) pin. - maxItems: 1 - -patternProperties: - "^(hog-[0-9]+|.+-hog(-[0-9]+)?)$": - type: object - required: - - gpio-hog - -required: - - compatible - - reg - - gpio-controller - - '#gpio-cells' - - registers-number - -allOf: - - $ref: /schemas/spi/spi-peripheral-props.yaml# - -unevaluatedProperties: false - -examples: - - | - spi { - #address-cells = <1>; - #size-cells = <0>; - - gpio5: gpio5@0 { - compatible = "fairchild,74hc595"; - reg = <0>; - gpio-controller; - #gpio-cells = <2>; - registers-number = <4>; - spi-max-frequency = <100000>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/gpio/fairchild,74hc595.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Generic 8-bit shift register + +maintainers: + - Maxime Ripard + +properties: + compatible: + enum: + - fairchild,74hc595 + - nxp,74lvc594 + + reg: + maxItems: 1 + + gpio-controller: true + + '#gpio-cells': + description: + The second cell is only used to specify the GPIO polarity. + const: 2 + + registers-number: + $ref: /schemas/types.yaml#/definitions/uint32 + description: Number of daisy-chained shift registers + + enable-gpios: + description: GPIO connected to the OE (Output Enable) pin. + maxItems: 1 + +patternProperties: + "^(hog-[0-9]+|.+-hog(-[0-9]+)?)$": + type: object + required: + - gpio-hog + +required: + - compatible + - reg + - gpio-controller + - '#gpio-cells' + - registers-number + +allOf: + - $ref: /schemas/spi/spi-peripheral-props.yaml# + +unevaluatedProperties: false + +examples: + - | + spi { + #address-cells = <1>; + #size-cells = <0>; + + gpio5: gpio5@0 { + compatible = "fairchild,74hc595"; + reg = <0>; + gpio-controller; + #gpio-cells = <2>; + registers-number = <4>; + spi-max-frequency = <100000>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/gpio-altera.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/gpio-altera.txt index 08e2a9bb1e..2a80e272cd 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/gpio-altera.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/gpio-altera.txt @@ -1,44 +1,44 @@ -Altera GPIO controller bindings - -Required properties: -- compatible: - - "altr,pio-1.0" -- reg: Physical base address and length of the controller's registers. -- #gpio-cells : Should be 2 - - The first cell is the gpio offset number. - - The second cell is reserved and is currently unused. -- gpio-controller : Marks the device node as a GPIO controller. -- interrupt-controller: Mark the device node as an interrupt controller -- #interrupt-cells : Should be 2. The interrupt type is fixed in the hardware. - - The first cell is the GPIO offset number within the GPIO controller. - - The second cell is the interrupt trigger type and level flags. -- interrupts: Specify the interrupt. -- altr,interrupt-type: Specifies the interrupt trigger type the GPIO - hardware is synthesized. This field is required if the Altera GPIO controller - used has IRQ enabled as the interrupt type is not software controlled, - but hardware synthesized. Required if GPIO is used as an interrupt - controller. The value is defined in - Only the following flags are supported: - IRQ_TYPE_EDGE_RISING - IRQ_TYPE_EDGE_FALLING - IRQ_TYPE_EDGE_BOTH - IRQ_TYPE_LEVEL_HIGH - -Optional properties: -- altr,ngpio: Width of the GPIO bank. This defines how many pins the - GPIO device has. Ranges between 1-32. Optional and defaults to 32 if not - specified. - -Example: - -gpio_altr: gpio@ff200000 { - compatible = "altr,pio-1.0"; - reg = <0xff200000 0x10>; - interrupts = <0 45 4>; - altr,ngpio = <32>; - altr,interrupt-type = ; - #gpio-cells = <2>; - gpio-controller; - #interrupt-cells = <2>; - interrupt-controller; -}; +Altera GPIO controller bindings + +Required properties: +- compatible: + - "altr,pio-1.0" +- reg: Physical base address and length of the controller's registers. +- #gpio-cells : Should be 2 + - The first cell is the gpio offset number. + - The second cell is reserved and is currently unused. +- gpio-controller : Marks the device node as a GPIO controller. +- interrupt-controller: Mark the device node as an interrupt controller +- #interrupt-cells : Should be 2. The interrupt type is fixed in the hardware. + - The first cell is the GPIO offset number within the GPIO controller. + - The second cell is the interrupt trigger type and level flags. +- interrupts: Specify the interrupt. +- altr,interrupt-type: Specifies the interrupt trigger type the GPIO + hardware is synthesized. This field is required if the Altera GPIO controller + used has IRQ enabled as the interrupt type is not software controlled, + but hardware synthesized. Required if GPIO is used as an interrupt + controller. The value is defined in + Only the following flags are supported: + IRQ_TYPE_EDGE_RISING + IRQ_TYPE_EDGE_FALLING + IRQ_TYPE_EDGE_BOTH + IRQ_TYPE_LEVEL_HIGH + +Optional properties: +- altr,ngpio: Width of the GPIO bank. This defines how many pins the + GPIO device has. Ranges between 1-32. Optional and defaults to 32 if not + specified. + +Example: + +gpio_altr: gpio@ff200000 { + compatible = "altr,pio-1.0"; + reg = <0xff200000 0x10>; + interrupts = <0 45 4>; + altr,ngpio = <32>; + altr,interrupt-type = ; + #gpio-cells = <2>; + gpio-controller; + #interrupt-cells = <2>; + interrupt-controller; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/gpio-consumer-common.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/gpio-consumer-common.yaml index 56109ec025..40d0be31e2 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/gpio-consumer-common.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/gpio-consumer-common.yaml @@ -1,64 +1,64 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/gpio/gpio-consumer-common.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Common GPIO lines - -maintainers: - - Bartosz Golaszewski - - Linus Walleij - -description: - Pay attention to using proper GPIO flag (e.g. GPIO_ACTIVE_LOW) for the GPIOs - using inverted signal (e.g. RESETN). - -select: true - -properties: - enable-gpios: - maxItems: 1 - description: - GPIO connected to the enable control pin. - - reset-gpios: - description: - GPIO (or GPIOs for power sequence) connected to the device reset pin - (e.g. RESET or RESETN). - - powerdown-gpios: - maxItems: 1 - description: - GPIO connected to the power down pin (hardware power down or power cut, - e.g. PD or PWDN). - - pwdn-gpios: - maxItems: 1 - description: Use powerdown-gpios - deprecated: true - - wakeup-gpios: - maxItems: 1 - description: - GPIO connected to the pin waking up the device from suspend or other - power-saving modes. - -allOf: - - if: - properties: - compatible: - contains: - enum: - - mmc-pwrseq-simple - then: - properties: - reset-gpios: - minItems: 1 - maxItems: 32 - else: - properties: - reset-gpios: - maxItems: 1 - -additionalProperties: true +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/gpio/gpio-consumer-common.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Common GPIO lines + +maintainers: + - Bartosz Golaszewski + - Linus Walleij + +description: + Pay attention to using proper GPIO flag (e.g. GPIO_ACTIVE_LOW) for the GPIOs + using inverted signal (e.g. RESETN). + +select: true + +properties: + enable-gpios: + maxItems: 1 + description: + GPIO connected to the enable control pin. + + reset-gpios: + description: + GPIO (or GPIOs for power sequence) connected to the device reset pin + (e.g. RESET or RESETN). + + powerdown-gpios: + maxItems: 1 + description: + GPIO connected to the power down pin (hardware power down or power cut, + e.g. PD or PWDN). + + pwdn-gpios: + maxItems: 1 + description: Use powerdown-gpios + deprecated: true + + wakeup-gpios: + maxItems: 1 + description: + GPIO connected to the pin waking up the device from suspend or other + power-saving modes. + +allOf: + - if: + properties: + compatible: + contains: + enum: + - mmc-pwrseq-simple + then: + properties: + reset-gpios: + minItems: 1 + maxItems: 32 + else: + properties: + reset-gpios: + maxItems: 1 + +additionalProperties: true diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/mediatek,mt7621-gpio.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/mediatek,mt7621-gpio.yaml index ffb705ec1c..5bbb2a3126 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/mediatek,mt7621-gpio.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/mediatek,mt7621-gpio.yaml @@ -1,72 +1,72 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/gpio/mediatek,mt7621-gpio.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Mediatek MT7621 SoC GPIO controller - -maintainers: - - Sergio Paracuellos - -description: | - The IP core used inside these SoCs has 3 banks of 32 GPIOs each. - The registers of all the banks are interwoven inside one single IO range. - We load one GPIO controller instance per bank. Also the GPIO controller can receive - interrupts on any of the GPIOs, either edge or level. It then interrupts the CPU - using GIC INT12. - -properties: - $nodename: - pattern: "^gpio@[0-9a-f]+$" - - compatible: - const: mediatek,mt7621-gpio - - reg: - maxItems: 1 - - "#gpio-cells": - const: 2 - - gpio-controller: true - gpio-ranges: true - - interrupt-controller: true - - "#interrupt-cells": - const: 2 - - interrupts: - maxItems: 1 - -required: - - compatible - - reg - - "#gpio-cells" - - gpio-controller - - gpio-ranges - - interrupt-controller - - "#interrupt-cells" - - interrupts - -additionalProperties: false - -examples: - - | - #include - #include - - gpio@600 { - compatible = "mediatek,mt7621-gpio"; - reg = <0x600 0x100>; - #gpio-cells = <2>; - gpio-controller; - gpio-ranges = <&pinctrl 0 0 95>; - interrupt-controller; - #interrupt-cells = <2>; - interrupt-parent = <&gic>; - interrupts = ; - }; - -... +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/gpio/mediatek,mt7621-gpio.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Mediatek MT7621 SoC GPIO controller + +maintainers: + - Sergio Paracuellos + +description: | + The IP core used inside these SoCs has 3 banks of 32 GPIOs each. + The registers of all the banks are interwoven inside one single IO range. + We load one GPIO controller instance per bank. Also the GPIO controller can receive + interrupts on any of the GPIOs, either edge or level. It then interrupts the CPU + using GIC INT12. + +properties: + $nodename: + pattern: "^gpio@[0-9a-f]+$" + + compatible: + const: mediatek,mt7621-gpio + + reg: + maxItems: 1 + + "#gpio-cells": + const: 2 + + gpio-controller: true + gpio-ranges: true + + interrupt-controller: true + + "#interrupt-cells": + const: 2 + + interrupts: + maxItems: 1 + +required: + - compatible + - reg + - "#gpio-cells" + - gpio-controller + - gpio-ranges + - interrupt-controller + - "#interrupt-cells" + - interrupts + +additionalProperties: false + +examples: + - | + #include + #include + + gpio@600 { + compatible = "mediatek,mt7621-gpio"; + reg = <0x600 0x100>; + #gpio-cells = <2>; + gpio-controller; + gpio-ranges = <&pinctrl 0 0 95>; + interrupt-controller; + #interrupt-cells = <2>; + interrupt-parent = <&gic>; + interrupts = ; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/microchip,pic32-gpio.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/microchip,pic32-gpio.txt index f0fde38761..dd031fc93b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/microchip,pic32-gpio.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/microchip,pic32-gpio.txt @@ -1,49 +1,49 @@ -* Microchip PIC32 GPIO devices (PIO). - -Required properties: - - compatible: "microchip,pic32mzda-gpio" - - reg: Base address and length for the device. - - interrupts: The port interrupt shared by all pins. - - gpio-controller: Marks the port as GPIO controller. - - #gpio-cells: Two. The first cell is the pin number and - the second cell is used to specify the gpio polarity as defined in - defined in : - 0 = GPIO_ACTIVE_HIGH - 1 = GPIO_ACTIVE_LOW - 2 = GPIO_OPEN_DRAIN - - interrupt-controller: Marks the device node as an interrupt controller. - - #interrupt-cells: Two. The first cell is the GPIO number and second cell - is used to specify the trigger type as defined in - : - IRQ_TYPE_EDGE_RISING - IRQ_TYPE_EDGE_FALLING - IRQ_TYPE_EDGE_BOTH - - clocks: Clock specifier (see clock bindings for details). - - microchip,gpio-bank: Specifies which bank a controller owns. - - gpio-ranges: Interaction with the PINCTRL subsystem. - -Example: - -/* PORTA */ -gpio0: gpio0@1f860000 { - compatible = "microchip,pic32mzda-gpio"; - reg = <0x1f860000 0x100>; - interrupts = <118 IRQ_TYPE_LEVEL_HIGH>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - #interrupt-cells = <2>; - clocks = <&rootclk PB4CLK>; - microchip,gpio-bank = <0>; - gpio-ranges = <&pic32_pinctrl 0 0 16>; -}; - -keys { - ... - - button@sw1 { - label = "ESC"; - linux,code = <1>; - gpios = <&gpio0 12 0>; - }; -}; +* Microchip PIC32 GPIO devices (PIO). + +Required properties: + - compatible: "microchip,pic32mzda-gpio" + - reg: Base address and length for the device. + - interrupts: The port interrupt shared by all pins. + - gpio-controller: Marks the port as GPIO controller. + - #gpio-cells: Two. The first cell is the pin number and + the second cell is used to specify the gpio polarity as defined in + defined in : + 0 = GPIO_ACTIVE_HIGH + 1 = GPIO_ACTIVE_LOW + 2 = GPIO_OPEN_DRAIN + - interrupt-controller: Marks the device node as an interrupt controller. + - #interrupt-cells: Two. The first cell is the GPIO number and second cell + is used to specify the trigger type as defined in + : + IRQ_TYPE_EDGE_RISING + IRQ_TYPE_EDGE_FALLING + IRQ_TYPE_EDGE_BOTH + - clocks: Clock specifier (see clock bindings for details). + - microchip,gpio-bank: Specifies which bank a controller owns. + - gpio-ranges: Interaction with the PINCTRL subsystem. + +Example: + +/* PORTA */ +gpio0: gpio0@1f860000 { + compatible = "microchip,pic32mzda-gpio"; + reg = <0x1f860000 0x100>; + interrupts = <118 IRQ_TYPE_LEVEL_HIGH>; + #gpio-cells = <2>; + gpio-controller; + interrupt-controller; + #interrupt-cells = <2>; + clocks = <&rootclk PB4CLK>; + microchip,gpio-bank = <0>; + gpio-ranges = <&pic32_pinctrl 0 0 16>; +}; + +keys { + ... + + button@sw1 { + label = "ESC"; + linux,code = <1>; + gpios = <&gpio0 12 0>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/realtek,rtd-gpio.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/realtek,rtd-gpio.yaml index 0facbf6917..dd768db37a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/realtek,rtd-gpio.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/realtek,rtd-gpio.yaml @@ -1,69 +1,69 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -# Copyright 2023 Realtek Semiconductor Corporation -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/gpio/realtek,rtd-gpio.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Realtek DHC GPIO controller - -maintainers: - - Tzuyi Chang - -description: - The GPIO controller is designed for the Realtek DHC (Digital Home Center) - RTD series SoC family, which are high-definition media processor SoCs. - -properties: - compatible: - enum: - - realtek,rtd1295-misc-gpio - - realtek,rtd1295-iso-gpio - - realtek,rtd1315e-iso-gpio - - realtek,rtd1319-iso-gpio - - realtek,rtd1319d-iso-gpio - - realtek,rtd1395-iso-gpio - - realtek,rtd1619-iso-gpio - - realtek,rtd1619b-iso-gpio - - reg: - items: - - description: GPIO controller registers - - description: GPIO interrupt registers - - interrupts: - items: - - description: Interrupt number of the assert GPIO interrupt, which is - triggered when there is a rising edge. - - description: Interrupt number of the deassert GPIO interrupt, which is - triggered when there is a falling edge. - - gpio-ranges: true - - gpio-controller: true - - "#gpio-cells": - const: 2 - -required: - - compatible - - reg - - interrupts - - gpio-ranges - - gpio-controller - - "#gpio-cells" - -additionalProperties: false - -examples: - - | - gpio@100 { - compatible = "realtek,rtd1319d-iso-gpio"; - reg = <0x100 0x100>, - <0x0 0xb0>; - interrupt-parent = <&iso_irq_mux>; - interrupts = <19>, <20>; - gpio-ranges = <&pinctrl 0 0 82>; - gpio-controller; - #gpio-cells = <2>; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +# Copyright 2023 Realtek Semiconductor Corporation +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/gpio/realtek,rtd-gpio.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Realtek DHC GPIO controller + +maintainers: + - Tzuyi Chang + +description: + The GPIO controller is designed for the Realtek DHC (Digital Home Center) + RTD series SoC family, which are high-definition media processor SoCs. + +properties: + compatible: + enum: + - realtek,rtd1295-misc-gpio + - realtek,rtd1295-iso-gpio + - realtek,rtd1315e-iso-gpio + - realtek,rtd1319-iso-gpio + - realtek,rtd1319d-iso-gpio + - realtek,rtd1395-iso-gpio + - realtek,rtd1619-iso-gpio + - realtek,rtd1619b-iso-gpio + + reg: + items: + - description: GPIO controller registers + - description: GPIO interrupt registers + + interrupts: + items: + - description: Interrupt number of the assert GPIO interrupt, which is + triggered when there is a rising edge. + - description: Interrupt number of the deassert GPIO interrupt, which is + triggered when there is a falling edge. + + gpio-ranges: true + + gpio-controller: true + + "#gpio-cells": + const: 2 + +required: + - compatible + - reg + - interrupts + - gpio-ranges + - gpio-controller + - "#gpio-cells" + +additionalProperties: false + +examples: + - | + gpio@100 { + compatible = "realtek,rtd1319d-iso-gpio"; + reg = <0x100 0x100>, + <0x0 0xb0>; + interrupt-parent = <&iso_irq_mux>; + interrupts = <19>, <20>; + gpio-ranges = <&pinctrl 0 0 82>; + gpio-controller; + #gpio-cells = <2>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/renesas,em-gio.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/renesas,em-gio.yaml index 784fa8d965..8bdef812c8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/renesas,em-gio.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/renesas,em-gio.yaml @@ -1,70 +1,70 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/gpio/renesas,em-gio.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Renesas EMMA Mobile General Purpose I/O Interface - -maintainers: - - Magnus Damm - -properties: - compatible: - const: renesas,em-gio - - reg: - items: - - description: First set of contiguous registers - - description: Second set of contiguous registers - - interrupts: - items: - - description: Interrupt for the first set of 16 GPIO ports - - description: Interrupt for the second set of 16 GPIO ports - - gpio-controller: true - - '#gpio-cells': - const: 2 - - gpio-ranges: - maxItems: 1 - - ngpios: - minimum: 1 - maximum: 32 - - interrupt-controller: true - - '#interrupt-cells': - const: 2 - -required: - - compatible - - reg - - interrupts - - gpio-controller - - '#gpio-cells' - - gpio-ranges - - ngpios - - interrupt-controller - - '#interrupt-cells' - -additionalProperties: false - -examples: - - | - #include - gpio0: gpio@e0050000 { - compatible = "renesas,em-gio"; - reg = <0xe0050000 0x2c>, <0xe0050040 0x20>; - interrupts = , - ; - gpio-controller; - #gpio-cells = <2>; - gpio-ranges = <&pfc 0 0 32>; - ngpios = <32>; - interrupt-controller; - #interrupt-cells = <2>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/gpio/renesas,em-gio.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Renesas EMMA Mobile General Purpose I/O Interface + +maintainers: + - Magnus Damm + +properties: + compatible: + const: renesas,em-gio + + reg: + items: + - description: First set of contiguous registers + - description: Second set of contiguous registers + + interrupts: + items: + - description: Interrupt for the first set of 16 GPIO ports + - description: Interrupt for the second set of 16 GPIO ports + + gpio-controller: true + + '#gpio-cells': + const: 2 + + gpio-ranges: + maxItems: 1 + + ngpios: + minimum: 1 + maximum: 32 + + interrupt-controller: true + + '#interrupt-cells': + const: 2 + +required: + - compatible + - reg + - interrupts + - gpio-controller + - '#gpio-cells' + - gpio-ranges + - ngpios + - interrupt-controller + - '#interrupt-cells' + +additionalProperties: false + +examples: + - | + #include + gpio0: gpio@e0050000 { + compatible = "renesas,em-gio"; + reg = <0xe0050000 0x2c>, <0xe0050040 0x20>; + interrupts = , + ; + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&pfc 0 0 32>; + ngpios = <32>; + interrupt-controller; + #interrupt-cells = <2>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/rockchip,gpio-bank.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/rockchip,gpio-bank.yaml index 01b19b4c36..d76987ce8e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/rockchip,gpio-bank.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/rockchip,gpio-bank.yaml @@ -1,96 +1,96 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/gpio/rockchip,gpio-bank.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Rockchip GPIO bank - -maintainers: - - Heiko Stuebner - -properties: - compatible: - enum: - - rockchip,gpio-bank - - rockchip,rk3188-gpio-bank0 - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - minItems: 1 - items: - - description: APB interface clock source - - description: GPIO debounce reference clock source - - gpio-ranges: true - - gpio-controller: true - - gpio-line-names: true - - "#gpio-cells": - const: 2 - - interrupt-controller: true - - "#interrupt-cells": - const: 2 - -patternProperties: - "^.+-hog(-[0-9]+)?$": - type: object - - required: - - gpio-hog - -required: - - compatible - - reg - - interrupts - - clocks - - gpio-controller - - "#gpio-cells" - - interrupt-controller - - "#interrupt-cells" - -additionalProperties: false - -examples: - - | - #include - pinctrl: pinctrl { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - gpio0: gpio@2000a000 { - compatible = "rockchip,rk3188-gpio-bank0"; - reg = <0x2000a000 0x100>; - interrupts = ; - clocks = <&clk_gates8 9>; - - gpio-controller; - #gpio-cells = <2>; - - interrupt-controller; - #interrupt-cells = <2>; - }; - - gpio1: gpio@2003c000 { - compatible = "rockchip,gpio-bank"; - reg = <0x2003c000 0x100>; - interrupts = ; - clocks = <&clk_gates8 10>; - - gpio-controller; - #gpio-cells = <2>; - - interrupt-controller; - #interrupt-cells = <2>; - }; - }; +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/gpio/rockchip,gpio-bank.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Rockchip GPIO bank + +maintainers: + - Heiko Stuebner + +properties: + compatible: + enum: + - rockchip,gpio-bank + - rockchip,rk3188-gpio-bank0 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + minItems: 1 + items: + - description: APB interface clock source + - description: GPIO debounce reference clock source + + gpio-ranges: true + + gpio-controller: true + + gpio-line-names: true + + "#gpio-cells": + const: 2 + + interrupt-controller: true + + "#interrupt-cells": + const: 2 + +patternProperties: + "^.+-hog(-[0-9]+)?$": + type: object + + required: + - gpio-hog + +required: + - compatible + - reg + - interrupts + - clocks + - gpio-controller + - "#gpio-cells" + - interrupt-controller + - "#interrupt-cells" + +additionalProperties: false + +examples: + - | + #include + pinctrl: pinctrl { + #address-cells = <1>; + #size-cells = <1>; + ranges; + + gpio0: gpio@2000a000 { + compatible = "rockchip,rk3188-gpio-bank0"; + reg = <0x2000a000 0x100>; + interrupts = ; + clocks = <&clk_gates8 9>; + + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpio1: gpio@2003c000 { + compatible = "rockchip,gpio-bank"; + reg = <0x2003c000 0x100>; + interrupts = ; + clocks = <&clk_gates8 10>; + + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/sodaville.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/sodaville.txt index e64abaf65f..563eff22b9 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/sodaville.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/sodaville.txt @@ -1,48 +1,48 @@ -GPIO controller on CE4100 / Sodaville SoCs -========================================== - -The bindings for CE4100's GPIO controller match the generic description -which is covered by the gpio.txt file in this folder. - -The only additional property is the intel,muxctl property which holds the -value which is written into the MUXCNTL register. - -There is no compatible property for now because the driver is probed via -PCI id (vendor 0x8086 device 0x2e67). - -The interrupt specifier consists of two cells encoded as follows: - - <1st cell>: The interrupt-number that identifies the interrupt source. - - <2nd cell>: The level-sense information, encoded as follows: - 4 - active high level-sensitive - 8 - active low level-sensitive - -Example of the GPIO device and one user: - - pcigpio: gpio@b,1 { - /* two cells for GPIO and interrupt */ - #gpio-cells = <2>; - #interrupt-cells = <2>; - compatible = "pci8086,2e67.2", - "pci8086,2e67", - "pciclassff0000", - "pciclassff00"; - - reg = <0x15900 0x0 0x0 0x0 0x0>; - /* Interrupt line of the gpio device */ - interrupts = <15 1>; - /* It is an interrupt and GPIO controller itself */ - interrupt-controller; - gpio-controller; - intel,muxctl = <0>; - }; - - testuser@20 { - compatible = "example,testuser"; - /* User the 11th GPIO line as an active high triggered - * level interrupt - */ - interrupts = <11 8>; - interrupt-parent = <&pcigpio>; - /* Use this GPIO also with the gpio functions */ - gpios = <&pcigpio 11 0>; - }; +GPIO controller on CE4100 / Sodaville SoCs +========================================== + +The bindings for CE4100's GPIO controller match the generic description +which is covered by the gpio.txt file in this folder. + +The only additional property is the intel,muxctl property which holds the +value which is written into the MUXCNTL register. + +There is no compatible property for now because the driver is probed via +PCI id (vendor 0x8086 device 0x2e67). + +The interrupt specifier consists of two cells encoded as follows: + - <1st cell>: The interrupt-number that identifies the interrupt source. + - <2nd cell>: The level-sense information, encoded as follows: + 4 - active high level-sensitive + 8 - active low level-sensitive + +Example of the GPIO device and one user: + + pcigpio: gpio@b,1 { + /* two cells for GPIO and interrupt */ + #gpio-cells = <2>; + #interrupt-cells = <2>; + compatible = "pci8086,2e67.2", + "pci8086,2e67", + "pciclassff0000", + "pciclassff00"; + + reg = <0x15900 0x0 0x0 0x0 0x0>; + /* Interrupt line of the gpio device */ + interrupts = <15 1>; + /* It is an interrupt and GPIO controller itself */ + interrupt-controller; + gpio-controller; + intel,muxctl = <0>; + }; + + testuser@20 { + compatible = "example,testuser"; + /* User the 11th GPIO line as an active high triggered + * level interrupt + */ + interrupts = <11 8>; + interrupt-parent = <&pcigpio>; + /* Use this GPIO also with the gpio functions */ + gpios = <&pcigpio 11 0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/sprd,gpio.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/sprd,gpio.yaml index e69de3e611..4831688381 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/sprd,gpio.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/sprd,gpio.yaml @@ -1,75 +1,75 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -# Copyright 2022 Unisoc Inc. -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/gpio/sprd,gpio.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Unisoc GPIO controller - -maintainers: - - Orson Zhai - - Baolin Wang - - Chunyan Zhang - -description: | - The controller's registers are organized as sets of sixteen 16-bit - registers with each set controlling a bank of up to 16 pins. A single - interrupt is shared for all of the banks handled by the controller. - -properties: - compatible: - oneOf: - - const: sprd,sc9860-gpio - - items: - - enum: - - sprd,ums512-gpio - - const: sprd,sc9860-gpio - - reg: - maxItems: 1 - - gpio-controller: true - - "#gpio-cells": - const: 2 - - interrupt-controller: true - - "#interrupt-cells": - const: 2 - - interrupts: - maxItems: 1 - description: The interrupt shared by all GPIO lines for this controller. - -required: - - compatible - - reg - - gpio-controller - - "#gpio-cells" - - interrupt-controller - - "#interrupt-cells" - - interrupts - -additionalProperties: false - -examples: - - | - #include - - soc { - #address-cells = <2>; - #size-cells = <2>; - - ap_gpio: gpio@40280000 { - compatible = "sprd,sc9860-gpio"; - reg = <0 0x40280000 0 0x1000>; - gpio-controller; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - interrupts = ; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +# Copyright 2022 Unisoc Inc. +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/gpio/sprd,gpio.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Unisoc GPIO controller + +maintainers: + - Orson Zhai + - Baolin Wang + - Chunyan Zhang + +description: | + The controller's registers are organized as sets of sixteen 16-bit + registers with each set controlling a bank of up to 16 pins. A single + interrupt is shared for all of the banks handled by the controller. + +properties: + compatible: + oneOf: + - const: sprd,sc9860-gpio + - items: + - enum: + - sprd,ums512-gpio + - const: sprd,sc9860-gpio + + reg: + maxItems: 1 + + gpio-controller: true + + "#gpio-cells": + const: 2 + + interrupt-controller: true + + "#interrupt-cells": + const: 2 + + interrupts: + maxItems: 1 + description: The interrupt shared by all GPIO lines for this controller. + +required: + - compatible + - reg + - gpio-controller + - "#gpio-cells" + - interrupt-controller + - "#interrupt-cells" + - interrupts + +additionalProperties: false + +examples: + - | + #include + + soc { + #address-cells = <2>; + #size-cells = <2>; + + ap_gpio: gpio@40280000 { + compatible = "sprd,sc9860-gpio"; + reg = <0 0x40280000 0 0x1000>; + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + interrupts = ; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/st,nomadik-gpio.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/st,nomadik-gpio.yaml index eb70e8f9ec..38d37d8f72 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/st,nomadik-gpio.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/st,nomadik-gpio.yaml @@ -1,95 +1,95 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/gpio/st,nomadik-gpio.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Nomadik GPIO controller - -description: - The Nomadik GPIO driver handles Nomadik SoC GPIO blocks. This block has also - been called ST STA2X11. On the Nomadik platform, this driver is intertwined - with pinctrl-nomadik. - -maintainers: - - Linus Walleij - -properties: - $nodename: - pattern: "^gpio@[0-9a-f]+$" - - compatible: - enum: - - st,nomadik-gpio - - mobileye,eyeq5-gpio - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - "#gpio-cells": - const: 2 - - gpio-controller: true - - interrupt-controller: true - - "#interrupt-cells": - const: 2 - - gpio-bank: - description: System-wide GPIO bank index. - $ref: /schemas/types.yaml#/definitions/uint32 - - st,supports-sleepmode: - description: Whether the controller can sleep or not. - $ref: /schemas/types.yaml#/definitions/flag - - clocks: - maxItems: 1 - - gpio-ranges: - maxItems: 1 - - ngpios: - minimum: 0 - maximum: 32 - - resets: - maxItems: 1 - -required: - - compatible - - reg - - interrupts - - "#gpio-cells" - - gpio-controller - - interrupt-controller - - gpio-bank - -unevaluatedProperties: false - -allOf: - - if: - properties: - compatible: - contains: - const: mobileye,eyeq5-gpio - then: - properties: - st,supports-sleepmode: false - -examples: - - | - gpio@8012e080 { - compatible = "st,nomadik-gpio"; - reg = <0x8012e080 0x80>; - interrupts = <0 120 0x4>; - #gpio-cells = <2>; - gpio-controller; - interrupt-controller; - st,supports-sleepmode; - gpio-bank = <1>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/gpio/st,nomadik-gpio.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Nomadik GPIO controller + +description: + The Nomadik GPIO driver handles Nomadik SoC GPIO blocks. This block has also + been called ST STA2X11. On the Nomadik platform, this driver is intertwined + with pinctrl-nomadik. + +maintainers: + - Linus Walleij + +properties: + $nodename: + pattern: "^gpio@[0-9a-f]+$" + + compatible: + enum: + - st,nomadik-gpio + - mobileye,eyeq5-gpio + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + "#gpio-cells": + const: 2 + + gpio-controller: true + + interrupt-controller: true + + "#interrupt-cells": + const: 2 + + gpio-bank: + description: System-wide GPIO bank index. + $ref: /schemas/types.yaml#/definitions/uint32 + + st,supports-sleepmode: + description: Whether the controller can sleep or not. + $ref: /schemas/types.yaml#/definitions/flag + + clocks: + maxItems: 1 + + gpio-ranges: + maxItems: 1 + + ngpios: + minimum: 0 + maximum: 32 + + resets: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + - "#gpio-cells" + - gpio-controller + - interrupt-controller + - gpio-bank + +unevaluatedProperties: false + +allOf: + - if: + properties: + compatible: + contains: + const: mobileye,eyeq5-gpio + then: + properties: + st,supports-sleepmode: false + +examples: + - | + gpio@8012e080 { + compatible = "st,nomadik-gpio"; + reg = <0x8012e080 0x80>; + interrupts = <0 120 0x4>; + #gpio-cells = <2>; + gpio-controller; + interrupt-controller; + st,supports-sleepmode; + gpio-bank = <1>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/toshiba,gpio-visconti.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/toshiba,gpio-visconti.yaml index 5b22e6a5bd..b085450b52 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/toshiba,gpio-visconti.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/toshiba,gpio-visconti.yaml @@ -1,69 +1,69 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/gpio/toshiba,gpio-visconti.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Toshiba Visconti ARM SoCs GPIO controller - -maintainers: - - Nobuhiro Iwamatsu - -properties: - compatible: - items: - - const: toshiba,gpio-tmpv7708 - - reg: - maxItems: 1 - - "#gpio-cells": - const: 2 - - gpio-ranges: true - - gpio-controller: true - - interrupt-controller: true - - "#interrupt-cells": - const: 2 - - interrupts: - description: - interrupt mapping one per GPIO. - minItems: 16 - maxItems: 16 - -required: - - compatible - - reg - - "#gpio-cells" - - gpio-ranges - - gpio-controller - - interrupt-controller - - "#interrupt-cells" - -additionalProperties: false - -examples: - - | - #include - #include - - soc { - #address-cells = <2>; - #size-cells = <2>; - - gpio: gpio@28020000 { - compatible = "toshiba,gpio-tmpv7708"; - reg = <0 0x28020000 0 0x1000>; - #gpio-cells = <0x2>; - gpio-ranges = <&pmux 0 0 32>; - gpio-controller; - interrupt-controller; - #interrupt-cells = <2>; - interrupt-parent = <&gic>; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/gpio/toshiba,gpio-visconti.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Toshiba Visconti ARM SoCs GPIO controller + +maintainers: + - Nobuhiro Iwamatsu + +properties: + compatible: + items: + - const: toshiba,gpio-tmpv7708 + + reg: + maxItems: 1 + + "#gpio-cells": + const: 2 + + gpio-ranges: true + + gpio-controller: true + + interrupt-controller: true + + "#interrupt-cells": + const: 2 + + interrupts: + description: + interrupt mapping one per GPIO. + minItems: 16 + maxItems: 16 + +required: + - compatible + - reg + - "#gpio-cells" + - gpio-ranges + - gpio-controller + - interrupt-controller + - "#interrupt-cells" + +additionalProperties: false + +examples: + - | + #include + #include + + soc { + #address-cells = <2>; + #size-cells = <2>; + + gpio: gpio@28020000 { + compatible = "toshiba,gpio-tmpv7708"; + reg = <0 0x28020000 0 0x1000>; + #gpio-cells = <0x2>; + gpio-ranges = <&pmux 0 0 32>; + gpio-controller; + interrupt-controller; + #interrupt-cells = <2>; + interrupt-parent = <&gic>; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/xylon,logicvc-gpio.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/xylon,logicvc-gpio.yaml index 72c09778c9..59c79a6943 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/xylon,logicvc-gpio.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/xylon,logicvc-gpio.yaml @@ -1,71 +1,71 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -# Copyright 2019 Bootlin -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/gpio/xylon,logicvc-gpio.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Xylon LogiCVC GPIO controller - -maintainers: - - Paul Kocialkowski - -description: | - The LogiCVC GPIO describes the GPIO block included in the LogiCVC display - controller. These are meant to be used for controlling display-related - signals. - - The controller exposes GPIOs from the display and power control registers, - which are mapped by the driver as follows: - - GPIO[4:0] (display control) mapped to index 0-4 - - EN_BLIGHT (power control) mapped to index 5 - - EN_VDD (power control) mapped to index 6 - - EN_VEE (power control) mapped to index 7 - - V_EN (power control) mapped to index 8 - -properties: - $nodename: - pattern: "^gpio@[0-9a-f]+$" - - compatible: - enum: - - xylon,logicvc-3.02.a-gpio - - reg: - maxItems: 1 - - "#gpio-cells": - const: 2 - - gpio-controller: true - - gpio-line-names: - minItems: 1 - maxItems: 9 - -required: - - compatible - - reg - - "#gpio-cells" - - gpio-controller - -additionalProperties: false - -examples: - - | - logicvc: logicvc@43c00000 { - compatible = "xylon,logicvc-3.02.a", "syscon", "simple-mfd"; - reg = <0x43c00000 0x6000>; - - #address-cells = <1>; - #size-cells = <1>; - - logicvc_gpio: gpio@40 { - compatible = "xylon,logicvc-3.02.a-gpio"; - reg = <0x40 0x40>; - gpio-controller; - #gpio-cells = <2>; - gpio-line-names = "GPIO0", "GPIO1", "GPIO2", "GPIO3", "GPIO4", - "EN_BLIGHT", "EN_VDD", "EN_VEE", "V_EN"; - }; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +# Copyright 2019 Bootlin +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/gpio/xylon,logicvc-gpio.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Xylon LogiCVC GPIO controller + +maintainers: + - Paul Kocialkowski + +description: | + The LogiCVC GPIO describes the GPIO block included in the LogiCVC display + controller. These are meant to be used for controlling display-related + signals. + + The controller exposes GPIOs from the display and power control registers, + which are mapped by the driver as follows: + - GPIO[4:0] (display control) mapped to index 0-4 + - EN_BLIGHT (power control) mapped to index 5 + - EN_VDD (power control) mapped to index 6 + - EN_VEE (power control) mapped to index 7 + - V_EN (power control) mapped to index 8 + +properties: + $nodename: + pattern: "^gpio@[0-9a-f]+$" + + compatible: + enum: + - xylon,logicvc-3.02.a-gpio + + reg: + maxItems: 1 + + "#gpio-cells": + const: 2 + + gpio-controller: true + + gpio-line-names: + minItems: 1 + maxItems: 9 + +required: + - compatible + - reg + - "#gpio-cells" + - gpio-controller + +additionalProperties: false + +examples: + - | + logicvc: logicvc@43c00000 { + compatible = "xylon,logicvc-3.02.a", "syscon", "simple-mfd"; + reg = <0x43c00000 0x6000>; + + #address-cells = <1>; + #size-cells = <1>; + + logicvc_gpio: gpio@40 { + compatible = "xylon,logicvc-3.02.a-gpio"; + reg = <0x40 0x40>; + gpio-controller; + #gpio-cells = <2>; + gpio-line-names = "GPIO0", "GPIO1", "GPIO2", "GPIO3", "GPIO4", + "EN_BLIGHT", "EN_VDD", "EN_VEE", "V_EN"; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpu/brcm,bcm-v3d.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpu/brcm,bcm-v3d.yaml index f93866821c..dc078ceeca 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpu/brcm,bcm-v3d.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpu/brcm,bcm-v3d.yaml @@ -1,76 +1,76 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/gpu/brcm,bcm-v3d.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Broadcom V3D GPU - -maintainers: - - Eric Anholt - - Nicolas Saenz Julienne - -properties: - $nodename: - pattern: '^gpu@[a-f0-9]+$' - - compatible: - enum: - - brcm,2711-v3d - - brcm,2712-v3d - - brcm,7268-v3d - - brcm,7278-v3d - - reg: - items: - - description: hub register (required) - - description: core0 register (required) - - description: GCA cache controller register (if GCA controller present) - - description: bridge register (if no external reset controller) - minItems: 2 - - reg-names: - items: - - const: hub - - const: core0 - - enum: [ bridge, gca ] - - enum: [ bridge, gca ] - minItems: 2 - - interrupts: - items: - - description: hub interrupt (required) - - description: core interrupts (if it doesn't share the hub's interrupt) - minItems: 1 - - clocks: - maxItems: 1 - - resets: - maxItems: 1 - - power-domains: - maxItems: 1 - -required: - - compatible - - reg - - reg-names - - interrupts - -additionalProperties: false - -examples: - - | - gpu@f1200000 { - compatible = "brcm,7268-v3d"; - reg = <0xf1200000 0x4000>, - <0xf1208000 0x4000>, - <0xf1204000 0x100>, - <0xf1204100 0x100>; - reg-names = "hub", "core0", "bridge", "gca"; - interrupts = <0 78 4>, - <0 77 4>; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/gpu/brcm,bcm-v3d.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom V3D GPU + +maintainers: + - Eric Anholt + - Nicolas Saenz Julienne + +properties: + $nodename: + pattern: '^gpu@[a-f0-9]+$' + + compatible: + enum: + - brcm,2711-v3d + - brcm,2712-v3d + - brcm,7268-v3d + - brcm,7278-v3d + + reg: + items: + - description: hub register (required) + - description: core0 register (required) + - description: GCA cache controller register (if GCA controller present) + - description: bridge register (if no external reset controller) + minItems: 2 + + reg-names: + items: + - const: hub + - const: core0 + - enum: [ bridge, gca ] + - enum: [ bridge, gca ] + minItems: 2 + + interrupts: + items: + - description: hub interrupt (required) + - description: core interrupts (if it doesn't share the hub's interrupt) + minItems: 1 + + clocks: + maxItems: 1 + + resets: + maxItems: 1 + + power-domains: + maxItems: 1 + +required: + - compatible + - reg + - reg-names + - interrupts + +additionalProperties: false + +examples: + - | + gpu@f1200000 { + compatible = "brcm,7268-v3d"; + reg = <0xf1200000 0x4000>, + <0xf1208000 0x4000>, + <0xf1204000 0x100>, + <0xf1204100 0x100>; + reg-names = "hub", "core0", "bridge", "gca"; + interrupts = <0 78 4>, + <0 77 4>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpu/img,powervr-rogue.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpu/img,powervr-rogue.yaml index 4e01f82c39..256e252f80 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpu/img,powervr-rogue.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpu/img,powervr-rogue.yaml @@ -1,73 +1,73 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -# Copyright (c) 2023 Imagination Technologies Ltd. -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/gpu/img,powervr-rogue.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Imagination Technologies PowerVR and IMG Rogue GPUs - -maintainers: - - Frank Binns - -properties: - compatible: - items: - - enum: - - ti,am62-gpu - - const: img,img-axe # IMG AXE GPU model/revision is fully discoverable - - reg: - maxItems: 1 - - clocks: - minItems: 1 - maxItems: 3 - - clock-names: - items: - - const: core - - const: mem - - const: sys - minItems: 1 - - interrupts: - maxItems: 1 - - power-domains: - maxItems: 1 - -required: - - compatible - - reg - - clocks - - clock-names - - interrupts - -additionalProperties: false - -allOf: - - if: - properties: - compatible: - contains: - const: ti,am62-gpu - then: - properties: - clocks: - maxItems: 1 - -examples: - - | - #include - #include - #include - - gpu@fd00000 { - compatible = "ti,am62-gpu", "img,img-axe"; - reg = <0x0fd00000 0x20000>; - clocks = <&k3_clks 187 0>; - clock-names = "core"; - interrupts = ; - power-domains = <&k3_pds 187 TI_SCI_PD_EXCLUSIVE>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +# Copyright (c) 2023 Imagination Technologies Ltd. +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/gpu/img,powervr-rogue.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Imagination Technologies PowerVR and IMG Rogue GPUs + +maintainers: + - Frank Binns + +properties: + compatible: + items: + - enum: + - ti,am62-gpu + - const: img,img-axe # IMG AXE GPU model/revision is fully discoverable + + reg: + maxItems: 1 + + clocks: + minItems: 1 + maxItems: 3 + + clock-names: + items: + - const: core + - const: mem + - const: sys + minItems: 1 + + interrupts: + maxItems: 1 + + power-domains: + maxItems: 1 + +required: + - compatible + - reg + - clocks + - clock-names + - interrupts + +additionalProperties: false + +allOf: + - if: + properties: + compatible: + contains: + const: ti,am62-gpu + then: + properties: + clocks: + maxItems: 1 + +examples: + - | + #include + #include + #include + + gpu@fd00000 { + compatible = "ti,am62-gpu", "img,img-axe"; + reg = <0x0fd00000 0x20000>; + clocks = <&k3_clks 187 0>; + clock-names = "core"; + interrupts = ; + power-domains = <&k3_pds 187 TI_SCI_PD_EXCLUSIVE>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpu/samsung-g2d.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpu/samsung-g2d.yaml index 90a4bae976..132aaa4959 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpu/samsung-g2d.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpu/samsung-g2d.yaml @@ -1,86 +1,86 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/gpu/samsung-g2d.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Samsung SoC 2D Graphics Accelerator - -maintainers: - - Inki Dae - -properties: - compatible: - enum: - - samsung,s5pv210-g2d # in S5PV210 & Exynos4210 SoC - - samsung,exynos4212-g2d # in Exynos4x12 SoCs - - samsung,exynos5250-g2d - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - minItems: 1 - maxItems: 2 - - clock-names: - minItems: 1 - maxItems: 2 - - iommus: - minItems: 1 - maxItems: 2 - - power-domains: - maxItems: 1 - -required: - - compatible - - reg - - interrupts - - clocks - - clock-names - -allOf: - - if: - properties: - compatible: - contains: - const: samsung,exynos5250-g2d - - then: - properties: - clocks: - items: - - description: fimg2d clock - clock-names: - items: - - const: fimg2d - - else: - properties: - clocks: - items: - - description: sclk_fimg2d clock - - description: fimg2d clock - clock-names: - items: - - const: sclk_fimg2d - - const: fimg2d - -additionalProperties: false - -examples: - - | - g2d@12800000 { - compatible = "samsung,s5pv210-g2d"; - reg = <0x12800000 0x1000>; - interrupts = <0 89 0>; - clocks = <&clock 177>, <&clock 277>; - clock-names = "sclk_fimg2d", "fimg2d"; - }; - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/gpu/samsung-g2d.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Samsung SoC 2D Graphics Accelerator + +maintainers: + - Inki Dae + +properties: + compatible: + enum: + - samsung,s5pv210-g2d # in S5PV210 & Exynos4210 SoC + - samsung,exynos4212-g2d # in Exynos4x12 SoCs + - samsung,exynos5250-g2d + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + minItems: 1 + maxItems: 2 + + clock-names: + minItems: 1 + maxItems: 2 + + iommus: + minItems: 1 + maxItems: 2 + + power-domains: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + - clocks + - clock-names + +allOf: + - if: + properties: + compatible: + contains: + const: samsung,exynos5250-g2d + + then: + properties: + clocks: + items: + - description: fimg2d clock + clock-names: + items: + - const: fimg2d + + else: + properties: + clocks: + items: + - description: sclk_fimg2d clock + - description: fimg2d clock + clock-names: + items: + - const: sclk_fimg2d + - const: fimg2d + +additionalProperties: false + +examples: + - | + g2d@12800000 { + compatible = "samsung,s5pv210-g2d"; + reg = <0x12800000 0x1000>; + interrupts = <0 89 0>; + clocks = <&clock 177>, <&clock 277>; + clock-names = "sclk_fimg2d", "fimg2d"; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpu/samsung-scaler.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpu/samsung-scaler.yaml index 172812de55..9fb530e65d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpu/samsung-scaler.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpu/samsung-scaler.yaml @@ -1,94 +1,94 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/gpu/samsung-scaler.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Samsung Exynos SoC Image Scaler - -maintainers: - - Inki Dae - -properties: - compatible: - enum: - - samsung,exynos5420-scaler - - samsung,exynos5433-scaler - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - minItems: 1 - maxItems: 3 - - clock-names: - minItems: 1 - maxItems: 3 - - iommus: - minItems: 1 - maxItems: 2 - - power-domains: - maxItems: 1 - -required: - - compatible - - reg - - interrupts - - clocks - - clock-names - -allOf: - - if: - properties: - compatible: - contains: - const: samsung,exynos5420-scaler - - then: - properties: - clocks: - items: - - description: mscl clock - clock-names: - items: - - const: mscl - iommus: - minItems: 2 - - else: - properties: - clocks: - items: - - description: pclk clock - - description: aclk clock - - description: aclk_xiu clock - clock-names: - items: - - const: pclk - - const: aclk - - const: aclk_xiu - iommus: - maxItems: 1 - -additionalProperties: false - -examples: - - | - #include - #include - - scaler@12800000 { - compatible = "samsung,exynos5420-scaler"; - reg = <0x12800000 0x1294>; - interrupts = ; - clocks = <&clock CLK_MSCL0>; - clock-names = "mscl"; - }; - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/gpu/samsung-scaler.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Samsung Exynos SoC Image Scaler + +maintainers: + - Inki Dae + +properties: + compatible: + enum: + - samsung,exynos5420-scaler + - samsung,exynos5433-scaler + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + minItems: 1 + maxItems: 3 + + clock-names: + minItems: 1 + maxItems: 3 + + iommus: + minItems: 1 + maxItems: 2 + + power-domains: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + - clocks + - clock-names + +allOf: + - if: + properties: + compatible: + contains: + const: samsung,exynos5420-scaler + + then: + properties: + clocks: + items: + - description: mscl clock + clock-names: + items: + - const: mscl + iommus: + minItems: 2 + + else: + properties: + clocks: + items: + - description: pclk clock + - description: aclk clock + - description: aclk_xiu clock + clock-names: + items: + - const: pclk + - const: aclk + - const: aclk_xiu + iommus: + maxItems: 1 + +additionalProperties: false + +examples: + - | + #include + #include + + scaler@12800000 { + compatible = "samsung,exynos5420-scaler"; + reg = <0x12800000 0x1294>; + interrupts = ; + clocks = <&clock CLK_MSCL0>; + clock-names = "mscl"; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpu/vivante,gc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpu/vivante,gc.yaml index a3ec53aabf..b1b10ea70a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpu/vivante,gc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpu/vivante,gc.yaml @@ -1,76 +1,76 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/gpu/vivante,gc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Vivante GPU - -description: Vivante GPU core devices - -maintainers: - - Lucas Stach - -properties: - compatible: - const: vivante,gc - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - '#cooling-cells': - const: 2 - - assigned-clock-parents: true - assigned-clock-rates: true - assigned-clocks: true - - clocks: - items: - - description: AXI/master interface clock - - description: GPU core clock - - description: Shader clock (only required if GPU has feature PIPE_3D) - - description: AHB/slave interface clock (only required if GPU can gate - slave interface independently) - minItems: 1 - - clock-names: - items: - enum: [ bus, core, shader, reg ] - minItems: 1 - maxItems: 4 - - resets: - maxItems: 1 - - power-domains: - maxItems: 1 - -required: - - compatible - - reg - - interrupts - - clocks - - clock-names - -additionalProperties: false - -examples: - - | - #include - #include - gpu@130000 { - compatible = "vivante,gc"; - reg = <0x00130000 0x4000>; - interrupts = <0 9 IRQ_TYPE_LEVEL_HIGH>; - clocks = <&clks IMX6QDL_CLK_GPU3D_AXI>, - <&clks IMX6QDL_CLK_GPU3D_CORE>, - <&clks IMX6QDL_CLK_GPU3D_SHADER>; - clock-names = "bus", "core", "shader"; - power-domains = <&gpc 1>; - }; - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/gpu/vivante,gc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Vivante GPU + +description: Vivante GPU core devices + +maintainers: + - Lucas Stach + +properties: + compatible: + const: vivante,gc + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + '#cooling-cells': + const: 2 + + assigned-clock-parents: true + assigned-clock-rates: true + assigned-clocks: true + + clocks: + items: + - description: AXI/master interface clock + - description: GPU core clock + - description: Shader clock (only required if GPU has feature PIPE_3D) + - description: AHB/slave interface clock (only required if GPU can gate + slave interface independently) + minItems: 1 + + clock-names: + items: + enum: [ bus, core, shader, reg ] + minItems: 1 + maxItems: 4 + + resets: + maxItems: 1 + + power-domains: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + - clocks + - clock-names + +additionalProperties: false + +examples: + - | + #include + #include + gpu@130000 { + compatible = "vivante,gc"; + reg = <0x00130000 0x4000>; + interrupts = <0 9 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&clks IMX6QDL_CLK_GPU3D_AXI>, + <&clks IMX6QDL_CLK_GPU3D_CORE>, + <&clks IMX6QDL_CLK_GPU3D_SHADER>; + clock-names = "bus", "core", "shader"; + power-domains = <&gpc 1>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hsi/nokia-modem.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hsi/nokia-modem.txt index 134f37778a..53de1d9d0b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hsi/nokia-modem.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hsi/nokia-modem.txt @@ -1,59 +1,59 @@ -Nokia modem client bindings - -The Nokia modem HSI client follows the common HSI client binding -and inherits all required properties. The following additional -properties are needed by the Nokia modem HSI client: - -Required properties: -- compatible: Should be one of - "nokia,n900-modem" - "nokia,n950-modem" - "nokia,n9-modem" -- hsi-channel-names: Should contain the following strings - "mcsaab-control" - "speech-control" - "speech-data" - "mcsaab-data" -- gpios: Should provide a GPIO handler for each GPIO listed in - gpio-names -- gpio-names: Should contain the following strings - "cmt_apeslpx" (for n900, n950, n9) - "cmt_rst_rq" (for n900, n950, n9) - "cmt_en" (for n900, n950, n9) - "cmt_rst" (for n900) - "cmt_bsi" (for n900) -- interrupts: Should be IRQ handle for modem's reset indication - -Example: - -&ssi_port { - modem: hsi-client { - compatible = "nokia,n900-modem"; - - pinctrl-names = "default"; - pinctrl-0 = <&modem_pins>; - - hsi-channel-ids = <0>, <1>, <2>, <3>; - hsi-channel-names = "mcsaab-control", - "speech-control", - "speech-data", - "mcsaab-data"; - hsi-speed-kbps = <55000>; - hsi-mode = "frame"; - hsi-flow = "synchronized"; - hsi-arb-mode = "round-robin"; - - interrupts-extended = <&gpio3 8 IRQ_TYPE_EDGE_FALLING>; /* 72 */ - - gpios = <&gpio3 6 GPIO_ACTIVE_HIGH>, /* 70 */ - <&gpio3 9 GPIO_ACTIVE_HIGH>, /* 73 */ - <&gpio3 10 GPIO_ACTIVE_HIGH>, /* 74 */ - <&gpio3 11 GPIO_ACTIVE_HIGH>, /* 75 */ - <&gpio5 29 GPIO_ACTIVE_HIGH>; /* 157 */ - gpio-names = "cmt_apeslpx", - "cmt_rst_rq", - "cmt_en", - "cmt_rst", - "cmt_bsi"; - }; -}; +Nokia modem client bindings + +The Nokia modem HSI client follows the common HSI client binding +and inherits all required properties. The following additional +properties are needed by the Nokia modem HSI client: + +Required properties: +- compatible: Should be one of + "nokia,n900-modem" + "nokia,n950-modem" + "nokia,n9-modem" +- hsi-channel-names: Should contain the following strings + "mcsaab-control" + "speech-control" + "speech-data" + "mcsaab-data" +- gpios: Should provide a GPIO handler for each GPIO listed in + gpio-names +- gpio-names: Should contain the following strings + "cmt_apeslpx" (for n900, n950, n9) + "cmt_rst_rq" (for n900, n950, n9) + "cmt_en" (for n900, n950, n9) + "cmt_rst" (for n900) + "cmt_bsi" (for n900) +- interrupts: Should be IRQ handle for modem's reset indication + +Example: + +&ssi_port { + modem: hsi-client { + compatible = "nokia,n900-modem"; + + pinctrl-names = "default"; + pinctrl-0 = <&modem_pins>; + + hsi-channel-ids = <0>, <1>, <2>, <3>; + hsi-channel-names = "mcsaab-control", + "speech-control", + "speech-data", + "mcsaab-data"; + hsi-speed-kbps = <55000>; + hsi-mode = "frame"; + hsi-flow = "synchronized"; + hsi-arb-mode = "round-robin"; + + interrupts-extended = <&gpio3 8 IRQ_TYPE_EDGE_FALLING>; /* 72 */ + + gpios = <&gpio3 6 GPIO_ACTIVE_HIGH>, /* 70 */ + <&gpio3 9 GPIO_ACTIVE_HIGH>, /* 73 */ + <&gpio3 10 GPIO_ACTIVE_HIGH>, /* 74 */ + <&gpio3 11 GPIO_ACTIVE_HIGH>, /* 75 */ + <&gpio5 29 GPIO_ACTIVE_HIGH>; /* 157 */ + gpio-names = "cmt_apeslpx", + "cmt_rst_rq", + "cmt_en", + "cmt_rst", + "cmt_bsi"; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/adi,adm1177.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/adi,adm1177.yaml index 3016a5b086..be7e9e91a3 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/adi,adm1177.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/adi,adm1177.yaml @@ -1,70 +1,70 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/hwmon/adi,adm1177.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Analog Devices ADM1177 Hot Swap Controller and Digital Power Monitor - -maintainers: - - Michael Hennerich - -description: | - Analog Devices ADM1177 Hot Swap Controller and Digital Power Monitor - https://www.analog.com/media/en/technical-documentation/data-sheets/ADM1177.pdf - -properties: - compatible: - enum: - - adi,adm1177 - - reg: - maxItems: 1 - - avcc-supply: - description: - Phandle to the Avcc power supply - - shunt-resistor-micro-ohms: - description: - The value of current sense resistor in microohms. If not provided, - the current reading and overcurrent alert is disabled. - - adi,shutdown-threshold-microamp: - description: - Specifies the current level at which an over current alert occurs. - If not provided, the overcurrent alert is configured to max ADC range - based on shunt-resistor-micro-ohms. - - adi,vrange-high-enable: - description: - Specifies which internal voltage divider to be used. A 1 selects - a 7:2 voltage divider while a 0 selects a 14:1 voltage divider. - type: boolean - -required: - - compatible - - reg - -allOf: - - $ref: hwmon-common.yaml# - -unevaluatedProperties: false - -examples: - - | - #include - #include - i2c { - #address-cells = <1>; - #size-cells = <0>; - - pwmon@5a { - compatible = "adi,adm1177"; - reg = <0x5a>; - shunt-resistor-micro-ohms = <50000>; /* 50 mOhm */ - adi,shutdown-threshold-microamp = <1059000>; /* 1.059 A */ - adi,vrange-high-enable; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/hwmon/adi,adm1177.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Analog Devices ADM1177 Hot Swap Controller and Digital Power Monitor + +maintainers: + - Michael Hennerich + +description: | + Analog Devices ADM1177 Hot Swap Controller and Digital Power Monitor + https://www.analog.com/media/en/technical-documentation/data-sheets/ADM1177.pdf + +properties: + compatible: + enum: + - adi,adm1177 + + reg: + maxItems: 1 + + avcc-supply: + description: + Phandle to the Avcc power supply + + shunt-resistor-micro-ohms: + description: + The value of current sense resistor in microohms. If not provided, + the current reading and overcurrent alert is disabled. + + adi,shutdown-threshold-microamp: + description: + Specifies the current level at which an over current alert occurs. + If not provided, the overcurrent alert is configured to max ADC range + based on shunt-resistor-micro-ohms. + + adi,vrange-high-enable: + description: + Specifies which internal voltage divider to be used. A 1 selects + a 7:2 voltage divider while a 0 selects a 14:1 voltage divider. + type: boolean + +required: + - compatible + - reg + +allOf: + - $ref: hwmon-common.yaml# + +unevaluatedProperties: false + +examples: + - | + #include + #include + i2c { + #address-cells = <1>; + #size-cells = <0>; + + pwmon@5a { + compatible = "adi,adm1177"; + reg = <0x5a>; + shunt-resistor-micro-ohms = <50000>; /* 50 mOhm */ + adi,shutdown-threshold-microamp = <1059000>; /* 1.059 A */ + adi,vrange-high-enable; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/adi,axi-fan-control.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/adi,axi-fan-control.yaml index 617a5b4789..6751f9b643 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/adi,axi-fan-control.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/adi,axi-fan-control.yaml @@ -1,63 +1,63 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -# Copyright 2019 Analog Devices Inc. -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/hwmon/adi,axi-fan-control.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Analog Devices AXI FAN Control - -maintainers: - - Nuno Sá - -description: |+ - Bindings for the Analog Devices AXI FAN Control driver. Specifications of the - core can be found in: - - https://wiki.analog.com/resources/fpga/docs/axi_fan_control - -properties: - compatible: - enum: - - adi,axi-fan-control-1.00.a - - reg: - maxItems: 1 - - clocks: - maxItems: 1 - - interrupts: - maxItems: 1 - - pulses-per-revolution: - description: - Value specifying the number of pulses per revolution of the controlled - FAN. - $ref: /schemas/types.yaml#/definitions/uint32 - enum: [1, 2, 4] - -required: - - compatible - - reg - - clocks - - interrupts - - pulses-per-revolution - -additionalProperties: false - -examples: - - | - fpga_axi: fpga-axi { - #address-cells = <0x2>; - #size-cells = <0x1>; - - axi_fan_control: axi-fan-control@80000000 { - compatible = "adi,axi-fan-control-1.00.a"; - reg = <0x0 0x80000000 0x10000>; - clocks = <&clk 71>; - interrupts = <0 110 0>; - pulses-per-revolution = <2>; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +# Copyright 2019 Analog Devices Inc. +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/hwmon/adi,axi-fan-control.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Analog Devices AXI FAN Control + +maintainers: + - Nuno Sá + +description: |+ + Bindings for the Analog Devices AXI FAN Control driver. Specifications of the + core can be found in: + + https://wiki.analog.com/resources/fpga/docs/axi_fan_control + +properties: + compatible: + enum: + - adi,axi-fan-control-1.00.a + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + interrupts: + maxItems: 1 + + pulses-per-revolution: + description: + Value specifying the number of pulses per revolution of the controlled + FAN. + $ref: /schemas/types.yaml#/definitions/uint32 + enum: [1, 2, 4] + +required: + - compatible + - reg + - clocks + - interrupts + - pulses-per-revolution + +additionalProperties: false + +examples: + - | + fpga_axi: fpga-axi { + #address-cells = <0x2>; + #size-cells = <0x1>; + + axi_fan_control: axi-fan-control@80000000 { + compatible = "adi,axi-fan-control-1.00.a"; + reg = <0x0 0x80000000 0x10000>; + clocks = <&clk 71>; + interrupts = <0 110 0>; + pulses-per-revolution = <2>; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/adi,ltc2992.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/adi,ltc2992.yaml index e2c89f4d38..0ad12d2456 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/adi,ltc2992.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/adi,ltc2992.yaml @@ -1,81 +1,81 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/hwmon/adi,ltc2992.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Linear Technology 2992 Power Monitor - -maintainers: - - Alexandru Tachici - -description: | - Linear Technology 2992 Dual Wide Range Power Monitor - https://www.analog.com/media/en/technical-documentation/data-sheets/ltc2992.pdf - -properties: - compatible: - enum: - - adi,ltc2992 - - reg: - maxItems: 1 - - '#address-cells': - const: 1 - - '#size-cells': - const: 0 - - avcc-supply: true - -patternProperties: - "^channel@([0-1])$": - type: object - additionalProperties: false - description: | - Represents the two supplies to be monitored. - - properties: - reg: - description: | - The channel number. LTC2992 can monitor two supplies. - items: - minimum: 0 - maximum: 1 - - shunt-resistor-micro-ohms: - description: - The value of current sense resistor in microohms. - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - ltc2992@6f { - #address-cells = <1>; - #size-cells = <0>; - - compatible = "adi,ltc2992"; - reg = <0x6f>; - - channel@0 { - reg = <0x0>; - shunt-resistor-micro-ohms = <10000>; - }; - - channel@1 { - reg = <0x1>; - shunt-resistor-micro-ohms = <10000>; - }; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/hwmon/adi,ltc2992.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Linear Technology 2992 Power Monitor + +maintainers: + - Alexandru Tachici + +description: | + Linear Technology 2992 Dual Wide Range Power Monitor + https://www.analog.com/media/en/technical-documentation/data-sheets/ltc2992.pdf + +properties: + compatible: + enum: + - adi,ltc2992 + + reg: + maxItems: 1 + + '#address-cells': + const: 1 + + '#size-cells': + const: 0 + + avcc-supply: true + +patternProperties: + "^channel@([0-1])$": + type: object + additionalProperties: false + description: | + Represents the two supplies to be monitored. + + properties: + reg: + description: | + The channel number. LTC2992 can monitor two supplies. + items: + minimum: 0 + maximum: 1 + + shunt-resistor-micro-ohms: + description: + The value of current sense resistor in microohms. + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + ltc2992@6f { + #address-cells = <1>; + #size-cells = <0>; + + compatible = "adi,ltc2992"; + reg = <0x6f>; + + channel@0 { + reg = <0x0>; + shunt-resistor-micro-ohms = <10000>; + }; + + channel@1 { + reg = <0x1>; + shunt-resistor-micro-ohms = <10000>; + }; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/amd,sbrmi.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/amd,sbrmi.yaml index fd28faee46..353d81d89b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/amd,sbrmi.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/amd,sbrmi.yaml @@ -1,53 +1,53 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/hwmon/amd,sbrmi.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: > - Sideband Remote Management Interface (SB-RMI) compliant - AMD SoC power device. - -maintainers: - - Akshay Gupta - -description: | - SB Remote Management Interface (SB-RMI) is an SMBus compatible - interface that reports AMD SoC's Power (normalized Power) using, - Mailbox Service Request and resembles a typical 8-pin remote power - sensor's I2C interface to BMC. The power attributes in hwmon - reports power in microwatts. - -properties: - compatible: - enum: - - amd,sbrmi - - reg: - maxItems: 1 - description: | - I2C bus address of the device as specified in Section SBI SMBus Address - of the SoC register reference. The SB-RMI address is normally 78h for - socket 0 and 70h for socket 1, but it could vary based on hardware - address select pins. - \[open source SoC register reference\] - https://www.amd.com/en/support/tech-docs?keyword=55898 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - sbrmi@3c { - compatible = "amd,sbrmi"; - reg = <0x3c>; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/hwmon/amd,sbrmi.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: > + Sideband Remote Management Interface (SB-RMI) compliant + AMD SoC power device. + +maintainers: + - Akshay Gupta + +description: | + SB Remote Management Interface (SB-RMI) is an SMBus compatible + interface that reports AMD SoC's Power (normalized Power) using, + Mailbox Service Request and resembles a typical 8-pin remote power + sensor's I2C interface to BMC. The power attributes in hwmon + reports power in microwatts. + +properties: + compatible: + enum: + - amd,sbrmi + + reg: + maxItems: 1 + description: | + I2C bus address of the device as specified in Section SBI SMBus Address + of the SoC register reference. The SB-RMI address is normally 78h for + socket 0 and 70h for socket 1, but it could vary based on hardware + address select pins. + \[open source SoC register reference\] + https://www.amd.com/en/support/tech-docs?keyword=55898 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + sbrmi@3c { + compatible = "amd,sbrmi"; + reg = <0x3c>; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/amd,sbtsi.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/amd,sbtsi.yaml index 8e404e02eb..75088244a2 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/amd,sbtsi.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/amd,sbtsi.yaml @@ -1,54 +1,54 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/hwmon/amd,sbtsi.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: > - Sideband interface Temperature Sensor Interface (SB-TSI) compliant - AMD SoC temperature device - -maintainers: - - Kun Yi - - Supreeth Venkatesh - -description: | - SB Temperature Sensor Interface (SB-TSI) is an SMBus compatible - interface that reports AMD SoC's Ttcl (normalized temperature), - and resembles a typical 8-pin remote temperature sensor's I2C interface - to BMC. The emulated thermal sensor can report temperatures in increments - of 0.125 degrees, ranging from 0 to 255.875. - -properties: - compatible: - enum: - - amd,sbtsi - - reg: - maxItems: 1 - description: | - I2C bus address of the device as specified in Section 6.3.1 of the - SoC register reference. The SB-TSI address is normally 98h for socket - 0 and 90h for socket 1, but it could vary based on hardware address - select pins. - \[open source SoC register reference\] - https://www.amd.com/system/files/TechDocs/56255_OSRR.pdf - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - sbtsi@4c { - compatible = "amd,sbtsi"; - reg = <0x4c>; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/hwmon/amd,sbtsi.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: > + Sideband interface Temperature Sensor Interface (SB-TSI) compliant + AMD SoC temperature device + +maintainers: + - Kun Yi + - Supreeth Venkatesh + +description: | + SB Temperature Sensor Interface (SB-TSI) is an SMBus compatible + interface that reports AMD SoC's Ttcl (normalized temperature), + and resembles a typical 8-pin remote temperature sensor's I2C interface + to BMC. The emulated thermal sensor can report temperatures in increments + of 0.125 degrees, ranging from 0 to 255.875. + +properties: + compatible: + enum: + - amd,sbtsi + + reg: + maxItems: 1 + description: | + I2C bus address of the device as specified in Section 6.3.1 of the + SoC register reference. The SB-TSI address is normally 98h for socket + 0 and 90h for socket 1, but it could vary based on hardware address + select pins. + \[open source SoC register reference\] + https://www.amd.com/system/files/TechDocs/56255_OSRR.pdf + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + sbtsi@4c { + compatible = "amd,sbtsi"; + reg = <0x4c>; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/aspeed,g6-pwm-tach.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/aspeed,g6-pwm-tach.yaml index d5ea71688b..9e5ed901ae 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/aspeed,g6-pwm-tach.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/aspeed,g6-pwm-tach.yaml @@ -1,71 +1,71 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -# Copyright (C) 2023 Aspeed, Inc. -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/hwmon/aspeed,g6-pwm-tach.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: ASPEED G6 PWM and Fan Tach controller - -maintainers: - - Billy Tsai - -description: | - The ASPEED PWM controller can support up to 16 PWM outputs. - The ASPEED Fan Tacho controller can support up to 16 fan tach input. - They are independent hardware blocks, which are different from the - previous version of the ASPEED chip. - -properties: - compatible: - enum: - - aspeed,ast2600-pwm-tach - - reg: - maxItems: 1 - - clocks: - maxItems: 1 - - resets: - maxItems: 1 - - "#pwm-cells": - const: 3 - -patternProperties: - "^fan-[0-9]+$": - $ref: fan-common.yaml# - unevaluatedProperties: false - required: - - tach-ch - -required: - - reg - - clocks - - resets - - "#pwm-cells" - - compatible - -additionalProperties: false - -examples: - - | - #include - pwm_tach: pwm-tach-controller@1e610000 { - compatible = "aspeed,ast2600-pwm-tach"; - reg = <0x1e610000 0x100>; - clocks = <&syscon ASPEED_CLK_AHB>; - resets = <&syscon ASPEED_RESET_PWM>; - #pwm-cells = <3>; - - fan-0 { - tach-ch = /bits/ 8 <0x0>; - pwms = <&pwm_tach 0 40000 0>; - }; - - fan-1 { - tach-ch = /bits/ 8 <0x1 0x2>; - pwms = <&pwm_tach 1 40000 0>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +# Copyright (C) 2023 Aspeed, Inc. +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/hwmon/aspeed,g6-pwm-tach.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ASPEED G6 PWM and Fan Tach controller + +maintainers: + - Billy Tsai + +description: | + The ASPEED PWM controller can support up to 16 PWM outputs. + The ASPEED Fan Tacho controller can support up to 16 fan tach input. + They are independent hardware blocks, which are different from the + previous version of the ASPEED chip. + +properties: + compatible: + enum: + - aspeed,ast2600-pwm-tach + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + resets: + maxItems: 1 + + "#pwm-cells": + const: 3 + +patternProperties: + "^fan-[0-9]+$": + $ref: fan-common.yaml# + unevaluatedProperties: false + required: + - tach-ch + +required: + - reg + - clocks + - resets + - "#pwm-cells" + - compatible + +additionalProperties: false + +examples: + - | + #include + pwm_tach: pwm-tach-controller@1e610000 { + compatible = "aspeed,ast2600-pwm-tach"; + reg = <0x1e610000 0x100>; + clocks = <&syscon ASPEED_CLK_AHB>; + resets = <&syscon ASPEED_RESET_PWM>; + #pwm-cells = <3>; + + fan-0 { + tach-ch = /bits/ 8 <0x0>; + pwms = <&pwm_tach 0 40000 0>; + }; + + fan-1 { + tach-ch = /bits/ 8 <0x1 0x2>; + pwms = <&pwm_tach 1 40000 0>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/fan-common.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/fan-common.yaml index b2fa8ee572..0fb7380816 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/fan-common.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/fan-common.yaml @@ -1,79 +1,79 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/hwmon/fan-common.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Common Fan Properties - -maintainers: - - Naresh Solanki - - Billy Tsai - -properties: - max-rpm: - description: - Max RPM supported by fan. - $ref: /schemas/types.yaml#/definitions/uint32 - maximum: 100000 - - min-rpm: - description: - Min RPM supported by fan. - $ref: /schemas/types.yaml#/definitions/uint32 - maximum: 1000 - - pulses-per-revolution: - description: - The number of pulse from fan sensor per revolution. - $ref: /schemas/types.yaml#/definitions/uint32 - maximum: 4 - - tach-div: - description: - Divisor for the tach sampling clock, which determines the sensitivity of the tach pin. - $ref: /schemas/types.yaml#/definitions/uint32 - - target-rpm: - description: - The default desired fan speed in RPM. - $ref: /schemas/types.yaml#/definitions/uint32 - - fan-driving-mode: - description: - Select the driving mode of the fan.(DC, PWM and so on) - $ref: /schemas/types.yaml#/definitions/string - enum: [ dc, pwm ] - - pwms: - description: - PWM provider. - maxItems: 1 - - "#cooling-cells": - const: 2 - - cooling-levels: - description: - The control value which correspond to thermal cooling states. - $ref: /schemas/types.yaml#/definitions/uint32-array - - tach-ch: - description: - The tach channel used for the fan. - $ref: /schemas/types.yaml#/definitions/uint8-array - - label: - description: - Optional fan label - - fan-supply: - description: - Power supply for fan. - - reg: - maxItems: 1 - -additionalProperties: true - -... +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/hwmon/fan-common.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Common Fan Properties + +maintainers: + - Naresh Solanki + - Billy Tsai + +properties: + max-rpm: + description: + Max RPM supported by fan. + $ref: /schemas/types.yaml#/definitions/uint32 + maximum: 100000 + + min-rpm: + description: + Min RPM supported by fan. + $ref: /schemas/types.yaml#/definitions/uint32 + maximum: 1000 + + pulses-per-revolution: + description: + The number of pulse from fan sensor per revolution. + $ref: /schemas/types.yaml#/definitions/uint32 + maximum: 4 + + tach-div: + description: + Divisor for the tach sampling clock, which determines the sensitivity of the tach pin. + $ref: /schemas/types.yaml#/definitions/uint32 + + target-rpm: + description: + The default desired fan speed in RPM. + $ref: /schemas/types.yaml#/definitions/uint32 + + fan-driving-mode: + description: + Select the driving mode of the fan.(DC, PWM and so on) + $ref: /schemas/types.yaml#/definitions/string + enum: [ dc, pwm ] + + pwms: + description: + PWM provider. + maxItems: 1 + + "#cooling-cells": + const: 2 + + cooling-levels: + description: + The control value which correspond to thermal cooling states. + $ref: /schemas/types.yaml#/definitions/uint32-array + + tach-ch: + description: + The tach channel used for the fan. + $ref: /schemas/types.yaml#/definitions/uint8-array + + label: + description: + Optional fan label + + fan-supply: + description: + Power supply for fan. + + reg: + maxItems: 1 + +additionalProperties: true + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/jedec,jc42.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/jedec,jc42.yaml index 225f456339..bf3332153a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/jedec,jc42.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/jedec,jc42.yaml @@ -1,78 +1,78 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/hwmon/jedec,jc42.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Jedec JC-42.4 compatible temperature sensors - -maintainers: - - Jean Delvare - - Guenter Roeck - -select: - properties: - compatible: - const: jedec,jc-42.4-temp - - required: - - compatible - -properties: - compatible: - oneOf: - - const: jedec,jc-42.4-temp - - items: - - enum: - - adi,adt7408 - - atmel,at30ts00 - - atmel,at30tse004 - - idt,tse2002 - - idt,tse2004 - - idt,ts3000 - - idt,ts3001 - - maxim,max6604 - - microchip,mcp9804 - - microchip,mcp9805 - - microchip,mcp9808 - - microchip,mcp98243 - - microchip,mcp98244 - - microchip,mcp9843 - - nxp,se97 - - nxp,se97b - - nxp,se98 - - onnn,cat6095 - - onnn,cat34ts02 - - st,stts2002 - - st,stts2004 - - st,stts3000 - - st,stts424 - - st,stts424e - - const: jedec,jc-42.4-temp - - reg: - maxItems: 1 - - smbus-timeout-disable: - description: | - When set, the smbus timeout function will be disabled. This is not - supported on all chips. - type: boolean - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - temp-sensor@1a { - compatible = "jedec,jc-42.4-temp"; - reg = <0x1a>; - }; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/hwmon/jedec,jc42.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Jedec JC-42.4 compatible temperature sensors + +maintainers: + - Jean Delvare + - Guenter Roeck + +select: + properties: + compatible: + const: jedec,jc-42.4-temp + + required: + - compatible + +properties: + compatible: + oneOf: + - const: jedec,jc-42.4-temp + - items: + - enum: + - adi,adt7408 + - atmel,at30ts00 + - atmel,at30tse004 + - idt,tse2002 + - idt,tse2004 + - idt,ts3000 + - idt,ts3001 + - maxim,max6604 + - microchip,mcp9804 + - microchip,mcp9805 + - microchip,mcp9808 + - microchip,mcp98243 + - microchip,mcp98244 + - microchip,mcp9843 + - nxp,se97 + - nxp,se97b + - nxp,se98 + - onnn,cat6095 + - onnn,cat34ts02 + - st,stts2002 + - st,stts2004 + - st,stts3000 + - st,stts424 + - st,stts424e + - const: jedec,jc-42.4-temp + + reg: + maxItems: 1 + + smbus-timeout-disable: + description: | + When set, the smbus timeout function will be disabled. This is not + supported on all chips. + type: boolean + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + temp-sensor@1a { + compatible = "jedec,jc-42.4-temp"; + reg = <0x1a>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/maxim,max6650.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/maxim,max6650.yaml index 41f606f2fc..2c26104a5e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/maxim,max6650.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/maxim,max6650.yaml @@ -1,70 +1,70 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- - -$id: http://devicetree.org/schemas/hwmon/maxim,max6650.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Maxim MAX6650 and MAX6651 I2C Fan Controllers - -maintainers: - - Javier Carrasco - -description: | - The MAX6650 and MAX6651 regulate and monitor the speed - of 5VDC/12VDC burshless fans with built-in tachometers. - - Datasheets: - https://datasheets.maximintegrated.com/en/ds/MAX6650-MAX6651.pdf - -properties: - compatible: - enum: - - maxim,max6650 - - maxim,max6651 - - reg: - maxItems: 1 - - maxim,fan-microvolt: - description: - The supply voltage of the fan, either 5000000 uV or - 12000000 uV. - enum: [5000000, 12000000] - - maxim,fan-prescale: - description: - Pre-scaling value, as per datasheet. Lower values - allow more fine-grained control of slower fans. - $ref: /schemas/types.yaml#/definitions/uint32 - enum: [1, 2, 4, 8, 16] - - maxim,fan-target-rpm: - description: - Initial requested fan rotation speed. If specified, the - driver selects closed-loop mode and the requested speed. - This ensures the fan is already running before userspace - takes over. - $ref: /schemas/types.yaml#/definitions/uint32 - maximum: 30000 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - fan-controller@1b { - compatible = "maxim,max6650"; - reg = <0x1b>; - maxim,fan-microvolt = <12000000>; - maxim,fan-prescale = <4>; - maxim,fan-target-rpm = <1200>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- + +$id: http://devicetree.org/schemas/hwmon/maxim,max6650.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Maxim MAX6650 and MAX6651 I2C Fan Controllers + +maintainers: + - Javier Carrasco + +description: | + The MAX6650 and MAX6651 regulate and monitor the speed + of 5VDC/12VDC burshless fans with built-in tachometers. + + Datasheets: + https://datasheets.maximintegrated.com/en/ds/MAX6650-MAX6651.pdf + +properties: + compatible: + enum: + - maxim,max6650 + - maxim,max6651 + + reg: + maxItems: 1 + + maxim,fan-microvolt: + description: + The supply voltage of the fan, either 5000000 uV or + 12000000 uV. + enum: [5000000, 12000000] + + maxim,fan-prescale: + description: + Pre-scaling value, as per datasheet. Lower values + allow more fine-grained control of slower fans. + $ref: /schemas/types.yaml#/definitions/uint32 + enum: [1, 2, 4, 8, 16] + + maxim,fan-target-rpm: + description: + Initial requested fan rotation speed. If specified, the + driver selects closed-loop mode and the requested speed. + This ensures the fan is already running before userspace + takes over. + $ref: /schemas/types.yaml#/definitions/uint32 + maximum: 30000 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + fan-controller@1b { + compatible = "maxim,max6650"; + reg = <0x1b>; + maxim,fan-microvolt = <12000000>; + maxim,fan-prescale = <4>; + maxim,fan-target-rpm = <1200>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/pmbus/infineon,tda38640.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/pmbus/infineon,tda38640.yaml index 23cc86cc19..5c4e52b472 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/pmbus/infineon,tda38640.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/pmbus/infineon,tda38640.yaml @@ -1,77 +1,77 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- - -$id: http://devicetree.org/schemas/hwmon/pmbus/infineon,tda38640.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Infineon TDA38640 Synchronous Buck Regulator with SVID and I2C - -maintainers: - - Naresh Solanki - -description: | - The Infineon TDA38640 is a 40A Single-voltage Synchronous Buck - Regulator with SVID and I2C designed for Industrial use. - - Datasheet: https://www.infineon.com/dgdl/Infineon-TDA38640-0000-DataSheet-v02_04-EN.pdf?fileId=8ac78c8c80027ecd018042f2337f00c9 - -properties: - compatible: - enum: - - infineon,tda38640 - - reg: - maxItems: 1 - - infineon,en-pin-fixed-level: - description: - Indicates that the chip EN pin is at fixed level or left - unconnected(has internal pull-down). - type: boolean - - interrupts: - maxItems: 1 - - regulators: - type: object - description: - list of regulators provided by this controller. - - properties: - vout: - $ref: /schemas/regulator/regulator.yaml# - type: object - - unevaluatedProperties: false - - additionalProperties: false - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - #include - i2c { - #address-cells = <1>; - #size-cells = <0>; - - tda38640@40 { - compatible = "infineon,tda38640"; - reg = <0x40>; - - interrupt-parent = <&smb_pex_cpu0_event>; - interrupts = <10 IRQ_TYPE_LEVEL_LOW>; - - regulators { - pvnn_main_cpu0: vout { - regulator-name = "pvnn_main_cpu0"; - regulator-enable-ramp-delay = <200>; - }; - }; - }; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- + +$id: http://devicetree.org/schemas/hwmon/pmbus/infineon,tda38640.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Infineon TDA38640 Synchronous Buck Regulator with SVID and I2C + +maintainers: + - Naresh Solanki + +description: | + The Infineon TDA38640 is a 40A Single-voltage Synchronous Buck + Regulator with SVID and I2C designed for Industrial use. + + Datasheet: https://www.infineon.com/dgdl/Infineon-TDA38640-0000-DataSheet-v02_04-EN.pdf?fileId=8ac78c8c80027ecd018042f2337f00c9 + +properties: + compatible: + enum: + - infineon,tda38640 + + reg: + maxItems: 1 + + infineon,en-pin-fixed-level: + description: + Indicates that the chip EN pin is at fixed level or left + unconnected(has internal pull-down). + type: boolean + + interrupts: + maxItems: 1 + + regulators: + type: object + description: + list of regulators provided by this controller. + + properties: + vout: + $ref: /schemas/regulator/regulator.yaml# + type: object + + unevaluatedProperties: false + + additionalProperties: false + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + #include + i2c { + #address-cells = <1>; + #size-cells = <0>; + + tda38640@40 { + compatible = "infineon,tda38640"; + reg = <0x40>; + + interrupt-parent = <&smb_pex_cpu0_event>; + interrupts = <10 IRQ_TYPE_LEVEL_LOW>; + + regulators { + pvnn_main_cpu0: vout { + regulator-name = "pvnn_main_cpu0"; + regulator-enable-ramp-delay = <200>; + }; + }; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/pmbus/ti,lm25066.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/pmbus/ti,lm25066.yaml index 7040f4daec..a20f140dc7 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/pmbus/ti,lm25066.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/pmbus/ti,lm25066.yaml @@ -1,69 +1,69 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- - -$id: http://devicetree.org/schemas/hwmon/pmbus/ti,lm25066.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: National Semiconductor/Texas Instruments LM250x6/LM506x power-management ICs - -maintainers: - - Zev Weiss - -description: | - The LM25066 family of power-management ICs (a.k.a. hot-swap - controllers or eFuses in various contexts) are PMBus devices that - offer temperature, current, voltage, and power monitoring. - - Datasheet: https://www.ti.com/lit/ds/symlink/lm25066.pdf - -properties: - compatible: - enum: - - ti,lm25056 - - ti,lm25066 - - ti,lm5064 - - ti,lm5066 - - ti,lm5066i - - reg: - maxItems: 1 - - shunt-resistor-micro-ohms: - description: - Shunt (sense) resistor value in micro-Ohms - default: 1000 - - regulators: - type: object - - properties: - vout: - $ref: /schemas/regulator/regulator.yaml# - type: object - - unevaluatedProperties: false - - additionalProperties: false - -required: - - compatible - - reg - -allOf: - - $ref: /schemas/hwmon/hwmon-common.yaml# - -unevaluatedProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - pmic@40 { - compatible = "ti,lm25066"; - reg = <0x40>; - shunt-resistor-micro-ohms = <675>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- + +$id: http://devicetree.org/schemas/hwmon/pmbus/ti,lm25066.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: National Semiconductor/Texas Instruments LM250x6/LM506x power-management ICs + +maintainers: + - Zev Weiss + +description: | + The LM25066 family of power-management ICs (a.k.a. hot-swap + controllers or eFuses in various contexts) are PMBus devices that + offer temperature, current, voltage, and power monitoring. + + Datasheet: https://www.ti.com/lit/ds/symlink/lm25066.pdf + +properties: + compatible: + enum: + - ti,lm25056 + - ti,lm25066 + - ti,lm5064 + - ti,lm5066 + - ti,lm5066i + + reg: + maxItems: 1 + + shunt-resistor-micro-ohms: + description: + Shunt (sense) resistor value in micro-Ohms + default: 1000 + + regulators: + type: object + + properties: + vout: + $ref: /schemas/regulator/regulator.yaml# + type: object + + unevaluatedProperties: false + + additionalProperties: false + +required: + - compatible + - reg + +allOf: + - $ref: /schemas/hwmon/hwmon-common.yaml# + +unevaluatedProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + pmic@40 { + compatible = "ti,lm25066"; + reg = <0x40>; + shunt-resistor-micro-ohms = <675>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/sensirion,shtc1.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/sensirion,shtc1.yaml index d11d24b336..3d14d5fc96 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/sensirion,shtc1.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/sensirion,shtc1.yaml @@ -1,61 +1,61 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/hwmon/sensirion,shtc1.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Sensirion SHTC1 Humidity and Temperature Sensor IC - -maintainers: - - Christopher Ruehl chris.ruehl@gtsys.com.hk - -description: | - The SHTC1, SHTW1 and SHTC3 are digital humidity and temperature sensors - designed especially for battery-driven high-volume consumer electronics - applications. - For further information refer to Documentation/hwmon/shtc1.rst - - This binding document describes the binding for the hardware monitor - portion of the driver. - -properties: - compatible: - enum: - - sensirion,shtc1 - - sensirion,shtw1 - - sensirion,shtc3 - - reg: - const: 0x70 - - sensirion,blocking-io: - $ref: /schemas/types.yaml#/definitions/flag - description: - If set, the driver holds the i2c bus until the measurement is finished. - - sensirion,low-precision: - $ref: /schemas/types.yaml#/definitions/flag - description: - If set, the sensor acquires data with low precision (not recommended). - The driver acquires data with high precision by default. - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - clock-frequency = <400000>; - - shtc3@70 { - compatible = "sensirion,shtc3"; - reg = <0x70>; - sensirion,blocking-io; - }; - }; -... +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/hwmon/sensirion,shtc1.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Sensirion SHTC1 Humidity and Temperature Sensor IC + +maintainers: + - Christopher Ruehl chris.ruehl@gtsys.com.hk + +description: | + The SHTC1, SHTW1 and SHTC3 are digital humidity and temperature sensors + designed especially for battery-driven high-volume consumer electronics + applications. + For further information refer to Documentation/hwmon/shtc1.rst + + This binding document describes the binding for the hardware monitor + portion of the driver. + +properties: + compatible: + enum: + - sensirion,shtc1 + - sensirion,shtw1 + - sensirion,shtc3 + + reg: + const: 0x70 + + sensirion,blocking-io: + $ref: /schemas/types.yaml#/definitions/flag + description: + If set, the driver holds the i2c bus until the measurement is finished. + + sensirion,low-precision: + $ref: /schemas/types.yaml#/definitions/flag + description: + If set, the sensor acquires data with low precision (not recommended). + The driver acquires data with high precision by default. + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + clock-frequency = <400000>; + + shtc3@70 { + compatible = "sensirion,shtc3"; + reg = <0x70>; + sensirion,blocking-io; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/starfive,jh71x0-temp.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/starfive,jh71x0-temp.yaml index 1b6453a967..733cba7801 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/starfive,jh71x0-temp.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/starfive,jh71x0-temp.yaml @@ -1,70 +1,70 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/hwmon/starfive,jh71x0-temp.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: StarFive JH71x0 Temperature Sensor - -maintainers: - - Emil Renner Berthing - -description: | - StarFive Technology Co. JH71x0 embedded temperature sensor - -properties: - compatible: - enum: - - starfive,jh7100-temp - - starfive,jh7110-temp - - reg: - maxItems: 1 - - clocks: - minItems: 2 - maxItems: 2 - - clock-names: - items: - - const: sense - - const: bus - - '#thermal-sensor-cells': - const: 0 - - resets: - minItems: 2 - maxItems: 2 - - reset-names: - items: - - const: sense - - const: bus - -required: - - compatible - - reg - - clocks - - clock-names - - resets - - reset-names - -additionalProperties: false - -examples: - - | - #include - #include - - temperature-sensor@124a0000 { - compatible = "starfive,jh7100-temp"; - reg = <0x124a0000 0x10000>; - clocks = <&clkgen JH7100_CLK_TEMP_SENSE>, - <&clkgen JH7100_CLK_TEMP_APB>; - clock-names = "sense", "bus"; - #thermal-sensor-cells = <0>; - resets = <&rstgen JH7100_RSTN_TEMP_SENSE>, - <&rstgen JH7100_RSTN_TEMP_APB>; - reset-names = "sense", "bus"; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/hwmon/starfive,jh71x0-temp.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: StarFive JH71x0 Temperature Sensor + +maintainers: + - Emil Renner Berthing + +description: | + StarFive Technology Co. JH71x0 embedded temperature sensor + +properties: + compatible: + enum: + - starfive,jh7100-temp + - starfive,jh7110-temp + + reg: + maxItems: 1 + + clocks: + minItems: 2 + maxItems: 2 + + clock-names: + items: + - const: sense + - const: bus + + '#thermal-sensor-cells': + const: 0 + + resets: + minItems: 2 + maxItems: 2 + + reset-names: + items: + - const: sense + - const: bus + +required: + - compatible + - reg + - clocks + - clock-names + - resets + - reset-names + +additionalProperties: false + +examples: + - | + #include + #include + + temperature-sensor@124a0000 { + compatible = "starfive,jh7100-temp"; + reg = <0x124a0000 0x10000>; + clocks = <&clkgen JH7100_CLK_TEMP_SENSE>, + <&clkgen JH7100_CLK_TEMP_APB>; + clock-names = "sense", "bus"; + #thermal-sensor-cells = <0>; + resets = <&rstgen JH7100_RSTN_TEMP_SENSE>, + <&rstgen JH7100_RSTN_TEMP_APB>; + reset-names = "sense", "bus"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/ti,adc128d818.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/ti,adc128d818.yaml index e372a18429..a32035409c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/ti,adc128d818.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/ti,adc128d818.yaml @@ -1,63 +1,63 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- - -$id: http://devicetree.org/schemas/hwmon/ti,adc128d818.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Texas Instruments ADC128D818 ADC System Monitor With Temperature Sensor - -maintainers: - - Javier Carrasco - -description: | - The ADC128D818 is a 12-Bit, 8-Channel Analog to Digital Converter (ADC) - with a temperature sensor and an I2C interface. - - Datasheets: - https://www.ti.com/product/ADC128D818 - -properties: - compatible: - const: ti,adc128d818 - - reg: - maxItems: 1 - - ti,mode: - $ref: /schemas/types.yaml#/definitions/uint8 - description: | - Operation mode. - Mode 0 - 7 single-ended voltage readings (IN0-IN6), 1 temperature - reading (internal). - Mode 1 - 8 single-ended voltage readings (IN0-IN7), no temperature. - Mode 2 - 4 pseudo-differential voltage readings - (IN0-IN1, IN3-IN2, IN4-IN5, IN7-IN6), 1 temperature reading (internal). - Mode 3 - 4 single-ended voltage readings (IN0-IN3), 2 pseudo-differential - voltage readings (IN4-IN5, IN7-IN6), 1 temperature reading (internal). - default: 0 - - vref-supply: - description: - The regulator to use as an external reference. If it does not exist, the - internal reference will be used. - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - adc@1d { - compatible = "ti,adc128d818"; - reg = <0x1d>; - vref-supply = <&vref>; - ti,mode = /bits/ 8 <2>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- + +$id: http://devicetree.org/schemas/hwmon/ti,adc128d818.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Texas Instruments ADC128D818 ADC System Monitor With Temperature Sensor + +maintainers: + - Javier Carrasco + +description: | + The ADC128D818 is a 12-Bit, 8-Channel Analog to Digital Converter (ADC) + with a temperature sensor and an I2C interface. + + Datasheets: + https://www.ti.com/product/ADC128D818 + +properties: + compatible: + const: ti,adc128d818 + + reg: + maxItems: 1 + + ti,mode: + $ref: /schemas/types.yaml#/definitions/uint8 + description: | + Operation mode. + Mode 0 - 7 single-ended voltage readings (IN0-IN6), 1 temperature + reading (internal). + Mode 1 - 8 single-ended voltage readings (IN0-IN7), no temperature. + Mode 2 - 4 pseudo-differential voltage readings + (IN0-IN1, IN3-IN2, IN4-IN5, IN7-IN6), 1 temperature reading (internal). + Mode 3 - 4 single-ended voltage readings (IN0-IN3), 2 pseudo-differential + voltage readings (IN4-IN5, IN7-IN6), 1 temperature reading (internal). + default: 0 + + vref-supply: + description: + The regulator to use as an external reference. If it does not exist, the + internal reference will be used. + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + adc@1d { + compatible = "ti,adc128d818"; + reg = <0x1d>; + vref-supply = <&vref>; + ti,mode = /bits/ 8 <2>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/ti,lm87.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/ti,lm87.yaml index f5ae6df7c1..f553235a73 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/ti,lm87.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/ti,lm87.yaml @@ -1,69 +1,69 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- - -$id: http://devicetree.org/schemas/hwmon/ti,lm87.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Texas Instruments LM87 Hardware Monitor - -maintainers: - - Javier Carrasco - -description: | - The LM87 is a serial interface system hardware monitor - with remote diode temperature sensing. - - Datasheets: - https://www.ti.com/product/LM87 - -properties: - compatible: - const: ti,lm87 - - reg: - maxItems: 1 - - has-temp3: - $ref: /schemas/types.yaml#/definitions/flag - description: - This configures pins 18 and 19 to be used as a second - remote temperature sensing channel. By default the pins - are configured as voltage input pins in0 and in5. - - has-in6: - $ref: /schemas/types.yaml#/definitions/flag - description: - When set, pin 5 is configured to be used as voltage input - in6. Otherwise the pin is set as FAN1 input. - - has-in7: - $ref: /schemas/types.yaml#/definitions/flag - description: - When set, pin 6 is configured to be used as voltage input - in7. Otherwise the pin is set as FAN2 input. - - vcc-supply: - description: - Regulator supplying power, can be configured to measure - 5.0V power supply. Default is 3.3V. - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - hwmon@2e { - compatible = "ti,lm87"; - reg = <0x2e>; - has-temp3; - vcc-supply = <®_5v0>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- + +$id: http://devicetree.org/schemas/hwmon/ti,lm87.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Texas Instruments LM87 Hardware Monitor + +maintainers: + - Javier Carrasco + +description: | + The LM87 is a serial interface system hardware monitor + with remote diode temperature sensing. + + Datasheets: + https://www.ti.com/product/LM87 + +properties: + compatible: + const: ti,lm87 + + reg: + maxItems: 1 + + has-temp3: + $ref: /schemas/types.yaml#/definitions/flag + description: + This configures pins 18 and 19 to be used as a second + remote temperature sensing channel. By default the pins + are configured as voltage input pins in0 and in5. + + has-in6: + $ref: /schemas/types.yaml#/definitions/flag + description: + When set, pin 5 is configured to be used as voltage input + in6. Otherwise the pin is set as FAN1 input. + + has-in7: + $ref: /schemas/types.yaml#/definitions/flag + description: + When set, pin 6 is configured to be used as voltage input + in7. Otherwise the pin is set as FAN2 input. + + vcc-supply: + description: + Regulator supplying power, can be configured to measure + 5.0V power supply. Default is 3.3V. + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + hwmon@2e { + compatible = "ti,lm87"; + reg = <0x2e>; + has-temp3; + vcc-supply = <®_5v0>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/apple,i2c.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/apple,i2c.yaml index 306aa13571..077d2a539c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/apple,i2c.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/apple,i2c.yaml @@ -1,67 +1,67 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/i2c/apple,i2c.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Apple/PASemi I2C controller - -maintainers: - - Sven Peter - -description: | - Apple SoCs such as the M1 come with a I2C controller based on the one found - in machines with P. A. Semi's PWRficient processors. - The bus is used to communicate with e.g. USB PD chips or the speaker - amp. - -allOf: - - $ref: /schemas/i2c/i2c-controller.yaml# - -properties: - compatible: - items: - - enum: - - apple,t8103-i2c - - apple,t8112-i2c - - apple,t6000-i2c - - const: apple,i2c - - reg: - maxItems: 1 - - clocks: - items: - - description: I2C bus reference clock - - interrupts: - maxItems: 1 - - clock-frequency: - description: | - Desired I2C bus clock frequency in Hz. If not specified, 100 kHz will be - used. This frequency is generated by dividing the reference clock. - Allowed values are between ref_clk/(16*4) and ref_clk/(16*255). - - power-domains: - maxItems: 1 - -required: - - compatible - - reg - - clocks - - interrupts - -unevaluatedProperties: false - -examples: - - | - i2c@35010000 { - compatible = "apple,t8103-i2c", "apple,i2c"; - reg = <0x35010000 0x4000>; - interrupt-parent = <&aic>; - interrupts = <0 627 4>; - clocks = <&ref_clk>; - #address-cells = <1>; - #size-cells = <0>; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/i2c/apple,i2c.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Apple/PASemi I2C controller + +maintainers: + - Sven Peter + +description: | + Apple SoCs such as the M1 come with a I2C controller based on the one found + in machines with P. A. Semi's PWRficient processors. + The bus is used to communicate with e.g. USB PD chips or the speaker + amp. + +allOf: + - $ref: /schemas/i2c/i2c-controller.yaml# + +properties: + compatible: + items: + - enum: + - apple,t8103-i2c + - apple,t8112-i2c + - apple,t6000-i2c + - const: apple,i2c + + reg: + maxItems: 1 + + clocks: + items: + - description: I2C bus reference clock + + interrupts: + maxItems: 1 + + clock-frequency: + description: | + Desired I2C bus clock frequency in Hz. If not specified, 100 kHz will be + used. This frequency is generated by dividing the reference clock. + Allowed values are between ref_clk/(16*4) and ref_clk/(16*255). + + power-domains: + maxItems: 1 + +required: + - compatible + - reg + - clocks + - interrupts + +unevaluatedProperties: false + +examples: + - | + i2c@35010000 { + compatible = "apple,t8103-i2c", "apple,i2c"; + reg = <0x35010000 0x4000>; + interrupt-parent = <&aic>; + interrupts = <0 627 4>; + clocks = <&ref_clk>; + #address-cells = <1>; + #size-cells = <0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/aspeed,i2c.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/aspeed,i2c.yaml index 3435d76ad9..5b9bd2feda 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/aspeed,i2c.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/aspeed,i2c.yaml @@ -1,68 +1,68 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/i2c/aspeed,i2c.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: ASPEED I2C on the AST24XX, AST25XX, and AST26XX SoCs - -maintainers: - - Rayn Chen - -allOf: - - $ref: /schemas/i2c/i2c-controller.yaml# - -properties: - compatible: - enum: - - aspeed,ast2400-i2c-bus - - aspeed,ast2500-i2c-bus - - aspeed,ast2600-i2c-bus - - reg: - minItems: 1 - items: - - description: address offset and range of bus - - description: address offset and range of bus buffer - - interrupts: - maxItems: 1 - - clocks: - maxItems: 1 - description: - root clock of bus, should reference the APB - clock in the second cell - - resets: - maxItems: 1 - - bus-frequency: - minimum: 500 - maximum: 4000000 - default: 100000 - description: frequency of the bus clock in Hz defaults to 100 kHz when not - specified - -required: - - reg - - compatible - - clocks - - resets - -unevaluatedProperties: false - -examples: - - | - #include - i2c@40 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "aspeed,ast2500-i2c-bus"; - reg = <0x40 0x40>; - clocks = <&syscon ASPEED_CLK_APB>; - resets = <&syscon ASPEED_RESET_I2C>; - bus-frequency = <100000>; - interrupts = <0>; - interrupt-parent = <&i2c_ic>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/i2c/aspeed,i2c.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ASPEED I2C on the AST24XX, AST25XX, and AST26XX SoCs + +maintainers: + - Rayn Chen + +allOf: + - $ref: /schemas/i2c/i2c-controller.yaml# + +properties: + compatible: + enum: + - aspeed,ast2400-i2c-bus + - aspeed,ast2500-i2c-bus + - aspeed,ast2600-i2c-bus + + reg: + minItems: 1 + items: + - description: address offset and range of bus + - description: address offset and range of bus buffer + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + description: + root clock of bus, should reference the APB + clock in the second cell + + resets: + maxItems: 1 + + bus-frequency: + minimum: 500 + maximum: 4000000 + default: 100000 + description: frequency of the bus clock in Hz defaults to 100 kHz when not + specified + +required: + - reg + - compatible + - clocks + - resets + +unevaluatedProperties: false + +examples: + - | + #include + i2c@40 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "aspeed,ast2500-i2c-bus"; + reg = <0x40 0x40>; + clocks = <&syscon ASPEED_CLK_APB>; + resets = <&syscon ASPEED_RESET_I2C>; + bus-frequency = <100000>; + interrupts = <0>; + interrupt-parent = <&i2c_ic>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/brcm,brcmstb-i2c.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/brcm,brcmstb-i2c.yaml index 6bb330e4aa..ac9ddf228c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/brcm,brcmstb-i2c.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/brcm,brcmstb-i2c.yaml @@ -1,96 +1,96 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/i2c/brcm,brcmstb-i2c.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Broadcom STB BSC IIC Master Controller - -maintainers: - - Kamal Dasu - -allOf: - - $ref: /schemas/i2c/i2c-controller.yaml# - -properties: - compatible: - enum: - - brcm,bcm2711-hdmi-i2c - - brcm,brcmstb-i2c - - brcm,brcmper-i2c - - reg: - minItems: 1 - items: - - description: BSC register range - - description: Auto-I2C register range - - reg-names: - items: - - const: bsc - - const: auto-i2c - - interrupts: - maxItems: 1 - - interrupt-names: - maxItems: 1 - - clock-frequency: - enum: - - 46875 - - 50000 - - 93750 - - 97500 - - 187500 - - 200000 - - 375000 - - 390000 - -required: - - compatible - - reg - - clock-frequency - -unevaluatedProperties: false - -if: - properties: - compatible: - contains: - enum: - - brcm,bcm2711-hdmi-i2c - -then: - properties: - reg: - minItems: 2 - - required: - - reg-names - -else: - properties: - reg: - maxItems: 1 - -examples: - - | - bsca: i2c@f0406200 { - compatible = "brcm,brcmstb-i2c"; - reg = <0xf0406200 0x58>; - clock-frequency = <390000>; - interrupt-parent = <&irq0_intc>; - interrupts = <0x18>; - interrupt-names = "upg_bsca"; - }; - - - | - ddc0: i2c@7ef04500 { - compatible = "brcm,bcm2711-hdmi-i2c"; - reg = <0x7ef04500 0x100>, <0x7ef00b00 0x300>; - reg-names = "bsc", "auto-i2c"; - clock-frequency = <390000>; - }; - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/i2c/brcm,brcmstb-i2c.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom STB BSC IIC Master Controller + +maintainers: + - Kamal Dasu + +allOf: + - $ref: /schemas/i2c/i2c-controller.yaml# + +properties: + compatible: + enum: + - brcm,bcm2711-hdmi-i2c + - brcm,brcmstb-i2c + - brcm,brcmper-i2c + + reg: + minItems: 1 + items: + - description: BSC register range + - description: Auto-I2C register range + + reg-names: + items: + - const: bsc + - const: auto-i2c + + interrupts: + maxItems: 1 + + interrupt-names: + maxItems: 1 + + clock-frequency: + enum: + - 46875 + - 50000 + - 93750 + - 97500 + - 187500 + - 200000 + - 375000 + - 390000 + +required: + - compatible + - reg + - clock-frequency + +unevaluatedProperties: false + +if: + properties: + compatible: + contains: + enum: + - brcm,bcm2711-hdmi-i2c + +then: + properties: + reg: + minItems: 2 + + required: + - reg-names + +else: + properties: + reg: + maxItems: 1 + +examples: + - | + bsca: i2c@f0406200 { + compatible = "brcm,brcmstb-i2c"; + reg = <0xf0406200 0x58>; + clock-frequency = <390000>; + interrupt-parent = <&irq0_intc>; + interrupts = <0x18>; + interrupt-names = "upg_bsca"; + }; + + - | + ddc0: i2c@7ef04500 { + compatible = "brcm,bcm2711-hdmi-i2c"; + reg = <0x7ef04500 0x100>, <0x7ef00b00 0x300>; + reg-names = "bsc", "auto-i2c"; + clock-frequency = <390000>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/brcm,iproc-i2c.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/brcm,iproc-i2c.yaml index 493164a3dd..2aa75b7add 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/brcm,iproc-i2c.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/brcm,iproc-i2c.yaml @@ -1,71 +1,71 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/i2c/brcm,iproc-i2c.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Broadcom iProc I2C controller - -maintainers: - - Rafał Miłecki - -properties: - compatible: - enum: - - brcm,iproc-i2c - - brcm,iproc-nic-i2c - - reg: - maxItems: 1 - - clock-frequency: - enum: [ 100000, 400000 ] - - interrupts: - description: | - Should contain the I2C interrupt. For certain revisions of the I2C - controller, I2C interrupt is unwired to the interrupt controller. In such - case, this property should be left unspecified, and driver will fall back - to polling mode - maxItems: 1 - - brcm,ape-hsls-addr-mask: - $ref: /schemas/types.yaml#/definitions/uint32 - description: Host view of address mask into the 'APE' co-processor - -allOf: - - $ref: /schemas/i2c/i2c-controller.yaml# - - if: - properties: - compatible: - contains: - const: brcm,iproc-nic-i2c - then: - required: - - brcm,ape-hsls-addr-mask - -unevaluatedProperties: false - -required: - - reg - - clock-frequency - - '#address-cells' - - '#size-cells' - -examples: - - | - #include - - i2c@18008000 { - compatible = "brcm,iproc-i2c"; - reg = <0x18008000 0x100>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = ; - clock-frequency = <100000>; - - wm8750@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/i2c/brcm,iproc-i2c.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom iProc I2C controller + +maintainers: + - Rafał Miłecki + +properties: + compatible: + enum: + - brcm,iproc-i2c + - brcm,iproc-nic-i2c + + reg: + maxItems: 1 + + clock-frequency: + enum: [ 100000, 400000 ] + + interrupts: + description: | + Should contain the I2C interrupt. For certain revisions of the I2C + controller, I2C interrupt is unwired to the interrupt controller. In such + case, this property should be left unspecified, and driver will fall back + to polling mode + maxItems: 1 + + brcm,ape-hsls-addr-mask: + $ref: /schemas/types.yaml#/definitions/uint32 + description: Host view of address mask into the 'APE' co-processor + +allOf: + - $ref: /schemas/i2c/i2c-controller.yaml# + - if: + properties: + compatible: + contains: + const: brcm,iproc-nic-i2c + then: + required: + - brcm,ape-hsls-addr-mask + +unevaluatedProperties: false + +required: + - reg + - clock-frequency + - '#address-cells' + - '#size-cells' + +examples: + - | + #include + + i2c@18008000 { + compatible = "brcm,iproc-i2c"; + reg = <0x18008000 0x100>; + #address-cells = <1>; + #size-cells = <0>; + interrupts = ; + clock-frequency = <100000>; + + wm8750@1a { + compatible = "wlf,wm8750"; + reg = <0x1a>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/cdns,i2c-r1p10.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/cdns,i2c-r1p10.yaml index 0077159b4e..9f1d35ce1f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/cdns,i2c-r1p10.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/cdns,i2c-r1p10.yaml @@ -1,75 +1,75 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/i2c/cdns,i2c-r1p10.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Cadence I2C controller - -maintainers: - - Michal Simek - -allOf: - - $ref: /schemas/i2c/i2c-controller.yaml# - -properties: - compatible: - enum: - - cdns,i2c-r1p10 # cadence i2c controller version 1.0 - - cdns,i2c-r1p14 # cadence i2c controller version 1.4 - - reg: - maxItems: 1 - - clocks: - minItems: 1 - - resets: - maxItems: 1 - - interrupts: - maxItems: 1 - - clock-frequency: - minimum: 1 - maximum: 400000 - description: | - Desired operating frequency, in Hz, of the bus. - - clock-name: - const: pclk - description: | - Input clock name. - - fifo-depth: - description: - Size of the data FIFO in bytes. - $ref: /schemas/types.yaml#/definitions/uint32 - default: 16 - enum: [2, 4, 8, 16, 32, 64, 128, 256] - - power-domains: - maxItems: 1 - -required: - - compatible - - reg - - clocks - - interrupts - -unevaluatedProperties: false - -examples: - - | - #include - i2c@e0004000 { - compatible = "cdns,i2c-r1p10"; - clocks = <&clkc 38>; - resets = <&rstc 288>; - interrupts = ; - reg = <0xe0004000 0x1000>; - clock-frequency = <400000>; - #address-cells = <1>; - #size-cells = <0>; - fifo-depth = <8>; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/i2c/cdns,i2c-r1p10.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Cadence I2C controller + +maintainers: + - Michal Simek + +allOf: + - $ref: /schemas/i2c/i2c-controller.yaml# + +properties: + compatible: + enum: + - cdns,i2c-r1p10 # cadence i2c controller version 1.0 + - cdns,i2c-r1p14 # cadence i2c controller version 1.4 + + reg: + maxItems: 1 + + clocks: + minItems: 1 + + resets: + maxItems: 1 + + interrupts: + maxItems: 1 + + clock-frequency: + minimum: 1 + maximum: 400000 + description: | + Desired operating frequency, in Hz, of the bus. + + clock-name: + const: pclk + description: | + Input clock name. + + fifo-depth: + description: + Size of the data FIFO in bytes. + $ref: /schemas/types.yaml#/definitions/uint32 + default: 16 + enum: [2, 4, 8, 16, 32, 64, 128, 256] + + power-domains: + maxItems: 1 + +required: + - compatible + - reg + - clocks + - interrupts + +unevaluatedProperties: false + +examples: + - | + #include + i2c@e0004000 { + compatible = "cdns,i2c-r1p10"; + clocks = <&clkc 38>; + resets = <&rstc 288>; + interrupts = ; + reg = <0xe0004000 0x1000>; + clock-frequency = <400000>; + #address-cells = <1>; + #size-cells = <0>; + fifo-depth = <8>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/google,cros-ec-i2c-tunnel.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/google,cros-ec-i2c-tunnel.yaml index fc78d096c3..580003cdff 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/google,cros-ec-i2c-tunnel.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/google,cros-ec-i2c-tunnel.yaml @@ -1,66 +1,66 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- - -$id: http://devicetree.org/schemas/i2c/google,cros-ec-i2c-tunnel.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: I2C bus that tunnels through the ChromeOS EC (cros-ec) - -maintainers: - - Doug Anderson - - Benson Leung - -description: | - On some ChromeOS board designs we've got a connection to the EC - (embedded controller) but no direct connection to some devices on the - other side of the EC (like a battery and PMIC). To get access to - those devices we need to tunnel our i2c commands through the EC. - - The node for this device should be under a cros-ec node like - google,cros-ec-spi or google,cros-ec-i2c. - -allOf: - - $ref: /schemas/i2c/i2c-controller.yaml# - -properties: - compatible: - const: google,cros-ec-i2c-tunnel - - google,remote-bus: - description: The EC bus we'd like to talk to. - $ref: /schemas/types.yaml#/definitions/uint32 - -required: - - compatible - - google,remote-bus - -unevaluatedProperties: false - -examples: - - | - spi { - #address-cells = <1>; - #size-cells = <0>; - - cros-ec@0 { - compatible = "google,cros-ec-spi"; - reg = <0>; - spi-max-frequency = <5000000>; - interrupts = <99 0>; - - i2c-tunnel { - compatible = "google,cros-ec-i2c-tunnel"; - #address-cells = <1>; - #size-cells = <0>; - - google,remote-bus = <0>; - - battery: sbs-battery@b { - compatible = "sbs,sbs-battery"; - reg = <0xb>; - sbs,poll-retry-count = <1>; - }; - }; - }; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- + +$id: http://devicetree.org/schemas/i2c/google,cros-ec-i2c-tunnel.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: I2C bus that tunnels through the ChromeOS EC (cros-ec) + +maintainers: + - Doug Anderson + - Benson Leung + +description: | + On some ChromeOS board designs we've got a connection to the EC + (embedded controller) but no direct connection to some devices on the + other side of the EC (like a battery and PMIC). To get access to + those devices we need to tunnel our i2c commands through the EC. + + The node for this device should be under a cros-ec node like + google,cros-ec-spi or google,cros-ec-i2c. + +allOf: + - $ref: /schemas/i2c/i2c-controller.yaml# + +properties: + compatible: + const: google,cros-ec-i2c-tunnel + + google,remote-bus: + description: The EC bus we'd like to talk to. + $ref: /schemas/types.yaml#/definitions/uint32 + +required: + - compatible + - google,remote-bus + +unevaluatedProperties: false + +examples: + - | + spi { + #address-cells = <1>; + #size-cells = <0>; + + cros-ec@0 { + compatible = "google,cros-ec-spi"; + reg = <0>; + spi-max-frequency = <5000000>; + interrupts = <99 0>; + + i2c-tunnel { + compatible = "google,cros-ec-i2c-tunnel"; + #address-cells = <1>; + #size-cells = <0>; + + google,remote-bus = <0>; + + battery: sbs-battery@b { + compatible = "sbs,sbs-battery"; + reg = <0xb>; + sbs,poll-retry-count = <1>; + }; + }; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/hisilicon,ascend910-i2c.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/hisilicon,ascend910-i2c.yaml index e95ebd26b9..7d7a8de7bc 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/hisilicon,ascend910-i2c.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/hisilicon,ascend910-i2c.yaml @@ -1,73 +1,73 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/i2c/hisilicon,ascend910-i2c.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: HiSilicon common I2C controller - -maintainers: - - Yicong Yang - -description: - The HiSilicon common I2C controller can be used for many different - types of SoC such as Huawei Ascend AI series chips. - -allOf: - - $ref: /schemas/i2c/i2c-controller.yaml# - -properties: - compatible: - const: hisilicon,ascend910-i2c - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - maxItems: 1 - - clock-frequency: - default: 400000 - - i2c-sda-falling-time-ns: - default: 343 - - i2c-scl-falling-time-ns: - default: 203 - - i2c-sda-hold-time-ns: - default: 830 - - i2c-scl-rising-time-ns: - default: 365 - - i2c-digital-filter-width-ns: - default: 0 - -required: - - compatible - - reg - - interrupts - -unevaluatedProperties: false - -examples: - - | - #include - - i2c@38b0000 { - compatible = "hisilicon,ascend910-i2c"; - reg = <0x38b0000 0x10000>; - interrupts = ; - i2c-sda-falling-time-ns = <56>; - i2c-scl-falling-time-ns = <56>; - i2c-sda-hold-time-ns = <56>; - i2c-scl-rising-time-ns = <56>; - i2c-digital-filter; - i2c-digital-filter-width-ns = <0x0>; - clocks = <&alg_clk>; - clock-frequency = <400000>; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/i2c/hisilicon,ascend910-i2c.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: HiSilicon common I2C controller + +maintainers: + - Yicong Yang + +description: + The HiSilicon common I2C controller can be used for many different + types of SoC such as Huawei Ascend AI series chips. + +allOf: + - $ref: /schemas/i2c/i2c-controller.yaml# + +properties: + compatible: + const: hisilicon,ascend910-i2c + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + + clock-frequency: + default: 400000 + + i2c-sda-falling-time-ns: + default: 343 + + i2c-scl-falling-time-ns: + default: 203 + + i2c-sda-hold-time-ns: + default: 830 + + i2c-scl-rising-time-ns: + default: 365 + + i2c-digital-filter-width-ns: + default: 0 + +required: + - compatible + - reg + - interrupts + +unevaluatedProperties: false + +examples: + - | + #include + + i2c@38b0000 { + compatible = "hisilicon,ascend910-i2c"; + reg = <0x38b0000 0x10000>; + interrupts = ; + i2c-sda-falling-time-ns = <56>; + i2c-scl-falling-time-ns = <56>; + i2c-sda-hold-time-ns = <56>; + i2c-scl-rising-time-ns = <56>; + i2c-digital-filter; + i2c-digital-filter-width-ns = <0x0>; + clocks = <&alg_clk>; + clock-frequency = <400000>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/i2c-atr.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/i2c-atr.yaml index db6890c2b1..1939ab339b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/i2c-atr.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/i2c-atr.yaml @@ -1,34 +1,34 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/i2c/i2c-atr.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Common i2c address translator properties - -maintainers: - - Tomi Valkeinen - -description: - An I2C Address Translator (ATR) is a device with an I2C slave parent - ("upstream") port and N I2C master child ("downstream") ports, and - forwards transactions from upstream to the appropriate downstream port - with a modified slave address. The address used on the parent bus is - called the "alias" and is (potentially) different from the physical - slave address of the child bus. Address translation is done by the - hardware. - -properties: - i2c-alias-pool: - $ref: /schemas/types.yaml#/definitions/uint32-array - description: - I2C alias pool is a pool of I2C addresses on the main I2C bus that can be - used to access the remote peripherals on the serializer's I2C bus. The - addresses must be available, not used by any other peripheral. Each - remote peripheral is assigned an alias from the pool, and transactions to - that address will be forwarded to the remote peripheral, with the address - translated to the remote peripheral's real address. This property is not - needed if there are no I2C addressable remote peripherals. - -additionalProperties: true -... +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/i2c/i2c-atr.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Common i2c address translator properties + +maintainers: + - Tomi Valkeinen + +description: + An I2C Address Translator (ATR) is a device with an I2C slave parent + ("upstream") port and N I2C master child ("downstream") ports, and + forwards transactions from upstream to the appropriate downstream port + with a modified slave address. The address used on the parent bus is + called the "alias" and is (potentially) different from the physical + slave address of the child bus. Address translation is done by the + hardware. + +properties: + i2c-alias-pool: + $ref: /schemas/types.yaml#/definitions/uint32-array + description: + I2C alias pool is a pool of I2C addresses on the main I2C bus that can be + used to access the remote peripherals on the serializer's I2C bus. The + addresses must be available, not used by any other peripheral. Each + remote peripheral is assigned an alias from the pool, and transactions to + that address will be forwarded to the remote peripheral, with the address + translated to the remote peripheral's real address. This property is not + needed if there are no I2C addressable remote peripherals. + +additionalProperties: true +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/i2c-davinci.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/i2c-davinci.txt index 427ce4d4d3..6590501c53 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/i2c-davinci.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/i2c-davinci.txt @@ -1,43 +1,43 @@ -* Texas Instruments Davinci/Keystone I2C - -This file provides information, what the device node for the -davinci/keystone i2c interface contains. - -Required properties: -- compatible: "ti,davinci-i2c" or "ti,keystone-i2c"; -- reg : Offset and length of the register set for the device -- clocks: I2C functional clock phandle. - For 66AK2G this property should be set per binding, - Documentation/devicetree/bindings/clock/ti,sci-clk.yaml - -SoC-specific Required Properties: - -The following are mandatory properties for Keystone 2 66AK2G SoCs only: - -- power-domains: Should contain a phandle to a PM domain provider node - and an args specifier containing the I2C device id - value. This property is as per the binding, - Documentation/devicetree/bindings/soc/ti/sci-pm-domain.yaml - -Recommended properties : -- interrupts : standard interrupt property. -- clock-frequency : desired I2C bus clock frequency in Hz. -- ti,has-pfunc: boolean; if defined, it indicates that SoC supports PFUNC - registers. PFUNC registers allow to switch I2C pins to function as - GPIOs, so they can be toggled manually. - -Example (enbw_cmc board): - i2c@1c22000 { - compatible = "ti,davinci-i2c"; - reg = <0x22000 0x1000>; - clock-frequency = <100000>; - interrupts = <15>; - interrupt-parent = <&intc>; - #address-cells = <1>; - #size-cells = <0>; - - dtt@48 { - compatible = "national,lm75"; - reg = <0x48>; - }; - }; +* Texas Instruments Davinci/Keystone I2C + +This file provides information, what the device node for the +davinci/keystone i2c interface contains. + +Required properties: +- compatible: "ti,davinci-i2c" or "ti,keystone-i2c"; +- reg : Offset and length of the register set for the device +- clocks: I2C functional clock phandle. + For 66AK2G this property should be set per binding, + Documentation/devicetree/bindings/clock/ti,sci-clk.yaml + +SoC-specific Required Properties: + +The following are mandatory properties for Keystone 2 66AK2G SoCs only: + +- power-domains: Should contain a phandle to a PM domain provider node + and an args specifier containing the I2C device id + value. This property is as per the binding, + Documentation/devicetree/bindings/soc/ti/sci-pm-domain.yaml + +Recommended properties : +- interrupts : standard interrupt property. +- clock-frequency : desired I2C bus clock frequency in Hz. +- ti,has-pfunc: boolean; if defined, it indicates that SoC supports PFUNC + registers. PFUNC registers allow to switch I2C pins to function as + GPIOs, so they can be toggled manually. + +Example (enbw_cmc board): + i2c@1c22000 { + compatible = "ti,davinci-i2c"; + reg = <0x22000 0x1000>; + clock-frequency = <100000>; + interrupts = <15>; + interrupt-parent = <&intc>; + #address-cells = <1>; + #size-cells = <0>; + + dtt@48 { + compatible = "national,lm75"; + reg = <0x48>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/i2c-imx-lpi2c.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/i2c-imx-lpi2c.yaml index 1061b45853..1dcb9c78de 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/i2c-imx-lpi2c.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/i2c-imx-lpi2c.yaml @@ -1,84 +1,84 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/i2c/i2c-imx-lpi2c.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Freescale Low Power Inter IC (LPI2C) for i.MX - -maintainers: - - Shawn Guo - - Sascha Hauer - - Fabio Estevam - -allOf: - - $ref: /schemas/i2c/i2c-controller.yaml# - -properties: - compatible: - oneOf: - - enum: - - fsl,imx7ulp-lpi2c - - items: - - enum: - - fsl,imx8qxp-lpi2c - - fsl,imx8dxl-lpi2c - - fsl,imx8qm-lpi2c - - fsl,imx8ulp-lpi2c - - fsl,imx93-lpi2c - - fsl,imx95-lpi2c - - const: fsl,imx7ulp-lpi2c - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - assigned-clock-parents: true - assigned-clock-rates: true - assigned-clocks: true - clock-frequency: true - - clock-names: - items: - - const: per - - const: ipg - - clocks: - maxItems: 2 - - dmas: - items: - - description: DMA controller phandle and request line for TX - - description: DMA controller phandle and request line for RX - - dma-names: - items: - - const: tx - - const: rx - - power-domains: - maxItems: 1 - -required: - - compatible - - reg - - interrupts - - clocks - -unevaluatedProperties: false - -examples: - - | - #include - #include - - i2c@40a50000 { - compatible = "fsl,imx7ulp-lpi2c"; - reg = <0x40A50000 0x10000>; - interrupt-parent = <&intc>; - interrupts = ; - clocks = <&clks IMX7ULP_CLK_LPI2C7>, - <&clks IMX7ULP_CLK_NIC1_BUS_DIV>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/i2c/i2c-imx-lpi2c.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Freescale Low Power Inter IC (LPI2C) for i.MX + +maintainers: + - Shawn Guo + - Sascha Hauer + - Fabio Estevam + +allOf: + - $ref: /schemas/i2c/i2c-controller.yaml# + +properties: + compatible: + oneOf: + - enum: + - fsl,imx7ulp-lpi2c + - items: + - enum: + - fsl,imx8qxp-lpi2c + - fsl,imx8dxl-lpi2c + - fsl,imx8qm-lpi2c + - fsl,imx8ulp-lpi2c + - fsl,imx93-lpi2c + - fsl,imx95-lpi2c + - const: fsl,imx7ulp-lpi2c + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + assigned-clock-parents: true + assigned-clock-rates: true + assigned-clocks: true + clock-frequency: true + + clock-names: + items: + - const: per + - const: ipg + + clocks: + maxItems: 2 + + dmas: + items: + - description: DMA controller phandle and request line for TX + - description: DMA controller phandle and request line for RX + + dma-names: + items: + - const: tx + - const: rx + + power-domains: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + - clocks + +unevaluatedProperties: false + +examples: + - | + #include + #include + + i2c@40a50000 { + compatible = "fsl,imx7ulp-lpi2c"; + reg = <0x40A50000 0x10000>; + interrupt-parent = <&intc>; + interrupts = ; + clocks = <&clks IMX7ULP_CLK_LPI2C7>, + <&clks IMX7ULP_CLK_NIC1_BUS_DIV>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/i2c-mux-ltc4306.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/i2c-mux-ltc4306.txt index 66982c96ea..29c4550c97 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/i2c-mux-ltc4306.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/i2c-mux-ltc4306.txt @@ -1,61 +1,61 @@ -* Linear Technology / Analog Devices I2C bus switch - -Required Properties: - - - compatible: Must contain one of the following. - "lltc,ltc4305", "lltc,ltc4306" - - reg: The I2C address of the device. - - The following required properties are defined externally: - - - Standard I2C mux properties. See i2c-mux.yaml in this directory. - - I2C child bus nodes. See i2c-mux.yaml in this directory. - -Optional Properties: - - - enable-gpios: Reference to the GPIO connected to the enable input. - - i2c-mux-idle-disconnect: Boolean; if defined, forces mux to disconnect all - children in idle state. This is necessary for example, if there are several - multiplexers on the bus and the devices behind them use same I2C addresses. - - 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 flags. - See ../gpio/gpio.txt for more information. - - ltc,downstream-accelerators-enable: Enables the rise time accelerators - on the downstream port. - - ltc,upstream-accelerators-enable: Enables the rise time accelerators - on the upstream port. - -Example: - - ltc4306: i2c-mux@4a { - compatible = "lltc,ltc4306"; - #address-cells = <1>; - #size-cells = <0>; - reg = <0x4a>; - - gpio-controller; - #gpio-cells = <2>; - - i2c@0 { - #address-cells = <1>; - #size-cells = <0>; - reg = <0>; - - eeprom@50 { - compatible = "atmel,24c02"; - reg = <0x50>; - }; - }; - - i2c@1 { - #address-cells = <1>; - #size-cells = <0>; - reg = <1>; - - eeprom@50 { - compatible = "atmel,24c02"; - reg = <0x50>; - }; - }; - }; +* Linear Technology / Analog Devices I2C bus switch + +Required Properties: + + - compatible: Must contain one of the following. + "lltc,ltc4305", "lltc,ltc4306" + - reg: The I2C address of the device. + + The following required properties are defined externally: + + - Standard I2C mux properties. See i2c-mux.yaml in this directory. + - I2C child bus nodes. See i2c-mux.yaml in this directory. + +Optional Properties: + + - enable-gpios: Reference to the GPIO connected to the enable input. + - i2c-mux-idle-disconnect: Boolean; if defined, forces mux to disconnect all + children in idle state. This is necessary for example, if there are several + multiplexers on the bus and the devices behind them use same I2C addresses. + - 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 flags. + See ../gpio/gpio.txt for more information. + - ltc,downstream-accelerators-enable: Enables the rise time accelerators + on the downstream port. + - ltc,upstream-accelerators-enable: Enables the rise time accelerators + on the upstream port. + +Example: + + ltc4306: i2c-mux@4a { + compatible = "lltc,ltc4306"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x4a>; + + gpio-controller; + #gpio-cells = <2>; + + i2c@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0>; + + eeprom@50 { + compatible = "atmel,24c02"; + reg = <0x50>; + }; + }; + + i2c@1 { + #address-cells = <1>; + #size-cells = <0>; + reg = <1>; + + eeprom@50 { + compatible = "atmel,24c02"; + reg = <0x50>; + }; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/i2c-owl.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/i2c-owl.yaml index 38f766dbf0..d96908badf 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/i2c-owl.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/i2c-owl.yaml @@ -1,62 +1,62 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/i2c/i2c-owl.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Actions Semi Owl I2C Controller - -maintainers: - - Manivannan Sadhasivam - -description: | - This I2C controller is found in the Actions Semi Owl SoCs: - S500, S700 and S900. - -allOf: - - $ref: /schemas/i2c/i2c-controller.yaml# - -properties: - compatible: - enum: - - actions,s500-i2c # Actions Semi S500 compatible SoCs - - actions,s700-i2c # Actions Semi S700 compatible SoCs - - actions,s900-i2c # Actions Semi S900 compatible SoCs - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - description: Phandle of the clock feeding the I2C controller. - minItems: 1 - - clock-frequency: - description: | - Desired I2C bus clock frequency in Hz. As only Standard and Fast - modes are supported, possible values are 100000 and 400000. - enum: [100000, 400000] - -required: - - compatible - - reg - - interrupts - - clocks - -unevaluatedProperties: false - -examples: - - | - #include - #include - i2c@e0170000 { - compatible = "actions,s900-i2c"; - reg = <0xe0170000 0x1000>; - interrupts = ; - clocks = <&cmu CLK_I2C0>; - clock-frequency = <100000>; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/i2c/i2c-owl.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Actions Semi Owl I2C Controller + +maintainers: + - Manivannan Sadhasivam + +description: | + This I2C controller is found in the Actions Semi Owl SoCs: + S500, S700 and S900. + +allOf: + - $ref: /schemas/i2c/i2c-controller.yaml# + +properties: + compatible: + enum: + - actions,s500-i2c # Actions Semi S500 compatible SoCs + - actions,s700-i2c # Actions Semi S700 compatible SoCs + - actions,s900-i2c # Actions Semi S900 compatible SoCs + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + description: Phandle of the clock feeding the I2C controller. + minItems: 1 + + clock-frequency: + description: | + Desired I2C bus clock frequency in Hz. As only Standard and Fast + modes are supported, possible values are 100000 and 400000. + enum: [100000, 400000] + +required: + - compatible + - reg + - interrupts + - clocks + +unevaluatedProperties: false + +examples: + - | + #include + #include + i2c@e0170000 { + compatible = "actions,s900-i2c"; + reg = <0xe0170000 0x1000>; + interrupts = ; + clocks = <&cmu CLK_I2C0>; + clock-frequency = <100000>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/i2c-pxa.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/i2c-pxa.yaml index d89ab06e0e..e89ee36174 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/i2c-pxa.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/i2c-pxa.yaml @@ -1,74 +1,74 @@ -# SPDX-License-Identifier: GPL-2.0-only -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/i2c/i2c-pxa.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Marvell MMP I2C controller - -maintainers: - - Rob Herring - -allOf: - - $ref: /schemas/i2c/i2c-controller.yaml# - - if: - not: - required: - - mrvl,i2c-polling - then: - required: - - interrupts - -properties: - compatible: - enum: - - mrvl,mmp-twsi - - mrvl,pxa-i2c - - marvell,armada-3700-i2c - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - minItems: 1 - - resets: - minItems: 1 - - mrvl,i2c-polling: - $ref: /schemas/types.yaml#/definitions/flag - description: | - Disable interrupt of i2c controller. Polling status register of i2c - controller instead. - - mrvl,i2c-fast-mode: - $ref: /schemas/types.yaml#/definitions/flag - description: Enable fast mode of i2c controller. - -unevaluatedProperties: false - -required: - - compatible - - reg - - interrupts - - clocks - - '#address-cells' - - '#size-cells' - -examples: - - | - #include - i2c@d4011000 { - compatible = "mrvl,mmp-twsi"; - reg = <0xd4011000 0x1000>; - interrupts = <7>; - clocks = <&soc_clocks MMP2_CLK_TWSI1>; - mrvl,i2c-fast-mode; - #address-cells = <1>; - #size-cells = <0>; - }; - -... +# SPDX-License-Identifier: GPL-2.0-only +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/i2c/i2c-pxa.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Marvell MMP I2C controller + +maintainers: + - Rob Herring + +allOf: + - $ref: /schemas/i2c/i2c-controller.yaml# + - if: + not: + required: + - mrvl,i2c-polling + then: + required: + - interrupts + +properties: + compatible: + enum: + - mrvl,mmp-twsi + - mrvl,pxa-i2c + - marvell,armada-3700-i2c + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + minItems: 1 + + resets: + minItems: 1 + + mrvl,i2c-polling: + $ref: /schemas/types.yaml#/definitions/flag + description: | + Disable interrupt of i2c controller. Polling status register of i2c + controller instead. + + mrvl,i2c-fast-mode: + $ref: /schemas/types.yaml#/definitions/flag + description: Enable fast mode of i2c controller. + +unevaluatedProperties: false + +required: + - compatible + - reg + - interrupts + - clocks + - '#address-cells' + - '#size-cells' + +examples: + - | + #include + i2c@d4011000 { + compatible = "mrvl,mmp-twsi"; + reg = <0xd4011000 0x1000>; + interrupts = <7>; + clocks = <&soc_clocks MMP2_CLK_TWSI1>; + mrvl,i2c-fast-mode; + #address-cells = <1>; + #size-cells = <0>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/ibm,i2c-fsi.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/ibm,i2c-fsi.yaml index 17fe9d5807..40ea82942e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/ibm,i2c-fsi.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/ibm,i2c-fsi.yaml @@ -1,76 +1,76 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/i2c/ibm,i2c-fsi.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: IBM FSI-attached I2C controller - -maintainers: - - Eddie James - -description: - This I2C controller is an FSI CFAM engine, providing access to a number of - I2C busses. Therefore this node will always be a child of an FSI CFAM node. - -properties: - compatible: - enum: - - ibm,i2c-fsi - - reg: - items: - - description: FSI slave address - - "#address-cells": - const: 1 - - "#size-cells": - const: 0 - -patternProperties: - "^i2c-bus@[0-9a-f]+$": - type: object - properties: - reg: - maxItems: 1 - - required: - - reg - - allOf: - - $ref: /schemas/i2c/i2c-controller.yaml# - - unevaluatedProperties: false - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - i2c@1800 { - compatible = "ibm,i2c-fsi"; - reg = <0x1800 0x400>; - #address-cells = <1>; - #size-cells = <0>; - - i2c-bus@0 { - reg = <0>; - #address-cells = <1>; - #size-cells = <0>; - }; - - i2c-bus@1 { - reg = <1>; - #address-cells = <1>; - #size-cells = <0>; - - eeprom@50 { - compatible = "atmel,24c64"; - reg = <0x50>; - }; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/i2c/ibm,i2c-fsi.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: IBM FSI-attached I2C controller + +maintainers: + - Eddie James + +description: + This I2C controller is an FSI CFAM engine, providing access to a number of + I2C busses. Therefore this node will always be a child of an FSI CFAM node. + +properties: + compatible: + enum: + - ibm,i2c-fsi + + reg: + items: + - description: FSI slave address + + "#address-cells": + const: 1 + + "#size-cells": + const: 0 + +patternProperties: + "^i2c-bus@[0-9a-f]+$": + type: object + properties: + reg: + maxItems: 1 + + required: + - reg + + allOf: + - $ref: /schemas/i2c/i2c-controller.yaml# + + unevaluatedProperties: false + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c@1800 { + compatible = "ibm,i2c-fsi"; + reg = <0x1800 0x400>; + #address-cells = <1>; + #size-cells = <0>; + + i2c-bus@0 { + reg = <0>; + #address-cells = <1>; + #size-cells = <0>; + }; + + i2c-bus@1 { + reg = <1>; + #address-cells = <1>; + #size-cells = <0>; + + eeprom@50 { + compatible = "atmel,24c64"; + reg = <0x50>; + }; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/renesas,rzv2m.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/renesas,rzv2m.yaml index 5d9c032fec..5d1e7885b6 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/renesas,rzv2m.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/renesas,rzv2m.yaml @@ -1,80 +1,80 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/i2c/renesas,rzv2m.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Renesas RZ/V2M I2C Bus Interface - -maintainers: - - Fabrizio Castro - -allOf: - - $ref: /schemas/i2c/i2c-controller.yaml# - -properties: - compatible: - items: - - enum: - - renesas,r9a09g011-i2c # RZ/V2M - - const: renesas,rzv2m-i2c - - reg: - maxItems: 1 - - interrupts: - items: - - description: Data transmission/reception interrupt - - description: Status interrupt - - interrupt-names: - items: - - const: tia - - const: tis - - clock-frequency: - default: 100000 - enum: [ 100000, 400000 ] - description: - Desired I2C bus clock frequency in Hz. - - clocks: - maxItems: 1 - - power-domains: - maxItems: 1 - - resets: - maxItems: 1 - -required: - - compatible - - reg - - interrupts - - interrupt-names - - clocks - - power-domains - - resets - - '#address-cells' - - '#size-cells' - -unevaluatedProperties: false - -examples: - - | - #include - #include - - i2c0: i2c@a4030000 { - compatible = "renesas,r9a09g011-i2c", "renesas,rzv2m-i2c"; - reg = <0xa4030000 0x80>; - interrupts = , - ; - interrupt-names = "tia", "tis"; - clocks = <&cpg CPG_MOD R9A09G011_IIC_PCLK0>; - resets = <&cpg R9A09G011_IIC_GPA_PRESETN>; - power-domains = <&cpg>; - clock-frequency = <100000>; - #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/renesas,rzv2m.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Renesas RZ/V2M I2C Bus Interface + +maintainers: + - Fabrizio Castro + +allOf: + - $ref: /schemas/i2c/i2c-controller.yaml# + +properties: + compatible: + items: + - enum: + - renesas,r9a09g011-i2c # RZ/V2M + - const: renesas,rzv2m-i2c + + reg: + maxItems: 1 + + interrupts: + items: + - description: Data transmission/reception interrupt + - description: Status interrupt + + interrupt-names: + items: + - const: tia + - const: tis + + clock-frequency: + default: 100000 + enum: [ 100000, 400000 ] + description: + Desired I2C bus clock frequency in Hz. + + clocks: + maxItems: 1 + + power-domains: + maxItems: 1 + + resets: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + - interrupt-names + - clocks + - power-domains + - resets + - '#address-cells' + - '#size-cells' + +unevaluatedProperties: false + +examples: + - | + #include + #include + + i2c0: i2c@a4030000 { + compatible = "renesas,r9a09g011-i2c", "renesas,rzv2m-i2c"; + reg = <0xa4030000 0x80>; + interrupts = , + ; + interrupt-names = "tia", "tis"; + clocks = <&cpg CPG_MOD R9A09G011_IIC_PCLK0>; + resets = <&cpg R9A09G011_IIC_GPA_PRESETN>; + power-domains = <&cpg>; + clock-frequency = <100000>; + #address-cells = <1>; + #size-cells = <0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/sprd,sc9860-i2c.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/sprd,sc9860-i2c.yaml index fb61213243..ec0d39e73d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/sprd,sc9860-i2c.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/sprd,sc9860-i2c.yaml @@ -1,65 +1,65 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/i2c/sprd,sc9860-i2c.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Spreadtrum SC9860 I2C controller - -maintainers: - - Orson Zhai - - Baolin Wang - - Chunyan Zhang - -allOf: - - $ref: /schemas/i2c/i2c-controller.yaml# - -properties: - compatible: - const: sprd,sc9860-i2c - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - items: - - description: I2C clock - - description: I2C source (parent) clock - - description: I2C module enable clock - - clock-names: - items: - - const: i2c - - const: source - - const: enable - - clock-frequency: true - -required: - - compatible - - reg - - interrupts - - clocks - - clock-names - - clock-frequency - -unevaluatedProperties: false - -examples: - - | - #include - #include - - i2c@70500000 { - compatible = "sprd,sc9860-i2c"; - reg = <0x70500000 0x1000>; - interrupts = ; - clocks = <&clk_i2c3>, <&ext_26m>, <&clk_ap_apb_gates 11>; - clock-names = "i2c", "source", "enable"; - clock-frequency = <400000>; - #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/sprd,sc9860-i2c.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Spreadtrum SC9860 I2C controller + +maintainers: + - Orson Zhai + - Baolin Wang + - Chunyan Zhang + +allOf: + - $ref: /schemas/i2c/i2c-controller.yaml# + +properties: + compatible: + const: sprd,sc9860-i2c + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + items: + - description: I2C clock + - description: I2C source (parent) clock + - description: I2C module enable clock + + clock-names: + items: + - const: i2c + - const: source + - const: enable + + clock-frequency: true + +required: + - compatible + - reg + - interrupts + - clocks + - clock-names + - clock-frequency + +unevaluatedProperties: false + +examples: + - | + #include + #include + + i2c@70500000 { + compatible = "sprd,sc9860-i2c"; + reg = <0x70500000 0x1000>; + interrupts = ; + clocks = <&clk_i2c3>, <&ext_26m>, <&clk_ap_apb_gates 11>; + clock-names = "i2c", "source", "enable"; + clock-frequency = <400000>; + #address-cells = <1>; + #size-cells = <0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/st,sti-i2c.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/st,sti-i2c.yaml index 79fecbb260..08f9c1e446 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/st,sti-i2c.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/st,sti-i2c.yaml @@ -1,71 +1,71 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/i2c/st,sti-i2c.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: I2C controller embedded in STMicroelectronics STi platform - -maintainers: - - Patrice Chotard - -allOf: - - $ref: /schemas/i2c/i2c-controller.yaml# - -properties: - compatible: - enum: - - st,comms-ssc-i2c - - st,comms-ssc4-i2c - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - maxItems: 1 - - clock-names: - maxItems: 1 - - clock-frequency: - enum: [ 100000, 400000 ] - default: 100000 - - st,i2c-min-scl-pulse-width-us: - description: - The minimum valid SCL pulse width that is allowed through the - deglitch circuit. In units of us. - - st,i2c-min-sda-pulse-width-us: - description: - The minimum valid SDA pulse width that is allowed through the - deglitch circuit. In units of us. - -required: - - compatible - - reg - - interrupts - - clocks - - clock-names - -unevaluatedProperties: false - -examples: - - | - #include - #include - i2c@fed40000 { - compatible = "st,comms-ssc4-i2c"; - reg = <0xfed40000 0x110>; - interrupts = ; - clocks = <&clk_s_a0_ls CLK_ICN_REG>; - clock-names = "ssc"; - clock-frequency = <400000>; - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_i2c0_default>; - st,i2c-min-scl-pulse-width-us = <0>; - st,i2c-min-sda-pulse-width-us = <5>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/i2c/st,sti-i2c.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: I2C controller embedded in STMicroelectronics STi platform + +maintainers: + - Patrice Chotard + +allOf: + - $ref: /schemas/i2c/i2c-controller.yaml# + +properties: + compatible: + enum: + - st,comms-ssc-i2c + - st,comms-ssc4-i2c + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + + clock-names: + maxItems: 1 + + clock-frequency: + enum: [ 100000, 400000 ] + default: 100000 + + st,i2c-min-scl-pulse-width-us: + description: + The minimum valid SCL pulse width that is allowed through the + deglitch circuit. In units of us. + + st,i2c-min-sda-pulse-width-us: + description: + The minimum valid SDA pulse width that is allowed through the + deglitch circuit. In units of us. + +required: + - compatible + - reg + - interrupts + - clocks + - clock-names + +unevaluatedProperties: false + +examples: + - | + #include + #include + i2c@fed40000 { + compatible = "st,comms-ssc4-i2c"; + reg = <0xfed40000 0x110>; + interrupts = ; + clocks = <&clk_s_a0_ls CLK_ICN_REG>; + clock-names = "ssc"; + clock-frequency = <400000>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_i2c0_default>; + st,i2c-min-scl-pulse-width-us = <0>; + st,i2c-min-sda-pulse-width-us = <5>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i3c/aspeed,ast2600-i3c.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i3c/aspeed,ast2600-i3c.yaml index dbc88bf060..47be5d9a32 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i3c/aspeed,ast2600-i3c.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i3c/aspeed,ast2600-i3c.yaml @@ -1,72 +1,72 @@ -# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/i3c/aspeed,ast2600-i3c.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: ASPEED AST2600 i3c controller - -maintainers: - - Jeremy Kerr - -allOf: - - $ref: i3c.yaml# - -properties: - compatible: - const: aspeed,ast2600-i3c - - reg: - maxItems: 1 - - clocks: - maxItems: 1 - - resets: - maxItems: 1 - - interrupts: - maxItems: 1 - - sda-pullup-ohms: - enum: [545, 750, 2000] - default: 2000 - description: | - Value to configure SDA pullup resistor, in Ohms. - - aspeed,global-regs: - $ref: /schemas/types.yaml#/definitions/phandle-array - items: - - items: - - description: phandle to i3c global register syscon node - - description: index of this i3c controller in the global register set - description: | - A (phandle, controller index) reference to the i3c global register set - used for this device. - -required: - - compatible - - reg - - clocks - - interrupts - - aspeed,global-regs - -unevaluatedProperties: false - -examples: - - | - #include - - i3c@2000 { - compatible = "aspeed,ast2600-i3c"; - reg = <0x2000 0x1000>; - #address-cells = <3>; - #size-cells = <0>; - clocks = <&syscon 0>; - resets = <&syscon 0>; - aspeed,global-regs = <&i3c_global 0>; - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_i3c1_default>; - interrupts = ; - }; -... +# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/i3c/aspeed,ast2600-i3c.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ASPEED AST2600 i3c controller + +maintainers: + - Jeremy Kerr + +allOf: + - $ref: i3c.yaml# + +properties: + compatible: + const: aspeed,ast2600-i3c + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + resets: + maxItems: 1 + + interrupts: + maxItems: 1 + + sda-pullup-ohms: + enum: [545, 750, 2000] + default: 2000 + description: | + Value to configure SDA pullup resistor, in Ohms. + + aspeed,global-regs: + $ref: /schemas/types.yaml#/definitions/phandle-array + items: + - items: + - description: phandle to i3c global register syscon node + - description: index of this i3c controller in the global register set + description: | + A (phandle, controller index) reference to the i3c global register set + used for this device. + +required: + - compatible + - reg + - clocks + - interrupts + - aspeed,global-regs + +unevaluatedProperties: false + +examples: + - | + #include + + i3c@2000 { + compatible = "aspeed,ast2600-i3c"; + reg = <0x2000 0x1000>; + #address-cells = <3>; + #size-cells = <0>; + clocks = <&syscon 0>; + resets = <&syscon 0>; + aspeed,global-regs = <&i3c_global 0>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_i3c1_default>; + interrupts = ; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/accel/adi,adxl372.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/accel/adi,adxl372.yaml index 469311f2db..62465e36a5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/accel/adi,adxl372.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/accel/adi,adxl372.yaml @@ -1,68 +1,68 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/accel/adi,adxl372.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Analog Devices ADXL372 3-Axis, +/-(200g) Digital Accelerometer - -maintainers: - - Stefan Popa - -description: | - Analog Devices ADXL372 3-Axis, +/-(200g) Digital Accelerometer that supports - both I2C & SPI interfaces - https://www.analog.com/en/products/adxl372.html - -properties: - compatible: - enum: - - adi,adxl372 - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - -required: - - compatible - - reg - - interrupts - -allOf: - - $ref: /schemas/spi/spi-peripheral-props.yaml# - -unevaluatedProperties: false - -examples: - - | - #include - #include - i2c { - #address-cells = <1>; - #size-cells = <0>; - - /* Example for a I2C device node */ - accelerometer@53 { - compatible = "adi,adxl372"; - reg = <0x53>; - interrupt-parent = <&gpio>; - interrupts = <25 IRQ_TYPE_EDGE_FALLING>; - }; - }; - - | - #include - #include - spi { - #address-cells = <1>; - #size-cells = <0>; - - accelerometer@0 { - compatible = "adi,adxl372"; - reg = <0>; - spi-max-frequency = <1000000>; - interrupt-parent = <&gpio>; - interrupts = <25 IRQ_TYPE_EDGE_FALLING>; - }; - }; +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/accel/adi,adxl372.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Analog Devices ADXL372 3-Axis, +/-(200g) Digital Accelerometer + +maintainers: + - Stefan Popa + +description: | + Analog Devices ADXL372 3-Axis, +/-(200g) Digital Accelerometer that supports + both I2C & SPI interfaces + https://www.analog.com/en/products/adxl372.html + +properties: + compatible: + enum: + - adi,adxl372 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + +allOf: + - $ref: /schemas/spi/spi-peripheral-props.yaml# + +unevaluatedProperties: false + +examples: + - | + #include + #include + i2c { + #address-cells = <1>; + #size-cells = <0>; + + /* Example for a I2C device node */ + accelerometer@53 { + compatible = "adi,adxl372"; + reg = <0x53>; + interrupt-parent = <&gpio>; + interrupts = <25 IRQ_TYPE_EDGE_FALLING>; + }; + }; + - | + #include + #include + spi { + #address-cells = <1>; + #size-cells = <0>; + + accelerometer@0 { + compatible = "adi,adxl372"; + reg = <0>; + spi-max-frequency = <1000000>; + interrupt-parent = <&gpio>; + interrupts = <25 IRQ_TYPE_EDGE_FALLING>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/accel/bosch,bmi088.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/accel/bosch,bmi088.yaml index 57f88917c5..3cb82576d7 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/accel/bosch,bmi088.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/accel/bosch,bmi088.yaml @@ -1,71 +1,71 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/accel/bosch,bmi088.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Bosch BMI088 IMU accelerometer part - -maintainers: - - Mike Looijmans - -description: | - Acceleration part of the IMU sensor with an SPI interface - Specifications about the sensor can be found at: - https://www.bosch-sensortec.com/media/boschsensortec/downloads/datasheets/bst-bmi088-ds001.pdf - -properties: - compatible: - enum: - - bosch,bmi085-accel - - bosch,bmi088-accel - - bosch,bmi090l-accel - - reg: - maxItems: 1 - - vdd-supply: true - - vddio-supply: true - - interrupts: - minItems: 1 - maxItems: 2 - description: | - Type should be either IRQ_TYPE_LEVEL_HIGH or IRQ_TYPE_LEVEL_LOW. - Two configurable interrupt lines exist. - - interrupt-names: - description: Specify which interrupt line is in use. - items: - enum: - - INT1 - - INT2 - minItems: 1 - maxItems: 2 - -required: - - compatible - - reg - -allOf: - - $ref: /schemas/spi/spi-peripheral-props.yaml# - -unevaluatedProperties: false - -examples: - - | - #include - spi { - #address-cells = <1>; - #size-cells = <0>; - bmi088-accel@1 { - compatible = "bosch,bmi088-accel"; - reg = <1>; - spi-max-frequency = <10000000>; - interrupt-parent = <&gpio6>; - interrupts = <19 IRQ_TYPE_LEVEL_LOW>; - interrupt-names = "INT2"; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/accel/bosch,bmi088.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Bosch BMI088 IMU accelerometer part + +maintainers: + - Mike Looijmans + +description: | + Acceleration part of the IMU sensor with an SPI interface + Specifications about the sensor can be found at: + https://www.bosch-sensortec.com/media/boschsensortec/downloads/datasheets/bst-bmi088-ds001.pdf + +properties: + compatible: + enum: + - bosch,bmi085-accel + - bosch,bmi088-accel + - bosch,bmi090l-accel + + reg: + maxItems: 1 + + vdd-supply: true + + vddio-supply: true + + interrupts: + minItems: 1 + maxItems: 2 + description: | + Type should be either IRQ_TYPE_LEVEL_HIGH or IRQ_TYPE_LEVEL_LOW. + Two configurable interrupt lines exist. + + interrupt-names: + description: Specify which interrupt line is in use. + items: + enum: + - INT1 + - INT2 + minItems: 1 + maxItems: 2 + +required: + - compatible + - reg + +allOf: + - $ref: /schemas/spi/spi-peripheral-props.yaml# + +unevaluatedProperties: false + +examples: + - | + #include + spi { + #address-cells = <1>; + #size-cells = <0>; + bmi088-accel@1 { + compatible = "bosch,bmi088-accel"; + reg = <1>; + spi-max-frequency = <10000000>; + interrupt-parent = <&gpio6>; + interrupts = <19 IRQ_TYPE_LEVEL_LOW>; + interrupt-names = "INT2"; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/accel/kionix,kx022a.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/accel/kionix,kx022a.yaml index 77c94430a5..66ea894dbe 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/accel/kionix,kx022a.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/accel/kionix,kx022a.yaml @@ -1,69 +1,69 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/accel/kionix,kx022a.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: ROHM/Kionix KX022A, KX132-1211 and KX132ACR-LBZ Accelerometers - -maintainers: - - Matti Vaittinen - -description: | - KX022A, KX132ACR-LBZ and KX132-1211 are 3-axis accelerometers supporting - +/- 2G, 4G, 8G and 16G ranges, variable output data-rates and a - hardware-fifo buffering. These accelerometers can be accessed either - via I2C or SPI. - -properties: - compatible: - enum: - - kionix,kx022a - - kionix,kx132-1211 - - rohm,kx132acr-lbz - - reg: - maxItems: 1 - - interrupts: - minItems: 1 - maxItems: 2 - - interrupt-names: - minItems: 1 - items: - - enum: [INT1, INT2] - - const: INT2 - - vdd-supply: true - io-vdd-supply: true - - mount-matrix: - description: | - an optional 3x3 mounting rotation matrix. - -required: - - compatible - - reg - - interrupts - -additionalProperties: false - -examples: - - | - #include - i2c { - #address-cells = <1>; - #size-cells = <0>; - accel@1f { - compatible = "kionix,kx022a"; - reg = <0x1f>; - - interrupt-parent = <&gpio1>; - interrupts = <29 IRQ_TYPE_LEVEL_LOW>; - interrupt-names = "INT1"; - - io-vdd-supply = <&iovdd>; - vdd-supply = <&vdd>; - }; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/accel/kionix,kx022a.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ROHM/Kionix KX022A, KX132-1211 and KX132ACR-LBZ Accelerometers + +maintainers: + - Matti Vaittinen + +description: | + KX022A, KX132ACR-LBZ and KX132-1211 are 3-axis accelerometers supporting + +/- 2G, 4G, 8G and 16G ranges, variable output data-rates and a + hardware-fifo buffering. These accelerometers can be accessed either + via I2C or SPI. + +properties: + compatible: + enum: + - kionix,kx022a + - kionix,kx132-1211 + - rohm,kx132acr-lbz + + reg: + maxItems: 1 + + interrupts: + minItems: 1 + maxItems: 2 + + interrupt-names: + minItems: 1 + items: + - enum: [INT1, INT2] + - const: INT2 + + vdd-supply: true + io-vdd-supply: true + + mount-matrix: + description: | + an optional 3x3 mounting rotation matrix. + +required: + - compatible + - reg + - interrupts + +additionalProperties: false + +examples: + - | + #include + i2c { + #address-cells = <1>; + #size-cells = <0>; + accel@1f { + compatible = "kionix,kx022a"; + reg = <0x1f>; + + interrupt-parent = <&gpio1>; + interrupts = <29 IRQ_TYPE_LEVEL_LOW>; + interrupt-names = "INT1"; + + io-vdd-supply = <&iovdd>; + vdd-supply = <&vdd>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/accel/kionix,kxsd9.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/accel/kionix,kxsd9.yaml index 695dd03fe0..f64d99b354 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/accel/kionix,kxsd9.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/accel/kionix,kxsd9.yaml @@ -1,70 +1,70 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/accel/kionix,kxsd9.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Kionix KXSD9 Accelerometer - -maintainers: - - Jonathan Cameron - -description: | - 3 axis 12 bit accelerometer with +-8G range on all axes. Also has a - 12 bit auxiliary ADC channel. Interface is either SPI or I2C. - -properties: - compatible: - const: kionix,kxsd9 - - reg: - maxItems: 1 - - vdd-supply: true - iovdd-supply: true - - interrupts: - maxItems: 1 - - mount-matrix: - description: an optional 3x3 mounting rotation matrix. - -required: - - compatible - - reg - -allOf: - - $ref: /schemas/spi/spi-peripheral-props.yaml# - -unevaluatedProperties: false - -examples: - - | - # include - i2c { - #address-cells = <1>; - #size-cells = <0>; - - accel@18 { - compatible = "kionix,kxsd9"; - reg = <0x18>; - iovdd-supply = <&iovdd>; - vdd-supply = <&vdd>; - interrupts = <57 IRQ_TYPE_EDGE_FALLING>; - mount-matrix = "-0.984807753012208", "0", "-0.173648177666930", - "0", "-1", "0", - "-0.173648177666930", "0", "0.984807753012208"; - }; - }; - - | - # include - spi { - #address-cells = <1>; - #size-cells = <0>; - accel@0 { - compatible = "kionix,kxsd9"; - reg = <0>; - spi-max-frequency = <10000000>; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/accel/kionix,kxsd9.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Kionix KXSD9 Accelerometer + +maintainers: + - Jonathan Cameron + +description: | + 3 axis 12 bit accelerometer with +-8G range on all axes. Also has a + 12 bit auxiliary ADC channel. Interface is either SPI or I2C. + +properties: + compatible: + const: kionix,kxsd9 + + reg: + maxItems: 1 + + vdd-supply: true + iovdd-supply: true + + interrupts: + maxItems: 1 + + mount-matrix: + description: an optional 3x3 mounting rotation matrix. + +required: + - compatible + - reg + +allOf: + - $ref: /schemas/spi/spi-peripheral-props.yaml# + +unevaluatedProperties: false + +examples: + - | + # include + i2c { + #address-cells = <1>; + #size-cells = <0>; + + accel@18 { + compatible = "kionix,kxsd9"; + reg = <0x18>; + iovdd-supply = <&iovdd>; + vdd-supply = <&vdd>; + interrupts = <57 IRQ_TYPE_EDGE_FALLING>; + mount-matrix = "-0.984807753012208", "0", "-0.173648177666930", + "0", "-1", "0", + "-0.173648177666930", "0", "0.984807753012208"; + }; + }; + - | + # include + spi { + #address-cells = <1>; + #size-cells = <0>; + accel@0 { + compatible = "kionix,kxsd9"; + reg = <0>; + spi-max-frequency = <10000000>; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/adi,ad799x.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/adi,ad799x.yaml index 9972a55020..433ed2c929 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/adi,ad799x.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/adi,ad799x.yaml @@ -1,73 +1,73 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/adc/adi,ad799x.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Analog Devices AD799x analog to digital converters - -maintainers: - - Michael Hennerich - -description: | - Support for Analog Devices AD7991, AD7992, AD7993, AD7994, AD7995, AD7997, AD7998, - AD7999 and similar analog to digital converters. - Specifications on the converters can be found at: - AD7991, AD7995, AD7999: - https://www.analog.com/media/en/technical-documentation/data-sheets/AD7991_7995_7999.pdf - AD7992: - https://www.analog.com/media/en/technical-documentation/data-sheets/AD7992.pdf - AD7993, AD7994: - https://www.analog.com/media/en/technical-documentation/data-sheets/AD7993_7994.pdf - AD7997, AD7998: - https://www.analog.com/media/en/technical-documentation/data-sheets/AD7997_7998.pdf - -properties: - compatible: - enum: - - adi,ad7991 - - adi,ad7992 - - adi,ad7993 - - adi,ad7994 - - adi,ad7995 - - adi,ad7997 - - adi,ad7998 - - adi,ad7999 - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - vcc-supply: - description: - ADC power supply - - vref-supply: - description: - ADC reference voltage supply, optional for AD7991, AD7995 and AD7999 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - adc1: adc@28 { - reg = <0x28>; - compatible = "adi,ad7991"; - interrupts = <13 2>; - interrupt-parent = <&gpio6>; - - vcc-supply = <&vcc_3v3>; - vref-supply = <&adc_vref>; - }; - }; -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/adc/adi,ad799x.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Analog Devices AD799x analog to digital converters + +maintainers: + - Michael Hennerich + +description: | + Support for Analog Devices AD7991, AD7992, AD7993, AD7994, AD7995, AD7997, AD7998, + AD7999 and similar analog to digital converters. + Specifications on the converters can be found at: + AD7991, AD7995, AD7999: + https://www.analog.com/media/en/technical-documentation/data-sheets/AD7991_7995_7999.pdf + AD7992: + https://www.analog.com/media/en/technical-documentation/data-sheets/AD7992.pdf + AD7993, AD7994: + https://www.analog.com/media/en/technical-documentation/data-sheets/AD7993_7994.pdf + AD7997, AD7998: + https://www.analog.com/media/en/technical-documentation/data-sheets/AD7997_7998.pdf + +properties: + compatible: + enum: + - adi,ad7991 + - adi,ad7992 + - adi,ad7993 + - adi,ad7994 + - adi,ad7995 + - adi,ad7997 + - adi,ad7998 + - adi,ad7999 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + vcc-supply: + description: + ADC power supply + + vref-supply: + description: + ADC reference voltage supply, optional for AD7991, AD7995 and AD7999 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + adc1: adc@28 { + reg = <0x28>; + compatible = "adi,ad7991"; + interrupts = <13 2>; + interrupt-parent = <&gpio6>; + + vcc-supply = <&vcc_3v3>; + vref-supply = <&adc_vref>; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/adi,axi-adc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/adi,axi-adc.yaml index b7f72e45e2..e1f450b80d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/adi,axi-adc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/adi,axi-adc.yaml @@ -1,68 +1,68 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/adc/adi,axi-adc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Analog Devices AXI ADC IP core - -maintainers: - - Michael Hennerich - -description: | - Analog Devices Generic AXI ADC IP core for interfacing an ADC device - with a high speed serial (JESD204B/C) or source synchronous parallel - interface (LVDS/CMOS). - Usually, some other interface type (i.e SPI) is used as a control - interface for the actual ADC, while this IP core will interface - to the data-lines of the ADC and handle the streaming of data into - memory via DMA. - - https://wiki.analog.com/resources/fpga/docs/axi_adc_ip - -properties: - compatible: - enum: - - adi,axi-adc-10.0.a - - reg: - maxItems: 1 - - clocks: - maxItems: 1 - - dmas: - maxItems: 1 - - dma-names: - items: - - const: rx - - adi,adc-dev: - $ref: /schemas/types.yaml#/definitions/phandle - description: - A reference to a the actual ADC to which this FPGA ADC interfaces to. - deprecated: true - - '#io-backend-cells': - const: 0 - -required: - - compatible - - dmas - - reg - - clocks - -additionalProperties: false - -examples: - - | - axi-adc@44a00000 { - compatible = "adi,axi-adc-10.0.a"; - reg = <0x44a00000 0x10000>; - dmas = <&rx_dma 0>; - dma-names = "rx"; - clocks = <&axi_clk>; - #io-backend-cells = <0>; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/adc/adi,axi-adc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Analog Devices AXI ADC IP core + +maintainers: + - Michael Hennerich + +description: | + Analog Devices Generic AXI ADC IP core for interfacing an ADC device + with a high speed serial (JESD204B/C) or source synchronous parallel + interface (LVDS/CMOS). + Usually, some other interface type (i.e SPI) is used as a control + interface for the actual ADC, while this IP core will interface + to the data-lines of the ADC and handle the streaming of data into + memory via DMA. + + https://wiki.analog.com/resources/fpga/docs/axi_adc_ip + +properties: + compatible: + enum: + - adi,axi-adc-10.0.a + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + dmas: + maxItems: 1 + + dma-names: + items: + - const: rx + + adi,adc-dev: + $ref: /schemas/types.yaml#/definitions/phandle + description: + A reference to a the actual ADC to which this FPGA ADC interfaces to. + deprecated: true + + '#io-backend-cells': + const: 0 + +required: + - compatible + - dmas + - reg + - clocks + +additionalProperties: false + +examples: + - | + axi-adc@44a00000 { + compatible = "adi,axi-adc-10.0.a"; + reg = <0x44a00000 0x10000>; + dmas = <&rx_dma 0>; + dma-names = "rx"; + clocks = <&axi_clk>; + #io-backend-cells = <0>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/allwinner,sun20i-d1-gpadc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/allwinner,sun20i-d1-gpadc.yaml index c422b5832d..da605a051b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/allwinner,sun20i-d1-gpadc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/allwinner,sun20i-d1-gpadc.yaml @@ -1,96 +1,96 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/adc/allwinner,sun20i-d1-gpadc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Allwinner D1 General Purpose ADC - -maintainers: - - Maksim Kiselev - -properties: - compatible: - oneOf: - - enum: - - allwinner,sun20i-d1-gpadc - - items: - - enum: - - allwinner,sun50i-h616-gpadc - - const: allwinner,sun20i-d1-gpadc - - "#io-channel-cells": - const: 1 - - "#address-cells": - const: 1 - - "#size-cells": - const: 0 - - clocks: - maxItems: 1 - - interrupts: - maxItems: 1 - - reg: - maxItems: 1 - - resets: - maxItems: 1 - -patternProperties: - "^channel@[0-9a-f]+$": - $ref: adc.yaml - type: object - description: - Represents the internal channels of the ADC. - - properties: - reg: - items: - minimum: 0 - maximum: 15 - - required: - - reg - - unevaluatedProperties: false - -required: - - "#io-channel-cells" - - clocks - - compatible - - interrupts - - reg - - resets - -additionalProperties: false - -examples: - - | - #include - #include - #include - - gpadc: adc@2009000 { - compatible = "allwinner,sun20i-d1-gpadc"; - reg = <0x2009000 0x400>; - clocks = <&ccu CLK_BUS_GPADC>; - resets = <&ccu RST_BUS_GPADC>; - interrupts = <73 IRQ_TYPE_LEVEL_HIGH>; - #io-channel-cells = <1>; - - #address-cells = <1>; - #size-cells = <0>; - - channel@0 { - reg = <0>; - }; - - channel@1 { - reg = <1>; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/adc/allwinner,sun20i-d1-gpadc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Allwinner D1 General Purpose ADC + +maintainers: + - Maksim Kiselev + +properties: + compatible: + oneOf: + - enum: + - allwinner,sun20i-d1-gpadc + - items: + - enum: + - allwinner,sun50i-h616-gpadc + - const: allwinner,sun20i-d1-gpadc + + "#io-channel-cells": + const: 1 + + "#address-cells": + const: 1 + + "#size-cells": + const: 0 + + clocks: + maxItems: 1 + + interrupts: + maxItems: 1 + + reg: + maxItems: 1 + + resets: + maxItems: 1 + +patternProperties: + "^channel@[0-9a-f]+$": + $ref: adc.yaml + type: object + description: + Represents the internal channels of the ADC. + + properties: + reg: + items: + minimum: 0 + maximum: 15 + + required: + - reg + + unevaluatedProperties: false + +required: + - "#io-channel-cells" + - clocks + - compatible + - interrupts + - reg + - resets + +additionalProperties: false + +examples: + - | + #include + #include + #include + + gpadc: adc@2009000 { + compatible = "allwinner,sun20i-d1-gpadc"; + reg = <0x2009000 0x400>; + clocks = <&ccu CLK_BUS_GPADC>; + resets = <&ccu RST_BUS_GPADC>; + interrupts = <73 IRQ_TYPE_LEVEL_HIGH>; + #io-channel-cells = <1>; + + #address-cells = <1>; + #size-cells = <0>; + + channel@0 { + reg = <0>; + }; + + channel@1 { + reg = <1>; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/avia-hx711.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/avia-hx711.yaml index 82e9fb572b..9c57eb13f8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/avia-hx711.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/avia-hx711.yaml @@ -1,67 +1,67 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/adc/avia-hx711.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: AVIA HX711 ADC chip for weight cells - -maintainers: - - Andreas Klinger - -description: | - Bit-banging driver using two GPIOs: - - sck-gpio gives a clock to the sensor with 24 cycles for data retrieval - and up to 3 cycles for selection of the input channel and gain for the - next measurement - - dout-gpio is the sensor data the sensor responds to the clock - - Specifications about the driver can be found at: - http://www.aviaic.com/ENProducts.aspx - -properties: - compatible: - enum: - - avia,hx711 - - sck-gpios: - description: - Definition of the GPIO for the clock (output). In the datasheet it is - named PD_SCK - maxItems: 1 - - dout-gpios: - description: - Definition of the GPIO for the data-out sent by the sensor in - response to the clock (input). - See Documentation/devicetree/bindings/gpio/gpio.txt for information - on how to specify a consumer gpio. - maxItems: 1 - - avdd-supply: - description: - Definition of the regulator used as analog supply - - clock-frequency: - minimum: 20000 - maximum: 2500000 - default: 400000 - -required: - - compatible - - sck-gpios - - dout-gpios - - avdd-supply - -additionalProperties: false - -examples: - - | - #include - weight { - compatible = "avia,hx711"; - sck-gpios = <&gpio3 10 GPIO_ACTIVE_HIGH>; - dout-gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>; - avdd-supply = <&avdd>; - clock-frequency = <100000>; - }; +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/adc/avia-hx711.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: AVIA HX711 ADC chip for weight cells + +maintainers: + - Andreas Klinger + +description: | + Bit-banging driver using two GPIOs: + - sck-gpio gives a clock to the sensor with 24 cycles for data retrieval + and up to 3 cycles for selection of the input channel and gain for the + next measurement + - dout-gpio is the sensor data the sensor responds to the clock + + Specifications about the driver can be found at: + http://www.aviaic.com/ENProducts.aspx + +properties: + compatible: + enum: + - avia,hx711 + + sck-gpios: + description: + Definition of the GPIO for the clock (output). In the datasheet it is + named PD_SCK + maxItems: 1 + + dout-gpios: + description: + Definition of the GPIO for the data-out sent by the sensor in + response to the clock (input). + See Documentation/devicetree/bindings/gpio/gpio.txt for information + on how to specify a consumer gpio. + maxItems: 1 + + avdd-supply: + description: + Definition of the regulator used as analog supply + + clock-frequency: + minimum: 20000 + maximum: 2500000 + default: 400000 + +required: + - compatible + - sck-gpios + - dout-gpios + - avdd-supply + +additionalProperties: false + +examples: + - | + #include + weight { + compatible = "avia,hx711"; + sck-gpios = <&gpio3 10 GPIO_ACTIVE_HIGH>; + dout-gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>; + avdd-supply = <&avdd>; + clock-frequency = <100000>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/brcm,iproc-static-adc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/brcm,iproc-static-adc.yaml index 02f98f1e8e..547697e8bc 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/brcm,iproc-static-adc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/brcm,iproc-static-adc.yaml @@ -1,65 +1,65 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/adc/brcm,iproc-static-adc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Broadcom's IPROC Static ADC controller - -maintainers: - - Raveendra Padasalagi - -description: | - Broadcom iProc ADC controller has 8 10bit channels - -properties: - compatible: - const: brcm,iproc-static-adc - - adc-syscon: - $ref: /schemas/types.yaml#/definitions/phandle - description: - syscon node defining physical base address of the controller and length - of memory mapped region. - - "#io-channel-cells": - const: 1 - - clocks: - maxItems: 1 - - clock-names: - const: tsc_clk - - interrupts: - maxItems: 1 - -additionalProperties: false - -required: - - compatible - - adc-syscon - - "#io-channel-cells" - - clocks - - clock-names - - interrupts - -examples: - - | - #include - #include - #include - soc { - #address-cells = <1>; - #size-cells = <1>; - - adc { - compatible = "brcm,iproc-static-adc"; - adc-syscon = <&ts_adc_syscon>; - #io-channel-cells = <1>; - clocks = <&asiu_clks BCM_CYGNUS_ASIU_ADC_CLK>; - clock-names = "tsc_clk"; - interrupts = ; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/adc/brcm,iproc-static-adc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom's IPROC Static ADC controller + +maintainers: + - Raveendra Padasalagi + +description: | + Broadcom iProc ADC controller has 8 10bit channels + +properties: + compatible: + const: brcm,iproc-static-adc + + adc-syscon: + $ref: /schemas/types.yaml#/definitions/phandle + description: + syscon node defining physical base address of the controller and length + of memory mapped region. + + "#io-channel-cells": + const: 1 + + clocks: + maxItems: 1 + + clock-names: + const: tsc_clk + + interrupts: + maxItems: 1 + +additionalProperties: false + +required: + - compatible + - adc-syscon + - "#io-channel-cells" + - clocks + - clock-names + - interrupts + +examples: + - | + #include + #include + #include + soc { + #address-cells = <1>; + #size-cells = <1>; + + adc { + compatible = "brcm,iproc-static-adc"; + adc-syscon = <&ts_adc_syscon>; + #io-channel-cells = <1>; + clocks = <&asiu_clks BCM_CYGNUS_ASIU_ADC_CLK>; + clock-names = "tsc_clk"; + interrupts = ; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/lltc,ltc2497.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/lltc,ltc2497.yaml index f8b63335ac..5cc6a96840 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/lltc,ltc2497.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/lltc,ltc2497.yaml @@ -1,60 +1,60 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/adc/lltc,ltc2497.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Linear Technology / Analog Devices LTC2497 and LTC2309 ADC - -maintainers: - - Michael Hennerich - - Liam Beguin - -description: | - LTC2309: - low noise, low power, 8-channel, 12-bit successive approximation ADC with an - I2C compatible serial interface. - - https://www.analog.com/media/en/technical-documentation/data-sheets/2309fd.pdf - - LTC2497: - LTC2499: - 16bit ADC supporting up to 16 single ended or 8 differential inputs. - I2C interface. - - https://www.analog.com/media/en/technical-documentation/data-sheets/2497fb.pdf - https://www.analog.com/media/en/technical-documentation/data-sheets/2499fe.pdf - -properties: - compatible: - enum: - - lltc,ltc2309 - - lltc,ltc2497 - - lltc,ltc2499 - - reg: true - vref-supply: true - "#io-channel-cells": - const: 1 - -required: - - compatible - - reg - - vref-supply - -additionalProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - adc@76 { - compatible = "lltc,ltc2497"; - reg = <0x76>; - vref-supply = <<c2497_reg>; - #io-channel-cells = <1>; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/adc/lltc,ltc2497.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Linear Technology / Analog Devices LTC2497 and LTC2309 ADC + +maintainers: + - Michael Hennerich + - Liam Beguin + +description: | + LTC2309: + low noise, low power, 8-channel, 12-bit successive approximation ADC with an + I2C compatible serial interface. + + https://www.analog.com/media/en/technical-documentation/data-sheets/2309fd.pdf + + LTC2497: + LTC2499: + 16bit ADC supporting up to 16 single ended or 8 differential inputs. + I2C interface. + + https://www.analog.com/media/en/technical-documentation/data-sheets/2497fb.pdf + https://www.analog.com/media/en/technical-documentation/data-sheets/2499fe.pdf + +properties: + compatible: + enum: + - lltc,ltc2309 + - lltc,ltc2497 + - lltc,ltc2499 + + reg: true + vref-supply: true + "#io-channel-cells": + const: 1 + +required: + - compatible + - reg + - vref-supply + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + adc@76 { + compatible = "lltc,ltc2497"; + reg = <0x76>; + vref-supply = <<c2497_reg>; + #io-channel-cells = <1>; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/maxim,max1027.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/maxim,max1027.yaml index 21e2b901ff..e4b3621135 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/maxim,max1027.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/maxim,max1027.yaml @@ -1,68 +1,68 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/adc/maxim,max1027.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Maxim MAX1027 and similar ADCs - -maintainers: - - Miquel Raynal - - Philippe Reynes - -description: | - 300ks/s SPI ADCs with temperature sensors. - -properties: - compatible: - enum: - # 10-bit 8 channels - - maxim,max1027 - # 10-bit 12 channels - - maxim,max1029 - # 10-bit 16 channels - - maxim,max1031 - # 12-bit 8 channels - - maxim,max1227 - # 12-bit 12 channels - - maxim,max1229 - # 12-bit 16 channels - - maxim,max1231 - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - spi-max-frequency: - maximum: 10000000 - - "#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>; - maxadc: adc@0 { - compatible = "maxim,max1027"; - reg = <0>; - #io-channel-cells = <1>; - interrupt-parent = <&gpio5>; - interrupts = <15 IRQ_TYPE_EDGE_RISING>; - spi-max-frequency = <1000000>; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/adc/maxim,max1027.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Maxim MAX1027 and similar ADCs + +maintainers: + - Miquel Raynal + - Philippe Reynes + +description: | + 300ks/s SPI ADCs with temperature sensors. + +properties: + compatible: + enum: + # 10-bit 8 channels + - maxim,max1027 + # 10-bit 12 channels + - maxim,max1029 + # 10-bit 16 channels + - maxim,max1031 + # 12-bit 8 channels + - maxim,max1227 + # 12-bit 12 channels + - maxim,max1229 + # 12-bit 16 channels + - maxim,max1231 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + spi-max-frequency: + maximum: 10000000 + + "#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>; + maxadc: adc@0 { + compatible = "maxim,max1027"; + reg = <0>; + #io-channel-cells = <1>; + interrupt-parent = <&gpio5>; + interrupts = <15 IRQ_TYPE_EDGE_RISING>; + spi-max-frequency = <1000000>; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/maxim,max11205.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/maxim,max11205.yaml index a5ad25e633..5f9e043cf5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/maxim,max11205.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/maxim,max11205.yaml @@ -1,69 +1,69 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/adc/maxim,max11205.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Maxim MAX11205 ADC - -maintainers: - - Ramona Bolboaca - -description: | - The MAX11205 is an ultra-low-power (< 300FA max active current), - high-resolution, serial-output ADC. - - https://datasheets.maximintegrated.com/en/ds/MAX11205.pdf - -allOf: - - $ref: /schemas/spi/spi-peripheral-props.yaml# - -properties: - compatible: - enum: - - maxim,max11205a - - maxim,max11205b - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - spi-max-frequency: - maximum: 5000000 - - spi-cpha: true - - vref-supply: - description: - The regulator supply for the ADC reference voltage. This is a differential - reference. It is equal to the V_REFP - V_REFN. The maximum value is 3.6V. - -required: - - compatible - - reg - - interrupts - - spi-max-frequency - - spi-cpha - - vref-supply - -unevaluatedProperties: false - -examples: - - | - #include - spi { - #address-cells = <1>; - #size-cells = <0>; - adc@0 { - compatible = "maxim,max11205a"; - reg = <0>; - spi-max-frequency = <5000000>; - spi-cpha; - interrupt-parent = <&gpio>; - interrupts = <19 IRQ_TYPE_EDGE_FALLING>; - vref-supply = <&max11205_vref>; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/adc/maxim,max11205.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Maxim MAX11205 ADC + +maintainers: + - Ramona Bolboaca + +description: | + The MAX11205 is an ultra-low-power (< 300FA max active current), + high-resolution, serial-output ADC. + + https://datasheets.maximintegrated.com/en/ds/MAX11205.pdf + +allOf: + - $ref: /schemas/spi/spi-peripheral-props.yaml# + +properties: + compatible: + enum: + - maxim,max11205a + - maxim,max11205b + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + spi-max-frequency: + maximum: 5000000 + + spi-cpha: true + + vref-supply: + description: + The regulator supply for the ADC reference voltage. This is a differential + reference. It is equal to the V_REFP - V_REFN. The maximum value is 3.6V. + +required: + - compatible + - reg + - interrupts + - spi-max-frequency + - spi-cpha + - vref-supply + +unevaluatedProperties: false + +examples: + - | + #include + spi { + #address-cells = <1>; + #size-cells = <0>; + adc@0 { + compatible = "maxim,max11205a"; + reg = <0>; + spi-max-frequency = <5000000>; + spi-cpha; + interrupt-parent = <&gpio>; + interrupts = <19 IRQ_TYPE_EDGE_FALLING>; + vref-supply = <&max11205_vref>; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/maxim,max1238.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/maxim,max1238.yaml index 697ab95114..60d7b34e32 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/maxim,max1238.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/maxim,max1238.yaml @@ -1,78 +1,78 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/adc/maxim,max1238.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Maxim MAX1238 and similar ADCs - -maintainers: - - Jonathan Cameron - -description: | - Family of simple ADCs with i2c interface and internal references. - -properties: - compatible: - enum: - - maxim,max1036 - - maxim,max1037 - - maxim,max1038 - - maxim,max1039 - - maxim,max1136 - - maxim,max1137 - - maxim,max1138 - - maxim,max1139 - - maxim,max1236 - - maxim,max1237 - - maxim,max1238 - - maxim,max1239 - - maxim,max11600 - - maxim,max11601 - - maxim,max11602 - - maxim,max11603 - - maxim,max11604 - - maxim,max11605 - - maxim,max11606 - - maxim,max11607 - - maxim,max11608 - - maxim,max11609 - - maxim,max11610 - - maxim,max11611 - - maxim,max11612 - - maxim,max11613 - - maxim,max11614 - - maxim,max11615 - - maxim,max11616 - - maxim,max11617 - - maxim,max11644 - - maxim,max11645 - - maxim,max11646 - - maxim,max11647 - - reg: - maxItems: 1 - - vcc-supply: true - vref-supply: - description: Optional external reference. If not supplied, internal - reference will be used. - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - adc@36 { - compatible = "maxim,max1238"; - reg = <0x36>; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/adc/maxim,max1238.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Maxim MAX1238 and similar ADCs + +maintainers: + - Jonathan Cameron + +description: | + Family of simple ADCs with i2c interface and internal references. + +properties: + compatible: + enum: + - maxim,max1036 + - maxim,max1037 + - maxim,max1038 + - maxim,max1039 + - maxim,max1136 + - maxim,max1137 + - maxim,max1138 + - maxim,max1139 + - maxim,max1236 + - maxim,max1237 + - maxim,max1238 + - maxim,max1239 + - maxim,max11600 + - maxim,max11601 + - maxim,max11602 + - maxim,max11603 + - maxim,max11604 + - maxim,max11605 + - maxim,max11606 + - maxim,max11607 + - maxim,max11608 + - maxim,max11609 + - maxim,max11610 + - maxim,max11611 + - maxim,max11612 + - maxim,max11613 + - maxim,max11614 + - maxim,max11615 + - maxim,max11616 + - maxim,max11617 + - maxim,max11644 + - maxim,max11645 + - maxim,max11646 + - maxim,max11647 + + reg: + maxItems: 1 + + vcc-supply: true + vref-supply: + description: Optional external reference. If not supplied, internal + reference will be used. + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + adc@36 { + compatible = "maxim,max1238"; + reg = <0x36>; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/maxim,max1241.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/maxim,max1241.yaml index 8349902d7a..ef8d51e74c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/maxim,max1241.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/maxim,max1241.yaml @@ -1,68 +1,68 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -# Copyright 2020 Alexandru Lazar -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/adc/maxim,max1241.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Maxim MAX1241 12-bit, single-channel analog to digital converter - -maintainers: - - Alexandru Lazar - -description: | - Bindings for the max1241 12-bit, single-channel ADC device. Datasheet - can be found at: - https://datasheets.maximintegrated.com/en/ds/MAX1240-MAX1241.pdf - -properties: - compatible: - enum: - - maxim,max1241 - - reg: - maxItems: 1 - - vdd-supply: - description: - Device tree identifier of the regulator that powers the ADC. - - vref-supply: - description: - Device tree identifier of the regulator that provides the external - reference voltage. - - shutdown-gpios: - description: - GPIO spec for the GPIO pin connected to the ADC's /SHDN pin. If - specified, the /SHDN pin will be asserted between conversions, - thus enabling power-down mode. - maxItems: 1 - -required: - - compatible - - reg - - vdd-supply - - vref-supply - -allOf: - - $ref: /schemas/spi/spi-peripheral-props.yaml# - -unevaluatedProperties: false - -examples: - - | - #include - spi { - #address-cells = <1>; - #size-cells = <0>; - - adc@0 { - compatible = "maxim,max1241"; - reg = <0>; - vdd-supply = <&adc_vdd>; - vref-supply = <&adc_vref>; - spi-max-frequency = <1000000>; - shutdown-gpios = <&gpio 26 1>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +# Copyright 2020 Alexandru Lazar +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/adc/maxim,max1241.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Maxim MAX1241 12-bit, single-channel analog to digital converter + +maintainers: + - Alexandru Lazar + +description: | + Bindings for the max1241 12-bit, single-channel ADC device. Datasheet + can be found at: + https://datasheets.maximintegrated.com/en/ds/MAX1240-MAX1241.pdf + +properties: + compatible: + enum: + - maxim,max1241 + + reg: + maxItems: 1 + + vdd-supply: + description: + Device tree identifier of the regulator that powers the ADC. + + vref-supply: + description: + Device tree identifier of the regulator that provides the external + reference voltage. + + shutdown-gpios: + description: + GPIO spec for the GPIO pin connected to the ADC's /SHDN pin. If + specified, the /SHDN pin will be asserted between conversions, + thus enabling power-down mode. + maxItems: 1 + +required: + - compatible + - reg + - vdd-supply + - vref-supply + +allOf: + - $ref: /schemas/spi/spi-peripheral-props.yaml# + +unevaluatedProperties: false + +examples: + - | + #include + spi { + #address-cells = <1>; + #size-cells = <0>; + + adc@0 { + compatible = "maxim,max1241"; + reg = <0>; + vdd-supply = <&adc_vdd>; + vref-supply = <&adc_vref>; + spi-max-frequency = <1000000>; + shutdown-gpios = <&gpio 26 1>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/microchip,mcp3201.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/microchip,mcp3201.yaml index ee57f2a243..18108f0f37 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/microchip,mcp3201.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/microchip,mcp3201.yaml @@ -1,79 +1,79 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/adc/microchip,mcp3201.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Microchip mcp3201 and similar ADCs - -maintainers: - - Oskar Andero - -description: | - Family of simple ADCs with a SPI interface. - -properties: - compatible: - enum: - - microchip,mcp3001 - - microchip,mcp3002 - - microchip,mcp3004 - - microchip,mcp3008 - - microchip,mcp3201 - - microchip,mcp3202 - - microchip,mcp3204 - - microchip,mcp3208 - - microchip,mcp3301 - - microchip,mcp3550-50 - - microchip,mcp3550-60 - - microchip,mcp3551 - - microchip,mcp3553 - - reg: - maxItems: 1 - - spi-cpha: true - spi-cpol: true - - vref-supply: - description: External reference. - - "#io-channel-cells": - const: 1 - -dependencies: - spi-cpol: [ spi-cpha ] - spi-cpha: [ spi-cpol ] - -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 = "microchip,mcp3002"; - reg = <0>; - vref-supply = <&vref_reg>; - spi-cpha; - spi-cpol; - #io-channel-cells = <1>; - }; - adc@1 { - compatible = "microchip,mcp3002"; - reg = <1>; - vref-supply = <&vref_reg>; - spi-max-frequency = <1500000>; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/adc/microchip,mcp3201.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Microchip mcp3201 and similar ADCs + +maintainers: + - Oskar Andero + +description: | + Family of simple ADCs with a SPI interface. + +properties: + compatible: + enum: + - microchip,mcp3001 + - microchip,mcp3002 + - microchip,mcp3004 + - microchip,mcp3008 + - microchip,mcp3201 + - microchip,mcp3202 + - microchip,mcp3204 + - microchip,mcp3208 + - microchip,mcp3301 + - microchip,mcp3550-50 + - microchip,mcp3550-60 + - microchip,mcp3551 + - microchip,mcp3553 + + reg: + maxItems: 1 + + spi-cpha: true + spi-cpol: true + + vref-supply: + description: External reference. + + "#io-channel-cells": + const: 1 + +dependencies: + spi-cpol: [ spi-cpha ] + spi-cpha: [ spi-cpol ] + +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 = "microchip,mcp3002"; + reg = <0>; + vref-supply = <&vref_reg>; + spi-cpha; + spi-cpol; + #io-channel-cells = <1>; + }; + adc@1 { + compatible = "microchip,mcp3002"; + reg = <1>; + vref-supply = <&vref_reg>; + spi-max-frequency = <1500000>; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/nuvoton,npcm750-adc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/nuvoton,npcm750-adc.yaml index 878ef6e3f8..fede2aa640 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/nuvoton,npcm750-adc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/nuvoton,npcm750-adc.yaml @@ -1,67 +1,67 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/adc/nuvoton,npcm750-adc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Nuvoton NPCM BMC Analog to Digital Converter (ADC) - -maintainers: - - Tomer Maimon - -description: - The NPCM7XX ADC is a 10-bit converter and NPCM8XX ADC is a 12-bit converter, - both have eight channel inputs. - -properties: - compatible: - enum: - - nuvoton,npcm750-adc - - nuvoton,npcm845-adc - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - description: ADC interrupt, should be set for falling edge. - - resets: - maxItems: 1 - - clocks: - maxItems: 1 - description: If not provided the defulat ADC sample rate will be used. - - vref-supply: - description: If not supplied, the internal voltage reference will be used. - - "#io-channel-cells": - const: 1 - -required: - - compatible - - reg - - interrupts - - resets - -additionalProperties: false - -examples: - - | - #include - #include - #include - #include - soc { - #address-cells = <1>; - #size-cells = <1>; - adc@f000c000 { - compatible = "nuvoton,npcm750-adc"; - reg = <0xf000c000 0x8>; - interrupts = ; - clocks = <&clk NPCM7XX_CLK_ADC>; - resets = <&rstc NPCM7XX_RESET_IPSRST1 NPCM7XX_RESET_ADC>; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/adc/nuvoton,npcm750-adc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Nuvoton NPCM BMC Analog to Digital Converter (ADC) + +maintainers: + - Tomer Maimon + +description: + The NPCM7XX ADC is a 10-bit converter and NPCM8XX ADC is a 12-bit converter, + both have eight channel inputs. + +properties: + compatible: + enum: + - nuvoton,npcm750-adc + - nuvoton,npcm845-adc + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + description: ADC interrupt, should be set for falling edge. + + resets: + maxItems: 1 + + clocks: + maxItems: 1 + description: If not provided the defulat ADC sample rate will be used. + + vref-supply: + description: If not supplied, the internal voltage reference will be used. + + "#io-channel-cells": + const: 1 + +required: + - compatible + - reg + - interrupts + - resets + +additionalProperties: false + +examples: + - | + #include + #include + #include + #include + soc { + #address-cells = <1>; + #size-cells = <1>; + adc@f000c000 { + compatible = "nuvoton,npcm750-adc"; + reg = <0xf000c000 0x8>; + interrupts = ; + clocks = <&clk NPCM7XX_CLK_ADC>; + resets = <&rstc NPCM7XX_RESET_IPSRST1 NPCM7XX_RESET_ADC>; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/nxp,imx8qxp-adc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/nxp,imx8qxp-adc.yaml index 45f049a933..0a192ca192 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/nxp,imx8qxp-adc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/nxp,imx8qxp-adc.yaml @@ -1,85 +1,85 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/adc/nxp,imx8qxp-adc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: NXP IMX8QXP ADC - -maintainers: - - Cai Huoqing - -description: - Supports the ADC found on the IMX8QXP SoC. - -properties: - compatible: - const: nxp,imx8qxp-adc - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - maxItems: 2 - - clock-names: - items: - - const: per - - const: ipg - - assigned-clocks: - maxItems: 1 - - assigned-clock-rates: - maxItems: 1 - - power-domains: - maxItems: 1 - - vref-supply: - description: | - External ADC reference voltage supply on VREFH pad. If VERID[MVI] is - set, there are additional, internal reference voltages selectable. - VREFH1 is always from VREFH pad. - - "#io-channel-cells": - const: 1 - -required: - - compatible - - reg - - interrupts - - clocks - - clock-names - - assigned-clocks - - assigned-clock-rates - - power-domains - - "#io-channel-cells" - -additionalProperties: false - -examples: - - | - #include - #include - soc { - #address-cells = <2>; - #size-cells = <2>; - adc@5a880000 { - compatible = "nxp,imx8qxp-adc"; - reg = <0x0 0x5a880000 0x0 0x10000>; - interrupts = ; - clocks = <&clk IMX_SC_R_ADC_0>, - <&clk IMX_SC_R_ADC_0>; - clock-names = "per", "ipg"; - assigned-clocks = <&clk IMX_SC_R_ADC_0>; - assigned-clock-rates = <24000000>; - power-domains = <&pd IMX_SC_R_ADC_0>; - vref-supply = <®_1v8>; - #io-channel-cells = <1>; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/adc/nxp,imx8qxp-adc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NXP IMX8QXP ADC + +maintainers: + - Cai Huoqing + +description: + Supports the ADC found on the IMX8QXP SoC. + +properties: + compatible: + const: nxp,imx8qxp-adc + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 2 + + clock-names: + items: + - const: per + - const: ipg + + assigned-clocks: + maxItems: 1 + + assigned-clock-rates: + maxItems: 1 + + power-domains: + maxItems: 1 + + vref-supply: + description: | + External ADC reference voltage supply on VREFH pad. If VERID[MVI] is + set, there are additional, internal reference voltages selectable. + VREFH1 is always from VREFH pad. + + "#io-channel-cells": + const: 1 + +required: + - compatible + - reg + - interrupts + - clocks + - clock-names + - assigned-clocks + - assigned-clock-rates + - power-domains + - "#io-channel-cells" + +additionalProperties: false + +examples: + - | + #include + #include + soc { + #address-cells = <2>; + #size-cells = <2>; + adc@5a880000 { + compatible = "nxp,imx8qxp-adc"; + reg = <0x0 0x5a880000 0x0 0x10000>; + interrupts = ; + clocks = <&clk IMX_SC_R_ADC_0>, + <&clk IMX_SC_R_ADC_0>; + clock-names = "per", "ipg"; + assigned-clocks = <&clk IMX_SC_R_ADC_0>; + assigned-clock-rates = <24000000>; + power-domains = <&pd IMX_SC_R_ADC_0>; + vref-supply = <®_1v8>; + #io-channel-cells = <1>; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/qcom,spmi-iadc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/qcom,spmi-iadc.yaml index ed7a7a5f37..5ed893ef5c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/qcom,spmi-iadc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/qcom,spmi-iadc.yaml @@ -1,66 +1,66 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/adc/qcom,spmi-iadc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm's SPMI PMIC current ADC - -maintainers: - - Jonathan Cameron - -description: | - QPNP PMIC current ADC (IADC) provides interface to clients to read current. - A 16 bit ADC is used for current measurements. IADC can measure the current - through an external resistor (channel 1) or internal (built-in) resistor - (channel 0). When using an external resistor it is to be described by - qcom,external-resistor-micro-ohms property. - -properties: - compatible: - items: - - enum: - - qcom,pm8226-iadc - - qcom,pm8941-iadc - - const: qcom,spmi-iadc - - reg: - description: IADC base address in the SPMI PMIC register map - maxItems: 1 - - qcom,external-resistor-micro-ohms: - description: - Sensor resistor value. If not defined value of 10000 micro Ohms - will be used. - - interrupts: - maxItems: 1 - description: - End of conversion interrupt. - - "#io-channel-cells": - const: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - #include - - pmic { - #address-cells = <1>; - #size-cells = <0>; - - adc@3600 { - compatible = "qcom,pm8941-iadc", "qcom,spmi-iadc"; - reg = <0x3600>; - interrupts = <0x0 0x36 0x0 IRQ_TYPE_EDGE_RISING>; - qcom,external-resistor-micro-ohms = <10000>; - #io-channel-cells = <1>; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/adc/qcom,spmi-iadc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm's SPMI PMIC current ADC + +maintainers: + - Jonathan Cameron + +description: | + QPNP PMIC current ADC (IADC) provides interface to clients to read current. + A 16 bit ADC is used for current measurements. IADC can measure the current + through an external resistor (channel 1) or internal (built-in) resistor + (channel 0). When using an external resistor it is to be described by + qcom,external-resistor-micro-ohms property. + +properties: + compatible: + items: + - enum: + - qcom,pm8226-iadc + - qcom,pm8941-iadc + - const: qcom,spmi-iadc + + reg: + description: IADC base address in the SPMI PMIC register map + maxItems: 1 + + qcom,external-resistor-micro-ohms: + description: + Sensor resistor value. If not defined value of 10000 micro Ohms + will be used. + + interrupts: + maxItems: 1 + description: + End of conversion interrupt. + + "#io-channel-cells": + const: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + #include + + pmic { + #address-cells = <1>; + #size-cells = <0>; + + adc@3600 { + compatible = "qcom,pm8941-iadc", "qcom,spmi-iadc"; + reg = <0x3600>; + interrupts = <0x0 0x36 0x0 IRQ_TYPE_EDGE_RISING>; + qcom,external-resistor-micro-ohms = <10000>; + #io-channel-cells = <1>; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/richtek,rtq6056.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/richtek,rtq6056.yaml index a9f9a2f723..af2c3a67f8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/richtek,rtq6056.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/richtek,rtq6056.yaml @@ -1,63 +1,63 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/adc/richtek,rtq6056.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: RTQ6056 Bi-Directional Current and Power Monitor with 16-bit ADC - -maintainers: - - ChiYuan Huang - -description: | - The RTQ6056 is a high accuracy current-sense monitor with I2C and SMBus - interface, and the device provides full information for system by reading - out the loading current and power. - - The device monitors both of the drops across sense resistor and the BUS - voltage, converts into the current in amperes, and power in watts through - internal analog-to-digital converter ADC. The programmable calibration, - adjustable conversion time, and averaging function are also built in for - more design flexibility. - - Datasheet is available at - https://www.richtek.com/assets/product_file/RTQ6056/DSQ6056-00.pdf - -properties: - compatible: - oneOf: - - enum: - - richtek,rtq6056 - - richtek,rtq6059 - - items: - - enum: - - richtek,rtq6053 - - const: richtek,rtq6056 - - reg: - maxItems: 1 - - "#io-channel-cells": - const: 1 - - shunt-resistor-micro-ohms: - description: Shunt IN+/IN- sensing node resistor - -required: - - compatible - - reg - - "#io-channel-cells" - -additionalProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - adc@40 { - compatible = "richtek,rtq6056"; - reg = <0x40>; - #io-channel-cells = <1>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/adc/richtek,rtq6056.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: RTQ6056 Bi-Directional Current and Power Monitor with 16-bit ADC + +maintainers: + - ChiYuan Huang + +description: | + The RTQ6056 is a high accuracy current-sense monitor with I2C and SMBus + interface, and the device provides full information for system by reading + out the loading current and power. + + The device monitors both of the drops across sense resistor and the BUS + voltage, converts into the current in amperes, and power in watts through + internal analog-to-digital converter ADC. The programmable calibration, + adjustable conversion time, and averaging function are also built in for + more design flexibility. + + Datasheet is available at + https://www.richtek.com/assets/product_file/RTQ6056/DSQ6056-00.pdf + +properties: + compatible: + oneOf: + - enum: + - richtek,rtq6056 + - richtek,rtq6059 + - items: + - enum: + - richtek,rtq6053 + - const: richtek,rtq6056 + + reg: + maxItems: 1 + + "#io-channel-cells": + const: 1 + + shunt-resistor-micro-ohms: + description: Shunt IN+/IN- sensing node resistor + +required: + - compatible + - reg + - "#io-channel-cells" + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + adc@40 { + compatible = "richtek,rtq6056"; + reg = <0x40>; + #io-channel-cells = <1>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/sophgo,cv1800b-saradc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/sophgo,cv1800b-saradc.yaml index ad78438a9b..f652b98615 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/sophgo,cv1800b-saradc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/sophgo,cv1800b-saradc.yaml @@ -1,83 +1,83 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/adc/sophgo,cv1800b-saradc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: - Sophgo CV1800B SoC 3 channels Successive Approximation Analog to - Digital Converters - -maintainers: - - Thomas Bonnefille - -description: - Datasheet at https://github.com/sophgo/sophgo-doc/releases - -properties: - compatible: - const: sophgo,cv1800b-saradc - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - maxItems: 1 - - '#address-cells': - const: 1 - - '#size-cells': - const: 0 - -patternProperties: - "^channel@[0-2]$": - $ref: adc.yaml - - properties: - reg: - items: - - minimum: 0 - maximum: 2 - - required: - - reg - - additionalProperties: false - -required: - - compatible - - reg - - clocks - - '#address-cells' - - '#size-cells' - -additionalProperties: false - -examples: - - | - #include - #include - adc@30f0000 { - compatible = "sophgo,cv1800b-saradc"; - reg = <0x030f0000 0x1000>; - clocks = <&clk CLK_SARADC>; - interrupts = <100 IRQ_TYPE_LEVEL_HIGH>; - #address-cells = <1>; - #size-cells = <0>; - - channel@0 { - reg = <0>; - }; - - channel@1 { - reg = <1>; - }; - - channel@2 { - reg = <2>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/adc/sophgo,cv1800b-saradc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: + Sophgo CV1800B SoC 3 channels Successive Approximation Analog to + Digital Converters + +maintainers: + - Thomas Bonnefille + +description: + Datasheet at https://github.com/sophgo/sophgo-doc/releases + +properties: + compatible: + const: sophgo,cv1800b-saradc + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + + '#address-cells': + const: 1 + + '#size-cells': + const: 0 + +patternProperties: + "^channel@[0-2]$": + $ref: adc.yaml + + properties: + reg: + items: + - minimum: 0 + maximum: 2 + + required: + - reg + + additionalProperties: false + +required: + - compatible + - reg + - clocks + - '#address-cells' + - '#size-cells' + +additionalProperties: false + +examples: + - | + #include + #include + adc@30f0000 { + compatible = "sophgo,cv1800b-saradc"; + reg = <0x030f0000 0x1000>; + clocks = <&clk CLK_SARADC>; + interrupts = <100 IRQ_TYPE_LEVEL_HIGH>; + #address-cells = <1>; + #size-cells = <0>; + + channel@0 { + reg = <0>; + }; + + channel@1 { + reg = <1>; + }; + + channel@2 { + reg = <2>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/ti,ads1298.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/ti,ads1298.yaml index 7128a4219f..bf5a43a81d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/ti,ads1298.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/ti,ads1298.yaml @@ -1,80 +1,80 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/adc/ti,ads1298.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Texas Instruments' ads1298 medical ADC chips - -description: | - Datasheet at: https://www.ti.com/product/ADS1298 - Bindings for this chip aren't complete. - -maintainers: - - Mike Looijmans - -properties: - compatible: - enum: - - ti,ads1298 - - reg: - maxItems: 1 - - spi-cpha: true - - reset-gpios: - maxItems: 1 - - avdd-supply: - description: - Analog power supply, voltage between AVDD and AVSS. When providing a - symmetric +/- 2.5V, the regulator should report 5V. - - vref-supply: - description: - Optional reference voltage. If omitted, internal reference is used, - which is 2.4V when analog supply is below 4.4V, 4V otherwise. - - clocks: - description: Optional 2.048 MHz external source clock on CLK pin - maxItems: 1 - - interrupts: - description: Interrupt on DRDY pin, triggers on falling edge - maxItems: 1 - - label: true - -required: - - compatible - - reg - - avdd-supply - - interrupts - -allOf: - - $ref: /schemas/spi/spi-peripheral-props.yaml# - -unevaluatedProperties: false - -examples: - - | - #include - #include - spi { - #address-cells = <1>; - #size-cells = <0>; - - adc@1 { - reg = <1>; - compatible = "ti,ads1298"; - label = "ads1298-1-ecg"; - avdd-supply = <®_iso_5v_a>; - clocks = <&clk_ads1298>; - interrupt-parent = <&gpio0>; - interrupts = <78 IRQ_TYPE_EDGE_FALLING>; - spi-max-frequency = <20000000>; - spi-cpha; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/adc/ti,ads1298.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Texas Instruments' ads1298 medical ADC chips + +description: | + Datasheet at: https://www.ti.com/product/ADS1298 + Bindings for this chip aren't complete. + +maintainers: + - Mike Looijmans + +properties: + compatible: + enum: + - ti,ads1298 + + reg: + maxItems: 1 + + spi-cpha: true + + reset-gpios: + maxItems: 1 + + avdd-supply: + description: + Analog power supply, voltage between AVDD and AVSS. When providing a + symmetric +/- 2.5V, the regulator should report 5V. + + vref-supply: + description: + Optional reference voltage. If omitted, internal reference is used, + which is 2.4V when analog supply is below 4.4V, 4V otherwise. + + clocks: + description: Optional 2.048 MHz external source clock on CLK pin + maxItems: 1 + + interrupts: + description: Interrupt on DRDY pin, triggers on falling edge + maxItems: 1 + + label: true + +required: + - compatible + - reg + - avdd-supply + - interrupts + +allOf: + - $ref: /schemas/spi/spi-peripheral-props.yaml# + +unevaluatedProperties: false + +examples: + - | + #include + #include + spi { + #address-cells = <1>; + #size-cells = <0>; + + adc@1 { + reg = <1>; + compatible = "ti,ads1298"; + label = "ads1298-1-ecg"; + avdd-supply = <®_iso_5v_a>; + clocks = <&clk_ads1298>; + interrupt-parent = <&gpio0>; + interrupts = <78 IRQ_TYPE_EDGE_FALLING>; + spi-max-frequency = <20000000>; + spi-cpha; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/ti,lmp92064.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/ti,lmp92064.yaml index dec09c4ce9..5fb65bf774 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/ti,lmp92064.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/ti,lmp92064.yaml @@ -1,70 +1,70 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/adc/ti,lmp92064.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Texas Instruments LMP92064 Precision Current and Voltage Sensor. - -maintainers: - - Leonard Göhrs - -description: | - The LMP92064 is a two channel ADC intended for combined voltage and current - measurements. - - The device contains two ADCs to allow simultaneous sampling of voltage and - current and thus of instantaneous power consumption. - -properties: - compatible: - enum: - - ti,lmp92064 - - reg: - maxItems: 1 - - vdd-supply: - description: Regulator that provides power to the main part of the chip - - vdig-supply: - description: | - Regulator that provides power to the digital I/O part of the chip - - shunt-resistor-micro-ohms: - description: | - Value of the shunt resistor (in µΩ) connected between INCP and INCN, - across which current is measured. Used to provide correct scaling of the - raw ADC measurement. - - reset-gpios: - maxItems: 1 - -required: - - compatible - - reg - - shunt-resistor-micro-ohms - -allOf: - - $ref: /schemas/spi/spi-peripheral-props.yaml# - -unevaluatedProperties: false - -examples: - - | - #include - spi { - #address-cells = <1>; - #size-cells = <0>; - - adc@0 { - compatible = "ti,lmp92064"; - reg = <0>; - vdd-supply = <&vdd>; - vdig-supply = <&vdd>; - spi-max-frequency = <20000000>; - shunt-resistor-micro-ohms = <15000>; - reset-gpios = <&gpio1 16 GPIO_ACTIVE_HIGH>; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/adc/ti,lmp92064.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Texas Instruments LMP92064 Precision Current and Voltage Sensor. + +maintainers: + - Leonard Göhrs + +description: | + The LMP92064 is a two channel ADC intended for combined voltage and current + measurements. + + The device contains two ADCs to allow simultaneous sampling of voltage and + current and thus of instantaneous power consumption. + +properties: + compatible: + enum: + - ti,lmp92064 + + reg: + maxItems: 1 + + vdd-supply: + description: Regulator that provides power to the main part of the chip + + vdig-supply: + description: | + Regulator that provides power to the digital I/O part of the chip + + shunt-resistor-micro-ohms: + description: | + Value of the shunt resistor (in µΩ) connected between INCP and INCN, + across which current is measured. Used to provide correct scaling of the + raw ADC measurement. + + reset-gpios: + maxItems: 1 + +required: + - compatible + - reg + - shunt-resistor-micro-ohms + +allOf: + - $ref: /schemas/spi/spi-peripheral-props.yaml# + +unevaluatedProperties: false + +examples: + - | + #include + spi { + #address-cells = <1>; + #size-cells = <0>; + + adc@0 { + compatible = "ti,lmp92064"; + reg = <0>; + vdd-supply = <&vdd>; + vdig-supply = <&vdd>; + spi-max-frequency = <20000000>; + shunt-resistor-micro-ohms = <15000>; + reset-gpios = <&gpio1 16 GPIO_ACTIVE_HIGH>; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/ti,palmas-gpadc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/ti,palmas-gpadc.yaml index fb611535cd..f94057d8f6 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/ti,palmas-gpadc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/ti,palmas-gpadc.yaml @@ -1,70 +1,70 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/adc/ti,palmas-gpadc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Palmas general purpose ADC IP block - -maintainers: - - Tony Lindgren - -description: | - This ADC is often used to provide channels via the io-channels - consumer framework. - Channels list: - 0 battery type - 1 battery temp NTC (optional current source) - 2 GP - 3 temp (with ext. diode, optional current source) - 4 GP - 5 GP - 6 VBAT_SENSE - 7 VCC_SENSE - 8 Backup Battery voltage - 9 external charger (VCHG) - 10 VBUS - 11 DC-DC current probe (how does this work?) - 12 internal die temp - 13 internal die temp - 14 USB ID pin voltage - 15 test network - -properties: - compatible: - const: ti,palmas-gpadc - - interrupts: - minItems: 1 - maxItems: 3 - - "#io-channel-cells": - const: 1 - - ti,channel0-current-microamp: - description: Channel 0 current in uA. - enum: - - 0 - - 5 - - 15 - - 20 - - ti,channel3-current-microamp: - description: Channel 3 current in uA. - enum: - - 0 - - 10 - - 400 - - 800 - - ti,enable-extended-delay: - $ref: /schemas/types.yaml#/definitions/flag - description: Enable extended delay. - -additionalProperties: false - -required: - - compatible - - "#io-channel-cells" - -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/adc/ti,palmas-gpadc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Palmas general purpose ADC IP block + +maintainers: + - Tony Lindgren + +description: | + This ADC is often used to provide channels via the io-channels + consumer framework. + Channels list: + 0 battery type + 1 battery temp NTC (optional current source) + 2 GP + 3 temp (with ext. diode, optional current source) + 4 GP + 5 GP + 6 VBAT_SENSE + 7 VCC_SENSE + 8 Backup Battery voltage + 9 external charger (VCHG) + 10 VBUS + 11 DC-DC current probe (how does this work?) + 12 internal die temp + 13 internal die temp + 14 USB ID pin voltage + 15 test network + +properties: + compatible: + const: ti,palmas-gpadc + + interrupts: + minItems: 1 + maxItems: 3 + + "#io-channel-cells": + const: 1 + + ti,channel0-current-microamp: + description: Channel 0 current in uA. + enum: + - 0 + - 5 + - 15 + - 20 + + ti,channel3-current-microamp: + description: Channel 3 current in uA. + enum: + - 0 + - 10 + - 400 + - 800 + + ti,enable-extended-delay: + $ref: /schemas/types.yaml#/definitions/flag + description: Enable extended delay. + +additionalProperties: false + +required: + - compatible + - "#io-channel-cells" + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/x-powers,axp209-adc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/x-powers,axp209-adc.yaml index f67a3b70cd..1caa896fce 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/x-powers,axp209-adc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/x-powers,axp209-adc.yaml @@ -1,86 +1,86 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/adc/x-powers,axp209-adc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: X-Powers AXP ADC - -maintainers: - - Chen-Yu Tsai - -description: | - ADC is frequently used as a provider to consumers of the ADC channels. - Device is a child of an axp209 multifunction device - ADC channels and their indexes per variant: - - AXP209 - ------ - 0 | acin_v - 1 | acin_i - 2 | vbus_v - 3 | vbus_i - 4 | pmic_temp - 5 | gpio0_v - 6 | gpio1_v - 7 | ipsout_v - 8 | batt_v - 9 | batt_chrg_i - 10 | batt_dischrg_i - 11 | ts_v - - AXP22x - ------ - 0 | pmic_temp - 1 | batt_v - 2 | batt_chrg_i - 3 | batt_dischrg_i - 4 | ts_v - - AXP717 - ------ - 0 | batt_v - 1 | ts_v - 2 | vbus_v - 3 | vsys_v - 4 | pmic_temp - 5 | batt_chrg_i - 6 | vmid_v - 7 | bkup_batt_v - - AXP813 - ------ - 0 | pmic_temp - 1 | gpio0_v - 2 | batt_v - 3 | batt_chrg_i - 4 | batt_dischrg_i - 5 | ts_v - - -properties: - compatible: - oneOf: - - const: x-powers,axp209-adc - - const: x-powers,axp221-adc - - const: x-powers,axp717-adc - - const: x-powers,axp813-adc - - - items: - - const: x-powers,axp803-adc - - const: x-powers,axp813-adc - - "#io-channel-cells": - const: 1 - -additionalProperties: false - -examples: - - | - axp221 { - adc { - compatible = "x-powers,axp221-adc"; - #io-channel-cells = <1>; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/adc/x-powers,axp209-adc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: X-Powers AXP ADC + +maintainers: + - Chen-Yu Tsai + +description: | + ADC is frequently used as a provider to consumers of the ADC channels. + Device is a child of an axp209 multifunction device + ADC channels and their indexes per variant: + + AXP209 + ------ + 0 | acin_v + 1 | acin_i + 2 | vbus_v + 3 | vbus_i + 4 | pmic_temp + 5 | gpio0_v + 6 | gpio1_v + 7 | ipsout_v + 8 | batt_v + 9 | batt_chrg_i + 10 | batt_dischrg_i + 11 | ts_v + + AXP22x + ------ + 0 | pmic_temp + 1 | batt_v + 2 | batt_chrg_i + 3 | batt_dischrg_i + 4 | ts_v + + AXP717 + ------ + 0 | batt_v + 1 | ts_v + 2 | vbus_v + 3 | vsys_v + 4 | pmic_temp + 5 | batt_chrg_i + 6 | vmid_v + 7 | bkup_batt_v + + AXP813 + ------ + 0 | pmic_temp + 1 | gpio0_v + 2 | batt_v + 3 | batt_chrg_i + 4 | batt_dischrg_i + 5 | ts_v + + +properties: + compatible: + oneOf: + - const: x-powers,axp209-adc + - const: x-powers,axp221-adc + - const: x-powers,axp717-adc + - const: x-powers,axp813-adc + + - items: + - const: x-powers,axp803-adc + - const: x-powers,axp813-adc + + "#io-channel-cells": + const: 1 + +additionalProperties: false + +examples: + - | + axp221 { + adc { + compatible = "x-powers,axp221-adc"; + #io-channel-cells = <1>; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/afe/current-sense-shunt.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/afe/current-sense-shunt.yaml index 368f393c33..f8a112c9a8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/afe/current-sense-shunt.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/afe/current-sense-shunt.yaml @@ -1,68 +1,68 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/afe/current-sense-shunt.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Current Sense Shunt - -maintainers: - - Peter Rosin - -description: | - When an io-channel measures the voltage over a current sense shunt, - the interesting measurement is almost always the current through the - shunt, not the voltage over it. This binding describes such a current - sense circuit. - -properties: - compatible: - const: current-sense-shunt - - io-channels: - maxItems: 1 - description: | - Channel node of a voltage io-channel. - - "#io-channel-cells": - const: 0 - - shunt-resistor-micro-ohms: - description: The shunt resistance. - -required: - - compatible - - io-channels - - shunt-resistor-micro-ohms - -additionalProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - tiadc: adc@48 { - compatible = "ti,ads1015"; - reg = <0x48>; - #io-channel-cells = <1>; - - #address-cells = <1>; - #size-cells = <0>; - - channel@0 { /* IN0,IN1 differential */ - reg = <0>; - ti,gain = <1>; - ti,datarate = <4>; - }; - }; - }; - sysi { - compatible = "current-sense-shunt"; - io-channels = <&tiadc 0>; - #io-channel-cells = <0>; - - /* Divide the voltage by 3300000/1000000 (or 3.3) for the current. */ - shunt-resistor-micro-ohms = <3300000>; - }; -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/afe/current-sense-shunt.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Current Sense Shunt + +maintainers: + - Peter Rosin + +description: | + When an io-channel measures the voltage over a current sense shunt, + the interesting measurement is almost always the current through the + shunt, not the voltage over it. This binding describes such a current + sense circuit. + +properties: + compatible: + const: current-sense-shunt + + io-channels: + maxItems: 1 + description: | + Channel node of a voltage io-channel. + + "#io-channel-cells": + const: 0 + + shunt-resistor-micro-ohms: + description: The shunt resistance. + +required: + - compatible + - io-channels + - shunt-resistor-micro-ohms + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + tiadc: adc@48 { + compatible = "ti,ads1015"; + reg = <0x48>; + #io-channel-cells = <1>; + + #address-cells = <1>; + #size-cells = <0>; + + channel@0 { /* IN0,IN1 differential */ + reg = <0>; + ti,gain = <1>; + ti,datarate = <4>; + }; + }; + }; + sysi { + compatible = "current-sense-shunt"; + io-channels = <&tiadc 0>; + #io-channel-cells = <0>; + + /* Divide the voltage by 3300000/1000000 (or 3.3) for the current. */ + shunt-resistor-micro-ohms = <3300000>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/chemical/atlas,sensor.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/chemical/atlas,sensor.yaml index 86516b5cf4..4646deeb6f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/chemical/atlas,sensor.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/chemical/atlas,sensor.yaml @@ -1,61 +1,61 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/chemical/atlas,sensor.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Atlas Scientific OEM + EZO sensors - -maintainers: - - Matt Ranostay - -description: | - Atlas Scientific OEM + EZO sensors connected via I2C - - Datasheets: - http://www.atlas-scientific.com/_files/_datasheets/_oem/DO_oem_datasheet.pdf - http://www.atlas-scientific.com/_files/_datasheets/_oem/EC_oem_datasheet.pdf - http://www.atlas-scientific.com/_files/_datasheets/_oem/ORP_oem_datasheet.pdf - http://www.atlas-scientific.com/_files/_datasheets/_oem/pH_oem_datasheet.pdf - http://www.atlas-scientific.com/_files/_datasheets/_oem/RTD_oem_datasheet.pdf - http://www.atlas-scientific.com/_files/_datasheets/_probe/EZO_CO2_Datasheet.pdf - https://www.atlas-scientific.com/files/EZO_O2_datasheet.pdf - https://www.atlas-scientific.com/files/EZO_HUM_Datasheet.pdf - -properties: - compatible: - enum: - - atlas,do-sm - - atlas,ec-sm - - atlas,orp-sm - - atlas,ph-sm - - atlas,rtd-sm - - atlas,co2-ezo - - atlas,o2-ezo - - atlas,hum-ezo - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - atlas@66 { - compatible = "atlas,orp-sm"; - reg = <0x66>; - interrupt-parent = <&gpio1>; - interrupts = <16 2>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/chemical/atlas,sensor.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Atlas Scientific OEM + EZO sensors + +maintainers: + - Matt Ranostay + +description: | + Atlas Scientific OEM + EZO sensors connected via I2C + + Datasheets: + http://www.atlas-scientific.com/_files/_datasheets/_oem/DO_oem_datasheet.pdf + http://www.atlas-scientific.com/_files/_datasheets/_oem/EC_oem_datasheet.pdf + http://www.atlas-scientific.com/_files/_datasheets/_oem/ORP_oem_datasheet.pdf + http://www.atlas-scientific.com/_files/_datasheets/_oem/pH_oem_datasheet.pdf + http://www.atlas-scientific.com/_files/_datasheets/_oem/RTD_oem_datasheet.pdf + http://www.atlas-scientific.com/_files/_datasheets/_probe/EZO_CO2_Datasheet.pdf + https://www.atlas-scientific.com/files/EZO_O2_datasheet.pdf + https://www.atlas-scientific.com/files/EZO_HUM_Datasheet.pdf + +properties: + compatible: + enum: + - atlas,do-sm + - atlas,ec-sm + - atlas,orp-sm + - atlas,ph-sm + - atlas,rtd-sm + - atlas,co2-ezo + - atlas,o2-ezo + - atlas,hum-ezo + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + atlas@66 { + compatible = "atlas,orp-sm"; + reg = <0x66>; + interrupt-parent = <&gpio1>; + interrupts = <16 2>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/chemical/sciosense,ens160.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/chemical/sciosense,ens160.yaml index c81169b1b3..267033a68a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/chemical/sciosense,ens160.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/chemical/sciosense,ens160.yaml @@ -1,70 +1,70 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/chemical/sciosense,ens160.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: ScioSense ENS160 multi-gas sensor - -maintainers: - - Gustavo Silva - -description: | - Digital Multi-Gas Sensor for Monitoring Indoor Air Quality. - - Datasheet: - https://www.sciosense.com/wp-content/uploads/2023/12/ENS160-Datasheet.pdf - -properties: - compatible: - enum: - - sciosense,ens160 - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - vdd-supply: true - vddio-supply: true - -required: - - compatible - - reg - -allOf: - - $ref: /schemas/spi/spi-peripheral-props.yaml# - -unevaluatedProperties: false - -examples: - - | - #include - i2c { - #address-cells = <1>; - #size-cells = <0>; - - gas-sensor@52 { - compatible = "sciosense,ens160"; - reg = <0x52>; - interrupt-parent = <&gpio0>; - interrupts = <19 IRQ_TYPE_EDGE_FALLING>; - }; - }; - - | - #include - spi { - #address-cells = <1>; - #size-cells = <0>; - - gas-sensor@0 { - compatible = "sciosense,ens160"; - reg = <0>; - spi-max-frequency = <10000000>; - interrupt-parent = <&gpio>; - interrupts = <19 IRQ_TYPE_EDGE_FALLING>; - }; - }; - -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/chemical/sciosense,ens160.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ScioSense ENS160 multi-gas sensor + +maintainers: + - Gustavo Silva + +description: | + Digital Multi-Gas Sensor for Monitoring Indoor Air Quality. + + Datasheet: + https://www.sciosense.com/wp-content/uploads/2023/12/ENS160-Datasheet.pdf + +properties: + compatible: + enum: + - sciosense,ens160 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + vdd-supply: true + vddio-supply: true + +required: + - compatible + - reg + +allOf: + - $ref: /schemas/spi/spi-peripheral-props.yaml# + +unevaluatedProperties: false + +examples: + - | + #include + i2c { + #address-cells = <1>; + #size-cells = <0>; + + gas-sensor@52 { + compatible = "sciosense,ens160"; + reg = <0x52>; + interrupt-parent = <&gpio0>; + interrupts = <19 IRQ_TYPE_EDGE_FALLING>; + }; + }; + - | + #include + spi { + #address-cells = <1>; + #size-cells = <0>; + + gas-sensor@0 { + compatible = "sciosense,ens160"; + reg = <0>; + spi-max-frequency = <10000000>; + interrupt-parent = <&gpio>; + interrupts = <19 IRQ_TYPE_EDGE_FALLING>; + }; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/chemical/senseair,sunrise.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/chemical/senseair,sunrise.yaml index d5bf436d17..337fe09e4b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/chemical/senseair,sunrise.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/chemical/senseair,sunrise.yaml @@ -1,55 +1,55 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/chemical/senseair,sunrise.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Senseair Sunrise 006-0-0007 CO2 Sensor - -maintainers: - - Jacopo Mondi - -description: | - Senseair Sunrise 006-0-0007 is a NDIR CO2 sensor. It supports I2C or UART buses - for communications and control. - - Datasheets: - https://rmtplusstoragesenseair.blob.core.windows.net/docs/Dev/publicerat/PSP11704.pdf - https://rmtplusstoragesenseair.blob.core.windows.net/docs/Dev/publicerat/PSH11649.pdf - https://rmtplusstoragesenseair.blob.core.windows.net/docs/Dev/publicerat/TDE5531.pdf - https://rmtplusstoragesenseair.blob.core.windows.net/docs/Market/publicerat/TDE7318.pdf - -properties: - compatible: - const: senseair,sunrise-006-0-0007 - - reg: - maxItems: 1 - - ndry-gpios: - maxItems: 1 - description: - Phandle to the GPIO line connected to the nDRY pin. Typically active low. - - en-gpios: - maxItems: 1 - description: - Phandle to the GPIO line connected to the EN pin. Typically active high. - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - co2-sensor@68 { - compatible = "senseair,sunrise-006-0-0007"; - reg = <0x68>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/chemical/senseair,sunrise.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Senseair Sunrise 006-0-0007 CO2 Sensor + +maintainers: + - Jacopo Mondi + +description: | + Senseair Sunrise 006-0-0007 is a NDIR CO2 sensor. It supports I2C or UART buses + for communications and control. + + Datasheets: + https://rmtplusstoragesenseair.blob.core.windows.net/docs/Dev/publicerat/PSP11704.pdf + https://rmtplusstoragesenseair.blob.core.windows.net/docs/Dev/publicerat/PSH11649.pdf + https://rmtplusstoragesenseair.blob.core.windows.net/docs/Dev/publicerat/TDE5531.pdf + https://rmtplusstoragesenseair.blob.core.windows.net/docs/Market/publicerat/TDE7318.pdf + +properties: + compatible: + const: senseair,sunrise-006-0-0007 + + reg: + maxItems: 1 + + ndry-gpios: + maxItems: 1 + description: + Phandle to the GPIO line connected to the nDRY pin. Typically active low. + + en-gpios: + maxItems: 1 + description: + Phandle to the GPIO line connected to the EN pin. Typically active high. + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + co2-sensor@68 { + compatible = "senseair,sunrise-006-0-0007"; + reg = <0x68>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/chemical/sensirion,scd30.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/chemical/sensirion,scd30.yaml index 126126400d..40d87346ff 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/chemical/sensirion,scd30.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/chemical/sensirion,scd30.yaml @@ -1,68 +1,68 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/chemical/sensirion,scd30.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Sensirion SCD30 carbon dioxide sensor - -maintainers: - - Tomasz Duszynski - -description: | - Air quality sensor capable of measuring co2 concentration, temperature - and relative humidity. - -properties: - compatible: - enum: - - sensirion,scd30 - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - vdd-supply: true - - sensirion,sel-gpios: - description: GPIO connected to the SEL line - maxItems: 1 - - sensirion,pwm-gpios: - description: GPIO connected to the PWM line - maxItems: 1 - -required: - - compatible - -additionalProperties: false - -examples: - - | - # include - i2c { - #address-cells = <1>; - #size-cells = <0>; - - co2-sensor@61 { - compatible = "sensirion,scd30"; - reg = <0x61>; - vdd-supply = <&vdd>; - interrupt-parent = <&gpio0>; - interrupts = <0 IRQ_TYPE_LEVEL_HIGH>; - }; - }; - - | - # include - serial { - co2-sensor { - compatible = "sensirion,scd30"; - vdd-supply = <&vdd>; - interrupt-parent = <&gpio0>; - interrupts = <0 IRQ_TYPE_LEVEL_HIGH>; - }; - }; - -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/chemical/sensirion,scd30.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Sensirion SCD30 carbon dioxide sensor + +maintainers: + - Tomasz Duszynski + +description: | + Air quality sensor capable of measuring co2 concentration, temperature + and relative humidity. + +properties: + compatible: + enum: + - sensirion,scd30 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + vdd-supply: true + + sensirion,sel-gpios: + description: GPIO connected to the SEL line + maxItems: 1 + + sensirion,pwm-gpios: + description: GPIO connected to the PWM line + maxItems: 1 + +required: + - compatible + +additionalProperties: false + +examples: + - | + # include + i2c { + #address-cells = <1>; + #size-cells = <0>; + + co2-sensor@61 { + compatible = "sensirion,scd30"; + reg = <0x61>; + vdd-supply = <&vdd>; + interrupt-parent = <&gpio0>; + interrupts = <0 IRQ_TYPE_LEVEL_HIGH>; + }; + }; + - | + # include + serial { + co2-sensor { + compatible = "sensirion,scd30"; + vdd-supply = <&vdd>; + interrupt-parent = <&gpio0>; + interrupts = <0 IRQ_TYPE_LEVEL_HIGH>; + }; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/dac/adi,ad5360.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/dac/adi,ad5360.yaml index 9de95bb829..86e2884cdf 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/dac/adi,ad5360.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/dac/adi,ad5360.yaml @@ -1,78 +1,78 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/dac/adi,ad5360.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Analog Devices AD5360 and similar DACs - -maintainers: - - Lars-Peter Clausen - - Jonathan Cameron - -properties: - compatible: - enum: - - adi,ad5360 - - adi,ad5361 - - adi,ad5363 - - adi,ad5370 - - adi,ad5371 - - adi,ad5372 - - adi,ad5373 - - reg: - maxItems: 1 - - vref0-supply: true - vref1-supply: true - vref2-supply: true - -required: - - compatible - - reg - - vref0-supply - - vref1-supply - -allOf: - - $ref: /schemas/spi/spi-peripheral-props.yaml# - - if: - properties: - compatible: - contains: - enum: - - adi,ad5360 - - adi,ad5361 - - adi,ad5363 - - adi,ad5370 - - adi,ad5372 - - adi,ad5373 - then: - properties: - vref2-supply: false - - if: - properties: - compatible: - contains: - enum: - - adi,ad5371 - then: - required: - - vref2-supply - -unevaluatedProperties: false - -examples: - - | - spi { - #address-cells = <1>; - #size-cells = <0>; - dac@0 { - reg = <0>; - compatible = "adi,ad5371"; - vref0-supply = <&dac_vref0>; - vref1-supply = <&dac_vref1>; - vref2-supply = <&dac_vref2>; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/dac/adi,ad5360.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Analog Devices AD5360 and similar DACs + +maintainers: + - Lars-Peter Clausen + - Jonathan Cameron + +properties: + compatible: + enum: + - adi,ad5360 + - adi,ad5361 + - adi,ad5363 + - adi,ad5370 + - adi,ad5371 + - adi,ad5372 + - adi,ad5373 + + reg: + maxItems: 1 + + vref0-supply: true + vref1-supply: true + vref2-supply: true + +required: + - compatible + - reg + - vref0-supply + - vref1-supply + +allOf: + - $ref: /schemas/spi/spi-peripheral-props.yaml# + - if: + properties: + compatible: + contains: + enum: + - adi,ad5360 + - adi,ad5361 + - adi,ad5363 + - adi,ad5370 + - adi,ad5372 + - adi,ad5373 + then: + properties: + vref2-supply: false + - if: + properties: + compatible: + contains: + enum: + - adi,ad5371 + then: + required: + - vref2-supply + +unevaluatedProperties: false + +examples: + - | + spi { + #address-cells = <1>; + #size-cells = <0>; + dac@0 { + reg = <0>; + compatible = "adi,ad5371"; + vref0-supply = <&dac_vref0>; + vref1-supply = <&dac_vref1>; + vref2-supply = <&dac_vref2>; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/dac/adi,ad5380.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/dac/adi,ad5380.yaml index 6e1bc8cec1..9eb9928500 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/dac/adi,ad5380.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/dac/adi,ad5380.yaml @@ -1,72 +1,72 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/dac/adi,ad5380.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Analog Devices AD5380 and similar DACs - -maintainers: - - Lars-Peter Clausen - - Jonathan Cameron - -description: | - DAC devices supporting both SPI and I2C interfaces. - -properties: - compatible: - enum: - - adi,ad5380-3 - - adi,ad5380-5 - - adi,ad5381-3 - - adi,ad5381-5 - - adi,ad5382-3 - - adi,ad5382-5 - - adi,ad5383-3 - - adi,ad5383-5 - - adi,ad5384-3 - - adi,ad5384-5 - - adi,ad5390-3 - - adi,ad5390-5 - - adi,ad5391-3 - - adi,ad5391-5 - - adi,ad5392-3 - - adi,ad5392-5 - - reg: - maxItems: 1 - - vref-supply: - description: - If not supplied devices will use internal regulators. - -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,ad5390-5"; - vref-supply = <&dacvref>; - }; - }; - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - dac@42 { - reg = <0x42>; - compatible = "adi,ad5380-3"; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/dac/adi,ad5380.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Analog Devices AD5380 and similar DACs + +maintainers: + - Lars-Peter Clausen + - Jonathan Cameron + +description: | + DAC devices supporting both SPI and I2C interfaces. + +properties: + compatible: + enum: + - adi,ad5380-3 + - adi,ad5380-5 + - adi,ad5381-3 + - adi,ad5381-5 + - adi,ad5382-3 + - adi,ad5382-5 + - adi,ad5383-3 + - adi,ad5383-5 + - adi,ad5384-3 + - adi,ad5384-5 + - adi,ad5390-3 + - adi,ad5390-5 + - adi,ad5391-3 + - adi,ad5391-5 + - adi,ad5392-3 + - adi,ad5392-5 + + reg: + maxItems: 1 + + vref-supply: + description: + If not supplied devices will use internal regulators. + +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,ad5390-5"; + vref-supply = <&dacvref>; + }; + }; + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + dac@42 { + reg = <0x42>; + compatible = "adi,ad5380-3"; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/dac/adi,ad5766.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/dac/adi,ad5766.yaml index a576eb7679..212c936bab 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/dac/adi,ad5766.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/dac/adi,ad5766.yaml @@ -1,65 +1,65 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -# Copyright 2020 Analog Devices Inc. -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/dac/adi,ad5766.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Analog Devices AD5766 DAC device driver - -maintainers: - - Nuno Sá - -description: | - Bindings for the Analog Devices AD5766 current DAC device. Datasheet can be - found here: - https://www.analog.com/media/en/technical-documentation/data-sheets/ad5766-5767.pdf - -properties: - compatible: - enum: - - adi,ad5766 - - adi,ad5767 - - output-range-microvolts: - $ref: /schemas/types.yaml#/definitions/int32-array - maxItems: 2 - description: Select converter output range. - - reg: - maxItems: 1 - - spi-max-frequency: - maximum: 1000000 - - spi-cpol: true - - reset-gpios: - description: GPIO spec for the RESET pin. As the line is active low, it - should be marked GPIO_ACTIVE_LOW. - maxItems: 1 - -required: - - compatible - - output-range-microvolts - - reg - - spi-max-frequency - - spi-cpol - -additionalProperties: false - -examples: - - | - spi { - #address-cells = <1>; - #size-cells = <0>; - - ad5766@0 { - compatible = "adi,ad5766"; - output-range-microvolts = <(-5000000) 5000000>; - reg = <0>; - spi-cpol; - spi-max-frequency = <1000000>; - reset-gpios = <&gpio 22 0>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +# Copyright 2020 Analog Devices Inc. +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/dac/adi,ad5766.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Analog Devices AD5766 DAC device driver + +maintainers: + - Nuno Sá + +description: | + Bindings for the Analog Devices AD5766 current DAC device. Datasheet can be + found here: + https://www.analog.com/media/en/technical-documentation/data-sheets/ad5766-5767.pdf + +properties: + compatible: + enum: + - adi,ad5766 + - adi,ad5767 + + output-range-microvolts: + $ref: /schemas/types.yaml#/definitions/int32-array + maxItems: 2 + description: Select converter output range. + + reg: + maxItems: 1 + + spi-max-frequency: + maximum: 1000000 + + spi-cpol: true + + reset-gpios: + description: GPIO spec for the RESET pin. As the line is active low, it + should be marked GPIO_ACTIVE_LOW. + maxItems: 1 + +required: + - compatible + - output-range-microvolts + - reg + - spi-max-frequency + - spi-cpol + +additionalProperties: false + +examples: + - | + spi { + #address-cells = <1>; + #size-cells = <0>; + + ad5766@0 { + compatible = "adi,ad5766"; + output-range-microvolts = <(-5000000) 5000000>; + reg = <0>; + spi-cpol; + spi-max-frequency = <1000000>; + reset-gpios = <&gpio 22 0>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/dac/dpot-dac.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/dac/dpot-dac.yaml index 80c975f4ed..6a7ca8e432 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/dac/dpot-dac.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/dac/dpot-dac.yaml @@ -1,64 +1,64 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/dac/dpot-dac.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: DAC emulation using a digital potentiometer - -maintainers: - - Peter Rosin - -description: | - It is assumed that the dpot is used as a voltage divider between the - current dpot wiper setting and the maximum resistance of the dpot. The - divided voltage is provided by a vref regulator. - - .------. - .-----------. | | - | vref |--' .---. - | regulator |--. | | - '-----------' | | d | - | | p | - | | o | wiper - | | t |<---------+ - | | | - | '---' dac output voltage - | | - '------+------------+ - -properties: - compatible: - const: dpot-dac - - vref-supply: - description: Regulator supplying the voltage divider. - - io-channels: - maxItems: 1 - description: | - Channel node of the dpot to be used for the voltage division. - - io-channel-names: - const: dpot - - "#io-channel-cells": - const: 1 - -required: - - compatible - - vref-supply - - io-channels - - io-channel-names - -additionalProperties: false - -examples: - - | - dac { - compatible = "dpot-dac"; - vref-supply = <®_3v3>; - io-channels = <&dpot 0>; - io-channel-names = "dpot"; - }; -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/dac/dpot-dac.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: DAC emulation using a digital potentiometer + +maintainers: + - Peter Rosin + +description: | + It is assumed that the dpot is used as a voltage divider between the + current dpot wiper setting and the maximum resistance of the dpot. The + divided voltage is provided by a vref regulator. + + .------. + .-----------. | | + | vref |--' .---. + | regulator |--. | | + '-----------' | | d | + | | p | + | | o | wiper + | | t |<---------+ + | | | + | '---' dac output voltage + | | + '------+------------+ + +properties: + compatible: + const: dpot-dac + + vref-supply: + description: Regulator supplying the voltage divider. + + io-channels: + maxItems: 1 + description: | + Channel node of the dpot to be used for the voltage division. + + io-channel-names: + const: dpot + + "#io-channel-cells": + const: 1 + +required: + - compatible + - vref-supply + - io-channels + - io-channel-names + +additionalProperties: false + +examples: + - | + dac { + compatible = "dpot-dac"; + vref-supply = <®_3v3>; + io-channels = <&dpot 0>; + io-channel-names = "dpot"; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/dac/ti,dac082s085.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/dac/ti,dac082s085.yaml index dad3198326..201b04af2b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/dac/ti,dac082s085.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/dac/ti,dac082s085.yaml @@ -1,73 +1,73 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/dac/ti,dac082s085.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Texas Instruments DAC082s085 and similar DACs - -description: - A family of Texas Instruments 8/10/12-bit 2/4-channel DACs - -maintainers: - - Lukas Wunner - -properties: - compatible: - enum: - - ti,dac082s085 - - ti,dac102s085 - - ti,dac122s085 - - ti,dac084s085 - - ti,dac104s085 - - ti,dac124s085 - - reg: - maxItems: 1 - - spi-cpha: true - spi-cpol: - description: - Must be either spi-cpha, or spi-cpol but not both. - - vref-supply: - description: Needed to provide output scaling. - -required: - - compatible - - reg - - vref-supply - -oneOf: - - required: - - spi-cpha - - required: - - spi-cpol - -allOf: - - $ref: /schemas/spi/spi-peripheral-props.yaml# - -unevaluatedProperties: false - -examples: - - | - vref_2v5_reg: regulator-vref { - compatible = "regulator-fixed"; - regulator-name = "2v5"; - regulator-min-microvolt = <2500000>; - regulator-max-microvolt = <2500000>; - regulator-always-on; - }; - spi { - #address-cells = <1>; - #size-cells = <0>; - - dac@0 { - compatible = "ti,dac082s085"; - reg = <0>; - spi-max-frequency = <40000000>; - spi-cpol; - vref-supply = <&vref_2v5_reg>; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/dac/ti,dac082s085.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Texas Instruments DAC082s085 and similar DACs + +description: + A family of Texas Instruments 8/10/12-bit 2/4-channel DACs + +maintainers: + - Lukas Wunner + +properties: + compatible: + enum: + - ti,dac082s085 + - ti,dac102s085 + - ti,dac122s085 + - ti,dac084s085 + - ti,dac104s085 + - ti,dac124s085 + + reg: + maxItems: 1 + + spi-cpha: true + spi-cpol: + description: + Must be either spi-cpha, or spi-cpol but not both. + + vref-supply: + description: Needed to provide output scaling. + +required: + - compatible + - reg + - vref-supply + +oneOf: + - required: + - spi-cpha + - required: + - spi-cpol + +allOf: + - $ref: /schemas/spi/spi-peripheral-props.yaml# + +unevaluatedProperties: false + +examples: + - | + vref_2v5_reg: regulator-vref { + compatible = "regulator-fixed"; + regulator-name = "2v5"; + regulator-min-microvolt = <2500000>; + regulator-max-microvolt = <2500000>; + regulator-always-on; + }; + spi { + #address-cells = <1>; + #size-cells = <0>; + + dac@0 { + compatible = "ti,dac082s085"; + reg = <0>; + spi-max-frequency = <40000000>; + spi-cpol; + vref-supply = <&vref_2v5_reg>; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/filter/adi,admv8818.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/filter/adi,admv8818.yaml index eacaf4659f..b77e855bd5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/filter/adi,admv8818.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/filter/adi,admv8818.yaml @@ -1,66 +1,66 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/filter/adi,admv8818.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: ADMV8818 Digitally Tunable, High-Pass and Low-Pass Filter - -maintainers: - - Antoniu Miclaus - -description: | - Fully monolithic microwave integrated circuit (MMIC) that - features a digitally selectable frequency of operation. - The device features four independently controlled high-pass - filters (HPFs) and four independently controlled low-pass filters - (LPFs) that span the 2 GHz to 18 GHz frequency range. - - https://www.analog.com/en/products/admv8818.html - -properties: - compatible: - enum: - - adi,admv8818 - - reg: - maxItems: 1 - - spi-max-frequency: - maximum: 10000000 - - clocks: - description: - Definition of the external clock. - minItems: 1 - - clock-names: - items: - - const: rf_in - - clock-output-names: - maxItems: 1 - - '#clock-cells': - const: 0 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - spi { - #address-cells = <1>; - #size-cells = <0>; - admv8818@0 { - compatible = "adi,admv8818"; - reg = <0>; - spi-max-frequency = <10000000>; - clocks = <&admv8818_rfin>; - clock-names = "rf_in"; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/filter/adi,admv8818.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ADMV8818 Digitally Tunable, High-Pass and Low-Pass Filter + +maintainers: + - Antoniu Miclaus + +description: | + Fully monolithic microwave integrated circuit (MMIC) that + features a digitally selectable frequency of operation. + The device features four independently controlled high-pass + filters (HPFs) and four independently controlled low-pass filters + (LPFs) that span the 2 GHz to 18 GHz frequency range. + + https://www.analog.com/en/products/admv8818.html + +properties: + compatible: + enum: + - adi,admv8818 + + reg: + maxItems: 1 + + spi-max-frequency: + maximum: 10000000 + + clocks: + description: + Definition of the external clock. + minItems: 1 + + clock-names: + items: + - const: rf_in + + clock-output-names: + maxItems: 1 + + '#clock-cells': + const: 0 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + spi { + #address-cells = <1>; + #size-cells = <0>; + admv8818@0 { + compatible = "adi,admv8818"; + reg = <0>; + spi-max-frequency = <10000000>; + clocks = <&admv8818_rfin>; + clock-names = "rf_in"; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/frequency/adf4371.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/frequency/adf4371.yaml index 5cdd78e0ac..1cb2adaf66 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/frequency/adf4371.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/frequency/adf4371.yaml @@ -1,68 +1,68 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/frequency/adf4371.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Analog Devices ADF4371/ADF4372 Wideband Synthesizers - -maintainers: - - Popa Stefan - -description: | - Analog Devices ADF4371/ADF4372 SPI Wideband Synthesizers - https://www.analog.com/media/en/technical-documentation/data-sheets/adf4371.pdf - https://www.analog.com/media/en/technical-documentation/data-sheets/adf4372.pdf - -properties: - compatible: - enum: - - adi,adf4371 - - adi,adf4372 - - reg: - maxItems: 1 - - clocks: - description: - Definition of the external clock (see clock/clock-bindings.txt) - maxItems: 1 - - clock-names: - description: - Must be "clkin" - maxItems: 1 - - adi,mute-till-lock-en: - type: boolean - description: - If this property is present, then the supply current to RF8P and RF8N - output stage will shut down until the ADF4371/ADF4372 achieves lock as - measured by the digital lock detect circuitry. - -required: - - compatible - - reg - - clocks - - clock-names - -allOf: - - $ref: /schemas/spi/spi-peripheral-props.yaml# - -unevaluatedProperties: false - -examples: - - | - spi { - #address-cells = <1>; - #size-cells = <0>; - - frequency@0 { - compatible = "adi,adf4371"; - reg = <0>; - spi-max-frequency = <1000000>; - clocks = <&adf4371_clkin>; - clock-names = "clkin"; - }; - }; -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/frequency/adf4371.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Analog Devices ADF4371/ADF4372 Wideband Synthesizers + +maintainers: + - Popa Stefan + +description: | + Analog Devices ADF4371/ADF4372 SPI Wideband Synthesizers + https://www.analog.com/media/en/technical-documentation/data-sheets/adf4371.pdf + https://www.analog.com/media/en/technical-documentation/data-sheets/adf4372.pdf + +properties: + compatible: + enum: + - adi,adf4371 + - adi,adf4372 + + reg: + maxItems: 1 + + clocks: + description: + Definition of the external clock (see clock/clock-bindings.txt) + maxItems: 1 + + clock-names: + description: + Must be "clkin" + maxItems: 1 + + adi,mute-till-lock-en: + type: boolean + description: + If this property is present, then the supply current to RF8P and RF8N + output stage will shut down until the ADF4371/ADF4372 achieves lock as + measured by the digital lock detect circuitry. + +required: + - compatible + - reg + - clocks + - clock-names + +allOf: + - $ref: /schemas/spi/spi-peripheral-props.yaml# + +unevaluatedProperties: false + +examples: + - | + spi { + #address-cells = <1>; + #size-cells = <0>; + + frequency@0 { + compatible = "adi,adf4371"; + reg = <0>; + spi-max-frequency = <1000000>; + clocks = <&adf4371_clkin>; + clock-names = "clkin"; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/gyroscope/invensense,mpu3050.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/gyroscope/invensense,mpu3050.yaml index daa4b0131e..d1a6103fc3 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/gyroscope/invensense,mpu3050.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/gyroscope/invensense,mpu3050.yaml @@ -1,70 +1,70 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/gyroscope/invensense,mpu3050.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Invensense MPU-3050 Gyroscope - -maintainers: - - Linus Walleij - -properties: - compatible: - const: invensense,mpu3050 - - reg: - maxItems: 1 - - vdd-supply: true - - vlogic-supply: true - - interrupts: - minItems: 1 - description: - Interrupt mapping for the trigger interrupt from the internal oscillator. - - mount-matrix: true - - i2c-gate: - $ref: /schemas/i2c/i2c-controller.yaml - unevaluatedProperties: false - description: | - The MPU-3050 will pass through and forward the I2C signals from the - incoming I2C bus, alternatively drive traffic to a slave device (usually - an accelerometer) on its own initiative. Therefore is supports an - i2c-gate subnode. - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - #include - i2c { - #address-cells = <1>; - #size-cells = <0>; - gyroscope@68 { - compatible = "invensense,mpu3050"; - reg = <0x68>; - interrupt-parent = <&foo>; - interrupts = <12 IRQ_TYPE_EDGE_FALLING>; - vdd-supply = <&bar>; - vlogic-supply = <&baz>; - - i2c-gate { - #address-cells = <1>; - #size-cells = <0>; - - magnetometer@c { - compatible = "asahi-kasei,ak8975"; - reg = <0x0c>; - }; - }; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/gyroscope/invensense,mpu3050.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Invensense MPU-3050 Gyroscope + +maintainers: + - Linus Walleij + +properties: + compatible: + const: invensense,mpu3050 + + reg: + maxItems: 1 + + vdd-supply: true + + vlogic-supply: true + + interrupts: + minItems: 1 + description: + Interrupt mapping for the trigger interrupt from the internal oscillator. + + mount-matrix: true + + i2c-gate: + $ref: /schemas/i2c/i2c-controller.yaml + unevaluatedProperties: false + description: | + The MPU-3050 will pass through and forward the I2C signals from the + incoming I2C bus, alternatively drive traffic to a slave device (usually + an accelerometer) on its own initiative. Therefore is supports an + i2c-gate subnode. + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + #include + i2c { + #address-cells = <1>; + #size-cells = <0>; + gyroscope@68 { + compatible = "invensense,mpu3050"; + reg = <0x68>; + interrupt-parent = <&foo>; + interrupts = <12 IRQ_TYPE_EDGE_FALLING>; + vdd-supply = <&bar>; + vlogic-supply = <&baz>; + + i2c-gate { + #address-cells = <1>; + #size-cells = <0>; + + magnetometer@c { + compatible = "asahi-kasei,ak8975"; + reg = <0x0c>; + }; + }; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/health/maxim,max30102.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/health/maxim,max30102.yaml index 83f50ff67e..205d352ab4 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/health/maxim,max30102.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/health/maxim,max30102.yaml @@ -1,76 +1,76 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/health/maxim,max30102.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Maxim MAX30101/2 heart rate and pulse oximeter and MAX30105 particle-sensor - -maintainers: - - Matt Ranostay - -properties: - compatible: - oneOf: - - enum: - - maxim,max30102 - - maxim,max30105 - - items: - - const: maxim,max30101 - - const: maxim,max30105 - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - description: Connected to ADC_RDY pin. - - maxim,red-led-current-microamp: - description: RED LED current. Each step is approximately 200 microamps. - minimum: 0 - maximum: 50800 - - maxim,ir-led-current-microamp: - description: IR LED current. Each step is approximately 200 microamps. - minimum: 0 - maximum: 50800 - - maxim,green-led-current-microamp: - description: Green LED current. Each step is approximately 200 microamps. - minimum: 0 - maximum: 50800 - -allOf: - - if: - properties: - compatible: - contains: - const: maxim,max30102 - then: - properties: - maxim,green-led-current-microamp: false - -additionalProperties: false - -required: - - compatible - - reg - - interrupts - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - heart-rate@57 { - compatible = "maxim,max30102"; - reg = <0x57>; - maxim,red-led-current-microamp = <7000>; - maxim,ir-led-current-microamp = <7000>; - interrupt-parent = <&gpio1>; - interrupts = <16 2>; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/health/maxim,max30102.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Maxim MAX30101/2 heart rate and pulse oximeter and MAX30105 particle-sensor + +maintainers: + - Matt Ranostay + +properties: + compatible: + oneOf: + - enum: + - maxim,max30102 + - maxim,max30105 + - items: + - const: maxim,max30101 + - const: maxim,max30105 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + description: Connected to ADC_RDY pin. + + maxim,red-led-current-microamp: + description: RED LED current. Each step is approximately 200 microamps. + minimum: 0 + maximum: 50800 + + maxim,ir-led-current-microamp: + description: IR LED current. Each step is approximately 200 microamps. + minimum: 0 + maximum: 50800 + + maxim,green-led-current-microamp: + description: Green LED current. Each step is approximately 200 microamps. + minimum: 0 + maximum: 50800 + +allOf: + - if: + properties: + compatible: + contains: + const: maxim,max30102 + then: + properties: + maxim,green-led-current-microamp: false + +additionalProperties: false + +required: + - compatible + - reg + - interrupts + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + heart-rate@57 { + compatible = "maxim,max30102"; + reg = <0x57>; + maxim,red-led-current-microamp = <7000>; + maxim,ir-led-current-microamp = <7000>; + interrupt-parent = <&gpio1>; + interrupts = <16 2>; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/humidity/ti,hdc3020.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/humidity/ti,hdc3020.yaml index dd45a78d4a..b375d30751 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/humidity/ti,hdc3020.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/humidity/ti,hdc3020.yaml @@ -1,63 +1,63 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/humidity/ti,hdc3020.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: HDC3020/HDC3021/HDC3022 humidity and temperature iio sensors - -maintainers: - - Li peiyu <579lpy@gmail.com> - - Javier Carrasco - -description: - https://www.ti.com/lit/ds/symlink/hdc3020.pdf - - The HDC302x is an integrated capacitive based relative humidity (RH) - and temperature sensor. - -properties: - compatible: - oneOf: - - items: - - enum: - - ti,hdc3021 - - ti,hdc3022 - - const: ti,hdc3020 - - const: ti,hdc3020 - - interrupts: - maxItems: 1 - - vdd-supply: true - - reg: - maxItems: 1 - - reset-gpios: - maxItems: 1 - -required: - - compatible - - reg - - vdd-supply - -additionalProperties: false - -examples: - - | - #include - #include - i2c { - #address-cells = <1>; - #size-cells = <0>; - - humidity-sensor@47 { - compatible = "ti,hdc3021", "ti,hdc3020"; - reg = <0x47>; - vdd-supply = <&vcc_3v3>; - interrupt-parent = <&gpio3>; - interrupts = <23 IRQ_TYPE_EDGE_RISING>; - reset-gpios = <&gpio3 27 GPIO_ACTIVE_LOW>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/humidity/ti,hdc3020.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: HDC3020/HDC3021/HDC3022 humidity and temperature iio sensors + +maintainers: + - Li peiyu <579lpy@gmail.com> + - Javier Carrasco + +description: + https://www.ti.com/lit/ds/symlink/hdc3020.pdf + + The HDC302x is an integrated capacitive based relative humidity (RH) + and temperature sensor. + +properties: + compatible: + oneOf: + - items: + - enum: + - ti,hdc3021 + - ti,hdc3022 + - const: ti,hdc3020 + - const: ti,hdc3020 + + interrupts: + maxItems: 1 + + vdd-supply: true + + reg: + maxItems: 1 + + reset-gpios: + maxItems: 1 + +required: + - compatible + - reg + - vdd-supply + +additionalProperties: false + +examples: + - | + #include + #include + i2c { + #address-cells = <1>; + #size-cells = <0>; + + humidity-sensor@47 { + compatible = "ti,hdc3021", "ti,hdc3020"; + reg = <0x47>; + vdd-supply = <&vcc_3v3>; + interrupt-parent = <&gpio3>; + interrupts = <23 IRQ_TYPE_EDGE_RISING>; + reset-gpios = <&gpio3 27 GPIO_ACTIVE_LOW>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/imu/bosch,bmi323.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/imu/bosch,bmi323.yaml index d6fdf92719..64ef26e196 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/imu/bosch,bmi323.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/imu/bosch,bmi323.yaml @@ -1,77 +1,77 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/imu/bosch,bmi323.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Bosch BMI323 6-Axis IMU - -maintainers: - - Jagath Jog J - -description: - BMI323 is a 6-axis inertial measurement unit that supports acceleration and - gyroscopic measurements with hardware fifo buffering. Sensor also provides - events information such as motion, steps, orientation, single and double - tap detection. - -properties: - compatible: - const: bosch,bmi323 - - reg: - maxItems: 1 - - vdd-supply: true - vddio-supply: true - - interrupts: - minItems: 1 - maxItems: 2 - - interrupt-names: - minItems: 1 - maxItems: 2 - items: - enum: - - INT1 - - INT2 - - drive-open-drain: - description: - set if the specified interrupt pin should be configured as - open drain. If not set, defaults to push-pull. - - mount-matrix: - description: - an optional 3x3 mounting rotation matrix. - -required: - - compatible - - reg - - vdd-supply - - vddio-supply - -allOf: - - $ref: /schemas/spi/spi-peripheral-props.yaml# - -unevaluatedProperties: false - -examples: - - | - // Example for I2C - #include - i2c { - #address-cells = <1>; - #size-cells = <0>; - - imu@68 { - compatible = "bosch,bmi323"; - reg = <0x68>; - vddio-supply = <&vddio>; - vdd-supply = <&vdd>; - interrupt-parent = <&gpio1>; - interrupts = <29 IRQ_TYPE_EDGE_RISING>; - interrupt-names = "INT1"; - }; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/imu/bosch,bmi323.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Bosch BMI323 6-Axis IMU + +maintainers: + - Jagath Jog J + +description: + BMI323 is a 6-axis inertial measurement unit that supports acceleration and + gyroscopic measurements with hardware fifo buffering. Sensor also provides + events information such as motion, steps, orientation, single and double + tap detection. + +properties: + compatible: + const: bosch,bmi323 + + reg: + maxItems: 1 + + vdd-supply: true + vddio-supply: true + + interrupts: + minItems: 1 + maxItems: 2 + + interrupt-names: + minItems: 1 + maxItems: 2 + items: + enum: + - INT1 + - INT2 + + drive-open-drain: + description: + set if the specified interrupt pin should be configured as + open drain. If not set, defaults to push-pull. + + mount-matrix: + description: + an optional 3x3 mounting rotation matrix. + +required: + - compatible + - reg + - vdd-supply + - vddio-supply + +allOf: + - $ref: /schemas/spi/spi-peripheral-props.yaml# + +unevaluatedProperties: false + +examples: + - | + // Example for I2C + #include + i2c { + #address-cells = <1>; + #size-cells = <0>; + + imu@68 { + compatible = "bosch,bmi323"; + reg = <0x68>; + vddio-supply = <&vddio>; + vdd-supply = <&vdd>; + interrupt-parent = <&gpio1>; + interrupts = <29 IRQ_TYPE_EDGE_RISING>; + interrupt-names = "INT1"; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/imu/nxp,fxos8700.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/imu/nxp,fxos8700.yaml index 0ebe95896c..688100b240 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/imu/nxp,fxos8700.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/imu/nxp,fxos8700.yaml @@ -1,81 +1,81 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/imu/nxp,fxos8700.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Freescale FXOS8700 Inertial Measurement Unit - -maintainers: - - Jonathan Cameron - -description: | - Accelerometer and magnetometer combo device with an i2c and SPI interface. - https://www.nxp.com/products/sensors/motion-sensors/6-axis/digital-motion-sensor-3d-accelerometer-2g-4g-8g-plus-3d-magnetometer:FXOS8700CQ - -properties: - compatible: - enum: - - nxp,fxos8700 - - reg: - maxItems: 1 - - interrupts: - minItems: 1 - maxItems: 2 - - interrupt-names: - minItems: 1 - maxItems: 2 - items: - enum: - - INT1 - - INT2 - - drive-open-drain: - type: boolean - -required: - - compatible - - reg - -allOf: - - $ref: /schemas/spi/spi-peripheral-props.yaml# - -unevaluatedProperties: false - -examples: - - | - #include - #include - i2c { - #address-cells = <1>; - #size-cells = <0>; - - fxos8700@1e { - compatible = "nxp,fxos8700"; - reg = <0x1e>; - - interrupt-parent = <&gpio2>; - interrupts = <7 IRQ_TYPE_EDGE_RISING>; - interrupt-names = "INT1"; - }; - }; - - | - #include - #include - spi { - #address-cells = <1>; - #size-cells = <0>; - - fxos8700@0 { - compatible = "nxp,fxos8700"; - reg = <0>; - - spi-max-frequency = <1000000>; - interrupt-parent = <&gpio1>; - interrupts = <7 IRQ_TYPE_EDGE_RISING>; - interrupt-names = "INT2"; - }; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/imu/nxp,fxos8700.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Freescale FXOS8700 Inertial Measurement Unit + +maintainers: + - Jonathan Cameron + +description: | + Accelerometer and magnetometer combo device with an i2c and SPI interface. + https://www.nxp.com/products/sensors/motion-sensors/6-axis/digital-motion-sensor-3d-accelerometer-2g-4g-8g-plus-3d-magnetometer:FXOS8700CQ + +properties: + compatible: + enum: + - nxp,fxos8700 + + reg: + maxItems: 1 + + interrupts: + minItems: 1 + maxItems: 2 + + interrupt-names: + minItems: 1 + maxItems: 2 + items: + enum: + - INT1 + - INT2 + + drive-open-drain: + type: boolean + +required: + - compatible + - reg + +allOf: + - $ref: /schemas/spi/spi-peripheral-props.yaml# + +unevaluatedProperties: false + +examples: + - | + #include + #include + i2c { + #address-cells = <1>; + #size-cells = <0>; + + fxos8700@1e { + compatible = "nxp,fxos8700"; + reg = <0x1e>; + + interrupt-parent = <&gpio2>; + interrupts = <7 IRQ_TYPE_EDGE_RISING>; + interrupt-names = "INT1"; + }; + }; + - | + #include + #include + spi { + #address-cells = <1>; + #size-cells = <0>; + + fxos8700@0 { + compatible = "nxp,fxos8700"; + reg = <0>; + + spi-max-frequency = <1000000>; + interrupt-parent = <&gpio1>; + interrupts = <7 IRQ_TYPE_EDGE_RISING>; + interrupt-names = "INT2"; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/light/ams,as73211.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/light/ams,as73211.yaml index fdb16845d2..062a038aa0 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/light/ams,as73211.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/light/ams,as73211.yaml @@ -1,57 +1,57 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/light/ams,as73211.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: AMS AS73211 JENCOLOR(R) Digital XYZ Sensor and AMS AS7331 UV Sensor - -maintainers: - - Christian Eggers - -description: | - AMS AS73211 XYZ True Color Sensor with I2C Interface - https://ams.com/documents/20143/36005/AS73211_DS000556_3-01.pdf/a65474c0-b302-c2fd-e30a-c98df87616df - AMS AS7331 UVA, UVB and UVC Sensor with I2C Interface - https://ams.com/documents/20143/9106314/AS7331_DS001047_4-00.pdf - -properties: - compatible: - enum: - - ams,as73211 - - ams,as7331 - - reg: - description: - I2C address of the device (0x74...0x77). - maxItems: 1 - - interrupts: - description: - Interrupt specifier for the READY interrupt generated by the device. - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - #include - - i2c { - #address-cells = <1>; - #size-cells = <0>; - - as73211@74 { - compatible = "ams,as73211"; - reg = <0x74>; - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_color_sensor>; - interrupt-parent = <&gpio2>; - interrupts = <19 IRQ_TYPE_EDGE_RISING>; /* READY */ - }; - }; -... +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/light/ams,as73211.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: AMS AS73211 JENCOLOR(R) Digital XYZ Sensor and AMS AS7331 UV Sensor + +maintainers: + - Christian Eggers + +description: | + AMS AS73211 XYZ True Color Sensor with I2C Interface + https://ams.com/documents/20143/36005/AS73211_DS000556_3-01.pdf/a65474c0-b302-c2fd-e30a-c98df87616df + AMS AS7331 UVA, UVB and UVC Sensor with I2C Interface + https://ams.com/documents/20143/9106314/AS7331_DS001047_4-00.pdf + +properties: + compatible: + enum: + - ams,as73211 + - ams,as7331 + + reg: + description: + I2C address of the device (0x74...0x77). + maxItems: 1 + + interrupts: + description: + Interrupt specifier for the READY interrupt generated by the device. + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + #include + + i2c { + #address-cells = <1>; + #size-cells = <0>; + + as73211@74 { + compatible = "ams,as73211"; + reg = <0x74>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_color_sensor>; + interrupt-parent = <&gpio2>; + interrupts = <19 IRQ_TYPE_EDGE_RISING>; /* READY */ + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/light/ti,opt4001.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/light/ti,opt4001.yaml index 44eba524b1..12b0c7ed5d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/light/ti,opt4001.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/light/ti,opt4001.yaml @@ -1,68 +1,68 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/light/ti,opt4001.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Texas Instruments OPT4001 Ambient Light Sensor - -maintainers: - - Stefan Windfeldt-Prytz - -description: - Ambient light sensor with an i2c interface. - Last part of compatible is for the packaging used. - Picostar is a 4 pinned SMT and sot-5x3 is a 8 pinned SOT. - https://www.ti.com/lit/gpn/opt4001 - -properties: - compatible: - enum: - - ti,opt4001-picostar - - ti,opt4001-sot-5x3 - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - vdd-supply: - description: Regulator that provides power to the sensor - -required: - - compatible - - reg - -allOf: - - if: - properties: - compatible: - contains: - const: ti,opt4001-sot-5x3 - then: - properties: - interrupts: - maxItems: 1 - else: - properties: - interrupts: false - -additionalProperties: false - -examples: - - | - #include - i2c { - #address-cells = <1>; - #size-cells = <0>; - - light-sensor@44 { - compatible = "ti,opt4001-sot-5x3"; - reg = <0x44>; - vdd-supply = <&vdd_reg>; - interrupt-parent = <&gpio1>; - interrupts = <28 IRQ_TYPE_EDGE_FALLING>; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/light/ti,opt4001.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Texas Instruments OPT4001 Ambient Light Sensor + +maintainers: + - Stefan Windfeldt-Prytz + +description: + Ambient light sensor with an i2c interface. + Last part of compatible is for the packaging used. + Picostar is a 4 pinned SMT and sot-5x3 is a 8 pinned SOT. + https://www.ti.com/lit/gpn/opt4001 + +properties: + compatible: + enum: + - ti,opt4001-picostar + - ti,opt4001-sot-5x3 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + vdd-supply: + description: Regulator that provides power to the sensor + +required: + - compatible + - reg + +allOf: + - if: + properties: + compatible: + contains: + const: ti,opt4001-sot-5x3 + then: + properties: + interrupts: + maxItems: 1 + else: + properties: + interrupts: false + +additionalProperties: false + +examples: + - | + #include + i2c { + #address-cells = <1>; + #size-cells = <0>; + + light-sensor@44 { + compatible = "ti,opt4001-sot-5x3"; + reg = <0x44>; + vdd-supply = <&vdd_reg>; + interrupt-parent = <&gpio1>; + interrupts = <28 IRQ_TYPE_EDGE_FALLING>; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/light/veml6030.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/light/veml6030.yaml index 01e58f7416..fb19a2d7a8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/light/veml6030.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/light/veml6030.yaml @@ -1,64 +1,64 @@ -# SPDX-License-Identifier: GPL-2.0+ -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/light/veml6030.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: VEML6030 Ambient Light Sensor (ALS) - -maintainers: - - Rishi Gupta - -description: | - Bindings for the ambient light sensor veml6030 from Vishay - Semiconductors over an i2c interface. - - Irrespective of whether interrupt is used or not, application - can get the ALS and White channel reading from IIO raw interface. - - If the interrupts are used, application will receive an IIO event - whenever configured threshold is crossed. - - Specifications about the sensor can be found at: - https://www.vishay.com/docs/84366/veml6030.pdf - -properties: - compatible: - enum: - - vishay,veml6030 - - reg: - description: - I2C address of the device. - enum: - - 0x10 # ADDR pin pulled down - - 0x48 # ADDR pin pulled up - - interrupts: - description: - interrupt mapping for IRQ. Configure with IRQ_TYPE_LEVEL_LOW. - Refer to interrupt-controller/interrupts.txt for generic - interrupt client node bindings. - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - #include - - i2c { - #address-cells = <1>; - #size-cells = <0>; - - light-sensor@10 { - compatible = "vishay,veml6030"; - reg = <0x10>; - interrupts = <12 IRQ_TYPE_LEVEL_LOW>; - }; - }; -... +# SPDX-License-Identifier: GPL-2.0+ +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/light/veml6030.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: VEML6030 Ambient Light Sensor (ALS) + +maintainers: + - Rishi Gupta + +description: | + Bindings for the ambient light sensor veml6030 from Vishay + Semiconductors over an i2c interface. + + Irrespective of whether interrupt is used or not, application + can get the ALS and White channel reading from IIO raw interface. + + If the interrupts are used, application will receive an IIO event + whenever configured threshold is crossed. + + Specifications about the sensor can be found at: + https://www.vishay.com/docs/84366/veml6030.pdf + +properties: + compatible: + enum: + - vishay,veml6030 + + reg: + description: + I2C address of the device. + enum: + - 0x10 # ADDR pin pulled down + - 0x48 # ADDR pin pulled up + + interrupts: + description: + interrupt mapping for IRQ. Configure with IRQ_TYPE_LEVEL_LOW. + Refer to interrupt-controller/interrupts.txt for generic + interrupt client node bindings. + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + #include + + i2c { + #address-cells = <1>; + #size-cells = <0>; + + light-sensor@10 { + compatible = "vishay,veml6030"; + reg = <0x10>; + interrupts = <12 IRQ_TYPE_LEVEL_LOW>; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/magnetometer/bosch,bmc150_magn.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/magnetometer/bosch,bmc150_magn.yaml index bb72f5e9c8..a3838ab0c5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/magnetometer/bosch,bmc150_magn.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/magnetometer/bosch,bmc150_magn.yaml @@ -1,61 +1,61 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/magnetometer/bosch,bmc150_magn.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Bosch BMC150 magnetometer sensor - -maintainers: - - Jonathan Cameron - -description: | - Supports a range of parts, some of which form part of a multi die - package that also contains other sensors. The interface is independent - however, so a separate driver is used to support the magnetometer part. - Datasheet at: - http://ae-bst.resource.bosch.com/media/products/dokumente/bmc150/BST-BMC150-DS000-04.pdf - -properties: - compatible: - description: - Note the bmm150_magn is a deprecated compatible as this part contains only - a magnetometer. - enum: - - bosch,bmc150_magn - - bosch,bmc156_magn - - bosch,bmm150 - - bosch,bmm150_magn - - reg: - maxItems: 1 - - vdd-supply: true - vddio-supply: true - - interrupts: - maxItems: 1 - - mount-matrix: - description: an optional 3x3 mounting rotation matrix. - -additionalProperties: false - -required: - - compatible - - reg - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - magnetometer@12 { - compatible = "bosch,bmc150_magn"; - reg = <0x12>; - interrupt-parent = <&gpio1>; - interrupts = <0 1>; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/magnetometer/bosch,bmc150_magn.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Bosch BMC150 magnetometer sensor + +maintainers: + - Jonathan Cameron + +description: | + Supports a range of parts, some of which form part of a multi die + package that also contains other sensors. The interface is independent + however, so a separate driver is used to support the magnetometer part. + Datasheet at: + http://ae-bst.resource.bosch.com/media/products/dokumente/bmc150/BST-BMC150-DS000-04.pdf + +properties: + compatible: + description: + Note the bmm150_magn is a deprecated compatible as this part contains only + a magnetometer. + enum: + - bosch,bmc150_magn + - bosch,bmc156_magn + - bosch,bmm150 + - bosch,bmm150_magn + + reg: + maxItems: 1 + + vdd-supply: true + vddio-supply: true + + interrupts: + maxItems: 1 + + mount-matrix: + description: an optional 3x3 mounting rotation matrix. + +additionalProperties: false + +required: + - compatible + - reg + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + magnetometer@12 { + compatible = "bosch,bmc150_magn"; + reg = <0x12>; + interrupt-parent = <&gpio1>; + interrupts = <0 1>; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/magnetometer/voltafield,af8133j.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/magnetometer/voltafield,af8133j.yaml index 2ffdbf4223..b6ab01a691 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/magnetometer/voltafield,af8133j.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/magnetometer/voltafield,af8133j.yaml @@ -1,60 +1,60 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/magnetometer/voltafield,af8133j.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Voltafield AF8133J magnetometer sensor - -maintainers: - - Ondřej Jirman - -properties: - compatible: - const: voltafield,af8133j - - reg: - maxItems: 1 - - reset-gpios: - description: - A signal for active low reset input of the sensor. (optional; if not - used, software reset over I2C will be used instead) - - avdd-supply: - description: - A regulator that provides AVDD power (Working power, usually 3.3V) to - the sensor. - - dvdd-supply: - description: - A regulator that provides DVDD power (Digital IO power, 1.8V - AVDD) - to the sensor. - - mount-matrix: - description: An optional 3x3 mounting rotation matrix. - -required: - - compatible - - reg - - avdd-supply - - dvdd-supply - -additionalProperties: false - -examples: - - | - #include - #include - i2c { - #address-cells = <1>; - #size-cells = <0>; - - magnetometer@1c { - compatible = "voltafield,af8133j"; - reg = <0x1c>; - avdd-supply = <®_dldo1>; - dvdd-supply = <®_dldo1>; - reset-gpios = <&pio 1 1 GPIO_ACTIVE_LOW>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/magnetometer/voltafield,af8133j.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Voltafield AF8133J magnetometer sensor + +maintainers: + - Ondřej Jirman + +properties: + compatible: + const: voltafield,af8133j + + reg: + maxItems: 1 + + reset-gpios: + description: + A signal for active low reset input of the sensor. (optional; if not + used, software reset over I2C will be used instead) + + avdd-supply: + description: + A regulator that provides AVDD power (Working power, usually 3.3V) to + the sensor. + + dvdd-supply: + description: + A regulator that provides DVDD power (Digital IO power, 1.8V - AVDD) + to the sensor. + + mount-matrix: + description: An optional 3x3 mounting rotation matrix. + +required: + - compatible + - reg + - avdd-supply + - dvdd-supply + +additionalProperties: false + +examples: + - | + #include + #include + i2c { + #address-cells = <1>; + #size-cells = <0>; + + magnetometer@1c { + compatible = "voltafield,af8133j"; + reg = <0x1c>; + avdd-supply = <®_dldo1>; + dvdd-supply = <®_dldo1>; + reset-gpios = <&pio 1 1 GPIO_ACTIVE_LOW>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/potentiometer/renesas,x9250.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/potentiometer/renesas,x9250.yaml index ffeef28120..ab5c09c00f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/potentiometer/renesas,x9250.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/potentiometer/renesas,x9250.yaml @@ -1,78 +1,78 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/potentiometer/renesas,x9250.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Renesas X9250 quad potentiometers - -maintainers: - - Herve Codina - -description: - The Renesas X9250 integrates four digitally controlled potentiometers. - On each potentiometer, the X9250T has a 100 kOhms total resistance and the - X9250U has a 50 kOhms total resistance. - -allOf: - - $ref: /schemas/spi/spi-peripheral-props.yaml - -properties: - compatible: - enum: - - renesas,x9250t - - renesas,x9250u - - reg: - maxItems: 1 - - vcc-supply: - description: - Regulator for the VCC power supply. - - avp-supply: - description: - Regulator for the analog V+ power supply. - - avn-supply: - description: - Regulator for the analog V- power supply. - - '#io-channel-cells': - const: 1 - - spi-max-frequency: - maximum: 2000000 - - wp-gpios: - maxItems: 1 - description: - GPIO connected to the write-protect pin. - -required: - - compatible - - reg - - vcc-supply - - avp-supply - - avn-supply - - '#io-channel-cells' - -unevaluatedProperties: false - -examples: - - | - #include - spi { - #address-cells = <1>; - #size-cells = <0>; - potentiometer@0 { - compatible = "renesas,x9250t"; - reg = <0>; - vcc-supply = <&vcc_regulator>; - avp-supply = <&avp_regulator>; - avn-supply = <&avp_regulator>; - wp-gpios = <&gpio 1 GPIO_ACTIVE_LOW>; - spi-max-frequency = <2000000>; - #io-channel-cells = <1>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/potentiometer/renesas,x9250.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Renesas X9250 quad potentiometers + +maintainers: + - Herve Codina + +description: + The Renesas X9250 integrates four digitally controlled potentiometers. + On each potentiometer, the X9250T has a 100 kOhms total resistance and the + X9250U has a 50 kOhms total resistance. + +allOf: + - $ref: /schemas/spi/spi-peripheral-props.yaml + +properties: + compatible: + enum: + - renesas,x9250t + - renesas,x9250u + + reg: + maxItems: 1 + + vcc-supply: + description: + Regulator for the VCC power supply. + + avp-supply: + description: + Regulator for the analog V+ power supply. + + avn-supply: + description: + Regulator for the analog V- power supply. + + '#io-channel-cells': + const: 1 + + spi-max-frequency: + maximum: 2000000 + + wp-gpios: + maxItems: 1 + description: + GPIO connected to the write-protect pin. + +required: + - compatible + - reg + - vcc-supply + - avp-supply + - avn-supply + - '#io-channel-cells' + +unevaluatedProperties: false + +examples: + - | + #include + spi { + #address-cells = <1>; + #size-cells = <0>; + potentiometer@0 { + compatible = "renesas,x9250t"; + reg = <0>; + vcc-supply = <&vcc_regulator>; + avp-supply = <&avp_regulator>; + avn-supply = <&avp_regulator>; + wp-gpios = <&gpio 1 GPIO_ACTIVE_LOW>; + spi-max-frequency = <2000000>; + #io-channel-cells = <1>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/potentiostat/ti,lmp91000.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/potentiostat/ti,lmp91000.yaml index 261c18d131..e4b5d890e8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/potentiostat/ti,lmp91000.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/potentiostat/ti,lmp91000.yaml @@ -1,68 +1,68 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/potentiostat/ti,lmp91000.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Texas Instruments LMP91000 series of potentiostats with I2C control - -maintainers: - - Matt Ranostay - -description: | - Typically used as a signal conditioner for chemical sensors. - LMP91000: https://www.ti.com/lit/ds/symlink/lmp91000.pdf - LMP91002: https://www.ti.com/lit/ds/symlink/lmp91002.pdf - -properties: - compatible: - enum: - - ti,lmp91000 - - ti,lmp91002 - - reg: - maxItems: 1 - - io-channels: - maxItems: 1 - - ti,external-tia-resistor: - $ref: /schemas/types.yaml#/definitions/flag - description: - If the property ti,tia-gain-ohm is not defined this needs to be set to - signal that an external resistor value is being used. - - ti,tia-gain-ohm: - $ref: /schemas/types.yaml#/definitions/uint32 - enum: [2750, 3500, 7000, 14000, 35000, 120000, 350000] - description: - Internal resistor for the transimpedance amplifier. - - ti,rload-ohm: - $ref: /schemas/types.yaml#/definitions/uint32 - enum: [10, 33, 50, 100] - description: - Internal resistor load applied to the gas sensor. - Default 100 Ohms. - -required: - - compatible - - reg - - io-channels - -additionalProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - lmp91000@48 { - compatible = "ti,lmp91000"; - reg = <0x48>; - ti,tia-gain-ohm = <7000>; - ti,rload-ohm = <100>; - io-channels = <&adc>; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/potentiostat/ti,lmp91000.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Texas Instruments LMP91000 series of potentiostats with I2C control + +maintainers: + - Matt Ranostay + +description: | + Typically used as a signal conditioner for chemical sensors. + LMP91000: https://www.ti.com/lit/ds/symlink/lmp91000.pdf + LMP91002: https://www.ti.com/lit/ds/symlink/lmp91002.pdf + +properties: + compatible: + enum: + - ti,lmp91000 + - ti,lmp91002 + + reg: + maxItems: 1 + + io-channels: + maxItems: 1 + + ti,external-tia-resistor: + $ref: /schemas/types.yaml#/definitions/flag + description: + If the property ti,tia-gain-ohm is not defined this needs to be set to + signal that an external resistor value is being used. + + ti,tia-gain-ohm: + $ref: /schemas/types.yaml#/definitions/uint32 + enum: [2750, 3500, 7000, 14000, 35000, 120000, 350000] + description: + Internal resistor for the transimpedance amplifier. + + ti,rload-ohm: + $ref: /schemas/types.yaml#/definitions/uint32 + enum: [10, 33, 50, 100] + description: + Internal resistor load applied to the gas sensor. + Default 100 Ohms. + +required: + - compatible + - reg + - io-channels + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + lmp91000@48 { + compatible = "ti,lmp91000"; + reg = <0x48>; + ti,tia-gain-ohm = <7000>; + ti,rload-ohm = <100>; + io-channels = <&adc>; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/proximity/ams,as3935.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/proximity/ams,as3935.yaml index 1ba3a1b88b..9567993ce4 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/proximity/ams,as3935.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/proximity/ams,as3935.yaml @@ -1,74 +1,74 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/proximity/ams,as3935.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Austrian Microsystems AS3935 Franklin lightning sensor - -maintainers: - - Matt Ranostay - -description: - This lightning distance sensor uses an I2C or SPI interface. The - binding currently only covers the SPI option. - -properties: - compatible: - const: ams,as3935 - - reg: - maxItems: 1 - - spi-max-frequency: - maximum: 2000000 - - spi-cpha: true - - interrupts: - maxItems: 1 - - ams,tuning-capacitor-pf: - $ref: /schemas/types.yaml#/definitions/uint32 - description: - Calibration tuning capacitor stepping value. This will require using - the calibration data from the manufacturer. - minimum: 0 - maximum: 120 - - ams,nflwdth: - $ref: /schemas/types.yaml#/definitions/uint32 - description: - Set the noise and watchdog threshold register on startup. This will - need to set according to the noise from the MCU board, and possibly - the local environment. Refer to the datasheet for the threshold settings. - -required: - - compatible - - reg - - spi-cpha - - interrupts - -allOf: - - $ref: /schemas/spi/spi-peripheral-props.yaml# - -unevaluatedProperties: false - -examples: - - | - spi { - #address-cells = <1>; - #size-cells = <0>; - - lightning@0 { - compatible = "ams,as3935"; - reg = <0>; - spi-max-frequency = <400000>; - spi-cpha; - interrupt-parent = <&gpio1>; - interrupts = <16 1>; - ams,tuning-capacitor-pf = <80>; - ams,nflwdth = <0x44>; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/proximity/ams,as3935.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Austrian Microsystems AS3935 Franklin lightning sensor + +maintainers: + - Matt Ranostay + +description: + This lightning distance sensor uses an I2C or SPI interface. The + binding currently only covers the SPI option. + +properties: + compatible: + const: ams,as3935 + + reg: + maxItems: 1 + + spi-max-frequency: + maximum: 2000000 + + spi-cpha: true + + interrupts: + maxItems: 1 + + ams,tuning-capacitor-pf: + $ref: /schemas/types.yaml#/definitions/uint32 + description: + Calibration tuning capacitor stepping value. This will require using + the calibration data from the manufacturer. + minimum: 0 + maximum: 120 + + ams,nflwdth: + $ref: /schemas/types.yaml#/definitions/uint32 + description: + Set the noise and watchdog threshold register on startup. This will + need to set according to the noise from the MCU board, and possibly + the local environment. Refer to the datasheet for the threshold settings. + +required: + - compatible + - reg + - spi-cpha + - interrupts + +allOf: + - $ref: /schemas/spi/spi-peripheral-props.yaml# + +unevaluatedProperties: false + +examples: + - | + spi { + #address-cells = <1>; + #size-cells = <0>; + + lightning@0 { + compatible = "ams,as3935"; + reg = <0>; + spi-max-frequency = <400000>; + spi-cpha; + interrupt-parent = <&gpio1>; + interrupts = <16 1>; + ams,tuning-capacitor-pf = <80>; + ams,nflwdth = <0x44>; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/proximity/awinic,aw96103.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/proximity/awinic,aw96103.yaml index 6b2efcbda5..7a83ceced1 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/proximity/awinic,aw96103.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/proximity/awinic,aw96103.yaml @@ -1,61 +1,61 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/proximity/awinic,aw96103.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Awinic's AW96103 capacitive proximity sensor and similar - -maintainers: - - Wang Shuaijie - -description: | - Awinic's AW96103/AW96105 proximity sensor. - The specific absorption rate (SAR) is a metric that measures - the degree of absorption of electromagnetic radiation emitted by - wireless devices, such as mobile phones and tablets, by human tissue. - In mobile phone applications, the proximity sensor is primarily - used to detect the proximity of the human body to the phone. When the - phone approaches the human body, it will actively reduce the transmit - power of the antenna to keep the SAR within a safe range. Therefore, - we also refer to the proximity sensor as a SAR sensor. - -properties: - compatible: - enum: - - awinic,aw96103 - - awinic,aw96105 - - reg: - maxItems: 1 - - interrupts: - description: - Generated by the device to announce that a close/far - proximity event has happened. - maxItems: 1 - - vcc-supply: true - -required: - - compatible - - reg - - interrupts - - vcc-supply - -additionalProperties: false - -examples: - - | - #include - i2c { - #address-cells = <1>; - #size-cells = <0>; - proximity@12 { - compatible = "awinic,aw96103"; - reg = <0x12>; - interrupt-parent = <&gpio>; - interrupts = <23 IRQ_TYPE_EDGE_FALLING>; - vcc-supply = <&pp1800_prox>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/proximity/awinic,aw96103.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Awinic's AW96103 capacitive proximity sensor and similar + +maintainers: + - Wang Shuaijie + +description: | + Awinic's AW96103/AW96105 proximity sensor. + The specific absorption rate (SAR) is a metric that measures + the degree of absorption of electromagnetic radiation emitted by + wireless devices, such as mobile phones and tablets, by human tissue. + In mobile phone applications, the proximity sensor is primarily + used to detect the proximity of the human body to the phone. When the + phone approaches the human body, it will actively reduce the transmit + power of the antenna to keep the SAR within a safe range. Therefore, + we also refer to the proximity sensor as a SAR sensor. + +properties: + compatible: + enum: + - awinic,aw96103 + - awinic,aw96105 + + reg: + maxItems: 1 + + interrupts: + description: + Generated by the device to announce that a close/far + proximity event has happened. + maxItems: 1 + + vcc-supply: true + +required: + - compatible + - reg + - interrupts + - vcc-supply + +additionalProperties: false + +examples: + - | + #include + i2c { + #address-cells = <1>; + #size-cells = <0>; + proximity@12 { + compatible = "awinic,aw96103"; + reg = <0x12>; + interrupt-parent = <&gpio>; + interrupts = <23 IRQ_TYPE_EDGE_FALLING>; + vcc-supply = <&pp1800_prox>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/proximity/maxbotix,mb1232.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/proximity/maxbotix,mb1232.yaml index 6573ccad3d..3eac248f29 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/proximity/maxbotix,mb1232.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/proximity/maxbotix,mb1232.yaml @@ -1,60 +1,60 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/proximity/maxbotix,mb1232.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: MaxBotix I2CXL-MaxSonar ultrasonic distance sensor - -maintainers: - - Andreas Klinger - -description: | - MaxBotix I2CXL-MaxSonar ultrasonic distance sensor of type mb1202, - mb1212, mb1222, mb1232, mb1242, mb7040 or mb7137 using the i2c interface - for ranging - - Specifications about the devices can be found at: - https://www.maxbotix.com/documents/I2CXL-MaxSonar-EZ_Datasheet.pdf - -properties: - compatible: - enum: - - maxbotix,mb1202 - - maxbotix,mb1212 - - maxbotix,mb1222 - - maxbotix,mb1232 - - maxbotix,mb1242 - - maxbotix,mb7040 - - maxbotix,mb7137 - - reg: - maxItems: 1 - - interrupts: - description: - Interrupt used to announce the preceding reading request has finished - and that data is available. If no interrupt is specified the device - driver falls back to wait a fixed amount of time until data can be - retrieved. - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - #include - i2c { - #address-cells = <1>; - #size-cells = <0>; - proximity@70 { - compatible = "maxbotix,mb1232"; - reg = <0x70>; - interrupt-parent = <&gpio2>; - interrupts = <2 IRQ_TYPE_EDGE_FALLING>; - }; - }; +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/proximity/maxbotix,mb1232.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: MaxBotix I2CXL-MaxSonar ultrasonic distance sensor + +maintainers: + - Andreas Klinger + +description: | + MaxBotix I2CXL-MaxSonar ultrasonic distance sensor of type mb1202, + mb1212, mb1222, mb1232, mb1242, mb7040 or mb7137 using the i2c interface + for ranging + + Specifications about the devices can be found at: + https://www.maxbotix.com/documents/I2CXL-MaxSonar-EZ_Datasheet.pdf + +properties: + compatible: + enum: + - maxbotix,mb1202 + - maxbotix,mb1212 + - maxbotix,mb1222 + - maxbotix,mb1232 + - maxbotix,mb1242 + - maxbotix,mb7040 + - maxbotix,mb7137 + + reg: + maxItems: 1 + + interrupts: + description: + Interrupt used to announce the preceding reading request has finished + and that data is available. If no interrupt is specified the device + driver falls back to wait a fixed amount of time until data can be + retrieved. + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + #include + i2c { + #address-cells = <1>; + #size-cells = <0>; + proximity@70 { + compatible = "maxbotix,mb1232"; + reg = <0x70>; + interrupt-parent = <&gpio2>; + interrupts = <2 IRQ_TYPE_EDGE_FALLING>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/proximity/parallax-ping.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/proximity/parallax-ping.yaml index e831ce7ebb..ada55f186f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/proximity/parallax-ping.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/proximity/parallax-ping.yaml @@ -1,53 +1,53 @@ -# SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/proximity/parallax-ping.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Parallax PING))) and LaserPING range finder - -maintainers: - - Andreas Klinger - -description: | - Bit-banging driver using one GPIO: - - ping-gpios is raised by the driver to start measurement - - direction of ping-gpio is then switched into input with an interrupt - for receiving distance value as PWM signal - - Specifications about the devices can be found at: - http://parallax.com/sites/default/files/downloads/28041-LaserPING-2m-Rangefinder-Guide.pdf - http://parallax.com/sites/default/files/downloads/28015-PING-Documentation-v1.6.pdf - -properties: - compatible: - enum: - - parallax,ping - - parallax,laserping - - ping-gpios: - description: - Definition of the GPIO for the triggering and echo (output and input) - This GPIO is set for about 5 us by the driver to tell the device it - should initiate the measurement cycle. Afterwards the GPIO is switched - to input direction with an interrupt. The device sets it and the - length of the input signal corresponds to the measured distance. - It needs to be an GPIO which is able to deliver an interrupt because - the time between two interrupts is measured in the driver. - See Documentation/devicetree/bindings/gpio/gpio.txt for information - on how to specify a consumer gpio. - maxItems: 1 - -required: - - compatible - - ping-gpios - -additionalProperties: false - -examples: - - | - #include - proximity { - compatible = "parallax,laserping"; - ping-gpios = <&gpio0 26 GPIO_ACTIVE_HIGH>; - }; +# SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/proximity/parallax-ping.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Parallax PING))) and LaserPING range finder + +maintainers: + - Andreas Klinger + +description: | + Bit-banging driver using one GPIO: + - ping-gpios is raised by the driver to start measurement + - direction of ping-gpio is then switched into input with an interrupt + for receiving distance value as PWM signal + + Specifications about the devices can be found at: + http://parallax.com/sites/default/files/downloads/28041-LaserPING-2m-Rangefinder-Guide.pdf + http://parallax.com/sites/default/files/downloads/28015-PING-Documentation-v1.6.pdf + +properties: + compatible: + enum: + - parallax,ping + - parallax,laserping + + ping-gpios: + description: + Definition of the GPIO for the triggering and echo (output and input) + This GPIO is set for about 5 us by the driver to tell the device it + should initiate the measurement cycle. Afterwards the GPIO is switched + to input direction with an interrupt. The device sets it and the + length of the input signal corresponds to the measured distance. + It needs to be an GPIO which is able to deliver an interrupt because + the time between two interrupts is measured in the driver. + See Documentation/devicetree/bindings/gpio/gpio.txt for information + on how to specify a consumer gpio. + maxItems: 1 + +required: + - compatible + - ping-gpios + +additionalProperties: false + +examples: + - | + #include + proximity { + compatible = "parallax,laserping"; + ping-gpios = <&gpio0 26 GPIO_ACTIVE_HIGH>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/proximity/vishay,vcnl3020.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/proximity/vishay,vcnl3020.yaml index 9c5a8ae4fb..fbd3a2e322 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/proximity/vishay,vcnl3020.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/proximity/vishay,vcnl3020.yaml @@ -1,64 +1,64 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/proximity/vishay,vcnl3020.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Integrated Proximity Sensor With Infrared Emitter - -maintainers: - - Ivan Mikhaylov - -description: | - The VCNL3020 is a fully integrated proximity sensor. Fully integrated means - that the infrared emitter is included in the package. It has 16-bit - resolution. It includes a signal processing IC and features standard I2C - communication interface. It features an interrupt function. - - Specifications about the devices can be found at: - https://www.vishay.com/docs/84150/vcnl3020.pdf - -properties: - compatible: - enum: - - vishay,vcnl3020 - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - vdd-supply: - description: Regulator that provides power to the sensor - - vddio-supply: - description: Regulator that provides power to the bus - - vishay,led-current-microamp: - description: - The driver current for the LED used in proximity sensing. - enum: [0, 10000, 20000, 30000, 40000, 50000, 60000, 70000, 80000, 90000, - 100000, 110000, 120000, 130000, 140000, 150000, 160000, 170000, - 180000, 190000, 200000] - default: 20000 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - i2c { - - #address-cells = <1>; - #size-cells = <0>; - - proximity@13 { - compatible = "vishay,vcnl3020"; - reg = <0x13>; - vishay,led-current-microamp = <200000>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/proximity/vishay,vcnl3020.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Integrated Proximity Sensor With Infrared Emitter + +maintainers: + - Ivan Mikhaylov + +description: | + The VCNL3020 is a fully integrated proximity sensor. Fully integrated means + that the infrared emitter is included in the package. It has 16-bit + resolution. It includes a signal processing IC and features standard I2C + communication interface. It features an interrupt function. + + Specifications about the devices can be found at: + https://www.vishay.com/docs/84150/vcnl3020.pdf + +properties: + compatible: + enum: + - vishay,vcnl3020 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + vdd-supply: + description: Regulator that provides power to the sensor + + vddio-supply: + description: Regulator that provides power to the bus + + vishay,led-current-microamp: + description: + The driver current for the LED used in proximity sensing. + enum: [0, 10000, 20000, 30000, 40000, 50000, 60000, 70000, 80000, 90000, + 100000, 110000, 120000, 130000, 140000, 150000, 160000, 170000, + 180000, 190000, 200000] + default: 20000 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + + #address-cells = <1>; + #size-cells = <0>; + + proximity@13 { + compatible = "vishay,vcnl3020"; + reg = <0x13>; + vishay,led-current-microamp = <200000>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/resolver/adi,ad2s90.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/resolver/adi,ad2s90.yaml index 42af1f6ada..b24e5a202a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/resolver/adi,ad2s90.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/resolver/adi,ad2s90.yaml @@ -1,63 +1,63 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/resolver/adi,ad2s90.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Analog Devices AD2S90 Resolver-to-Digital Converter - -maintainers: - - Matheus Tavares - -description: | - Datasheet: https://www.analog.com/en/products/ad2s90.html - -properties: - compatible: - const: adi,ad2s90 - - reg: - maxItems: 1 - - spi-max-frequency: - maximum: 830000 - description: | - Chip's max frequency, as specified in its datasheet, is 2Mhz. But a 600ns - delay is expected between the application of a logic LO to CS and the - application of SCLK, as also specified. And since the delay is not - implemented in the spi code, to satisfy it, SCLK's period should be at - most 2 * 600ns, so the max frequency should be 1 / (2 * 6e-7), which gives - roughly 830000Hz. - - spi-cpol: true - - spi-cpha: true - -required: - - compatible - - reg - -dependencies: - spi-cpol: [ spi-cpha ] - spi-cpha: [ spi-cpol ] - -allOf: - - $ref: /schemas/spi/spi-peripheral-props.yaml# - -unevaluatedProperties: false - -examples: - - | - spi { - #address-cells = <1>; - #size-cells = <0>; - - resolver@0 { - compatible = "adi,ad2s90"; - reg = <0>; - spi-max-frequency = <830000>; - spi-cpol; - spi-cpha; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/resolver/adi,ad2s90.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Analog Devices AD2S90 Resolver-to-Digital Converter + +maintainers: + - Matheus Tavares + +description: | + Datasheet: https://www.analog.com/en/products/ad2s90.html + +properties: + compatible: + const: adi,ad2s90 + + reg: + maxItems: 1 + + spi-max-frequency: + maximum: 830000 + description: | + Chip's max frequency, as specified in its datasheet, is 2Mhz. But a 600ns + delay is expected between the application of a logic LO to CS and the + application of SCLK, as also specified. And since the delay is not + implemented in the spi code, to satisfy it, SCLK's period should be at + most 2 * 600ns, so the max frequency should be 1 / (2 * 6e-7), which gives + roughly 830000Hz. + + spi-cpol: true + + spi-cpha: true + +required: + - compatible + - reg + +dependencies: + spi-cpol: [ spi-cpha ] + spi-cpha: [ spi-cpol ] + +allOf: + - $ref: /schemas/spi/spi-peripheral-props.yaml# + +unevaluatedProperties: false + +examples: + - | + spi { + #address-cells = <1>; + #size-cells = <0>; + + resolver@0 { + compatible = "adi,ad2s90"; + reg = <0>; + spi-max-frequency = <830000>; + spi-cpol; + spi-cpha; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/samsung,sensorhub-rinato.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/samsung,sensorhub-rinato.yaml index 3097611aed..dd2ae2bd1a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/samsung,sensorhub-rinato.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/samsung,sensorhub-rinato.yaml @@ -1,73 +1,73 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/samsung,sensorhub-rinato.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Samsung Sensorhub driver - -maintainers: - - Jonathan Cameron - -description: | - Sensorhub is a MCU which manages several sensors and also plays the role - of a virtual sensor device. - -properties: - compatible: - enum: - - samsung,sensorhub-rinato - - samsung,sensorhub-thermostat - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - ap-mcu-gpios: - maxItems: 1 - description: - Application Processor to sensorhub line - used during communication - - mcu-ap-gpios: - maxItems: 1 - description: - Sensorhub to Application Processor - used during communication - - mcu-reset-gpios: - maxItems: 1 - description: - Reset the sensorhub. - -required: - - compatible - - reg - - interrupts - - ap-mcu-gpios - - mcu-ap-gpios - - mcu-reset-gpios - -allOf: - - $ref: /schemas/spi/spi-peripheral-props.yaml# - -unevaluatedProperties: false - -examples: - - | - spi { - #address-cells = <1>; - #size-cells = <0>; - - sensorhub@0 { - compatible = "samsung,sensorhub-rinato"; - reg = <0>; - spi-max-frequency = <5000000>; - interrupt-parent = <&gpx0>; - interrupts = <2 0>; - ap-mcu-gpios = <&gpx0 0 0>; - mcu-ap-gpios = <&gpx0 4 0>; - mcu-reset-gpios = <&gpx0 5 0>; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/samsung,sensorhub-rinato.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Samsung Sensorhub driver + +maintainers: + - Jonathan Cameron + +description: | + Sensorhub is a MCU which manages several sensors and also plays the role + of a virtual sensor device. + +properties: + compatible: + enum: + - samsung,sensorhub-rinato + - samsung,sensorhub-thermostat + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + ap-mcu-gpios: + maxItems: 1 + description: + Application Processor to sensorhub line - used during communication + + mcu-ap-gpios: + maxItems: 1 + description: + Sensorhub to Application Processor - used during communication + + mcu-reset-gpios: + maxItems: 1 + description: + Reset the sensorhub. + +required: + - compatible + - reg + - interrupts + - ap-mcu-gpios + - mcu-ap-gpios + - mcu-reset-gpios + +allOf: + - $ref: /schemas/spi/spi-peripheral-props.yaml# + +unevaluatedProperties: false + +examples: + - | + spi { + #address-cells = <1>; + #size-cells = <0>; + + sensorhub@0 { + compatible = "samsung,sensorhub-rinato"; + reg = <0>; + spi-max-frequency = <5000000>; + interrupt-parent = <&gpx0>; + interrupts = <2 0>; + ap-mcu-gpios = <&gpx0 0 0>; + mcu-ap-gpios = <&gpx0 4 0>; + mcu-reset-gpios = <&gpx0 5 0>; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/temperature/maxim,max31855k.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/temperature/maxim,max31855k.yaml index a6e605a5f5..0805ed7e21 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/temperature/maxim,max31855k.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/temperature/maxim,max31855k.yaml @@ -1,76 +1,76 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/temperature/maxim,max31855k.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Maxim MAX31855 and similar thermocouples - -maintainers: - - Matt Ranostay - -description: | - https://datasheets.maximintegrated.com/en/ds/MAX6675.pdf - https://datasheets.maximintegrated.com/en/ds/MAX31855.pdf - -properties: - compatible: - description: - The generic maxim,max31855 compatible is deprecated in favour of - the thermocouple type specific variants. - enum: - - maxim,max6675 - - maxim,max31855 - - maxim,max31855k - - maxim,max31855j - - maxim,max31855n - - maxim,max31855s - - maxim,max31855t - - maxim,max31855e - - maxim,max31855r - - reg: - maxItems: 1 - - spi-cpha: true - -required: - - compatible - - reg - -allOf: - - $ref: /schemas/spi/spi-peripheral-props.yaml# - - if: - properties: - compatible: - contains: - enum: - - maxim,max6675 - then: - required: - - spi-cpha - else: - properties: - spi-cpha: false - -unevaluatedProperties: false - -examples: - - | - spi { - #address-cells = <1>; - #size-cells = <0>; - - temp-sensor@0 { - compatible = "maxim,max31855k"; - reg = <0>; - spi-max-frequency = <4300000>; - }; - temp-sensor@1 { - compatible = "maxim,max6675"; - reg = <1>; - spi-max-frequency = <4300000>; - spi-cpha; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/temperature/maxim,max31855k.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Maxim MAX31855 and similar thermocouples + +maintainers: + - Matt Ranostay + +description: | + https://datasheets.maximintegrated.com/en/ds/MAX6675.pdf + https://datasheets.maximintegrated.com/en/ds/MAX31855.pdf + +properties: + compatible: + description: + The generic maxim,max31855 compatible is deprecated in favour of + the thermocouple type specific variants. + enum: + - maxim,max6675 + - maxim,max31855 + - maxim,max31855k + - maxim,max31855j + - maxim,max31855n + - maxim,max31855s + - maxim,max31855t + - maxim,max31855e + - maxim,max31855r + + reg: + maxItems: 1 + + spi-cpha: true + +required: + - compatible + - reg + +allOf: + - $ref: /schemas/spi/spi-peripheral-props.yaml# + - if: + properties: + compatible: + contains: + enum: + - maxim,max6675 + then: + required: + - spi-cpha + else: + properties: + spi-cpha: false + +unevaluatedProperties: false + +examples: + - | + spi { + #address-cells = <1>; + #size-cells = <0>; + + temp-sensor@0 { + compatible = "maxim,max31855k"; + reg = <0>; + spi-max-frequency = <4300000>; + }; + temp-sensor@1 { + compatible = "maxim,max6675"; + reg = <1>; + spi-max-frequency = <4300000>; + spi-cpha; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/temperature/microchip,mcp9600.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/temperature/microchip,mcp9600.yaml index 2cbc4b47e9..d2cafa38a5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/temperature/microchip,mcp9600.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/temperature/microchip,mcp9600.yaml @@ -1,70 +1,70 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/temperature/microchip,mcp9600.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Microchip MCP9600 thermocouple EMF converter - -maintainers: - - Andrew Hepp - -description: - https://ww1.microchip.com/downloads/en/DeviceDoc/MCP960X-Data-Sheet-20005426.pdf - -properties: - compatible: - const: microchip,mcp9600 - - reg: - maxItems: 1 - - interrupts: - minItems: 1 - maxItems: 6 - - interrupt-names: - minItems: 1 - maxItems: 6 - items: - enum: - - open-circuit - - short-circuit - - alert1 - - alert2 - - alert3 - - alert4 - - thermocouple-type: - $ref: /schemas/types.yaml#/definitions/uint32 - description: - Type of thermocouple (THERMOCOUPLE_TYPE_K if omitted). - Use defines in dt-bindings/iio/temperature/thermocouple.h. - Supported types are B, E, J, K, N, R, S, T. - - vdd-supply: true - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - #include - #include - i2c { - #address-cells = <1>; - #size-cells = <0>; - - temperature-sensor@60 { - compatible = "microchip,mcp9600"; - reg = <0x60>; - interrupt-parent = <&gpio>; - interrupts = <25 IRQ_TYPE_EDGE_RISING>; - interrupt-names = "open-circuit"; - thermocouple-type = ; - vdd-supply = <&vdd>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/temperature/microchip,mcp9600.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Microchip MCP9600 thermocouple EMF converter + +maintainers: + - Andrew Hepp + +description: + https://ww1.microchip.com/downloads/en/DeviceDoc/MCP960X-Data-Sheet-20005426.pdf + +properties: + compatible: + const: microchip,mcp9600 + + reg: + maxItems: 1 + + interrupts: + minItems: 1 + maxItems: 6 + + interrupt-names: + minItems: 1 + maxItems: 6 + items: + enum: + - open-circuit + - short-circuit + - alert1 + - alert2 + - alert3 + - alert4 + + thermocouple-type: + $ref: /schemas/types.yaml#/definitions/uint32 + description: + Type of thermocouple (THERMOCOUPLE_TYPE_K if omitted). + Use defines in dt-bindings/iio/temperature/thermocouple.h. + Supported types are B, E, J, K, N, R, S, T. + + vdd-supply: true + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + #include + #include + i2c { + #address-cells = <1>; + #size-cells = <0>; + + temperature-sensor@60 { + compatible = "microchip,mcp9600"; + reg = <0x60>; + interrupt-parent = <&gpio>; + interrupts = <25 IRQ_TYPE_EDGE_RISING>; + interrupt-names = "open-circuit"; + thermocouple-type = ; + vdd-supply = <&vdd>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/adafruit,seesaw-gamepad.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/adafruit,seesaw-gamepad.yaml index ede63b5b22..5e86f6de69 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/adafruit,seesaw-gamepad.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/adafruit,seesaw-gamepad.yaml @@ -1,63 +1,63 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/input/adafruit,seesaw-gamepad.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Adafruit Mini I2C Gamepad with seesaw - -maintainers: - - Anshul Dalal - -description: | - Adafruit Mini I2C Gamepad - - +-----------------------------+ - | ___ | - | / \ (X) | - | | S | __ __ (Y) (A) | - | \___/ |ST| |SE| (B) | - | | - +-----------------------------+ - - S -> 10-bit precision bidirectional analog joystick - ST -> Start - SE -> Select - X, A, B, Y -> Digital action buttons - - Datasheet: https://cdn-learn.adafruit.com/downloads/pdf/gamepad-qt.pdf - Product page: https://www.adafruit.com/product/5743 - Arduino Driver: https://github.com/adafruit/Adafruit_Seesaw - -properties: - compatible: - const: adafruit,seesaw-gamepad - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - description: - The gamepad's IRQ pin triggers a rising edge if interrupts are enabled. - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - #include - - i2c { - #address-cells = <1>; - #size-cells = <0>; - - joystick@50 { - compatible = "adafruit,seesaw-gamepad"; - interrupts = <18 IRQ_TYPE_EDGE_RISING>; - reg = <0x50>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/input/adafruit,seesaw-gamepad.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Adafruit Mini I2C Gamepad with seesaw + +maintainers: + - Anshul Dalal + +description: | + Adafruit Mini I2C Gamepad + + +-----------------------------+ + | ___ | + | / \ (X) | + | | S | __ __ (Y) (A) | + | \___/ |ST| |SE| (B) | + | | + +-----------------------------+ + + S -> 10-bit precision bidirectional analog joystick + ST -> Start + SE -> Select + X, A, B, Y -> Digital action buttons + + Datasheet: https://cdn-learn.adafruit.com/downloads/pdf/gamepad-qt.pdf + Product page: https://www.adafruit.com/product/5743 + Arduino Driver: https://github.com/adafruit/Adafruit_Seesaw + +properties: + compatible: + const: adafruit,seesaw-gamepad + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + description: + The gamepad's IRQ pin triggers a rising edge if interrupts are enabled. + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + #include + + i2c { + #address-cells = <1>; + #size-cells = <0>; + + joystick@50 { + compatible = "adafruit,seesaw-gamepad"; + interrupts = <18 IRQ_TYPE_EDGE_RISING>; + reg = <0x50>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/cirrus,cs40l50.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/cirrus,cs40l50.yaml index 51054f09d3..89bd06864b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/cirrus,cs40l50.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/cirrus,cs40l50.yaml @@ -1,68 +1,68 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/input/cirrus,cs40l50.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Cirrus Logic CS40L50 Advanced Haptic Driver - -maintainers: - - James Ogletree - -description: - CS40L50 is a haptic driver with waveform memory, - integrated DSP, and closed-loop algorithms. - -properties: - compatible: - enum: - - cirrus,cs40l50 - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - reset-gpios: - maxItems: 1 - - vdd-a-supply: - description: Power supply for internal analog circuits. - - vdd-p-supply: - description: Power supply for always-on circuits. - - vdd-io-supply: - description: Power supply for digital input/output. - - vdd-b-supply: - description: Power supply for the boost converter. - -required: - - compatible - - reg - - interrupts - - reset-gpios - - vdd-io-supply - -additionalProperties: false - -examples: - - | - #include - #include - - i2c { - #address-cells = <1>; - #size-cells = <0>; - - haptic-driver@34 { - compatible = "cirrus,cs40l50"; - reg = <0x34>; - interrupt-parent = <&gpio>; - interrupts = <113 IRQ_TYPE_LEVEL_LOW>; - reset-gpios = <&gpio 112 GPIO_ACTIVE_LOW>; - vdd-io-supply = <&vreg>; - }; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/input/cirrus,cs40l50.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Cirrus Logic CS40L50 Advanced Haptic Driver + +maintainers: + - James Ogletree + +description: + CS40L50 is a haptic driver with waveform memory, + integrated DSP, and closed-loop algorithms. + +properties: + compatible: + enum: + - cirrus,cs40l50 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + reset-gpios: + maxItems: 1 + + vdd-a-supply: + description: Power supply for internal analog circuits. + + vdd-p-supply: + description: Power supply for always-on circuits. + + vdd-io-supply: + description: Power supply for digital input/output. + + vdd-b-supply: + description: Power supply for the boost converter. + +required: + - compatible + - reg + - interrupts + - reset-gpios + - vdd-io-supply + +additionalProperties: false + +examples: + - | + #include + #include + + i2c { + #address-cells = <1>; + #size-cells = <0>; + + haptic-driver@34 { + compatible = "cirrus,cs40l50"; + reg = <0x34>; + interrupt-parent = <&gpio>; + interrupts = <113 IRQ_TYPE_LEVEL_LOW>; + reset-gpios = <&gpio 112 GPIO_ACTIVE_LOW>; + vdd-io-supply = <&vreg>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/cypress,tm2-touchkey.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/cypress,tm2-touchkey.yaml index 90e2d0dfda..52dca8b640 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/cypress,tm2-touchkey.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/cypress,tm2-touchkey.yaml @@ -1,73 +1,73 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/input/cypress,tm2-touchkey.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Samsung TM2 touch key controller - -maintainers: - - Stephan Gerhold - -description: | - Touch key controllers similar to the TM2 can be found in a wide range of - Samsung devices. They are implemented using many different MCUs, but use - a similar I2C protocol. - -allOf: - - $ref: input.yaml# - -properties: - compatible: - enum: - - cypress,tm2-touchkey - - cypress,midas-touchkey - - cypress,aries-touchkey - - coreriver,tc360-touchkey - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - vdd-supply: - description: Optional regulator for LED voltage, 3.3V. - - vcc-supply: - description: Optional regulator for MCU, 1.8V-3.3V (depending on MCU). - - vddio-supply: - description: | - Optional regulator that provides digital I/O voltage, - e.g. for pulling up the interrupt line or the I2C pins. - - linux,keycodes: - minItems: 1 - maxItems: 4 - -required: - - compatible - - reg - - interrupts - -additionalProperties: false - -examples: - - | - #include - #include - i2c { - #address-cells = <1>; - #size-cells = <0>; - - touchkey@20 { - compatible = "cypress,tm2-touchkey"; - reg = <0x20>; - interrupt-parent = <&gpa3>; - interrupts = <2 IRQ_TYPE_EDGE_FALLING>; - vcc-supply = <&ldo32_reg>; - vdd-supply = <&ldo33_reg>; - linux,keycodes = ; - }; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/input/cypress,tm2-touchkey.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Samsung TM2 touch key controller + +maintainers: + - Stephan Gerhold + +description: | + Touch key controllers similar to the TM2 can be found in a wide range of + Samsung devices. They are implemented using many different MCUs, but use + a similar I2C protocol. + +allOf: + - $ref: input.yaml# + +properties: + compatible: + enum: + - cypress,tm2-touchkey + - cypress,midas-touchkey + - cypress,aries-touchkey + - coreriver,tc360-touchkey + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + vdd-supply: + description: Optional regulator for LED voltage, 3.3V. + + vcc-supply: + description: Optional regulator for MCU, 1.8V-3.3V (depending on MCU). + + vddio-supply: + description: | + Optional regulator that provides digital I/O voltage, + e.g. for pulling up the interrupt line or the I2C pins. + + linux,keycodes: + minItems: 1 + maxItems: 4 + +required: + - compatible + - reg + - interrupts + +additionalProperties: false + +examples: + - | + #include + #include + i2c { + #address-cells = <1>; + #size-cells = <0>; + + touchkey@20 { + compatible = "cypress,tm2-touchkey"; + reg = <0x20>; + interrupt-parent = <&gpa3>; + interrupts = <2 IRQ_TYPE_EDGE_FALLING>; + vcc-supply = <&ldo32_reg>; + vdd-supply = <&ldo33_reg>; + linux,keycodes = ; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/elan,ekth3000.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/elan,ekth3000.yaml index d80e3558c3..24dc2d6961 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/elan,ekth3000.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/elan,ekth3000.yaml @@ -1,81 +1,81 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/input/elan,ekth3000.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Elantech I2C Touchpad - -maintainers: - - Dmitry Torokhov - -allOf: - - $ref: touchscreen/touchscreen.yaml# - -properties: - compatible: - const: elan,ekth3000 - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - wakeup-source: - type: boolean - description: touchpad can be used as a wakeup source - - vcc-supply: - description: a phandle for the regulator supplying 3.3V power - - elan,trackpoint: - type: boolean - description: touchpad can support a trackpoint - - elan,clickpad: - type: boolean - description: touchpad is a clickpad (the entire surface is a button) - - elan,middle-button: - type: boolean - description: touchpad has a physical middle button - - elan,x_traces: - $ref: /schemas/types.yaml#/definitions/uint32 - description: number of antennas on the x axis - - elan,y_traces: - $ref: /schemas/types.yaml#/definitions/uint32 - description: number of antennas on the y axis - - touchscreen-size-x: true - - touchscreen-size-y: true - - touchscreen-x-mm: true - - touchscreen-y-mm: true - -required: - - compatible - - reg - - interrupts - -additionalProperties: false - -examples: - - | - #include - i2c { - #address-cells = <1>; - #size-cells = <0>; - - touchpad@15 { - compatible = "elan,ekth3000"; - reg = <0x15>; - interrupt-parent = <&gpio4>; - interrupts = <0x0 IRQ_TYPE_EDGE_FALLING>; - wakeup-source; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/input/elan,ekth3000.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Elantech I2C Touchpad + +maintainers: + - Dmitry Torokhov + +allOf: + - $ref: touchscreen/touchscreen.yaml# + +properties: + compatible: + const: elan,ekth3000 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + wakeup-source: + type: boolean + description: touchpad can be used as a wakeup source + + vcc-supply: + description: a phandle for the regulator supplying 3.3V power + + elan,trackpoint: + type: boolean + description: touchpad can support a trackpoint + + elan,clickpad: + type: boolean + description: touchpad is a clickpad (the entire surface is a button) + + elan,middle-button: + type: boolean + description: touchpad has a physical middle button + + elan,x_traces: + $ref: /schemas/types.yaml#/definitions/uint32 + description: number of antennas on the x axis + + elan,y_traces: + $ref: /schemas/types.yaml#/definitions/uint32 + description: number of antennas on the y axis + + touchscreen-size-x: true + + touchscreen-size-y: true + + touchscreen-x-mm: true + + touchscreen-y-mm: true + +required: + - compatible + - reg + - interrupts + +additionalProperties: false + +examples: + - | + #include + i2c { + #address-cells = <1>; + #size-cells = <0>; + + touchpad@15 { + compatible = "elan,ekth3000"; + reg = <0x15>; + interrupt-parent = <&gpio4>; + interrupts = <0x0 IRQ_TYPE_EDGE_FALLING>; + wakeup-source; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/elan,ekth6915.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/elan,ekth6915.yaml index d0e9ac3463..cb3e1801b0 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/elan,ekth6915.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/elan,ekth6915.yaml @@ -1,82 +1,82 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/input/elan,ekth6915.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Elan eKTH6915 touchscreen controller - -maintainers: - - Douglas Anderson - -description: - Supports the Elan eKTH6915 touchscreen controller. - This touchscreen controller uses the i2c-hid protocol with a reset GPIO. - -allOf: - - $ref: /schemas/input/touchscreen/touchscreen.yaml# - -properties: - compatible: - oneOf: - - items: - - enum: - - elan,ekth5015m - - const: elan,ekth6915 - - enum: - - elan,ekth6915 - - elan,ekth6a12nay - - reg: - const: 0x10 - - interrupts: - maxItems: 1 - - panel: true - - reset-gpios: - description: Reset GPIO; not all touchscreens using eKTH6915 hook this up. - - no-reset-on-power-off: - type: boolean - description: - Reset line is wired so that it can (and should) be left deasserted when - the power supply is off. - - vcc33-supply: - description: The 3.3V supply to the touchscreen. - - vccio-supply: - description: - The IO supply to the touchscreen. Need not be specified if this is the - same as the 3.3V supply. - -required: - - compatible - - reg - - interrupts - - vcc33-supply - -additionalProperties: false - -examples: - - | - #include - #include - - i2c { - #address-cells = <1>; - #size-cells = <0>; - - touchscreen@10 { - compatible = "elan,ekth5015m", "elan,ekth6915"; - reg = <0x10>; - - interrupt-parent = <&tlmm>; - interrupts = <9 IRQ_TYPE_LEVEL_LOW>; - - reset-gpios = <&tlmm 8 GPIO_ACTIVE_LOW>; - vcc33-supply = <&pp3300_ts>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/input/elan,ekth6915.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Elan eKTH6915 touchscreen controller + +maintainers: + - Douglas Anderson + +description: + Supports the Elan eKTH6915 touchscreen controller. + This touchscreen controller uses the i2c-hid protocol with a reset GPIO. + +allOf: + - $ref: /schemas/input/touchscreen/touchscreen.yaml# + +properties: + compatible: + oneOf: + - items: + - enum: + - elan,ekth5015m + - const: elan,ekth6915 + - enum: + - elan,ekth6915 + - elan,ekth6a12nay + + reg: + const: 0x10 + + interrupts: + maxItems: 1 + + panel: true + + reset-gpios: + description: Reset GPIO; not all touchscreens using eKTH6915 hook this up. + + no-reset-on-power-off: + type: boolean + description: + Reset line is wired so that it can (and should) be left deasserted when + the power supply is off. + + vcc33-supply: + description: The 3.3V supply to the touchscreen. + + vccio-supply: + description: + The IO supply to the touchscreen. Need not be specified if this is the + same as the 3.3V supply. + +required: + - compatible + - reg + - interrupts + - vcc33-supply + +additionalProperties: false + +examples: + - | + #include + #include + + i2c { + #address-cells = <1>; + #size-cells = <0>; + + touchscreen@10 { + compatible = "elan,ekth5015m", "elan,ekth6915"; + reg = <0x10>; + + interrupt-parent = <&tlmm>; + interrupts = <9 IRQ_TYPE_LEVEL_LOW>; + + reset-gpios = <&tlmm 8 GPIO_ACTIVE_LOW>; + vcc33-supply = <&pp3300_ts>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/gpio-matrix-keypad.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/gpio-matrix-keypad.txt index 7bb31631ff..570dc10f0c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/gpio-matrix-keypad.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/gpio-matrix-keypad.txt @@ -1,49 +1,49 @@ -* GPIO driven matrix keypad device tree bindings - -GPIO driven matrix keypad is used to interface a SoC with a matrix keypad. -The matrix keypad supports multiple row and column lines, a key can be -placed at each intersection of a unique row and a unique column. The matrix -keypad can sense a key-press and key-release by means of GPIO lines and -report the event using GPIO interrupts to the cpu. - -Required Properties: -- compatible: Should be "gpio-matrix-keypad" -- row-gpios: List of gpios used as row lines. The gpio specifier - for this property depends on the gpio controller to - which these row lines are connected. -- col-gpios: List of gpios used as column lines. The gpio specifier - for this property depends on the gpio controller to - which these column lines are connected. -- linux,keymap: The definition can be found at - bindings/input/matrix-keymap.txt - -Optional Properties: -- linux,no-autorepeat: do no enable autorepeat feature. -- wakeup-source: use any event on keypad as wakeup event. - (Legacy property supported: "linux,wakeup") -- debounce-delay-ms: debounce interval in milliseconds -- col-scan-delay-us: delay, measured in microseconds, that is needed - before we can scan keypad after activating column gpio -- drive-inactive-cols: drive inactive columns during scan, - default is to turn inactive columns into inputs. - -Example: - matrix-keypad { - compatible = "gpio-matrix-keypad"; - debounce-delay-ms = <5>; - col-scan-delay-us = <2>; - - row-gpios = <&gpio2 25 0 - &gpio2 26 0 - &gpio2 27 0>; - - col-gpios = <&gpio2 21 0 - &gpio2 22 0>; - - linux,keymap = <0x0000008B - 0x0100009E - 0x02000069 - 0x0001006A - 0x0101001C - 0x0201006C>; - }; +* GPIO driven matrix keypad device tree bindings + +GPIO driven matrix keypad is used to interface a SoC with a matrix keypad. +The matrix keypad supports multiple row and column lines, a key can be +placed at each intersection of a unique row and a unique column. The matrix +keypad can sense a key-press and key-release by means of GPIO lines and +report the event using GPIO interrupts to the cpu. + +Required Properties: +- compatible: Should be "gpio-matrix-keypad" +- row-gpios: List of gpios used as row lines. The gpio specifier + for this property depends on the gpio controller to + which these row lines are connected. +- col-gpios: List of gpios used as column lines. The gpio specifier + for this property depends on the gpio controller to + which these column lines are connected. +- linux,keymap: The definition can be found at + bindings/input/matrix-keymap.txt + +Optional Properties: +- linux,no-autorepeat: do no enable autorepeat feature. +- wakeup-source: use any event on keypad as wakeup event. + (Legacy property supported: "linux,wakeup") +- debounce-delay-ms: debounce interval in milliseconds +- col-scan-delay-us: delay, measured in microseconds, that is needed + before we can scan keypad after activating column gpio +- drive-inactive-cols: drive inactive columns during scan, + default is to turn inactive columns into inputs. + +Example: + matrix-keypad { + compatible = "gpio-matrix-keypad"; + debounce-delay-ms = <5>; + col-scan-delay-us = <2>; + + row-gpios = <&gpio2 25 0 + &gpio2 26 0 + &gpio2 27 0>; + + col-gpios = <&gpio2 21 0 + &gpio2 22 0>; + + linux,keymap = <0x0000008B + 0x0100009E + 0x02000069 + 0x0001006A + 0x0101001C + 0x0201006C>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/gpio-mouse.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/gpio-mouse.yaml index d4456e975e..3928ec6aff 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/gpio-mouse.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/gpio-mouse.yaml @@ -1,68 +1,68 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/input/gpio-mouse.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: GPIO attached mouse - -description: | - This simply uses standard GPIO handles to define a simple mouse connected - to 5-7 GPIO lines. - -maintainers: - - Anshul Dalal - -properties: - compatible: - const: gpio-mouse - - scan-interval-ms: - maxItems: 1 - - up-gpios: - maxItems: 1 - - down-gpios: - maxItems: 1 - - left-gpios: - maxItems: 1 - - right-gpios: - maxItems: 1 - - button-left-gpios: - maxItems: 1 - - button-middle-gpios: - maxItems: 1 - - button-right-gpios: - maxItems: 1 - -required: - - compatible - - scan-interval-ms - - up-gpios - - down-gpios - - left-gpios - - right-gpios - -additionalProperties: false - -examples: - - | - #include - - gpio-mouse { - compatible = "gpio-mouse"; - scan-interval-ms = <50>; - up-gpios = <&gpio0 0 GPIO_ACTIVE_LOW>; - down-gpios = <&gpio0 1 GPIO_ACTIVE_LOW>; - left-gpios = <&gpio0 2 GPIO_ACTIVE_LOW>; - right-gpios = <&gpio0 3 GPIO_ACTIVE_LOW>; - button-left-gpios = <&gpio0 4 GPIO_ACTIVE_LOW>; - button-middle-gpios = <&gpio0 5 GPIO_ACTIVE_LOW>; - button-right-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/input/gpio-mouse.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: GPIO attached mouse + +description: | + This simply uses standard GPIO handles to define a simple mouse connected + to 5-7 GPIO lines. + +maintainers: + - Anshul Dalal + +properties: + compatible: + const: gpio-mouse + + scan-interval-ms: + maxItems: 1 + + up-gpios: + maxItems: 1 + + down-gpios: + maxItems: 1 + + left-gpios: + maxItems: 1 + + right-gpios: + maxItems: 1 + + button-left-gpios: + maxItems: 1 + + button-middle-gpios: + maxItems: 1 + + button-right-gpios: + maxItems: 1 + +required: + - compatible + - scan-interval-ms + - up-gpios + - down-gpios + - left-gpios + - right-gpios + +additionalProperties: false + +examples: + - | + #include + + gpio-mouse { + compatible = "gpio-mouse"; + scan-interval-ms = <50>; + up-gpios = <&gpio0 0 GPIO_ACTIVE_LOW>; + down-gpios = <&gpio0 1 GPIO_ACTIVE_LOW>; + left-gpios = <&gpio0 2 GPIO_ACTIVE_LOW>; + right-gpios = <&gpio0 3 GPIO_ACTIVE_LOW>; + button-left-gpios = <&gpio0 4 GPIO_ACTIVE_LOW>; + button-middle-gpios = <&gpio0 5 GPIO_ACTIVE_LOW>; + button-right-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/ilitek,ili9882t.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/ilitek,ili9882t.yaml index 52a1e713b8..c5d9e0e919 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/ilitek,ili9882t.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/ilitek,ili9882t.yaml @@ -1,67 +1,67 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/input/ilitek,ili9882t.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Ilitek ili9882t touchscreen controller - -maintainers: - - Cong Yang - -description: - Supports the Ilitek ili9882t touchscreen controller. - This touchscreen controller uses the i2c-hid protocol with a reset GPIO. - -allOf: - - $ref: /schemas/input/touchscreen/touchscreen.yaml# - -properties: - compatible: - const: ilitek,ili9882t - - reg: - const: 0x41 - - interrupts: - maxItems: 1 - - panel: true - - reset-gpios: - maxItems: 1 - description: Reset GPIO. - - vccio-supply: - description: The 1.8V supply to the touchscreen. - -required: - - compatible - - reg - - interrupts - - panel - - vccio-supply - -additionalProperties: false - -examples: - - | - #include - #include - - i2c { - #address-cells = <1>; - #size-cells = <0>; - - touchscreen: touchscreen@41 { - compatible = "ilitek,ili9882t"; - reg = <0x41>; - - interrupt-parent = <&pio>; - interrupts = <12 IRQ_TYPE_LEVEL_LOW>; - - panel = <&panel>; - reset-gpios = <&pio 60 GPIO_ACTIVE_LOW>; - vccio-supply = <&mt6366_vio18_reg>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/input/ilitek,ili9882t.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Ilitek ili9882t touchscreen controller + +maintainers: + - Cong Yang + +description: + Supports the Ilitek ili9882t touchscreen controller. + This touchscreen controller uses the i2c-hid protocol with a reset GPIO. + +allOf: + - $ref: /schemas/input/touchscreen/touchscreen.yaml# + +properties: + compatible: + const: ilitek,ili9882t + + reg: + const: 0x41 + + interrupts: + maxItems: 1 + + panel: true + + reset-gpios: + maxItems: 1 + description: Reset GPIO. + + vccio-supply: + description: The 1.8V supply to the touchscreen. + +required: + - compatible + - reg + - interrupts + - panel + - vccio-supply + +additionalProperties: false + +examples: + - | + #include + #include + + i2c { + #address-cells = <1>; + #size-cells = <0>; + + touchscreen: touchscreen@41 { + compatible = "ilitek,ili9882t"; + reg = <0x41>; + + interrupt-parent = <&pio>; + interrupts = <12 IRQ_TYPE_LEVEL_LOW>; + + panel = <&panel>; + reset-gpios = <&pio 60 GPIO_ACTIVE_LOW>; + vccio-supply = <&mt6366_vio18_reg>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/input.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/input.yaml index 518fb6fe87..94f7942189 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/input.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/input.yaml @@ -1,64 +1,64 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/input/input.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Input Devices Common Properties - -maintainers: - - Dmitry Torokhov - -properties: - autorepeat: - description: Enable autorepeat when key is pressed and held down. - type: boolean - - linux,keycodes: - description: - Specifies an array of numeric keycode values to be used for reporting - button presses. - $ref: /schemas/types.yaml#/definitions/uint32-array - items: - minimum: 0 - maximum: 0x2ff - - linux,code: - description: - Specifies a single numeric keycode value to be used for reporting - button/switch events. Specify KEY_RESERVED (0) to opt out of event - reporting. - $ref: /schemas/types.yaml#/definitions/uint32 - maximum: 0x2ff - - linux,input-type: - $ref: /schemas/types.yaml#/definitions/uint32 - enum: - - 1 # EV_KEY - - 2 # EV_REL - - 3 # EV_ABS - - 5 # EV_SW - description: - Specifies whether the event is to be interpreted as a key, relative, - absolute, or switch. - - poll-interval: - description: Poll interval time in milliseconds. - $ref: /schemas/types.yaml#/definitions/uint32 - - power-off-time-sec: - description: - Duration in seconds which the key should be kept pressed for device to - power off automatically. Device with key pressed shutdown feature can - specify this property. - - reset-time-sec: - description: - Duration in seconds which the key should be kept pressed for device to - reset automatically. Device with key pressed reset feature can specify - this property. - -dependencies: - linux,input-type: [ "linux,code" ] - -additionalProperties: true +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/input/input.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Input Devices Common Properties + +maintainers: + - Dmitry Torokhov + +properties: + autorepeat: + description: Enable autorepeat when key is pressed and held down. + type: boolean + + linux,keycodes: + description: + Specifies an array of numeric keycode values to be used for reporting + button presses. + $ref: /schemas/types.yaml#/definitions/uint32-array + items: + minimum: 0 + maximum: 0x2ff + + linux,code: + description: + Specifies a single numeric keycode value to be used for reporting + button/switch events. Specify KEY_RESERVED (0) to opt out of event + reporting. + $ref: /schemas/types.yaml#/definitions/uint32 + maximum: 0x2ff + + linux,input-type: + $ref: /schemas/types.yaml#/definitions/uint32 + enum: + - 1 # EV_KEY + - 2 # EV_REL + - 3 # EV_ABS + - 5 # EV_SW + description: + Specifies whether the event is to be interpreted as a key, relative, + absolute, or switch. + + poll-interval: + description: Poll interval time in milliseconds. + $ref: /schemas/types.yaml#/definitions/uint32 + + power-off-time-sec: + description: + Duration in seconds which the key should be kept pressed for device to + power off automatically. Device with key pressed shutdown feature can + specify this property. + + reset-time-sec: + description: + Duration in seconds which the key should be kept pressed for device to + reset automatically. Device with key pressed reset feature can specify + this property. + +dependencies: + linux,input-type: [ "linux,code" ] + +additionalProperties: true diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/matrix-keymap.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/matrix-keymap.yaml index dbd2fbf880..a715c2a773 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/matrix-keymap.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/matrix-keymap.yaml @@ -1,48 +1,48 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/input/matrix-keymap.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Common Key Matrices on Matrix-connected Key Boards - -maintainers: - - Olof Johansson - -description: | - A simple common binding for matrix-connected key boards. Currently targeted at - defining the keys in the scope of linux key codes since that is a stable and - standardized interface at this time. - - Some users of this binding might choose to specify secondary keymaps for - cases where there is a modifier key such as a Fn key. Proposed names - for said properties are "linux,fn-keymap" or with another descriptive - word for the modifier other from "Fn". - -properties: - linux,keymap: - $ref: /schemas/types.yaml#/definitions/uint32-array - description: | - An array of packed 1-cell entries containing the equivalent of row, - column and linux key-code. The 32-bit big endian cell is packed as: - row << 24 | column << 16 | key-code - - keypad,num-rows: - $ref: /schemas/types.yaml#/definitions/uint32 - description: Number of row lines connected to the keypad controller. - - keypad,num-columns: - $ref: /schemas/types.yaml#/definitions/uint32 - description: Number of column lines connected to the keypad controller. - -additionalProperties: true - -examples: - - | - keypad { - /* ... */ - linux,keymap = < 0x00030012 - 0x0102003a >; - keypad,num-rows = <2>; - keypad,num-columns = <8>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/input/matrix-keymap.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Common Key Matrices on Matrix-connected Key Boards + +maintainers: + - Olof Johansson + +description: | + A simple common binding for matrix-connected key boards. Currently targeted at + defining the keys in the scope of linux key codes since that is a stable and + standardized interface at this time. + + Some users of this binding might choose to specify secondary keymaps for + cases where there is a modifier key such as a Fn key. Proposed names + for said properties are "linux,fn-keymap" or with another descriptive + word for the modifier other from "Fn". + +properties: + linux,keymap: + $ref: /schemas/types.yaml#/definitions/uint32-array + description: | + An array of packed 1-cell entries containing the equivalent of row, + column and linux key-code. The 32-bit big endian cell is packed as: + row << 24 | column << 16 | key-code + + keypad,num-rows: + $ref: /schemas/types.yaml#/definitions/uint32 + description: Number of row lines connected to the keypad controller. + + keypad,num-columns: + $ref: /schemas/types.yaml#/definitions/uint32 + description: Number of column lines connected to the keypad controller. + +additionalProperties: true + +examples: + - | + keypad { + /* ... */ + linux,keymap = < 0x00030012 + 0x0102003a >; + keypad,num-rows = <2>; + keypad,num-columns = <8>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/pine64,pinephone-keyboard.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/pine64,pinephone-keyboard.yaml index 185e76262c..490f6c3d9e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/pine64,pinephone-keyboard.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/pine64,pinephone-keyboard.yaml @@ -1,66 +1,66 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/input/pine64,pinephone-keyboard.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Pine64 PinePhone keyboard - -maintainers: - - Samuel Holland - -description: - A keyboard accessory is available for the Pine64 PinePhone and PinePhone Pro. - It connects via I2C, providing a raw scan matrix, a flashing interface, and a - subordinate I2C bus for communication with a battery charger IC. - -properties: - compatible: - const: pine64,pinephone-keyboard - - reg: - const: 0x15 - - interrupts: - maxItems: 1 - - vbat-supply: - description: Supply for the keyboard MCU - - wakeup-source: true - - i2c: - $ref: /schemas/i2c/i2c-controller.yaml# - -required: - - compatible - - reg - - interrupts - -additionalProperties: false - -examples: - - | - #include - #include - - i2c { - #address-cells = <1>; - #size-cells = <0>; - - keyboard@15 { - compatible = "pine64,pinephone-keyboard"; - reg = <0x15>; - interrupt-parent = <&r_pio>; - interrupts = <0 12 IRQ_TYPE_EDGE_FALLING>; /* PL12 */ - - i2c { - #address-cells = <1>; - #size-cells = <0>; - - charger@75 { - reg = <0x75>; - }; - }; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/input/pine64,pinephone-keyboard.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Pine64 PinePhone keyboard + +maintainers: + - Samuel Holland + +description: + A keyboard accessory is available for the Pine64 PinePhone and PinePhone Pro. + It connects via I2C, providing a raw scan matrix, a flashing interface, and a + subordinate I2C bus for communication with a battery charger IC. + +properties: + compatible: + const: pine64,pinephone-keyboard + + reg: + const: 0x15 + + interrupts: + maxItems: 1 + + vbat-supply: + description: Supply for the keyboard MCU + + wakeup-source: true + + i2c: + $ref: /schemas/i2c/i2c-controller.yaml# + +required: + - compatible + - reg + - interrupts + +additionalProperties: false + +examples: + - | + #include + #include + + i2c { + #address-cells = <1>; + #size-cells = <0>; + + keyboard@15 { + compatible = "pine64,pinephone-keyboard"; + reg = <0x15>; + interrupt-parent = <&r_pio>; + interrupts = <0 12 IRQ_TYPE_EDGE_FALLING>; /* PL12 */ + + i2c { + #address-cells = <1>; + #size-cells = <0>; + + charger@75 { + reg = <0x75>; + }; + }; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/pwm-vibrator.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/pwm-vibrator.yaml index ccce4430ea..6398534b43 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/pwm-vibrator.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/pwm-vibrator.yaml @@ -1,59 +1,59 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/input/pwm-vibrator.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: PWM vibrator - -maintainers: - - Sebastian Reichel - -description: > - Registers a PWM device as vibrator. It is expected, that the vibrator's - strength increases based on the duty cycle of the enable PWM channel - (100% duty cycle meaning strongest vibration, 0% meaning no vibration). - - The binding supports an optional direction PWM channel, that can be - driven at fixed duty cycle. If available this is can be used to increase - the vibration effect of some devices. - -properties: - compatible: - const: pwm-vibrator - - pwm-names: - items: - - const: enable - - const: direction - minItems: 1 - - pwms: - minItems: 1 - maxItems: 2 - - enable-gpios: true - - vcc-supply: true - - direction-duty-cycle-ns: - description: > - Duty cycle of the direction PWM channel in nanoseconds, - defaults to 50% of the channel's period. - -required: - - compatible - - pwm-names - - pwms - -additionalProperties: false - -examples: - - | - vibrator { - compatible = "pwm-vibrator"; - pwms = <&pwm9 0 1000000000 0>, - <&pwm8 0 1000000000 0>; - pwm-names = "enable", "direction"; - direction-duty-cycle-ns = <1000000000>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/input/pwm-vibrator.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: PWM vibrator + +maintainers: + - Sebastian Reichel + +description: > + Registers a PWM device as vibrator. It is expected, that the vibrator's + strength increases based on the duty cycle of the enable PWM channel + (100% duty cycle meaning strongest vibration, 0% meaning no vibration). + + The binding supports an optional direction PWM channel, that can be + driven at fixed duty cycle. If available this is can be used to increase + the vibration effect of some devices. + +properties: + compatible: + const: pwm-vibrator + + pwm-names: + items: + - const: enable + - const: direction + minItems: 1 + + pwms: + minItems: 1 + maxItems: 2 + + enable-gpios: true + + vcc-supply: true + + direction-duty-cycle-ns: + description: > + Duty cycle of the direction PWM channel in nanoseconds, + defaults to 50% of the channel's period. + +required: + - compatible + - pwm-names + - pwms + +additionalProperties: false + +examples: + - | + vibrator { + compatible = "pwm-vibrator"; + pwms = <&pwm9 0 1000000000 0>, + <&pwm8 0 1000000000 0>; + pwm-names = "enable", "direction"; + direction-duty-cycle-ns = <1000000000>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/qcom,pm8921-pwrkey.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/qcom,pm8921-pwrkey.yaml index bb8cbb78f1..12c74c0832 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/qcom,pm8921-pwrkey.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/qcom,pm8921-pwrkey.yaml @@ -1,75 +1,75 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/input/qcom,pm8921-pwrkey.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm PM8921 PMIC Power Key - -maintainers: - - Bjorn Andersson - -allOf: - - $ref: input.yaml# - -properties: - compatible: - oneOf: - - enum: - - qcom,pm8921-pwrkey - - qcom,pm8058-pwrkey - - items: - - enum: - - qcom,pm8018-pwrkey - - const: qcom,pm8921-pwrkey - - reg: - maxItems: 1 - - interrupts: - items: - - description: key release - - description: key press - - debounce: - description: - Time in microseconds that key must be pressed or - released for state change interrupt to trigger. - $ref: /schemas/types.yaml#/definitions/uint32 - - pull-up: - description: - Presence of this property indicates that the KPDPWR_N - pin should be configured for pull up. - $ref: /schemas/types.yaml#/definitions/flag - -required: - - compatible - - reg - - interrupts - -unevaluatedProperties: false - -examples: - - | - #include - ssbi { - #address-cells = <1>; - #size-cells = <0>; - - pmic@0 { - reg = <0x0>; - #address-cells = <1>; - #size-cells = <0>; - - pwrkey@1c { - compatible = "qcom,pm8921-pwrkey"; - reg = <0x1c>; - interrupt-parent = <&pmicint>; - interrupts = <50 IRQ_TYPE_EDGE_RISING>, <51 IRQ_TYPE_EDGE_RISING>; - debounce = <15625>; - pull-up; - }; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/input/qcom,pm8921-pwrkey.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm PM8921 PMIC Power Key + +maintainers: + - Bjorn Andersson + +allOf: + - $ref: input.yaml# + +properties: + compatible: + oneOf: + - enum: + - qcom,pm8921-pwrkey + - qcom,pm8058-pwrkey + - items: + - enum: + - qcom,pm8018-pwrkey + - const: qcom,pm8921-pwrkey + + reg: + maxItems: 1 + + interrupts: + items: + - description: key release + - description: key press + + debounce: + description: + Time in microseconds that key must be pressed or + released for state change interrupt to trigger. + $ref: /schemas/types.yaml#/definitions/uint32 + + pull-up: + description: + Presence of this property indicates that the KPDPWR_N + pin should be configured for pull up. + $ref: /schemas/types.yaml#/definitions/flag + +required: + - compatible + - reg + - interrupts + +unevaluatedProperties: false + +examples: + - | + #include + ssbi { + #address-cells = <1>; + #size-cells = <0>; + + pmic@0 { + reg = <0x0>; + #address-cells = <1>; + #size-cells = <0>; + + pwrkey@1c { + compatible = "qcom,pm8921-pwrkey"; + reg = <0x1c>; + interrupt-parent = <&pmicint>; + interrupts = <50 IRQ_TYPE_EDGE_RISING>, <51 IRQ_TYPE_EDGE_RISING>; + debounce = <15625>; + pull-up; + }; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/st-keyscan.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/st-keyscan.txt index c212a806c8..51eb428e5c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/st-keyscan.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/st-keyscan.txt @@ -1,60 +1,60 @@ -* ST Keyscan controller Device Tree bindings - -The ST keyscan controller Device Tree binding is based on the -matrix-keymap. - -Required properties: -- compatible: "st,sti-keyscan" - -- reg: Register base address and size of st-keyscan controller. - -- interrupts: Interrupt number for the st-keyscan controller. - -- clocks: Must contain one entry, for the module clock. - See ../clocks/clock-bindings.txt for details. - -- pinctrl: Should specify pin control groups used for this controller. - See ../pinctrl/pinctrl-bindings.txt for details. - -- linux,keymap: The keymap for keys as described in the binding document - devicetree/bindings/input/matrix-keymap.txt. - -- keypad,num-rows: Number of row lines connected to the keypad controller. - -- keypad,num-columns: Number of column lines connected to the keypad - controller. - -Optional property: -- st,debounce_us: Debouncing interval time in microseconds - -Example: - -keyscan: keyscan@fe4b0000 { - compatible = "st,sti-keyscan"; - reg = <0xfe4b0000 0x2000>; - interrupts = ; - clocks = <&CLK_SYSIN>; - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_keyscan>; - - keypad,num-rows = <4>; - keypad,num-columns = <4>; - st,debounce_us = <5000>; - - linux,keymap = < MATRIX_KEY(0x00, 0x00, KEY_F13) - MATRIX_KEY(0x00, 0x01, KEY_F9) - MATRIX_KEY(0x00, 0x02, KEY_F5) - MATRIX_KEY(0x00, 0x03, KEY_F1) - MATRIX_KEY(0x01, 0x00, KEY_F14) - MATRIX_KEY(0x01, 0x01, KEY_F10) - MATRIX_KEY(0x01, 0x02, KEY_F6) - MATRIX_KEY(0x01, 0x03, KEY_F2) - MATRIX_KEY(0x02, 0x00, KEY_F15) - MATRIX_KEY(0x02, 0x01, KEY_F11) - MATRIX_KEY(0x02, 0x02, KEY_F7) - MATRIX_KEY(0x02, 0x03, KEY_F3) - MATRIX_KEY(0x03, 0x00, KEY_F16) - MATRIX_KEY(0x03, 0x01, KEY_F12) - MATRIX_KEY(0x03, 0x02, KEY_F8) - MATRIX_KEY(0x03, 0x03, KEY_F4) >; - }; +* ST Keyscan controller Device Tree bindings + +The ST keyscan controller Device Tree binding is based on the +matrix-keymap. + +Required properties: +- compatible: "st,sti-keyscan" + +- reg: Register base address and size of st-keyscan controller. + +- interrupts: Interrupt number for the st-keyscan controller. + +- clocks: Must contain one entry, for the module clock. + See ../clocks/clock-bindings.txt for details. + +- pinctrl: Should specify pin control groups used for this controller. + See ../pinctrl/pinctrl-bindings.txt for details. + +- linux,keymap: The keymap for keys as described in the binding document + devicetree/bindings/input/matrix-keymap.txt. + +- keypad,num-rows: Number of row lines connected to the keypad controller. + +- keypad,num-columns: Number of column lines connected to the keypad + controller. + +Optional property: +- st,debounce_us: Debouncing interval time in microseconds + +Example: + +keyscan: keyscan@fe4b0000 { + compatible = "st,sti-keyscan"; + reg = <0xfe4b0000 0x2000>; + interrupts = ; + clocks = <&CLK_SYSIN>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_keyscan>; + + keypad,num-rows = <4>; + keypad,num-columns = <4>; + st,debounce_us = <5000>; + + linux,keymap = < MATRIX_KEY(0x00, 0x00, KEY_F13) + MATRIX_KEY(0x00, 0x01, KEY_F9) + MATRIX_KEY(0x00, 0x02, KEY_F5) + MATRIX_KEY(0x00, 0x03, KEY_F1) + MATRIX_KEY(0x01, 0x00, KEY_F14) + MATRIX_KEY(0x01, 0x01, KEY_F10) + MATRIX_KEY(0x01, 0x02, KEY_F6) + MATRIX_KEY(0x01, 0x03, KEY_F2) + MATRIX_KEY(0x02, 0x00, KEY_F15) + MATRIX_KEY(0x02, 0x01, KEY_F11) + MATRIX_KEY(0x02, 0x02, KEY_F7) + MATRIX_KEY(0x02, 0x03, KEY_F3) + MATRIX_KEY(0x03, 0x00, KEY_F16) + MATRIX_KEY(0x03, 0x01, KEY_F12) + MATRIX_KEY(0x03, 0x02, KEY_F8) + MATRIX_KEY(0x03, 0x03, KEY_F4) >; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/ti,nspire-keypad.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/ti,nspire-keypad.yaml index c856e95ab0..ed3cfff13a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/ti,nspire-keypad.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/ti,nspire-keypad.yaml @@ -1,74 +1,74 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/input/ti,nspire-keypad.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: TI-NSPIRE Keypad - -maintainers: - - Andrew Davis - -allOf: - - $ref: input.yaml# - - $ref: matrix-keymap.yaml# - -properties: - compatible: - enum: - - ti,nspire-keypad - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - maxItems: 1 - - scan-interval: - $ref: /schemas/types.yaml#/definitions/uint32 - description: How often to scan in us. Based on a APB speed of 33MHz, the - maximum and minimum delay time is ~2000us and ~500us respectively - - row-delay: - $ref: /schemas/types.yaml#/definitions/uint32 - description: How long to wait between scanning each row in us. - - active-low: - description: Specify that the keypad is active low. - -required: - - compatible - - reg - - interrupts - - clocks - - scan-interval - - row-delay - - linux,keymap - -unevaluatedProperties: false - -examples: - - | - #include - keypad@900e0000 { - compatible = "ti,nspire-keypad"; - reg = <0x900e0000 0x1000>; - interrupts = <16>; - - clocks = <&apb_pclk>; - - scan-interval = <1000>; - row-delay = <200>; - - linux,keymap = < - MATRIX_KEY(0, 0, KEY_ENTER) - MATRIX_KEY(0, 1, KEY_ENTER) - MATRIX_KEY(0, 4, KEY_SPACE) - MATRIX_KEY(0, 5, KEY_Z) - MATRIX_KEY(0, 6, KEY_Y) - MATRIX_KEY(0, 7, KEY_0) - >; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/input/ti,nspire-keypad.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: TI-NSPIRE Keypad + +maintainers: + - Andrew Davis + +allOf: + - $ref: input.yaml# + - $ref: matrix-keymap.yaml# + +properties: + compatible: + enum: + - ti,nspire-keypad + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + + scan-interval: + $ref: /schemas/types.yaml#/definitions/uint32 + description: How often to scan in us. Based on a APB speed of 33MHz, the + maximum and minimum delay time is ~2000us and ~500us respectively + + row-delay: + $ref: /schemas/types.yaml#/definitions/uint32 + description: How long to wait between scanning each row in us. + + active-low: + description: Specify that the keypad is active low. + +required: + - compatible + - reg + - interrupts + - clocks + - scan-interval + - row-delay + - linux,keymap + +unevaluatedProperties: false + +examples: + - | + #include + keypad@900e0000 { + compatible = "ti,nspire-keypad"; + reg = <0x900e0000 0x1000>; + interrupts = <16>; + + clocks = <&apb_pclk>; + + scan-interval = <1000>; + row-delay = <200>; + + linux,keymap = < + MATRIX_KEY(0, 0, KEY_ENTER) + MATRIX_KEY(0, 1, KEY_ENTER) + MATRIX_KEY(0, 4, KEY_SPACE) + MATRIX_KEY(0, 5, KEY_Z) + MATRIX_KEY(0, 6, KEY_Y) + MATRIX_KEY(0, 7, KEY_0) + >; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/azoteq,iqs5xx.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/azoteq,iqs5xx.yaml index 4b9354c8e3..b5f377215c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/azoteq,iqs5xx.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/azoteq,iqs5xx.yaml @@ -1,75 +1,75 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/input/touchscreen/azoteq,iqs5xx.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Azoteq IQS550/572/525 Trackpad/Touchscreen Controller - -maintainers: - - Jeff LaBundy - -description: | - The Azoteq IQS550, IQS572 and IQS525 trackpad and touchscreen controllers - employ projected-capacitance sensing and can track up to five independent - contacts. - - Link to datasheet: https://www.azoteq.com/ - -allOf: - - $ref: touchscreen.yaml# - -properties: - compatible: - enum: - - azoteq,iqs550 - - azoteq,iqs572 - - azoteq,iqs525 - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - reset-gpios: - maxItems: 1 - - wakeup-source: true - - touchscreen-size-x: true - touchscreen-size-y: true - touchscreen-inverted-x: true - touchscreen-inverted-y: true - touchscreen-swapped-x-y: true - -required: - - compatible - - reg - - interrupts - -additionalProperties: false - -examples: - - | - #include - #include - - i2c { - #address-cells = <1>; - #size-cells = <0>; - - touchscreen@74 { - compatible = "azoteq,iqs550"; - reg = <0x74>; - interrupt-parent = <&gpio>; - interrupts = <27 IRQ_TYPE_LEVEL_HIGH>; - reset-gpios = <&gpio 22 (GPIO_ACTIVE_LOW | - GPIO_PUSH_PULL)>; - - touchscreen-size-x = <800>; - touchscreen-size-y = <480>; - }; - }; - -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/input/touchscreen/azoteq,iqs5xx.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Azoteq IQS550/572/525 Trackpad/Touchscreen Controller + +maintainers: + - Jeff LaBundy + +description: | + The Azoteq IQS550, IQS572 and IQS525 trackpad and touchscreen controllers + employ projected-capacitance sensing and can track up to five independent + contacts. + + Link to datasheet: https://www.azoteq.com/ + +allOf: + - $ref: touchscreen.yaml# + +properties: + compatible: + enum: + - azoteq,iqs550 + - azoteq,iqs572 + - azoteq,iqs525 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + reset-gpios: + maxItems: 1 + + wakeup-source: true + + touchscreen-size-x: true + touchscreen-size-y: true + touchscreen-inverted-x: true + touchscreen-inverted-y: true + touchscreen-swapped-x-y: true + +required: + - compatible + - reg + - interrupts + +additionalProperties: false + +examples: + - | + #include + #include + + i2c { + #address-cells = <1>; + #size-cells = <0>; + + touchscreen@74 { + compatible = "azoteq,iqs550"; + reg = <0x74>; + interrupt-parent = <&gpio>; + interrupts = <27 IRQ_TYPE_LEVEL_HIGH>; + reset-gpios = <&gpio 22 (GPIO_ACTIVE_LOW | + GPIO_PUSH_PULL)>; + + touchscreen-size-x = <800>; + touchscreen-size-y = <480>; + }; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/bu21013.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/bu21013.txt index 222f64545b..da4c9d8b99 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/bu21013.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/bu21013.txt @@ -1,43 +1,43 @@ -* Rohm BU21013 Touch Screen - -Required properties: - - compatible : "rohm,bu21013_tp" - - reg : I2C device address - - reset-gpios : GPIO pin enabling (selecting) chip (CS) - - interrupt-parent : the phandle for the gpio controller - - interrupts : (gpio) interrupt to which the chip is connected - -Optional properties: - - touch-gpios : GPIO pin registering a touch event - - -supply : Phandle to a regulator supply - - touchscreen-size-x : General touchscreen binding, see [1]. - - touchscreen-size-y : General touchscreen binding, see [1]. - - touchscreen-inverted-x : General touchscreen binding, see [1]. - - touchscreen-inverted-y : General touchscreen binding, see [1]. - - touchscreen-swapped-x-y : General touchscreen binding, see [1]. - -[1] All general touchscreen properties are described in - Documentation/devicetree/bindings/input/touchscreen/touchscreen.txt. - -Deprecated properties: - - rohm,touch-max-x : Maximum outward permitted limit in the X axis - - rohm,touch-max-y : Maximum outward permitted limit in the Y axis - - rohm,flip-x : Flip touch coordinates on the X axis - - rohm,flip-y : Flip touch coordinates on the Y axis - -Example: - - i2c@80110000 { - bu21013_tp@5c { - compatible = "rohm,bu21013_tp"; - reg = <0x5c>; - interrupt-parent = <&gpio2>; - interrupts <&20 IRQ_TYPE_LEVEL_LOW>; - touch-gpio = <&gpio2 20 GPIO_ACTIVE_LOW>; - avdd-supply = <&ab8500_ldo_aux1_reg>; - - touchscreen-size-x = <384>; - touchscreen-size-y = <704>; - touchscreen-inverted-y; - }; - }; +* Rohm BU21013 Touch Screen + +Required properties: + - compatible : "rohm,bu21013_tp" + - reg : I2C device address + - reset-gpios : GPIO pin enabling (selecting) chip (CS) + - interrupt-parent : the phandle for the gpio controller + - interrupts : (gpio) interrupt to which the chip is connected + +Optional properties: + - touch-gpios : GPIO pin registering a touch event + - -supply : Phandle to a regulator supply + - touchscreen-size-x : General touchscreen binding, see [1]. + - touchscreen-size-y : General touchscreen binding, see [1]. + - touchscreen-inverted-x : General touchscreen binding, see [1]. + - touchscreen-inverted-y : General touchscreen binding, see [1]. + - touchscreen-swapped-x-y : General touchscreen binding, see [1]. + +[1] All general touchscreen properties are described in + Documentation/devicetree/bindings/input/touchscreen/touchscreen.txt. + +Deprecated properties: + - rohm,touch-max-x : Maximum outward permitted limit in the X axis + - rohm,touch-max-y : Maximum outward permitted limit in the Y axis + - rohm,flip-x : Flip touch coordinates on the X axis + - rohm,flip-y : Flip touch coordinates on the Y axis + +Example: + + i2c@80110000 { + bu21013_tp@5c { + compatible = "rohm,bu21013_tp"; + reg = <0x5c>; + interrupt-parent = <&gpio2>; + interrupts <&20 IRQ_TYPE_LEVEL_LOW>; + touch-gpio = <&gpio2 20 GPIO_ACTIVE_LOW>; + avdd-supply = <&ab8500_ldo_aux1_reg>; + + touchscreen-size-x = <384>; + touchscreen-size-y = <704>; + touchscreen-inverted-y; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/cypress,cy8ctma140.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/cypress,cy8ctma140.yaml index 10eddb4461..86a6d18f95 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/cypress,cy8ctma140.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/cypress,cy8ctma140.yaml @@ -1,72 +1,72 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/input/touchscreen/cypress,cy8ctma140.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Cypress CY8CTMA140 series touchscreen controller - -maintainers: - - Linus Walleij - -allOf: - - $ref: touchscreen.yaml# - -properties: - compatible: - const: cypress,cy8ctma140 - - reg: - const: 0x20 - - clock-frequency: - description: I2C client clock frequency, defined for host - minimum: 100000 - maximum: 400000 - - interrupts: - maxItems: 1 - - vcpin-supply: - description: Analog power supply regulator on VCPIN pin - - vdd-supply: - description: Digital power supply regulator on VDD pin - - touchscreen-inverted-x: true - touchscreen-inverted-y: true - touchscreen-size-x: true - touchscreen-size-y: true - touchscreen-swapped-x-y: true - touchscreen-max-pressure: true - -additionalProperties: false - -required: - - compatible - - reg - - interrupts - - touchscreen-size-x - - touchscreen-size-y - - touchscreen-max-pressure - -examples: - - | - #include - i2c { - #address-cells = <1>; - #size-cells = <0>; - touchscreen@20 { - compatible = "cypress,cy8ctma140"; - reg = <0x20>; - touchscreen-size-x = <480>; - touchscreen-size-y = <800>; - touchscreen-max-pressure = <255>; - interrupt-parent = <&gpio6>; - interrupts = <26 IRQ_TYPE_EDGE_FALLING>; - vdd-supply = <&ab8500_ldo_aux2_reg>; - vcpin-supply = <&ab8500_ldo_aux2_reg>; - }; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/input/touchscreen/cypress,cy8ctma140.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Cypress CY8CTMA140 series touchscreen controller + +maintainers: + - Linus Walleij + +allOf: + - $ref: touchscreen.yaml# + +properties: + compatible: + const: cypress,cy8ctma140 + + reg: + const: 0x20 + + clock-frequency: + description: I2C client clock frequency, defined for host + minimum: 100000 + maximum: 400000 + + interrupts: + maxItems: 1 + + vcpin-supply: + description: Analog power supply regulator on VCPIN pin + + vdd-supply: + description: Digital power supply regulator on VDD pin + + touchscreen-inverted-x: true + touchscreen-inverted-y: true + touchscreen-size-x: true + touchscreen-size-y: true + touchscreen-swapped-x-y: true + touchscreen-max-pressure: true + +additionalProperties: false + +required: + - compatible + - reg + - interrupts + - touchscreen-size-x + - touchscreen-size-y + - touchscreen-max-pressure + +examples: + - | + #include + i2c { + #address-cells = <1>; + #size-cells = <0>; + touchscreen@20 { + compatible = "cypress,cy8ctma140"; + reg = <0x20>; + touchscreen-size-x = <480>; + touchscreen-size-y = <800>; + touchscreen-max-pressure = <255>; + interrupt-parent = <&gpio6>; + interrupts = <26 IRQ_TYPE_EDGE_FALLING>; + vdd-supply = <&ab8500_ldo_aux2_reg>; + vcpin-supply = <&ab8500_ldo_aux2_reg>; + }; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/eeti,exc3000.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/eeti,exc3000.yaml index 0adbbcaa87..1c7ae05a8c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/eeti,exc3000.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/eeti,exc3000.yaml @@ -1,64 +1,64 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/input/touchscreen/eeti,exc3000.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: EETI EXC3000 series touchscreen controller - -maintainers: - - Dmitry Torokhov - -allOf: - - $ref: touchscreen.yaml# - -properties: - compatible: - oneOf: - - const: eeti,exc3000 - - const: eeti,exc80h60 - - const: eeti,exc80h84 - - items: - - enum: - - eeti,exc81w32 - - const: eeti,exc80h84 - reg: - const: 0x2a - interrupts: - maxItems: 1 - reset-gpios: - maxItems: 1 - vdd-supply: - description: Power supply regulator for the chip - touchscreen-size-x: true - touchscreen-size-y: true - touchscreen-inverted-x: true - touchscreen-inverted-y: true - touchscreen-swapped-x-y: true - -required: - - compatible - - reg - - interrupts - - touchscreen-size-x - - touchscreen-size-y - -additionalProperties: false - -examples: - - | - #include "dt-bindings/interrupt-controller/irq.h" - i2c { - #address-cells = <1>; - #size-cells = <0>; - touchscreen@2a { - compatible = "eeti,exc3000"; - reg = <0x2a>; - interrupt-parent = <&gpio1>; - interrupts = <9 IRQ_TYPE_LEVEL_LOW>; - touchscreen-size-x = <4096>; - touchscreen-size-y = <4096>; - touchscreen-inverted-x; - touchscreen-swapped-x-y; - }; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/input/touchscreen/eeti,exc3000.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: EETI EXC3000 series touchscreen controller + +maintainers: + - Dmitry Torokhov + +allOf: + - $ref: touchscreen.yaml# + +properties: + compatible: + oneOf: + - const: eeti,exc3000 + - const: eeti,exc80h60 + - const: eeti,exc80h84 + - items: + - enum: + - eeti,exc81w32 + - const: eeti,exc80h84 + reg: + const: 0x2a + interrupts: + maxItems: 1 + reset-gpios: + maxItems: 1 + vdd-supply: + description: Power supply regulator for the chip + touchscreen-size-x: true + touchscreen-size-y: true + touchscreen-inverted-x: true + touchscreen-inverted-y: true + touchscreen-swapped-x-y: true + +required: + - compatible + - reg + - interrupts + - touchscreen-size-x + - touchscreen-size-y + +additionalProperties: false + +examples: + - | + #include "dt-bindings/interrupt-controller/irq.h" + i2c { + #address-cells = <1>; + #size-cells = <0>; + touchscreen@2a { + compatible = "eeti,exc3000"; + reg = <0x2a>; + interrupt-parent = <&gpio1>; + interrupts = <9 IRQ_TYPE_LEVEL_LOW>; + touchscreen-size-x = <4096>; + touchscreen-size-y = <4096>; + touchscreen-inverted-x; + touchscreen-swapped-x-y; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/elan,elants_i2c.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/elan,elants_i2c.yaml index 08edc06859..3255c2c895 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/elan,elants_i2c.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/elan,elants_i2c.yaml @@ -1,74 +1,74 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/input/touchscreen/elan,elants_i2c.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Elantech I2C Touchscreen - -maintainers: - - David Heidelberg - -allOf: - - $ref: touchscreen.yaml# - -properties: - compatible: - oneOf: - - enum: - - elan,ektf3624 - - elan,ekth3500 - - items: - - const: elan,ekth3915 - - const: elan,ekth3500 - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - wakeup-source: - type: boolean - description: touchscreen can be used as a wakeup source. - - reset-gpios: - maxItems: 1 - description: reset gpio the chip is connected to. - - vcc33-supply: - description: a phandle for the regulator supplying 3.3V power. - - vccio-supply: - description: a phandle for the regulator supplying IO power. - - touchscreen-inverted-x: true - touchscreen-inverted-y: true - touchscreen-size-x: true - touchscreen-size-y: true - touchscreen-swapped-x-y: true - -additionalProperties: false - -required: - - compatible - - reg - - interrupts - -examples: - - | - #include - - i2c { - #address-cells = <1>; - #size-cells = <0>; - - touchscreen@10 { - compatible = "elan,ekth3500"; - reg = <0x10>; - - interrupt-parent = <&gpio4>; - interrupts = <0x0 IRQ_TYPE_EDGE_FALLING>; - wakeup-source; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/input/touchscreen/elan,elants_i2c.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Elantech I2C Touchscreen + +maintainers: + - David Heidelberg + +allOf: + - $ref: touchscreen.yaml# + +properties: + compatible: + oneOf: + - enum: + - elan,ektf3624 + - elan,ekth3500 + - items: + - const: elan,ekth3915 + - const: elan,ekth3500 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + wakeup-source: + type: boolean + description: touchscreen can be used as a wakeup source. + + reset-gpios: + maxItems: 1 + description: reset gpio the chip is connected to. + + vcc33-supply: + description: a phandle for the regulator supplying 3.3V power. + + vccio-supply: + description: a phandle for the regulator supplying IO power. + + touchscreen-inverted-x: true + touchscreen-inverted-y: true + touchscreen-size-x: true + touchscreen-size-y: true + touchscreen-swapped-x-y: true + +additionalProperties: false + +required: + - compatible + - reg + - interrupts + +examples: + - | + #include + + i2c { + #address-cells = <1>; + #size-cells = <0>; + + touchscreen@10 { + compatible = "elan,ekth3500"; + reg = <0x10>; + + interrupt-parent = <&gpio4>; + interrupts = <0x0 IRQ_TYPE_EDGE_FALLING>; + wakeup-source; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/goodix.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/goodix.yaml index 3a11a5f278..eb4992f708 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/goodix.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/goodix.yaml @@ -1,82 +1,82 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/input/touchscreen/goodix.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Goodix GT9xx series touchscreen controller - -maintainers: - - Dmitry Torokhov - -allOf: - - $ref: touchscreen.yaml# - -properties: - compatible: - enum: - - goodix,gt1151 - - goodix,gt1158 - - goodix,gt5663 - - goodix,gt5688 - - goodix,gt911 - - goodix,gt9110 - - goodix,gt912 - - goodix,gt9147 - - goodix,gt917s - - goodix,gt927 - - goodix,gt9271 - - goodix,gt928 - - goodix,gt9286 - - goodix,gt967 - - reg: - enum: [ 0x5d, 0x14 ] - - interrupts: - maxItems: 1 - - irq-gpios: - description: GPIO pin used for IRQ input. Additionally, this line is - sampled by the device on reset deassertion to select the I2C client - address, thus it can be driven by the host during the reset sequence. - maxItems: 1 - - reset-gpios: - maxItems: 1 - - AVDD28-supply: - description: Analog power supply regulator on AVDD28 pin - - VDDIO-supply: - description: GPIO power supply regulator on VDDIO pin - - touchscreen-inverted-x: true - touchscreen-inverted-y: true - touchscreen-size-x: true - touchscreen-size-y: true - touchscreen-swapped-x-y: true - -additionalProperties: false - -required: - - compatible - - reg - - interrupts - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - touchscreen@5d { - compatible = "goodix,gt928"; - reg = <0x5d>; - interrupt-parent = <&gpio>; - interrupts = <0 0>; - irq-gpios = <&gpio1 0 0>; - reset-gpios = <&gpio1 1 0>; - }; - }; - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/input/touchscreen/goodix.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Goodix GT9xx series touchscreen controller + +maintainers: + - Dmitry Torokhov + +allOf: + - $ref: touchscreen.yaml# + +properties: + compatible: + enum: + - goodix,gt1151 + - goodix,gt1158 + - goodix,gt5663 + - goodix,gt5688 + - goodix,gt911 + - goodix,gt9110 + - goodix,gt912 + - goodix,gt9147 + - goodix,gt917s + - goodix,gt927 + - goodix,gt9271 + - goodix,gt928 + - goodix,gt9286 + - goodix,gt967 + + reg: + enum: [ 0x5d, 0x14 ] + + interrupts: + maxItems: 1 + + irq-gpios: + description: GPIO pin used for IRQ input. Additionally, this line is + sampled by the device on reset deassertion to select the I2C client + address, thus it can be driven by the host during the reset sequence. + maxItems: 1 + + reset-gpios: + maxItems: 1 + + AVDD28-supply: + description: Analog power supply regulator on AVDD28 pin + + VDDIO-supply: + description: GPIO power supply regulator on VDDIO pin + + touchscreen-inverted-x: true + touchscreen-inverted-y: true + touchscreen-size-x: true + touchscreen-size-y: true + touchscreen-swapped-x-y: true + +additionalProperties: false + +required: + - compatible + - reg + - interrupts + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + touchscreen@5d { + compatible = "goodix,gt928"; + reg = <0x5d>; + interrupt-parent = <&gpio>; + interrupts = <0 0>; + irq-gpios = <&gpio1 0 0>; + reset-gpios = <&gpio1 1 0>; + }; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/himax,hx852es.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/himax,hx852es.yaml index a9f2ead6ee..40a6088011 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/himax,hx852es.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/himax,hx852es.yaml @@ -1,81 +1,81 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/input/touchscreen/himax,hx852es.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Himax HX852x(ES) touch panel controller - -maintainers: - - Stephan Gerhold - -allOf: - - $ref: touchscreen.yaml# - -properties: - compatible: - items: - - enum: - - himax,hx8525e - - himax,hx8526e - - himax,hx8527e - - const: himax,hx852es - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - description: Touch Screen Interrupt (TSIX), active low - - reset-gpios: - maxItems: 1 - description: External Reset (XRES), active low - - vcca-supply: - description: Analog power supply (VCCA) - - vccd-supply: - description: Digital power supply (VCCD) - - touchscreen-inverted-x: true - touchscreen-inverted-y: true - touchscreen-size-x: true - touchscreen-size-y: true - touchscreen-swapped-x-y: true - - linux,keycodes: - minItems: 1 - maxItems: 4 - -required: - - compatible - - reg - - interrupts - - reset-gpios - -additionalProperties: false - -examples: - - | - #include - #include - #include - - i2c { - #address-cells = <1>; - #size-cells = <0>; - - touchscreen@48 { - compatible = "himax,hx8527e", "himax,hx852es"; - reg = <0x48>; - interrupt-parent = <&tlmm>; - interrupts = <13 IRQ_TYPE_LEVEL_LOW>; - reset-gpios = <&tlmm 12 GPIO_ACTIVE_LOW>; - vcca-supply = <®_ts_vcca>; - vccd-supply = <&pm8916_l6>; - linux,keycodes = ; - }; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/input/touchscreen/himax,hx852es.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Himax HX852x(ES) touch panel controller + +maintainers: + - Stephan Gerhold + +allOf: + - $ref: touchscreen.yaml# + +properties: + compatible: + items: + - enum: + - himax,hx8525e + - himax,hx8526e + - himax,hx8527e + - const: himax,hx852es + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + description: Touch Screen Interrupt (TSIX), active low + + reset-gpios: + maxItems: 1 + description: External Reset (XRES), active low + + vcca-supply: + description: Analog power supply (VCCA) + + vccd-supply: + description: Digital power supply (VCCD) + + touchscreen-inverted-x: true + touchscreen-inverted-y: true + touchscreen-size-x: true + touchscreen-size-y: true + touchscreen-swapped-x-y: true + + linux,keycodes: + minItems: 1 + maxItems: 4 + +required: + - compatible + - reg + - interrupts + - reset-gpios + +additionalProperties: false + +examples: + - | + #include + #include + #include + + i2c { + #address-cells = <1>; + #size-cells = <0>; + + touchscreen@48 { + compatible = "himax,hx8527e", "himax,hx852es"; + reg = <0x48>; + interrupt-parent = <&tlmm>; + interrupts = <13 IRQ_TYPE_LEVEL_LOW>; + reset-gpios = <&tlmm 12 GPIO_ACTIVE_LOW>; + vcca-supply = <®_ts_vcca>; + vccd-supply = <&pm8916_l6>; + linux,keycodes = ; + }; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/ilitek_ts_i2c.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/ilitek_ts_i2c.yaml index 3dc5ad5b11..9f73289997 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/ilitek_ts_i2c.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/ilitek_ts_i2c.yaml @@ -1,76 +1,76 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/input/touchscreen/ilitek_ts_i2c.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Ilitek I2C Touchscreen Controller - -maintainers: - - Dmitry Torokhov - -allOf: - - $ref: touchscreen.yaml# - -properties: - compatible: - enum: - - ilitek,ili210x - - ilitek,ili2117 - - ilitek,ili2120 - - ilitek,ili2130 - - ilitek,ili2131 - - ilitek,ili2132 - - ilitek,ili2316 - - ilitek,ili2322 - - ilitek,ili2323 - - ilitek,ili2326 - - ilitek,ili251x - - ilitek,ili2520 - - ilitek,ili2521 - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - reset-gpios: - maxItems: 1 - - wakeup-source: - type: boolean - description: touchscreen can be used as a wakeup source. - - touchscreen-size-x: true - touchscreen-size-y: true - touchscreen-inverted-x: true - touchscreen-inverted-y: true - touchscreen-swapped-x-y: true - -additionalProperties: false - -required: - - compatible - - reg - - interrupts - -examples: - - | - #include - #include - i2c { - #address-cells = <1>; - #size-cells = <0>; - - touchscreen@41 { - compatible = "ilitek,ili2520"; - reg = <0x41>; - - interrupt-parent = <&gpio1>; - interrupts = <7 IRQ_TYPE_LEVEL_LOW>; - reset-gpios = <&gpio1 8 GPIO_ACTIVE_LOW>; - touchscreen-inverted-y; - wakeup-source; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/input/touchscreen/ilitek_ts_i2c.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Ilitek I2C Touchscreen Controller + +maintainers: + - Dmitry Torokhov + +allOf: + - $ref: touchscreen.yaml# + +properties: + compatible: + enum: + - ilitek,ili210x + - ilitek,ili2117 + - ilitek,ili2120 + - ilitek,ili2130 + - ilitek,ili2131 + - ilitek,ili2132 + - ilitek,ili2316 + - ilitek,ili2322 + - ilitek,ili2323 + - ilitek,ili2326 + - ilitek,ili251x + - ilitek,ili2520 + - ilitek,ili2521 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + reset-gpios: + maxItems: 1 + + wakeup-source: + type: boolean + description: touchscreen can be used as a wakeup source. + + touchscreen-size-x: true + touchscreen-size-y: true + touchscreen-inverted-x: true + touchscreen-inverted-y: true + touchscreen-swapped-x-y: true + +additionalProperties: false + +required: + - compatible + - reg + - interrupts + +examples: + - | + #include + #include + i2c { + #address-cells = <1>; + #size-cells = <0>; + + touchscreen@41 { + compatible = "ilitek,ili2520"; + reg = <0x41>; + + interrupt-parent = <&gpio1>; + interrupts = <7 IRQ_TYPE_LEVEL_LOW>; + reset-gpios = <&gpio1 8 GPIO_ACTIVE_LOW>; + touchscreen-inverted-y; + wakeup-source; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/mstar,msg2638.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/mstar,msg2638.yaml index cf77d025c5..ddbbc820c7 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/mstar,msg2638.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/mstar,msg2638.yaml @@ -1,75 +1,75 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/input/touchscreen/mstar,msg2638.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: MStar msg2638 touchscreen controller - -maintainers: - - Vincent Knecht - -allOf: - - $ref: touchscreen.yaml# - -properties: - compatible: - enum: - - mstar,msg2138 - - mstar,msg2638 - - reg: - const: 0x26 - - interrupts: - maxItems: 1 - - reset-gpios: - maxItems: 1 - - vdd-supply: - description: Power supply regulator for the chip - - vddio-supply: - description: Power supply regulator for the I2C bus - - touchscreen-size-x: true - touchscreen-size-y: true - - linux,keycodes: - minItems: 1 - maxItems: 4 - -additionalProperties: false - -required: - - compatible - - reg - - interrupts - - reset-gpios - - touchscreen-size-x - - touchscreen-size-y - -examples: - - | - #include - #include - i2c { - #address-cells = <1>; - #size-cells = <0>; - touchscreen@26 { - compatible = "mstar,msg2638"; - reg = <0x26>; - interrupt-parent = <&msmgpio>; - interrupts = <13 IRQ_TYPE_EDGE_FALLING>; - reset-gpios = <&msmgpio 100 GPIO_ACTIVE_LOW>; - pinctrl-names = "default"; - pinctrl-0 = <&ts_int_reset_default>; - vdd-supply = <&pm8916_l17>; - vddio-supply = <&pm8916_l5>; - touchscreen-size-x = <2048>; - touchscreen-size-y = <2048>; - }; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/input/touchscreen/mstar,msg2638.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: MStar msg2638 touchscreen controller + +maintainers: + - Vincent Knecht + +allOf: + - $ref: touchscreen.yaml# + +properties: + compatible: + enum: + - mstar,msg2138 + - mstar,msg2638 + + reg: + const: 0x26 + + interrupts: + maxItems: 1 + + reset-gpios: + maxItems: 1 + + vdd-supply: + description: Power supply regulator for the chip + + vddio-supply: + description: Power supply regulator for the I2C bus + + touchscreen-size-x: true + touchscreen-size-y: true + + linux,keycodes: + minItems: 1 + maxItems: 4 + +additionalProperties: false + +required: + - compatible + - reg + - interrupts + - reset-gpios + - touchscreen-size-x + - touchscreen-size-y + +examples: + - | + #include + #include + i2c { + #address-cells = <1>; + #size-cells = <0>; + touchscreen@26 { + compatible = "mstar,msg2638"; + reg = <0x26>; + interrupt-parent = <&msmgpio>; + interrupts = <13 IRQ_TYPE_EDGE_FALLING>; + reset-gpios = <&msmgpio 100 GPIO_ACTIVE_LOW>; + pinctrl-names = "default"; + pinctrl-0 = <&ts_int_reset_default>; + vdd-supply = <&pm8916_l17>; + vddio-supply = <&pm8916_l5>; + touchscreen-size-x = <2048>; + touchscreen-size-y = <2048>; + }; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/neonode,zforce.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/neonode,zforce.yaml index 8cf46f36e9..c2ee89b76e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/neonode,zforce.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/neonode,zforce.yaml @@ -1,72 +1,72 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/input/touchscreen/neonode,zforce.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Neonode infrared touchscreen controller - -maintainers: - - Heiko Stuebner - -allOf: - - $ref: touchscreen.yaml# - -properties: - compatible: - const: neonode,zforce - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - reset-gpios: - maxItems: 1 - - irq-gpios: - maxItems: 1 - - x-size: - deprecated: true - $ref: /schemas/types.yaml#/definitions/uint32 - - y-size: - deprecated: true - $ref: /schemas/types.yaml#/definitions/uint32 - - vdd-supply: true - -required: - - compatible - - reg - - interrupts - - reset-gpios - -unevaluatedProperties: false - -examples: - - | - #include - - i2c { - #address-cells = <1>; - #size-cells = <0>; - - touchscreen@50 { - compatible = "neonode,zforce"; - reg = <0x50>; - interrupts = <2 0>; - vdd-supply = <®_zforce_vdd>; - - reset-gpios = <&gpio5 9 0>; /* RST */ - irq-gpios = <&gpio5 6 0>; /* IRQ, optional */ - - touchscreen-min-x = <0>; - touchscreen-size-x = <800>; - touchscreen-min-y = <0>; - touchscreen-size-y = <600>; - }; - }; -... +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/input/touchscreen/neonode,zforce.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Neonode infrared touchscreen controller + +maintainers: + - Heiko Stuebner + +allOf: + - $ref: touchscreen.yaml# + +properties: + compatible: + const: neonode,zforce + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + reset-gpios: + maxItems: 1 + + irq-gpios: + maxItems: 1 + + x-size: + deprecated: true + $ref: /schemas/types.yaml#/definitions/uint32 + + y-size: + deprecated: true + $ref: /schemas/types.yaml#/definitions/uint32 + + vdd-supply: true + +required: + - compatible + - reg + - interrupts + - reset-gpios + +unevaluatedProperties: false + +examples: + - | + #include + + i2c { + #address-cells = <1>; + #size-cells = <0>; + + touchscreen@50 { + compatible = "neonode,zforce"; + reg = <0x50>; + interrupts = <2 0>; + vdd-supply = <®_zforce_vdd>; + + reset-gpios = <&gpio5 9 0>; /* RST */ + irq-gpios = <&gpio5 6 0>; /* IRQ, optional */ + + touchscreen-min-x = <0>; + touchscreen-size-x = <800>; + touchscreen-min-y = <0>; + touchscreen-size-y = <600>; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/st,stmfts.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/st,stmfts.yaml index c2cee1ee00..c593ae63d0 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/st,stmfts.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/st,stmfts.yaml @@ -1,72 +1,72 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/input/touchscreen/st,stmfts.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: ST-Microelectronics FingerTip touchscreen controller - -maintainers: - - Krzysztof Kozlowski - -description: - The ST-Microelectronics FingerTip device provides a basic touchscreen - functionality. Along with it the user can enable the touchkey which can work - as a basic HOME and BACK key for phones. - -allOf: - - $ref: touchscreen.yaml# - -properties: - compatible: - const: st,stmfts - - reg: - maxItems: 1 - - avdd-supply: - description: Analogic power supply - - interrupts: - maxItems: 1 - - ledvdd-supply: - description: Power supply to the touch key leds - - touch-key-connected: - type: boolean - description: The touchkey feature is connected - - vdd-supply: - description: Power supply - -required: - - compatible - - reg - - avdd-supply - - interrupts - - vdd-supply - -unevaluatedProperties: false - -examples: - - | - #include - - i2c { - #address-cells = <1>; - #size-cells = <0>; - - touchscreen@49 { - compatible = "st,stmfts"; - reg = <0x49>; - interrupt-parent = <&gpa1>; - interrupts = <1 IRQ_TYPE_LEVEL_LOW>; - touchscreen-size-x = <1599>; - touchscreen-size-y = <2559>; - touch-key-connected; - avdd-supply = <&ldo30_reg>; - vdd-supply = <&ldo31_reg>; - ledvdd-supply = <&ldo33_reg>; - }; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/input/touchscreen/st,stmfts.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ST-Microelectronics FingerTip touchscreen controller + +maintainers: + - Krzysztof Kozlowski + +description: + The ST-Microelectronics FingerTip device provides a basic touchscreen + functionality. Along with it the user can enable the touchkey which can work + as a basic HOME and BACK key for phones. + +allOf: + - $ref: touchscreen.yaml# + +properties: + compatible: + const: st,stmfts + + reg: + maxItems: 1 + + avdd-supply: + description: Analogic power supply + + interrupts: + maxItems: 1 + + ledvdd-supply: + description: Power supply to the touch key leds + + touch-key-connected: + type: boolean + description: The touchkey feature is connected + + vdd-supply: + description: Power supply + +required: + - compatible + - reg + - avdd-supply + - interrupts + - vdd-supply + +unevaluatedProperties: false + +examples: + - | + #include + + i2c { + #address-cells = <1>; + #size-cells = <0>; + + touchscreen@49 { + compatible = "st,stmfts"; + reg = <0x49>; + interrupt-parent = <&gpa1>; + interrupts = <1 IRQ_TYPE_LEVEL_LOW>; + touchscreen-size-x = <1599>; + touchscreen-size-y = <2559>; + touch-key-connected; + avdd-supply = <&ldo30_reg>; + vdd-supply = <&ldo31_reg>; + ledvdd-supply = <&ldo33_reg>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interconnect/mediatek,mt8183-emi.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interconnect/mediatek,mt8183-emi.yaml index f9d185fc16..017c8478b2 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interconnect/mediatek,mt8183-emi.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interconnect/mediatek,mt8183-emi.yaml @@ -1,51 +1,51 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/interconnect/mediatek,mt8183-emi.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: MediaTek External Memory Interface (EMI) Interconnect - -maintainers: - - AngeloGioacchino Del Regno - -description: | - EMI interconnect providers support system bandwidth requirements through - Dynamic Voltage Frequency Scaling Resource Collector (DVFSRC) hardware. - The provider is able to communicate with the DVFSRC through Secure Monitor - Call (SMC). - - ICC provider ICC Nodes - ---- ---- - _________ |CPU | |--- |VPU | - _____ | |----- ---- | ---- - | |->| DRAM | ---- | ---- - |DRAM |->|scheduler|----- |GPU | |--- |DISP| - | |->| (EMI) | ---- | ---- - |_____|->|_________|---. ----- | ---- - /|\ `-|MMSYS|--|--- |VDEC| - | ----- | ---- - | | ---- - | change DRAM freq |--- |VENC| - -------- | ---- - SMC --> | DVFSRC | | ---- - -------- |--- |IMG | - | ---- - | ---- - |--- |CAM | - ---- - -properties: - compatible: - enum: - - mediatek,mt8183-emi - - mediatek,mt8195-emi - - '#interconnect-cells': - const: 1 - -required: - - compatible - - '#interconnect-cells' - -unevaluatedProperties: false +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/interconnect/mediatek,mt8183-emi.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: MediaTek External Memory Interface (EMI) Interconnect + +maintainers: + - AngeloGioacchino Del Regno + +description: | + EMI interconnect providers support system bandwidth requirements through + Dynamic Voltage Frequency Scaling Resource Collector (DVFSRC) hardware. + The provider is able to communicate with the DVFSRC through Secure Monitor + Call (SMC). + + ICC provider ICC Nodes + ---- ---- + _________ |CPU | |--- |VPU | + _____ | |----- ---- | ---- + | |->| DRAM | ---- | ---- + |DRAM |->|scheduler|----- |GPU | |--- |DISP| + | |->| (EMI) | ---- | ---- + |_____|->|_________|---. ----- | ---- + /|\ `-|MMSYS|--|--- |VDEC| + | ----- | ---- + | | ---- + | change DRAM freq |--- |VENC| + -------- | ---- + SMC --> | DVFSRC | | ---- + -------- |--- |IMG | + | ---- + | ---- + |--- |CAM | + ---- + +properties: + compatible: + enum: + - mediatek,mt8183-emi + - mediatek,mt8195-emi + + '#interconnect-cells': + const: 1 + +required: + - compatible + - '#interconnect-cells' + +unevaluatedProperties: false diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interconnect/qcom,msm8939.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interconnect/qcom,msm8939.yaml index 9e5060d824..4b08be72bb 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interconnect/qcom,msm8939.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interconnect/qcom,msm8939.yaml @@ -1,77 +1,77 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/interconnect/qcom,msm8939.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm MSM8937/MSM8939/MSM8976 Network-On-Chip interconnect - -maintainers: - - Konrad Dybcio - -description: - The Qualcomm MSM8937/MSM8939/MSM8976 interconnect providers support - adjusting the bandwidth requirements between the various NoC fabrics. - -allOf: - - $ref: qcom,rpm-common.yaml# - -properties: - compatible: - enum: - - qcom,msm8937-bimc - - qcom,msm8937-pcnoc - - qcom,msm8937-snoc - - qcom,msm8939-bimc - - qcom,msm8939-pcnoc - - qcom,msm8939-snoc - - qcom,msm8976-bimc - - qcom,msm8976-pcnoc - - qcom,msm8976-snoc - - reg: - maxItems: 1 - -patternProperties: - '^interconnect-[a-z0-9\-]+$': - type: object - $ref: qcom,rpm-common.yaml# - description: - The interconnect providers do not have a separate QoS register space, - but share parent's space. - - allOf: - - $ref: qcom,rpm-common.yaml# - - properties: - compatible: - enum: - - qcom,msm8937-snoc-mm - - qcom,msm8939-snoc-mm - - qcom,msm8976-snoc-mm - - required: - - compatible - - unevaluatedProperties: false - -required: - - compatible - - reg - -unevaluatedProperties: false - -examples: - - | - #include - - snoc: interconnect@580000 { - compatible = "qcom,msm8939-snoc"; - reg = <0x00580000 0x14000>; - #interconnect-cells = <1>; - - snoc_mm: interconnect-snoc { - compatible = "qcom,msm8939-snoc-mm"; - #interconnect-cells = <1>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/interconnect/qcom,msm8939.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm MSM8937/MSM8939/MSM8976 Network-On-Chip interconnect + +maintainers: + - Konrad Dybcio + +description: + The Qualcomm MSM8937/MSM8939/MSM8976 interconnect providers support + adjusting the bandwidth requirements between the various NoC fabrics. + +allOf: + - $ref: qcom,rpm-common.yaml# + +properties: + compatible: + enum: + - qcom,msm8937-bimc + - qcom,msm8937-pcnoc + - qcom,msm8937-snoc + - qcom,msm8939-bimc + - qcom,msm8939-pcnoc + - qcom,msm8939-snoc + - qcom,msm8976-bimc + - qcom,msm8976-pcnoc + - qcom,msm8976-snoc + + reg: + maxItems: 1 + +patternProperties: + '^interconnect-[a-z0-9\-]+$': + type: object + $ref: qcom,rpm-common.yaml# + description: + The interconnect providers do not have a separate QoS register space, + but share parent's space. + + allOf: + - $ref: qcom,rpm-common.yaml# + + properties: + compatible: + enum: + - qcom,msm8937-snoc-mm + - qcom,msm8939-snoc-mm + - qcom,msm8976-snoc-mm + + required: + - compatible + + unevaluatedProperties: false + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + #include + + snoc: interconnect@580000 { + compatible = "qcom,msm8939-snoc"; + reg = <0x00580000 0x14000>; + #interconnect-cells = <1>; + + snoc_mm: interconnect-snoc { + compatible = "qcom,msm8939-snoc-mm"; + #interconnect-cells = <1>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interconnect/qcom,msm8974.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interconnect/qcom,msm8974.yaml index db6a251d3a..8004c4baf3 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interconnect/qcom,msm8974.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interconnect/qcom,msm8974.yaml @@ -1,62 +1,62 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/interconnect/qcom,msm8974.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm MSM8974 Network-On-Chip Interconnect - -maintainers: - - Brian Masney - -description: | - The Qualcomm MSM8974 interconnect providers support setting system - bandwidth requirements between various network-on-chip fabrics. - -properties: - reg: - maxItems: 1 - - compatible: - enum: - - qcom,msm8974-bimc - - qcom,msm8974-cnoc - - qcom,msm8974-mmssnoc - - qcom,msm8974-ocmemnoc - - qcom,msm8974-pnoc - - qcom,msm8974-snoc - - '#interconnect-cells': - const: 1 - - clock-names: - items: - - const: bus - - const: bus_a - - clocks: - items: - - description: Bus Clock - - description: Bus A Clock - -required: - - compatible - - reg - - '#interconnect-cells' - - clock-names - - clocks - -additionalProperties: false - -examples: - - | - #include - - bimc: interconnect@fc380000 { - reg = <0xfc380000 0x6a000>; - compatible = "qcom,msm8974-bimc"; - #interconnect-cells = <1>; - clock-names = "bus", "bus_a"; - clocks = <&rpmcc RPM_SMD_BIMC_CLK>, - <&rpmcc RPM_SMD_BIMC_A_CLK>; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/interconnect/qcom,msm8974.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm MSM8974 Network-On-Chip Interconnect + +maintainers: + - Brian Masney + +description: | + The Qualcomm MSM8974 interconnect providers support setting system + bandwidth requirements between various network-on-chip fabrics. + +properties: + reg: + maxItems: 1 + + compatible: + enum: + - qcom,msm8974-bimc + - qcom,msm8974-cnoc + - qcom,msm8974-mmssnoc + - qcom,msm8974-ocmemnoc + - qcom,msm8974-pnoc + - qcom,msm8974-snoc + + '#interconnect-cells': + const: 1 + + clock-names: + items: + - const: bus + - const: bus_a + + clocks: + items: + - description: Bus Clock + - description: Bus A Clock + +required: + - compatible + - reg + - '#interconnect-cells' + - clock-names + - clocks + +additionalProperties: false + +examples: + - | + #include + + bimc: interconnect@fc380000 { + reg = <0xfc380000 0x6a000>; + compatible = "qcom,msm8974-bimc"; + #interconnect-cells = <1>; + clock-names = "bus", "bus_a"; + clocks = <&rpmcc RPM_SMD_BIMC_CLK>, + <&rpmcc RPM_SMD_BIMC_A_CLK>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interconnect/qcom,osm-l3.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interconnect/qcom,osm-l3.yaml index fcdf63310c..21dae0b928 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interconnect/qcom,osm-l3.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interconnect/qcom,osm-l3.yaml @@ -1,77 +1,77 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/interconnect/qcom,osm-l3.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm Operating State Manager (OSM) L3 Interconnect Provider - -maintainers: - - Sibi Sankar - -description: - L3 cache bandwidth requirements on Qualcomm SoCs is serviced by the OSM. - The OSM L3 interconnect provider aggregates the L3 bandwidth requests - from CPU/GPU and relays it to the OSM. - -properties: - compatible: - oneOf: - - items: - - enum: - - qcom,sc7180-osm-l3 - - qcom,sc8180x-osm-l3 - - qcom,sdm670-osm-l3 - - qcom,sdm845-osm-l3 - - qcom,sm6350-osm-l3 - - qcom,sm8150-osm-l3 - - const: qcom,osm-l3 - - items: - - enum: - - qcom,sc7280-epss-l3 - - qcom,sc8280xp-epss-l3 - - qcom,sm6375-cpucp-l3 - - qcom,sm8250-epss-l3 - - qcom,sm8350-epss-l3 - - const: qcom,epss-l3 - - reg: - maxItems: 1 - - clocks: - items: - - description: xo clock - - description: alternate clock - - clock-names: - items: - - const: xo - - const: alternate - - '#interconnect-cells': - const: 1 - -required: - - compatible - - reg - - clocks - - clock-names - - '#interconnect-cells' - -additionalProperties: false - -examples: - - | - - #define GPLL0 165 - #define RPMH_CXO_CLK 0 - - osm_l3: interconnect@17d41000 { - compatible = "qcom,sdm845-osm-l3", "qcom,osm-l3"; - reg = <0x17d41000 0x1400>; - - clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GPLL0>; - clock-names = "xo", "alternate"; - - #interconnect-cells = <1>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/interconnect/qcom,osm-l3.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Operating State Manager (OSM) L3 Interconnect Provider + +maintainers: + - Sibi Sankar + +description: + L3 cache bandwidth requirements on Qualcomm SoCs is serviced by the OSM. + The OSM L3 interconnect provider aggregates the L3 bandwidth requests + from CPU/GPU and relays it to the OSM. + +properties: + compatible: + oneOf: + - items: + - enum: + - qcom,sc7180-osm-l3 + - qcom,sc8180x-osm-l3 + - qcom,sdm670-osm-l3 + - qcom,sdm845-osm-l3 + - qcom,sm6350-osm-l3 + - qcom,sm8150-osm-l3 + - const: qcom,osm-l3 + - items: + - enum: + - qcom,sc7280-epss-l3 + - qcom,sc8280xp-epss-l3 + - qcom,sm6375-cpucp-l3 + - qcom,sm8250-epss-l3 + - qcom,sm8350-epss-l3 + - const: qcom,epss-l3 + + reg: + maxItems: 1 + + clocks: + items: + - description: xo clock + - description: alternate clock + + clock-names: + items: + - const: xo + - const: alternate + + '#interconnect-cells': + const: 1 + +required: + - compatible + - reg + - clocks + - clock-names + - '#interconnect-cells' + +additionalProperties: false + +examples: + - | + + #define GPLL0 165 + #define RPMH_CXO_CLK 0 + + osm_l3: interconnect@17d41000 { + compatible = "qcom,sdm845-osm-l3", "qcom,osm-l3"; + reg = <0x17d41000 0x1400>; + + clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GPLL0>; + clock-names = "xo", "alternate"; + + #interconnect-cells = <1>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interconnect/qcom,qdu1000-rpmh.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interconnect/qcom,qdu1000-rpmh.yaml index d6918dad77..0070b0396e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interconnect/qcom,qdu1000-rpmh.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interconnect/qcom,qdu1000-rpmh.yaml @@ -1,70 +1,70 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/interconnect/qcom,qdu1000-rpmh.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm RPMh Network-On-Chip Interconnect on QDU1000 - -maintainers: - - Georgi Djakov - - Odelu Kukatla - -description: | - RPMh interconnect providers support system bandwidth requirements through - RPMh hardware accelerators known as Bus Clock Manager (BCM). The provider is - able to communicate with the BCM through the Resource State Coordinator (RSC) - associated with each execution environment. Provider nodes must point to at - least one RPMh device child node pertaining to their RSC and each provider - can map to multiple RPMh resources. - -properties: - compatible: - enum: - - qcom,qdu1000-clk-virt - - qcom,qdu1000-gem-noc - - qcom,qdu1000-mc-virt - - qcom,qdu1000-system-noc - - '#interconnect-cells': true - - reg: - maxItems: 1 - -allOf: - - $ref: qcom,rpmh-common.yaml# - - if: - properties: - compatible: - contains: - enum: - - qcom,qdu1000-clk-virt - - qcom,qdu1000-mc-virt - then: - properties: - reg: false - else: - required: - - reg - -required: - - compatible - -unevaluatedProperties: false - -examples: - - | - #include - - system_noc: interconnect@1640000 { - compatible = "qcom,qdu1000-system-noc"; - reg = <0x1640000 0x45080>; - #interconnect-cells = <2>; - qcom,bcm-voters = <&apps_bcm_voter>; - }; - - clk_virt: interconnect-0 { - compatible = "qcom,qdu1000-clk-virt"; - #interconnect-cells = <2>; - qcom,bcm-voters = <&apps_bcm_voter>; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/interconnect/qcom,qdu1000-rpmh.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm RPMh Network-On-Chip Interconnect on QDU1000 + +maintainers: + - Georgi Djakov + - Odelu Kukatla + +description: | + RPMh interconnect providers support system bandwidth requirements through + RPMh hardware accelerators known as Bus Clock Manager (BCM). The provider is + able to communicate with the BCM through the Resource State Coordinator (RSC) + associated with each execution environment. Provider nodes must point to at + least one RPMh device child node pertaining to their RSC and each provider + can map to multiple RPMh resources. + +properties: + compatible: + enum: + - qcom,qdu1000-clk-virt + - qcom,qdu1000-gem-noc + - qcom,qdu1000-mc-virt + - qcom,qdu1000-system-noc + + '#interconnect-cells': true + + reg: + maxItems: 1 + +allOf: + - $ref: qcom,rpmh-common.yaml# + - if: + properties: + compatible: + contains: + enum: + - qcom,qdu1000-clk-virt + - qcom,qdu1000-mc-virt + then: + properties: + reg: false + else: + required: + - reg + +required: + - compatible + +unevaluatedProperties: false + +examples: + - | + #include + + system_noc: interconnect@1640000 { + compatible = "qcom,qdu1000-system-noc"; + reg = <0x1640000 0x45080>; + #interconnect-cells = <2>; + qcom,bcm-voters = <&apps_bcm_voter>; + }; + + clk_virt: interconnect-0 { + compatible = "qcom,qdu1000-clk-virt"; + #interconnect-cells = <2>; + qcom,bcm-voters = <&apps_bcm_voter>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/actions,owl-sirq.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/actions,owl-sirq.yaml index f649b9fc77..27756d0c54 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/actions,owl-sirq.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/actions,owl-sirq.yaml @@ -1,65 +1,65 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/interrupt-controller/actions,owl-sirq.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Actions Semi Owl SoCs SIRQ interrupt controller - -maintainers: - - Manivannan Sadhasivam - - Cristian Ciocaltea - -description: | - This interrupt controller is found in the Actions Semi Owl SoCs (S500, S700 - and S900) and provides support for handling up to 3 external interrupt lines. - -properties: - compatible: - enum: - - actions,s500-sirq - - actions,s700-sirq - - actions,s900-sirq - - reg: - maxItems: 1 - - interrupt-controller: true - - '#interrupt-cells': - const: 2 - description: - The first cell is the input IRQ number, between 0 and 2, while the second - cell is the trigger type as defined in interrupt.txt in this directory. - - interrupts: - description: | - Contains the GIC SPI IRQs mapped to the external interrupt lines. - They shall be specified sequentially from output 0 to 2. - minItems: 3 - maxItems: 3 - -required: - - compatible - - reg - - interrupt-controller - - '#interrupt-cells' - - interrupts - -additionalProperties: false - -examples: - - | - #include - - sirq: interrupt-controller@b01b0200 { - compatible = "actions,s500-sirq"; - reg = <0xb01b0200 0x4>; - interrupt-controller; - #interrupt-cells = <2>; - interrupts = , /* SIRQ0 */ - , /* SIRQ1 */ - ; /* SIRQ2 */ - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/interrupt-controller/actions,owl-sirq.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Actions Semi Owl SoCs SIRQ interrupt controller + +maintainers: + - Manivannan Sadhasivam + - Cristian Ciocaltea + +description: | + This interrupt controller is found in the Actions Semi Owl SoCs (S500, S700 + and S900) and provides support for handling up to 3 external interrupt lines. + +properties: + compatible: + enum: + - actions,s500-sirq + - actions,s700-sirq + - actions,s900-sirq + + reg: + maxItems: 1 + + interrupt-controller: true + + '#interrupt-cells': + const: 2 + description: + The first cell is the input IRQ number, between 0 and 2, while the second + cell is the trigger type as defined in interrupt.txt in this directory. + + interrupts: + description: | + Contains the GIC SPI IRQs mapped to the external interrupt lines. + They shall be specified sequentially from output 0 to 2. + minItems: 3 + maxItems: 3 + +required: + - compatible + - reg + - interrupt-controller + - '#interrupt-cells' + - interrupts + +additionalProperties: false + +examples: + - | + #include + + sirq: interrupt-controller@b01b0200 { + compatible = "actions,s500-sirq"; + reg = <0xb01b0200 0x4>; + interrupt-controller; + #interrupt-cells = <2>; + interrupts = , /* SIRQ0 */ + , /* SIRQ1 */ + ; /* SIRQ2 */ + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/allwinner,sun6i-a31-r-intc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/allwinner,sun6i-a31-r-intc.yaml index 1cf73d872b..4fa6fd400e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/allwinner,sun6i-a31-r-intc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/allwinner,sun6i-a31-r-intc.yaml @@ -1,67 +1,67 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/interrupt-controller/allwinner,sun6i-a31-r-intc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Allwinner A31 NMI/Wakeup Interrupt Controller - -maintainers: - - Chen-Yu Tsai - - Maxime Ripard - -allOf: - - $ref: /schemas/interrupt-controller.yaml# - -properties: - "#interrupt-cells": - const: 3 - description: - The first cell is GIC_SPI (0), the second cell is the IRQ number, and - the third cell is the trigger type as defined in interrupt.txt in this - directory. - - compatible: - oneOf: - - const: allwinner,sun6i-a31-r-intc - - items: - - enum: - - allwinner,sun8i-a83t-r-intc - - allwinner,sun8i-h3-r-intc - - allwinner,sun50i-a64-r-intc - - const: allwinner,sun6i-a31-r-intc - - const: allwinner,sun50i-h6-r-intc - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - description: - The GIC interrupt labeled as "External NMI". - - interrupt-controller: true - -required: - - "#interrupt-cells" - - compatible - - reg - - interrupts - - interrupt-controller - -additionalProperties: false - -examples: - - | - #include - - r_intc: interrupt-controller@1f00c00 { - compatible = "allwinner,sun50i-a64-r-intc", - "allwinner,sun6i-a31-r-intc"; - interrupt-controller; - #interrupt-cells = <3>; - reg = <0x01f00c00 0x400>; - interrupts = ; - }; - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/interrupt-controller/allwinner,sun6i-a31-r-intc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Allwinner A31 NMI/Wakeup Interrupt Controller + +maintainers: + - Chen-Yu Tsai + - Maxime Ripard + +allOf: + - $ref: /schemas/interrupt-controller.yaml# + +properties: + "#interrupt-cells": + const: 3 + description: + The first cell is GIC_SPI (0), the second cell is the IRQ number, and + the third cell is the trigger type as defined in interrupt.txt in this + directory. + + compatible: + oneOf: + - const: allwinner,sun6i-a31-r-intc + - items: + - enum: + - allwinner,sun8i-a83t-r-intc + - allwinner,sun8i-h3-r-intc + - allwinner,sun50i-a64-r-intc + - const: allwinner,sun6i-a31-r-intc + - const: allwinner,sun50i-h6-r-intc + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + description: + The GIC interrupt labeled as "External NMI". + + interrupt-controller: true + +required: + - "#interrupt-cells" + - compatible + - reg + - interrupts + - interrupt-controller + +additionalProperties: false + +examples: + - | + #include + + r_intc: interrupt-controller@1f00c00 { + compatible = "allwinner,sun50i-a64-r-intc", + "allwinner,sun6i-a31-r-intc"; + interrupt-controller; + #interrupt-cells = <3>; + reg = <0x01f00c00 0x400>; + interrupts = ; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/allwinner,sun7i-a20-sc-nmi.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/allwinner,sun7i-a20-sc-nmi.yaml index e9fdc22bef..f49b43f45f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/allwinner,sun7i-a20-sc-nmi.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/allwinner,sun7i-a20-sc-nmi.yaml @@ -1,64 +1,64 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/interrupt-controller/allwinner,sun7i-a20-sc-nmi.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Allwinner A20 Non-Maskable Interrupt Controller - -maintainers: - - Chen-Yu Tsai - - Maxime Ripard - -allOf: - - $ref: /schemas/interrupt-controller.yaml# - -properties: - "#interrupt-cells": - const: 2 - description: - The first cell is the IRQ number, the second cell the trigger - type as defined in interrupt.txt in this directory. - - compatible: - oneOf: - - const: allwinner,sun6i-a31-sc-nmi - deprecated: true - - const: allwinner,sun7i-a20-sc-nmi - - const: allwinner,sun9i-a80-nmi - - items: - - enum: - - allwinner,sun8i-v3s-nmi - - allwinner,sun50i-a100-nmi - - allwinner,sun50i-h616-nmi - - const: allwinner,sun9i-a80-nmi - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - interrupt-controller: true - -required: - - "#interrupt-cells" - - compatible - - reg - - interrupts - - interrupt-controller - -unevaluatedProperties: false - -examples: - - | - interrupt-controller@1c00030 { - compatible = "allwinner,sun7i-a20-sc-nmi"; - interrupt-controller; - #interrupt-cells = <2>; - reg = <0x01c00030 0x0c>; - interrupt-parent = <&gic>; - interrupts = <0 0 4>; - }; - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/interrupt-controller/allwinner,sun7i-a20-sc-nmi.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Allwinner A20 Non-Maskable Interrupt Controller + +maintainers: + - Chen-Yu Tsai + - Maxime Ripard + +allOf: + - $ref: /schemas/interrupt-controller.yaml# + +properties: + "#interrupt-cells": + const: 2 + description: + The first cell is the IRQ number, the second cell the trigger + type as defined in interrupt.txt in this directory. + + compatible: + oneOf: + - const: allwinner,sun6i-a31-sc-nmi + deprecated: true + - const: allwinner,sun7i-a20-sc-nmi + - const: allwinner,sun9i-a80-nmi + - items: + - enum: + - allwinner,sun8i-v3s-nmi + - allwinner,sun50i-a100-nmi + - allwinner,sun50i-h616-nmi + - const: allwinner,sun9i-a80-nmi + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + interrupt-controller: true + +required: + - "#interrupt-cells" + - compatible + - reg + - interrupts + - interrupt-controller + +unevaluatedProperties: false + +examples: + - | + interrupt-controller@1c00030 { + compatible = "allwinner,sun7i-a20-sc-nmi"; + interrupt-controller; + #interrupt-cells = <2>; + reg = <0x01c00030 0x0c>; + interrupt-parent = <&gic>; + interrupts = <0 0 4>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/arm,versatile-fpga-irq.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/arm,versatile-fpga-irq.txt index 8575d3d483..ea939f54c5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/arm,versatile-fpga-irq.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/arm,versatile-fpga-irq.txt @@ -1,38 +1,38 @@ -* ARM Versatile FPGA interrupt controller - -One or more FPGA IRQ controllers can be synthesized in an ARM reference board -such as the Integrator or Versatile family. The output of these different -controllers are OR:ed together and fed to the CPU tile's IRQ input. Each -instance can handle up to 32 interrupts. - -Required properties: -- compatible: "arm,versatile-fpga-irq" -- interrupt-controller: Identifies the node as an interrupt controller -- #interrupt-cells: The number of cells to define the interrupts. Must be 1 - as the FPGA IRQ controller has no configuration options for interrupt - sources. The cell is a u32 and defines the interrupt number. -- reg: The register bank for the FPGA interrupt controller. -- clear-mask: a u32 number representing the mask written to clear all IRQs - on the controller at boot for example. -- valid-mask: a u32 number representing a bit mask determining which of - the interrupts are valid. Unconnected/unused lines are set to 0, and - the system till not make it possible for devices to request these - interrupts. - -The "oxsemi,ox810se-rps-irq" compatible is deprecated. - -Example: - -pic: pic@14000000 { - compatible = "arm,versatile-fpga-irq"; - #interrupt-cells = <1>; - interrupt-controller; - reg = <0x14000000 0x100>; - clear-mask = <0xffffffff>; - valid-mask = <0x003fffff>; -}; - -Optional properties: -- interrupts: if the FPGA IRQ controller is cascaded, i.e. if its IRQ - output is simply connected to the input of another IRQ controller, - then the parent IRQ shall be specified in this property. +* ARM Versatile FPGA interrupt controller + +One or more FPGA IRQ controllers can be synthesized in an ARM reference board +such as the Integrator or Versatile family. The output of these different +controllers are OR:ed together and fed to the CPU tile's IRQ input. Each +instance can handle up to 32 interrupts. + +Required properties: +- compatible: "arm,versatile-fpga-irq" +- interrupt-controller: Identifies the node as an interrupt controller +- #interrupt-cells: The number of cells to define the interrupts. Must be 1 + as the FPGA IRQ controller has no configuration options for interrupt + sources. The cell is a u32 and defines the interrupt number. +- reg: The register bank for the FPGA interrupt controller. +- clear-mask: a u32 number representing the mask written to clear all IRQs + on the controller at boot for example. +- valid-mask: a u32 number representing a bit mask determining which of + the interrupts are valid. Unconnected/unused lines are set to 0, and + the system till not make it possible for devices to request these + interrupts. + +The "oxsemi,ox810se-rps-irq" compatible is deprecated. + +Example: + +pic: pic@14000000 { + compatible = "arm,versatile-fpga-irq"; + #interrupt-cells = <1>; + interrupt-controller; + reg = <0x14000000 0x100>; + clear-mask = <0xffffffff>; + valid-mask = <0x003fffff>; +}; + +Optional properties: +- interrupts: if the FPGA IRQ controller is cascaded, i.e. if its IRQ + output is simply connected to the input of another IRQ controller, + then the parent IRQ shall be specified in this property. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/aspeed,ast2400-vic.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/aspeed,ast2400-vic.yaml index 6f828ad3f0..73e8b9a39b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/aspeed,ast2400-vic.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/aspeed,ast2400-vic.yaml @@ -1,62 +1,62 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/interrupt-controller/aspeed,ast2400-vic.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Aspeed Vectored Interrupt Controller - -maintainers: - - Andrew Jeffery - -description: - The AST2400 and AST2500 SoC families include a legacy register layout before - a redesigned layout, but the bindings do not prescribe the use of one or the - other. - -properties: - compatible: - enum: - - aspeed,ast2400-vic - - aspeed,ast2500-vic - - reg: - maxItems: 1 - - interrupt-controller: true - - "#interrupt-cells": - const: 1 - description: - Specifies the number of cells needed to encode an interrupt source. It - must be 1 as the VIC has no configuration options for interrupt sources. - The single cell defines the interrupt number. - - valid-sources: - $ref: /schemas/types.yaml#/definitions/uint32-array - maxItems: 2 - description: - A bitmap of supported sources for the implementation. - -required: - - compatible - - reg - - interrupt-controller - - "#interrupt-cells" - -allOf: - - $ref: /schemas/interrupt-controller.yaml - -additionalProperties: false - -examples: - - | - interrupt-controller@1e6c0080 { - compatible = "aspeed,ast2400-vic"; - reg = <0x1e6c0080 0x80>; - interrupt-controller; - #interrupt-cells = <1>; - valid-sources = <0xffffffff 0x0007ffff>; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/interrupt-controller/aspeed,ast2400-vic.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Aspeed Vectored Interrupt Controller + +maintainers: + - Andrew Jeffery + +description: + The AST2400 and AST2500 SoC families include a legacy register layout before + a redesigned layout, but the bindings do not prescribe the use of one or the + other. + +properties: + compatible: + enum: + - aspeed,ast2400-vic + - aspeed,ast2500-vic + + reg: + maxItems: 1 + + interrupt-controller: true + + "#interrupt-cells": + const: 1 + description: + Specifies the number of cells needed to encode an interrupt source. It + must be 1 as the VIC has no configuration options for interrupt sources. + The single cell defines the interrupt number. + + valid-sources: + $ref: /schemas/types.yaml#/definitions/uint32-array + maxItems: 2 + description: + A bitmap of supported sources for the implementation. + +required: + - compatible + - reg + - interrupt-controller + - "#interrupt-cells" + +allOf: + - $ref: /schemas/interrupt-controller.yaml + +additionalProperties: false + +examples: + - | + interrupt-controller@1e6c0080 { + compatible = "aspeed,ast2400-vic"; + reg = <0x1e6c0080 0x80>; + interrupt-controller; + #interrupt-cells = <1>; + valid-sources = <0xffffffff 0x0007ffff>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/brcm,l2-intc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/brcm,l2-intc.yaml index b0bbe4fc4e..8961afca96 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/brcm,l2-intc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/brcm,l2-intc.yaml @@ -1,72 +1,72 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/interrupt-controller/brcm,l2-intc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Broadcom Generic Level 2 Interrupt Controller - -maintainers: - - Florian Fainelli - -allOf: - - $ref: /schemas/interrupt-controller.yaml# - -properties: - compatible: - oneOf: - - items: - - enum: - - brcm,hif-spi-l2-intc - - brcm,upg-aux-aon-l2-intc - - const: brcm,l2-intc - - items: - - enum: - - brcm,bcm2711-l2-intc - - const: brcm,l2-intc - - items: - - const: brcm,bcm7271-l2-intc - - items: - - const: brcm,l2-intc - - reg: - maxItems: 1 - description: > - Specifies the base physical address and size of the registers - - interrupt-controller: true - - "#interrupt-cells": - const: 1 - - interrupts: - maxItems: 1 - - interrupt-names: - maxItems: 1 - - brcm,irq-can-wake: - type: boolean - description: > - If present, this means the L2 controller can be used as a wakeup source - for system suspend/resume. - -additionalProperties: false - -required: - - compatible - - reg - - interrupt-controller - - "#interrupt-cells" - - interrupts - -examples: - - | - hif_intr2_intc: interrupt-controller@f0441000 { - compatible = "brcm,l2-intc"; - reg = <0xf0441000 0x30>; - interrupt-controller; - #interrupt-cells = <1>; - interrupt-parent = <&intc>; - interrupts = <0x0 0x20 0x0>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/interrupt-controller/brcm,l2-intc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom Generic Level 2 Interrupt Controller + +maintainers: + - Florian Fainelli + +allOf: + - $ref: /schemas/interrupt-controller.yaml# + +properties: + compatible: + oneOf: + - items: + - enum: + - brcm,hif-spi-l2-intc + - brcm,upg-aux-aon-l2-intc + - const: brcm,l2-intc + - items: + - enum: + - brcm,bcm2711-l2-intc + - const: brcm,l2-intc + - items: + - const: brcm,bcm7271-l2-intc + - items: + - const: brcm,l2-intc + + reg: + maxItems: 1 + description: > + Specifies the base physical address and size of the registers + + interrupt-controller: true + + "#interrupt-cells": + const: 1 + + interrupts: + maxItems: 1 + + interrupt-names: + maxItems: 1 + + brcm,irq-can-wake: + type: boolean + description: > + If present, this means the L2 controller can be used as a wakeup source + for system suspend/resume. + +additionalProperties: false + +required: + - compatible + - reg + - interrupt-controller + - "#interrupt-cells" + - interrupts + +examples: + - | + hif_intr2_intc: interrupt-controller@f0441000 { + compatible = "brcm,l2-intc"; + reg = <0xf0441000 0x30>; + interrupt-controller; + #interrupt-cells = <1>; + interrupt-parent = <&intc>; + interrupts = <0x0 0x20 0x0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/csky,apb-intc.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/csky,apb-intc.txt index a9df50ab0a..44286dcbac 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/csky,apb-intc.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/csky,apb-intc.txt @@ -1,62 +1,62 @@ -============================== -C-SKY APB Interrupt Controller -============================== - -C-SKY APB Interrupt Controller is a simple soc interrupt controller -on the apb bus and we only use it as root irq controller. - - - csky,apb-intc is used in a lot of csky fpgas and socs, it support 64 irq nums. - - csky,dual-apb-intc consists of 2 apb-intc and 128 irq nums supported. - - csky,gx6605s-intc is gx6605s soc internal irq interrupt controller, 64 irq nums. - -============================= -intc node bindings definition -============================= - - Description: Describes APB interrupt controller - - PROPERTIES - - - compatible - Usage: required - Value type: - Definition: must be "csky,apb-intc" - "csky,dual-apb-intc" - "csky,gx6605s-intc" - - #interrupt-cells - Usage: required - Value type: - Definition: must be <1> - - reg - Usage: required - Value type: - Definition: in soc from cpu view - - interrupt-controller: - Usage: required - - csky,support-pulse-signal: - Usage: select - Description: to support pulse signal flag - -Examples: ---------- - - intc: interrupt-controller@500000 { - compatible = "csky,apb-intc"; - #interrupt-cells = <1>; - reg = <0x00500000 0x400>; - interrupt-controller; - }; - - intc: interrupt-controller@500000 { - compatible = "csky,dual-apb-intc"; - #interrupt-cells = <1>; - reg = <0x00500000 0x400>; - interrupt-controller; - }; - - intc: interrupt-controller@500000 { - compatible = "csky,gx6605s-intc"; - #interrupt-cells = <1>; - reg = <0x00500000 0x400>; - interrupt-controller; - }; +============================== +C-SKY APB Interrupt Controller +============================== + +C-SKY APB Interrupt Controller is a simple soc interrupt controller +on the apb bus and we only use it as root irq controller. + + - csky,apb-intc is used in a lot of csky fpgas and socs, it support 64 irq nums. + - csky,dual-apb-intc consists of 2 apb-intc and 128 irq nums supported. + - csky,gx6605s-intc is gx6605s soc internal irq interrupt controller, 64 irq nums. + +============================= +intc node bindings definition +============================= + + Description: Describes APB interrupt controller + + PROPERTIES + + - compatible + Usage: required + Value type: + Definition: must be "csky,apb-intc" + "csky,dual-apb-intc" + "csky,gx6605s-intc" + - #interrupt-cells + Usage: required + Value type: + Definition: must be <1> + - reg + Usage: required + Value type: + Definition: in soc from cpu view + - interrupt-controller: + Usage: required + - csky,support-pulse-signal: + Usage: select + Description: to support pulse signal flag + +Examples: +--------- + + intc: interrupt-controller@500000 { + compatible = "csky,apb-intc"; + #interrupt-cells = <1>; + reg = <0x00500000 0x400>; + interrupt-controller; + }; + + intc: interrupt-controller@500000 { + compatible = "csky,dual-apb-intc"; + #interrupt-cells = <1>; + reg = <0x00500000 0x400>; + interrupt-controller; + }; + + intc: interrupt-controller@500000 { + compatible = "csky,gx6605s-intc"; + #interrupt-cells = <1>; + reg = <0x00500000 0x400>; + interrupt-controller; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/fsl,intmux.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/fsl,intmux.yaml index ec159a5a5f..78baa0a571 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/fsl,intmux.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/fsl,intmux.yaml @@ -1,72 +1,72 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/interrupt-controller/fsl,intmux.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Freescale INTMUX interrupt multiplexer - -maintainers: - - Shawn Guo - - NXP Linux Team - -properties: - compatible: - const: fsl,imx-intmux - - reg: - maxItems: 1 - - interrupts: - minItems: 1 - maxItems: 8 - description: | - Should contain the parent interrupt lines (up to 8) used to multiplex - the input interrupts. - - interrupt-controller: true - - '#interrupt-cells': - const: 2 - description: | - The 1st cell is hw interrupt number, the 2nd cell is channel index. - - clocks: - maxItems: 1 - - clock-names: - const: ipg - - power-domains: - maxItems: 1 - -required: - - compatible - - reg - - interrupts - - interrupt-controller - - '#interrupt-cells' - - clocks - - clock-names - -additionalProperties: false - -examples: - - | - interrupt-controller@37400000 { - compatible = "fsl,imx-intmux"; - reg = <0x37400000 0x1000>; - interrupts = <0 16 4>, - <0 17 4>, - <0 18 4>, - <0 19 4>, - <0 20 4>, - <0 21 4>, - <0 22 4>, - <0 23 4>; - interrupt-controller; - interrupt-parent = <&gic>; - #interrupt-cells = <2>; - clocks = <&clk>; - clock-names = "ipg"; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/interrupt-controller/fsl,intmux.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Freescale INTMUX interrupt multiplexer + +maintainers: + - Shawn Guo + - NXP Linux Team + +properties: + compatible: + const: fsl,imx-intmux + + reg: + maxItems: 1 + + interrupts: + minItems: 1 + maxItems: 8 + description: | + Should contain the parent interrupt lines (up to 8) used to multiplex + the input interrupts. + + interrupt-controller: true + + '#interrupt-cells': + const: 2 + description: | + The 1st cell is hw interrupt number, the 2nd cell is channel index. + + clocks: + maxItems: 1 + + clock-names: + const: ipg + + power-domains: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + - interrupt-controller + - '#interrupt-cells' + - clocks + - clock-names + +additionalProperties: false + +examples: + - | + interrupt-controller@37400000 { + compatible = "fsl,imx-intmux"; + reg = <0x37400000 0x1000>; + interrupts = <0 16 4>, + <0 17 4>, + <0 18 4>, + <0 19 4>, + <0 20 4>, + <0 21 4>, + <0 22 4>, + <0 23 4>; + interrupt-controller; + interrupt-parent = <&gic>; + #interrupt-cells = <2>; + clocks = <&clk>; + clock-names = "ipg"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/fsl,ls-msi.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/fsl,ls-msi.yaml index fccc4f7702..9ba8d4d733 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/fsl,ls-msi.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/fsl,ls-msi.yaml @@ -1,79 +1,79 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/interrupt-controller/fsl,ls-msi.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Freescale Layerscape SCFG PCIe MSI controller - -description: | - This interrupt controller hardware is a second level interrupt controller that - is hooked to a parent interrupt controller: e.g: ARM GIC for ARM-based - platforms. If interrupt-parent is not provided, the default parent interrupt - controller will be used. - - Each PCIe node needs to have property msi-parent that points to - MSI controller node - -maintainers: - - Frank Li - -properties: - compatible: - enum: - - fsl,ls1012a-msi - - fsl,ls1021a-msi - - fsl,ls1043a-msi - - fsl,ls1043a-v1.1-msi - - fsl,ls1046a-msi - - reg: - maxItems: 1 - - '#msi-cells': - const: 1 - - interrupts: - items: - - description: Shared MSI interrupt group 0 - - description: Shared MSI interrupt group 1 - - description: Shared MSI interrupt group 2 - - description: Shared MSI interrupt group 3 - minItems: 1 - -required: - - compatible - - reg - - msi-controller - - interrupts - -allOf: - - $ref: msi-controller.yaml - - if: - properties: - compatible: - contains: - enum: - - fsl,ls1046a-msi - then: - properties: - interrupts: - minItems: 4 - else: - properties: - interrupts: - maxItems: 1 - -unevaluatedProperties: false - -examples: - - | - #include - - interrupt-controller@1571000 { - compatible = "fsl,ls1043a-msi"; - reg = <0x1571000 0x8>; - msi-controller; - #msi-cells = <1>; - interrupts = ; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/interrupt-controller/fsl,ls-msi.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Freescale Layerscape SCFG PCIe MSI controller + +description: | + This interrupt controller hardware is a second level interrupt controller that + is hooked to a parent interrupt controller: e.g: ARM GIC for ARM-based + platforms. If interrupt-parent is not provided, the default parent interrupt + controller will be used. + + Each PCIe node needs to have property msi-parent that points to + MSI controller node + +maintainers: + - Frank Li + +properties: + compatible: + enum: + - fsl,ls1012a-msi + - fsl,ls1021a-msi + - fsl,ls1043a-msi + - fsl,ls1043a-v1.1-msi + - fsl,ls1046a-msi + + reg: + maxItems: 1 + + '#msi-cells': + const: 1 + + interrupts: + items: + - description: Shared MSI interrupt group 0 + - description: Shared MSI interrupt group 1 + - description: Shared MSI interrupt group 2 + - description: Shared MSI interrupt group 3 + minItems: 1 + +required: + - compatible + - reg + - msi-controller + - interrupts + +allOf: + - $ref: msi-controller.yaml + - if: + properties: + compatible: + contains: + enum: + - fsl,ls1046a-msi + then: + properties: + interrupts: + minItems: 4 + else: + properties: + interrupts: + maxItems: 1 + +unevaluatedProperties: false + +examples: + - | + #include + + interrupt-controller@1571000 { + compatible = "fsl,ls1043a-msi"; + reg = <0x1571000 0x8>; + msi-controller; + #msi-cells = <1>; + interrupts = ; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/ingenic,intc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/ingenic,intc.yaml index 582395b903..609308a5f9 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/ingenic,intc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/ingenic,intc.yaml @@ -1,66 +1,66 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/interrupt-controller/ingenic,intc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Ingenic SoCs interrupt controller - -maintainers: - - Paul Cercueil - -properties: - $nodename: - pattern: "^interrupt-controller@[0-9a-f]+$" - - compatible: - oneOf: - - enum: - - ingenic,jz4740-intc - - ingenic,jz4760-intc - - ingenic,jz4780-intc - - items: - - enum: - - ingenic,jz4775-intc - - ingenic,jz4770-intc - - ingenic,jz4760b-intc - - const: ingenic,jz4760-intc - - items: - - const: ingenic,x1000-intc - - const: ingenic,jz4780-intc - - items: - - const: ingenic,jz4725b-intc - - const: ingenic,jz4740-intc - - "#interrupt-cells": - const: 1 - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - interrupt-controller: true - -required: - - compatible - - reg - - interrupts - - "#interrupt-cells" - - interrupt-controller - -additionalProperties: false - -examples: - - | - intc: interrupt-controller@10001000 { - compatible = "ingenic,jz4770-intc", "ingenic,jz4760-intc"; - reg = <0x10001000 0x40>; - - interrupt-controller; - #interrupt-cells = <1>; - - interrupt-parent = <&cpuintc>; - interrupts = <2>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/interrupt-controller/ingenic,intc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Ingenic SoCs interrupt controller + +maintainers: + - Paul Cercueil + +properties: + $nodename: + pattern: "^interrupt-controller@[0-9a-f]+$" + + compatible: + oneOf: + - enum: + - ingenic,jz4740-intc + - ingenic,jz4760-intc + - ingenic,jz4780-intc + - items: + - enum: + - ingenic,jz4775-intc + - ingenic,jz4770-intc + - ingenic,jz4760b-intc + - const: ingenic,jz4760-intc + - items: + - const: ingenic,x1000-intc + - const: ingenic,jz4780-intc + - items: + - const: ingenic,jz4725b-intc + - const: ingenic,jz4740-intc + + "#interrupt-cells": + const: 1 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + interrupt-controller: true + +required: + - compatible + - reg + - interrupts + - "#interrupt-cells" + - interrupt-controller + +additionalProperties: false + +examples: + - | + intc: interrupt-controller@10001000 { + compatible = "ingenic,jz4770-intc", "ingenic,jz4760-intc"; + reg = <0x10001000 0x40>; + + interrupt-controller; + #interrupt-cells = <1>; + + interrupt-parent = <&cpuintc>; + interrupts = <2>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/intel,ce4100-ioapic.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/intel,ce4100-ioapic.yaml index 51c9b9a84d..a3ac818f06 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/intel,ce4100-ioapic.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/intel,ce4100-ioapic.yaml @@ -1,60 +1,60 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/interrupt-controller/intel,ce4100-ioapic.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Intel I/O Advanced Programmable Interrupt Controller (IO APIC) - -maintainers: - - Rahul Tanwar - -description: | - Intel's Advanced Programmable Interrupt Controller (APIC) is a - family of interrupt controllers. The APIC is a split - architecture design, with a local component (LAPIC) integrated - into the processor itself and an external I/O APIC. Local APIC - (lapic) receives interrupts from the processor's interrupt pins, - from internal sources and from an external I/O APIC (ioapic). - And it sends these to the processor core for handling. - See [1] Chapter 8 for more details. - - Many of the Intel's generic devices like hpet, ioapic, lapic have - the ce4100 name in their compatible property names because they - first appeared in CE4100 SoC. - - This schema defines bindings for I/O APIC interrupt controller. - - [1] https://pdos.csail.mit.edu/6.828/2008/readings/ia32/IA32-3A.pdf - -properties: - compatible: - const: intel,ce4100-ioapic - - reg: - maxItems: 1 - - interrupt-controller: true - - '#interrupt-cells': - const: 2 - - interrupts: - maxItems: 1 - -required: - - compatible - - reg - - interrupt-controller - - '#interrupt-cells' - -additionalProperties: false - -examples: - - | - ioapic1: interrupt-controller@fec00000 { - compatible = "intel,ce4100-ioapic"; - reg = <0xfec00000 0x1000>; - interrupt-controller; - #interrupt-cells = <2>; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/interrupt-controller/intel,ce4100-ioapic.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Intel I/O Advanced Programmable Interrupt Controller (IO APIC) + +maintainers: + - Rahul Tanwar + +description: | + Intel's Advanced Programmable Interrupt Controller (APIC) is a + family of interrupt controllers. The APIC is a split + architecture design, with a local component (LAPIC) integrated + into the processor itself and an external I/O APIC. Local APIC + (lapic) receives interrupts from the processor's interrupt pins, + from internal sources and from an external I/O APIC (ioapic). + And it sends these to the processor core for handling. + See [1] Chapter 8 for more details. + + Many of the Intel's generic devices like hpet, ioapic, lapic have + the ce4100 name in their compatible property names because they + first appeared in CE4100 SoC. + + This schema defines bindings for I/O APIC interrupt controller. + + [1] https://pdos.csail.mit.edu/6.828/2008/readings/ia32/IA32-3A.pdf + +properties: + compatible: + const: intel,ce4100-ioapic + + reg: + maxItems: 1 + + interrupt-controller: true + + '#interrupt-cells': + const: 2 + + interrupts: + maxItems: 1 + +required: + - compatible + - reg + - interrupt-controller + - '#interrupt-cells' + +additionalProperties: false + +examples: + - | + ioapic1: interrupt-controller@fec00000 { + compatible = "intel,ce4100-ioapic"; + reg = <0xfec00000 0x1000>; + interrupt-controller; + #interrupt-cells = <2>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/intel,ixp4xx-interrupt.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/intel,ixp4xx-interrupt.yaml index 82454c9f32..a02a6b5af2 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/intel,ixp4xx-interrupt.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/intel,ixp4xx-interrupt.yaml @@ -1,56 +1,56 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -# Copyright 2018 Linaro Ltd. -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/interrupt-controller/intel,ixp4xx-interrupt.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Intel IXP4xx XScale Networking Processors Interrupt Controller - -maintainers: - - Linus Walleij - -description: | - This interrupt controller is found in the Intel IXP4xx processors. - Some processors have 32 interrupts, some have up to 64 interrupts. - The exact number of interrupts is determined from the compatible - string. - - The distinct IXP4xx families with different interrupt controller - variations are IXP42x, IXP43x, IXP45x and IXP46x. Those four - families were the only ones to reach the developer and consumer - market. - -properties: - compatible: - items: - - enum: - - intel,ixp42x-interrupt - - intel,ixp43x-interrupt - - intel,ixp45x-interrupt - - intel,ixp46x-interrupt - - reg: - maxItems: 1 - - interrupt-controller: true - - '#interrupt-cells': - const: 2 - -required: - - compatible - - reg - - interrupt-controller - - '#interrupt-cells' - -additionalProperties: false - -examples: - - | - intcon: interrupt-controller@c8003000 { - compatible = "intel,ixp43x-interrupt"; - reg = <0xc8003000 0x100>; - interrupt-controller; - #interrupt-cells = <2>; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +# Copyright 2018 Linaro Ltd. +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/interrupt-controller/intel,ixp4xx-interrupt.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Intel IXP4xx XScale Networking Processors Interrupt Controller + +maintainers: + - Linus Walleij + +description: | + This interrupt controller is found in the Intel IXP4xx processors. + Some processors have 32 interrupts, some have up to 64 interrupts. + The exact number of interrupts is determined from the compatible + string. + + The distinct IXP4xx families with different interrupt controller + variations are IXP42x, IXP43x, IXP45x and IXP46x. Those four + families were the only ones to reach the developer and consumer + market. + +properties: + compatible: + items: + - enum: + - intel,ixp42x-interrupt + - intel,ixp43x-interrupt + - intel,ixp45x-interrupt + - intel,ixp46x-interrupt + + reg: + maxItems: 1 + + interrupt-controller: true + + '#interrupt-cells': + const: 2 + +required: + - compatible + - reg + - interrupt-controller + - '#interrupt-cells' + +additionalProperties: false + +examples: + - | + intcon: interrupt-controller@c8003000 { + compatible = "intel,ixp43x-interrupt"; + reg = <0xc8003000 0x100>; + interrupt-controller; + #interrupt-cells = <2>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/kontron,sl28cpld-intc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/kontron,sl28cpld-intc.yaml index e7192fc254..e8dfa6507f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/kontron,sl28cpld-intc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/kontron,sl28cpld-intc.yaml @@ -1,54 +1,54 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/interrupt-controller/kontron,sl28cpld-intc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Interrupt controller 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 following interrupts are available. All types and levels are fixed - and handled by the board management controller. - - ==== ============= ================================== - IRQ line/device description - ==== ============= ================================== - 0 RTC_INT# Interrupt line from on-board RTC - 1 SMB_ALERT# Event on SMB_ALERT# line (P1) - 2 ESPI_ALERT0# Event on ESPI_ALERT0# line (S43) - 3 ESPI_ALERT1# Event on ESPI_ALERT1# line (S44) - 4 PWR_BTN# Event on PWR_BTN# line (P128) - 5 SLEEP# Event on SLEEP# line (S149) - 6 watchdog Interrupt of the internal watchdog - 7 n/a not used - ==== ============= ================================== - -properties: - compatible: - enum: - - kontron,sl28cpld-intc - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - "#interrupt-cells": - const: 2 - - interrupt-controller: true - -required: - - compatible - - interrupts - - "#interrupt-cells" - - interrupt-controller - -additionalProperties: false +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/interrupt-controller/kontron,sl28cpld-intc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Interrupt controller 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 following interrupts are available. All types and levels are fixed + and handled by the board management controller. + + ==== ============= ================================== + IRQ line/device description + ==== ============= ================================== + 0 RTC_INT# Interrupt line from on-board RTC + 1 SMB_ALERT# Event on SMB_ALERT# line (P1) + 2 ESPI_ALERT0# Event on ESPI_ALERT0# line (S43) + 3 ESPI_ALERT1# Event on ESPI_ALERT1# line (S44) + 4 PWR_BTN# Event on PWR_BTN# line (P128) + 5 SLEEP# Event on SLEEP# line (S149) + 6 watchdog Interrupt of the internal watchdog + 7 n/a not used + ==== ============= ================================== + +properties: + compatible: + enum: + - kontron,sl28cpld-intc + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + "#interrupt-cells": + const: 2 + + interrupt-controller: true + +required: + - compatible + - interrupts + - "#interrupt-cells" + - interrupt-controller + +additionalProperties: false diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/loongson,htpic.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/loongson,htpic.yaml index 81e2e31365..f0acd5671b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/loongson,htpic.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/loongson,htpic.yaml @@ -1,61 +1,61 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/interrupt-controller/loongson,htpic.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Loongson-3 HyperTransport Interrupt Controller - -maintainers: - - Jiaxun Yang - -allOf: - - $ref: /schemas/interrupt-controller.yaml# - -description: | - This interrupt controller is found in the Loongson-3 family of chips to transmit - interrupts from PCH PIC connected on HyperTransport bus. - -properties: - compatible: - const: loongson,htpic-1.0 - - reg: - maxItems: 1 - - interrupts: - minItems: 1 - maxItems: 4 - description: | - Four parent interrupts that receive chained interrupts. - - interrupt-controller: true - - '#interrupt-cells': - const: 1 - -required: - - compatible - - reg - - interrupts - - interrupt-controller - - '#interrupt-cells' - -unevaluatedProperties: false - -examples: - - | - #include - htintc: interrupt-controller@1fb000080 { - compatible = "loongson,htpic-1.0"; - reg = <0xfb000080 0x40>; - interrupt-controller; - #interrupt-cells = <1>; - - interrupt-parent = <&liointc>; - interrupts = <24 IRQ_TYPE_LEVEL_HIGH>, - <25 IRQ_TYPE_LEVEL_HIGH>, - <26 IRQ_TYPE_LEVEL_HIGH>, - <27 IRQ_TYPE_LEVEL_HIGH>; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/interrupt-controller/loongson,htpic.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Loongson-3 HyperTransport Interrupt Controller + +maintainers: + - Jiaxun Yang + +allOf: + - $ref: /schemas/interrupt-controller.yaml# + +description: | + This interrupt controller is found in the Loongson-3 family of chips to transmit + interrupts from PCH PIC connected on HyperTransport bus. + +properties: + compatible: + const: loongson,htpic-1.0 + + reg: + maxItems: 1 + + interrupts: + minItems: 1 + maxItems: 4 + description: | + Four parent interrupts that receive chained interrupts. + + interrupt-controller: true + + '#interrupt-cells': + const: 1 + +required: + - compatible + - reg + - interrupts + - interrupt-controller + - '#interrupt-cells' + +unevaluatedProperties: false + +examples: + - | + #include + htintc: interrupt-controller@1fb000080 { + compatible = "loongson,htpic-1.0"; + reg = <0xfb000080 0x40>; + interrupt-controller; + #interrupt-cells = <1>; + + interrupt-parent = <&liointc>; + interrupts = <24 IRQ_TYPE_LEVEL_HIGH>, + <25 IRQ_TYPE_LEVEL_HIGH>, + <26 IRQ_TYPE_LEVEL_HIGH>, + <27 IRQ_TYPE_LEVEL_HIGH>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/loongson,htvec.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/loongson,htvec.yaml index 5595324a38..1d14576390 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/loongson,htvec.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/loongson,htvec.yaml @@ -1,57 +1,57 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/interrupt-controller/loongson,htvec.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Loongson-3 HyperTransport Interrupt Vector Controller - -maintainers: - - Jiaxun Yang - -description: - This interrupt controller is found in the Loongson-3 family of chips for - receiving vectorized interrupts from PCH's interrupt controller. - -properties: - compatible: - const: loongson,htvec-1.0 - - reg: - maxItems: 1 - - interrupts: - minItems: 1 - maxItems: 8 - description: Eight parent interrupts that receive chained interrupts. - - interrupt-controller: true - - '#interrupt-cells': - const: 1 - -required: - - compatible - - reg - - interrupts - - interrupt-controller - - '#interrupt-cells' - -additionalProperties: false - -examples: - - | - #include - htvec: interrupt-controller@fb000080 { - compatible = "loongson,htvec-1.0"; - reg = <0xfb000080 0x40>; - interrupt-controller; - #interrupt-cells = <1>; - - interrupt-parent = <&liointc>; - interrupts = <24 IRQ_TYPE_LEVEL_HIGH>, - <25 IRQ_TYPE_LEVEL_HIGH>, - <26 IRQ_TYPE_LEVEL_HIGH>, - <27 IRQ_TYPE_LEVEL_HIGH>; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/interrupt-controller/loongson,htvec.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Loongson-3 HyperTransport Interrupt Vector Controller + +maintainers: + - Jiaxun Yang + +description: + This interrupt controller is found in the Loongson-3 family of chips for + receiving vectorized interrupts from PCH's interrupt controller. + +properties: + compatible: + const: loongson,htvec-1.0 + + reg: + maxItems: 1 + + interrupts: + minItems: 1 + maxItems: 8 + description: Eight parent interrupts that receive chained interrupts. + + interrupt-controller: true + + '#interrupt-cells': + const: 1 + +required: + - compatible + - reg + - interrupts + - interrupt-controller + - '#interrupt-cells' + +additionalProperties: false + +examples: + - | + #include + htvec: interrupt-controller@fb000080 { + compatible = "loongson,htvec-1.0"; + reg = <0xfb000080 0x40>; + interrupt-controller; + #interrupt-cells = <1>; + + interrupt-parent = <&liointc>; + interrupts = <24 IRQ_TYPE_LEVEL_HIGH>, + <25 IRQ_TYPE_LEVEL_HIGH>, + <26 IRQ_TYPE_LEVEL_HIGH>, + <27 IRQ_TYPE_LEVEL_HIGH>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/loongson,pch-msi.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/loongson,pch-msi.yaml index 45e475d559..a71fc2218e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/loongson,pch-msi.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/loongson,pch-msi.yaml @@ -1,62 +1,62 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/interrupt-controller/loongson,pch-msi.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Loongson PCH MSI Controller - -maintainers: - - Jiaxun Yang - -description: - This interrupt controller is found in the Loongson LS7A family of PCH for - transforming interrupts from PCIe MSI into HyperTransport vectorized - interrupts. - -properties: - compatible: - const: loongson,pch-msi-1.0 - - reg: - maxItems: 1 - - loongson,msi-base-vec: - description: - u32 value of the base of parent HyperTransport vector allocated - to PCH MSI. - $ref: /schemas/types.yaml#/definitions/uint32 - minimum: 0 - maximum: 255 - - loongson,msi-num-vecs: - description: - u32 value of the number of parent HyperTransport vectors allocated - to PCH MSI. - $ref: /schemas/types.yaml#/definitions/uint32 - minimum: 1 - maximum: 256 - - msi-controller: true - -required: - - compatible - - reg - - msi-controller - - loongson,msi-base-vec - - loongson,msi-num-vecs - -additionalProperties: true # fixme - -examples: - - | - #include - msi: msi-controller@2ff00000 { - compatible = "loongson,pch-msi-1.0"; - reg = <0x2ff00000 0x4>; - msi-controller; - loongson,msi-base-vec = <64>; - loongson,msi-num-vecs = <64>; - interrupt-parent = <&htvec>; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/interrupt-controller/loongson,pch-msi.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Loongson PCH MSI Controller + +maintainers: + - Jiaxun Yang + +description: + This interrupt controller is found in the Loongson LS7A family of PCH for + transforming interrupts from PCIe MSI into HyperTransport vectorized + interrupts. + +properties: + compatible: + const: loongson,pch-msi-1.0 + + reg: + maxItems: 1 + + loongson,msi-base-vec: + description: + u32 value of the base of parent HyperTransport vector allocated + to PCH MSI. + $ref: /schemas/types.yaml#/definitions/uint32 + minimum: 0 + maximum: 255 + + loongson,msi-num-vecs: + description: + u32 value of the number of parent HyperTransport vectors allocated + to PCH MSI. + $ref: /schemas/types.yaml#/definitions/uint32 + minimum: 1 + maximum: 256 + + msi-controller: true + +required: + - compatible + - reg + - msi-controller + - loongson,msi-base-vec + - loongson,msi-num-vecs + +additionalProperties: true # fixme + +examples: + - | + #include + msi: msi-controller@2ff00000 { + compatible = "loongson,pch-msi-1.0"; + reg = <0x2ff00000 0x4>; + msi-controller; + loongson,msi-base-vec = <64>; + loongson,msi-num-vecs = <64>; + interrupt-parent = <&htvec>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/marvell,mpic.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/marvell,mpic.yaml index 4856d22fd9..616a41c873 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/marvell,mpic.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/marvell,mpic.yaml @@ -1,63 +1,63 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/interrupt-controller/marvell,mpic.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Marvell Armada 370, 375, 38x, 39x, XP Interrupt Controller - -maintainers: - - Marek Behún - -description: | - The top-level interrupt controller on Marvell Armada 370 and XP. On these - platforms it also provides inter-processor interrupts. - - On Marvell Armada 375, 38x and 39x this controller is wired under ARM GIC. - - Provides MSI handling for the PCIe controllers. - -properties: - compatible: - const: marvell,mpic - - reg: - items: - - description: main registers - - description: per-cpu registers - - interrupts: - items: - - description: | - Parent interrupt on platforms where MPIC is not the top-level - interrupt controller. - - interrupt-controller: true - - '#interrupt-cells': - const: 1 - - msi-controller: true - -required: - - compatible - - reg - - interrupt-controller - - '#interrupt-cells' - - msi-controller - -additionalProperties: false - -examples: - - | - #include - #include - - interrupt-controller@20a00 { - compatible = "marvell,mpic"; - reg = <0x20a00 0x2d0>, <0x21070 0x58>; - interrupts = ; - interrupt-controller; - #interrupt-cells = <1>; - msi-controller; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/interrupt-controller/marvell,mpic.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Marvell Armada 370, 375, 38x, 39x, XP Interrupt Controller + +maintainers: + - Marek Behún + +description: | + The top-level interrupt controller on Marvell Armada 370 and XP. On these + platforms it also provides inter-processor interrupts. + + On Marvell Armada 375, 38x and 39x this controller is wired under ARM GIC. + + Provides MSI handling for the PCIe controllers. + +properties: + compatible: + const: marvell,mpic + + reg: + items: + - description: main registers + - description: per-cpu registers + + interrupts: + items: + - description: | + Parent interrupt on platforms where MPIC is not the top-level + interrupt controller. + + interrupt-controller: true + + '#interrupt-cells': + const: 1 + + msi-controller: true + +required: + - compatible + - reg + - interrupt-controller + - '#interrupt-cells' + - msi-controller + +additionalProperties: false + +examples: + - | + #include + #include + + interrupt-controller@20a00 { + compatible = "marvell,mpic"; + reg = <0x20a00 0x2d0>, <0x21070 0x58>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <1>; + msi-controller; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/marvell,odmi-controller.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/marvell,odmi-controller.txt index b179218b63..0ebfc952cb 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/marvell,odmi-controller.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/marvell,odmi-controller.txt @@ -1,42 +1,42 @@ - -* Marvell ODMI for MSI support - -Some Marvell SoCs have an On-Die Message Interrupt (ODMI) controller -which can be used by on-board peripheral for MSI interrupts. - -Required properties: - -- compatible : The value here should contain: - - "marvell,ap806-odmi-controller", "marvell,odmi-controller". - -- interrupt,controller : Identifies the node as an interrupt controller. - -- msi-controller : Identifies the node as an MSI controller. - -- marvell,odmi-frames : Number of ODMI frames available. Each frame - provides a number of events. - -- reg : List of register definitions, one for each - ODMI frame. - -- marvell,spi-base : List of GIC base SPI interrupts, one for each - ODMI frame. Those SPI interrupts are 0-based, - i.e marvell,spi-base = <128> will use SPI #96. - See Documentation/devicetree/bindings/interrupt-controller/arm,gic.yaml - for details about the GIC Device Tree binding. - -Example: - - odmi: odmi@300000 { - compatible = "marvell,ap806-odmi-controller", - "marvell,odmi-controller"; - interrupt-controller; - msi-controller; - marvell,odmi-frames = <4>; - reg = <0x300000 0x4000>, - <0x304000 0x4000>, - <0x308000 0x4000>, - <0x30C000 0x4000>; - marvell,spi-base = <128>, <136>, <144>, <152>; - }; + +* Marvell ODMI for MSI support + +Some Marvell SoCs have an On-Die Message Interrupt (ODMI) controller +which can be used by on-board peripheral for MSI interrupts. + +Required properties: + +- compatible : The value here should contain: + + "marvell,ap806-odmi-controller", "marvell,odmi-controller". + +- interrupt,controller : Identifies the node as an interrupt controller. + +- msi-controller : Identifies the node as an MSI controller. + +- marvell,odmi-frames : Number of ODMI frames available. Each frame + provides a number of events. + +- reg : List of register definitions, one for each + ODMI frame. + +- marvell,spi-base : List of GIC base SPI interrupts, one for each + ODMI frame. Those SPI interrupts are 0-based, + i.e marvell,spi-base = <128> will use SPI #96. + See Documentation/devicetree/bindings/interrupt-controller/arm,gic.yaml + for details about the GIC Device Tree binding. + +Example: + + odmi: odmi@300000 { + compatible = "marvell,ap806-odmi-controller", + "marvell,odmi-controller"; + interrupt-controller; + msi-controller; + marvell,odmi-frames = <4>; + reg = <0x300000 0x4000>, + <0x304000 0x4000>, + <0x308000 0x4000>, + <0x30C000 0x4000>; + marvell,spi-base = <128>, <136>, <144>, <152>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/marvell,orion-intc.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/marvell,orion-intc.txt index f7de0d98a6..2c11ac76fa 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/marvell,orion-intc.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/marvell,orion-intc.txt @@ -1,48 +1,48 @@ -Marvell Orion SoC interrupt controllers - -* Main interrupt controller - -Required properties: -- compatible: shall be "marvell,orion-intc" -- reg: base address(es) of interrupt registers starting with CAUSE register -- interrupt-controller: identifies the node as an interrupt controller -- #interrupt-cells: number of cells to encode an interrupt source, shall be 1 - -The interrupt sources map to the corresponding bits in the interrupt -registers, i.e. -- 0 maps to bit 0 of first base address, -- 1 maps to bit 1 of first base address, -- 32 maps to bit 0 of second base address, and so on. - -Example: - intc: interrupt-controller { - compatible = "marvell,orion-intc"; - interrupt-controller; - #interrupt-cells = <1>; - /* Dove has 64 first level interrupts */ - reg = <0x20200 0x10>, <0x20210 0x10>; - }; - -* Bridge interrupt controller - -Required properties: -- compatible: shall be "marvell,orion-bridge-intc" -- reg: base address of bridge interrupt registers starting with CAUSE register -- interrupts: bridge interrupt of the main interrupt controller -- interrupt-controller: identifies the node as an interrupt controller -- #interrupt-cells: number of cells to encode an interrupt source, shall be 1 - -Optional properties: -- marvell,#interrupts: number of interrupts provided by bridge interrupt - controller, defaults to 32 if not set - -Example: - bridge_intc: interrupt-controller { - compatible = "marvell,orion-bridge-intc"; - interrupt-controller; - #interrupt-cells = <1>; - reg = <0x20110 0x8>; - interrupts = <0>; - /* Dove bridge provides 5 interrupts */ - marvell,#interrupts = <5>; - }; +Marvell Orion SoC interrupt controllers + +* Main interrupt controller + +Required properties: +- compatible: shall be "marvell,orion-intc" +- reg: base address(es) of interrupt registers starting with CAUSE register +- interrupt-controller: identifies the node as an interrupt controller +- #interrupt-cells: number of cells to encode an interrupt source, shall be 1 + +The interrupt sources map to the corresponding bits in the interrupt +registers, i.e. +- 0 maps to bit 0 of first base address, +- 1 maps to bit 1 of first base address, +- 32 maps to bit 0 of second base address, and so on. + +Example: + intc: interrupt-controller { + compatible = "marvell,orion-intc"; + interrupt-controller; + #interrupt-cells = <1>; + /* Dove has 64 first level interrupts */ + reg = <0x20200 0x10>, <0x20210 0x10>; + }; + +* Bridge interrupt controller + +Required properties: +- compatible: shall be "marvell,orion-bridge-intc" +- reg: base address of bridge interrupt registers starting with CAUSE register +- interrupts: bridge interrupt of the main interrupt controller +- interrupt-controller: identifies the node as an interrupt controller +- #interrupt-cells: number of cells to encode an interrupt source, shall be 1 + +Optional properties: +- marvell,#interrupts: number of interrupts provided by bridge interrupt + controller, defaults to 32 if not set + +Example: + bridge_intc: interrupt-controller { + compatible = "marvell,orion-bridge-intc"; + interrupt-controller; + #interrupt-cells = <1>; + reg = <0x20110 0x8>; + interrupts = <0>; + /* Dove bridge provides 5 interrupts */ + marvell,#interrupts = <5>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/marvell,sei.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/marvell,sei.txt index 636c677fb1..0beafed502 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/marvell,sei.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/marvell,sei.txt @@ -1,36 +1,36 @@ -Marvell SEI (System Error Interrupt) Controller ------------------------------------------------ - -Marvell SEI (System Error Interrupt) controller is an interrupt -aggregator. It receives interrupts from several sources and aggregates -them to a single interrupt line (an SPI) on the parent interrupt -controller. - -This interrupt controller can handle up to 64 SEIs, a set comes from the -AP and is wired while a second set comes from the CPs by the mean of -MSIs. - -Required properties: - -- compatible: should be one of: - * "marvell,ap806-sei" -- reg: SEI registers location and length. -- interrupts: identifies the parent IRQ that will be triggered. -- #interrupt-cells: number of cells to define an SEI wired interrupt - coming from the AP, should be 1. The cell is the IRQ - number. -- interrupt-controller: identifies the node as an interrupt controller - for AP interrupts. -- msi-controller: identifies the node as an MSI controller for the CPs - interrupts. - -Example: - - sei: interrupt-controller@3f0200 { - compatible = "marvell,ap806-sei"; - reg = <0x3f0200 0x40>; - interrupts = ; - #interrupt-cells = <1>; - interrupt-controller; - msi-controller; - }; +Marvell SEI (System Error Interrupt) Controller +----------------------------------------------- + +Marvell SEI (System Error Interrupt) controller is an interrupt +aggregator. It receives interrupts from several sources and aggregates +them to a single interrupt line (an SPI) on the parent interrupt +controller. + +This interrupt controller can handle up to 64 SEIs, a set comes from the +AP and is wired while a second set comes from the CPs by the mean of +MSIs. + +Required properties: + +- compatible: should be one of: + * "marvell,ap806-sei" +- reg: SEI registers location and length. +- interrupts: identifies the parent IRQ that will be triggered. +- #interrupt-cells: number of cells to define an SEI wired interrupt + coming from the AP, should be 1. The cell is the IRQ + number. +- interrupt-controller: identifies the node as an interrupt controller + for AP interrupts. +- msi-controller: identifies the node as an MSI controller for the CPs + interrupts. + +Example: + + sei: interrupt-controller@3f0200 { + compatible = "marvell,ap806-sei"; + reg = <0x3f0200 0x40>; + interrupts = ; + #interrupt-cells = <1>; + interrupt-controller; + msi-controller; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/microchip,sama7g5-eic.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/microchip,sama7g5-eic.yaml index 0217852a9d..d56ba65b17 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/microchip,sama7g5-eic.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/microchip,sama7g5-eic.yaml @@ -1,73 +1,73 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/interrupt-controller/microchip,sama7g5-eic.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Microchip External Interrupt Controller - -maintainers: - - Claudiu Beznea - -description: - This interrupt controller is found in Microchip SoCs (SAMA7G5) and provides - support for handling up to 2 external interrupt lines. - -properties: - compatible: - enum: - - microchip,sama7g5-eic - - reg: - maxItems: 1 - - interrupt-controller: true - - '#interrupt-cells': - const: 2 - description: - The first cell is the input IRQ number (between 0 and 1), the second cell - is the trigger type as defined in interrupt.txt present in this directory. - - interrupts: - description: | - Contains the GIC SPI IRQs mapped to the external interrupt lines. They - should be specified sequentially from output 0 to output 1. - minItems: 2 - maxItems: 2 - - clocks: - maxItems: 1 - - clock-names: - const: pclk - -required: - - compatible - - reg - - interrupt-controller - - '#interrupt-cells' - - interrupts - - clocks - - clock-names - -additionalProperties: false - -examples: - - | - #include - #include - - eic: interrupt-controller@e1628000 { - compatible = "microchip,sama7g5-eic"; - reg = <0xe1628000 0x100>; - interrupt-parent = <&gic>; - interrupt-controller; - #interrupt-cells = <2>; - interrupts = , - ; - clocks = <&pmc PMC_TYPE_PERIPHERAL 37>; - clock-names = "pclk"; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/interrupt-controller/microchip,sama7g5-eic.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Microchip External Interrupt Controller + +maintainers: + - Claudiu Beznea + +description: + This interrupt controller is found in Microchip SoCs (SAMA7G5) and provides + support for handling up to 2 external interrupt lines. + +properties: + compatible: + enum: + - microchip,sama7g5-eic + + reg: + maxItems: 1 + + interrupt-controller: true + + '#interrupt-cells': + const: 2 + description: + The first cell is the input IRQ number (between 0 and 1), the second cell + is the trigger type as defined in interrupt.txt present in this directory. + + interrupts: + description: | + Contains the GIC SPI IRQs mapped to the external interrupt lines. They + should be specified sequentially from output 0 to output 1. + minItems: 2 + maxItems: 2 + + clocks: + maxItems: 1 + + clock-names: + const: pclk + +required: + - compatible + - reg + - interrupt-controller + - '#interrupt-cells' + - interrupts + - clocks + - clock-names + +additionalProperties: false + +examples: + - | + #include + #include + + eic: interrupt-controller@e1628000 { + compatible = "microchip,sama7g5-eic"; + reg = <0xe1628000 0x100>; + interrupt-parent = <&gic>; + interrupt-controller; + #interrupt-cells = <2>; + interrupts = , + ; + clocks = <&pmc PMC_TYPE_PERIPHERAL 37>; + clock-names = "pclk"; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/msi-controller.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/msi-controller.yaml index dcff9fa026..449d6067ec 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/msi-controller.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/msi-controller.yaml @@ -1,46 +1,46 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/interrupt-controller/msi-controller.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: MSI controller - -maintainers: - - Marc Zyngier - -description: | - An MSI controller signals interrupts to a CPU when a write is made - to an MMIO address by some master. An MSI controller may feature a - number of doorbells. - -properties: - "#msi-cells": - description: | - The number of cells in an msi-specifier, required if not zero. - - Typically this will encode information related to sideband data, - and will not encode doorbells or payloads as these can be - configured dynamically. - - The meaning of the msi-specifier is defined by the device tree - binding of the specific MSI controller. - enum: [0, 1] - - msi-controller: - description: - Identifies the node as an MSI controller. - $ref: /schemas/types.yaml#/definitions/flag - - msi-ranges: - description: - A list of tuples, where "phandle" is the - parent interrupt controller, "intspec" is the starting/base - interrupt specifier and "span" is the size of the - range. Multiple ranges can be provided. - $ref: /schemas/types.yaml#/definitions/phandle-array - -dependencies: - "#msi-cells": [ msi-controller ] - -additionalProperties: true +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/interrupt-controller/msi-controller.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: MSI controller + +maintainers: + - Marc Zyngier + +description: | + An MSI controller signals interrupts to a CPU when a write is made + to an MMIO address by some master. An MSI controller may feature a + number of doorbells. + +properties: + "#msi-cells": + description: | + The number of cells in an msi-specifier, required if not zero. + + Typically this will encode information related to sideband data, + and will not encode doorbells or payloads as these can be + configured dynamically. + + The meaning of the msi-specifier is defined by the device tree + binding of the specific MSI controller. + enum: [0, 1] + + msi-controller: + description: + Identifies the node as an MSI controller. + $ref: /schemas/types.yaml#/definitions/flag + + msi-ranges: + description: + A list of tuples, where "phandle" is the + parent interrupt controller, "intspec" is the starting/base + interrupt specifier and "span" is the size of the + range. Multiple ranges can be provided. + $ref: /schemas/types.yaml#/definitions/phandle-array + +dependencies: + "#msi-cells": [ msi-controller ] + +additionalProperties: true diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/mstar,mst-intc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/mstar,mst-intc.yaml index eecb436810..bbf0f26cd0 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/mstar,mst-intc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/mstar,mst-intc.yaml @@ -1,64 +1,64 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/interrupt-controller/mstar,mst-intc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: MStar Interrupt Controller - -maintainers: - - Mark-PK Tsai - -description: |+ - MStar, SigmaStar and Mediatek TV SoCs contain multiple legacy - interrupt controllers that routes interrupts to the GIC. - - The HW block exposes a number of interrupt controllers, each - can support up to 64 interrupts. - -properties: - compatible: - const: mstar,mst-intc - - interrupt-controller: true - - "#interrupt-cells": - const: 3 - description: | - Use the same format as specified by GIC in arm,gic.yaml. - - reg: - maxItems: 1 - - mstar,irqs-map-range: - description: | - The range of parent interrupt controller's interrupt - lines that are hardwired to mstar interrupt controller. - $ref: /schemas/types.yaml#/definitions/uint32-matrix - items: - minItems: 2 - maxItems: 2 - - mstar,intc-no-eoi: - description: - Mark this controller has no End Of Interrupt(EOI) implementation. - type: boolean - -required: - - compatible - - reg - - mstar,irqs-map-range - -additionalProperties: false - -examples: - - | - mst_intc0: interrupt-controller@1f2032d0 { - compatible = "mstar,mst-intc"; - interrupt-controller; - #interrupt-cells = <3>; - interrupt-parent = <&gic>; - reg = <0x1f2032d0 0x30>; - mstar,irqs-map-range = <0 63>; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/interrupt-controller/mstar,mst-intc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: MStar Interrupt Controller + +maintainers: + - Mark-PK Tsai + +description: |+ + MStar, SigmaStar and Mediatek TV SoCs contain multiple legacy + interrupt controllers that routes interrupts to the GIC. + + The HW block exposes a number of interrupt controllers, each + can support up to 64 interrupts. + +properties: + compatible: + const: mstar,mst-intc + + interrupt-controller: true + + "#interrupt-cells": + const: 3 + description: | + Use the same format as specified by GIC in arm,gic.yaml. + + reg: + maxItems: 1 + + mstar,irqs-map-range: + description: | + The range of parent interrupt controller's interrupt + lines that are hardwired to mstar interrupt controller. + $ref: /schemas/types.yaml#/definitions/uint32-matrix + items: + minItems: 2 + maxItems: 2 + + mstar,intc-no-eoi: + description: + Mark this controller has no End Of Interrupt(EOI) implementation. + type: boolean + +required: + - compatible + - reg + - mstar,irqs-map-range + +additionalProperties: false + +examples: + - | + mst_intc0: interrupt-controller@1f2032d0 { + compatible = "mstar,mst-intc"; + interrupt-controller; + #interrupt-cells = <3>; + interrupt-parent = <&gic>; + reg = <0x1f2032d0 0x30>; + mstar,irqs-map-range = <0 63>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/nvidia,tegra20-ictlr.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/nvidia,tegra20-ictlr.txt index ee478b8ae6..2ff3566401 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/nvidia,tegra20-ictlr.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/nvidia,tegra20-ictlr.txt @@ -1,41 +1,41 @@ -NVIDIA Legacy Interrupt Controller - -All Tegra SoCs contain a legacy interrupt controller that routes -interrupts to the GIC, and also serves as a wakeup source. It is also -referred to as "ictlr", hence the name of the binding. - -The HW block exposes a number of interrupt controllers, each -implementing a set of 32 interrupts. - -Required properties: - -- compatible : should be: "nvidia,tegra-ictlr". The LIC on - subsequent SoCs remained backwards-compatible with Tegra30, so on - Tegra generations later than Tegra30 the compatible value should - include "nvidia,tegra30-ictlr". -- reg : Specifies base physical address and size of the registers. - Each controller must be described separately (Tegra20 has 4 of them, - whereas Tegra30 and later have 5). -- interrupt-controller : Identifies the node as an interrupt controller. -- #interrupt-cells : Specifies the number of cells needed to encode an - interrupt source. The value must be 3. - -Notes: - -- Because this HW ultimately routes interrupts to the GIC, the - interrupt specifier must be that of the GIC. -- Only SPIs can use the ictlr as an interrupt parent. SGIs and PPIs - are explicitly forbidden. - -Example: - - ictlr: interrupt-controller@60004000 { - compatible = "nvidia,tegra20-ictlr", "nvidia,tegra-ictlr"; - reg = <0x60004000 64>, - <0x60004100 64>, - <0x60004200 64>, - <0x60004300 64>; - interrupt-controller; - #interrupt-cells = <3>; - interrupt-parent = <&intc>; - }; +NVIDIA Legacy Interrupt Controller + +All Tegra SoCs contain a legacy interrupt controller that routes +interrupts to the GIC, and also serves as a wakeup source. It is also +referred to as "ictlr", hence the name of the binding. + +The HW block exposes a number of interrupt controllers, each +implementing a set of 32 interrupts. + +Required properties: + +- compatible : should be: "nvidia,tegra-ictlr". The LIC on + subsequent SoCs remained backwards-compatible with Tegra30, so on + Tegra generations later than Tegra30 the compatible value should + include "nvidia,tegra30-ictlr". +- reg : Specifies base physical address and size of the registers. + Each controller must be described separately (Tegra20 has 4 of them, + whereas Tegra30 and later have 5). +- interrupt-controller : Identifies the node as an interrupt controller. +- #interrupt-cells : Specifies the number of cells needed to encode an + interrupt source. The value must be 3. + +Notes: + +- Because this HW ultimately routes interrupts to the GIC, the + interrupt specifier must be that of the GIC. +- Only SPIs can use the ictlr as an interrupt parent. SGIs and PPIs + are explicitly forbidden. + +Example: + + ictlr: interrupt-controller@60004000 { + compatible = "nvidia,tegra20-ictlr", "nvidia,tegra-ictlr"; + reg = <0x60004000 64>, + <0x60004100 64>, + <0x60004200 64>, + <0x60004300 64>; + interrupt-controller; + #interrupt-cells = <3>; + interrupt-parent = <&intc>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/nxp,lpc3220-mic.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/nxp,lpc3220-mic.txt index bbe6107ca8..0bfb3ba55f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/nxp,lpc3220-mic.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/nxp,lpc3220-mic.txt @@ -1,58 +1,58 @@ -* NXP LPC32xx MIC, SIC1 and SIC2 Interrupt Controllers - -Required properties: -- compatible: "nxp,lpc3220-mic" or "nxp,lpc3220-sic". -- reg: should contain IC registers location and length. -- interrupt-controller: identifies the node as an interrupt controller. -- #interrupt-cells: the number of cells to define an interrupt, should be 2. - The first cell is the IRQ number, the second cell is used to specify - one of the supported IRQ types: - IRQ_TYPE_EDGE_RISING = low-to-high edge triggered, - IRQ_TYPE_EDGE_FALLING = high-to-low edge triggered, - IRQ_TYPE_LEVEL_HIGH = active high level-sensitive, - IRQ_TYPE_LEVEL_LOW = active low level-sensitive. - Reset value is IRQ_TYPE_LEVEL_LOW. - -Optional properties: -- interrupts: empty for MIC interrupt controller, cascaded MIC - hardware interrupts for SIC1 and SIC2 - -Examples: - - /* LPC32xx MIC, SIC1 and SIC2 interrupt controllers */ - mic: interrupt-controller@40008000 { - compatible = "nxp,lpc3220-mic"; - reg = <0x40008000 0x4000>; - interrupt-controller; - #interrupt-cells = <2>; - }; - - sic1: interrupt-controller@4000c000 { - compatible = "nxp,lpc3220-sic"; - reg = <0x4000c000 0x4000>; - interrupt-controller; - #interrupt-cells = <2>; - - interrupt-parent = <&mic>; - interrupts = <0 IRQ_TYPE_LEVEL_LOW>, - <30 IRQ_TYPE_LEVEL_LOW>; - }; - - sic2: interrupt-controller@40010000 { - compatible = "nxp,lpc3220-sic"; - reg = <0x40010000 0x4000>; - interrupt-controller; - #interrupt-cells = <2>; - - interrupt-parent = <&mic>; - interrupts = <1 IRQ_TYPE_LEVEL_LOW>, - <31 IRQ_TYPE_LEVEL_LOW>; - }; - - /* ADC */ - adc@40048000 { - compatible = "nxp,lpc3220-adc"; - reg = <0x40048000 0x1000>; - interrupt-parent = <&sic1>; - interrupts = <7 IRQ_TYPE_LEVEL_HIGH>; - }; +* NXP LPC32xx MIC, SIC1 and SIC2 Interrupt Controllers + +Required properties: +- compatible: "nxp,lpc3220-mic" or "nxp,lpc3220-sic". +- reg: should contain IC registers location and length. +- interrupt-controller: identifies the node as an interrupt controller. +- #interrupt-cells: the number of cells to define an interrupt, should be 2. + The first cell is the IRQ number, the second cell is used to specify + one of the supported IRQ types: + IRQ_TYPE_EDGE_RISING = low-to-high edge triggered, + IRQ_TYPE_EDGE_FALLING = high-to-low edge triggered, + IRQ_TYPE_LEVEL_HIGH = active high level-sensitive, + IRQ_TYPE_LEVEL_LOW = active low level-sensitive. + Reset value is IRQ_TYPE_LEVEL_LOW. + +Optional properties: +- interrupts: empty for MIC interrupt controller, cascaded MIC + hardware interrupts for SIC1 and SIC2 + +Examples: + + /* LPC32xx MIC, SIC1 and SIC2 interrupt controllers */ + mic: interrupt-controller@40008000 { + compatible = "nxp,lpc3220-mic"; + reg = <0x40008000 0x4000>; + interrupt-controller; + #interrupt-cells = <2>; + }; + + sic1: interrupt-controller@4000c000 { + compatible = "nxp,lpc3220-sic"; + reg = <0x4000c000 0x4000>; + interrupt-controller; + #interrupt-cells = <2>; + + interrupt-parent = <&mic>; + interrupts = <0 IRQ_TYPE_LEVEL_LOW>, + <30 IRQ_TYPE_LEVEL_LOW>; + }; + + sic2: interrupt-controller@40010000 { + compatible = "nxp,lpc3220-sic"; + reg = <0x40010000 0x4000>; + interrupt-controller; + #interrupt-cells = <2>; + + interrupt-parent = <&mic>; + interrupts = <1 IRQ_TYPE_LEVEL_LOW>, + <31 IRQ_TYPE_LEVEL_LOW>; + }; + + /* ADC */ + adc@40048000 { + compatible = "nxp,lpc3220-adc"; + reg = <0x40048000 0x1000>; + interrupt-parent = <&sic1>; + interrupts = <7 IRQ_TYPE_LEVEL_HIGH>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/qca,ath79-cpu-intc.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/qca,ath79-cpu-intc.txt index efb2cf28bd..aabce7810d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/qca,ath79-cpu-intc.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/qca,ath79-cpu-intc.txt @@ -1,44 +1,44 @@ -Binding for Qualcomm Atheros AR7xxx/AR9XXX CPU interrupt controller - -On most SoC the IRQ controller need to flush the DDR FIFO before running -the interrupt handler of some devices. This is configured using the -qca,ddr-wb-channels and qca,ddr-wb-channel-interrupts properties. - -Required Properties: - -- compatible: has to be "qca,-cpu-intc", "qca,ar7100-cpu-intc" - as fallback -- 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 - -Please refer to interrupts.txt in this directory for details of the common -Interrupt Controllers bindings used by client devices. - -Optional Properties: - -- qca,ddr-wb-channel-interrupts: List of the interrupts needing a write - buffer flush -- qca,ddr-wb-channels: List of phandles to the write buffer channels for - each interrupt. If qca,ddr-wb-channel-interrupts is not present the interrupt - default to the entry's index. - -Example: - - interrupt-controller { - compatible = "qca,ar9132-cpu-intc", "qca,ar7100-cpu-intc"; - - interrupt-controller; - #interrupt-cells = <1>; - - qca,ddr-wb-channel-interrupts = <2>, <3>, <4>, <5>; - qca,ddr-wb-channels = <&ddr_ctrl 3>, <&ddr_ctrl 2>, - <&ddr_ctrl 0>, <&ddr_ctrl 1>; - }; - - ... - - ddr_ctrl: memory-controller@18000000 { - ... - #qca,ddr-wb-channel-cells = <1>; - }; +Binding for Qualcomm Atheros AR7xxx/AR9XXX CPU interrupt controller + +On most SoC the IRQ controller need to flush the DDR FIFO before running +the interrupt handler of some devices. This is configured using the +qca,ddr-wb-channels and qca,ddr-wb-channel-interrupts properties. + +Required Properties: + +- compatible: has to be "qca,-cpu-intc", "qca,ar7100-cpu-intc" + as fallback +- 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 + +Please refer to interrupts.txt in this directory for details of the common +Interrupt Controllers bindings used by client devices. + +Optional Properties: + +- qca,ddr-wb-channel-interrupts: List of the interrupts needing a write + buffer flush +- qca,ddr-wb-channels: List of phandles to the write buffer channels for + each interrupt. If qca,ddr-wb-channel-interrupts is not present the interrupt + default to the entry's index. + +Example: + + interrupt-controller { + compatible = "qca,ar9132-cpu-intc", "qca,ar7100-cpu-intc"; + + interrupt-controller; + #interrupt-cells = <1>; + + qca,ddr-wb-channel-interrupts = <2>, <3>, <4>, <5>; + qca,ddr-wb-channels = <&ddr_ctrl 3>, <&ddr_ctrl 2>, + <&ddr_ctrl 0>, <&ddr_ctrl 1>; + }; + + ... + + ddr_ctrl: memory-controller@18000000 { + ... + #qca,ddr-wb-channel-cells = <1>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/snps,archs-idu-intc.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/snps,archs-idu-intc.txt index 7d5e71a946..a5c1db95b3 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/snps,archs-idu-intc.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/snps,archs-idu-intc.txt @@ -1,46 +1,46 @@ -* ARC-HS Interrupt Distribution Unit - - This optional 2nd level interrupt controller can be used in SMP configurations - for dynamic IRQ routing, load balancing of common/external IRQs towards core - intc. - -Properties: - -- compatible: "snps,archs-idu-intc" -- interrupt-controller: This is an interrupt controller. -- #interrupt-cells: Must be <1> or <2>. - - Value of the first cell specifies the "common" IRQ from peripheral to IDU. - Number N of the particular interrupt line of IDU corresponds to the line N+24 - of the core interrupt controller. - - The (optional) second cell specifies any of the following flags: - - bits[3:0] trigger type and level flags - 1 = low-to-high edge triggered - 2 = NOT SUPPORTED (high-to-low edge triggered) - 4 = active high level-sensitive <<< DEFAULT - 8 = NOT SUPPORTED (active low level-sensitive) - When no second cell is specified, the interrupt is assumed to be level - sensitive. - - The interrupt controller is accessed via the special ARC AUX register - interface, hence "reg" property is not specified. - -Example: - core_intc: core-interrupt-controller { - compatible = "snps,archs-intc"; - interrupt-controller; - #interrupt-cells = <1>; - }; - - idu_intc: idu-interrupt-controller { - compatible = "snps,archs-idu-intc"; - interrupt-controller; - interrupt-parent = <&core_intc>; - #interrupt-cells = <1>; - }; - - some_device: serial@c0fc1000 { - interrupt-parent = <&idu_intc>; - interrupts = <0>; /* upstream idu IRQ #24 */ - }; +* ARC-HS Interrupt Distribution Unit + + This optional 2nd level interrupt controller can be used in SMP configurations + for dynamic IRQ routing, load balancing of common/external IRQs towards core + intc. + +Properties: + +- compatible: "snps,archs-idu-intc" +- interrupt-controller: This is an interrupt controller. +- #interrupt-cells: Must be <1> or <2>. + + Value of the first cell specifies the "common" IRQ from peripheral to IDU. + Number N of the particular interrupt line of IDU corresponds to the line N+24 + of the core interrupt controller. + + The (optional) second cell specifies any of the following flags: + - bits[3:0] trigger type and level flags + 1 = low-to-high edge triggered + 2 = NOT SUPPORTED (high-to-low edge triggered) + 4 = active high level-sensitive <<< DEFAULT + 8 = NOT SUPPORTED (active low level-sensitive) + When no second cell is specified, the interrupt is assumed to be level + sensitive. + + The interrupt controller is accessed via the special ARC AUX register + interface, hence "reg" property is not specified. + +Example: + core_intc: core-interrupt-controller { + compatible = "snps,archs-intc"; + interrupt-controller; + #interrupt-cells = <1>; + }; + + idu_intc: idu-interrupt-controller { + compatible = "snps,archs-idu-intc"; + interrupt-controller; + interrupt-parent = <&core_intc>; + #interrupt-cells = <1>; + }; + + some_device: serial@c0fc1000 { + interrupt-parent = <&idu_intc>; + interrupts = <0>; /* upstream idu IRQ #24 */ + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/snps,dw-apb-ictl.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/snps,dw-apb-ictl.txt index 08b8d7b6e5..2db59df940 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/snps,dw-apb-ictl.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/snps,dw-apb-ictl.txt @@ -1,43 +1,43 @@ -Synopsys DesignWare APB interrupt controller (dw_apb_ictl) - -Synopsys DesignWare provides interrupt controller IP for APB known as -dw_apb_ictl. The IP is used as secondary interrupt controller in some SoCs with -APB bus, e.g. Marvell Armada 1500. It can also be used as primary interrupt -controller in some SoCs, e.g. Hisilicon SD5203. - -Required properties: -- compatible: shall be "snps,dw-apb-ictl" -- reg: physical base address of the controller and length of memory mapped - region starting with ENABLE_LOW register -- interrupt-controller: identifies the node as an interrupt controller -- #interrupt-cells: number of cells to encode an interrupt-specifier, shall be 1 - -Additional required property when it's used as secondary interrupt controller: -- interrupts: interrupt reference to primary interrupt controller - -The interrupt sources map to the corresponding bits in the interrupt -registers, i.e. -- 0 maps to bit 0 of low interrupts, -- 1 maps to bit 1 of low interrupts, -- 32 maps to bit 0 of high interrupts, -- 33 maps to bit 1 of high interrupts, -- (optional) fast interrupts start at 64. - -Example: - /* dw_apb_ictl is used as secondary interrupt controller */ - aic: interrupt-controller@3000 { - compatible = "snps,dw-apb-ictl"; - reg = <0x3000 0xc00>; - interrupt-controller; - #interrupt-cells = <1>; - interrupt-parent = <&gic>; - interrupts = ; - }; - - /* dw_apb_ictl is used as primary interrupt controller */ - vic: interrupt-controller@10130000 { - compatible = "snps,dw-apb-ictl"; - reg = <0x10130000 0x1000>; - interrupt-controller; - #interrupt-cells = <1>; - }; +Synopsys DesignWare APB interrupt controller (dw_apb_ictl) + +Synopsys DesignWare provides interrupt controller IP for APB known as +dw_apb_ictl. The IP is used as secondary interrupt controller in some SoCs with +APB bus, e.g. Marvell Armada 1500. It can also be used as primary interrupt +controller in some SoCs, e.g. Hisilicon SD5203. + +Required properties: +- compatible: shall be "snps,dw-apb-ictl" +- reg: physical base address of the controller and length of memory mapped + region starting with ENABLE_LOW register +- interrupt-controller: identifies the node as an interrupt controller +- #interrupt-cells: number of cells to encode an interrupt-specifier, shall be 1 + +Additional required property when it's used as secondary interrupt controller: +- interrupts: interrupt reference to primary interrupt controller + +The interrupt sources map to the corresponding bits in the interrupt +registers, i.e. +- 0 maps to bit 0 of low interrupts, +- 1 maps to bit 1 of low interrupts, +- 32 maps to bit 0 of high interrupts, +- 33 maps to bit 1 of high interrupts, +- (optional) fast interrupts start at 64. + +Example: + /* dw_apb_ictl is used as secondary interrupt controller */ + aic: interrupt-controller@3000 { + compatible = "snps,dw-apb-ictl"; + reg = <0x3000 0xc00>; + interrupt-controller; + #interrupt-cells = <1>; + interrupt-parent = <&gic>; + interrupts = ; + }; + + /* dw_apb_ictl is used as primary interrupt controller */ + vic: interrupt-controller@10130000 { + compatible = "snps,dw-apb-ictl"; + reg = <0x10130000 0x1000>; + interrupt-controller; + #interrupt-cells = <1>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/socionext,uniphier-aidet.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/socionext,uniphier-aidet.yaml index da2d9b78b3..de7c5e59ba 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/socionext,uniphier-aidet.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/socionext,uniphier-aidet.yaml @@ -1,62 +1,62 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/interrupt-controller/socionext,uniphier-aidet.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: UniPhier AIDET - -description: | - UniPhier AIDET (ARM Interrupt Detector) is an add-on block for ARM GIC - (Generic Interrupt Controller). GIC itself can handle only high level and - rising edge interrupts. The AIDET provides logic inverter to support low - level and falling edge interrupts. - -maintainers: - - Masahiro Yamada - -allOf: - - $ref: /schemas/interrupt-controller.yaml# - -properties: - compatible: - enum: - - socionext,uniphier-ld4-aidet - - socionext,uniphier-pro4-aidet - - socionext,uniphier-sld8-aidet - - socionext,uniphier-pro5-aidet - - socionext,uniphier-pxs2-aidet - - socionext,uniphier-ld6b-aidet - - socionext,uniphier-ld11-aidet - - socionext,uniphier-ld20-aidet - - socionext,uniphier-pxs3-aidet - - socionext,uniphier-nx1-aidet - - reg: - maxItems: 1 - - interrupt-controller: true - - '#interrupt-cells': - description: | - The first cell defines the interrupt number (corresponds to the SPI - interrupt number of GIC). The second cell specifies the trigger type as - defined in interrupts.txt in this directory. - const: 2 - -required: - - compatible - - reg - - interrupt-controller - - '#interrupt-cells' - -additionalProperties: false - -examples: - - | - interrupt-controller@5fc20000 { - compatible = "socionext,uniphier-pro4-aidet"; - reg = <0x5fc20000 0x200>; - 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/socionext,uniphier-aidet.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: UniPhier AIDET + +description: | + UniPhier AIDET (ARM Interrupt Detector) is an add-on block for ARM GIC + (Generic Interrupt Controller). GIC itself can handle only high level and + rising edge interrupts. The AIDET provides logic inverter to support low + level and falling edge interrupts. + +maintainers: + - Masahiro Yamada + +allOf: + - $ref: /schemas/interrupt-controller.yaml# + +properties: + compatible: + enum: + - socionext,uniphier-ld4-aidet + - socionext,uniphier-pro4-aidet + - socionext,uniphier-sld8-aidet + - socionext,uniphier-pro5-aidet + - socionext,uniphier-pxs2-aidet + - socionext,uniphier-ld6b-aidet + - socionext,uniphier-ld11-aidet + - socionext,uniphier-ld20-aidet + - socionext,uniphier-pxs3-aidet + - socionext,uniphier-nx1-aidet + + reg: + maxItems: 1 + + interrupt-controller: true + + '#interrupt-cells': + description: | + The first cell defines the interrupt number (corresponds to the SPI + interrupt number of GIC). The second cell specifies the trigger type as + defined in interrupts.txt in this directory. + const: 2 + +required: + - compatible + - reg + - interrupt-controller + - '#interrupt-cells' + +additionalProperties: false + +examples: + - | + interrupt-controller@5fc20000 { + compatible = "socionext,uniphier-pro4-aidet"; + reg = <0x5fc20000 0x200>; + interrupt-controller; + #interrupt-cells = <2>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/sunplus,sp7021-intc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/sunplus,sp7021-intc.yaml index 2dba590005..bd0021dbab 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/sunplus,sp7021-intc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/sunplus,sp7021-intc.yaml @@ -1,62 +1,62 @@ -# 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/interrupt-controller/sunplus,sp7021-intc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Sunplus SP7021 SoC Interrupt Controller - -maintainers: - - Qin Jian - -properties: - compatible: - items: - - const: sunplus,sp7021-intc - - reg: - maxItems: 2 - description: - Specifies base physical address(s) and size of the controller regs. - The 1st region include type/polarity/priority/mask regs. - The 2nd region include clear/masked_ext0/masked_ext1/group regs. - - interrupt-controller: true - - "#interrupt-cells": - const: 2 - description: - The first cell is the IRQ number, the second cell is the trigger - type as defined in interrupt.txt in this directory. - - interrupts: - maxItems: 2 - description: - EXT_INT0 & EXT_INT1, 2 interrupts references to primary interrupt - controller. - -required: - - compatible - - reg - - interrupt-controller - - "#interrupt-cells" - - interrupts - -additionalProperties: false - -examples: - - | - #include - - intc: interrupt-controller@9c000780 { - compatible = "sunplus,sp7021-intc"; - reg = <0x9c000780 0x80>, <0x9c000a80 0x80>; - interrupt-controller; - #interrupt-cells = <2>; - interrupt-parent = <&gic>; - interrupts = , /* EXT_INT0 */ - ; /* EXT_INT1 */ - }; - -... +# 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/interrupt-controller/sunplus,sp7021-intc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Sunplus SP7021 SoC Interrupt Controller + +maintainers: + - Qin Jian + +properties: + compatible: + items: + - const: sunplus,sp7021-intc + + reg: + maxItems: 2 + description: + Specifies base physical address(s) and size of the controller regs. + The 1st region include type/polarity/priority/mask regs. + The 2nd region include clear/masked_ext0/masked_ext1/group regs. + + interrupt-controller: true + + "#interrupt-cells": + const: 2 + description: + The first cell is the IRQ number, the second cell is the trigger + type as defined in interrupt.txt in this directory. + + interrupts: + maxItems: 2 + description: + EXT_INT0 & EXT_INT1, 2 interrupts references to primary interrupt + controller. + +required: + - compatible + - reg + - interrupt-controller + - "#interrupt-cells" + - interrupts + +additionalProperties: false + +examples: + - | + #include + + intc: interrupt-controller@9c000780 { + compatible = "sunplus,sp7021-intc"; + reg = <0x9c000780 0x80>, <0x9c000a80 0x80>; + interrupt-controller; + #interrupt-cells = <2>; + interrupt-parent = <&gic>; + interrupts = , /* EXT_INT0 */ + ; /* EXT_INT1 */ + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iommu/allwinner,sun50i-h6-iommu.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iommu/allwinner,sun50i-h6-iommu.yaml index 4f1e765347..a8409db4a3 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iommu/allwinner,sun50i-h6-iommu.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iommu/allwinner,sun50i-h6-iommu.yaml @@ -1,66 +1,66 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iommu/allwinner,sun50i-h6-iommu.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Allwinner H6 IOMMU - -maintainers: - - Chen-Yu Tsai - - Maxime Ripard - -properties: - "#iommu-cells": - const: 1 - description: - The content of the cell is the master ID. - - compatible: - oneOf: - - const: allwinner,sun50i-h6-iommu - - const: allwinner,sun50i-h616-iommu - - items: - - const: allwinner,sun55i-a523-iommu - - const: allwinner,sun50i-h616-iommu - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - maxItems: 1 - - resets: - maxItems: 1 - -required: - - "#iommu-cells" - - compatible - - reg - - interrupts - - clocks - - resets - -additionalProperties: false - -examples: - - | - #include - #include - - #include - #include - - iommu: iommu@30f0000 { - compatible = "allwinner,sun50i-h6-iommu"; - reg = <0x030f0000 0x10000>; - interrupts = ; - clocks = <&ccu CLK_BUS_IOMMU>; - resets = <&ccu RST_BUS_IOMMU>; - #iommu-cells = <1>; - }; - -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iommu/allwinner,sun50i-h6-iommu.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Allwinner H6 IOMMU + +maintainers: + - Chen-Yu Tsai + - Maxime Ripard + +properties: + "#iommu-cells": + const: 1 + description: + The content of the cell is the master ID. + + compatible: + oneOf: + - const: allwinner,sun50i-h6-iommu + - const: allwinner,sun50i-h616-iommu + - items: + - const: allwinner,sun55i-a523-iommu + - const: allwinner,sun50i-h616-iommu + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + + resets: + maxItems: 1 + +required: + - "#iommu-cells" + - compatible + - reg + - interrupts + - clocks + - resets + +additionalProperties: false + +examples: + - | + #include + #include + + #include + #include + + iommu: iommu@30f0000 { + compatible = "allwinner,sun50i-h6-iommu"; + reg = <0x030f0000 0x10000>; + interrupts = ; + clocks = <&ccu CLK_BUS_IOMMU>; + resets = <&ccu RST_BUS_IOMMU>; + #iommu-cells = <1>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iommu/apple,sart.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iommu/apple,sart.yaml index e97864e5c4..e87c1520fe 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iommu/apple,sart.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iommu/apple,sart.yaml @@ -1,56 +1,56 @@ -# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iommu/apple,sart.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Apple SART DMA address filter - -maintainers: - - Sven Peter - -description: - Apple SART is a simple address filter for DMA transactions. Regions of - physical memory must be added to the SART's allow list before any - DMA can target these. Unlike a proper IOMMU no remapping can be done and - special support in the consumer driver is required since not all DMA - transactions of a single device are subject to SART filtering. - - SART1 has first been used since at least the A11 (iPhone 8 and iPhone X) - and allows 36 bit of physical address space and filter entries with sizes - up to 24 bit. - - SART2, first seen in A14 and M1, allows 36 bit of physical address space - and filter entry size up to 36 bit. - - SART3, first seen in M1 Pro/Max, extends both the address space and filter - entry size to 42 bit. - -properties: - compatible: - oneOf: - - items: - - const: apple,t8112-sart - - const: apple,t6000-sart - - enum: - - apple,t6000-sart - - apple,t8103-sart - - reg: - maxItems: 1 - - power-domains: - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - iommu@7bc50000 { - compatible = "apple,t8103-sart"; - reg = <0x7bc50000 0x4000>; - }; +# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iommu/apple,sart.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Apple SART DMA address filter + +maintainers: + - Sven Peter + +description: + Apple SART is a simple address filter for DMA transactions. Regions of + physical memory must be added to the SART's allow list before any + DMA can target these. Unlike a proper IOMMU no remapping can be done and + special support in the consumer driver is required since not all DMA + transactions of a single device are subject to SART filtering. + + SART1 has first been used since at least the A11 (iPhone 8 and iPhone X) + and allows 36 bit of physical address space and filter entries with sizes + up to 24 bit. + + SART2, first seen in A14 and M1, allows 36 bit of physical address space + and filter entry size up to 36 bit. + + SART3, first seen in M1 Pro/Max, extends both the address space and filter + entry size to 42 bit. + +properties: + compatible: + oneOf: + - items: + - const: apple,t8112-sart + - const: apple,t6000-sart + - enum: + - apple,t6000-sart + - apple,t8103-sart + + reg: + maxItems: 1 + + power-domains: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + iommu@7bc50000 { + compatible = "apple,t8103-sart"; + reg = <0x7bc50000 0x4000>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ipmi/ipmi-ipmb.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ipmi/ipmi-ipmb.yaml index 4beaccb892..52647bff31 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ipmi/ipmi-ipmb.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ipmi/ipmi-ipmb.yaml @@ -1,67 +1,67 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/ipmi/ipmi-ipmb.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: IPMI IPMB device - -description: IPMI IPMB device bindings - -maintainers: - - Corey Minyard - -properties: - compatible: - enum: - - ipmi-ipmb - - device_type: - items: - - const: ipmi - - reg: - maxItems: 1 - - bmcaddr: - $ref: /schemas/types.yaml#/definitions/uint8 - description: The address of the BMC on the IPMB bus. Defaults to 0x20. - - retry-time: - $ref: /schemas/types.yaml#/definitions/uint32 - description: | - Time between retries of sends, in milliseconds. Defaults to 250. - - max-retries: - $ref: /schemas/types.yaml#/definitions/uint32 - description: Number of retries before a failure is declared. Defaults to 1. - - slave-dev: - $ref: /schemas/types.yaml#/definitions/phandle - description: | - The slave i2c device. If not present, the main device is used. This - lets you use two devices on the IPMB, one for master and one for slave, - in case you have a slave device that can only be a slave. The slave - will receive messages and the master will transmit. - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - ipmi-ipmb@40 { - compatible = "ipmi-ipmb"; - device_type = "ipmi"; - reg = <0x40>; - bmcaddr = /bits/ 8 <0x20>; - retry-time = <250>; - max-retries = <1>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/ipmi/ipmi-ipmb.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: IPMI IPMB device + +description: IPMI IPMB device bindings + +maintainers: + - Corey Minyard + +properties: + compatible: + enum: + - ipmi-ipmb + + device_type: + items: + - const: ipmi + + reg: + maxItems: 1 + + bmcaddr: + $ref: /schemas/types.yaml#/definitions/uint8 + description: The address of the BMC on the IPMB bus. Defaults to 0x20. + + retry-time: + $ref: /schemas/types.yaml#/definitions/uint32 + description: | + Time between retries of sends, in milliseconds. Defaults to 250. + + max-retries: + $ref: /schemas/types.yaml#/definitions/uint32 + description: Number of retries before a failure is declared. Defaults to 1. + + slave-dev: + $ref: /schemas/types.yaml#/definitions/phandle + description: | + The slave i2c device. If not present, the main device is used. This + lets you use two devices on the IPMB, one for master and one for slave, + in case you have a slave device that can only be a slave. The slave + will receive messages and the master will transmit. + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + ipmi-ipmb@40 { + compatible = "ipmi-ipmb"; + device_type = "ipmi"; + reg = <0x40>; + bmcaddr = /bits/ 8 <0x20>; + retry-time = <250>; + max-retries = <1>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/backlight/mps,mp3309c.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/backlight/mps,mp3309c.yaml index ad54d99cdb..527a37368e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/backlight/mps,mp3309c.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/backlight/mps,mp3309c.yaml @@ -1,71 +1,71 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/leds/backlight/mps,mp3309c.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: MPS MP3309C backlight - -maintainers: - - Flavio Suligoi - -description: | - The Monolithic Power (MPS) MP3309C is a WLED step-up converter, featuring a - programmable switching frequency to optimize efficiency. - It supports two different dimming modes: - - - analog mode, via I2C commands, as default mode (32 dimming levels) - - PWM controlled mode (optional) - - The datasheet is available at: - https://www.monolithicpower.com/en/mp3309c.html - -allOf: - - $ref: common.yaml# - -properties: - compatible: - const: mps,mp3309c - - reg: - maxItems: 1 - - pwms: - description: if present, the backlight is controlled in PWM mode. - maxItems: 1 - - enable-gpios: - description: GPIO used to enable the backlight in "analog-i2c" dimming mode. - maxItems: 1 - - mps,overvoltage-protection-microvolt: - description: Overvoltage protection (13.5V, 24V or 35.5V). - enum: [ 13500000, 24000000, 35500000 ] - default: 35500000 - - mps,no-sync-mode: - description: disable synchronous rectification mode - type: boolean - -required: - - compatible - - reg - -unevaluatedProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - /* Backlight with PWM control */ - backlight_pwm: backlight@17 { - compatible = "mps,mp3309c"; - reg = <0x17>; - pwms = <&pwm1 0 3333333 0>; /* 300 Hz --> (1/f) * 1*10^9 */ - brightness-levels = <0 4 8 16 32 64 128 255>; - default-brightness = <6>; - mps,overvoltage-protection-microvolt = <24000000>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/leds/backlight/mps,mp3309c.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: MPS MP3309C backlight + +maintainers: + - Flavio Suligoi + +description: | + The Monolithic Power (MPS) MP3309C is a WLED step-up converter, featuring a + programmable switching frequency to optimize efficiency. + It supports two different dimming modes: + + - analog mode, via I2C commands, as default mode (32 dimming levels) + - PWM controlled mode (optional) + + The datasheet is available at: + https://www.monolithicpower.com/en/mp3309c.html + +allOf: + - $ref: common.yaml# + +properties: + compatible: + const: mps,mp3309c + + reg: + maxItems: 1 + + pwms: + description: if present, the backlight is controlled in PWM mode. + maxItems: 1 + + enable-gpios: + description: GPIO used to enable the backlight in "analog-i2c" dimming mode. + maxItems: 1 + + mps,overvoltage-protection-microvolt: + description: Overvoltage protection (13.5V, 24V or 35.5V). + enum: [ 13500000, 24000000, 35500000 ] + default: 35500000 + + mps,no-sync-mode: + description: disable synchronous rectification mode + type: boolean + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + /* Backlight with PWM control */ + backlight_pwm: backlight@17 { + compatible = "mps,mp3309c"; + reg = <0x17>; + pwms = <&pwm1 0 3333333 0>; /* 300 Hz --> (1/f) * 1*10^9 */ + brightness-levels = <0 4 8 16 32 64 128 255>; + default-brightness = <6>; + mps,overvoltage-protection-microvolt = <24000000>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/backlight/richtek,rt4831-backlight.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/backlight/richtek,rt4831-backlight.yaml index 4af4ed340e..99e9e138fa 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/backlight/richtek,rt4831-backlight.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/backlight/richtek,rt4831-backlight.yaml @@ -1,67 +1,67 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/leds/backlight/richtek,rt4831-backlight.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Richtek RT4831 Backlight - -maintainers: - - ChiYuan Huang - -description: | - RT4831 is a mutifunctional device that can provide power to the LCD display - and LCD backlight. - - For the LCD backlight, it can provide four channel WLED driving capability. - Each channel driving current is up to 30mA - - Datasheet is available at - https://www.richtek.com/assets/product_file/RT4831A/DS4831A-05.pdf - -allOf: - - $ref: common.yaml# - -properties: - compatible: - const: richtek,rt4831-backlight - - default-brightness: - minimum: 0 - maximum: 2048 - - max-brightness: - minimum: 0 - maximum: 2048 - - richtek,pwm-enable: - description: | - Specify the backlight dimming following by PWM duty or by SW control. - type: boolean - - richtek,bled-ovp-sel: - description: | - Backlight OVP level selection, currently support 17V/21V/25V/29V. - $ref: /schemas/types.yaml#/definitions/uint8 - default: 1 - minimum: 0 - maximum: 3 - - richtek,bled-ocp-microamp: - description: | - Backlight over current protection level. - enum: [900000, 1200000, 1500000, 1800000] - - richtek,channel-use: - description: | - Backlight LED channel to be used. - BIT 0/1/2/3 is used to indicate led channel 1/2/3/4 enable or disable. - $ref: /schemas/types.yaml#/definitions/uint8 - minimum: 1 - maximum: 15 - -required: - - compatible - - richtek,channel-use - -additionalProperties: false +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/leds/backlight/richtek,rt4831-backlight.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Richtek RT4831 Backlight + +maintainers: + - ChiYuan Huang + +description: | + RT4831 is a mutifunctional device that can provide power to the LCD display + and LCD backlight. + + For the LCD backlight, it can provide four channel WLED driving capability. + Each channel driving current is up to 30mA + + Datasheet is available at + https://www.richtek.com/assets/product_file/RT4831A/DS4831A-05.pdf + +allOf: + - $ref: common.yaml# + +properties: + compatible: + const: richtek,rt4831-backlight + + default-brightness: + minimum: 0 + maximum: 2048 + + max-brightness: + minimum: 0 + maximum: 2048 + + richtek,pwm-enable: + description: | + Specify the backlight dimming following by PWM duty or by SW control. + type: boolean + + richtek,bled-ovp-sel: + description: | + Backlight OVP level selection, currently support 17V/21V/25V/29V. + $ref: /schemas/types.yaml#/definitions/uint8 + default: 1 + minimum: 0 + maximum: 3 + + richtek,bled-ocp-microamp: + description: | + Backlight over current protection level. + enum: [900000, 1200000, 1500000, 1800000] + + richtek,channel-use: + description: | + Backlight LED channel to be used. + BIT 0/1/2/3 is used to indicate led channel 1/2/3/4 enable or disable. + $ref: /schemas/types.yaml#/definitions/uint8 + minimum: 1 + maximum: 15 + +required: + - compatible + - richtek,channel-use + +additionalProperties: false diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/leds-cr0014114.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/leds-cr0014114.txt index a95dd4d7a1..f8de7516a3 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/leds-cr0014114.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/leds-cr0014114.txt @@ -1,66 +1,66 @@ -Crane Merchandising System - cr0014114 LED driver -------------------------------------------------- - -This LED Board is widely used in vending machines produced -by Crane Merchandising Systems. - -Required properties: -- compatible: "crane,cr0014114" - -Property rules described in Documentation/devicetree/bindings/spi/spi-bus.txt -apply. In particular, "reg" and "spi-max-frequency" properties must be given. - -LED sub-node properties: -- function : - see Documentation/devicetree/bindings/leds/common.txt -- color : - see Documentation/devicetree/bindings/leds/common.txt -- label : - see Documentation/devicetree/bindings/leds/common.txt (deprecated) -- linux,default-trigger : (optional) - see Documentation/devicetree/bindings/leds/common.txt - -Example -------- - -#include - -led-controller@0 { - compatible = "crane,cr0014114"; - reg = <0>; - spi-max-frequency = <50000>; - #address-cells = <1>; - #size-cells = <0>; - - led@0 { - reg = <0>; - function = "coin"; - color = ; - }; - led@1 { - reg = <1>; - function = "coin"; - color = ; - }; - led@2 { - reg = <2>; - function = "coin"; - color = ; - }; - led@3 { - reg = <3>; - function = "bill"; - color = ; - }; - led@4 { - reg = <4>; - function = "bill"; - color = ; - }; - led@5 { - reg = <5>; - function = "bill"; - color = ; - }; - ... -}; +Crane Merchandising System - cr0014114 LED driver +------------------------------------------------- + +This LED Board is widely used in vending machines produced +by Crane Merchandising Systems. + +Required properties: +- compatible: "crane,cr0014114" + +Property rules described in Documentation/devicetree/bindings/spi/spi-bus.txt +apply. In particular, "reg" and "spi-max-frequency" properties must be given. + +LED sub-node properties: +- function : + see Documentation/devicetree/bindings/leds/common.txt +- color : + see Documentation/devicetree/bindings/leds/common.txt +- label : + see Documentation/devicetree/bindings/leds/common.txt (deprecated) +- linux,default-trigger : (optional) + see Documentation/devicetree/bindings/leds/common.txt + +Example +------- + +#include + +led-controller@0 { + compatible = "crane,cr0014114"; + reg = <0>; + spi-max-frequency = <50000>; + #address-cells = <1>; + #size-cells = <0>; + + led@0 { + reg = <0>; + function = "coin"; + color = ; + }; + led@1 { + reg = <1>; + function = "coin"; + color = ; + }; + led@2 { + reg = <2>; + function = "coin"; + color = ; + }; + led@3 { + reg = <3>; + function = "bill"; + color = ; + }; + led@4 { + reg = <4>; + function = "bill"; + color = ; + }; + led@5 { + reg = <5>; + function = "bill"; + color = ; + }; + ... +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/leds-el15203000.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/leds-el15203000.txt index 152cd77e2a..182f0035ed 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/leds-el15203000.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/leds-el15203000.txt @@ -1,69 +1,69 @@ -Crane Merchandising System - EL15203000 LED driver --------------------------------------------------- - -This LED Board (aka RED LEDs board) is widely used in -coffee vending machines produced by Crane Merchandising Systems. -The board manages 3 LEDs and supports predefined blinking patterns -for specific leds. - -Vending area LED encoded with symbol 'V' (hex code 0x56). -Doesn't have any hardware blinking pattern. - -Screen light tube LED which surrounds vending machine screen and -encoded with symbol 'S' (hex code 0x53). Supports blinking breathing pattern. - -Water Pipe LED encoded with symbol 'P' (hex code 0x50) and -actually consists of 5 LEDs that exposed by protocol like one LED. -Supports next patterns: -- cascade pattern -- inversed cascade pattern -- bounce pattern -- inversed bounce pattern - -Required properties: -- compatible : "crane,el15203000" -- #address-cells : must be 1 -- #size-cells : must be 0 - -Property rules described in Documentation/devicetree/bindings/spi/spi-bus.txt -apply. In particular, "reg" and "spi-max-frequency" properties must be given. - -Optional LED sub-node properties: -- function: - see Documentation/devicetree/bindings/leds/common.txt -- color: - see Documentation/devicetree/bindings/leds/common.txt - -Example -------- - -#include - -led-controller@0 { - compatible = "crane,el15203000"; - reg = <0>; - spi-max-frequency = <50000>; - #address-cells = <1>; - #size-cells = <0>; - - /* water pipe */ - led@50 { - reg = <0x50>; - function = "pipe"; - color = ; - }; - - /* screen frame */ - led@53 { - reg = <0x53>; - function = "screen"; - color = ; - }; - - /* vending area */ - led@56 { - reg = <0x56>; - function = "vend"; - color = ; - }; -}; +Crane Merchandising System - EL15203000 LED driver +-------------------------------------------------- + +This LED Board (aka RED LEDs board) is widely used in +coffee vending machines produced by Crane Merchandising Systems. +The board manages 3 LEDs and supports predefined blinking patterns +for specific leds. + +Vending area LED encoded with symbol 'V' (hex code 0x56). +Doesn't have any hardware blinking pattern. + +Screen light tube LED which surrounds vending machine screen and +encoded with symbol 'S' (hex code 0x53). Supports blinking breathing pattern. + +Water Pipe LED encoded with symbol 'P' (hex code 0x50) and +actually consists of 5 LEDs that exposed by protocol like one LED. +Supports next patterns: +- cascade pattern +- inversed cascade pattern +- bounce pattern +- inversed bounce pattern + +Required properties: +- compatible : "crane,el15203000" +- #address-cells : must be 1 +- #size-cells : must be 0 + +Property rules described in Documentation/devicetree/bindings/spi/spi-bus.txt +apply. In particular, "reg" and "spi-max-frequency" properties must be given. + +Optional LED sub-node properties: +- function: + see Documentation/devicetree/bindings/leds/common.txt +- color: + see Documentation/devicetree/bindings/leds/common.txt + +Example +------- + +#include + +led-controller@0 { + compatible = "crane,el15203000"; + reg = <0>; + spi-max-frequency = <50000>; + #address-cells = <1>; + #size-cells = <0>; + + /* water pipe */ + led@50 { + reg = <0x50>; + function = "pipe"; + color = ; + }; + + /* screen frame */ + led@53 { + reg = <0x53>; + function = "screen"; + color = ; + }; + + /* vending area */ + led@56 { + reg = <0x56>; + function = "vend"; + color = ; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/leds-group-multicolor.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/leds-group-multicolor.yaml index 990728014f..8ed059a5a7 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/leds-group-multicolor.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/leds-group-multicolor.yaml @@ -1,64 +1,64 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/leds/leds-group-multicolor.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Multi-color LED built with monochromatic LEDs - -maintainers: - - Jean-Jacques Hiblot - -description: | - This driver combines several monochromatic LEDs into one multi-color - LED using the multicolor LED class. - -properties: - compatible: - const: leds-group-multicolor - - leds: - description: - An aray of monochromatic leds - $ref: /schemas/types.yaml#/definitions/phandle-array - -required: - - leds - -allOf: - - $ref: leds-class-multicolor.yaml# - -unevaluatedProperties: false - -examples: - - | - #include - #include - - monochromatic-leds { - compatible = "gpio-leds"; - - led0: led-0 { - gpios = <&mcu_pio 0 GPIO_ACTIVE_LOW>; - color = ; - }; - - led1: led-1 { - gpios = <&mcu_pio 1 GPIO_ACTIVE_HIGH>; - color = ; - }; - - led2: led-2 { - gpios = <&mcu_pio 2 GPIO_ACTIVE_HIGH>; - color = ; - }; - }; - - multi-led { - compatible = "leds-group-multicolor"; - color = ; - function = LED_FUNCTION_INDICATOR; - leds = <&led0>, <&led1>, <&led2>; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/leds/leds-group-multicolor.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Multi-color LED built with monochromatic LEDs + +maintainers: + - Jean-Jacques Hiblot + +description: | + This driver combines several monochromatic LEDs into one multi-color + LED using the multicolor LED class. + +properties: + compatible: + const: leds-group-multicolor + + leds: + description: + An aray of monochromatic leds + $ref: /schemas/types.yaml#/definitions/phandle-array + +required: + - leds + +allOf: + - $ref: leds-class-multicolor.yaml# + +unevaluatedProperties: false + +examples: + - | + #include + #include + + monochromatic-leds { + compatible = "gpio-leds"; + + led0: led-0 { + gpios = <&mcu_pio 0 GPIO_ACTIVE_LOW>; + color = ; + }; + + led1: led-1 { + gpios = <&mcu_pio 1 GPIO_ACTIVE_HIGH>; + color = ; + }; + + led2: led-2 { + gpios = <&mcu_pio 2 GPIO_ACTIVE_HIGH>; + color = ; + }; + }; + + multi-led { + compatible = "leds-group-multicolor"; + color = ; + function = LED_FUNCTION_INDICATOR; + leds = <&led0>, <&led1>, <&led2>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/leds-lm3601x.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/leds-lm3601x.txt index 9ac4ff6237..17e940025d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/leds-lm3601x.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/leds-lm3601x.txt @@ -1,51 +1,51 @@ -* Texas Instruments - lm3601x Single-LED Flash Driver - -The LM3601X are ultra-small LED flash drivers that -provide a high level of adjustability. - -Required properties: - - compatible : Can be one of the following - "ti,lm36010" - "ti,lm36011" - - reg : I2C slave address - - #address-cells : 1 - - #size-cells : 0 - -Required child properties: - - reg : 0 - Indicates a IR mode - 1 - Indicates a Torch (white LED) mode - -Required properties for flash LED child nodes: - See Documentation/devicetree/bindings/leds/common.txt - - flash-max-microamp : Range from 11mA - 1.5A - - flash-max-timeout-us : Range from 40ms - 1600ms - - led-max-microamp : Range from 2.4mA - 376mA - -Optional child properties: - - function : see Documentation/devicetree/bindings/leds/common.txt - - color : see Documentation/devicetree/bindings/leds/common.txt - - label : see Documentation/devicetree/bindings/leds/common.txt (deprecated) - -Example: - -#include - -led-controller@64 { - compatible = "ti,lm36010"; - #address-cells = <1>; - #size-cells = <0>; - reg = <0x64>; - - led@0 { - reg = <1>; - function = LED_FUNCTION_TORCH; - color = ; - led-max-microamp = <376000>; - flash-max-microamp = <1500000>; - flash-max-timeout-us = <1600000>; - }; -} - -For more product information please see the links below: -https://www.ti.com/product/LM36010 -https://www.ti.com/product/LM36011 +* Texas Instruments - lm3601x Single-LED Flash Driver + +The LM3601X are ultra-small LED flash drivers that +provide a high level of adjustability. + +Required properties: + - compatible : Can be one of the following + "ti,lm36010" + "ti,lm36011" + - reg : I2C slave address + - #address-cells : 1 + - #size-cells : 0 + +Required child properties: + - reg : 0 - Indicates a IR mode + 1 - Indicates a Torch (white LED) mode + +Required properties for flash LED child nodes: + See Documentation/devicetree/bindings/leds/common.txt + - flash-max-microamp : Range from 11mA - 1.5A + - flash-max-timeout-us : Range from 40ms - 1600ms + - led-max-microamp : Range from 2.4mA - 376mA + +Optional child properties: + - function : see Documentation/devicetree/bindings/leds/common.txt + - color : see Documentation/devicetree/bindings/leds/common.txt + - label : see Documentation/devicetree/bindings/leds/common.txt (deprecated) + +Example: + +#include + +led-controller@64 { + compatible = "ti,lm36010"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x64>; + + led@0 { + reg = <1>; + function = LED_FUNCTION_TORCH; + color = ; + led-max-microamp = <376000>; + flash-max-microamp = <1500000>; + flash-max-timeout-us = <1600000>; + }; +} + +For more product information please see the links below: +https://www.ti.com/product/LM36010 +https://www.ti.com/product/LM36011 diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/leds-mt6323.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/leds-mt6323.txt index 9960e46e0d..052dccb8f2 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/leds-mt6323.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/leds-mt6323.txt @@ -1,63 +1,63 @@ -Device Tree Bindings for LED support on MT6323 PMIC - -MT6323 LED controller is subfunction provided by MT6323 PMIC, so the LED -controllers are defined as the subnode of the function node provided by MT6323 -PMIC controller that is being defined as one kind of Muti-Function Device (MFD) -using shared bus called PMIC wrapper for each subfunction to access remote -MT6323 PMIC hardware. - -For MT6323 MFD bindings see: -Documentation/devicetree/bindings/mfd/mt6397.txt -For MediaTek PMIC wrapper bindings see: -Documentation/devicetree/bindings/soc/mediatek/mediatek,pwrap.yaml - -Required properties: -- compatible : Must be one of - - "mediatek,mt6323-led" - - "mediatek,mt6331-led" - - "mediatek,mt6332-led" -- address-cells : Must be 1 -- size-cells : Must be 0 - -Each led is represented as a child node of the mediatek,mt6323-led that -describes the initial behavior for each LED physically and currently only four -LED child nodes can be supported. - -Required properties for the LED child node: -- reg : LED channel number (0..3) - -Optional properties for the LED child node: -- label : See Documentation/devicetree/bindings/leds/common.txt -- linux,default-trigger : See Documentation/devicetree/bindings/leds/common.txt -- default-state: See Documentation/devicetree/bindings/leds/common.txt - -Example: - - mt6323: pmic { - compatible = "mediatek,mt6323"; - - ... - - mt6323led: leds { - compatible = "mediatek,mt6323-led"; - #address-cells = <1>; - #size-cells = <0>; - - led@0 { - reg = <0>; - label = "LED0"; - linux,default-trigger = "timer"; - default-state = "on"; - }; - led@1 { - reg = <1>; - label = "LED1"; - default-state = "off"; - }; - led@2 { - reg = <2>; - label = "LED2"; - default-state = "on"; - }; - }; - }; +Device Tree Bindings for LED support on MT6323 PMIC + +MT6323 LED controller is subfunction provided by MT6323 PMIC, so the LED +controllers are defined as the subnode of the function node provided by MT6323 +PMIC controller that is being defined as one kind of Muti-Function Device (MFD) +using shared bus called PMIC wrapper for each subfunction to access remote +MT6323 PMIC hardware. + +For MT6323 MFD bindings see: +Documentation/devicetree/bindings/mfd/mt6397.txt +For MediaTek PMIC wrapper bindings see: +Documentation/devicetree/bindings/soc/mediatek/mediatek,pwrap.yaml + +Required properties: +- compatible : Must be one of + - "mediatek,mt6323-led" + - "mediatek,mt6331-led" + - "mediatek,mt6332-led" +- address-cells : Must be 1 +- size-cells : Must be 0 + +Each led is represented as a child node of the mediatek,mt6323-led that +describes the initial behavior for each LED physically and currently only four +LED child nodes can be supported. + +Required properties for the LED child node: +- reg : LED channel number (0..3) + +Optional properties for the LED child node: +- label : See Documentation/devicetree/bindings/leds/common.txt +- linux,default-trigger : See Documentation/devicetree/bindings/leds/common.txt +- default-state: See Documentation/devicetree/bindings/leds/common.txt + +Example: + + mt6323: pmic { + compatible = "mediatek,mt6323"; + + ... + + mt6323led: leds { + compatible = "mediatek,mt6323-led"; + #address-cells = <1>; + #size-cells = <0>; + + led@0 { + reg = <0>; + label = "LED0"; + linux,default-trigger = "timer"; + default-state = "on"; + }; + led@1 { + reg = <1>; + label = "LED1"; + default-state = "off"; + }; + led@2 { + reg = <2>; + label = "LED2"; + default-state = "on"; + }; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/leds-pwm-multicolor.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/leds-pwm-multicolor.yaml index 5e0e2064ef..a31a202afe 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/leds-pwm-multicolor.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/leds-pwm-multicolor.yaml @@ -1,86 +1,86 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/leds/leds-pwm-multicolor.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Multi-color LEDs connected to PWM - -maintainers: - - Sven Schwermer - -description: | - This driver combines several monochrome PWM LEDs into one multi-color - LED using the multicolor LED class. - -properties: - compatible: - const: pwm-leds-multicolor - - multi-led: - type: object - $ref: leds-class-multicolor.yaml# - unevaluatedProperties: false - - properties: - max-brightness: - description: - Maximum brightness possible for the LED - $ref: /schemas/types.yaml#/definitions/uint32 - - patternProperties: - "^led-[0-9a-z]+$": - type: object - $ref: common.yaml# - - additionalProperties: false - - properties: - pwms: - maxItems: 1 - - pwm-names: true - - active-low: true - - color: true - - required: - - pwms - - color - -required: - - compatible - -additionalProperties: false - -examples: - - | - #include - - led-controller { - compatible = "pwm-leds-multicolor"; - - multi-led { - color = ; - function = LED_FUNCTION_INDICATOR; - max-brightness = <65535>; - - led-red { - pwms = <&pwm1 0 1000000>; - color = ; - }; - - led-green { - pwms = <&pwm2 0 1000000>; - color = ; - }; - - led-blue { - pwms = <&pwm3 0 1000000>; - color = ; - }; - }; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/leds/leds-pwm-multicolor.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Multi-color LEDs connected to PWM + +maintainers: + - Sven Schwermer + +description: | + This driver combines several monochrome PWM LEDs into one multi-color + LED using the multicolor LED class. + +properties: + compatible: + const: pwm-leds-multicolor + + multi-led: + type: object + $ref: leds-class-multicolor.yaml# + unevaluatedProperties: false + + properties: + max-brightness: + description: + Maximum brightness possible for the LED + $ref: /schemas/types.yaml#/definitions/uint32 + + patternProperties: + "^led-[0-9a-z]+$": + type: object + $ref: common.yaml# + + additionalProperties: false + + properties: + pwms: + maxItems: 1 + + pwm-names: true + + active-low: true + + color: true + + required: + - pwms + - color + +required: + - compatible + +additionalProperties: false + +examples: + - | + #include + + led-controller { + compatible = "pwm-leds-multicolor"; + + multi-led { + color = ; + function = LED_FUNCTION_INDICATOR; + max-brightness = <65535>; + + led-red { + pwms = <&pwm1 0 1000000>; + color = ; + }; + + led-green { + pwms = <&pwm2 0 1000000>; + color = ; + }; + + led-blue { + pwms = <&pwm3 0 1000000>; + color = ; + }; + }; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/leds-sgm3140.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/leds-sgm3140.yaml index 217b9a554a..37d2a93780 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/leds-sgm3140.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/leds-sgm3140.yaml @@ -1,65 +1,65 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/leds/leds-sgm3140.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: SGMICRO SGM3140 500mA Buck/Boost Charge Pump LED Driver - -maintainers: - - Luca Weiss - -description: | - The SGM3140 is a current-regulated charge pump which can regulate two current - levels for Flash and Torch modes. - - The data sheet can be found at: - http://www.sg-micro.com/uploads/soft/20190626/1561535688.pdf - -properties: - compatible: - enum: - - ocs,ocp8110 - - richtek,rt5033-led - - sgmicro,sgm3140 - - enable-gpios: - maxItems: 1 - description: A connection to the 'EN' pin. - - flash-gpios: - maxItems: 1 - description: A connection to the 'FLASH' pin. - - vin-supply: - description: Regulator providing power to the 'VIN' pin. - - led: - type: object - $ref: common.yaml# - unevaluatedProperties: false - -required: - - compatible - - flash-gpios - - enable-gpios - -additionalProperties: false - -examples: - - | - #include - #include - - led-controller { - compatible = "sgmicro,sgm3140"; - flash-gpios = <&pio 3 24 GPIO_ACTIVE_HIGH>; /* PD24 */ - enable-gpios = <&pio 2 3 GPIO_ACTIVE_HIGH>; /* PC3 */ - vin-supply = <®_dcdc1>; - - sgm3140_flash: led { - function = LED_FUNCTION_FLASH; - color = ; - flash-max-timeout-us = <250000>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/leds/leds-sgm3140.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: SGMICRO SGM3140 500mA Buck/Boost Charge Pump LED Driver + +maintainers: + - Luca Weiss + +description: | + The SGM3140 is a current-regulated charge pump which can regulate two current + levels for Flash and Torch modes. + + The data sheet can be found at: + http://www.sg-micro.com/uploads/soft/20190626/1561535688.pdf + +properties: + compatible: + enum: + - ocs,ocp8110 + - richtek,rt5033-led + - sgmicro,sgm3140 + + enable-gpios: + maxItems: 1 + description: A connection to the 'EN' pin. + + flash-gpios: + maxItems: 1 + description: A connection to the 'FLASH' pin. + + vin-supply: + description: Regulator providing power to the 'VIN' pin. + + led: + type: object + $ref: common.yaml# + unevaluatedProperties: false + +required: + - compatible + - flash-gpios + - enable-gpios + +additionalProperties: false + +examples: + - | + #include + #include + + led-controller { + compatible = "sgmicro,sgm3140"; + flash-gpios = <&pio 3 24 GPIO_ACTIVE_HIGH>; /* PD24 */ + enable-gpios = <&pio 2 3 GPIO_ACTIVE_HIGH>; /* PC3 */ + vin-supply = <®_dcdc1>; + + sgm3140_flash: led { + function = LED_FUNCTION_FLASH; + color = ; + flash-max-timeout-us = <250000>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/mediatek,mt6370-indicator.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/mediatek,mt6370-indicator.yaml index 05ccb4d6d1..16b3abc2af 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/mediatek,mt6370-indicator.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/mediatek,mt6370-indicator.yaml @@ -1,80 +1,80 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/leds/mediatek,mt6370-indicator.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: LED driver for MT6370 PMIC from MediaTek Integrated. - -maintainers: - - Alice Chen - -description: | - This module is part of the MT6370 MFD device. - Add MT6370 LED driver include 4-channel RGB LED support Register/PWM/Breath Mode - -properties: - compatible: - const: mediatek,mt6370-indicator - - "#address-cells": - const: 1 - - "#size-cells": - const: 0 - -patternProperties: - "^multi-led@[0-3]$": - type: object - $ref: leds-class-multicolor.yaml# - unevaluatedProperties: false - - properties: - reg: - enum: [0, 1, 2, 3] - - "#address-cells": - const: 1 - - "#size-cells": - const: 0 - - patternProperties: - "^led@[0-2]$": - type: object - $ref: common.yaml# - unevaluatedProperties: false - - properties: - reg: - enum: [0, 1, 2] - - required: - - reg - - color - - required: - - reg - - color - - "#address-cells" - - "#size-cells" - - "^led@[0-3]$": - type: object - $ref: common.yaml# - unevaluatedProperties: false - - properties: - reg: - enum: [0, 1, 2, 3] - - required: - - reg - - color - -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-indicator.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: LED driver for MT6370 PMIC from MediaTek Integrated. + +maintainers: + - Alice Chen + +description: | + This module is part of the MT6370 MFD device. + Add MT6370 LED driver include 4-channel RGB LED support Register/PWM/Breath Mode + +properties: + compatible: + const: mediatek,mt6370-indicator + + "#address-cells": + const: 1 + + "#size-cells": + const: 0 + +patternProperties: + "^multi-led@[0-3]$": + type: object + $ref: leds-class-multicolor.yaml# + unevaluatedProperties: false + + properties: + reg: + enum: [0, 1, 2, 3] + + "#address-cells": + const: 1 + + "#size-cells": + const: 0 + + patternProperties: + "^led@[0-2]$": + type: object + $ref: common.yaml# + unevaluatedProperties: false + + properties: + reg: + enum: [0, 1, 2] + + required: + - reg + - color + + required: + - reg + - color + - "#address-cells" + - "#size-cells" + + "^led@[0-3]$": + type: object + $ref: common.yaml# + unevaluatedProperties: false + + properties: + reg: + enum: [0, 1, 2, 3] + + required: + - reg + - color + +required: + - compatible + - "#address-cells" + - "#size-cells" + +additionalProperties: false diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/nxp,pca995x.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/nxp,pca995x.yaml index da5b675eab..ab8c90cbad 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/nxp,pca995x.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/nxp,pca995x.yaml @@ -1,83 +1,83 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/leds/nxp,pca995x.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: NXP PCA995x LED controllers - -maintainers: - - Isai Gaspar - - Marek Vasut - -description: - The NXP PCA995x family are programmable LED controllers connected via I2C - that can drive separate lines. Each of them can be individually switched - on and off, and brightness can be controlled via individual PWM. - - Datasheets are available at - https://www.nxp.com/docs/en/data-sheet/PCA9952_PCA9955.pdf - https://www.nxp.com/docs/en/data-sheet/PCA9955B.pdf - https://www.nxp.com/docs/en/data-sheet/PCA9956B.pdf - -properties: - compatible: - enum: - - nxp,pca9952 - - nxp,pca9955b - - nxp,pca9956b - - reg: - maxItems: 1 - - "#address-cells": - const: 1 - - "#size-cells": - const: 0 - -patternProperties: - "^led@[0-9a-f]+$": - type: object - $ref: common.yaml# - unevaluatedProperties: false - - properties: - reg: - minimum: 0 - maximum: 15 - - required: - - reg - -additionalProperties: false - -examples: - - | - #include - - i2c { - #address-cells = <1>; - #size-cells = <0>; - - led-controller@1 { - compatible = "nxp,pca9955b"; - reg = <0x01>; - #address-cells = <1>; - #size-cells = <0>; - - led@0 { - reg = <0x0>; - color = ; - function = LED_FUNCTION_POWER; - }; - - led@2 { - reg = <0x2>; - color = ; - function = LED_FUNCTION_STATUS; - }; - }; - }; - -... +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/leds/nxp,pca995x.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NXP PCA995x LED controllers + +maintainers: + - Isai Gaspar + - Marek Vasut + +description: + The NXP PCA995x family are programmable LED controllers connected via I2C + that can drive separate lines. Each of them can be individually switched + on and off, and brightness can be controlled via individual PWM. + + Datasheets are available at + https://www.nxp.com/docs/en/data-sheet/PCA9952_PCA9955.pdf + https://www.nxp.com/docs/en/data-sheet/PCA9955B.pdf + https://www.nxp.com/docs/en/data-sheet/PCA9956B.pdf + +properties: + compatible: + enum: + - nxp,pca9952 + - nxp,pca9955b + - nxp,pca9956b + + reg: + maxItems: 1 + + "#address-cells": + const: 1 + + "#size-cells": + const: 0 + +patternProperties: + "^led@[0-9a-f]+$": + type: object + $ref: common.yaml# + unevaluatedProperties: false + + properties: + reg: + minimum: 0 + maximum: 15 + + required: + - reg + +additionalProperties: false + +examples: + - | + #include + + i2c { + #address-cells = <1>; + #size-cells = <0>; + + led-controller@1 { + compatible = "nxp,pca9955b"; + reg = <0x01>; + #address-cells = <1>; + #size-cells = <0>; + + led@0 { + reg = <0x0>; + color = ; + function = LED_FUNCTION_POWER; + }; + + led@2 { + reg = <0x2>; + color = ; + function = LED_FUNCTION_STATUS; + }; + }; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/panasonic,an30259a.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/panasonic,an30259a.yaml index 63203d8143..e918dceea0 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/panasonic,an30259a.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/panasonic,an30259a.yaml @@ -1,84 +1,84 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/leds/panasonic,an30259a.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Panasonic AN30259A 3-channel LED controller - -maintainers: - - Iskren Chernev - -description: - The AN30259A is a LED controller capable of driving three LEDs independently. - It supports constant current output and sloping current output modes. The chip - is connected over I2C. - -properties: - compatible: - const: panasonic,an30259a - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - "#address-cells": - const: 1 - - "#size-cells": - const: 0 - -patternProperties: - "^led@[1-3]$": - $ref: common.yaml# - unevaluatedProperties: false - - properties: - reg: - enum: [ 1, 2, 3 ] - -required: - - compatible - - reg - - "#address-cells" - - "#size-cells" - -additionalProperties: false - -examples: - - | - #include - - i2c { - #address-cells = <1>; - #size-cells = <0>; - - led-controller@30 { - compatible = "panasonic,an30259a"; - reg = <0x30>; - #address-cells = <1>; - #size-cells = <0>; - - led@1 { - reg = <1>; - linux,default-trigger = "heartbeat"; - function = LED_FUNCTION_INDICATOR; - color = ; - }; - - led@2 { - reg = <2>; - function = LED_FUNCTION_INDICATOR; - color = ; - }; - - led@3 { - reg = <3>; - function = LED_FUNCTION_INDICATOR; - color = ; - }; - }; - }; -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/leds/panasonic,an30259a.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Panasonic AN30259A 3-channel LED controller + +maintainers: + - Iskren Chernev + +description: + The AN30259A is a LED controller capable of driving three LEDs independently. + It supports constant current output and sloping current output modes. The chip + is connected over I2C. + +properties: + compatible: + const: panasonic,an30259a + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + "#address-cells": + const: 1 + + "#size-cells": + const: 0 + +patternProperties: + "^led@[1-3]$": + $ref: common.yaml# + unevaluatedProperties: false + + properties: + reg: + enum: [ 1, 2, 3 ] + +required: + - compatible + - reg + - "#address-cells" + - "#size-cells" + +additionalProperties: false + +examples: + - | + #include + + i2c { + #address-cells = <1>; + #size-cells = <0>; + + led-controller@30 { + compatible = "panasonic,an30259a"; + reg = <0x30>; + #address-cells = <1>; + #size-cells = <0>; + + led@1 { + reg = <1>; + linux,default-trigger = "heartbeat"; + function = LED_FUNCTION_INDICATOR; + color = ; + }; + + led@2 { + reg = <2>; + function = LED_FUNCTION_INDICATOR; + color = ; + }; + + led@3 { + reg = <3>; + function = LED_FUNCTION_INDICATOR; + color = ; + }; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/qcom,pm8058-led.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/qcom,pm8058-led.yaml index 42ccee9304..fa03e73622 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/qcom,pm8058-led.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/qcom,pm8058-led.yaml @@ -1,57 +1,57 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/leds/qcom,pm8058-led.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm PM8058 PMIC LED - -maintainers: - - Krzysztof Kozlowski - -description: | - The Qualcomm PM8058 contains an LED block for up to six LEDs:: three normal - LEDs, two "flash" LEDs and one "keypad backlight" LED. The names are quoted - because sometimes these LED drivers are used for wildly different things than - flash or keypad backlight:: their names are more of a suggestion than a - hard-wired usecase. - - Hardware-wise the different LEDs support slightly different output currents. - The "flash" LEDs do not need to charge nor do they support external triggers. - They are just powerful LED drivers. - -allOf: - - $ref: common.yaml# - -properties: - compatible: - enum: - - qcom,pm8058-led - - qcom,pm8058-keypad-led - - qcom,pm8058-flash-led - - reg: - maxItems: 1 - -required: - - compatible - - reg - -unevaluatedProperties: false - -examples: - - | - #include - - pmic { - #address-cells = <1>; - #size-cells = <0>; - - led@131 { - compatible = "qcom,pm8058-led"; - reg = <0x131>; - label = "pm8058:red"; - color = ; - default-state = "off"; - }; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/leds/qcom,pm8058-led.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm PM8058 PMIC LED + +maintainers: + - Krzysztof Kozlowski + +description: | + The Qualcomm PM8058 contains an LED block for up to six LEDs:: three normal + LEDs, two "flash" LEDs and one "keypad backlight" LED. The names are quoted + because sometimes these LED drivers are used for wildly different things than + flash or keypad backlight:: their names are more of a suggestion than a + hard-wired usecase. + + Hardware-wise the different LEDs support slightly different output currents. + The "flash" LEDs do not need to charge nor do they support external triggers. + They are just powerful LED drivers. + +allOf: + - $ref: common.yaml# + +properties: + compatible: + enum: + - qcom,pm8058-led + - qcom,pm8058-keypad-led + - qcom,pm8058-flash-led + + reg: + maxItems: 1 + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + #include + + pmic { + #address-cells = <1>; + #size-cells = <0>; + + led@131 { + compatible = "qcom,pm8058-led"; + reg = <0x131>; + label = "pm8058:red"; + color = ; + default-state = "off"; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/rohm,bd2606mvv.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/rohm,bd2606mvv.yaml index 4119bee902..44dd91aa23 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/rohm,bd2606mvv.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/rohm,bd2606mvv.yaml @@ -1,81 +1,81 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/leds/rohm,bd2606mvv.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: ROHM BD2606MVV LED controller - -maintainers: - - Andreas Kemnade - -description: - The BD2606 MVV is a programmable LED controller connected via I2C that can - drive 6 separate lines. Each of them can be individually switched on and off, - but the brightness setting is shared between pairs of them. - - Datasheet is available at - https://fscdn.rohm.com/en/products/databook/datasheet/ic/power/led_driver/bd2606mvv_1-e.pdf - -properties: - compatible: - const: rohm,bd2606mvv - - reg: - maxItems: 1 - - "#address-cells": - const: 1 - - "#size-cells": - const: 0 - - enable-gpios: - maxItems: 1 - description: GPIO pin to enable/disable the device. - -patternProperties: - "^led@[0-5]$": - type: object - $ref: common.yaml# - unevaluatedProperties: false - - properties: - reg: - minimum: 0 - maximum: 5 - - required: - - reg - -additionalProperties: false - -examples: - - | - #include - - i2c { - #address-cells = <1>; - #size-cells = <0>; - - led-controller@66 { - compatible = "rohm,bd2606mvv"; - reg = <0x66>; - #address-cells = <1>; - #size-cells = <0>; - - led@0 { - reg = <0x0>; - color = ; - function = LED_FUNCTION_POWER; - }; - - led@2 { - reg = <0x2>; - color = ; - function = LED_FUNCTION_STATUS; - }; - }; - }; - -... +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/leds/rohm,bd2606mvv.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ROHM BD2606MVV LED controller + +maintainers: + - Andreas Kemnade + +description: + The BD2606 MVV is a programmable LED controller connected via I2C that can + drive 6 separate lines. Each of them can be individually switched on and off, + but the brightness setting is shared between pairs of them. + + Datasheet is available at + https://fscdn.rohm.com/en/products/databook/datasheet/ic/power/led_driver/bd2606mvv_1-e.pdf + +properties: + compatible: + const: rohm,bd2606mvv + + reg: + maxItems: 1 + + "#address-cells": + const: 1 + + "#size-cells": + const: 0 + + enable-gpios: + maxItems: 1 + description: GPIO pin to enable/disable the device. + +patternProperties: + "^led@[0-5]$": + type: object + $ref: common.yaml# + unevaluatedProperties: false + + properties: + reg: + minimum: 0 + maximum: 5 + + required: + - reg + +additionalProperties: false + +examples: + - | + #include + + i2c { + #address-cells = <1>; + #size-cells = <0>; + + led-controller@66 { + compatible = "rohm,bd2606mvv"; + reg = <0x66>; + #address-cells = <1>; + #size-cells = <0>; + + led@0 { + reg = <0x0>; + color = ; + function = LED_FUNCTION_POWER; + }; + + led@2 { + reg = <0x2>; + color = ; + function = LED_FUNCTION_STATUS; + }; + }; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/sprd,sc2731-bltc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/sprd,sc2731-bltc.yaml index 05cdd5fbfb..5853410c7a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/sprd,sc2731-bltc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/sprd,sc2731-bltc.yaml @@ -1,84 +1,84 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/leds/sprd,sc2731-bltc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Spreadtrum SC2731 PMIC breathing light controller - -maintainers: - - Orson Zhai - - Baolin Wang - - Chunyan Zhang - -description: | - The SC2731 breathing light controller supports up to 3 outputs: - red LED, green LED and blue LED. Each LED can work at normal PWM mode - or breath light mode. - -properties: - compatible: - const: sprd,sc2731-bltc - - reg: - maxItems: 1 - - '#address-cells': - const: 1 - - '#size-cells': - const: 0 - -patternProperties: - "^led@[0-2]$": - type: object - $ref: common.yaml# - unevaluatedProperties: false - - properties: - reg: - minimum: 0 - maximum: 2 - - required: - - reg - -required: - - compatible - - reg - - '#address-cells' - - '#size-cells' - -additionalProperties: false - -examples: - - | - #include - - pmic { - #address-cells = <1>; - #size-cells = <0>; - - led-controller@200 { - compatible = "sprd,sc2731-bltc"; - reg = <0x200>; - #address-cells = <1>; - #size-cells = <0>; - - led@0 { - reg = <0x0>; - color = ; - }; - - led@1 { - reg = <0x1>; - color = ; - }; - - led@2 { - reg = <0x2>; - color = ; - }; - }; - }; -... +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/leds/sprd,sc2731-bltc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Spreadtrum SC2731 PMIC breathing light controller + +maintainers: + - Orson Zhai + - Baolin Wang + - Chunyan Zhang + +description: | + The SC2731 breathing light controller supports up to 3 outputs: + red LED, green LED and blue LED. Each LED can work at normal PWM mode + or breath light mode. + +properties: + compatible: + const: sprd,sc2731-bltc + + reg: + maxItems: 1 + + '#address-cells': + const: 1 + + '#size-cells': + const: 0 + +patternProperties: + "^led@[0-2]$": + type: object + $ref: common.yaml# + unevaluatedProperties: false + + properties: + reg: + minimum: 0 + maximum: 2 + + required: + - reg + +required: + - compatible + - reg + - '#address-cells' + - '#size-cells' + +additionalProperties: false + +examples: + - | + #include + + pmic { + #address-cells = <1>; + #size-cells = <0>; + + led-controller@200 { + compatible = "sprd,sc2731-bltc"; + reg = <0x200>; + #address-cells = <1>; + #size-cells = <0>; + + led@0 { + reg = <0x0>; + color = ; + }; + + led@1 { + reg = <0x1>; + color = ; + }; + + led@2 { + reg = <0x2>; + color = ; + }; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mailbox/altera-mailbox.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mailbox/altera-mailbox.txt index 4d979dfe1e..c4dd93f1fe 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mailbox/altera-mailbox.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mailbox/altera-mailbox.txt @@ -1,48 +1,48 @@ -Altera Mailbox Driver -===================== - -Required properties: -- compatible : "altr,mailbox-1.0". -- reg : physical base address of the mailbox and length of - memory mapped region. -- #mbox-cells: Common mailbox binding property to identify the number - of cells required for the mailbox specifier. Should be 1. - -Optional properties: -- interrupts : interrupt number. The interrupt specifier format - depends on the interrupt controller parent. - -Example: - mbox_tx: mailbox@100 { - compatible = "altr,mailbox-1.0"; - reg = <0x100 0x8>; - interrupt-parent = < &gic_0 >; - interrupts = <5>; - #mbox-cells = <1>; - }; - - mbox_rx: mailbox@200 { - compatible = "altr,mailbox-1.0"; - reg = <0x200 0x8>; - interrupt-parent = < &gic_0 >; - interrupts = <6>; - #mbox-cells = <1>; - }; - -Mailbox client -=============== -"mboxes" and the optional "mbox-names" (please see -Documentation/devicetree/bindings/mailbox/mailbox.txt for details). Each value -of the mboxes property should contain a phandle to the mailbox controller -device node and second argument is the channel index. It must be 0 (hardware -support only one channel).The equivalent "mbox-names" property value can be -used to give a name to the communication channel to be used by the client user. - -Example: - mclient0: mclient0@400 { - compatible = "client-1.0"; - reg = <0x400 0x10>; - mbox-names = "mbox-tx", "mbox-rx"; - mboxes = <&mbox_tx 0>, - <&mbox_rx 0>; - }; +Altera Mailbox Driver +===================== + +Required properties: +- compatible : "altr,mailbox-1.0". +- reg : physical base address of the mailbox and length of + memory mapped region. +- #mbox-cells: Common mailbox binding property to identify the number + of cells required for the mailbox specifier. Should be 1. + +Optional properties: +- interrupts : interrupt number. The interrupt specifier format + depends on the interrupt controller parent. + +Example: + mbox_tx: mailbox@100 { + compatible = "altr,mailbox-1.0"; + reg = <0x100 0x8>; + interrupt-parent = < &gic_0 >; + interrupts = <5>; + #mbox-cells = <1>; + }; + + mbox_rx: mailbox@200 { + compatible = "altr,mailbox-1.0"; + reg = <0x200 0x8>; + interrupt-parent = < &gic_0 >; + interrupts = <6>; + #mbox-cells = <1>; + }; + +Mailbox client +=============== +"mboxes" and the optional "mbox-names" (please see +Documentation/devicetree/bindings/mailbox/mailbox.txt for details). Each value +of the mboxes property should contain a phandle to the mailbox controller +device node and second argument is the channel index. It must be 0 (hardware +support only one channel).The equivalent "mbox-names" property value can be +used to give a name to the communication channel to be used by the client user. + +Example: + mclient0: mclient0@400 { + compatible = "client-1.0"; + reg = <0x400 0x10>; + mbox-names = "mbox-tx", "mbox-rx"; + mboxes = <&mbox_tx 0>, + <&mbox_rx 0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mailbox/amlogic,meson-gxbb-mhu.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mailbox/amlogic,meson-gxbb-mhu.yaml index 2c9e027b4f..385809ed15 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mailbox/amlogic,meson-gxbb-mhu.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mailbox/amlogic,meson-gxbb-mhu.yaml @@ -1,53 +1,53 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -# Copyright 2019 BayLibre, SAS -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/mailbox/amlogic,meson-gxbb-mhu.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Amlogic Meson Message-Handling-Unit Controller - -maintainers: - - Neil Armstrong - -description: | - The Amlogic's Meson SoCs Message-Handling-Unit (MHU) is a mailbox controller - that has 3 independent channels/links to communicate with remote processor(s). - MHU links are hardwired on a platform. A link raises interrupt for any - received data. However, there is no specified way of knowing if the sent - data has been read by the remote. This driver assumes the sender polls - STAT register and the remote clears it after having read the data. - -properties: - compatible: - enum: - - amlogic,meson-gxbb-mhu - - reg: - maxItems: 1 - - interrupts: - minItems: 3 - description: - Contains the interrupt information corresponding to each of the 3 links - of MHU. - - "#mbox-cells": - const: 1 - -required: - - compatible - - reg - - interrupts - - "#mbox-cells" - -additionalProperties: false - -examples: - - | - mailbox@c883c404 { - compatible = "amlogic,meson-gxbb-mhu"; - reg = <0xc883c404 0x4c>; - interrupts = <208>, <209>, <210>; - #mbox-cells = <1>; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +# Copyright 2019 BayLibre, SAS +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mailbox/amlogic,meson-gxbb-mhu.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Amlogic Meson Message-Handling-Unit Controller + +maintainers: + - Neil Armstrong + +description: | + The Amlogic's Meson SoCs Message-Handling-Unit (MHU) is a mailbox controller + that has 3 independent channels/links to communicate with remote processor(s). + MHU links are hardwired on a platform. A link raises interrupt for any + received data. However, there is no specified way of knowing if the sent + data has been read by the remote. This driver assumes the sender polls + STAT register and the remote clears it after having read the data. + +properties: + compatible: + enum: + - amlogic,meson-gxbb-mhu + + reg: + maxItems: 1 + + interrupts: + minItems: 3 + description: + Contains the interrupt information corresponding to each of the 3 links + of MHU. + + "#mbox-cells": + const: 1 + +required: + - compatible + - reg + - interrupts + - "#mbox-cells" + +additionalProperties: false + +examples: + - | + mailbox@c883c404 { + compatible = "amlogic,meson-gxbb-mhu"; + reg = <0xc883c404 0x4c>; + interrupts = <208>, <209>, <210>; + #mbox-cells = <1>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mailbox/hisilicon,hi3660-mailbox.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mailbox/hisilicon,hi3660-mailbox.txt index 93e5e6c9f7..3e5b453740 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mailbox/hisilicon,hi3660-mailbox.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mailbox/hisilicon,hi3660-mailbox.txt @@ -1,51 +1,51 @@ -Hisilicon Hi3660 Mailbox Controller - -Hisilicon Hi3660 mailbox controller supports up to 32 channels. Messages -are passed between processors, including application & communication -processors, MCU, HIFI, etc. Each channel is unidirectional and accessed -by using MMIO registers; it supports maximum to 8 words message. - -Controller ----------- - -Required properties: -- compatible: : Shall be "hisilicon,hi3660-mbox" -- reg: : Offset and length of the device's register set -- #mbox-cells: : Must be 3 - <&phandle channel dst_irq ack_irq> - phandle : Label name of controller - channel : Channel number - dst_irq : Remote interrupt vector - ack_irq : Local interrupt vector - -- interrupts: : Contains the two IRQ lines for mailbox. - -Example: - -mailbox: mailbox@e896b000 { - compatible = "hisilicon,hi3660-mbox"; - reg = <0x0 0xe896b000 0x0 0x1000>; - interrupts = <0x0 0xc0 0x4>, - <0x0 0xc1 0x4>; - #mbox-cells = <3>; -}; - -Client ------- - -Required properties: -- compatible : See the client docs -- mboxes : Standard property to specify a Mailbox (See ./mailbox.txt) - Cells must match 'mbox-cells' (See Controller docs above) - -Optional properties -- mbox-names : Name given to channels seen in the 'mboxes' property. - -Example: - -stub_clock: stub_clock@e896b500 { - compatible = "hisilicon,hi3660-stub-clk"; - reg = <0x0 0xe896b500 0x0 0x0100>; - #clock-cells = <1>; - mboxes = <&mailbox 13 3 0>; -}; +Hisilicon Hi3660 Mailbox Controller + +Hisilicon Hi3660 mailbox controller supports up to 32 channels. Messages +are passed between processors, including application & communication +processors, MCU, HIFI, etc. Each channel is unidirectional and accessed +by using MMIO registers; it supports maximum to 8 words message. + +Controller +---------- + +Required properties: +- compatible: : Shall be "hisilicon,hi3660-mbox" +- reg: : Offset and length of the device's register set +- #mbox-cells: : Must be 3 + <&phandle channel dst_irq ack_irq> + phandle : Label name of controller + channel : Channel number + dst_irq : Remote interrupt vector + ack_irq : Local interrupt vector + +- interrupts: : Contains the two IRQ lines for mailbox. + +Example: + +mailbox: mailbox@e896b000 { + compatible = "hisilicon,hi3660-mbox"; + reg = <0x0 0xe896b000 0x0 0x1000>; + interrupts = <0x0 0xc0 0x4>, + <0x0 0xc1 0x4>; + #mbox-cells = <3>; +}; + +Client +------ + +Required properties: +- compatible : See the client docs +- mboxes : Standard property to specify a Mailbox (See ./mailbox.txt) + Cells must match 'mbox-cells' (See Controller docs above) + +Optional properties +- mbox-names : Name given to channels seen in the 'mboxes' property. + +Example: + +stub_clock: stub_clock@e896b500 { + compatible = "hisilicon,hi3660-stub-clk"; + reg = <0x0 0xe896b500 0x0 0x0100>; + #clock-cells = <1>; + mboxes = <&mailbox 13 3 0>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mailbox/sprd-mailbox.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mailbox/sprd-mailbox.yaml index 3ff04fae9e..b526f9c0c2 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mailbox/sprd-mailbox.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mailbox/sprd-mailbox.yaml @@ -1,69 +1,69 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/mailbox/sprd-mailbox.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Spreadtrum mailbox controller - -maintainers: - - Orson Zhai - - Baolin Wang - - Chunyan Zhang - -properties: - compatible: - enum: - - sprd,sc9860-mailbox - - sprd,sc9863a-mailbox - - reg: - items: - - description: inbox registers' base address - - description: outbox registers' base address - - interrupts: - minItems: 2 - maxItems: 3 - - interrupt-names: - minItems: 2 - items: - - const: inbox - - const: outbox - - const: supp-outbox - - clocks: - maxItems: 1 - - clock-names: - items: - - const: enable - - "#mbox-cells": - const: 1 - -required: - - compatible - - reg - - interrupts - - interrupt-names - - "#mbox-cells" - - clocks - - clock-names - -additionalProperties: false - -examples: - - | - #include - mailbox: mailbox@400a0000 { - compatible = "sprd,sc9860-mailbox"; - reg = <0x400a0000 0x8000>, <0x400a8000 0x8000>; - #mbox-cells = <1>; - clock-names = "enable"; - clocks = <&aon_gate 53>; - interrupts = , ; - interrupt-names = "inbox", "outbox"; - }; -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mailbox/sprd-mailbox.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Spreadtrum mailbox controller + +maintainers: + - Orson Zhai + - Baolin Wang + - Chunyan Zhang + +properties: + compatible: + enum: + - sprd,sc9860-mailbox + - sprd,sc9863a-mailbox + + reg: + items: + - description: inbox registers' base address + - description: outbox registers' base address + + interrupts: + minItems: 2 + maxItems: 3 + + interrupt-names: + minItems: 2 + items: + - const: inbox + - const: outbox + - const: supp-outbox + + clocks: + maxItems: 1 + + clock-names: + items: + - const: enable + + "#mbox-cells": + const: 1 + +required: + - compatible + - reg + - interrupts + - interrupt-names + - "#mbox-cells" + - clocks + - clock-names + +additionalProperties: false + +examples: + - | + #include + mailbox: mailbox@400a0000 { + compatible = "sprd,sc9860-mailbox"; + reg = <0x400a0000 0x8000>, <0x400a8000 0x8000>; + #mbox-cells = <1>; + clock-names = "enable"; + clocks = <&aon_gate 53>; + interrupts = , ; + interrupt-names = "inbox", "outbox"; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mailbox/st,stm32-ipcc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mailbox/st,stm32-ipcc.yaml index f55c59de68..134fd223a0 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mailbox/st,stm32-ipcc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mailbox/st,stm32-ipcc.yaml @@ -1,76 +1,76 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/mailbox/st,stm32-ipcc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: STMicroelectronics STM32 IPC controller - -description: - The IPCC block provides a non blocking signaling mechanism to post and - retrieve messages in an atomic way between two processors. - It provides the signaling for N bidirectionnal channels. The number of - channels (N) can be read from a dedicated register. - -maintainers: - - Fabien Dessenne - - Arnaud Pouliquen - -properties: - compatible: - const: st,stm32mp1-ipcc - - reg: - maxItems: 1 - - clocks: - maxItems: 1 - - interrupts: - items: - - description: rx channel occupied - - description: tx channel free - - interrupt-names: - items: - - const: rx - - const: tx - - wakeup-source: true - - "#mbox-cells": - const: 1 - - st,proc-id: - description: Processor id using the mailbox (0 or 1) - $ref: /schemas/types.yaml#/definitions/uint32 - enum: [0, 1] - -required: - - compatible - - reg - - st,proc-id - - clocks - - interrupt-names - - "#mbox-cells" - - interrupts - -additionalProperties: false - -examples: - - | - #include - #include - ipcc: mailbox@4c001000 { - compatible = "st,stm32mp1-ipcc"; - #mbox-cells = <1>; - reg = <0x4c001000 0x400>; - st,proc-id = <0>; - interrupts-extended = <&exti 61 1>, - <&intc GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>; - interrupt-names = "rx", "tx"; - clocks = <&rcc_clk IPCC>; - wakeup-source; - }; - -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mailbox/st,stm32-ipcc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: STMicroelectronics STM32 IPC controller + +description: + The IPCC block provides a non blocking signaling mechanism to post and + retrieve messages in an atomic way between two processors. + It provides the signaling for N bidirectionnal channels. The number of + channels (N) can be read from a dedicated register. + +maintainers: + - Fabien Dessenne + - Arnaud Pouliquen + +properties: + compatible: + const: st,stm32mp1-ipcc + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + interrupts: + items: + - description: rx channel occupied + - description: tx channel free + + interrupt-names: + items: + - const: rx + - const: tx + + wakeup-source: true + + "#mbox-cells": + const: 1 + + st,proc-id: + description: Processor id using the mailbox (0 or 1) + $ref: /schemas/types.yaml#/definitions/uint32 + enum: [0, 1] + +required: + - compatible + - reg + - st,proc-id + - clocks + - interrupt-names + - "#mbox-cells" + - interrupts + +additionalProperties: false + +examples: + - | + #include + #include + ipcc: mailbox@4c001000 { + compatible = "st,stm32mp1-ipcc"; + #mbox-cells = <1>; + reg = <0x4c001000 0x400>; + st,proc-id = <0>; + interrupts-extended = <&exti 61 1>, + <&intc GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>; + interrupt-names = "rx", "tx"; + clocks = <&rcc_clk IPCC>; + wakeup-source; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mailbox/ti,message-manager.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mailbox/ti,message-manager.txt index f80f2b536b..ebf0e3710c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mailbox/ti,message-manager.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mailbox/ti,message-manager.txt @@ -1,50 +1,50 @@ -Texas Instruments' Message Manager Driver -======================================== - -The Texas Instruments' Message Manager is a mailbox controller that has -configurable queues selectable at SoC(System on Chip) integration. The Message -manager is broken up into queues in different address regions that are called -"proxies" - each instance is unidirectional and is instantiated at SoC -integration level to indicate receive or transmit path. - -Message Manager Device Node: -=========================== -Required properties: --------------------- -- compatible: Shall be: "ti,k2g-message-manager" -- reg-names queue_proxy_region - Map the queue proxy region. - queue_state_debug_region - Map the queue state debug - region. -- reg: Contains the register map per reg-names. -- #mbox-cells Shall be 2. Contains the queue ID and proxy ID in that - order referring to the transfer path. -- interrupt-names: Contains interrupt names matching the rx transfer path - for a given SoC. Receive interrupts shall be of the - format: "rx_". - For ti,k2g-message-manager, this shall contain: - "rx_005", "rx_057" -- interrupts: Contains the interrupt information corresponding to - interrupt-names property. - -Example(K2G): ------------- - - msgmgr: msgmgr@2a00000 { - compatible = "ti,k2g-message-manager"; - #mbox-cells = <2>; - reg-names = "queue_proxy_region", "queue_state_debug_region"; - reg = <0x02a00000 0x400000>, <0x028c3400 0x400>; - interrupt-names = "rx_005", "rx_057"; - interrupts = , - ; - }; - - pmmc: pmmc { - [...] - mbox-names = "rx", "tx"; - # RX queue ID is 5, proxy ID is 2 - # TX queue ID is 0, proxy ID is 0 - mboxes= <&msgmgr 5 2>, - <&msgmgr 0 0>; - [...] - }; +Texas Instruments' Message Manager Driver +======================================== + +The Texas Instruments' Message Manager is a mailbox controller that has +configurable queues selectable at SoC(System on Chip) integration. The Message +manager is broken up into queues in different address regions that are called +"proxies" - each instance is unidirectional and is instantiated at SoC +integration level to indicate receive or transmit path. + +Message Manager Device Node: +=========================== +Required properties: +-------------------- +- compatible: Shall be: "ti,k2g-message-manager" +- reg-names queue_proxy_region - Map the queue proxy region. + queue_state_debug_region - Map the queue state debug + region. +- reg: Contains the register map per reg-names. +- #mbox-cells Shall be 2. Contains the queue ID and proxy ID in that + order referring to the transfer path. +- interrupt-names: Contains interrupt names matching the rx transfer path + for a given SoC. Receive interrupts shall be of the + format: "rx_". + For ti,k2g-message-manager, this shall contain: + "rx_005", "rx_057" +- interrupts: Contains the interrupt information corresponding to + interrupt-names property. + +Example(K2G): +------------ + + msgmgr: msgmgr@2a00000 { + compatible = "ti,k2g-message-manager"; + #mbox-cells = <2>; + reg-names = "queue_proxy_region", "queue_state_debug_region"; + reg = <0x02a00000 0x400000>, <0x028c3400 0x400>; + interrupt-names = "rx_005", "rx_057"; + interrupts = , + ; + }; + + pmmc: pmmc { + [...] + mbox-names = "rx", "tx"; + # RX queue ID is 5, proxy ID is 2 + # TX queue ID is 0, proxy ID is 0 + mboxes= <&msgmgr 5 2>, + <&msgmgr 0 0>; + [...] + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/allwinner,sun4i-a10-ir.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/allwinner,sun4i-a10-ir.yaml index fbf33bffc0..42dfe22ad5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/allwinner,sun4i-a10-ir.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/allwinner,sun4i-a10-ir.yaml @@ -1,78 +1,78 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/media/allwinner,sun4i-a10-ir.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Allwinner A10 Infrared Controller - -maintainers: - - Chen-Yu Tsai - - Maxime Ripard - -allOf: - - $ref: rc.yaml# - -properties: - compatible: - oneOf: - - const: allwinner,sun4i-a10-ir - - const: allwinner,sun5i-a13-ir - - const: allwinner,sun6i-a31-ir - - items: - - enum: - - allwinner,suniv-f1c100s-ir - - allwinner,sun8i-a83t-ir - - allwinner,sun8i-r40-ir - - allwinner,sun50i-a64-ir - - allwinner,sun50i-h6-ir - - allwinner,sun50i-h616-ir - - const: allwinner,sun6i-a31-ir - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - items: - - description: Bus Clock - - description: Module Clock - - clock-names: - items: - - const: apb - - const: ir - - resets: - maxItems: 1 - - clock-frequency: - default: 8000000 - description: - IR Receiver clock frequency, in Hertz. - -required: - - compatible - - reg - - interrupts - - clocks - - clock-names - -unevaluatedProperties: false - -examples: - - | - ir0: ir@1c21800 { - compatible = "allwinner,sun4i-a10-ir"; - clocks = <&apb0_gates 6>, <&ir0_clk>; - clock-names = "apb", "ir"; - clock-frequency = <3000000>; - resets = <&apb0_rst 1>; - interrupts = <0 5 1>; - reg = <0x01C21800 0x40>; - linux,rc-map-name = "rc-rc6-mce"; - }; - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/media/allwinner,sun4i-a10-ir.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Allwinner A10 Infrared Controller + +maintainers: + - Chen-Yu Tsai + - Maxime Ripard + +allOf: + - $ref: rc.yaml# + +properties: + compatible: + oneOf: + - const: allwinner,sun4i-a10-ir + - const: allwinner,sun5i-a13-ir + - const: allwinner,sun6i-a31-ir + - items: + - enum: + - allwinner,suniv-f1c100s-ir + - allwinner,sun8i-a83t-ir + - allwinner,sun8i-r40-ir + - allwinner,sun50i-a64-ir + - allwinner,sun50i-h6-ir + - allwinner,sun50i-h616-ir + - const: allwinner,sun6i-a31-ir + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + items: + - description: Bus Clock + - description: Module Clock + + clock-names: + items: + - const: apb + - const: ir + + resets: + maxItems: 1 + + clock-frequency: + default: 8000000 + description: + IR Receiver clock frequency, in Hertz. + +required: + - compatible + - reg + - interrupts + - clocks + - clock-names + +unevaluatedProperties: false + +examples: + - | + ir0: ir@1c21800 { + compatible = "allwinner,sun4i-a10-ir"; + clocks = <&apb0_gates 6>, <&ir0_clk>; + clock-names = "apb", "ir"; + clock-frequency = <3000000>; + resets = <&apb0_rst 1>; + interrupts = <0 5 1>; + reg = <0x01C21800 0x40>; + linux,rc-map-name = "rc-rc6-mce"; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/allwinner,sun50i-h6-vpu-g2.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/allwinner,sun50i-h6-vpu-g2.yaml index 32c8fee733..a4f06bbdfe 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/allwinner,sun50i-h6-vpu-g2.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/allwinner,sun50i-h6-vpu-g2.yaml @@ -1,69 +1,69 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) - -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/media/allwinner,sun50i-h6-vpu-g2.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Hantro G2 VPU codec implemented on Allwinner H6 SoC - -maintainers: - - Jernej Skrabec - -description: - Hantro G2 video decode accelerator present on Allwinner H6 SoC. - -properties: - compatible: - const: allwinner,sun50i-h6-vpu-g2 - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - items: - - description: Bus Clock - - description: Module Clock - - clock-names: - items: - - const: bus - - const: mod - - resets: - maxItems: 1 - - iommus: - maxItems: 1 - -required: - - compatible - - reg - - interrupts - - clocks - - clock-names - - resets - - iommus - -additionalProperties: false - -examples: - - | - #include - #include - #include - - video-codec-g2@1c00000 { - compatible = "allwinner,sun50i-h6-vpu-g2"; - reg = <0x01c00000 0x1000>; - interrupts = ; - clocks = <&ccu CLK_BUS_VP9>, <&ccu CLK_VP9>; - clock-names = "bus", "mod"; - resets = <&ccu RST_BUS_VP9>; - iommus = <&iommu 5>; - }; - -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) + +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/media/allwinner,sun50i-h6-vpu-g2.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Hantro G2 VPU codec implemented on Allwinner H6 SoC + +maintainers: + - Jernej Skrabec + +description: + Hantro G2 video decode accelerator present on Allwinner H6 SoC. + +properties: + compatible: + const: allwinner,sun50i-h6-vpu-g2 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + items: + - description: Bus Clock + - description: Module Clock + + clock-names: + items: + - const: bus + - const: mod + + resets: + maxItems: 1 + + iommus: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + - clocks + - clock-names + - resets + - iommus + +additionalProperties: false + +examples: + - | + #include + #include + #include + + video-codec-g2@1c00000 { + compatible = "allwinner,sun50i-h6-vpu-g2"; + reg = <0x01c00000 0x1000>; + interrupts = ; + clocks = <&ccu CLK_BUS_VP9>, <&ccu CLK_VP9>; + clock-names = "bus", "mod"; + resets = <&ccu RST_BUS_VP9>; + iommus = <&iommu 5>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/allwinner,sun8i-a83t-de2-rotate.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/allwinner,sun8i-a83t-de2-rotate.yaml index 4d297c22d8..c2f292dd01 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/allwinner,sun8i-a83t-de2-rotate.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/allwinner,sun8i-a83t-de2-rotate.yaml @@ -1,70 +1,70 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/media/allwinner,sun8i-a83t-de2-rotate.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Allwinner A83T DE2 Rotate - -maintainers: - - Jernej Skrabec - - Chen-Yu Tsai - - Maxime Ripard - -description: |- - The Allwinner A83T and A64 have a rotation core used for - rotating and flipping images. - -properties: - compatible: - oneOf: - - const: allwinner,sun8i-a83t-de2-rotate - - items: - - const: allwinner,sun50i-a64-de2-rotate - - const: allwinner,sun8i-a83t-de2-rotate - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - items: - - description: Rotate interface clock - - description: Rotate module clock - - clock-names: - items: - - const: bus - - const: mod - - resets: - maxItems: 1 - -required: - - compatible - - reg - - interrupts - - clocks - -additionalProperties: false - -examples: - - | - #include - #include - #include - - rotate: rotate@1020000 { - compatible = "allwinner,sun8i-a83t-de2-rotate"; - reg = <0x1020000 0x10000>; - interrupts = ; - clocks = <&display_clocks CLK_BUS_ROT>, - <&display_clocks CLK_ROT>; - clock-names = "bus", - "mod"; - resets = <&display_clocks RST_ROT>; - }; - -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/media/allwinner,sun8i-a83t-de2-rotate.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Allwinner A83T DE2 Rotate + +maintainers: + - Jernej Skrabec + - Chen-Yu Tsai + - Maxime Ripard + +description: |- + The Allwinner A83T and A64 have a rotation core used for + rotating and flipping images. + +properties: + compatible: + oneOf: + - const: allwinner,sun8i-a83t-de2-rotate + - items: + - const: allwinner,sun50i-a64-de2-rotate + - const: allwinner,sun8i-a83t-de2-rotate + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + items: + - description: Rotate interface clock + - description: Rotate module clock + + clock-names: + items: + - const: bus + - const: mod + + resets: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + - clocks + +additionalProperties: false + +examples: + - | + #include + #include + #include + + rotate: rotate@1020000 { + compatible = "allwinner,sun8i-a83t-de2-rotate"; + reg = <0x1020000 0x10000>; + interrupts = ; + clocks = <&display_clocks CLK_BUS_ROT>, + <&display_clocks CLK_ROT>; + clock-names = "bus", + "mod"; + resets = <&display_clocks RST_ROT>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/cec/cec-gpio.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/cec/cec-gpio.yaml index 142bb6c0c8..64d7ec0576 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/cec/cec-gpio.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/cec/cec-gpio.yaml @@ -1,74 +1,74 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/media/cec/cec-gpio.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: HDMI CEC GPIO - -maintainers: - - Hans Verkuil - -description: | - The HDMI CEC GPIO module supports CEC implementations where the CEC line is - hooked up to a pull-up GPIO line and - optionally - the HPD line is hooked up - to another GPIO line. - - Please note:: the maximum voltage for the CEC line is 3.63V, for the HPD and - 5V lines it is 5.3V. So you may need some sort of level conversion - circuitry when connecting them to a GPIO line. - -properties: - compatible: - const: cec-gpio - - cec-gpios: - maxItems: 1 - description: - GPIO that the CEC line is connected to. The line should be tagged as open - drain. - - hpd-gpios: - maxItems: 1 - description: - GPIO that the HPD line is connected to. Used for debugging HPD changes - when the CEC line is not associated with an HDMI receiver/transmitter. - - v5-gpios: - maxItems: 1 - description: - GPIO that the 5V line is connected to. Used for debugging changes on the - 5V line. - -required: - - compatible - - cec-gpios - -allOf: - - $ref: cec-common.yaml# - - if: - required: - - hdmi-phandle - then: - properties: - hpd-gpios: false - - - if: - required: - - hpd-gpios - then: - properties: - hdmi-phandle: false - -unevaluatedProperties: false - -examples: - - | - #include - - cec { - compatible = "cec-gpio"; - cec-gpios = <&gpio 7 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; - hpd-gpios = <&gpio 17 GPIO_ACTIVE_HIGH>; - v5-gpios = <&gpio 22 GPIO_ACTIVE_HIGH>; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/media/cec/cec-gpio.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: HDMI CEC GPIO + +maintainers: + - Hans Verkuil + +description: | + The HDMI CEC GPIO module supports CEC implementations where the CEC line is + hooked up to a pull-up GPIO line and - optionally - the HPD line is hooked up + to another GPIO line. + + Please note:: the maximum voltage for the CEC line is 3.63V, for the HPD and + 5V lines it is 5.3V. So you may need some sort of level conversion + circuitry when connecting them to a GPIO line. + +properties: + compatible: + const: cec-gpio + + cec-gpios: + maxItems: 1 + description: + GPIO that the CEC line is connected to. The line should be tagged as open + drain. + + hpd-gpios: + maxItems: 1 + description: + GPIO that the HPD line is connected to. Used for debugging HPD changes + when the CEC line is not associated with an HDMI receiver/transmitter. + + v5-gpios: + maxItems: 1 + description: + GPIO that the 5V line is connected to. Used for debugging changes on the + 5V line. + +required: + - compatible + - cec-gpios + +allOf: + - $ref: cec-common.yaml# + - if: + required: + - hdmi-phandle + then: + properties: + hpd-gpios: false + + - if: + required: + - hpd-gpios + then: + properties: + hdmi-phandle: false + +unevaluatedProperties: false + +examples: + - | + #include + + cec { + compatible = "cec-gpio"; + cec-gpios = <&gpio 7 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; + hpd-gpios = <&gpio 17 GPIO_ACTIVE_HIGH>; + v5-gpios = <&gpio 22 GPIO_ACTIVE_HIGH>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/cec/samsung,s5p-cec.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/cec/samsung,s5p-cec.yaml index bcf249445d..016c8a77c1 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/cec/samsung,s5p-cec.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/cec/samsung,s5p-cec.yaml @@ -1,66 +1,66 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/media/cec/samsung,s5p-cec.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Samsung S5PV210 and Exynos HDMI CEC - -maintainers: - - Krzysztof Kozlowski - - Marek Szyprowski - -allOf: - - $ref: cec-common.yaml# - -properties: - compatible: - const: samsung,s5p-cec - - clocks: - maxItems: 1 - - clock-names: - items: - - const: hdmicec - - interrupts: - maxItems: 1 - - samsung,syscon-phandle: - $ref: /schemas/types.yaml#/definitions/phandle - description: - Phandle to PMU system controller interface - - reg: - maxItems: 1 - -required: - - compatible - - clocks - - clock-names - - hdmi-phandle - - interrupts - - samsung,syscon-phandle - - reg - -unevaluatedProperties: false - -examples: - - | - #include - #include - - cec@101b0000 { - compatible = "samsung,s5p-cec"; - reg = <0x101B0000 0x200>; - - clocks = <&clock CLK_HDMI_CEC>; - clock-names = "hdmicec"; - interrupts = ; - hdmi-phandle = <&hdmi>; - needs-hpd; - pinctrl-names = "default"; - pinctrl-0 = <&hdmi_cec>; - samsung,syscon-phandle = <&pmu_system_controller>; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/media/cec/samsung,s5p-cec.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Samsung S5PV210 and Exynos HDMI CEC + +maintainers: + - Krzysztof Kozlowski + - Marek Szyprowski + +allOf: + - $ref: cec-common.yaml# + +properties: + compatible: + const: samsung,s5p-cec + + clocks: + maxItems: 1 + + clock-names: + items: + - const: hdmicec + + interrupts: + maxItems: 1 + + samsung,syscon-phandle: + $ref: /schemas/types.yaml#/definitions/phandle + description: + Phandle to PMU system controller interface + + reg: + maxItems: 1 + +required: + - compatible + - clocks + - clock-names + - hdmi-phandle + - interrupts + - samsung,syscon-phandle + - reg + +unevaluatedProperties: false + +examples: + - | + #include + #include + + cec@101b0000 { + compatible = "samsung,s5p-cec"; + reg = <0x101B0000 0x200>; + + clocks = <&clock CLK_HDMI_CEC>; + clock-names = "hdmicec"; + interrupts = ; + hdmi-phandle = <&hdmi>; + needs-hpd; + pinctrl-names = "default"; + pinctrl-0 = <&hdmi_cec>; + samsung,syscon-phandle = <&pmu_system_controller>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/i2c/adv7343.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/i2c/adv7343.txt index 5dba6faba6..5653bc2428 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/i2c/adv7343.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/i2c/adv7343.txt @@ -1,48 +1,48 @@ -* Analog Devices adv7343 video encoder - -The ADV7343 are high speed, digital-to-analog video encoders in a 64-lead LQFP -package. Six high speed, 3.3 V, 11-bit video DACs provide support for composite -(CVBS), S-Video (Y-C), and component (YPrPb/RGB) analog outputs in standard -definition (SD), enhanced definition (ED), or high definition (HD) video -formats. - -Required Properties : -- compatible: Must be "adi,adv7343" - -Optional Properties : -- adi,power-mode-sleep-mode: on enable the current consumption is reduced to - micro ampere level. All DACs and the internal PLL - circuit are disabled. -- adi,power-mode-pll-ctrl: PLL and oversampling control. This control allows - internal PLL 1 circuit to be powered down and the - oversampling to be switched off. -- ad,adv7343-power-mode-dac: array configuring the power on/off DAC's 1..6, - 0 = OFF and 1 = ON, Default value when this - property is not specified is <0 0 0 0 0 0>. -- ad,adv7343-sd-config-dac-out: array configure SD DAC Output's 1 and 2, 0 = OFF - and 1 = ON, Default value when this property is - not specified is <0 0>. - -Example: - -i2c0@1c22000 { - ... - ... - - adv7343@2a { - compatible = "adi,adv7343"; - reg = <0x2a>; - - port { - adv7343_1: endpoint { - adi,power-mode-sleep-mode; - adi,power-mode-pll-ctrl; - /* Use DAC1..3, DAC6 */ - adi,dac-enable = <1 1 1 0 0 1>; - /* Use SD DAC output 1 */ - adi,sd-dac-enable = <1 0>; - }; - }; - }; - ... -}; +* Analog Devices adv7343 video encoder + +The ADV7343 are high speed, digital-to-analog video encoders in a 64-lead LQFP +package. Six high speed, 3.3 V, 11-bit video DACs provide support for composite +(CVBS), S-Video (Y-C), and component (YPrPb/RGB) analog outputs in standard +definition (SD), enhanced definition (ED), or high definition (HD) video +formats. + +Required Properties : +- compatible: Must be "adi,adv7343" + +Optional Properties : +- adi,power-mode-sleep-mode: on enable the current consumption is reduced to + micro ampere level. All DACs and the internal PLL + circuit are disabled. +- adi,power-mode-pll-ctrl: PLL and oversampling control. This control allows + internal PLL 1 circuit to be powered down and the + oversampling to be switched off. +- ad,adv7343-power-mode-dac: array configuring the power on/off DAC's 1..6, + 0 = OFF and 1 = ON, Default value when this + property is not specified is <0 0 0 0 0 0>. +- ad,adv7343-sd-config-dac-out: array configure SD DAC Output's 1 and 2, 0 = OFF + and 1 = ON, Default value when this property is + not specified is <0 0>. + +Example: + +i2c0@1c22000 { + ... + ... + + adv7343@2a { + compatible = "adi,adv7343"; + reg = <0x2a>; + + port { + adv7343_1: endpoint { + adi,power-mode-sleep-mode; + adi,power-mode-pll-ctrl; + /* Use DAC1..3, DAC6 */ + adi,dac-enable = <1 1 1 0 0 1>; + /* Use SD DAC output 1 */ + adi,sd-dac-enable = <1 0>; + }; + }; + }; + ... +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/i2c/alliedvision,alvium-csi2.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/i2c/alliedvision,alvium-csi2.yaml index ca9547ea38..d3329e991d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/i2c/alliedvision,alvium-csi2.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/i2c/alliedvision,alvium-csi2.yaml @@ -1,81 +1,81 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/media/i2c/alliedvision,alvium-csi2.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Allied Vision Alvium Camera - -maintainers: - - Tommaso Merciai - - Martin Hecht - -allOf: - - $ref: /schemas/media/video-interface-devices.yaml# - -properties: - compatible: - const: alliedvision,alvium-csi2 - - reg: - maxItems: 1 - - vcc-ext-in-supply: - description: | - The regulator that supplies power to the VCC_EXT_IN pins. - - port: - description: Digital Output Port - $ref: /schemas/graph.yaml#/$defs/port-base - additionalProperties: false - - properties: - endpoint: - $ref: /schemas/media/video-interfaces.yaml# - unevaluatedProperties: false - - properties: - link-frequencies: true - - data-lanes: - minItems: 1 - items: - - const: 1 - - const: 2 - - const: 3 - - const: 4 - - required: - - data-lanes - - link-frequencies - -required: - - compatible - - reg - - vcc-ext-in-supply - - port - -additionalProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - alvium: camera@3c { - compatible = "alliedvision,alvium-csi2"; - reg = <0x3c>; - vcc-ext-in-supply = <®_vcc_ext_in>; - - port { - alvium_out: endpoint { - remote-endpoint = <&mipi_csi_0_in>; - data-lanes = <1 2 3 4>; - link-frequencies = /bits/ 64 <681250000>; - }; - }; - }; - }; - -... +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/media/i2c/alliedvision,alvium-csi2.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Allied Vision Alvium Camera + +maintainers: + - Tommaso Merciai + - Martin Hecht + +allOf: + - $ref: /schemas/media/video-interface-devices.yaml# + +properties: + compatible: + const: alliedvision,alvium-csi2 + + reg: + maxItems: 1 + + vcc-ext-in-supply: + description: | + The regulator that supplies power to the VCC_EXT_IN pins. + + port: + description: Digital Output Port + $ref: /schemas/graph.yaml#/$defs/port-base + additionalProperties: false + + properties: + endpoint: + $ref: /schemas/media/video-interfaces.yaml# + unevaluatedProperties: false + + properties: + link-frequencies: true + + data-lanes: + minItems: 1 + items: + - const: 1 + - const: 2 + - const: 3 + - const: 4 + + required: + - data-lanes + - link-frequencies + +required: + - compatible + - reg + - vcc-ext-in-supply + - port + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + alvium: camera@3c { + compatible = "alliedvision,alvium-csi2"; + reg = <0x3c>; + vcc-ext-in-supply = <®_vcc_ext_in>; + + port { + alvium_out: endpoint { + remote-endpoint = <&mipi_csi_0_in>; + data-lanes = <1 2 3 4>; + link-frequencies = /bits/ 64 <681250000>; + }; + }; + }; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/i2c/aptina,mt9v111.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/i2c/aptina,mt9v111.yaml index e5e3fa4be3..088022f880 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/i2c/aptina,mt9v111.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/i2c/aptina,mt9v111.yaml @@ -1,75 +1,75 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/media/i2c/aptina,mt9v111.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Aptina MT9V111 CMOS sensor - -maintainers: - - Jacopo Mondi - -description: | - The Aptina MT9V111 is a 1/4-Inch VGA-format digital image sensor with a core - based on Aptina MT9V011 sensor and an integrated Image Flow Processor (IFP). - - The sensor has an active pixel array of 640x480 pixels and can output a number - of image resolutions and formats controllable through a simple two-wires - interface. - -properties: - compatible: - const: aptina,mt9v111 - - reg: - maxItems: 1 - - clocks: - maxItems: 1 - - enable-gpios: - description: Enable signal, pin name "OE#". Active low. - maxItems: 1 - - standby-gpios: - description: | - Low power state control signal, pin name "STANDBY". Active high. - maxItems: 1 - - reset-gpios: - description: Chip reset signal, pin name "RESET#". Active low. - maxItems: 1 - - port: - $ref: /schemas/graph.yaml#/properties/port - description: | - Output video port. - -required: - - compatible - - reg - - clocks - - port - -additionalProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - camera@48 { - compatible = "aptina,mt9v111"; - reg = <0x48>; - clocks = <&camera_clk>; - - port { - mt9v111_out: endpoint { - remote-endpoint = <&ceu_in>; - }; - }; - }; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/media/i2c/aptina,mt9v111.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Aptina MT9V111 CMOS sensor + +maintainers: + - Jacopo Mondi + +description: | + The Aptina MT9V111 is a 1/4-Inch VGA-format digital image sensor with a core + based on Aptina MT9V011 sensor and an integrated Image Flow Processor (IFP). + + The sensor has an active pixel array of 640x480 pixels and can output a number + of image resolutions and formats controllable through a simple two-wires + interface. + +properties: + compatible: + const: aptina,mt9v111 + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + enable-gpios: + description: Enable signal, pin name "OE#". Active low. + maxItems: 1 + + standby-gpios: + description: | + Low power state control signal, pin name "STANDBY". Active high. + maxItems: 1 + + reset-gpios: + description: Chip reset signal, pin name "RESET#". Active low. + maxItems: 1 + + port: + $ref: /schemas/graph.yaml#/properties/port + description: | + Output video port. + +required: + - compatible + - reg + - clocks + - port + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + camera@48 { + compatible = "aptina,mt9v111"; + reg = <0x48>; + clocks = <&camera_clk>; + + port { + mt9v111_out: endpoint { + remote-endpoint = <&ceu_in>; + }; + }; + }; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/i2c/chrontel,ch7322.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/i2c/chrontel,ch7322.yaml index 6ad0d4f250..4e69b6a7ff 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/i2c/chrontel,ch7322.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/i2c/chrontel,ch7322.yaml @@ -1,68 +1,68 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/media/i2c/chrontel,ch7322.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Chrontel HDMI-CEC Controller - -maintainers: - - Jeff Chase - -description: - The Chrontel CH7322 is a discrete HDMI-CEC controller. It is - programmable through I2C and drives a single CEC line. - -allOf: - - $ref: /schemas/media/cec/cec-common.yaml# - -properties: - compatible: - const: chrontel,ch7322 - - reg: - description: I2C device address - maxItems: 1 - - clocks: - maxItems: 1 - - interrupts: - maxItems: 1 - - reset-gpios: - description: - Reference to the GPIO connected to the RESET pin, if any. This - pin is active-low. - maxItems: 1 - - standby-gpios: - description: - Reference to the GPIO connected to the OE pin, if any. When low - the device will respond to power status requests with "standby" - if in auto mode. - maxItems: 1 - -required: - - compatible - - reg - - interrupts - -unevaluatedProperties: false - -examples: - - | - #include - #include - i2c { - #address-cells = <1>; - #size-cells = <0>; - cec@75 { - compatible = "chrontel,ch7322"; - reg = <0x75>; - interrupts = <47 IRQ_TYPE_EDGE_RISING>; - standby-gpios = <&gpio 16 GPIO_ACTIVE_LOW>; - reset-gpios = <&gpio 15 GPIO_ACTIVE_LOW>; - hdmi-phandle = <&hdmi>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/media/i2c/chrontel,ch7322.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Chrontel HDMI-CEC Controller + +maintainers: + - Jeff Chase + +description: + The Chrontel CH7322 is a discrete HDMI-CEC controller. It is + programmable through I2C and drives a single CEC line. + +allOf: + - $ref: /schemas/media/cec/cec-common.yaml# + +properties: + compatible: + const: chrontel,ch7322 + + reg: + description: I2C device address + maxItems: 1 + + clocks: + maxItems: 1 + + interrupts: + maxItems: 1 + + reset-gpios: + description: + Reference to the GPIO connected to the RESET pin, if any. This + pin is active-low. + maxItems: 1 + + standby-gpios: + description: + Reference to the GPIO connected to the OE pin, if any. When low + the device will respond to power status requests with "standby" + if in auto mode. + maxItems: 1 + +required: + - compatible + - reg + - interrupts + +unevaluatedProperties: false + +examples: + - | + #include + #include + i2c { + #address-cells = <1>; + #size-cells = <0>; + cec@75 { + compatible = "chrontel,ch7322"; + reg = <0x75>; + interrupts = <47 IRQ_TYPE_EDGE_RISING>; + standby-gpios = <&gpio 16 GPIO_ACTIVE_LOW>; + reset-gpios = <&gpio 15 GPIO_ACTIVE_LOW>; + hdmi-phandle = <&hdmi>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/i2c/max2175.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/i2c/max2175.txt index d1a62bb9a9..02b4e9cd7b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/i2c/max2175.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/i2c/max2175.txt @@ -1,59 +1,59 @@ -Maxim Integrated MAX2175 RF to Bits tuner ------------------------------------------ - -The MAX2175 IC is an advanced analog/digital hybrid-radio receiver with -RF to Bits® front-end designed for software-defined radio solutions. - -Required properties: --------------------- -- compatible: "maxim,max2175" for MAX2175 RF-to-bits tuner. -- clocks: clock specifier. -- port: child port node corresponding to the I2S output, in accordance with - the video interface bindings defined in - Documentation/devicetree/bindings/media/video-interfaces.txt. The port - node must contain at least one endpoint. - -Optional properties: --------------------- -- maxim,master : phandle to the master tuner if it is a slave. This - is used to define two tuners in diversity mode - (1 master, 1 slave). By default each tuner is an - individual master. -- maxim,refout-load : load capacitance value (in picofarads) on reference - output drive level. The possible load values are: - 0 (default - refout disabled) - 10 - 20 - 30 - 40 - 60 - 70 -- maxim,am-hiz-filter : empty property indicates the AM Hi-Z filter is used - in this hardware for AM antenna input. - -Example: --------- - -Board specific DTS file - -/* Fixed XTAL clock node */ -maxim_xtal: clock { - compatible = "fixed-clock"; - #clock-cells = <0>; - clock-frequency = <36864000>; -}; - -/* A tuner device instance under i2c bus */ -max2175_0: tuner@60 { - compatible = "maxim,max2175"; - reg = <0x60>; - clocks = <&maxim_xtal>; - maxim,refout-load = <10>; - - port { - max2175_0_ep: endpoint { - remote-endpoint = <&slave_rx_device>; - }; - }; - -}; +Maxim Integrated MAX2175 RF to Bits tuner +----------------------------------------- + +The MAX2175 IC is an advanced analog/digital hybrid-radio receiver with +RF to Bits® front-end designed for software-defined radio solutions. + +Required properties: +-------------------- +- compatible: "maxim,max2175" for MAX2175 RF-to-bits tuner. +- clocks: clock specifier. +- port: child port node corresponding to the I2S output, in accordance with + the video interface bindings defined in + Documentation/devicetree/bindings/media/video-interfaces.txt. The port + node must contain at least one endpoint. + +Optional properties: +-------------------- +- maxim,master : phandle to the master tuner if it is a slave. This + is used to define two tuners in diversity mode + (1 master, 1 slave). By default each tuner is an + individual master. +- maxim,refout-load : load capacitance value (in picofarads) on reference + output drive level. The possible load values are: + 0 (default - refout disabled) + 10 + 20 + 30 + 40 + 60 + 70 +- maxim,am-hiz-filter : empty property indicates the AM Hi-Z filter is used + in this hardware for AM antenna input. + +Example: +-------- + +Board specific DTS file + +/* Fixed XTAL clock node */ +maxim_xtal: clock { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <36864000>; +}; + +/* A tuner device instance under i2c bus */ +max2175_0: tuner@60 { + compatible = "maxim,max2175"; + reg = <0x60>; + clocks = <&maxim_xtal>; + maxim,refout-load = <10>; + + port { + max2175_0_ep: endpoint { + remote-endpoint = <&slave_rx_device>; + }; + }; + +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/i2c/ov7670.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/i2c/ov7670.txt index e81724bf82..2c972a56f3 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/i2c/ov7670.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/i2c/ov7670.txt @@ -1,55 +1,55 @@ -* Omnivision OV7670 CMOS sensor - -The Omnivision OV7670 sensor supports multiple resolutions output, such as -CIF, SVGA, UXGA. It also can support the YUV422/420, RGB565/555 or raw RGB -output formats. - -Required Properties: -- compatible: should be "ovti,ov7670" -- clocks: reference to the xclk input clock. -- clock-names: should be "xclk". - -Required Endpoint Properties: -- hsync-active: active state of the HSYNC signal, 0/1 for LOW/HIGH respectively. -- vsync-active: active state of the VSYNC signal, 0/1 for LOW/HIGH respectively. - -Optional Properties: -- reset-gpios: reference to the GPIO connected to the resetb pin, if any. - Active is low. -- powerdown-gpios: reference to the GPIO connected to the pwdn pin, if any. - Active is high. -- ov7670,pclk-hb-disable: a boolean property to suppress pixel clock output - signal during horizontal blankings. - -The device node must contain one 'port' child node with one 'endpoint' child -sub-node for its digital output video port, in accordance with the video -interface bindings defined in: -Documentation/devicetree/bindings/media/video-interfaces.txt. - -Example: - - i2c1: i2c@f0018000 { - ov7670: camera@21 { - compatible = "ovti,ov7670"; - reg = <0x21>; - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_pck0_as_isi_mck &pinctrl_sensor_power &pinctrl_sensor_reset>; - reset-gpios = <&pioE 11 GPIO_ACTIVE_LOW>; - powerdown-gpios = <&pioE 13 GPIO_ACTIVE_HIGH>; - clocks = <&pck0>; - clock-names = "xclk"; - assigned-clocks = <&pck0>; - assigned-clock-rates = <25000000>; - - ov7670,pclk-hb-disable; - - port { - ov7670_0: endpoint { - hsync-active = <0>; - vsync-active = <0>; - - remote-endpoint = <&isi_0>; - }; - }; - }; - }; +* Omnivision OV7670 CMOS sensor + +The Omnivision OV7670 sensor supports multiple resolutions output, such as +CIF, SVGA, UXGA. It also can support the YUV422/420, RGB565/555 or raw RGB +output formats. + +Required Properties: +- compatible: should be "ovti,ov7670" +- clocks: reference to the xclk input clock. +- clock-names: should be "xclk". + +Required Endpoint Properties: +- hsync-active: active state of the HSYNC signal, 0/1 for LOW/HIGH respectively. +- vsync-active: active state of the VSYNC signal, 0/1 for LOW/HIGH respectively. + +Optional Properties: +- reset-gpios: reference to the GPIO connected to the resetb pin, if any. + Active is low. +- powerdown-gpios: reference to the GPIO connected to the pwdn pin, if any. + Active is high. +- ov7670,pclk-hb-disable: a boolean property to suppress pixel clock output + signal during horizontal blankings. + +The device node must contain one 'port' child node with one 'endpoint' child +sub-node for its digital output video port, in accordance with the video +interface bindings defined in: +Documentation/devicetree/bindings/media/video-interfaces.txt. + +Example: + + i2c1: i2c@f0018000 { + ov7670: camera@21 { + compatible = "ovti,ov7670"; + reg = <0x21>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_pck0_as_isi_mck &pinctrl_sensor_power &pinctrl_sensor_reset>; + reset-gpios = <&pioE 11 GPIO_ACTIVE_LOW>; + powerdown-gpios = <&pioE 13 GPIO_ACTIVE_HIGH>; + clocks = <&pck0>; + clock-names = "xclk"; + assigned-clocks = <&pck0>; + assigned-clock-rates = <25000000>; + + ov7670,pclk-hb-disable; + + port { + ov7670_0: endpoint { + hsync-active = <0>; + vsync-active = <0>; + + remote-endpoint = <&isi_0>; + }; + }; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/i2c/ov7740.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/i2c/ov7740.txt index 75c854eb1b..af781c3a5f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/i2c/ov7740.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/i2c/ov7740.txt @@ -1,47 +1,47 @@ -* Omnivision OV7740 CMOS image sensor - -The Omnivision OV7740 image sensor supports multiple output image -size, such as VGA, and QVGA, CIF and any size smaller. It also -supports the RAW RGB and YUV output formats. - -The common video interfaces bindings (see video-interfaces.txt) should -be used to specify link to the image data receiver. The OV7740 device -node should contain one 'port' child node with an 'endpoint' subnode. - -Required Properties: -- compatible: "ovti,ov7740". -- reg: I2C slave address of the sensor. -- clocks: Reference to the xvclk input clock. -- clock-names: "xvclk". - -Optional Properties: -- reset-gpios: Rreference to the GPIO connected to the reset_b pin, - if any. Active low with pull-ip resistor. -- powerdown-gpios: Reference to the GPIO connected to the pwdn pin, - if any. Active high with pull-down resistor. - -Endpoint node mandatory properties: -- remote-endpoint: A phandle to the bus receiver's endpoint node. - -Example: - - i2c1: i2c@fc028000 { - ov7740: camera@21 { - compatible = "ovti,ov7740"; - reg = <0x21>; - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_sensor_power &pinctrl_sensor_reset>; - clocks = <&isc>; - clock-names = "xvclk"; - assigned-clocks = <&isc>; - assigned-clock-rates = <24000000>; - reset-gpios = <&pioA 43 GPIO_ACTIVE_LOW>; - powerdown-gpios = <&pioA 44 GPIO_ACTIVE_HIGH>; - - port { - ov7740_0: endpoint { - remote-endpoint = <&isc_0>; - }; - }; - }; - }; +* Omnivision OV7740 CMOS image sensor + +The Omnivision OV7740 image sensor supports multiple output image +size, such as VGA, and QVGA, CIF and any size smaller. It also +supports the RAW RGB and YUV output formats. + +The common video interfaces bindings (see video-interfaces.txt) should +be used to specify link to the image data receiver. The OV7740 device +node should contain one 'port' child node with an 'endpoint' subnode. + +Required Properties: +- compatible: "ovti,ov7740". +- reg: I2C slave address of the sensor. +- clocks: Reference to the xvclk input clock. +- clock-names: "xvclk". + +Optional Properties: +- reset-gpios: Rreference to the GPIO connected to the reset_b pin, + if any. Active low with pull-ip resistor. +- powerdown-gpios: Reference to the GPIO connected to the pwdn pin, + if any. Active high with pull-down resistor. + +Endpoint node mandatory properties: +- remote-endpoint: A phandle to the bus receiver's endpoint node. + +Example: + + i2c1: i2c@fc028000 { + ov7740: camera@21 { + compatible = "ovti,ov7740"; + reg = <0x21>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_sensor_power &pinctrl_sensor_reset>; + clocks = <&isc>; + clock-names = "xvclk"; + assigned-clocks = <&isc>; + assigned-clock-rates = <24000000>; + reset-gpios = <&pioA 43 GPIO_ACTIVE_LOW>; + powerdown-gpios = <&pioA 44 GPIO_ACTIVE_HIGH>; + + port { + ov7740_0: endpoint { + remote-endpoint = <&isc_0>; + }; + }; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/i2c/ovti,ov5647.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/i2c/ovti,ov5647.yaml index f9a7b69497..a2abed06a0 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/i2c/ovti,ov5647.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/i2c/ovti,ov5647.yaml @@ -1,75 +1,75 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/media/i2c/ovti,ov5647.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Omnivision OV5647 raw image sensor - -maintainers: - - Dave Stevenson - - Jacopo Mondi - -description: |- - The OV5647 is a raw image sensor with MIPI CSI-2 and CCP2 image data - interfaces and CCI (I2C compatible) control bus. - -properties: - compatible: - const: ovti,ov5647 - - reg: - description: I2C device address. - maxItems: 1 - - clocks: - description: Reference to the xclk clock. - maxItems: 1 - - pwdn-gpios: - description: Reference to the GPIO connected to the pwdn pin. Active high. - maxItems: 1 - - port: - $ref: /schemas/graph.yaml#/$defs/port-base - additionalProperties: false - - properties: - endpoint: - $ref: /schemas/media/video-interfaces.yaml# - unevaluatedProperties: false - - properties: - clock-noncontinuous: true - -required: - - compatible - - reg - - clocks - - port - -additionalProperties: false - -examples: - - | - #include - - i2c { - #address-cells = <1>; - #size-cells = <0>; - - ov5647: camera@36 { - compatible = "ovti,ov5647"; - reg = <0x36>; - clocks = <&camera_clk>; - pwdn-gpios = <&pioE 29 GPIO_ACTIVE_HIGH>; - - port { - camera_out: endpoint { - remote-endpoint = <&csi1_ep1>; - }; - }; - }; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/media/i2c/ovti,ov5647.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Omnivision OV5647 raw image sensor + +maintainers: + - Dave Stevenson + - Jacopo Mondi + +description: |- + The OV5647 is a raw image sensor with MIPI CSI-2 and CCP2 image data + interfaces and CCI (I2C compatible) control bus. + +properties: + compatible: + const: ovti,ov5647 + + reg: + description: I2C device address. + maxItems: 1 + + clocks: + description: Reference to the xclk clock. + maxItems: 1 + + pwdn-gpios: + description: Reference to the GPIO connected to the pwdn pin. Active high. + maxItems: 1 + + port: + $ref: /schemas/graph.yaml#/$defs/port-base + additionalProperties: false + + properties: + endpoint: + $ref: /schemas/media/video-interfaces.yaml# + unevaluatedProperties: false + + properties: + clock-noncontinuous: true + +required: + - compatible + - reg + - clocks + - port + +additionalProperties: false + +examples: + - | + #include + + i2c { + #address-cells = <1>; + #size-cells = <0>; + + ov5647: camera@36 { + compatible = "ovti,ov5647"; + reg = <0x36>; + clocks = <&camera_clk>; + pwdn-gpios = <&pioE 29 GPIO_ACTIVE_HIGH>; + + port { + camera_out: endpoint { + remote-endpoint = <&csi1_ep1>; + }; + }; + }; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/i2c/sony,imx274.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/i2c/sony,imx274.yaml index b8da6f8804..b397a730ee 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/i2c/sony,imx274.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/i2c/sony,imx274.yaml @@ -1,72 +1,72 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/media/i2c/sony,imx274.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Sony 1/2.5-Inch 8.51MP CMOS Digital Image Sensor - -maintainers: - - Leon Luo - -description: | - The Sony IMX274 is a 1/2.5-inch CMOS active pixel digital image sensor with an - active array size of 3864H x 2202V. It is programmable through I2C interface. - Image data is sent through MIPI CSI-2, which is configured as 4 lanes at 1440 - Mbps. - -properties: - compatible: - const: sony,imx274 - - reg: - const: 0x1a - - reset-gpios: - maxItems: 1 - - clocks: - maxItems: 1 - - clock-names: - const: inck - - vana-supply: - description: Sensor 2.8 V analog supply. - - vdig-supply: - description: Sensor 1.8 V digital core supply. - - vddl-supply: - description: Sensor digital IO 1.2 V supply. - - port: - $ref: /schemas/graph.yaml#/properties/port - -required: - - compatible - - reg - - port - -additionalProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - imx274: camera-sensor@1a { - compatible = "sony,imx274"; - reg = <0x1a>; - reset-gpios = <&gpio_sensor 0 0>; - - port { - sensor_out: endpoint { - remote-endpoint = <&csiss_in>; - }; - }; - }; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/media/i2c/sony,imx274.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Sony 1/2.5-Inch 8.51MP CMOS Digital Image Sensor + +maintainers: + - Leon Luo + +description: | + The Sony IMX274 is a 1/2.5-inch CMOS active pixel digital image sensor with an + active array size of 3864H x 2202V. It is programmable through I2C interface. + Image data is sent through MIPI CSI-2, which is configured as 4 lanes at 1440 + Mbps. + +properties: + compatible: + const: sony,imx274 + + reg: + const: 0x1a + + reset-gpios: + maxItems: 1 + + clocks: + maxItems: 1 + + clock-names: + const: inck + + vana-supply: + description: Sensor 2.8 V analog supply. + + vdig-supply: + description: Sensor 1.8 V digital core supply. + + vddl-supply: + description: Sensor digital IO 1.2 V supply. + + port: + $ref: /schemas/graph.yaml#/properties/port + +required: + - compatible + - reg + - port + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + imx274: camera-sensor@1a { + compatible = "sony,imx274"; + reg = <0x1a>; + reset-gpios = <&gpio_sensor 0 0>; + + port { + sensor_out: endpoint { + remote-endpoint = <&csiss_in>; + }; + }; + }; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/i2c/tc358743.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/i2c/tc358743.txt index e1d102bd83..59102edcf0 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/i2c/tc358743.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/i2c/tc358743.txt @@ -1,48 +1,48 @@ -* Toshiba TC358743 HDMI-RX to MIPI CSI2-TX Bridge - -The Toshiba TC358743 HDMI-RX to MIPI CSI2-TX (H2C) is a bridge that converts -a HDMI stream to MIPI CSI-2 TX. It is programmable through I2C. - -Required Properties: - -- compatible: value should be "toshiba,tc358743" -- clocks, clock-names: should contain a phandle link to the reference clock - source, the clock input is named "refclk". - -Optional Properties: - -- reset-gpios: gpio phandle GPIO connected to the reset pin -- interrupts: GPIO connected to the interrupt pin -- data-lanes: should be <1 2 3 4> for four-lane operation, - or <1 2> for two-lane operation -- clock-lanes: should be <0> -- clock-noncontinuous: Presence of this boolean property decides whether the - MIPI CSI-2 clock is continuous or non-continuous. -- link-frequencies: List of allowed link frequencies in Hz. Each frequency is - expressed as a 64-bit big-endian integer. The frequency - is half of the bps per lane due to DDR transmission. - -For further information on the MIPI CSI-2 endpoint node properties, see -Documentation/devicetree/bindings/media/video-interfaces.txt. - -Example: - - tc358743@f { - compatible = "toshiba,tc358743"; - reg = <0x0f>; - clocks = <&hdmi_osc>; - clock-names = "refclk"; - reset-gpios = <&gpio6 9 GPIO_ACTIVE_LOW>; - interrupt-parent = <&gpio2>; - interrupts = <5 IRQ_TYPE_LEVEL_HIGH>; - - port { - tc358743_out: endpoint { - remote-endpoint = <&mipi_csi2_in>; - data-lanes = <1 2 3 4>; - clock-lanes = <0>; - clock-noncontinuous; - link-frequencies = /bits/ 64 <297000000>; - }; - }; - }; +* Toshiba TC358743 HDMI-RX to MIPI CSI2-TX Bridge + +The Toshiba TC358743 HDMI-RX to MIPI CSI2-TX (H2C) is a bridge that converts +a HDMI stream to MIPI CSI-2 TX. It is programmable through I2C. + +Required Properties: + +- compatible: value should be "toshiba,tc358743" +- clocks, clock-names: should contain a phandle link to the reference clock + source, the clock input is named "refclk". + +Optional Properties: + +- reset-gpios: gpio phandle GPIO connected to the reset pin +- interrupts: GPIO connected to the interrupt pin +- data-lanes: should be <1 2 3 4> for four-lane operation, + or <1 2> for two-lane operation +- clock-lanes: should be <0> +- clock-noncontinuous: Presence of this boolean property decides whether the + MIPI CSI-2 clock is continuous or non-continuous. +- link-frequencies: List of allowed link frequencies in Hz. Each frequency is + expressed as a 64-bit big-endian integer. The frequency + is half of the bps per lane due to DDR transmission. + +For further information on the MIPI CSI-2 endpoint node properties, see +Documentation/devicetree/bindings/media/video-interfaces.txt. + +Example: + + tc358743@f { + compatible = "toshiba,tc358743"; + reg = <0x0f>; + clocks = <&hdmi_osc>; + clock-names = "refclk"; + reset-gpios = <&gpio6 9 GPIO_ACTIVE_LOW>; + interrupt-parent = <&gpio2>; + interrupts = <5 IRQ_TYPE_LEVEL_HIGH>; + + port { + tc358743_out: endpoint { + remote-endpoint = <&mipi_csi2_in>; + data-lanes = <1 2 3 4>; + clock-lanes = <0>; + clock-noncontinuous; + link-frequencies = /bits/ 64 <297000000>; + }; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/i2c/toshiba,et8ek8.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/i2c/toshiba,et8ek8.txt index ea7e7b3d78..e80d5891b7 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/i2c/toshiba,et8ek8.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/i2c/toshiba,et8ek8.txt @@ -1,55 +1,55 @@ -Toshiba et8ek8 5MP sensor - -Toshiba et8ek8 5MP sensor is an image sensor found in Nokia N900 device - -More detailed documentation can be found in -Documentation/devicetree/bindings/media/video-interfaces.txt . - - -Mandatory properties --------------------- - -- compatible: "toshiba,et8ek8" -- reg: I2C address (0x3e, or an alternative address) -- vana-supply: Analogue voltage supply (VANA), 2.8 volts -- clocks: External clock to the sensor -- clock-frequency: Frequency of the external clock to the sensor. Camera - driver will set this frequency on the external clock. The clock frequency is - a pre-determined frequency known to be suitable to the board. -- reset-gpios: XSHUTDOWN GPIO. The XSHUTDOWN signal is active low. The sensor - is in hardware standby mode when the signal is in the low state. - - -Optional properties -------------------- - -- flash-leds: See ../video-interfaces.txt -- lens-focus: See ../video-interfaces.txt - - -Endpoint node mandatory properties ----------------------------------- - -- remote-endpoint: A phandle to the bus receiver's endpoint node. - - -Example -------- - -&i2c3 { - clock-frequency = <400000>; - - cam1: camera@3e { - compatible = "toshiba,et8ek8"; - reg = <0x3e>; - vana-supply = <&vaux4>; - clocks = <&isp 0>; - clock-frequency = <9600000>; - reset-gpio = <&gpio4 6 GPIO_ACTIVE_HIGH>; /* 102 */ - port { - csi_cam1: endpoint { - remote-endpoint = <&csi_out1>; - }; - }; - }; -}; +Toshiba et8ek8 5MP sensor + +Toshiba et8ek8 5MP sensor is an image sensor found in Nokia N900 device + +More detailed documentation can be found in +Documentation/devicetree/bindings/media/video-interfaces.txt . + + +Mandatory properties +-------------------- + +- compatible: "toshiba,et8ek8" +- reg: I2C address (0x3e, or an alternative address) +- vana-supply: Analogue voltage supply (VANA), 2.8 volts +- clocks: External clock to the sensor +- clock-frequency: Frequency of the external clock to the sensor. Camera + driver will set this frequency on the external clock. The clock frequency is + a pre-determined frequency known to be suitable to the board. +- reset-gpios: XSHUTDOWN GPIO. The XSHUTDOWN signal is active low. The sensor + is in hardware standby mode when the signal is in the low state. + + +Optional properties +------------------- + +- flash-leds: See ../video-interfaces.txt +- lens-focus: See ../video-interfaces.txt + + +Endpoint node mandatory properties +---------------------------------- + +- remote-endpoint: A phandle to the bus receiver's endpoint node. + + +Example +------- + +&i2c3 { + clock-frequency = <400000>; + + cam1: camera@3e { + compatible = "toshiba,et8ek8"; + reg = <0x3e>; + vana-supply = <&vaux4>; + clocks = <&isp 0>; + clock-frequency = <9600000>; + reset-gpio = <&gpio4 6 GPIO_ACTIVE_HIGH>; /* 102 */ + port { + csi_cam1: endpoint { + remote-endpoint = <&csi_out1>; + }; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/i2c/tvp7002.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/i2c/tvp7002.txt index dbdffc9b88..5f28b5d9ab 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/i2c/tvp7002.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/i2c/tvp7002.txt @@ -1,53 +1,53 @@ -* Texas Instruments TV7002 video decoder - -The TVP7002 device supports digitizing of video and graphics signal in RGB and -YPbPr color space. - -Required Properties : -- compatible : Must be "ti,tvp7002" - -Optional Properties: -- hsync-active: HSYNC Polarity configuration for the bus. Default value when - this property is not specified is <0>. - -- vsync-active: VSYNC Polarity configuration for the bus. Default value when - this property is not specified is <0>. - -- pclk-sample: Clock polarity of the bus. Default value when this property is - not specified is <0>. - -- sync-on-green-active: Active state of Sync-on-green signal property of the - endpoint. - 0 = Normal Operation (Active Low, Default) - 1 = Inverted operation - -- field-even-active: Active-high Field ID output polarity control of the bus. - Under normal operation, the field ID output is set to logic 1 for an odd field - (field 1) and set to logic 0 for an even field (field 0). - 0 = Normal Operation (Active Low, Default) - 1 = FID output polarity inverted - -For further reading of port node refer Documentation/devicetree/bindings/media/ -video-interfaces.txt. - -Example: - - i2c0@1c22000 { - ... - ... - tvp7002@5c { - compatible = "ti,tvp7002"; - reg = <0x5c>; - - port { - tvp7002_1: endpoint { - hsync-active = <1>; - vsync-active = <1>; - pclk-sample = <0>; - sync-on-green-active = <1>; - field-even-active = <0>; - }; - }; - }; - ... - }; +* Texas Instruments TV7002 video decoder + +The TVP7002 device supports digitizing of video and graphics signal in RGB and +YPbPr color space. + +Required Properties : +- compatible : Must be "ti,tvp7002" + +Optional Properties: +- hsync-active: HSYNC Polarity configuration for the bus. Default value when + this property is not specified is <0>. + +- vsync-active: VSYNC Polarity configuration for the bus. Default value when + this property is not specified is <0>. + +- pclk-sample: Clock polarity of the bus. Default value when this property is + not specified is <0>. + +- sync-on-green-active: Active state of Sync-on-green signal property of the + endpoint. + 0 = Normal Operation (Active Low, Default) + 1 = Inverted operation + +- field-even-active: Active-high Field ID output polarity control of the bus. + Under normal operation, the field ID output is set to logic 1 for an odd field + (field 1) and set to logic 0 for an even field (field 0). + 0 = Normal Operation (Active Low, Default) + 1 = FID output polarity inverted + +For further reading of port node refer Documentation/devicetree/bindings/media/ +video-interfaces.txt. + +Example: + + i2c0@1c22000 { + ... + ... + tvp7002@5c { + compatible = "ti,tvp7002"; + reg = <0x5c>; + + port { + tvp7002_1: endpoint { + hsync-active = <1>; + vsync-active = <1>; + pclk-sample = <0>; + sync-on-green-active = <1>; + field-even-active = <0>; + }; + }; + }; + ... + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/img,e5010-jpeg-enc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/img,e5010-jpeg-enc.yaml index 59e632a282..085020cb9e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/img,e5010-jpeg-enc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/img,e5010-jpeg-enc.yaml @@ -1,75 +1,75 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/media/img,e5010-jpeg-enc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Imagination E5010 JPEG Encoder - -maintainers: - - Devarsh Thakkar - -description: | - The E5010 is a JPEG encoder from Imagination Technologies implemented on - TI's AM62A SoC. It is capable of real time encoding of YUV420 and YUV422 - inputs to JPEG and M-JPEG. It supports baseline JPEG Encoding up to - 8Kx8K resolution. - -properties: - compatible: - oneOf: - - items: - - const: ti,am62a-jpeg-enc - - const: img,e5010-jpeg-enc - - const: img,e5010-jpeg-enc - - reg: - items: - - description: The E5010 core register region - - description: The E5010 mmu register region - - reg-names: - items: - - const: core - - const: mmu - - power-domains: - maxItems: 1 - - resets: - maxItems: 1 - - clocks: - maxItems: 1 - - interrupts: - maxItems: 1 - -required: - - compatible - - reg - - reg-names - - interrupts - - clocks - -additionalProperties: false - -examples: - - | - #include - #include - #include - - soc { - #address-cells = <2>; - #size-cells = <2>; - jpeg-encoder@fd20000 { - compatible = "img,e5010-jpeg-enc"; - reg = <0x00 0xfd20000 0x00 0x100>, - <0x00 0xfd20200 0x00 0x200>; - reg-names = "core", "mmu"; - clocks = <&k3_clks 201 0>; - power-domains = <&k3_pds 201 TI_SCI_PD_EXCLUSIVE>; - interrupts = ; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/media/img,e5010-jpeg-enc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Imagination E5010 JPEG Encoder + +maintainers: + - Devarsh Thakkar + +description: | + The E5010 is a JPEG encoder from Imagination Technologies implemented on + TI's AM62A SoC. It is capable of real time encoding of YUV420 and YUV422 + inputs to JPEG and M-JPEG. It supports baseline JPEG Encoding up to + 8Kx8K resolution. + +properties: + compatible: + oneOf: + - items: + - const: ti,am62a-jpeg-enc + - const: img,e5010-jpeg-enc + - const: img,e5010-jpeg-enc + + reg: + items: + - description: The E5010 core register region + - description: The E5010 mmu register region + + reg-names: + items: + - const: core + - const: mmu + + power-domains: + maxItems: 1 + + resets: + maxItems: 1 + + clocks: + maxItems: 1 + + interrupts: + maxItems: 1 + +required: + - compatible + - reg + - reg-names + - interrupts + - clocks + +additionalProperties: false + +examples: + - | + #include + #include + #include + + soc { + #address-cells = <2>; + #size-cells = <2>; + jpeg-encoder@fd20000 { + compatible = "img,e5010-jpeg-enc"; + reg = <0x00 0xfd20000 0x00 0x100>, + <0x00 0xfd20200 0x00 0x200>; + reg-names = "core", "mmu"; + clocks = <&k3_clks 201 0>; + power-domains = <&k3_pds 201 TI_SCI_PD_EXCLUSIVE>; + interrupts = ; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/mediatek,mdp3-fg.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/mediatek,mdp3-fg.yaml index 0610e755ae..03f31b0090 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/mediatek,mdp3-fg.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/mediatek,mdp3-fg.yaml @@ -1,61 +1,61 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/media/mediatek,mdp3-fg.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: MediaTek Media Data Path 3 Film Grain - -maintainers: - - Matthias Brugger - - Moudy Ho - -description: - Film Grain (FG) is a Media Data Path 3 (MDP3) component used to add - the film grain according to the AOMedia Video 1 (AV1) standard. - -properties: - compatible: - enum: - - mediatek,mt8195-mdp3-fg - - reg: - maxItems: 1 - - mediatek,gce-client-reg: - description: - The register of display function block to be set by gce. There are 4 arguments, - such as gce node, subsys id, offset and register size. The subsys id that is - mapping to the register of display function blocks is defined in the gce header - include/dt-bindings/gce/-gce.h of each chips. - $ref: /schemas/types.yaml#/definitions/phandle-array - items: - items: - - description: phandle of GCE - - description: GCE subsys id - - description: register offset - - description: register size - maxItems: 1 - - clocks: - maxItems: 1 - -required: - - compatible - - reg - - mediatek,gce-client-reg - - clocks - -additionalProperties: false - -examples: - - | - #include - #include - - display@14002000 { - compatible = "mediatek,mt8195-mdp3-fg"; - reg = <0x14002000 0x1000>; - mediatek,gce-client-reg = <&gce1 SUBSYS_1400XXXX 0x2000 0x1000>; - clocks = <&vppsys0 CLK_VPP0_MDP_FG>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/media/mediatek,mdp3-fg.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: MediaTek Media Data Path 3 Film Grain + +maintainers: + - Matthias Brugger + - Moudy Ho + +description: + Film Grain (FG) is a Media Data Path 3 (MDP3) component used to add + the film grain according to the AOMedia Video 1 (AV1) standard. + +properties: + compatible: + enum: + - mediatek,mt8195-mdp3-fg + + reg: + maxItems: 1 + + mediatek,gce-client-reg: + description: + The register of display function block to be set by gce. There are 4 arguments, + such as gce node, subsys id, offset and register size. The subsys id that is + mapping to the register of display function blocks is defined in the gce header + include/dt-bindings/gce/-gce.h of each chips. + $ref: /schemas/types.yaml#/definitions/phandle-array + items: + items: + - description: phandle of GCE + - description: GCE subsys id + - description: register offset + - description: register size + maxItems: 1 + + clocks: + maxItems: 1 + +required: + - compatible + - reg + - mediatek,gce-client-reg + - clocks + +additionalProperties: false + +examples: + - | + #include + #include + + display@14002000 { + compatible = "mediatek,mt8195-mdp3-fg"; + reg = <0x14002000 0x1000>; + mediatek,gce-client-reg = <&gce1 SUBSYS_1400XXXX 0x2000 0x1000>; + clocks = <&vppsys0 CLK_VPP0_MDP_FG>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/mediatek,mdp3-hdr.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/mediatek,mdp3-hdr.yaml index c4bc53e6b2..d4609bba65 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/mediatek,mdp3-hdr.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/mediatek,mdp3-hdr.yaml @@ -1,61 +1,61 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/media/mediatek,mdp3-hdr.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: MediaTek Media Data Path 3 HDR - -maintainers: - - Matthias Brugger - - Moudy Ho - -description: - A Media Data Path 3 (MDP3) component used to perform conversion from - High Dynamic Range (HDR) to Standard Dynamic Range (SDR). - -properties: - compatible: - enum: - - mediatek,mt8195-mdp3-hdr - - reg: - maxItems: 1 - - mediatek,gce-client-reg: - description: - The register of display function block to be set by gce. There are 4 arguments, - such as gce node, subsys id, offset and register size. The subsys id that is - mapping to the register of display function blocks is defined in the gce header - include/dt-bindings/gce/-gce.h of each chips. - $ref: /schemas/types.yaml#/definitions/phandle-array - items: - items: - - description: phandle of GCE - - description: GCE subsys id - - description: register offset - - description: register size - maxItems: 1 - - clocks: - maxItems: 1 - -required: - - compatible - - reg - - mediatek,gce-client-reg - - clocks - -additionalProperties: false - -examples: - - | - #include - #include - - display@14004000 { - compatible = "mediatek,mt8195-mdp3-hdr"; - reg = <0x14004000 0x1000>; - mediatek,gce-client-reg = <&gce1 SUBSYS_1400XXXX 0x4000 0x1000>; - clocks = <&vppsys0 CLK_VPP0_MDP_HDR>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/media/mediatek,mdp3-hdr.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: MediaTek Media Data Path 3 HDR + +maintainers: + - Matthias Brugger + - Moudy Ho + +description: + A Media Data Path 3 (MDP3) component used to perform conversion from + High Dynamic Range (HDR) to Standard Dynamic Range (SDR). + +properties: + compatible: + enum: + - mediatek,mt8195-mdp3-hdr + + reg: + maxItems: 1 + + mediatek,gce-client-reg: + description: + The register of display function block to be set by gce. There are 4 arguments, + such as gce node, subsys id, offset and register size. The subsys id that is + mapping to the register of display function blocks is defined in the gce header + include/dt-bindings/gce/-gce.h of each chips. + $ref: /schemas/types.yaml#/definitions/phandle-array + items: + items: + - description: phandle of GCE + - description: GCE subsys id + - description: register offset + - description: register size + maxItems: 1 + + clocks: + maxItems: 1 + +required: + - compatible + - reg + - mediatek,gce-client-reg + - clocks + +additionalProperties: false + +examples: + - | + #include + #include + + display@14004000 { + compatible = "mediatek,mt8195-mdp3-hdr"; + reg = <0x14004000 0x1000>; + mediatek,gce-client-reg = <&gce1 SUBSYS_1400XXXX 0x4000 0x1000>; + clocks = <&vppsys0 CLK_VPP0_MDP_HDR>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/mediatek,mdp3-stitch.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/mediatek,mdp3-stitch.yaml index 4542d1ceee..d815bea291 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/mediatek,mdp3-stitch.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/mediatek,mdp3-stitch.yaml @@ -1,61 +1,61 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/media/mediatek,mdp3-stitch.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: MediaTek Media Data Path 3 STITCH - -maintainers: - - Matthias Brugger - - Moudy Ho - -description: - One of Media Data Path 3 (MDP3) components used to combine multiple video frame - with overlapping fields of view to produce a segmented panorame. - -properties: - compatible: - enum: - - mediatek,mt8195-mdp3-stitch - - reg: - maxItems: 1 - - mediatek,gce-client-reg: - description: - The register of display function block to be set by gce. There are 4 arguments, - such as gce node, subsys id, offset and register size. The subsys id that is - mapping to the register of display function blocks is defined in the gce header - include/dt-bindings/gce/-gce.h of each chips. - $ref: /schemas/types.yaml#/definitions/phandle-array - items: - items: - - description: phandle of GCE - - description: GCE subsys id - - description: register offset - - description: register size - maxItems: 1 - - clocks: - maxItems: 1 - -required: - - compatible - - reg - - mediatek,gce-client-reg - - clocks - -additionalProperties: false - -examples: - - | - #include - #include - - display@14003000 { - compatible = "mediatek,mt8195-mdp3-stitch"; - reg = <0x14003000 0x1000>; - mediatek,gce-client-reg = <&gce1 SUBSYS_1400XXXX 0x3000 0x1000>; - clocks = <&vppsys0 CLK_VPP0_STITCH>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/media/mediatek,mdp3-stitch.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: MediaTek Media Data Path 3 STITCH + +maintainers: + - Matthias Brugger + - Moudy Ho + +description: + One of Media Data Path 3 (MDP3) components used to combine multiple video frame + with overlapping fields of view to produce a segmented panorame. + +properties: + compatible: + enum: + - mediatek,mt8195-mdp3-stitch + + reg: + maxItems: 1 + + mediatek,gce-client-reg: + description: + The register of display function block to be set by gce. There are 4 arguments, + such as gce node, subsys id, offset and register size. The subsys id that is + mapping to the register of display function blocks is defined in the gce header + include/dt-bindings/gce/-gce.h of each chips. + $ref: /schemas/types.yaml#/definitions/phandle-array + items: + items: + - description: phandle of GCE + - description: GCE subsys id + - description: register offset + - description: register size + maxItems: 1 + + clocks: + maxItems: 1 + +required: + - compatible + - reg + - mediatek,gce-client-reg + - clocks + +additionalProperties: false + +examples: + - | + #include + #include + + display@14003000 { + compatible = "mediatek,mt8195-mdp3-stitch"; + reg = <0x14003000 0x1000>; + mediatek,gce-client-reg = <&gce1 SUBSYS_1400XXXX 0x3000 0x1000>; + clocks = <&vppsys0 CLK_VPP0_STITCH>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/mediatek,mdp3-tcc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/mediatek,mdp3-tcc.yaml index dabf83e2e2..14ea556d4f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/mediatek,mdp3-tcc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/mediatek,mdp3-tcc.yaml @@ -1,62 +1,62 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/media/mediatek,mdp3-tcc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: MediaTek Media Data Path 3 Tone Curve Conversion - -maintainers: - - Matthias Brugger - -description: - Tone Curve Conversion (TCC) is one of Media Profile Path 3 (MDP3) components. - It is used to handle the tone mapping of various gamma curves in order to - achieve HDR10 effects. This helps adapt the content to the color and - brightness range that standard display devices typically support. - -properties: - compatible: - enum: - - mediatek,mt8195-mdp3-tcc - - reg: - maxItems: 1 - - mediatek,gce-client-reg: - description: - The register of display function block to be set by gce. There are 4 arguments, - such as gce node, subsys id, offset and register size. The subsys id that is - mapping to the register of display function blocks is defined in the gce header - include/dt-bindings/gce/-gce.h of each chips. - $ref: /schemas/types.yaml#/definitions/phandle-array - items: - items: - - description: phandle of GCE - - description: GCE subsys id - - description: register offset - - description: register size - maxItems: 1 - - clocks: - maxItems: 1 - -required: - - compatible - - reg - - mediatek,gce-client-reg - - clocks - -additionalProperties: false - -examples: - - | - #include - #include - - display@1400b000 { - compatible = "mediatek,mt8195-mdp3-tcc"; - reg = <0x1400b000 0x1000>; - mediatek,gce-client-reg = <&gce1 SUBSYS_1400XXXX 0xb000 0x1000>; - clocks = <&vppsys0 CLK_VPP0_MDP_TCC>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/media/mediatek,mdp3-tcc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: MediaTek Media Data Path 3 Tone Curve Conversion + +maintainers: + - Matthias Brugger + +description: + Tone Curve Conversion (TCC) is one of Media Profile Path 3 (MDP3) components. + It is used to handle the tone mapping of various gamma curves in order to + achieve HDR10 effects. This helps adapt the content to the color and + brightness range that standard display devices typically support. + +properties: + compatible: + enum: + - mediatek,mt8195-mdp3-tcc + + reg: + maxItems: 1 + + mediatek,gce-client-reg: + description: + The register of display function block to be set by gce. There are 4 arguments, + such as gce node, subsys id, offset and register size. The subsys id that is + mapping to the register of display function blocks is defined in the gce header + include/dt-bindings/gce/-gce.h of each chips. + $ref: /schemas/types.yaml#/definitions/phandle-array + items: + items: + - description: phandle of GCE + - description: GCE subsys id + - description: register offset + - description: register size + maxItems: 1 + + clocks: + maxItems: 1 + +required: + - compatible + - reg + - mediatek,gce-client-reg + - clocks + +additionalProperties: false + +examples: + - | + #include + #include + + display@1400b000 { + compatible = "mediatek,mt8195-mdp3-tcc"; + reg = <0x1400b000 0x1000>; + mediatek,gce-client-reg = <&gce1 SUBSYS_1400XXXX 0xb000 0x1000>; + clocks = <&vppsys0 CLK_VPP0_MDP_TCC>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/mediatek,mdp3-tdshp.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/mediatek,mdp3-tdshp.yaml index c7436dc4b9..8ab7f2d8e1 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/mediatek,mdp3-tdshp.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/mediatek,mdp3-tdshp.yaml @@ -1,61 +1,61 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/media/mediatek,mdp3-tdshp.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: MediaTek Media Data Path 3 Two-Dimensional Sharpness - -maintainers: - - Matthias Brugger - - Moudy Ho - -description: - Two-Dimensional Sharpness (TDSHP) is a Media Profile Path 3 (MDP3) component - used to perform image edge sharpening and enhance vividness and contrast. - -properties: - compatible: - enum: - - mediatek,mt8195-mdp3-tdshp - - reg: - maxItems: 1 - - mediatek,gce-client-reg: - description: - The register of display function block to be set by gce. There are 4 arguments, - such as gce node, subsys id, offset and register size. The subsys id that is - mapping to the register of display function blocks is defined in the gce header - include/dt-bindings/gce/-gce.h of each chips. - $ref: /schemas/types.yaml#/definitions/phandle-array - items: - items: - - description: phandle of GCE - - description: GCE subsys id - - description: register offset - - description: register size - maxItems: 1 - - clocks: - maxItems: 1 - -required: - - compatible - - reg - - mediatek,gce-client-reg - - clocks - -additionalProperties: false - -examples: - - | - #include - #include - - display@14007000 { - compatible = "mediatek,mt8195-mdp3-tdshp"; - reg = <0x14007000 0x1000>; - mediatek,gce-client-reg = <&gce1 SUBSYS_1400XXXX 0x7000 0x1000>; - clocks = <&vppsys0 CLK_VPP0_MDP_TDSHP>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/media/mediatek,mdp3-tdshp.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: MediaTek Media Data Path 3 Two-Dimensional Sharpness + +maintainers: + - Matthias Brugger + - Moudy Ho + +description: + Two-Dimensional Sharpness (TDSHP) is a Media Profile Path 3 (MDP3) component + used to perform image edge sharpening and enhance vividness and contrast. + +properties: + compatible: + enum: + - mediatek,mt8195-mdp3-tdshp + + reg: + maxItems: 1 + + mediatek,gce-client-reg: + description: + The register of display function block to be set by gce. There are 4 arguments, + such as gce node, subsys id, offset and register size. The subsys id that is + mapping to the register of display function blocks is defined in the gce header + include/dt-bindings/gce/-gce.h of each chips. + $ref: /schemas/types.yaml#/definitions/phandle-array + items: + items: + - description: phandle of GCE + - description: GCE subsys id + - description: register offset + - description: register size + maxItems: 1 + + clocks: + maxItems: 1 + +required: + - compatible + - reg + - mediatek,gce-client-reg + - clocks + +additionalProperties: false + +examples: + - | + #include + #include + + display@14007000 { + compatible = "mediatek,mt8195-mdp3-tdshp"; + reg = <0x14007000 0x1000>; + mediatek,gce-client-reg = <&gce1 SUBSYS_1400XXXX 0x7000 0x1000>; + clocks = <&vppsys0 CLK_VPP0_MDP_TDSHP>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/mediatek-jpeg-encoder.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/mediatek-jpeg-encoder.yaml index 11515b53e1..83c020a673 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/mediatek-jpeg-encoder.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/mediatek-jpeg-encoder.yaml @@ -1,75 +1,75 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/media/mediatek-jpeg-encoder.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: MediaTek JPEG Encoder - -maintainers: - - Xia Jiang - -description: |- - MediaTek JPEG Encoder is the JPEG encode hardware present in MediaTek SoCs - -properties: - compatible: - items: - - enum: - - mediatek,mt2701-jpgenc - - mediatek,mt8183-jpgenc - - mediatek,mt8186-jpgenc - - mediatek,mt8188-jpgenc - - const: mediatek,mtk-jpgenc - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - maxItems: 1 - - clock-names: - items: - - const: jpgenc - - power-domains: - maxItems: 1 - - iommus: - minItems: 2 - maxItems: 4 - description: | - Points to the respective IOMMU block with master port as argument, see - Documentation/devicetree/bindings/iommu/mediatek,iommu.yaml for details. - Ports are according to the HW. - -required: - - compatible - - reg - - interrupts - - clocks - - clock-names - - power-domains - - iommus - -additionalProperties: false - -examples: - - | - #include - #include - #include - #include - jpegenc: jpegenc@1500a000 { - compatible = "mediatek,mt2701-jpgenc", - "mediatek,mtk-jpgenc"; - reg = <0x1500a000 0x1000>; - interrupts = ; - clocks = <&imgsys CLK_IMG_VENC>; - clock-names = "jpgenc"; - power-domains = <&scpsys MT2701_POWER_DOMAIN_ISP>; - iommus = <&iommu MT2701_M4U_PORT_JPGENC_RDMA>, - <&iommu MT2701_M4U_PORT_JPGENC_BSDMA>; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/media/mediatek-jpeg-encoder.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: MediaTek JPEG Encoder + +maintainers: + - Xia Jiang + +description: |- + MediaTek JPEG Encoder is the JPEG encode hardware present in MediaTek SoCs + +properties: + compatible: + items: + - enum: + - mediatek,mt2701-jpgenc + - mediatek,mt8183-jpgenc + - mediatek,mt8186-jpgenc + - mediatek,mt8188-jpgenc + - const: mediatek,mtk-jpgenc + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + + clock-names: + items: + - const: jpgenc + + power-domains: + maxItems: 1 + + iommus: + minItems: 2 + maxItems: 4 + description: | + Points to the respective IOMMU block with master port as argument, see + Documentation/devicetree/bindings/iommu/mediatek,iommu.yaml for details. + Ports are according to the HW. + +required: + - compatible + - reg + - interrupts + - clocks + - clock-names + - power-domains + - iommus + +additionalProperties: false + +examples: + - | + #include + #include + #include + #include + jpegenc: jpegenc@1500a000 { + compatible = "mediatek,mt2701-jpgenc", + "mediatek,mtk-jpgenc"; + reg = <0x1500a000 0x1000>; + interrupts = ; + clocks = <&imgsys CLK_IMG_VENC>; + clock-names = "jpgenc"; + power-domains = <&scpsys MT2701_POWER_DOMAIN_ISP>; + iommus = <&iommu MT2701_M4U_PORT_JPGENC_RDMA>, + <&iommu MT2701_M4U_PORT_JPGENC_BSDMA>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/nuvoton,npcm-vcd.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/nuvoton,npcm-vcd.yaml index 6297f56d49..c885f559d2 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/nuvoton,npcm-vcd.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/nuvoton,npcm-vcd.yaml @@ -1,72 +1,72 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/media/nuvoton,npcm-vcd.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Nuvoton NPCM Video Capture/Differentiation Engine - -maintainers: - - Joseph Liu - - Marvin Lin - -description: | - Video Capture/Differentiation Engine (VCD) present on Nuvoton NPCM SoCs. - -properties: - compatible: - enum: - - nuvoton,npcm750-vcd - - nuvoton,npcm845-vcd - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - resets: - maxItems: 1 - - nuvoton,sysgcr: - $ref: /schemas/types.yaml#/definitions/phandle - description: phandle to access GCR (Global Control Register) registers. - - nuvoton,sysgfxi: - $ref: /schemas/types.yaml#/definitions/phandle - description: phandle to access GFXI (Graphics Core Information) registers. - - nuvoton,ece: - $ref: /schemas/types.yaml#/definitions/phandle - description: phandle to access ECE (Encoding Compression Engine) registers. - - memory-region: - maxItems: 1 - description: - CMA pool to use for buffers allocation instead of the default CMA pool. - -required: - - compatible - - reg - - interrupts - - resets - - nuvoton,sysgcr - - nuvoton,sysgfxi - - nuvoton,ece - -additionalProperties: false - -examples: - - | - #include - #include - - vcd: vcd@f0810000 { - compatible = "nuvoton,npcm750-vcd"; - reg = <0xf0810000 0x10000>; - interrupts = ; - resets = <&rstc NPCM7XX_RESET_IPSRST2 NPCM7XX_RESET_VCD>; - nuvoton,sysgcr = <&gcr>; - nuvoton,sysgfxi = <&gfxi>; - nuvoton,ece = <&ece>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/media/nuvoton,npcm-vcd.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Nuvoton NPCM Video Capture/Differentiation Engine + +maintainers: + - Joseph Liu + - Marvin Lin + +description: | + Video Capture/Differentiation Engine (VCD) present on Nuvoton NPCM SoCs. + +properties: + compatible: + enum: + - nuvoton,npcm750-vcd + - nuvoton,npcm845-vcd + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + resets: + maxItems: 1 + + nuvoton,sysgcr: + $ref: /schemas/types.yaml#/definitions/phandle + description: phandle to access GCR (Global Control Register) registers. + + nuvoton,sysgfxi: + $ref: /schemas/types.yaml#/definitions/phandle + description: phandle to access GFXI (Graphics Core Information) registers. + + nuvoton,ece: + $ref: /schemas/types.yaml#/definitions/phandle + description: phandle to access ECE (Encoding Compression Engine) registers. + + memory-region: + maxItems: 1 + description: + CMA pool to use for buffers allocation instead of the default CMA pool. + +required: + - compatible + - reg + - interrupts + - resets + - nuvoton,sysgcr + - nuvoton,sysgfxi + - nuvoton,ece + +additionalProperties: false + +examples: + - | + #include + #include + + vcd: vcd@f0810000 { + compatible = "nuvoton,npcm750-vcd"; + reg = <0xf0810000 0x10000>; + interrupts = ; + resets = <&rstc NPCM7XX_RESET_IPSRST2 NPCM7XX_RESET_VCD>; + nuvoton,sysgcr = <&gcr>; + nuvoton,sysgfxi = <&gfxi>; + nuvoton,ece = <&ece>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/nxp,dw100.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/nxp,dw100.yaml index 086066fcbd..21910ff0e1 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/nxp,dw100.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/nxp,dw100.yaml @@ -1,69 +1,69 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/media/nxp,dw100.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: NXP i.MX8MP DW100 Dewarper core - -maintainers: - - Xavier Roumegue - -description: |- - The Dewarp Engine provides high-performance dewarp processing for the - correction of the distortion that is introduced in images produced by fisheye - and wide angle lenses. It is implemented with a line/tile-cache based - architecture. With configurable address mapping look up tables and per tile - processing, it successfully generates a corrected output image. - The engine can be used to perform scaling, cropping and pixel format - conversion. - -properties: - compatible: - enum: - - nxp,imx8mp-dw100 - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - items: - - description: The AXI clock - - description: The AHB clock - - clock-names: - items: - - const: axi - - const: ahb - - power-domains: - maxItems: 1 - -required: - - compatible - - reg - - interrupts - - clocks - - clock-names - - power-domains - -additionalProperties: false - -examples: - - | - #include - #include - #include - - dewarp: dwe@32e30000 { - compatible = "nxp,imx8mp-dw100"; - reg = <0x32e30000 0x10000>; - interrupts = ; - clocks = <&clk IMX8MP_CLK_MEDIA_AXI_ROOT>, - <&clk IMX8MP_CLK_MEDIA_APB_ROOT>; - clock-names = "axi", "ahb"; - power-domains = <&media_blk_ctrl IMX8MP_MEDIABLK_PD_DWE>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/media/nxp,dw100.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NXP i.MX8MP DW100 Dewarper core + +maintainers: + - Xavier Roumegue + +description: |- + The Dewarp Engine provides high-performance dewarp processing for the + correction of the distortion that is introduced in images produced by fisheye + and wide angle lenses. It is implemented with a line/tile-cache based + architecture. With configurable address mapping look up tables and per tile + processing, it successfully generates a corrected output image. + The engine can be used to perform scaling, cropping and pixel format + conversion. + +properties: + compatible: + enum: + - nxp,imx8mp-dw100 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + items: + - description: The AXI clock + - description: The AHB clock + + clock-names: + items: + - const: axi + - const: ahb + + power-domains: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + - clocks + - clock-names + - power-domains + +additionalProperties: false + +examples: + - | + #include + #include + #include + + dewarp: dwe@32e30000 { + compatible = "nxp,imx8mp-dw100"; + reg = <0x32e30000 0x10000>; + interrupts = ; + clocks = <&clk IMX8MP_CLK_MEDIA_AXI_ROOT>, + <&clk IMX8MP_CLK_MEDIA_APB_ROOT>; + clock-names = "axi", "ahb"; + power-domains = <&media_blk_ctrl IMX8MP_MEDIABLK_PD_DWE>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/nxp,imx7-csi.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/nxp,imx7-csi.yaml index d74c0a58ad..326284e151 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/nxp,imx7-csi.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/nxp,imx7-csi.yaml @@ -1,87 +1,87 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/media/nxp,imx7-csi.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: i.MX7 and i.MX8 CSI bridge (CMOS Sensor Interface) - -maintainers: - - Rui Miguel Silva - -description: | - This is device node for the CMOS Sensor Interface (CSI) which enables the - chip to connect directly to external CMOS image sensors. - -properties: - compatible: - oneOf: - - enum: - - fsl,imx8mq-csi - - fsl,imx7-csi - - fsl,imx6ul-csi - - items: - - const: fsl,imx8mm-csi - - const: fsl,imx7-csi - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - maxItems: 1 - - clock-names: - items: - - const: mclk - - power-domains: - maxItems: 1 - - port: - $ref: /schemas/graph.yaml#/properties/port - -required: - - compatible - - reg - - interrupts - - clocks - - clock-names - - port - -additionalProperties: false - -allOf: - - if: - properties: - compatible: - contains: - enum: - - fsl,imx8mm-csi - then: - required: - - power-domains - -examples: - - | - #include - #include - #include - - csi: csi@30710000 { - compatible = "fsl,imx7-csi"; - reg = <0x30710000 0x10000>; - interrupts = ; - clocks = <&clks IMX7D_CSI_MCLK_ROOT_CLK>; - clock-names = "mclk"; - - port { - csi_from_csi_mux: endpoint { - remote-endpoint = <&csi_mux_to_csi>; - }; - }; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/media/nxp,imx7-csi.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: i.MX7 and i.MX8 CSI bridge (CMOS Sensor Interface) + +maintainers: + - Rui Miguel Silva + +description: | + This is device node for the CMOS Sensor Interface (CSI) which enables the + chip to connect directly to external CMOS image sensors. + +properties: + compatible: + oneOf: + - enum: + - fsl,imx8mq-csi + - fsl,imx7-csi + - fsl,imx6ul-csi + - items: + - const: fsl,imx8mm-csi + - const: fsl,imx7-csi + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + + clock-names: + items: + - const: mclk + + power-domains: + maxItems: 1 + + port: + $ref: /schemas/graph.yaml#/properties/port + +required: + - compatible + - reg + - interrupts + - clocks + - clock-names + - port + +additionalProperties: false + +allOf: + - if: + properties: + compatible: + contains: + enum: + - fsl,imx8mm-csi + then: + required: + - power-domains + +examples: + - | + #include + #include + #include + + csi: csi@30710000 { + compatible = "fsl,imx7-csi"; + reg = <0x30710000 0x10000>; + interrupts = ; + clocks = <&clks IMX7D_CSI_MCLK_ROOT_CLK>; + clock-names = "mclk"; + + port { + csi_from_csi_mux: endpoint { + remote-endpoint = <&csi_mux_to_csi>; + }; + }; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/nxp,imx8mq-vpu.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/nxp,imx8mq-vpu.yaml index 194e8e84b8..3d58f02b0c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/nxp,imx8mq-vpu.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/nxp,imx8mq-vpu.yaml @@ -1,69 +1,69 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) - -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/media/nxp,imx8mq-vpu.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Hantro G1/G2 VPU codecs implemented on i.MX8M SoCs - -maintainers: - - Philipp Zabel - -description: - Hantro G1/G2 video decode accelerators present on i.MX8MQ SoCs. - -properties: - compatible: - oneOf: - - const: nxp,imx8mq-vpu - deprecated: true - - const: nxp,imx8mq-vpu-g1 - - const: nxp,imx8mq-vpu-g2 - - const: nxp,imx8mm-vpu-g1 - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - maxItems: 1 - - power-domains: - maxItems: 1 - -required: - - compatible - - reg - - interrupts - - clocks - -additionalProperties: false - -examples: - - | - #include - #include - #include - - vpu_g1: video-codec@38300000 { - compatible = "nxp,imx8mq-vpu-g1"; - reg = <0x38300000 0x10000>; - interrupts = ; - clocks = <&clk IMX8MQ_CLK_VPU_G1_ROOT>; - power-domains = <&vpu_blk_ctrl IMX8MQ_VPUBLK_PD_G1>; - }; - - | - #include - #include - #include - - vpu_g2: video-codec@38300000 { - compatible = "nxp,imx8mq-vpu-g2"; - reg = <0x38310000 0x10000>; - interrupts = ; - clocks = <&clk IMX8MQ_CLK_VPU_G2_ROOT>; - power-domains = <&vpu_blk_ctrl IMX8MQ_VPUBLK_PD_G2>; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) + +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/media/nxp,imx8mq-vpu.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Hantro G1/G2 VPU codecs implemented on i.MX8M SoCs + +maintainers: + - Philipp Zabel + +description: + Hantro G1/G2 video decode accelerators present on i.MX8MQ SoCs. + +properties: + compatible: + oneOf: + - const: nxp,imx8mq-vpu + deprecated: true + - const: nxp,imx8mq-vpu-g1 + - const: nxp,imx8mq-vpu-g2 + - const: nxp,imx8mm-vpu-g1 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + + power-domains: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + - clocks + +additionalProperties: false + +examples: + - | + #include + #include + #include + + vpu_g1: video-codec@38300000 { + compatible = "nxp,imx8mq-vpu-g1"; + reg = <0x38300000 0x10000>; + interrupts = ; + clocks = <&clk IMX8MQ_CLK_VPU_G1_ROOT>; + power-domains = <&vpu_blk_ctrl IMX8MQ_VPUBLK_PD_G1>; + }; + - | + #include + #include + #include + + vpu_g2: video-codec@38300000 { + compatible = "nxp,imx8mq-vpu-g2"; + reg = <0x38310000 0x10000>; + interrupts = ; + clocks = <&clk IMX8MQ_CLK_VPU_G2_ROOT>; + power-domains = <&vpu_blk_ctrl IMX8MQ_VPUBLK_PD_G2>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/raspberrypi,pispbe.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/raspberrypi,pispbe.yaml index 7e46408ac5..1fc62a1d8e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/raspberrypi,pispbe.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/raspberrypi,pispbe.yaml @@ -1,63 +1,63 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/media/raspberrypi,pispbe.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Raspberry Pi PiSP Image Signal Processor (ISP) Back End - -maintainers: - - Raspberry Pi Kernel Maintenance - - Jacopo Mondi - -description: | - The Raspberry Pi PiSP Image Signal Processor (ISP) Back End is an image - processor that fetches images in Bayer or Grayscale format from DRAM memory - in tiles and produces images consumable by applications. - - The full ISP documentation is available at - https://datasheets.raspberrypi.com/camera/raspberry-pi-image-signal-processor-specification.pdf - -properties: - compatible: - items: - - enum: - - brcm,bcm2712-pispbe - - const: raspberrypi,pispbe - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - maxItems: 1 - - iommus: - maxItems: 1 - -required: - - compatible - - reg - - interrupts - - clocks - -additionalProperties: false - -examples: - - | - #include - - soc { - #address-cells = <2>; - #size-cells = <2>; - - isp@880000 { - compatible = "brcm,bcm2712-pispbe", "raspberrypi,pispbe"; - reg = <0x10 0x00880000 0x0 0x4000>; - interrupts = ; - clocks = <&firmware_clocks 7>; - iommus = <&iommu2>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/media/raspberrypi,pispbe.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Raspberry Pi PiSP Image Signal Processor (ISP) Back End + +maintainers: + - Raspberry Pi Kernel Maintenance + - Jacopo Mondi + +description: | + The Raspberry Pi PiSP Image Signal Processor (ISP) Back End is an image + processor that fetches images in Bayer or Grayscale format from DRAM memory + in tiles and produces images consumable by applications. + + The full ISP documentation is available at + https://datasheets.raspberrypi.com/camera/raspberry-pi-image-signal-processor-specification.pdf + +properties: + compatible: + items: + - enum: + - brcm,bcm2712-pispbe + - const: raspberrypi,pispbe + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + + iommus: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + - clocks + +additionalProperties: false + +examples: + - | + #include + + soc { + #address-cells = <2>; + #size-cells = <2>; + + isp@880000 { + compatible = "brcm,bcm2712-pispbe", "raspberrypi,pispbe"; + reg = <0x10 0x00880000 0x0 0x4000>; + interrupts = ; + clocks = <&firmware_clocks 7>; + iommus = <&iommu2>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/renesas,ceu.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/renesas,ceu.yaml index 19001738f3..d527fc42c3 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/renesas,ceu.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/renesas,ceu.yaml @@ -1,82 +1,82 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/media/renesas,ceu.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Renesas Capture Engine Unit (CEU) - -maintainers: - - Jacopo Mondi - - linux-renesas-soc@vger.kernel.org - -description: |+ - The Capture Engine Unit is the image capture interface found in the Renesas SH - Mobile, R-Mobile and RZ SoCs. The interface supports a single parallel input - with data bus width of 8 or 16 bits. - -properties: - compatible: - enum: - - renesas,r7s72100-ceu - - renesas,r8a7740-ceu - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - maxItems: 1 - - power-domains: - maxItems: 1 - - port: - $ref: /schemas/graph.yaml#/$defs/port-base - unevaluatedProperties: false - - properties: - endpoint: - $ref: video-interfaces.yaml# - unevaluatedProperties: false - - properties: - hsync-active: true - vsync-active: true - field-even-active: false - bus-width: - enum: [8, 16] - default: 8 - -required: - - compatible - - reg - - interrupts - - clocks - - power-domains - - port - -additionalProperties: false - -examples: - - | - #include - #include - - ceu: ceu@e8210000 { - reg = <0xe8210000 0x209c>; - compatible = "renesas,r7s72100-ceu"; - interrupts = ; - clocks = <&mstp6_clks R7S72100_CLK_CEU>; - power-domains = <&cpg_clocks>; - - port { - ceu_in: endpoint { - remote-endpoint = <&ov7670_out>; - hsync-active = <1>; - vsync-active = <0>; - }; - }; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/media/renesas,ceu.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Renesas Capture Engine Unit (CEU) + +maintainers: + - Jacopo Mondi + - linux-renesas-soc@vger.kernel.org + +description: |+ + The Capture Engine Unit is the image capture interface found in the Renesas SH + Mobile, R-Mobile and RZ SoCs. The interface supports a single parallel input + with data bus width of 8 or 16 bits. + +properties: + compatible: + enum: + - renesas,r7s72100-ceu + - renesas,r8a7740-ceu + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + + power-domains: + maxItems: 1 + + port: + $ref: /schemas/graph.yaml#/$defs/port-base + unevaluatedProperties: false + + properties: + endpoint: + $ref: video-interfaces.yaml# + unevaluatedProperties: false + + properties: + hsync-active: true + vsync-active: true + field-even-active: false + bus-width: + enum: [8, 16] + default: 8 + +required: + - compatible + - reg + - interrupts + - clocks + - power-domains + - port + +additionalProperties: false + +examples: + - | + #include + #include + + ceu: ceu@e8210000 { + reg = <0xe8210000 0x209c>; + compatible = "renesas,r7s72100-ceu"; + interrupts = ; + clocks = <&mstp6_clks R7S72100_CLK_CEU>; + power-domains = <&cpg_clocks>; + + port { + ceu_in: endpoint { + remote-endpoint = <&ov7670_out>; + hsync-active = <1>; + vsync-active = <0>; + }; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/renesas,fdp1.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/renesas,fdp1.yaml index ba089bc863..2a27a7296f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/renesas,fdp1.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/renesas,fdp1.yaml @@ -1,69 +1,69 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/media/renesas,fdp1.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Renesas R-Car Fine Display Processor (FDP1) - -maintainers: - - Laurent Pinchart - -description: - The FDP1 is a de-interlacing module which converts interlaced video to - progressive video. It is capable of performing pixel format conversion - between YCbCr/YUV formats and RGB formats. Only YCbCr/YUV formats are - supported as an input to the module. - -properties: - compatible: - enum: - - renesas,fdp1 - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - maxItems: 1 - - power-domains: - maxItems: 1 - - resets: - maxItems: 1 - - renesas,fcp: - $ref: /schemas/types.yaml#/definitions/phandle - description: - A phandle referencing the FCP that handles memory accesses for the FDP1. - Not allowed on R-Car Gen2, mandatory on R-Car Gen3. - -required: - - compatible - - reg - - interrupts - - clocks - - power-domains - - resets - -additionalProperties: false - -examples: - - | - #include - #include - #include - - fdp1@fe940000 { - compatible = "renesas,fdp1"; - reg = <0xfe940000 0x2400>; - interrupts = ; - clocks = <&cpg CPG_MOD 119>; - power-domains = <&sysc R8A7795_PD_A3VP>; - resets = <&cpg 119>; - renesas,fcp = <&fcpf0>; - }; -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/media/renesas,fdp1.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Renesas R-Car Fine Display Processor (FDP1) + +maintainers: + - Laurent Pinchart + +description: + The FDP1 is a de-interlacing module which converts interlaced video to + progressive video. It is capable of performing pixel format conversion + between YCbCr/YUV formats and RGB formats. Only YCbCr/YUV formats are + supported as an input to the module. + +properties: + compatible: + enum: + - renesas,fdp1 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + + power-domains: + maxItems: 1 + + resets: + maxItems: 1 + + renesas,fcp: + $ref: /schemas/types.yaml#/definitions/phandle + description: + A phandle referencing the FCP that handles memory accesses for the FDP1. + Not allowed on R-Car Gen2, mandatory on R-Car Gen3. + +required: + - compatible + - reg + - interrupts + - clocks + - power-domains + - resets + +additionalProperties: false + +examples: + - | + #include + #include + #include + + fdp1@fe940000 { + compatible = "renesas,fdp1"; + reg = <0xfe940000 0x2400>; + interrupts = ; + clocks = <&cpg CPG_MOD 119>; + power-domains = <&sysc R8A7795_PD_A3VP>; + resets = <&cpg 119>; + renesas,fcp = <&fcpf0>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/renesas,imr.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/renesas,imr.yaml index 64b90a8e79..512f57417f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/renesas,imr.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/renesas,imr.yaml @@ -1,67 +1,67 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/media/renesas,imr.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Renesas R-Car Image Renderer (Distortion Correction Engine) - -maintainers: - - Sergei Shtylyov - -description: | - The image renderer, or the distortion correction engine, is a drawing - processor with a simple instruction system capable of referencing video - capture data or data in an external memory as 2D texture data and performing - texture mapping and drawing with respect to any shape that is split into - triangular objects. - - The image renderer light extended 4 (IMR-LX4) is found in R-Car Gen3 SoCs. - -properties: - compatible: - items: - - enum: - - renesas,r8a7795-imr-lx4 # R-Car H3 - - renesas,r8a7796-imr-lx4 # R-Car M3-W - - const: renesas,imr-lx4 # R-Car Gen3 - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - maxItems: 1 - - power-domains: - maxItems: 1 - - resets: - maxItems: 1 - -required: - - compatible - - reg - - interrupts - - clocks - - power-domains - - resets - -additionalProperties: false - -examples: - - | - #include - #include - #include - - imr-lx4@fe860000 { - compatible = "renesas,r8a7795-imr-lx4", "renesas,imr-lx4"; - reg = <0xfe860000 0x2000>; - interrupts = ; - clocks = <&cpg CPG_MOD 823>; - power-domains = <&sysc R8A7795_PD_A3VC>; - resets = <&cpg 823>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/media/renesas,imr.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Renesas R-Car Image Renderer (Distortion Correction Engine) + +maintainers: + - Sergei Shtylyov + +description: | + The image renderer, or the distortion correction engine, is a drawing + processor with a simple instruction system capable of referencing video + capture data or data in an external memory as 2D texture data and performing + texture mapping and drawing with respect to any shape that is split into + triangular objects. + + The image renderer light extended 4 (IMR-LX4) is found in R-Car Gen3 SoCs. + +properties: + compatible: + items: + - enum: + - renesas,r8a7795-imr-lx4 # R-Car H3 + - renesas,r8a7796-imr-lx4 # R-Car M3-W + - const: renesas,imr-lx4 # R-Car Gen3 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + + power-domains: + maxItems: 1 + + resets: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + - clocks + - power-domains + - resets + +additionalProperties: false + +examples: + - | + #include + #include + #include + + imr-lx4@fe860000 { + compatible = "renesas,r8a7795-imr-lx4", "renesas,imr-lx4"; + reg = <0xfe860000 0x2000>; + interrupts = ; + clocks = <&cpg CPG_MOD 823>; + power-domains = <&sysc R8A7795_PD_A3VC>; + resets = <&cpg 823>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/renesas,jpu.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/renesas,jpu.yaml index 55d7f5f631..2f55968e86 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/renesas,jpu.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/renesas,jpu.yaml @@ -1,65 +1,65 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/media/renesas,jpu.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Renesas JPEG Processing Unit - -maintainers: - - Mikhail Ulyanov - -description: - The JPEG processing unit (JPU) incorporates the JPEG codec with an encoding - and decoding function conforming to the JPEG baseline process, so that the - JPU can encode image data and decode JPEG data quickly. - -properties: - compatible: - items: - - enum: - - renesas,jpu-r8a7790 # R-Car H2 - - renesas,jpu-r8a7791 # R-Car M2-W - - renesas,jpu-r8a7792 # R-Car V2H - - renesas,jpu-r8a7793 # R-Car M2-N - - const: renesas,rcar-gen2-jpu # R-Car Gen2 - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - maxItems: 1 - - power-domains: - maxItems: 1 - - resets: - maxItems: 1 - -required: - - compatible - - reg - - interrupts - - clocks - - power-domains - - resets - -additionalProperties: false - -examples: - - | - #include - #include - #include - - jpeg-codec@fe980000 { - compatible = "renesas,jpu-r8a7790", "renesas,rcar-gen2-jpu"; - reg = <0xfe980000 0x10300>; - interrupts = ; - clocks = <&cpg CPG_MOD 106>; - power-domains = <&sysc R8A7790_PD_ALWAYS_ON>; - resets = <&cpg 106>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/media/renesas,jpu.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Renesas JPEG Processing Unit + +maintainers: + - Mikhail Ulyanov + +description: + The JPEG processing unit (JPU) incorporates the JPEG codec with an encoding + and decoding function conforming to the JPEG baseline process, so that the + JPU can encode image data and decode JPEG data quickly. + +properties: + compatible: + items: + - enum: + - renesas,jpu-r8a7790 # R-Car H2 + - renesas,jpu-r8a7791 # R-Car M2-W + - renesas,jpu-r8a7792 # R-Car V2H + - renesas,jpu-r8a7793 # R-Car M2-N + - const: renesas,rcar-gen2-jpu # R-Car Gen2 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + + power-domains: + maxItems: 1 + + resets: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + - clocks + - power-domains + - resets + +additionalProperties: false + +examples: + - | + #include + #include + #include + + jpeg-codec@fe980000 { + compatible = "renesas,jpu-r8a7790", "renesas,rcar-gen2-jpu"; + reg = <0xfe980000 0x10300>; + interrupts = ; + clocks = <&cpg CPG_MOD 106>; + power-domains = <&sysc R8A7790_PD_ALWAYS_ON>; + resets = <&cpg 106>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/rockchip,rk3568-vepu.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/rockchip,rk3568-vepu.yaml index 0306cf232c..947ad699cc 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/rockchip,rk3568-vepu.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/rockchip,rk3568-vepu.yaml @@ -1,70 +1,70 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) - -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/media/rockchip,rk3568-vepu.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Hantro G1 VPU encoders implemented on Rockchip SoCs - -maintainers: - - Nicolas Frattaroli - -description: - Hantro G1 video encode-only accelerators present on Rockchip SoCs. - -properties: - compatible: - enum: - - rockchip,rk3568-vepu - - rockchip,rk3588-vepu121 - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - maxItems: 2 - - clock-names: - items: - - const: aclk - - const: hclk - - power-domains: - maxItems: 1 - - iommus: - maxItems: 1 - -required: - - compatible - - reg - - interrupts - - clocks - - clock-names - -additionalProperties: false - -examples: - - | - #include - #include - #include - - bus { - #address-cells = <2>; - #size-cells = <2>; - - vepu: video-codec@fdee0000 { - compatible = "rockchip,rk3568-vepu"; - reg = <0x0 0xfdee0000 0x0 0x800>; - interrupts = ; - clocks = <&cru ACLK_JENC>, <&cru HCLK_JENC>; - clock-names = "aclk", "hclk"; - iommus = <&vepu_mmu>; - power-domains = <&power RK3568_PD_RGA>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) + +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/media/rockchip,rk3568-vepu.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Hantro G1 VPU encoders implemented on Rockchip SoCs + +maintainers: + - Nicolas Frattaroli + +description: + Hantro G1 video encode-only accelerators present on Rockchip SoCs. + +properties: + compatible: + enum: + - rockchip,rk3568-vepu + - rockchip,rk3588-vepu121 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 2 + + clock-names: + items: + - const: aclk + - const: hclk + + power-domains: + maxItems: 1 + + iommus: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + - clocks + - clock-names + +additionalProperties: false + +examples: + - | + #include + #include + #include + + bus { + #address-cells = <2>; + #size-cells = <2>; + + vepu: video-codec@fdee0000 { + compatible = "rockchip,rk3568-vepu"; + reg = <0x0 0xfdee0000 0x0 0x800>; + interrupts = ; + clocks = <&cru ACLK_JENC>, <&cru HCLK_JENC>; + clock-names = "aclk", "hclk"; + iommus = <&vepu_mmu>; + power-domains = <&power RK3568_PD_RGA>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/samsung,exynos4212-fimc-lite.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/samsung,exynos4212-fimc-lite.yaml index 457f815366..f80eca0a4f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/samsung,exynos4212-fimc-lite.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/samsung,exynos4212-fimc-lite.yaml @@ -1,63 +1,63 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/media/samsung,exynos4212-fimc-lite.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Samsung Exynos SoC series camera host interface (FIMC-LITE) - -maintainers: - - Krzysztof Kozlowski - - Sylwester Nawrocki - -description: - Each FIMC device should have an alias in the aliases node, in the form of - fimc-lite, where is an integer specifying the IP block instance. - -properties: - compatible: - enum: - - samsung,exynos4212-fimc-lite - - samsung,exynos5250-fimc-lite - - reg: - maxItems: 1 - - clocks: - maxItems: 1 - - clock-names: - items: - - const: flite - - interrupts: - maxItems: 1 - - iommus: - maxItems: 1 - - power-domains: - maxItems: 1 - -required: - - compatible - - reg - - clocks - - clock-names - - interrupts - -additionalProperties: false - -examples: - - | - #include - #include - fimc-lite@12390000 { - compatible = "samsung,exynos4212-fimc-lite"; - reg = <0x12390000 0x1000>; - clocks = <&isp_clock CLK_ISP_FIMC_LITE0>; - clock-names = "flite"; - interrupts = ; - power-domains = <&pd_isp>; - iommus = <&sysmmu_fimc_lite0>; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/media/samsung,exynos4212-fimc-lite.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Samsung Exynos SoC series camera host interface (FIMC-LITE) + +maintainers: + - Krzysztof Kozlowski + - Sylwester Nawrocki + +description: + Each FIMC device should have an alias in the aliases node, in the form of + fimc-lite, where is an integer specifying the IP block instance. + +properties: + compatible: + enum: + - samsung,exynos4212-fimc-lite + - samsung,exynos5250-fimc-lite + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + clock-names: + items: + - const: flite + + interrupts: + maxItems: 1 + + iommus: + maxItems: 1 + + power-domains: + maxItems: 1 + +required: + - compatible + - reg + - clocks + - clock-names + - interrupts + +additionalProperties: false + +examples: + - | + #include + #include + fimc-lite@12390000 { + compatible = "samsung,exynos4212-fimc-lite"; + reg = <0x12390000 0x1000>; + clocks = <&isp_clock CLK_ISP_FIMC_LITE0>; + clock-names = "flite"; + interrupts = ; + power-domains = <&pd_isp>; + iommus = <&sysmmu_fimc_lite0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/st,stm32-dma2d.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/st,stm32-dma2d.yaml index 38de6ff1d5..4afa4a24b8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/st,stm32-dma2d.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/st,stm32-dma2d.yaml @@ -1,71 +1,71 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/media/st,stm32-dma2d.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: STMicroelectronics STM32 Chrom-Art Accelerator DMA2D - -description: - Chrom-ART Accelerator(DMA2D), graphical hardware accelerator - enabling enhanced graphical user interface with minimum CPU load - - It can perform the following operations. - - - Filling a part or the whole of a destination image with a specific color. - - Copying a part or the whole of a source image into a part or the whole of - a destination image. - - Copying a part or the whole of a source image into a part or the whole of - a destination image with a pixel format conversion. - - Blending a part and/or two complete source images with different pixel - format and copy the result into a part or the whole of a destination image - with a different color format. (TODO) - - -maintainers: - - Dillon Min - -properties: - compatible: - const: st,stm32-dma2d - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - maxItems: 1 - - clock-names: - items: - - const: dma2d - - resets: - maxItems: 1 - -required: - - compatible - - reg - - interrupts - - clocks - - clock-names - - resets - -additionalProperties: false - -examples: - - | - #include - #include - dma2d: dma2d@4002b000 { - compatible = "st,stm32-dma2d"; - reg = <0x4002b000 0xc00>; - interrupts = <90>; - resets = <&rcc STM32F4_AHB1_RESET(DMA2D)>; - clocks = <&rcc 0 STM32F4_AHB1_CLOCK(DMA2D)>; - clock-names = "dma2d"; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/media/st,stm32-dma2d.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: STMicroelectronics STM32 Chrom-Art Accelerator DMA2D + +description: + Chrom-ART Accelerator(DMA2D), graphical hardware accelerator + enabling enhanced graphical user interface with minimum CPU load + + It can perform the following operations. + + - Filling a part or the whole of a destination image with a specific color. + - Copying a part or the whole of a source image into a part or the whole of + a destination image. + - Copying a part or the whole of a source image into a part or the whole of + a destination image with a pixel format conversion. + - Blending a part and/or two complete source images with different pixel + format and copy the result into a part or the whole of a destination image + with a different color format. (TODO) + + +maintainers: + - Dillon Min + +properties: + compatible: + const: st,stm32-dma2d + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + + clock-names: + items: + - const: dma2d + + resets: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + - clocks + - clock-names + - resets + +additionalProperties: false + +examples: + - | + #include + #include + dma2d: dma2d@4002b000 { + compatible = "st,stm32-dma2d"; + reg = <0x4002b000 0xc00>; + interrupts = <90>; + resets = <&rcc STM32F4_AHB1_RESET(DMA2D)>; + clocks = <&rcc 0 STM32F4_AHB1_CLOCK(DMA2D)>; + clock-names = "dma2d"; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/ti,vpe.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/ti,vpe.yaml index 483a16f430..7fa8a367ed 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/ti,vpe.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/ti,vpe.yaml @@ -1,64 +1,64 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/media/ti,vpe.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Texas Instruments DRA7x Video Processing Engine (VPE) - -maintainers: - - Benoit Parrot - -description: |- - The Video Processing Engine (VPE) is a key component for image post - processing applications. VPE consist of a single memory to memory - path which can perform chroma up/down sampling, deinterlacing, - scaling and color space conversion. - -properties: - compatible: - const: ti,dra7-vpe - - reg: - items: - - description: The VPE main register region - - description: Scaler (SC) register region - - description: Color Space Conversion (CSC) register region - - description: Video Port Direct Memory Access (VPDMA) register region - - reg-names: - items: - - const: vpe_top - - const: sc - - const: csc - - const: vpdma - - interrupts: - maxItems: 1 - -required: - - compatible - - reg - - reg-names - - interrupts - -additionalProperties: false - -examples: - - | - #include - - vpe: vpe@489d0000 { - compatible = "ti,dra7-vpe"; - reg = <0x489d0000 0x120>, - <0x489d0700 0x80>, - <0x489d5700 0x18>, - <0x489dd000 0x400>; - reg-names = "vpe_top", - "sc", - "csc", - "vpdma"; - interrupts = ; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/media/ti,vpe.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Texas Instruments DRA7x Video Processing Engine (VPE) + +maintainers: + - Benoit Parrot + +description: |- + The Video Processing Engine (VPE) is a key component for image post + processing applications. VPE consist of a single memory to memory + path which can perform chroma up/down sampling, deinterlacing, + scaling and color space conversion. + +properties: + compatible: + const: ti,dra7-vpe + + reg: + items: + - description: The VPE main register region + - description: Scaler (SC) register region + - description: Color Space Conversion (CSC) register region + - description: Video Port Direct Memory Access (VPDMA) register region + + reg-names: + items: + - const: vpe_top + - const: sc + - const: csc + - const: vpdma + + interrupts: + maxItems: 1 + +required: + - compatible + - reg + - reg-names + - interrupts + +additionalProperties: false + +examples: + - | + #include + + vpe: vpe@489d0000 { + compatible = "ti,dra7-vpe"; + reg = <0x489d0000 0x120>, + <0x489d0700 0x80>, + <0x489d5700 0x18>, + <0x489dd000 0x400>; + reg-names = "vpe_top", + "sc", + "csc", + "vpdma"; + interrupts = ; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/ti-am437x-vpfe.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/ti-am437x-vpfe.txt index cfcc4a6dc9..3932e76655 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/ti-am437x-vpfe.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/ti-am437x-vpfe.txt @@ -1,61 +1,61 @@ -Texas Instruments AM437x CAMERA (VPFE) --------------------------------------- - -The Video Processing Front End (VPFE) is a key component for image capture -applications. The capture module provides the system interface and the -processing capability to connect RAW image-sensor modules and video decoders -to the AM437x device. - -Required properties: -- compatible: must be "ti,am437x-vpfe" -- reg: physical base address and length of the registers set for the device; -- interrupts: should contain IRQ line for the VPFE; -- ti,am437x-vpfe-interface: can be one of the following, - 0 - Raw Bayer Interface. - 1 - 8 Bit BT656 Interface. - 2 - 10 Bit BT656 Interface. - 3 - YCbCr 8 Bit Interface. - 4 - YCbCr 16 Bit Interface. - -VPFE supports a single port node with parallel bus. It should contain one -'port' child node with child 'endpoint' node. Please refer to the bindings -defined in Documentation/devicetree/bindings/media/video-interfaces.txt. - -Example: - vpfe: vpfe@f0034000 { - compatible = "ti,am437x-vpfe"; - reg = <0x48328000 0x2000>; - interrupts = ; - - pinctrl-names = "default", "sleep"; - pinctrl-0 = <&vpfe_pins_default>; - pinctrl-1 = <&vpfe_pins_sleep>; - - port { - #address-cells = <1>; - #size-cells = <0>; - - vpfe0_ep: endpoint { - remote-endpoint = <&ov2659_1>; - ti,am437x-vpfe-interface = <0>; - bus-width = <8>; - hsync-active = <0>; - vsync-active = <0>; - }; - }; - }; - - i2c1: i2c@4802a000 { - - ov2659@30 { - compatible = "ti,ov2659"; - reg = <0x30>; - - port { - ov2659_1: endpoint { - remote-endpoint = <&vpfe0_ep>; - bus-width = <8>; - mclk-frequency = <12000000>; - }; - }; - }; +Texas Instruments AM437x CAMERA (VPFE) +-------------------------------------- + +The Video Processing Front End (VPFE) is a key component for image capture +applications. The capture module provides the system interface and the +processing capability to connect RAW image-sensor modules and video decoders +to the AM437x device. + +Required properties: +- compatible: must be "ti,am437x-vpfe" +- reg: physical base address and length of the registers set for the device; +- interrupts: should contain IRQ line for the VPFE; +- ti,am437x-vpfe-interface: can be one of the following, + 0 - Raw Bayer Interface. + 1 - 8 Bit BT656 Interface. + 2 - 10 Bit BT656 Interface. + 3 - YCbCr 8 Bit Interface. + 4 - YCbCr 16 Bit Interface. + +VPFE supports a single port node with parallel bus. It should contain one +'port' child node with child 'endpoint' node. Please refer to the bindings +defined in Documentation/devicetree/bindings/media/video-interfaces.txt. + +Example: + vpfe: vpfe@f0034000 { + compatible = "ti,am437x-vpfe"; + reg = <0x48328000 0x2000>; + interrupts = ; + + pinctrl-names = "default", "sleep"; + pinctrl-0 = <&vpfe_pins_default>; + pinctrl-1 = <&vpfe_pins_sleep>; + + port { + #address-cells = <1>; + #size-cells = <0>; + + vpfe0_ep: endpoint { + remote-endpoint = <&ov2659_1>; + ti,am437x-vpfe-interface = <0>; + bus-width = <8>; + hsync-active = <0>; + vsync-active = <0>; + }; + }; + }; + + i2c1: i2c@4802a000 { + + ov2659@30 { + compatible = "ti,ov2659"; + reg = <0x30>; + + port { + ov2659_1: endpoint { + remote-endpoint = <&vpfe0_ep>; + bus-width = <8>; + mclk-frequency = <12000000>; + }; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/xilinx/video.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/xilinx/video.txt index f72b84ef98..d0335ca0cd 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/xilinx/video.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/xilinx/video.txt @@ -1,35 +1,35 @@ -DT bindings for Xilinx video IP cores -------------------------------------- - -Xilinx video IP cores process video streams by acting as video sinks and/or -sources. They are connected by links through their input and output ports, -creating a video pipeline. - -Each video IP core is represented by an AMBA bus child node in the device -tree using bindings documented in this directory. Connections between the IP -cores are represented as defined in ../video-interfaces.txt. - -The whole pipeline is represented by an AMBA bus child node in the device -tree using bindings documented in ./xlnx,video.txt. - -Common properties ------------------ - -The following properties are common to all Xilinx video IP cores. - -- xlnx,video-format: This property represents a video format transmitted on an - AXI bus between video IP cores, using its VF code as defined in "AXI4-Stream - Video IP and System Design Guide" [UG934]. How the format relates to the IP - core is described in the IP core bindings documentation. - -- xlnx,video-width: This property qualifies the video format with the sample - width expressed as a number of bits per pixel component. All components must - use the same width. - -- xlnx,cfa-pattern: When the video format is set to Mono/Sensor, this property - describes the sensor's color filter array pattern. Supported values are - "bggr", "gbrg", "grbg", "rggb" and "mono". If not specified, the pattern - defaults to "mono". - - -[UG934] https://www.xilinx.com/support/documentation/ip_documentation/axi_videoip/v1_0/ug934_axi_videoIP.pdf +DT bindings for Xilinx video IP cores +------------------------------------- + +Xilinx video IP cores process video streams by acting as video sinks and/or +sources. They are connected by links through their input and output ports, +creating a video pipeline. + +Each video IP core is represented by an AMBA bus child node in the device +tree using bindings documented in this directory. Connections between the IP +cores are represented as defined in ../video-interfaces.txt. + +The whole pipeline is represented by an AMBA bus child node in the device +tree using bindings documented in ./xlnx,video.txt. + +Common properties +----------------- + +The following properties are common to all Xilinx video IP cores. + +- xlnx,video-format: This property represents a video format transmitted on an + AXI bus between video IP cores, using its VF code as defined in "AXI4-Stream + Video IP and System Design Guide" [UG934]. How the format relates to the IP + core is described in the IP core bindings documentation. + +- xlnx,video-width: This property qualifies the video format with the sample + width expressed as a number of bits per pixel component. All components must + use the same width. + +- xlnx,cfa-pattern: When the video format is set to Mono/Sensor, this property + describes the sensor's color filter array pattern. Supported values are + "bggr", "gbrg", "grbg", "rggb" and "mono". If not specified, the pattern + defaults to "mono". + + +[UG934] https://www.xilinx.com/support/documentation/ip_documentation/axi_videoip/v1_0/ug934_axi_videoIP.pdf diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/xilinx/xlnx,v-tpg.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/xilinx/xlnx,v-tpg.txt index 894fb1b987..439351ab2a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/xilinx/xlnx,v-tpg.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/xilinx/xlnx,v-tpg.txt @@ -1,71 +1,71 @@ -Xilinx Video Test Pattern Generator (TPG) ------------------------------------------ - -Required properties: - -- compatible: Must contain at least one of - - "xlnx,v-tpg-5.0" (TPG version 5.0) - "xlnx,v-tpg-6.0" (TPG version 6.0) - - TPG versions backward-compatible with previous versions should list all - compatible versions in the newer to older order. - -- reg: Physical base address and length of the registers set for the device. - -- clocks: Reference to the video core clock. - -- xlnx,video-format, xlnx,video-width: Video format and width, as defined in - video.txt. - -- port: Video port, using the DT bindings defined in ../video-interfaces.txt. - The TPG has a single output port numbered 0. - -Optional properties: - -- xlnx,vtc: A phandle referencing the Video Timing Controller that generates - video timings for the TPG test patterns. - -- timing-gpios: Specifier for a GPIO that controls the timing mux at the TPG - input. The GPIO active level corresponds to the selection of VTC-generated - video timings. - -The xlnx,vtc and timing-gpios properties are mandatory when the TPG is -synthesized with two ports and forbidden when synthesized with one port. - -Example: - - tpg_0: tpg@40050000 { - compatible = "xlnx,v-tpg-6.0", "xlnx,v-tpg-5.0"; - reg = <0x40050000 0x10000>; - clocks = <&clkc 15>; - - xlnx,vtc = <&vtc_3>; - timing-gpios = <&ps7_gpio_0 55 GPIO_ACTIVE_LOW>; - - ports { - #address-cells = <1>; - #size-cells = <0>; - - port@0 { - reg = <0>; - - xlnx,video-format = ; - xlnx,video-width = <8>; - - tpg_in: endpoint { - remote-endpoint = <&adv7611_out>; - }; - }; - port@1 { - reg = <1>; - - xlnx,video-format = ; - xlnx,video-width = <8>; - - tpg1_out: endpoint { - remote-endpoint = <&switch_in0>; - }; - }; - }; - }; +Xilinx Video Test Pattern Generator (TPG) +----------------------------------------- + +Required properties: + +- compatible: Must contain at least one of + + "xlnx,v-tpg-5.0" (TPG version 5.0) + "xlnx,v-tpg-6.0" (TPG version 6.0) + + TPG versions backward-compatible with previous versions should list all + compatible versions in the newer to older order. + +- reg: Physical base address and length of the registers set for the device. + +- clocks: Reference to the video core clock. + +- xlnx,video-format, xlnx,video-width: Video format and width, as defined in + video.txt. + +- port: Video port, using the DT bindings defined in ../video-interfaces.txt. + The TPG has a single output port numbered 0. + +Optional properties: + +- xlnx,vtc: A phandle referencing the Video Timing Controller that generates + video timings for the TPG test patterns. + +- timing-gpios: Specifier for a GPIO that controls the timing mux at the TPG + input. The GPIO active level corresponds to the selection of VTC-generated + video timings. + +The xlnx,vtc and timing-gpios properties are mandatory when the TPG is +synthesized with two ports and forbidden when synthesized with one port. + +Example: + + tpg_0: tpg@40050000 { + compatible = "xlnx,v-tpg-6.0", "xlnx,v-tpg-5.0"; + reg = <0x40050000 0x10000>; + clocks = <&clkc 15>; + + xlnx,vtc = <&vtc_3>; + timing-gpios = <&ps7_gpio_0 55 GPIO_ACTIVE_LOW>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + xlnx,video-format = ; + xlnx,video-width = <8>; + + tpg_in: endpoint { + remote-endpoint = <&adv7611_out>; + }; + }; + port@1 { + reg = <1>; + + xlnx,video-format = ; + xlnx,video-width = <8>; + + tpg1_out: endpoint { + remote-endpoint = <&switch_in0>; + }; + }; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/xilinx/xlnx,video.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/xilinx/xlnx,video.txt index 2bf6b38808..5a02270236 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/xilinx/xlnx,video.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/xilinx/xlnx,video.txt @@ -1,55 +1,55 @@ -Xilinx Video IP Pipeline (VIPP) -------------------------------- - -General concept ---------------- - -Xilinx video IP pipeline processes video streams through one or more Xilinx -video IP cores. Each video IP core is represented as documented in video.txt -and IP core specific documentation, xlnx,v-*.txt, in this directory. The DT -node of the VIPP represents as a top level node of the pipeline and defines -mappings between DMAs and the video IP cores. - -Required properties: - -- compatible: Must be "xlnx,video". - -- dmas, dma-names: List of one DMA specifier and identifier string (as defined - in Documentation/devicetree/bindings/dma/dma.txt) per port. Each port - requires a DMA channel with the identifier string set to "port" followed by - the port index. - -- ports: Video port, using the DT bindings defined in ../video-interfaces.txt. - -Required port properties: - -- direction: should be either "input" or "output" depending on the direction - of stream. - -Example: - - video_cap { - compatible = "xlnx,video"; - dmas = <&vdma_1 1>, <&vdma_3 1>; - dma-names = "port0", "port1"; - - ports { - #address-cells = <1>; - #size-cells = <0>; - - port@0 { - reg = <0>; - direction = "input"; - vcap0_in0: endpoint { - remote-endpoint = <&scaler0_out>; - }; - }; - port@1 { - reg = <1>; - direction = "input"; - vcap0_in1: endpoint { - remote-endpoint = <&switch_out1>; - }; - }; - }; - }; +Xilinx Video IP Pipeline (VIPP) +------------------------------- + +General concept +--------------- + +Xilinx video IP pipeline processes video streams through one or more Xilinx +video IP cores. Each video IP core is represented as documented in video.txt +and IP core specific documentation, xlnx,v-*.txt, in this directory. The DT +node of the VIPP represents as a top level node of the pipeline and defines +mappings between DMAs and the video IP cores. + +Required properties: + +- compatible: Must be "xlnx,video". + +- dmas, dma-names: List of one DMA specifier and identifier string (as defined + in Documentation/devicetree/bindings/dma/dma.txt) per port. Each port + requires a DMA channel with the identifier string set to "port" followed by + the port index. + +- ports: Video port, using the DT bindings defined in ../video-interfaces.txt. + +Required port properties: + +- direction: should be either "input" or "output" depending on the direction + of stream. + +Example: + + video_cap { + compatible = "xlnx,video"; + dmas = <&vdma_1 1>, <&vdma_3 1>; + dma-names = "port0", "port1"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + direction = "input"; + vcap0_in0: endpoint { + remote-endpoint = <&scaler0_out>; + }; + }; + port@1 { + reg = <1>; + direction = "input"; + vcap0_in1: endpoint { + remote-endpoint = <&switch_out1>; + }; + }; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/memory-controllers/brcm,brcmstb-memc-ddr.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/memory-controllers/brcm,brcmstb-memc-ddr.yaml index 6b9fe4d8d6..4b072c879b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/memory-controllers/brcm,brcmstb-memc-ddr.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/memory-controllers/brcm,brcmstb-memc-ddr.yaml @@ -1,52 +1,52 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/memory-controllers/brcm,brcmstb-memc-ddr.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Memory controller (MEMC) for Broadcom STB - -maintainers: - - Florian Fainelli - -properties: - compatible: - items: - - enum: - - brcm,brcmstb-memc-ddr-rev-b.1.x - - brcm,brcmstb-memc-ddr-rev-b.2.0 - - brcm,brcmstb-memc-ddr-rev-b.2.1 - - brcm,brcmstb-memc-ddr-rev-b.2.2 - - brcm,brcmstb-memc-ddr-rev-b.2.3 - - brcm,brcmstb-memc-ddr-rev-b.2.5 - - brcm,brcmstb-memc-ddr-rev-b.2.6 - - brcm,brcmstb-memc-ddr-rev-b.2.7 - - brcm,brcmstb-memc-ddr-rev-b.2.8 - - brcm,brcmstb-memc-ddr-rev-b.3.0 - - brcm,brcmstb-memc-ddr-rev-b.3.1 - - brcm,brcmstb-memc-ddr-rev-c.1.0 - - brcm,brcmstb-memc-ddr-rev-c.1.1 - - brcm,brcmstb-memc-ddr-rev-c.1.2 - - brcm,brcmstb-memc-ddr-rev-c.1.3 - - brcm,brcmstb-memc-ddr-rev-c.1.4 - - const: brcm,brcmstb-memc-ddr - - reg: - maxItems: 1 - - clock-frequency: - description: DDR PHY frequency in Hz - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - memory-controller@9902000 { - compatible = "brcm,brcmstb-memc-ddr-rev-c.1.1", "brcm,brcmstb-memc-ddr"; - reg = <0x9902000 0x600>; - clock-frequency = <2133000000>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/memory-controllers/brcm,brcmstb-memc-ddr.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Memory controller (MEMC) for Broadcom STB + +maintainers: + - Florian Fainelli + +properties: + compatible: + items: + - enum: + - brcm,brcmstb-memc-ddr-rev-b.1.x + - brcm,brcmstb-memc-ddr-rev-b.2.0 + - brcm,brcmstb-memc-ddr-rev-b.2.1 + - brcm,brcmstb-memc-ddr-rev-b.2.2 + - brcm,brcmstb-memc-ddr-rev-b.2.3 + - brcm,brcmstb-memc-ddr-rev-b.2.5 + - brcm,brcmstb-memc-ddr-rev-b.2.6 + - brcm,brcmstb-memc-ddr-rev-b.2.7 + - brcm,brcmstb-memc-ddr-rev-b.2.8 + - brcm,brcmstb-memc-ddr-rev-b.3.0 + - brcm,brcmstb-memc-ddr-rev-b.3.1 + - brcm,brcmstb-memc-ddr-rev-c.1.0 + - brcm,brcmstb-memc-ddr-rev-c.1.1 + - brcm,brcmstb-memc-ddr-rev-c.1.2 + - brcm,brcmstb-memc-ddr-rev-c.1.3 + - brcm,brcmstb-memc-ddr-rev-c.1.4 + - const: brcm,brcmstb-memc-ddr + + reg: + maxItems: 1 + + clock-frequency: + description: DDR PHY frequency in Hz + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + memory-controller@9902000 { + compatible = "brcm,brcmstb-memc-ddr-rev-c.1.1", "brcm,brcmstb-memc-ddr"; + reg = <0x9902000 0x600>; + clock-frequency = <2133000000>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/memory-controllers/mc-peripheral-props.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/memory-controllers/mc-peripheral-props.yaml index ef322f3218..00deeb09f8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/memory-controllers/mc-peripheral-props.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/memory-controllers/mc-peripheral-props.yaml @@ -1,42 +1,42 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/memory-controllers/mc-peripheral-props.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Peripheral-specific properties for a Memory Controller bus. - -description: - Many Memory Controllers need to add properties to peripheral devices. - They could be common properties like reg or they could be controller - specific like delay in clock or data lines, etc. These properties need - to be defined in the peripheral node because they are per-peripheral - and there can be multiple peripherals attached to a controller. All - those properties are listed here. The controller specific properties - should go in their own separate schema that should be referenced - from here. - -maintainers: - - Marek Vasut - -properties: - reg: - description: Bank number, base address and size of the device. - - bank-width: - $ref: /schemas/types.yaml#/definitions/uint32 - description: Bank width of the device, in bytes. - enum: [1, 2, 4] - -required: - - reg - -# The controller specific properties go here. -allOf: - - $ref: st,stm32-fmc2-ebi-props.yaml# - - $ref: ingenic,nemc-peripherals.yaml# - - $ref: intel,ixp4xx-expansion-peripheral-props.yaml# - - $ref: ti,gpmc-child.yaml# - - $ref: fsl/fsl,imx-weim-peripherals.yaml - -additionalProperties: true +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/memory-controllers/mc-peripheral-props.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Peripheral-specific properties for a Memory Controller bus. + +description: + Many Memory Controllers need to add properties to peripheral devices. + They could be common properties like reg or they could be controller + specific like delay in clock or data lines, etc. These properties need + to be defined in the peripheral node because they are per-peripheral + and there can be multiple peripherals attached to a controller. All + those properties are listed here. The controller specific properties + should go in their own separate schema that should be referenced + from here. + +maintainers: + - Marek Vasut + +properties: + reg: + description: Bank number, base address and size of the device. + + bank-width: + $ref: /schemas/types.yaml#/definitions/uint32 + description: Bank width of the device, in bytes. + enum: [1, 2, 4] + +required: + - reg + +# The controller specific properties go here. +allOf: + - $ref: st,stm32-fmc2-ebi-props.yaml# + - $ref: ingenic,nemc-peripherals.yaml# + - $ref: intel,ixp4xx-expansion-peripheral-props.yaml# + - $ref: ti,gpmc-child.yaml# + - $ref: fsl/fsl,imx-weim-peripherals.yaml + +additionalProperties: true diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/memory-controllers/qca,ath79-ddr-controller.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/memory-controllers/qca,ath79-ddr-controller.yaml index 66b2fbb9ed..0c511ab906 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/memory-controllers/qca,ath79-ddr-controller.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/memory-controllers/qca,ath79-ddr-controller.yaml @@ -1,61 +1,61 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/memory-controllers/qca,ath79-ddr-controller.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm Atheros AR7xxx/AR9xxx DDR controller - -maintainers: - - Krzysztof Kozlowski - -description: | - The DDR controller of the AR7xxx and AR9xxx families provides an interface to - flush the FIFO between various devices and the DDR. This is mainly used by - the IRQ controller to flush the FIFO before running the interrupt handler of - such devices. - -properties: - compatible: - oneOf: - - items: - - const: qca,ar9132-ddr-controller - - const: qca,ar7240-ddr-controller - - items: - - enum: - - qca,ar7100-ddr-controller - - qca,ar7240-ddr-controller - - "#qca,ddr-wb-channel-cells": - description: | - Specifies the number of cells needed to encode the write buffer channel - index. - $ref: /schemas/types.yaml#/definitions/uint32 - const: 1 - - reg: - maxItems: 1 - -required: - - compatible - - "#qca,ddr-wb-channel-cells" - - reg - -additionalProperties: false - -examples: - - | - ddr_ctrl: memory-controller@18000000 { - compatible = "qca,ar9132-ddr-controller", - "qca,ar7240-ddr-controller"; - reg = <0x18000000 0x100>; - - #qca,ddr-wb-channel-cells = <1>; - }; - - interrupt-controller { - // ... - qca,ddr-wb-channel-interrupts = <2>, <3>, <4>, <5>; - qca,ddr-wb-channels = <&ddr_ctrl 3>, <&ddr_ctrl 2>, - <&ddr_ctrl 0>, <&ddr_ctrl 1>; - }; +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/memory-controllers/qca,ath79-ddr-controller.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Atheros AR7xxx/AR9xxx DDR controller + +maintainers: + - Krzysztof Kozlowski + +description: | + The DDR controller of the AR7xxx and AR9xxx families provides an interface to + flush the FIFO between various devices and the DDR. This is mainly used by + the IRQ controller to flush the FIFO before running the interrupt handler of + such devices. + +properties: + compatible: + oneOf: + - items: + - const: qca,ar9132-ddr-controller + - const: qca,ar7240-ddr-controller + - items: + - enum: + - qca,ar7100-ddr-controller + - qca,ar7240-ddr-controller + + "#qca,ddr-wb-channel-cells": + description: | + Specifies the number of cells needed to encode the write buffer channel + index. + $ref: /schemas/types.yaml#/definitions/uint32 + const: 1 + + reg: + maxItems: 1 + +required: + - compatible + - "#qca,ddr-wb-channel-cells" + - reg + +additionalProperties: false + +examples: + - | + ddr_ctrl: memory-controller@18000000 { + compatible = "qca,ar9132-ddr-controller", + "qca,ar7240-ddr-controller"; + reg = <0x18000000 0x100>; + + #qca,ddr-wb-channel-cells = <1>; + }; + + interrupt-controller { + // ... + qca,ddr-wb-channel-interrupts = <2>, <3>, <4>, <5>; + qca,ddr-wb-channels = <&ddr_ctrl 3>, <&ddr_ctrl 2>, + <&ddr_ctrl 0>, <&ddr_ctrl 1>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/memory-controllers/renesas,dbsc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/memory-controllers/renesas,dbsc.yaml index eb1bd1714a..8e3822314b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/memory-controllers/renesas,dbsc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/memory-controllers/renesas,dbsc.yaml @@ -1,56 +1,56 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/memory-controllers/renesas,dbsc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Renesas DDR Bus Controllers - -maintainers: - - Geert Uytterhoeven - -description: | - Renesas SoCs contain one or more memory controllers. These memory - controllers differ from one SoC variant to another, and are called by - different names, e.g. "DDR Bus Controller (DBSC)", "DDR3 Bus State Controller - (DBSC3)", or "SDRAM Bus State Controller (SBSC)"). - -properties: - compatible: - enum: - - renesas,dbsc-r8a73a4 # R-Mobile APE6 - - renesas,dbsc3-r8a7740 # R-Mobile A1 - - renesas,sbsc-sh73a0 # SH-Mobile AG5 - - reg: - maxItems: 1 - - interrupts: - maxItems: 2 - - interrupt-names: - items: - - const: sec # secure interrupt - - const: temp # normal (temperature) interrupt - - power-domains: - maxItems: 1 - -required: - - compatible - - reg - - power-domains - -additionalProperties: false - -examples: - - | - #include - sbsc1: memory-controller@fe400000 { - compatible = "renesas,sbsc-sh73a0"; - reg = <0xfe400000 0x400>; - interrupts = , - ; - interrupt-names = "sec", "temp"; - power-domains = <&pd_a4bc0>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/memory-controllers/renesas,dbsc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Renesas DDR Bus Controllers + +maintainers: + - Geert Uytterhoeven + +description: | + Renesas SoCs contain one or more memory controllers. These memory + controllers differ from one SoC variant to another, and are called by + different names, e.g. "DDR Bus Controller (DBSC)", "DDR3 Bus State Controller + (DBSC3)", or "SDRAM Bus State Controller (SBSC)"). + +properties: + compatible: + enum: + - renesas,dbsc-r8a73a4 # R-Mobile APE6 + - renesas,dbsc3-r8a7740 # R-Mobile A1 + - renesas,sbsc-sh73a0 # SH-Mobile AG5 + + reg: + maxItems: 1 + + interrupts: + maxItems: 2 + + interrupt-names: + items: + - const: sec # secure interrupt + - const: temp # normal (temperature) interrupt + + power-domains: + maxItems: 1 + +required: + - compatible + - reg + - power-domains + +additionalProperties: false + +examples: + - | + #include + sbsc1: memory-controller@fe400000 { + compatible = "renesas,sbsc-sh73a0"; + reg = <0xfe400000 0x400>; + interrupts = , + ; + interrupt-names = "sec", "temp"; + power-domains = <&pd_a4bc0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/memory-controllers/xlnx,versal-ddrmc-edac.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/memory-controllers/xlnx,versal-ddrmc-edac.yaml index bdd8c3da76..12f8e9f350 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/memory-controllers/xlnx,versal-ddrmc-edac.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/memory-controllers/xlnx,versal-ddrmc-edac.yaml @@ -1,57 +1,57 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/memory-controllers/xlnx,versal-ddrmc-edac.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Xilinx Versal DDRMC (Integrated DDR Memory Controller) - -maintainers: - - Shubhrajyoti Datta - - Sai Krishna Potthuri - -description: - The integrated DDR Memory Controllers (DDRMCs) support both DDR4 and LPDDR4/ - 4X memory interfaces. Versal DDR memory controller has an optional ECC support - which correct single bit ECC errors and detect double bit ECC errors. - -properties: - compatible: - const: xlnx,versal-ddrmc - - reg: - items: - - description: DDR Memory Controller registers - - description: NOC registers corresponding to DDR Memory Controller - - reg-names: - items: - - const: base - - const: noc - - interrupts: - maxItems: 1 - -required: - - compatible - - reg - - reg-names - - interrupts - -additionalProperties: false - -examples: - - | - #include - - bus { - #address-cells = <2>; - #size-cells = <2>; - memory-controller@f6150000 { - compatible = "xlnx,versal-ddrmc"; - reg = <0x0 0xf6150000 0x0 0x2000>, <0x0 0xf6070000 0x0 0x20000>; - reg-names = "base", "noc"; - interrupt-parent = <&gic>; - interrupts = ; - }; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/memory-controllers/xlnx,versal-ddrmc-edac.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Xilinx Versal DDRMC (Integrated DDR Memory Controller) + +maintainers: + - Shubhrajyoti Datta + - Sai Krishna Potthuri + +description: + The integrated DDR Memory Controllers (DDRMCs) support both DDR4 and LPDDR4/ + 4X memory interfaces. Versal DDR memory controller has an optional ECC support + which correct single bit ECC errors and detect double bit ECC errors. + +properties: + compatible: + const: xlnx,versal-ddrmc + + reg: + items: + - description: DDR Memory Controller registers + - description: NOC registers corresponding to DDR Memory Controller + + reg-names: + items: + - const: base + - const: noc + + interrupts: + maxItems: 1 + +required: + - compatible + - reg + - reg-names + - interrupts + +additionalProperties: false + +examples: + - | + #include + + bus { + #address-cells = <2>; + #size-cells = <2>; + memory-controller@f6150000 { + compatible = "xlnx,versal-ddrmc"; + reg = <0x0 0xf6150000 0x0 0x2000>, <0x0 0xf6070000 0x0 0x20000>; + reg-names = "base", "noc"; + interrupt-parent = <&gic>; + interrupts = ; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/adi,max77541.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/adi,max77541.yaml index 2cbba1154f..c7895b2c38 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/adi,max77541.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/adi,max77541.yaml @@ -1,68 +1,68 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/mfd/adi,max77541.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: MAX77540/MAX77541 PMIC from ADI - -maintainers: - - Okan Sahin - -description: | - MAX77540 is a Power Management IC with 2 buck regulators. - - MAX77541 is a Power Management IC with 2 buck regulators and 1 ADC. - -properties: - compatible: - enum: - - adi,max77540 - - adi,max77541 - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - regulators: - $ref: /schemas/regulator/adi,max77541-regulator.yaml# - -required: - - compatible - - reg - - interrupts - -additionalProperties: false - -examples: - - | - #include - - i2c { - #address-cells = <1>; - #size-cells = <0>; - - pmic@69 { - compatible = "adi,max77541"; - reg = <0x69>; - interrupt-parent = <&gpio>; - interrupts = <16 IRQ_TYPE_EDGE_FALLING>; - - regulators { - buck1 { - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <5200000>; - regulator-boot-on; - regulator-always-on; - }; - buck2 { - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <5200000>; - regulator-boot-on; - regulator-always-on; - }; - }; - }; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mfd/adi,max77541.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: MAX77540/MAX77541 PMIC from ADI + +maintainers: + - Okan Sahin + +description: | + MAX77540 is a Power Management IC with 2 buck regulators. + + MAX77541 is a Power Management IC with 2 buck regulators and 1 ADC. + +properties: + compatible: + enum: + - adi,max77540 + - adi,max77541 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + regulators: + $ref: /schemas/regulator/adi,max77541-regulator.yaml# + +required: + - compatible + - reg + - interrupts + +additionalProperties: false + +examples: + - | + #include + + i2c { + #address-cells = <1>; + #size-cells = <0>; + + pmic@69 { + compatible = "adi,max77541"; + reg = <0x69>; + interrupt-parent = <&gpio>; + interrupts = <16 IRQ_TYPE_EDGE_FALLING>; + + regulators { + buck1 { + regulator-min-microvolt = <500000>; + regulator-max-microvolt = <5200000>; + regulator-boot-on; + regulator-always-on; + }; + buck2 { + regulator-min-microvolt = <500000>; + regulator-max-microvolt = <5200000>; + regulator-boot-on; + regulator-always-on; + }; + }; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/allwinner,sun4i-a10-ts.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/allwinner,sun4i-a10-ts.yaml index 31b0b25c8f..93f5065a62 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/allwinner,sun4i-a10-ts.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/allwinner,sun4i-a10-ts.yaml @@ -1,76 +1,76 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/mfd/allwinner,sun4i-a10-ts.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Allwinner A10 Resistive Touchscreen Controller - -maintainers: - - Chen-Yu Tsai - - Maxime Ripard - -properties: - "#thermal-sensor-cells": - const: 0 - - compatible: - enum: - - allwinner,sun4i-a10-ts - - allwinner,sun5i-a13-ts - - allwinner,sun6i-a31-ts - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - allwinner,ts-attached: - $ref: /schemas/types.yaml#/definitions/flag - description: A touchscreen is attached to the controller - - allwinner,tp-sensitive-adjust: - $ref: /schemas/types.yaml#/definitions/uint32 - minimum: 0 - maximum: 15 - default: 15 - - description: Sensitivity of pen down detection - - allwinner,filter-type: - $ref: /schemas/types.yaml#/definitions/uint32 - minimum: 0 - maximum: 3 - default: 1 - - description: | - Select median and averaging filter. Sample used for median / - averaging filter: - 0: 4/2 - 1: 5/3 - 2: 8/4 - 3: 16/8 - -required: - - "#thermal-sensor-cells" - - compatible - - reg - - interrupts - -additionalProperties: false - -examples: - - | - rtp: rtp@1c25000 { - compatible = "allwinner,sun4i-a10-ts"; - reg = <0x01c25000 0x100>; - interrupts = <29>; - allwinner,ts-attached; - #thermal-sensor-cells = <0>; - /* sensitive/noisy touch panel */ - allwinner,tp-sensitive-adjust = <0>; - allwinner,filter-type = <3>; - }; - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mfd/allwinner,sun4i-a10-ts.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Allwinner A10 Resistive Touchscreen Controller + +maintainers: + - Chen-Yu Tsai + - Maxime Ripard + +properties: + "#thermal-sensor-cells": + const: 0 + + compatible: + enum: + - allwinner,sun4i-a10-ts + - allwinner,sun5i-a13-ts + - allwinner,sun6i-a31-ts + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + allwinner,ts-attached: + $ref: /schemas/types.yaml#/definitions/flag + description: A touchscreen is attached to the controller + + allwinner,tp-sensitive-adjust: + $ref: /schemas/types.yaml#/definitions/uint32 + minimum: 0 + maximum: 15 + default: 15 + + description: Sensitivity of pen down detection + + allwinner,filter-type: + $ref: /schemas/types.yaml#/definitions/uint32 + minimum: 0 + maximum: 3 + default: 1 + + description: | + Select median and averaging filter. Sample used for median / + averaging filter: + 0: 4/2 + 1: 5/3 + 2: 8/4 + 3: 16/8 + +required: + - "#thermal-sensor-cells" + - compatible + - reg + - interrupts + +additionalProperties: false + +examples: + - | + rtp: rtp@1c25000 { + compatible = "allwinner,sun4i-a10-ts"; + reg = <0x01c25000 0x100>; + interrupts = <29>; + allwinner,ts-attached; + #thermal-sensor-cells = <0>; + /* sensitive/noisy touch panel */ + allwinner,tp-sensitive-adjust = <0>; + allwinner,filter-type = <3>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/altera-a10sr.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/altera-a10sr.txt index 093f0195ea..a688520dd8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/altera-a10sr.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/altera-a10sr.txt @@ -1,56 +1,56 @@ -* Altera Arria10 Development Kit System Resource Chip - -Required parent device properties: -- compatible : "altr,a10sr" -- spi-max-frequency : Maximum SPI frequency. -- reg : The SPI Chip Select address for the Arria10 - System Resource chip -- interrupts : The interrupt line the device is connected to. -- interrupt-controller : Marks the device node as an interrupt controller. -- #interrupt-cells : The number of cells to describe an IRQ, should be 2. - The first cell is the IRQ number. - The second cell is the flags, encoded as trigger - masks from ../interrupt-controller/interrupts.txt. - -The A10SR consists of these sub-devices: - -Device Description ------- ---------- -a10sr_gpio GPIO Controller -a10sr_rst Reset Controller - -Arria10 GPIO -Required Properties: -- compatible : Should be "altr,a10sr-gpio" -- gpio-controller : Marks the device node as a GPIO Controller. -- #gpio-cells : Should be two. The first cell is the pin number and - the second cell is used to specify flags. - See ../gpio/gpio.txt for more information. - -Arria10 Peripheral PHY Reset -Required Properties: -- compatible : Should be "altr,a10sr-reset" -- #reset-cells : Should be one. - -Example: - - resource-manager@0 { - compatible = "altr,a10sr"; - reg = <0>; - spi-max-frequency = <100000>; - interrupt-parent = <&portb>; - interrupts = <5 IRQ_TYPE_LEVEL_LOW>; - interrupt-controller; - #interrupt-cells = <2>; - - a10sr_gpio: gpio-controller { - compatible = "altr,a10sr-gpio"; - gpio-controller; - #gpio-cells = <2>; - }; - - a10sr_rst: reset-controller { - compatible = "altr,a10sr-reset"; - #reset-cells = <1>; - }; - }; +* Altera Arria10 Development Kit System Resource Chip + +Required parent device properties: +- compatible : "altr,a10sr" +- spi-max-frequency : Maximum SPI frequency. +- reg : The SPI Chip Select address for the Arria10 + System Resource chip +- interrupts : The interrupt line the device is connected to. +- interrupt-controller : Marks the device node as an interrupt controller. +- #interrupt-cells : The number of cells to describe an IRQ, should be 2. + The first cell is the IRQ number. + The second cell is the flags, encoded as trigger + masks from ../interrupt-controller/interrupts.txt. + +The A10SR consists of these sub-devices: + +Device Description +------ ---------- +a10sr_gpio GPIO Controller +a10sr_rst Reset Controller + +Arria10 GPIO +Required Properties: +- compatible : Should be "altr,a10sr-gpio" +- gpio-controller : Marks the device node as a GPIO Controller. +- #gpio-cells : Should be two. The first cell is the pin number and + the second cell is used to specify flags. + See ../gpio/gpio.txt for more information. + +Arria10 Peripheral PHY Reset +Required Properties: +- compatible : Should be "altr,a10sr-reset" +- #reset-cells : Should be one. + +Example: + + resource-manager@0 { + compatible = "altr,a10sr"; + reg = <0>; + spi-max-frequency = <100000>; + interrupt-parent = <&portb>; + interrupts = <5 IRQ_TYPE_LEVEL_LOW>; + interrupt-controller; + #interrupt-cells = <2>; + + a10sr_gpio: gpio-controller { + compatible = "altr,a10sr-gpio"; + gpio-controller; + #gpio-cells = <2>; + }; + + a10sr_rst: reset-controller { + compatible = "altr,a10sr-reset"; + #reset-cells = <1>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/arm,dev-platforms-syscon.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/arm,dev-platforms-syscon.yaml index d81635f326..46b164ae08 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/arm,dev-platforms-syscon.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/arm,dev-platforms-syscon.yaml @@ -1,67 +1,67 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/mfd/arm,dev-platforms-syscon.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Arm Ltd Developer Platforms System Controllers - -maintainers: - - Linus Walleij - -description: - The Arm Ltd Integrator, Realview, and Versatile families of developer - platforms are contain various system controller blocks. Often these blocks - are part of a daughterboard or motherboard module. - -properties: - compatible: - oneOf: - - items: - - enum: - - arm,integrator-ap-syscon - - arm,integrator-cp-syscon - - arm,integrator-sp-syscon - - arm,im-pd1-syscon - - const: syscon - - items: - - enum: - - arm,core-module-integrator - - arm,integrator-ap-syscon - - arm,integrator-cp-syscon - - arm,integrator-sp-syscon - - arm,realview-eb-syscon - - arm,realview-pb1176-syscon - - arm,realview-pb11mp-syscon - - arm,realview-pba8-syscon - - arm,realview-pbx-syscon - - arm,versatile-ib2-syscon - - const: syscon - - const: simple-mfd - - items: - - enum: - - arm,realview-eb11mp-revb-syscon - - arm,realview-eb11mp-revc-syscon - - const: arm,realview-eb-syscon - - const: syscon - - const: simple-mfd - - reg: - maxItems: 1 - - ranges: true - - '#address-cells': - const: 1 - - '#size-cells': - const: 1 - -required: - - compatible - - reg - -additionalProperties: - type: object - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mfd/arm,dev-platforms-syscon.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Arm Ltd Developer Platforms System Controllers + +maintainers: + - Linus Walleij + +description: + The Arm Ltd Integrator, Realview, and Versatile families of developer + platforms are contain various system controller blocks. Often these blocks + are part of a daughterboard or motherboard module. + +properties: + compatible: + oneOf: + - items: + - enum: + - arm,integrator-ap-syscon + - arm,integrator-cp-syscon + - arm,integrator-sp-syscon + - arm,im-pd1-syscon + - const: syscon + - items: + - enum: + - arm,core-module-integrator + - arm,integrator-ap-syscon + - arm,integrator-cp-syscon + - arm,integrator-sp-syscon + - arm,realview-eb-syscon + - arm,realview-pb1176-syscon + - arm,realview-pb11mp-syscon + - arm,realview-pba8-syscon + - arm,realview-pbx-syscon + - arm,versatile-ib2-syscon + - const: syscon + - const: simple-mfd + - items: + - enum: + - arm,realview-eb11mp-revb-syscon + - arm,realview-eb11mp-revc-syscon + - const: arm,realview-eb-syscon + - const: syscon + - const: simple-mfd + + reg: + maxItems: 1 + + ranges: true + + '#address-cells': + const: 1 + + '#size-cells': + const: 1 + +required: + - compatible + - reg + +additionalProperties: + type: object + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/brcm,twd.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/brcm,twd.yaml index 92152f8dcf..e5136a37b0 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/brcm,twd.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/brcm,twd.yaml @@ -1,69 +1,69 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/mfd/brcm,twd.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Broadcom's Timer-Watchdog (aka TWD) - -maintainers: - - Rafał Miłecki - -description: | - Broadcom has a Timer-Watchdog block used in multiple SoCs (e.g., BCM4908, - BCM63xx, BCM7038). There are few variants available (they differ slightly in - registers layout). This block consists of: timers, watchdog and optionally a - software reset handler. - -properties: - compatible: - items: - - enum: - - brcm,bcm4908-twd - - brcm,bcm7038-twd - - const: simple-mfd - - const: syscon - - reg: - maxItems: 1 - - ranges: true - - "#address-cells": - const: 1 - - "#size-cells": - const: 1 - -patternProperties: - '^timer@[a-f0-9]+$': - $ref: /schemas/timer/brcm,bcmbca-timer.yaml - - '^watchdog@[a-f0-9]+$': - $ref: /schemas/watchdog/brcm,bcm7038-wdt.yaml - -additionalProperties: false - -required: - - reg - -examples: - - | - timer-mfd@ff800400 { - compatible = "brcm,bcm4908-twd", "simple-mfd", "syscon"; - reg = <0xff800400 0x4c>; - ranges = <0x00000000 0xff800400 0x4c>; - - #address-cells = <1>; - #size-cells = <1>; - - timer@0 { - compatible = "brcm,bcm63138-timer"; - reg = <0x0 0x28>; - }; - - watchdog@28 { - compatible = "brcm,bcm7038-wdt"; - reg = <0x28 0x8>; - }; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mfd/brcm,twd.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom's Timer-Watchdog (aka TWD) + +maintainers: + - Rafał Miłecki + +description: | + Broadcom has a Timer-Watchdog block used in multiple SoCs (e.g., BCM4908, + BCM63xx, BCM7038). There are few variants available (they differ slightly in + registers layout). This block consists of: timers, watchdog and optionally a + software reset handler. + +properties: + compatible: + items: + - enum: + - brcm,bcm4908-twd + - brcm,bcm7038-twd + - const: simple-mfd + - const: syscon + + reg: + maxItems: 1 + + ranges: true + + "#address-cells": + const: 1 + + "#size-cells": + const: 1 + +patternProperties: + '^timer@[a-f0-9]+$': + $ref: /schemas/timer/brcm,bcmbca-timer.yaml + + '^watchdog@[a-f0-9]+$': + $ref: /schemas/watchdog/brcm,bcm7038-wdt.yaml + +additionalProperties: false + +required: + - reg + +examples: + - | + timer-mfd@ff800400 { + compatible = "brcm,bcm4908-twd", "simple-mfd", "syscon"; + reg = <0xff800400 0x4c>; + ranges = <0x00000000 0xff800400 0x4c>; + + #address-cells = <1>; + #size-cells = <1>; + + timer@0 { + compatible = "brcm,bcm63138-timer"; + reg = <0x0 0x28>; + }; + + watchdog@28 { + compatible = "brcm,bcm7038-wdt"; + reg = <0x28 0x8>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/da9052-i2c.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/da9052-i2c.txt index 880095746c..07c69c0c66 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/da9052-i2c.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/da9052-i2c.txt @@ -1,67 +1,67 @@ -* Dialog DA9052/53 Power Management Integrated Circuit (PMIC) - -Required properties: -- compatible : Should be "dlg,da9052", "dlg,da9053-aa", - "dlg,da9053-ab", or "dlg,da9053-bb" - -Optional properties: -- dlg,tsi-as-adc : Boolean, if set the X+, X-, Y+, Y- touchscreen - input lines are used as general purpose analogue - input. -- tsiref-supply: Phandle to the regulator, which provides the reference - voltage for the TSIREF pin. Must be provided when the - touchscreen pins are used for ADC purposes. - -Sub-nodes: -- regulators : Contain the regulator nodes. The DA9052/53 regulators are - bound using their names as listed below: - - buck1 : regulator BUCK CORE - buck2 : regulator BUCK PRO - buck3 : regulator BUCK MEM - buck4 : regulator BUCK PERI - ldo1 : regulator LDO1 - ldo2 : regulator LDO2 - ldo3 : regulator LDO3 - ldo4 : regulator LDO4 - ldo5 : regulator LDO5 - ldo6 : regulator LDO6 - ldo7 : regulator LDO7 - ldo8 : regulator LDO8 - ldo9 : regulator LDO9 - ldo10 : regulator LDO10 - - The bindings details of individual regulator device can be found in: - Documentation/devicetree/bindings/regulator/regulator.txt - -Examples: - -i2c@63fc8000 { /* I2C1 */ - - pmic: dialog@48 { - compatible = "dlg,da9053-aa"; - reg = <0x48>; - - regulators { - buck1 { - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <2075000>; - }; - - buck2 { - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <2075000>; - }; - - buck3 { - regulator-min-microvolt = <925000>; - regulator-max-microvolt = <2500000>; - }; - - buck4 { - regulator-min-microvolt = <925000>; - regulator-max-microvolt = <2500000>; - }; - }; - }; -}; +* Dialog DA9052/53 Power Management Integrated Circuit (PMIC) + +Required properties: +- compatible : Should be "dlg,da9052", "dlg,da9053-aa", + "dlg,da9053-ab", or "dlg,da9053-bb" + +Optional properties: +- dlg,tsi-as-adc : Boolean, if set the X+, X-, Y+, Y- touchscreen + input lines are used as general purpose analogue + input. +- tsiref-supply: Phandle to the regulator, which provides the reference + voltage for the TSIREF pin. Must be provided when the + touchscreen pins are used for ADC purposes. + +Sub-nodes: +- regulators : Contain the regulator nodes. The DA9052/53 regulators are + bound using their names as listed below: + + buck1 : regulator BUCK CORE + buck2 : regulator BUCK PRO + buck3 : regulator BUCK MEM + buck4 : regulator BUCK PERI + ldo1 : regulator LDO1 + ldo2 : regulator LDO2 + ldo3 : regulator LDO3 + ldo4 : regulator LDO4 + ldo5 : regulator LDO5 + ldo6 : regulator LDO6 + ldo7 : regulator LDO7 + ldo8 : regulator LDO8 + ldo9 : regulator LDO9 + ldo10 : regulator LDO10 + + The bindings details of individual regulator device can be found in: + Documentation/devicetree/bindings/regulator/regulator.txt + +Examples: + +i2c@63fc8000 { /* I2C1 */ + + pmic: dialog@48 { + compatible = "dlg,da9053-aa"; + reg = <0x48>; + + regulators { + buck1 { + regulator-min-microvolt = <500000>; + regulator-max-microvolt = <2075000>; + }; + + buck2 { + regulator-min-microvolt = <500000>; + regulator-max-microvolt = <2075000>; + }; + + buck3 { + regulator-min-microvolt = <925000>; + regulator-max-microvolt = <2500000>; + }; + + buck4 { + regulator-min-microvolt = <925000>; + regulator-max-microvolt = <2500000>; + }; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/da9150.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/da9150.txt index 4fcb6320f2..f09b41fbdf 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/da9150.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/da9150.txt @@ -1,60 +1,60 @@ -Dialog Semiconductor DA9150 Combined Charger/Fuel-Gauge MFD bindings - -DA9150 consists of a group of sub-devices: - -Device Description ------- ----------- -da9150-gpadc : General Purpose ADC -da9150-charger : Battery Charger -da9150-fg : Battery Fuel-Gauge - -====== - -Required properties: -- compatible : Should be "dlg,da9150" -- reg: Specifies the I2C slave address -- interrupts: IRQ line info for da9150 chip. -- interrupt-controller: da9150 has internal IRQs (own IRQ domain). - (See ../interrupt-controller/interrupts.txt for - further information relating to interrupt properties) - -Sub-devices: -- da9150-gpadc: See ../iio/adc/da9150-gpadc.txt -- da9150-charger: See ../power/da9150-charger.txt -- da9150-fg: See ../power/da9150-fg.txt - -Example: - - charger_fg: da9150@58 { - compatible = "dlg,da9150"; - reg = <0x58>; - interrupt-parent = <&gpio6>; - interrupts = <11 IRQ_TYPE_LEVEL_LOW>; - interrupt-controller; - - gpadc: da9150-gpadc { - compatible = "dlg,da9150-gpadc"; - #io-channel-cells = <1>; - }; - - charger { - compatible = "dlg,da9150-charger"; - - io-channels = <&gpadc 0>, - <&gpadc 2>, - <&gpadc 8>, - <&gpadc 5>; - io-channel-names = "CHAN_IBUS", - "CHAN_VBUS", - "CHAN_TJUNC", - "CHAN_VBAT"; - }; - - fuel-gauge { - compatible = "dlg,da9150-fuel-gauge"; - - dlg,update-interval = <10000>; - dlg,warn-soc-level = /bits/ 8 <15>; - dlg,crit-soc-level = /bits/ 8 <5> - }; - }; +Dialog Semiconductor DA9150 Combined Charger/Fuel-Gauge MFD bindings + +DA9150 consists of a group of sub-devices: + +Device Description +------ ----------- +da9150-gpadc : General Purpose ADC +da9150-charger : Battery Charger +da9150-fg : Battery Fuel-Gauge + +====== + +Required properties: +- compatible : Should be "dlg,da9150" +- reg: Specifies the I2C slave address +- interrupts: IRQ line info for da9150 chip. +- interrupt-controller: da9150 has internal IRQs (own IRQ domain). + (See ../interrupt-controller/interrupts.txt for + further information relating to interrupt properties) + +Sub-devices: +- da9150-gpadc: See ../iio/adc/da9150-gpadc.txt +- da9150-charger: See ../power/da9150-charger.txt +- da9150-fg: See ../power/da9150-fg.txt + +Example: + + charger_fg: da9150@58 { + compatible = "dlg,da9150"; + reg = <0x58>; + interrupt-parent = <&gpio6>; + interrupts = <11 IRQ_TYPE_LEVEL_LOW>; + interrupt-controller; + + gpadc: da9150-gpadc { + compatible = "dlg,da9150-gpadc"; + #io-channel-cells = <1>; + }; + + charger { + compatible = "dlg,da9150-charger"; + + io-channels = <&gpadc 0>, + <&gpadc 2>, + <&gpadc 8>, + <&gpadc 5>; + io-channel-names = "CHAN_IBUS", + "CHAN_VBUS", + "CHAN_TJUNC", + "CHAN_VBAT"; + }; + + fuel-gauge { + compatible = "dlg,da9150-fuel-gauge"; + + dlg,update-interval = <10000>; + dlg,warn-soc-level = /bits/ 8 <15>; + dlg,crit-soc-level = /bits/ 8 <5> + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/ene-kb930.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/ene-kb930.yaml index b992e48954..02c111def5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/ene-kb930.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/ene-kb930.yaml @@ -1,65 +1,65 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/mfd/ene-kb930.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: ENE KB930 Embedded Controller - -description: | - This binding describes the ENE KB930 Embedded Controller attached to an - I2C bus. - -maintainers: - - Dmitry Osipenko - -$ref: /schemas/power/supply/power-supply.yaml - -properties: - compatible: - items: - - enum: - - acer,a500-iconia-ec # Acer A500 Iconia tablet device - - const: ene,kb930 - reg: - maxItems: 1 - - system-power-controller: true - -required: - - compatible - - reg - -unevaluatedProperties: false - -examples: - - | - battery: battery-cell { - compatible = "simple-battery"; - charge-full-design-microamp-hours = <3260000>; - energy-full-design-microwatt-hours = <24000000>; - operating-range-celsius = <0 40>; - }; - - mains: ac-adapter { - compatible = "gpio-charger"; - charger-type = "mains"; - gpios = <&gpio 125 0>; - }; - - i2c { - #address-cells = <1>; - #size-cells = <0>; - - embedded-controller@58 { - compatible = "acer,a500-iconia-ec", "ene,kb930"; - reg = <0x58>; - - system-power-controller; - - monitored-battery = <&battery>; - power-supplies = <&mains>; - }; - }; - -... +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mfd/ene-kb930.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ENE KB930 Embedded Controller + +description: | + This binding describes the ENE KB930 Embedded Controller attached to an + I2C bus. + +maintainers: + - Dmitry Osipenko + +$ref: /schemas/power/supply/power-supply.yaml + +properties: + compatible: + items: + - enum: + - acer,a500-iconia-ec # Acer A500 Iconia tablet device + - const: ene,kb930 + reg: + maxItems: 1 + + system-power-controller: true + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + battery: battery-cell { + compatible = "simple-battery"; + charge-full-design-microamp-hours = <3260000>; + energy-full-design-microwatt-hours = <24000000>; + operating-range-celsius = <0 40>; + }; + + mains: ac-adapter { + compatible = "gpio-charger"; + charger-type = "mains"; + gpios = <&gpio 125 0>; + }; + + i2c { + #address-cells = <1>; + #size-cells = <0>; + + embedded-controller@58 { + compatible = "acer,a500-iconia-ec", "ene,kb930"; + reg = <0x58>; + + system-power-controller; + + monitored-battery = <&battery>; + power-supplies = <&mains>; + }; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/marvell,88pm886-a1.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/marvell,88pm886-a1.yaml index 40775fe3a5..d6a71c912b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/marvell,88pm886-a1.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/marvell,88pm886-a1.yaml @@ -1,76 +1,76 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/mfd/marvell,88pm886-a1.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Marvell 88PM886 PMIC core - -maintainers: - - Karel Balej - -description: - Marvell 88PM886 is a PMIC providing several functions such as onkey, - regulators or battery and charger. - -properties: - compatible: - const: marvell,88pm886-a1 - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - wakeup-source: true - - regulators: - type: object - additionalProperties: false - patternProperties: - "^(ldo(1[0-6]|[1-9])|buck[1-5])$": - type: object - $ref: /schemas/regulator/regulator.yaml# - description: LDO or buck regulator. - unevaluatedProperties: false - -required: - - compatible - - reg - - interrupts - -additionalProperties: false - -examples: - - | - #include - i2c { - #address-cells = <1>; - #size-cells = <0>; - pmic@30 { - compatible = "marvell,88pm886-a1"; - reg = <0x30>; - interrupts = <0 4 IRQ_TYPE_LEVEL_HIGH>; - interrupt-parent = <&gic>; - wakeup-source; - - regulators { - ldo2: ldo2 { - regulator-min-microvolt = <3100000>; - regulator-max-microvolt = <3300000>; - }; - - ldo15: ldo15 { - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - }; - - buck2: buck2 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - }; - }; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mfd/marvell,88pm886-a1.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Marvell 88PM886 PMIC core + +maintainers: + - Karel Balej + +description: + Marvell 88PM886 is a PMIC providing several functions such as onkey, + regulators or battery and charger. + +properties: + compatible: + const: marvell,88pm886-a1 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + wakeup-source: true + + regulators: + type: object + additionalProperties: false + patternProperties: + "^(ldo(1[0-6]|[1-9])|buck[1-5])$": + type: object + $ref: /schemas/regulator/regulator.yaml# + description: LDO or buck regulator. + unevaluatedProperties: false + +required: + - compatible + - reg + - interrupts + +additionalProperties: false + +examples: + - | + #include + i2c { + #address-cells = <1>; + #size-cells = <0>; + pmic@30 { + compatible = "marvell,88pm886-a1"; + reg = <0x30>; + interrupts = <0 4 IRQ_TYPE_LEVEL_HIGH>; + interrupt-parent = <&gic>; + wakeup-source; + + regulators { + ldo2: ldo2 { + regulator-min-microvolt = <3100000>; + regulator-max-microvolt = <3300000>; + }; + + ldo15: ldo15 { + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + }; + + buck2: buck2 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + }; + }; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/maxim,max77714.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/maxim,max77714.yaml index e7e03385a2..edac14af10 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/maxim,max77714.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/maxim,max77714.yaml @@ -1,68 +1,68 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/mfd/maxim,max77714.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: MAX77714 PMIC with GPIO, RTC and watchdog from Maxim Integrated. - -maintainers: - - Luca Ceresoli - -description: | - MAX77714 is a Power Management IC with 4 buck regulators, 9 - low-dropout regulators, 8 GPIOs, RTC and watchdog. - -properties: - compatible: - const: maxim,max77714 - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - interrupt-controller: true - - "#interrupt-cells": - const: 2 - description: - The first cell is the IRQ number, the second cell is the trigger type. - - regulators: - type: object - additionalProperties: false - - patternProperties: - '^(buck[0-3]|ldo[0-8])$': - type: object - unevaluatedProperties: false - $ref: /schemas/regulator/regulator.yaml# - -required: - - compatible - - reg - - interrupts - - interrupt-controller - - "#interrupt-cells" - -additionalProperties: false - -examples: - - | - #include - i2c { - #address-cells = <1>; - #size-cells = <0>; - - pmic@1c { - compatible = "maxim,max77714"; - reg = <0x1c>; - interrupt-parent = <&gpio2>; - interrupts = <3 IRQ_TYPE_LEVEL_LOW>; - - interrupt-controller; - #interrupt-cells = <2>; - }; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mfd/maxim,max77714.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: MAX77714 PMIC with GPIO, RTC and watchdog from Maxim Integrated. + +maintainers: + - Luca Ceresoli + +description: | + MAX77714 is a Power Management IC with 4 buck regulators, 9 + low-dropout regulators, 8 GPIOs, RTC and watchdog. + +properties: + compatible: + const: maxim,max77714 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + interrupt-controller: true + + "#interrupt-cells": + const: 2 + description: + The first cell is the IRQ number, the second cell is the trigger type. + + regulators: + type: object + additionalProperties: false + + patternProperties: + '^(buck[0-3]|ldo[0-8])$': + type: object + unevaluatedProperties: false + $ref: /schemas/regulator/regulator.yaml# + +required: + - compatible + - reg + - interrupts + - interrupt-controller + - "#interrupt-cells" + +additionalProperties: false + +examples: + - | + #include + i2c { + #address-cells = <1>; + #size-cells = <0>; + + pmic@1c { + compatible = "maxim,max77714"; + reg = <0x1c>; + interrupt-parent = <&gpio2>; + interrupts = <3 IRQ_TYPE_LEVEL_LOW>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/mediatek,mt8195-scpsys.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/mediatek,mt8195-scpsys.yaml index 534ecffe85..768390b926 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/mediatek,mt8195-scpsys.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/mediatek,mt8195-scpsys.yaml @@ -1,70 +1,70 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/mfd/mediatek,mt8195-scpsys.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: MediaTek System Control Processor System - -maintainers: - - MandyJH Liu - -description: - MediaTek System Control Processor System (SCPSYS) has several - power management tasks. The tasks include MTCMOS power - domain control, thermal measurement, DVFS, etc. - -properties: - compatible: - items: - - enum: - - mediatek,mt8167-scpsys - - mediatek,mt8173-scpsys - - mediatek,mt8183-scpsys - - mediatek,mt8186-scpsys - - mediatek,mt8188-scpsys - - mediatek,mt8192-scpsys - - mediatek,mt8195-scpsys - - mediatek,mt8365-scpsys - - const: syscon - - const: simple-mfd - - reg: - maxItems: 1 - - power-controller: - $ref: /schemas/power/mediatek,power-controller.yaml# - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - #include - #include - - syscon@10006000 { - compatible = "mediatek,mt8195-scpsys", "syscon", "simple-mfd"; - reg = <0x10006000 0x100>; - - spm: power-controller { - compatible = "mediatek,mt8195-power-controller"; - #address-cells = <1>; - #size-cells = <0>; - #power-domain-cells = <1>; - - /* sample of power domain nodes */ - power-domain@MT8195_POWER_DOMAIN_PCIE_PHY { - reg = ; - #power-domain-cells = <0>; - }; - - power-domain@MT8195_POWER_DOMAIN_SSUSB_PCIE_PHY { - reg = ; - #power-domain-cells = <0>; - }; - }; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mfd/mediatek,mt8195-scpsys.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: MediaTek System Control Processor System + +maintainers: + - MandyJH Liu + +description: + MediaTek System Control Processor System (SCPSYS) has several + power management tasks. The tasks include MTCMOS power + domain control, thermal measurement, DVFS, etc. + +properties: + compatible: + items: + - enum: + - mediatek,mt8167-scpsys + - mediatek,mt8173-scpsys + - mediatek,mt8183-scpsys + - mediatek,mt8186-scpsys + - mediatek,mt8188-scpsys + - mediatek,mt8192-scpsys + - mediatek,mt8195-scpsys + - mediatek,mt8365-scpsys + - const: syscon + - const: simple-mfd + + reg: + maxItems: 1 + + power-controller: + $ref: /schemas/power/mediatek,power-controller.yaml# + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + #include + #include + + syscon@10006000 { + compatible = "mediatek,mt8195-scpsys", "syscon", "simple-mfd"; + reg = <0x10006000 0x100>; + + spm: power-controller { + compatible = "mediatek,mt8195-power-controller"; + #address-cells = <1>; + #size-cells = <0>; + #power-domain-cells = <1>; + + /* sample of power domain nodes */ + power-domain@MT8195_POWER_DOMAIN_PCIE_PHY { + reg = ; + #power-domain-cells = <0>; + }; + + power-domain@MT8195_POWER_DOMAIN_SSUSB_PCIE_PHY { + reg = ; + #power-domain-cells = <0>; + }; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/mps,mp2629.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/mps,mp2629.yaml index cf4630cb9c..5ba849d78d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/mps,mp2629.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/mps,mp2629.yaml @@ -1,64 +1,64 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/mfd/mps,mp2629.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: MP2629 Battery Charger PMIC from Monolithic Power System. - -maintainers: - - Saravanan Sekar - -description: | - MP2629 is a PMIC providing battery charging and power supply for smartphones, - wireless camera and portable devices. Chip is controlled over I2C. - - The battery charge management device handles battery charger controller and - ADC IIO device for battery, system voltage - -properties: - compatible: - enum: - - mps,mp2629 - - mps,mp2733 - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - interrupt-controller: true - - "#interrupt-cells": - const: 2 - description: - The first cell is the IRQ number, the second cell is the trigger type. - -required: - - compatible - - reg - - interrupts - - interrupt-controller - - "#interrupt-cells" - -additionalProperties: false - -examples: - - | - #include - #include - i2c { - #address-cells = <1>; - #size-cells = <0>; - - pmic@4b { - compatible = "mps,mp2629"; - reg = <0x4b>; - - interrupt-controller; - interrupt-parent = <&gpio2>; - #interrupt-cells = <2>; - interrupts = <3 IRQ_TYPE_LEVEL_HIGH>; - }; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mfd/mps,mp2629.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: MP2629 Battery Charger PMIC from Monolithic Power System. + +maintainers: + - Saravanan Sekar + +description: | + MP2629 is a PMIC providing battery charging and power supply for smartphones, + wireless camera and portable devices. Chip is controlled over I2C. + + The battery charge management device handles battery charger controller and + ADC IIO device for battery, system voltage + +properties: + compatible: + enum: + - mps,mp2629 + - mps,mp2733 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + interrupt-controller: true + + "#interrupt-cells": + const: 2 + description: + The first cell is the IRQ number, the second cell is the trigger type. + +required: + - compatible + - reg + - interrupts + - interrupt-controller + - "#interrupt-cells" + +additionalProperties: false + +examples: + - | + #include + #include + i2c { + #address-cells = <1>; + #size-cells = <0>; + + pmic@4b { + compatible = "mps,mp2629"; + reg = <0x4b>; + + interrupt-controller; + interrupt-parent = <&gpio2>; + #interrupt-cells = <2>; + interrupts = <3 IRQ_TYPE_LEVEL_HIGH>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/mxs-lradc.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/mxs-lradc.txt index 1c066f7524..755cbef064 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/mxs-lradc.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/mxs-lradc.txt @@ -1,45 +1,45 @@ -* Freescale MXS LRADC device driver - -Required properties: -- compatible: Should be "fsl,imx23-lradc" for i.MX23 SoC and "fsl,imx28-lradc" - for i.MX28 SoC -- reg: Address and length of the register set for the device -- interrupts: Should contain the LRADC interrupts - -Optional properties: -- fsl,lradc-touchscreen-wires: Number of wires used to connect the touchscreen - to LRADC. Valid value is either 4 or 5. If this - property is not present, then the touchscreen is - disabled. 5 wires is valid for i.MX28 SoC only. -- fsl,ave-ctrl: number of samples per direction to calculate an average value. - Allowed value is 1 ... 32, default is 4 -- fsl,ave-delay: delay between consecutive samples. Allowed value is - 2 ... 2048. It is used if 'fsl,ave-ctrl' > 1, counts at - 2 kHz and its default is 2 (= 1 ms) -- fsl,settling: delay between plate switch to next sample. Allowed value is - 1 ... 2047. It counts at 2 kHz and its default is - 10 (= 5 ms) - -Example for i.MX23 SoC: - - lradc@80050000 { - compatible = "fsl,imx23-lradc"; - reg = <0x80050000 0x2000>; - interrupts = <36 37 38 39 40 41 42 43 44>; - fsl,lradc-touchscreen-wires = <4>; - fsl,ave-ctrl = <4>; - fsl,ave-delay = <2>; - fsl,settling = <10>; - }; - -Example for i.MX28 SoC: - - lradc@80050000 { - compatible = "fsl,imx28-lradc"; - reg = <0x80050000 0x2000>; - interrupts = <10 14 15 16 17 18 19 20 21 22 23 24 25>; - fsl,lradc-touchscreen-wires = <5>; - fsl,ave-ctrl = <4>; - fsl,ave-delay = <2>; - fsl,settling = <10>; - }; +* Freescale MXS LRADC device driver + +Required properties: +- compatible: Should be "fsl,imx23-lradc" for i.MX23 SoC and "fsl,imx28-lradc" + for i.MX28 SoC +- reg: Address and length of the register set for the device +- interrupts: Should contain the LRADC interrupts + +Optional properties: +- fsl,lradc-touchscreen-wires: Number of wires used to connect the touchscreen + to LRADC. Valid value is either 4 or 5. If this + property is not present, then the touchscreen is + disabled. 5 wires is valid for i.MX28 SoC only. +- fsl,ave-ctrl: number of samples per direction to calculate an average value. + Allowed value is 1 ... 32, default is 4 +- fsl,ave-delay: delay between consecutive samples. Allowed value is + 2 ... 2048. It is used if 'fsl,ave-ctrl' > 1, counts at + 2 kHz and its default is 2 (= 1 ms) +- fsl,settling: delay between plate switch to next sample. Allowed value is + 1 ... 2047. It counts at 2 kHz and its default is + 10 (= 5 ms) + +Example for i.MX23 SoC: + + lradc@80050000 { + compatible = "fsl,imx23-lradc"; + reg = <0x80050000 0x2000>; + interrupts = <36 37 38 39 40 41 42 43 44>; + fsl,lradc-touchscreen-wires = <4>; + fsl,ave-ctrl = <4>; + fsl,ave-delay = <2>; + fsl,settling = <10>; + }; + +Example for i.MX28 SoC: + + lradc@80050000 { + compatible = "fsl,imx28-lradc"; + reg = <0x80050000 0x2000>; + interrupts = <10 14 15 16 17 18 19 20 21 22 23 24 25>; + fsl,lradc-touchscreen-wires = <5>; + fsl,ave-ctrl = <4>; + fsl,ave-delay = <2>; + fsl,settling = <10>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/qcom,tcsr.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/qcom,tcsr.yaml index fa9e604593..7d0b0b4031 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/qcom,tcsr.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/qcom,tcsr.yaml @@ -1,70 +1,70 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/mfd/qcom,tcsr.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm Top Control and Status Register - -maintainers: - - Bjorn Andersson - -description: - Qualcomm devices have a set of registers that provide various control and - status functions for their peripherals. - -properties: - compatible: - items: - - enum: - - qcom,msm8976-tcsr - - qcom,msm8998-tcsr - - qcom,qcm2290-tcsr - - qcom,qcs404-tcsr - - qcom,sa8775p-tcsr - - qcom,sc7180-tcsr - - qcom,sc7280-tcsr - - qcom,sc8280xp-tcsr - - qcom,sdm630-tcsr - - qcom,sdm845-tcsr - - qcom,sdx55-tcsr - - qcom,sdx65-tcsr - - qcom,sdx75-tcsr - - qcom,sm4450-tcsr - - qcom,sm6115-tcsr - - qcom,sm8150-tcsr - - qcom,sm8250-tcsr - - qcom,sm8350-tcsr - - qcom,sm8450-tcsr - - qcom,tcsr-apq8064 - - qcom,tcsr-apq8084 - - qcom,tcsr-ipq5332 - - qcom,tcsr-ipq6018 - - qcom,tcsr-ipq8064 - - qcom,tcsr-ipq8074 - - qcom,tcsr-ipq9574 - - qcom,tcsr-mdm9615 - - qcom,tcsr-msm8226 - - qcom,tcsr-msm8660 - - qcom,tcsr-msm8916 - - qcom,tcsr-msm8953 - - qcom,tcsr-msm8960 - - qcom,tcsr-msm8974 - - qcom,tcsr-msm8996 - - const: syscon - - reg: - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - syscon@1a400000 { - compatible = "qcom,tcsr-msm8960", "syscon"; - reg = <0x1a400000 0x100>; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mfd/qcom,tcsr.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Top Control and Status Register + +maintainers: + - Bjorn Andersson + +description: + Qualcomm devices have a set of registers that provide various control and + status functions for their peripherals. + +properties: + compatible: + items: + - enum: + - qcom,msm8976-tcsr + - qcom,msm8998-tcsr + - qcom,qcm2290-tcsr + - qcom,qcs404-tcsr + - qcom,sa8775p-tcsr + - qcom,sc7180-tcsr + - qcom,sc7280-tcsr + - qcom,sc8280xp-tcsr + - qcom,sdm630-tcsr + - qcom,sdm845-tcsr + - qcom,sdx55-tcsr + - qcom,sdx65-tcsr + - qcom,sdx75-tcsr + - qcom,sm4450-tcsr + - qcom,sm6115-tcsr + - qcom,sm8150-tcsr + - qcom,sm8250-tcsr + - qcom,sm8350-tcsr + - qcom,sm8450-tcsr + - qcom,tcsr-apq8064 + - qcom,tcsr-apq8084 + - qcom,tcsr-ipq5332 + - qcom,tcsr-ipq6018 + - qcom,tcsr-ipq8064 + - qcom,tcsr-ipq8074 + - qcom,tcsr-ipq9574 + - qcom,tcsr-mdm9615 + - qcom,tcsr-msm8226 + - qcom,tcsr-msm8660 + - qcom,tcsr-msm8916 + - qcom,tcsr-msm8953 + - qcom,tcsr-msm8960 + - qcom,tcsr-msm8974 + - qcom,tcsr-msm8996 + - const: syscon + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + syscon@1a400000 { + compatible = "qcom,tcsr-msm8960", "syscon"; + reg = <0x1a400000 0x100>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/silergy,sy7636a.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/silergy,sy7636a.yaml index 97a8d979cf..ee0be32ac0 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/silergy,sy7636a.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/silergy,sy7636a.yaml @@ -1,83 +1,83 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/mfd/silergy,sy7636a.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: silergy sy7636a PMIC - -maintainers: - - Alistair Francis - -properties: - compatible: - const: silergy,sy7636a - - reg: - description: - I2C device address. - maxItems: 1 - - "#address-cells": - const: 1 - - "#size-cells": - const: 0 - - '#thermal-sensor-cells': - const: 0 - - epd-pwr-good-gpios: - description: - Specifying the power good GPIOs. - maxItems: 1 - - regulators: - type: object - - properties: - compatible: - const: silergy,sy7636a-regulator - - vcom: - type: object - $ref: /schemas/regulator/regulator.yaml# - unevaluatedProperties: false - description: - The regulator for the compenstation voltage. Enabling/disabling this - enables/disables the entire device. - properties: - regulator-name: - const: vcom - - additionalProperties: false - -required: - - compatible - - reg - - '#thermal-sensor-cells' - -additionalProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - pmic@62 { - compatible = "silergy,sy7636a"; - reg = <0x62>; - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_epdpmic>; - #thermal-sensor-cells = <0>; - - regulators { - reg_epdpmic: vcom { - regulator-name = "vcom"; - regulator-boot-on; - }; - }; - }; - }; -... +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mfd/silergy,sy7636a.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: silergy sy7636a PMIC + +maintainers: + - Alistair Francis + +properties: + compatible: + const: silergy,sy7636a + + reg: + description: + I2C device address. + maxItems: 1 + + "#address-cells": + const: 1 + + "#size-cells": + const: 0 + + '#thermal-sensor-cells': + const: 0 + + epd-pwr-good-gpios: + description: + Specifying the power good GPIOs. + maxItems: 1 + + regulators: + type: object + + properties: + compatible: + const: silergy,sy7636a-regulator + + vcom: + type: object + $ref: /schemas/regulator/regulator.yaml# + unevaluatedProperties: false + description: + The regulator for the compenstation voltage. Enabling/disabling this + enables/disables the entire device. + properties: + regulator-name: + const: vcom + + additionalProperties: false + +required: + - compatible + - reg + - '#thermal-sensor-cells' + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + pmic@62 { + compatible = "silergy,sy7636a"; + reg = <0x62>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_epdpmic>; + #thermal-sensor-cells = <0>; + + regulators { + reg_epdpmic: vcom { + regulator-name = "vcom"; + regulator-boot-on; + }; + }; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/sprd,sc27xx-pmic.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/sprd,sc27xx-pmic.txt index c517954346..21b9a897fc 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/sprd,sc27xx-pmic.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/sprd,sc27xx-pmic.txt @@ -1,40 +1,40 @@ -Spreadtrum SC27xx Power Management Integrated Circuit (PMIC) - -The Spreadtrum SC27xx series PMICs contain SC2720, SC2721, SC2723, SC2730 -and SC2731. The Spreadtrum PMIC belonging to SC27xx series integrates all -mobile handset power management, audio codec, battery management and user -interface support function in a single chip. It has 6 major functional -blocks: -- DCDCs to support CPU, memory. -- LDOs to support both internal and external requirement. -- Battery management system, such as charger, fuel gauge. -- Audio codec. -- User interface function, such as indicator, flash LED and so on. -- IC level interface, such as power on/off control, RTC and typec and so on. - -Required properties: -- compatible: Should be one of the following: - "sprd,sc2720" - "sprd,sc2721" - "sprd,sc2723" - "sprd,sc2730" - "sprd,sc2731" -- reg: The address of the device chip select, should be 0. -- spi-max-frequency: Typically set to 26000000. -- interrupts: The interrupt line the device is connected to. -- interrupt-controller: Marks the device node as an interrupt controller. -- #interrupt-cells: The number of cells to describe an PMIC IRQ, must be 2. -- #address-cells: Child device offset number of cells, must be 1. -- #size-cells: Child device size number of cells, must be 0. - -Example: -pmic@0 { - compatible = "sprd,sc2731"; - reg = <0>; - spi-max-frequency = <26000000>; - interrupts = ; - interrupt-controller; - #interrupt-cells = <2>; - #address-cells = <1>; - #size-cells = <0>; -}; +Spreadtrum SC27xx Power Management Integrated Circuit (PMIC) + +The Spreadtrum SC27xx series PMICs contain SC2720, SC2721, SC2723, SC2730 +and SC2731. The Spreadtrum PMIC belonging to SC27xx series integrates all +mobile handset power management, audio codec, battery management and user +interface support function in a single chip. It has 6 major functional +blocks: +- DCDCs to support CPU, memory. +- LDOs to support both internal and external requirement. +- Battery management system, such as charger, fuel gauge. +- Audio codec. +- User interface function, such as indicator, flash LED and so on. +- IC level interface, such as power on/off control, RTC and typec and so on. + +Required properties: +- compatible: Should be one of the following: + "sprd,sc2720" + "sprd,sc2721" + "sprd,sc2723" + "sprd,sc2730" + "sprd,sc2731" +- reg: The address of the device chip select, should be 0. +- spi-max-frequency: Typically set to 26000000. +- interrupts: The interrupt line the device is connected to. +- interrupt-controller: Marks the device node as an interrupt controller. +- #interrupt-cells: The number of cells to describe an PMIC IRQ, must be 2. +- #address-cells: Child device offset number of cells, must be 1. +- #size-cells: Child device size number of cells, must be 0. + +Example: +pmic@0 { + compatible = "sprd,sc2731"; + reg = <0>; + spi-max-frequency = <26000000>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + #address-cells = <1>; + #size-cells = <0>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/sprd,ums512-glbreg.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/sprd,ums512-glbreg.yaml index c5bba77c0a..a750fa23d7 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/sprd,ums512-glbreg.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/sprd,ums512-glbreg.yaml @@ -1,73 +1,73 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -# Copyright 2022 Unisoc Inc. -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/mfd/sprd,ums512-glbreg.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Unisoc System Global Register - -maintainers: - - Orson Zhai - - Baolin Wang - - Chunyan Zhang - -description: - Unisoc system global registers provide register map - for clocks and some multimedia modules of the SoC. - -properties: - compatible: - items: - - enum: - - sprd,ums512-glbregs - - sprd,ums9620-glbregs - - const: syscon - - const: simple-mfd - - "#address-cells": - const: 1 - - "#size-cells": - const: 1 - - ranges: - maxItems: 1 - - reg: - maxItems: 1 - -patternProperties: - "^clock-controller@[0-9a-f]+$": - type: object - $ref: /schemas/clock/sprd,ums512-clk.yaml# - description: - Clock controller for the SoC clocks. - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - ap_apb_regs: syscon@71000000 { - compatible = "sprd,ums512-glbregs", "syscon", "simple-mfd"; - reg = <0x71000000 0x3000>; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 0x71000000 0x3000>; - - clock-controller@0 { - compatible = "sprd,ums512-apahb-gate"; - reg = <0x0 0x2000>; - #clock-cells = <1>; - }; - }; - - - | - ap_intc5_regs: syscon@32360000 { - compatible = "sprd,ums512-glbregs", "syscon", "simple-mfd"; - reg = <0x32360000 0x1000>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +# Copyright 2022 Unisoc Inc. +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mfd/sprd,ums512-glbreg.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Unisoc System Global Register + +maintainers: + - Orson Zhai + - Baolin Wang + - Chunyan Zhang + +description: + Unisoc system global registers provide register map + for clocks and some multimedia modules of the SoC. + +properties: + compatible: + items: + - enum: + - sprd,ums512-glbregs + - sprd,ums9620-glbregs + - const: syscon + - const: simple-mfd + + "#address-cells": + const: 1 + + "#size-cells": + const: 1 + + ranges: + maxItems: 1 + + reg: + maxItems: 1 + +patternProperties: + "^clock-controller@[0-9a-f]+$": + type: object + $ref: /schemas/clock/sprd,ums512-clk.yaml# + description: + Clock controller for the SoC clocks. + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + ap_apb_regs: syscon@71000000 { + compatible = "sprd,ums512-glbregs", "syscon", "simple-mfd"; + reg = <0x71000000 0x3000>; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0 0x71000000 0x3000>; + + clock-controller@0 { + compatible = "sprd,ums512-apahb-gate"; + reg = <0x0 0x2000>; + #clock-cells = <1>; + }; + }; + + - | + ap_intc5_regs: syscon@32360000 { + compatible = "sprd,ums512-glbregs", "syscon", "simple-mfd"; + reg = <0x32360000 0x1000>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/syscon-common.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/syscon-common.yaml index 66948e429e..451cbad467 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/syscon-common.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/syscon-common.yaml @@ -1,71 +1,71 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/mfd/syscon-common.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: System Controller Registers R/W Common Properties - -description: - System controller node represents a register region containing a set - of miscellaneous registers. The registers are not cohesive enough to - represent as any specific type of device. The typical use-case is - for some other node's driver, or platform-specific code, to acquire - a reference to the syscon node (e.g. by phandle, node path, or - search using a specific compatible value), interrogate the node (or - associated OS driver) to determine the location of the registers, - and access the registers directly. - -maintainers: - - Lee Jones - -select: - properties: - compatible: - contains: - const: syscon - - required: - - compatible - -properties: - compatible: - contains: - const: syscon - minItems: 2 - maxItems: 5 # Should be enough - - reg: - maxItems: 1 - - reg-io-width: - description: - The size (in bytes) of the IO accesses that should be performed - on the device. - enum: [1, 2, 4, 8] - -required: - - compatible - - reg - -allOf: - - if: - properties: - compatible: - contains: - const: simple-mfd - then: - properties: - compatible: - minItems: 3 - maxItems: 5 - -additionalProperties: true - -examples: - - | - syscon: syscon@1c00000 { - compatible = "allwinner,sun8i-h3-system-controller", "syscon"; - reg = <0x01c00000 0x1000>; - }; -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mfd/syscon-common.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: System Controller Registers R/W Common Properties + +description: + System controller node represents a register region containing a set + of miscellaneous registers. The registers are not cohesive enough to + represent as any specific type of device. The typical use-case is + for some other node's driver, or platform-specific code, to acquire + a reference to the syscon node (e.g. by phandle, node path, or + search using a specific compatible value), interrogate the node (or + associated OS driver) to determine the location of the registers, + and access the registers directly. + +maintainers: + - Lee Jones + +select: + properties: + compatible: + contains: + const: syscon + + required: + - compatible + +properties: + compatible: + contains: + const: syscon + minItems: 2 + maxItems: 5 # Should be enough + + reg: + maxItems: 1 + + reg-io-width: + description: + The size (in bytes) of the IO accesses that should be performed + on the device. + enum: [1, 2, 4, 8] + +required: + - compatible + - reg + +allOf: + - if: + properties: + compatible: + contains: + const: simple-mfd + then: + properties: + compatible: + minItems: 3 + maxItems: 5 + +additionalProperties: true + +examples: + - | + syscon: syscon@1c00000 { + compatible = "allwinner,sun8i-h3-system-controller", "syscon"; + reg = <0x01c00000 0x1000>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/ti,am3359-tscadc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/ti,am3359-tscadc.yaml index 28cead9a7a..70b5dfce07 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/ti,am3359-tscadc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/ti,am3359-tscadc.yaml @@ -1,85 +1,85 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/mfd/ti,am3359-tscadc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: TI AM3359 Touchscreen controller/ADC - -maintainers: - - Miquel Raynal - -properties: - compatible: - oneOf: - - const: ti,am3359-tscadc - - items: - - const: ti,am654-tscadc - - const: ti,am3359-tscadc - - const: ti,am4372-magadc - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - maxItems: 1 - - clock-names: - const: fck - - dmas: - items: - - description: DMA controller phandle and request line for FIFO0 - - description: DMA controller phandle and request line for FIFO1 - - dma-names: - items: - - const: fifo0 - - const: fifo1 - - adc: - type: object - description: ADC child - - tsc: - type: object - description: Touchscreen controller child - - mag: - type: object - description: Magnetic reader - - power-domains: - maxItems: 1 - -required: - - compatible - - reg - - interrupts - - clocks - - clock-names - -additionalProperties: false - -examples: - - | - #include - - tscadc@0 { - compatible = "ti,am3359-tscadc"; - reg = <0x0 0x1000>; - interrupts = ; - clocks = <&adc_tsc_fck>; - clock-names = "fck"; - dmas = <&edma 53 0>, <&edma 57 0>; - dma-names = "fifo0", "fifo1"; - - tsc { - }; - - adc { - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mfd/ti,am3359-tscadc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: TI AM3359 Touchscreen controller/ADC + +maintainers: + - Miquel Raynal + +properties: + compatible: + oneOf: + - const: ti,am3359-tscadc + - items: + - const: ti,am654-tscadc + - const: ti,am3359-tscadc + - const: ti,am4372-magadc + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + + clock-names: + const: fck + + dmas: + items: + - description: DMA controller phandle and request line for FIFO0 + - description: DMA controller phandle and request line for FIFO1 + + dma-names: + items: + - const: fifo0 + - const: fifo1 + + adc: + type: object + description: ADC child + + tsc: + type: object + description: Touchscreen controller child + + mag: + type: object + description: Magnetic reader + + power-domains: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + - clocks + - clock-names + +additionalProperties: false + +examples: + - | + #include + + tscadc@0 { + compatible = "ti,am3359-tscadc"; + reg = <0x0 0x1000>; + interrupts = ; + clocks = <&adc_tsc_fck>; + clock-names = "fck"; + dmas = <&edma 53 0>, <&edma 57 0>; + dma-names = "fifo0", "fifo1"; + + tsc { + }; + + adc { + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/tps65912.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/tps65912.txt index 26ef0595d9..8becb183a4 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/tps65912.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/tps65912.txt @@ -1,49 +1,49 @@ -* TPS65912 Power Management Integrated Circuit bindings - -Required properties: - - compatible : Should be "ti,tps65912". - - reg : Slave address or chip select number (I2C / SPI). - - interrupts : The interrupt line the device is connected to. - - interrupt-controller : Marks the device node as an interrupt controller. - - #interrupt-cells : The number of cells to describe an IRQ, should be 2. - The first cell is the IRQ number. - The second cell is the flags, encoded as trigger - masks from ../interrupt-controller/interrupts.txt. - - 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 flags. - See ../gpio/gpio.txt for more information. - - regulators: : List of child nodes that specify the regulator - initialization data. Child nodes must be named - after their hardware counterparts: dcdc[1-4] and - ldo[1-10]. Each child nodes is defined using the - standard binding for regulators. - -Example: - - pmic: tps65912@2d { - compatible = "ti,tps65912"; - reg = <0x2d>; - interrupt-parent = <&gpio1>; - interrupts = <28 IRQ_TYPE_LEVEL_LOW>; - interrupt-controller; - #interrupt-cells = <2>; - gpio-controller; - #gpio-cells = <2>; - - regulators { - dcdc1 { - regulator-name = "vdd_core"; - regulator-min-microvolt = <912000>; - regulator-max-microvolt = <1144000>; - regulator-boot-on; - regulator-always-on; - }; - - ldo1 { - regulator-name = "ldo1"; - regulator-min-microvolt = <1900000>; - regulator-max-microvolt = <1900000>; - }; - }; - }; +* TPS65912 Power Management Integrated Circuit bindings + +Required properties: + - compatible : Should be "ti,tps65912". + - reg : Slave address or chip select number (I2C / SPI). + - interrupts : The interrupt line the device is connected to. + - interrupt-controller : Marks the device node as an interrupt controller. + - #interrupt-cells : The number of cells to describe an IRQ, should be 2. + The first cell is the IRQ number. + The second cell is the flags, encoded as trigger + masks from ../interrupt-controller/interrupts.txt. + - 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 flags. + See ../gpio/gpio.txt for more information. + - regulators: : List of child nodes that specify the regulator + initialization data. Child nodes must be named + after their hardware counterparts: dcdc[1-4] and + ldo[1-10]. Each child nodes is defined using the + standard binding for regulators. + +Example: + + pmic: tps65912@2d { + compatible = "ti,tps65912"; + reg = <0x2d>; + interrupt-parent = <&gpio1>; + interrupts = <28 IRQ_TYPE_LEVEL_LOW>; + interrupt-controller; + #interrupt-cells = <2>; + gpio-controller; + #gpio-cells = <2>; + + regulators { + dcdc1 { + regulator-name = "vdd_core"; + regulator-min-microvolt = <912000>; + regulator-max-microvolt = <1144000>; + regulator-boot-on; + regulator-always-on; + }; + + ldo1 { + regulator-name = "ldo1"; + regulator-min-microvolt = <1900000>; + regulator-max-microvolt = <1900000>; + }; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/twl4030-power.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/twl4030-power.txt index cf36e001e2..3d19963312 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/twl4030-power.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/twl4030-power.txt @@ -1,48 +1,48 @@ -Texas Instruments TWL family (twl4030) reset and power management module - -The power management module inside the TWL family provides several facilities -to control the power resources, including power scripts. For now, the -binding only supports the complete shutdown of the system after poweroff. - -Required properties: -- compatible : must be one of the following - "ti,twl4030-power" - "ti,twl4030-power-reset" - "ti,twl4030-power-idle" - "ti,twl4030-power-idle-osc-off" - -The use of ti,twl4030-power-reset is recommended at least on -3530 that needs a special configuration for warm reset to work. - -When using ti,twl4030-power-idle, the TI recommended configuration -for idle modes is loaded to the tlw4030 PMIC. - -When using ti,twl4030-power-idle-osc-off, the TI recommended -configuration is used with the external oscillator being shut -down during off-idle. Note that this does not work on all boards -depending on how the external oscillator is wired. - -Optional properties: - -- ti,system-power-controller: This indicates that TWL4030 is the - power supply master of the system. With this flag, the chip will - initiate an ACTIVE-to-OFF or SLEEP-to-OFF transition when the - system poweroffs. - -- ti,use_poweroff: Deprecated name for ti,system-power-controller - -Example: -&i2c1 { - clock-frequency = <2600000>; - - twl: twl@48 { - reg = <0x48>; - interrupts = <7>; /* SYS_NIRQ cascaded to intc */ - interrupt-parent = <&intc>; - - twl_power: power { - compatible = "ti,twl4030-power"; - ti,use_poweroff; - }; - }; -}; +Texas Instruments TWL family (twl4030) reset and power management module + +The power management module inside the TWL family provides several facilities +to control the power resources, including power scripts. For now, the +binding only supports the complete shutdown of the system after poweroff. + +Required properties: +- compatible : must be one of the following + "ti,twl4030-power" + "ti,twl4030-power-reset" + "ti,twl4030-power-idle" + "ti,twl4030-power-idle-osc-off" + +The use of ti,twl4030-power-reset is recommended at least on +3530 that needs a special configuration for warm reset to work. + +When using ti,twl4030-power-idle, the TI recommended configuration +for idle modes is loaded to the tlw4030 PMIC. + +When using ti,twl4030-power-idle-osc-off, the TI recommended +configuration is used with the external oscillator being shut +down during off-idle. Note that this does not work on all boards +depending on how the external oscillator is wired. + +Optional properties: + +- ti,system-power-controller: This indicates that TWL4030 is the + power supply master of the system. With this flag, the chip will + initiate an ACTIVE-to-OFF or SLEEP-to-OFF transition when the + system poweroffs. + +- ti,use_poweroff: Deprecated name for ti,system-power-controller + +Example: +&i2c1 { + clock-frequency = <2600000>; + + twl: twl@48 { + reg = <0x48>; + interrupts = <7>; /* SYS_NIRQ cascaded to intc */ + interrupt-parent = <&intc>; + + twl_power: power { + compatible = "ti,twl4030-power"; + ti,use_poweroff; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mips/ingenic/devices.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mips/ingenic/devices.yaml index 77c410ed58..f2e822afe7 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mips/ingenic/devices.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mips/ingenic/devices.yaml @@ -1,58 +1,58 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/mips/ingenic/devices.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Ingenic XBurst based Platforms - -maintainers: - - 周琰杰 (Zhou Yanjie) - -description: - Devices with a Ingenic XBurst CPU shall have the following properties. - -properties: - $nodename: - const: '/' - compatible: - oneOf: - - - description: Qi Hardware Ben NanoNote - items: - - const: qi,lb60 - - const: ingenic,jz4740 - - - description: YLM RetroMini RS-90 - items: - - const: ylm,rs90 - - const: ingenic,jz4725b - - - description: Game Consoles Worldwide GCW Zero - items: - - const: gcw,zero - - const: ingenic,jz4770 - - - description: MIPS Creator CI20 - items: - - const: img,ci20 - - const: ingenic,jz4780 - - - description: YSH & ATIL General Board, CU1000 Module with Neo Backplane - items: - - const: yna,cu1000-neo - - const: ingenic,x1000e - - - description: YSH & ATIL General Board, CU1830 Module with Neo Backplane - items: - - const: yna,cu1830-neo - - const: ingenic,x1830 - - - description: YSH & ATIL General Board, CU2000 Module with Neo Backplane - items: - - const: yna,cu2000-neo - - const: ingenic,x2000e - -additionalProperties: true - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mips/ingenic/devices.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Ingenic XBurst based Platforms + +maintainers: + - 周琰杰 (Zhou Yanjie) + +description: + Devices with a Ingenic XBurst CPU shall have the following properties. + +properties: + $nodename: + const: '/' + compatible: + oneOf: + + - description: Qi Hardware Ben NanoNote + items: + - const: qi,lb60 + - const: ingenic,jz4740 + + - description: YLM RetroMini RS-90 + items: + - const: ylm,rs90 + - const: ingenic,jz4725b + + - description: Game Consoles Worldwide GCW Zero + items: + - const: gcw,zero + - const: ingenic,jz4770 + + - description: MIPS Creator CI20 + items: + - const: img,ci20 + - const: ingenic,jz4780 + + - description: YSH & ATIL General Board, CU1000 Module with Neo Backplane + items: + - const: yna,cu1000-neo + - const: ingenic,x1000e + + - description: YSH & ATIL General Board, CU1830 Module with Neo Backplane + items: + - const: yna,cu1830-neo + - const: ingenic,x1830 + + - description: YSH & ATIL General Board, CU2000 Module with Neo Backplane + items: + - const: yna,cu2000-neo + - const: ingenic,x2000e + +additionalProperties: true + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mips/lantiq/rcu.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mips/lantiq/rcu.txt index 2b83fc117c..8ec6191c17 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mips/lantiq/rcu.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mips/lantiq/rcu.txt @@ -1,69 +1,69 @@ -Lantiq XWAY SoC RCU binding -=========================== - -This binding describes the RCU (reset controller unit) multifunction device, -where each sub-device has its own set of registers. - -The RCU register range is used for multiple purposes. Mostly one device -uses one or multiple register exclusively, but for some registers some -bits are for one driver and some other bits are for a different driver. -With this patch all accesses to the RCU registers will go through -syscon. - - -------------------------------------------------------------------------------- -Required properties: -- compatible : The first and second values must be: - "lantiq,xrx200-rcu", "simple-mfd", "syscon" -- reg : The address and length of the system control registers - - -------------------------------------------------------------------------------- -Example of the RCU bindings on a xRX200 SoC: - rcu0: rcu@203000 { - compatible = "lantiq,xrx200-rcu", "simple-mfd", "syscon"; - reg = <0x203000 0x100>; - ranges = <0x0 0x203000 0x100>; - big-endian; - - reset0: reset-controller@10 { - compatible = "lantiq,xrx200-reset"; - reg = <0x10 4>, <0x14 4>; - - #reset-cells = <2>; - }; - - reset1: reset-controller@48 { - compatible = "lantiq,xrx200-reset"; - reg = <0x48 4>, <0x24 4>; - - #reset-cells = <2>; - }; - - usb_phy0: usb2-phy@18 { - compatible = "lantiq,xrx200-usb2-phy"; - reg = <0x18 4>, <0x38 4>; - - resets = <&reset1 4 4>, <&reset0 4 4>; - reset-names = "phy", "ctrl"; - #phy-cells = <0>; - }; - - usb_phy1: usb2-phy@34 { - compatible = "lantiq,xrx200-usb2-phy"; - reg = <0x34 4>, <0x3C 4>; - - resets = <&reset1 5 4>, <&reset0 4 4>; - reset-names = "phy", "ctrl"; - #phy-cells = <0>; - }; - - reboot@10 { - compatible = "syscon-reboot"; - reg = <0x10 4>; - - regmap = <&rcu0>; - offset = <0x10>; - mask = <0x40000000>; - }; - }; +Lantiq XWAY SoC RCU binding +=========================== + +This binding describes the RCU (reset controller unit) multifunction device, +where each sub-device has its own set of registers. + +The RCU register range is used for multiple purposes. Mostly one device +uses one or multiple register exclusively, but for some registers some +bits are for one driver and some other bits are for a different driver. +With this patch all accesses to the RCU registers will go through +syscon. + + +------------------------------------------------------------------------------- +Required properties: +- compatible : The first and second values must be: + "lantiq,xrx200-rcu", "simple-mfd", "syscon" +- reg : The address and length of the system control registers + + +------------------------------------------------------------------------------- +Example of the RCU bindings on a xRX200 SoC: + rcu0: rcu@203000 { + compatible = "lantiq,xrx200-rcu", "simple-mfd", "syscon"; + reg = <0x203000 0x100>; + ranges = <0x0 0x203000 0x100>; + big-endian; + + reset0: reset-controller@10 { + compatible = "lantiq,xrx200-reset"; + reg = <0x10 4>, <0x14 4>; + + #reset-cells = <2>; + }; + + reset1: reset-controller@48 { + compatible = "lantiq,xrx200-reset"; + reg = <0x48 4>, <0x24 4>; + + #reset-cells = <2>; + }; + + usb_phy0: usb2-phy@18 { + compatible = "lantiq,xrx200-usb2-phy"; + reg = <0x18 4>, <0x38 4>; + + resets = <&reset1 4 4>, <&reset0 4 4>; + reset-names = "phy", "ctrl"; + #phy-cells = <0>; + }; + + usb_phy1: usb2-phy@34 { + compatible = "lantiq,xrx200-usb2-phy"; + reg = <0x34 4>, <0x3C 4>; + + resets = <&reset1 5 4>, <&reset0 4 4>; + reset-names = "phy", "ctrl"; + #phy-cells = <0>; + }; + + reboot@10 { + compatible = "syscon-reboot"; + reg = <0x10 4>; + + regmap = <&rcu0>; + offset = <0x10>; + mask = <0x40000000>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mips/loongson/devices.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mips/loongson/devices.yaml index 4a399f0303..099e40e148 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mips/loongson/devices.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mips/loongson/devices.yaml @@ -1,54 +1,54 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/mips/loongson/devices.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Loongson based Platforms - -maintainers: - - Jiaxun Yang -description: | - Devices with a Loongson CPU shall have the following properties. - -properties: - $nodename: - const: '/' - compatible: - oneOf: - - - description: Classic Loongson64 Quad Core + LS7A - items: - - const: loongson,loongson64c-4core-ls7a - - - description: Classic Loongson64 Quad Core + RS780E - items: - - const: loongson,loongson64c-4core-rs780e - - - description: Classic Loongson64 Octa Core + RS780E - items: - - const: loongson,loongson64c-8core-rs780e - - - description: Generic Loongson64 Quad Core + LS7A - items: - - const: loongson,loongson64g-4core-ls7a - - - description: Virtual Loongson64 Quad Core + VirtIO - items: - - const: loongson,loongson64v-4core-virtio - - - description: LS1B based boards - items: - - enum: - - loongson,lsgz-1b-dev - - const: loongson,ls1b - - - description: LS1C based boards - items: - - enum: - - loongmasses,smartloong-1c - - const: loongson,ls1c - -additionalProperties: true - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mips/loongson/devices.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Loongson based Platforms + +maintainers: + - Jiaxun Yang +description: | + Devices with a Loongson CPU shall have the following properties. + +properties: + $nodename: + const: '/' + compatible: + oneOf: + + - description: Classic Loongson64 Quad Core + LS7A + items: + - const: loongson,loongson64c-4core-ls7a + + - description: Classic Loongson64 Quad Core + RS780E + items: + - const: loongson,loongson64c-4core-rs780e + + - description: Classic Loongson64 Octa Core + RS780E + items: + - const: loongson,loongson64c-8core-rs780e + + - description: Generic Loongson64 Quad Core + LS7A + items: + - const: loongson,loongson64g-4core-ls7a + + - description: Virtual Loongson64 Quad Core + VirtIO + items: + - const: loongson,loongson64v-4core-virtio + + - description: LS1B based boards + items: + - enum: + - loongson,lsgz-1b-dev + - const: loongson,ls1b + + - description: LS1C based boards + items: + - enum: + - loongmasses,smartloong-1c + - const: loongson,ls1c + +additionalProperties: true + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/misc/aspeed,ast2400-cvic.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/misc/aspeed,ast2400-cvic.yaml index 3343aa27da..accf1a7ecf 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/misc/aspeed,ast2400-cvic.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/misc/aspeed,ast2400-cvic.yaml @@ -1,60 +1,60 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/misc/aspeed,ast2400-cvic.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Aspeed Coprocessor Vectored Interrupt Controller - -maintainers: - - Andrew Jeffery - -description: - The Aspeed AST2400 and AST2500 SoCs have a controller that provides interrupts - to the ColdFire coprocessor. It's not a normal interrupt controller and it - would be rather inconvenient to create an interrupt tree for it, as it - somewhat shares some of the same sources as the main ARM interrupt controller - but with different numbers. - - The AST2500 also supports a software generated interrupt. - -properties: - compatible: - items: - - enum: - - aspeed,ast2400-cvic - - aspeed,ast2500-cvic - - const: aspeed,cvic - - reg: - maxItems: 1 - - valid-sources: - $ref: /schemas/types.yaml#/definitions/uint32-array - maxItems: 1 - description: - A bitmap of supported sources for the implementation. - - copro-sw-interrupts: - $ref: /schemas/types.yaml#/definitions/uint32-array - minItems: 1 - maxItems: 32 - description: - A list of interrupt numbers that can be used as software interrupts from - the ARM to the coprocessor. - -required: - - compatible - - reg - - valid-sources - -additionalProperties: false - -examples: - - | - interrupt-controller@1e6c2000 { - compatible = "aspeed,ast2500-cvic", "aspeed,cvic"; - reg = <0x1e6c2000 0x80>; - valid-sources = <0xffffffff>; - copro-sw-interrupts = <1>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/misc/aspeed,ast2400-cvic.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Aspeed Coprocessor Vectored Interrupt Controller + +maintainers: + - Andrew Jeffery + +description: + The Aspeed AST2400 and AST2500 SoCs have a controller that provides interrupts + to the ColdFire coprocessor. It's not a normal interrupt controller and it + would be rather inconvenient to create an interrupt tree for it, as it + somewhat shares some of the same sources as the main ARM interrupt controller + but with different numbers. + + The AST2500 also supports a software generated interrupt. + +properties: + compatible: + items: + - enum: + - aspeed,ast2400-cvic + - aspeed,ast2500-cvic + - const: aspeed,cvic + + reg: + maxItems: 1 + + valid-sources: + $ref: /schemas/types.yaml#/definitions/uint32-array + maxItems: 1 + description: + A bitmap of supported sources for the implementation. + + copro-sw-interrupts: + $ref: /schemas/types.yaml#/definitions/uint32-array + minItems: 1 + maxItems: 32 + description: + A list of interrupt numbers that can be used as software interrupts from + the ARM to the coprocessor. + +required: + - compatible + - reg + - valid-sources + +additionalProperties: false + +examples: + - | + interrupt-controller@1e6c2000 { + compatible = "aspeed,ast2500-cvic", "aspeed,cvic"; + reg = <0x1e6c2000 0x80>; + valid-sources = <0xffffffff>; + copro-sw-interrupts = <1>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/misc/aspeed-p2a-ctrl.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/misc/aspeed-p2a-ctrl.txt index 0bd7dbedb2..f2e2e28b31 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/misc/aspeed-p2a-ctrl.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/misc/aspeed-p2a-ctrl.txt @@ -1,46 +1,46 @@ -====================================================================== -Device tree bindings for Aspeed AST2400/AST2500 PCI-to-AHB Bridge Control Driver -====================================================================== - -The bridge is available on platforms with the VGA enabled on the Aspeed device. -In this case, the host has access to a 64KiB window into all of the BMC's -memory. The BMC can disable this bridge. If the bridge is enabled, the host -has read access to all the regions of memory, however the host only has read -and write access depending on a register controlled by the BMC. - -Required properties: -=================== - - - compatible: must be one of: - - "aspeed,ast2400-p2a-ctrl" - - "aspeed,ast2500-p2a-ctrl" - -Optional properties: -=================== - -- reg: A hint for the memory regions associated with the P2A controller -- memory-region: A phandle to a reserved_memory region to be used for the PCI - to AHB mapping - -The p2a-control node should be the child of a syscon node with the required -property: - -- compatible : Should be one of the following: - "aspeed,ast2400-scu", "syscon", "simple-mfd" - "aspeed,ast2500-scu", "syscon", "simple-mfd" - -Example -=================== - -g4 Example ----------- - -syscon: scu@1e6e2000 { - compatible = "aspeed,ast2400-scu", "syscon", "simple-mfd"; - reg = <0x1e6e2000 0x1a8>; - - p2a: p2a-control { - compatible = "aspeed,ast2400-p2a-ctrl"; - memory-region = <&reserved_memory>; - }; -}; +====================================================================== +Device tree bindings for Aspeed AST2400/AST2500 PCI-to-AHB Bridge Control Driver +====================================================================== + +The bridge is available on platforms with the VGA enabled on the Aspeed device. +In this case, the host has access to a 64KiB window into all of the BMC's +memory. The BMC can disable this bridge. If the bridge is enabled, the host +has read access to all the regions of memory, however the host only has read +and write access depending on a register controlled by the BMC. + +Required properties: +=================== + + - compatible: must be one of: + - "aspeed,ast2400-p2a-ctrl" + - "aspeed,ast2500-p2a-ctrl" + +Optional properties: +=================== + +- reg: A hint for the memory regions associated with the P2A controller +- memory-region: A phandle to a reserved_memory region to be used for the PCI + to AHB mapping + +The p2a-control node should be the child of a syscon node with the required +property: + +- compatible : Should be one of the following: + "aspeed,ast2400-scu", "syscon", "simple-mfd" + "aspeed,ast2500-scu", "syscon", "simple-mfd" + +Example +=================== + +g4 Example +---------- + +syscon: scu@1e6e2000 { + compatible = "aspeed,ast2400-scu", "syscon", "simple-mfd"; + reg = <0x1e6e2000 0x1a8>; + + p2a: p2a-control { + compatible = "aspeed,ast2400-p2a-ctrl"; + memory-region = <&reserved_memory>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/misc/atmel-ssc.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/misc/atmel-ssc.txt index 91b2ad5903..f9fb412642 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/misc/atmel-ssc.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/misc/atmel-ssc.txt @@ -1,50 +1,50 @@ -* Atmel SSC driver. - -Required properties: -- compatible: "atmel,at91rm9200-ssc" or "atmel,at91sam9g45-ssc" - - atmel,at91rm9200-ssc: support pdc transfer - - atmel,at91sam9g45-ssc: support dma transfer -- reg: Should contain SSC registers location and length -- interrupts: Should contain SSC interrupt -- clock-names: tuple listing input clock names. - Required elements: "pclk" -- clocks: phandles to input clocks. - - -Required properties for devices compatible with "atmel,at91sam9g45-ssc": -- dmas: DMA specifier, consisting of a phandle to DMA controller node, - the memory interface and SSC DMA channel ID (for tx and rx). - See Documentation/devicetree/bindings/dma/atmel-dma.txt for details. -- dma-names: Must be "tx", "rx". - -Optional properties: - - atmel,clk-from-rk-pin: bool property. - - When SSC works in slave mode, according to the hardware design, the - clock can get from TK pin, and also can get from RK pin. So, add - this parameter to choose where the clock from. - - By default the clock is from TK pin, if the clock from RK pin, this - property is needed. - - #sound-dai-cells: Should contain <0>. - - This property makes the SSC into an automatically registered DAI. - -Examples: -- PDC transfer: -ssc0: ssc@fffbc000 { - compatible = "atmel,at91rm9200-ssc"; - reg = <0xfffbc000 0x4000>; - interrupts = <14 4 5>; - clocks = <&ssc0_clk>; - clock-names = "pclk"; -}; - -- DMA transfer: -ssc0: ssc@f0010000 { - compatible = "atmel,at91sam9g45-ssc"; - reg = <0xf0010000 0x4000>; - interrupts = <28 4 5>; - dmas = <&dma0 1 13>, - <&dma0 1 14>; - dma-names = "tx", "rx"; - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_ssc0_tx &pinctrl_ssc0_rx>; -}; +* Atmel SSC driver. + +Required properties: +- compatible: "atmel,at91rm9200-ssc" or "atmel,at91sam9g45-ssc" + - atmel,at91rm9200-ssc: support pdc transfer + - atmel,at91sam9g45-ssc: support dma transfer +- reg: Should contain SSC registers location and length +- interrupts: Should contain SSC interrupt +- clock-names: tuple listing input clock names. + Required elements: "pclk" +- clocks: phandles to input clocks. + + +Required properties for devices compatible with "atmel,at91sam9g45-ssc": +- dmas: DMA specifier, consisting of a phandle to DMA controller node, + the memory interface and SSC DMA channel ID (for tx and rx). + See Documentation/devicetree/bindings/dma/atmel-dma.txt for details. +- dma-names: Must be "tx", "rx". + +Optional properties: + - atmel,clk-from-rk-pin: bool property. + - When SSC works in slave mode, according to the hardware design, the + clock can get from TK pin, and also can get from RK pin. So, add + this parameter to choose where the clock from. + - By default the clock is from TK pin, if the clock from RK pin, this + property is needed. + - #sound-dai-cells: Should contain <0>. + - This property makes the SSC into an automatically registered DAI. + +Examples: +- PDC transfer: +ssc0: ssc@fffbc000 { + compatible = "atmel,at91rm9200-ssc"; + reg = <0xfffbc000 0x4000>; + interrupts = <14 4 5>; + clocks = <&ssc0_clk>; + clock-names = "pclk"; +}; + +- DMA transfer: +ssc0: ssc@f0010000 { + compatible = "atmel,at91sam9g45-ssc"; + reg = <0xf0010000 0x4000>; + interrupts = <28 4 5>; + dmas = <&dma0 1 13>, + <&dma0 1 14>; + dma-names = "tx", "rx"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_ssc0_tx &pinctrl_ssc0_rx>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/misc/ge-achc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/misc/ge-achc.yaml index 4e356bad0e..ff07aa62ed 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/misc/ge-achc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/misc/ge-achc.yaml @@ -1,65 +1,65 @@ -# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause -# Copyright (C) 2021 GE Inc. -# Copyright (C) 2021 Collabora Ltd. -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/misc/ge-achc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: GE Healthcare USB Management Controller - -description: | - A device which handles data acquisition from compatible USB based peripherals. - SPI is used for device management. - - Note: This device does not expose the peripherals as USB devices. - -maintainers: - - Sebastian Reichel - -properties: - compatible: - items: - - const: ge,achc - - const: nxp,kinetis-k20 - - clocks: - maxItems: 1 - - vdd-supply: - description: Digital power supply regulator on VDD pin - - vdda-supply: - description: Analog power supply regulator on VDDA pin - - reg: - items: - - description: Control interface - - description: Firmware programming interface - - reset-gpios: - description: GPIO used for hardware reset. - maxItems: 1 - -required: - - compatible - - clocks - - reg - - reset-gpios - -additionalProperties: false - -examples: - - | - #include - spi { - #address-cells = <1>; - #size-cells = <0>; - - spi@1 { - compatible = "ge,achc", "nxp,kinetis-k20"; - reg = <1>, <0>; - clocks = <&achc_24M>; - reset-gpios = <&gpio3 6 GPIO_ACTIVE_LOW>; - }; - }; +# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause +# Copyright (C) 2021 GE Inc. +# Copyright (C) 2021 Collabora Ltd. +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/misc/ge-achc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: GE Healthcare USB Management Controller + +description: | + A device which handles data acquisition from compatible USB based peripherals. + SPI is used for device management. + + Note: This device does not expose the peripherals as USB devices. + +maintainers: + - Sebastian Reichel + +properties: + compatible: + items: + - const: ge,achc + - const: nxp,kinetis-k20 + + clocks: + maxItems: 1 + + vdd-supply: + description: Digital power supply regulator on VDD pin + + vdda-supply: + description: Analog power supply regulator on VDDA pin + + reg: + items: + - description: Control interface + - description: Firmware programming interface + + reset-gpios: + description: GPIO used for hardware reset. + maxItems: 1 + +required: + - compatible + - clocks + - reg + - reset-gpios + +additionalProperties: false + +examples: + - | + #include + spi { + #address-cells = <1>; + #size-cells = <0>; + + spi@1 { + compatible = "ge,achc", "nxp,kinetis-k20"; + reg = <1>, <0>; + clocks = <&achc_24M>; + reset-gpios = <&gpio3 6 GPIO_ACTIVE_LOW>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/misc/idt,89hpesx.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/misc/idt,89hpesx.yaml index 0a3a2d7530..452236e793 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/misc/idt,89hpesx.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/misc/idt,89hpesx.yaml @@ -1,72 +1,72 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/misc/idt,89hpesx.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: EEPROM / CSR SMBus-slave interface of IDT 89HPESx devices - -maintainers: - - Serge Semin - -select: - properties: - compatible: - contains: - pattern: '^idt,89hpes' - required: - - compatible - -properties: - compatible: - oneOf: - - pattern: '^idt,89hpes(8nt2|12nt3|12n3a?|24n3a?|(12|24)t3g2|4t4g2|10t4g2|[56]t5|8t5a?)$' - - pattern: '^idt,89hpes(6t6g2|16t7|(24t6|32t8|48t12|16t4a?)(g2)?)$' - - pattern: '^idt,89hpes(24nt6a|32nt8[ab]|12nt12|16nt16|24nt24|32nt24[ab])g2$' - - pattern: '^idt,89hpes((32h8|48h12a?|22h16|34h16|64h16a?)(g2)?|16h16)$' - - reg: - maxItems: 1 - - '#address-cells': - const: 1 - - '#size-cells': - const: 0 - -patternProperties: - '^eeprom@': - $ref: /schemas/eeprom/at24.yaml# - unevaluatedProperties: false - - properties: - compatible: - description: Only a subset of devices are supported - pattern: ',24c(32|64|128|256|512)$' - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - idt@74 { - compatible = "idt,89hpes32nt8ag2"; - reg = <0x74>; - #address-cells = <1>; - #size-cells = <0>; - - eeprom@50 { - compatible = "atmel,24c64"; - reg = <0x50>; - read-only; - }; - }; - }; -... +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/misc/idt,89hpesx.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: EEPROM / CSR SMBus-slave interface of IDT 89HPESx devices + +maintainers: + - Serge Semin + +select: + properties: + compatible: + contains: + pattern: '^idt,89hpes' + required: + - compatible + +properties: + compatible: + oneOf: + - pattern: '^idt,89hpes(8nt2|12nt3|12n3a?|24n3a?|(12|24)t3g2|4t4g2|10t4g2|[56]t5|8t5a?)$' + - pattern: '^idt,89hpes(6t6g2|16t7|(24t6|32t8|48t12|16t4a?)(g2)?)$' + - pattern: '^idt,89hpes(24nt6a|32nt8[ab]|12nt12|16nt16|24nt24|32nt24[ab])g2$' + - pattern: '^idt,89hpes((32h8|48h12a?|22h16|34h16|64h16a?)(g2)?|16h16)$' + + reg: + maxItems: 1 + + '#address-cells': + const: 1 + + '#size-cells': + const: 0 + +patternProperties: + '^eeprom@': + $ref: /schemas/eeprom/at24.yaml# + unevaluatedProperties: false + + properties: + compatible: + description: Only a subset of devices are supported + pattern: ',24c(32|64|128|256|512)$' + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + idt@74 { + compatible = "idt,89hpes32nt8ag2"; + reg = <0x74>; + #address-cells = <1>; + #size-cells = <0>; + + eeprom@50 { + compatible = "atmel,24c64"; + reg = <0x50>; + read-only; + }; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/misc/ifm-csi.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/misc/ifm-csi.txt index a55241219f..5bdfffb0b9 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/misc/ifm-csi.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/misc/ifm-csi.txt @@ -1,41 +1,41 @@ -IFM camera sensor interface on mpc5200 LocalPlus bus - -Required properties: -- compatible: "ifm,o2d-csi" -- reg: specifies sensor chip select number and associated address range -- interrupts: external interrupt line number and interrupt sense mode - of the interrupt line signaling frame valid events -- gpios: three gpio-specifiers for "capture", "reset" and "master enable" - GPIOs (strictly in this order). -- ifm,csi-clk-handle: the phandle to a node in the DT describing the sensor - clock generator. This node is usually a general purpose timer controller. -- ifm,csi-addr-bus-width: address bus width (valid values are 16, 24, 25) -- ifm,csi-data-bus-width: data bus width (valid values are 8 and 16) -- ifm,csi-wait-cycles: sensor bus wait cycles - -Optional properties: -- ifm,csi-byte-swap: if this property is present, the byte swapping on - the bus will be enabled. - -Example: - - csi@3,0 { - compatible = "ifm,o2d-csi"; - reg = <3 0 0x00100000>; /* CS 3, 1 MiB range */ - interrupts = <1 1 2>; /* IRQ1, edge falling */ - - ifm,csi-clk-handle = <&timer7>; - gpios = <&gpio_simple 23 0 /* image_capture */ - &gpio_simple 26 0 /* image_reset */ - &gpio_simple 29 0>; /* image_master_en */ - - ifm,csi-addr-bus-width = <24>; - ifm,csi-data-bus-width = <8>; - ifm,csi-wait-cycles = <0>; - }; - -The base address of the used chip select is specified in the -ranges property of the parent localbus node, for example: - - ranges = <0 0 0xff000000 0x01000000 - 3 0 0xe3000000 0x00100000>; +IFM camera sensor interface on mpc5200 LocalPlus bus + +Required properties: +- compatible: "ifm,o2d-csi" +- reg: specifies sensor chip select number and associated address range +- interrupts: external interrupt line number and interrupt sense mode + of the interrupt line signaling frame valid events +- gpios: three gpio-specifiers for "capture", "reset" and "master enable" + GPIOs (strictly in this order). +- ifm,csi-clk-handle: the phandle to a node in the DT describing the sensor + clock generator. This node is usually a general purpose timer controller. +- ifm,csi-addr-bus-width: address bus width (valid values are 16, 24, 25) +- ifm,csi-data-bus-width: data bus width (valid values are 8 and 16) +- ifm,csi-wait-cycles: sensor bus wait cycles + +Optional properties: +- ifm,csi-byte-swap: if this property is present, the byte swapping on + the bus will be enabled. + +Example: + + csi@3,0 { + compatible = "ifm,o2d-csi"; + reg = <3 0 0x00100000>; /* CS 3, 1 MiB range */ + interrupts = <1 1 2>; /* IRQ1, edge falling */ + + ifm,csi-clk-handle = <&timer7>; + gpios = <&gpio_simple 23 0 /* image_capture */ + &gpio_simple 26 0 /* image_reset */ + &gpio_simple 29 0>; /* image_master_en */ + + ifm,csi-addr-bus-width = <24>; + ifm,csi-data-bus-width = <8>; + ifm,csi-wait-cycles = <0>; + }; + +The base address of the used chip select is specified in the +ranges property of the parent localbus node, for example: + + ranges = <0 0 0xff000000 0x01000000 + 3 0 0xe3000000 0x00100000>; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/misc/intel,ixp4xx-ahb-queue-manager.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/misc/intel,ixp4xx-ahb-queue-manager.yaml index b167582629..36a9dbdf3f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/misc/intel,ixp4xx-ahb-queue-manager.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/misc/intel,ixp4xx-ahb-queue-manager.yaml @@ -1,51 +1,51 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -# Copyright 2019 Linaro Ltd. -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/misc/intel,ixp4xx-ahb-queue-manager.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Intel IXP4xx AHB Queue Manager - -maintainers: - - Linus Walleij - -description: | - The IXP4xx AHB Queue Manager maintains queues as circular buffers in - an 8KB embedded SRAM along with hardware pointers. It is used by both - the XScale processor and the NPEs (Network Processing Units) in the - IXP4xx for accelerating queues, especially for networking. Clients pick - queues from the queue manager with foo-queue = <&qmgr N> where the - &qmgr is a phandle to the queue manager and N is the queue resource - number. The queue resources available and their specific purpose - on a certain IXP4xx system will vary. - -properties: - compatible: - items: - - const: intel,ixp4xx-ahb-queue-manager - - reg: - maxItems: 1 - - interrupts: - items: - - description: Interrupt for queues 0-31 - - description: Interrupt for queues 32-63 - -required: - - compatible - - reg - - interrupts - -additionalProperties: false - -examples: - - | - #include - - qmgr: queue-manager@60000000 { - compatible = "intel,ixp4xx-ahb-queue-manager"; - reg = <0x60000000 0x4000>; - interrupts = <3 IRQ_TYPE_LEVEL_HIGH>, <4 IRQ_TYPE_LEVEL_HIGH>; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +# Copyright 2019 Linaro Ltd. +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/misc/intel,ixp4xx-ahb-queue-manager.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Intel IXP4xx AHB Queue Manager + +maintainers: + - Linus Walleij + +description: | + The IXP4xx AHB Queue Manager maintains queues as circular buffers in + an 8KB embedded SRAM along with hardware pointers. It is used by both + the XScale processor and the NPEs (Network Processing Units) in the + IXP4xx for accelerating queues, especially for networking. Clients pick + queues from the queue manager with foo-queue = <&qmgr N> where the + &qmgr is a phandle to the queue manager and N is the queue resource + number. The queue resources available and their specific purpose + on a certain IXP4xx system will vary. + +properties: + compatible: + items: + - const: intel,ixp4xx-ahb-queue-manager + + reg: + maxItems: 1 + + interrupts: + items: + - description: Interrupt for queues 0-31 + - description: Interrupt for queues 32-63 + +required: + - compatible + - reg + - interrupts + +additionalProperties: false + +examples: + - | + #include + + qmgr: queue-manager@60000000 { + compatible = "intel,ixp4xx-ahb-queue-manager"; + reg = <0x60000000 0x4000>; + interrupts = <3 IRQ_TYPE_LEVEL_HIGH>, <4 IRQ_TYPE_LEVEL_HIGH>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/misc/olpc,xo1.75-ec.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/misc/olpc,xo1.75-ec.yaml index 0e11ffc913..e99342f268 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/misc/olpc,xo1.75-ec.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/misc/olpc,xo1.75-ec.yaml @@ -1,56 +1,56 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -# Copyright (C) 2019,2020 Lubomir Rintel -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/misc/olpc,xo1.75-ec.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: OLPC XO-1.75 Embedded Controller - -description: | - This binding describes the Embedded Controller acting as a SPI bus master - on a OLPC XO-1.75 laptop computer. - - The embedded controller requires the SPI controller driver to signal - readiness to receive a transfer (that is, when TX FIFO contains the - response data) by strobing the ACK pin with the ready signal. See the - "ready-gpios" property of the SSP binding as documented in: - . - -maintainers: - - Lubomir Rintel - -properties: - compatible: - const: olpc,xo1.75-ec - - cmd-gpios: - description: GPIO uspecifier of the CMD pin - maxItems: 1 - - spi-cpha: true - -required: - - compatible - - cmd-gpios - -additionalProperties: false - -examples: - - | - #include - - spi { - spi-slave; - #address-cells = <0>; - #size-cells = <0>; - ready-gpios = <&gpio 125 GPIO_ACTIVE_HIGH>; - - slave { - compatible = "olpc,xo1.75-ec"; - spi-cpha; - cmd-gpios = <&gpio 155 GPIO_ACTIVE_HIGH>; - }; - }; - -... +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +# Copyright (C) 2019,2020 Lubomir Rintel +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/misc/olpc,xo1.75-ec.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: OLPC XO-1.75 Embedded Controller + +description: | + This binding describes the Embedded Controller acting as a SPI bus master + on a OLPC XO-1.75 laptop computer. + + The embedded controller requires the SPI controller driver to signal + readiness to receive a transfer (that is, when TX FIFO contains the + response data) by strobing the ACK pin with the ready signal. See the + "ready-gpios" property of the SSP binding as documented in: + . + +maintainers: + - Lubomir Rintel + +properties: + compatible: + const: olpc,xo1.75-ec + + cmd-gpios: + description: GPIO uspecifier of the CMD pin + maxItems: 1 + + spi-cpha: true + +required: + - compatible + - cmd-gpios + +additionalProperties: false + +examples: + - | + #include + + spi { + spi-slave; + #address-cells = <0>; + #size-cells = <0>; + ready-gpios = <&gpio 125 GPIO_ACTIVE_HIGH>; + + slave { + compatible = "olpc,xo1.75-ec"; + spi-cpha; + cmd-gpios = <&gpio 155 GPIO_ACTIVE_HIGH>; + }; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/misc/qemu,vcpu-stall-detector.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/misc/qemu,vcpu-stall-detector.yaml index 0ca8bdc676..e12d80be00 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/misc/qemu,vcpu-stall-detector.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/misc/qemu,vcpu-stall-detector.yaml @@ -1,57 +1,57 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/misc/qemu,vcpu-stall-detector.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: VCPU stall detector - -description: - This binding describes a CPU stall detector mechanism for virtual CPUs - which is accessed through MMIO. - -maintainers: - - Sebastian Ene - -properties: - compatible: - enum: - - qemu,vcpu-stall-detector - - reg: - maxItems: 1 - - clock-frequency: - $ref: /schemas/types.yaml#/definitions/uint32 - description: | - The internal clock of the stall detector peripheral measure in Hz used - to decrement its internal counter register on each tick. - Defaults to 10 if unset. - default: 10 - - interrupts: - maxItems: 1 - - timeout-sec: - description: | - The stall detector expiration timeout measured in seconds. - Defaults to 8 if unset. Please note that it also takes into account the - time spent while the VCPU is not running. - default: 8 - -required: - - compatible - -additionalProperties: false - -examples: - - | - #include - - vmwdt@9030000 { - compatible = "qemu,vcpu-stall-detector"; - reg = <0x9030000 0x10000>; - clock-frequency = <10>; - timeout-sec = <8>; - interrupts = ; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/misc/qemu,vcpu-stall-detector.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: VCPU stall detector + +description: + This binding describes a CPU stall detector mechanism for virtual CPUs + which is accessed through MMIO. + +maintainers: + - Sebastian Ene + +properties: + compatible: + enum: + - qemu,vcpu-stall-detector + + reg: + maxItems: 1 + + clock-frequency: + $ref: /schemas/types.yaml#/definitions/uint32 + description: | + The internal clock of the stall detector peripheral measure in Hz used + to decrement its internal counter register on each tick. + Defaults to 10 if unset. + default: 10 + + interrupts: + maxItems: 1 + + timeout-sec: + description: | + The stall detector expiration timeout measured in seconds. + Defaults to 8 if unset. Please note that it also takes into account the + time spent while the VCPU is not running. + default: 8 + +required: + - compatible + +additionalProperties: false + +examples: + - | + #include + + vmwdt@9030000 { + compatible = "qemu,vcpu-stall-detector"; + reg = <0x9030000 0x10000>; + clock-frequency = <10>; + timeout-sec = <8>; + interrupts = ; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/misc/ti,j721e-esm.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/misc/ti,j721e-esm.yaml index 070b671cde..0c9a844484 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/misc/ti,j721e-esm.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/misc/ti,j721e-esm.yaml @@ -1,53 +1,53 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -# Copyright (C) 2022 Texas Instruments Incorporated -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/misc/ti,j721e-esm.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Texas Instruments K3 ESM - -maintainers: - - Neha Malcom Francis - -description: - The ESM (Error Signaling Module) is an IP block on TI K3 devices - that allows handling of safety events somewhat similar to what interrupt - controller would do. The safety signals have their separate paths within - the SoC, and they are handled by the ESM, which routes them to the proper - destination, which can be system reset, interrupt controller, etc. In the - simplest configuration the signals are just routed to reset the SoC. - -properties: - compatible: - const: ti,j721e-esm - - reg: - maxItems: 1 - - ti,esm-pins: - $ref: /schemas/types.yaml#/definitions/uint32-array - description: - integer array of ESM interrupt pins to route to external event pin - which can be used to reset the SoC. - minItems: 1 - maxItems: 255 - -required: - - compatible - - reg - - ti,esm-pins - -additionalProperties: false - -examples: - - | - bus { - #address-cells = <2>; - #size-cells = <2>; - esm@700000 { - compatible = "ti,j721e-esm"; - reg = <0x0 0x700000 0x0 0x1000>; - ti,esm-pins = <344>, <345>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +# Copyright (C) 2022 Texas Instruments Incorporated +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/misc/ti,j721e-esm.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Texas Instruments K3 ESM + +maintainers: + - Neha Malcom Francis + +description: + The ESM (Error Signaling Module) is an IP block on TI K3 devices + that allows handling of safety events somewhat similar to what interrupt + controller would do. The safety signals have their separate paths within + the SoC, and they are handled by the ESM, which routes them to the proper + destination, which can be system reset, interrupt controller, etc. In the + simplest configuration the signals are just routed to reset the SoC. + +properties: + compatible: + const: ti,j721e-esm + + reg: + maxItems: 1 + + ti,esm-pins: + $ref: /schemas/types.yaml#/definitions/uint32-array + description: + integer array of ESM interrupt pins to route to external event pin + which can be used to reset the SoC. + minItems: 1 + maxItems: 255 + +required: + - compatible + - reg + - ti,esm-pins + +additionalProperties: false + +examples: + - | + bus { + #address-cells = <2>; + #size-cells = <2>; + esm@700000 { + compatible = "ti,j721e-esm"; + reg = <0x0 0x700000 0x0 0x1000>; + ti,esm-pins = <344>, <345>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/amlogic,meson-gx-mmc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/amlogic,meson-gx-mmc.yaml index 4c8396133d..57646575a1 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/amlogic,meson-gx-mmc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/amlogic,meson-gx-mmc.yaml @@ -1,79 +1,79 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/mmc/amlogic,meson-gx-mmc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Amlogic SD / eMMC controller for S905/GXBB family SoCs - -description: - The MMC 5.1 compliant host controller on Amlogic provides the - interface for SD, eMMC and SDIO devices - -maintainers: - - Neil Armstrong - -allOf: - - $ref: mmc-controller.yaml# - -properties: - compatible: - oneOf: - - const: amlogic,meson-axg-mmc - - items: - - const: amlogic,meson-gx-mmc - - const: amlogic,meson-gxbb-mmc - - reg: - maxItems: 1 - - interrupts: - minItems: 1 - items: - - description: mmc controller instance - - description: card detect - - clocks: - maxItems: 3 - - clock-names: - items: - - const: core - - const: clkin0 - - const: clkin1 - - resets: - maxItems: 1 - - amlogic,dram-access-quirk: - type: boolean - description: - set when controller's internal DMA engine cannot access the DRAM memory, - like on the G12A dedicated SDIO controller. - - power-domains: - maxItems: 1 - -required: - - compatible - - reg - - interrupts - - clocks - - clock-names - - resets - -unevaluatedProperties: false - -examples: - - | - #include - #include - mmc@70000 { - compatible = "amlogic,meson-gx-mmc", "amlogic,meson-gxbb-mmc"; - reg = <0x70000 0x2000>; - interrupts = ; - clocks = <&clk_mmc>, <&xtal>, <&clk_div>; - clock-names = "core", "clkin0", "clkin1"; - pinctrl-0 = <&emm_pins>; - resets = <&reset_mmc>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mmc/amlogic,meson-gx-mmc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Amlogic SD / eMMC controller for S905/GXBB family SoCs + +description: + The MMC 5.1 compliant host controller on Amlogic provides the + interface for SD, eMMC and SDIO devices + +maintainers: + - Neil Armstrong + +allOf: + - $ref: mmc-controller.yaml# + +properties: + compatible: + oneOf: + - const: amlogic,meson-axg-mmc + - items: + - const: amlogic,meson-gx-mmc + - const: amlogic,meson-gxbb-mmc + + reg: + maxItems: 1 + + interrupts: + minItems: 1 + items: + - description: mmc controller instance + - description: card detect + + clocks: + maxItems: 3 + + clock-names: + items: + - const: core + - const: clkin0 + - const: clkin1 + + resets: + maxItems: 1 + + amlogic,dram-access-quirk: + type: boolean + description: + set when controller's internal DMA engine cannot access the DRAM memory, + like on the G12A dedicated SDIO controller. + + power-domains: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + - clocks + - clock-names + - resets + +unevaluatedProperties: false + +examples: + - | + #include + #include + mmc@70000 { + compatible = "amlogic,meson-gx-mmc", "amlogic,meson-gxbb-mmc"; + reg = <0x70000 0x2000>; + interrupts = ; + clocks = <&clk_mmc>, <&xtal>, <&clk_div>; + clock-names = "core", "clkin0", "clkin1"; + pinctrl-0 = <&emm_pins>; + resets = <&reset_mmc>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/amlogic,meson-mx-sdhc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/amlogic,meson-mx-sdhc.yaml index 87bf4f3437..1a6cda82f2 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/amlogic,meson-mx-sdhc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/amlogic,meson-mx-sdhc.yaml @@ -1,70 +1,70 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/mmc/amlogic,meson-mx-sdhc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Amlogic Meson SDHC controller - -allOf: - - $ref: mmc-controller.yaml - -maintainers: - - Martin Blumenstingl - -description: | - The SDHC MMC host controller on Amlogic SoCs provides an eMMC and MMC - card interface with 1/4/8-bit bus width. - It supports eMMC spec 4.4x/4.5x including HS200 (up to 100MHz clock). - -properties: - compatible: - items: - - enum: - - amlogic,meson8-sdhc - - amlogic,meson8b-sdhc - - amlogic,meson8m2-sdhc - - const: amlogic,meson-mx-sdhc - - reg: - minItems: 1 - - interrupts: - minItems: 1 - - clocks: - minItems: 5 - - clock-names: - items: - - const: clkin0 - - const: clkin1 - - const: clkin2 - - const: clkin3 - - const: pclk - -required: - - compatible - - reg - - interrupts - - clocks - - clock-names - -unevaluatedProperties: false - -examples: - - | - #include - #include - - sdhc: mmc@8e00 { - compatible = "amlogic,meson8-sdhc", "amlogic,meson-mx-sdhc"; - reg = <0x8e00 0x42>; - interrupts = ; - clocks = <&xtal>, - <&fclk_div4>, - <&fclk_div3>, - <&fclk_div5>, - <&sdhc_pclk>; - clock-names = "clkin0", "clkin1", "clkin2", "clkin3", "pclk"; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mmc/amlogic,meson-mx-sdhc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Amlogic Meson SDHC controller + +allOf: + - $ref: mmc-controller.yaml + +maintainers: + - Martin Blumenstingl + +description: | + The SDHC MMC host controller on Amlogic SoCs provides an eMMC and MMC + card interface with 1/4/8-bit bus width. + It supports eMMC spec 4.4x/4.5x including HS200 (up to 100MHz clock). + +properties: + compatible: + items: + - enum: + - amlogic,meson8-sdhc + - amlogic,meson8b-sdhc + - amlogic,meson8m2-sdhc + - const: amlogic,meson-mx-sdhc + + reg: + minItems: 1 + + interrupts: + minItems: 1 + + clocks: + minItems: 5 + + clock-names: + items: + - const: clkin0 + - const: clkin1 + - const: clkin2 + - const: clkin3 + - const: pclk + +required: + - compatible + - reg + - interrupts + - clocks + - clock-names + +unevaluatedProperties: false + +examples: + - | + #include + #include + + sdhc: mmc@8e00 { + compatible = "amlogic,meson8-sdhc", "amlogic,meson-mx-sdhc"; + reg = <0x8e00 0x42>; + interrupts = ; + clocks = <&xtal>, + <&fclk_div4>, + <&fclk_div3>, + <&fclk_div5>, + <&sdhc_pclk>; + clock-names = "clkin0", "clkin1", "clkin2", "clkin3", "pclk"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/amlogic,meson-mx-sdio.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/amlogic,meson-mx-sdio.txt index f013181214..8765c605e6 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/amlogic,meson-mx-sdio.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/amlogic,meson-mx-sdio.txt @@ -1,54 +1,54 @@ -* Amlogic Meson6, Meson8 and Meson8b SDIO/MMC controller - -The highspeed MMC host controller on Amlogic SoCs provides an interface -for MMC, SD, SDIO and SDHC types of memory cards. - -Supported maximum speeds are the ones of the eMMC standard 4.41 as well -as the speed of SD standard 2.0. - -The hardware provides an internal "mux" which allows up to three slots -to be controlled. Only one slot can be accessed at a time. - -Required properties: - - compatible : must be one of - - "amlogic,meson8-sdio" - - "amlogic,meson8b-sdio" - along with the generic "amlogic,meson-mx-sdio" - - reg : mmc controller base registers - - interrupts : mmc controller interrupt - - #address-cells : must be 1 - - size-cells : must be 0 - - clocks : phandle to clock providers - - clock-names : must contain "core" and "clkin" - -Required child nodes: -A node for each slot provided by the MMC controller is required. -NOTE: due to a driver limitation currently only one slot (= child node) - is supported! - -Required properties on each child node (= slot): - - compatible : must be "mmc-slot" (see mmc.txt within this directory) - - reg : the slot (or "port") ID - -Optional properties on each child node (= slot): - - bus-width : must be 1 or 4 (8-bit bus is not supported) - - for cd and all other additional generic mmc parameters - please refer to mmc.txt within this directory - -Examples: - mmc@c1108c20 { - compatible = "amlogic,meson8-sdio", "amlogic,meson-mx-sdio"; - reg = <0xc1108c20 0x20>; - interrupts = <0 28 1>; - #address-cells = <1>; - #size-cells = <0>; - clocks = <&clkc CLKID_SDIO>, <&clkc CLKID_CLK81>; - clock-names = "core", "clkin"; - - slot@1 { - compatible = "mmc-slot"; - reg = <1>; - - bus-width = <4>; - }; - }; +* Amlogic Meson6, Meson8 and Meson8b SDIO/MMC controller + +The highspeed MMC host controller on Amlogic SoCs provides an interface +for MMC, SD, SDIO and SDHC types of memory cards. + +Supported maximum speeds are the ones of the eMMC standard 4.41 as well +as the speed of SD standard 2.0. + +The hardware provides an internal "mux" which allows up to three slots +to be controlled. Only one slot can be accessed at a time. + +Required properties: + - compatible : must be one of + - "amlogic,meson8-sdio" + - "amlogic,meson8b-sdio" + along with the generic "amlogic,meson-mx-sdio" + - reg : mmc controller base registers + - interrupts : mmc controller interrupt + - #address-cells : must be 1 + - size-cells : must be 0 + - clocks : phandle to clock providers + - clock-names : must contain "core" and "clkin" + +Required child nodes: +A node for each slot provided by the MMC controller is required. +NOTE: due to a driver limitation currently only one slot (= child node) + is supported! + +Required properties on each child node (= slot): + - compatible : must be "mmc-slot" (see mmc.txt within this directory) + - reg : the slot (or "port") ID + +Optional properties on each child node (= slot): + - bus-width : must be 1 or 4 (8-bit bus is not supported) + - for cd and all other additional generic mmc parameters + please refer to mmc.txt within this directory + +Examples: + mmc@c1108c20 { + compatible = "amlogic,meson8-sdio", "amlogic,meson-mx-sdio"; + reg = <0xc1108c20 0x20>; + interrupts = <0 28 1>; + #address-cells = <1>; + #size-cells = <0>; + clocks = <&clkc CLKID_SDIO>, <&clkc CLKID_CLK81>; + clock-names = "core", "clkin"; + + slot@1 { + compatible = "mmc-slot"; + reg = <1>; + + bus-width = <4>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/atmel-hsmci.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/atmel-hsmci.txt index 9356c1f8c5..07ad02075a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/atmel-hsmci.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/atmel-hsmci.txt @@ -1,73 +1,73 @@ -* Atmel High Speed MultiMedia Card Interface - -This controller on atmel products 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 atmel-mci driver. - -1) MCI node - -Required properties: -- compatible: should be "atmel,hsmci" -- #address-cells: should be one. The cell is the slot id. -- #size-cells: should be zero. -- at least one slot node -- clock-names: tuple listing input clock names. - Required elements: "mci_clk" -- clocks: phandles to input clocks. - -The node contains child nodes for each slot that the platform uses - -Example MCI node: - -mmc0: mmc@f0008000 { - compatible = "atmel,hsmci"; - reg = <0xf0008000 0x600>; - interrupts = <12 4>; - #address-cells = <1>; - #size-cells = <0>; - clock-names = "mci_clk"; - clocks = <&mci0_clk>; - - [ child node definitions...] -}; - -2) slot nodes - -Required properties: -- reg: should contain the slot id. -- bus-width: number of data lines connected to the controller - -Optional properties: -- cd-gpios: specify GPIOs for card detection -- cd-inverted: invert the value of external card detect gpio line -- wp-gpios: specify GPIOs for write protection - -Example slot node: - -slot@0 { - reg = <0>; - bus-width = <4>; - cd-gpios = <&pioD 15 0> - cd-inverted; -}; - -Example full MCI node: -mmc0: mmc@f0008000 { - compatible = "atmel,hsmci"; - reg = <0xf0008000 0x600>; - interrupts = <12 4>; - #address-cells = <1>; - #size-cells = <0>; - slot@0 { - reg = <0>; - bus-width = <4>; - cd-gpios = <&pioD 15 0> - cd-inverted; - }; - slot@1 { - reg = <1>; - bus-width = <4>; - }; -}; +* Atmel High Speed MultiMedia Card Interface + +This controller on atmel products 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 atmel-mci driver. + +1) MCI node + +Required properties: +- compatible: should be "atmel,hsmci" +- #address-cells: should be one. The cell is the slot id. +- #size-cells: should be zero. +- at least one slot node +- clock-names: tuple listing input clock names. + Required elements: "mci_clk" +- clocks: phandles to input clocks. + +The node contains child nodes for each slot that the platform uses + +Example MCI node: + +mmc0: mmc@f0008000 { + compatible = "atmel,hsmci"; + reg = <0xf0008000 0x600>; + interrupts = <12 4>; + #address-cells = <1>; + #size-cells = <0>; + clock-names = "mci_clk"; + clocks = <&mci0_clk>; + + [ child node definitions...] +}; + +2) slot nodes + +Required properties: +- reg: should contain the slot id. +- bus-width: number of data lines connected to the controller + +Optional properties: +- cd-gpios: specify GPIOs for card detection +- cd-inverted: invert the value of external card detect gpio line +- wp-gpios: specify GPIOs for write protection + +Example slot node: + +slot@0 { + reg = <0>; + bus-width = <4>; + cd-gpios = <&pioD 15 0> + cd-inverted; +}; + +Example full MCI node: +mmc0: mmc@f0008000 { + compatible = "atmel,hsmci"; + reg = <0xf0008000 0x600>; + interrupts = <12 4>; + #address-cells = <1>; + #size-cells = <0>; + slot@0 { + reg = <0>; + bus-width = <4>; + cd-gpios = <&pioD 15 0> + cd-inverted; + }; + slot@1 { + reg = <1>; + bus-width = <4>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/brcm,iproc-sdhci.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/brcm,iproc-sdhci.yaml index 99356c9f91..2f63f2cdeb 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/brcm,iproc-sdhci.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/brcm,iproc-sdhci.yaml @@ -1,64 +1,64 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/mmc/brcm,iproc-sdhci.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Broadcom IPROC SDHCI controller - -maintainers: - - Ray Jui - - Scott Branden - - Nicolas Saenz Julienne - -allOf: - - $ref: mmc-controller.yaml# - -properties: - compatible: - enum: - - brcm,bcm2835-sdhci - - brcm,bcm2711-emmc2 - - brcm,sdhci-iproc-cygnus - - brcm,sdhci-iproc - - brcm,bcm7211a0-sdhci - - reg: - minItems: 1 - - interrupts: - maxItems: 1 - - clocks: - maxItems: 1 - description: - Handle to core clock for the sdhci controller. - - sdhci,auto-cmd12: - type: boolean - description: Specifies that controller should use auto CMD12 - -required: - - compatible - - reg - - interrupts - - clocks - -unevaluatedProperties: false - -examples: - - | - #include - #include - #include - - mmc@18041000 { - compatible = "brcm,sdhci-iproc-cygnus"; - reg = <0x18041000 0x100>; - interrupts = ; - clocks = <&lcpll0_clks BCM_CYGNUS_LCPLL0_SDIO_CLK>; - bus-width = <4>; - sdhci,auto-cmd12; - no-1-8-v; - }; -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mmc/brcm,iproc-sdhci.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom IPROC SDHCI controller + +maintainers: + - Ray Jui + - Scott Branden + - Nicolas Saenz Julienne + +allOf: + - $ref: mmc-controller.yaml# + +properties: + compatible: + enum: + - brcm,bcm2835-sdhci + - brcm,bcm2711-emmc2 + - brcm,sdhci-iproc-cygnus + - brcm,sdhci-iproc + - brcm,bcm7211a0-sdhci + + reg: + minItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + description: + Handle to core clock for the sdhci controller. + + sdhci,auto-cmd12: + type: boolean + description: Specifies that controller should use auto CMD12 + +required: + - compatible + - reg + - interrupts + - clocks + +unevaluatedProperties: false + +examples: + - | + #include + #include + #include + + mmc@18041000 { + compatible = "brcm,sdhci-iproc-cygnus"; + reg = <0x18041000 0x100>; + interrupts = ; + clocks = <&lcpll0_clks BCM_CYGNUS_LCPLL0_SDIO_CLK>; + bus-width = <4>; + sdhci,auto-cmd12; + no-1-8-v; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/cavium-mmc.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/cavium-mmc.txt index 474d8bd9e5..1433e6201d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/cavium-mmc.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/cavium-mmc.txt @@ -1,57 +1,57 @@ -* Cavium Octeon & ThunderX MMC controller - -The highspeed MMC host controller on Caviums SoCs provides an interface -for MMC and SD types of memory cards. - -Supported maximum speeds are the ones of the eMMC standard 4.41 as well -as the speed of SD standard 4.0. Only 3.3 Volt is supported. - -Required properties: - - compatible : should be one of: - cavium,octeon-6130-mmc - cavium,octeon-7890-mmc - cavium,thunder-8190-mmc - cavium,thunder-8390-mmc - mmc-slot - - reg : mmc controller base registers - - clocks : phandle - -Optional properties: - - for cd, bus-width and additional generic mmc parameters - please refer to mmc.txt within this directory - - cavium,cmd-clk-skew : number of coprocessor clocks before sampling command - - cavium,dat-clk-skew : number of coprocessor clocks before sampling data - -Deprecated properties: -- spi-max-frequency : use max-frequency instead -- cavium,bus-max-width : use bus-width instead -- power-gpios : use vmmc-supply instead -- cavium,octeon-6130-mmc-slot : use mmc-slot instead - -Examples: - mmc_1_4: mmc@1,4 { - compatible = "cavium,thunder-8390-mmc"; - reg = <0x0c00 0 0 0 0>; /* DEVFN = 0x0c (1:4) */ - #address-cells = <1>; - #size-cells = <0>; - clocks = <&sclk>; - - mmc-slot@0 { - compatible = "mmc-slot"; - reg = <0>; - vmmc-supply = <&mmc_supply_3v3>; - max-frequency = <42000000>; - bus-width = <4>; - cap-sd-highspeed; - }; - - mmc-slot@1 { - compatible = "mmc-slot"; - reg = <1>; - vmmc-supply = <&mmc_supply_3v3>; - max-frequency = <42000000>; - bus-width = <8>; - cap-mmc-highspeed; - non-removable; - }; - }; +* Cavium Octeon & ThunderX MMC controller + +The highspeed MMC host controller on Caviums SoCs provides an interface +for MMC and SD types of memory cards. + +Supported maximum speeds are the ones of the eMMC standard 4.41 as well +as the speed of SD standard 4.0. Only 3.3 Volt is supported. + +Required properties: + - compatible : should be one of: + cavium,octeon-6130-mmc + cavium,octeon-7890-mmc + cavium,thunder-8190-mmc + cavium,thunder-8390-mmc + mmc-slot + - reg : mmc controller base registers + - clocks : phandle + +Optional properties: + - for cd, bus-width and additional generic mmc parameters + please refer to mmc.txt within this directory + - cavium,cmd-clk-skew : number of coprocessor clocks before sampling command + - cavium,dat-clk-skew : number of coprocessor clocks before sampling data + +Deprecated properties: +- spi-max-frequency : use max-frequency instead +- cavium,bus-max-width : use bus-width instead +- power-gpios : use vmmc-supply instead +- cavium,octeon-6130-mmc-slot : use mmc-slot instead + +Examples: + mmc_1_4: mmc@1,4 { + compatible = "cavium,thunder-8390-mmc"; + reg = <0x0c00 0 0 0 0>; /* DEVFN = 0x0c (1:4) */ + #address-cells = <1>; + #size-cells = <0>; + clocks = <&sclk>; + + mmc-slot@0 { + compatible = "mmc-slot"; + reg = <0>; + vmmc-supply = <&mmc_supply_3v3>; + max-frequency = <42000000>; + bus-width = <4>; + cap-sd-highspeed; + }; + + mmc-slot@1 { + compatible = "mmc-slot"; + reg = <1>; + vmmc-supply = <&mmc_supply_3v3>; + max-frequency = <42000000>; + bus-width = <8>; + cap-mmc-highspeed; + non-removable; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/litex,mmc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/litex,mmc.yaml index 3a85bd627e..ef9e0da44b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/litex,mmc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/litex,mmc.yaml @@ -1,78 +1,78 @@ -# SPDX-License-Identifier: GPL-2.0-or-later OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/mmc/litex,mmc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: LiteX LiteSDCard device - -maintainers: - - Gabriel Somlo - -description: | - LiteSDCard is a small footprint, configurable SDCard core for FPGA based - system on chips. - - The hardware source is Open Source and can be found on at - https://github.com/enjoy-digital/litesdcard/. - -allOf: - - $ref: mmc-controller.yaml# - -properties: - compatible: - const: litex,mmc - - reg: - items: - - description: PHY registers - - description: CORE registers - - description: DMA Reader buffer - - description: DMA Writer buffer - - description: IRQ registers - minItems: 4 - - reg-names: - items: - - const: phy - - const: core - - const: reader - - const: writer - - const: irq - minItems: 4 - - clocks: - maxItems: 1 - description: - Handle to reference clock. - - vmmc-supply: - description: - Handle to fixed-voltage supply for the card power. - - interrupts: - maxItems: 1 - -required: - - compatible - - reg - - reg-names - - clocks - - vmmc-supply - -additionalProperties: false - -examples: - - | - mmc: mmc@12005000 { - compatible = "litex,mmc"; - reg = <0x12005000 0x100>, - <0x12003800 0x100>, - <0x12003000 0x100>, - <0x12004800 0x100>, - <0x12004000 0x100>; - reg-names = "phy", "core", "reader", "writer", "irq"; - clocks = <&reference_clk>; - vmmc-supply = <&vreg_mmc>; - interrupts = <4>; - }; +# SPDX-License-Identifier: GPL-2.0-or-later OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mmc/litex,mmc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: LiteX LiteSDCard device + +maintainers: + - Gabriel Somlo + +description: | + LiteSDCard is a small footprint, configurable SDCard core for FPGA based + system on chips. + + The hardware source is Open Source and can be found on at + https://github.com/enjoy-digital/litesdcard/. + +allOf: + - $ref: mmc-controller.yaml# + +properties: + compatible: + const: litex,mmc + + reg: + items: + - description: PHY registers + - description: CORE registers + - description: DMA Reader buffer + - description: DMA Writer buffer + - description: IRQ registers + minItems: 4 + + reg-names: + items: + - const: phy + - const: core + - const: reader + - const: writer + - const: irq + minItems: 4 + + clocks: + maxItems: 1 + description: + Handle to reference clock. + + vmmc-supply: + description: + Handle to fixed-voltage supply for the card power. + + interrupts: + maxItems: 1 + +required: + - compatible + - reg + - reg-names + - clocks + - vmmc-supply + +additionalProperties: false + +examples: + - | + mmc: mmc@12005000 { + compatible = "litex,mmc"; + reg = <0x12005000 0x100>, + <0x12003800 0x100>, + <0x12003000 0x100>, + <0x12004800 0x100>, + <0x12004000 0x100>; + reg-names = "phy", "core", "reader", "writer", "irq"; + clocks = <&reference_clk>; + vmmc-supply = <&vreg_mmc>; + interrupts = <4>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/microchip,dw-sparx5-sdhci.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/microchip,dw-sparx5-sdhci.yaml index f7b78ff673..1f63faf177 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/microchip,dw-sparx5-sdhci.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/microchip,dw-sparx5-sdhci.yaml @@ -1,67 +1,67 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/mmc/microchip,dw-sparx5-sdhci.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Microchip Sparx5 Mobile Storage Host Controller - -allOf: - - $ref: mmc-controller.yaml - -maintainers: - - Lars Povlsen - -# Everything else is described in the common file -properties: - compatible: - const: microchip,dw-sparx5-sdhci - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - maxItems: 1 - description: - Handle to "core" clock for the sdhci controller. - - clock-names: - items: - - const: core - - microchip,clock-delay: - description: Delay clock to card to meet setup time requirements. - Each step increase by 1.25ns. - $ref: /schemas/types.yaml#/definitions/uint32 - minimum: 1 - maximum: 15 - -required: - - compatible - - reg - - interrupts - - clocks - - clock-names - -unevaluatedProperties: false - -examples: - - | - #include - #include - sdhci0: mmc@600800000 { - compatible = "microchip,dw-sparx5-sdhci"; - reg = <0x00800000 0x1000>; - pinctrl-0 = <&emmc_pins>; - pinctrl-names = "default"; - clocks = <&clks CLK_ID_AUX1>; - clock-names = "core"; - assigned-clocks = <&clks CLK_ID_AUX1>; - assigned-clock-rates = <800000000>; - interrupts = ; - bus-width = <8>; - microchip,clock-delay = <10>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mmc/microchip,dw-sparx5-sdhci.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Microchip Sparx5 Mobile Storage Host Controller + +allOf: + - $ref: mmc-controller.yaml + +maintainers: + - Lars Povlsen + +# Everything else is described in the common file +properties: + compatible: + const: microchip,dw-sparx5-sdhci + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + description: + Handle to "core" clock for the sdhci controller. + + clock-names: + items: + - const: core + + microchip,clock-delay: + description: Delay clock to card to meet setup time requirements. + Each step increase by 1.25ns. + $ref: /schemas/types.yaml#/definitions/uint32 + minimum: 1 + maximum: 15 + +required: + - compatible + - reg + - interrupts + - clocks + - clock-names + +unevaluatedProperties: false + +examples: + - | + #include + #include + sdhci0: mmc@600800000 { + compatible = "microchip,dw-sparx5-sdhci"; + reg = <0x00800000 0x1000>; + pinctrl-0 = <&emmc_pins>; + pinctrl-names = "default"; + clocks = <&clks CLK_ID_AUX1>; + clock-names = "core"; + assigned-clocks = <&clks CLK_ID_AUX1>; + assigned-clock-rates = <800000000>; + interrupts = ; + bus-width = <8>; + microchip,clock-delay = <10>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/mmc-pwrseq-emmc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/mmc-pwrseq-emmc.yaml index 279e890938..588be73168 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/mmc-pwrseq-emmc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/mmc-pwrseq-emmc.yaml @@ -1,48 +1,48 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/mmc/mmc-pwrseq-emmc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Simple eMMC hardware reset provider - -maintainers: - - Ulf Hansson - -description: - The purpose of this driver is to perform standard eMMC hw reset - procedure, as described by Jedec 4.4 specification. This procedure is - performed just after MMC core enabled power to the given mmc host (to - fix possible issues if bootloader has left eMMC card in initialized or - unknown state), and before performing complete system reboot (also in - case of emergency reboot call). The latter is needed on boards, which - doesn't have hardware reset logic connected to emmc card and (limited or - broken) ROM bootloaders are unable to read second stage from the emmc - card if the card is left in unknown or already initialized state. - -properties: - compatible: - const: mmc-pwrseq-emmc - - reset-gpios: - minItems: 1 - description: - contains a GPIO specifier. The reset GPIO is asserted - and then deasserted to perform eMMC card reset. To perform - reset procedure as described in Jedec 4.4 specification, the - gpio line should be defined as GPIO_ACTIVE_LOW. - -required: - - compatible - - reset-gpios - -additionalProperties: false - -examples: - - | - #include - pwrseq { - compatible = "mmc-pwrseq-emmc"; - reset-gpios = <&gpio1 12 GPIO_ACTIVE_LOW>; - }; -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mmc/mmc-pwrseq-emmc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Simple eMMC hardware reset provider + +maintainers: + - Ulf Hansson + +description: + The purpose of this driver is to perform standard eMMC hw reset + procedure, as described by Jedec 4.4 specification. This procedure is + performed just after MMC core enabled power to the given mmc host (to + fix possible issues if bootloader has left eMMC card in initialized or + unknown state), and before performing complete system reboot (also in + case of emergency reboot call). The latter is needed on boards, which + doesn't have hardware reset logic connected to emmc card and (limited or + broken) ROM bootloaders are unable to read second stage from the emmc + card if the card is left in unknown or already initialized state. + +properties: + compatible: + const: mmc-pwrseq-emmc + + reset-gpios: + minItems: 1 + description: + contains a GPIO specifier. The reset GPIO is asserted + and then deasserted to perform eMMC card reset. To perform + reset procedure as described in Jedec 4.4 specification, the + gpio line should be defined as GPIO_ACTIVE_LOW. + +required: + - compatible + - reset-gpios + +additionalProperties: false + +examples: + - | + #include + pwrseq { + compatible = "mmc-pwrseq-emmc"; + reset-gpios = <&gpio1 12 GPIO_ACTIVE_LOW>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/mmc-pwrseq-simple.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/mmc-pwrseq-simple.yaml index 96c240ed1d..00feaafc10 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/mmc-pwrseq-simple.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/mmc-pwrseq-simple.yaml @@ -1,64 +1,64 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/mmc/mmc-pwrseq-simple.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Simple MMC power sequence provider - -maintainers: - - Ulf Hansson - -description: - The purpose of the simple MMC power sequence provider is to supports a set - of common properties between various SOC designs. It thus enables us to use - the same provider for several SOC designs. - -properties: - compatible: - const: mmc-pwrseq-simple - - reset-gpios: - minItems: 1 - # Put some limit to avoid false warnings - maxItems: 32 - description: - contains a list of GPIO specifiers. The reset GPIOs are asserted - at initialization and prior we start the power up procedure of the card. - They will be de-asserted right after the power has been provided to the - card. - - clocks: - minItems: 1 - description: Handle for the entry in clock-names. - - clock-names: - items: - - const: ext_clock - description: External clock provided to the card. - - post-power-on-delay-ms: - description: - Delay in ms after powering the card and de-asserting the - reset-gpios (if any). - - power-off-delay-us: - description: - Delay in us after asserting the reset-gpios (if any) - during power off of the card. - -required: - - compatible - -additionalProperties: false - -examples: - - | - #include - pwrseq { - compatible = "mmc-pwrseq-simple"; - reset-gpios = <&gpio1 12 GPIO_ACTIVE_LOW>; - clocks = <&clk_32768_ck>; - clock-names = "ext_clock"; - }; -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mmc/mmc-pwrseq-simple.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Simple MMC power sequence provider + +maintainers: + - Ulf Hansson + +description: + The purpose of the simple MMC power sequence provider is to supports a set + of common properties between various SOC designs. It thus enables us to use + the same provider for several SOC designs. + +properties: + compatible: + const: mmc-pwrseq-simple + + reset-gpios: + minItems: 1 + # Put some limit to avoid false warnings + maxItems: 32 + description: + contains a list of GPIO specifiers. The reset GPIOs are asserted + at initialization and prior we start the power up procedure of the card. + They will be de-asserted right after the power has been provided to the + card. + + clocks: + minItems: 1 + description: Handle for the entry in clock-names. + + clock-names: + items: + - const: ext_clock + description: External clock provided to the card. + + post-power-on-delay-ms: + description: + Delay in ms after powering the card and de-asserting the + reset-gpios (if any). + + power-off-delay-us: + description: + Delay in us after asserting the reset-gpios (if any) + during power off of the card. + +required: + - compatible + +additionalProperties: false + +examples: + - | + #include + pwrseq { + compatible = "mmc-pwrseq-simple"; + reset-gpios = <&gpio1 12 GPIO_ACTIVE_LOW>; + clocks = <&clk_32768_ck>; + clock-names = "ext_clock"; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/mmc-spi-slot.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/mmc-spi-slot.yaml index 91d745f23e..6e2cdac6a8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/mmc-spi-slot.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/mmc-spi-slot.yaml @@ -1,77 +1,77 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/mmc/mmc-spi-slot.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: MMC/SD/SDIO slot directly connected to a SPI bus - -maintainers: - - Ulf Hansson - -allOf: - - $ref: mmc-controller.yaml - - $ref: /schemas/spi/spi-peripheral-props.yaml - -description: | - The extra properties used by an mmc connected via SPI. - -properties: - compatible: - const: mmc-spi-slot - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - voltage-ranges: - $ref: /schemas/types.yaml#/definitions/uint32-matrix - description: | - Two cells are required, first cell specifies minimum slot voltage (mV), - second cell specifies maximum slot voltage (mV). - items: - items: - - description: | - value for minimum slot voltage in mV - default: 3200 - - description: | - value for maximum slot voltage in mV - default: 3400 - maxItems: 1 - - gpios: - description: | - For historical reasons, this does not follow the generic mmc-controller - binding. - minItems: 1 - items: - - description: Card-Detect GPIO - - description: Write-Protect GPIO - -required: - - compatible - - reg - - spi-max-frequency - -unevaluatedProperties: false - -examples: - - | - #include - spi { - #address-cells = <1>; - #size-cells = <0>; - mmc@0 { - compatible = "mmc-spi-slot"; - reg = <0>; - gpios = <&gpio 14 GPIO_ACTIVE_LOW>, <&gpio 15 GPIO_ACTIVE_HIGH>; - voltage-ranges = <3300 3300>; - spi-max-frequency = <50000000>; - interrupts = <42>; - interrupt-parent = <&PIC>; - }; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mmc/mmc-spi-slot.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: MMC/SD/SDIO slot directly connected to a SPI bus + +maintainers: + - Ulf Hansson + +allOf: + - $ref: mmc-controller.yaml + - $ref: /schemas/spi/spi-peripheral-props.yaml + +description: | + The extra properties used by an mmc connected via SPI. + +properties: + compatible: + const: mmc-spi-slot + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + voltage-ranges: + $ref: /schemas/types.yaml#/definitions/uint32-matrix + description: | + Two cells are required, first cell specifies minimum slot voltage (mV), + second cell specifies maximum slot voltage (mV). + items: + items: + - description: | + value for minimum slot voltage in mV + default: 3200 + - description: | + value for maximum slot voltage in mV + default: 3400 + maxItems: 1 + + gpios: + description: | + For historical reasons, this does not follow the generic mmc-controller + binding. + minItems: 1 + items: + - description: Card-Detect GPIO + - description: Write-Protect GPIO + +required: + - compatible + - reg + - spi-max-frequency + +unevaluatedProperties: false + +examples: + - | + #include + spi { + #address-cells = <1>; + #size-cells = <0>; + mmc@0 { + compatible = "mmc-spi-slot"; + reg = <0>; + gpios = <&gpio 14 GPIO_ACTIVE_LOW>, <&gpio 15 GPIO_ACTIVE_HIGH>; + voltage-ranges = <3300 3300>; + spi-max-frequency = <50000000>; + interrupts = <42>; + interrupt-parent = <&PIC>; + }; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/samsung,s3c6410-sdhci.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/samsung,s3c6410-sdhci.yaml index 4d8e658c8d..5d873a60f6 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/samsung,s3c6410-sdhci.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/samsung,s3c6410-sdhci.yaml @@ -1,81 +1,81 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/mmc/samsung,s3c6410-sdhci.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Samsung SoC SDHCI Controller - -maintainers: - - Jaehoon Chung - - Krzysztof Kozlowski - -properties: - compatible: - enum: - - samsung,s3c6410-sdhci - - samsung,exynos4210-sdhci - - reg: - maxItems: 1 - - clocks: - minItems: 2 - maxItems: 5 - - clock-names: - minItems: 2 - items: - - const: hsmmc - - pattern: "^mmc_busclk.[0-3]$" - - pattern: "^mmc_busclk.[0-3]$" - - pattern: "^mmc_busclk.[0-3]$" - - pattern: "^mmc_busclk.[0-3]$" - - interrupts: - maxItems: 1 - -required: - - compatible - - reg - - interrupts - - clocks - - clock-names - -allOf: - - $ref: mmc-controller.yaml# - - if: - properties: - compatible: - contains: - enum: - - samsung,exynos4210-sdhci - then: - properties: - clocks: - maxItems: 2 - clock-names: - items: - - const: hsmmc - - const: mmc_busclk.2 - -unevaluatedProperties: false - -examples: - - | - #include - #include - #include - - mmc@12510000 { - compatible = "samsung,exynos4210-sdhci"; - reg = <0x12510000 0x100>; - interrupts = ; - clocks = <&clock CLK_SDMMC0>, <&clock CLK_SCLK_MMC0>; - clock-names = "hsmmc", "mmc_busclk.2"; - bus-width = <4>; - cd-gpios = <&gpx3 4 GPIO_ACTIVE_LOW>; - pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4 &sdhci2_cd>; - pinctrl-names = "default"; - vmmc-supply = <&ldo21_reg>; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mmc/samsung,s3c6410-sdhci.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Samsung SoC SDHCI Controller + +maintainers: + - Jaehoon Chung + - Krzysztof Kozlowski + +properties: + compatible: + enum: + - samsung,s3c6410-sdhci + - samsung,exynos4210-sdhci + + reg: + maxItems: 1 + + clocks: + minItems: 2 + maxItems: 5 + + clock-names: + minItems: 2 + items: + - const: hsmmc + - pattern: "^mmc_busclk.[0-3]$" + - pattern: "^mmc_busclk.[0-3]$" + - pattern: "^mmc_busclk.[0-3]$" + - pattern: "^mmc_busclk.[0-3]$" + + interrupts: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + - clocks + - clock-names + +allOf: + - $ref: mmc-controller.yaml# + - if: + properties: + compatible: + contains: + enum: + - samsung,exynos4210-sdhci + then: + properties: + clocks: + maxItems: 2 + clock-names: + items: + - const: hsmmc + - const: mmc_busclk.2 + +unevaluatedProperties: false + +examples: + - | + #include + #include + #include + + mmc@12510000 { + compatible = "samsung,exynos4210-sdhci"; + reg = <0x12510000 0x100>; + interrupts = ; + clocks = <&clock CLK_SDMMC0>, <&clock CLK_SCLK_MMC0>; + clock-names = "hsmmc", "mmc_busclk.2"; + bus-width = <4>; + cd-gpios = <&gpx3 4 GPIO_ACTIVE_LOW>; + pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4 &sdhci2_cd>; + pinctrl-names = "default"; + vmmc-supply = <&ldo21_reg>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/arm,pl353-nand-r2p1.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/arm,pl353-nand-r2p1.yaml index d7c2074f3e..7bd7c55a9c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/arm,pl353-nand-r2p1.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/arm,pl353-nand-r2p1.yaml @@ -1,52 +1,52 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/mtd/arm,pl353-nand-r2p1.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: PL353 NAND Controller - -allOf: - - $ref: nand-controller.yaml - -maintainers: - - Miquel Raynal - -properties: - compatible: - items: - - const: arm,pl353-nand-r2p1 - - reg: - items: - - items: - - description: CS with regard to the parent ranges property - - description: Offset of the memory region requested by the device - - description: Length of the memory region requested by the device - -required: - - compatible - - reg - -unevaluatedProperties: false - -examples: - - | - smcc: memory-controller@e000e000 { - compatible = "arm,pl353-smc-r2p1", "arm,primecell"; - reg = <0xe000e000 0x0001000>; - clock-names = "memclk", "apb_pclk"; - clocks = <&clkc 11>, <&clkc 44>; - ranges = <0x0 0x0 0xe1000000 0x1000000 /* Nand CS region */ - 0x1 0x0 0xe2000000 0x2000000 /* SRAM/NOR CS0 region */ - 0x2 0x0 0xe4000000 0x2000000>; /* SRAM/NOR CS1 region */ - #address-cells = <2>; - #size-cells = <1>; - - nfc0: nand-controller@0,0 { - compatible = "arm,pl353-nand-r2p1"; - reg = <0 0 0x1000000>; - #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/mtd/arm,pl353-nand-r2p1.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: PL353 NAND Controller + +allOf: + - $ref: nand-controller.yaml + +maintainers: + - Miquel Raynal + +properties: + compatible: + items: + - const: arm,pl353-nand-r2p1 + + reg: + items: + - items: + - description: CS with regard to the parent ranges property + - description: Offset of the memory region requested by the device + - description: Length of the memory region requested by the device + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + smcc: memory-controller@e000e000 { + compatible = "arm,pl353-smc-r2p1", "arm,primecell"; + reg = <0xe000e000 0x0001000>; + clock-names = "memclk", "apb_pclk"; + clocks = <&clkc 11>, <&clkc 44>; + ranges = <0x0 0x0 0xe1000000 0x1000000 /* Nand CS region */ + 0x1 0x0 0xe2000000 0x2000000 /* SRAM/NOR CS0 region */ + 0x2 0x0 0xe4000000 0x2000000>; /* SRAM/NOR CS1 region */ + #address-cells = <2>; + #size-cells = <1>; + + nfc0: nand-controller@0,0 { + compatible = "arm,pl353-nand-r2p1"; + reg = <0 0 0x1000000>; + #address-cells = <1>; + #size-cells = <0>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/cadence-nand-controller.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/cadence-nand-controller.txt index 5582cdbffc..d2eada5044 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/cadence-nand-controller.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/cadence-nand-controller.txt @@ -1,53 +1,53 @@ -* Cadence NAND controller - -Required properties: - - compatible : "cdns,hp-nfc" - - reg : Contains two entries, each of which is a tuple consisting of a - physical address and length. The first entry is the address and - length of the controller register set. The second entry is the - address and length of the Slave DMA data port. - - reg-names: should contain "reg" and "sdma" - - #address-cells: should be 1. The cell encodes the chip select connection. - - #size-cells : should be 0. - - interrupts : The interrupt number. - - clocks: phandle of the controller core clock (nf_clk). - -Optional properties: - - dmas: shall reference DMA channel associated to the NAND controller - - cdns,board-delay-ps : Estimated Board delay. The value includes the total - round trip delay for the signals and is used for deciding on values - associated with data read capture. The example formula for SDR mode is - the following: - board delay = RE#PAD delay + PCB trace to device + PCB trace from device - + DQ PAD delay - -Child nodes represent the available NAND chips. - -Required properties of NAND chips: - - reg: shall contain the native Chip Select ids from 0 to max supported by - the cadence nand flash controller - -See Documentation/devicetree/bindings/mtd/nand-controller.yaml for more details on -generic bindings. - -Example: - -nand_controller: nand-controller@60000000 { - compatible = "cdns,hp-nfc"; - #address-cells = <1>; - #size-cells = <0>; - reg = <0x60000000 0x10000>, <0x80000000 0x10000>; - reg-names = "reg", "sdma"; - clocks = <&nf_clk>; - cdns,board-delay-ps = <4830>; - interrupts = <2 0>; - nand@0 { - reg = <0>; - label = "nand-1"; - }; - nand@1 { - reg = <1>; - label = "nand-2"; - }; - -}; +* Cadence NAND controller + +Required properties: + - compatible : "cdns,hp-nfc" + - reg : Contains two entries, each of which is a tuple consisting of a + physical address and length. The first entry is the address and + length of the controller register set. The second entry is the + address and length of the Slave DMA data port. + - reg-names: should contain "reg" and "sdma" + - #address-cells: should be 1. The cell encodes the chip select connection. + - #size-cells : should be 0. + - interrupts : The interrupt number. + - clocks: phandle of the controller core clock (nf_clk). + +Optional properties: + - dmas: shall reference DMA channel associated to the NAND controller + - cdns,board-delay-ps : Estimated Board delay. The value includes the total + round trip delay for the signals and is used for deciding on values + associated with data read capture. The example formula for SDR mode is + the following: + board delay = RE#PAD delay + PCB trace to device + PCB trace from device + + DQ PAD delay + +Child nodes represent the available NAND chips. + +Required properties of NAND chips: + - reg: shall contain the native Chip Select ids from 0 to max supported by + the cadence nand flash controller + +See Documentation/devicetree/bindings/mtd/nand-controller.yaml for more details on +generic bindings. + +Example: + +nand_controller: nand-controller@60000000 { + compatible = "cdns,hp-nfc"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x60000000 0x10000>, <0x80000000 0x10000>; + reg-names = "reg", "sdma"; + clocks = <&nf_clk>; + cdns,board-delay-ps = <4830>; + interrupts = <2 0>; + nand@0 { + reg = <0>; + label = "nand-1"; + }; + nand@1 { + reg = <1>; + label = "nand-2"; + }; + +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/fsl-upm-nand.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/fsl-upm-nand.txt index 224dc54179..530c017e01 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/fsl-upm-nand.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/fsl-upm-nand.txt @@ -1,67 +1,67 @@ -Freescale Localbus UPM programmed to work with NAND flash - -Required properties: -- compatible : "fsl,upm-nand". -- reg : should specify localbus chip select and size used for the chip. -- fsl,upm-addr-offset : UPM pattern offset for the address latch. -- fsl,upm-cmd-offset : UPM pattern offset for the command latch. - -Optional properties: -- fsl,upm-addr-line-cs-offsets : address offsets for multi-chip support. - The corresponding address lines are used to select the chip. -- gpios : may specify optional GPIOs connected to the Ready-Not-Busy pins - (R/B#). For multi-chip devices, "n" GPIO definitions are required - according to the number of chips. - -Deprecated properties: -- fsl,upm-wait-flags : add chip-dependent short delays after running the - UPM pattern (0x1), after writing a data byte (0x2) or after - writing out a buffer (0x4). -- chip-delay : chip dependent delay for transferring data from array to - read registers (tR). Required if property "gpios" is not used - (R/B# pins not connected). - -Each flash chip described may optionally contain additional sub-nodes -describing partitions of the address space. See mtd.yaml for more -detail. - -Examples: - -upm@1,0 { - compatible = "fsl,upm-nand"; - reg = <1 0 1>; - fsl,upm-addr-offset = <16>; - fsl,upm-cmd-offset = <8>; - gpios = <&qe_pio_e 18 0>; - - flash { - #address-cells = <1>; - #size-cells = <1>; - compatible = "..."; - - partition@0 { - ... - }; - }; -}; - -upm@3,0 { - #address-cells = <0>; - #size-cells = <0>; - compatible = "tqc,tqm8548-upm-nand", "fsl,upm-nand"; - reg = <3 0x0 0x800>; - fsl,upm-addr-offset = <0x10>; - fsl,upm-cmd-offset = <0x08>; - /* Multi-chip NAND device */ - fsl,upm-addr-line-cs-offsets = <0x0 0x200>; - - nand@0 { - #address-cells = <1>; - #size-cells = <1>; - - partition@0 { - label = "fs"; - reg = <0x00000000 0x10000000>; - }; - }; -}; +Freescale Localbus UPM programmed to work with NAND flash + +Required properties: +- compatible : "fsl,upm-nand". +- reg : should specify localbus chip select and size used for the chip. +- fsl,upm-addr-offset : UPM pattern offset for the address latch. +- fsl,upm-cmd-offset : UPM pattern offset for the command latch. + +Optional properties: +- fsl,upm-addr-line-cs-offsets : address offsets for multi-chip support. + The corresponding address lines are used to select the chip. +- gpios : may specify optional GPIOs connected to the Ready-Not-Busy pins + (R/B#). For multi-chip devices, "n" GPIO definitions are required + according to the number of chips. + +Deprecated properties: +- fsl,upm-wait-flags : add chip-dependent short delays after running the + UPM pattern (0x1), after writing a data byte (0x2) or after + writing out a buffer (0x4). +- chip-delay : chip dependent delay for transferring data from array to + read registers (tR). Required if property "gpios" is not used + (R/B# pins not connected). + +Each flash chip described may optionally contain additional sub-nodes +describing partitions of the address space. See mtd.yaml for more +detail. + +Examples: + +upm@1,0 { + compatible = "fsl,upm-nand"; + reg = <1 0 1>; + fsl,upm-addr-offset = <16>; + fsl,upm-cmd-offset = <8>; + gpios = <&qe_pio_e 18 0>; + + flash { + #address-cells = <1>; + #size-cells = <1>; + compatible = "..."; + + partition@0 { + ... + }; + }; +}; + +upm@3,0 { + #address-cells = <0>; + #size-cells = <0>; + compatible = "tqc,tqm8548-upm-nand", "fsl,upm-nand"; + reg = <3 0x0 0x800>; + fsl,upm-addr-offset = <0x10>; + fsl,upm-cmd-offset = <0x08>; + /* Multi-chip NAND device */ + fsl,upm-addr-line-cs-offsets = <0x0 0x200>; + + nand@0 { + #address-cells = <1>; + #size-cells = <1>; + + partition@0 { + label = "fs"; + reg = <0x00000000 0x10000000>; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/gpio-control-nand.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/gpio-control-nand.txt index 60f345b460..0edf55d47e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/gpio-control-nand.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/gpio-control-nand.txt @@ -1,47 +1,47 @@ -GPIO assisted NAND flash - -The GPIO assisted NAND flash uses a memory mapped interface to -read/write the NAND commands and data and GPIO pins for the control -signals. - -Required properties: -- compatible : "gpio-control-nand" -- reg : should specify localbus chip select and size used for the chip. The - resource describes the data bus connected to the NAND flash and all accesses - are made in native endianness. -- #address-cells, #size-cells : Must be present if the device has sub-nodes - representing partitions. -- gpios : Specifies the GPIO pins to control the NAND device. The order of - GPIO references is: RDY, nCE, ALE, CLE, and nWP. nCE and nWP are optional. - -Optional properties: -- bank-width : Width (in bytes) of the device. If not present, the width - defaults to 1 byte. -- chip-delay : chip dependent delay for transferring data from array to - read registers (tR). If not present then a default of 20us is used. -- gpio-control-nand,io-sync-reg : A 64-bit physical address for a read - location used to guard against bus reordering with regards to accesses to - the GPIO's and the NAND flash data bus. If present, then after changing - GPIO state and before and after command byte writes, this register will be - read to ensure that the GPIO accesses have completed. - -The device tree may optionally contain sub-nodes describing partitions of the -address space. See mtd.yaml for more detail. - -Examples: - -gpio-nand@1,0 { - compatible = "gpio-control-nand"; - reg = <1 0x0000 0x2>; - #address-cells = <1>; - #size-cells = <1>; - gpios = <&banka 1 0>, /* RDY */ - <0>, /* nCE */ - <&banka 3 0>, /* ALE */ - <&banka 4 0>, /* CLE */ - <0>; /* nWP */ - - partition@0 { - ... - }; -}; +GPIO assisted NAND flash + +The GPIO assisted NAND flash uses a memory mapped interface to +read/write the NAND commands and data and GPIO pins for the control +signals. + +Required properties: +- compatible : "gpio-control-nand" +- reg : should specify localbus chip select and size used for the chip. The + resource describes the data bus connected to the NAND flash and all accesses + are made in native endianness. +- #address-cells, #size-cells : Must be present if the device has sub-nodes + representing partitions. +- gpios : Specifies the GPIO pins to control the NAND device. The order of + GPIO references is: RDY, nCE, ALE, CLE, and nWP. nCE and nWP are optional. + +Optional properties: +- bank-width : Width (in bytes) of the device. If not present, the width + defaults to 1 byte. +- chip-delay : chip dependent delay for transferring data from array to + read registers (tR). If not present then a default of 20us is used. +- gpio-control-nand,io-sync-reg : A 64-bit physical address for a read + location used to guard against bus reordering with regards to accesses to + the GPIO's and the NAND flash data bus. If present, then after changing + GPIO state and before and after command byte writes, this register will be + read to ensure that the GPIO accesses have completed. + +The device tree may optionally contain sub-nodes describing partitions of the +address space. See mtd.yaml for more detail. + +Examples: + +gpio-nand@1,0 { + compatible = "gpio-control-nand"; + reg = <1 0x0000 0x2>; + #address-cells = <1>; + #size-cells = <1>; + gpios = <&banka 1 0>, /* RDY */ + <0>, /* nCE */ + <&banka 3 0>, /* ALE */ + <&banka 4 0>, /* CLE */ + <0>; /* nWP */ + + partition@0 { + ... + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/hisi504-nand.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/hisi504-nand.txt index 6ad31fea92..362203e7d5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/hisi504-nand.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/hisi504-nand.txt @@ -1,47 +1,47 @@ -Hisilicon Hip04 Soc NAND controller DT binding - -Required properties: - -- compatible: Should be "hisilicon,504-nfc". -- reg: The first contains base physical address and size of - NAND controller's registers. The second contains base - physical address and size of NAND controller's buffer. -- interrupts: Interrupt number for nfc. -- nand-bus-width: See nand-controller.yaml. -- nand-ecc-mode: Support none and hw ecc mode. -- #address-cells: Partition address, should be set 1. -- #size-cells: Partition size, should be set 1. - -Optional properties: - -- nand-ecc-strength: Number of bits to correct per ECC step. -- nand-ecc-step-size: Number of data bytes covered by a single ECC step. - -The following ECC strength and step size are currently supported: - - - nand-ecc-strength = <16>, nand-ecc-step-size = <1024> - -Flash chip may optionally contain additional sub-nodes describing partitions of -the address space. See mtd.yaml for more detail. - -Example: - - nand: nand@4020000 { - compatible = "hisilicon,504-nfc"; - reg = <0x4020000 0x10000>, <0x5000000 0x1000>; - interrupts = <0 379 4>; - nand-bus-width = <8>; - nand-ecc-mode = "hw"; - nand-ecc-strength = <16>; - nand-ecc-step-size = <1024>; - #address-cells = <1>; - #size-cells = <1>; - - partition@0 { - label = "nand_text"; - reg = <0x00000000 0x00400000>; - }; - - ... - - }; +Hisilicon Hip04 Soc NAND controller DT binding + +Required properties: + +- compatible: Should be "hisilicon,504-nfc". +- reg: The first contains base physical address and size of + NAND controller's registers. The second contains base + physical address and size of NAND controller's buffer. +- interrupts: Interrupt number for nfc. +- nand-bus-width: See nand-controller.yaml. +- nand-ecc-mode: Support none and hw ecc mode. +- #address-cells: Partition address, should be set 1. +- #size-cells: Partition size, should be set 1. + +Optional properties: + +- nand-ecc-strength: Number of bits to correct per ECC step. +- nand-ecc-step-size: Number of data bytes covered by a single ECC step. + +The following ECC strength and step size are currently supported: + + - nand-ecc-strength = <16>, nand-ecc-step-size = <1024> + +Flash chip may optionally contain additional sub-nodes describing partitions of +the address space. See mtd.yaml for more detail. + +Example: + + nand: nand@4020000 { + compatible = "hisilicon,504-nfc"; + reg = <0x4020000 0x10000>, <0x5000000 0x1000>; + interrupts = <0 379 4>; + nand-bus-width = <8>; + nand-ecc-mode = "hw"; + nand-ecc-strength = <16>; + nand-ecc-step-size = <1024>; + #address-cells = <1>; + #size-cells = <1>; + + partition@0 { + label = "nand_text"; + reg = <0x00000000 0x00400000>; + }; + + ... + + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/intel,lgm-ebunand.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/intel,lgm-ebunand.yaml index b8378bc776..07bc7e3efd 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/intel,lgm-ebunand.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/intel,lgm-ebunand.yaml @@ -1,90 +1,90 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/mtd/intel,lgm-ebunand.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Intel LGM SoC NAND Controller - -allOf: - - $ref: nand-controller.yaml - -maintainers: - - Ramuthevar Vadivel Murugan - -properties: - compatible: - const: intel,lgm-ebunand - - reg: - maxItems: 6 - - reg-names: - items: - - const: ebunand - - const: hsnand - - const: nand_cs0 - - const: nand_cs1 - - const: addr_sel0 - - const: addr_sel1 - - clocks: - maxItems: 1 - - dmas: - maxItems: 2 - - dma-names: - items: - - const: tx - - const: rx - -patternProperties: - "^nand@[a-f0-9]$": - type: object - $ref: raw-nand-chip.yaml - properties: - reg: - minimum: 0 - maximum: 1 - - nand-ecc-algo: - const: hw - - unevaluatedProperties: false - -required: - - compatible - - reg - - reg-names - - clocks - - dmas - - dma-names - -unevaluatedProperties: false - -examples: - - | - nand-controller@e0f00000 { - compatible = "intel,lgm-ebunand"; - reg = <0xe0f00000 0x100>, - <0xe1000000 0x300>, - <0xe1400000 0x8000>, - <0xe1c00000 0x1000>, - <0x17400000 0x4>, - <0x17c00000 0x4>; - reg-names = "ebunand", "hsnand", "nand_cs0", "nand_cs1", - "addr_sel0", "addr_sel1"; - clocks = <&cgu0 125>; - dmas = <&dma0 8>, <&dma0 9>; - dma-names = "tx", "rx"; - #address-cells = <1>; - #size-cells = <0>; - - nand@0 { - reg = <0>; - nand-ecc-mode = "hw"; - }; - }; - -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mtd/intel,lgm-ebunand.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Intel LGM SoC NAND Controller + +allOf: + - $ref: nand-controller.yaml + +maintainers: + - Ramuthevar Vadivel Murugan + +properties: + compatible: + const: intel,lgm-ebunand + + reg: + maxItems: 6 + + reg-names: + items: + - const: ebunand + - const: hsnand + - const: nand_cs0 + - const: nand_cs1 + - const: addr_sel0 + - const: addr_sel1 + + clocks: + maxItems: 1 + + dmas: + maxItems: 2 + + dma-names: + items: + - const: tx + - const: rx + +patternProperties: + "^nand@[a-f0-9]$": + type: object + $ref: raw-nand-chip.yaml + properties: + reg: + minimum: 0 + maximum: 1 + + nand-ecc-algo: + const: hw + + unevaluatedProperties: false + +required: + - compatible + - reg + - reg-names + - clocks + - dmas + - dma-names + +unevaluatedProperties: false + +examples: + - | + nand-controller@e0f00000 { + compatible = "intel,lgm-ebunand"; + reg = <0xe0f00000 0x100>, + <0xe1000000 0x300>, + <0xe1400000 0x8000>, + <0xe1c00000 0x1000>, + <0x17400000 0x4>, + <0x17c00000 0x4>; + reg-names = "ebunand", "hsnand", "nand_cs0", "nand_cs1", + "addr_sel0", "addr_sel1"; + clocks = <&cgu0 125>; + dmas = <&dma0 8>, <&dma0 9>; + dma-names = "tx", "rx"; + #address-cells = <1>; + #size-cells = <0>; + + nand@0 { + reg = <0>; + nand-ecc-mode = "hw"; + }; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/lpc32xx-slc.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/lpc32xx-slc.txt index 640b8f7bba..39f17630a3 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/lpc32xx-slc.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/lpc32xx-slc.txt @@ -1,52 +1,52 @@ -NXP LPC32xx SoC NAND SLC controller - -Required properties: -- compatible: "nxp,lpc3220-slc" -- reg: Address and size of the controller -- nand-on-flash-bbt: Use bad block table on flash -- gpios: GPIO specification for NAND write protect - -The following required properties are very controller specific. See the LPC32xx -User Manual: -- nxp,wdr-clks: Delay before Ready signal is tested on write (W_RDY) -- nxp,rdr-clks: Delay before Ready signal is tested on read (R_RDY) -(The following values are specified in Hz, to make them independent of actual -clock speed:) -- nxp,wwidth: Write pulse width (W_WIDTH) -- nxp,whold: Write hold time (W_HOLD) -- nxp,wsetup: Write setup time (W_SETUP) -- nxp,rwidth: Read pulse width (R_WIDTH) -- nxp,rhold: Read hold time (R_HOLD) -- nxp,rsetup: Read setup time (R_SETUP) - -Optional subnodes: -- Partitions, see Documentation/devicetree/bindings/mtd/mtd.yaml - -Example: - - slc: flash@20020000 { - compatible = "nxp,lpc3220-slc"; - reg = <0x20020000 0x1000>; - #address-cells = <1>; - #size-cells = <1>; - - nxp,wdr-clks = <14>; - nxp,wwidth = <40000000>; - nxp,whold = <100000000>; - nxp,wsetup = <100000000>; - nxp,rdr-clks = <14>; - nxp,rwidth = <40000000>; - nxp,rhold = <66666666>; - nxp,rsetup = <100000000>; - nand-on-flash-bbt; - gpios = <&gpio 5 19 1>; /* GPO_P3 19, active low */ - - mtd0@00000000 { - label = "phy3250-boot"; - reg = <0x00000000 0x00064000>; - read-only; - }; - - ... - - }; +NXP LPC32xx SoC NAND SLC controller + +Required properties: +- compatible: "nxp,lpc3220-slc" +- reg: Address and size of the controller +- nand-on-flash-bbt: Use bad block table on flash +- gpios: GPIO specification for NAND write protect + +The following required properties are very controller specific. See the LPC32xx +User Manual: +- nxp,wdr-clks: Delay before Ready signal is tested on write (W_RDY) +- nxp,rdr-clks: Delay before Ready signal is tested on read (R_RDY) +(The following values are specified in Hz, to make them independent of actual +clock speed:) +- nxp,wwidth: Write pulse width (W_WIDTH) +- nxp,whold: Write hold time (W_HOLD) +- nxp,wsetup: Write setup time (W_SETUP) +- nxp,rwidth: Read pulse width (R_WIDTH) +- nxp,rhold: Read hold time (R_HOLD) +- nxp,rsetup: Read setup time (R_SETUP) + +Optional subnodes: +- Partitions, see Documentation/devicetree/bindings/mtd/mtd.yaml + +Example: + + slc: flash@20020000 { + compatible = "nxp,lpc3220-slc"; + reg = <0x20020000 0x1000>; + #address-cells = <1>; + #size-cells = <1>; + + nxp,wdr-clks = <14>; + nxp,wwidth = <40000000>; + nxp,whold = <100000000>; + nxp,wsetup = <100000000>; + nxp,rdr-clks = <14>; + nxp,rwidth = <40000000>; + nxp,rhold = <66666666>; + nxp,rsetup = <100000000>; + nand-on-flash-bbt; + gpios = <&gpio 5 19 1>; /* GPO_P3 19, active low */ + + mtd0@00000000 { + label = "phy3250-boot"; + reg = <0x00000000 0x00064000>; + read-only; + }; + + ... + + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/mediatek,nand-ecc-engine.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/mediatek,nand-ecc-engine.yaml index e1747ab42d..505baf1e88 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/mediatek,nand-ecc-engine.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/mediatek,nand-ecc-engine.yaml @@ -1,63 +1,63 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/mtd/mediatek,nand-ecc-engine.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: MediaTek(MTK) SoCs NAND ECC engine - -maintainers: - - Xiangsheng Hou - -description: | - MTK NAND ECC engine can cowork with MTK raw NAND and SPI NAND controller. - -properties: - compatible: - enum: - - mediatek,mt2701-ecc - - mediatek,mt2712-ecc - - mediatek,mt7622-ecc - - mediatek,mt7986-ecc - - reg: - items: - - description: Base physical address and size of ECC. - - interrupts: - items: - - description: ECC interrupt - - clocks: - maxItems: 1 - - clock-names: - const: nfiecc_clk - -required: - - compatible - - reg - - interrupts - - clocks - - clock-names - -additionalProperties: false - -examples: - - | - #include - #include - #include - - soc { - #address-cells = <2>; - #size-cells = <2>; - - bch: ecc@1100e000 { - compatible = "mediatek,mt2701-ecc"; - reg = <0 0x1100e000 0 0x1000>; - interrupts = ; - clocks = <&pericfg CLK_PERI_NFI_ECC>; - clock-names = "nfiecc_clk"; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mtd/mediatek,nand-ecc-engine.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: MediaTek(MTK) SoCs NAND ECC engine + +maintainers: + - Xiangsheng Hou + +description: | + MTK NAND ECC engine can cowork with MTK raw NAND and SPI NAND controller. + +properties: + compatible: + enum: + - mediatek,mt2701-ecc + - mediatek,mt2712-ecc + - mediatek,mt7622-ecc + - mediatek,mt7986-ecc + + reg: + items: + - description: Base physical address and size of ECC. + + interrupts: + items: + - description: ECC interrupt + + clocks: + maxItems: 1 + + clock-names: + const: nfiecc_clk + +required: + - compatible + - reg + - interrupts + - clocks + - clock-names + +additionalProperties: false + +examples: + - | + #include + #include + #include + + soc { + #address-cells = <2>; + #size-cells = <2>; + + bch: ecc@1100e000 { + compatible = "mediatek,mt2701-ecc"; + reg = <0 0x1100e000 0 0x1000>; + interrupts = ; + clocks = <&pericfg CLK_PERI_NFI_ECC>; + clock-names = "nfiecc_clk"; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/nand-controller.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/nand-controller.yaml index ce1fba600c..28167c0cf2 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/nand-controller.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/nand-controller.yaml @@ -1,71 +1,71 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/mtd/nand-controller.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: NAND Controller Common Properties - -maintainers: - - Miquel Raynal - - Richard Weinberger - -description: | - The NAND controller should be represented with its own DT node, and - all NAND chips attached to this controller should be defined as - children nodes of the NAND controller. This representation should be - enforced even for simple controllers supporting only one chip. - -properties: - $nodename: - pattern: "^nand-controller(@.*)?" - - "#address-cells": - const: 1 - - "#size-cells": - const: 0 - - ranges: true - - cs-gpios: - description: - Array of chip-select available to the controller. The first - entries are a 1:1 mapping of the available chip-select on the - NAND controller (even if they are not used). As many additional - chip-select as needed may follow and should be phandles of GPIO - lines. 'reg' entries of the NAND chip subnodes become indexes of - this array when this property is present. - minItems: 1 - maxItems: 8 - -patternProperties: - "^nand@[a-f0-9]$": - type: object - $ref: raw-nand-chip.yaml# - -required: - - "#address-cells" - - "#size-cells" - -# This is a generic file other binding inherit from and extend -additionalProperties: true - -examples: - - | - nand-controller { - #address-cells = <1>; - #size-cells = <0>; - cs-gpios = <0>, <&gpioA 1>; /* A single native CS is available */ - - /* controller specific properties */ - - nand@0 { - reg = <0>; /* Native CS */ - /* NAND chip specific properties */ - }; - - nand@1 { - reg = <1>; /* GPIO CS */ - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mtd/nand-controller.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NAND Controller Common Properties + +maintainers: + - Miquel Raynal + - Richard Weinberger + +description: | + The NAND controller should be represented with its own DT node, and + all NAND chips attached to this controller should be defined as + children nodes of the NAND controller. This representation should be + enforced even for simple controllers supporting only one chip. + +properties: + $nodename: + pattern: "^nand-controller(@.*)?" + + "#address-cells": + const: 1 + + "#size-cells": + const: 0 + + ranges: true + + cs-gpios: + description: + Array of chip-select available to the controller. The first + entries are a 1:1 mapping of the available chip-select on the + NAND controller (even if they are not used). As many additional + chip-select as needed may follow and should be phandles of GPIO + lines. 'reg' entries of the NAND chip subnodes become indexes of + this array when this property is present. + minItems: 1 + maxItems: 8 + +patternProperties: + "^nand@[a-f0-9]$": + type: object + $ref: raw-nand-chip.yaml# + +required: + - "#address-cells" + - "#size-cells" + +# This is a generic file other binding inherit from and extend +additionalProperties: true + +examples: + - | + nand-controller { + #address-cells = <1>; + #size-cells = <0>; + cs-gpios = <0>, <&gpioA 1>; /* A single native CS is available */ + + /* controller specific properties */ + + nand@0 { + reg = <0>; /* Native CS */ + /* NAND chip specific properties */ + }; + + nand@1 { + reg = <1>; /* GPIO CS */ + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/nxp-spifi.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/nxp-spifi.txt index 55fb36b967..f8b6b25065 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/nxp-spifi.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/nxp-spifi.txt @@ -1,58 +1,58 @@ -* NXP SPI Flash Interface (SPIFI) - -NXP SPIFI is a specialized SPI interface for serial Flash devices. -It supports one Flash device with 1-, 2- and 4-bits width in SPI -mode 0 or 3. The controller operates in either command or memory -mode. In memory mode the Flash is accessible from the CPU as -normal memory. - -Required properties: - - compatible : Should be "nxp,lpc1773-spifi" - - reg : the first contains the register location and length, - the second contains the memory mapping address and length - - reg-names: Should contain the reg names "spifi" and "flash" - - interrupts : Should contain the interrupt for the device - - clocks : The clocks needed by the SPIFI controller - - clock-names : Should contain the clock names "spifi" and "reg" - -Optional properties: - - resets : phandle + reset specifier - -The SPI Flash must be a child of the SPIFI node and must have a -compatible property as specified in bindings/mtd/jedec,spi-nor.txt - -Optionally it can also contain the following properties. - - spi-cpol : Controller only supports mode 0 and 3 so either - both spi-cpol and spi-cpha should be present or - none of them - - spi-cpha : See above - - spi-rx-bus-width : Used to select how many pins that are used - for input on the controller - -See bindings/spi/spi-bus.txt for more information. - -Example: -spifi: spifi@40003000 { - compatible = "nxp,lpc1773-spifi"; - reg = <0x40003000 0x1000>, <0x14000000 0x4000000>; - reg-names = "spifi", "flash"; - interrupts = <30>; - clocks = <&ccu1 CLK_SPIFI>, <&ccu1 CLK_CPU_SPIFI>; - clock-names = "spifi", "reg"; - resets = <&rgu 53>; - - flash@0 { - compatible = "jedec,spi-nor"; - spi-cpol; - spi-cpha; - spi-rx-bus-width = <4>; - #address-cells = <1>; - #size-cells = <1>; - - partition@0 { - label = "data"; - reg = <0 0x200000>; - }; - }; -}; - +* NXP SPI Flash Interface (SPIFI) + +NXP SPIFI is a specialized SPI interface for serial Flash devices. +It supports one Flash device with 1-, 2- and 4-bits width in SPI +mode 0 or 3. The controller operates in either command or memory +mode. In memory mode the Flash is accessible from the CPU as +normal memory. + +Required properties: + - compatible : Should be "nxp,lpc1773-spifi" + - reg : the first contains the register location and length, + the second contains the memory mapping address and length + - reg-names: Should contain the reg names "spifi" and "flash" + - interrupts : Should contain the interrupt for the device + - clocks : The clocks needed by the SPIFI controller + - clock-names : Should contain the clock names "spifi" and "reg" + +Optional properties: + - resets : phandle + reset specifier + +The SPI Flash must be a child of the SPIFI node and must have a +compatible property as specified in bindings/mtd/jedec,spi-nor.txt + +Optionally it can also contain the following properties. + - spi-cpol : Controller only supports mode 0 and 3 so either + both spi-cpol and spi-cpha should be present or + none of them + - spi-cpha : See above + - spi-rx-bus-width : Used to select how many pins that are used + for input on the controller + +See bindings/spi/spi-bus.txt for more information. + +Example: +spifi: spifi@40003000 { + compatible = "nxp,lpc1773-spifi"; + reg = <0x40003000 0x1000>, <0x14000000 0x4000000>; + reg-names = "spifi", "flash"; + interrupts = <30>; + clocks = <&ccu1 CLK_SPIFI>, <&ccu1 CLK_CPU_SPIFI>; + clock-names = "spifi", "reg"; + resets = <&rgu 53>; + + flash@0 { + compatible = "jedec,spi-nor"; + spi-cpol; + spi-cpha; + spi-rx-bus-width = <4>; + #address-cells = <1>; + #size-cells = <1>; + + partition@0 { + label = "data"; + reg = <0 0x200000>; + }; + }; +}; + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/partitions/brcm,bcm4908-partitions.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/partitions/brcm,bcm4908-partitions.yaml index ba43a39728..94f0742b37 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/partitions/brcm,bcm4908-partitions.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/partitions/brcm,bcm4908-partitions.yaml @@ -1,72 +1,72 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/mtd/partitions/brcm,bcm4908-partitions.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Broadcom BCM4908 partitioning - -description: | - Broadcom BCM4908 CFE bootloader supports two firmware partitions. One is used - for regular booting, the other is treated as fallback. - - This binding allows defining all fixed partitions and marking those containing - firmware. System can use that information e.g. for booting or flashing - purposes. - -maintainers: - - Rafał Miłecki - -select: false - -properties: - compatible: - const: brcm,bcm4908-partitions - - "#address-cells": - enum: [ 1, 2 ] - - "#size-cells": - enum: [ 1, 2 ] - -patternProperties: - "^partition@[0-9a-f]+$": - $ref: partition.yaml# - properties: - compatible: - const: brcm,bcm4908-firmware - unevaluatedProperties: false - -required: - - "#address-cells" - - "#size-cells" - -additionalProperties: false - -examples: - - | - partitions { - compatible = "brcm,bcm4908-partitions"; - #address-cells = <1>; - #size-cells = <1>; - - partition@0 { - label = "cferom"; - reg = <0x0 0x100000>; - }; - - partition@100000 { - compatible = "brcm,bcm4908-firmware"; - reg = <0x100000 0xf00000>; - }; - - partition@1000000 { - compatible = "brcm,bcm4908-firmware"; - reg = <0x1000000 0xf00000>; - }; - - partition@1f00000 { - label = "calibration"; - reg = <0x1f00000 0x100000>; - }; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mtd/partitions/brcm,bcm4908-partitions.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom BCM4908 partitioning + +description: | + Broadcom BCM4908 CFE bootloader supports two firmware partitions. One is used + for regular booting, the other is treated as fallback. + + This binding allows defining all fixed partitions and marking those containing + firmware. System can use that information e.g. for booting or flashing + purposes. + +maintainers: + - Rafał Miłecki + +select: false + +properties: + compatible: + const: brcm,bcm4908-partitions + + "#address-cells": + enum: [ 1, 2 ] + + "#size-cells": + enum: [ 1, 2 ] + +patternProperties: + "^partition@[0-9a-f]+$": + $ref: partition.yaml# + properties: + compatible: + const: brcm,bcm4908-firmware + unevaluatedProperties: false + +required: + - "#address-cells" + - "#size-cells" + +additionalProperties: false + +examples: + - | + partitions { + compatible = "brcm,bcm4908-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + partition@0 { + label = "cferom"; + reg = <0x0 0x100000>; + }; + + partition@100000 { + compatible = "brcm,bcm4908-firmware"; + reg = <0x100000 0xf00000>; + }; + + partition@1000000 { + compatible = "brcm,bcm4908-firmware"; + reg = <0x1000000 0xf00000>; + }; + + partition@1f00000 { + label = "calibration"; + reg = <0x1f00000 0x100000>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/partitions/brcm,trx.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/partitions/brcm,trx.txt index e901e1b7c4..c2175d3c82 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/partitions/brcm,trx.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/partitions/brcm,trx.txt @@ -1,42 +1,42 @@ -Broadcom TRX Container Partition -================================ - -TRX is Broadcom's official firmware format for the BCM947xx boards. It's used by -most of the vendors building devices based on Broadcom's BCM47xx SoCs and is -supported by the CFE bootloader. - -Design of the TRX format is very minimalistic. Its header contains -identification fields, CRC32 checksum and the locations of embedded partitions. -Its purpose is to store a few partitions in a format that can be distributed as -a standalone file and written in a flash memory. - -Container can hold up to 4 partitions. The first partition has to contain a -device executable binary (e.g. a kernel) as it's what the CFE bootloader starts -executing. Other partitions can be used for operating system purposes. This is -useful for systems that keep kernel and rootfs separated. - -TRX doesn't enforce any strict partition boundaries or size limits. All -partitions have to be less than the 4GiB max size limit. - -There are two existing/known TRX variants: -1) v1 which contains 3 partitions -2) v2 which contains 4 partitions - -There aren't separated compatible bindings for them as version can be trivialy -detected by a software parsing TRX header. - -Required properties: -- compatible : (required) must be "brcm,trx" - -Optional properties: - -- brcm,trx-magic: TRX magic, if it is different from the default magic - 0x30524448 as a u32. - -Example: - -flash@0 { - partitions { - compatible = "brcm,trx"; - }; -}; +Broadcom TRX Container Partition +================================ + +TRX is Broadcom's official firmware format for the BCM947xx boards. It's used by +most of the vendors building devices based on Broadcom's BCM47xx SoCs and is +supported by the CFE bootloader. + +Design of the TRX format is very minimalistic. Its header contains +identification fields, CRC32 checksum and the locations of embedded partitions. +Its purpose is to store a few partitions in a format that can be distributed as +a standalone file and written in a flash memory. + +Container can hold up to 4 partitions. The first partition has to contain a +device executable binary (e.g. a kernel) as it's what the CFE bootloader starts +executing. Other partitions can be used for operating system purposes. This is +useful for systems that keep kernel and rootfs separated. + +TRX doesn't enforce any strict partition boundaries or size limits. All +partitions have to be less than the 4GiB max size limit. + +There are two existing/known TRX variants: +1) v1 which contains 3 partitions +2) v2 which contains 4 partitions + +There aren't separated compatible bindings for them as version can be trivialy +detected by a software parsing TRX header. + +Required properties: +- compatible : (required) must be "brcm,trx" + +Optional properties: + +- brcm,trx-magic: TRX magic, if it is different from the default magic + 0x30524448 as a u32. + +Example: + +flash@0 { + partitions { + compatible = "brcm,trx"; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/partitions/linksys,ns-partitions.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/partitions/linksys,ns-partitions.yaml index 907afc97b5..c5fa78ff71 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/partitions/linksys,ns-partitions.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/partitions/linksys,ns-partitions.yaml @@ -1,76 +1,76 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/mtd/partitions/linksys,ns-partitions.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Linksys Northstar partitioning - -description: | - Linksys devices based on Broadcom Northstar architecture often use two - firmware partitions. One is used for regular booting, the other is treated as - fallback. - - This binding allows defining all fixed partitions and marking those containing - firmware. System can use that information e.g. for booting or flashing - purposes. - -maintainers: - - Rafał Miłecki - -select: false - -properties: - compatible: - const: linksys,ns-partitions - - "#address-cells": - enum: [ 1, 2 ] - - "#size-cells": - enum: [ 1, 2 ] - -patternProperties: - "^partition@[0-9a-f]+$": - $ref: partition.yaml# - properties: - compatible: - items: - - const: linksys,ns-firmware - - const: brcm,trx - unevaluatedProperties: false - -required: - - "#address-cells" - - "#size-cells" - -additionalProperties: false - -examples: - - | - partitions { - compatible = "linksys,ns-partitions"; - #address-cells = <1>; - #size-cells = <1>; - - partition@0 { - label = "boot"; - reg = <0x0 0x100000>; - read-only; - }; - - partition@100000 { - label = "nvram"; - reg = <0x100000 0x100000>; - }; - - partition@200000 { - compatible = "linksys,ns-firmware", "brcm,trx"; - reg = <0x200000 0xf00000>; - }; - - partition@1100000 { - compatible = "linksys,ns-firmware", "brcm,trx"; - reg = <0x1100000 0xf00000>; - }; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mtd/partitions/linksys,ns-partitions.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Linksys Northstar partitioning + +description: | + Linksys devices based on Broadcom Northstar architecture often use two + firmware partitions. One is used for regular booting, the other is treated as + fallback. + + This binding allows defining all fixed partitions and marking those containing + firmware. System can use that information e.g. for booting or flashing + purposes. + +maintainers: + - Rafał Miłecki + +select: false + +properties: + compatible: + const: linksys,ns-partitions + + "#address-cells": + enum: [ 1, 2 ] + + "#size-cells": + enum: [ 1, 2 ] + +patternProperties: + "^partition@[0-9a-f]+$": + $ref: partition.yaml# + properties: + compatible: + items: + - const: linksys,ns-firmware + - const: brcm,trx + unevaluatedProperties: false + +required: + - "#address-cells" + - "#size-cells" + +additionalProperties: false + +examples: + - | + partitions { + compatible = "linksys,ns-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + partition@0 { + label = "boot"; + reg = <0x0 0x100000>; + read-only; + }; + + partition@100000 { + label = "nvram"; + reg = <0x100000 0x100000>; + }; + + partition@200000 { + compatible = "linksys,ns-firmware", "brcm,trx"; + reg = <0x200000 0xf00000>; + }; + + partition@1100000 { + compatible = "linksys,ns-firmware", "brcm,trx"; + reg = <0x1100000 0xf00000>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/partitions/linux,ubi.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/partitions/linux,ubi.yaml index f3bff76375..27e1ac1f25 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/partitions/linux,ubi.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/partitions/linux,ubi.yaml @@ -1,75 +1,75 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/mtd/partitions/linux,ubi.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Unsorted Block Images - -description: | - UBI ("Unsorted Block Images") is a volume management system for raw - flash devices which manages multiple logical volumes on a single - physical flash device and spreads the I/O load (i.e wear-leveling) - across the whole flash chip. - -maintainers: - - Daniel Golle - -allOf: - - $ref: partition.yaml# - -properties: - compatible: - const: linux,ubi - - volumes: - type: object - description: UBI Volumes - - patternProperties: - "^ubi-volume-.*$": - $ref: /schemas/mtd/partitions/ubi-volume.yaml# - - unevaluatedProperties: false - -required: - - compatible - -unevaluatedProperties: false - -examples: - - | - partitions { - compatible = "fixed-partitions"; - #address-cells = <1>; - #size-cells = <1>; - - partition@0 { - reg = <0x0 0x100000>; - label = "bootloader"; - read-only; - }; - - partition@100000 { - reg = <0x100000 0x1ff00000>; - label = "ubi"; - compatible = "linux,ubi"; - - volumes { - ubi-volume-caldata { - volid = <2>; - volname = "rf"; - - nvmem-layout { - compatible = "fixed-layout"; - #address-cells = <1>; - #size-cells = <1>; - - eeprom@0 { - reg = <0x0 0x1000>; - }; - }; - }; - }; - }; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mtd/partitions/linux,ubi.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Unsorted Block Images + +description: | + UBI ("Unsorted Block Images") is a volume management system for raw + flash devices which manages multiple logical volumes on a single + physical flash device and spreads the I/O load (i.e wear-leveling) + across the whole flash chip. + +maintainers: + - Daniel Golle + +allOf: + - $ref: partition.yaml# + +properties: + compatible: + const: linux,ubi + + volumes: + type: object + description: UBI Volumes + + patternProperties: + "^ubi-volume-.*$": + $ref: /schemas/mtd/partitions/ubi-volume.yaml# + + unevaluatedProperties: false + +required: + - compatible + +unevaluatedProperties: false + +examples: + - | + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + partition@0 { + reg = <0x0 0x100000>; + label = "bootloader"; + read-only; + }; + + partition@100000 { + reg = <0x100000 0x1ff00000>; + label = "ubi"; + compatible = "linux,ubi"; + + volumes { + ubi-volume-caldata { + volid = <2>; + volname = "rf"; + + nvmem-layout { + compatible = "fixed-layout"; + #address-cells = <1>; + #size-cells = <1>; + + eeprom@0 { + reg = <0x0 0x1000>; + }; + }; + }; + }; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/partitions/qcom,smem-part.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/partitions/qcom,smem-part.yaml index 40730cc2a3..1c2b4e780c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/partitions/qcom,smem-part.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/partitions/qcom,smem-part.yaml @@ -1,62 +1,62 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/mtd/partitions/qcom,smem-part.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm SMEM NAND flash partition parser - -maintainers: - - Manivannan Sadhasivam - -description: | - The Qualcomm SoCs supporting the NAND controller interface features a Shared - Memory (SMEM) based partition table scheme. The maximum partitions supported - varies between partition table revisions. V3 supports maximum 16 partitions - and V4 supports 48 partitions. - -select: false - -properties: - compatible: - const: qcom,smem-part - -patternProperties: - "^partition-[0-9a-z]+$": - $ref: nvmem-cells.yaml - -required: - - compatible - -additionalProperties: false - -examples: - - | - flash { - partitions { - compatible = "qcom,smem-part"; - }; - }; - - - | - /* Example declaring dynamic partition */ - flash { - partitions { - compatible = "qcom,smem-part"; - - partition-art { - compatible = "nvmem-cells"; - #address-cells = <1>; - #size-cells = <1>; - label = "0:art"; - - macaddr_art_0: macaddr@0 { - reg = <0x0 0x6>; - }; - - macaddr_art_6: macaddr@6 { - reg = <0x6 0x6>; - }; - }; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mtd/partitions/qcom,smem-part.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm SMEM NAND flash partition parser + +maintainers: + - Manivannan Sadhasivam + +description: | + The Qualcomm SoCs supporting the NAND controller interface features a Shared + Memory (SMEM) based partition table scheme. The maximum partitions supported + varies between partition table revisions. V3 supports maximum 16 partitions + and V4 supports 48 partitions. + +select: false + +properties: + compatible: + const: qcom,smem-part + +patternProperties: + "^partition-[0-9a-z]+$": + $ref: nvmem-cells.yaml + +required: + - compatible + +additionalProperties: false + +examples: + - | + flash { + partitions { + compatible = "qcom,smem-part"; + }; + }; + + - | + /* Example declaring dynamic partition */ + flash { + partitions { + compatible = "qcom,smem-part"; + + partition-art { + compatible = "nvmem-cells"; + #address-cells = <1>; + #size-cells = <1>; + label = "0:art"; + + macaddr_art_0: macaddr@0 { + reg = <0x0 0x6>; + }; + + macaddr_art_6: macaddr@6 { + reg = <0x6 0x6>; + }; + }; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/partitions/tplink,safeloader-partitions.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/partitions/tplink,safeloader-partitions.yaml index 9be5ba1201..a24bbaac3a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/partitions/tplink,safeloader-partitions.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/partitions/tplink,safeloader-partitions.yaml @@ -1,57 +1,57 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/mtd/partitions/tplink,safeloader-partitions.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: TP-Link SafeLoader partitions - -description: | - TP-Link home routers store various data on flash (e.g. bootloader, - flash layout, firmware, product info, configuration, calibration - data). That requires flash partitioning. - - Flash space layout of TP-Link devices is stored on flash itself using - a custom ASCII-based format. That format was first found in TP-Link - devices with a custom SafeLoader bootloader. Later it was adapted to - CFE and U-Boot bootloaders. - - Partitions specified in partitions table cover whole flash space. Some - contain static data that shouldn't get modified (device's MAC or WiFi - calibration data). Others are semi-static (like kernel). Finally some - partitions contain fully changeable content (like rootfs). - - This binding describes partitioning method and defines offset of ASCII - based partitions table. That offset is picked at manufacturing process - and doesn't change. - -maintainers: - - Rafał Miłecki - -properties: - compatible: - const: tplink,safeloader-partitions - - partitions-table-offset: - description: Flash offset of partitions table - $ref: /schemas/types.yaml#/definitions/uint32 - -patternProperties: - "^partition-.*$": - $ref: partition.yaml# - -required: - - partitions-table-offset - -additionalProperties: false - -examples: - - | - partitions { - compatible = "tplink,safeloader-partitions"; - partitions-table-offset = <0x100000>; - - partition-file-system { - linux,rootfs; - }; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mtd/partitions/tplink,safeloader-partitions.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: TP-Link SafeLoader partitions + +description: | + TP-Link home routers store various data on flash (e.g. bootloader, + flash layout, firmware, product info, configuration, calibration + data). That requires flash partitioning. + + Flash space layout of TP-Link devices is stored on flash itself using + a custom ASCII-based format. That format was first found in TP-Link + devices with a custom SafeLoader bootloader. Later it was adapted to + CFE and U-Boot bootloaders. + + Partitions specified in partitions table cover whole flash space. Some + contain static data that shouldn't get modified (device's MAC or WiFi + calibration data). Others are semi-static (like kernel). Finally some + partitions contain fully changeable content (like rootfs). + + This binding describes partitioning method and defines offset of ASCII + based partitions table. That offset is picked at manufacturing process + and doesn't change. + +maintainers: + - Rafał Miłecki + +properties: + compatible: + const: tplink,safeloader-partitions + + partitions-table-offset: + description: Flash offset of partitions table + $ref: /schemas/types.yaml#/definitions/uint32 + +patternProperties: + "^partition-.*$": + $ref: partition.yaml# + +required: + - partitions-table-offset + +additionalProperties: false + +examples: + - | + partitions { + compatible = "tplink,safeloader-partitions"; + partitions-table-offset = <0x100000>; + + partition-file-system { + linux,rootfs; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/renesas-nandc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/renesas-nandc.yaml index 36657c82b9..cc6b8274e6 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/renesas-nandc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/renesas-nandc.yaml @@ -1,66 +1,66 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/mtd/renesas-nandc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Renesas R-Car Gen3 & RZ/N1x NAND flash controller - -maintainers: - - Miquel Raynal - -allOf: - - $ref: nand-controller.yaml - -properties: - compatible: - oneOf: - - items: - - enum: - - renesas,r9a06g032-nandc - - const: renesas,rzn1-nandc - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - items: - - description: APB host controller clock - - description: External NAND bus clock - - clock-names: - items: - - const: hclk - - const: eclk - - power-domains: - maxItems: 1 - -required: - - compatible - - reg - - clocks - - clock-names - - power-domains - - interrupts - -unevaluatedProperties: false - -examples: - - | - #include - #include - - nand-controller@40102000 { - compatible = "renesas,r9a06g032-nandc", "renesas,rzn1-nandc"; - reg = <0x40102000 0x2000>; - interrupts = ; - clocks = <&sysctrl R9A06G032_HCLK_NAND>, <&sysctrl R9A06G032_CLK_NAND>; - clock-names = "hclk", "eclk"; - power-domains = <&sysctrl>; - #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/mtd/renesas-nandc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Renesas R-Car Gen3 & RZ/N1x NAND flash controller + +maintainers: + - Miquel Raynal + +allOf: + - $ref: nand-controller.yaml + +properties: + compatible: + oneOf: + - items: + - enum: + - renesas,r9a06g032-nandc + - const: renesas,rzn1-nandc + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + items: + - description: APB host controller clock + - description: External NAND bus clock + + clock-names: + items: + - const: hclk + - const: eclk + + power-domains: + maxItems: 1 + +required: + - compatible + - reg + - clocks + - clock-names + - power-domains + - interrupts + +unevaluatedProperties: false + +examples: + - | + #include + #include + + nand-controller@40102000 { + compatible = "renesas,r9a06g032-nandc", "renesas,rzn1-nandc"; + reg = <0x40102000 0x2000>; + interrupts = ; + clocks = <&sysctrl R9A06G032_HCLK_NAND>, <&sysctrl R9A06G032_CLK_NAND>; + clock-names = "hclk", "eclk"; + power-domains = <&sysctrl>; + #address-cells = <1>; + #size-cells = <0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/ti,am654-hbmc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/ti,am654-hbmc.yaml index 597675b5be..df4fdc0245 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/ti,am654-hbmc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/ti,am654-hbmc.yaml @@ -1,71 +1,71 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/mtd/ti,am654-hbmc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: HyperBus Memory Controller (HBMC) on TI's K3 family of SoCs - -maintainers: - - Vignesh Raghavendra - -properties: - compatible: - const: ti,am654-hbmc - - reg: - maxItems: 2 - - power-domains: true - '#address-cells': true - '#size-cells': true - ranges: true - - mux-controls: - description: MMIO mux controller node to select b/w OSPI and HBMC. - - clocks: - maxItems: 1 - -patternProperties: - "^flash@[0-1],[0-9a-f]+$": - type: object - $ref: mtd-physmap.yaml - unevaluatedProperties: false - -required: - - compatible - - reg - - ranges - - clocks - - '#address-cells' - - '#size-cells' - -additionalProperties: false - -examples: - - | - bus { - #address-cells = <2>; - #size-cells = <2>; - - hbmc: memory-controller@47034000 { - compatible = "ti,am654-hbmc"; - reg = <0x0 0x47034000 0x0 0x100>, - <0x5 0x00000000 0x1 0x0000000>; - ranges = <0x0 0x0 0x5 0x00000000 0x4000000>, /* CS0 - 64MB */ - <0x1 0x0 0x5 0x04000000 0x4000000>; /* CS1 - 64MB */ - clocks = <&k3_clks 102 0>; - #address-cells = <2>; - #size-cells = <1>; - power-domains = <&k3_pds 55>; - mux-controls = <&hbmc_mux 0>; - - flash@0,0 { - compatible = "cypress,hyperflash", "cfi-flash"; - reg = <0x0 0x0 0x4000000>; - #address-cells = <1>; - #size-cells = <1>; - }; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mtd/ti,am654-hbmc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: HyperBus Memory Controller (HBMC) on TI's K3 family of SoCs + +maintainers: + - Vignesh Raghavendra + +properties: + compatible: + const: ti,am654-hbmc + + reg: + maxItems: 2 + + power-domains: true + '#address-cells': true + '#size-cells': true + ranges: true + + mux-controls: + description: MMIO mux controller node to select b/w OSPI and HBMC. + + clocks: + maxItems: 1 + +patternProperties: + "^flash@[0-1],[0-9a-f]+$": + type: object + $ref: mtd-physmap.yaml + unevaluatedProperties: false + +required: + - compatible + - reg + - ranges + - clocks + - '#address-cells' + - '#size-cells' + +additionalProperties: false + +examples: + - | + bus { + #address-cells = <2>; + #size-cells = <2>; + + hbmc: memory-controller@47034000 { + compatible = "ti,am654-hbmc"; + reg = <0x0 0x47034000 0x0 0x100>, + <0x5 0x00000000 0x1 0x0000000>; + ranges = <0x0 0x0 0x5 0x00000000 0x4000000>, /* CS0 - 64MB */ + <0x1 0x0 0x5 0x04000000 0x4000000>; /* CS1 - 64MB */ + clocks = <&k3_clks 102 0>; + #address-cells = <2>; + #size-cells = <1>; + power-domains = <&k3_pds 55>; + mux-controls = <&hbmc_mux 0>; + + flash@0,0 { + compatible = "cypress,hyperflash", "cfi-flash"; + reg = <0x0 0x0 0x4000000>; + #address-cells = <1>; + #size-cells = <1>; + }; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/asix,ax88178.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/asix,ax88178.yaml index eceab05404..768504ccbf 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/asix,ax88178.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/asix,ax88178.yaml @@ -1,70 +1,70 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/net/asix,ax88178.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: ASIX AX88172/AX88772 USB Ethernet Controllers - -maintainers: - - Oleksij Rempel - -description: | - Device tree properties for hard wired USB Ethernet devices. - -allOf: - - $ref: ethernet-controller.yaml# - -properties: - compatible: - items: - - enum: - - usbb95,1720 # ASIX AX88172 - - usbb95,172a # ASIX AX88172A - - usbb95,1780 # ASIX AX88178 - - usbb95,7720 # ASIX AX88772 - - usbb95,772a # ASIX AX88772A - - usbb95,772b # ASIX AX88772B - - usbb95,7e2b # ASIX AX88772B - - reg: - maxItems: 1 - - local-mac-address: true - mac-address: true - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - usb { - #address-cells = <1>; - #size-cells = <0>; - - ethernet@1 { - compatible = "usbb95,7e2b"; - reg = <1>; - local-mac-address = [00 00 00 00 00 00]; - }; - }; - - | - usb { - #address-cells = <1>; - #size-cells = <0>; - - usb1@1 { - compatible = "usb1234,5678"; - reg = <1>; - #address-cells = <1>; - #size-cells = <0>; - - ethernet@1 { - compatible = "usbb95,772b"; - reg = <1>; - }; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/asix,ax88178.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ASIX AX88172/AX88772 USB Ethernet Controllers + +maintainers: + - Oleksij Rempel + +description: | + Device tree properties for hard wired USB Ethernet devices. + +allOf: + - $ref: ethernet-controller.yaml# + +properties: + compatible: + items: + - enum: + - usbb95,1720 # ASIX AX88172 + - usbb95,172a # ASIX AX88172A + - usbb95,1780 # ASIX AX88178 + - usbb95,7720 # ASIX AX88772 + - usbb95,772a # ASIX AX88772A + - usbb95,772b # ASIX AX88772B + - usbb95,7e2b # ASIX AX88772B + + reg: + maxItems: 1 + + local-mac-address: true + mac-address: true + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + usb { + #address-cells = <1>; + #size-cells = <0>; + + ethernet@1 { + compatible = "usbb95,7e2b"; + reg = <1>; + local-mac-address = [00 00 00 00 00 00]; + }; + }; + - | + usb { + #address-cells = <1>; + #size-cells = <0>; + + usb1@1 { + compatible = "usb1234,5678"; + reg = <1>; + #address-cells = <1>; + #size-cells = <0>; + + ethernet@1 { + compatible = "usbb95,772b"; + reg = <1>; + }; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/asix,ax88796c.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/asix,ax88796c.yaml index e47df3bbcd..6b849a4349 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/asix,ax88796c.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/asix,ax88796c.yaml @@ -1,74 +1,74 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/net/asix,ax88796c.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: ASIX AX88796C SPI Ethernet Adapter - -maintainers: - - Łukasz Stelmach - -description: | - ASIX AX88796C is an Ethernet controller with a built in PHY. This - describes SPI mode of the chip. - - The node for this driver must be a child node of an SPI controller, - hence all mandatory properties described in - ../spi/spi-controller.yaml must be specified. - -allOf: - - $ref: ethernet-controller.yaml# - - $ref: /schemas/spi/spi-peripheral-props.yaml - -properties: - compatible: - const: asix,ax88796c - - reg: - maxItems: 1 - - spi-max-frequency: - maximum: 40000000 - - interrupts: - maxItems: 1 - - reset-gpios: - description: - A GPIO line handling reset of the chip. As the line is active low, - it should be marked GPIO_ACTIVE_LOW. - maxItems: 1 - - controller-data: true - local-mac-address: true - mac-address: true - -required: - - compatible - - reg - - spi-max-frequency - - interrupts - - reset-gpios - -additionalProperties: false - -examples: - # Artik5 eval board - - | - #include - #include - spi { - #address-cells = <1>; - #size-cells = <0>; - - ethernet@0 { - compatible = "asix,ax88796c"; - reg = <0x0>; - local-mac-address = [00 00 00 00 00 00]; /* Filled in by a bootloader */ - interrupt-parent = <&gpx2>; - interrupts = <0 IRQ_TYPE_LEVEL_LOW>; - spi-max-frequency = <40000000>; - reset-gpios = <&gpe0 2 GPIO_ACTIVE_LOW>; - }; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/asix,ax88796c.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ASIX AX88796C SPI Ethernet Adapter + +maintainers: + - Łukasz Stelmach + +description: | + ASIX AX88796C is an Ethernet controller with a built in PHY. This + describes SPI mode of the chip. + + The node for this driver must be a child node of an SPI controller, + hence all mandatory properties described in + ../spi/spi-controller.yaml must be specified. + +allOf: + - $ref: ethernet-controller.yaml# + - $ref: /schemas/spi/spi-peripheral-props.yaml + +properties: + compatible: + const: asix,ax88796c + + reg: + maxItems: 1 + + spi-max-frequency: + maximum: 40000000 + + interrupts: + maxItems: 1 + + reset-gpios: + description: + A GPIO line handling reset of the chip. As the line is active low, + it should be marked GPIO_ACTIVE_LOW. + maxItems: 1 + + controller-data: true + local-mac-address: true + mac-address: true + +required: + - compatible + - reg + - spi-max-frequency + - interrupts + - reset-gpios + +additionalProperties: false + +examples: + # Artik5 eval board + - | + #include + #include + spi { + #address-cells = <1>; + #size-cells = <0>; + + ethernet@0 { + compatible = "asix,ax88796c"; + reg = <0x0>; + local-mac-address = [00 00 00 00 00 00]; /* Filled in by a bootloader */ + interrupt-parent = <&gpx2>; + interrupts = <0 IRQ_TYPE_LEVEL_LOW>; + spi-max-frequency = <40000000>; + reset-gpios = <&gpe0 2 GPIO_ACTIVE_LOW>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/bluetooth/amlogic,w155s2-bt.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/bluetooth/amlogic,w155s2-bt.yaml index 386181fa04..6fd7557039 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/bluetooth/amlogic,w155s2-bt.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/bluetooth/amlogic,w155s2-bt.yaml @@ -1,63 +1,63 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -# Copyright (C) 2024 Amlogic, Inc. All rights reserved -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/net/bluetooth/amlogic,w155s2-bt.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Amlogic Bluetooth chips - -description: - The W155S2 is an Amlogic Bluetooth and Wi-Fi combo chip. It works on - the standard H4 protocol via a 4-wire UART interface, with baud rates - up to 4 Mbps. - -maintainers: - - Yang Li - -properties: - compatible: - oneOf: - - items: - - enum: - - amlogic,w265s1-bt - - amlogic,w265p1-bt - - const: amlogic,w155s2-bt - - enum: - - amlogic,w155s2-bt - - amlogic,w265s2-bt - - clocks: - maxItems: 1 - description: clock provided to the controller (32.768KHz) - - enable-gpios: - maxItems: 1 - - vddio-supply: - description: VDD_IO supply regulator handle - - firmware-name: - maxItems: 1 - description: specify the path of firmware bin to load - -required: - - compatible - - clocks - - enable-gpios - - vddio-supply - - firmware-name - -additionalProperties: false - -examples: - - | - #include - bluetooth { - compatible = "amlogic,w155s2-bt"; - clocks = <&extclk>; - enable-gpios = <&gpio 17 GPIO_ACTIVE_HIGH>; - vddio-supply = <&wcn_3v3>; - firmware-name = "amlogic/aml_w155s2_bt_uart.bin"; - }; - +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +# Copyright (C) 2024 Amlogic, Inc. All rights reserved +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/bluetooth/amlogic,w155s2-bt.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Amlogic Bluetooth chips + +description: + The W155S2 is an Amlogic Bluetooth and Wi-Fi combo chip. It works on + the standard H4 protocol via a 4-wire UART interface, with baud rates + up to 4 Mbps. + +maintainers: + - Yang Li + +properties: + compatible: + oneOf: + - items: + - enum: + - amlogic,w265s1-bt + - amlogic,w265p1-bt + - const: amlogic,w155s2-bt + - enum: + - amlogic,w155s2-bt + - amlogic,w265s2-bt + + clocks: + maxItems: 1 + description: clock provided to the controller (32.768KHz) + + enable-gpios: + maxItems: 1 + + vddio-supply: + description: VDD_IO supply regulator handle + + firmware-name: + maxItems: 1 + description: specify the path of firmware bin to load + +required: + - compatible + - clocks + - enable-gpios + - vddio-supply + - firmware-name + +additionalProperties: false + +examples: + - | + #include + bluetooth { + compatible = "amlogic,w155s2-bt"; + clocks = <&extclk>; + enable-gpios = <&gpio 17 GPIO_ACTIVE_HIGH>; + vddio-supply = <&wcn_3v3>; + firmware-name = "amlogic/aml_w155s2_bt_uart.bin"; + }; + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/bluetooth/nokia,h4p-bluetooth.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/bluetooth/nokia,h4p-bluetooth.txt index c39e4d7382..42be7dc9a7 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/bluetooth/nokia,h4p-bluetooth.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/bluetooth/nokia,h4p-bluetooth.txt @@ -1,51 +1,51 @@ -Nokia Bluetooth Chips ---------------------- - -Nokia phones often come with UART connected bluetooth chips from different -vendors and modified device API. Those devices speak a protocol named H4+ -(also known as h4p) by Nokia, which is similar to the H4 protocol from the -Bluetooth standard. In addition to the H4 protocol it specifies two more -UART status lines for wakeup of UART transceivers to improve power management -and a few new packet types used to negotiate uart speed. - -Required properties: - - - compatible: should contain "nokia,h4p-bluetooth" as well as one of the following: - * "brcm,bcm2048-nokia" - * "ti,wl1271-bluetooth-nokia" - - reset-gpios: GPIO specifier, used to reset the BT module (active low) - - bluetooth-wakeup-gpios: GPIO specifier, used to wakeup the BT module (active high) - - host-wakeup-gpios: GPIO specifier, used to wakeup the host processor (active high) - - clock-names: should be "sysclk" - - clocks: should contain a clock specifier for every name in clock-names - -Optional properties: - - - None - -Example: - -/ { - /* controlled (enabled/disabled) directly by BT module */ - bluetooth_clk: vctcxo { - compatible = "fixed-clock"; - #clock-cells = <0>; - clock-frequency = <38400000>; - }; -}; - -&uart2 { - pinctrl-names = "default"; - pinctrl-0 = <&uart2_pins>; - - bluetooth { - compatible = "ti,wl1271-bluetooth-nokia", "nokia,h4p-bluetooth"; - - reset-gpios = <&gpio1 26 GPIO_ACTIVE_LOW>; /* gpio26 */ - host-wakeup-gpios = <&gpio4 5 GPIO_ACTIVE_HIGH>; /* gpio101 */ - bluetooth-wakeup-gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>; /* gpio37 */ - - clocks = <&bluetooth_clk>; - clock-names = "sysclk"; - }; -}; +Nokia Bluetooth Chips +--------------------- + +Nokia phones often come with UART connected bluetooth chips from different +vendors and modified device API. Those devices speak a protocol named H4+ +(also known as h4p) by Nokia, which is similar to the H4 protocol from the +Bluetooth standard. In addition to the H4 protocol it specifies two more +UART status lines for wakeup of UART transceivers to improve power management +and a few new packet types used to negotiate uart speed. + +Required properties: + + - compatible: should contain "nokia,h4p-bluetooth" as well as one of the following: + * "brcm,bcm2048-nokia" + * "ti,wl1271-bluetooth-nokia" + - reset-gpios: GPIO specifier, used to reset the BT module (active low) + - bluetooth-wakeup-gpios: GPIO specifier, used to wakeup the BT module (active high) + - host-wakeup-gpios: GPIO specifier, used to wakeup the host processor (active high) + - clock-names: should be "sysclk" + - clocks: should contain a clock specifier for every name in clock-names + +Optional properties: + + - None + +Example: + +/ { + /* controlled (enabled/disabled) directly by BT module */ + bluetooth_clk: vctcxo { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <38400000>; + }; +}; + +&uart2 { + pinctrl-names = "default"; + pinctrl-0 = <&uart2_pins>; + + bluetooth { + compatible = "ti,wl1271-bluetooth-nokia", "nokia,h4p-bluetooth"; + + reset-gpios = <&gpio1 26 GPIO_ACTIVE_LOW>; /* gpio26 */ + host-wakeup-gpios = <&gpio4 5 GPIO_ACTIVE_HIGH>; /* gpio101 */ + bluetooth-wakeup-gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>; /* gpio37 */ + + clocks = <&bluetooth_clk>; + clock-names = "sysclk"; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/bluetooth/realtek,bluetooth.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/bluetooth/realtek,bluetooth.yaml index a781ff14f5..7d567122ba 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/bluetooth/realtek,bluetooth.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/bluetooth/realtek,bluetooth.yaml @@ -1,68 +1,68 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/net/bluetooth/realtek,bluetooth.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: RTL8723BS/RTL8723CS/RTL8821CS/RTL8822CS Bluetooth - -maintainers: - - Vasily Khoruzhick - - Alistair Francis - -description: - RTL8723BS/RTL8723CS/RTL8821CS/RTL8822CS is a WiFi + BT chip. WiFi part - is connected over SDIO, while BT is connected over serial. It speaks - H5 protocol with few extra commands to upload firmware and change - module speed. - -properties: - compatible: - oneOf: - - enum: - - realtek,rtl8723bs-bt - - realtek,rtl8723cs-bt - - realtek,rtl8723ds-bt - - realtek,rtl8822cs-bt - - items: - - enum: - - realtek,rtl8821cs-bt - - const: realtek,rtl8723bs-bt - - device-wake-gpios: - maxItems: 1 - description: GPIO specifier, used to wakeup the BT module - - enable-gpios: - maxItems: 1 - description: GPIO specifier, used to enable the BT module - - host-wake-gpios: - maxItems: 1 - description: GPIO specifier, used to wakeup the host processor - - max-speed: true - -required: - - compatible - -allOf: - - $ref: /schemas/serial/serial-peripheral-props.yaml# - -additionalProperties: false - -examples: - - | - #include - - uart1 { - pinctrl-names = "default"; - pinctrl-0 = <&uart1_pins>, <&uart1_rts_cts_pins>; - uart-has-rtscts; - - bluetooth { - compatible = "realtek,rtl8723bs-bt"; - device-wake-gpios = <&r_pio 0 5 GPIO_ACTIVE_HIGH>; /* PL5 */ - host-wake-gpios = <&r_pio 0 6 GPIO_ACTIVE_HIGH>; /* PL6 */ - }; - }; +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/bluetooth/realtek,bluetooth.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: RTL8723BS/RTL8723CS/RTL8821CS/RTL8822CS Bluetooth + +maintainers: + - Vasily Khoruzhick + - Alistair Francis + +description: + RTL8723BS/RTL8723CS/RTL8821CS/RTL8822CS is a WiFi + BT chip. WiFi part + is connected over SDIO, while BT is connected over serial. It speaks + H5 protocol with few extra commands to upload firmware and change + module speed. + +properties: + compatible: + oneOf: + - enum: + - realtek,rtl8723bs-bt + - realtek,rtl8723cs-bt + - realtek,rtl8723ds-bt + - realtek,rtl8822cs-bt + - items: + - enum: + - realtek,rtl8821cs-bt + - const: realtek,rtl8723bs-bt + + device-wake-gpios: + maxItems: 1 + description: GPIO specifier, used to wakeup the BT module + + enable-gpios: + maxItems: 1 + description: GPIO specifier, used to enable the BT module + + host-wake-gpios: + maxItems: 1 + description: GPIO specifier, used to wakeup the host processor + + max-speed: true + +required: + - compatible + +allOf: + - $ref: /schemas/serial/serial-peripheral-props.yaml# + +additionalProperties: false + +examples: + - | + #include + + uart1 { + pinctrl-names = "default"; + pinctrl-0 = <&uart1_pins>, <&uart1_rts_cts_pins>; + uart-has-rtscts; + + bluetooth { + compatible = "realtek,rtl8723bs-bt"; + device-wake-gpios = <&r_pio 0 5 GPIO_ACTIVE_HIGH>; /* PL5 */ + host-wake-gpios = <&r_pio 0 6 GPIO_ACTIVE_HIGH>; /* PL6 */ + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/brcm,amac.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/brcm,amac.yaml index 9ecd2a68a4..210fb29c4e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/brcm,amac.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/brcm,amac.yaml @@ -1,88 +1,88 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/net/brcm,amac.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Broadcom AMAC Ethernet Controller - -maintainers: - - Florian Fainelli - -allOf: - - $ref: ethernet-controller.yaml# - - if: - properties: - compatible: - contains: - enum: - - brcm,amac - then: - properties: - reg: - maxItems: 2 - reg-names: - maxItems: 2 - - - if: - properties: - compatible: - contains: - enum: - - brcm,nsp-amac - then: - properties: - reg: - minItems: 2 - maxItems: 2 - reg-names: - minItems: 2 - maxItems: 2 - - - if: - properties: - compatible: - contains: - enum: - - brcm,ns2-amac - then: - properties: - reg: - minItems: 3 - reg-names: - minItems: 3 - -properties: - compatible: - enum: - - brcm,amac - - brcm,nsp-amac - - brcm,ns2-amac - - interrupts: - maxItems: 1 - - reg: - minItems: 1 - maxItems: 3 - - reg-names: - minItems: 1 - items: - - const: amac_base - - const: idm_base - - const: nicpm_base - -unevaluatedProperties: false - -examples: - - | - #include - - amac0: ethernet@18022000 { - compatible = "brcm,nsp-amac"; - reg = <0x18022000 0x1000>, - <0x18110000 0x1000>; - reg-names = "amac_base", "idm_base"; - interrupts = ; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/brcm,amac.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom AMAC Ethernet Controller + +maintainers: + - Florian Fainelli + +allOf: + - $ref: ethernet-controller.yaml# + - if: + properties: + compatible: + contains: + enum: + - brcm,amac + then: + properties: + reg: + maxItems: 2 + reg-names: + maxItems: 2 + + - if: + properties: + compatible: + contains: + enum: + - brcm,nsp-amac + then: + properties: + reg: + minItems: 2 + maxItems: 2 + reg-names: + minItems: 2 + maxItems: 2 + + - if: + properties: + compatible: + contains: + enum: + - brcm,ns2-amac + then: + properties: + reg: + minItems: 3 + reg-names: + minItems: 3 + +properties: + compatible: + enum: + - brcm,amac + - brcm,nsp-amac + - brcm,ns2-amac + + interrupts: + maxItems: 1 + + reg: + minItems: 1 + maxItems: 3 + + reg-names: + minItems: 1 + items: + - const: amac_base + - const: idm_base + - const: nicpm_base + +unevaluatedProperties: false + +examples: + - | + #include + + amac0: ethernet@18022000 { + compatible = "brcm,nsp-amac"; + reg = <0x18022000 0x1000>, + <0x18110000 0x1000>; + reg-names = "amac_base", "idm_base"; + interrupts = ; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/brcm,mdio-mux-iproc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/brcm,mdio-mux-iproc.yaml index aba3880895..af96b4fd89 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/brcm,mdio-mux-iproc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/brcm,mdio-mux-iproc.yaml @@ -1,80 +1,80 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/net/brcm,mdio-mux-iproc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: MDIO bus multiplexer found in Broadcom iProc based SoCs. - -maintainers: - - Florian Fainelli - -description: - This MDIO bus multiplexer defines buses that could be internal as well as - external to SoCs and could accept MDIO transaction compatible to C-22 or - C-45 Clause. When child bus is selected, one needs to select these two - properties as well to generate desired MDIO transaction on appropriate bus. - -allOf: - - $ref: /schemas/net/mdio-mux.yaml# - -properties: - compatible: - const: brcm,mdio-mux-iproc - - reg: - maxItems: 1 - - clocks: - maxItems: 1 - description: core clock driving the MDIO block - - -required: - - compatible - - reg - -unevaluatedProperties: false - -examples: - - | - mdio_mux_iproc: mdio-mux@66020000 { - compatible = "brcm,mdio-mux-iproc"; - reg = <0x66020000 0x250>; - #address-cells = <1>; - #size-cells = <0>; - - mdio@0 { - reg = <0x0>; - #address-cells = <1>; - #size-cells = <0>; - - pci_phy0: pci-phy@0 { - compatible = "brcm,ns2-pcie-phy"; - reg = <0x0>; - #phy-cells = <0>; - }; - }; - - mdio@7 { - reg = <0x7>; - #address-cells = <1>; - #size-cells = <0>; - - pci_phy1: pci-phy@0 { - compatible = "brcm,ns2-pcie-phy"; - reg = <0x0>; - #phy-cells = <0>; - }; - }; - - mdio@10 { - reg = <0x10>; - #address-cells = <1>; - #size-cells = <0>; - - gphy0: eth-phy@10 { - reg = <0x10>; - }; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/brcm,mdio-mux-iproc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: MDIO bus multiplexer found in Broadcom iProc based SoCs. + +maintainers: + - Florian Fainelli + +description: + This MDIO bus multiplexer defines buses that could be internal as well as + external to SoCs and could accept MDIO transaction compatible to C-22 or + C-45 Clause. When child bus is selected, one needs to select these two + properties as well to generate desired MDIO transaction on appropriate bus. + +allOf: + - $ref: /schemas/net/mdio-mux.yaml# + +properties: + compatible: + const: brcm,mdio-mux-iproc + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + description: core clock driving the MDIO block + + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + mdio_mux_iproc: mdio-mux@66020000 { + compatible = "brcm,mdio-mux-iproc"; + reg = <0x66020000 0x250>; + #address-cells = <1>; + #size-cells = <0>; + + mdio@0 { + reg = <0x0>; + #address-cells = <1>; + #size-cells = <0>; + + pci_phy0: pci-phy@0 { + compatible = "brcm,ns2-pcie-phy"; + reg = <0x0>; + #phy-cells = <0>; + }; + }; + + mdio@7 { + reg = <0x7>; + #address-cells = <1>; + #size-cells = <0>; + + pci_phy1: pci-phy@0 { + compatible = "brcm,ns2-pcie-phy"; + reg = <0x0>; + #phy-cells = <0>; + }; + }; + + mdio@10 { + reg = <0x10>; + #address-cells = <1>; + #size-cells = <0>; + + gphy0: eth-phy@10 { + reg = <0x10>; + }; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/btusb.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/btusb.txt index cbf373eb57..f546b1f7dd 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/btusb.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/btusb.txt @@ -1,44 +1,44 @@ -Generic Bluetooth controller over USB (btusb driver) ---------------------------------------------------- - -Required properties: - - - compatible : should comply with the format "usbVID,PID" specified in - Documentation/devicetree/bindings/usb/usb-device.yaml - At the time of writing, the only OF supported devices - (more may be added later) are: - - "usb1286,204e" (Marvell 8997) - "usbcf3,e300" (Qualcomm QCA6174A) - "usb4ca,301a" (Qualcomm QCA6174A (Lite-On)) - - -Also, vendors that use btusb may have device additional properties, e.g: -Documentation/devicetree/bindings/net/marvell-bt-8xxx.txt - -Optional properties: - - - interrupt-names: (see below) - - interrupts : The interrupt specified by the name "wakeup" is the interrupt - that shall be used for out-of-band wake-on-bt. Driver will - request this interrupt for wakeup. During system suspend, the - irq will be enabled so that the bluetooth chip can wakeup host - platform out of band. During system resume, the irq will be - disabled to make sure unnecessary interrupt is not received. - -Example: - -Following example uses irq pin number 3 of gpio0 for out of band wake-on-bt: - -&usb_host1_ehci { - #address-cells = <1>; - #size-cells = <0>; - - mvl_bt1: bt@1 { - compatible = "usb1286,204e"; - reg = <1>; - interrupt-parent = <&gpio0>; - interrupt-names = "wakeup"; - interrupts = <3 IRQ_TYPE_LEVEL_LOW>; - }; -}; +Generic Bluetooth controller over USB (btusb driver) +--------------------------------------------------- + +Required properties: + + - compatible : should comply with the format "usbVID,PID" specified in + Documentation/devicetree/bindings/usb/usb-device.yaml + At the time of writing, the only OF supported devices + (more may be added later) are: + + "usb1286,204e" (Marvell 8997) + "usbcf3,e300" (Qualcomm QCA6174A) + "usb4ca,301a" (Qualcomm QCA6174A (Lite-On)) + + +Also, vendors that use btusb may have device additional properties, e.g: +Documentation/devicetree/bindings/net/marvell-bt-8xxx.txt + +Optional properties: + + - interrupt-names: (see below) + - interrupts : The interrupt specified by the name "wakeup" is the interrupt + that shall be used for out-of-band wake-on-bt. Driver will + request this interrupt for wakeup. During system suspend, the + irq will be enabled so that the bluetooth chip can wakeup host + platform out of band. During system resume, the irq will be + disabled to make sure unnecessary interrupt is not received. + +Example: + +Following example uses irq pin number 3 of gpio0 for out of band wake-on-bt: + +&usb_host1_ehci { + #address-cells = <1>; + #size-cells = <0>; + + mvl_bt1: bt@1 { + compatible = "usb1286,204e"; + reg = <1>; + interrupt-parent = <&gpio0>; + interrupt-names = "wakeup"; + interrupts = <3 IRQ_TYPE_LEVEL_LOW>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/can/allwinner,sun4i-a10-can.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/can/allwinner,sun4i-a10-can.yaml index b18bde3e7f..e42ea28d6a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/can/allwinner,sun4i-a10-can.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/can/allwinner,sun4i-a10-can.yaml @@ -1,80 +1,80 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/net/can/allwinner,sun4i-a10-can.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Allwinner A10 CAN Controller - -maintainers: - - Chen-Yu Tsai - - Maxime Ripard - -allOf: - - $ref: can-controller.yaml# - -properties: - compatible: - oneOf: - - items: - - const: allwinner,sun7i-a20-can - - const: allwinner,sun4i-a10-can - - const: allwinner,sun4i-a10-can - - const: allwinner,sun8i-r40-can - - const: allwinner,sun20i-d1-can - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - maxItems: 1 - - resets: - maxItems: 1 - -if: - properties: - compatible: - enum: - - allwinner,sun8i-r40-can - - allwinner,sun20i-d1-can - -then: - required: - - resets - -required: - - compatible - - reg - - interrupts - - clocks - -additionalProperties: false - -examples: - - | - #include - #include - - can0: can@1c2bc00 { - compatible = "allwinner,sun7i-a20-can", - "allwinner,sun4i-a10-can"; - reg = <0x01c2bc00 0x400>; - interrupts = ; - clocks = <&ccu CLK_APB1_CAN>; - }; - - | - #define RST_BUS_CAN 68 - #define CLK_BUS_CAN 91 - can1: can@1c2bc00 { - compatible = "allwinner,sun8i-r40-can"; - reg = <0x01c2bc00 0x400>; - interrupts = ; - clocks = <&ccu CLK_BUS_CAN>; - resets = <&ccu RST_BUS_CAN>; - }; - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/can/allwinner,sun4i-a10-can.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Allwinner A10 CAN Controller + +maintainers: + - Chen-Yu Tsai + - Maxime Ripard + +allOf: + - $ref: can-controller.yaml# + +properties: + compatible: + oneOf: + - items: + - const: allwinner,sun7i-a20-can + - const: allwinner,sun4i-a10-can + - const: allwinner,sun4i-a10-can + - const: allwinner,sun8i-r40-can + - const: allwinner,sun20i-d1-can + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + + resets: + maxItems: 1 + +if: + properties: + compatible: + enum: + - allwinner,sun8i-r40-can + - allwinner,sun20i-d1-can + +then: + required: + - resets + +required: + - compatible + - reg + - interrupts + - clocks + +additionalProperties: false + +examples: + - | + #include + #include + + can0: can@1c2bc00 { + compatible = "allwinner,sun7i-a20-can", + "allwinner,sun4i-a10-can"; + reg = <0x01c2bc00 0x400>; + interrupts = ; + clocks = <&ccu CLK_APB1_CAN>; + }; + - | + #define RST_BUS_CAN 68 + #define CLK_BUS_CAN 91 + can1: can@1c2bc00 { + compatible = "allwinner,sun8i-r40-can"; + reg = <0x01c2bc00 0x400>; + interrupts = ; + clocks = <&ccu CLK_BUS_CAN>; + resets = <&ccu RST_BUS_CAN>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/can/cc770.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/can/cc770.txt index 90534f2e70..042200cf44 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/can/cc770.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/can/cc770.txt @@ -1,53 +1,53 @@ -Memory mapped Bosch CC770 and Intel AN82527 CAN controller - -Note: The CC770 is a CAN controller from Bosch, which is 100% -compatible with the old AN82527 from Intel, but with "bugs" being fixed. - -Required properties: - -- compatible : should be "bosch,cc770" for the CC770 and "intc,82527" - for the AN82527. - -- reg : should specify the chip select, address offset and size required - to map the registers of the controller. The size is usually 0x80. - -- interrupts : property with a value describing the interrupt source - (number and sensitivity) required for the controller. - -Optional properties: - -- bosch,external-clock-frequency : frequency of the external oscillator - clock in Hz. Note that the internal clock frequency used by the - controller is half of that value. If not specified, a default - value of 16000000 (16 MHz) is used. - -- bosch,clock-out-frequency : slock frequency in Hz on the CLKOUT pin. - If not specified or if the specified value is 0, the CLKOUT pin - will be disabled. - -- bosch,slew-rate : slew rate of the CLKOUT signal. If not specified, - a reasonable value will be calculated. - -- bosch,disconnect-rx0-input : see data sheet. - -- bosch,disconnect-rx1-input : see data sheet. - -- bosch,disconnect-tx1-output : see data sheet. - -- bosch,polarity-dominant : see data sheet. - -- bosch,divide-memory-clock : see data sheet. - -- bosch,iso-low-speed-mux : see data sheet. - -For further information, please have a look to the CC770 or AN82527. - -Examples: - -can@3,100 { - compatible = "bosch,cc770"; - reg = <3 0x100 0x80>; - interrupts = <2 0>; - interrupt-parent = <&mpic>; - bosch,external-clock-frequency = <16000000>; -}; +Memory mapped Bosch CC770 and Intel AN82527 CAN controller + +Note: The CC770 is a CAN controller from Bosch, which is 100% +compatible with the old AN82527 from Intel, but with "bugs" being fixed. + +Required properties: + +- compatible : should be "bosch,cc770" for the CC770 and "intc,82527" + for the AN82527. + +- reg : should specify the chip select, address offset and size required + to map the registers of the controller. The size is usually 0x80. + +- interrupts : property with a value describing the interrupt source + (number and sensitivity) required for the controller. + +Optional properties: + +- bosch,external-clock-frequency : frequency of the external oscillator + clock in Hz. Note that the internal clock frequency used by the + controller is half of that value. If not specified, a default + value of 16000000 (16 MHz) is used. + +- bosch,clock-out-frequency : slock frequency in Hz on the CLKOUT pin. + If not specified or if the specified value is 0, the CLKOUT pin + will be disabled. + +- bosch,slew-rate : slew rate of the CLKOUT signal. If not specified, + a reasonable value will be calculated. + +- bosch,disconnect-rx0-input : see data sheet. + +- bosch,disconnect-rx1-input : see data sheet. + +- bosch,disconnect-tx1-output : see data sheet. + +- bosch,polarity-dominant : see data sheet. + +- bosch,divide-memory-clock : see data sheet. + +- bosch,iso-low-speed-mux : see data sheet. + +For further information, please have a look to the CC770 or AN82527. + +Examples: + +can@3,100 { + compatible = "bosch,cc770"; + reg = <3 0x100 0x80>; + interrupts = <2 0>; + interrupt-parent = <&mpic>; + bosch,external-clock-frequency = <16000000>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/can/ctu,ctucanfd.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/can/ctu,ctucanfd.yaml index 6514f5c185..a009a44029 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/can/ctu,ctucanfd.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/can/ctu,ctucanfd.yaml @@ -1,66 +1,66 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/net/can/ctu,ctucanfd.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: CTU CAN FD Open-source IP Core - -description: | - Open-source CAN FD IP core developed at the Czech Technical University in Prague - - The core sources and documentation on project page - [1] sources : https://gitlab.fel.cvut.cz/canbus/ctucanfd_ip_core - [2] datasheet : https://canbus.pages.fel.cvut.cz/ctucanfd_ip_core/doc/Datasheet.pdf - - Integration in Xilinx Zynq SoC based system together with - OpenCores SJA1000 compatible controllers - [3] project : https://gitlab.fel.cvut.cz/canbus/zynq/zynq-can-sja1000-top - Martin Jerabek dimploma thesis with integration and testing - framework description - [4] PDF : https://dspace.cvut.cz/bitstream/handle/10467/80366/F3-DP-2019-Jerabek-Martin-Jerabek-thesis-2019-canfd.pdf - -maintainers: - - Pavel Pisa - - Ondrej Ille - - Martin Jerabek - -allOf: - - $ref: can-controller.yaml# - -properties: - compatible: - oneOf: - - items: - - const: ctu,ctucanfd-2 - - const: ctu,ctucanfd - - const: ctu,ctucanfd - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - description: | - phandle of reference clock (100 MHz is appropriate - for FPGA implementation on Zynq-7000 system). - maxItems: 1 - -required: - - compatible - - reg - - interrupts - - clocks - -additionalProperties: false - -examples: - - | - ctu_can_fd_0: can@43c30000 { - compatible = "ctu,ctucanfd"; - interrupts = <0 30 4>; - clocks = <&clkc 15>; - reg = <0x43c30000 0x10000>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/can/ctu,ctucanfd.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: CTU CAN FD Open-source IP Core + +description: | + Open-source CAN FD IP core developed at the Czech Technical University in Prague + + The core sources and documentation on project page + [1] sources : https://gitlab.fel.cvut.cz/canbus/ctucanfd_ip_core + [2] datasheet : https://canbus.pages.fel.cvut.cz/ctucanfd_ip_core/doc/Datasheet.pdf + + Integration in Xilinx Zynq SoC based system together with + OpenCores SJA1000 compatible controllers + [3] project : https://gitlab.fel.cvut.cz/canbus/zynq/zynq-can-sja1000-top + Martin Jerabek dimploma thesis with integration and testing + framework description + [4] PDF : https://dspace.cvut.cz/bitstream/handle/10467/80366/F3-DP-2019-Jerabek-Martin-Jerabek-thesis-2019-canfd.pdf + +maintainers: + - Pavel Pisa + - Ondrej Ille + - Martin Jerabek + +allOf: + - $ref: can-controller.yaml# + +properties: + compatible: + oneOf: + - items: + - const: ctu,ctucanfd-2 + - const: ctu,ctucanfd + - const: ctu,ctucanfd + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + description: | + phandle of reference clock (100 MHz is appropriate + for FPGA implementation on Zynq-7000 system). + maxItems: 1 + +required: + - compatible + - reg + - interrupts + - clocks + +additionalProperties: false + +examples: + - | + ctu_can_fd_0: can@43c30000 { + compatible = "ctu,ctucanfd"; + interrupts = <0 30 4>; + clocks = <&clkc 15>; + reg = <0x43c30000 0x10000>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/can/microchip,mcp2510.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/can/microchip,mcp2510.yaml index 88d9c215a1..db446dde68 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/can/microchip,mcp2510.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/can/microchip,mcp2510.yaml @@ -1,70 +1,70 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/can/microchip,mcp2510.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Microchip MCP251X stand-alone CAN controller - -maintainers: - - Marc Kleine-Budde - -properties: - compatible: - enum: - - microchip,mcp2510 - - microchip,mcp2515 - - microchip,mcp25625 - - reg: - maxItems: 1 - - clocks: - maxItems: 1 - - interrupts: - maxItems: 1 - - vdd-supply: - description: Regulator that powers the CAN controller. - - xceiver-supply: - description: Regulator that powers the CAN transceiver. - - gpio-controller: true - - "#gpio-cells": - const: 2 - -required: - - compatible - - reg - - clocks - - interrupts - -allOf: - - $ref: /schemas/spi/spi-peripheral-props.yaml# - -unevaluatedProperties: false - -examples: - - | - #include - - spi { - #address-cells = <1>; - #size-cells = <0>; - - can@1 { - compatible = "microchip,mcp2515"; - reg = <1>; - clocks = <&clk24m>; - interrupt-parent = <&gpio4>; - interrupts = <13 IRQ_TYPE_LEVEL_LOW>; - vdd-supply = <®5v0>; - xceiver-supply = <®5v0>; - gpio-controller; - #gpio-cells = <2>; - }; - }; - +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/can/microchip,mcp2510.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Microchip MCP251X stand-alone CAN controller + +maintainers: + - Marc Kleine-Budde + +properties: + compatible: + enum: + - microchip,mcp2510 + - microchip,mcp2515 + - microchip,mcp25625 + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + interrupts: + maxItems: 1 + + vdd-supply: + description: Regulator that powers the CAN controller. + + xceiver-supply: + description: Regulator that powers the CAN transceiver. + + gpio-controller: true + + "#gpio-cells": + const: 2 + +required: + - compatible + - reg + - clocks + - interrupts + +allOf: + - $ref: /schemas/spi/spi-peripheral-props.yaml# + +unevaluatedProperties: false + +examples: + - | + #include + + spi { + #address-cells = <1>; + #size-cells = <0>; + + can@1 { + compatible = "microchip,mcp2515"; + reg = <1>; + clocks = <&clk24m>; + interrupt-parent = <&gpio4>; + interrupts = <13 IRQ_TYPE_LEVEL_LOW>; + vdd-supply = <®5v0>; + xceiver-supply = <®5v0>; + gpio-controller; + #gpio-cells = <2>; + }; + }; + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/can/mpc5xxx-mscan.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/can/mpc5xxx-mscan.txt index 77c678fff4..2fa4fcd38f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/can/mpc5xxx-mscan.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/can/mpc5xxx-mscan.txt @@ -1,53 +1,53 @@ -CAN Device Tree Bindings ------------------------- - -(c) 2006-2009 Secret Lab Technologies Ltd -Grant Likely - -fsl,mpc5200-mscan nodes ------------------------ -In addition to the required compatible-, reg- and interrupt-properties, you can -also specify which clock source shall be used for the controller: - -- fsl,mscan-clock-source : a string describing the clock source. Valid values - are: "ip" for ip bus clock - "ref" for reference clock (XTAL) - "ref" is default in case this property is not - present. - -fsl,mpc5121-mscan nodes ------------------------ -In addition to the required compatible-, reg- and interrupt-properties, you can -also specify which clock source and divider shall be used for the controller: - -- fsl,mscan-clock-source : a string describing the clock source. Valid values - are: "ip" for ip bus clock - "ref" for reference clock - "sys" for system clock - If this property is not present, an optimal CAN - clock source and frequency based on the system - clock will be selected. If this is not possible, - the reference clock will be used. - -- fsl,mscan-clock-divider: for the reference and system clock, an additional - clock divider can be specified. By default, a - value of 1 is used. - -Note that the MPC5121 Rev. 1 processor is not supported. - -Examples: - can@1300 { - compatible = "fsl,mpc5121-mscan"; - interrupts = <12 0x8>; - interrupt-parent = <&ipic>; - reg = <0x1300 0x80>; - }; - - can@1380 { - compatible = "fsl,mpc5121-mscan"; - interrupts = <13 0x8>; - interrupt-parent = <&ipic>; - reg = <0x1380 0x80>; - fsl,mscan-clock-source = "ref"; - fsl,mscan-clock-divider = <3>; - }; +CAN Device Tree Bindings +------------------------ + +(c) 2006-2009 Secret Lab Technologies Ltd +Grant Likely + +fsl,mpc5200-mscan nodes +----------------------- +In addition to the required compatible-, reg- and interrupt-properties, you can +also specify which clock source shall be used for the controller: + +- fsl,mscan-clock-source : a string describing the clock source. Valid values + are: "ip" for ip bus clock + "ref" for reference clock (XTAL) + "ref" is default in case this property is not + present. + +fsl,mpc5121-mscan nodes +----------------------- +In addition to the required compatible-, reg- and interrupt-properties, you can +also specify which clock source and divider shall be used for the controller: + +- fsl,mscan-clock-source : a string describing the clock source. Valid values + are: "ip" for ip bus clock + "ref" for reference clock + "sys" for system clock + If this property is not present, an optimal CAN + clock source and frequency based on the system + clock will be selected. If this is not possible, + the reference clock will be used. + +- fsl,mscan-clock-divider: for the reference and system clock, an additional + clock divider can be specified. By default, a + value of 1 is used. + +Note that the MPC5121 Rev. 1 processor is not supported. + +Examples: + can@1300 { + compatible = "fsl,mpc5121-mscan"; + interrupts = <12 0x8>; + interrupt-parent = <&ipic>; + reg = <0x1300 0x80>; + }; + + can@1380 { + compatible = "fsl,mpc5121-mscan"; + interrupts = <13 0x8>; + interrupt-parent = <&ipic>; + reg = <0x1380 0x80>; + fsl,mscan-clock-source = "ref"; + fsl,mscan-clock-divider = <3>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/can/rockchip,rk3568v2-canfd.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/can/rockchip,rk3568v2-canfd.yaml index 225926bd9a..a077c03300 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/can/rockchip,rk3568v2-canfd.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/can/rockchip,rk3568v2-canfd.yaml @@ -1,74 +1,74 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/net/can/rockchip,rk3568v2-canfd.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: - Rockchip CAN-FD controller - -maintainers: - - Marc Kleine-Budde - -allOf: - - $ref: can-controller.yaml# - -properties: - compatible: - oneOf: - - const: rockchip,rk3568v2-canfd - - items: - - const: rockchip,rk3568v3-canfd - - const: rockchip,rk3568v2-canfd - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - maxItems: 2 - - clock-names: - items: - - const: baud - - const: pclk - - resets: - maxItems: 2 - - reset-names: - items: - - const: core - - const: apb - -required: - - compatible - - reg - - interrupts - - clocks - - resets - -additionalProperties: false - -examples: - - | - #include - #include - #include - - soc { - #address-cells = <2>; - #size-cells = <2>; - - can@fe570000 { - compatible = "rockchip,rk3568v2-canfd"; - reg = <0x0 0xfe570000 0x0 0x1000>; - interrupts = ; - clocks = <&cru CLK_CAN0>, <&cru PCLK_CAN0>; - clock-names = "baud", "pclk"; - resets = <&cru SRST_CAN0>, <&cru SRST_P_CAN0>; - reset-names = "core", "apb"; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/can/rockchip,rk3568v2-canfd.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: + Rockchip CAN-FD controller + +maintainers: + - Marc Kleine-Budde + +allOf: + - $ref: can-controller.yaml# + +properties: + compatible: + oneOf: + - const: rockchip,rk3568v2-canfd + - items: + - const: rockchip,rk3568v3-canfd + - const: rockchip,rk3568v2-canfd + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 2 + + clock-names: + items: + - const: baud + - const: pclk + + resets: + maxItems: 2 + + reset-names: + items: + - const: core + - const: apb + +required: + - compatible + - reg + - interrupts + - clocks + - resets + +additionalProperties: false + +examples: + - | + #include + #include + #include + + soc { + #address-cells = <2>; + #size-cells = <2>; + + can@fe570000 { + compatible = "rockchip,rk3568v2-canfd"; + reg = <0x0 0xfe570000 0x0 0x1000>; + interrupts = ; + clocks = <&cru CLK_CAN0>, <&cru PCLK_CAN0>; + clock-names = "baud", "pclk"; + resets = <&cru SRST_CAN0>, <&cru SRST_P_CAN0>; + reset-names = "core", "apb"; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/can/tcan4x5x.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/can/tcan4x5x.txt index eb13d4fdb9..20c0572c98 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/can/tcan4x5x.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/can/tcan4x5x.txt @@ -1,48 +1,48 @@ -Texas Instruments TCAN4x5x CAN Controller -================================================ - -This file provides device node information for the TCAN4x5x interface contains. - -Required properties: - - compatible: - "ti,tcan4552", "ti,tcan4x5x" - "ti,tcan4553", "ti,tcan4x5x" or - "ti,tcan4x5x" - - reg: 0 - - #address-cells: 1 - - #size-cells: 0 - - spi-max-frequency: Maximum frequency of the SPI bus the chip can - operate at should be less than or equal to 18 MHz. - - interrupt-parent: the phandle to the interrupt controller which provides - the interrupt. - - interrupts: interrupt specification for data-ready. - -See Documentation/devicetree/bindings/net/can/bosch,m_can.yaml for additional -required property details. - -Optional properties: - - reset-gpios: Hardwired output GPIO. If not defined then software - reset. - - device-state-gpios: Input GPIO that indicates if the device is in - a sleep state or if the device is active. Not - available with tcan4552/4553. - - device-wake-gpios: Wake up GPIO to wake up the TCAN device. Not - available with tcan4552/4553. - - wakeup-source: Leave the chip running when suspended, and configure - the RX interrupt to wake up the device. - -Example: -tcan4x5x: tcan4x5x@0 { - compatible = "ti,tcan4x5x"; - reg = <0>; - #address-cells = <1>; - #size-cells = <1>; - spi-max-frequency = <10000000>; - bosch,mram-cfg = <0x0 0 0 16 0 0 1 1>; - interrupt-parent = <&gpio1>; - interrupts = <14 IRQ_TYPE_LEVEL_LOW>; - device-state-gpios = <&gpio3 21 GPIO_ACTIVE_HIGH>; - device-wake-gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>; - reset-gpios = <&gpio1 27 GPIO_ACTIVE_HIGH>; - wakeup-source; -}; +Texas Instruments TCAN4x5x CAN Controller +================================================ + +This file provides device node information for the TCAN4x5x interface contains. + +Required properties: + - compatible: + "ti,tcan4552", "ti,tcan4x5x" + "ti,tcan4553", "ti,tcan4x5x" or + "ti,tcan4x5x" + - reg: 0 + - #address-cells: 1 + - #size-cells: 0 + - spi-max-frequency: Maximum frequency of the SPI bus the chip can + operate at should be less than or equal to 18 MHz. + - interrupt-parent: the phandle to the interrupt controller which provides + the interrupt. + - interrupts: interrupt specification for data-ready. + +See Documentation/devicetree/bindings/net/can/bosch,m_can.yaml for additional +required property details. + +Optional properties: + - reset-gpios: Hardwired output GPIO. If not defined then software + reset. + - device-state-gpios: Input GPIO that indicates if the device is in + a sleep state or if the device is active. Not + available with tcan4552/4553. + - device-wake-gpios: Wake up GPIO to wake up the TCAN device. Not + available with tcan4552/4553. + - wakeup-source: Leave the chip running when suspended, and configure + the RX interrupt to wake up the device. + +Example: +tcan4x5x: tcan4x5x@0 { + compatible = "ti,tcan4x5x"; + reg = <0>; + #address-cells = <1>; + #size-cells = <1>; + spi-max-frequency = <10000000>; + bosch,mram-cfg = <0x0 0 0 16 0 0 1 1>; + interrupt-parent = <&gpio1>; + interrupts = <14 IRQ_TYPE_LEVEL_LOW>; + device-state-gpios = <&gpio3 21 GPIO_ACTIVE_HIGH>; + device-wake-gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>; + reset-gpios = <&gpio1 27 GPIO_ACTIVE_HIGH>; + wakeup-source; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/davicom,dm9051.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/davicom,dm9051.yaml index 92d1d9e18a..52e852fef7 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/davicom,dm9051.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/davicom,dm9051.yaml @@ -1,62 +1,62 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/net/davicom,dm9051.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Davicom DM9051 SPI Ethernet Controller - -maintainers: - - Joseph CHANG - -description: | - The DM9051 is a fully integrated and cost-effective low pin count single - chip Fast Ethernet controller with a Serial Peripheral Interface (SPI). - -allOf: - - $ref: ethernet-controller.yaml# - -properties: - compatible: - const: davicom,dm9051 - - reg: - maxItems: 1 - - spi-max-frequency: - maximum: 45000000 - - interrupts: - maxItems: 1 - - local-mac-address: true - - mac-address: true - -required: - - compatible - - reg - - spi-max-frequency - - interrupts - -additionalProperties: false - -examples: - # Raspberry Pi platform - - | - /* for Raspberry Pi with pin control stuff for GPIO irq */ - #include - #include - spi { - #address-cells = <1>; - #size-cells = <0>; - - ethernet@0 { - compatible = "davicom,dm9051"; - reg = <0>; /* spi chip select */ - local-mac-address = [00 00 00 00 00 00]; - interrupt-parent = <&gpio>; - interrupts = <26 IRQ_TYPE_LEVEL_LOW>; - spi-max-frequency = <31200000>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/davicom,dm9051.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Davicom DM9051 SPI Ethernet Controller + +maintainers: + - Joseph CHANG + +description: | + The DM9051 is a fully integrated and cost-effective low pin count single + chip Fast Ethernet controller with a Serial Peripheral Interface (SPI). + +allOf: + - $ref: ethernet-controller.yaml# + +properties: + compatible: + const: davicom,dm9051 + + reg: + maxItems: 1 + + spi-max-frequency: + maximum: 45000000 + + interrupts: + maxItems: 1 + + local-mac-address: true + + mac-address: true + +required: + - compatible + - reg + - spi-max-frequency + - interrupts + +additionalProperties: false + +examples: + # Raspberry Pi platform + - | + /* for Raspberry Pi with pin control stuff for GPIO irq */ + #include + #include + spi { + #address-cells = <1>; + #size-cells = <0>; + + ethernet@0 { + compatible = "davicom,dm9051"; + reg = <0>; /* spi chip select */ + local-mac-address = [00 00 00 00 00 00]; + interrupt-parent = <&gpio>; + interrupts = <26 IRQ_TYPE_LEVEL_LOW>; + spi-max-frequency = <31200000>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/davinci_emac.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/davinci_emac.txt index 8125ad5639..5e3579e72e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/davinci_emac.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/davinci_emac.txt @@ -1,44 +1,44 @@ -* Texas Instruments Davinci EMAC - -This file provides information, what the device node -for the davinci_emac interface contains. - -Required properties: -- compatible: "ti,davinci-dm6467-emac", "ti,am3517-emac" or - "ti,dm816-emac" -- reg: Offset and length of the register set for the device -- ti,davinci-ctrl-reg-offset: offset to control register -- ti,davinci-ctrl-mod-reg-offset: offset to control module register -- ti,davinci-ctrl-ram-offset: offset to control module ram -- ti,davinci-ctrl-ram-size: size of control module ram -- interrupts: interrupt mapping for the davinci emac interrupts sources: - 4 sources: - -Optional properties: -- phy-handle: See ethernet.txt file in the same directory. - If absent, davinci_emac driver defaults to 100/FULL. -- ti,davinci-rmii-en: 1 byte, 1 means use RMII -- ti,davinci-no-bd-ram: boolean, does EMAC have BD RAM? - -The MAC address will be determined using the optional properties -defined in ethernet.txt. - -Example (enbw_cmc board): - eth0: emac@1e20000 { - compatible = "ti,davinci-dm6467-emac"; - reg = <0x220000 0x4000>; - ti,davinci-ctrl-reg-offset = <0x3000>; - ti,davinci-ctrl-mod-reg-offset = <0x2000>; - ti,davinci-ctrl-ram-offset = <0>; - ti,davinci-ctrl-ram-size = <0x2000>; - local-mac-address = [ 00 00 00 00 00 00 ]; - interrupts = <33 - 34 - 35 - 36 - >; - interrupt-parent = <&intc>; - }; +* Texas Instruments Davinci EMAC + +This file provides information, what the device node +for the davinci_emac interface contains. + +Required properties: +- compatible: "ti,davinci-dm6467-emac", "ti,am3517-emac" or + "ti,dm816-emac" +- reg: Offset and length of the register set for the device +- ti,davinci-ctrl-reg-offset: offset to control register +- ti,davinci-ctrl-mod-reg-offset: offset to control module register +- ti,davinci-ctrl-ram-offset: offset to control module ram +- ti,davinci-ctrl-ram-size: size of control module ram +- interrupts: interrupt mapping for the davinci emac interrupts sources: + 4 sources: + +Optional properties: +- phy-handle: See ethernet.txt file in the same directory. + If absent, davinci_emac driver defaults to 100/FULL. +- ti,davinci-rmii-en: 1 byte, 1 means use RMII +- ti,davinci-no-bd-ram: boolean, does EMAC have BD RAM? + +The MAC address will be determined using the optional properties +defined in ethernet.txt. + +Example (enbw_cmc board): + eth0: emac@1e20000 { + compatible = "ti,davinci-dm6467-emac"; + reg = <0x220000 0x4000>; + ti,davinci-ctrl-reg-offset = <0x3000>; + ti,davinci-ctrl-mod-reg-offset = <0x2000>; + ti,davinci-ctrl-ram-offset = <0>; + ti,davinci-ctrl-ram-size = <0x2000>; + local-mac-address = [ 00 00 00 00 00 00 ]; + interrupts = <33 + 34 + 35 + 36 + >; + interrupt-parent = <&intc>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/dsa/dsa.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/dsa/dsa.yaml index bf4a06a150..2abd036578 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/dsa/dsa.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/dsa/dsa.yaml @@ -1,55 +1,55 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/net/dsa/dsa.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Ethernet Switch - -maintainers: - - Andrew Lunn - - Florian Fainelli - - Vladimir Oltean - -description: - This binding represents Ethernet Switches which have a dedicated CPU - port. That port is usually connected to an Ethernet Controller of the - SoC. Such setups are typical for embedded devices. - -select: false - -$ref: /schemas/net/ethernet-switch.yaml# - -properties: - dsa,member: - minItems: 2 - maxItems: 2 - description: - A two element list indicates which DSA cluster, and position within the - cluster a switch takes. <0 0> is cluster 0, switch 0. <0 1> is cluster 0, - switch 1. <1 0> is cluster 1, switch 0. A switch not part of any cluster - (single device hanging off a CPU port) must not specify this property - $ref: /schemas/types.yaml#/definitions/uint32-array - -additionalProperties: true - -$defs: - ethernet-ports: - description: A DSA switch without any extra port properties - $ref: '#' - - patternProperties: - "^(ethernet-)?ports$": - patternProperties: - "^(ethernet-)?port@[0-9a-f]+$": - description: Ethernet switch ports - $ref: dsa-port.yaml# - unevaluatedProperties: false - -oneOf: - - required: - - ports - - required: - - ethernet-ports - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/dsa/dsa.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Ethernet Switch + +maintainers: + - Andrew Lunn + - Florian Fainelli + - Vladimir Oltean + +description: + This binding represents Ethernet Switches which have a dedicated CPU + port. That port is usually connected to an Ethernet Controller of the + SoC. Such setups are typical for embedded devices. + +select: false + +$ref: /schemas/net/ethernet-switch.yaml# + +properties: + dsa,member: + minItems: 2 + maxItems: 2 + description: + A two element list indicates which DSA cluster, and position within the + cluster a switch takes. <0 0> is cluster 0, switch 0. <0 1> is cluster 0, + switch 1. <1 0> is cluster 1, switch 0. A switch not part of any cluster + (single device hanging off a CPU port) must not specify this property + $ref: /schemas/types.yaml#/definitions/uint32-array + +additionalProperties: true + +$defs: + ethernet-ports: + description: A DSA switch without any extra port properties + $ref: '#' + + patternProperties: + "^(ethernet-)?ports$": + patternProperties: + "^(ethernet-)?port@[0-9a-f]+$": + description: Ethernet switch ports + $ref: dsa-port.yaml# + unevaluatedProperties: false + +oneOf: + - required: + - ports + - required: + - ethernet-ports + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/fsl,enetc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/fsl,enetc.yaml index eb03263c4f..e152c93998 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/fsl,enetc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/fsl,enetc.yaml @@ -1,66 +1,66 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/net/fsl,enetc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: The NIC functionality of NXP NETC - -description: - The NIC functionality in NETC is known as EtherNET Controller (ENETC). ENETC - supports virtualization/isolation based on PCIe Single Root IO Virtualization - (SR-IOV), advanced QoS with 8 traffic classes and 4 drop resilience levels, - and a full range of TSN standards and NIC offload capabilities - -maintainers: - - Frank Li - - Vladimir Oltean - - Wei Fang - - Claudiu Manoil - -properties: - compatible: - items: - - enum: - - pci1957,e100 - - const: fsl,enetc - - reg: - maxItems: 1 - - mdio: - $ref: mdio.yaml - unevaluatedProperties: false - description: Optional child node for ENETC instance, otherwise use NETC EMDIO. - -required: - - compatible - - reg - -allOf: - - $ref: /schemas/pci/pci-device.yaml - - $ref: ethernet-controller.yaml - -unevaluatedProperties: false - -examples: - - | - pcie { - #address-cells = <3>; - #size-cells = <2>; - - ethernet@0,0 { - compatible = "pci1957,e100", "fsl,enetc"; - reg = <0x000000 0 0 0 0>; - phy-handle = <&sgmii_phy0>; - phy-connection-type = "sgmii"; - - mdio { - #address-cells = <1>; - #size-cells = <0>; - phy@2 { - reg = <0x2>; - }; - }; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/fsl,enetc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: The NIC functionality of NXP NETC + +description: + The NIC functionality in NETC is known as EtherNET Controller (ENETC). ENETC + supports virtualization/isolation based on PCIe Single Root IO Virtualization + (SR-IOV), advanced QoS with 8 traffic classes and 4 drop resilience levels, + and a full range of TSN standards and NIC offload capabilities + +maintainers: + - Frank Li + - Vladimir Oltean + - Wei Fang + - Claudiu Manoil + +properties: + compatible: + items: + - enum: + - pci1957,e100 + - const: fsl,enetc + + reg: + maxItems: 1 + + mdio: + $ref: mdio.yaml + unevaluatedProperties: false + description: Optional child node for ENETC instance, otherwise use NETC EMDIO. + +required: + - compatible + - reg + +allOf: + - $ref: /schemas/pci/pci-device.yaml + - $ref: ethernet-controller.yaml + +unevaluatedProperties: false + +examples: + - | + pcie { + #address-cells = <3>; + #size-cells = <2>; + + ethernet@0,0 { + compatible = "pci1957,e100", "fsl,enetc"; + reg = <0x000000 0 0 0 0>; + phy-handle = <&sgmii_phy0>; + phy-connection-type = "sgmii"; + + mdio { + #address-cells = <1>; + #size-cells = <0>; + phy@2 { + reg = <0x2>; + }; + }; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/hisilicon-femac.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/hisilicon-femac.txt index 39d91989e9..5f96976f3c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/hisilicon-femac.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/hisilicon-femac.txt @@ -1,41 +1,41 @@ -Hisilicon Fast Ethernet MAC controller - -Required properties: -- compatible: should contain one of the following version strings: - * "hisilicon,hisi-femac-v1" - * "hisilicon,hisi-femac-v2" - and the soc string "hisilicon,hi3516cv300-femac". -- reg: specifies base physical address(s) and size of the device registers. - The first region is the MAC core register base and size. - The second region is the global MAC control register. -- interrupts: should contain the MAC interrupt. -- clocks: A phandle to the MAC main clock. -- resets: should contain the phandle to the MAC reset signal(required) and - the PHY reset signal(optional). -- reset-names: should contain the reset signal name "mac"(required) - and "phy"(optional). -- phy-mode: see ethernet.txt [1]. -- phy-handle: see ethernet.txt [1]. -- hisilicon,phy-reset-delays-us: triplet of delays if PHY reset signal given. - The 1st cell is reset pre-delay in micro seconds. - The 2nd cell is reset pulse in micro seconds. - The 3rd cell is reset post-delay in micro seconds. - -The MAC address will be determined using the optional properties -defined in ethernet.txt[1]. - -[1] Documentation/devicetree/bindings/net/ethernet.txt - -Example: - hisi_femac: ethernet@10090000 { - compatible = "hisilicon,hi3516cv300-femac","hisilicon,hisi-femac-v2"; - reg = <0x10090000 0x1000>,<0x10091300 0x200>; - interrupts = <12>; - clocks = <&crg HI3518EV200_ETH_CLK>; - resets = <&crg 0xec 0>,<&crg 0xec 3>; - reset-names = "mac","phy"; - mac-address = [00 00 00 00 00 00]; - phy-mode = "mii"; - phy-handle = <&phy0>; - hisilicon,phy-reset-delays-us = <10000 20000 20000>; - }; +Hisilicon Fast Ethernet MAC controller + +Required properties: +- compatible: should contain one of the following version strings: + * "hisilicon,hisi-femac-v1" + * "hisilicon,hisi-femac-v2" + and the soc string "hisilicon,hi3516cv300-femac". +- reg: specifies base physical address(s) and size of the device registers. + The first region is the MAC core register base and size. + The second region is the global MAC control register. +- interrupts: should contain the MAC interrupt. +- clocks: A phandle to the MAC main clock. +- resets: should contain the phandle to the MAC reset signal(required) and + the PHY reset signal(optional). +- reset-names: should contain the reset signal name "mac"(required) + and "phy"(optional). +- phy-mode: see ethernet.txt [1]. +- phy-handle: see ethernet.txt [1]. +- hisilicon,phy-reset-delays-us: triplet of delays if PHY reset signal given. + The 1st cell is reset pre-delay in micro seconds. + The 2nd cell is reset pulse in micro seconds. + The 3rd cell is reset post-delay in micro seconds. + +The MAC address will be determined using the optional properties +defined in ethernet.txt[1]. + +[1] Documentation/devicetree/bindings/net/ethernet.txt + +Example: + hisi_femac: ethernet@10090000 { + compatible = "hisilicon,hi3516cv300-femac","hisilicon,hisi-femac-v2"; + reg = <0x10090000 0x1000>,<0x10091300 0x200>; + interrupts = <12>; + clocks = <&crg HI3518EV200_ETH_CLK>; + resets = <&crg 0xec 0>,<&crg 0xec 3>; + reset-names = "mac","phy"; + mac-address = [00 00 00 00 00 00]; + phy-mode = "mii"; + phy-handle = <&phy0>; + hisilicon,phy-reset-delays-us = <10000 20000 20000>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/ingenic,mac.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/ingenic,mac.yaml index f25b7c7abf..bdea101c2f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/ingenic,mac.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/ingenic,mac.yaml @@ -1,77 +1,77 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/net/ingenic,mac.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: MAC in Ingenic SoCs - -maintainers: - - 周琰杰 (Zhou Yanjie) - -description: - The Ethernet Media Access Controller in Ingenic SoCs. - -properties: - compatible: - enum: - - ingenic,jz4775-mac - - ingenic,x1000-mac - - ingenic,x1600-mac - - ingenic,x1830-mac - - ingenic,x2000-mac - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - interrupt-names: - const: macirq - - clocks: - maxItems: 1 - - clock-names: - const: stmmaceth - - mode-reg: - $ref: /schemas/types.yaml#/definitions/phandle - description: An extra syscon register that control ethernet interface and timing delay - - rx-clk-delay-ps: - description: RGMII receive clock delay defined in pico seconds - - tx-clk-delay-ps: - description: RGMII transmit clock delay defined in pico seconds - -required: - - compatible - - reg - - interrupts - - interrupt-names - - clocks - - clock-names - - mode-reg - -additionalProperties: false - -examples: - - | - #include - - mac: ethernet@134b0000 { - compatible = "ingenic,x1000-mac"; - reg = <0x134b0000 0x2000>; - - interrupt-parent = <&intc>; - interrupts = <55>; - interrupt-names = "macirq"; - - clocks = <&cgu X1000_CLK_MAC>; - clock-names = "stmmaceth"; - - mode-reg = <&mac_phy_ctrl>; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/ingenic,mac.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: MAC in Ingenic SoCs + +maintainers: + - 周琰杰 (Zhou Yanjie) + +description: + The Ethernet Media Access Controller in Ingenic SoCs. + +properties: + compatible: + enum: + - ingenic,jz4775-mac + - ingenic,x1000-mac + - ingenic,x1600-mac + - ingenic,x1830-mac + - ingenic,x2000-mac + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + interrupt-names: + const: macirq + + clocks: + maxItems: 1 + + clock-names: + const: stmmaceth + + mode-reg: + $ref: /schemas/types.yaml#/definitions/phandle + description: An extra syscon register that control ethernet interface and timing delay + + rx-clk-delay-ps: + description: RGMII receive clock delay defined in pico seconds + + tx-clk-delay-ps: + description: RGMII transmit clock delay defined in pico seconds + +required: + - compatible + - reg + - interrupts + - interrupt-names + - clocks + - clock-names + - mode-reg + +additionalProperties: false + +examples: + - | + #include + + mac: ethernet@134b0000 { + compatible = "ingenic,x1000-mac"; + reg = <0x134b0000 0x2000>; + + interrupt-parent = <&intc>; + interrupts = <55>; + interrupt-names = "macirq"; + + clocks = <&cgu X1000_CLK_MAC>; + clock-names = "stmmaceth"; + + mode-reg = <&mac_phy_ctrl>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/intel,ixp46x-ptp-timer.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/intel,ixp46x-ptp-timer.yaml index c18d7f32f5..f92730b1d2 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/intel,ixp46x-ptp-timer.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/intel,ixp46x-ptp-timer.yaml @@ -1,54 +1,54 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -# Copyright 2018 Linaro Ltd. -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/net/intel,ixp46x-ptp-timer.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Intel IXP46x PTP Timer (TSYNC) - -maintainers: - - Linus Walleij - -description: | - The Intel IXP46x PTP timer is known in the manual as IEEE1588 Hardware - Assist and Time Synchronization Hardware Assist TSYNC provides a PTP - timer. It exists in the Intel IXP45x and IXP46x XScale SoCs. - -properties: - compatible: - const: intel,ixp46x-ptp-timer - - reg: - maxItems: 1 - - interrupts: - items: - - description: Interrupt to trigger master mode snapshot from the - PRP timer, usually a GPIO interrupt. - - description: Interrupt to trigger slave mode snapshot from the - PRP timer, usually a GPIO interrupt. - - interrupt-names: - items: - - const: master - - const: slave - -required: - - compatible - - reg - - interrupts - - interrupt-names - -additionalProperties: false - -examples: - - | - #include - ptp-timer@c8010000 { - compatible = "intel,ixp46x-ptp-timer"; - reg = <0xc8010000 0x1000>; - interrupt-parent = <&gpio0>; - interrupts = <8 IRQ_TYPE_EDGE_FALLING>, <7 IRQ_TYPE_EDGE_FALLING>; - interrupt-names = "master", "slave"; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +# Copyright 2018 Linaro Ltd. +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/intel,ixp46x-ptp-timer.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Intel IXP46x PTP Timer (TSYNC) + +maintainers: + - Linus Walleij + +description: | + The Intel IXP46x PTP timer is known in the manual as IEEE1588 Hardware + Assist and Time Synchronization Hardware Assist TSYNC provides a PTP + timer. It exists in the Intel IXP45x and IXP46x XScale SoCs. + +properties: + compatible: + const: intel,ixp46x-ptp-timer + + reg: + maxItems: 1 + + interrupts: + items: + - description: Interrupt to trigger master mode snapshot from the + PRP timer, usually a GPIO interrupt. + - description: Interrupt to trigger slave mode snapshot from the + PRP timer, usually a GPIO interrupt. + + interrupt-names: + items: + - const: master + - const: slave + +required: + - compatible + - reg + - interrupts + - interrupt-names + +additionalProperties: false + +examples: + - | + #include + ptp-timer@c8010000 { + compatible = "intel,ixp46x-ptp-timer"; + reg = <0xc8010000 0x1000>; + interrupt-parent = <&gpio0>; + interrupts = <8 IRQ_TYPE_EDGE_FALLING>, <7 IRQ_TYPE_EDGE_FALLING>; + interrupt-names = "master", "slave"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/lantiq,etop-xway.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/lantiq,etop-xway.yaml index c9718afecb..3ce9f9a16b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/lantiq,etop-xway.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/lantiq,etop-xway.yaml @@ -1,68 +1,68 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/net/lantiq,etop-xway.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Lantiq Xway ETOP Ethernet driver - -maintainers: - - John Crispin - -properties: - $nodename: - pattern: "^ethernet@[0-9a-f]+$" - - compatible: - const: lantiq,etop-xway - - reg: - maxItems: 1 - - interrupts: - items: - - description: TX interrupt - - description: RX interrupt - - interrupt-names: - items: - - const: tx - - const: rx - - lantiq,tx-burst-length: - $ref: /schemas/types.yaml#/definitions/uint32 - description: | - TX programmable burst length. - enum: [2, 4, 8] - - lantiq,rx-burst-length: - $ref: /schemas/types.yaml#/definitions/uint32 - description: | - RX programmable burst length. - enum: [2, 4, 8] - - phy-mode: true - -required: - - compatible - - reg - - interrupts - - interrupt-names - - lantiq,tx-burst-length - - lantiq,rx-burst-length - - phy-mode - -additionalProperties: false - -examples: - - | - ethernet@e180000 { - compatible = "lantiq,etop-xway"; - reg = <0xe180000 0x40000>; - interrupt-parent = <&icu0>; - interrupts = <73>, <78>; - interrupt-names = "tx", "rx"; - lantiq,tx-burst-length = <8>; - lantiq,rx-burst-length = <8>; - phy-mode = "rmii"; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/lantiq,etop-xway.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Lantiq Xway ETOP Ethernet driver + +maintainers: + - John Crispin + +properties: + $nodename: + pattern: "^ethernet@[0-9a-f]+$" + + compatible: + const: lantiq,etop-xway + + reg: + maxItems: 1 + + interrupts: + items: + - description: TX interrupt + - description: RX interrupt + + interrupt-names: + items: + - const: tx + - const: rx + + lantiq,tx-burst-length: + $ref: /schemas/types.yaml#/definitions/uint32 + description: | + TX programmable burst length. + enum: [2, 4, 8] + + lantiq,rx-burst-length: + $ref: /schemas/types.yaml#/definitions/uint32 + description: | + RX programmable burst length. + enum: [2, 4, 8] + + phy-mode: true + +required: + - compatible + - reg + - interrupts + - interrupt-names + - lantiq,tx-burst-length + - lantiq,rx-burst-length + - phy-mode + +additionalProperties: false + +examples: + - | + ethernet@e180000 { + compatible = "lantiq,etop-xway"; + reg = <0xe180000 0x40000>; + interrupt-parent = <&icu0>; + interrupts = <73>, <78>; + interrupt-names = "tx", "rx"; + lantiq,tx-burst-length = <8>; + lantiq,rx-burst-length = <8>; + phy-mode = "rmii"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/marvell-neta-bm.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/marvell-neta-bm.txt index 9214308e0f..07b31050db 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/marvell-neta-bm.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/marvell-neta-bm.txt @@ -1,47 +1,47 @@ -* Marvell Armada 380/XP Buffer Manager driver (BM) - -Required properties: - -- compatible: should be "marvell,armada-380-neta-bm". -- reg: address and length of the register set for the device. -- clocks: a pointer to the reference clock for this device. -- internal-mem: a phandle to BM internal SRAM definition. - -Optional properties (port): - -- pool<0 : 3>,capacity: size of external buffer pointers' ring maintained - in DRAM. Can be set for each pool (id 0 : 3) separately. The value has - to be chosen between 128 and 16352 and it also has to be aligned to 32. - Otherwise the driver would adjust a given number or choose default if - not set. -- pool<0 : 3>,pkt-size: maximum size of a packet accepted by a given buffer - pointers' pool (id 0 : 3). It will be taken into consideration only when pool - type is 'short'. For 'long' ones it would be overridden by port's MTU. - If not set a driver will choose a default value. - -In order to see how to hook the BM to a given ethernet port, please -refer to Documentation/devicetree/bindings/net/marvell-armada-370-neta.txt. - -Example: - -- main node: - -bm: bm@c8000 { - compatible = "marvell,armada-380-neta-bm"; - reg = <0xc8000 0xac>; - clocks = <&gateclk 13>; - internal-mem = <&bm_bppi>; - pool2,capacity = <4096>; - pool1,pkt-size = <512>; -}; - -- internal SRAM node: - -bm_bppi: bm-bppi { - compatible = "mmio-sram"; - reg = ; - ranges = <0 MBUS_ID(0x0c, 0x04) 0 0x100000>; - #address-cells = <1>; - #size-cells = <1>; - clocks = <&gateclk 13>; -}; +* Marvell Armada 380/XP Buffer Manager driver (BM) + +Required properties: + +- compatible: should be "marvell,armada-380-neta-bm". +- reg: address and length of the register set for the device. +- clocks: a pointer to the reference clock for this device. +- internal-mem: a phandle to BM internal SRAM definition. + +Optional properties (port): + +- pool<0 : 3>,capacity: size of external buffer pointers' ring maintained + in DRAM. Can be set for each pool (id 0 : 3) separately. The value has + to be chosen between 128 and 16352 and it also has to be aligned to 32. + Otherwise the driver would adjust a given number or choose default if + not set. +- pool<0 : 3>,pkt-size: maximum size of a packet accepted by a given buffer + pointers' pool (id 0 : 3). It will be taken into consideration only when pool + type is 'short'. For 'long' ones it would be overridden by port's MTU. + If not set a driver will choose a default value. + +In order to see how to hook the BM to a given ethernet port, please +refer to Documentation/devicetree/bindings/net/marvell-armada-370-neta.txt. + +Example: + +- main node: + +bm: bm@c8000 { + compatible = "marvell,armada-380-neta-bm"; + reg = <0xc8000 0xac>; + clocks = <&gateclk 13>; + internal-mem = <&bm_bppi>; + pool2,capacity = <4096>; + pool1,pkt-size = <512>; +}; + +- internal SRAM node: + +bm_bppi: bm-bppi { + compatible = "mmio-sram"; + reg = ; + ranges = <0 MBUS_ID(0x0c, 0x04) 0 0x100000>; + #address-cells = <1>; + #size-cells = <1>; + clocks = <&gateclk 13>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/microchip,lan78xx.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/microchip,lan78xx.txt index 1d89eb2df8..11a679530a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/microchip,lan78xx.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/microchip,lan78xx.txt @@ -1,53 +1,53 @@ -Microchip LAN78xx Gigabit Ethernet controller - -The LAN78XX devices are usually configured by programming their OTP or with -an external EEPROM, but some platforms (e.g. Raspberry Pi 3 B+) have neither. -The Device Tree properties, if present, override the OTP and EEPROM. - -Required properties: -- compatible: Should be one of "usb424,7800", "usb424,7801" or "usb424,7850". - -The MAC address will be determined using the optional properties -defined in ethernet.txt. - -Optional properties of the embedded PHY: -- microchip,led-modes: a 0..4 element vector, with each element configuring - the operating mode of an LED. Omitted LEDs are turned off. Allowed values - are defined in "include/dt-bindings/net/microchip-lan78xx.h". - -Example: - -/* Based on the configuration for a Raspberry Pi 3 B+ */ -&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>; - local-mac-address = [ 00 11 22 33 44 55 ]; - - 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 - >; - }; - }; - }; - }; - }; -}; +Microchip LAN78xx Gigabit Ethernet controller + +The LAN78XX devices are usually configured by programming their OTP or with +an external EEPROM, but some platforms (e.g. Raspberry Pi 3 B+) have neither. +The Device Tree properties, if present, override the OTP and EEPROM. + +Required properties: +- compatible: Should be one of "usb424,7800", "usb424,7801" or "usb424,7850". + +The MAC address will be determined using the optional properties +defined in ethernet.txt. + +Optional properties of the embedded PHY: +- microchip,led-modes: a 0..4 element vector, with each element configuring + the operating mode of an LED. Omitted LEDs are turned off. Allowed values + are defined in "include/dt-bindings/net/microchip-lan78xx.h". + +Example: + +/* Based on the configuration for a Raspberry Pi 3 B+ */ +&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>; + local-mac-address = [ 00 11 22 33 44 55 ]; + + 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/Documentation/devicetree/bindings/net/renesas,rzn1-gmac.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/renesas,rzn1-gmac.yaml index 23d4d5a397..d9a8d586e2 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/renesas,rzn1-gmac.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/renesas,rzn1-gmac.yaml @@ -1,66 +1,66 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/net/renesas,rzn1-gmac.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Renesas GMAC - -maintainers: - - Romain Gantois - -select: - properties: - compatible: - contains: - enum: - - renesas,r9a06g032-gmac - - renesas,rzn1-gmac - required: - - compatible - -allOf: - - $ref: snps,dwmac.yaml# - -properties: - compatible: - items: - - enum: - - renesas,r9a06g032-gmac - - const: renesas,rzn1-gmac - - const: snps,dwmac - - pcs-handle: - description: - phandle pointing to a PCS sub-node compatible with - renesas,rzn1-miic.yaml# - -required: - - compatible - -unevaluatedProperties: false - -examples: - - | - #include - #include - - ethernet@44000000 { - compatible = "renesas,r9a06g032-gmac", "renesas,rzn1-gmac", "snps,dwmac"; - reg = <0x44000000 0x2000>; - interrupts = , - , - ; - interrupt-names = "macirq", "eth_wake_irq", "eth_lpi"; - clock-names = "stmmaceth"; - clocks = <&sysctrl R9A06G032_HCLK_GMAC0>; - power-domains = <&sysctrl>; - snps,multicast-filter-bins = <256>; - snps,perfect-filter-entries = <128>; - tx-fifo-depth = <2048>; - rx-fifo-depth = <4096>; - pcs-handle = <&mii_conv1>; - phy-mode = "mii"; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/renesas,rzn1-gmac.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Renesas GMAC + +maintainers: + - Romain Gantois + +select: + properties: + compatible: + contains: + enum: + - renesas,r9a06g032-gmac + - renesas,rzn1-gmac + required: + - compatible + +allOf: + - $ref: snps,dwmac.yaml# + +properties: + compatible: + items: + - enum: + - renesas,r9a06g032-gmac + - const: renesas,rzn1-gmac + - const: snps,dwmac + + pcs-handle: + description: + phandle pointing to a PCS sub-node compatible with + renesas,rzn1-miic.yaml# + +required: + - compatible + +unevaluatedProperties: false + +examples: + - | + #include + #include + + ethernet@44000000 { + compatible = "renesas,r9a06g032-gmac", "renesas,rzn1-gmac", "snps,dwmac"; + reg = <0x44000000 0x2000>; + interrupts = , + , + ; + interrupt-names = "macirq", "eth_wake_irq", "eth_lpi"; + clock-names = "stmmaceth"; + clocks = <&sysctrl R9A06G032_HCLK_GMAC0>; + power-domains = <&sysctrl>; + snps,multicast-filter-bins = <256>; + snps,perfect-filter-entries = <128>; + tx-fifo-depth = <2048>; + rx-fifo-depth = <4096>; + pcs-handle = <&mii_conv1>; + phy-mode = "mii"; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/socionext,synquacer-netsec.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/socionext,synquacer-netsec.yaml index bb50208656..a65e6aa215 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/socionext,synquacer-netsec.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/socionext,synquacer-netsec.yaml @@ -1,73 +1,73 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/net/socionext,synquacer-netsec.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Socionext NetSec Ethernet Controller IP - -maintainers: - - Jassi Brar - - Ilias Apalodimas - -allOf: - - $ref: ethernet-controller.yaml# - -properties: - compatible: - const: socionext,synquacer-netsec - - reg: - items: - - description: control register area - - description: EEPROM holding the MAC address and microengine firmware - - clocks: - maxItems: 1 - - clock-names: - const: phy_ref_clk - - dma-coherent: true - - interrupts: - maxItems: 1 - - mdio: - $ref: mdio.yaml# - -required: - - compatible - - reg - - clocks - - clock-names - - interrupts - - mdio - -unevaluatedProperties: false - -examples: - - | - #include - - ethernet@522d0000 { - compatible = "socionext,synquacer-netsec"; - reg = <0x522d0000 0x10000>, <0x10000000 0x10000>; - interrupts = ; - clocks = <&clk_netsec>; - clock-names = "phy_ref_clk"; - phy-mode = "rgmii"; - max-speed = <1000>; - max-frame-size = <9000>; - phy-handle = <&phy1>; - - mdio { - #address-cells = <1>; - #size-cells = <0>; - phy1: ethernet-phy@1 { - compatible = "ethernet-phy-ieee802.3-c22"; - reg = <1>; - }; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/socionext,synquacer-netsec.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Socionext NetSec Ethernet Controller IP + +maintainers: + - Jassi Brar + - Ilias Apalodimas + +allOf: + - $ref: ethernet-controller.yaml# + +properties: + compatible: + const: socionext,synquacer-netsec + + reg: + items: + - description: control register area + - description: EEPROM holding the MAC address and microengine firmware + + clocks: + maxItems: 1 + + clock-names: + const: phy_ref_clk + + dma-coherent: true + + interrupts: + maxItems: 1 + + mdio: + $ref: mdio.yaml# + +required: + - compatible + - reg + - clocks + - clock-names + - interrupts + - mdio + +unevaluatedProperties: false + +examples: + - | + #include + + ethernet@522d0000 { + compatible = "socionext,synquacer-netsec"; + reg = <0x522d0000 0x10000>, <0x10000000 0x10000>; + interrupts = ; + clocks = <&clk_netsec>; + clock-names = "phy_ref_clk"; + phy-mode = "rgmii"; + max-speed = <1000>; + max-frame-size = <9000>; + phy-handle = <&phy1>; + + mdio { + #address-cells = <1>; + #size-cells = <0>; + phy1: ethernet-phy@1 { + compatible = "ethernet-phy-ieee802.3-c22"; + reg = <1>; + }; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/ti,davinci-mdio.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/ti,davinci-mdio.yaml index a15a08c387..53604fab0b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/ti,davinci-mdio.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/ti,davinci-mdio.yaml @@ -1,80 +1,80 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/net/ti,davinci-mdio.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: TI SoC Davinci/Keystone2 MDIO Controller - -maintainers: - - Grygorii Strashko - -description: - TI SoC Davinci/Keystone2 MDIO Controller - -allOf: - - $ref: mdio.yaml# - -properties: - compatible: - oneOf: - - const: ti,davinci_mdio - - items: - - const: ti,keystone_mdio - - const: ti,davinci_mdio - - items: - - const: ti,cpsw-mdio - - const: ti,davinci_mdio - - items: - - const: ti,am4372-mdio - - const: ti,cpsw-mdio - - const: ti,davinci_mdio - - reg: - maxItems: 1 - - bus_freq: - $ref: /schemas/types.yaml#/definitions/uint32 - maximum: 2500000 - description: MDIO Bus frequency - - clocks: - maxItems: 1 - - clock-names: - items: - - const: fck - - ti,hwmods: - description: TI hwmod name - deprecated: true - $ref: /schemas/types.yaml#/definitions/string-array - items: - const: davinci_mdio - -if: - properties: - compatible: - contains: - const: ti,davinci_mdio -then: - required: - - bus_freq - -required: - - compatible - - reg - - "#address-cells" - - "#size-cells" - -unevaluatedProperties: false - -examples: - - | - davinci_mdio: mdio@4a101000 { - compatible = "ti,davinci_mdio"; - #address-cells = <1>; - #size-cells = <0>; - reg = <0x4a101000 0x1000>; - bus_freq = <1000000>; - }; +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/ti,davinci-mdio.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: TI SoC Davinci/Keystone2 MDIO Controller + +maintainers: + - Grygorii Strashko + +description: + TI SoC Davinci/Keystone2 MDIO Controller + +allOf: + - $ref: mdio.yaml# + +properties: + compatible: + oneOf: + - const: ti,davinci_mdio + - items: + - const: ti,keystone_mdio + - const: ti,davinci_mdio + - items: + - const: ti,cpsw-mdio + - const: ti,davinci_mdio + - items: + - const: ti,am4372-mdio + - const: ti,cpsw-mdio + - const: ti,davinci_mdio + + reg: + maxItems: 1 + + bus_freq: + $ref: /schemas/types.yaml#/definitions/uint32 + maximum: 2500000 + description: MDIO Bus frequency + + clocks: + maxItems: 1 + + clock-names: + items: + - const: fck + + ti,hwmods: + description: TI hwmod name + deprecated: true + $ref: /schemas/types.yaml#/definitions/string-array + items: + const: davinci_mdio + +if: + properties: + compatible: + contains: + const: ti,davinci_mdio +then: + required: + - bus_freq + +required: + - compatible + - reg + - "#address-cells" + - "#size-cells" + +unevaluatedProperties: false + +examples: + - | + davinci_mdio: mdio@4a101000 { + compatible = "ti,davinci_mdio"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x4a101000 0x1000>; + bus_freq = <1000000>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/vertexcom-mse102x.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/vertexcom-mse102x.yaml index 8bcb694bc0..4158673f72 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/vertexcom-mse102x.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/vertexcom-mse102x.yaml @@ -1,71 +1,71 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/net/vertexcom-mse102x.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: The Vertexcom MSE102x (SPI) - -maintainers: - - Stefan Wahren - -description: - Vertexcom's MSE102x are a family of HomePlug GreenPHY chips. - They can be connected either via RGMII, RMII or SPI to a host CPU. - - In order to use a MSE102x chip as SPI device, it must be defined as - a child of an SPI master device in the device tree. - - More information can be found at - http://www.vertexcom.com/doc/MSE1022%20Product%20Brief.pdf - -allOf: - - $ref: ethernet-controller.yaml# - -properties: - compatible: - enum: - - vertexcom,mse1021 - - vertexcom,mse1022 - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - spi-cpha: true - - spi-cpol: true - - spi-max-frequency: - minimum: 6000000 - maximum: 7142857 - -required: - - compatible - - reg - - interrupts - - spi-cpha - - spi-cpol - - spi-max-frequency - -additionalProperties: false - -examples: - - | - #include - spi { - #address-cells = <1>; - #size-cells = <0>; - - ethernet@0 { - compatible = "vertexcom,mse1021"; - reg = <0>; - interrupt-parent = <&gpio>; - interrupts = <23 IRQ_TYPE_EDGE_RISING>; - spi-cpha; - spi-cpol; - spi-max-frequency = <7142857>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/vertexcom-mse102x.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: The Vertexcom MSE102x (SPI) + +maintainers: + - Stefan Wahren + +description: + Vertexcom's MSE102x are a family of HomePlug GreenPHY chips. + They can be connected either via RGMII, RMII or SPI to a host CPU. + + In order to use a MSE102x chip as SPI device, it must be defined as + a child of an SPI master device in the device tree. + + More information can be found at + http://www.vertexcom.com/doc/MSE1022%20Product%20Brief.pdf + +allOf: + - $ref: ethernet-controller.yaml# + +properties: + compatible: + enum: + - vertexcom,mse1021 + - vertexcom,mse1022 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + spi-cpha: true + + spi-cpol: true + + spi-max-frequency: + minimum: 6000000 + maximum: 7142857 + +required: + - compatible + - reg + - interrupts + - spi-cpha + - spi-cpol + - spi-max-frequency + +additionalProperties: false + +examples: + - | + #include + spi { + #address-cells = <1>; + #size-cells = <0>; + + ethernet@0 { + compatible = "vertexcom,mse1021"; + reg = <0>; + interrupt-parent = <&gpio>; + interrupts = <23 IRQ_TYPE_EDGE_RISING>; + spi-cpha; + spi-cpol; + spi-max-frequency = <7142857>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/wireless/ieee80211.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/wireless/ieee80211.yaml index 56b50a3f63..d89f7a3f88 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/wireless/ieee80211.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/wireless/ieee80211.yaml @@ -1,44 +1,44 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -# Copyright (c) 2018-2019 The Linux Foundation. All rights reserved. -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/net/wireless/ieee80211.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Common IEEE 802.11 - -maintainers: - - Lorenzo Bianconi - -description: | - This provides documentation of common properties that are valid for - all wireless devices - -properties: - ieee80211-freq-limit: - $ref: /schemas/types.yaml#/definitions/uint32-matrix - items: - minItems: 2 - maxItems: 2 - description: - List of supported frequency ranges in KHz. This can be used for devices - that in a given config support less channels than normally. It may happen - chipset supports a wide wireless band but it is limited to some part of - it due to used antennas or power amplifier. An example case for this - can be tri-band wireless router with two identical chipsets used for two - different 5 GHz subbands. Using them incorrectly could not work or - decrease performance noticeably - -additionalProperties: true - -examples: - - | - pcie0 { - #address-cells = <3>; - #size-cells = <2>; - wifi@0,0 { - reg = <0x0000 0 0 0 0>; - ieee80211-freq-limit = <2402000 2482000>, - <5170000 5250000>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +# Copyright (c) 2018-2019 The Linux Foundation. All rights reserved. +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/wireless/ieee80211.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Common IEEE 802.11 + +maintainers: + - Lorenzo Bianconi + +description: | + This provides documentation of common properties that are valid for + all wireless devices + +properties: + ieee80211-freq-limit: + $ref: /schemas/types.yaml#/definitions/uint32-matrix + items: + minItems: 2 + maxItems: 2 + description: + List of supported frequency ranges in KHz. This can be used for devices + that in a given config support less channels than normally. It may happen + chipset supports a wide wireless band but it is limited to some part of + it due to used antennas or power amplifier. An example case for this + can be tri-band wireless router with two identical chipsets used for two + different 5 GHz subbands. Using them incorrectly could not work or + decrease performance noticeably + +additionalProperties: true + +examples: + - | + pcie0 { + #address-cells = <3>; + #size-cells = <2>; + wifi@0,0 { + reg = <0x0000 0 0 0 0>; + ieee80211-freq-limit = <2402000 2482000>, + <5170000 5250000>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/wireless/ti,wl1251.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/wireless/ti,wl1251.txt index d530a9993d..88fd28d15e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/wireless/ti,wl1251.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/wireless/ti,wl1251.txt @@ -1,64 +1,64 @@ -* Texas Instruments wl1251 wireless lan controller - -The wl1251 chip can be connected via SPI or via SDIO. This -document describes the binding for the SPI connected chip. - -Required properties: -- compatible : Should be "ti,wl1251" -- reg : Chip select address of device -- spi-max-frequency : Maximum SPI clocking speed of device in Hz -- interrupts : Should contain interrupt line -- vio-supply : phandle to regulator providing VIO - -Optional properties: -- ti,wl1251-has-eeprom : boolean, the wl1251 has an eeprom connected, which - provides configuration data (calibration, MAC, ...) -- ti,power-gpio : GPIO connected to chip's PMEN pin if operated in - SPI mode -- Please consult Documentation/devicetree/bindings/spi/spi-bus.txt - for optional SPI connection related properties, - -Examples: - -&spi1 { - wl1251@0 { - compatible = "ti,wl1251"; - - reg = <0>; - spi-max-frequency = <48000000>; - spi-cpol; - spi-cpha; - - interrupt-parent = <&gpio2>; - interrupts = <10 IRQ_TYPE_NONE>; /* gpio line 42 */ - - vio-supply = <&vio>; - ti,power-gpio = <&gpio3 23 GPIO_ACTIVE_HIGH>; /* 87 */ - }; -}; - -&mmc3 { - vmmc-supply = <&wlan_en>; - - bus-width = <4>; - non-removable; - ti,non-removable; - cap-power-off-card; - - pinctrl-names = "default"; - pinctrl-0 = <&mmc3_pins>; - - #address-cells = <1>; - #size-cells = <0>; - - wlan: wifi@1 { - compatible = "ti,wl1251"; - - reg = <1>; - - interrupt-parent = <&gpio1>; - interrupts = <21 IRQ_TYPE_LEVEL_HIGH>; /* GPIO_21 */ - - ti,wl1251-has-eeprom; - }; -}; +* Texas Instruments wl1251 wireless lan controller + +The wl1251 chip can be connected via SPI or via SDIO. This +document describes the binding for the SPI connected chip. + +Required properties: +- compatible : Should be "ti,wl1251" +- reg : Chip select address of device +- spi-max-frequency : Maximum SPI clocking speed of device in Hz +- interrupts : Should contain interrupt line +- vio-supply : phandle to regulator providing VIO + +Optional properties: +- ti,wl1251-has-eeprom : boolean, the wl1251 has an eeprom connected, which + provides configuration data (calibration, MAC, ...) +- ti,power-gpio : GPIO connected to chip's PMEN pin if operated in + SPI mode +- Please consult Documentation/devicetree/bindings/spi/spi-bus.txt + for optional SPI connection related properties, + +Examples: + +&spi1 { + wl1251@0 { + compatible = "ti,wl1251"; + + reg = <0>; + spi-max-frequency = <48000000>; + spi-cpol; + spi-cpha; + + interrupt-parent = <&gpio2>; + interrupts = <10 IRQ_TYPE_NONE>; /* gpio line 42 */ + + vio-supply = <&vio>; + ti,power-gpio = <&gpio3 23 GPIO_ACTIVE_HIGH>; /* 87 */ + }; +}; + +&mmc3 { + vmmc-supply = <&wlan_en>; + + bus-width = <4>; + non-removable; + ti,non-removable; + cap-power-off-card; + + pinctrl-names = "default"; + pinctrl-0 = <&mmc3_pins>; + + #address-cells = <1>; + #size-cells = <0>; + + wlan: wifi@1 { + compatible = "ti,wl1251"; + + reg = <1>; + + interrupt-parent = <&gpio1>; + interrupts = <21 IRQ_TYPE_LEVEL_HIGH>; /* GPIO_21 */ + + ti,wl1251-has-eeprom; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/wiznet,w5x00.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/wiznet,w5x00.txt index 74122a0c19..e9665798c4 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/wiznet,w5x00.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/wiznet,w5x00.txt @@ -1,50 +1,50 @@ -* Wiznet w5x00 - -This is a standalone 10/100 MBit Ethernet controller with SPI interface. - -For each device connected to a SPI bus, define a child node within -the SPI master node. - -Required properties: -- compatible: Should be one of the following strings: - "wiznet,w5100" - "wiznet,w5200" - "wiznet,w5500" -- reg: Specify the SPI chip select the chip is wired to. -- interrupts: Specify the interrupt index within the interrupt controller (referred - to above in interrupt-parent) and interrupt type. w5x00 natively - generates falling edge interrupts, however, additional board logic - might invert the signal. -- pinctrl-names: List of assigned state names, see pinctrl binding documentation. -- pinctrl-0: List of phandles to configure the GPIO pin used as interrupt line, - see also generic and your platform specific pinctrl binding - documentation. - -Optional properties: -- spi-max-frequency: Maximum frequency of the SPI bus when accessing the w5500. - According to the w5500 datasheet, the chip allows a maximum of 80 MHz, however, - board designs may need to limit this value. -- local-mac-address: See ethernet.txt in the same directory. - - -Example (for Raspberry Pi with pin control stuff for GPIO irq): - -&spi { - ethernet@0: w5500@0 { - compatible = "wiznet,w5500"; - reg = <0>; - pinctrl-names = "default"; - pinctrl-0 = <ð1_pins>; - interrupt-parent = <&gpio>; - interrupts = <25 IRQ_TYPE_EDGE_FALLING>; - spi-max-frequency = <30000000>; - }; -}; - -&gpio { - eth1_pins: eth1_pins { - brcm,pins = <25>; - brcm,function = <0>; /* in */ - brcm,pull = <0>; /* none */ - }; -}; +* Wiznet w5x00 + +This is a standalone 10/100 MBit Ethernet controller with SPI interface. + +For each device connected to a SPI bus, define a child node within +the SPI master node. + +Required properties: +- compatible: Should be one of the following strings: + "wiznet,w5100" + "wiznet,w5200" + "wiznet,w5500" +- reg: Specify the SPI chip select the chip is wired to. +- interrupts: Specify the interrupt index within the interrupt controller (referred + to above in interrupt-parent) and interrupt type. w5x00 natively + generates falling edge interrupts, however, additional board logic + might invert the signal. +- pinctrl-names: List of assigned state names, see pinctrl binding documentation. +- pinctrl-0: List of phandles to configure the GPIO pin used as interrupt line, + see also generic and your platform specific pinctrl binding + documentation. + +Optional properties: +- spi-max-frequency: Maximum frequency of the SPI bus when accessing the w5500. + According to the w5500 datasheet, the chip allows a maximum of 80 MHz, however, + board designs may need to limit this value. +- local-mac-address: See ethernet.txt in the same directory. + + +Example (for Raspberry Pi with pin control stuff for GPIO irq): + +&spi { + ethernet@0: w5500@0 { + compatible = "wiznet,w5500"; + reg = <0>; + pinctrl-names = "default"; + pinctrl-0 = <ð1_pins>; + interrupt-parent = <&gpio>; + interrupts = <25 IRQ_TYPE_EDGE_FALLING>; + spi-max-frequency = <30000000>; + }; +}; + +&gpio { + eth1_pins: eth1_pins { + brcm,pins = <25>; + brcm,function = <0>; /* in */ + brcm,pull = <0>; /* none */ + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/xlnx,emaclite.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/xlnx,emaclite.yaml index 7a10a633c8..92d8ade988 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/xlnx,emaclite.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/xlnx,emaclite.yaml @@ -1,63 +1,63 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/net/xlnx,emaclite.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Xilinx Emaclite Ethernet controller - -maintainers: - - Radhey Shyam Pandey - - Harini Katakam - -allOf: - - $ref: ethernet-controller.yaml# - -properties: - compatible: - enum: - - xlnx,opb-ethernetlite-1.01.a - - xlnx,opb-ethernetlite-1.01.b - - xlnx,xps-ethernetlite-1.00.a - - xlnx,xps-ethernetlite-2.00.a - - xlnx,xps-ethernetlite-2.01.a - - xlnx,xps-ethernetlite-3.00.a - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - phy-handle: true - - local-mac-address: true - - xlnx,tx-ping-pong: - type: boolean - description: hardware supports tx ping pong buffer. - - xlnx,rx-ping-pong: - type: boolean - description: hardware supports rx ping pong buffer. - -required: - - compatible - - reg - - interrupts - - phy-handle - -additionalProperties: false - -examples: - - | - axi_ethernetlite_1: ethernet@40e00000 { - compatible = "xlnx,xps-ethernetlite-3.00.a"; - reg = <0x40e00000 0x10000>; - interrupt-parent = <&axi_intc_1>; - interrupts = <1>; - local-mac-address = [00 00 00 00 00 00]; - phy-handle = <&phy0>; - xlnx,rx-ping-pong; - xlnx,tx-ping-pong; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/xlnx,emaclite.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Xilinx Emaclite Ethernet controller + +maintainers: + - Radhey Shyam Pandey + - Harini Katakam + +allOf: + - $ref: ethernet-controller.yaml# + +properties: + compatible: + enum: + - xlnx,opb-ethernetlite-1.01.a + - xlnx,opb-ethernetlite-1.01.b + - xlnx,xps-ethernetlite-1.00.a + - xlnx,xps-ethernetlite-2.00.a + - xlnx,xps-ethernetlite-2.01.a + - xlnx,xps-ethernetlite-3.00.a + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + phy-handle: true + + local-mac-address: true + + xlnx,tx-ping-pong: + type: boolean + description: hardware supports tx ping pong buffer. + + xlnx,rx-ping-pong: + type: boolean + description: hardware supports rx ping pong buffer. + +required: + - compatible + - reg + - interrupts + - phy-handle + +additionalProperties: false + +examples: + - | + axi_ethernetlite_1: ethernet@40e00000 { + compatible = "xlnx,xps-ethernetlite-3.00.a"; + reg = <0x40e00000 0x10000>; + interrupt-parent = <&axi_intc_1>; + interrupts = <1>; + local-mac-address = [00 00 00 00 00 00]; + phy-handle = <&phy0>; + xlnx,rx-ping-pong; + xlnx,tx-ping-pong; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/xlnx,gmii-to-rgmii.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/xlnx,gmii-to-rgmii.yaml index 731b6ff29b..eb803ddd13 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/xlnx,gmii-to-rgmii.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/xlnx,gmii-to-rgmii.yaml @@ -1,60 +1,60 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/net/xlnx,gmii-to-rgmii.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Xilinx GMII to RGMII Converter - -maintainers: - - Harini Katakam - -description: - The Gigabit Media Independent Interface (GMII) to Reduced Gigabit Media - Independent Interface (RGMII) core provides the RGMII between RGMII-compliant - ethernet physical media devices (PHY) and the Gigabit Ethernet controller. - This core can be used in all three modes of operation(10/100/1000 Mb/s). - The Management Data Input/Output (MDIO) interface is used to configure the - speed of operation. This core can switch dynamically between the three - different speed modes by configuring the converter register through mdio write. - The core cannot function without an external phy connected to it. - -properties: - compatible: - const: xlnx,gmii-to-rgmii-1.0 - - reg: - minimum: 0 - maximum: 31 - description: The ID number for the phy. - - phy-handle: - $ref: ethernet-controller.yaml#/properties/phy-handle - - clocks: - items: - - description: 200/375 MHz free-running clock is used as input clock. - -required: - - compatible - - reg - - phy-handle - -unevaluatedProperties: false - -examples: - - | - mdio { - #address-cells = <1>; - #size-cells = <0>; - - phy: ethernet-phy@0 { - reg = <0>; - }; - gmiitorgmii@8 { - compatible = "xlnx,gmii-to-rgmii-1.0"; - reg = <8>; - phy-handle = <&phy>; - clocks = <&dummy>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/xlnx,gmii-to-rgmii.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Xilinx GMII to RGMII Converter + +maintainers: + - Harini Katakam + +description: + The Gigabit Media Independent Interface (GMII) to Reduced Gigabit Media + Independent Interface (RGMII) core provides the RGMII between RGMII-compliant + ethernet physical media devices (PHY) and the Gigabit Ethernet controller. + This core can be used in all three modes of operation(10/100/1000 Mb/s). + The Management Data Input/Output (MDIO) interface is used to configure the + speed of operation. This core can switch dynamically between the three + different speed modes by configuring the converter register through mdio write. + The core cannot function without an external phy connected to it. + +properties: + compatible: + const: xlnx,gmii-to-rgmii-1.0 + + reg: + minimum: 0 + maximum: 31 + description: The ID number for the phy. + + phy-handle: + $ref: ethernet-controller.yaml#/properties/phy-handle + + clocks: + items: + - description: 200/375 MHz free-running clock is used as input clock. + +required: + - compatible + - reg + - phy-handle + +unevaluatedProperties: false + +examples: + - | + mdio { + #address-cells = <1>; + #size-cells = <0>; + + phy: ethernet-phy@0 { + reg = <0>; + }; + gmiitorgmii@8 { + compatible = "xlnx,gmii-to-rgmii-1.0"; + reg = <8>; + phy-handle = <&phy>; + clocks = <&dummy>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/nvmem/brcm,nvram.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/nvmem/brcm,nvram.yaml index c62a037a85..13412af7f0 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/nvmem/brcm,nvram.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/nvmem/brcm,nvram.yaml @@ -1,73 +1,73 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/nvmem/brcm,nvram.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Broadcom's NVRAM - -description: | - Broadcom's NVRAM is a structure containing device specific environment - variables. It is used for storing device configuration, booting parameters - and calibration data. - - NVRAM can be accessed on Broadcom BCM47xx MIPS and Northstar ARM Cortex-A9 - devices usiong I/O mapped memory. - - NVRAM variables can be defined as NVMEM device subnodes. - -maintainers: - - Rafał Miłecki - -allOf: - - $ref: nvmem.yaml# - -properties: - compatible: - const: brcm,nvram - - reg: - maxItems: 1 - - board_id: - type: object - description: Board identification name - - et0macaddr: - type: object - description: First Ethernet interface's MAC address - properties: - "#nvmem-cell-cells": - description: The first argument is a MAC address offset. - const: 1 - additionalProperties: false - - et1macaddr: - type: object - description: Second Ethernet interface's MAC address - properties: - "#nvmem-cell-cells": - description: The first argument is a MAC address offset. - const: 1 - additionalProperties: false - - et2macaddr: - type: object - description: Third Ethernet interface's MAC address - properties: - "#nvmem-cell-cells": - description: The first argument is a MAC address offset. - const: 1 - additionalProperties: false - -unevaluatedProperties: false - -examples: - - | - nvram@1eff0000 { - compatible = "brcm,nvram"; - reg = <0x1eff0000 0x10000>; - - mac: et0macaddr { - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/nvmem/brcm,nvram.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom's NVRAM + +description: | + Broadcom's NVRAM is a structure containing device specific environment + variables. It is used for storing device configuration, booting parameters + and calibration data. + + NVRAM can be accessed on Broadcom BCM47xx MIPS and Northstar ARM Cortex-A9 + devices usiong I/O mapped memory. + + NVRAM variables can be defined as NVMEM device subnodes. + +maintainers: + - Rafał Miłecki + +allOf: + - $ref: nvmem.yaml# + +properties: + compatible: + const: brcm,nvram + + reg: + maxItems: 1 + + board_id: + type: object + description: Board identification name + + et0macaddr: + type: object + description: First Ethernet interface's MAC address + properties: + "#nvmem-cell-cells": + description: The first argument is a MAC address offset. + const: 1 + additionalProperties: false + + et1macaddr: + type: object + description: Second Ethernet interface's MAC address + properties: + "#nvmem-cell-cells": + description: The first argument is a MAC address offset. + const: 1 + additionalProperties: false + + et2macaddr: + type: object + description: Third Ethernet interface's MAC address + properties: + "#nvmem-cell-cells": + description: The first argument is a MAC address offset. + const: 1 + additionalProperties: false + +unevaluatedProperties: false + +examples: + - | + nvram@1eff0000 { + compatible = "brcm,nvram"; + reg = <0x1eff0000 0x10000>; + + mac: et0macaddr { + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/nvmem/fsl,layerscape-sfp.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/nvmem/fsl,layerscape-sfp.yaml index 17b2585585..1b20b49eee 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/nvmem/fsl,layerscape-sfp.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/nvmem/fsl,layerscape-sfp.yaml @@ -1,63 +1,63 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/nvmem/fsl,layerscape-sfp.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Freescale Layerscape Security Fuse Processor - -maintainers: - - Michael Walle - -description: | - SFP is the security fuse processor which among other things provides a - unique identifier per part. - -allOf: - - $ref: nvmem.yaml# - - $ref: nvmem-deprecated-cells.yaml - -properties: - compatible: - oneOf: - - description: Trust architecture 2.1 SFP - items: - - const: fsl,ls1021a-sfp - - description: Trust architecture 3.0 SFP - items: - - const: fsl,ls1028a-sfp - - reg: - maxItems: 1 - - clocks: - maxItems: 1 - description: - The SFP clock. Typically, this is the platform clock divided by 4. - - clock-names: - const: sfp - - ta-prog-sfp-supply: - description: - The regulator for the TA_PROG_SFP pin. It will be enabled for programming - and disabled for reading. - -required: - - compatible - - reg - - clock-names - - clocks - -unevaluatedProperties: false - -examples: - - | - #include - efuse@1e80000 { - compatible = "fsl,ls1028a-sfp"; - reg = <0x1e80000 0x8000>; - clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL - QORIQ_CLK_PLL_DIV(4)>; - clock-names = "sfp"; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/nvmem/fsl,layerscape-sfp.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Freescale Layerscape Security Fuse Processor + +maintainers: + - Michael Walle + +description: | + SFP is the security fuse processor which among other things provides a + unique identifier per part. + +allOf: + - $ref: nvmem.yaml# + - $ref: nvmem-deprecated-cells.yaml + +properties: + compatible: + oneOf: + - description: Trust architecture 2.1 SFP + items: + - const: fsl,ls1021a-sfp + - description: Trust architecture 3.0 SFP + items: + - const: fsl,ls1028a-sfp + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + description: + The SFP clock. Typically, this is the platform clock divided by 4. + + clock-names: + const: sfp + + ta-prog-sfp-supply: + description: + The regulator for the TA_PROG_SFP pin. It will be enabled for programming + and disabled for reading. + +required: + - compatible + - reg + - clock-names + - clocks + +unevaluatedProperties: false + +examples: + - | + #include + efuse@1e80000 { + compatible = "fsl,ls1028a-sfp"; + reg = <0x1e80000 0x8000>; + clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL + QORIQ_CLK_PLL_DIV(4)>; + clock-names = "sfp"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/nvmem/layouts/fixed-cell.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/nvmem/layouts/fixed-cell.yaml index 766bf31390..8b3826243d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/nvmem/layouts/fixed-cell.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/nvmem/layouts/fixed-cell.yaml @@ -1,55 +1,55 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/nvmem/layouts/fixed-cell.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Fixed offset & size NVMEM cell - -maintainers: - - Rafał Miłecki - - Srinivas Kandagatla - -properties: - compatible: - oneOf: - - const: mac-base - description: > - Cell with base MAC address to be used for calculating extra relative - addresses. - It can be stored in a plain binary format (cell length 6) or as an - ASCII text like "00:11:22:33:44:55" (cell length 17). - - reg: - maxItems: 1 - - bits: - $ref: /schemas/types.yaml#/definitions/uint32-array - items: - - minimum: 0 - maximum: 7 - description: - Offset in bit within the address range specified by reg. - - minimum: 1 - description: - Size in bit within the address range specified by reg. - -allOf: - - if: - properties: - compatible: - contains: - const: mac-base - required: [ compatible ] - then: - properties: - "#nvmem-cell-cells": - description: The first argument is a MAC address offset. - const: 1 - required: - - "#nvmem-cell-cells" - -required: - - reg - -additionalProperties: true +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/nvmem/layouts/fixed-cell.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Fixed offset & size NVMEM cell + +maintainers: + - Rafał Miłecki + - Srinivas Kandagatla + +properties: + compatible: + oneOf: + - const: mac-base + description: > + Cell with base MAC address to be used for calculating extra relative + addresses. + It can be stored in a plain binary format (cell length 6) or as an + ASCII text like "00:11:22:33:44:55" (cell length 17). + + reg: + maxItems: 1 + + bits: + $ref: /schemas/types.yaml#/definitions/uint32-array + items: + - minimum: 0 + maximum: 7 + description: + Offset in bit within the address range specified by reg. + - minimum: 1 + description: + Size in bit within the address range specified by reg. + +allOf: + - if: + properties: + compatible: + contains: + const: mac-base + required: [ compatible ] + then: + properties: + "#nvmem-cell-cells": + description: The first argument is a MAC address offset. + const: 1 + required: + - "#nvmem-cell-cells" + +required: + - reg + +additionalProperties: true diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/nvmem/layouts/kontron,sl28-vpd.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/nvmem/layouts/kontron,sl28-vpd.yaml index d2a5813e4d..c713e23819 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/nvmem/layouts/kontron,sl28-vpd.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/nvmem/layouts/kontron,sl28-vpd.yaml @@ -1,64 +1,64 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/nvmem/layouts/kontron,sl28-vpd.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: NVMEM layout of the Kontron SMARC-sAL28 vital product data - -maintainers: - - Michael Walle - -description: - The vital product data (VPD) of the sl28 boards contains a serial - number and a base MAC address. The actual MAC addresses for the - on-board ethernet devices are derived from this base MAC address by - adding an offset. - -select: false - -properties: - compatible: - const: kontron,sl28-vpd - - serial-number: - type: object - description: The board's serial number - - additionalProperties: false - - base-mac-address: - type: object - description: - Base MAC address for all on-module network interfaces. The first - argument of the phandle will be treated as an offset. - - properties: - "#nvmem-cell-cells": - const: 1 - - additionalProperties: false - -required: - - compatible - -additionalProperties: false - -examples: - - | - otp-1 { - compatible = "user-otp"; - - nvmem-layout { - compatible = "kontron,sl28-vpd"; - - serial_number: serial-number { - }; - - base_mac_address: base-mac-address { - #nvmem-cell-cells = <1>; - }; - }; - }; - -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/nvmem/layouts/kontron,sl28-vpd.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NVMEM layout of the Kontron SMARC-sAL28 vital product data + +maintainers: + - Michael Walle + +description: + The vital product data (VPD) of the sl28 boards contains a serial + number and a base MAC address. The actual MAC addresses for the + on-board ethernet devices are derived from this base MAC address by + adding an offset. + +select: false + +properties: + compatible: + const: kontron,sl28-vpd + + serial-number: + type: object + description: The board's serial number + + additionalProperties: false + + base-mac-address: + type: object + description: + Base MAC address for all on-module network interfaces. The first + argument of the phandle will be treated as an offset. + + properties: + "#nvmem-cell-cells": + const: 1 + + additionalProperties: false + +required: + - compatible + +additionalProperties: false + +examples: + - | + otp-1 { + compatible = "user-otp"; + + nvmem-layout { + compatible = "kontron,sl28-vpd"; + + serial_number: serial-number { + }; + + base_mac_address: base-mac-address { + #nvmem-cell-cells = <1>; + }; + }; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/nvmem/rockchip-efuse.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/nvmem/rockchip-efuse.yaml index 8ddcbb6ad4..b80fd8d1ae 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/nvmem/rockchip-efuse.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/nvmem/rockchip-efuse.yaml @@ -1,73 +1,73 @@ -# SPDX-License-Identifier: GPL-2.0-or-later OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/nvmem/rockchip-efuse.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Rockchip eFuse - -maintainers: - - Heiko Stuebner - -allOf: - - $ref: nvmem.yaml# - - $ref: nvmem-deprecated-cells.yaml# - -properties: - compatible: - enum: - - rockchip,rk3066a-efuse - - rockchip,rk3188-efuse - - rockchip,rk3228-efuse - - rockchip,rk3288-efuse - - rockchip,rk3328-efuse - - rockchip,rk3368-efuse - - rockchip,rk3399-efuse - - # Deprecated: old compatible value for rk3066a, rk3188 and rk3288 - - rockchip,rockchip-efuse - - reg: - description: - Registers location and eFuse size. - maxItems: 1 - - clocks: - description: - eFuse clock id. - maxItems: 1 - - clock-names: - const: pclk_efuse - - rockchip,efuse-size: - description: - eFuse size in bytes. The eFuse size in property will be invalid if - this property is defined. - $ref: /schemas/types.yaml#/definitions/uint32 - -required: - - compatible - - reg - - clocks - - clock-names - -unevaluatedProperties: false - -examples: - - | - #include - efuse: efuse@ffb40000 { - compatible = "rockchip,rk3288-efuse"; - reg = <0xffb40000 0x20>; - #address-cells = <1>; - #size-cells = <1>; - clocks = <&cru PCLK_EFUSE256>; - clock-names = "pclk_efuse"; - - /* Data cells */ - cpu_leakage: cpu_leakage@17 { - reg = <0x17 0x1>; - }; - }; -... +# SPDX-License-Identifier: GPL-2.0-or-later OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/nvmem/rockchip-efuse.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Rockchip eFuse + +maintainers: + - Heiko Stuebner + +allOf: + - $ref: nvmem.yaml# + - $ref: nvmem-deprecated-cells.yaml# + +properties: + compatible: + enum: + - rockchip,rk3066a-efuse + - rockchip,rk3188-efuse + - rockchip,rk3228-efuse + - rockchip,rk3288-efuse + - rockchip,rk3328-efuse + - rockchip,rk3368-efuse + - rockchip,rk3399-efuse + + # Deprecated: old compatible value for rk3066a, rk3188 and rk3288 + - rockchip,rockchip-efuse + + reg: + description: + Registers location and eFuse size. + maxItems: 1 + + clocks: + description: + eFuse clock id. + maxItems: 1 + + clock-names: + const: pclk_efuse + + rockchip,efuse-size: + description: + eFuse size in bytes. The eFuse size in property will be invalid if + this property is defined. + $ref: /schemas/types.yaml#/definitions/uint32 + +required: + - compatible + - reg + - clocks + - clock-names + +unevaluatedProperties: false + +examples: + - | + #include + efuse: efuse@ffb40000 { + compatible = "rockchip,rk3288-efuse"; + reg = <0xffb40000 0x20>; + #address-cells = <1>; + #size-cells = <1>; + clocks = <&cru PCLK_EFUSE256>; + clock-names = "pclk_efuse"; + + /* Data cells */ + cpu_leakage: cpu_leakage@17 { + reg = <0x17 0x1>; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/nvmem/st,stm32-romem.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/nvmem/st,stm32-romem.yaml index 2453fc0d3c..3b2aa605a5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/nvmem/st,stm32-romem.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/nvmem/st,stm32-romem.yaml @@ -1,73 +1,73 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/nvmem/st,stm32-romem.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: STMicroelectronics STM32 Factory-programmed data - -description: | - This represents STM32 Factory-programmed read only non-volatile area: locked - flash, OTP, read-only HW regs... This contains various information such as: - analog calibration data for temperature sensor (e.g. TS_CAL1, TS_CAL2), - internal vref (VREFIN_CAL), unique device ID... - -maintainers: - - Fabrice Gasnier - -allOf: - - $ref: nvmem.yaml# - - $ref: nvmem-deprecated-cells.yaml# - -properties: - compatible: - enum: - - st,stm32f4-otp - - st,stm32mp13-bsec - - st,stm32mp15-bsec - - st,stm32mp25-bsec - - reg: - maxItems: 1 - -patternProperties: - "^.*@[0-9a-f]+$": - type: object - $ref: layouts/fixed-cell.yaml - unevaluatedProperties: false - - properties: - st,non-secure-otp: - description: | - This property explicits a factory programmed area that both secure - and non-secure worlds can access. It is needed when, by default, the - related area can only be reached by the secure world. - type: boolean - -required: - - "#address-cells" - - "#size-cells" - - compatible - - reg - -unevaluatedProperties: false - -examples: - - | - efuse@1fff7800 { - compatible = "st,stm32f4-otp"; - reg = <0x1fff7800 0x400>; - #address-cells = <1>; - #size-cells = <1>; - - calib@22c { - reg = <0x22c 0x2>; - }; - - mac_addr@e4 { - reg = <0xe4 0x8>; - st,non-secure-otp; - }; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/nvmem/st,stm32-romem.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: STMicroelectronics STM32 Factory-programmed data + +description: | + This represents STM32 Factory-programmed read only non-volatile area: locked + flash, OTP, read-only HW regs... This contains various information such as: + analog calibration data for temperature sensor (e.g. TS_CAL1, TS_CAL2), + internal vref (VREFIN_CAL), unique device ID... + +maintainers: + - Fabrice Gasnier + +allOf: + - $ref: nvmem.yaml# + - $ref: nvmem-deprecated-cells.yaml# + +properties: + compatible: + enum: + - st,stm32f4-otp + - st,stm32mp13-bsec + - st,stm32mp15-bsec + - st,stm32mp25-bsec + + reg: + maxItems: 1 + +patternProperties: + "^.*@[0-9a-f]+$": + type: object + $ref: layouts/fixed-cell.yaml + unevaluatedProperties: false + + properties: + st,non-secure-otp: + description: | + This property explicits a factory programmed area that both secure + and non-secure worlds can access. It is needed when, by default, the + related area can only be reached by the secure world. + type: boolean + +required: + - "#address-cells" + - "#size-cells" + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + efuse@1fff7800 { + compatible = "st,stm32f4-otp"; + reg = <0x1fff7800 0x400>; + #address-cells = <1>; + #size-cells = <1>; + + calib@22c { + reg = <0x22c 0x2>; + }; + + mac_addr@e4 { + reg = <0xe4 0x8>; + st,non-secure-otp; + }; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/nvmem/sunplus,sp7021-ocotp.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/nvmem/sunplus,sp7021-ocotp.yaml index 35fea9375a..af97eeb831 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/nvmem/sunplus,sp7021-ocotp.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/nvmem/sunplus,sp7021-ocotp.yaml @@ -1,79 +1,79 @@ -# 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/nvmem/sunplus,sp7021-ocotp.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: On-Chip OTP Memory for Sunplus SP7021 - -maintainers: - - Vincent Shih - -allOf: - - $ref: nvmem.yaml# - - $ref: nvmem-deprecated-cells.yaml# - -properties: - compatible: - const: sunplus,sp7021-ocotp - - reg: - maxItems: 2 - - reg-names: - items: - - const: hb_gpio - - const: otprx - - clocks: - maxItems: 1 - - thermal-calibration: - type: object - description: thermal calibration values - - disconnect-voltage: - type: object - description: disconnect voltages of usb2 port 0 and port 1 - - mac-address0: - type: object - description: MAC address of ethernet port 0 - - mac-address1: - type: object - description: MAC address of ethernet port 1 - -required: - - compatible - - reg - - reg-names - - clocks - -unevaluatedProperties: false - -examples: - - | - otp: otp@9c00af00 { - compatible = "sunplus,sp7021-ocotp"; - reg = <0x9c00af00 0x34>, <0x9c00af80 0x58>; - reg-names = "hb_gpio", "otprx"; - clocks = <&clkc 0x15>; - - #address-cells = <1>; - #size-cells = <1>; - therm_calib: thermal-calibration@14 { - reg = <0x14 0x3>; - }; - disc_vol: disconnect-voltage@18 { - reg = <0x18 0x2>; - }; - mac_addr0: mac-address0@34 { - reg = <0x34 0x6>; - }; - mac_addr1: mac-address1@3a { - reg = <0x3a 0x6>; - }; - }; -... +# 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/nvmem/sunplus,sp7021-ocotp.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: On-Chip OTP Memory for Sunplus SP7021 + +maintainers: + - Vincent Shih + +allOf: + - $ref: nvmem.yaml# + - $ref: nvmem-deprecated-cells.yaml# + +properties: + compatible: + const: sunplus,sp7021-ocotp + + reg: + maxItems: 2 + + reg-names: + items: + - const: hb_gpio + - const: otprx + + clocks: + maxItems: 1 + + thermal-calibration: + type: object + description: thermal calibration values + + disconnect-voltage: + type: object + description: disconnect voltages of usb2 port 0 and port 1 + + mac-address0: + type: object + description: MAC address of ethernet port 0 + + mac-address1: + type: object + description: MAC address of ethernet port 1 + +required: + - compatible + - reg + - reg-names + - clocks + +unevaluatedProperties: false + +examples: + - | + otp: otp@9c00af00 { + compatible = "sunplus,sp7021-ocotp"; + reg = <0x9c00af00 0x34>, <0x9c00af80 0x58>; + reg-names = "hb_gpio", "otprx"; + clocks = <&clkc 0x15>; + + #address-cells = <1>; + #size-cells = <1>; + therm_calib: thermal-calibration@14 { + reg = <0x14 0x3>; + }; + disc_vol: disconnect-voltage@18 { + reg = <0x18 0x2>; + }; + mac_addr0: mac-address0@34 { + reg = <0x34 0x6>; + }; + mac_addr1: mac-address1@3a { + reg = <0x3a 0x6>; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/opp/opp-v1.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/opp/opp-v1.yaml index 300e1c1819..07e26c2678 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/opp/opp-v1.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/opp/opp-v1.yaml @@ -1,51 +1,51 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/opp/opp-v1.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Generic OPP (Operating Performance Points) v1 - -maintainers: - - Viresh Kumar - -description: |+ - Devices work at voltage-current-frequency combinations and some implementations - have the liberty of choosing these. These combinations are called Operating - Performance Points aka OPPs. This document defines bindings for these OPPs - applicable across wide range of devices. For illustration purpose, this document - uses CPU as a device. - - This binding only supports voltage-frequency pairs. - -select: true - -properties: - operating-points: - $ref: /schemas/types.yaml#/definitions/uint32-matrix - items: - items: - - description: Frequency in kHz - - description: Voltage for OPP in uV - - -additionalProperties: true -examples: - - | - cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu@0 { - compatible = "arm,cortex-a9"; - device_type = "cpu"; - reg = <0>; - next-level-cache = <&L2>; - operating-points = - /* kHz uV */ - <792000 1100000>, - <396000 950000>, - <198000 850000>; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/opp/opp-v1.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Generic OPP (Operating Performance Points) v1 + +maintainers: + - Viresh Kumar + +description: |+ + Devices work at voltage-current-frequency combinations and some implementations + have the liberty of choosing these. These combinations are called Operating + Performance Points aka OPPs. This document defines bindings for these OPPs + applicable across wide range of devices. For illustration purpose, this document + uses CPU as a device. + + This binding only supports voltage-frequency pairs. + +select: true + +properties: + operating-points: + $ref: /schemas/types.yaml#/definitions/uint32-matrix + items: + items: + - description: Frequency in kHz + - description: Voltage for OPP in uV + + +additionalProperties: true +examples: + - | + cpus { + #address-cells = <1>; + #size-cells = <0>; + + cpu@0 { + compatible = "arm,cortex-a9"; + device_type = "cpu"; + reg = <0>; + next-level-cache = <&L2>; + operating-points = + /* kHz uV */ + <792000 1100000>, + <396000 950000>, + <198000 850000>; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/opp/opp-v2-qcom-level.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/opp/opp-v2-qcom-level.yaml index faa95738dd..a30ef93213 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/opp/opp-v2-qcom-level.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/opp/opp-v2-qcom-level.yaml @@ -1,63 +1,63 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/opp/opp-v2-qcom-level.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm OPP - -maintainers: - - Niklas Cassel - -allOf: - - $ref: opp-v2-base.yaml# - -properties: - compatible: - const: operating-points-v2-qcom-level - -patternProperties: - '^opp-?[0-9]+$': - type: object - additionalProperties: false - - properties: - opp-level: true - - qcom,opp-fuse-level: - description: | - A positive value representing the fuse corner/level associated with - this OPP node. Sometimes several corners/levels shares a certain fuse - corner/level. A fuse corner/level contains e.g. ref uV, min uV, - and max uV. - $ref: /schemas/types.yaml#/definitions/uint32-array - minItems: 1 - maxItems: 2 - - required: - - opp-level - - qcom,opp-fuse-level - -required: - - compatible - -additionalProperties: false - -examples: - - | - cpr_opp_table: opp-table-cpr { - compatible = "operating-points-v2-qcom-level"; - - cpr_opp1: opp1 { - opp-level = <1>; - qcom,opp-fuse-level = <1>; - }; - cpr_opp2: opp2 { - opp-level = <2>; - qcom,opp-fuse-level = <2>; - }; - cpr_opp3: opp3 { - opp-level = <3>; - qcom,opp-fuse-level = <3>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/opp/opp-v2-qcom-level.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm OPP + +maintainers: + - Niklas Cassel + +allOf: + - $ref: opp-v2-base.yaml# + +properties: + compatible: + const: operating-points-v2-qcom-level + +patternProperties: + '^opp-?[0-9]+$': + type: object + additionalProperties: false + + properties: + opp-level: true + + qcom,opp-fuse-level: + description: | + A positive value representing the fuse corner/level associated with + this OPP node. Sometimes several corners/levels shares a certain fuse + corner/level. A fuse corner/level contains e.g. ref uV, min uV, + and max uV. + $ref: /schemas/types.yaml#/definitions/uint32-array + minItems: 1 + maxItems: 2 + + required: + - opp-level + - qcom,opp-fuse-level + +required: + - compatible + +additionalProperties: false + +examples: + - | + cpr_opp_table: opp-table-cpr { + compatible = "operating-points-v2-qcom-level"; + + cpr_opp1: opp1 { + opp-level = <1>; + qcom,opp-fuse-level = <1>; + }; + cpr_opp2: opp2 { + opp-level = <2>; + qcom,opp-fuse-level = <2>; + }; + cpr_opp3: opp3 { + opp-level = <3>; + qcom,opp-fuse-level = <3>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pci/altr,msi-controller.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pci/altr,msi-controller.yaml index 942b4d4b20..98814862d0 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pci/altr,msi-controller.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pci/altr,msi-controller.yaml @@ -1,65 +1,65 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -# Copyright (C) 2015, 2024, Intel Corporation -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/altr,msi-controller.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Altera PCIe MSI controller - -maintainers: - - Matthew Gerlach - -properties: - compatible: - enum: - - altr,msi-1.0 - - reg: - items: - - description: CSR registers - - description: Vectors slave port region - - reg-names: - items: - - const: csr - - const: vector_slave - - interrupts: - maxItems: 1 - - msi-controller: true - - num-vectors: - description: number of vectors - $ref: /schemas/types.yaml#/definitions/uint32 - minimum: 1 - maximum: 32 - -required: - - compatible - - reg - - reg-names - - interrupts - - msi-controller - - num-vectors - -allOf: - - $ref: /schemas/interrupt-controller/msi-controller.yaml# - -unevaluatedProperties: false - -examples: - - | - #include - #include - msi@ff200000 { - compatible = "altr,msi-1.0"; - reg = <0xff200000 0x00000010>, - <0xff200010 0x00000080>; - reg-names = "csr", "vector_slave"; - interrupt-parent = <&hps_0_arm_gic_0>; - interrupts = ; - msi-controller; - num-vectors = <32>; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +# Copyright (C) 2015, 2024, Intel Corporation +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/altr,msi-controller.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Altera PCIe MSI controller + +maintainers: + - Matthew Gerlach + +properties: + compatible: + enum: + - altr,msi-1.0 + + reg: + items: + - description: CSR registers + - description: Vectors slave port region + + reg-names: + items: + - const: csr + - const: vector_slave + + interrupts: + maxItems: 1 + + msi-controller: true + + num-vectors: + description: number of vectors + $ref: /schemas/types.yaml#/definitions/uint32 + minimum: 1 + maximum: 32 + +required: + - compatible + - reg + - reg-names + - interrupts + - msi-controller + - num-vectors + +allOf: + - $ref: /schemas/interrupt-controller/msi-controller.yaml# + +unevaluatedProperties: false + +examples: + - | + #include + #include + msi@ff200000 { + compatible = "altr,msi-1.0"; + reg = <0xff200000 0x00000010>, + <0xff200010 0x00000080>; + reg-names = "csr", "vector_slave"; + interrupt-parent = <&hps_0_arm_gic_0>; + interrupts = ; + msi-controller; + num-vectors = <32>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pci/cdns,cdns-pcie-host.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pci/cdns,cdns-pcie-host.yaml index d78b318361..a8190d9b10 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pci/cdns,cdns-pcie-host.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pci/cdns,cdns-pcie-host.yaml @@ -1,72 +1,72 @@ -# SPDX-License-Identifier: GPL-2.0-only -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/pci/cdns,cdns-pcie-host.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Cadence PCIe host controller - -maintainers: - - Tom Joseph - -allOf: - - $ref: cdns-pcie-host.yaml# - -properties: - compatible: - const: cdns,cdns-pcie-host - - reg: - maxItems: 2 - - reg-names: - items: - - const: reg - - const: cfg - -required: - - reg - - reg-names - -unevaluatedProperties: false - -examples: - - | - bus { - #address-cells = <2>; - #size-cells = <2>; - - pcie@fb000000 { - compatible = "cdns,cdns-pcie-host"; - device_type = "pci"; - #address-cells = <3>; - #size-cells = <2>; - bus-range = <0x0 0xff>; - linux,pci-domain = <0>; - vendor-id = <0x17cd>; - device-id = <0x0200>; - - reg = <0x0 0xfb000000 0x0 0x01000000>, - <0x0 0x41000000 0x0 0x00001000>; - reg-names = "reg", "cfg"; - - ranges = <0x02000000 0x0 0x42000000 0x0 0x42000000 0x0 0x1000000>, - <0x01000000 0x0 0x43000000 0x0 0x43000000 0x0 0x0010000>; - dma-ranges = <0x02000000 0x0 0x0 0x0 0x0 0x1 0x00000000>; - - #interrupt-cells = <0x1>; - - interrupt-map = <0x0 0x0 0x0 0x1 &gic 0x0 0x0 0x0 14 0x1>, - <0x0 0x0 0x0 0x2 &gic 0x0 0x0 0x0 15 0x1>, - <0x0 0x0 0x0 0x3 &gic 0x0 0x0 0x0 16 0x1>, - <0x0 0x0 0x0 0x4 &gic 0x0 0x0 0x0 17 0x1>; - - interrupt-map-mask = <0x0 0x0 0x0 0x7>; - - msi-parent = <&its_pci>; - - phys = <&pcie_phy0>; - phy-names = "pcie-phy"; - }; - }; -... +# SPDX-License-Identifier: GPL-2.0-only +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/pci/cdns,cdns-pcie-host.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Cadence PCIe host controller + +maintainers: + - Tom Joseph + +allOf: + - $ref: cdns-pcie-host.yaml# + +properties: + compatible: + const: cdns,cdns-pcie-host + + reg: + maxItems: 2 + + reg-names: + items: + - const: reg + - const: cfg + +required: + - reg + - reg-names + +unevaluatedProperties: false + +examples: + - | + bus { + #address-cells = <2>; + #size-cells = <2>; + + pcie@fb000000 { + compatible = "cdns,cdns-pcie-host"; + device_type = "pci"; + #address-cells = <3>; + #size-cells = <2>; + bus-range = <0x0 0xff>; + linux,pci-domain = <0>; + vendor-id = <0x17cd>; + device-id = <0x0200>; + + reg = <0x0 0xfb000000 0x0 0x01000000>, + <0x0 0x41000000 0x0 0x00001000>; + reg-names = "reg", "cfg"; + + ranges = <0x02000000 0x0 0x42000000 0x0 0x42000000 0x0 0x1000000>, + <0x01000000 0x0 0x43000000 0x0 0x43000000 0x0 0x0010000>; + dma-ranges = <0x02000000 0x0 0x0 0x0 0x0 0x1 0x00000000>; + + #interrupt-cells = <0x1>; + + interrupt-map = <0x0 0x0 0x0 0x1 &gic 0x0 0x0 0x0 14 0x1>, + <0x0 0x0 0x0 0x2 &gic 0x0 0x0 0x0 15 0x1>, + <0x0 0x0 0x0 0x3 &gic 0x0 0x0 0x0 16 0x1>, + <0x0 0x0 0x0 0x4 &gic 0x0 0x0 0x0 17 0x1>; + + interrupt-map-mask = <0x0 0x0 0x0 0x7>; + + msi-parent = <&its_pci>; + + phys = <&pcie_phy0>; + phy-names = "pcie-phy"; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pci/intel,keembay-pcie-ep.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pci/intel,keembay-pcie-ep.yaml index 1d9d2b92c4..730e63fd76 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pci/intel,keembay-pcie-ep.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pci/intel,keembay-pcie-ep.yaml @@ -1,69 +1,69 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/pci/intel,keembay-pcie-ep.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Intel Keem Bay PCIe controller Endpoint mode - -maintainers: - - Wan Ahmad Zainie - - Srikanth Thokala - -properties: - compatible: - const: intel,keembay-pcie-ep - - reg: - maxItems: 5 - - reg-names: - items: - - const: dbi - - const: dbi2 - - const: atu - - const: addr_space - - const: apb - - interrupts: - maxItems: 4 - - interrupt-names: - items: - - const: pcie - - const: pcie_ev - - const: pcie_err - - const: pcie_mem_access - - num-lanes: - description: Number of lanes to use. - enum: [ 1, 2 ] - -required: - - compatible - - reg - - reg-names - - interrupts - - interrupt-names - -additionalProperties: false - -examples: - - | - #include - #include - pcie-ep@37000000 { - compatible = "intel,keembay-pcie-ep"; - reg = <0x37000000 0x00001000>, - <0x37100000 0x00001000>, - <0x37300000 0x00001000>, - <0x36000000 0x01000000>, - <0x37800000 0x00000200>; - reg-names = "dbi", "dbi2", "atu", "addr_space", "apb"; - interrupts = , - , - , - ; - interrupt-names = "pcie", "pcie_ev", "pcie_err", "pcie_mem_access"; - num-lanes = <2>; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/pci/intel,keembay-pcie-ep.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Intel Keem Bay PCIe controller Endpoint mode + +maintainers: + - Wan Ahmad Zainie + - Srikanth Thokala + +properties: + compatible: + const: intel,keembay-pcie-ep + + reg: + maxItems: 5 + + reg-names: + items: + - const: dbi + - const: dbi2 + - const: atu + - const: addr_space + - const: apb + + interrupts: + maxItems: 4 + + interrupt-names: + items: + - const: pcie + - const: pcie_ev + - const: pcie_err + - const: pcie_mem_access + + num-lanes: + description: Number of lanes to use. + enum: [ 1, 2 ] + +required: + - compatible + - reg + - reg-names + - interrupts + - interrupt-names + +additionalProperties: false + +examples: + - | + #include + #include + pcie-ep@37000000 { + compatible = "intel,keembay-pcie-ep"; + reg = <0x37000000 0x00001000>, + <0x37100000 0x00001000>, + <0x37300000 0x00001000>, + <0x36000000 0x01000000>, + <0x37800000 0x00000200>; + reg-names = "dbi", "dbi2", "atu", "addr_space", "apb"; + interrupts = , + , + , + ; + interrupt-names = "pcie", "pcie_ev", "pcie_err", "pcie_mem_access"; + num-lanes = <2>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pci/loongson.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pci/loongson.yaml index f8c22de02c..1988465e73 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pci/loongson.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pci/loongson.yaml @@ -1,63 +1,63 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/pci/loongson.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Loongson PCI Host Controller - -maintainers: - - Jiaxun Yang - -description: |+ - PCI host controller found on Loongson PCHs and SoCs. - -allOf: - - $ref: /schemas/pci/pci-host-bridge.yaml# - -properties: - compatible: - enum: - - loongson,ls2k-pci - - loongson,ls7a-pci - - loongson,rs780e-pci - - reg: - minItems: 1 - items: - - description: CFG0 standard config space register - - description: CFG1 extended config space register - - ranges: - minItems: 1 - maxItems: 3 - - -required: - - compatible - - reg - - ranges - -unevaluatedProperties: false - -examples: - - | - - bus { - #address-cells = <2>; - #size-cells = <2>; - pcie@1a000000 { - compatible = "loongson,rs780e-pci"; - device_type = "pci"; - #address-cells = <3>; - #size-cells = <2>; - - // CPU_PHYSICAL(2) SIZE(2) - reg = <0x0 0x1a000000 0x0 0x2000000>; - - // BUS_ADDRESS(3) CPU_PHYSICAL(2) SIZE(2) - ranges = <0x01000000 0x0 0x00004000 0x0 0x00004000 0x0 0x00004000>, - <0x02000000 0x0 0x40000000 0x0 0x40000000 0x0 0x40000000>; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/pci/loongson.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Loongson PCI Host Controller + +maintainers: + - Jiaxun Yang + +description: |+ + PCI host controller found on Loongson PCHs and SoCs. + +allOf: + - $ref: /schemas/pci/pci-host-bridge.yaml# + +properties: + compatible: + enum: + - loongson,ls2k-pci + - loongson,ls7a-pci + - loongson,rs780e-pci + + reg: + minItems: 1 + items: + - description: CFG0 standard config space register + - description: CFG1 extended config space register + + ranges: + minItems: 1 + maxItems: 3 + + +required: + - compatible + - reg + - ranges + +unevaluatedProperties: false + +examples: + - | + + bus { + #address-cells = <2>; + #size-cells = <2>; + pcie@1a000000 { + compatible = "loongson,rs780e-pci"; + device_type = "pci"; + #address-cells = <3>; + #size-cells = <2>; + + // CPU_PHYSICAL(2) SIZE(2) + reg = <0x0 0x1a000000 0x0 0x2000000>; + + // BUS_ADDRESS(3) CPU_PHYSICAL(2) SIZE(2) + ranges = <0x01000000 0x0 0x00004000 0x0 0x00004000 0x0 0x00004000>, + <0x02000000 0x0 0x40000000 0x0 0x40000000 0x0 0x40000000>; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pci/pci-armada8k.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pci/pci-armada8k.txt index 98e496c3bd..ff25a134be 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pci/pci-armada8k.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pci/pci-armada8k.txt @@ -1,48 +1,48 @@ -* Marvell Armada 7K/8K PCIe interface - -This PCIe host controller is based on the Synopsys DesignWare PCIe IP -and thus inherits all the common properties defined in snps,dw-pcie.yaml. - -Required properties: -- compatible: "marvell,armada8k-pcie" -- reg: must contain two register regions - - the control register region - - the config space region -- reg-names: - - "ctrl" for the control register region - - "config" for the config space region -- interrupts: Interrupt specifier for the PCIe controller -- clocks: reference to the PCIe controller clocks -- clock-names: mandatory if there is a second clock, in this case the - name must be "core" for the first clock and "reg" for the second - one - -Optional properties: -- phys: phandle(s) to PHY node(s) following the generic PHY bindings. - Either 1, 2 or 4 PHYs might be needed depending on the number of - PCIe lanes. -- phy-names: names of the PHYs corresponding to the number of lanes. - Must be "cp0-pcie0-x4-lane0-phy", "cp0-pcie0-x4-lane1-phy" for - 2 PHYs. - -Example: - - pcie@f2600000 { - compatible = "marvell,armada8k-pcie", "snps,dw-pcie"; - reg = <0 0xf2600000 0 0x10000>, <0 0xf6f00000 0 0x80000>; - reg-names = "ctrl", "config"; - #address-cells = <3>; - #size-cells = <2>; - #interrupt-cells = <1>; - device_type = "pci"; - dma-coherent; - - bus-range = <0 0xff>; - ranges = <0x81000000 0 0xf9000000 0 0xf9000000 0 0x10000 /* downstream I/O */ - 0x82000000 0 0xf6000000 0 0xf6000000 0 0xf00000>; /* non-prefetchable memory */ - interrupt-map-mask = <0 0 0 0>; - interrupt-map = <0 0 0 0 &gic 0 GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>; - interrupts = ; - num-lanes = <1>; - clocks = <&cpm_syscon0 1 13>; - }; +* Marvell Armada 7K/8K PCIe interface + +This PCIe host controller is based on the Synopsys DesignWare PCIe IP +and thus inherits all the common properties defined in snps,dw-pcie.yaml. + +Required properties: +- compatible: "marvell,armada8k-pcie" +- reg: must contain two register regions + - the control register region + - the config space region +- reg-names: + - "ctrl" for the control register region + - "config" for the config space region +- interrupts: Interrupt specifier for the PCIe controller +- clocks: reference to the PCIe controller clocks +- clock-names: mandatory if there is a second clock, in this case the + name must be "core" for the first clock and "reg" for the second + one + +Optional properties: +- phys: phandle(s) to PHY node(s) following the generic PHY bindings. + Either 1, 2 or 4 PHYs might be needed depending on the number of + PCIe lanes. +- phy-names: names of the PHYs corresponding to the number of lanes. + Must be "cp0-pcie0-x4-lane0-phy", "cp0-pcie0-x4-lane1-phy" for + 2 PHYs. + +Example: + + pcie@f2600000 { + compatible = "marvell,armada8k-pcie", "snps,dw-pcie"; + reg = <0 0xf2600000 0 0x10000>, <0 0xf6f00000 0 0x80000>; + reg-names = "ctrl", "config"; + #address-cells = <3>; + #size-cells = <2>; + #interrupt-cells = <1>; + device_type = "pci"; + dma-coherent; + + bus-range = <0 0xff>; + ranges = <0x81000000 0 0xf9000000 0 0xf9000000 0 0x10000 /* downstream I/O */ + 0x82000000 0 0xf6000000 0 0xf6000000 0 0xf00000>; /* non-prefetchable memory */ + interrupt-map-mask = <0 0 0 0>; + interrupt-map = <0 0 0 0 &gic 0 GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>; + interrupts = ; + num-lanes = <1>; + clocks = <&cpm_syscon0 1 13>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pci/pci-ep.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pci/pci-ep.yaml index 15c7b0d760..f75000e309 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pci/pci-ep.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pci/pci-ep.yaml @@ -1,59 +1,59 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/pci/pci-ep.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: PCI Endpoint Controller - -description: | - Common properties for PCI Endpoint Controller Nodes. - -maintainers: - - Kishon Vijay Abraham I - - Manivannan Sadhasivam - -properties: - $nodename: - pattern: "^pcie-ep@" - - max-functions: - description: Maximum number of functions that can be configured - $ref: /schemas/types.yaml#/definitions/uint8 - minimum: 1 - default: 1 - maximum: 255 - - max-virtual-functions: - description: Array representing the number of virtual functions corresponding to each physical - function - $ref: /schemas/types.yaml#/definitions/uint8-array - minItems: 1 - maxItems: 255 - - max-link-speed: - $ref: /schemas/types.yaml#/definitions/uint32 - enum: [ 1, 2, 3, 4 ] - - num-lanes: - description: maximum number of lanes - $ref: /schemas/types.yaml#/definitions/uint32 - minimum: 1 - default: 1 - maximum: 16 - - linux,pci-domain: - description: - If present this property assigns a fixed PCI domain number to a PCI - Endpoint Controller, otherwise an unstable (across boots) unique number - will be assigned. It is required to either not set this property at all - or set it for all PCI endpoint controllers in the system, otherwise - potentially conflicting domain numbers may be assigned to endpoint - controllers. The domain number for each endpoint controller in the system - must be unique. - $ref: /schemas/types.yaml#/definitions/uint32 - -required: - - compatible - -additionalProperties: true +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/pci/pci-ep.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: PCI Endpoint Controller + +description: | + Common properties for PCI Endpoint Controller Nodes. + +maintainers: + - Kishon Vijay Abraham I + - Manivannan Sadhasivam + +properties: + $nodename: + pattern: "^pcie-ep@" + + max-functions: + description: Maximum number of functions that can be configured + $ref: /schemas/types.yaml#/definitions/uint8 + minimum: 1 + default: 1 + maximum: 255 + + max-virtual-functions: + description: Array representing the number of virtual functions corresponding to each physical + function + $ref: /schemas/types.yaml#/definitions/uint8-array + minItems: 1 + maxItems: 255 + + max-link-speed: + $ref: /schemas/types.yaml#/definitions/uint32 + enum: [ 1, 2, 3, 4 ] + + num-lanes: + description: maximum number of lanes + $ref: /schemas/types.yaml#/definitions/uint32 + minimum: 1 + default: 1 + maximum: 16 + + linux,pci-domain: + description: + If present this property assigns a fixed PCI domain number to a PCI + Endpoint Controller, otherwise an unstable (across boots) unique number + will be assigned. It is required to either not set this property at all + or set it for all PCI endpoint controllers in the system, otherwise + potentially conflicting domain numbers may be assigned to endpoint + controllers. The domain number for each endpoint controller in the system + must be unique. + $ref: /schemas/types.yaml#/definitions/uint32 + +required: + - compatible + +additionalProperties: true diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pci/pcie-al.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pci/pcie-al.txt index c8f79f2fa7..2ad1fe466e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pci/pcie-al.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pci/pcie-al.txt @@ -1,46 +1,46 @@ -* Amazon Annapurna Labs PCIe host bridge - -Amazon's Annapurna Labs PCIe Host Controller is based on the Synopsys DesignWare -PCI core. It inherits common properties defined in -Documentation/devicetree/bindings/pci/snps,dw-pcie.yaml. - -Properties of the host controller node that differ from it are: - -- compatible: - Usage: required - Value type: - Definition: Value should contain - - "amazon,al-alpine-v2-pcie" for alpine_v2 - - "amazon,al-alpine-v3-pcie" for alpine_v3 - -- reg: - Usage: required - Value type: - Definition: Register ranges as listed in the reg-names property - -- reg-names: - Usage: required - Value type: - Definition: Must include the following entries - - "config" PCIe ECAM space - - "controller" AL proprietary registers - - "dbi" Designware PCIe registers - -Example: - - pcie-external0: pcie@fb600000 { - compatible = "amazon,al-alpine-v3-pcie"; - reg = <0x0 0xfb600000 0x0 0x00100000 - 0x0 0xfd800000 0x0 0x00010000 - 0x0 0xfd810000 0x0 0x00001000>; - reg-names = "config", "controller", "dbi"; - bus-range = <0 255>; - device_type = "pci"; - #address-cells = <3>; - #size-cells = <2>; - #interrupt-cells = <1>; - interrupts = ; - interrupt-map-mask = <0x00 0 0 7>; - interrupt-map = <0x0000 0 0 1 &gic GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>; /* INTa */ - ranges = <0x02000000 0x0 0xc0010000 0x0 0xc0010000 0x0 0x07ff0000>; - }; +* Amazon Annapurna Labs PCIe host bridge + +Amazon's Annapurna Labs PCIe Host Controller is based on the Synopsys DesignWare +PCI core. It inherits common properties defined in +Documentation/devicetree/bindings/pci/snps,dw-pcie.yaml. + +Properties of the host controller node that differ from it are: + +- compatible: + Usage: required + Value type: + Definition: Value should contain + - "amazon,al-alpine-v2-pcie" for alpine_v2 + - "amazon,al-alpine-v3-pcie" for alpine_v3 + +- reg: + Usage: required + Value type: + Definition: Register ranges as listed in the reg-names property + +- reg-names: + Usage: required + Value type: + Definition: Must include the following entries + - "config" PCIe ECAM space + - "controller" AL proprietary registers + - "dbi" Designware PCIe registers + +Example: + + pcie-external0: pcie@fb600000 { + compatible = "amazon,al-alpine-v3-pcie"; + reg = <0x0 0xfb600000 0x0 0x00100000 + 0x0 0xfd800000 0x0 0x00010000 + 0x0 0xfd810000 0x0 0x00001000>; + reg-names = "config", "controller", "dbi"; + bus-range = <0 255>; + device_type = "pci"; + #address-cells = <3>; + #size-cells = <2>; + #interrupt-cells = <1>; + interrupts = ; + interrupt-map-mask = <0x00 0 0 7>; + interrupt-map = <0x0000 0 0 1 &gic GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>; /* INTa */ + ranges = <0x02000000 0x0 0xc0010000 0x0 0xc0010000 0x0 0x07ff0000>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pci/plda,xpressrich3-axi-common.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pci/plda,xpressrich3-axi-common.yaml index d8f60d7f8f..7a57a80052 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pci/plda,xpressrich3-axi-common.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pci/plda,xpressrich3-axi-common.yaml @@ -1,75 +1,75 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/pci/plda,xpressrich3-axi-common.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: PLDA XpressRICH PCIe host common properties - -maintainers: - - Daire McNamara - - Kevin Xie - -description: - Generic PLDA XpressRICH PCIe host common properties. - -allOf: - - $ref: /schemas/pci/pci-host-bridge.yaml# - -properties: - reg: - maxItems: 2 - - reg-names: - items: - - const: cfg - - const: apb - - interrupts: - minItems: 1 - items: - - description: PCIe host controller - - description: builtin MSI controller - - interrupt-names: - minItems: 1 - items: - - const: pcie - - const: msi - - msi-controller: - description: Identifies the node as an MSI controller. - - msi-parent: - description: MSI controller the device is capable of using. - - interrupt-controller: - type: object - properties: - '#address-cells': - const: 0 - - '#interrupt-cells': - const: 1 - - interrupt-controller: true - - required: - - '#address-cells' - - '#interrupt-cells' - - interrupt-controller - - additionalProperties: false - -required: - - reg - - reg-names - - interrupts - - msi-controller - - "#interrupt-cells" - - interrupt-map-mask - - interrupt-map - -additionalProperties: true - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/pci/plda,xpressrich3-axi-common.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: PLDA XpressRICH PCIe host common properties + +maintainers: + - Daire McNamara + - Kevin Xie + +description: + Generic PLDA XpressRICH PCIe host common properties. + +allOf: + - $ref: /schemas/pci/pci-host-bridge.yaml# + +properties: + reg: + maxItems: 2 + + reg-names: + items: + - const: cfg + - const: apb + + interrupts: + minItems: 1 + items: + - description: PCIe host controller + - description: builtin MSI controller + + interrupt-names: + minItems: 1 + items: + - const: pcie + - const: msi + + msi-controller: + description: Identifies the node as an MSI controller. + + msi-parent: + description: MSI controller the device is capable of using. + + interrupt-controller: + type: object + properties: + '#address-cells': + const: 0 + + '#interrupt-cells': + const: 1 + + interrupt-controller: true + + required: + - '#address-cells' + - '#interrupt-cells' + - interrupt-controller + + additionalProperties: false + +required: + - reg + - reg-names + - interrupts + - msi-controller + - "#interrupt-cells" + - interrupt-map-mask + - interrupt-map + +additionalProperties: true + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pci/qcom,pcie-common.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pci/qcom,pcie-common.yaml index dd02d3179b..e18900c415 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pci/qcom,pcie-common.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pci/qcom,pcie-common.yaml @@ -1,103 +1,103 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/pci/qcom,pcie-common.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm PCI Express Root Complex Common Properties - -maintainers: - - Bjorn Andersson - - Manivannan Sadhasivam - -properties: - reg: - minItems: 4 - maxItems: 6 - - reg-names: - minItems: 4 - maxItems: 6 - - interrupts: - minItems: 1 - maxItems: 9 - - interrupt-names: - minItems: 1 - maxItems: 9 - - iommu-map: - minItems: 1 - maxItems: 16 - - clocks: - minItems: 3 - maxItems: 13 - - clock-names: - minItems: 3 - maxItems: 13 - - dma-coherent: true - - interconnects: - maxItems: 2 - - interconnect-names: - items: - - const: pcie-mem - - const: cpu-pcie - - phys: - maxItems: 1 - - phy-names: - items: - - const: pciephy - - power-domains: - maxItems: 1 - - required-opps: - maxItems: 1 - - resets: - minItems: 1 - maxItems: 12 - - reset-names: - minItems: 1 - maxItems: 12 - - perst-gpios: - description: GPIO controlled connection to PERST# signal - maxItems: 1 - - wake-gpios: - description: GPIO controlled connection to WAKE# signal - maxItems: 1 - - vddpe-3v3-supply: - description: PCIe endpoint power supply - -required: - - reg - - reg-names - - interrupt-map-mask - - interrupt-map - - clocks - - clock-names - -anyOf: - - required: - - interrupts - - interrupt-names - - "#interrupt-cells" - - required: - - msi-map - -allOf: - - $ref: /schemas/pci/pci-host-bridge.yaml# - -additionalProperties: true +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/pci/qcom,pcie-common.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm PCI Express Root Complex Common Properties + +maintainers: + - Bjorn Andersson + - Manivannan Sadhasivam + +properties: + reg: + minItems: 4 + maxItems: 6 + + reg-names: + minItems: 4 + maxItems: 6 + + interrupts: + minItems: 1 + maxItems: 9 + + interrupt-names: + minItems: 1 + maxItems: 9 + + iommu-map: + minItems: 1 + maxItems: 16 + + clocks: + minItems: 3 + maxItems: 13 + + clock-names: + minItems: 3 + maxItems: 13 + + dma-coherent: true + + interconnects: + maxItems: 2 + + interconnect-names: + items: + - const: pcie-mem + - const: cpu-pcie + + phys: + maxItems: 1 + + phy-names: + items: + - const: pciephy + + power-domains: + maxItems: 1 + + required-opps: + maxItems: 1 + + resets: + minItems: 1 + maxItems: 12 + + reset-names: + minItems: 1 + maxItems: 12 + + perst-gpios: + description: GPIO controlled connection to PERST# signal + maxItems: 1 + + wake-gpios: + description: GPIO controlled connection to WAKE# signal + maxItems: 1 + + vddpe-3v3-supply: + description: PCIe endpoint power supply + +required: + - reg + - reg-names + - interrupt-map-mask + - interrupt-map + - clocks + - clock-names + +anyOf: + - required: + - interrupts + - interrupt-names + - "#interrupt-cells" + - required: + - msi-map + +allOf: + - $ref: /schemas/pci/pci-host-bridge.yaml# + +additionalProperties: true diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pci/ti,am65-pci-ep.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pci/ti,am65-pci-ep.yaml index 01ebf093eb..74195c1f52 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pci/ti,am65-pci-ep.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pci/ti,am65-pci-ep.yaml @@ -1,76 +1,76 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -# Copyright (C) 2021 Texas Instruments Incorporated - http://www.ti.com/ -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/pci/ti,am65-pci-ep.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: TI AM65 PCI Endpoint - -maintainers: - - Kishon Vijay Abraham I - -allOf: - - $ref: pci-ep.yaml# - -properties: - compatible: - enum: - - ti,am654-pcie-ep - - reg: - maxItems: 4 - - reg-names: - items: - - const: app - - const: dbics - - const: addr_space - - const: atu - - power-domains: - maxItems: 1 - - ti,syscon-pcie-mode: - $ref: /schemas/types.yaml#/definitions/phandle-array - items: - - items: - - description: Phandle to the SYSCON entry - - description: pcie_ctrl register offset within SYSCON - description: Phandle to the SYSCON entry required for configuring PCIe in RC or EP mode. - - interrupts: - minItems: 1 - - dma-coherent: true - -required: - - compatible - - reg - - reg-names - - max-link-speed - - power-domains - - ti,syscon-pcie-mode - - dma-coherent - -unevaluatedProperties: false - -examples: - - | - #include - #include - #include - - pcie0_ep: pcie-ep@5500000 { - compatible = "ti,am654-pcie-ep"; - reg = <0x5500000 0x1000>, - <0x5501000 0x1000>, - <0x10000000 0x8000000>, - <0x5506000 0x1000>; - reg-names = "app", "dbics", "addr_space", "atu"; - power-domains = <&k3_pds 120 TI_SCI_PD_EXCLUSIVE>; - ti,syscon-pcie-mode = <&scm_conf 0x4060>; - max-link-speed = <2>; - dma-coherent; - interrupts = ; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +# Copyright (C) 2021 Texas Instruments Incorporated - http://www.ti.com/ +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/pci/ti,am65-pci-ep.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: TI AM65 PCI Endpoint + +maintainers: + - Kishon Vijay Abraham I + +allOf: + - $ref: pci-ep.yaml# + +properties: + compatible: + enum: + - ti,am654-pcie-ep + + reg: + maxItems: 4 + + reg-names: + items: + - const: app + - const: dbics + - const: addr_space + - const: atu + + power-domains: + maxItems: 1 + + ti,syscon-pcie-mode: + $ref: /schemas/types.yaml#/definitions/phandle-array + items: + - items: + - description: Phandle to the SYSCON entry + - description: pcie_ctrl register offset within SYSCON + description: Phandle to the SYSCON entry required for configuring PCIe in RC or EP mode. + + interrupts: + minItems: 1 + + dma-coherent: true + +required: + - compatible + - reg + - reg-names + - max-link-speed + - power-domains + - ti,syscon-pcie-mode + - dma-coherent + +unevaluatedProperties: false + +examples: + - | + #include + #include + #include + + pcie0_ep: pcie-ep@5500000 { + compatible = "ti,am654-pcie-ep"; + reg = <0x5500000 0x1000>, + <0x5501000 0x1000>, + <0x10000000 0x8000000>, + <0x5506000 0x1000>; + reg-names = "app", "dbics", "addr_space", "atu"; + power-domains = <&k3_pds 120 TI_SCI_PD_EXCLUSIVE>; + ti,syscon-pcie-mode = <&scm_conf 0x4060>; + max-link-speed = <2>; + dma-coherent; + interrupts = ; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/peci/peci-aspeed.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/peci/peci-aspeed.yaml index 0c5a72d2c7..b01e0c8b96 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/peci/peci-aspeed.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/peci/peci-aspeed.yaml @@ -1,72 +1,72 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/peci/peci-aspeed.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Aspeed PECI Bus - -maintainers: - - Iwona Winiarska - - Jae Hyun Yoo - -allOf: - - $ref: peci-controller.yaml# - -properties: - compatible: - enum: - - aspeed,ast2400-peci - - aspeed,ast2500-peci - - aspeed,ast2600-peci - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - description: - Clock source for PECI controller. Should reference the external - oscillator clock. - maxItems: 1 - - resets: - maxItems: 1 - - cmd-timeout-ms: - minimum: 1 - maximum: 1000 - default: 1000 - - clock-frequency: - description: - The desired operation frequency of PECI controller in Hz. - minimum: 2000 - maximum: 2000000 - default: 1000000 - -required: - - compatible - - reg - - interrupts - - clocks - - resets - -additionalProperties: false - -examples: - - | - #include - #include - peci-controller@1e78b000 { - compatible = "aspeed,ast2600-peci"; - reg = <0x1e78b000 0x100>; - interrupts = ; - clocks = <&syscon ASPEED_CLK_GATE_REF0CLK>; - resets = <&syscon ASPEED_RESET_PECI>; - cmd-timeout-ms = <1000>; - clock-frequency = <1000000>; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/peci/peci-aspeed.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Aspeed PECI Bus + +maintainers: + - Iwona Winiarska + - Jae Hyun Yoo + +allOf: + - $ref: peci-controller.yaml# + +properties: + compatible: + enum: + - aspeed,ast2400-peci + - aspeed,ast2500-peci + - aspeed,ast2600-peci + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + description: + Clock source for PECI controller. Should reference the external + oscillator clock. + maxItems: 1 + + resets: + maxItems: 1 + + cmd-timeout-ms: + minimum: 1 + maximum: 1000 + default: 1000 + + clock-frequency: + description: + The desired operation frequency of PECI controller in Hz. + minimum: 2000 + maximum: 2000000 + default: 1000000 + +required: + - compatible + - reg + - interrupts + - clocks + - resets + +additionalProperties: false + +examples: + - | + #include + #include + peci-controller@1e78b000 { + compatible = "aspeed,ast2600-peci"; + reg = <0x1e78b000 0x100>; + interrupts = ; + clocks = <&syscon ASPEED_CLK_GATE_REF0CLK>; + resets = <&syscon ASPEED_RESET_PECI>; + cmd-timeout-ms = <1000>; + clock-frequency = <1000000>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/perf/arm,cmn.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/perf/arm,cmn.yaml index 9e369ed4c9..0e9d665584 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/perf/arm,cmn.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/perf/arm,cmn.yaml @@ -1,70 +1,70 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -# Copyright 2020 Arm Ltd. -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/perf/arm,cmn.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Arm CMN (Coherent Mesh Network) Performance Monitors - -maintainers: - - Robin Murphy - -properties: - compatible: - enum: - - arm,cmn-600 - - arm,cmn-650 - - arm,cmn-700 - - arm,cmn-s3 - - arm,ci-700 - - reg: - items: - - description: Physical address of the base (PERIPHBASE) and - size of the configuration address space. - - interrupts: - minItems: 1 - items: - - description: Overflow interrupt for DTC0 - - description: Overflow interrupt for DTC1 - - description: Overflow interrupt for DTC2 - - description: Overflow interrupt for DTC3 - description: One interrupt for each DTC domain implemented must - be specified, in order. DTC0 is always present. - - arm,root-node: - $ref: /schemas/types.yaml#/definitions/uint32 - description: Offset from PERIPHBASE of CMN-600's configuration - discovery node (see TRM definition of ROOTNODEBASE). Not - relevant for newer CMN/CI products. - -required: - - compatible - - reg - - interrupts - -if: - properties: - compatible: - contains: - const: arm,cmn-600 -then: - required: - - arm,root-node - -additionalProperties: false - -examples: - - | - #include - #include - pmu@50000000 { - compatible = "arm,cmn-600"; - reg = <0x50000000 0x4000000>; - /* 4x2 mesh with one DTC, and CFG node at 0,1,1,0 */ - interrupts = ; - arm,root-node = <0x104000>; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +# Copyright 2020 Arm Ltd. +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/perf/arm,cmn.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Arm CMN (Coherent Mesh Network) Performance Monitors + +maintainers: + - Robin Murphy + +properties: + compatible: + enum: + - arm,cmn-600 + - arm,cmn-650 + - arm,cmn-700 + - arm,cmn-s3 + - arm,ci-700 + + reg: + items: + - description: Physical address of the base (PERIPHBASE) and + size of the configuration address space. + + interrupts: + minItems: 1 + items: + - description: Overflow interrupt for DTC0 + - description: Overflow interrupt for DTC1 + - description: Overflow interrupt for DTC2 + - description: Overflow interrupt for DTC3 + description: One interrupt for each DTC domain implemented must + be specified, in order. DTC0 is always present. + + arm,root-node: + $ref: /schemas/types.yaml#/definitions/uint32 + description: Offset from PERIPHBASE of CMN-600's configuration + discovery node (see TRM definition of ROOTNODEBASE). Not + relevant for newer CMN/CI products. + +required: + - compatible + - reg + - interrupts + +if: + properties: + compatible: + contains: + const: arm,cmn-600 +then: + required: + - arm,root-node + +additionalProperties: false + +examples: + - | + #include + #include + pmu@50000000 { + compatible = "arm,cmn-600"; + reg = <0x50000000 0x4000000>; + /* 4x2 mesh with one DTC, and CFG node at 0,1,1,0 */ + interrupts = ; + arm,root-node = <0x104000>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/perf/arm,smmu-v3-pmcg.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/perf/arm,smmu-v3-pmcg.yaml index 15e11a9b3e..a4b53a6a1e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/perf/arm,smmu-v3-pmcg.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/perf/arm,smmu-v3-pmcg.yaml @@ -1,70 +1,70 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/perf/arm,smmu-v3-pmcg.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Arm SMMUv3 Performance Monitor Counter Group - -maintainers: - - Will Deacon - - Robin Murphy - -description: | - An SMMUv3 may have several Performance Monitor Counter Group (PMCG). - They are standalone performance monitoring units that support both - architected and IMPLEMENTATION DEFINED event counters. - -properties: - $nodename: - pattern: "^pmu@[0-9a-f]*" - compatible: - oneOf: - - items: - - const: arm,mmu-600-pmcg - - const: arm,smmu-v3-pmcg - - const: arm,smmu-v3-pmcg - - reg: - items: - - description: Register page 0 - - description: Register page 1, if SMMU_PMCG_CFGR.RELOC_CTRS = 1 - minItems: 1 - - interrupts: - maxItems: 1 - - msi-parent: true - -required: - - compatible - - reg - -anyOf: - - required: - - interrupts - - required: - - msi-parent - -additionalProperties: false - -examples: - - | - #include - #include - - pmu@2b420000 { - compatible = "arm,smmu-v3-pmcg"; - reg = <0x2b420000 0x1000>, - <0x2b430000 0x1000>; - interrupts = ; - msi-parent = <&its 0xff0000>; - }; - - pmu@2b440000 { - compatible = "arm,smmu-v3-pmcg"; - reg = <0x2b440000 0x1000>, - <0x2b450000 0x1000>; - interrupts = ; - msi-parent = <&its 0xff0000>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/perf/arm,smmu-v3-pmcg.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Arm SMMUv3 Performance Monitor Counter Group + +maintainers: + - Will Deacon + - Robin Murphy + +description: | + An SMMUv3 may have several Performance Monitor Counter Group (PMCG). + They are standalone performance monitoring units that support both + architected and IMPLEMENTATION DEFINED event counters. + +properties: + $nodename: + pattern: "^pmu@[0-9a-f]*" + compatible: + oneOf: + - items: + - const: arm,mmu-600-pmcg + - const: arm,smmu-v3-pmcg + - const: arm,smmu-v3-pmcg + + reg: + items: + - description: Register page 0 + - description: Register page 1, if SMMU_PMCG_CFGR.RELOC_CTRS = 1 + minItems: 1 + + interrupts: + maxItems: 1 + + msi-parent: true + +required: + - compatible + - reg + +anyOf: + - required: + - interrupts + - required: + - msi-parent + +additionalProperties: false + +examples: + - | + #include + #include + + pmu@2b420000 { + compatible = "arm,smmu-v3-pmcg"; + reg = <0x2b420000 0x1000>, + <0x2b430000 0x1000>; + interrupts = ; + msi-parent = <&its 0xff0000>; + }; + + pmu@2b440000 { + compatible = "arm,smmu-v3-pmcg"; + reg = <0x2b440000 0x1000>, + <0x2b450000 0x1000>; + interrupts = ; + msi-parent = <&its 0xff0000>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/perf/marvell-cn10k-tad.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/perf/marvell-cn10k-tad.yaml index c4f6376a8f..3621422526 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/perf/marvell-cn10k-tad.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/perf/marvell-cn10k-tad.yaml @@ -1,63 +1,63 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/perf/marvell-cn10k-tad.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Marvell CN10K LLC-TAD performance monitor - -maintainers: - - Bhaskara Budiredla - -description: | - The Tag-and-Data units (TADs) maintain coherence and contain CN10K - shared on-chip last level cache (LLC). The tad pmu measures the - performance of last-level cache. Each tad pmu supports up to eight - counters. - - The DT setup comprises of number of tad blocks, the sizes of pmu - regions, tad blocks and overall base address of the HW. - -properties: - compatible: - const: marvell,cn10k-tad-pmu - - reg: - maxItems: 1 - - marvell,tad-cnt: - description: specifies the number of tads on the soc - $ref: /schemas/types.yaml#/definitions/uint32 - - marvell,tad-page-size: - description: specifies the size of each tad page - $ref: /schemas/types.yaml#/definitions/uint32 - - marvell,tad-pmu-page-size: - description: specifies the size of page that the pmu uses - $ref: /schemas/types.yaml#/definitions/uint32 - -required: - - compatible - - reg - - marvell,tad-cnt - - marvell,tad-page-size - - marvell,tad-pmu-page-size - -additionalProperties: false - -examples: - - | - - tad { - #address-cells = <2>; - #size-cells = <2>; - - tad_pmu@80000000 { - compatible = "marvell,cn10k-tad-pmu"; - reg = <0x87e2 0x80000000 0x0 0x1000>; - marvell,tad-cnt = <1>; - marvell,tad-page-size = <0x1000>; - marvell,tad-pmu-page-size = <0x1000>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/perf/marvell-cn10k-tad.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Marvell CN10K LLC-TAD performance monitor + +maintainers: + - Bhaskara Budiredla + +description: | + The Tag-and-Data units (TADs) maintain coherence and contain CN10K + shared on-chip last level cache (LLC). The tad pmu measures the + performance of last-level cache. Each tad pmu supports up to eight + counters. + + The DT setup comprises of number of tad blocks, the sizes of pmu + regions, tad blocks and overall base address of the HW. + +properties: + compatible: + const: marvell,cn10k-tad-pmu + + reg: + maxItems: 1 + + marvell,tad-cnt: + description: specifies the number of tads on the soc + $ref: /schemas/types.yaml#/definitions/uint32 + + marvell,tad-page-size: + description: specifies the size of each tad page + $ref: /schemas/types.yaml#/definitions/uint32 + + marvell,tad-pmu-page-size: + description: specifies the size of page that the pmu uses + $ref: /schemas/types.yaml#/definitions/uint32 + +required: + - compatible + - reg + - marvell,tad-cnt + - marvell,tad-page-size + - marvell,tad-pmu-page-size + +additionalProperties: false + +examples: + - | + + tad { + #address-cells = <2>; + #size-cells = <2>; + + tad_pmu@80000000 { + compatible = "marvell,cn10k-tad-pmu"; + reg = <0x87e2 0x80000000 0x0 0x1000>; + marvell,tad-cnt = <1>; + marvell,tad-page-size = <0x1000>; + marvell,tad-pmu-page-size = <0x1000>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/airoha,en7581-pcie-phy.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/airoha,en7581-pcie-phy.yaml index 4b4d090392..98fcb1b364 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/airoha,en7581-pcie-phy.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/airoha,en7581-pcie-phy.yaml @@ -1,69 +1,69 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/phy/airoha,en7581-pcie-phy.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Airoha EN7581 PCI-Express PHY - -maintainers: - - Lorenzo Bianconi - -description: - The PCIe PHY supports physical layer functionality for PCIe Gen2/Gen3 port. - -properties: - compatible: - const: airoha,en7581-pcie-phy - - reg: - items: - - description: PCIE analog base address - - description: PCIE lane0 base address - - description: PCIE lane1 base address - - description: PCIE lane0 detection time base address - - description: PCIE lane1 detection time base address - - description: PCIE Rx AEQ base address - - reg-names: - items: - - const: csr-2l - - const: pma0 - - const: pma1 - - const: p0-xr-dtime - - const: p1-xr-dtime - - const: rx-aeq - - "#phy-cells": - const: 0 - -required: - - compatible - - reg - - reg-names - - "#phy-cells" - -additionalProperties: false - -examples: - - | - #include - - soc { - #address-cells = <2>; - #size-cells = <2>; - - phy@11e80000 { - compatible = "airoha,en7581-pcie-phy"; - #phy-cells = <0>; - reg = <0x0 0x1fa5a000 0x0 0xfff>, - <0x0 0x1fa5b000 0x0 0xfff>, - <0x0 0x1fa5c000 0x0 0xfff>, - <0x0 0x1fc10044 0x0 0x4>, - <0x0 0x1fc30044 0x0 0x4>, - <0x0 0x1fc15030 0x0 0x104>; - reg-names = "csr-2l", "pma0", "pma1", - "p0-xr-dtime", "p1-xr-dtime", - "rx-aeq"; - }; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/airoha,en7581-pcie-phy.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Airoha EN7581 PCI-Express PHY + +maintainers: + - Lorenzo Bianconi + +description: + The PCIe PHY supports physical layer functionality for PCIe Gen2/Gen3 port. + +properties: + compatible: + const: airoha,en7581-pcie-phy + + reg: + items: + - description: PCIE analog base address + - description: PCIE lane0 base address + - description: PCIE lane1 base address + - description: PCIE lane0 detection time base address + - description: PCIE lane1 detection time base address + - description: PCIE Rx AEQ base address + + reg-names: + items: + - const: csr-2l + - const: pma0 + - const: pma1 + - const: p0-xr-dtime + - const: p1-xr-dtime + - const: rx-aeq + + "#phy-cells": + const: 0 + +required: + - compatible + - reg + - reg-names + - "#phy-cells" + +additionalProperties: false + +examples: + - | + #include + + soc { + #address-cells = <2>; + #size-cells = <2>; + + phy@11e80000 { + compatible = "airoha,en7581-pcie-phy"; + #phy-cells = <0>; + reg = <0x0 0x1fa5a000 0x0 0xfff>, + <0x0 0x1fa5b000 0x0 0xfff>, + <0x0 0x1fa5c000 0x0 0xfff>, + <0x0 0x1fc10044 0x0 0x4>, + <0x0 0x1fc30044 0x0 0x4>, + <0x0 0x1fc15030 0x0 0x104>; + reg-names = "csr-2l", "pma0", "pma1", + "p0-xr-dtime", "p1-xr-dtime", + "rx-aeq"; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/allwinner,sun6i-a31-mipi-dphy.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/allwinner,sun6i-a31-mipi-dphy.yaml index 73063361d0..6a4fd49299 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/allwinner,sun6i-a31-mipi-dphy.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/allwinner,sun6i-a31-mipi-dphy.yaml @@ -1,84 +1,84 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/phy/allwinner,sun6i-a31-mipi-dphy.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Allwinner A31 MIPI D-PHY Controller - -maintainers: - - Chen-Yu Tsai - - Maxime Ripard - -properties: - "#phy-cells": - const: 0 - - compatible: - oneOf: - - const: allwinner,sun6i-a31-mipi-dphy - - const: allwinner,sun50i-a100-mipi-dphy - - items: - - const: allwinner,sun50i-a64-mipi-dphy - - const: allwinner,sun6i-a31-mipi-dphy - - items: - - const: allwinner,sun20i-d1-mipi-dphy - - const: allwinner,sun50i-a100-mipi-dphy - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - items: - - description: Bus Clock - - description: Module Clock - - clock-names: - items: - - const: bus - - const: mod - - resets: - maxItems: 1 - - allwinner,direction: - $ref: /schemas/types.yaml#/definitions/string - description: | - Direction of the D-PHY: - - "rx" for receiving (e.g. when used with MIPI CSI-2); - - "tx" for transmitting (e.g. when used with MIPI DSI). - - enum: - - tx - - rx - default: tx - -required: - - "#phy-cells" - - compatible - - reg - - interrupts - - clocks - - clock-names - - resets - -additionalProperties: false - -examples: - - | - #include - - dphy0: d-phy@1ca1000 { - compatible = "allwinner,sun6i-a31-mipi-dphy"; - reg = <0x01ca1000 0x1000>; - interrupts = ; - clocks = <&ccu 23>, <&ccu 97>; - clock-names = "bus", "mod"; - resets = <&ccu 4>; - #phy-cells = <0>; - }; - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/allwinner,sun6i-a31-mipi-dphy.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Allwinner A31 MIPI D-PHY Controller + +maintainers: + - Chen-Yu Tsai + - Maxime Ripard + +properties: + "#phy-cells": + const: 0 + + compatible: + oneOf: + - const: allwinner,sun6i-a31-mipi-dphy + - const: allwinner,sun50i-a100-mipi-dphy + - items: + - const: allwinner,sun50i-a64-mipi-dphy + - const: allwinner,sun6i-a31-mipi-dphy + - items: + - const: allwinner,sun20i-d1-mipi-dphy + - const: allwinner,sun50i-a100-mipi-dphy + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + items: + - description: Bus Clock + - description: Module Clock + + clock-names: + items: + - const: bus + - const: mod + + resets: + maxItems: 1 + + allwinner,direction: + $ref: /schemas/types.yaml#/definitions/string + description: | + Direction of the D-PHY: + - "rx" for receiving (e.g. when used with MIPI CSI-2); + - "tx" for transmitting (e.g. when used with MIPI DSI). + + enum: + - tx + - rx + default: tx + +required: + - "#phy-cells" + - compatible + - reg + - interrupts + - clocks + - clock-names + - resets + +additionalProperties: false + +examples: + - | + #include + + dphy0: d-phy@1ca1000 { + compatible = "allwinner,sun6i-a31-mipi-dphy"; + reg = <0x01ca1000 0x1000>; + interrupts = ; + clocks = <&ccu 23>, <&ccu 97>; + clock-names = "bus", "mod"; + resets = <&ccu 4>; + #phy-cells = <0>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/allwinner,sun8i-v3s-usb-phy.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/allwinner,sun8i-v3s-usb-phy.yaml index c3f54e2c70..395d33855d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/allwinner,sun8i-v3s-usb-phy.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/allwinner,sun8i-v3s-usb-phy.yaml @@ -1,88 +1,88 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/phy/allwinner,sun8i-v3s-usb-phy.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Allwinner V3s USB PHY - -maintainers: - - Chen-Yu Tsai - - Maxime Ripard - -properties: - "#phy-cells": - const: 1 - - compatible: - const: allwinner,sun8i-v3s-usb-phy - - reg: - items: - - description: PHY Control registers - - description: PHY PMU0 registers - - reg-names: - items: - - const: phy_ctrl - - const: pmu0 - - clocks: - maxItems: 1 - description: USB OTG PHY bus clock - - clock-names: - const: usb0_phy - - resets: - maxItems: 1 - description: USB OTG reset - - reset-names: - const: usb0_reset - - usb0_id_det-gpios: - maxItems: 1 - description: GPIO to the USB OTG ID pin - - usb0_vbus_det-gpios: - maxItems: 1 - description: GPIO to the USB OTG VBUS detect pin - - usb0_vbus_power-supply: - description: Power supply to detect the USB OTG VBUS - - usb0_vbus-supply: - description: Regulator controlling USB OTG VBUS - -required: - - "#phy-cells" - - compatible - - clocks - - clock-names - - reg - - reg-names - - resets - - reset-names - -additionalProperties: false - -examples: - - | - #include - #include - #include - - phy@1c19400 { - #phy-cells = <1>; - compatible = "allwinner,sun8i-v3s-usb-phy"; - reg = <0x01c19400 0x2c>, - <0x01c1a800 0x4>; - reg-names = "phy_ctrl", - "pmu0"; - clocks = <&ccu CLK_USB_PHY0>; - clock-names = "usb0_phy"; - resets = <&ccu RST_USB_PHY0>; - reset-names = "usb0_reset"; - usb0_id_det-gpios = <&pio 5 6 GPIO_ACTIVE_HIGH>; - }; +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/allwinner,sun8i-v3s-usb-phy.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Allwinner V3s USB PHY + +maintainers: + - Chen-Yu Tsai + - Maxime Ripard + +properties: + "#phy-cells": + const: 1 + + compatible: + const: allwinner,sun8i-v3s-usb-phy + + reg: + items: + - description: PHY Control registers + - description: PHY PMU0 registers + + reg-names: + items: + - const: phy_ctrl + - const: pmu0 + + clocks: + maxItems: 1 + description: USB OTG PHY bus clock + + clock-names: + const: usb0_phy + + resets: + maxItems: 1 + description: USB OTG reset + + reset-names: + const: usb0_reset + + usb0_id_det-gpios: + maxItems: 1 + description: GPIO to the USB OTG ID pin + + usb0_vbus_det-gpios: + maxItems: 1 + description: GPIO to the USB OTG VBUS detect pin + + usb0_vbus_power-supply: + description: Power supply to detect the USB OTG VBUS + + usb0_vbus-supply: + description: Regulator controlling USB OTG VBUS + +required: + - "#phy-cells" + - compatible + - clocks + - clock-names + - reg + - reg-names + - resets + - reset-names + +additionalProperties: false + +examples: + - | + #include + #include + #include + + phy@1c19400 { + #phy-cells = <1>; + compatible = "allwinner,sun8i-v3s-usb-phy"; + reg = <0x01c19400 0x2c>, + <0x01c1a800 0x4>; + reg-names = "phy_ctrl", + "pmu0"; + clocks = <&ccu CLK_USB_PHY0>; + clock-names = "usb0_phy"; + resets = <&ccu RST_USB_PHY0>; + reset-names = "usb0_reset"; + usb0_id_det-gpios = <&pio 5 6 GPIO_ACTIVE_HIGH>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/allwinner,suniv-f1c100s-usb-phy.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/allwinner,suniv-f1c100s-usb-phy.yaml index 950780b165..9488394992 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/allwinner,suniv-f1c100s-usb-phy.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/allwinner,suniv-f1c100s-usb-phy.yaml @@ -1,83 +1,83 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/phy/allwinner,suniv-f1c100s-usb-phy.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Allwinner F1C100s USB PHY - -maintainers: - - Chen-Yu Tsai - - Maxime Ripard - -properties: - "#phy-cells": - const: 1 - - compatible: - const: allwinner,suniv-f1c100s-usb-phy - - reg: - maxItems: 1 - description: PHY Control registers - - reg-names: - const: phy_ctrl - - clocks: - maxItems: 1 - description: USB OTG PHY bus clock - - clock-names: - const: usb0_phy - - resets: - maxItems: 1 - description: USB OTG reset - - reset-names: - const: usb0_reset - - usb0_id_det-gpios: - maxItems: 1 - description: GPIO to the USB OTG ID pin - - usb0_vbus_det-gpios: - maxItems: 1 - description: GPIO to the USB OTG VBUS detect pin - - usb0_vbus_power-supply: - description: Power supply to detect the USB OTG VBUS - - usb0_vbus-supply: - description: Regulator controlling USB OTG VBUS - -required: - - "#phy-cells" - - compatible - - clocks - - clock-names - - reg - - reg-names - - resets - - reset-names - -additionalProperties: false - -examples: - - | - #include - #include - #include - - phy@1c13400 { - compatible = "allwinner,suniv-f1c100s-usb-phy"; - reg = <0x01c13400 0x10>; - reg-names = "phy_ctrl"; - clocks = <&ccu CLK_USB_PHY0>; - clock-names = "usb0_phy"; - resets = <&ccu RST_USB_PHY0>; - reset-names = "usb0_reset"; - #phy-cells = <1>; - usb0_id_det-gpios = <&pio 4 2 GPIO_ACTIVE_HIGH>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/allwinner,suniv-f1c100s-usb-phy.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Allwinner F1C100s USB PHY + +maintainers: + - Chen-Yu Tsai + - Maxime Ripard + +properties: + "#phy-cells": + const: 1 + + compatible: + const: allwinner,suniv-f1c100s-usb-phy + + reg: + maxItems: 1 + description: PHY Control registers + + reg-names: + const: phy_ctrl + + clocks: + maxItems: 1 + description: USB OTG PHY bus clock + + clock-names: + const: usb0_phy + + resets: + maxItems: 1 + description: USB OTG reset + + reset-names: + const: usb0_reset + + usb0_id_det-gpios: + maxItems: 1 + description: GPIO to the USB OTG ID pin + + usb0_vbus_det-gpios: + maxItems: 1 + description: GPIO to the USB OTG VBUS detect pin + + usb0_vbus_power-supply: + description: Power supply to detect the USB OTG VBUS + + usb0_vbus-supply: + description: Regulator controlling USB OTG VBUS + +required: + - "#phy-cells" + - compatible + - clocks + - clock-names + - reg + - reg-names + - resets + - reset-names + +additionalProperties: false + +examples: + - | + #include + #include + #include + + phy@1c13400 { + compatible = "allwinner,suniv-f1c100s-usb-phy"; + reg = <0x01c13400 0x10>; + reg-names = "phy_ctrl"; + clocks = <&ccu CLK_USB_PHY0>; + clock-names = "usb0_phy"; + resets = <&ccu RST_USB_PHY0>; + reset-names = "usb0_reset"; + #phy-cells = <1>; + usb0_id_det-gpios = <&pio 4 2 GPIO_ACTIVE_HIGH>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/amlogic,g12a-usb2-phy.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/amlogic,g12a-usb2-phy.yaml index 18f94fa0e7..1a0c436b87 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/amlogic,g12a-usb2-phy.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/amlogic,g12a-usb2-phy.yaml @@ -1,81 +1,81 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -# Copyright 2019 BayLibre, SAS -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/phy/amlogic,g12a-usb2-phy.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Amlogic G12A USB2 PHY - -maintainers: - - Neil Armstrong - -properties: - compatible: - enum: - - amlogic,g12a-usb2-phy - - amlogic,a1-usb2-phy - - reg: - maxItems: 1 - - clocks: - maxItems: 1 - - clock-names: - items: - - const: xtal - - resets: - maxItems: 1 - - reset-names: - items: - - const: phy - - "#phy-cells": - const: 0 - - phy-supply: - description: - Phandle to a regulator that provides power to the PHY. This - regulator will be managed during the PHY power on/off sequence. - - power-domains: - maxItems: 1 - -required: - - compatible - - reg - - clocks - - clock-names - - resets - - reset-names - - "#phy-cells" - -if: - properties: - compatible: - enum: - - amlogic,meson-a1-usb-ctrl - -then: - properties: - power-domains: - maxItems: 1 - required: - - power-domains - -additionalProperties: false - -examples: - - | - phy@36000 { - compatible = "amlogic,g12a-usb2-phy"; - reg = <0x36000 0x2000>; - clocks = <&xtal>; - clock-names = "xtal"; - resets = <&phy_reset>; - reset-names = "phy"; - #phy-cells = <0>; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +# Copyright 2019 BayLibre, SAS +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/amlogic,g12a-usb2-phy.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Amlogic G12A USB2 PHY + +maintainers: + - Neil Armstrong + +properties: + compatible: + enum: + - amlogic,g12a-usb2-phy + - amlogic,a1-usb2-phy + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + clock-names: + items: + - const: xtal + + resets: + maxItems: 1 + + reset-names: + items: + - const: phy + + "#phy-cells": + const: 0 + + phy-supply: + description: + Phandle to a regulator that provides power to the PHY. This + regulator will be managed during the PHY power on/off sequence. + + power-domains: + maxItems: 1 + +required: + - compatible + - reg + - clocks + - clock-names + - resets + - reset-names + - "#phy-cells" + +if: + properties: + compatible: + enum: + - amlogic,meson-a1-usb-ctrl + +then: + properties: + power-domains: + maxItems: 1 + required: + - power-domains + +additionalProperties: false + +examples: + - | + phy@36000 { + compatible = "amlogic,g12a-usb2-phy"; + reg = <0x36000 0x2000>; + clocks = <&xtal>; + clock-names = "xtal"; + resets = <&phy_reset>; + reset-names = "phy"; + #phy-cells = <0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/amlogic,meson8-hdmi-tx-phy.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/amlogic,meson8-hdmi-tx-phy.yaml index 6bc6bd669a..6f9fd1c953 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/amlogic,meson8-hdmi-tx-phy.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/amlogic,meson8-hdmi-tx-phy.yaml @@ -1,65 +1,65 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/phy/amlogic,meson8-hdmi-tx-phy.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Amlogic Meson8, Meson8b and Meson8m2 HDMI TX PHY - -maintainers: - - Martin Blumenstingl - -description: |+ - The HDMI TX PHY node should be the child of a syscon node with the - required property: - - compatible = "amlogic,meson-hhi-sysctrl", "simple-mfd", "syscon" - - Refer to the bindings described in - Documentation/devicetree/bindings/mfd/syscon.yaml - -properties: - $nodename: - pattern: "^hdmi-phy@[0-9a-f]+$" - - compatible: - oneOf: - - items: - - enum: - - amlogic,meson8b-hdmi-tx-phy - - amlogic,meson8m2-hdmi-tx-phy - - const: amlogic,meson8-hdmi-tx-phy - - const: amlogic,meson8-hdmi-tx-phy - - reg: - maxItems: 1 - - clocks: - minItems: 1 - description: - HDMI TMDS clock - - "#phy-cells": - const: 0 - -required: - - compatible - - "#phy-cells" - -additionalProperties: false - -examples: - - | - hdmi-phy@3a0 { - compatible = "amlogic,meson8-hdmi-tx-phy"; - reg = <0x3a0 0xc>; - clocks = <&tmds_clock>; - #phy-cells = <0>; - }; - - | - hdmi-phy@3a0 { - compatible = "amlogic,meson8b-hdmi-tx-phy", "amlogic,meson8-hdmi-tx-phy"; - reg = <0x3a0 0xc>; - clocks = <&tmds_clock>; - #phy-cells = <0>; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/amlogic,meson8-hdmi-tx-phy.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Amlogic Meson8, Meson8b and Meson8m2 HDMI TX PHY + +maintainers: + - Martin Blumenstingl + +description: |+ + The HDMI TX PHY node should be the child of a syscon node with the + required property: + + compatible = "amlogic,meson-hhi-sysctrl", "simple-mfd", "syscon" + + Refer to the bindings described in + Documentation/devicetree/bindings/mfd/syscon.yaml + +properties: + $nodename: + pattern: "^hdmi-phy@[0-9a-f]+$" + + compatible: + oneOf: + - items: + - enum: + - amlogic,meson8b-hdmi-tx-phy + - amlogic,meson8m2-hdmi-tx-phy + - const: amlogic,meson8-hdmi-tx-phy + - const: amlogic,meson8-hdmi-tx-phy + + reg: + maxItems: 1 + + clocks: + minItems: 1 + description: + HDMI TMDS clock + + "#phy-cells": + const: 0 + +required: + - compatible + - "#phy-cells" + +additionalProperties: false + +examples: + - | + hdmi-phy@3a0 { + compatible = "amlogic,meson8-hdmi-tx-phy"; + reg = <0x3a0 0xc>; + clocks = <&tmds_clock>; + #phy-cells = <0>; + }; + - | + hdmi-phy@3a0 { + compatible = "amlogic,meson8b-hdmi-tx-phy", "amlogic,meson8-hdmi-tx-phy"; + reg = <0x3a0 0xc>; + clocks = <&tmds_clock>; + #phy-cells = <0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/amlogic,meson8b-usb2-phy.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/amlogic,meson8b-usb2-phy.yaml index 4ad71159a5..df68bfe5f4 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/amlogic,meson8b-usb2-phy.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/amlogic,meson8b-usb2-phy.yaml @@ -1,64 +1,64 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/phy/amlogic,meson8b-usb2-phy.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Amlogic Meson8, Meson8b, Meson8m2 and GXBB USB2 PHY - -maintainers: - - Martin Blumenstingl - -properties: - compatible: - oneOf: - - items: - - enum: - - amlogic,meson8-usb2-phy - - amlogic,meson8b-usb2-phy - - amlogic,meson8m2-usb2-phy - - const: amlogic,meson-mx-usb2-phy - - const: amlogic,meson-gxbb-usb2-phy - - reg: - maxItems: 1 - - clocks: - minItems: 2 - - clock-names: - items: - - const: usb_general - - const: usb - - resets: - minItems: 1 - - "#phy-cells": - const: 0 - - phy-supply: - description: - Phandle to a regulator that provides power to the PHY. This - regulator will be managed during the PHY power on/off sequence. - -required: - - compatible - - reg - - clocks - - clock-names - - "#phy-cells" - -additionalProperties: false - -examples: - - | - usb-phy@c0000000 { - compatible = "amlogic,meson-gxbb-usb2-phy"; - reg = <0xc0000000 0x20>; - resets = <&reset_usb_phy>; - clocks = <&clk_usb_general>, <&reset_usb>; - clock-names = "usb_general", "usb"; - phy-supply = <&usb_vbus>; - #phy-cells = <0>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/amlogic,meson8b-usb2-phy.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Amlogic Meson8, Meson8b, Meson8m2 and GXBB USB2 PHY + +maintainers: + - Martin Blumenstingl + +properties: + compatible: + oneOf: + - items: + - enum: + - amlogic,meson8-usb2-phy + - amlogic,meson8b-usb2-phy + - amlogic,meson8m2-usb2-phy + - const: amlogic,meson-mx-usb2-phy + - const: amlogic,meson-gxbb-usb2-phy + + reg: + maxItems: 1 + + clocks: + minItems: 2 + + clock-names: + items: + - const: usb_general + - const: usb + + resets: + minItems: 1 + + "#phy-cells": + const: 0 + + phy-supply: + description: + Phandle to a regulator that provides power to the PHY. This + regulator will be managed during the PHY power on/off sequence. + +required: + - compatible + - reg + - clocks + - clock-names + - "#phy-cells" + +additionalProperties: false + +examples: + - | + usb-phy@c0000000 { + compatible = "amlogic,meson-gxbb-usb2-phy"; + reg = <0xc0000000 0x20>; + resets = <&reset_usb_phy>; + clocks = <&clk_usb_general>, <&reset_usb>; + clock-names = "usb_general", "usb"; + phy-supply = <&usb_vbus>; + #phy-cells = <0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/bcm-ns-usb2-phy.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/bcm-ns-usb2-phy.yaml index 7cab474667..426101530a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/bcm-ns-usb2-phy.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/bcm-ns-usb2-phy.yaml @@ -1,72 +1,72 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/phy/bcm-ns-usb2-phy.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Broadcom Northstar USB 2.0 PHY - -description: > - To initialize USB 2.0 PHY driver needs to setup PLL correctly. - To do this it requires passing phandle to the USB PHY reference clock. - -maintainers: - - Rafał Miłecki - -properties: - compatible: - const: brcm,ns-usb2-phy - - reg: - anyOf: - - maxItems: 1 - description: PHY control register - - maxItems: 1 - description: iomem address range of DMU (Device Management Unit) - deprecated: true - - reg-names: - items: - - const: dmu - - brcm,syscon-clkset: - description: phandle to syscon for clkset register - $ref: /schemas/types.yaml#/definitions/phandle - - clocks: - items: - - description: USB PHY reference clock - - clock-names: - items: - - const: phy-ref-clk - - "#phy-cells": - const: 0 - -required: - - compatible - - reg - - clocks - - clock-names - - "#phy-cells" - -oneOf: - - required: - - brcm,syscon-clkset - - required: - - reg-names - -additionalProperties: false - -examples: - - | - #include - phy@1800c164 { - compatible = "brcm,ns-usb2-phy"; - reg = <0x1800c164 0x4>; - brcm,syscon-clkset = <&clkset>; - clocks = <&genpll BCM_NSP_GENPLL_USB_PHY_REF_CLK>; - clock-names = "phy-ref-clk"; - #phy-cells = <0>; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/bcm-ns-usb2-phy.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom Northstar USB 2.0 PHY + +description: > + To initialize USB 2.0 PHY driver needs to setup PLL correctly. + To do this it requires passing phandle to the USB PHY reference clock. + +maintainers: + - Rafał Miłecki + +properties: + compatible: + const: brcm,ns-usb2-phy + + reg: + anyOf: + - maxItems: 1 + description: PHY control register + - maxItems: 1 + description: iomem address range of DMU (Device Management Unit) + deprecated: true + + reg-names: + items: + - const: dmu + + brcm,syscon-clkset: + description: phandle to syscon for clkset register + $ref: /schemas/types.yaml#/definitions/phandle + + clocks: + items: + - description: USB PHY reference clock + + clock-names: + items: + - const: phy-ref-clk + + "#phy-cells": + const: 0 + +required: + - compatible + - reg + - clocks + - clock-names + - "#phy-cells" + +oneOf: + - required: + - brcm,syscon-clkset + - required: + - reg-names + +additionalProperties: false + +examples: + - | + #include + phy@1800c164 { + compatible = "brcm,ns-usb2-phy"; + reg = <0x1800c164 0x4>; + brcm,syscon-clkset = <&clkset>; + clocks = <&genpll BCM_NSP_GENPLL_USB_PHY_REF_CLK>; + clock-names = "phy-ref-clk"; + #phy-cells = <0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/brcm,bcm63xx-usbh-phy.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/brcm,bcm63xx-usbh-phy.yaml index 1281b0a6f8..bd527f566c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/brcm,bcm63xx-usbh-phy.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/brcm,bcm63xx-usbh-phy.yaml @@ -1,78 +1,78 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/phy/brcm,bcm63xx-usbh-phy.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: BCM63xx USBH PHY - -maintainers: - - Álvaro Fernández Rojas - -properties: - compatible: - enum: - - brcm,bcm6318-usbh-phy - - brcm,bcm6328-usbh-phy - - brcm,bcm6358-usbh-phy - - brcm,bcm6362-usbh-phy - - brcm,bcm6368-usbh-phy - - brcm,bcm63268-usbh-phy - - reg: - maxItems: 1 - - clocks: - minItems: 1 - maxItems: 2 - - clock-names: - minItems: 1 - items: - - const: usbh - - const: usb_ref - - resets: - maxItems: 1 - - "#phy-cells": - const: 1 - -additionalProperties: false - -required: - - compatible - - reg - - clocks - - clock-names - - resets - - "#phy-cells" - -if: - properties: - compatible: - enum: - - brcm,bcm6318-usbh-phy - - brcm,bcm6328-usbh-phy - - brcm,bcm6362-usbh-phy - - brcm,bcm63268-usbh-phy -then: - properties: - power-domains: - maxItems: 1 - required: - - power-domains -else: - properties: - power-domains: false - -examples: - - | - usbh: usb-phy@10001700 { - compatible = "brcm,bcm6368-usbh-phy"; - reg = <0x10001700 0x38>; - clocks = <&periph_clk 15>; - clock-names = "usbh"; - resets = <&periph_rst 12>; - #phy-cells = <1>; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/brcm,bcm63xx-usbh-phy.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: BCM63xx USBH PHY + +maintainers: + - Álvaro Fernández Rojas + +properties: + compatible: + enum: + - brcm,bcm6318-usbh-phy + - brcm,bcm6328-usbh-phy + - brcm,bcm6358-usbh-phy + - brcm,bcm6362-usbh-phy + - brcm,bcm6368-usbh-phy + - brcm,bcm63268-usbh-phy + + reg: + maxItems: 1 + + clocks: + minItems: 1 + maxItems: 2 + + clock-names: + minItems: 1 + items: + - const: usbh + - const: usb_ref + + resets: + maxItems: 1 + + "#phy-cells": + const: 1 + +additionalProperties: false + +required: + - compatible + - reg + - clocks + - clock-names + - resets + - "#phy-cells" + +if: + properties: + compatible: + enum: + - brcm,bcm6318-usbh-phy + - brcm,bcm6328-usbh-phy + - brcm,bcm6362-usbh-phy + - brcm,bcm63268-usbh-phy +then: + properties: + power-domains: + maxItems: 1 + required: + - power-domains +else: + properties: + power-domains: false + +examples: + - | + usbh: usb-phy@10001700 { + compatible = "brcm,bcm6368-usbh-phy"; + reg = <0x10001700 0x38>; + clocks = <&periph_clk 15>; + clock-names = "usbh"; + resets = <&periph_rst 12>; + #phy-cells = <1>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/brcm,cygnus-pcie-phy.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/brcm,cygnus-pcie-phy.yaml index 20d8f88a56..808e90b246 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/brcm,cygnus-pcie-phy.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/brcm,cygnus-pcie-phy.yaml @@ -1,77 +1,77 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/phy/brcm,cygnus-pcie-phy.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Broadcom Cygnus PCIe PHY - -maintainers: - - Ray Jui - - Scott Branden - -properties: - $nodename: - pattern: "^pcie[-|_]phy(@.*)?$" - - compatible: - items: - - const: brcm,cygnus-pcie-phy - - reg: - maxItems: 1 - description: > - Base address and length of the PCIe PHY block - - "#address-cells": - const: 1 - - "#size-cells": - const: 0 - -patternProperties: - "^pcie-phy@[0-9]+$": - type: object - additionalProperties: false - description: > - PCIe PHY child nodes - - properties: - reg: - maxItems: 1 - description: > - The PCIe PHY port number - - "#phy-cells": - const: 0 - - required: - - reg - - "#phy-cells" - -required: - - compatible - - reg - - "#address-cells" - - "#size-cells" - -additionalProperties: false - -examples: - - | - pcie_phy: pcie_phy@301d0a0 { - compatible = "brcm,cygnus-pcie-phy"; - reg = <0x0301d0a0 0x14>; - #address-cells = <1>; - #size-cells = <0>; - - pcie0_phy: pcie-phy@0 { - reg = <0>; - #phy-cells = <0>; - }; - - pcie1_phy: pcie-phy@1 { - reg = <1>; - #phy-cells = <0>; - }; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/brcm,cygnus-pcie-phy.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom Cygnus PCIe PHY + +maintainers: + - Ray Jui + - Scott Branden + +properties: + $nodename: + pattern: "^pcie[-|_]phy(@.*)?$" + + compatible: + items: + - const: brcm,cygnus-pcie-phy + + reg: + maxItems: 1 + description: > + Base address and length of the PCIe PHY block + + "#address-cells": + const: 1 + + "#size-cells": + const: 0 + +patternProperties: + "^pcie-phy@[0-9]+$": + type: object + additionalProperties: false + description: > + PCIe PHY child nodes + + properties: + reg: + maxItems: 1 + description: > + The PCIe PHY port number + + "#phy-cells": + const: 0 + + required: + - reg + - "#phy-cells" + +required: + - compatible + - reg + - "#address-cells" + - "#size-cells" + +additionalProperties: false + +examples: + - | + pcie_phy: pcie_phy@301d0a0 { + compatible = "brcm,cygnus-pcie-phy"; + reg = <0x0301d0a0 0x14>; + #address-cells = <1>; + #size-cells = <0>; + + pcie0_phy: pcie-phy@0 { + reg = <0>; + #phy-cells = <0>; + }; + + pcie1_phy: pcie-phy@1 { + reg = <1>; + #phy-cells = <0>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/fsl,imx8qm-lvds-phy.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/fsl,imx8qm-lvds-phy.yaml index 42fbe67882..8767e48c71 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/fsl,imx8qm-lvds-phy.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/fsl,imx8qm-lvds-phy.yaml @@ -1,61 +1,61 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/phy/fsl,imx8qm-lvds-phy.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Mixel LVDS PHY for Freescale i.MX8qm SoC - -maintainers: - - Liu Ying - -description: | - The Mixel LVDS PHY IP block is found on Freescale i.MX8qm SoC. - It converts two groups of four 7/10 bits of CMOS data into two - groups of four data lanes of LVDS data streams. A phase-locked - transmit clock is transmitted in parallel with each group of - data streams over a fifth LVDS link. Every cycle of the transmit - clock, 56/80 bits of input data are sampled and transmitted - through the two groups of LVDS data streams. Together with the - transmit clocks, the two groups of LVDS data streams form two - LVDS channels. - - The Mixel LVDS PHY found on Freescale i.MX8qm SoC is controlled - by Control and Status Registers(CSR) module in the SoC. The CSR - module, as a system controller, contains the PHY's registers. - -properties: - compatible: - enum: - - fsl,imx8qm-lvds-phy - - mixel,28fdsoi-lvds-1250-8ch-tx-pll - - "#phy-cells": - const: 1 - description: | - Cell allows setting the LVDS channel index of the PHY. - Index 0 is for LVDS channel0 and index 1 is for LVDS channel1. - - clocks: - maxItems: 1 - - power-domains: - maxItems: 1 - -required: - - compatible - - "#phy-cells" - - clocks - - power-domains - -additionalProperties: false - -examples: - - | - #include - phy { - compatible = "fsl,imx8qm-lvds-phy"; - #phy-cells = <1>; - clocks = <&clk IMX_SC_R_LVDS_0 IMX_SC_PM_CLK_PHY>; - power-domains = <&pd IMX_SC_R_LVDS_0>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/fsl,imx8qm-lvds-phy.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Mixel LVDS PHY for Freescale i.MX8qm SoC + +maintainers: + - Liu Ying + +description: | + The Mixel LVDS PHY IP block is found on Freescale i.MX8qm SoC. + It converts two groups of four 7/10 bits of CMOS data into two + groups of four data lanes of LVDS data streams. A phase-locked + transmit clock is transmitted in parallel with each group of + data streams over a fifth LVDS link. Every cycle of the transmit + clock, 56/80 bits of input data are sampled and transmitted + through the two groups of LVDS data streams. Together with the + transmit clocks, the two groups of LVDS data streams form two + LVDS channels. + + The Mixel LVDS PHY found on Freescale i.MX8qm SoC is controlled + by Control and Status Registers(CSR) module in the SoC. The CSR + module, as a system controller, contains the PHY's registers. + +properties: + compatible: + enum: + - fsl,imx8qm-lvds-phy + - mixel,28fdsoi-lvds-1250-8ch-tx-pll + + "#phy-cells": + const: 1 + description: | + Cell allows setting the LVDS channel index of the PHY. + Index 0 is for LVDS channel0 and index 1 is for LVDS channel1. + + clocks: + maxItems: 1 + + power-domains: + maxItems: 1 + +required: + - compatible + - "#phy-cells" + - clocks + - power-domains + +additionalProperties: false + +examples: + - | + #include + phy { + compatible = "fsl,imx8qm-lvds-phy"; + #phy-cells = <1>; + clocks = <&clk IMX_SC_R_LVDS_0 IMX_SC_PM_CLK_PHY>; + power-domains = <&pd IMX_SC_R_LVDS_0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/hisilicon,hi3670-usb3.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/hisilicon,hi3670-usb3.yaml index 36f93400b5..a1a8a84dfc 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/hisilicon,hi3670-usb3.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/hisilicon,hi3670-usb3.yaml @@ -1,64 +1,64 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/phy/hisilicon,hi3670-usb3.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Hisilicon Kirin970 USB PHY - -maintainers: - - Mauro Carvalho Chehab - -description: |+ - Bindings for USB3 PHY on HiSilicon Kirin 970. - -properties: - compatible: - const: hisilicon,hi3670-usb-phy - - "#phy-cells": - const: 0 - - hisilicon,pericrg-syscon: - $ref: /schemas/types.yaml#/definitions/phandle - description: phandle of syscon used to control iso refclk. - - hisilicon,pctrl-syscon: - $ref: /schemas/types.yaml#/definitions/phandle - description: phandle of syscon used to control usb tcxo. - - hisilicon,sctrl-syscon: - $ref: /schemas/types.yaml#/definitions/phandle - description: phandle of syscon used to control phy deep sleep. - - hisilicon,eye-diagram-param: - $ref: /schemas/types.yaml#/definitions/uint32-array - maxItems: 1 - description: Eye diagram for phy. - - hisilicon,tx-vboost-lvl: - $ref: /schemas/types.yaml#/definitions/uint32 - description: TX level vboost for phy. - -required: - - compatible - - hisilicon,pericrg-syscon - - hisilicon,pctrl-syscon - - hisilicon,sctrl-syscon - - hisilicon,eye-diagram-param - - hisilicon,tx-vboost-lvl - - "#phy-cells" - -additionalProperties: false - -examples: - - | - usb-phy { - compatible = "hisilicon,hi3670-usb-phy"; - #phy-cells = <0>; - hisilicon,pericrg-syscon = <&crg_ctrl>; - hisilicon,pctrl-syscon = <&pctrl>; - hisilicon,sctrl-syscon = <&sctrl>; - hisilicon,eye-diagram-param = <0xfdfee4>; - hisilicon,tx-vboost-lvl = <0x5>; - }; +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/hisilicon,hi3670-usb3.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Hisilicon Kirin970 USB PHY + +maintainers: + - Mauro Carvalho Chehab + +description: |+ + Bindings for USB3 PHY on HiSilicon Kirin 970. + +properties: + compatible: + const: hisilicon,hi3670-usb-phy + + "#phy-cells": + const: 0 + + hisilicon,pericrg-syscon: + $ref: /schemas/types.yaml#/definitions/phandle + description: phandle of syscon used to control iso refclk. + + hisilicon,pctrl-syscon: + $ref: /schemas/types.yaml#/definitions/phandle + description: phandle of syscon used to control usb tcxo. + + hisilicon,sctrl-syscon: + $ref: /schemas/types.yaml#/definitions/phandle + description: phandle of syscon used to control phy deep sleep. + + hisilicon,eye-diagram-param: + $ref: /schemas/types.yaml#/definitions/uint32-array + maxItems: 1 + description: Eye diagram for phy. + + hisilicon,tx-vboost-lvl: + $ref: /schemas/types.yaml#/definitions/uint32 + description: TX level vboost for phy. + +required: + - compatible + - hisilicon,pericrg-syscon + - hisilicon,pctrl-syscon + - hisilicon,sctrl-syscon + - hisilicon,eye-diagram-param + - hisilicon,tx-vboost-lvl + - "#phy-cells" + +additionalProperties: false + +examples: + - | + usb-phy { + compatible = "hisilicon,hi3670-usb-phy"; + #phy-cells = <0>; + hisilicon,pericrg-syscon = <&crg_ctrl>; + hisilicon,pctrl-syscon = <&pctrl>; + hisilicon,sctrl-syscon = <&sctrl>; + hisilicon,eye-diagram-param = <0xfdfee4>; + hisilicon,tx-vboost-lvl = <0x5>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/intel,lgm-emmc-phy.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/intel,lgm-emmc-phy.yaml index 3ac9976929..ca818f8357 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/intel,lgm-emmc-phy.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/intel,lgm-emmc-phy.yaml @@ -1,75 +1,75 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/phy/intel,lgm-emmc-phy.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Intel Lightning Mountain(LGM) eMMC PHY - -maintainers: - - Ramuthevar Vadivel Murugan - -description: |+ - Bindings for eMMC PHY on Intel's Lightning Mountain SoC, syscon - node is used to reference the base address of eMMC phy registers. - - The eMMC PHY node should be the child of a syscon node with the - required property: - - - compatible: Should be one of the following: - "intel,lgm-syscon", "syscon" - - reg: - maxItems: 1 - -properties: - compatible: - enum: - - intel,lgm-emmc-phy - - intel,keembay-emmc-phy - - "#phy-cells": - const: 0 - - reg: - maxItems: 1 - - clocks: - maxItems: 1 - - clock-names: - items: - - const: emmcclk - -required: - - "#phy-cells" - - compatible - - reg - - clocks - -additionalProperties: false - -examples: - - | - sysconf: chiptop@e0200000 { - compatible = "intel,lgm-syscon", "syscon"; - reg = <0xe0200000 0x100>; - #address-cells = <1>; - #size-cells = <1>; - - emmc_phy: emmc-phy@a8 { - compatible = "intel,lgm-emmc-phy"; - reg = <0x00a8 0x10>; - clocks = <&emmc>; - #phy-cells = <0>; - }; - }; - - - | - phy@20290000 { - compatible = "intel,keembay-emmc-phy"; - reg = <0x20290000 0x54>; - clocks = <&emmc>; - clock-names = "emmcclk"; - #phy-cells = <0>; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/intel,lgm-emmc-phy.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Intel Lightning Mountain(LGM) eMMC PHY + +maintainers: + - Ramuthevar Vadivel Murugan + +description: |+ + Bindings for eMMC PHY on Intel's Lightning Mountain SoC, syscon + node is used to reference the base address of eMMC phy registers. + + The eMMC PHY node should be the child of a syscon node with the + required property: + + - compatible: Should be one of the following: + "intel,lgm-syscon", "syscon" + - reg: + maxItems: 1 + +properties: + compatible: + enum: + - intel,lgm-emmc-phy + - intel,keembay-emmc-phy + + "#phy-cells": + const: 0 + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + clock-names: + items: + - const: emmcclk + +required: + - "#phy-cells" + - compatible + - reg + - clocks + +additionalProperties: false + +examples: + - | + sysconf: chiptop@e0200000 { + compatible = "intel,lgm-syscon", "syscon"; + reg = <0xe0200000 0x100>; + #address-cells = <1>; + #size-cells = <1>; + + emmc_phy: emmc-phy@a8 { + compatible = "intel,lgm-emmc-phy"; + reg = <0x00a8 0x10>; + clocks = <&emmc>; + #phy-cells = <0>; + }; + }; + + - | + phy@20290000 { + compatible = "intel,keembay-emmc-phy"; + reg = <0x20290000 0x54>; + clocks = <&emmc>; + clock-names = "emmcclk"; + #phy-cells = <0>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/marvell,armada-3700-utmi-phy.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/marvell,armada-3700-utmi-phy.yaml index 94f54f5171..3aa1a46796 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/marvell,armada-3700-utmi-phy.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/marvell,armada-3700-utmi-phy.yaml @@ -1,57 +1,57 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) - -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/phy/marvell,armada-3700-utmi-phy.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Marvell Armada UTMI/UTMI+ PHY - -maintainers: - - Miquel Raynal - -description: - On Armada 3700, there are two USB controllers, one is compatible with - the USB2 and USB3 specifications and supports OTG. The other one is USB2 - compliant and only supports host mode. Both of these controllers come with - a slightly different UTMI PHY. - -properties: - compatible: - enum: - - marvell,a3700-utmi-host-phy - - marvell,a3700-utmi-otg-phy - reg: - maxItems: 1 - - "#phy-cells": - const: 0 - - marvell,usb-misc-reg: - description: - Phandle on the "USB miscellaneous registers" shared region - covering registers related to both the host controller and - the PHY. - $ref: /schemas/types.yaml#/definitions/phandle - -required: - - compatible - - reg - - "#phy-cells" - - marvell,usb-misc-reg - -additionalProperties: false - -examples: - - | - usb2_utmi_host_phy: phy@5f000 { - compatible = "marvell,a3700-utmi-host-phy"; - reg = <0x5f000 0x800>; - marvell,usb-misc-reg = <&usb2_syscon>; - #phy-cells = <0>; - }; - - usb2_syscon: system-controller@5f800 { - compatible = "marvell,armada-3700-usb2-host-misc", "syscon"; - reg = <0x5f800 0x800>; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) + +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/marvell,armada-3700-utmi-phy.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Marvell Armada UTMI/UTMI+ PHY + +maintainers: + - Miquel Raynal + +description: + On Armada 3700, there are two USB controllers, one is compatible with + the USB2 and USB3 specifications and supports OTG. The other one is USB2 + compliant and only supports host mode. Both of these controllers come with + a slightly different UTMI PHY. + +properties: + compatible: + enum: + - marvell,a3700-utmi-host-phy + - marvell,a3700-utmi-otg-phy + reg: + maxItems: 1 + + "#phy-cells": + const: 0 + + marvell,usb-misc-reg: + description: + Phandle on the "USB miscellaneous registers" shared region + covering registers related to both the host controller and + the PHY. + $ref: /schemas/types.yaml#/definitions/phandle + +required: + - compatible + - reg + - "#phy-cells" + - marvell,usb-misc-reg + +additionalProperties: false + +examples: + - | + usb2_utmi_host_phy: phy@5f000 { + compatible = "marvell,a3700-utmi-host-phy"; + reg = <0x5f000 0x800>; + marvell,usb-misc-reg = <&usb2_syscon>; + #phy-cells = <0>; + }; + + usb2_syscon: system-controller@5f800 { + compatible = "marvell,armada-3700-usb2-host-misc", "syscon"; + reg = <0x5f800 0x800>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/mediatek,mt7628-usbphy.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/mediatek,mt7628-usbphy.yaml index 2a2c447ad0..ce2c228e32 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/mediatek,mt7628-usbphy.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/mediatek,mt7628-usbphy.yaml @@ -1,74 +1,74 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/phy/mediatek,mt7628-usbphy.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Mediatek/Ralink USB PHY - -maintainers: - - Sergio Paracuellos - -properties: - compatible: - enum: - - mediatek,mt7620-usbphy - - mediatek,mt7628-usbphy - - ralink,rt3352-usbphy - - reg: - maxItems: 1 - - "#phy-cells": - const: 0 - - ralink,sysctl: - description: - phandle to a ralink syscon register region. - $ref: /schemas/types.yaml#/definitions/phandle - - resets: - items: - - description: USB Host reset controller - - description: USB Device reset controller - - reset-names: - items: - - const: host - - const: device - -required: - - compatible - - "#phy-cells" - - ralink,sysctl - - resets - - reset-names - -allOf: - - if: - properties: - compatible: - contains: - const: mediatek,mt7628-usbphy - then: - required: - - reg - else: - properties: - reg: false - -additionalProperties: false - -examples: - - | - phy@10120000 { - compatible = "mediatek,mt7628-usbphy"; - reg = <0x10120000 0x1000>; - #phy-cells = <0>; - ralink,sysctl = <&sysc>; - resets = <&rstctrl 22>, - <&rstctrl 25>; - reset-names = "host", "device"; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/mediatek,mt7628-usbphy.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Mediatek/Ralink USB PHY + +maintainers: + - Sergio Paracuellos + +properties: + compatible: + enum: + - mediatek,mt7620-usbphy + - mediatek,mt7628-usbphy + - ralink,rt3352-usbphy + + reg: + maxItems: 1 + + "#phy-cells": + const: 0 + + ralink,sysctl: + description: + phandle to a ralink syscon register region. + $ref: /schemas/types.yaml#/definitions/phandle + + resets: + items: + - description: USB Host reset controller + - description: USB Device reset controller + + reset-names: + items: + - const: host + - const: device + +required: + - compatible + - "#phy-cells" + - ralink,sysctl + - resets + - reset-names + +allOf: + - if: + properties: + compatible: + contains: + const: mediatek,mt7628-usbphy + then: + required: + - reg + else: + properties: + reg: false + +additionalProperties: false + +examples: + - | + phy@10120000 { + compatible = "mediatek,mt7628-usbphy"; + reg = <0x10120000 0x1000>; + #phy-cells = <0>; + ralink,sysctl = <&sysc>; + resets = <&rstctrl 22>, + <&rstctrl 25>; + reset-names = "host", "device"; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/mediatek,pcie-phy.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/mediatek,pcie-phy.yaml index 8196a32da9..422750cc41 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/mediatek,pcie-phy.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/mediatek,pcie-phy.yaml @@ -1,75 +1,75 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/phy/mediatek,pcie-phy.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: MediaTek PCIe PHY - -maintainers: - - Jianjun Wang - -description: | - The PCIe PHY supports physical layer functionality for PCIe Gen3 port. - -properties: - compatible: - const: mediatek,mt8195-pcie-phy - - reg: - maxItems: 1 - - reg-names: - items: - - const: sif - - "#phy-cells": - const: 0 - - nvmem-cells: - maxItems: 7 - description: - Phandles to nvmem cell that contains the efuse data, if unspecified, - default value is used. - - nvmem-cell-names: - items: - - const: glb_intr - - const: tx_ln0_pmos - - const: tx_ln0_nmos - - const: rx_ln0 - - const: tx_ln1_pmos - - const: tx_ln1_nmos - - const: rx_ln1 - - power-domains: - maxItems: 1 - -required: - - compatible - - reg - - reg-names - - "#phy-cells" - -additionalProperties: false - -examples: - - | - phy@11e80000 { - compatible = "mediatek,mt8195-pcie-phy"; - #phy-cells = <0>; - reg = <0x11e80000 0x10000>; - reg-names = "sif"; - nvmem-cells = <&pciephy_glb_intr>, - <&pciephy_tx_ln0_pmos>, - <&pciephy_tx_ln0_nmos>, - <&pciephy_rx_ln0>, - <&pciephy_tx_ln1_pmos>, - <&pciephy_tx_ln1_nmos>, - <&pciephy_rx_ln1>; - nvmem-cell-names = "glb_intr", "tx_ln0_pmos", - "tx_ln0_nmos", "rx_ln0", - "tx_ln1_pmos", "tx_ln1_nmos", - "rx_ln1"; - power-domains = <&spm 2>; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/mediatek,pcie-phy.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: MediaTek PCIe PHY + +maintainers: + - Jianjun Wang + +description: | + The PCIe PHY supports physical layer functionality for PCIe Gen3 port. + +properties: + compatible: + const: mediatek,mt8195-pcie-phy + + reg: + maxItems: 1 + + reg-names: + items: + - const: sif + + "#phy-cells": + const: 0 + + nvmem-cells: + maxItems: 7 + description: + Phandles to nvmem cell that contains the efuse data, if unspecified, + default value is used. + + nvmem-cell-names: + items: + - const: glb_intr + - const: tx_ln0_pmos + - const: tx_ln0_nmos + - const: rx_ln0 + - const: tx_ln1_pmos + - const: tx_ln1_nmos + - const: rx_ln1 + + power-domains: + maxItems: 1 + +required: + - compatible + - reg + - reg-names + - "#phy-cells" + +additionalProperties: false + +examples: + - | + phy@11e80000 { + compatible = "mediatek,mt8195-pcie-phy"; + #phy-cells = <0>; + reg = <0x11e80000 0x10000>; + reg-names = "sif"; + nvmem-cells = <&pciephy_glb_intr>, + <&pciephy_tx_ln0_pmos>, + <&pciephy_tx_ln0_nmos>, + <&pciephy_rx_ln0>, + <&pciephy_tx_ln1_pmos>, + <&pciephy_tx_ln1_nmos>, + <&pciephy_rx_ln1>; + nvmem-cell-names = "glb_intr", "tx_ln0_pmos", + "tx_ln0_nmos", "rx_ln0", + "tx_ln1_pmos", "tx_ln1_nmos", + "rx_ln1"; + power-domains = <&spm 2>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/mediatek,ufs-phy.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/mediatek,ufs-phy.yaml index 55200e5538..3e62b5d4da 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/mediatek,ufs-phy.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/mediatek,ufs-phy.yaml @@ -1,69 +1,69 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -# Copyright (c) 2020 MediaTek -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/phy/mediatek,ufs-phy.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: MediaTek Universal Flash Storage (UFS) M-PHY - -maintainers: - - Stanley Chu - - Chunfeng Yun - -description: | - UFS M-PHY nodes are defined to describe on-chip UFS M-PHY hardware macro. - Each UFS M-PHY node should have its own node. - To bind UFS M-PHY with UFS host controller, the controller node should - contain a phandle reference to UFS M-PHY node. - -properties: - $nodename: - pattern: "^ufs-phy@[0-9a-f]+$" - - compatible: - oneOf: - - items: - - enum: - - mediatek,mt8195-ufsphy - - const: mediatek,mt8183-ufsphy - - const: mediatek,mt8183-ufsphy - - reg: - maxItems: 1 - - clocks: - items: - - description: Unipro core control clock. - - description: M-PHY core control clock. - - clock-names: - items: - - const: unipro - - const: mp - - "#phy-cells": - const: 0 - -required: - - compatible - - reg - - "#phy-cells" - - clocks - - clock-names - -additionalProperties: false - -examples: - - | - #include - ufsphy: ufs-phy@11fa0000 { - compatible = "mediatek,mt8183-ufsphy"; - reg = <0x11fa0000 0xc000>; - clocks = <&infracfg CLK_INFRA_UNIPRO_SCK>, - <&infracfg CLK_INFRA_UFS_MP_SAP_BCLK>; - clock-names = "unipro", "mp"; - #phy-cells = <0>; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +# Copyright (c) 2020 MediaTek +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/mediatek,ufs-phy.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: MediaTek Universal Flash Storage (UFS) M-PHY + +maintainers: + - Stanley Chu + - Chunfeng Yun + +description: | + UFS M-PHY nodes are defined to describe on-chip UFS M-PHY hardware macro. + Each UFS M-PHY node should have its own node. + To bind UFS M-PHY with UFS host controller, the controller node should + contain a phandle reference to UFS M-PHY node. + +properties: + $nodename: + pattern: "^ufs-phy@[0-9a-f]+$" + + compatible: + oneOf: + - items: + - enum: + - mediatek,mt8195-ufsphy + - const: mediatek,mt8183-ufsphy + - const: mediatek,mt8183-ufsphy + + reg: + maxItems: 1 + + clocks: + items: + - description: Unipro core control clock. + - description: M-PHY core control clock. + + clock-names: + items: + - const: unipro + - const: mp + + "#phy-cells": + const: 0 + +required: + - compatible + - reg + - "#phy-cells" + - clocks + - clock-names + +additionalProperties: false + +examples: + - | + #include + ufsphy: ufs-phy@11fa0000 { + compatible = "mediatek,mt8183-ufsphy"; + reg = <0x11fa0000 0xc000>; + clocks = <&infracfg CLK_INFRA_UNIPRO_SCK>, + <&infracfg CLK_INFRA_UFS_MP_SAP_BCLK>; + clock-names = "unipro", "mp"; + #phy-cells = <0>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/microchip,lan966x-serdes.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/microchip,lan966x-serdes.yaml index 72e85eebab..6e914fbbac 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/microchip,lan966x-serdes.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/microchip,lan966x-serdes.yaml @@ -1,59 +1,59 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/phy/microchip,lan966x-serdes.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Microchip Lan966x Serdes controller - -maintainers: - - Horatiu Vultur - -description: | - Lan966x has 7 interfaces, consisting of 2 copper transceivers(CU), - 3 SERDES6G and 2 RGMII interfaces. Two of the SERDES6G support QSGMII. - Also it has 8 logical Ethernet ports which can be connected to these - interfaces. The Serdes controller will allow to configure these interfaces - and allows to "mux" the interfaces to different ports. - - For simple selection of the interface that is used with a port, the - following macros are defined CU(X), SERDES6G(X), RGMII(X). Where X is a - number that represents the index of that interface type. For example - CU(1) means use interface copper transceivers 1. SERDES6G(2) means use - interface SerDes 2. - -properties: - $nodename: - pattern: "^serdes@[0-9a-f]+$" - - compatible: - const: microchip,lan966x-serdes - - reg: - items: - - description: HSIO registers - - description: HW_STAT register - - '#phy-cells': - const: 2 - description: | - - Input port to use for a given macro. - - The macro to be used. The macros are defined in - dt-bindings/phy/phy-lan966x-serdes. - -required: - - compatible - - reg - - '#phy-cells' - -additionalProperties: false - -examples: - - | - serdes: serdes@e2004010 { - compatible = "microchip,lan966x-serdes"; - reg = <0xe202c000 0x9c>, <0xe2004010 0x4>; - #phy-cells = <2>; - }; - -... +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/microchip,lan966x-serdes.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Microchip Lan966x Serdes controller + +maintainers: + - Horatiu Vultur + +description: | + Lan966x has 7 interfaces, consisting of 2 copper transceivers(CU), + 3 SERDES6G and 2 RGMII interfaces. Two of the SERDES6G support QSGMII. + Also it has 8 logical Ethernet ports which can be connected to these + interfaces. The Serdes controller will allow to configure these interfaces + and allows to "mux" the interfaces to different ports. + + For simple selection of the interface that is used with a port, the + following macros are defined CU(X), SERDES6G(X), RGMII(X). Where X is a + number that represents the index of that interface type. For example + CU(1) means use interface copper transceivers 1. SERDES6G(2) means use + interface SerDes 2. + +properties: + $nodename: + pattern: "^serdes@[0-9a-f]+$" + + compatible: + const: microchip,lan966x-serdes + + reg: + items: + - description: HSIO registers + - description: HW_STAT register + + '#phy-cells': + const: 2 + description: | + - Input port to use for a given macro. + - The macro to be used. The macros are defined in + dt-bindings/phy/phy-lan966x-serdes. + +required: + - compatible + - reg + - '#phy-cells' + +additionalProperties: false + +examples: + - | + serdes: serdes@e2004010 { + compatible = "microchip,lan966x-serdes"; + reg = <0xe202c000 0x9c>, <0xe2004010 0x4>; + #phy-cells = <2>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/mscc,vsc7514-serdes.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/mscc,vsc7514-serdes.yaml index 4ede802247..3169b87323 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/mscc,vsc7514-serdes.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/mscc,vsc7514-serdes.yaml @@ -1,56 +1,56 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/phy/mscc,vsc7514-serdes.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Microsemi Ocelot SerDes muxing - -maintainers: - - Alexandre Belloni - - UNGLinuxDriver@microchip.com - -description: | - On Microsemi Ocelot, there is a handful of registers in HSIO address - space for setting up the SerDes to switch port muxing. - - A SerDes X can be "muxed" to work with switch port Y or Z for example. - One specific SerDes can also be used as a PCIe interface. - - Hence, a SerDes represents an interface, be it an Ethernet or a PCIe one. - - There are two kinds of SerDes: SERDES1G supports 10/100Mbps in - half/full-duplex and 1000Mbps in full-duplex mode while SERDES6G supports - 10/100Mbps in half/full-duplex and 1000/2500Mbps in full-duplex mode. - - Also, SERDES6G number (aka "macro") 0 is the only interface supporting - QSGMII. - - This is a child of the HSIO syscon ("mscc,ocelot-hsio", see - Documentation/devicetree/bindings/mips/mscc.txt) on the Microsemi Ocelot. - -properties: - compatible: - enum: - - mscc,vsc7514-serdes - - "#phy-cells": - const: 2 - description: | - The first number defines the input port to use for a given SerDes macro. - The second defines the macro to use. They are defined in - dt-bindings/phy/phy-ocelot-serdes.h - -required: - - compatible - - "#phy-cells" - -additionalProperties: - false - -examples: - - | - serdes: serdes { - compatible = "mscc,vsc7514-serdes"; - #phy-cells = <2>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/mscc,vsc7514-serdes.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Microsemi Ocelot SerDes muxing + +maintainers: + - Alexandre Belloni + - UNGLinuxDriver@microchip.com + +description: | + On Microsemi Ocelot, there is a handful of registers in HSIO address + space for setting up the SerDes to switch port muxing. + + A SerDes X can be "muxed" to work with switch port Y or Z for example. + One specific SerDes can also be used as a PCIe interface. + + Hence, a SerDes represents an interface, be it an Ethernet or a PCIe one. + + There are two kinds of SerDes: SERDES1G supports 10/100Mbps in + half/full-duplex and 1000Mbps in full-duplex mode while SERDES6G supports + 10/100Mbps in half/full-duplex and 1000/2500Mbps in full-duplex mode. + + Also, SERDES6G number (aka "macro") 0 is the only interface supporting + QSGMII. + + This is a child of the HSIO syscon ("mscc,ocelot-hsio", see + Documentation/devicetree/bindings/mips/mscc.txt) on the Microsemi Ocelot. + +properties: + compatible: + enum: + - mscc,vsc7514-serdes + + "#phy-cells": + const: 2 + description: | + The first number defines the input port to use for a given SerDes macro. + The second defines the macro to use. They are defined in + dt-bindings/phy/phy-ocelot-serdes.h + +required: + - compatible + - "#phy-cells" + +additionalProperties: + false + +examples: + - | + serdes: serdes { + compatible = "mscc,vsc7514-serdes"; + #phy-cells = <2>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/phy-lantiq-rcu-usb2.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/phy-lantiq-rcu-usb2.txt index c51c046fdc..643948b6b5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/phy-lantiq-rcu-usb2.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/phy-lantiq-rcu-usb2.txt @@ -1,40 +1,40 @@ -Lantiq XWAY SoC RCU USB 1.1/2.0 PHY binding -=========================================== - -This binding describes the USB PHY hardware provided by the RCU module on the -Lantiq XWAY SoCs. - -This node has to be a sub node of the Lantiq RCU block. - -------------------------------------------------------------------------------- -Required properties (controller (parent) node): -- compatible : Should be one of - "lantiq,ase-usb2-phy" - "lantiq,danube-usb2-phy" - "lantiq,xrx100-usb2-phy" - "lantiq,xrx200-usb2-phy" - "lantiq,xrx300-usb2-phy" -- reg : Defines the following sets of registers in the parent - syscon device - - Offset of the USB PHY configuration register - - Offset of the USB Analog configuration - register (only for xrx200 and xrx200) -- clocks : References to the (PMU) "phy" clk gate. -- clock-names : Must be "phy" -- resets : References to the RCU USB configuration reset bits. -- reset-names : Must be one of the following: - "phy" (optional) - "ctrl" (shared) - -------------------------------------------------------------------------------- -Example for the USB PHYs on an xRX200 SoC: - usb_phy0: usb2-phy@18 { - compatible = "lantiq,xrx200-usb2-phy"; - reg = <0x18 4>, <0x38 4>; - - clocks = <&pmu PMU_GATE_USB0_PHY>; - clock-names = "phy"; - resets = <&reset1 4 4>, <&reset0 4 4>; - reset-names = "phy", "ctrl"; - #phy-cells = <0>; - }; +Lantiq XWAY SoC RCU USB 1.1/2.0 PHY binding +=========================================== + +This binding describes the USB PHY hardware provided by the RCU module on the +Lantiq XWAY SoCs. + +This node has to be a sub node of the Lantiq RCU block. + +------------------------------------------------------------------------------- +Required properties (controller (parent) node): +- compatible : Should be one of + "lantiq,ase-usb2-phy" + "lantiq,danube-usb2-phy" + "lantiq,xrx100-usb2-phy" + "lantiq,xrx200-usb2-phy" + "lantiq,xrx300-usb2-phy" +- reg : Defines the following sets of registers in the parent + syscon device + - Offset of the USB PHY configuration register + - Offset of the USB Analog configuration + register (only for xrx200 and xrx200) +- clocks : References to the (PMU) "phy" clk gate. +- clock-names : Must be "phy" +- resets : References to the RCU USB configuration reset bits. +- reset-names : Must be one of the following: + "phy" (optional) + "ctrl" (shared) + +------------------------------------------------------------------------------- +Example for the USB PHYs on an xRX200 SoC: + usb_phy0: usb2-phy@18 { + compatible = "lantiq,xrx200-usb2-phy"; + reg = <0x18 4>, <0x38 4>; + + clocks = <&pmu PMU_GATE_USB0_PHY>; + clock-names = "phy"; + resets = <&reset1 4 4>, <&reset0 4 4>; + reset-names = "phy", "ctrl"; + #phy-cells = <0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/phy-rockchip-inno-hdmi.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/phy-rockchip-inno-hdmi.txt index 96f2ce6dae..710cccd5ee 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/phy-rockchip-inno-hdmi.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/phy-rockchip-inno-hdmi.txt @@ -1,43 +1,43 @@ -ROCKCHIP HDMI PHY WITH INNO IP BLOCK - -Required properties: - - compatible : should be one of the listed compatibles: - * "rockchip,rk3228-hdmi-phy", - * "rockchip,rk3328-hdmi-phy"; - - reg : Address and length of the hdmi phy control register set - - clocks : phandle + clock specifier for the phy clocks - - clock-names : string, clock name, must contain "sysclk" for system - control and register configuration, "refoclk" for crystal- - oscillator reference PLL clock input and "refpclk" for pclk- - based refeference PLL clock input. - - #clock-cells: should be 0. - - clock-output-names : shall be the name for the output clock. - - interrupts : phandle + interrupt specified for the hdmiphy interrupt - - #phy-cells : must be 0. See ./phy-bindings.txt for details. - -Optional properties for rk3328-hdmi-phy: - - nvmem-cells = phandle + nvmem specifier for the cpu-version efuse - - nvmem-cell-names : "cpu-version" to read the chip version, required - for adjustment to some frequency settings - -Example: - hdmi_phy: hdmi-phy@12030000 { - compatible = "rockchip,rk3228-hdmi-phy"; - reg = <0x12030000 0x10000>; - #phy-cells = <0>; - clocks = <&cru PCLK_HDMI_PHY>, <&xin24m>, <&cru DCLK_HDMIPHY>; - clock-names = "sysclk", "refoclk", "refpclk"; - #clock-cells = <0>; - clock-output-names = "hdmi_phy"; - status = "disabled"; - }; - -Then the PHY can be used in other nodes such as: - - hdmi: hdmi@200a0000 { - compatible = "rockchip,rk3228-dw-hdmi"; - ... - phys = <&hdmi_phy>; - phy-names = "hdmi"; - ... - }; +ROCKCHIP HDMI PHY WITH INNO IP BLOCK + +Required properties: + - compatible : should be one of the listed compatibles: + * "rockchip,rk3228-hdmi-phy", + * "rockchip,rk3328-hdmi-phy"; + - reg : Address and length of the hdmi phy control register set + - clocks : phandle + clock specifier for the phy clocks + - clock-names : string, clock name, must contain "sysclk" for system + control and register configuration, "refoclk" for crystal- + oscillator reference PLL clock input and "refpclk" for pclk- + based refeference PLL clock input. + - #clock-cells: should be 0. + - clock-output-names : shall be the name for the output clock. + - interrupts : phandle + interrupt specified for the hdmiphy interrupt + - #phy-cells : must be 0. See ./phy-bindings.txt for details. + +Optional properties for rk3328-hdmi-phy: + - nvmem-cells = phandle + nvmem specifier for the cpu-version efuse + - nvmem-cell-names : "cpu-version" to read the chip version, required + for adjustment to some frequency settings + +Example: + hdmi_phy: hdmi-phy@12030000 { + compatible = "rockchip,rk3228-hdmi-phy"; + reg = <0x12030000 0x10000>; + #phy-cells = <0>; + clocks = <&cru PCLK_HDMI_PHY>, <&xin24m>, <&cru DCLK_HDMIPHY>; + clock-names = "sysclk", "refoclk", "refpclk"; + #clock-cells = <0>; + clock-output-names = "hdmi_phy"; + status = "disabled"; + }; + +Then the PHY can be used in other nodes such as: + + hdmi: hdmi@200a0000 { + compatible = "rockchip,rk3228-dw-hdmi"; + ... + phys = <&hdmi_phy>; + phy-names = "hdmi"; + ... + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/phy-tegra194-p2u.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/phy-tegra194-p2u.yaml index 71081bbea6..4790c6238a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/phy-tegra194-p2u.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/phy-tegra194-p2u.yaml @@ -1,53 +1,53 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/phy/phy-tegra194-p2u.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: NVIDIA Tegra194 & Tegra234 P2U - -maintainers: - - Thierry Reding - -description: > - Tegra194 has two PHY bricks namely HSIO (High Speed IO) and NVHS (NVIDIA High - Speed) each interfacing with 12 and 8 P2U instances respectively. - Tegra234 has three PHY bricks namely HSIO, NVHS and GBE (Gigabit Ethernet) - each interfacing with 8, 8 and 8 P2U instances respectively. - A P2U instance is a glue logic between Synopsys DesignWare Core PCIe IP's PIPE - interface and PHY of HSIO/NVHS/GBE bricks. Each P2U instance represents one - PCIe lane. - -properties: - compatible: - enum: - - nvidia,tegra194-p2u - - nvidia,tegra234-p2u - - reg: - maxItems: 1 - description: Should be the physical address space and length of respective each P2U instance. - - reg-names: - items: - - const: ctl - - nvidia,skip-sz-protect-en: - description: Should be present if two PCIe retimers are present between - the root port and its immediate downstream device. - type: boolean - - '#phy-cells': - const: 0 - -additionalProperties: false - -examples: - - | - p2u_hsio_0: phy@3e10000 { - compatible = "nvidia,tegra194-p2u"; - reg = <0x03e10000 0x10000>; - reg-names = "ctl"; - - #phy-cells = <0>; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/phy-tegra194-p2u.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NVIDIA Tegra194 & Tegra234 P2U + +maintainers: + - Thierry Reding + +description: > + Tegra194 has two PHY bricks namely HSIO (High Speed IO) and NVHS (NVIDIA High + Speed) each interfacing with 12 and 8 P2U instances respectively. + Tegra234 has three PHY bricks namely HSIO, NVHS and GBE (Gigabit Ethernet) + each interfacing with 8, 8 and 8 P2U instances respectively. + A P2U instance is a glue logic between Synopsys DesignWare Core PCIe IP's PIPE + interface and PHY of HSIO/NVHS/GBE bricks. Each P2U instance represents one + PCIe lane. + +properties: + compatible: + enum: + - nvidia,tegra194-p2u + - nvidia,tegra234-p2u + + reg: + maxItems: 1 + description: Should be the physical address space and length of respective each P2U instance. + + reg-names: + items: + - const: ctl + + nvidia,skip-sz-protect-en: + description: Should be present if two PCIe retimers are present between + the root port and its immediate downstream device. + type: boolean + + '#phy-cells': + const: 0 + +additionalProperties: false + +examples: + - | + p2u_hsio_0: phy@3e10000 { + compatible = "nvidia,tegra194-p2u"; + reg = <0x03e10000 0x10000>; + reg-names = "ctl"; + + #phy-cells = <0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/qcom,edp-phy.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/qcom,edp-phy.yaml index 643cce3185..4e15d90d08 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/qcom,edp-phy.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/qcom,edp-phy.yaml @@ -1,81 +1,81 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) - -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/phy/qcom,edp-phy.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm eDP PHY - -maintainers: - - Bjorn Andersson - -description: - The Qualcomm eDP PHY is found in a number of Qualcomm platform and provides - the physical interface for Embedded Display Port. - -properties: - compatible: - enum: - - qcom,sc7280-edp-phy - - qcom,sc8180x-edp-phy - - qcom,sc8280xp-dp-phy - - qcom,sc8280xp-edp-phy - - qcom,x1e80100-dp-phy - - reg: - items: - - description: PHY base register block - - description: tx0 register block - - description: tx1 register block - - description: PLL register block - - clocks: - maxItems: 2 - - clock-names: - items: - - const: aux - - const: cfg_ahb - - "#clock-cells": - const: 1 - - "#phy-cells": - const: 0 - - power-domains: - maxItems: 1 - - vdda-phy-supply: true - vdda-pll-supply: true - -required: - - compatible - - reg - - clocks - - clock-names - - "#clock-cells" - - "#phy-cells" - -additionalProperties: false - -examples: - - | - phy@aec2a00 { - compatible = "qcom,sc8180x-edp-phy"; - reg = <0x0aec2a00 0x1c0>, - <0x0aec2200 0xa0>, - <0x0aec2600 0xa0>, - <0x0aec2000 0x19c>; - - clocks = <&dispcc 0>, <&dispcc 1>; - clock-names = "aux", "cfg_ahb"; - - #clock-cells = <1>; - #phy-cells = <0>; - - vdda-phy-supply = <&vdd_a_edp_0_1p2>; - vdda-pll-supply = <&vdd_a_edp_0_0p9>; - }; -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) + +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/qcom,edp-phy.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm eDP PHY + +maintainers: + - Bjorn Andersson + +description: + The Qualcomm eDP PHY is found in a number of Qualcomm platform and provides + the physical interface for Embedded Display Port. + +properties: + compatible: + enum: + - qcom,sc7280-edp-phy + - qcom,sc8180x-edp-phy + - qcom,sc8280xp-dp-phy + - qcom,sc8280xp-edp-phy + - qcom,x1e80100-dp-phy + + reg: + items: + - description: PHY base register block + - description: tx0 register block + - description: tx1 register block + - description: PLL register block + + clocks: + maxItems: 2 + + clock-names: + items: + - const: aux + - const: cfg_ahb + + "#clock-cells": + const: 1 + + "#phy-cells": + const: 0 + + power-domains: + maxItems: 1 + + vdda-phy-supply: true + vdda-pll-supply: true + +required: + - compatible + - reg + - clocks + - clock-names + - "#clock-cells" + - "#phy-cells" + +additionalProperties: false + +examples: + - | + phy@aec2a00 { + compatible = "qcom,sc8180x-edp-phy"; + reg = <0x0aec2a00 0x1c0>, + <0x0aec2200 0xa0>, + <0x0aec2600 0xa0>, + <0x0aec2000 0x19c>; + + clocks = <&dispcc 0>, <&dispcc 1>; + clock-names = "aux", "cfg_ahb"; + + #clock-cells = <1>; + #phy-cells = <0>; + + vdda-phy-supply = <&vdd_a_edp_0_1p2>; + vdda-pll-supply = <&vdd_a_edp_0_0p9>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/qcom,ipq806x-usb-phy-ss.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/qcom,ipq806x-usb-phy-ss.yaml index 9626e272aa..6cf5c6c060 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/qcom,ipq806x-usb-phy-ss.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/qcom,ipq806x-usb-phy-ss.yaml @@ -1,74 +1,74 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/phy/qcom,ipq806x-usb-phy-ss.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm ipq806x usb DWC3 SS PHY CONTROLLER - -maintainers: - - Ansuel Smith - -description: - DWC3 PHY nodes are defined to describe on-chip Synopsis Physical layer - controllers used in ipq806x. Each DWC3 PHY controller should have its - own node. - -properties: - compatible: - const: qcom,ipq806x-usb-phy-ss - - "#phy-cells": - const: 0 - - reg: - maxItems: 1 - - clocks: - minItems: 1 - maxItems: 2 - - clock-names: - minItems: 1 - items: - - const: ref - - const: xo - - qcom,rx-eq: - $ref: /schemas/types.yaml#/definitions/uint32 - description: Override value for rx_eq. - default: 4 - maximum: 7 - - qcom,tx-deamp-3_5db: - $ref: /schemas/types.yaml#/definitions/uint32 - description: Override value for transmit preemphasis. - default: 23 - maximum: 63 - - qcom,mpll: - $ref: /schemas/types.yaml#/definitions/uint32 - description: Override value for mpll. - default: 0 - maximum: 7 - -required: - - compatible - - "#phy-cells" - - reg - - clocks - - clock-names - -additionalProperties: false - -examples: - - | - #include - - ss_phy_0: phy@110f8830 { - compatible = "qcom,ipq806x-usb-phy-ss"; - reg = <0x110f8830 0x30>; - clocks = <&gcc USB30_0_MASTER_CLK>; - clock-names = "ref"; - #phy-cells = <0>; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/qcom,ipq806x-usb-phy-ss.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm ipq806x usb DWC3 SS PHY CONTROLLER + +maintainers: + - Ansuel Smith + +description: + DWC3 PHY nodes are defined to describe on-chip Synopsis Physical layer + controllers used in ipq806x. Each DWC3 PHY controller should have its + own node. + +properties: + compatible: + const: qcom,ipq806x-usb-phy-ss + + "#phy-cells": + const: 0 + + reg: + maxItems: 1 + + clocks: + minItems: 1 + maxItems: 2 + + clock-names: + minItems: 1 + items: + - const: ref + - const: xo + + qcom,rx-eq: + $ref: /schemas/types.yaml#/definitions/uint32 + description: Override value for rx_eq. + default: 4 + maximum: 7 + + qcom,tx-deamp-3_5db: + $ref: /schemas/types.yaml#/definitions/uint32 + description: Override value for transmit preemphasis. + default: 23 + maximum: 63 + + qcom,mpll: + $ref: /schemas/types.yaml#/definitions/uint32 + description: Override value for mpll. + default: 0 + maximum: 7 + +required: + - compatible + - "#phy-cells" + - reg + - clocks + - clock-names + +additionalProperties: false + +examples: + - | + #include + + ss_phy_0: phy@110f8830 { + compatible = "qcom,ipq806x-usb-phy-ss"; + reg = <0x110f8830 0x30>; + clocks = <&gcc USB30_0_MASTER_CLK>; + clock-names = "ref"; + #phy-cells = <0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/qcom,pcie2-phy.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/qcom,pcie2-phy.yaml index b5fcdcc6fe..dbc4a4c71f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/qcom,pcie2-phy.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/qcom,pcie2-phy.yaml @@ -1,86 +1,86 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/phy/qcom,pcie2-phy.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm PCIe2 PHY controller - -maintainers: - - Vinod Koul - -description: - The Qualcomm PCIe2 PHY is a Synopsys based phy found in a number of Qualcomm - platforms. - -properties: - compatible: - items: - - const: qcom,qcs404-pcie2-phy - - const: qcom,pcie2-phy - - reg: - items: - - description: PHY register set - - clocks: - items: - - description: a clock-specifier pair for the "pipe" clock - - clock-output-names: - maxItems: 1 - - "#clock-cells": - const: 0 - - "#phy-cells": - const: 0 - - vdda-vp-supply: - description: low voltage regulator - - vdda-vph-supply: - description: high voltage regulator - - resets: - maxItems: 2 - - reset-names: - items: - - const: phy - - const: pipe - -required: - - compatible - - reg - - clocks - - clock-output-names - - "#clock-cells" - - "#phy-cells" - - vdda-vp-supply - - vdda-vph-supply - - resets - - reset-names - -additionalProperties: false - -examples: - - | - #include - phy@7786000 { - compatible = "qcom,qcs404-pcie2-phy", "qcom,pcie2-phy"; - reg = <0x07786000 0xb8>; - - clocks = <&gcc GCC_PCIE_0_PIPE_CLK>; - resets = <&gcc GCC_PCIEPHY_0_PHY_BCR>, - <&gcc GCC_PCIE_0_PIPE_ARES>; - reset-names = "phy", "pipe"; - - vdda-vp-supply = <&vreg_l3_1p05>; - vdda-vph-supply = <&vreg_l5_1p8>; - - clock-output-names = "pcie_0_pipe_clk"; - #clock-cells = <0>; - #phy-cells = <0>; - }; -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/qcom,pcie2-phy.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm PCIe2 PHY controller + +maintainers: + - Vinod Koul + +description: + The Qualcomm PCIe2 PHY is a Synopsys based phy found in a number of Qualcomm + platforms. + +properties: + compatible: + items: + - const: qcom,qcs404-pcie2-phy + - const: qcom,pcie2-phy + + reg: + items: + - description: PHY register set + + clocks: + items: + - description: a clock-specifier pair for the "pipe" clock + + clock-output-names: + maxItems: 1 + + "#clock-cells": + const: 0 + + "#phy-cells": + const: 0 + + vdda-vp-supply: + description: low voltage regulator + + vdda-vph-supply: + description: high voltage regulator + + resets: + maxItems: 2 + + reset-names: + items: + - const: phy + - const: pipe + +required: + - compatible + - reg + - clocks + - clock-output-names + - "#clock-cells" + - "#phy-cells" + - vdda-vp-supply + - vdda-vph-supply + - resets + - reset-names + +additionalProperties: false + +examples: + - | + #include + phy@7786000 { + compatible = "qcom,qcs404-pcie2-phy", "qcom,pcie2-phy"; + reg = <0x07786000 0xb8>; + + clocks = <&gcc GCC_PCIE_0_PIPE_CLK>; + resets = <&gcc GCC_PCIEPHY_0_PHY_BCR>, + <&gcc GCC_PCIE_0_PIPE_ARES>; + reset-names = "phy", "pipe"; + + vdda-vp-supply = <&vreg_l3_1p05>; + vdda-vph-supply = <&vreg_l5_1p8>; + + clock-output-names = "pcie_0_pipe_clk"; + #clock-cells = <0>; + #phy-cells = <0>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/qcom,snps-eusb2-phy.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/qcom,snps-eusb2-phy.yaml index 3ddaf6db69..b82f7f5731 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/qcom,snps-eusb2-phy.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/qcom,snps-eusb2-phy.yaml @@ -1,86 +1,86 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/phy/qcom,snps-eusb2-phy.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm SNPS eUSB2 phy controller - -maintainers: - - Abel Vesa - -description: - eUSB2 controller supports LS/FS/HS usb connectivity on Qualcomm chipsets. - -properties: - compatible: - oneOf: - - items: - - enum: - - qcom,sdx75-snps-eusb2-phy - - qcom,sm8650-snps-eusb2-phy - - qcom,x1e80100-snps-eusb2-phy - - const: qcom,sm8550-snps-eusb2-phy - - const: qcom,sm8550-snps-eusb2-phy - - reg: - maxItems: 1 - - "#phy-cells": - const: 0 - - clocks: - items: - - description: ref - - clock-names: - items: - - const: ref - - resets: - maxItems: 1 - - phys: - maxItems: 1 - description: - Phandle to eUSB2 to USB 2.0 repeater - - vdd-supply: - description: - Phandle to 0.88V regulator supply to PHY digital circuit. - - vdda12-supply: - description: - Phandle to 1.2V regulator supply to PHY refclk pll block. - -required: - - compatible - - reg - - "#phy-cells" - - clocks - - clock-names - - vdd-supply - - vdda12-supply - - resets - -additionalProperties: false - -examples: - - | - #include - #include - #include - - usb_1_hsphy: phy@88e3000 { - compatible = "qcom,sm8550-snps-eusb2-phy"; - reg = <0x88e3000 0x154>; - #phy-cells = <0>; - - clocks = <&tcsrcc TCSR_USB2_CLKREF_EN>; - clock-names = "ref"; - - vdd-supply = <&vreg_l1e_0p88>; - vdda12-supply = <&vreg_l3e_1p2>; - - resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/qcom,snps-eusb2-phy.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm SNPS eUSB2 phy controller + +maintainers: + - Abel Vesa + +description: + eUSB2 controller supports LS/FS/HS usb connectivity on Qualcomm chipsets. + +properties: + compatible: + oneOf: + - items: + - enum: + - qcom,sdx75-snps-eusb2-phy + - qcom,sm8650-snps-eusb2-phy + - qcom,x1e80100-snps-eusb2-phy + - const: qcom,sm8550-snps-eusb2-phy + - const: qcom,sm8550-snps-eusb2-phy + + reg: + maxItems: 1 + + "#phy-cells": + const: 0 + + clocks: + items: + - description: ref + + clock-names: + items: + - const: ref + + resets: + maxItems: 1 + + phys: + maxItems: 1 + description: + Phandle to eUSB2 to USB 2.0 repeater + + vdd-supply: + description: + Phandle to 0.88V regulator supply to PHY digital circuit. + + vdda12-supply: + description: + Phandle to 1.2V regulator supply to PHY refclk pll block. + +required: + - compatible + - reg + - "#phy-cells" + - clocks + - clock-names + - vdd-supply + - vdda12-supply + - resets + +additionalProperties: false + +examples: + - | + #include + #include + #include + + usb_1_hsphy: phy@88e3000 { + compatible = "qcom,sm8550-snps-eusb2-phy"; + reg = <0x88e3000 0x154>; + #phy-cells = <0>; + + clocks = <&tcsrcc TCSR_USB2_CLKREF_EN>; + clock-names = "ref"; + + vdd-supply = <&vreg_l1e_0p88>; + vdda12-supply = <&vreg_l3e_1p2>; + + resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/qcom,snps-eusb2-repeater.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/qcom,snps-eusb2-repeater.yaml index daee3dadc1..d16a543a78 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/qcom,snps-eusb2-repeater.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/qcom,snps-eusb2-repeater.yaml @@ -1,80 +1,80 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/phy/qcom,snps-eusb2-repeater.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm Synopsis eUSB2 to USB 2.0 repeater - -maintainers: - - Abel Vesa - -description: - eUSB2 repeater converts between eUSB2 and USB 2.0 signaling levels and - allows a eUSB2 PHY to connect to legacy USB 2.0 products - -properties: - compatible: - oneOf: - - items: - - enum: - - qcom,pm7550ba-eusb2-repeater - - const: qcom,pm8550b-eusb2-repeater - - enum: - - qcom,pm8550b-eusb2-repeater - - qcom,smb2360-eusb2-repeater - - reg: - maxItems: 1 - - "#phy-cells": - const: 0 - - vdd18-supply: true - - vdd3-supply: true - - qcom,tune-usb2-disc-thres: - $ref: /schemas/types.yaml#/definitions/uint8 - description: High-Speed disconnect threshold - minimum: 0 - maximum: 7 - default: 0 - - qcom,tune-usb2-amplitude: - $ref: /schemas/types.yaml#/definitions/uint8 - description: High-Speed transmit amplitude - minimum: 0 - maximum: 15 - default: 8 - - qcom,tune-usb2-preem: - $ref: /schemas/types.yaml#/definitions/uint8 - description: High-Speed TX pre-emphasis tuning - minimum: 0 - maximum: 7 - default: 5 - -required: - - compatible - - reg - - "#phy-cells" - -additionalProperties: false - -examples: - - | - #include - - pmic@7 { - reg = <0x7 SPMI_USID>; - #address-cells = <1>; - #size-cells = <0>; - - pm8550b_eusb2_repeater: phy@fd00 { - compatible = "qcom,pm8550b-eusb2-repeater"; - reg = <0xfd00>; - #phy-cells = <0>; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/qcom,snps-eusb2-repeater.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Synopsis eUSB2 to USB 2.0 repeater + +maintainers: + - Abel Vesa + +description: + eUSB2 repeater converts between eUSB2 and USB 2.0 signaling levels and + allows a eUSB2 PHY to connect to legacy USB 2.0 products + +properties: + compatible: + oneOf: + - items: + - enum: + - qcom,pm7550ba-eusb2-repeater + - const: qcom,pm8550b-eusb2-repeater + - enum: + - qcom,pm8550b-eusb2-repeater + - qcom,smb2360-eusb2-repeater + + reg: + maxItems: 1 + + "#phy-cells": + const: 0 + + vdd18-supply: true + + vdd3-supply: true + + qcom,tune-usb2-disc-thres: + $ref: /schemas/types.yaml#/definitions/uint8 + description: High-Speed disconnect threshold + minimum: 0 + maximum: 7 + default: 0 + + qcom,tune-usb2-amplitude: + $ref: /schemas/types.yaml#/definitions/uint8 + description: High-Speed transmit amplitude + minimum: 0 + maximum: 15 + default: 8 + + qcom,tune-usb2-preem: + $ref: /schemas/types.yaml#/definitions/uint8 + description: High-Speed TX pre-emphasis tuning + minimum: 0 + maximum: 7 + default: 5 + +required: + - compatible + - reg + - "#phy-cells" + +additionalProperties: false + +examples: + - | + #include + + pmic@7 { + reg = <0x7 SPMI_USID>; + #address-cells = <1>; + #size-cells = <0>; + + pm8550b_eusb2_repeater: phy@fd00 { + compatible = "qcom,pm8550b-eusb2-repeater"; + reg = <0xfd00>; + #phy-cells = <0>; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/qcom,usb-hsic-phy.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/qcom,usb-hsic-phy.yaml index 22a4ebe8b8..077e13a944 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/qcom,usb-hsic-phy.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/qcom,usb-hsic-phy.yaml @@ -1,67 +1,67 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/phy/qcom,usb-hsic-phy.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm USB HSIC PHY Controller - -maintainers: - - Bjorn Andersson - - Vinod Koul - -properties: - compatible: - items: - - enum: - - qcom,usb-hsic-phy-mdm9615 - - qcom,usb-hsic-phy-msm8974 - - const: qcom,usb-hsic-phy - - clocks: - maxItems: 3 - - clock-names: - items: - - const: phy - - const: cal - - const: cal_sleep - - "#phy-cells": - const: 0 - - pinctrl-0: true - pinctrl-1: true - - pinctrl-names: - items: - - const: init - - const: default - -required: - - compatible - - clocks - - clock-names - - "#phy-cells" - - pinctrl-0 - - pinctrl-1 - - pinctrl-names - -additionalProperties: false - -examples: - - | - #include - - phy { - compatible = "qcom,usb-hsic-phy-msm8974", - "qcom,usb-hsic-phy"; - clocks = <&gcc GCC_USB_HSIC_CLK>, - <&gcc GCC_USB_HSIC_IO_CAL_CLK>, - <&gcc GCC_USB_HSIC_IO_CAL_SLEEP_CLK>; - clock-names = "phy", "cal", "cal_sleep"; - #phy-cells = <0>; - pinctrl-names = "init", "default"; - pinctrl-0 = <&hsic_sleep>; - pinctrl-1 = <&hsic_default>; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/qcom,usb-hsic-phy.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm USB HSIC PHY Controller + +maintainers: + - Bjorn Andersson + - Vinod Koul + +properties: + compatible: + items: + - enum: + - qcom,usb-hsic-phy-mdm9615 + - qcom,usb-hsic-phy-msm8974 + - const: qcom,usb-hsic-phy + + clocks: + maxItems: 3 + + clock-names: + items: + - const: phy + - const: cal + - const: cal_sleep + + "#phy-cells": + const: 0 + + pinctrl-0: true + pinctrl-1: true + + pinctrl-names: + items: + - const: init + - const: default + +required: + - compatible + - clocks + - clock-names + - "#phy-cells" + - pinctrl-0 + - pinctrl-1 + - pinctrl-names + +additionalProperties: false + +examples: + - | + #include + + phy { + compatible = "qcom,usb-hsic-phy-msm8974", + "qcom,usb-hsic-phy"; + clocks = <&gcc GCC_USB_HSIC_CLK>, + <&gcc GCC_USB_HSIC_IO_CAL_CLK>, + <&gcc GCC_USB_HSIC_IO_CAL_SLEEP_CLK>; + clock-names = "phy", "cal", "cal_sleep"; + #phy-cells = <0>; + pinctrl-names = "init", "default"; + pinctrl-0 = <&hsic_sleep>; + pinctrl-1 = <&hsic_default>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/qcom,usb-ss.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/qcom,usb-ss.yaml index 3c9c6052a0..6e4254ff1c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/qcom,usb-ss.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/qcom,usb-ss.yaml @@ -1,83 +1,83 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/phy/qcom,usb-ss.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm Synopsys 1.0.0 SuperSpeed USB PHY - -maintainers: - - Bryan O'Donoghue - -description: | - Qualcomm Synopsys 1.0.0 SuperSpeed USB PHY - -properties: - compatible: - enum: - - qcom,usb-ss-28nm-phy - - reg: - maxItems: 1 - - "#phy-cells": - const: 0 - - clocks: - items: - - description: rpmcc clock - - description: PHY AHB clock - - description: SuperSpeed pipe clock - - clock-names: - items: - - const: ref - - const: ahb - - const: pipe - - vdd-supply: - description: phandle to the regulator VDD supply node. - - vdda1p8-supply: - description: phandle to the regulator 1.8V supply node. - - resets: - items: - - description: COM reset - - description: PHY reset line - - reset-names: - items: - - const: com - - const: phy - -required: - - compatible - - reg - - "#phy-cells" - - clocks - - clock-names - - vdd-supply - - vdda1p8-supply - -additionalProperties: false - -examples: - - | - #include - #include - usb3_phy: usb3-phy@78000 { - compatible = "qcom,usb-ss-28nm-phy"; - reg = <0x78000 0x400>; - #phy-cells = <0>; - clocks = <&rpmcc RPM_SMD_LN_BB_CLK>, - <&gcc GCC_USB_HS_PHY_CFG_AHB_CLK>, - <&gcc GCC_USB3_PHY_PIPE_CLK>; - clock-names = "ref", "ahb", "pipe"; - resets = <&gcc GCC_USB3_PHY_BCR>, - <&gcc GCC_USB3PHY_PHY_BCR>; - reset-names = "com", "phy"; - vdd-supply = <&vreg_l3_1p05>; - vdda1p8-supply = <&vreg_l5_1p8>; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/qcom,usb-ss.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Synopsys 1.0.0 SuperSpeed USB PHY + +maintainers: + - Bryan O'Donoghue + +description: | + Qualcomm Synopsys 1.0.0 SuperSpeed USB PHY + +properties: + compatible: + enum: + - qcom,usb-ss-28nm-phy + + reg: + maxItems: 1 + + "#phy-cells": + const: 0 + + clocks: + items: + - description: rpmcc clock + - description: PHY AHB clock + - description: SuperSpeed pipe clock + + clock-names: + items: + - const: ref + - const: ahb + - const: pipe + + vdd-supply: + description: phandle to the regulator VDD supply node. + + vdda1p8-supply: + description: phandle to the regulator 1.8V supply node. + + resets: + items: + - description: COM reset + - description: PHY reset line + + reset-names: + items: + - const: com + - const: phy + +required: + - compatible + - reg + - "#phy-cells" + - clocks + - clock-names + - vdd-supply + - vdda1p8-supply + +additionalProperties: false + +examples: + - | + #include + #include + usb3_phy: usb3-phy@78000 { + compatible = "qcom,usb-ss-28nm-phy"; + reg = <0x78000 0x400>; + #phy-cells = <0>; + clocks = <&rpmcc RPM_SMD_LN_BB_CLK>, + <&gcc GCC_USB_HS_PHY_CFG_AHB_CLK>, + <&gcc GCC_USB3_PHY_PIPE_CLK>; + clock-names = "ref", "ahb", "pipe"; + resets = <&gcc GCC_USB3_PHY_BCR>, + <&gcc GCC_USB3PHY_PHY_BCR>; + reset-names = "com", "phy"; + vdd-supply = <&vreg_l3_1p05>; + vdda1p8-supply = <&vreg_l5_1p8>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/rockchip,px30-dsi-dphy.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/rockchip,px30-dsi-dphy.yaml index b6d94becbb..46e64fa293 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/rockchip,px30-dsi-dphy.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/rockchip,px30-dsi-dphy.yaml @@ -1,72 +1,72 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/phy/rockchip,px30-dsi-dphy.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Rockchip MIPI DPHY with additional LVDS/TTL modes - -maintainers: - - Heiko Stuebner - -properties: - "#phy-cells": - const: 0 - - compatible: - enum: - - rockchip,px30-dsi-dphy - - rockchip,rk3128-dsi-dphy - - rockchip,rk3368-dsi-dphy - - rockchip,rk3568-dsi-dphy - - rockchip,rv1126-dsi-dphy - - reg: - maxItems: 1 - - clocks: - items: - - description: PLL reference clock - - description: Module clock - - clock-names: - items: - - const: ref - - const: pclk - - power-domains: - maxItems: 1 - description: phandle to the associated power domain - - resets: - items: - - description: exclusive PHY reset line - - reset-names: - items: - - const: apb - -required: - - "#phy-cells" - - compatible - - reg - - clocks - - clock-names - - resets - - reset-names - -additionalProperties: false - -examples: - - | - dsi_dphy: phy@ff2e0000 { - compatible = "rockchip,px30-dsi-dphy"; - reg = <0xff2e0000 0x10000>; - clocks = <&pmucru 13>, <&cru 12>; - clock-names = "ref", "pclk"; - resets = <&cru 12>; - reset-names = "apb"; - #phy-cells = <0>; - }; - -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/rockchip,px30-dsi-dphy.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Rockchip MIPI DPHY with additional LVDS/TTL modes + +maintainers: + - Heiko Stuebner + +properties: + "#phy-cells": + const: 0 + + compatible: + enum: + - rockchip,px30-dsi-dphy + - rockchip,rk3128-dsi-dphy + - rockchip,rk3368-dsi-dphy + - rockchip,rk3568-dsi-dphy + - rockchip,rv1126-dsi-dphy + + reg: + maxItems: 1 + + clocks: + items: + - description: PLL reference clock + - description: Module clock + + clock-names: + items: + - const: ref + - const: pclk + + power-domains: + maxItems: 1 + description: phandle to the associated power domain + + resets: + items: + - description: exclusive PHY reset line + + reset-names: + items: + - const: apb + +required: + - "#phy-cells" + - compatible + - reg + - clocks + - clock-names + - resets + - reset-names + +additionalProperties: false + +examples: + - | + dsi_dphy: phy@ff2e0000 { + compatible = "rockchip,px30-dsi-dphy"; + reg = <0xff2e0000 0x10000>; + clocks = <&pmucru 13>, <&cru 12>; + clock-names = "ref", "pclk"; + resets = <&cru 12>; + reset-names = "apb"; + #phy-cells = <0>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/rockchip-inno-csi-dphy.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/rockchip-inno-csi-dphy.yaml index 6a4ef08e88..5ac994b3c0 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/rockchip-inno-csi-dphy.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/rockchip-inno-csi-dphy.yaml @@ -1,80 +1,80 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/phy/rockchip-inno-csi-dphy.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Rockchip SoC MIPI RX0 D-PHY - -maintainers: - - Heiko Stuebner - -description: | - The Rockchip SoC has a MIPI CSI D-PHY based on an Innosilicon IP which - connects to the ISP1 (Image Signal Processing unit v1.0) for CSI cameras. - -properties: - compatible: - enum: - - rockchip,px30-csi-dphy - - rockchip,rk1808-csi-dphy - - rockchip,rk3326-csi-dphy - - rockchip,rk3368-csi-dphy - - rockchip,rk3568-csi-dphy - - reg: - maxItems: 1 - - clocks: - maxItems: 1 - - clock-names: - const: pclk - - '#phy-cells': - const: 0 - - power-domains: - description: Video in/out power domain. - maxItems: 1 - - resets: - items: - - description: exclusive PHY reset line - - reset-names: - items: - - const: apb - - rockchip,grf: - $ref: /schemas/types.yaml#/definitions/phandle - description: - Some additional phy settings are access through GRF regs. - -required: - - compatible - - reg - - clocks - - clock-names - - '#phy-cells' - - power-domains - - resets - - reset-names - - rockchip,grf - -additionalProperties: false - -examples: - - | - - csi_dphy: phy@ff2f0000 { - compatible = "rockchip,px30-csi-dphy"; - reg = <0xff2f0000 0x4000>; - clocks = <&cru 1>; - clock-names = "pclk"; - #phy-cells = <0>; - power-domains = <&power 1>; - resets = <&cru 1>; - reset-names = "apb"; - rockchip,grf = <&grf>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/rockchip-inno-csi-dphy.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Rockchip SoC MIPI RX0 D-PHY + +maintainers: + - Heiko Stuebner + +description: | + The Rockchip SoC has a MIPI CSI D-PHY based on an Innosilicon IP which + connects to the ISP1 (Image Signal Processing unit v1.0) for CSI cameras. + +properties: + compatible: + enum: + - rockchip,px30-csi-dphy + - rockchip,rk1808-csi-dphy + - rockchip,rk3326-csi-dphy + - rockchip,rk3368-csi-dphy + - rockchip,rk3568-csi-dphy + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + clock-names: + const: pclk + + '#phy-cells': + const: 0 + + power-domains: + description: Video in/out power domain. + maxItems: 1 + + resets: + items: + - description: exclusive PHY reset line + + reset-names: + items: + - const: apb + + rockchip,grf: + $ref: /schemas/types.yaml#/definitions/phandle + description: + Some additional phy settings are access through GRF regs. + +required: + - compatible + - reg + - clocks + - clock-names + - '#phy-cells' + - power-domains + - resets + - reset-names + - rockchip,grf + +additionalProperties: false + +examples: + - | + + csi_dphy: phy@ff2f0000 { + compatible = "rockchip,px30-csi-dphy"; + reg = <0xff2f0000 0x4000>; + clocks = <&cru 1>; + clock-names = "pclk"; + #phy-cells = <0>; + power-domains = <&power 1>; + resets = <&cru 1>; + reset-names = "apb"; + rockchip,grf = <&grf>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/rockchip-mipi-dphy-rx0.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/rockchip-mipi-dphy-rx0.yaml index 927264f56a..5114e99b00 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/rockchip-mipi-dphy-rx0.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/rockchip-mipi-dphy-rx0.yaml @@ -1,73 +1,73 @@ -# SPDX-License-Identifier: (GPL-2.0+ OR MIT) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/phy/rockchip-mipi-dphy-rx0.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Rockchip SoC MIPI RX0 D-PHY - -maintainers: - - Helen Koike - - Ezequiel Garcia - -description: | - The Rockchip SoC has a MIPI D-PHY bus with an RX0 entry which connects to - the ISP1 (Image Signal Processing unit v1.0) for CSI cameras. - -properties: - compatible: - const: rockchip,rk3399-mipi-dphy-rx0 - - clocks: - items: - - description: MIPI D-PHY ref clock - - description: MIPI D-PHY RX0 cfg clock - - description: Video in/out general register file clock - - clock-names: - items: - - const: dphy-ref - - const: dphy-cfg - - const: grf - - '#phy-cells': - const: 0 - - power-domains: - description: Video in/out power domain. - maxItems: 1 - -required: - - compatible - - clocks - - clock-names - - '#phy-cells' - - power-domains - -additionalProperties: false - -examples: - - | - - /* - * MIPI D-PHY RX0 use registers in "general register files", it - * should be a child of the GRF. - * - * grf: syscon@ff770000 { - * compatible = "rockchip,rk3399-grf", "syscon", "simple-mfd"; - * ... - * }; - */ - - #include - #include - - mipi_dphy_rx0: mipi-dphy-rx0 { - compatible = "rockchip,rk3399-mipi-dphy-rx0"; - clocks = <&cru SCLK_MIPIDPHY_REF>, - <&cru SCLK_DPHY_RX0_CFG>, - <&cru PCLK_VIO_GRF>; - clock-names = "dphy-ref", "dphy-cfg", "grf"; - power-domains = <&power RK3399_PD_VIO>; - #phy-cells = <0>; - }; +# SPDX-License-Identifier: (GPL-2.0+ OR MIT) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/rockchip-mipi-dphy-rx0.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Rockchip SoC MIPI RX0 D-PHY + +maintainers: + - Helen Koike + - Ezequiel Garcia + +description: | + The Rockchip SoC has a MIPI D-PHY bus with an RX0 entry which connects to + the ISP1 (Image Signal Processing unit v1.0) for CSI cameras. + +properties: + compatible: + const: rockchip,rk3399-mipi-dphy-rx0 + + clocks: + items: + - description: MIPI D-PHY ref clock + - description: MIPI D-PHY RX0 cfg clock + - description: Video in/out general register file clock + + clock-names: + items: + - const: dphy-ref + - const: dphy-cfg + - const: grf + + '#phy-cells': + const: 0 + + power-domains: + description: Video in/out power domain. + maxItems: 1 + +required: + - compatible + - clocks + - clock-names + - '#phy-cells' + - power-domains + +additionalProperties: false + +examples: + - | + + /* + * MIPI D-PHY RX0 use registers in "general register files", it + * should be a child of the GRF. + * + * grf: syscon@ff770000 { + * compatible = "rockchip,rk3399-grf", "syscon", "simple-mfd"; + * ... + * }; + */ + + #include + #include + + mipi_dphy_rx0: mipi-dphy-rx0 { + compatible = "rockchip,rk3399-mipi-dphy-rx0"; + clocks = <&cru SCLK_MIPIDPHY_REF>, + <&cru SCLK_DPHY_RX0_CFG>, + <&cru PCLK_VIO_GRF>; + clock-names = "dphy-ref", "dphy-cfg", "grf"; + power-domains = <&power RK3399_PD_VIO>; + #phy-cells = <0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/samsung,exynos5250-sata-phy.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/samsung,exynos5250-sata-phy.yaml index 2ccbf745d4..8751e55948 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/samsung,exynos5250-sata-phy.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/samsung,exynos5250-sata-phy.yaml @@ -1,64 +1,64 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/phy/samsung,exynos5250-sata-phy.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Samsung Exynos5250 SoC SATA PHY - -maintainers: - - Krzysztof Kozlowski - - Marek Szyprowski - - Sylwester Nawrocki - -properties: - compatible: - const: samsung,exynos5250-sata-phy - - clocks: - maxItems: 1 - - clock-names: - items: - - const: sata_phyctrl - - "#phy-cells": - const: 0 - - reg: - maxItems: 1 - - samsung,syscon-phandle: - $ref: /schemas/types.yaml#/definitions/phandle - description: - Phandle to PMU system controller interface. - - samsung,exynos-sataphy-i2c-phandle: - $ref: /schemas/types.yaml#/definitions/phandle - description: - Phandle to I2C SATA interface. - -required: - - compatible - - clocks - - clock-names - - "#phy-cells" - - reg - - samsung,syscon-phandle - - samsung,exynos-sataphy-i2c-phandle - -additionalProperties: false - -examples: - - | - #include - - phy@12170000 { - compatible = "samsung,exynos5250-sata-phy"; - reg = <0x12170000 0x1ff>; - clocks = <&clock CLK_SATA_PHYCTRL>; - clock-names = "sata_phyctrl"; - #phy-cells = <0>; - samsung,syscon-phandle = <&pmu_system_controller>; - samsung,exynos-sataphy-i2c-phandle = <&sata_phy_i2c>; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/samsung,exynos5250-sata-phy.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Samsung Exynos5250 SoC SATA PHY + +maintainers: + - Krzysztof Kozlowski + - Marek Szyprowski + - Sylwester Nawrocki + +properties: + compatible: + const: samsung,exynos5250-sata-phy + + clocks: + maxItems: 1 + + clock-names: + items: + - const: sata_phyctrl + + "#phy-cells": + const: 0 + + reg: + maxItems: 1 + + samsung,syscon-phandle: + $ref: /schemas/types.yaml#/definitions/phandle + description: + Phandle to PMU system controller interface. + + samsung,exynos-sataphy-i2c-phandle: + $ref: /schemas/types.yaml#/definitions/phandle + description: + Phandle to I2C SATA interface. + +required: + - compatible + - clocks + - clock-names + - "#phy-cells" + - reg + - samsung,syscon-phandle + - samsung,exynos-sataphy-i2c-phandle + +additionalProperties: false + +examples: + - | + #include + + phy@12170000 { + compatible = "samsung,exynos5250-sata-phy"; + reg = <0x12170000 0x1ff>; + clocks = <&clock CLK_SATA_PHYCTRL>; + clock-names = "sata_phyctrl"; + #phy-cells = <0>; + samsung,syscon-phandle = <&pmu_system_controller>; + samsung,exynos-sataphy-i2c-phandle = <&sata_phy_i2c>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/socionext,uniphier-usb2-phy.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/socionext,uniphier-usb2-phy.yaml index 89bd29f4a0..19522c54f4 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/socionext,uniphier-usb2-phy.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/socionext,uniphier-usb2-phy.yaml @@ -1,83 +1,83 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/phy/socionext,uniphier-usb2-phy.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Socionext UniPhier USB2 PHY - -description: | - This describes the devicetree bindings for PHY interface built into - USB2 controller implemented on Socionext UniPhier SoCs. - Pro4 SoC has both USB2 and USB3 host controllers, however, this USB3 - controller doesn't include its own High-Speed PHY. This needs to specify - USB2 PHY instead of USB3 HS-PHY. - -maintainers: - - Kunihiko Hayashi - -properties: - compatible: - enum: - - socionext,uniphier-pro4-usb2-phy - - socionext,uniphier-ld11-usb2-phy - - "#address-cells": - const: 1 - - "#size-cells": - const: 0 - -patternProperties: - "^phy@[0-9]+$": - type: object - additionalProperties: false - - properties: - reg: - minimum: 0 - maximum: 3 - description: - The ID number for the PHY - - "#phy-cells": - const: 0 - - vbus-supply: - description: A phandle to the regulator for USB VBUS, only for USB host - - required: - - reg - - "#phy-cells" - -required: - - compatible - - "#address-cells" - - "#size-cells" - -additionalProperties: false - -examples: - - | - // The UniPhier usb2-phy should be a subnode of a "syscon" compatible node. - - usb-hub { - compatible = "socionext,uniphier-ld11-usb2-phy"; - #address-cells = <1>; - #size-cells = <0>; - - usb_phy0: phy@0 { - reg = <0>; - #phy-cells = <0>; - }; - - usb_phy1: phy@1 { - reg = <1>; - #phy-cells = <0>; - }; - - usb_phy2: phy@2 { - reg = <2>; - #phy-cells = <0>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/socionext,uniphier-usb2-phy.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Socionext UniPhier USB2 PHY + +description: | + This describes the devicetree bindings for PHY interface built into + USB2 controller implemented on Socionext UniPhier SoCs. + Pro4 SoC has both USB2 and USB3 host controllers, however, this USB3 + controller doesn't include its own High-Speed PHY. This needs to specify + USB2 PHY instead of USB3 HS-PHY. + +maintainers: + - Kunihiko Hayashi + +properties: + compatible: + enum: + - socionext,uniphier-pro4-usb2-phy + - socionext,uniphier-ld11-usb2-phy + + "#address-cells": + const: 1 + + "#size-cells": + const: 0 + +patternProperties: + "^phy@[0-9]+$": + type: object + additionalProperties: false + + properties: + reg: + minimum: 0 + maximum: 3 + description: + The ID number for the PHY + + "#phy-cells": + const: 0 + + vbus-supply: + description: A phandle to the regulator for USB VBUS, only for USB host + + required: + - reg + - "#phy-cells" + +required: + - compatible + - "#address-cells" + - "#size-cells" + +additionalProperties: false + +examples: + - | + // The UniPhier usb2-phy should be a subnode of a "syscon" compatible node. + + usb-hub { + compatible = "socionext,uniphier-ld11-usb2-phy"; + #address-cells = <1>; + #size-cells = <0>; + + usb_phy0: phy@0 { + reg = <0>; + #phy-cells = <0>; + }; + + usb_phy1: phy@1 { + reg = <1>; + #phy-cells = <0>; + }; + + usb_phy2: phy@2 { + reg = <2>; + #phy-cells = <0>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/st,stih407-usb2-phy.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/st,stih407-usb2-phy.yaml index 2910e944f8..e45cdd98aa 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/st,stih407-usb2-phy.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/st,stih407-usb2-phy.yaml @@ -1,63 +1,63 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/phy/st,stih407-usb2-phy.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: STMicroelectronics STiH407 USB PHY controller - -maintainers: - - Patrice Chotard - -description: - The USB picoPHY device is the PHY for both USB2 and USB3 host controllers - (when controlling usb2/1.1 devices) available on STiH407 SoC family from - STMicroelectronics. - -properties: - compatible: - const: st,stih407-usb2-phy - - st,syscfg: - description: Phandle to the syscfg bank - $ref: /schemas/types.yaml#/definitions/phandle-array - items: - - items: - - description: phandle to syscfg - - description: phyparam register offset - - description: phyctrl register offset - - resets: - items: - - description: Phandle and reset specifier pair for the whole phy. - - description: Phandle and reset specifier pair for the port. - - reset-names: - items: - - const: global - - const: port - - "#phy-cells": - const: 0 - -required: - - compatible - - st,syscfg - - resets - - reset-names - - "#phy-cells" - -additionalProperties: false - -examples: - - | - #include - usb-phy { - compatible = "st,stih407-usb2-phy"; - #phy-cells = <0>; - st,syscfg = <&syscfg_core 0x100 0xf4>; - resets = <&softreset STIH407_PICOPHY_SOFTRESET>, - <&picophyreset STIH407_PICOPHY0_RESET>; - reset-names = "global", "port"; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/st,stih407-usb2-phy.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: STMicroelectronics STiH407 USB PHY controller + +maintainers: + - Patrice Chotard + +description: + The USB picoPHY device is the PHY for both USB2 and USB3 host controllers + (when controlling usb2/1.1 devices) available on STiH407 SoC family from + STMicroelectronics. + +properties: + compatible: + const: st,stih407-usb2-phy + + st,syscfg: + description: Phandle to the syscfg bank + $ref: /schemas/types.yaml#/definitions/phandle-array + items: + - items: + - description: phandle to syscfg + - description: phyparam register offset + - description: phyctrl register offset + + resets: + items: + - description: Phandle and reset specifier pair for the whole phy. + - description: Phandle and reset specifier pair for the port. + + reset-names: + items: + - const: global + - const: port + + "#phy-cells": + const: 0 + +required: + - compatible + - st,syscfg + - resets + - reset-names + - "#phy-cells" + +additionalProperties: false + +examples: + - | + #include + usb-phy { + compatible = "st,stih407-usb2-phy"; + #phy-cells = <0>; + st,syscfg = <&syscfg_core 0x100 0xf4>; + resets = <&softreset STIH407_PICOPHY_SOFTRESET>, + <&picophyreset STIH407_PICOPHY0_RESET>; + reset-names = "global", "port"; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/starfive,jh7110-dphy-rx.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/starfive,jh7110-dphy-rx.yaml index 86d1fb2636..7224cde6fc 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/starfive,jh7110-dphy-rx.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/starfive,jh7110-dphy-rx.yaml @@ -1,71 +1,71 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/phy/starfive,jh7110-dphy-rx.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: StarFive SoC JH7110 MIPI D-PHY Rx Controller - -maintainers: - - Jack Zhu - - Changhuang Liang - -description: - StarFive SoCs contain a MIPI CSI D-PHY based on M31 IP, used to - transfer CSI camera data. - -properties: - compatible: - const: starfive,jh7110-dphy-rx - - reg: - maxItems: 1 - - clocks: - items: - - description: config clock - - description: reference clock - - description: escape mode transmit clock - - clock-names: - items: - - const: cfg - - const: ref - - const: tx - - resets: - items: - - description: DPHY_HW reset - - description: DPHY_B09_ALWAYS_ON reset - - power-domains: - maxItems: 1 - - "#phy-cells": - const: 0 - -required: - - compatible - - reg - - clocks - - clock-names - - resets - - power-domains - - "#phy-cells" - -additionalProperties: false - -examples: - - | - phy@19820000 { - compatible = "starfive,jh7110-dphy-rx"; - reg = <0x19820000 0x10000>; - clocks = <&ispcrg 3>, - <&ispcrg 4>, - <&ispcrg 5>; - clock-names = "cfg", "ref", "tx"; - resets = <&ispcrg 2>, - <&ispcrg 3>; - power-domains = <&aon_syscon 1>; - #phy-cells = <0>; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/starfive,jh7110-dphy-rx.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: StarFive SoC JH7110 MIPI D-PHY Rx Controller + +maintainers: + - Jack Zhu + - Changhuang Liang + +description: + StarFive SoCs contain a MIPI CSI D-PHY based on M31 IP, used to + transfer CSI camera data. + +properties: + compatible: + const: starfive,jh7110-dphy-rx + + reg: + maxItems: 1 + + clocks: + items: + - description: config clock + - description: reference clock + - description: escape mode transmit clock + + clock-names: + items: + - const: cfg + - const: ref + - const: tx + + resets: + items: + - description: DPHY_HW reset + - description: DPHY_B09_ALWAYS_ON reset + + power-domains: + maxItems: 1 + + "#phy-cells": + const: 0 + +required: + - compatible + - reg + - clocks + - clock-names + - resets + - power-domains + - "#phy-cells" + +additionalProperties: false + +examples: + - | + phy@19820000 { + compatible = "starfive,jh7110-dphy-rx"; + reg = <0x19820000 0x10000>; + clocks = <&ispcrg 3>, + <&ispcrg 4>, + <&ispcrg 5>; + clock-names = "cfg", "ref", "tx"; + resets = <&ispcrg 2>, + <&ispcrg 3>; + power-domains = <&aon_syscon 1>; + #phy-cells = <0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/starfive,jh7110-pcie-phy.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/starfive,jh7110-pcie-phy.yaml index 60b0811598..2e83a6164c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/starfive,jh7110-pcie-phy.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/starfive,jh7110-pcie-phy.yaml @@ -1,58 +1,58 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/phy/starfive,jh7110-pcie-phy.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: StarFive JH7110 PCIe 2.0 PHY - -maintainers: - - Minda Chen - -properties: - compatible: - const: starfive,jh7110-pcie-phy - - reg: - maxItems: 1 - - "#phy-cells": - const: 0 - - starfive,sys-syscon: - $ref: /schemas/types.yaml#/definitions/phandle-array - items: - - items: - - description: phandle to System Register Controller sys_syscon node. - - description: PHY connect offset of SYS_SYSCONSAIF__SYSCFG register for USB PHY. - description: - The phandle to System Register Controller syscon node and the PHY connect offset - of SYS_SYSCONSAIF__SYSCFG register. Connect PHY to USB3 controller. - - starfive,stg-syscon: - $ref: /schemas/types.yaml#/definitions/phandle-array - items: - - items: - - description: phandle to System Register Controller stg_syscon node. - - description: PHY mode offset of STG_SYSCONSAIF__SYSCFG register. - - description: PHY enable for USB offset of STG_SYSCONSAIF__SYSCFG register. - description: - The phandle to System Register Controller syscon node and the offset - of STG_SYSCONSAIF__SYSCFG register for PCIe PHY. Total 2 regsisters offset. - -required: - - compatible - - reg - - "#phy-cells" - -additionalProperties: false - -examples: - - | - phy@10210000 { - compatible = "starfive,jh7110-pcie-phy"; - reg = <0x10210000 0x10000>; - #phy-cells = <0>; - starfive,sys-syscon = <&sys_syscon 0x18>; - starfive,stg-syscon = <&stg_syscon 0x148 0x1f4>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/starfive,jh7110-pcie-phy.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: StarFive JH7110 PCIe 2.0 PHY + +maintainers: + - Minda Chen + +properties: + compatible: + const: starfive,jh7110-pcie-phy + + reg: + maxItems: 1 + + "#phy-cells": + const: 0 + + starfive,sys-syscon: + $ref: /schemas/types.yaml#/definitions/phandle-array + items: + - items: + - description: phandle to System Register Controller sys_syscon node. + - description: PHY connect offset of SYS_SYSCONSAIF__SYSCFG register for USB PHY. + description: + The phandle to System Register Controller syscon node and the PHY connect offset + of SYS_SYSCONSAIF__SYSCFG register. Connect PHY to USB3 controller. + + starfive,stg-syscon: + $ref: /schemas/types.yaml#/definitions/phandle-array + items: + - items: + - description: phandle to System Register Controller stg_syscon node. + - description: PHY mode offset of STG_SYSCONSAIF__SYSCFG register. + - description: PHY enable for USB offset of STG_SYSCONSAIF__SYSCFG register. + description: + The phandle to System Register Controller syscon node and the offset + of STG_SYSCONSAIF__SYSCFG register for PCIe PHY. Total 2 regsisters offset. + +required: + - compatible + - reg + - "#phy-cells" + +additionalProperties: false + +examples: + - | + phy@10210000 { + compatible = "starfive,jh7110-pcie-phy"; + reg = <0x10210000 0x10000>; + #phy-cells = <0>; + starfive,sys-syscon = <&sys_syscon 0x18>; + starfive,stg-syscon = <&stg_syscon 0x148 0x1f4>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/sunplus,sp7021-usb2-phy.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/sunplus,sp7021-usb2-phy.yaml index 3a2adb5790..57914f214e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/sunplus,sp7021-usb2-phy.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/sunplus,sp7021-usb2-phy.yaml @@ -1,73 +1,73 @@ -# 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/phy/sunplus,sp7021-usb2-phy.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Sunplus SP7021 USB 2.0 PHY Controller - -maintainers: - - Vincent Shih - -properties: - compatible: - const: sunplus,sp7021-usb2-phy - - reg: - items: - - description: UPHY register region - - description: MOON4 register region - - reg-names: - items: - - const: phy - - const: moon4 - - clocks: - maxItems: 1 - - resets: - maxItems: 1 - - "#phy-cells": - const: 0 - - nvmem-cell-names: - description: names corresponding to the nvmem cells of disconnect voltage - const: disc_vol - - nvmem-cells: - description: nvmem cell address of disconnect voltage - maxItems: 1 - - sunplus,disc-vol-addr-off: - $ref: /schemas/types.yaml#/definitions/uint32 - description: the otp address offset of disconnect voltage - -required: - - compatible - - reg - - reg-names - - clocks - - resets - - "#phy-cells" - - nvmem-cell-names - - nvmem-cells - - sunplus,disc-vol-addr-off - -additionalProperties: false - -examples: - - | - sp_uphy0: usb-phy@9c004a80 { - compatible = "sunplus,sp7021-usb2-phy"; - reg = <0x9c004a80 0x80>, <0x9c000248 0x10>; - reg-names = "phy", "moon4"; - clocks = <&clkc 0x3d>; - resets = <&rstc 0x2d>; - #phy-cells = <0>; - nvmem-cell-names = "disc_vol"; - nvmem-cells = <&disc_vol>; - sunplus,disc-vol-addr-off = <0>; - }; +# 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/phy/sunplus,sp7021-usb2-phy.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Sunplus SP7021 USB 2.0 PHY Controller + +maintainers: + - Vincent Shih + +properties: + compatible: + const: sunplus,sp7021-usb2-phy + + reg: + items: + - description: UPHY register region + - description: MOON4 register region + + reg-names: + items: + - const: phy + - const: moon4 + + clocks: + maxItems: 1 + + resets: + maxItems: 1 + + "#phy-cells": + const: 0 + + nvmem-cell-names: + description: names corresponding to the nvmem cells of disconnect voltage + const: disc_vol + + nvmem-cells: + description: nvmem cell address of disconnect voltage + maxItems: 1 + + sunplus,disc-vol-addr-off: + $ref: /schemas/types.yaml#/definitions/uint32 + description: the otp address offset of disconnect voltage + +required: + - compatible + - reg + - reg-names + - clocks + - resets + - "#phy-cells" + - nvmem-cell-names + - nvmem-cells + - sunplus,disc-vol-addr-off + +additionalProperties: false + +examples: + - | + sp_uphy0: usb-phy@9c004a80 { + compatible = "sunplus,sp7021-usb2-phy"; + reg = <0x9c004a80 0x80>, <0x9c000248 0x10>; + reg-names = "phy", "moon4"; + clocks = <&clkc 0x3d>; + resets = <&rstc 0x2d>; + #phy-cells = <0>; + nvmem-cell-names = "disc_vol"; + nvmem-cells = <&disc_vol>; + sunplus,disc-vol-addr-off = <0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/ti,omap-usb2.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/ti,omap-usb2.yaml index 7d3787967c..8694b9eb52 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/ti,omap-usb2.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/ti,omap-usb2.yaml @@ -1,80 +1,80 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/phy/ti,omap-usb2.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: OMAP USB2 PHY - -maintainers: - - Kishon Vijay Abraham I - - Roger Quadros - -properties: - compatible: - oneOf: - - items: - - enum: - - ti,dra7x-usb2 - - ti,dra7x-usb2-phy2 - - ti,am654-usb2 - - enum: - - ti,omap-usb2 - - items: - - const: ti,am437x-usb2 - - items: - - const: ti,omap-usb2 - - reg: - maxItems: 1 - - "#phy-cells": - const: 0 - - clocks: - minItems: 1 - items: - - description: wakeup clock - - description: reference clock - - clock-names: - minItems: 1 - items: - - const: wkupclk - - const: refclk - - syscon-phy-power: - $ref: /schemas/types.yaml#/definitions/phandle-array - items: - - items: - - description: phandle to the system control module - - description: register offset to power on/off the PHY - description: - phandle/offset pair. Phandle to the system control module and - register offset to power on/off the PHY. - - ctrl-module: - $ref: /schemas/types.yaml#/definitions/phandle - description: - (deprecated) phandle of the control module used by PHY driver - to power on the PHY. Use syscon-phy-power instead. - -required: - - compatible - - reg - - "#phy-cells" - - clocks - - clock-names - -additionalProperties: false - -examples: - - | - usb0_phy: phy@4100000 { - compatible = "ti,am654-usb2", "ti,omap-usb2"; - reg = <0x4100000 0x54>; - syscon-phy-power = <&scm_conf 0x4000>; - clocks = <&k3_clks 151 0>, <&k3_clks 151 1>; - clock-names = "wkupclk", "refclk"; - #phy-cells = <0>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/ti,omap-usb2.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: OMAP USB2 PHY + +maintainers: + - Kishon Vijay Abraham I + - Roger Quadros + +properties: + compatible: + oneOf: + - items: + - enum: + - ti,dra7x-usb2 + - ti,dra7x-usb2-phy2 + - ti,am654-usb2 + - enum: + - ti,omap-usb2 + - items: + - const: ti,am437x-usb2 + - items: + - const: ti,omap-usb2 + + reg: + maxItems: 1 + + "#phy-cells": + const: 0 + + clocks: + minItems: 1 + items: + - description: wakeup clock + - description: reference clock + + clock-names: + minItems: 1 + items: + - const: wkupclk + - const: refclk + + syscon-phy-power: + $ref: /schemas/types.yaml#/definitions/phandle-array + items: + - items: + - description: phandle to the system control module + - description: register offset to power on/off the PHY + description: + phandle/offset pair. Phandle to the system control module and + register offset to power on/off the PHY. + + ctrl-module: + $ref: /schemas/types.yaml#/definitions/phandle + description: + (deprecated) phandle of the control module used by PHY driver + to power on the PHY. Use syscon-phy-power instead. + +required: + - compatible + - reg + - "#phy-cells" + - clocks + - clock-names + +additionalProperties: false + +examples: + - | + usb0_phy: phy@4100000 { + compatible = "ti,am654-usb2", "ti,omap-usb2"; + reg = <0x4100000 0x54>; + syscon-phy-power = <&scm_conf 0x4000>; + clocks = <&k3_clks 151 0>, <&k3_clks 151 1>; + clock-names = "wkupclk", "refclk"; + #phy-cells = <0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/amlogic,meson-pinctrl-a1.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/amlogic,meson-pinctrl-a1.yaml index e078e6b473..d9e0b2c48e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/amlogic,meson-pinctrl-a1.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/amlogic,meson-pinctrl-a1.yaml @@ -1,73 +1,73 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/pinctrl/amlogic,meson-pinctrl-a1.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Amlogic Meson A1 pinmux controller - -maintainers: - - Neil Armstrong - -allOf: - - $ref: amlogic,meson-pinctrl-common.yaml# - -properties: - compatible: - enum: - - amlogic,c3-periphs-pinctrl - - amlogic,t7-periphs-pinctrl - - amlogic,meson-a1-periphs-pinctrl - - amlogic,meson-s4-periphs-pinctrl - -required: - - compatible - -patternProperties: - "^bank@[0-9a-f]+$": - $ref: amlogic,meson-pinctrl-common.yaml#/$defs/meson-gpio - - unevaluatedProperties: false - - properties: - reg: - maxItems: 2 - - reg-names: - items: - - const: mux - - const: gpio - - gpio-line-names: - minItems: 62 # A1 - maxItems: 82 # S4 - -unevaluatedProperties: - type: object - $ref: amlogic,meson-pinctrl-common.yaml#/$defs/meson-pins - -examples: - - | - periphs_pinctrl: pinctrl { - compatible = "amlogic,meson-a1-periphs-pinctrl"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - - bank@400 { - reg = <0x0400 0x003c>, - <0x0480 0x0118>; - reg-names = "mux", "gpio"; - gpio-controller; - #gpio-cells = <2>; - gpio-ranges = <&periphs_pinctrl 0 0 62>; - }; - - cec_ao_a_h_pins: cec_ao_a_h { - mux { - groups = "cec_ao_a_h"; - function = "cec_ao_a_h"; - bias-disable; - }; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/pinctrl/amlogic,meson-pinctrl-a1.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Amlogic Meson A1 pinmux controller + +maintainers: + - Neil Armstrong + +allOf: + - $ref: amlogic,meson-pinctrl-common.yaml# + +properties: + compatible: + enum: + - amlogic,c3-periphs-pinctrl + - amlogic,t7-periphs-pinctrl + - amlogic,meson-a1-periphs-pinctrl + - amlogic,meson-s4-periphs-pinctrl + +required: + - compatible + +patternProperties: + "^bank@[0-9a-f]+$": + $ref: amlogic,meson-pinctrl-common.yaml#/$defs/meson-gpio + + unevaluatedProperties: false + + properties: + reg: + maxItems: 2 + + reg-names: + items: + - const: mux + - const: gpio + + gpio-line-names: + minItems: 62 # A1 + maxItems: 82 # S4 + +unevaluatedProperties: + type: object + $ref: amlogic,meson-pinctrl-common.yaml#/$defs/meson-pins + +examples: + - | + periphs_pinctrl: pinctrl { + compatible = "amlogic,meson-a1-periphs-pinctrl"; + #address-cells = <1>; + #size-cells = <1>; + ranges; + + bank@400 { + reg = <0x0400 0x003c>, + <0x0480 0x0118>; + reg-names = "mux", "gpio"; + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&periphs_pinctrl 0 0 62>; + }; + + cec_ao_a_h_pins: cec_ao_a_h { + mux { + groups = "cec_ao_a_h"; + function = "cec_ao_a_h"; + bias-disable; + }; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/amlogic,meson-pinctrl-g12a-aobus.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/amlogic,meson-pinctrl-g12a-aobus.yaml index f909095709..108719bde0 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/amlogic,meson-pinctrl-g12a-aobus.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/amlogic,meson-pinctrl-g12a-aobus.yaml @@ -1,71 +1,71 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/pinctrl/amlogic,meson-pinctrl-g12a-aobus.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Amlogic Meson G12 AOBUS pinmux controller - -maintainers: - - Neil Armstrong - -allOf: - - $ref: amlogic,meson-pinctrl-common.yaml# - -properties: - compatible: - enum: - - amlogic,meson-g12a-aobus-pinctrl - -required: - - compatible - -patternProperties: - "^bank@[0-9a-f]+$": - $ref: amlogic,meson-pinctrl-common.yaml#/$defs/meson-gpio - - unevaluatedProperties: false - - properties: - reg: - maxItems: 3 - - reg-names: - items: - - const: mux - - const: ds - - const: gpio - - gpio-line-names: - maxItems: 15 - -unevaluatedProperties: - type: object - $ref: amlogic,meson-pinctrl-common.yaml#/$defs/meson-pins - -examples: - - | - ao_pinctrl: pinctrl { - compatible = "amlogic,meson-g12a-aobus-pinctrl"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - - bank@14 { - reg = <0x14 0x8>, - <0x1c 0x8>, - <0x24 0x14>; - reg-names = "mux", "ds", "gpio"; - gpio-controller; - #gpio-cells = <2>; - gpio-ranges = <&ao_pinctrl 0 0 15>; - }; - - cec_ao_a_h_pins: cec_ao_a_h { - mux { - groups = "cec_ao_a_h"; - function = "cec_ao_a_h"; - bias-disable; - }; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/pinctrl/amlogic,meson-pinctrl-g12a-aobus.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Amlogic Meson G12 AOBUS pinmux controller + +maintainers: + - Neil Armstrong + +allOf: + - $ref: amlogic,meson-pinctrl-common.yaml# + +properties: + compatible: + enum: + - amlogic,meson-g12a-aobus-pinctrl + +required: + - compatible + +patternProperties: + "^bank@[0-9a-f]+$": + $ref: amlogic,meson-pinctrl-common.yaml#/$defs/meson-gpio + + unevaluatedProperties: false + + properties: + reg: + maxItems: 3 + + reg-names: + items: + - const: mux + - const: ds + - const: gpio + + gpio-line-names: + maxItems: 15 + +unevaluatedProperties: + type: object + $ref: amlogic,meson-pinctrl-common.yaml#/$defs/meson-pins + +examples: + - | + ao_pinctrl: pinctrl { + compatible = "amlogic,meson-g12a-aobus-pinctrl"; + #address-cells = <1>; + #size-cells = <1>; + ranges; + + bank@14 { + reg = <0x14 0x8>, + <0x1c 0x8>, + <0x24 0x14>; + reg-names = "mux", "ds", "gpio"; + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&ao_pinctrl 0 0 15>; + }; + + cec_ao_a_h_pins: cec_ao_a_h { + mux { + groups = "cec_ao_a_h"; + function = "cec_ao_a_h"; + bias-disable; + }; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/amlogic,meson-pinctrl-g12a-periphs.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/amlogic,meson-pinctrl-g12a-periphs.yaml index a25d5d3cd7..dc277f2e2e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/amlogic,meson-pinctrl-g12a-periphs.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/amlogic,meson-pinctrl-g12a-periphs.yaml @@ -1,75 +1,75 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/pinctrl/amlogic,meson-pinctrl-g12a-periphs.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Amlogic Meson G12 PERIPHS pinmux controller - -maintainers: - - Neil Armstrong - -allOf: - - $ref: amlogic,meson-pinctrl-common.yaml# - -properties: - compatible: - enum: - - amlogic,meson-g12a-periphs-pinctrl - -required: - - compatible - -patternProperties: - "^bank@[0-9a-f]+$": - $ref: amlogic,meson-pinctrl-common.yaml#/$defs/meson-gpio - - unevaluatedProperties: false - - properties: - reg: - maxItems: 5 - - reg-names: - items: - - const: gpio - - const: pull - - const: pull-enable - - const: mux - - const: ds - - gpio-line-names: - maxItems: 85 - -unevaluatedProperties: - type: object - $ref: amlogic,meson-pinctrl-common.yaml#/$defs/meson-pins - -examples: - - | - periphs_pinctrl: pinctrl { - compatible = "amlogic,meson-g12a-periphs-pinctrl"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - - bank@40 { - reg = <0x40 0x4c>, - <0xe8 0x18>, - <0x120 0x18>, - <0x2c0 0x40>, - <0x340 0x1c>; - reg-names = "gpio", "pull", "pull-enable", "mux", "ds"; - gpio-controller; - #gpio-cells = <2>; - gpio-ranges = <&periphs_pinctrl 0 0 86>; - }; - - cec_ao_a_h_pins: cec_ao_a_h { - mux { - groups = "cec_ao_a_h"; - function = "cec_ao_a_h"; - bias-disable; - }; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/pinctrl/amlogic,meson-pinctrl-g12a-periphs.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Amlogic Meson G12 PERIPHS pinmux controller + +maintainers: + - Neil Armstrong + +allOf: + - $ref: amlogic,meson-pinctrl-common.yaml# + +properties: + compatible: + enum: + - amlogic,meson-g12a-periphs-pinctrl + +required: + - compatible + +patternProperties: + "^bank@[0-9a-f]+$": + $ref: amlogic,meson-pinctrl-common.yaml#/$defs/meson-gpio + + unevaluatedProperties: false + + properties: + reg: + maxItems: 5 + + reg-names: + items: + - const: gpio + - const: pull + - const: pull-enable + - const: mux + - const: ds + + gpio-line-names: + maxItems: 85 + +unevaluatedProperties: + type: object + $ref: amlogic,meson-pinctrl-common.yaml#/$defs/meson-pins + +examples: + - | + periphs_pinctrl: pinctrl { + compatible = "amlogic,meson-g12a-periphs-pinctrl"; + #address-cells = <1>; + #size-cells = <1>; + ranges; + + bank@40 { + reg = <0x40 0x4c>, + <0xe8 0x18>, + <0x120 0x18>, + <0x2c0 0x40>, + <0x340 0x1c>; + reg-names = "gpio", "pull", "pull-enable", "mux", "ds"; + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&periphs_pinctrl 0 0 86>; + }; + + cec_ao_a_h_pins: cec_ao_a_h { + mux { + groups = "cec_ao_a_h"; + function = "cec_ao_a_h"; + bias-disable; + }; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/amlogic,meson8-pinctrl-aobus.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/amlogic,meson8-pinctrl-aobus.yaml index 4e09fb36f5..add83c6763 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/amlogic,meson8-pinctrl-aobus.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/amlogic,meson8-pinctrl-aobus.yaml @@ -1,80 +1,80 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/pinctrl/amlogic,meson8-pinctrl-aobus.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Amlogic Meson8 AOBUS pinmux controller - -maintainers: - - Neil Armstrong - -allOf: - - $ref: amlogic,meson-pinctrl-common.yaml# - -properties: - compatible: - oneOf: - - enum: - - amlogic,meson8-aobus-pinctrl - - amlogic,meson8b-aobus-pinctrl - - amlogic,meson-gxbb-aobus-pinctrl - - amlogic,meson-gxl-aobus-pinctrl - - amlogic,meson-axg-aobus-pinctrl - - items: - - const: amlogic,meson8m2-aobus-pinctrl - - const: amlogic,meson8-aobus-pinctrl - -required: - - compatible - -patternProperties: - "^bank@[0-9a-f]+$": - $ref: amlogic,meson-pinctrl-common.yaml#/$defs/meson-gpio - - unevaluatedProperties: false - - properties: - reg: - maxItems: 3 - - reg-names: - items: - - const: mux - - const: pull - - const: gpio - - gpio-line-names: - minItems: 11 # GXL - maxItems: 16 # Meson8 - -unevaluatedProperties: - type: object - $ref: amlogic,meson-pinctrl-common.yaml#/$defs/meson-pins - -examples: - - | - pinctrl_aobus: pinctrl { - compatible = "amlogic,meson8-aobus-pinctrl"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - - bank@14 { - reg = <0x14 0x4>, - <0x2c 0x4>, - <0x24 0x8>; - reg-names = "mux", "pull", "gpio"; - gpio-controller; - #gpio-cells = <2>; - gpio-ranges = <&pinctrl_aobus 0 0 16>; - }; - - cec_ao_a_h_pins: cec_ao_a_h { - mux { - groups = "cec_ao_a_h"; - function = "cec_ao_a_h"; - bias-disable; - }; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/pinctrl/amlogic,meson8-pinctrl-aobus.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Amlogic Meson8 AOBUS pinmux controller + +maintainers: + - Neil Armstrong + +allOf: + - $ref: amlogic,meson-pinctrl-common.yaml# + +properties: + compatible: + oneOf: + - enum: + - amlogic,meson8-aobus-pinctrl + - amlogic,meson8b-aobus-pinctrl + - amlogic,meson-gxbb-aobus-pinctrl + - amlogic,meson-gxl-aobus-pinctrl + - amlogic,meson-axg-aobus-pinctrl + - items: + - const: amlogic,meson8m2-aobus-pinctrl + - const: amlogic,meson8-aobus-pinctrl + +required: + - compatible + +patternProperties: + "^bank@[0-9a-f]+$": + $ref: amlogic,meson-pinctrl-common.yaml#/$defs/meson-gpio + + unevaluatedProperties: false + + properties: + reg: + maxItems: 3 + + reg-names: + items: + - const: mux + - const: pull + - const: gpio + + gpio-line-names: + minItems: 11 # GXL + maxItems: 16 # Meson8 + +unevaluatedProperties: + type: object + $ref: amlogic,meson-pinctrl-common.yaml#/$defs/meson-pins + +examples: + - | + pinctrl_aobus: pinctrl { + compatible = "amlogic,meson8-aobus-pinctrl"; + #address-cells = <1>; + #size-cells = <1>; + ranges; + + bank@14 { + reg = <0x14 0x4>, + <0x2c 0x4>, + <0x24 0x8>; + reg-names = "mux", "pull", "gpio"; + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&pinctrl_aobus 0 0 16>; + }; + + cec_ao_a_h_pins: cec_ao_a_h { + mux { + groups = "cec_ao_a_h"; + function = "cec_ao_a_h"; + bias-disable; + }; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/berlin,pinctrl.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/berlin,pinctrl.txt index 07322d32ec..0a2d5516e1 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/berlin,pinctrl.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/berlin,pinctrl.txt @@ -1,47 +1,47 @@ -* Pin-controller driver for the Marvell Berlin SoCs - -Pin control registers are part of both chip controller and system -controller register sets. Pin controller nodes should be a sub-node of -either the chip controller or system controller node. The pins -controlled are organized in groups, so no actual pin information is -needed. - -A pin-controller node should contain subnodes representing the pin group -configurations, one per function. Each subnode has the group name and -the muxing function used. - -Be aware the Marvell Berlin datasheets use the keyword 'mode' for what -is called a 'function' in the pin-controller subsystem. - -Required properties: -- compatible: should be one of: - "marvell,berlin2-soc-pinctrl", - "marvell,berlin2-system-pinctrl", - "marvell,berlin2cd-soc-pinctrl", - "marvell,berlin2cd-system-pinctrl", - "marvell,berlin2q-soc-pinctrl", - "marvell,berlin2q-system-pinctrl", - "marvell,berlin4ct-avio-pinctrl", - "marvell,berlin4ct-soc-pinctrl", - "marvell,berlin4ct-system-pinctrl", - "syna,as370-soc-pinctrl" - -Required subnode-properties: -- groups: a list of strings describing the group names. -- function: a string describing the function used to mux the groups. - -Example: - -sys_pinctrl: pin-controller { - compatible = "marvell,berlin2q-system-pinctrl"; - - uart0_pmux: uart0-pmux { - groups = "GSM12"; - function = "uart0"; - }; -}; - -&uart0 { - pinctrl-0 = <&uart0_pmux>; - pinctrl-names = "default"; -}; +* Pin-controller driver for the Marvell Berlin SoCs + +Pin control registers are part of both chip controller and system +controller register sets. Pin controller nodes should be a sub-node of +either the chip controller or system controller node. The pins +controlled are organized in groups, so no actual pin information is +needed. + +A pin-controller node should contain subnodes representing the pin group +configurations, one per function. Each subnode has the group name and +the muxing function used. + +Be aware the Marvell Berlin datasheets use the keyword 'mode' for what +is called a 'function' in the pin-controller subsystem. + +Required properties: +- compatible: should be one of: + "marvell,berlin2-soc-pinctrl", + "marvell,berlin2-system-pinctrl", + "marvell,berlin2cd-soc-pinctrl", + "marvell,berlin2cd-system-pinctrl", + "marvell,berlin2q-soc-pinctrl", + "marvell,berlin2q-system-pinctrl", + "marvell,berlin4ct-avio-pinctrl", + "marvell,berlin4ct-soc-pinctrl", + "marvell,berlin4ct-system-pinctrl", + "syna,as370-soc-pinctrl" + +Required subnode-properties: +- groups: a list of strings describing the group names. +- function: a string describing the function used to mux the groups. + +Example: + +sys_pinctrl: pin-controller { + compatible = "marvell,berlin2q-system-pinctrl"; + + uart0_pmux: uart0-pmux { + groups = "GSM12"; + function = "uart0"; + }; +}; + +&uart0 { + pinctrl-0 = <&uart0_pmux>; + pinctrl-names = "default"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/brcm,nsp-pinmux.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/brcm,nsp-pinmux.txt index 637ceb5bec..dede11e4ef 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/brcm,nsp-pinmux.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/brcm,nsp-pinmux.txt @@ -1,79 +1,79 @@ -Broadcom NSP (Northstar plus) IOMUX Controller - -The NSP IOMUX controller supports group based mux configuration. In -addition, certain pins can be muxed to GPIO function individually. - -Required properties: -- compatible: - Must be "brcm,nsp-pinmux" - -- reg: - Should contain the register physical address and length for each of - GPIO_CONTROL0, GP_AUX_SEL and IPROC_CONFIG IOMUX registers - -Properties in subnodes: -- function: - The mux function to select - -- groups: - The list of groups to select with a given function - -For more details, refer to -Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt - -For example: - - pinmux: pinmux@1803f1c0 { - compatible = "brcm,nsp-pinmux"; - reg = <0x1803f1c0 0x04>, - <0x18030028 0x04>, - <0x1803f408 0x04>; - - pinctrl-names = "default"; - pinctrl-0 = <&pwm>, <&gpio_b>, <&nand_sel>; - - pwm: pwm { - function = "pwm"; - groups = "pwm0_grp", "pwm1_grp"; - }; - - gpio_b: gpio_b { - function = "gpio_b"; - groups = "gpio_b_0_grp", "gpio_b_1_grp"; - }; - - nand_sel: nand_sel { - function = "nand"; - groups = "nand_grp"; - }; - }; - -List of supported functions and groups in Northstar Plus: - -"spi": "spi_grp" - -"i2c": "i2c_grp" - -"mdio": "mdio_grp" - -"pwm": "pwm0_grp", "pwm1_grp", "pwm2_grp", "pwm3_grp" - -"gpio_b": "gpio_b_0_grp", "gpio_b_1_grp", "gpio_b_2_grp", "gpio_b_3_grp" - -"uart1": "uart1_grp" - -"uart2": "uart2_grp" - -"synce": "synce_grp" - -"sata_led_grps": "sata0_led_grp", "sata1_led_grp" - -"xtal_out": "xtal_out_grp" - -"sdio": "sdio_pwr_grp", "sdio_1p8v_grp" - -"switch_led": "switch_p05_led0_grp", "switch_p05_led1_grp" - -"nand": "nand_grp" - -"emmc": "emmc_grp" +Broadcom NSP (Northstar plus) IOMUX Controller + +The NSP IOMUX controller supports group based mux configuration. In +addition, certain pins can be muxed to GPIO function individually. + +Required properties: +- compatible: + Must be "brcm,nsp-pinmux" + +- reg: + Should contain the register physical address and length for each of + GPIO_CONTROL0, GP_AUX_SEL and IPROC_CONFIG IOMUX registers + +Properties in subnodes: +- function: + The mux function to select + +- groups: + The list of groups to select with a given function + +For more details, refer to +Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt + +For example: + + pinmux: pinmux@1803f1c0 { + compatible = "brcm,nsp-pinmux"; + reg = <0x1803f1c0 0x04>, + <0x18030028 0x04>, + <0x1803f408 0x04>; + + pinctrl-names = "default"; + pinctrl-0 = <&pwm>, <&gpio_b>, <&nand_sel>; + + pwm: pwm { + function = "pwm"; + groups = "pwm0_grp", "pwm1_grp"; + }; + + gpio_b: gpio_b { + function = "gpio_b"; + groups = "gpio_b_0_grp", "gpio_b_1_grp"; + }; + + nand_sel: nand_sel { + function = "nand"; + groups = "nand_grp"; + }; + }; + +List of supported functions and groups in Northstar Plus: + +"spi": "spi_grp" + +"i2c": "i2c_grp" + +"mdio": "mdio_grp" + +"pwm": "pwm0_grp", "pwm1_grp", "pwm2_grp", "pwm3_grp" + +"gpio_b": "gpio_b_0_grp", "gpio_b_1_grp", "gpio_b_2_grp", "gpio_b_3_grp" + +"uart1": "uart1_grp" + +"uart2": "uart2_grp" + +"synce": "synce_grp" + +"sata_led_grps": "sata0_led_grp", "sata1_led_grp" + +"xtal_out": "xtal_out_grp" + +"sdio": "sdio_pwr_grp", "sdio_1p8v_grp" + +"switch_led": "switch_p05_led0_grp", "switch_p05_led1_grp" + +"nand": "nand_grp" + +"emmc": "emmc_grp" diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/cortina,gemini-pinctrl.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/cortina,gemini-pinctrl.txt index 2dad0b11cc..4346ff2dd8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/cortina,gemini-pinctrl.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/cortina,gemini-pinctrl.txt @@ -1,68 +1,68 @@ -Cortina Systems Gemini pin controller - -This pin controller is found in the Cortina Systems Gemini SoC family, -see further arm/gemini.txt. It is a purely group-based multiplexing pin -controller. - -The pin controller node must be a subnode of the system controller node. - -Required properties: -- compatible: "cortina,gemini-pinctrl" - -Subnodes of the pin controller contain pin control multiplexing set-up -and pin configuration of individual pins. - -Please refer to pinctrl-bindings.txt for generic pin multiplexing nodes -and generic pin config nodes. - -Supported configurations: -- skew-delay is supported on the Ethernet pins -- drive-strength with 4, 8, 12 or 16 mA as argument is supported for - entire groups on the groups "idegrp", "gmii_gmac0_grp", "gmii_gmac1_grp" - and "pcigrp". - -Example: - - -syscon { - compatible = "cortina,gemini-syscon"; - ... - pinctrl { - compatible = "cortina,gemini-pinctrl"; - pinctrl-names = "default"; - pinctrl-0 = <&dram_default_pins>, <&system_default_pins>, - <&vcontrol_default_pins>; - - dram_default_pins: pinctrl-dram { - mux { - function = "dram"; - groups = "dramgrp"; - }; - }; - rtc_default_pins: pinctrl-rtc { - mux { - function = "rtc"; - groups = "rtcgrp"; - }; - }; - power_default_pins: pinctrl-power { - mux { - function = "power"; - groups = "powergrp"; - }; - }; - system_default_pins: pinctrl-system { - mux { - function = "system"; - groups = "systemgrp"; - }; - }; - (...) - uart_default_pins: pinctrl-uart { - mux { - function = "uart"; - groups = "uartrxtxgrp"; - }; - }; - }; -}; +Cortina Systems Gemini pin controller + +This pin controller is found in the Cortina Systems Gemini SoC family, +see further arm/gemini.txt. It is a purely group-based multiplexing pin +controller. + +The pin controller node must be a subnode of the system controller node. + +Required properties: +- compatible: "cortina,gemini-pinctrl" + +Subnodes of the pin controller contain pin control multiplexing set-up +and pin configuration of individual pins. + +Please refer to pinctrl-bindings.txt for generic pin multiplexing nodes +and generic pin config nodes. + +Supported configurations: +- skew-delay is supported on the Ethernet pins +- drive-strength with 4, 8, 12 or 16 mA as argument is supported for + entire groups on the groups "idegrp", "gmii_gmac0_grp", "gmii_gmac1_grp" + and "pcigrp". + +Example: + + +syscon { + compatible = "cortina,gemini-syscon"; + ... + pinctrl { + compatible = "cortina,gemini-pinctrl"; + pinctrl-names = "default"; + pinctrl-0 = <&dram_default_pins>, <&system_default_pins>, + <&vcontrol_default_pins>; + + dram_default_pins: pinctrl-dram { + mux { + function = "dram"; + groups = "dramgrp"; + }; + }; + rtc_default_pins: pinctrl-rtc { + mux { + function = "rtc"; + groups = "rtcgrp"; + }; + }; + power_default_pins: pinctrl-power { + mux { + function = "power"; + groups = "powergrp"; + }; + }; + system_default_pins: pinctrl-system { + mux { + function = "system"; + groups = "systemgrp"; + }; + }; + (...) + uart_default_pins: pinctrl-uart { + mux { + function = "uart"; + groups = "uartrxtxgrp"; + }; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/fsl,imx6dl-pinctrl.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/fsl,imx6dl-pinctrl.txt index 126812ee0f..0ac5bee875 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/fsl,imx6dl-pinctrl.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/fsl,imx6dl-pinctrl.txt @@ -1,38 +1,38 @@ -* Freescale IMX6 DualLite/Solo IOMUX Controller - -Please refer to fsl,imx-pinctrl.txt in this directory for common binding part -and usage. - -Required properties: -- compatible: "fsl,imx6dl-iomuxc" -- fsl,pins: two integers array, represents a group of pins mux and config - setting. The format is fsl,pins = , PIN_FUNC_ID is a - pin working on a specific function, CONFIG is the pad setting value like - pull-up for this pin. Please refer to imx6dl datasheet for the valid pad - config settings. - -CONFIG bits definition: -PAD_CTL_HYS (1 << 16) -PAD_CTL_PUS_100K_DOWN (0 << 14) -PAD_CTL_PUS_47K_UP (1 << 14) -PAD_CTL_PUS_100K_UP (2 << 14) -PAD_CTL_PUS_22K_UP (3 << 14) -PAD_CTL_PUE (1 << 13) -PAD_CTL_PKE (1 << 12) -PAD_CTL_ODE (1 << 11) -PAD_CTL_SPEED_LOW (1 << 6) -PAD_CTL_SPEED_MED (2 << 6) -PAD_CTL_SPEED_HIGH (3 << 6) -PAD_CTL_DSE_DISABLE (0 << 3) -PAD_CTL_DSE_240ohm (1 << 3) -PAD_CTL_DSE_120ohm (2 << 3) -PAD_CTL_DSE_80ohm (3 << 3) -PAD_CTL_DSE_60ohm (4 << 3) -PAD_CTL_DSE_48ohm (5 << 3) -PAD_CTL_DSE_40ohm (6 << 3) -PAD_CTL_DSE_34ohm (7 << 3) -PAD_CTL_SRE_FAST (1 << 0) -PAD_CTL_SRE_SLOW (0 << 0) - -Refer to imx6dl-pinfunc.h in device tree source folder for all available -imx6dl PIN_FUNC_ID. +* Freescale IMX6 DualLite/Solo IOMUX Controller + +Please refer to fsl,imx-pinctrl.txt in this directory for common binding part +and usage. + +Required properties: +- compatible: "fsl,imx6dl-iomuxc" +- fsl,pins: two integers array, represents a group of pins mux and config + setting. The format is fsl,pins = , PIN_FUNC_ID is a + pin working on a specific function, CONFIG is the pad setting value like + pull-up for this pin. Please refer to imx6dl datasheet for the valid pad + config settings. + +CONFIG bits definition: +PAD_CTL_HYS (1 << 16) +PAD_CTL_PUS_100K_DOWN (0 << 14) +PAD_CTL_PUS_47K_UP (1 << 14) +PAD_CTL_PUS_100K_UP (2 << 14) +PAD_CTL_PUS_22K_UP (3 << 14) +PAD_CTL_PUE (1 << 13) +PAD_CTL_PKE (1 << 12) +PAD_CTL_ODE (1 << 11) +PAD_CTL_SPEED_LOW (1 << 6) +PAD_CTL_SPEED_MED (2 << 6) +PAD_CTL_SPEED_HIGH (3 << 6) +PAD_CTL_DSE_DISABLE (0 << 3) +PAD_CTL_DSE_240ohm (1 << 3) +PAD_CTL_DSE_120ohm (2 << 3) +PAD_CTL_DSE_80ohm (3 << 3) +PAD_CTL_DSE_60ohm (4 << 3) +PAD_CTL_DSE_48ohm (5 << 3) +PAD_CTL_DSE_40ohm (6 << 3) +PAD_CTL_DSE_34ohm (7 << 3) +PAD_CTL_SRE_FAST (1 << 0) +PAD_CTL_SRE_SLOW (0 << 0) + +Refer to imx6dl-pinfunc.h in device tree source folder for all available +imx6dl PIN_FUNC_ID. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/fsl,imx6q-pinctrl.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/fsl,imx6q-pinctrl.txt index a3e482c7ab..546610cf2a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/fsl,imx6q-pinctrl.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/fsl,imx6q-pinctrl.txt @@ -1,38 +1,38 @@ -* Freescale IMX6Q IOMUX Controller - -Please refer to fsl,imx-pinctrl.txt in this directory for common binding part -and usage. - -Required properties: -- compatible: "fsl,imx6q-iomuxc" -- fsl,pins: two integers array, represents a group of pins mux and config - setting. The format is fsl,pins = , PIN_FUNC_ID is a - pin working on a specific function, CONFIG is the pad setting value like - pull-up for this pin. Please refer to imx6q datasheet for the valid pad - config settings. - -CONFIG bits definition: -PAD_CTL_HYS (1 << 16) -PAD_CTL_PUS_100K_DOWN (0 << 14) -PAD_CTL_PUS_47K_UP (1 << 14) -PAD_CTL_PUS_100K_UP (2 << 14) -PAD_CTL_PUS_22K_UP (3 << 14) -PAD_CTL_PUE (1 << 13) -PAD_CTL_PKE (1 << 12) -PAD_CTL_ODE (1 << 11) -PAD_CTL_SPEED_LOW (1 << 6) -PAD_CTL_SPEED_MED (2 << 6) -PAD_CTL_SPEED_HIGH (3 << 6) -PAD_CTL_DSE_DISABLE (0 << 3) -PAD_CTL_DSE_240ohm (1 << 3) -PAD_CTL_DSE_120ohm (2 << 3) -PAD_CTL_DSE_80ohm (3 << 3) -PAD_CTL_DSE_60ohm (4 << 3) -PAD_CTL_DSE_48ohm (5 << 3) -PAD_CTL_DSE_40ohm (6 << 3) -PAD_CTL_DSE_34ohm (7 << 3) -PAD_CTL_SRE_FAST (1 << 0) -PAD_CTL_SRE_SLOW (0 << 0) - -Refer to imx6q-pinfunc.h in device tree source folder for all available -imx6q PIN_FUNC_ID. +* Freescale IMX6Q IOMUX Controller + +Please refer to fsl,imx-pinctrl.txt in this directory for common binding part +and usage. + +Required properties: +- compatible: "fsl,imx6q-iomuxc" +- fsl,pins: two integers array, represents a group of pins mux and config + setting. The format is fsl,pins = , PIN_FUNC_ID is a + pin working on a specific function, CONFIG is the pad setting value like + pull-up for this pin. Please refer to imx6q datasheet for the valid pad + config settings. + +CONFIG bits definition: +PAD_CTL_HYS (1 << 16) +PAD_CTL_PUS_100K_DOWN (0 << 14) +PAD_CTL_PUS_47K_UP (1 << 14) +PAD_CTL_PUS_100K_UP (2 << 14) +PAD_CTL_PUS_22K_UP (3 << 14) +PAD_CTL_PUE (1 << 13) +PAD_CTL_PKE (1 << 12) +PAD_CTL_ODE (1 << 11) +PAD_CTL_SPEED_LOW (1 << 6) +PAD_CTL_SPEED_MED (2 << 6) +PAD_CTL_SPEED_HIGH (3 << 6) +PAD_CTL_DSE_DISABLE (0 << 3) +PAD_CTL_DSE_240ohm (1 << 3) +PAD_CTL_DSE_120ohm (2 << 3) +PAD_CTL_DSE_80ohm (3 << 3) +PAD_CTL_DSE_60ohm (4 << 3) +PAD_CTL_DSE_48ohm (5 << 3) +PAD_CTL_DSE_40ohm (6 << 3) +PAD_CTL_DSE_34ohm (7 << 3) +PAD_CTL_SRE_FAST (1 << 0) +PAD_CTL_SRE_SLOW (0 << 0) + +Refer to imx6q-pinfunc.h in device tree source folder for all available +imx6q PIN_FUNC_ID. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/fsl,imx6sl-pinctrl.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/fsl,imx6sl-pinctrl.txt index da2feb9b35..e5f6d1f065 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/fsl,imx6sl-pinctrl.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/fsl,imx6sl-pinctrl.txt @@ -1,39 +1,39 @@ -* Freescale IMX6 SoloLite IOMUX Controller - -Please refer to fsl,imx-pinctrl.txt in this directory for common binding part -and usage. - -Required properties: -- compatible: "fsl,imx6sl-iomuxc" -- fsl,pins: two integers array, represents a group of pins mux and config - setting. The format is fsl,pins = , PIN_FUNC_ID is a - pin working on a specific function, CONFIG is the pad setting value like - pull-up for this pin. Please refer to imx6sl datasheet for the valid pad - config settings. - -CONFIG bits definition: -PAD_CTL_LVE (1 << 22) -PAD_CTL_HYS (1 << 16) -PAD_CTL_PUS_100K_DOWN (0 << 14) -PAD_CTL_PUS_47K_UP (1 << 14) -PAD_CTL_PUS_100K_UP (2 << 14) -PAD_CTL_PUS_22K_UP (3 << 14) -PAD_CTL_PUE (1 << 13) -PAD_CTL_PKE (1 << 12) -PAD_CTL_ODE (1 << 11) -PAD_CTL_SPEED_LOW (1 << 6) -PAD_CTL_SPEED_MED (2 << 6) -PAD_CTL_SPEED_HIGH (3 << 6) -PAD_CTL_DSE_DISABLE (0 << 3) -PAD_CTL_DSE_240ohm (1 << 3) -PAD_CTL_DSE_120ohm (2 << 3) -PAD_CTL_DSE_80ohm (3 << 3) -PAD_CTL_DSE_60ohm (4 << 3) -PAD_CTL_DSE_48ohm (5 << 3) -PAD_CTL_DSE_40ohm (6 << 3) -PAD_CTL_DSE_34ohm (7 << 3) -PAD_CTL_SRE_FAST (1 << 0) -PAD_CTL_SRE_SLOW (0 << 0) - -Refer to imx6sl-pinfunc.h in device tree source folder for all available -imx6sl PIN_FUNC_ID. +* Freescale IMX6 SoloLite IOMUX Controller + +Please refer to fsl,imx-pinctrl.txt in this directory for common binding part +and usage. + +Required properties: +- compatible: "fsl,imx6sl-iomuxc" +- fsl,pins: two integers array, represents a group of pins mux and config + setting. The format is fsl,pins = , PIN_FUNC_ID is a + pin working on a specific function, CONFIG is the pad setting value like + pull-up for this pin. Please refer to imx6sl datasheet for the valid pad + config settings. + +CONFIG bits definition: +PAD_CTL_LVE (1 << 22) +PAD_CTL_HYS (1 << 16) +PAD_CTL_PUS_100K_DOWN (0 << 14) +PAD_CTL_PUS_47K_UP (1 << 14) +PAD_CTL_PUS_100K_UP (2 << 14) +PAD_CTL_PUS_22K_UP (3 << 14) +PAD_CTL_PUE (1 << 13) +PAD_CTL_PKE (1 << 12) +PAD_CTL_ODE (1 << 11) +PAD_CTL_SPEED_LOW (1 << 6) +PAD_CTL_SPEED_MED (2 << 6) +PAD_CTL_SPEED_HIGH (3 << 6) +PAD_CTL_DSE_DISABLE (0 << 3) +PAD_CTL_DSE_240ohm (1 << 3) +PAD_CTL_DSE_120ohm (2 << 3) +PAD_CTL_DSE_80ohm (3 << 3) +PAD_CTL_DSE_60ohm (4 << 3) +PAD_CTL_DSE_48ohm (5 << 3) +PAD_CTL_DSE_40ohm (6 << 3) +PAD_CTL_DSE_34ohm (7 << 3) +PAD_CTL_SRE_FAST (1 << 0) +PAD_CTL_SRE_SLOW (0 << 0) + +Refer to imx6sl-pinfunc.h in device tree source folder for all available +imx6sl PIN_FUNC_ID. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/fsl,imx6sll-pinctrl.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/fsl,imx6sll-pinctrl.txt index 4d75aa84d5..175e8939a3 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/fsl,imx6sll-pinctrl.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/fsl,imx6sll-pinctrl.txt @@ -1,40 +1,40 @@ -* Freescale i.MX6 SLL IOMUX Controller - -Please refer to fsl,imx-pinctrl.txt in this directory for common binding part -and usage. - -Required properties: -- compatible: "fsl,imx6sll-iomuxc" -- fsl,pins: each entry consists of 6 integers and represents the mux and config - setting for one pin. The first 5 integers are specified using a PIN_FUNC_ID macro, which can be found in - imx6sll-pinfunc.h under device tree source folder. The last integer CONFIG is - the pad setting value like pull-up on this pin. Please refer to i.MX6SLL - Reference Manual for detailed CONFIG settings. - -CONFIG bits definition: -PAD_CTL_LVE (1 << 22) -PAD_CTL_HYS (1 << 16) -PAD_CTL_PUS_100K_DOWN (0 << 14) -PAD_CTL_PUS_47K_UP (1 << 14) -PAD_CTL_PUS_100K_UP (2 << 14) -PAD_CTL_PUS_22K_UP (3 << 14) -PAD_CTL_PUE (1 << 13) -PAD_CTL_PKE (1 << 12) -PAD_CTL_ODE (1 << 11) -PAD_CTL_SPEED_LOW (0 << 6) -PAD_CTL_SPEED_MED (1 << 6) -PAD_CTL_SPEED_HIGH (3 << 6) -PAD_CTL_DSE_DISABLE (0 << 3) -PAD_CTL_DSE_260ohm (1 << 3) -PAD_CTL_DSE_130ohm (2 << 3) -PAD_CTL_DSE_87ohm (3 << 3) -PAD_CTL_DSE_65ohm (4 << 3) -PAD_CTL_DSE_52ohm (5 << 3) -PAD_CTL_DSE_43ohm (6 << 3) -PAD_CTL_DSE_37ohm (7 << 3) -PAD_CTL_SRE_FAST (1 << 0) -PAD_CTL_SRE_SLOW (0 << 0) - -Refer to imx6sll-pinfunc.h in device tree source folder for all available -imx6sll PIN_FUNC_ID. +* Freescale i.MX6 SLL IOMUX Controller + +Please refer to fsl,imx-pinctrl.txt in this directory for common binding part +and usage. + +Required properties: +- compatible: "fsl,imx6sll-iomuxc" +- fsl,pins: each entry consists of 6 integers and represents the mux and config + setting for one pin. The first 5 integers are specified using a PIN_FUNC_ID macro, which can be found in + imx6sll-pinfunc.h under device tree source folder. The last integer CONFIG is + the pad setting value like pull-up on this pin. Please refer to i.MX6SLL + Reference Manual for detailed CONFIG settings. + +CONFIG bits definition: +PAD_CTL_LVE (1 << 22) +PAD_CTL_HYS (1 << 16) +PAD_CTL_PUS_100K_DOWN (0 << 14) +PAD_CTL_PUS_47K_UP (1 << 14) +PAD_CTL_PUS_100K_UP (2 << 14) +PAD_CTL_PUS_22K_UP (3 << 14) +PAD_CTL_PUE (1 << 13) +PAD_CTL_PKE (1 << 12) +PAD_CTL_ODE (1 << 11) +PAD_CTL_SPEED_LOW (0 << 6) +PAD_CTL_SPEED_MED (1 << 6) +PAD_CTL_SPEED_HIGH (3 << 6) +PAD_CTL_DSE_DISABLE (0 << 3) +PAD_CTL_DSE_260ohm (1 << 3) +PAD_CTL_DSE_130ohm (2 << 3) +PAD_CTL_DSE_87ohm (3 << 3) +PAD_CTL_DSE_65ohm (4 << 3) +PAD_CTL_DSE_52ohm (5 << 3) +PAD_CTL_DSE_43ohm (6 << 3) +PAD_CTL_DSE_37ohm (7 << 3) +PAD_CTL_SRE_FAST (1 << 0) +PAD_CTL_SRE_SLOW (0 << 0) + +Refer to imx6sll-pinfunc.h in device tree source folder for all available +imx6sll PIN_FUNC_ID. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/fsl,imx6sx-pinctrl.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/fsl,imx6sx-pinctrl.txt index f0a8dd52e5..b1b595220f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/fsl,imx6sx-pinctrl.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/fsl,imx6sx-pinctrl.txt @@ -1,36 +1,36 @@ -* Freescale i.MX6 SoloX IOMUX Controller - -Please refer to fsl,imx-pinctrl.txt in this directory for common binding part -and usage. - -Required properties: -- compatible: "fsl,imx6sx-iomuxc" -- fsl,pins: each entry consists of 6 integers and represents the mux and config - setting for one pin. The first 5 integers are specified using a PIN_FUNC_ID macro, which can be found in - imx6sx-pinfunc.h under device tree source folder. The last integer CONFIG is - the pad setting value like pull-up on this pin. Please refer to i.MX6 SoloX - Reference Manual for detailed CONFIG settings. - -CONFIG bits definition: -PAD_CTL_HYS (1 << 16) -PAD_CTL_PUS_100K_DOWN (0 << 14) -PAD_CTL_PUS_47K_UP (1 << 14) -PAD_CTL_PUS_100K_UP (2 << 14) -PAD_CTL_PUS_22K_UP (3 << 14) -PAD_CTL_PUE (1 << 13) -PAD_CTL_PKE (1 << 12) -PAD_CTL_ODE (1 << 11) -PAD_CTL_SPEED_LOW (0 << 6) -PAD_CTL_SPEED_MED (1 << 6) -PAD_CTL_SPEED_HIGH (3 << 6) -PAD_CTL_DSE_DISABLE (0 << 3) -PAD_CTL_DSE_260ohm (1 << 3) -PAD_CTL_DSE_130ohm (2 << 3) -PAD_CTL_DSE_87ohm (3 << 3) -PAD_CTL_DSE_65ohm (4 << 3) -PAD_CTL_DSE_52ohm (5 << 3) -PAD_CTL_DSE_43ohm (6 << 3) -PAD_CTL_DSE_37ohm (7 << 3) -PAD_CTL_SRE_FAST (1 << 0) -PAD_CTL_SRE_SLOW (0 << 0) +* Freescale i.MX6 SoloX IOMUX Controller + +Please refer to fsl,imx-pinctrl.txt in this directory for common binding part +and usage. + +Required properties: +- compatible: "fsl,imx6sx-iomuxc" +- fsl,pins: each entry consists of 6 integers and represents the mux and config + setting for one pin. The first 5 integers are specified using a PIN_FUNC_ID macro, which can be found in + imx6sx-pinfunc.h under device tree source folder. The last integer CONFIG is + the pad setting value like pull-up on this pin. Please refer to i.MX6 SoloX + Reference Manual for detailed CONFIG settings. + +CONFIG bits definition: +PAD_CTL_HYS (1 << 16) +PAD_CTL_PUS_100K_DOWN (0 << 14) +PAD_CTL_PUS_47K_UP (1 << 14) +PAD_CTL_PUS_100K_UP (2 << 14) +PAD_CTL_PUS_22K_UP (3 << 14) +PAD_CTL_PUE (1 << 13) +PAD_CTL_PKE (1 << 12) +PAD_CTL_ODE (1 << 11) +PAD_CTL_SPEED_LOW (0 << 6) +PAD_CTL_SPEED_MED (1 << 6) +PAD_CTL_SPEED_HIGH (3 << 6) +PAD_CTL_DSE_DISABLE (0 << 3) +PAD_CTL_DSE_260ohm (1 << 3) +PAD_CTL_DSE_130ohm (2 << 3) +PAD_CTL_DSE_87ohm (3 << 3) +PAD_CTL_DSE_65ohm (4 << 3) +PAD_CTL_DSE_52ohm (5 << 3) +PAD_CTL_DSE_43ohm (6 << 3) +PAD_CTL_DSE_37ohm (7 << 3) +PAD_CTL_SRE_FAST (1 << 0) +PAD_CTL_SRE_SLOW (0 << 0) diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/fsl,imx7ulp-pinctrl.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/fsl,imx7ulp-pinctrl.txt index 3c79501bba..bfa3703a74 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/fsl,imx7ulp-pinctrl.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/fsl,imx7ulp-pinctrl.txt @@ -1,53 +1,53 @@ -* Freescale i.MX7ULP IOMUX Controller - -i.MX 7ULP has three IOMUXC instances: IOMUXC0 for M4 ports, IOMUXC1 for A7 -ports and IOMUXC DDR for DDR interface. - -Note: -This binding doc is only for the IOMUXC1 support in A7 Domain and it only -supports generic pin config. - -Please refer to fsl,imx-pinctrl.txt in this directory for common binding -part and usage. - -Required properties: -- compatible: "fsl,imx7ulp-iomuxc1". -- fsl,pins: Each entry consists of 5 integers which represents the mux - and config setting for one pin. The first 4 integers - are specified - using a PIN_FUNC_ID macro, which can be found in - imx7ulp-pinfunc.h in the device tree source folder. - The last integer CONFIG is the pad setting value like - pull-up on this pin. - - Please refer to i.MX7ULP Reference Manual for detailed - CONFIG settings. - -CONFIG bits definition: -PAD_CTL_OBE (1 << 17) -PAD_CTL_IBE (1 << 16) -PAD_CTL_LK (1 << 16) -PAD_CTL_DSE_HI (1 << 6) -PAD_CTL_DSE_STD (0 << 6) -PAD_CTL_ODE (1 << 5) -PAD_CTL_PUSH_PULL (0 << 5) -PAD_CTL_SRE_SLOW (1 << 2) -PAD_CTL_SRE_STD (0 << 2) -PAD_CTL_PE (1 << 0) - -Examples: -#include "imx7ulp-pinfunc.h" - -/* Pin Controller Node */ -iomuxc1: pinctrl@40ac0000 { - compatible = "fsl,imx7ulp-iomuxc1"; - reg = <0x40ac0000 0x1000>; - - /* Pin Configuration Node */ - pinctrl_lpuart4: lpuart4grp { - fsl,pins = < - IMX7ULP_PAD_PTC3__LPUART4_RX 0x1 - IMX7ULP_PAD_PTC2__LPUART4_TX 0x1 - >; - }; -}; +* Freescale i.MX7ULP IOMUX Controller + +i.MX 7ULP has three IOMUXC instances: IOMUXC0 for M4 ports, IOMUXC1 for A7 +ports and IOMUXC DDR for DDR interface. + +Note: +This binding doc is only for the IOMUXC1 support in A7 Domain and it only +supports generic pin config. + +Please refer to fsl,imx-pinctrl.txt in this directory for common binding +part and usage. + +Required properties: +- compatible: "fsl,imx7ulp-iomuxc1". +- fsl,pins: Each entry consists of 5 integers which represents the mux + and config setting for one pin. The first 4 integers + are specified + using a PIN_FUNC_ID macro, which can be found in + imx7ulp-pinfunc.h in the device tree source folder. + The last integer CONFIG is the pad setting value like + pull-up on this pin. + + Please refer to i.MX7ULP Reference Manual for detailed + CONFIG settings. + +CONFIG bits definition: +PAD_CTL_OBE (1 << 17) +PAD_CTL_IBE (1 << 16) +PAD_CTL_LK (1 << 16) +PAD_CTL_DSE_HI (1 << 6) +PAD_CTL_DSE_STD (0 << 6) +PAD_CTL_ODE (1 << 5) +PAD_CTL_PUSH_PULL (0 << 5) +PAD_CTL_SRE_SLOW (1 << 2) +PAD_CTL_SRE_STD (0 << 2) +PAD_CTL_PE (1 << 0) + +Examples: +#include "imx7ulp-pinfunc.h" + +/* Pin Controller Node */ +iomuxc1: pinctrl@40ac0000 { + compatible = "fsl,imx7ulp-iomuxc1"; + reg = <0x40ac0000 0x1000>; + + /* Pin Configuration Node */ + pinctrl_lpuart4: lpuart4grp { + fsl,pins = < + IMX7ULP_PAD_PTC3__LPUART4_RX 0x1 + IMX7ULP_PAD_PTC2__LPUART4_TX 0x1 + >; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/intel,lgm-io.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/intel,lgm-io.yaml index 516b003e4f..1144ca2896 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/intel,lgm-io.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/intel,lgm-io.yaml @@ -1,76 +1,76 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/pinctrl/intel,lgm-io.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Intel Lightning Mountain SoC pinmux & GPIO controller - -maintainers: - - Rahul Tanwar - -description: | - Pinmux & GPIO controller controls pin multiplexing & configuration including - GPIO function selection & GPIO attributes configuration. - -properties: - compatible: - const: intel,lgm-io - - reg: - maxItems: 1 - -# Client device subnode's properties -patternProperties: - '-pins$': - type: object - description: - Pinctrl node's client devices use subnodes for desired pin configuration. - Client device subnodes use below standard properties. - $ref: pinmux-node.yaml# - - properties: - function: true - groups: true - pins: true - pinmux: true - bias-pull-up: true - bias-pull-down: true - drive-strength: true - slew-rate: true - drive-open-drain: true - output-enable: true - - required: - - function - - groups - - additionalProperties: false - -allOf: - - $ref: pinctrl.yaml# - -required: - - compatible - - reg - -additionalProperties: false - -examples: - # Pinmux controller node - - | - pinctrl: pinctrl@e2880000 { - compatible = "intel,lgm-io"; - reg = <0xe2880000 0x100000>; - - uart0-pins { - pins = <64>, /* UART_RX0 */ - <65>; /* UART_TX0 */ - function = "CONSOLE_UART0"; - pinmux = <1>, - <1>; - groups = "CONSOLE_UART0"; - }; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/pinctrl/intel,lgm-io.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Intel Lightning Mountain SoC pinmux & GPIO controller + +maintainers: + - Rahul Tanwar + +description: | + Pinmux & GPIO controller controls pin multiplexing & configuration including + GPIO function selection & GPIO attributes configuration. + +properties: + compatible: + const: intel,lgm-io + + reg: + maxItems: 1 + +# Client device subnode's properties +patternProperties: + '-pins$': + type: object + description: + Pinctrl node's client devices use subnodes for desired pin configuration. + Client device subnodes use below standard properties. + $ref: pinmux-node.yaml# + + properties: + function: true + groups: true + pins: true + pinmux: true + bias-pull-up: true + bias-pull-down: true + drive-strength: true + slew-rate: true + drive-open-drain: true + output-enable: true + + required: + - function + - groups + + additionalProperties: false + +allOf: + - $ref: pinctrl.yaml# + +required: + - compatible + - reg + +additionalProperties: false + +examples: + # Pinmux controller node + - | + pinctrl: pinctrl@e2880000 { + compatible = "intel,lgm-io"; + reg = <0xe2880000 0x100000>; + + uart0-pins { + pins = <64>, /* UART_RX0 */ + <65>; /* UART_TX0 */ + function = "CONSOLE_UART0"; + pinmux = <1>, + <1>; + groups = "CONSOLE_UART0"; + }; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/marvell,mvebu-pinctrl.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/marvell,mvebu-pinctrl.txt index a88d47b61a..0c09f4eb2a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/marvell,mvebu-pinctrl.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/marvell,mvebu-pinctrl.txt @@ -1,46 +1,46 @@ -* Marvell SoC pinctrl core driver for mpp - -The pinctrl driver enables Marvell SoCs to configure the multi-purpose pins -(mpp) to a specific function. For each SoC family there is a SoC specific -driver using this core driver. - -Please refer to pinctrl-bindings.txt in this directory for details of the -common pinctrl bindings used by client devices, including the meaning of the -phrase "pin configuration node". - -A Marvell SoC pin configuration node is a node of a group of pins which can -be used for a specific device or function. Each node requires one or more -mpp pins or group of pins and a mpp function common to all pins. - -Required properties for pinctrl driver: -- compatible: "marvell,-pinctrl" - Please refer to each marvell,-pinctrl.txt binding doc for supported SoCs. - -Required properties for pin configuration node: -- marvell,pins: string array of mpp pins or group of pins to be muxed. -- marvell,function: string representing a function to mux to for all - marvell,pins given in this pin configuration node. The function has to be - common for all marvell,pins. Please refer to marvell,-pinctrl.txt for - valid pin/pin group names and available function names for each SoC. - -Examples: - -uart1: serial@12100 { - compatible = "ns16550a"; - reg = <0x12100 0x100>; - reg-shift = <2>; - interrupts = <7>; - - pinctrl-0 = <&pmx_uart1_sw>; - pinctrl-names = "default"; -}; - -pinctrl: pinctrl@d0200 { - compatible = "marvell,dove-pinctrl"; - reg = <0xd0200 0x14>, <0xd0440 0x04>, <0xd802c 0x08>; - - pmx_uart1_sw: pmx-uart1-sw { - marvell,pins = "mpp_uart1"; - marvell,function = "uart1"; - }; -}; +* Marvell SoC pinctrl core driver for mpp + +The pinctrl driver enables Marvell SoCs to configure the multi-purpose pins +(mpp) to a specific function. For each SoC family there is a SoC specific +driver using this core driver. + +Please refer to pinctrl-bindings.txt in this directory for details of the +common pinctrl bindings used by client devices, including the meaning of the +phrase "pin configuration node". + +A Marvell SoC pin configuration node is a node of a group of pins which can +be used for a specific device or function. Each node requires one or more +mpp pins or group of pins and a mpp function common to all pins. + +Required properties for pinctrl driver: +- compatible: "marvell,-pinctrl" + Please refer to each marvell,-pinctrl.txt binding doc for supported SoCs. + +Required properties for pin configuration node: +- marvell,pins: string array of mpp pins or group of pins to be muxed. +- marvell,function: string representing a function to mux to for all + marvell,pins given in this pin configuration node. The function has to be + common for all marvell,pins. Please refer to marvell,-pinctrl.txt for + valid pin/pin group names and available function names for each SoC. + +Examples: + +uart1: serial@12100 { + compatible = "ns16550a"; + reg = <0x12100 0x100>; + reg-shift = <2>; + interrupts = <7>; + + pinctrl-0 = <&pmx_uart1_sw>; + pinctrl-names = "default"; +}; + +pinctrl: pinctrl@d0200 { + compatible = "marvell,dove-pinctrl"; + reg = <0xd0200 0x14>, <0xd0440 0x04>, <0xd802c 0x08>; + + pmx_uart1_sw: pmx-uart1-sw { + marvell,pins = "mpp_uart1"; + marvell,function = "uart1"; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/microchip,pic32-pinctrl.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/microchip,pic32-pinctrl.txt index 3ae2bdfec7..51efd20851 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/microchip,pic32-pinctrl.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/microchip,pic32-pinctrl.txt @@ -1,60 +1,60 @@ -* Microchip PIC32 Pin Controller - -Please refer to pinctrl-bindings.txt, ../gpio/gpio.txt, and -../interrupt-controller/interrupts.txt for generic information regarding -pin controller, GPIO, and interrupt bindings. - -PIC32 'pin configuration node' is a node of a group of pins which can be -used for a specific device or function. This node represents configurations of -pins, optional function, and optional mux related configuration. - -Required properties for pin controller node: - - compatible: "microchip,pic32mada-pinctrl" - - reg: Address range of the pinctrl registers. - - clocks: Clock specifier (see clock bindings for details) - -Required properties for pin configuration sub-nodes: - - pins: List of pins to which the configuration applies. - -Optional properties for pin configuration sub-nodes: ----------------------------------------------------- - - function: Mux function for the specified pins. - - bias-pull-up: Enable weak pull-up. - - bias-pull-down: Enable weak pull-down. - - input-enable: Set the pin as an input. - - output-low: Set the pin as an output level low. - - output-high: Set the pin as an output level high. - - microchip,digital: Enable digital I/O. - - microchip,analog: Enable analog I/O. - -Example: - -pic32_pinctrl: pinctrl@1f801400{ - #address-cells = <1>; - #size-cells = <1>; - compatible = "microchip,pic32mzda-pinctrl"; - reg = <0x1f801400 0x400>; - clocks = <&rootclk PB1CLK>; - - pinctrl_uart2: pinctrl_uart2 { - uart2-tx { - pins = "G9"; - function = "U2TX"; - microchip,digital; - output-low; - }; - uart2-rx { - pins = "B0"; - function = "U2RX"; - microchip,digital; - input-enable; - }; - }; -}; - -uart2: serial@1f822200 { - compatible = "microchip,pic32mzda-uart"; - reg = <0x1f822200 0x50>; - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_uart2>; -}; +* Microchip PIC32 Pin Controller + +Please refer to pinctrl-bindings.txt, ../gpio/gpio.txt, and +../interrupt-controller/interrupts.txt for generic information regarding +pin controller, GPIO, and interrupt bindings. + +PIC32 'pin configuration node' is a node of a group of pins which can be +used for a specific device or function. This node represents configurations of +pins, optional function, and optional mux related configuration. + +Required properties for pin controller node: + - compatible: "microchip,pic32mada-pinctrl" + - reg: Address range of the pinctrl registers. + - clocks: Clock specifier (see clock bindings for details) + +Required properties for pin configuration sub-nodes: + - pins: List of pins to which the configuration applies. + +Optional properties for pin configuration sub-nodes: +---------------------------------------------------- + - function: Mux function for the specified pins. + - bias-pull-up: Enable weak pull-up. + - bias-pull-down: Enable weak pull-down. + - input-enable: Set the pin as an input. + - output-low: Set the pin as an output level low. + - output-high: Set the pin as an output level high. + - microchip,digital: Enable digital I/O. + - microchip,analog: Enable analog I/O. + +Example: + +pic32_pinctrl: pinctrl@1f801400{ + #address-cells = <1>; + #size-cells = <1>; + compatible = "microchip,pic32mzda-pinctrl"; + reg = <0x1f801400 0x400>; + clocks = <&rootclk PB1CLK>; + + pinctrl_uart2: pinctrl_uart2 { + uart2-tx { + pins = "G9"; + function = "U2TX"; + microchip,digital; + output-low; + }; + uart2-rx { + pins = "B0"; + function = "U2RX"; + microchip,digital; + input-enable; + }; + }; +}; + +uart2: serial@1f822200 { + compatible = "microchip,pic32mzda-uart"; + reg = <0x1f822200 0x50>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_uart2>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/nxp,lpc1850-scu.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/nxp,lpc1850-scu.txt index 45fa3a639a..bd8b0c69fa 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/nxp,lpc1850-scu.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/nxp,lpc1850-scu.txt @@ -1,71 +1,71 @@ -NXP LPC18xx/43xx SCU pin controller Device Tree Bindings --------------------------------------------------------- - -Required properties: -- compatible : Should be "nxp,lpc1850-scu" -- reg : Address and length of the register set for the device -- clocks : Clock specifier (see clock bindings for details) - -The lpc1850-scu driver uses the generic pin multiplexing and generic pin -configuration documented in pinctrl-bindings.txt. - -The following generic nodes are supported: - - function - - pins - - bias-disable - - bias-pull-up - - bias-pull-down - - drive-strength - - input-enable - - input-disable - - input-schmitt-enable - - input-schmitt-disable - - slew-rate - -NXP specific properties: - - nxp,gpio-pin-interrupt : Assign pin to gpio pin interrupt controller - irq number 0 to 7. See example below. - -Not all pins support all properties so either refer to the NXP 1850/4350 -user manual or the pin table in the pinctrl-lpc18xx driver for supported -pin properties. - -Example: -pinctrl: pinctrl@40086000 { - compatible = "nxp,lpc1850-scu"; - reg = <0x40086000 0x1000>; - clocks = <&ccu1 CLK_CPU_SCU>; - - i2c0_pins: i2c0-pins { - i2c0_pins_cfg { - pins = "i2c0_scl", "i2c0_sda"; - function = "i2c0"; - input-enable; - }; - }; - - uart0_pins: uart0-pins { - uart0_rx_cfg { - pins = "pf_11"; - function = "uart0"; - bias-disable; - input-enable; - }; - - uart0_tx_cfg { - pins = "pf_10"; - function = "uart0"; - bias-disable; - }; - }; - - gpio_joystick_pins: gpio-joystick-pins { - gpio_joystick_1_cfg { - pins = "p9_0"; - function = "gpio"; - nxp,gpio-pin-interrupt = <0>; - input-enable; - bias-disable; - }; - }; -}; +NXP LPC18xx/43xx SCU pin controller Device Tree Bindings +-------------------------------------------------------- + +Required properties: +- compatible : Should be "nxp,lpc1850-scu" +- reg : Address and length of the register set for the device +- clocks : Clock specifier (see clock bindings for details) + +The lpc1850-scu driver uses the generic pin multiplexing and generic pin +configuration documented in pinctrl-bindings.txt. + +The following generic nodes are supported: + - function + - pins + - bias-disable + - bias-pull-up + - bias-pull-down + - drive-strength + - input-enable + - input-disable + - input-schmitt-enable + - input-schmitt-disable + - slew-rate + +NXP specific properties: + - nxp,gpio-pin-interrupt : Assign pin to gpio pin interrupt controller + irq number 0 to 7. See example below. + +Not all pins support all properties so either refer to the NXP 1850/4350 +user manual or the pin table in the pinctrl-lpc18xx driver for supported +pin properties. + +Example: +pinctrl: pinctrl@40086000 { + compatible = "nxp,lpc1850-scu"; + reg = <0x40086000 0x1000>; + clocks = <&ccu1 CLK_CPU_SCU>; + + i2c0_pins: i2c0-pins { + i2c0_pins_cfg { + pins = "i2c0_scl", "i2c0_sda"; + function = "i2c0"; + input-enable; + }; + }; + + uart0_pins: uart0-pins { + uart0_rx_cfg { + pins = "pf_11"; + function = "uart0"; + bias-disable; + input-enable; + }; + + uart0_tx_cfg { + pins = "pf_10"; + function = "uart0"; + bias-disable; + }; + }; + + gpio_joystick_pins: gpio-joystick-pins { + gpio_joystick_1_cfg { + pins = "p9_0"; + function = "gpio"; + nxp,gpio-pin-interrupt = <0>; + input-enable; + bias-disable; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/pinctrl-rk805.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/pinctrl-rk805.txt index 0e3790ef55..6ad49e51c7 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/pinctrl-rk805.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/pinctrl-rk805.txt @@ -1,63 +1,63 @@ -Pincontrol driver for RK805 Power management IC. - -RK805 has 2 pins which can be configured as GPIO output only. - -Please refer file -for details of the common pinctrl bindings used by client devices, -including the meaning of the phrase "pin configuration node". - -Optional Pinmux properties: --------------------------- -Following properties are required if default setting of pins are required -at boot. -- pinctrl-names: A pinctrl state named per . -- pinctrl[0...n]: Properties to contain the phandle for pinctrl states per - . - -The pin configurations are defined as child of the pinctrl states node. Each -sub-node have following properties: - -Required properties: ------------------- -- #gpio-cells: Should be two. The first cell is the pin number and the - second is the GPIO flags. - -- gpio-controller: Marks the device node as a GPIO controller. - -- pins: List of pins. Valid values of pins properties are: gpio0, gpio1. - -First 2 properties must be added in the RK805 PMIC node, documented in -Documentation/devicetree/bindings/mfd/rockchip,rk808.yaml - -Optional properties: -------------------- -Following are optional properties defined as pinmux DT binding document -. Absence of properties will leave the configuration -on default. - function, - output-low, - output-high. - -Valid values for function properties are: gpio. - -There are also not customised properties for any GPIO. - -Example: --------- -rk805: rk805@18 { - compatible = "rockchip,rk805"; - ... - gpio-controller; - #gpio-cells = <2>; - - pinctrl-names = "default"; - pinctrl-0 = <&pmic_int_l>, <&rk805_default>; - - rk805_default: pinmux { - gpio01 { - pins = "gpio0", "gpio1"; - function = "gpio"; - output-high; - }; - }; -}; +Pincontrol driver for RK805 Power management IC. + +RK805 has 2 pins which can be configured as GPIO output only. + +Please refer file +for details of the common pinctrl bindings used by client devices, +including the meaning of the phrase "pin configuration node". + +Optional Pinmux properties: +-------------------------- +Following properties are required if default setting of pins are required +at boot. +- pinctrl-names: A pinctrl state named per . +- pinctrl[0...n]: Properties to contain the phandle for pinctrl states per + . + +The pin configurations are defined as child of the pinctrl states node. Each +sub-node have following properties: + +Required properties: +------------------ +- #gpio-cells: Should be two. The first cell is the pin number and the + second is the GPIO flags. + +- gpio-controller: Marks the device node as a GPIO controller. + +- pins: List of pins. Valid values of pins properties are: gpio0, gpio1. + +First 2 properties must be added in the RK805 PMIC node, documented in +Documentation/devicetree/bindings/mfd/rockchip,rk808.yaml + +Optional properties: +------------------- +Following are optional properties defined as pinmux DT binding document +. Absence of properties will leave the configuration +on default. + function, + output-low, + output-high. + +Valid values for function properties are: gpio. + +There are also not customised properties for any GPIO. + +Example: +-------- +rk805: rk805@18 { + compatible = "rockchip,rk805"; + ... + gpio-controller; + #gpio-cells = <2>; + + pinctrl-names = "default"; + pinctrl-0 = <&pmic_int_l>, <&rk805_default>; + + rk805_default: pinmux { + gpio01 { + pins = "gpio0", "gpio1"; + function = "gpio"; + output-high; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/pinctrl-sirf.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/pinctrl-sirf.txt index dc5f4bced6..f8420520e1 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/pinctrl-sirf.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/pinctrl-sirf.txt @@ -1,47 +1,47 @@ -CSR SiRFprimaII pinmux controller - -Required properties: -- compatible : "sirf,prima2-pinctrl" -- reg : Address range of the pinctrl registers -- interrupts : Interrupts used by every GPIO group -- gpio-controller : Indicates this device is a GPIO controller -- interrupt-controller : Marks the device node as an interrupt controller -Optional properties: -- sirf,pullups : if n-th bit of m-th bank is set, set a pullup on GPIO-n of bank m -- sirf,pulldowns : if n-th bit of m-th bank is set, set a pulldown on GPIO-n of bank m - -Please refer to pinctrl-bindings.txt in this directory for details of the common -pinctrl bindings used by client devices. - -SiRFprimaII's pinmux nodes act as a container for an arbitrary number of subnodes. -Each of these subnodes represents some desired configuration for a group of pins. - -Required subnode-properties: -- sirf,pins : An array of strings. Each string contains the name of a group. -- sirf,function: A string containing the name of the function to mux to the - group. - - Valid values for group and function names can be found from looking at the - group and function arrays in driver files: - drivers/pinctrl/pinctrl-sirf.c - -For example, pinctrl might have subnodes like the following: - uart2_pins_a: uart2@0 { - uart { - sirf,pins = "uart2grp"; - sirf,function = "uart2"; - }; - }; - uart2_noflow_pins_a: uart2@1 { - uart { - sirf,pins = "uart2_nostreamctrlgrp"; - sirf,function = "uart2_nostreamctrl"; - }; - }; - -For a specific board, if it wants to use uart2 without hardware flow control, -it can add the following to its board-specific .dts file. -uart2: uart@b0070000 { - pinctrl-names = "default"; - pinctrl-0 = <&uart2_noflow_pins_a>; -} +CSR SiRFprimaII pinmux controller + +Required properties: +- compatible : "sirf,prima2-pinctrl" +- reg : Address range of the pinctrl registers +- interrupts : Interrupts used by every GPIO group +- gpio-controller : Indicates this device is a GPIO controller +- interrupt-controller : Marks the device node as an interrupt controller +Optional properties: +- sirf,pullups : if n-th bit of m-th bank is set, set a pullup on GPIO-n of bank m +- sirf,pulldowns : if n-th bit of m-th bank is set, set a pulldown on GPIO-n of bank m + +Please refer to pinctrl-bindings.txt in this directory for details of the common +pinctrl bindings used by client devices. + +SiRFprimaII's pinmux nodes act as a container for an arbitrary number of subnodes. +Each of these subnodes represents some desired configuration for a group of pins. + +Required subnode-properties: +- sirf,pins : An array of strings. Each string contains the name of a group. +- sirf,function: A string containing the name of the function to mux to the + group. + + Valid values for group and function names can be found from looking at the + group and function arrays in driver files: + drivers/pinctrl/pinctrl-sirf.c + +For example, pinctrl might have subnodes like the following: + uart2_pins_a: uart2@0 { + uart { + sirf,pins = "uart2grp"; + sirf,function = "uart2"; + }; + }; + uart2_noflow_pins_a: uart2@1 { + uart { + sirf,pins = "uart2_nostreamctrlgrp"; + sirf,function = "uart2_nostreamctrl"; + }; + }; + +For a specific board, if it wants to use uart2 without hardware flow control, +it can add the following to its board-specific .dts file. +uart2: uart@b0070000 { + pinctrl-names = "default"; + pinctrl-0 = <&uart2_noflow_pins_a>; +} diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/pinctrl.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/pinctrl.yaml index bd105a7c02..d471563119 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/pinctrl.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/pinctrl.yaml @@ -1,45 +1,45 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/pinctrl/pinctrl.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Pin controller device - -maintainers: - - Linus Walleij - - Rafał Miłecki - -description: | - Pin controller devices should contain the pin configuration nodes that client - devices reference. - - The contents of each of those pin configuration child nodes is defined - entirely by the binding for the individual pin controller device. There - exists no common standard for this content. The pinctrl framework only - provides generic helper bindings that the pin controller driver can use. - - The pin configuration nodes need not be direct children of the pin controller - device; they may be grandchildren, for example. Whether this is legal, and - whether there is any interaction between the child and intermediate parent - nodes, is again defined entirely by the binding for the individual pin - controller device. - -properties: - $nodename: - pattern: "^(pinctrl|pinmux)(@[0-9a-f]+)?$" - - "#pinctrl-cells": - description: > - Number of pin control cells in addition to the index within the pin - controller device instance. - - pinctrl-use-default: - type: boolean - description: > - Indicates that the OS can use the boot default pin configuration. This - allows using an OS that does not have a driver for the pin controller. - This property can be set either globally for the pin controller or in - child nodes for individual pin group control. - -additionalProperties: true +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/pinctrl/pinctrl.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Pin controller device + +maintainers: + - Linus Walleij + - Rafał Miłecki + +description: | + Pin controller devices should contain the pin configuration nodes that client + devices reference. + + The contents of each of those pin configuration child nodes is defined + entirely by the binding for the individual pin controller device. There + exists no common standard for this content. The pinctrl framework only + provides generic helper bindings that the pin controller driver can use. + + The pin configuration nodes need not be direct children of the pin controller + device; they may be grandchildren, for example. Whether this is legal, and + whether there is any interaction between the child and intermediate parent + nodes, is again defined entirely by the binding for the individual pin + controller device. + +properties: + $nodename: + pattern: "^(pinctrl|pinmux)(@[0-9a-f]+)?$" + + "#pinctrl-cells": + description: > + Number of pin control cells in addition to the index within the pin + controller device instance. + + pinctrl-use-default: + type: boolean + description: > + Indicates that the OS can use the boot default pin configuration. This + allows using an OS that does not have a driver for the pin controller. + This property can be set either globally for the pin controller or in + child nodes for individual pin group control. + +additionalProperties: true diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/qcom,lpass-lpi-common.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/qcom,lpass-lpi-common.yaml index 7612f41191..3b50457304 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/qcom,lpass-lpi-common.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/qcom,lpass-lpi-common.yaml @@ -1,75 +1,75 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/pinctrl/qcom,lpass-lpi-common.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm SoC LPASS LPI TLMM Common Properties - -maintainers: - - Bjorn Andersson - - Srinivas Kandagatla - - Krzysztof Kozlowski - -description: - Common properties for the Top Level Mode Multiplexer pin controllers in the - Low Power Audio SubSystem (LPASS) Low Power Island (LPI) of Qualcomm SoCs. - -properties: - gpio-controller: true - - "#gpio-cells": - description: - Specifying the pin number and flags, as defined in - include/dt-bindings/gpio/gpio.h - const: 2 - - gpio-ranges: - maxItems: 1 - -required: - - gpio-controller - - "#gpio-cells" - - gpio-ranges - -allOf: - - $ref: pinctrl.yaml# - -additionalProperties: true - -$defs: - qcom-tlmm-state: - properties: - drive-strength: - enum: [2, 4, 6, 8, 10, 12, 14, 16] - default: 2 - description: - Selects the drive strength for the specified pins, in mA. - - slew-rate: - enum: [0, 1, 2, 3] - default: 0 - description: | - 0: No adjustments - 1: Higher Slew rate (faster edges) - 2: Lower Slew rate (slower edges) - 3: Reserved (No adjustments) - - bias-bus-hold: true - bias-pull-down: true - bias-pull-up: true - bias-disable: true - input-enable: true - output-high: true - output-low: true - - required: - - pins - - function - - allOf: - - $ref: pincfg-node.yaml# - - $ref: pinmux-node.yaml# - - additionalProperties: true - +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/pinctrl/qcom,lpass-lpi-common.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm SoC LPASS LPI TLMM Common Properties + +maintainers: + - Bjorn Andersson + - Srinivas Kandagatla + - Krzysztof Kozlowski + +description: + Common properties for the Top Level Mode Multiplexer pin controllers in the + Low Power Audio SubSystem (LPASS) Low Power Island (LPI) of Qualcomm SoCs. + +properties: + gpio-controller: true + + "#gpio-cells": + description: + Specifying the pin number and flags, as defined in + include/dt-bindings/gpio/gpio.h + const: 2 + + gpio-ranges: + maxItems: 1 + +required: + - gpio-controller + - "#gpio-cells" + - gpio-ranges + +allOf: + - $ref: pinctrl.yaml# + +additionalProperties: true + +$defs: + qcom-tlmm-state: + properties: + drive-strength: + enum: [2, 4, 6, 8, 10, 12, 14, 16] + default: 2 + description: + Selects the drive strength for the specified pins, in mA. + + slew-rate: + enum: [0, 1, 2, 3] + default: 0 + description: | + 0: No adjustments + 1: Higher Slew rate (faster edges) + 2: Lower Slew rate (slower edges) + 3: Reserved (No adjustments) + + bias-bus-hold: true + bias-pull-down: true + bias-pull-up: true + bias-disable: true + input-enable: true + output-high: true + output-low: true + + required: + - pins + - function + + allOf: + - $ref: pincfg-node.yaml# + - $ref: pinmux-node.yaml# + + additionalProperties: true + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/samsung,pinctrl-gpio-bank.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/samsung,pinctrl-gpio-bank.yaml index 6c88c99350..8cf3c47ab8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/samsung,pinctrl-gpio-bank.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/samsung,pinctrl-gpio-bank.yaml @@ -1,52 +1,52 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/pinctrl/samsung,pinctrl-gpio-bank.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Samsung S3C/S5P/Exynos SoC pin controller - gpio bank - -maintainers: - - Krzysztof Kozlowski - - Sylwester Nawrocki - - Tomasz Figa - -description: | - This is a part of device tree bindings for Samsung S3C/S5P/Exynos SoC pin - controller. - - GPIO bank description for Samsung S3C/S5P/Exynos SoC pin controller. - - See also Documentation/devicetree/bindings/pinctrl/samsung,pinctrl.yaml for - additional information and example. - -properties: - '#gpio-cells': - const: 2 - - gpio-controller: true - - '#interrupt-cells': - description: - For GPIO banks supporting external GPIO interrupts or external wake-up - interrupts. - const: 2 - - interrupt-controller: - description: - For GPIO banks supporting external GPIO interrupts or external wake-up - interrupts. - - interrupts: - description: - For GPIO banks supporting direct external wake-up interrupts (without - multiplexing). Number of interrupts must match number of wake-up capable - pins of this bank. - minItems: 1 - maxItems: 8 - -required: - - '#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/pinctrl/samsung,pinctrl-gpio-bank.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Samsung S3C/S5P/Exynos SoC pin controller - gpio bank + +maintainers: + - Krzysztof Kozlowski + - Sylwester Nawrocki + - Tomasz Figa + +description: | + This is a part of device tree bindings for Samsung S3C/S5P/Exynos SoC pin + controller. + + GPIO bank description for Samsung S3C/S5P/Exynos SoC pin controller. + + See also Documentation/devicetree/bindings/pinctrl/samsung,pinctrl.yaml for + additional information and example. + +properties: + '#gpio-cells': + const: 2 + + gpio-controller: true + + '#interrupt-cells': + description: + For GPIO banks supporting external GPIO interrupts or external wake-up + interrupts. + const: 2 + + interrupt-controller: + description: + For GPIO banks supporting external GPIO interrupts or external wake-up + interrupts. + + interrupts: + description: + For GPIO banks supporting direct external wake-up interrupts (without + multiplexing). Number of interrupts must match number of wake-up capable + pins of this bank. + minItems: 1 + maxItems: 8 + +required: + - '#gpio-cells' + - gpio-controller + +additionalProperties: false diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/ti,iodelay.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/ti,iodelay.txt index 1a50761af1..c3ed1232b6 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/ti,iodelay.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pinctrl/ti,iodelay.txt @@ -1,47 +1,47 @@ -* Pin configuration for TI IODELAY controller - -TI dra7 based SoCs such as am57xx have a controller for setting the IO delay -for each pin. For most part the IO delay values are programmed by the bootloader, -but some pins need to be configured dynamically by the kernel such as the -MMC pins. - -Required Properties: - - - compatible: Must be "ti,dra7-iodelay" - - reg: Base address and length of the memory resource used - - #address-cells: Number of address cells - - #size-cells: Size of cells - - #pinctrl-cells: Number of pinctrl cells, must be 2. See also - Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt - -Example -------- - -In the SoC specific dtsi file: - - dra7_iodelay_core: padconf@4844a000 { - compatible = "ti,dra7-iodelay"; - reg = <0x4844a000 0x0d1c>; - #address-cells = <1>; - #size-cells = <0>; - #pinctrl-cells = <2>; - }; - -In board-specific file: - -&dra7_iodelay_core { - mmc2_iodelay_3v3_conf: mmc2_iodelay_3v3_conf { - pinctrl-pin-array = < - 0x18c A_DELAY_PS(0) G_DELAY_PS(120) /* CFG_GPMC_A19_IN */ - 0x1a4 A_DELAY_PS(265) G_DELAY_PS(360) /* CFG_GPMC_A20_IN */ - 0x1b0 A_DELAY_PS(0) G_DELAY_PS(120) /* CFG_GPMC_A21_IN */ - 0x1bc A_DELAY_PS(0) G_DELAY_PS(120) /* CFG_GPMC_A22_IN */ - 0x1c8 A_DELAY_PS(287) G_DELAY_PS(420) /* CFG_GPMC_A23_IN */ - 0x1d4 A_DELAY_PS(144) G_DELAY_PS(240) /* CFG_GPMC_A24_IN */ - 0x1e0 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_GPMC_A25_IN */ - 0x1ec A_DELAY_PS(120) G_DELAY_PS(0) /* CFG_GPMC_A26_IN */ - 0x1f8 A_DELAY_PS(120) G_DELAY_PS(180) /* CFG_GPMC_A27_IN */ - 0x360 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_GPMC_CS1_IN */ - >; - }; -}; +* Pin configuration for TI IODELAY controller + +TI dra7 based SoCs such as am57xx have a controller for setting the IO delay +for each pin. For most part the IO delay values are programmed by the bootloader, +but some pins need to be configured dynamically by the kernel such as the +MMC pins. + +Required Properties: + + - compatible: Must be "ti,dra7-iodelay" + - reg: Base address and length of the memory resource used + - #address-cells: Number of address cells + - #size-cells: Size of cells + - #pinctrl-cells: Number of pinctrl cells, must be 2. See also + Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt + +Example +------- + +In the SoC specific dtsi file: + + dra7_iodelay_core: padconf@4844a000 { + compatible = "ti,dra7-iodelay"; + reg = <0x4844a000 0x0d1c>; + #address-cells = <1>; + #size-cells = <0>; + #pinctrl-cells = <2>; + }; + +In board-specific file: + +&dra7_iodelay_core { + mmc2_iodelay_3v3_conf: mmc2_iodelay_3v3_conf { + pinctrl-pin-array = < + 0x18c A_DELAY_PS(0) G_DELAY_PS(120) /* CFG_GPMC_A19_IN */ + 0x1a4 A_DELAY_PS(265) G_DELAY_PS(360) /* CFG_GPMC_A20_IN */ + 0x1b0 A_DELAY_PS(0) G_DELAY_PS(120) /* CFG_GPMC_A21_IN */ + 0x1bc A_DELAY_PS(0) G_DELAY_PS(120) /* CFG_GPMC_A22_IN */ + 0x1c8 A_DELAY_PS(287) G_DELAY_PS(420) /* CFG_GPMC_A23_IN */ + 0x1d4 A_DELAY_PS(144) G_DELAY_PS(240) /* CFG_GPMC_A24_IN */ + 0x1e0 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_GPMC_A25_IN */ + 0x1ec A_DELAY_PS(120) G_DELAY_PS(0) /* CFG_GPMC_A26_IN */ + 0x1f8 A_DELAY_PS(120) G_DELAY_PS(180) /* CFG_GPMC_A27_IN */ + 0x360 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_GPMC_CS1_IN */ + >; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/platform/lenovo,yoga-c630-ec.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/platform/lenovo,yoga-c630-ec.yaml index 040dec6788..3180ce1a22 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/platform/lenovo,yoga-c630-ec.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/platform/lenovo,yoga-c630-ec.yaml @@ -1,83 +1,83 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/platform/lenovo,yoga-c630-ec.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Lenovo Yoga C630 Embedded Controller. - -maintainers: - - Bjorn Andersson - -description: - The Qualcomm Snapdragon-based Lenovo Yoga C630 has an Embedded Controller - (EC) which handles things such as battery and USB Type-C. This binding - describes the interface, on an I2C bus, to this EC. - -properties: - compatible: - const: lenovo,yoga-c630-ec - - reg: - const: 0x70 - - '#address-cells': - const: 1 - - '#size-cells': - const: 0 - - interrupts: - maxItems: 1 - -patternProperties: - '^connector@[01]$': - $ref: /schemas/connector/usb-connector.yaml# - - properties: - reg: - maxItems: 1 - - unevaluatedProperties: false - -required: - - compatible - - reg - - interrupts - -additionalProperties: false - -examples: - - |+ - #include - i2c1 { - clock-frequency = <400000>; - - #address-cells = <1>; - #size-cells = <0>; - - embedded-controller@70 { - compatible = "lenovo,yoga-c630-ec"; - reg = <0x70>; - - interrupts-extended = <&tlmm 20 IRQ_TYPE_LEVEL_HIGH>; - - #address-cells = <1>; - #size-cells = <0>; - - connector@0 { - compatible = "usb-c-connector"; - reg = <0>; - power-role = "source"; - data-role = "host"; - }; - - connector@1 { - compatible = "usb-c-connector"; - reg = <1>; - power-role = "source"; - data-role = "host"; - }; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/platform/lenovo,yoga-c630-ec.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Lenovo Yoga C630 Embedded Controller. + +maintainers: + - Bjorn Andersson + +description: + The Qualcomm Snapdragon-based Lenovo Yoga C630 has an Embedded Controller + (EC) which handles things such as battery and USB Type-C. This binding + describes the interface, on an I2C bus, to this EC. + +properties: + compatible: + const: lenovo,yoga-c630-ec + + reg: + const: 0x70 + + '#address-cells': + const: 1 + + '#size-cells': + const: 0 + + interrupts: + maxItems: 1 + +patternProperties: + '^connector@[01]$': + $ref: /schemas/connector/usb-connector.yaml# + + properties: + reg: + maxItems: 1 + + unevaluatedProperties: false + +required: + - compatible + - reg + - interrupts + +additionalProperties: false + +examples: + - |+ + #include + i2c1 { + clock-frequency = <400000>; + + #address-cells = <1>; + #size-cells = <0>; + + embedded-controller@70 { + compatible = "lenovo,yoga-c630-ec"; + reg = <0x70>; + + interrupts-extended = <&tlmm 20 IRQ_TYPE_LEVEL_HIGH>; + + #address-cells = <1>; + #size-cells = <0>; + + connector@0 { + compatible = "usb-c-connector"; + reg = <0>; + power-role = "source"; + data-role = "host"; + }; + + connector@1 { + compatible = "usb-c-connector"; + reg = <1>; + power-role = "source"; + data-role = "host"; + }; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/pd-samsung.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/pd-samsung.yaml index 2de06aa31f..9c2c511334 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/pd-samsung.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/pd-samsung.yaml @@ -1,68 +1,68 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/power/pd-samsung.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Samsung Exynos SoC Power Domains - -maintainers: - - Krzysztof Kozlowski - -description: |+ - Exynos processors include support for multiple power domains which are used - to gate power to one or more peripherals on the processor. - -allOf: - - $ref: power-domain.yaml# - -properties: - compatible: - enum: - - samsung,exynos4210-pd - - samsung,exynos5433-pd - - reg: - maxItems: 1 - - clocks: - deprecated: true - maxItems: 1 - - clock-names: - deprecated: true - maxItems: 1 - - label: - description: - Human readable string with domain name. Will be visible in userspace - to let user to distinguish between multiple domains in SoC. - - "#power-domain-cells": - const: 0 - - power-domains: - maxItems: 1 - -required: - - compatible - - "#power-domain-cells" - - reg - -unevaluatedProperties: false - -examples: - - | - lcd0_pd: power-domain@10023c80 { - compatible = "samsung,exynos4210-pd"; - reg = <0x10023c80 0x20>; - #power-domain-cells = <0>; - label = "LCD0"; - }; - - mfc_pd: power-domain@10044060 { - compatible = "samsung,exynos4210-pd"; - reg = <0x10044060 0x20>; - #power-domain-cells = <0>; - label = "MFC"; - }; +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/power/pd-samsung.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Samsung Exynos SoC Power Domains + +maintainers: + - Krzysztof Kozlowski + +description: |+ + Exynos processors include support for multiple power domains which are used + to gate power to one or more peripherals on the processor. + +allOf: + - $ref: power-domain.yaml# + +properties: + compatible: + enum: + - samsung,exynos4210-pd + - samsung,exynos5433-pd + + reg: + maxItems: 1 + + clocks: + deprecated: true + maxItems: 1 + + clock-names: + deprecated: true + maxItems: 1 + + label: + description: + Human readable string with domain name. Will be visible in userspace + to let user to distinguish between multiple domains in SoC. + + "#power-domain-cells": + const: 0 + + power-domains: + maxItems: 1 + +required: + - compatible + - "#power-domain-cells" + - reg + +unevaluatedProperties: false + +examples: + - | + lcd0_pd: power-domain@10023c80 { + compatible = "samsung,exynos4210-pd"; + reg = <0x10023c80 0x20>; + #power-domain-cells = <0>; + label = "LCD0"; + }; + + mfc_pd: power-domain@10044060 { + compatible = "samsung,exynos4210-pd"; + reg = <0x10044060 0x20>; + #power-domain-cells = <0>; + label = "MFC"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/renesas,apmu.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/renesas,apmu.yaml index f8734bc376..2b4d802ef4 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/renesas,apmu.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/renesas,apmu.yaml @@ -1,57 +1,57 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/power/renesas,apmu.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Renesas Advanced Power Management Unit - -maintainers: - - Geert Uytterhoeven - - Magnus Damm - -description: - Renesas R-Car Gen2 and RZ/G1 SoCs utilize one or more APMU hardware units for - CPU core power domain control including SMP boot and CPU Hotplug. - -properties: - compatible: - items: - - enum: - - renesas,r8a7742-apmu # RZ/G1H - - renesas,r8a7743-apmu # RZ/G1M - - renesas,r8a7744-apmu # RZ/G1N - - renesas,r8a7745-apmu # RZ/G1E - - renesas,r8a77470-apmu # RZ/G1C - - renesas,r8a7790-apmu # R-Car H2 - - renesas,r8a7791-apmu # R-Car M2-W - - renesas,r8a7792-apmu # R-Car V2H - - renesas,r8a7793-apmu # R-Car M2-N - - renesas,r8a7794-apmu # R-Car E2 - - const: renesas,apmu - - reg: - maxItems: 1 - - cpus: - minItems: 1 - maxItems: 4 - description: | - Array of phandles pointing to CPU cores, which should match the order of - CPU cores used by the WUPCR and PSTR registers in the Advanced Power - Management Unit section of the device's datasheet. - -required: - - compatible - - reg - - cpus - -additionalProperties: false - -examples: - - | - apmu@e6152000 { - compatible = "renesas,r8a7791-apmu", "renesas,apmu"; - reg = <0xe6152000 0x188>; - cpus = <&cpu0>, <&cpu1>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/power/renesas,apmu.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Renesas Advanced Power Management Unit + +maintainers: + - Geert Uytterhoeven + - Magnus Damm + +description: + Renesas R-Car Gen2 and RZ/G1 SoCs utilize one or more APMU hardware units for + CPU core power domain control including SMP boot and CPU Hotplug. + +properties: + compatible: + items: + - enum: + - renesas,r8a7742-apmu # RZ/G1H + - renesas,r8a7743-apmu # RZ/G1M + - renesas,r8a7744-apmu # RZ/G1N + - renesas,r8a7745-apmu # RZ/G1E + - renesas,r8a77470-apmu # RZ/G1C + - renesas,r8a7790-apmu # R-Car H2 + - renesas,r8a7791-apmu # R-Car M2-W + - renesas,r8a7792-apmu # R-Car V2H + - renesas,r8a7793-apmu # R-Car M2-N + - renesas,r8a7794-apmu # R-Car E2 + - const: renesas,apmu + + reg: + maxItems: 1 + + cpus: + minItems: 1 + maxItems: 4 + description: | + Array of phandles pointing to CPU cores, which should match the order of + CPU cores used by the WUPCR and PSTR registers in the Advanced Power + Management Unit section of the device's datasheet. + +required: + - compatible + - reg + - cpus + +additionalProperties: false + +examples: + - | + apmu@e6152000 { + compatible = "renesas,r8a7791-apmu", "renesas,apmu"; + reg = <0xe6152000 0x188>; + cpus = <&cpu0>, <&cpu1>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/reset/atmel,at91sam9260-shdwc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/reset/atmel,at91sam9260-shdwc.yaml index 7f424770bc..f559a2cfd8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/reset/atmel,at91sam9260-shdwc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/reset/atmel,at91sam9260-shdwc.yaml @@ -1,82 +1,82 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/power/reset/atmel,at91sam9260-shdwc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Microchip AT91 SHDWC Shutdown Controller - -maintainers: - - Claudiu Beznea - -description: | - Microchip AT91 SHDWC shutdown controller controls the power supplies VDDIO - and VDDCORE and the wake-up detection on debounced input lines. - -properties: - compatible: - enum: - - atmel,at91sam9260-shdwc - - atmel,at91sam9rl-shdwc - - atmel,at91sam9x5-shdwc - - reg: - maxItems: 1 - - clocks: - maxItems: 1 - - atmel,wakeup-mode: - description: operation mode of the wakeup mode - $ref: /schemas/types.yaml#/definitions/string - enum: [ none, high, low, any ] - - atmel,wakeup-counter: - description: counter on wake-up 0 - $ref: /schemas/types.yaml#/definitions/uint32 - minimum: 0 - maximum: 15 - - atmel,wakeup-rtt-timer: - description: enable real-time timer wake-up - type: boolean - - atmel,wakeup-rtc-timer: - description: enable real-time clock wake-up - type: boolean - -required: - - compatible - - reg - - clocks - -allOf: - - if: - properties: - compatible: - contains: - const: atmel,at91sam9x5-shdwc - then: - properties: - atmel,wakeup-rtt-timer: false - - - if: - properties: - compatible: - contains: - const: atmel,at91sam9260-shdwc - then: - properties: - atmel,wakeup-rtc-timer: false - -additionalProperties: false - -examples: - - | - shdwc: poweroff@fffffd10 { - compatible = "atmel,at91sam9260-shdwc"; - reg = <0xfffffd10 0x10>; - clocks = <&clk32k>; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/power/reset/atmel,at91sam9260-shdwc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Microchip AT91 SHDWC Shutdown Controller + +maintainers: + - Claudiu Beznea + +description: | + Microchip AT91 SHDWC shutdown controller controls the power supplies VDDIO + and VDDCORE and the wake-up detection on debounced input lines. + +properties: + compatible: + enum: + - atmel,at91sam9260-shdwc + - atmel,at91sam9rl-shdwc + - atmel,at91sam9x5-shdwc + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + atmel,wakeup-mode: + description: operation mode of the wakeup mode + $ref: /schemas/types.yaml#/definitions/string + enum: [ none, high, low, any ] + + atmel,wakeup-counter: + description: counter on wake-up 0 + $ref: /schemas/types.yaml#/definitions/uint32 + minimum: 0 + maximum: 15 + + atmel,wakeup-rtt-timer: + description: enable real-time timer wake-up + type: boolean + + atmel,wakeup-rtc-timer: + description: enable real-time clock wake-up + type: boolean + +required: + - compatible + - reg + - clocks + +allOf: + - if: + properties: + compatible: + contains: + const: atmel,at91sam9x5-shdwc + then: + properties: + atmel,wakeup-rtt-timer: false + + - if: + properties: + compatible: + contains: + const: atmel,at91sam9260-shdwc + then: + properties: + atmel,wakeup-rtc-timer: false + +additionalProperties: false + +examples: + - | + shdwc: poweroff@fffffd10 { + compatible = "atmel,at91sam9260-shdwc"; + reg = <0xfffffd10 0x10>; + clocks = <&clk32k>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/reset/gpio-poweroff.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/reset/gpio-poweroff.yaml index f42af310cc..a4b437fce3 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/reset/gpio-poweroff.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/reset/gpio-poweroff.yaml @@ -1,65 +1,65 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/power/reset/gpio-poweroff.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: GPIO controlled power off - -maintainers: - - Sebastian Reichel - -description: > - System power off support via a GPIO line. When a shutdown is - executed the operating system is expected to switch the GPIO - from inactive to active. After a delay (active-delay-ms) it - is expected to be switched back to inactive. After another - delay (inactive-delay-ms) it is configured as active again. - Finally the operating system assumes the power off failed if - the system is still running after waiting some time (timeout-ms). - -allOf: - - $ref: restart-handler.yaml# - -properties: - compatible: - const: gpio-poweroff - - gpios: - maxItems: 1 - - input: - type: boolean - description: > - Initially configure the GPIO line as an input. Only reconfigure - it to an output when the power-off sequence is initiated. If this optional - property is not specified, the GPIO is initialized as an output in its inactive state. - - active-delay-ms: - default: 100 - description: Delay to wait after driving gpio active - - inactive-delay-ms: - default: 100 - description: Delay to wait after driving gpio inactive - - priority: - default: 0 - - timeout-ms: - default: 3000 - description: Time to wait before assuming the power off sequence failed. - -required: - - compatible - - gpios - -additionalProperties: false - -examples: - - | - gpio-poweroff { - compatible = "gpio-poweroff"; - gpios = <&gpio 4 0>; - timeout-ms = <3000>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/power/reset/gpio-poweroff.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: GPIO controlled power off + +maintainers: + - Sebastian Reichel + +description: > + System power off support via a GPIO line. When a shutdown is + executed the operating system is expected to switch the GPIO + from inactive to active. After a delay (active-delay-ms) it + is expected to be switched back to inactive. After another + delay (inactive-delay-ms) it is configured as active again. + Finally the operating system assumes the power off failed if + the system is still running after waiting some time (timeout-ms). + +allOf: + - $ref: restart-handler.yaml# + +properties: + compatible: + const: gpio-poweroff + + gpios: + maxItems: 1 + + input: + type: boolean + description: > + Initially configure the GPIO line as an input. Only reconfigure + it to an output when the power-off sequence is initiated. If this optional + property is not specified, the GPIO is initialized as an output in its inactive state. + + active-delay-ms: + default: 100 + description: Delay to wait after driving gpio active + + inactive-delay-ms: + default: 100 + description: Delay to wait after driving gpio inactive + + priority: + default: 0 + + timeout-ms: + default: 3000 + description: Time to wait before assuming the power off sequence failed. + +required: + - compatible + - gpios + +additionalProperties: false + +examples: + - | + gpio-poweroff { + compatible = "gpio-poweroff"; + gpios = <&gpio 4 0>; + timeout-ms = <3000>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/reset/reboot-mode.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/reset/reboot-mode.yaml index 172646d26c..ad0a0b95ce 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/reset/reboot-mode.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/reset/reboot-mode.yaml @@ -1,49 +1,49 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/power/reset/reboot-mode.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Generic reboot mode core map - -maintainers: - - Andy Yan - -description: | - This driver get reboot mode arguments and call the write - interface to store the magic value in special register - or ram. Then the bootloader can read it and take different - action according to the argument stored. - - All mode properties are vendor specific, it is a indication to tell - the bootloader what to do when the system reboots, and should be named - as mode-xxx = (xxx is mode name, magic should be a non-zero value). - - For example, modes common Android platform are: - - normal: Normal reboot mode, system reboot with command "reboot". - - recovery: Android Recovery mode, it is a mode to format the device or update a new image. - - bootloader: Android fastboot mode, it's a mode to re-flash partitions on the Android based device. - - loader: A bootloader mode, it's a mode used to download image on Rockchip platform, - usually used in development. - -properties: - mode-normal: - $ref: /schemas/types.yaml#/definitions/uint32 - description: - Default value to set on a reboot if no command was provided. - -patternProperties: - "^mode-.*$": - $ref: /schemas/types.yaml#/definitions/uint32 - -additionalProperties: true - -examples: - - | - reboot-mode { - mode-normal = <0>; - mode-recovery = <1>; - mode-bootloader = <2>; - mode-loader = <3>; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/power/reset/reboot-mode.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Generic reboot mode core map + +maintainers: + - Andy Yan + +description: | + This driver get reboot mode arguments and call the write + interface to store the magic value in special register + or ram. Then the bootloader can read it and take different + action according to the argument stored. + + All mode properties are vendor specific, it is a indication to tell + the bootloader what to do when the system reboots, and should be named + as mode-xxx = (xxx is mode name, magic should be a non-zero value). + + For example, modes common Android platform are: + - normal: Normal reboot mode, system reboot with command "reboot". + - recovery: Android Recovery mode, it is a mode to format the device or update a new image. + - bootloader: Android fastboot mode, it's a mode to re-flash partitions on the Android based device. + - loader: A bootloader mode, it's a mode used to download image on Rockchip platform, + usually used in development. + +properties: + mode-normal: + $ref: /schemas/types.yaml#/definitions/uint32 + description: + Default value to set on a reboot if no command was provided. + +patternProperties: + "^mode-.*$": + $ref: /schemas/types.yaml#/definitions/uint32 + +additionalProperties: true + +examples: + - | + reboot-mode { + mode-normal = <0>; + mode-recovery = <1>; + mode-bootloader = <2>; + mode-loader = <3>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/reset/syscon-reboot-mode.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/reset/syscon-reboot-mode.yaml index 09979e3199..b6acff199c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/reset/syscon-reboot-mode.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/reset/syscon-reboot-mode.yaml @@ -1,53 +1,53 @@ -# SPDX-License-Identifier: GPL-2.0-only -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/power/reset/syscon-reboot-mode.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Generic SYSCON reboot mode driver - -maintainers: - - Sebastian Reichel - -description: | - This driver gets reboot mode magic value from reboot-mode driver - and stores it in a SYSCON mapped register. Then the bootloader - can read it and take different action according to the magic - value stored. The SYSCON mapped register is retrieved from the - parental dt-node plus the offset. So the SYSCON reboot-mode node - should be represented as a sub-node of a "syscon", "simple-mfd" node. - -properties: - compatible: - const: syscon-reboot-mode - - mask: - $ref: /schemas/types.yaml#/definitions/uint32 - description: Update only the register bits defined by the mask (32 bit) - - offset: - $ref: /schemas/types.yaml#/definitions/uint32 - description: Offset in the register map for the mode register (in bytes) - -allOf: - - $ref: reboot-mode.yaml# - -unevaluatedProperties: false - -required: - - compatible - - offset - -examples: - - | - #include - - reboot-mode { - compatible = "syscon-reboot-mode"; - offset = <0x40>; - mode-normal = ; - mode-recovery = ; - mode-bootloader = ; - mode-loader = ; - }; -... +# SPDX-License-Identifier: GPL-2.0-only +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/power/reset/syscon-reboot-mode.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Generic SYSCON reboot mode driver + +maintainers: + - Sebastian Reichel + +description: | + This driver gets reboot mode magic value from reboot-mode driver + and stores it in a SYSCON mapped register. Then the bootloader + can read it and take different action according to the magic + value stored. The SYSCON mapped register is retrieved from the + parental dt-node plus the offset. So the SYSCON reboot-mode node + should be represented as a sub-node of a "syscon", "simple-mfd" node. + +properties: + compatible: + const: syscon-reboot-mode + + mask: + $ref: /schemas/types.yaml#/definitions/uint32 + description: Update only the register bits defined by the mask (32 bit) + + offset: + $ref: /schemas/types.yaml#/definitions/uint32 + description: Offset in the register map for the mode register (in bytes) + +allOf: + - $ref: reboot-mode.yaml# + +unevaluatedProperties: false + +required: + - compatible + - offset + +examples: + - | + #include + + reboot-mode { + compatible = "syscon-reboot-mode"; + offset = <0x40>; + mode-normal = ; + mode-recovery = ; + mode-bootloader = ; + mode-loader = ; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/supply/adc-battery.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/supply/adc-battery.yaml index 9e1ea4156b..ed9702caed 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/supply/adc-battery.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/supply/adc-battery.yaml @@ -1,70 +1,70 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/power/supply/adc-battery.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: ADC battery - -maintainers: - - Sebastian Reichel - -description: - Basic battery capacity meter, which only reports basic battery data - via ADC channels and optionally indicate that the battery is full by - polling a GPIO line. - - The voltage is expected to be measured between the battery terminals - and mandatory. The optional current/power channel is expected to - monitor the current/power flowing out of the battery. Last but not - least the temperature channel is supposed to measure the battery - temperature. - -allOf: - - $ref: power-supply.yaml# - -properties: - compatible: - const: adc-battery - - charged-gpios: - description: - GPIO which signals that the battery is fully charged. The GPIO is - often provided by charger ICs, that are not software controllable. - maxItems: 1 - - io-channels: - minItems: 1 - maxItems: 4 - - io-channel-names: - minItems: 1 - items: - - const: voltage - - enum: [ current, power, temperature ] - - enum: [ power, temperature ] - - const: temperature - - monitored-battery: true - -required: - - compatible - - io-channels - - io-channel-names - - monitored-battery - -unevaluatedProperties: false - -examples: - - | - #include - - fuel-gauge { - compatible = "adc-battery"; - charged-gpios = <&gpio 42 GPIO_ACTIVE_HIGH>; - io-channels = <&adc 13>, <&adc 37>; - io-channel-names = "voltage", "current"; - - power-supplies = <&charger>; - monitored-battery = <&battery>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/power/supply/adc-battery.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ADC battery + +maintainers: + - Sebastian Reichel + +description: + Basic battery capacity meter, which only reports basic battery data + via ADC channels and optionally indicate that the battery is full by + polling a GPIO line. + + The voltage is expected to be measured between the battery terminals + and mandatory. The optional current/power channel is expected to + monitor the current/power flowing out of the battery. Last but not + least the temperature channel is supposed to measure the battery + temperature. + +allOf: + - $ref: power-supply.yaml# + +properties: + compatible: + const: adc-battery + + charged-gpios: + description: + GPIO which signals that the battery is fully charged. The GPIO is + often provided by charger ICs, that are not software controllable. + maxItems: 1 + + io-channels: + minItems: 1 + maxItems: 4 + + io-channel-names: + minItems: 1 + items: + - const: voltage + - enum: [ current, power, temperature ] + - enum: [ power, temperature ] + - const: temperature + + monitored-battery: true + +required: + - compatible + - io-channels + - io-channel-names + - monitored-battery + +unevaluatedProperties: false + +examples: + - | + #include + + fuel-gauge { + compatible = "adc-battery"; + charged-gpios = <&gpio 42 GPIO_ACTIVE_HIGH>; + io-channels = <&adc 13>, <&adc 37>; + io-channel-names = "voltage", "current"; + + power-supplies = <&charger>; + monitored-battery = <&battery>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/supply/ingenic,battery.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/supply/ingenic,battery.yaml index 6dce065de0..741022b444 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/supply/ingenic,battery.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/supply/ingenic,battery.yaml @@ -1,61 +1,61 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -# Copyright 2019-2020 Artur Rojek -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/power/supply/ingenic,battery.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Ingenic JZ47xx battery - -maintainers: - - Artur Rojek - -$ref: power-supply.yaml# - -properties: - compatible: - oneOf: - - const: ingenic,jz4740-battery - - items: - - enum: - - ingenic,jz4725b-battery - - ingenic,jz4770-battery - - const: ingenic,jz4740-battery - - io-channels: - maxItems: 1 - - io-channel-names: - const: battery - - monitored-battery: - description: > - This property must be a phandle to a node using the format described - in battery.yaml, with the following properties being required: - - voltage-min-design-microvolt: drained battery voltage, - - voltage-max-design-microvolt: fully charged battery voltage. - -required: - - compatible - - io-channels - - io-channel-names - - monitored-battery - -additionalProperties: false - -examples: - - | - #include - - simple_battery: battery { - compatible = "simple-battery"; - voltage-min-design-microvolt = <3600000>; - voltage-max-design-microvolt = <4200000>; - }; - - ingenic-battery { - compatible = "ingenic,jz4740-battery"; - io-channels = <&adc INGENIC_ADC_BATTERY>; - io-channel-names = "battery"; - monitored-battery = <&simple_battery>; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +# Copyright 2019-2020 Artur Rojek +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/power/supply/ingenic,battery.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Ingenic JZ47xx battery + +maintainers: + - Artur Rojek + +$ref: power-supply.yaml# + +properties: + compatible: + oneOf: + - const: ingenic,jz4740-battery + - items: + - enum: + - ingenic,jz4725b-battery + - ingenic,jz4770-battery + - const: ingenic,jz4740-battery + + io-channels: + maxItems: 1 + + io-channel-names: + const: battery + + monitored-battery: + description: > + This property must be a phandle to a node using the format described + in battery.yaml, with the following properties being required: + - voltage-min-design-microvolt: drained battery voltage, + - voltage-max-design-microvolt: fully charged battery voltage. + +required: + - compatible + - io-channels + - io-channel-names + - monitored-battery + +additionalProperties: false + +examples: + - | + #include + + simple_battery: battery { + compatible = "simple-battery"; + voltage-min-design-microvolt = <3600000>; + voltage-max-design-microvolt = <4200000>; + }; + + ingenic-battery { + compatible = "ingenic,jz4740-battery"; + io-channels = <&adc INGENIC_ADC_BATTERY>; + io-channel-names = "battery"; + monitored-battery = <&simple_battery>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/supply/lltc,ltc294x.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/supply/lltc,ltc294x.yaml index 12f2875308..e68a97cb49 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/supply/lltc,ltc294x.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/supply/lltc,ltc294x.yaml @@ -1,66 +1,66 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/power/supply/lltc,ltc294x.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: LTC2941, LTC2942, LTC2943 and LTC2944 battery fuel gauges - -description: | - All chips measure battery capacity. - The LTC2942 is pin compatible with the LTC2941, it adds voltage and - temperature monitoring, and is runtime detected. LTC2943 and LTC2944 - are software compatible, uses a slightly different conversion formula - for the charge counter and adds voltage, current and temperature monitoring. - -maintainers: - - Sebastian Reichel - -allOf: - - $ref: power-supply.yaml# - -properties: - compatible: - enum: - - lltc,ltc2941 - - lltc,ltc2942 - - lltc,ltc2943 - - lltc,ltc2944 - - reg: - maxItems: 1 - - lltc,resistor-sense: - $ref: /schemas/types.yaml#/definitions/int32 - description: | - Sense resistor value in milli-ohms. - Can be negative value when the battery has been connected to the wrong end of the resistor. - - lltc,prescaler-exponent: - $ref: /schemas/types.yaml#/definitions/uint32 - description: | - The prescaler exponent as explained in the datasheet. - This determines the range and accuracy of the gauge. - The value is programmed into the chip only if it differs from the current setting. - The setting is lost when the battery is disconnected. - -required: - - compatible - - reg - - lltc,resistor-sense - - lltc,prescaler-exponent - -additionalProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - battery@64 { - compatible = "lltc,ltc2943"; - reg = <0x64>; - lltc,resistor-sense = <15>; - lltc,prescaler-exponent = <5>; /* 2^(2*5) = 1024 */ - }; - }; +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/power/supply/lltc,ltc294x.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: LTC2941, LTC2942, LTC2943 and LTC2944 battery fuel gauges + +description: | + All chips measure battery capacity. + The LTC2942 is pin compatible with the LTC2941, it adds voltage and + temperature monitoring, and is runtime detected. LTC2943 and LTC2944 + are software compatible, uses a slightly different conversion formula + for the charge counter and adds voltage, current and temperature monitoring. + +maintainers: + - Sebastian Reichel + +allOf: + - $ref: power-supply.yaml# + +properties: + compatible: + enum: + - lltc,ltc2941 + - lltc,ltc2942 + - lltc,ltc2943 + - lltc,ltc2944 + + reg: + maxItems: 1 + + lltc,resistor-sense: + $ref: /schemas/types.yaml#/definitions/int32 + description: | + Sense resistor value in milli-ohms. + Can be negative value when the battery has been connected to the wrong end of the resistor. + + lltc,prescaler-exponent: + $ref: /schemas/types.yaml#/definitions/uint32 + description: | + The prescaler exponent as explained in the datasheet. + This determines the range and accuracy of the gauge. + The value is programmed into the chip only if it differs from the current setting. + The setting is lost when the battery is disconnected. + +required: + - compatible + - reg + - lltc,resistor-sense + - lltc,prescaler-exponent + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + battery@64 { + compatible = "lltc,ltc2943"; + reg = <0x64>; + lltc,resistor-sense = <15>; + lltc,prescaler-exponent = <5>; /* 2^(2*5) = 1024 */ + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/supply/maxim,max8903.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/supply/maxim,max8903.yaml index 1b9f735d02..86af383789 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/supply/maxim,max8903.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/supply/maxim,max8903.yaml @@ -1,67 +1,67 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/power/supply/maxim,max8903.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Maxim Semiconductor MAX8903 Battery Charger - -maintainers: - - Sebastian Reichel - -allOf: - - $ref: power-supply.yaml# - -properties: - compatible: - const: maxim,max8903 - - dok-gpios: - maxItems: 1 - description: Valid DC power has been detected (active low, input) - - uok-gpios: - maxItems: 1 - description: Valid USB power has been detected (active low, input) - - cen-gpios: - maxItems: 1 - description: Charge enable pin (active low, output) - - chg-gpios: - maxItems: 1 - description: Charger status pin (active low, input) - - flt-gpios: - maxItems: 1 - description: Fault pin (active low, input) - - dcm-gpios: - maxItems: 1 - description: Current limit mode setting (DC=1 or USB=0, output) - - usus-gpios: - maxItems: 1 - description: USB suspend pin (active high, output) - -required: - - compatible - -anyOf: - - required: - - dok-gpios - - required: - - uok-gpios - -additionalProperties: false - -examples: - - | - #include - charger { - compatible = "maxim,max8903"; - dok-gpios = <&gpio2 3 GPIO_ACTIVE_LOW>; - flt-gpios = <&gpio2 2 GPIO_ACTIVE_LOW>; - chg-gpios = <&gpio3 15 GPIO_ACTIVE_LOW>; - cen-gpios = <&gpio2 5 GPIO_ACTIVE_LOW>; - }; +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/power/supply/maxim,max8903.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Maxim Semiconductor MAX8903 Battery Charger + +maintainers: + - Sebastian Reichel + +allOf: + - $ref: power-supply.yaml# + +properties: + compatible: + const: maxim,max8903 + + dok-gpios: + maxItems: 1 + description: Valid DC power has been detected (active low, input) + + uok-gpios: + maxItems: 1 + description: Valid USB power has been detected (active low, input) + + cen-gpios: + maxItems: 1 + description: Charge enable pin (active low, output) + + chg-gpios: + maxItems: 1 + description: Charger status pin (active low, input) + + flt-gpios: + maxItems: 1 + description: Fault pin (active low, input) + + dcm-gpios: + maxItems: 1 + description: Current limit mode setting (DC=1 or USB=0, output) + + usus-gpios: + maxItems: 1 + description: USB suspend pin (active high, output) + +required: + - compatible + +anyOf: + - required: + - dok-gpios + - required: + - uok-gpios + +additionalProperties: false + +examples: + - | + #include + charger { + compatible = "maxim,max8903"; + dok-gpios = <&gpio2 3 GPIO_ACTIVE_LOW>; + flt-gpios = <&gpio2 2 GPIO_ACTIVE_LOW>; + chg-gpios = <&gpio3 15 GPIO_ACTIVE_LOW>; + cen-gpios = <&gpio2 5 GPIO_ACTIVE_LOW>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/supply/qcom,pm8941-coincell.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/supply/qcom,pm8941-coincell.yaml index 1f34151af8..1d2405bea1 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/supply/qcom,pm8941-coincell.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/supply/qcom,pm8941-coincell.yaml @@ -1,67 +1,67 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/power/supply/qcom,pm8941-coincell.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm Coincell Charger - -description: | - The hardware block controls charging for a coincell or capacitor that is - used to provide power backup for certain features of the power management - IC (PMIC) - -maintainers: - - Sebastian Reichel - -properties: - compatible: - oneOf: - - items: - - enum: - - qcom,pm8998-coincell - - const: qcom,pm8941-coincell - - - const: qcom,pm8941-coincell - - reg: - maxItems: 1 - - qcom,rset-ohms: - description: | - Resistance (in ohms) for current-limiting resistor. If unspecified, - inherit the previous configuration (e.g. from bootloader or hardware - default value). - enum: [ 800, 1200, 1700, 2100 ] - - qcom,vset-millivolts: - $ref: /schemas/types.yaml#/definitions/uint32 - description: | - Voltage (in millivolts) to apply for charging. If unspecified, inherit - the previous configuration (e.g. from bootloader or hardware default - value). - enum: [ 2500, 3000, 3100, 3200 ] - - qcom,charger-disable: - type: boolean - description: defining this property disables charging - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - pmic { - #address-cells = <1>; - #size-cells = <0>; - - charger@2800 { - compatible = "qcom,pm8941-coincell"; - reg = <0x2800>; - qcom,rset-ohms = <2100>; - qcom,vset-millivolts = <3000>; - }; - }; +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/power/supply/qcom,pm8941-coincell.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Coincell Charger + +description: | + The hardware block controls charging for a coincell or capacitor that is + used to provide power backup for certain features of the power management + IC (PMIC) + +maintainers: + - Sebastian Reichel + +properties: + compatible: + oneOf: + - items: + - enum: + - qcom,pm8998-coincell + - const: qcom,pm8941-coincell + + - const: qcom,pm8941-coincell + + reg: + maxItems: 1 + + qcom,rset-ohms: + description: | + Resistance (in ohms) for current-limiting resistor. If unspecified, + inherit the previous configuration (e.g. from bootloader or hardware + default value). + enum: [ 800, 1200, 1700, 2100 ] + + qcom,vset-millivolts: + $ref: /schemas/types.yaml#/definitions/uint32 + description: | + Voltage (in millivolts) to apply for charging. If unspecified, inherit + the previous configuration (e.g. from bootloader or hardware default + value). + enum: [ 2500, 3000, 3100, 3200 ] + + qcom,charger-disable: + type: boolean + description: defining this property disables charging + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + pmic { + #address-cells = <1>; + #size-cells = <0>; + + charger@2800 { + compatible = "qcom,pm8941-coincell"; + reg = <0x2800>; + qcom,rset-ohms = <2100>; + qcom,vset-millivolts = <3000>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/supply/richtek,rt9471.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/supply/richtek,rt9471.yaml index 0c9da8e5eb..fbb54cfeca 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/supply/richtek,rt9471.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/supply/richtek,rt9471.yaml @@ -1,73 +1,73 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/power/supply/richtek,rt9471.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Richtek RT9471 3A Single Cell Switching Battery charger - -maintainers: - - Alina Yu - - ChiYuan Huang - -description: | - RT9471 is a switch-mode single cell Li-Ion/Li-Polymer battery charger for - portable applications. It supports USB BC1.2 port detection, current and - voltage regulations in both charging and boost mode. - - Datasheet is available at - https://www.richtek.com/assets/product_file/RT9471=RT9471D/DS9471D-02.pdf - -properties: - compatible: - const: richtek,rt9471 - - reg: - maxItems: 1 - - charge-enable-gpios: - description: GPIO used to turn on and off charging. - maxItems: 1 - - wakeup-source: true - - interrupts: - maxItems: 1 - - usb-otg-vbus-regulator: - type: object - $ref: /schemas/regulator/regulator.yaml# - unevaluatedProperties: false - -required: - - compatible - - reg - - wakeup-source - - interrupts - -additionalProperties: false - -examples: - - | - #include - #include - i2c { - #address-cells = <1>; - #size-cells = <0>; - - charger@53 { - compatible = "richtek,rt9471"; - reg = <0x53>; - charge-enable-gpios = <&gpio26 1 GPIO_ACTIVE_LOW>; - wakeup-source; - interrupts-extended = <&gpio_intc 32 IRQ_TYPE_EDGE_FALLING>; - - usb-otg-vbus-regulator { - regulator-name = "usb-otg-vbus"; - regulator-min-microvolt = <4850000>; - regulator-max-microvolt = <5300000>; - regulator-min-microamp = <500000>; - regulator-max-microamp = <1200000>; - }; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/power/supply/richtek,rt9471.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Richtek RT9471 3A Single Cell Switching Battery charger + +maintainers: + - Alina Yu + - ChiYuan Huang + +description: | + RT9471 is a switch-mode single cell Li-Ion/Li-Polymer battery charger for + portable applications. It supports USB BC1.2 port detection, current and + voltage regulations in both charging and boost mode. + + Datasheet is available at + https://www.richtek.com/assets/product_file/RT9471=RT9471D/DS9471D-02.pdf + +properties: + compatible: + const: richtek,rt9471 + + reg: + maxItems: 1 + + charge-enable-gpios: + description: GPIO used to turn on and off charging. + maxItems: 1 + + wakeup-source: true + + interrupts: + maxItems: 1 + + usb-otg-vbus-regulator: + type: object + $ref: /schemas/regulator/regulator.yaml# + unevaluatedProperties: false + +required: + - compatible + - reg + - wakeup-source + - interrupts + +additionalProperties: false + +examples: + - | + #include + #include + i2c { + #address-cells = <1>; + #size-cells = <0>; + + charger@53 { + compatible = "richtek,rt9471"; + reg = <0x53>; + charge-enable-gpios = <&gpio26 1 GPIO_ACTIVE_LOW>; + wakeup-source; + interrupts-extended = <&gpio_intc 32 IRQ_TYPE_EDGE_FALLING>; + + usb-otg-vbus-regulator { + regulator-name = "usb-otg-vbus"; + regulator-min-microvolt = <4850000>; + regulator-max-microvolt = <5300000>; + regulator-min-microamp = <500000>; + regulator-max-microamp = <1200000>; + }; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/supply/samsung,battery.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/supply/samsung,battery.yaml index b119bbd7ef..40292d581b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/supply/samsung,battery.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/supply/samsung,battery.yaml @@ -1,56 +1,56 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/power/supply/samsung,battery.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Samsung SDI Batteries - -maintainers: - - Linus Walleij - -description: | - Samsung SDI (Samsung Digital Interface) batteries are all different versions - of lithium ion chemistry devices used for mobile phones, laptops and other - portable electronics. The batteries are adapted to a specific product and - the physical restrictions make it impossible to use another battery with the - product, so product device trees can specify these batteries. Operating - systems should determine hardware characteristics of the batteries from the - compatible string. - -properties: - compatible: - oneOf: - - const: samsung,eb-l1m7flu - description: 3.8V 1500 mAh battery used in Samsung GT-I8190 - - const: samsung,eb425161la - description: 3.8V 1500 mAh battery used in Samsung SGH-T599 and SGH-I407 - - const: samsung,eb425161lu - description: 3.8V 1500 mAh battery used in Samsung GT-I8160 - - const: samsung,eb485159lu - description: 3.8V 1700 mAh battery used in Samsung GT-S7710 - - const: samsung,eb535151vu - description: 3.8V 1500 mAh battery used in Samsung GT-I9070 - - const: samsung,eb585157lu - description: 3.8V 2000 mAh battery used in Samsung GT-I8530 - -required: - - compatible - -additionalProperties: false - -examples: - - | - power { - #address-cells = <1>; - #size-cells = <0>; - - battery: battery { - compatible = "samsung,eb425161la"; - }; - - charger@11 { - reg = <0x11>; - monitored-battery = <&battery>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/power/supply/samsung,battery.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Samsung SDI Batteries + +maintainers: + - Linus Walleij + +description: | + Samsung SDI (Samsung Digital Interface) batteries are all different versions + of lithium ion chemistry devices used for mobile phones, laptops and other + portable electronics. The batteries are adapted to a specific product and + the physical restrictions make it impossible to use another battery with the + product, so product device trees can specify these batteries. Operating + systems should determine hardware characteristics of the batteries from the + compatible string. + +properties: + compatible: + oneOf: + - const: samsung,eb-l1m7flu + description: 3.8V 1500 mAh battery used in Samsung GT-I8190 + - const: samsung,eb425161la + description: 3.8V 1500 mAh battery used in Samsung SGH-T599 and SGH-I407 + - const: samsung,eb425161lu + description: 3.8V 1500 mAh battery used in Samsung GT-I8160 + - const: samsung,eb485159lu + description: 3.8V 1700 mAh battery used in Samsung GT-S7710 + - const: samsung,eb535151vu + description: 3.8V 1500 mAh battery used in Samsung GT-I9070 + - const: samsung,eb585157lu + description: 3.8V 2000 mAh battery used in Samsung GT-I8530 + +required: + - compatible + +additionalProperties: false + +examples: + - | + power { + #address-cells = <1>; + #size-cells = <0>; + + battery: battery { + compatible = "samsung,eb425161la"; + }; + + charger@11 { + reg = <0x11>; + monitored-battery = <&battery>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/supply/twl4030-charger.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/supply/twl4030-charger.yaml index 13cbe96521..d8d3154f9c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/supply/twl4030-charger.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/supply/twl4030-charger.yaml @@ -1,68 +1,68 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/power/supply/twl4030-charger.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: TWL4030 BCI (Battery Charger Interface) - -description: | - The battery charger needs to interact with the USB phy in order to know when - charging is permissible, and when there is a connection or disconnection. - - The choice of phy cannot be configured at a hardware level, so there is no - value in explicit configuration in device-tree. Rather if there is a sibling - of the BCI node which is compatible with "ti,twl4030-usb", then that is used - to determine when and how use USB power for charging. - -maintainers: - - Sebastian Reichel - -allOf: - - $ref: power-supply.yaml# - -properties: - compatible: - const: ti,twl4030-bci - - interrupts: - minItems: 2 - maxItems: 2 - - ti,bb-uvolt: - $ref: /schemas/types.yaml#/definitions/uint32 - description: microvolts for charging the backup battery - - ti,bb-uamp: - $ref: /schemas/types.yaml#/definitions/uint32 - description: microamps for charging the backup battery - - io-channels: - items: - - description: Accessory Charger Voltage Channel - - io-channel-names: - items: - - const: vac - - bci3v1-supply: - description: 3.1V USB regulator - -required: - - compatible - - interrupts - -additionalProperties: false - -examples: - - | - pmic { - charger { - compatible = "ti,twl4030-bci"; - interrupts = <9>, <2>; - ti,bb-uvolt = <3200000>; - ti,bb-uamp = <150>; - io-channels = <&twl_madc 11>; - io-channel-names = "vac"; - }; - }; +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/power/supply/twl4030-charger.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: TWL4030 BCI (Battery Charger Interface) + +description: | + The battery charger needs to interact with the USB phy in order to know when + charging is permissible, and when there is a connection or disconnection. + + The choice of phy cannot be configured at a hardware level, so there is no + value in explicit configuration in device-tree. Rather if there is a sibling + of the BCI node which is compatible with "ti,twl4030-usb", then that is used + to determine when and how use USB power for charging. + +maintainers: + - Sebastian Reichel + +allOf: + - $ref: power-supply.yaml# + +properties: + compatible: + const: ti,twl4030-bci + + interrupts: + minItems: 2 + maxItems: 2 + + ti,bb-uvolt: + $ref: /schemas/types.yaml#/definitions/uint32 + description: microvolts for charging the backup battery + + ti,bb-uamp: + $ref: /schemas/types.yaml#/definitions/uint32 + description: microamps for charging the backup battery + + io-channels: + items: + - description: Accessory Charger Voltage Channel + + io-channel-names: + items: + - const: vac + + bci3v1-supply: + description: 3.1V USB regulator + +required: + - compatible + - interrupts + +additionalProperties: false + +examples: + - | + pmic { + charger { + compatible = "ti,twl4030-bci"; + interrupts = <9>, <2>; + ti,bb-uvolt = <3200000>; + ti,bb-uamp = <150>; + io-channels = <&twl_madc 11>; + io-channel-names = "vac"; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/powerpc/4xx/akebono.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/powerpc/4xx/akebono.txt index d54c993e12..940fd78e33 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/powerpc/4xx/akebono.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/powerpc/4xx/akebono.txt @@ -1,52 +1,52 @@ - -IBM Akebono board device tree -============================= - -The IBM Akebono board is a development board for the PPC476GTR SoC. - -0) The root node - - Required properties: - - - model : "ibm,akebono". - - compatible : "ibm,akebono" , "ibm,476gtr". - -1.a) The Secure Digital Host Controller Interface (SDHCI) node - - Represent the Secure Digital Host Controller Interfaces. - - Required properties: - - - compatible : should be "ibm,476gtr-sdhci","generic-sdhci". - - reg : should contain the SDHCI registers location and length. - - interrupts : should contain the SDHCI interrupt. - -1.b) The Advanced Host Controller Interface (AHCI) SATA node - - Represents the advanced host controller SATA interface. - - Required properties: - - - compatible : should be "ibm,476gtr-ahci". - - reg : should contain the AHCI registers location and length. - - interrupts : should contain the AHCI interrupt. - -1.c) The FPGA node - - The Akebono board stores some board information such as the revision - number in an FPGA which is represented by this node. - - Required properties: - - - compatible : should be "ibm,akebono-fpga". - - reg : should contain the FPGA registers location and length. - -1.d) The AVR node - - The Akebono board has an Atmel AVR microprocessor attached to the I2C - bus as a power controller for the board. - - Required properties: - - - compatible : should be "ibm,akebono-avr". - - reg : should contain the I2C bus address for the AVR. + +IBM Akebono board device tree +============================= + +The IBM Akebono board is a development board for the PPC476GTR SoC. + +0) The root node + + Required properties: + + - model : "ibm,akebono". + - compatible : "ibm,akebono" , "ibm,476gtr". + +1.a) The Secure Digital Host Controller Interface (SDHCI) node + + Represent the Secure Digital Host Controller Interfaces. + + Required properties: + + - compatible : should be "ibm,476gtr-sdhci","generic-sdhci". + - reg : should contain the SDHCI registers location and length. + - interrupts : should contain the SDHCI interrupt. + +1.b) The Advanced Host Controller Interface (AHCI) SATA node + + Represents the advanced host controller SATA interface. + + Required properties: + + - compatible : should be "ibm,476gtr-ahci". + - reg : should contain the AHCI registers location and length. + - interrupts : should contain the AHCI interrupt. + +1.c) The FPGA node + + The Akebono board stores some board information such as the revision + number in an FPGA which is represented by this node. + + Required properties: + + - compatible : should be "ibm,akebono-fpga". + - reg : should contain the FPGA registers location and length. + +1.d) The AVR node + + The Akebono board has an Atmel AVR microprocessor attached to the I2C + bus as a power controller for the board. + + Required properties: + + - compatible : should be "ibm,akebono-avr". + - reg : should contain the I2C bus address for the AVR. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/powerpc/fsl/ccf.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/powerpc/fsl/ccf.txt index 302e72ed27..454da7e08a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/powerpc/fsl/ccf.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/powerpc/fsl/ccf.txt @@ -1,46 +1,46 @@ -Freescale CoreNet Coherency Fabric(CCF) Device Tree Binding - -DESCRIPTION - -The CoreNet coherency fabric is a fabric-oriented, connectivity infrastructure -that enables the implementation of coherent, multicore systems. - -Required properties: - -- compatible: - fsl,corenet1-cf - CoreNet coherency fabric version 1. - Example chips: T4240, B4860 - - fsl,corenet2-cf - CoreNet coherency fabric version 2. - Example chips: P5040, P5020, P4080, P3041, P2041 - - fsl,corenet-cf - Used to represent the common registers - between CCF version 1 and CCF version 2. This compatible - is retained for compatibility reasons, as it was already - used for both CCF version 1 chips and CCF version 2 - chips. It should be specified after either - "fsl,corenet1-cf" or "fsl,corenet2-cf". - -- reg: - A standard property. Represents the CCF registers. - -- interrupts: - Interrupt mapping for CCF error interrupt. - -- fsl,ccf-num-csdids: - Specifies the number of Coherency Subdomain ID Port Mapping - Registers that are supported by the CCF. - -- fsl,ccf-num-snoopids: - Specifies the number of Snoop ID Port Mapping Registers that - are supported by CCF. - -Example: - - corenet-cf@18000 { - compatible = "fsl,corenet2-cf", "fsl,corenet-cf"; - reg = <0x18000 0x1000>; - interrupts = <16 2 1 31>; - fsl,ccf-num-csdids = <32>; - fsl,ccf-num-snoopids = <32>; - }; +Freescale CoreNet Coherency Fabric(CCF) Device Tree Binding + +DESCRIPTION + +The CoreNet coherency fabric is a fabric-oriented, connectivity infrastructure +that enables the implementation of coherent, multicore systems. + +Required properties: + +- compatible: + fsl,corenet1-cf - CoreNet coherency fabric version 1. + Example chips: T4240, B4860 + + fsl,corenet2-cf - CoreNet coherency fabric version 2. + Example chips: P5040, P5020, P4080, P3041, P2041 + + fsl,corenet-cf - Used to represent the common registers + between CCF version 1 and CCF version 2. This compatible + is retained for compatibility reasons, as it was already + used for both CCF version 1 chips and CCF version 2 + chips. It should be specified after either + "fsl,corenet1-cf" or "fsl,corenet2-cf". + +- reg: + A standard property. Represents the CCF registers. + +- interrupts: + Interrupt mapping for CCF error interrupt. + +- fsl,ccf-num-csdids: + Specifies the number of Coherency Subdomain ID Port Mapping + Registers that are supported by the CCF. + +- fsl,ccf-num-snoopids: + Specifies the number of Snoop ID Port Mapping Registers that + are supported by CCF. + +Example: + + corenet-cf@18000 { + compatible = "fsl,corenet2-cf", "fsl,corenet-cf"; + reg = <0x18000 0x1000>; + interrupts = <16 2 1 31>; + fsl,ccf-num-csdids = <32>; + fsl,ccf-num-snoopids = <32>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/powerpc/fsl/cpus.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/powerpc/fsl/cpus.txt index 6eacb6c238..4787db8de2 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/powerpc/fsl/cpus.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/powerpc/fsl/cpus.txt @@ -1,33 +1,33 @@ -=================================================================== -Power Architecture CPU Binding -Copyright 2013 Freescale Semiconductor Inc. - -Power Architecture CPUs in Freescale SOCs are represented in device trees as -per the definition in the Devicetree Specification. - -In addition to the Devicetree Specification definitions, the properties -defined below may be present on CPU nodes. - -PROPERTIES - - - fsl,eref-* - Usage: optional - Value type: - Definition: The EREF (EREF: A Programmer.s Reference Manual for - Freescale Power Architecture) defines the architecture for Freescale - Power CPUs. The EREF defines some architecture categories not defined - by the Power ISA. For these EREF-specific categories, the existence of - a property named fsl,eref-[CAT], where [CAT] is the abbreviated category - name with all uppercase letters converted to lowercase, indicates that - the category is supported by the implementation. - - - fsl,portid-mapping - Usage: optional - Value type: - Definition: The Coherency Subdomain ID Port Mapping Registers and - Snoop ID Port Mapping registers, which are part of the CoreNet - Coherency fabric (CCF), provide a CoreNet Coherency Subdomain - ID/CoreNet Snoop ID to cpu mapping functions. Certain bits from - these registers should be set if the corresponding CPU should be - snooped. This property defines a bitmask which selects the bit - that should be set if this cpu should be snooped. +=================================================================== +Power Architecture CPU Binding +Copyright 2013 Freescale Semiconductor Inc. + +Power Architecture CPUs in Freescale SOCs are represented in device trees as +per the definition in the Devicetree Specification. + +In addition to the Devicetree Specification definitions, the properties +defined below may be present on CPU nodes. + +PROPERTIES + + - fsl,eref-* + Usage: optional + Value type: + Definition: The EREF (EREF: A Programmer.s Reference Manual for + Freescale Power Architecture) defines the architecture for Freescale + Power CPUs. The EREF defines some architecture categories not defined + by the Power ISA. For these EREF-specific categories, the existence of + a property named fsl,eref-[CAT], where [CAT] is the abbreviated category + name with all uppercase letters converted to lowercase, indicates that + the category is supported by the implementation. + + - fsl,portid-mapping + Usage: optional + Value type: + Definition: The Coherency Subdomain ID Port Mapping Registers and + Snoop ID Port Mapping registers, which are part of the CoreNet + Coherency fabric (CCF), provide a CoreNet Coherency Subdomain + ID/CoreNet Snoop ID to cpu mapping functions. Certain bits from + these registers should be set if the corresponding CPU should be + snooped. This property defines a bitmask which selects the bit + that should be set if this cpu should be snooped. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ptp/ptp-idtcm.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ptp/ptp-idtcm.yaml index c6b319634c..7cf32663c8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ptp/ptp-idtcm.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ptp/ptp-idtcm.yaml @@ -1,69 +1,69 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/ptp/ptp-idtcm.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: IDT ClockMatrix (TM) PTP Clock - -maintainers: - - Vincent Cheng - -properties: - compatible: - enum: - # For System Synchronizer - - idt,8a34000 - - idt,8a34001 - - idt,8a34002 - - idt,8a34003 - - idt,8a34004 - - idt,8a34005 - - idt,8a34006 - - idt,8a34007 - - idt,8a34008 - - idt,8a34009 - # For Port Synchronizer - - idt,8a34010 - - idt,8a34011 - - idt,8a34012 - - idt,8a34013 - - idt,8a34014 - - idt,8a34015 - - idt,8a34016 - - idt,8a34017 - - idt,8a34018 - - idt,8a34019 - # For Universal Frequency Translator (UFT) - - idt,8a34040 - - idt,8a34041 - - idt,8a34042 - - idt,8a34043 - - idt,8a34044 - - idt,8a34045 - - idt,8a34046 - - idt,8a34047 - - idt,8a34048 - - idt,8a34049 - - reg: - maxItems: 1 - description: - I2C slave address of the device. - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - phc@5b { - compatible = "idt,8a34000"; - reg = <0x5b>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/ptp/ptp-idtcm.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: IDT ClockMatrix (TM) PTP Clock + +maintainers: + - Vincent Cheng + +properties: + compatible: + enum: + # For System Synchronizer + - idt,8a34000 + - idt,8a34001 + - idt,8a34002 + - idt,8a34003 + - idt,8a34004 + - idt,8a34005 + - idt,8a34006 + - idt,8a34007 + - idt,8a34008 + - idt,8a34009 + # For Port Synchronizer + - idt,8a34010 + - idt,8a34011 + - idt,8a34012 + - idt,8a34013 + - idt,8a34014 + - idt,8a34015 + - idt,8a34016 + - idt,8a34017 + - idt,8a34018 + - idt,8a34019 + # For Universal Frequency Translator (UFT) + - idt,8a34040 + - idt,8a34041 + - idt,8a34042 + - idt,8a34043 + - idt,8a34044 + - idt,8a34045 + - idt,8a34046 + - idt,8a34047 + - idt,8a34048 + - idt,8a34049 + + reg: + maxItems: 1 + description: + I2C slave address of the device. + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + phc@5b { + compatible = "idt,8a34000"; + reg = <0x5b>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/google,cros-ec-pwm.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/google,cros-ec-pwm.yaml index fc85eb224f..f7bc84b05a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/google,cros-ec-pwm.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/google,cros-ec-pwm.yaml @@ -1,57 +1,57 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/pwm/google,cros-ec-pwm.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: PWM controlled by ChromeOS EC - -maintainers: - - Thierry Reding - - '"Uwe Kleine-König" ' - -description: | - Google's ChromeOS EC PWM is a simple PWM attached to the Embedded Controller - (EC) and controlled via a host-command interface. - An EC PWM node should be only found as a sub-node of the EC node (see - Documentation/devicetree/bindings/mfd/google,cros-ec.yaml). - -allOf: - - $ref: pwm.yaml# - -properties: - compatible: - oneOf: - - description: PWM controlled using EC_PWM_TYPE_GENERIC channels. - items: - - const: google,cros-ec-pwm - - description: PWM controlled using CROS_EC_PWM_DT_<...> types. - items: - - const: google,cros-ec-pwm-type - - "#pwm-cells": - description: The cell specifies the PWM index. - const: 1 - -required: - - compatible - -additionalProperties: false - -examples: - - | - spi { - #address-cells = <1>; - #size-cells = <0>; - - cros-ec@0 { - compatible = "google,cros-ec-spi"; - reg = <0>; - interrupts = <101 0>; - - cros_ec_pwm: pwm { - compatible = "google,cros-ec-pwm"; - #pwm-cells = <1>; - }; - }; - }; +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/pwm/google,cros-ec-pwm.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: PWM controlled by ChromeOS EC + +maintainers: + - Thierry Reding + - '"Uwe Kleine-König" ' + +description: | + Google's ChromeOS EC PWM is a simple PWM attached to the Embedded Controller + (EC) and controlled via a host-command interface. + An EC PWM node should be only found as a sub-node of the EC node (see + Documentation/devicetree/bindings/mfd/google,cros-ec.yaml). + +allOf: + - $ref: pwm.yaml# + +properties: + compatible: + oneOf: + - description: PWM controlled using EC_PWM_TYPE_GENERIC channels. + items: + - const: google,cros-ec-pwm + - description: PWM controlled using CROS_EC_PWM_DT_<...> types. + items: + - const: google,cros-ec-pwm-type + + "#pwm-cells": + description: The cell specifies the PWM index. + const: 1 + +required: + - compatible + +additionalProperties: false + +examples: + - | + spi { + #address-cells = <1>; + #size-cells = <0>; + + cros-ec@0 { + compatible = "google,cros-ec-spi"; + reg = <0>; + interrupts = <101 0>; + + cros_ec_pwm: pwm { + compatible = "google,cros-ec-pwm"; + #pwm-cells = <1>; + }; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/imx-pwm.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/imx-pwm.yaml index 1bb1190a1c..04148198e3 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/imx-pwm.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/imx-pwm.yaml @@ -1,86 +1,86 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/pwm/imx-pwm.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Freescale i.MX PWM controller - -maintainers: - - Philipp Zabel - -allOf: - - $ref: pwm.yaml# - -properties: - "#pwm-cells": - description: - The only third cell flag supported by this binding is - PWM_POLARITY_INVERTED. fsl,imx1-pwm does not support this flags. - const: 3 - - compatible: - oneOf: - - enum: - - fsl,imx1-pwm - - fsl,imx27-pwm - - items: - - enum: - - fsl,imx25-pwm - - fsl,imx31-pwm - - fsl,imx50-pwm - - fsl,imx51-pwm - - fsl,imx53-pwm - - fsl,imx6q-pwm - - fsl,imx6sl-pwm - - fsl,imx6sll-pwm - - fsl,imx6sx-pwm - - fsl,imx6ul-pwm - - fsl,imx7d-pwm - - fsl,imx8mm-pwm - - fsl,imx8mn-pwm - - fsl,imx8mp-pwm - - fsl,imx8mq-pwm - - fsl,imx8qxp-pwm - - const: fsl,imx27-pwm - - reg: - maxItems: 1 - - clocks: - items: - - description: SoC PWM ipg clock - - description: SoC PWM per clock - - clock-names: - items: - - const: ipg - - const: per - - interrupts: - maxItems: 1 - - power-domains: - maxItems: 1 - -required: - - compatible - - reg - - clocks - - clock-names - -additionalProperties: false - -examples: - - | - #include - - pwm@53fb4000 { - #pwm-cells = <3>; - compatible = "fsl,imx27-pwm"; - reg = <0x53fb4000 0x4000>; - clocks = <&clks IMX5_CLK_PWM1_IPG_GATE>, - <&clks IMX5_CLK_PWM1_HF_GATE>; - clock-names = "ipg", "per"; - interrupts = <61>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/pwm/imx-pwm.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Freescale i.MX PWM controller + +maintainers: + - Philipp Zabel + +allOf: + - $ref: pwm.yaml# + +properties: + "#pwm-cells": + description: + The only third cell flag supported by this binding is + PWM_POLARITY_INVERTED. fsl,imx1-pwm does not support this flags. + const: 3 + + compatible: + oneOf: + - enum: + - fsl,imx1-pwm + - fsl,imx27-pwm + - items: + - enum: + - fsl,imx25-pwm + - fsl,imx31-pwm + - fsl,imx50-pwm + - fsl,imx51-pwm + - fsl,imx53-pwm + - fsl,imx6q-pwm + - fsl,imx6sl-pwm + - fsl,imx6sll-pwm + - fsl,imx6sx-pwm + - fsl,imx6ul-pwm + - fsl,imx7d-pwm + - fsl,imx8mm-pwm + - fsl,imx8mn-pwm + - fsl,imx8mp-pwm + - fsl,imx8mq-pwm + - fsl,imx8qxp-pwm + - const: fsl,imx27-pwm + + reg: + maxItems: 1 + + clocks: + items: + - description: SoC PWM ipg clock + - description: SoC PWM per clock + + clock-names: + items: + - const: ipg + - const: per + + interrupts: + maxItems: 1 + + power-domains: + maxItems: 1 + +required: + - compatible + - reg + - clocks + - clock-names + +additionalProperties: false + +examples: + - | + #include + + pwm@53fb4000 { + #pwm-cells = <3>; + compatible = "fsl,imx27-pwm"; + reg = <0x53fb4000 0x4000>; + clocks = <&clks IMX5_CLK_PWM1_IPG_GATE>, + <&clks IMX5_CLK_PWM1_HF_GATE>; + clock-names = "ipg", "per"; + interrupts = <61>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/mediatek,pwm-disp.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/mediatek,pwm-disp.yaml index 9b41ec67d0..195e437119 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/mediatek,pwm-disp.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/mediatek,pwm-disp.yaml @@ -1,80 +1,80 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/pwm/mediatek,pwm-disp.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: MediaTek DISP_PWM Controller - -maintainers: - - Jitao Shi - -allOf: - - $ref: pwm.yaml# - -properties: - compatible: - oneOf: - - enum: - - mediatek,mt2701-disp-pwm - - mediatek,mt6595-disp-pwm - - mediatek,mt8173-disp-pwm - - mediatek,mt8183-disp-pwm - - items: - - enum: - - mediatek,mt6795-disp-pwm - - mediatek,mt8167-disp-pwm - - const: mediatek,mt8173-disp-pwm - - items: - - enum: - - mediatek,mt8186-disp-pwm - - mediatek,mt8188-disp-pwm - - mediatek,mt8192-disp-pwm - - mediatek,mt8195-disp-pwm - - mediatek,mt8365-disp-pwm - - const: mediatek,mt8183-disp-pwm - - reg: - maxItems: 1 - - "#pwm-cells": - const: 2 - - interrupts: - maxItems: 1 - - clocks: - items: - - description: Main Clock - - description: Mm Clock - - clock-names: - items: - - const: main - - const: mm - - power-domains: - maxItems: 1 - -required: - - compatible - - reg - - clocks - - clock-names - -additionalProperties: false - -examples: - - | - #include - #include - #include - - pwm0: pwm@1401e000 { - compatible = "mediatek,mt8173-disp-pwm"; - reg = <0x1401e000 0x1000>; - #pwm-cells = <2>; - clocks = <&mmsys CLK_MM_DISP_PWM026M>, - <&mmsys CLK_MM_DISP_PWM0MM>; - clock-names = "main", "mm"; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/pwm/mediatek,pwm-disp.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: MediaTek DISP_PWM Controller + +maintainers: + - Jitao Shi + +allOf: + - $ref: pwm.yaml# + +properties: + compatible: + oneOf: + - enum: + - mediatek,mt2701-disp-pwm + - mediatek,mt6595-disp-pwm + - mediatek,mt8173-disp-pwm + - mediatek,mt8183-disp-pwm + - items: + - enum: + - mediatek,mt6795-disp-pwm + - mediatek,mt8167-disp-pwm + - const: mediatek,mt8173-disp-pwm + - items: + - enum: + - mediatek,mt8186-disp-pwm + - mediatek,mt8188-disp-pwm + - mediatek,mt8192-disp-pwm + - mediatek,mt8195-disp-pwm + - mediatek,mt8365-disp-pwm + - const: mediatek,mt8183-disp-pwm + + reg: + maxItems: 1 + + "#pwm-cells": + const: 2 + + interrupts: + maxItems: 1 + + clocks: + items: + - description: Main Clock + - description: Mm Clock + + clock-names: + items: + - const: main + - const: mm + + power-domains: + maxItems: 1 + +required: + - compatible + - reg + - clocks + - clock-names + +additionalProperties: false + +examples: + - | + #include + #include + #include + + pwm0: pwm@1401e000 { + compatible = "mediatek,mt8173-disp-pwm"; + reg = <0x1401e000 0x1000>; + #pwm-cells = <2>; + clocks = <&mmsys CLK_MM_DISP_PWM026M>, + <&mmsys CLK_MM_DISP_PWM0MM>; + clock-names = "main", "mm"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/pwm-sprd.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/pwm-sprd.txt index ac87da5642..87b206fd06 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/pwm-sprd.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/pwm-sprd.txt @@ -1,40 +1,40 @@ -Spreadtrum PWM controller - -Spreadtrum SoCs PWM controller provides 4 PWM channels. - -Required properties: -- compatible : Should be "sprd,ums512-pwm". -- reg: Physical base address and length of the controller's registers. -- clocks: The phandle and specifier referencing the controller's clocks. -- clock-names: Should contain following entries: - "pwmn": used to derive the functional clock for PWM channel n (n range: 0 ~ 3). - "enablen": for PWM channel n enable clock (n range: 0 ~ 3). -- #pwm-cells: Should be 2. See pwm.yaml in this directory for a description of - the cells format. - -Optional properties: -- assigned-clocks: Reference to the PWM clock entries. -- assigned-clock-parents: The phandle of the parent clock of PWM clock. - -Example: - pwms: pwm@32260000 { - compatible = "sprd,ums512-pwm"; - reg = <0 0x32260000 0 0x10000>; - clock-names = "pwm0", "enable0", - "pwm1", "enable1", - "pwm2", "enable2", - "pwm3", "enable3"; - clocks = <&aon_clk CLK_PWM0>, <&aonapb_gate CLK_PWM0_EB>, - <&aon_clk CLK_PWM1>, <&aonapb_gate CLK_PWM1_EB>, - <&aon_clk CLK_PWM2>, <&aonapb_gate CLK_PWM2_EB>, - <&aon_clk CLK_PWM3>, <&aonapb_gate CLK_PWM3_EB>; - assigned-clocks = <&aon_clk CLK_PWM0>, - <&aon_clk CLK_PWM1>, - <&aon_clk CLK_PWM2>, - <&aon_clk CLK_PWM3>; - assigned-clock-parents = <&ext_26m>, - <&ext_26m>, - <&ext_26m>, - <&ext_26m>; - #pwm-cells = <2>; - }; +Spreadtrum PWM controller + +Spreadtrum SoCs PWM controller provides 4 PWM channels. + +Required properties: +- compatible : Should be "sprd,ums512-pwm". +- reg: Physical base address and length of the controller's registers. +- clocks: The phandle and specifier referencing the controller's clocks. +- clock-names: Should contain following entries: + "pwmn": used to derive the functional clock for PWM channel n (n range: 0 ~ 3). + "enablen": for PWM channel n enable clock (n range: 0 ~ 3). +- #pwm-cells: Should be 2. See pwm.yaml in this directory for a description of + the cells format. + +Optional properties: +- assigned-clocks: Reference to the PWM clock entries. +- assigned-clock-parents: The phandle of the parent clock of PWM clock. + +Example: + pwms: pwm@32260000 { + compatible = "sprd,ums512-pwm"; + reg = <0 0x32260000 0 0x10000>; + clock-names = "pwm0", "enable0", + "pwm1", "enable1", + "pwm2", "enable2", + "pwm3", "enable3"; + clocks = <&aon_clk CLK_PWM0>, <&aonapb_gate CLK_PWM0_EB>, + <&aon_clk CLK_PWM1>, <&aonapb_gate CLK_PWM1_EB>, + <&aon_clk CLK_PWM2>, <&aonapb_gate CLK_PWM2_EB>, + <&aon_clk CLK_PWM3>, <&aonapb_gate CLK_PWM3_EB>; + assigned-clocks = <&aon_clk CLK_PWM0>, + <&aon_clk CLK_PWM1>, + <&aon_clk CLK_PWM2>, + <&aon_clk CLK_PWM3>; + assigned-clock-parents = <&ext_26m>, + <&ext_26m>, + <&ext_26m>, + <&ext_26m>; + #pwm-cells = <2>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/pwm-st.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/pwm-st.txt index b314852795..19fce774ca 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/pwm-st.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/pwm-st.txt @@ -1,43 +1,43 @@ -STMicroelectronics PWM driver bindings --------------------------------------- - -Required parameters: -- compatible : "st,pwm" -- #pwm-cells : Number of cells used to specify a PWM. First cell - specifies the per-chip index of the PWM to use and the - second cell is the period in nanoseconds - fixed to 2 - for STiH41x. -- reg : Physical base address and length of the controller's - registers. -- pinctrl-names: Set to "default". -- pinctrl-0: List of phandles pointing to pin configuration nodes - for PWM module. - For Pinctrl properties, please refer to [1]. -- clock-names: Valid entries are "pwm" and/or "capture". -- clocks: phandle of the clock used by the PWM module. - For Clk properties, please refer to [2]. -- interrupts: IRQ for the Capture device - -Optional properties: -- st,pwm-num-chan: Number of available PWM channels. Default is 0. -- st,capture-num-chan: Number of available Capture channels. Default is 0. - -[1] Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt -[2] Documentation/devicetree/bindings/clock/clock-bindings.txt - -Example: - -pwm1: pwm@fe510000 { - compatible = "st,pwm"; - reg = <0xfe510000 0x68>; - #pwm-cells = <2>; - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_pwm1_chan0_default - &pinctrl_pwm1_chan1_default - &pinctrl_pwm1_chan2_default - &pinctrl_pwm1_chan3_default>; - clocks = <&clk_sysin>; - clock-names = "pwm"; - st,pwm-num-chan = <4>; - st,capture-num-chan = <2>; -}; +STMicroelectronics PWM driver bindings +-------------------------------------- + +Required parameters: +- compatible : "st,pwm" +- #pwm-cells : Number of cells used to specify a PWM. First cell + specifies the per-chip index of the PWM to use and the + second cell is the period in nanoseconds - fixed to 2 + for STiH41x. +- reg : Physical base address and length of the controller's + registers. +- pinctrl-names: Set to "default". +- pinctrl-0: List of phandles pointing to pin configuration nodes + for PWM module. + For Pinctrl properties, please refer to [1]. +- clock-names: Valid entries are "pwm" and/or "capture". +- clocks: phandle of the clock used by the PWM module. + For Clk properties, please refer to [2]. +- interrupts: IRQ for the Capture device + +Optional properties: +- st,pwm-num-chan: Number of available PWM channels. Default is 0. +- st,capture-num-chan: Number of available Capture channels. Default is 0. + +[1] Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt +[2] Documentation/devicetree/bindings/clock/clock-bindings.txt + +Example: + +pwm1: pwm@fe510000 { + compatible = "st,pwm"; + reg = <0xfe510000 0x68>; + #pwm-cells = <2>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_pwm1_chan0_default + &pinctrl_pwm1_chan1_default + &pinctrl_pwm1_chan2_default + &pinctrl_pwm1_chan3_default>; + clocks = <&clk_sysin>; + clock-names = "pwm"; + st,pwm-num-chan = <4>; + st,capture-num-chan = <2>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/snps,dw-apb-timers-pwm2.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/snps,dw-apb-timers-pwm2.yaml index e33ac5f851..7523a89a17 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/snps,dw-apb-timers-pwm2.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/snps,dw-apb-timers-pwm2.yaml @@ -1,67 +1,67 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -# Copyright (C) 2022 SiFive, Inc. -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/pwm/snps,dw-apb-timers-pwm2.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Synopsys DW-APB timers PWM controller - -maintainers: - - Ben Dooks - -description: - This describes the DesignWare APB timers module when used in the PWM - mode. The IP core can be generated with various options which can - control the functionality, the number of PWMs available and other - internal controls the designer requires. - - The IP block has a version register so this can be used for detection - instead of having to encode the IP version number in the device tree - compatible. - -allOf: - - $ref: pwm.yaml# - -properties: - compatible: - const: snps,dw-apb-timers-pwm2 - - reg: - maxItems: 1 - - "#pwm-cells": - const: 3 - - clocks: - items: - - description: Interface bus clock - - description: PWM reference clock - - clock-names: - items: - - const: bus - - const: timer - - snps,pwm-number: - $ref: /schemas/types.yaml#/definitions/uint32 - description: The number of PWM channels configured for this instance - enum: [1, 2, 3, 4, 5, 6, 7, 8] - -required: - - compatible - - reg - - clocks - - clock-names - -additionalProperties: false - -examples: - - | - pwm: pwm@180000 { - compatible = "snps,dw-apb-timers-pwm2"; - reg = <0x180000 0x200>; - #pwm-cells = <3>; - clocks = <&bus>, <&timer>; - clock-names = "bus", "timer"; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +# Copyright (C) 2022 SiFive, Inc. +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/pwm/snps,dw-apb-timers-pwm2.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Synopsys DW-APB timers PWM controller + +maintainers: + - Ben Dooks + +description: + This describes the DesignWare APB timers module when used in the PWM + mode. The IP core can be generated with various options which can + control the functionality, the number of PWMs available and other + internal controls the designer requires. + + The IP block has a version register so this can be used for detection + instead of having to encode the IP version number in the device tree + compatible. + +allOf: + - $ref: pwm.yaml# + +properties: + compatible: + const: snps,dw-apb-timers-pwm2 + + reg: + maxItems: 1 + + "#pwm-cells": + const: 3 + + clocks: + items: + - description: Interface bus clock + - description: PWM reference clock + + clock-names: + items: + - const: bus + - const: timer + + snps,pwm-number: + $ref: /schemas/types.yaml#/definitions/uint32 + description: The number of PWM channels configured for this instance + enum: [1, 2, 3, 4, 5, 6, 7, 8] + +required: + - compatible + - reg + - clocks + - clock-names + +additionalProperties: false + +examples: + - | + pwm: pwm@180000 { + compatible = "snps,dw-apb-timers-pwm2"; + reg = <0x180000 0x200>; + #pwm-cells = <3>; + clocks = <&bus>, <&timer>; + clock-names = "bus", "timer"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/ti,omap-dmtimer-pwm.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/ti,omap-dmtimer-pwm.yaml index 4f5e86a544..1e8e094aad 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/ti,omap-dmtimer-pwm.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/ti,omap-dmtimer-pwm.yaml @@ -1,59 +1,59 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/pwm/ti,omap-dmtimer-pwm.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: TI dual mode timer PWM controller - -maintainers: - - Tony Lindgren - -description: - TI dual mode timer instances have an IO pin for PWM capability - -allOf: - - $ref: pwm.yaml# - -properties: - compatible: - const: ti,omap-dmtimer-pwm - - "#pwm-cells": - const: 3 - - ti,timers: - description: Timer instance phandle for the PWM - $ref: /schemas/types.yaml#/definitions/phandle - - ti,prescaler: - description: | - Legacy clock prescaler for timer. The timer counter is prescaled - with 2^n where n is the prescaler. - $ref: /schemas/types.yaml#/definitions/uint32 - enum: [ 0, 1, 2, 3, 4, 5, 6, 7 ] - deprecated: true - - ti,clock-source: - description: | - Legacy clock for timer, please use assigned-clocks instead. - 0x00 - high-frequency system clock (timer_sys_ck) - 0x01 - 32-kHz always-on clock (timer_32k_ck) - 0x02 - external clock (timer_ext_ck, OMAP2 only) - $ref: /schemas/types.yaml#/definitions/uint32 - enum: [ 0, 1, 2 ] - deprecated: true - -required: - - compatible - - ti,timers - -unevaluatedProperties: false - -examples: - - | - pwm9: pwm { - compatible = "ti,omap-dmtimer-pwm"; - ti,timers = <&timer9>; - #pwm-cells = <3>; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/pwm/ti,omap-dmtimer-pwm.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: TI dual mode timer PWM controller + +maintainers: + - Tony Lindgren + +description: + TI dual mode timer instances have an IO pin for PWM capability + +allOf: + - $ref: pwm.yaml# + +properties: + compatible: + const: ti,omap-dmtimer-pwm + + "#pwm-cells": + const: 3 + + ti,timers: + description: Timer instance phandle for the PWM + $ref: /schemas/types.yaml#/definitions/phandle + + ti,prescaler: + description: | + Legacy clock prescaler for timer. The timer counter is prescaled + with 2^n where n is the prescaler. + $ref: /schemas/types.yaml#/definitions/uint32 + enum: [ 0, 1, 2, 3, 4, 5, 6, 7 ] + deprecated: true + + ti,clock-source: + description: | + Legacy clock for timer, please use assigned-clocks instead. + 0x00 - high-frequency system clock (timer_sys_ck) + 0x01 - 32-kHz always-on clock (timer_32k_ck) + 0x02 - external clock (timer_ext_ck, OMAP2 only) + $ref: /schemas/types.yaml#/definitions/uint32 + enum: [ 0, 1, 2 ] + deprecated: true + +required: + - compatible + - ti,timers + +unevaluatedProperties: false + +examples: + - | + pwm9: pwm { + compatible = "ti,omap-dmtimer-pwm"; + ti,timers = <&timer9>; + #pwm-cells = <3>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/awinic,aw37503.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/awinic,aw37503.yaml index c9b2d30eae..c92a881ed6 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/awinic,aw37503.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/awinic,aw37503.yaml @@ -1,78 +1,78 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/regulator/awinic,aw37503.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Awinic AW37503 Voltage Regulator - -maintainers: - - Alec Li - -description: - The AW37503 are dual voltage regulator, designed to support positive/negative - supply for driving TFT-LCD panels. It support software-configurable output - switching and monitoring. The output voltages can be programmed via an I2C - compatible interface. - -properties: - compatible: - const: awinic,aw37503 - - reg: - maxItems: 1 - -patternProperties: - "^out[pn]$": - type: object - $ref: regulator.yaml# - unevaluatedProperties: false - description: - Properties for single regulator. - - properties: - enable-gpios: - maxItems: 1 - description: - GPIO specifier to enable the GPIO control (on/off) for regulator. - - required: - - regulator-name - -required: - - compatible - - reg - - outp - - outn - -additionalProperties: false - -examples: - - | - #include - - i2c { - #address-cells = <1>; - #size-cells = <0>; - - regulator@3e { - compatible = "awinic,aw37503"; - reg = <0x3e>; - - outp { - regulator-name = "outp"; - regulator-boot-on; - regulator-always-on; - enable-gpios = <&gpio 17 GPIO_ACTIVE_LOW>; - }; - - outn { - regulator-name = "outn"; - regulator-boot-on; - regulator-always-on; - enable-gpios = <&gpio 27 GPIO_ACTIVE_LOW>; - }; - }; - }; -... - +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/regulator/awinic,aw37503.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Awinic AW37503 Voltage Regulator + +maintainers: + - Alec Li + +description: + The AW37503 are dual voltage regulator, designed to support positive/negative + supply for driving TFT-LCD panels. It support software-configurable output + switching and monitoring. The output voltages can be programmed via an I2C + compatible interface. + +properties: + compatible: + const: awinic,aw37503 + + reg: + maxItems: 1 + +patternProperties: + "^out[pn]$": + type: object + $ref: regulator.yaml# + unevaluatedProperties: false + description: + Properties for single regulator. + + properties: + enable-gpios: + maxItems: 1 + description: + GPIO specifier to enable the GPIO control (on/off) for regulator. + + required: + - regulator-name + +required: + - compatible + - reg + - outp + - outn + +additionalProperties: false + +examples: + - | + #include + + i2c { + #address-cells = <1>; + #size-cells = <0>; + + regulator@3e { + compatible = "awinic,aw37503"; + reg = <0x3e>; + + outp { + regulator-name = "outp"; + regulator-boot-on; + regulator-always-on; + enable-gpios = <&gpio 17 GPIO_ACTIVE_LOW>; + }; + + outn { + regulator-name = "outn"; + regulator-boot-on; + regulator-always-on; + enable-gpios = <&gpio 27 GPIO_ACTIVE_LOW>; + }; + }; + }; +... + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/fcs,fan53555.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/fcs,fan53555.yaml index 8520166b2b..69bae90fc4 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/fcs,fan53555.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/fcs,fan53555.yaml @@ -1,73 +1,73 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/regulator/fcs,fan53555.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Fairchild FAN53555 regulators - -maintainers: - - Heiko Stuebner - -allOf: - - $ref: regulator.yaml# - -properties: - compatible: - oneOf: - - enum: - - fcs,fan53555 - - fcs,fan53526 - - rockchip,rk8600 - - rockchip,rk8602 - - silergy,syr827 - - silergy,syr828 - - tcs,tcs4525 - - items: - - const: rockchip,rk8601 - - const: rockchip,rk8600 - - items: - - const: rockchip,rk8603 - - const: rockchip,rk8602 - - reg: - maxItems: 1 - - fcs,suspend-voltage-selector: - description: Declares which of the two available voltage selector - registers should be used for the suspend voltage. The other one is used - for the runtime voltage setting. - $ref: /schemas/types.yaml#/definitions/uint32 - enum: [ 0, 1 ] - - vin-supply: - description: Supply for the vin pin - - vsel-gpios: - description: Voltage Select. When this pin is LOW, VOUT is set by the - VSEL0 register. When this pin is HIGH, VOUT is set by the VSEL1 register. - maxItems: 1 - -required: - - compatible - - reg - -unevaluatedProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - regulator@40 { - compatible = "fcs,fan53555"; - reg = <0x40>; - regulator-name = "fan53555"; - regulator-min-microvolt = <1000000>; - regulator-max-microvolt = <1800000>; - vin-supply = <&parent_reg>; - fcs,suspend-voltage-selector = <1>; - }; - }; -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/regulator/fcs,fan53555.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Fairchild FAN53555 regulators + +maintainers: + - Heiko Stuebner + +allOf: + - $ref: regulator.yaml# + +properties: + compatible: + oneOf: + - enum: + - fcs,fan53555 + - fcs,fan53526 + - rockchip,rk8600 + - rockchip,rk8602 + - silergy,syr827 + - silergy,syr828 + - tcs,tcs4525 + - items: + - const: rockchip,rk8601 + - const: rockchip,rk8600 + - items: + - const: rockchip,rk8603 + - const: rockchip,rk8602 + + reg: + maxItems: 1 + + fcs,suspend-voltage-selector: + description: Declares which of the two available voltage selector + registers should be used for the suspend voltage. The other one is used + for the runtime voltage setting. + $ref: /schemas/types.yaml#/definitions/uint32 + enum: [ 0, 1 ] + + vin-supply: + description: Supply for the vin pin + + vsel-gpios: + description: Voltage Select. When this pin is LOW, VOUT is set by the + VSEL0 register. When this pin is HIGH, VOUT is set by the VSEL1 register. + maxItems: 1 + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + regulator@40 { + compatible = "fcs,fan53555"; + reg = <0x40>; + regulator-name = "fan53555"; + regulator-min-microvolt = <1000000>; + regulator-max-microvolt = <1800000>; + vin-supply = <&parent_reg>; + fcs,suspend-voltage-selector = <1>; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/max8660.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/max8660.yaml index ebd952befd..f05f4644c8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/max8660.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/max8660.yaml @@ -1,73 +1,73 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/regulator/max8660.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Maxim MAX8660 voltage regulator - -maintainers: - - Daniel Mack - -properties: - $nodename: - pattern: "pmic@[0-9a-f]{1,2}" - compatible: - enum: - - maxim,max8660 - - maxim,max8661 - - reg: - maxItems: 1 - - regulators: - type: object - - patternProperties: - "^regulator-.+$": - $ref: regulator.yaml# - unevaluatedProperties: false - - additionalProperties: false - -additionalProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - pmic@34 { - compatible = "maxim,max8660"; - reg = <0x34>; - - regulators { - regulator-V3 { - regulator-min-microvolt = <725000>; - regulator-max-microvolt = <1800000>; - }; - - regulator-V4 { - regulator-min-microvolt = <725000>; - regulator-max-microvolt = <1800000>; - }; - - regulator-V5 { - regulator-min-microvolt = <1700000>; - regulator-max-microvolt = <2000000>; - }; - - regulator-V6 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <3300000>; - }; - - regulator-V7 { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <3300000>; - }; - }; - }; - }; -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/regulator/max8660.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Maxim MAX8660 voltage regulator + +maintainers: + - Daniel Mack + +properties: + $nodename: + pattern: "pmic@[0-9a-f]{1,2}" + compatible: + enum: + - maxim,max8660 + - maxim,max8661 + + reg: + maxItems: 1 + + regulators: + type: object + + patternProperties: + "^regulator-.+$": + $ref: regulator.yaml# + unevaluatedProperties: false + + additionalProperties: false + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + pmic@34 { + compatible = "maxim,max8660"; + reg = <0x34>; + + regulators { + regulator-V3 { + regulator-min-microvolt = <725000>; + regulator-max-microvolt = <1800000>; + }; + + regulator-V4 { + regulator-min-microvolt = <725000>; + regulator-max-microvolt = <1800000>; + }; + + regulator-V5 { + regulator-min-microvolt = <1700000>; + regulator-max-microvolt = <2000000>; + }; + + regulator-V6 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3300000>; + }; + + regulator-V7 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3300000>; + }; + }; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/maxim,max14577.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/maxim,max14577.yaml index a32ac91b94..285dc71229 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/maxim,max14577.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/maxim,max14577.yaml @@ -1,78 +1,78 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/regulator/maxim,max14577.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Maxim MAX14577/MAX77836 MicroUSB and Companion Power Management IC regulators - -maintainers: - - Krzysztof Kozlowski - -description: | - This is a part of device tree bindings for Maxim MAX14577/MAX77836 MicroUSB - Integrated Circuit (MUIC). - - See also Documentation/devicetree/bindings/mfd/maxim,max14577.yaml for - additional information and example. - -properties: - compatible: - enum: - - maxim,max14577-regulator - - maxim,max77836-regulator - - CHARGER: - type: object - $ref: regulator.yaml# - unevaluatedProperties: false - description: | - Current regulator. - - properties: - regulator-min-microvolt: false - regulator-max-microvolt: false - - SAFEOUT: - type: object - $ref: regulator.yaml# - unevaluatedProperties: false - description: | - Safeout LDO regulator (fixed voltage). - - properties: - regulator-min-microamp: false - regulator-max-microamp: false - regulator-min-microvolt: - const: 4900000 - regulator-max-microvolt: - const: 4900000 - -patternProperties: - "^LDO[12]$": - type: object - $ref: regulator.yaml# - unevaluatedProperties: false - description: | - Current regulator. - - properties: - regulator-min-microamp: false - regulator-max-microamp: false - regulator-min-microvolt: - minimum: 800000 - regulator-max-microvolt: - maximum: 3950000 - -allOf: - - if: - properties: - compatible: - contains: - const: maxim,max14577-regulator - then: - properties: - LDO1: false - LDO2: false - -additionalProperties: false +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/regulator/maxim,max14577.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Maxim MAX14577/MAX77836 MicroUSB and Companion Power Management IC regulators + +maintainers: + - Krzysztof Kozlowski + +description: | + This is a part of device tree bindings for Maxim MAX14577/MAX77836 MicroUSB + Integrated Circuit (MUIC). + + See also Documentation/devicetree/bindings/mfd/maxim,max14577.yaml for + additional information and example. + +properties: + compatible: + enum: + - maxim,max14577-regulator + - maxim,max77836-regulator + + CHARGER: + type: object + $ref: regulator.yaml# + unevaluatedProperties: false + description: | + Current regulator. + + properties: + regulator-min-microvolt: false + regulator-max-microvolt: false + + SAFEOUT: + type: object + $ref: regulator.yaml# + unevaluatedProperties: false + description: | + Safeout LDO regulator (fixed voltage). + + properties: + regulator-min-microamp: false + regulator-max-microamp: false + regulator-min-microvolt: + const: 4900000 + regulator-max-microvolt: + const: 4900000 + +patternProperties: + "^LDO[12]$": + type: object + $ref: regulator.yaml# + unevaluatedProperties: false + description: | + Current regulator. + + properties: + regulator-min-microamp: false + regulator-max-microamp: false + regulator-min-microvolt: + minimum: 800000 + regulator-max-microvolt: + maximum: 3950000 + +allOf: + - if: + properties: + compatible: + contains: + const: maxim,max14577-regulator + then: + properties: + LDO1: false + LDO2: false + +additionalProperties: false diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/maxim,max77693.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/maxim,max77693.yaml index cac374bb17..945a539749 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/maxim,max77693.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/maxim,max77693.yaml @@ -1,60 +1,60 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/regulator/maxim,max77693.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Maxim MAX77693 MicroUSB and Companion Power Management IC regulators - -maintainers: - - Chanwoo Choi - - Krzysztof Kozlowski - -description: | - This is a part of device tree bindings for Maxim MAX77693 MicroUSB Integrated - Circuit (MUIC). - - See also Documentation/devicetree/bindings/mfd/maxim,max77693.yaml for - additional information and example. - -properties: - CHARGER: - type: object - $ref: regulator.yaml# - additionalProperties: false - description: | - Current regulator. - - properties: - regulator-name: true - regulator-always-on: true - regulator-boot-on: true - regulator-min-microamp: - minimum: 60000 - regulator-max-microamp: - maximum: 2580000 - - required: - - regulator-name - -patternProperties: - "^ESAFEOUT[12]$": - type: object - $ref: regulator.yaml# - additionalProperties: false - description: | - Safeout LDO regulator. - - properties: - regulator-name: true - regulator-always-on: true - regulator-boot-on: true - regulator-min-microvolt: - minimum: 3300000 - regulator-max-microvolt: - maximum: 4950000 - - required: - - regulator-name - -additionalProperties: false +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/regulator/maxim,max77693.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Maxim MAX77693 MicroUSB and Companion Power Management IC regulators + +maintainers: + - Chanwoo Choi + - Krzysztof Kozlowski + +description: | + This is a part of device tree bindings for Maxim MAX77693 MicroUSB Integrated + Circuit (MUIC). + + See also Documentation/devicetree/bindings/mfd/maxim,max77693.yaml for + additional information and example. + +properties: + CHARGER: + type: object + $ref: regulator.yaml# + additionalProperties: false + description: | + Current regulator. + + properties: + regulator-name: true + regulator-always-on: true + regulator-boot-on: true + regulator-min-microamp: + minimum: 60000 + regulator-max-microamp: + maximum: 2580000 + + required: + - regulator-name + +patternProperties: + "^ESAFEOUT[12]$": + type: object + $ref: regulator.yaml# + additionalProperties: false + description: | + Safeout LDO regulator. + + properties: + regulator-name: true + regulator-always-on: true + regulator-boot-on: true + regulator-min-microvolt: + minimum: 3300000 + regulator-max-microvolt: + maximum: 4950000 + + required: + - regulator-name + +additionalProperties: false diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/maxim,max77826.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/maxim,max77826.yaml index 774ea894dc..6d6bbfbd26 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/maxim,max77826.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/maxim,max77826.yaml @@ -1,67 +1,67 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/regulator/maxim,max77826.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Maxim Integrated MAX77826 PMIC - -maintainers: - - Iskren Chernev - -properties: - $nodename: - pattern: "pmic@[0-9a-f]{1,2}" - compatible: - enum: - - maxim,max77826 - - reg: - maxItems: 1 - - regulators: - type: object - $ref: regulator.yaml# - description: | - list of regulators provided by this controller, must be named - after their hardware counterparts LDO[1-15], BUCK and BUCKBOOST - - patternProperties: - "^LDO([1-9]|1[0-5])$": - type: object - $ref: regulator.yaml# - unevaluatedProperties: false - - "^BUCK|BUCKBOOST$": - type: object - $ref: regulator.yaml# - unevaluatedProperties: false - - additionalProperties: false - -required: - - compatible - - reg - - regulators - -additionalProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - pmic@69 { - compatible = "maxim,max77826"; - reg = <0x69>; - - regulators { - LDO2 { - regulator-min-microvolt = <650000>; - regulator-max-microvolt = <3587500>; - }; - }; - }; - }; -... +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/regulator/maxim,max77826.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Maxim Integrated MAX77826 PMIC + +maintainers: + - Iskren Chernev + +properties: + $nodename: + pattern: "pmic@[0-9a-f]{1,2}" + compatible: + enum: + - maxim,max77826 + + reg: + maxItems: 1 + + regulators: + type: object + $ref: regulator.yaml# + description: | + list of regulators provided by this controller, must be named + after their hardware counterparts LDO[1-15], BUCK and BUCKBOOST + + patternProperties: + "^LDO([1-9]|1[0-5])$": + type: object + $ref: regulator.yaml# + unevaluatedProperties: false + + "^BUCK|BUCKBOOST$": + type: object + $ref: regulator.yaml# + unevaluatedProperties: false + + additionalProperties: false + +required: + - compatible + - reg + - regulators + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + pmic@69 { + compatible = "maxim,max77826"; + reg = <0x69>; + + regulators { + LDO2 { + regulator-min-microvolt = <650000>; + regulator-max-microvolt = <3587500>; + }; + }; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/maxim,max77843.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/maxim,max77843.yaml index e57b536329..9695e72428 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/maxim,max77843.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/maxim,max77843.yaml @@ -1,65 +1,65 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/regulator/maxim,max77843.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Maxim MAX77843 MicroUSB and Companion Power Management IC regulators - -maintainers: - - Krzysztof Kozlowski - -description: | - This is a part of device tree bindings for Maxim MAX77843 MicroUSB Integrated - Circuit (MUIC). - - See also Documentation/devicetree/bindings/mfd/maxim,max77843.yaml for - additional information and example. - -properties: - compatible: - const: maxim,max77843-regulator - - CHARGER: - type: object - $ref: regulator.yaml# - additionalProperties: false - description: | - Current regulator. - - properties: - regulator-name: true - regulator-always-on: true - regulator-boot-on: true - regulator-min-microamp: - minimum: 100000 - regulator-max-microamp: - maximum: 3150000 - - required: - - regulator-name - -patternProperties: - "^SAFEOUT[12]$": - type: object - $ref: regulator.yaml# - additionalProperties: false - description: | - Safeout LDO regulator. - - properties: - regulator-name: true - regulator-always-on: true - regulator-boot-on: true - regulator-min-microvolt: - minimum: 3300000 - regulator-max-microvolt: - maximum: 4950000 - - required: - - regulator-name - -required: - - compatible - -additionalProperties: false +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/regulator/maxim,max77843.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Maxim MAX77843 MicroUSB and Companion Power Management IC regulators + +maintainers: + - Krzysztof Kozlowski + +description: | + This is a part of device tree bindings for Maxim MAX77843 MicroUSB Integrated + Circuit (MUIC). + + See also Documentation/devicetree/bindings/mfd/maxim,max77843.yaml for + additional information and example. + +properties: + compatible: + const: maxim,max77843-regulator + + CHARGER: + type: object + $ref: regulator.yaml# + additionalProperties: false + description: | + Current regulator. + + properties: + regulator-name: true + regulator-always-on: true + regulator-boot-on: true + regulator-min-microamp: + minimum: 100000 + regulator-max-microamp: + maximum: 3150000 + + required: + - regulator-name + +patternProperties: + "^SAFEOUT[12]$": + type: object + $ref: regulator.yaml# + additionalProperties: false + description: | + Safeout LDO regulator. + + properties: + regulator-name: true + regulator-always-on: true + regulator-boot-on: true + regulator-min-microvolt: + minimum: 3300000 + regulator-max-microvolt: + maximum: 4950000 + + required: + - regulator-name + +required: + - compatible + +additionalProperties: false diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/mps,mp5416.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/mps,mp5416.yaml index a3b7457497..f825ee9efd 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/mps,mp5416.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/mps,mp5416.yaml @@ -1,78 +1,78 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/regulator/mps,mp5416.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Monolithic Power System MP5416 PMIC - -maintainers: - - Saravanan Sekar - -properties: - $nodename: - pattern: "^pmic@[0-9a-f]{1,2}$" - compatible: - enum: - - mps,mp5416 - - mps,mp5496 - - reg: - maxItems: 1 - - regulators: - type: object - description: | - list of regulators provided by this controller, must be named - after their hardware counterparts BUCK[1-4] and LDO[1-4] - - patternProperties: - "^buck[1-4]$": - $ref: regulator.yaml# - unevaluatedProperties: false - type: object - - "^ldo[1-4]$": - $ref: regulator.yaml# - unevaluatedProperties: false - type: object - - additionalProperties: false - -required: - - compatible - - reg - - regulators - -additionalProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - pmic@69 { - compatible = "mps,mp5416"; - reg = <0x69>; - - regulators { - - buck1 { - regulator-name = "buck1"; - regulator-min-microvolt = <600000>; - regulator-max-microvolt = <2187500>; - regulator-min-microamp = <3800000>; - regulator-max-microamp = <6800000>; - regulator-boot-on; - }; - - ldo2 { - regulator-name = "ldo2"; - regulator-min-microvolt = <800000>; - regulator-max-microvolt = <3975000>; - }; - }; - }; - }; -... +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/regulator/mps,mp5416.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Monolithic Power System MP5416 PMIC + +maintainers: + - Saravanan Sekar + +properties: + $nodename: + pattern: "^pmic@[0-9a-f]{1,2}$" + compatible: + enum: + - mps,mp5416 + - mps,mp5496 + + reg: + maxItems: 1 + + regulators: + type: object + description: | + list of regulators provided by this controller, must be named + after their hardware counterparts BUCK[1-4] and LDO[1-4] + + patternProperties: + "^buck[1-4]$": + $ref: regulator.yaml# + unevaluatedProperties: false + type: object + + "^ldo[1-4]$": + $ref: regulator.yaml# + unevaluatedProperties: false + type: object + + additionalProperties: false + +required: + - compatible + - reg + - regulators + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + pmic@69 { + compatible = "mps,mp5416"; + reg = <0x69>; + + regulators { + + buck1 { + regulator-name = "buck1"; + regulator-min-microvolt = <600000>; + regulator-max-microvolt = <2187500>; + regulator-min-microamp = <3800000>; + regulator-max-microamp = <6800000>; + regulator-boot-on; + }; + + ldo2 { + regulator-name = "ldo2"; + regulator-min-microvolt = <800000>; + regulator-max-microvolt = <3975000>; + }; + }; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/mps,mp886x.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/mps,mp886x.yaml index 23c8020115..374a4f6b1e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/mps,mp886x.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/mps,mp886x.yaml @@ -1,63 +1,63 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/regulator/mps,mp886x.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Monolithic Power Systems MP8867/MP8869 voltage regulator - -maintainers: - - Jisheng Zhang - -allOf: - - $ref: regulator.yaml# - -properties: - compatible: - enum: - - mps,mp8867 - - mps,mp8869 - - reg: - maxItems: 1 - - enable-gpios: - description: GPIO to enable/disable the regulator. - maxItems: 1 - - mps,fb-voltage-divider: - description: An array of two integers containing the resistor - values R1 and R2 of the feedback voltage divider in kilo ohms. - $ref: /schemas/types.yaml#/definitions/uint32-array - maxItems: 2 - - mps,switch-frequency-hz: - description: The valid switch frequency in Hertz. - enum: [500000, 750000, 1000000, 1250000, 1500000] - -required: - - compatible - - reg - - enable-gpios - - mps,fb-voltage-divider - -unevaluatedProperties: false - -examples: - - | - #include - i2c { - #address-cells = <1>; - #size-cells = <0>; - regulator@62 { - compatible = "mps,mp8869"; - regulator-name = "vcpu"; - regulator-min-microvolt = <800000>; - regulator-max-microvolt = <1150000>; - enable-gpios = <&porta 1 GPIO_ACTIVE_LOW>; - mps,fb-voltage-divider = <80 240>; - reg = <0x62>; - }; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/regulator/mps,mp886x.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Monolithic Power Systems MP8867/MP8869 voltage regulator + +maintainers: + - Jisheng Zhang + +allOf: + - $ref: regulator.yaml# + +properties: + compatible: + enum: + - mps,mp8867 + - mps,mp8869 + + reg: + maxItems: 1 + + enable-gpios: + description: GPIO to enable/disable the regulator. + maxItems: 1 + + mps,fb-voltage-divider: + description: An array of two integers containing the resistor + values R1 and R2 of the feedback voltage divider in kilo ohms. + $ref: /schemas/types.yaml#/definitions/uint32-array + maxItems: 2 + + mps,switch-frequency-hz: + description: The valid switch frequency in Hertz. + enum: [500000, 750000, 1000000, 1250000, 1500000] + +required: + - compatible + - reg + - enable-gpios + - mps,fb-voltage-divider + +unevaluatedProperties: false + +examples: + - | + #include + i2c { + #address-cells = <1>; + #size-cells = <0>; + regulator@62 { + compatible = "mps,mp8869"; + regulator-name = "vcpu"; + regulator-min-microvolt = <800000>; + regulator-max-microvolt = <1150000>; + enable-gpios = <&porta 1 GPIO_ACTIVE_LOW>; + mps,fb-voltage-divider = <80 240>; + reg = <0x62>; + }; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/mps,mpq7932.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/mps,mpq7932.yaml index a5f6d6babe..2185cd011c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/mps,mpq7932.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/mps,mpq7932.yaml @@ -1,68 +1,68 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/regulator/mps,mpq7932.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Monolithic Power System MPQ7932 PMIC - -maintainers: - - Saravanan Sekar - -properties: - compatible: - enum: - - mps,mpq7932 - - reg: - maxItems: 1 - - regulators: - type: object - description: | - list of regulators provided by this controller, must be named - after their hardware counterparts BUCK[1-6] - - patternProperties: - "^buck[1-6]$": - type: object - $ref: regulator.yaml# - unevaluatedProperties: false - - additionalProperties: false - -required: - - compatible - - reg - - regulators - -additionalProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - pmic@3 { - compatible = "mps,mpq7932"; - reg = <0x3>; - - regulators { - buck1 { - regulator-name = "buck1"; - regulator-min-microvolt = <1600000>; - regulator-max-microvolt = <1800000>; - regulator-boot-on; - }; - - buck2 { - regulator-name = "buck2"; - regulator-min-microvolt = <1700000>; - regulator-max-microvolt = <1800000>; - regulator-boot-on; - }; - }; - }; - }; -... +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/regulator/mps,mpq7932.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Monolithic Power System MPQ7932 PMIC + +maintainers: + - Saravanan Sekar + +properties: + compatible: + enum: + - mps,mpq7932 + + reg: + maxItems: 1 + + regulators: + type: object + description: | + list of regulators provided by this controller, must be named + after their hardware counterparts BUCK[1-6] + + patternProperties: + "^buck[1-6]$": + type: object + $ref: regulator.yaml# + unevaluatedProperties: false + + additionalProperties: false + +required: + - compatible + - reg + - regulators + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + pmic@3 { + compatible = "mps,mpq7932"; + reg = <0x3>; + + regulators { + buck1 { + regulator-name = "buck1"; + regulator-min-microvolt = <1600000>; + regulator-max-microvolt = <1800000>; + regulator-boot-on; + }; + + buck2 { + regulator-name = "buck2"; + regulator-min-microvolt = <1700000>; + regulator-max-microvolt = <1800000>; + regulator-boot-on; + }; + }; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/mt6315-regulator.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/mt6315-regulator.yaml index 5543f2dc8d..fa6743bb26 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/mt6315-regulator.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/mt6315-regulator.yaml @@ -1,68 +1,68 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/regulator/mt6315-regulator.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Mediatek MT6315 Regulator - -maintainers: - - Hsin-Hsiung Wang - -description: | - The MT6315 is a power management IC (PMIC) configurable with SPMI. - that contains 4 BUCKs output which can combine with each other - by different efuse settings. - -properties: - compatible: - oneOf: - - items: - - const: mediatek,mt6319-regulator - - const: mediatek,mt6315-regulator - - const: mediatek,mt6315-regulator - - reg: - maxItems: 1 - - regulators: - type: object - description: List of regulators and its properties - - patternProperties: - "^vbuck[1-4]$": - type: object - $ref: regulator.yaml# - unevaluatedProperties: false - - additionalProperties: false - -required: - - compatible - - reg - - regulators - -additionalProperties: false - -examples: - - | - pmic@6 { - compatible = "mediatek,mt6315-regulator"; - reg = <0x6 0>; - - regulators { - vbuck1 { - regulator-min-microvolt = <300000>; - regulator-max-microvolt = <1193750>; - regulator-enable-ramp-delay = <256>; - regulator-allowed-modes = <0 1 2>; - }; - - vbuck3 { - regulator-min-microvolt = <300000>; - regulator-max-microvolt = <1193750>; - regulator-enable-ramp-delay = <256>; - regulator-allowed-modes = <0 1 2>; - }; - }; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/regulator/mt6315-regulator.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Mediatek MT6315 Regulator + +maintainers: + - Hsin-Hsiung Wang + +description: | + The MT6315 is a power management IC (PMIC) configurable with SPMI. + that contains 4 BUCKs output which can combine with each other + by different efuse settings. + +properties: + compatible: + oneOf: + - items: + - const: mediatek,mt6319-regulator + - const: mediatek,mt6315-regulator + - const: mediatek,mt6315-regulator + + reg: + maxItems: 1 + + regulators: + type: object + description: List of regulators and its properties + + patternProperties: + "^vbuck[1-4]$": + type: object + $ref: regulator.yaml# + unevaluatedProperties: false + + additionalProperties: false + +required: + - compatible + - reg + - regulators + +additionalProperties: false + +examples: + - | + pmic@6 { + compatible = "mediatek,mt6315-regulator"; + reg = <0x6 0>; + + regulators { + vbuck1 { + regulator-min-microvolt = <300000>; + regulator-max-microvolt = <1193750>; + regulator-enable-ramp-delay = <256>; + regulator-allowed-modes = <0 1 2>; + }; + + vbuck3 { + regulator-min-microvolt = <300000>; + regulator-max-microvolt = <1193750>; + regulator-enable-ramp-delay = <256>; + regulator-allowed-modes = <0 1 2>; + }; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/pv88080.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/pv88080.txt index 8ac5722ff7..e6e4b9c82d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/pv88080.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/pv88080.txt @@ -1,62 +1,62 @@ -* Powerventure Semiconductor PV88080 Voltage Regulator - -Required properties: -- compatible: Must be one of the following, depending on the - silicon version: - - "pvs,pv88080" (DEPRECATED) - - - "pvs,pv88080-aa" for PV88080 AA or AB silicon - - "pvs,pv88080-ba" for PV88080 BA or BB silicon - NOTE: The use of the compatibles with no silicon version is deprecated. -- reg: I2C slave address, usually 0x49 -- interrupts: the interrupt outputs of the controller -- regulators: A node that houses a sub-node for each regulator within the - device. Each sub-node is identified using the node's name, with valid - values listed below. The content of each sub-node is defined by the - standard binding for regulators; see regulator.txt. - BUCK1, BUCK2, BUCK3 and HVBUCK. - -Optional properties: -- Any optional property defined in regulator.txt - -Example: - - pmic: pv88080@49 { - compatible = "pvs,pv88080-ba"; - reg = <0x49>; - interrupt-parent = <&gpio>; - interrupts = <24 24>; - - regulators { - BUCK1 { - regulator-name = "buck1"; - regulator-min-microvolt = < 600000>; - regulator-max-microvolt = <1393750>; - regulator-min-microamp = < 220000>; - regulator-max-microamp = <7040000>; - }; - - BUCK2 { - regulator-name = "buck2"; - regulator-min-microvolt = < 600000>; - regulator-max-microvolt = <1393750>; - regulator-min-microamp = <1496000>; - regulator-max-microamp = <4189000>; - }; - - BUCK3 { - regulator-name = "buck3"; - regulator-min-microvolt = <1400000>; - regulator-max-microvolt = <2193750>; - regulator-min-microamp = <1496000>; - regulator-max-microamp = <4189000>; - }; - - HVBUCK { - regulator-name = "hvbuck"; - regulator-min-microvolt = < 5000>; - regulator-max-microvolt = <1275000>; - }; - }; - }; - +* Powerventure Semiconductor PV88080 Voltage Regulator + +Required properties: +- compatible: Must be one of the following, depending on the + silicon version: + - "pvs,pv88080" (DEPRECATED) + + - "pvs,pv88080-aa" for PV88080 AA or AB silicon + - "pvs,pv88080-ba" for PV88080 BA or BB silicon + NOTE: The use of the compatibles with no silicon version is deprecated. +- reg: I2C slave address, usually 0x49 +- interrupts: the interrupt outputs of the controller +- regulators: A node that houses a sub-node for each regulator within the + device. Each sub-node is identified using the node's name, with valid + values listed below. The content of each sub-node is defined by the + standard binding for regulators; see regulator.txt. + BUCK1, BUCK2, BUCK3 and HVBUCK. + +Optional properties: +- Any optional property defined in regulator.txt + +Example: + + pmic: pv88080@49 { + compatible = "pvs,pv88080-ba"; + reg = <0x49>; + interrupt-parent = <&gpio>; + interrupts = <24 24>; + + regulators { + BUCK1 { + regulator-name = "buck1"; + regulator-min-microvolt = < 600000>; + regulator-max-microvolt = <1393750>; + regulator-min-microamp = < 220000>; + regulator-max-microamp = <7040000>; + }; + + BUCK2 { + regulator-name = "buck2"; + regulator-min-microvolt = < 600000>; + regulator-max-microvolt = <1393750>; + regulator-min-microamp = <1496000>; + regulator-max-microamp = <4189000>; + }; + + BUCK3 { + regulator-name = "buck3"; + regulator-min-microvolt = <1400000>; + regulator-max-microvolt = <2193750>; + regulator-min-microamp = <1496000>; + regulator-max-microamp = <4189000>; + }; + + HVBUCK { + regulator-name = "hvbuck"; + regulator-min-microvolt = < 5000>; + regulator-max-microvolt = <1275000>; + }; + }; + }; + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/pv88090.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/pv88090.txt index 488cdb9e30..e52b2a95cd 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/pv88090.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/pv88090.txt @@ -1,65 +1,65 @@ -* Powerventure Semiconductor PV88090 Voltage Regulator - -Required properties: -- compatible: "pvs,pv88090". -- reg: I2C slave address, usually 0x48. -- interrupts: the interrupt outputs of the controller -- regulators: A node that houses a sub-node for each regulator within the - device. Each sub-node is identified using the node's name, with valid - values listed below. The content of each sub-node is defined by the - standard binding for regulators; see regulator.txt. - BUCK1, BUCK2, BUCK3, LDO1, and LDO2. - -Optional properties: -- Any optional property defined in regulator.txt - -Example - - pmic: pv88090@48 { - compatible = "pvs,pv88090"; - reg = <0x48>; - interrupt-parent = <&gpio>; - interrupts = <24 24>; - - regulators { - BUCK1 { - regulator-name = "buck1"; - regulator-min-microvolt = < 600000>; - regulator-max-microvolt = <1393750>; - regulator-min-microamp = < 220000>; - regulator-max-microamp = <7040000>; - regulator-boot-on; - }; - - BUCK2 { - regulator-name = "buck2"; - regulator-min-microvolt = < 600000>; - regulator-max-microvolt = <1393750>; - regulator-min-microamp = <1496000>; - regulator-max-microamp = <4189000>; - }; - - BUCK3 { - regulator-name = "buck3"; - regulator-min-microvolt = <600000>; - regulator-max-microvolt = <1393750>; - regulator-min-microamp = <1496000>; - regulator-max-microamp = <4189000>; - regulator-boot-on; - }; - - LDO1 { - regulator-name = "ldo1"; - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <4350000>; - regulator-boot-on; - }; - - LDO2 { - regulator-name = "ldo2"; - regulator-min-microvolt = < 650000>; - regulator-max-microvolt = <2225000>; - regulator-boot-on; - }; - }; - }; +* Powerventure Semiconductor PV88090 Voltage Regulator + +Required properties: +- compatible: "pvs,pv88090". +- reg: I2C slave address, usually 0x48. +- interrupts: the interrupt outputs of the controller +- regulators: A node that houses a sub-node for each regulator within the + device. Each sub-node is identified using the node's name, with valid + values listed below. The content of each sub-node is defined by the + standard binding for regulators; see regulator.txt. + BUCK1, BUCK2, BUCK3, LDO1, and LDO2. + +Optional properties: +- Any optional property defined in regulator.txt + +Example + + pmic: pv88090@48 { + compatible = "pvs,pv88090"; + reg = <0x48>; + interrupt-parent = <&gpio>; + interrupts = <24 24>; + + regulators { + BUCK1 { + regulator-name = "buck1"; + regulator-min-microvolt = < 600000>; + regulator-max-microvolt = <1393750>; + regulator-min-microamp = < 220000>; + regulator-max-microamp = <7040000>; + regulator-boot-on; + }; + + BUCK2 { + regulator-name = "buck2"; + regulator-min-microvolt = < 600000>; + regulator-max-microvolt = <1393750>; + regulator-min-microamp = <1496000>; + regulator-max-microamp = <4189000>; + }; + + BUCK3 { + regulator-name = "buck3"; + regulator-min-microvolt = <600000>; + regulator-max-microvolt = <1393750>; + regulator-min-microamp = <1496000>; + regulator-max-microamp = <4189000>; + regulator-boot-on; + }; + + LDO1 { + regulator-name = "ldo1"; + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <4350000>; + regulator-boot-on; + }; + + LDO2 { + regulator-name = "ldo2"; + regulator-min-microvolt = < 650000>; + regulator-max-microvolt = <2225000>; + regulator-boot-on; + }; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/qcom,sdm845-refgen-regulator.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/qcom,sdm845-refgen-regulator.yaml index c04a57a511..f02f97d4fd 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/qcom,sdm845-refgen-regulator.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/qcom,sdm845-refgen-regulator.yaml @@ -1,57 +1,57 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/regulator/qcom,sdm845-refgen-regulator.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm Technologies, Inc. REFGEN Regulator - -maintainers: - - Konrad Dybcio - -description: - The REFGEN (reference voltage generator) regulator provides reference - voltage for on-chip IPs (like PHYs) on some Qualcomm SoCs. - -allOf: - - $ref: regulator.yaml# - -properties: - compatible: - oneOf: - - items: - - enum: - - qcom,sc7180-refgen-regulator - - qcom,sc8180x-refgen-regulator - - qcom,sm8150-refgen-regulator - - const: qcom,sdm845-refgen-regulator - - - items: - - enum: - - qcom,sc7280-refgen-regulator - - qcom,sc8280xp-refgen-regulator - - qcom,sm6350-refgen-regulator - - qcom,sm6375-refgen-regulator - - qcom,sm8350-refgen-regulator - - const: qcom,sm8250-refgen-regulator - - - enum: - - qcom,sdm845-refgen-regulator - - qcom,sm8250-refgen-regulator - - reg: - maxItems: 1 - -required: - - compatible - - reg - -unevaluatedProperties: false - -examples: - - | - regulator@162f000 { - compatible = "qcom,sm8250-refgen-regulator"; - reg = <0x0162f000 0x84>; - }; -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/regulator/qcom,sdm845-refgen-regulator.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Technologies, Inc. REFGEN Regulator + +maintainers: + - Konrad Dybcio + +description: + The REFGEN (reference voltage generator) regulator provides reference + voltage for on-chip IPs (like PHYs) on some Qualcomm SoCs. + +allOf: + - $ref: regulator.yaml# + +properties: + compatible: + oneOf: + - items: + - enum: + - qcom,sc7180-refgen-regulator + - qcom,sc8180x-refgen-regulator + - qcom,sm8150-refgen-regulator + - const: qcom,sdm845-refgen-regulator + + - items: + - enum: + - qcom,sc7280-refgen-regulator + - qcom,sc8280xp-refgen-regulator + - qcom,sm6350-refgen-regulator + - qcom,sm6375-refgen-regulator + - qcom,sm8350-refgen-regulator + - const: qcom,sm8250-refgen-regulator + + - enum: + - qcom,sdm845-refgen-regulator + - qcom,sm8250-refgen-regulator + + reg: + maxItems: 1 + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + regulator@162f000 { + compatible = "qcom,sm8250-refgen-regulator"; + reg = <0x0162f000 0x84>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/richtek,rt4803.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/richtek,rt4803.yaml index e604abca5d..6ceba022e5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/richtek,rt4803.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/richtek,rt4803.yaml @@ -1,68 +1,68 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/regulator/richtek,rt4803.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Richtek RT4803 Boost Regulator - -maintainers: - - ChiYuan Huang - -description: | - RT4803 is a boost regulator that's designed to provide the minimum output - voltage, even if the input voltage is lower than the required voltage. It - supports boost and auto bypass mode that depends on the difference between the - input and output voltage. If the input is lower than the output, mode will - transform to boost mode. Otherwise, turn on bypass switch to enter bypass mode. - - Datasheet is available at - https://www.richtek.com/assets/product_file/RT4803/DS4803-03.pdf - https://www.richtek.com/assets/product_file/RT4803A/DS4803A-06.pdf - -allOf: - - $ref: regulator.yaml# - -properties: - compatible: - enum: - - richtek,rt4803 - - reg: - maxItems: 1 - - richtek,vsel-active-high: - type: boolean - description: Specify the VSEL register group is using when system is active - - regulator-allowed-modes: - description: | - Available operating mode - 1: Auto PFM/PWM - 2: Force PWM - items: - enum: [1, 2] - -required: - - compatible - - reg - -unevaluatedProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - regulator@75 { - compatible = "richtek,rt4803"; - reg = <0x75>; - richtek,vsel-active-high; - regulator-name = "rt4803-regulator"; - regulator-min-microvolt = <2850000>; - regulator-max-microvolt = <4400000>; - regulator-allowed-modes = <1 2>; - regulator-always-on; - }; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/regulator/richtek,rt4803.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Richtek RT4803 Boost Regulator + +maintainers: + - ChiYuan Huang + +description: | + RT4803 is a boost regulator that's designed to provide the minimum output + voltage, even if the input voltage is lower than the required voltage. It + supports boost and auto bypass mode that depends on the difference between the + input and output voltage. If the input is lower than the output, mode will + transform to boost mode. Otherwise, turn on bypass switch to enter bypass mode. + + Datasheet is available at + https://www.richtek.com/assets/product_file/RT4803/DS4803-03.pdf + https://www.richtek.com/assets/product_file/RT4803A/DS4803A-06.pdf + +allOf: + - $ref: regulator.yaml# + +properties: + compatible: + enum: + - richtek,rt4803 + + reg: + maxItems: 1 + + richtek,vsel-active-high: + type: boolean + description: Specify the VSEL register group is using when system is active + + regulator-allowed-modes: + description: | + Available operating mode + 1: Auto PFM/PWM + 2: Force PWM + items: + enum: [1, 2] + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + regulator@75 { + compatible = "richtek,rt4803"; + reg = <0x75>; + richtek,vsel-active-high; + regulator-name = "rt4803-regulator"; + regulator-min-microvolt = <2850000>; + regulator-max-microvolt = <4400000>; + regulator-allowed-modes = <1 2>; + regulator-always-on; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/richtek,rt5739.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/richtek,rt5739.yaml index b11ce9a31e..e95e046e9e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/richtek,rt5739.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/richtek,rt5739.yaml @@ -1,73 +1,73 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/regulator/richtek,rt5739.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Richtek RT5739 Step-Down Buck Converter - -maintainers: - - ChiYuan Huang - -description: | - The RT5739 is a step-down switching buck converter that can deliver the - programmable output voltage from 300mV to 1300mV with wide input voltage - supply of 2.5V to 5.5V. It can provide up to 3.5A continuous current - capability at over 80% high efficiency. - -allOf: - - $ref: regulator.yaml# - -properties: - compatible: - enum: - - richtek,rt5733 - - richtek,rt5739 - - reg: - maxItems: 1 - - enable-gpios: - maxItems: 1 - - richtek,vsel-active-high: - description: | - If property is present, use the 'VSEL1' register group for buck control. - Else, use the 'VSEL0' register group. This depends on external hardware - 'VSEL' pin connection. - type: boolean - - regulator-allowed-modes: - description: | - buck allowed operating mode - 0: Auto PFM/PWM mode - 1: Forced PWM mode - items: - enum: [0, 1] - -required: - - compatible - - reg - -unevaluatedProperties: false - -examples: - - | - #include - - i2c { - #address-cells = <1>; - #size-cells = <0>; - - regulator@50 { - compatible = "richtek,rt5739"; - reg = <0x50>; - enable-gpios = <&gpio26 1 GPIO_ACTIVE_HIGH>; - richtek,vsel-active-high; - regulator-name = "richtek,rt5739-buck"; - regulator-min-microvolt = <300000>; - regulator-max-microvolt = <1300000>; - regulator-allowed-modes = <0 1>; - regulator-boot-on; - }; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/regulator/richtek,rt5739.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Richtek RT5739 Step-Down Buck Converter + +maintainers: + - ChiYuan Huang + +description: | + The RT5739 is a step-down switching buck converter that can deliver the + programmable output voltage from 300mV to 1300mV with wide input voltage + supply of 2.5V to 5.5V. It can provide up to 3.5A continuous current + capability at over 80% high efficiency. + +allOf: + - $ref: regulator.yaml# + +properties: + compatible: + enum: + - richtek,rt5733 + - richtek,rt5739 + + reg: + maxItems: 1 + + enable-gpios: + maxItems: 1 + + richtek,vsel-active-high: + description: | + If property is present, use the 'VSEL1' register group for buck control. + Else, use the 'VSEL0' register group. This depends on external hardware + 'VSEL' pin connection. + type: boolean + + regulator-allowed-modes: + description: | + buck allowed operating mode + 0: Auto PFM/PWM mode + 1: Forced PWM mode + items: + enum: [0, 1] + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + #include + + i2c { + #address-cells = <1>; + #size-cells = <0>; + + regulator@50 { + compatible = "richtek,rt5739"; + reg = <0x50>; + enable-gpios = <&gpio26 1 GPIO_ACTIVE_HIGH>; + richtek,vsel-active-high; + regulator-name = "richtek,rt5739-buck"; + regulator-min-microvolt = <300000>; + regulator-max-microvolt = <1300000>; + regulator-allowed-modes = <0 1>; + regulator-boot-on; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/richtek,rt6160-regulator.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/richtek,rt6160-regulator.yaml index 5ae56130c5..0534b0d683 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/richtek,rt6160-regulator.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/richtek,rt6160-regulator.yaml @@ -1,61 +1,61 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/regulator/richtek,rt6160-regulator.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Richtek RT6160 BuckBoost converter - -maintainers: - - ChiYuan Huang - -description: | - The RT6160 is a high-efficiency buck-boost converter that can provide - up to 3A output current from 2025mV to 5200mV. And it support the wide - input voltage range from 2200mV to 5500mV. - - Datasheet is available at - https://www.richtek.com/assets/product_file/RT6160A/DS6160A-00.pdf - -allOf: - - $ref: regulator.yaml# - -properties: - compatible: - enum: - - richtek,rt6160 - - reg: - maxItems: 1 - - enable-gpios: - description: A connection of the 'enable' gpio line. - maxItems: 1 - - richtek,vsel-active-low: - description: | - Used to indicate the 'vsel' pin active level. if not specified, use - high active level as the default. - type: boolean - -required: - - compatible - - reg - -unevaluatedProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - rt6160@75 { - compatible = "richtek,rt6160"; - reg = <0x75>; - enable-gpios = <&gpio26 2 0>; - regulator-name = "rt6160-buckboost"; - regulator-min-microvolt = <2025000>; - regulator-max-microvolt = <5200000>; - }; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/regulator/richtek,rt6160-regulator.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Richtek RT6160 BuckBoost converter + +maintainers: + - ChiYuan Huang + +description: | + The RT6160 is a high-efficiency buck-boost converter that can provide + up to 3A output current from 2025mV to 5200mV. And it support the wide + input voltage range from 2200mV to 5500mV. + + Datasheet is available at + https://www.richtek.com/assets/product_file/RT6160A/DS6160A-00.pdf + +allOf: + - $ref: regulator.yaml# + +properties: + compatible: + enum: + - richtek,rt6160 + + reg: + maxItems: 1 + + enable-gpios: + description: A connection of the 'enable' gpio line. + maxItems: 1 + + richtek,vsel-active-low: + description: | + Used to indicate the 'vsel' pin active level. if not specified, use + high active level as the default. + type: boolean + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + rt6160@75 { + compatible = "richtek,rt6160"; + reg = <0x75>; + enable-gpios = <&gpio26 2 0>; + regulator-name = "rt6160-buckboost"; + regulator-min-microvolt = <2025000>; + regulator-max-microvolt = <5200000>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/richtek,rtq6752-regulator.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/richtek,rtq6752-regulator.yaml index f409bace57..ef62c618de 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/richtek,rtq6752-regulator.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/richtek,rtq6752-regulator.yaml @@ -1,77 +1,77 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/regulator/richtek,rtq6752-regulator.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Richtek RTQ6752 TFT LCD Voltage Regulator - -maintainers: - - ChiYuan Huang - -description: | - The RTQ6752 is an I2C interface pgorammable power management IC. It includes - two synchronous boost converter for PAVDD, and one synchronous NAVDD - buck-boost. The device is suitable for automotive TFT-LCD panel. - -properties: - compatible: - enum: - - richtek,rtq6752 - - reg: - maxItems: 1 - - enable-gpios: - description: | - A connection of the chip 'enable' gpio line. If not provided, treat it as - external pull up. - maxItems: 1 - - regulators: - type: object - - patternProperties: - "^(p|n)avdd$": - type: object - $ref: regulator.yaml# - unevaluatedProperties: false - description: | - regulator description for pavdd and navdd. - - additionalProperties: false - -required: - - compatible - - reg - - regulators - -additionalProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - rtq6752@6b { - compatible = "richtek,rtq6752"; - reg = <0x6b>; - enable-gpios = <&gpio26 2 0>; - - regulators { - pavdd { - regulator-name = "rtq6752-pavdd"; - regulator-min-microvolt = <5000000>; - regulator-max-microvolt = <7300000>; - regulator-boot-on; - }; - navdd { - regulator-name = "rtq6752-navdd"; - regulator-min-microvolt = <5000000>; - regulator-max-microvolt = <7300000>; - regulator-boot-on; - }; - }; - }; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/regulator/richtek,rtq6752-regulator.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Richtek RTQ6752 TFT LCD Voltage Regulator + +maintainers: + - ChiYuan Huang + +description: | + The RTQ6752 is an I2C interface pgorammable power management IC. It includes + two synchronous boost converter for PAVDD, and one synchronous NAVDD + buck-boost. The device is suitable for automotive TFT-LCD panel. + +properties: + compatible: + enum: + - richtek,rtq6752 + + reg: + maxItems: 1 + + enable-gpios: + description: | + A connection of the chip 'enable' gpio line. If not provided, treat it as + external pull up. + maxItems: 1 + + regulators: + type: object + + patternProperties: + "^(p|n)avdd$": + type: object + $ref: regulator.yaml# + unevaluatedProperties: false + description: | + regulator description for pavdd and navdd. + + additionalProperties: false + +required: + - compatible + - reg + - regulators + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + rtq6752@6b { + compatible = "richtek,rtq6752"; + reg = <0x6b>; + enable-gpios = <&gpio26 2 0>; + + regulators { + pavdd { + regulator-name = "rtq6752-pavdd"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <7300000>; + regulator-boot-on; + }; + navdd { + regulator-name = "rtq6752-navdd"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <7300000>; + regulator-boot-on; + }; + }; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/samsung,s2mpa01.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/samsung,s2mpa01.yaml index dcd3435227..0f9eb317ba 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/samsung,s2mpa01.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/samsung,s2mpa01.yaml @@ -1,62 +1,62 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/regulator/samsung,s2mpa01.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Samsung S2MPA01 Power Management IC regulators - -maintainers: - - Krzysztof Kozlowski - -description: | - This is a part of device tree bindings for S2M and S5M family of Power - Management IC (PMIC). - - The S2MPA01 provides buck and LDO regulators. - - See also Documentation/devicetree/bindings/mfd/samsung,s2mpa01.yaml for - additional information and example. - -patternProperties: - # 26 LDOs - "^LDO([1-9]|1[0-9]|2[0-6])$": - type: object - $ref: regulator.yaml# - unevaluatedProperties: false - description: - Properties for single LDO regulator. - - required: - - regulator-name - - # 10 bucks - "^BUCK([1-9]|10)$": - type: object - $ref: regulator.yaml# - unevaluatedProperties: false - description: - Properties for single BUCK regulator. - - properties: - regulator-ramp-delay: - enum: [0, 6250, 12500, 25000, 50000] - default: 12500 - description: | - May be 0 for disabling the ramp delay on BUCK{1,2,3,4}. - - In the absence of the regulator-ramp-delay property, the default ramp - delay will be used. - - Note: Some bucks share the ramp rate setting i.e. same ramp value - will be set for a particular group of bucks so provide the same - regulator-ramp-delay value for them. - Groups sharing ramp rate: - * buck{1,6}, - * buck{2,4}, - * buck{8,9,10}. - - required: - - regulator-name - -additionalProperties: false +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/regulator/samsung,s2mpa01.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Samsung S2MPA01 Power Management IC regulators + +maintainers: + - Krzysztof Kozlowski + +description: | + This is a part of device tree bindings for S2M and S5M family of Power + Management IC (PMIC). + + The S2MPA01 provides buck and LDO regulators. + + See also Documentation/devicetree/bindings/mfd/samsung,s2mpa01.yaml for + additional information and example. + +patternProperties: + # 26 LDOs + "^LDO([1-9]|1[0-9]|2[0-6])$": + type: object + $ref: regulator.yaml# + unevaluatedProperties: false + description: + Properties for single LDO regulator. + + required: + - regulator-name + + # 10 bucks + "^BUCK([1-9]|10)$": + type: object + $ref: regulator.yaml# + unevaluatedProperties: false + description: + Properties for single BUCK regulator. + + properties: + regulator-ramp-delay: + enum: [0, 6250, 12500, 25000, 50000] + default: 12500 + description: | + May be 0 for disabling the ramp delay on BUCK{1,2,3,4}. + + In the absence of the regulator-ramp-delay property, the default ramp + delay will be used. + + Note: Some bucks share the ramp rate setting i.e. same ramp value + will be set for a particular group of bucks so provide the same + regulator-ramp-delay value for them. + Groups sharing ramp rate: + * buck{1,6}, + * buck{2,4}, + * buck{8,9,10}. + + required: + - regulator-name + +additionalProperties: false diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/samsung,s2mps14.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/samsung,s2mps14.yaml index 225d95e9c5..a7feb497eb 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/samsung,s2mps14.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/samsung,s2mps14.yaml @@ -1,61 +1,61 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/regulator/samsung,s2mps14.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Samsung S2MPS14 Power Management IC regulators - -maintainers: - - Krzysztof Kozlowski - -description: | - This is a part of device tree bindings for S2M and S5M family of Power - Management IC (PMIC). - - The S2MPS14 provides buck and LDO regulators. - - See also Documentation/devicetree/bindings/mfd/samsung,s2mps11.yaml for - additional information and example. - -patternProperties: - # 25 LDOs, without LDO10-12 - "^LDO([1-9]|1[3-9]|2[0-5])$": - type: object - $ref: regulator.yaml# - unevaluatedProperties: false - description: - Properties for single LDO regulator. - - required: - - regulator-name - - "^LDO(1[0-2])$": - type: object - $ref: regulator.yaml# - unevaluatedProperties: false - description: - Properties for single LDO regulator. - - properties: - samsung,ext-control-gpios: - maxItems: 1 - description: - LDO10, LDO11 and LDO12 can be configured to external control over - GPIO. - - required: - - regulator-name - - # 5 bucks - "^BUCK[1-5]$": - type: object - $ref: regulator.yaml# - unevaluatedProperties: false - description: - Properties for single BUCK regulator. - - required: - - regulator-name - -additionalProperties: false +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/regulator/samsung,s2mps14.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Samsung S2MPS14 Power Management IC regulators + +maintainers: + - Krzysztof Kozlowski + +description: | + This is a part of device tree bindings for S2M and S5M family of Power + Management IC (PMIC). + + The S2MPS14 provides buck and LDO regulators. + + See also Documentation/devicetree/bindings/mfd/samsung,s2mps11.yaml for + additional information and example. + +patternProperties: + # 25 LDOs, without LDO10-12 + "^LDO([1-9]|1[3-9]|2[0-5])$": + type: object + $ref: regulator.yaml# + unevaluatedProperties: false + description: + Properties for single LDO regulator. + + required: + - regulator-name + + "^LDO(1[0-2])$": + type: object + $ref: regulator.yaml# + unevaluatedProperties: false + description: + Properties for single LDO regulator. + + properties: + samsung,ext-control-gpios: + maxItems: 1 + description: + LDO10, LDO11 and LDO12 can be configured to external control over + GPIO. + + required: + - regulator-name + + # 5 bucks + "^BUCK[1-5]$": + type: object + $ref: regulator.yaml# + unevaluatedProperties: false + description: + Properties for single BUCK regulator. + + required: + - regulator-name + +additionalProperties: false diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/siliconmitus,sm5703-regulator.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/siliconmitus,sm5703-regulator.yaml index 033818f202..9d84117530 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/siliconmitus,sm5703-regulator.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/siliconmitus,sm5703-regulator.yaml @@ -1,49 +1,49 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/regulator/siliconmitus,sm5703-regulator.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Silicon Mitus SM5703 multi function device regulators - -maintainers: - - Markuss Broks - -description: | - SM5703 regulators node should be a sub node of the SM5703 MFD node. See SM5703 MFD - bindings at Documentation/devicetree/bindings/mfd/siliconmitus,sm5703.yaml - Regulator nodes should be named as USBLDO_, BUCK, VBUS, LDO_. - The definition for each of these nodes is defined using the standard - binding for regulators at Documentation/devicetree/bindings/regulator/regulator.txt. - -properties: - buck: - type: object - $ref: regulator.yaml# - unevaluatedProperties: false - description: - Properties for the BUCK regulator. - - vbus: - type: object - $ref: regulator.yaml# - unevaluatedProperties: false - description: - Properties for the VBUS regulator. - -patternProperties: - "^ldo[1-3]$": - type: object - $ref: regulator.yaml# - unevaluatedProperties: false - description: - Properties for single LDO regulator. - - "^usbldo[1-2]$": - type: object - $ref: regulator.yaml# - unevaluatedProperties: false - description: - Properties for a single USBLDO regulator. - -additionalProperties: false +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/regulator/siliconmitus,sm5703-regulator.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Silicon Mitus SM5703 multi function device regulators + +maintainers: + - Markuss Broks + +description: | + SM5703 regulators node should be a sub node of the SM5703 MFD node. See SM5703 MFD + bindings at Documentation/devicetree/bindings/mfd/siliconmitus,sm5703.yaml + Regulator nodes should be named as USBLDO_, BUCK, VBUS, LDO_. + The definition for each of these nodes is defined using the standard + binding for regulators at Documentation/devicetree/bindings/regulator/regulator.txt. + +properties: + buck: + type: object + $ref: regulator.yaml# + unevaluatedProperties: false + description: + Properties for the BUCK regulator. + + vbus: + type: object + $ref: regulator.yaml# + unevaluatedProperties: false + description: + Properties for the VBUS regulator. + +patternProperties: + "^ldo[1-3]$": + type: object + $ref: regulator.yaml# + unevaluatedProperties: false + description: + Properties for single LDO regulator. + + "^usbldo[1-2]$": + type: object + $ref: regulator.yaml# + unevaluatedProperties: false + description: + Properties for a single USBLDO regulator. + +additionalProperties: false diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/st,stm32mp1-pwr-reg.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/st,stm32mp1-pwr-reg.yaml index 50e03905db..3cb2dad187 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/st,stm32mp1-pwr-reg.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/st,stm32mp1-pwr-reg.yaml @@ -1,68 +1,68 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/regulator/st,stm32mp1-pwr-reg.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: STM32MP1 PWR voltage regulators - -maintainers: - - Pascal Paillet - -properties: - compatible: - oneOf: - - items: - - const: st,stm32mp1,pwr-reg - - items: - - const: st,stm32mp13-pwr-reg - - const: st,stm32mp1,pwr-reg - - reg: - maxItems: 1 - - vdd-supply: - description: Input supply phandle(s) for vdd input - - vdd_3v3_usbfs-supply: - description: Input supply phandle(s) for vdd_3v3_usbfs input - -patternProperties: - "^(reg11|reg18|usb33)$": - type: object - $ref: regulator.yaml# - unevaluatedProperties: false - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - pwr@50001000 { - compatible = "st,stm32mp1,pwr-reg"; - reg = <0x50001000 0x10>; - vdd-supply = <&vdd>; - vdd_3v3_usbfs-supply = <&vdd_usb>; - - reg11 { - regulator-name = "reg11"; - regulator-min-microvolt = <1100000>; - regulator-max-microvolt = <1100000>; - }; - - reg18 { - regulator-name = "reg18"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - }; - - usb33 { - regulator-name = "usb33"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/regulator/st,stm32mp1-pwr-reg.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: STM32MP1 PWR voltage regulators + +maintainers: + - Pascal Paillet + +properties: + compatible: + oneOf: + - items: + - const: st,stm32mp1,pwr-reg + - items: + - const: st,stm32mp13-pwr-reg + - const: st,stm32mp1,pwr-reg + + reg: + maxItems: 1 + + vdd-supply: + description: Input supply phandle(s) for vdd input + + vdd_3v3_usbfs-supply: + description: Input supply phandle(s) for vdd_3v3_usbfs input + +patternProperties: + "^(reg11|reg18|usb33)$": + type: object + $ref: regulator.yaml# + unevaluatedProperties: false + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + pwr@50001000 { + compatible = "st,stm32mp1,pwr-reg"; + reg = <0x50001000 0x10>; + vdd-supply = <&vdd>; + vdd_3v3_usbfs-supply = <&vdd_usb>; + + reg11 { + regulator-name = "reg11"; + regulator-min-microvolt = <1100000>; + regulator-max-microvolt = <1100000>; + }; + + reg18 { + regulator-name = "reg18"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + }; + + usb33 { + regulator-name = "usb33"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/tps65023.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/tps65023.txt index 9c38368cde..a4714e4da3 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/tps65023.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/tps65023.txt @@ -1,60 +1,60 @@ -TPS65023 family of regulators - -Required properties: -- compatible: Must be one of the following. - "ti,tps65020", - "ti,tps65021", - "ti,tps65023", -- reg: I2C slave address -- regulators: list of regulators provided by this controller, must be named - after their hardware counterparts: VDCDC[1-3] and LDO[1-2] -- regulators: This is the list of child nodes that specify the regulator - initialization data for defined regulators. The definition for each of - these nodes is defined using the standard binding for regulators found at - Documentation/devicetree/bindings/regulator/regulator.txt. - -Each regulator is defined using the standard binding for regulators. - -Example: - - tps65023@48 { - compatible = "ti,tps65023"; - reg = <0x48>; - - regulators { - VDCDC1 { - regulator-name = "vdd_mpu"; - regulator-always-on; - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - }; - - VDCDC2 { - regulator-name = "vdd_core"; - regulator-always-on; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - }; - - VDCDC3 { - regulator-name = "vdd_io"; - regulator-always-on; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - }; - - LDO1 { - regulator-name = "vdd_usb18"; - regulator-always-on; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - }; - - LDO2 { - regulator-name = "vdd_usb33"; - regulator-always-on; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - }; - }; - }; +TPS65023 family of regulators + +Required properties: +- compatible: Must be one of the following. + "ti,tps65020", + "ti,tps65021", + "ti,tps65023", +- reg: I2C slave address +- regulators: list of regulators provided by this controller, must be named + after their hardware counterparts: VDCDC[1-3] and LDO[1-2] +- regulators: This is the list of child nodes that specify the regulator + initialization data for defined regulators. The definition for each of + these nodes is defined using the standard binding for regulators found at + Documentation/devicetree/bindings/regulator/regulator.txt. + +Each regulator is defined using the standard binding for regulators. + +Example: + + tps65023@48 { + compatible = "ti,tps65023"; + reg = <0x48>; + + regulators { + VDCDC1 { + regulator-name = "vdd_mpu"; + regulator-always-on; + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1200000>; + }; + + VDCDC2 { + regulator-name = "vdd_core"; + regulator-always-on; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + }; + + VDCDC3 { + regulator-name = "vdd_io"; + regulator-always-on; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + }; + + LDO1 { + regulator-name = "vdd_usb18"; + regulator-always-on; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + }; + + LDO2 { + regulator-name = "vdd_usb33"; + regulator-always-on; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + }; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/remoteproc/ingenic,vpu.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/remoteproc/ingenic,vpu.yaml index 3a0122fad3..8b55dbd909 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/remoteproc/ingenic,vpu.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/remoteproc/ingenic,vpu.yaml @@ -1,77 +1,77 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/remoteproc/ingenic,vpu.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Ingenic Video Processing Unit - -description: - Inside the Video Processing Unit (VPU) of the recent JZ47xx SoCs from - Ingenic is a second Xburst MIPS CPU very similar to the main core. - This document describes the devicetree bindings for this auxiliary - processor. - -maintainers: - - Paul Cercueil - -properties: - compatible: - const: ingenic,jz4770-vpu-rproc - - reg: - items: - - description: aux registers - - description: tcsm0 registers - - description: tcsm1 registers - - description: sram registers - - reg-names: - items: - - const: aux - - const: tcsm0 - - const: tcsm1 - - const: sram - - clocks: - items: - - description: aux clock - - description: vpu clock - - clock-names: - items: - - const: aux - - const: vpu - - interrupts: - maxItems: 1 - -required: - - compatible - - reg - - reg-names - - clocks - - clock-names - - interrupts - -additionalProperties: false - -examples: - - | - #include - - vpu: video-decoder@132a0000 { - compatible = "ingenic,jz4770-vpu-rproc"; - - reg = <0x132a0000 0x20>, /* AUX */ - <0x132b0000 0x4000>, /* TCSM0 */ - <0x132c0000 0xc000>, /* TCSM1 */ - <0x132f0000 0x7000>; /* SRAM */ - reg-names = "aux", "tcsm0", "tcsm1", "sram"; - - clocks = <&cgu JZ4770_CLK_AUX>, <&cgu JZ4770_CLK_VPU>; - clock-names = "aux", "vpu"; - - interrupt-parent = <&cpuintc>; - interrupts = <3>; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/remoteproc/ingenic,vpu.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Ingenic Video Processing Unit + +description: + Inside the Video Processing Unit (VPU) of the recent JZ47xx SoCs from + Ingenic is a second Xburst MIPS CPU very similar to the main core. + This document describes the devicetree bindings for this auxiliary + processor. + +maintainers: + - Paul Cercueil + +properties: + compatible: + const: ingenic,jz4770-vpu-rproc + + reg: + items: + - description: aux registers + - description: tcsm0 registers + - description: tcsm1 registers + - description: sram registers + + reg-names: + items: + - const: aux + - const: tcsm0 + - const: tcsm1 + - const: sram + + clocks: + items: + - description: aux clock + - description: vpu clock + + clock-names: + items: + - const: aux + - const: vpu + + interrupts: + maxItems: 1 + +required: + - compatible + - reg + - reg-names + - clocks + - clock-names + - interrupts + +additionalProperties: false + +examples: + - | + #include + + vpu: video-decoder@132a0000 { + compatible = "ingenic,jz4770-vpu-rproc"; + + reg = <0x132a0000 0x20>, /* AUX */ + <0x132b0000 0x4000>, /* TCSM0 */ + <0x132c0000 0xc000>, /* TCSM1 */ + <0x132f0000 0x7000>; /* SRAM */ + reg-names = "aux", "tcsm0", "tcsm1", "sram"; + + clocks = <&cgu JZ4770_CLK_AUX>, <&cgu JZ4770_CLK_VPU>; + clock-names = "aux", "vpu"; + + interrupt-parent = <&cpuintc>; + interrupts = <3>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/remoteproc/renesas,rcar-rproc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/remoteproc/renesas,rcar-rproc.yaml index 1cccc0a3d2..5c280117dc 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/remoteproc/renesas,rcar-rproc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/remoteproc/renesas,rcar-rproc.yaml @@ -1,65 +1,65 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/remoteproc/renesas,rcar-rproc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Renesas R-Car remote processor controller - -maintainers: - - Julien Massot - -description: | - This document defines the bindings for the remoteproc component that loads and - boots firmwares on the Renesas R-Car family chipset. - R-Car gen3 family may have a realtime processor, this processor shares peripheral - and RAM with the host processor with the same address map. - -properties: - compatible: - const: renesas,rcar-cr7 - - resets: - maxItems: 1 - - power-domains: - maxItems: 1 - - memory-region: - description: - List of phandles to the reserved memory regions associated with the - remoteproc device. This is variable and describes the memories shared with - the remote processor (e.g. remoteproc firmware and carveouts, rpmsg - vrings, ...). - (see reserved-memory/reserved-memory.yaml in dtschema project) - -required: - - compatible - - resets - - memory-region - - power-domains - -additionalProperties: false - -examples: - - | - #include - #include - reserved-memory { - #address-cells = <2>; - #size-cells = <2>; - - cr7_ram: cr7_ram@40040000 { - no-map; - reg = <0x0 0x40040000 0x0 0x1fc0000>; - }; - }; - - cr7_rproc: cr7 { - compatible = "renesas,rcar-cr7"; - memory-region = <&cr7_ram>; - power-domains = <&sysc R8A7795_PD_CR7>; - resets = <&cpg 222>; - }; - -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/remoteproc/renesas,rcar-rproc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Renesas R-Car remote processor controller + +maintainers: + - Julien Massot + +description: | + This document defines the bindings for the remoteproc component that loads and + boots firmwares on the Renesas R-Car family chipset. + R-Car gen3 family may have a realtime processor, this processor shares peripheral + and RAM with the host processor with the same address map. + +properties: + compatible: + const: renesas,rcar-cr7 + + resets: + maxItems: 1 + + power-domains: + maxItems: 1 + + memory-region: + description: + List of phandles to the reserved memory regions associated with the + remoteproc device. This is variable and describes the memories shared with + the remote processor (e.g. remoteproc firmware and carveouts, rpmsg + vrings, ...). + (see reserved-memory/reserved-memory.yaml in dtschema project) + +required: + - compatible + - resets + - memory-region + - power-domains + +additionalProperties: false + +examples: + - | + #include + #include + reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + + cr7_ram: cr7_ram@40040000 { + no-map; + reg = <0x0 0x40040000 0x0 0x1fc0000>; + }; + }; + + cr7_rproc: cr7 { + compatible = "renesas,rcar-cr7"; + memory-region = <&cr7_ram>; + power-domains = <&sysc R8A7795_PD_CR7>; + resets = <&cpg 222>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/remoteproc/st-rproc.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/remoteproc/st-rproc.txt index 6e597cabaa..1031bcd90a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/remoteproc/st-rproc.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/remoteproc/st-rproc.txt @@ -1,41 +1,41 @@ -STMicroelectronics Co-Processor Bindings ----------------------------------------- - -This binding provides support for adjunct processors found on ST SoCs. - -Co-processors can be controlled from the bootloader or the primary OS. If -the bootloader starts a co-processor, the primary OS must detect its state -and act accordingly. - -Required properties: -- compatible Should be one of: - "st,st231-rproc" - "st,st40-rproc" -- memory-region Reserved memory (See: ../reserved-memory/reserved-memory.txt) -- resets Reset lines (See: ../reset/reset.txt) -- reset-names Must be "sw_reset" and "pwr_reset" -- clocks Clock for co-processor (See: ../clock/clock-bindings.txt) -- clock-frequency Clock frequency to set co-processor at if the bootloader - hasn't already done so -- st,syscfg System configuration register which holds the boot vector - for the co-processor - 1st cell: Phandle to syscon block - 2nd cell: Boot vector register offset - -Example: - - audio_reserved: rproc@42000000 { - compatible = "shared-dma-pool"; - reg = <0x42000000 0x01000000>; - no-map; - }; - - st231-audio { - compatible = "st,st231-rproc"; - memory-region = <&audio_reserved>; - resets = <&softreset STIH407_ST231_AUD_SOFTRESET>; - reset-names = "sw_reset"; - clocks = <&clk_s_c0_flexgen CLK_ST231_AUD_0>; - clock-frequency = <600000000>; - st,syscfg = <&syscfg_core 0x228>; - }; +STMicroelectronics Co-Processor Bindings +---------------------------------------- + +This binding provides support for adjunct processors found on ST SoCs. + +Co-processors can be controlled from the bootloader or the primary OS. If +the bootloader starts a co-processor, the primary OS must detect its state +and act accordingly. + +Required properties: +- compatible Should be one of: + "st,st231-rproc" + "st,st40-rproc" +- memory-region Reserved memory (See: ../reserved-memory/reserved-memory.txt) +- resets Reset lines (See: ../reset/reset.txt) +- reset-names Must be "sw_reset" and "pwr_reset" +- clocks Clock for co-processor (See: ../clock/clock-bindings.txt) +- clock-frequency Clock frequency to set co-processor at if the bootloader + hasn't already done so +- st,syscfg System configuration register which holds the boot vector + for the co-processor + 1st cell: Phandle to syscon block + 2nd cell: Boot vector register offset + +Example: + + audio_reserved: rproc@42000000 { + compatible = "shared-dma-pool"; + reg = <0x42000000 0x01000000>; + no-map; + }; + + st231-audio { + compatible = "st,st231-rproc"; + memory-region = <&audio_reserved>; + resets = <&softreset STIH407_ST231_AUD_SOFTRESET>; + reset-names = "sw_reset"; + clocks = <&clk_s_c0_flexgen CLK_ST231_AUD_0>; + clock-frequency = <600000000>; + st,syscfg = <&syscfg_core 0x228>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/remoteproc/wkup_m3_rproc.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/remoteproc/wkup_m3_rproc.txt index 47b48efec0..3a70073797 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/remoteproc/wkup_m3_rproc.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/remoteproc/wkup_m3_rproc.txt @@ -1,52 +1,52 @@ -TI Wakeup M3 Remoteproc Driver -============================== - -The TI AM33xx and AM43xx family of devices use a small Cortex M3 co-processor -(commonly referred to as Wakeup M3 or CM3) to help with various low power tasks -that cannot be controlled from the MPU. This CM3 processor requires a firmware -binary to accomplish this. The wkup_m3 remoteproc driver handles the loading of -the firmware and booting of the CM3. - -Wkup M3 Device Node: -==================== -A wkup_m3 device node is used to represent the Wakeup M3 processor instance -within the SoC. It is added as a child node of the parent interconnect bus -(l4_wkup) through which it is accessible to the MPU. - -Required properties: --------------------- -- compatible: Should be one of, - "ti,am3352-wkup-m3" for AM33xx SoCs - "ti,am4372-wkup-m3" for AM43xx SoCs -- reg: Should contain the address ranges for the two internal - memory regions, UMEM and DMEM. The parent node should - provide an appropriate ranges property for properly - translating these into bus addresses. -- reg-names: Contains the corresponding names for the two memory - regions. These should be named "umem" & "dmem". -- ti,hwmods: Name of the hwmod associated with the wkupm3 device. -- ti,pm-firmware: Name of firmware file to be used for loading and - booting the wkup_m3 remote processor. - -Example: --------- -/* AM33xx */ -ocp { - l4_wkup: l4_wkup@44c00000 { - compatible = "am335-l4-wkup", "simple-bus"; - ranges = <0 0x44c00000 0x400000>; - #address-cells = <1>; - #size-cells = <1>; - - wkup_m3: wkup_m3@100000 { - compatible = "ti,am3352-wkup-m3"; - reg = <0x100000 0x4000>, - <0x180000 0x2000>; - reg-names = "umem", "dmem"; - ti,hwmods = "wkup_m3"; - ti,pm-firmware = "am335x-pm-firmware.elf"; - }; - }; - - ... -}; +TI Wakeup M3 Remoteproc Driver +============================== + +The TI AM33xx and AM43xx family of devices use a small Cortex M3 co-processor +(commonly referred to as Wakeup M3 or CM3) to help with various low power tasks +that cannot be controlled from the MPU. This CM3 processor requires a firmware +binary to accomplish this. The wkup_m3 remoteproc driver handles the loading of +the firmware and booting of the CM3. + +Wkup M3 Device Node: +==================== +A wkup_m3 device node is used to represent the Wakeup M3 processor instance +within the SoC. It is added as a child node of the parent interconnect bus +(l4_wkup) through which it is accessible to the MPU. + +Required properties: +-------------------- +- compatible: Should be one of, + "ti,am3352-wkup-m3" for AM33xx SoCs + "ti,am4372-wkup-m3" for AM43xx SoCs +- reg: Should contain the address ranges for the two internal + memory regions, UMEM and DMEM. The parent node should + provide an appropriate ranges property for properly + translating these into bus addresses. +- reg-names: Contains the corresponding names for the two memory + regions. These should be named "umem" & "dmem". +- ti,hwmods: Name of the hwmod associated with the wkupm3 device. +- ti,pm-firmware: Name of firmware file to be used for loading and + booting the wkup_m3 remote processor. + +Example: +-------- +/* AM33xx */ +ocp { + l4_wkup: l4_wkup@44c00000 { + compatible = "am335-l4-wkup", "simple-bus"; + ranges = <0 0x44c00000 0x400000>; + #address-cells = <1>; + #size-cells = <1>; + + wkup_m3: wkup_m3@100000 { + compatible = "ti,am3352-wkup-m3"; + reg = <0x100000 0x4000>, + <0x180000 0x2000>; + reg-names = "umem", "dmem"; + ti,hwmods = "wkup_m3"; + ti,pm-firmware = "am335x-pm-firmware.elf"; + }; + }; + + ... +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reserved-memory/qcom,rmtfs-mem.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reserved-memory/qcom,rmtfs-mem.yaml index 363c0bd3d7..46407e9c1d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reserved-memory/qcom,rmtfs-mem.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reserved-memory/qcom,rmtfs-mem.yaml @@ -1,66 +1,66 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/reserved-memory/qcom,rmtfs-mem.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm Remote File System Memory - -description: | - This binding describes the Qualcomm remote filesystem memory, which serves the - purpose of describing the shared memory region used for remote processors to - access block device data using the Remote Filesystem protocol. - -maintainers: - - Bjorn Andersson - -allOf: - - $ref: reserved-memory.yaml - -properties: - compatible: - const: qcom,rmtfs-mem - - qcom,client-id: - $ref: /schemas/types.yaml#/definitions/uint32 - description: > - identifier of the client to use this region for buffers - - qcom,use-guard-pages: - type: boolean - description: > - Indicates that the firmware, or hardware, does not gracefully handle - memory protection of this region when placed adjacent to other protected - memory regions, and that padding around the used portion of the memory - region is necessary. - - When this is set, the first and last page should be left unused, and the - effective size of the region will thereby shrink with two pages. - - qcom,vmid: - $ref: /schemas/types.yaml#/definitions/uint32-array - description: > - Array of vmids of the remote processors, to set up memory protection - minItems: 1 - maxItems: 2 - -required: - - qcom,client-id - -unevaluatedProperties: false - -examples: - - | - reserved-memory { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - rmtfs@86700000 { - compatible = "qcom,rmtfs-mem"; - reg = <0x86700000 0xe0000>; - no-map; - - qcom,client-id = <1>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/reserved-memory/qcom,rmtfs-mem.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Remote File System Memory + +description: | + This binding describes the Qualcomm remote filesystem memory, which serves the + purpose of describing the shared memory region used for remote processors to + access block device data using the Remote Filesystem protocol. + +maintainers: + - Bjorn Andersson + +allOf: + - $ref: reserved-memory.yaml + +properties: + compatible: + const: qcom,rmtfs-mem + + qcom,client-id: + $ref: /schemas/types.yaml#/definitions/uint32 + description: > + identifier of the client to use this region for buffers + + qcom,use-guard-pages: + type: boolean + description: > + Indicates that the firmware, or hardware, does not gracefully handle + memory protection of this region when placed adjacent to other protected + memory regions, and that padding around the used portion of the memory + region is necessary. + + When this is set, the first and last page should be left unused, and the + effective size of the region will thereby shrink with two pages. + + qcom,vmid: + $ref: /schemas/types.yaml#/definitions/uint32-array + description: > + Array of vmids of the remote processors, to set up memory protection + minItems: 1 + maxItems: 2 + +required: + - qcom,client-id + +unevaluatedProperties: false + +examples: + - | + reserved-memory { + #address-cells = <1>; + #size-cells = <1>; + ranges; + + rmtfs@86700000 { + compatible = "qcom,rmtfs-mem"; + reg = <0x86700000 0xe0000>; + no-map; + + qcom,client-id = <1>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/allwinner,sun6i-a31-clock-reset.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/allwinner,sun6i-a31-clock-reset.yaml index e3aabc6cc5..2a248e511c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/allwinner,sun6i-a31-clock-reset.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/allwinner,sun6i-a31-clock-reset.yaml @@ -1,68 +1,68 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/reset/allwinner,sun6i-a31-clock-reset.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Allwinner A31 Peripheral Reset Controller - -maintainers: - - Chen-Yu Tsai - - Maxime Ripard - -deprecated: true - -select: - properties: - compatible: - contains: - enum: - - allwinner,sun6i-a31-ahb1-reset - - allwinner,sun6i-a31-clock-reset - - # The PRCM on the A31 and A23 will have the reg property missing, - # since it's set at the upper level node, and will be validated by - # PRCM's schema. Make sure we only validate standalone nodes. - required: - - compatible - - reg - -properties: - "#reset-cells": - const: 1 - description: > - This additional argument passed to that reset controller is the - offset of the bit controlling this particular reset line in the - register. - - compatible: - enum: - - allwinner,sun6i-a31-ahb1-reset - - allwinner,sun6i-a31-clock-reset - - reg: - maxItems: 1 - -required: - - "#reset-cells" - - compatible - - reg - -additionalProperties: false - -examples: - - | - ahb1_rst: reset@1c202c0 { - #reset-cells = <1>; - compatible = "allwinner,sun6i-a31-ahb1-reset"; - reg = <0x01c202c0 0xc>; - }; - - - | - apbs_rst: reset@80014b0 { - #reset-cells = <1>; - compatible = "allwinner,sun6i-a31-clock-reset"; - reg = <0x080014b0 0x4>; - }; - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/reset/allwinner,sun6i-a31-clock-reset.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Allwinner A31 Peripheral Reset Controller + +maintainers: + - Chen-Yu Tsai + - Maxime Ripard + +deprecated: true + +select: + properties: + compatible: + contains: + enum: + - allwinner,sun6i-a31-ahb1-reset + - allwinner,sun6i-a31-clock-reset + + # The PRCM on the A31 and A23 will have the reg property missing, + # since it's set at the upper level node, and will be validated by + # PRCM's schema. Make sure we only validate standalone nodes. + required: + - compatible + - reg + +properties: + "#reset-cells": + const: 1 + description: > + This additional argument passed to that reset controller is the + offset of the bit controlling this particular reset line in the + register. + + compatible: + enum: + - allwinner,sun6i-a31-ahb1-reset + - allwinner,sun6i-a31-clock-reset + + reg: + maxItems: 1 + +required: + - "#reset-cells" + - compatible + - reg + +additionalProperties: false + +examples: + - | + ahb1_rst: reset@1c202c0 { + #reset-cells = <1>; + compatible = "allwinner,sun6i-a31-ahb1-reset"; + reg = <0x01c202c0 0xc>; + }; + + - | + apbs_rst: reset@80014b0 { + #reset-cells = <1>; + compatible = "allwinner,sun6i-a31-clock-reset"; + reg = <0x080014b0 0x4>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/atmel,at91sam9260-reset.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/atmel,at91sam9260-reset.yaml index fbec17fcbe..98465d2694 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/atmel,at91sam9260-reset.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/atmel,at91sam9260-reset.yaml @@ -1,68 +1,68 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/reset/atmel,at91sam9260-reset.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Atmel/Microchip System Reset Controller - -maintainers: - - Claudiu Beznea - -description: | - The system reset controller can be used to reset the CPU. In case of - SAMA7G5 it can also reset some devices (e.g. USB PHYs). - -properties: - compatible: - oneOf: - - items: - - enum: - - atmel,at91sam9260-rstc - - atmel,at91sam9g45-rstc - - atmel,sama5d3-rstc - - microchip,sam9x60-rstc - - microchip,sama7g5-rstc - - items: - - const: atmel,sama5d3-rstc - - const: atmel,at91sam9g45-rstc - - reg: - minItems: 1 - items: - - description: base registers for system reset control - - description: registers for device specific reset control - - clocks: - maxItems: 1 - - "#reset-cells": - const: 1 - -required: - - compatible - - reg - - clocks - -allOf: - - if: - properties: - compatible: - contains: - enum: - - microchip,sama7g5-rstc - then: - required: - - "#reset-cells" - -additionalProperties: false - -examples: - - | - #include - - reset-controller@fffffd00 { - compatible = "atmel,at91sam9260-rstc"; - reg = <0xfffffd00 0x10>; - clocks = <&pmc PMC_TYPE_CORE PMC_SLOW>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/reset/atmel,at91sam9260-reset.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Atmel/Microchip System Reset Controller + +maintainers: + - Claudiu Beznea + +description: | + The system reset controller can be used to reset the CPU. In case of + SAMA7G5 it can also reset some devices (e.g. USB PHYs). + +properties: + compatible: + oneOf: + - items: + - enum: + - atmel,at91sam9260-rstc + - atmel,at91sam9g45-rstc + - atmel,sama5d3-rstc + - microchip,sam9x60-rstc + - microchip,sama7g5-rstc + - items: + - const: atmel,sama5d3-rstc + - const: atmel,at91sam9g45-rstc + + reg: + minItems: 1 + items: + - description: base registers for system reset control + - description: registers for device specific reset control + + clocks: + maxItems: 1 + + "#reset-cells": + const: 1 + +required: + - compatible + - reg + - clocks + +allOf: + - if: + properties: + compatible: + contains: + enum: + - microchip,sama7g5-rstc + then: + required: + - "#reset-cells" + +additionalProperties: false + +examples: + - | + #include + + reset-controller@fffffd00 { + compatible = "atmel,at91sam9260-rstc"; + reg = <0xfffffd00 0x10>; + clocks = <&pmc PMC_TYPE_CORE PMC_SLOW>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/fsl,imx-src.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/fsl,imx-src.yaml index 015d9aae74..f5ec1d54aa 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/fsl,imx-src.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/fsl,imx-src.yaml @@ -1,70 +1,70 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/reset/fsl,imx-src.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Freescale i.MX System Reset Controller - -maintainers: - - Philipp Zabel - -description: | - The system reset controller can be used to reset the GPU, VPU, - IPU, and OpenVG IP modules on i.MX5 and i.MX6 ICs. Those device - nodes should specify the reset line on the SRC in their resets - property, containing a phandle to the SRC device node and a - RESET_INDEX specifying which module to reset, as described in - reset.txt - - The following RESET_INDEX values are valid for i.MX5: - GPU_RESET 0 - VPU_RESET 1 - IPU1_RESET 2 - OPEN_VG_RESET 3 - The following additional RESET_INDEX value is valid for i.MX6: - IPU2_RESET 4 - -properties: - compatible: - oneOf: - - const: fsl,imx51-src - - items: - - enum: - - fsl,imx50-src - - fsl,imx53-src - - fsl,imx6q-src - - fsl,imx6sx-src - - fsl,imx6sl-src - - fsl,imx6ul-src - - fsl,imx6sll-src - - const: fsl,imx51-src - - reg: - maxItems: 1 - - interrupts: - items: - - description: SRC interrupt - - description: CPU WDOG interrupts out of SRC - minItems: 1 - - '#reset-cells': - const: 1 - -required: - - compatible - - reg - - interrupts - - '#reset-cells' - -additionalProperties: false - -examples: - - | - reset-controller@73fd0000 { - compatible = "fsl,imx51-src"; - reg = <0x73fd0000 0x4000>; - interrupts = <75>; - #reset-cells = <1>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/reset/fsl,imx-src.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Freescale i.MX System Reset Controller + +maintainers: + - Philipp Zabel + +description: | + The system reset controller can be used to reset the GPU, VPU, + IPU, and OpenVG IP modules on i.MX5 and i.MX6 ICs. Those device + nodes should specify the reset line on the SRC in their resets + property, containing a phandle to the SRC device node and a + RESET_INDEX specifying which module to reset, as described in + reset.txt + + The following RESET_INDEX values are valid for i.MX5: + GPU_RESET 0 + VPU_RESET 1 + IPU1_RESET 2 + OPEN_VG_RESET 3 + The following additional RESET_INDEX value is valid for i.MX6: + IPU2_RESET 4 + +properties: + compatible: + oneOf: + - const: fsl,imx51-src + - items: + - enum: + - fsl,imx50-src + - fsl,imx53-src + - fsl,imx6q-src + - fsl,imx6sx-src + - fsl,imx6sl-src + - fsl,imx6ul-src + - fsl,imx6sll-src + - const: fsl,imx51-src + + reg: + maxItems: 1 + + interrupts: + items: + - description: SRC interrupt + - description: CPU WDOG interrupts out of SRC + minItems: 1 + + '#reset-cells': + const: 1 + +required: + - compatible + - reg + - interrupts + - '#reset-cells' + +additionalProperties: false + +examples: + - | + reset-controller@73fd0000 { + compatible = "fsl,imx51-src"; + reg = <0x73fd0000 0x4000>; + interrupts = <75>; + #reset-cells = <1>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/fsl,imx7-src.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/fsl,imx7-src.yaml index 77a8ad5f3b..00430e2eab 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/fsl,imx7-src.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/fsl,imx7-src.yaml @@ -1,65 +1,65 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/reset/fsl,imx7-src.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Freescale i.MX7 System Reset Controller - -maintainers: - - Andrey Smirnov - -description: | - The system reset controller can be used to reset various set of - peripherals. Device nodes that need access to reset lines should - specify them as a reset phandle in their corresponding node as - specified in reset.txt. - - For list of all valid reset indices see - for i.MX7, - for i.MX8MQ, i.MX8MM and i.MX8MN, - for i.MX8MP. - -properties: - compatible: - oneOf: - - items: - - enum: - - fsl,imx7d-src - - fsl,imx8mq-src - - fsl,imx8mp-src - - const: syscon - - items: - - enum: - - fsl,imx8mm-src - - fsl,imx8mn-src - - const: fsl,imx8mq-src - - const: syscon - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - '#reset-cells': - const: 1 - -required: - - compatible - - reg - - interrupts - - '#reset-cells' - -additionalProperties: false - -examples: - - | - #include - - reset-controller@30390000 { - compatible = "fsl,imx7d-src", "syscon"; - reg = <0x30390000 0x2000>; - interrupts = ; - #reset-cells = <1>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/reset/fsl,imx7-src.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Freescale i.MX7 System Reset Controller + +maintainers: + - Andrey Smirnov + +description: | + The system reset controller can be used to reset various set of + peripherals. Device nodes that need access to reset lines should + specify them as a reset phandle in their corresponding node as + specified in reset.txt. + + For list of all valid reset indices see + for i.MX7, + for i.MX8MQ, i.MX8MM and i.MX8MN, + for i.MX8MP. + +properties: + compatible: + oneOf: + - items: + - enum: + - fsl,imx7d-src + - fsl,imx8mq-src + - fsl,imx8mp-src + - const: syscon + - items: + - enum: + - fsl,imx8mm-src + - fsl,imx8mn-src + - const: fsl,imx8mq-src + - const: syscon + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + '#reset-cells': + const: 1 + +required: + - compatible + - reg + - interrupts + - '#reset-cells' + +additionalProperties: false + +examples: + - | + #include + + reset-controller@30390000 { + compatible = "fsl,imx7d-src", "syscon"; + reg = <0x30390000 0x2000>; + interrupts = ; + #reset-cells = <1>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/hisilicon,hi3660-reset.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/hisilicon,hi3660-reset.yaml index f9436f36d4..e4de002d69 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/hisilicon,hi3660-reset.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/hisilicon,hi3660-reset.yaml @@ -1,58 +1,58 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/reset/hisilicon,hi3660-reset.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Hisilicon System Reset Controller - -maintainers: - - Wei Xu - -description: | - Please also refer to reset.txt in this directory for common reset - controller binding usage. - The reset controller registers are part of the system-ctl block on - hi3660 and hi3670 SoCs. - -properties: - compatible: - oneOf: - - items: - - const: hisilicon,hi3660-reset - - items: - - const: hisilicon,hi3670-reset - - const: hisilicon,hi3660-reset - - hisi,rst-syscon: - deprecated: true - description: phandle of the reset's syscon, use hisilicon,rst-syscon instead - $ref: /schemas/types.yaml#/definitions/phandle - - hisilicon,rst-syscon: - description: phandle of the reset's syscon. - $ref: /schemas/types.yaml#/definitions/phandle - - '#reset-cells': - description: | - Specifies the number of cells needed to encode a reset source. - Cell #1 : offset of the reset assert control register from the syscon - register base - offset + 4: deassert control register - offset + 8: status control register - Cell #2 : bit position of the reset in the reset control register - const: 2 - -required: - - compatible - -additionalProperties: false - -examples: - - | - iomcu_rst_controller { - compatible = "hisilicon,hi3660-reset"; - hisilicon,rst-syscon = <&iomcu>; - #reset-cells = <2>; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/reset/hisilicon,hi3660-reset.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Hisilicon System Reset Controller + +maintainers: + - Wei Xu + +description: | + Please also refer to reset.txt in this directory for common reset + controller binding usage. + The reset controller registers are part of the system-ctl block on + hi3660 and hi3670 SoCs. + +properties: + compatible: + oneOf: + - items: + - const: hisilicon,hi3660-reset + - items: + - const: hisilicon,hi3670-reset + - const: hisilicon,hi3660-reset + + hisi,rst-syscon: + deprecated: true + description: phandle of the reset's syscon, use hisilicon,rst-syscon instead + $ref: /schemas/types.yaml#/definitions/phandle + + hisilicon,rst-syscon: + description: phandle of the reset's syscon. + $ref: /schemas/types.yaml#/definitions/phandle + + '#reset-cells': + description: | + Specifies the number of cells needed to encode a reset source. + Cell #1 : offset of the reset assert control register from the syscon + register base + offset + 4: deassert control register + offset + 8: status control register + Cell #2 : bit position of the reset in the reset control register + const: 2 + +required: + - compatible + +additionalProperties: false + +examples: + - | + iomcu_rst_controller { + compatible = "hisilicon,hi3660-reset"; + hisilicon,rst-syscon = <&iomcu>; + #reset-cells = <2>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/img,pistachio-reset.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/img,pistachio-reset.txt index 9fb0457265..8c05d16367 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/img,pistachio-reset.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/img,pistachio-reset.txt @@ -1,55 +1,55 @@ -Pistachio Reset Controller -============================================================================= - -This binding describes a reset controller device that is used to enable and -disable individual IP blocks within the Pistachio SoC using "soft reset" -control bits found in the Pistachio SoC top level registers. - -The actual action taken when soft reset is asserted is hardware dependent. -However, when asserted it may not be possible to access the hardware's -registers, and following an assert/deassert sequence the hardware's previous -state may no longer be valid. - -Please refer to Documentation/devicetree/bindings/reset/reset.txt -for common reset controller binding usage. - -Required properties: - -- compatible: Contains "img,pistachio-reset" - -- #reset-cells: Contains 1 - -Example: - - cr_periph: clk@18148000 { - compatible = "img,pistachio-cr-periph", "syscon", "simple-mfd"; - reg = <0x18148000 0x1000>; - clocks = <&clk_periph PERIPH_CLK_SYS>; - clock-names = "sys"; - #clock-cells = <1>; - - pistachio_reset: reset-controller { - compatible = "img,pistachio-reset"; - #reset-cells = <1>; - }; - }; - -Specifying reset control of devices -======================================= - -Device nodes should specify the reset channel required in their "resets" -property, containing a phandle to the pistachio reset device node and an -index specifying which reset to use, as described in -Documentation/devicetree/bindings/reset/reset.txt. - -Example: - - spdif_out: spdif-out@18100d00 { - ... - resets = <&pistachio_reset PISTACHIO_RESET_SPDIF_OUT>; - reset-names = "rst"; - ... - }; - -Macro definitions for the supported resets can be found in: -include/dt-bindings/reset/pistachio-resets.h +Pistachio Reset Controller +============================================================================= + +This binding describes a reset controller device that is used to enable and +disable individual IP blocks within the Pistachio SoC using "soft reset" +control bits found in the Pistachio SoC top level registers. + +The actual action taken when soft reset is asserted is hardware dependent. +However, when asserted it may not be possible to access the hardware's +registers, and following an assert/deassert sequence the hardware's previous +state may no longer be valid. + +Please refer to Documentation/devicetree/bindings/reset/reset.txt +for common reset controller binding usage. + +Required properties: + +- compatible: Contains "img,pistachio-reset" + +- #reset-cells: Contains 1 + +Example: + + cr_periph: clk@18148000 { + compatible = "img,pistachio-cr-periph", "syscon", "simple-mfd"; + reg = <0x18148000 0x1000>; + clocks = <&clk_periph PERIPH_CLK_SYS>; + clock-names = "sys"; + #clock-cells = <1>; + + pistachio_reset: reset-controller { + compatible = "img,pistachio-reset"; + #reset-cells = <1>; + }; + }; + +Specifying reset control of devices +======================================= + +Device nodes should specify the reset channel required in their "resets" +property, containing a phandle to the pistachio reset device node and an +index specifying which reset to use, as described in +Documentation/devicetree/bindings/reset/reset.txt. + +Example: + + spdif_out: spdif-out@18100d00 { + ... + resets = <&pistachio_reset PISTACHIO_RESET_SPDIF_OUT>; + reset-names = "rst"; + ... + }; + +Macro definitions for the supported resets can be found in: +include/dt-bindings/reset/pistachio-resets.h diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/intel,rcu-gw.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/intel,rcu-gw.yaml index c0ce4bf5a2..13bf6bb3f0 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/intel,rcu-gw.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/intel,rcu-gw.yaml @@ -1,65 +1,65 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/reset/intel,rcu-gw.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: System Reset Controller on Intel Gateway SoCs - -maintainers: - - Dilip Kota - -properties: - compatible: - enum: - - intel,rcu-lgm - - intel,rcu-xrx200 - - reg: - description: Reset controller registers. - maxItems: 1 - - intel,global-reset: - description: Global reset register offset and bit offset. - $ref: /schemas/types.yaml#/definitions/uint32-array - items: - - description: Register offset - - description: Register bit offset - minimum: 0 - maximum: 31 - - "#reset-cells": - minimum: 2 - maximum: 3 - description: | - First cell is reset request register offset. - Second cell is bit offset in reset request register. - Third cell is bit offset in reset status register. - For LGM SoC, reset cell count is 2 as bit offset in - reset request and reset status registers is same. Whereas - 3 for legacy SoCs as bit offset differs. - -required: - - compatible - - reg - - intel,global-reset - - "#reset-cells" - -additionalProperties: false - -examples: - - | - rcu0: reset-controller@e0000000 { - compatible = "intel,rcu-lgm"; - reg = <0xe0000000 0x20000>; - intel,global-reset = <0x10 30>; - #reset-cells = <2>; - }; - - pwm: pwm@e0d00000 { - compatible = "intel,lgm-pwm"; - reg = <0xe0d00000 0x30>; - clocks = <&cgu0 1>; - #pwm-cells = <2>; - resets = <&rcu0 0x30 21>; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/reset/intel,rcu-gw.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: System Reset Controller on Intel Gateway SoCs + +maintainers: + - Dilip Kota + +properties: + compatible: + enum: + - intel,rcu-lgm + - intel,rcu-xrx200 + + reg: + description: Reset controller registers. + maxItems: 1 + + intel,global-reset: + description: Global reset register offset and bit offset. + $ref: /schemas/types.yaml#/definitions/uint32-array + items: + - description: Register offset + - description: Register bit offset + minimum: 0 + maximum: 31 + + "#reset-cells": + minimum: 2 + maximum: 3 + description: | + First cell is reset request register offset. + Second cell is bit offset in reset request register. + Third cell is bit offset in reset status register. + For LGM SoC, reset cell count is 2 as bit offset in + reset request and reset status registers is same. Whereas + 3 for legacy SoCs as bit offset differs. + +required: + - compatible + - reg + - intel,global-reset + - "#reset-cells" + +additionalProperties: false + +examples: + - | + rcu0: reset-controller@e0000000 { + compatible = "intel,rcu-lgm"; + reg = <0xe0000000 0x20000>; + intel,global-reset = <0x10 30>; + #reset-cells = <2>; + }; + + pwm: pwm@e0d00000 { + compatible = "intel,lgm-pwm"; + reg = <0xe0d00000 0x30>; + clocks = <&cgu0 1>; + #pwm-cells = <2>; + resets = <&rcu0 0x30 21>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/nuvoton,npcm750-reset.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/nuvoton,npcm750-reset.yaml index 02c2817a1a..d82e65e37c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/nuvoton,npcm750-reset.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/nuvoton,npcm750-reset.yaml @@ -1,58 +1,58 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/reset/nuvoton,npcm750-reset.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Nuvoton NPCM Reset controller - -maintainers: - - Tomer Maimon - -properties: - compatible: - enum: - - nuvoton,npcm750-reset # Poleg NPCM7XX SoC - - nuvoton,npcm845-reset # Arbel NPCM8XX SoC - - reg: - maxItems: 1 - - '#reset-cells': - const: 2 - - nuvoton,sysgcr: - $ref: /schemas/types.yaml#/definitions/phandle - description: a phandle to access GCR registers. - - nuvoton,sw-reset-number: - $ref: /schemas/types.yaml#/definitions/uint32 - minimum: 1 - maximum: 4 - description: | - Contains the software reset number to restart the SoC. - If not specified, software reset is disabled. - -required: - - compatible - - reg - - '#reset-cells' - - nuvoton,sysgcr - -additionalProperties: false - -examples: - - | - #include - rstc: rstc@f0801000 { - compatible = "nuvoton,npcm750-reset"; - reg = <0xf0801000 0x70>; - #reset-cells = <2>; - nuvoton,sysgcr = <&gcr>; - nuvoton,sw-reset-number = <2>; - }; - - // Specifying reset lines connected to IP NPCM7XX modules - spi0: spi { - resets = <&rstc NPCM7XX_RESET_IPSRST2 NPCM7XX_RESET_PSPI1>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/reset/nuvoton,npcm750-reset.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Nuvoton NPCM Reset controller + +maintainers: + - Tomer Maimon + +properties: + compatible: + enum: + - nuvoton,npcm750-reset # Poleg NPCM7XX SoC + - nuvoton,npcm845-reset # Arbel NPCM8XX SoC + + reg: + maxItems: 1 + + '#reset-cells': + const: 2 + + nuvoton,sysgcr: + $ref: /schemas/types.yaml#/definitions/phandle + description: a phandle to access GCR registers. + + nuvoton,sw-reset-number: + $ref: /schemas/types.yaml#/definitions/uint32 + minimum: 1 + maximum: 4 + description: | + Contains the software reset number to restart the SoC. + If not specified, software reset is disabled. + +required: + - compatible + - reg + - '#reset-cells' + - nuvoton,sysgcr + +additionalProperties: false + +examples: + - | + #include + rstc: rstc@f0801000 { + compatible = "nuvoton,npcm750-reset"; + reg = <0xf0801000 0x70>; + #reset-cells = <2>; + nuvoton,sysgcr = <&gcr>; + nuvoton,sw-reset-number = <2>; + }; + + // Specifying reset lines connected to IP NPCM7XX modules + spi0: spi { + resets = <&rstc NPCM7XX_RESET_IPSRST2 NPCM7XX_RESET_PSPI1>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/renesas,rzg2l-usbphy-ctrl.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/renesas,rzg2l-usbphy-ctrl.yaml index 41bda551c0..b0b20af153 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/renesas,rzg2l-usbphy-ctrl.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/renesas,rzg2l-usbphy-ctrl.yaml @@ -1,77 +1,77 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/reset/renesas,rzg2l-usbphy-ctrl.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Renesas RZ/{G2L,V2L} USBPHY Control - -maintainers: - - Biju Das - -description: - The RZ/G2L USBPHY Control mainly controls reset and power down of the - USB/PHY. - -properties: - compatible: - items: - - enum: - - renesas,r9a07g043-usbphy-ctrl # RZ/G2UL and RZ/Five - - renesas,r9a07g044-usbphy-ctrl # RZ/G2{L,LC} - - renesas,r9a07g054-usbphy-ctrl # RZ/V2L - - const: renesas,rzg2l-usbphy-ctrl - - reg: - maxItems: 1 - - clocks: - maxItems: 1 - - resets: - maxItems: 1 - - power-domains: - maxItems: 1 - - '#reset-cells': - const: 1 - description: | - The phandle's argument in the reset specifier is the PHY reset associated - with the USB port. - 0 = Port 1 Phy reset - 1 = Port 2 Phy reset - - regulator-vbus: - type: object - description: USB VBUS regulator - $ref: /schemas/regulator/regulator.yaml# - unevaluatedProperties: false - -required: - - compatible - - reg - - clocks - - resets - - power-domains - - '#reset-cells' - - regulator-vbus - -additionalProperties: false - -examples: - - | - #include - - phyrst: usbphy-ctrl@11c40000 { - compatible = "renesas,r9a07g044-usbphy-ctrl", - "renesas,rzg2l-usbphy-ctrl"; - reg = <0x11c40000 0x10000>; - clocks = <&cpg CPG_MOD R9A07G044_USB_PCLK>; - resets = <&cpg R9A07G044_USB_PRESETN>; - power-domains = <&cpg>; - #reset-cells = <1>; - regulator-vbus { - regulator-name = "vbus"; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/reset/renesas,rzg2l-usbphy-ctrl.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Renesas RZ/{G2L,V2L} USBPHY Control + +maintainers: + - Biju Das + +description: + The RZ/G2L USBPHY Control mainly controls reset and power down of the + USB/PHY. + +properties: + compatible: + items: + - enum: + - renesas,r9a07g043-usbphy-ctrl # RZ/G2UL and RZ/Five + - renesas,r9a07g044-usbphy-ctrl # RZ/G2{L,LC} + - renesas,r9a07g054-usbphy-ctrl # RZ/V2L + - const: renesas,rzg2l-usbphy-ctrl + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + resets: + maxItems: 1 + + power-domains: + maxItems: 1 + + '#reset-cells': + const: 1 + description: | + The phandle's argument in the reset specifier is the PHY reset associated + with the USB port. + 0 = Port 1 Phy reset + 1 = Port 2 Phy reset + + regulator-vbus: + type: object + description: USB VBUS regulator + $ref: /schemas/regulator/regulator.yaml# + unevaluatedProperties: false + +required: + - compatible + - reg + - clocks + - resets + - power-domains + - '#reset-cells' + - regulator-vbus + +additionalProperties: false + +examples: + - | + #include + + phyrst: usbphy-ctrl@11c40000 { + compatible = "renesas,r9a07g044-usbphy-ctrl", + "renesas,rzg2l-usbphy-ctrl"; + reg = <0x11c40000 0x10000>; + clocks = <&cpg CPG_MOD R9A07G044_USB_PCLK>; + resets = <&cpg R9A07G044_USB_PRESETN>; + power-domains = <&cpg>; + #reset-cells = <1>; + regulator-vbus { + regulator-name = "vbus"; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/st,sti-softreset.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/st,sti-softreset.txt index 9f299e7d5a..3661e6153a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/st,sti-softreset.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/st,sti-softreset.txt @@ -1,44 +1,44 @@ -STMicroelectronics STi family Sysconfig Peripheral SoftReset Controller -============================================================================= - -This binding describes a reset controller device that is used to enable and -disable on-chip peripheral controllers such as USB and SATA, using -"softreset" control bits found in the STi family SoC system configuration -registers. - -The actual action taken when softreset is asserted is hardware dependent. -However, when asserted it may not be possible to access the hardware's -registers and after an assert/deassert sequence the hardware's previous state -may no longer be valid. - -Please refer to reset.txt in this directory for common reset -controller binding usage. - -Required properties: -- compatible: Should be "st,stih407-softreset"; -- #reset-cells: 1, see below - -example: - - softreset: softreset-controller { - #reset-cells = <1>; - compatible = "st,stih407-softreset"; - }; - - -Specifying softreset control of devices -======================================= - -Device nodes should specify the reset channel required in their "resets" -property, containing a phandle to the softreset device node and an -index specifying which channel to use, as described in reset.txt - -example: - - ethernet0{ - resets = <&softreset STIH415_ETH0_SOFTRESET>; - }; - -Macro definitions for the supported reset channels can be found in: - -include/dt-bindings/reset/stih407-resets.h +STMicroelectronics STi family Sysconfig Peripheral SoftReset Controller +============================================================================= + +This binding describes a reset controller device that is used to enable and +disable on-chip peripheral controllers such as USB and SATA, using +"softreset" control bits found in the STi family SoC system configuration +registers. + +The actual action taken when softreset is asserted is hardware dependent. +However, when asserted it may not be possible to access the hardware's +registers and after an assert/deassert sequence the hardware's previous state +may no longer be valid. + +Please refer to reset.txt in this directory for common reset +controller binding usage. + +Required properties: +- compatible: Should be "st,stih407-softreset"; +- #reset-cells: 1, see below + +example: + + softreset: softreset-controller { + #reset-cells = <1>; + compatible = "st,stih407-softreset"; + }; + + +Specifying softreset control of devices +======================================= + +Device nodes should specify the reset channel required in their "resets" +property, containing a phandle to the softreset device node and an +index specifying which channel to use, as described in reset.txt + +example: + + ethernet0{ + resets = <&softreset STIH415_ETH0_SOFTRESET>; + }; + +Macro definitions for the supported reset channels can be found in: + +include/dt-bindings/reset/stih407-resets.h diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/st,stih407-powerdown.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/st,stih407-powerdown.yaml index d5af269f5f..d3790e6026 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/st,stih407-powerdown.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/st,stih407-powerdown.yaml @@ -1,49 +1,49 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/reset/st,stih407-powerdown.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: STMicroelectronics STi family Sysconfig Peripheral Powerdown Reset Controller - -maintainers: - - Srinivas Kandagatla - -description: | - This binding describes a reset controller device that is used to enable and - disable on-chip peripheral controllers such as USB and SATA, using - "powerdown" control bits found in the STi family SoC system configuration - registers. These have been grouped together into a single reset controller - device for convenience. - - The actual action taken when powerdown is asserted is hardware dependent. - However, when asserted it may not be possible to access the hardware's - registers and after an assert/deassert sequence the hardware's previous state - may no longer be valid. - -properties: - compatible: - const: st,stih407-powerdown - - '#reset-cells': - const: 1 - -required: - - compatible - - '#reset-cells' - -additionalProperties: false - -examples: - - | - #include - - powerdown: powerdown-controller { - compatible = "st,stih407-powerdown"; - #reset-cells = <1>; - }; - - // Specifying powerdown control of devices: - st_dwc3: dwc3 { - resets = <&powerdown STIH407_USB3_POWERDOWN>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/reset/st,stih407-powerdown.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: STMicroelectronics STi family Sysconfig Peripheral Powerdown Reset Controller + +maintainers: + - Srinivas Kandagatla + +description: | + This binding describes a reset controller device that is used to enable and + disable on-chip peripheral controllers such as USB and SATA, using + "powerdown" control bits found in the STi family SoC system configuration + registers. These have been grouped together into a single reset controller + device for convenience. + + The actual action taken when powerdown is asserted is hardware dependent. + However, when asserted it may not be possible to access the hardware's + registers and after an assert/deassert sequence the hardware's previous state + may no longer be valid. + +properties: + compatible: + const: st,stih407-powerdown + + '#reset-cells': + const: 1 + +required: + - compatible + - '#reset-cells' + +additionalProperties: false + +examples: + - | + #include + + powerdown: powerdown-controller { + compatible = "st,stih407-powerdown"; + #reset-cells = <1>; + }; + + // Specifying powerdown control of devices: + st_dwc3: dwc3 { + resets = <&powerdown STIH407_USB3_POWERDOWN>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/ti,sci-reset.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/ti,sci-reset.yaml index 99ff5b8b36..1db08ce9ae 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/ti,sci-reset.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/ti,sci-reset.yaml @@ -1,51 +1,51 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/reset/ti,sci-reset.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: TI-SCI reset controller - -maintainers: - - Nishanth Menon - -description: | - Some TI SoCs contain a system controller (like the Power Management Micro - Controller (PMMC) on Keystone 66AK2G SoC) that are responsible for controlling - the state of the various hardware modules present on the SoC. Communication - between the host processor running an OS and the system controller happens - through a protocol called TI System Control Interface (TI-SCI protocol). - - This reset controller node uses the TI SCI protocol to perform the reset - management of various hardware modules present on the SoC. Must be a child - node of the associated TI-SCI system controller node. - -properties: - $nodename: - pattern: "^reset-controller$" - - compatible: - const: ti,sci-reset - - "#reset-cells": - const: 2 - description: - The two cells represent values that the TI-SCI controller defines. - - The first cell should contain the device ID. - - The second cell should contain the reset mask corresponding to the device - used by system controller. - - Please see https://software-dl.ti.com/tisci/esd/latest/index.html for - protocol documentation for the values to be used for different devices. - - -additionalProperties: false - -examples: - - | - k3_reset: reset-controller { - compatible = "ti,sci-reset"; - #reset-cells = <2>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/reset/ti,sci-reset.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: TI-SCI reset controller + +maintainers: + - Nishanth Menon + +description: | + Some TI SoCs contain a system controller (like the Power Management Micro + Controller (PMMC) on Keystone 66AK2G SoC) that are responsible for controlling + the state of the various hardware modules present on the SoC. Communication + between the host processor running an OS and the system controller happens + through a protocol called TI System Control Interface (TI-SCI protocol). + + This reset controller node uses the TI SCI protocol to perform the reset + management of various hardware modules present on the SoC. Must be a child + node of the associated TI-SCI system controller node. + +properties: + $nodename: + pattern: "^reset-controller$" + + compatible: + const: ti,sci-reset + + "#reset-cells": + const: 2 + description: + The two cells represent values that the TI-SCI controller defines. + + The first cell should contain the device ID. + + The second cell should contain the reset mask corresponding to the device + used by system controller. + + Please see https://software-dl.ti.com/tisci/esd/latest/index.html for + protocol documentation for the values to be used for different devices. + + +additionalProperties: false + +examples: + - | + k3_reset: reset-controller { + compatible = "ti,sci-reset"; + #reset-cells = <2>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/xlnx,zynqmp-reset.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/xlnx,zynqmp-reset.yaml index d1a010e8e3..1f1b42dde9 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/xlnx,zynqmp-reset.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/xlnx,zynqmp-reset.yaml @@ -1,54 +1,54 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/reset/xlnx,zynqmp-reset.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Zynq UltraScale+ MPSoC and Versal reset - -maintainers: - - Mubin Sayyed - - Radhey Shyam Pandey - -description: | - The Zynq UltraScale+ MPSoC and Versal has several different resets. - - The PS reset subsystem is responsible for handling the external reset - input to the device and that all internal reset requirements are met - for the system (as a whole) and for the functional units. - - Please also refer to reset.txt in this directory for common reset - controller binding usage. Device nodes that need access to reset - lines should specify them as a reset phandle in their corresponding - node as specified in reset.txt. - - For list of all valid reset indices for Zynq UltraScale+ MPSoC - - - For list of all valid reset indices for Versal - - -properties: - compatible: - enum: - - xlnx,zynqmp-reset - - xlnx,versal-reset - - xlnx,versal-net-reset - - "#reset-cells": - const: 1 - -required: - - compatible - - "#reset-cells" - -additionalProperties: false - -examples: - - | - zynqmp_reset: reset-controller { - compatible = "xlnx,zynqmp-reset"; - #reset-cells = <1>; - }; - -... +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/reset/xlnx,zynqmp-reset.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Zynq UltraScale+ MPSoC and Versal reset + +maintainers: + - Mubin Sayyed + - Radhey Shyam Pandey + +description: | + The Zynq UltraScale+ MPSoC and Versal has several different resets. + + The PS reset subsystem is responsible for handling the external reset + input to the device and that all internal reset requirements are met + for the system (as a whole) and for the functional units. + + Please also refer to reset.txt in this directory for common reset + controller binding usage. Device nodes that need access to reset + lines should specify them as a reset phandle in their corresponding + node as specified in reset.txt. + + For list of all valid reset indices for Zynq UltraScale+ MPSoC + + + For list of all valid reset indices for Versal + + +properties: + compatible: + enum: + - xlnx,zynqmp-reset + - xlnx,versal-reset + - xlnx,versal-net-reset + + "#reset-cells": + const: 1 + +required: + - compatible + - "#reset-cells" + +additionalProperties: false + +examples: + - | + zynqmp_reset: reset-controller { + compatible = "xlnx,zynqmp-reset"; + #reset-cells = <1>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/zynq-reset.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/zynq-reset.txt index 39e1a3024c..5860120e30 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/zynq-reset.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/zynq-reset.txt @@ -1,68 +1,68 @@ -Xilinx Zynq Reset Manager - -The Zynq AP-SoC has several different resets. - -See Chapter 26 of the Zynq TRM (UG585) for more information about Zynq resets. - -Required properties: -- compatible: "xlnx,zynq-reset" -- reg: SLCR offset and size taken via syscon <0x200 0x48> -- syscon: <&slcr> - This should be a phandle to the Zynq's SLCR registers. -- #reset-cells: Must be 1 - -The Zynq Reset Manager needs to be a childnode of the SLCR. - -Example: - rstc: rstc@200 { - compatible = "xlnx,zynq-reset"; - reg = <0x200 0x48>; - #reset-cells = <1>; - syscon = <&slcr>; - }; - -Reset outputs: - 0 : soft reset - 32 : ddr reset - 64 : topsw reset - 96 : dmac reset - 128: usb0 reset - 129: usb1 reset - 160: gem0 reset - 161: gem1 reset - 164: gem0 rx reset - 165: gem1 rx reset - 166: gem0 ref reset - 167: gem1 ref reset - 192: sdio0 reset - 193: sdio1 reset - 196: sdio0 ref reset - 197: sdio1 ref reset - 224: spi0 reset - 225: spi1 reset - 226: spi0 ref reset - 227: spi1 ref reset - 256: can0 reset - 257: can1 reset - 258: can0 ref reset - 259: can1 ref reset - 288: i2c0 reset - 289: i2c1 reset - 320: uart0 reset - 321: uart1 reset - 322: uart0 ref reset - 323: uart1 ref reset - 352: gpio reset - 384: lqspi reset - 385: qspi ref reset - 416: smc reset - 417: smc ref reset - 448: ocm reset - 512: fpga0 out reset - 513: fpga1 out reset - 514: fpga2 out reset - 515: fpga3 out reset - 544: a9 reset 0 - 545: a9 reset 1 - 552: peri reset - +Xilinx Zynq Reset Manager + +The Zynq AP-SoC has several different resets. + +See Chapter 26 of the Zynq TRM (UG585) for more information about Zynq resets. + +Required properties: +- compatible: "xlnx,zynq-reset" +- reg: SLCR offset and size taken via syscon <0x200 0x48> +- syscon: <&slcr> + This should be a phandle to the Zynq's SLCR registers. +- #reset-cells: Must be 1 + +The Zynq Reset Manager needs to be a childnode of the SLCR. + +Example: + rstc: rstc@200 { + compatible = "xlnx,zynq-reset"; + reg = <0x200 0x48>; + #reset-cells = <1>; + syscon = <&slcr>; + }; + +Reset outputs: + 0 : soft reset + 32 : ddr reset + 64 : topsw reset + 96 : dmac reset + 128: usb0 reset + 129: usb1 reset + 160: gem0 reset + 161: gem1 reset + 164: gem0 rx reset + 165: gem1 rx reset + 166: gem0 ref reset + 167: gem1 ref reset + 192: sdio0 reset + 193: sdio1 reset + 196: sdio0 ref reset + 197: sdio1 ref reset + 224: spi0 reset + 225: spi1 reset + 226: spi0 ref reset + 227: spi1 ref reset + 256: can0 reset + 257: can1 reset + 258: can0 ref reset + 259: can1 ref reset + 288: i2c0 reset + 289: i2c1 reset + 320: uart0 reset + 321: uart1 reset + 322: uart0 ref reset + 323: uart1 ref reset + 352: gpio reset + 384: lqspi reset + 385: qspi ref reset + 416: smc reset + 417: smc ref reset + 448: ocm reset + 512: fpga0 out reset + 513: fpga1 out reset + 514: fpga2 out reset + 515: fpga3 out reset + 544: a9 reset 0 + 545: a9 reset 1 + 552: peri reset + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/resource-names.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/resource-names.txt index bead3af15f..e280fef6f2 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/resource-names.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/resource-names.txt @@ -1,54 +1,54 @@ -Some properties contain an ordered list of 1 or more datum which are -normally accessed by index. However, some devices will have multiple -values which are more naturally accessed by name. Device nodes can -include a supplemental property for assigning names to each of the list -items. The names property consists of a list of strings in the same -order as the data in the resource property. - -The following supplemental names properties are defined. - -Resource Property Supplemental Names Property ------------------ --------------------------- -reg reg-names -clocks clock-names -interrupts interrupt-names - -Usage: - -The -names property must be used in conjunction with the normal resource -property. If not it will be ignored. - -Examples: - -l4-abe { - compatible = "simple-bus"; - #address-cells = <2>; - #size-cells = <1>; - ranges = <0 0 0x48000000 0x00001000>, /* MPU path */ - <1 0 0x49000000 0x00001000>; /* L3 path */ - mcasp { - compatible = "ti,mcasp"; - reg = <0 0x10 0x10>, <0 0x20 0x10>, - <1 0x10 0x10>, <1 0x20 0x10>; - reg-names = "mpu", "dat", - "dma", "dma_dat"; - interrupts = <11>, <12>; - interrupt-names = "rx", "tx"; - }; - - timer { - compatible = "ti,timer"; - reg = <0 0x40 0x10>, <1 0x40 0x10>; - reg-names = "mpu", "dma"; - }; -}; - - -usb { - compatible = "ti,usb-host"; - reg = <0x4a064000 0x800>, <0x4a064800 0x200>, - <0x4a064c00 0x200>; - reg-names = "config", "ohci", "ehci"; - interrupts = <14>, <15>; - interrupt-names = "ohci", "ehci"; -}; +Some properties contain an ordered list of 1 or more datum which are +normally accessed by index. However, some devices will have multiple +values which are more naturally accessed by name. Device nodes can +include a supplemental property for assigning names to each of the list +items. The names property consists of a list of strings in the same +order as the data in the resource property. + +The following supplemental names properties are defined. + +Resource Property Supplemental Names Property +----------------- --------------------------- +reg reg-names +clocks clock-names +interrupts interrupt-names + +Usage: + +The -names property must be used in conjunction with the normal resource +property. If not it will be ignored. + +Examples: + +l4-abe { + compatible = "simple-bus"; + #address-cells = <2>; + #size-cells = <1>; + ranges = <0 0 0x48000000 0x00001000>, /* MPU path */ + <1 0 0x49000000 0x00001000>; /* L3 path */ + mcasp { + compatible = "ti,mcasp"; + reg = <0 0x10 0x10>, <0 0x20 0x10>, + <1 0x10 0x10>, <1 0x20 0x10>; + reg-names = "mpu", "dat", + "dma", "dma_dat"; + interrupts = <11>, <12>; + interrupt-names = "rx", "tx"; + }; + + timer { + compatible = "ti,timer"; + reg = <0 0x40 0x10>, <1 0x40 0x10>; + reg-names = "mpu", "dma"; + }; +}; + + +usb { + compatible = "ti,usb-host"; + reg = <0x4a064000 0x800>, <0x4a064800 0x200>, + <0x4a064c00 0x200>; + reg-names = "config", "ohci", "ehci"; + interrupts = <14>, <15>; + interrupt-names = "ohci", "ehci"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rng/brcm,bcm2835.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rng/brcm,bcm2835.yaml index 0e79770038..6da674666d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rng/brcm,bcm2835.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rng/brcm,bcm2835.yaml @@ -1,82 +1,82 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/rng/brcm,bcm2835.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: BCM2835/6368 Random number generator - -maintainers: - - Stefan Wahren - - Florian Fainelli - - Herbert Xu - -properties: - compatible: - enum: - - brcm,bcm2835-rng - - brcm,bcm-nsp-rng - - brcm,bcm5301x-rng - - brcm,bcm6368-rng - - reg: - maxItems: 1 - - clocks: - maxItems: 1 - - clock-names: - const: ipsec - - resets: - maxItems: 1 - - reset-names: - const: ipsec - - interrupts: - maxItems: 1 - -required: - - compatible - - reg - -if: - properties: - compatible: - enum: - - brcm,bcm6368-rng -then: - required: - - clocks - - clock-names - - resets - - reset-names - -additionalProperties: false - -examples: - - | - rng@7e104000 { - compatible = "brcm,bcm2835-rng"; - reg = <0x7e104000 0x10>; - interrupts = <2 29>; - }; - - - | - rng@18033000 { - compatible = "brcm,bcm-nsp-rng"; - reg = <0x18033000 0x14>; - }; - - - | - rng@10004180 { - compatible = "brcm,bcm6368-rng"; - reg = <0x10004180 0x14>; - - clocks = <&periph_clk 18>; - clock-names = "ipsec"; - - resets = <&periph_rst 4>; - reset-names = "ipsec"; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/rng/brcm,bcm2835.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: BCM2835/6368 Random number generator + +maintainers: + - Stefan Wahren + - Florian Fainelli + - Herbert Xu + +properties: + compatible: + enum: + - brcm,bcm2835-rng + - brcm,bcm-nsp-rng + - brcm,bcm5301x-rng + - brcm,bcm6368-rng + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + clock-names: + const: ipsec + + resets: + maxItems: 1 + + reset-names: + const: ipsec + + interrupts: + maxItems: 1 + +required: + - compatible + - reg + +if: + properties: + compatible: + enum: + - brcm,bcm6368-rng +then: + required: + - clocks + - clock-names + - resets + - reset-names + +additionalProperties: false + +examples: + - | + rng@7e104000 { + compatible = "brcm,bcm2835-rng"; + reg = <0x7e104000 0x10>; + interrupts = <2 29>; + }; + + - | + rng@18033000 { + compatible = "brcm,bcm-nsp-rng"; + reg = <0x18033000 0x14>; + }; + + - | + rng@10004180 { + compatible = "brcm,bcm6368-rng"; + reg = <0x10004180 0x14>; + + clocks = <&periph_clk 18>; + clock-names = "ipsec"; + + resets = <&periph_rst 4>; + reset-names = "ipsec"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rng/omap_rng.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rng/omap_rng.yaml index 677d8dcfc5..c0ac4f68ea 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rng/omap_rng.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rng/omap_rng.yaml @@ -1,81 +1,81 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/rng/omap_rng.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: OMAP SoC and Inside-Secure HWRNG Module - -maintainers: - - Jayesh Choudhary - -properties: - compatible: - enum: - - ti,omap2-rng - - ti,omap4-rng - - inside-secure,safexcel-eip76 - - ti,hwmods: - const: rng - deprecated: true - description: Name of the hwmod associated with the RNG module - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - minItems: 1 - items: - - description: EIP150 gateable clock - - description: Main gateable clock - - clock-names: - minItems: 1 - items: - - const: core - - const: reg - - -allOf: - - if: - properties: - compatible: - contains: - enum: - - ti,omap4-rng - - inside-secure,safexcel-eip76 - - then: - required: - - interrupts - - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - /* AM335x */ - rng: rng@48310000 { - compatible = "ti,omap4-rng"; - ti,hwmods = "rng"; - reg = <0x48310000 0x2000>; - interrupts = <111>; - }; - - | - /* SafeXcel IP-76 */ - trng: rng@f2760000 { - compatible = "inside-secure,safexcel-eip76"; - reg = <0xf2760000 0x7d>; - interrupts = <0 59 4>; - clocks = <&cpm_syscon0 1 25>; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/rng/omap_rng.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: OMAP SoC and Inside-Secure HWRNG Module + +maintainers: + - Jayesh Choudhary + +properties: + compatible: + enum: + - ti,omap2-rng + - ti,omap4-rng + - inside-secure,safexcel-eip76 + + ti,hwmods: + const: rng + deprecated: true + description: Name of the hwmod associated with the RNG module + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + minItems: 1 + items: + - description: EIP150 gateable clock + - description: Main gateable clock + + clock-names: + minItems: 1 + items: + - const: core + - const: reg + + +allOf: + - if: + properties: + compatible: + contains: + enum: + - ti,omap4-rng + - inside-secure,safexcel-eip76 + + then: + required: + - interrupts + + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + /* AM335x */ + rng: rng@48310000 { + compatible = "ti,omap4-rng"; + ti,hwmods = "rng"; + reg = <0x48310000 0x2000>; + interrupts = <111>; + }; + - | + /* SafeXcel IP-76 */ + trng: rng@f2760000 { + compatible = "inside-secure,safexcel-eip76"; + reg = <0xf2760000 0x7d>; + interrupts = <0 59 4>; + clocks = <&cpm_syscon0 1 25>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rng/samsung,exynos5250-trng.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rng/samsung,exynos5250-trng.yaml index 4f834168a4..1a71935d8a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rng/samsung,exynos5250-trng.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rng/samsung,exynos5250-trng.yaml @@ -1,76 +1,76 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/rng/samsung,exynos5250-trng.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Samsung Exynos SoC True Random Number Generator - -maintainers: - - Krzysztof Kozlowski - - Łukasz Stelmach - -properties: - compatible: - enum: - - samsung,exynos5250-trng - - samsung,exynos850-trng - - clocks: - minItems: 1 - maxItems: 2 - - clock-names: - minItems: 1 - maxItems: 2 - - reg: - maxItems: 1 - -required: - - compatible - - clocks - - clock-names - - reg - -allOf: - - if: - properties: - compatible: - contains: - const: samsung,exynos850-trng - - then: - properties: - clocks: - items: - - description: SSS (Security Sub System) operating clock - - description: SSS (Security Sub System) bus clock - - clock-names: - items: - - const: secss - - const: pclk - - else: - properties: - clocks: - items: - - description: SSS (Security Sub System) operating clock - - clock-names: - items: - - const: secss - -additionalProperties: false - -examples: - - | - #include - - rng@10830600 { - compatible = "samsung,exynos5250-trng"; - reg = <0x10830600 0x100>; - clocks = <&clock CLK_SSS>; - clock-names = "secss"; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/rng/samsung,exynos5250-trng.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Samsung Exynos SoC True Random Number Generator + +maintainers: + - Krzysztof Kozlowski + - Łukasz Stelmach + +properties: + compatible: + enum: + - samsung,exynos5250-trng + - samsung,exynos850-trng + + clocks: + minItems: 1 + maxItems: 2 + + clock-names: + minItems: 1 + maxItems: 2 + + reg: + maxItems: 1 + +required: + - compatible + - clocks + - clock-names + - reg + +allOf: + - if: + properties: + compatible: + contains: + const: samsung,exynos850-trng + + then: + properties: + clocks: + items: + - description: SSS (Security Sub System) operating clock + - description: SSS (Security Sub System) bus clock + + clock-names: + items: + - const: secss + - const: pclk + + else: + properties: + clocks: + items: + - description: SSS (Security Sub System) operating clock + + clock-names: + items: + - const: secss + +additionalProperties: false + +examples: + - | + #include + + rng@10830600 { + compatible = "samsung,exynos5250-trng"; + reg = <0x10830600 0x100>; + clocks = <&clock CLK_SSS>; + clock-names = "secss"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rng/st,stm32-rng.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rng/st,stm32-rng.yaml index a14ca44567..340d01d481 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rng/st,stm32-rng.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rng/st,stm32-rng.yaml @@ -1,71 +1,71 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/rng/st,stm32-rng.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: STMicroelectronics STM32 RNG - -description: | - The STM32 hardware random number generator is a simple fixed purpose - IP and is fully separated from other crypto functions. - -maintainers: - - Lionel Debieve - -properties: - compatible: - enum: - - st,stm32-rng - - st,stm32mp13-rng - - reg: - maxItems: 1 - - clocks: - maxItems: 1 - - resets: - maxItems: 1 - - clock-error-detect: - type: boolean - description: If set enable the clock detection management - - st,rng-lock-conf: - type: boolean - description: If set, the RNG configuration in RNG_CR, RNG_HTCR and - RNG_NSCR will be locked. - - access-controllers: - minItems: 1 - maxItems: 2 - -required: - - compatible - - reg - - clocks - -allOf: - - if: - properties: - compatible: - contains: - enum: - - st,stm32-rng - then: - properties: - st,rng-lock-conf: false - -additionalProperties: false - -examples: - - | - #include - rng@54003000 { - compatible = "st,stm32-rng"; - reg = <0x54003000 0x400>; - clocks = <&rcc RNG1_K>; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/rng/st,stm32-rng.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: STMicroelectronics STM32 RNG + +description: | + The STM32 hardware random number generator is a simple fixed purpose + IP and is fully separated from other crypto functions. + +maintainers: + - Lionel Debieve + +properties: + compatible: + enum: + - st,stm32-rng + - st,stm32mp13-rng + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + resets: + maxItems: 1 + + clock-error-detect: + type: boolean + description: If set enable the clock detection management + + st,rng-lock-conf: + type: boolean + description: If set, the RNG configuration in RNG_CR, RNG_HTCR and + RNG_NSCR will be locked. + + access-controllers: + minItems: 1 + maxItems: 2 + +required: + - compatible + - reg + - clocks + +allOf: + - if: + properties: + compatible: + contains: + enum: + - st,stm32-rng + then: + properties: + st,rng-lock-conf: false + +additionalProperties: false + +examples: + - | + #include + rng@54003000 { + compatible = "st,stm32-rng"; + reg = <0x54003000 0x400>; + clocks = <&rcc RNG1_K>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/adi,max31335.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/adi,max31335.yaml index 18b4a5ba62..0125cf6727 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/adi,max31335.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/adi,max31335.yaml @@ -1,70 +1,70 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/rtc/adi,max31335.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Analog Devices MAX31335 RTC - -maintainers: - - Antoniu Miclaus - -description: - Analog Devices MAX31335 I2C RTC ±2ppm Automotive Real-Time Clock with - Integrated MEMS Resonator. - -allOf: - - $ref: rtc.yaml# - -properties: - compatible: - const: adi,max31335 - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - "#clock-cells": - description: - RTC can be used as a clock source through its clock output pin. - const: 0 - - adi,tc-diode: - description: - Select the diode configuration for the trickle charger. - schottky - Schottky diode in series. - standard+schottky - standard diode + Schottky diode in series. - enum: [schottky, standard+schottky] - - trickle-resistor-ohms: - description: - Selected resistor for trickle charger. Should be specified if trickle - charger should be enabled. - enum: [3000, 6000, 11000] - -required: - - compatible - - reg - -unevaluatedProperties: false - -examples: - - | - #include - i2c { - #address-cells = <1>; - #size-cells = <0>; - - rtc@68 { - compatible = "adi,max31335"; - reg = <0x68>; - pinctrl-0 = <&rtc_nint_pins>; - interrupts-extended = <&gpio1 16 IRQ_TYPE_LEVEL_HIGH>; - aux-voltage-chargeable = <1>; - trickle-resistor-ohms = <6000>; - adi,tc-diode = "schottky"; - }; - }; -... +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/rtc/adi,max31335.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Analog Devices MAX31335 RTC + +maintainers: + - Antoniu Miclaus + +description: + Analog Devices MAX31335 I2C RTC ±2ppm Automotive Real-Time Clock with + Integrated MEMS Resonator. + +allOf: + - $ref: rtc.yaml# + +properties: + compatible: + const: adi,max31335 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + "#clock-cells": + description: + RTC can be used as a clock source through its clock output pin. + const: 0 + + adi,tc-diode: + description: + Select the diode configuration for the trickle charger. + schottky - Schottky diode in series. + standard+schottky - standard diode + Schottky diode in series. + enum: [schottky, standard+schottky] + + trickle-resistor-ohms: + description: + Selected resistor for trickle charger. Should be specified if trickle + charger should be enabled. + enum: [3000, 6000, 11000] + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + #include + i2c { + #address-cells = <1>; + #size-cells = <0>; + + rtc@68 { + compatible = "adi,max31335"; + reg = <0x68>; + pinctrl-0 = <&rtc_nint_pins>; + interrupts-extended = <&gpio1 16 IRQ_TYPE_LEVEL_HIGH>; + aux-voltage-chargeable = <1>; + trickle-resistor-ohms = <6000>; + adi,tc-diode = "schottky"; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/atmel,at91sam9260-rtt.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/atmel,at91sam9260-rtt.yaml index b967612369..a7f6c1d1a0 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/atmel,at91sam9260-rtt.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/atmel,at91sam9260-rtt.yaml @@ -1,71 +1,71 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -# Copyright (C) 2022 Microchip Technology, Inc. and its subsidiaries -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/rtc/atmel,at91sam9260-rtt.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Atmel AT91 RTT - -allOf: - - $ref: rtc.yaml# - -maintainers: - - Alexandre Belloni - -properties: - compatible: - oneOf: - - items: - - const: atmel,at91sam9260-rtt - - items: - - enum: - - microchip,sam9x60-rtt - - microchip,sam9x7-rtt - - const: atmel,at91sam9260-rtt - - items: - - const: microchip,sama7g5-rtt - - const: microchip,sam9x60-rtt - - const: atmel,at91sam9260-rtt - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - maxItems: 1 - - atmel,rtt-rtc-time-reg: - $ref: /schemas/types.yaml#/definitions/phandle-array - items: - - items: - - description: Phandle to the GPBR node. - - description: Offset within the GPBR block. - description: - Should encode the GPBR register used to store the time base when the - RTT is used as an RTC. The first cell should point to the GPBR node - and the second one encodes the offset within the GPBR block (or in - other words, the GPBR register used to store the time base). - -required: - - compatible - - reg - - interrupts - - clocks - - atmel,rtt-rtc-time-reg - -unevaluatedProperties: false - -examples: - - | - #include - - rtc@fffffd20 { - compatible = "atmel,at91sam9260-rtt"; - reg = <0xfffffd20 0x10>; - interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>; - clocks = <&clk32k>; - atmel,rtt-rtc-time-reg = <&gpbr 0x0>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +# Copyright (C) 2022 Microchip Technology, Inc. and its subsidiaries +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/rtc/atmel,at91sam9260-rtt.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Atmel AT91 RTT + +allOf: + - $ref: rtc.yaml# + +maintainers: + - Alexandre Belloni + +properties: + compatible: + oneOf: + - items: + - const: atmel,at91sam9260-rtt + - items: + - enum: + - microchip,sam9x60-rtt + - microchip,sam9x7-rtt + - const: atmel,at91sam9260-rtt + - items: + - const: microchip,sama7g5-rtt + - const: microchip,sam9x60-rtt + - const: atmel,at91sam9260-rtt + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + + atmel,rtt-rtc-time-reg: + $ref: /schemas/types.yaml#/definitions/phandle-array + items: + - items: + - description: Phandle to the GPBR node. + - description: Offset within the GPBR block. + description: + Should encode the GPBR register used to store the time base when the + RTT is used as an RTC. The first cell should point to the GPBR node + and the second one encodes the offset within the GPBR block (or in + other words, the GPBR register used to store the time base). + +required: + - compatible + - reg + - interrupts + - clocks + - atmel,rtt-rtc-time-reg + +unevaluatedProperties: false + +examples: + - | + #include + + rtc@fffffd20 { + compatible = "atmel,at91sam9260-rtt"; + reg = <0xfffffd20 0x10>; + interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>; + clocks = <&clk32k>; + atmel,rtt-rtc-time-reg = <&gpbr 0x0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/faraday,ftrtc010.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/faraday,ftrtc010.yaml index d3d0dd7ab8..b1c1a0e213 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/faraday,ftrtc010.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/faraday,ftrtc010.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/faraday,ftrtc010.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Faraday Technology FTRTC010 Real Time Clock - -maintainers: - - Linus Walleij - -description: | - This RTC appears in for example the Storlink Gemini family of SoCs. - -properties: - compatible: - oneOf: - - const: faraday,ftrtc010 - - items: - - const: cortina,gemini-rtc - - const: faraday,ftrtc010 - - resets: - maxItems: 1 - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - items: - - description: PCLK clocks - - description: EXTCLK clocks. Faraday calls it CLK1HZ and says the clock - should be 1 Hz, but implementers actually seem to choose different - clocks here, like Cortina who chose 32768 Hz (a typical low-power clock). - - clock-names: - items: - - const: PCLK - - const: EXTCLK - -required: - - compatible - -additionalProperties: false - -examples: - - | - #include - rtc@45000000 { - compatible = "cortina,gemini-rtc", "faraday,ftrtc010"; - reg = <0x45000000 0x100>; - interrupts = <17 IRQ_TYPE_LEVEL_HIGH>; - clocks = <&foo 0>, <&foo 1>; - clock-names = "PCLK", "EXTCLK"; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/rtc/faraday,ftrtc010.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Faraday Technology FTRTC010 Real Time Clock + +maintainers: + - Linus Walleij + +description: | + This RTC appears in for example the Storlink Gemini family of SoCs. + +properties: + compatible: + oneOf: + - const: faraday,ftrtc010 + - items: + - const: cortina,gemini-rtc + - const: faraday,ftrtc010 + + resets: + maxItems: 1 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + items: + - description: PCLK clocks + - description: EXTCLK clocks. Faraday calls it CLK1HZ and says the clock + should be 1 Hz, but implementers actually seem to choose different + clocks here, like Cortina who chose 32768 Hz (a typical low-power clock). + + clock-names: + items: + - const: PCLK + - const: EXTCLK + +required: + - compatible + +additionalProperties: false + +examples: + - | + #include + rtc@45000000 { + compatible = "cortina,gemini-rtc", "faraday,ftrtc010"; + reg = <0x45000000 0x100>; + interrupts = <17 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&foo 0>, <&foo 1>; + clock-names = "PCLK", "EXTCLK"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/intersil,isl12022.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/intersil,isl12022.yaml index a8b78f4fd6..c2d1441ef2 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/intersil,isl12022.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/intersil,isl12022.yaml @@ -1,64 +1,64 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/rtc/intersil,isl12022.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Intersil ISL12022 Real-time Clock - -maintainers: - - Alexandre Belloni - -properties: - compatible: - const: isil,isl12022 - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - '#clock-cells': - const: 0 - - isil,battery-trip-levels-microvolt: - description: - The battery voltages at which the first alarm and second alarm - should trigger (normally ~85% and ~75% of nominal V_BAT). - items: - - enum: [2125000, 2295000, 2550000, 2805000, 3060000, 4250000, 4675000] - - enum: [1875000, 2025000, 2250000, 2475000, 2700000, 3750000, 4125000] - -required: - - compatible - - reg - -allOf: - - $ref: rtc.yaml# - # If #clock-cells is present, interrupts must not be present - - if: - required: - - '#clock-cells' - then: - properties: - interrupts: false - -unevaluatedProperties: false - -examples: - - | - #include - i2c { - #address-cells = <1>; - #size-cells = <0>; - - rtc@6f { - compatible = "isil,isl12022"; - reg = <0x6f>; - interrupts-extended = <&gpio1 5 IRQ_TYPE_LEVEL_LOW>; - isil,battery-trip-levels-microvolt = <2550000>, <2250000>; - }; - }; - -... +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/rtc/intersil,isl12022.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Intersil ISL12022 Real-time Clock + +maintainers: + - Alexandre Belloni + +properties: + compatible: + const: isil,isl12022 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + '#clock-cells': + const: 0 + + isil,battery-trip-levels-microvolt: + description: + The battery voltages at which the first alarm and second alarm + should trigger (normally ~85% and ~75% of nominal V_BAT). + items: + - enum: [2125000, 2295000, 2550000, 2805000, 3060000, 4250000, 4675000] + - enum: [1875000, 2025000, 2250000, 2475000, 2700000, 3750000, 4125000] + +required: + - compatible + - reg + +allOf: + - $ref: rtc.yaml# + # If #clock-cells is present, interrupts must not be present + - if: + required: + - '#clock-cells' + then: + properties: + interrupts: false + +unevaluatedProperties: false + +examples: + - | + #include + i2c { + #address-cells = <1>; + #size-cells = <0>; + + rtc@6f { + compatible = "isil,isl12022"; + reg = <0x6f>; + interrupts-extended = <&gpio1 5 IRQ_TYPE_LEVEL_LOW>; + isil,battery-trip-levels-microvolt = <2550000>, <2250000>; + }; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/microchip,mfps-rtc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/microchip,mfps-rtc.yaml index 81781e7b9a..7742465b93 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/microchip,mfps-rtc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/microchip,mfps-rtc.yaml @@ -1,67 +1,67 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/rtc/microchip,mfps-rtc.yaml# - -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Microchip PolarFire Soc (MPFS) RTC - -allOf: - - $ref: rtc.yaml# - -maintainers: - - Daire McNamara - - Lewis Hanly - -properties: - compatible: - enum: - - microchip,mpfs-rtc - - reg: - maxItems: 1 - - interrupts: - items: - - description: | - RTC_WAKEUP interrupt - - description: | - RTC_MATCH, asserted when the content of the Alarm register is equal - to that of the RTC's count register. - - clocks: - items: - - description: | - AHB clock - - description: | - Reference clock: divided by the prescaler to create a time-based - strobe (typically 1 Hz) for the calendar counter. By default, the rtc - on the PolarFire SoC shares it's reference with MTIMER so this will - be a 1 MHz clock. - - clock-names: - items: - - const: rtc - - const: rtcref - -required: - - compatible - - reg - - interrupts - - clocks - - clock-names - -additionalProperties: false - -examples: - - | - #include "dt-bindings/clock/microchip,mpfs-clock.h" - rtc@20124000 { - compatible = "microchip,mpfs-rtc"; - reg = <0x20124000 0x1000>; - clocks = <&clkcfg CLK_RTC>, <&clkcfg CLK_RTCREF>; - clock-names = "rtc", "rtcref"; - interrupts = <80>, <81>; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/rtc/microchip,mfps-rtc.yaml# + +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Microchip PolarFire Soc (MPFS) RTC + +allOf: + - $ref: rtc.yaml# + +maintainers: + - Daire McNamara + - Lewis Hanly + +properties: + compatible: + enum: + - microchip,mpfs-rtc + + reg: + maxItems: 1 + + interrupts: + items: + - description: | + RTC_WAKEUP interrupt + - description: | + RTC_MATCH, asserted when the content of the Alarm register is equal + to that of the RTC's count register. + + clocks: + items: + - description: | + AHB clock + - description: | + Reference clock: divided by the prescaler to create a time-based + strobe (typically 1 Hz) for the calendar counter. By default, the rtc + on the PolarFire SoC shares it's reference with MTIMER so this will + be a 1 MHz clock. + + clock-names: + items: + - const: rtc + - const: rtcref + +required: + - compatible + - reg + - interrupts + - clocks + - clock-names + +additionalProperties: false + +examples: + - | + #include "dt-bindings/clock/microchip,mpfs-clock.h" + rtc@20124000 { + compatible = "microchip,mpfs-rtc"; + reg = <0x20124000 0x1000>; + clocks = <&clkcfg CLK_RTC>, <&clkcfg CLK_RTCREF>; + clock-names = "rtc", "rtcref"; + interrupts = <80>, <81>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/nxp,pcf85063.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/nxp,pcf85063.yaml index 1ab465c70c..2f892f8640 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/nxp,pcf85063.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/nxp,pcf85063.yaml @@ -1,92 +1,92 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/rtc/nxp,pcf85063.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: NXP PCF85063 Real Time Clock - -maintainers: - - Alexander Stein - -properties: - compatible: - enum: - - microcrystal,rv8263 - - nxp,pcf85063 - - nxp,pcf85063a - - nxp,pcf85063tp - - nxp,pca85073a - - reg: - maxItems: 1 - - "#clock-cells": - const: 0 - - clock-output-names: - maxItems: 1 - - interrupts: - maxItems: 1 - - quartz-load-femtofarads: - description: - The capacitive load of the quartz(x-tal). - enum: [7000, 12500] - default: 7000 - - clock: - $ref: /schemas/clock/fixed-clock.yaml - description: - Provide this if the square wave pin is used as boot-enabled - fixed clock. - - wakeup-source: true - -allOf: - - $ref: rtc.yaml# - - if: - properties: - compatible: - contains: - enum: - - microcrystal,rv8263 - then: - properties: - quartz-load-femtofarads: false - - if: - properties: - compatible: - contains: - enum: - - nxp,pcf85063 - then: - properties: - quartz-load-femtofarads: - const: 7000 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - rtc@51 { - compatible = "nxp,pcf85063a"; - reg = <0x51>; - quartz-load-femtofarads = <12500>; - - clock { - compatible = "fixed-clock"; - #clock-cells = <0>; - clock-frequency = <32768>; - }; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/rtc/nxp,pcf85063.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NXP PCF85063 Real Time Clock + +maintainers: + - Alexander Stein + +properties: + compatible: + enum: + - microcrystal,rv8263 + - nxp,pcf85063 + - nxp,pcf85063a + - nxp,pcf85063tp + - nxp,pca85073a + + reg: + maxItems: 1 + + "#clock-cells": + const: 0 + + clock-output-names: + maxItems: 1 + + interrupts: + maxItems: 1 + + quartz-load-femtofarads: + description: + The capacitive load of the quartz(x-tal). + enum: [7000, 12500] + default: 7000 + + clock: + $ref: /schemas/clock/fixed-clock.yaml + description: + Provide this if the square wave pin is used as boot-enabled + fixed clock. + + wakeup-source: true + +allOf: + - $ref: rtc.yaml# + - if: + properties: + compatible: + contains: + enum: + - microcrystal,rv8263 + then: + properties: + quartz-load-femtofarads: false + - if: + properties: + compatible: + contains: + enum: + - nxp,pcf85063 + then: + properties: + quartz-load-femtofarads: + const: 7000 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + rtc@51 { + compatible = "nxp,pcf85063a"; + reg = <0x51>; + quartz-load-femtofarads = <12500>; + + clock { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <32768>; + }; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/renesas,rzn1-rtc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/renesas,rzn1-rtc.yaml index 71b895a9bf..f6e0c613af 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/renesas,rzn1-rtc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/renesas,rzn1-rtc.yaml @@ -1,70 +1,70 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/rtc/renesas,rzn1-rtc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Renesas RZ/N1 SoCs Real-Time Clock - -maintainers: - - Miquel Raynal - -allOf: - - $ref: rtc.yaml# - -properties: - compatible: - items: - - enum: - - renesas,r9a06g032-rtc - - const: renesas,rzn1-rtc - - reg: - maxItems: 1 - - interrupts: - minItems: 3 - maxItems: 3 - - interrupt-names: - items: - - const: alarm - - const: timer - - const: pps - - clocks: - maxItems: 1 - - clock-names: - const: hclk - - power-domains: - maxItems: 1 - -required: - - compatible - - reg - - interrupts - - interrupt-names - - clocks - - clock-names - - power-domains - -unevaluatedProperties: false - -examples: - - | - #include - #include - rtc@40006000 { - compatible = "renesas,r9a06g032-rtc", "renesas,rzn1-rtc"; - reg = <0x40006000 0x1000>; - interrupts = , - , - ; - interrupt-names = "alarm", "timer", "pps"; - clocks = <&sysctrl R9A06G032_HCLK_RTC>; - clock-names = "hclk"; - power-domains = <&sysctrl>; - start-year = <2000>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/rtc/renesas,rzn1-rtc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Renesas RZ/N1 SoCs Real-Time Clock + +maintainers: + - Miquel Raynal + +allOf: + - $ref: rtc.yaml# + +properties: + compatible: + items: + - enum: + - renesas,r9a06g032-rtc + - const: renesas,rzn1-rtc + + reg: + maxItems: 1 + + interrupts: + minItems: 3 + maxItems: 3 + + interrupt-names: + items: + - const: alarm + - const: timer + - const: pps + + clocks: + maxItems: 1 + + clock-names: + const: hclk + + power-domains: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + - interrupt-names + - clocks + - clock-names + - power-domains + +unevaluatedProperties: false + +examples: + - | + #include + #include + rtc@40006000 { + compatible = "renesas,r9a06g032-rtc", "renesas,rzn1-rtc"; + reg = <0x40006000 0x1000>; + interrupts = , + , + ; + interrupt-names = "alarm", "timer", "pps"; + clocks = <&sysctrl R9A06G032_HCLK_RTC>; + clock-names = "hclk"; + power-domains = <&sysctrl>; + start-year = <2000>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/rtc-omap.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/rtc-omap.txt index e538697be0..062ebb14ce 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/rtc-omap.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/rtc-omap.txt @@ -1,53 +1,53 @@ -TI Real Time Clock - -Required properties: -- compatible: - - "ti,da830-rtc" - for RTC IP used similar to that on DA8xx SoC family. - - "ti,am3352-rtc" - for RTC IP used similar to that on AM335x SoC family. - This RTC IP has special WAKE-EN Register to enable - Wakeup generation for event Alarm. It can also be - used to control an external PMIC via the - pmic_power_en pin. - - "ti,am4372-rtc" - for RTC IP used similar to that on AM437X SoC family. -- reg: Address range of rtc register set -- interrupts: rtc timer, alarm interrupts in order - -Optional properties: -- system-power-controller: whether the rtc is controlling the system power - through pmic_power_en -- clocks: Any internal or external clocks feeding in to rtc -- clock-names: Corresponding names of the clocks -- pinctrl-0: a phandle pointing to the pin settings for the device -- pinctrl-names: should be "default" - -Optional subnodes: -- generic pinctrl node - -Required pinctrl subnodes properties: -- pins - Names of ext_wakeup pins to configure - -Optional pinctrl subnodes properties: -- input-enable - Enables ext_wakeup -- ti,active-high - Set input active high (by default active low) - -Example: - -rtc@1c23000 { - compatible = "ti,da830-rtc"; - reg = <0x23000 0x1000>; - interrupts = <19 - 19>; - interrupt-parent = <&intc>; - system-power-controller; - clocks = <&clk_32k_rtc>, <&clk_32768_ck>; - clock-names = "ext-clk", "int-clk"; - - pinctrl-0 = <&ext_wakeup>; - pinctrl-names = "default"; - - ext_wakeup: ext-wakeup { - pins = "ext_wakeup0"; - input-enable; - ti,active-high; - }; -}; +TI Real Time Clock + +Required properties: +- compatible: + - "ti,da830-rtc" - for RTC IP used similar to that on DA8xx SoC family. + - "ti,am3352-rtc" - for RTC IP used similar to that on AM335x SoC family. + This RTC IP has special WAKE-EN Register to enable + Wakeup generation for event Alarm. It can also be + used to control an external PMIC via the + pmic_power_en pin. + - "ti,am4372-rtc" - for RTC IP used similar to that on AM437X SoC family. +- reg: Address range of rtc register set +- interrupts: rtc timer, alarm interrupts in order + +Optional properties: +- system-power-controller: whether the rtc is controlling the system power + through pmic_power_en +- clocks: Any internal or external clocks feeding in to rtc +- clock-names: Corresponding names of the clocks +- pinctrl-0: a phandle pointing to the pin settings for the device +- pinctrl-names: should be "default" + +Optional subnodes: +- generic pinctrl node + +Required pinctrl subnodes properties: +- pins - Names of ext_wakeup pins to configure + +Optional pinctrl subnodes properties: +- input-enable - Enables ext_wakeup +- ti,active-high - Set input active high (by default active low) + +Example: + +rtc@1c23000 { + compatible = "ti,da830-rtc"; + reg = <0x23000 0x1000>; + interrupts = <19 + 19>; + interrupt-parent = <&intc>; + system-power-controller; + clocks = <&clk_32k_rtc>, <&clk_32768_ck>; + clock-names = "ext-clk", "int-clk"; + + pinctrl-0 = <&ext_wakeup>; + pinctrl-names = "default"; + + ext_wakeup: ext-wakeup { + pins = "ext_wakeup0"; + input-enable; + ti,active-high; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/xlnx,zynqmp-rtc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/xlnx,zynqmp-rtc.yaml index 21da727ad0..01cc90fee8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/xlnx,zynqmp-rtc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/xlnx,zynqmp-rtc.yaml @@ -1,84 +1,84 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/rtc/xlnx,zynqmp-rtc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Xilinx Zynq Ultrascale+ MPSoC Real Time Clock - -description: - RTC controller for the Xilinx Zynq MPSoC Real Time Clock. - The RTC controller has separate IRQ lines for seconds and alarm. - -maintainers: - - Michal Simek - -allOf: - - $ref: rtc.yaml# - -properties: - compatible: - oneOf: - - const: xlnx,zynqmp-rtc - - items: - - enum: - - xlnx,versal-rtc - - xlnx,versal-net-rtc - - const: xlnx,zynqmp-rtc - - reg: - maxItems: 1 - - clocks: - maxItems: 1 - - clock-names: - items: - - const: rtc - - interrupts: - maxItems: 2 - - interrupt-names: - items: - - const: alarm - - const: sec - - calibration: - description: | - calibration value for 1 sec period which will - be programmed directly to calibration register. - $ref: /schemas/types.yaml#/definitions/uint32 - minimum: 0x1 - maximum: 0x1FFFFF - default: 0x198233 - deprecated: true - - power-domains: - maxItems: 1 - -required: - - compatible - - reg - - interrupts - - interrupt-names - -additionalProperties: false - -examples: - - | - soc { - #address-cells = <2>; - #size-cells = <2>; - - rtc: rtc@ffa60000 { - compatible = "xlnx,zynqmp-rtc"; - reg = <0x0 0xffa60000 0x0 0x100>; - interrupt-parent = <&gic>; - interrupts = <0 26 4>, <0 27 4>; - interrupt-names = "alarm", "sec"; - calibration = <0x198233>; - clock-names = "rtc"; - clocks = <&rtc_clk>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/rtc/xlnx,zynqmp-rtc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Xilinx Zynq Ultrascale+ MPSoC Real Time Clock + +description: + RTC controller for the Xilinx Zynq MPSoC Real Time Clock. + The RTC controller has separate IRQ lines for seconds and alarm. + +maintainers: + - Michal Simek + +allOf: + - $ref: rtc.yaml# + +properties: + compatible: + oneOf: + - const: xlnx,zynqmp-rtc + - items: + - enum: + - xlnx,versal-rtc + - xlnx,versal-net-rtc + - const: xlnx,zynqmp-rtc + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + clock-names: + items: + - const: rtc + + interrupts: + maxItems: 2 + + interrupt-names: + items: + - const: alarm + - const: sec + + calibration: + description: | + calibration value for 1 sec period which will + be programmed directly to calibration register. + $ref: /schemas/types.yaml#/definitions/uint32 + minimum: 0x1 + maximum: 0x1FFFFF + default: 0x198233 + deprecated: true + + power-domains: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + - interrupt-names + +additionalProperties: false + +examples: + - | + soc { + #address-cells = <2>; + #size-cells = <2>; + + rtc: rtc@ffa60000 { + compatible = "xlnx,zynqmp-rtc"; + reg = <0x0 0xffa60000 0x0 0x100>; + interrupt-parent = <&gic>; + interrupts = <0 26 4>, <0 27 4>; + interrupt-names = "alarm", "sec"; + calibration = <0x198233>; + clock-names = "rtc"; + clocks = <&rtc_clk>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/cdns,uart.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/cdns,uart.yaml index c3f1f0469c..d7f047b0bf 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/cdns,uart.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/cdns,uart.yaml @@ -1,81 +1,81 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/serial/cdns,uart.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Cadence UART Controller - -maintainers: - - Michal Simek - -properties: - compatible: - oneOf: - - description: UART controller for Zynq-7xxx SoC - items: - - const: xlnx,xuartps - - const: cdns,uart-r1p8 - - description: UART controller for Zynq Ultrascale+ MPSoC - items: - - const: xlnx,zynqmp-uart - - const: cdns,uart-r1p12 - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - maxItems: 2 - - clock-names: - items: - - const: uart_clk - - const: pclk - - cts-override: - description: | - Override the CTS modem status signal. This signal will - always be reported as active instead of being obtained - from the modem status register. Define this if your serial - port does not use this pin. - type: boolean - - power-domains: - maxItems: 1 - - resets: - maxItems: 1 - -required: - - compatible - - reg - - interrupts - - clocks - - clock-names - -allOf: - - $ref: serial.yaml# - - $ref: rs485.yaml# - - if: - properties: - compatible: - contains: - const: cdns,uart-r1p8 - then: - properties: - power-domains: false - -unevaluatedProperties: false - -examples: - - | - uart0: serial@e0000000 { - compatible = "xlnx,xuartps", "cdns,uart-r1p8"; - clocks = <&clkc 23>, <&clkc 40>; - clock-names = "uart_clk", "pclk"; - reg = <0xe0000000 0x1000>; - interrupts = <0 27 4>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/serial/cdns,uart.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Cadence UART Controller + +maintainers: + - Michal Simek + +properties: + compatible: + oneOf: + - description: UART controller for Zynq-7xxx SoC + items: + - const: xlnx,xuartps + - const: cdns,uart-r1p8 + - description: UART controller for Zynq Ultrascale+ MPSoC + items: + - const: xlnx,zynqmp-uart + - const: cdns,uart-r1p12 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 2 + + clock-names: + items: + - const: uart_clk + - const: pclk + + cts-override: + description: | + Override the CTS modem status signal. This signal will + always be reported as active instead of being obtained + from the modem status register. Define this if your serial + port does not use this pin. + type: boolean + + power-domains: + maxItems: 1 + + resets: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + - clocks + - clock-names + +allOf: + - $ref: serial.yaml# + - $ref: rs485.yaml# + - if: + properties: + compatible: + contains: + const: cdns,uart-r1p8 + then: + properties: + power-domains: false + +unevaluatedProperties: false + +examples: + - | + uart0: serial@e0000000 { + compatible = "xlnx,xuartps", "cdns,uart-r1p8"; + clocks = <&clkc 23>, <&clkc 40>; + clock-names = "uart_clk", "pclk"; + reg = <0xe0000000 0x1000>; + interrupts = <0 27 4>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/fsl-mxs-auart.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/fsl-mxs-auart.yaml index d3ec1305c8..da032effff 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/fsl-mxs-auart.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/fsl-mxs-auart.yaml @@ -1,94 +1,94 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/serial/fsl-mxs-auart.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Freescale MXS Application UART (AUART) - -maintainers: - - Fabio Estevam - -allOf: - - $ref: serial.yaml# - -properties: - compatible: - oneOf: - - const: fsl,imx23-auart - - const: alphascale,asm9260-auart - - items: - - enum: - - fsl,imx28-auart - - const: fsl,imx23-auart - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - dmas: - items: - - description: DMA controller phandle and request line for RX - - description: DMA controller phandle and request line for TX - - dma-names: - items: - - const: rx - - const: tx - - clocks: - items: - - description: mod clock - - description: ahb clock - minItems: 1 - - clock-names: - items: - - const: mod - - const: ahb - minItems: 1 - - uart-has-rtscts: true - rts-gpios: true - cts-gpios: true - dtr-gpios: true - dsr-gpios: true - rng-gpios: true - dcd-gpios: true - -if: - properties: - compatible: - contains: - enum: - - alphascale,asm9260-auart -then: - required: - - clocks - - clock-names - -required: - - compatible - - reg - - interrupts - - dmas - - dma-names - -unevaluatedProperties: false - -examples: - - | - aliases { - serial0 = &auart0; - }; - - auart0: serial@8006a000 { - compatible = "fsl,imx28-auart", "fsl,imx23-auart"; - reg = <0x8006a000 0x2000>; - interrupts = <112>; - dmas = <&dma_apbx 8>, <&dma_apbx 9>; - dma-names = "rx", "tx"; - clocks = <&clks 45>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/serial/fsl-mxs-auart.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Freescale MXS Application UART (AUART) + +maintainers: + - Fabio Estevam + +allOf: + - $ref: serial.yaml# + +properties: + compatible: + oneOf: + - const: fsl,imx23-auart + - const: alphascale,asm9260-auart + - items: + - enum: + - fsl,imx28-auart + - const: fsl,imx23-auart + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + dmas: + items: + - description: DMA controller phandle and request line for RX + - description: DMA controller phandle and request line for TX + + dma-names: + items: + - const: rx + - const: tx + + clocks: + items: + - description: mod clock + - description: ahb clock + minItems: 1 + + clock-names: + items: + - const: mod + - const: ahb + minItems: 1 + + uart-has-rtscts: true + rts-gpios: true + cts-gpios: true + dtr-gpios: true + dsr-gpios: true + rng-gpios: true + dcd-gpios: true + +if: + properties: + compatible: + contains: + enum: + - alphascale,asm9260-auart +then: + required: + - clocks + - clock-names + +required: + - compatible + - reg + - interrupts + - dmas + - dma-names + +unevaluatedProperties: false + +examples: + - | + aliases { + serial0 = &auart0; + }; + + auart0: serial@8006a000 { + compatible = "fsl,imx28-auart", "fsl,imx23-auart"; + reg = <0x8006a000 0x2000>; + interrupts = <112>; + dmas = <&dma_apbx 8>, <&dma_apbx 9>; + dma-names = "rx", "tx"; + clocks = <&clks 45>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/maxim,max310x.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/maxim,max310x.yaml index 184bc9b457..889eeaca64 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/maxim,max310x.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/maxim,max310x.yaml @@ -1,74 +1,74 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/serial/maxim,max310x.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Maxim MAX310X Advanced Universal Asynchronous Receiver-Transmitter (UART) - -maintainers: - - Hugo Villeneuve - -properties: - compatible: - enum: - - maxim,max3107 - - maxim,max3108 - - maxim,max3109 - - maxim,max14830 - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - maxItems: 1 - - clock-names: - enum: - - xtal # External crystal - - osc # External clock source - - gpio-controller: true - - "#gpio-cells": - const: 2 - - gpio-line-names: - minItems: 1 - maxItems: 16 - -required: - - compatible - - reg - - interrupts - - clocks - - clock-names - -allOf: - - $ref: /schemas/spi/spi-peripheral-props.yaml# - - $ref: /schemas/serial/serial.yaml# - - $ref: /schemas/serial/rs485.yaml# - -unevaluatedProperties: false - -examples: - - | - #include - i2c { - #address-cells = <1>; - #size-cells = <0>; - - serial@2c { - compatible = "maxim,max3107"; - reg = <0x2c>; - clocks = <&xtal4m>; - clock-names = "xtal"; - interrupt-parent = <&gpio3>; - interrupts = <7 IRQ_TYPE_LEVEL_LOW>; - gpio-controller; - #gpio-cells = <2>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/serial/maxim,max310x.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Maxim MAX310X Advanced Universal Asynchronous Receiver-Transmitter (UART) + +maintainers: + - Hugo Villeneuve + +properties: + compatible: + enum: + - maxim,max3107 + - maxim,max3108 + - maxim,max3109 + - maxim,max14830 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + + clock-names: + enum: + - xtal # External crystal + - osc # External clock source + + gpio-controller: true + + "#gpio-cells": + const: 2 + + gpio-line-names: + minItems: 1 + maxItems: 16 + +required: + - compatible + - reg + - interrupts + - clocks + - clock-names + +allOf: + - $ref: /schemas/spi/spi-peripheral-props.yaml# + - $ref: /schemas/serial/serial.yaml# + - $ref: /schemas/serial/rs485.yaml# + +unevaluatedProperties: false + +examples: + - | + #include + i2c { + #address-cells = <1>; + #size-cells = <0>; + + serial@2c { + compatible = "maxim,max3107"; + reg = <0x2c>; + clocks = <&xtal4m>; + clock-names = "xtal"; + interrupt-parent = <&gpio3>; + interrupts = <7 IRQ_TYPE_LEVEL_LOW>; + gpio-controller; + #gpio-cells = <2>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/nvidia,tegra194-tcu.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/nvidia,tegra194-tcu.yaml index b10157ac23..e2d111b3e0 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/nvidia,tegra194-tcu.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/nvidia,tegra194-tcu.yaml @@ -1,61 +1,61 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/serial/nvidia,tegra194-tcu.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: NVIDIA Tegra Combined UART (TCU) - -maintainers: - - Thierry Reding - - Jonathan Hunter - -description: - The TCU is a system for sharing a hardware UART instance among multiple - systems within the Tegra SoC. It is implemented through a mailbox- - based protocol where each "virtual UART" has a pair of mailboxes, one - for transmitting and one for receiving, that is used to communicate - with the hardware implementing the TCU. - -properties: - $nodename: - pattern: "^serial(@.*)?$" - - compatible: - oneOf: - - const: nvidia,tegra194-tcu - - items: - - enum: - - nvidia,tegra234-tcu - - const: nvidia,tegra194-tcu - - mbox-names: - items: - - const: rx - - const: tx - - mboxes: - description: | - List of phandles to mailbox channels used for receiving and - transmitting data from and to the hardware UART. - items: - - description: mailbox for receiving data from hardware UART - - description: mailbox for transmitting data to hardware UART - -required: - - compatible - - mbox-names - - mboxes - -additionalProperties: false - -examples: - - | - #include - - tcu: serial { - compatible = "nvidia,tegra194-tcu"; - mboxes = <&hsp_top0 TEGRA_HSP_MBOX_TYPE_SM 0>, - <&hsp_aon TEGRA_HSP_MBOX_TYPE_SM 1>; - mbox-names = "rx", "tx"; - }; +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/serial/nvidia,tegra194-tcu.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NVIDIA Tegra Combined UART (TCU) + +maintainers: + - Thierry Reding + - Jonathan Hunter + +description: + The TCU is a system for sharing a hardware UART instance among multiple + systems within the Tegra SoC. It is implemented through a mailbox- + based protocol where each "virtual UART" has a pair of mailboxes, one + for transmitting and one for receiving, that is used to communicate + with the hardware implementing the TCU. + +properties: + $nodename: + pattern: "^serial(@.*)?$" + + compatible: + oneOf: + - const: nvidia,tegra194-tcu + - items: + - enum: + - nvidia,tegra234-tcu + - const: nvidia,tegra194-tcu + + mbox-names: + items: + - const: rx + - const: tx + + mboxes: + description: | + List of phandles to mailbox channels used for receiving and + transmitting data from and to the hardware UART. + items: + - description: mailbox for receiving data from hardware UART + - description: mailbox for transmitting data to hardware UART + +required: + - compatible + - mbox-names + - mboxes + +additionalProperties: false + +examples: + - | + #include + + tcu: serial { + compatible = "nvidia,tegra194-tcu"; + mboxes = <&hsp_top0 TEGRA_HSP_MBOX_TYPE_SM 0>, + <&hsp_aon TEGRA_HSP_MBOX_TYPE_SM 1>; + mbox-names = "rx", "tx"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/qcom,serial-geni-qcom.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/qcom,serial-geni-qcom.yaml index 818b52f6bb..dd33794b35 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/qcom,serial-geni-qcom.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/qcom,serial-geni-qcom.yaml @@ -1,86 +1,86 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/serial/qcom,serial-geni-qcom.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm Geni based QUP UART interface - -maintainers: - - Andy Gross - - Bjorn Andersson - -allOf: - - $ref: /schemas/serial/serial.yaml# - -properties: - compatible: - enum: - - qcom,geni-uart - - qcom,geni-debug-uart - - clocks: - maxItems: 1 - - clock-names: - const: se - - interconnects: - maxItems: 2 - - interconnect-names: - items: - - const: qup-core - - const: qup-config - - interrupts: - minItems: 1 - items: - - description: UART core irq - - description: Wakeup irq (RX GPIO) - - operating-points-v2: true - - pinctrl-0: true - pinctrl-1: true - - pinctrl-names: - minItems: 1 - items: - - const: default - - const: sleep - - power-domains: - maxItems: 1 - - reg: - maxItems: 1 - -required: - - compatible - - clocks - - clock-names - - interrupts - - reg - -unevaluatedProperties: false - -examples: - - | - #include - #include - #include - - serial@a88000 { - compatible = "qcom,geni-uart"; - reg = <0xa88000 0x7000>; - interrupts = ; - clock-names = "se"; - clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>; - pinctrl-0 = <&qup_uart0_default>; - pinctrl-names = "default"; - interconnects = <&qup_virt MASTER_QUP_CORE_0 0 &qup_virt SLAVE_QUP_CORE_0 0>, - <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_QUP_0 0>; - interconnect-names = "qup-core", "qup-config"; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/serial/qcom,serial-geni-qcom.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Geni based QUP UART interface + +maintainers: + - Andy Gross + - Bjorn Andersson + +allOf: + - $ref: /schemas/serial/serial.yaml# + +properties: + compatible: + enum: + - qcom,geni-uart + - qcom,geni-debug-uart + + clocks: + maxItems: 1 + + clock-names: + const: se + + interconnects: + maxItems: 2 + + interconnect-names: + items: + - const: qup-core + - const: qup-config + + interrupts: + minItems: 1 + items: + - description: UART core irq + - description: Wakeup irq (RX GPIO) + + operating-points-v2: true + + pinctrl-0: true + pinctrl-1: true + + pinctrl-names: + minItems: 1 + items: + - const: default + - const: sleep + + power-domains: + maxItems: 1 + + reg: + maxItems: 1 + +required: + - compatible + - clocks + - clock-names + - interrupts + - reg + +unevaluatedProperties: false + +examples: + - | + #include + #include + #include + + serial@a88000 { + compatible = "qcom,geni-uart"; + reg = <0xa88000 0x7000>; + interrupts = ; + clock-names = "se"; + clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>; + pinctrl-0 = <&qup_uart0_default>; + pinctrl-names = "default"; + interconnects = <&qup_virt MASTER_QUP_CORE_0 0 &qup_virt SLAVE_QUP_CORE_0 0>, + <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_QUP_0 0>; + interconnect-names = "qup-core", "qup-config"; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/renesas,em-uart.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/renesas,em-uart.yaml index ab91e9682d..89f1eb0f2c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/renesas,em-uart.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/renesas,em-uart.yaml @@ -1,74 +1,74 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/serial/renesas,em-uart.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Renesas EMMA Mobile UART Interface - -maintainers: - - Magnus Damm - -properties: - compatible: - oneOf: - - items: - - enum: - - renesas,r9a09g011-uart # RZ/V2M - - const: renesas,em-uart # generic EMMA Mobile compatible UART - - - items: - - const: renesas,em-uart # generic EMMA Mobile compatible UART - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - minItems: 1 - items: - - description: UART functional clock - - description: Internal clock to access the registers - - clock-names: - minItems: 1 - items: - - const: sclk - - const: pclk - -required: - - compatible - - reg - - interrupts - - clocks - - clock-names - -allOf: - - $ref: serial.yaml# - - - if: - properties: - compatible: - contains: - const: renesas,r9a09g011-uart - then: - properties: - clocks: - minItems: 2 - clock-names: - minItems: 2 - -unevaluatedProperties: false - -examples: - - | - #include - uart0: serial@e1020000 { - compatible = "renesas,em-uart"; - reg = <0xe1020000 0x38>; - interrupts = ; - clocks = <&usia_u0_sclk>; - clock-names = "sclk"; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/serial/renesas,em-uart.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Renesas EMMA Mobile UART Interface + +maintainers: + - Magnus Damm + +properties: + compatible: + oneOf: + - items: + - enum: + - renesas,r9a09g011-uart # RZ/V2M + - const: renesas,em-uart # generic EMMA Mobile compatible UART + + - items: + - const: renesas,em-uart # generic EMMA Mobile compatible UART + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + minItems: 1 + items: + - description: UART functional clock + - description: Internal clock to access the registers + + clock-names: + minItems: 1 + items: + - const: sclk + - const: pclk + +required: + - compatible + - reg + - interrupts + - clocks + - clock-names + +allOf: + - $ref: serial.yaml# + + - if: + properties: + compatible: + contains: + const: renesas,r9a09g011-uart + then: + properties: + clocks: + minItems: 2 + clock-names: + minItems: 2 + +unevaluatedProperties: false + +examples: + - | + #include + uart0: serial@e1020000 { + compatible = "renesas,em-uart"; + reg = <0xe1020000 0x38>; + interrupts = ; + clocks = <&usia_u0_sclk>; + clock-names = "sclk"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/serial-peripheral-props.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/serial-peripheral-props.yaml index db268f5b23..b4a73214d2 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/serial-peripheral-props.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/serial-peripheral-props.yaml @@ -1,41 +1,41 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/serial/serial-peripheral-props.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Common Properties for Serial-attached Devices - -maintainers: - - Rob Herring - - Greg Kroah-Hartman - -description: - Devices connected over serial/UART, expressed as children of a serial - controller, might need similar properties, e.g. for configuring the baud - rate. - -properties: - max-speed: - $ref: /schemas/types.yaml#/definitions/uint32 - description: - The maximum baud rate the device operates at. - This should only be present if the maximum is less than the slave - device can support. For example, a particular board has some - signal quality issue or the host processor can't support higher - baud rates. - - current-speed: - $ref: /schemas/types.yaml#/definitions/uint32 - description: | - The current baud rate the device operates at. - This should only be present in case a driver has no chance to know - the baud rate of the slave device. - Examples: - * device supports auto-baud - * the rate is setup by a bootloader and there is no way to reset - the device - * device baud rate is configured by its firmware but there is no - way to request the actual settings - -additionalProperties: true +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/serial/serial-peripheral-props.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Common Properties for Serial-attached Devices + +maintainers: + - Rob Herring + - Greg Kroah-Hartman + +description: + Devices connected over serial/UART, expressed as children of a serial + controller, might need similar properties, e.g. for configuring the baud + rate. + +properties: + max-speed: + $ref: /schemas/types.yaml#/definitions/uint32 + description: + The maximum baud rate the device operates at. + This should only be present if the maximum is less than the slave + device can support. For example, a particular board has some + signal quality issue or the host processor can't support higher + baud rates. + + current-speed: + $ref: /schemas/types.yaml#/definitions/uint32 + description: | + The current baud rate the device operates at. + This should only be present in case a driver has no chance to know + the baud rate of the slave device. + Examples: + * device supports auto-baud + * the rate is setup by a bootloader and there is no way to reset + the device + * device baud rate is configured by its firmware but there is no + way to request the actual settings + +additionalProperties: true diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/sifive-serial.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/sifive-serial.yaml index b37780fa5a..b0df1cac49 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/sifive-serial.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/sifive-serial.yaml @@ -1,65 +1,65 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/serial/sifive-serial.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: SiFive asynchronous serial interface (UART) - -maintainers: - - Pragnesh Patel - - Paul Walmsley - - Palmer Dabbelt - -allOf: - - $ref: serial.yaml# - -properties: - compatible: - items: - - enum: - - sifive,fu540-c000-uart - - sifive,fu740-c000-uart - - canaan,k210-uarths - - const: sifive,uart0 - - description: - Should be something similar to "sifive,-uart" - for the UART as integrated on a particular chip, - and "sifive,uart" for the general UART IP - block programming model. - - UART HDL that corresponds to the IP block version - numbers can be found here - - - https://github.com/sifive/sifive-blocks/tree/master/src/main/scala/devices/uart - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - maxItems: 1 - -required: - - compatible - - reg - - interrupts - - clocks - -unevaluatedProperties: false - -examples: - - | - #include - serial@10010000 { - compatible = "sifive,fu540-c000-uart", "sifive,uart0"; - interrupt-parent = <&plic0>; - interrupts = <80>; - reg = <0x10010000 0x1000>; - clocks = <&prci FU540_PRCI_CLK_TLCLK>; - }; - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/serial/sifive-serial.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: SiFive asynchronous serial interface (UART) + +maintainers: + - Pragnesh Patel + - Paul Walmsley + - Palmer Dabbelt + +allOf: + - $ref: serial.yaml# + +properties: + compatible: + items: + - enum: + - sifive,fu540-c000-uart + - sifive,fu740-c000-uart + - canaan,k210-uarths + - const: sifive,uart0 + + description: + Should be something similar to "sifive,-uart" + for the UART as integrated on a particular chip, + and "sifive,uart" for the general UART IP + block programming model. + + UART HDL that corresponds to the IP block version + numbers can be found here - + + https://github.com/sifive/sifive-blocks/tree/master/src/main/scala/devices/uart + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + - clocks + +unevaluatedProperties: false + +examples: + - | + #include + serial@10010000 { + compatible = "sifive,fu540-c000-uart", "sifive,uart0"; + interrupt-parent = <&plic0>; + interrupts = <80>; + reg = <0x10010000 0x1000>; + clocks = <&prci FU540_PRCI_CLK_TLCLK>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/sprd-uart.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/sprd-uart.yaml index 4371c11c32..f4dbb6dc2b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/sprd-uart.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/sprd-uart.yaml @@ -1,76 +1,76 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -# Copyright 2019 Unisoc Inc. -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/serial/sprd-uart.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Spreadtrum serial UART - -maintainers: - - Orson Zhai - - Baolin Wang - - Chunyan Zhang - -properties: - compatible: - oneOf: - - items: - - enum: - - sprd,sc9860-uart - - sprd,sc9863a-uart - - sprd,ums512-uart - - sprd,ums9620-uart - - const: sprd,sc9836-uart - - const: sprd,sc9836-uart - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - minItems: 1 - maxItems: 3 - - clock-names: - description: | - "enable" for UART module enable clock, "uart" for UART clock, "source" - for UART source (parent) clock. - items: - - const: enable - - const: uart - - const: source - - dmas: - minItems: 1 - maxItems: 2 - - dma-names: - minItems: 1 - items: - - const: rx - - const: tx - -required: - - compatible - - reg - - interrupts - -additionalProperties: false - -examples: - - | - #include - serial@0 { - compatible = "sprd,sc9860-uart", "sprd,sc9836-uart"; - reg = <0x0 0x100>; - interrupts = ; - dma-names = "rx", "tx"; - dmas = <&ap_dma 19>, <&ap_dma 20>; - clock-names = "enable", "uart", "source"; - clocks = <&clk_ap_apb_gates 9>, <&clk_uart0>, <&ext_26m>; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +# Copyright 2019 Unisoc Inc. +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/serial/sprd-uart.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Spreadtrum serial UART + +maintainers: + - Orson Zhai + - Baolin Wang + - Chunyan Zhang + +properties: + compatible: + oneOf: + - items: + - enum: + - sprd,sc9860-uart + - sprd,sc9863a-uart + - sprd,ums512-uart + - sprd,ums9620-uart + - const: sprd,sc9836-uart + - const: sprd,sc9836-uart + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + minItems: 1 + maxItems: 3 + + clock-names: + description: | + "enable" for UART module enable clock, "uart" for UART clock, "source" + for UART source (parent) clock. + items: + - const: enable + - const: uart + - const: source + + dmas: + minItems: 1 + maxItems: 2 + + dma-names: + minItems: 1 + items: + - const: rx + - const: tx + +required: + - compatible + - reg + - interrupts + +additionalProperties: false + +examples: + - | + #include + serial@0 { + compatible = "sprd,sc9860-uart", "sprd,sc9836-uart"; + reg = <0x0 0x100>; + interrupts = ; + dma-names = "rx", "tx"; + dmas = <&ap_dma 19>, <&ap_dma 20>; + clock-names = "enable", "uart", "source"; + clocks = <&clk_ap_apb_gates 9>, <&clk_uart0>, <&ext_26m>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/xlnx,opb-uartlite.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/xlnx,opb-uartlite.yaml index 6a9b11d028..08dcb275d8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/xlnx,opb-uartlite.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/xlnx,opb-uartlite.yaml @@ -1,88 +1,88 @@ -# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/serial/xlnx,opb-uartlite.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Xilinx Axi Uartlite - -maintainers: - - Peter Korsgaard - -properties: - compatible: - contains: - enum: - - xlnx,xps-uartlite-1.00.a - - xlnx,opb-uartlite-1.00.b - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - port-number: - $ref: /schemas/types.yaml#/definitions/uint32 - description: Set Uart port number - - clocks: - maxItems: 1 - - clock-names: - const: s_axi_aclk - - current-speed: - $ref: /schemas/types.yaml#/definitions/uint32 - description: - The fixed baud rate that the device was configured for. - - xlnx,data-bits: - enum: [5, 6, 7, 8] - description: - The fixed number of data bits that the device was configured for. - - xlnx,use-parity: - $ref: /schemas/types.yaml#/definitions/uint32 - enum: [0, 1] - description: - Whether parity checking was enabled when the device was configured. - - xlnx,odd-parity: - $ref: /schemas/types.yaml#/definitions/uint32 - enum: [0, 1] - description: - Whether odd parity was configured. - -required: - - compatible - - reg - - interrupts - - current-speed - - xlnx,data-bits - - xlnx,use-parity - -allOf: - - $ref: serial.yaml# - - if: - properties: - xlnx,use-parity: - const: 1 - then: - required: - - xlnx,odd-parity - -unevaluatedProperties: false - -examples: - - | - serial@800c0000 { - compatible = "xlnx,xps-uartlite-1.00.a"; - reg = <0x800c0000 0x10000>; - interrupts = <0x0 0x6e 0x1>; - port-number = <0>; - current-speed = <115200>; - xlnx,data-bits = <8>; - xlnx,use-parity = <0>; - }; -... +# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/serial/xlnx,opb-uartlite.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Xilinx Axi Uartlite + +maintainers: + - Peter Korsgaard + +properties: + compatible: + contains: + enum: + - xlnx,xps-uartlite-1.00.a + - xlnx,opb-uartlite-1.00.b + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + port-number: + $ref: /schemas/types.yaml#/definitions/uint32 + description: Set Uart port number + + clocks: + maxItems: 1 + + clock-names: + const: s_axi_aclk + + current-speed: + $ref: /schemas/types.yaml#/definitions/uint32 + description: + The fixed baud rate that the device was configured for. + + xlnx,data-bits: + enum: [5, 6, 7, 8] + description: + The fixed number of data bits that the device was configured for. + + xlnx,use-parity: + $ref: /schemas/types.yaml#/definitions/uint32 + enum: [0, 1] + description: + Whether parity checking was enabled when the device was configured. + + xlnx,odd-parity: + $ref: /schemas/types.yaml#/definitions/uint32 + enum: [0, 1] + description: + Whether odd parity was configured. + +required: + - compatible + - reg + - interrupts + - current-speed + - xlnx,data-bits + - xlnx,use-parity + +allOf: + - $ref: serial.yaml# + - if: + properties: + xlnx,use-parity: + const: 1 + then: + required: + - xlnx,odd-parity + +unevaluatedProperties: false + +examples: + - | + serial@800c0000 { + compatible = "xlnx,xps-uartlite-1.00.a"; + reg = <0x800c0000 0x10000>; + interrupts = <0x0 0x6e 0x1>; + port-number = <0>; + current-speed = <115200>; + xlnx,data-bits = <8>; + xlnx,use-parity = <0>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serio/arm,pl050.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serio/arm,pl050.yaml index 003f41226a..d80f58d154 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serio/arm,pl050.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serio/arm,pl050.yaml @@ -1,67 +1,67 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/serio/arm,pl050.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Arm Ltd. PrimeCell PL050 PS/2 Keyboard/Mouse Interface - -maintainers: - - Andre Przywara - -description: - The Arm PrimeCell PS2 Keyboard/Mouse Interface (KMI) is an AMBA compliant - peripheral that can be used to implement a keyboard or mouse interface that - is IBM PS2 or AT compatible. - -# We need a select here so we don't match all nodes with 'arm,primecell' -select: - properties: - compatible: - contains: - const: arm,pl050 - required: - - compatible - -properties: - compatible: - items: - - const: arm,pl050 - - const: arm,primecell - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - items: - - description: KMI reference clock, used to generate the bus timing - - description: APB register access clock - - clock-names: - items: - - const: KMIREFCLK - - const: apb_pclk - -required: - - compatible - - reg - - interrupts - - clocks - - clock-names - -additionalProperties: false - -examples: - - | - serio@70000 { - compatible = "arm,pl050", "arm,primecell"; - reg = <0x070000 0x1000>; - interrupts = <8>; - clocks = <&mb_clk24mhz>, <&soc_smc50mhz>; - clock-names = "KMIREFCLK", "apb_pclk"; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/serio/arm,pl050.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Arm Ltd. PrimeCell PL050 PS/2 Keyboard/Mouse Interface + +maintainers: + - Andre Przywara + +description: + The Arm PrimeCell PS2 Keyboard/Mouse Interface (KMI) is an AMBA compliant + peripheral that can be used to implement a keyboard or mouse interface that + is IBM PS2 or AT compatible. + +# We need a select here so we don't match all nodes with 'arm,primecell' +select: + properties: + compatible: + contains: + const: arm,pl050 + required: + - compatible + +properties: + compatible: + items: + - const: arm,pl050 + - const: arm,primecell + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + items: + - description: KMI reference clock, used to generate the bus timing + - description: APB register access clock + + clock-names: + items: + - const: KMIREFCLK + - const: apb_pclk + +required: + - compatible + - reg + - interrupts + - clocks + - clock-names + +additionalProperties: false + +examples: + - | + serio@70000 { + compatible = "arm,pl050", "arm,primecell"; + reg = <0x070000 0x1000>; + interrupts = <8>; + clocks = <&mb_clk24mhz>, <&soc_smc50mhz>; + clock-names = "KMIREFCLK", "apb_pclk"; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serio/ps2-gpio.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serio/ps2-gpio.yaml index 89ba01ff3e..99848bc34f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serio/ps2-gpio.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serio/ps2-gpio.yaml @@ -1,64 +1,64 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/serio/ps2-gpio.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: GPIO based PS/2 - -maintainers: - - Danilo Krummrich - -properties: - compatible: - const: ps2-gpio - - data-gpios: - description: - the gpio used for the data signal - this should be flagged as - active high using open drain with (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN) - from since the signal is open drain by - definition - maxItems: 1 - - clk-gpios: - description: - the gpio used for the clock signal - this should be flagged as - active high using open drain with (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN) - from since the signal is open drain by - definition - maxItems: 1 - - interrupts: - description: - The given interrupt should trigger on the falling edge of the clock line. - maxItems: 1 - - write-enable: - type: boolean - description: - Indicates whether write function is provided to serio device. Possibly - providing the write function will not work, because of the tough timing - requirements. - -required: - - compatible - - data-gpios - - clk-gpios - - interrupts - -additionalProperties: false - -examples: - - | - #include - #include - - ps2 { - compatible = "ps2-gpio"; - interrupt-parent = <&gpio>; - interrupts = <23 IRQ_TYPE_EDGE_FALLING>; - data-gpios = <&gpio 24 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; - clk-gpios = <&gpio 23 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; - write-enable; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/serio/ps2-gpio.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: GPIO based PS/2 + +maintainers: + - Danilo Krummrich + +properties: + compatible: + const: ps2-gpio + + data-gpios: + description: + the gpio used for the data signal - this should be flagged as + active high using open drain with (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN) + from since the signal is open drain by + definition + maxItems: 1 + + clk-gpios: + description: + the gpio used for the clock signal - this should be flagged as + active high using open drain with (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN) + from since the signal is open drain by + definition + maxItems: 1 + + interrupts: + description: + The given interrupt should trigger on the falling edge of the clock line. + maxItems: 1 + + write-enable: + type: boolean + description: + Indicates whether write function is provided to serio device. Possibly + providing the write function will not work, because of the tough timing + requirements. + +required: + - compatible + - data-gpios + - clk-gpios + - interrupts + +additionalProperties: false + +examples: + - | + #include + #include + + ps2 { + compatible = "ps2-gpio"; + interrupt-parent = <&gpio>; + interrupts = <23 IRQ_TYPE_EDGE_FALLING>; + data-gpios = <&gpio 24 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; + clk-gpios = <&gpio 23 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; + write-enable; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sifive/sifive-blocks-ip-versioning.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sifive/sifive-blocks-ip-versioning.txt index 20619193e7..beaa3b6408 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sifive/sifive-blocks-ip-versioning.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sifive/sifive-blocks-ip-versioning.txt @@ -1,38 +1,38 @@ -DT compatible string versioning for SiFive open-source IP blocks - -This document describes the version specification for DT "compatible" -strings for open-source SiFive IP blocks. HDL for these IP blocks -can be found in this public repository: - -https://github.com/sifive/sifive-blocks - -IP block-specific DT compatible strings are contained within the HDL, -in the form "sifive,". - -An example is "sifive,uart0" from: - -https://github.com/sifive/sifive-blocks/blob/v1.0/src/main/scala/devices/uart/UART.scala#L43 - -Until these IP blocks (or IP integration) support version -auto-discovery, the maintainers of these IP blocks intend to increment -the suffixed number in the compatible string whenever the software -interface to these IP blocks changes, or when the functionality of the -underlying IP blocks changes in a way that software should be aware of. - -Driver developers can use compatible string "match" values such as -"sifive,uart0" to indicate that their driver is compatible with the -register interface and functionality associated with the relevant -upstream sifive-blocks commits. It is expected that most drivers will -match on these IP block-specific compatible strings. - -DT data authors, when writing data for a particular SoC, should -continue to specify an SoC-specific compatible string value, such as -"sifive,fu540-c000-uart". This way, if SoC-specific -integration-specific bug fixes or workarounds are needed, the kernel -or other system software can match on this string to apply them. The -IP block-specific compatible string (such as "sifive,uart0") should -then be specified as a subsequent value. - -An example of this style: - - compatible = "sifive,fu540-c000-uart", "sifive,uart0"; +DT compatible string versioning for SiFive open-source IP blocks + +This document describes the version specification for DT "compatible" +strings for open-source SiFive IP blocks. HDL for these IP blocks +can be found in this public repository: + +https://github.com/sifive/sifive-blocks + +IP block-specific DT compatible strings are contained within the HDL, +in the form "sifive,". + +An example is "sifive,uart0" from: + +https://github.com/sifive/sifive-blocks/blob/v1.0/src/main/scala/devices/uart/UART.scala#L43 + +Until these IP blocks (or IP integration) support version +auto-discovery, the maintainers of these IP blocks intend to increment +the suffixed number in the compatible string whenever the software +interface to these IP blocks changes, or when the functionality of the +underlying IP blocks changes in a way that software should be aware of. + +Driver developers can use compatible string "match" values such as +"sifive,uart0" to indicate that their driver is compatible with the +register interface and functionality associated with the relevant +upstream sifive-blocks commits. It is expected that most drivers will +match on these IP block-specific compatible strings. + +DT data authors, when writing data for a particular SoC, should +continue to specify an SoC-specific compatible string value, such as +"sifive,fu540-c000-uart". This way, if SoC-specific +integration-specific bug fixes or workarounds are needed, the kernel +or other system software can match on this string to apply them. The +IP block-specific compatible string (such as "sifive,uart0") should +then be specified as a subsequent value. + +An example of this style: + + compatible = "sifive,fu540-c000-uart", "sifive,uart0"; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/aspeed/uart-routing.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/aspeed/uart-routing.yaml index 064e1370ce..51aaf34acb 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/aspeed/uart-routing.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/aspeed/uart-routing.yaml @@ -1,56 +1,56 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -# # Copyright (c) 2018 Google LLC -# # Copyright (c) 2021 Aspeed Technology Inc. -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/soc/aspeed/uart-routing.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Aspeed UART Routing Controller - -maintainers: - - Oskar Senft - - Chia-Wei Wang - -description: - The Aspeed UART routing control allow to dynamically route the inputs for - the built-in UARTS and physical serial I/O ports. - - This allows, for example, to connect the output of UART to another UART. - This can be used to enable Host <-> BMC communication via UARTs, e.g. to - allow access to the Host's serial console. - - This driver is for the BMC side. The sysfs files allow the BMC userspace - which owns the system configuration policy, to configure how UARTs and - physical serial I/O ports are routed. - -properties: - compatible: - items: - - enum: - - aspeed,ast2400-uart-routing - - aspeed,ast2500-uart-routing - - aspeed,ast2600-uart-routing - reg: - maxItems: 1 - -required: - - compatible - -additionalProperties: false - -examples: - - | - lpc: lpc@1e789000 { - compatible = "aspeed,ast2600-lpc-v2", "simple-mfd", "syscon"; - reg = <0x1e789000 0x1000>; - - #address-cells = <1>; - #size-cells = <1>; - ranges = <0x0 0x1e789000 0x1000>; - - uart_routing: uart-routing@98 { - compatible = "aspeed,ast2600-uart-routing"; - reg = <0x98 0x8>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +# # Copyright (c) 2018 Google LLC +# # Copyright (c) 2021 Aspeed Technology Inc. +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/aspeed/uart-routing.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Aspeed UART Routing Controller + +maintainers: + - Oskar Senft + - Chia-Wei Wang + +description: + The Aspeed UART routing control allow to dynamically route the inputs for + the built-in UARTS and physical serial I/O ports. + + This allows, for example, to connect the output of UART to another UART. + This can be used to enable Host <-> BMC communication via UARTs, e.g. to + allow access to the Host's serial console. + + This driver is for the BMC side. The sysfs files allow the BMC userspace + which owns the system configuration policy, to configure how UARTs and + physical serial I/O ports are routed. + +properties: + compatible: + items: + - enum: + - aspeed,ast2400-uart-routing + - aspeed,ast2500-uart-routing + - aspeed,ast2600-uart-routing + reg: + maxItems: 1 + +required: + - compatible + +additionalProperties: false + +examples: + - | + lpc: lpc@1e789000 { + compatible = "aspeed,ast2600-lpc-v2", "simple-mfd", "syscon"; + reg = <0x1e789000 0x1000>; + + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x0 0x1e789000 0x1000>; + + uart_routing: uart-routing@98 { + compatible = "aspeed,ast2600-uart-routing"; + reg = <0x98 0x8>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/bcm/brcm,bcm2835-pm.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/bcm/brcm,bcm2835-pm.yaml index 21f731a3a7..e28ef198a8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/bcm/brcm,bcm2835-pm.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/bcm/brcm,bcm2835-pm.yaml @@ -1,86 +1,86 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/soc/bcm/brcm,bcm2835-pm.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: BCM2835 PM (Power domains, watchdog) - -description: | - The PM block controls power domains and some reset lines, and includes a - watchdog timer. - -maintainers: - - Nicolas Saenz Julienne - -allOf: - - $ref: /schemas/watchdog/watchdog.yaml# - -properties: - compatible: - items: - - enum: - - brcm,bcm2835-pm - - brcm,bcm2711-pm - - const: brcm,bcm2835-pm-wdt - - reg: - minItems: 2 - maxItems: 3 - - reg-names: - minItems: 2 - items: - - const: pm - - const: asb - - const: rpivid_asb - - "#power-domain-cells": - const: 1 - - "#reset-cells": - const: 1 - - clocks: - minItems: 4 - maxItems: 4 - - clock-names: - items: - - const: v3d - - const: peri_image - - const: h264 - - const: isp - - system-power-controller: - type: boolean - - timeout-sec: true - -required: - - compatible - - reg - - "#power-domain-cells" - - "#reset-cells" - - clocks - -additionalProperties: false - -examples: - - | - #include - - watchdog@7e100000 { - compatible = "brcm,bcm2835-pm", "brcm,bcm2835-pm-wdt"; - #power-domain-cells = <1>; - #reset-cells = <1>; - reg = <0x7e100000 0x114>, - <0x7e00a000 0x24>; - reg-names = "pm", "asb"; - clocks = <&clocks BCM2835_CLOCK_V3D>, - <&clocks BCM2835_CLOCK_PERI_IMAGE>, - <&clocks BCM2835_CLOCK_H264>, - <&clocks BCM2835_CLOCK_ISP>; - clock-names = "v3d", "peri_image", "h264", "isp"; - system-power-controller; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/bcm/brcm,bcm2835-pm.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: BCM2835 PM (Power domains, watchdog) + +description: | + The PM block controls power domains and some reset lines, and includes a + watchdog timer. + +maintainers: + - Nicolas Saenz Julienne + +allOf: + - $ref: /schemas/watchdog/watchdog.yaml# + +properties: + compatible: + items: + - enum: + - brcm,bcm2835-pm + - brcm,bcm2711-pm + - const: brcm,bcm2835-pm-wdt + + reg: + minItems: 2 + maxItems: 3 + + reg-names: + minItems: 2 + items: + - const: pm + - const: asb + - const: rpivid_asb + + "#power-domain-cells": + const: 1 + + "#reset-cells": + const: 1 + + clocks: + minItems: 4 + maxItems: 4 + + clock-names: + items: + - const: v3d + - const: peri_image + - const: h264 + - const: isp + + system-power-controller: + type: boolean + + timeout-sec: true + +required: + - compatible + - reg + - "#power-domain-cells" + - "#reset-cells" + - clocks + +additionalProperties: false + +examples: + - | + #include + + watchdog@7e100000 { + compatible = "brcm,bcm2835-pm", "brcm,bcm2835-pm-wdt"; + #power-domain-cells = <1>; + #reset-cells = <1>; + reg = <0x7e100000 0x114>, + <0x7e00a000 0x24>; + reg-names = "pm", "asb"; + clocks = <&clocks BCM2835_CLOCK_V3D>, + <&clocks BCM2835_CLOCK_PERI_IMAGE>, + <&clocks BCM2835_CLOCK_H264>, + <&clocks BCM2835_CLOCK_ISP>; + clock-names = "v3d", "peri_image", "h264", "isp"; + system-power-controller; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/dove/pmu.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/dove/pmu.txt index 79dc2601e0..edd40b796b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/dove/pmu.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/dove/pmu.txt @@ -1,56 +1,56 @@ -Device Tree bindings for Marvell PMU - -Required properties: - - compatible: value should be "marvell,dove-pmu". - May also include "simple-bus" if there are child devices, in which - case the ranges node is required. - - reg: two base addresses and sizes of the PM controller and PMU. - - interrupts: single interrupt number for the PMU interrupt - - interrupt-controller: must be specified as the PMU itself is an - interrupt controller. - - #interrupt-cells: must be 1. - - #reset-cells: must be 1. - - domains: sub-node containing domain descriptions - -Optional properties: - - ranges: defines the address mapping for child devices, as per the - standard property of this name. Required when compatible includes - "simple-bus". - -Power domain descriptions are listed as child nodes of the "domains" -sub-node. Each domain has the following properties: - -Required properties: - - #power-domain-cells: must be 0. - -Optional properties: - - marvell,pmu_pwr_mask: specifies the mask value for PMU power register - - marvell,pmu_iso_mask: specifies the mask value for PMU isolation register - - resets: points to the reset manager (PMU node) and reset index. - -Example: - - pmu: power-management@d0000 { - compatible = "marvell,dove-pmu"; - reg = <0xd0000 0x8000>, <0xd8000 0x8000>; - interrupts = <33>; - interrupt-controller; - #interrupt-cells = <1>; - #reset-cells = <1>; - - domains { - vpu_domain: vpu-domain { - #power-domain-cells = <0>; - marvell,pmu_pwr_mask = <0x00000008>; - marvell,pmu_iso_mask = <0x00000001>; - resets = <&pmu 16>; - }; - - gpu_domain: gpu-domain { - #power-domain-cells = <0>; - marvell,pmu_pwr_mask = <0x00000004>; - marvell,pmu_iso_mask = <0x00000002>; - resets = <&pmu 18>; - }; - }; - }; +Device Tree bindings for Marvell PMU + +Required properties: + - compatible: value should be "marvell,dove-pmu". + May also include "simple-bus" if there are child devices, in which + case the ranges node is required. + - reg: two base addresses and sizes of the PM controller and PMU. + - interrupts: single interrupt number for the PMU interrupt + - interrupt-controller: must be specified as the PMU itself is an + interrupt controller. + - #interrupt-cells: must be 1. + - #reset-cells: must be 1. + - domains: sub-node containing domain descriptions + +Optional properties: + - ranges: defines the address mapping for child devices, as per the + standard property of this name. Required when compatible includes + "simple-bus". + +Power domain descriptions are listed as child nodes of the "domains" +sub-node. Each domain has the following properties: + +Required properties: + - #power-domain-cells: must be 0. + +Optional properties: + - marvell,pmu_pwr_mask: specifies the mask value for PMU power register + - marvell,pmu_iso_mask: specifies the mask value for PMU isolation register + - resets: points to the reset manager (PMU node) and reset index. + +Example: + + pmu: power-management@d0000 { + compatible = "marvell,dove-pmu"; + reg = <0xd0000 0x8000>, <0xd8000 0x8000>; + interrupts = <33>; + interrupt-controller; + #interrupt-cells = <1>; + #reset-cells = <1>; + + domains { + vpu_domain: vpu-domain { + #power-domain-cells = <0>; + marvell,pmu_pwr_mask = <0x00000008>; + marvell,pmu_iso_mask = <0x00000001>; + resets = <&pmu 16>; + }; + + gpu_domain: gpu-domain { + #power-domain-cells = <0>; + marvell,pmu_pwr_mask = <0x00000004>; + marvell,pmu_iso_mask = <0x00000002>; + resets = <&pmu 18>; + }; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/fsl/cpm_qe/cpm/i2c.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/fsl/cpm_qe/cpm/i2c.txt index 6a9cd81fbd..87bc604866 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/fsl/cpm_qe/cpm/i2c.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/fsl/cpm_qe/cpm/i2c.txt @@ -1,41 +1,41 @@ -* I2C - -The I2C controller is expressed as a bus under the CPM node. - -Properties: -- compatible : "fsl,cpm1-i2c", "fsl,cpm2-i2c" -- reg : On CPM2 devices, the second resource doesn't specify the I2C - Parameter RAM itself, but the I2C_BASE field of the CPM2 Parameter RAM - (typically 0x8afc 0x2). -- #address-cells : Should be one. The cell is the i2c device address with - the r/w bit set to zero. -- #size-cells : Should be zero. -- clock-frequency : Can be used to set the i2c clock frequency. If - unspecified, a default frequency of 60kHz is being used. -The following two properties are deprecated. They are only used by legacy -i2c drivers to find the bus to probe: -- linux,i2c-index : Can be used to hard code an i2c bus number. By default, - the bus number is dynamically assigned by the i2c core. -- linux,i2c-class : Can be used to override the i2c class. The class is used - by legacy i2c device drivers to find a bus in a specific context like - system management, video or sound. By default, I2C_CLASS_HWMON (1) is - being used. The definition of the classes can be found in - include/i2c/i2c.h - -Example, based on mpc823: - - i2c@860 { - compatible = "fsl,mpc823-i2c", - "fsl,cpm1-i2c"; - reg = <0x860 0x20 0x3c80 0x30>; - interrupts = <16>; - interrupt-parent = <&CPM_PIC>; - fsl,cpm-command = <0x10>; - #address-cells = <1>; - #size-cells = <0>; - - rtc@68 { - compatible = "dallas,ds1307"; - reg = <0x68>; - }; - }; +* I2C + +The I2C controller is expressed as a bus under the CPM node. + +Properties: +- compatible : "fsl,cpm1-i2c", "fsl,cpm2-i2c" +- reg : On CPM2 devices, the second resource doesn't specify the I2C + Parameter RAM itself, but the I2C_BASE field of the CPM2 Parameter RAM + (typically 0x8afc 0x2). +- #address-cells : Should be one. The cell is the i2c device address with + the r/w bit set to zero. +- #size-cells : Should be zero. +- clock-frequency : Can be used to set the i2c clock frequency. If + unspecified, a default frequency of 60kHz is being used. +The following two properties are deprecated. They are only used by legacy +i2c drivers to find the bus to probe: +- linux,i2c-index : Can be used to hard code an i2c bus number. By default, + the bus number is dynamically assigned by the i2c core. +- linux,i2c-class : Can be used to override the i2c class. The class is used + by legacy i2c device drivers to find a bus in a specific context like + system management, video or sound. By default, I2C_CLASS_HWMON (1) is + being used. The definition of the classes can be found in + include/i2c/i2c.h + +Example, based on mpc823: + + i2c@860 { + compatible = "fsl,mpc823-i2c", + "fsl,cpm1-i2c"; + reg = <0x860 0x20 0x3c80 0x30>; + interrupts = <16>; + interrupt-parent = <&CPM_PIC>; + fsl,cpm-command = <0x10>; + #address-cells = <1>; + #size-cells = <0>; + + rtc@68 { + compatible = "dallas,ds1307"; + reg = <0x68>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/fsl/cpm_qe/fsl,qe-firmware.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/fsl/cpm_qe/fsl,qe-firmware.yaml index d330c20844..53b07d4edc 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/fsl/cpm_qe/fsl,qe-firmware.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/fsl/cpm_qe/fsl,qe-firmware.yaml @@ -1,48 +1,48 @@ -# 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-firmware.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Freescale QUICC Engine module Firmware Node - -maintainers: - - Frank Li - -description: | - This node defines a firmware binary that is embedded in the device tree, for - the purpose of passing the firmware from bootloader to the kernel, or from - the hypervisor to the guest. - - The firmware node itself contains the firmware binary contents, a compatible - property, and any firmware-specific properties. The node should be placed - inside a QE node that needs it. Doing so eliminates the need for a - fsl,firmware-phandle property. Other QE nodes that need the same firmware - should define an fsl,firmware-phandle property that points to the firmware node - in the first QE node. - - The fsl,firmware property can be specified in the DTS (possibly using incbin) - or can be inserted by the boot loader at boot time. - -properties: - compatible: - enum: - - fsl,qe-firmware - - fsl,firmware: - $ref: /schemas/types.yaml#/definitions/uint8-array - description: - A standard property. This property contains the firmware binary "blob". - -required: - - compatible - - fsl,firmware - -additionalProperties: false - -examples: - - | - qe-firmware { - compatible = "fsl,qe-firmware"; - fsl,firmware = <0x70 0xcd 0x00 0x00 0x01 0x46 0x45>; - }; +# 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-firmware.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Freescale QUICC Engine module Firmware Node + +maintainers: + - Frank Li + +description: | + This node defines a firmware binary that is embedded in the device tree, for + the purpose of passing the firmware from bootloader to the kernel, or from + the hypervisor to the guest. + + The firmware node itself contains the firmware binary contents, a compatible + property, and any firmware-specific properties. The node should be placed + inside a QE node that needs it. Doing so eliminates the need for a + fsl,firmware-phandle property. Other QE nodes that need the same firmware + should define an fsl,firmware-phandle property that points to the firmware node + in the first QE node. + + The fsl,firmware property can be specified in the DTS (possibly using incbin) + or can be inserted by the boot loader at boot time. + +properties: + compatible: + enum: + - fsl,qe-firmware + + fsl,firmware: + $ref: /schemas/types.yaml#/definitions/uint8-array + description: + A standard property. This property contains the firmware binary "blob". + +required: + - compatible + - fsl,firmware + +additionalProperties: false + +examples: + - | + qe-firmware { + compatible = "fsl,qe-firmware"; + fsl,firmware = <0x70 0xcd 0x00 0x00 0x01 0x46 0x45>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/fsl/cpm_qe/qe/par_io.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/fsl/cpm_qe/qe/par_io.txt index 1147610820..09b1b05fa6 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/fsl/cpm_qe/qe/par_io.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/fsl/cpm_qe/qe/par_io.txt @@ -1,51 +1,51 @@ -* Parallel I/O Ports - -This node configures Parallel I/O ports for CPUs with QE support. -The node should reside in the "soc" node of the tree. For each -device that using parallel I/O ports, a child node should be created. -See the definition of the Pin configuration nodes below for more -information. - -Required properties: -- device_type : should be "par_io". -- reg : offset to the register set and its length. -- num-ports : number of Parallel I/O ports - -Example: -par_io@1400 { - reg = <1400 100>; - #address-cells = <1>; - #size-cells = <0>; - device_type = "par_io"; - num-ports = <7>; - ucc_pin@1 { - ...... - }; - -Note that "par_io" nodes are obsolete, and should not be used for -the new device trees. Instead, each Par I/O bank should be represented -via its own gpio-controller node: - -Required properties: -- #gpio-cells : should be "2". -- compatible : should be "fsl,-qe-pario-bank", - "fsl,mpc8323-qe-pario-bank". -- reg : offset to the register set and its length. -- gpio-controller : node to identify gpio controllers. - -Example: - qe_pio_a: gpio-controller@1400 { - #gpio-cells = <2>; - compatible = "fsl,mpc8360-qe-pario-bank", - "fsl,mpc8323-qe-pario-bank"; - reg = <0x1400 0x18>; - gpio-controller; - }; - - qe_pio_e: gpio-controller@1460 { - #gpio-cells = <2>; - compatible = "fsl,mpc8360-qe-pario-bank", - "fsl,mpc8323-qe-pario-bank"; - reg = <0x1460 0x18>; - gpio-controller; - }; +* Parallel I/O Ports + +This node configures Parallel I/O ports for CPUs with QE support. +The node should reside in the "soc" node of the tree. For each +device that using parallel I/O ports, a child node should be created. +See the definition of the Pin configuration nodes below for more +information. + +Required properties: +- device_type : should be "par_io". +- reg : offset to the register set and its length. +- num-ports : number of Parallel I/O ports + +Example: +par_io@1400 { + reg = <1400 100>; + #address-cells = <1>; + #size-cells = <0>; + device_type = "par_io"; + num-ports = <7>; + ucc_pin@1 { + ...... + }; + +Note that "par_io" nodes are obsolete, and should not be used for +the new device trees. Instead, each Par I/O bank should be represented +via its own gpio-controller node: + +Required properties: +- #gpio-cells : should be "2". +- compatible : should be "fsl,-qe-pario-bank", + "fsl,mpc8323-qe-pario-bank". +- reg : offset to the register set and its length. +- gpio-controller : node to identify gpio controllers. + +Example: + qe_pio_a: gpio-controller@1400 { + #gpio-cells = <2>; + compatible = "fsl,mpc8360-qe-pario-bank", + "fsl,mpc8323-qe-pario-bank"; + reg = <0x1400 0x18>; + gpio-controller; + }; + + qe_pio_e: gpio-controller@1460 { + #gpio-cells = <2>; + compatible = "fsl,mpc8360-qe-pario-bank", + "fsl,mpc8323-qe-pario-bank"; + reg = <0x1460 0x18>; + gpio-controller; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/fsl/cpm_qe/qe/pincfg.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/fsl/cpm_qe/qe/pincfg.txt index 21f2c71c73..5bde8b98a8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/fsl/cpm_qe/qe/pincfg.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/fsl/cpm_qe/qe/pincfg.txt @@ -1,57 +1,57 @@ -* Pin configuration nodes - -Required properties: -- pio-map : array of pin configurations. Each pin is defined by 6 - integers. The six numbers are respectively: port, pin, dir, - open_drain, assignment, has_irq. - - port : port number of the pin; 0-6 represent port A-G in UM. - - pin : pin number in the port. - - dir : direction of the pin, should encode as follows: - - 0 = The pin is disabled - 1 = The pin is an output - 2 = The pin is an input - 3 = The pin is I/O - - - open_drain : indicates the pin is normal or wired-OR: - - 0 = The pin is actively driven as an output - 1 = The pin is an open-drain driver. As an output, the pin is - driven active-low, otherwise it is three-stated. - - - assignment : function number of the pin according to the Pin Assignment - tables in User Manual. Each pin can have up to 4 possible functions in - QE and two options for CPM. - - has_irq : indicates if the pin is used as source of external - interrupts. - -Example: - ucc_pin@1 { - pio-map = < - /* port pin dir open_drain assignment has_irq */ - 0 3 1 0 1 0 /* TxD0 */ - 0 4 1 0 1 0 /* TxD1 */ - 0 5 1 0 1 0 /* TxD2 */ - 0 6 1 0 1 0 /* TxD3 */ - 1 6 1 0 3 0 /* TxD4 */ - 1 7 1 0 1 0 /* TxD5 */ - 1 9 1 0 2 0 /* TxD6 */ - 1 a 1 0 2 0 /* TxD7 */ - 0 9 2 0 1 0 /* RxD0 */ - 0 a 2 0 1 0 /* RxD1 */ - 0 b 2 0 1 0 /* RxD2 */ - 0 c 2 0 1 0 /* RxD3 */ - 0 d 2 0 1 0 /* RxD4 */ - 1 1 2 0 2 0 /* RxD5 */ - 1 0 2 0 2 0 /* RxD6 */ - 1 4 2 0 2 0 /* RxD7 */ - 0 7 1 0 1 0 /* TX_EN */ - 0 8 1 0 1 0 /* TX_ER */ - 0 f 2 0 1 0 /* RX_DV */ - 0 10 2 0 1 0 /* RX_ER */ - 0 0 2 0 1 0 /* RX_CLK */ - 2 9 1 0 3 0 /* GTX_CLK - CLK10 */ - 2 8 2 0 1 0>; /* GTX125 - CLK9 */ - }; - - +* Pin configuration nodes + +Required properties: +- pio-map : array of pin configurations. Each pin is defined by 6 + integers. The six numbers are respectively: port, pin, dir, + open_drain, assignment, has_irq. + - port : port number of the pin; 0-6 represent port A-G in UM. + - pin : pin number in the port. + - dir : direction of the pin, should encode as follows: + + 0 = The pin is disabled + 1 = The pin is an output + 2 = The pin is an input + 3 = The pin is I/O + + - open_drain : indicates the pin is normal or wired-OR: + + 0 = The pin is actively driven as an output + 1 = The pin is an open-drain driver. As an output, the pin is + driven active-low, otherwise it is three-stated. + + - assignment : function number of the pin according to the Pin Assignment + tables in User Manual. Each pin can have up to 4 possible functions in + QE and two options for CPM. + - has_irq : indicates if the pin is used as source of external + interrupts. + +Example: + ucc_pin@1 { + pio-map = < + /* port pin dir open_drain assignment has_irq */ + 0 3 1 0 1 0 /* TxD0 */ + 0 4 1 0 1 0 /* TxD1 */ + 0 5 1 0 1 0 /* TxD2 */ + 0 6 1 0 1 0 /* TxD3 */ + 1 6 1 0 3 0 /* TxD4 */ + 1 7 1 0 1 0 /* TxD5 */ + 1 9 1 0 2 0 /* TxD6 */ + 1 a 1 0 2 0 /* TxD7 */ + 0 9 2 0 1 0 /* RxD0 */ + 0 a 2 0 1 0 /* RxD1 */ + 0 b 2 0 1 0 /* RxD2 */ + 0 c 2 0 1 0 /* RxD3 */ + 0 d 2 0 1 0 /* RxD4 */ + 1 1 2 0 2 0 /* RxD5 */ + 1 0 2 0 2 0 /* RxD6 */ + 1 4 2 0 2 0 /* RxD7 */ + 0 7 1 0 1 0 /* TX_EN */ + 0 8 1 0 1 0 /* TX_ER */ + 0 f 2 0 1 0 /* RX_DV */ + 0 10 2 0 1 0 /* RX_ER */ + 0 0 2 0 1 0 /* RX_CLK */ + 2 9 1 0 3 0 /* GTX_CLK - CLK10 */ + 2 8 2 0 1 0>; /* GTX125 - CLK9 */ + }; + + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/fsl/cpm_qe/qe/usb.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/fsl/cpm_qe/qe/usb.txt index 3997fa0774..da13999337 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/fsl/cpm_qe/qe/usb.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/fsl/cpm_qe/qe/usb.txt @@ -1,36 +1,36 @@ -Freescale QUICC Engine USB Controller - -Required properties: -- compatible : should be "fsl,-qe-usb", "fsl,mpc8323-qe-usb". -- reg : the first two cells should contain usb registers location and - length, the next two two cells should contain PRAM location and - length. -- interrupts : should contain USB interrupt. -- fsl,fullspeed-clock : specifies the full speed USB clock source: - "none": clock source is disabled - "brg1" through "brg16": clock source is BRG1-BRG16, respectively - "clk1" through "clk24": clock source is CLK1-CLK24, respectively -- fsl,lowspeed-clock : specifies the low speed USB clock source: - "none": clock source is disabled - "brg1" through "brg16": clock source is BRG1-BRG16, respectively - "clk1" through "clk24": clock source is CLK1-CLK24, respectively -- hub-power-budget : USB power budget for the root hub, in mA. -- gpios : should specify GPIOs in this order: USBOE, USBTP, USBTN, USBRP, - USBRN, SPEED (optional), and POWER (optional). - -Example: - -usb@6c0 { - compatible = "fsl,mpc8360-qe-usb", "fsl,mpc8323-qe-usb"; - reg = <0x6c0 0x40 0x8b00 0x100>; - interrupts = <11>; - interrupt-parent = <&qeic>; - fsl,fullspeed-clock = "clk21"; - gpios = <&qe_pio_b 2 0 /* USBOE */ - &qe_pio_b 3 0 /* USBTP */ - &qe_pio_b 8 0 /* USBTN */ - &qe_pio_b 9 0 /* USBRP */ - &qe_pio_b 11 0 /* USBRN */ - &qe_pio_e 20 0 /* SPEED */ - &qe_pio_e 21 0 /* POWER */>; -}; +Freescale QUICC Engine USB Controller + +Required properties: +- compatible : should be "fsl,-qe-usb", "fsl,mpc8323-qe-usb". +- reg : the first two cells should contain usb registers location and + length, the next two two cells should contain PRAM location and + length. +- interrupts : should contain USB interrupt. +- fsl,fullspeed-clock : specifies the full speed USB clock source: + "none": clock source is disabled + "brg1" through "brg16": clock source is BRG1-BRG16, respectively + "clk1" through "clk24": clock source is CLK1-CLK24, respectively +- fsl,lowspeed-clock : specifies the low speed USB clock source: + "none": clock source is disabled + "brg1" through "brg16": clock source is BRG1-BRG16, respectively + "clk1" through "clk24": clock source is CLK1-CLK24, respectively +- hub-power-budget : USB power budget for the root hub, in mA. +- gpios : should specify GPIOs in this order: USBOE, USBTP, USBTN, USBRP, + USBRN, SPEED (optional), and POWER (optional). + +Example: + +usb@6c0 { + compatible = "fsl,mpc8360-qe-usb", "fsl,mpc8323-qe-usb"; + reg = <0x6c0 0x40 0x8b00 0x100>; + interrupts = <11>; + interrupt-parent = <&qeic>; + fsl,fullspeed-clock = "clk21"; + gpios = <&qe_pio_b 2 0 /* USBOE */ + &qe_pio_b 3 0 /* USBTP */ + &qe_pio_b 8 0 /* USBTN */ + &qe_pio_b 9 0 /* USBRP */ + &qe_pio_b 11 0 /* USBRN */ + &qe_pio_e 20 0 /* SPEED */ + &qe_pio_e 21 0 /* POWER */>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/fsl/fsl,layerscape-dcfg.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/fsl/fsl,layerscape-dcfg.yaml index 60df84cafb..3fb0534ea5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/fsl/fsl,layerscape-dcfg.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/fsl/fsl,layerscape-dcfg.yaml @@ -1,67 +1,67 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/soc/fsl/fsl,layerscape-dcfg.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Freescale Layerscape Device Configuration Unit - -maintainers: - - Shawn Guo - -description: | - DCFG is the device configuration unit, that provides general purpose - configuration and status for the device. Such as setting the secondary - core start address and release the secondary core from holdoff and - startup. - -properties: - compatible: - oneOf: - - items: - - enum: - - fsl,ls1012a-dcfg - - fsl,ls1021a-dcfg - - fsl,ls1043a-dcfg - - fsl,ls1046a-dcfg - - fsl,ls1088a-dcfg - - fsl,ls2080a-dcfg - - fsl,lx2160a-dcfg - - const: syscon - - - items: - - enum: - - fsl,ls1028a-dcfg - - const: syscon - - const: simple-mfd - - reg: - maxItems: 1 - - little-endian: true - big-endian: true - - '#address-cells': - const: 1 - - '#size-cells': - const: 1 - - ranges: true - -patternProperties: - "^clock-controller@[0-9a-f]+$": - $ref: /schemas/clock/fsl,flexspi-clock.yaml# - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - syscon@1ee0000 { - compatible = "fsl,ls1021a-dcfg", "syscon"; - reg = <0x1ee0000 0x10000>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/fsl/fsl,layerscape-dcfg.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Freescale Layerscape Device Configuration Unit + +maintainers: + - Shawn Guo + +description: | + DCFG is the device configuration unit, that provides general purpose + configuration and status for the device. Such as setting the secondary + core start address and release the secondary core from holdoff and + startup. + +properties: + compatible: + oneOf: + - items: + - enum: + - fsl,ls1012a-dcfg + - fsl,ls1021a-dcfg + - fsl,ls1043a-dcfg + - fsl,ls1046a-dcfg + - fsl,ls1088a-dcfg + - fsl,ls2080a-dcfg + - fsl,lx2160a-dcfg + - const: syscon + + - items: + - enum: + - fsl,ls1028a-dcfg + - const: syscon + - const: simple-mfd + + reg: + maxItems: 1 + + little-endian: true + big-endian: true + + '#address-cells': + const: 1 + + '#size-cells': + const: 1 + + ranges: true + +patternProperties: + "^clock-controller@[0-9a-f]+$": + $ref: /schemas/clock/fsl,flexspi-clock.yaml# + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + syscon@1ee0000 { + compatible = "fsl,ls1021a-dcfg", "syscon"; + reg = <0x1ee0000 0x10000>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/imx/fsl,imx-iomuxc-gpr.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/imx/fsl,imx-iomuxc-gpr.yaml index 95954534ef..8451cb4dd8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/imx/fsl,imx-iomuxc-gpr.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/imx/fsl,imx-iomuxc-gpr.yaml @@ -1,73 +1,73 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/soc/imx/fsl,imx-iomuxc-gpr.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Freescale IOMUX Controller General Purpose Registers - -maintainers: - - Peng Fan - -description: - i.MX Processors have an IOMUXC General Purpose Register group for - various System Settings - -properties: - compatible: - oneOf: - - items: - - enum: - - fsl,imx6q-iomuxc-gpr - - fsl,imx8mq-iomuxc-gpr - - const: syscon - - const: simple-mfd - - items: - - enum: - - fsl,imx6sl-iomuxc-gpr - - fsl,imx6sll-iomuxc-gpr - - fsl,imx6ul-iomuxc-gpr - - const: fsl,imx6q-iomuxc-gpr - - const: syscon - - items: - - enum: - - fsl,imx6sx-iomuxc-gpr - - fsl,imx7d-iomuxc-gpr - - const: fsl,imx6q-iomuxc-gpr - - const: syscon - - const: simple-mfd - - items: - - enum: - - fsl,imx8mm-iomuxc-gpr - - fsl,imx8mn-iomuxc-gpr - - fsl,imx8mp-iomuxc-gpr - - const: syscon - - reg: - maxItems: 1 - - mux-controller: - type: object - $ref: /schemas/mux/reg-mux.yaml - -additionalProperties: false - -required: - - compatible - - reg - -examples: - # Pinmux controller node - - | - iomuxc_gpr: syscon@30340000 { - compatible = "fsl,imx8mq-iomuxc-gpr", "syscon", "simple-mfd"; - reg = <0x30340000 0x10000>; - - mux: mux-controller { - compatible = "mmio-mux"; - #mux-control-cells = <1>; - mux-reg-masks = <0x34 0x00000004>; /* MIPI_MUX_SEL */ - }; - }; - -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/imx/fsl,imx-iomuxc-gpr.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Freescale IOMUX Controller General Purpose Registers + +maintainers: + - Peng Fan + +description: + i.MX Processors have an IOMUXC General Purpose Register group for + various System Settings + +properties: + compatible: + oneOf: + - items: + - enum: + - fsl,imx6q-iomuxc-gpr + - fsl,imx8mq-iomuxc-gpr + - const: syscon + - const: simple-mfd + - items: + - enum: + - fsl,imx6sl-iomuxc-gpr + - fsl,imx6sll-iomuxc-gpr + - fsl,imx6ul-iomuxc-gpr + - const: fsl,imx6q-iomuxc-gpr + - const: syscon + - items: + - enum: + - fsl,imx6sx-iomuxc-gpr + - fsl,imx7d-iomuxc-gpr + - const: fsl,imx6q-iomuxc-gpr + - const: syscon + - const: simple-mfd + - items: + - enum: + - fsl,imx8mm-iomuxc-gpr + - fsl,imx8mn-iomuxc-gpr + - fsl,imx8mp-iomuxc-gpr + - const: syscon + + reg: + maxItems: 1 + + mux-controller: + type: object + $ref: /schemas/mux/reg-mux.yaml + +additionalProperties: false + +required: + - compatible + - reg + +examples: + # Pinmux controller node + - | + iomuxc_gpr: syscon@30340000 { + compatible = "fsl,imx8mq-iomuxc-gpr", "syscon", "simple-mfd"; + reg = <0x30340000 0x10000>; + + mux: mux-controller { + compatible = "mmio-mux"; + #mux-control-cells = <1>; + mux-reg-masks = <0x34 0x00000004>; /* MIPI_MUX_SEL */ + }; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/imx/fsl,imx8mq-vpu-blk-ctrl.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/imx/fsl,imx8mq-vpu-blk-ctrl.yaml index 8876f2a926..ea5c90c6a1 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/imx/fsl,imx8mq-vpu-blk-ctrl.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/imx/fsl,imx8mq-vpu-blk-ctrl.yaml @@ -1,71 +1,71 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/soc/imx/fsl,imx8mq-vpu-blk-ctrl.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: NXP i.MX8MQ VPU blk-ctrl - -maintainers: - - Lucas Stach - -description: - The i.MX8MQ VPU blk-ctrl is a top-level peripheral providing access to - the NoC and ensuring proper power sequencing of the VPU peripherals - located in the VPU domain of the SoC. - -properties: - compatible: - items: - - const: fsl,imx8mq-vpu-blk-ctrl - - reg: - maxItems: 1 - - '#power-domain-cells': - const: 1 - - power-domains: - minItems: 3 - maxItems: 3 - - power-domain-names: - items: - - const: bus - - const: g1 - - const: g2 - - clocks: - minItems: 2 - maxItems: 2 - - clock-names: - items: - - const: g1 - - const: g2 - -required: - - compatible - - reg - - power-domains - - power-domain-names - - clocks - - clock-names - -additionalProperties: false - -examples: - - | - #include - #include - - blk-ctrl@38320000 { - compatible = "fsl,imx8mq-vpu-blk-ctrl"; - reg = <0x38320000 0x100>; - power-domains = <&pgc_vpu>, <&pgc_vpu>, <&pgc_vpu>; - power-domain-names = "bus", "g1", "g2"; - clocks = <&clk IMX8MQ_CLK_VPU_G1_ROOT>, - <&clk IMX8MQ_CLK_VPU_G2_ROOT>; - clock-names = "g1", "g2"; - #power-domain-cells = <1>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/imx/fsl,imx8mq-vpu-blk-ctrl.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NXP i.MX8MQ VPU blk-ctrl + +maintainers: + - Lucas Stach + +description: + The i.MX8MQ VPU blk-ctrl is a top-level peripheral providing access to + the NoC and ensuring proper power sequencing of the VPU peripherals + located in the VPU domain of the SoC. + +properties: + compatible: + items: + - const: fsl,imx8mq-vpu-blk-ctrl + + reg: + maxItems: 1 + + '#power-domain-cells': + const: 1 + + power-domains: + minItems: 3 + maxItems: 3 + + power-domain-names: + items: + - const: bus + - const: g1 + - const: g2 + + clocks: + minItems: 2 + maxItems: 2 + + clock-names: + items: + - const: g1 + - const: g2 + +required: + - compatible + - reg + - power-domains + - power-domain-names + - clocks + - clock-names + +additionalProperties: false + +examples: + - | + #include + #include + + blk-ctrl@38320000 { + compatible = "fsl,imx8mq-vpu-blk-ctrl"; + reg = <0x38320000 0x100>; + power-domains = <&pgc_vpu>, <&pgc_vpu>, <&pgc_vpu>; + power-domain-names = "bus", "g1", "g2"; + clocks = <&clk IMX8MQ_CLK_VPU_G1_ROOT>, + <&clk IMX8MQ_CLK_VPU_G2_ROOT>; + clock-names = "g1", "g2"; + #power-domain-cells = <1>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/imx/imx8m-soc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/imx/imx8m-soc.yaml index 2caa91a8f3..effcc72f94 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/imx/imx8m-soc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/imx/imx8m-soc.yaml @@ -1,86 +1,86 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/soc/imx/imx8m-soc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: NXP i.MX8M Series SoC - -maintainers: - - Alice Guo - -description: | - NXP i.MX8M series SoCs contain fuse entries from which SoC Unique ID can be - obtained. - -select: - properties: - compatible: - contains: - enum: - - fsl,imx8mm - - fsl,imx8mn - - fsl,imx8mp - - fsl,imx8mq - required: - - compatible - -patternProperties: - "^soc@[0-9a-f]+$": - type: object - properties: - compatible: - items: - - enum: - - fsl,imx8mm-soc - - fsl,imx8mn-soc - - fsl,imx8mp-soc - - fsl,imx8mq-soc - - const: simple-bus - - "#address-cells": - const: 1 - - "#size-cells": - const: 1 - - ranges: true - - dma-ranges: true - - nvmem-cells: - maxItems: 1 - description: Phandle to the SOC Unique ID provided by a nvmem node - - nvmem-cell-names: - const: soc_unique_id - - required: - - compatible - - nvmem-cells - - nvmem-cell-names - - additionalProperties: - type: object - -additionalProperties: true - -examples: - - | - / { - model = "FSL i.MX8MM EVK board"; - compatible = "fsl,imx8mm-evk", "fsl,imx8mm"; - #address-cells = <2>; - #size-cells = <2>; - - soc@0 { - compatible = "fsl,imx8mm-soc", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0x0 0x0 0x0 0x3e000000>; - nvmem-cells = <&imx8mm_uid>; - nvmem-cell-names = "soc_unique_id"; - }; - }; - -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/imx/imx8m-soc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NXP i.MX8M Series SoC + +maintainers: + - Alice Guo + +description: | + NXP i.MX8M series SoCs contain fuse entries from which SoC Unique ID can be + obtained. + +select: + properties: + compatible: + contains: + enum: + - fsl,imx8mm + - fsl,imx8mn + - fsl,imx8mp + - fsl,imx8mq + required: + - compatible + +patternProperties: + "^soc@[0-9a-f]+$": + type: object + properties: + compatible: + items: + - enum: + - fsl,imx8mm-soc + - fsl,imx8mn-soc + - fsl,imx8mp-soc + - fsl,imx8mq-soc + - const: simple-bus + + "#address-cells": + const: 1 + + "#size-cells": + const: 1 + + ranges: true + + dma-ranges: true + + nvmem-cells: + maxItems: 1 + description: Phandle to the SOC Unique ID provided by a nvmem node + + nvmem-cell-names: + const: soc_unique_id + + required: + - compatible + - nvmem-cells + - nvmem-cell-names + + additionalProperties: + type: object + +additionalProperties: true + +examples: + - | + / { + model = "FSL i.MX8MM EVK board"; + compatible = "fsl,imx8mm-evk", "fsl,imx8mm"; + #address-cells = <2>; + #size-cells = <2>; + + soc@0 { + compatible = "fsl,imx8mm-soc", "simple-bus"; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x0 0x0 0x0 0x3e000000>; + nvmem-cells = <&imx8mm_uid>; + nvmem-cell-names = "soc_unique_id"; + }; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/mediatek/devapc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/mediatek/devapc.yaml index b603154141..99e2caafea 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/mediatek/devapc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/mediatek/devapc.yaml @@ -1,61 +1,61 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -# # Copyright 2020 MediaTek Inc. -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/soc/mediatek/devapc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: MediaTek Device Access Permission Control driver - -description: | - MediaTek bus fabric provides TrustZone security support and data - protection to prevent slaves from being accessed by unexpected masters. - The security violation is logged and sent to the processor for further - analysis and countermeasures. - -maintainers: - - Neal Liu - -properties: - compatible: - enum: - - mediatek,mt6779-devapc - - mediatek,mt8186-devapc - - reg: - description: The base address of devapc register bank - maxItems: 1 - - interrupts: - description: A single interrupt specifier - maxItems: 1 - - clocks: - description: Contains module clock source and clock names - maxItems: 1 - - clock-names: - description: Names of the clocks list in clocks property - maxItems: 1 - -required: - - compatible - - reg - - interrupts - - clocks - - clock-names - -additionalProperties: false - -examples: - - | - #include - #include - - devapc: devapc@10207000 { - compatible = "mediatek,mt6779-devapc"; - reg = <0x10207000 0x1000>; - interrupts = ; - clocks = <&infracfg_ao CLK_INFRA_DEVICE_APC>; - clock-names = "devapc-infra-clock"; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +# # Copyright 2020 MediaTek Inc. +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/mediatek/devapc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: MediaTek Device Access Permission Control driver + +description: | + MediaTek bus fabric provides TrustZone security support and data + protection to prevent slaves from being accessed by unexpected masters. + The security violation is logged and sent to the processor for further + analysis and countermeasures. + +maintainers: + - Neal Liu + +properties: + compatible: + enum: + - mediatek,mt6779-devapc + - mediatek,mt8186-devapc + + reg: + description: The base address of devapc register bank + maxItems: 1 + + interrupts: + description: A single interrupt specifier + maxItems: 1 + + clocks: + description: Contains module clock source and clock names + maxItems: 1 + + clock-names: + description: Names of the clocks list in clocks property + maxItems: 1 + +required: + - compatible + - reg + - interrupts + - clocks + - clock-names + +additionalProperties: false + +examples: + - | + #include + #include + + devapc: devapc@10207000 { + compatible = "mediatek,mt6779-devapc"; + reg = <0x10207000 0x1000>; + interrupts = ; + clocks = <&infracfg_ao CLK_INFRA_DEVICE_APC>; + clock-names = "devapc-infra-clock"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/microchip/microchip,mpfs-sys-controller.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/microchip/microchip,mpfs-sys-controller.yaml index 6e3239a91d..a3fa04f3a1 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/microchip/microchip,mpfs-sys-controller.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/microchip/microchip,mpfs-sys-controller.yaml @@ -1,50 +1,50 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/soc/microchip/microchip,mpfs-sys-controller.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Microchip PolarFire SoC (MPFS) MSS (microprocessor subsystem) system controller - -maintainers: - - Conor Dooley - -description: | - PolarFire SoC devices include a microcontroller acting as the system controller, - which provides "services" to the main processor and to the FPGA fabric. These - services include hardware rng, reprogramming of the FPGA and verification of the - eNVM contents etc. More information on these services can be found online, at - https://onlinedocs.microchip.com/pr/GUID-1409CF11-8EF9-4C24-A94E-70979A688632-en-US-1/index.html - - Communication with the system controller is done via a mailbox, of which the client - portion is documented here. - -properties: - mboxes: - maxItems: 1 - - compatible: - const: microchip,mpfs-sys-controller - - microchip,bitstream-flash: - $ref: /schemas/types.yaml#/definitions/phandle - description: - The SPI flash connected to the system controller's QSPI controller. - The system controller may retrieve FPGA bitstreams from this flash to - perform In-Application Programming (IAP) or during device initialisation - for Auto Update. The MSS and system controller have separate QSPI - controllers and this flash is connected to both. Software running in the - MSS can write bitstreams to the flash. - -required: - - compatible - - mboxes - -additionalProperties: false - -examples: - - | - syscontroller { - compatible = "microchip,mpfs-sys-controller"; - mboxes = <&mbox 0>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/microchip/microchip,mpfs-sys-controller.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Microchip PolarFire SoC (MPFS) MSS (microprocessor subsystem) system controller + +maintainers: + - Conor Dooley + +description: | + PolarFire SoC devices include a microcontroller acting as the system controller, + which provides "services" to the main processor and to the FPGA fabric. These + services include hardware rng, reprogramming of the FPGA and verification of the + eNVM contents etc. More information on these services can be found online, at + https://onlinedocs.microchip.com/pr/GUID-1409CF11-8EF9-4C24-A94E-70979A688632-en-US-1/index.html + + Communication with the system controller is done via a mailbox, of which the client + portion is documented here. + +properties: + mboxes: + maxItems: 1 + + compatible: + const: microchip,mpfs-sys-controller + + microchip,bitstream-flash: + $ref: /schemas/types.yaml#/definitions/phandle + description: + The SPI flash connected to the system controller's QSPI controller. + The system controller may retrieve FPGA bitstreams from this flash to + perform In-Application Programming (IAP) or during device initialisation + for Auto Update. The MSS and system controller have separate QSPI + controllers and this flash is connected to both. Software running in the + MSS can write bitstreams to the flash. + +required: + - compatible + - mboxes + +additionalProperties: false + +examples: + - | + syscontroller { + compatible = "microchip,mpfs-sys-controller"; + mboxes = <&mbox 0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/qcom/qcom,apr-services.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/qcom/qcom,apr-services.yaml index 1cf1fa752e..bdf482db32 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/qcom/qcom,apr-services.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/qcom/qcom,apr-services.yaml @@ -1,53 +1,53 @@ -# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/soc/qcom/qcom,apr-services.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm APR/GPR services shared parts - -maintainers: - - Srinivas Kandagatla - -description: - Common parts of a static service in Qualcomm APR/GPR (Asynchronous/Generic - Packet Router). - -properties: - reg: - minimum: 1 - maximum: 13 - description: | - APR Service ID - 3 = DSP Core Service - 4 = Audio Front End Service. - 5 = Voice Stream Manager Service. - 6 = Voice processing manager. - 7 = Audio Stream Manager Service. - 8 = Audio Device Manager Service. - 9 = Multimode voice manager. - 10 = Core voice stream. - 11 = Core voice processor. - 12 = Ultrasound stream manager. - 13 = Listen stream manager. - GPR Service ID - 1 = Audio Process Manager Service - 2 = Proxy Resource Manager Service. - 3 = AMDB Service. - 4 = Voice processing manager. - - qcom,protection-domain: - $ref: /schemas/types.yaml#/definitions/string-array - description: | - Protection domain service name and path for APR service (if supported). - Possible values are:: - "avs/audio", "msm/adsp/audio_pd". - "kernel/elf_loader", "msm/modem/wlan_pd". - "tms/servreg", "msm/adsp/audio_pd". - "tms/servreg", "msm/modem/wlan_pd". - "tms/servreg", "msm/slpi/sensor_pd". - -required: - - reg - -additionalProperties: true +# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/qcom/qcom,apr-services.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm APR/GPR services shared parts + +maintainers: + - Srinivas Kandagatla + +description: + Common parts of a static service in Qualcomm APR/GPR (Asynchronous/Generic + Packet Router). + +properties: + reg: + minimum: 1 + maximum: 13 + description: | + APR Service ID + 3 = DSP Core Service + 4 = Audio Front End Service. + 5 = Voice Stream Manager Service. + 6 = Voice processing manager. + 7 = Audio Stream Manager Service. + 8 = Audio Device Manager Service. + 9 = Multimode voice manager. + 10 = Core voice stream. + 11 = Core voice processor. + 12 = Ultrasound stream manager. + 13 = Listen stream manager. + GPR Service ID + 1 = Audio Process Manager Service + 2 = Proxy Resource Manager Service. + 3 = AMDB Service. + 4 = Voice processing manager. + + qcom,protection-domain: + $ref: /schemas/types.yaml#/definitions/string-array + description: | + Protection domain service name and path for APR service (if supported). + Possible values are:: + "avs/audio", "msm/adsp/audio_pd". + "kernel/elf_loader", "msm/modem/wlan_pd". + "tms/servreg", "msm/adsp/audio_pd". + "tms/servreg", "msm/modem/wlan_pd". + "tms/servreg", "msm/slpi/sensor_pd". + +required: + - reg + +additionalProperties: true diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/qcom/qcom-stats.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/qcom/qcom-stats.yaml index 2ed539680d..686a7ef2f4 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/qcom/qcom-stats.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/qcom/qcom-stats.yaml @@ -1,67 +1,67 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/soc/qcom/qcom-stats.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm Technologies, Inc. (QTI) Stats - -maintainers: - - Maulik Shah - -description: - Always On Processor/Resource Power Manager maintains statistics of the SoC - sleep modes involving powering down of the rails and oscillator clock. - - Statistics includes SoC sleep mode type, number of times low power mode were - entered, time of last entry, time of last exit and accumulated sleep duration. - -properties: - compatible: - enum: - - qcom,rpmh-stats - - qcom,sdm845-rpmh-stats - - qcom,rpm-stats - # For older RPM firmware versions with fixed offset for the sleep stats - - qcom,apq8084-rpm-stats - - qcom,msm8226-rpm-stats - - qcom,msm8916-rpm-stats - - qcom,msm8974-rpm-stats - - reg: - maxItems: 1 - - qcom,qmp: - $ref: /schemas/types.yaml#/definitions/phandle - description: Reference to the AOSS side-channel message RAM - -required: - - compatible - - reg - -allOf: - - if: - not: - properties: - compatible: - const: qcom,rpmh-stats - then: - properties: - qcom,qmp: false - -additionalProperties: false - -examples: - # Example of rpmh sleep stats - - | - sram@c3f0000 { - compatible = "qcom,rpmh-stats"; - reg = <0x0c3f0000 0x400>; - }; - # Example of rpm sleep stats - - | - sram@4690000 { - compatible = "qcom,rpm-stats"; - reg = <0x04690000 0x10000>; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/qcom/qcom-stats.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Technologies, Inc. (QTI) Stats + +maintainers: + - Maulik Shah + +description: + Always On Processor/Resource Power Manager maintains statistics of the SoC + sleep modes involving powering down of the rails and oscillator clock. + + Statistics includes SoC sleep mode type, number of times low power mode were + entered, time of last entry, time of last exit and accumulated sleep duration. + +properties: + compatible: + enum: + - qcom,rpmh-stats + - qcom,sdm845-rpmh-stats + - qcom,rpm-stats + # For older RPM firmware versions with fixed offset for the sleep stats + - qcom,apq8084-rpm-stats + - qcom,msm8226-rpm-stats + - qcom,msm8916-rpm-stats + - qcom,msm8974-rpm-stats + + reg: + maxItems: 1 + + qcom,qmp: + $ref: /schemas/types.yaml#/definitions/phandle + description: Reference to the AOSS side-channel message RAM + +required: + - compatible + - reg + +allOf: + - if: + not: + properties: + compatible: + const: qcom,rpmh-stats + then: + properties: + qcom,qmp: false + +additionalProperties: false + +examples: + # Example of rpmh sleep stats + - | + sram@c3f0000 { + compatible = "qcom,rpmh-stats"; + reg = <0x0c3f0000 0x400>; + }; + # Example of rpm sleep stats + - | + sram@4690000 { + compatible = "qcom,rpm-stats"; + reg = <0x04690000 0x10000>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-mioctrl.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-mioctrl.yaml index dc56969215..2cc38bb503 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-mioctrl.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-mioctrl.yaml @@ -1,65 +1,65 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/soc/socionext/socionext,uniphier-mioctrl.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Socionext UniPhier media I/O block (MIO) controller - -maintainers: - - Kunihiko Hayashi - -description: |+ - Media I/O block implemented on Socionext UniPhier SoCs is a legacy - integrated component of the stream type peripherals including USB2.0, - SD/eMMC, and MIO-DMAC. - Media I/O block has a common logic to control the component. - - Recent SoCs have SD interface logic specialized only for SD functions - as a subset of media I/O block. See socionext,uniphier-sdctrl.yaml. - -properties: - compatible: - items: - - enum: - - socionext,uniphier-ld4-mioctrl - - socionext,uniphier-pro4-mioctrl - - socionext,uniphier-sld8-mioctrl - - socionext,uniphier-ld11-mioctrl - - const: simple-mfd - - const: syscon - - reg: - maxItems: 1 - - clock-controller: - $ref: /schemas/clock/socionext,uniphier-clock.yaml# - - reset-controller: - $ref: /schemas/reset/socionext,uniphier-reset.yaml# - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - syscon@5b3e0000 { - compatible = "socionext,uniphier-ld11-mioctrl", - "simple-mfd", "syscon"; - reg = <0x5b3e0000 0x800>; - - clock-controller { - compatible = "socionext,uniphier-ld11-mio-clock"; - #clock-cells = <1>; - }; - - reset-controller { - compatible = "socionext,uniphier-ld11-mio-reset"; - #reset-cells = <1>; - resets = <&sys_rst 7>; - }; - }; - +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/socionext/socionext,uniphier-mioctrl.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Socionext UniPhier media I/O block (MIO) controller + +maintainers: + - Kunihiko Hayashi + +description: |+ + Media I/O block implemented on Socionext UniPhier SoCs is a legacy + integrated component of the stream type peripherals including USB2.0, + SD/eMMC, and MIO-DMAC. + Media I/O block has a common logic to control the component. + + Recent SoCs have SD interface logic specialized only for SD functions + as a subset of media I/O block. See socionext,uniphier-sdctrl.yaml. + +properties: + compatible: + items: + - enum: + - socionext,uniphier-ld4-mioctrl + - socionext,uniphier-pro4-mioctrl + - socionext,uniphier-sld8-mioctrl + - socionext,uniphier-ld11-mioctrl + - const: simple-mfd + - const: syscon + + reg: + maxItems: 1 + + clock-controller: + $ref: /schemas/clock/socionext,uniphier-clock.yaml# + + reset-controller: + $ref: /schemas/reset/socionext,uniphier-reset.yaml# + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + syscon@5b3e0000 { + compatible = "socionext,uniphier-ld11-mioctrl", + "simple-mfd", "syscon"; + reg = <0x5b3e0000 0x800>; + + clock-controller { + compatible = "socionext,uniphier-ld11-mio-clock"; + #clock-cells = <1>; + }; + + reset-controller { + compatible = "socionext,uniphier-ld11-mio-reset"; + #reset-cells = <1>; + resets = <&sys_rst 7>; + }; + }; + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-perictrl.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-perictrl.yaml index d121bf6f1d..0adcffe859 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-perictrl.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-perictrl.yaml @@ -1,64 +1,64 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/soc/socionext/socionext,uniphier-perictrl.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Socionext UniPhier peripheral block controller - -maintainers: - - Kunihiko Hayashi - -description: |+ - Peripheral block implemented on Socionext UniPhier SoCs is an integrated - component of the peripherals including UART, I2C/FI2C, and SCSSI. - Peripheral block controller is a logic to control the component. - -properties: - compatible: - items: - - enum: - - socionext,uniphier-ld4-perictrl - - socionext,uniphier-pro4-perictrl - - socionext,uniphier-pro5-perictrl - - socionext,uniphier-pxs2-perictrl - - socionext,uniphier-sld8-perictrl - - socionext,uniphier-ld11-perictrl - - socionext,uniphier-ld20-perictrl - - socionext,uniphier-pxs3-perictrl - - socionext,uniphier-nx1-perictrl - - const: simple-mfd - - const: syscon - - reg: - maxItems: 1 - - clock-controller: - $ref: /schemas/clock/socionext,uniphier-clock.yaml# - - reset-controller: - $ref: /schemas/reset/socionext,uniphier-reset.yaml# - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - syscon@59820000 { - compatible = "socionext,uniphier-ld20-perictrl", - "simple-mfd", "syscon"; - reg = <0x59820000 0x200>; - - clock-controller { - compatible = "socionext,uniphier-ld20-peri-clock"; - #clock-cells = <1>; - }; - - reset-controller { - compatible = "socionext,uniphier-ld20-peri-reset"; - #reset-cells = <1>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/socionext/socionext,uniphier-perictrl.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Socionext UniPhier peripheral block controller + +maintainers: + - Kunihiko Hayashi + +description: |+ + Peripheral block implemented on Socionext UniPhier SoCs is an integrated + component of the peripherals including UART, I2C/FI2C, and SCSSI. + Peripheral block controller is a logic to control the component. + +properties: + compatible: + items: + - enum: + - socionext,uniphier-ld4-perictrl + - socionext,uniphier-pro4-perictrl + - socionext,uniphier-pro5-perictrl + - socionext,uniphier-pxs2-perictrl + - socionext,uniphier-sld8-perictrl + - socionext,uniphier-ld11-perictrl + - socionext,uniphier-ld20-perictrl + - socionext,uniphier-pxs3-perictrl + - socionext,uniphier-nx1-perictrl + - const: simple-mfd + - const: syscon + + reg: + maxItems: 1 + + clock-controller: + $ref: /schemas/clock/socionext,uniphier-clock.yaml# + + reset-controller: + $ref: /schemas/reset/socionext,uniphier-reset.yaml# + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + syscon@59820000 { + compatible = "socionext,uniphier-ld20-perictrl", + "simple-mfd", "syscon"; + reg = <0x59820000 0x200>; + + clock-controller { + compatible = "socionext,uniphier-ld20-peri-clock"; + #clock-cells = <1>; + }; + + reset-controller { + compatible = "socionext,uniphier-ld20-peri-reset"; + #reset-cells = <1>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-sdctrl.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-sdctrl.yaml index 78ca4f7db6..cb3b0d4273 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-sdctrl.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-sdctrl.yaml @@ -1,61 +1,61 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/soc/socionext/socionext,uniphier-sdctrl.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Socionext UniPhier SD interface logic - -maintainers: - - Kunihiko Hayashi - -description: |+ - SD interface logic implemented on Socionext UniPhier SoCs is - attached outside SDHC, and has some SD related functions such as - clock control, reset control, mode switch, and so on. - -properties: - compatible: - items: - - enum: - - socionext,uniphier-pro5-sdctrl - - socionext,uniphier-pxs2-sdctrl - - socionext,uniphier-ld11-sdctrl - - socionext,uniphier-ld20-sdctrl - - socionext,uniphier-pxs3-sdctrl - - socionext,uniphier-nx1-sdctrl - - const: simple-mfd - - const: syscon - - reg: - maxItems: 1 - - clock-controller: - $ref: /schemas/clock/socionext,uniphier-clock.yaml# - - reset-controller: - $ref: /schemas/reset/socionext,uniphier-reset.yaml# - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - syscon@59810000 { - compatible = "socionext,uniphier-ld20-sdctrl", - "simple-mfd", "syscon"; - reg = <0x59810000 0x400>; - - clock-controller { - compatible = "socionext,uniphier-ld20-sd-clock"; - #clock-cells = <1>; - }; - - reset-controller { - compatible = "socionext,uniphier-ld20-sd-reset"; - #reset-cells = <1>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/socionext/socionext,uniphier-sdctrl.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Socionext UniPhier SD interface logic + +maintainers: + - Kunihiko Hayashi + +description: |+ + SD interface logic implemented on Socionext UniPhier SoCs is + attached outside SDHC, and has some SD related functions such as + clock control, reset control, mode switch, and so on. + +properties: + compatible: + items: + - enum: + - socionext,uniphier-pro5-sdctrl + - socionext,uniphier-pxs2-sdctrl + - socionext,uniphier-ld11-sdctrl + - socionext,uniphier-ld20-sdctrl + - socionext,uniphier-pxs3-sdctrl + - socionext,uniphier-nx1-sdctrl + - const: simple-mfd + - const: syscon + + reg: + maxItems: 1 + + clock-controller: + $ref: /schemas/clock/socionext,uniphier-clock.yaml# + + reset-controller: + $ref: /schemas/reset/socionext,uniphier-reset.yaml# + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + syscon@59810000 { + compatible = "socionext,uniphier-ld20-sdctrl", + "simple-mfd", "syscon"; + reg = <0x59810000 0x400>; + + clock-controller { + compatible = "socionext,uniphier-ld20-sd-clock"; + #clock-cells = <1>; + }; + + reset-controller { + compatible = "socionext,uniphier-ld20-sd-reset"; + #reset-cells = <1>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-soc-glue-debug.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-soc-glue-debug.yaml index 9fc13b9728..1341544d1d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-soc-glue-debug.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-soc-glue-debug.yaml @@ -1,68 +1,68 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/soc/socionext/socionext,uniphier-soc-glue-debug.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Socionext UniPhier SoC-glue logic debug part - -maintainers: - - Kunihiko Hayashi - -description: |+ - SoC-glue logic debug part implemented on Socionext UniPhier SoCs is - a collection of miscellaneous function registers handling signals outside - system components for debug and monitor use. - -properties: - compatible: - items: - - enum: - - socionext,uniphier-ld4-soc-glue-debug - - socionext,uniphier-pro4-soc-glue-debug - - socionext,uniphier-pro5-soc-glue-debug - - socionext,uniphier-pxs2-soc-glue-debug - - socionext,uniphier-sld8-soc-glue-debug - - socionext,uniphier-ld11-soc-glue-debug - - socionext,uniphier-ld20-soc-glue-debug - - socionext,uniphier-pxs3-soc-glue-debug - - socionext,uniphier-nx1-soc-glue-debug - - const: simple-mfd - - const: syscon - - reg: - maxItems: 1 - - "#address-cells": - const: 1 - - "#size-cells": - const: 1 - - ranges: true - -patternProperties: - "^efuse@[0-9a-f]+$": - $ref: /schemas/nvmem/socionext,uniphier-efuse.yaml# - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - syscon@5f900000 { - compatible = "socionext,uniphier-pxs2-soc-glue-debug", - "simple-mfd", "syscon"; - reg = <0x5f900000 0x2000>; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 0x5f900000 0x2000>; - - efuse@100 { - compatible = "socionext,uniphier-efuse"; - reg = <0x100 0x28>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/socionext/socionext,uniphier-soc-glue-debug.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Socionext UniPhier SoC-glue logic debug part + +maintainers: + - Kunihiko Hayashi + +description: |+ + SoC-glue logic debug part implemented on Socionext UniPhier SoCs is + a collection of miscellaneous function registers handling signals outside + system components for debug and monitor use. + +properties: + compatible: + items: + - enum: + - socionext,uniphier-ld4-soc-glue-debug + - socionext,uniphier-pro4-soc-glue-debug + - socionext,uniphier-pro5-soc-glue-debug + - socionext,uniphier-pxs2-soc-glue-debug + - socionext,uniphier-sld8-soc-glue-debug + - socionext,uniphier-ld11-soc-glue-debug + - socionext,uniphier-ld20-soc-glue-debug + - socionext,uniphier-pxs3-soc-glue-debug + - socionext,uniphier-nx1-soc-glue-debug + - const: simple-mfd + - const: syscon + + reg: + maxItems: 1 + + "#address-cells": + const: 1 + + "#size-cells": + const: 1 + + ranges: true + +patternProperties: + "^efuse@[0-9a-f]+$": + $ref: /schemas/nvmem/socionext,uniphier-efuse.yaml# + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + syscon@5f900000 { + compatible = "socionext,uniphier-pxs2-soc-glue-debug", + "simple-mfd", "syscon"; + reg = <0x5f900000 0x2000>; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0 0x5f900000 0x2000>; + + efuse@100 { + compatible = "socionext,uniphier-efuse"; + reg = <0x100 0x28>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/tegra/nvidia,nvec.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/tegra/nvidia,nvec.yaml index 9846def774..d5261ce3a6 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/tegra/nvidia,nvec.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/tegra/nvidia,nvec.yaml @@ -1,84 +1,84 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/soc/tegra/nvidia,nvec.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: NVIDIA compliant embedded controller - -maintainers: - - Thierry Reding - - Jon Hunter - -properties: - compatible: - const: nvidia,nvec - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - minItems: 1 - items: - - description: divider clock - - description: fast clock - - clock-names: - minItems: 1 - items: - - const: div-clk - - const: fast-clk - - resets: - items: - - description: module reset - - reset-names: - items: - - const: i2c - - clock-frequency: true - - request-gpios: - description: phandle to the GPIO used for EC request - - slave-addr: - $ref: /schemas/types.yaml#/definitions/uint32 - description: I2C address of the slave controller - -additionalProperties: false - -required: - - compatible - - reg - - interrupts - - clocks - - clock-names - - resets - - reset-names - - clock-frequency - - request-gpios - - slave-addr - -examples: - - | - #include - #include - #include - - i2c@7000c500 { - compatible = "nvidia,nvec"; - reg = <0x7000c500 0x100>; - interrupts = ; - clock-frequency = <80000>; - request-gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_HIGH>; - slave-addr = <138>; - clocks = <&tegra_car TEGRA20_CLK_I2C3>, - <&tegra_car TEGRA20_CLK_PLL_P_OUT3>; - clock-names = "div-clk", "fast-clk"; - resets = <&tegra_car 67>; - reset-names = "i2c"; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/tegra/nvidia,nvec.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NVIDIA compliant embedded controller + +maintainers: + - Thierry Reding + - Jon Hunter + +properties: + compatible: + const: nvidia,nvec + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + minItems: 1 + items: + - description: divider clock + - description: fast clock + + clock-names: + minItems: 1 + items: + - const: div-clk + - const: fast-clk + + resets: + items: + - description: module reset + + reset-names: + items: + - const: i2c + + clock-frequency: true + + request-gpios: + description: phandle to the GPIO used for EC request + + slave-addr: + $ref: /schemas/types.yaml#/definitions/uint32 + description: I2C address of the slave controller + +additionalProperties: false + +required: + - compatible + - reg + - interrupts + - clocks + - clock-names + - resets + - reset-names + - clock-frequency + - request-gpios + - slave-addr + +examples: + - | + #include + #include + #include + + i2c@7000c500 { + compatible = "nvidia,nvec"; + reg = <0x7000c500 0x100>; + interrupts = ; + clock-frequency = <80000>; + request-gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_HIGH>; + slave-addr = <138>; + clocks = <&tegra_car TEGRA20_CLK_I2C3>, + <&tegra_car TEGRA20_CLK_PLL_P_OUT3>; + clock-names = "div-clk", "fast-clk"; + resets = <&tegra_car 67>; + reset-names = "i2c"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/adi,max98363.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/adi,max98363.yaml index b2d22671b7..c388cda560 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/adi,max98363.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/adi,max98363.yaml @@ -1,60 +1,60 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/adi,max98363.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Analog Devices MAX98363 SoundWire Amplifier - -maintainers: - - Ryan Lee - -description: - The MAX98363 is a SoundWire input Class D mono amplifier that - supports MIPI SoundWire v1.2-compatible digital interface for - audio and control data. - SoundWire peripheral device ID of MAX98363 is 0x3*019f836300 - where * is the peripheral device unique ID decoded from pin. - It supports up to 10 peripheral devices(0x0 to 0x9). - -allOf: - - $ref: dai-common.yaml# - -properties: - compatible: - const: sdw3019f836300 - - reg: - maxItems: 1 - - '#sound-dai-cells': - const: 0 - -required: - - compatible - - reg - - "#sound-dai-cells" - -unevaluatedProperties: false - -examples: - - | - soundwire@3250000 { - #address-cells = <2>; - #size-cells = <0>; - reg = <0x3250000 0x2000>; - - speaker@0,0 { - compatible = "sdw3019f836300"; - reg = <0 0>; - #sound-dai-cells = <0>; - sound-name-prefix = "Speaker Left"; - }; - - speaker@0,1 { - compatible = "sdw3019f836300"; - reg = <0 1>; - #sound-dai-cells = <0>; - sound-name-prefix = "Speaker Right"; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/adi,max98363.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Analog Devices MAX98363 SoundWire Amplifier + +maintainers: + - Ryan Lee + +description: + The MAX98363 is a SoundWire input Class D mono amplifier that + supports MIPI SoundWire v1.2-compatible digital interface for + audio and control data. + SoundWire peripheral device ID of MAX98363 is 0x3*019f836300 + where * is the peripheral device unique ID decoded from pin. + It supports up to 10 peripheral devices(0x0 to 0x9). + +allOf: + - $ref: dai-common.yaml# + +properties: + compatible: + const: sdw3019f836300 + + reg: + maxItems: 1 + + '#sound-dai-cells': + const: 0 + +required: + - compatible + - reg + - "#sound-dai-cells" + +unevaluatedProperties: false + +examples: + - | + soundwire@3250000 { + #address-cells = <2>; + #size-cells = <0>; + reg = <0x3250000 0x2000>; + + speaker@0,0 { + compatible = "sdw3019f836300"; + reg = <0 0>; + #sound-dai-cells = <0>; + sound-name-prefix = "Speaker Left"; + }; + + speaker@0,1 { + compatible = "sdw3019f836300"; + reg = <0 1>; + #sound-dai-cells = <0>; + sound-name-prefix = "Speaker Right"; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/allwinner,sun50i-h6-dmic.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/allwinner,sun50i-h6-dmic.yaml index 328914ecee..763b876047 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/allwinner,sun50i-h6-dmic.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/allwinner,sun50i-h6-dmic.yaml @@ -1,87 +1,87 @@ -# SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/allwinner,sun50i-h6-dmic.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Allwinner H6 DMIC - -maintainers: - - Ban Tao - -allOf: - - $ref: dai-common.yaml# - -properties: - compatible: - oneOf: - - items: - - enum: - - allwinner,sun20i-d1-dmic - - const: allwinner,sun50i-h6-dmic - - const: allwinner,sun50i-h6-dmic - - "#sound-dai-cells": - const: 0 - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - items: - - description: Bus Clock - - description: Module Clock - - clock-names: - items: - - const: bus - - const: mod - - dmas: - items: - - description: RX DMA Channel - - dma-names: - items: - - const: rx - - resets: - maxItems: 1 - -required: - - "#sound-dai-cells" - - compatible - - reg - - interrupts - - clocks - - clock-names - - dmas - - dma-names - - resets - -unevaluatedProperties: false - -examples: - - | - #include - #include - - #include - #include - - dmic: dmic@5095000 { - #sound-dai-cells = <0>; - compatible = "allwinner,sun50i-h6-dmic"; - reg = <0x05095000 0x400>; - interrupts = ; - clocks = <&ccu CLK_BUS_DMIC>, <&ccu CLK_DMIC>; - clock-names = "bus", "mod"; - dmas = <&dma 7>; - dma-names = "rx"; - resets = <&ccu RST_BUS_DMIC>; - }; - -... +# SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/allwinner,sun50i-h6-dmic.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Allwinner H6 DMIC + +maintainers: + - Ban Tao + +allOf: + - $ref: dai-common.yaml# + +properties: + compatible: + oneOf: + - items: + - enum: + - allwinner,sun20i-d1-dmic + - const: allwinner,sun50i-h6-dmic + - const: allwinner,sun50i-h6-dmic + + "#sound-dai-cells": + const: 0 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + items: + - description: Bus Clock + - description: Module Clock + + clock-names: + items: + - const: bus + - const: mod + + dmas: + items: + - description: RX DMA Channel + + dma-names: + items: + - const: rx + + resets: + maxItems: 1 + +required: + - "#sound-dai-cells" + - compatible + - reg + - interrupts + - clocks + - clock-names + - dmas + - dma-names + - resets + +unevaluatedProperties: false + +examples: + - | + #include + #include + + #include + #include + + dmic: dmic@5095000 { + #sound-dai-cells = <0>; + compatible = "allwinner,sun50i-h6-dmic"; + reg = <0x05095000 0x400>; + interrupts = ; + clocks = <&ccu CLK_BUS_DMIC>, <&ccu CLK_DMIC>; + clock-names = "bus", "mod"; + dmas = <&dma 7>; + dma-names = "rx"; + resets = <&ccu RST_BUS_DMIC>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/amlogic,axg-pdm.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/amlogic,axg-pdm.yaml index 967c7a8a1a..df21dd72fc 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/amlogic,axg-pdm.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/amlogic,axg-pdm.yaml @@ -1,82 +1,82 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/amlogic,axg-pdm.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Amlogic Audio AXG PDM input - -maintainers: - - Jerome Brunet - -properties: - compatible: - oneOf: - - items: - - enum: - - amlogic,g12a-pdm - - amlogic,sm1-pdm - - const: amlogic,axg-pdm - - const: amlogic,axg-pdm - - reg: - maxItems: 1 - - "#sound-dai-cells": - const: 0 - - clocks: - items: - - description: Peripheral clock - - description: PDM digital clock - - description: DSP system clock - - clock-names: - items: - - const: pclk - - const: dclk - - const: sysclk - - resets: - maxItems: 1 - -required: - - compatible - - reg - - "#sound-dai-cells" - - clocks - - clock-names - -allOf: - - $ref: dai-common.yaml# - - - if: - properties: - compatible: - contains: - enum: - - amlogic,g12a-pdm - - amlogic,sm1-pdm - then: - required: - - resets - - else: - properties: - resets: false - -unevaluatedProperties: false - -examples: - - | - #include - - audio-controller@ff632000 { - compatible = "amlogic,axg-pdm"; - reg = <0xff632000 0x34>; - #sound-dai-cells = <0>; - clocks = <&clkc_audio AUD_CLKID_PDM>, - <&clkc_audio AUD_CLKID_PDM_DCLK>, - <&clkc_audio AUD_CLKID_PDM_SYSCLK>; - clock-names = "pclk", "dclk", "sysclk"; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/amlogic,axg-pdm.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Amlogic Audio AXG PDM input + +maintainers: + - Jerome Brunet + +properties: + compatible: + oneOf: + - items: + - enum: + - amlogic,g12a-pdm + - amlogic,sm1-pdm + - const: amlogic,axg-pdm + - const: amlogic,axg-pdm + + reg: + maxItems: 1 + + "#sound-dai-cells": + const: 0 + + clocks: + items: + - description: Peripheral clock + - description: PDM digital clock + - description: DSP system clock + + clock-names: + items: + - const: pclk + - const: dclk + - const: sysclk + + resets: + maxItems: 1 + +required: + - compatible + - reg + - "#sound-dai-cells" + - clocks + - clock-names + +allOf: + - $ref: dai-common.yaml# + + - if: + properties: + compatible: + contains: + enum: + - amlogic,g12a-pdm + - amlogic,sm1-pdm + then: + required: + - resets + + else: + properties: + resets: false + +unevaluatedProperties: false + +examples: + - | + #include + + audio-controller@ff632000 { + compatible = "amlogic,axg-pdm"; + reg = <0xff632000 0x34>; + #sound-dai-cells = <0>; + clocks = <&clkc_audio AUD_CLKID_PDM>, + <&clkc_audio AUD_CLKID_PDM_DCLK>, + <&clkc_audio AUD_CLKID_PDM_SYSCLK>; + clock-names = "pclk", "dclk", "sysclk"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/amlogic,axg-spdifin.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/amlogic,axg-spdifin.yaml index 282891925d..a0bd7a5fb9 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/amlogic,axg-spdifin.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/amlogic,axg-spdifin.yaml @@ -1,86 +1,86 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/amlogic,axg-spdifin.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Amlogic Audio AXG SPDIF Input - -maintainers: - - Jerome Brunet - -properties: - compatible: - oneOf: - - const: amlogic,axg-spdifin - - items: - - enum: - - amlogic,g12a-spdifin - - amlogic,sm1-spdifin - - const: amlogic,axg-spdifin - - reg: - maxItems: 1 - - "#sound-dai-cells": - const: 0 - - clocks: - items: - - description: Peripheral clock - - description: SPDIF input reference clock - - clock-names: - items: - - const: pclk - - const: refclk - - interrupts: - maxItems: 1 - - resets: - maxItems: 1 - -required: - - compatible - - reg - - "#sound-dai-cells" - - clocks - - clock-names - - interrupts - -allOf: - - $ref: dai-common.yaml# - - - if: - properties: - compatible: - contains: - enum: - - amlogic,g12a-spdifin - - amlogic,sm1-spdifin - then: - required: - - resets - - else: - properties: - resets: false - -unevaluatedProperties: false - -examples: - - | - #include - #include - #include - - audio-controller@400 { - compatible = "amlogic,axg-spdifin"; - reg = <0x400 0x30>; - #sound-dai-cells = <0>; - interrupts = ; - clocks = <&clkc_audio AUD_CLKID_SPDIFIN>, - <&clkc_audio AUD_CLKID_SPDIFIN_CLK>; - clock-names = "pclk", "refclk"; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/amlogic,axg-spdifin.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Amlogic Audio AXG SPDIF Input + +maintainers: + - Jerome Brunet + +properties: + compatible: + oneOf: + - const: amlogic,axg-spdifin + - items: + - enum: + - amlogic,g12a-spdifin + - amlogic,sm1-spdifin + - const: amlogic,axg-spdifin + + reg: + maxItems: 1 + + "#sound-dai-cells": + const: 0 + + clocks: + items: + - description: Peripheral clock + - description: SPDIF input reference clock + + clock-names: + items: + - const: pclk + - const: refclk + + interrupts: + maxItems: 1 + + resets: + maxItems: 1 + +required: + - compatible + - reg + - "#sound-dai-cells" + - clocks + - clock-names + - interrupts + +allOf: + - $ref: dai-common.yaml# + + - if: + properties: + compatible: + contains: + enum: + - amlogic,g12a-spdifin + - amlogic,sm1-spdifin + then: + required: + - resets + + else: + properties: + resets: false + +unevaluatedProperties: false + +examples: + - | + #include + #include + #include + + audio-controller@400 { + compatible = "amlogic,axg-spdifin"; + reg = <0x400 0x30>; + #sound-dai-cells = <0>; + interrupts = ; + clocks = <&clkc_audio AUD_CLKID_SPDIFIN>, + <&clkc_audio AUD_CLKID_SPDIFIN_CLK>; + clock-names = "pclk", "refclk"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/amlogic,axg-spdifout.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/amlogic,axg-spdifout.yaml index 60f41b9de7..15be8dae93 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/amlogic,axg-spdifout.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/amlogic,axg-spdifout.yaml @@ -1,79 +1,79 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/amlogic,axg-spdifout.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Amlogic Audio AXG SPDIF Output - -maintainers: - - Jerome Brunet - -properties: - compatible: - oneOf: - - const: amlogic,axg-spdifout - - items: - - enum: - - amlogic,g12a-spdifout - - amlogic,sm1-spdifout - - const: amlogic,axg-spdifout - - reg: - maxItems: 1 - - "#sound-dai-cells": - const: 0 - - clocks: - items: - - description: Peripheral clock - - description: SPDIF output master clock - - clock-names: - items: - - const: pclk - - const: mclk - - resets: - maxItems: 1 - -required: - - compatible - - reg - - "#sound-dai-cells" - - clocks - - clock-names - -allOf: - - $ref: dai-common.yaml# - - - if: - properties: - compatible: - contains: - enum: - - amlogic,g12a-spdifout - - amlogic,sm1-spdifout - then: - required: - - resets - - else: - properties: - resets: false - -unevaluatedProperties: false - -examples: - - | - #include - - audio-controller@480 { - compatible = "amlogic,axg-spdifout"; - reg = <0x480 0x50>; - #sound-dai-cells = <0>; - clocks = <&clkc_audio AUD_CLKID_SPDIFOUT>, - <&clkc_audio AUD_CLKID_SPDIFOUT_CLK>; - clock-names = "pclk", "mclk"; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/amlogic,axg-spdifout.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Amlogic Audio AXG SPDIF Output + +maintainers: + - Jerome Brunet + +properties: + compatible: + oneOf: + - const: amlogic,axg-spdifout + - items: + - enum: + - amlogic,g12a-spdifout + - amlogic,sm1-spdifout + - const: amlogic,axg-spdifout + + reg: + maxItems: 1 + + "#sound-dai-cells": + const: 0 + + clocks: + items: + - description: Peripheral clock + - description: SPDIF output master clock + + clock-names: + items: + - const: pclk + - const: mclk + + resets: + maxItems: 1 + +required: + - compatible + - reg + - "#sound-dai-cells" + - clocks + - clock-names + +allOf: + - $ref: dai-common.yaml# + + - if: + properties: + compatible: + contains: + enum: + - amlogic,g12a-spdifout + - amlogic,sm1-spdifout + then: + required: + - resets + + else: + properties: + resets: false + +unevaluatedProperties: false + +examples: + - | + #include + + audio-controller@480 { + compatible = "amlogic,axg-spdifout"; + reg = <0x480 0x50>; + #sound-dai-cells = <0>; + clocks = <&clkc_audio AUD_CLKID_SPDIFOUT>, + <&clkc_audio AUD_CLKID_SPDIFOUT_CLK>; + clock-names = "pclk", "mclk"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/asahi-kasei,ak4458.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/asahi-kasei,ak4458.yaml index 4848bdc9c9..4477f84b7a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/asahi-kasei,ak4458.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/asahi-kasei,ak4458.yaml @@ -1,73 +1,73 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/asahi-kasei,ak4458.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: AK4458 audio DAC - -maintainers: - - Shengjiu Wang - -properties: - compatible: - enum: - - asahi-kasei,ak4458 - - asahi-kasei,ak4497 - - reg: - maxItems: 1 - - avdd-supply: - description: Analog power supply - - dvdd-supply: - description: Digital power supply - - reset-gpios: - maxItems: 1 - - mute-gpios: - maxItems: 1 - description: - GPIO used to mute all the outputs - - dsd-path: - description: Select DSD input pins for ak4497 - $ref: /schemas/types.yaml#/definitions/uint32 - oneOf: - - const: 0 - description: "select #16, #17, #19 pins" - - const: 1 - description: "select #3, #4, #5 pins" - -required: - - compatible - - reg - -allOf: - - if: - properties: - compatible: - contains: - const: asahi-kasei,ak4458 - - then: - properties: - dsd-path: false - -additionalProperties: false - -examples: - - | - #include - i2c { - #address-cells = <1>; - #size-cells = <0>; - codec@10 { - compatible = "asahi-kasei,ak4458"; - reg = <0x10>; - reset-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>; - mute-gpios = <&gpio1 11 GPIO_ACTIVE_HIGH>; - }; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/asahi-kasei,ak4458.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: AK4458 audio DAC + +maintainers: + - Shengjiu Wang + +properties: + compatible: + enum: + - asahi-kasei,ak4458 + - asahi-kasei,ak4497 + + reg: + maxItems: 1 + + avdd-supply: + description: Analog power supply + + dvdd-supply: + description: Digital power supply + + reset-gpios: + maxItems: 1 + + mute-gpios: + maxItems: 1 + description: + GPIO used to mute all the outputs + + dsd-path: + description: Select DSD input pins for ak4497 + $ref: /schemas/types.yaml#/definitions/uint32 + oneOf: + - const: 0 + description: "select #16, #17, #19 pins" + - const: 1 + description: "select #3, #4, #5 pins" + +required: + - compatible + - reg + +allOf: + - if: + properties: + compatible: + contains: + const: asahi-kasei,ak4458 + + then: + properties: + dsd-path: false + +additionalProperties: false + +examples: + - | + #include + i2c { + #address-cells = <1>; + #size-cells = <0>; + codec@10 { + compatible = "asahi-kasei,ak4458"; + reg = <0x10>; + reset-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>; + mute-gpios = <&gpio1 11 GPIO_ACTIVE_HIGH>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/awinic,aw8738.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/awinic,aw8738.yaml index 3d936ceee9..bc6c6b1722 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/awinic,aw8738.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/awinic,aw8738.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/awinic,aw8738.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Awinic AW8738 Audio Amplifier - -maintainers: - - Stephan Gerhold - -description: - The Awinic AW8738 is a simple audio amplifier with different operation modes - (set using one-wire pulse control). The mode configures the speaker-guard - function (primarily the power limit for the amplifier). - -allOf: - - $ref: dai-common.yaml# - -properties: - compatible: - const: awinic,aw8738 - - mode-gpios: - description: - GPIO used for one-wire pulse control. The pin is typically called SHDN - (active-low), but this is misleading since it is actually more than - just a simple shutdown/enable control. - maxItems: 1 - - awinic,mode: - description: Operation mode (number of pulses for one-wire pulse control) - $ref: /schemas/types.yaml#/definitions/uint32 - minimum: 1 - maximum: 7 - - sound-name-prefix: true - -required: - - compatible - - mode-gpios - - awinic,mode - -additionalProperties: false - -examples: - - | - #include - audio-amplifier { - compatible = "awinic,aw8738"; - mode-gpios = <&msmgpio 114 GPIO_ACTIVE_HIGH>; - awinic,mode = <5>; - sound-name-prefix = "Speaker Amp"; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/awinic,aw8738.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Awinic AW8738 Audio Amplifier + +maintainers: + - Stephan Gerhold + +description: + The Awinic AW8738 is a simple audio amplifier with different operation modes + (set using one-wire pulse control). The mode configures the speaker-guard + function (primarily the power limit for the amplifier). + +allOf: + - $ref: dai-common.yaml# + +properties: + compatible: + const: awinic,aw8738 + + mode-gpios: + description: + GPIO used for one-wire pulse control. The pin is typically called SHDN + (active-low), but this is misleading since it is actually more than + just a simple shutdown/enable control. + maxItems: 1 + + awinic,mode: + description: Operation mode (number of pulses for one-wire pulse control) + $ref: /schemas/types.yaml#/definitions/uint32 + minimum: 1 + maximum: 7 + + sound-name-prefix: true + +required: + - compatible + - mode-gpios + - awinic,mode + +additionalProperties: false + +examples: + - | + #include + audio-amplifier { + compatible = "awinic,aw8738"; + mode-gpios = <&msmgpio 114 GPIO_ACTIVE_HIGH>; + awinic,mode = <5>; + sound-name-prefix = "Speaker Amp"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/awinic,aw88395.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/awinic,aw88395.yaml index a7eefbe6f8..ac5f2e0f42 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/awinic,aw88395.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/awinic,aw88395.yaml @@ -1,80 +1,80 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/awinic,aw88395.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Awinic AW88395 Smart Audio Amplifier - -maintainers: - - Weidong Wang - -description: - The Awinic AW88395 is an I2S/TDM input, high efficiency - digital Smart K audio amplifier with an integrated 10.25V - smart boost convert. - -properties: - compatible: - enum: - - awinic,aw88395 - - awinic,aw88261 - - awinic,aw88399 - - reg: - maxItems: 1 - - '#sound-dai-cells': - const: 0 - - reset-gpios: - maxItems: 1 - - awinic,audio-channel: - description: - It is used to distinguish multiple PA devices, so that different - configurations can be loaded to different PA devices - $ref: /schemas/types.yaml#/definitions/uint32 - minimum: 0 - maximum: 7 - - awinic,sync-flag: - description: - Flag bit used to keep the phase synchronized in the case of multiple PA - $ref: /schemas/types.yaml#/definitions/flag - -required: - - compatible - - reg - - '#sound-dai-cells' - - awinic,audio-channel - -allOf: - - $ref: dai-common.yaml# - - if: - properties: - compatible: - contains: - enum: - - awinic,aw88261 - then: - properties: - reset-gpios: false - -unevaluatedProperties: false - -examples: - - | - #include - i2c { - #address-cells = <1>; - #size-cells = <0>; - audio-codec@34 { - compatible = "awinic,aw88395"; - reg = <0x34>; - #sound-dai-cells = <0>; - reset-gpios = <&gpio 10 GPIO_ACTIVE_LOW>; - awinic,audio-channel = <0>; - awinic,sync-flag; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/awinic,aw88395.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Awinic AW88395 Smart Audio Amplifier + +maintainers: + - Weidong Wang + +description: + The Awinic AW88395 is an I2S/TDM input, high efficiency + digital Smart K audio amplifier with an integrated 10.25V + smart boost convert. + +properties: + compatible: + enum: + - awinic,aw88395 + - awinic,aw88261 + - awinic,aw88399 + + reg: + maxItems: 1 + + '#sound-dai-cells': + const: 0 + + reset-gpios: + maxItems: 1 + + awinic,audio-channel: + description: + It is used to distinguish multiple PA devices, so that different + configurations can be loaded to different PA devices + $ref: /schemas/types.yaml#/definitions/uint32 + minimum: 0 + maximum: 7 + + awinic,sync-flag: + description: + Flag bit used to keep the phase synchronized in the case of multiple PA + $ref: /schemas/types.yaml#/definitions/flag + +required: + - compatible + - reg + - '#sound-dai-cells' + - awinic,audio-channel + +allOf: + - $ref: dai-common.yaml# + - if: + properties: + compatible: + contains: + enum: + - awinic,aw88261 + then: + properties: + reset-gpios: false + +unevaluatedProperties: false + +examples: + - | + #include + i2c { + #address-cells = <1>; + #size-cells = <0>; + audio-codec@34 { + compatible = "awinic,aw88395"; + reg = <0x34>; + #sound-dai-cells = <0>; + reset-gpios = <&gpio 10 GPIO_ACTIVE_LOW>; + awinic,audio-channel = <0>; + awinic,sync-flag; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/cirrus,cs42l51.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/cirrus,cs42l51.yaml index 628af98873..f7bafbd4f1 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/cirrus,cs42l51.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/cirrus,cs42l51.yaml @@ -1,85 +1,85 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/cirrus,cs42l51.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: CS42L51 audio codec - -maintainers: - - Olivier Moysan - -allOf: - - $ref: dai-common.yaml# - -properties: - compatible: - const: cirrus,cs42l51 - - reg: - maxItems: 1 - - "#sound-dai-cells": - const: 0 - - clocks: - maxItems: 1 - - clock-names: - items: - - const: MCLK - - reset-gpios: - maxItems: 1 - - VL-supply: - description: phandle to voltage regulator of digital interface section - - VD-supply: - description: phandle to voltage regulator of digital internal section - - VA-supply: - description: phandle to voltage regulator of analog internal section - - VAHP-supply: - description: phandle to voltage regulator of headphone - - port: - $ref: audio-graph-port.yaml# - unevaluatedProperties: false - -required: - - compatible - - reg - - "#sound-dai-cells" - -unevaluatedProperties: false - -examples: - - | - #include - i2c { - #address-cells = <1>; - #size-cells = <0>; - - cs42l51@4a { - compatible = "cirrus,cs42l51"; - reg = <0x4a>; - #sound-dai-cells = <0>; - clocks = <&mclk_prov>; - clock-names = "MCLK"; - VL-supply = <®_audio>; - VD-supply = <®_audio>; - VA-supply = <®_audio>; - VAHP-supply = <®_audio>; - reset-gpios = <&gpiog 9 GPIO_ACTIVE_LOW>; - - /* assume audio-graph */ - port { - cpu_endpoint: endpoint { - remote-endpoint = <&cpu_endpoint>; - }; - }; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/cirrus,cs42l51.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: CS42L51 audio codec + +maintainers: + - Olivier Moysan + +allOf: + - $ref: dai-common.yaml# + +properties: + compatible: + const: cirrus,cs42l51 + + reg: + maxItems: 1 + + "#sound-dai-cells": + const: 0 + + clocks: + maxItems: 1 + + clock-names: + items: + - const: MCLK + + reset-gpios: + maxItems: 1 + + VL-supply: + description: phandle to voltage regulator of digital interface section + + VD-supply: + description: phandle to voltage regulator of digital internal section + + VA-supply: + description: phandle to voltage regulator of analog internal section + + VAHP-supply: + description: phandle to voltage regulator of headphone + + port: + $ref: audio-graph-port.yaml# + unevaluatedProperties: false + +required: + - compatible + - reg + - "#sound-dai-cells" + +unevaluatedProperties: false + +examples: + - | + #include + i2c { + #address-cells = <1>; + #size-cells = <0>; + + cs42l51@4a { + compatible = "cirrus,cs42l51"; + reg = <0x4a>; + #sound-dai-cells = <0>; + clocks = <&mclk_prov>; + clock-names = "MCLK"; + VL-supply = <®_audio>; + VD-supply = <®_audio>; + VA-supply = <®_audio>; + VAHP-supply = <®_audio>; + reset-gpios = <&gpiog 9 GPIO_ACTIVE_LOW>; + + /* assume audio-graph */ + port { + cpu_endpoint: endpoint { + remote-endpoint = <&cpu_endpoint>; + }; + }; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/cirrus,cs42xx8.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/cirrus,cs42xx8.yaml index 0d6a810630..725b47e820 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/cirrus,cs42xx8.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/cirrus,cs42xx8.yaml @@ -1,81 +1,81 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/cirrus,cs42xx8.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Cirrus Logic CS42448/CS42888 audio CODEC - -maintainers: - - patches@opensource.cirrus.com - -properties: - compatible: - enum: - - cirrus,cs42448 - - cirrus,cs42888 - - reg: - maxItems: 1 - - clocks: - minItems: 1 - maxItems: 2 - - clock-names: - const: mclk - - VA-supply: - description: Analog power supply. - - VD-supply: - description: Digital power supply. - - VLC-supply: - description: Control port power supply - - VLS-supply: - description: Serial port interface power supply. - - reset-gpios: - description: This pin is connected to the chip's RESET pin. - maxItems: 1 - -required: - - compatible - - reg - - clocks - - clock-names - -if: - properties: - compatible: - contains: - const: cirrus,cs42888 -then: - required: - - VA-supply - - VD-supply - - VLC-supply - - VLS-supply - -additionalProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - codec@48 { - compatible = "cirrus,cs42888"; - reg = <0x48>; - clocks = <&codec_mclk 0>; - clock-names = "mclk"; - VA-supply = <®_audio>; - VD-supply = <®_audio>; - VLS-supply = <®_audio>; - VLC-supply = <®_audio>; - reset-gpios = <&gpio 1>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/cirrus,cs42xx8.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Cirrus Logic CS42448/CS42888 audio CODEC + +maintainers: + - patches@opensource.cirrus.com + +properties: + compatible: + enum: + - cirrus,cs42448 + - cirrus,cs42888 + + reg: + maxItems: 1 + + clocks: + minItems: 1 + maxItems: 2 + + clock-names: + const: mclk + + VA-supply: + description: Analog power supply. + + VD-supply: + description: Digital power supply. + + VLC-supply: + description: Control port power supply + + VLS-supply: + description: Serial port interface power supply. + + reset-gpios: + description: This pin is connected to the chip's RESET pin. + maxItems: 1 + +required: + - compatible + - reg + - clocks + - clock-names + +if: + properties: + compatible: + contains: + const: cirrus,cs42888 +then: + required: + - VA-supply + - VD-supply + - VLC-supply + - VLS-supply + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + codec@48 { + compatible = "cirrus,cs42888"; + reg = <0x48>; + clocks = <&codec_mclk 0>; + clock-names = "mclk"; + VA-supply = <®_audio>; + VD-supply = <®_audio>; + VLS-supply = <®_audio>; + VLC-supply = <®_audio>; + reset-gpios = <&gpio 1>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/cirrus,cs530x.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/cirrus,cs530x.yaml index 348fa442f2..9582eb8eb4 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/cirrus,cs530x.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/cirrus,cs530x.yaml @@ -1,85 +1,85 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/cirrus,cs530x.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Cirrus Logic cs530x family of audio ADCs - -maintainers: - - Paul Handrigan - - patches@opensource.cirrus.com - -description: - The CS530X devices are a family of high performance audio ADCs. - -allOf: - - $ref: dai-common.yaml# - -properties: - compatible: - enum: - - cirrus,cs5302 - - cirrus,cs5304 - - cirrus,cs5308 - - reg: - maxItems: 1 - - '#sound-dai-cells': - const: 1 - - reset-gpios: - maxItems: 1 - - vdd-a-supply: - description: Analog power supply - - vdd-io-supply: - description: Digital IO power supply - - cirrus,in-hiz-pin12: - description: - Sets input channels one and two to high impedance. - type: boolean - - cirrus,in-hiz-pin34: - description: - Sets input channels three and four to high impedance. - type: boolean - - cirrus,in-hiz-pin56: - description: - Sets input channels five and six to high impedance. - type: boolean - - cirrus,in-hiz-pin78: - description: - Sets input channels seven and eight to high impedance. - type: boolean - -required: - - compatible - - reg - - "#sound-dai-cells" - -unevaluatedProperties: false - -examples: - - | - #include - - i2c { - #address-cells = <1>; - #size-cells = <0>; - - cs5304: adc@48 { - compatible = "cirrus,cs5304"; - reg = <0x48>; - #sound-dai-cells = <1>; - reset-gpios = <&gpio 110 GPIO_ACTIVE_LOW>; - vdd-a-supply = <&vreg>; - vdd-io-supply = <&vreg>; - cirrus,in-hiz-pin34; - }; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/cirrus,cs530x.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Cirrus Logic cs530x family of audio ADCs + +maintainers: + - Paul Handrigan + - patches@opensource.cirrus.com + +description: + The CS530X devices are a family of high performance audio ADCs. + +allOf: + - $ref: dai-common.yaml# + +properties: + compatible: + enum: + - cirrus,cs5302 + - cirrus,cs5304 + - cirrus,cs5308 + + reg: + maxItems: 1 + + '#sound-dai-cells': + const: 1 + + reset-gpios: + maxItems: 1 + + vdd-a-supply: + description: Analog power supply + + vdd-io-supply: + description: Digital IO power supply + + cirrus,in-hiz-pin12: + description: + Sets input channels one and two to high impedance. + type: boolean + + cirrus,in-hiz-pin34: + description: + Sets input channels three and four to high impedance. + type: boolean + + cirrus,in-hiz-pin56: + description: + Sets input channels five and six to high impedance. + type: boolean + + cirrus,in-hiz-pin78: + description: + Sets input channels seven and eight to high impedance. + type: boolean + +required: + - compatible + - reg + - "#sound-dai-cells" + +unevaluatedProperties: false + +examples: + - | + #include + + i2c { + #address-cells = <1>; + #size-cells = <0>; + + cs5304: adc@48 { + compatible = "cirrus,cs5304"; + reg = <0x48>; + #sound-dai-cells = <1>; + reset-gpios = <&gpio 110 GPIO_ACTIVE_LOW>; + vdd-a-supply = <&vreg>; + vdd-io-supply = <&vreg>; + cirrus,in-hiz-pin34; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/cirrus,ep9301-i2s.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/cirrus,ep9301-i2s.yaml index 89170cb141..4693e85aed 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/cirrus,ep9301-i2s.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/cirrus,ep9301-i2s.yaml @@ -1,82 +1,82 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/cirrus,ep9301-i2s.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Cirrus EP93xx I2S Controller - -description: | - The I2S controller is used to stream serial audio data between the external - I2S CODECs’, ADCs/DACs, and the ARM Core. The controller supports I2S, Left- - and Right-Justified DSP formats. - -maintainers: - - Alexander Sverdlin - -allOf: - - $ref: dai-common.yaml# - -properties: - compatible: - const: cirrus,ep9301-i2s - - '#sound-dai-cells': - const: 0 - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - minItems: 3 - maxItems: 3 - - clock-names: - items: - - const: mclk - - const: sclk - - const: lrclk - - dmas: - items: - - description: out DMA channel - - description: in DMA channel - - dma-names: - items: - - const: tx - - const: rx - - port: - $ref: audio-graph-port.yaml# - unevaluatedProperties: false - -required: - - compatible - - '#sound-dai-cells' - - reg - - clocks - - clock-names - -additionalProperties: false - -examples: - - | - i2s: i2s@80820000 { - compatible = "cirrus,ep9301-i2s"; - #sound-dai-cells = <0>; - reg = <0x80820000 0x100>; - interrupt-parent = <&vic1>; - interrupts = <28>; - clocks = <&syscon 29>, - <&syscon 30>, - <&syscon 31>; - clock-names = "mclk", "sclk", "lrclk"; - dmas = <&dma0 0 1>, <&dma0 0 2>; - dma-names = "tx", "rx"; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/cirrus,ep9301-i2s.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Cirrus EP93xx I2S Controller + +description: | + The I2S controller is used to stream serial audio data between the external + I2S CODECs’, ADCs/DACs, and the ARM Core. The controller supports I2S, Left- + and Right-Justified DSP formats. + +maintainers: + - Alexander Sverdlin + +allOf: + - $ref: dai-common.yaml# + +properties: + compatible: + const: cirrus,ep9301-i2s + + '#sound-dai-cells': + const: 0 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + minItems: 3 + maxItems: 3 + + clock-names: + items: + - const: mclk + - const: sclk + - const: lrclk + + dmas: + items: + - description: out DMA channel + - description: in DMA channel + + dma-names: + items: + - const: tx + - const: rx + + port: + $ref: audio-graph-port.yaml# + unevaluatedProperties: false + +required: + - compatible + - '#sound-dai-cells' + - reg + - clocks + - clock-names + +additionalProperties: false + +examples: + - | + i2s: i2s@80820000 { + compatible = "cirrus,ep9301-i2s"; + #sound-dai-cells = <0>; + reg = <0x80820000 0x100>; + interrupt-parent = <&vic1>; + interrupts = <28>; + clocks = <&syscon 29>, + <&syscon 30>, + <&syscon 31>; + clock-names = "mclk", "sclk", "lrclk"; + dmas = <&dma0 0 1>, <&dma0 0 2>; + dma-names = "tx", "rx"; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/cirrus,lochnagar.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/cirrus,lochnagar.yaml index 65f91ca234..52f024f530 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/cirrus,lochnagar.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/cirrus,lochnagar.yaml @@ -1,55 +1,55 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/cirrus,lochnagar.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Cirrus Logic Lochnagar Audio Development Board - -maintainers: - - patches@opensource.cirrus.com - -description: | - Lochnagar is an evaluation and development board for Cirrus Logic - Smart CODEC and Amp devices. It allows the connection of most Cirrus - Logic devices on mini-cards, as well as allowing connection of various - application processor systems to provide a full evaluation platform. - Audio system topology, clocking and power can all be controlled through - the Lochnagar, allowing the device under test to be used in a variety of - possible use cases. - - This binding document describes the binding for the audio portion of the - driver. - - This binding must be part of the Lochnagar MFD binding: - [1] ../mfd/cirrus,lochnagar.yaml - -allOf: - - $ref: dai-common.yaml# - -properties: - compatible: - enum: - - cirrus,lochnagar2-soundcard - - '#sound-dai-cells': - description: - The first cell indicating the audio interface. - const: 1 - - clocks: - description: - Master clock source for the sound card, should normally be set to - LOCHNAGAR_SOUNDCARD_MCLK provided by the Lochnagar clock driver. - maxItems: 1 - - clock-names: - const: mclk - -required: - - compatible - - '#sound-dai-cells' - - clocks - - clock-names - -unevaluatedProperties: false +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/cirrus,lochnagar.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Cirrus Logic Lochnagar Audio Development Board + +maintainers: + - patches@opensource.cirrus.com + +description: | + Lochnagar is an evaluation and development board for Cirrus Logic + Smart CODEC and Amp devices. It allows the connection of most Cirrus + Logic devices on mini-cards, as well as allowing connection of various + application processor systems to provide a full evaluation platform. + Audio system topology, clocking and power can all be controlled through + the Lochnagar, allowing the device under test to be used in a variety of + possible use cases. + + This binding document describes the binding for the audio portion of the + driver. + + This binding must be part of the Lochnagar MFD binding: + [1] ../mfd/cirrus,lochnagar.yaml + +allOf: + - $ref: dai-common.yaml# + +properties: + compatible: + enum: + - cirrus,lochnagar2-soundcard + + '#sound-dai-cells': + description: + The first cell indicating the audio interface. + const: 1 + + clocks: + description: + Master clock source for the sound card, should normally be set to + LOCHNAGAR_SOUNDCARD_MCLK provided by the Lochnagar clock driver. + maxItems: 1 + + clock-names: + const: mclk + +required: + - compatible + - '#sound-dai-cells' + - clocks + - clock-names + +unevaluatedProperties: false diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/cs42l52.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/cs42l52.txt index fb0fc491b2..bc03c9312a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/cs42l52.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/cs42l52.txt @@ -1,46 +1,46 @@ -CS42L52 audio CODEC - -Required properties: - - - compatible : "cirrus,cs42l52" - - - reg : the I2C address of the device for I2C - -Optional properties: - - - cirrus,reset-gpio : GPIO controller's phandle and the number - of the GPIO used to reset the codec. - - - cirrus,chgfreq-divisor : Values used to set the Charge Pump Frequency. - Allowable values of 0x00 through 0x0F. These are raw values written to the - register, not the actual frequency. The frequency is determined by the following. - Frequency = (64xFs)/(N+2) - N = chgfreq_val - Fs = Sample Rate (variable) - - - cirrus,mica-differential-cfg : boolean, If present, then the MICA input is configured - as a differential input. If not present then the MICA input is configured as - Single-ended input. Single-ended mode allows for MIC1 or MIC2 muxing for input. - - - cirrus,micb-differential-cfg : boolean, If present, then the MICB input is configured - as a differential input. If not present then the MICB input is configured as - Single-ended input. Single-ended mode allows for MIC1 or MIC2 muxing for input. - - - cirrus,micbias-lvl: Set the output voltage level on the MICBIAS Pin - 0 = 0.5 x VA - 1 = 0.6 x VA - 2 = 0.7 x VA - 3 = 0.8 x VA - 4 = 0.83 x VA - 5 = 0.91 x VA - -Example: - -codec: codec@4a { - compatible = "cirrus,cs42l52"; - reg = <0x4a>; - reset-gpio = <&gpio 10 0>; - cirrus,chgfreq-divisor = <0x05>; - cirrus.mica-differential-cfg; - cirrus,micbias-lvl = <5>; -}; +CS42L52 audio CODEC + +Required properties: + + - compatible : "cirrus,cs42l52" + + - reg : the I2C address of the device for I2C + +Optional properties: + + - cirrus,reset-gpio : GPIO controller's phandle and the number + of the GPIO used to reset the codec. + + - cirrus,chgfreq-divisor : Values used to set the Charge Pump Frequency. + Allowable values of 0x00 through 0x0F. These are raw values written to the + register, not the actual frequency. The frequency is determined by the following. + Frequency = (64xFs)/(N+2) + N = chgfreq_val + Fs = Sample Rate (variable) + + - cirrus,mica-differential-cfg : boolean, If present, then the MICA input is configured + as a differential input. If not present then the MICA input is configured as + Single-ended input. Single-ended mode allows for MIC1 or MIC2 muxing for input. + + - cirrus,micb-differential-cfg : boolean, If present, then the MICB input is configured + as a differential input. If not present then the MICB input is configured as + Single-ended input. Single-ended mode allows for MIC1 or MIC2 muxing for input. + + - cirrus,micbias-lvl: Set the output voltage level on the MICBIAS Pin + 0 = 0.5 x VA + 1 = 0.6 x VA + 2 = 0.7 x VA + 3 = 0.8 x VA + 4 = 0.83 x VA + 5 = 0.91 x VA + +Example: + +codec: codec@4a { + compatible = "cirrus,cs42l52"; + reg = <0x4a>; + reset-gpio = <&gpio 10 0>; + cirrus,chgfreq-divisor = <0x05>; + cirrus.mica-differential-cfg; + cirrus,micbias-lvl = <5>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/davinci-evm-audio.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/davinci-evm-audio.txt index 1037ae66af..963e100514 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/davinci-evm-audio.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/davinci-evm-audio.txt @@ -1,49 +1,49 @@ -* Texas Instruments SoC audio setups with TLV320AIC3X Codec - -Required properties: -- compatible : "ti,da830-evm-audio" : forDM365/DA8xx/OMAPL1x/AM33xx -- ti,model : The user-visible name of this sound complex. -- ti,audio-codec : The phandle of the TLV320AIC3x audio codec -- ti,mcasp-controller : The phandle of the McASP controller -- ti,audio-routing : A list of the connections between audio components. - Each entry is a pair of strings, the first being the connection's sink, - the second being the connection's source. Valid names for sources and - sinks are the codec's pins, and the jacks on the board: - -Optional properties: -- ti,codec-clock-rate : The Codec Clock rate (in Hz) applied to the Codec. -- clocks : Reference to the master clock -- clock-names : The clock should be named "mclk" -- Either codec-clock-rate or the codec-clock reference has to be defined. If - the both are defined the driver attempts to set referenced clock to the - defined rate and takes the rate from the clock reference. - - Board connectors: - - * Headphone Jack - * Line Out - * Mic Jack - * Line In - - -Example: - -sound { - compatible = "ti,da830-evm-audio"; - ti,model = "DA830 EVM"; - ti,audio-codec = <&tlv320aic3x>; - ti,mcasp-controller = <&mcasp1>; - ti,codec-clock-rate = <12000000>; - ti,audio-routing = - "Headphone Jack", "HPLOUT", - "Headphone Jack", "HPROUT", - "Line Out", "LLOUT", - "Line Out", "RLOUT", - "MIC3L", "Mic Bias 2V", - "MIC3R", "Mic Bias 2V", - "Mic Bias 2V", "Mic Jack", - "LINE1L", "Line In", - "LINE2L", "Line In", - "LINE1R", "Line In", - "LINE2R", "Line In"; -}; +* Texas Instruments SoC audio setups with TLV320AIC3X Codec + +Required properties: +- compatible : "ti,da830-evm-audio" : forDM365/DA8xx/OMAPL1x/AM33xx +- ti,model : The user-visible name of this sound complex. +- ti,audio-codec : The phandle of the TLV320AIC3x audio codec +- ti,mcasp-controller : The phandle of the McASP controller +- ti,audio-routing : A list of the connections between audio components. + Each entry is a pair of strings, the first being the connection's sink, + the second being the connection's source. Valid names for sources and + sinks are the codec's pins, and the jacks on the board: + +Optional properties: +- ti,codec-clock-rate : The Codec Clock rate (in Hz) applied to the Codec. +- clocks : Reference to the master clock +- clock-names : The clock should be named "mclk" +- Either codec-clock-rate or the codec-clock reference has to be defined. If + the both are defined the driver attempts to set referenced clock to the + defined rate and takes the rate from the clock reference. + + Board connectors: + + * Headphone Jack + * Line Out + * Mic Jack + * Line In + + +Example: + +sound { + compatible = "ti,da830-evm-audio"; + ti,model = "DA830 EVM"; + ti,audio-codec = <&tlv320aic3x>; + ti,mcasp-controller = <&mcasp1>; + ti,codec-clock-rate = <12000000>; + ti,audio-routing = + "Headphone Jack", "HPLOUT", + "Headphone Jack", "HPROUT", + "Line Out", "LLOUT", + "Line Out", "RLOUT", + "MIC3L", "Mic Bias 2V", + "MIC3R", "Mic Bias 2V", + "Mic Bias 2V", "Mic Jack", + "LINE1L", "Line In", + "LINE2L", "Line In", + "LINE1R", "Line In", + "LINE2R", "Line In"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/everest,es7241.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/everest,es7241.yaml index 294977d25a..f179af7587 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/everest,es7241.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/everest,es7241.yaml @@ -1,67 +1,67 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/everest,es7241.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Everest ES7241 2 channels I2S analog to digital converter - -maintainers: - - Neil Armstrong - -properties: - compatible: - enum: - - everest,es7241 - - reset-gpios: - maxItems: 1 - description: GPIO connected to the reset pin - - m0-gpios: - maxItems: 1 - description: GPIO connected to the m0 pin - - m1-gpios: - maxItems: 1 - description: GPIO connected to the m0 pin - - everest,sdout-pull-down: - type: boolean - description: - Format used by the serial interface is controlled by pulling - the sdout. If the sdout is pulled down, leftj format is used. - If this property is not provided, sdout is assumed to pulled - up and i2s format is used - - VDDP-supply: true - VDDA-supply: true - VDDD-supply: true - - '#sound-dai-cells': - const: 0 - -required: - - compatible - - VDDP-supply - - VDDA-supply - - VDDD-supply - -allOf: - - $ref: dai-common.yaml# - -unevaluatedProperties: false - -examples: - - | - #include - codec { - compatible = "everest,es7241"; - #sound-dai-cells = <0>; - reset-gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>; - VDDP-supply = <&vddp_supply>; - VDDA-supply = <&vdda_supply>; - VDDD-supply = <&vddd_supply>; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/everest,es7241.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Everest ES7241 2 channels I2S analog to digital converter + +maintainers: + - Neil Armstrong + +properties: + compatible: + enum: + - everest,es7241 + + reset-gpios: + maxItems: 1 + description: GPIO connected to the reset pin + + m0-gpios: + maxItems: 1 + description: GPIO connected to the m0 pin + + m1-gpios: + maxItems: 1 + description: GPIO connected to the m0 pin + + everest,sdout-pull-down: + type: boolean + description: + Format used by the serial interface is controlled by pulling + the sdout. If the sdout is pulled down, leftj format is used. + If this property is not provided, sdout is assumed to pulled + up and i2s format is used + + VDDP-supply: true + VDDA-supply: true + VDDD-supply: true + + '#sound-dai-cells': + const: 0 + +required: + - compatible + - VDDP-supply + - VDDA-supply + - VDDD-supply + +allOf: + - $ref: dai-common.yaml# + +unevaluatedProperties: false + +examples: + - | + #include + codec { + compatible = "everest,es7241"; + #sound-dai-cells = <0>; + reset-gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>; + VDDP-supply = <&vddp_supply>; + VDDA-supply = <&vdda_supply>; + VDDD-supply = <&vddd_supply>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/everest,es8328.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/everest,es8328.yaml index f5cc2f7f6b..a0f4670fa3 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/everest,es8328.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/everest,es8328.yaml @@ -1,77 +1,77 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/everest,es8328.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Everest ES8328 audio CODEC - -description: - Everest Audio Codec, which can be connected via I2C or SPI. - Pins on the device (for linking into audio routes) are - * LOUT1 - * LOUT2 - * ROUT1 - * ROUT2 - * LINPUT1 - * RINPUT1 - * LINPUT2 - * RINPUT2 - * Mic Bias - -maintainers: - - David Yang - -properties: - compatible: - enum: - - everest,es8328 - - everest,es8388 - - reg: - maxItems: 1 - - "#sound-dai-cells": - const: 0 - - clocks: - items: - - description: A 22.5792 or 11.2896 MHz clock - - DVDD-supply: - description: Regulator providing digital core supply voltage 1.8 - 3.6V - - AVDD-supply: - description: Regulator providing analog supply voltage 3.3V - - PVDD-supply: - description: Regulator providing digital IO supply voltage 1.8 - 3.6V - - HPVDD-supply: - description: Regulator providing analog output voltage 3.3V - -required: - - compatible - - clocks - - DVDD-supply - - AVDD-supply - - PVDD-supply - - HPVDD-supply - -additionalProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - es8328: codec@11 { - compatible = "everest,es8328"; - reg = <0x11>; - AVDD-supply = <®_3p3v>; - DVDD-supply = <®_3p3v>; - HPVDD-supply = <®_3p3v>; - PVDD-supply = <®_3p3v>; - clocks = <&clks 169>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/everest,es8328.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Everest ES8328 audio CODEC + +description: + Everest Audio Codec, which can be connected via I2C or SPI. + Pins on the device (for linking into audio routes) are + * LOUT1 + * LOUT2 + * ROUT1 + * ROUT2 + * LINPUT1 + * RINPUT1 + * LINPUT2 + * RINPUT2 + * Mic Bias + +maintainers: + - David Yang + +properties: + compatible: + enum: + - everest,es8328 + - everest,es8388 + + reg: + maxItems: 1 + + "#sound-dai-cells": + const: 0 + + clocks: + items: + - description: A 22.5792 or 11.2896 MHz clock + + DVDD-supply: + description: Regulator providing digital core supply voltage 1.8 - 3.6V + + AVDD-supply: + description: Regulator providing analog supply voltage 3.3V + + PVDD-supply: + description: Regulator providing digital IO supply voltage 1.8 - 3.6V + + HPVDD-supply: + description: Regulator providing analog output voltage 3.3V + +required: + - compatible + - clocks + - DVDD-supply + - AVDD-supply + - PVDD-supply + - HPVDD-supply + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + es8328: codec@11 { + compatible = "everest,es8328"; + reg = <0x11>; + AVDD-supply = <®_3p3v>; + DVDD-supply = <®_3p3v>; + HPVDD-supply = <®_3p3v>; + PVDD-supply = <®_3p3v>; + clocks = <&clks 169>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/fsl,saif.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/fsl,saif.yaml index 9bb8320614..0b5db6bb1b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/fsl,saif.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/fsl,saif.yaml @@ -1,83 +1,83 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/fsl,saif.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Freescale MXS Serial Audio Interface (SAIF) - -maintainers: - - Lukasz Majewski - -allOf: - - $ref: dai-common.yaml# - -description: - The SAIF is based on I2S module that is used to communicate with audio codecs, - but only with half-duplex manner (i.e. it can either transmit or receive PCM - audio). - -properties: - compatible: - const: fsl,imx28-saif - - reg: - maxItems: 1 - - "#sound-dai-cells": - const: 0 - - interrupts: - maxItems: 1 - - dmas: - maxItems: 1 - - dma-names: - const: rx-tx - - "#clock-cells": - description: Configure the I2S device as MCLK clock provider. - const: 0 - - clocks: - maxItems: 1 - - fsl,saif-master: - description: Indicate that saif is a slave and its phandle points to master - $ref: /schemas/types.yaml#/definitions/phandle - -required: - - compatible - - reg - - "#sound-dai-cells" - - interrupts - - dmas - - dma-names - - clocks - -unevaluatedProperties: false - -examples: - - | - saif0: saif@80042000 { - compatible = "fsl,imx28-saif"; - reg = <0x80042000 2000>; - #sound-dai-cells = <0>; - interrupts = <59>; - dmas = <&dma_apbx 4>; - dma-names = "rx-tx"; - #clock-cells = <0>; - clocks = <&clks 53>; - }; - - | - saif1: saif@80046000 { - compatible = "fsl,imx28-saif"; - reg = <0x80046000 2000>; - #sound-dai-cells = <0>; - interrupts = <58>; - dmas = <&dma_apbx 5>; - dma-names = "rx-tx"; - clocks = <&clks 53>; - fsl,saif-master = <&saif0>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/fsl,saif.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Freescale MXS Serial Audio Interface (SAIF) + +maintainers: + - Lukasz Majewski + +allOf: + - $ref: dai-common.yaml# + +description: + The SAIF is based on I2S module that is used to communicate with audio codecs, + but only with half-duplex manner (i.e. it can either transmit or receive PCM + audio). + +properties: + compatible: + const: fsl,imx28-saif + + reg: + maxItems: 1 + + "#sound-dai-cells": + const: 0 + + interrupts: + maxItems: 1 + + dmas: + maxItems: 1 + + dma-names: + const: rx-tx + + "#clock-cells": + description: Configure the I2S device as MCLK clock provider. + const: 0 + + clocks: + maxItems: 1 + + fsl,saif-master: + description: Indicate that saif is a slave and its phandle points to master + $ref: /schemas/types.yaml#/definitions/phandle + +required: + - compatible + - reg + - "#sound-dai-cells" + - interrupts + - dmas + - dma-names + - clocks + +unevaluatedProperties: false + +examples: + - | + saif0: saif@80042000 { + compatible = "fsl,imx28-saif"; + reg = <0x80042000 2000>; + #sound-dai-cells = <0>; + interrupts = <59>; + dmas = <&dma_apbx 4>; + dma-names = "rx-tx"; + #clock-cells = <0>; + clocks = <&clks 53>; + }; + - | + saif1: saif@80046000 { + compatible = "fsl,imx28-saif"; + reg = <0x80046000 2000>; + #sound-dai-cells = <0>; + interrupts = <58>; + dmas = <&dma_apbx 5>; + dma-names = "rx-tx"; + clocks = <&clks 53>; + fsl,saif-master = <&saif0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/hisilicon,hi6210-i2s.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/hisilicon,hi6210-i2s.txt index b9ffd1fa52..7a296784eb 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/hisilicon,hi6210-i2s.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/hisilicon,hi6210-i2s.txt @@ -1,42 +1,42 @@ -* Hisilicon 6210 i2s controller - -Required properties: - -- compatible: should be one of the following: - - "hisilicon,hi6210-i2s" -- reg: physical base address of the i2s controller unit and length of - memory mapped region. -- interrupts: should contain the i2s interrupt. -- clocks: a list of phandle + clock-specifier pairs, one for each entry - in clock-names. -- clock-names: should contain following: - - "dacodec" - - "i2s-base" -- dmas: DMA specifiers for tx dma. See the DMA client binding, - Documentation/devicetree/bindings/dma/dma.txt -- dma-names: should be "tx" and "rx" -- hisilicon,sysctrl-syscon: phandle to sysctrl syscon -- #sound-dai-cells: Should be set to 1 (for multi-dai) - - The dai cell indexes reference the following interfaces: - 0: S2 interface - (Currently that is the only one available, but more may be - supported in the future) - -Example for the hi6210 i2s controller: - -i2s0: i2s@f7118000{ - compatible = "hisilicon,hi6210-i2s"; - reg = <0x0 0xf7118000 0x0 0x8000>; /* i2s unit */ - interrupts = ; /* 155 "DigACodec_intr"-32 */ - clocks = <&sys_ctrl HI6220_DACODEC_PCLK>, - <&sys_ctrl HI6220_BBPPLL0_DIV>; - clock-names = "dacodec", "i2s-base"; - dmas = <&dma0 15 &dma0 14>; - dma-names = "rx", "tx"; - hisilicon,sysctrl-syscon = <&sys_ctrl>; - #sound-dai-cells = <1>; -}; - -Then when referencing the i2s controller: - sound-dai = <&i2s0 0>; /* index 0 => S2 interface */ - +* Hisilicon 6210 i2s controller + +Required properties: + +- compatible: should be one of the following: + - "hisilicon,hi6210-i2s" +- reg: physical base address of the i2s controller unit and length of + memory mapped region. +- interrupts: should contain the i2s interrupt. +- clocks: a list of phandle + clock-specifier pairs, one for each entry + in clock-names. +- clock-names: should contain following: + - "dacodec" + - "i2s-base" +- dmas: DMA specifiers for tx dma. See the DMA client binding, + Documentation/devicetree/bindings/dma/dma.txt +- dma-names: should be "tx" and "rx" +- hisilicon,sysctrl-syscon: phandle to sysctrl syscon +- #sound-dai-cells: Should be set to 1 (for multi-dai) + - The dai cell indexes reference the following interfaces: + 0: S2 interface + (Currently that is the only one available, but more may be + supported in the future) + +Example for the hi6210 i2s controller: + +i2s0: i2s@f7118000{ + compatible = "hisilicon,hi6210-i2s"; + reg = <0x0 0xf7118000 0x0 0x8000>; /* i2s unit */ + interrupts = ; /* 155 "DigACodec_intr"-32 */ + clocks = <&sys_ctrl HI6220_DACODEC_PCLK>, + <&sys_ctrl HI6220_BBPPLL0_DIV>; + clock-names = "dacodec", "i2s-base"; + dmas = <&dma0 15 &dma0 14>; + dma-names = "rx", "tx"; + hisilicon,sysctrl-syscon = <&sys_ctrl>; + #sound-dai-cells = <1>; +}; + +Then when referencing the i2s controller: + sound-dai = <&i2s0 0>; /* index 0 => S2 interface */ + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/img,i2s-out.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/img,i2s-out.txt index 09baf7b92f..6b0ee9b7e1 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/img,i2s-out.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/img,i2s-out.txt @@ -1,51 +1,51 @@ -Imagination Technologies I2S Output Controller - -Required Properties: - - - compatible : Compatible list, must contain "img,i2s-out" - - - #sound-dai-cells : Must be equal to 0 - - - reg : Offset and length of the register set for the device - - - clocks : Contains an entry for each entry in clock-names - - - clock-names : Must include the following entries: - "sys" The system clock - "ref" The reference clock - - - dmas: Contains an entry for each entry in dma-names. - - - dma-names: Must include the following entry: - "tx" Single DMA channel used by all active I2S channels - - - img,i2s-channels : Number of I2S channels instantiated in the I2S out block - - - resets: Contains a phandle to the I2S out reset signal - - - reset-names: Contains the reset signal name "rst" - -Optional Properties: - - - interrupts : Contains the I2S out interrupts. Depending on - the configuration, there may be no interrupts, one interrupt, - or an interrupt per I2S channel. For the case where there is - one interrupt per channel, the interrupts should be listed - in ascending channel order - -Example: - -i2s_out: i2s-out@18100a00 { - compatible = "img,i2s-out"; - reg = <0x18100A00 0x200>; - interrupts = ; - dmas = <&mdc 23 0xffffffff 0>; - dma-names = "tx"; - clocks = <&cr_periph SYS_CLK_I2S_OUT>, - <&clk_core CLK_I2S>; - clock-names = "sys", "ref"; - img,i2s-channels = <6>; - resets = <&pistachio_reset PISTACHIO_RESET_I2S_OUT>; - reset-names = "rst"; - #sound-dai-cells = <0>; -}; +Imagination Technologies I2S Output Controller + +Required Properties: + + - compatible : Compatible list, must contain "img,i2s-out" + + - #sound-dai-cells : Must be equal to 0 + + - reg : Offset and length of the register set for the device + + - clocks : Contains an entry for each entry in clock-names + + - clock-names : Must include the following entries: + "sys" The system clock + "ref" The reference clock + + - dmas: Contains an entry for each entry in dma-names. + + - dma-names: Must include the following entry: + "tx" Single DMA channel used by all active I2S channels + + - img,i2s-channels : Number of I2S channels instantiated in the I2S out block + + - resets: Contains a phandle to the I2S out reset signal + + - reset-names: Contains the reset signal name "rst" + +Optional Properties: + + - interrupts : Contains the I2S out interrupts. Depending on + the configuration, there may be no interrupts, one interrupt, + or an interrupt per I2S channel. For the case where there is + one interrupt per channel, the interrupts should be listed + in ascending channel order + +Example: + +i2s_out: i2s-out@18100a00 { + compatible = "img,i2s-out"; + reg = <0x18100A00 0x200>; + interrupts = ; + dmas = <&mdc 23 0xffffffff 0>; + dma-names = "tx"; + clocks = <&cr_periph SYS_CLK_I2S_OUT>, + <&clk_core CLK_I2S>; + clock-names = "sys", "ref"; + img,i2s-channels = <6>; + resets = <&pistachio_reset PISTACHIO_RESET_I2S_OUT>; + reset-names = "rst"; + #sound-dai-cells = <0>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/imx-audio-hdmi.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/imx-audio-hdmi.yaml index 2603f2cd08..e7e7bb65c3 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/imx-audio-hdmi.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/imx-audio-hdmi.yaml @@ -1,55 +1,55 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/imx-audio-hdmi.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: NXP i.MX audio complex with HDMI - -maintainers: - - Shengjiu Wang - -properties: - compatible: - enum: - - fsl,imx-audio-hdmi - - fsl,imx-audio-sii902x - - model: - $ref: /schemas/types.yaml#/definitions/string - description: User specified audio sound card name - - audio-cpu: - $ref: /schemas/types.yaml#/definitions/phandle - description: The phandle of an CPU DAI controller - - hdmi-out: - type: boolean - description: | - This is a boolean property. If present, the transmitting function - of HDMI will be enabled, indicating there's a physical HDMI out - connector or jack on the board or it's connecting to some other IP - block, such as an HDMI encoder or display-controller. - - hdmi-in: - type: boolean - description: | - This is a boolean property. If present, the receiving function of - HDMI will be enabled, indicating there is a physical HDMI in - connector/jack on the board. - -required: - - compatible - - model - - audio-cpu - -additionalProperties: false - -examples: - - | - sound-hdmi { - compatible = "fsl,imx-audio-hdmi"; - model = "audio-hdmi"; - audio-cpu = <&aud2htx>; - hdmi-out; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/imx-audio-hdmi.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NXP i.MX audio complex with HDMI + +maintainers: + - Shengjiu Wang + +properties: + compatible: + enum: + - fsl,imx-audio-hdmi + - fsl,imx-audio-sii902x + + model: + $ref: /schemas/types.yaml#/definitions/string + description: User specified audio sound card name + + audio-cpu: + $ref: /schemas/types.yaml#/definitions/phandle + description: The phandle of an CPU DAI controller + + hdmi-out: + type: boolean + description: | + This is a boolean property. If present, the transmitting function + of HDMI will be enabled, indicating there's a physical HDMI out + connector or jack on the board or it's connecting to some other IP + block, such as an HDMI encoder or display-controller. + + hdmi-in: + type: boolean + description: | + This is a boolean property. If present, the receiving function of + HDMI will be enabled, indicating there is a physical HDMI in + connector/jack on the board. + +required: + - compatible + - model + - audio-cpu + +additionalProperties: false + +examples: + - | + sound-hdmi { + compatible = "fsl,imx-audio-hdmi"; + model = "audio-hdmi"; + audio-cpu = <&aud2htx>; + hdmi-out; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/imx-audio-sgtl5000.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/imx-audio-sgtl5000.txt index 88d3edf5e8..2f89db88fd 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/imx-audio-sgtl5000.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/imx-audio-sgtl5000.txt @@ -1,56 +1,56 @@ -Freescale i.MX audio complex with SGTL5000 codec - -Required properties: - - - compatible : "fsl,imx-audio-sgtl5000" - - - model : The user-visible name of this sound complex - - - ssi-controller : The phandle of the i.MX SSI controller - - - audio-codec : The phandle of the SGTL5000 audio codec - - - audio-routing : A list of the connections between audio components. - Each entry is a pair of strings, the first being the - connection's sink, the second being the connection's - source. Valid names could be power supplies, SGTL5000 - pins, and the jacks on the board: - - Power supplies: - * Mic Bias - - SGTL5000 pins: - * MIC_IN - * LINE_IN - * HP_OUT - * LINE_OUT - - Board connectors: - * Mic Jack - * Line In Jack - * Headphone Jack - * Line Out Jack - * Ext Spk - - - mux-int-port : The internal port of the i.MX audio muxer (AUDMUX) - - - 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 = "fsl,imx51-babbage-sgtl5000", - "fsl,imx-audio-sgtl5000"; - model = "imx51-babbage-sgtl5000"; - ssi-controller = <&ssi1>; - audio-codec = <&sgtl5000>; - audio-routing = - "MIC_IN", "Mic Jack", - "Mic Jack", "Mic Bias", - "Headphone Jack", "HP_OUT"; - mux-int-port = <1>; - mux-ext-port = <3>; -}; +Freescale i.MX audio complex with SGTL5000 codec + +Required properties: + + - compatible : "fsl,imx-audio-sgtl5000" + + - model : The user-visible name of this sound complex + + - ssi-controller : The phandle of the i.MX SSI controller + + - audio-codec : The phandle of the SGTL5000 audio codec + + - audio-routing : A list of the connections between audio components. + Each entry is a pair of strings, the first being the + connection's sink, the second being the connection's + source. Valid names could be power supplies, SGTL5000 + pins, and the jacks on the board: + + Power supplies: + * Mic Bias + + SGTL5000 pins: + * MIC_IN + * LINE_IN + * HP_OUT + * LINE_OUT + + Board connectors: + * Mic Jack + * Line In Jack + * Headphone Jack + * Line Out Jack + * Ext Spk + + - mux-int-port : The internal port of the i.MX audio muxer (AUDMUX) + + - 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 = "fsl,imx51-babbage-sgtl5000", + "fsl,imx-audio-sgtl5000"; + model = "imx51-babbage-sgtl5000"; + ssi-controller = <&ssi1>; + audio-codec = <&sgtl5000>; + audio-routing = + "MIC_IN", "Mic Jack", + "Mic Jack", "Mic Bias", + "Headphone Jack", "HP_OUT"; + mux-int-port = <1>; + mux-ext-port = <3>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/ingenic,aic.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/ingenic,aic.yaml index 7eabdb9bef..d15c000f14 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/ingenic,aic.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/ingenic,aic.yaml @@ -1,90 +1,90 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/ingenic,aic.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Ingenic SoCs AC97 / I2S Controller (AIC) - -maintainers: - - Paul Cercueil - -allOf: - - $ref: dai-common.yaml# - -properties: - $nodename: - pattern: '^audio-controller@' - - compatible: - oneOf: - - enum: - - ingenic,jz4740-i2s - - ingenic,jz4760-i2s - - ingenic,jz4770-i2s - - ingenic,jz4780-i2s - - ingenic,x1000-i2s - - items: - - const: ingenic,jz4725b-i2s - - const: ingenic,jz4740-i2s - - '#sound-dai-cells': - const: 0 - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - items: - - description: AIC clock - - description: I2S clock - - clock-names: - items: - - const: aic - - const: i2s - - dmas: - items: - - description: DMA controller phandle and request line for I2S RX - - description: DMA controller phandle and request line for I2S TX - - dma-names: - items: - - const: rx - - const: tx - -unevaluatedProperties: false - -required: - - compatible - - reg - - interrupts - - clocks - - clock-names - - dmas - - dma-names - - '#sound-dai-cells' - -examples: - - | - #include - aic: audio-controller@10020000 { - compatible = "ingenic,jz4740-i2s"; - reg = <0x10020000 0x38>; - - #sound-dai-cells = <0>; - - interrupt-parent = <&intc>; - interrupts = <18>; - - clocks = <&cgu JZ4740_CLK_AIC>, - <&cgu JZ4740_CLK_I2S>; - clock-names = "aic", "i2s"; - - dmas = <&dmac 25 0xffffffff>, <&dmac 24 0xffffffff>; - dma-names = "rx", "tx"; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/ingenic,aic.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Ingenic SoCs AC97 / I2S Controller (AIC) + +maintainers: + - Paul Cercueil + +allOf: + - $ref: dai-common.yaml# + +properties: + $nodename: + pattern: '^audio-controller@' + + compatible: + oneOf: + - enum: + - ingenic,jz4740-i2s + - ingenic,jz4760-i2s + - ingenic,jz4770-i2s + - ingenic,jz4780-i2s + - ingenic,x1000-i2s + - items: + - const: ingenic,jz4725b-i2s + - const: ingenic,jz4740-i2s + + '#sound-dai-cells': + const: 0 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + items: + - description: AIC clock + - description: I2S clock + + clock-names: + items: + - const: aic + - const: i2s + + dmas: + items: + - description: DMA controller phandle and request line for I2S RX + - description: DMA controller phandle and request line for I2S TX + + dma-names: + items: + - const: rx + - const: tx + +unevaluatedProperties: false + +required: + - compatible + - reg + - interrupts + - clocks + - clock-names + - dmas + - dma-names + - '#sound-dai-cells' + +examples: + - | + #include + aic: audio-controller@10020000 { + compatible = "ingenic,jz4740-i2s"; + reg = <0x10020000 0x38>; + + #sound-dai-cells = <0>; + + interrupt-parent = <&intc>; + interrupts = <18>; + + clocks = <&cgu JZ4740_CLK_AIC>, + <&cgu JZ4740_CLK_I2S>; + clock-names = "aic", "i2s"; + + dmas = <&dmac 25 0xffffffff>, <&dmac 24 0xffffffff>; + dma-names = "rx", "tx"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/loongson,ls-audio-card.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/loongson,ls-audio-card.yaml index d53765be1b..61e8babed4 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/loongson,ls-audio-card.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/loongson,ls-audio-card.yaml @@ -1,70 +1,70 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/loongson,ls-audio-card.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Loongson 7axxx/2kxxx ASoC audio sound card driver - -maintainers: - - Yingkun Meng - -description: - The binding describes the sound card present in loongson - 7axxx/2kxxx platform. The sound card is an ASoC component - which uses Loongson I2S controller to transfer the audio data. - -properties: - compatible: - const: loongson,ls-audio-card - - model: - $ref: /schemas/types.yaml#/definitions/string - description: User specified audio sound card name - - mclk-fs: - $ref: simple-card.yaml#/definitions/mclk-fs - - cpu: - description: Holds subnode which indicates cpu dai. - type: object - additionalProperties: false - properties: - sound-dai: - maxItems: 1 - required: - - sound-dai - - codec: - description: Holds subnode which indicates codec dai. - type: object - additionalProperties: false - properties: - sound-dai: - maxItems: 1 - required: - - sound-dai - -required: - - compatible - - model - - mclk-fs - - cpu - - codec - -additionalProperties: false - -examples: - - | - sound { - compatible = "loongson,ls-audio-card"; - model = "loongson-audio"; - mclk-fs = <512>; - - cpu { - sound-dai = <&i2s>; - }; - codec { - sound-dai = <&es8323>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/loongson,ls-audio-card.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Loongson 7axxx/2kxxx ASoC audio sound card driver + +maintainers: + - Yingkun Meng + +description: + The binding describes the sound card present in loongson + 7axxx/2kxxx platform. The sound card is an ASoC component + which uses Loongson I2S controller to transfer the audio data. + +properties: + compatible: + const: loongson,ls-audio-card + + model: + $ref: /schemas/types.yaml#/definitions/string + description: User specified audio sound card name + + mclk-fs: + $ref: simple-card.yaml#/definitions/mclk-fs + + cpu: + description: Holds subnode which indicates cpu dai. + type: object + additionalProperties: false + properties: + sound-dai: + maxItems: 1 + required: + - sound-dai + + codec: + description: Holds subnode which indicates codec dai. + type: object + additionalProperties: false + properties: + sound-dai: + maxItems: 1 + required: + - sound-dai + +required: + - compatible + - model + - mclk-fs + - cpu + - codec + +additionalProperties: false + +examples: + - | + sound { + compatible = "loongson,ls-audio-card"; + model = "loongson-audio"; + mclk-fs = <512>; + + cpu { + sound-dai = <&i2s>; + }; + codec { + sound-dai = <&es8323>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/maxim,max98090.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/maxim,max98090.yaml index 4c282ba7f4..65e4c51691 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/maxim,max98090.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/maxim,max98090.yaml @@ -1,84 +1,84 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/maxim,max98090.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Maxim Integrated MAX98090/MAX98091 audio codecs - -maintainers: - - Krzysztof Kozlowski - -description: | - Pins on the device (for linking into audio routes): - MIC1, MIC2, DMICL, DMICR, IN1, IN2, IN3, IN4, IN5, IN6, IN12, IN34, IN56, - HPL, HPR, SPKL, SPKR, RCVL, RCVR, MICBIAS - -allOf: - - $ref: dai-common.yaml# - -properties: - compatible: - enum: - - maxim,max98090 - - maxim,max98091 - - reg: - maxItems: 1 - - clocks: - items: - - description: master clock - - clock-names: - items: - - const: mclk - - interrupts: - maxItems: 1 - - maxim,dmic-freq: - $ref: /schemas/types.yaml#/definitions/uint32 - default: 2500000 - description: - DMIC clock frequency - - maxim,micbias: - $ref: /schemas/types.yaml#/definitions/uint32 - enum: [ 0, 1, 2, 3 ] - default: 3 - description: | - Micbias voltage applied to the analog mic, valid voltages value are: - 0 - 2.2v - 1 - 2.55v - 2 - 2.4v - 3 - 2.8v - - '#sound-dai-cells': - const: 0 - -required: - - compatible - - reg - - interrupts - -unevaluatedProperties: false - -examples: - - | - #include - - i2c { - #address-cells = <1>; - #size-cells = <0>; - - audio-codec@10 { - compatible = "maxim,max98090"; - reg = <0x10>; - interrupt-parent = <&gpx3>; - interrupts = <2 IRQ_TYPE_EDGE_FALLING>; - clocks = <&i2s0 0>; - clock-names = "mclk"; - #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,max98090.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Maxim Integrated MAX98090/MAX98091 audio codecs + +maintainers: + - Krzysztof Kozlowski + +description: | + Pins on the device (for linking into audio routes): + MIC1, MIC2, DMICL, DMICR, IN1, IN2, IN3, IN4, IN5, IN6, IN12, IN34, IN56, + HPL, HPR, SPKL, SPKR, RCVL, RCVR, MICBIAS + +allOf: + - $ref: dai-common.yaml# + +properties: + compatible: + enum: + - maxim,max98090 + - maxim,max98091 + + reg: + maxItems: 1 + + clocks: + items: + - description: master clock + + clock-names: + items: + - const: mclk + + interrupts: + maxItems: 1 + + maxim,dmic-freq: + $ref: /schemas/types.yaml#/definitions/uint32 + default: 2500000 + description: + DMIC clock frequency + + maxim,micbias: + $ref: /schemas/types.yaml#/definitions/uint32 + enum: [ 0, 1, 2, 3 ] + default: 3 + description: | + Micbias voltage applied to the analog mic, valid voltages value are: + 0 - 2.2v + 1 - 2.55v + 2 - 2.4v + 3 - 2.8v + + '#sound-dai-cells': + const: 0 + +required: + - compatible + - reg + - interrupts + +unevaluatedProperties: false + +examples: + - | + #include + + i2c { + #address-cells = <1>; + #size-cells = <0>; + + audio-codec@10 { + compatible = "maxim,max98090"; + reg = <0x10>; + interrupt-parent = <&gpx3>; + interrupts = <2 IRQ_TYPE_EDGE_FALLING>; + clocks = <&i2s0 0>; + clock-names = "mclk"; + #sound-dai-cells = <0>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/mediatek,mt2701-wm8960.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/mediatek,mt2701-wm8960.yaml index 51d657eeb6..cf985461a9 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/mediatek,mt2701-wm8960.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/mediatek,mt2701-wm8960.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/mediatek,mt2701-wm8960.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: MediaTek MT2701 with WM8960 CODEC - -maintainers: - - Kartik Agarwala - -properties: - compatible: - const: mediatek,mt2701-wm8960-machine - - mediatek,platform: - $ref: /schemas/types.yaml#/definitions/phandle - description: The phandle of MT2701 ASoC platform. - - audio-routing: - $ref: /schemas/types.yaml#/definitions/non-unique-string-array - description: - A list of the connections between audio components. Each entry is a - pair of strings, the first being the connection's sink, the second - being the connection's source. - - mediatek,audio-codec: - $ref: /schemas/types.yaml#/definitions/phandle - description: The phandle of the WM8960 audio codec. - -unevaluatedProperties: false - -required: - - compatible - - mediatek,platform - - audio-routing - - mediatek,audio-codec - - pinctrl-names - - pinctrl-0 - -examples: - - | - sound { - compatible = "mediatek,mt2701-wm8960-machine"; - mediatek,platform = <&afe>; - audio-routing = - "Headphone", "HP_L", - "Headphone", "HP_R", - "LINPUT1", "AMIC", - "RINPUT1", "AMIC"; - mediatek,audio-codec = <&wm8960>; - pinctrl-names = "default"; - pinctrl-0 = <&aud_pins_default>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/mediatek,mt2701-wm8960.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: MediaTek MT2701 with WM8960 CODEC + +maintainers: + - Kartik Agarwala + +properties: + compatible: + const: mediatek,mt2701-wm8960-machine + + mediatek,platform: + $ref: /schemas/types.yaml#/definitions/phandle + description: The phandle of MT2701 ASoC platform. + + audio-routing: + $ref: /schemas/types.yaml#/definitions/non-unique-string-array + description: + A list of the connections between audio components. Each entry is a + pair of strings, the first being the connection's sink, the second + being the connection's source. + + mediatek,audio-codec: + $ref: /schemas/types.yaml#/definitions/phandle + description: The phandle of the WM8960 audio codec. + +unevaluatedProperties: false + +required: + - compatible + - mediatek,platform + - audio-routing + - mediatek,audio-codec + - pinctrl-names + - pinctrl-0 + +examples: + - | + sound { + compatible = "mediatek,mt2701-wm8960-machine"; + mediatek,platform = <&afe>; + audio-routing = + "Headphone", "HP_L", + "Headphone", "HP_R", + "LINPUT1", "AMIC", + "RINPUT1", "AMIC"; + mediatek,audio-codec = <&wm8960>; + pinctrl-names = "default"; + pinctrl-0 = <&aud_pins_default>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/microchip,sama7g5-spdifrx.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/microchip,sama7g5-spdifrx.yaml index aa367c7a8c..7fbab5871b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/microchip,sama7g5-spdifrx.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/microchip,sama7g5-spdifrx.yaml @@ -1,76 +1,76 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/microchip,sama7g5-spdifrx.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Microchip S/PDIF Rx Controller - -maintainers: - - Codrin Ciubotariu - -description: - The Microchip Sony/Philips Digital Interface Receiver is a serial port - compliant with the IEC-60958 standard. - -allOf: - - $ref: dai-common.yaml# - -properties: - "#sound-dai-cells": - const: 0 - - compatible: - const: microchip,sama7g5-spdifrx - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - items: - - description: Peripheral Bus Clock - - description: Generic Clock - - clock-names: - items: - - const: pclk - - const: gclk - - dmas: - description: RX DMA Channel - maxItems: 1 - - dma-names: - const: rx - -required: - - "#sound-dai-cells" - - compatible - - reg - - interrupts - - clocks - - clock-names - - dmas - - dma-names - -unevaluatedProperties: false - -examples: - - | - #include - #include - #include - - spdifrx: spdifrx@e1614000 { - #sound-dai-cells = <0>; - compatible = "microchip,sama7g5-spdifrx"; - reg = <0xe1614000 0x4000>; - interrupts = ; - dmas = <&dma0 AT91_XDMAC_DT_PERID(49)>; - dma-names = "rx"; - clocks = <&pmc PMC_TYPE_PERIPHERAL 84>, <&pmc PMC_TYPE_GCK 84>; - clock-names = "pclk", "gclk"; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/microchip,sama7g5-spdifrx.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Microchip S/PDIF Rx Controller + +maintainers: + - Codrin Ciubotariu + +description: + The Microchip Sony/Philips Digital Interface Receiver is a serial port + compliant with the IEC-60958 standard. + +allOf: + - $ref: dai-common.yaml# + +properties: + "#sound-dai-cells": + const: 0 + + compatible: + const: microchip,sama7g5-spdifrx + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + items: + - description: Peripheral Bus Clock + - description: Generic Clock + + clock-names: + items: + - const: pclk + - const: gclk + + dmas: + description: RX DMA Channel + maxItems: 1 + + dma-names: + const: rx + +required: + - "#sound-dai-cells" + - compatible + - reg + - interrupts + - clocks + - clock-names + - dmas + - dma-names + +unevaluatedProperties: false + +examples: + - | + #include + #include + #include + + spdifrx: spdifrx@e1614000 { + #sound-dai-cells = <0>; + compatible = "microchip,sama7g5-spdifrx"; + reg = <0xe1614000 0x4000>; + interrupts = ; + dmas = <&dma0 AT91_XDMAC_DT_PERID(49)>; + dma-names = "rx"; + clocks = <&pmc PMC_TYPE_PERIPHERAL 84>, <&pmc PMC_TYPE_GCK 84>; + clock-names = "pclk", "gclk"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/microchip,sama7g5-spdiftx.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/microchip,sama7g5-spdiftx.yaml index d3e969bf2a..4702c52870 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/microchip,sama7g5-spdiftx.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/microchip,sama7g5-spdiftx.yaml @@ -1,78 +1,78 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/microchip,sama7g5-spdiftx.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Microchip S/PDIF Tx Controller - -maintainers: - - Codrin Ciubotariu - -description: - The Microchip Sony/Philips Digital Interface Transmitter is a serial port - compliant with the IEC-60958 standard. - -allOf: - - $ref: dai-common.yaml# - -properties: - "#sound-dai-cells": - const: 0 - - compatible: - const: microchip,sama7g5-spdiftx - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - items: - - description: Peripheral Bus Clock - - description: Generic Clock - - clock-names: - items: - - const: pclk - - const: gclk - - dmas: - description: TX DMA Channel - maxItems: 1 - - dma-names: - const: tx - -required: - - "#sound-dai-cells" - - compatible - - reg - - interrupts - - clocks - - clock-names - - dmas - - dma-names - -unevaluatedProperties: false - -examples: - - | - #include - #include - #include - - spdiftx@e1618000 { - #sound-dai-cells = <0>; - compatible = "microchip,sama7g5-spdiftx"; - reg = <0xe1618000 0x4000>; - interrupts = ; - dmas = <&dma0 AT91_XDMAC_DT_PERID(50)>; - dma-names = "tx"; - clocks = <&pmc PMC_TYPE_PERIPHERAL 85>, <&pmc PMC_TYPE_GCK 85>; - clock-names = "pclk", "gclk"; - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_spdiftx_default>; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/microchip,sama7g5-spdiftx.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Microchip S/PDIF Tx Controller + +maintainers: + - Codrin Ciubotariu + +description: + The Microchip Sony/Philips Digital Interface Transmitter is a serial port + compliant with the IEC-60958 standard. + +allOf: + - $ref: dai-common.yaml# + +properties: + "#sound-dai-cells": + const: 0 + + compatible: + const: microchip,sama7g5-spdiftx + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + items: + - description: Peripheral Bus Clock + - description: Generic Clock + + clock-names: + items: + - const: pclk + - const: gclk + + dmas: + description: TX DMA Channel + maxItems: 1 + + dma-names: + const: tx + +required: + - "#sound-dai-cells" + - compatible + - reg + - interrupts + - clocks + - clock-names + - dmas + - dma-names + +unevaluatedProperties: false + +examples: + - | + #include + #include + #include + + spdiftx@e1618000 { + #sound-dai-cells = <0>; + compatible = "microchip,sama7g5-spdiftx"; + reg = <0xe1618000 0x4000>; + interrupts = ; + dmas = <&dma0 AT91_XDMAC_DT_PERID(50)>; + dma-names = "tx"; + clocks = <&pmc PMC_TYPE_PERIPHERAL 85>, <&pmc PMC_TYPE_GCK 85>; + clock-names = "pclk", "gclk"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_spdiftx_default>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/mscc,zl38060.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/mscc,zl38060.yaml index 91f8bcafdd..994313fd12 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/mscc,zl38060.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/mscc,zl38060.yaml @@ -1,72 +1,72 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/mscc,zl38060.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: ZL38060 Connected Home Audio Processor from Microsemi. - -description: | - The ZL38060 is a "Connected Home Audio Processor" from Microsemi, - which consists of a Digital Signal Processor (DSP), several Digital - Audio Interfaces (DAIs), analog outputs, and a block of 14 GPIOs. - -maintainers: - - Jaroslav Kysela - - Takashi Iwai - -allOf: - - $ref: dai-common.yaml# - -properties: - compatible: - const: mscc,zl38060 - - reg: - description: - SPI device address. - maxItems: 1 - - spi-max-frequency: - maximum: 24000000 - - reset-gpios: - description: - A GPIO line handling reset of the chip. As the line is active low, - it should be marked GPIO_ACTIVE_LOW (see ../gpio/gpio.txt) - maxItems: 1 - - '#gpio-cells': - const: 2 - - gpio-controller: true - - '#sound-dai-cells': - const: 0 - -required: - - compatible - - reg - - '#gpio-cells' - - gpio-controller - - '#sound-dai-cells' - -unevaluatedProperties: false - -examples: - - | - #include - spi { - #address-cells = <1>; - #size-cells = <0>; - - codec: zl38060@0 { - gpio-controller; - #gpio-cells = <2>; - #sound-dai-cells = <0>; - compatible = "mscc,zl38060"; - reg = <0>; - spi-max-frequency = <12000000>; - reset-gpios = <&gpio1 0 GPIO_ACTIVE_LOW>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/mscc,zl38060.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ZL38060 Connected Home Audio Processor from Microsemi. + +description: | + The ZL38060 is a "Connected Home Audio Processor" from Microsemi, + which consists of a Digital Signal Processor (DSP), several Digital + Audio Interfaces (DAIs), analog outputs, and a block of 14 GPIOs. + +maintainers: + - Jaroslav Kysela + - Takashi Iwai + +allOf: + - $ref: dai-common.yaml# + +properties: + compatible: + const: mscc,zl38060 + + reg: + description: + SPI device address. + maxItems: 1 + + spi-max-frequency: + maximum: 24000000 + + reset-gpios: + description: + A GPIO line handling reset of the chip. As the line is active low, + it should be marked GPIO_ACTIVE_LOW (see ../gpio/gpio.txt) + maxItems: 1 + + '#gpio-cells': + const: 2 + + gpio-controller: true + + '#sound-dai-cells': + const: 0 + +required: + - compatible + - reg + - '#gpio-cells' + - gpio-controller + - '#sound-dai-cells' + +unevaluatedProperties: false + +examples: + - | + #include + spi { + #address-cells = <1>; + #size-cells = <0>; + + codec: zl38060@0 { + gpio-controller; + #gpio-cells = <2>; + #sound-dai-cells = <0>; + compatible = "mscc,zl38060"; + reg = <0>; + spi-max-frequency = <12000000>; + reset-gpios = <&gpio1 0 GPIO_ACTIVE_LOW>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/mt2701-cs42448.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/mt2701-cs42448.txt index 2380461f34..05574446ce 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/mt2701-cs42448.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/mt2701-cs42448.txt @@ -1,43 +1,43 @@ -MT2701 with CS42448 CODEC - -Required properties: -- compatible: "mediatek,mt2701-cs42448-machine" -- mediatek,platform: the phandle of MT2701 ASoC platform -- audio-routing: a list of the connections between audio -- mediatek,audio-codec: the phandles of cs42448 codec -- mediatek,audio-codec-bt-mrg the phandles of bt-sco dummy codec -- pinctrl-names: Should contain only one value - "default" -- pinctrl-0: Should specify pin control groups used for this controller. -- i2s1-in-sel-gpio1, i2s1-in-sel-gpio2: Should specify two gpio pins to - control I2S1-in mux. - -Example: - - sound:sound { - compatible = "mediatek,mt2701-cs42448-machine"; - mediatek,platform = <&afe>; - /* CS42448 Machine name */ - audio-routing = - "Line Out Jack", "AOUT1L", - "Line Out Jack", "AOUT1R", - "Line Out Jack", "AOUT2L", - "Line Out Jack", "AOUT2R", - "Line Out Jack", "AOUT3L", - "Line Out Jack", "AOUT3R", - "Line Out Jack", "AOUT4L", - "Line Out Jack", "AOUT4R", - "AIN1L", "AMIC", - "AIN1R", "AMIC", - "AIN2L", "Tuner In", - "AIN2R", "Tuner In", - "AIN3L", "Satellite Tuner In", - "AIN3R", "Satellite Tuner In", - "AIN3L", "AUX In", - "AIN3R", "AUX In"; - mediatek,audio-codec = <&cs42448>; - mediatek,audio-codec-bt-mrg = <&bt_sco_codec>; - pinctrl-names = "default"; - pinctrl-0 = <&aud_pins_default>; - i2s1-in-sel-gpio1 = <&pio 53 0>; - i2s1-in-sel-gpio2 = <&pio 54 0>; - }; +MT2701 with CS42448 CODEC + +Required properties: +- compatible: "mediatek,mt2701-cs42448-machine" +- mediatek,platform: the phandle of MT2701 ASoC platform +- audio-routing: a list of the connections between audio +- mediatek,audio-codec: the phandles of cs42448 codec +- mediatek,audio-codec-bt-mrg the phandles of bt-sco dummy codec +- pinctrl-names: Should contain only one value - "default" +- pinctrl-0: Should specify pin control groups used for this controller. +- i2s1-in-sel-gpio1, i2s1-in-sel-gpio2: Should specify two gpio pins to + control I2S1-in mux. + +Example: + + sound:sound { + compatible = "mediatek,mt2701-cs42448-machine"; + mediatek,platform = <&afe>; + /* CS42448 Machine name */ + audio-routing = + "Line Out Jack", "AOUT1L", + "Line Out Jack", "AOUT1R", + "Line Out Jack", "AOUT2L", + "Line Out Jack", "AOUT2R", + "Line Out Jack", "AOUT3L", + "Line Out Jack", "AOUT3R", + "Line Out Jack", "AOUT4L", + "Line Out Jack", "AOUT4R", + "AIN1L", "AMIC", + "AIN1R", "AMIC", + "AIN2L", "Tuner In", + "AIN2R", "Tuner In", + "AIN3L", "Satellite Tuner In", + "AIN3R", "Satellite Tuner In", + "AIN3L", "AUX In", + "AIN3R", "AUX In"; + mediatek,audio-codec = <&cs42448>; + mediatek,audio-codec-bt-mrg = <&bt_sco_codec>; + pinctrl-names = "default"; + pinctrl-0 = <&aud_pins_default>; + i2s1-in-sel-gpio1 = <&pio 53 0>; + i2s1-in-sel-gpio2 = <&pio 54 0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/mt6359.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/mt6359.yaml index b7f2708b0e..128698630c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/mt6359.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/mt6359.yaml @@ -1,61 +1,61 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/mt6359.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Mediatek MT6359 Codec - -maintainers: - - Eason Yen - - Jiaxin Yu - - Shane Chien - -description: | - The communication between MT6359 and SoC is through Mediatek PMIC wrapper. - For more detail, please visit Mediatek PMIC wrapper documentation. - Must be a child node of PMIC wrapper. - -properties: - mediatek,dmic-mode: - $ref: /schemas/types.yaml#/definitions/uint32 - description: | - 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. - enum: - - 0 # two wires - - 1 # one wire - - mediatek,mic-type-0: - $ref: /schemas/types.yaml#/definitions/uint32 - description: | - Specifies the type of mic type connected to adc0 - - enum: - - 0 # IDLE - mic in turn-off status - - 1 # ACC - analog mic with alternating coupling - - 2 # DMIC - digital mic - - 3 # DCC - analog mic with direct couping - - 4 # DCC_ECM_DIFF - analog electret condenser mic with differential mode - - 5 # DCC_ECM_SINGLE - analog electret condenser mic with single mode - - mediatek,mic-type-1: - $ref: /schemas/types.yaml#/definitions/uint32 - description: | - Specifies the type of mic type connected to adc1 - - mediatek,mic-type-2: - $ref: /schemas/types.yaml#/definitions/uint32 - description: | - Specifies the type of mic type connected to adc2 - -additionalProperties: false - -examples: - - | - mt6359codec: audio-codec { - mediatek,dmic-mode = <0>; - mediatek,mic-type-0 = <2>; - }; - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/mt6359.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Mediatek MT6359 Codec + +maintainers: + - Eason Yen + - Jiaxin Yu + - Shane Chien + +description: | + The communication between MT6359 and SoC is through Mediatek PMIC wrapper. + For more detail, please visit Mediatek PMIC wrapper documentation. + Must be a child node of PMIC wrapper. + +properties: + mediatek,dmic-mode: + $ref: /schemas/types.yaml#/definitions/uint32 + description: | + 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. + enum: + - 0 # two wires + - 1 # one wire + + mediatek,mic-type-0: + $ref: /schemas/types.yaml#/definitions/uint32 + description: | + Specifies the type of mic type connected to adc0 + + enum: + - 0 # IDLE - mic in turn-off status + - 1 # ACC - analog mic with alternating coupling + - 2 # DMIC - digital mic + - 3 # DCC - analog mic with direct couping + - 4 # DCC_ECM_DIFF - analog electret condenser mic with differential mode + - 5 # DCC_ECM_SINGLE - analog electret condenser mic with single mode + + mediatek,mic-type-1: + $ref: /schemas/types.yaml#/definitions/uint32 + description: | + Specifies the type of mic type connected to adc1 + + mediatek,mic-type-2: + $ref: /schemas/types.yaml#/definitions/uint32 + description: | + Specifies the type of mic type connected to adc2 + +additionalProperties: false + +examples: + - | + mt6359codec: audio-codec { + mediatek,dmic-mode = <0>; + mediatek,mic-type-0 = <2>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/mvebu-audio.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/mvebu-audio.txt index 70dbdc8b47..4f5dec5cb3 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/mvebu-audio.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/mvebu-audio.txt @@ -1,46 +1,46 @@ -* mvebu (Kirkwood, Dove, Armada 370) audio controller - -Required properties: - -- compatible: - "marvell,kirkwood-audio" for Kirkwood platforms - "marvell,dove-audio" for Dove platforms - "marvell,armada370-audio" for Armada 370 platforms - "marvell,armada-380-audio" for Armada 38x platforms - -- reg: physical base address of the controller and length of memory mapped - region (named "i2s_regs"). - With "marvell,armada-380-audio" two other regions are required: - first of those is dedicated for Audio PLL Configuration registers - (named "pll_regs") and the second one ("soc_ctrl") - for register - where one of exceptive I/O types (I2S or S/PDIF) is set. - -- interrupts: - with "marvell,kirkwood-audio", the audio interrupt - with "marvell,dove-audio", a list of two interrupts, the first for - the data flow, and the second for errors. - -- clocks: one or two phandles. - The first one is mandatory and defines the internal clock. - The second one is optional and defines an external clock. - -- clock-names: names associated to the clocks: - "internal" for the internal clock - "extclk" for the external clock - -Optional properties: - -- spdif-mode: - Enable S/PDIF mode on Armada 38x SoC. Using this property - disables standard I2S I/O. Valid only with "marvell,armada-380-audio" - compatible string. - -Example: - -i2s1: audio-controller@b4000 { - compatible = "marvell,dove-audio"; - reg = <0xb4000 0x2210>; - interrupts = <21>, <22>; - clocks = <&gate_clk 13>; - clock-names = "internal"; -}; +* mvebu (Kirkwood, Dove, Armada 370) audio controller + +Required properties: + +- compatible: + "marvell,kirkwood-audio" for Kirkwood platforms + "marvell,dove-audio" for Dove platforms + "marvell,armada370-audio" for Armada 370 platforms + "marvell,armada-380-audio" for Armada 38x platforms + +- reg: physical base address of the controller and length of memory mapped + region (named "i2s_regs"). + With "marvell,armada-380-audio" two other regions are required: + first of those is dedicated for Audio PLL Configuration registers + (named "pll_regs") and the second one ("soc_ctrl") - for register + where one of exceptive I/O types (I2S or S/PDIF) is set. + +- interrupts: + with "marvell,kirkwood-audio", the audio interrupt + with "marvell,dove-audio", a list of two interrupts, the first for + the data flow, and the second for errors. + +- clocks: one or two phandles. + The first one is mandatory and defines the internal clock. + The second one is optional and defines an external clock. + +- clock-names: names associated to the clocks: + "internal" for the internal clock + "extclk" for the external clock + +Optional properties: + +- spdif-mode: + Enable S/PDIF mode on Armada 38x SoC. Using this property + disables standard I2S I/O. Valid only with "marvell,armada-380-audio" + compatible string. + +Example: + +i2s1: audio-controller@b4000 { + compatible = "marvell,dove-audio"; + reg = <0xb4000 0x2210>; + interrupts = <21>, <22>; + clocks = <&gate_clk 13>; + clock-names = "internal"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/nvidia,tegra20-ac97.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/nvidia,tegra20-ac97.yaml index 1ad585fc65..4ea0a303d9 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/nvidia,tegra20-ac97.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/nvidia,tegra20-ac97.yaml @@ -1,82 +1,82 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/nvidia,tegra20-ac97.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: NVIDIA Tegra20 AC97 controller - -maintainers: - - Thierry Reding - - Jon Hunter - -properties: - compatible: - const: nvidia,tegra20-ac97 - - reg: - maxItems: 1 - - resets: - maxItems: 1 - - reset-names: - const: ac97 - - interrupts: - maxItems: 1 - - clocks: - maxItems: 1 - - dmas: - maxItems: 2 - - dma-names: - items: - - const: rx - - const: tx - - nvidia,codec-reset-gpios: - description: Reset pin of external AC97 codec - maxItems: 1 - - nvidia,codec-sync-gpios: - description: AC97 DAP _FS line - maxItems: 1 - -required: - - compatible - - reg - - resets - - reset-names - - interrupts - - clocks - - dmas - - dma-names - - nvidia,codec-reset-gpios - - nvidia,codec-sync-gpios - -additionalProperties: false - -examples: - - | - #include - #include - #include - #include - #include - - ac97@70002000 { - compatible = "nvidia,tegra20-ac97"; - reg = <0x70002000 0x200>; - resets = <&tegra_car 3>; - reset-names = "ac97"; - interrupts = ; - clocks = <&tegra_car 3>; - dmas = <&apbdma 12>, <&apbdma 12>; - dma-names = "rx", "tx"; - nvidia,codec-reset-gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_HIGH>; - nvidia,codec-sync-gpios = <&gpio TEGRA_GPIO(P, 0) GPIO_ACTIVE_HIGH>; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/nvidia,tegra20-ac97.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NVIDIA Tegra20 AC97 controller + +maintainers: + - Thierry Reding + - Jon Hunter + +properties: + compatible: + const: nvidia,tegra20-ac97 + + reg: + maxItems: 1 + + resets: + maxItems: 1 + + reset-names: + const: ac97 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + + dmas: + maxItems: 2 + + dma-names: + items: + - const: rx + - const: tx + + nvidia,codec-reset-gpios: + description: Reset pin of external AC97 codec + maxItems: 1 + + nvidia,codec-sync-gpios: + description: AC97 DAP _FS line + maxItems: 1 + +required: + - compatible + - reg + - resets + - reset-names + - interrupts + - clocks + - dmas + - dma-names + - nvidia,codec-reset-gpios + - nvidia,codec-sync-gpios + +additionalProperties: false + +examples: + - | + #include + #include + #include + #include + #include + + ac97@70002000 { + compatible = "nvidia,tegra20-ac97"; + reg = <0x70002000 0x200>; + resets = <&tegra_car 3>; + reset-names = "ac97"; + interrupts = ; + clocks = <&tegra_car 3>; + dmas = <&apbdma 12>, <&apbdma 12>; + dma-names = "rx", "tx"; + nvidia,codec-reset-gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_HIGH>; + nvidia,codec-sync-gpios = <&gpio TEGRA_GPIO(P, 0) GPIO_ACTIVE_HIGH>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/nvidia,tegra20-i2s.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/nvidia,tegra20-i2s.yaml index 809cc5e7b1..68ae124eaf 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/nvidia,tegra20-i2s.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/nvidia,tegra20-i2s.yaml @@ -1,77 +1,77 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/nvidia,tegra20-i2s.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: NVIDIA Tegra20 I2S Controller - -description: | - The I2S Controller streams synchronous serial audio data between system - memory and an external audio device. The controller supports the I2S Left - Justified Mode, Right Justified Mode, and DSP mode formats. - -maintainers: - - Thierry Reding - - Jon Hunter - -properties: - compatible: - const: nvidia,tegra20-i2s - - reg: - maxItems: 1 - - resets: - maxItems: 1 - - reset-names: - const: i2s - - interrupts: - maxItems: 1 - - clocks: - minItems: 1 - - dmas: - minItems: 2 - - dma-names: - items: - - const: rx - - const: tx - - nvidia,fixed-parent-rate: - description: | - Specifies whether board prefers parent clock to stay at a fixed rate. - This allows multiple Tegra20 audio components work simultaneously by - limiting number of supportable audio rates. - type: boolean - -required: - - compatible - - reg - - resets - - reset-names - - interrupts - - clocks - - dmas - - dma-names - -additionalProperties: false - -examples: - - | - i2s@70002800 { - compatible = "nvidia,tegra20-i2s"; - reg = <0x70002800 0x200>; - interrupts = <45>; - clocks = <&tegra_car 11>; - resets = <&tegra_car 11>; - reset-names = "i2s"; - dmas = <&apbdma 21>, <&apbdma 21>; - dma-names = "rx", "tx"; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/nvidia,tegra20-i2s.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NVIDIA Tegra20 I2S Controller + +description: | + The I2S Controller streams synchronous serial audio data between system + memory and an external audio device. The controller supports the I2S Left + Justified Mode, Right Justified Mode, and DSP mode formats. + +maintainers: + - Thierry Reding + - Jon Hunter + +properties: + compatible: + const: nvidia,tegra20-i2s + + reg: + maxItems: 1 + + resets: + maxItems: 1 + + reset-names: + const: i2s + + interrupts: + maxItems: 1 + + clocks: + minItems: 1 + + dmas: + minItems: 2 + + dma-names: + items: + - const: rx + - const: tx + + nvidia,fixed-parent-rate: + description: | + Specifies whether board prefers parent clock to stay at a fixed rate. + This allows multiple Tegra20 audio components work simultaneously by + limiting number of supportable audio rates. + type: boolean + +required: + - compatible + - reg + - resets + - reset-names + - interrupts + - clocks + - dmas + - dma-names + +additionalProperties: false + +examples: + - | + i2s@70002800 { + compatible = "nvidia,tegra20-i2s"; + reg = <0x70002800 0x200>; + interrupts = <45>; + clocks = <&tegra_car 11>; + resets = <&tegra_car 11>; + reset-names = "i2s"; + dmas = <&apbdma 21>, <&apbdma 21>; + dma-names = "rx", "tx"; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/nvidia,tegra20-spdif.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/nvidia,tegra20-spdif.yaml index 9d09edadf4..dc76a4dc0e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/nvidia,tegra20-spdif.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/nvidia,tegra20-spdif.yaml @@ -1,88 +1,88 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/nvidia,tegra20-spdif.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: NVIDIA Tegra20 S/PDIF Controller - -description: | - The S/PDIF controller supports both input and output in serial audio - digital interface format. The input controller can digitally recover - a clock from the received stream. The S/PDIF controller is also used - to generate the embedded audio for HDMI output channel. - -maintainers: - - Thierry Reding - - Jon Hunter - -allOf: - - $ref: dai-common.yaml# - -properties: - compatible: - const: nvidia,tegra20-spdif - - reg: - maxItems: 1 - - resets: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - minItems: 2 - - clock-names: - items: - - const: out - - const: in - - dmas: - minItems: 2 - - dma-names: - items: - - const: rx - - const: tx - - "#sound-dai-cells": - const: 0 - - nvidia,fixed-parent-rate: - description: | - Specifies whether board prefers parent clock to stay at a fixed rate. - This allows multiple Tegra20 audio components work simultaneously by - limiting number of supportable audio rates. - type: boolean - -required: - - compatible - - reg - - resets - - interrupts - - clocks - - clock-names - - dmas - - dma-names - - "#sound-dai-cells" - -unevaluatedProperties: false - -examples: - - | - spdif@70002400 { - compatible = "nvidia,tegra20-spdif"; - reg = <0x70002400 0x200>; - interrupts = <77>; - clocks = <&clk 99>, <&clk 98>; - clock-names = "out", "in"; - resets = <&rst 10>; - dmas = <&apbdma 3>, <&apbdma 3>; - dma-names = "rx", "tx"; - #sound-dai-cells = <0>; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/nvidia,tegra20-spdif.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NVIDIA Tegra20 S/PDIF Controller + +description: | + The S/PDIF controller supports both input and output in serial audio + digital interface format. The input controller can digitally recover + a clock from the received stream. The S/PDIF controller is also used + to generate the embedded audio for HDMI output channel. + +maintainers: + - Thierry Reding + - Jon Hunter + +allOf: + - $ref: dai-common.yaml# + +properties: + compatible: + const: nvidia,tegra20-spdif + + reg: + maxItems: 1 + + resets: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + minItems: 2 + + clock-names: + items: + - const: out + - const: in + + dmas: + minItems: 2 + + dma-names: + items: + - const: rx + - const: tx + + "#sound-dai-cells": + const: 0 + + nvidia,fixed-parent-rate: + description: | + Specifies whether board prefers parent clock to stay at a fixed rate. + This allows multiple Tegra20 audio components work simultaneously by + limiting number of supportable audio rates. + type: boolean + +required: + - compatible + - reg + - resets + - interrupts + - clocks + - clock-names + - dmas + - dma-names + - "#sound-dai-cells" + +unevaluatedProperties: false + +examples: + - | + spdif@70002400 { + compatible = "nvidia,tegra20-spdif"; + reg = <0x70002400 0x200>; + interrupts = <77>; + clocks = <&clk 99>, <&clk 98>; + clock-names = "out", "in"; + resets = <&rst 10>; + dmas = <&apbdma 3>, <&apbdma 3>; + dma-names = "rx", "tx"; + #sound-dai-cells = <0>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/nvidia,tegra210-mixer.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/nvidia,tegra210-mixer.yaml index 38e4b0ed04..049898f02e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/nvidia,tegra210-mixer.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/nvidia,tegra210-mixer.yaml @@ -1,75 +1,75 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/nvidia,tegra210-mixer.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Tegra210 Mixer - -description: | - The Mixer supports mixing of up to ten 7.1 audio input streams and - generate five outputs (each of which can be any combination of the - ten input streams). - -maintainers: - - Jon Hunter - - Mohan Kumar - - Sameer Pujar - -allOf: - - $ref: dai-common.yaml# - -properties: - $nodename: - pattern: "^amixer@[0-9a-f]*$" - - compatible: - oneOf: - - const: nvidia,tegra210-amixer - - items: - - enum: - - nvidia,tegra234-amixer - - nvidia,tegra194-amixer - - nvidia,tegra186-amixer - - const: nvidia,tegra210-amixer - - reg: - maxItems: 1 - - sound-name-prefix: - pattern: "^MIXER[1-9]$" - - ports: - $ref: /schemas/graph.yaml#/properties/ports - description: | - Mixer has ten inputs and five outputs. Accordingly ACIF (Audio - Client Interfaces) port nodes are defined to represent Mixer - inputs (port 0 to 9) and outputs (port 10 to 14). These are - connected to corresponding ports on AHUB (Audio Hub). - - patternProperties: - '^port@[0-9]': - $ref: audio-graph-port.yaml# - unevaluatedProperties: false - description: Mixer ACIF input ports - '^port@[10-14]': - $ref: audio-graph-port.yaml# - unevaluatedProperties: false - description: Mixer ACIF output ports - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - - amixer@702dbb00 { - compatible = "nvidia,tegra210-amixer"; - reg = <0x702dbb00 0x800>; - sound-name-prefix = "MIXER1"; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/nvidia,tegra210-mixer.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Tegra210 Mixer + +description: | + The Mixer supports mixing of up to ten 7.1 audio input streams and + generate five outputs (each of which can be any combination of the + ten input streams). + +maintainers: + - Jon Hunter + - Mohan Kumar + - Sameer Pujar + +allOf: + - $ref: dai-common.yaml# + +properties: + $nodename: + pattern: "^amixer@[0-9a-f]*$" + + compatible: + oneOf: + - const: nvidia,tegra210-amixer + - items: + - enum: + - nvidia,tegra234-amixer + - nvidia,tegra194-amixer + - nvidia,tegra186-amixer + - const: nvidia,tegra210-amixer + + reg: + maxItems: 1 + + sound-name-prefix: + pattern: "^MIXER[1-9]$" + + ports: + $ref: /schemas/graph.yaml#/properties/ports + description: | + Mixer has ten inputs and five outputs. Accordingly ACIF (Audio + Client Interfaces) port nodes are defined to represent Mixer + inputs (port 0 to 9) and outputs (port 10 to 14). These are + connected to corresponding ports on AHUB (Audio Hub). + + patternProperties: + '^port@[0-9]': + $ref: audio-graph-port.yaml# + unevaluatedProperties: false + description: Mixer ACIF input ports + '^port@[10-14]': + $ref: audio-graph-port.yaml# + unevaluatedProperties: false + description: Mixer ACIF output ports + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + + amixer@702dbb00 { + compatible = "nvidia,tegra210-amixer"; + reg = <0x702dbb00 0x800>; + sound-name-prefix = "MIXER1"; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/nvidia,tegra210-sfc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/nvidia,tegra210-sfc.yaml index 0f47e8a72b..185ca0be4f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/nvidia,tegra210-sfc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/nvidia,tegra210-sfc.yaml @@ -1,74 +1,74 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/nvidia,tegra210-sfc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Tegra210 SFC - -description: | - The Sampling Frequency Converter (SFC) converts the sampling frequency - of the input signal from one frequency to another. It supports sampling - frequency conversions of streams of up to two channels (stereo). - -maintainers: - - Jon Hunter - - Mohan Kumar - - Sameer Pujar - -allOf: - - $ref: dai-common.yaml# - -properties: - $nodename: - pattern: "^sfc@[0-9a-f]*$" - - compatible: - oneOf: - - const: nvidia,tegra210-sfc - - items: - - enum: - - nvidia,tegra234-sfc - - nvidia,tegra194-sfc - - nvidia,tegra186-sfc - - const: nvidia,tegra210-sfc - - reg: - maxItems: 1 - - sound-name-prefix: - pattern: "^SFC[1-9]$" - - ports: - $ref: /schemas/graph.yaml#/properties/ports - properties: - port@0: - $ref: audio-graph-port.yaml# - unevaluatedProperties: false - description: | - SFC ACIF (Audio Client Interface) input port. This is connected - to corresponding ACIF output port on AHUB (Audio Hub). - - port@1: - $ref: audio-graph-port.yaml# - unevaluatedProperties: false - description: | - SFC ACIF output port. This is connected to corresponding ACIF - input port on AHUB. - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - - sfc@702d2000 { - compatible = "nvidia,tegra210-sfc"; - reg = <0x702d2000 0x200>; - sound-name-prefix = "SFC1"; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/nvidia,tegra210-sfc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Tegra210 SFC + +description: | + The Sampling Frequency Converter (SFC) converts the sampling frequency + of the input signal from one frequency to another. It supports sampling + frequency conversions of streams of up to two channels (stereo). + +maintainers: + - Jon Hunter + - Mohan Kumar + - Sameer Pujar + +allOf: + - $ref: dai-common.yaml# + +properties: + $nodename: + pattern: "^sfc@[0-9a-f]*$" + + compatible: + oneOf: + - const: nvidia,tegra210-sfc + - items: + - enum: + - nvidia,tegra234-sfc + - nvidia,tegra194-sfc + - nvidia,tegra186-sfc + - const: nvidia,tegra210-sfc + + reg: + maxItems: 1 + + sound-name-prefix: + pattern: "^SFC[1-9]$" + + ports: + $ref: /schemas/graph.yaml#/properties/ports + properties: + port@0: + $ref: audio-graph-port.yaml# + unevaluatedProperties: false + description: | + SFC ACIF (Audio Client Interface) input port. This is connected + to corresponding ACIF output port on AHUB (Audio Hub). + + port@1: + $ref: audio-graph-port.yaml# + unevaluatedProperties: false + description: | + SFC ACIF output port. This is connected to corresponding ACIF + input port on AHUB. + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + + sfc@702d2000 { + compatible = "nvidia,tegra210-sfc"; + reg = <0x702d2000 0x200>; + sound-name-prefix = "SFC1"; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/nxp,lpc3220-i2s.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/nxp,lpc3220-i2s.yaml index d1a220d380..40a0877a8a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/nxp,lpc3220-i2s.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/nxp,lpc3220-i2s.yaml @@ -1,73 +1,73 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/nxp,lpc3220-i2s.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: NXP LPC32XX I2S Controller - -description: - The I2S controller in LPC32XX SoCs, ASoC DAI. - -maintainers: - - J.M.B. Downing - - Piotr Wojtaszczyk - -allOf: - - $ref: dai-common.yaml# - -properties: - compatible: - enum: - - nxp,lpc3220-i2s - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - items: - - description: input clock of the peripheral. - - dmas: - items: - - description: RX DMA Channel - - description: TX DMA Channel - - dma-names: - items: - - const: rx - - const: tx - - "#sound-dai-cells": - const: 0 - -required: - - compatible - - reg - - interrupts - - clocks - - dmas - - dma-names - - '#sound-dai-cells' - -additionalProperties: false - -examples: - - | - #include - #include - - i2s@20094000 { - compatible = "nxp,lpc3220-i2s"; - reg = <0x20094000 0x1000>; - interrupts = <22 IRQ_TYPE_LEVEL_HIGH>; - clocks = <&clk LPC32XX_CLK_I2S0>; - dmas = <&dma 0 1>, <&dma 13 1>; - dma-names = "rx", "tx"; - #sound-dai-cells = <0>; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/nxp,lpc3220-i2s.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NXP LPC32XX I2S Controller + +description: + The I2S controller in LPC32XX SoCs, ASoC DAI. + +maintainers: + - J.M.B. Downing + - Piotr Wojtaszczyk + +allOf: + - $ref: dai-common.yaml# + +properties: + compatible: + enum: + - nxp,lpc3220-i2s + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + items: + - description: input clock of the peripheral. + + dmas: + items: + - description: RX DMA Channel + - description: TX DMA Channel + + dma-names: + items: + - const: rx + - const: tx + + "#sound-dai-cells": + const: 0 + +required: + - compatible + - reg + - interrupts + - clocks + - dmas + - dma-names + - '#sound-dai-cells' + +additionalProperties: false + +examples: + - | + #include + #include + + i2s@20094000 { + compatible = "nxp,lpc3220-i2s"; + reg = <0x20094000 0x1000>; + interrupts = <22 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&clk LPC32XX_CLK_I2S0>; + dmas = <&dma 0 1>, <&dma 13 1>; + dma-names = "rx", "tx"; + #sound-dai-cells = <0>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/qcom,q6afe.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/qcom,q6afe.yaml index 29732f3d01..297aa362aa 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/qcom,q6afe.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/qcom,q6afe.yaml @@ -1,68 +1,68 @@ -# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/qcom,q6afe.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm Audio FrontEnd (Q6AFE) - -maintainers: - - Krzysztof Kozlowski - - Srinivas Kandagatla - -allOf: - - $ref: /schemas/soc/qcom/qcom,apr-services.yaml# - -properties: - compatible: - enum: - - qcom,q6afe - - clock-controller: - $ref: /schemas/sound/qcom,q6dsp-lpass-clocks.yaml# - unevaluatedProperties: false - description: Qualcomm DSP LPASS clock controller - - dais: - type: object - $ref: /schemas/sound/qcom,q6dsp-lpass-ports.yaml# - unevaluatedProperties: false - description: Qualcomm DSP audio ports - -required: - - compatible - - dais - -unevaluatedProperties: false - -examples: - - | - #include - #include - apr { - #address-cells = <1>; - #size-cells = <0>; - - service@4 { - compatible = "qcom,q6afe"; - reg = ; - qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd"; - - clock-controller { - compatible = "qcom,q6afe-clocks"; - #clock-cells = <2>; - }; - - dais { - compatible = "qcom,q6afe-dais"; - #address-cells = <1>; - #size-cells = <0>; - #sound-dai-cells = <1>; - - dai@22 { - reg = ; - qcom,sd-lines = <0 1 2 3>; - }; - }; - }; - }; +# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/qcom,q6afe.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Audio FrontEnd (Q6AFE) + +maintainers: + - Krzysztof Kozlowski + - Srinivas Kandagatla + +allOf: + - $ref: /schemas/soc/qcom/qcom,apr-services.yaml# + +properties: + compatible: + enum: + - qcom,q6afe + + clock-controller: + $ref: /schemas/sound/qcom,q6dsp-lpass-clocks.yaml# + unevaluatedProperties: false + description: Qualcomm DSP LPASS clock controller + + dais: + type: object + $ref: /schemas/sound/qcom,q6dsp-lpass-ports.yaml# + unevaluatedProperties: false + description: Qualcomm DSP audio ports + +required: + - compatible + - dais + +unevaluatedProperties: false + +examples: + - | + #include + #include + apr { + #address-cells = <1>; + #size-cells = <0>; + + service@4 { + compatible = "qcom,q6afe"; + reg = ; + qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd"; + + clock-controller { + compatible = "qcom,q6afe-clocks"; + #clock-cells = <2>; + }; + + dais { + compatible = "qcom,q6afe-dais"; + #address-cells = <1>; + #size-cells = <0>; + #sound-dai-cells = <1>; + + dai@22 { + reg = ; + qcom,sd-lines = <0 1 2 3>; + }; + }; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/qcom,q6apm.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/qcom,q6apm.yaml index 38e017d4af..ef1965aca2 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/qcom,q6apm.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/qcom,q6apm.yaml @@ -1,68 +1,68 @@ -# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/qcom,q6apm.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm Audio Process Manager (Q6APM) - -maintainers: - - Krzysztof Kozlowski - - Srinivas Kandagatla - -allOf: - - $ref: dai-common.yaml# - - $ref: /schemas/soc/qcom/qcom,apr-services.yaml# - -properties: - compatible: - enum: - - qcom,q6apm - - bedais: - type: object - $ref: /schemas/sound/qcom,q6apm-lpass-dais.yaml# - unevaluatedProperties: false - description: Qualcomm DSP audio ports - - dais: - type: object - $ref: /schemas/sound/qcom,q6apm-dai.yaml# - unevaluatedProperties: false - description: Qualcomm DSP audio ports - - '#sound-dai-cells': - const: 0 - -required: - - compatible - - bedais - - dais - -unevaluatedProperties: false - -examples: - - | - #include - - gpr { - #address-cells = <1>; - #size-cells = <0>; - - service@1 { - reg = ; - compatible = "qcom,q6apm"; - #sound-dai-cells = <0>; - qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd"; - - dais { - compatible = "qcom,q6apm-dais"; - iommus = <&apps_smmu 0x1801 0x0>; - }; - - bedais { - 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.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Audio Process Manager (Q6APM) + +maintainers: + - Krzysztof Kozlowski + - Srinivas Kandagatla + +allOf: + - $ref: dai-common.yaml# + - $ref: /schemas/soc/qcom/qcom,apr-services.yaml# + +properties: + compatible: + enum: + - qcom,q6apm + + bedais: + type: object + $ref: /schemas/sound/qcom,q6apm-lpass-dais.yaml# + unevaluatedProperties: false + description: Qualcomm DSP audio ports + + dais: + type: object + $ref: /schemas/sound/qcom,q6apm-dai.yaml# + unevaluatedProperties: false + description: Qualcomm DSP audio ports + + '#sound-dai-cells': + const: 0 + +required: + - compatible + - bedais + - dais + +unevaluatedProperties: false + +examples: + - | + #include + + gpr { + #address-cells = <1>; + #size-cells = <0>; + + service@1 { + reg = ; + compatible = "qcom,q6apm"; + #sound-dai-cells = <0>; + qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd"; + + dais { + compatible = "qcom,q6apm-dais"; + iommus = <&apps_smmu 0x1801 0x0>; + }; + + bedais { + compatible = "qcom,q6apm-lpass-dais"; + #sound-dai-cells = <1>; + }; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/qcom,q6asm.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/qcom,q6asm.yaml index 63a4cd4eb6..cb49f9667c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/qcom,q6asm.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/qcom,q6asm.yaml @@ -1,68 +1,68 @@ -# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/qcom,q6asm.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm Audio Stream Manager (Q6ASM) - -maintainers: - - Krzysztof Kozlowski - - Srinivas Kandagatla - -allOf: - - $ref: /schemas/soc/qcom/qcom,apr-services.yaml# - -properties: - compatible: - enum: - - qcom,q6asm - - dais: - type: object - $ref: /schemas/sound/qcom,q6asm-dais.yaml# - unevaluatedProperties: false - description: Qualcomm DSP audio ports - -required: - - compatible - - dais - -unevaluatedProperties: false - -examples: - - | - #include - - apr { - #address-cells = <1>; - #size-cells = <0>; - - service@7 { - compatible = "qcom,q6asm"; - reg = ; - qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd"; - - dais { - compatible = "qcom,q6asm-dais"; - iommus = <&apps_smmu 0x1821 0x0>; - #address-cells = <1>; - #size-cells = <0>; - #sound-dai-cells = <1>; - - dai@0 { - reg = <0>; - }; - - dai@1 { - reg = <1>; - }; - - dai@2 { - reg = <2>; - is-compress-dai; - direction = <1>; - }; - }; - }; - }; +# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/qcom,q6asm.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Audio Stream Manager (Q6ASM) + +maintainers: + - Krzysztof Kozlowski + - Srinivas Kandagatla + +allOf: + - $ref: /schemas/soc/qcom/qcom,apr-services.yaml# + +properties: + compatible: + enum: + - qcom,q6asm + + dais: + type: object + $ref: /schemas/sound/qcom,q6asm-dais.yaml# + unevaluatedProperties: false + description: Qualcomm DSP audio ports + +required: + - compatible + - dais + +unevaluatedProperties: false + +examples: + - | + #include + + apr { + #address-cells = <1>; + #size-cells = <0>; + + service@7 { + compatible = "qcom,q6asm"; + reg = ; + qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd"; + + dais { + compatible = "qcom,q6asm-dais"; + iommus = <&apps_smmu 0x1821 0x0>; + #address-cells = <1>; + #size-cells = <0>; + #sound-dai-cells = <1>; + + dai@0 { + reg = <0>; + }; + + dai@1 { + reg = <1>; + }; + + dai@2 { + reg = <2>; + is-compress-dai; + direction = <1>; + }; + }; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/qcom,q6usb.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/qcom,q6usb.yaml index 23c15e86b2..37161d2aa9 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/qcom,q6usb.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/qcom,q6usb.yaml @@ -1,55 +1,55 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/qcom,q6usb.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm ASoC DPCM USB backend DAI - -maintainers: - - Wesley Cheng - -description: - The USB port is a supported AFE path on the Q6 DSP. This ASoC DPCM - backend DAI will communicate the required settings to initialize the - XHCI host controller properly for enabling the offloaded audio stream. - Parameters defined under this node will carry settings, which will be - passed along during the QMI stream enable request and configuration of - the XHCI host controller. - -allOf: - - $ref: dai-common.yaml# - -properties: - compatible: - enum: - - qcom,q6usb - - iommus: - maxItems: 1 - - "#sound-dai-cells": - const: 1 - - qcom,usb-audio-intr-idx: - description: - Desired XHCI interrupter number to use. Depending on the audio DSP - on the platform, it will operate on a specific XHCI interrupter. - $ref: /schemas/types.yaml#/definitions/uint16 - maximum: 8 - -required: - - compatible - - "#sound-dai-cells" - - qcom,usb-audio-intr-idx - -additionalProperties: false - -examples: - - | - dais { - compatible = "qcom,q6usb"; - #sound-dai-cells = <1>; - iommus = <&apps_smmu 0x180f 0x0>; - qcom,usb-audio-intr-idx = /bits/ 16 <2>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/qcom,q6usb.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm ASoC DPCM USB backend DAI + +maintainers: + - Wesley Cheng + +description: + The USB port is a supported AFE path on the Q6 DSP. This ASoC DPCM + backend DAI will communicate the required settings to initialize the + XHCI host controller properly for enabling the offloaded audio stream. + Parameters defined under this node will carry settings, which will be + passed along during the QMI stream enable request and configuration of + the XHCI host controller. + +allOf: + - $ref: dai-common.yaml# + +properties: + compatible: + enum: + - qcom,q6usb + + iommus: + maxItems: 1 + + "#sound-dai-cells": + const: 1 + + qcom,usb-audio-intr-idx: + description: + Desired XHCI interrupter number to use. Depending on the audio DSP + on the platform, it will operate on a specific XHCI interrupter. + $ref: /schemas/types.yaml#/definitions/uint16 + maximum: 8 + +required: + - compatible + - "#sound-dai-cells" + - qcom,usb-audio-intr-idx + +additionalProperties: false + +examples: + - | + dais { + compatible = "qcom,q6usb"; + #sound-dai-cells = <1>; + iommus = <&apps_smmu 0x180f 0x0>; + qcom,usb-audio-intr-idx = /bits/ 16 <2>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/qcom,wcd938x-sdw.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/qcom,wcd938x-sdw.yaml index 85f4b385be..7b31bf93f1 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/qcom,wcd938x-sdw.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/qcom,wcd938x-sdw.yaml @@ -1,70 +1,70 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/qcom,wcd938x-sdw.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm SoundWire Slave devices on WCD9380/WCD9385 - -maintainers: - - Srinivas Kandagatla - -description: | - Qualcomm WCD9380/WCD9385 Codec is a standalone Hi-Fi audio codec IC. - It has RX and TX Soundwire slave devices. This bindings is for the - slave devices. - -properties: - compatible: - const: sdw20217010d00 - - reg: - maxItems: 1 - - qcom,tx-port-mapping: - description: | - Specifies static port mapping between slave and master tx ports. - In the order of slave port index. - $ref: /schemas/types.yaml#/definitions/uint32-array - minItems: 4 - maxItems: 4 - - qcom,rx-port-mapping: - description: | - Specifies static port mapping between slave and master rx ports. - In the order of slave port index. - $ref: /schemas/types.yaml#/definitions/uint32-array - minItems: 5 - maxItems: 5 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - soundwire@3210000 { - #address-cells = <2>; - #size-cells = <0>; - reg = <0x03210000 0x2000>; - wcd938x_rx: codec@0,4 { - compatible = "sdw20217010d00"; - reg = <0 4>; - qcom,rx-port-mapping = <1 2 3 4 5>; - }; - }; - - soundwire@3230000 { - #address-cells = <2>; - #size-cells = <0>; - reg = <0x03230000 0x2000>; - wcd938x_tx: codec@0,3 { - compatible = "sdw20217010d00"; - reg = <0 3>; - qcom,tx-port-mapping = <2 3 4 5>; - }; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/qcom,wcd938x-sdw.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm SoundWire Slave devices on WCD9380/WCD9385 + +maintainers: + - Srinivas Kandagatla + +description: | + Qualcomm WCD9380/WCD9385 Codec is a standalone Hi-Fi audio codec IC. + It has RX and TX Soundwire slave devices. This bindings is for the + slave devices. + +properties: + compatible: + const: sdw20217010d00 + + reg: + maxItems: 1 + + qcom,tx-port-mapping: + description: | + Specifies static port mapping between slave and master tx ports. + In the order of slave port index. + $ref: /schemas/types.yaml#/definitions/uint32-array + minItems: 4 + maxItems: 4 + + qcom,rx-port-mapping: + description: | + Specifies static port mapping between slave and master rx ports. + In the order of slave port index. + $ref: /schemas/types.yaml#/definitions/uint32-array + minItems: 5 + maxItems: 5 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + soundwire@3210000 { + #address-cells = <2>; + #size-cells = <0>; + reg = <0x03210000 0x2000>; + wcd938x_rx: codec@0,4 { + compatible = "sdw20217010d00"; + reg = <0 4>; + qcom,rx-port-mapping = <1 2 3 4 5>; + }; + }; + + soundwire@3230000 { + #address-cells = <2>; + #size-cells = <0>; + reg = <0x03230000 0x2000>; + wcd938x_tx: codec@0,3 { + compatible = "sdw20217010d00"; + reg = <0 3>; + qcom,tx-port-mapping = <2 3 4 5>; + }; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/qcom,wcd939x-sdw.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/qcom,wcd939x-sdw.yaml index 824e41713c..67ed7701b5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/qcom,wcd939x-sdw.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/qcom,wcd939x-sdw.yaml @@ -1,69 +1,69 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/qcom,wcd939x-sdw.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm SoundWire devices on WCD9390/WCD9395 - -maintainers: - - Srinivas Kandagatla - -description: | - Qualcomm WCD9390/WCD9395 Codec is a standalone Hi-Fi audio codec IC. - It has RX and TX Soundwire devices. This bindings is for the devices. - -properties: - compatible: - const: sdw20217010e00 - - reg: - maxItems: 1 - - qcom,tx-port-mapping: - description: | - Specifies static port mapping between device and host tx ports. - In the order of the device port index. - $ref: /schemas/types.yaml#/definitions/uint32-array - minItems: 4 - maxItems: 4 - - qcom,rx-port-mapping: - description: | - Specifies static port mapping between device and host rx ports. - In the order of device port index. - $ref: /schemas/types.yaml#/definitions/uint32-array - minItems: 6 - maxItems: 6 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - soundwire@3210000 { - #address-cells = <2>; - #size-cells = <0>; - reg = <0x03210000 0x2000>; - wcd938x_rx: codec@0,4 { - compatible = "sdw20217010e00"; - reg = <0 4>; - qcom,rx-port-mapping = <1 2 3 4 5 6>; - }; - }; - - soundwire@3230000 { - #address-cells = <2>; - #size-cells = <0>; - reg = <0x03230000 0x2000>; - wcd938x_tx: codec@0,3 { - compatible = "sdw20217010e00"; - reg = <0 3>; - qcom,tx-port-mapping = <2 3 4 5>; - }; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/qcom,wcd939x-sdw.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm SoundWire devices on WCD9390/WCD9395 + +maintainers: + - Srinivas Kandagatla + +description: | + Qualcomm WCD9390/WCD9395 Codec is a standalone Hi-Fi audio codec IC. + It has RX and TX Soundwire devices. This bindings is for the devices. + +properties: + compatible: + const: sdw20217010e00 + + reg: + maxItems: 1 + + qcom,tx-port-mapping: + description: | + Specifies static port mapping between device and host tx ports. + In the order of the device port index. + $ref: /schemas/types.yaml#/definitions/uint32-array + minItems: 4 + maxItems: 4 + + qcom,rx-port-mapping: + description: | + Specifies static port mapping between device and host rx ports. + In the order of device port index. + $ref: /schemas/types.yaml#/definitions/uint32-array + minItems: 6 + maxItems: 6 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + soundwire@3210000 { + #address-cells = <2>; + #size-cells = <0>; + reg = <0x03210000 0x2000>; + wcd938x_rx: codec@0,4 { + compatible = "sdw20217010e00"; + reg = <0 4>; + qcom,rx-port-mapping = <1 2 3 4 5 6>; + }; + }; + + soundwire@3230000 { + #address-cells = <2>; + #size-cells = <0>; + reg = <0x03230000 0x2000>; + wcd938x_tx: codec@0,3 { + compatible = "sdw20217010e00"; + reg = <0 3>; + qcom,tx-port-mapping = <2 3 4 5>; + }; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/qcom,wsa881x.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/qcom,wsa881x.yaml index e113974d2a..ac03672ebf 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/qcom,wsa881x.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/qcom,wsa881x.yaml @@ -1,71 +1,71 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/qcom,wsa881x.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm WSA8810/WSA8815 Class-D Smart Speaker Amplifier - -maintainers: - - Srinivas Kandagatla - -description: | - WSA8810 is a class-D smart speaker amplifier and WSA8815 - is a high-output power class-D smart speaker amplifier. - Their primary operating mode uses a SoundWire digital audio - interface. This binding is for SoundWire interface. - -allOf: - - $ref: dai-common.yaml# - -properties: - compatible: - const: sdw10217201000 - - reg: - maxItems: 1 - - powerdown-gpios: - description: GPIO spec for Powerdown/Shutdown line to use - maxItems: 1 - - '#thermal-sensor-cells': - const: 0 - - '#sound-dai-cells': - const: 0 - -required: - - compatible - - reg - - powerdown-gpios - - "#thermal-sensor-cells" - - "#sound-dai-cells" - -unevaluatedProperties: false - -examples: - - | - soundwire@c2d0000 { - #address-cells = <2>; - #size-cells = <0>; - reg = <0x0c2d0000 0x2000>; - - speaker@0,1 { - compatible = "sdw10217201000"; - reg = <0 1>; - powerdown-gpios = <&wcdpinctrl 2 0>; - #thermal-sensor-cells = <0>; - #sound-dai-cells = <0>; - }; - - speaker@0,2 { - compatible = "sdw10217201000"; - reg = <0 2>; - powerdown-gpios = <&wcdpinctrl 2 0>; - #thermal-sensor-cells = <0>; - #sound-dai-cells = <0>; - }; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/qcom,wsa881x.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm WSA8810/WSA8815 Class-D Smart Speaker Amplifier + +maintainers: + - Srinivas Kandagatla + +description: | + WSA8810 is a class-D smart speaker amplifier and WSA8815 + is a high-output power class-D smart speaker amplifier. + Their primary operating mode uses a SoundWire digital audio + interface. This binding is for SoundWire interface. + +allOf: + - $ref: dai-common.yaml# + +properties: + compatible: + const: sdw10217201000 + + reg: + maxItems: 1 + + powerdown-gpios: + description: GPIO spec for Powerdown/Shutdown line to use + maxItems: 1 + + '#thermal-sensor-cells': + const: 0 + + '#sound-dai-cells': + const: 0 + +required: + - compatible + - reg + - powerdown-gpios + - "#thermal-sensor-cells" + - "#sound-dai-cells" + +unevaluatedProperties: false + +examples: + - | + soundwire@c2d0000 { + #address-cells = <2>; + #size-cells = <0>; + reg = <0x0c2d0000 0x2000>; + + speaker@0,1 { + compatible = "sdw10217201000"; + reg = <0 1>; + powerdown-gpios = <&wcdpinctrl 2 0>; + #thermal-sensor-cells = <0>; + #sound-dai-cells = <0>; + }; + + speaker@0,2 { + compatible = "sdw10217201000"; + reg = <0 2>; + powerdown-gpios = <&wcdpinctrl 2 0>; + #thermal-sensor-cells = <0>; + #sound-dai-cells = <0>; + }; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/renesas,idt821034.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/renesas,idt821034.yaml index 76d1a2b86b..a2b92dba55 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/renesas,idt821034.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/renesas,idt821034.yaml @@ -1,75 +1,75 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/renesas,idt821034.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Renesas IDT821034 codec device - -maintainers: - - Herve Codina - -description: | - The IDT821034 codec is a four channel PCM codec with onchip filters and - programmable gain setting. - - The time-slots used by the codec must be set and so, the properties - 'dai-tdm-slot-num', 'dai-tdm-slot-width', 'dai-tdm-slot-tx-mask' and - 'dai-tdm-slot-rx-mask' must be present in the ALSA sound card node for - sub-nodes that involve the codec. The codec uses one 8bit time-slot per - channel. - 'dai-tdm-tdm-slot-with' must be set to 8. - - The IDT821034 codec also supports 5 gpios (SLIC signals) per channel. - -allOf: - - $ref: /schemas/spi/spi-peripheral-props.yaml# - - $ref: dai-common.yaml# - -properties: - compatible: - const: renesas,idt821034 - - reg: - description: - SPI device address. - maxItems: 1 - - spi-max-frequency: - maximum: 8192000 - - spi-cpha: true - - '#sound-dai-cells': - const: 0 - - '#gpio-cells': - const: 2 - - gpio-controller: true - -required: - - compatible - - reg - - spi-cpha - - '#sound-dai-cells' - - gpio-controller - - '#gpio-cells' - -unevaluatedProperties: false - -examples: - - | - spi { - #address-cells = <1>; - #size-cells = <0>; - audio-codec@0 { - compatible = "renesas,idt821034"; - reg = <0>; - spi-max-frequency = <8192000>; - spi-cpha; - #sound-dai-cells = <0>; - gpio-controller; - #gpio-cells = <2>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/renesas,idt821034.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Renesas IDT821034 codec device + +maintainers: + - Herve Codina + +description: | + The IDT821034 codec is a four channel PCM codec with onchip filters and + programmable gain setting. + + The time-slots used by the codec must be set and so, the properties + 'dai-tdm-slot-num', 'dai-tdm-slot-width', 'dai-tdm-slot-tx-mask' and + 'dai-tdm-slot-rx-mask' must be present in the ALSA sound card node for + sub-nodes that involve the codec. The codec uses one 8bit time-slot per + channel. + 'dai-tdm-tdm-slot-with' must be set to 8. + + The IDT821034 codec also supports 5 gpios (SLIC signals) per channel. + +allOf: + - $ref: /schemas/spi/spi-peripheral-props.yaml# + - $ref: dai-common.yaml# + +properties: + compatible: + const: renesas,idt821034 + + reg: + description: + SPI device address. + maxItems: 1 + + spi-max-frequency: + maximum: 8192000 + + spi-cpha: true + + '#sound-dai-cells': + const: 0 + + '#gpio-cells': + const: 2 + + gpio-controller: true + +required: + - compatible + - reg + - spi-cpha + - '#sound-dai-cells' + - gpio-controller + - '#gpio-cells' + +unevaluatedProperties: false + +examples: + - | + spi { + #address-cells = <1>; + #size-cells = <0>; + audio-codec@0 { + compatible = "renesas,idt821034"; + reg = <0>; + spi-max-frequency = <8192000>; + spi-cpha; + #sound-dai-cells = <0>; + gpio-controller; + #gpio-cells = <2>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/richtek,rt9120.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/richtek,rt9120.yaml index 7d3dbb76f1..a1242e8e06 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/richtek,rt9120.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/richtek,rt9120.yaml @@ -1,62 +1,62 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/richtek,rt9120.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Richtek RT9120 Class-D audio amplifier - -maintainers: - - ChiYuan Huang - -description: | - The RT9120 is a high efficiency, I2S-input, stereo audio power amplifier - delivering 2*20W into 8 Ohm BTL speaker loads. It supports the wide input - voltage range from 4.5V to 26.4V to meet the need on most common - applications like as TV, monitors. home entertainment, electronic music - equipment. - -allOf: - - $ref: dai-common.yaml# - -properties: - compatible: - enum: - - richtek,rt9120 - - reg: - description: I2C device address - maxItems: 1 - - pwdnn-gpios: - description: GPIO used for power down, low active - maxItems: 1 - - dvdd-supply: - description: | - Supply for the default on DVDD power, voltage domain must be 3P3V or 1P8V - - '#sound-dai-cells': - const: 0 - -required: - - compatible - - reg - - dvdd-supply - - '#sound-dai-cells' - -unevaluatedProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - rt9120@1a { - compatible = "richtek,rt9120"; - reg = <0x1a>; - pwdnn-gpios = <&gpio26 2 0>; - dvdd-supply = <&vdd_io_reg>; - #sound-dai-cells = <0>; - }; - }; +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/richtek,rt9120.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Richtek RT9120 Class-D audio amplifier + +maintainers: + - ChiYuan Huang + +description: | + The RT9120 is a high efficiency, I2S-input, stereo audio power amplifier + delivering 2*20W into 8 Ohm BTL speaker loads. It supports the wide input + voltage range from 4.5V to 26.4V to meet the need on most common + applications like as TV, monitors. home entertainment, electronic music + equipment. + +allOf: + - $ref: dai-common.yaml# + +properties: + compatible: + enum: + - richtek,rt9120 + + reg: + description: I2C device address + maxItems: 1 + + pwdnn-gpios: + description: GPIO used for power down, low active + maxItems: 1 + + dvdd-supply: + description: | + Supply for the default on DVDD power, voltage domain must be 3P3V or 1P8V + + '#sound-dai-cells': + const: 0 + +required: + - compatible + - reg + - dvdd-supply + - '#sound-dai-cells' + +unevaluatedProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + rt9120@1a { + compatible = "richtek,rt9120"; + reg = <0x1a>; + pwdnn-gpios = <&gpio26 2 0>; + dvdd-supply = <&vdd_io_reg>; + #sound-dai-cells = <0>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/rockchip,rk3328-codec.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/rockchip,rk3328-codec.yaml index e2c80b3045..5cdb8bcc68 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/rockchip,rk3328-codec.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/rockchip,rk3328-codec.yaml @@ -1,74 +1,74 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/rockchip,rk3328-codec.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Rockchip rk3328 internal codec - -maintainers: - - Heiko Stuebner -allOf: - - $ref: dai-common.yaml# - - -properties: - compatible: - const: rockchip,rk3328-codec - - reg: - maxItems: 1 - - clocks: - items: - - description: clock for audio codec - - description: clock for I2S master clock - - clock-names: - items: - - const: pclk - - const: mclk - - rockchip,grf: - $ref: /schemas/types.yaml#/definitions/phandle - description: - The phandle of the syscon node for the GRF register. - - spk-depop-time-ms: - default: 200 - description: - Speaker depop time in msec. - - mute-gpios: - maxItems: 1 - description: - GPIO specifier for external line driver control (typically the - dedicated GPIO_MUTE pin) - - "#sound-dai-cells": - const: 0 - -required: - - compatible - - reg - - clocks - - clock-names - - rockchip,grf - - "#sound-dai-cells" - -unevaluatedProperties: false - -examples: - - | - #include - #include - codec: codec@ff410000 { - compatible = "rockchip,rk3328-codec"; - reg = <0xff410000 0x1000>; - clocks = <&cru PCLK_ACODECPHY>, <&cru SCLK_I2S1>; - clock-names = "pclk", "mclk"; - rockchip,grf = <&grf>; - mute-gpios = <&grf_gpio 0 GPIO_ACTIVE_LOW>; - spk-depop-time-ms = <100>; - #sound-dai-cells = <0>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/rockchip,rk3328-codec.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Rockchip rk3328 internal codec + +maintainers: + - Heiko Stuebner +allOf: + - $ref: dai-common.yaml# + + +properties: + compatible: + const: rockchip,rk3328-codec + + reg: + maxItems: 1 + + clocks: + items: + - description: clock for audio codec + - description: clock for I2S master clock + + clock-names: + items: + - const: pclk + - const: mclk + + rockchip,grf: + $ref: /schemas/types.yaml#/definitions/phandle + description: + The phandle of the syscon node for the GRF register. + + spk-depop-time-ms: + default: 200 + description: + Speaker depop time in msec. + + mute-gpios: + maxItems: 1 + description: + GPIO specifier for external line driver control (typically the + dedicated GPIO_MUTE pin) + + "#sound-dai-cells": + const: 0 + +required: + - compatible + - reg + - clocks + - clock-names + - rockchip,grf + - "#sound-dai-cells" + +unevaluatedProperties: false + +examples: + - | + #include + #include + codec: codec@ff410000 { + compatible = "rockchip,rk3328-codec"; + reg = <0xff410000 0x1000>; + clocks = <&cru PCLK_ACODECPHY>, <&cru SCLK_I2S1>; + clock-names = "pclk", "mclk"; + rockchip,grf = <&grf>; + mute-gpios = <&grf_gpio 0 GPIO_ACTIVE_LOW>; + spk-depop-time-ms = <100>; + #sound-dai-cells = <0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/rohm,bd28623.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/rohm,bd28623.yaml index 5b22e13fe6..5abcf92bc4 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/rohm,bd28623.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/rohm,bd28623.yaml @@ -1,70 +1,70 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/rohm,bd28623.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: ROHM BD28623MUV Class D speaker amplifier for digital input - -description: - This codec does not have any control buses such as I2C, it detect - format and rate of I2S signal automatically. It has two signals - that can be connected to GPIOs reset and mute. - -maintainers: - - Katsuhiro Suzuki - -allOf: - - $ref: dai-common.yaml# - -properties: - compatible: - const: rohm,bd28623 - - "#sound-dai-cells": - const: 0 - - VCCA-supply: - description: - regulator phandle for the VCCA (for analog) power supply - - VCCP1-supply: - description: - regulator phandle for the VCCP1 (for ch1) power supply - - VCCP2-supply: - description: - regulator phandle for the VCCP2 (for ch2) power supply - - reset-gpios: - maxItems: 1 - description: - GPIO specifier for the active low reset line - - mute-gpios: - maxItems: 1 - description: - GPIO specifier for the active low mute line - -required: - - compatible - - VCCA-supply - - VCCP1-supply - - VCCP2-supply - - "#sound-dai-cells" - -unevaluatedProperties: false - -examples: - - | - #include - codec { - compatible = "rohm,bd28623"; - #sound-dai-cells = <0>; - - VCCA-supply = <&vcc_reg>; - VCCP1-supply = <&vcc_reg>; - VCCP2-supply = <&vcc_reg>; - reset-gpios = <&gpio 0 GPIO_ACTIVE_LOW>; - mute-gpios = <&gpio 1 GPIO_ACTIVE_LOW>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/rohm,bd28623.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ROHM BD28623MUV Class D speaker amplifier for digital input + +description: + This codec does not have any control buses such as I2C, it detect + format and rate of I2S signal automatically. It has two signals + that can be connected to GPIOs reset and mute. + +maintainers: + - Katsuhiro Suzuki + +allOf: + - $ref: dai-common.yaml# + +properties: + compatible: + const: rohm,bd28623 + + "#sound-dai-cells": + const: 0 + + VCCA-supply: + description: + regulator phandle for the VCCA (for analog) power supply + + VCCP1-supply: + description: + regulator phandle for the VCCP1 (for ch1) power supply + + VCCP2-supply: + description: + regulator phandle for the VCCP2 (for ch2) power supply + + reset-gpios: + maxItems: 1 + description: + GPIO specifier for the active low reset line + + mute-gpios: + maxItems: 1 + description: + GPIO specifier for the active low mute line + +required: + - compatible + - VCCA-supply + - VCCP1-supply + - VCCP2-supply + - "#sound-dai-cells" + +unevaluatedProperties: false + +examples: + - | + #include + codec { + compatible = "rohm,bd28623"; + #sound-dai-cells = <0>; + + VCCA-supply = <&vcc_reg>; + VCCP1-supply = <&vcc_reg>; + VCCP2-supply = <&vcc_reg>; + reset-gpios = <&gpio 0 GPIO_ACTIVE_LOW>; + mute-gpios = <&gpio 1 GPIO_ACTIVE_LOW>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/samsung,snow.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/samsung,snow.yaml index 69d677e816..3d49aa4c9b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/samsung,snow.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/samsung,snow.yaml @@ -1,76 +1,76 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/samsung,snow.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Google Snow audio complex with MAX9809x codec - -maintainers: - - Krzysztof Kozlowski - - Sylwester Nawrocki - -properties: - compatible: - enum: - - google,snow-audio-max98090 - - google,snow-audio-max98091 - - google,snow-audio-max98095 - - codec: - type: object - additionalProperties: false - properties: - sound-dai: - description: List of phandles to the CODEC and HDMI IP nodes. - items: - - description: Phandle to the MAX98090, MAX98091 or MAX98095 CODEC. - - description: Phandle to the HDMI IP block node. - required: - - sound-dai - - cpu: - type: object - additionalProperties: false - properties: - sound-dai: - description: Phandle to the Samsung I2S controller. - maxItems: 1 - required: - - sound-dai - - samsung,audio-codec: - description: Phandle to the audio codec. - $ref: /schemas/types.yaml#/definitions/phandle - deprecated: true - - samsung,i2s-controller: - description: Phandle to the Samsung I2S controller. - $ref: /schemas/types.yaml#/definitions/phandle - deprecated: true - - samsung,model: - description: The user-visible name of this sound complex. - $ref: /schemas/types.yaml#/definitions/string - -required: - - compatible - - codec - - cpu - -additionalProperties: false - -examples: - - | - sound { - compatible = "google,snow-audio-max98095"; - samsung,model = "Snow-I2S-MAX98095"; - - cpu { - sound-dai = <&i2s0 0>; - }; - - codec { - sound-dai = <&max98095 0>, <&hdmi>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/samsung,snow.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Google Snow audio complex with MAX9809x codec + +maintainers: + - Krzysztof Kozlowski + - Sylwester Nawrocki + +properties: + compatible: + enum: + - google,snow-audio-max98090 + - google,snow-audio-max98091 + - google,snow-audio-max98095 + + codec: + type: object + additionalProperties: false + properties: + sound-dai: + description: List of phandles to the CODEC and HDMI IP nodes. + items: + - description: Phandle to the MAX98090, MAX98091 or MAX98095 CODEC. + - description: Phandle to the HDMI IP block node. + required: + - sound-dai + + cpu: + type: object + additionalProperties: false + properties: + sound-dai: + description: Phandle to the Samsung I2S controller. + maxItems: 1 + required: + - sound-dai + + samsung,audio-codec: + description: Phandle to the audio codec. + $ref: /schemas/types.yaml#/definitions/phandle + deprecated: true + + samsung,i2s-controller: + description: Phandle to the Samsung I2S controller. + $ref: /schemas/types.yaml#/definitions/phandle + deprecated: true + + samsung,model: + description: The user-visible name of this sound complex. + $ref: /schemas/types.yaml#/definitions/string + +required: + - compatible + - codec + - cpu + +additionalProperties: false + +examples: + - | + sound { + compatible = "google,snow-audio-max98095"; + samsung,model = "Snow-I2S-MAX98095"; + + cpu { + sound-dai = <&i2s0 0>; + }; + + codec { + sound-dai = <&max98095 0>, <&hdmi>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/serial-midi.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/serial-midi.yaml index d4b8df840d..3b2f6dd5bf 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/serial-midi.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/serial-midi.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/serial-midi.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Generic Serial MIDI Interface - -maintainers: - - Daniel Kaehn - -description: - Generic MIDI interface using a serial device. This denotes that a serial device is - dedicated to MIDI communication, either to an external MIDI device through a DIN5 - or other connector, or to a known hardwired MIDI controller. This device must be a - child node of a serial node. - - Can only be set to use standard baud rates corresponding to supported rates of the - parent serial device. If the standard MIDI baud of 31.25 kBaud is needed - (as would be the case if interfacing with arbitrary external MIDI devices), - configure the clocks of the parent serial device so that a requested baud of 38.4 kBaud - results in the standard MIDI baud rate, and set the 'current-speed' property to 38400 (default) - -allOf: - - $ref: /schemas/serial/serial-peripheral-props.yaml# - -properties: - compatible: - const: serial-midi - - current-speed: - description: Baudrate to set the serial port to when this MIDI device is opened. - default: 38400 - -required: - - compatible - -additionalProperties: false - -examples: - - | - serial { - midi { - compatible = "serial-midi"; - }; - }; - - | - serial { - midi { - compatible = "serial-midi"; - current-speed = <115200>; - }; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause + +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/serial-midi.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Generic Serial MIDI Interface + +maintainers: + - Daniel Kaehn + +description: + Generic MIDI interface using a serial device. This denotes that a serial device is + dedicated to MIDI communication, either to an external MIDI device through a DIN5 + or other connector, or to a known hardwired MIDI controller. This device must be a + child node of a serial node. + + Can only be set to use standard baud rates corresponding to supported rates of the + parent serial device. If the standard MIDI baud of 31.25 kBaud is needed + (as would be the case if interfacing with arbitrary external MIDI devices), + configure the clocks of the parent serial device so that a requested baud of 38.4 kBaud + results in the standard MIDI baud rate, and set the 'current-speed' property to 38400 (default) + +allOf: + - $ref: /schemas/serial/serial-peripheral-props.yaml# + +properties: + compatible: + const: serial-midi + + current-speed: + description: Baudrate to set the serial port to when this MIDI device is opened. + default: 38400 + +required: + - compatible + +additionalProperties: false + +examples: + - | + serial { + midi { + compatible = "serial-midi"; + }; + }; + - | + serial { + midi { + compatible = "serial-midi"; + current-speed = <115200>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/socionext,uniphier-evea.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/socionext,uniphier-evea.yaml index f82a52325a..985277648d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/socionext,uniphier-evea.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/socionext,uniphier-evea.yaml @@ -1,75 +1,75 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/socionext,uniphier-evea.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: UniPhier EVEA SoC-internal sound codec - -maintainers: - - - -allOf: - - $ref: dai-common.yaml# - -properties: - compatible: - const: socionext,uniphier-evea - - reg: - maxItems: 1 - - clock-names: - items: - - const: evea - - const: exiv - - clocks: - minItems: 2 - maxItems: 2 - - reset-names: - items: - - const: evea - - const: exiv - - const: adamv - - resets: - minItems: 3 - maxItems: 3 - - "#sound-dai-cells": - const: 1 - -patternProperties: - "^port@[0-9]$": - description: | - Port number of DT node is specified by the following DAI channels. - 0: line1 - 1: hp - 2: line2 - $ref: audio-graph-port.yaml# - unevaluatedProperties: false - -unevaluatedProperties: false - -required: - - compatible - - reg - - clock-names - - clocks - - reset-names - - resets - - "#sound-dai-cells" - -examples: - - | - codec@57900000 { - compatible = "socionext,uniphier-evea"; - reg = <0x57900000 0x1000>; - clock-names = "evea", "exiv"; - clocks = <&sys_clk 41>, <&sys_clk 42>; - reset-names = "evea", "exiv", "adamv"; - resets = <&sys_rst 41>, <&sys_rst 42>, <&adamv_rst 0>; - #sound-dai-cells = <1>; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/socionext,uniphier-evea.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: UniPhier EVEA SoC-internal sound codec + +maintainers: + - + +allOf: + - $ref: dai-common.yaml# + +properties: + compatible: + const: socionext,uniphier-evea + + reg: + maxItems: 1 + + clock-names: + items: + - const: evea + - const: exiv + + clocks: + minItems: 2 + maxItems: 2 + + reset-names: + items: + - const: evea + - const: exiv + - const: adamv + + resets: + minItems: 3 + maxItems: 3 + + "#sound-dai-cells": + const: 1 + +patternProperties: + "^port@[0-9]$": + description: | + Port number of DT node is specified by the following DAI channels. + 0: line1 + 1: hp + 2: line2 + $ref: audio-graph-port.yaml# + unevaluatedProperties: false + +unevaluatedProperties: false + +required: + - compatible + - reg + - clock-names + - clocks + - reset-names + - resets + - "#sound-dai-cells" + +examples: + - | + codec@57900000 { + compatible = "socionext,uniphier-evea"; + reg = <0x57900000 0x1000>; + clock-names = "evea", "exiv"; + clocks = <&sys_clk 41>, <&sys_clk 42>; + reset-names = "evea", "exiv", "adamv"; + resets = <&sys_rst 41>, <&sys_rst 42>, <&adamv_rst 0>; + #sound-dai-cells = <1>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/st,stm32-spdifrx.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/st,stm32-spdifrx.yaml index fc37517e06..3dedc81ec1 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/st,stm32-spdifrx.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/st,stm32-spdifrx.yaml @@ -1,87 +1,87 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/st,stm32-spdifrx.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: STMicroelectronics STM32 S/PDIF receiver (SPDIFRX) - -maintainers: - - Olivier Moysan - -description: | - The SPDIFRX peripheral, is designed to receive an S/PDIF flow compliant with - IEC-60958 and IEC-61937. - -allOf: - - $ref: dai-common.yaml# - -properties: - compatible: - enum: - - st,stm32h7-spdifrx - - "#sound-dai-cells": - const: 0 - - reg: - maxItems: 1 - - clocks: - maxItems: 1 - - clock-names: - items: - - const: kclk - - interrupts: - maxItems: 1 - - dmas: - items: - - description: audio data capture DMA - - description: IEC status bits capture DMA - - dma-names: - items: - - const: rx - - const: rx-ctrl - - resets: - maxItems: 1 - - access-controllers: - minItems: 1 - maxItems: 2 - -required: - - compatible - - "#sound-dai-cells" - - reg - - clocks - - clock-names - - interrupts - - dmas - - dma-names - -unevaluatedProperties: false - -examples: - - | - #include - #include - spdifrx: spdifrx@40004000 { - compatible = "st,stm32h7-spdifrx"; - #sound-dai-cells = <0>; - reg = <0x40004000 0x400>; - clocks = <&rcc SPDIF_K>; - clock-names = "kclk"; - interrupts = ; - dmas = <&dmamux1 2 93 0x400 0x0>, - <&dmamux1 3 94 0x400 0x0>; - dma-names = "rx", "rx-ctrl"; - pinctrl-0 = <&spdifrx_pins>; - pinctrl-names = "default"; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/st,stm32-spdifrx.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: STMicroelectronics STM32 S/PDIF receiver (SPDIFRX) + +maintainers: + - Olivier Moysan + +description: | + The SPDIFRX peripheral, is designed to receive an S/PDIF flow compliant with + IEC-60958 and IEC-61937. + +allOf: + - $ref: dai-common.yaml# + +properties: + compatible: + enum: + - st,stm32h7-spdifrx + + "#sound-dai-cells": + const: 0 + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + clock-names: + items: + - const: kclk + + interrupts: + maxItems: 1 + + dmas: + items: + - description: audio data capture DMA + - description: IEC status bits capture DMA + + dma-names: + items: + - const: rx + - const: rx-ctrl + + resets: + maxItems: 1 + + access-controllers: + minItems: 1 + maxItems: 2 + +required: + - compatible + - "#sound-dai-cells" + - reg + - clocks + - clock-names + - interrupts + - dmas + - dma-names + +unevaluatedProperties: false + +examples: + - | + #include + #include + spdifrx: spdifrx@40004000 { + compatible = "st,stm32h7-spdifrx"; + #sound-dai-cells = <0>; + reg = <0x40004000 0x400>; + clocks = <&rcc SPDIF_K>; + clock-names = "kclk"; + interrupts = ; + dmas = <&dmamux1 2 93 0x400 0x0>, + <&dmamux1 3 94 0x400 0x0>; + dma-names = "rx", "rx-ctrl"; + pinctrl-0 = <&spdifrx_pins>; + pinctrl-names = "default"; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/starfive,jh7110-pwmdac.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/starfive,jh7110-pwmdac.yaml index 261c945042..e2b4db6aa2 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/starfive,jh7110-pwmdac.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/starfive,jh7110-pwmdac.yaml @@ -1,76 +1,76 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/starfive,jh7110-pwmdac.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: StarFive JH7110 PWM-DAC Controller - -description: - The PWM-DAC Controller uses PWM square wave generators plus RC filters to - form a DAC for audio play in StarFive JH7110 SoC. This audio play controller - supports 16 bit audio format, up to 48K sampling frequency, up to left and - right dual channels. - -maintainers: - - Hal Feng - -allOf: - - $ref: dai-common.yaml# - -properties: - compatible: - const: starfive,jh7110-pwmdac - - reg: - maxItems: 1 - - clocks: - items: - - description: PWMDAC APB - - description: PWMDAC CORE - - clock-names: - items: - - const: apb - - const: core - - resets: - maxItems: 1 - description: PWMDAC APB - - dmas: - maxItems: 1 - description: TX DMA Channel - - dma-names: - const: tx - - "#sound-dai-cells": - const: 0 - -required: - - compatible - - reg - - clocks - - clock-names - - resets - - dmas - - dma-names - - "#sound-dai-cells" - -additionalProperties: false - -examples: - - | - pwmdac@100b0000 { - compatible = "starfive,jh7110-pwmdac"; - reg = <0x100b0000 0x1000>; - clocks = <&syscrg 157>, - <&syscrg 158>; - clock-names = "apb", "core"; - resets = <&syscrg 96>; - dmas = <&dma 22>; - dma-names = "tx"; - #sound-dai-cells = <0>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/starfive,jh7110-pwmdac.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: StarFive JH7110 PWM-DAC Controller + +description: + The PWM-DAC Controller uses PWM square wave generators plus RC filters to + form a DAC for audio play in StarFive JH7110 SoC. This audio play controller + supports 16 bit audio format, up to 48K sampling frequency, up to left and + right dual channels. + +maintainers: + - Hal Feng + +allOf: + - $ref: dai-common.yaml# + +properties: + compatible: + const: starfive,jh7110-pwmdac + + reg: + maxItems: 1 + + clocks: + items: + - description: PWMDAC APB + - description: PWMDAC CORE + + clock-names: + items: + - const: apb + - const: core + + resets: + maxItems: 1 + description: PWMDAC APB + + dmas: + maxItems: 1 + description: TX DMA Channel + + dma-names: + const: tx + + "#sound-dai-cells": + const: 0 + +required: + - compatible + - reg + - clocks + - clock-names + - resets + - dmas + - dma-names + - "#sound-dai-cells" + +additionalProperties: false + +examples: + - | + pwmdac@100b0000 { + compatible = "starfive,jh7110-pwmdac"; + reg = <0x100b0000 0x1000>; + clocks = <&syscrg 157>, + <&syscrg 158>; + clock-names = "apb", "core"; + resets = <&syscrg 96>; + dmas = <&dma 22>; + dma-names = "tx"; + #sound-dai-cells = <0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/ti,omap4-mcpdm.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/ti,omap4-mcpdm.yaml index 03ffd935c7..cdea0a0082 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/ti,omap4-mcpdm.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/ti,omap4-mcpdm.yaml @@ -1,73 +1,73 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/ti,omap4-mcpdm.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: OMAP McPDM - -maintainers: - - Misael Lopez Cruz - -description: - OMAP ALSA SoC DAI driver using McPDM port used by TWL6040 - -properties: - compatible: - const: ti,omap4-mcpdm - - reg: - items: - - description: MPU access base address - - description: L3 interconnect address - - reg-names: - items: - - const: mpu - - const: dma - - interrupts: - maxItems: 1 - - dmas: - maxItems: 2 - - dma-names: - items: - - const: up_link - - const: dn_link - - clocks: - maxItems: 1 - - clock-names: - items: - - const: pdmclk - -required: - - compatible - - reg - - reg-names - - interrupts - - dmas - - dma-names - - clocks - - clock-names - -additionalProperties: false - -examples: - - | - #include - mcpdm@0 { - compatible = "ti,omap4-mcpdm"; - reg = <0x0 0x7f>, /* MPU private access */ - <0x49032000 0x7f>; /* L3 Interconnect */ - reg-names = "mpu", "dma"; - interrupts = ; - interrupt-parent = <&gic>; - dmas = <&sdma 65>, <&sdma 66>; - dma-names = "up_link", "dn_link"; - clocks = <&twl6040>; - clock-names = "pdmclk"; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/ti,omap4-mcpdm.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: OMAP McPDM + +maintainers: + - Misael Lopez Cruz + +description: + OMAP ALSA SoC DAI driver using McPDM port used by TWL6040 + +properties: + compatible: + const: ti,omap4-mcpdm + + reg: + items: + - description: MPU access base address + - description: L3 interconnect address + + reg-names: + items: + - const: mpu + - const: dma + + interrupts: + maxItems: 1 + + dmas: + maxItems: 2 + + dma-names: + items: + - const: up_link + - const: dn_link + + clocks: + maxItems: 1 + + clock-names: + items: + - const: pdmclk + +required: + - compatible + - reg + - reg-names + - interrupts + - dmas + - dma-names + - clocks + - clock-names + +additionalProperties: false + +examples: + - | + #include + mcpdm@0 { + compatible = "ti,omap4-mcpdm"; + reg = <0x0 0x7f>, /* MPU private access */ + <0x49032000 0x7f>; /* L3 Interconnect */ + reg-names = "mpu", "dma"; + interrupts = ; + interrupt-parent = <&gic>; + dmas = <&sdma 65>, <&sdma 66>; + dma-names = "up_link", "dn_link"; + clocks = <&twl6040>; + clock-names = "pdmclk"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/ti,tas5086.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/ti,tas5086.txt index ece638b8ce..234dad296d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/ti,tas5086.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/ti,tas5086.txt @@ -1,48 +1,48 @@ -Texas Instruments TAS5086 6-channel PWM Processor - -Required properties: - - - compatible: Should contain "ti,tas5086". - - reg: The i2c address. Should contain <0x1b>. - -Optional properties: - - - reset-gpio: A GPIO spec to define which pin is connected to the - chip's !RESET pin. If specified, the driver will - assert a hardware reset at probe time. - - - ti,charge-period: This property should contain the time in microseconds - that closely matches the external single-ended - split-capacitor charge period. The hardware chip - waits for this period of time before starting the - PWM signals. This helps reduce pops and clicks. - - When not specified, the hardware default of 1300ms - is retained. - - - ti,mid-z-channel-X: Boolean properties, X being a number from 1 to 6. - If given, channel X will start with the Mid-Z start - sequence, otherwise the default Low-Z scheme is used. - - The correct configuration depends on how the power - stages connected to the PWM output pins work. Not all - power stages are compatible to Mid-Z - please refer - to the datasheets for more details. - - Most systems should not set any of these properties. - - - avdd-supply: Power supply for AVDD, providing 3.3V - - dvdd-supply: Power supply for DVDD, providing 3.3V - -Examples: - - i2c_bus { - tas5086@1b { - compatible = "ti,tas5086"; - reg = <0x1b>; - reset-gpio = <&gpio 23 0>; - ti,charge-period = <156000>; - avdd-supply = <&vdd_3v3_reg>; - dvdd-supply = <&vdd_3v3_reg>; - }; - }; +Texas Instruments TAS5086 6-channel PWM Processor + +Required properties: + + - compatible: Should contain "ti,tas5086". + - reg: The i2c address. Should contain <0x1b>. + +Optional properties: + + - reset-gpio: A GPIO spec to define which pin is connected to the + chip's !RESET pin. If specified, the driver will + assert a hardware reset at probe time. + + - ti,charge-period: This property should contain the time in microseconds + that closely matches the external single-ended + split-capacitor charge period. The hardware chip + waits for this period of time before starting the + PWM signals. This helps reduce pops and clicks. + + When not specified, the hardware default of 1300ms + is retained. + + - ti,mid-z-channel-X: Boolean properties, X being a number from 1 to 6. + If given, channel X will start with the Mid-Z start + sequence, otherwise the default Low-Z scheme is used. + + The correct configuration depends on how the power + stages connected to the PWM output pins work. Not all + power stages are compatible to Mid-Z - please refer + to the datasheets for more details. + + Most systems should not set any of these properties. + + - avdd-supply: Power supply for AVDD, providing 3.3V + - dvdd-supply: Power supply for DVDD, providing 3.3V + +Examples: + + i2c_bus { + tas5086@1b { + compatible = "ti,tas5086"; + reg = <0x1b>; + reset-gpio = <&gpio 23 0>; + ti,charge-period = <156000>; + avdd-supply = <&vdd_3v3_reg>; + dvdd-supply = <&vdd_3v3_reg>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/ti,tas5805m.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/ti,tas5805m.yaml index ff69b342bb..c2c2835a9e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/ti,tas5805m.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/ti,tas5805m.yaml @@ -1,57 +1,57 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/ti,tas5805m.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: TAS5805M audio amplifier - -maintainers: - - Daniel Beer - -description: | - The TAS5805M is a class D audio amplifier with a built-in DSP. - -properties: - compatible: - enum: - - ti,tas5805m - - reg: - maxItems: 1 - description: | - I2C address of the amplifier. See the datasheet for possible values. - - pvdd-supply: - description: | - Regulator for audio power supply (PVDD in the datasheet). - - pdn-gpios: - description: | - Power-down control GPIO (PDN pin in the datasheet). - - ti,dsp-config-name: - description: | - The name of the DSP configuration that should be loaded for this - instance. Configuration blobs are sequences of register writes - generated from TI's PPC3 tool. - $ref: /schemas/types.yaml#/definitions/string - -additionalProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - tas5805m: tas5805m@2c { - reg = <0x2c>; - compatible = "ti,tas5805m"; - - pvdd-supply = <&audiopwr>; - pdn-gpios = <&tlmm 160 0>; - - ti,dsp-config-name = "mono_pbtl_48khz"; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/ti,tas5805m.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: TAS5805M audio amplifier + +maintainers: + - Daniel Beer + +description: | + The TAS5805M is a class D audio amplifier with a built-in DSP. + +properties: + compatible: + enum: + - ti,tas5805m + + reg: + maxItems: 1 + description: | + I2C address of the amplifier. See the datasheet for possible values. + + pvdd-supply: + description: | + Regulator for audio power supply (PVDD in the datasheet). + + pdn-gpios: + description: | + Power-down control GPIO (PDN pin in the datasheet). + + ti,dsp-config-name: + description: | + The name of the DSP configuration that should be loaded for this + instance. Configuration blobs are sequences of register writes + generated from TI's PPC3 tool. + $ref: /schemas/types.yaml#/definitions/string + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + tas5805m: tas5805m@2c { + reg = <0x2c>; + compatible = "ti,tas5805m"; + + pvdd-supply = <&audiopwr>; + pdn-gpios = <&tlmm 160 0>; + + ti,dsp-config-name = "mono_pbtl_48khz"; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/wlf,wm8904.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/wlf,wm8904.yaml index 02d5b5463b..329260cf0f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/wlf,wm8904.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/wlf,wm8904.yaml @@ -1,74 +1,74 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/wlf,wm8904.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Wolfson WM8904/WM8912 audio codecs - -maintainers: - - patches@opensource.cirrus.com - -description: | - Pins on the device (for linking into audio routes): - IN1L, IN1R, IN2L, IN2R, IN3L, IN3R, HPOUTL, HPOUTR, LINEOUTL, LINEOUTR, - MICBIAS - -properties: - compatible: - enum: - - wlf,wm8904 - - wlf,wm8912 - - reg: - maxItems: 1 - - "#sound-dai-cells": - const: 0 - - clocks: - maxItems: 1 - - clock-names: - const: mclk - - AVDD-supply: true - CPVDD-supply: true - DBVDD-supply: true - DCVDD-supply: true - MICVDD-supply: true - -required: - - compatible - - reg - - clocks - - clock-names - - AVDD-supply - - CPVDD-supply - - DBVDD-supply - - DCVDD-supply - - MICVDD-supply - -allOf: - - $ref: dai-common.yaml# - -unevaluatedProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - codec@1a { - compatible = "wlf,wm8904"; - reg = <0x1a>; - clocks = <&pck0>; - clock-names = "mclk"; - AVDD-supply = <®_1p8v>; - CPVDD-supply = <®_1p8v>; - DBVDD-supply = <®_1p8v>; - DCVDD-supply = <®_1p8v>; - MICVDD-supply = <®_1p8v>; - }; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/wlf,wm8904.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Wolfson WM8904/WM8912 audio codecs + +maintainers: + - patches@opensource.cirrus.com + +description: | + Pins on the device (for linking into audio routes): + IN1L, IN1R, IN2L, IN2R, IN3L, IN3R, HPOUTL, HPOUTR, LINEOUTL, LINEOUTR, + MICBIAS + +properties: + compatible: + enum: + - wlf,wm8904 + - wlf,wm8912 + + reg: + maxItems: 1 + + "#sound-dai-cells": + const: 0 + + clocks: + maxItems: 1 + + clock-names: + const: mclk + + AVDD-supply: true + CPVDD-supply: true + DBVDD-supply: true + DCVDD-supply: true + MICVDD-supply: true + +required: + - compatible + - reg + - clocks + - clock-names + - AVDD-supply + - CPVDD-supply + - DBVDD-supply + - DCVDD-supply + - MICVDD-supply + +allOf: + - $ref: dai-common.yaml# + +unevaluatedProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + codec@1a { + compatible = "wlf,wm8904"; + reg = <0x1a>; + clocks = <&pck0>; + clock-names = "mclk"; + AVDD-supply = <®_1p8v>; + CPVDD-supply = <®_1p8v>; + DBVDD-supply = <®_1p8v>; + DCVDD-supply = <®_1p8v>; + MICVDD-supply = <®_1p8v>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/adi,axi-spi-engine.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/adi,axi-spi-engine.yaml index 75e37061cd..d48faa42d0 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/adi,axi-spi-engine.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/adi,axi-spi-engine.yaml @@ -1,66 +1,66 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/spi/adi,axi-spi-engine.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Analog Devices AXI SPI Engine Controller - -description: | - The AXI SPI Engine controller is part of the SPI Engine framework[1] and - allows memory mapped access to the SPI Engine control bus. This allows it - to be used as a general purpose software driven SPI controller as well as - some optional advanced acceleration and offloading capabilities. - - [1] https://wiki.analog.com/resources/fpga/peripherals/spi_engine - -maintainers: - - Michael Hennerich - - Nuno Sá - -allOf: - - $ref: /schemas/spi/spi-controller.yaml# - -properties: - compatible: - const: adi,axi-spi-engine-1.00.a - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - items: - - description: The AXI interconnect clock. - - description: The SPI controller clock. - - clock-names: - items: - - const: s_axi_aclk - - const: spi_clk - -required: - - compatible - - reg - - interrupts - - clocks - - clock-names - -unevaluatedProperties: false - -examples: - - | - spi@44a00000 { - compatible = "adi,axi-spi-engine-1.00.a"; - reg = <0x44a00000 0x1000>; - interrupts = <0 56 4>; - clocks = <&clkc 15>, <&clkc 15>; - clock-names = "s_axi_aclk", "spi_clk"; - - #address-cells = <1>; - #size-cells = <0>; - - /* SPI devices */ - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/spi/adi,axi-spi-engine.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Analog Devices AXI SPI Engine Controller + +description: | + The AXI SPI Engine controller is part of the SPI Engine framework[1] and + allows memory mapped access to the SPI Engine control bus. This allows it + to be used as a general purpose software driven SPI controller as well as + some optional advanced acceleration and offloading capabilities. + + [1] https://wiki.analog.com/resources/fpga/peripherals/spi_engine + +maintainers: + - Michael Hennerich + - Nuno Sá + +allOf: + - $ref: /schemas/spi/spi-controller.yaml# + +properties: + compatible: + const: adi,axi-spi-engine-1.00.a + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + items: + - description: The AXI interconnect clock. + - description: The SPI controller clock. + + clock-names: + items: + - const: s_axi_aclk + - const: spi_clk + +required: + - compatible + - reg + - interrupts + - clocks + - clock-names + +unevaluatedProperties: false + +examples: + - | + spi@44a00000 { + compatible = "adi,axi-spi-engine-1.00.a"; + reg = <0x44a00000 0x1000>; + interrupts = <0 56 4>; + clocks = <&clkc 15>, <&clkc 15>; + clock-names = "s_axi_aclk", "spi_clk"; + + #address-cells = <1>; + #size-cells = <0>; + + /* SPI devices */ + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/allwinner,sun4i-a10-spi.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/allwinner,sun4i-a10-spi.yaml index 459ab6106e..e1ab3f523a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/allwinner,sun4i-a10-spi.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/allwinner,sun4i-a10-spi.yaml @@ -1,84 +1,84 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/spi/allwinner,sun4i-a10-spi.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Allwinner A10 SPI Controller - -allOf: - - $ref: spi-controller.yaml - -maintainers: - - Chen-Yu Tsai - - Maxime Ripard - -properties: - compatible: - const: allwinner,sun4i-a10-spi - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - items: - - description: Bus Clock - - description: Module Clock - - clock-names: - items: - - const: ahb - - const: mod - - dmas: - items: - - description: RX DMA Channel - - description: TX DMA Channel - - dma-names: - items: - - const: rx - - const: tx - -patternProperties: - "^.*@[0-9a-f]+": - type: object - additionalProperties: true - - properties: - reg: - items: - minimum: 0 - maximum: 4 - - spi-rx-bus-width: - const: 1 - - spi-tx-bus-width: - const: 1 - -required: - - compatible - - reg - - interrupts - - clocks - - clock-names - -unevaluatedProperties: false - -examples: - - | - spi1: spi@1c06000 { - compatible = "allwinner,sun4i-a10-spi"; - reg = <0x01c06000 0x1000>; - interrupts = <11>; - clocks = <&ahb_gates 21>, <&spi1_clk>; - clock-names = "ahb", "mod"; - #address-cells = <1>; - #size-cells = <0>; - }; - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/spi/allwinner,sun4i-a10-spi.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Allwinner A10 SPI Controller + +allOf: + - $ref: spi-controller.yaml + +maintainers: + - Chen-Yu Tsai + - Maxime Ripard + +properties: + compatible: + const: allwinner,sun4i-a10-spi + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + items: + - description: Bus Clock + - description: Module Clock + + clock-names: + items: + - const: ahb + - const: mod + + dmas: + items: + - description: RX DMA Channel + - description: TX DMA Channel + + dma-names: + items: + - const: rx + - const: tx + +patternProperties: + "^.*@[0-9a-f]+": + type: object + additionalProperties: true + + properties: + reg: + items: + minimum: 0 + maximum: 4 + + spi-rx-bus-width: + const: 1 + + spi-tx-bus-width: + const: 1 + +required: + - compatible + - reg + - interrupts + - clocks + - clock-names + +unevaluatedProperties: false + +examples: + - | + spi1: spi@1c06000 { + compatible = "allwinner,sun4i-a10-spi"; + reg = <0x01c06000 0x1000>; + interrupts = <11>; + clocks = <&ahb_gates 21>, <&spi1_clk>; + clock-names = "ahb", "mod"; + #address-cells = <1>; + #size-cells = <0>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/arm,pl022-peripheral-props.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/arm,pl022-peripheral-props.yaml index 284bc03d75..bb8b6863b1 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/arm,pl022-peripheral-props.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/arm,pl022-peripheral-props.yaml @@ -1,61 +1,61 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/spi/arm,pl022-peripheral-props.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Peripheral-specific properties for Arm PL022 SPI controller - -maintainers: - - Linus Walleij - -select: false - -properties: - pl022,interface: - description: SPI interface type - $ref: /schemas/types.yaml#/definitions/uint32 - enum: - - 0 # SPI - - 1 # Texas Instruments Synchronous Serial Frame Format - - 2 # Microwire (Half Duplex) - - pl022,com-mode: - description: Specifies the transfer mode - $ref: /schemas/types.yaml#/definitions/uint32 - enum: - - 0 # interrupt mode - - 1 # polling mode - - 2 # DMA mode - default: 1 - - pl022,rx-level-trig: - description: Rx FIFO watermark level - $ref: /schemas/types.yaml#/definitions/uint32 - minimum: 0 - maximum: 4 - - pl022,tx-level-trig: - description: Tx FIFO watermark level - $ref: /schemas/types.yaml#/definitions/uint32 - minimum: 0 - maximum: 4 - - pl022,ctrl-len: - description: Microwire interface - Control length - $ref: /schemas/types.yaml#/definitions/uint32 - minimum: 0x03 - maximum: 0x1f - - pl022,wait-state: - description: Microwire interface - Wait state - $ref: /schemas/types.yaml#/definitions/uint32 - enum: [0, 1] - - pl022,duplex: - description: Microwire interface - Full/Half duplex - $ref: /schemas/types.yaml#/definitions/uint32 - enum: [0, 1] - -additionalProperties: true -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/spi/arm,pl022-peripheral-props.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Peripheral-specific properties for Arm PL022 SPI controller + +maintainers: + - Linus Walleij + +select: false + +properties: + pl022,interface: + description: SPI interface type + $ref: /schemas/types.yaml#/definitions/uint32 + enum: + - 0 # SPI + - 1 # Texas Instruments Synchronous Serial Frame Format + - 2 # Microwire (Half Duplex) + + pl022,com-mode: + description: Specifies the transfer mode + $ref: /schemas/types.yaml#/definitions/uint32 + enum: + - 0 # interrupt mode + - 1 # polling mode + - 2 # DMA mode + default: 1 + + pl022,rx-level-trig: + description: Rx FIFO watermark level + $ref: /schemas/types.yaml#/definitions/uint32 + minimum: 0 + maximum: 4 + + pl022,tx-level-trig: + description: Tx FIFO watermark level + $ref: /schemas/types.yaml#/definitions/uint32 + minimum: 0 + maximum: 4 + + pl022,ctrl-len: + description: Microwire interface - Control length + $ref: /schemas/types.yaml#/definitions/uint32 + minimum: 0x03 + maximum: 0x1f + + pl022,wait-state: + description: Microwire interface - Wait state + $ref: /schemas/types.yaml#/definitions/uint32 + enum: [0, 1] + + pl022,duplex: + description: Microwire interface - Full/Half duplex + $ref: /schemas/types.yaml#/definitions/uint32 + enum: [0, 1] + +additionalProperties: true +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/brcm,bcm63xx-spi.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/brcm,bcm63xx-spi.yaml index 3480854f90..fa03cdd68e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/brcm,bcm63xx-spi.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/brcm,bcm63xx-spi.yaml @@ -1,71 +1,71 @@ -# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/spi/brcm,bcm63xx-spi.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Broadcom BCM6348/BCM6358 SPI controller - -maintainers: - - Jonas Gorski - -description: | - Broadcom "Low Speed" SPI controller found in many older MIPS based Broadband - SoCs. - - This controller has a limitation that can not keep the chip select line active - between the SPI transfers within the same SPI message. This can terminate the - transaction to some SPI devices prematurely. The issue can be worked around by - the controller's prepend mode. - -allOf: - - $ref: spi-controller.yaml# - -properties: - compatible: - oneOf: - - items: - - enum: - - brcm,bcm6368-spi - - brcm,bcm6362-spi - - brcm,bcm63268-spi - - const: brcm,bcm6358-spi - - enum: - - brcm,bcm6348-spi - - brcm,bcm6358-spi - - reg: - maxItems: 1 - - clocks: - items: - - description: SPI master reference clock - - clock-names: - items: - - const: spi - - interrupts: - maxItems: 1 - -required: - - compatible - - reg - - clocks - - clock-names - - interrupts - -unevaluatedProperties: false - -examples: - - | - spi@10000800 { - compatible = "brcm,bcm6368-spi", "brcm,bcm6358-spi"; - reg = <0x10000800 0x70c>; - interrupts = <1>; - clocks = <&clkctl 9>; - clock-names = "spi"; - num-cs = <5>; - #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,bcm63xx-spi.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom BCM6348/BCM6358 SPI controller + +maintainers: + - Jonas Gorski + +description: | + Broadcom "Low Speed" SPI controller found in many older MIPS based Broadband + SoCs. + + This controller has a limitation that can not keep the chip select line active + between the SPI transfers within the same SPI message. This can terminate the + transaction to some SPI devices prematurely. The issue can be worked around by + the controller's prepend mode. + +allOf: + - $ref: spi-controller.yaml# + +properties: + compatible: + oneOf: + - items: + - enum: + - brcm,bcm6368-spi + - brcm,bcm6362-spi + - brcm,bcm63268-spi + - const: brcm,bcm6358-spi + - enum: + - brcm,bcm6348-spi + - brcm,bcm6358-spi + + reg: + maxItems: 1 + + clocks: + items: + - description: SPI master reference clock + + clock-names: + items: + - const: spi + + interrupts: + maxItems: 1 + +required: + - compatible + - reg + - clocks + - clock-names + - interrupts + +unevaluatedProperties: false + +examples: + - | + spi@10000800 { + compatible = "brcm,bcm6368-spi", "brcm,bcm6358-spi"; + reg = <0x10000800 0x70c>; + interrupts = <1>; + clocks = <&clkctl 9>; + clock-names = "spi"; + num-cs = <5>; + #address-cells = <1>; + #size-cells = <0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/cirrus,ep9301-spi.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/cirrus,ep9301-spi.yaml index 284656d9a8..73980a27dc 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/cirrus,ep9301-spi.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/cirrus,ep9301-spi.yaml @@ -1,70 +1,70 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/spi/cirrus,ep9301-spi.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: EP93xx SoC SPI controller - -maintainers: - - Alexander Sverdlin - - Nikita Shubin - -allOf: - - $ref: spi-controller.yaml# - -properties: - compatible: - oneOf: - - const: cirrus,ep9301-spi - - items: - - enum: - - cirrus,ep9302-spi - - cirrus,ep9307-spi - - cirrus,ep9312-spi - - cirrus,ep9315-spi - - const: cirrus,ep9301-spi - - reg: - items: - - description: SPI registers region - - interrupts: - maxItems: 1 - - clocks: - items: - - description: SPI Controller reference clock source - - dmas: - items: - - description: rx DMA channel - - description: tx DMA channel - - dma-names: - items: - - const: rx - - const: tx - -required: - - compatible - - reg - - interrupts - - clocks - -unevaluatedProperties: false - -examples: - - | - #include - #include - spi@808a0000 { - compatible = "cirrus,ep9301-spi"; - reg = <0x808a0000 0x18>; - interrupt-parent = <&vic1>; - interrupts = <21>; - clocks = <&syscon EP93XX_CLK_SPI>; - dmas = <&dma1 10 2>, <&dma1 10 1>; - dma-names = "rx", "tx"; - cs-gpios = <&gpio5 2 GPIO_ACTIVE_HIGH>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/spi/cirrus,ep9301-spi.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: EP93xx SoC SPI controller + +maintainers: + - Alexander Sverdlin + - Nikita Shubin + +allOf: + - $ref: spi-controller.yaml# + +properties: + compatible: + oneOf: + - const: cirrus,ep9301-spi + - items: + - enum: + - cirrus,ep9302-spi + - cirrus,ep9307-spi + - cirrus,ep9312-spi + - cirrus,ep9315-spi + - const: cirrus,ep9301-spi + + reg: + items: + - description: SPI registers region + + interrupts: + maxItems: 1 + + clocks: + items: + - description: SPI Controller reference clock source + + dmas: + items: + - description: rx DMA channel + - description: tx DMA channel + + dma-names: + items: + - const: rx + - const: tx + +required: + - compatible + - reg + - interrupts + - clocks + +unevaluatedProperties: false + +examples: + - | + #include + #include + spi@808a0000 { + compatible = "cirrus,ep9301-spi"; + reg = <0x808a0000 0x18>; + interrupt-parent = <&vic1>; + interrupts = <21>; + clocks = <&syscon EP93XX_CLK_SPI>; + dmas = <&dma1 10 2>, <&dma1 10 1>; + dma-names = "rx", "tx"; + cs-gpios = <&gpio5 2 GPIO_ACTIVE_HIGH>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/ingenic,spi.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/ingenic,spi.yaml index cd8611c92f..c08d55b900 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/ingenic,spi.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/ingenic,spi.yaml @@ -1,75 +1,75 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/spi/ingenic,spi.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Ingenic SoCs SPI controller - -maintainers: - - Artur Rojek - - Paul Cercueil - -allOf: - - $ref: /schemas/spi/spi-controller.yaml# - -properties: - compatible: - oneOf: - - enum: - - ingenic,jz4750-spi - - ingenic,jz4775-spi - - ingenic,jz4780-spi - - ingenic,x1000-spi - - ingenic,x2000-spi - - items: - - enum: - - ingenic,jz4760-spi - - ingenic,jz4770-spi - - const: ingenic,jz4750-spi - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - maxItems: 1 - - dmas: - maxItems: 2 - minItems: 2 - - dma-names: - items: - - const: rx - - const: tx - -required: - - compatible - - reg - - interrupts - - clocks - - dmas - - dma-names - -unevaluatedProperties: false - -examples: - - | - #include - spi@10043000 { - compatible = "ingenic,jz4770-spi", "ingenic,jz4750-spi"; - reg = <0x10043000 0x1c>; - #address-cells = <1>; - #size-cells = <0>; - - interrupt-parent = <&intc>; - interrupts = <8>; - - clocks = <&cgu JZ4770_CLK_SSI0>; - - dmas = <&dmac1 23 0xffffffff>, <&dmac1 22 0xffffffff>; - dma-names = "rx", "tx"; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/spi/ingenic,spi.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Ingenic SoCs SPI controller + +maintainers: + - Artur Rojek + - Paul Cercueil + +allOf: + - $ref: /schemas/spi/spi-controller.yaml# + +properties: + compatible: + oneOf: + - enum: + - ingenic,jz4750-spi + - ingenic,jz4775-spi + - ingenic,jz4780-spi + - ingenic,x1000-spi + - ingenic,x2000-spi + - items: + - enum: + - ingenic,jz4760-spi + - ingenic,jz4770-spi + - const: ingenic,jz4750-spi + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + + dmas: + maxItems: 2 + minItems: 2 + + dma-names: + items: + - const: rx + - const: tx + +required: + - compatible + - reg + - interrupts + - clocks + - dmas + - dma-names + +unevaluatedProperties: false + +examples: + - | + #include + spi@10043000 { + compatible = "ingenic,jz4770-spi", "ingenic,jz4750-spi"; + reg = <0x10043000 0x1c>; + #address-cells = <1>; + #size-cells = <0>; + + interrupt-parent = <&intc>; + interrupts = <8>; + + clocks = <&cgu JZ4770_CLK_SSI0>; + + dmas = <&dmac1 23 0xffffffff>, <&dmac1 22 0xffffffff>; + dma-names = "rx", "tx"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/marvell,mmp2-ssp.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/marvell,mmp2-ssp.yaml index 7bd72e79aa..0a1bada8f8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/marvell,mmp2-ssp.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/marvell,mmp2-ssp.yaml @@ -1,85 +1,85 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -# Copyright 2019,2020 Lubomir Rintel -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/spi/marvell,mmp2-ssp.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: PXA2xx SSP SPI Controller - -maintainers: - - Lubomir Rintel - -properties: - compatible: - enum: - - marvell,mmp2-ssp - - mrvl,ce4100-ssp - - mvrl,pxa168-ssp - - mrvl,pxa25x-ssp - - mvrl,pxa25x-nssp - - mrvl,pxa27x-ssp - - mrvl,pxa3xx-ssp - - mrvl,pxa910-ssp - - interrupts: - maxItems: 1 - - reg: - maxItems: 1 - - clocks: - maxItems: 1 - - dmas: - items: - - description: Receive DMA - - description: Transmit DMA - - dma-names: - items: - - const: rx - - const: tx - - ready-gpios: - description: | - GPIO used to signal a SPI master that the FIFO is filled and we're - ready to service a transfer. Only useful in slave mode. - maxItems: 1 - -required: - - compatible - - reg - - interrupts - - clocks - -dependencies: - ready-gpios: [ spi-slave ] - -allOf: - - $ref: spi-controller.yaml# - - if: - properties: - compatible: - contains: - const: marvell,mmp2-ssp - then: - properties: - dmas: false - dma-names: false - -unevaluatedProperties: false - -examples: - - | - #include - spi@d4035000 { - compatible = "marvell,mmp2-ssp"; - #address-cells = <1>; - #size-cells = <0>; - reg = <0xd4035000 0x1000>; - clocks = <&soc_clocks MMP2_CLK_SSP0>; - interrupts = <0>; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +# Copyright 2019,2020 Lubomir Rintel +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/spi/marvell,mmp2-ssp.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: PXA2xx SSP SPI Controller + +maintainers: + - Lubomir Rintel + +properties: + compatible: + enum: + - marvell,mmp2-ssp + - mrvl,ce4100-ssp + - mvrl,pxa168-ssp + - mrvl,pxa25x-ssp + - mvrl,pxa25x-nssp + - mrvl,pxa27x-ssp + - mrvl,pxa3xx-ssp + - mrvl,pxa910-ssp + + interrupts: + maxItems: 1 + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + dmas: + items: + - description: Receive DMA + - description: Transmit DMA + + dma-names: + items: + - const: rx + - const: tx + + ready-gpios: + description: | + GPIO used to signal a SPI master that the FIFO is filled and we're + ready to service a transfer. Only useful in slave mode. + maxItems: 1 + +required: + - compatible + - reg + - interrupts + - clocks + +dependencies: + ready-gpios: [ spi-slave ] + +allOf: + - $ref: spi-controller.yaml# + - if: + properties: + compatible: + contains: + const: marvell,mmp2-ssp + then: + properties: + dmas: false + dma-names: false + +unevaluatedProperties: false + +examples: + - | + #include + spi@d4035000 { + compatible = "marvell,mmp2-ssp"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0xd4035000 0x1000>; + clocks = <&soc_clocks MMP2_CLK_SSP0>; + interrupts = <0>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/microchip,mpfs-spi.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/microchip,mpfs-spi.yaml index 721c8bf412..62a568bdbf 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/microchip,mpfs-spi.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/microchip,mpfs-spi.yaml @@ -1,86 +1,86 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/spi/microchip,mpfs-spi.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Microchip FPGA {Q,}SPI Controllers - -description: - SPI and QSPI controllers on Microchip PolarFire SoC and the "soft"/ - fabric IP cores they are based on - -maintainers: - - Conor Dooley - -properties: - compatible: - oneOf: - - items: - - enum: - - microchip,mpfs-qspi - - microchip,pic64gx-qspi - - const: microchip,coreqspi-rtl-v2 - - const: microchip,coreqspi-rtl-v2 # FPGA QSPI - - items: - - const: microchip,pic64gx-spi - - const: microchip,mpfs-spi - - const: microchip,mpfs-spi - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clock-names: - maxItems: 1 - - clocks: - maxItems: 1 - -required: - - compatible - - reg - - interrupts - - clocks - -allOf: - - $ref: spi-controller.yaml# - - - if: - properties: - compatible: - contains: - const: microchip,mpfs-spi - then: - properties: - num-cs: - default: 1 - - - if: - properties: - compatible: - contains: - const: microchip,mpfs-spi - not: - required: - - cs-gpios - then: - properties: - num-cs: - maximum: 1 - -unevaluatedProperties: false - -examples: - - | - #include "dt-bindings/clock/microchip,mpfs-clock.h" - spi@20108000 { - compatible = "microchip,mpfs-spi"; - reg = <0x20108000 0x1000>; - clocks = <&clkcfg CLK_SPI0>; - interrupt-parent = <&plic>; - interrupts = <54>; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/spi/microchip,mpfs-spi.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Microchip FPGA {Q,}SPI Controllers + +description: + SPI and QSPI controllers on Microchip PolarFire SoC and the "soft"/ + fabric IP cores they are based on + +maintainers: + - Conor Dooley + +properties: + compatible: + oneOf: + - items: + - enum: + - microchip,mpfs-qspi + - microchip,pic64gx-qspi + - const: microchip,coreqspi-rtl-v2 + - const: microchip,coreqspi-rtl-v2 # FPGA QSPI + - items: + - const: microchip,pic64gx-spi + - const: microchip,mpfs-spi + - const: microchip,mpfs-spi + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clock-names: + maxItems: 1 + + clocks: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + - clocks + +allOf: + - $ref: spi-controller.yaml# + + - if: + properties: + compatible: + contains: + const: microchip,mpfs-spi + then: + properties: + num-cs: + default: 1 + + - if: + properties: + compatible: + contains: + const: microchip,mpfs-spi + not: + required: + - cs-gpios + then: + properties: + num-cs: + maximum: 1 + +unevaluatedProperties: false + +examples: + - | + #include "dt-bindings/clock/microchip,mpfs-clock.h" + spi@20108000 { + compatible = "microchip,mpfs-spi"; + reg = <0x20108000 0x1000>; + clocks = <&clkcfg CLK_SPI0>; + interrupt-parent = <&plic>; + interrupts = <54>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/microchip,spi-pic32.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/microchip,spi-pic32.txt index 63ed0f1c5b..79de379f4d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/microchip,spi-pic32.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/microchip,spi-pic32.txt @@ -1,34 +1,34 @@ -Microchip PIC32 SPI Master controller - -Required properties: -- compatible: Should be "microchip,pic32mzda-spi". -- reg: Address and length of register space for the device. -- interrupts: Should contain all three spi interrupts in sequence - of , , . -- interrupt-names: Should be "fault", "rx", "tx" in order. -- clocks: Phandle of the clock generating SPI clock on the bus. -- clock-names: Should be "mck0". -- cs-gpios: Specifies the gpio pins to be used for chipselects. - See: Documentation/devicetree/bindings/spi/spi-bus.txt - -Optional properties: -- dmas: Two or more DMA channel specifiers following the convention outlined - in Documentation/devicetree/bindings/dma/dma.txt -- dma-names: Names for the dma channels. There must be at least one channel - named "spi-tx" for transmit and named "spi-rx" for receive. - -Example: - -spi1: spi@1f821000 { - compatible = "microchip,pic32mzda-spi"; - reg = <0x1f821000 0x200>; - interrupts = <109 IRQ_TYPE_LEVEL_HIGH>, - <110 IRQ_TYPE_LEVEL_HIGH>, - <111 IRQ_TYPE_LEVEL_HIGH>; - interrupt-names = "fault", "rx", "tx"; - clocks = <&PBCLK2>; - clock-names = "mck0"; - cs-gpios = <&gpio3 4 GPIO_ACTIVE_LOW>; - dmas = <&dma 134>, <&dma 135>; - dma-names = "spi-rx", "spi-tx"; -}; +Microchip PIC32 SPI Master controller + +Required properties: +- compatible: Should be "microchip,pic32mzda-spi". +- reg: Address and length of register space for the device. +- interrupts: Should contain all three spi interrupts in sequence + of , , . +- interrupt-names: Should be "fault", "rx", "tx" in order. +- clocks: Phandle of the clock generating SPI clock on the bus. +- clock-names: Should be "mck0". +- cs-gpios: Specifies the gpio pins to be used for chipselects. + See: Documentation/devicetree/bindings/spi/spi-bus.txt + +Optional properties: +- dmas: Two or more DMA channel specifiers following the convention outlined + in Documentation/devicetree/bindings/dma/dma.txt +- dma-names: Names for the dma channels. There must be at least one channel + named "spi-tx" for transmit and named "spi-rx" for receive. + +Example: + +spi1: spi@1f821000 { + compatible = "microchip,pic32mzda-spi"; + reg = <0x1f821000 0x200>; + interrupts = <109 IRQ_TYPE_LEVEL_HIGH>, + <110 IRQ_TYPE_LEVEL_HIGH>, + <111 IRQ_TYPE_LEVEL_HIGH>; + interrupt-names = "fault", "rx", "tx"; + clocks = <&PBCLK2>; + clock-names = "mck0"; + cs-gpios = <&gpio3 4 GPIO_ACTIVE_LOW>; + dmas = <&dma 134>, <&dma 135>; + dma-names = "spi-rx", "spi-tx"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/nuvoton,npcm-pspi.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/nuvoton,npcm-pspi.txt index 6de6007592..a4e72e52af 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/nuvoton,npcm-pspi.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/nuvoton,npcm-pspi.txt @@ -1,36 +1,36 @@ -Nuvoton NPCM Peripheral Serial Peripheral Interface(PSPI) controller driver - -Nuvoton NPCM7xx SOC support two PSPI channels. - -Required properties: - - compatible : "nuvoton,npcm750-pspi" for Poleg NPCM7XX. - "nuvoton,npcm845-pspi" for Arbel NPCM8XX. - - #address-cells : should be 1. see spi-bus.txt - - #size-cells : should be 0. see spi-bus.txt - - specifies physical base address and size of the register. - - interrupts : contain PSPI interrupt. - - clocks : phandle of PSPI reference clock. - - clock-names: Should be "clk_apb5". - - pinctrl-names : a pinctrl state named "default" must be defined. - - pinctrl-0 : phandle referencing pin configuration of the device. - - resets : phandle to the reset control for this device. - - cs-gpios: Specifies the gpio pins to be used for chipselects. - See: Documentation/devicetree/bindings/spi/spi-bus.txt - -Optional properties: -- clock-frequency : Input clock frequency to the PSPI block in Hz. - Default is 25000000 Hz. - -spi0: spi@f0200000 { - compatible = "nuvoton,npcm750-pspi"; - reg = <0xf0200000 0x1000>; - pinctrl-names = "default"; - pinctrl-0 = <&pspi1_pins>; - #address-cells = <1>; - #size-cells = <0>; - interrupts = ; - clocks = <&clk NPCM7XX_CLK_APB5>; - clock-names = "clk_apb5"; - resets = <&rstc NPCM7XX_RESET_IPSRST2 NPCM7XX_RESET_PSPI1> - cs-gpios = <&gpio6 11 GPIO_ACTIVE_LOW>; -}; +Nuvoton NPCM Peripheral Serial Peripheral Interface(PSPI) controller driver + +Nuvoton NPCM7xx SOC support two PSPI channels. + +Required properties: + - compatible : "nuvoton,npcm750-pspi" for Poleg NPCM7XX. + "nuvoton,npcm845-pspi" for Arbel NPCM8XX. + - #address-cells : should be 1. see spi-bus.txt + - #size-cells : should be 0. see spi-bus.txt + - specifies physical base address and size of the register. + - interrupts : contain PSPI interrupt. + - clocks : phandle of PSPI reference clock. + - clock-names: Should be "clk_apb5". + - pinctrl-names : a pinctrl state named "default" must be defined. + - pinctrl-0 : phandle referencing pin configuration of the device. + - resets : phandle to the reset control for this device. + - cs-gpios: Specifies the gpio pins to be used for chipselects. + See: Documentation/devicetree/bindings/spi/spi-bus.txt + +Optional properties: +- clock-frequency : Input clock frequency to the PSPI block in Hz. + Default is 25000000 Hz. + +spi0: spi@f0200000 { + compatible = "nuvoton,npcm750-pspi"; + reg = <0xf0200000 0x1000>; + pinctrl-names = "default"; + pinctrl-0 = <&pspi1_pins>; + #address-cells = <1>; + #size-cells = <0>; + interrupts = ; + clocks = <&clk NPCM7XX_CLK_APB5>; + clock-names = "clk_apb5"; + resets = <&rstc NPCM7XX_RESET_IPSRST2 NPCM7XX_RESET_PSPI1> + cs-gpios = <&gpio6 11 GPIO_ACTIVE_LOW>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/nuvoton,wpcm450-fiu.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/nuvoton,wpcm450-fiu.yaml index 00c79152b2..4e0d391e1d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/nuvoton,wpcm450-fiu.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/nuvoton,wpcm450-fiu.yaml @@ -1,66 +1,66 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/spi/nuvoton,wpcm450-fiu.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Nuvoton WPCM450 Flash Interface Unit (FIU) - -maintainers: - - Jonathan Neuschäfer - -allOf: - - $ref: /schemas/spi/spi-controller.yaml# - -properties: - compatible: - const: nuvoton,wpcm450-fiu - - reg: - items: - - description: FIU registers - - description: Memory-mapped flash contents - - reg-names: - items: - - const: control - - const: memory - - interrupts: - maxItems: 1 - - clocks: - maxItems: 1 - - nuvoton,shm: - $ref: /schemas/types.yaml#/definitions/phandle - description: a phandle to the SHM block (see ../arm/nuvoton,shm.yaml) - -required: - - compatible - - reg - - clocks - -unevaluatedProperties: false - -examples: - - | - spi@c8000000 { - compatible = "nuvoton,wpcm450-fiu"; - reg = <0xc8000000 0x1000>, <0xc0000000 0x4000000>; - #address-cells = <1>; - #size-cells = <0>; - reg-names = "control", "memory"; - clocks = <&clk 0>; - nuvoton,shm = <&shm>; - - flash@0 { - compatible = "jedec,spi-nor"; - reg = <0>; - }; - }; - - shm: syscon@c8001000 { - compatible = "nuvoton,wpcm450-shm", "syscon"; - reg = <0xc8001000 0x1000>; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/spi/nuvoton,wpcm450-fiu.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Nuvoton WPCM450 Flash Interface Unit (FIU) + +maintainers: + - Jonathan Neuschäfer + +allOf: + - $ref: /schemas/spi/spi-controller.yaml# + +properties: + compatible: + const: nuvoton,wpcm450-fiu + + reg: + items: + - description: FIU registers + - description: Memory-mapped flash contents + + reg-names: + items: + - const: control + - const: memory + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + + nuvoton,shm: + $ref: /schemas/types.yaml#/definitions/phandle + description: a phandle to the SHM block (see ../arm/nuvoton,shm.yaml) + +required: + - compatible + - reg + - clocks + +unevaluatedProperties: false + +examples: + - | + spi@c8000000 { + compatible = "nuvoton,wpcm450-fiu"; + reg = <0xc8000000 0x1000>, <0xc0000000 0x4000000>; + #address-cells = <1>; + #size-cells = <0>; + reg-names = "control", "memory"; + clocks = <&clk 0>; + nuvoton,shm = <&shm>; + + flash@0 { + compatible = "jedec,spi-nor"; + reg = <0>; + }; + }; + + shm: syscon@c8001000 { + compatible = "nuvoton,wpcm450-shm", "syscon"; + reg = <0xc8001000 0x1000>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/nvidia,tegra20-sflash.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/nvidia,tegra20-sflash.yaml index 01537edb56..e245bad85a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/nvidia,tegra20-sflash.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/nvidia,tegra20-sflash.yaml @@ -1,81 +1,81 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/spi/nvidia,tegra20-sflash.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: NVIDIA Tegra20 SFLASH controller - -maintainers: - - Thierry Reding - - Jon Hunter - -properties: - compatible: - const: nvidia,tegra20-sflash - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - items: - - description: module clock - - resets: - items: - - description: module reset - - reset-names: - items: - - const: spi - - dmas: - items: - - description: DMA channel used for reception - - description: DMA channel used for transmission - - dma-names: - items: - - const: rx - - const: tx - - spi-max-frequency: - description: Maximum SPI clocking speed of the controller in Hz. - $ref: /schemas/types.yaml#/definitions/uint32 - -allOf: - - $ref: spi-controller.yaml - -unevaluatedProperties: false - -required: - - compatible - - reg - - interrupts - - clocks - - resets - - reset-names - - dmas - - dma-names - -examples: - - | - #include - #include - - spi@7000c380 { - compatible = "nvidia,tegra20-sflash"; - reg = <0x7000c380 0x80>; - interrupts = ; - spi-max-frequency = <25000000>; - #address-cells = <1>; - #size-cells = <0>; - clocks = <&tegra_car TEGRA20_CLK_SPI>; - resets = <&tegra_car 43>; - reset-names = "spi"; - dmas = <&apbdma 11>, <&apbdma 11>; - dma-names = "rx", "tx"; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/spi/nvidia,tegra20-sflash.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NVIDIA Tegra20 SFLASH controller + +maintainers: + - Thierry Reding + - Jon Hunter + +properties: + compatible: + const: nvidia,tegra20-sflash + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + items: + - description: module clock + + resets: + items: + - description: module reset + + reset-names: + items: + - const: spi + + dmas: + items: + - description: DMA channel used for reception + - description: DMA channel used for transmission + + dma-names: + items: + - const: rx + - const: tx + + spi-max-frequency: + description: Maximum SPI clocking speed of the controller in Hz. + $ref: /schemas/types.yaml#/definitions/uint32 + +allOf: + - $ref: spi-controller.yaml + +unevaluatedProperties: false + +required: + - compatible + - reg + - interrupts + - clocks + - resets + - reset-names + - dmas + - dma-names + +examples: + - | + #include + #include + + spi@7000c380 { + compatible = "nvidia,tegra20-sflash"; + reg = <0x7000c380 0x80>; + interrupts = ; + spi-max-frequency = <25000000>; + #address-cells = <1>; + #size-cells = <0>; + clocks = <&tegra_car TEGRA20_CLK_SPI>; + resets = <&tegra_car 43>; + reset-names = "spi"; + dmas = <&apbdma 11>, <&apbdma 11>; + dma-names = "rx", "tx"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/renesas,rzv2m-csi.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/renesas,rzv2m-csi.yaml index 7bcfd92799..bed829837d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/renesas,rzv2m-csi.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/renesas,rzv2m-csi.yaml @@ -1,79 +1,79 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/spi/renesas,rzv2m-csi.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Renesas RZ/V2M Clocked Serial Interface (CSI) - -maintainers: - - Fabrizio Castro - - Geert Uytterhoeven - -allOf: - - $ref: spi-controller.yaml# - -properties: - compatible: - const: renesas,rzv2m-csi - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - items: - - description: The clock used to generate the output clock (CSICLK) - - description: Internal clock to access the registers (PCLK) - - clock-names: - items: - - const: csiclk - - const: pclk - - resets: - maxItems: 1 - - power-domains: - maxItems: 1 - - renesas,csi-no-ss: - type: boolean - description: - The CSI Slave Selection (SS) pin won't be used to enable transmission and - reception. Only available when in target mode. - -required: - - compatible - - reg - - interrupts - - clocks - - clock-names - - resets - - power-domains - - '#address-cells' - - '#size-cells' - -dependencies: - renesas,csi-no-ss: [ spi-slave ] - -unevaluatedProperties: false - -examples: - - | - #include - #include - csi4: spi@a4020200 { - compatible = "renesas,rzv2m-csi"; - reg = <0xa4020200 0x80>; - interrupts = ; - clocks = <&cpg CPG_MOD R9A09G011_CSI4_CLK>, - <&cpg CPG_MOD R9A09G011_CPERI_GRPH_PCLK>; - clock-names = "csiclk", "pclk"; - resets = <&cpg R9A09G011_CSI_GPH_PRESETN>; - power-domains = <&cpg>; - #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/renesas,rzv2m-csi.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Renesas RZ/V2M Clocked Serial Interface (CSI) + +maintainers: + - Fabrizio Castro + - Geert Uytterhoeven + +allOf: + - $ref: spi-controller.yaml# + +properties: + compatible: + const: renesas,rzv2m-csi + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + items: + - description: The clock used to generate the output clock (CSICLK) + - description: Internal clock to access the registers (PCLK) + + clock-names: + items: + - const: csiclk + - const: pclk + + resets: + maxItems: 1 + + power-domains: + maxItems: 1 + + renesas,csi-no-ss: + type: boolean + description: + The CSI Slave Selection (SS) pin won't be used to enable transmission and + reception. Only available when in target mode. + +required: + - compatible + - reg + - interrupts + - clocks + - clock-names + - resets + - power-domains + - '#address-cells' + - '#size-cells' + +dependencies: + renesas,csi-no-ss: [ spi-slave ] + +unevaluatedProperties: false + +examples: + - | + #include + #include + csi4: spi@a4020200 { + compatible = "renesas,rzv2m-csi"; + reg = <0xa4020200 0x80>; + interrupts = ; + clocks = <&cpg CPG_MOD R9A09G011_CSI4_CLK>, + <&cpg CPG_MOD R9A09G011_CPERI_GRPH_PCLK>; + clock-names = "csiclk", "pclk"; + resets = <&cpg R9A09G011_CSI_GPH_PRESETN>; + power-domains = <&cpg>; + #address-cells = <1>; + #size-cells = <0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/socionext,synquacer-spi.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/socionext,synquacer-spi.yaml index 10a7718d59..45cbe744c7 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/socionext,synquacer-spi.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/socionext,synquacer-spi.yaml @@ -1,73 +1,73 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/spi/socionext,synquacer-spi.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Socionext SynQuacer HS-SPI Controller - -maintainers: - - Masahisa Kojima - - Jassi Brar - -allOf: - - $ref: spi-controller.yaml# - -properties: - compatible: - const: socionext,synquacer-spi - - reg: - maxItems: 1 - - clocks: - minItems: 1 - items: - - description: core clock - - description: rate clock - - clock-names: - minItems: 1 - items: - - const: iHCLK - - const: iPCLK - - interrupts: - items: - - description: Receive Interrupt - - description: Transmit Interrupt - - description: Fault Interrupt - - socionext,use-rtm: - type: boolean - description: Enable using "retimed clock" for RX - - socionext,set-aces: - type: boolean - description: Enable same active clock edges field to be set - -required: - - compatible - - reg - - interrupts - - clocks - - clock-names - -unevaluatedProperties: false - -examples: - - | - #include - - spi@ff110000 { - compatible = "socionext,synquacer-spi"; - reg = <0xff110000 0x1000>; - interrupts = , - , - ; - clocks = <&clk_hsspi>; - clock-names = "iHCLK"; - socionext,use-rtm; - socionext,set-aces; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/spi/socionext,synquacer-spi.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Socionext SynQuacer HS-SPI Controller + +maintainers: + - Masahisa Kojima + - Jassi Brar + +allOf: + - $ref: spi-controller.yaml# + +properties: + compatible: + const: socionext,synquacer-spi + + reg: + maxItems: 1 + + clocks: + minItems: 1 + items: + - description: core clock + - description: rate clock + + clock-names: + minItems: 1 + items: + - const: iHCLK + - const: iPCLK + + interrupts: + items: + - description: Receive Interrupt + - description: Transmit Interrupt + - description: Fault Interrupt + + socionext,use-rtm: + type: boolean + description: Enable using "retimed clock" for RX + + socionext,set-aces: + type: boolean + description: Enable same active clock edges field to be set + +required: + - compatible + - reg + - interrupts + - clocks + - clock-names + +unevaluatedProperties: false + +examples: + - | + #include + + spi@ff110000 { + compatible = "socionext,synquacer-spi"; + reg = <0xff110000 0x1000>; + interrupts = , + , + ; + clocks = <&clk_hsspi>; + clock-names = "iHCLK"; + socionext,use-rtm; + socionext,set-aces; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/spi-cadence.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/spi-cadence.yaml index 20e2cd3108..8de96abe9d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/spi-cadence.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/spi-cadence.yaml @@ -1,86 +1,86 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/spi/spi-cadence.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Cadence SPI controller - -maintainers: - - Michal Simek - -allOf: - - $ref: spi-controller.yaml# - -properties: - compatible: - enum: - - cdns,spi-r1p6 - - xlnx,zynq-spi-r1p6 - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clock-names: - items: - - const: ref_clk - - const: pclk - - clocks: - maxItems: 2 - - num-cs: - description: | - Number of chip selects used. If a decoder is used, - this will be the number of chip selects after the - decoder. - $ref: /schemas/types.yaml#/definitions/uint32 - minimum: 1 - maximum: 4 - default: 4 - - is-decoded-cs: - description: | - Flag to indicate whether decoder is used or not. - $ref: /schemas/types.yaml#/definitions/uint32 - enum: [ 0, 1 ] - default: 0 - - power-domains: - maxItems: 1 - - label: - description: Descriptive name of the SPI controller. - - resets: - maxItems: 1 - - reset-names: - items: - - const: spi - -required: - - compatible - - reg - - interrupts - - clock-names - - clocks - -unevaluatedProperties: false - -examples: - - | - spi@e0007000 { - compatible = "xlnx,zynq-spi-r1p6"; - clock-names = "ref_clk", "pclk"; - clocks = <&clkc 26>, <&clkc 35>; - interrupt-parent = <&intc>; - interrupts = <0 49 4>; - num-cs = <4>; - is-decoded-cs = <0>; - reg = <0xe0007000 0x1000>; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/spi/spi-cadence.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Cadence SPI controller + +maintainers: + - Michal Simek + +allOf: + - $ref: spi-controller.yaml# + +properties: + compatible: + enum: + - cdns,spi-r1p6 + - xlnx,zynq-spi-r1p6 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clock-names: + items: + - const: ref_clk + - const: pclk + + clocks: + maxItems: 2 + + num-cs: + description: | + Number of chip selects used. If a decoder is used, + this will be the number of chip selects after the + decoder. + $ref: /schemas/types.yaml#/definitions/uint32 + minimum: 1 + maximum: 4 + default: 4 + + is-decoded-cs: + description: | + Flag to indicate whether decoder is used or not. + $ref: /schemas/types.yaml#/definitions/uint32 + enum: [ 0, 1 ] + default: 0 + + power-domains: + maxItems: 1 + + label: + description: Descriptive name of the SPI controller. + + resets: + maxItems: 1 + + reset-names: + items: + - const: spi + +required: + - compatible + - reg + - interrupts + - clock-names + - clocks + +unevaluatedProperties: false + +examples: + - | + spi@e0007000 { + compatible = "xlnx,zynq-spi-r1p6"; + clock-names = "ref_clk", "pclk"; + clocks = <&clkc 26>, <&clkc 35>; + interrupt-parent = <&intc>; + interrupts = <0 49 4>; + num-cs = <4>; + is-decoded-cs = <0>; + reg = <0xe0007000 0x1000>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/spi-gpio.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/spi-gpio.yaml index bf4ca0f4d1..9ce1df93d4 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/spi-gpio.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/spi-gpio.yaml @@ -1,74 +1,74 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/spi/spi-gpio.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: SPI-GPIO - -maintainers: - - Rob Herring - -description: - This represents a group of 3-n GPIO lines used for bit-banged SPI on - dedicated GPIO lines. - -allOf: - - $ref: /schemas/spi/spi-controller.yaml# - -properties: - compatible: - const: spi-gpio - - sck-gpios: - description: GPIO spec for the SCK line to use - maxItems: 1 - - miso-gpios: - description: GPIO spec for the MISO line to use - maxItems: 1 - - mosi-gpios: - description: GPIO spec for the MOSI line to use - maxItems: 1 - - cs-gpios: - description: GPIOs to use for chipselect lines. - Not needed if num-chipselects = <0>. - minItems: 1 - maxItems: 1024 - - num-chipselects: - description: Number of chipselect lines. Should be <0> if a single device - with no chip select is connected. - $ref: /schemas/types.yaml#/definitions/uint32 - - # Deprecated properties - gpio-sck: false - gpio-miso: false - gpio-mosi: false - -required: - - compatible - - num-chipselects - - sck-gpios - -unevaluatedProperties: false - -examples: - - | - spi { - compatible = "spi-gpio"; - #address-cells = <0x1>; - #size-cells = <0x0>; - - sck-gpios = <&gpio 95 0>; - miso-gpios = <&gpio 98 0>; - mosi-gpios = <&gpio 97 0>; - cs-gpios = <&gpio 125 0>; - num-chipselects = <1>; - - /* clients */ - }; - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/spi/spi-gpio.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: SPI-GPIO + +maintainers: + - Rob Herring + +description: + This represents a group of 3-n GPIO lines used for bit-banged SPI on + dedicated GPIO lines. + +allOf: + - $ref: /schemas/spi/spi-controller.yaml# + +properties: + compatible: + const: spi-gpio + + sck-gpios: + description: GPIO spec for the SCK line to use + maxItems: 1 + + miso-gpios: + description: GPIO spec for the MISO line to use + maxItems: 1 + + mosi-gpios: + description: GPIO spec for the MOSI line to use + maxItems: 1 + + cs-gpios: + description: GPIOs to use for chipselect lines. + Not needed if num-chipselects = <0>. + minItems: 1 + maxItems: 1024 + + num-chipselects: + description: Number of chipselect lines. Should be <0> if a single device + with no chip select is connected. + $ref: /schemas/types.yaml#/definitions/uint32 + + # Deprecated properties + gpio-sck: false + gpio-miso: false + gpio-mosi: false + +required: + - compatible + - num-chipselects + - sck-gpios + +unevaluatedProperties: false + +examples: + - | + spi { + compatible = "spi-gpio"; + #address-cells = <0x1>; + #size-cells = <0x0>; + + sck-gpios = <&gpio 95 0>; + miso-gpios = <&gpio 98 0>; + mosi-gpios = <&gpio 97 0>; + cs-gpios = <&gpio 125 0>; + num-chipselects = <1>; + + /* clients */ + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/spi-sunplus-sp7021.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/spi-sunplus-sp7021.yaml index e1f556e0ba..edb5ba71af 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/spi-sunplus-sp7021.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/spi-sunplus-sp7021.yaml @@ -1,78 +1,78 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -# Copyright (C) Sunplus Co., Ltd. 2021 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/spi/spi-sunplus-sp7021.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Sunplus sp7021 SPI controller - -allOf: - - $ref: spi-controller.yaml - -maintainers: - - Li-hao Kuo - -properties: - compatible: - enum: - - sunplus,sp7021-spi - - reg: - items: - - description: the SPI master registers - - description: the SPI slave registers - - reg-names: - items: - - const: master - - const: slave - - interrupt-names: - items: - - const: dma_w - - const: master_risc - - const: slave_risc - - interrupts: - minItems: 3 - - clocks: - maxItems: 1 - - resets: - maxItems: 1 - -required: - - compatible - - reg - - reg-names - - interrupts - - interrupt-names - - clocks - - resets - - pinctrl-names - - pinctrl-0 - -unevaluatedProperties: false - -examples: - - | - #include - spi@9c002d80 { - compatible = "sunplus,sp7021-spi"; - reg = <0x9c002d80 0x80>, <0x9c002e00 0x80>; - reg-names = "master", "slave"; - interrupt-parent = <&intc>; - interrupt-names = "dma_w", - "master_risc", - "slave_risc"; - interrupts = <144 IRQ_TYPE_LEVEL_HIGH>, - <146 IRQ_TYPE_LEVEL_HIGH>, - <145 IRQ_TYPE_LEVEL_HIGH>; - clocks = <&clkc 0x32>; - resets = <&rstc 0x22>; - pinctrl-names = "default"; - pinctrl-0 = <&pins_spi0>; - }; -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +# Copyright (C) Sunplus Co., Ltd. 2021 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/spi/spi-sunplus-sp7021.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Sunplus sp7021 SPI controller + +allOf: + - $ref: spi-controller.yaml + +maintainers: + - Li-hao Kuo + +properties: + compatible: + enum: + - sunplus,sp7021-spi + + reg: + items: + - description: the SPI master registers + - description: the SPI slave registers + + reg-names: + items: + - const: master + - const: slave + + interrupt-names: + items: + - const: dma_w + - const: master_risc + - const: slave_risc + + interrupts: + minItems: 3 + + clocks: + maxItems: 1 + + resets: + maxItems: 1 + +required: + - compatible + - reg + - reg-names + - interrupts + - interrupt-names + - clocks + - resets + - pinctrl-names + - pinctrl-0 + +unevaluatedProperties: false + +examples: + - | + #include + spi@9c002d80 { + compatible = "sunplus,sp7021-spi"; + reg = <0x9c002d80 0x80>, <0x9c002e00 0x80>; + reg-names = "master", "slave"; + interrupt-parent = <&intc>; + interrupt-names = "dma_w", + "master_risc", + "slave_risc"; + interrupts = <144 IRQ_TYPE_LEVEL_HIGH>, + <146 IRQ_TYPE_LEVEL_HIGH>, + <145 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&clkc 0x32>; + resets = <&rstc 0x22>; + pinctrl-names = "default"; + pinctrl-0 = <&pins_spi0>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/st,stm32-qspi.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/st,stm32-qspi.yaml index e6156c3b88..3f1a27efff 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/st,stm32-qspi.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/st,stm32-qspi.yaml @@ -1,89 +1,89 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/spi/st,stm32-qspi.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: STMicroelectronics STM32 Quad Serial Peripheral Interface (QSPI) - -maintainers: - - Christophe Kerello - - Patrice Chotard - -allOf: - - $ref: spi-controller.yaml# - -properties: - compatible: - const: st,stm32f469-qspi - - reg: - items: - - description: registers - - description: memory mapping - - reg-names: - items: - - const: qspi - - const: qspi_mm - - clocks: - maxItems: 1 - - interrupts: - maxItems: 1 - - resets: - maxItems: 1 - - dmas: - items: - - description: tx DMA channel - - description: rx DMA channel - - dma-names: - items: - - const: tx - - const: rx - - access-controllers: - minItems: 1 - maxItems: 2 - -required: - - compatible - - reg - - reg-names - - clocks - - interrupts - -unevaluatedProperties: false - -examples: - - | - #include - #include - #include - spi@58003000 { - compatible = "st,stm32f469-qspi"; - reg = <0x58003000 0x1000>, <0x70000000 0x10000000>; - reg-names = "qspi", "qspi_mm"; - interrupts = ; - dmas = <&mdma1 22 0x10 0x100002 0x0 0x0>, - <&mdma1 22 0x10 0x100008 0x0 0x0>; - dma-names = "tx", "rx"; - clocks = <&rcc QSPI_K>; - resets = <&rcc QSPI_R>; - - #address-cells = <1>; - #size-cells = <0>; - - flash@0 { - compatible = "jedec,spi-nor"; - reg = <0>; - spi-rx-bus-width = <4>; - spi-max-frequency = <108000000>; - }; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/spi/st,stm32-qspi.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: STMicroelectronics STM32 Quad Serial Peripheral Interface (QSPI) + +maintainers: + - Christophe Kerello + - Patrice Chotard + +allOf: + - $ref: spi-controller.yaml# + +properties: + compatible: + const: st,stm32f469-qspi + + reg: + items: + - description: registers + - description: memory mapping + + reg-names: + items: + - const: qspi + - const: qspi_mm + + clocks: + maxItems: 1 + + interrupts: + maxItems: 1 + + resets: + maxItems: 1 + + dmas: + items: + - description: tx DMA channel + - description: rx DMA channel + + dma-names: + items: + - const: tx + - const: rx + + access-controllers: + minItems: 1 + maxItems: 2 + +required: + - compatible + - reg + - reg-names + - clocks + - interrupts + +unevaluatedProperties: false + +examples: + - | + #include + #include + #include + spi@58003000 { + compatible = "st,stm32f469-qspi"; + reg = <0x58003000 0x1000>, <0x70000000 0x10000000>; + reg-names = "qspi", "qspi_mm"; + interrupts = ; + dmas = <&mdma1 22 0x10 0x100002 0x0 0x0>, + <&mdma1 22 0x10 0x100008 0x0 0x0>; + dma-names = "tx", "rx"; + clocks = <&rcc QSPI_K>; + resets = <&rcc QSPI_R>; + + #address-cells = <1>; + #size-cells = <0>; + + flash@0 { + compatible = "jedec,spi-nor"; + reg = <0>; + spi-rx-bus-width = <4>; + spi-max-frequency = <108000000>; + }; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spmi/hisilicon,hisi-spmi-controller.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spmi/hisilicon,hisi-spmi-controller.yaml index 1fe8422fb0..3ccf35de37 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spmi/hisilicon,hisi-spmi-controller.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spmi/hisilicon,hisi-spmi-controller.yaml @@ -1,70 +1,70 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/spmi/hisilicon,hisi-spmi-controller.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: HiSilicon SPMI controller - -maintainers: - - Mauro Carvalho Chehab - -description: | - The HiSilicon SPMI BUS controller is found on some Kirin-based designs. - It is a MIPI System Power Management (SPMI) controller. - - The PMIC part is provided by - Documentation/devicetree/bindings/mfd/hisilicon,hi6421-spmi-pmic.yaml. - -allOf: - - $ref: spmi.yaml# - -properties: - - $nodename: - pattern: "spmi@[0-9a-f]" - - compatible: - const: hisilicon,kirin970-spmi-controller - - reg: - maxItems: 1 - - hisilicon,spmi-channel: - $ref: /schemas/types.yaml#/definitions/uint32 - description: | - number of the Kirin 970 SPMI channel where the SPMI devices are connected. - -required: - - compatible - - reg - - hisilicon,spmi-channel - -patternProperties: - "@[0-9a-f]$": - type: object - - description: | - PMIC properties, which are specific to the used SPMI PMIC device(s). - When used in combination with HiSilicon 6421v600, the properties - are documented at - Documentation/devicetree/bindings/mfd/hisilicon,hi6421-spmi-pmic.yaml - -unevaluatedProperties: false - -examples: - - | - #include - - spmi@fff24000 { - compatible = "hisilicon,kirin970-spmi-controller"; - reg = <0xfff24000 0x1000>; - #address-cells = <2>; - #size-cells = <0>; - hisilicon,spmi-channel = <2>; - - pmic@0 { - reg = <0 SPMI_USID>; - /* pmic properties */ - }; - }; +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/spmi/hisilicon,hisi-spmi-controller.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: HiSilicon SPMI controller + +maintainers: + - Mauro Carvalho Chehab + +description: | + The HiSilicon SPMI BUS controller is found on some Kirin-based designs. + It is a MIPI System Power Management (SPMI) controller. + + The PMIC part is provided by + Documentation/devicetree/bindings/mfd/hisilicon,hi6421-spmi-pmic.yaml. + +allOf: + - $ref: spmi.yaml# + +properties: + + $nodename: + pattern: "spmi@[0-9a-f]" + + compatible: + const: hisilicon,kirin970-spmi-controller + + reg: + maxItems: 1 + + hisilicon,spmi-channel: + $ref: /schemas/types.yaml#/definitions/uint32 + description: | + number of the Kirin 970 SPMI channel where the SPMI devices are connected. + +required: + - compatible + - reg + - hisilicon,spmi-channel + +patternProperties: + "@[0-9a-f]$": + type: object + + description: | + PMIC properties, which are specific to the used SPMI PMIC device(s). + When used in combination with HiSilicon 6421v600, the properties + are documented at + Documentation/devicetree/bindings/mfd/hisilicon,hi6421-spmi-pmic.yaml + +unevaluatedProperties: false + +examples: + - | + #include + + spmi@fff24000 { + compatible = "hisilicon,kirin970-spmi-controller"; + reg = <0xfff24000 0x1000>; + #address-cells = <2>; + #size-cells = <0>; + hisilicon,spmi-channel = <2>; + + pmic@0 { + reg = <0 SPMI_USID>; + /* pmic properties */ + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spmi/mtk,spmi-mtk-pmif.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spmi/mtk,spmi-mtk-pmif.yaml index 9d9d2eb3c0..ac99883a3f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spmi/mtk,spmi-mtk-pmif.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spmi/mtk,spmi-mtk-pmif.yaml @@ -1,81 +1,81 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/spmi/mtk,spmi-mtk-pmif.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Mediatek SPMI Controller - -maintainers: - - Hsin-Hsiung Wang - -description: |+ - On MediaTek SoCs the PMIC is connected via SPMI and the controller allows - for multiple SoCs to control a single SPMI master. - -allOf: - - $ref: spmi.yaml - -properties: - compatible: - oneOf: - - enum: - - mediatek,mt6873-spmi - - mediatek,mt8195-spmi - - items: - - enum: - - mediatek,mt8186-spmi - - const: mediatek,mt8195-spmi - - reg: - maxItems: 2 - - reg-names: - items: - - const: pmif - - const: spmimst - - clocks: - minItems: 3 - maxItems: 3 - - clock-names: - items: - - const: pmif_sys_ck - - const: pmif_tmr_ck - - const: spmimst_clk_mux - - assigned-clocks: - maxItems: 1 - - assigned-clock-parents: - maxItems: 1 - -required: - - compatible - - reg - - reg-names - - clocks - - clock-names - -unevaluatedProperties: false - -examples: - - | - #include - - spmi: spmi@10027000 { - compatible = "mediatek,mt6873-spmi"; - reg = <0x10027000 0xe00>, - <0x10029000 0x100>; - reg-names = "pmif", "spmimst"; - clocks = <&infracfg CLK_INFRA_PMIC_AP>, - <&infracfg CLK_INFRA_PMIC_TMR>, - <&topckgen CLK_TOP_SPMI_MST_SEL>; - clock-names = "pmif_sys_ck", - "pmif_tmr_ck", - "spmimst_clk_mux"; - assigned-clocks = <&topckgen CLK_TOP_PWRAP_ULPOSC_SEL>; - assigned-clock-parents = <&topckgen CLK_TOP_OSC_D10>; - }; -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/spmi/mtk,spmi-mtk-pmif.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Mediatek SPMI Controller + +maintainers: + - Hsin-Hsiung Wang + +description: |+ + On MediaTek SoCs the PMIC is connected via SPMI and the controller allows + for multiple SoCs to control a single SPMI master. + +allOf: + - $ref: spmi.yaml + +properties: + compatible: + oneOf: + - enum: + - mediatek,mt6873-spmi + - mediatek,mt8195-spmi + - items: + - enum: + - mediatek,mt8186-spmi + - const: mediatek,mt8195-spmi + + reg: + maxItems: 2 + + reg-names: + items: + - const: pmif + - const: spmimst + + clocks: + minItems: 3 + maxItems: 3 + + clock-names: + items: + - const: pmif_sys_ck + - const: pmif_tmr_ck + - const: spmimst_clk_mux + + assigned-clocks: + maxItems: 1 + + assigned-clock-parents: + maxItems: 1 + +required: + - compatible + - reg + - reg-names + - clocks + - clock-names + +unevaluatedProperties: false + +examples: + - | + #include + + spmi: spmi@10027000 { + compatible = "mediatek,mt6873-spmi"; + reg = <0x10027000 0xe00>, + <0x10029000 0x100>; + reg-names = "pmif", "spmimst"; + clocks = <&infracfg CLK_INFRA_PMIC_AP>, + <&infracfg CLK_INFRA_PMIC_TMR>, + <&topckgen CLK_TOP_SPMI_MST_SEL>; + clock-names = "pmif_sys_ck", + "pmif_tmr_ck", + "spmimst_clk_mux"; + assigned-clocks = <&topckgen CLK_TOP_PWRAP_ULPOSC_SEL>; + assigned-clock-parents = <&topckgen CLK_TOP_OSC_D10>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spmi/spmi.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spmi/spmi.yaml index eed2fed24e..c1b06fa5c6 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spmi/spmi.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spmi/spmi.yaml @@ -1,75 +1,75 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/spmi/spmi.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: System Power Management Interface (SPMI) Controller - -maintainers: - - Stephen Boyd - -description: | - The System Power Management (SPMI) controller is a 2-wire bus defined - by the MIPI Alliance for power management control to be used on SoC designs. - - SPMI controllers are modelled in device tree using a generic set of - bindings defined here, plus any bus controller specific properties, if - needed. - - Each SPMI controller has zero or more child nodes (up to 16 ones), each - one representing an unique slave at the bus. - -properties: - $nodename: - pattern: "^spmi@.*" - - "#address-cells": - const: 2 - - "#size-cells": - const: 0 - -patternProperties: - "@[0-9a-f]$": - description: up to 16 child PMIC nodes - type: object - - properties: - reg: - items: - - minItems: 1 - items: - - minimum: 0 - maximum: 0xf - - enum: [ 0 ] - description: - 0 means user ID address. 1 is reserved for group ID - address. - - required: - - reg - -required: - - reg - -additionalProperties: true - -examples: - - | - #include - - spmi@0 { - reg = <0 0>; - - #address-cells = <2>; - #size-cells = <0>; - - child@0 { - reg = <0 SPMI_USID>; - }; - - child@7 { - reg = <7 SPMI_USID>; - }; - }; +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/spmi/spmi.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: System Power Management Interface (SPMI) Controller + +maintainers: + - Stephen Boyd + +description: | + The System Power Management (SPMI) controller is a 2-wire bus defined + by the MIPI Alliance for power management control to be used on SoC designs. + + SPMI controllers are modelled in device tree using a generic set of + bindings defined here, plus any bus controller specific properties, if + needed. + + Each SPMI controller has zero or more child nodes (up to 16 ones), each + one representing an unique slave at the bus. + +properties: + $nodename: + pattern: "^spmi@.*" + + "#address-cells": + const: 2 + + "#size-cells": + const: 0 + +patternProperties: + "@[0-9a-f]$": + description: up to 16 child PMIC nodes + type: object + + properties: + reg: + items: + - minItems: 1 + items: + - minimum: 0 + maximum: 0xf + - enum: [ 0 ] + description: + 0 means user ID address. 1 is reserved for group ID + address. + + required: + - reg + +required: + - reg + +additionalProperties: true + +examples: + - | + #include + + spmi@0 { + reg = <0 0>; + + #address-cells = <2>; + #size-cells = <0>; + + child@0 { + reg = <0 SPMI_USID>; + }; + + child@7 { + reg = <7 SPMI_USID>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sram/qcom,imem.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sram/qcom,imem.yaml index a09eae78ff..faef3d6e0a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sram/qcom,imem.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sram/qcom,imem.yaml @@ -1,81 +1,81 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sram/qcom,imem.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm IMEM memory region - -maintainers: - - Bjorn Andersson - -description: - Qualcomm IMEM is dedicated memory region for various debug features and DMA - transactions. - -properties: - compatible: - items: - - enum: - - qcom,apq8064-imem - - qcom,msm8226-imem - - qcom,msm8974-imem - - qcom,qcs404-imem - - qcom,qdu1000-imem - - qcom,sa8775p-imem - - qcom,sc7180-imem - - qcom,sc7280-imem - - qcom,sdm630-imem - - qcom,sdm845-imem - - qcom,sdx55-imem - - qcom,sdx65-imem - - qcom,sm6375-imem - - qcom,sm8450-imem - - const: syscon - - const: simple-mfd - - reg: - maxItems: 1 - - ranges: true - - '#address-cells': - const: 1 - - '#size-cells': - const: 1 - - reboot-mode: - $ref: /schemas/power/reset/syscon-reboot-mode.yaml# - -patternProperties: - "^pil-reloc@[0-9a-f]+$": - $ref: /schemas/remoteproc/qcom,pil-info.yaml# - description: Peripheral image loader relocation region - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - soc { - #address-cells = <2>; - #size-cells = <2>; - - sram@146bf000 { - compatible = "qcom,sdm845-imem", "syscon", "simple-mfd"; - reg = <0 0x146bf000 0 0x1000>; - ranges = <0 0 0x146bf000 0x1000>; - - #address-cells = <1>; - #size-cells = <1>; - - pil-reloc@94c { - compatible = "qcom,pil-reloc-info"; - reg = <0x94c 0xc8>; - }; - }; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sram/qcom,imem.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm IMEM memory region + +maintainers: + - Bjorn Andersson + +description: + Qualcomm IMEM is dedicated memory region for various debug features and DMA + transactions. + +properties: + compatible: + items: + - enum: + - qcom,apq8064-imem + - qcom,msm8226-imem + - qcom,msm8974-imem + - qcom,qcs404-imem + - qcom,qdu1000-imem + - qcom,sa8775p-imem + - qcom,sc7180-imem + - qcom,sc7280-imem + - qcom,sdm630-imem + - qcom,sdm845-imem + - qcom,sdx55-imem + - qcom,sdx65-imem + - qcom,sm6375-imem + - qcom,sm8450-imem + - const: syscon + - const: simple-mfd + + reg: + maxItems: 1 + + ranges: true + + '#address-cells': + const: 1 + + '#size-cells': + const: 1 + + reboot-mode: + $ref: /schemas/power/reset/syscon-reboot-mode.yaml# + +patternProperties: + "^pil-reloc@[0-9a-f]+$": + $ref: /schemas/remoteproc/qcom,pil-info.yaml# + description: Peripheral image loader relocation region + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + soc { + #address-cells = <2>; + #size-cells = <2>; + + sram@146bf000 { + compatible = "qcom,sdm845-imem", "syscon", "simple-mfd"; + reg = <0 0x146bf000 0 0x1000>; + ranges = <0 0 0x146bf000 0x1000>; + + #address-cells = <1>; + #size-cells = <1>; + + pil-reloc@94c { + compatible = "qcom,pil-reloc-info"; + reg = <0x94c 0xc8>; + }; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/thermal/armada-thermal.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/thermal/armada-thermal.txt index 706328131f..ab8b8fccc7 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/thermal/armada-thermal.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/thermal/armada-thermal.txt @@ -1,42 +1,42 @@ -* Marvell Armada 370/375/380/XP thermal management - -Required properties: - -- compatible: Should be set to one of the following: - * marvell,armada370-thermal - * marvell,armada375-thermal - * marvell,armada380-thermal - * marvell,armadaxp-thermal - * marvell,armada-ap806-thermal - * marvell,armada-ap807-thermal - * marvell,armada-cp110-thermal - -Note: these bindings are deprecated for AP806/CP110 and should instead -follow the rules described in: -Documentation/devicetree/bindings/arm/marvell/ap80x-system-controller.txt -Documentation/devicetree/bindings/arm/marvell/cp110-system-controller.txt - -- reg: Device's register space. - Two entries are expected, see the examples below. The first one points - to the status register (4B). The second one points to the control - registers (8B). - Note: The compatibles marvell,armada370-thermal, - marvell,armada380-thermal, and marvell,armadaxp-thermal must point to - "control MSB/control 1", with size of 4 (deprecated binding), or point - to "control LSB/control 0" with size of 8 (current binding). All other - compatibles must point to "control LSB/control 0" with size of 8. - -Examples: - - /* Legacy bindings */ - thermal@d0018300 { - compatible = "marvell,armada370-thermal"; - reg = <0xd0018300 0x4 - 0xd0018304 0x4>; - }; - - ap_thermal: thermal@6f8084 { - compatible = "marvell,armada-ap806-thermal"; - reg = <0x6f808C 0x4>, - <0x6f8084 0x8>; - }; +* Marvell Armada 370/375/380/XP thermal management + +Required properties: + +- compatible: Should be set to one of the following: + * marvell,armada370-thermal + * marvell,armada375-thermal + * marvell,armada380-thermal + * marvell,armadaxp-thermal + * marvell,armada-ap806-thermal + * marvell,armada-ap807-thermal + * marvell,armada-cp110-thermal + +Note: these bindings are deprecated for AP806/CP110 and should instead +follow the rules described in: +Documentation/devicetree/bindings/arm/marvell/ap80x-system-controller.txt +Documentation/devicetree/bindings/arm/marvell/cp110-system-controller.txt + +- reg: Device's register space. + Two entries are expected, see the examples below. The first one points + to the status register (4B). The second one points to the control + registers (8B). + Note: The compatibles marvell,armada370-thermal, + marvell,armada380-thermal, and marvell,armadaxp-thermal must point to + "control MSB/control 1", with size of 4 (deprecated binding), or point + to "control LSB/control 0" with size of 8 (current binding). All other + compatibles must point to "control LSB/control 0" with size of 8. + +Examples: + + /* Legacy bindings */ + thermal@d0018300 { + compatible = "marvell,armada370-thermal"; + reg = <0xd0018300 0x4 + 0xd0018304 0x4>; + }; + + ap_thermal: thermal@6f8084 { + compatible = "marvell,armada-ap806-thermal"; + reg = <0x6f808C 0x4>, + <0x6f8084 0x8>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/thermal/db8500-thermal.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/thermal/db8500-thermal.txt index 8bbe9e017f..2e1c06fad8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/thermal/db8500-thermal.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/thermal/db8500-thermal.txt @@ -1,44 +1,44 @@ -* ST-Ericsson DB8500 Thermal - -** Thermal node properties: - -- compatible : "stericsson,db8500-thermal"; -- reg : address range of the thermal sensor registers; -- interrupts : interrupts generated from PRCMU; -- interrupt-names : "IRQ_HOTMON_LOW" and "IRQ_HOTMON_HIGH"; -- num-trips : number of total trip points, this is required, set it 0 if none, - if greater than 0, the following properties must be defined; -- tripN-temp : temperature of trip point N, should be in ascending order; -- tripN-type : type of trip point N, should be one of "active" "passive" "hot" - "critical"; -- tripN-cdev-num : number of the cooling devices which can be bound to trip - point N, this is required if trip point N is defined, set it 0 if none, - otherwise the following cooling device names must be defined; -- tripN-cdev-nameM : name of the No. M cooling device of trip point N; - -Usually the num-trips and tripN-*** are separated in board related dts files. - -Example: -thermal@801573c0 { - compatible = "stericsson,db8500-thermal"; - reg = <0x801573c0 0x40>; - interrupts = <21 0x4>, <22 0x4>; - interrupt-names = "IRQ_HOTMON_LOW", "IRQ_HOTMON_HIGH"; - - num-trips = <3>; - - trip0-temp = <75000>; - trip0-type = "active"; - trip0-cdev-num = <1>; - trip0-cdev-name0 = "thermal-cpufreq-0"; - - trip1-temp = <80000>; - trip1-type = "active"; - trip1-cdev-num = <2>; - trip1-cdev-name0 = "thermal-cpufreq-0"; - trip1-cdev-name1 = "thermal-fan"; - - trip2-temp = <85000>; - trip2-type = "critical"; - trip2-cdev-num = <0>; -} +* ST-Ericsson DB8500 Thermal + +** Thermal node properties: + +- compatible : "stericsson,db8500-thermal"; +- reg : address range of the thermal sensor registers; +- interrupts : interrupts generated from PRCMU; +- interrupt-names : "IRQ_HOTMON_LOW" and "IRQ_HOTMON_HIGH"; +- num-trips : number of total trip points, this is required, set it 0 if none, + if greater than 0, the following properties must be defined; +- tripN-temp : temperature of trip point N, should be in ascending order; +- tripN-type : type of trip point N, should be one of "active" "passive" "hot" + "critical"; +- tripN-cdev-num : number of the cooling devices which can be bound to trip + point N, this is required if trip point N is defined, set it 0 if none, + otherwise the following cooling device names must be defined; +- tripN-cdev-nameM : name of the No. M cooling device of trip point N; + +Usually the num-trips and tripN-*** are separated in board related dts files. + +Example: +thermal@801573c0 { + compatible = "stericsson,db8500-thermal"; + reg = <0x801573c0 0x40>; + interrupts = <21 0x4>, <22 0x4>; + interrupt-names = "IRQ_HOTMON_LOW", "IRQ_HOTMON_HIGH"; + + num-trips = <3>; + + trip0-temp = <75000>; + trip0-type = "active"; + trip0-cdev-num = <1>; + trip0-cdev-name0 = "thermal-cpufreq-0"; + + trip1-temp = <80000>; + trip1-type = "active"; + trip1-cdev-num = <2>; + trip1-cdev-name0 = "thermal-cpufreq-0"; + trip1-cdev-name1 = "thermal-fan"; + + trip2-temp = <85000>; + trip2-type = "critical"; + trip2-cdev-num = <0>; +} diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/thermal/imx8mm-thermal.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/thermal/imx8mm-thermal.yaml index 121eb07d14..bef0e95e74 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/thermal/imx8mm-thermal.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/thermal/imx8mm-thermal.yaml @@ -1,72 +1,72 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/thermal/imx8mm-thermal.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: NXP i.MX8M Mini Thermal - -maintainers: - - Shawn Guo - - Sascha Hauer - - Fabio Estevam - -description: | - i.MX8MM has TMU IP to allow temperature measurement, there are - currently two distinct major versions of the IP that is supported - by a single driver. The IP versions are named v1 and v2, v1 is - for i.MX8MM which has ONLY 1 sensor, v2 is for i.MX8MP which has - 2 sensors. - -$ref: thermal-sensor.yaml# - -properties: - compatible: - oneOf: - - enum: - - fsl,imx8mm-tmu - - fsl,imx8mp-tmu - - items: - - const: fsl,imx8mn-tmu - - const: fsl,imx8mm-tmu - - reg: - maxItems: 1 - - clocks: - maxItems: 1 - - nvmem-cells: - maxItems: 1 - description: Phandle to the calibration data provided by ocotp - - nvmem-cell-names: - const: calib - - "#thermal-sensor-cells": - description: | - Number of cells required to uniquely identify the thermal - sensors, 0 for ONLY one sensor and 1 for multiple sensors. - enum: - - 0 - - 1 - -required: - - compatible - - reg - - clocks - -unevaluatedProperties: false - -examples: - - | - #include - - thermal-sensor@30260000 { - compatible = "fsl,imx8mm-tmu"; - reg = <0x30260000 0x10000>; - clocks = <&clk IMX8MM_CLK_TMU_ROOT>; - #thermal-sensor-cells = <0>; - }; - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/thermal/imx8mm-thermal.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NXP i.MX8M Mini Thermal + +maintainers: + - Shawn Guo + - Sascha Hauer + - Fabio Estevam + +description: | + i.MX8MM has TMU IP to allow temperature measurement, there are + currently two distinct major versions of the IP that is supported + by a single driver. The IP versions are named v1 and v2, v1 is + for i.MX8MM which has ONLY 1 sensor, v2 is for i.MX8MP which has + 2 sensors. + +$ref: thermal-sensor.yaml# + +properties: + compatible: + oneOf: + - enum: + - fsl,imx8mm-tmu + - fsl,imx8mp-tmu + - items: + - const: fsl,imx8mn-tmu + - const: fsl,imx8mm-tmu + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + nvmem-cells: + maxItems: 1 + description: Phandle to the calibration data provided by ocotp + + nvmem-cell-names: + const: calib + + "#thermal-sensor-cells": + description: | + Number of cells required to uniquely identify the thermal + sensors, 0 for ONLY one sensor and 1 for multiple sensors. + enum: + - 0 + - 1 + +required: + - compatible + - reg + - clocks + +unevaluatedProperties: false + +examples: + - | + #include + + thermal-sensor@30260000 { + compatible = "fsl,imx8mm-tmu"; + reg = <0x30260000 0x10000>; + clocks = <&clk IMX8MM_CLK_TMU_ROOT>; + #thermal-sensor-cells = <0>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/thermal/loongson,ls2k-thermal.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/thermal/loongson,ls2k-thermal.yaml index 00b9bfbeb9..79e691b083 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/thermal/loongson,ls2k-thermal.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/thermal/loongson,ls2k-thermal.yaml @@ -1,71 +1,71 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/thermal/loongson,ls2k-thermal.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Thermal sensors on Loongson-2 SoCs - -maintainers: - - zhanghongchen - - Yinbo Zhu - -allOf: - - $ref: /schemas/thermal/thermal-sensor.yaml# - -properties: - compatible: - oneOf: - - enum: - - loongson,ls2k1000-thermal - - loongson,ls2k2000-thermal - - items: - - enum: - - loongson,ls2k0500-thermal - - const: loongson,ls2k1000-thermal - - reg: - minItems: 1 - maxItems: 2 - - interrupts: - maxItems: 1 - - '#thermal-sensor-cells': - const: 1 - -required: - - compatible - - reg - - interrupts - -if: - properties: - compatible: - contains: - enum: - - loongson,ls2k2000-thermal - -then: - properties: - reg: - minItems: 2 - maxItems: 2 - -else: - properties: - reg: - maxItems: 1 - -unevaluatedProperties: false - -examples: - - | - #include - thermal: thermal-sensor@1fe01500 { - compatible = "loongson,ls2k1000-thermal"; - reg = <0x1fe01500 0x30>; - interrupt-parent = <&liointc0>; - interrupts = <7 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/thermal/loongson,ls2k-thermal.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Thermal sensors on Loongson-2 SoCs + +maintainers: + - zhanghongchen + - Yinbo Zhu + +allOf: + - $ref: /schemas/thermal/thermal-sensor.yaml# + +properties: + compatible: + oneOf: + - enum: + - loongson,ls2k1000-thermal + - loongson,ls2k2000-thermal + - items: + - enum: + - loongson,ls2k0500-thermal + - const: loongson,ls2k1000-thermal + + reg: + minItems: 1 + maxItems: 2 + + interrupts: + maxItems: 1 + + '#thermal-sensor-cells': + const: 1 + +required: + - compatible + - reg + - interrupts + +if: + properties: + compatible: + contains: + enum: + - loongson,ls2k2000-thermal + +then: + properties: + reg: + minItems: 2 + maxItems: 2 + +else: + properties: + reg: + maxItems: 1 + +unevaluatedProperties: false + +examples: + - | + #include + thermal: thermal-sensor@1fe01500 { + compatible = "loongson,ls2k1000-thermal"; + reg = <0x1fe01500 0x30>; + interrupt-parent = <&liointc0>; + interrupts = <7 IRQ_TYPE_LEVEL_LOW>; + #thermal-sensor-cells = <1>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/thermal/max77620_thermal.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/thermal/max77620_thermal.txt index 3318a6a2e0..82ed5d4879 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/thermal/max77620_thermal.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/thermal/max77620_thermal.txt @@ -1,70 +1,70 @@ -Thermal driver for MAX77620 Power management IC from Maxim Semiconductor. - -Maxim Semiconductor MAX77620 supports alarm interrupts when its -die temperature crosses 120C and 140C. These threshold temperatures -are not configurable. Device does not provide the real temperature -of die other than just indicating whether temperature is above or -below threshold level. - -Required properties: -------------------- -#thermal-sensor-cells: For more details, please refer to - - The value must be 0. - -For more details, please refer generic thermal DT binding document -. - -Please refer for mfd DT binding -document for the MAX77620. - -Example: --------- -#include -#include -... - -i2c@7000d000 { - spmic: max77620@3c { - compatible = "maxim,max77620"; - ::::: - #thermal-sensor-cells = <0>; - ::: - }; -}; - -cool_dev: cool-dev { - compatible = "cooling-dev"; - #cooling-cells = <2>; -}; - -thermal-zones { - PMIC-Die { - polling-delay = <0>; - polling-delay-passive = <0>; - thermal-sensors = <&spmic>; - - trips { - pmic_die_warn_temp_thresh: hot-die { - temperature = <120000>; - type = "hot"; - hysteresis = <0>; - }; - - pmic_die_cirt_temp_thresh: cirtical-die { - temperature = <140000>; - type = "critical"; - hysteresis = <0>; - }; - }; - - cooling-maps { - map0 { - trip = <&pmic_die_warn_temp_thresh>; - cooling-device = <&cool_dev THERMAL_NO_LIMIT - THERMAL_NO_LIMIT>; - contribution = <100>; - }; - }; - }; -}; +Thermal driver for MAX77620 Power management IC from Maxim Semiconductor. + +Maxim Semiconductor MAX77620 supports alarm interrupts when its +die temperature crosses 120C and 140C. These threshold temperatures +are not configurable. Device does not provide the real temperature +of die other than just indicating whether temperature is above or +below threshold level. + +Required properties: +------------------- +#thermal-sensor-cells: For more details, please refer to + + The value must be 0. + +For more details, please refer generic thermal DT binding document +. + +Please refer for mfd DT binding +document for the MAX77620. + +Example: +-------- +#include +#include +... + +i2c@7000d000 { + spmic: max77620@3c { + compatible = "maxim,max77620"; + ::::: + #thermal-sensor-cells = <0>; + ::: + }; +}; + +cool_dev: cool-dev { + compatible = "cooling-dev"; + #cooling-cells = <2>; +}; + +thermal-zones { + PMIC-Die { + polling-delay = <0>; + polling-delay-passive = <0>; + thermal-sensors = <&spmic>; + + trips { + pmic_die_warn_temp_thresh: hot-die { + temperature = <120000>; + type = "hot"; + hysteresis = <0>; + }; + + pmic_die_cirt_temp_thresh: cirtical-die { + temperature = <140000>; + type = "critical"; + hysteresis = <0>; + }; + }; + + cooling-maps { + map0 { + trip = <&pmic_die_warn_temp_thresh>; + cooling-device = <&cool_dev THERMAL_NO_LIMIT + THERMAL_NO_LIMIT>; + contribution = <100>; + }; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/thermal/nvidia,tegra30-tsensor.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/thermal/nvidia,tegra30-tsensor.yaml index f0f72da91f..63a29a1f7f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/thermal/nvidia,tegra30-tsensor.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/thermal/nvidia,tegra30-tsensor.yaml @@ -1,70 +1,70 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/thermal/nvidia,tegra30-tsensor.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: NVIDIA Tegra30 Thermal Sensor - -maintainers: - - Dmitry Osipenko - - Jon Hunter - - Thierry Reding - -description: | - TSENSOR provides thermal and voltage sensors which monitor temperature - and voltage of the chip. Sensors are placed across the die to gauge the - temperature of the whole chip. The TSENSOR module: - - Generates an interrupt to SW to lower temperature via DVFS on reaching - a certain thermal/voltage threshold. - - Generates a signal to the CAR to reduce CPU frequency by half on reaching - a certain thermal/voltage threshold. - - Generates a signal to the PMC when the temperature reaches dangerously high - levels to reset the chip and sets a flag in the PMC. - - TSENSOR has two channels which monitor two different spots of the SoC. - -$ref: thermal-sensor.yaml# - -properties: - compatible: - const: nvidia,tegra30-tsensor - - reg: - maxItems: 1 - - clocks: - maxItems: 1 - - resets: - maxItems: 1 - - interrupts: - maxItems: 1 - - "#thermal-sensor-cells": - const: 1 - -required: - - compatible - - reg - - clocks - - resets - - interrupts - -unevaluatedProperties: false - -examples: - - | - thermal-sensor@70014000 { - compatible = "nvidia,tegra30-tsensor"; - reg = <0x70014000 0x500>; - interrupts = <0 102 4>; - clocks = <&clk 100>; - resets = <&rst 100>; - - #thermal-sensor-cells = <1>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/thermal/nvidia,tegra30-tsensor.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NVIDIA Tegra30 Thermal Sensor + +maintainers: + - Dmitry Osipenko + - Jon Hunter + - Thierry Reding + +description: | + TSENSOR provides thermal and voltage sensors which monitor temperature + and voltage of the chip. Sensors are placed across the die to gauge the + temperature of the whole chip. The TSENSOR module: + + Generates an interrupt to SW to lower temperature via DVFS on reaching + a certain thermal/voltage threshold. + + Generates a signal to the CAR to reduce CPU frequency by half on reaching + a certain thermal/voltage threshold. + + Generates a signal to the PMC when the temperature reaches dangerously high + levels to reset the chip and sets a flag in the PMC. + + TSENSOR has two channels which monitor two different spots of the SoC. + +$ref: thermal-sensor.yaml# + +properties: + compatible: + const: nvidia,tegra30-tsensor + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + resets: + maxItems: 1 + + interrupts: + maxItems: 1 + + "#thermal-sensor-cells": + const: 1 + +required: + - compatible + - reg + - clocks + - resets + - interrupts + +unevaluatedProperties: false + +examples: + - | + thermal-sensor@70014000 { + compatible = "nvidia,tegra30-tsensor"; + reg = <0x70014000 0x500>; + interrupts = <0 102 4>; + clocks = <&clk 100>; + resets = <&rst 100>; + + #thermal-sensor-cells = <1>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/thermal/rzg2l-thermal.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/thermal/rzg2l-thermal.yaml index 6ece1f47f9..136589f5ad 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/thermal/rzg2l-thermal.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/thermal/rzg2l-thermal.yaml @@ -1,79 +1,79 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/thermal/rzg2l-thermal.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Renesas RZ/G2L Thermal Sensor Unit - -description: - On RZ/G2L SoCs, the thermal sensor unit (TSU) measures the - temperature(Tj) inside the LSI. - -maintainers: - - Biju Das - -$ref: thermal-sensor.yaml# - -properties: - compatible: - items: - - enum: - - renesas,r9a07g043-tsu # RZ/G2UL and RZ/Five - - renesas,r9a07g044-tsu # RZ/G2{L,LC} - - renesas,r9a07g054-tsu # RZ/V2L - - const: renesas,rzg2l-tsu - - reg: - maxItems: 1 - - clocks: - maxItems: 1 - - power-domains: - maxItems: 1 - - resets: - maxItems: 1 - - "#thermal-sensor-cells": - const: 1 - -required: - - compatible - - reg - - clocks - - power-domains - - resets - -unevaluatedProperties: false - -examples: - - | - #include - - tsu: thermal@10059400 { - compatible = "renesas,r9a07g044-tsu", - "renesas,rzg2l-tsu"; - reg = <0x10059400 0x400>; - clocks = <&cpg CPG_MOD R9A07G044_TSU_PCLK>; - resets = <&cpg R9A07G044_TSU_PRESETN>; - power-domains = <&cpg>; - #thermal-sensor-cells = <1>; - }; - - thermal-zones { - cpu-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsu 0>; - - trips { - sensor_crit: sensor-crit { - temperature = <125000>; - hysteresis = <1000>; - type = "critical"; - }; - }; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/thermal/rzg2l-thermal.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Renesas RZ/G2L Thermal Sensor Unit + +description: + On RZ/G2L SoCs, the thermal sensor unit (TSU) measures the + temperature(Tj) inside the LSI. + +maintainers: + - Biju Das + +$ref: thermal-sensor.yaml# + +properties: + compatible: + items: + - enum: + - renesas,r9a07g043-tsu # RZ/G2UL and RZ/Five + - renesas,r9a07g044-tsu # RZ/G2{L,LC} + - renesas,r9a07g054-tsu # RZ/V2L + - const: renesas,rzg2l-tsu + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + power-domains: + maxItems: 1 + + resets: + maxItems: 1 + + "#thermal-sensor-cells": + const: 1 + +required: + - compatible + - reg + - clocks + - power-domains + - resets + +unevaluatedProperties: false + +examples: + - | + #include + + tsu: thermal@10059400 { + compatible = "renesas,r9a07g044-tsu", + "renesas,rzg2l-tsu"; + reg = <0x10059400 0x400>; + clocks = <&cpg CPG_MOD R9A07G044_TSU_PCLK>; + resets = <&cpg R9A07G044_TSU_PRESETN>; + power-domains = <&cpg>; + #thermal-sensor-cells = <1>; + }; + + thermal-zones { + cpu-thermal { + polling-delay-passive = <250>; + polling-delay = <1000>; + thermal-sensors = <&tsu 0>; + + trips { + sensor_crit: sensor-crit { + temperature = <125000>; + hysteresis = <1000>; + type = "critical"; + }; + }; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/thermal/socionext,uniphier-thermal.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/thermal/socionext,uniphier-thermal.yaml index a412887561..8210b70797 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/thermal/socionext,uniphier-thermal.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/thermal/socionext,uniphier-thermal.yaml @@ -1,55 +1,55 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/thermal/socionext,uniphier-thermal.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Socionext UniPhier thermal monitor - -description: | - This describes the devicetree bindings for thermal monitor supported by - PVT(Process, Voltage and Temperature) monitoring unit implemented on - Socionext UniPhier SoCs. - -maintainers: - - Kunihiko Hayashi - -$ref: thermal-sensor.yaml# - -properties: - compatible: - enum: - - socionext,uniphier-pxs2-thermal - - socionext,uniphier-ld20-thermal - - socionext,uniphier-pxs3-thermal - - socionext,uniphier-nx1-thermal - - interrupts: - maxItems: 1 - - "#thermal-sensor-cells": - const: 0 - - socionext,tmod-calibration: - $ref: /schemas/types.yaml#/definitions/uint32-array - maxItems: 2 - description: - A pair of calibrated values referred from PVT, in case that the values - aren't set on SoC, like a reference board. - -required: - - compatible - - interrupts - -unevaluatedProperties: false - -examples: - - | - // The UniPhier thermal should be a subnode of a "syscon" compatible node. - - #include - pvtctl: thermal-sensor { - compatible = "socionext,uniphier-ld20-thermal"; - interrupts = ; - #thermal-sensor-cells = <0>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/thermal/socionext,uniphier-thermal.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Socionext UniPhier thermal monitor + +description: | + This describes the devicetree bindings for thermal monitor supported by + PVT(Process, Voltage and Temperature) monitoring unit implemented on + Socionext UniPhier SoCs. + +maintainers: + - Kunihiko Hayashi + +$ref: thermal-sensor.yaml# + +properties: + compatible: + enum: + - socionext,uniphier-pxs2-thermal + - socionext,uniphier-ld20-thermal + - socionext,uniphier-pxs3-thermal + - socionext,uniphier-nx1-thermal + + interrupts: + maxItems: 1 + + "#thermal-sensor-cells": + const: 0 + + socionext,tmod-calibration: + $ref: /schemas/types.yaml#/definitions/uint32-array + maxItems: 2 + description: + A pair of calibrated values referred from PVT, in case that the values + aren't set on SoC, like a reference board. + +required: + - compatible + - interrupts + +unevaluatedProperties: false + +examples: + - | + // The UniPhier thermal should be a subnode of a "syscon" compatible node. + + #include + pvtctl: thermal-sensor { + compatible = "socionext,uniphier-ld20-thermal"; + interrupts = ; + #thermal-sensor-cells = <0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/thermal/st,stm32-thermal.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/thermal/st,stm32-thermal.yaml index 74ff7aedcf..1c01a80a0c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/thermal/st,stm32-thermal.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/thermal/st,stm32-thermal.yaml @@ -1,80 +1,80 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/thermal/st,stm32-thermal.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: STMicroelectronics STM32 digital thermal sensor (DTS) - -maintainers: - - Pascal Paillet - -$ref: thermal-sensor.yaml# - -properties: - compatible: - const: st,stm32-thermal - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - maxItems: 1 - - clock-names: - items: - - const: pclk - - "#thermal-sensor-cells": - const: 0 - -required: - - compatible - - reg - - interrupts - - clocks - - clock-names - -unevaluatedProperties: false - -examples: - - | - #include - #include - dts: thermal@50028000 { - compatible = "st,stm32-thermal"; - reg = <0x50028000 0x100>; - clocks = <&rcc TMPSENS>; - clock-names = "pclk"; - #thermal-sensor-cells = <0>; - interrupts = ; - }; - - thermal-zones { - cpu_thermal: cpu-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; - - thermal-sensors = <&dts>; - trips { - cpu_alert1: cpu-alert1 { - temperature = <85000>; - hysteresis = <0>; - type = "passive"; - }; - - cpu_crit: cpu-crit { - temperature = <120000>; - hysteresis = <0>; - type = "critical"; - }; - }; - - cooling-maps { - }; - }; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/thermal/st,stm32-thermal.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: STMicroelectronics STM32 digital thermal sensor (DTS) + +maintainers: + - Pascal Paillet + +$ref: thermal-sensor.yaml# + +properties: + compatible: + const: st,stm32-thermal + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + + clock-names: + items: + - const: pclk + + "#thermal-sensor-cells": + const: 0 + +required: + - compatible + - reg + - interrupts + - clocks + - clock-names + +unevaluatedProperties: false + +examples: + - | + #include + #include + dts: thermal@50028000 { + compatible = "st,stm32-thermal"; + reg = <0x50028000 0x100>; + clocks = <&rcc TMPSENS>; + clock-names = "pclk"; + #thermal-sensor-cells = <0>; + interrupts = ; + }; + + thermal-zones { + cpu_thermal: cpu-thermal { + polling-delay-passive = <0>; + polling-delay = <0>; + + thermal-sensors = <&dts>; + trips { + cpu_alert1: cpu-alert1 { + temperature = <85000>; + hysteresis = <0>; + type = "passive"; + }; + + cpu_crit: cpu-crit { + temperature = <120000>; + hysteresis = <0>; + type = "critical"; + }; + }; + + cooling-maps { + }; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/allwinner,sun5i-a13-hstimer.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/allwinner,sun5i-a13-hstimer.yaml index 5f6d99642d..f1853daec2 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/allwinner,sun5i-a13-hstimer.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/allwinner,sun5i-a13-hstimer.yaml @@ -1,77 +1,77 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/timer/allwinner,sun5i-a13-hstimer.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Allwinner A13 High-Speed Timer - -maintainers: - - Chen-Yu Tsai - - Maxime Ripard - -properties: - compatible: - oneOf: - - const: allwinner,sun5i-a13-hstimer - - const: allwinner,sun7i-a20-hstimer - - items: - - const: allwinner,sun6i-a31-hstimer - - const: allwinner,sun7i-a20-hstimer - - reg: - maxItems: 1 - - interrupts: - minItems: 2 - items: - - description: Timer 0 Interrupt - - description: Timer 1 Interrupt - - description: Timer 2 Interrupt - - description: Timer 3 Interrupt - - clocks: - maxItems: 1 - - resets: - maxItems: 1 - -required: - - compatible - - reg - - interrupts - - clocks - -if: - properties: - compatible: - const: allwinner,sun5i-a13-hstimer - -then: - properties: - interrupts: - minItems: 2 - maxItems: 2 - -else: - properties: - interrupts: - minItems: 4 - maxItems: 4 - -additionalProperties: false - -examples: - - | - timer@1c60000 { - compatible = "allwinner,sun7i-a20-hstimer"; - reg = <0x01c60000 0x1000>; - interrupts = <0 51 1>, - <0 52 1>, - <0 53 1>, - <0 54 1>; - clocks = <&ahb1_gates 19>; - resets = <&ahb1rst 19>; - }; - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/timer/allwinner,sun5i-a13-hstimer.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Allwinner A13 High-Speed Timer + +maintainers: + - Chen-Yu Tsai + - Maxime Ripard + +properties: + compatible: + oneOf: + - const: allwinner,sun5i-a13-hstimer + - const: allwinner,sun7i-a20-hstimer + - items: + - const: allwinner,sun6i-a31-hstimer + - const: allwinner,sun7i-a20-hstimer + + reg: + maxItems: 1 + + interrupts: + minItems: 2 + items: + - description: Timer 0 Interrupt + - description: Timer 1 Interrupt + - description: Timer 2 Interrupt + - description: Timer 3 Interrupt + + clocks: + maxItems: 1 + + resets: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + - clocks + +if: + properties: + compatible: + const: allwinner,sun5i-a13-hstimer + +then: + properties: + interrupts: + minItems: 2 + maxItems: 2 + +else: + properties: + interrupts: + minItems: 4 + maxItems: 4 + +additionalProperties: false + +examples: + - | + timer@1c60000 { + compatible = "allwinner,sun7i-a20-hstimer"; + reg = <0x01c60000 0x1000>; + interrupts = <0 51 1>, + <0 52 1>, + <0 53 1>, + <0 54 1>; + clocks = <&ahb1_gates 19>; + resets = <&ahb1rst 19>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/brcm,bcm2835-system-timer.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/brcm,bcm2835-system-timer.yaml index 7ff51277dc..f5804b5b0e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/brcm,bcm2835-system-timer.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/brcm,bcm2835-system-timer.yaml @@ -1,50 +1,50 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/timer/brcm,bcm2835-system-timer.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: BCM2835 System Timer - -maintainers: - - Stefan Wahren - - Raspberry Pi Kernel Maintenance - -description: - The System Timer peripheral provides four 32-bit timer channels and a - single 64-bit free running counter. Each channel has an output compare - register, which is compared against the 32 least significant bits of the - free running counter values, and generates an interrupt. - -properties: - compatible: - const: brcm,bcm2835-system-timer - - reg: - maxItems: 1 - - interrupts: - items: - - description: System Timer Compare 0 match (used by VideoCore GPU) - - description: System Timer Compare 1 match (usable for ARM core) - - description: System Timer Compare 2 match (used by VideoCore GPU) - - description: System Timer Compare 3 match (usable for ARM core) - - clock-frequency: true - -required: - - compatible - - reg - - interrupts - -additionalProperties: false - -examples: - - | - timer@7e003000 { - compatible = "brcm,bcm2835-system-timer"; - reg = <0x7e003000 0x1000>; - interrupts = <1 0>, <1 1>, <1 2>, <1 3>; - clock-frequency = <1000000>; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/timer/brcm,bcm2835-system-timer.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: BCM2835 System Timer + +maintainers: + - Stefan Wahren + - Raspberry Pi Kernel Maintenance + +description: + The System Timer peripheral provides four 32-bit timer channels and a + single 64-bit free running counter. Each channel has an output compare + register, which is compared against the 32 least significant bits of the + free running counter values, and generates an interrupt. + +properties: + compatible: + const: brcm,bcm2835-system-timer + + reg: + maxItems: 1 + + interrupts: + items: + - description: System Timer Compare 0 match (used by VideoCore GPU) + - description: System Timer Compare 1 match (usable for ARM core) + - description: System Timer Compare 2 match (used by VideoCore GPU) + - description: System Timer Compare 3 match (usable for ARM core) + + clock-frequency: true + +required: + - compatible + - reg + - interrupts + +additionalProperties: false + +examples: + - | + timer@7e003000 { + compatible = "brcm,bcm2835-system-timer"; + reg = <0x7e003000 0x1000>; + interrupts = <1 0>, <1 1>, <1 2>, <1 3>; + clock-frequency = <1000000>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/fsl,ftm-timer.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/fsl,ftm-timer.yaml index 68c335e5fb..0e4a8ddc3d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/fsl,ftm-timer.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/fsl,ftm-timer.yaml @@ -1,59 +1,59 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/timer/fsl,ftm-timer.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Freescale FlexTimer Module (FTM) Timer - -maintainers: - - Animesh Agarwal - -properties: - compatible: - const: fsl,ftm-timer - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - description: The clocks provided by the SoC to drive the timer, must - contain an entry for each entry in clock-names. - minItems: 4 - maxItems: 4 - - clock-names: - items: - - const: ftm-evt - - const: ftm-src - - const: ftm-evt-counter-en - - const: ftm-src-counter-en - - big-endian: true - -required: - - compatible - - reg - - interrupts - - clocks - - clock-names - -additionalProperties: false - -examples: - - | - #include - #include - - ftm@400b8000 { - compatible = "fsl,ftm-timer"; - reg = <0x400b8000 0x1000>; - interrupts = <0 44 IRQ_TYPE_LEVEL_HIGH>; - clock-names = "ftm-evt", "ftm-src", "ftm-evt-counter-en", "ftm-src-counter-en"; - clocks = <&clks VF610_CLK_FTM2>, <&clks VF610_CLK_FTM3>, - <&clks VF610_CLK_FTM2_EXT_FIX_EN>, <&clks VF610_CLK_FTM3_EXT_FIX_EN>; - big-endian; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/timer/fsl,ftm-timer.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Freescale FlexTimer Module (FTM) Timer + +maintainers: + - Animesh Agarwal + +properties: + compatible: + const: fsl,ftm-timer + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + description: The clocks provided by the SoC to drive the timer, must + contain an entry for each entry in clock-names. + minItems: 4 + maxItems: 4 + + clock-names: + items: + - const: ftm-evt + - const: ftm-src + - const: ftm-evt-counter-en + - const: ftm-src-counter-en + + big-endian: true + +required: + - compatible + - reg + - interrupts + - clocks + - clock-names + +additionalProperties: false + +examples: + - | + #include + #include + + ftm@400b8000 { + compatible = "fsl,ftm-timer"; + reg = <0x400b8000 0x1000>; + interrupts = <0 44 IRQ_TYPE_LEVEL_HIGH>; + clock-names = "ftm-evt", "ftm-src", "ftm-evt-counter-en", "ftm-src-counter-en"; + clocks = <&clks VF610_CLK_FTM2>, <&clks VF610_CLK_FTM3>, + <&clks VF610_CLK_FTM2_EXT_FIX_EN>, <&clks VF610_CLK_FTM3_EXT_FIX_EN>; + big-endian; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/marvell,armada-370-xp-timer.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/marvell,armada-370-xp-timer.txt index ef1503e338..e9c78ce880 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/marvell,armada-370-xp-timer.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/marvell,armada-370-xp-timer.txt @@ -1,44 +1,44 @@ -Marvell Armada 370 and Armada XP Timers ---------------------------------------- - -Required properties: -- compatible: Should be one of the following - "marvell,armada-370-timer", - "marvell,armada-375-timer", - "marvell,armada-xp-timer". -- interrupts: Should contain the list of Global Timer interrupts and - then local timer interrupts -- reg: Should contain location and length for timers register. First - pair for the Global Timer registers, second pair for the - local/private timers. - -Clocks required for compatible = "marvell,armada-370-timer": -- clocks : Must contain a single entry describing the clock input - -Clocks required for compatibles = "marvell,armada-xp-timer", - "marvell,armada-375-timer": -- clocks : Must contain an entry for each entry in clock-names. -- clock-names : Must include the following entries: - "nbclk" (L2/coherency fabric clock), - "fixed" (Reference 25 MHz fixed-clock). - -Examples: - -- Armada 370: - - timer { - compatible = "marvell,armada-370-timer"; - reg = <0x20300 0x30>, <0x21040 0x30>; - interrupts = <37>, <38>, <39>, <40>, <5>, <6>; - clocks = <&coreclk 2>; - }; - -- Armada XP: - - timer { - compatible = "marvell,armada-xp-timer"; - reg = <0x20300 0x30>, <0x21040 0x30>; - interrupts = <37>, <38>, <39>, <40>, <5>, <6>; - clocks = <&coreclk 2>, <&refclk>; - clock-names = "nbclk", "fixed"; - }; +Marvell Armada 370 and Armada XP Timers +--------------------------------------- + +Required properties: +- compatible: Should be one of the following + "marvell,armada-370-timer", + "marvell,armada-375-timer", + "marvell,armada-xp-timer". +- interrupts: Should contain the list of Global Timer interrupts and + then local timer interrupts +- reg: Should contain location and length for timers register. First + pair for the Global Timer registers, second pair for the + local/private timers. + +Clocks required for compatible = "marvell,armada-370-timer": +- clocks : Must contain a single entry describing the clock input + +Clocks required for compatibles = "marvell,armada-xp-timer", + "marvell,armada-375-timer": +- clocks : Must contain an entry for each entry in clock-names. +- clock-names : Must include the following entries: + "nbclk" (L2/coherency fabric clock), + "fixed" (Reference 25 MHz fixed-clock). + +Examples: + +- Armada 370: + + timer { + compatible = "marvell,armada-370-timer"; + reg = <0x20300 0x30>, <0x21040 0x30>; + interrupts = <37>, <38>, <39>, <40>, <5>, <6>; + clocks = <&coreclk 2>; + }; + +- Armada XP: + + timer { + compatible = "marvell,armada-xp-timer"; + reg = <0x20300 0x30>, <0x21040 0x30>; + interrupts = <37>, <38>, <39>, <40>, <5>, <6>; + clocks = <&coreclk 2>, <&refclk>; + clock-names = "nbclk", "fixed"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/nuvoton,npcm7xx-timer.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/nuvoton,npcm7xx-timer.yaml index f8699f0fc1..d53e1bb98b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/nuvoton,npcm7xx-timer.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/nuvoton,npcm7xx-timer.yaml @@ -1,54 +1,54 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/timer/nuvoton,npcm7xx-timer.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Nuvoton NPCM7xx timer - -maintainers: - - Jonathan Neuschäfer - - Tomer Maimon - -properties: - compatible: - enum: - - nuvoton,wpcm450-timer # for Hermon WPCM450 - - nuvoton,npcm750-timer # for Poleg NPCM750 - - nuvoton,npcm845-timer # for Arbel NPCM845 - - reg: - maxItems: 1 - - interrupts: - items: - - description: The timer interrupt of timer 0 - - clocks: - items: - - description: The reference clock for timer 0 - - description: The reference clock for timer 1 - - description: The reference clock for timer 2 - - description: The reference clock for timer 3 - - description: The reference clock for timer 4 - minItems: 1 - -required: - - compatible - - reg - - interrupts - - clocks - -additionalProperties: false - -examples: - - | - #include - #include - #include - timer@f0008000 { - compatible = "nuvoton,npcm750-timer"; - interrupts = ; - reg = <0xf0008000 0x50>; - clocks = <&clk NPCM7XX_CLK_TIMER>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/timer/nuvoton,npcm7xx-timer.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Nuvoton NPCM7xx timer + +maintainers: + - Jonathan Neuschäfer + - Tomer Maimon + +properties: + compatible: + enum: + - nuvoton,wpcm450-timer # for Hermon WPCM450 + - nuvoton,npcm750-timer # for Poleg NPCM750 + - nuvoton,npcm845-timer # for Arbel NPCM845 + + reg: + maxItems: 1 + + interrupts: + items: + - description: The timer interrupt of timer 0 + + clocks: + items: + - description: The reference clock for timer 0 + - description: The reference clock for timer 1 + - description: The reference clock for timer 2 + - description: The reference clock for timer 3 + - description: The reference clock for timer 4 + minItems: 1 + +required: + - compatible + - reg + - interrupts + - clocks + +additionalProperties: false + +examples: + - | + #include + #include + #include + timer@f0008000 { + compatible = "nuvoton,npcm750-timer"; + interrupts = ; + reg = <0xf0008000 0x50>; + clocks = <&clk NPCM7XX_CLK_TIMER>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/nxp,tpm-timer.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/nxp,tpm-timer.yaml index 5b112e9ddc..f69773a8e4 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/nxp,tpm-timer.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/nxp,tpm-timer.yaml @@ -1,65 +1,65 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/timer/nxp,tpm-timer.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: NXP Low Power Timer/Pulse Width Modulation Module (TPM) - -maintainers: - - Dong Aisheng - -description: | - The Timer/PWM Module (TPM) supports input capture, output compare, - and the generation of PWM signals to control electric motor and power - management applications. The counter, compare and capture registers - are clocked by an asynchronous clock that can remain enabled in low - power modes. TPM can support global counter bus where one TPM drives - the counter bus for the others, provided bit width is the same. - -properties: - compatible: - oneOf: - - const: fsl,imx7ulp-tpm - - items: - - const: fsl,imx8ulp-tpm - - const: fsl,imx7ulp-tpm - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - items: - - description: SoC TPM ipg clock - - description: SoC TPM per clock - - clock-names: - items: - - const: ipg - - const: per - -required: - - compatible - - reg - - interrupts - - clocks - - clock-names - -additionalProperties: false - -examples: - - | - #include - #include - - timer@40260000 { - compatible = "fsl,imx7ulp-tpm"; - reg = <0x40260000 0x1000>; - interrupts = ; - clocks = <&scg1 IMX7ULP_CLK_NIC1_BUS_DIV>, - <&pcc2 IMX7ULP_CLK_LPTPM5>; - clock-names = "ipg", "per"; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/timer/nxp,tpm-timer.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NXP Low Power Timer/Pulse Width Modulation Module (TPM) + +maintainers: + - Dong Aisheng + +description: | + The Timer/PWM Module (TPM) supports input capture, output compare, + and the generation of PWM signals to control electric motor and power + management applications. The counter, compare and capture registers + are clocked by an asynchronous clock that can remain enabled in low + power modes. TPM can support global counter bus where one TPM drives + the counter bus for the others, provided bit width is the same. + +properties: + compatible: + oneOf: + - const: fsl,imx7ulp-tpm + - items: + - const: fsl,imx8ulp-tpm + - const: fsl,imx7ulp-tpm + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + items: + - description: SoC TPM ipg clock + - description: SoC TPM per clock + + clock-names: + items: + - const: ipg + - const: per + +required: + - compatible + - reg + - interrupts + - clocks + - clock-names + +additionalProperties: false + +examples: + - | + #include + #include + + timer@40260000 { + compatible = "fsl,imx7ulp-tpm"; + reg = <0x40260000 0x1000>; + interrupts = ; + clocks = <&scg1 IMX7ULP_CLK_NIC1_BUS_DIV>, + <&pcc2 IMX7ULP_CLK_LPTPM5>; + clock-names = "ipg", "per"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/realtek,otto-timer.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/realtek,otto-timer.yaml index d8b83a2bde..7b6ec2c694 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/realtek,otto-timer.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/realtek,otto-timer.yaml @@ -1,63 +1,63 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/timer/realtek,otto-timer.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Realtek Otto SoCs Timer/Counter - -description: - Realtek SoCs support a number of timers/counters. These are used - as a per CPU clock event generator and an overall CPU clocksource. - -maintainers: - - Chris Packham - -properties: - $nodename: - pattern: "^timer@[0-9a-f]+$" - - compatible: - items: - - enum: - - realtek,rtl9302-timer - - const: realtek,otto-timer - - reg: - items: - - description: timer0 registers - - description: timer1 registers - - description: timer2 registers - - description: timer3 registers - - description: timer4 registers - - clocks: - maxItems: 1 - - interrupts: - items: - - description: timer0 interrupt - - description: timer1 interrupt - - description: timer2 interrupt - - description: timer3 interrupt - - description: timer4 interrupt - -required: - - compatible - - reg - - clocks - - interrupts - -additionalProperties: false - -examples: - - | - timer@3200 { - compatible = "realtek,rtl9302-timer", "realtek,otto-timer"; - reg = <0x3200 0x10>, <0x3210 0x10>, <0x3220 0x10>, - <0x3230 0x10>, <0x3240 0x10>; - - interrupt-parent = <&intc>; - interrupts = <7>, <8>, <9>, <10>, <11>; - clocks = <&lx_clk>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/timer/realtek,otto-timer.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Realtek Otto SoCs Timer/Counter + +description: + Realtek SoCs support a number of timers/counters. These are used + as a per CPU clock event generator and an overall CPU clocksource. + +maintainers: + - Chris Packham + +properties: + $nodename: + pattern: "^timer@[0-9a-f]+$" + + compatible: + items: + - enum: + - realtek,rtl9302-timer + - const: realtek,otto-timer + + reg: + items: + - description: timer0 registers + - description: timer1 registers + - description: timer2 registers + - description: timer3 registers + - description: timer4 registers + + clocks: + maxItems: 1 + + interrupts: + items: + - description: timer0 interrupt + - description: timer1 interrupt + - description: timer2 interrupt + - description: timer3 interrupt + - description: timer4 interrupt + +required: + - compatible + - reg + - clocks + - interrupts + +additionalProperties: false + +examples: + - | + timer@3200 { + compatible = "realtek,rtl9302-timer", "realtek,otto-timer"; + reg = <0x3200 0x10>, <0x3210 0x10>, <0x3220 0x10>, + <0x3230 0x10>, <0x3240 0x10>; + + interrupt-parent = <&intc>; + interrupts = <7>, <8>, <9>, <10>, <11>; + clocks = <&lx_clk>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/renesas,mtu2.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/renesas,mtu2.yaml index 205b6d37c8..15d8dddf4a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/renesas,mtu2.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/renesas,mtu2.yaml @@ -1,76 +1,76 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/timer/renesas,mtu2.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Renesas Multi-Function Timer Pulse Unit 2 (MTU2) - -maintainers: - - Geert Uytterhoeven - - Laurent Pinchart - -description: - The MTU2 is a multi-purpose, multi-channel timer/counter with configurable clock inputs - and programmable compare match. - - Channels share hardware resources but their counter and compare match value are - independent. The MTU2 hardware supports five channels indexed from 0 to 4. - -properties: - compatible: - items: - - enum: - - renesas,mtu2-r7s72100 # RZ/A1H - - const: renesas,mtu2 - - reg: - maxItems: 1 - - interrupts: - minItems: 1 - maxItems: 5 - description: One entry for each enabled channel. - - interrupt-names: - minItems: 1 - items: - - const: tgi0a - - const: tgi1a - - const: tgi2a - - const: tgi3a - - const: tgi4a - - clocks: - maxItems: 1 - - clock-names: - const: fck - - power-domains: - maxItems: 1 - -required: - - compatible - - reg - - interrupts - - interrupt-names - - clocks - - clock-names - - power-domains - -additionalProperties: false - -examples: - - | - #include - #include - mtu2: timer@fcff0000 { - compatible = "renesas,mtu2-r7s72100", "renesas,mtu2"; - reg = <0xfcff0000 0x400>; - interrupts = ; - interrupt-names = "tgi0a"; - clocks = <&mstp3_clks R7S72100_CLK_MTU2>; - clock-names = "fck"; - power-domains = <&cpg_clocks>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/timer/renesas,mtu2.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Renesas Multi-Function Timer Pulse Unit 2 (MTU2) + +maintainers: + - Geert Uytterhoeven + - Laurent Pinchart + +description: + The MTU2 is a multi-purpose, multi-channel timer/counter with configurable clock inputs + and programmable compare match. + + Channels share hardware resources but their counter and compare match value are + independent. The MTU2 hardware supports five channels indexed from 0 to 4. + +properties: + compatible: + items: + - enum: + - renesas,mtu2-r7s72100 # RZ/A1H + - const: renesas,mtu2 + + reg: + maxItems: 1 + + interrupts: + minItems: 1 + maxItems: 5 + description: One entry for each enabled channel. + + interrupt-names: + minItems: 1 + items: + - const: tgi0a + - const: tgi1a + - const: tgi2a + - const: tgi3a + - const: tgi4a + + clocks: + maxItems: 1 + + clock-names: + const: fck + + power-domains: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + - interrupt-names + - clocks + - clock-names + - power-domains + +additionalProperties: false + +examples: + - | + #include + #include + mtu2: timer@fcff0000 { + compatible = "renesas,mtu2-r7s72100", "renesas,mtu2"; + reg = <0xfcff0000 0x400>; + interrupts = ; + interrupt-names = "tgi0a"; + clocks = <&mstp3_clks R7S72100_CLK_MTU2>; + clock-names = "fck"; + power-domains = <&cpg_clocks>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/riscv,timer.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/riscv,timer.yaml index 0d45787894..38d67e1a5a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/riscv,timer.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/riscv,timer.yaml @@ -1,52 +1,52 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/timer/riscv,timer.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: RISC-V timer - -maintainers: - - Anup Patel - -description: |+ - RISC-V platforms always have a RISC-V timer device for the supervisor-mode - based on the time CSR defined by the RISC-V privileged specification. The - timer interrupts of this device are configured using the RISC-V SBI Time - extension or the RISC-V Sstc extension. - - The clock frequency of RISC-V timer device is specified via the - "timebase-frequency" DT property of "/cpus" DT node which is described - in Documentation/devicetree/bindings/riscv/cpus.yaml - -properties: - compatible: - enum: - - riscv,timer - - interrupts-extended: - minItems: 1 - maxItems: 4096 # Should be enough? - - riscv,timer-cannot-wake-cpu: - type: boolean - description: - If present, the timer interrupt cannot wake up the CPU from one or - more suspend/idle states. - -additionalProperties: false - -required: - - compatible - - interrupts-extended - -examples: - - | - timer { - compatible = "riscv,timer"; - interrupts-extended = <&cpu1intc 5>, - <&cpu2intc 5>, - <&cpu3intc 5>, - <&cpu4intc 5>; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/timer/riscv,timer.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: RISC-V timer + +maintainers: + - Anup Patel + +description: |+ + RISC-V platforms always have a RISC-V timer device for the supervisor-mode + based on the time CSR defined by the RISC-V privileged specification. The + timer interrupts of this device are configured using the RISC-V SBI Time + extension or the RISC-V Sstc extension. + + The clock frequency of RISC-V timer device is specified via the + "timebase-frequency" DT property of "/cpus" DT node which is described + in Documentation/devicetree/bindings/riscv/cpus.yaml + +properties: + compatible: + enum: + - riscv,timer + + interrupts-extended: + minItems: 1 + maxItems: 4096 # Should be enough? + + riscv,timer-cannot-wake-cpu: + type: boolean + description: + If present, the timer interrupt cannot wake up the CPU from one or + more suspend/idle states. + +additionalProperties: false + +required: + - compatible + - interrupts-extended + +examples: + - | + timer { + compatible = "riscv,timer"; + interrupts-extended = <&cpu1intc 5>, + <&cpu2intc 5>, + <&cpu3intc 5>, + <&cpu4intc 5>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/rockchip,rk-timer.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/rockchip,rk-timer.yaml index 7788b1fe7c..6d0eb0014e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/rockchip,rk-timer.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/rockchip,rk-timer.yaml @@ -1,66 +1,66 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/timer/rockchip,rk-timer.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Rockchip Timer - -maintainers: - - Daniel Lezcano - -properties: - compatible: - oneOf: - - const: rockchip,rk3288-timer - - const: rockchip,rk3399-timer - - items: - - enum: - - rockchip,rv1108-timer - - rockchip,rv1126-timer - - rockchip,rk3036-timer - - rockchip,rk3128-timer - - rockchip,rk3188-timer - - rockchip,rk3228-timer - - rockchip,rk3229-timer - - rockchip,rk3368-timer - - rockchip,rk3576-timer - - rockchip,rk3588-timer - - rockchip,px30-timer - - const: rockchip,rk3288-timer - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - minItems: 2 - maxItems: 2 - - clock-names: - items: - - const: pclk - - const: timer - -required: - - compatible - - reg - - interrupts - - clocks - - clock-names - -additionalProperties: false - -examples: - - | - #include - #include - - timer: timer@ff810000 { - compatible = "rockchip,rk3288-timer"; - reg = <0xff810000 0x20>; - interrupts = ; - clocks = <&cru PCLK_TIMER>, <&xin24m>; - clock-names = "pclk", "timer"; - }; +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/timer/rockchip,rk-timer.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Rockchip Timer + +maintainers: + - Daniel Lezcano + +properties: + compatible: + oneOf: + - const: rockchip,rk3288-timer + - const: rockchip,rk3399-timer + - items: + - enum: + - rockchip,rv1108-timer + - rockchip,rv1126-timer + - rockchip,rk3036-timer + - rockchip,rk3128-timer + - rockchip,rk3188-timer + - rockchip,rk3228-timer + - rockchip,rk3229-timer + - rockchip,rk3368-timer + - rockchip,rk3576-timer + - rockchip,rk3588-timer + - rockchip,px30-timer + - const: rockchip,rk3288-timer + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + minItems: 2 + maxItems: 2 + + clock-names: + items: + - const: pclk + - const: timer + +required: + - compatible + - reg + - interrupts + - clocks + - clock-names + +additionalProperties: false + +examples: + - | + #include + #include + + timer: timer@ff810000 { + compatible = "rockchip,rk3288-timer"; + reg = <0xff810000 0x20>; + interrupts = ; + clocks = <&cru PCLK_TIMER>, <&xin24m>; + clock-names = "pclk", "timer"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/snps,dw-apb-timer.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/snps,dw-apb-timer.yaml index 8364c1c8e4..d33c9205a9 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/snps,dw-apb-timer.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/snps,dw-apb-timer.yaml @@ -1,84 +1,84 @@ -# SPDX-License-Identifier: GPL-2.0-only -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/timer/snps,dw-apb-timer.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Synopsys DesignWare APB Timer - -maintainers: - - Daniel Lezcano - -properties: - compatible: - oneOf: - - const: snps,dw-apb-timer - - enum: - - snps,dw-apb-timer-sp - - snps,dw-apb-timer-osc - deprecated: true - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - resets: - maxItems: 1 - - clocks: - minItems: 1 - items: - - description: Timer ticks reference clock source - - description: APB interface clock source - - clock-names: - minItems: 1 - items: - - const: timer - - const: pclk - - clock-frequency: true - -additionalProperties: false - -required: - - compatible - - reg - - interrupts - -oneOf: - - required: - - clocks - - clock-names - - required: - - clock-frequency - - required: - - clock-freq - -examples: - - | - timer@ffe00000 { - compatible = "snps,dw-apb-timer"; - interrupts = <0 170 4>; - reg = <0xffe00000 0x1000>; - clocks = <&timer_clk>, <&timer_pclk>; - clock-names = "timer", "pclk"; - }; - - | - timer@ffe00000 { - compatible = "snps,dw-apb-timer"; - interrupts = <0 170 4>; - reg = <0xffe00000 0x1000>; - clocks = <&timer_clk>; - clock-names = "timer"; - }; - - | - timer@ffe00000 { - compatible = "snps,dw-apb-timer"; - interrupts = <0 170 4>; - reg = <0xffe00000 0x1000>; - clock-frequency = <25000000>; - }; -... +# SPDX-License-Identifier: GPL-2.0-only +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/timer/snps,dw-apb-timer.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Synopsys DesignWare APB Timer + +maintainers: + - Daniel Lezcano + +properties: + compatible: + oneOf: + - const: snps,dw-apb-timer + - enum: + - snps,dw-apb-timer-sp + - snps,dw-apb-timer-osc + deprecated: true + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + resets: + maxItems: 1 + + clocks: + minItems: 1 + items: + - description: Timer ticks reference clock source + - description: APB interface clock source + + clock-names: + minItems: 1 + items: + - const: timer + - const: pclk + + clock-frequency: true + +additionalProperties: false + +required: + - compatible + - reg + - interrupts + +oneOf: + - required: + - clocks + - clock-names + - required: + - clock-frequency + - required: + - clock-freq + +examples: + - | + timer@ffe00000 { + compatible = "snps,dw-apb-timer"; + interrupts = <0 170 4>; + reg = <0xffe00000 0x1000>; + clocks = <&timer_clk>, <&timer_pclk>; + clock-names = "timer", "pclk"; + }; + - | + timer@ffe00000 { + compatible = "snps,dw-apb-timer"; + interrupts = <0 170 4>; + reg = <0xffe00000 0x1000>; + clocks = <&timer_clk>; + clock-names = "timer"; + }; + - | + timer@ffe00000 { + compatible = "snps,dw-apb-timer"; + interrupts = <0 170 4>; + reg = <0xffe00000 0x1000>; + clock-frequency = <25000000>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/sprd,sc9860-timer.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/sprd,sc9860-timer.yaml index f1dcf7fdca..62c6da8bab 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/sprd,sc9860-timer.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/sprd,sc9860-timer.yaml @@ -1,68 +1,68 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/timer/sprd,sc9860-timer.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Spreadtrum SC9860 timer - -maintainers: - - Orson Zhai - - Baolin Wang - - Chunyan Zhang - -description: - The Spreadtrum SC9860 platform provides 3 general-purpose timers. - These timers can support 32bit or 64bit counter, as well as supporting - period mode or one-shot mode, and they can be a wakeup source - during deep sleep. - -properties: - compatible: - enum: - - sprd,sc9860-timer - - sprd,sc9860-suspend-timer - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - maxItems: 1 - -required: - - compatible - - reg - - clocks - -allOf: - - if: - properties: - compatible: - contains: - const: sprd,sc9860-timer - then: - required: - - interrupts - -additionalProperties: false - -examples: - - | - #include - #include - - soc { - #address-cells = <2>; - #size-cells = <2>; - - timer@40050000 { - compatible = "sprd,sc9860-timer"; - reg = <0 0x40050000 0 0x20>; - interrupts = ; - clocks = <&ext_32k>; - }; - }; -... +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/timer/sprd,sc9860-timer.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Spreadtrum SC9860 timer + +maintainers: + - Orson Zhai + - Baolin Wang + - Chunyan Zhang + +description: + The Spreadtrum SC9860 platform provides 3 general-purpose timers. + These timers can support 32bit or 64bit counter, as well as supporting + period mode or one-shot mode, and they can be a wakeup source + during deep sleep. + +properties: + compatible: + enum: + - sprd,sc9860-timer + - sprd,sc9860-suspend-timer + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + +required: + - compatible + - reg + - clocks + +allOf: + - if: + properties: + compatible: + contains: + const: sprd,sc9860-timer + then: + required: + - interrupts + +additionalProperties: false + +examples: + - | + #include + #include + + soc { + #address-cells = <2>; + #size-cells = <2>; + + timer@40050000 { + compatible = "sprd,sc9860-timer"; + reg = <0 0x40050000 0 0x20>; + interrupts = ; + clocks = <&ext_32k>; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/st,nomadik-mtu.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/st,nomadik-mtu.yaml index 391cdea174..fa65878b35 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/st,nomadik-mtu.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/st,nomadik-mtu.yaml @@ -1,58 +1,58 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -# Copyright 2022 Linaro Ltd. -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/timer/st,nomadik-mtu.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: ST Microelectronics Nomadik Multi-Timer Unit MTU Timer - -maintainers: - - Linus Walleij - -description: This timer is found in the ST Microelectronics Nomadik - SoCs STn8800, STn8810 and STn8815 as well as in ST-Ericsson DB8500. - -properties: - compatible: - items: - - const: st,nomadik-mtu - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - description: The first clock named TIMCLK clocks the actual timers and - the second clock clocks the digital interface to the interconnect. - maxItems: 2 - - clock-names: - items: - - const: timclk - - const: apb_pclk - -required: - - compatible - - reg - - interrupts - - clocks - - clock-names - -additionalProperties: false - -examples: - - | - #include - #include - #include - timer@a03c6000 { - compatible = "st,nomadik-mtu"; - reg = <0xa03c6000 0x1000>; - interrupts = ; - - clocks = <&prcmu_clk PRCMU_TIMCLK>, <&prcc_pclk 6 6>; - clock-names = "timclk", "apb_pclk"; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +# Copyright 2022 Linaro Ltd. +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/timer/st,nomadik-mtu.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ST Microelectronics Nomadik Multi-Timer Unit MTU Timer + +maintainers: + - Linus Walleij + +description: This timer is found in the ST Microelectronics Nomadik + SoCs STn8800, STn8810 and STn8815 as well as in ST-Ericsson DB8500. + +properties: + compatible: + items: + - const: st,nomadik-mtu + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + description: The first clock named TIMCLK clocks the actual timers and + the second clock clocks the digital interface to the interconnect. + maxItems: 2 + + clock-names: + items: + - const: timclk + - const: apb_pclk + +required: + - compatible + - reg + - interrupts + - clocks + - clock-names + +additionalProperties: false + +examples: + - | + #include + #include + #include + timer@a03c6000 { + compatible = "st,nomadik-mtu"; + reg = <0xa03c6000 0x1000>; + interrupts = ; + + clocks = <&prcmu_clk PRCMU_TIMCLK>, <&prcc_pclk 6 6>; + clock-names = "timclk", "apb_pclk"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/ti,da830-timer.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/ti,da830-timer.yaml index df3603a9c2..e9646f4e86 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/ti,da830-timer.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/ti,da830-timer.yaml @@ -1,68 +1,68 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/timer/ti,da830-timer.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: TI DaVinci Timer - -maintainers: - - Kousik Sanagavarapu - -description: | - This is a 64-bit timer found on TI's DaVinci architecture devices. The timer - can be configured as a general-purpose 64-bit timer, dual general-purpose - 32-bit timers. When configured as dual 32-bit timers, each half can operate - in conjunction (chain mode) or independently (unchained mode) of each other. - - The timer is a free running up-counter and can generate interrupts when the - counter reaches preset counter values. - -properties: - compatible: - const: ti,da830-timer - - reg: - maxItems: 1 - - interrupts: - minItems: 2 - maxItems: 10 - - interrupt-names: - minItems: 2 - items: - - const: tint12 - - const: tint34 - - const: cmpint0 - - const: cmpint1 - - const: cmpint2 - - const: cmpint3 - - const: cmpint4 - - const: cmpint5 - - const: cmpint6 - - const: cmpint7 - - clocks: - maxItems: 1 - -required: - - compatible - - reg - - interrupts - - interrupt-names - - clocks - -additionalProperties: false - -examples: - - | - timer@20000 { - compatible = "ti,da830-timer"; - reg = <0x20000 0x1000>; - interrupts = <21>, <22>; - interrupt-names = "tint12", "tint34"; - clocks = <&pll0_auxclk>; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/timer/ti,da830-timer.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: TI DaVinci Timer + +maintainers: + - Kousik Sanagavarapu + +description: | + This is a 64-bit timer found on TI's DaVinci architecture devices. The timer + can be configured as a general-purpose 64-bit timer, dual general-purpose + 32-bit timers. When configured as dual 32-bit timers, each half can operate + in conjunction (chain mode) or independently (unchained mode) of each other. + + The timer is a free running up-counter and can generate interrupts when the + counter reaches preset counter values. + +properties: + compatible: + const: ti,da830-timer + + reg: + maxItems: 1 + + interrupts: + minItems: 2 + maxItems: 10 + + interrupt-names: + minItems: 2 + items: + - const: tint12 + - const: tint34 + - const: cmpint0 + - const: cmpint1 + - const: cmpint2 + - const: cmpint3 + - const: cmpint4 + - const: cmpint5 + - const: cmpint6 + - const: cmpint7 + + clocks: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + - interrupt-names + - clocks + +additionalProperties: false + +examples: + - | + timer@20000 { + compatible = "ti,da830-timer"; + reg = <0x20000 0x1000>; + interrupts = <21>, <22>; + interrupt-names = "tint12", "tint34"; + clocks = <&pll0_auxclk>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/xlnx,xps-timer.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/xlnx,xps-timer.yaml index b38b6a52c3..b1597db042 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/xlnx,xps-timer.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/xlnx,xps-timer.yaml @@ -1,92 +1,92 @@ -# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/timer/xlnx,xps-timer.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Xilinx LogiCORE IP AXI Timer - -maintainers: - - Sean Anderson - -properties: - compatible: - contains: - const: xlnx,xps-timer-1.00.a - - clocks: - maxItems: 1 - - clock-names: - const: s_axi_aclk - - interrupts: - maxItems: 1 - - reg: - maxItems: 1 - - '#pwm-cells': true - - xlnx,count-width: - $ref: /schemas/types.yaml#/definitions/uint32 - enum: [8, 16, 32] - default: 32 - description: - The width of the counter(s), in bits. - - xlnx,one-timer-only: - $ref: /schemas/types.yaml#/definitions/uint32 - enum: [ 0, 1 ] - description: - Whether only one timer is present in this block. - -required: - - compatible - - reg - - xlnx,one-timer-only - -allOf: - - if: - required: - - '#pwm-cells' - then: - allOf: - - required: - - clocks - - properties: - xlnx,one-timer-only: - const: 0 - else: - required: - - interrupts - - if: - required: - - clocks - then: - required: - - clock-names - -additionalProperties: false - -examples: - - | - timer@800e0000 { - clock-names = "s_axi_aclk"; - clocks = <&zynqmp_clk 71>; - compatible = "xlnx,xps-timer-1.00.a"; - reg = <0x800e0000 0x10000>; - interrupts = <0 39 2>; - xlnx,count-width = <16>; - xlnx,one-timer-only = <0x0>; - }; - - timer@800f0000 { - #pwm-cells = <0>; - clock-names = "s_axi_aclk"; - clocks = <&zynqmp_clk 71>; - compatible = "xlnx,xps-timer-1.00.a"; - reg = <0x800e0000 0x10000>; - xlnx,count-width = <32>; - xlnx,one-timer-only = <0x0>; - }; +# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/timer/xlnx,xps-timer.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Xilinx LogiCORE IP AXI Timer + +maintainers: + - Sean Anderson + +properties: + compatible: + contains: + const: xlnx,xps-timer-1.00.a + + clocks: + maxItems: 1 + + clock-names: + const: s_axi_aclk + + interrupts: + maxItems: 1 + + reg: + maxItems: 1 + + '#pwm-cells': true + + xlnx,count-width: + $ref: /schemas/types.yaml#/definitions/uint32 + enum: [8, 16, 32] + default: 32 + description: + The width of the counter(s), in bits. + + xlnx,one-timer-only: + $ref: /schemas/types.yaml#/definitions/uint32 + enum: [ 0, 1 ] + description: + Whether only one timer is present in this block. + +required: + - compatible + - reg + - xlnx,one-timer-only + +allOf: + - if: + required: + - '#pwm-cells' + then: + allOf: + - required: + - clocks + - properties: + xlnx,one-timer-only: + const: 0 + else: + required: + - interrupts + - if: + required: + - clocks + then: + required: + - clock-names + +additionalProperties: false + +examples: + - | + timer@800e0000 { + clock-names = "s_axi_aclk"; + clocks = <&zynqmp_clk 71>; + compatible = "xlnx,xps-timer-1.00.a"; + reg = <0x800e0000 0x10000>; + interrupts = <0 39 2>; + xlnx,count-width = <16>; + xlnx,one-timer-only = <0x0>; + }; + + timer@800f0000 { + #pwm-cells = <0>; + clock-names = "s_axi_aclk"; + clocks = <&zynqmp_clk 71>; + compatible = "xlnx,xps-timer-1.00.a"; + reg = <0x800e0000 0x10000>; + xlnx,count-width = <32>; + xlnx,one-timer-only = <0x0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/tpm/google,cr50.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/tpm/google,cr50.yaml index 611a3efc9b..9302e12e9f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/tpm/google,cr50.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/tpm/google,cr50.yaml @@ -1,65 +1,65 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/tpm/google,cr50.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Google Security Chip H1 (running Cr50 firmware) - -maintainers: - - Andrey Pronin - -description: | - Google has designed a family of security chips called "Titan". - One member is the H1 built into Chromebooks and running Cr50 firmware: - https://www.osfc.io/2018/talks/google-secure-microcontroller-and-ccd-closed-case-debugging/ - - The chip provides several functions, including TPM 2.0 like functionality. - It communicates over SPI or I²C using the FIFO protocol described in the - TCG PC Client Platform TPM Profile Specification for TPM 2.0 (PTP), sec 6: - https://trustedcomputinggroup.org/resource/pc-client-platform-tpm-profile-ptp-specification/ - -properties: - compatible: - const: google,cr50 - -allOf: - - $ref: tpm-common.yaml# - -anyOf: - - $ref: /schemas/spi/spi-peripheral-props.yaml# - - $ref: tcg,tpm-tis-i2c.yaml#/properties/reg - -required: - - compatible - - reg - -unevaluatedProperties: false - -examples: - - | - spi { - #address-cells = <1>; - #size-cells = <0>; - - tpm@0 { - reg = <0>; - compatible = "google,cr50"; - spi-max-frequency = <800000>; - }; - }; - - - | - #include - i2c { - #address-cells = <1>; - #size-cells = <0>; - - tpm@50 { - compatible = "google,cr50"; - reg = <0x50>; - interrupts-extended = <&pio 88 IRQ_TYPE_EDGE_FALLING>; - pinctrl-names = "default"; - pinctrl-0 = <&cr50_int>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/tpm/google,cr50.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Google Security Chip H1 (running Cr50 firmware) + +maintainers: + - Andrey Pronin + +description: | + Google has designed a family of security chips called "Titan". + One member is the H1 built into Chromebooks and running Cr50 firmware: + https://www.osfc.io/2018/talks/google-secure-microcontroller-and-ccd-closed-case-debugging/ + + The chip provides several functions, including TPM 2.0 like functionality. + It communicates over SPI or I²C using the FIFO protocol described in the + TCG PC Client Platform TPM Profile Specification for TPM 2.0 (PTP), sec 6: + https://trustedcomputinggroup.org/resource/pc-client-platform-tpm-profile-ptp-specification/ + +properties: + compatible: + const: google,cr50 + +allOf: + - $ref: tpm-common.yaml# + +anyOf: + - $ref: /schemas/spi/spi-peripheral-props.yaml# + - $ref: tcg,tpm-tis-i2c.yaml#/properties/reg + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + spi { + #address-cells = <1>; + #size-cells = <0>; + + tpm@0 { + reg = <0>; + compatible = "google,cr50"; + spi-max-frequency = <800000>; + }; + }; + + - | + #include + i2c { + #address-cells = <1>; + #size-cells = <0>; + + tpm@50 { + compatible = "google,cr50"; + reg = <0x50>; + interrupts-extended = <&pio 88 IRQ_TYPE_EDGE_FALLING>; + pinctrl-names = "default"; + pinctrl-0 = <&cr50_int>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/tpm/microsoft,ftpm.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/tpm/microsoft,ftpm.yaml index 356a90815a..fdb81968f0 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/tpm/microsoft,ftpm.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/tpm/microsoft,ftpm.yaml @@ -1,47 +1,47 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/tpm/microsoft,ftpm.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Microsoft firmware-based Trusted Platform Module (fTPM) - -maintainers: - - Thirupathaiah Annapureddy - - Sasha Levin - -description: | - Commodity CPU architectures, such as ARM and Intel CPUs, have started to - offer trusted computing features in their CPUs aimed at displacing dedicated - trusted hardware. Unfortunately, these CPU architectures raise serious - challenges to building trusted systems because they omit providing secure - resources outside the CPU perimeter. - - Microsoft's firmware-based TPM 2.0 (fTPM) leverages ARM TrustZone to overcome - these challenges and provide software with security guarantees similar to - those of dedicated trusted hardware. - - https://www.microsoft.com/en-us/research/publication/ftpm-software-implementation-tpm-chip/ - https://github.com/Microsoft/ms-tpm-20-ref/tree/main/Samples/ARM32-FirmwareTPM - -properties: - compatible: - const: microsoft,ftpm - -required: - - compatible - - linux,sml-base - - linux,sml-size - -allOf: - - $ref: tpm-common.yaml# - -unevaluatedProperties: false - -examples: - - | - tpm { - compatible = "microsoft,ftpm"; - linux,sml-base = <0x0 0xc0000000>; - linux,sml-size = <0x10000>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/tpm/microsoft,ftpm.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Microsoft firmware-based Trusted Platform Module (fTPM) + +maintainers: + - Thirupathaiah Annapureddy + - Sasha Levin + +description: | + Commodity CPU architectures, such as ARM and Intel CPUs, have started to + offer trusted computing features in their CPUs aimed at displacing dedicated + trusted hardware. Unfortunately, these CPU architectures raise serious + challenges to building trusted systems because they omit providing secure + resources outside the CPU perimeter. + + Microsoft's firmware-based TPM 2.0 (fTPM) leverages ARM TrustZone to overcome + these challenges and provide software with security guarantees similar to + those of dedicated trusted hardware. + + https://www.microsoft.com/en-us/research/publication/ftpm-software-implementation-tpm-chip/ + https://github.com/Microsoft/ms-tpm-20-ref/tree/main/Samples/ARM32-FirmwareTPM + +properties: + compatible: + const: microsoft,ftpm + +required: + - compatible + - linux,sml-base + - linux,sml-size + +allOf: + - $ref: tpm-common.yaml# + +unevaluatedProperties: false + +examples: + - | + tpm { + compatible = "microsoft,ftpm"; + linux,sml-base = <0x0 0xc0000000>; + linux,sml-size = <0x10000>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ufs/cdns,ufshc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ufs/cdns,ufshc.yaml index 70cd074ddb..835e17269d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ufs/cdns,ufshc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ufs/cdns,ufshc.yaml @@ -1,73 +1,73 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/ufs/cdns,ufshc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Cadence Universal Flash Storage (UFS) Controller - -maintainers: - - Jan Kotas - -# Select only our matches, not all jedec,ufs-2.0 -select: - properties: - compatible: - contains: - enum: - - cdns,ufshc - - cdns,ufshc-m31-16nm - required: - - compatible - -allOf: - - $ref: ufs-common.yaml - -properties: - compatible: - items: - - enum: - - cdns,ufshc - # CDNS UFS HC + M31 16nm PHY - - cdns,ufshc-m31-16nm - - const: jedec,ufs-2.0 - - clocks: - minItems: 1 - maxItems: 3 - - clock-names: - minItems: 1 - items: - - const: core_clk - - const: phy_clk - - const: ref_clk - - power-domains: - maxItems: 1 - - reg: - maxItems: 1 - - dma-coherent: true - -required: - - compatible - - clocks - - clock-names - - reg - -unevaluatedProperties: false - -examples: - - | - #include - - ufs@fd030000 { - compatible = "cdns,ufshc", "jedec,ufs-2.0"; - reg = <0xfd030000 0x10000>; - interrupts = ; - freq-table-hz = <0 0>, <0 0>; - clocks = <&ufs_core_clk>, <&ufs_phy_clk>; - clock-names = "core_clk", "phy_clk"; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/ufs/cdns,ufshc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Cadence Universal Flash Storage (UFS) Controller + +maintainers: + - Jan Kotas + +# Select only our matches, not all jedec,ufs-2.0 +select: + properties: + compatible: + contains: + enum: + - cdns,ufshc + - cdns,ufshc-m31-16nm + required: + - compatible + +allOf: + - $ref: ufs-common.yaml + +properties: + compatible: + items: + - enum: + - cdns,ufshc + # CDNS UFS HC + M31 16nm PHY + - cdns,ufshc-m31-16nm + - const: jedec,ufs-2.0 + + clocks: + minItems: 1 + maxItems: 3 + + clock-names: + minItems: 1 + items: + - const: core_clk + - const: phy_clk + - const: ref_clk + + power-domains: + maxItems: 1 + + reg: + maxItems: 1 + + dma-coherent: true + +required: + - compatible + - clocks + - clock-names + - reg + +unevaluatedProperties: false + +examples: + - | + #include + + ufs@fd030000 { + compatible = "cdns,ufshc", "jedec,ufs-2.0"; + reg = <0xfd030000 0x10000>; + interrupts = ; + freq-table-hz = <0 0>, <0 0>; + clocks = <&ufs_core_clk>, <&ufs_phy_clk>; + clock-names = "core_clk", "phy_clk"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ufs/mediatek,ufs.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ufs/mediatek,ufs.yaml index 31ec237013..20f341d25e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ufs/mediatek,ufs.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ufs/mediatek,ufs.yaml @@ -1,71 +1,71 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/ufs/mediatek,ufs.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Mediatek Universal Flash Storage (UFS) Controller - -maintainers: - - Stanley Chu - -allOf: - - $ref: ufs-common.yaml - -properties: - compatible: - enum: - - mediatek,mt8183-ufshci - - mediatek,mt8192-ufshci - - clocks: - maxItems: 1 - - clock-names: - items: - - const: ufs - - phys: - maxItems: 1 - - reg: - maxItems: 1 - - vcc-supply: true - - mediatek,ufs-disable-mcq: - $ref: /schemas/types.yaml#/definitions/flag - description: The mask to disable MCQ (Multi-Circular Queue) for UFS host. - -required: - - compatible - - clocks - - clock-names - - phys - - reg - - vcc-supply - -unevaluatedProperties: false - -examples: - - | - #include - #include - - soc { - #address-cells = <2>; - #size-cells = <2>; - - ufs@ff3c0000 { - compatible = "mediatek,mt8183-ufshci"; - reg = <0 0x11270000 0 0x2300>; - interrupts = ; - phys = <&ufsphy>; - - clocks = <&infracfg_ao CLK_INFRA_UFS>; - clock-names = "ufs"; - freq-table-hz = <0 0>; - - vcc-supply = <&mt_pmic_vemc_ldo_reg>; - }; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/ufs/mediatek,ufs.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Mediatek Universal Flash Storage (UFS) Controller + +maintainers: + - Stanley Chu + +allOf: + - $ref: ufs-common.yaml + +properties: + compatible: + enum: + - mediatek,mt8183-ufshci + - mediatek,mt8192-ufshci + + clocks: + maxItems: 1 + + clock-names: + items: + - const: ufs + + phys: + maxItems: 1 + + reg: + maxItems: 1 + + vcc-supply: true + + mediatek,ufs-disable-mcq: + $ref: /schemas/types.yaml#/definitions/flag + description: The mask to disable MCQ (Multi-Circular Queue) for UFS host. + +required: + - compatible + - clocks + - clock-names + - phys + - reg + - vcc-supply + +unevaluatedProperties: false + +examples: + - | + #include + #include + + soc { + #address-cells = <2>; + #size-cells = <2>; + + ufs@ff3c0000 { + compatible = "mediatek,mt8183-ufshci"; + reg = <0 0x11270000 0 0x2300>; + interrupts = ; + phys = <&ufsphy>; + + clocks = <&infracfg_ao CLK_INFRA_UFS>; + clock-names = "ufs"; + freq-table-hz = <0 0>; + + vcc-supply = <&mt_pmic_vemc_ldo_reg>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/analogix,anx7411.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/analogix,anx7411.yaml index 23d25ed326..3f5857aee3 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/analogix,anx7411.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/analogix,anx7411.yaml @@ -1,70 +1,70 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/usb/analogix,anx7411.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Analogix ANX7411 Type-C controller - -maintainers: - - Xin Ji - -properties: - compatible: - enum: - - analogix,anx7411 - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - connector: - type: object - $ref: ../connector/usb-connector.yaml - - properties: - compatible: - const: usb-c-connector - -required: - - compatible - - reg - - connector - -additionalProperties: false - -examples: - - | - #include - i2c { - #address-cells = <1>; - #size-cells = <0>; - - typec@2c { - compatible = "analogix,anx7411"; - reg = <0x2c>; - interrupts = <8 IRQ_TYPE_EDGE_FALLING>; - interrupt-parent = <&gpio0>; - - typec_con: connector { - compatible = "usb-c-connector"; - power-role = "dual"; - data-role = "dual"; - try-power-role = "source"; - - ports { - #address-cells = <1>; - #size-cells = <0>; - port@0 { - reg = <0>; - typec_con_ep: endpoint { - remote-endpoint = <&usbotg_hs_ep>; - }; - }; - }; - }; - }; - }; -... +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/usb/analogix,anx7411.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Analogix ANX7411 Type-C controller + +maintainers: + - Xin Ji + +properties: + compatible: + enum: + - analogix,anx7411 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + connector: + type: object + $ref: ../connector/usb-connector.yaml + + properties: + compatible: + const: usb-c-connector + +required: + - compatible + - reg + - connector + +additionalProperties: false + +examples: + - | + #include + i2c { + #address-cells = <1>; + #size-cells = <0>; + + typec@2c { + compatible = "analogix,anx7411"; + reg = <0x2c>; + interrupts = <8 IRQ_TYPE_EDGE_FALLING>; + interrupt-parent = <&gpio0>; + + typec_con: connector { + compatible = "usb-c-connector"; + power-role = "dual"; + data-role = "dual"; + try-power-role = "source"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + port@0 { + reg = <0>; + typec_con_ep: endpoint { + remote-endpoint = <&usbotg_hs_ep>; + }; + }; + }; + }; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/ehci-st.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/ehci-st.txt index e449b0aaf8..d6f2bdee20 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/ehci-st.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/ehci-st.txt @@ -1,38 +1,38 @@ -ST USB EHCI controller - -Required properties: - - compatible : must be "st,st-ehci-300x" - - reg : physical base addresses of the controller and length of memory mapped - region - - interrupts : one EHCI interrupt should be described here - - pinctrl-names : a pinctrl state named "default" must be defined - - pinctrl-0 : phandle referencing pin configuration of the USB controller -See: Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt - - clocks : phandle list of usb clocks - - clock-names : should be "ic" for interconnect clock and "clk48" -See: Documentation/devicetree/bindings/clock/clock-bindings.txt - - - phys : phandle for the PHY device - - phy-names : should be "usb" - - resets : phandle + reset specifier pairs to the powerdown and softreset lines - of the USB IP - - reset-names : should be "power" and "softreset" -See: Documentation/devicetree/bindings/reset/st,stih407-powerdown.yaml -See: Documentation/devicetree/bindings/reset/reset.txt - -Example: - - ehci1: usb@fe203e00 { - compatible = "st,st-ehci-300x"; - reg = <0xfe203e00 0x100>; - interrupts = ; - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_usb1>; - clocks = <&clk_s_a1_ls 0>; - phys = <&usb2_phy>; - phy-names = "usb"; - - resets = <&powerdown STIH416_USB1_POWERDOWN>, - <&softreset STIH416_USB1_SOFTRESET>; - reset-names = "power", "softreset"; - }; +ST USB EHCI controller + +Required properties: + - compatible : must be "st,st-ehci-300x" + - reg : physical base addresses of the controller and length of memory mapped + region + - interrupts : one EHCI interrupt should be described here + - pinctrl-names : a pinctrl state named "default" must be defined + - pinctrl-0 : phandle referencing pin configuration of the USB controller +See: Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt + - clocks : phandle list of usb clocks + - clock-names : should be "ic" for interconnect clock and "clk48" +See: Documentation/devicetree/bindings/clock/clock-bindings.txt + + - phys : phandle for the PHY device + - phy-names : should be "usb" + - resets : phandle + reset specifier pairs to the powerdown and softreset lines + of the USB IP + - reset-names : should be "power" and "softreset" +See: Documentation/devicetree/bindings/reset/st,stih407-powerdown.yaml +See: Documentation/devicetree/bindings/reset/reset.txt + +Example: + + ehci1: usb@fe203e00 { + compatible = "st,st-ehci-300x"; + reg = <0xfe203e00 0x100>; + interrupts = ; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usb1>; + clocks = <&clk_s_a1_ls 0>; + phys = <&usb2_phy>; + phy-names = "usb"; + + resets = <&powerdown STIH416_USB1_POWERDOWN>, + <&softreset STIH416_USB1_SOFTRESET>; + reset-names = "power", "softreset"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/faraday,fotg210.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/faraday,fotg210.yaml index cadfc2297a..3fe4d1564d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/faraday,fotg210.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/faraday,fotg210.yaml @@ -1,78 +1,78 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -# Copyright 2022 Linaro Ltd. -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/usb/faraday,fotg210.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Faraday Technology FOTG200 series HS OTG USB 2.0 controller - -maintainers: - - Linus Walleij - -allOf: - - $ref: usb-drd.yaml# - - $ref: usb-hcd.yaml# - -properties: - compatible: - oneOf: - - const: faraday,fotg200 - - const: faraday,fotg210 - - items: - - const: cortina,gemini-usb - - const: faraday,fotg200 - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - maxItems: 1 - - clock-names: - items: - - const: PCLK - - resets: - maxItems: 1 - - syscon: - $ref: /schemas/types.yaml#/definitions/phandle - description: a phandle to the global Gemini system controller on - Gemini systems - - dr_mode: true - - phys: - maxItems: 1 - - phy-names: - const: usb2-phy - -required: - - compatible - - reg - - interrupts - - clocks - - clock-names - -additionalProperties: false - -examples: - - | - #include - #include - #include - usb0: usb@68000000 { - compatible = "cortina,gemini-usb", "faraday,fotg200"; - reg = <0x68000000 0x1000>; - interrupts = <10 IRQ_TYPE_LEVEL_HIGH>; - resets = <&syscon GEMINI_RESET_USB0>; - clocks = <&syscon GEMINI_CLK_GATE_USB0>; - clock-names = "PCLK"; - syscon = <&syscon>; - dr_mode = "host"; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +# Copyright 2022 Linaro Ltd. +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/usb/faraday,fotg210.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Faraday Technology FOTG200 series HS OTG USB 2.0 controller + +maintainers: + - Linus Walleij + +allOf: + - $ref: usb-drd.yaml# + - $ref: usb-hcd.yaml# + +properties: + compatible: + oneOf: + - const: faraday,fotg200 + - const: faraday,fotg210 + - items: + - const: cortina,gemini-usb + - const: faraday,fotg200 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + + clock-names: + items: + - const: PCLK + + resets: + maxItems: 1 + + syscon: + $ref: /schemas/types.yaml#/definitions/phandle + description: a phandle to the global Gemini system controller on + Gemini systems + + dr_mode: true + + phys: + maxItems: 1 + + phy-names: + const: usb2-phy + +required: + - compatible + - reg + - interrupts + - clocks + - clock-names + +additionalProperties: false + +examples: + - | + #include + #include + #include + usb0: usb@68000000 { + compatible = "cortina,gemini-usb", "faraday,fotg200"; + reg = <0x68000000 0x1000>; + interrupts = <10 IRQ_TYPE_LEVEL_HIGH>; + resets = <&syscon GEMINI_RESET_USB0>; + clocks = <&syscon GEMINI_CLK_GATE_USB0>; + clock-names = "PCLK"; + syscon = <&syscon>; + dr_mode = "host"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/fcs,fusb302.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/fcs,fusb302.yaml index e6eac82157..b396ea0ab1 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/fcs,fusb302.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/fcs,fusb302.yaml @@ -1,67 +1,67 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/usb/fcs,fusb302.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Fairchild FUSB302 Type-C Port controller - -maintainers: - - Rob Herring - -properties: - compatible: - const: fcs,fusb302 - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - vbus-supply: - description: VBUS power supply - - connector: - type: object - $ref: /schemas/connector/usb-connector.yaml# - unevaluatedProperties: false - -required: - - compatible - - reg - - interrupts - - vbus-supply - - connector - -additionalProperties: false - -examples: - - | - #include - #include - - i2c { - #address-cells = <1>; - #size-cells = <0>; - - typec-portc@54 { - compatible = "fcs,fusb302"; - reg = <0x54>; - interrupt-parent = <&nmi_intc>; - interrupts = <0 IRQ_TYPE_LEVEL_LOW>; - vbus-supply = <&vbus_typec>; - - connector { - compatible = "usb-c-connector"; - label = "USB-C"; - power-role = "dual"; - try-power-role = "sink"; - source-pdos = ; - sink-pdos = ; - op-sink-microwatt = <10000000>; - }; - }; - }; +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/usb/fcs,fusb302.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Fairchild FUSB302 Type-C Port controller + +maintainers: + - Rob Herring + +properties: + compatible: + const: fcs,fusb302 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + vbus-supply: + description: VBUS power supply + + connector: + type: object + $ref: /schemas/connector/usb-connector.yaml# + unevaluatedProperties: false + +required: + - compatible + - reg + - interrupts + - vbus-supply + - connector + +additionalProperties: false + +examples: + - | + #include + #include + + i2c { + #address-cells = <1>; + #size-cells = <0>; + + typec-portc@54 { + compatible = "fcs,fusb302"; + reg = <0x54>; + interrupt-parent = <&nmi_intc>; + interrupts = <0 IRQ_TYPE_LEVEL_LOW>; + vbus-supply = <&vbus_typec>; + + connector { + compatible = "usb-c-connector"; + label = "USB-C"; + power-role = "dual"; + try-power-role = "sink"; + source-pdos = ; + sink-pdos = ; + op-sink-microwatt = <10000000>; + }; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/fsl,usbmisc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/fsl,usbmisc.yaml index 650c6efcbd..0a6e7ac1b3 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/fsl,usbmisc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/fsl,usbmisc.yaml @@ -1,69 +1,69 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/usb/fsl,usbmisc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Freescale i.MX wrapper module for Chipidea USB2 controller - -maintainers: - - Xu Yang - - Peng Fan - -properties: - compatible: - oneOf: - - enum: - - fsl,imx25-usbmisc - - fsl,imx27-usbmisc - - fsl,imx35-usbmisc - - fsl,imx51-usbmisc - - fsl,imx53-usbmisc - - fsl,imx6q-usbmisc - - fsl,vf610-usbmisc - - items: - - enum: - - fsl,imx6ul-usbmisc - - fsl,imx6sl-usbmisc - - fsl,imx6sx-usbmisc - - fsl,imx7d-usbmisc - - const: fsl,imx6q-usbmisc - - items: - - enum: - - fsl,imx7ulp-usbmisc - - fsl,imx8mm-usbmisc - - fsl,imx8mn-usbmisc - - fsl,imx8ulp-usbmisc - - const: fsl,imx7d-usbmisc - - const: fsl,imx6q-usbmisc - - items: - - const: fsl,imx6sll-usbmisc - - const: fsl,imx6ul-usbmisc - - const: fsl,imx6q-usbmisc - - clocks: - maxItems: 1 - - reg: - maxItems: 1 - - '#index-cells': - const: 1 - description: Cells used to describe usb controller index. - deprecated: true - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - usbmisc@2184800 { - compatible = "fsl,imx6q-usbmisc"; - reg = <0x02184800 0x200>; - #index-cells = <1>; - }; - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/usb/fsl,usbmisc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Freescale i.MX wrapper module for Chipidea USB2 controller + +maintainers: + - Xu Yang + - Peng Fan + +properties: + compatible: + oneOf: + - enum: + - fsl,imx25-usbmisc + - fsl,imx27-usbmisc + - fsl,imx35-usbmisc + - fsl,imx51-usbmisc + - fsl,imx53-usbmisc + - fsl,imx6q-usbmisc + - fsl,vf610-usbmisc + - items: + - enum: + - fsl,imx6ul-usbmisc + - fsl,imx6sl-usbmisc + - fsl,imx6sx-usbmisc + - fsl,imx7d-usbmisc + - const: fsl,imx6q-usbmisc + - items: + - enum: + - fsl,imx7ulp-usbmisc + - fsl,imx8mm-usbmisc + - fsl,imx8mn-usbmisc + - fsl,imx8ulp-usbmisc + - const: fsl,imx7d-usbmisc + - const: fsl,imx6q-usbmisc + - items: + - const: fsl,imx6sll-usbmisc + - const: fsl,imx6ul-usbmisc + - const: fsl,imx6q-usbmisc + + clocks: + maxItems: 1 + + reg: + maxItems: 1 + + '#index-cells': + const: 1 + description: Cells used to describe usb controller index. + deprecated: true + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + usbmisc@2184800 { + compatible = "fsl,imx6q-usbmisc"; + reg = <0x02184800 0x200>; + #index-cells = <1>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/generic-xhci.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/generic-xhci.yaml index 65c2893c17..6ceafa4af2 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/generic-xhci.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/generic-xhci.yaml @@ -1,84 +1,84 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/usb/generic-xhci.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: USB xHCI Controller - -maintainers: - - Mathias Nyman - -properties: - compatible: - oneOf: - - description: Generic xHCI device - const: generic-xhci - - description: Armada 37xx/375/38x/8k SoCs - items: - - enum: - - marvell,armada3700-xhci - - marvell,armada-375-xhci - - marvell,armada-380-xhci - - marvell,armada-8k-xhci - - const: generic-xhci - - description: Broadcom SoCs with power domains - items: - - enum: - - brcm,bcm2711-xhci - - const: brcm,xhci-brcm-v2 - - description: Broadcom STB SoCs with xHCI - enum: - - brcm,xhci-brcm-v2 - - brcm,bcm7445-xhci - - description: Generic xHCI device - const: xhci-platform - deprecated: true - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - minItems: 1 - maxItems: 2 - - clock-names: - minItems: 1 - items: - - const: core - - const: reg - - power-domains: - maxItems: 1 - -unevaluatedProperties: false - -required: - - compatible - - reg - - interrupts - -allOf: - - $ref: usb-xhci.yaml# - - if: - properties: - compatible: - contains: - const: brcm,bcm2711-xhci - then: - required: - - power-domains - else: - properties: - power-domains: false - -examples: - - | - usb@f0931000 { - compatible = "generic-xhci"; - reg = <0xf0931000 0x8c8>; - interrupts = <0x0 0x4e 0x0>; - }; +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/usb/generic-xhci.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: USB xHCI Controller + +maintainers: + - Mathias Nyman + +properties: + compatible: + oneOf: + - description: Generic xHCI device + const: generic-xhci + - description: Armada 37xx/375/38x/8k SoCs + items: + - enum: + - marvell,armada3700-xhci + - marvell,armada-375-xhci + - marvell,armada-380-xhci + - marvell,armada-8k-xhci + - const: generic-xhci + - description: Broadcom SoCs with power domains + items: + - enum: + - brcm,bcm2711-xhci + - const: brcm,xhci-brcm-v2 + - description: Broadcom STB SoCs with xHCI + enum: + - brcm,xhci-brcm-v2 + - brcm,bcm7445-xhci + - description: Generic xHCI device + const: xhci-platform + deprecated: true + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + minItems: 1 + maxItems: 2 + + clock-names: + minItems: 1 + items: + - const: core + - const: reg + + power-domains: + maxItems: 1 + +unevaluatedProperties: false + +required: + - compatible + - reg + - interrupts + +allOf: + - $ref: usb-xhci.yaml# + - if: + properties: + compatible: + contains: + const: brcm,bcm2711-xhci + then: + required: + - power-domains + else: + properties: + power-domains: false + +examples: + - | + usb@f0931000 { + compatible = "generic-xhci"; + reg = <0xf0931000 0x8c8>; + interrupts = <0x0 0x4e 0x0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/gr-udc.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/gr-udc.txt index ac9a6a7308..e9445224fa 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/gr-udc.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/gr-udc.txt @@ -1,34 +1,34 @@ -USB Peripheral Controller driver for Aeroflex Gaisler GRUSBDC. - -The GRUSBDC USB Device Controller core is available in the GRLIB VHDL -IP core library. - -Note: In the ordinary environment for the core, a Leon SPARC system, -these properties are built from information in the AMBA plug&play. - -Required properties: - -- name : Should be "GAISLER_USBDC" or "01_021" - -- reg : Address and length of the register set for the device - -- interrupts : Interrupt numbers for this device. Either one interrupt number - for all interrupts, or one for status related interrupts, one for IN - endpoint related interrupts and one for OUT endpoint related interrupts. - -Optional properties: - -- epobufsizes : Array of buffer sizes for OUT endpoints when they differ - from the default size of 1024. The array is indexed by the OUT endpoint - number. If the property is present it typically contains one entry for - each OUT endpoint of the core. Fewer entries overrides the default sizes - only for as many endpoints as the array contains. - -- epibufsizes : Array of buffer sizes for IN endpoints when they differ - from the default size of 1024. The array is indexed by the IN endpoint - number. If the property is present it typically contains one entry for - each IN endpoint of the core. Fewer entries overrides the default sizes - only for as many endpoints as the array contains. - -For further information look in the documentation for the GLIB IP core library: -http://www.gaisler.com/products/grlib/grip.pdf +USB Peripheral Controller driver for Aeroflex Gaisler GRUSBDC. + +The GRUSBDC USB Device Controller core is available in the GRLIB VHDL +IP core library. + +Note: In the ordinary environment for the core, a Leon SPARC system, +these properties are built from information in the AMBA plug&play. + +Required properties: + +- name : Should be "GAISLER_USBDC" or "01_021" + +- reg : Address and length of the register set for the device + +- interrupts : Interrupt numbers for this device. Either one interrupt number + for all interrupts, or one for status related interrupts, one for IN + endpoint related interrupts and one for OUT endpoint related interrupts. + +Optional properties: + +- epobufsizes : Array of buffer sizes for OUT endpoints when they differ + from the default size of 1024. The array is indexed by the OUT endpoint + number. If the property is present it typically contains one entry for + each OUT endpoint of the core. Fewer entries overrides the default sizes + only for as many endpoints as the array contains. + +- epibufsizes : Array of buffer sizes for IN endpoints when they differ + from the default size of 1024. The array is indexed by the IN endpoint + number. If the property is present it typically contains one entry for + each IN endpoint of the core. Fewer entries overrides the default sizes + only for as many endpoints as the array contains. + +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/usb/hisilicon,histb-xhci.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/hisilicon,histb-xhci.txt index 2b38fc302e..f4633496b1 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/hisilicon,histb-xhci.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/hisilicon,histb-xhci.txt @@ -1,45 +1,45 @@ -HiSilicon STB xHCI - -The device node for HiSilicon STB xHCI host controller - -Required properties: - - compatible: should be "hisilicon,hi3798cv200-xhci" - - reg: specifies physical base address and size of the registers - - interrupts : interrupt used by the controller - - clocks: a list of phandle + clock-specifier pairs, one for each - entry in clock-names - - clock-names: must contain - "bus": for bus clock - "utmi": for utmi clock - "pipe": for pipe clock - "suspend": for suspend clock - - resets: a list of phandle and reset specifier pairs as listed in - reset-names property. - - reset-names: must contain - "soft": for soft reset - - phys: a list of phandle + phy specifier pairs - - phy-names: must contain at least one of following: - "inno": for inno phy - "combo": for combo phy - -Optional properties: - - usb2-lpm-disable: indicate if we don't want to enable USB2 HW LPM - - usb3-lpm-capable: determines if platform is USB3 LPM capable - - imod-interval-ns: default interrupt moderation interval is 40000ns - -Example: - -xhci0: xchi@f98a0000 { - compatible = "hisilicon,hi3798cv200-xhci"; - reg = <0xf98a0000 0x10000>; - interrupts = ; - clocks = <&crg HISTB_USB3_BUS_CLK>, - <&crg HISTB_USB3_UTMI_CLK>, - <&crg HISTB_USB3_PIPE_CLK>, - <&crg HISTB_USB3_SUSPEND_CLK>; - clock-names = "bus", "utmi", "pipe", "suspend"; - resets = <&crg 0xb0 12>; - reset-names = "soft"; - phys = <&usb2_phy1_port1 0>, <&combphy0 PHY_TYPE_USB3>; - phy-names = "inno", "combo"; -}; +HiSilicon STB xHCI + +The device node for HiSilicon STB xHCI host controller + +Required properties: + - compatible: should be "hisilicon,hi3798cv200-xhci" + - reg: specifies physical base address and size of the registers + - interrupts : interrupt used by the controller + - clocks: a list of phandle + clock-specifier pairs, one for each + entry in clock-names + - clock-names: must contain + "bus": for bus clock + "utmi": for utmi clock + "pipe": for pipe clock + "suspend": for suspend clock + - resets: a list of phandle and reset specifier pairs as listed in + reset-names property. + - reset-names: must contain + "soft": for soft reset + - phys: a list of phandle + phy specifier pairs + - phy-names: must contain at least one of following: + "inno": for inno phy + "combo": for combo phy + +Optional properties: + - usb2-lpm-disable: indicate if we don't want to enable USB2 HW LPM + - usb3-lpm-capable: determines if platform is USB3 LPM capable + - imod-interval-ns: default interrupt moderation interval is 40000ns + +Example: + +xhci0: xchi@f98a0000 { + compatible = "hisilicon,hi3798cv200-xhci"; + reg = <0xf98a0000 0x10000>; + interrupts = ; + clocks = <&crg HISTB_USB3_BUS_CLK>, + <&crg HISTB_USB3_UTMI_CLK>, + <&crg HISTB_USB3_PIPE_CLK>, + <&crg HISTB_USB3_SUSPEND_CLK>; + clock-names = "bus", "utmi", "pipe", "suspend"; + resets = <&crg 0xb0 12>; + reset-names = "soft"; + phys = <&usb2_phy1_port1 0>, <&combphy0 PHY_TYPE_USB3>; + phy-names = "inno", "combo"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/intel,keembay-dwc3.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/intel,keembay-dwc3.yaml index 928e8a4dea..d3511f48cd 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/intel,keembay-dwc3.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/intel,keembay-dwc3.yaml @@ -1,77 +1,77 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/usb/intel,keembay-dwc3.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Intel Keem Bay DWC3 USB controller - -maintainers: - - Wan Ahmad Zainie - -properties: - compatible: - const: intel,keembay-dwc3 - - reg: - maxItems: 1 - - clocks: - maxItems: 4 - - clock-names: - items: - - const: async_master - - const: ref - - const: alt_ref - - const: suspend - - ranges: true - - '#address-cells': - enum: [ 1, 2 ] - - '#size-cells': - enum: [ 1, 2 ] - -# Required child node: - -patternProperties: - "^usb@[0-9a-f]+$": - $ref: snps,dwc3.yaml# - -required: - - compatible - - clocks - - clock-names - - ranges - -additionalProperties: false - -examples: - - | - #include - #include - #define KEEM_BAY_A53_AUX_USB - #define KEEM_BAY_A53_AUX_USB_REF - #define KEEM_BAY_A53_AUX_USB_ALT_REF - #define KEEM_BAY_A53_AUX_USB_SUSPEND - - usb { - compatible = "intel,keembay-dwc3"; - clocks = <&scmi_clk KEEM_BAY_A53_AUX_USB>, - <&scmi_clk KEEM_BAY_A53_AUX_USB_REF>, - <&scmi_clk KEEM_BAY_A53_AUX_USB_ALT_REF>, - <&scmi_clk KEEM_BAY_A53_AUX_USB_SUSPEND>; - clock-names = "async_master", "ref", "alt_ref", "suspend"; - ranges; - #address-cells = <1>; - #size-cells = <1>; - - usb@34000000 { - compatible = "snps,dwc3"; - reg = <0x34000000 0x10000>; - interrupts = ; - dr_mode = "peripheral"; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/usb/intel,keembay-dwc3.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Intel Keem Bay DWC3 USB controller + +maintainers: + - Wan Ahmad Zainie + +properties: + compatible: + const: intel,keembay-dwc3 + + reg: + maxItems: 1 + + clocks: + maxItems: 4 + + clock-names: + items: + - const: async_master + - const: ref + - const: alt_ref + - const: suspend + + ranges: true + + '#address-cells': + enum: [ 1, 2 ] + + '#size-cells': + enum: [ 1, 2 ] + +# Required child node: + +patternProperties: + "^usb@[0-9a-f]+$": + $ref: snps,dwc3.yaml# + +required: + - compatible + - clocks + - clock-names + - ranges + +additionalProperties: false + +examples: + - | + #include + #include + #define KEEM_BAY_A53_AUX_USB + #define KEEM_BAY_A53_AUX_USB_REF + #define KEEM_BAY_A53_AUX_USB_ALT_REF + #define KEEM_BAY_A53_AUX_USB_SUSPEND + + usb { + compatible = "intel,keembay-dwc3"; + clocks = <&scmi_clk KEEM_BAY_A53_AUX_USB>, + <&scmi_clk KEEM_BAY_A53_AUX_USB_REF>, + <&scmi_clk KEEM_BAY_A53_AUX_USB_ALT_REF>, + <&scmi_clk KEEM_BAY_A53_AUX_USB_SUSPEND>; + clock-names = "async_master", "ref", "alt_ref", "suspend"; + ranges; + #address-cells = <1>; + #size-cells = <1>; + + usb@34000000 { + compatible = "snps,dwc3"; + reg = <0x34000000 0x10000>; + interrupts = ; + dr_mode = "peripheral"; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/ite,it5205.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/ite,it5205.yaml index 51ada791ad..36ec4251b5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/ite,it5205.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/ite,it5205.yaml @@ -1,72 +1,72 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/usb/ite,it5205.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: ITE IT5202 Type-C USB Alternate Mode Passive MUX - -maintainers: - - AngeloGioacchino Del Regno - - Tianping Fang - -properties: - compatible: - const: ite,it5205 - - reg: - maxItems: 1 - - vcc-supply: - description: Power supply for VCC pin (3.3V) - - mode-switch: - description: Flag the port as possible handle of altmode switching - type: boolean - - orientation-switch: - description: Flag the port as possible handler of orientation switching - type: boolean - - ite,ovp-enable: - description: Enable Over Voltage Protection functionality - type: boolean - - port: - $ref: /schemas/graph.yaml#/properties/port - description: - A port node to link the IT5205 to a TypeC controller for the purpose of - handling altmode muxing and orientation switching. - -required: - - compatible - - reg - - orientation-switch - - port - -additionalProperties: false - -examples: - - | - #include - i2c2 { - #address-cells = <1>; - #size-cells = <0>; - - typec-mux@48 { - compatible = "ite,it5205"; - reg = <0x48>; - - mode-switch; - orientation-switch; - - vcc-supply = <&mt6359_vibr_ldo_reg>; - - port { - it5205_usbss_sbu: endpoint { - remote-endpoint = <&typec_controller>; - }; - }; - }; - }; -... +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/usb/ite,it5205.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ITE IT5202 Type-C USB Alternate Mode Passive MUX + +maintainers: + - AngeloGioacchino Del Regno + - Tianping Fang + +properties: + compatible: + const: ite,it5205 + + reg: + maxItems: 1 + + vcc-supply: + description: Power supply for VCC pin (3.3V) + + mode-switch: + description: Flag the port as possible handle of altmode switching + type: boolean + + orientation-switch: + description: Flag the port as possible handler of orientation switching + type: boolean + + ite,ovp-enable: + description: Enable Over Voltage Protection functionality + type: boolean + + port: + $ref: /schemas/graph.yaml#/properties/port + description: + A port node to link the IT5205 to a TypeC controller for the purpose of + handling altmode muxing and orientation switching. + +required: + - compatible + - reg + - orientation-switch + - port + +additionalProperties: false + +examples: + - | + #include + i2c2 { + #address-cells = <1>; + #size-cells = <0>; + + typec-mux@48 { + compatible = "ite,it5205"; + reg = <0x48>; + + mode-switch; + orientation-switch; + + vcc-supply = <&mt6359_vibr_ldo_reg>; + + port { + it5205_usbss_sbu: endpoint { + remote-endpoint = <&typec_controller>; + }; + }; + }; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/maxim,max3420-udc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/maxim,max3420-udc.yaml index c61307507d..8e0f4ecc01 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/maxim,max3420-udc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/maxim,max3420-udc.yaml @@ -1,67 +1,67 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/usb/maxim,max3420-udc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: MAXIM MAX3420/1 USB Peripheral Controller - -maintainers: - - Jassi Brar - -description: | - The controller provices USB2.0 compliant FullSpeed peripheral - implementation over the SPI interface. - - Specifications about the part can be found at: - http://datasheets.maximintegrated.com/en/ds/MAX3420E.pdf - -properties: - compatible: - enum: - - maxim,max3420-udc - - maxim,max3421-udc - - reg: - maxItems: 1 - - interrupts: - items: - - description: usb irq from max3420 - - description: vbus detection irq - minItems: 1 - - interrupt-names: - items: - - const: udc - - const: vbus - minItems: 1 - - spi-max-frequency: - maximum: 26000000 - -required: - - compatible - - reg - - interrupts - - interrupt-names - -additionalProperties: false - -examples: - - | - #include - #include - spi { - #address-cells = <1>; - #size-cells = <0>; - - udc@0 { - compatible = "maxim,max3420-udc"; - reg = <0>; - interrupt-parent = <&gpio>; - interrupts = <0 IRQ_TYPE_EDGE_FALLING>, <10 IRQ_TYPE_EDGE_BOTH>; - interrupt-names = "udc", "vbus"; - spi-max-frequency = <12500000>; - }; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/usb/maxim,max3420-udc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: MAXIM MAX3420/1 USB Peripheral Controller + +maintainers: + - Jassi Brar + +description: | + The controller provices USB2.0 compliant FullSpeed peripheral + implementation over the SPI interface. + + Specifications about the part can be found at: + http://datasheets.maximintegrated.com/en/ds/MAX3420E.pdf + +properties: + compatible: + enum: + - maxim,max3420-udc + - maxim,max3421-udc + + reg: + maxItems: 1 + + interrupts: + items: + - description: usb irq from max3420 + - description: vbus detection irq + minItems: 1 + + interrupt-names: + items: + - const: udc + - const: vbus + minItems: 1 + + spi-max-frequency: + maximum: 26000000 + +required: + - compatible + - reg + - interrupts + - interrupt-names + +additionalProperties: false + +examples: + - | + #include + #include + spi { + #address-cells = <1>; + #size-cells = <0>; + + udc@0 { + compatible = "maxim,max3420-udc"; + reg = <0>; + interrupt-parent = <&gpio>; + interrupts = <0 IRQ_TYPE_EDGE_FALLING>, <10 IRQ_TYPE_EDGE_BOTH>; + interrupt-names = "udc", "vbus"; + spi-max-frequency = <12500000>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/microchip,usb2514.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/microchip,usb2514.yaml index 9745d50df5..b14e6f37b2 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/microchip,usb2514.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/microchip,usb2514.yaml @@ -1,71 +1,71 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/usb/microchip,usb2514.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Microchip USB2514 Hub Controller - -maintainers: - - Fabio Estevam - -allOf: - - $ref: usb-device.yaml# - -properties: - compatible: - enum: - - usb424,2412 - - usb424,2417 - - usb424,2514 - - usb424,2517 - - reg: true - - reset-gpios: - description: GPIO connected to the RESET_N pin. - - vdd-supply: - description: 3.3V power supply. - - clocks: - description: External 24MHz clock connected to the CLKIN pin. - maxItems: 1 - -required: - - compatible - - reg - -patternProperties: - "^.*@[0-9a-f]{1,2}$": - description: The hard wired USB devices - type: object - $ref: /schemas/usb/usb-device.yaml - additionalProperties: true - -unevaluatedProperties: false - -examples: - - | - #include - #include - - usb { - #address-cells = <1>; - #size-cells = <0>; - - usb-hub@1 { - compatible = "usb424,2514"; - reg = <1>; - clocks = <&clks IMX6QDL_CLK_CKO>; - reset-gpios = <&gpio7 12 GPIO_ACTIVE_LOW>; - vdd-supply = <®_3v3_hub>; - #address-cells = <1>; - #size-cells = <0>; - - ethernet@1 { - compatible = "usbb95,772b"; - reg = <1>; - }; - }; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/usb/microchip,usb2514.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Microchip USB2514 Hub Controller + +maintainers: + - Fabio Estevam + +allOf: + - $ref: usb-device.yaml# + +properties: + compatible: + enum: + - usb424,2412 + - usb424,2417 + - usb424,2514 + - usb424,2517 + + reg: true + + reset-gpios: + description: GPIO connected to the RESET_N pin. + + vdd-supply: + description: 3.3V power supply. + + clocks: + description: External 24MHz clock connected to the CLKIN pin. + maxItems: 1 + +required: + - compatible + - reg + +patternProperties: + "^.*@[0-9a-f]{1,2}$": + description: The hard wired USB devices + type: object + $ref: /schemas/usb/usb-device.yaml + additionalProperties: true + +unevaluatedProperties: false + +examples: + - | + #include + #include + + usb { + #address-cells = <1>; + #size-cells = <0>; + + usb-hub@1 { + compatible = "usb424,2514"; + reg = <1>; + clocks = <&clks IMX6QDL_CLK_CKO>; + reset-gpios = <&gpio7 12 GPIO_ACTIVE_LOW>; + vdd-supply = <®_3v3_hub>; + #address-cells = <1>; + #size-cells = <0>; + + ethernet@1 { + compatible = "usbb95,772b"; + reg = <1>; + }; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/nxp,ptn5110.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/nxp,ptn5110.yaml index 270bf52a82..65a8632b4d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/nxp,ptn5110.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/nxp,ptn5110.yaml @@ -1,74 +1,74 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/usb/nxp,ptn5110.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: NXP PTN5110 Type-C Port Controller - -maintainers: - - Li Jun - -properties: - compatible: - items: - - const: nxp,ptn5110 - - const: tcpci - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - connector: - type: object - $ref: /schemas/connector/usb-connector.yaml# - unevaluatedProperties: false - -required: - - compatible - - reg - - interrupts - - connector - -additionalProperties: false - -examples: - - | - #include - #include - i2c { - #address-cells = <1>; - #size-cells = <0>; - - tcpci@50 { - compatible = "nxp,ptn5110", "tcpci"; - reg = <0x50>; - interrupt-parent = <&gpio3>; - interrupts = <3 IRQ_TYPE_LEVEL_LOW>; - - usb_con: connector { - compatible = "usb-c-connector"; - label = "USB-C"; - data-role = "dual"; - power-role = "dual"; - try-power-role = "sink"; - source-pdos = ; - sink-pdos = ; - op-sink-microwatt = <10000000>; - - ports { - #address-cells = <1>; - #size-cells = <0>; - - port@0 { - reg = <0>; - typec1_dr_sw: endpoint { - remote-endpoint = <&usb1_drd_sw>; - }; - }; - }; - }; - }; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/usb/nxp,ptn5110.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NXP PTN5110 Type-C Port Controller + +maintainers: + - Li Jun + +properties: + compatible: + items: + - const: nxp,ptn5110 + - const: tcpci + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + connector: + type: object + $ref: /schemas/connector/usb-connector.yaml# + unevaluatedProperties: false + +required: + - compatible + - reg + - interrupts + - connector + +additionalProperties: false + +examples: + - | + #include + #include + i2c { + #address-cells = <1>; + #size-cells = <0>; + + tcpci@50 { + compatible = "nxp,ptn5110", "tcpci"; + reg = <0x50>; + interrupt-parent = <&gpio3>; + interrupts = <3 IRQ_TYPE_LEVEL_LOW>; + + usb_con: connector { + compatible = "usb-c-connector"; + label = "USB-C"; + data-role = "dual"; + power-role = "dual"; + try-power-role = "sink"; + source-pdos = ; + sink-pdos = ; + op-sink-microwatt = <10000000>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + typec1_dr_sw: endpoint { + remote-endpoint = <&usb1_drd_sw>; + }; + }; + }; + }; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/octeon-usb.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/octeon-usb.txt index b86cf13ac2..205c8d24d6 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/octeon-usb.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/octeon-usb.txt @@ -1,62 +1,62 @@ -OCTEON/OCTEON+ USB BLOCK - -1) Main node - - Required properties: - - - compatible: must be "cavium,octeon-5750-usbn" - - - reg: specifies the physical base address of the USBN block and - the length of the memory mapped region. - - - #address-cells: specifies the number of cells needed to encode an - address. The value must be 2. - - - #size-cells: specifies the number of cells used to represent the size - of an address. The value must be 2. - - - ranges: specifies the translation between child address space and parent - address space. - - - clock-frequency: speed of the USB reference clock. Allowed values are - 12000000, 24000000 or 48000000. - - - cavium,refclk-type: type of the USB reference clock. Allowed values are - "crystal" or "external". - - - refclk-frequency: deprecated, use "clock-frequency". - - - refclk-type: deprecated, use "cavium,refclk-type". - -2) Child node - - The main node must have one child node which describes the built-in - USB controller. - - Required properties: - - - compatible: must be "cavium,octeon-5750-usbc" - - - reg: specifies the physical base address of the USBC block and - the length of the memory mapped region. - - - interrupts: specifies the interrupt number for the USB controller. - -3) Example: - - usbn: usbn@1180068000000 { - compatible = "cavium,octeon-5750-usbn"; - reg = <0x11800 0x68000000 0x0 0x1000>; - ranges; /* Direct mapping */ - #address-cells = <2>; - #size-cells = <2>; - clock-frequency = <12000000>; - cavium,refclk-type = "crystal"; - - usbc@16f0010000000 { - compatible = "cavium,octeon-5750-usbc"; - reg = <0x16f00 0x10000000 0x0 0x80000>; - interrupts = <0 56>; - }; - }; - +OCTEON/OCTEON+ USB BLOCK + +1) Main node + + Required properties: + + - compatible: must be "cavium,octeon-5750-usbn" + + - reg: specifies the physical base address of the USBN block and + the length of the memory mapped region. + + - #address-cells: specifies the number of cells needed to encode an + address. The value must be 2. + + - #size-cells: specifies the number of cells used to represent the size + of an address. The value must be 2. + + - ranges: specifies the translation between child address space and parent + address space. + + - clock-frequency: speed of the USB reference clock. Allowed values are + 12000000, 24000000 or 48000000. + + - cavium,refclk-type: type of the USB reference clock. Allowed values are + "crystal" or "external". + + - refclk-frequency: deprecated, use "clock-frequency". + + - refclk-type: deprecated, use "cavium,refclk-type". + +2) Child node + + The main node must have one child node which describes the built-in + USB controller. + + Required properties: + + - compatible: must be "cavium,octeon-5750-usbc" + + - reg: specifies the physical base address of the USBC block and + the length of the memory mapped region. + + - interrupts: specifies the interrupt number for the USB controller. + +3) Example: + + usbn: usbn@1180068000000 { + compatible = "cavium,octeon-5750-usbn"; + reg = <0x11800 0x68000000 0x0 0x1000>; + ranges; /* Direct mapping */ + #address-cells = <2>; + #size-cells = <2>; + clock-frequency = <12000000>; + cavium,refclk-type = "crystal"; + + usbc@16f0010000000 { + compatible = "cavium,octeon-5750-usbc"; + reg = <0x16f00 0x10000000 0x0 0x80000>; + interrupts = <0 56>; + }; + }; + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/pxa-usb.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/pxa-usb.txt index 3ca0cfa3a8..53fdae4fa6 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/pxa-usb.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/pxa-usb.txt @@ -1,53 +1,53 @@ -PXA USB controllers - -OHCI - -Required properties: - - compatible: Should be "marvell,pxa-ohci" for USB controllers - used in host mode. - -Optional properties: - - "marvell,enable-port1", "marvell,enable-port2", "marvell,enable-port3" - If present, enables the appropriate USB port of the controller. - - "marvell,port-mode" selects the mode of the ports: - 1 = PMM_NPS_MODE - 2 = PMM_GLOBAL_MODE - 3 = PMM_PERPORT_MODE - - "marvell,power-sense-low" - power sense pin is low-active. - - "marvell,power-control-low" - power control pin is low-active. - - "marvell,no-oc-protection" - disable over-current protection. - - "marvell,oc-mode-perport" - enable per-port over-current protection. - - "marvell,power_on_delay" Power On to Power Good time - in ms. - -Example: - - usb0: ohci@4c000000 { - compatible = "marvell,pxa-ohci"; - reg = <0x4c000000 0x100000>; - interrupts = <18>; - marvell,enable-port1; - marvell,port-mode = <2>; /* PMM_GLOBAL_MODE */ - }; - -UDC - -Required properties: - - compatible: Should be "marvell,pxa270-udc" for USB controllers - used in device mode. - - reg: usb device MMIO address space - - interrupts: single interrupt generated by the UDC IP - - clocks: input clock of the UDC IP (see clock-bindings.txt) - -Optional properties: - - gpios: - - gpio activated to control the USB D+ pullup (see gpio.txt) - -Example: - - pxa27x_udc: udc@40600000 { - compatible = "marvell,pxa270-udc"; - reg = <0x40600000 0x10000>; - interrupts = <11>; - clocks = <&pxa2xx_clks 11>; - gpios = <&gpio 22 GPIO_ACTIVE_LOW>; - }; +PXA USB controllers + +OHCI + +Required properties: + - compatible: Should be "marvell,pxa-ohci" for USB controllers + used in host mode. + +Optional properties: + - "marvell,enable-port1", "marvell,enable-port2", "marvell,enable-port3" + If present, enables the appropriate USB port of the controller. + - "marvell,port-mode" selects the mode of the ports: + 1 = PMM_NPS_MODE + 2 = PMM_GLOBAL_MODE + 3 = PMM_PERPORT_MODE + - "marvell,power-sense-low" - power sense pin is low-active. + - "marvell,power-control-low" - power control pin is low-active. + - "marvell,no-oc-protection" - disable over-current protection. + - "marvell,oc-mode-perport" - enable per-port over-current protection. + - "marvell,power_on_delay" Power On to Power Good time - in ms. + +Example: + + usb0: ohci@4c000000 { + compatible = "marvell,pxa-ohci"; + reg = <0x4c000000 0x100000>; + interrupts = <18>; + marvell,enable-port1; + marvell,port-mode = <2>; /* PMM_GLOBAL_MODE */ + }; + +UDC + +Required properties: + - compatible: Should be "marvell,pxa270-udc" for USB controllers + used in device mode. + - reg: usb device MMIO address space + - interrupts: single interrupt generated by the UDC IP + - clocks: input clock of the UDC IP (see clock-bindings.txt) + +Optional properties: + - gpios: + - gpio activated to control the USB D+ pullup (see gpio.txt) + +Example: + + pxa27x_udc: udc@40600000 { + compatible = "marvell,pxa270-udc"; + reg = <0x40600000 0x10000>; + interrupts = <11>; + clocks = <&pxa2xx_clks 11>; + gpios = <&gpio 22 GPIO_ACTIVE_LOW>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/renesas,rzn1-usbf.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/renesas,rzn1-usbf.yaml index 784fb8e75b..b6e84a2a69 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/renesas,rzn1-usbf.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/renesas,rzn1-usbf.yaml @@ -1,68 +1,68 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/usb/renesas,rzn1-usbf.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Renesas RZ/N1 SoCs USBF (USB Function) controller - -description: | - The Renesas USBF controller is an USB2.0 device - controller (UDC). - -maintainers: - - Herve Codina - -properties: - compatible: - items: - - enum: - - renesas,r9a06g032-usbf - - const: renesas,rzn1-usbf - - reg: - maxItems: 1 - - clocks: - items: - - description: Internal bus clock (AHB) for Function - - description: Internal bus clock (AHB) for Power Management - - clock-names: - items: - - const: hclkf - - const: hclkpm - - power-domains: - maxItems: 1 - - interrupts: - items: - - description: The USBF EPC interrupt - - description: The USBF AHB-EPC interrupt - -required: - - compatible - - reg - - clocks - - clock-names - - power-domains - - interrupts - -additionalProperties: false - -examples: - - | - #include - #include - - usb@4001e000 { - compatible = "renesas,r9a06g032-usbf", "renesas,rzn1-usbf"; - reg = <0x4001e000 0x2000>; - interrupts = , - ; - clocks = <&sysctrl R9A06G032_HCLK_USBF>, - <&sysctrl R9A06G032_HCLK_USBPM>; - clock-names = "hclkf", "hclkpm"; - power-domains = <&sysctrl>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/usb/renesas,rzn1-usbf.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Renesas RZ/N1 SoCs USBF (USB Function) controller + +description: | + The Renesas USBF controller is an USB2.0 device + controller (UDC). + +maintainers: + - Herve Codina + +properties: + compatible: + items: + - enum: + - renesas,r9a06g032-usbf + - const: renesas,rzn1-usbf + + reg: + maxItems: 1 + + clocks: + items: + - description: Internal bus clock (AHB) for Function + - description: Internal bus clock (AHB) for Power Management + + clock-names: + items: + - const: hclkf + - const: hclkpm + + power-domains: + maxItems: 1 + + interrupts: + items: + - description: The USBF EPC interrupt + - description: The USBF AHB-EPC interrupt + +required: + - compatible + - reg + - clocks + - clock-names + - power-domains + - interrupts + +additionalProperties: false + +examples: + - | + #include + #include + + usb@4001e000 { + compatible = "renesas,r9a06g032-usbf", "renesas,rzn1-usbf"; + reg = <0x4001e000 0x2000>; + interrupts = , + ; + clocks = <&sysctrl R9A06G032_HCLK_USBF>, + <&sysctrl R9A06G032_HCLK_USBPM>; + clock-names = "hclkf", "hclkpm"; + power-domains = <&sysctrl>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/ti,usb8020b.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/ti,usb8020b.yaml index f7bddd3817..8ef117793e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/ti,usb8020b.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/ti,usb8020b.yaml @@ -1,69 +1,69 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/usb/ti,usb8020b.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: TI USB8020B USB 3.0 hub controller - -maintainers: - - Macpaul Lin - -allOf: - - $ref: usb-device.yaml# - -properties: - compatible: - enum: - - usb451,8025 - - usb451,8027 - - reg: true - - reset-gpios: - items: - - description: GPIO specifier for GRST# pin. - - vdd-supply: - description: - VDD power supply to the hub - - peer-hub: - $ref: /schemas/types.yaml#/definitions/phandle - description: - phandle to the peer hub on the controller. - -required: - - compatible - - reg - - peer-hub - -additionalProperties: false - -examples: - - | - #include - - usb { - dr_mode = "host"; - #address-cells = <1>; - #size-cells = <0>; - - /* 2.0 hub on port 1 */ - hub_2_0: hub@1 { - compatible = "usb451,8027"; - reg = <1>; - peer-hub = <&hub_3_0>; - reset-gpios = <&pio 7 GPIO_ACTIVE_HIGH>; - vdd-supply = <&usb_hub_fixed_3v3>; - }; - - /* 3.0 hub on port 2 */ - hub_3_0: hub@2 { - compatible = "usb451,8025"; - reg = <2>; - peer-hub = <&hub_2_0>; - reset-gpios = <&pio 7 GPIO_ACTIVE_HIGH>; - vdd-supply = <&usb_hub_fixed_3v3>; - }; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/usb/ti,usb8020b.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: TI USB8020B USB 3.0 hub controller + +maintainers: + - Macpaul Lin + +allOf: + - $ref: usb-device.yaml# + +properties: + compatible: + enum: + - usb451,8025 + - usb451,8027 + + reg: true + + reset-gpios: + items: + - description: GPIO specifier for GRST# pin. + + vdd-supply: + description: + VDD power supply to the hub + + peer-hub: + $ref: /schemas/types.yaml#/definitions/phandle + description: + phandle to the peer hub on the controller. + +required: + - compatible + - reg + - peer-hub + +additionalProperties: false + +examples: + - | + #include + + usb { + dr_mode = "host"; + #address-cells = <1>; + #size-cells = <0>; + + /* 2.0 hub on port 1 */ + hub_2_0: hub@1 { + compatible = "usb451,8027"; + reg = <1>; + peer-hub = <&hub_3_0>; + reset-gpios = <&pio 7 GPIO_ACTIVE_HIGH>; + vdd-supply = <&usb_hub_fixed_3v3>; + }; + + /* 3.0 hub on port 2 */ + hub_3_0: hub@2 { + compatible = "usb451,8025"; + reg = <2>; + peer-hub = <&hub_2_0>; + reset-gpios = <&pio 7 GPIO_ACTIVE_HIGH>; + vdd-supply = <&usb_hub_fixed_3v3>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/ti,usb8041.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/ti,usb8041.yaml index 46286f7226..c2e29bd61e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/ti,usb8041.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/ti,usb8041.yaml @@ -1,67 +1,67 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/usb/ti,usb8041.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: TI USB8041 USB 3.0 hub controller - -maintainers: - - Alexander Stein - -allOf: - - $ref: usb-device.yaml# - -properties: - compatible: - enum: - - usb451,8140 - - usb451,8142 - - reg: true - - reset-gpios: - items: - - description: GPIO specifier for GRST# pin. - - vdd-supply: - description: - VDD power supply to the hub - - peer-hub: - $ref: /schemas/types.yaml#/definitions/phandle - description: - phandle to the peer hub on the controller. - -required: - - compatible - - reg - - peer-hub - -additionalProperties: false - -examples: - - | - #include - - usb { - dr_mode = "host"; - #address-cells = <1>; - #size-cells = <0>; - - /* 2.0 hub on port 1 */ - hub_2_0: hub@1 { - compatible = "usb451,8142"; - reg = <1>; - peer-hub = <&hub_3_0>; - reset-gpios = <&gpio1 11 GPIO_ACTIVE_LOW>; - }; - - /* 3.0 hub on port 2 */ - hub_3_0: hub@2 { - compatible = "usb451,8140"; - reg = <2>; - peer-hub = <&hub_2_0>; - reset-gpios = <&gpio1 11 GPIO_ACTIVE_LOW>; - }; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/usb/ti,usb8041.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: TI USB8041 USB 3.0 hub controller + +maintainers: + - Alexander Stein + +allOf: + - $ref: usb-device.yaml# + +properties: + compatible: + enum: + - usb451,8140 + - usb451,8142 + + reg: true + + reset-gpios: + items: + - description: GPIO specifier for GRST# pin. + + vdd-supply: + description: + VDD power supply to the hub + + peer-hub: + $ref: /schemas/types.yaml#/definitions/phandle + description: + phandle to the peer hub on the controller. + +required: + - compatible + - reg + - peer-hub + +additionalProperties: false + +examples: + - | + #include + + usb { + dr_mode = "host"; + #address-cells = <1>; + #size-cells = <0>; + + /* 2.0 hub on port 1 */ + hub_2_0: hub@1 { + compatible = "usb451,8142"; + reg = <1>; + peer-hub = <&hub_3_0>; + reset-gpios = <&gpio1 11 GPIO_ACTIVE_LOW>; + }; + + /* 3.0 hub on port 2 */ + hub_3_0: hub@2 { + compatible = "usb451,8140"; + reg = <2>; + peer-hub = <&hub_2_0>; + reset-gpios = <&gpio1 11 GPIO_ACTIVE_LOW>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/twlxxxx-usb.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/twlxxxx-usb.txt index 05cbf8e94c..17327a2961 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/twlxxxx-usb.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/twlxxxx-usb.txt @@ -1,43 +1,43 @@ -USB COMPARATOR OF TWL CHIPS - -TWL6030 USB COMPARATOR - - compatible : Should be "ti,twl6030-usb" - - interrupts : Two interrupt numbers to the cpu should be specified. First - interrupt number is the otg interrupt number that raises ID interrupts when - the controller has to act as host and the second interrupt number is the - usb interrupt number that raises VBUS interrupts when the controller has to - act as device - - usb-supply : phandle to the regulator device tree node. It should be vusb - if it is twl6030 or ldousb if it is twl6032 subclass. - -twl6030-usb { - compatible = "ti,twl6030-usb"; - interrupts = < 4 10 >; -}; - -Board specific device node entry -&twl6030-usb { - usb-supply = <&vusb>; -}; - -TWL4030 USB PHY AND COMPARATOR - - compatible : Should be "ti,twl4030-usb" - - interrupts : The interrupt numbers to the cpu should be specified. First - interrupt number is the otg interrupt number that raises ID interrupts - and VBUS interrupts. The second interrupt number is optional. - - -supply : phandle to the regulator device tree node. - should be vusb1v5, vusb1v8 and vusb3v1 - - usb_mode : The mode used by the phy to connect to the controller. "1" - specifies "ULPI" mode and "2" specifies "CEA2011_3PIN" mode. - -If a sibling node is compatible "ti,twl4030-bci", then it will find -this device and query it for USB power status. - -twl4030-usb { - compatible = "ti,twl4030-usb"; - interrupts = < 10 4 >; - usb1v5-supply = <&vusb1v5>; - usb1v8-supply = <&vusb1v8>; - usb3v1-supply = <&vusb3v1>; - usb_mode = <1>; -}; +USB COMPARATOR OF TWL CHIPS + +TWL6030 USB COMPARATOR + - compatible : Should be "ti,twl6030-usb" + - interrupts : Two interrupt numbers to the cpu should be specified. First + interrupt number is the otg interrupt number that raises ID interrupts when + the controller has to act as host and the second interrupt number is the + usb interrupt number that raises VBUS interrupts when the controller has to + act as device + - usb-supply : phandle to the regulator device tree node. It should be vusb + if it is twl6030 or ldousb if it is twl6032 subclass. + +twl6030-usb { + compatible = "ti,twl6030-usb"; + interrupts = < 4 10 >; +}; + +Board specific device node entry +&twl6030-usb { + usb-supply = <&vusb>; +}; + +TWL4030 USB PHY AND COMPARATOR + - compatible : Should be "ti,twl4030-usb" + - interrupts : The interrupt numbers to the cpu should be specified. First + interrupt number is the otg interrupt number that raises ID interrupts + and VBUS interrupts. The second interrupt number is optional. + - -supply : phandle to the regulator device tree node. + should be vusb1v5, vusb1v8 and vusb3v1 + - usb_mode : The mode used by the phy to connect to the controller. "1" + specifies "ULPI" mode and "2" specifies "CEA2011_3PIN" mode. + +If a sibling node is compatible "ti,twl4030-bci", then it will find +this device and query it for USB power status. + +twl4030-usb { + compatible = "ti,twl4030-usb"; + interrupts = < 10 4 >; + usb1v5-supply = <&vusb1v5>; + usb1v8-supply = <&vusb1v8>; + usb3v1-supply = <&vusb3v1>; + usb_mode = <1>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/usb-nop-xceiv.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/usb-nop-xceiv.yaml index a3336b5614..9b3ea23654 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/usb-nop-xceiv.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/usb-nop-xceiv.yaml @@ -1,73 +1,73 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/usb/usb-nop-xceiv.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: USB NOP PHY - -maintainers: - - Rob Herring - -properties: - compatible: - const: usb-nop-xceiv - - clocks: - maxItems: 1 - - clock-names: - const: main_clk - - clock-frequency: true - - '#phy-cells': - const: 0 - - vcc-supply: - description: phandle to the regulator that provides power to the PHY. - - power-domains: - maxItems: 1 - - reset-gpios: - maxItems: 1 - - vbus-detect-gpio: - description: Should specify the GPIO detecting a VBus insertion - maxItems: 1 - - vbus-supply: - description: regulator supplying VBUS. It will be enabled and disabled - dynamically in OTG mode. If the regulator is controlled by a - GPIO line, this should be modeled as a regulator-fixed and - referenced by this supply. - - wakeup-source: - description: - Specify if the USB phy can detect the remote wakeup signal - while the system sleep. - -required: - - compatible - - '#phy-cells' - -additionalProperties: false - -examples: - - | - #include - - hsusb1_phy { - compatible = "usb-nop-xceiv"; - clock-frequency = <19200000>; - clocks = <&osc 0>; - clock-names = "main_clk"; - vcc-supply = <&hsusb1_vcc_regulator>; - reset-gpios = <&gpio1 7 GPIO_ACTIVE_LOW>; - vbus-detect-gpio = <&gpio2 13 GPIO_ACTIVE_HIGH>; - vbus-supply = <&vbus_regulator>; - #phy-cells = <0>; - }; - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/usb/usb-nop-xceiv.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: USB NOP PHY + +maintainers: + - Rob Herring + +properties: + compatible: + const: usb-nop-xceiv + + clocks: + maxItems: 1 + + clock-names: + const: main_clk + + clock-frequency: true + + '#phy-cells': + const: 0 + + vcc-supply: + description: phandle to the regulator that provides power to the PHY. + + power-domains: + maxItems: 1 + + reset-gpios: + maxItems: 1 + + vbus-detect-gpio: + description: Should specify the GPIO detecting a VBus insertion + maxItems: 1 + + vbus-supply: + description: regulator supplying VBUS. It will be enabled and disabled + dynamically in OTG mode. If the regulator is controlled by a + GPIO line, this should be modeled as a regulator-fixed and + referenced by this supply. + + wakeup-source: + description: + Specify if the USB phy can detect the remote wakeup signal + while the system sleep. + +required: + - compatible + - '#phy-cells' + +additionalProperties: false + +examples: + - | + #include + + hsusb1_phy { + compatible = "usb-nop-xceiv"; + clock-frequency = <19200000>; + clocks = <&osc 0>; + clock-names = "main_clk"; + vcc-supply = <&hsusb1_vcc_regulator>; + reset-gpios = <&gpio1 7 GPIO_ACTIVE_LOW>; + vbus-detect-gpio = <&gpio2 13 GPIO_ACTIVE_HIGH>; + vbus-supply = <&vbus_regulator>; + #phy-cells = <0>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/usb-switch.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/usb-switch.yaml index ff094ea0a0..da76118e73 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/usb-switch.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/usb-switch.yaml @@ -1,67 +1,67 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/usb/usb-switch.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: USB Orientation and Mode Switches Common Properties - -maintainers: - - Greg Kroah-Hartman - -description: - Common properties for devices handling USB mode and orientation switching. - -properties: - mode-switch: - description: Possible handler of altmode switching - type: boolean - - orientation-switch: - description: Possible handler of orientation switching - type: boolean - - retimer-switch: - description: Possible handler of SuperSpeed signals retiming - type: boolean - - port: - $ref: /schemas/graph.yaml#/properties/port - description: - A port node to link the device to a TypeC controller for the purpose of - handling altmode muxing and orientation switching. - - ports: - $ref: /schemas/graph.yaml#/properties/ports - properties: - port@0: - $ref: /schemas/graph.yaml#/properties/port - description: - Super Speed (SS) Output endpoint to the Type-C connector - - port@1: - $ref: /schemas/graph.yaml#/$defs/port-base - description: - Super Speed (SS) Input endpoint from the Super-Speed PHY - unevaluatedProperties: false - - properties: - endpoint: - $ref: /schemas/graph.yaml#/$defs/endpoint-base - unevaluatedProperties: false - properties: - data-lanes: - $ref: /schemas/types.yaml#/definitions/uint32-array - minItems: 1 - maxItems: 8 - uniqueItems: true - items: - maximum: 8 - -oneOf: - - required: - - port - - required: - - ports - -additionalProperties: true +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/usb/usb-switch.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: USB Orientation and Mode Switches Common Properties + +maintainers: + - Greg Kroah-Hartman + +description: + Common properties for devices handling USB mode and orientation switching. + +properties: + mode-switch: + description: Possible handler of altmode switching + type: boolean + + orientation-switch: + description: Possible handler of orientation switching + type: boolean + + retimer-switch: + description: Possible handler of SuperSpeed signals retiming + type: boolean + + port: + $ref: /schemas/graph.yaml#/properties/port + description: + A port node to link the device to a TypeC controller for the purpose of + handling altmode muxing and orientation switching. + + ports: + $ref: /schemas/graph.yaml#/properties/ports + properties: + port@0: + $ref: /schemas/graph.yaml#/properties/port + description: + Super Speed (SS) Output endpoint to the Type-C connector + + port@1: + $ref: /schemas/graph.yaml#/$defs/port-base + description: + Super Speed (SS) Input endpoint from the Super-Speed PHY + unevaluatedProperties: false + + properties: + endpoint: + $ref: /schemas/graph.yaml#/$defs/endpoint-base + unevaluatedProperties: false + properties: + data-lanes: + $ref: /schemas/types.yaml#/definitions/uint32-array + minItems: 1 + maxItems: 8 + uniqueItems: true + items: + maximum: 8 + +oneOf: + - required: + - port + - required: + - ports + +additionalProperties: true diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/usb-uhci.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/usb-uhci.yaml index 77230685c6..d8336f72dc 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/usb-uhci.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/usb-uhci.yaml @@ -1,75 +1,75 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/usb/usb-uhci.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Generic Platform UHCI Controller - -maintainers: - - Greg Kroah-Hartman - -properties: - compatible: - oneOf: - - const: generic-uhci - - const: platform-uhci - deprecated: true - - items: - - enum: - - aspeed,ast2400-uhci - - aspeed,ast2500-uhci - - aspeed,ast2600-uhci - - const: generic-uhci - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - '#ports': - $ref: /schemas/types.yaml#/definitions/uint32 - - clocks: - maxItems: 1 - -required: - - compatible - - reg - - interrupts - -allOf: - - $ref: usb-hcd.yaml - - if: - properties: - compatible: - contains: - const: generic-uhci - then: - required: - - clocks - -unevaluatedProperties: false - -examples: - - | - #include - - usb@d8007b00 { - compatible = "generic-uhci"; - reg = <0xd8007b00 0x200>; - interrupts = <43>; - clocks = <&syscon ASPEED_CLK_GATE_USBUHCICLK>; - }; - - | - #include - - usb@1e6b0000 { - compatible = "aspeed,ast2500-uhci", "generic-uhci"; - reg = <0x1e6b0000 0x100>; - interrupts = <14>; - #ports = <2>; - clocks = <&syscon ASPEED_CLK_GATE_USBUHCICLK>; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/usb/usb-uhci.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Generic Platform UHCI Controller + +maintainers: + - Greg Kroah-Hartman + +properties: + compatible: + oneOf: + - const: generic-uhci + - const: platform-uhci + deprecated: true + - items: + - enum: + - aspeed,ast2400-uhci + - aspeed,ast2500-uhci + - aspeed,ast2600-uhci + - const: generic-uhci + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + '#ports': + $ref: /schemas/types.yaml#/definitions/uint32 + + clocks: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + +allOf: + - $ref: usb-hcd.yaml + - if: + properties: + compatible: + contains: + const: generic-uhci + then: + required: + - clocks + +unevaluatedProperties: false + +examples: + - | + #include + + usb@d8007b00 { + compatible = "generic-uhci"; + reg = <0xd8007b00 0x200>; + interrupts = <43>; + clocks = <&syscon ASPEED_CLK_GATE_USBUHCICLK>; + }; + - | + #include + + usb@1e6b0000 { + compatible = "aspeed,ast2500-uhci", "generic-uhci"; + reg = <0x1e6b0000 0x100>; + interrupts = <14>; + #ports = <2>; + clocks = <&syscon ASPEED_CLK_GATE_USBUHCICLK>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/usb.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/usb.yaml index 910ccd337b..1761b7aa92 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/usb.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/usb.yaml @@ -1,64 +1,64 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/usb/usb.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Generic USB Controller - -maintainers: - - Greg Kroah-Hartman - -select: false - -properties: - $nodename: - pattern: "^usb(@.*)?" - - phys: - description: - List of all the USB PHYs on this HCD - - phy-names: - description: - Name specifier for the USB PHY - - usb-phy: - $ref: /schemas/types.yaml#/definitions/phandle-array - items: - maxItems: 1 - description: - List of all the USB PHYs on this HCD to be accepted by the legacy USB - Physical Layer subsystem. - deprecated: true - - phy_type: - description: - Tells USB controllers that we want to configure the core to support a - UTMI+ PHY with an 8- or 16-bit interface if UTMI+ is selected, UTMI+ low - pin interface if ULPI is specified, Serial core/PHY interconnect if - serial is specified and High-Speed Inter-Chip feature if HSIC is - selected. In case this isn't passed via DT, USB controllers should - default to HW capability. - $ref: /schemas/types.yaml#/definitions/string - enum: [utmi, utmi_wide, ulpi, serial, hsic] - - maximum-speed: - description: - Tells USB controllers we want to work up to a certain speed. In case this - isn't passed via DT, USB controllers should default to their maximum HW - capability. - $ref: /schemas/types.yaml#/definitions/string - enum: - - low-speed - - full-speed - - high-speed - - super-speed - - super-speed-plus - - super-speed-plus-gen2x1 - - super-speed-plus-gen1x2 - - super-speed-plus-gen2x2 - -additionalProperties: true - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/usb/usb.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Generic USB Controller + +maintainers: + - Greg Kroah-Hartman + +select: false + +properties: + $nodename: + pattern: "^usb(@.*)?" + + phys: + description: + List of all the USB PHYs on this HCD + + phy-names: + description: + Name specifier for the USB PHY + + usb-phy: + $ref: /schemas/types.yaml#/definitions/phandle-array + items: + maxItems: 1 + description: + List of all the USB PHYs on this HCD to be accepted by the legacy USB + Physical Layer subsystem. + deprecated: true + + phy_type: + description: + Tells USB controllers that we want to configure the core to support a + UTMI+ PHY with an 8- or 16-bit interface if UTMI+ is selected, UTMI+ low + pin interface if ULPI is specified, Serial core/PHY interconnect if + serial is specified and High-Speed Inter-Chip feature if HSIC is + selected. In case this isn't passed via DT, USB controllers should + default to HW capability. + $ref: /schemas/types.yaml#/definitions/string + enum: [utmi, utmi_wide, ulpi, serial, hsic] + + maximum-speed: + description: + Tells USB controllers we want to work up to a certain speed. In case this + isn't passed via DT, USB controllers should default to their maximum HW + capability. + $ref: /schemas/types.yaml#/definitions/string + enum: + - low-speed + - full-speed + - high-speed + - super-speed + - super-speed-plus + - super-speed-plus-gen2x1 + - super-speed-plus-gen1x2 + - super-speed-plus-gen2x2 + +additionalProperties: true + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/ux500-usb.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/ux500-usb.txt index 5d3f70babc..439a41c79a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/ux500-usb.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/ux500-usb.txt @@ -1,50 +1,50 @@ -Ux500 MUSB - -Required properties: - - compatible : Should be "stericsson,db8500-musb" - - reg : Offset and length of registers - - interrupts : Interrupt; mode, number and trigger - - dr_mode : Dual-role; either host mode "host", peripheral mode "peripheral" - or both "otg" - -Optional properties: - - dmas : A list of dma channels; - dma-controller, event-line, fixed-channel, flags - - dma-names : An ordered list of channel names affiliated to the above - -Example: - -usb_per5@a03e0000 { - compatible = "stericsson,db8500-musb"; - reg = <0xa03e0000 0x10000>; - interrupts = <0 23 0x4>; - interrupt-names = "mc"; - - dr_mode = "otg"; - - dmas = <&dma 38 0 0x2>, /* Logical - DevToMem */ - <&dma 38 0 0x0>, /* Logical - MemToDev */ - <&dma 37 0 0x2>, /* Logical - DevToMem */ - <&dma 37 0 0x0>, /* Logical - MemToDev */ - <&dma 36 0 0x2>, /* Logical - DevToMem */ - <&dma 36 0 0x0>, /* Logical - MemToDev */ - <&dma 19 0 0x2>, /* Logical - DevToMem */ - <&dma 19 0 0x0>, /* Logical - MemToDev */ - <&dma 18 0 0x2>, /* Logical - DevToMem */ - <&dma 18 0 0x0>, /* Logical - MemToDev */ - <&dma 17 0 0x2>, /* Logical - DevToMem */ - <&dma 17 0 0x0>, /* Logical - MemToDev */ - <&dma 16 0 0x2>, /* Logical - DevToMem */ - <&dma 16 0 0x0>, /* Logical - MemToDev */ - <&dma 39 0 0x2>, /* Logical - DevToMem */ - <&dma 39 0 0x0>; /* Logical - MemToDev */ - - dma-names = "iep_1_9", "oep_1_9", - "iep_2_10", "oep_2_10", - "iep_3_11", "oep_3_11", - "iep_4_12", "oep_4_12", - "iep_5_13", "oep_5_13", - "iep_6_14", "oep_6_14", - "iep_7_15", "oep_7_15", - "iep_8", "oep_8"; -}; +Ux500 MUSB + +Required properties: + - compatible : Should be "stericsson,db8500-musb" + - reg : Offset and length of registers + - interrupts : Interrupt; mode, number and trigger + - dr_mode : Dual-role; either host mode "host", peripheral mode "peripheral" + or both "otg" + +Optional properties: + - dmas : A list of dma channels; + dma-controller, event-line, fixed-channel, flags + - dma-names : An ordered list of channel names affiliated to the above + +Example: + +usb_per5@a03e0000 { + compatible = "stericsson,db8500-musb"; + reg = <0xa03e0000 0x10000>; + interrupts = <0 23 0x4>; + interrupt-names = "mc"; + + dr_mode = "otg"; + + dmas = <&dma 38 0 0x2>, /* Logical - DevToMem */ + <&dma 38 0 0x0>, /* Logical - MemToDev */ + <&dma 37 0 0x2>, /* Logical - DevToMem */ + <&dma 37 0 0x0>, /* Logical - MemToDev */ + <&dma 36 0 0x2>, /* Logical - DevToMem */ + <&dma 36 0 0x0>, /* Logical - MemToDev */ + <&dma 19 0 0x2>, /* Logical - DevToMem */ + <&dma 19 0 0x0>, /* Logical - MemToDev */ + <&dma 18 0 0x2>, /* Logical - DevToMem */ + <&dma 18 0 0x0>, /* Logical - MemToDev */ + <&dma 17 0 0x2>, /* Logical - DevToMem */ + <&dma 17 0 0x0>, /* Logical - MemToDev */ + <&dma 16 0 0x2>, /* Logical - DevToMem */ + <&dma 16 0 0x0>, /* Logical - MemToDev */ + <&dma 39 0 0x2>, /* Logical - DevToMem */ + <&dma 39 0 0x0>; /* Logical - MemToDev */ + + dma-names = "iep_1_9", "oep_1_9", + "iep_2_10", "oep_2_10", + "iep_3_11", "oep_3_11", + "iep_4_12", "oep_4_12", + "iep_5_13", "oep_5_13", + "iep_6_14", "oep_6_14", + "iep_7_15", "oep_7_15", + "iep_8", "oep_8"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/vialab,vl817.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/vialab,vl817.yaml index a76256d0b6..c815010ba9 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/vialab,vl817.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/vialab,vl817.yaml @@ -1,70 +1,70 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/usb/vialab,vl817.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Via labs VL817 USB 3.1 hub controller - -maintainers: - - Anand Moon - -allOf: - - $ref: usb-device.yaml# - -properties: - compatible: - enum: - - usb2109,2817 - - usb2109,817 - - reg: true - - reset-gpios: - maxItems: 1 - description: - GPIO controlling the RESET# pin. - - vdd-supply: - description: - phandle to the regulator that provides power to the hub. - - peer-hub: - $ref: /schemas/types.yaml#/definitions/phandle - description: - phandle to the peer hub on the controller. - -required: - - compatible - - reg - - vdd-supply - - peer-hub - -additionalProperties: false - -examples: - - | - #include - - usb { - #address-cells = <1>; - #size-cells = <0>; - - /* 2.0 hub on port 1 */ - hub_2_0: hub@1 { - compatible = "usb2109,2817"; - reg = <1>; - vdd-supply = <&vcc_5v>; - peer-hub = <&hub_3_0>; - reset-gpios = <&gpio 20 GPIO_ACTIVE_LOW>; - }; - - /* 3.1 hub on port 4 */ - hub_3_0: hub@2 { - compatible = "usb2109,817"; - reg = <2>; - vdd-supply = <&vcc_5v>; - peer-hub = <&hub_2_0>; - reset-gpios = <&gpio 20 GPIO_ACTIVE_LOW>; - }; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/usb/vialab,vl817.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Via labs VL817 USB 3.1 hub controller + +maintainers: + - Anand Moon + +allOf: + - $ref: usb-device.yaml# + +properties: + compatible: + enum: + - usb2109,2817 + - usb2109,817 + + reg: true + + reset-gpios: + maxItems: 1 + description: + GPIO controlling the RESET# pin. + + vdd-supply: + description: + phandle to the regulator that provides power to the hub. + + peer-hub: + $ref: /schemas/types.yaml#/definitions/phandle + description: + phandle to the peer hub on the controller. + +required: + - compatible + - reg + - vdd-supply + - peer-hub + +additionalProperties: false + +examples: + - | + #include + + usb { + #address-cells = <1>; + #size-cells = <0>; + + /* 2.0 hub on port 1 */ + hub_2_0: hub@1 { + compatible = "usb2109,2817"; + reg = <1>; + vdd-supply = <&vcc_5v>; + peer-hub = <&hub_3_0>; + reset-gpios = <&gpio 20 GPIO_ACTIVE_LOW>; + }; + + /* 3.1 hub on port 4 */ + hub_3_0: hub@2 { + compatible = "usb2109,817"; + reg = <2>; + vdd-supply = <&vcc_5v>; + peer-hub = <&hub_2_0>; + reset-gpios = <&gpio 20 GPIO_ACTIVE_LOW>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/willsemi,wusb3801.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/willsemi,wusb3801.yaml index 2bf47e2e0f..937670de01 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/willsemi,wusb3801.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/willsemi,wusb3801.yaml @@ -1,76 +1,76 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/usb/willsemi,wusb3801.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: WUSB3801 Type-C port controller - -description: - The Will Semiconductor WUSB3801 is a USB Type-C port controller which - supports role and plug orientation detection using the CC pins. It is - compatible with the USB Type-C Cable and Connector Specification v1.2. - -maintainers: - - Samuel Holland - -properties: - compatible: - enum: - - willsemi,wusb3801 - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - connector: - type: object - $ref: ../connector/usb-connector.yaml# - unevaluatedProperties: false - description: - The managed USB Type-C connector. Since WUSB3801 does not support - Power Delivery, the node should have the "pd-disable" property. - - properties: - compatible: - const: usb-c-connector - - required: - - pd-disable - -required: - - compatible - - reg - - interrupts - - connector - -additionalProperties: false - -examples: - - | - #include - - i2c { - #address-cells = <1>; - #size-cells = <0>; - - tcpc@60 { - compatible = "willsemi,wusb3801"; - reg = <0x60>; - interrupt-parent = <&gpio0>; - interrupts = <4 IRQ_TYPE_LEVEL_LOW>; - - connector { - compatible = "usb-c-connector"; - label = "USB-C"; - vbus-supply = <&otg_switch>; - power-role = "dual"; - try-power-role = "sink"; - data-role = "dual"; - typec-power-opmode = "default"; - pd-disable; - }; - }; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/usb/willsemi,wusb3801.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: WUSB3801 Type-C port controller + +description: + The Will Semiconductor WUSB3801 is a USB Type-C port controller which + supports role and plug orientation detection using the CC pins. It is + compatible with the USB Type-C Cable and Connector Specification v1.2. + +maintainers: + - Samuel Holland + +properties: + compatible: + enum: + - willsemi,wusb3801 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + connector: + type: object + $ref: ../connector/usb-connector.yaml# + unevaluatedProperties: false + description: + The managed USB Type-C connector. Since WUSB3801 does not support + Power Delivery, the node should have the "pd-disable" property. + + properties: + compatible: + const: usb-c-connector + + required: + - pd-disable + +required: + - compatible + - reg + - interrupts + - connector + +additionalProperties: false + +examples: + - | + #include + + i2c { + #address-cells = <1>; + #size-cells = <0>; + + tcpc@60 { + compatible = "willsemi,wusb3801"; + reg = <0x60>; + interrupt-parent = <&gpio0>; + interrupts = <4 IRQ_TYPE_LEVEL_LOW>; + + connector { + compatible = "usb-c-connector"; + label = "USB-C"; + vbus-supply = <&otg_switch>; + power-role = "dual"; + try-power-role = "sink"; + data-role = "dual"; + typec-power-opmode = "default"; + pd-disable; + }; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/w1/w1-uart.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/w1/w1-uart.yaml index 18598e442b..bd7c62d780 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/w1/w1-uart.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/w1/w1-uart.yaml @@ -1,59 +1,59 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/w1/w1-uart.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: UART 1-Wire Bus - -maintainers: - - Christoph Winklhofer - -description: | - UART 1-wire bus. Utilizes the UART interface via the Serial Device Bus - to create the 1-Wire timing patterns. - - The UART peripheral must support full-duplex and operate in open-drain - mode. The timing patterns are generated by a specific combination of - baud-rate and transmitted byte, which corresponds to a 1-Wire read bit, - write bit or reset pulse. - - The default baud-rate for reset and presence detection is 9600 and for - a 1-Wire read or write operation 115200. In case the actual baud-rate - is different from the requested one, the transmitted byte is adapted - to generate the 1-Wire timing patterns. - - https://www.analog.com/en/technical-articles/using-a-uart-to-implement-a-1wire-bus-master.html - -properties: - compatible: - const: w1-uart - - reset-bps: - default: 9600 - description: - The baud rate for the 1-Wire reset and presence detect. - - write-0-bps: - default: 115200 - description: - The baud rate for the 1-Wire write-0 cycle. - - write-1-bps: - default: 115200 - description: - The baud rate for the 1-Wire write-1 and read cycle. - -required: - - compatible - -additionalProperties: - type: object - -examples: - - | - serial { - onewire { - compatible = "w1-uart"; - }; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/w1/w1-uart.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: UART 1-Wire Bus + +maintainers: + - Christoph Winklhofer + +description: | + UART 1-wire bus. Utilizes the UART interface via the Serial Device Bus + to create the 1-Wire timing patterns. + + The UART peripheral must support full-duplex and operate in open-drain + mode. The timing patterns are generated by a specific combination of + baud-rate and transmitted byte, which corresponds to a 1-Wire read bit, + write bit or reset pulse. + + The default baud-rate for reset and presence detection is 9600 and for + a 1-Wire read or write operation 115200. In case the actual baud-rate + is different from the requested one, the transmitted byte is adapted + to generate the 1-Wire timing patterns. + + https://www.analog.com/en/technical-articles/using-a-uart-to-implement-a-1wire-bus-master.html + +properties: + compatible: + const: w1-uart + + reset-bps: + default: 9600 + description: + The baud rate for the 1-Wire reset and presence detect. + + write-0-bps: + default: 115200 + description: + The baud rate for the 1-Wire write-0 cycle. + + write-1-bps: + default: 115200 + description: + The baud rate for the 1-Wire write-1 and read cycle. + +required: + - compatible + +additionalProperties: + type: object + +examples: + - | + serial { + onewire { + compatible = "w1-uart"; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/alphascale,asm9260-wdt.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/alphascale,asm9260-wdt.yaml index c35faf9e42..6425fe51d2 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/alphascale,asm9260-wdt.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/alphascale,asm9260-wdt.yaml @@ -1,70 +1,70 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/watchdog/alphascale,asm9260-wdt.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Alphascale asm9260 Watchdog timer - -maintainers: - - Oleksij Rempel - -allOf: - - $ref: watchdog.yaml# - -properties: - compatible: - const: alphascale,asm9260-wdt - - reg: - maxItems: 1 - - clocks: - items: - - description: source clock, used for tick counter - - description: ahb gate - - clock-names: - items: - - const: mod - - const: ahb - - interrupts: - maxItems: 1 - - resets: - maxItems: 1 - - reset-names: - items: - - const: wdt_rst - - alphascale,mode: - description: | - Specifies the reset mode of operation. If set to sw, then reset is handled - via interrupt request, if set to debug, then it does nothing and logs. - $ref: /schemas/types.yaml#/definitions/string - enum: [hw, sw, debug] - default: hw - -required: - - compatible - - reg - - clocks - - clock-names - - interrupts - -unevaluatedProperties: false - -examples: - - | - #include - watchdog0: watchdog@80048000 { - compatible = "alphascale,asm9260-wdt"; - reg = <0x80048000 0x10>; - clocks = <&acc CLKID_SYS_WDT>, <&acc CLKID_AHB_WDT>; - clock-names = "mod", "ahb"; - interrupts = <55>; - timeout-sec = <30>; - alphascale,mode = "hw"; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/watchdog/alphascale,asm9260-wdt.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Alphascale asm9260 Watchdog timer + +maintainers: + - Oleksij Rempel + +allOf: + - $ref: watchdog.yaml# + +properties: + compatible: + const: alphascale,asm9260-wdt + + reg: + maxItems: 1 + + clocks: + items: + - description: source clock, used for tick counter + - description: ahb gate + + clock-names: + items: + - const: mod + - const: ahb + + interrupts: + maxItems: 1 + + resets: + maxItems: 1 + + reset-names: + items: + - const: wdt_rst + + alphascale,mode: + description: | + Specifies the reset mode of operation. If set to sw, then reset is handled + via interrupt request, if set to debug, then it does nothing and logs. + $ref: /schemas/types.yaml#/definitions/string + enum: [hw, sw, debug] + default: hw + +required: + - compatible + - reg + - clocks + - clock-names + - interrupts + +unevaluatedProperties: false + +examples: + - | + #include + watchdog0: watchdog@80048000 { + compatible = "alphascale,asm9260-wdt"; + reg = <0x80048000 0x10>; + clocks = <&acc CLKID_SYS_WDT>, <&acc CLKID_AHB_WDT>; + clock-names = "mod", "ahb"; + interrupts = <55>; + timeout-sec = <30>; + alphascale,mode = "hw"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/arm,sp805.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/arm,sp805.yaml index b75dc65539..bd7c09ed19 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/arm,sp805.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/arm,sp805.yaml @@ -1,75 +1,75 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/watchdog/arm,sp805.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: ARM AMBA Primecell SP805 Watchdog - -maintainers: - - Viresh Kumar - -description: |+ - The Arm SP805 IP implements a watchdog device, which triggers an interrupt - after a configurable time period. If that interrupt has not been serviced - when the next interrupt would be triggered, the reset signal is asserted. - -allOf: - - $ref: /schemas/watchdog/watchdog.yaml# - -# Need a custom select here or 'arm,primecell' will match on lots of nodes -select: - properties: - compatible: - contains: - const: arm,sp805 - required: - - compatible - -properties: - compatible: - items: - - const: arm,sp805 - - const: arm,primecell - - interrupts: - maxItems: 1 - - reg: - maxItems: 1 - - clocks: - description: | - Clocks driving the watchdog timer hardware. The first clock is used - for the actual watchdog counter. The second clock drives the register - interface. - maxItems: 2 - - clock-names: - items: - - const: wdog_clk - - const: apb_pclk - - resets: - maxItems: 1 - description: WDOGRESn input reset signal for sp805 module. - -required: - - compatible - - reg - - clocks - - clock-names - -unevaluatedProperties: false - -examples: - - | - #include - watchdog@66090000 { - compatible = "arm,sp805", "arm,primecell"; - reg = <0x66090000 0x1000>; - interrupts = ; - clocks = <&wdt_clk>, <&apb_pclk>; - clock-names = "wdog_clk", "apb_pclk"; - resets = <&wdt_rst>; - }; +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/watchdog/arm,sp805.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ARM AMBA Primecell SP805 Watchdog + +maintainers: + - Viresh Kumar + +description: |+ + The Arm SP805 IP implements a watchdog device, which triggers an interrupt + after a configurable time period. If that interrupt has not been serviced + when the next interrupt would be triggered, the reset signal is asserted. + +allOf: + - $ref: /schemas/watchdog/watchdog.yaml# + +# Need a custom select here or 'arm,primecell' will match on lots of nodes +select: + properties: + compatible: + contains: + const: arm,sp805 + required: + - compatible + +properties: + compatible: + items: + - const: arm,sp805 + - const: arm,primecell + + interrupts: + maxItems: 1 + + reg: + maxItems: 1 + + clocks: + description: | + Clocks driving the watchdog timer hardware. The first clock is used + for the actual watchdog counter. The second clock drives the register + interface. + maxItems: 2 + + clock-names: + items: + - const: wdog_clk + - const: apb_pclk + + resets: + maxItems: 1 + description: WDOGRESn input reset signal for sp805 module. + +required: + - compatible + - reg + - clocks + - clock-names + +unevaluatedProperties: false + +examples: + - | + #include + watchdog@66090000 { + compatible = "arm,sp805", "arm,primecell"; + reg = <0x66090000 0x1000>; + interrupts = ; + clocks = <&wdt_clk>, <&apb_pclk>; + clock-names = "wdog_clk", "apb_pclk"; + resets = <&wdt_rst>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/dlg,da9062-watchdog.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/dlg,da9062-watchdog.yaml index f06364737a..64619ba08d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/dlg,da9062-watchdog.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/dlg,da9062-watchdog.yaml @@ -1,54 +1,54 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/watchdog/dlg,da9062-watchdog.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Dialog Semiconductor DA906{1,2,3} Watchdog Timer - -maintainers: - - Steve Twiss - -allOf: - - $ref: watchdog.yaml# - -properties: - compatible: - oneOf: - - enum: - - dlg,da9062-watchdog - - dlg,da9063-watchdog - - items: - - const: dlg,da9061-watchdog - - const: dlg,da9062-watchdog - - dlg,use-sw-pm: - type: boolean - description: - Add this property to disable the watchdog during suspend. - Only use this option if you can't use the watchdog automatic suspend - function during a suspend (see register CONTROL_B). - - dlg,wdt-sd: - $ref: /schemas/types.yaml#/definitions/uint32 - enum: [0, 1] - description: - Set what happens on watchdog timeout. If this bit is set the - watchdog timeout triggers SHUTDOWN, if cleared the watchdog triggers - POWERDOWN. Can be 0 or 1. Only use this option if you want to change the - default chip's OTP setting for WATCHDOG_SD bit. If this property is NOT - set the WATCHDOG_SD bit and on timeout watchdog behavior will match the - chip's OTP settings. - -required: - - compatible - -unevaluatedProperties: false - -examples: - - | - watchdog { - compatible = "dlg,da9062-watchdog"; - dlg,use-sw-pm; - dlg,wdt-sd = <1>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/watchdog/dlg,da9062-watchdog.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Dialog Semiconductor DA906{1,2,3} Watchdog Timer + +maintainers: + - Steve Twiss + +allOf: + - $ref: watchdog.yaml# + +properties: + compatible: + oneOf: + - enum: + - dlg,da9062-watchdog + - dlg,da9063-watchdog + - items: + - const: dlg,da9061-watchdog + - const: dlg,da9062-watchdog + + dlg,use-sw-pm: + type: boolean + description: + Add this property to disable the watchdog during suspend. + Only use this option if you can't use the watchdog automatic suspend + function during a suspend (see register CONTROL_B). + + dlg,wdt-sd: + $ref: /schemas/types.yaml#/definitions/uint32 + enum: [0, 1] + description: + Set what happens on watchdog timeout. If this bit is set the + watchdog timeout triggers SHUTDOWN, if cleared the watchdog triggers + POWERDOWN. Can be 0 or 1. Only use this option if you want to change the + default chip's OTP setting for WATCHDOG_SD bit. If this property is NOT + set the WATCHDOG_SD bit and on timeout watchdog behavior will match the + chip's OTP settings. + +required: + - compatible + +unevaluatedProperties: false + +examples: + - | + watchdog { + compatible = "dlg,da9062-watchdog"; + dlg,use-sw-pm; + dlg,wdt-sd = <1>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/faraday,ftwdt010.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/faraday,ftwdt010.yaml index bad803dc9e..726dc872ad 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/faraday,ftwdt010.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/faraday,ftwdt010.yaml @@ -1,67 +1,67 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/watchdog/faraday,ftwdt010.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Faraday Technology FTWDT010 watchdog - -maintainers: - - Linus Walleij - - Corentin Labbe - -description: | - This is an IP part from Faraday Technology found in the Gemini - SoCs and others. - -allOf: - - $ref: watchdog.yaml# - -properties: - compatible: - oneOf: - - const: faraday,ftwdt010 - - items: - - enum: - - cortina,gemini-watchdog - - moxa,moxart-watchdog - - const: faraday,ftwdt010 - - reg: - maxItems: 1 - - resets: - maxItems: 1 - - clocks: - maxItems: 1 - - clock-names: - const: PCLK - - interrupts: - maxItems: 1 - -required: - - compatible - - reg - -unevaluatedProperties: false - -examples: - - | - #include - watchdog@41000000 { - compatible = "faraday,ftwdt010"; - reg = <0x41000000 0x1000>; - interrupts = <3 IRQ_TYPE_LEVEL_HIGH>; - timeout-sec = <5>; - }; - - | - watchdog: watchdog@98500000 { - compatible = "moxa,moxart-watchdog", "faraday,ftwdt010"; - reg = <0x98500000 0x10>; - clocks = <&clk_apb>; - clock-names = "PCLK"; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/watchdog/faraday,ftwdt010.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Faraday Technology FTWDT010 watchdog + +maintainers: + - Linus Walleij + - Corentin Labbe + +description: | + This is an IP part from Faraday Technology found in the Gemini + SoCs and others. + +allOf: + - $ref: watchdog.yaml# + +properties: + compatible: + oneOf: + - const: faraday,ftwdt010 + - items: + - enum: + - cortina,gemini-watchdog + - moxa,moxart-watchdog + - const: faraday,ftwdt010 + + reg: + maxItems: 1 + + resets: + maxItems: 1 + + clocks: + maxItems: 1 + + clock-names: + const: PCLK + + interrupts: + maxItems: 1 + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + #include + watchdog@41000000 { + compatible = "faraday,ftwdt010"; + reg = <0x41000000 0x1000>; + interrupts = <3 IRQ_TYPE_LEVEL_HIGH>; + timeout-sec = <5>; + }; + - | + watchdog: watchdog@98500000 { + compatible = "moxa,moxart-watchdog", "faraday,ftwdt010"; + reg = <0x98500000 0x10>; + clocks = <&clk_apb>; + clock-names = "PCLK"; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/fsl-imx7ulp-wdt.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/fsl-imx7ulp-wdt.yaml index 0e29486747..a09686b303 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/fsl-imx7ulp-wdt.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/fsl-imx7ulp-wdt.yaml @@ -1,63 +1,63 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/watchdog/fsl-imx7ulp-wdt.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Freescale i.MX7ULP Watchdog Timer (WDT) Controller - -maintainers: - - Shawn Guo - - Sascha Hauer - - Fabio Estevam - -allOf: - - $ref: watchdog.yaml# - -properties: - compatible: - oneOf: - - const: fsl,imx7ulp-wdt - - items: - - const: fsl,imx8ulp-wdt - - const: fsl,imx7ulp-wdt - - const: fsl,imx93-wdt - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - clocks: - maxItems: 1 - - fsl,ext-reset-output: - description: - When set, wdog can generate external reset from the wdog_any pin. - type: boolean - -required: - - compatible - - interrupts - - reg - - clocks - -unevaluatedProperties: false - -examples: - - | - #include - #include - - watchdog@403d0000 { - compatible = "fsl,imx7ulp-wdt"; - reg = <0x403d0000 0x10000>; - interrupts = ; - clocks = <&pcc2 IMX7ULP_CLK_WDG1>; - assigned-clocks = <&pcc2 IMX7ULP_CLK_WDG1>; - assigned-clock-parents = <&scg1 IMX7ULP_CLK_FIRC_BUS_CLK>; - timeout-sec = <40>; - }; - -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/watchdog/fsl-imx7ulp-wdt.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Freescale i.MX7ULP Watchdog Timer (WDT) Controller + +maintainers: + - Shawn Guo + - Sascha Hauer + - Fabio Estevam + +allOf: + - $ref: watchdog.yaml# + +properties: + compatible: + oneOf: + - const: fsl,imx7ulp-wdt + - items: + - const: fsl,imx8ulp-wdt + - const: fsl,imx7ulp-wdt + - const: fsl,imx93-wdt + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + + fsl,ext-reset-output: + description: + When set, wdog can generate external reset from the wdog_any pin. + type: boolean + +required: + - compatible + - interrupts + - reg + - clocks + +unevaluatedProperties: false + +examples: + - | + #include + #include + + watchdog@403d0000 { + compatible = "fsl,imx7ulp-wdt"; + reg = <0x403d0000 0x10000>; + interrupts = ; + clocks = <&pcc2 IMX7ULP_CLK_WDG1>; + assigned-clocks = <&pcc2 IMX7ULP_CLK_WDG1>; + assigned-clock-parents = <&scg1 IMX7ULP_CLK_FIRC_BUS_CLK>; + timeout-sec = <40>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/linux,wdt-gpio.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/linux,wdt-gpio.yaml index 92d5224540..499f1b7e03 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/linux,wdt-gpio.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/linux,wdt-gpio.yaml @@ -1,68 +1,68 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/watchdog/linux,wdt-gpio.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: GPIO-controlled Watchdog - -maintainers: - - Guenter Roeck - - Robert Marko - -properties: - compatible: - const: linux,wdt-gpio - - gpios: - description: gpio connection to WDT reset pin - maxItems: 1 - - hw_algo: - description: The algorithm used by the driver. - oneOf: - - description: - Either a high-to-low or a low-to-high transition clears the WDT counter. - The watchdog timer is disabled when GPIO is left floating or connected - to a three-state buffer. - const: toggle - - description: - Low or high level starts counting WDT timeout, the opposite level - disables the WDT. - Active level is determined by the GPIO flags. - const: level - - hw_margin_ms: - description: Maximum time to reset watchdog circuit (milliseconds). - $ref: /schemas/types.yaml#/definitions/uint32 - minimum: 2 - maximum: 65535 - - always-running: - type: boolean - description: - If the watchdog timer cannot be disabled, add this flag to have the driver - keep toggling the signal without a client. - It will only cease to toggle the signal when the device is open and the - timeout elapsed. - -required: - - compatible - - gpios - - hw_algo - - hw_margin_ms - -allOf: - - $ref: watchdog.yaml# - -unevaluatedProperties: false - -examples: - - | - #include - watchdog { - compatible = "linux,wdt-gpio"; - gpios = <&gpio3 9 GPIO_ACTIVE_LOW>; - hw_algo = "toggle"; - hw_margin_ms = <1600>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/watchdog/linux,wdt-gpio.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: GPIO-controlled Watchdog + +maintainers: + - Guenter Roeck + - Robert Marko + +properties: + compatible: + const: linux,wdt-gpio + + gpios: + description: gpio connection to WDT reset pin + maxItems: 1 + + hw_algo: + description: The algorithm used by the driver. + oneOf: + - description: + Either a high-to-low or a low-to-high transition clears the WDT counter. + The watchdog timer is disabled when GPIO is left floating or connected + to a three-state buffer. + const: toggle + - description: + Low or high level starts counting WDT timeout, the opposite level + disables the WDT. + Active level is determined by the GPIO flags. + const: level + + hw_margin_ms: + description: Maximum time to reset watchdog circuit (milliseconds). + $ref: /schemas/types.yaml#/definitions/uint32 + minimum: 2 + maximum: 65535 + + always-running: + type: boolean + description: + If the watchdog timer cannot be disabled, add this flag to have the driver + keep toggling the signal without a client. + It will only cease to toggle the signal when the device is open and the + timeout elapsed. + +required: + - compatible + - gpios + - hw_algo + - hw_margin_ms + +allOf: + - $ref: watchdog.yaml# + +unevaluatedProperties: false + +examples: + - | + #include + watchdog { + compatible = "linux,wdt-gpio"; + gpios = <&gpio3 9 GPIO_ACTIVE_LOW>; + hw_algo = "toggle"; + hw_margin_ms = <1600>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/xlnx,xps-timebase-wdt.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/xlnx,xps-timebase-wdt.yaml index e8fdefd87a..dc1ff39d05 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/xlnx,xps-timebase-wdt.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/xlnx,xps-timebase-wdt.yaml @@ -1,68 +1,68 @@ -# SPDX-License-Identifier: GPL-2.0-or-later OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/watchdog/xlnx,xps-timebase-wdt.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Xilinx AXI/PLB softcore and window Watchdog Timer - -maintainers: - - Shubhrajyoti Datta - - Srinivas Neeli - -description: - The Timebase watchdog timer(WDT) is a free-running 32 bit counter. - WDT uses a dual-expiration architecture. After one expiration of - the timeout interval, an interrupt is generated and the WDT state - bit is set to one in the status register. If the state bit is not - cleared (by writing a one to the state bit) before the next - expiration of the timeout interval, a WDT reset is generated. - -allOf: - - $ref: watchdog.yaml# - -properties: - compatible: - enum: - - xlnx,xps-timebase-wdt-1.01.a - - xlnx,xps-timebase-wdt-1.00.a - - reg: - maxItems: 1 - - clocks: - maxItems: 1 - - clock-frequency: - description: Frequency of clock in Hz - - xlnx,wdt-interval: - $ref: /schemas/types.yaml#/definitions/uint32 - description: Watchdog timeout interval - minimum: 8 - maximum: 32 - - xlnx,wdt-enable-once: - $ref: /schemas/types.yaml#/definitions/uint32 - enum: [0, 1] - description: If watchdog is configured as enable once, - then the watchdog cannot be disabled after - it has been enabled. - -required: - - compatible - - reg - -unevaluatedProperties: false - -examples: - - | - watchdog@40100000 { - compatible = "xlnx,xps-timebase-wdt-1.00.a"; - reg = <0x40100000 0x1000>; - clock-frequency = <50000000>; - clocks = <&clkc 15>; - xlnx,wdt-enable-once = <0x0>; - xlnx,wdt-interval = <0x1b>; - }; -... +# SPDX-License-Identifier: GPL-2.0-or-later OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/watchdog/xlnx,xps-timebase-wdt.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Xilinx AXI/PLB softcore and window Watchdog Timer + +maintainers: + - Shubhrajyoti Datta + - Srinivas Neeli + +description: + The Timebase watchdog timer(WDT) is a free-running 32 bit counter. + WDT uses a dual-expiration architecture. After one expiration of + the timeout interval, an interrupt is generated and the WDT state + bit is set to one in the status register. If the state bit is not + cleared (by writing a one to the state bit) before the next + expiration of the timeout interval, a WDT reset is generated. + +allOf: + - $ref: watchdog.yaml# + +properties: + compatible: + enum: + - xlnx,xps-timebase-wdt-1.01.a + - xlnx,xps-timebase-wdt-1.00.a + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + clock-frequency: + description: Frequency of clock in Hz + + xlnx,wdt-interval: + $ref: /schemas/types.yaml#/definitions/uint32 + description: Watchdog timeout interval + minimum: 8 + maximum: 32 + + xlnx,wdt-enable-once: + $ref: /schemas/types.yaml#/definitions/uint32 + enum: [0, 1] + description: If watchdog is configured as enable once, + then the watchdog cannot be disabled after + it has been enabled. + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + watchdog@40100000 { + compatible = "xlnx,xps-timebase-wdt-1.00.a"; + reg = <0x40100000 0x1000>; + clock-frequency = <50000000>; + clocks = <&clkc 15>; + xlnx,wdt-enable-once = <0x0>; + xlnx,wdt-interval = <0x1b>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/x86/ce4100.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/x86/ce4100.txt index f5edc57b39..cd1221bfb5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/x86/ce4100.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/x86/ce4100.txt @@ -1,57 +1,57 @@ -CE4100 Device Tree Bindings ---------------------------- - -The CE4100 SoC uses for in core peripherals the following compatible -format: ,-. -Many of the "generic" devices like HPET or IO APIC have the ce4100 -name in their compatible property because they first appeared in this -SoC. - -The CPU nodes -------------- - - cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu@0 { - device_type = "cpu"; - compatible = "intel,ce4100"; - reg = <0x00>; - }; - - cpu@2 { - device_type = "cpu"; - compatible = "intel,ce4100"; - reg = <0x02>; - }; - }; - -A "cpu" node describes one logical processor (hardware thread). - -Required properties: - -- device_type - Device type, must be "cpu". - -- reg - Local APIC ID, the unique number assigned to each processor by - system hardware. - -The SoC node ------------- - -This node describes the in-core peripherals. Required property: - compatible = "intel,ce4100-cp"; - -The PCI node ------------- -This node describes the PCI bus on the SoC. Its property should be - compatible = "intel,ce4100-pci", "pci"; - -If the OS is using the IO-APIC for interrupt routing then the reported -interrupt numbers for devices is no longer true. In order to obtain the -correct interrupt number, the child node which represents the device has -to contain the interrupt property. Besides the interrupt property it has -to contain at least the reg property containing the PCI bus address and -compatible property according to "PCI Bus Binding Revision 2.1". +CE4100 Device Tree Bindings +--------------------------- + +The CE4100 SoC uses for in core peripherals the following compatible +format: ,-. +Many of the "generic" devices like HPET or IO APIC have the ce4100 +name in their compatible property because they first appeared in this +SoC. + +The CPU nodes +------------- + + cpus { + #address-cells = <1>; + #size-cells = <0>; + + cpu@0 { + device_type = "cpu"; + compatible = "intel,ce4100"; + reg = <0x00>; + }; + + cpu@2 { + device_type = "cpu"; + compatible = "intel,ce4100"; + reg = <0x02>; + }; + }; + +A "cpu" node describes one logical processor (hardware thread). + +Required properties: + +- device_type + Device type, must be "cpu". + +- reg + Local APIC ID, the unique number assigned to each processor by + system hardware. + +The SoC node +------------ + +This node describes the in-core peripherals. Required property: + compatible = "intel,ce4100-cp"; + +The PCI node +------------ +This node describes the PCI bus on the SoC. Its property should be + compatible = "intel,ce4100-pci", "pci"; + +If the OS is using the IO-APIC for interrupt routing then the reported +interrupt numbers for devices is no longer true. In order to obtain the +correct interrupt number, the child node which represents the device has +to contain the interrupt property. Besides the interrupt property it has +to contain at least the reg property containing the PCI bus address and +compatible property according to "PCI Bus Binding Revision 2.1". diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/changesets.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/changesets.rst index 9f9c61bee9..2091468d48 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/changesets.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/changesets.rst @@ -1,37 +1,37 @@ -.. SPDX-License-Identifier: GPL-2.0 - -===================== -Devicetree Changesets -===================== - -A Devicetree changeset is a method which allows one to apply changes -in the live tree in such a way that either the full set of changes -will be applied, or none of them will be. If an error occurs partway -through applying the changeset, then the tree will be rolled back to the -previous state. A changeset can also be removed after it has been -applied. - -When a changeset is applied, all of the changes get applied to the tree -at once before emitting OF_RECONFIG notifiers. This is so that the -receiver sees a complete and consistent state of the tree when it -receives the notifier. - -The sequence of a changeset is as follows. - -1. of_changeset_init() - initializes a changeset - -2. A number of DT tree change calls, of_changeset_attach_node(), - of_changeset_detach_node(), of_changeset_add_property(), - of_changeset_remove_property, of_changeset_update_property() to prepare - a set of changes. No changes to the active tree are made at this point. - All the change operations are recorded in the of_changeset 'entries' - list. - -3. of_changeset_apply() - Apply the changes to the tree. Either the - entire changeset will get applied, or if there is an error the tree will - be restored to the previous state. The core ensures proper serialization - through locking. An unlocked version __of_changeset_apply is available, - if needed. - -If a successfully applied changeset needs to be removed, it can be done -with of_changeset_revert(). +.. SPDX-License-Identifier: GPL-2.0 + +===================== +Devicetree Changesets +===================== + +A Devicetree changeset is a method which allows one to apply changes +in the live tree in such a way that either the full set of changes +will be applied, or none of them will be. If an error occurs partway +through applying the changeset, then the tree will be rolled back to the +previous state. A changeset can also be removed after it has been +applied. + +When a changeset is applied, all of the changes get applied to the tree +at once before emitting OF_RECONFIG notifiers. This is so that the +receiver sees a complete and consistent state of the tree when it +receives the notifier. + +The sequence of a changeset is as follows. + +1. of_changeset_init() - initializes a changeset + +2. A number of DT tree change calls, of_changeset_attach_node(), + of_changeset_detach_node(), of_changeset_add_property(), + of_changeset_remove_property, of_changeset_update_property() to prepare + a set of changes. No changes to the active tree are made at this point. + All the change operations are recorded in the of_changeset 'entries' + list. + +3. of_changeset_apply() - Apply the changes to the tree. Either the + entire changeset will get applied, or if there is an error the tree will + be restored to the previous state. The core ensures proper serialization + through locking. An unlocked version __of_changeset_apply is available, + if needed. + +If a successfully applied changeset needs to be removed, it can be done +with of_changeset_revert(). diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/doc-guide/checktransupdate.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/doc-guide/checktransupdate.rst index 7309b2cbc7..dfaf9d3737 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/doc-guide/checktransupdate.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/doc-guide/checktransupdate.rst @@ -1,54 +1,54 @@ -.. SPDX-License-Identifier: GPL-2.0 - -Checking for needed translation updates -======================================= - -This script helps track the translation status of the documentation in -different locales, i.e., whether the documentation is up-to-date with -the English counterpart. - -How it works ------------- - -It uses ``git log`` command to track the latest English commit from the -translation commit (order by author date) and the latest English commits -from HEAD. If any differences occur, the file is considered as out-of-date, -then commits that need to be updated will be collected and reported. - -Features implemented - -- check all files in a certain locale -- check a single file or a set of files -- provide options to change output format -- track the translation status of files that have no translation - -Usage ------ - -:: - - ./scripts/checktransupdate.py --help - -Please refer to the output of argument parser for usage details. - -Samples - -- ``./scripts/checktransupdate.py -l zh_CN`` - This will print all the files that need to be updated in the zh_CN locale. -- ``./scripts/checktransupdate.py Documentation/translations/zh_CN/dev-tools/testing-overview.rst`` - This will only print the status of the specified file. - -Then the output is something like: - -:: - - Documentation/dev-tools/kfence.rst - No translation in the locale of zh_CN - - Documentation/translations/zh_CN/dev-tools/testing-overview.rst - commit 42fb9cfd5b18 ("Documentation: dev-tools: Add link to RV docs") - 1 commits needs resolving in total - -Features to be implemented - -- files can be a folder instead of only a file +.. SPDX-License-Identifier: GPL-2.0 + +Checking for needed translation updates +======================================= + +This script helps track the translation status of the documentation in +different locales, i.e., whether the documentation is up-to-date with +the English counterpart. + +How it works +------------ + +It uses ``git log`` command to track the latest English commit from the +translation commit (order by author date) and the latest English commits +from HEAD. If any differences occur, the file is considered as out-of-date, +then commits that need to be updated will be collected and reported. + +Features implemented + +- check all files in a certain locale +- check a single file or a set of files +- provide options to change output format +- track the translation status of files that have no translation + +Usage +----- + +:: + + ./scripts/checktransupdate.py --help + +Please refer to the output of argument parser for usage details. + +Samples + +- ``./scripts/checktransupdate.py -l zh_CN`` + This will print all the files that need to be updated in the zh_CN locale. +- ``./scripts/checktransupdate.py Documentation/translations/zh_CN/dev-tools/testing-overview.rst`` + This will only print the status of the specified file. + +Then the output is something like: + +:: + + Documentation/dev-tools/kfence.rst + No translation in the locale of zh_CN + + Documentation/translations/zh_CN/dev-tools/testing-overview.rst + commit 42fb9cfd5b18 ("Documentation: dev-tools: Add link to RV docs") + 1 commits needs resolving in total + +Features to be implemented + +- files can be a folder instead of only a file diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/firewire.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/firewire.rst index c8299ca670..28a32410f7 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/firewire.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/firewire.rst @@ -1,50 +1,50 @@ -=========================================== -Firewire (IEEE 1394) driver Interface Guide -=========================================== - -Introduction and Overview -========================= - -The Linux FireWire subsystem adds some interfaces into the Linux system to - use/maintain+any resource on IEEE 1394 bus. - -The main purpose of these interfaces is to access address space on each node -on IEEE 1394 bus by ISO/IEC 13213 (IEEE 1212) procedure, and to control -isochronous resources on the bus by IEEE 1394 procedure. - -Two types of interfaces are added, according to consumers of the interface. A -set of userspace interfaces is available via `firewire character devices`. A set -of kernel interfaces is available via exported symbols in `firewire-core` module. - -Firewire char device data structures -==================================== - -.. include:: ../ABI/stable/firewire-cdev - :literal: - -.. kernel-doc:: include/uapi/linux/firewire-cdev.h - :internal: - -Firewire device probing and sysfs interfaces -============================================ - -.. include:: ../ABI/stable/sysfs-bus-firewire - :literal: - -.. kernel-doc:: drivers/firewire/core-device.c - :export: - -Firewire core transaction interfaces -==================================== - -.. kernel-doc:: drivers/firewire/core-transaction.c - :export: - -Firewire Isochronous I/O interfaces -=================================== - -.. kernel-doc:: include/linux/firewire.h - :functions: fw_iso_context_schedule_flush_completions -.. kernel-doc:: drivers/firewire/core-iso.c - :export: - +=========================================== +Firewire (IEEE 1394) driver Interface Guide +=========================================== + +Introduction and Overview +========================= + +The Linux FireWire subsystem adds some interfaces into the Linux system to + use/maintain+any resource on IEEE 1394 bus. + +The main purpose of these interfaces is to access address space on each node +on IEEE 1394 bus by ISO/IEC 13213 (IEEE 1212) procedure, and to control +isochronous resources on the bus by IEEE 1394 procedure. + +Two types of interfaces are added, according to consumers of the interface. A +set of userspace interfaces is available via `firewire character devices`. A set +of kernel interfaces is available via exported symbols in `firewire-core` module. + +Firewire char device data structures +==================================== + +.. include:: ../ABI/stable/firewire-cdev + :literal: + +.. kernel-doc:: include/uapi/linux/firewire-cdev.h + :internal: + +Firewire device probing and sysfs interfaces +============================================ + +.. include:: ../ABI/stable/sysfs-bus-firewire + :literal: + +.. kernel-doc:: drivers/firewire/core-device.c + :export: + +Firewire core transaction interfaces +==================================== + +.. kernel-doc:: drivers/firewire/core-transaction.c + :export: + +Firewire Isochronous I/O interfaces +=================================== + +.. kernel-doc:: include/linux/firewire.h + :functions: fw_iso_context_schedule_flush_completions +.. kernel-doc:: drivers/firewire/core-iso.c + :export: + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/firmware/direct-fs-lookup.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/firmware/direct-fs-lookup.rst index 2a41d2270a..e04353d1b0 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/firmware/direct-fs-lookup.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/firmware/direct-fs-lookup.rst @@ -1,30 +1,30 @@ -======================== -Direct filesystem lookup -======================== - -Direct filesystem lookup is the most common form of firmware lookup performed -by the kernel. The kernel looks for the firmware directly on the root -filesystem in the paths documented in the section 'Firmware search paths'. -The filesystem lookup is implemented in fw_get_filesystem_firmware(), it -uses common core kernel file loader facility kernel_read_file_from_path(). -The max path allowed is PATH_MAX -- currently this is 4096 characters. - -It is recommended you keep /lib/firmware paths on your root filesystem, -avoid having a separate partition for them in order to avoid possible -races with lookups and avoid uses of the custom fallback mechanisms -documented below. - -Firmware and initramfs ----------------------- - -Drivers which are built-in to the kernel should have the firmware integrated -also as part of the initramfs used to boot the kernel given that otherwise -a race is possible with loading the driver and the real rootfs not yet being -available. Stuffing the firmware into initramfs resolves this race issue, -however note that using initrd does not suffice to address the same race. - -There are circumstances that justify not wanting to include firmware into -initramfs, such as dealing with large firmware files for the -remote-proc subsystem. For such cases using a userspace fallback mechanism -is currently the only viable solution as only userspace can know for sure -when the real rootfs is ready and mounted. +======================== +Direct filesystem lookup +======================== + +Direct filesystem lookup is the most common form of firmware lookup performed +by the kernel. The kernel looks for the firmware directly on the root +filesystem in the paths documented in the section 'Firmware search paths'. +The filesystem lookup is implemented in fw_get_filesystem_firmware(), it +uses common core kernel file loader facility kernel_read_file_from_path(). +The max path allowed is PATH_MAX -- currently this is 4096 characters. + +It is recommended you keep /lib/firmware paths on your root filesystem, +avoid having a separate partition for them in order to avoid possible +races with lookups and avoid uses of the custom fallback mechanisms +documented below. + +Firmware and initramfs +---------------------- + +Drivers which are built-in to the kernel should have the firmware integrated +also as part of the initramfs used to boot the kernel given that otherwise +a race is possible with loading the driver and the real rootfs not yet being +available. Stuffing the firmware into initramfs resolves this race issue, +however note that using initrd does not suffice to address the same race. + +There are circumstances that justify not wanting to include firmware into +initramfs, such as dealing with large firmware files for the +remote-proc subsystem. For such cases using a userspace fallback mechanism +is currently the only viable solution as only userspace can know for sure +when the real rootfs is ready and mounted. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/firmware/other_interfaces.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/firmware/other_interfaces.rst index 335121a96e..06ac89adaa 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/firmware/other_interfaces.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/firmware/other_interfaces.rst @@ -1,51 +1,51 @@ -Other Firmware Interfaces -========================= - -DMI Interfaces --------------- - -.. kernel-doc:: drivers/firmware/dmi_scan.c - :export: - -EDD Interfaces --------------- - -.. kernel-doc:: drivers/firmware/edd.c - :internal: - -Generic System Framebuffers Interface -------------------------------------- - -.. kernel-doc:: drivers/firmware/sysfb.c - :export: - -Intel Stratix10 SoC Service Layer ---------------------------------- -Some features of the Intel Stratix10 SoC require a level of privilege -higher than the kernel is granted. Such secure features include -FPGA programming. In terms of the ARMv8 architecture, the kernel runs -at Exception Level 1 (EL1), access to the features requires -Exception Level 3 (EL3). - -The Intel Stratix10 SoC service layer provides an in kernel API for -drivers to request access to the secure features. The requests are queued -and processed one by one. ARM’s SMCCC is used to pass the execution -of the requests on to a secure monitor (EL3). - -.. kernel-doc:: include/linux/firmware/intel/stratix10-svc-client.h - :functions: stratix10_svc_command_code - -.. kernel-doc:: include/linux/firmware/intel/stratix10-svc-client.h - :functions: stratix10_svc_client_msg - -.. kernel-doc:: include/linux/firmware/intel/stratix10-svc-client.h - :functions: stratix10_svc_command_config_type - -.. kernel-doc:: include/linux/firmware/intel/stratix10-svc-client.h - :functions: stratix10_svc_cb_data - -.. kernel-doc:: include/linux/firmware/intel/stratix10-svc-client.h - :functions: stratix10_svc_client - -.. kernel-doc:: drivers/firmware/stratix10-svc.c - :export: +Other Firmware Interfaces +========================= + +DMI Interfaces +-------------- + +.. kernel-doc:: drivers/firmware/dmi_scan.c + :export: + +EDD Interfaces +-------------- + +.. kernel-doc:: drivers/firmware/edd.c + :internal: + +Generic System Framebuffers Interface +------------------------------------- + +.. kernel-doc:: drivers/firmware/sysfb.c + :export: + +Intel Stratix10 SoC Service Layer +--------------------------------- +Some features of the Intel Stratix10 SoC require a level of privilege +higher than the kernel is granted. Such secure features include +FPGA programming. In terms of the ARMv8 architecture, the kernel runs +at Exception Level 1 (EL1), access to the features requires +Exception Level 3 (EL3). + +The Intel Stratix10 SoC service layer provides an in kernel API for +drivers to request access to the secure features. The requests are queued +and processed one by one. ARM’s SMCCC is used to pass the execution +of the requests on to a secure monitor (EL3). + +.. kernel-doc:: include/linux/firmware/intel/stratix10-svc-client.h + :functions: stratix10_svc_command_code + +.. kernel-doc:: include/linux/firmware/intel/stratix10-svc-client.h + :functions: stratix10_svc_client_msg + +.. kernel-doc:: include/linux/firmware/intel/stratix10-svc-client.h + :functions: stratix10_svc_command_config_type + +.. kernel-doc:: include/linux/firmware/intel/stratix10-svc-client.h + :functions: stratix10_svc_cb_data + +.. kernel-doc:: include/linux/firmware/intel/stratix10-svc-client.h + :functions: stratix10_svc_client + +.. kernel-doc:: drivers/firmware/stratix10-svc.c + :export: diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/iio/hw-consumer.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/iio/hw-consumer.rst index c12d331e08..76133a3796 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/iio/hw-consumer.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/iio/hw-consumer.rst @@ -1,50 +1,50 @@ -=========== -HW consumer -=========== -An IIO device can be directly connected to another device in hardware. In this -case the buffers between IIO provider and IIO consumer are handled by hardware. -The Industrial I/O HW consumer offers a way to bond these IIO devices without -software buffer for data. The implementation can be found under -:file:`drivers/iio/buffer/hw-consumer.c` - - -* struct iio_hw_consumer — Hardware consumer structure -* :c:func:`iio_hw_consumer_alloc` — Allocate IIO hardware consumer -* :c:func:`iio_hw_consumer_free` — Free IIO hardware consumer -* :c:func:`iio_hw_consumer_enable` — Enable IIO hardware consumer -* :c:func:`iio_hw_consumer_disable` — Disable IIO hardware consumer - - -HW consumer setup -================= - -As standard IIO device the implementation is based on IIO provider/consumer. -A typical IIO HW consumer setup looks like this:: - - static struct iio_hw_consumer *hwc; - - static const struct iio_info adc_info = { - .read_raw = adc_read_raw, - }; - - static int adc_read_raw(struct iio_dev *indio_dev, - struct iio_chan_spec const *chan, int *val, - int *val2, long mask) - { - ret = iio_hw_consumer_enable(hwc); - - /* Acquire data */ - - ret = iio_hw_consumer_disable(hwc); - } - - static int adc_probe(struct platform_device *pdev) - { - hwc = devm_iio_hw_consumer_alloc(&iio->dev); - } - -More details -============ -.. kernel-doc:: drivers/iio/buffer/industrialio-hw-consumer.c - :export: - +=========== +HW consumer +=========== +An IIO device can be directly connected to another device in hardware. In this +case the buffers between IIO provider and IIO consumer are handled by hardware. +The Industrial I/O HW consumer offers a way to bond these IIO devices without +software buffer for data. The implementation can be found under +:file:`drivers/iio/buffer/hw-consumer.c` + + +* struct iio_hw_consumer — Hardware consumer structure +* :c:func:`iio_hw_consumer_alloc` — Allocate IIO hardware consumer +* :c:func:`iio_hw_consumer_free` — Free IIO hardware consumer +* :c:func:`iio_hw_consumer_enable` — Enable IIO hardware consumer +* :c:func:`iio_hw_consumer_disable` — Disable IIO hardware consumer + + +HW consumer setup +================= + +As standard IIO device the implementation is based on IIO provider/consumer. +A typical IIO HW consumer setup looks like this:: + + static struct iio_hw_consumer *hwc; + + static const struct iio_info adc_info = { + .read_raw = adc_read_raw, + }; + + static int adc_read_raw(struct iio_dev *indio_dev, + struct iio_chan_spec const *chan, int *val, + int *val2, long mask) + { + ret = iio_hw_consumer_enable(hwc); + + /* Acquire data */ + + ret = iio_hw_consumer_disable(hwc); + } + + static int adc_probe(struct platform_device *pdev) + { + hwc = devm_iio_hw_consumer_alloc(&iio->dev); + } + +More details +============ +.. kernel-doc:: drivers/iio/buffer/industrialio-hw-consumer.c + :export: + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/drivers/rkisp1.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/drivers/rkisp1.rst index 232c0fc087..ea336958a3 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/drivers/rkisp1.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/drivers/rkisp1.rst @@ -1,43 +1,43 @@ -.. SPDX-License-Identifier: GPL-2.0 - -The Rockchip Image Signal Processor Driver (rkisp1) -=================================================== - -Versions and their differences ------------------------------- - -The rkisp1 block underwent some changes between SoC implementations. -The vendor designates them as: - -- V10: used at least in rk3288 and rk3399 -- V11: declared in the original vendor code, but not used -- V12: used at least in rk3326 and px30 -- V13: used at least in rk1808 -- V20: used in rk3568 and beyond - -Right now the kernel supports rkisp1 implementations based -on V10 and V12 variants. V11 does not seem to be actually used -and V13 will need some more additions but isn't researched yet, -especially as it seems to be limited to the rk1808 which hasn't -reached much market spread. - -V20 on the other hand will probably be used in future SoCs and -has seen really big changes in the vendor kernel, so will need -quite a bit of research. - -Changes from V10 to V12 ------------------------ - -- V12 supports a new CSI-host implementation but can still - also use the same implementation from V10 -- The module for lens shading correction got changed - from 12bit to 13bit width -- The AWB and AEC modules got replaced to support finer - grained data collection - -Changes from V12 to V13 ------------------------ - -The list for V13 is incomplete and needs further investigation. - -- V13 does not support the old CSI-host implementation anymore +.. SPDX-License-Identifier: GPL-2.0 + +The Rockchip Image Signal Processor Driver (rkisp1) +=================================================== + +Versions and their differences +------------------------------ + +The rkisp1 block underwent some changes between SoC implementations. +The vendor designates them as: + +- V10: used at least in rk3288 and rk3399 +- V11: declared in the original vendor code, but not used +- V12: used at least in rk3326 and px30 +- V13: used at least in rk1808 +- V20: used in rk3568 and beyond + +Right now the kernel supports rkisp1 implementations based +on V10 and V12 variants. V11 does not seem to be actually used +and V13 will need some more additions but isn't researched yet, +especially as it seems to be limited to the rk1808 which hasn't +reached much market spread. + +V20 on the other hand will probably be used in future SoCs and +has seen really big changes in the vendor kernel, so will need +quite a bit of research. + +Changes from V10 to V12 +----------------------- + +- V12 supports a new CSI-host implementation but can still + also use the same implementation from V10 +- The module for lens shading correction got changed + from 12bit to 13bit width +- The AWB and AEC modules got replaced to support finer + grained data collection + +Changes from V12 to V13 +----------------------- + +The list for V13 is incomplete and needs further investigation. + +- V13 does not support the old CSI-host implementation anymore diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/drivers/saa7134-devel.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/drivers/saa7134-devel.rst index 5592c29c6c..167fd729bc 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/drivers/saa7134-devel.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/drivers/saa7134-devel.rst @@ -1,67 +1,67 @@ -.. SPDX-License-Identifier: GPL-2.0 - -The saa7134 driver -================== - -Author Gerd Hoffmann - - -Card Variations: ----------------- - -Cards can use either of these two crystals (xtal): - -- 32.11 MHz -> .audio_clock=0x187de7 -- 24.576MHz -> .audio_clock=0x200000 (xtal * .audio_clock = 51539600) - -Some details about 30/34/35: - -- saa7130 - low-price chip, doesn't have mute, that is why all those - cards should have .mute field defined in their tuner structure. - -- saa7134 - usual chip - -- saa7133/35 - saa7135 is probably a marketing decision, since all those - chips identifies itself as 33 on pci. - -LifeView GPIOs --------------- - -This section was authored by: Peter Missel - -- LifeView FlyTV Platinum FM (LR214WF) - - - GP27 MDT2005 PB4 pin 10 - - GP26 MDT2005 PB3 pin 9 - - GP25 MDT2005 PB2 pin 8 - - GP23 MDT2005 PB1 pin 7 - - GP22 MDT2005 PB0 pin 6 - - GP21 MDT2005 PB5 pin 11 - - GP20 MDT2005 PB6 pin 12 - - GP19 MDT2005 PB7 pin 13 - - nc MDT2005 PA3 pin 2 - - Remote MDT2005 PA2 pin 1 - - GP18 MDT2005 PA1 pin 18 - - nc MDT2005 PA0 pin 17 strap low - - GP17 Strap "GP7"=High - - GP16 Strap "GP6"=High - - - 0=Radio 1=TV - - Drives SA630D ENCH1 and HEF4052 A1 pinsto do FM radio through - SIF input - - - GP15 nc - - GP14 nc - - GP13 nc - - GP12 Strap "GP5" = High - - GP11 Strap "GP4" = High - - GP10 Strap "GP3" = High - - GP09 Strap "GP2" = Low - - GP08 Strap "GP1" = Low - - GP07.00 nc - -Credits -------- - -andrew.stevens@philips.com + werner.leeb@philips.com for providing -saa7134 hardware specs and sample board. +.. SPDX-License-Identifier: GPL-2.0 + +The saa7134 driver +================== + +Author Gerd Hoffmann + + +Card Variations: +---------------- + +Cards can use either of these two crystals (xtal): + +- 32.11 MHz -> .audio_clock=0x187de7 +- 24.576MHz -> .audio_clock=0x200000 (xtal * .audio_clock = 51539600) + +Some details about 30/34/35: + +- saa7130 - low-price chip, doesn't have mute, that is why all those + cards should have .mute field defined in their tuner structure. + +- saa7134 - usual chip + +- saa7133/35 - saa7135 is probably a marketing decision, since all those + chips identifies itself as 33 on pci. + +LifeView GPIOs +-------------- + +This section was authored by: Peter Missel + +- LifeView FlyTV Platinum FM (LR214WF) + + - GP27 MDT2005 PB4 pin 10 + - GP26 MDT2005 PB3 pin 9 + - GP25 MDT2005 PB2 pin 8 + - GP23 MDT2005 PB1 pin 7 + - GP22 MDT2005 PB0 pin 6 + - GP21 MDT2005 PB5 pin 11 + - GP20 MDT2005 PB6 pin 12 + - GP19 MDT2005 PB7 pin 13 + - nc MDT2005 PA3 pin 2 + - Remote MDT2005 PA2 pin 1 + - GP18 MDT2005 PA1 pin 18 + - nc MDT2005 PA0 pin 17 strap low + - GP17 Strap "GP7"=High + - GP16 Strap "GP6"=High + + - 0=Radio 1=TV + - Drives SA630D ENCH1 and HEF4052 A1 pinsto do FM radio through + SIF input + + - GP15 nc + - GP14 nc + - GP13 nc + - GP12 Strap "GP5" = High + - GP11 Strap "GP4" = High + - GP10 Strap "GP3" = High + - GP09 Strap "GP2" = Low + - GP08 Strap "GP1" = Low + - GP07.00 nc + +Credits +------- + +andrew.stevens@philips.com + werner.leeb@philips.com for providing +saa7134 hardware specs and sample board. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/dtv-common.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/dtv-common.rst index 181576fa16..207a22bcaf 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/dtv-common.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/dtv-common.rst @@ -1,53 +1,53 @@ -.. SPDX-License-Identifier: GPL-2.0 - -Digital TV Common functions ---------------------------- - -DVB devices -~~~~~~~~~~~ - -Those functions are responsible for handling the DVB device nodes. - -.. kernel-doc:: include/media/dvbdev.h - -Digital TV Ring buffer -~~~~~~~~~~~~~~~~~~~~~~ - -Those routines implement ring buffers used to handle digital TV data and -copy it from/to userspace. - -.. note:: - - 1) For performance reasons read and write routines don't check buffer sizes - and/or number of bytes free/available. This has to be done before these - routines are called. For example: - - .. code-block:: c - - /* write @buflen: bytes */ - free = dvb_ringbuffer_free(rbuf); - if (free >= buflen) - count = dvb_ringbuffer_write(rbuf, buffer, buflen); - else - /* do something */ - - /* read min. 1000, max. @bufsize: bytes */ - avail = dvb_ringbuffer_avail(rbuf); - if (avail >= 1000) - count = dvb_ringbuffer_read(rbuf, buffer, min(avail, bufsize)); - else - /* do something */ - - 2) If there is exactly one reader and one writer, there is no need - to lock read or write operations. - Two or more readers must be locked against each other. - Flushing the buffer counts as a read operation. - Resetting the buffer counts as a read and write operation. - Two or more writers must be locked against each other. - -.. kernel-doc:: include/media/dvb_ringbuffer.h - -Digital TV VB2 handler -~~~~~~~~~~~~~~~~~~~~~~ - -.. kernel-doc:: include/media/dvb_vb2.h +.. SPDX-License-Identifier: GPL-2.0 + +Digital TV Common functions +--------------------------- + +DVB devices +~~~~~~~~~~~ + +Those functions are responsible for handling the DVB device nodes. + +.. kernel-doc:: include/media/dvbdev.h + +Digital TV Ring buffer +~~~~~~~~~~~~~~~~~~~~~~ + +Those routines implement ring buffers used to handle digital TV data and +copy it from/to userspace. + +.. note:: + + 1) For performance reasons read and write routines don't check buffer sizes + and/or number of bytes free/available. This has to be done before these + routines are called. For example: + + .. code-block:: c + + /* write @buflen: bytes */ + free = dvb_ringbuffer_free(rbuf); + if (free >= buflen) + count = dvb_ringbuffer_write(rbuf, buffer, buflen); + else + /* do something */ + + /* read min. 1000, max. @bufsize: bytes */ + avail = dvb_ringbuffer_avail(rbuf); + if (avail >= 1000) + count = dvb_ringbuffer_read(rbuf, buffer, min(avail, bufsize)); + else + /* do something */ + + 2) If there is exactly one reader and one writer, there is no need + to lock read or write operations. + Two or more readers must be locked against each other. + Flushing the buffer counts as a read operation. + Resetting the buffer counts as a read and write operation. + Two or more writers must be locked against each other. + +.. kernel-doc:: include/media/dvb_ringbuffer.h + +Digital TV VB2 handler +~~~~~~~~~~~~~~~~~~~~~~ + +.. kernel-doc:: include/media/dvb_vb2.h diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/dtv-core.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/dtv-core.rst index 03794c70ae..82c5b85ed9 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/dtv-core.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/dtv-core.rst @@ -1,39 +1,39 @@ -.. SPDX-License-Identifier: GPL-2.0 - -Digital TV (DVB) devices ------------------------- - -Digital TV devices are implemented by several different drivers: - -- A bridge driver that is responsible to talk with the bus where the other - devices are connected (PCI, USB, SPI), bind to the other drivers and - implement the digital demux logic (either in software or in hardware); - -- Frontend drivers that are usually implemented as two separate drivers: - - - A tuner driver that implements the logic which commands the part of - the hardware responsible for tuning into a digital TV transponder or - physical channel. The output of a tuner is usually a baseband or - Intermediate Frequency (IF) signal; - - - A demodulator driver (a.k.a "demod") that implements the logic which - commands the digital TV decoding hardware. The output of a demod is - a digital stream, with multiple audio, video and data channels typically - multiplexed using MPEG Transport Stream [#f1]_. - -On most hardware, the frontend drivers talk with the bridge driver using an -I2C bus. - -.. [#f1] Some standards use TCP/IP for multiplexing data, like DVB-H (an - abandoned standard, not used anymore) and ATSC version 3.0 current - proposals. Currently, the DVB subsystem doesn't implement those standards. - - -.. toctree:: - :maxdepth: 1 - - dtv-common - dtv-frontend - dtv-demux - dtv-ca - dtv-net +.. SPDX-License-Identifier: GPL-2.0 + +Digital TV (DVB) devices +------------------------ + +Digital TV devices are implemented by several different drivers: + +- A bridge driver that is responsible to talk with the bus where the other + devices are connected (PCI, USB, SPI), bind to the other drivers and + implement the digital demux logic (either in software or in hardware); + +- Frontend drivers that are usually implemented as two separate drivers: + + - A tuner driver that implements the logic which commands the part of + the hardware responsible for tuning into a digital TV transponder or + physical channel. The output of a tuner is usually a baseband or + Intermediate Frequency (IF) signal; + + - A demodulator driver (a.k.a "demod") that implements the logic which + commands the digital TV decoding hardware. The output of a demod is + a digital stream, with multiple audio, video and data channels typically + multiplexed using MPEG Transport Stream [#f1]_. + +On most hardware, the frontend drivers talk with the bridge driver using an +I2C bus. + +.. [#f1] Some standards use TCP/IP for multiplexing data, like DVB-H (an + abandoned standard, not used anymore) and ATSC version 3.0 current + proposals. Currently, the DVB subsystem doesn't implement those standards. + + +.. toctree:: + :maxdepth: 1 + + dtv-common + dtv-frontend + dtv-demux + dtv-ca + dtv-net diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/miscellaneous.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/miscellaneous.rst index 4a4b9f3554..4a5104a368 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/miscellaneous.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/miscellaneous.rst @@ -1,48 +1,48 @@ -Parallel Port Devices -===================== - -.. kernel-doc:: include/linux/parport.h - :internal: - -.. kernel-doc:: drivers/parport/ieee1284.c - :export: - -.. kernel-doc:: drivers/parport/share.c - :export: - -.. kernel-doc:: drivers/parport/daisy.c - :internal: - -16x50 UART Driver -================= - -.. kernel-doc:: drivers/tty/serial/8250/8250_core.c - :export: - -See serial/driver.rst for related APIs. - -Pulse-Width Modulation (PWM) -============================ - -Pulse-width modulation is a modulation technique primarily used to -control power supplied to electrical devices. - -The PWM framework provides an abstraction for providers and consumers of -PWM signals. A controller that provides one or more PWM signals is -registered as :c:type:`struct pwm_chip `. Providers -are expected to embed this structure in a driver-specific structure. -This structure contains fields that describe a particular chip. - -A chip exposes one or more PWM signal sources, each of which exposed as -a :c:type:`struct pwm_device `. Operations can be -performed on PWM devices to control the period, duty cycle, polarity and -active state of the signal. - -Note that PWM devices are exclusive resources: they can always only be -used by one consumer at a time. - -.. kernel-doc:: include/linux/pwm.h - :internal: - -.. kernel-doc:: drivers/pwm/core.c - :export: +Parallel Port Devices +===================== + +.. kernel-doc:: include/linux/parport.h + :internal: + +.. kernel-doc:: drivers/parport/ieee1284.c + :export: + +.. kernel-doc:: drivers/parport/share.c + :export: + +.. kernel-doc:: drivers/parport/daisy.c + :internal: + +16x50 UART Driver +================= + +.. kernel-doc:: drivers/tty/serial/8250/8250_core.c + :export: + +See serial/driver.rst for related APIs. + +Pulse-Width Modulation (PWM) +============================ + +Pulse-width modulation is a modulation technique primarily used to +control power supplied to electrical devices. + +The PWM framework provides an abstraction for providers and consumers of +PWM signals. A controller that provides one or more PWM signals is +registered as :c:type:`struct pwm_chip `. Providers +are expected to embed this structure in a driver-specific structure. +This structure contains fields that describe a particular chip. + +A chip exposes one or more PWM signal sources, each of which exposed as +a :c:type:`struct pwm_device `. Operations can be +performed on PWM devices to control the period, duty cycle, polarity and +active state of the signal. + +Note that PWM devices are exclusive resources: they can always only be +used by one consumer at a time. + +.. kernel-doc:: include/linux/pwm.h + :internal: + +.. kernel-doc:: drivers/pwm/core.c + :export: diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/mmc/mmc-dev-parts.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/mmc/mmc-dev-parts.rst index 0fa709efa3..995922f1f7 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/mmc/mmc-dev-parts.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/mmc/mmc-dev-parts.rst @@ -1,41 +1,41 @@ -============================ -SD and MMC Device Partitions -============================ - -Device partitions are additional logical block devices present on the -SD/MMC device. - -As of this writing, MMC boot partitions as supported and exposed as -/dev/mmcblkXboot0 and /dev/mmcblkXboot1, where X is the index of the -parent /dev/mmcblkX. - -MMC Boot Partitions -=================== - -Read and write access is provided to the two MMC boot partitions. Due to -the sensitive nature of the boot partition contents, which often store -a bootloader or bootloader configuration tables crucial to booting the -platform, write access is disabled by default to reduce the chance of -accidental bricking. - -To enable write access to /dev/mmcblkXbootY, disable the forced read-only -access with:: - - echo 0 > /sys/block/mmcblkXbootY/force_ro - -To re-enable read-only access:: - - echo 1 > /sys/block/mmcblkXbootY/force_ro - -The boot partitions can also be locked read only until the next power on, -with:: - - echo 1 > /sys/block/mmcblkXbootY/ro_lock_until_next_power_on - -This is a feature of the card and not of the kernel. If the card does -not support boot partition locking, the file will not exist. If the -feature has been disabled on the card, the file will be read-only. - -The boot partitions can also be locked permanently, but this feature is -not accessible through sysfs in order to avoid accidental or malicious -bricking. +============================ +SD and MMC Device Partitions +============================ + +Device partitions are additional logical block devices present on the +SD/MMC device. + +As of this writing, MMC boot partitions as supported and exposed as +/dev/mmcblkXboot0 and /dev/mmcblkXboot1, where X is the index of the +parent /dev/mmcblkX. + +MMC Boot Partitions +=================== + +Read and write access is provided to the two MMC boot partitions. Due to +the sensitive nature of the boot partition contents, which often store +a bootloader or bootloader configuration tables crucial to booting the +platform, write access is disabled by default to reduce the chance of +accidental bricking. + +To enable write access to /dev/mmcblkXbootY, disable the forced read-only +access with:: + + echo 0 > /sys/block/mmcblkXbootY/force_ro + +To re-enable read-only access:: + + echo 1 > /sys/block/mmcblkXbootY/force_ro + +The boot partitions can also be locked read only until the next power on, +with:: + + echo 1 > /sys/block/mmcblkXbootY/ro_lock_until_next_power_on + +This is a feature of the card and not of the kernel. If the card does +not support boot partition locking, the file will not exist. If the +feature has been disabled on the card, the file will be read-only. + +The boot partitions can also be locked permanently, but this feature is +not accessible through sysfs in order to avoid accidental or malicious +bricking. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/thermal/x86_pkg_temperature_thermal.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/thermal/x86_pkg_temperature_thermal.rst index 6e6ffd9c91..2ac42ccd23 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/thermal/x86_pkg_temperature_thermal.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/thermal/x86_pkg_temperature_thermal.rst @@ -1,55 +1,55 @@ -=================================== -Kernel driver: x86_pkg_temp_thermal -=================================== - -Supported chips: - -* x86: with package level thermal management - -(Verify using: CPUID.06H:EAX[bit 6] =1) - -Authors: Srinivas Pandruvada - -Reference ---------- - -Intel® 64 and IA-32 Architectures Software Developer’s Manual (Jan, 2013): -Chapter 14.6: PACKAGE LEVEL THERMAL MANAGEMENT - -Description ------------ - -This driver register CPU digital temperature package level sensor as a thermal -zone with maximum two user mode configurable trip points. Number of trip points -depends on the capability of the package. Once the trip point is violated, -user mode can receive notification via thermal notification mechanism and can -take any action to control temperature. - - -Threshold management --------------------- -Each package will register as a thermal zone under /sys/class/thermal. - -Example:: - - /sys/class/thermal/thermal_zone1 - -This contains two trip points: - -- trip_point_0_temp -- trip_point_1_temp - -User can set any temperature between 0 to TJ-Max temperature. Temperature units -are in milli-degree Celsius. Refer to "Documentation/driver-api/thermal/sysfs-api.rst" for -thermal sys-fs details. - -Any value other than 0 in these trip points, can trigger thermal notifications. -Setting 0, stops sending thermal notifications. - -Thermal notifications: -To get kobject-uevent notifications, set the thermal zone -policy to "user_space". - -For example:: - - echo -n "user_space" > policy +=================================== +Kernel driver: x86_pkg_temp_thermal +=================================== + +Supported chips: + +* x86: with package level thermal management + +(Verify using: CPUID.06H:EAX[bit 6] =1) + +Authors: Srinivas Pandruvada + +Reference +--------- + +Intel® 64 and IA-32 Architectures Software Developer’s Manual (Jan, 2013): +Chapter 14.6: PACKAGE LEVEL THERMAL MANAGEMENT + +Description +----------- + +This driver register CPU digital temperature package level sensor as a thermal +zone with maximum two user mode configurable trip points. Number of trip points +depends on the capability of the package. Once the trip point is violated, +user mode can receive notification via thermal notification mechanism and can +take any action to control temperature. + + +Threshold management +-------------------- +Each package will register as a thermal zone under /sys/class/thermal. + +Example:: + + /sys/class/thermal/thermal_zone1 + +This contains two trip points: + +- trip_point_0_temp +- trip_point_1_temp + +User can set any temperature between 0 to TJ-Max temperature. Temperature units +are in milli-degree Celsius. Refer to "Documentation/driver-api/thermal/sysfs-api.rst" for +thermal sys-fs details. + +Any value other than 0 in these trip points, can trigger thermal notifications. +Setting 0, stops sending thermal notifications. + +Thermal notifications: +To get kobject-uevent notifications, set the thermal zone +policy to "user_space". + +For example:: + + echo -n "user_space" > policy diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/tty/tty_port.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/tty/tty_port.rst index 8196fb5eb6..5cb90e954f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/tty/tty_port.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/tty/tty_port.rst @@ -1,70 +1,70 @@ -.. SPDX-License-Identifier: GPL-2.0 - -======== -TTY Port -======== - -.. contents:: :local: - -The TTY drivers are advised to use struct tty_port helpers as much as possible. -If the drivers implement :c:member:`tty_port.ops.activate()` and -:c:member:`tty_port.ops.shutdown()`, they can use tty_port_open(), -tty_port_close(), and tty_port_hangup() in respective -:c:member:`tty_struct.ops` hooks. - -The reference and details are contained in the `TTY Port Reference`_ and `TTY -Port Operations Reference`_ sections at the bottom. - -TTY Port Functions -================== - -Init & Destroy --------------- - -.. kernel-doc:: drivers/tty/tty_port.c - :identifiers: tty_port_init tty_port_destroy - tty_port_get tty_port_put - -Open/Close/Hangup Helpers -------------------------- - -.. kernel-doc:: drivers/tty/tty_port.c - :identifiers: tty_port_install tty_port_open tty_port_block_til_ready - tty_port_close tty_port_close_start tty_port_close_end tty_port_hangup - tty_port_shutdown - -TTY Refcounting ---------------- - -.. kernel-doc:: drivers/tty/tty_port.c - :identifiers: tty_port_tty_get tty_port_tty_set - -TTY Helpers ------------ - -.. kernel-doc:: drivers/tty/tty_port.c - :identifiers: tty_port_tty_hangup tty_port_tty_wakeup - - -Modem Signals -------------- - -.. kernel-doc:: drivers/tty/tty_port.c - :identifiers: tty_port_carrier_raised tty_port_raise_dtr_rts - tty_port_lower_dtr_rts - ----- - -TTY Port Reference -================== - -.. kernel-doc:: include/linux/tty_port.h - :identifiers: tty_port - ----- - -TTY Port Operations Reference -============================= - -.. kernel-doc:: include/linux/tty_port.h - :identifiers: tty_port_operations +.. SPDX-License-Identifier: GPL-2.0 + +======== +TTY Port +======== + +.. contents:: :local: + +The TTY drivers are advised to use struct tty_port helpers as much as possible. +If the drivers implement :c:member:`tty_port.ops.activate()` and +:c:member:`tty_port.ops.shutdown()`, they can use tty_port_open(), +tty_port_close(), and tty_port_hangup() in respective +:c:member:`tty_struct.ops` hooks. + +The reference and details are contained in the `TTY Port Reference`_ and `TTY +Port Operations Reference`_ sections at the bottom. + +TTY Port Functions +================== + +Init & Destroy +-------------- + +.. kernel-doc:: drivers/tty/tty_port.c + :identifiers: tty_port_init tty_port_destroy + tty_port_get tty_port_put + +Open/Close/Hangup Helpers +------------------------- + +.. kernel-doc:: drivers/tty/tty_port.c + :identifiers: tty_port_install tty_port_open tty_port_block_til_ready + tty_port_close tty_port_close_start tty_port_close_end tty_port_hangup + tty_port_shutdown + +TTY Refcounting +--------------- + +.. kernel-doc:: drivers/tty/tty_port.c + :identifiers: tty_port_tty_get tty_port_tty_set + +TTY Helpers +----------- + +.. kernel-doc:: drivers/tty/tty_port.c + :identifiers: tty_port_tty_hangup tty_port_tty_wakeup + + +Modem Signals +------------- + +.. kernel-doc:: drivers/tty/tty_port.c + :identifiers: tty_port_carrier_raised tty_port_raise_dtr_rts + tty_port_lower_dtr_rts + +---- + +TTY Port Reference +================== + +.. kernel-doc:: include/linux/tty_port.h + :identifiers: tty_port + +---- + +TTY Port Operations Reference +============================= + +.. kernel-doc:: include/linux/tty_port.h + :identifiers: tty_port_operations diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/tty/tty_struct.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/tty/tty_struct.rst index edd9b1b585..c72f5a4293 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/tty/tty_struct.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/tty/tty_struct.rst @@ -1,81 +1,81 @@ -.. SPDX-License-Identifier: GPL-2.0 - -========== -TTY Struct -========== - -.. contents:: :local: - -struct tty_struct is allocated by the TTY layer upon the first open of the TTY -device and released after the last close. The TTY layer passes this structure -to most of struct tty_operation's hooks. Members of tty_struct are documented -in `TTY Struct Reference`_ at the bottom. - -Initialization -============== - -.. kernel-doc:: drivers/tty/tty_io.c - :identifiers: tty_init_termios - -Name -==== - -.. kernel-doc:: drivers/tty/tty_io.c - :identifiers: tty_name - -Reference counting -================== - -.. kernel-doc:: include/linux/tty.h - :identifiers: tty_kref_get - -.. kernel-doc:: drivers/tty/tty_io.c - :identifiers: tty_kref_put - -Install -======= - -.. kernel-doc:: drivers/tty/tty_io.c - :identifiers: tty_standard_install - -Read & Write -============ - -.. kernel-doc:: drivers/tty/tty_io.c - :identifiers: tty_put_char - -Start & Stop -============ - -.. kernel-doc:: drivers/tty/tty_io.c - :identifiers: start_tty stop_tty - -Wakeup -====== - -.. kernel-doc:: drivers/tty/tty_io.c - :identifiers: tty_wakeup - -Hangup -====== - -.. kernel-doc:: drivers/tty/tty_io.c - :identifiers: tty_hangup tty_vhangup tty_hung_up_p - -Misc -==== - -.. kernel-doc:: drivers/tty/tty_io.c - :identifiers: tty_do_resize - -TTY Struct Flags -================ - -.. kernel-doc:: include/linux/tty.h - :doc: TTY Struct Flags - -TTY Struct Reference -==================== - -.. kernel-doc:: include/linux/tty.h - :identifiers: tty_struct +.. SPDX-License-Identifier: GPL-2.0 + +========== +TTY Struct +========== + +.. contents:: :local: + +struct tty_struct is allocated by the TTY layer upon the first open of the TTY +device and released after the last close. The TTY layer passes this structure +to most of struct tty_operation's hooks. Members of tty_struct are documented +in `TTY Struct Reference`_ at the bottom. + +Initialization +============== + +.. kernel-doc:: drivers/tty/tty_io.c + :identifiers: tty_init_termios + +Name +==== + +.. kernel-doc:: drivers/tty/tty_io.c + :identifiers: tty_name + +Reference counting +================== + +.. kernel-doc:: include/linux/tty.h + :identifiers: tty_kref_get + +.. kernel-doc:: drivers/tty/tty_io.c + :identifiers: tty_kref_put + +Install +======= + +.. kernel-doc:: drivers/tty/tty_io.c + :identifiers: tty_standard_install + +Read & Write +============ + +.. kernel-doc:: drivers/tty/tty_io.c + :identifiers: tty_put_char + +Start & Stop +============ + +.. kernel-doc:: drivers/tty/tty_io.c + :identifiers: start_tty stop_tty + +Wakeup +====== + +.. kernel-doc:: drivers/tty/tty_io.c + :identifiers: tty_wakeup + +Hangup +====== + +.. kernel-doc:: drivers/tty/tty_io.c + :identifiers: tty_hangup tty_vhangup tty_hung_up_p + +Misc +==== + +.. kernel-doc:: drivers/tty/tty_io.c + :identifiers: tty_do_resize + +TTY Struct Flags +================ + +.. kernel-doc:: include/linux/tty.h + :doc: TTY Struct Flags + +TTY Struct Reference +==================== + +.. kernel-doc:: include/linux/tty.h + :identifiers: tty_struct diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/xilinx/eemi.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/xilinx/eemi.rst index df770ebe70..c1bc47b900 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/xilinx/eemi.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/xilinx/eemi.rst @@ -1,40 +1,40 @@ -==================================== -Xilinx Zynq MPSoC EEMI Documentation -==================================== - -Xilinx Zynq MPSoC Firmware Interface -------------------------------------- -The zynqmp-firmware node describes the interface to platform firmware. -ZynqMP has an interface to communicate with secure firmware. Firmware -driver provides an interface to firmware APIs. Interface APIs can be -used by any driver to communicate with PMC(Platform Management Controller). - -Embedded Energy Management Interface (EEMI) ----------------------------------------------- -The embedded energy management interface is used to allow software -components running across different processing clusters on a chip or -device to communicate with a power management controller (PMC) on a -device to issue or respond to power management requests. - -Any driver who wants to communicate with PMC using EEMI APIs use the -functions provided for each function. - -IOCTL ------- -IOCTL API is for device control and configuration. It is not a system -IOCTL but it is an EEMI API. This API can be used by master to control -any device specific configuration. IOCTL definitions can be platform -specific. This API also manage shared device configuration. - -The following IOCTL IDs are valid for device control: -- IOCTL_SET_PLL_FRAC_MODE 8 -- IOCTL_GET_PLL_FRAC_MODE 9 -- IOCTL_SET_PLL_FRAC_DATA 10 -- IOCTL_GET_PLL_FRAC_DATA 11 - -Refer EEMI API guide [0] for IOCTL specific parameters and other EEMI APIs. - -References ----------- -[0] Embedded Energy Management Interface (EEMI) API guide: - https://www.xilinx.com/support/documentation/user_guides/ug1200-eemi-api.pdf +==================================== +Xilinx Zynq MPSoC EEMI Documentation +==================================== + +Xilinx Zynq MPSoC Firmware Interface +------------------------------------- +The zynqmp-firmware node describes the interface to platform firmware. +ZynqMP has an interface to communicate with secure firmware. Firmware +driver provides an interface to firmware APIs. Interface APIs can be +used by any driver to communicate with PMC(Platform Management Controller). + +Embedded Energy Management Interface (EEMI) +---------------------------------------------- +The embedded energy management interface is used to allow software +components running across different processing clusters on a chip or +device to communicate with a power management controller (PMC) on a +device to issue or respond to power management requests. + +Any driver who wants to communicate with PMC using EEMI APIs use the +functions provided for each function. + +IOCTL +------ +IOCTL API is for device control and configuration. It is not a system +IOCTL but it is an EEMI API. This API can be used by master to control +any device specific configuration. IOCTL definitions can be platform +specific. This API also manage shared device configuration. + +The following IOCTL IDs are valid for device control: +- IOCTL_SET_PLL_FRAC_MODE 8 +- IOCTL_GET_PLL_FRAC_MODE 9 +- IOCTL_SET_PLL_FRAC_DATA 10 +- IOCTL_GET_PLL_FRAC_DATA 11 + +Refer EEMI API guide [0] for IOCTL specific parameters and other EEMI APIs. + +References +---------- +[0] Embedded Energy Management Interface (EEMI) API guide: + https://www.xilinx.com/support/documentation/user_guides/ug1200-eemi-api.pdf diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/fb/gxfb.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/fb/gxfb.rst index e475986989..5738709bcc 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/fb/gxfb.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/fb/gxfb.rst @@ -1,54 +1,54 @@ -============= -What is gxfb? -============= - -.. [This file is cloned from VesaFB/aty128fb] - -This is a graphics framebuffer driver for AMD Geode GX2 based processors. - -Advantages: - - * No need to use AMD's VSA code (or other VESA emulation layer) in the - BIOS. - * It provides a nice large console (128 cols + 48 lines with 1024x768) - without using tiny, unreadable fonts. - * You can run XF68_FBDev on top of /dev/fb0 - * Most important: boot logo :-) - -Disadvantages: - - * graphic mode is slower than text mode... - - -How to use it? -============== - -Switching modes is done using gxfb.mode_option=... boot -parameter or using `fbset` program. - -See Documentation/fb/modedb.rst for more information on modedb -resolutions. - - -X11 -=== - -XF68_FBDev should generally work fine, but it is non-accelerated. - - -Configuration -============= - -You can pass kernel command line options to gxfb with gxfb.