Skip to content

Commit 31470f8

Browse files
committed
Merge remote-tracking branch 'stable/linux-6.12.y' into rpi-6.12.y
2 parents 2f4a281 + 72b82d5 commit 31470f8

File tree

80 files changed

+999
-383
lines changed

Some content is hidden

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

80 files changed

+999
-383
lines changed

Documentation/admin-guide/laptops/lg-laptop.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ This value is reset to 100 when the kernel boots.
4848
Fan mode
4949
--------
5050

51-
Writing 1/0 to /sys/devices/platform/lg-laptop/fan_mode disables/enables
52-
the fan silent mode.
51+
Writing 0/1/2 to /sys/devices/platform/lg-laptop/fan_mode sets fan mode to
52+
Optimal/Silent/Performance respectively.
5353

5454

5555
USB charge

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 = 49
4+
SUBLEVEL = 50
55
EXTRAVERSION =
66
NAME = Baby Opossum Posse
77

arch/arm/boot/dts/intel/socfpga/socfpga_cyclone5_sodia.dts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,10 @@
6666
mdio0 {
6767
#address-cells = <1>;
6868
#size-cells = <0>;
69-
phy0: ethernet-phy@0 {
70-
reg = <0>;
69+
compatible = "snps,dwmac-mdio";
70+
71+
phy0: ethernet-phy@4 {
72+
reg = <4>;
7173
rxd0-skew-ps = <0>;
7274
rxd1-skew-ps = <0>;
7375
rxd2-skew-ps = <0>;

arch/arm/boot/dts/marvell/kirkwood-openrd-client.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
simple-audio-card,mclk-fs = <256>;
3939

4040
simple-audio-card,cpu {
41-
sound-dai = <&audio0 0>;
41+
sound-dai = <&audio0>;
4242
};
4343

4444
simple-audio-card,codec {

arch/arm64/boot/dts/freescale/imx8mp.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@
283283
cpu-thermal {
284284
polling-delay-passive = <250>;
285285
polling-delay = <2000>;
286-
thermal-sensors = <&tmu 0>;
286+
thermal-sensors = <&tmu 1>;
287287
trips {
288288
cpu_alert0: trip0 {
289289
temperature = <85000>;
@@ -313,7 +313,7 @@
313313
soc-thermal {
314314
polling-delay-passive = <250>;
315315
polling-delay = <2000>;
316-
thermal-sensors = <&tmu 1>;
316+
thermal-sensors = <&tmu 0>;
317317
trips {
318318
soc_alert0: trip0 {
319319
temperature = <85000>;

arch/arm64/boot/dts/marvell/cn9132-clearfog.dts

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,13 @@
413413
/* SRDS #0,#1,#2,#3 - PCIe */
414414
&cp0_pcie0 {
415415
num-lanes = <4>;
416-
phys = <&cp0_comphy0 0>, <&cp0_comphy1 0>, <&cp0_comphy2 0>, <&cp0_comphy3 0>;
416+
/*
417+
* The mvebu-comphy driver does not currently know how to pass correct
418+
* lane-count to ATF while configuring the serdes lanes.
419+
* Rely on bootloader configuration only.
420+
*
421+
* phys = <&cp0_comphy0 0>, <&cp0_comphy1 0>, <&cp0_comphy2 0>, <&cp0_comphy3 0>;
422+
*/
417423
status = "okay";
418424
};
419425

@@ -475,7 +481,13 @@
475481
/* SRDS #0,#1 - PCIe */
476482
&cp1_pcie0 {
477483
num-lanes = <2>;
478-
phys = <&cp1_comphy0 0>, <&cp1_comphy1 0>;
484+
/*
485+
* The mvebu-comphy driver does not currently know how to pass correct
486+
* lane-count to ATF while configuring the serdes lanes.
487+
* Rely on bootloader configuration only.
488+
*
489+
* phys = <&cp1_comphy0 0>, <&cp1_comphy1 0>;
490+
*/
479491
status = "okay";
480492
};
481493

arch/arm64/boot/dts/marvell/cn9132-sr-cex7.dtsi

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,14 @@
137137
pinctrl-0 = <&ap_mmc0_pins>;
138138
pinctrl-names = "default";
139139
vqmmc-supply = <&v_1_8>;
140+
/*
141+
* Not stable in HS modes - phy needs "more calibration", so disable
142+
* UHS (by preventing voltage switch), SDR104, SDR50 and DDR50 modes.
143+
*/
144+
no-1-8-v;
145+
no-sd;
146+
no-sdio;
147+
non-removable;
140148
status = "okay";
141149
};
142150

drivers/cpufreq/cpufreq.c

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2973,6 +2973,15 @@ int cpufreq_register_driver(struct cpufreq_driver *driver_data)
29732973
goto err_null_driver;
29742974
}
29752975

2976+
/*
2977+
* Mark support for the scheduler's frequency invariance engine for
2978+
* drivers that implement target(), target_index() or fast_switch().
2979+
*/
2980+
if (!cpufreq_driver->setpolicy) {
2981+
static_branch_enable_cpuslocked(&cpufreq_freq_invariance);
2982+
pr_debug("cpufreq: supports frequency invariance\n");
2983+
}
2984+
29762985
ret = subsys_interface_register(&cpufreq_interface);
29772986
if (ret)
29782987
goto err_boost_unreg;
@@ -2994,21 +3003,14 @@ int cpufreq_register_driver(struct cpufreq_driver *driver_data)
29943003
hp_online = ret;
29953004
ret = 0;
29963005

2997-
/*
2998-
* Mark support for the scheduler's frequency invariance engine for
2999-
* drivers that implement target(), target_index() or fast_switch().
3000-
*/
3001-
if (!cpufreq_driver->setpolicy) {
3002-
static_branch_enable_cpuslocked(&cpufreq_freq_invariance);
3003-
pr_debug("supports frequency invariance");
3004-
}
3005-
30063006
pr_debug("driver %s up and running\n", driver_data->name);
30073007
goto out;
30083008

30093009
err_if_unreg:
30103010
subsys_interface_unregister(&cpufreq_interface);
30113011
err_boost_unreg:
3012+
if (!cpufreq_driver->setpolicy)
3013+
static_branch_disable_cpuslocked(&cpufreq_freq_invariance);
30123014
remove_boost_sysfs_file();
30133015
err_null_driver:
30143016
write_lock_irqsave(&cpufreq_driver_lock, flags);

drivers/firewire/core-cdev.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
/*
4242
* ABI version history is documented in linux/firewire-cdev.h.
4343
*/
44-
#define FW_CDEV_KERNEL_VERSION 5
44+
#define FW_CDEV_KERNEL_VERSION 6
4545
#define FW_CDEV_VERSION_EVENT_REQUEST2 4
4646
#define FW_CDEV_VERSION_ALLOCATE_REGION_END 4
4747
#define FW_CDEV_VERSION_AUTO_FLUSH_ISO_OVERFLOW 5

drivers/gpio/gpiolib.c

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4366,6 +4366,23 @@ static struct gpio_desc *gpiod_find_by_fwnode(struct fwnode_handle *fwnode,
43664366
return desc;
43674367
}
43684368

4369+
static struct gpio_desc *gpiod_fwnode_lookup(struct fwnode_handle *fwnode,
4370+
struct device *consumer,
4371+
const char *con_id,
4372+
unsigned int idx,
4373+
enum gpiod_flags *flags,
4374+
unsigned long *lookupflags)
4375+
{
4376+
struct gpio_desc *desc;
4377+
4378+
desc = gpiod_find_by_fwnode(fwnode, consumer, con_id, idx, flags, lookupflags);
4379+
if (gpiod_not_found(desc) && !IS_ERR_OR_NULL(fwnode))
4380+
desc = gpiod_find_by_fwnode(fwnode->secondary, consumer, con_id,
4381+
idx, flags, lookupflags);
4382+
4383+
return desc;
4384+
}
4385+
43694386
struct gpio_desc *gpiod_find_and_request(struct device *consumer,
43704387
struct fwnode_handle *fwnode,
43714388
const char *con_id,
@@ -4384,8 +4401,8 @@ struct gpio_desc *gpiod_find_and_request(struct device *consumer,
43844401
int ret = 0;
43854402

43864403
scoped_guard(srcu, &gpio_devices_srcu) {
4387-
desc = gpiod_find_by_fwnode(fwnode, consumer, con_id, idx,
4388-
&flags, &lookupflags);
4404+
desc = gpiod_fwnode_lookup(fwnode, consumer, con_id, idx,
4405+
&flags, &lookupflags);
43894406
if (gpiod_not_found(desc) && platform_lookup_allowed) {
43904407
/*
43914408
* Either we are not using DT or ACPI, or their lookup

0 commit comments

Comments
 (0)