[PATCH v3 2/2] ata: Fix the dma state machine lockup for the IDENTIFY DEVICE PIO mode command.

2014-06-18 Thread Suman Tripathi
This patch fixes the dma state machine lockup due to the processing of IDENTIFY DEVICE PIO mode command. The X-Gene AHCI controller has an errata in which it cannot clear the BSY bit after receiving the PIO setup FIS and results the dma state machine to go into the CMFatalErrorUpdate state resultin

[PATCH v3 1/2] libahci: Implement the function ahci_restart_engine to restart the port dma engine.

2014-06-18 Thread Suman Tripathi
This patch adds an function to restart the port dma engine. Signed-off-by: Loc Ho Signed-off-by: Suman Tripathi --- drivers/ata/ahci.h| 1 + drivers/ata/libahci.c | 12 2 files changed, 13 insertions(+) diff --git a/drivers/ata/ahci.h b/drivers/ata/ahci.h index af63c75..3c176

[PATCH v3 1/2] libahci: Implement the function ahci_restart_engine to restart the port dma engine.

2014-06-18 Thread Suman Tripathi
This patch adds an function to restart the port dma engine. Signed-off-by: Loc Ho Signed-off-by: Suman Tripathi --- drivers/ata/ahci.h| 1 + drivers/ata/libahci.c | 12 2 files changed, 13 insertions(+) diff --git a/drivers/ata/ahci.h b/drivers/ata/ahci.h index af63c75..3c176

[PATCH v3 0/2]]ata: Fix the dma state machine lockup for APM X-Gene SoC

2014-06-18 Thread Suman Tripathi
Signed-off-by: Loc Ho Signed-off-by: Suman Tripathi --- Suman Tripathi (2): libahci: Implement the function ahci_restart_engine to restart the port dma engine. ata: Fix the dma state machine lockup for the IDENTIFY DEVICE PIO mode command. drivers/ata/ahci.h | 2 ++ drivers/a

[PATCH v3 0/2]]ata: Fix the dma state machine lockup for APM X-Gene SoC

2014-06-18 Thread Suman Tripathi
Signed-off-by: Loc Ho Signed-off-by: Suman Tripathi --- Suman Tripathi (2): libahci: Implement the function ahci_restart_engine to restart the port dma engine. ata: Fix the dma state machine lockup for the IDENTIFY DEVICE PIO mode command. drivers/ata/ahci.h | 2 ++ drivers/a

Re: [PATCH] clk/exynos5250: fix bit number for tv sysmmu clock

2014-06-18 Thread Sachin Kamat
On Thu, Jun 19, 2014 at 11:17 AM, Rahul Sharma wrote: > Change bit from 2 to 9 for tv (mixer) sysmmu clock. > > Signed-off-by: Rahul Sharma > --- > Based on Kukjin's for-next branch. > > drivers/clk/samsung/clk-exynos5250.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --gi

[PATCH] clk/exynos5250: fix bit number for tv sysmmu clock

2014-06-18 Thread Rahul Sharma
Change bit from 2 to 9 for tv (mixer) sysmmu clock. Signed-off-by: Rahul Sharma --- Based on Kukjin's for-next branch. drivers/clk/samsung/clk-exynos5250.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/samsung/clk-exynos5250.c b/drivers/clk/samsung/clk-exyn

Re: [PATCH v2 12/20] clk: sunxi: Add A23 APB0 support to sun6i-a31-apb0-clk

2014-06-18 Thread Chen-Yu Tsai
On Wed, Jun 18, 2014 at 6:26 PM, Maxime Ripard wrote: > On Tue, Jun 17, 2014 at 10:52:49PM +0800, Chen-Yu Tsai wrote: >> The A23 has an almost identical PRCM clock tree. The difference in >> the APB0 clock is the smallest divisor is 1, instead of 2. >> >> This patch extends the sun6i-a31-apb0-clk

Re: [PATCH v2 11/20] clk: sunxi: Add A23 clocks support

2014-06-18 Thread Chen-Yu Tsai
On Wed, Jun 18, 2014 at 6:16 PM, Maxime Ripard wrote: > On Tue, Jun 17, 2014 at 10:52:48PM +0800, Chen-Yu Tsai wrote: >> The clock control unit on the A23 is similar to the one found on the A31. >> >> The AHB1, APB1, APB2 gates on the A23 are almost identical to the ones >> on the A31, but some ou

Re: [PATCH v2 2/2] arm: dts: add support for AM437x StarterKit

2014-06-18 Thread Felipe Balbi
Hi, On Wed, Jun 18, 2014 at 10:17:34PM -0500, Nishanth Menon wrote: > On 06/18/2014 10:05 PM, Felipe Balbi wrote: > > Hi, > > > > On Wed, Jun 18, 2014 at 09:26:01PM -0500, Nishanth Menon wrote: > >> On 06/18/2014 06:19 PM, Felipe Balbi wrote: > >> [...] > >>> Add support for TI's AM437x Start

Re: [PATCH v3 0/3] Qualcomm Resource Power Manager driver

2014-06-18 Thread Jassi Brar
On 18 June 2014 22:14, Kevin Hilman wrote: > Kumar Gala writes: > >> On Jun 18, 2014, at 10:53 AM, Kevin Hilman wrote: >> >>> Bjorn Andersson writes: >>> On Tue, Jun 17, 2014 at 10:07 AM, Kevin Hilman wrote: > +Paul Walmsley > > Bjorn Andersson writes: > >> This serie

Re: [PATCH 2/2] extcon: gpio: Add dt support for the driver.

2014-06-18 Thread George Cherian
On 6/17/2014 9:27 PM, Mark Rutland wrote: On Tue, Jun 17, 2014 at 04:58:20AM +0100, George Cherian wrote: Add device tree support to extcon-gpio driver. Add devicetree binding documentation Signed-off-by: George Cherian --- .../devicetree/bindings/extcon/extcon-gpio.txt | 34

Re: [PATCH v2 2/2] arm: dts: add support for AM437x StarterKit

2014-06-18 Thread Nishanth Menon
On 06/18/2014 10:05 PM, Felipe Balbi wrote: > Hi, > > On Wed, Jun 18, 2014 at 09:26:01PM -0500, Nishanth Menon wrote: >> On 06/18/2014 06:19 PM, Felipe Balbi wrote: >> [...] >>> Add support for TI's AM437x StarterKit Evaluation >>> Module. >> >> is there a link for this platform? >

Re: [PATCH v2 2/2] arm: dts: add support for AM437x StarterKit

2014-06-18 Thread Felipe Balbi
Hi, On Wed, Jun 18, 2014 at 09:26:01PM -0500, Nishanth Menon wrote: > On 06/18/2014 06:19 PM, Felipe Balbi wrote: > [...] > >Add support for TI's AM437x StarterKit Evaluation > >Module. > > is there a link for this platform? > >>> > >>>internal only > >> > >>but will eventually be

Re: [PATCH v4 5/6] drivers: cpuidle: CPU idle ARM64 driver

2014-06-18 Thread Rob Herring
On Wed, Jun 11, 2014 at 11:18 AM, Lorenzo Pieralisi wrote: > This patch implements a generic CPU idle driver for ARM64 machines. I fail to see anything arm64 specific here. The idle states binding is for both arm32 and arm64, right? If not, please make it for both. Otherwise, I'm okay with the bi

Re: [PATCHv7 2/5] mailbox: Introduce framework for mailbox

2014-06-18 Thread Jassi Brar
On 18 June 2014 22:33, Kevin Hilman wrote: > Jassi Brar writes: > >> On 18 June 2014 05:57, Kevin Hilman wrote: >>> Jassi Brar writes: >>> Introduce common framework for client/protocol drivers and controller drivers of Inter-Processor-Communication (IPC). Client driver deve

Re: [PATCH v2 2/2] arm: dts: add support for AM437x StarterKit

2014-06-18 Thread Nishanth Menon
On 06/18/2014 06:19 PM, Felipe Balbi wrote: [...] Add support for TI's AM437x StarterKit Evaluation Module. is there a link for this platform? internal only but will eventually be sold externally? I assume this is not an TI probably, but there's nothing public yet. internal only board.

Re: [PATCH RFC 1/2] libahci_platform: add ahci_platform_get_of_property

2014-06-18 Thread zhangfei
On 06/18/2014 03:37 PM, Lothar Waßmann wrote: Hi, Zhangfei Gao wrote: Instead of setting hflags in different files, ahci_platform_get_of_property set hpriv->flags when ahci_platform_init_host according to property in dts. Signed-off-by: Zhangfei Gao --- .../devicetree/bindings/ata/ahci-pl

Re: [PATCH RFC 1/2] libahci_platform: add ahci_platform_get_of_property

2014-06-18 Thread zhangfei
Hi Mark, On 06/18/2014 10:03 PM, Mark Rutland wrote: On Wed, Jun 18, 2014 at 05:54:08AM +0100, Zhangfei Gao wrote: Instead of setting hflags in different files, ahci_platform_get_of_property set hpriv->flags when ahci_platform_init_host according to property in dts. The AHCI_HFLAGS are a Linu

Re: [alsa-devel] [PATCH v4 3/3] ASoC: fsl: add imx-es8328 machine driver

2014-06-18 Thread Sean Cross
On 06/18/14 18:31, Mark Brown wrote: > On Wed, Jun 18, 2014 at 06:22:52PM +0800, Sean Cross wrote: >> On 06/18/14 18:02, Mark Brown wrote: >>> This should be handled by the clock bindings not open coded in the >>> driver - leaving this here most likely won't play nicely when the clock >>> API can c

[PATCH v7 3/4] dts: Add bindings for APM X-Gene SoC ethernet driver

2014-06-18 Thread Iyappan Subramanian
This patch adds bindings for APM X-Gene SoC ethernet driver. Signed-off-by: Iyappan Subramanian Signed-off-by: Ravi Patel Signed-off-by: Keyur Chudgar --- arch/arm64/boot/dts/apm-mustang.dts | 4 arch/arm64/boot/dts/apm-storm.dtsi | 30 +++--- 2 files changed, 31

[PATCH v7 2/4] Documentation: dts: Add bindings for APM X-Gene SoC ethernet driver

2014-06-18 Thread Iyappan Subramanian
This patch adds documentation for APM X-Gene SoC ethernet DTS binding. Signed-off-by: Iyappan Subramanian Signed-off-by: Ravi Patel Signed-off-by: Keyur Chudgar --- .../devicetree/bindings/net/apm-xgene-enet.txt | 72 ++ 1 file changed, 72 insertions(+) create mode 100

[PATCH v7 1/4] MAINTAINERS: Add entry for APM X-Gene SoC ethernet driver

2014-06-18 Thread Iyappan Subramanian
This patch adds a MAINTAINERS entry for APM X-Gene SoC ethernet driver. Signed-off-by: Iyappan Subramanian Signed-off-by: Ravi Patel Signed-off-by: Keyur Chudgar --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 134483f..d65a3be 100644

[PATCH v7 0/4] net: Add APM X-Gene SoC Ethernet driver support

2014-06-18 Thread Iyappan Subramanian
Adding APM X-Gene SoC Ethernet driver. v7: Address comments from v6 review * fixed skb memory leak when dma_map_single fails in xmit. v6: Address comments from v5 review * added basic ethtool support * added ndo_get_stats64 call back * deleted priting Rx error messages * renamed set_bits to xgene

Re: [PATCH v6 4/4] drivers: net: Add APM X-Gene SoC ethernet driver support.

2014-06-18 Thread Iyappan Subramanian
On Tue, Jun 17, 2014 at 1:20 PM, David Miller wrote: > From: Iyappan Subramanian > Date: Tue, 17 Jun 2014 12:21:08 -0700 > >> On Mon, Jun 16, 2014 at 9:42 PM, David Miller wrote: >>> From: Iyappan Subramanian >>> Date: Mon, 16 Jun 2014 17:18:46 -0700 >>> +static netdev_tx_t xgene_enet_star

Re: [PATCH v3 3/4] edac: Add APM X-Gene SoC EDAC driver

2014-06-18 Thread Loc Ho
Hi Rob, >> One more thing, if you going to pull this in, please use version 4 as >> that fixes the PMD (CPU L1/L2) error report and clearing. > > Ah, I have a v4 too in my mbox. cool. > > Please ping me when the atomic scrub lands in some maintainers tree so > that we can track it/point to it. Di

Re: [RFC PATCH 1/4] memory: tegra124-emc: Add EMC driver

2014-06-18 Thread Stephen Warren
On 06/18/2014 05:14 PM, Thierry Reding wrote: > On Wed, Jun 18, 2014 at 04:09:06PM -0600, Stephen Warren wrote: >> On 06/18/2014 04:03 PM, Thierry Reding wrote: ... >>> From what I remember, Mike was fairly strongly opposing the idea of >>> virtual clocks, but what you're proposing here sounds like

Re: [PATCH v2 2/2] arm: dts: add support for AM437x StarterKit

2014-06-18 Thread Felipe Balbi
Hi, (side note) On Wed, Jun 18, 2014 at 06:19:23PM -0500, Felipe Balbi wrote: > > >>>+interrupt-controller; > > >>>+#interrupt-cells = <2>; > > >>>+ > > >>>+dcdc1: regulator-dcdc1 { > > >>>+compatible = "ti,tps65218-dcdc1"; >

Re: [RFC PATCH 1/4] memory: tegra124-emc: Add EMC driver

2014-06-18 Thread Thierry Reding
On Wed, Jun 18, 2014 at 04:33:39PM -0600, Stephen Warren wrote: > On 06/18/2014 04:19 PM, Stéphane Marchesin wrote: > > On Wed, Jun 18, 2014 at 3:00 PM, Thierry Reding > > wrote: > >> On Wed, Jun 18, 2014 at 07:23:47PM +0200, Tomeu Vizoso wrote: > >>> On 06/17/2014 06:15 PM, Stephen Warren wrote:

Re: [PATCH v2 2/2] arm: dts: add support for AM437x StarterKit

2014-06-18 Thread Felipe Balbi
Hi, On Wed, Jun 18, 2014 at 04:54:05PM -0500, Nishanth Menon wrote: > On 06/18/2014 02:31 PM, Felipe Balbi wrote: > >On Wed, Jun 18, 2014 at 11:14:21AM -0500, Nishanth Menon wrote: > >>On 06/18/2014 10:43 AM, Felipe Balbi wrote: > >>>Add support for TI's AM437x StarterKit Evaluation > >>>Module. >

Re: [PATCH v4 1/6] Documentation: arm: define DT idle states bindings

2014-06-18 Thread Santosh Shilimkar
On Wednesday 18 June 2014 05:09 PM, Nicolas Pitre wrote: > On Wed, 18 Jun 2014, Santosh Shilimkar wrote: > >> On Wednesday 18 June 2014 04:51 PM, Nicolas Pitre wrote: >>> On Wed, 18 Jun 2014, Santosh Shilimkar wrote: >>> On Wednesday 18 June 2014 01:36 PM, Lorenzo Pieralisi wrote: [..] >

Re: [RFC PATCH 1/4] memory: tegra124-emc: Add EMC driver

2014-06-18 Thread Thierry Reding
On Wed, Jun 18, 2014 at 04:09:06PM -0600, Stephen Warren wrote: > On 06/18/2014 04:03 PM, Thierry Reding wrote: > > On Wed, Jun 18, 2014 at 11:46:49AM -0600, Stephen Warren wrote: > >> On 06/18/2014 11:23 AM, Tomeu Vizoso wrote: > >>> On 06/17/2014 06:15 PM, Stephen Warren wrote: > On 06/17/20

Re: [PATCH 6/7] pwm: st: Add new driver for ST's PWM IP

2014-06-18 Thread Thierry Reding
On Wed, Jun 18, 2014 at 03:52:51PM +0100, Lee Jones wrote: > This driver supports all current STi platforms' PWM IPs. > > Signed-off-by: Lee Jones > --- > drivers/pwm/Kconfig | 9 ++ > drivers/pwm/Makefile | 1 + > drivers/pwm/pwm-st.c | 378 > ++

Re: [RFC PATCH 1/4] memory: tegra124-emc: Add EMC driver

2014-06-18 Thread Stephen Warren
On 06/18/2014 04:19 PM, Stéphane Marchesin wrote: > On Wed, Jun 18, 2014 at 3:00 PM, Thierry Reding > wrote: >> On Wed, Jun 18, 2014 at 07:23:47PM +0200, Tomeu Vizoso wrote: >>> On 06/17/2014 06:15 PM, Stephen Warren wrote: On 06/17/2014 06:16 AM, Tomeu Vizoso wrote: > On 06/16/2014 10:02

Re: [PATCH v3 3/4] edac: Add APM X-Gene SoC EDAC driver

2014-06-18 Thread Borislav Petkov
On Wed, Jun 18, 2014 at 03:26:12PM -0700, Loc Ho wrote: > One more thing, if you going to pull this in, please use version 4 as > that fixes the PMD (CPU L1/L2) error report and clearing. Ah, I have a v4 too in my mbox. cool. Please ping me when the atomic scrub lands in some maintainers tree so

Re: [PATCH v3 3/4] edac: Add APM X-Gene SoC EDAC driver

2014-06-18 Thread Loc Ho
Hi, >> This patch adds support for the APM X-Gene SoC EDAC driver and >> requires ARM64 EDAC support patch [1] to compile. >> >> [1] http://www.spinics.net/lists/arm-kernel/msg324093.html >> >> Signed-off-by: Feng Kan >> Signed-off-by: Loc Ho > > This is starting to look ok, I'd guess it needs t

Re: [RFC PATCH 1/4] memory: tegra124-emc: Add EMC driver

2014-06-18 Thread Stéphane Marchesin
On Wed, Jun 18, 2014 at 3:00 PM, Thierry Reding wrote: > On Wed, Jun 18, 2014 at 07:23:47PM +0200, Tomeu Vizoso wrote: >> On 06/17/2014 06:15 PM, Stephen Warren wrote: >> >On 06/17/2014 06:16 AM, Tomeu Vizoso wrote: >> >>On 06/16/2014 10:02 PM, Stephen Warren wrote: >> >>>On 06/16/2014 07:35 AM, T

Re: [PATCH v3 3/4] edac: Add APM X-Gene SoC EDAC driver

2014-06-18 Thread Dann Frazier
On Wed, Jun 18, 2014 at 4:10 PM, Borislav Petkov wrote: > On Mon, Jun 02, 2014 at 08:14:19PM -0600, Loc Ho wrote: >> This patch adds support for the APM X-Gene SoC EDAC driver and >> requires ARM64 EDAC support patch [1] to compile. >> >> [1] http://www.spinics.net/lists/arm-kernel/msg324093.html

Re: [PATCH v3 3/4] edac: Add APM X-Gene SoC EDAC driver

2014-06-18 Thread Loc Ho
Hi, >> This patch adds support for the APM X-Gene SoC EDAC driver and >> requires ARM64 EDAC support patch [1] to compile. >> >> [1] http://www.spinics.net/lists/arm-kernel/msg324093.html >> >> Signed-off-by: Feng Kan >> Signed-off-by: Loc Ho > > This is starting to look ok, I'd guess it needs t

Re: [PATCH v3 3/4] edac: Add APM X-Gene SoC EDAC driver

2014-06-18 Thread Borislav Petkov
On Mon, Jun 02, 2014 at 08:14:19PM -0600, Loc Ho wrote: > This patch adds support for the APM X-Gene SoC EDAC driver and > requires ARM64 EDAC support patch [1] to compile. > > [1] http://www.spinics.net/lists/arm-kernel/msg324093.html > > Signed-off-by: Feng Kan > Signed-off-by: Loc Ho This i

Re: [RFC PATCH 1/4] memory: tegra124-emc: Add EMC driver

2014-06-18 Thread Stephen Warren
On 06/18/2014 04:03 PM, Thierry Reding wrote: > On Wed, Jun 18, 2014 at 11:46:49AM -0600, Stephen Warren wrote: >> On 06/18/2014 11:23 AM, Tomeu Vizoso wrote: >>> On 06/17/2014 06:15 PM, Stephen Warren wrote: On 06/17/2014 06:16 AM, Tomeu Vizoso wrote: > On 06/16/2014 10:02 PM, Stephen War

Re: [RFC PATCH 1/4] memory: tegra124-emc: Add EMC driver

2014-06-18 Thread Thierry Reding
On Wed, Jun 18, 2014 at 11:46:49AM -0600, Stephen Warren wrote: > On 06/18/2014 11:23 AM, Tomeu Vizoso wrote: > > On 06/17/2014 06:15 PM, Stephen Warren wrote: > >> On 06/17/2014 06:16 AM, Tomeu Vizoso wrote: > >>> On 06/16/2014 10:02 PM, Stephen Warren wrote: > On 06/16/2014 07:35 AM, Tomeu V

Re: [RFC PATCH 1/4] memory: tegra124-emc: Add EMC driver

2014-06-18 Thread Thierry Reding
On Wed, Jun 18, 2014 at 07:23:47PM +0200, Tomeu Vizoso wrote: > On 06/17/2014 06:15 PM, Stephen Warren wrote: > >On 06/17/2014 06:16 AM, Tomeu Vizoso wrote: > >>On 06/16/2014 10:02 PM, Stephen Warren wrote: > >>>On 06/16/2014 07:35 AM, Tomeu Vizoso wrote: > +#ifdef CONFIG_TEGRA124_EMC > +in

Re: [PATCH v2 1/2] arm: dts: am4372: let boards enable RTC and Watchdog

2014-06-18 Thread Nishanth Menon
On 06/18/2014 04:51 PM, Felipe Balbi wrote: Hi, On Wed, Jun 18, 2014 at 04:43:28PM -0500, Nishanth Menon wrote: On 06/18/2014 02:25 PM, Felipe Balbi wrote: Hi, On Wed, Jun 18, 2014 at 10:55:35AM -0500, Nishanth Menon wrote: $subject - ARM: dts: On 06/18/2014 10:43 AM, Felipe Balbi wrote: b

Re: [PATCH v2 2/2] arm: dts: add support for AM437x StarterKit

2014-06-18 Thread Nishanth Menon
On 06/18/2014 02:31 PM, Felipe Balbi wrote: On Wed, Jun 18, 2014 at 11:14:21AM -0500, Nishanth Menon wrote: On 06/18/2014 10:43 AM, Felipe Balbi wrote: Add support for TI's AM437x StarterKit Evaluation Module. is there a link for this platform? internal only but will eventually be sold ex

Re: [PATCH v2 1/2] arm: dts: am4372: let boards enable RTC and Watchdog

2014-06-18 Thread Felipe Balbi
Hi, On Wed, Jun 18, 2014 at 04:43:28PM -0500, Nishanth Menon wrote: > On 06/18/2014 02:25 PM, Felipe Balbi wrote: > >Hi, > > > >On Wed, Jun 18, 2014 at 10:55:35AM -0500, Nishanth Menon wrote: > >>$subject - ARM: dts: > >> > >>On 06/18/2014 10:43 AM, Felipe Balbi wrote: > >>>by providing phandles t

Re: [PATCH v2 1/2] arm: dts: am4372: let boards enable RTC and Watchdog

2014-06-18 Thread Nishanth Menon
On 06/18/2014 02:25 PM, Felipe Balbi wrote: Hi, On Wed, Jun 18, 2014 at 10:55:35AM -0500, Nishanth Menon wrote: $subject - ARM: dts: On 06/18/2014 10:43 AM, Felipe Balbi wrote: by providing phandles to rtc and wdt nodes, we can let boards enable rtc and wdt as necessary. Signed-off-by: Felip

Re: [PATCH v4 5/6] drivers: cpuidle: CPU idle ARM64 driver

2014-06-18 Thread Daniel Lezcano
On 06/11/2014 06:18 PM, Lorenzo Pieralisi wrote: This patch implements a generic CPU idle driver for ARM64 machines. It relies on the DT idle states infrastructure to initialize idle states count and respective parameters. Current code assumes the driver is managing idle states on all possible C

Re: [PATCH v11 2/8] ASoC: core: Generic ac97 link reset functions

2014-06-18 Thread Markus Pargmann
Hi Silvio, On Wed, Jun 18, 2014 at 08:42:34PM +0200, S. Fricke wrote: > > Hi Markus, > > I'm fighting with your ac97 pinctrl configuration per dts. > > > [...] > > +ssi { > > + ... > > + > > + pinctrl-names = "default", "ac97-running", "ac97-reset", > > "ac97-warm-reset"; > > + pinctrl-

Re: [PATCH v4 1/6] Documentation: arm: define DT idle states bindings

2014-06-18 Thread Nicolas Pitre
On Wed, 18 Jun 2014, Santosh Shilimkar wrote: > On Wednesday 18 June 2014 04:51 PM, Nicolas Pitre wrote: > > On Wed, 18 Jun 2014, Santosh Shilimkar wrote: > > > >> On Wednesday 18 June 2014 01:36 PM, Lorenzo Pieralisi wrote: > >> [..] > >>> + To correctly specify idle states timing and energy rel

Re: [PATCH v4 1/6] Documentation: arm: define DT idle states bindings

2014-06-18 Thread Nicolas Pitre
On Wed, 18 Jun 2014, Lorenzo Pieralisi wrote: > On Fri, Jun 13, 2014 at 06:33:35PM +0100, Nicolas Pitre wrote: > > On Fri, 13 Jun 2014, Lorenzo Pieralisi wrote: > > > > > On Wed, Jun 11, 2014 at 07:15:16PM +0100, Nicolas Pitre wrote: > > > > Let's illustrate the different periods on a time line t

Re: [PATCH v4 1/6] Documentation: arm: define DT idle states bindings

2014-06-18 Thread Santosh Shilimkar
On Wednesday 18 June 2014 04:51 PM, Nicolas Pitre wrote: > On Wed, 18 Jun 2014, Santosh Shilimkar wrote: > >> On Wednesday 18 June 2014 01:36 PM, Lorenzo Pieralisi wrote: >> [..] >>> + To correctly specify idle states timing and energy related properties, >>> + the following definitions identi

[PATCH 3/4] arm/versatile: Add the uart as the stdout device.

2014-06-18 Thread Grant Likely
Add a stdout-path property to the Versatile devicetree so that automatic console selection works without needing a console= line on the kernel command line. Signed-off-by: Grant Likely --- arch/arm/boot/dts/versatile-ab.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dt

[PATCH 1/4] of: Create of_console_check() for selecting a console specified in /chosen

2014-06-18 Thread Grant Likely
The devicetree has a binding for specifying the console device in the /chosen node, but the kernel doesn't use it consistently. This change adds an API for testing if a device node is a console, and adds a preferred console entry if it is. At the same time this patch removes the of_device_is_stdou

[PATCH 4/4] tty: Update hypervisor tty drivers to use core stdout parsing code.

2014-06-18 Thread Grant Likely
The evh_bytechan, hvc_opal and hvc_vio drivers all open code the parsing of the stdout node in the device tree. This patch simplifies the driver by removing the duplicated functionality. Signed-off-by: Grant Likely --- drivers/of/base.c | 5 - drivers/tty/ehv_bytechan.c | 43 --

[PATCH 2/4] of: Enable console on serial ports specified by /chosen/stdout-path

2014-06-18 Thread Grant Likely
If the devicetree specifies a serial port as a stdout device, then the kernel can use it as the default console if nothing else was selected on the command line. For any serial port that uses the uart_add_one_port() feature, the uart_add_one_port() has all the information needed to automatically en

[PATCH 0/4] of Automatic console registration cleanups

2014-06-18 Thread Grant Likely
I posted this series a 1.5 months ago as an RFC. I'm going to put it in my tree for merging in v3.17. This series cleans up the selection of default console devices when using the device tree. The device tree defines a way of specifying the console by using a "stdout-path" property in the /chosen

Re: [PATCH] omap3-n900.dts: Rename model name to "Nokia RX-51 board"

2014-06-18 Thread Aaro Koskinen
Hi, On Wed, Jun 18, 2014 at 10:23:03PM +0200, Pali Rohár wrote: > On Wednesday 18 June 2014 22:12:41 Aaro Koskinen wrote: > > On Wed, Jun 18, 2014 at 06:57:15PM +0200, Pali Rohár wrote: > > > Use same name as in legacy board code. There are lot of > > > userspace applications which using machine/m

Re: [PATCH v4 1/6] Documentation: arm: define DT idle states bindings

2014-06-18 Thread Nicolas Pitre
On Wed, 18 Jun 2014, Santosh Shilimkar wrote: > On Wednesday 18 June 2014 01:36 PM, Lorenzo Pieralisi wrote: > [..] > > + To correctly specify idle states timing and energy related properties, > > + the following definitions identify the different execution phases > > + a CPU goes through to

Re: [PATCH v2 4/4] brcmfmac: Fix OOB interrupt not working for BCM43362

2014-06-18 Thread Arend van Spriel
On 16-06-14 19:56, Hans de Goede wrote: It has taken me a long long time to get the OOB interrupt working on the AP6210 sdio wifi/bt module found on various Allwinner A20 boards. In the end I found these magic register pokes in the cubietruck kernel tree: https://github.com/cubieboard2/linux-sunx

Re: [PATCH] omap3-n900.dts: Rename model name to "Nokia RX-51 board"

2014-06-18 Thread Pali Rohár
On Wednesday 18 June 2014 22:12:41 Aaro Koskinen wrote: > On Wed, Jun 18, 2014 at 06:57:15PM +0200, Pali Rohár wrote: > > Use same name as in legacy board code. There are lot of > > userspace applications which using machine/model name for > > determinating device type. > > Can you clarify this? N

Re: [PATCH] omap3-n900.dts: Rename model name to "Nokia RX-51 board"

2014-06-18 Thread Aaro Koskinen
On Wed, Jun 18, 2014 at 06:57:15PM +0200, Pali Rohár wrote: > Use same name as in legacy board code. There are lot of userspace > applications which using machine/model name for determinating device type. Can you clarify this? Nokia kernel or userspace never had DT, so they cannot see e.g. /proc/d

OF_DYNAMIC node lifecycle

2014-06-18 Thread Grant Likely
Hi Nathan and Tyrel, I'm looking into lifecycle issues on nodes modified by OF_DYNAMIC, and I'm hoping you can help me. Right now, pseries seems to be the only user of OF_DYNAMIC, but making OF_DYNAMIC work has a huge impact on the entire kernel because it requires all DT code to manage reference

Re: [PATCH v2 2/2] arm: dts: add support for AM437x StarterKit

2014-06-18 Thread Felipe Balbi
On Wed, Jun 18, 2014 at 11:14:21AM -0500, Nishanth Menon wrote: > On 06/18/2014 10:43 AM, Felipe Balbi wrote: > > Add support for TI's AM437x StarterKit Evaluation > > Module. > > is there a link for this platform? internal only > > Cc: Josh Elliot > > Cc: Darren Etheridge > > Signed-off-by: F

Re: [PATCH v4 1/6] Documentation: arm: define DT idle states bindings

2014-06-18 Thread Santosh Shilimkar
On Wednesday 18 June 2014 01:36 PM, Lorenzo Pieralisi wrote: > On Fri, Jun 13, 2014 at 06:33:35PM +0100, Nicolas Pitre wrote: [..] > Ok, a minor tweak to the diagram above, min-residency should include > energy costs related to idle entry and exit, but not the exit-latency > itself, as long as the

Re: [PATCH v2 1/2] arm: dts: am4372: let boards enable RTC and Watchdog

2014-06-18 Thread Felipe Balbi
Hi, On Wed, Jun 18, 2014 at 10:55:35AM -0500, Nishanth Menon wrote: > $subject - ARM: dts: > > On 06/18/2014 10:43 AM, Felipe Balbi wrote: > > by providing phandles to rtc and wdt nodes, we can > > let boards enable rtc and wdt as necessary. > > > > Signed-off-by: Felipe Balbi > > --- > > arch

Re: [PATCH v3 1/3] soc: devicetree: bindings: Add Qualcomm RPM DT binding

2014-06-18 Thread Stephen Boyd
On 06/18/14 01:34, Srinivas Kandagatla wrote: > > > On 18/06/14 00:59, Stephen Boyd wrote: >> On 06/16/14 11:46, Bjorn Andersson wrote: >>> diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,rpm.txt >>> b/Documentation/devicetree/bindings/soc/qcom/qcom,rpm.txt >>> new file mode 100644 >>>

Re: [PATCH v11 2/8] ASoC: core: Generic ac97 link reset functions

2014-06-18 Thread S. Fricke
Hi Markus, I'm fighting with your ac97 pinctrl configuration per dts. > [...] > +ssi { > + ... > + > + pinctrl-names = "default", "ac97-running", "ac97-reset", > "ac97-warm-reset"; > + pinctrl-0 = <&ac97link_running>; > + pinctrl-1 = <&ac97link_running>; > + pinctrl-2 = <&a

Re: [PATCH v4 1/6] Documentation: arm: define DT idle states bindings

2014-06-18 Thread Sebastian Capella
On Wed, Jun 18, 2014 at 10:36 AM, Lorenzo Pieralisi wrote: > On Fri, Jun 13, 2014 at 06:33:35PM +0100, Nicolas Pitre wrote: >> On Fri, 13 Jun 2014, Lorenzo Pieralisi wrote: >> >> > On Wed, Jun 11, 2014 at 07:15:16PM +0100, Nicolas Pitre wrote: >> > > >> > > ...__[EXEC]__|__[PREP]--|__[ENTRY]__|__[

Re: [RFC PATCH 1/4] memory: tegra124-emc: Add EMC driver

2014-06-18 Thread Stephen Warren
On 06/18/2014 11:23 AM, Tomeu Vizoso wrote: > On 06/17/2014 06:15 PM, Stephen Warren wrote: >> On 06/17/2014 06:16 AM, Tomeu Vizoso wrote: >>> On 06/16/2014 10:02 PM, Stephen Warren wrote: On 06/16/2014 07:35 AM, Tomeu Vizoso wrote: > +#ifdef CONFIG_TEGRA124_EMC > +int tegra124_emc_res

Re: [PATCH v4 1/6] Documentation: arm: define DT idle states bindings

2014-06-18 Thread Lorenzo Pieralisi
On Fri, Jun 13, 2014 at 06:33:35PM +0100, Nicolas Pitre wrote: > On Fri, 13 Jun 2014, Lorenzo Pieralisi wrote: > > > On Wed, Jun 11, 2014 at 07:15:16PM +0100, Nicolas Pitre wrote: > > > Let's illustrate the different periods on a time line to make it clearer > > > (hmmm let's see how this can be m

Re: [RFC PATCH 1/4] memory: tegra124-emc: Add EMC driver

2014-06-18 Thread Tomeu Vizoso
On 06/17/2014 06:15 PM, Stephen Warren wrote: On 06/17/2014 06:16 AM, Tomeu Vizoso wrote: On 06/16/2014 10:02 PM, Stephen Warren wrote: On 06/16/2014 07:35 AM, Tomeu Vizoso wrote: +#ifdef CONFIG_TEGRA124_EMC +int tegra124_emc_reserve_bandwidth(unsigned int consumer, unsigned long rate); +void

Re: [PATCHv7 2/5] mailbox: Introduce framework for mailbox

2014-06-18 Thread Kevin Hilman
Jassi Brar writes: > On 18 June 2014 05:57, Kevin Hilman wrote: >> Jassi Brar writes: >> >>> Introduce common framework for client/protocol drivers and >>> controller drivers of Inter-Processor-Communication (IPC). >>> >>> Client driver developers should have a look at >>> include/linux/mailbo

[PATCH] omap3-n900.dts: Rename model name to "Nokia RX-51 board"

2014-06-18 Thread Pali Rohár
Use same name as in legacy board code. There are lot of userspace applications which using machine/model name for determinating device type. And changing this name will break all of them. Due to small features support in DT code only non DT kernel was used for Nokia N900 until now. Signed-off-by:

Re: [PATCH v3 0/3] Qualcomm Resource Power Manager driver

2014-06-18 Thread Lee Jones
On Wed, 18 Jun 2014, Kumar Gala wrote: > > On Jun 18, 2014, at 10:53 AM, Kevin Hilman wrote: > > > Bjorn Andersson writes: > > > >> On Tue, Jun 17, 2014 at 10:07 AM, Kevin Hilman wrote: > >>> +Paul Walmsley > >>> > >>> Bjorn Andersson writes: > >>> > This series adds a regulator driv

Re: [PATCH v3 0/3] Qualcomm Resource Power Manager driver

2014-06-18 Thread Kevin Hilman
Kumar Gala writes: > On Jun 18, 2014, at 10:53 AM, Kevin Hilman wrote: > >> Bjorn Andersson writes: >> >>> On Tue, Jun 17, 2014 at 10:07 AM, Kevin Hilman wrote: +Paul Walmsley Bjorn Andersson writes: > This series adds a regulator driver for the Resource Power Manag

[PATCH V2 2/2] doc: dt bindings: Document Odroid X2/U3 audio subsystem bindings

2014-06-18 Thread Sylwester Nawrocki
Signed-off-by: Sylwester Nawrocki --- .../bindings/sound/samsung,odroidx2-max98090.txt | 35 1 file changed, 35 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/samsung,odroidx2-max98090.txt diff --git a/Documentation/devicetree/bindings/sound/

[PATCH V2 1/2] ASoC: samsung: Add machine driver for Odroid X2/U3

2014-06-18 Thread Sylwester Nawrocki
This patch adds the sound subsystem driver for Odroid-X2 and Odroid-U3 boards. The codec works in I2S master mode; there are 2 separate audio routing paths defined as there are differences in the signal routing between the X2 and U3 boards, i.e. U3 uses single jack for headphones and microphone. S

[PATCH V2 0/2] Sound support for Exynos4412 Odroid X2, U3 board

2014-06-18 Thread Sylwester Nawrocki
This series adds basic sound support for the Odroid X2/U3 boards. It relies on specific Exynos Audio Subsystem clock parent and frequencies being pre-configured. My full testing git branch has been pushed to: git://linuxtv.org/snawrocki/samsung.git v3.16-rc1-odroid-sound-clk It can be browsed at:

Re: [PATCH 0/4] Add support for Exynos clock output configuration

2014-06-18 Thread Daniel Drake
Hi Tomasz, On Tue, May 20, 2014 at 5:43 PM, Tomasz Figa wrote: > Since the block responsible for handling the pin is PMU, not CMU, > a separate driver, that binds to PMU node is required and acquires > all input clocks by standard DT clock look-up. This way we don't need > any cross-IP block driv

Re: [PATCH v2 2/2] arm: dts: add support for AM437x StarterKit

2014-06-18 Thread Nishanth Menon
On 06/18/2014 10:43 AM, Felipe Balbi wrote: > Add support for TI's AM437x StarterKit Evaluation > Module. is there a link for this platform? > > Cc: Josh Elliot > Cc: Darren Etheridge > Signed-off-by: Felipe Balbi > --- > .../devicetree/bindings/arm/omap/omap.txt | 3 + > arch/arm/

Re: [PATCH v3 0/3] Qualcomm Resource Power Manager driver

2014-06-18 Thread Kumar Gala
On Jun 18, 2014, at 10:53 AM, Kevin Hilman wrote: > Bjorn Andersson writes: > >> On Tue, Jun 17, 2014 at 10:07 AM, Kevin Hilman wrote: >>> +Paul Walmsley >>> >>> Bjorn Andersson writes: >>> This series adds a regulator driver for the Resource Power Manager found in Qualcomm 8660,

Re: [PATCH v2 1/2] arm: dts: am4372: let boards enable RTC and Watchdog

2014-06-18 Thread Nishanth Menon
$subject - ARM: dts: On 06/18/2014 10:43 AM, Felipe Balbi wrote: > by providing phandles to rtc and wdt nodes, we can > let boards enable rtc and wdt as necessary. > > Signed-off-by: Felipe Balbi > --- > arch/arm/boot/dts/am4372.dtsi | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) >

Re: [PATCH v3 0/3] Qualcomm Resource Power Manager driver

2014-06-18 Thread Kevin Hilman
Bjorn Andersson writes: > On Tue, Jun 17, 2014 at 10:07 AM, Kevin Hilman wrote: >> +Paul Walmsley >> >> Bjorn Andersson writes: >> >>> This series adds a regulator driver for the Resource Power Manager found in >>> Qualcomm 8660, 8960 and 8064 based devices. >>> >>> The RPM driver exposes resou

[PATCH v2 0/2] arm: dts: add support for am437x sk

2014-06-18 Thread Felipe Balbi
Hi, here's v2 of am437x sk support. Patches tested on top of next-20140617. Note that this series was tested with the following extra patches: http://marc.info/?l=linux-omap&m=140299431732700&w=2 http://marc.info/?l=linux-omap&m=140300146503126&w=2 http://marc.info/?l=linux-omap&m=14029923123212

[PATCH v2 2/2] arm: dts: add support for AM437x StarterKit

2014-06-18 Thread Felipe Balbi
Add support for TI's AM437x StarterKit Evaluation Module. Cc: Josh Elliot Cc: Darren Etheridge Signed-off-by: Felipe Balbi --- .../devicetree/bindings/arm/omap/omap.txt | 3 + arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/am437x-sk-evm.dts

[PATCH v2 1/2] arm: dts: am4372: let boards enable RTC and Watchdog

2014-06-18 Thread Felipe Balbi
by providing phandles to rtc and wdt nodes, we can let boards enable rtc and wdt as necessary. Signed-off-by: Felipe Balbi --- arch/arm/boot/dts/am4372.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/am4372.dtsi b/arch/arm/boot/dts/am4372.dtsi index

Re: [PATCH v2 1/2] gpio: Add driver for Zynq GPIO controller

2014-06-18 Thread Sören Brinkmann
Hi Linus, I did some of the changes for this v2 and a few things are not clear to me. The first is, how is userspace supposed to find the correct offset for a GPIO pin. E.g. let's say GPIO 10 of this SOC-internal GPIO controller is something I want to control. So, I'd export GPIO (chip-base + 10)

[PATCH/RFC V8 1/1] clk: Support for clock parents and rates assigned from device tree

2014-06-18 Thread Sylwester Nawrocki
This patch adds helper functions to configure clock parents and rates as specified through 'assigned-clock-parents', 'assigned-clock-rates' DT properties for a clock provider or clock consumer device. The helpers are now being called by the bus code for the platform, I2C and SPI busses, before the

[PATCH/RFC V8 0/1] clk: Default clock parents and rates assigned from DT

2014-06-18 Thread Sylwester Nawrocki
This patch adds DT binding documentation for a set of properties allowing to specify default parent clocks and clock rates in the device tree. It also adds a helper function to parse the 'assigned-clocks', 'assigned-clock-parents' and 'assigned-clock-rates' DT properties and to set the specified c

[PATCH v2 7/7] pwm: st: Supply Device Tree binding documentation for ST's PWM IP

2014-06-18 Thread Lee Jones
pwm: st: Supply Device Tree binding documentation for ST's PWM IP Signed-off-by: Lee Jones diff --git a/Documentation/devicetree/bindings/pwm/pwm-st.txt b/Documentation/devicetree/bindings/pwm/pwm-st.txt new file mode 100644 index 000..84d2fb8 --- /dev/null +++ b/Documentation/devicetre

[PATCH v2 3/7] ARM: stih416: Add DT nodes for PWM

2014-06-18 Thread Lee Jones
ARM: stih416: Add DT nodes for PWM Supply top level nodes for the STiH416 based development boards. The Pinctrl configuration has already been applied, so the only missing piece of the DT puzzle is for a board's DTB to enable the nodes. Signed-off-by: Lee Jones diff --git a/arch/arm/boot/dts/st

[PATCH v2 1/7] ARM: stih407: Add DT nodes for for PWM

2014-06-18 Thread Lee Jones
ARM: stih407: Add DT nodes for for PWM Supply top level nodes for the STiH407 based development boards. The Pinctrl configuration has already been applied, so the only missing piece of the DT puzzle is for a board's DTB to enable the nodes. Signed-off-by: Lee Jones diff --git a/arch/arm/boot/dt

Re: [PATCH 3/7] ARM: stih416: Add DT nodes for PWM

2014-06-18 Thread Lee Jones
On Wed, 18 Jun 2014, Gabriel Fernandez wrote: > Hi Lee, > minor remark below.. > > On 18 June 2014 16:52, Lee Jones wrote: > > Supply top level nodes for the STiH416 based development boards. > > The Pinctrl configuration has already been applied, so the only > > missing piece of the DT puzzle i

Re: [PATCH 1/7] ARM: stih407: Add DT nodes for for PWM

2014-06-18 Thread Lee Jones
On Wed, 18 Jun 2014, Gabriel Fernandez wrote: > Hi Lee, > minor remark below.. > > On 18 June 2014 16:52, Lee Jones wrote: > > Supply top level nodes for the STiH407 based development boards. > > The Pinctrl configuration has already been applied, so the only > > missing piece of the DT puzzle i

Re: [PATCH 7/7] pwm: st: Supply Device Tree binding documentation for ST's PWM IP

2014-06-18 Thread Lee Jones
On Wed, 18 Jun 2014, Gabriel Fernandez wrote: > Hi Lee, > minor remark below.. > > On 18 June 2014 16:52, Lee Jones wrote: > > Signed-off-by: Lee Jones > > --- > > Documentation/devicetree/bindings/pwm/pwm-st.txt | 41 > > > > 1 file changed, 41 insertions(+) > > cre

Re: [PATCH 4/4] ARM: dts: imx6qdl: Enable CODA960 VPU

2014-06-18 Thread Shawn Guo
On Fri, Jun 13, 2014 at 07:14:01PM +0200, Philipp Zabel wrote: > This patch adds links to the on-chip SRAM and reset controller nodes > and switches the interrupts. Make the BIT processor interrupt, which exists on > all variants, the first one. The JPEG unit interrupt, which does not exist on > i.

Re: [PATCH 3/7] ARM: stih416: Add DT nodes for PWM

2014-06-18 Thread Gabriel Fernandez
Hi Lee, minor remark below.. On 18 June 2014 16:52, Lee Jones wrote: > Supply top level nodes for the STiH416 based development boards. > The Pinctrl configuration has already been applied, so the only > missing piece of the DT puzzle is for a board's DTB to enable > the nodes. > > Signed-off-by:

Re: [PATCH 7/7] pwm: st: Supply Device Tree binding documentation for ST's PWM IP

2014-06-18 Thread Gabriel Fernandez
Hi Lee, minor remark below.. On 18 June 2014 16:52, Lee Jones wrote: > Signed-off-by: Lee Jones > --- > Documentation/devicetree/bindings/pwm/pwm-st.txt | 41 > > 1 file changed, 41 insertions(+) > create mode 100644 Documentation/devicetree/bindings/pwm/pwm-st.txt >

Re: [PATCH 1/7] ARM: stih407: Add DT nodes for for PWM

2014-06-18 Thread Gabriel Fernandez
Hi Lee, minor remark below.. On 18 June 2014 16:52, Lee Jones wrote: > Supply top level nodes for the STiH407 based development boards. > The Pinctrl configuration has already been applied, so the only > missing piece of the DT puzzle is for a board's DTB to enable > the nodes. > > Signed-off-by:

  1   2   3   >