Skip to content

Commit eb5b5c1

Browse files
committed
merge
2 parents bb602bf + 6c78718 commit eb5b5c1

File tree

384 files changed

+3685
-2233
lines changed

Some content is hidden

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

384 files changed

+3685
-2233
lines changed

Documentation/admin-guide/kernel-parameters.txt

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

64426442
rootflags= [KNL] Set root filesystem mount option string
64436443

6444+
initramfs_options= [KNL]
6445+
Specify mount options for for the initramfs mount.
6446+
64446447
rootfstype= [KNL] Set root filesystem type
64456448

64466449
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 = 17
4-
SUBLEVEL = 3
4+
SUBLEVEL = 4
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
@@ -1562,6 +1562,8 @@
15621562

15631563
interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
15641564

1565+
resets = <&gcc GCC_MDSS_BCR>;
1566+
15651567
interrupt-controller;
15661568
#interrupt-cells = <1>;
15671569

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

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

12501250
power-domains = <&gcc MDSS_GDSC>;
12511251

1252+
resets = <&gcc GCC_MDSS_BCR>;
1253+
12521254
#address-cells = <1>;
12531255
#size-cells = <1>;
12541256
#interrupt-cells = <1>;

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -631,6 +631,7 @@
631631
interconnect-names = "qup-core",
632632
"qup-config";
633633
power-domains = <&rpmhpd RPMHPD_CX>;
634+
operating-points-v2 = <&qup_opp_table>;
634635
status = "disabled";
635636
};
636637

@@ -654,6 +655,7 @@
654655
"qup-config",
655656
"qup-memory";
656657
power-domains = <&rpmhpd RPMHPD_CX>;
658+
required-opps = <&rpmhpd_opp_low_svs>;
657659
dmas = <&gpi_dma0 0 1 QCOM_GPI_I2C>,
658660
<&gpi_dma0 1 1 QCOM_GPI_I2C>;
659661
dma-names = "tx",
@@ -681,6 +683,7 @@
681683
"qup-config",
682684
"qup-memory";
683685
power-domains = <&rpmhpd RPMHPD_CX>;
686+
required-opps = <&rpmhpd_opp_low_svs>;
684687
dmas = <&gpi_dma0 0 2 QCOM_GPI_I2C>,
685688
<&gpi_dma0 1 2 QCOM_GPI_I2C>;
686689
dma-names = "tx",
@@ -703,6 +706,7 @@
703706
interconnect-names = "qup-core",
704707
"qup-config";
705708
power-domains = <&rpmhpd RPMHPD_CX>;
709+
operating-points-v2 = <&qup_opp_table>;
706710
dmas = <&gpi_dma0 0 2 QCOM_GPI_SPI>,
707711
<&gpi_dma0 1 2 QCOM_GPI_SPI>;
708712
dma-names = "tx",
@@ -728,6 +732,7 @@
728732
interconnect-names = "qup-core",
729733
"qup-config";
730734
power-domains = <&rpmhpd RPMHPD_CX>;
735+
operating-points-v2 = <&qup_opp_table>;
731736
status = "disabled";
732737
};
733738

@@ -751,6 +756,7 @@
751756
"qup-config",
752757
"qup-memory";
753758
power-domains = <&rpmhpd RPMHPD_CX>;
759+
required-opps = <&rpmhpd_opp_low_svs>;
754760
dmas = <&gpi_dma0 0 3 QCOM_GPI_I2C>,
755761
<&gpi_dma0 1 3 QCOM_GPI_I2C>;
756762
dma-names = "tx",

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5404,11 +5404,11 @@
54045404
compatible = "qcom,bam-v1.7.4", "qcom,bam-v1.7.0";
54055405
qcom,controlled-remotely;
54065406
reg = <0 0x17184000 0 0x2a000>;
5407-
num-channels = <31>;
5407+
num-channels = <23>;
54085408
interrupts = <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>;
54095409
#dma-cells = <1>;
54105410
qcom,ee = <1>;
5411-
qcom,num-ees = <2>;
5411+
qcom,num-ees = <4>;
54125412
iommus = <&apps_smmu 0x1806 0x0>;
54135413
};
54145414

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>;

0 commit comments

Comments
 (0)