Tegra DRM device tree bindings

2012-06-26 Thread Terje Bergström
On 26.06.2012 16:41, Thierry Reding wrote: > On Tue, Jun 26, 2012 at 04:01:05PM +0300, Terje Bergstr?m wrote: >> We also assign certain host1x common resources per device by convention, >> f.ex. sync points, channels etc. We currently encode that information in >> the device node (3D uses sync

Tegra DRM device tree bindings

2012-06-26 Thread Hiroshi Doyu
Hi Thierry, On Tue, 26 Jun 2012 12:55:13 +0200 Thierry Reding wrote: > * PGP Signed by an unknown key > > Hi, > > while I haven't got much time to work on the actual code right now, I > think it might still be useful if we could get the device tree binding > to a point where everybody is

Tegra DRM device tree bindings

2012-06-26 Thread Terje Bergström
On 26.06.2012 13:55, Thierry Reding wrote: > host1x { > compatible = "nvidia,tegra20-host1x", "simple-bus"; > reg = <0x5000 0x00024000>; > interrupts = <0 64 0x04 /* cop syncpt */ > 0 65 0x04 /* mpcore syncpt */ >

Tegra DRM device tree bindings

2012-06-26 Thread Thierry Reding
On Tue, Jun 26, 2012 at 04:02:24PM +0300, Hiroshi Doyu wrote: > Hi Thierry, > > On Tue, 26 Jun 2012 12:55:13 +0200 > Thierry Reding wrote: > > > * PGP Signed by an unknown key > > > > Hi, > > > > while I haven't got much time to work on the actual code right now, I > > think it might still be

Tegra DRM device tree bindings

2012-06-26 Thread Thierry Reding
On Tue, Jun 26, 2012 at 02:47:56PM +0200, Lucas Stach wrote: > Hello Thierry, > > I still haven't found the time to look at device tree things in detail, > but still some comments inline. Overall I think the tree looks ok and is > a great thing to get started. > > Am Dienstag, den 26.06.2012,

Tegra DRM device tree bindings

2012-06-26 Thread Thierry Reding
On Tue, Jun 26, 2012 at 04:01:05PM +0300, Terje Bergstr?m wrote: > On 26.06.2012 13:55, Thierry Reding wrote: > > > host1x { > > compatible = "nvidia,tegra20-host1x", "simple-bus"; > > reg = <0x5000 0x00024000>; > > interrupts = <0 64 0x04 /* cop

Tegra DRM device tree bindings

2012-06-26 Thread Lucas Stach
Hello Thierry, I still haven't found the time to look at device tree things in detail, but still some comments inline. Overall I think the tree looks ok and is a great thing to get started. Am Dienstag, den 26.06.2012, 12:55 +0200 schrieb Thierry Reding: > Hi, > > while I haven't got much time

Tegra DRM device tree bindings

2012-06-26 Thread Stephen Warren
On 06/26/2012 01:31 PM, Thierry Reding wrote: > On Tue, Jun 26, 2012 at 11:43:38AM -0600, Stephen Warren wrote: >> On 06/26/2012 07:41 AM, Thierry Reding wrote: >>> On Tue, Jun 26, 2012 at 04:01:05PM +0300, Terje Bergstr?m >>> wrote: On 26.06.2012 13:55, Thierry Reding wrote: >> ... >

Tegra DRM device tree bindings

2012-06-26 Thread Stephen Warren
On 06/26/2012 01:27 PM, Thierry Reding wrote: > On Tue, Jun 26, 2012 at 11:41:43AM -0600, Stephen Warren wrote: >> On 06/26/2012 08:02 AM, Terje Bergstr?m wrote: >>> On 26.06.2012 16:41, Thierry Reding wrote: >>> On Tue, Jun 26, 2012 at 04:01:05PM +0300, Terje Bergstr?m wrote: > We

Tegra DRM device tree bindings

2012-06-26 Thread Stephen Warren
On 06/26/2012 04:55 AM, Thierry Reding wrote: > Hi, > > while I haven't got much time to work on the actual code right now, I > think it might still be useful if we could get the device tree binding > to a point where everybody is happy with it. That'll also save me some > time once I get to

Tegra DRM device tree bindings

2012-06-26 Thread Stephen Warren
On 06/26/2012 07:01 AM, Terje Bergstr?m wrote: > On 26.06.2012 13:55, Thierry Reding wrote: ... >> An alternative would be to call of_platform_populate() from the host1x [alternative to making the host1x node contain compatible="simple-bus".] >> driver. This has the advantage that it could

Tegra DRM device tree bindings

2012-06-26 Thread Stephen Warren
On 06/26/2012 07:41 AM, Thierry Reding wrote: > On Tue, Jun 26, 2012 at 04:01:05PM +0300, Terje Bergstr?m wrote: >> On 26.06.2012 13:55, Thierry Reding wrote: ... >>> status = "disabled"; >>> >>> gart = <>; >>> >>> /* video-encoding/decoding */ mpe { reg = <0x5404 >>> 0x0004>; interrupts

Tegra DRM device tree bindings

2012-06-26 Thread Stephen Warren
On 06/26/2012 08:02 AM, Terje Bergstr?m wrote: > On 26.06.2012 16:41, Thierry Reding wrote: > >> On Tue, Jun 26, 2012 at 04:01:05PM +0300, Terje Bergstr?m wrote: >>> We also assign certain host1x common resources per device by convention, >>> f.ex. sync points, channels etc. We currently encode

Tegra DRM device tree bindings

2012-06-26 Thread Thierry Reding
Hi, while I haven't got much time to work on the actual code right now, I think it might still be useful if we could get the device tree binding to a point where everybody is happy with it. That'll also save me some time once I get to writing the code because I won't have to redo it over again.

Re: Tegra DRM device tree bindings

2012-06-26 Thread Lucas Stach
Hello Thierry, I still haven't found the time to look at device tree things in detail, but still some comments inline. Overall I think the tree looks ok and is a great thing to get started. Am Dienstag, den 26.06.2012, 12:55 +0200 schrieb Thierry Reding: Hi, while I haven't got much time to

Re: Tegra DRM device tree bindings

2012-06-26 Thread Thierry Reding
On Tue, Jun 26, 2012 at 02:47:56PM +0200, Lucas Stach wrote: Hello Thierry, I still haven't found the time to look at device tree things in detail, but still some comments inline. Overall I think the tree looks ok and is a great thing to get started. Am Dienstag, den 26.06.2012, 12:55

Re: Tegra DRM device tree bindings

2012-06-26 Thread Thierry Reding
On Tue, Jun 26, 2012 at 04:02:24PM +0300, Hiroshi Doyu wrote: Hi Thierry, On Tue, 26 Jun 2012 12:55:13 +0200 Thierry Reding thierry.red...@avionic-design.de wrote: * PGP Signed by an unknown key Hi, while I haven't got much time to work on the actual code right now, I think it

Re: Tegra DRM device tree bindings

2012-06-26 Thread Terje Bergström
On 26.06.2012 13:55, Thierry Reding wrote: host1x { compatible = nvidia,tegra20-host1x, simple-bus; reg = 0x5000 0x00024000; interrupts = 0 64 0x04 /* cop syncpt */ 0 65 0x04 /* mpcore syncpt */

Re: Tegra DRM device tree bindings

2012-06-26 Thread Hiroshi Doyu
Hi Thierry, On Tue, 26 Jun 2012 12:55:13 +0200 Thierry Reding thierry.red...@avionic-design.de wrote: * PGP Signed by an unknown key Hi, while I haven't got much time to work on the actual code right now, I think it might still be useful if we could get the device tree binding to a

Re: Tegra DRM device tree bindings

2012-06-26 Thread Terje Bergström
On 26.06.2012 16:41, Thierry Reding wrote: On Tue, Jun 26, 2012 at 04:01:05PM +0300, Terje Bergström wrote: We also assign certain host1x common resources per device by convention, f.ex. sync points, channels etc. We currently encode that information in the device node (3D uses sync point

Re: Tegra DRM device tree bindings

2012-06-26 Thread Thierry Reding
On Tue, Jun 26, 2012 at 11:41:43AM -0600, Stephen Warren wrote: On 06/26/2012 08:02 AM, Terje Bergström wrote: On 26.06.2012 16:41, Thierry Reding wrote: On Tue, Jun 26, 2012 at 04:01:05PM +0300, Terje Bergström wrote: We also assign certain host1x common resources per device by

Re: Tegra DRM device tree bindings

2012-06-26 Thread Thierry Reding
On Tue, Jun 26, 2012 at 11:43:38AM -0600, Stephen Warren wrote: On 06/26/2012 07:41 AM, Thierry Reding wrote: On Tue, Jun 26, 2012 at 04:01:05PM +0300, Terje Bergström wrote: On 26.06.2012 13:55, Thierry Reding wrote: ... status = disabled; gart = gart; /* video-encoding/decoding

Re: Tegra DRM device tree bindings

2012-06-26 Thread Thierry Reding
On Tue, Jun 26, 2012 at 11:46:42AM -0600, Stephen Warren wrote: On 06/26/2012 07:01 AM, Terje Bergström wrote: On 26.06.2012 13:55, Thierry Reding wrote: ... An alternative would be to call of_platform_populate() from the host1x [alternative to making the host1x node contain

Re: Tegra DRM device tree bindings

2012-06-26 Thread Thierry Reding
On Tue, Jun 26, 2012 at 12:10:42PM -0600, Stephen Warren wrote: On 06/26/2012 04:55 AM, Thierry Reding wrote: Hi, while I haven't got much time to work on the actual code right now, I think it might still be useful if we could get the device tree binding to a point where everybody is

Re: Tegra DRM device tree bindings

2012-06-26 Thread Stephen Warren
On 06/26/2012 08:02 AM, Terje Bergström wrote: On 26.06.2012 16:41, Thierry Reding wrote: On Tue, Jun 26, 2012 at 04:01:05PM +0300, Terje Bergström wrote: We also assign certain host1x common resources per device by convention, f.ex. sync points, channels etc. We currently encode that

Re: Tegra DRM device tree bindings

2012-06-26 Thread Stephen Warren
On 06/26/2012 07:41 AM, Thierry Reding wrote: On Tue, Jun 26, 2012 at 04:01:05PM +0300, Terje Bergström wrote: On 26.06.2012 13:55, Thierry Reding wrote: ... status = disabled; gart = gart; /* video-encoding/decoding */ mpe { reg = 0x5404 0x0004; interrupts = 0 68 0x04; status =

Re: Tegra DRM device tree bindings

2012-06-26 Thread Stephen Warren
On 06/26/2012 07:01 AM, Terje Bergström wrote: On 26.06.2012 13:55, Thierry Reding wrote: ... An alternative would be to call of_platform_populate() from the host1x [alternative to making the host1x node contain compatible=simple-bus.] driver. This has the advantage that it could integrate

Re: Tegra DRM device tree bindings

2012-06-26 Thread Stephen Warren
On 06/26/2012 04:55 AM, Thierry Reding wrote: Hi, while I haven't got much time to work on the actual code right now, I think it might still be useful if we could get the device tree binding to a point where everybody is happy with it. That'll also save me some time once I get to writing

Re: Tegra DRM device tree bindings

2012-06-26 Thread Stephen Warren
On 06/26/2012 01:27 PM, Thierry Reding wrote: On Tue, Jun 26, 2012 at 11:41:43AM -0600, Stephen Warren wrote: On 06/26/2012 08:02 AM, Terje Bergström wrote: On 26.06.2012 16:41, Thierry Reding wrote: On Tue, Jun 26, 2012 at 04:01:05PM +0300, Terje Bergström wrote: We also assign certain

Re: Tegra DRM device tree bindings

2012-06-26 Thread Stephen Warren
On 06/26/2012 01:31 PM, Thierry Reding wrote: On Tue, Jun 26, 2012 at 11:43:38AM -0600, Stephen Warren wrote: On 06/26/2012 07:41 AM, Thierry Reding wrote: On Tue, Jun 26, 2012 at 04:01:05PM +0300, Terje Bergström wrote: On 26.06.2012 13:55, Thierry Reding wrote: ... status = disabled;

RE: Tegra DRM device tree bindings

2012-06-26 Thread Mark Zhang
On Tue, 26 Jun 2012 12:55:13 +0200 Thierry Reding thierry.red...@avionic-design.de wrote: Old Signed by an unknown key Hi, while I haven't got much time to work on the actual code right now, I think it might still be useful if we could get the device tree binding to a

RE: Tegra DRM device tree bindings

2012-06-26 Thread Mark Zhang
On 06/26/2012 07:46 PM, Mark Zhang wrote: On Tue, 26 Jun 2012 12:55:13 +0200 Thierry Reding thierry.red...@avionic-design.de wrote: ... I'm not sure I understand how information about the carveout would be obtained from the IOMMU API, though. I think that can be similar with current

Re: Tegra DRM device tree bindings

2012-06-26 Thread Thierry Reding
On Tue, Jun 26, 2012 at 04:48:14PM -0600, Stephen Warren wrote: On 06/26/2012 01:51 PM, Thierry Reding wrote: On Tue, Jun 26, 2012 at 12:10:42PM -0600, Stephen Warren wrote: On 06/26/2012 04:55 AM, Thierry Reding wrote: Hi, while I haven't got much time to work on the actual code right

<    1   2