Re: [PATCH V2 2/3] arm/dt: add very basic dts file for babbage board

2011-03-14 Thread Grant Likely
On Tue, Mar 08, 2011 at 11:46:47AM +0800, Shawn Guo wrote: > On Tue, Mar 08, 2011 at 11:31:07AM +0800, Jason Hui wrote: > > Hi, Shawn, > > > > On Tue, Mar 8, 2011 at 11:11 AM, Shawn Guo wrote: > > > On Tue, Mar 08, 2011 at 10:20:33AM +0800, Jason Hui wrote: > > >> Hi, Shawn, > > >> > > >> On Mon,

Re: [PATCH] ARM: Samsung: Basic CPUIDLE Support

2011-03-14 Thread Amit Kachhap
Hi nicolas, Can you merge this patch for adding basic cpuidle support? This may be needed for the current linaro release cycle. Regards, Amit Daniel On 10 March 2011 10:41, Amit Daniel Kachhap wrote: > This patch supports cpuidle framework for samsung S5PV310. Currently, > Only one idle state is

Re: [PATCH 2/7] arm/dt: add pad configurations for mx51 babbage

2011-03-14 Thread Shawn Guo
On Mon, Mar 14, 2011 at 11:53:14PM +0800, Shawn Guo wrote: > On Mon, Mar 14, 2011 at 10:20:16AM -0500, Rob Herring wrote: > > Shawn, > > > Hi Rob, > > > On 03/14/2011 09:25 AM, Shawn Guo wrote: > > >The pad configuration is something common between dt and non-dt > > >kernel, so it can be copied f

Re: [PATCH] arm/dt: Add dtb make rule

2011-03-14 Thread Shawn Guo
On Mon, Mar 14, 2011 at 06:34:53PM -0500, Rob Herring wrote: > Grant, > > On 03/10/2011 01:46 PM, Rob Herring wrote: > >From: Rob Herring > > > >Add a make rule to compile dt blobs for ARM. > > > >Signed-off-by: Rob Herring > > Can you pick this one up in your ARM tree. > +1 It's handy. -- Re

Re: [PATCH] arm/dt: Add dtb make rule

2011-03-14 Thread Rob Herring
Grant, On 03/10/2011 01:46 PM, Rob Herring wrote: From: Rob Herring Add a make rule to compile dt blobs for ARM. Signed-off-by: Rob Herring Can you pick this one up in your ARM tree. Rob ___ linaro-dev mailing list linaro-dev@lists.linaro.org htt

Re: Better reviews for the same cost in gcc-linaro

2011-03-14 Thread Martin Pool
On 15 March 2011 08:59, Michael Hope wrote: > On Tue, Mar 15, 2011 at 12:12 AM, Richard Sandiford > wrote: >>> Short story is that we have a better tool than svn, so feature >>> branches may make some use cases overall easier and more transparent. >> >> Well, as you say, the size of GCC and its h

Re: Better reviews for the same cost in gcc-linaro

2011-03-14 Thread Michael Hope
On Tue, Mar 15, 2011 at 12:12 AM, Richard Sandiford wrote: >> Short story is that we have a better tool than svn, so feature >> branches may make some use cases overall easier and more transparent. > > Well, as you say, the size of GCC and its history is pushing the limits > of bzr a bit.  For bug

Re: No support of platform device instance id?

2011-03-14 Thread Grant Likely
On Sat, Mar 12, 2011 at 10:55:33PM +0800, Shawn Guo wrote: > Hi Grant, > > Thanks for the explanation. > > On Sat, Mar 12, 2011 at 02:46:20AM -0700, Grant Likely wrote: > > On Sat, Mar 12, 2011 at 03:00:57PM +0800, Shawn Guo wrote: > > > Hello all, > > > > > > I'm looking at function of_device_a

Re: [PATCH 2/2 android/device/linaro/common] mount mmc partitions instead of mtd partitions

2011-03-14 Thread Paul Larson
On Mon, Mar 14, 2011 at 12:05 PM, Paul Larson wrote: > > 1. with the current way we do things, we typically either do: > mmcblk0p1 - boot (for master image) > mmcblk0p2 - root (for master imge) > then either p3, p4 for testboot, testrootfs, or an extended partition, with > 2 or more logical partit

Re: [PATCH 2/2 android/device/linaro/common] mount mmc partitions instead of mtd partitions

2011-03-14 Thread Paul Larson
> > Hi, Paul: > There's a wiki page here, > https://wiki.linaro.org/Platform/Android/DevBoards > Also I have created a branch > lp:~jeremychang/linaro-image-tools/android for bug #724207. > Besides using linaro-media-create to deploy the android contents, > indeed I am curious about how we sh

LAVA integration effort for Android validation

2011-03-14 Thread Jeremy Chang
Hi, list: I am working on Validation part for Android, in which mainly inclusive of integrating existing benchmark and testing suites into abrek, like 0xbench and android CTS. For now in my thought, if these benchmark/testing can integrate with abrek, then it should be no much problem or extra

Re: [PATCH 2/7] arm/dt: add pad configurations for mx51 babbage

2011-03-14 Thread Shawn Guo
On Mon, Mar 14, 2011 at 10:20:16AM -0500, Rob Herring wrote: > Shawn, > Hi Rob, > On 03/14/2011 09:25 AM, Shawn Guo wrote: > >The pad configuration is something common between dt and non-dt > >kernel, so it can be copied from non-dt code directly. > > > >Signed-off-by: Shawn Guo > >--- > > arch/

Re: [PATCH 2/2 android/device/linaro/common] mount mmc partitions instead of mtd partitions

2011-03-14 Thread Jeremy Chang
On Mon, Mar 14, 2011 at 11:28 PM, Paul Larson wrote: > On Mon, Mar 14, 2011 at 9:37 AM, Jeremy Chang > wrote: >> >> +# mount mmc partitions >> +    mount ext4 mmc@blk0p3 /system >> +    mount ext4 mmc@blk0p3 /system ro remount >> +    mount ext4 mmc@blk0p5 /cache >> +    mount ext4 mmc@blk0p6 /da

Re: [PATCH 2/2 android/device/linaro/common] mount mmc partitions instead of mtd partitions

2011-03-14 Thread Patrik Ryd
On 14 March 2011 16:28, Paul Larson wrote: > On Mon, Mar 14, 2011 at 9:37 AM, Jeremy Chang wrote: > >> +# mount mmc partitions >> +mount ext4 mmc@blk0p3 /system >> +mount ext4 mmc@blk0p3 /system ro remount >> +mount ext4 mmc@blk0p5 /cache >> +mount ext4 mmc@blk0p6 /data >> +mo

Re: [PATCH 0/7] support sdhci-esdhc-imx as an OF device

2011-03-14 Thread Shawn Guo
Due to something I should not put on git send-email command, the following CC setting did not work for this patch set. [sendemail] cc = patc...@linaro.org Sorry. I will be careful next time. -- Regards, Shawn On Mon, Mar 14, 2011 at 10:25:52PM +0800, Shawn Guo wrote: > This patch set i

Re: [PATCH 2/2 android/device/linaro/common] mount mmc partitions instead of mtd partitions

2011-03-14 Thread Jamie Bennett
On 14/03/11 at 10:28am, Paul Larson wrote: > On Mon, Mar 14, 2011 at 9:37 AM, Jeremy Chang wrote: > > > +# mount mmc partitions > > +mount ext4 mmc@blk0p3 /system > > +mount ext4 mmc@blk0p3 /system ro remount > > +mount ext4 mmc@blk0p5 /cache > > +mount ext4 mmc@blk0p6 /data > > +

Re: [PATCH 2/2 android/device/linaro/common] mount mmc partitions instead of mtd partitions

2011-03-14 Thread Paul Larson
On Mon, Mar 14, 2011 at 9:37 AM, Jeremy Chang wrote: > +# mount mmc partitions > +mount ext4 mmc@blk0p3 /system > +mount ext4 mmc@blk0p3 /system ro remount > +mount ext4 mmc@blk0p5 /cache > +mount ext4 mmc@blk0p6 /data > +mount ext4 mmc@blk0p7 /sdcard > > In my understanding, t

Re: [PATCH android/device/linaro/beagleboard] Delete init.rc

2011-03-14 Thread Patrik Ryd
Looks good to me. Will you creates patches for the other two boards? /Patrik On 14 March 2011 15:38, Jeremy Chang wrote: > Move init.rc to the common directory > > Signed-off-by: Jeremy Chang > --- > AndroidBoard.mk |2 +- > init.rc | 411 > -

Re: [PATCH 2/2 android/device/linaro/common] mount mmc partitions instead of mtd partitions

2011-03-14 Thread Patrik Ryd
Looks good to me. /Patrik On 14 March 2011 15:37, Jeremy Chang wrote: > All partitions from mmc is expected. > > This depends on Jim Huang's patch "init: support mmc device mount" in > android/system/core to work. > > Signed-off-by: Jeremy Chang > --- > init.rc | 12 ++-- > 1 files

Re: [PATCH 1/2 android/device/linaro/common] Add init.rc in common part of linaro devices

2011-03-14 Thread Patrik Ryd
Looks good to me. /Patrik On 14 March 2011 15:37, Jeremy Chang wrote: > Signed-off-by: Jeremy Chang > --- > init.rc | 410 > +++ > 1 files changed, 410 insertions(+), 0 deletions(-) > create mode 100644 init.rc > > diff --git a/in

Re: [PATCH 2/7] arm/dt: add pad configurations for mx51 babbage

2011-03-14 Thread Rob Herring
Shawn, On 03/14/2011 09:25 AM, Shawn Guo wrote: The pad configuration is something common between dt and non-dt kernel, so it can be copied from non-dt code directly. Signed-off-by: Shawn Guo --- arch/arm/mach-mx5/board-dt.c | 94 ++ 1 files changed,

[PATCH android/device/linaro/beagleboard] Delete init.rc

2011-03-14 Thread Jeremy Chang
Move init.rc to the common directory Signed-off-by: Jeremy Chang --- AndroidBoard.mk |2 +- init.rc | 411 --- 2 files changed, 1 insertions(+), 412 deletions(-) delete mode 100644 init.rc diff --git a/AndroidBoard.mk b/AndroidBo

[PATCH 1/2 android/device/linaro/common] Add init.rc in common part of linaro devices

2011-03-14 Thread Jeremy Chang
Signed-off-by: Jeremy Chang --- init.rc | 410 +++ 1 files changed, 410 insertions(+), 0 deletions(-) create mode 100644 init.rc diff --git a/init.rc b/init.rc new file mode 100644 index 000..b6a92c5 --- /dev/null +++ b/init.rc @@

[PATCH 2/2 android/device/linaro/common] mount mmc partitions instead of mtd partitions

2011-03-14 Thread Jeremy Chang
All partitions from mmc is expected. This depends on Jim Huang's patch "init: support mmc device mount" in android/system/core to work. Signed-off-by: Jeremy Chang --- init.rc | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/init.rc b/init.rc index b6a92c5..a3

[PATCH 7/7] dt: update fsl-esdhc bindings for imx esdhc OF support

2011-03-14 Thread Shawn Guo
Signed-off-by: Shawn Guo --- .../devicetree/bindings/mmc/fsl-esdhc.txt |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/Documentation/devicetree/bindings/mmc/fsl-esdhc.txt b/Documentation/devicetree/bindings/mmc/fsl-esdhc.txt index 64bcb8b..fac52e2 100644 ---

[PATCH 6/7] arm/dts: babbage: add device nodes for esdhc

2011-03-14 Thread Shawn Guo
Signed-off-by: Shawn Guo --- arch/arm/boot/dts/babbage.dts | 14 ++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/babbage.dts b/arch/arm/boot/dts/babbage.dts index 378cd7d..d1824ab 100644 --- a/arch/arm/boot/dts/babbage.dts +++ b/arch/arm/boot/dts

[PATCH 5/7] mmc: support sdhci-esdhc-imx as an OF device

2011-03-14 Thread Shawn Guo
Signed-off-by: Shawn Guo --- drivers/mmc/host/Kconfig |7 --- drivers/mmc/host/Makefile|3 ++- drivers/mmc/host/sdhci-of-core.c |3 +++ drivers/mmc/host/sdhci-of.h |1 + 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/drivers/mmc/host/Kconf

[PATCH 4/7] mmc: consolidate sdhci_pltfm_data and sdhci_of_data into one

2011-03-14 Thread Shawn Guo
This patch is motivated by the work of supporting sdhci-esdhc-imx as an OF device. The sdhci-esdhc-imx driver was well designed to be able to work with either platform or OF bus, with a little effort to decouple the driver from sdhci_pltfm_data. Like sdhci_ops works for both platform and OF sdhci

[PATCH 3/7] mmc: make the reference to sdhci_tegra_dt_pdata conditional

2011-03-14 Thread Shawn Guo
Wrap tegra dt_id with CONFIG_MMC_SDHCI_TEGRA to make the reference to sdhci_tegra_dt_pdata conditional, otherwise it will stop build for other mmc driver when OF is enabled. Signed-off-by: Shawn Guo --- drivers/mmc/host/sdhci-pltfm.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) d

[PATCH 1/7] mx51 enchance the sd/mmc HW timing compatibility on mx51 boards.

2011-03-14 Thread Shawn Guo
From: Richard Zhu Some cards have the CRC errors in read on mx51 BBG board. Configure the eSDHC pad configurations to level up the compatibility to fix this issue. Signed-off-by: Richard Zhu Tested-by: Shawn Guo --- arch/arm/plat-mxc/include/mach/iomux-mx51.h | 40 +-

[PATCH 2/7] arm/dt: add pad configurations for mx51 babbage

2011-03-14 Thread Shawn Guo
The pad configuration is something common between dt and non-dt kernel, so it can be copied from non-dt code directly. Signed-off-by: Shawn Guo --- arch/arm/mach-mx5/board-dt.c | 94 ++ 1 files changed, 94 insertions(+), 0 deletions(-) diff --git a/arch

[PATCH 0/7] support sdhci-esdhc-imx as an OF device

2011-03-14 Thread Shawn Guo
This patch set is to support sdhci-esdhc-imx as an OF device. As there is already powerpc based esdhc OF support, it chose to add OF support for imx esdhc driver in a different way from what sdhci-tegra did. It consolidates sdhci_pltfm_data sdhci_of_data into sdhci_data and get sdhci-esdhc-imx

gcc: Thumb interworking and weakly linked functions

2011-03-14 Thread Aneesh V
Hi, I have an interesting observation that I thought might be interesting to the tool-chain team. I was trying to build u-boot in Thumb2 for OMAP4. Everything was fine until I added some patches recently. One of these patches introduced an API (let's say foo()) that has a weakly linked alias(let

[PATCH 3/5] arm/dt: mx51: dynamically add clocks per dt nodes

2011-03-14 Thread Shawn Guo
This patch is to change the static clock creating and registering to the dynamic way, which scans dt clock nodes, associate clk with device_node, and then add them to clkdev accordingly. It's a pretty straight translation from non-dt clock code to dt one, and it does not really change any actual c

[PATCH 1/5] arm/dts: babbage: add all available clock nodes

2011-03-14 Thread Shawn Guo
The patch is to add all available dt clock nodes for babbage board. It sticks to the clock name used in clock-mx51-mx53.c, so that everything gets consistent to Reference Manual. For example, the numbering in clock name usually starts from 1, while 'reg' property numbering starts from 0 to easy cl

[PATCH 5/5] of/clock: eliminate function __of_clk_get_from_provider

2011-03-14 Thread Shawn Guo
With the platform clock support, the 'struct clk' should have been associated with device_node->data. So the use of function __of_clk_get_from_provider can be eliminated. Signed-off-by: Shawn Guo --- drivers/of/clock.c | 23 ++- 1 files changed, 2 insertions(+), 21 deletio

[PATCH 2/5] arm/mxc: add clk member 'rate' to ease dt fixed-clock support

2011-03-14 Thread Shawn Guo
This new member is not necessary to support dt clock, but it can simplified the code a lot in terms of those fixed rate clocks. Signed-off-by: Shawn Guo --- arch/arm/plat-mxc/include/mach/clock.h |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/arch/arm/plat-mxc/includ

[PATCH 0/5] add full platform dt clock support for mx51 babbage

2011-03-14 Thread Shawn Guo
This patch set is to add full platform dt clock support for mx51 babbage, based on Jason's basic-mx51-dt patch. All mx51 non-dt clocks in clock-mx51-mx53.c are translated to dt ones. Shawn Guo (5): arm/dts: babbage: add all available clock nodes arm/mxc: add clk member 'rate' to ease

[PATCH 4/5] arm/dt: mx5: change timer init function to dt clock way

2011-03-14 Thread Shawn Guo
The big deal here is that it removes the call to mx51_clocks_init, where all the possible clocks are added to clkdev in static way. Signed-off-by: Shawn Guo --- arch/arm/mach-mx5/board-dt.c |9 - 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-mx5/board-d

Re: Better reviews for the same cost in gcc-linaro

2011-03-14 Thread Richard Sandiford
I realise this reply is academic; I'm happy to accept the decision. For the record though... Michael Hope writes: > On Thu, Mar 10, 2011 at 11:51 PM, Richard Sandiford > wrote: >> On 9 March 2011 20:56, Michael Hope wrote: >>> We currently use a feature branch / merge request / merge / test / >

Re: Yet another memory provider: can linaro organize a meeting?

2011-03-14 Thread Alex Deucher
On Tue, Mar 8, 2011 at 9:01 AM, Andy Walls wrote: > On Tue, 2011-03-08 at 09:13 +0100, Hans Verkuil wrote: >> Hi all, >> >> We had a discussion yesterday regarding ways in which linaro can assist >> V4L2 development. One topic was that of sorting out memory providers like >> GEM and HWMEM. >> >> T

Re: Yet another memory provider: can linaro organize a meeting?

2011-03-14 Thread Alex Deucher
On Tue, Mar 8, 2011 at 12:23 PM, Hans Verkuil wrote: > On Tuesday, March 08, 2011 15:01:10 Andy Walls wrote: >> On Tue, 2011-03-08 at 09:13 +0100, Hans Verkuil wrote: >> > Hi all, >> > >> > We had a discussion yesterday regarding ways in which linaro can assist >> > V4L2 development. One topic was