All of lore.kernel.org
 help / color / mirror / Atom feed
From: Simon Horman <horms@verge.net.au>
To: linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH/RFC 04/19] ARM: shmobile: r8a7793: add iic(b) to device tree
Date: Mon, 14 Dec 2015 02:21:46 +0000	[thread overview]
Message-ID: <20151214022145.GE13945@verge.net.au> (raw)
In-Reply-To: <CAMuHMdWyHHV-QOXc-7g0XjWvWbhb8RcKkX+NTvA1HMngpM1sPQ@mail.gmail.com>

On Fri, Dec 11, 2015 at 10:40:16AM +0100, Geert Uytterhoeven wrote:
> Hi Simon,
> 
> On Fri, Dec 11, 2015 at 3:52 AM, Simon Horman
> <horms+renesas@verge.net.au> wrote:
> > Instantiate iic(b) controllers in r8a7793 device tree.
> >
> > Based on similar work for the r8a7791 and r8a7791 by Wolfram Sang.
> >
> > Cc: Wolfram Sang <wsa@sang-engineering.com>
> > Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
> >
> > ---
> > The out-of order aliasing of iic to i2c is as per the documentation.
> > This differs from the scheme in use in the dtsi files for
> > other R-Car SoCs.
> >
> > It would be nice to harmonise this somehow but I'm unsure of the backwards
> > compatibility issues.
> >
> > For reference those aliases are:
> 
> > * r8a7791:
> >   - i2c0 = &i2c0;
> >   - i2c1 = &i2c1;
> >   - i2c2 = &i2c2;
> >   - i2c3 = &i2c3;
> >   - i2c4 = &i2c4;
> >   - i2c5 = &i2c5;
> >   - i2c6 = &i2c6;
> >   - i2c7 = &i2c7;
> >   - i2c8 = &i2c8;
> >
> >   Notes:
> >   - i2c is used in place of iic and it is my understanding that
> >     i2c6 is iic0, i2c7 is iic1 and i2c8 is iic3.
> >   - iic3 is not present on this SoC
> 
> ii2c is not present

Sorry, iic3 is present and iic2 is not.

> >   - Documentation makes note of (v1.02, table 12.2.1).
> 
> Which document is this exactly?

I am looking at:

R-Car Series, 2nd Generation
User's Manual: Hardware
Rev.1.02 Oct 2014

> >     They are the same as those used in this patch for the r8a7793
> 
> Gr{oetje,eeting}s,
> 
>                         Geert
> 
> --
> Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
> 
> In personal conversations with technical people, I call myself a hacker. But
> when I'm talking to journalists I just say "programmer" or something like that.
>                                 -- Linus Torvalds
> 

WARNING: multiple messages have this Message-ID (diff)
From: horms@verge.net.au (Simon Horman)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH/RFC 04/19] ARM: shmobile: r8a7793: add iic(b) to device tree
Date: Mon, 14 Dec 2015 11:21:46 +0900	[thread overview]
Message-ID: <20151214022145.GE13945@verge.net.au> (raw)
In-Reply-To: <CAMuHMdWyHHV-QOXc-7g0XjWvWbhb8RcKkX+NTvA1HMngpM1sPQ@mail.gmail.com>

On Fri, Dec 11, 2015 at 10:40:16AM +0100, Geert Uytterhoeven wrote:
> Hi Simon,
> 
> On Fri, Dec 11, 2015 at 3:52 AM, Simon Horman
> <horms+renesas@verge.net.au> wrote:
> > Instantiate iic(b) controllers in r8a7793 device tree.
> >
> > Based on similar work for the r8a7791 and r8a7791 by Wolfram Sang.
> >
> > Cc: Wolfram Sang <wsa@sang-engineering.com>
> > Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
> >
> > ---
> > The out-of order aliasing of iic to i2c is as per the documentation.
> > This differs from the scheme in use in the dtsi files for
> > other R-Car SoCs.
> >
> > It would be nice to harmonise this somehow but I'm unsure of the backwards
> > compatibility issues.
> >
> > For reference those aliases are:
> 
> > * r8a7791:
> >   - i2c0 = &i2c0;
> >   - i2c1 = &i2c1;
> >   - i2c2 = &i2c2;
> >   - i2c3 = &i2c3;
> >   - i2c4 = &i2c4;
> >   - i2c5 = &i2c5;
> >   - i2c6 = &i2c6;
> >   - i2c7 = &i2c7;
> >   - i2c8 = &i2c8;
> >
> >   Notes:
> >   - i2c is used in place of iic and it is my understanding that
> >     i2c6 is iic0, i2c7 is iic1 and i2c8 is iic3.
> >   - iic3 is not present on this SoC
> 
> ii2c is not present

Sorry, iic3 is present and iic2 is not.

> >   - Documentation makes note of (v1.02, table 12.2.1).
> 
> Which document is this exactly?

I am looking at:

R-Car Series, 2nd Generation
User's Manual: Hardware
Rev.1.02 Oct 2014

> >     They are the same as those used in this patch for the r8a7793
> 
> Gr{oetje,eeting}s,
> 
>                         Geert
> 
> --
> Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org
> 
> In personal conversations with technical people, I call myself a hacker. But
> when I'm talking to journalists I just say "programmer" or something like that.
>                                 -- Linus Torvalds
> 

  reply	other threads:[~2015-12-14  2:21 UTC|newest]

Thread overview: 95+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-11  2:52 [PATCH/RFC 00/19] r8a7793, gose: Add i2c and audio support to device tree Simon Horman
2015-12-11  2:52 ` Simon Horman
2015-12-11  2:52 ` [PATCH/RFC 01/19] ARM: shmobile: r8a7793: add i2c clocks Simon Horman
2015-12-11  2:52   ` Simon Horman
2015-12-13 18:59   ` Laurent Pinchart
2015-12-13 18:59     ` Laurent Pinchart
2015-12-11  2:52 ` [PATCH/RFC 02/19] ARM: shmobile: r8a7793: add i2c to device tree Simon Horman
2015-12-11  2:52   ` Simon Horman
2015-12-11  2:52 ` [PATCH/RFC 03/19] ARM: shmobile: gose: add i2c2 bus " Simon Horman
2015-12-11  2:52   ` Simon Horman
2015-12-11 11:25   ` Sergei Shtylyov
2015-12-11 11:25     ` Sergei Shtylyov
2015-12-14  2:11     ` Simon Horman
2015-12-14  2:11       ` Simon Horman
2015-12-14  7:11       ` Wolfram Sang
2015-12-14  7:11         ` Wolfram Sang
2015-12-14  9:39         ` Geert Uytterhoeven
2015-12-14  9:39           ` Geert Uytterhoeven
2015-12-18  3:02           ` Simon Horman
2015-12-18  3:02             ` Simon Horman
2015-12-18  7:35             ` I2C eeprom compatibles? (was Re: [PATCH/RFC 03/19] ARM: shmobile: gose: add i2c2 bus to device tree) Wolfram Sang
2015-12-18  7:35               ` Wolfram Sang
2015-12-18  7:35               ` Wolfram Sang
2015-12-18  9:06               ` I2C eeprom compatibles? (was Re: [PATCH/RFC 03/19] ARM: shmobile: gose: add i2c2 bus to device t Arnd Bergmann
2015-12-18  9:06                 ` I2C eeprom compatibles? (was Re: [PATCH/RFC 03/19] ARM: shmobile: gose: add i2c2 bus to device tree) Arnd Bergmann
2015-12-18  9:06                 ` Arnd Bergmann
2015-12-18 10:32                 ` I2C eeprom compatibles? (was Re: [PATCH/RFC 03/19] ARM: shmobile: gose: add i2c2 bus to device t Wolfram Sang
2015-12-18 10:32                   ` I2C eeprom compatibles? (was Re: [PATCH/RFC 03/19] ARM: shmobile: gose: add i2c2 bus to device tree) Wolfram Sang
2015-12-18 10:32                   ` Wolfram Sang
2015-12-21  4:33                   ` I2C eeprom compatibles? (was Re: [PATCH/RFC 03/19] ARM: shmobile: gose: add i2c2 bus to device t Simon Horman
2015-12-21  4:33                     ` I2C eeprom compatibles? (was Re: [PATCH/RFC 03/19] ARM: shmobile: gose: add i2c2 bus to device tree) Simon Horman
2015-12-21  4:33                     ` Simon Horman
2015-12-21  8:02                     ` I2C eeprom compatibles? (was Re: [PATCH/RFC 03/19] ARM: shmobile: gose: add i2c2 bus to device t Geert Uytterhoeven
2015-12-21  8:02                       ` I2C eeprom compatibles? (was Re: [PATCH/RFC 03/19] ARM: shmobile: gose: add i2c2 bus to device tree) Geert Uytterhoeven
2015-12-21  8:02                       ` Geert Uytterhoeven
2015-12-14 17:03       ` [PATCH/RFC 03/19] ARM: shmobile: gose: add i2c2 bus to device tree Sergei Shtylyov
2015-12-14 17:03         ` Sergei Shtylyov
2015-12-11  2:52 ` [PATCH/RFC 04/19] ARM: shmobile: r8a7793: add iic(b) " Simon Horman
2015-12-11  2:52   ` Simon Horman
2015-12-11  9:40   ` Geert Uytterhoeven
2015-12-11  9:40     ` Geert Uytterhoeven
2015-12-14  2:21     ` Simon Horman [this message]
2015-12-14  2:21       ` Simon Horman
2015-12-14  8:13       ` Geert Uytterhoeven
2015-12-14  8:13         ` Geert Uytterhoeven
2015-12-11  2:52 ` [PATCH/RFC 05/19] ARM: shmobile: r8a7793: add MSTP10 clocks " Simon Horman
2015-12-11  2:52   ` Simon Horman
2015-12-14  1:00   ` Kuninori Morimoto
2015-12-14  1:00     ` Kuninori Morimoto
2015-12-14  1:47     ` Simon Horman
2015-12-14  1:47       ` Simon Horman
2015-12-14  3:49       ` Kuninori Morimoto
2015-12-14  3:49         ` Kuninori Morimoto
2015-12-14  9:41       ` Geert Uytterhoeven
2015-12-14  9:41         ` Geert Uytterhoeven
2015-12-11  2:52 ` [PATCH/RFC 06/19] ARM: shmobile: r8a7793: add audio clock " Simon Horman
2015-12-11  2:52   ` Simon Horman
2015-12-11  2:52 ` [PATCH/RFC 07/19] ARM: shmobile: r8a7793: add m2 " Simon Horman
2015-12-11  2:52   ` Simon Horman
2015-12-13 18:56   ` Laurent Pinchart
2015-12-13 18:56     ` Laurent Pinchart
2015-12-11  2:52 ` [PATCH/RFC 08/19] ARM: shmobile: r8a7793: add R-Car sound support " Simon Horman
2015-12-11  2:52   ` Simon Horman
2015-12-11  9:44   ` Geert Uytterhoeven
2015-12-11  9:44     ` Geert Uytterhoeven
2015-12-14  1:49     ` Simon Horman
2015-12-14  1:49       ` Simon Horman
2015-12-11  2:52 ` [PATCH/RFC 09/19] ARM: shmobile: r8a7793: add DVC " Simon Horman
2015-12-11  2:52   ` Simon Horman
2015-12-11  2:52 ` [PATCH/RFC 10/19] ARM: shmobile: r8a7793: add audio DMAC clocks " Simon Horman
2015-12-11  2:52   ` Simon Horman
2015-12-11  2:52 ` [PATCH/RFC 11/19] ARM: shmobile: r8a7793: add audio DMAC " Simon Horman
2015-12-11  2:52   ` Simon Horman
2015-12-11  2:52 ` [PATCH/RFC 12/19] ARM: shmobile: gose: Enable sound PIO support in " Simon Horman
2015-12-11  2:52   ` Simon Horman
2015-12-11  2:52 ` [PATCH/RFC 13/19] ARM: shmobile: gose: enable sound DMA " Simon Horman
2015-12-11  2:52   ` Simon Horman
2015-12-11  2:52 ` [PATCH/RFC 14/19] ARM: shmobile: gose: enable sound DMA support via BUSIF " Simon Horman
2015-12-11  2:52   ` Simon Horman
2015-12-11  2:52 ` [PATCH/RFC 15/19] ARM: shmobile: gose: enable sound DMA support via SRC " Simon Horman
2015-12-11  2:52   ` Simon Horman
2015-12-11  2:52 ` [PATCH/RFC 16/19] ARM: shmobile: gose: enable sound DMA support via DVC " Simon Horman
2015-12-11  2:52   ` Simon Horman
2015-12-11  2:52 ` [PATCH/RFC 17/19] ARM: shmobile: r8a7793: enable audio DMAC " Simon Horman
2015-12-11  2:52   ` Simon Horman
2015-12-11  2:52 ` [PATCH/RFC 18/19] ARM: shmobile: r8a7793: Add Audio CTU support to " Simon Horman
2015-12-11  2:52   ` Simon Horman
2015-12-11  2:52 ` [PATCH/RFC 19/19] ARM: shmobile: r8a7793: add Audio MIX " Simon Horman
2015-12-11  2:52   ` Simon Horman
2015-12-14  1:07   ` Kuninori Morimoto
2015-12-14  1:07     ` Kuninori Morimoto
2015-12-14  1:54     ` Simon Horman
2015-12-14  1:54       ` Simon Horman
2015-12-11  9:45 ` [PATCH/RFC 00/19] r8a7793, gose: Add i2c and audio " Geert Uytterhoeven
2015-12-11  9:45   ` Geert Uytterhoeven

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=20151214022145.GE13945@verge.net.au \
    --to=horms@verge.net.au \
    --cc=linux-arm-kernel@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.