On Monday 27 February 2012, Jason Cooper wrote:
> On the Globalscale Dreamplug (Marvell Kirkwood Development Platform),
> 2MB of NOR flash are used to hold the bootloader, bootloader
> environment, and devicetree blob. It is connected via spi.
>
> Signed-off-by: Jason Cooper
> ---
> Notes:
>
On Monday 27 February 2012 08:23 PM, Mark Brown wrote:
If adding device tree support breaks existing platforms something is
going wrong, while you're pulling things together device tree might not
work until all the support makes it in but the old non-DT code should
continue to function.
Adding
On 02/27/2012 01:52 PM, Simon Glass wrote:
> A common requirement is to find the clock ID for a peripheral. This is the
> second cell of the 'clocks' property (the first being the phandle itself).
> +int clock_decode_periph_id(const void *blob, int node)
> + valid = clock_periph_id_isvalid(id
On 02/27/2012 01:52 PM, Simon Glass wrote:
> Add the definition of the oscillator clock frequency.
> diff --git a/board/nvidia/dts/tegra2-seaboard.dts
> b/board/nvidia/dts/tegra2-seaboard.dts
> + clock@60006000 {
> + clocks = <&osc>;
> + };
The CAR takes two clock inputs; on
On 02/27/2012 01:52 PM, Simon Glass wrote:
> This adds a property to indicate a port which can switch between host and
> device
> mode.
...
> diff --git a/doc/device-tree-bindings/usb/tegra-usb.txt
> b/doc/device-tree-bindings/usb/tegra-usb.txt
...
> +Optional properties:
> + - dr_mode : dual ro
On the Globalscale Dreamplug (Marvell Kirkwood Development Platform),
2MB of NOR flash are used to hold the bootloader, bootloader
environment, and devicetree blob. It is connected via spi.
Signed-off-by: Jason Cooper
---
Notes:
- checkpatch clean.
- compiles, boots, registers partitions
On 2/27/2012 11:17 PM, Grant Likely wrote:
On Mon, Feb 27, 2012 at 6:52 AM, Cousson, Benoit wrote:
Hi Mark,
On 2/27/2012 2:41 PM, Mark Brown wrote:
On Mon, Feb 27, 2012 at 06:01:20PM +0530, Rajendra Nayak wrote:
Depending on what order Mark happens to pull them in, I am fine
re-sending ad
On Mon, Feb 27, 2012 at 6:52 AM, Cousson, Benoit wrote:
> Hi Mark,
>
>
> On 2/27/2012 2:41 PM, Mark Brown wrote:
>>
>> On Mon, Feb 27, 2012 at 06:01:20PM +0530, Rajendra Nayak wrote:
>>
>>> Depending on what order Mark happens to pull them in, I am fine
>>> re-sending adding support for the 2 twl6
On Mon, Feb 27, 2012 at 1:02 PM, Rob Herring wrote:
> Grant,
>
> Please pull these few fixes and doc updates for 3.3.
Merged, thanks.
g.
>
> Rob
>
> The following changes since commit 6b21d18ed50c7d145220b0724ea7f2613abf0f95:
>
> Linux 3.3-rc5 (2012-02-25 12:18:16 -0800)
>
> are available in
Hi Albert,
On Sun, Feb 19, 2012 at 10:33 AM, Albert ARIBAUD
wrote:
> Hi Simon,
>
> Le 19/02/2012 17:23, Simon Glass a écrit :
>
>
>> Sorry I had that wrong - it's not the link step I am bothered by, it is
>> the
>> objcopy step.
>>
>> What I would like to do is mark the input section, created by
This adds some support into fdtdec for reading GPIO definitions from
the fdt. We permit up to FDT_GPIO_MAX GPIOs in the system. Each GPIO
is of the form:
gpio-function-name = ;
where:
phandle is a pointer to the GPIO node
gpio_num is the number of the GPIO (0 to 223)
flags is a flag, as follows:
This was taken from commit b48c54e2 at:
git://git.kernel.org/pub/scm/linux/kernel/git/olof/tegra.git
config.mk is updated to provide this file to boards through the
built-in mechanism:
/include/ ARCH_CPU_DTS
Signed-off-by: Simon Glass
---
arch/arm/cpu/armv7/tegra2/config.mk |2 +
arch/arm
This was taken from commit b48c54e2 at:
git://git.kernel.org/pub/scm/linux/kernel/git/olof/tegra.git
Signed-off-by: Simon Glass
---
board/nvidia/dts/tegra2-seaboard.dts | 36 ++
1 files changed, 36 insertions(+), 0 deletions(-)
create mode 100644 board/nvidia/
This switches Seaboard over to use FDT for run-time config instead of
CONFIG options. USB is the only user at present.
Signed-off-by: Simon Glass
---
Changes in v3:
- Drop Tegra USB alignment patch as we will deal with this another way
Changes in v6:
- Drop fdt alignment patch as we will handle
Add the definition of the oscillator clock frequency.
Signed-off-by: Simon Glass
---
Changes in v6:
- Add new patch to bring in clock bindings to seaboard
board/nvidia/dts/tegra2-seaboard.dts | 10 ++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/board/nvidia/dts/teg
This was taken from commit b48c54e2 at:
git://git.kernel.org/pub/scm/linux/kernel/git/olof/tegra.git
Signed-off-by: Simon Glass
---
arch/arm/dts/skeleton.dtsi | 13 +
1 files changed, 13 insertions(+), 0 deletions(-)
create mode 100644 arch/arm/dts/skeleton.dtsi
diff --git a/arc
Add a directory to hold device tree binding files, to permit easy review
of this material in U-Boot patches.
Signed-off-by: Simon Glass
---
Changes in v4:
- Add staging area for device tree bindings used in U-Boot
Changes in v5:
- Update README to indicate that we will commit fdt documentation t
A common requirement is to find the clock ID for a peripheral. This is the
second cell of the 'clocks' property (the first being the phandle itself).
Signed-off-by: Simon Glass
---
Changes in v4:
- Add fdtdec function to return peripheral ID
Changes in v6:
- Move peripheral decode function into
This adds a basic binding for the oscillator and peripheral clocks. The
second cell is the clock number, defined as the bit number within the clock
enable register if the peripheral clock.
This uses the RFC clock bindings from Grant Likely so may change later:
https://lkml.org/lkml/2011/12/12/498
Add a function to look up a property which is a phandle in a node, and
another to read a fixed-length integer array from an fdt property.
Also add a function to read boolean properties, although there is no
actual boolean type in U-Boot.
Signed-off-by: Simon Glass
Acked-by: Gerald Van Baren
Acke
We set up two USB ports, one of which can be host or device.
For some reason the kernel version does enable both ports.
Signed-off-by: Simon Glass
---
Changes in v2:
- Remove 0x from fdt aliases
- Use "okay" instead of "ok" for fdt node status
Changes in v3:
- Disable USB2 which is not used on S
This adds clock references to the USB part of the device tree for U-Boot,
and marks USB1 as supporting legacy mode (which we disable in the driver).
The USB timing information may vary between boards sometimes, but for
now we hard-code it in C. This is because all current T2x boards use
the same v
This file is taken from the Linux mailing list.
Signed-off-by: Simon Glass
---
doc/device-tree-bindings/usb/tegra-usb.txt | 13 +
1 files changed, 13 insertions(+), 0 deletions(-)
create mode 100644 doc/device-tree-bindings/usb/tegra-usb.txt
diff --git a/doc/device-tree-bindings
This adds a property to indicate a port which can switch between host and device
mode.
Signed-off-by: Simon Glass
---
Changes in v5:
- Add dr_mode property to control host/device/otg mode
- Add nvidia,has-legacy-mode property per review comments
doc/device-tree-bindings/usb/tegra-usb.txt | 12
This fixes five trivial issues in fdtdec.c:
1. fdtdec_get_is_enabled() doesn't really need a default value
2. The fdt must be word-aligned, since otherwise it will fail on ARM
3. The compat_names[] array is missing its first element. This is needed
only because the first fdt_compat_id is defined to
Grant,
Please pull these few fixes and doc updates for 3.3.
Rob
The following changes since commit 6b21d18ed50c7d145220b0724ea7f2613abf0f95:
Linux 3.3-rc5 (2012-02-25 12:18:16 -0800)
are available in the git repository at:
git://sources.calxeda.com/kernel/linux.git fixes-for-grant
Baruch
On Mon, Feb 27, 2012 at 04:29:37PM +, Arnd Bergmann wrote:
> On Monday 27 February 2012, Jason Cooper wrote:
> > This patch series provides initial support for devicetree on kirkwood for
> > the
> > dreamplug platform. After discussing the approach with Arnd Bergman last
> > week
> > at ELC,
On 02/27/2012 03:22 PM, Cousson, Benoit :
> On 2/27/2012 2:09 PM, Nicolas Ferre wrote:
>> On 02/23/2012 04:57 PM, Cousson, Benoit :
>>> On 2/23/2012 4:51 PM, Nicolas Ferre wrote:
On 02/23/2012 11:03 AM, Cousson, Benoit :
> Salut Nico,
Coucou Benoit ;-)
> On 2/22/2012 11:
On Monday 27 February 2012, Jason Cooper wrote:
> This patch series provides initial support for devicetree on kirkwood for the
> dreamplug platform. After discussing the approach with Arnd Bergman last week
> at ELC, we decided to take an incremental approach to the conversion. First,
> I
> wou
On 02/06/2012 11:29 AM, Tobias Klauser wrote:
> The gpios property is described in Documentation/devicetree/gpio.txt, so
> reference this document.
>
> Signed-off-by: Tobias Klauser
Applied.
Rob
> ---
> Documentation/devicetree/bindings/gpio/led.txt |6 +++---
> 1 files changed, 3 inserti
Initially, copied guruplug-setup.c and did s/guruplug/dreamplug/g.
Then, switched to SPI based NOR flash.
After talking to Arnd Bergman, chose an incremental approach to adding
devicetree support. First, we use the dtb to tell us we are on the
dreamplug, then we gradually port over drivers.
Driv
This uart is the primary console for the dreamplug. Removed
kirkwood_uart0_init() call from board-dt.c.
Signed-off-by: Jason Cooper
---
Changes from v1
- moved serial config from kirkwood.dtsi to kirkwood-dreamplug.dts as
suggested by Arnd Bergman.
arch/arm/boot/dts/kirkwood-dreampl
This patch series provides initial support for devicetree on kirkwood for the
dreamplug platform. After discussing the approach with Arnd Bergman last week
at ELC, we decided to take an incremental approach to the conversion. First, I
would detect that we were on the dreamplug via the devicetree
On 02/27/2012 06:48 AM, Baruch Siach wrote:
> Since 9e6c643b (phy/fixed: use an unique MDIO bus name) the name of the fixed
> PHY bus is "fixed-0". Teach of_phy_connect_fixed_link() the new name.
>
Applied for 3.3.
Rob
> Tested on a P1020RDB PowerPC system.
>
> Signed-off-by: Baruch Siach
> -
On Sun, Feb 26, 2012 at 11:00:38AM +, Ian Campbell wrote:
> On Thu, 2012-02-23 at 19:52 +, Jason Cooper wrote:
> > This patch series provides initial support for devicetree on kirkwood for
> > the
> > dreamplug platform. After discussing the approach with Arnd Bergman last
> > week
> > a
On Mon, Feb 27, 2012 at 03:21:26PM +0100, Cousson, Benoit wrote:
> Mmm, it is written in Rajendra's changelog:
> "-2- All common regulator nodes for twl4030 and twl6030 are
> now defined in the twl4030.dtsi and twl6030.dtsi instead of
Oh, it's buried at the end of a rather verbose inter-patch ch
On 2/27/2012 2:09 PM, Nicolas Ferre wrote:
On 02/23/2012 04:57 PM, Cousson, Benoit :
On 2/23/2012 4:51 PM, Nicolas Ferre wrote:
On 02/23/2012 11:03 AM, Cousson, Benoit :
Salut Nico,
Coucou Benoit ;-)
On 2/22/2012 11:59 AM, Nicolas Ferre wrote:
On 01/27/2012 06:29 PM, Cousson, Benoit :
Ad
On 2/27/2012 3:03 PM, Mark Brown wrote:
On Mon, Feb 27, 2012 at 02:52:05PM +0100, Cousson, Benoit wrote:
On 2/27/2012 2:41 PM, Mark Brown wrote:
On Mon, Feb 27, 2012 at 06:01:20PM +0530, Rajendra Nayak wrote:
Please can you guys come up with a single unified series for this stuff
- I'll hold
Hi,
This series adds irqdomain and device tree support for both the
interrupt and GPIO controllers of AT91 SoC. It has been discussed a lot
and I think that I have addressed all comments and advices.
This irqdomain work takes advantage of Grant's patch series that is present
in:
git://git.secretl
On Mon, Feb 27, 2012 at 02:52:05PM +0100, Cousson, Benoit wrote:
> On 2/27/2012 2:41 PM, Mark Brown wrote:
> >On Mon, Feb 27, 2012 at 06:01:20PM +0530, Rajendra Nayak wrote:
> >Please can you guys come up with a single unified series for this stuff
> >- I'll hold off on applying anything to allow
On Feb 27, 2012 3:32 AM, "Samuel Ortiz" wrote:
>
> Hi Grant,
>
> On Fri, Feb 24, 2012 at 03:06:58PM -0700, Grant Likely wrote:
> > Sparc has its own helpers for translating address ranges when the device
> > tree is parsed at boot time, and it isn't able to use
of_platform_populate().
> > However,
Hi Mark,
On 2/27/2012 2:41 PM, Mark Brown wrote:
On Mon, Feb 27, 2012 at 06:01:20PM +0530, Rajendra Nayak wrote:
Depending on what order Mark happens to pull them in, I am fine
re-sending adding support for the 2 twl6030 fixed regulators.
Please can you guys come up with a single unified ser
On Mon, Feb 27, 2012 at 06:01:20PM +0530, Rajendra Nayak wrote:
> Depending on what order Mark happens to pull them in, I am fine
> re-sending adding support for the 2 twl6030 fixed regulators.
Please can you guys come up with a single unified series for this stuff
- I'll hold off on applying any
Since 9e6c643b (phy/fixed: use an unique MDIO bus name) the name of the fixed
PHY bus is "fixed-0". Teach of_phy_connect_fixed_link() the new name.
Tested on a P1020RDB PowerPC system.
Signed-off-by: Baruch Siach
---
drivers/of/of_mdio.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(
On 02/23/2012 04:57 PM, Cousson, Benoit :
> On 2/23/2012 4:51 PM, Nicolas Ferre wrote:
>> On 02/23/2012 11:03 AM, Cousson, Benoit :
>>> Salut Nico,
>>
>> Coucou Benoit ;-)
>>
>>> On 2/22/2012 11:59 AM, Nicolas Ferre wrote:
On 01/27/2012 06:29 PM, Cousson, Benoit :
> Add some basic helpers
On Monday 27 February 2012 05:45 PM, Peter Ujfalusi wrote:
Hi Rajendra,
On 02/27/2012 12:35 PM, Rajendra Nayak wrote:
Re-sending on top of Tero's changes which are already
in -next and the one which adds support for twl6030
vdd1/2/3 SMPS [1].
Would you be able to add support for V1V8, V2V1 S
Hi Rajendra,
On 02/27/2012 12:35 PM, Rajendra Nayak wrote:
> Re-sending on top of Tero's changes which are already
> in -next and the one which adds support for twl6030
> vdd1/2/3 SMPS [1].
Would you be able to add support for V1V8, V2V1 SMPS supplies in
twl6030? These regulators are need on SD
Hi Grant,
On Fri, Feb 24, 2012 at 03:06:58PM -0700, Grant Likely wrote:
> Sparc has its own helpers for translating address ranges when the device
> tree is parsed at boot time, and it isn't able to use of_platform_populate().
> However, there are some device drivers that want to use that function
Re-sending on top of Tero's changes which are already
in -next and the one which adds support for twl6030
vdd1/2/3 SMPS [1].
v3 has mainly 2 differences from v2
-1- TWL driver now uses just one table for both dt and
non-dt based lookup for driver data.
-2- All common regulator nodes for twl4030 a
Pass all the voltage regulator information for
twl6030/twl4030 PMIC from device tree.
Signed-off-by: Rajendra Nayak
Signed-off-by: Benoit Cousson
---
arch/arm/boot/dts/omap3-beagle.dts |6 +++
arch/arm/boot/dts/twl4030.dtsi | 18 +++
arch/arm/boot/dts/twl6030.dtsi | 60 +
Modify the twl regulator driver to extract the regulator_init_data from
device tree when passed, instead of getting it through platform_data
structures (on non-DT builds)
Also add documentation for TWL regulator specific bindings.
Signed-off-by: Rajendra Nayak
---
.../bindings/regulator/twl-reg
51 matches
Mail list logo