Skip to content

Commit 1b07dc7

Browse files
committed
Merge remote-tracking branch 'stable/linux-5.10.y' into rpi-5.10.y
2 parents bd3a8b4 + 0268aa5 commit 1b07dc7

113 files changed

Lines changed: 975 additions & 381 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎Documentation/devicetree/bindings/display/bridge/ti,sn65dsi86.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ properties:
1818
const: ti,sn65dsi86
1919

2020
reg:
21-
const: 0x2d
21+
enum: [ 0x2c, 0x2d ]
2222

2323
enable-gpios:
2424
maxItems: 1

‎Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-License-Identifier: GPL-2.0
22
VERSION = 5
33
PATCHLEVEL = 10
4-
SUBLEVEL = 71
4+
SUBLEVEL = 73
55
EXTRAVERSION =
66
NAME = Dare mighty things
77

‎arch/arm/boot/dts/imx53-m53menlo.dts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
panel {
5757
compatible = "edt,etm0700g0dh6";
5858
pinctrl-0 = <&pinctrl_display_gpio>;
59+
pinctrl-names = "default";
5960
enable-gpios = <&gpio6 0 GPIO_ACTIVE_HIGH>;
6061

6162
port {
@@ -76,8 +77,7 @@
7677
regulator-name = "vbus";
7778
regulator-min-microvolt = <5000000>;
7879
regulator-max-microvolt = <5000000>;
79-
gpio = <&gpio1 2 GPIO_ACTIVE_HIGH>;
80-
enable-active-high;
80+
gpio = <&gpio1 2 0>;
8181
};
8282
};
8383

‎arch/arm/boot/dts/imx6dl-yapp4-common.dtsi‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#include <dt-bindings/gpio/gpio.h>
66
#include <dt-bindings/interrupt-controller/irq.h>
77
#include <dt-bindings/input/input.h>
8+
#include <dt-bindings/leds/common.h>
89
#include <dt-bindings/pwm/pwm.h>
910

1011
/ {
@@ -275,27 +276,31 @@
275276
led-cur = /bits/ 8 <0x20>;
276277
max-cur = /bits/ 8 <0x60>;
277278
reg = <0>;
279+
color = <LED_COLOR_ID_RED>;
278280
};
279281

280282
chan@1 {
281283
chan-name = "G";
282284
led-cur = /bits/ 8 <0x20>;
283285
max-cur = /bits/ 8 <0x60>;
284286
reg = <1>;
287+
color = <LED_COLOR_ID_GREEN>;
285288
};
286289

287290
chan@2 {
288291
chan-name = "B";
289292
led-cur = /bits/ 8 <0x20>;
290293
max-cur = /bits/ 8 <0x60>;
291294
reg = <2>;
295+
color = <LED_COLOR_ID_BLUE>;
292296
};
293297

294298
chan@3 {
295299
chan-name = "W";
296300
led-cur = /bits/ 8 <0x0>;
297301
max-cur = /bits/ 8 <0x0>;
298302
reg = <3>;
303+
color = <LED_COLOR_ID_WHITE>;
299304
};
300305
};
301306

‎arch/arm/boot/dts/imx6qdl-pico.dtsi‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,18 @@
176176
pinctrl-0 = <&pinctrl_enet>;
177177
phy-mode = "rgmii-id";
178178
phy-reset-gpios = <&gpio1 26 GPIO_ACTIVE_LOW>;
179+
phy-handle = <&phy>;
179180
status = "okay";
181+
182+
mdio {
183+
#address-cells = <1>;
184+
#size-cells = <0>;
185+
186+
phy: ethernet-phy@1 {
187+
reg = <1>;
188+
qca,clk-out-frequency = <125000000>;
189+
};
190+
};
180191
};
181192

182193
&hdmi {

‎arch/arm/boot/dts/omap3430-sdp.dts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101

102102
nand@1,0 {
103103
compatible = "ti,omap2-nand";
104-
reg = <0 0 4>; /* CS0, offset 0, IO size 4 */
104+
reg = <1 0 4>; /* CS1, offset 0, IO size 4 */
105105
interrupt-parent = <&gpmc>;
106106
interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */
107107
<1 IRQ_TYPE_NONE>; /* termcount */

‎arch/arm/boot/dts/qcom-apq8064.dtsi‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@
198198
clock-frequency = <19200000>;
199199
};
200200

201-
pxo_board {
201+
pxo_board: pxo_board {
202202
compatible = "fixed-clock";
203203
#clock-cells = <0>;
204204
clock-frequency = <27000000>;
@@ -1148,7 +1148,7 @@
11481148
};
11491149

11501150
gpu: adreno-3xx@4300000 {
1151-
compatible = "qcom,adreno-3xx";
1151+
compatible = "qcom,adreno-320.2", "qcom,adreno";
11521152
reg = <0x04300000 0x20000>;
11531153
reg-names = "kgsl_3d0_reg_memory";
11541154
interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
@@ -1163,7 +1163,6 @@
11631163
<&mmcc GFX3D_AHB_CLK>,
11641164
<&mmcc GFX3D_AXI_CLK>,
11651165
<&mmcc MMSS_IMEM_AHB_CLK>;
1166-
qcom,chipid = <0x03020002>;
11671166

11681167
iommus = <&gfx3d 0
11691168
&gfx3d 1
@@ -1306,7 +1305,7 @@
13061305
reg-names = "dsi_pll", "dsi_phy", "dsi_phy_regulator";
13071306
clock-names = "iface_clk", "ref";
13081307
clocks = <&mmcc DSI_M_AHB_CLK>,
1309-
<&cxo_board>;
1308+
<&pxo_board>;
13101309
};
13111310

13121311

‎arch/arm/mach-at91/pm.c‎

Lines changed: 47 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -517,18 +517,22 @@ static const struct of_device_id ramc_ids[] __initconst = {
517517
{ /*sentinel*/ }
518518
};
519519

520-
static __init void at91_dt_ramc(void)
520+
static __init int at91_dt_ramc(void)
521521
{
522522
struct device_node *np;
523523
const struct of_device_id *of_id;
524524
int idx = 0;
525525
void *standby = NULL;
526526
const struct ramc_info *ramc;
527+
int ret;
527528

528529
for_each_matching_node_and_match(np, ramc_ids, &of_id) {
529530
soc_pm.data.ramc[idx] = of_iomap(np, 0);
530-
if (!soc_pm.data.ramc[idx])
531-
panic(pr_fmt("unable to map ramc[%d] cpu registers\n"), idx);
531+
if (!soc_pm.data.ramc[idx]) {
532+
pr_err("unable to map ramc[%d] cpu registers\n", idx);
533+
ret = -ENOMEM;
534+
goto unmap_ramc;
535+
}
532536

533537
ramc = of_id->data;
534538
if (!standby)
@@ -538,15 +542,26 @@ static __init void at91_dt_ramc(void)
538542
idx++;
539543
}
540544

541-
if (!idx)
542-
panic(pr_fmt("unable to find compatible ram controller node in dtb\n"));
545+
if (!idx) {
546+
pr_err("unable to find compatible ram controller node in dtb\n");
547+
ret = -ENODEV;
548+
goto unmap_ramc;
549+
}
543550

544551
if (!standby) {
545552
pr_warn("ramc no standby function available\n");
546-
return;
553+
return 0;
547554
}
548555

549556
at91_cpuidle_device.dev.platform_data = standby;
557+
558+
return 0;
559+
560+
unmap_ramc:
561+
while (idx)
562+
iounmap(soc_pm.data.ramc[--idx]);
563+
564+
return ret;
550565
}
551566

552567
static void at91rm9200_idle(void)
@@ -869,6 +884,8 @@ static void __init at91_pm_init(void (*pm_idle)(void))
869884

870885
void __init at91rm9200_pm_init(void)
871886
{
887+
int ret;
888+
872889
if (!IS_ENABLED(CONFIG_SOC_AT91RM9200))
873890
return;
874891

@@ -880,7 +897,9 @@ void __init at91rm9200_pm_init(void)
880897
soc_pm.data.standby_mode = AT91_PM_STANDBY;
881898
soc_pm.data.suspend_mode = AT91_PM_ULP0;
882899

883-
at91_dt_ramc();
900+
ret = at91_dt_ramc();
901+
if (ret)
902+
return;
884903

885904
/*
886905
* AT91RM9200 SDRAM low-power mode cannot be used with self-refresh.
@@ -895,13 +914,17 @@ void __init sam9x60_pm_init(void)
895914
static const int modes[] __initconst = {
896915
AT91_PM_STANDBY, AT91_PM_ULP0, AT91_PM_ULP0_FAST, AT91_PM_ULP1,
897916
};
917+
int ret;
898918

899919
if (!IS_ENABLED(CONFIG_SOC_SAM9X60))
900920
return;
901921

902922
at91_pm_modes_validate(modes, ARRAY_SIZE(modes));
903923
at91_pm_modes_init();
904-
at91_dt_ramc();
924+
ret = at91_dt_ramc();
925+
if (ret)
926+
return;
927+
905928
at91_pm_init(NULL);
906929

907930
soc_pm.ws_ids = sam9x60_ws_ids;
@@ -910,6 +933,8 @@ void __init sam9x60_pm_init(void)
910933

911934
void __init at91sam9_pm_init(void)
912935
{
936+
int ret;
937+
913938
if (!IS_ENABLED(CONFIG_SOC_AT91SAM9))
914939
return;
915940

@@ -921,7 +946,10 @@ void __init at91sam9_pm_init(void)
921946
soc_pm.data.standby_mode = AT91_PM_STANDBY;
922947
soc_pm.data.suspend_mode = AT91_PM_ULP0;
923948

924-
at91_dt_ramc();
949+
ret = at91_dt_ramc();
950+
if (ret)
951+
return;
952+
925953
at91_pm_init(at91sam9_idle);
926954
}
927955

@@ -930,12 +958,16 @@ void __init sama5_pm_init(void)
930958
static const int modes[] __initconst = {
931959
AT91_PM_STANDBY, AT91_PM_ULP0, AT91_PM_ULP0_FAST,
932960
};
961+
int ret;
933962

934963
if (!IS_ENABLED(CONFIG_SOC_SAMA5))
935964
return;
936965

937966
at91_pm_modes_validate(modes, ARRAY_SIZE(modes));
938-
at91_dt_ramc();
967+
ret = at91_dt_ramc();
968+
if (ret)
969+
return;
970+
939971
at91_pm_init(NULL);
940972
}
941973

@@ -945,13 +977,17 @@ void __init sama5d2_pm_init(void)
945977
AT91_PM_STANDBY, AT91_PM_ULP0, AT91_PM_ULP0_FAST, AT91_PM_ULP1,
946978
AT91_PM_BACKUP,
947979
};
980+
int ret;
948981

949982
if (!IS_ENABLED(CONFIG_SOC_SAMA5D2))
950983
return;
951984

952985
at91_pm_modes_validate(modes, ARRAY_SIZE(modes));
953986
at91_pm_modes_init();
954-
at91_dt_ramc();
987+
ret = at91_dt_ramc();
988+
if (ret)
989+
return;
990+
955991
at91_pm_init(NULL);
956992

957993
soc_pm.ws_ids = sama5d2_ws_ids;

‎arch/arm/mach-imx/pm-imx6.c‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
#include <linux/io.h>
1010
#include <linux/irq.h>
1111
#include <linux/genalloc.h>
12+
#include <linux/irqchip/arm-gic.h>
1213
#include <linux/mfd/syscon.h>
1314
#include <linux/mfd/syscon/imx6q-iomuxc-gpr.h>
1415
#include <linux/of.h>
@@ -618,6 +619,7 @@ static void __init imx6_pm_common_init(const struct imx6_pm_socdata
618619

619620
static void imx6_pm_stby_poweroff(void)
620621
{
622+
gic_cpu_if_down(0);
621623
imx6_set_lpm(STOP_POWER_OFF);
622624
imx6q_suspend_finish(0);
623625

‎arch/arm/mach-omap2/omap_hwmod.c‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3618,6 +3618,8 @@ int omap_hwmod_init_module(struct device *dev,
36183618
oh->flags |= HWMOD_SWSUP_SIDLE_ACT;
36193619
if (data->cfg->quirks & SYSC_QUIRK_SWSUP_MSTANDBY)
36203620
oh->flags |= HWMOD_SWSUP_MSTANDBY;
3621+
if (data->cfg->quirks & SYSC_QUIRK_CLKDM_NOAUTO)
3622+
oh->flags |= HWMOD_CLKDM_NOAUTO;
36213623

36223624
error = omap_hwmod_check_module(dev, oh, data, sysc_fields,
36233625
rev_offs, sysc_offs, syss_offs,

0 commit comments

Comments
 (0)