[PATCH 1/1] OMAPDSS: Return right error during connector probe

2013-09-12 Thread Sathya Prakash M R
While using HDMI connector driver with sil9022 encoder came across issue where connector driver is probed first. This resulted in error. A deffered probe solved this. Most connector drivers need a encoder driver as their video source. This patch ensures we do a probe defferal if video source is

Re: [PATCH] RFC: interrupt consistency check for OF GPIO IRQs

2013-09-12 Thread Alexander Holler
Am 11.09.2013 19:42, schrieb Alexander Holler: Am 11.09.2013 18:14, schrieb Javier Martinez Canillas: So for example in an OMAP board DT you can define something like this: ethernet@5,0 { compatible = smsc,lan9221, smsc,lan9115; interrupt-parent = gpio6;

Re: [PATCH 2/7] usb: dwc3: adapt dwc3 core to use Generic PHY Framework

2013-09-12 Thread Vivek Gautam
Hi Kishon, On Mon, Sep 2, 2013 at 9:13 PM, Kishon Vijay Abraham I kis...@ti.com wrote: Adapted dwc3 core to use the Generic PHY Framework. So for init, exit, power_on and power_off the following APIs are used phy_init(), phy_exit(), phy_power_on() and phy_power_off(). However using the old

Re: [PATCH v3] ARM: EDMA: Fix clearing of unused list for DT DMA resources

2013-09-12 Thread Sekhar Nori
On Wednesday 11 September 2013 12:22 AM, Joel Fernandes wrote: HWMOD removal for MMC is breaking edma_start as the events are being manually triggered due to unused channel list not being clear. This patch fixes the issue, by reading the dmas property from the DT node if it exists and

Re: [PATCH 2/7] usb: dwc3: adapt dwc3 core to use Generic PHY Framework

2013-09-12 Thread Kishon Vijay Abraham I
On Thursday 12 September 2013 02:57 PM, Vivek Gautam wrote: Hi Kishon, On Mon, Sep 2, 2013 at 9:13 PM, Kishon Vijay Abraham I kis...@ti.com wrote: Adapted dwc3 core to use the Generic PHY Framework. So for init, exit, power_on and power_off the following APIs are used phy_init(),

Re: [PATCH] RFC: interrupt consistency check for OF GPIO IRQs

2013-09-12 Thread Javier Martinez Canillas
On 09/12/2013 10:55 AM, Alexander Holler wrote: Am 11.09.2013 19:42, schrieb Alexander Holler: Am 11.09.2013 18:14, schrieb Javier Martinez Canillas: So for example in an OMAP board DT you can define something like this: ethernet@5,0 { compatible = smsc,lan9221, smsc,lan9115;

Re: [PATCH] RFC: interrupt consistency check for OF GPIO IRQs

2013-09-12 Thread Alexander Holler
Am 12.09.2013 12:11, schrieb Javier Martinez Canillas: On 09/12/2013 10:55 AM, Alexander Holler wrote: ... By the way, how do you define two GPIOs/IRQs from different gpio-banks/irq-controllers wuth that scheme? That is indeed a very good question and I don't have a definite answer.

Re: [PATCH 2/7] usb: dwc3: adapt dwc3 core to use Generic PHY Framework

2013-09-12 Thread Vivek Gautam
On Thu, Sep 12, 2013 at 3:40 PM, Kishon Vijay Abraham I kis...@ti.com wrote: On Thursday 12 September 2013 02:57 PM, Vivek Gautam wrote: Hi Kishon, On Mon, Sep 2, 2013 at 9:13 PM, Kishon Vijay Abraham I kis...@ti.com wrote: Adapted dwc3 core to use the Generic PHY Framework. So for init,

Re: [PATCH 1/7] usb: dwc3: get usb_phy only if the platform indicates the presence of PHY

2013-09-12 Thread Roger Quadros
Hi Kishon, On 09/02/2013 06:43 PM, Kishon Vijay Abraham I wrote: There can be systems which does not have a external usb_phy, so get usb_phy only if usb-phy property is added in the case of dt boot or if platform_data indicates the presence of PHY. Also remove checking if return value is

Re: [PATCH 1/7] usb: dwc3: get usb_phy only if the platform indicates the presence of PHY

2013-09-12 Thread Vivek Gautam
On Thu, Sep 12, 2013 at 4:06 PM, Roger Quadros rog...@ti.com wrote: Hi Kishon, On 09/02/2013 06:43 PM, Kishon Vijay Abraham I wrote: There can be systems which does not have a external usb_phy, so get usb_phy only if usb-phy property is added in the case of dt boot or if platform_data

Re: [PATCH 1/7] usb: dwc3: get usb_phy only if the platform indicates the presence of PHY

2013-09-12 Thread Roger Quadros
Hi, On 09/12/2013 01:47 PM, Vivek Gautam wrote: On Thu, Sep 12, 2013 at 4:06 PM, Roger Quadros rog...@ti.com wrote: Hi Kishon, On 09/02/2013 06:43 PM, Kishon Vijay Abraham I wrote: There can be systems which does not have a external usb_phy, so get usb_phy only if usb-phy property is added

Re: [PATCH] RFC: interrupt consistency check for OF GPIO IRQs

2013-09-12 Thread Alexander Holler
Am 12.09.2013 12:28, schrieb Alexander Holler: Am 12.09.2013 12:11, schrieb Javier Martinez Canillas: On 09/12/2013 10:55 AM, Alexander Holler wrote: ... By the way, how do you define two GPIOs/IRQs from different gpio-banks/irq-controllers wuth that scheme? That is indeed a very good

Re: [PATCH 3/7] drivers: phy: usb3/pipe3: Adapt pipe3 driver to Generic PHY Framework

2013-09-12 Thread Roger Quadros
Hi Kishon, On 09/02/2013 06:43 PM, Kishon Vijay Abraham I wrote: Adapted omap-usb3 PHY driver to Generic PHY Framework and moved phy-omap-usb3 driver in drivers/usb/phy to drivers/phy and also renamed the file to phy-omap-pipe3 since this same driver will be used for SATA PHY and PCIE PHY. I

Re: [PATCH 1/7] usb: dwc3: get usb_phy only if the platform indicates the presence of PHY

2013-09-12 Thread Vivek Gautam
Hi, On Thu, Sep 12, 2013 at 4:34 PM, Roger Quadros rog...@ti.com wrote: Hi, On 09/12/2013 01:47 PM, Vivek Gautam wrote: On Thu, Sep 12, 2013 at 4:06 PM, Roger Quadros rog...@ti.com wrote: Hi Kishon, On 09/02/2013 06:43 PM, Kishon Vijay Abraham I wrote: There can be systems which does not

Re: [PATCH] RFC: interrupt consistency check for OF GPIO IRQs

2013-09-12 Thread Alexander Holler
Am 12.09.2013 13:09, schrieb Alexander Holler: Am 12.09.2013 12:28, schrieb Alexander Holler: Am 12.09.2013 12:11, schrieb Javier Martinez Canillas: On 09/12/2013 10:55 AM, Alexander Holler wrote: ... By the way, how do you define two GPIOs/IRQs from different gpio-banks/irq-controllers

Re: [PATCH] RFC: interrupt consistency check for OF GPIO IRQs

2013-09-12 Thread Alexander Holler
Am 12.09.2013 13:26, schrieb Alexander Holler: Am 12.09.2013 13:09, schrieb Alexander Holler: Am 12.09.2013 12:28, schrieb Alexander Holler: Am 12.09.2013 12:11, schrieb Javier Martinez Canillas: On 09/12/2013 10:55 AM, Alexander Holler wrote: ... So, if I understood the code correctly

[PATCH v6 2/4] mtd:nand:omap2: clean-up BCHx_HW and BCHx_SW ECC configurations in device_probe

2013-09-12 Thread Pekon Gupta
OMAP NAND driver support multiple ECC scheme, which can used in following different flavours, depending on in-build Hardware engines supported by SoC. +---+---+---+ | ECC scheme|ECC calculation|Error

[PATCH v6 3/4] mtd:nand:omap2: updated support for BCH4 ECC scheme

2013-09-12 Thread Pekon Gupta
This patch adds following two flavours of BCH4 ECC scheme in omap2-nand driver - OMAP_ECC_BCH4_CODE_HW_DETECTION_SW - uses GPMC H/W engine for calculating ECC. - uses software library (lib/bch.h nand_bch.h) for error correction. - OMAP_ECC_BCH4_CODE_HW - uses GPMC H/W

[PATCH v6 0/4] mtd:nand:omap2: clean-up of supported ECC schemes

2013-09-12 Thread Pekon Gupta
*Changes v5 - v6* [PATCH 1/4]: - updated DT binding for gpmc-nand based on 'Olof Johansson's feedbacks http://lists.infradead.org/pipermail/linux-mtd/2013-August/048394.html - detection of ELM device via ti,elm-id DT node, moved to gpmc.c driver [PATCH 2/4] -

[PATCH v6 4/4] ARM: dts: AM33xx: updated default ECC scheme in nand-ecc-opt

2013-09-12 Thread Pekon Gupta
DT property values for OMAP based gpmc-nand have been updated to match changes in commit: 6faf096 ARM: OMAP2+: cleaned-up DT support of various ECC schemes Refer: Documentation/devicetree/bindings/mtd/gpmc-nand.txt Signed-off-by: Pekon Gupta pe...@ti.com ---

[PATCH v6 1/4] ARM: OMAP2+: cleaned-up DT support of various ECC schemes

2013-09-12 Thread Pekon Gupta
OMAP NAND driver support multiple ECC scheme, which can used in following different flavours, depending on in-build Hardware engines supported by SoC. +---+---+---+ | ECC scheme|ECC calculation|Error

RE: [PATCH v5 1/4] ARM: OMAP2+: cleaned-up DT support of various ECC schemes

2013-09-12 Thread Gupta, Pekon
On Thu, Aug 22, 2013 at 07:56:57AM +, Gupta, Pekon wrote: If anything, the device entry should somehow describe the various ecc options that the hardware implements (if you can't derive that from the compatible value, which I think you can?). Also I'll try to explain how below

RE: [PATCH v5 0/4] mtd:nand:omap2: clean-up of supported ECC schemes

2013-09-12 Thread Gupta, Pekon
Hi, [...] You might also consider a future patch for utilizing devm_* functions for the probe/remove routines in drivers/mtd/nand/omap2.c. That could improve some of the stuff I looked at in this series. Thanks for feedback. I have not incorporated this particular update in v6, as I do

Re: [PATCH RFC 0/6] ARM: OMAP2+: AM43x/AM335x prcm reset driver

2013-09-12 Thread Afzal Mohammed
Hi Philipp, On Monday 09 September 2013 02:36 PM, Philipp Zabel wrote: So if I understand correctly, the only problem is that on OMAP the clock needs to be enabled to deassert the reset, but as long as the clock domain is in hardware supervised mode, it won't be enabled? Yes, enabling clock

Re: commit 5fe212364 causes division by zero with large bauds

2013-09-12 Thread Felipe Balbi
Hi, On Thu, Sep 12, 2013 at 07:32:54AM +0300, Alexey Pelykh wrote: On Wed, Sep 11, 2013 at 09:22:26AM +0300, Alexey Pelykh wrote: Hi Felipe, Thanks for finding this issue. Indeed, there is a bug on 3M+ baud rates. First patch is close to a complete fix, but still contains

Re: commit 5fe212364 causes division by zero with large bauds

2013-09-12 Thread Felipe Balbi
Hi, On Thu, Sep 12, 2013 at 07:37:07AM +0300, Alexey Pelykh wrote: Actually, here it is, but not formatted properly diff --git a/drivers/tty/serial/omap-serial.c b/drivers/tty/serial/omap-serial.c index 816d1a2..146e712 100644 --- a/drivers/tty/serial/omap-serial.c +++

Uninitialized rx_req/tx_req (was: Re: [PATCH v2 2/3] mmc: omap_hsmmc: Skip platform_get_resource_byname() for dt case)

2013-09-12 Thread Geert Uytterhoeven
On Tue, Mar 5, 2013 at 10:13 PM, Matt Porter mpor...@ti.com wrote: From: Santosh Shilimkar santosh.shilim...@ti.com MMC driver probe will abort for DT case because of failed platform_get_resource_byname() lookup. Fix it by skipping resource byname lookup for device tree build. Issue is

Re: [PATCH 1/7] usb: dwc3: get usb_phy only if the platform indicates the presence of PHY

2013-09-12 Thread Roger Quadros
On 09/12/2013 02:26 PM, Vivek Gautam wrote: Hi, On Thu, Sep 12, 2013 at 4:34 PM, Roger Quadros rog...@ti.com wrote: Hi, On 09/12/2013 01:47 PM, Vivek Gautam wrote: On Thu, Sep 12, 2013 at 4:06 PM, Roger Quadros rog...@ti.com wrote: Hi Kishon, On 09/02/2013 06:43 PM, Kishon Vijay

Re: [PATCH 2/7] usb: dwc3: adapt dwc3 core to use Generic PHY Framework

2013-09-12 Thread Roger Quadros
On 09/02/2013 06:43 PM, Kishon Vijay Abraham I wrote: Adapted dwc3 core to use the Generic PHY Framework. So for init, exit, power_on and power_off the following APIs are used phy_init(), phy_exit(), phy_power_on() and phy_power_off(). However using the old USB phy library wont be removed

Re: [PATCH 4/7] Documentation: dt bindings: move ..usb/usb-phy.txt to ..phy/omap-phy.txt

2013-09-12 Thread Roger Quadros
On 09/02/2013 06:43 PM, Kishon Vijay Abraham I wrote: Since now we have a separate folder for phy, move the PHY dt binding documentation of OMAP to that folder. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- .../devicetree/bindings/{usb/usb-phy.txt = phy/omap-phy.txt}|

Re: [PATCH 6/7] arm/dts: added dt properties to adapt to the new phy framwork

2013-09-12 Thread Roger Quadros
Hi, Need some commit log. cheers, -roger On 09/02/2013 06:43 PM, Kishon Vijay Abraham I wrote: Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- arch/arm/boot/dts/omap5.dtsi |5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/omap5.dtsi

Re: [PATCH 7/7] drivers: phy: renamed struct omap_control_usb to struct omap_control_phy

2013-09-12 Thread Roger Quadros
Hi, On 09/02/2013 06:43 PM, Kishon Vijay Abraham I wrote: renamed struct omap_control_usb to struct omap_control_phy since it can be used to control PHY of USB, SATA and PCIE. Also moved the driver and include files under *phy* and made the corresponding changes in the users of

Re: commit 5fe212364 causes division by zero with large bauds

2013-09-12 Thread Alexey Pelykh
On Thu, Sep 12, 2013 at 3:21 PM, Felipe Balbi ba...@ti.com wrote: Hi, On Thu, Sep 12, 2013 at 07:37:07AM +0300, Alexey Pelykh wrote: Actually, here it is, but not formatted properly diff --git a/drivers/tty/serial/omap-serial.c b/drivers/tty/serial/omap-serial.c index 816d1a2..146e712

Re: Uninitialized rx_req/tx_req (was: Re: [PATCH v2 2/3] mmc: omap_hsmmc: Skip platform_get_resource_byname() for dt case)

2013-09-12 Thread Balaji T K
On Thursday 12 September 2013 06:11 PM, Geert Uytterhoeven wrote: On Tue, Mar 5, 2013 at 10:13 PM, Matt Porter mpor...@ti.com wrote: From: Santosh Shilimkar santosh.shilim...@ti.com MMC driver probe will abort for DT case because of failed platform_get_resource_byname() lookup. Fix it by

Re: Uninitialized rx_req/tx_req (was: Re: [PATCH v2 2/3] mmc: omap_hsmmc: Skip platform_get_resource_byname() for dt case)

2013-09-12 Thread Balaji T K
On Thursday 12 September 2013 06:11 PM, Geert Uytterhoeven wrote: On Tue, Mar 5, 2013 at 10:13 PM, Matt Porter mpor...@ti.com wrote: From: Santosh Shilimkar santosh.shilim...@ti.com MMC driver probe will abort for DT case because of failed platform_get_resource_byname() lookup. Fix it by

Re: [PATCH] RFC: interrupt consistency check for OF GPIO IRQs

2013-09-12 Thread Stephen Warren
On 09/12/2013 05:37 AM, Alexander Holler wrote: Am 12.09.2013 13:26, schrieb Alexander Holler: Am 12.09.2013 13:09, schrieb Alexander Holler: Am 12.09.2013 12:28, schrieb Alexander Holler: Am 12.09.2013 12:11, schrieb Javier Martinez Canillas: On 09/12/2013 10:55 AM, Alexander Holler wrote:

Re: omap DSS fails with tft410 driver panel?

2013-09-12 Thread pawel cern
Try adding kernel bootargs, lets say: vram=48M omapfb.vram=0:16M,1:16M,2:16M And see what happens. -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[PATCH 1/4] arm: bone: dts: add CD for mmc1

2013-09-12 Thread Koen Kooi
From: Alexander Holler hol...@ahsoftware.de This enables the use of MMC cards even when no card was inserted at boot. Signed-off-by: Alexander Holler hol...@ahsoftware.de Signed-off-by: Koen Kooi k...@dominion.thruhere.net --- Changes since v2: None, again a simple repost Changes since

[RFC PATCH 2/4] ARM: DTS: DRA: Add crossbar device binding

2013-09-12 Thread Sricharan R
This adds the irq crossbar device node. There is a IRQ crossbar device in the soc, which maps the irq requests from the peripherals to the mpu interrupt controller's inputs. The Peripheral irq requests are connected to only one crossbar input and the output of the crossbar is connected to only

[RFC PATCH 0/4] DRIVERS: IRQCHIP: Add crossbar irqchip driver

2013-09-12 Thread Sricharan R
Some socs have a large number of interrupts requests to service the needs of its many peripherals and subsystems. All of the interrupt requests lines from the subsystems are not needed at the same time, so they have to be muxed to the controllers appropriately. In such places a interrupt

[RFC PATCH 4/4] ARM: DRA: Kconfig: Enable crossbar irqchip driver for DRA7xx

2013-09-12 Thread Sricharan R
Enable the crossbar irqchip driver for DRA7xx soc. Signed-off-by: Sricharan R r.sricha...@ti.com --- arch/arm/mach-omap2/Kconfig |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig index 8413252..b602168 100644 ---

Re: [PATCH] RFC: interrupt consistency check for OF GPIO IRQs

2013-09-12 Thread Alexander Holler
Am 12.09.2013 17:19, schrieb Stephen Warren: IRQs, DMA channels, and GPIOs are all different things. Their bindings are defined independently. While it's good to define new types of bindings consistently with other bindings, this hasn't always happened, so you can make zero assumptions about

[PATCH 2/4] am335x-boneblack: add eMMC DT entry

2013-09-12 Thread Koen Kooi
The pinmux is specified in am335x-bone-common.dtsi to be reused by the eMMC cape. Signed-off-by: Koen Kooi k...@dominion.thruhere.net --- Changes since v2: add missing pinmux entries Changes since v1: dropped the ti,non-removable entry per Sekhars request

[RFC PATCH 3/4] ARM: DTS: DRA: Replace peripheral interrupt numbers with crossbar inputs.

2013-09-12 Thread Sricharan R
Now with the crossbar IP in picture, the peripherals do not have the fixed interrupt lines. Instead they rely on the crossbar irqchip to allocate and map a free interrupt line to its crossbar input. So replacing all the peripheral interrupt numbers with its fixed crossbar input lines.

[PATCH 4/4] ARM: dts: am335x-bone-common: add cpu0 and mmc1 triggers

2013-09-12 Thread Koen Kooi
This matches the vendor 3.8.x configuration that is shipping with the boards. The LED layout is now: USR0: heartbeat USR1: mmc0 (micro-SD slot) USR2: cpu0 USR3: mmc1 (eMMC) The cpu0 triggers was put inbetween the mmc triggers to make is easier to see where the disk activity is. Signed-off-by:

[PATCHv3 0/2] ARM: dts: Beaglebone MMC fixes

2013-09-12 Thread Koen Kooi
Here are two patches to fix MMC on beaglebone, one fixes card detect on BBW, the other adds the eMMC entry for BBB and its fixed regulator. After that mmc1 gets a nice speed boost by moving to 4-bit mode and LED triggers get assigned. This series depends on:

Re: [PATCH 3/4] ARM: am335x-bone-common: switch mmc1 to 4-bit mode

2013-09-12 Thread Nishanth Menon
nitpick minor comment: $subject: ARM: dts: am335x-bone-common: switch mmc1 to 4-bit mode On 09/12/2013 10:42 AM, Koen Kooi wrote: The micro-SD slot hooks up all four data pins so lets' use them. Signed-off-by: Koen Kooi k...@dominion.thruhere.net ---

Re: [PATCH 1/4] arm: bone: dts: add CD for mmc1

2013-09-12 Thread Nishanth Menon
nitpick minor comment: $subject: ARM: dts: am335x-bone: add card detect for mmc1 btw, please use V3 in $subject next time. --subject-prefix PATCH V3 when generating patch should do the job. On 09/12/2013 10:42 AM, Koen Kooi wrote: From: Alexander Holler hol...@ahsoftware.de This enables the

Re: [PATCH 2/4] am335x-boneblack: add eMMC DT entry

2013-09-12 Thread Nishanth Menon
Nitpick minor comment: $subject: ARM: dts: am335x-boneblack: add eMMC DT entry On 09/12/2013 10:42 AM, Koen Kooi wrote: The pinmux is specified in am335x-bone-common.dtsi to be reused by the eMMC cape. Also might want to state that vmmcsd_fixed 3.3 voltage rail is present in BeagleBone White

Re: [PATCH 4/4] ARM: dts: am335x-bone-common: add cpu0 and mmc1 triggers

2013-09-12 Thread Nishanth Menon
On 09/12/2013 10:42 AM, Koen Kooi wrote: This matches the vendor 3.8.x configuration that is shipping with the boards. The LED layout is now: USR0: heartbeat USR1: mmc0 (micro-SD slot) USR2: cpu0 USR3: mmc1 (eMMC) The cpu0 triggers was put inbetween the mmc triggers to make is easier

[PATCH 3/4] ARM: am335x-bone-common: switch mmc1 to 4-bit mode

2013-09-12 Thread Koen Kooi
The micro-SD slot hooks up all four data pins so lets' use them. Signed-off-by: Koen Kooi k...@dominion.thruhere.net --- arch/arm/boot/dts/am335x-bone-common.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/am335x-bone-common.dtsi

[RFC PATCH 1/4] DRIVERS: IRQCHIP: Add crossbar irqchip driver

2013-09-12 Thread Sricharan R
Some socs have a large number of interrupts requests to service the needs of its many peripherals and subsystems. All of the interrupt lines from the subsystems are not needed at the same time, so they have to be muxed to the irq-controller appropriately. In such places a interrupt controllers are

[PATCH v4 0/2] ARM: dts: Beaglebone MMC fixes

2013-09-12 Thread Koen Kooi
Here are two patches to fix MMC on beaglebone, one fixes card detect on BBW, the other adds the eMMC entry for BBB and its fixed regulator. After that mmc1 gets a nice speed boost by moving to 4-bit mode and LED triggers get assigned. This series depends on:

[PATCH v4 1/4] ARM: dts: am335x-bone: add CD for mmc1

2013-09-12 Thread Koen Kooi
From: Alexander Holler hol...@ahsoftware.de This enables the use of MMC cards even when no card was inserted at boot. Signed-off-by: Alexander Holler hol...@ahsoftware.de Signed-off-by: Koen Kooi k...@dominion.thruhere.net --- arch/arm/boot/dts/am335x-bone-common.dtsi | 14 ++

[PATCH v4 4/4] ARM: dts: am335x-bone-common: add cpu0 and mmc1 triggers

2013-09-12 Thread Koen Kooi
This matches the vendor 3.8.x configuration that is shipping with the boards. The LED layout is now: USR0: heartbeat USR1: mmc0 (micro-SD slot) USR2: cpu0 USR3: mmc1 (eMMC) The cpu0 triggers was put in between the mmc triggers to make is easier to see where the disk activity is. Signed-off-by:

[PATCH v4 3/4] ARM: dts: am335x-bone-common: switch mmc1 to 4-bit mode

2013-09-12 Thread Koen Kooi
The micro-SD slot hooks up all four data pins so lets' use them. Signed-off-by: Koen Kooi k...@dominion.thruhere.net --- arch/arm/boot/dts/am335x-bone-common.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/am335x-bone-common.dtsi

[PATCH v4 2/4] ARM: dts: am335x-boneblack: add eMMC DT entry

2013-09-12 Thread Koen Kooi
The pinmux is specified in am335x-bone-common.dtsi to be reused by the eMMC cape. Signed-off-by: Koen Kooi k...@dominion.thruhere.net --- arch/arm/boot/dts/am335x-bone-common.dtsi | 22 ++ arch/arm/boot/dts/am335x-boneblack.dts| 14 ++ 2 files changed, 36

Re: [PATCH v4 0/2] ARM: dts: Beaglebone MMC fixes

2013-09-12 Thread Nishanth Menon
On 09/12/2013 01:35 PM, Koen Kooi wrote: Here are two patches to fix MMC on beaglebone, one fixes card detect on BBW, the other adds the eMMC entry for BBB and its fixed regulator. After that mmc1 gets a nice speed boost by moving to 4-bit mode and LED triggers get assigned. This series

Re: [RFC PATCH 1/4] DRIVERS: IRQCHIP: Add crossbar irqchip driver

2013-09-12 Thread Thomas Gleixner
On Thu, 12 Sep 2013, Sricharan R wrote: Signed-off-by: Sricharan R r.sricha...@ti.com --- There is lockdep warning during the boot. This is because we try to do one request_irq with in another and that results in kmalloc being called from an atomic context, which generates the warning. Any

Re: [RFC PATCH 1/4] DRIVERS: IRQCHIP: Add crossbar irqchip driver

2013-09-12 Thread Santosh Shilimkar
Thomas, On Thursday 12 September 2013 04:18 PM, Thomas Gleixner wrote: On Thu, 12 Sep 2013, Sricharan R wrote: Signed-off-by: Sricharan R r.sricha...@ti.com --- There is lockdep warning during the boot. This is because we try to do one request_irq with in another and that results in kmalloc

Re: [RFC PATCH 1/4] DRIVERS: IRQCHIP: Add crossbar irqchip driver

2013-09-12 Thread Felipe Balbi
On Thu, Sep 12, 2013 at 09:09:08PM +0530, Sricharan R wrote: +unsigned int crossbar_request_irq(struct irq_data *d) +{ + int cb_no = d-hwirq; + int virq = allocate_free_irq(cb_no); + void *irq = cb-crossbar_map[cb_no].hwirq; + int err; + + err =

Re: [RFC PATCH 1/4] DRIVERS: IRQCHIP: Add crossbar irqchip driver

2013-09-12 Thread Thomas Gleixner
On Thu, 12 Sep 2013, Felipe Balbi wrote: On Thu, Sep 12, 2013 at 09:09:08PM +0530, Sricharan R wrote: +unsigned int crossbar_request_irq(struct irq_data *d) +{ + int cb_no = d-hwirq; + int virq = allocate_free_irq(cb_no); + void *irq = cb-crossbar_map[cb_no].hwirq; + int err;

Re: [RFC PATCH 1/4] DRIVERS: IRQCHIP: Add crossbar irqchip driver

2013-09-12 Thread Thomas Gleixner
On Thu, 12 Sep 2013, Thomas Gleixner wrote: On Thu, 12 Sep 2013, Felipe Balbi wrote: On Thu, Sep 12, 2013 at 09:09:08PM +0530, Sricharan R wrote: +unsigned int crossbar_request_irq(struct irq_data *d) +{ + int cb_no = d-hwirq; + int virq = allocate_free_irq(cb_no); + void *irq

Re: [PATCH v4 0/2] ARM: dts: Beaglebone MMC fixes

2013-09-12 Thread Kevin Hilman
Koen Kooi k...@dominion.thruhere.net writes: Here are two patches to fix MMC on beaglebone, one fixes card detect on BBW, the other adds the eMMC entry for BBB and its fixed regulator. After that mmc1 gets a nice speed boost by moving to 4-bit mode and LED triggers get assigned. This series

Re: [RFC PATCH 1/4] DRIVERS: IRQCHIP: Add crossbar irqchip driver

2013-09-12 Thread Thomas Gleixner
On Thu, 12 Sep 2013, Santosh Shilimkar wrote: Specifically for the IRQ case addressed here, the cross-bar IP sits between the interrupt controller and peripheral interrupts. CPU -- GIC - CROSSBAR - PERIPHERAL IRQs Just to expand it better, cross-bar input IRQ lines are more than

Re: [RFC PATCH 1/4] DRIVERS: IRQCHIP: Add crossbar irqchip driver

2013-09-12 Thread Santosh Shilimkar
On Thursday 12 September 2013 06:22 PM, Thomas Gleixner wrote: On Thu, 12 Sep 2013, Santosh Shilimkar wrote: Specifically for the IRQ case addressed here, the cross-bar IP sits between the interrupt controller and peripheral interrupts. CPU -- GIC - CROSSBAR - PERIPHERAL IRQs Just

Re: [RFC PATCH 1/4] DRIVERS: IRQCHIP: Add crossbar irqchip driver

2013-09-12 Thread Thomas Gleixner
On Thu, 12 Sep 2013, Santosh Shilimkar wrote: On Thursday 12 September 2013 06:22 PM, Thomas Gleixner wrote: Now the real question is, how that expansion mechanism is supposed to work. There are two possible scenarios: 1) Expand the number of handled interrupts beyond the GIC capacity:

Re: [RFC PATCH 1/4] DRIVERS: IRQCHIP: Add crossbar irqchip driver

2013-09-12 Thread Santosh Shilimkar
On Thursday 12 September 2013 08:26 PM, Thomas Gleixner wrote: On Thu, 12 Sep 2013, Santosh Shilimkar wrote: On Thursday 12 September 2013 06:22 PM, Thomas Gleixner wrote: Now the real question is, how that expansion mechanism is supposed to work. There are two possible scenarios: 1) Expand