Re: [PATCH] arm64: dts: imx8mn-var-som-symphony: fix USB OTG

From: Hugo Villeneuve
Date: Wed Jul 05 2023 - 10:48:51 EST


On Wed, 5 Jul 2023 14:31:40 +0000
Nate Drude <Nate.D@xxxxxxxxxxxxx> wrote:

> Hi Hugo,
>
> On 7/5/23 9:25 AM, Hugo Villeneuve wrote:
> > [Some people who received this message don't often get email from hugo@xxxxxxxxxxx. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
> >
> > On Wed, 5 Jul 2023 10:49:01 -0300
> > Fabio Estevam <festevam@xxxxxxxxx> wrote:
> >
> >> Hi Nate,
> >>
> >> On Wed, Jul 5, 2023 at 10:42 AM Nate Drude <Nate.D@xxxxxxxxxxxxx> wrote:
> >>
> >>> The patch 'drivers: extcon: ptn5150: Add irq-is-id-quirk' referred to by Fabio is required for OTG to work correctly on all versions of the Symphony board.
> >>>
> >>> I can submit this patch mainline, do you think it will be accepted as is?
> >>
> >> I think it is worth submitting it to get some feedback from the
> >> ptn5150 and DT maintainers.
> >>
> >> Thanks
> >
> > Hi,
> > if I understand correctly, the irq-is-id-quirk device tree property
> > would be required for newer EVK boards, but not for older boards.
> >
> > How can we support both configurations with the current device tree?
> >
> > Hugo.
> For some time, we maintained a legacy device tree file: https://github.com/varigit/linux-imx/blob/5.4-2.1.x-imx_var01/arch/arm64/boot/dts/freescale/imx8mn-var-som-symphony-legacy.dts
>
> However, it is no longer being maintained in our newest kernel branches.
>
> Regards,
> Nate

Fabio: do we need to support both configurations in the Linux kernel
tree, and if yes how do you propose we do it?

Thank you,
Hugo.