Re: [PATCH v3 07/11] dt-bindings: sc16is7xx: Add property to change GPIO function
From: Hugo Villeneuve
Date: Thu May 25 2023 - 10:34:56 EST
On Thu, 25 May 2023 14:11:22 +0300
andy.shevchenko@xxxxxxxxx wrote:
> Thu, May 25, 2023 at 12:03:21AM -0400, Hugo Villeneuve kirjoitti:
> > From: Hugo Villeneuve <hvilleneuve@xxxxxxxxxxxx>
> >
> > Some variants in this series of uart controllers have GPIO pins that
>
> UART
Hi,
fixed.
> > are shared between GPIO and modem control lines.
> >
> > The pin mux mode (GPIO or modem control lines) can be set for each
> > ports (channels) supported by the variant.
> >
> > This adds a property to the device tree to set the GPIO pin mux to
> > modem control lines on selected ports if needed.
>
> I'm wondering if we can convert this to YAML first and then add a new property.
Hi,
I also thought about it, then decided to focus on simply adding the new property first since I am not an expert in YAML.
I think it would be best to do it after this patch series. Keep in mind that the original intent of this patch series, and this new property, was to fix a regression related to the GPIOs, and I think that converting to YAML would simply delay and add much noise to the discussion at this point.
If someone wants to do it as a separate patch after this, fine. If not, I an willing to give it a go.
Hugo.