[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5b3419be-12ca-75d7-6f5e-d3338ddd7f14@castello.eng.br>
Date: Thu, 8 Mar 2018 15:47:22 -0400
From: Matheus Castello <matheus@...tello.eng.br>
To: Stefan Wahren <stefan.wahren@...e.com>
Cc: linus.walleij@...aro.org, eric@...olt.net,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 0/3] pinctrl: bcm2835: Add brcm,level property
Hi Stefan,
On 03/08/2018 04:00 AM, Stefan Wahren wrote:
> Hi Matheus,
>
>> Matheus Castello <matheus@...tello.eng.br> hat am 8. März 2018 um 01:12 geschrieben:
>>
>>
>> Hi Stefan,
>>
>> On 03/07/2018 07:58 AM, Stefan Wahren wrote:
>>> Hi Matheus,
>>>
>>>> Matheus Castello <matheus@...tello.eng.br> hat am 5. März 2018 um 03:29 geschrieben:
>>>>
>>>>
>>>> Hi Linus and Stefan,
>>>>
>>>> thanks for the tips.
>>>>
>>>> This series adds support for generic binding for pinctrl bcm2835 driver,
>>>> and add the code for set output buffer of a pin using the output-low and
>>>> output-high generic properties.
>>>>
>>>> Tested on Raspberry Pi Zero W, based on bcm2835 SoC.
>>>>
>>>> Matheus Castello (3):
>>>
>>> looks like you missed the changes to the dt binding. Please also add Rob Herring and Mark Rutland to CC. We need a ACK from them.
>>
>> are you talking about the .dts files? I add an overlay file for my tests.
>> I was thinking it would be better to start with this changes in the driver and then in another series to convert to the generic style in the .dts.
>> If you find it better already add the conversion also in this series let me know.
>>
>> I understood that I should put the device tree maintainers in thread only if I were to introduce a new property. As I am using generic properties and not introducing new ones I did not add them.
>> Let me know if it is still necessary I stayed in this doubt.
>
> no this is a misunderstanding. You are changing the DT interface because the driver supports new properties (from driver point of view). The DT users usually look at the binding document [1] not the source code. So you need to extend the binding document before changing the source code within a patch series. At the end we need a DT maintainer's ACK for the binding change. Using the generic properties doesn't allow us to skip this, but it increases the chance of an ACK.
>
> Btw it's okay to keep the DTS files.
>
> Stefan
>
> [1] - https://elixir.bootlin.com/linux/v4.16-rc4/source/Documentation/devicetree/bindings/pinctrl/brcm,bcm2835-gpio.txt
>
Ok, I got it, thank you, I will work on the patch v3.
Best Regards
Matheus Castello
>>
>> Best Regards
>> Matheus Castello
>>>
>>>> pinctrl: bcm2835: switch to GENERIC_PINCONF
>>>> pinctrl: bcm2835: Add support for generic pinctrl binding
>>>> pinctrl: bcm2835: Add support for output-low output-high properties
>>>>
>>>> drivers/pinctrl/bcm/Kconfig | 1 +
>>>> drivers/pinctrl/bcm/pinctrl-bcm2835.c | 88 +++++++++++++++++++++++------------
>>>> 2 files changed, 60 insertions(+), 29 deletions(-)
>>>>
>>>> --
>>>> 2.7.4
>>>>
Powered by blists - more mailing lists