Re: Question: what is the best way to use gpio-syscon driver

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

 



On Thu, Apr 26, 2018 at 03:15:20PM +0200, Linus Walleij wrote:

> If Mark doesn't say otherwise I think it would be wise to also skip
> the indirection for random syscon regulators, and go for a
> drivers/regulators/syscon-regulator.c
> based on the LEDs approach.

> At least it shaves off a layer of indirection and gets down
> to business.

Well, it depends on what the hardware is - if this genuinely is for
syscon-connected GPIO enabled regulators then that'd result in a bunch
of code duplication which doesn't seem great and mean that we run into
problems the minute someone decides to use both syscon and regular GPIOs
on a single regulator.

Attachment: signature.asc
Description: PGP signature


[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