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 USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux