Re: [PATCH] dt-bindings: pwm: st: convert sti-pwm to DT schema

From: Raphaël Gallais-Pou
Date: Thu Aug 03 2023 - 03:14:42 EST


Hi

Le 02/08/2023 à 10:02, Uwe Kleine-König a écrit :
Hello,

On Wed, Aug 02, 2023 at 12:05:59AM +0200, Raphael Gallais-Pou wrote:
+ st,capture-num-chan:
+ $ref: "/schemas/types.yaml#/definitions/uint32"
+ description: Number of available Capture channels.

I have the theory that nobody actually uses the capture feature and I'd
like to get rid of it. People who do use it, should better switch to the
counter driver.

TBH I only found two drivers using it, including this one.

$ grep -rinI "\.capture" drivers/pwm/ | wc -l
2

While I agree that there is not much drivers using capture feature, I have mixed feelings about removing it.

I wonder if this is the opportunity to drop st,capture-num-chan. There
is no mainline user.

If there is no opposition about removing this feature I suggest to do it in a second time, in a serie.

Regards,
Raphaël

Best regards
Uwe