public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Lee Jones <lee.jones@linaro.org>
To: Laszlo Papp <lpapp@kde.org>
Cc: Linus Walleij <linus.walleij@linaro.org>,
	Krzysztof Kozlowski <k.kozlowski@samsung.com>,
	LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v3] mfd: MAX6650/6651 support
Date: Mon, 10 Feb 2014 14:05:40 +0000	[thread overview]
Message-ID: <20140210140540.GB23141@lee--X1> (raw)
In-Reply-To: <CAOMwXhMJTeO8ev++dzXKtz8En9pK+3CkjmweuLsb5aoU+e=Aqw@mail.gmail.com>

> >> +static struct mfd_cell max665x_devs[] = {
> >> +     { .name = "max6651-gpio", },
> >> +     { .name = "max6650", }, /* hwmon driver */
> >
> > What happened to renaming the hwmon driver, so we can have
> > "max6650-hwmon" here?
> 
> I will add the alias in the next patch (e.g. hwmon change). I can come
> back to this and rename then.

Better add this patch _after_ that change. That will prevent any
inherently awkward to handing 'cross subsystem' patches.

> >> +static const struct i2c_device_id max665x_id[] = {
> >> +     { "max6650", TYPE_MAX6650 },
> >> +     { "max6651", TYPE_MAX6651 },
> >> +     {},
> >
> > Can you remind me where these IDs are being used?
> 
> Strictly speaking, not in this change, so I can remove it and add
> later if needed.

Please remove them if they're not being used.

> >> +};
> >> +MODULE_DEVICE_TABLE(i2c, max665x_id);
> >> +
> >> +static struct i2c_driver max665x_driver = {
> >> +     .driver = {
> >> +             .name = "max665x",
> >> +             .owner = THIS_MODULE,
> >
> > All new drivers are required to support Device Tree.
> 
> Do you have some recommendation for documentation, examples, etc? I am
> new to this.

Documentation/devicetree/usage-model.txt
Documentation/devicetree/bindings/mfd/*

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

      parent reply	other threads:[~2014-02-10 14:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-10  8:04 [PATCH v3] mfd: MAX6650/6651 support Laszlo Papp
2014-02-10 11:22 ` Lee Jones
2014-02-10 13:17   ` Laszlo Papp
2014-02-10 13:34     ` Laszlo Papp
2014-02-10 14:05     ` Lee Jones [this message]

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=20140210140540.GB23141@lee--X1 \
    --to=lee.jones@linaro.org \
    --cc=k.kozlowski@samsung.com \
    --cc=linus.walleij@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lpapp@kde.org \
    /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