All of lore.kernel.org
 help / color / mirror / Atom feed
From: sebastian.hesselbarth@gmail.com (Sebastian Hesselbarth)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 5/5] arm: dts: Convert mvebu device tree files to 64 bits
Date: Thu, 21 Mar 2013 23:30:15 +0100	[thread overview]
Message-ID: <514B89F7.3000408@gmail.com> (raw)
In-Reply-To: <201303212131.07629.arnd@arndb.de>

On 03/21/2013 10:31 PM, Arnd Bergmann wrote:
> On Thursday 21 March 2013, Thomas Petazzoni wrote:
>> In the mean time can we do something like:
>>
>>          soc {
>>                  compatible = "simple-bus";
>>                  range =<...>;
>>
>>                  [... all the peripherals ...]
>>          };
>>
>> with the range =<...>  property converting the peripheral registers
>> base address (expressed as offsets in the reg =<...>  properties of the
>> subnodes) into the absolute physical address?
>
> Yes, that is what Rob suggested you do.

Thomas,

have a look at arch/arm/boot/dts/dove.dtsi, it uses ranges-property
and peripherals encoded as offsets.

Sebastian

WARNING: multiple messages have this Message-ID (diff)
From: Sebastian Hesselbarth <sebastian.hesselbarth-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Arnd Bergmann <arnd-r2nGTMty4D4@public.gmane.org>
Cc: Lior Amsalem <alior-eYqpPyKDWXRBDgjK7y7TUQ@public.gmane.org>,
	Andrew Lunn <andrew-g2DYL2Zd6BY@public.gmane.org>,
	Ike Pan <ike.pan-Z7WLFzj8eWMS+FvcfC7Uqw@public.gmane.org>,
	David Marlin <dmarlin-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>,
	Yehuda Yitschak <yehuday-eYqpPyKDWXRBDgjK7y7TUQ@public.gmane.org>,
	Tawfik Bayouk <tawfik-eYqpPyKDWXRBDgjK7y7TUQ@public.gmane.org>,
	Dan Frazier
	<dann.frazier-Z7WLFzj8eWMS+FvcfC7Uqw@public.gmane.org>,
	Eran Ben-Avi <benavi-eYqpPyKDWXRBDgjK7y7TUQ@public.gmane.org>,
	Leif Lindholm <leif.lindholm-5wv7dgnIgG8@public.gmane.org>,
	Jason Cooper <jason-NLaQJdtUoK4Be96aLqz0jA@public.gmane.org>,
	Nadav Haklai <nadavh-eYqpPyKDWXRBDgjK7y7TUQ@public.gmane.org>,
	Jon Masters <jcm-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>,
	devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
	Chris Van Hoof <vanhoof-Z7WLFzj8eWMS+FvcfC7Uqw@public.gmane.org>,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Maen Suleiman <maen-eYqpPyKDWXRBDgjK7y7TUQ@public.gmane.org>,
	Shadi Ammouri <shadi-eYqpPyKDWXRBDgjK7y7TUQ@public.gmane.org>
Subject: Re: [PATCH 5/5] arm: dts: Convert mvebu device tree files to 64 bits
Date: Thu, 21 Mar 2013 23:30:15 +0100	[thread overview]
Message-ID: <514B89F7.3000408@gmail.com> (raw)
In-Reply-To: <201303212131.07629.arnd-r2nGTMty4D4@public.gmane.org>

On 03/21/2013 10:31 PM, Arnd Bergmann wrote:
> On Thursday 21 March 2013, Thomas Petazzoni wrote:
>> In the mean time can we do something like:
>>
>>          soc {
>>                  compatible = "simple-bus";
>>                  range =<...>;
>>
>>                  [... all the peripherals ...]
>>          };
>>
>> with the range =<...>  property converting the peripheral registers
>> base address (expressed as offsets in the reg =<...>  properties of the
>> subnodes) into the absolute physical address?
>
> Yes, that is what Rob suggested you do.

Thomas,

have a look at arch/arm/boot/dts/dove.dtsi, it uses ranges-property
and peripherals encoded as offsets.

Sebastian

WARNING: multiple messages have this Message-ID (diff)
From: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
To: Arnd Bergmann <arnd@arndb.de>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>,
	Rob Herring <robherring2@gmail.com>,
	Gregory CLEMENT <gregory.clement@free-electrons.com>,
	Jason Cooper <jason@lakedaemon.net>, Andrew Lunn <andrew@lunn.ch>,
	Grant Likely <grant.likely@secretlab.ca>,
	Ezequiel Garcia <ezequiel.garcia@free-electrons.com>,
	linux-arm-kernel@lists.infradead.org,
	devicetree-discuss@lists.ozlabs.org,
	linux-kernel@vger.kernel.org, Olof Johansson <olof@lixom.net>,
	Nicolas Pitre <nico@fluxnic.net>,
	Lior Amsalem <alior@marvell.com>,
	Maen Suleiman <maen@marvell.com>,
	Tawfik Bayouk <tawfik@marvell.com>,
	Shadi Ammouri <shadi@marvell.com>,
	Eran Ben-Avi <benavi@marvell.com>,
	Yehuda Yitschak <yehuday@marvell.com>,
	Nadav Haklai <nadavh@marvell.com>,
	Ike Pan <ike.pan@canonical.com>,
	Chris Van Hoof <vanhoof@canonical.com>,
	Dan Frazier <dann.frazier@canonical.com>,
	Leif Lindholm <leif.lindholm@arm.com>,
	Jon Masters <jcm@redhat.com>, David Marlin <dmarlin@redhat.com>
Subject: Re: [PATCH 5/5] arm: dts: Convert mvebu device tree files to 64 bits
Date: Thu, 21 Mar 2013 23:30:15 +0100	[thread overview]
Message-ID: <514B89F7.3000408@gmail.com> (raw)
In-Reply-To: <201303212131.07629.arnd@arndb.de>

On 03/21/2013 10:31 PM, Arnd Bergmann wrote:
> On Thursday 21 March 2013, Thomas Petazzoni wrote:
>> In the mean time can we do something like:
>>
>>          soc {
>>                  compatible = "simple-bus";
>>                  range =<...>;
>>
>>                  [... all the peripherals ...]
>>          };
>>
>> with the range =<...>  property converting the peripheral registers
>> base address (expressed as offsets in the reg =<...>  properties of the
>> subnodes) into the absolute physical address?
>
> Yes, that is what Rob suggested you do.

Thomas,

have a look at arch/arm/boot/dts/dove.dtsi, it uses ranges-property
and peripherals encoded as offsets.

Sebastian

  reply	other threads:[~2013-03-21 22:30 UTC|newest]

Thread overview: 90+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-21 16:26 [PATCH 0/5] arm: mvebu: Enable LPAE support for Armada XP SoCs Gregory CLEMENT
2013-03-21 16:26 ` Gregory CLEMENT
2013-03-21 16:26 ` Gregory CLEMENT
2013-03-21 16:26 ` [PATCH 1/5] arm: mvebu: Aligne the internal registers virtual base to support LPAE Gregory CLEMENT
2013-03-21 16:26   ` Gregory CLEMENT
2013-03-21 16:26   ` Gregory CLEMENT
2013-03-21 16:26 ` [PATCH 2/5] arm: mvebu: Select DMA_BOUNCE when LPAE is selected in Kconfig Gregory CLEMENT
2013-03-21 16:26   ` Gregory CLEMENT
2013-03-21 16:26   ` Gregory CLEMENT
2013-03-21 18:19   ` Rob Herring
2013-03-21 18:19     ` Rob Herring
2013-03-21 19:18   ` Andrew Lunn
2013-03-21 19:18     ` Andrew Lunn
2013-03-21 19:18     ` Andrew Lunn
2013-03-22 11:32   ` Russell King - ARM Linux
2013-03-22 11:32     ` Russell King - ARM Linux
2013-03-22 11:32     ` Russell King - ARM Linux
     [not found]     ` <20130322113251.GB4977-l+eeeJia6m9vn6HldHNs0ANdhmdF6hFW@public.gmane.org>
2013-03-23 19:48       ` Krzysztof Halasa
2013-03-21 16:26 ` [PATCH 3/5] arm: mvebu: Enable pj4b on LPAE compilations Gregory CLEMENT
2013-03-21 16:26   ` Gregory CLEMENT
2013-03-21 16:26   ` Gregory CLEMENT
2013-03-21 16:26 ` [PATCH 4/5] arm: dts: Add a 64 bits version of the skeleton device tree Gregory CLEMENT
2013-03-21 16:26   ` Gregory CLEMENT
2013-03-21 16:26   ` Gregory CLEMENT
2013-03-21 16:26 ` [PATCH 5/5] arm: dts: Convert mvebu device tree files to 64 bits Gregory CLEMENT
2013-03-21 16:26   ` Gregory CLEMENT
2013-03-21 16:26   ` Gregory CLEMENT
2013-03-21 17:59   ` Rob Herring
2013-03-21 17:59     ` Rob Herring
2013-03-21 17:59     ` Rob Herring
2013-03-21 19:03     ` Arnd Bergmann
2013-03-21 19:03       ` Arnd Bergmann
2013-03-21 19:03       ` Arnd Bergmann
2013-03-21 19:18       ` Thomas Petazzoni
2013-03-21 19:18         ` Thomas Petazzoni
2013-03-21 19:18         ` Thomas Petazzoni
2013-03-21 21:31         ` Arnd Bergmann
2013-03-21 21:31           ` Arnd Bergmann
2013-03-21 21:31           ` Arnd Bergmann
2013-03-21 22:30           ` Sebastian Hesselbarth [this message]
2013-03-21 22:30             ` Sebastian Hesselbarth
2013-03-21 22:30             ` Sebastian Hesselbarth
2013-03-21 20:15   ` Andrew Lunn
2013-03-21 20:15     ` Andrew Lunn
2013-03-21 20:15     ` Andrew Lunn
2013-03-21 20:22     ` Thomas Petazzoni
2013-03-21 20:22       ` Thomas Petazzoni
2013-03-21 20:22       ` Thomas Petazzoni
2013-03-21 20:30       ` Jason Cooper
2013-03-21 20:30         ` Jason Cooper
2013-03-21 20:30         ` Jason Cooper
2013-03-21 20:37       ` Andrew Lunn
2013-03-21 20:37         ` Andrew Lunn
2013-03-21 20:37         ` Andrew Lunn
2013-03-21 21:08         ` Thomas Petazzoni
2013-03-21 21:08           ` Thomas Petazzoni
2013-03-21 21:08           ` Thomas Petazzoni
2013-03-21 21:16         ` Thomas Petazzoni
2013-03-21 21:16           ` Thomas Petazzoni
2013-03-21 21:16           ` Thomas Petazzoni
2013-03-21 20:55       ` Jason Gunthorpe
2013-03-21 20:55         ` Jason Gunthorpe
2013-03-21 20:55         ` Jason Gunthorpe
2013-03-21 21:15         ` Thomas Petazzoni
2013-03-21 21:15           ` Thomas Petazzoni
2013-03-21 21:15           ` Thomas Petazzoni
2013-03-21 21:35           ` Lior Amsalem
2013-03-21 21:35             ` Lior Amsalem
2013-03-21 21:46             ` Jason Gunthorpe
2013-03-21 21:46               ` Jason Gunthorpe
2013-03-21 21:58               ` Lior Amsalem
2013-03-21 21:58                 ` Lior Amsalem
2013-03-22  6:55                 ` Arnd Bergmann
2013-03-22  6:55                   ` Arnd Bergmann
2013-03-21 21:41           ` Jason Gunthorpe
2013-03-21 21:41             ` Jason Gunthorpe
2013-03-21 21:41             ` Jason Gunthorpe
2013-03-21 22:26             ` Sebastian Hesselbarth
2013-03-21 22:26               ` Sebastian Hesselbarth
2013-03-21 22:26               ` Sebastian Hesselbarth
2013-03-22  9:55             ` Arnd Bergmann
2013-03-22  9:55               ` Arnd Bergmann
2013-03-21 21:25         ` Andrew Lunn
2013-03-21 21:25           ` Andrew Lunn
2013-03-22  6:28         ` Andrew Lunn
2013-03-22  6:28           ` Andrew Lunn
2013-03-22 17:43           ` Jason Gunthorpe
2013-03-22 17:43             ` Jason Gunthorpe
2013-03-22 19:33             ` Arnd Bergmann
2013-03-22 19:33               ` Arnd Bergmann

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=514B89F7.3000408@gmail.com \
    --to=sebastian.hesselbarth@gmail.com \
    --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.