Re: [PATCH v6 1/2] dt-bindings: pwm: Add pwm-gpio

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04/06/2024 09:34, Kent Gibson wrote:
> On Tue, Jun 04, 2024 at 08:21:32AM +0200, Krzysztof Kozlowski wrote:
>> On 04/06/2024 04:51, Kent Gibson wrote:
>>> On Sun, Jun 02, 2024 at 10:33:08PM +0200, Linus Walleij wrote:
>>>> From: Nicola Di Lieto <nicola.dilieto@xxxxxxxxx>
>>>>
>>>> Add bindings for PWM modulated by GPIO.
>>>>
>>>
>>> Shouldn't the bindings be added after the driver?
>>
>> No. See submitting patches document.
>>
> 
> Hmmm, ok, so "5. The Documentation/ portion of the patch should come in
> the series before the code implementing the binding."[1]?
> 
> It just seems odd that you document something that doesn't exist yet.

It's logical. First you define the ABI for every user, then you
implement the ABI. Do you first implement software and then design? Or
first implement then write interface (API) for it?

Best regards,
Krzysztof





[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux