[PATCHv2 9/9] DTS: OMAP3-N900: Add sound support

2014-04-28 Thread Sebastian Reichel
This patch adds support for the Nokia N900's sound system. Signed-off-by: Sebastian Reichel --- arch/arm/boot/dts/omap3-n900.dts | 17 + 1 file changed, 17 insertions(+) diff --git a/arch/arm/boot/dts/omap3-n900.dts b/arch/arm/boot/dts/omap3-n900.dts index 6bc8100..5701f91 10064

[PATCHv2 0/9] DT support for N900 soundcard (rx51-audio)

2014-04-28 Thread Sebastian Reichel
Hi, This patchset adds DT support in rx51-audio. I tested it on my Nokia N900 and was able to play a wav file using aplay. I have not tested the whole functionality, but output via speakers, headphones and the related enable controls seem to work. Changes since PATCHv1 [0]: * drop "ASoC: tlv320a

[PATCH 2/4] ARM: dts: am335x-evm: use phandles for USB and DMA refs

2014-04-28 Thread Guido Martínez
Use phandles instead of unit adresses to reference usb and dma nodes. This makes the DT more robust and readable. Signed-off-by: Guido Martínez --- arch/arm/boot/dts/am335x-evm.dts | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm/boot/dts/am335x-evm.dts b

[PATCH v2 1/7] ARM: dts: dra7-clock: Add "l3init_960m_gfclk" clock gate

2014-04-28 Thread Roger Quadros
This clock gate description is missing in the older Reference manuals. It is present on the SoC to provide 960MHz reference clock to the internal USB PHYs. Reference: DRA75x_DRA74x_ES1.1_NDA_TRM_vO.pdf, pg. 900, Table 3-812. CM_COREAON_L3INIT_60M_GFCLK_CLKCTRL Use l3init_960m_gfclk as parent of u

[PATCH v2 3/7] phy: omap-usb2: Use generic clock names "wkupclk" and "refclk"

2014-04-28 Thread Roger Quadros
As clocks might be named differently on multiple platforms, use a generic name in the driver and allow device tree node to specify the platform specific clock name. Signed-off-by: Roger Quadros --- drivers/phy/phy-omap-usb2.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --

[PATCH v2 7/7] dts: dra7-evm: add USB support

2014-04-28 Thread Roger Quadros
Add USB pinmux information and USB modes for the USB controllers. Signed-off-by: Roger Quadros --- arch/arm/boot/dts/dra7-evm.dts | 24 1 file changed, 24 insertions(+) diff --git a/arch/arm/boot/dts/dra7-evm.dts b/arch/arm/boot/dts/dra7-evm.dts index 5babba0..1d77815 1

[PATCH v2 2/7] ARM: DRA7: hwmod: Add SYSCONFIG for usb_otg_ss

2014-04-28 Thread Roger Quadros
Add the sysconfig class bits for the Super Speed USB controllers Signed-off-by: Roger Quadros --- arch/arm/mach-omap2/omap_hwmod_7xx_data.c | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/mach-omap2/omap_hwmod_7xx_data.c b/arch/arm/mach-omap2/omap_hwmod_7xx_data.c ind

[PATCH v2 0/7] USB support for DRA7-evm

2014-04-28 Thread Roger Quadros
Hi, This series enables the 2 USB ports on the DRA7-evm. NOTE: USB1 port is hard coded to work in peripheral mode and USB2 port in host mode. This is due to missing ID pin interrupt in pre ver.E boards. USB1 port doesn't in peripheral mode out of the box due to missing VBUS detection and mailbo

[PATCH v2 4/7] ARM: dts: omap4+: Add clocks to USB2 PHY node

2014-04-28 Thread Roger Quadros
The USB2 PHY driver expects named clocks for wakeup clock and reference clock. Provide this information for USB2 PHY nodes in OMAP4 and OMAP5 SoC DTS. Signed-off-by: Roger Quadros --- arch/arm/boot/dts/omap4.dtsi | 2 ++ arch/arm/boot/dts/omap5.dtsi | 2 ++ 2 files changed, 4 insertions(+) diff

[PATCH 3/4] ARM: dts: am335x-evmsk: use phandles for USB and DMA refs

2014-04-28 Thread Guido Martínez
Use phandles instead of unit adresses to reference usb and dma nodes. This makes the DT more robust and readable. Signed-off-by: Guido Martínez --- arch/arm/boot/dts/am335x-evmsk.dts | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm/boot/dts/am335x-evmsk.d

[PATCH v2 6/7] ARM: dts: dra7: Add USB related nodes

2014-04-28 Thread Roger Quadros
Add nodes for the Super Speed USB controllers, omap-control-usb, USB2 PHY and USB3 PHY devices. Remove ocp2scp1 address space from hwmod data as it is now provided via device tree. Signed-off-by: Roger Quadros --- arch/arm/boot/dts/dra7.dtsi | 149 ++ a

[PATCH v2 5/7] phy: omap-usb2: Add clock names to Documentation binding

2014-04-28 Thread Roger Quadros
Add "wkupclk" and "refclk" information to DT binding information. Signed-off-by: Roger Quadros --- Documentation/devicetree/bindings/phy/ti-phy.txt | 7 +++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/phy/ti-phy.txt b/Documentation/devicetree/bindings/phy

[PATCH 4/4] ARM: dts: am335x-igep0033: use phandles for USB and DMA refs

2014-04-28 Thread Guido Martínez
Use phandles instead of unit adresses to reference usb and dma nodes. This makes the DT more robust and readable. Signed-off-by: Guido Martínez --- arch/arm/boot/dts/am335x-igep0033.dtsi | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm/boot/dts/am335x-ige

[PATCH 1/4] ARM: dts: am335x-bone-common: use phandles for USB and DMA refs

2014-04-28 Thread Guido Martínez
Use phandles instead of unit adresses to reference usb and dma nodes. This makes the DT more robust and readable. Signed-off-by: Guido Martínez --- arch/arm/boot/dts/am335x-bone-common.dtsi | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm/boot/dts/am335x-

[Resend/PATCH] arm: dts: am43x-epos: Add qspi device.

2014-04-28 Thread Sourav Poddar
This patch adds qspi nodes for am43xx SOC devices. Signed-off-by: Sourav Poddar --- Note, checpatch gives 1 warning on flash compatible string "mx66l51235l". This flash is supported in m25p80 driver and the driver is used for other flash devices also. Hence, each flash compatible is not described

Re: [PATCH 5/6] ARM: AM43xx: clk: Change the cpts ref clock source to dpll_core_m5 clk

2014-04-28 Thread George Cherian
On 4/28/2014 12:40 PM, Richard Cochran wrote: On Mon, Apr 28, 2014 at 09:40:24AM +0530, George Cherian wrote: cpsw_cpts_rft_clk has got the choice of 3 clocksources -dpll_core_m4_ck -dpll_core_m5_ck -dpll_disp_m2_ck By default dpll_core_m4_ck is selected, witn this as clock source the CPT

Re: [PATCH 4/6] drivers: net: cpsw: Enable Annexe F Time sync

2014-04-28 Thread George Cherian
On 4/28/2014 1:25 PM, Richard Cochran wrote: On Mon, Apr 28, 2014 at 09:40:23AM +0530, George Cherian wrote: Enable the Annex F Time Sync explicitly for DRA7x and AM4372. With this enabled the L2 PTP is working. L2 works fine without this bit. If this is needed for V3 hardware, then it should h

next-20140428 (regression: DEADLOCK)

2014-04-28 Thread Nishanth Menon
:sdp3430: Boot PASS: http://slexy.org/raw/s2Mo7s3ttZ 15: OMAP5432uEVM: Boot PASS: http://slexy.org/raw/s2qXj7HFTJ = [ INFO: possible recursive locking detected ] 3.15.0-rc2-next-20140428-2-gd0ca5e6 #1 Not tainted

[PATCH 5/5] ASoC: omap: Add DT bindings documentation for HA DSP audio driver

2014-04-28 Thread Stefan Roese
Signed-off-by: Stefan Roese Cc: Thorsten Eisbein --- .../devicetree/bindings/sound/omap3-ha.txt | 27 ++ 1 file changed, 27 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/omap3-ha.txt diff --git a/Documentation/devicetree/bindings/sound/oma

[PATCH 4/5] DT: Add vendor prefix for HEAD acoustics

2014-04-28 Thread Stefan Roese
Add "ha" for "HEAD acoustics" to the list of DT vendor prefixes. Signed-off-by: Stefan Roese Cc: Thorsten Eisbein --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/

[PATCH 3/5] ASoC: omap: Add HA (HEAD acoustics) DSP add-on card audio driver for TAO3530

2014-04-28 Thread Stefan Roese
From: Jarkko Nikula HA DSP card which features a HA DSP audio codec is intended to be connected to TAO-3530 (or BeagleBoard) using McBSP3 for digital audio and I2C bus for codec control. A GPIO signal from CPU to codec is used to request clock signals active. This machine driver has a special fe

[PATCH 2/5] ASoC: Add HA (HEAD acoustics) DSP codec driver template

2014-04-28 Thread Stefan Roese
From: Jarkko Nikula This codec driver template represents an I2C controlled multichannel audio codec that has many typical ASoC codec driver features like volume controls, mixer stages, mux selection, output power control, in-codec audio routings, codec bias management and DAI link configuration.

[PATCH 1/5] ASoC: Add support for machine specific trigger callback

2014-04-28 Thread Stefan Roese
From: Jarkko Nikula Machine specific trigger callback allows to do final stream start/stop related operations in a machine driver after setting up the codec, DMA and DAI. One example could be clock management for linked streams case where machine driver can start/stop synchronously the linked st

Re: [PATCH 3/4] mfd: twl4030power: Add a configuration to turn off oscillator during off-idle

2014-04-28 Thread Lee Jones
> Some oscillators can be turned off during off-idle saving few > a little bit power at the cost of the oscillator start up > latency. > > If you board can do this, you can now enable it by using the > ti,twl4030-power-idle-osc-off compatible flag. > > Cc: Peter De Schrijver > Cc: Samuel Ortiz

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

2014-04-28 Thread Lee Jones
> With the recommended twl4030 configuration added, we can now add > board specific changes as modifications to the recommended > configuration. > > Cc: Peter De Schrijver > Cc: Samuel Ortiz > Cc: Lee Jones > Signed-off-by: Tony Lindgren > --- > drivers/mfd/twl4030-power.c | 21 ++

[PATCH v2 1/2] ARM: dts: sbc-t54: add support for sbc-t54 with cm-t54

2014-04-28 Thread Dmitry Lifshitz
Add support for CM-T54 CoM and SBC-T54 board: http://compulab.co.il/products/computer-on-modules/cm-t54/ http://compulab.co.il/products/sbcs/sbc-t54/ SBC-T54 is a single board computer based on OMAP5432 CPU. It is implemented with a CM-T54 CoM providing most of the functions, and SB-T54 carrier b

[PATCH v2 2/2] ARM: dts: cm-t54: add WiFi/BT support

2014-04-28 Thread Dmitry Lifshitz
Add support of AW-NH387 (mwifiex) WiFi/BT chip connected to MMC3. Signed-off-by: Dmitry Lifshitz --- Changes from V1: * Platform quirk for deasserting PDN and RST GPIOs of WiFi chip replaced by appropriate regulators in DT. arch/arm/boot/dts/omap5-cm-t54.dts | 53 +

[PATCH v2 0/2] ARM: dts: sbc-t54: add support for sbc-t54 with cm-t54

2014-04-28 Thread Dmitry Lifshitz
Add support for CompuLab CM-T54 CoM and SBC-T54 board: http://compulab.co.il/products/computer-on-modules/cm-t54/ http://compulab.co.il/products/sbcs/sbc-t54/ SBC-T54 is a single board computer based on OMAP5432 CPU. It is implemented with a CM-T54 CoM providing most of the functi

Re: [PATCH 1/4] mfd: twl4030-power: Add recommended idle configuration

2014-04-28 Thread Lee Jones
> These settings are based on the "Recommended Sleep Sequences for > the Zoom Platform" pdf at: > > http://omappedia.com/wiki/File:Recommended_Sleep_Sequences_Zoom.pdf > > These settings assume most of the regulators are under control of > Linux, and cuts off VDD1 and VDD2 during off-idle as Linu

Re: [PATCH 1a/4] mfd: twl4030-power: Add generic reset configuration

2014-04-28 Thread Lee Jones
> The twl4030 PMIC needs to be configured properly for things like > warm reset and deeper idle states so the PMIC manages the regulators > properly based on the hardware triggers from the SoC. > > For example, when rebooting an OMAP3530 at 125 MHz, it hangs. > With this patch, TWL4030 will be res

Re: [PATCH] fbdev: omap2: Fix format string mismatch in display-sysfs.c

2014-04-28 Thread Jingoo Han
On Monday, April 28, 2014 7:54 PM, Masanari Iida wrote: > > Fix two format string mismatch in display-sysfs.c > > Signed-off-by: Masanari Iida > --- > drivers/video/fbdev/omap2/dss/display-sysfs.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/video/fbdev/

[PATCH] fbdev: omap2: Fix format string mismatch in display-sysfs.c

2014-04-28 Thread Masanari Iida
Fix two format string mismatch in display-sysfs.c Signed-off-by: Masanari Iida --- drivers/video/fbdev/omap2/dss/display-sysfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/video/fbdev/omap2/dss/display-sysfs.c b/drivers/video/fbdev/omap2/dss/display-sysfs.c

Re: [PATCHv3 19/41] OMAPDSS: panel-dpi: Add DT support

2014-04-28 Thread Tomi Valkeinen
On 26/04/14 02:53, Tony Lindgren wrote: > * Tomi Valkeinen [140424 02:53]: >> On 18/04/14 18:51, Tony Lindgren wrote: >> + gpio = of_get_gpio(node, 0); + if (gpio_is_valid(gpio) || gpio == -ENOENT) { + ddata->enable_gpio = gpio; + } else { + dev_err(&p

Re: [RESEND 3/3] mfd: twl6040: Clear the interrupt ID register before requesting IRQ

2014-04-28 Thread Lee Jones
> If for some reason the boot loader enabled the audpwron GPIO we will have > pending IRQs to be handled. This seams to break twl6040 for some reason > leading to non working i2c communication (i2c timeouts). Clearing the INTID > register after we requested the audpwron GPIO (and set it to low) wil

Re: [RESEND 2/3] mfd: twl6040: Move register patching earlier in probe

2014-04-28 Thread Lee Jones
> Make sure that we patch the ACCCTL register as the first thing when the > driver loads, thus configuring I2C fast mode and i2c access for dual access > registers. > > Signed-off-by: Peter Ujfalusi > --- > drivers/mfd/twl6040.c | 7 +++ > 1 file changed, 3 insertions(+), 4 deletions(-) App

Re: [RESEND 1/3] mfd: twl6040: Select i2c fast mode as default with regmap patch

2014-04-28 Thread Lee Jones
> All boards using twl6040 configures the i2c bus to 400KHz. While twl6040's > defaults to normal mode (100KHz). So far twl6040 has no problem with i2c > communication in this configuration it is safer to select fast i2c mode. > > Signed-off-by: Peter Ujfalusi > --- > drivers/mfd/twl6040.c

Re: [PATCH v2 00/13] extcon: major rework

2014-04-28 Thread Robert Baldyga
On 04/24/2014 09:52 PM, Greg KH wrote: > On Mon, Apr 14, 2014 at 01:46:11PM +0200, Robert Baldyga wrote: >> This patchset adds many improvements to extcon class driver and extcon >> provider drivers. It changes extcon API to faster and safer by replaceing >> function taking extcon and cable names w

[PATCH] gpio: always enable GPIO_OMAP on ARCH_OMAP

2014-04-28 Thread Arnd Bergmann
Commit 4df42de9d3e "gpio: omap: add a GPIO_OMAP option instead of using ARCH_OMAP" made it possible to build OMAP kernels without the GPIO driver, which at least on OMAP2 and OMAP3 causes build errors because of functions used by the platform power management code: arch/arm/mach-omap2/built-in.o:

Re: [PATCH v3 2/4] ARM: dts: Add support for DRA72x family of devices

2014-04-28 Thread Rajendra Nayak
On Monday 28 April 2014 02:20 PM, Arnd Bergmann wrote: > On Monday 28 April 2014 11:39:22 Rajendra Nayak wrote: >> >> DRA742 EVM: Software Developement Board for DRA742 >> compatible = "ti,dra7-evm", "ti,dra742", "ti,dra74", "ti,dra7" >> DRA722 EVM: Software Development Board for DRA722 >> compati

Re: [PATCH v3 2/4] ARM: dts: Add support for DRA72x family of devices

2014-04-28 Thread Arnd Bergmann
On Monday 28 April 2014 11:39:22 Rajendra Nayak wrote: > > DRA742 EVM: Software Developement Board for DRA742 > compatible = "ti,dra7-evm", "ti,dra742", "ti,dra74", "ti,dra7" > DRA722 EVM: Software Development Board for DRA722 > compatible = "ti,dra72-evm", "ti,dra722", "ti,dra72", "ti,dra7" > >

[PATCH] ARM: dts: am33xx: fix DMA support for the second USB interface

2014-04-28 Thread yegorslists
From: Yegor Yefremov This patch creates unique DMA channels for the second USB interface, otherwise the second USB interface is not usable at all. Signed-off-by: Yegor Yefremov --- arch/arm/boot/dts/am33xx.dtsi | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a

Re: [PATCH 4/6] drivers: net: cpsw: Enable Annexe F Time sync

2014-04-28 Thread Richard Cochran
On Mon, Apr 28, 2014 at 09:40:23AM +0530, George Cherian wrote: > Enable the Annex F Time Sync explicitly for DRA7x and AM4372. > With this enabled the L2 PTP is working. L2 works fine without this bit. If this is needed for V3 hardware, then it should have its own code variant. > while at that

[PATCH v10 0/5] mmc: omap_hsmmc: Enable SDIO IRQ.

2014-04-28 Thread Andreas Fenkart
Hi Balaji, Tony, all v10 - bug fix on multi-core, untested - incorporated changes from Balaji - use devres / RAII mechanism to configure wake_up / sdio irq capabilities - drop pinctrl state 'active' rely on driver-model states 'default', 'idle' - add specific 'gpio_dat1' state for am335x SWAKE

[PATCH v10 1/5] mmc: omap_hsmmc: Enable SDIO interrupt

2014-04-28 Thread Andreas Fenkart
There have been various patches floating around for enabling the SDIO IRQ for hsmmc, but none of them ever got merged. Probably the reason for not merging the SDIO interrupt patches has been the lack of wake-up path for SDIO on some omaps that has also needed remuxing the SDIO DAT1 line to a GPIO

[PATCH v10 5/5] mmc: omap_hsmmc: Pin remux workaround to support SDIO interrupt on AM335x

2014-04-28 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 the p

[PATCH v10 3/5] mmc: omap_hsmmc: Extend debugfs by SDIO IRQ handling, runtime state

2014-04-28 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 Signed-off-by: Tony Lindgren diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c index e675042..76fe3bd 100644 --- a/drivers/mm

[PATCH v10 4/5] mmc: omap_hsmmc: switch default/idle pinctrl states in runtime hooks

2014-04-28 Thread Andreas Fenkart
These are predefined states of the driver model. When not present, as if not set in the device tree, they simple become no-ops. So it is always safe to call them. This is not the simplest implementation, on AM335x at least, we could witch to idle at any point in the suspend hook, only the default s

[PATCH v10 2/5] mmc: omap_hsmmc: bug: abort runtime suspend if pending sdio irq detected

2014-04-28 Thread Andreas Fenkart
on multicores, an sdio irq handler could be running in parallel to runtime suspend. In the worst case it could be waiting for the spinlock held by the runtime suspend. When runtime suspend is complete and the functional clock (fclk) turned off, the irq handler will continue and cause a SIGBUS on th

[PATCH 0/5] mmc: omap_hsmmc: Enable SDIO IRQ.

2014-04-28 Thread Andreas Fenkart
Hi Balaji, Tony, all v10 - bug fix on multi-core, untested - incorporated changes from Balaji - use devres / RAII mechanism to configure wake_up / sdio irq capabilities - drop pinctrl state 'active' rely on driver-model states 'default', 'idle' - add specific 'gpio_dat1' state for am335x SWAK

Re: [PATCH 5/6] ARM: AM43xx: clk: Change the cpts ref clock source to dpll_core_m5 clk

2014-04-28 Thread Richard Cochran
On Mon, Apr 28, 2014 at 09:40:24AM +0530, George Cherian wrote: > cpsw_cpts_rft_clk has got the choice of 3 clocksources > -dpll_core_m4_ck > -dpll_core_m5_ck > -dpll_disp_m2_ck > > By default dpll_core_m4_ck is selected, witn this as clock > source the CPTS doesnot work properly. It gives cloc

<    1   2