Skip to content

Commit

Permalink
Merge branch 'raspberrypi:rpi-6.6.y' into rpi-6.6.y-modeswitch-delay
Browse files Browse the repository at this point in the history
  • Loading branch information
popcornmix authored Aug 12, 2024
2 parents 6f60495 + ad2babc commit c860bcb
Show file tree
Hide file tree
Showing 635 changed files with 5,653 additions and 3,465 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/kernel-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
workflow_dispatch:

env:
NUM_JOBS: 3
NUM_JOBS: 6

jobs:
build:
Expand Down
5 changes: 4 additions & 1 deletion Documentation/devicetree/bindings/thermal/thermal-zones.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,10 @@ properties:
to take when the temperature crosses those thresholds.

patternProperties:
"^[a-zA-Z][a-zA-Z0-9\\-]{1,12}-thermal$":
# Node name is limited in size due to Linux kernel requirements - 19
# characters in total (see THERMAL_NAME_LENGTH, including terminating NUL
# byte):
"^[a-zA-Z][a-zA-Z0-9\\-]{1,10}-thermal$":
type: object
description:
Each thermal zone node contains information about how frequently it
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SPDX-License-Identifier: GPL-2.0
VERSION = 6
PATCHLEVEL = 6
SUBLEVEL = 42
SUBLEVEL = 44
EXTRAVERSION =
NAME = Hurr durr I'ma ninja sloth

Expand Down
62 changes: 0 additions & 62 deletions arch/arm/boot/dts/allwinner/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -259,68 +259,6 @@ dtb-$(CONFIG_MACH_SUN8I) += \
sun8i-v3s-licheepi-zero.dtb \
sun8i-v3s-licheepi-zero-dock.dtb \
sun8i-v40-bananapi-m2-berry.dtb
dtb-$(CONFIG_MACH_SUN8I) += \
sun8i-a23-evb.dtb \
sun8i-a23-gt90h-v4.dtb \
sun8i-a23-inet86dz.dtb \
sun8i-a23-ippo-q8h-v5.dtb \
sun8i-a23-ippo-q8h-v1.2.dtb \
sun8i-a23-polaroid-mid2407pxe03.dtb \
sun8i-a23-polaroid-mid2809pxe04.dtb \
sun8i-a23-q8-tablet.dtb \
sun8i-a33-et-q8-v1.6.dtb \
sun8i-a33-ga10h-v1.1.dtb \
sun8i-a33-inet-d978-rev2.dtb \
sun8i-a33-ippo-q8h-v1.2.dtb \
sun8i-a33-olinuxino.dtb \
sun8i-a33-q8-tablet.dtb \
sun8i-a33-sinlinx-sina33.dtb \
sun8i-a83t-allwinner-h8homlet-v2.dtb \
sun8i-a83t-bananapi-m3.dtb \
sun8i-a83t-cubietruck-plus.dtb \
sun8i-a83t-tbs-a711.dtb \
sun8i-h2-plus-bananapi-m2-zero.dtb \
sun8i-h2-plus-libretech-all-h3-cc.dtb \
sun8i-h2-plus-orangepi-r1.dtb \
sun8i-h2-plus-orangepi-zero.dtb \
sun8i-h3-bananapi-m2-plus.dtb \
sun8i-h3-bananapi-m2-plus-v1.2.dtb \
sun8i-h3-beelink-x2.dtb \
sun8i-h3-libretech-all-h3-cc.dtb \
sun8i-h3-mapleboard-mp130.dtb \
sun8i-h3-nanopi-duo2.dtb \
sun8i-h3-nanopi-m1.dtb\
\
sun8i-h3-nanopi-m1-plus.dtb \
sun8i-h3-nanopi-neo.dtb \
sun8i-h3-nanopi-neo-air.dtb \
sun8i-h3-nanopi-r1.dtb \
sun8i-h3-orangepi-2.dtb \
sun8i-h3-orangepi-lite.dtb \
sun8i-h3-orangepi-one.dtb \
sun8i-h3-orangepi-pc.dtb \
sun8i-h3-orangepi-pc-plus.dtb \
sun8i-h3-orangepi-plus.dtb \
sun8i-h3-orangepi-plus2e.dtb \
sun8i-h3-orangepi-zero-plus2.dtb \
sun8i-h3-rervision-dvk.dtb \
sun8i-h3-zeropi.dtb \
sun8i-h3-emlid-neutis-n5h3-devboard.dtb \
sun8i-r16-bananapi-m2m.dtb \
sun8i-r16-nintendo-nes-classic.dtb \
sun8i-r16-nintendo-super-nes-classic.dtb \
sun8i-r16-parrot.dtb \
sun8i-r40-bananapi-m2-ultra.dtb \
sun8i-r40-oka40i-c.dtb \
sun8i-s3-elimo-initium.dtb \
sun8i-s3-lichee-zero-plus.dtb \
sun8i-s3-pinecube.dtb \
sun8i-t113s-mangopi-mq-r-t113.dtb \
sun8i-t3-cqa3t-bv3.dtb \
sun8i-v3-sl631-imx179.dtb \
sun8i-v3s-licheepi-zero.dtb \
sun8i-v3s-licheepi-zero-dock.dtb \
sun8i-v40-bananapi-m2-berry.dtb
dtb-$(CONFIG_MACH_SUN9I) += \
sun9i-a80-optimus.dtb \
sun9i-a80-cubieboard4.dtb
Expand Down
23 changes: 0 additions & 23 deletions arch/arm/boot/dts/nxp/imx/imx6q-kontron-samx6i.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -5,31 +5,8 @@

#include "imx6q.dtsi"
#include "imx6qdl-kontron-samx6i.dtsi"
#include <dt-bindings/gpio/gpio.h>

/ {
model = "Kontron SMARC sAMX6i Quad/Dual";
compatible = "kontron,imx6q-samx6i", "fsl,imx6q";
};

/* Quad/Dual SoMs have 3 chip-select signals */
&ecspi4 {
cs-gpios = <&gpio3 24 GPIO_ACTIVE_LOW>,
<&gpio3 29 GPIO_ACTIVE_LOW>,
<&gpio3 25 GPIO_ACTIVE_LOW>;
};

&pinctrl_ecspi4 {
fsl,pins = <
MX6QDL_PAD_EIM_D21__ECSPI4_SCLK 0x100b1
MX6QDL_PAD_EIM_D28__ECSPI4_MOSI 0x100b1
MX6QDL_PAD_EIM_D22__ECSPI4_MISO 0x100b1

/* SPI4_IMX_CS2# - connected to internal flash */
MX6QDL_PAD_EIM_D24__GPIO3_IO24 0x1b0b0
/* SPI4_IMX_CS0# - connected to SMARC SPI0_CS0# */
MX6QDL_PAD_EIM_D29__GPIO3_IO29 0x1b0b0
/* SPI4_CS3# - connected to SMARC SPI0_CS1# */
MX6QDL_PAD_EIM_D25__GPIO3_IO25 0x1b0b0
>;
};
14 changes: 9 additions & 5 deletions arch/arm/boot/dts/nxp/imx/imx6qdl-kontron-samx6i.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,8 @@
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_ecspi4>;
cs-gpios = <&gpio3 24 GPIO_ACTIVE_LOW>,
<&gpio3 29 GPIO_ACTIVE_LOW>;
<&gpio3 29 GPIO_ACTIVE_LOW>,
<&gpio3 25 GPIO_ACTIVE_LOW>;
status = "okay";

/* default boot source: workaround #1 for errata ERR006282 */
Expand All @@ -259,7 +260,7 @@
&fec {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_enet>;
phy-mode = "rgmii";
phy-connection-type = "rgmii-id";
phy-handle = <&ethphy>;

mdio {
Expand All @@ -269,7 +270,7 @@
ethphy: ethernet-phy@1 {
compatible = "ethernet-phy-ieee802.3-c22";
reg = <1>;
reset-gpios = <&gpio1 25 GPIO_ACTIVE_LOW>;
reset-gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
reset-assert-us = <1000>;
};
};
Expand Down Expand Up @@ -464,6 +465,8 @@
MX6QDL_PAD_EIM_D24__GPIO3_IO24 0x1b0b0
/* SPI_IMX_CS0# - connected to SMARC SPI0_CS0# */
MX6QDL_PAD_EIM_D29__GPIO3_IO29 0x1b0b0
/* SPI4_CS3# - connected to SMARC SPI0_CS1# */
MX6QDL_PAD_EIM_D25__GPIO3_IO25 0x1b0b0
>;
};

Expand Down Expand Up @@ -516,7 +519,7 @@
MX6QDL_PAD_ENET_MDIO__ENET_MDIO 0x1b0b0
MX6QDL_PAD_ENET_MDC__ENET_MDC 0x1b0b0
MX6QDL_PAD_ENET_REF_CLK__ENET_TX_CLK 0x1b0b0
MX6QDL_PAD_ENET_CRS_DV__GPIO1_IO25 0x1b0b0 /* RST_GBE0_PHY# */
MX6QDL_PAD_NANDF_D1__GPIO2_IO01 0x1b0b0 /* RST_GBE0_PHY# */
>;
};

Expand Down Expand Up @@ -729,7 +732,7 @@
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_pcie>;
wake-up-gpio = <&gpio6 18 GPIO_ACTIVE_HIGH>;
reset-gpio = <&gpio3 13 GPIO_ACTIVE_HIGH>;
reset-gpio = <&gpio3 13 GPIO_ACTIVE_LOW>;
};

/* LCD_BKLT_PWM */
Expand Down Expand Up @@ -817,5 +820,6 @@
/* CPLD is feeded by watchdog (hardwired) */
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_wdog1>;
fsl,ext-reset-output;
status = "okay";
};
1 change: 1 addition & 0 deletions arch/arm/boot/dts/overlays/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ dtbo-$(CONFIG_ARCH_BCM2835) += \
gpio-no-irq.dtbo \
gpio-poweroff.dtbo \
gpio-shutdown.dtbo \
hd44780-i2c-lcd.dtbo \
hd44780-lcd.dtbo \
hdmi-backlight-hwhack-gpio.dtbo \
hifiberry-amp.dtbo \
Expand Down
37 changes: 32 additions & 5 deletions arch/arm/boot/dts/overlays/README
Original file line number Diff line number Diff line change
Expand Up @@ -378,9 +378,9 @@ Params:
non-lite SKU of CM4).
(default "on")

sd_cqe Use to enable Command Queueing on the SD
interface for faster Class A2 card performance
(Pi 5 only, default "off")
sd_cqe Set to "off" to disable Command Queueing if you
have an incompatible Class A2 SD card
(Pi 5 only, default "on")

sd_overclock Clock (in MHz) to use when the MMC framework
requests 50MHz
Expand Down Expand Up @@ -1705,6 +1705,33 @@ Params: gpio_pin GPIO pin to trigger on (default 3)
(default 100)


Name: hd44780-i2c-lcd
Info: Configures an HD44780 compatible LCD display connected via a PCF8574 as
is often found as a backpack interface for these displays.
Load: dtoverlay=hd44780-i2c-lcd,<param>=<val>
Params: addr I2C address of PCF8574
pin_d4 GPIO pin for data pin D4 (default 4)

pin_d5 GPIO pin for data pin D5 (default 5)

pin_d6 GPIO pin for data pin D6 (default 6)

pin_d7 GPIO pin for data pin D7 (default 7)

pin_en GPIO pin for "Enable" (default 2)

pin_rs GPIO pin for "Register Select" (default 0)

pin_rw GPIO pin for R/W select (default 1)

pin_bl GPIO pin for enabling/disabling the display
backlight. (default 3)

display_height Height of the display in characters (default 2)

display_width Width of the display in characters (default 16)


Name: hd44780-lcd
Info: Configures an HD44780 compatible LCD display. Uses 4 gpio pins for
data, 2 gpio pins for enable and register select and 1 optional pin
Expand All @@ -1725,9 +1752,9 @@ Params: pin_d4 GPIO pin for data pin D4 (default 6)
pin_bl Optional pin for enabling/disabling the
display backlight. (default disabled)

display_height Height of the display in characters
display_height Height of the display in characters (default 2)

display_width Width of the display in characters
display_width Width of the display in characters (default 16)


Name: hdmi-backlight-hwhack-gpio
Expand Down
57 changes: 57 additions & 0 deletions arch/arm/boot/dts/overlays/hd44780-i2c-lcd-overlay.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
/dts-v1/;
/plugin/;

/ {
compatible = "brcm,bcm2835";

fragment@0 {
target = <&i2c_arm>;
__overlay__ {
status = "okay";

pcf857x: pcf857x@27 {
compatible = "nxp,pcf8574";
reg = <0x27>;
gpio-controller;
#gpio-cells = <2>;
status = "okay";
};
};
};

fragment@1 {
target-path = "/";
__overlay__ {
lcd_screen: auxdisplay {
compatible = "hit,hd44780";

data-gpios = <&pcf857x 4 0>,
<&pcf857x 5 0>,
<&pcf857x 6 0>,
<&pcf857x 7 0>;
enable-gpios = <&pcf857x 2 0>;
rs-gpios = <&pcf857x 0 0>;
rw-gpios = <&pcf857x 1 0>;
backlight-gpios = <&pcf857x 3 0>;

display-width-chars = <16>;
display-height-chars = <2>;
};
};
};

__overrides__ {
pin_d4 = <&lcd_screen>,"data-gpios:4";
pin_d5 = <&lcd_screen>,"data-gpios:16";
pin_d6 = <&lcd_screen>,"data-gpios:28";
pin_d7 = <&lcd_screen>,"data-gpios:40";
pin_en = <&lcd_screen>,"enable-gpios:4";
pin_rs = <&lcd_screen>,"rs-gpios:4";
pin_rw = <&lcd_screen>,"rw-gpios:4";
pin_bl = <&lcd_screen>,"backlight-gpios:4";
display_height = <&lcd_screen>,"display-height-chars:0";
display_width = <&lcd_screen>,"display-width-chars:0";
addr = <&pcf857x>,"reg:0";
};

};
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/overlays/i2c-rtc-common.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@
<&rv3028>,"trickle-resistor-ohms:0",
<&rv3032>,"trickle-resistor-ohms:0",
<&rv1805>,"abracon,tc-resistor:0",
<&bq32000>,"abracon,tc-resistor:0";
<&bq32000>,"trickle-resistor-ohms:0";
trickle-voltage-mv = <&rv3032>,"trickle-voltage-millivolts:0";
backup-switchover-mode = <&rv3028>,"backup-switchover-mode:0";
wakeup-source = <&ds1339>,"wakeup-source?",
Expand Down
1 change: 1 addition & 0 deletions arch/arm/boot/dts/st/stm32mp151.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
<GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>,
<GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>;
interrupt-parent = <&intc>;
arm,no-tick-in-suspend;
};

clocks {
Expand Down
3 changes: 3 additions & 0 deletions arch/arm/configs/bcm2709_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,8 @@ CONFIG_MTD_SPI_NOR=m
CONFIG_MTD_UBI=m
CONFIG_OF_CONFIGFS=y
CONFIG_ZRAM=m
CONFIG_ZRAM_WRITEBACK=y
CONFIG_ZRAM_MULTI_COMP=y
CONFIG_BLK_DEV_LOOP=y
CONFIG_BLK_DEV_DRBD=m
CONFIG_BLK_DEV_NBD=m
Expand All @@ -464,6 +466,7 @@ CONFIG_ISCSI_BOOT_SYSFS=m
CONFIG_ATA=m
CONFIG_MD=y
CONFIG_MD_LINEAR=m
CONFIG_BCACHE=m
CONFIG_BLK_DEV_DM=m
CONFIG_DM_CRYPT=m
CONFIG_DM_SNAPSHOT=m
Expand Down
3 changes: 3 additions & 0 deletions arch/arm/configs/bcm2711_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -449,6 +449,8 @@ CONFIG_MTD_SPI_NOR=m
CONFIG_MTD_UBI=m
CONFIG_OF_CONFIGFS=y
CONFIG_ZRAM=m
CONFIG_ZRAM_WRITEBACK=y
CONFIG_ZRAM_MULTI_COMP=y
CONFIG_BLK_DEV_LOOP=y
CONFIG_BLK_DEV_DRBD=m
CONFIG_BLK_DEV_NBD=m
Expand All @@ -473,6 +475,7 @@ CONFIG_SATA_AHCI=m
CONFIG_SATA_MV=m
CONFIG_MD=y
CONFIG_MD_LINEAR=m
CONFIG_BCACHE=m
CONFIG_BLK_DEV_DM=m
CONFIG_DM_CRYPT=m
CONFIG_DM_SNAPSHOT=m
Expand Down
3 changes: 3 additions & 0 deletions arch/arm/configs/bcmrpi_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,8 @@ CONFIG_MTD_SPI_NOR=m
CONFIG_MTD_UBI=m
CONFIG_OF_CONFIGFS=y
CONFIG_ZRAM=m
CONFIG_ZRAM_WRITEBACK=y
CONFIG_ZRAM_MULTI_COMP=y
CONFIG_BLK_DEV_LOOP=y
CONFIG_BLK_DEV_DRBD=m
CONFIG_BLK_DEV_NBD=m
Expand All @@ -459,6 +461,7 @@ CONFIG_ISCSI_BOOT_SYSFS=m
CONFIG_ATA=m
CONFIG_MD=y
CONFIG_MD_LINEAR=m
CONFIG_BCACHE=m
CONFIG_BLK_DEV_DM=m
CONFIG_DM_CRYPT=m
CONFIG_DM_SNAPSHOT=m
Expand Down
Loading

0 comments on commit c860bcb

Please sign in to comment.