Re: Add driver for MCP45HV51 (digital potentiometer)

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

 



On Wed 2018-01-03 19:38:31, Gaëtan Carlier wrote:
> Hi Pavel,
> On 01/03/2018 06:56 PM, Pavel Machek wrote:
> >Hi!
> >
> >>I want to integrate MCP45HV51 I2C device to Linux kernel. It is a digital
> >>potentiometer.
> >>I have several questions:
> >>- Is "leds driver" the correct section ?
> >>- On which existing I2C leds driver should I base my code to use the most
> >>recent API/pratice ?
> >>- Maybe it is not needed to write a C driver and everything can be done via
> >>devicetree ?
> >
> >Umm. What makes you think that LED driver is correct section? LEDs are
> >little lights...
> 
> I know that, but like Led and Backlight, digital potentiometers are just a
> device that needs a 0 to 255 value...
> So I don't know where to put it maybe in IIO driver ?

Is that _output_ device? What does it control?

									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux