Re: [PATCHv10 01/41] clk: add support for platform specific clock I/O wrapper functions

2013-12-16 Thread Tero Kristo
On 12/15/2013 02:48 AM, Mike Turquette wrote: Quoting Tero Kristo (2013-11-26 00:05:42) Current clock wrappers assume simple and direct mapped hardware register access. Improve this support by adding functionality for registering platform specific clock I/O wrappers, which can be used to

Re: [PATCHv10 00/41] ARM: TI SoC clock DT conversion

2013-12-16 Thread Tero Kristo
On 12/15/2013 06:35 AM, Mike Turquette wrote: Quoting Tero Kristo (2013-11-26 00:05:41) Hi, Hi Tero, Thanks for your long suffering patience on this series. The clock patches look very good to me with exception of a few small comments. Let me know how I can help with the hierarchal DT stuff

Re: [PATCHv10 10/41] CLK: TI: add support for clockdomain binding

2013-12-16 Thread Tero Kristo
On 12/15/2013 06:23 AM, Mike Turquette wrote: Quoting Tero Kristo (2013-11-26 00:05:51) Some OMAP clocks require knowledge about their parent clockdomain for book keeping purposes. This patch creates a new DT binding for TI clockdomains, which act as a collection of device clocks.

Re: [PATCH] omap: twl-common: Fix musb-hdrc device name.

2013-12-16 Thread Kishon Vijay Abraham I
Hi, On Friday 13 December 2013 11:06 PM, Tony Lindgren wrote: * Kishon Vijay Abraham I kis...@ti.com [131213 03:57]: On Friday 13 December 2013 04:57 PM, Belisko Marek wrote: Kishon can you please comment on that? Would be possible to get your patch to 3.13 (I seen some comments from Felipe).

Re: [PATCH] cpufreq: omap: clk_round_rate() can return a zero upon error

2013-12-16 Thread Viresh Kumar
On 10 December 2013 07:48, Paul Walmsley pwalms...@nvidia.com wrote: Treat both negative and zero return values from clk_round_rate() as errors. This is needed since subsequent patches will convert clk_round_rate()'s return value to be an unsigned type, rather than a signed type, since some

Re: [RFCv4 06/11] misc: Introduce Nokia CMT driver

2013-12-16 Thread Linus Walleij
On Mon, Dec 16, 2013 at 12:27 AM, Sebastian Reichel s...@debian.org wrote: Add driver handling GPIO pins of Nokia modems. The driver provides reset notifications, so that SSI clients can subscribe to them easily. Signed-off-by: Sebastian Reichel s...@debian.org If the driver provides reset

Re: WG: [PATCH] usb: musb: omap2430: fix occasional musb breakage on boot

2013-12-16 Thread Grazvydas Ignotas
On Fri, Dec 13, 2013 at 6:27 PM, Andreas Naumann d...@andin.de wrote: On 13.12.2013 13:34, Grazvydas Ignotas wrote: Hmm I don't know about that, this would be inconsistent with what all other OMAP drivers do. Maybe we should do what musb_core.c does just Ok, thats cool. to be consistent

Re: [PATCH 13/26] ARM: omap3.dtsi: add omapdss information

2013-12-16 Thread Tomi Valkeinen
On 2013-12-13 05:24, Laurent Pinchart wrote: Then DPI, which I think is mostly just level shifters. It's really just a port, as you say. SDI is a bit unclear to me. The registers for it are in the dss_core. There's only a few registers, but it does have a PHY and a PLL. But I guess it's

Re: [PATCHv10 22/41] ARM: dts: omap5 clock data

2013-12-16 Thread Paul Walmsley
On Tue, 26 Nov 2013, Tero Kristo wrote: This patch creates a unique node for each clock in the OMAP5 power, reset and clock manager (PRCM). ... +cm_core_aon { + pad_clks_src_ck: pad_clks_src_ck { + #clock-cells = 0; + compatible = fixed-clock; +

Re: [PATCHv10 22/41] ARM: dts: omap5 clock data

2013-12-16 Thread Tero Kristo
On 12/16/2013 12:51 PM, Paul Walmsley wrote: On Tue, 26 Nov 2013, Tero Kristo wrote: This patch creates a unique node for each clock in the OMAP5 power, reset and clock manager (PRCM). ... +cm_core_aon { + pad_clks_src_ck: pad_clks_src_ck { + #clock-cells = 0; +

Re: [PATCH 2/5] phy: add support for indexed lookup

2013-12-16 Thread Kishon Vijay Abraham I
Hi, On Monday 09 December 2013 08:38 PM, Heikki Krogerus wrote: Removes the need for the consumer drivers requesting the phys to provide name for the phy. This should ease the use of the framework considerable when using only one phy, which is usually the case when except with USB, but it can

Re: [PATCH 4/5] arm: omap3: twl: use the new lookup method with usb phy

2013-12-16 Thread Kishon Vijay Abraham I
Hi, On Monday 09 December 2013 08:38 PM, Heikki Krogerus wrote: Provide a complete association for the phy and it's user (musb) with the new phy_lookup_table. Signed-off-by: Heikki Krogerus heikki.kroge...@linux.intel.com --- arch/arm/mach-omap2/twl-common.c | 15 ++- 1 file

[PATCH v6 1/3] mmc: omap_hsmmc: Enable SDIO IRQ.

2013-12-16 Thread Andreas Fenkart
For now, only support SDIO interrupt if we are booted with DT. This is because some platforms need special quirks. And we don't want to add new legacy mux platform init code callbacks any longer as we are moving to DT based booting anyways. Signed-off-by: Andreas Fenkart afenk...@gmail.com ---

[PATCH v6 2/3] mmc: omap_hsmmc: Pin remux workaround to support SDIO interrupt on AM335x.

2013-12-16 Thread Andreas Fenkart
The am335x can't detect pending cirq in PM runtime suspend. This patch reconfigures dat1 as a GPIO before going to suspend. SDIO interrupts are detected with the GPIO, the GPIO will only wake the module from suspend, SDIO irq detection will still happen through the IP block. Idea of remuxing

[PATCH v6 3/3] mmc: omap_hsmmc: Extend debugfs for SDIO IRQ, GPIO and pinmux.

2013-12-16 Thread Andreas Fenkart
Add SDIO IRQ entries to debugfs entry. Note that PSTATE shows current state of data lines, incl. SDIO IRQ pending Signed-off-by: Andreas Fenkart afenk...@gmail.com --- drivers/mmc/host/omap_hsmmc.c | 17 ++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git

Re: [RFCv4 06/11] misc: Introduce Nokia CMT driver

2013-12-16 Thread Sebastian Reichel
Hi Linus, On Mon, Dec 16, 2013 at 10:48:06AM +0100, Linus Walleij wrote: On Mon, Dec 16, 2013 at 12:27 AM, Sebastian Reichel s...@debian.org wrote: Add driver handling GPIO pins of Nokia modems. The driver provides reset notifications, so that SSI clients can subscribe to them easily.

Re: [RFCv4 06/11] misc: Introduce Nokia CMT driver

2013-12-16 Thread Linus Walleij
On Mon, Dec 16, 2013 at 1:15 PM, Sebastian Reichel s...@debian.org wrote: On Mon, Dec 16, 2013 at 10:48:06AM +0100, Linus Walleij wrote: I.e. it doesn't look device-specific at all, just like some generic glue code that could be useful to many such scenarios. I like the idea. Probably the

Re: [PATCH 13/26] ARM: omap3.dtsi: add omapdss information

2013-12-16 Thread Laurent Pinchart
Hi Tomi, On Monday 16 December 2013 12:49:03 Tomi Valkeinen wrote: On 2013-12-13 05:24, Laurent Pinchart wrote: Then DPI, which I think is mostly just level shifters. It's really just a port, as you say. SDI is a bit unclear to me. The registers for it are in the dss_core. There's

Re: [PATCH] ARM: dts: Add support for sbc-3xxx with cm-t3730

2013-12-16 Thread Igor Grinberg
Hi Tony, On 12/13/13 21:22, Tony Lindgren wrote: This adds support for CompuLab SBC-T3530, also known as cm-t3730: http://compulab.co.il/products/sbcs/sbc-t3530/ It seems that with the sbc-3xxx mainboard is also used on SBC-T3517 and SBC-T3730 with just a different CPU module:

Re: [PATCH 2/5] phy: add support for indexed lookup

2013-12-16 Thread Heikki Krogerus
Hi Kishon, On Mon, Dec 16, 2013 at 04:32:58PM +0530, Kishon Vijay Abraham I wrote: On Monday 09 December 2013 08:38 PM, Heikki Krogerus wrote: Removes the need for the consumer drivers requesting the phys to provide name for the phy. This should ease the use of the framework considerable

Re: [PATCH 4/5] arm: omap3: twl: use the new lookup method with usb phy

2013-12-16 Thread Heikki Krogerus
Hi, On Mon, Dec 16, 2013 at 04:34:35PM +0530, Kishon Vijay Abraham I wrote: On Monday 09 December 2013 08:38 PM, Heikki Krogerus wrote: Provide a complete association for the phy and it's user (musb) with the new phy_lookup_table. Signed-off-by: Heikki Krogerus

[PATCHv2 13/27] ARM: omap3.dtsi: add omapdss information

2013-12-16 Thread Tomi Valkeinen
Signed-off-by: Tomi Valkeinen tomi.valkei...@ti.com --- arch/arm/boot/dts/omap3.dtsi | 35 +++ 1 file changed, 35 insertions(+) diff --git a/arch/arm/boot/dts/omap3.dtsi b/arch/arm/boot/dts/omap3.dtsi index daabf99d402a..c646fa9ae5d3 100644 ---

[PATCHv2 05/27] OMAPDSS: get dssdev-alias from DT alias

2013-12-16 Thread Tomi Valkeinen
We currently create a displayX style alias name for all displays, using a number that is incremented for each registered display. With the new DSS device model there is no clear order in which the displays are registered, and thus the numbering is somewhat random. This patch improves the behavior

[PATCHv2 15/27] ARM: omap4-panda.dts: add display information

2013-12-16 Thread Tomi Valkeinen
Signed-off-by: Tomi Valkeinen tomi.valkei...@ti.com --- arch/arm/boot/dts/omap4-panda-common.dtsi | 121 +- 1 file changed, 117 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/omap4-panda-common.dtsi b/arch/arm/boot/dts/omap4-panda-common.dtsi index

[PATCHv2 09/27] OMAPDSS: Add DT support to DSS, DISPC, DPI and SDI.

2013-12-16 Thread Tomi Valkeinen
Signed-off-by: Tomi Valkeinen tomi.valkei...@ti.com --- drivers/video/omap2/dss/dispc.c | 7 + drivers/video/omap2/dss/dpi.c | 47 ++ drivers/video/omap2/dss/dss.c | 63 + drivers/video/omap2/dss/dss.h | 6

[PATCHv2 23/27] OMAPDSS: connector-dvi: Add DT support

2013-12-16 Thread Tomi Valkeinen
Signed-off-by: Tomi Valkeinen tomi.valkei...@ti.com --- drivers/video/omap2/displays-new/connector-dvi.c | 43 1 file changed, 43 insertions(+) diff --git a/drivers/video/omap2/displays-new/connector-dvi.c b/drivers/video/omap2/displays-new/connector-dvi.c index

[PATCHv2 12/27] OMAPDSS: Add DT support to DSI

2013-12-16 Thread Tomi Valkeinen
Add the code to make the DSI driver work with device tree on OMAP3 and OMAP4. A minor hack is needed at the moment in the DSI driver: the DSS driver needs to know the ID number of a DSI device, as clocks are routed in different ways to the DSI devices. At the moment we don't have any proper way

[PATCHv2 01/27] ARM: OMAP: remove DSS DT hack

2013-12-16 Thread Tomi Valkeinen
As a temporary solution to enable DSS for selected boards when booting with DT, a hack was added to board-generic.c in 63d5fc0c2f748e20f38a0a0ec1c8494bddf5c288 (OMAP: board-generic: enable DSS for panda sdp boards). We're now adding proper DT support, so the hack can be removed. Signed-off-by:

[PATCHv2 10/27] OMAPDSS: Add DT support to HDMI

2013-12-16 Thread Tomi Valkeinen
Signed-off-by: Tomi Valkeinen tomi.valkei...@ti.com --- drivers/video/omap2/dss/hdmi4.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/video/omap2/dss/hdmi4.c b/drivers/video/omap2/dss/hdmi4.c index 16e598787522..97dd05f602f7 100644 --- a/drivers/video/omap2/dss/hdmi4.c +++

[PATCHv2 17/27] ARM: omap3-tobi.dts: add lcd (TEST)

2013-12-16 Thread Tomi Valkeinen
This is a test for Overo with Palo43 expansion, _not_ Tobi. Palo43 doesn't have a dts, but seems to work ok with omap3-tobi.dts, so I used it as a test. Not to be merged. Signed-off-by: Tomi Valkeinen tomi.valkei...@ti.com --- arch/arm/boot/dts/omap3-tobi.dts | 47

[PATCHv2 02/27] OMAPDSS: remove DT hacks for regulators

2013-12-16 Thread Tomi Valkeinen
For booting Panda and 4430SDP with DT, while DSS did not support DT, we had to had small hacks in the omapdss driver to get the regulators. With DT now supported in DSS, we can remove those hacks. Signed-off-by: Tomi Valkeinen tomi.valkei...@ti.com --- drivers/video/omap2/dss/dsi.c | 5 -

[PATCHv2 06/27] OMAPFB: clean up default display search

2013-12-16 Thread Tomi Valkeinen
Separate the code for finding the default display into a function for clarity and to make it easier to extend it in the future. Signed-off-by: Tomi Valkeinen tomi.valkei...@ti.com --- drivers/video/omap2/omapfb/omapfb-main.c | 46 1 file changed, 29

[PATCHv2 18/27] ARM: omap3-beagle.dts: add display information

2013-12-16 Thread Tomi Valkeinen
Signed-off-by: Tomi Valkeinen tomi.valkei...@ti.com --- arch/arm/boot/dts/omap3-beagle.dts | 115 + 1 file changed, 115 insertions(+) diff --git a/arch/arm/boot/dts/omap3-beagle.dts b/arch/arm/boot/dts/omap3-beagle.dts index 3ba4a625ea5b..b4057762cedd 100644

[PATCHv2 27/27] OMAPDSS: connector-analog-tv: Add DT support

2013-12-16 Thread Tomi Valkeinen
Signed-off-by: Tomi Valkeinen tomi.valkei...@ti.com --- .../video/omap2/displays-new/connector-analog-tv.c | 66 +- 1 file changed, 65 insertions(+), 1 deletion(-) diff --git a/drivers/video/omap2/displays-new/connector-analog-tv.c

[PATCHv2 25/27] OMAPDSS: hdmi-connector: Add DT support

2013-12-16 Thread Tomi Valkeinen
Signed-off-by: Tomi Valkeinen tomi.valkei...@ti.com --- drivers/video/omap2/displays-new/connector-hdmi.c | 30 +++ 1 file changed, 30 insertions(+) diff --git a/drivers/video/omap2/displays-new/connector-hdmi.c b/drivers/video/omap2/displays-new/connector-hdmi.c index

[PATCHv2 24/27] OMAPDSS: encoder-tpd12s015: Add DT support

2013-12-16 Thread Tomi Valkeinen
Signed-off-by: Tomi Valkeinen tomi.valkei...@ti.com --- .../video/omap2/displays-new/encoder-tpd12s015.c | 56 ++ 1 file changed, 56 insertions(+) diff --git a/drivers/video/omap2/displays-new/encoder-tpd12s015.c b/drivers/video/omap2/displays-new/encoder-tpd12s015.c index

[PATCHv2 20/27] ARM: omap3-igep0020.dts: add display information

2013-12-16 Thread Tomi Valkeinen
From: Javier Martinez Canillas javier.marti...@collabora.co.uk The IGEPv2 has a TFP410 DPI-to-DVI encoder attached to OMAP's Display SubSystem (DSS). Add DeviceTree nodes for these devices. Signed-off-by: Javier Martinez Canillas javier.marti...@collabora.co.uk Signed-off-by: Tomi Valkeinen

[PATCHv2 14/27] ARM: omap4.dtsi: add omapdss information

2013-12-16 Thread Tomi Valkeinen
Signed-off-by: Tomi Valkeinen tomi.valkei...@ti.com --- arch/arm/boot/dts/omap4.dtsi | 54 1 file changed, 54 insertions(+) diff --git a/arch/arm/boot/dts/omap4.dtsi b/arch/arm/boot/dts/omap4.dtsi index a1e05853afcd..a515f524ef3a 100644 ---

[PATCHv2 19/27] ARM: omap3-beagle-xm.dts: add display information

2013-12-16 Thread Tomi Valkeinen
Signed-off-by: Tomi Valkeinen tomi.valkei...@ti.com --- arch/arm/boot/dts/omap3-beagle-xm.dts | 118 ++ 1 file changed, 118 insertions(+) diff --git a/arch/arm/boot/dts/omap3-beagle-xm.dts b/arch/arm/boot/dts/omap3-beagle-xm.dts index df33a50bc070..60430e8229a9

[PATCHv2 00/27] OMAPDSS: DT support v2

2013-12-16 Thread Tomi Valkeinen
Hi, Here's version 2 of the DSS DT series. Hopefully I have fixed all the issues that were found with v1 (http://article.gmane.org/gmane.linux.ports.arm.omap/108249), except missing binding documentation and lacking patch descriptions. The main changes are: - DPI and SDI are no longer dummy

[PATCHv2 11/27] OMAPDSS: Add DT support to VENC

2013-12-16 Thread Tomi Valkeinen
Signed-off-by: Tomi Valkeinen tomi.valkei...@ti.com --- drivers/video/omap2/dss/venc.c | 34 ++ 1 file changed, 34 insertions(+) diff --git a/drivers/video/omap2/dss/venc.c b/drivers/video/omap2/dss/venc.c index 5f88ac47b7fa..12185fb6da0e 100644 ---

[PATCHv2 26/27] OMAPDSS: panel-dpi: Add DT support

2013-12-16 Thread Tomi Valkeinen
Signed-off-by: Tomi Valkeinen tomi.valkei...@ti.com --- drivers/video/omap2/displays-new/panel-dpi.c | 64 +++- 1 file changed, 63 insertions(+), 1 deletion(-) diff --git a/drivers/video/omap2/displays-new/panel-dpi.c b/drivers/video/omap2/displays-new/panel-dpi.c index

[PATCHv2 22/27] OMAPDSS: encoder-tfp410: Add DT support

2013-12-16 Thread Tomi Valkeinen
Signed-off-by: Tomi Valkeinen tomi.valkei...@ti.com --- drivers/video/omap2/displays-new/encoder-tfp410.c | 43 ++- 1 file changed, 42 insertions(+), 1 deletion(-) diff --git a/drivers/video/omap2/displays-new/encoder-tfp410.c

[PATCHv2 08/27] OMAPDSS: add of helpers

2013-12-16 Thread Tomi Valkeinen
Add helpers to get ports and endpoints from DT data. Signed-off-by: Tomi Valkeinen tomi.valkei...@ti.com --- drivers/video/omap2/dss/Makefile | 2 +- drivers/video/omap2/dss/dss-of.c | 162 +++ include/video/omapdss.h | 14 3 files changed,

[PATCHv2 04/27] OMAPDSS: add 'label' support for DT

2013-12-16 Thread Tomi Valkeinen
Add support to get the label (i.e. a nickname) for a display from the DT data. If there is no label defined, use the display's alias (e.g. 'display0') as a name. Signed-off-by: Tomi Valkeinen tomi.valkei...@ti.com --- drivers/video/omap2/dss/display.c | 9 + 1 file changed, 9

Re: [PATCH] cpufreq: omap: clk_round_rate() can return a zero upon error

2013-12-16 Thread Santosh Shilimkar
On Monday 09 December 2013 09:18 PM, Paul Walmsley wrote: Treat both negative and zero return values from clk_round_rate() as errors. This is needed since subsequent patches will convert clk_round_rate()'s return value to be an unsigned type, rather than a signed type, since some clock

[PATCHv2 03/27] ARM: OMAP2+: add omapdss_init_of()

2013-12-16 Thread Tomi Valkeinen
omapdss driver uses a omapdss platform device to pass platform specific function pointers and DSS hardware version from the arch code to the driver. This device is needed also when booting with DT. This patch adds omapdss_init_of() function, called from board-generic at init time, which creates

[PATCHv2 16/27] ARM: omap4-sdp.dts: add display information

2013-12-16 Thread Tomi Valkeinen
Signed-off-by: Tomi Valkeinen tomi.valkei...@ti.com --- arch/arm/boot/dts/omap4-sdp.dts | 116 1 file changed, 116 insertions(+) diff --git a/arch/arm/boot/dts/omap4-sdp.dts b/arch/arm/boot/dts/omap4-sdp.dts index c13ada99e0bc..bdfab844533b 100644 ---

[PATCHv2 07/27] OMAPFB: search for default display with DT alias

2013-12-16 Thread Tomi Valkeinen
Improve the search for the default display in two ways: * compare the given display name to the display's alias * if no display name is given, look for display0 DT alias Signed-off-by: Tomi Valkeinen tomi.valkei...@ti.com --- drivers/video/omap2/omapfb/omapfb-main.c | 23 ++-

[PATCHv2 21/27] OMAPDSS: panel-dsi-cm: Add DT support

2013-12-16 Thread Tomi Valkeinen
XXX ULPS and backlight missing. Signed-off-by: Tomi Valkeinen tomi.valkei...@ti.com --- drivers/video/omap2/displays-new/panel-dsi-cm.c | 65 +++-- 1 file changed, 61 insertions(+), 4 deletions(-) diff --git a/drivers/video/omap2/displays-new/panel-dsi-cm.c

Re: [PATCH] omap: twl-common: Fix musb-hdrc device name.

2013-12-16 Thread Kishon Vijay Abraham I
On Monday 16 December 2013 02:22 PM, Kishon Vijay Abraham I wrote: Hi, On Friday 13 December 2013 11:06 PM, Tony Lindgren wrote: * Kishon Vijay Abraham I kis...@ti.com [131213 03:57]: On Friday 13 December 2013 04:57 PM, Belisko Marek wrote: Kishon can you please comment on that? Would be

Re: [PATCH v2 01/15] mfd: menelaus: Drop __exit section annotation

2013-12-16 Thread Lee Jones
Are you planning on re-submitting this patch-set anytime soon? I thought Tony said it was important? -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog -- To unsubscribe from this list: send the line

[PATCH v3 2/2] arm: omap: remove *.auto* from device names given in usb_bind_phy

2013-12-16 Thread Kishon Vijay Abraham I
commit 2f7711 (usb: musb: remove hand-crafted id handling) used PLATFORM_DEVID_AUTO while creating MUSB core device. So commit 51482b (ARM: OMAP: USB: Add phy binding information) added usb_bind_phy (binds the controller with the PHY) in the board files, with *.auto* in the device name of the

[PATCH v3 1/2] usb: musb: omap: remove using PLATFORM_DEVID_AUTO in omap2430.c

2013-12-16 Thread Kishon Vijay Abraham I
commit 2f7711 (usb: musb: remove hand-crafted id handling) used PLATFORM_DEVID_AUTO while creating MUSB core device. After the platform devices are created using PLATFORM_DEVID_AUTO, the device names given in usb_bind_phy (in board file) does not match with the actual device name causing the USB

[PATCH v3 0/2] usb: fix controller-PHY binding for OMAP3 platform

2013-12-16 Thread Kishon Vijay Abraham I
After the platform devices are created using PLATFORM_DEVID_AUTO, the device names given in usb_bind_phy (in board file) does not match with the actual device name causing the USB PHY library not to return the PHY reference when the MUSB controller request for the PHY in the non-dt boot case. So

Re: [RFCv4 06/11] misc: Introduce Nokia CMT driver

2013-12-16 Thread Sebastian Reichel
Hi, On Mon, Dec 16, 2013 at 02:31:53PM +0100, Linus Walleij wrote: I am very reluctant in letting device trees specify exports of GPIOs to userspace, not so much because it's Linux-specific but for the fact that people are doing things in userspace that should not be done in userspace.

Re: [PATCHv2 01/27] ARM: OMAP: remove DSS DT hack

2013-12-16 Thread Tony Lindgren
* Tomi Valkeinen tomi.valkei...@ti.com [131216 06:59]: As a temporary solution to enable DSS for selected boards when booting with DT, a hack was added to board-generic.c in 63d5fc0c2f748e20f38a0a0ec1c8494bddf5c288 (OMAP: board-generic: enable DSS for panda sdp boards). We're now adding

Re: [PATCHv2 02/27] OMAPDSS: remove DT hacks for regulators

2013-12-16 Thread Tony Lindgren
* Tomi Valkeinen tomi.valkei...@ti.com [131216 06:59]: For booting Panda and 4430SDP with DT, while DSS did not support DT, we had to had small hacks in the omapdss driver to get the regulators. With DT now supported in DSS, we can remove those hacks. This too we should probably keep for a

Re: [PATCHv2 03/27] ARM: OMAP2+: add omapdss_init_of()

2013-12-16 Thread Tony Lindgren
* Tomi Valkeinen tomi.valkei...@ti.com [131216 07:02]: omapdss driver uses a omapdss platform device to pass platform specific function pointers and DSS hardware version from the arch code to the driver. This device is needed also when booting with DT. This patch adds omapdss_init_of()

Re: [PATCH] ARM: dts: Add support for sbc-3xxx with cm-t3730

2013-12-16 Thread Tony Lindgren
* Igor Grinberg grinb...@compulab.co.il [131216 05:57]: On 12/13/13 21:22, Tony Lindgren wrote: SB-T35 has only one SMSC Ethernet on-board (smsc2), while the first one is on the cm-t3530 and cm-t3730 modules. SBC-T3517 has only one _SMSC_ Ethernet and it is on the SB-T35 base board.

Re: [PATCH v3 0/2] usb: fix controller-PHY binding for OMAP3 platform

2013-12-16 Thread Felipe Balbi
Hi, On Mon, Dec 16, 2013 at 09:23:43PM +0530, Kishon Vijay Abraham I wrote: After the platform devices are created using PLATFORM_DEVID_AUTO, the device names given in usb_bind_phy (in board file) does not match with the actual device name causing the USB PHY library not to return the PHY

Re: [PATCH v3 0/2] usb: fix controller-PHY binding for OMAP3 platform

2013-12-16 Thread Tony Lindgren
* Felipe Balbi ba...@ti.com [131216 13:31]: Hi, On Mon, Dec 16, 2013 at 09:23:43PM +0530, Kishon Vijay Abraham I wrote: After the platform devices are created using PLATFORM_DEVID_AUTO, the device names given in usb_bind_phy (in board file) does not match with the actual device name

Re: [PATCH v3 0/2] usb: fix controller-PHY binding for OMAP3 platform

2013-12-16 Thread Felipe Balbi
Hi, On Mon, Dec 16, 2013 at 02:38:27PM -0800, Tony Lindgren wrote: * Felipe Balbi ba...@ti.com [131216 13:31]: Hi, On Mon, Dec 16, 2013 at 09:23:43PM +0530, Kishon Vijay Abraham I wrote: After the platform devices are created using PLATFORM_DEVID_AUTO, the device names given in

[PATCH 06/10] mfd: menelaus: Limit the usage of the_menelaus

2013-12-16 Thread Felipe Balbi
Pass a menelaus_chip pointer as argument to most functions so we can minimize the usage of the global the_menelaus pointer. This will help later getting of the_menelaus altogether. Tested-by: Aaro Koskinen aaro.koski...@iki.fi Signed-off-by: Felipe Balbi ba...@ti.com --- drivers/mfd/menelaus.c |

[PATCH 05/10] mfd: menelaus: Use for_each_set_bit()

2013-12-16 Thread Felipe Balbi
That macro just helps removing some extra line of code and hides ffs() calls. While at that, also fix a variable shadowing bug where 'int irq' was being redeclared inside inner loop while it was also argument to interrupt handler. Tested-by: Aaro Koskinen aaro.koski...@iki.fi Signed-off-by:

[PATCH 09/10] mfd: menelaus: Remove unnecessary definition

2013-12-16 Thread Felipe Balbi
menelaus_i2c_driver isn't referenced on probe, just remove that unnecessary line. No functional changes. Tested-by: Aaro Koskinen aaro.koski...@iki.fi Signed-off-by: Felipe Balbi ba...@ti.com --- drivers/mfd/menelaus.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/mfd/menelaus.c

[PATCH 10/10] mfd: menelaus: IRQ is a requirement

2013-12-16 Thread Felipe Balbi
This driver needs IRQ to work, if client-irq isn't set properly, we won't work. Remove check around request_threaded_irq(). Tested-by: Aaro Koskinen aaro.koski...@iki.fi Signed-off-by: Felipe Balbi ba...@ti.com --- drivers/mfd/menelaus.c | 14 ++ 1 file changed, 6 insertions(+), 8

[PATCH 07/10] mfd: menelaus: Start to use irqdomain

2013-12-16 Thread Felipe Balbi
Introduce an irq_chip and irq_domain for menelaus driver. Following patches will convert uses to traditional request_threaded_irq(). While at that, some better error handling had to be added, so we could free irq descs we allocated. Tested-by: Aaro Koskinen aaro.koski...@iki.fi Signed-off-by:

[PATCH 08/10] mfd: menelaus: Switch all children to threaded_irq

2013-12-16 Thread Felipe Balbi
Now that we have our own irq_chip, all children can use traditional request_threaded_irq(). While at that, also remove so functions which became unused. Tested-by: Aaro Koskinen aaro.koski...@iki.fi Signed-off-by: Felipe Balbi ba...@ti.com --- drivers/mfd/menelaus.c | 161

[PATCH 04/10] mfd: menelaus: Remove unnecessary loop

2013-12-16 Thread Felipe Balbi
We can let irqs refire and give the scheduler a chance to choose when we should be scheduled. Tested-by: Aaro Koskinen aaro.koski...@iki.fi Signed-off-by: Felipe Balbi ba...@ti.com --- drivers/mfd/menelaus.c | 43 +++ 1 file changed, 19 insertions(+), 24

[PATCH 03/10] mfd: menelaus: Convert to threaded irq

2013-12-16 Thread Felipe Balbi
We don't need that extra workqueue when we have generic threaded irq handlers support. This patch just moves over to threaded irqs and deletes the unnecessary workqueue. Tested-by: Aaro Koskinen aaro.koski...@iki.fi Signed-off-by: Felipe Balbi ba...@ti.com --- drivers/mfd/menelaus.c | 34

[PATCH 02/10] mfd: menelaus: Switch over to module_i2c_driver

2013-12-16 Thread Felipe Balbi
Just a macro to remove some boilerplate code, no functional changes. Tested-by: Aaro Koskinen aaro.koski...@iki.fi Signed-off-by: Felipe Balbi ba...@ti.com --- drivers/mfd/menelaus.c | 23 +-- 1 file changed, 1 insertion(+), 22 deletions(-) diff --git

[PATCH 01/10] mfd: menelaus: Drop __exit section annotation

2013-12-16 Thread Felipe Balbi
We could build that driver as a dynamically-linked module. Tested-by: Aaro Koskinen aaro.koski...@iki.fi Signed-off-by: Felipe Balbi ba...@ti.com --- drivers/mfd/menelaus.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mfd/menelaus.c b/drivers/mfd/menelaus.c

Re: [PATCH 05/10] mfd: menelaus: Use for_each_set_bit()

2013-12-16 Thread Felipe Balbi
On Mon, Dec 16, 2013 at 04:17:35PM -0800, Joe Perches wrote: On Mon, 2013-12-16 at 18:08 -0600, Felipe Balbi wrote: That macro just helps removing some extra line of code and hides ffs() calls. While at that, also fix a variable shadowing bug where 'int irq' was being redeclared inside

Re: [PATCH 05/10] mfd: menelaus: Use for_each_set_bit()

2013-12-16 Thread Joe Perches
On Mon, 2013-12-16 at 18:08 -0600, Felipe Balbi wrote: That macro just helps removing some extra line of code and hides ffs() calls. While at that, also fix a variable shadowing bug where 'int irq' was being redeclared inside inner loop while it was also argument to interrupt handler.

Re: [PATCHv2 03/27] ARM: OMAP2+: add omapdss_init_of()

2013-12-16 Thread Tomi Valkeinen
On 2013-12-16 20:46, Tony Lindgren wrote: * Tomi Valkeinen tomi.valkei...@ti.com [131216 07:02]: omapdss driver uses a omapdss platform device to pass platform specific function pointers and DSS hardware version from the arch code to the driver. This device is needed also when booting with DT.

Re: [PATCHv2 02/27] OMAPDSS: remove DT hacks for regulators

2013-12-16 Thread Tomi Valkeinen
On 2013-12-16 20:42, Tony Lindgren wrote: * Tomi Valkeinen tomi.valkei...@ti.com [131216 06:59]: For booting Panda and 4430SDP with DT, while DSS did not support DT, we had to had small hacks in the omapdss driver to get the regulators. With DT now supported in DSS, we can remove those hacks.

Re: [PATCHv2 01/27] ARM: OMAP: remove DSS DT hack

2013-12-16 Thread Tomi Valkeinen
On 2013-12-16 20:41, Tony Lindgren wrote: * Tomi Valkeinen tomi.valkei...@ti.com [131216 06:59]: As a temporary solution to enable DSS for selected boards when booting with DT, a hack was added to board-generic.c in 63d5fc0c2f748e20f38a0a0ec1c8494bddf5c288 (OMAP: board-generic: enable DSS for

OMAP baseline test results for v3.13-rc4

2013-12-16 Thread Paul Walmsley
Here are some basic OMAP test results for Linux v3.13-rc4. Logs and other details at: http://www.pwsan.com/omap/testlogs/test_v3.13-rc4/20131215195251/ Test summary Build: uImage: Pass (14/14): omap1_defconfig, omap1_defconfig_1510innovator_only,

Re: [PATCHv2 08/27] OMAPDSS: add of helpers

2013-12-16 Thread Tomi Valkeinen
On 2013-12-17 09:00, Archit Taneja wrote: +#include dss.h +#include dss_features.h Minor nitpick. The above 2 headers aren't needed. Ah, thanks. Forgot to remove those =). Tomi signature.asc Description: OpenPGP digital signature

Re: [PATCHv2 08/27] OMAPDSS: add of helpers

2013-12-16 Thread Archit Taneja
Hi, On Monday 16 December 2013 08:26 PM, Tomi Valkeinen wrote: Add helpers to get ports and endpoints from DT data. Signed-off-by: Tomi Valkeinen tomi.valkei...@ti.com --- drivers/video/omap2/dss/Makefile | 2 +- drivers/video/omap2/dss/dss-of.c | 162

Re: [PATCHv2 23/27] OMAPDSS: connector-dvi: Add DT support

2013-12-16 Thread Sascha Hauer
Hi Tomi, On Mon, Dec 16, 2013 at 04:56:30PM +0200, Tomi Valkeinen wrote: Signed-off-by: Tomi Valkeinen tomi.valkei...@ti.com --- drivers/video/omap2/displays-new/connector-dvi.c | 43 1 file changed, 43 insertions(+) diff --git

Re: [PATCH] ARM: dts: Add support for sbc-3xxx with cm-t3730

2013-12-16 Thread Igor Grinberg
On 12/16/13 21:17, Tony Lindgren wrote: * Igor Grinberg grinb...@compulab.co.il [131216 05:57]: On 12/13/13 21:22, Tony Lindgren wrote: SB-T35 has only one SMSC Ethernet on-board (smsc2), while the first one is on the cm-t3530 and cm-t3730 modules. SBC-T3517 has only one _SMSC_ Ethernet and

Re: [PATCHv2 23/27] OMAPDSS: connector-dvi: Add DT support

2013-12-16 Thread Tomi Valkeinen
On 2013-12-17 09:05, Sascha Hauer wrote: Hi Tomi, On Mon, Dec 16, 2013 at 04:56:30PM +0200, Tomi Valkeinen wrote: Signed-off-by: Tomi Valkeinen tomi.valkei...@ti.com --- drivers/video/omap2/displays-new/connector-dvi.c | 43 1 file changed, 43 insertions(+)

Re: [GIT PULL] make mach-omap2 boot with device tree only for v3.14

2013-12-16 Thread Paul Walmsley
On Fri, 13 Dec 2013, Tony Lindgren wrote: OK posted a patch for the SBC-T3730 with minimal support also for SBC-3530 and SBC-3517 that should boot far enough to start adding more devices. Paul, care to try it on the CM-T3517, the patch is: [PATCH] ARM: dts: Add support for sbc-3xxx with

Re: [PATCH 0/4] OMAPDSS: DT support for N900 panel

2013-12-16 Thread Tomi Valkeinen
Hi, On 2013-12-13 20:17, Sebastian Reichel wrote: Hi, This patchset adds DT support for the N900 panel. The patchset is based on Tomi's work/dss-dt-2 branch [0]. I suggest to send the DT changes through Benoits queue, since I have more N900 DT changes for 3.14. Also the patch editing the

Re: [PATCH 0/2] v4l: ti-vpe: Some VPE fixes

2013-12-16 Thread Hans Verkuil
On 12/03/2013 12:51 PM, Archit Taneja wrote: This series fixes 2 issues in the VPE driver. The first fix allows us to use UYVY color format for source and destination buffers. The second fix makes sure we don't set pixel format widths which the VPDMA HW can't support. None of these fixes