linux-amlogic.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: b.galvani@gmail.com (Beniamino Galvani)
To: linus-amlogic@lists.infradead.org
Subject: [PATCH 1/2] i2c: add Amlogic Meson driver
Date: Sun, 26 Nov 2017 17:49:59 +0100	[thread overview]
Message-ID: <20171126164959.GA28091@gmail.com> (raw)
In-Reply-To: <CAPnjgZ16FmTk0ev5z=p5ng+SfhPWujkFF26_nFsAE8bdMQ0+QQ@mail.gmail.com>

On Mon, Nov 20, 2017 at 08:36:34AM -0700, Simon Glass wrote:
> Hi Benjamin,
> 
> On 29 October 2017 at 03:09, Beniamino Galvani <b.galvani@gmail.com> wrote:
> >
> > Add a driver for the I2C controller available on Amlogic Meson SoCs.
> >
> > Signed-off-by: Beniamino Galvani <b.galvani@gmail.com>
> > ---
> >  arch/arm/include/asm/arch-meson/i2c.h |  11 ++
> >  drivers/i2c/Kconfig                   |   6 +
> >  drivers/i2c/Makefile                  |   1 +
> >  drivers/i2c/meson_i2c.c               | 263 ++++++++++++++++++++++++++++++++++
> >  4 files changed, 281 insertions(+)
> >  create mode 100644 arch/arm/include/asm/arch-meson/i2c.h
> >  create mode 100644 drivers/i2c/meson_i2c.c
> 
> Reviewed-by: Simon Glass <sjg@chromium.org>
> 
> But please look at the comments below.

Hi Simon,

I addressed your suggestions in a follow-up series, thanks.

> > +U_BOOT_DRIVER(i2c_meson) = {
> > +       .name = "i2c_meson",
> > +       .id   = UCLASS_I2C,
> > +       .of_match = meson_i2c_ids,
> > +       .probe = meson_i2c_probe,
> > +       .priv_auto_alloc_size = sizeof(struct meson_i2c),
> 
> I think meson_i2c_priv might be a better name since it indicates that
> it is driver-private data. But if you prefer the shorter name, that's
> fine with me.

I think I slightly prefer it, but both would be fine. Since the patch
is already applied, let's keep it as is?

Beniamino

  reply	other threads:[~2017-11-26 16:49 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-29  9:08 [PATCH 0/2] Amlogic I2C driver for u-boot Beniamino Galvani
2017-10-29  9:09 ` [PATCH 1/2] i2c: add Amlogic Meson driver Beniamino Galvani
2017-10-29 14:44   ` Neil Armstrong
2017-11-20 12:39   ` Heiko Schocher
2017-11-20 15:36   ` Simon Glass
2017-11-26 16:49     ` Beniamino Galvani [this message]
2017-11-27 17:10       ` Simon Glass
2017-10-29  9:09 ` [PATCH 2/2] odroid-c2: enable I2C Beniamino Galvani
2017-10-29 14:42   ` Neil Armstrong
2017-11-20 12:40   ` Heiko Schocher

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=20171126164959.GA28091@gmail.com \
    --to=b.galvani@gmail.com \
    --cc=linus-amlogic@lists.infradead.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;
as well as URLs for NNTP newsgroup(s).