--- v7
+++ v5
@@ -1,16 +1,16 @@
The aim of this series is to add support to the fan found on RPi's PoE
-HAT. Some commentary on the design can be found below. But the important
+HAT. Some commentary on the design can be found below. But the imporant
part to the people CC'd here not involved with PWM is that, in order to
achieve this properly, we also have to fix the firmware interface the
driver uses to communicate with the PWM bus (and many other low level
functions). Specifically, we have to make sure the firmware interface
isn't unbound while consumers are still up. So, patch #1 & #2 introduce
-reference counting in the firmware interface driver and patches #3 to #8
-update all firmware users. Patches #9 to #11 introduce the new PWM
+reference counting in the firwmware interface driver and patches #3 to
+#8 update all firmware users. Patches #9 to #11 introduce the new PWM
driver.
I sent everything as a single series as the final version of the PWM
-drivers depends on the firmware fixes, but I'll be happy to split this
+drivers depends on the firwmare fixes, but I'll be happy to split this
into two separate series if you think it's better.
--- Original cover letter below ---
@@ -50,13 +50,6 @@
---
-Changes since v6:
- - Address PWM driver comments
-
-Changes since v5:
- - Small cleanups
- - Add extra code comments
-
Changes since v4:
- Cleanup devm calls
- Rename compatible string so it's unique to the PoE HAT
@@ -90,18 +83,18 @@
.../arm/bcm/raspberrypi,bcm2835-firmware.yaml | 20 ++
arch/arm/boot/dts/bcm2711-rpi-4-b.dts | 54 +++++
drivers/clk/bcm/clk-raspberrypi.c | 2 +-
- drivers/firmware/raspberrypi.c | 69 +++++-
+ drivers/firmware/raspberrypi.c | 66 +++++-
drivers/gpio/gpio-raspberrypi-exp.c | 2 +-
drivers/input/touchscreen/raspberrypi-ts.c | 2 +-
drivers/pwm/Kconfig | 9 +
drivers/pwm/Makefile | 1 +
- drivers/pwm/pwm-raspberrypi-poe.c | 220 ++++++++++++++++++
+ drivers/pwm/pwm-raspberrypi-poe.c | 216 ++++++++++++++++++
drivers/reset/reset-raspberrypi.c | 2 +-
drivers/soc/bcm/raspberrypi-power.c | 2 +-
.../interface/vchiq_arm/vchiq_arm.c | 2 +-
.../pwm/raspberrypi,firmware-poe-pwm.h | 13 ++
include/soc/bcm2835/raspberrypi-firmware.h | 10 +
- 14 files changed, 399 insertions(+), 9 deletions(-)
+ 14 files changed, 391 insertions(+), 10 deletions(-)
create mode 100644 drivers/pwm/pwm-raspberrypi-poe.c
create mode 100644 include/dt-bindings/pwm/raspberrypi,firmware-poe-pwm.h