Skip to content

Commit 118eb75

Browse files
committed
Merge remote-tracking branch 'stable/linux-6.12.y' into rpi-6.12.y
2 parents b9b9af1 + c1859a8 commit 118eb75

File tree

276 files changed

+2881
-1569
lines changed

Some content is hidden

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

276 files changed

+2881
-1569
lines changed

Documentation/admin-guide/kernel-parameters.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5923,6 +5923,9 @@
59235923

59245924
rootflags= [KNL] Set root filesystem mount option string
59255925

5926+
initramfs_options= [KNL]
5927+
Specify mount options for for the initramfs mount.
5928+
59265929
rootfstype= [KNL] Set root filesystem type
59275930

59285931
rootwait [KNL] Wait (indefinitely) for root device to show up.

Documentation/devicetree/bindings/phy/rockchip-inno-csi-dphy.yaml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,24 @@ required:
5757
- clocks
5858
- clock-names
5959
- '#phy-cells'
60-
- power-domains
6160
- resets
6261
- reset-names
6362
- rockchip,grf
6463

64+
allOf:
65+
- if:
66+
properties:
67+
compatible:
68+
contains:
69+
enum:
70+
- rockchip,px30-csi-dphy
71+
- rockchip,rk1808-csi-dphy
72+
- rockchip,rk3326-csi-dphy
73+
- rockchip,rk3368-csi-dphy
74+
then:
75+
required:
76+
- power-domains
77+
6578
additionalProperties: false
6679

6780
examples:

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 = 6
33
PATCHLEVEL = 12
4-
SUBLEVEL = 53
4+
SUBLEVEL = 54
55
EXTRAVERSION =
66
NAME = Baby Opossum Posse
77

arch/arm/mach-omap2/am33xx-restart.c

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,46 @@
22
/*
33
* am33xx-restart.c - Code common to all AM33xx machines.
44
*/
5+
#include <dt-bindings/pinctrl/am33xx.h>
6+
#include <linux/delay.h>
57
#include <linux/kernel.h>
68
#include <linux/reboot.h>
79

810
#include "common.h"
11+
#include "control.h"
912
#include "prm.h"
1013

14+
/*
15+
* Advisory 1.0.36 EMU0 and EMU1: Terminals Must be Pulled High Before
16+
* ICEPick Samples
17+
*
18+
* If EMU0/EMU1 pins have been used as GPIO outputs and actively driving low
19+
* level, the device might not reboot in normal mode. We are in a bad position
20+
* to override GPIO state here, so just switch the pins into EMU input mode
21+
* (that's what reset will do anyway) and wait a bit, because the state will be
22+
* latched 190 ns after reset.
23+
*/
24+
static void am33xx_advisory_1_0_36(void)
25+
{
26+
u32 emu0 = omap_ctrl_readl(AM335X_PIN_EMU0);
27+
u32 emu1 = omap_ctrl_readl(AM335X_PIN_EMU1);
28+
29+
/* If both pins are in EMU mode, nothing to do */
30+
if (!(emu0 & 7) && !(emu1 & 7))
31+
return;
32+
33+
/* Switch GPIO3_7/GPIO3_8 into EMU0/EMU1 modes respectively */
34+
omap_ctrl_writel(emu0 & ~7, AM335X_PIN_EMU0);
35+
omap_ctrl_writel(emu1 & ~7, AM335X_PIN_EMU1);
36+
37+
/*
38+
* Give pull-ups time to load the pin/PCB trace capacity.
39+
* 5 ms shall be enough to load 1 uF (would be huge capacity for these
40+
* pins) with TI-recommended 4k7 external pull-ups.
41+
*/
42+
mdelay(5);
43+
}
44+
1145
/**
1246
* am33xx_restart - trigger a software restart of the SoC
1347
* @mode: the "reboot mode", see arch/arm/kernel/{setup,process}.c
@@ -18,6 +52,8 @@
1852
*/
1953
void am33xx_restart(enum reboot_mode mode, const char *cmd)
2054
{
55+
am33xx_advisory_1_0_36();
56+
2157
/* TODO: Handle cmd if necessary */
2258
prm_reboot_mode = mode;
2359

arch/arm/mach-omap2/pm33xx-core.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,12 +388,15 @@ static int __init amx3_idle_init(struct device_node *cpu_node, int cpu)
388388
if (!state_node)
389389
break;
390390

391-
if (!of_device_is_available(state_node))
391+
if (!of_device_is_available(state_node)) {
392+
of_node_put(state_node);
392393
continue;
394+
}
393395

394396
if (i == CPUIDLE_STATE_MAX) {
395397
pr_warn("%s: cpuidle states reached max possible\n",
396398
__func__);
399+
of_node_put(state_node);
397400
break;
398401
}
399402

@@ -403,6 +406,7 @@ static int __init amx3_idle_init(struct device_node *cpu_node, int cpu)
403406
states[state_count].wfi_flags |= WFI_FLAG_WAKE_M3 |
404407
WFI_FLAG_FLUSH_CACHE;
405408

409+
of_node_put(state_node);
406410
state_count++;
407411
}
408412

arch/arm64/boot/dts/qcom/msm8916.dtsi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1540,6 +1540,8 @@
15401540

15411541
interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
15421542

1543+
resets = <&gcc GCC_MDSS_BCR>;
1544+
15431545
interrupt-controller;
15441546
#interrupt-cells = <1>;
15451547

arch/arm64/boot/dts/qcom/msm8939.dtsi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1218,6 +1218,8 @@
12181218

12191219
power-domains = <&gcc MDSS_GDSC>;
12201220

1221+
resets = <&gcc GCC_MDSS_BCR>;
1222+
12211223
#address-cells = <1>;
12221224
#size-cells = <1>;
12231225
#interrupt-cells = <1>;

arch/arm64/boot/dts/qcom/sdm845.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5365,11 +5365,11 @@
53655365
compatible = "qcom,bam-v1.7.4", "qcom,bam-v1.7.0";
53665366
qcom,controlled-remotely;
53675367
reg = <0 0x17184000 0 0x2a000>;
5368-
num-channels = <31>;
5368+
num-channels = <23>;
53695369
interrupts = <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>;
53705370
#dma-cells = <1>;
53715371
qcom,ee = <1>;
5372-
qcom,num-ees = <2>;
5372+
qcom,num-ees = <4>;
53735373
iommus = <&apps_smmu 0x1806 0x0>;
53745374
};
53755375

arch/arm64/boot/dts/qcom/x1e80100-pmics.dtsi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -475,6 +475,8 @@
475475
#address-cells = <1>;
476476
#size-cells = <0>;
477477

478+
status = "disabled";
479+
478480
pm8010_temp_alarm: temp-alarm@2400 {
479481
compatible = "qcom,spmi-temp-alarm";
480482
reg = <0x2400>;

arch/arm64/boot/dts/ti/k3-am62a-main.dtsi

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

259259
main_pmx0: pinctrl@f4000 {
260260
compatible = "pinctrl-single";
261-
reg = <0x00 0xf4000 0x00 0x2ac>;
261+
reg = <0x00 0xf4000 0x00 0x25c>;
262262
#pinctrl-cells = <1>;
263263
pinctrl-single,register-width = <32>;
264264
pinctrl-single,function-mask = <0xffffffff>;

0 commit comments

Comments
 (0)