* [PATCHv2] powerpc: Describe memory-mapped RAM&ROM chips OF bindings
@ 2008-03-31 16:39 Laurent Pinchart
2008-03-31 17:06 ` Sergei Shtylyov
2008-04-01 13:16 ` Grant Likely
0 siblings, 2 replies; 8+ messages in thread
From: Laurent Pinchart @ 2008-03-31 16:39 UTC (permalink / raw)
To: linux-mtd
Cc: ben, linuxppc-dev, Rune Torgersen, Sergei Shtylyov, David Gibson
Signed-off-by: Laurent Pinchart <laurentp@cse-semaphore.com>
---
Documentation/powerpc/booting-without-of.txt | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
diff --git a/Documentation/powerpc/booting-without-of.txt b/Documentation/powerpc/booting-without-of.txt
index 7b4e8a7..3e1963b 100644
--- a/Documentation/powerpc/booting-without-of.txt
+++ b/Documentation/powerpc/booting-without-of.txt
@@ -57,7 +57,8 @@ Table of Contents
n) 4xx/Axon EMAC ethernet nodes
o) Xilinx IP cores
p) Freescale Synchronous Serial Interface
- q) USB EHCI controllers
+ q) USB EHCI controllers
+ r) Memory-mapped RAM & ROM
VII - Specifying interrupt information for devices
1) interrupts property
@@ -2816,6 +2817,16 @@ platforms are moved over to use the flattened-device-tree model.
big-endian;
};
+ r) Memory-mapped RAM & ROM
+
+ Dedicated RAM and ROM chips are often used as storage for temporary or
+ permanent data in embedded devices. Possible usage include non-volatile
+ storage in battery-backed SRAM, semi-permanent storage in dedicated SRAM
+ to preserve data accross reboots and firmware storage in dedicated ROM.
+
+ - name : should be either "ram" or "rom"
+ - reg : Address range of the RAM/ROM chip
+
More devices will be defined as this spec matures.
--
1.5.0
--
Laurent Pinchart
CSE Semaphore Belgium
Chaussée de Bruxelles, 732A
B-1410 Waterloo
Belgium
T +32 (2) 387 42 59
F +32 (2) 387 42 75
^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [PATCHv2] powerpc: Describe memory-mapped RAM&ROM chips OF bindings
2008-03-31 16:39 [PATCHv2] powerpc: Describe memory-mapped RAM&ROM chips OF bindings Laurent Pinchart
@ 2008-03-31 17:06 ` Sergei Shtylyov
2008-04-01 8:47 ` Laurent Pinchart
2008-04-01 13:16 ` Grant Likely
1 sibling, 1 reply; 8+ messages in thread
From: Sergei Shtylyov @ 2008-03-31 17:06 UTC (permalink / raw)
To: Laurent Pinchart
Cc: ben, linuxppc-dev, Rune Torgersen, linux-mtd, David Gibson
Hello.
Laurent Pinchart wrote:
> Signed-off-by: Laurent Pinchart <laurentp@cse-semaphore.com>
> ---
> Documentation/powerpc/booting-without-of.txt | 13 ++++++++++++-
> 1 files changed, 12 insertions(+), 1 deletions(-)
>
> diff --git a/Documentation/powerpc/booting-without-of.txt b/Documentation/powerpc/booting-without-of.txt
> index 7b4e8a7..3e1963b 100644
> --- a/Documentation/powerpc/booting-without-of.txt
> +++ b/Documentation/powerpc/booting-without-of.txt
> @@ -57,7 +57,8 @@ Table of Contents
> n) 4xx/Axon EMAC ethernet nodes
> o) Xilinx IP cores
> p) Freescale Synchronous Serial Interface
> - q) USB EHCI controllers
> + q) USB EHCI controllers
> + r) Memory-mapped RAM & ROM
Memory-mapped RA/RO Memory again? Should better drop this. :-)
WBR, Sergei
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCHv2] powerpc: Describe memory-mapped RAM&ROM chips OF bindings
2008-03-31 17:06 ` Sergei Shtylyov
@ 2008-04-01 8:47 ` Laurent Pinchart
2008-04-01 9:18 ` Trent Piepho
0 siblings, 1 reply; 8+ messages in thread
From: Laurent Pinchart @ 2008-04-01 8:47 UTC (permalink / raw)
To: Sergei Shtylyov
Cc: ben, linuxppc-dev, Rune Torgersen, linux-mtd, David Gibson
On Monday 31 March 2008 19:06, Sergei Shtylyov wrote:
> Hello.
>
> Laurent Pinchart wrote:
>
> > Signed-off-by: Laurent Pinchart <laurentp@cse-semaphore.com>
> > ---
> > Documentation/powerpc/booting-without-of.txt | 13 ++++++++++++-
> > 1 files changed, 12 insertions(+), 1 deletions(-)
> >
> > diff --git a/Documentation/powerpc/booting-without-of.txt
b/Documentation/powerpc/booting-without-of.txt
> > index 7b4e8a7..3e1963b 100644
> > --- a/Documentation/powerpc/booting-without-of.txt
> > +++ b/Documentation/powerpc/booting-without-of.txt
> > @@ -57,7 +57,8 @@ Table of Contents
> > n) 4xx/Axon EMAC ethernet nodes
> > o) Xilinx IP cores
> > p) Freescale Synchronous Serial Interface
> > - q) USB EHCI controllers
> > + q) USB EHCI controllers
> > + r) Memory-mapped RAM & ROM
>
> Memory-mapped RA/RO Memory again? Should better drop this. :-)
You're quite picky, aren't you ? :-)
I suppose "Memory-mapped RA & RO" won't be accepted, so what about "Auxiliary
RAM & ROM" ?
--
Laurent Pinchart
CSE Semaphore Belgium
Chaussée de Bruxelles, 732A
B-1410 Waterloo
Belgium
T +32 (2) 387 42 59
F +32 (2) 387 42 75
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCHv2] powerpc: Describe memory-mapped RAM&ROM chips OF bindings
2008-04-01 8:47 ` Laurent Pinchart
@ 2008-04-01 9:18 ` Trent Piepho
2008-04-01 12:39 ` Laurent Pinchart
0 siblings, 1 reply; 8+ messages in thread
From: Trent Piepho @ 2008-04-01 9:18 UTC (permalink / raw)
To: Laurent Pinchart; +Cc: Sergei Shtylyov, linuxppc-dev, MTD mailing list
On Tue, 1 Apr 2008, Laurent Pinchart wrote:
> On Monday 31 March 2008 19:06, Sergei Shtylyov wrote:
>>> p) Freescale Synchronous Serial Interface
>>> - q) USB EHCI controllers
>>> + q) USB EHCI controllers
>>> + r) Memory-mapped RAM & ROM
>>
>> Memory-mapped RA/RO Memory again? Should better drop this. :-)
>
> You're quite picky, aren't you ? :-)
>
> I suppose "Memory-mapped RA & RO" won't be accepted, so what about "Auxiliary
> RAM & ROM" ?
Direct-mapped?
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCHv2] powerpc: Describe memory-mapped RAM&ROM chips OF bindings
2008-04-01 9:18 ` Trent Piepho
@ 2008-04-01 12:39 ` Laurent Pinchart
2008-04-01 13:04 ` Sergei Shtylyov
0 siblings, 1 reply; 8+ messages in thread
From: Laurent Pinchart @ 2008-04-01 12:39 UTC (permalink / raw)
To: Trent Piepho; +Cc: Sergei Shtylyov, linuxppc-dev, MTD mailing list
On Tuesday 01 April 2008 11:18, Trent Piepho wrote:
> On Tue, 1 Apr 2008, Laurent Pinchart wrote:
> > On Monday 31 March 2008 19:06, Sergei Shtylyov wrote:
> >>> p) Freescale Synchronous Serial Interface
> >>> - q) USB EHCI controllers
> >>> + q) USB EHCI controllers
> >>> + r) Memory-mapped RAM & ROM
> >>
> >> Memory-mapped RA/RO Memory again? Should better drop this. :-)
> >
> > You're quite picky, aren't you ? :-)
> >
> > I suppose "Memory-mapped RA & RO" won't be accepted, so what about "Auxiliary
> > RAM & ROM" ?
>
> Direct-mapped?
Fine with me. Sergei ?
--
Laurent Pinchart
CSE Semaphore Belgium
Chaussée de Bruxelles, 732A
B-1410 Waterloo
Belgium
T +32 (2) 387 42 59
F +32 (2) 387 42 75
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCHv2] powerpc: Describe memory-mapped RAM&ROM chips OF bindings
2008-04-01 12:39 ` Laurent Pinchart
@ 2008-04-01 13:04 ` Sergei Shtylyov
0 siblings, 0 replies; 8+ messages in thread
From: Sergei Shtylyov @ 2008-04-01 13:04 UTC (permalink / raw)
To: Laurent Pinchart; +Cc: linuxppc-dev, MTD mailing list, Trent Piepho
Laurent Pinchart wrote:
>>>On Monday 31 March 2008 19:06, Sergei Shtylyov wrote:
>>>>> p) Freescale Synchronous Serial Interface
>>>>>- q) USB EHCI controllers
>>>>>+ q) USB EHCI controllers
>>>>>+ r) Memory-mapped RAM & ROM
>>>> Memory-mapped RA/RO Memory again? Should better drop this. :-)
>>>You're quite picky, aren't you ? :-)
>>>I suppose "Memory-mapped RA & RO" won't be accepted, so what about "Auxiliary
>>>RAM & ROM" ?
>>Direct-mapped?
> Fine with me. Sergei ?
I agree. The only thing that somewhat worries me it that it will have no
"compatible" prop...
WBR, Sergei
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCHv2] powerpc: Describe memory-mapped RAM&ROM chips OF bindings
2008-03-31 16:39 [PATCHv2] powerpc: Describe memory-mapped RAM&ROM chips OF bindings Laurent Pinchart
2008-03-31 17:06 ` Sergei Shtylyov
@ 2008-04-01 13:16 ` Grant Likely
2008-04-03 10:15 ` Laurent Pinchart
1 sibling, 1 reply; 8+ messages in thread
From: Grant Likely @ 2008-04-01 13:16 UTC (permalink / raw)
To: Laurent Pinchart; +Cc: ben, linuxppc-dev, linux-mtd, David Gibson
On Mon, Mar 31, 2008 at 10:39 AM, Laurent Pinchart
<laurentp@cse-semaphore.com> wrote:
>
> Signed-off-by: Laurent Pinchart <laurentp@cse-semaphore.com>
> ---
> Documentation/powerpc/booting-without-of.txt | 13 ++++++++++++-
> 1 files changed, 12 insertions(+), 1 deletions(-)
>
> diff --git a/Documentation/powerpc/booting-without-of.txt b/Documentation/powerpc/booting-without-of.txt
> index 7b4e8a7..3e1963b 100644
> --- a/Documentation/powerpc/booting-without-of.txt
> +++ b/Documentation/powerpc/booting-without-of.txt
> @@ -57,7 +57,8 @@ Table of Contents
> n) 4xx/Axon EMAC ethernet nodes
> o) Xilinx IP cores
> p) Freescale Synchronous Serial Interface
> - q) USB EHCI controllers
> + q) USB EHCI controllers
> + r) Memory-mapped RAM & ROM
>
> VII - Specifying interrupt information for devices
> 1) interrupts property
> @@ -2816,6 +2817,16 @@ platforms are moved over to use the flattened-device-tree model.
> big-endian;
> };
>
> + r) Memory-mapped RAM & ROM
> +
> + Dedicated RAM and ROM chips are often used as storage for temporary or
> + permanent data in embedded devices. Possible usage include non-volatile
> + storage in battery-backed SRAM, semi-permanent storage in dedicated SRAM
> + to preserve data accross reboots and firmware storage in dedicated ROM.
> +
> + - name : should be either "ram" or "rom"
> + - reg : Address range of the RAM/ROM chip
> +
No compatible prop? How does the OS know what the node is to be used for?
Cheers,
g.
--
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCHv2] powerpc: Describe memory-mapped RAM&ROM chips OF bindings
2008-04-01 13:16 ` Grant Likely
@ 2008-04-03 10:15 ` Laurent Pinchart
0 siblings, 0 replies; 8+ messages in thread
From: Laurent Pinchart @ 2008-04-03 10:15 UTC (permalink / raw)
To: Grant Likely; +Cc: ben, linuxppc-dev, linux-mtd, David Gibson
On Tuesday 01 April 2008 15:16, Grant Likely wrote:
> On Mon, Mar 31, 2008 at 10:39 AM, Laurent Pinchart
> <laurentp@cse-semaphore.com> wrote:
> >
> > Signed-off-by: Laurent Pinchart <laurentp@cse-semaphore.com>
> > ---
> > Documentation/powerpc/booting-without-of.txt | 13 ++++++++++++-
> > 1 files changed, 12 insertions(+), 1 deletions(-)
> >
> > diff --git a/Documentation/powerpc/booting-without-of.txt
> > b/Documentation/powerpc/booting-without-of.txt
> > index 7b4e8a7..3e1963b 100644
> > --- a/Documentation/powerpc/booting-without-of.txt
> > +++ b/Documentation/powerpc/booting-without-of.txt
> > @@ -57,7 +57,8 @@ Table of Contents
> > n) 4xx/Axon EMAC ethernet nodes
> > o) Xilinx IP cores
> > p) Freescale Synchronous Serial Interface
> > - q) USB EHCI controllers
> > + q) USB EHCI controllers
> > + r) Memory-mapped RAM & ROM
> >
> > VII - Specifying interrupt information for devices
> > 1) interrupts property
> > @@ -2816,6 +2817,16 @@ platforms are moved over to use the
> > flattened-device-tree model.
> > big-endian;
> > };
> >
> > + r) Memory-mapped RAM & ROM
> > +
> > + Dedicated RAM and ROM chips are often used as storage for temporary
> > or
> > + permanent data in embedded devices. Possible usage include
> > non-volatile
> > + storage in battery-backed SRAM, semi-permanent storage in dedicated
> > SRAM
> > + to preserve data accross reboots and firmware storage in dedicated
> > ROM.
> > +
> > + - name : should be either "ram" or "rom"
> > + - reg : Address range of the RAM/ROM chip
> > +
>
> No compatible prop? How does the OS know what the node is to be used for?
If I understood Sergei's arguments properly, the device tree should describe
device properties and not their intended usage. With generic devices such as
RAM chips, platform code is responsible for binding the device to the
appropriate driver (mtd-ram for instance).
Cheers,
--
Laurent Pinchart
CSE Semaphore Belgium
Chaussée de Bruxelles, 732A
B-1410 Waterloo
Belgium
T +32 (2) 387 42 59
F +32 (2) 387 42 75
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2008-04-03 10:15 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-31 16:39 [PATCHv2] powerpc: Describe memory-mapped RAM&ROM chips OF bindings Laurent Pinchart
2008-03-31 17:06 ` Sergei Shtylyov
2008-04-01 8:47 ` Laurent Pinchart
2008-04-01 9:18 ` Trent Piepho
2008-04-01 12:39 ` Laurent Pinchart
2008-04-01 13:04 ` Sergei Shtylyov
2008-04-01 13:16 ` Grant Likely
2008-04-03 10:15 ` Laurent Pinchart
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox