Hi all: This patchset introduce a generic PWM framework driver for Loongson family. Each PWM has one pulse width output signal and one pulse input signal to be measured. It can be found on Loongson-2K series cpus and Loongson LS7A bridge chips. Thanks. Binbin Zhou (5): dt-bindings: pwm: Add Loongson PWM controller pwm: Add Loongson PWM controller support LoongArch: dts: Add PWM support to Loongson-2K0500 LoongArch: dts: Add PWM support to Loongson-2K1000 LoongArch: dts: Add PWM support to Loongson-2K2000 .../devicetree/bindings/pwm/pwm-loongson.yaml | 64 ++++ MAINTAINERS | 7 + arch/loongarch/boot/dts/loongson-2k0500.dtsi | 20 ++ .../boot/dts/loongson-2k1000-ref.dts | 24 ++ arch/loongarch/boot/dts/loongson-2k1000.dtsi | 42 ++- arch/loongarch/boot/dts/loongson-2k2000.dtsi | 60 ++++ drivers/pwm/Kconfig | 10 + drivers/pwm/Makefile | 1 + drivers/pwm/pwm-loongson.c | 300 ++++++++++++++++++ 9 files changed, 527 insertions(+), 1 deletion(-) create mode 100644 Documentation/devicetree/bindings/pwm/pwm-loongson.yaml create mode 100644 drivers/pwm/pwm-loongson.c -- 2.43.0