Re: [PATCH] mfd: max8997: Use IS_ENABLED(CONFIG_OF) for DT code.

2014-01-05 Thread Manish Badarkhe
Hi Samuel, On Sun, Dec 22, 2013 at 11:18 PM, Manish Badarkhe badarkhe.man...@gmail.com wrote: Instead of #if define CONFIG_OF use IS_ENABLED(CONFIG_OF) option for DT code to avoid if-deffery in code. Signed-off-by: Manish Badarkhe badarkhe.man...@gmail.com --- :100644 100644 791aea3...

Re: [PATCH v2 2/4] ARM: sunxi: Add ahci-sunxi driver for the Allwinner SUNXi SoCs sata

2014-01-05 Thread Arnd Bergmann
On Sunday 05 January 2014, Hans de Goede wrote: Also, please send the binding as a separate patch with Cc to the devicetree-discuss mailing list. Hmm, this contradicts what others are saying who have requested for the binding docs to be part of the same commit as the driver (with

Re: [PATCH v2 2/4] ARM: sunxi: Add ahci-sunxi driver for the Allwinner SUNXi SoCs sata

2014-01-05 Thread Olliver Schinagl
On 01/04/14 22:47, Arnd Bergmann wrote: On Saturday 04 January 2014 22:39:50 Arnd Bergmann wrote: +Required properties: +- compatible : compatible list, contains allwinner,sun4i-a10-ahci +- reg: registers mapping +- interrupts : interrupt mapping for AHCI IRQ +- clocks :

Re: [PATCH v2 2/4] ARM: sunxi: Add ahci-sunxi driver for the Allwinner SUNXi SoCs sata

2014-01-05 Thread Hans de Goede
Hi, On 01/05/2014 01:42 PM, Olliver Schinagl wrote: On 01/04/14 22:47, Arnd Bergmann wrote: On Saturday 04 January 2014 22:39:50 Arnd Bergmann wrote: +Required properties: +- compatible : compatible list, contains allwinner,sun4i-a10-ahci +- reg: registers mapping +-

Re: [PATCH v2 2/4] ARM: sunxi: Add ahci-sunxi driver for the Allwinner SUNXi SoCs sata

2014-01-05 Thread Hans de Goede
Hi, On 01/05/2014 12:35 PM, Arnd Bergmann wrote: On Sunday 05 January 2014, Hans de Goede wrote: snip +static int sunxi_ahci_phy_init(struct device *dev, void __iomem *reg_base) +{ + u32 reg_val; + int timeout; + + /* This magic is from the original code */ +

Re: [PATCH v2 2/4] ARM: sunxi: Add ahci-sunxi driver for the Allwinner SUNXi SoCs sata

2014-01-05 Thread Hans de Goede
Hi, On 01/05/2014 01:42 PM, Olliver Schinagl wrote: On 01/04/14 22:47, Arnd Bergmann wrote: On Saturday 04 January 2014 22:39:50 Arnd Bergmann wrote: +Required properties: +- compatible : compatible list, contains allwinner,sun4i-a10-ahci +- reg: registers mapping +-

Re: [PATCH v2 2/4] ARM: sunxi: Add ahci-sunxi driver for the Allwinner SUNXi SoCs sata

2014-01-05 Thread Olliver Schinagl
On 01/05/14 14:32, Hans de Goede wrote: Hi, On 01/05/2014 01:42 PM, Olliver Schinagl wrote: On 01/04/14 22:47, Arnd Bergmann wrote: On Saturday 04 January 2014 22:39:50 Arnd Bergmann wrote: +Required properties: +- compatible : compatible list, contains allwinner,sun4i-a10-ahci +- reg

Re: [PATCHv9] dmaengine: Add support for BCM2835

2014-01-05 Thread Arnd Bergmann
On Saturday 04 January 2014, Florian Meier wrote: On 02.01.2014 19:03, Arnd Bergmann wrote: On Thursday 02 January 2014 18:49:23 Florian Meier wrote: Add support for DMA controller of BCM2835 as used in the Raspberry Pi. Currently it only supports cyclic DMA. Looks very nice. Just a few

Re: [PATCHv9] dmaengine: Add support for BCM2835

2014-01-05 Thread Florian Meier
On 05.01.2014 15:06, Arnd Bergmann wrote: On Saturday 04 January 2014, Florian Meier wrote: On 02.01.2014 19:03, Arnd Bergmann wrote: On Thursday 02 January 2014 18:49:23 Florian Meier wrote: Add support for DMA controller of BCM2835 as used in the Raspberry Pi. Currently it only supports

[BUG] v3.13-rc7: freescale fec_main bugs on boot

2014-01-05 Thread Russell King - ARM Linux
So, I just forward-ported my Hummingboard patch set to v3.13-rc7 from -rc6, and upon boot I'm now seeing the following BUG(). I do have: CONFIG_PHYLIB=y CONFIG_AT803X_PHY=y enabled, which are for the AR8035. The problem causing the BUG() appears to be this path: static int

Re: [PATCH V2 0/4] misc: xgene: Add support for APM X-Gene SoC Queue Manager/Traffic Manager

2014-01-05 Thread Greg KH
On Sat, Jan 04, 2014 at 09:39:08PM -0800, Loc Ho wrote: Hi, This patch adds support for APM X-Gene SoC Queue Manager/Traffic Manager. QMTM is required by APM X-Gene SoC Ethernet, PktDMA (XOR Engine) and Security Engine subsystems. All subsystems communicate with QMTM

Re: [PATCH V2 0/4] misc: xgene: Add support for APM X-Gene SoC Queue Manager/Traffic Manager

2014-01-05 Thread Arnd Bergmann
On Sunday 05 January 2014, Ravi Patel wrote: On Sat, Dec 21, 2013 at 11:03 PM, Arnd Bergmann a...@arndb.de wrote: On Saturday 21 December 2013 17:00:51 Loc Ho wrote: On Sat, Dec 21, 2013 at 12:11 PM, Arnd Bergmann a...@arndb.de wrote: Please describe here what the purpose of the qmtm is,

Re: [PATCHv9] dmaengine: Add support for BCM2835

2014-01-05 Thread Arnd Bergmann
On Sunday 05 January 2014, Florian Meier wrote: On 05.01.2014 15:06, Arnd Bergmann wrote: Sigh, the API is developing faster than I can keep track with updating this patch. I hope some day I will be faster When Russell told me about the second one before, it hoped that I can avoid

Re: [PATCHv9] dmaengine: Add support for BCM2835

2014-01-05 Thread Florian Meier
On 05.01.2014 19:52, Arnd Bergmann wrote: On Sunday 05 January 2014, Florian Meier wrote: On 05.01.2014 15:06, Arnd Bergmann wrote: Sigh, the API is developing faster than I can keep track with updating this patch. I hope some day I will be faster When Russell told me about the second

Re: [PATCH V2 0/4] misc: xgene: Add support for APM X-Gene SoC Queue Manager/Traffic Manager

2014-01-05 Thread Ravi Patel
On Sun, Jan 5, 2014 at 10:11 AM, Arnd Bergmann a...@arndb.de wrote: On Sunday 05 January 2014, Ravi Patel wrote: On Sat, Dec 21, 2013 at 11:03 PM, Arnd Bergmann a...@arndb.de wrote: On Saturday 21 December 2013 17:00:51 Loc Ho wrote: On Sat, Dec 21, 2013 at 12:11 PM, Arnd Bergmann

Re: [PATCH V2 0/4] misc: xgene: Add support for APM X-Gene SoC Queue Manager/Traffic Manager

2014-01-05 Thread Ravi Patel
On Sun, Jan 5, 2014 at 10:01 AM, Greg KH gre...@linuxfoundation.org wrote: On Sat, Jan 04, 2014 at 09:39:08PM -0800, Loc Ho wrote: Hi, This patch adds support for APM X-Gene SoC Queue Manager/Traffic Manager. QMTM is required by APM X-Gene SoC Ethernet, PktDMA (XOR Engine)

[PATCH 1/2] ohci-platform: Add support for devicetree instantiation

2014-01-05 Thread Hans de Goede
Add support for ohci-platform instantiation from devicetree, including optionally getting clks and a phy from devicetree, and enabling / disabling those on power_on / off. This should allow using ohci-platform from devicetree in various cases. Specifically after this commit it can be used for the

[PATCH 2/2] ehci-platform: Add support for clks and phy passed through devicetree

2014-01-05 Thread Hans de Goede
Currently ehci-platform is only used in combination with devicetree when used with some via socs. By extending it to (optionally) get clks and a phy from devicetree, and enabling / disabling those on power_on / off, it can be used more generically. Specifically after this commit it can be used for

Re: [RFC PATCH 1/3] pci: APM X-Gene PCIe controller driver

2014-01-05 Thread Jingoo Han
On Monday, December 23, 2013 5:02 PM, Tanmay Inamdar wrote: This patch adds the AppliedMicro X-gene SOC PCIe controller driver. APM X-Gene PCIe controller supports maximum upto 8 lanes and GEN3 speed. X-Gene has maximum 5 PCIe ports supported. (+cc Jason Gunthorpe, Arnd Bergmann) Hi Tanmay

Re: [BUG] v3.13-rc7: freescale fec_main bugs on boot

2014-01-05 Thread Shawn Guo
On Sun, Jan 05, 2014 at 05:04:48PM +, Russell King - ARM Linux wrote: Second thing is this which was introduced by 7a399e3a2e05 between rc6 and rc7: + if (flags OF_GPIO_ACTIVE_LOW) + port = GPIOF_OUT_INIT_LOW; + else + port =

[PATCH 3/8] usb: doc: rename ci13xxx-imx.txt to ci-hdrc-imx.txt

2014-01-05 Thread Peter Chen
We have already renamed the file name, change doc name at this patch. Cc: devicetree@vger.kernel.org Cc: linux-...@vger.kernel.org Signed-off-by: Peter Chen peter.c...@freescale.com --- .../devicetree/bindings/usb/ci-hdrc-imx.txt| 31

Re: [PATCH V2] i2c: s3c2410 : Add polling mode support

2014-01-05 Thread Yuvaraj Cd
On Fri, Jan 3, 2014 at 9:40 PM, Wolfram Sang w...@the-dreams.de wrote: Hi, On Mon, Nov 11, 2013 at 04:50:20PM +0530, Yuvaraj Kumar C D wrote: From: Vasanth Ananthan vasanthanant...@gmail.com This patch adds polling mode support for i2c-s3c2410 driver.The SATA PHY controller's CMU and TRSV

RE: [PATCHv8 RFC] pwm: Add Freescale FTM PWM driver support

2014-01-05 Thread li.xi...@freescale.com
+static inline int fsl_pwm_calculate_default_ps(struct fsl_pwm_chip *fpc, + enum fsl_pwm_clk index) +{ Why do you declare this (and other module-local) function as inline? It is usually better let compiler decide if given

Re: [PATCH] ARM: dts: vf610: use the interrupt macros

2014-01-05 Thread Shawn Guo
On Wed, Dec 25, 2013 at 02:19:27PM +0800, Huang Shijie wrote: This patch uses the IRQ_TYPE_LEVEL_HIGH/IRQ_TYPE_NONE to replace the hardcode. Signed-off-by: Huang Shijie b32...@freescale.com --- arch/arm/boot/dts/vf610.dtsi | 37 +++-- 1 files changed, 19

Re: [PATCH v4 1/9] phy: core: Add an exported of_phy_get function

2014-01-05 Thread Kishon Vijay Abraham I
Hi, On Friday 20 December 2013 06:54 PM, Kamil Debski wrote: Previously the of_phy_get function took a struct device * and was declared static. It was impossible to call it from another driver and thus it was impossible to get phy defined for a given node. The old function was renamed to

Re: [PATCH 1/2] ohci-platform: Add support for devicetree instantiation

2014-01-05 Thread Arnd Bergmann
On Monday 06 January 2014, Hans de Goede wrote: +Required properties: + - compatible: Should be platform-ohci + - reg: Address range of the ohci registers. + - interrupts: Should contain the ohci interrupt. + +Optional properties: + - clocks: array of clocks + - clock-names: clock names

Re: [PATCH v4 0/6] Krait L1/L2 EDAC driver

2014-01-05 Thread Borislav Petkov
On Mon, Dec 30, 2013 at 12:14:11PM -0800, Stephen Boyd wrote: This patchset adds support for the Krait L1/L2 cache error detection hardware. The first patch fixes a generic framework bug. The next two patches lay the groundwork for this driver to be added by exporting percpu irq functions as

Re: [PATCH 1/2] ohci-platform: Add support for devicetree instantiation

2014-01-05 Thread Hans de Goede
Hi, On 01/06/2014 08:16 AM, Arnd Bergmann wrote: On Monday 06 January 2014, Hans de Goede wrote: +Required properties: + - compatible: Should be platform-ohci + - reg: Address range of the ohci registers. + - interrupts: Should contain the ohci interrupt. + +Optional properties: + - clocks: