linux-leds.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Gaëtan Carlier" <gcembed@gmail.com>
To: Pavel Machek <pavel@ucw.cz>
Cc: linux-leds@vger.kernel.org
Subject: Re: Add driver for MCP45HV51 (digital potentiometer)
Date: Wed, 3 Jan 2018 19:38:31 +0100	[thread overview]
Message-ID: <b4331c91-b35c-5e02-d70e-daf7cc689442@gmail.com> (raw)
In-Reply-To: <20180103175628.GA31502@amd>

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...
> 
> 									Pavel
> 

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 ?

Best regards,
Gaëtan.

  reply	other threads:[~2018-01-03 18:38 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-03 16:08 Add driver for MCP45HV51 (digital potentiometer) Gaëtan Carlier
2018-01-03 17:56 ` Pavel Machek
2018-01-03 18:38   ` Gaëtan Carlier [this message]
2018-01-03 19:00     ` Pavel Machek
2018-01-03 19:25       ` Gaëtan Carlier
2018-01-03 19:37         ` Gaëtan Carlier
2018-01-03 20:02           ` Pavel Machek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b4331c91-b35c-5e02-d70e-daf7cc689442@gmail.com \
    --to=gcembed@gmail.com \
    --cc=linux-leds@vger.kernel.org \
    --cc=pavel@ucw.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).