Commit 1c49f281 authored by Linus Torvalds's avatar Linus Torvalds

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

Pull ARM SoC fixes from Arnd Bergmann:
 "Most of the contents are bugfixes for the devicetree files:

   - A Qualcomm MSM8974 pin controller regression, caused by a cleanup
     patch that gets partially reverted here.

   - Missing properties for Broadcom BCM49xx to fix timer detection and
     SMP boot.

   - Fix touchscreen pinctrl for imx6ull-colibri board

   - Multiple fixes for Rockchip rk3399 based machines including the vdu
     clock-rate fix, otg port fix on Quartz64-A and ethernet on
     Quartz64-B

   - Fixes for misspelled DT contents causing minor problems on
     imx6qdl-ts7970m, orangepi-zero, sama5d2, kontron-kswitch-d10, and
     ls1028a

  And a couple of changes elsewhere:

   - Fix binding for Allwinner D1 display pipeline

   - Trivial code fixes to the TEE and reset controller driver
     subsystems and the rockchip platform code.

   - Multiple updates to the MAINTAINERS files, marking the Palm Treo
     support as orphaned, and fixing some entries for added or changed
     file names"

* tag 'soc-fixes-5.19-3' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (21 commits)
  arm64: dts: broadcom: bcm4908: Fix cpu node for smp boot
  arm64: dts: broadcom: bcm4908: Fix timer node for BCM4906 SoC
  ARM: dts: sunxi: Fix SPI NOR campatible on Orange Pi Zero
  ARM: dts: at91: sama5d2: Fix typo in i2s1 node
  tee: tee_get_drvdata(): fix description of return value
  optee: Remove duplicate 'of' in two places.
  ARM: dts: kswitch-d10: use open drain mode for coma-mode pins
  ARM: dts: colibri-imx6ull: fix snvs pinmux group
  optee: smc_abi.c: fix wrong pointer passed to IS_ERR/PTR_ERR()
  MAINTAINERS: add polarfire rng, pci and clock drivers
  MAINTAINERS: mark ARM/PALM TREO SUPPORT orphan
  ARM: dts: imx6qdl-ts7970: Fix ngpio typo and count
  arm64: dts: ls1028a: Update SFP node to include clock
  dt-bindings: display: sun4i: Fix D1 pipeline count
  ARM: dts: qcom: msm8974: re-add missing pinctrl
  reset: Fix devm bulk optional exclusive control getter
  MAINTAINERS: rectify entry for SYNOPSYS AXS10x RESET CONTROLLER DRIVER
  ARM: rockchip: Add missing of_node_put() in rockchip_suspend_init()
  arm64: dts: rockchip: Assign RK3399 VDU clock rate
  arm64: dts: rockchip: Fix Quartz64-A dwc3 otg port behavior
  ...
parents 2a347a06 d332a1f6
...@@ -627,6 +627,10 @@ S: 48287 Sawleaf ...@@ -627,6 +627,10 @@ S: 48287 Sawleaf
S: Fremont, California 94539 S: Fremont, California 94539
S: USA S: USA
N: Tomas Cech
E: sleep_walker@suse.com
D: arm/palm treo support
N: Florent Chabaud N: Florent Chabaud
E: florent.chabaud@polytechnique.org E: florent.chabaud@polytechnique.org
D: software suspend D: software suspend
......
...@@ -94,6 +94,7 @@ if: ...@@ -94,6 +94,7 @@ if:
- allwinner,sun8i-a83t-display-engine - allwinner,sun8i-a83t-display-engine
- allwinner,sun8i-r40-display-engine - allwinner,sun8i-r40-display-engine
- allwinner,sun9i-a80-display-engine - allwinner,sun9i-a80-display-engine
- allwinner,sun20i-d1-display-engine
- allwinner,sun50i-a64-display-engine - allwinner,sun50i-a64-display-engine
then: then:
......
...@@ -2498,10 +2498,8 @@ F: drivers/power/reset/oxnas-restart.c ...@@ -2498,10 +2498,8 @@ F: drivers/power/reset/oxnas-restart.c
N: oxnas N: oxnas
ARM/PALM TREO SUPPORT ARM/PALM TREO SUPPORT
M: Tomas Cech <sleep_walker@suse.com>
L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers) L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
S: Maintained S: Orphan
W: http://hackndev.com
F: arch/arm/mach-pxa/palmtreo.* F: arch/arm/mach-pxa/palmtreo.*
ARM/PALMTX,PALMT5,PALMLD,PALMTE2,PALMTC SUPPORT ARM/PALMTX,PALMT5,PALMLD,PALMTE2,PALMTC SUPPORT
...@@ -17274,12 +17272,15 @@ N: riscv ...@@ -17274,12 +17272,15 @@ N: riscv
K: riscv K: riscv
RISC-V/MICROCHIP POLARFIRE SOC SUPPORT RISC-V/MICROCHIP POLARFIRE SOC SUPPORT
M: Lewis Hanly <lewis.hanly@microchip.com>
M: Conor Dooley <conor.dooley@microchip.com> M: Conor Dooley <conor.dooley@microchip.com>
M: Daire McNamara <daire.mcnamara@microchip.com>
L: linux-riscv@lists.infradead.org L: linux-riscv@lists.infradead.org
S: Supported S: Supported
F: arch/riscv/boot/dts/microchip/ F: arch/riscv/boot/dts/microchip/
F: drivers/char/hw_random/mpfs-rng.c
F: drivers/clk/microchip/clk-mpfs.c
F: drivers/mailbox/mailbox-mpfs.c F: drivers/mailbox/mailbox-mpfs.c
F: drivers/pci/controller/pcie-microchip-host.c
F: drivers/soc/microchip/ F: drivers/soc/microchip/
F: include/soc/microchip/mpfs.h F: include/soc/microchip/mpfs.h
......
...@@ -226,7 +226,7 @@ gpio8: gpio@28 { ...@@ -226,7 +226,7 @@ gpio8: gpio@28 {
reg = <0x28>; reg = <0x28>;
#gpio-cells = <2>; #gpio-cells = <2>;
gpio-controller; gpio-controller;
ngpio = <32>; ngpios = <62>;
}; };
sgtl5000: codec@a { sgtl5000: codec@a {
......
...@@ -166,7 +166,7 @@ &i2c1 { ...@@ -166,7 +166,7 @@ &i2c1 {
atmel_mxt_ts: touchscreen@4a { atmel_mxt_ts: touchscreen@4a {
compatible = "atmel,maxtouch"; compatible = "atmel,maxtouch";
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_atmel_conn>; pinctrl-0 = <&pinctrl_atmel_conn &pinctrl_atmel_snvs_conn>;
reg = <0x4a>; reg = <0x4a>;
interrupt-parent = <&gpio5>; interrupt-parent = <&gpio5>;
interrupts = <4 IRQ_TYPE_EDGE_FALLING>; /* SODIMM 107 / INT */ interrupts = <4 IRQ_TYPE_EDGE_FALLING>; /* SODIMM 107 / INT */
...@@ -331,7 +331,6 @@ MX6UL_PAD_ENET1_TX_EN__GPIO2_IO05 0xb0a0 /* SODIMM 30 */ ...@@ -331,7 +331,6 @@ MX6UL_PAD_ENET1_TX_EN__GPIO2_IO05 0xb0a0 /* SODIMM 30 */
pinctrl_atmel_conn: atmelconngrp { pinctrl_atmel_conn: atmelconngrp {
fsl,pins = < fsl,pins = <
MX6UL_PAD_JTAG_MOD__GPIO1_IO10 0xb0a0 /* SODIMM 106 */ MX6UL_PAD_JTAG_MOD__GPIO1_IO10 0xb0a0 /* SODIMM 106 */
MX6ULL_PAD_SNVS_TAMPER4__GPIO5_IO04 0xb0a0 /* SODIMM 107 */
>; >;
}; };
...@@ -684,6 +683,12 @@ MX6UL_PAD_LCD_RESET__WDOG1_WDOG_ANY 0x30b0 ...@@ -684,6 +683,12 @@ MX6UL_PAD_LCD_RESET__WDOG1_WDOG_ANY 0x30b0
}; };
&iomuxc_snvs { &iomuxc_snvs {
pinctrl_atmel_snvs_conn: atmelsnvsconngrp {
fsl,pins = <
MX6ULL_PAD_SNVS_TAMPER4__GPIO5_IO04 0xb0a0 /* SODIMM 107 */
>;
};
pinctrl_snvs_gpio1: snvsgpio1grp { pinctrl_snvs_gpio1: snvsgpio1grp {
fsl,pins = < fsl,pins = <
MX6ULL_PAD_SNVS_TAMPER6__GPIO5_IO06 0x110a0 /* SODIMM 93 */ MX6ULL_PAD_SNVS_TAMPER6__GPIO5_IO06 0x110a0 /* SODIMM 93 */
......
...@@ -87,22 +87,22 @@ &mdio0 { ...@@ -87,22 +87,22 @@ &mdio0 {
phy4: ethernet-phy@5 { phy4: ethernet-phy@5 {
reg = <5>; reg = <5>;
coma-mode-gpios = <&gpio 37 GPIO_ACTIVE_HIGH>; coma-mode-gpios = <&gpio 37 GPIO_OPEN_DRAIN>;
}; };
phy5: ethernet-phy@6 { phy5: ethernet-phy@6 {
reg = <6>; reg = <6>;
coma-mode-gpios = <&gpio 37 GPIO_ACTIVE_HIGH>; coma-mode-gpios = <&gpio 37 GPIO_OPEN_DRAIN>;
}; };
phy6: ethernet-phy@7 { phy6: ethernet-phy@7 {
reg = <7>; reg = <7>;
coma-mode-gpios = <&gpio 37 GPIO_ACTIVE_HIGH>; coma-mode-gpios = <&gpio 37 GPIO_OPEN_DRAIN>;
}; };
phy7: ethernet-phy@8 { phy7: ethernet-phy@8 {
reg = <8>; reg = <8>;
coma-mode-gpios = <&gpio 37 GPIO_ACTIVE_HIGH>; coma-mode-gpios = <&gpio 37 GPIO_OPEN_DRAIN>;
}; };
}; };
......
...@@ -506,6 +506,8 @@ blsp1_uart2: serial@f991e000 { ...@@ -506,6 +506,8 @@ blsp1_uart2: serial@f991e000 {
interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&gcc GCC_BLSP1_UART2_APPS_CLK>, <&gcc GCC_BLSP1_AHB_CLK>; clocks = <&gcc GCC_BLSP1_UART2_APPS_CLK>, <&gcc GCC_BLSP1_AHB_CLK>;
clock-names = "core", "iface"; clock-names = "core", "iface";
pinctrl-names = "default";
pinctrl-0 = <&blsp1_uart2_default>;
status = "disabled"; status = "disabled";
}; };
...@@ -581,6 +583,9 @@ blsp2_uart1: serial@f995d000 { ...@@ -581,6 +583,9 @@ blsp2_uart1: serial@f995d000 {
interrupts = <GIC_SPI 113 IRQ_TYPE_NONE>; interrupts = <GIC_SPI 113 IRQ_TYPE_NONE>;
clocks = <&gcc GCC_BLSP2_UART1_APPS_CLK>, <&gcc GCC_BLSP2_AHB_CLK>; clocks = <&gcc GCC_BLSP2_UART1_APPS_CLK>, <&gcc GCC_BLSP2_AHB_CLK>;
clock-names = "core", "iface"; clock-names = "core", "iface";
pinctrl-names = "default", "sleep";
pinctrl-0 = <&blsp2_uart1_default>;
pinctrl-1 = <&blsp2_uart1_sleep>;
status = "disabled"; status = "disabled";
}; };
...@@ -599,6 +604,8 @@ blsp2_uart4: serial@f9960000 { ...@@ -599,6 +604,8 @@ blsp2_uart4: serial@f9960000 {
interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&gcc GCC_BLSP2_UART4_APPS_CLK>, <&gcc GCC_BLSP2_AHB_CLK>; clocks = <&gcc GCC_BLSP2_UART4_APPS_CLK>, <&gcc GCC_BLSP2_AHB_CLK>;
clock-names = "core", "iface"; clock-names = "core", "iface";
pinctrl-names = "default";
pinctrl-0 = <&blsp2_uart4_default>;
status = "disabled"; status = "disabled";
}; };
...@@ -639,6 +646,9 @@ blsp2_i2c6: i2c@f9968000 { ...@@ -639,6 +646,9 @@ blsp2_i2c6: i2c@f9968000 {
interrupts = <0 106 IRQ_TYPE_LEVEL_HIGH>; interrupts = <0 106 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&gcc GCC_BLSP2_QUP6_I2C_APPS_CLK>, <&gcc GCC_BLSP2_AHB_CLK>; clocks = <&gcc GCC_BLSP2_QUP6_I2C_APPS_CLK>, <&gcc GCC_BLSP2_AHB_CLK>;
clock-names = "core", "iface"; clock-names = "core", "iface";
pinctrl-names = "default", "sleep";
pinctrl-0 = <&blsp2_i2c6_default>;
pinctrl-1 = <&blsp2_i2c6_sleep>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
}; };
...@@ -1256,7 +1266,7 @@ cd { ...@@ -1256,7 +1266,7 @@ cd {
}; };
}; };
blsp1_uart2_active: blsp1-uart2-active { blsp1_uart2_default: blsp1-uart2-default {
rx { rx {
pins = "gpio5"; pins = "gpio5";
function = "blsp_uart2"; function = "blsp_uart2";
...@@ -1272,7 +1282,7 @@ tx { ...@@ -1272,7 +1282,7 @@ tx {
}; };
}; };
blsp2_uart1_active: blsp2-uart1-active { blsp2_uart1_default: blsp2-uart1-default {
tx-rts { tx-rts {
pins = "gpio41", "gpio44"; pins = "gpio41", "gpio44";
function = "blsp_uart7"; function = "blsp_uart7";
...@@ -1295,7 +1305,7 @@ blsp2_uart1_sleep: blsp2-uart1-sleep { ...@@ -1295,7 +1305,7 @@ blsp2_uart1_sleep: blsp2-uart1-sleep {
bias-pull-down; bias-pull-down;
}; };
blsp2_uart4_active: blsp2-uart4-active { blsp2_uart4_default: blsp2-uart4-default {
tx-rts { tx-rts {
pins = "gpio53", "gpio56"; pins = "gpio53", "gpio56";
function = "blsp_uart10"; function = "blsp_uart10";
...@@ -1406,7 +1416,19 @@ blsp2_i2c5_sleep: blsp2-i2c5-sleep { ...@@ -1406,7 +1416,19 @@ blsp2_i2c5_sleep: blsp2-i2c5-sleep {
bias-pull-up; bias-pull-up;
}; };
/* BLSP2_I2C6 info is missing - nobody uses it though? */ blsp2_i2c6_default: blsp2-i2c6-default {
pins = "gpio87", "gpio88";
function = "blsp_i2c12";
drive-strength = <2>;
bias-disable;
};
blsp2_i2c6_sleep: blsp2-i2c6-sleep {
pins = "gpio87", "gpio88";
function = "blsp_i2c12";
drive-strength = <2>;
bias-pull-up;
};
spi8_default: spi8_default { spi8_default: spi8_default {
mosi { mosi {
......
...@@ -1124,7 +1124,7 @@ AT91_XDMAC_DT_PERID(33))>, ...@@ -1124,7 +1124,7 @@ AT91_XDMAC_DT_PERID(33))>,
clocks = <&pmc PMC_TYPE_PERIPHERAL 55>, <&pmc PMC_TYPE_GCK 55>; clocks = <&pmc PMC_TYPE_PERIPHERAL 55>, <&pmc PMC_TYPE_GCK 55>;
clock-names = "pclk", "gclk"; clock-names = "pclk", "gclk";
assigned-clocks = <&pmc PMC_TYPE_CORE PMC_I2S1_MUX>; assigned-clocks = <&pmc PMC_TYPE_CORE PMC_I2S1_MUX>;
assigned-parrents = <&pmc PMC_TYPE_GCK 55>; assigned-clock-parents = <&pmc PMC_TYPE_GCK 55>;
status = "disabled"; status = "disabled";
}; };
......
...@@ -169,7 +169,7 @@ &spi0 { ...@@ -169,7 +169,7 @@ &spi0 {
flash@0 { flash@0 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
compatible = "mxicy,mx25l1606e", "winbond,w25q128"; compatible = "mxicy,mx25l1606e", "jedec,spi-nor";
reg = <0>; reg = <0>;
spi-max-frequency = <40000000>; spi-max-frequency = <40000000>;
}; };
......
...@@ -311,7 +311,7 @@ void __init rockchip_suspend_init(void) ...@@ -311,7 +311,7 @@ void __init rockchip_suspend_init(void)
&match); &match);
if (!match) { if (!match) {
pr_err("Failed to find PMU node\n"); pr_err("Failed to find PMU node\n");
return; goto out_put;
} }
pm_data = (struct rockchip_pm_data *) match->data; pm_data = (struct rockchip_pm_data *) match->data;
...@@ -320,9 +320,12 @@ void __init rockchip_suspend_init(void) ...@@ -320,9 +320,12 @@ void __init rockchip_suspend_init(void)
if (ret) { if (ret) {
pr_err("%s: matches init error %d\n", __func__, ret); pr_err("%s: matches init error %d\n", __func__, ret);
return; goto out_put;
} }
} }
suspend_set_ops(pm_data->ops); suspend_set_ops(pm_data->ops);
out_put:
of_node_put(np);
} }
...@@ -9,6 +9,14 @@ cpus { ...@@ -9,6 +9,14 @@ cpus {
/delete-node/ cpu@3; /delete-node/ cpu@3;
}; };
timer {
compatible = "arm,armv8-timer";
interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
<GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
<GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
<GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>;
};
pmu { pmu {
compatible = "arm,cortex-a53-pmu"; compatible = "arm,cortex-a53-pmu";
interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>, interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>,
......
...@@ -29,6 +29,8 @@ cpu0: cpu@0 { ...@@ -29,6 +29,8 @@ cpu0: cpu@0 {
device_type = "cpu"; device_type = "cpu";
compatible = "brcm,brahma-b53"; compatible = "brcm,brahma-b53";
reg = <0x0>; reg = <0x0>;
enable-method = "spin-table";
cpu-release-addr = <0x0 0xfff8>;
next-level-cache = <&l2>; next-level-cache = <&l2>;
}; };
......
...@@ -224,9 +224,12 @@ rst: syscon@1e60000 { ...@@ -224,9 +224,12 @@ rst: syscon@1e60000 {
little-endian; little-endian;
}; };
efuse@1e80000 { sfp: efuse@1e80000 {
compatible = "fsl,ls1028a-sfp"; compatible = "fsl,ls1028a-sfp";
reg = <0x0 0x1e80000 0x0 0x10000>; reg = <0x0 0x1e80000 0x0 0x10000>;
clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
QORIQ_CLK_PLL_DIV(4)>;
clock-names = "sfp";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
......
...@@ -376,7 +376,8 @@ &cru { ...@@ -376,7 +376,8 @@ &cru {
<&cru ACLK_VIO>, <&cru ACLK_VIO>,
<&cru ACLK_GIC_PRE>, <&cru ACLK_GIC_PRE>,
<&cru PCLK_DDR>, <&cru PCLK_DDR>,
<&cru ACLK_HDCP>; <&cru ACLK_HDCP>,
<&cru ACLK_VDU>;
assigned-clock-rates = assigned-clock-rates =
<600000000>, <1600000000>, <600000000>, <1600000000>,
<1000000000>, <1000000000>,
...@@ -388,6 +389,7 @@ &cru { ...@@ -388,6 +389,7 @@ &cru {
<400000000>, <400000000>,
<200000000>, <200000000>,
<200000000>, <200000000>,
<400000000>,
<400000000>; <400000000>;
}; };
......
...@@ -1462,7 +1462,8 @@ cru: clock-controller@ff760000 { ...@@ -1462,7 +1462,8 @@ cru: clock-controller@ff760000 {
<&cru HCLK_PERILP1>, <&cru PCLK_PERILP1>, <&cru HCLK_PERILP1>, <&cru PCLK_PERILP1>,
<&cru ACLK_VIO>, <&cru ACLK_HDCP>, <&cru ACLK_VIO>, <&cru ACLK_HDCP>,
<&cru ACLK_GIC_PRE>, <&cru ACLK_GIC_PRE>,
<&cru PCLK_DDR>; <&cru PCLK_DDR>,
<&cru ACLK_VDU>;
assigned-clock-rates = assigned-clock-rates =
<594000000>, <800000000>, <594000000>, <800000000>,
<1000000000>, <1000000000>,
...@@ -1473,7 +1474,8 @@ cru: clock-controller@ff760000 { ...@@ -1473,7 +1474,8 @@ cru: clock-controller@ff760000 {
<100000000>, <50000000>, <100000000>, <50000000>,
<400000000>, <400000000>, <400000000>, <400000000>,
<200000000>, <200000000>,
<200000000>; <200000000>,
<400000000>;
}; };
grf: syscon@ff770000 { grf: syscon@ff770000 {
......
...@@ -687,6 +687,7 @@ &usb_host1_ohci { ...@@ -687,6 +687,7 @@ &usb_host1_ohci {
}; };
&usb_host0_xhci { &usb_host0_xhci {
dr_mode = "host";
status = "okay"; status = "okay";
}; };
......
...@@ -133,7 +133,7 @@ &gmac1 { ...@@ -133,7 +133,7 @@ &gmac1 {
assigned-clocks = <&cru SCLK_GMAC1_RX_TX>, <&cru SCLK_GMAC1_RGMII_SPEED>, <&cru SCLK_GMAC1>; assigned-clocks = <&cru SCLK_GMAC1_RX_TX>, <&cru SCLK_GMAC1_RGMII_SPEED>, <&cru SCLK_GMAC1>;
assigned-clock-parents = <&cru SCLK_GMAC1_RGMII_SPEED>, <&cru SCLK_GMAC1>, <&gmac1_clkin>; assigned-clock-parents = <&cru SCLK_GMAC1_RGMII_SPEED>, <&cru SCLK_GMAC1>, <&gmac1_clkin>;
clock_in_out = "input"; clock_in_out = "input";
phy-mode = "rgmii-id"; phy-mode = "rgmii";
phy-supply = <&vcc_3v3>; phy-supply = <&vcc_3v3>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&gmac1m1_miim pinctrl-0 = <&gmac1m1_miim
......
...@@ -189,7 +189,7 @@ struct optee_smc_call_get_os_revision_result { ...@@ -189,7 +189,7 @@ struct optee_smc_call_get_os_revision_result {
* Have config return register usage: * Have config return register usage:
* a0 OPTEE_SMC_RETURN_OK * a0 OPTEE_SMC_RETURN_OK
* a1 Physical address of start of SHM * a1 Physical address of start of SHM
* a2 Size of of SHM * a2 Size of SHM
* a3 Cache settings of memory, as defined by the * a3 Cache settings of memory, as defined by the
* OPTEE_SMC_SHM_* values above * OPTEE_SMC_SHM_* values above
* a4-7 Preserved * a4-7 Preserved
......
...@@ -884,8 +884,8 @@ static int optee_smc_do_call_with_arg(struct tee_context *ctx, ...@@ -884,8 +884,8 @@ static int optee_smc_do_call_with_arg(struct tee_context *ctx,
rpc_arg_offs = OPTEE_MSG_GET_ARG_SIZE(arg->num_params); rpc_arg_offs = OPTEE_MSG_GET_ARG_SIZE(arg->num_params);
rpc_arg = tee_shm_get_va(shm, offs + rpc_arg_offs); rpc_arg = tee_shm_get_va(shm, offs + rpc_arg_offs);
if (IS_ERR(arg)) if (IS_ERR(rpc_arg))
return PTR_ERR(arg); return PTR_ERR(rpc_arg);
} }
if (rpc_arg && tee_shm_is_dynamic(shm)) { if (rpc_arg && tee_shm_is_dynamic(shm)) {
......
...@@ -1073,7 +1073,7 @@ EXPORT_SYMBOL_GPL(tee_device_unregister); ...@@ -1073,7 +1073,7 @@ EXPORT_SYMBOL_GPL(tee_device_unregister);
/** /**
* tee_get_drvdata() - Return driver_data pointer * tee_get_drvdata() - Return driver_data pointer
* @teedev: Device containing the driver_data pointer * @teedev: Device containing the driver_data pointer
* @returns the driver_data pointer supplied to tee_register(). * @returns the driver_data pointer supplied to tee_device_alloc().
*/ */
void *tee_get_drvdata(struct tee_device *teedev) void *tee_get_drvdata(struct tee_device *teedev)
{ {
......
...@@ -731,7 +731,7 @@ static inline int __must_check ...@@ -731,7 +731,7 @@ static inline int __must_check
devm_reset_control_bulk_get_optional_exclusive(struct device *dev, int num_rstcs, devm_reset_control_bulk_get_optional_exclusive(struct device *dev, int num_rstcs,
struct reset_control_bulk_data *rstcs) struct reset_control_bulk_data *rstcs)
{ {
return __devm_reset_control_bulk_get(dev, num_rstcs, rstcs, true, false, true); return __devm_reset_control_bulk_get(dev, num_rstcs, rstcs, false, true, true);
} }
/** /**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment