Skip to content

Commit e402b08

Browse files
committed
Merge tag 'soc-fixes-6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc
Pull ARM SoC fixes from Arnd Bergmann: "These are the latest bug fixes that have come up in the soc tree. Most of these are fairly minor. Most notably, the majority of changes this time are not for dts files as usual. - Updates to the addresses of the broadcom and aspeed entries in the MAINTAINERS file. - Defconfig updates to address a regression on samsung and a build warning from an unknown Kconfig symbol - Build fixes for the StrongARM and Uniphier platforms - Code fixes for SCMI and FF-A firmware drivers, both of which had a simple bug that resulted in invalid data, and a lesser fix for the optee firmware driver - Multiple fixes for the recently added loongson/loongarch "guts" soc driver - Devicetree fixes for RISC-V on the startfive platform, addressing issues with NOR flash, usb and uart. - Multiple fixes for NXP i.MX8/i.MX9 dts files, fixing problems with clock, gpio, hdmi settings and the Makefile - Bug fixes for i.MX firmware code and the OCOTP soc driver - Multiple fixes for the TI sysc bus driver - Minor dts updates for TI omap dts files, to address boot time warnings and errors" * tag 'soc-fixes-6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (35 commits) MAINTAINERS: Fix Florian Fainelli's email address arm64: defconfig: enable syscon-poweroff driver ARM: locomo: fix locomolcd_power declaration soc: loongson: loongson2_guts: Remove unneeded semicolon soc: loongson: loongson2_guts: Convert to devm_platform_ioremap_resource() soc: loongson: loongson_pm2: Populate children syscon nodes dt-bindings: soc: loongson,ls2k-pmc: Allow syscon-reboot/syscon-poweroff as child soc: loongson: loongson_pm2: Drop useless of_device_id compatible dt-bindings: soc: loongson,ls2k-pmc: Use fallbacks for ls2k-pmc compatible soc: loongson: loongson_pm2: Add dependency for INPUT arm64: defconfig: remove CONFIG_COMMON_CLK_NPCM8XX=y ARM: uniphier: fix cache kernel-doc warnings MAINTAINERS: aspeed: Update Andrew's email address MAINTAINERS: aspeed: Update git tree URL firmware: arm_ffa: Don't set the memory region attributes for MEM_LEND arm64: dts: imx: Add imx8mm-prt8mm.dtb to build arm64: dts: imx8mm-evk: Fix hdmi@3d node soc: imx8m: Enable OCOTP clock for imx8mm before reading registers arm64: dts: imx8mp-beacon-kit: Fix audio_pll2 clock arm64: dts: imx8mp: Fix SDMA2/3 clocks ...
2 parents 3b347e4 + b0b88a5 commit e402b08

File tree

29 files changed

+179
-90
lines changed

29 files changed

+179
-90
lines changed

Documentation/devicetree/bindings/soc/loongson/loongson,ls2k-pmc.yaml

Lines changed: 37 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,16 @@ maintainers:
1111

1212
properties:
1313
compatible:
14-
items:
15-
- enum:
16-
- loongson,ls2k0500-pmc
17-
- loongson,ls2k1000-pmc
18-
- const: syscon
14+
oneOf:
15+
- items:
16+
- const: loongson,ls2k0500-pmc
17+
- const: syscon
18+
- items:
19+
- enum:
20+
- loongson,ls2k1000-pmc
21+
- loongson,ls2k2000-pmc
22+
- const: loongson,ls2k0500-pmc
23+
- const: syscon
1924

2025
reg:
2126
maxItems: 1
@@ -32,6 +37,18 @@ properties:
3237
addition, the PM need according to it to indicate that current
3338
SoC whether support Suspend To RAM.
3439

40+
syscon-poweroff:
41+
$ref: /schemas/power/reset/syscon-poweroff.yaml#
42+
type: object
43+
description:
44+
Node for power off method
45+
46+
syscon-reboot:
47+
$ref: /schemas/power/reset/syscon-reboot.yaml#
48+
type: object
49+
description:
50+
Node for reboot method
51+
3552
required:
3653
- compatible
3754
- reg
@@ -44,9 +61,23 @@ examples:
4461
#include <dt-bindings/interrupt-controller/irq.h>
4562
4663
power-management@1fe27000 {
47-
compatible = "loongson,ls2k1000-pmc", "syscon";
64+
compatible = "loongson,ls2k1000-pmc", "loongson,ls2k0500-pmc", "syscon";
4865
reg = <0x1fe27000 0x58>;
4966
interrupt-parent = <&liointc1>;
5067
interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
5168
loongson,suspend-address = <0x0 0x1c000500>;
69+
70+
syscon-reboot {
71+
compatible = "syscon-reboot";
72+
offset = <0x30>;
73+
mask = <0x1>;
74+
};
75+
76+
syscon-poweroff {
77+
compatible = "syscon-poweroff";
78+
regmap = <&pmc>;
79+
offset = <0x14>;
80+
mask = <0x3c00>;
81+
value = <0x3c00>;
82+
};
5283
};

MAINTAINERS

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1963,12 +1963,12 @@ F: drivers/irqchip/irq-aspeed-i2c-ic.c
19631963

19641964
ARM/ASPEED MACHINE SUPPORT
19651965
M: Joel Stanley <joel@jms.id.au>
1966-
R: Andrew Jeffery <andrew@aj.id.au>
1966+
R: Andrew Jeffery <andrew@codeconstruct.com.au>
19671967
L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
19681968
L: linux-aspeed@lists.ozlabs.org (moderated for non-subscribers)
19691969
S: Supported
19701970
Q: https://patchwork.ozlabs.org/project/linux-aspeed/list/
1971-
T: git git://git.kernel.org/pub/scm/linux/kernel/git/joel/aspeed.git
1971+
T: git git://git.kernel.org/pub/scm/linux/kernel/git/joel/bmc.git
19721972
F: Documentation/devicetree/bindings/arm/aspeed/
19731973
F: arch/arm/boot/dts/aspeed/
19741974
F: arch/arm/mach-aspeed/
@@ -3058,7 +3058,7 @@ F: Documentation/devicetree/bindings/peci/peci-aspeed.yaml
30583058
F: drivers/peci/controller/peci-aspeed.c
30593059

30603060
ASPEED PINCTRL DRIVERS
3061-
M: Andrew Jeffery <andrew@aj.id.au>
3061+
M: Andrew Jeffery <andrew@codeconstruct.com.au>
30623062
L: linux-aspeed@lists.ozlabs.org (moderated for non-subscribers)
30633063
L: openbmc@lists.ozlabs.org (moderated for non-subscribers)
30643064
L: linux-gpio@vger.kernel.org
@@ -3075,7 +3075,7 @@ F: drivers/irqchip/irq-aspeed-scu-ic.c
30753075
F: include/dt-bindings/interrupt-controller/aspeed-scu-ic.h
30763076

30773077
ASPEED SD/MMC DRIVER
3078-
M: Andrew Jeffery <andrew@aj.id.au>
3078+
M: Andrew Jeffery <andrew@codeconstruct.com.au>
30793079
L: linux-aspeed@lists.ozlabs.org (moderated for non-subscribers)
30803080
L: openbmc@lists.ozlabs.org (moderated for non-subscribers)
30813081
L: linux-mmc@vger.kernel.org
@@ -4082,7 +4082,7 @@ F: drivers/net/wireless/broadcom/brcm80211/
40824082

40834083
BROADCOM BRCMSTB GPIO DRIVER
40844084
M: Doug Berger <opendmb@gmail.com>
4085-
M: Florian Fainelli <florian.fainelli@broadcom>
4085+
M: Florian Fainelli <florian.fainelli@broadcom.com>
40864086
R: Broadcom internal kernel review list <bcm-kernel-feedback-list@broadcom.com>
40874087
S: Supported
40884088
F: Documentation/devicetree/bindings/gpio/brcm,brcmstb-gpio.yaml

arch/arm/boot/dts/ti/omap/motorola-mapphone-common.dtsi

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -614,12 +614,12 @@
614614
/* Configure pwm clock source for timers 8 & 9 */
615615
&timer8 {
616616
assigned-clocks = <&abe_clkctrl OMAP4_TIMER8_CLKCTRL 24>;
617-
assigned-clock-parents = <&sys_clkin_ck>;
617+
assigned-clock-parents = <&sys_32k_ck>;
618618
};
619619

620620
&timer9 {
621621
assigned-clocks = <&l4_per_clkctrl OMAP4_TIMER9_CLKCTRL 24>;
622-
assigned-clock-parents = <&sys_clkin_ck>;
622+
assigned-clock-parents = <&sys_32k_ck>;
623623
};
624624

625625
/*
@@ -640,6 +640,7 @@
640640
&uart3 {
641641
interrupts-extended = <&wakeupgen GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH
642642
&omap4_pmx_core 0x17c>;
643+
overrun-throttle-ms = <500>;
643644
};
644645

645646
&uart4 {

arch/arm/boot/dts/ti/omap/omap3-cpu-thermal.dtsi

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ cpu_thermal: cpu-thermal {
1212
polling-delay = <1000>; /* milliseconds */
1313
coefficients = <0 20000>;
1414

15-
/* sensor ID */
16-
thermal-sensors = <&bandgap 0>;
15+
thermal-sensors = <&bandgap>;
1716

1817
cpu_trips: trips {
1918
cpu_alert0: cpu_alert {

arch/arm/boot/dts/ti/omap/omap4-cpu-thermal.dtsi

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@ cpu_thermal: cpu_thermal {
1212
polling-delay-passive = <250>; /* milliseconds */
1313
polling-delay = <1000>; /* milliseconds */
1414

15-
/* sensor ID */
15+
/*
16+
* See 44xx files for single sensor addressing, omap5 and dra7 need
17+
* also sensor ID for addressing.
18+
*/
1619
thermal-sensors = <&bandgap 0>;
1720

1821
cpu_trips: trips {

arch/arm/boot/dts/ti/omap/omap443x.dtsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@
6969
};
7070

7171
&cpu_thermal {
72+
thermal-sensors = <&bandgap>;
7273
coefficients = <0 20000>;
7374
};
7475

arch/arm/boot/dts/ti/omap/omap4460.dtsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@
7979
};
8080

8181
&cpu_thermal {
82+
thermal-sensors = <&bandgap>;
8283
coefficients = <348 (-9301)>;
8384
};
8485

arch/arm/include/asm/hardware/locomo.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ struct locomo_driver {
195195

196196
#define LOCOMO_DRIVER_NAME(_ldev) ((_ldev)->dev.driver->name)
197197

198-
void locomo_lcd_power(struct locomo_dev *, int, unsigned int);
198+
extern void locomolcd_power(int on);
199199

200200
int locomo_driver_register(struct locomo_driver *);
201201
void locomo_driver_unregister(struct locomo_driver *);

arch/arm/mach-omap2/pm44xx.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ static int omap4_pm_suspend(void)
9999
* possible causes.
100100
* http://www.spinics.net/lists/arm-kernel/msg218641.html
101101
*/
102-
pr_warn("A possible cause could be an old bootloader - try u-boot >= v2012.07\n");
102+
pr_debug("A possible cause could be an old bootloader - try u-boot >= v2012.07\n");
103103
} else {
104104
pr_info("Successfully put all powerdomains to target state\n");
105105
}
@@ -257,7 +257,7 @@ int __init omap4_pm_init(void)
257257
* http://www.spinics.net/lists/arm-kernel/msg218641.html
258258
*/
259259
if (cpu_is_omap44xx())
260-
pr_warn("OMAP4 PM: u-boot >= v2012.07 is required for full PM support\n");
260+
pr_debug("OMAP4 PM: u-boot >= v2012.07 is required for full PM support\n");
261261

262262
ret = pwrdm_for_each(pwrdms_setup, NULL);
263263
if (ret) {

arch/arm/mach-sa1100/include/mach/collie.h

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

1717
#include "hardware.h" /* Gives GPIO_MAX */
1818

19-
extern void locomolcd_power(int on);
20-
2119
#define COLLIE_SCOOP_GPIO_BASE (GPIO_MAX + 1)
2220
#define COLLIE_GPIO_CHARGE_ON (COLLIE_SCOOP_GPIO_BASE + 0)
2321
#define COLLIE_SCP_DIAG_BOOT1 SCOOP_GPCR_PA12

0 commit comments

Comments
 (0)