All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Add R-Car Display Unit support for the Marzen board
@ 2013-03-27 18:05 Laurent Pinchart
  2013-03-27 19:06 ` Sergei Shtylyov
  2013-03-27 19:18 ` Laurent Pinchart
  0 siblings, 2 replies; 3+ messages in thread
From: Laurent Pinchart @ 2013-03-27 18:05 UTC (permalink / raw)
  To: linux-sh

Hello,

Per Simon's request, here are r8a7779 and marzen patches that add support for
the display unit, based on the pinctrl API.

The patches are not meant to be merged yet, they will be submitted with the
next version of the DU driver.

Sergei, is this more in line with how you want SoC devices to be declared ?

Laurent Pinchart (2):
  ARM: mach-shmobile: r8a7779: Add DU support
  ARM: shmobile: marzen: Add Display Unit support

 arch/arm/configs/marzen_defconfig     |  2 ++
 arch/arm/mach-shmobile/board-marzen.c | 51 +++++++++++++++++++++++++++++++++++
 2 files changed, 53 insertions(+)

-- 
Regards,

Laurent Pinchart


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

* Re: [PATCH 0/2] Add R-Car Display Unit support for the Marzen board
  2013-03-27 18:05 [PATCH 0/2] Add R-Car Display Unit support for the Marzen board Laurent Pinchart
@ 2013-03-27 19:06 ` Sergei Shtylyov
  2013-03-27 19:18 ` Laurent Pinchart
  1 sibling, 0 replies; 3+ messages in thread
From: Sergei Shtylyov @ 2013-03-27 19:06 UTC (permalink / raw)
  To: linux-sh

Hello.

On 03/27/2013 09:05 PM, Laurent Pinchart wrote:

> Per Simon's request, here are r8a7779 and marzen patches that add support for
> the display unit, based on the pinctrl API.
>
> The patches are not meant to be merged yet, they will be submitted with the
> next version of the DU driver.
>
> Sergei, is this more in line with how you want SoC devices to be declared ?

    Yes, it seems exactly how it's done by e.g. arch/arm/mach-davinci/,
however I thought it was kind of tradition here to register the platform
devices from array. I.e. you could separate setting the platform data ptr
and registering the device... I don't have a strong opinion on either
approach, so I will just follow your example when I'll have to submit an
Ether SoC device.

WBR, Sergei


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

* Re: [PATCH 0/2] Add R-Car Display Unit support for the Marzen board
  2013-03-27 18:05 [PATCH 0/2] Add R-Car Display Unit support for the Marzen board Laurent Pinchart
  2013-03-27 19:06 ` Sergei Shtylyov
@ 2013-03-27 19:18 ` Laurent Pinchart
  1 sibling, 0 replies; 3+ messages in thread
From: Laurent Pinchart @ 2013-03-27 19:18 UTC (permalink / raw)
  To: linux-sh

Hi Sergei,

On Wednesday 27 March 2013 23:07:31 Sergei Shtylyov wrote:
> Hello.
> 
> On 03/27/2013 09:05 PM, Laurent Pinchart wrote:
> > Per Simon's request, here are r8a7779 and marzen patches that add support
> > for the display unit, based on the pinctrl API.
> > 
> > The patches are not meant to be merged yet, they will be submitted with
> > the next version of the DU driver.
> > 
> > Sergei, is this more in line with how you want SoC devices to be declared
> > ?
> 
> Yes, it seems exactly how it's done by e.g. arch/arm/mach-davinci/, however
> I thought it was kind of tradition here to register the platform devices
> from array. I.e. you could separate setting the platform data ptr and
> registering the device... I don't have a strong opinion on either approach,
> so I will just follow your example when I'll have to submit an Ether SoC
> device.

The issue with keeping the device in the devices array is that it would get 
registered even if the board doesn't provide any platform data, which is 
probably something we want to avoid.

-- 
Regards,

Laurent Pinchart


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

end of thread, other threads:[~2013-03-27 19:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-27 18:05 [PATCH 0/2] Add R-Car Display Unit support for the Marzen board Laurent Pinchart
2013-03-27 19:06 ` Sergei Shtylyov
2013-03-27 19:18 ` Laurent Pinchart

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.