Skip to content

Commit

Permalink
kernel: Backport the upstream PWM GPIO driver from 6.11 to rpi-6.6.y
Browse files Browse the repository at this point in the history
See: raspberrypi/linux#6450

kernel: dts: 2712: Drop some numa options from bootargs
See: raspberrypi/linux#6434
  • Loading branch information
popcornmix committed Nov 5, 2024
1 parent 0a3f48f commit e87ee46
Show file tree
Hide file tree
Showing 60 changed files with 32 additions and 6 deletions.
Binary file modified boot/bcm2712-rpi-5-b.dtb
Binary file not shown.
Binary file modified boot/bcm2712-rpi-500.dtb
Binary file not shown.
Binary file modified boot/bcm2712-rpi-cm5-cm4io.dtb
Binary file not shown.
Binary file modified boot/bcm2712-rpi-cm5-cm5io.dtb
Binary file not shown.
Binary file modified boot/bcm2712-rpi-cm5l-cm4io.dtb
Binary file not shown.
Binary file modified boot/bcm2712-rpi-cm5l-cm5io.dtb
Binary file not shown.
Binary file modified boot/bcm2712d0-rpi-5-b.dtb
Binary file not shown.
Binary file modified boot/kernel.img
Binary file not shown.
Binary file modified boot/kernel7.img
Binary file not shown.
Binary file modified boot/kernel7l.img
Binary file not shown.
Binary file modified boot/kernel8.img
Binary file not shown.
Binary file modified boot/kernel_2712.img
Binary file not shown.
6 changes: 6 additions & 0 deletions boot/overlays/README
Original file line number Diff line number Diff line change
Expand Up @@ -3903,6 +3903,12 @@ Params: pin Output pin (default 18) - see table
clock PWM clock frequency (informational)


Name: pwm-gpio
Info: Configures the software PWM GPIO driver
Load: dtoverlay=pwm-gpio,<param>=<val>
Params: gpio Output pin (default 4)


Name: pwm-ir-tx
Info: Use GPIO pin as pwm-assisted infrared transmitter output.
This is an alternative to "gpio-ir-tx". pwm-ir-tx makes use
Expand Down
Binary file added boot/overlays/pwm-gpio.dtbo
Binary file not shown.
2 changes: 1 addition & 1 deletion extra/git_hash
Original file line number Diff line number Diff line change
@@ -1 +1 @@
37b55322c1b222a76da6f55492f181258814a168
624eb357e1a16385b3d6171e9194e4c5f8d4fd5f
2 changes: 1 addition & 1 deletion extra/uname_string
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Linux version 6.6.59+ (dom@buildbot) (arm-linux-gnueabihf-gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #1810 Fri Nov 1 13:07:24 GMT 2024
Linux version 6.6.59+ (dom@buildbot) (arm-linux-gnueabihf-gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #1811 Tue Nov 5 20:01:38 GMT 2024
2 changes: 1 addition & 1 deletion extra/uname_string7
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Linux version 6.6.59-v7+ (dom@buildbot) (arm-linux-gnueabihf-gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #1810 SMP Fri Nov 1 13:09:08 GMT 2024
Linux version 6.6.59-v7+ (dom@buildbot) (arm-linux-gnueabihf-gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #1811 SMP Tue Nov 5 20:02:45 GMT 2024
2 changes: 1 addition & 1 deletion extra/uname_string7l
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Linux version 6.6.59-v7l+ (dom@buildbot) (arm-linux-gnueabihf-gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #1810 SMP Fri Nov 1 13:10:57 GMT 2024
Linux version 6.6.59-v7l+ (dom@buildbot) (arm-linux-gnueabihf-gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #1811 SMP Tue Nov 5 20:03:55 GMT 2024
2 changes: 1 addition & 1 deletion extra/uname_string8
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Linux version 6.6.59-v8+ (dom@buildbot) (aarch64-linux-gnu-gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #1810 SMP PREEMPT Fri Nov 1 13:12:57 GMT 2024
Linux version 6.6.59-v8+ (dom@buildbot) (aarch64-linux-gnu-gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #1811 SMP PREEMPT Tue Nov 5 20:05:10 GMT 2024
2 changes: 1 addition & 1 deletion extra/uname_string_2712
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Linux version 6.6.59-v8-16k+ (dom@buildbot) (aarch64-linux-gnu-gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #1810 SMP PREEMPT Fri Nov 1 13:15:07 GMT 2024
Linux version 6.6.59-v8-16k+ (dom@buildbot) (aarch64-linux-gnu-gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #1811 SMP PREEMPT Tue Nov 5 20:06:38 GMT 2024
Binary file added modules/6.6.59+/kernel/drivers/pwm/pwm-gpio.ko.xz
Binary file not shown.
Binary file modified modules/6.6.59+/kernel/kernel/configs.ko.xz
Binary file not shown.
2 changes: 2 additions & 0 deletions modules/6.6.59+/modules.alias
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,8 @@ alias of:N*T*Cnxp,pcf8574C* gpio_pcf857x
alias of:N*T*Cnxp,pcf8574 gpio_pcf857x
alias of:N*T*Cbrcm,bcm2835-pwmC* pwm_bcm2835
alias of:N*T*Cbrcm,bcm2835-pwm pwm_bcm2835
alias of:N*T*Cpwm-gpioC* pwm_gpio
alias of:N*T*Cpwm-gpio pwm_gpio
alias i2c:pca9685 pwm_pca9685
alias of:N*T*Cnxp,pca9685-pwmC* pwm_pca9685
alias of:N*T*Cnxp,pca9685-pwm pwm_pca9685
Expand Down
Binary file modified modules/6.6.59+/modules.alias.bin
Binary file not shown.
1 change: 1 addition & 0 deletions modules/6.6.59+/modules.dep
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ kernel/drivers/gpio/gpio-mockup.ko.xz:
kernel/drivers/gpio/gpio-pca953x.ko.xz: kernel/drivers/base/regmap/regmap-i2c.ko.xz
kernel/drivers/gpio/gpio-pcf857x.ko.xz:
kernel/drivers/pwm/pwm-bcm2835.ko.xz:
kernel/drivers/pwm/pwm-gpio.ko.xz:
kernel/drivers/pwm/pwm-pca9685.ko.xz: kernel/drivers/base/regmap/regmap-i2c.ko.xz
kernel/drivers/pwm/pwm-raspberrypi-poe.ko.xz:
kernel/drivers/video/backlight/backlight.ko.xz:
Expand Down
Binary file modified modules/6.6.59+/modules.dep.bin
Binary file not shown.
1 change: 1 addition & 0 deletions modules/6.6.59+/modules.order
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ kernel/drivers/gpio/gpio-mockup.ko
kernel/drivers/gpio/gpio-pca953x.ko
kernel/drivers/gpio/gpio-pcf857x.ko
kernel/drivers/pwm/pwm-bcm2835.ko
kernel/drivers/pwm/pwm-gpio.ko
kernel/drivers/pwm/pwm-pca9685.ko
kernel/drivers/pwm/pwm-raspberrypi-poe.ko
kernel/drivers/video/backlight/backlight.ko
Expand Down
Binary file modified modules/6.6.59+/modules.symbols.bin
Binary file not shown.
Binary file not shown.
Binary file modified modules/6.6.59-v7+/kernel/kernel/configs.ko.xz
Binary file not shown.
2 changes: 2 additions & 0 deletions modules/6.6.59-v7+/modules.alias
Original file line number Diff line number Diff line change
Expand Up @@ -449,6 +449,8 @@ alias of:N*T*Cnxp,pcf8574C* gpio_pcf857x
alias of:N*T*Cnxp,pcf8574 gpio_pcf857x
alias of:N*T*Cbrcm,bcm2835-pwmC* pwm_bcm2835
alias of:N*T*Cbrcm,bcm2835-pwm pwm_bcm2835
alias of:N*T*Cpwm-gpioC* pwm_gpio
alias of:N*T*Cpwm-gpio pwm_gpio
alias i2c:pca9685 pwm_pca9685
alias of:N*T*Cnxp,pca9685-pwmC* pwm_pca9685
alias of:N*T*Cnxp,pca9685-pwm pwm_pca9685
Expand Down
Binary file modified modules/6.6.59-v7+/modules.alias.bin
Binary file not shown.
1 change: 1 addition & 0 deletions modules/6.6.59-v7+/modules.dep
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ kernel/drivers/gpio/gpio-mockup.ko.xz:
kernel/drivers/gpio/gpio-pca953x.ko.xz: kernel/drivers/base/regmap/regmap-i2c.ko.xz
kernel/drivers/gpio/gpio-pcf857x.ko.xz:
kernel/drivers/pwm/pwm-bcm2835.ko.xz:
kernel/drivers/pwm/pwm-gpio.ko.xz:
kernel/drivers/pwm/pwm-pca9685.ko.xz: kernel/drivers/base/regmap/regmap-i2c.ko.xz
kernel/drivers/pwm/pwm-raspberrypi-poe.ko.xz:
kernel/drivers/video/backlight/backlight.ko.xz:
Expand Down
Binary file modified modules/6.6.59-v7+/modules.dep.bin
Binary file not shown.
1 change: 1 addition & 0 deletions modules/6.6.59-v7+/modules.order
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ kernel/drivers/gpio/gpio-mockup.ko
kernel/drivers/gpio/gpio-pca953x.ko
kernel/drivers/gpio/gpio-pcf857x.ko
kernel/drivers/pwm/pwm-bcm2835.ko
kernel/drivers/pwm/pwm-gpio.ko
kernel/drivers/pwm/pwm-pca9685.ko
kernel/drivers/pwm/pwm-raspberrypi-poe.ko
kernel/drivers/video/backlight/backlight.ko
Expand Down
Binary file modified modules/6.6.59-v7+/modules.symbols.bin
Binary file not shown.
Binary file not shown.
Binary file modified modules/6.6.59-v7l+/kernel/kernel/configs.ko.xz
Binary file not shown.
2 changes: 2 additions & 0 deletions modules/6.6.59-v7l+/modules.alias
Original file line number Diff line number Diff line change
Expand Up @@ -453,6 +453,8 @@ alias of:N*T*Cnxp,pcf8574C* gpio_pcf857x
alias of:N*T*Cnxp,pcf8574 gpio_pcf857x
alias of:N*T*Cbrcm,bcm2835-pwmC* pwm_bcm2835
alias of:N*T*Cbrcm,bcm2835-pwm pwm_bcm2835
alias of:N*T*Cpwm-gpioC* pwm_gpio
alias of:N*T*Cpwm-gpio pwm_gpio
alias i2c:pca9685 pwm_pca9685
alias of:N*T*Cnxp,pca9685-pwmC* pwm_pca9685
alias of:N*T*Cnxp,pca9685-pwm pwm_pca9685
Expand Down
Binary file modified modules/6.6.59-v7l+/modules.alias.bin
Binary file not shown.
1 change: 1 addition & 0 deletions modules/6.6.59-v7l+/modules.dep
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ kernel/drivers/gpio/gpio-mockup.ko.xz:
kernel/drivers/gpio/gpio-pca953x.ko.xz: kernel/drivers/base/regmap/regmap-i2c.ko.xz
kernel/drivers/gpio/gpio-pcf857x.ko.xz:
kernel/drivers/pwm/pwm-bcm2835.ko.xz:
kernel/drivers/pwm/pwm-gpio.ko.xz:
kernel/drivers/pwm/pwm-pca9685.ko.xz: kernel/drivers/base/regmap/regmap-i2c.ko.xz
kernel/drivers/pwm/pwm-raspberrypi-poe.ko.xz:
kernel/drivers/video/backlight/backlight.ko.xz:
Expand Down
Binary file modified modules/6.6.59-v7l+/modules.dep.bin
Binary file not shown.
1 change: 1 addition & 0 deletions modules/6.6.59-v7l+/modules.order
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ kernel/drivers/gpio/gpio-mockup.ko
kernel/drivers/gpio/gpio-pca953x.ko
kernel/drivers/gpio/gpio-pcf857x.ko
kernel/drivers/pwm/pwm-bcm2835.ko
kernel/drivers/pwm/pwm-gpio.ko
kernel/drivers/pwm/pwm-pca9685.ko
kernel/drivers/pwm/pwm-raspberrypi-poe.ko
kernel/drivers/video/backlight/backlight.ko
Expand Down
Binary file modified modules/6.6.59-v7l+/modules.symbols.bin
Binary file not shown.
Binary file not shown.
Binary file modified modules/6.6.59-v8+/kernel/kernel/configs.ko.xz
Binary file not shown.
2 changes: 2 additions & 0 deletions modules/6.6.59-v8+/modules.alias
Original file line number Diff line number Diff line change
Expand Up @@ -515,6 +515,8 @@ alias of:N*T*Cnxp,pcf8574C* gpio_pcf857x
alias of:N*T*Cnxp,pcf8574 gpio_pcf857x
alias of:N*T*Cbrcm,bcm2835-pwmC* pwm_bcm2835
alias of:N*T*Cbrcm,bcm2835-pwm pwm_bcm2835
alias of:N*T*Cpwm-gpioC* pwm_gpio
alias of:N*T*Cpwm-gpio pwm_gpio
alias i2c:pca9685 pwm_pca9685
alias of:N*T*Cnxp,pca9685-pwmC* pwm_pca9685
alias of:N*T*Cnxp,pca9685-pwm pwm_pca9685
Expand Down
Binary file modified modules/6.6.59-v8+/modules.alias.bin
Binary file not shown.
1 change: 1 addition & 0 deletions modules/6.6.59-v8+/modules.dep
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ kernel/drivers/gpio/gpio-mockup.ko.xz:
kernel/drivers/gpio/gpio-pca953x.ko.xz: kernel/drivers/base/regmap/regmap-i2c.ko.xz
kernel/drivers/gpio/gpio-pcf857x.ko.xz:
kernel/drivers/pwm/pwm-bcm2835.ko.xz:
kernel/drivers/pwm/pwm-gpio.ko.xz:
kernel/drivers/pwm/pwm-pca9685.ko.xz: kernel/drivers/base/regmap/regmap-i2c.ko.xz
kernel/drivers/pwm/pwm-raspberrypi-poe.ko.xz:
kernel/drivers/video/backlight/backlight.ko.xz:
Expand Down
Binary file modified modules/6.6.59-v8+/modules.dep.bin
Binary file not shown.
1 change: 1 addition & 0 deletions modules/6.6.59-v8+/modules.order
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ kernel/drivers/gpio/gpio-mockup.ko
kernel/drivers/gpio/gpio-pca953x.ko
kernel/drivers/gpio/gpio-pcf857x.ko
kernel/drivers/pwm/pwm-bcm2835.ko
kernel/drivers/pwm/pwm-gpio.ko
kernel/drivers/pwm/pwm-pca9685.ko
kernel/drivers/pwm/pwm-raspberrypi-poe.ko
kernel/drivers/video/backlight/backlight.ko
Expand Down
Binary file modified modules/6.6.59-v8+/modules.symbols.bin
Binary file not shown.
Binary file not shown.
Binary file modified modules/6.6.59-v8-16k+/kernel/kernel/configs.ko.xz
Binary file not shown.
2 changes: 2 additions & 0 deletions modules/6.6.59-v8-16k+/modules.alias
Original file line number Diff line number Diff line change
Expand Up @@ -515,6 +515,8 @@ alias of:N*T*Cnxp,pcf8574C* gpio_pcf857x
alias of:N*T*Cnxp,pcf8574 gpio_pcf857x
alias of:N*T*Cbrcm,bcm2835-pwmC* pwm_bcm2835
alias of:N*T*Cbrcm,bcm2835-pwm pwm_bcm2835
alias of:N*T*Cpwm-gpioC* pwm_gpio
alias of:N*T*Cpwm-gpio pwm_gpio
alias i2c:pca9685 pwm_pca9685
alias of:N*T*Cnxp,pca9685-pwmC* pwm_pca9685
alias of:N*T*Cnxp,pca9685-pwm pwm_pca9685
Expand Down
Binary file modified modules/6.6.59-v8-16k+/modules.alias.bin
Binary file not shown.
1 change: 1 addition & 0 deletions modules/6.6.59-v8-16k+/modules.dep
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ kernel/drivers/gpio/gpio-mockup.ko.xz:
kernel/drivers/gpio/gpio-pca953x.ko.xz: kernel/drivers/base/regmap/regmap-i2c.ko.xz
kernel/drivers/gpio/gpio-pcf857x.ko.xz:
kernel/drivers/pwm/pwm-bcm2835.ko.xz:
kernel/drivers/pwm/pwm-gpio.ko.xz:
kernel/drivers/pwm/pwm-pca9685.ko.xz: kernel/drivers/base/regmap/regmap-i2c.ko.xz
kernel/drivers/pwm/pwm-raspberrypi-poe.ko.xz:
kernel/drivers/video/backlight/backlight.ko.xz:
Expand Down
Binary file modified modules/6.6.59-v8-16k+/modules.dep.bin
Binary file not shown.
1 change: 1 addition & 0 deletions modules/6.6.59-v8-16k+/modules.order
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ kernel/drivers/gpio/gpio-mockup.ko
kernel/drivers/gpio/gpio-pca953x.ko
kernel/drivers/gpio/gpio-pcf857x.ko
kernel/drivers/pwm/pwm-bcm2835.ko
kernel/drivers/pwm/pwm-gpio.ko
kernel/drivers/pwm/pwm-pca9685.ko
kernel/drivers/pwm/pwm-raspberrypi-poe.ko
kernel/drivers/video/backlight/backlight.ko
Expand Down
Binary file modified modules/6.6.59-v8-16k+/modules.symbols.bin
Binary file not shown.

0 comments on commit e87ee46

Please sign in to comment.