Re: [PATCH] spi: core: use gpio_request_one for configured gpio cs

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

 



On Mon, Jul 24, 2017 at 3:02 PM, Mark Brown <broonie@xxxxxxxxxx> wrote:
> On Mon, Jul 24, 2017 at 01:49:14PM +0300, Andy Shevchenko wrote:
>
>> More and more hacks around plain GPIO integers... :-(
>
> I have to say now I've looked at the patch I'm also struggling to see
> how this is a hack around anything...

In case we switch to GPIO descriptors we can do a generic CS
allocation / request. The part in the patch does something witch would
be used only in OF case, while ACPI or built-in device properties are
missing.

-- 
With Best Regards,
Andy Shevchenko
--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [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