Re: small brainstorm for the problem I have

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

 



On Mon, Feb 10, 2025 at 10:31 AM Andy Shevchenko
<andriy.shevchenko@xxxxxxxxxxxxxxx> wrote:

> 2) The firmware for the device uses already some names for the GPIO lines that
> not compatible with SPI GPIO schema.

I guess you mean the node names
like "cs", "mosi", "miso", "sck"?

> I was thinking about the following:
> 1) Use GPIO aggregator to fake the chip that will provide necessary names.
>
> 2) Hack the GPIO library to add a quirk for this specific device to translate
> the line names.

I would honestly do (2) if it was device tree, because we already
have nicely centralized quirks for it, but for ACPI I don't know :/
Aggregator feels a bit like overkill for this.

Yours,
Linus Walleij





[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