Re: [alsa-devel] [PATCH 2/5] ASoC: fsl: add imx-tlv320aic3x machine driver

2014-09-10 Thread Markus Pargmann
On Wed, Sep 10, 2014 at 11:14:15AM -0700, Nicolin Chen wrote: > On Wed, Sep 10, 2014 at 7:27 AM, Markus Pargmann wrote: > > Hi, > > > > On Wed, Sep 10, 2014 at 04:46:46PM +0300, Dmitry Lavnikevich wrote: > >> This is driver for i.MX6 boards with tlv320aic3x audio codecs. > >> > >> Signed-off-by: D

Re: [PATCH v2 1/2] ARM: dts: dra7: Add CPSW and MDIO module nodes for dra7

2014-09-10 Thread Mugunthan V N
On Wednesday 10 September 2014 07:20 PM, Nishanth Menon wrote: > On 09/10/2014 08:37 AM, Mugunthan V N wrote: >> Add CPSW and MDIO related device tree data for DRA7XX and made as status >> disabled. Phy-id, pinmux for active and sleep state needs to be added in >> board dts files and enable the CPS

Re: [PATCH v2 1/2] ARM: dts: dra7: Add CPSW and MDIO module nodes for dra7

2014-09-10 Thread Mugunthan V N
On Thursday 11 September 2014 07:08 AM, Lennart Sorensen wrote: > On Wed, Sep 10, 2014 at 07:07:26PM +0530, Mugunthan V N wrote: >> Add CPSW and MDIO related device tree data for DRA7XX and made as status >> disabled. Phy-id, pinmux for active and sleep state needs to be added in >> board dts files

Re: [PATCH v2 0/2] Add DRA7xx CPSW Ethernet support in Device Tree

2014-09-10 Thread Mugunthan V N
On Wednesday 10 September 2014 07:31 PM, Nishanth Menon wrote: > On 09/10/2014 08:37 AM, Mugunthan V N wrote: >> Adding device tree entry for CPSW to make it work in Dual EMAC mode. >> These patches were tested with DRA7 hwmod patches on top of linux-next. >> Patches are tested on top of Nishanth's

Re: [PATCH RFC 2/3] ARM: regulator: add Freescale MXS regulator driver

2014-09-10 Thread Stefan Wahren
Hi Fabio, Am 10.09.2014 20:54, schrieb Fabio Estevam: Hi Stefan, On Wed, Sep 10, 2014 at 2:32 PM, Stefan Wahren wrote: Hi Mark, Am 10.09.2014 17:13, schrieb Mark Brown: On Wed, Sep 10, 2014 at 03:18:53PM +0100, Mark Rutland wrote: On Tue, Sep 09, 2014 at 08:17:17PM +0100, Stefan Wahren w

Re: [PATCH v3 1/2] dma: at_xdmac: creation of the atmel eXtended DMA Controller driver

2014-09-10 Thread Ludovic Desroches
On Thu, Sep 11, 2014 at 10:44:52AM +0530, Vinod Koul wrote: > On Wed, Sep 10, 2014 at 03:23:53PM +0200, Ludovic Desroches wrote: > > Hi, > > > > Sorry for the delay. I am about to send a new version but I have still > > have some questions. > > > > On Mon, Jul 28, 2014 at 10:17:50PM +0530, Vinod

Re: [PATCH v2 2/2] ARM: dts: dra7-evm: Enable CPSW and MDIO for dra7xx EVM

2014-09-10 Thread Mugunthan V N
On Wednesday 10 September 2014 07:26 PM, Nishanth Menon wrote: > On 09/10/2014 08:37 AM, Mugunthan V N wrote: >> Adding CPSW phy-id, CPSW and MDIO pinmux configuration for active and >> sleep states and enable them in board evm dts file. >> >> Signed-off-by: Mugunthan V N >> --- >> arch/arm/boot/

Re: [PATCH v3 1/2] dma: at_xdmac: creation of the atmel eXtended DMA Controller driver

2014-09-10 Thread Vinod Koul
On Wed, Sep 10, 2014 at 03:23:53PM +0200, Ludovic Desroches wrote: > Hi, > > Sorry for the delay. I am about to send a new version but I have still > have some questions. > > On Mon, Jul 28, 2014 at 10:17:50PM +0530, Vinod Koul wrote: > > On Mon, Jul 28, 2014 at 05:54:31PM +0200, Ludovic Desroche

Re: [PATCH v2.2 2/2] dt-bindings: Adding compatible attribute for SKY81452 regulator

2014-09-10 Thread Gyungoh Yoo
On Sat, Sep 06, 2014 at 03:38:28PM +0100, Mark Brown wrote: > On Fri, Sep 05, 2014 at 10:55:07AM +0900, Gyungoh Yoo wrote: > > On Mon, Sep 01, 2014 at 11:31:58AM +0100, Mark Brown wrote: > > > > Why is this a good idea - can this driver be used for anything other > > > than a sky81452? > > > Yes.

[PATCH] ARM: dts: Switch i2c0 to 400kHz on rk3288-evb-rk808

2014-09-10 Thread Doug Anderson
We should be able to talk to the PMIC at 400kHz. No need to talk at the slow 100kHz. As measured by ftrace (with a bunch of extra patches, since cpufreq for rk808 hasn't landed yet): before this change: cpu0_set_target() => ~500us after this change: cpu0_set_target() => ~300us Signed-off-by

[PATCH V3 2/3] ARM: dts: imx6: make gpt per clock can be from OSC

2014-09-10 Thread Anson Huang
Original gpt per clk parent is from ipg_per clk which may be scaled when system enter low bus mode, as ipg clk will be lower in low bus mode, to keep system clk NOT drift, select gpt per clk parent from OSC which is at fixed freq always. On i.mx6qdl, add a osc_per clk source for i.mx6q TO > 1.0 an

[PATCH V3 1/3] ARM: imx: add gpt_3m clk for i.mx6qdl

2014-09-10 Thread Anson Huang
Add gpt_3m clock for i.mx6qdl, as gpt can source clock from OSC, some i.MX6 series SOCs has fixed divider of 8 for gpt clock, so here add a fix clk of gpt_3m. i.MX6Q TO1.0 has no gpt_3m option, so force it to be from ipg_per. Signed-off-by: Anson Huang --- change log from v2 -> v3: re-in

[PATCH V3 3/3] ARM: imx: source gpt per clk from OSC for system timer

2014-09-10 Thread Anson Huang
On i.MX6Q TO > 1.0, i.MX6DL and i.MX6SX, gpt per clock can be from OSC instead of ipg_per, as ipg_per's rate may be scaled when system enter low bus mode, to keep system timer NOT drift, better to make gpt per clock at fixed rate, here add support for gpt per clock to be from OSC which is at fixed

[PATCH V3 0/3] move gpt per clk parent from ipg_per to OSC

2014-09-10 Thread Anson Huang
Currently, gpt timer's clock is from ipg_per, and ipg_per clock is from ipg on most of i.MX6 series SOCs, but ipg's rate may be scaled when system enters low bus mode for saving power, then gpt timer's clock rate will be scaled as well, as system timer should be kept stable and NOT drift, better to

Re: [PATCH v4 2/4] dt-bindings: document Rockchip thermal

2014-09-10 Thread Zhang Rui
On Wed, 2014-09-10 at 09:24 +0200, Heiko Stübner wrote: > Am Dienstag, 9. September 2014, 21:14:18 schrieb edubez...@gmail.com: > > Hello, > > > > On Tue, Sep 9, 2014 at 9:02 PM, Zhang Rui wrote: > > > On Tue, 2014-09-09 at 11:09 -0400, Eduardo Valentin wrote: > > >> Hello > > >> > > >> On Tue,

[PATCH v6] spi: spi-imx: add DMA support

2014-09-10 Thread Robin Gong
Enable DMA support on i.mx6. The read speed can increase from 600KB/s to 1.2MB/s on i.mx6q. You can disable or enable dma function in dts. If not set "dma-names" in dts, spi will use PIO mode. This patch only validate on i.mx6, not i.mx5, but encourage ones to apply this patch on i.mx5 since they s

[PATCH 1/2] dmaengine: Add QCOM ADM DMA driver

2014-09-10 Thread Andy Gross
Add the DMA engine driver for the QCOM Application Data Mover (ADM) DMA controller found in the MSM8960 and IPQ/APQ8064 platforms. The ADM supports both memory to memory transactions and memory to/from peripheral device transactions. The controller also provides flow control capabilities for tran

[PATCH 2/2] dmaengine: qcom_adm: Add device tree binding

2014-09-10 Thread Andy Gross
Add device tree binding support for the QCOM ADM DMA driver. Signed-off-by: Andy Gross --- Documentation/devicetree/bindings/dma/qcom_adm.txt | 62 1 file changed, 62 insertions(+) create mode 100644 Documentation/devicetree/bindings/dma/qcom_adm.txt diff --git a/Documen

[RESEND PATCH 0/2] Add Qualcomm ADM dmaengine driver

2014-09-10 Thread Andy Gross
I am resending this patch set at the request of the maintainer. The original text is shown below. This patch set introduces the dmaengine driver for the Qualcomm Application Data Mover (ADM) DMA controller present on MSM8960, APQ8064, and IPQ8064 devices. The initial version of this driver will

Re: [PATCH v2 1/2] ARM: dts: dra7: Add CPSW and MDIO module nodes for dra7

2014-09-10 Thread Lennart Sorensen
On Wed, Sep 10, 2014 at 07:07:26PM +0530, Mugunthan V N wrote: > Add CPSW and MDIO related device tree data for DRA7XX and made as status > disabled. Phy-id, pinmux for active and sleep state needs to be added in > board dts files and enable the CPSW device. > > Signed-off-by: Mugunthan V N > ---

Re: [PATCH v4 08/12] Documentation: bindings: add doc for the USB2 ChipIdea USB driver

2014-09-10 Thread Peter Chen
On Wed, Sep 03, 2014 at 09:48:27AM +0200, Antoine Tenart wrote: > Document the USB2 ChipIdea driver (ci13xxx) bindings. > > Signed-off-by: Antoine Tenart > --- > .../devicetree/bindings/usb/ci-hdrc-usb2.txt | 22 > ++ > 1 file changed, 22 insertions(+) > create mode 1

Re: [PATCH v4 07/12] usb: chipidea: add a usb2 driver for ci13xxx

2014-09-10 Thread Peter Chen
On Wed, Sep 03, 2014 at 09:48:26AM +0200, Antoine Tenart wrote: > Add a USB2 ChipIdea driver for ci13xxx, with optional PHY, clock > and DMA mask, to support USB2 ChipIdea controllers that don't need > specific functions. > > Tested on the Marvell Berlin SoCs USB controllers. > > Signed-off-by: A

RE: [PATCH 1/4 v3] GPIO: gpio-dwapb: Enable platform driver binding to MFD driver

2014-09-10 Thread Chen, Alvin
> > > > Hi Alvin, > > > > I did a quick test and this looks like it works for me (with device tree). > > I had a couple of small fixes below. > It is very appreciated to help testing. > > > > Alan > > > > > > > > - port->bgc.gc.ngpio = ngpio; > > > - port->bgc.gc.of_node = port_np; > > > +#ifdef

RE: [PATCH 1/4 v3] GPIO: gpio-dwapb: Enable platform driver binding to MFD driver

2014-09-10 Thread Chen, Alvin
> > Hi Alvin, > > I did a quick test and this looks like it works for me (with device tree). > I had a couple of small fixes below. It is very appreciated to help testing. > Alan > > > > > - port->bgc.gc.ngpio = ngpio; > > - port->bgc.gc.of_node = port_np; > > +#ifdef CONFIG_OF_GPIO > > +

Re: [PATCH v10 1/3] RTC: RK808: add RTC driver for RK808

2014-09-10 Thread Doug Anderson
Andrew, On Wed, Sep 10, 2014 at 3:08 PM, Andrew Morton wrote: > On Wed, 10 Sep 2014 14:37:13 -0700 Doug Anderson > wrote: > >> Andrew, >> >> On Wed, Sep 10, 2014 at 1:44 PM, Andrew Morton >> wrote: >> > On Wed, 10 Sep 2014 09:18:04 +0800 Chris Zhong wrote: >> > >> >> Adding RTC driver for sup

[PATCH v7 2/4] arm64: dts: APM X-Gene PCIe device tree nodes

2014-09-10 Thread Tanmay Inamdar
This patch adds the device tree nodes for APM X-Gene PCIe host controller and PCIe clock interface. Since X-Gene SOC supports maximum 5 ports, 5 dts nodes are added. Signed-off-by: Tanmay Inamdar --- arch/arm64/boot/dts/apm-mustang.dts | 8 ++ arch/arm64/boot/dts/apm-storm.dtsi | 160

[PATCH v7 3/4] dt-bindings: pci: xgene pcie device tree bindings

2014-09-10 Thread Tanmay Inamdar
This patch adds the bindings for X-Gene PCIe driver. The driver resides under 'drivers/pci/host/pci-xgene.c' file. Signed-off-by: Tanmay Inamdar --- .../devicetree/bindings/pci/xgene-pci.txt | 55 ++ 1 file changed, 55 insertions(+) create mode 100644 Documentation/

[PATCH v7 4/4] MAINTAINERS: entry for APM X-Gene PCIe host driver

2014-09-10 Thread Tanmay Inamdar
Add entry for AppliedMicro X-Gene PCIe host driver. Signed-off-by: Tanmay Inamdar --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 5e7866a..cd9bb3da 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -6941,6 +6941,14 @@ L: linux-...@vge

[PATCH v7 1/4] pci:host: APM X-Gene PCIe host controller driver

2014-09-10 Thread Tanmay Inamdar
This patch adds the AppliedMicro X-Gene SOC PCIe host controller driver. X-Gene PCIe controller supports maximum up to 8 lanes and GEN3 speed. X-Gene SOC supports maximum 5 PCIe ports. Signed-off-by: Tanmay Inamdar --- drivers/pci/host/Kconfig | 10 + drivers/pci/host/Makefile| 1 + d

[PATCH v7 0/4] APM X-Gene PCIe host controller

2014-09-10 Thread Tanmay Inamdar
This patch adds support for AppliedMicro X-Gene PCIe host controller. The driver is tested on X-Gene platform with different gen1/2/3 PCIe endpoint cards. X-Gene PCIe controller driver has depedency on the pcie arm64 arch support. Liviu Dudau from ARM has sent a patch set for pcie arm64 arch suppo

Re: [PATCH 0/2] IO voltage domain support for rk3188 and rk3288

2014-09-10 Thread Kevin Hilman
Linus Walleij writes: > On Sat, Aug 30, 2014 at 1:27 PM, Heiko Stübner wrote: >> Am Freitag, 29. August 2014, 21:51:46 schrieb Doug Anderson: >>> On Thu, Aug 28, 2014 at 2:26 PM, Santosh Shilimkar >>> >>> wrote: >>> > On Thursday 28 August 2014 03:36 PM, Doug Anderson wrote: >>> >> These two pa

[PATCH v2] iio: adc: rockchip_saradc: add support for rk3066-tsadc variant

2014-09-10 Thread Heiko Stübner
Older Rockchip SoCs, at least the rk3066, used a slightly modified saradc for temperature measurements. This so called tsadc does not contain any active parts like temperature interrupts and only supports polling the current temperature. The returned voltage can then be converted by a suitable ther

Re: [PATCH v10 1/3] RTC: RK808: add RTC driver for RK808

2014-09-10 Thread Andrew Morton
On Wed, 10 Sep 2014 14:37:13 -0700 Doug Anderson wrote: > Andrew, > > On Wed, Sep 10, 2014 at 1:44 PM, Andrew Morton > wrote: > > On Wed, 10 Sep 2014 09:18:04 +0800 Chris Zhong wrote: > > > >> Adding RTC driver for supporting RTC device present inside RK808 PMIC. > >> > >> ... > >> > >> +

Re: [PATCH v10 1/3] RTC: RK808: add RTC driver for RK808

2014-09-10 Thread Doug Anderson
Andrew, On Wed, Sep 10, 2014 at 1:44 PM, Andrew Morton wrote: > On Wed, 10 Sep 2014 09:18:04 +0800 Chris Zhong wrote: > >> Adding RTC driver for supporting RTC device present inside RK808 PMIC. >> >> ... >> >> + ret = rtc_valid_tm(&tm); >> + if (ret) { >> + dev_warn(&pdev->de

[REPOST PATCHv3 1/2] mailbox/omap: adapt to the new mailbox framework

2014-09-10 Thread Suman Anna
The OMAP mailbox driver and its existing clients (remoteproc for OMAP4+) are adapted to use the generic mailbox framework. No changes are done to OMAP3 TI DSP/Bridge driver as it was deleted. The main changes for the adaptation are: - The tasklet used for Tx is replaced with the state machine fr

[REPOST PATCHv3 2/2] ARM: dts: OMAP2+: Add #mbox-cells property to all mailbox nodes

2014-09-10 Thread Suman Anna
The '#mbox-cells' property is added to all the OMAP mailbox nodes. This property is mandatory with the new mailbox framework. Cc: "Benoît Cousson" Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Cc: Ian Campbell Cc: Kumar Gala Signed-off-by: Suman Anna --- arch/arm/boot/dts/am33xx.dtsi |

[REPOST PATCHv3 0/2] OMAP Mailbox framework adaptation

2014-09-10 Thread Suman Anna
Hi, This is a repost of the Mailbox Framework adaptation support patches for the OMAP mailbox driver (last 2 patches out of 5) from the OMAP Mailbox framework adoption and DT support series [1]. The previous series is split into 3 different series to resolve merge and build dependencies. The patc

Re: [PATCH v2 1/2] ARM: tegra: apalis/colibri t30: integrate audio support

2014-09-10 Thread Stephen Warren
On 09/10/2014 02:54 PM, Marcel Ziswiler wrote: Integrate Freescale SGTL5000 analogue audio codec support. Signed-off-by: Marcel Ziswiler Reviewed-by: Stephen Warren No, definitely not; this patch has significant semantic changes since I reviewed it. diff --git a/arch/arm/boot/dts/tegra30

Re: [PATCH V2 2/2] Input: misc: introduce palmas-pwrbutton

2014-09-10 Thread Dmitry Torokhov
Hi Nishanth, On Thu, Aug 21, 2014 at 02:01:43PM -0500, Nishanth Menon wrote: > On 08/21/2014 01:03 PM, Dmitry Torokhov wrote: > > I believe I have taken care of other concerns on v2, but..Arrgh.. I > did not reply to this comment.. > > BTW, I do not think you need to use of_node_get/put here, it'

[PATCH v2 2/2] ARM: tegra: enable sgtl5000 audio

2014-09-10 Thread Marcel Ziswiler
The NVIDIA Tegra 3 based Apalis T30 and Colibri T30 modules contain a Freescale SGTL5000 analogue audio codec. Signed-off-by: Marcel Ziswiler Reviewed-by: Stephen Warren --- Changes in v2: - Using simple-audio-card as suggested by Fabio. arch/arm/configs/tegra_defconfig | 2 ++ 1 file changed

[PATCH v2 1/2] ARM: tegra: apalis/colibri t30: integrate audio support

2014-09-10 Thread Marcel Ziswiler
Integrate Freescale SGTL5000 analogue audio codec support. Signed-off-by: Marcel Ziswiler Reviewed-by: Stephen Warren --- Changes in v2: - Using simple-audio-card as suggested by Fabio. arch/arm/boot/dts/tegra30-apalis.dtsi | 65 ++ arch/arm/boot/dts/tegra30-co

[PATCH v2 0/2] ASoC/ARM: tegra: apalis/colibri t30: sgtl5000 audio

2014-09-10 Thread Marcel Ziswiler
This series adds/integrates Freescale SGTL5000 analogue audio codec support. Changes in v2: - Using simple-audio-card as suggested by Fabio. Marcel Ziswiler (2): ARM: tegra: apalis/colibri t30: integrate audio support ARM: tegra: enable sgtl5000 audio arch/arm/boot/dts/tegra30-apalis.dtsi

Re: [PATCH 1/3] ASoC: tegra: add tegra sgtl5000 machine driver

2014-09-10 Thread Marcel Ziswiler
On Wed, 2014-09-10 at 11:01 -0600, Stephen Warren wrote: > I don't think that will work; the Tegra audio complex requires some > clock management that doesn't immediately seem to fit into the > simple-audio-card concept. Could you elaborate on that one? At least for our use case it seems to work

Re: [PATCH 1/3] ASoC: tegra: add tegra sgtl5000 machine driver

2014-09-10 Thread Marcel Ziswiler
On Tue, 2014-09-09 at 15:00 -0300, Fabio Estevam wrote: > What about using the simple-audio-card binding instead of adding the > tegra_sgtl5000 machine driver? Good question. I have to admit last I checked on the current state of affairs on vybrid towards end of last year none of this existed yet.

Re: [PATCH v10 1/3] RTC: RK808: add RTC driver for RK808

2014-09-10 Thread Andrew Morton
On Wed, 10 Sep 2014 09:18:04 +0800 Chris Zhong wrote: > Adding RTC driver for supporting RTC device present inside RK808 PMIC. > > ... > > + ret = rtc_valid_tm(&tm); > + if (ret) { > + dev_warn(&pdev->dev, "invalid date/time and init time\n"); > + rk808_rtc_set_ti

Re: [PATCH v2 2/4] mfd/axp2xx: extend axp20x to support axp288 pmic

2014-09-10 Thread Jacob Pan
On Wed, 10 Sep 2014 10:13:54 +0100 Lee Jones wrote: > I think adding ACPI support should be in its own patch. Agree with the rest reviews comments. On this one, I agree I should take out the non-essential part of the ACPI code. i.e. mfd cell device for acpi opregion handler driver. Let it be part

Re: [PATCH] clk: Add PWM clock driver

2014-09-10 Thread Janusz Użycki
Hi, http://patchwork.ozlabs.org/patch/359069/ https://lkml.org/lkml/2014/6/12/186 Will the patch ever included to linux-next? pwm_config() API could be extended to support not only period [ns] and duty [ns] time but also frequency [Hz] and duty cycle fraction [1/1000?] (instead of time in ns)

[PATCH] powerpc: make of_device_ids const

2014-09-10 Thread Uwe Kleine-König
of_device_ids (i.e. compatible strings and the respective data) are not supposed to change at runtime. All functions working with of_device_ids provided by work with const of_device_ids. This allows to mark all struct of_device_id const, too. While touching these line also put the __init annotati

[PATCH 14/16] arm: dts: am33xx: add DMA properties for UART

2014-09-10 Thread Sebastian Andrzej Siewior
Cc: devicetree@vger.kernel.org Reviewed-by: Tony Lindgren Tested-by: Tony Lindgren Signed-off-by: Sebastian Andrzej Siewior --- arch/arm/boot/dts/am33xx.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi index 3a0a161342b

[PATCH 15/16] arm: dts: dra7: add DMA properties for UART

2014-09-10 Thread Sebastian Andrzej Siewior
Cc: devicetree@vger.kernel.org Reviewed-by: Tony Lindgren Tested-by: Tony Lindgren Signed-off-by: Sebastian Andrzej Siewior --- arch/arm/boot/dts/dra7.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi index d678152db

Re: [PATCH RFC 2/3] ARM: regulator: add Freescale MXS regulator driver

2014-09-10 Thread Mark Brown
On Wed, Sep 10, 2014 at 07:32:36PM +0200, Stefan Wahren wrote: > Am 10.09.2014 17:13, schrieb Mark Brown: > >Ugh, this looks like it might be a regulator driver but since the > >subject line was "ARM: " I deleted it unread - if your changelog looks > >different to all the other changelogs in the s

[PATCH RESEND] Documentation: fsl,ssi.txt: Avoid cryptic acronyms

2014-09-10 Thread Fabio Estevam
From: Fabio Estevam It is much clearer to use the full terms here: left-justified/right-justified. Signed-off-by: Fabio Estevam --- Documentation/devicetree/bindings/sound/fsl,ssi.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/soun

Re: [PATCH 1/4 v3] GPIO: gpio-dwapb: Enable platform driver binding to MFD driver

2014-09-10 Thread atull
On Tue, 9 Sep 2014, Weike Chen wrote: > The Synopsys DesignWare APB GPIO driver only supports open firmware devices. > But, like Intel Quark X1000 SOC, which has a single PCI function exporting > a GPIO and an I2C controller, it is a Multifunction device. This patch is > to enable the current Syno

[REPOST PATCHv3] ARM: dts: OMAP2+: Add sub mailboxes device node information

2014-09-10 Thread Suman Anna
The sub-mailbox devices are added to the Mailbox DT nodes on OMAP2420, OMAP2430, OMAP3, AM33xx, AM43xx, OMAP4 and OMAP5 family of SoCs. This data represents the same mailboxes that used to be represented in hwmod attribute data previously. The node name is chosen based on the .name field of omap_mb

[REPOST PATCHv3] OMAP Mailbox DTS patch for 3.18

2014-09-10 Thread Suman Anna
Hi Tony, This is a repost of just the DTS patch (third patch) from the OMAP Mailbox framework adoption and DT support series [1], for it to be picked up in your dts branch for 3.18. There are no changes, just rebased onto 3.17-rc3. This is the DTS counterpart for the mailbox DT support series for

[REPOST PATCHv3 1/2] Documentation: dt: add omap mailbox bindings

2014-09-10 Thread Suman Anna
Add the device tree bindings document for OMAP2+ mailbox. Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Cc: Ian Campbell Cc: Kumar Gala Signed-off-by: Suman Anna --- .../devicetree/bindings/mailbox/omap-mailbox.txt | 108 + 1 file changed, 108 insertions(+) create m

[REPOST PATCHv3 0/2] OMAP Mailbox DT support for 3.18

2014-09-10 Thread Suman Anna
Hi Tony, This is a repost of just the DT support patches (first 2 patches out of 5) from the OMAP Mailbox framework adoption and DT support series [1], so that they can be picked up for 3.18. The only change is an Acked-by picked up on the second patch. I will repost the third patch separately, an

[REPOST PATCHv3 2/2] mailbox/omap: add support for parsing dt devices

2014-09-10 Thread Suman Anna
Logic has been added to the OMAP2+ mailbox code to parse the mailbox dt nodes and construct the different sub-mailboxes associated with the instance. The DT representation of the sub-mailbox devices is different from legacy platform data representation to allow flexibility of interrupt configuratio

Re: [PATCH 1/6] iommu/arm-smmu: add support for specifying clocks

2014-09-10 Thread Mitchel Humpherys
On Wed, Sep 10 2014 at 11:27:39 AM, Will Deacon wrote: > On Wed, Sep 10, 2014 at 02:29:42AM +0100, Mitchel Humpherys wrote: >> On Tue, Aug 26 2014 at 07:27:58 AM, Will Deacon wrote: >> > On Tue, Aug 19, 2014 at 08:03:09PM +0100, Olav Haugan wrote: >> >> Clients of the SMMU driver are required to

[Patch v3 net-next 05/12] net: fec: init multi queue date structure

2014-09-10 Thread Frank Li
initilized all queues according to queue number get from DT file. Signed-off-by: Frank Li Signed-off-by: Duan Fugang --- drivers/net/ethernet/freescale/fec_main.c | 365 +- 1 file changed, 252 insertions(+), 113 deletions(-) diff --git a/drivers/net/ethernet/freesca

Re: [PATCH] iio: adc: rockchip_saradc: add support for rk3066-tsadc variant

2014-09-10 Thread Jonathan Cameron
On 03/09/14 11:13, Heiko Stübner wrote: > Am Mittwoch, 3. September 2014, 00:20:58 schrieb Hartmut Knaack: >> Heiko Stübner schrieb: >>> Older Rockchip SoCs, at least the rk3066, used a slightly modified saradc >>> for temperature measurements. This so called tsadc does not contain any >>> active p

Re: [Patch v3 net-next 00/12] net: fec: imx6sx multiqueue support

2014-09-10 Thread Zhi Li
On Wed, Sep 10, 2014 at 1:30 PM, wrote: > > Sorry again, use wrong sender email address. -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[Patch v3 net-next 11/12] ARM: Documentation: Update fec dts binding doc

2014-09-10 Thread Frank Li
This patch update fec devicetree binding doc that add Optional properties "fsl,num-tx-queues" and "fsl,num-rx-queues". Signed-off-by: Fugang Duan Signed-off-by: Frank Li --- Documentation/devicetree/bindings/net/fsl-fec.txt | 6 ++ 1 file changed, 6 insertions(+) diff --git a/Docum

[Patch v3 net-next 06/12] net:fec: Disable enet-avb MAC instead of reset MAC

2014-09-10 Thread Frank Li
From: Fugang Duan For i.MX6SX enet use AXI bus, reset MAC will make system bus dead if ENET-AXI bus has pending access (AHB bus should not have such issue). So, disable enet with AVB MAC instead of reset MAC itself. Signed-off-by: Fugang Duan Signed-off-by: Frank Li --- drivers/net/ethernet/f

[Patch v3 net-next 04/12] net: fec: parser max queue number from dt file

2014-09-10 Thread Frank Li
From: Fugang Duan By default, the tx/rx queue number is 1, user can config the queue number at DTS file like this: fsl,num-tx-queues=<3>; fsl,num-rx-queues=<3> Since i.MX6SX enet-AVB IP support multi queues, so use multi queues interface to allocate and set up an Ethernet device.

[Patch v3 net-next 02/12] net:fec: add enet AVB feature macro define for imx6sx

2014-09-10 Thread Frank Li
From: Fugang Duan Add enet AVB feature macro define for imx6sx. Signed-off-by: Fugang Duan Signed-off-by: Frank Li --- drivers/net/ethernet/freescale/fec_main.c | 16 1 file changed, 16 insertions(+) diff --git a/drivers/net/ethernet/freescale/fec_main.c b/drivers/net/ether

[Patch v3 net-next 01/12] net:fec: add enet refrence clock for i.MX 6SX chip

2014-09-10 Thread yes
From: Fugang Duan i.MX6sx enet has below clocks for user config: clk_ipg: ipg_clk_s, ipg_clk_mac0_s, 66Mhz clk_ahb: enet system clock, it is enet AXI clock for imx6sx. For imx6sx, it alos is the clock source of interrupt coalescing. The clock range: 200Mhz ~ 266Mhz. clk_ref: ref

[Patch v3 net-next 08/12] net:fec: Add fsl,imx6sx-fec compatible strings

2014-09-10 Thread Frank Li
From: Fugang Duan Add compatible string "fsl,imx6sx-fec" for i.MX6SX. Signed-off-by: Fugang Duan Signed-off-by: Frank Li --- drivers/net/ethernet/freescale/fec_main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/ethernet/freescale/fec_main.c b/drivers/net/ethernet/freesc

[Patch v3 net-next 08/12] net:fec: Add fsl,imx6sx-fec compatible strings

2014-09-10 Thread yes
From: Fugang Duan Add compatible string "fsl,imx6sx-fec" for i.MX6SX. Signed-off-by: Fugang Duan Signed-off-by: Frank Li --- drivers/net/ethernet/freescale/fec_main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/ethernet/freescale/fec_main.c b/drivers/net/ethernet/freesc

[Patch v3 net-next 06/12] net:fec: Disable enet-avb MAC instead of reset MAC

2014-09-10 Thread yes
From: Fugang Duan For i.MX6SX enet use AXI bus, reset MAC will make system bus dead if ENET-AXI bus has pending access (AHB bus should not have such issue). So, disable enet with AVB MAC instead of reset MAC itself. Signed-off-by: Fugang Duan Signed-off-by: Frank Li --- drivers/net/ethernet/f

[Patch v3 net-next 12/12] ARM: dts: imx6sx: add multi-queue support enet

2014-09-10 Thread Frank Li
Enable 3 queues suppport for ethernet Signed-off-by: Frank Li --- arch/arm/boot/dts/imx6sx.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/imx6sx.dtsi b/arch/arm/boot/dts/imx6sx.dtsi index f4b9da6..0a03260 100644 --- a/arch/arm/boot/dts/imx6sx.dtsi +++ b/arch/arm/boo

[Patch v3 net-next 01/12] net:fec: add enet refrence clock for i.MX 6SX chip

2014-09-10 Thread Frank Li
From: Fugang Duan i.MX6sx enet has below clocks for user config: clk_ipg: ipg_clk_s, ipg_clk_mac0_s, 66Mhz clk_ahb: enet system clock, it is enet AXI clock for imx6sx. For imx6sx, it alos is the clock source of interrupt coalescing. The clock range: 200Mhz ~ 266Mhz. clk_ref: ref

[Patch v3 net-next 09/12] net: fec: change FEC alignment according to i.mx6 sx requirement

2014-09-10 Thread Frank Li
From: Fugang Duan i.MX6 SX change FEC alignment requirement. i.MX6 SX change internal bus from AHB to AXI. It require RX buffer must be 64 bytes alignment. And remove TX buffer alignment requirement. Signed-off-by: Fugang Duan Signed-off-by: Frank Li --- drivers/net/ethernet/freescale/fec.h

[Patch v3 net-next 00/12] net: fec: imx6sx multiqueue support

2014-09-10 Thread Frank Li
These patches enable i.MX6SX multi queue support. i.MX6SX support 3 queue and AVB feature. Change from v2 to v3 - fixed alignment requirement for ARM and NO-ARM platform Change from v1 to v2. - Change num_tx_queue to unsigned int - Avoid block non-dt platform - remove call netif_set_real_num_

[Patch v3 net-next 10/12] net: fec: init complete variable in early to avoid kernel dump

2014-09-10 Thread Frank Li
From: Fugang Duan Software clear the MDIO interrupt before MDIO bus access, but MAC still generate MDIO interrupt. The issue only happen on imx6slx chip. CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.17.0-rc1-00399-g0bcad17 #315 Backtrace: [<800121fc>] (dump_backtrace) from [<800124e0>] (show_stac

[Patch v3 net-next 12/12] ARM: dts: imx6sx: add multi-queue support enet

2014-09-10 Thread yes
From: Frank Li Enable 3 queues suppport for ethernet Signed-off-by: Frank Li --- arch/arm/boot/dts/imx6sx.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/imx6sx.dtsi b/arch/arm/boot/dts/imx6sx.dtsi index f4b9da6..0a03260 100644 --- a/arch/arm/boot/dts/imx6sx.dtsi +

[Patch v3 net-next 05/12] net: fec: init multi queue date structure

2014-09-10 Thread yes
From: Frank Li initilized all queues according to queue number get from DT file. Signed-off-by: Frank Li Signed-off-by: Duan Fugang --- drivers/net/ethernet/freescale/fec_main.c | 365 +- 1 file changed, 252 insertions(+), 113 deletions(-) diff --git a/drivers/net

[Patch v3 net-next 09/12] net: fec: change FEC alignment according to i.mx6 sx requirement

2014-09-10 Thread yes
From: Fugang Duan i.MX6 SX change FEC alignment requirement. i.MX6 SX change internal bus from AHB to AXI. It require RX buffer must be 64 bytes alignment. And remove TX buffer alignment requirement. Signed-off-by: Fugang Duan Signed-off-by: Frank Li --- drivers/net/ethernet/freescale/fec.h

[Patch v3 net-next 07/12] net: fec: add enet-avb IP support

2014-09-10 Thread Frank Li
i.MX6SX Enet-AVB support 3 tx queues, 3 rx queues. For tx queues: ring 0 -> best effort ring 1 -> Class A ring 2 -> Class B For rx queues: ring 0 -> best effort ring 1 -> receive VLAN packet with classification match ring 2

[Patch v3 net-next 07/12] net: fec: add enet-avb IP support

2014-09-10 Thread yes
From: Frank Li i.MX6SX Enet-AVB support 3 tx queues, 3 rx queues. For tx queues: ring 0 -> best effort ring 1 -> Class A ring 2 -> Class B For rx queues: ring 0 -> best effort ring 1 -> receive VLAN packet with classification match

[Patch v3 net-next 04/12] net: fec: parser max queue number from dt file

2014-09-10 Thread yes
From: Fugang Duan By default, the tx/rx queue number is 1, user can config the queue number at DTS file like this: fsl,num-tx-queues=<3>; fsl,num-rx-queues=<3> Since i.MX6SX enet-AVB IP support multi queues, so use multi queues interface to allocate and set up an Ethernet device.

[Patch v3 net-next 11/12] ARM: Documentation: Update fec dts binding doc

2014-09-10 Thread yes
From: Frank Li This patch update fec devicetree binding doc that add Optional properties "fsl,num-tx-queues" and "fsl,num-rx-queues". Signed-off-by: Fugang Duan Signed-off-by: Frank Li --- Documentation/devicetree/bindings/net/fsl-fec.txt | 6 ++ 1 file changed, 6 insertions(+) d

Re: [PATCH RFC 2/3] ARM: regulator: add Freescale MXS regulator driver

2014-09-10 Thread Fabio Estevam
Hi Stefan, On Wed, Sep 10, 2014 at 2:32 PM, Stefan Wahren wrote: > Hi Mark, > > Am 10.09.2014 17:13, schrieb Mark Brown: >> >> On Wed, Sep 10, 2014 at 03:18:53PM +0100, Mark Rutland wrote: >>> >>> On Tue, Sep 09, 2014 at 08:17:17PM +0100, Stefan Wahren wrote: >> >> >> Ugh, this looks like it migh

[Patch v3 net-next 10/12] net: fec: init complete variable in early to avoid kernel dump

2014-09-10 Thread yes
From: Fugang Duan Software clear the MDIO interrupt before MDIO bus access, but MAC still generate MDIO interrupt. The issue only happen on imx6slx chip. CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.17.0-rc1-00399-g0bcad17 #315 Backtrace: [<800121fc>] (dump_backtrace) from [<800124e0>] (show_stac

[Patch v3 net-next 03/12] net: fec: change data structure to support multiqueue

2014-09-10 Thread Frank Li
From: Fugang Duan This patch just change data structure to support multi-queue. Only 1 queue enabled. Ethernet multiqueue mechanism can improve performance in SMP system. For single hw queue, multiqueue can balance cpu loading. For multi hw queues, multiple cores can process network packets in p

[Patch v3 net-next 03/12] net: fec: change data structure to support multiqueue

2014-09-10 Thread yes
From: Fugang Duan This patch just change data structure to support multi-queue. Only 1 queue enabled. Ethernet multiqueue mechanism can improve performance in SMP system. For single hw queue, multiqueue can balance cpu loading. For multi hw queues, multiple cores can process network packets in p

[Patch v3 net-next 02/12] net:fec: add enet AVB feature macro define for imx6sx

2014-09-10 Thread yes
From: Fugang Duan Add enet AVB feature macro define for imx6sx. Signed-off-by: Fugang Duan Signed-off-by: Frank Li --- drivers/net/ethernet/freescale/fec_main.c | 16 1 file changed, 16 insertions(+) diff --git a/drivers/net/ethernet/freescale/fec_main.c b/drivers/net/ether

[Patch v3 net-next 00/12] net: fec: imx6sx multiqueue support

2014-09-10 Thread yes
From: Frank Li These patches enable i.MX6SX multi queue support. i.MX6SX support 3 queue and AVB feature. Change from v2 to v3 - fixed alignment requirement for ARM and NO-ARM platform Change from v1 to v2. - Change num_tx_queue to unsigned int - Avoid block non-dt platform - remove call ne

Re: [PATCH 1/6] iommu/arm-smmu: add support for specifying clocks

2014-09-10 Thread Will Deacon
On Wed, Sep 10, 2014 at 02:29:42AM +0100, Mitchel Humpherys wrote: > On Tue, Aug 26 2014 at 07:27:58 AM, Will Deacon wrote: > > On Tue, Aug 19, 2014 at 08:03:09PM +0100, Olav Haugan wrote: > >> Clients of the SMMU driver are required to vote for clocks and power > >> when they know they need to us

Re: [PATCH v10 07/10] OF: Introduce helper function for getting PCI domain_nr

2014-09-10 Thread Arnd Bergmann
On Tuesday 09 September 2014 12:20:54 Catalin Marinas wrote: > > We can assume that if a domain is not specified and there is a single > top level PCIe node, the domain defaults to 0. Are there any arm32 > platforms that require multiple domains (and do not specify a number in > the DT)? In theor

Re: [alsa-devel] [PATCH 2/5] ASoC: fsl: add imx-tlv320aic3x machine driver

2014-09-10 Thread Nicolin Chen
On Wed, Sep 10, 2014 at 7:27 AM, Markus Pargmann wrote: > Hi, > > On Wed, Sep 10, 2014 at 04:46:46PM +0300, Dmitry Lavnikevich wrote: >> This is driver for i.MX6 boards with tlv320aic3x audio codecs. >> >> Signed-off-by: Dmitry Lavnikevich >> --- >> .../bindings/sound/fsl,imx-audio-tlv320aic3x.t

Re: [PATCH 2/5] ASoC: fsl: add imx-tlv320aic3x machine driver

2014-09-10 Thread Nicolin Chen
Hi Dmitry, On Wed, Sep 10, 2014 at 04:46:46PM +0300, Dmitry Lavnikevich wrote: > This is driver for i.MX6 boards with tlv320aic3x audio codecs. > > Signed-off-by: Dmitry Lavnikevich > --- > .../bindings/sound/fsl,imx-audio-tlv320aic3x.txt | 27 > sound/soc/fsl/Kconfig

Re: [PATCH v2 4/8] net: pxa168_eth: fix Ethernet flow control status

2014-09-10 Thread Antoine Tenart
Andrew, On Wed, Sep 10, 2014 at 05:39:02PM +0200, Andrew Lunn wrote: > On Tue, Sep 09, 2014 at 04:44:04PM +0200, Antoine Tenart wrote: > > IEEE 802.3x Ethernet flow control is disabled when bit (1 << 2) is set > > in the port status register. Fix the flow control detection in the link > > event ha

Re: [PATCH 1/3] ASoC: tegra: add tegra sgtl5000 machine driver

2014-09-10 Thread Stephen Warren
On 09/09/2014 09:28 AM, Marcel Ziswiler wrote: This binding and driver describe/support playback to headphones, and capture from line-in and microphone. This driver is useful for the Toradex Apalis T30 and Colibri T30 modules. Reviewed-by: Stephen Warren -- To unsubscribe from this list: send

[PATCH v3 2/2] PCI: keystone: read pci device id dynamically to support multiple ports

2014-09-10 Thread Murali Karicheri
K2E SoC has two PCI ports. The SATA controller is connected to second PCI port (port 1). To support multiple port handling in Keystone PCI driver, read the PCI device ID dynamically by iomap/read/unmap during probe and save it in driver's private data and update it in host init code. The PCI device

[PATCH v3 1/2] PCI: keystone: remove handle of PCI mode configuration

2014-09-10 Thread Murali Karicheri
Keystone PCI hardware supports both RC and EP modes and devcfg register has bits to boot strap the device to either of these modes. It seems proper to add this functionality to the boot loader rather than in the driver as device will be operating in either mode, not both any time. Currently the dri

Re: [PATCH RFC 2/3] ARM: regulator: add Freescale MXS regulator driver

2014-09-10 Thread Stefan Wahren
Hi Mark, Am 10.09.2014 17:13, schrieb Mark Brown: On Wed, Sep 10, 2014 at 03:18:53PM +0100, Mark Rutland wrote: On Tue, Sep 09, 2014 at 08:17:17PM +0100, Stefan Wahren wrote: Ugh, this looks like it might be a regulator driver but since the subject line was "ARM: " I deleted it unread - if yo

Re: [PATCH v10 08/10] OF: PCI: Add support for parsing PCI host bridge resources from DT

2014-09-10 Thread Lorenzo Pieralisi
On Wed, Sep 10, 2014 at 05:53:47PM +0100, Liviu Dudau wrote: [...] > > > > > > > + if (resource_type(res) == IORESOURCE_IO) { > > > > > > > + if (*io_base) > > > > > > > > > > > > You do not zero io_base in the first place so you should ask the API > > > > > > user to do

Re: [PATCH 2/3] ARM: tegra: apalis/colibri t30: integrate audio support

2014-09-10 Thread Stephen Warren
On 09/09/2014 09:28 AM, Marcel Ziswiler wrote: Integrate Freescale SGTL5000 analogue audio codec support. Patches 2 and 3 look OK. I'll hold off applying them until patch 1 is applied, just to make sure that the new DT binding there is accepted before I apply patches using it. If you could pi

Re: [PATCH RFC 2/3] ARM: regulator: add Freescale MXS regulator driver

2014-09-10 Thread Fabio Estevam
On Wed, Sep 10, 2014 at 2:24 PM, Stefan Wahren wrote: > sorry i don't have a clue. In the original code there isn't a comment about > the reason. Currently there is no init of the vddio regulator by the kernel > and everything works fine. > > @Fabio: Do you have any doubts? I would say, just use

  1   2   3   >