Re: [PATCH v3 3/3] spi: cs42l43: Add bridged cs35l56 amplifiers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Apr 08, 2024 at 07:07:55PM +0300, Andy Shevchenko wrote:
> On Mon, Apr 8, 2024 at 6:35 PM Charles Keepax
> <ckeepax@xxxxxxxxxxxxxxxxxxxxx> wrote:
> > On Wed, Apr 03, 2024 at 11:47:36PM +0300, Andy Shevchenko wrote:
> > > Fri, Mar 29, 2024 at 11:47:30AM +0000, Charles Keepax kirjoitti:

...

> > > > +#include <dt-bindings/gpio/gpio.h>
> > >
> > > Hmm... Is it requirement by gpiolib-swnode? (I haven't looked at the use cases,
> > > I'm not the author of this idea, hence the Q).
> >
> > It's required for the GPIO_ACTIVE_LOW used in the swnode stuff.
> 
> Seems to me like you are mistaken.
> https://elixir.bootlin.com/linux/latest/source/drivers/gpio/gpiolib-swnode.c#L85

Okay, I stand corrected, under "native" the GPIO_* are assumed.

But what you need is to include gpio/property.h for that, and not directly
the DT header.

-- 
With Best Regards,
Andy Shevchenko






[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux