Re: [PATCH v6 0/7] irqchip: Move OMAP{4,5}/DRA7 to use stacked domains

2015-03-13 Thread Jason Cooper
Hey Tony, On Fri, Mar 13, 2015 at 08:40:39AM -0700, Tony Lindgren wrote: * Marc Zyngier marc.zyng...@arm.com [150311 08:44]: This series is extracted from [4], which is trying to remove all traces of gic_arch_extn from the tree. As some maintainers are more responsive than others

Re: [PATCH v6 0/7] irqchip: Move OMAP{4,5}/DRA7 to use stacked domains

2015-03-13 Thread Marc Zyngier
On 13/03/15 17:38, Tony Lindgren wrote: * Jason Cooper ja...@lakedaemon.net [150313 10:25]: Hey Tony, On Fri, Mar 13, 2015 at 08:40:39AM -0700, Tony Lindgren wrote: * Marc Zyngier marc.zyng...@arm.com [150311 08:44]: This series is extracted from [4], which is trying to remove all traces of

Re: [PATCH v6 0/7] irqchip: Move OMAP{4,5}/DRA7 to use stacked domains

2015-03-13 Thread Tony Lindgren
* Jason Cooper ja...@lakedaemon.net [150313 10:25]: Hey Tony, On Fri, Mar 13, 2015 at 08:40:39AM -0700, Tony Lindgren wrote: * Marc Zyngier marc.zyng...@arm.com [150311 08:44]: This series is extracted from [4], which is trying to remove all traces of gic_arch_extn from the tree. As

Re: [Cocci] [PATCH v13 3/6] clk: Make clk API return per-user struct clk instances

2015-03-13 Thread Stephen Boyd
On 03/12/15 20:29, Shawn Guo wrote: On Thu, Mar 12, 2015 at 12:43:40PM -0700, Stephen Boyd wrote: On 03/12/15 10:20, Sebastian Andrzej Siewior wrote: On 2015-02-17 14:01:04 [-0800], Stephen Boyd wrote: diff = --- arch/arm/mach-imx/mach-imx6q.c +++ /tmp/cocci-output-11792-b62223-mach-imx6q.c

Re: [PATCH] phy: Add a driver for dm816x USB PHY

2015-03-13 Thread Matthijs van Duin
Given that the documentation mentions the actual phy used, it may be worth mentioning this also in the driver? i.e. that it's not a dm816x phy but a SR70LX Synopsys USB 2.0 OTG nanoPHY (in contrast to the dm814x and am335x which use a phy TI made themselves) USB is one of the few subsystems of

Re: [PATCH] phy: Add a driver for dm816x USB PHY

2015-03-13 Thread Tony Lindgren
* Matthijs van Duin matthijsvand...@gmail.com [150313 11:39]: Given that the documentation mentions the actual phy used, it may be worth mentioning this also in the driver? i.e. that it's not a dm816x phy but a SR70LX Synopsys USB 2.0 OTG nanoPHY (in contrast to the dm814x and am335x which

[PATCH v2 0/2] ARM: devicetree: Remove unused ti,codec property

2015-03-13 Thread Marek Belisko
ti,codec in not parsed in omap-twl4030 sound driver. It's not necessary to specify this property in DT because ti,twl4030-audio which ti,codec was pointing to by phandle is mfd driver and device for ASoC ic created w/o any DT property (codec name is hardcoded in ASoC driver). Please see reply [1]

[PATCH v2 1/2] ARM: dts: omap3: Remove all references to ti,codec property

2015-03-13 Thread Marek Belisko
ti,codec property is not used (parsed) in omap-twl4030 driver. The ti,twl4030-audio which ti,codec points by phandle is mfd driver and device for ASoC codec is created w/o DT compatible string. Removing all references in DT files. Signed-off-by: Marek Belisko ma...@goldelico.com ---

[PATCH v2 2/2] Documentation: omap-twl4030: Move ti,codec property to optional

2015-03-13 Thread Marek Belisko
ti,codec property is not used in omap-twl4030 driver in linux kernel but we keep it as optional property, so that the existing dtbs do not become noncompliant after the change on other OS. Signed-off-by: Marek Belisko ma...@goldelico.com ---

Re: [PATCHv2] thermal: add omap3 support

2015-03-13 Thread Pavel Machek
Hi! @@ -384,25 +385,10 @@ int ti_bandgap_set_sensor_data(struct ti_bandgap *bgp, int id, void *data); void *ti_bandgap_get_sensor_data(struct ti_bandgap *bgp, int id); int ti_bandgap_get_trend(struct ti_bandgap *bgp, int id, int *trend); -#ifdef CONFIG_OMAP4_THERMAL +extern

[PATCH 4/4] CLK: TI: DRA7: Add timer_sys_ck aliases for Timers 13 through 16

2015-03-13 Thread Suman Anna
The OMAP DMTimer API, omap_dm_timer_set_source(), uses the clock name timer_sys_ck for setting a timer's clock source for the source index OMAP_TIMER_SRC_SYS_CLK. There is currently no clock alias data for the Timers 13 through 16 for this clock name, so add the same. Signed-off-by: Suman Anna

[PATCH 2/4] CLK: TI: OMAP5: Correct the DT clock aliases for timers

2015-03-13 Thread Suman Anna
The DT clock aliases for Timers use the legacy (non-DT) device names and a source clock named sys_ck. OMAP5 is DT-boot only, so correct the DT clock aliases to use the DT device names instead. Also, the source clock name is corrected from 'sys_ck' to 'timer_sys_ck', the name used by the OMAP

[PATCH 3/4] CLK: TI: DRA7: Correct timer_sys_ck clock aliases for Timers

2015-03-13 Thread Suman Anna
The OMAP DMTimer API, omap_dm_timer_set_source(), can set the parent of a timer node using 3 different values that use fixed parent names for the clocks. The parent name, timer_sys_ck, is used for setting the parent when used with the source index OMAP_TIMER_SRC_SYS_CLK. This should point to the

[PATCH 1/4] CLK: TI: OMAP4: Remove the legacy timer DT clock aliases

2015-03-13 Thread Suman Anna
The DT clock aliases for timers using the legacy OMAP timer device names have been cleaned up. These device names reflect the names used in legacy boot, and are no longer applicable as OMAP4 is DT boot only now. Signed-off-by: Suman Anna s-a...@ti.com --- drivers/clk/ti/clk-44xx.c | 11

[PATCH 0/4] CLK: TI: Timer clock alias fixes

2015-03-13 Thread Suman Anna
Hi Tero, Please find couple of cleanup/fixes on the DT clock aliases for the GPTimers. Patches are based on 4.0-rc1 and following is the summary of the changes, 1. Patch 1 is a cleanup for OMAP4 2. Patch 2 fixes the failures for OMAP5 if omap_dm_timer_set_source() API is called to set the

Re: [PATCH v3 1/2] remoteproc: use a flag to detect the presence of IOMMU

2015-03-13 Thread Suman Anna
On 03/12/2015 04:04 AM, Ohad Ben-Cohen wrote: On Fri, Jan 9, 2015 at 11:21 PM, Suman Anna s-a...@ti.com wrote: The remoteproc driver core currently relies on iommu_present() on the bus the device is on, to perform MMU management. However, this logic doesn't scale for multi-arch, especially for

Re: [PATCH 0/2] ARM: devicetree: Remove unused ti,codec property

2015-03-13 Thread Peter Ujfalusi
On 03/12/2015 11:14 PM, Marek Belisko wrote: ti,codec in not parsed in omap-twl4030 sound driver. It's not necessary to specify this property in DT because ti,twl4030-audio which ti,codec was pointing to by phandle is mfd driver and device for ASoC ic created w/o any DT property (codec name is

Re: [RFC PATCH] dts: Add am335x-wega-rdk.dtb sources for phyBOARD-Wega-AM335x

2015-03-13 Thread Matwey V. Kornilov
Hi, Teresa replied me, but unfortunately I found that the answer not reached the public maillists. Briefly, we don't need this patch, PhyTec will send better one this year. 2015-03-07 15:59 GMT+03:00 Matwey V. Kornilov mat...@sai.msu.ru: The following patch is to support Phytec

Re: [PATCH v6 5/6] ARM: dts: add wl12xx/wl18xx bindings

2015-03-13 Thread Javier Martinez Canillas
Hello Eliad, On Thu, Mar 12, 2015 at 1:09 PM, Eliad Peller el...@wizery.com wrote: Replace all the pdata-quirks for setting wl12xx/wl18xx platform data with proper DT definitions. The patch was compile-tested only. Signed-off-by: Eliad Peller el...@wizery.com --- I wanted to test your

Re: [PATCH 2/2] Documentation: omap-twl4030: Remove ti,codec property

2015-03-13 Thread Arnd Bergmann
On Thursday 12 March 2015 22:14:59 Marek Belisko wrote: diff --git a/Documentation/devicetree/bindings/sound/omap-twl4030.txt b/Documentation/devicetree/bindings/sound/omap-twl4030.txt index 1ab6bc8..656165f 100644 --- a/Documentation/devicetree/bindings/sound/omap-twl4030.txt +++

Re: [Cocci] [PATCH v13 3/6] clk: Make clk API return per-user struct clk instances

2015-03-13 Thread Sebastian Andrzej Siewior
Hi Shawn, On Fri, Mar 13, 2015 at 11:29:32AM +0800, Shawn Guo wrote: We did not add a DT property for it, because there was already enough info (clock configuration) in DT for kernel to figure it out. Correct. My understanding is whatever can be figured out without DT should be done that way.

Re: [PATCH v6 5/6] ARM: dts: add wl12xx/wl18xx bindings

2015-03-13 Thread Enric Balletbo Serra
Hello, 2015-03-13 9:01 GMT+01:00 Javier Martinez Canillas jav...@dowhile0.org: Hello Eliad, On Thu, Mar 12, 2015 at 1:09 PM, Eliad Peller el...@wizery.com wrote: Replace all the pdata-quirks for setting wl12xx/wl18xx platform data with proper DT definitions. The patch was compile-tested

Re: [PATCH RFC (do not merge)] ASoC: davinci-mcasp: Set rule constraint if implicit bclk divider is used

2015-03-13 Thread Lars-Peter Clausen
On 03/13/2015 12:36 PM, Jyri Sarha wrote: [...] In theory this patch does exactly what it is supposed to. It only allows a sample-rate and sample-format combination if the rate can be produced with reasonable accuracy. Unfortunately the alsa-lib and alsa-tools are not able use this information

Re: [PATCHv2] thermal: add omap3 support

2015-03-13 Thread Pavel Machek
Hi! I checked 4.0-rc3 and linux-next as of today, and can not see omap3 thermal support. Can you apply the patches? Thanks, Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures)

Re: [PATCH 2/2] Documentation: omap-twl4030: Remove ti,codec property

2015-03-13 Thread Peter Ujfalusi
On 03/13/2015 01:05 PM, Arnd Bergmann wrote: On Thursday 12 March 2015 22:14:59 Marek Belisko wrote: diff --git a/Documentation/devicetree/bindings/sound/omap-twl4030.txt b/Documentation/devicetree/bindings/sound/omap-twl4030.txt index 1ab6bc8..656165f 100644 ---

Re: [PATCH v6 2/6] wl12xx: use frequency instead of enumerations for pdata clocks

2015-03-13 Thread Tony Lindgren
* Eliad Peller el...@wizery.com [150312 05:09]: From: Luciano Coelho l...@coelho.fi Instead of defining an enumeration with the FW specific values for the different clock rates, use the actual frequency instead. Also add a boolean to specify whether the clock is XTAL or not. Thanks for

[PATCH RFC (do not merge)] ASoC: davinci-mcasp: Set rule constraint if implicit bclk divider is used

2015-03-13 Thread Jyri Sarha
Set a rule constraint to allow only sample-rate and sample-format combinations that can be played/captured with reasonable accuracy. Signed-off-by: Jyri Sarha jsa...@ti.com --- In theory this patch does exactly what it is supposed to. It only allows a sample-rate and sample-format combination if

Re: [PATCH 2/2] Documentation: omap-twl4030: Remove ti,codec property

2015-03-13 Thread Belisko Marek
On Fri, Mar 13, 2015 at 12:48 PM, Peter Ujfalusi peter.ujfal...@ti.com wrote: On 03/13/2015 01:05 PM, Arnd Bergmann wrote: On Thursday 12 March 2015 22:14:59 Marek Belisko wrote: diff --git a/Documentation/devicetree/bindings/sound/omap-twl4030.txt

Re: [PATCH v6 6/6] wlcore: remove wl12xx_platform_data

2015-03-13 Thread Tony Lindgren
* Eliad Peller el...@wizery.com [150312 05:10]: Now that we have wlcore device-tree bindings in place (for both wl12xx and wl18xx), remove the legacy wl12xx_platform_data struct, and move its members into the platform device data (that is passed to wlcore) Davinci 850 is the only platform

Re: [PATCH v6 5/6] ARM: dts: add wl12xx/wl18xx bindings

2015-03-13 Thread Tony Lindgren
* Eliad Peller el...@wizery.com [150312 05:09]: --- a/arch/arm/mach-omap2/pdata-quirks.c +++ b/arch/arm/mach-omap2/pdata-quirks.c -static void __init omap3_evm_legacy_init(void) -{ - legacy_init_wl12xx(3840, 0, 149); -} FYI, at least this part conflicts with the fixes in the

Re: [Cocci] [PATCH v13 3/6] clk: Make clk API return per-user struct clk instances

2015-03-13 Thread Shawn Guo
On Fri, Mar 13, 2015 at 09:20:10AM +0100, Sebastian Andrzej Siewior wrote: Hi Shawn, On Fri, Mar 13, 2015 at 11:29:32AM +0800, Shawn Guo wrote: We did not add a DT property for it, because there was already enough info (clock configuration) in DT for kernel to figure it out. Correct. My

Re: [PATCH RFC (do not merge)] ASoC: davinci-mcasp: Set rule constraint if implicit bclk divider is used

2015-03-13 Thread Jyri Sarha
On 03/13/15 13:56, Lars-Peter Clausen wrote: On 03/13/2015 12:36 PM, Jyri Sarha wrote: [...] In theory this patch does exactly what it is supposed to. It only allows a sample-rate and sample-format combination if the rate can be produced with reasonable accuracy. Unfortunately the alsa-lib and

Re: [PATCH v6 0/7] irqchip: Move OMAP{4,5}/DRA7 to use stacked domains

2015-03-13 Thread Tony Lindgren
* Marc Zyngier marc.zyng...@arm.com [150311 08:44]: This series is extracted from [4], which is trying to remove all traces of gic_arch_extn from the tree. As some maintainers are more responsive than others (understatement of the year...), I've decided to split it per sub-arch, and get it

Re: [PATCH v6 0/6] wlcore: add device-tree support

2015-03-13 Thread Sébastien Szymanski
Hello, On 03/12/2015 01:09 PM, Eliad Peller wrote: NOTE: all the platform patches were compile-tested only. I'm looking for some wl12xx card (that i should have somewhere) to test the wl12xx changes (wrt. clocks), but haven't found it yet. I have tested this series on a APF6 board, i.MX6

Re: [PATCHv2] thermal: add omap3 support

2015-03-13 Thread Eduardo Valentin
On Sun, Jan 18, 2015 at 09:28:24PM +0100, Pavel Machek wrote: Add support for omap3430 sensor. Tested on Nokia N900. Fix help text to be closer to english. Ifdefs in ti-bandgap.h are not neccessary, as users have #ifdefs, already. Signed-off-by: Pavel Machek pa...@ucw.cz diff --git

Re: [PATCHv2] thermal: add omap3 support

2015-03-13 Thread Eduardo Valentin
Hey Pavel, On Fri, Mar 13, 2015 at 01:09:35PM +0100, Pavel Machek wrote: Hi! I checked 4.0-rc3 and linux-next as of today, and can not see omap3 thermal support. Can you apply the patches? Yeah, it should be possible. Apologize, it really fell into the cracks. There is a comment on it