linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] Lager i2c bus support
@ 2013-09-10 11:39 Ulrich Hecht
  2013-09-10 21:10 ` Guennadi Liakhovetski
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Ulrich Hecht @ 2013-09-10 11:39 UTC (permalink / raw)
  To: linux-sh

This is the i2c part of the previously posted HDMI encoder RFC. The
following suggestions have been applied:

- keep platform device out of SoC setup
- use device ID to trigger H2-specific behavior in i2c driver
  instead of platform data
- minor adjustments for style
- subjects cleared up

(The pinmux patch has been adopted by Laurent and thus omitted here.)

CU
Uli


Nguyen Viet Dung (2):
  i2c: rcar: support R-Car H2 in i2c bus driver
  ARM: shmobile: r8a7790: add the I2C bus clock

Ulrich Hecht (1):
  ARM: shmobile: r8a7790: lager: i2c support

 arch/arm/mach-shmobile/board-lager.c   | 60 ++++++++++++++++++++++++++++++++++
 arch/arm/mach-shmobile/clock-r8a7790.c | 11 +++++++
 drivers/i2c/busses/i2c-rcar.c          | 35 ++++++++++++++++++--
 3 files changed, 104 insertions(+), 2 deletions(-)

-- 
1.8.1.4


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH 0/3] Lager i2c bus support
  2013-09-10 11:39 [PATCH 0/3] Lager i2c bus support Ulrich Hecht
@ 2013-09-10 21:10 ` Guennadi Liakhovetski
  2013-09-12 13:51 ` Guennadi Liakhovetski
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Guennadi Liakhovetski @ 2013-09-10 21:10 UTC (permalink / raw)
  To: linux-sh

Hi Ulrich

On Tue, 10 Sep 2013, Ulrich Hecht wrote:

> This is the i2c part of the previously posted HDMI encoder RFC. The
> following suggestions have been applied:
> 
> - keep platform device out of SoC setup
> - use device ID to trigger H2-specific behavior in i2c driver
>   instead of platform data
> - minor adjustments for style
> - subjects cleared up
> 
> (The pinmux patch has been adopted by Laurent and thus omitted here.)
> 
> CU
> Uli
> 
> 
> Nguyen Viet Dung (2):
>   i2c: rcar: support R-Car H2 in i2c bus driver
>   ARM: shmobile: r8a7790: add the I2C bus clock
> 
> Ulrich Hecht (1):
>   ARM: shmobile: r8a7790: lager: i2c support

Some of this patches will conflict with this my series

http://thread.gmane.org/gmane.linux.kernel/1558455

Most conflicts won't be hard to resolve, you only add I2C busses 1 and 2, 
whereas I'm more interested in bus #3 (DVFS) on r8a7790. But there are 
also some other differences: if these my patches

http://thread.gmane.org/gmane.linux.ports.sh.devel/26975

get accepted, then the clock scheme for I2C on H2 will change a bit, e.g. 
the peripheral_clock won't be needed. And I really think that should be 
the right way to go. Let's wait for some comments.

Thanks
Guennadi

> 
>  arch/arm/mach-shmobile/board-lager.c   | 60 ++++++++++++++++++++++++++++++++++
>  arch/arm/mach-shmobile/clock-r8a7790.c | 11 +++++++
>  drivers/i2c/busses/i2c-rcar.c          | 35 ++++++++++++++++++--
>  3 files changed, 104 insertions(+), 2 deletions(-)
> 
> -- 
> 1.8.1.4
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-sh" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
http://www.open-technology.de/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH 0/3] Lager i2c bus support
  2013-09-10 11:39 [PATCH 0/3] Lager i2c bus support Ulrich Hecht
  2013-09-10 21:10 ` Guennadi Liakhovetski
@ 2013-09-12 13:51 ` Guennadi Liakhovetski
  2013-09-16 13:23 ` Ulrich Hecht
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Guennadi Liakhovetski @ 2013-09-12 13:51 UTC (permalink / raw)
  To: linux-sh

Hi Simon

On Tue, 10 Sep 2013, Guennadi Liakhovetski wrote:

> Hi Ulrich
> 
> On Tue, 10 Sep 2013, Ulrich Hecht wrote:
> 
> > This is the i2c part of the previously posted HDMI encoder RFC. The
> > following suggestions have been applied:
> > 
> > - keep platform device out of SoC setup
> > - use device ID to trigger H2-specific behavior in i2c driver
> >   instead of platform data
> > - minor adjustments for style
> > - subjects cleared up
> > 
> > (The pinmux patch has been adopted by Laurent and thus omitted here.)
> > 
> > CU
> > Uli
> > 
> > 
> > Nguyen Viet Dung (2):
> >   i2c: rcar: support R-Car H2 in i2c bus driver
> >   ARM: shmobile: r8a7790: add the I2C bus clock
> > 
> > Ulrich Hecht (1):
> >   ARM: shmobile: r8a7790: lager: i2c support
> 
> Some of this patches will conflict with this my series
> 
> http://thread.gmane.org/gmane.linux.kernel/1558455
> 
> Most conflicts won't be hard to resolve, you only add I2C busses 1 and 2, 
> whereas I'm more interested in bus #3 (DVFS) on r8a7790. But there are 
> also some other differences: if these my patches
> 
> http://thread.gmane.org/gmane.linux.ports.sh.devel/26975
> 
> get accepted, then the clock scheme for I2C on H2 will change a bit, e.g. 
> the peripheral_clock won't be needed. And I really think that should be 
> the right way to go. Let's wait for some comments.

What is your preferred way to resolve this? We can choose one of the 
following:

1. merge the two i2c clock patches into one - feel free to take my code 
into "ARM: shmobile: r8a7790: add the I2C bus clock" from this series

2. port one of the patches on top of the other one - if this series isn't 
going to be modified again, I can port my patch on top of it.

Thanks
Guennadi

> >  arch/arm/mach-shmobile/board-lager.c   | 60 ++++++++++++++++++++++++++++++++++
> >  arch/arm/mach-shmobile/clock-r8a7790.c | 11 +++++++
> >  drivers/i2c/busses/i2c-rcar.c          | 35 ++++++++++++++++++--
> >  3 files changed, 104 insertions(+), 2 deletions(-)
> > 
> > -- 
> > 1.8.1.4

---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
http://www.open-technology.de/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH 0/3] Lager i2c bus support
  2013-09-10 11:39 [PATCH 0/3] Lager i2c bus support Ulrich Hecht
  2013-09-10 21:10 ` Guennadi Liakhovetski
  2013-09-12 13:51 ` Guennadi Liakhovetski
@ 2013-09-16 13:23 ` Ulrich Hecht
  2013-09-19 21:28 ` Simon Horman
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Ulrich Hecht @ 2013-09-16 13:23 UTC (permalink / raw)
  To: linux-sh

On Thu, Sep 12, 2013 at 3:51 PM, Guennadi Liakhovetski
<g.liakhovetski@gmx.de> wrote:
> What is your preferred way to resolve this? We can choose one of the
> following:
>
> 1. merge the two i2c clock patches into one - feel free to take my code
> into "ARM: shmobile: r8a7790: add the I2C bus clock" from this series
>
> 2. port one of the patches on top of the other one - if this series isn't
> going to be modified again, I can port my patch on top of it.

Since my DU stuff will have to be ported to DT anyway and I have found
that my work towards that on the rcar-i2c driver is virtually
identical to what Guennadi has already posted, I'd suggest to go with
his version.

CU
Uli

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH 0/3] Lager i2c bus support
  2013-09-10 11:39 [PATCH 0/3] Lager i2c bus support Ulrich Hecht
                   ` (2 preceding siblings ...)
  2013-09-16 13:23 ` Ulrich Hecht
@ 2013-09-19 21:28 ` Simon Horman
  2013-09-25  4:59 ` Simon Horman
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Simon Horman @ 2013-09-19 21:28 UTC (permalink / raw)
  To: linux-sh

On Mon, Sep 16, 2013 at 03:23:46PM +0200, Ulrich Hecht wrote:
> On Thu, Sep 12, 2013 at 3:51 PM, Guennadi Liakhovetski
> <g.liakhovetski@gmx.de> wrote:

Apologies for me excessively slow response.

> > What is your preferred way to resolve this? We can choose one of the
> > following:
> >
> > 1. merge the two i2c clock patches into one - feel free to take my code
> > into "ARM: shmobile: r8a7790: add the I2C bus clock" from this series
> >
> > 2. port one of the patches on top of the other one - if this series isn't
> > going to be modified again, I can port my patch on top of it.
> 
> Since my DU stuff will have to be ported to DT anyway and I have found
> that my work towards that on the rcar-i2c driver is virtually
> identical to what Guennadi has already posted, I'd suggest to go with
> his version.

That sounds like a good resolution to me.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH 0/3] Lager i2c bus support
  2013-09-10 11:39 [PATCH 0/3] Lager i2c bus support Ulrich Hecht
                   ` (3 preceding siblings ...)
  2013-09-19 21:28 ` Simon Horman
@ 2013-09-25  4:59 ` Simon Horman
  2013-09-25  8:50 ` Laurent Pinchart
  2013-09-25 23:48 ` Simon Horman
  6 siblings, 0 replies; 8+ messages in thread
From: Simon Horman @ 2013-09-25  4:59 UTC (permalink / raw)
  To: linux-sh

On Thu, Sep 19, 2013 at 02:28:20PM -0700, Simon Horman wrote:
> On Mon, Sep 16, 2013 at 03:23:46PM +0200, Ulrich Hecht wrote:
> > On Thu, Sep 12, 2013 at 3:51 PM, Guennadi Liakhovetski
> > <g.liakhovetski@gmx.de> wrote:
> 
> Apologies for me excessively slow response.
> 
> > > What is your preferred way to resolve this? We can choose one of the
> > > following:
> > >
> > > 1. merge the two i2c clock patches into one - feel free to take my code
> > > into "ARM: shmobile: r8a7790: add the I2C bus clock" from this series
> > >
> > > 2. port one of the patches on top of the other one - if this series isn't
> > > going to be modified again, I can port my patch on top of it.
> > 
> > Since my DU stuff will have to be ported to DT anyway and I have found
> > that my work towards that on the rcar-i2c driver is virtually
> > identical to what Guennadi has already posted, I'd suggest to go with
> > his version.
> 
> That sounds like a good resolution to me.

Btw, as far as I can see the current status of this work is as follows.

1. Awaiting Ack from Laurent on
   "pinctrl: sh-pfc: r8a7790: add pin definitions for the I2C3 interface"
   by Guennadi. This patch is targeted at Linus Walleji's tree.

2. Once Linus has queued up that patch I will queue up
   "ARM: shmobile: r8a7790: add I2C support in Device Tree mode"
   in the renesas tree.

3. From there I think you should be able to repost the parts of your
   series that aren't included in Guennadi's work.

To be clear: I have marked this series as "Changes Requested" in patchwork
and it is will not be on my radar unless it is re-posted in some form.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH 0/3] Lager i2c bus support
  2013-09-10 11:39 [PATCH 0/3] Lager i2c bus support Ulrich Hecht
                   ` (4 preceding siblings ...)
  2013-09-25  4:59 ` Simon Horman
@ 2013-09-25  8:50 ` Laurent Pinchart
  2013-09-25 23:48 ` Simon Horman
  6 siblings, 0 replies; 8+ messages in thread
From: Laurent Pinchart @ 2013-09-25  8:50 UTC (permalink / raw)
  To: linux-sh

Hi Simon,

On Wednesday 25 September 2013 13:59:26 Simon Horman wrote:
> On Thu, Sep 19, 2013 at 02:28:20PM -0700, Simon Horman wrote:
> > On Mon, Sep 16, 2013 at 03:23:46PM +0200, Ulrich Hecht wrote:
> > > On Thu, Sep 12, 2013 at 3:51 PM, Guennadi Liakhovetski wrote:
> > Apologies for me excessively slow response.
> > 
> > > > What is your preferred way to resolve this? We can choose one of the
> > > > following:
> > > > 
> > > > 1. merge the two i2c clock patches into one - feel free to take my
> > > > code into "ARM: shmobile: r8a7790: add the I2C bus clock" from this
> > > > series
> > > > 
> > > > 2. port one of the patches on top of the other one - if this series
> > > > isn't going to be modified again, I can port my patch on top of it.
> > > 
> > > Since my DU stuff will have to be ported to DT anyway and I have found
> > > that my work towards that on the rcar-i2c driver is virtually
> > > identical to what Guennadi has already posted, I'd suggest to go with
> > > his version.
> > 
> > That sounds like a good resolution to me.
> 
> Btw, as far as I can see the current status of this work is as follows.
> 
> 1. Awaiting Ack from Laurent on
>    "pinctrl: sh-pfc: r8a7790: add pin definitions for the I2C3 interface"
>    by Guennadi. This patch is targeted at Linus Walleji's tree.

I've replied to Guennadi's patch, there will likely be a v2.

> 2. Once Linus has queued up that patch I will queue up
>    "ARM: shmobile: r8a7790: add I2C support in Device Tree mode"
>    in the renesas tree.

There's no dependency between the two patches, you can thus queue it up 
already.

> 3. From there I think you should be able to repost the parts of your
>    series that aren't included in Guennadi's work.
> 
> To be clear: I have marked this series as "Changes Requested" in patchwork
> and it is will not be on my radar unless it is re-posted in some form.
-- 
Regards,

Laurent Pinchart


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH 0/3] Lager i2c bus support
  2013-09-10 11:39 [PATCH 0/3] Lager i2c bus support Ulrich Hecht
                   ` (5 preceding siblings ...)
  2013-09-25  8:50 ` Laurent Pinchart
@ 2013-09-25 23:48 ` Simon Horman
  6 siblings, 0 replies; 8+ messages in thread
From: Simon Horman @ 2013-09-25 23:48 UTC (permalink / raw)
  To: linux-sh

On Wed, Sep 25, 2013 at 10:50:25AM +0200, Laurent Pinchart wrote:
> Hi Simon,
> 
> On Wednesday 25 September 2013 13:59:26 Simon Horman wrote:
> > On Thu, Sep 19, 2013 at 02:28:20PM -0700, Simon Horman wrote:
> > > On Mon, Sep 16, 2013 at 03:23:46PM +0200, Ulrich Hecht wrote:
> > > > On Thu, Sep 12, 2013 at 3:51 PM, Guennadi Liakhovetski wrote:
> > > Apologies for me excessively slow response.
> > > 
> > > > > What is your preferred way to resolve this? We can choose one of the
> > > > > following:
> > > > > 
> > > > > 1. merge the two i2c clock patches into one - feel free to take my
> > > > > code into "ARM: shmobile: r8a7790: add the I2C bus clock" from this
> > > > > series
> > > > > 
> > > > > 2. port one of the patches on top of the other one - if this series
> > > > > isn't going to be modified again, I can port my patch on top of it.
> > > > 
> > > > Since my DU stuff will have to be ported to DT anyway and I have found
> > > > that my work towards that on the rcar-i2c driver is virtually
> > > > identical to what Guennadi has already posted, I'd suggest to go with
> > > > his version.
> > > 
> > > That sounds like a good resolution to me.
> > 
> > Btw, as far as I can see the current status of this work is as follows.
> > 
> > 1. Awaiting Ack from Laurent on
> >    "pinctrl: sh-pfc: r8a7790: add pin definitions for the I2C3 interface"
> >    by Guennadi. This patch is targeted at Linus Walleji's tree.
> 
> I've replied to Guennadi's patch, there will likely be a v2.

Thanks, noted.

> > 2. Once Linus has queued up that patch I will queue up
> >    "ARM: shmobile: r8a7790: add I2C support in Device Tree mode"
> >    in the renesas tree.
> 
> There's no dependency between the two patches, you can thus queue it up 
> already.

Thanks. I will see about queuing it up.

> > 3. From there I think you should be able to repost the parts of your
> >    series that aren't included in Guennadi's work.
> > 
> > To be clear: I have marked this series as "Changes Requested" in patchwork
> > and it is will not be on my radar unless it is re-posted in some form.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-09-25 23:48 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-10 11:39 [PATCH 0/3] Lager i2c bus support Ulrich Hecht
2013-09-10 21:10 ` Guennadi Liakhovetski
2013-09-12 13:51 ` Guennadi Liakhovetski
2013-09-16 13:23 ` Ulrich Hecht
2013-09-19 21:28 ` Simon Horman
2013-09-25  4:59 ` Simon Horman
2013-09-25  8:50 ` Laurent Pinchart
2013-09-25 23:48 ` Simon Horman

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