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

Message ID 20230228091345.70515-1-william.qiu@starfivetech.com
Headers
Series StarFive's Pulse Width Modulation driver support |

Message

William Qiu Feb. 28, 2023, 9:13 a.m. UTC
  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
  

Comments

Conor Dooley March 1, 2023, 8:10 a.m. UTC | #1
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.
  
William Qiu March 1, 2023, 8:17 a.m. UTC | #2
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