[PATCH v1 0/2] StarFive's Pulse Width Modulation driver support

William Qiu posted 2 patches 2 years, 6 months ago
There is a newer version of this series
.../devicetree/bindings/pwm/pwm-starfive.yaml |  54 ++++
MAINTAINERS                                   |   7 +
drivers/pwm/Kconfig                           |  10 +
drivers/pwm/Makefile                          |   1 +
drivers/pwm/pwm-starfive-ptc.c                | 256 ++++++++++++++++++
5 files changed, 328 insertions(+)
create mode 100644 Documentation/devicetree/bindings/pwm/pwm-starfive.yaml
create mode 100644 drivers/pwm/pwm-starfive-ptc.c
[PATCH v1 0/2] StarFive's Pulse Width Modulation driver support
Posted by William Qiu 2 years, 6 months ago
Hi,

This patchset adds initial rudimentary support for the StarFive
Pulse Width Modulation controller driver. And this driver will
be used in StarFive's VisionFive 2 board.The first patch add
Documentations for the device and Patch 2 adds device probe for
the module.

The patch series is based on v6.2.

William Qiu (2):
  dt-bindings: PWM: Add StarFive PWM module
  pwm: starfive: Add PWM driver support

 .../devicetree/bindings/pwm/pwm-starfive.yaml |  54 ++++
 MAINTAINERS                                   |   7 +
 drivers/pwm/Kconfig                           |  10 +
 drivers/pwm/Makefile                          |   1 +
 drivers/pwm/pwm-starfive-ptc.c                | 256 ++++++++++++++++++
 5 files changed, 328 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/pwm/pwm-starfive.yaml
 create mode 100644 drivers/pwm/pwm-starfive-ptc.c

--
2.34.1
Re: [PATCH v1 0/2] StarFive's Pulse Width Modulation driver support
Posted by Conor Dooley 2 years, 6 months ago
Hey William,

On Tue, Feb 28, 2023 at 05:13:43PM +0800, William Qiu wrote:
> Hi,
> 
> This patchset adds initial rudimentary support for the StarFive
> Pulse Width Modulation controller driver. And this driver will
> be used in StarFive's VisionFive 2 board.The first patch add
> Documentations for the device and Patch 2 adds device probe for
> the module.
> 
> The patch series is based on v6.2.
> 
> William Qiu (2):
>   dt-bindings: PWM: Add StarFive PWM module
>   pwm: starfive: Add PWM driver support

Is there a corresponding dts addition for this driver?

Cheers,
Conor.

Re: [PATCH v1 0/2] StarFive's Pulse Width Modulation driver support
Posted by William Qiu 2 years, 6 months ago

On 2023/3/1 16:10, Conor Dooley wrote:
> Hey William,
> 
> On Tue, Feb 28, 2023 at 05:13:43PM +0800, William Qiu wrote:
>> Hi,
>> 
>> This patchset adds initial rudimentary support for the StarFive
>> Pulse Width Modulation controller driver. And this driver will
>> be used in StarFive's VisionFive 2 board.The first patch add
>> Documentations for the device and Patch 2 adds device probe for
>> the module.
>> 
>> The patch series is based on v6.2.
>> 
>> William Qiu (2):
>>   dt-bindings: PWM: Add StarFive PWM module
>>   pwm: starfive: Add PWM driver support
> 
> Is there a corresponding dts addition for this driver?
> 
> Cheers,
> Conor
Hi Conor,

There is, but after communicating with Hal Feng, I decided to upload
bindings and driver based on mainline first, and then upload dts after
Hal Feng's minimal system is merged.

Best Regards
William