[PATCH v5 0/3] Add PWM support Amlogic S7 S7D S6

From: Xianwei Zhao via B4 Relay

Date: Mon Nov 30 2026 - 06:59:52 EST


Add bindings and driver support Amlogic S7/S7D/S6 SoCs.

Signed-off-by: Xianwei Zhao <xianwei.zhao@xxxxxxxxxxx>
---
Changes in v5:
- Since [3/4] has already been merged, drop it from the series.
- Update the commit message of [2/4] to better match the actual change.
- In [4/4], add the missing space in the commit message and move private_data to a more appropriate location.
- Link to v4: https://lore.kernel.org/r/20260827-s6-s7-pwm-v4-0-d28a2015177d@xxxxxxxxxxx

Changes in v4:
- It is divided into three submissions based on the function-driven part.
- Merge and modify functions for init clocks, According to Alexandre's suggestion.
- Link to v3: https://lore.kernel.org/r/20260521-s6-s7-pwm-v3-0-57b073fbafef@xxxxxxxxxxx

Changes in v3:
- Use npwm instead of single_pwm in priv_data and format adjustments.
- Link to v2: https://lore.kernel.org/r/20260402-s6-s7-pwm-v2-0-657dce040956@xxxxxxxxxxx

Changes in v2:
- Simpler s7 clock desc, and drop the example in bindings.
- Make minor changes to probe based on Martin's suggestion.
- Link to v1: https://lore.kernel.org/r/20260326-s6-s7-pwm-v1-0-67e2f72b98bc@xxxxxxxxxxx

---
Junyi Zhao (1):
dt-bindings: pwm: amlogic: Add new bindings for S6 S7 S7D

Xianwei Zhao (2):
pwm: meson: add the PWM count driver data
pwm: meson: Add support for Amlogic S7

.../devicetree/bindings/pwm/pwm-amlogic.yaml | 19 +++++++++++++++
drivers/pwm/pwm-meson.c | 28 +++++++++++++++++++---
2 files changed, 44 insertions(+), 3 deletions(-)
---
base-commit: ed17ca6b91b8258eb5fe023992875cbb54d04614
change-id: 20260325-s6-s7-pwm-281658b88736

Best regards,
--
Xianwei Zhao <xianwei.zhao@xxxxxxxxxxx>