Re: [PATCH] ARM: dts: am335x-bone* enable pmic-shutdown-controller

2015-05-18 Thread Pantelis Antoniou
Hi Tony, On May 18, 2015, at 20:03 , Tony Lindgren t...@atomide.com wrote: * Robert Nelson robertcnel...@gmail.com [150518 09:51]: On Mon, May 18, 2015 at 11:29 AM, Tony Lindgren t...@atomide.com wrote: * Robert Nelson robertcnel...@gmail.com [150518 09:15]: On Mon, May 18, 2015 at 10:21

Re: Unifying cape overlays into boot .dtb for BeagleBoard.org boards

2014-06-17 Thread Pantelis Antoniou
Hi Russell, CCing gcl. On Jun 17, 2014, at 4:15 PM, Russell King - ARM Linux wrote: On Tue, Jun 17, 2014 at 08:58:31AM -0400, Matt Porter wrote: On Tue, Jun 17, 2014 at 10:09:31AM +0100, Russell King wrote: Why should kernel developers go to the extent of adding support for DT modification

Re: Unifying cape overlays into boot .dtb for BeagleBoard.org boards

2014-06-17 Thread Pantelis Antoniou
Hi Russell, On Jun 17, 2014, at 7:01 PM, Russell King - ARM Linux wrote: On Tue, Jun 17, 2014 at 04:32:11PM +0300, Pantelis Antoniou wrote: The complexity is absolutely required, and it has nothing to do with beaglebone capes. The fact of the matter is that reconfigurable hardware is here

Re: Unifying cape overlays into boot .dtb for BeagleBoard.org boards

2014-06-17 Thread Pantelis Antoniou
Hi Russell, On Jun 17, 2014, at 8:05 PM, Russell King - ARM Linux wrote: On Tue, Jun 17, 2014 at 07:59:21PM +0300, Pantelis Antoniou wrote: That case might already work on FPGA people's trees. I know Altera for sure uses overlays, and some xilinx guys popped up on past discussions

Re: Unifying cape overlays into boot .dtb for BeagleBoard.org boards

2014-06-17 Thread Pantelis Antoniou
Hi Rusell, On Jun 17, 2014, at 8:41 PM, Russell King - ARM Linux wrote: On Tue, Jun 17, 2014 at 08:10:46PM +0300, Pantelis Antoniou wrote: Hi Russell, On Jun 17, 2014, at 8:05 PM, Russell King - ARM Linux wrote: DRM is not hotpluggable in any shape or form, and David Airlie has indicated

Re: [PATCH v2] ARM: dts: am335x-bone-common: Add i2c2 definition

2014-05-13 Thread Pantelis Antoniou
Hi Javier, On May 13, 2014, at 7:39 AM, Javier Martinez Canillas wrote: On Tue, May 13, 2014 at 4:22 PM, Matt Porter matt.por...@linaro.org wrote: On Tue, May 13, 2014 at 04:06:02PM +0200, Javier Martinez Canillas wrote: On Tue, May 13, 2014 at 2:53 PM, Tom Rini tr...@ti.com wrote: On

Re: [PATCH v2] ARM: dts: am335x-bone-common: Add i2c2 definition

2014-05-13 Thread Pantelis Antoniou
Hi Javier, On May 13, 2014, at 10:51 AM, Javier Martinez Canillas wrote: Hello Pantelis, On Tue, May 13, 2014 at 7:07 PM, Pantelis Antoniou pantelis.anton...@gmail.com wrote: Hi Javier, On May 13, 2014, at 7:39 AM, Javier Martinez Canillas wrote: On Tue, May 13, 2014 at 4:22 PM, Matt

Re: [PATCH v2] ARM: dts: am335x-bone-common: Add i2c2 definition

2014-05-13 Thread Pantelis Antoniou
Hi John, On May 13, 2014, at 1:24 PM, John Syn wrote: On 5/13/14, 10:51 AM, Javier Martinez Canillas jav...@dowhile0.org wrote: Hello Pantelis, On Tue, May 13, 2014 at 7:07 PM, Pantelis Antoniou pantelis.anton...@gmail.com wrote: Hi Javier, On May 13, 2014, at 7:39 AM, Javier

Re: pandaboard boot crash with linux-next

2014-03-19 Thread Pantelis Antoniou
Hi Tomi, On Mar 19, 2014, at 4:33 PM, Tomi Valkeinen wrote: On 19/03/14 16:29, Pantelis Antoniou wrote: Hi Tomi, On Mar 19, 2014, at 4:25 PM, Tomi Valkeinen wrote: On 17/03/14 16:09, Tomi Valkeinen wrote: Hi, I noticed that my omap4 panda does not boot with today's linux-next

Re: pandaboard boot crash with linux-next

2014-03-19 Thread Pantelis Antoniou
the issue with a quick look. Below is the crash. I bisected this to the commit: commit ad2c12e9bc250b3387bcb4ab9ab114f43ff6122f Author: Pantelis Antoniou pa...@antoniou-consulting.com Date: Fri Dec 13 20:08:59 2013 +0200 of: device_node kobject lifecycle fixes After the move

Re: [PATCH] staging: Platform device tester - Allow removal

2013-08-13 Thread Pantelis Antoniou
Hi Greg, On Aug 13, 2013, at 9:20 PM, Greg Kroah-Hartman wrote: On Tue, Aug 13, 2013 at 12:34:30PM +0300, Pantelis Antoniou wrote: This is a very simple device that allows testing of the removal path for platform devices. The only interface is a single writeable sysfs attribute (action

Re: [PATCH] staging: Platform device tester - Allow removal

2013-08-13 Thread Pantelis Antoniou
Hi Greg, Just to make sure we're on the same page this is with my platform device removal patchset applied. Without it you get the original crash I've posted in the pdevtest patch with the unbind method. Regards -- Pantelis -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH] staging: Platform device tester - Allow removal

2013-08-13 Thread Pantelis Antoniou
Hi Russell, On Aug 13, 2013, at 10:02 PM, Russell King - ARM Linux wrote: On Tue, Aug 13, 2013 at 09:59:03PM +0300, Pantelis Antoniou wrote: Hi Greg, Just to make sure we're on the same page this is with my platform device removal patchset applied. Without it you get the original crash

Re: [PATCH 3/5] omap: Properly handle resources for omap_devices

2013-08-09 Thread Pantelis Antoniou
Hi On Aug 9, 2013, at 6:16 PM, Kevin Hilman wrote: Pantelis Antoniou pa...@antoniou-consulting.com writes: Hi Kevin, On Aug 7, 2013, at 9:45 PM, Kevin Hilman wrote: [fixing address for Benoit] Pantelis Antoniou pa...@antoniou-consulting.com writes: omap_device relies

Re: [PATCH 3/5] omap: Properly handle resources for omap_devices

2013-08-09 Thread Pantelis Antoniou
Hi Kevin, On Aug 9, 2013, at 7:35 PM, Kevin Hilman wrote: Pantelis Antoniou pa...@antoniou-consulting.com writes: Hi On Aug 9, 2013, at 6:16 PM, Kevin Hilman wrote: Pantelis Antoniou pa...@antoniou-consulting.com writes: Hi Kevin, On Aug 7, 2013, at 9:45 PM, Kevin Hilman wrote

Re: [PATCH 3/5] omap: Properly handle resources for omap_devices

2013-08-08 Thread Pantelis Antoniou
Hi Kevin, On Aug 7, 2013, at 9:45 PM, Kevin Hilman wrote: [fixing address for Benoit] Pantelis Antoniou pa...@antoniou-consulting.com writes: omap_device relies on the platform notifier callbacks managing resources behind the scenes. The resources were not properly linked causing crashes

Re: [PATCH 4/5] omap: Avoid crashes in the case of hwmod misconfiguration

2013-08-08 Thread Pantelis Antoniou
Hi Kevin, On Aug 8, 2013, at 12:15 AM, Kevin Hilman wrote: Pantelis Antoniou pa...@antoniou-consulting.com writes: omap hwmod is really sensitive to hwmod misconfiguration. Getting a minor clock wrong always ended up in a crash. Attempt to be more resilient by not assigning variables

Re: [PATCH 1/5] pdev: Fix platform device resource linking

2013-08-07 Thread Pantelis Antoniou
Hi Greg, On Aug 7, 2013, at 8:56 AM, Greg Kroah-Hartman wrote: On Tue, Aug 06, 2013 at 01:27:35PM +0300, Pantelis Antoniou wrote: Hi Greg, On Aug 6, 2013, at 1:15 PM, Greg Kroah-Hartman wrote: On Tue, Aug 06, 2013 at 12:45:42PM +0300, Pantelis Antoniou wrote: Hi Greg, On Aug 6, 2013

Re: [PATCH 5/5] arm: omap: Proper cleanups for omap_device

2013-08-07 Thread Pantelis Antoniou
Hi Greg, On Aug 6, 2013, at 1:14 PM, Greg Kroah-Hartman wrote: On Tue, Aug 06, 2013 at 12:37:25PM +0300, Pantelis Antoniou wrote: I don't like this at all, sorry. [snip] Don't shoot the messenger please... This is all about fixing a crash without messing too many things. I

Re: [PATCH 5/5] arm: omap: Proper cleanups for omap_device

2013-08-07 Thread Pantelis Antoniou
Hi Tony, On Aug 7, 2013, at 7:15 PM, Tony Lindgren wrote: * Pantelis Antoniou pa...@antoniou-consulting.com [130806 02:44]: On Aug 6, 2013, at 12:33 PM, Greg Kroah-Hartman wrote: On Tue, Aug 06, 2013 at 10:53:44AM +0300, Pantelis Antoniou wrote: + static int _omap_device_notifier_call

Re: [PATCH 1/5] pdev: Fix platform device resource linking

2013-08-06 Thread Pantelis Antoniou
Hi Greg, On Aug 6, 2013, at 12:36 PM, Greg Kroah-Hartman wrote: On Tue, Aug 06, 2013 at 10:53:40AM +0300, Pantelis Antoniou wrote: Platform device removal uncovered a number of problems with the way resources are handled in the core platform code. Resources now form child/parent linkages

Re: [PATCH 1/5] pdev: Fix platform device resource linking

2013-08-06 Thread Pantelis Antoniou
Hi Greg, On Aug 6, 2013, at 1:15 PM, Greg Kroah-Hartman wrote: On Tue, Aug 06, 2013 at 12:45:42PM +0300, Pantelis Antoniou wrote: Hi Greg, On Aug 6, 2013, at 12:36 PM, Greg Kroah-Hartman wrote: On Tue, Aug 06, 2013 at 10:53:40AM +0300, Pantelis Antoniou wrote: Platform device removal

Re: [PATCH] ti_tscadc: Update with IIO map interface deal with partial activation

2013-05-07 Thread Pantelis Antoniou
Hi Jonathan, On May 6, 2013, at 7:12 PM, Jonathan Cameron wrote: On 05/06/2013 01:48 PM, Jan Luebbe wrote: Hi Pantelis, while trying out your patch on a custom AM335x board, I noticed that the sysfs entries ware missing. This is fixed in the first patch, you might want to squash that into

Re: [PATCH 2/5] capemgr: Add beaglebone's cape driver bindings

2013-03-27 Thread Pantelis Antoniou
Hi Grant On Mar 26, 2013, at 7:36 PM, Grant Likely wrote: On Mon, 7 Jan 2013 20:51:03 +0200, Pantelis Antoniou pa...@antoniou-consulting.com wrote: Document the beaglebone's cape driver bindings. Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com Hi Pantelis, I'll go

Re: [PATCH 5/6] OF: Introduce Device Tree resolve support.

2013-03-21 Thread Pantelis Antoniou
Hi Grant, On Mar 19, 2013, at 7:18 PM, Grant Likely wrote: On Tue, 19 Mar 2013 13:51:01 +0200, Pantelis Antoniou pa...@antoniou-consulting.com wrote: Hi Grant, On Mar 16, 2013, at 11:24 AM, Grant Likely wrote: On Wed, 23 Jan 2013 12:58:02 +0200, Pantelis Antoniou pa...@antoniou

Re: [PATCH 3/6] OF: Export all DT proc update functions

2013-03-19 Thread Pantelis Antoniou
, 2013, at 11:45 AM, Grant Likely wrote: On Fri, 4 Jan 2013 21:31:07 +0200, Pantelis Antoniou pa...@antoniou-consulting.com wrote: There are other users for the proc DT functions. Export them. Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com Hi Pantelis. Patches 1 2 look

Re: [PATCH 5/6] OF: Introduce Device Tree resolve support.

2013-03-19 Thread Pantelis Antoniou
Hi Grant, On Mar 16, 2013, at 11:24 AM, Grant Likely wrote: On Wed, 23 Jan 2013 12:58:02 +0200, Pantelis Antoniou pa...@antoniou-consulting.com wrote: Hi David, On Jan 23, 2013, at 6:40 AM, David Gibson wrote: Ok. Nonetheless it's not hard to avoid a recursive approach here. How can

Re: [PATCH 0/6] Introducing Device Tree Overlays

2013-02-21 Thread Pantelis Antoniou
Regards -- Pantelis On Fri, Jan 4, 2013 at 1:31 PM, Pantelis Antoniou pa...@antoniou-consulting.com wrote: The following patchset introduces Device Tree overlays, a method of dynamically altering the kernel's live Device Tree. This patchset is against mainline as of Friday Jan 4 2013

Re: [PATCH 1/1] drivers: net: davinci_cpdma: acknowledge interrupt properly

2013-01-31 Thread Pantelis Antoniou
Hi On Jan 31, 2013, at 12:17 PM, Mugunthan V N wrote: On 1/31/2013 1:33 AM, Koen Kooi wrote: Op 30 jan. 2013, om 20:56 heeft Mugunthan V N mugunthan...@ti.com het volgende geschreven: CPDMA interrupts are not properly acknowledged which leads to interrupt storm, only cpdma interrupt 0 is

Re: [PATCH] cpsw: Fix interrupt storm among other things

2013-01-30 Thread Pantelis Antoniou
Hi Peter, On Jan 28, 2013, at 11:14 PM, Peter Korsgaard wrote: Pantelis == Pantelis Antoniou pa...@antoniou-consulting.com writes: 'among other things' is not a very descriptive commit message. Pantelis Fix interrupt storm on bone A4 cause by non-by-the-book Pantelis interrupt handling

Re: [PATCH] cpsw: Fix interrupt storm among other things

2013-01-30 Thread Pantelis Antoniou
Hi Mugunthan, On Jan 29, 2013, at 1:45 PM, Mugunthan V N wrote: On 1/28/2013 6:41 PM, Pantelis Antoniou wrote: Fix interrupt storm on bone A4 cause by non-by-the-book interrupt handling. While at it, added a non-NAPI mode (which is easier to debug), plus some general fixes. Signed-off

Re: [PATCH] cpsw: Fix interrupt storm among other things

2013-01-30 Thread Pantelis Antoniou
Hi, On Jan 30, 2013, at 11:03 AM, Mugunthan V N wrote: On 1/30/2013 2:06 PM, Pantelis Antoniou wrote: Hi Mugunthan, On Jan 29, 2013, at 1:45 PM, Mugunthan V N wrote: On 1/28/2013 6:41 PM, Pantelis Antoniou wrote: Fix interrupt storm on bone A4 cause by non-by-the-book interrupt handling

Re: [PATCH] cpsw: Fix interrupt storm among other things

2013-01-30 Thread Pantelis Antoniou
Hi Mugunthan, On Jan 30, 2013, at 12:55 PM, Mugunthan V N wrote: On 1/30/2013 3:06 PM, Pantelis Antoniou wrote: Hi, On Jan 30, 2013, at 11:03 AM, Mugunthan V N wrote: On 1/30/2013 2:06 PM, Pantelis Antoniou wrote: Hi Mugunthan, On Jan 29, 2013, at 1:45 PM, Mugunthan V N wrote

Re: [PATCH] cpsw: Fix interrupt storm among other things

2013-01-30 Thread Pantelis Antoniou
Hi Vaibhav, On Jan 30, 2013, at 2:38 PM, Bedia, Vaibhav wrote: On Wed, Jan 30, 2013 at 16:38:50, Pantelis Antoniou wrote: [...] TBH I haven't found a simple way to print out the silicon revision number. Anyone on the list know a quick and dirty method? You can dump the DEVICE_ID

Re: [PATCH] cpsw: Fix interrupt storm among other things

2013-01-30 Thread Pantelis Antoniou
Hi Vaibhav, On Jan 30, 2013, at 3:29 PM, Bedia, Vaibhav wrote: On Wed, Jan 30, 2013 at 18:14:30, Pantelis Antoniou wrote: Hi Vaibhav, On Jan 30, 2013, at 2:38 PM, Bedia, Vaibhav wrote: On Wed, Jan 30, 2013 at 16:38:50, Pantelis Antoniou wrote: [...] TBH I haven't found a simple way

Re: [PATCH] cpsw: Fix interrupt storm among other things

2013-01-30 Thread Pantelis Antoniou
Hi Vaibhav, On Jan 30, 2013, at 3:47 PM, Bedia, Vaibhav wrote: Hi Antoniou, On Wed, Jan 30, 2013 at 19:07:19, Pantelis Antoniou wrote: Hi Vaibhav, On Jan 30, 2013, at 3:29 PM, Bedia, Vaibhav wrote: On Wed, Jan 30, 2013 at 18:14:30, Pantelis Antoniou wrote: Hi Vaibhav, On Jan 30

Re: [PATCH] cpsw: Fix interrupt storm among other things

2013-01-30 Thread Pantelis Antoniou
Hi Mugunthan, On Jan 30, 2013, at 3:53 PM, Mugunthan V N wrote: On 1/30/2013 7:21 PM, Pantelis Antoniou wrote: Hi Vaibhav, On Jan 30, 2013, at 3:47 PM, Bedia, Vaibhav wrote: Hi Antoniou, On Wed, Jan 30, 2013 at 19:07:19, Pantelis Antoniou wrote: Hi Vaibhav, On Jan 30, 2013, at 3

[PATCH] cpsw: Fix interrupt storm among other things

2013-01-28 Thread Pantelis Antoniou
Fix interrupt storm on bone A4 cause by non-by-the-book interrupt handling. While at it, added a non-NAPI mode (which is easier to debug), plus some general fixes. Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com --- Documentation/devicetree/bindings/net/cpsw.txt | 1 + drivers

Re: [PATCH] cpsw: Fix interrupt storm among other things

2013-01-28 Thread Pantelis Antoniou
Hi Richard, Yes, I guess this was more of a drive-by patch dump - but people need this to get PG2.0 silicon to work on am33xx. On Jan 28, 2013, at 8:24 PM, Richard Cochran wrote: On Mon, Jan 28, 2013 at 03:11:08PM +0200, Pantelis Antoniou wrote: Fix interrupt storm on bone A4 cause by non

Re: [PATCH 5/6] OF: Introduce Device Tree resolve support.

2013-01-23 Thread Pantelis Antoniou
Hi David, On Jan 23, 2013, at 6:40 AM, David Gibson wrote: On Tue, Jan 22, 2013 at 01:06:09PM +0200, Pantelis Antoniou wrote: Hi On Jan 22, 2013, at 6:05 AM, David Gibson wrote: On Mon, Jan 21, 2013 at 12:59:15PM +0200, Pantelis Antoniou wrote: Hi David On Jan 21, 2013, at 6:48 AM

Re: [PATCH 6/6] OF: Introduce DT overlay support.

2013-01-23 Thread Pantelis Antoniou
On Jan 23, 2013, at 7:12 AM, David Gibson wrote: On Tue, Jan 22, 2013 at 01:08:04PM +0200, Pantelis Antoniou wrote: Hi On Jan 22, 2013, at 5:50 AM, David Gibson wrote: On Fri, Jan 04, 2013 at 09:31:10PM +0200, Pantelis Antoniou wrote: Introduce DT overlay support. Using

Re: [PATCH 5/6] OF: Introduce Device Tree resolve support.

2013-01-22 Thread Pantelis Antoniou
Hi On Jan 22, 2013, at 6:05 AM, David Gibson wrote: On Mon, Jan 21, 2013 at 12:59:15PM +0200, Pantelis Antoniou wrote: Hi David On Jan 21, 2013, at 6:48 AM, David Gibson wrote: On Fri, Jan 04, 2013 at 09:31:09PM +0200, Pantelis Antoniou wrote: Introduce support for dynamic device tree

Re: [PATCH 6/6] OF: Introduce DT overlay support.

2013-01-22 Thread Pantelis Antoniou
Hi On Jan 22, 2013, at 5:50 AM, David Gibson wrote: On Fri, Jan 04, 2013 at 09:31:10PM +0200, Pantelis Antoniou wrote: Introduce DT overlay support. Using this functionality it is possible to dynamically overlay a part of the kernel's tree with another tree that's been dynamically loaded

Re: [PATCH 5/6] OF: Introduce Device Tree resolve support.

2013-01-21 Thread Pantelis Antoniou
Hi David On Jan 21, 2013, at 6:48 AM, David Gibson wrote: On Fri, Jan 04, 2013 at 09:31:09PM +0200, Pantelis Antoniou wrote: Introduce support for dynamic device tree resolution. Using it, it is possible to prepare a device tree that's been loaded on runtime to be modified and inserted

Re: [PATCH RESEND] ARM: dts: AM33XX: Rename I2C and GPIO nodes

2013-01-09 Thread Pantelis Antoniou
0 like i2c0, i2c1 and i2c3. Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com [pa...@antoniou-consulting.com: initial patch by pantelis's] Signed-off-by: AnilKumar Ch anilku...@ti.com --- Changes from first version: - Updated pantelis's patch * Modified based

Re: [PATCH 1/5] capemgr: Beaglebone DT overlay based cape manager

2013-01-08 Thread Pantelis Antoniou
Hi Arnd, On Jan 7, 2013, at 11:35 PM, Arnd Bergmann wrote: (Adding Sascha Hauer, Linus Walleij, Lee Jones to Cc) On Monday 07 January 2013, Tony Lindgren wrote: At the end of the line, some kind of hardware glue is going to be needed. I just feel that drawing from a sample size of 1

Re: [PATCH 1/5] capemgr: Beaglebone DT overlay based cape manager

2013-01-08 Thread Pantelis Antoniou
Hi Guennadi, On Jan 8, 2013, at 11:51 AM, Guennadi Liakhovetski wrote: (adding linux-media ML to cc) Hi Pantelis On Tue, 8 Jan 2013, Pantelis Antoniou wrote: Hi Arnd, On Jan 7, 2013, at 11:35 PM, Arnd Bergmann wrote: (Adding Sascha Hauer, Linus Walleij, Lee Jones to Cc

Re: [PATCH 1/5] capemgr: Beaglebone DT overlay based cape manager

2013-01-08 Thread Pantelis Antoniou
Hi Lee, On Jan 8, 2013, at 12:00 PM, Lee Jones wrote: At the end of the line, some kind of hardware glue is going to be needed. I just feel that drawing from a sample size of 1 (maybe 2 if I get to throw in the beagleboard), it is a bit premature to think about making it overly general,

Re: [PATCH 1/5] capemgr: Beaglebone DT overlay based cape manager

2013-01-08 Thread Pantelis Antoniou
Hi Arnd, On Jan 8, 2013, at 2:12 PM, Arnd Bergmann wrote: On Tuesday 08 January 2013, Lee Jones wrote: If there is not, there is no way to automatically load the overlays; you can always use the kernel command line, or have the a user space application to request the loading of a

[PATCH] omap: DT node Timer iteration fix

2013-01-08 Thread Pantelis Antoniou
] (omap_dm_timer_init_one.clone.2+0x34/0x2bc) from [c06d3a2c] (omap2_gptimer_clocksource_init.clone.4+0x24/0xa8)! [c06d3a2c] (omap2_gptimer_clocksource_init.clone.4+0x24/0xa8) from [c06cca58] (time_init+0x20/0x30)! [c06cca58] (time_init+0x20/0x30) from [c06c9690] (start_kernel+0x1a8/0x2fc)! Signed-off-by: Pantelis Antoniou

[PATCH] omap: Avoid crashes in the case of hwmod misconfiguration

2013-01-08 Thread Pantelis Antoniou
] (ret_from_fork+0x14/0x3c)! Code: e92d4038 e2504000 01a05004 0a15 (e594302c) ! ---[ end trace 1b75b31a2719ed1c ]---! Kernel panic - not syncing: Attempted to kill init! exitcode=0x000b! Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com --- arch/arm/mach-omap2/omap_hwmod.c | 8

Re: [PATCH 6/6] OF: Introduce DT overlay support.

2013-01-07 Thread Pantelis Antoniou
Hi Rob, On Jan 6, 2013, at 4:24 AM, Rob Landley wrote: On 01/04/2013 01:31:10 PM, Pantelis Antoniou wrote: Introduce DT overlay support. Using this functionality it is possible to dynamically overlay a part of the kernel's tree with another tree that's been dynamically loaded. It is also

[PATCH 0/5] DT Overlay based cape manager for TI's Beaglebone

2013-01-07 Thread Pantelis Antoniou
, but you can see an example of a (almost) feature complete linux kernel at: git://github.com/pantoniou/linux-bbxm.git branch not-capebus-v9 Pantelis Antoniou (5): capemgr: Beaglebone DT overlay based cape manager capemgr: Add beaglebone's cape driver bindings capemgr: am335x-bone capemgr bindings

[PATCH 3/5] capemgr: am335x-bone capemgr bindings

2013-01-07 Thread Pantelis Antoniou
Bindings which enable the DT overlay based cape manager for the Texas Instruments Beaglebone platform. Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com --- arch/arm/boot/dts/am335x-bone.dts | 68 ++- 1 file changed, 67 insertions(+), 1 deletion

[PATCH 4/5] capemgr: firmware makefiles for DT objects

2013-01-07 Thread Pantelis Antoniou
Makefile rules to support compiling DT cape definitions. Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com --- firmware/Makefile | 7 +++ 1 file changed, 7 insertions(+) diff --git a/firmware/Makefile b/firmware/Makefile index cbb09ce..361b2af 100644 --- a/firmware/Makefile

[PATCH 5/5] capemgr: Weather cape cape definition

2013-01-07 Thread Pantelis Antoniou
Add the weather cape to the supported capes. Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com --- arch/arm/boot/dts/am335x-bone.dts | 9 - firmware/Makefile | 5 +++ firmware/capes/cape-bone-weather-00A0.dts | 66

[PATCH 2/5] capemgr: Add beaglebone's cape driver bindings

2013-01-07 Thread Pantelis Antoniou
Document the beaglebone's cape driver bindings. Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com --- .../devicetree/bindings/misc/capes-beaglebone.txt | 110 + 1 file changed, 110 insertions(+) create mode 100644 Documentation/devicetree/bindings/misc/capes

[PATCH 1/5] capemgr: Beaglebone DT overlay based cape manager

2013-01-07 Thread Pantelis Antoniou
A cape loader based on DT overlays and DT objects. Beaglebone cape manager implementation. Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com --- arch/arm/mach-omap2/Kconfig|2 + drivers/misc/Kconfig |2 + drivers/misc/Makefile

Re: [PATCH] omap: Properly handle resources for omap_devices

2013-01-07 Thread Pantelis Antoniou
Hi, On Jan 7, 2013, at 10:05 PM, Tony Lindgren wrote: Hi, * Pantelis Antoniou pa...@antoniou-consulting.com [130103 14:34]: omap_device relies on the platform notifier callbacks managing resources behind the scenes. The resources were not properly linked causing crashes when removing

Re: [PATCH 1/5] capemgr: Beaglebone DT overlay based cape manager

2013-01-07 Thread Pantelis Antoniou
Hi Tony, On Jan 7, 2013, at 10:09 PM, Tony Lindgren wrote: * Pantelis Antoniou pa...@antoniou-consulting.com [130107 10:54]: A cape loader based on DT overlays and DT objects. Beaglebone cape manager implementation. Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com

Re: [PATCH 1/5] capemgr: Beaglebone DT overlay based cape manager

2013-01-07 Thread Pantelis Antoniou
Hi Tony, On Jan 7, 2013, at 10:23 PM, Tony Lindgren wrote: * Pantelis Antoniou pa...@antoniou-consulting.com [130107 12:16]: Hi Tony, On Jan 7, 2013, at 10:09 PM, Tony Lindgren wrote: * Pantelis Antoniou pa...@antoniou-consulting.com [130107 10:54]: A cape loader based on DT overlays

Re: [PATCH 1/5] capemgr: Beaglebone DT overlay based cape manager

2013-01-07 Thread Pantelis Antoniou
Hi Tony, On Jan 7, 2013, at 10:35 PM, Tony Lindgren wrote: * Pantelis Antoniou pa...@antoniou-consulting.com [130107 12:29]: On Jan 7, 2013, at 10:23 PM, Tony Lindgren wrote: Well how about split it to an eeprom driver, and Linux generic device loader parts? All that's left

Re: [PATCH 0/6] Introducing Device Tree Overlays

2013-01-05 Thread Pantelis Antoniou
Hi Richard, It should, but there are a few differences in the syntax plus the fact that I didn't write it. It should go in by a separate patch by the original author. Regards -- Pantelis Από το iPad μου 5 Ιαν 2013, 11:35 π.μ., ο/η Richard Cochran richardcoch...@gmail.com έγραψε: On Sat,

[PATCH 0/6] Introducing Device Tree Overlays

2013-01-04 Thread Pantelis Antoniou
kernel for the beaglebone please pull from: git://github.com/pantoniou/linux-bbxm.git branch not-capebus-v8 Pantelis Antoniou (6): OF: Introduce device tree node flag helpers. OF: export of_property_notify OF: Export all DT proc update functions OF: Introduce utility helper functions

[PATCH 1/6] OF: Introduce device tree node flag helpers.

2013-01-04 Thread Pantelis Antoniou
Helper functions for working with device node flags. Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com --- include/linux/of.h | 20 1 file changed, 20 insertions(+) diff --git a/include/linux/of.h b/include/linux/of.h index 5ebcc5c..2ff35b5 100644 --- a/include

[PATCH 3/6] OF: Export all DT proc update functions

2013-01-04 Thread Pantelis Antoniou
There are other users for the proc DT functions. Export them. Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com --- drivers/of/base.c | 108 - include/linux/of.h | 29 ++ 2 files changed, 87 insertions(+), 50

[PATCH 4/6] OF: Introduce utility helper functions

2013-01-04 Thread Pantelis Antoniou
__of_find_node_by_full_name() finds the node with the full name and of_multi_prop_cmp() performs a multi property compare but without having to take locks. Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com --- drivers/of/Makefile | 2 +- drivers/of/util.c | 253

[PATCH 5/6] OF: Introduce Device Tree resolve support.

2013-01-04 Thread Pantelis Antoniou
Introduce support for dynamic device tree resolution. Using it, it is possible to prepare a device tree that's been loaded on runtime to be modified and inserted at the kernel live tree. Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com --- .../devicetree/dynamic-resolution

[PATCH 2/6] OF: export of_property_notify

2013-01-04 Thread Pantelis Antoniou
of_property_notify can be utilized by other users too, export it. Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com --- drivers/of/base.c | 8 +--- include/linux/of.h | 11 +++ 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/drivers/of/base.c b/drivers

[PATCH] omap: Properly handle resources for omap_devices

2013-01-03 Thread Pantelis Antoniou
no parent (which can happen for DMA IRQ resources) are ever left for cleanup by the core resource layer. Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com --- arch/arm/mach-omap2/omap_device.c | 232 -- 1 file changed, 148 insertions(+), 84 deletions

[PATCH] omap: am33xx-hwmod: Fix wrongly terminated am33xx_usbss_mpu_irqs array

2013-01-03 Thread Pantelis Antoniou
The IRQ array must be terminated by -1 and not by -1+OMAP_INTC_START This led to having a resource list of 100s of IRQs. Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com --- arch/arm/mach-omap2/omap_hwmod_33xx_data.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [RFC] Device Tree Overlays Proposal (Was Re: capebus moving omap_devices to mach-omap2)

2012-11-13 Thread Pantelis Antoniou
Hi David, On Nov 13, 2012, at 9:25 AM, David Gibson wrote: On Mon, Nov 12, 2012 at 09:52:32AM -0700, Stephen Warren wrote: On 11/12/2012 05:10 AM, Pantelis Antoniou wrote: [snip] Oh yes. In fact if one was to use a single kernel image for beagleboard and beaglebone, for the cape to work

Re: [RFC] Device Tree Overlays Proposal (Was Re: capebus moving omap_devices to mach-omap2)

2012-11-13 Thread Pantelis Antoniou
Hi Grant, On Nov 13, 2012, at 2:24 PM, Grant Likely wrote: On Tue, Nov 13, 2012 at 8:09 AM, Pantelis Antoniou pa...@antoniou-consulting.com wrote: On Nov 13, 2012, at 9:25 AM, David Gibson wrote: Not good to rely on userspace kicking off dtc and compiling from source. Some capes/expansion

Re: [RFC] Device Tree Overlays Proposal (Was Re: capebus moving omap_devices to mach-omap2)

2012-11-13 Thread Pantelis Antoniou
Hi Mitch, On Nov 13, 2012, at 9:09 PM, Mitch Bradley wrote: On 11/13/2012 8:29 AM, Stephen Warren wrote: On 11/13/2012 11:10 AM, Mitch Bradley wrote: It seems to me that this capebus discussion is missing an important point. The name capebus suggests that it is a bus, so there should be a

Re: [PATCH] pwm-backlight: Pinctrl-fy

2012-11-12 Thread Pantelis Antoniou
Hi Linus, On Nov 11, 2012, at 7:26 PM, Linus Walleij wrote: On Fri, Nov 9, 2012 at 9:06 AM, Thierry Reding thierry.red...@avionic-design.de wrote: On Wed, Oct 31, 2012 at 05:57:27PM +0200, Pantelis Antoniou wrote: + pinctrl = devm_pinctrl_get_select_default(pdev-dev); + if (IS_ERR

Re: [RFC] Device Tree Overlays Proposal (Was Re: capebus moving omap_devices to mach-omap2)

2012-11-12 Thread Pantelis Antoniou
Hi Grant, Sorry for the late comments, travelling... On Nov 9, 2012, at 6:28 PM, Grant Likely wrote: On Tue, Nov 6, 2012 at 10:37 PM, Stephen Warren swar...@wwwdotorg.org wrote: On 11/05/2012 01:40 PM, Grant Likely wrote: Hey folks, As promised, here is my early draft to try and capture

Re: [RFC] Device Tree Overlays Proposal (Was Re: capebus moving omap_devices to mach-omap2)

2012-11-12 Thread Pantelis Antoniou
Hi Grant, On Nov 9, 2012, at 7:02 PM, Grant Likely wrote: On Wed, Nov 7, 2012 at 12:54 AM, Mitch Bradley w...@firmworks.com wrote: On 11/6/2012 12:37 PM, Stephen Warren wrote: This proposal is very oriented at an overlay-based approach. I'm not totally convinced that a pure overlay approach

Re: [RFC] Device Tree Overlays Proposal (Was Re: capebus moving omap_devices to mach-omap2)

2012-11-12 Thread Pantelis Antoniou
Hi Grant, On Nov 9, 2012, at 10:33 PM, Grant Likely wrote: On Wed, Nov 7, 2012 at 11:02 AM, Pantelis Antoniou pa...@antoniou-consulting.com wrote: On Nov 7, 2012, at 11:19 AM, Benoit Cousson wrote: Maybe some extra version match table can just be passed during the board machine_init

Re: [RFC] Device Tree Overlays Proposal (Was Re: capebus moving omap_devices to mach-omap2)

2012-11-12 Thread Pantelis Antoniou
Hi Grant, On Nov 9, 2012, at 11:22 PM, Grant Likely wrote: On Fri, Nov 9, 2012 at 5:32 AM, Joel A Fernandes agnel.j...@gmail.com wrote: Hi Pantelis, I hope I'm not too late to reply as I'm traveling. On Nov 6, 2012, at 5:30 AM, Pantelis Antoniou pa...@antoniou-consulting.com wrote

Re: [RFC] Device Tree Overlays Proposal (Was Re: capebus moving omap_devices to mach-omap2)

2012-11-12 Thread Pantelis Antoniou
Hi Stephen, On Nov 10, 2012, at 12:57 AM, Stephen Warren wrote: On 11/08/2012 07:26 PM, David Gibson wrote: ... I also think graft will handle most of your use cases, although as I said I don't fully understand the implications of some of them, so I could be wrong. So, the actual insertion

Re: [RFC] Device Tree Overlays Proposal (Was Re: capebus moving omap_devices to mach-omap2)

2012-11-12 Thread Pantelis Antoniou
Hi Stephen, On Nov 10, 2012, at 1:23 AM, Stephen Warren wrote: On 11/09/2012 09:28 AM, Grant Likely wrote: On Tue, Nov 6, 2012 at 10:37 PM, Stephen Warren swar...@wwwdotorg.org wrote: ... I do rather suspect this use-case is quite common. NVIDIA certainly has a bunch of development boards

Re: [RFC] Device Tree Overlays Proposal (Was Re: capebus moving omap_devices to mach-omap2)

2012-11-12 Thread Pantelis Antoniou
Hi Joel, Again, sorry for the late reply due to travel. On Nov 10, 2012, at 5:36 AM, Joel A Fernandes wrote: Hi Pantelis, On Fri, Nov 9, 2012 at 2:13 AM, Pantelis Antoniou pa...@antoniou-consulting.com wrote: Option C: U-Boot loads both the base and overlay FDT files, merges them

Re: [RFC] Device Tree Overlays Proposal (Was Re: capebus moving omap_devices to mach-omap2)

2012-11-12 Thread Pantelis Antoniou
Hi Rob. On Nov 11, 2012, at 10:47 PM, Rob Landley wrote: On 11/09/2012 10:28:59 AM, Grant Likely wrote: On Tue, Nov 6, 2012 at 10:37 PM, Stephen Warren swar...@wwwdotorg.org wrote: On 11/05/2012 01:40 PM, Grant Likely wrote: I'm not actually opposed to it, but it needs to be

Re: [RFC] Device Tree Overlays Proposal (Was Re: capebus moving omap_devices to mach-omap2)

2012-11-12 Thread Pantelis Antoniou
Hi Stephen, On Nov 12, 2012, at 6:49 PM, Stephen Warren wrote: On 11/12/2012 04:23 AM, Pantelis Antoniou wrote: Hi Grant, Sorry for the late comments, travelling... On Nov 9, 2012, at 6:28 PM, Grant Likely wrote: ... *with the caveat that not all types of changes are a good idea and we

Re: [RFC] Device Tree Overlays Proposal (Was Re: capebus moving omap_devices to mach-omap2)

2012-11-12 Thread Pantelis Antoniou
Hi Stephen, On Nov 12, 2012, at 7:10 PM, Stephen Warren wrote: On 11/12/2012 10:00 AM, Pantelis Antoniou wrote: Hi Stephen, On Nov 12, 2012, at 6:49 PM, Stephen Warren wrote: On 11/12/2012 04:23 AM, Pantelis Antoniou wrote: Hi Grant, Sorry for the late comments, travelling

Re: [RFC] Device Tree Overlays Proposal (Was Re: capebus moving omap_devices to mach-omap2)

2012-11-12 Thread Pantelis Antoniou
Hi Stephen, On Nov 12, 2012, at 7:29 PM, Stephen Warren wrote: On 11/12/2012 10:19 AM, Pantelis Antoniou wrote: Hi Stephen, On Nov 12, 2012, at 7:10 PM, Stephen Warren wrote: On 11/12/2012 10:00 AM, Pantelis Antoniou wrote: Hi Stephen, On Nov 12, 2012, at 6:49 PM, Stephen Warren

Re: [RFC] Device Tree Overlays Proposal (Was Re: capebus moving omap_devices to mach-omap2)

2012-11-09 Thread Pantelis Antoniou
Hi David, On Nov 9, 2012, at 3:26 AM, David Gibson wrote: On Mon, Nov 05, 2012 at 08:40:30PM +, Grant Likely wrote: Hey folks, As promised, here is my early draft to try and capture what device tree overlays need to do and how to get there. Comments and suggestions greatly

Re: [RFC] Device Tree Overlays Proposal (Was Re: capebus moving omap_devices to mach-omap2)

2012-11-07 Thread Pantelis Antoniou
Hi Grant, On Nov 6, 2012, at 9:45 PM, Grant Likely wrote: On Tue, Nov 6, 2012 at 7:34 PM, Pantelis Antoniou pa...@antoniou-consulting.com wrote: On Nov 6, 2012, at 12:14 PM, Grant Likely wrote: On Tue, Nov 6, 2012 at 10:30 AM, Pantelis Antoniou pa...@antoniou-consulting.com wrote: For hot

Re: [RFC] Device Tree Overlays Proposal (Was Re: capebus moving omap_devices to mach-omap2)

2012-11-07 Thread Pantelis Antoniou
Hi Grant On Nov 6, 2012, at 9:45 PM, Grant Likely wrote: On Tue, Nov 6, 2012 at 7:34 PM, Pantelis Antoniou pa...@antoniou-consulting.com wrote: [ snip ] g. Since we've started talking about longer term goals, and the versioning provision seems to stand, I hope we address how much

Re: [RFC] Device Tree Overlays Proposal (Was Re: capebus moving omap_devices to mach-omap2)

2012-11-07 Thread Pantelis Antoniou
Hi Stephen, On Nov 6, 2012, at 11:37 PM, Stephen Warren wrote: On 11/05/2012 01:40 PM, Grant Likely wrote: Hey folks, As promised, here is my early draft to try and capture what device tree overlays need to do and how to get there. Comments and suggestions greatly appreciated.

Re: [RFC] Device Tree Overlays Proposal (Was Re: capebus moving omap_devices to mach-omap2)

2012-11-07 Thread Pantelis Antoniou
Hi Benoit, On Nov 7, 2012, at 11:19 AM, Benoit Cousson wrote: Hi Panto, On 11/07/2012 09:13 AM, Pantelis Antoniou wrote: Hi Grant On Nov 6, 2012, at 9:45 PM, Grant Likely wrote: On Tue, Nov 6, 2012 at 7:34 PM, Pantelis Antoniou pa...@antoniou-consulting.com wrote: [ snip ] g

Re: [RFC] Device Tree Overlays Proposal (Was Re: capebus moving omap_devices to mach-omap2)

2012-11-07 Thread Pantelis Antoniou
Hi Benoit, On Nov 7, 2012, at 12:12 PM, Benoit Cousson wrote: On 11/07/2012 12:02 PM, Pantelis Antoniou wrote: Hi Benoit, [snip] I don't know if this breaks any conventions but seems to work fine for our case. Yeah, my main concern with that approach is that you change the structure

Re: [RFC] Device Tree Overlays Proposal (Was Re: capebus moving omap_devices to mach-omap2)

2012-11-07 Thread Pantelis Antoniou
Hi Stephen, On Nov 7, 2012, at 6:18 PM, Stephen Warren wrote: On 11/07/2012 01:47 AM, Pantelis Antoniou wrote: Hi Stephen, On Nov 6, 2012, at 11:37 PM, Stephen Warren wrote: On 11/05/2012 01:40 PM, Grant Likely wrote: Hey folks, As promised, here is my early draft to try and capture

Re: [RFC] Device Tree Overlays Proposal (Was Re: capebus moving omap_devices to mach-omap2)

2012-11-07 Thread Pantelis Antoniou
Hi Stephen, On Nov 7, 2012, at 6:25 PM, Stephen Warren wrote: On 11/07/2012 03:19 AM, Benoit Cousson wrote: Hi Panto, On 11/07/2012 09:13 AM, Pantelis Antoniou wrote: Hi Grant On Nov 6, 2012, at 9:45 PM, Grant Likely wrote: On Tue, Nov 6, 2012 at 7:34 PM, Pantelis Antoniou pa

Re: [PATCH 0/3] capebus moving omap_devices to mach-omap2

2012-11-06 Thread Pantelis Antoniou
Hi Joel, On Nov 6, 2012, at 4:06 AM, Joel A Fernandes wrote: Hi Grant, On Mon, Nov 5, 2012 at 5:58 PM, Grant Likely grant.lik...@secretlab.ca wrote: Joel A Fernandes agnel.j...@gmail.com wrote: Hi Grant, On Mon, Nov 5, 2012 at 2:14 PM, Grant Likely grant.lik...@secretlab.ca

Re: [RFC] Device Tree Overlays Proposal (Was Re: capebus moving omap_devices to mach-omap2)

2012-11-06 Thread Pantelis Antoniou
Hi Grant, On Nov 5, 2012, at 9:40 PM, Grant Likely wrote: Hey folks, As promised, here is my early draft to try and capture what device tree overlays need to do and how to get there. Comments and suggestions greatly appreciated. Device Tree Overlay Feature Purpose === Sometimes

Re: [RFC] Device Tree Overlays Proposal (Was Re: capebus moving omap_devices to mach-omap2)

2012-11-06 Thread Pantelis Antoniou
Hi Timur, On Nov 5, 2012, at 10:40 PM, Tabi Timur-B04825 wrote: On Mon, Nov 5, 2012 at 2:40 PM, Grant Likely grant.lik...@secretlab.ca wrote: Jane is building custom BeagleBone expansion boards called 'capes'. She can boot the system with a stock BeagleBoard device tree, but additional

Re: [PATCH 0/3] capebus moving omap_devices to mach-omap2

2012-11-06 Thread Pantelis Antoniou
Από το iPhone μου 6 Νοε 2012, 12:16, ο/η Grant Likely grant.lik...@secretlab.ca έγραψε: On Tue, Nov 6, 2012 at 8:14 AM, Pantelis Antoniou pa...@antoniou-consulting.com wrote: On Nov 6, 2012, at 4:06 AM, Joel A Fernandes wrote: Sure, so if we add data type supplementary properties

Re: [RFC] Device Tree Overlays Proposal (Was Re: capebus moving omap_devices to mach-omap2)

2012-11-06 Thread Pantelis Antoniou
Hi Grant, On Nov 6, 2012, at 12:14 PM, Grant Likely wrote: On Tue, Nov 6, 2012 at 10:30 AM, Pantelis Antoniou pa...@antoniou-consulting.com wrote: Hi Grant, On Nov 5, 2012, at 9:40 PM, Grant Likely wrote: Hey folks, As promised, here is my early draft to try and capture what device

Re: [RFC] Device Tree Overlays Proposal (Was Re: capebus moving omap_devices to mach-omap2)

2012-11-06 Thread Pantelis Antoniou
Hi Russ, On Nov 6, 2012, at 8:29 PM, Russ Dill wrote: On Tue, Nov 6, 2012 at 10:35 AM, Tony Lindgren t...@atomide.com wrote: * Grant Likely grant.lik...@secretlab.ca [121106 03:16]: On Tue, Nov 6, 2012 at 10:30 AM, Pantelis Antoniou pa...@antoniou-consulting.com wrote: Another can

  1   2   >