Re: [PATCH 0/2] irqchip: irq-mt58xx: Add mt58xx series interrupt
From: Daniel Palmer
Date: Thu Aug 06 2020 - 12:46:09 EST
Hi Mark-PK,
On Thu, 6 Aug 2020 at 23:08, Mark-PK Tsai <mark-pk.tsai@xxxxxxxxxxxx> wrote:
> > Do you know if it would be possible to confirm if they are
> > the
> > same thing? MediaTek bought MStar a few years ago so it seems likely
> > but I have no hard information.
> >
>
> Yes, it's for the same interrupt controller IP.
That's good news. :)
> > If they are the same thing could we work on making one series that
> > supports both use cases?
>
> Sure, and I think the irq controller driver should support both use cases.
> So how about keep the MTK version driver?
I'm fine with that. Maybe you can push the MTK version and I can send
a small patch after that to add the small bits I need?
> I'll send patch v2 after -rc1 as I mentioned in the previous mail,
> and keep you posted.
> And any suggestion is welcome. :)
I think Marc's comments on my series apply to your driver and I think
maybe answer some of the questions you had. For example what
to do about the read-modify-write sequence for updating the registers.
> > It's also possible that if the interrupt controller is the same some
> > other things like the SPI NOR controller etc are also common and
> > working
> > on a single driver for those would save us both time.
>
> I'm not sure about that.
> I'll check the patches you contributed and confirm with our driver owners.
I have a very messy tree with support for the SPI NOR controller, SPI, i2c etc
that were used in MStar chips. If any of those are shared it'd be great to know.
Thanks,
Daniel