Re: [PATCH] ARM: dts: duovero-parlor: Add HDMI output

2014-05-21 Thread Florian Vaussard
On 05/20/2014 08:09 PM, Joachim Eastwood wrote: > On 20 May 2014 16:25, Florian Vaussard wrote: >> Add the necessary DTS nodes to enable the micro-HDMI output on Parlor >> board. >> >> Signed-off-by: Florian Vaussard >> --- >> arch/arm/boot/dts/omap4-duovero-parlor.dts | 42 >>

Re: [PATCH] ARM: dts: duovero-parlor: Add HDMI output

2014-05-21 Thread Tomi Valkeinen
On 21/05/14 11:14, Florian Vaussard wrote: >> I think Parlor has one and the "hdmi-connector" binding now supports >> it. See Tomi's 3.16/fbdev-omap branch. >> > > Looking into the details, the HPD pin of the parlor board is connected > to the OMAP4 HDMI IP. The LINK_CONNECT and LINK_DISCONNECT e

Re: [PATCH] ARM: dts: duovero-parlor: Add HDMI output

2014-05-21 Thread Florian Vaussard
On 05/21/2014 10:26 AM, Tomi Valkeinen wrote: > On 21/05/14 11:14, Florian Vaussard wrote: > >>> I think Parlor has one and the "hdmi-connector" binding now >>> supports it. See Tomi's 3.16/fbdev-omap branch. >>> >> >> Looking into the details, the HPD pin of the parlor board is >> connected to

[PATCH v2] ARM: dts: duovero-parlor: Add HDMI output

2014-05-21 Thread Florian Vaussard
Add the necessary DTS nodes to enable the micro-HDMI output on Parlor board. Signed-off-by: Florian Vaussard --- v1->v2: - Rebased on Tony's omap-for-v3.16/dt-v2 - Use OMAP4_IOPAD macro - Use hpd pin as GPIO with hdmi-connector arch/arm/boot/dts/omap4-duovero-parlor.dts | 44 +++

Re: [PATCHv2 resend 00/11] improve PWM lookup support without device tree

2014-05-21 Thread Thierry Reding
On Mon, May 19, 2014 at 10:42:31PM +0200, Alexandre Belloni wrote: > Hi, > > Originally sent on Apr 14th, note that this series is blocking another 16 > patches series, I would like it to be taken in 3.16 if we can agree on this > implementation. > > A patch set as suggested by Thierry to make lo

Re: [PATCH 5/7] mfd: twl4030-power: Add support for board specific configuration

2014-05-21 Thread Lee Jones
On Tue, 20 May 2014, Tony Lindgren wrote: > * Lee Jones [140520 08:18]: > > > > Ah, I forgot to Ack this last time, didn't I? > > > > Acked-by: Lee Jones > > Yeah, here's this one updated with your ack. Has the code changed at all, or are you just reposting with my Ack applied? > 8< -

Re: [PATCH v2 0/7] mfd: twl4030-power: Enable off-idle configuration when booted with device tree

2014-05-21 Thread Lee Jones
> Here's an updated set of patches to enable low-power idle modes > for some omap3 boards when booted with device tree. > > This series when applied on top of the patches in tread > > > "[PATCH

Re: [PATCH v2 0/6] mmc: omap_hsmmc: convert to use devm_* and fixes

2014-05-21 Thread Ulf Hansson
On 9 May 2014 18:46, Balaji T K wrote: > v2: > use devm_ioremap_resource > add cmd23 multiblock read/write fix > > Balaji T K (6): > mmc: omap_hsmmc: use devm_clk_get > mmc: omap_hsmmc: use devm_request_irq > mmc: omap_hsmmc: use devm_request_threaded_irq > mmc: omap_hsmmc: use devm_iorema

Re: [PATCH] mmc: omap_hsmmc: use IS_ERR macro for error checking

2014-05-21 Thread Ulf Hansson
On 15 May 2014 15:23, Balaji T K wrote: > Debounce clock is optional, use IS_ERR macro instead of NULL pointer check. > > Signed-off-by: Balaji T K Thanks Balaji, I will include this in the next PR I send to Chris. Kind regards Ulf Hansson -- To unsubscribe from this list: send the line "unsub

omap:am335x: unable to start kernel via kexec

2014-05-21 Thread Yegor Yefremov
Kernel: vanilla 3.15-rc5 kexec: latest git (21.05.2014) I can load the zImage + dtb from u-boot, but invoking kexec prints following data and nothing happens after "Bye!": # kexec -d -f --dtb=/mnt/boot/am335x-evmsk.dtb /mnt/boot/zImage kernel: 0xb5eab008 kernel_size: 0x2036c kexec_load: entry = 0

[RFC PATCH 13/16] mtd: nand: omap: True device tree support

2014-05-21 Thread Roger Quadros
The NAND controller must be a child node of the Chip select (CS) node. NAND specific parameters are moved to the NAND node. Move NAND specific device tree parsing to NAND driver. Signed-off-by: Roger Quadros --- arch/arm/mach-omap2/gpmc.c | 183 +-- dri

[RFC PATCH 16/16] ARM: dts: omap3-beagle: Add NAND device

2014-05-21 Thread Roger Quadros
The beagle board contains a 16-bit NAND device connected to chip select 0 of the GPMC controller. Signed-off-by: Roger Quadros --- arch/arm/boot/dts/omap3-beagle.dts | 66 ++ 1 file changed, 66 insertions(+) diff --git a/arch/arm/boot/dts/omap3-beagle.dts b/

[RFC PATCH 12/16] mtd: nand: omap: Copy platform data parameters to omap_nand_info data

2014-05-21 Thread Roger Quadros
Copy all the platform data parameters to the driver's local data structure 'omap_nand_info' and use it in the entire driver. This will make it easer for device tree migration. Signed-off-by: Roger Quadros --- drivers/mtd/nand/omap2.c | 27 ++- 1 file changed, 18 insertion

[RFC PATCH 08/16] mtd: nand: omap: Fix build warning

2014-05-21 Thread Roger Quadros
Fix the following warning when CONFIG_MTD_NAND_OMAP_BCH is disabled. warning: ‘erased_sector_bitflips’ defined but not used [-Wunused-function] Signed-off-by: Roger Quadros --- drivers/mtd/nand/omap2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/nand/omap2.c b

[RFC PATCH 09/16] mtd: nand: omap: Move IRQ handling from GPMC to NAND driver

2014-05-21 Thread Roger Quadros
Since the Interrupt Events are used only by the NAND driver, there is no point in managing the Interrupt registers in the GPMC driver and complicating it with irqchip modeling. Let's manage the interrupt registers directly in the NAND driver and get rid of irqchip model from GPMC driver. Get rid

[RFC PATCH 15/16] mtd: nand: omap: Update DT binding documentation

2014-05-21 Thread Roger Quadros
Add compatible id and other mandatory properties. Remove deprecated 'elm_id' property as it is no longer used. Update usage example. Signed-off-by: Roger Quadros --- .../devicetree/bindings/mtd/gpmc-nand.txt | 86 +++--- 1 file changed, 42 insertions(+), 44 deletions(-)

[RFC PATCH 06/16] ARM: OMAP2+: gpmc: add NAND specific setup

2014-05-21 Thread Roger Quadros
Provide NAND specific resources and platform data. Signed-off-by: Roger Quadros --- arch/arm/mach-omap2/gpmc.c | 77 ++ 1 file changed, 77 insertions(+) diff --git a/arch/arm/mach-omap2/gpmc.c b/arch/arm/mach-omap2/gpmc.c index 26b26ec..f4ee6e9 100644

[RFC PATCH 11/16] mtd: nand: omap: Move NAND write protect code from GPMC to NAND driver

2014-05-21 Thread Roger Quadros
The write protect (WP) pin is only used for NAND devices. So move the code into the NAND driver. Get rid of gpmc_configure() and gpmc_write_reg() as they are no longer used. Signed-off-by: Roger Quadros --- arch/arm/mach-omap2/gpmc.c | 42 arch/arm

[RFC PATCH 07/16] ARM: OMAP2+: nand: Update gpmc_nand_init() to use generic_gpmc_init()

2014-05-21 Thread Roger Quadros
This function should only be called by board init code for legacy boot. Signed-off-by: Roger Quadros --- arch/arm/mach-omap2/gpmc-nand.c | 79 - 1 file changed, 14 insertions(+), 65 deletions(-) diff --git a/arch/arm/mach-omap2/gpmc-nand.c b/arch/arm/mach

[RFC PATCH 04/16] ARM: OMAP2+: gpmc: use platform data to configure CS space and poplulate device

2014-05-21 Thread Roger Quadros
Add gpmc_probe_legacy() that will be called for non DT boots. This function will use platform data to setup each chip select and populate the child platform device for each of the chip selects. Re-arrange init order so that gpmc device is created after the gpmc platform data is initialized by boar

[RFC PATCH 02/16] ARM: OMAP2+: gpmc: Add gpmc timings and settings to platform data

2014-05-21 Thread Roger Quadros
Add device_timings, gpmc_timings and gpmc_setting to gpmc platform data. Signed-off-by: Roger Quadros --- arch/arm/mach-omap2/gpmc.h | 125 -- include/linux/platform_data/gpmc-omap.h | 131 2 files changed, 131 insertions(

[RFC PATCH 05/16] ARM: OMAP2+: gpmc: Use low level read/write for context save/restore

2014-05-21 Thread Roger Quadros
This will make it easier to move the GPMC driver out of arch/arm/mach-omap2. Just the context save/restore code can remain there without any dependency with the GPMC driver. Signed-off-by: Roger Quadros --- arch/arm/mach-omap2/gpmc.c | 121 +++-- arch/arm/

[RFC PATCH 01/16] ARM: OMAP2+: gpmc: Add platform data

2014-05-21 Thread Roger Quadros
Add a platform data structure for GPMC. It contains all the necessary platform information that needs to be passed from platform init code to GPMC driver. Signed-off-by: Roger Quadros --- arch/arm/mach-omap2/gpmc.h | 4 +--- include/linux/platform_data/gpmc-omap.h | 37

[RFC PATCH 00/16] OMAP: GPMC: Restructure OMAP GPMC driver (NAND)

2014-05-21 Thread Roger Quadros
Hi, The existing OMAP GPMC driver has been suffering from ad-hoc architecture with no clear separation between GPMC driver, Chip Select timing/settings and Memory Device driver. The device tree implementation also reflects the same issues. The purpose of this series is to clean up the OMAP GPMC d

[RFC PATCH 03/16] ARM: OMAP2+: gmpc: add gpmc_generic_init()

2014-05-21 Thread Roger Quadros
This function populates platform data for the specified Chip Select. It should be called by board init code. Signed-off-by: Roger Quadros --- arch/arm/mach-omap2/gpmc.c | 69 ++ arch/arm/mach-omap2/gpmc.h | 6 2 files changed, 75 insertions(+) d

[RFC PATCH 14/16] ARM: OMAP: gpmc: Update DT binding documentation

2014-05-21 Thread Roger Quadros
The meaning of ranges and how address mapping is done has changed. Ranges should now contain 2 ranges - GPMC I/O map. ~1GB. This map will be partitioned among the chip select (CS) nodes - GPMC register map. This is common for all the CS nodes and is shared only by the NAND controller.

[RFC PATCH 10/16] mtd: nand: omap: Move gpmc_update_nand_reg to nand driver

2014-05-21 Thread Roger Quadros
GPMC and NAND drivers share the same register space but never use the same registers. As there is no clear address seperation between the registers for GPMC and NAND, we can't easily split it up into 2 regions i.e. one for GPMC and other for NAND. Instead, we simply remap the entire register space

Re: [PATCH v2] ARM: dts: duovero-parlor: Add HDMI output

2014-05-21 Thread Tomi Valkeinen
On 21/05/14 12:15, Florian Vaussard wrote: > Add the necessary DTS nodes to enable the micro-HDMI output on Parlor > board. > > Signed-off-by: Florian Vaussard > --- > v1->v2: > - Rebased on Tony's omap-for-v3.16/dt-v2 > - Use OMAP4_IOPAD macro > - Use hpd pin as GPIO with hdmi-connector > > ar

[PATCH 2/2] ARM: dts: am43xx-clocks.dtsi: add ti,set-rate-parent to display clock path

2014-05-21 Thread Tomi Valkeinen
We need set-rate-parent flags for the display's clock path so that the DSS driver can change the clock rate of the PLL. This patchs adds the ti,set-rate-parent flag to disp_clk and dpll_disp_m2_ck clock nodes. Signed-off-by: Tomi Valkeinen --- arch/arm/boot/dts/am43xx-clocks.dtsi | 2 ++ 1 file

[PATCH 1/2] ARM: dts: omap5-clocks.dtsi: add ti,set-rate-parent to dss_dss_clk

2014-05-21 Thread Tomi Valkeinen
Add ti,set-rate-parent to dss_dss_clk so that the DSS driver can set the rate. Signed-off-by: Tomi Valkeinen --- arch/arm/boot/dts/omap54xx-clocks.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/omap54xx-clocks.dtsi b/arch/arm/boot/dts/omap54xx-clocks.dtsi index d487f

Re: [PATCH 4/4] ARM: dts: Add LCD panel sharp ls037v7dw01 support for omap3-evm and ldp

2014-05-21 Thread Tomi Valkeinen
On 14/05/14 00:32, Tony Lindgren wrote: > +&dss { > + status = "ok"; > + vdds_dsi-supply = <&vpll2>; > + port { > + dpi_out: endpoint { > + remote-endpoint = <&lcd_in>; > + data-lines = <18>; > + }; > + }; > +}; I jus

[PATCH 0/6] AM43xx & OMAP5 DSS DT changes

2014-05-21 Thread Tomi Valkeinen
Hi, Here are the AM43xx and OMAP5 display DT changes again. I've sent the clock related changes separately, and I removed OMAP5's RFBI node, which depends on more clock changes. The RFBI driver doesn't work at the moment anyway, so removing the RFBI node should not be an issue. Tony, if these loo

[PATCH 1/6] ARM: dts: am4372.dtsi: add DSS information

2014-05-21 Thread Tomi Valkeinen
From: Sathya Prakash M R Add DT data for the display subsystem for AM4372. The DSS on AM4372 is basically OMAP3's DSS, without DSI and VENC blocks. Signed-off-by: Sathya Prakash M R Signed-off-by: Tomi Valkeinen --- arch/arm/boot/dts/am4372.dtsi | 30 ++ 1 file cha

[PATCH 2/6] ARM: dts: am437x-gp-evm: add LCD data

2014-05-21 Thread Tomi Valkeinen
From: Sathya Prakash M R Add DT data for am437x-gp-evm's LCD panel. Signed-off-by: Sathya Prakash M R Signed-off-by: Tomi Valkeinen --- arch/arm/boot/dts/am437x-gp-evm.dts | 97 + 1 file changed, 97 insertions(+) diff --git a/arch/arm/boot/dts/am437x-gp-ev

[PATCH 4/6] ARM: dts: omap5.dtsi: add DSS nodes

2014-05-21 Thread Tomi Valkeinen
Add OMAP5 DSS nodes to omap5.dtsi. Signed-off-by: Tomi Valkeinen --- arch/arm/boot/dts/omap5.dtsi | 61 1 file changed, 61 insertions(+) diff --git a/arch/arm/boot/dts/omap5.dtsi b/arch/arm/boot/dts/omap5.dtsi index f8c9855ce587..b80f4c5d0a5b 100644

[PATCH 3/6] ARM: dts: am43x-epos-evm: add LCD data

2014-05-21 Thread Tomi Valkeinen
Add DT data for am43x-epos-evm's LCD panel. Signed-off-by: Tomi Valkeinen --- arch/arm/boot/dts/am43x-epos-evm.dts | 101 +++ 1 file changed, 101 insertions(+) diff --git a/arch/arm/boot/dts/am43x-epos-evm.dts b/arch/arm/boot/dts/am43x-epos-evm.dts index 167dbc8

[PATCH 5/6] ARM: dts: omap5-uevm.dts: add tca6424a

2014-05-21 Thread Tomi Valkeinen
omap5-uevm has a tca6424a I/O expander. Add it to the .dts file. Signed-off-by: Tomi Valkeinen --- arch/arm/boot/dts/omap5-uevm.dts | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/omap5-uevm.dts b/arch/arm/boot/dts/omap5-uevm.dts index 3b99ec25b748..76877516f6df 1006

[PATCH 6/6] ARM: dts: omap5-uevm.dts: add display nodes

2014-05-21 Thread Tomi Valkeinen
omap5-uevm has a single HDMI output. Add the necessary display information, including pinmuxing. Signed-off-by: Tomi Valkeinen --- arch/arm/boot/dts/omap5-uevm.dts | 82 1 file changed, 82 insertions(+) diff --git a/arch/arm/boot/dts/omap5-uevm.dts b/arc

Re: [PATCH 3/4] OMAPDSS: panel-sharp-ls037v7dw01: add device tree support

2014-05-21 Thread Tomi Valkeinen
On 19/05/14 22:51, Tony Lindgren wrote: >>> 4. Having this hack limited to device tree based booting while we are >>>trying to unify the functions for drivers to use to get their >>>resources. >> >> I don't understand this one. With non-DT boot we don't have the issue at >> all, there's no

Re: omap:am335x: unable to start kernel via kexec

2014-05-21 Thread Yegor Yefremov
On Wed, May 21, 2014 at 12:26 PM, Yegor Yefremov wrote: > Kernel: vanilla 3.15-rc5 > kexec: latest git (21.05.2014) > > I can load the zImage + dtb from u-boot, but invoking kexec prints > following data and nothing happens after "Bye!": > > # kexec -d -f --dtb=/mnt/boot/am335x-evmsk.dtb /mnt/boot

Re: [PATCH 3/4] OMAPDSS: panel-sharp-ls037v7dw01: add device tree support

2014-05-21 Thread Sebastian Reichel
Hi, On Wed, May 21, 2014 at 04:05:56PM +0300, Tomi Valkeinen wrote: > I'll try and see how the other options work, which are: > > - Bailing out from module_init in each display driver. The reason I > don't like this (although I haven't tried it) is that all the display > drivers need the modifica

Re: [PATCH 5/7] mfd: twl4030-power: Add support for board specific configuration

2014-05-21 Thread Tony Lindgren
* Lee Jones [140521 02:19]: > On Tue, 20 May 2014, Tony Lindgren wrote: > > > * Lee Jones [140520 08:18]: > > > > > > Ah, I forgot to Ack this last time, didn't I? > > > > > > Acked-by: Lee Jones > > > > Yeah, here's this one updated with your ack. > > Has the code changed at all, or are

Re: [PATCH v2 0/7] mfd: twl4030-power: Enable off-idle configuration when booted with device tree

2014-05-21 Thread Tony Lindgren
* Lee Jones [140521 02:24]: > > Here's an updated set of patches to enable low-power idle modes > > for some omap3 boards when booted with device tree. > > > > This series when applied on top of the patches in tread > >

Re: [PATCH 4/4] ARM: dts: Add LCD panel sharp ls037v7dw01 support for omap3-evm and ldp

2014-05-21 Thread Tony Lindgren
* Tomi Valkeinen [140521 05:45]: > On 14/05/14 00:32, Tony Lindgren wrote: > > > +&dss { > > + status = "ok"; > > + vdds_dsi-supply = <&vpll2>; > > + port { > > + dpi_out: endpoint { > > + remote-endpoint = <&lcd_in>; > > + data-lines = <18>; >

Re: [PATCH 0/6] AM43xx & OMAP5 DSS DT changes

2014-05-21 Thread Tony Lindgren
* Tomi Valkeinen [140521 05:51]: > Hi, > > Here are the AM43xx and OMAP5 display DT changes again. I've sent the clock > related changes separately, and I removed OMAP5's RFBI node, which depends on > more clock changes. The RFBI driver doesn't work at the moment anyway, so > removing the RFBI no

Re: [PATCH 5/7] mfd: twl4030-power: Add support for board specific configuration

2014-05-21 Thread Lee Jones
> > > * Lee Jones [140520 08:18]: > > > > > > > > Ah, I forgot to Ack this last time, didn't I? > > > > > > > > Acked-by: Lee Jones > > > > > > Yeah, here's this one updated with your ack. > > > > Has the code changed at all, or are you just reposting with my Ack > > applied? > > No change

Re: [PATCH v2] ARM: dts: duovero-parlor: Add HDMI output

2014-05-21 Thread Tony Lindgren
* Tomi Valkeinen [140521 05:04]: > On 21/05/14 12:15, Florian Vaussard wrote: > > Add the necessary DTS nodes to enable the micro-HDMI output on Parlor > > board. > > > > Signed-off-by: Florian Vaussard > > --- > > v1->v2: > > - Rebased on Tony's omap-for-v3.16/dt-v2 > > - Use OMAP4_IOPAD macro

Re: [PATCH 0/6] AM43xx & OMAP5 DSS DT changes

2014-05-21 Thread Tomi Valkeinen
On 21/05/14 18:02, Tony Lindgren wrote: > * Tomi Valkeinen [140521 05:51]: >> Hi, >> >> Here are the AM43xx and OMAP5 display DT changes again. I've sent the clock >> related changes separately, and I removed OMAP5's RFBI node, which depends on >> more clock changes. The RFBI driver doesn't work a

Re: [PATCH 0/6] AM43xx & OMAP5 DSS DT changes

2014-05-21 Thread Tony Lindgren
* Tomi Valkeinen [140521 08:18]: > On 21/05/14 18:02, Tony Lindgren wrote: > > * Tomi Valkeinen [140521 05:51]: > >> Hi, > >> > >> Here are the AM43xx and OMAP5 display DT changes again. I've sent the clock > >> related changes separately, and I removed OMAP5's RFBI node, which depends > >> on >

Re: [PATCH 0/6] AM43xx & OMAP5 DSS DT changes

2014-05-21 Thread Tomi Valkeinen
On 21/05/14 18:26, Tony Lindgren wrote: > * Tomi Valkeinen [140521 08:18]: >> On 21/05/14 18:02, Tony Lindgren wrote: >>> * Tomi Valkeinen [140521 05:51]: Hi, Here are the AM43xx and OMAP5 display DT changes again. I've sent the clock related changes separately, and I removed

Re: [PATCH 0/6] AM43xx & OMAP5 DSS DT changes

2014-05-21 Thread Tony Lindgren
* Tomi Valkeinen [140521 08:33]: > On 21/05/14 18:26, Tony Lindgren wrote: > > * Tomi Valkeinen [140521 08:18]: > >> On 21/05/14 18:02, Tony Lindgren wrote: > >>> * Tomi Valkeinen [140521 05:51]: > Hi, > > Here are the AM43xx and OMAP5 display DT changes again. I've sent the > >>

[PATCH] ARM: OMAP4: Ctrl module register define diet

2014-05-21 Thread Joachim Eastwood
Signed-off-by: Joachim Eastwood --- Hi, The mach-omap2 directory contains full register defines for OMAP4 control module but only around 27 of those are used. There are is a total of 1795 register defines in four files with only 27 in use. That is pretty low usefulness ratio... I guess alot mor

Re: [RFC PATCH 00/16] OMAP: GPMC: Restructure OMAP GPMC driver (NAND)

2014-05-21 Thread Ezequiel Garcia
Hi Roger, On 21 May 02:20 PM, Roger Quadros wrote: > > For DT boot: > - The GPMC controller node should have a chip select (CS) node for each used > chip select. The CS node must have a child device node for each device > attached to that chip select. Properties for that child are GPMC agnost

[PATCHv4 0/4] tsc2005 DT binding

2014-05-21 Thread Sebastian Reichel
Hi, This adds device tree support for the tsc2005 touchscreen controller, which is currently only used by the Nokia N900 board. The patch does not update the reset pin handling for platform data based probe to avoid merge conflicts. The n900 platform code will be removed in the near future (3.17?

[PATCHv4 1/4] Input: add common DT binding for touchscreens

2014-05-21 Thread Sebastian Reichel
Add common DT binding documentation for touchscreen devices and implement input_parse_touchscreen_of_params, which parses the common properties and configures the input device accordingly. The method currently does not interpret the axis inversion properties, since there is no matching flag in the

[PATCHv4 3/4] Documentation: dt: Document TSC2005 DT binding

2014-05-21 Thread Sebastian Reichel
Add devicetree binding documentation for TSC2005 touchscreen. Reviewed-by: Pavel Machek Acked-by: Aaro Koskinen Signed-off-by: Sebastian Reichel --- .../bindings/input/touchscreen/tsc2005.txt | 42 ++ 1 file changed, 42 insertions(+) create mode 100644 Documentati

[PATCHv4 4/4] DTS: ARM: OMAP3-N900: Add tsc2005 support

2014-05-21 Thread Sebastian Reichel
This adds support for the tsc2005 touchscreen to the Nokia N900 DTS file. Signed-off-by: Sebastian Reichel --- arch/arm/boot/dts/omap3-n900.dts | 17 - 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/omap3-n900.dts b/arch/arm/boot/dts/omap3-n900.dt

[PATCHv4 2/4] Input: tsc2005: add DT support

2014-05-21 Thread Sebastian Reichel
This adds DT support to the tsc2005 touchscreen driver. It also adds regulator support to the driver if booted via DT. Reviewed-by: Pavel Machek Acked-by: Aaro Koskinen Signed-off-by: Sebastian Reichel --- drivers/input/touchscreen/tsc2005.c | 122 ++-- 1 file c

Re: [PATCHv5 09/10] DTS: ARM: OMAP3-N900: Add SSI support

2014-05-21 Thread Sebastian Reichel
Hi, On Mon, May 19, 2014 at 05:35:39PM -0700, Tony Lindgren wrote: > * Tony Lindgren [140514 14:57]: > > * Sebastian Reichel [140510 09:40]: > > > Add SSI device tree data for OMAP3 and Nokia N900. > > > > Picking this patch into omap-for-v3.16/dt thanks. > > Just noticed that this patch seems

Re: [PATCHv5 09/10] DTS: ARM: OMAP3-N900: Add SSI support

2014-05-21 Thread Tony Lindgren
* Sebastian Reichel [140521 11:26]: > Hi, > > On Mon, May 19, 2014 at 05:35:39PM -0700, Tony Lindgren wrote: > > * Tony Lindgren [140514 14:57]: > > > * Sebastian Reichel [140510 09:40]: > > > > Add SSI device tree data for OMAP3 and Nokia N900. > > > > > > Picking this patch into omap-for-v3.

Re: [PATCHv5 09/10] DTS: ARM: OMAP3-N900: Add SSI support

2014-05-21 Thread Tony Lindgren
* Tony Lindgren [140521 11:44]: > * Sebastian Reichel [140521 11:26]: > > The hwmod data may be wrong. The information from commit > > 398917ce161e10d3c66afaefdb89c73c64c4b02d was simply > > interpolated from all information I found. The OMAP3 > > public TRM does not contain *any* information abo

Re: [PATCHv5 09/10] DTS: ARM: OMAP3-N900: Add SSI support

2014-05-21 Thread Sebastian Reichel
Hi, On Wed, May 21, 2014 at 11:43:19AM -0700, Tony Lindgren wrote: > > > Just noticed that this patch seems to somehow break idle > > > modes on n900, so dropping both dts changes for now. > > > > > > Basically the n900 debug LEDs won't ever go off with > > > these two dts patches enabled, even w

Re: [PATCHv5 09/10] DTS: ARM: OMAP3-N900: Add SSI support

2014-05-21 Thread Tony Lindgren
* Sebastian Reichel [140521 13:10]: > Hi, > > On Wed, May 21, 2014 at 11:43:19AM -0700, Tony Lindgren wrote: > > > > Just noticed that this patch seems to somehow break idle > > > > modes on n900, so dropping both dts changes for now. > > > > > > > > Basically the n900 debug LEDs won't ever go o

Re: [PATCHv5 09/10] DTS: ARM: OMAP3-N900: Add SSI support

2014-05-21 Thread Sebastian Reichel
Hi, On Wed, May 21, 2014 at 12:45:28PM -0700, Tony Lindgren wrote: > * Tony Lindgren [140521 11:44]: > > * Sebastian Reichel [140521 11:26]: > > > The hwmod data may be wrong. The information from commit > > > 398917ce161e10d3c66afaefdb89c73c64c4b02d was simply > > > interpolated from all inform

Re: [PATCH] ARM: OMAP2+: Fix DMA hang after off-idle

2014-05-21 Thread Sebastian Reichel
On Fri, May 16, 2014 at 02:05:35PM -0700, Tony Lindgren wrote: > Commit 6ddeb6d84459 (dmaengine: omap-dma: move IRQ handling to omap-dma) > added support for handling interrupts in the omap dmaengine driver > instead of the legacy driver. Because of different handling for > interrupts this however

Re: [PATCHv5 09/10] DTS: ARM: OMAP3-N900: Add SSI support

2014-05-21 Thread Tony Lindgren
* Sebastian Reichel [140521 14:51]: > On Wed, May 21, 2014 at 12:45:28PM -0700, Tony Lindgren wrote: > > Right. The only documentation of the SSI module is existing > code sent by Carlos / included in the maemo kernel. That's probably better than any documentation though :) > > > It's probably

Re: [PATCHv4 4/4] DTS: ARM: OMAP3-N900: Add tsc2005 support

2014-05-21 Thread Tony Lindgren
* Sebastian Reichel [140521 10:38]: > This adds support for the tsc2005 touchscreen > to the Nokia N900 DTS file. > > Signed-off-by: Sebastian Reichel Dmitry, if no other comments, feel free to pick this one too. This does not seem to conflict with anything I have queued: Acked-by: Tony Lindgr

Locking problem during N900 shutdown with power management patchset

2014-05-21 Thread Sebastian Reichel
Hi Tony, Now that I have added the dma fix in addition to the idle support patchset I can do clean shutdowns (versus removing battery :)) and see the following final warning during shutdown: [ 3724.136474] reboot: Power down [ 3724.139770] [ cut here ] [ 3724.144683] WARNI

Re: [PATCHv5 09/10] DTS: ARM: OMAP3-N900: Add SSI support

2014-05-21 Thread Sebastian Reichel
Hi, On Wed, May 21, 2014 at 03:08:07PM -0700, Tony Lindgren wrote: > * Sebastian Reichel [140521 14:51]: > > On Wed, May 21, 2014 at 12:45:28PM -0700, Tony Lindgren wrote: > > > > Right. The only documentation of the SSI module is existing > > code sent by Carlos / included in the maemo kernel.

Re: Locking problem during N900 shutdown with power management patchset

2014-05-21 Thread Tony Lindgren
* Sebastian Reichel [140521 16:55]: > Hi Tony, > > Now that I have added the dma fix in addition to the idle support > patchset I can do clean shutdowns (versus removing battery :)) and > see the following final warning during shutdown: > > [ 3724.136474] reboot: Power down > [ 3724.139770]

Re: [RFC PATCH 08/16] mtd: nand: omap: Fix build warning

2014-05-21 Thread Jingoo Han
On Wednesday, May 21, 2014 8:21 PM, Roger Quadros wrote: > > Fix the following warning when CONFIG_MTD_NAND_OMAP_BCH is disabled. > warning: ‘erased_sector_bitflips’ defined but not used [-Wunused-function] > > Signed-off-by: Roger Quadros (+cc Christian Engelmayer) The same patch was already

Re: [PATCH v3 00/13] ARM/DT: edma: IP configuration from hardware and cleanups

2014-05-21 Thread Vinod Koul
On Tue, May 20, 2014 at 04:26:09PM +0530, Sekhar Nori wrote: > On Monday 19 May 2014 10:23 PM, Peter Ujfalusi wrote: > > On 05/19/2014 04:06 PM, Sekhar Nori wrote: > >> On Friday 16 May 2014 05:47 PM, Peter Ujfalusi wrote: > >>> Hi, > >>> > >>> Changes since v2: > >>> - Comments from Sekhar and Arn

[PATCH v3 0/4] tps65917: Drivers for TPS65917 PMIC

2014-05-21 Thread Keerthy
The TPS65917 chip is a power management IC for Portable Navigation Systems and Tablet Computing devices. It contains the following components: - Regulators. - GPADC. - Over Temperature warning and Shut down. This patch series adds support for TPS65917 mfd device. At this time only the regulato

[PATCH v3 1/4] MFD: DT bindings for the TPS65917 family MFD

2014-05-21 Thread Keerthy
Add the various binding files for the TPS65917 family of chips. There is a top level MFD binding then a seperate binding for regulators IP blocks on chips. Signed-off-by: Keerthy --- Documentation/devicetree/bindings/mfd/tps65917.txt | 35 1 file changed, 35 insertions(+)

[PATCH v3 4/4] regulator: tps65917: Add Regulator driver for TPS65917 PMIC

2014-05-21 Thread Keerthy
This patch adds support for TPS65917 PMIC regulators. The regulators set consists of 5 SMPSs and 5 LDOs. The output voltages are configurable and are meant to supply power to the main processor and other components. Signed-off-by: Keerthy --- v3 Changes: removed NULL ops structure Corrected

[PATCH v3 0/6] Cleanup and fixes for dwc3-omap

2014-05-21 Thread George Cherian
The series does some refactoring on dwc3_probe() Patch 1 - Now that we use driver compatible for revision check, remove the unnecessary logic. Patch 2-4 - reduce the size of dwc3_probe() Patch 5 - Fix the crash on dwc3_omap removal Patch 6 - Addresses the issue of xhci hang while resuming from s

[PATCH v3 3/6] usb: dwc3: dwc3-omap: Add dwc3_omap_set_utmi_mode() function

2014-05-21 Thread George Cherian
Move find and set the utmi mode to its own seperate function. Improve code readability, decrease the dwc3_probe() size. Signed-off-by: George Cherian --- drivers/usb/dwc3/dwc3-omap.c | 44 +--- 1 file changed, 25 insertions(+), 19 deletions(-) diff --git

[PATCH v3 5/6] usb: dwc3: dwc3-omap: Fix the crash on module removal

2014-05-21 Thread George Cherian
Following crash is seen on dwc3_omap removal Unable to handle kernel NULL pointer dereference at virtual address 0018 pgd = ec098000 [0018] *pgd=ad1f9831, *pte=, *ppte= Internal error: Oops: 17 [#1] SMP ARM Modules linked in: usb_f_ss_lb g_zero usb_f_acm u_serial usb_f_ecm u

[PATCH v3 6/6] usb: dwc3: dwc3-omap: Disable/Enable only wrapper interrupts in prepare/complete

2014-05-21 Thread George Cherian
The dwc3 wrapper driver should not be fiddling with the core interrupts. Disabling the core interrupts in prepare stops xhci from proper operation. So remove disable/enable of core interrupts from prepare/complete. Signed-off-by: George Cherian --- drivers/usb/dwc3/dwc3-omap.c | 15 +

[PATCH v3 2/6] usb: dwc3: dwc3-omap: Add dwc3_omap_map_offset() function

2014-05-21 Thread George Cherian
Move map offset to its own seperate function. Improve code readability, decrease the dwc3_probe() size. Signed-off-by: George Cherian --- drivers/usb/dwc3/dwc3-omap.c | 33 - 1 file changed, 20 insertions(+), 13 deletions(-) diff --git a/drivers/usb/dwc3/dwc3-oma

[PATCH v3 4/6] usb: dwc3: dwc3-omap: Add dwc3_omap_extcon_register function

2014-05-21 Thread George Cherian
Move the extcon related code to its own function. Improve code readability, decrease the dwc3_probe() size. Signed-off-by: George Cherian --- drivers/usb/dwc3/dwc3-omap.c | 65 ++-- 1 file changed, 39 insertions(+), 26 deletions(-) diff --git a/drivers/us

[PATCH v3 2/4] Regulators: Add TPS65917 Bindings

2014-05-21 Thread Keerthy
Add TPS65917 Bindings. Signed-off-by: Keerthy --- .../bindings/regulator/tps65917-pmic.txt | 67 1 file changed, 67 insertions(+) create mode 100644 Documentation/devicetree/bindings/regulator/tps65917-pmic.txt diff --git a/Documentation/devicetree/bindings/re

[PATCH v3 1/6] usb: dwc3: dwc3-omap: Remove x_major calculation from revision register

2014-05-21 Thread George Cherian
Remove the x_major calculation logic from the wrapper revision register to differentiate between OMAP5 and AM437x. This was done to find the register offsets of wrapper register. Now that We do it using dt compatible, remove the whole logic. Signed-off-by: George Cherian --- drivers/usb/dwc3/dwc

Re: [GIT PULL] omap fixes for v3.15 -rc cycle

2014-05-21 Thread Olof Johansson
On Mon, May 19, 2014 at 05:34:20PM -0700, Tony Lindgren wrote: > The following changes since commit 89ca3b881987f5a4be4c5dbaa7f0df12bbdde2fd: > > Linux 3.15-rc4 (2014-05-04 18:14:42 -0700) > > are available in the git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/li

[PATCH v5 1/6] usb: musb: core: Handle Babble condition only in HOST mode

2014-05-21 Thread George Cherian
BABBLE and RESET share the same interrupt. The interrupt is considered to be RESET if MUSB is in peripheral mode and as a BABBLE if MUSB is in HOST mode. Handle babble condition iff MUSB is in HOST mode. Signed-off-by: George Cherian --- drivers/usb/musb/musb_core.c | 2 +- 1 file changed, 1 in

[PATCH v5 3/6] usb: musb: dsps: Call usb_phy(_shutdown/_init) during musb_platform_reset()

2014-05-21 Thread George Cherian
For DSPS platform usb_phy_vbus(_off/_on) are NOPs. So during musb_platform_reset() call usb_phy(_shutdown/_init) Signed-off-by: George Cherian --- drivers/usb/musb/musb_dsps.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/usb/musb/musb_dsps.c b/drivers/usb/musb

[PATCH v5 4/6] usb: musb: core: Convert the musb_platform_reset to have a return value.

2014-05-21 Thread George Cherian
Currently musb_platform_reset() is only used by dsps. In case of BABBLE interrupt for other platforms the musb_platform_reset() is a NOP. In such situations no need to re-initialize the endpoints. Also in the latest silicon revision of AM335x, we do have a babble recovery mechanism without resetti

[PATCH v5 5/6] usb: musb: dsps: Add the sw_babble_control()

2014-05-21 Thread George Cherian
Add sw_babble_control() logic to differentiate between transient babble and real babble condition. Also add the SW babble control register definitions. Babble control register logic is implemented in the latest revision of AM335x. Signed-off-by: George Cherian --- drivers/usb/musb/musb_dsps.c |

[PATCH v5 6/6] usb: musb: dsps: Enable sw babble control for newer silicon

2014-05-21 Thread George Cherian
Find whether we are running on newer silicon. The babble control register reads 0x4 by default in newer silicon as opposed to 0 in old versions of AM335x. Based on this enable the sw babble control logic. Signed-off-by: George Cherian --- drivers/usb/musb/musb_dsps.c | 38 +++

[PATCH v5 0/6] Add support for SW babble Control

2014-05-21 Thread George Cherian
Series add support for SW babble control logic found in new silicon versions of AM335x. Runtime differentiation of silicon version is done by checking the BABBLE_CTL register. For newer silicon the register default value read is 0x4 and for older versions its 0x0. Patch 1 -> Handle Babble only if

[PATCH v5 2/6] usb: musb: core: Convert babble recover work to delayed work

2014-05-21 Thread George Cherian
During babble condition both first disconnect of devices are initiated. Make sure MUSB controller is reset and re-initialized after all disconnects. To acheive this schedule a delayed work for babble rrecovery. While at that convert udelay to usleep_range. Refer Documentation/timers/timers-howto.