Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge tag 'soc-fixes-6.17-2' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc

Pull SoC fixes from Arnd Bergmann:
"These are mainly devicetree fixes for the rockchip and nxp platforms
on arm64, addressing mistakes in the board and soc specific
descriptions.

In particular the newly added Rock 5T board required multiple bugfixes
for PCIe and USB, while on the i.MX platform there are a number of
regulator related fixes. The only other platforms with devicetree
fixes are at91 with a fixup for SD/MMC and a change to enable all the
available UARTS on the Axiado reference board.

Also on the at91 platform, a Kconfig change addresses a regression
that stopped the DMA engine from working in 6.17-rc.

Three drivers each have a simple bugfix, stopping incorrect behavior
in op-tee firmware, the tee subsystem and the qualcomm mdt_loader.

Two trivial MAINTAINERS file changes are needed to make sure that
patches reach the correct maintainer, but don't change the actual
responsibilities"

* tag 'soc-fixes-6.17-2' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (27 commits)
ARM: dts: microchip: sama7d65: Force SDMMC Legacy mode
ARM: at91: select ARCH_MICROCHIP
arm64: dts: rockchip: fix second M.2 slot on ROCK 5T
arm64: dts: rockchip: fix USB on RADXA ROCK 5T
MAINTAINERS: exclude defconfig from ARM64 PORT
arm64: dts: axiado: Add missing UART aliases
MAINTAINERS: Update Nobuhiro Iwamatsu's email address
arm64: dts: rockchip: Add vcc-supply to SPI flash on Pinephone Pro
arm64: dts: rockchip: fix es8388 address on rk3588s-roc-pc
arm64: dts: rockchip: Fix Bluetooth interrupts flag on Neardi LBA3368
arm64: dts: rockchip: correct network description on Sige5
arm64: dts: rockchip: Minor whitespace cleanup
ARM: dts: rockchip: Minor whitespace cleanup
arm64: dts: rockchip: Add supplies for eMMC on rk3588-orangepi-5
arm64: dts: rockchip: Fix the headphone detection on the orangepi 5 plus
arm64: dts: imx95: Fix JPEG encoder node assigned clock
arm64: dts: imx95-19x19-evk: correct the phy setting for flexcan1/2
arm64: dts: imx8mp: Fix missing microSD slot vqmmc on Data Modul i.MX8M Plus eDM SBC
arm64: dts: imx8mp: Fix missing microSD slot vqmmc on DH electronics i.MX8M Plus DHCOM
arm64: dts: imx8mp-tqma8mpql: remove virtual 3.3V regulator
...

+139 -66
+1
.mailmap
··· 589 589 Nikolay Aleksandrov <razor@blackwall.org> <nikolay@cumulusnetworks.com> 590 590 Nikolay Aleksandrov <razor@blackwall.org> <nikolay@nvidia.com> 591 591 Nikolay Aleksandrov <razor@blackwall.org> <nikolay@isovalent.com> 592 + Nobuhiro Iwamatsu <nobuhiro.iwamatsu.x90@mail.toshiba> <nobuhiro1.iwamatsu@toshiba.co.jp> 592 593 Odelu Kukatla <quic_okukatla@quicinc.com> <okukatla@codeaurora.org> 593 594 Oleksandr Natalenko <oleksandr@natalenko.name> <oleksandr@redhat.com> 594 595 Oleksij Rempel <linux@rempel-privat.de> <bug-track@fisher-privat.net>
+2 -1
MAINTAINERS
··· 3526 3526 F: arch/arm/boot/dts/nspire/ 3527 3527 3528 3528 ARM/TOSHIBA VISCONTI ARCHITECTURE 3529 - M: Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp> 3529 + M: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.x90@mail.toshiba> 3530 3530 L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers) 3531 3531 S: Supported 3532 3532 T: git git://git.kernel.org/pub/scm/linux/kernel/git/iwamatsu/linux-visconti.git ··· 3667 3667 F: drivers/virt/coco/pkvm-guest/ 3668 3668 F: tools/testing/selftests/arm64/ 3669 3669 X: arch/arm64/boot/dts/ 3670 + X: arch/arm64/configs/defconfig 3670 3671 3671 3672 ARROW SPEEDCHIPS XRS7000 SERIES ETHERNET SWITCH DRIVER 3672 3673 M: George McCollister <george.mccollister@gmail.com>
+2
arch/arm/boot/dts/microchip/at91-sama7d65_curiosity.dts
··· 387 387 388 388 &sdmmc1 { 389 389 bus-width = <4>; 390 + no-1-8-v; 391 + sdhci-caps-mask = <0x0 0x00200000>; 390 392 pinctrl-names = "default"; 391 393 pinctrl-0 = <&pinctrl_sdmmc1_default>; 392 394 status = "okay";
+1 -1
arch/arm/boot/dts/rockchip/rk3128-xpi-3128.dts
··· 272 272 phy-mode = "rmii"; 273 273 phy-handle = <&phy0>; 274 274 assigned-clocks = <&cru SCLK_MAC_SRC>; 275 - assigned-clock-rates= <50000000>; 275 + assigned-clock-rates = <50000000>; 276 276 pinctrl-names = "default"; 277 277 pinctrl-0 = <&rmii_pins>; 278 278 status = "okay";
+3 -3
arch/arm/boot/dts/rockchip/rv1109-relfor-saib.dts
··· 250 250 &i2s0 { 251 251 /delete-property/ pinctrl-0; 252 252 rockchip,trcm-sync-rx-only; 253 - pinctrl-0 = <&i2s0m0_sclk_rx>, 254 - <&i2s0m0_lrck_rx>, 255 - <&i2s0m0_sdi0>; 253 + pinctrl-0 = <&i2s0m0_sclk_rx>, 254 + <&i2s0m0_lrck_rx>, 255 + <&i2s0m0_sdi0>; 256 256 pinctrl-names = "default"; 257 257 status = "okay"; 258 258 };
+4
arch/arm/mach-at91/Kconfig
··· 1 1 # SPDX-License-Identifier: GPL-2.0-only 2 + config ARCH_MICROCHIP 3 + bool 4 + 2 5 menuconfig ARCH_AT91 3 6 bool "AT91/Microchip SoCs" 4 7 depends on (CPU_LITTLE_ENDIAN && (ARCH_MULTI_V4T || ARCH_MULTI_V5)) || \ ··· 11 8 select GPIOLIB 12 9 select PINCTRL 13 10 select SOC_BUS 11 + select ARCH_MICROCHIP 14 12 15 13 if ARCH_AT91 16 14 config SOC_SAMV7
+3
arch/arm64/boot/dts/axiado/ax3000-evk.dts
··· 14 14 #size-cells = <2>; 15 15 16 16 aliases { 17 + serial0 = &uart0; 18 + serial1 = &uart1; 19 + serial2 = &uart2; 17 20 serial3 = &uart3; 18 21 }; 19 22
+1
arch/arm64/boot/dts/freescale/imx8mp-data-modul-edm-sbc.dts
··· 555 555 pinctrl-2 = <&pinctrl_usdhc2_200mhz>, <&pinctrl_usdhc2_gpio>; 556 556 cd-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>; 557 557 vmmc-supply = <&reg_usdhc2_vmmc>; 558 + vqmmc-supply = <&ldo5>; 558 559 bus-width = <4>; 559 560 status = "okay"; 560 561 };
+1
arch/arm64/boot/dts/freescale/imx8mp-dhcom-som.dtsi
··· 609 609 pinctrl-2 = <&pinctrl_usdhc2_200mhz>, <&pinctrl_usdhc2_gpio>; 610 610 cd-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>; 611 611 vmmc-supply = <&reg_usdhc2_vmmc>; 612 + vqmmc-supply = <&ldo5>; 612 613 bus-width = <4>; 613 614 status = "okay"; 614 615 };
+7 -6
arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql-mba8mp-ras314.dts
··· 467 467 status = "okay"; 468 468 }; 469 469 470 + &reg_usdhc2_vqmmc { 471 + status = "okay"; 472 + }; 473 + 470 474 &sai5 { 471 475 pinctrl-names = "default"; 472 476 pinctrl-0 = <&pinctrl_sai5>; ··· 880 876 <MX8MP_IOMUXC_SD2_DATA0__USDHC2_DATA0 0x1d2>, 881 877 <MX8MP_IOMUXC_SD2_DATA1__USDHC2_DATA1 0x1d2>, 882 878 <MX8MP_IOMUXC_SD2_DATA2__USDHC2_DATA2 0x1d2>, 883 - <MX8MP_IOMUXC_SD2_DATA3__USDHC2_DATA3 0x1d2>, 884 - <MX8MP_IOMUXC_GPIO1_IO04__USDHC2_VSELECT 0xc0>; 879 + <MX8MP_IOMUXC_SD2_DATA3__USDHC2_DATA3 0x1d2>; 885 880 }; 886 881 887 882 pinctrl_usdhc2_100mhz: usdhc2-100mhzgrp { ··· 889 886 <MX8MP_IOMUXC_SD2_DATA0__USDHC2_DATA0 0x1d4>, 890 887 <MX8MP_IOMUXC_SD2_DATA1__USDHC2_DATA1 0x1d4>, 891 888 <MX8MP_IOMUXC_SD2_DATA2__USDHC2_DATA2 0x1d4>, 892 - <MX8MP_IOMUXC_SD2_DATA3__USDHC2_DATA3 0x1d4>, 893 - <MX8MP_IOMUXC_GPIO1_IO04__USDHC2_VSELECT 0xc0>; 889 + <MX8MP_IOMUXC_SD2_DATA3__USDHC2_DATA3 0x1d4>; 894 890 }; 895 891 896 892 pinctrl_usdhc2_200mhz: usdhc2-200mhzgrp { ··· 898 896 <MX8MP_IOMUXC_SD2_DATA0__USDHC2_DATA0 0x1d4>, 899 897 <MX8MP_IOMUXC_SD2_DATA1__USDHC2_DATA1 0x1d4>, 900 898 <MX8MP_IOMUXC_SD2_DATA2__USDHC2_DATA2 0x1d4>, 901 - <MX8MP_IOMUXC_SD2_DATA3__USDHC2_DATA3 0x1d4>, 902 - <MX8MP_IOMUXC_GPIO1_IO04__USDHC2_VSELECT 0xc0>; 899 + <MX8MP_IOMUXC_SD2_DATA3__USDHC2_DATA3 0x1d4>; 903 900 }; 904 901 905 902 pinctrl_usdhc2_gpio: usdhc2-gpiogrp {
+7 -6
arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql-mba8mpxl.dts
··· 604 604 status = "okay"; 605 605 }; 606 606 607 + &reg_usdhc2_vqmmc { 608 + status = "okay"; 609 + }; 610 + 607 611 &sai3 { 608 612 pinctrl-names = "default"; 609 613 pinctrl-0 = <&pinctrl_sai3>; ··· 987 983 <MX8MP_IOMUXC_SD2_DATA0__USDHC2_DATA0 0x1d2>, 988 984 <MX8MP_IOMUXC_SD2_DATA1__USDHC2_DATA1 0x1d2>, 989 985 <MX8MP_IOMUXC_SD2_DATA2__USDHC2_DATA2 0x1d2>, 990 - <MX8MP_IOMUXC_SD2_DATA3__USDHC2_DATA3 0x1d2>, 991 - <MX8MP_IOMUXC_GPIO1_IO04__USDHC2_VSELECT 0xc0>; 986 + <MX8MP_IOMUXC_SD2_DATA3__USDHC2_DATA3 0x1d2>; 992 987 }; 993 988 994 989 pinctrl_usdhc2_100mhz: usdhc2-100mhzgrp { ··· 996 993 <MX8MP_IOMUXC_SD2_DATA0__USDHC2_DATA0 0x1d4>, 997 994 <MX8MP_IOMUXC_SD2_DATA1__USDHC2_DATA1 0x1d4>, 998 995 <MX8MP_IOMUXC_SD2_DATA2__USDHC2_DATA2 0x1d4>, 999 - <MX8MP_IOMUXC_SD2_DATA3__USDHC2_DATA3 0x1d4>, 1000 - <MX8MP_IOMUXC_GPIO1_IO04__USDHC2_VSELECT 0xc0>; 996 + <MX8MP_IOMUXC_SD2_DATA3__USDHC2_DATA3 0x1d4>; 1001 997 }; 1002 998 1003 999 pinctrl_usdhc2_200mhz: usdhc2-200mhzgrp { ··· 1005 1003 <MX8MP_IOMUXC_SD2_DATA0__USDHC2_DATA0 0x1d4>, 1006 1004 <MX8MP_IOMUXC_SD2_DATA1__USDHC2_DATA1 0x1d4>, 1007 1005 <MX8MP_IOMUXC_SD2_DATA2__USDHC2_DATA2 0x1d4>, 1008 - <MX8MP_IOMUXC_SD2_DATA3__USDHC2_DATA3 0x1d4>, 1009 - <MX8MP_IOMUXC_GPIO1_IO04__USDHC2_VSELECT 0xc0>; 1006 + <MX8MP_IOMUXC_SD2_DATA3__USDHC2_DATA3 0x1d4>; 1010 1007 }; 1011 1008 1012 1009 pinctrl_usdhc2_gpio: usdhc2-gpiogrp {
+22 -9
arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql.dtsi
··· 16 16 reg = <0x0 0x40000000 0 0x80000000>; 17 17 }; 18 18 19 - /* identical to buck4_reg, but should never change */ 20 - reg_vcc3v3: regulator-vcc3v3 { 21 - compatible = "regulator-fixed"; 22 - regulator-name = "VCC3V3"; 23 - regulator-min-microvolt = <3300000>; 19 + reg_usdhc2_vqmmc: regulator-usdhc2-vqmmc { 20 + compatible = "regulator-gpio"; 21 + pinctrl-names = "default"; 22 + pinctrl-0 = <&pinctrl_reg_usdhc2_vqmmc>; 23 + regulator-name = "V_SD2"; 24 + regulator-min-microvolt = <1800000>; 24 25 regulator-max-microvolt = <3300000>; 25 - regulator-always-on; 26 + gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>; 27 + states = <1800000 0x1>, 28 + <3300000 0x0>; 29 + vin-supply = <&ldo5_reg>; 30 + status = "disabled"; 26 31 }; 27 32 }; 28 33 ··· 178 173 read-only; 179 174 reg = <0x53>; 180 175 pagesize = <16>; 181 - vcc-supply = <&reg_vcc3v3>; 176 + vcc-supply = <&buck4_reg>; 182 177 }; 183 178 184 179 m24c64: eeprom@57 { 185 180 compatible = "atmel,24c64"; 186 181 reg = <0x57>; 187 182 pagesize = <32>; 188 - vcc-supply = <&reg_vcc3v3>; 183 + vcc-supply = <&buck4_reg>; 189 184 }; 185 + }; 186 + 187 + &usdhc2 { 188 + vqmmc-supply = <&reg_usdhc2_vqmmc>; 190 189 }; 191 190 192 191 &usdhc3 { ··· 202 193 non-removable; 203 194 no-sd; 204 195 no-sdio; 205 - vmmc-supply = <&reg_vcc3v3>; 196 + vmmc-supply = <&buck4_reg>; 206 197 vqmmc-supply = <&buck5_reg>; 207 198 status = "okay"; 208 199 }; ··· 240 231 241 232 pinctrl_reg_usdhc2_vmmc: regusdhc2vmmcgrp { 242 233 fsl,pins = <MX8MP_IOMUXC_SD2_RESET_B__GPIO2_IO19 0x10>; 234 + }; 235 + 236 + pinctrl_reg_usdhc2_vqmmc: regusdhc2vqmmcgrp { 237 + fsl,pins = <MX8MP_IOMUXC_GPIO1_IO04__GPIO1_IO04 0xc0>; 243 238 }; 244 239 245 240 pinctrl_usdhc3: usdhc3grp {
+5 -5
arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts
··· 80 80 flexcan1_phy: can-phy0 { 81 81 compatible = "nxp,tjr1443"; 82 82 #phy-cells = <0>; 83 - max-bitrate = <1000000>; 83 + max-bitrate = <8000000>; 84 84 enable-gpios = <&i2c6_pcal6416 6 GPIO_ACTIVE_HIGH>; 85 - standby-gpios = <&i2c6_pcal6416 5 GPIO_ACTIVE_HIGH>; 85 + standby-gpios = <&i2c6_pcal6416 5 GPIO_ACTIVE_LOW>; 86 86 }; 87 87 88 88 flexcan2_phy: can-phy1 { 89 89 compatible = "nxp,tjr1443"; 90 90 #phy-cells = <0>; 91 - max-bitrate = <1000000>; 92 - enable-gpios = <&i2c6_pcal6416 4 GPIO_ACTIVE_HIGH>; 93 - standby-gpios = <&i2c6_pcal6416 3 GPIO_ACTIVE_HIGH>; 91 + max-bitrate = <8000000>; 92 + enable-gpios = <&i2c4_gpio_expander_21 4 GPIO_ACTIVE_HIGH>; 93 + standby-gpios = <&i2c4_gpio_expander_21 3 GPIO_ACTIVE_LOW>; 94 94 }; 95 95 96 96 reg_vref_1v8: regulator-1p8v {
+1 -1
arch/arm64/boot/dts/freescale/imx95.dtsi
··· 1843 1843 <GIC_SPI 294 IRQ_TYPE_LEVEL_HIGH>; 1844 1844 clocks = <&scmi_clk IMX95_CLK_VPU>, 1845 1845 <&vpu_blk_ctrl IMX95_CLK_VPUBLK_JPEG_ENC>; 1846 - assigned-clocks = <&vpu_blk_ctrl IMX95_CLK_VPUBLK_JPEG_DEC>; 1846 + assigned-clocks = <&vpu_blk_ctrl IMX95_CLK_VPUBLK_JPEG_ENC>; 1847 1847 assigned-clock-parents = <&scmi_clk IMX95_CLK_VPUJPEG>; 1848 1848 power-domains = <&scmi_devpd IMX95_PD_VPU>; 1849 1849 };
+4 -4
arch/arm64/boot/dts/rockchip/px30-pp1516.dtsi
··· 72 72 }; 73 73 74 74 vcc_cam_avdd: regulator-vcc-cam-avdd { 75 - compatible = "regulator-fixed"; 75 + compatible = "regulator-fixed"; 76 76 regulator-name = "vcc_cam_avdd"; 77 77 gpio = <&gpio3 RK_PC0 GPIO_ACTIVE_LOW>; 78 78 pinctrl-names = "default"; ··· 83 83 }; 84 84 85 85 vcc_cam_dovdd: regulator-vcc-cam-dovdd { 86 - compatible = "regulator-fixed"; 86 + compatible = "regulator-fixed"; 87 87 regulator-name = "vcc_cam_dovdd"; 88 88 gpio = <&gpio3 RK_PC1 GPIO_ACTIVE_LOW>; 89 89 pinctrl-names = "default"; ··· 94 94 }; 95 95 96 96 vcc_cam_dvdd: regulator-vcc-cam-dvdd { 97 - compatible = "regulator-fixed"; 97 + compatible = "regulator-fixed"; 98 98 regulator-name = "vcc_cam_dvdd"; 99 99 gpio = <&gpio3 RK_PC5 GPIO_ACTIVE_HIGH>; 100 100 enable-active-high; ··· 106 106 }; 107 107 108 108 vcc_lens_afvdd: regulator-vcc-lens-afvdd { 109 - compatible = "regulator-fixed"; 109 + compatible = "regulator-fixed"; 110 110 regulator-name = "vcc_lens_afvdd"; 111 111 gpio = <&gpio3 RK_PB2 GPIO_ACTIVE_LOW>; 112 112 pinctrl-names = "default";
+3 -3
arch/arm64/boot/dts/rockchip/px30-ringneck-haikou-video-demo.dtso
··· 26 26 }; 27 27 28 28 cam_afvdd_2v8: regulator-cam-afvdd-2v8 { 29 - compatible = "regulator-fixed"; 29 + compatible = "regulator-fixed"; 30 30 gpio = <&pca9670 2 GPIO_ACTIVE_LOW>; 31 31 regulator-max-microvolt = <2800000>; 32 32 regulator-min-microvolt = <2800000>; ··· 35 35 }; 36 36 37 37 cam_avdd_2v8: regulator-cam-avdd-2v8 { 38 - compatible = "regulator-fixed"; 38 + compatible = "regulator-fixed"; 39 39 gpio = <&pca9670 4 GPIO_ACTIVE_LOW>; 40 40 regulator-max-microvolt = <2800000>; 41 41 regulator-min-microvolt = <2800000>; ··· 44 44 }; 45 45 46 46 cam_dovdd_1v8: regulator-cam-dovdd-1v8 { 47 - compatible = "regulator-fixed"; 47 + compatible = "regulator-fixed"; 48 48 gpio = <&pca9670 3 GPIO_ACTIVE_LOW>; 49 49 regulator-max-microvolt = <1800000>; 50 50 regulator-min-microvolt = <1800000>;
+1 -1
arch/arm64/boot/dts/rockchip/rk3308-sakurapi-rk3308b.dts
··· 260 260 status = "okay"; 261 261 }; 262 262 263 - &usb_host_ohci{ 263 + &usb_host_ohci { 264 264 status = "okay"; 265 265 };
+1 -1
arch/arm64/boot/dts/rockchip/rk3368-lba3368.dts
··· 609 609 610 610 bluetooth { 611 611 compatible = "brcm,bcm4345c5"; 612 - interrupts-extended = <&gpio3 RK_PA7 GPIO_ACTIVE_HIGH>; 612 + interrupts-extended = <&gpio3 RK_PA7 IRQ_TYPE_LEVEL_HIGH>; 613 613 interrupt-names = "host-wakeup"; 614 614 clocks = <&rk808 RK808_CLKOUT1>; 615 615 clock-names = "lpo";
+1
arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts
··· 959 959 reg = <0>; 960 960 m25p,fast-read; 961 961 spi-max-frequency = <10000000>; 962 + vcc-supply = <&vcc_3v0>; 962 963 }; 963 964 }; 964 965
+1
arch/arm64/boot/dts/rockchip/rk3399-pinephone-pro.dts
··· 754 754 compatible = "jedec,spi-nor"; 755 755 reg = <0>; 756 756 spi-max-frequency = <10000000>; 757 + vcc-supply = <&vcc_1v8>; 757 758 }; 758 759 }; 759 760
+3 -3
arch/arm64/boot/dts/rockchip/rk3399-puma-haikou-video-demo.dtso
··· 26 26 }; 27 27 28 28 cam_afvdd_2v8: regulator-cam-afvdd-2v8 { 29 - compatible = "regulator-fixed"; 29 + compatible = "regulator-fixed"; 30 30 gpio = <&pca9670 2 GPIO_ACTIVE_LOW>; 31 31 regulator-max-microvolt = <2800000>; 32 32 regulator-min-microvolt = <2800000>; ··· 35 35 }; 36 36 37 37 cam_avdd_2v8: regulator-cam-avdd-2v8 { 38 - compatible = "regulator-fixed"; 38 + compatible = "regulator-fixed"; 39 39 gpio = <&pca9670 4 GPIO_ACTIVE_LOW>; 40 40 regulator-max-microvolt = <2800000>; 41 41 regulator-min-microvolt = <2800000>; ··· 44 44 }; 45 45 46 46 cam_dovdd_1v8: regulator-cam-dovdd-1v8 { 47 - compatible = "regulator-fixed"; 47 + compatible = "regulator-fixed"; 48 48 gpio = <&pca9670 3 GPIO_ACTIVE_LOW>; 49 49 regulator-max-microvolt = <1800000>; 50 50 regulator-min-microvolt = <1800000>;
+2 -2
arch/arm64/boot/dts/rockchip/rk3566-bigtreetech-cb2.dtsi
··· 53 53 gpios = <&gpio4 RK_PA1 GPIO_ACTIVE_LOW>; 54 54 linux,default-trigger = "default-on"; 55 55 pinctrl-names = "default"; 56 - pinctrl-0 =<&blue_led>; 56 + pinctrl-0 = <&blue_led>; 57 57 }; 58 58 59 59 led-1 { ··· 62 62 gpios = <&gpio0 RK_PB7 GPIO_ACTIVE_LOW>; 63 63 linux,default-trigger = "heartbeat"; 64 64 pinctrl-names = "default"; 65 - pinctrl-0 =<&heartbeat_led>; 65 + pinctrl-0 = <&heartbeat_led>; 66 66 }; 67 67 }; 68 68
+1 -4
arch/arm64/boot/dts/rockchip/rk3576-armsom-sige5.dts
··· 302 302 &eth1m0_tx_bus2 303 303 &eth1m0_rx_bus2 304 304 &eth1m0_rgmii_clk 305 - &eth1m0_rgmii_bus 306 - &ethm0_clk1_25m_out>; 305 + &eth1m0_rgmii_bus>; 307 306 status = "okay"; 308 307 }; 309 308 ··· 783 784 rgmii_phy0: phy@1 { 784 785 compatible = "ethernet-phy-ieee802.3-c22"; 785 786 reg = <0x1>; 786 - clocks = <&cru REFCLKO25M_GMAC0_OUT>; 787 787 pinctrl-names = "default"; 788 788 pinctrl-0 = <&gmac0_rst>; 789 789 reset-assert-us = <20000>; ··· 795 797 rgmii_phy1: phy@1 { 796 798 compatible = "ethernet-phy-ieee802.3-c22"; 797 799 reg = <0x1>; 798 - clocks = <&cru REFCLKO25M_GMAC1_OUT>; 799 800 pinctrl-names = "default"; 800 801 pinctrl-0 = <&gmac1_rst>; 801 802 reset-assert-us = <20000>;
+1
arch/arm64/boot/dts/rockchip/rk3582-radxa-e52c.dts
··· 250 250 compatible = "belling,bl24c16a", "atmel,24c16"; 251 251 reg = <0x50>; 252 252 pagesize = <16>; 253 + read-only; 253 254 vcc-supply = <&vcc_3v3_pmu>; 254 255 }; 255 256 };
+1 -1
arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts
··· 77 77 pinctrl-names = "default"; 78 78 pinctrl-0 = <&hp_detect>; 79 79 simple-audio-card,aux-devs = <&speaker_amp>, <&headphone_amp>; 80 - simple-audio-card,hp-det-gpios = <&gpio1 RK_PD3 GPIO_ACTIVE_LOW>; 80 + simple-audio-card,hp-det-gpios = <&gpio1 RK_PD3 GPIO_ACTIVE_HIGH>; 81 81 simple-audio-card,widgets = 82 82 "Microphone", "Onboard Microphone", 83 83 "Microphone", "Microphone Jack",
+2
arch/arm64/boot/dts/rockchip/rk3588-orangepi-5.dtsi
··· 365 365 max-frequency = <200000000>; 366 366 mmc-hs400-1_8v; 367 367 mmc-hs400-enhanced-strobe; 368 + vmmc-supply = <&vcc_3v3_s3>; 369 + vqmmc-supply = <&vcc_1v8_s3>; 368 370 status = "okay"; 369 371 }; 370 372
+35
arch/arm64/boot/dts/rockchip/rk3588-rock-5t.dts
··· 68 68 status = "okay"; 69 69 }; 70 70 71 + &pcie30phy { 72 + data-lanes = <1 1 2 2>; 73 + }; 74 + 75 + &pcie3x2 { 76 + pinctrl-names = "default"; 77 + pinctrl-0 = <&pcie3x2_rst>; 78 + reset-gpios = <&gpio4 RK_PB0 GPIO_ACTIVE_HIGH>; 79 + vpcie3v3-supply = <&vcc3v3_pcie30>; 80 + status = "okay"; 81 + }; 82 + 83 + &pcie3x4 { 84 + num-lanes = <2>; 85 + }; 86 + 71 87 &pinctrl { 72 88 hdmirx { 73 89 hdmirx_hpd: hdmirx-5v-detection { ··· 106 90 }; 107 91 }; 108 92 93 + pcie3 { 94 + pcie3x2_rst: pcie3x2-rst { 95 + rockchip,pins = <4 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>; 96 + }; 97 + }; 98 + 109 99 sound { 110 100 hp_detect: hp-detect { 111 101 rockchip,pins = <4 RK_PC3 RK_FUNC_GPIO &pcfg_pull_none>; 102 + }; 103 + }; 104 + 105 + usb { 106 + vcc5v0_host_en: vcc5v0-host-en { 107 + rockchip,pins = <1 RK_PA1 RK_FUNC_GPIO &pcfg_pull_none>; 112 108 }; 113 109 }; 114 110 }; ··· 130 102 pinctrl-names = "default"; 131 103 pinctrl-0 = <&pcie2_0_vcc3v3_en>; 132 104 status = "okay"; 105 + }; 106 + 107 + &vcc5v0_host { 108 + enable-active-high; 109 + gpio = <&gpio1 RK_PA1 GPIO_ACTIVE_HIGH>; 110 + pinctrl-names = "default"; 111 + pinctrl-0 = <&vcc5v0_host_en>; 133 112 };
+2 -2
arch/arm64/boot/dts/rockchip/rk3588j.dtsi
··· 28 28 compatible = "operating-points-v2"; 29 29 opp-shared; 30 30 31 - opp-1200000000{ 31 + opp-1200000000 { 32 32 opp-hz = /bits/ 64 <1200000000>; 33 33 opp-microvolt = <750000 750000 950000>; 34 34 clock-latency-ns = <40000>; ··· 49 49 compatible = "operating-points-v2"; 50 50 opp-shared; 51 51 52 - opp-1200000000{ 52 + opp-1200000000 { 53 53 opp-hz = /bits/ 64 <1200000000>; 54 54 opp-microvolt = <750000 750000 950000>; 55 55 clock-latency-ns = <40000>;
+2 -2
arch/arm64/boot/dts/rockchip/rk3588s-roc-pc.dts
··· 320 320 &i2c3 { 321 321 status = "okay"; 322 322 323 - es8388: audio-codec@10 { 323 + es8388: audio-codec@11 { 324 324 compatible = "everest,es8388", "everest,es8328"; 325 - reg = <0x10>; 325 + reg = <0x11>; 326 326 clocks = <&cru I2S1_8CH_MCLKOUT>; 327 327 AVDD-supply = <&vcc_3v3_s0>; 328 328 DVDD-supply = <&vcc_1v8_s0>;
+7 -5
drivers/soc/qcom/mdt_loader.c
··· 39 39 if (phend > fw->size) 40 40 return false; 41 41 42 - if (ehdr->e_shentsize != sizeof(struct elf32_shdr)) 43 - return false; 42 + if (ehdr->e_shentsize || ehdr->e_shnum) { 43 + if (ehdr->e_shentsize != sizeof(struct elf32_shdr)) 44 + return false; 44 45 45 - shend = size_add(size_mul(sizeof(struct elf32_shdr), ehdr->e_shnum), ehdr->e_shoff); 46 - if (shend > fw->size) 47 - return false; 46 + shend = size_add(size_mul(sizeof(struct elf32_shdr), ehdr->e_shnum), ehdr->e_shoff); 47 + if (shend > fw->size) 48 + return false; 49 + } 48 50 49 51 return true; 50 52 }
+2 -2
drivers/tee/optee/ffa_abi.c
··· 657 657 * with a matching configuration. 658 658 */ 659 659 660 - static bool optee_ffa_api_is_compatbile(struct ffa_device *ffa_dev, 660 + static bool optee_ffa_api_is_compatible(struct ffa_device *ffa_dev, 661 661 const struct ffa_ops *ops) 662 662 { 663 663 const struct ffa_msg_ops *msg_ops = ops->msg_ops; ··· 908 908 ffa_ops = ffa_dev->ops; 909 909 notif_ops = ffa_ops->notifier_ops; 910 910 911 - if (!optee_ffa_api_is_compatbile(ffa_dev, ffa_ops)) 911 + if (!optee_ffa_api_is_compatible(ffa_dev, ffa_ops)) 912 912 return -EINVAL; 913 913 914 914 if (!optee_ffa_exchange_caps(ffa_dev, ffa_ops, &sec_caps,
+10 -4
drivers/tee/tee_shm.c
··· 230 230 pages = kcalloc(nr_pages, sizeof(*pages), GFP_KERNEL); 231 231 if (!pages) { 232 232 rc = -ENOMEM; 233 - goto err; 233 + goto err_pages; 234 234 } 235 235 236 236 for (i = 0; i < nr_pages; i++) ··· 243 243 rc = shm_register(shm->ctx, shm, pages, nr_pages, 244 244 (unsigned long)shm->kaddr); 245 245 if (rc) 246 - goto err; 246 + goto err_kfree; 247 247 } 248 248 249 249 return 0; 250 - err: 250 + err_kfree: 251 + kfree(pages); 252 + err_pages: 251 253 free_pages_exact(shm->kaddr, shm->size); 252 254 shm->kaddr = NULL; 253 255 return rc; ··· 562 560 */ 563 561 void tee_shm_put(struct tee_shm *shm) 564 562 { 565 - struct tee_device *teedev = shm->ctx->teedev; 563 + struct tee_device *teedev; 566 564 bool do_release = false; 567 565 566 + if (!shm || !shm->ctx || !shm->ctx->teedev) 567 + return; 568 + 569 + teedev = shm->ctx->teedev; 568 570 mutex_lock(&teedev->mutex); 569 571 if (refcount_dec_and_test(&shm->refcount)) { 570 572 /*