Re: [RFC] media DT bindings

2012-07-31 Thread Guennadi Liakhovetski
On Tue, 31 Jul 2012, Laurent Pinchart wrote: > Hi Guennadi, > > On Tuesday 31 July 2012 14:39:07 Guennadi Liakhovetski wrote: > > On Tue, 31 Jul 2012, Laurent Pinchart wrote: > > > On Tuesday 31 July 2012 11:26:27 Guennadi Liakhovetski wrote: > > > > On Fri, 27 Jul 2012, Laurent Pinchart wrote: >

Re: [PATCH v3 09/10] of: Add of_pci_parse_ranges()

2012-07-31 Thread Thierry Reding
On Tue, Jul 31, 2012 at 03:07:31PM -0500, Rob Herring wrote: > On 07/26/2012 02:55 PM, Thierry Reding wrote: > > This new function parses the ranges property of PCI device nodes into > > an array of struct resource elements. It is useful in multiple-port PCI > > host controller drivers to collect i

RE: [PATCH v3 2/2] ARM: EXYNOS: Add Gscaler device from DT

2012-07-31 Thread Kukjin Kim
Shaik Ameer Basha wrote: > > This patch adds, > - 4 Gscaler devices to the DT device list > - Gscaler specific entries to the machine file > - binding documentation for Gscaler entries > > Signed-off-by: Abhilash Kesavan > Signed-off-by: Leela Krishna Amudala > Signed-off-by: Shaik Ameer Basha

Re: [PATCH v3 00/10] ARM: tegra: Add PCIe device tree support

2012-07-31 Thread Thierry Reding
On Tue, Jul 31, 2012 at 10:18:15AM -0600, Stephen Warren wrote: > On 07/26/2012 01:55 PM, Thierry Reding wrote: > > This patch series adds support for device tree based probing of the PCIe > > controller found on Tegra SoCs. > > Thierry, > > I think one thing that would help here would be to spli

RE: [PATCH v3 1/2] ARM: EXYNOS: Add clock support for Gscaler

2012-07-31 Thread Kukjin Kim
Shaik Ameer Basha wrote: > > Add required clock support for Gscaler for exynos5 > > Signed-off-by: Abhilash Kesavan > Signed-off-by: Leela Krishna Amudala > Signed-off-by: Prathyush K > Signed-off-by: Shaik Ameer Basha > --- > arch/arm/mach-exynos/clock-exynos5.c | 100 > +++

Re: [RFC] media DT bindings

2012-07-31 Thread Laurent Pinchart
Hi Stephen, On Tuesday 31 July 2012 17:29:24 Stephen Warren wrote: > On 07/31/2012 03:22 PM, Laurent Pinchart wrote: > > On Tuesday 31 July 2012 14:39:07 Guennadi Liakhovetski wrote: > ... > > >> Ok, then, how about > >> > >>#address-cells = <1>; > >>#size-cells = <0>; >

Re: [RFC][PATCH v3 1/3] runtime interpreted power sequences

2012-07-31 Thread Mitch Bradley
On 8/1/2012 9:47 AM, Alex Courbot wrote: > On 07/31/2012 09:55 PM, Mitch Bradley wrote: >> On 7/31/2012 8:38 PM, Thierry Reding wrote: >>> On Tue, Jul 31, 2012 at 08:22:17PM +0800, Mitch Bradley wrote: On 7/31/2012 6:56 PM, Thierry Reding wrote: > On Tue, Jul 31, 2012 at 07:32:20PM +0900,

Re: Gethering power management/policy hw drivers under drivers/power/? (Re: [RFC][PATCH v3 1/3] runtime interpreted power sequences)

2012-07-31 Thread Anton Vorontsov
On Mon, Jul 30, 2012 at 10:59:39PM +0200, Rafael J. Wysocki wrote: [...] > > Well, currently drivers/power/ is indeed just for power supply class > > subsystem and drivers. But if the trend is to gather power management > > ("policy") stuff under one directory, i.e. > > > > drivers/ > > power/ >

Re: [RFC] media DT bindings

2012-07-31 Thread Stephen Warren
On 07/31/2012 03:22 PM, Laurent Pinchart wrote: > On Tuesday 31 July 2012 14:39:07 Guennadi Liakhovetski wrote: ... >> Ok, then, how about >> >> #address-cells = <1>; >> #size-cells = <0>; >> ... >> ov772x-1 = { >> reg = <1>;

Re: [PATCH v2] gpio: Add Avionic Design N-bit GPIO expander support

2012-07-31 Thread Stephen Warren
On 07/31/2012 04:03 PM, Rob Herring wrote: > On 07/30/2012 02:47 AM, Thierry Reding wrote: >> On Sun, Jul 29, 2012 at 07:13:57PM +0200, Linus Walleij wrote: >>> On Mon, Jul 23, 2012 at 1:59 PM, Thierry Reding >>> wrote: >>> This commit adds a driver for the Avionic Design N-bit GPIO expander.

Re: [PATCH v2] gpio: Add Avionic Design N-bit GPIO expander support

2012-07-31 Thread Rob Herring
On 07/30/2012 02:47 AM, Thierry Reding wrote: > On Sun, Jul 29, 2012 at 07:13:57PM +0200, Linus Walleij wrote: >> On Mon, Jul 23, 2012 at 1:59 PM, Thierry Reding >> wrote: >> >>> This commit adds a driver for the Avionic Design N-bit GPIO expander. >>> The expander provides a variable number of GP

Re: [RFC/PATCH 09/13] media: s5k6aa: Add support for device tree based instantiation

2012-07-31 Thread Laurent Pinchart
Hi Sylwester, On Tuesday 31 July 2012 15:28:52 Sylwester Nawrocki wrote: > On 07/31/2012 02:59 PM, Guennadi Liakhovetski wrote: > > On Tue, 31 Jul 2012, Sylwester Nawrocki wrote: > >> On 07/31/2012 02:26 PM, Guennadi Liakhovetski wrote: > >> But should we allow host probe() to succeed if the s

Re: [RFC/PATCH 02/13] media: s5p-csis: Add device tree support

2012-07-31 Thread Laurent Pinchart
Hi Sylwester, On Tuesday 31 July 2012 14:38:35 Sylwester Nawrocki wrote: > On 07/31/2012 01:05 PM, Laurent Pinchart wrote: > > What about CSI receivers that can reroute the lanes internally ? We > > would need to specify lane indices for each lane then, maybe with > > something like >

Re: [RFC] media DT bindings

2012-07-31 Thread Laurent Pinchart
Hi Guennadi, On Tuesday 31 July 2012 14:39:07 Guennadi Liakhovetski wrote: > On Tue, 31 Jul 2012, Laurent Pinchart wrote: > > On Tuesday 31 July 2012 11:26:27 Guennadi Liakhovetski wrote: > > > On Fri, 27 Jul 2012, Laurent Pinchart wrote: > > > > On Wednesday 18 July 2012 19:00:15 Sylwester Nawroc

Re: [PATCH v3 08/10] of/address: Handle #address-cells > 2 specially

2012-07-31 Thread Rob Herring
On 07/26/2012 02:55 PM, Thierry Reding wrote: > When a bus specifies #address-cells > 2, of_bus_default_map() now > assumes that the mapping isn't for a physical address but rather an > identifier that needs to match exactly. > > This is required by bindings that use multiple cells to translate a

Re: [PATCH v3 09/10] of: Add of_pci_parse_ranges()

2012-07-31 Thread Rob Herring
On 07/26/2012 02:55 PM, Thierry Reding wrote: > This new function parses the ranges property of PCI device nodes into > an array of struct resource elements. It is useful in multiple-port PCI > host controller drivers to collect information about the ranges that it > needs to forward to the respect

Re: [RFC][PATCH v3 1/3] runtime interpreted power sequences

2012-07-31 Thread Mark Brown
On Tue, Jul 31, 2012 at 09:42:45AM -0700, Greg Kroah-Hartman wrote: > On Tue, Jul 31, 2012 at 05:22:30PM +0100, Mark Brown wrote: > > Hrm? I'm not sure I understand the direct relevance here - we're > > talking about platform data. > The platform data was marked __devdata, and you said it could

Re: [RFC][PATCH v3 1/3] runtime interpreted power sequences

2012-07-31 Thread Greg Kroah-Hartman
On Tue, Jul 31, 2012 at 05:22:30PM +0100, Mark Brown wrote: > On Tue, Jul 31, 2012 at 09:19:54AM -0700, Greg Kroah-Hartman wrote: > > On Tue, Jul 31, 2012 at 04:39:41PM +0100, Mark Brown wrote: > > > On Tue, Jul 31, 2012 at 04:32:35PM +0200, Thierry Reding wrote: > > > > > can gracefully handle it

Re: [RFC][PATCH v3 1/3] runtime interpreted power sequences

2012-07-31 Thread Stephen Warren
On 07/31/2012 04:32 AM, Alex Courbot wrote: > On 07/31/2012 07:45 AM, Stephen Warren wrote: ... >> If the nodes have a unit address (i.e. end in "@n"), which they will >> have to if all named "step" and there's more than one of them, then they >> will need a matching reg property. Equally, the pare

Re: [RFC][PATCH v3 1/3] runtime interpreted power sequences

2012-07-31 Thread Mark Brown
On Tue, Jul 31, 2012 at 09:19:54AM -0700, Greg Kroah-Hartman wrote: > On Tue, Jul 31, 2012 at 04:39:41PM +0100, Mark Brown wrote: > > On Tue, Jul 31, 2012 at 04:32:35PM +0200, Thierry Reding wrote: > > > can gracefully handle its platform data being discarded. > > Sure there is - take a copy of t

Re: [RFC][PATCH v3 1/3] runtime interpreted power sequences

2012-07-31 Thread Greg Kroah-Hartman
On Tue, Jul 31, 2012 at 04:39:41PM +0100, Mark Brown wrote: > On Tue, Jul 31, 2012 at 04:32:35PM +0200, Thierry Reding wrote: > > On Tue, Jul 31, 2012 at 03:26:07PM +0100, Mark Brown wrote: > > > > This is framework code - it doesn't have much option. Disabling HOTPLUG > > > is totally reasonable

Re: [PATCH v3 00/10] ARM: tegra: Add PCIe device tree support

2012-07-31 Thread Stephen Warren
On 07/26/2012 01:55 PM, Thierry Reding wrote: > This patch series adds support for device tree based probing of the PCIe > controller found on Tegra SoCs. Thierry, I think one thing that would help here would be to split up this series into one per subsystem, and to get all the dependencies merge

Re: [PATCH v3 06/18] tegra: fdt: Add LCD definitions for Tegra

2012-07-31 Thread Stephen Warren
On 07/31/2012 03:27 AM, Simon Glass wrote: > On Thu, Jul 12, 2012 at 4:25 PM, Simon Glass wrote: >> Add LCD definitions and also a proposed binding for LCD displays. >> >> The PWM is as per what will likely be committed to linux-next soon. >> >> The displaymode binding comes from a proposal here:

Re: [RFC][PATCH v3 1/3] runtime interpreted power sequences

2012-07-31 Thread Mark Brown
On Tue, Jul 31, 2012 at 04:32:35PM +0200, Thierry Reding wrote: > On Tue, Jul 31, 2012 at 03:26:07PM +0100, Mark Brown wrote: > > This is framework code - it doesn't have much option. Disabling HOTPLUG > > is totally reasonable on space constrained systems, there's no reason > > for the code to b

Re: [RFC][PATCH v3 1/3] runtime interpreted power sequences

2012-07-31 Thread Thierry Reding
On Tue, Jul 31, 2012 at 03:26:07PM +0100, Mark Brown wrote: > On Tue, Jul 31, 2012 at 04:22:17PM +0200, Thierry Reding wrote: > > On Tue, Jul 31, 2012 at 03:13:29PM +0100, Mark Brown wrote: > > > > __devinit can be discarded if you disable enough kernel features, > > > HOTPLUG is the main one IIRC

Re: [RFC][PATCH v3 1/3] runtime interpreted power sequences

2012-07-31 Thread Mark Brown
On Tue, Jul 31, 2012 at 04:22:17PM +0200, Thierry Reding wrote: > On Tue, Jul 31, 2012 at 03:13:29PM +0100, Mark Brown wrote: > > __devinit can be discarded if you disable enough kernel features, > > HOTPLUG is the main one IIRC, modules might also need to go - drivers > > really ought to take a c

Re: [RFC][PATCH v3 1/3] runtime interpreted power sequences

2012-07-31 Thread Mark Brown
On Tue, Jul 31, 2012 at 05:37:07PM +0900, Alex Courbot wrote: > On 07/30/2012 08:00 PM, Simon Glass wrote: > >For the delay, I think milliseconds is reasonable. I suppose there is > >no reasonable need for microseconds? > I don't see any need for microseconds myself - anybody sees use for > finer

Re: [RFC][PATCH v3 1/3] runtime interpreted power sequences

2012-07-31 Thread Thierry Reding
On Tue, Jul 31, 2012 at 03:13:29PM +0100, Mark Brown wrote: > On Tue, Jul 31, 2012 at 12:56:40PM +0200, Thierry Reding wrote: > > On Tue, Jul 31, 2012 at 07:32:20PM +0900, Alex Courbot wrote: > > > > The thing is that I am not sure what happens to the platform data > > > once probe() is done. Isn'

Re: [RFC][PATCH v3 1/3] runtime interpreted power sequences

2012-07-31 Thread Mark Brown
On Tue, Jul 31, 2012 at 12:56:40PM +0200, Thierry Reding wrote: > On Tue, Jul 31, 2012 at 07:32:20PM +0900, Alex Courbot wrote: > > The thing is that I am not sure what happens to the platform data > > once probe() is done. Isn't it customary to mark it with __devinit > > and have it freed after p

Re: [RFC][PATCH v3 1/3] runtime interpreted power sequences

2012-07-31 Thread Mark Brown
On Tue, Jul 31, 2012 at 06:51:03PM +0900, Alex Courbot wrote: > 2) On cleanup, it cleans the resources that needs to be freed (i.e. > those that are not devm-handled). > 2) can certainly be removed either by enforcing use of devm, or by > doing reference counting. 1) seems more difficult to avoid

Re: [PATCH v6 03/11] usb: musb: am335x: add support for dual instance

2012-07-31 Thread Felipe Balbi
Hi, On Fri, Jul 27, 2012 at 02:01:59PM +0530, Ravi B wrote: > From: Ajay Kumar Gupta > > AM335x and TI81xx platform has dual musb controller so updating the > musb_dspc.c to support the same. > > Changes: > - Moved otg_workaround timer to glue structure > - Moved static local variab

Re: [PATCH 3/3] cpufreq: Add a generic cpufreq-cpu0 driver

2012-07-31 Thread Mark Brown
On Tue, Jul 31, 2012 at 12:20:52PM +0800, Shawn Guo wrote: > On Mon, Jul 30, 2012 at 07:53:45PM +0100, Mark Brown wrote: > > Quite honestly this seems totally unrealistic for the majority of users, > I doubt that. Searching drivers/cpufreq folder, I can see there are > several cpufreq drivers sc

RE: [PATCH RESEND v2 1/2] arm/dts: Add AM33XX basic pinctrl support

2012-07-31 Thread AnilKumar, Chimata
Hi Peter, On Fri, Jul 27, 2012 at 14:40:52, Ujfalusi, Peter wrote: > Hi, > > On 07/24/2012 06:45 PM, AnilKumar Ch wrote: > > Adds basic pinctrl support for AM33XX family of devices. This patch > > is based on the pinctrl-simple driver submitted by Tony Lindgren's > > here: http://lwn.net/Articles

Re: [RFC/PATCH 09/13] media: s5k6aa: Add support for device tree based instantiation

2012-07-31 Thread Sylwester Nawrocki
On 07/31/2012 02:59 PM, Guennadi Liakhovetski wrote: > On Tue, 31 Jul 2012, Sylwester Nawrocki wrote: >> On 07/31/2012 02:26 PM, Guennadi Liakhovetski wrote: >> But should we allow host probe() to succeed if the sensor isn't present ? > > I think we should, yes. The host hardware is the

Re: [RFC/PATCH 09/13] media: s5k6aa: Add support for device tree based instantiation

2012-07-31 Thread Guennadi Liakhovetski
On Tue, 31 Jul 2012, Sylwester Nawrocki wrote: > On 07/31/2012 02:26 PM, Guennadi Liakhovetski wrote: > But should we allow host probe() to succeed if the sensor isn't present ? > >>> > >>> I think we should, yes. The host hardware is there and functional - > >>> whether or not all or some of

Re: [RFC][PATCH v3 1/3] runtime interpreted power sequences

2012-07-31 Thread Mitch Bradley
On 7/31/2012 8:38 PM, Thierry Reding wrote: > On Tue, Jul 31, 2012 at 08:22:17PM +0800, Mitch Bradley wrote: >> On 7/31/2012 6:56 PM, Thierry Reding wrote: >>> On Tue, Jul 31, 2012 at 07:32:20PM +0900, Alex Courbot wrote: On 07/31/2012 07:45 AM, Stephen Warren wrote: > I wonder if using th

Re: [RFC/PATCH 09/13] media: s5k6aa: Add support for device tree based instantiation

2012-07-31 Thread Sylwester Nawrocki
On 07/31/2012 02:26 PM, Guennadi Liakhovetski wrote: But should we allow host probe() to succeed if the sensor isn't present ? >>> >>> I think we should, yes. The host hardware is there and functional - >>> whether or not all or some of the clients are failing. Theoretically >>> clients can al

Re: [RFC] media DT bindings

2012-07-31 Thread Guennadi Liakhovetski
On Tue, 31 Jul 2012, Laurent Pinchart wrote: > Hi Guennadi, > > On Tuesday 31 July 2012 11:26:27 Guennadi Liakhovetski wrote: > > On Fri, 27 Jul 2012, Laurent Pinchart wrote: > > > Hi Sylwester, > > > > > > On Wednesday 18 July 2012 19:00:15 Sylwester Nawrocki wrote: > > > > On 07/16/2012 01:41

Re: [RFC/PATCH 02/13] media: s5p-csis: Add device tree support

2012-07-31 Thread Sylwester Nawrocki
On 07/31/2012 01:05 PM, Laurent Pinchart wrote: > What about CSI receivers that can reroute the lanes internally ? We > would > need to specify lane indices for each lane then, maybe with something > like > > clock-lane =<0>; > data-lanes =<2 3 1>; Sounds good

Re: [RFC][PATCH v3 1/3] runtime interpreted power sequences

2012-07-31 Thread Thierry Reding
On Tue, Jul 31, 2012 at 08:22:17PM +0800, Mitch Bradley wrote: > On 7/31/2012 6:56 PM, Thierry Reding wrote: > > On Tue, Jul 31, 2012 at 07:32:20PM +0900, Alex Courbot wrote: > >> On 07/31/2012 07:45 AM, Stephen Warren wrote: > >>> I wonder if using the same structure/array as input and output woul

Re: [RFC/PATCH 09/13] media: s5k6aa: Add support for device tree based instantiation

2012-07-31 Thread Guennadi Liakhovetski
On Tue, 31 Jul 2012, Laurent Pinchart wrote: > Hi Guennadi, > > On Tuesday 31 July 2012 13:29:55 Guennadi Liakhovetski wrote: > > On Tue, 31 Jul 2012, Laurent Pinchart wrote: > > > On Tuesday 31 July 2012 13:14:13 Guennadi Liakhovetski wrote: > > > > On Tue, 31 Jul 2012, Laurent Pinchart wrote: >

Re: [RFC][PATCH v3 1/3] runtime interpreted power sequences

2012-07-31 Thread Mitch Bradley
On 7/31/2012 6:56 PM, Thierry Reding wrote: > On Tue, Jul 31, 2012 at 07:32:20PM +0900, Alex Courbot wrote: >> On 07/31/2012 07:45 AM, Stephen Warren wrote: >>> I wonder if using the same structure/array as input and output would >>> simplify the API; the platform data would fill in the fields ment

Re: [RFC] media DT bindings

2012-07-31 Thread Laurent Pinchart
Hi Guennadi, On Tuesday 31 July 2012 11:26:27 Guennadi Liakhovetski wrote: > On Fri, 27 Jul 2012, Laurent Pinchart wrote: > > Hi Sylwester, > > > > On Wednesday 18 July 2012 19:00:15 Sylwester Nawrocki wrote: > > > On 07/16/2012 01:41 PM, Guennadi Liakhovetski wrote: > [snip] > > > > >>> An sh-m

Re: [RFC/PATCH 09/13] media: s5k6aa: Add support for device tree based instantiation

2012-07-31 Thread Laurent Pinchart
Hi Guennadi, On Tuesday 31 July 2012 13:29:55 Guennadi Liakhovetski wrote: > On Tue, 31 Jul 2012, Laurent Pinchart wrote: > > On Tuesday 31 July 2012 13:14:13 Guennadi Liakhovetski wrote: > > > On Tue, 31 Jul 2012, Laurent Pinchart wrote: > > > > On Tuesday 31 July 2012 11:56:44 Guennadi Liakhovet

Re: [RFC/PATCH 09/13] media: s5k6aa: Add support for device tree based instantiation

2012-07-31 Thread Guennadi Liakhovetski
On Tue, 31 Jul 2012, Laurent Pinchart wrote: > Hi Guennadi, > > On Tuesday 31 July 2012 13:14:13 Guennadi Liakhovetski wrote: > > On Tue, 31 Jul 2012, Laurent Pinchart wrote: > > > On Tuesday 31 July 2012 11:56:44 Guennadi Liakhovetski wrote: > > > > On Thu, 26 Jul 2012, Laurent Pinchart wrote: >

Re: [RFC/PATCH 09/13] media: s5k6aa: Add support for device tree based instantiation

2012-07-31 Thread Laurent Pinchart
Hi Guennadi, On Tuesday 31 July 2012 13:14:13 Guennadi Liakhovetski wrote: > On Tue, 31 Jul 2012, Laurent Pinchart wrote: > > On Tuesday 31 July 2012 11:56:44 Guennadi Liakhovetski wrote: > > > On Thu, 26 Jul 2012, Laurent Pinchart wrote: > > > > On Wednesday 18 July 2012 11:18:33 Sylwester Nawroc

Re: [RFC/PATCH 09/13] media: s5k6aa: Add support for device tree based instantiation

2012-07-31 Thread Guennadi Liakhovetski
On Tue, 31 Jul 2012, Laurent Pinchart wrote: > Hi Guennadi, > > On Tuesday 31 July 2012 11:56:44 Guennadi Liakhovetski wrote: > > On Thu, 26 Jul 2012, Laurent Pinchart wrote: > > > On Wednesday 18 July 2012 11:18:33 Sylwester Nawrocki wrote: > > > > On 07/16/2012 11:42 AM, Guennadi Liakhovetski w

Re: [PATCH V3 1/2] of: Add generic device tree DMA helpers

2012-07-31 Thread Vinod Koul
On Thu, 2012-07-26 at 12:43 -0500, Jon Hunter wrote: > >> So yes I can see that a channel itself could be configured to > support a > >> given direction, but when we ask for a channel via > dma_request_channel() > >> we are going to get a channel that matches the criteria we pass > using > >> the f

Re: [PATCH V3 1/2] of: Add generic device tree DMA helpers

2012-07-31 Thread Vinod Koul
On Thu, 2012-07-26 at 10:53 -0500, Jon Hunter wrote: > On 07/26/2012 06:28 AM, Vinod Koul wrote: > > On Thu, 2012-07-26 at 07:14 +, Arnd Bergmann wrote: > >> On Thursday 26 July 2012, Vinod Koul wrote: > > But from a client POV it makes sense as with the given direction you > > would ne

Re: [RFC/PATCH 02/13] media: s5p-csis: Add device tree support

2012-07-31 Thread Laurent Pinchart
Hi Guennadi, On Tuesday 31 July 2012 12:58:50 Guennadi Liakhovetski wrote: > On Fri, 27 Jul 2012, Laurent Pinchart wrote: > > On Thursday 26 July 2012 21:51:30 Sylwester Nawrocki wrote: > > > On 07/26/2012 04:38 PM, Laurent Pinchart wrote: > > > --- /dev/null > > > +++ b/Documentation/de

Re: [RFC/PATCH 02/13] media: s5p-csis: Add device tree support

2012-07-31 Thread Guennadi Liakhovetski
On Fri, 27 Jul 2012, Laurent Pinchart wrote: > Hi Sylwester, > > On Thursday 26 July 2012 21:51:30 Sylwester Nawrocki wrote: > > On 07/26/2012 04:38 PM, Laurent Pinchart wrote: > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/video/mipi.txt > > @@ -0,0 +1,5 @@ > >

Re: [RFC/PATCH 09/13] media: s5k6aa: Add support for device tree based instantiation

2012-07-31 Thread Laurent Pinchart
Hi Guennadi, On Tuesday 31 July 2012 11:56:44 Guennadi Liakhovetski wrote: > On Thu, 26 Jul 2012, Laurent Pinchart wrote: > > On Wednesday 18 July 2012 11:18:33 Sylwester Nawrocki wrote: > > > On 07/16/2012 11:42 AM, Guennadi Liakhovetski wrote: > > > > On Fri, 25 May 2012, Sylwester Nawrocki wrot

Re: [RFC][PATCH v3 1/3] runtime interpreted power sequences

2012-07-31 Thread Thierry Reding
On Tue, Jul 31, 2012 at 07:32:20PM +0900, Alex Courbot wrote: > On 07/31/2012 07:45 AM, Stephen Warren wrote: > >I wonder if using the same structure/array as input and output would > >simplify the API; the platform data would fill in the fields mentioned > >above, and power_seq_build() would parse

Re: [RFC][PATCH v3 1/3] runtime interpreted power sequences

2012-07-31 Thread Thierry Reding
On Tue, Jul 31, 2012 at 07:11:41PM +0900, Alex Courbot wrote: > On 07/31/2012 06:13 PM, Thierry Reding wrote: > >>I don't see any need for microseconds myself - anybody sees use for > >>finer-grained delays? > >> > >>Btw, I noticed I was using mdelay instead of msleep - caught and fixed that. > > >

Re: [RFC][PATCH v3 1/3] runtime interpreted power sequences

2012-07-31 Thread Thierry Reding
On Tue, Jul 31, 2012 at 06:51:03PM +0900, Alex Courbot wrote: > On 07/30/2012 08:33 PM, Thierry Reding wrote: > >>+You will need an instance of power_seq_resources to keep track of the > >>resources > >>+that are already allocated. On success, the function returns a devm > >>allocated > >>+resolv

Re: [RFC/PATCH 09/13] media: s5k6aa: Add support for device tree based instantiation

2012-07-31 Thread Guennadi Liakhovetski
On Thu, 26 Jul 2012, Laurent Pinchart wrote: > Hi Sylwester, > > On Wednesday 18 July 2012 11:18:33 Sylwester Nawrocki wrote: > > On 07/16/2012 11:42 AM, Guennadi Liakhovetski wrote: > > > On Fri, 25 May 2012, Sylwester Nawrocki wrote: > > >> The driver initializes all board related properties ex

Re: [PATCH v3 06/18] tegra: fdt: Add LCD definitions for Tegra

2012-07-31 Thread Thierry Reding
On Tue, Jul 31, 2012 at 10:27:23AM +0100, Simon Glass wrote: > +Thierry > > Hi, > > On Thu, Jul 12, 2012 at 4:25 PM, Simon Glass wrote: > > Add LCD definitions and also a proposed binding for LCD displays. > > > > The PWM is as per what will likely be committed to linux-next soon. > > > > The di

Re: [RFC/PATCH 02/13] media: s5p-csis: Add device tree support

2012-07-31 Thread Guennadi Liakhovetski
On Thu, 26 Jul 2012, Laurent Pinchart wrote: > Hi Sylwester, > > On Tuesday 17 July 2012 20:16:23 Sylwester Nawrocki wrote: > > On 07/16/2012 10:55 AM, Guennadi Liakhovetski wrote: > > > Hi Sylwester > > > > > > Thanks for your comments to my RFC and for pointing out to this your > > > earlier p

Re: [PATCH v3 06/18] tegra: fdt: Add LCD definitions for Tegra

2012-07-31 Thread Simon Glass
+Thierry Hi, On Thu, Jul 12, 2012 at 4:25 PM, Simon Glass wrote: > Add LCD definitions and also a proposed binding for LCD displays. > > The PWM is as per what will likely be committed to linux-next soon. > > The displaymode binding comes from a proposal here: > > http://lists.freedesktop.org/ar

Re: [RFC] media DT bindings

2012-07-31 Thread Guennadi Liakhovetski
On Fri, 27 Jul 2012, Laurent Pinchart wrote: > Hi Sylwester, > > On Wednesday 18 July 2012 19:00:15 Sylwester Nawrocki wrote: > > On 07/16/2012 01:41 PM, Guennadi Liakhovetski wrote: [snip] > > >>> An sh-mobile CEU DT node could look like > > >>> > > >>> ceu0@0xfe91 = { > > >>>

Re: [PATCH v4 3/6] tegra: fdt: Add NAND controller binding and definitions

2012-07-31 Thread Simon Glass
Hi Scott, On Tue, Jul 31, 2012 at 12:05 AM, Scott Wood wrote: > On 07/30/2012 01:53 AM, Simon Glass wrote: >> diff --git a/arch/arm/dts/tegra20.dtsi b/arch/arm/dts/tegra20.dtsi >> index f95be58..d936b1e 100644 >> --- a/arch/arm/dts/tegra20.dtsi >> +++ b/arch/arm/dts/tegra20.dtsi >> @@ -204,4 +204

Re: [RFC][PATCH v3 1/3] runtime interpreted power sequences

2012-07-31 Thread Thierry Reding
On Mon, Jul 30, 2012 at 04:47:06PM +0100, Mark Brown wrote: > On Mon, Jul 30, 2012 at 10:44:29AM -0500, Rob Herring wrote: > > On 07/27/2012 07:05 AM, Alexandre Courbot wrote: > > > > + power-on-sequence { > > > + regulator@0 { > > > + id = "power";

Re: [PATCH v4 4/6] tegra: fdt: Add NAND definitions to fdt

2012-07-31 Thread Simon Glass
Hi Scott, On Mon, Jul 30, 2012 at 11:49 PM, Scott Wood wrote: > On 07/30/2012 01:53 AM, Simon Glass wrote: >> Add a flash node to handle the NAND, including memory timings and >> page / block size information. >> >> Signed-off-by: Simon Glass >> --- >> Changes in v2: >> - Update NAND binding to

Re: [RFC][PATCH v3 1/3] runtime interpreted power sequences

2012-07-31 Thread Thierry Reding
On Tue, Jul 31, 2012 at 05:37:07PM +0900, Alex Courbot wrote: > Hi Simon, > > On 07/30/2012 08:00 PM, Simon Glass wrote: > >For the delay, I think milliseconds is reasonable. I suppose there is > >no reasonable need for microseconds? > > I don't see any need for microseconds myself - anybody sees

[PATCH v2 1/1] ARM: dove: DT support for sdhci-dove

2012-07-31 Thread Sebastian Hesselbarth
This patch adds device tree support and binding documentiation for sdhci-dove. v2: extended documentation and removed second interrupt as it is marked 'reserved' in dove datasheet. Signed-off-by: Sebastian Hesselbarth Cc: Grant Likely Cc: Rob Herring Cc: Rob Landley Cc: Chris Ball Cc: A