Re: [PATCH] i2c: add i2c bus driver for amd navi gpu

From: Andy Shevchenko
Date: Mon Mar 29 2021 - 08:37:05 EST


On Mon, Mar 29, 2021 at 11:25:58AM +0530, Goswami, Sanket wrote:
> On 26-Mar-21 16:10, Andy Shevchenko wrote:
> > On Fri, Mar 26, 2021 at 03:53:34PM +0530, Goswami, Sanket wrote:
> >> On 25-Mar-21 22:35, Andy Shevchenko wrote:
> >>> On Mon, Mar 22, 2021 at 10:26:55PM +0530, Goswami, Sanket wrote:
> >>>> On 09-Mar-21 19:56, Andy Shevchenko wrote:
> >>>>> On Tue, Mar 09, 2021 at 07:01:47PM +0530, Sanket Goswami wrote:

...

> >>> And I think I already have told you that I prefer to see rather MODEL_ quirk.
> >>
> >> I did not find MODEL_ quirk reference in the PCI device tree, It is actually
> >> used in platform device tree which is completely different from our PCI
> >> based configuration, can you please provide some reference of MODEL_ quirk
> >> which will be part of the PCI device tree?
> >
> > I meant the name of new definition for quirk.
>
> Can you please elaborate this? i am not able to comprehend.

Define in the i2c-designware-core.h something like
#define MODEL_AMD_BLA_BLA_BLA BIT(FOO)


--
With Best Regards,
Andy Shevchenko