Re: USB hwmon on am33xx

2013-07-10 Thread Mugunthan V N
On 7/10/2013 1:31 AM, Sebastian Andrzej Siewior wrote: On 07/09/2013 08:08 PM, Mugunthan V N wrote: Yes, you need hwmod entry for each of the above device. Since USB has only only clock ctrl register, have one as parrent and make other devices as child node. you can take CPSW as an

[PATCH v2 0/2] TWL6030, TWL6032 GPADC driver

2013-07-10 Thread Oleksandr Kozaruk
Hello, This is version 2 - the driver put in drivers/iio, and converted using iio facilities as suggested by Graeme. TWL603[02] GPADC is used to measure battery voltage, battery temperature, battery presence ID, and could be used to measure twl603[02] die temperature. This is used on TI blaze,

[PATCH v2 1/2] ARM: dts: twl: Add GPADC data to device tree

2013-07-10 Thread Oleksandr Kozaruk
GPADC is the general purpose ADC present on twl6030. The dt data is interrupt used to trigger end of ADC conversion. Signed-off-by: Oleksandr Kozaruk oleksandr.koza...@ti.com --- arch/arm/boot/dts/twl6030.dtsi |6 ++ 1 file changed, 6 insertions(+) diff --git

[PATCH v2 2/2] iio: twl6030-gpadc: TWL6030, TWL6032 GPADC driver

2013-07-10 Thread Oleksandr Kozaruk
The GPADC is general purpose ADC found on TWL6030, and TWL6032 PMIC, known also as Phoenix and PhoenixLite. The TWL6030 and TWL6032 have GPADC with 17 and 19 channels respectively. Some channels have current source and are used for measuring voltage drop on resistive load for detecting battery ID

[GIT PULL] omap fixes for v3.11 merge window

2013-07-10 Thread Tony Lindgren
The following changes since commit ddcf6600b133697adbafd96e080818bdc0dfd028: Merge tag 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging (2013-07-03 19:56:35 -0700) are available in the git repository at:

Re: [PATCH] ARM: dts: igep00x0: Add pinmux configuration for MCBSP2.

2013-07-10 Thread Enric Balletbo Serra
Hi Benoit, 2013/7/6 Javier Martinez Canillas jav...@dowhile0.org: On Fri, Jul 5, 2013 at 11:38 PM, Enric Balletbo i Serra eballe...@gmail.com wrote: IGEP Processor Boards based on OMAP3 have the MCBSP2 connected to the TDM interface. The kernel should configure the pinmux for these pins in

[PATCH v3] arm: dts: AM43x: Add usb DT nodes for AM4372

2013-07-10 Thread George Cherian
This patch adds - HS USB nodes - phy nodes - usb control module nodes. Signed-off-by: George Cherian george.cher...@ti.com --- changes from v2 change synopsis to snps use simple node names add both USB and PHY instances add usbctrl node changes from v1 renamed synopsis

Re: Boot hang regression 3.10.0-rc4 - 3.10.0

2013-07-10 Thread Kevin Hilman
Felipe Balbi ba...@ti.com writes: Hi, On Mon, Jul 08, 2013 at 06:50:01PM +0530, Rajendra Nayak wrote: I wonder if this is because the timeouts get now initialized to 0 instead of -1 for the serial driver? You meant initialized to -1, right? There's an additional check for

Re: [RFC PATCH V2 1/8] regulator: Introduce OMAP regulator to control PMIC over VC/VP

2013-07-10 Thread Mark Brown
On Tue, Jul 09, 2013 at 11:04:23AM -0500, Nishanth Menon wrote: On 07/09/2013 10:29 AM, Mark Brown wrote: This seems like something we should be able to cope with by for example adding a bus for the custom PMIC interface or otherwise finding a way to I had considered introducing a custom bus

[PATCH v2] musb: omap: Fix: pass all the resources to musb core

2013-07-10 Thread Kishon Vijay Abraham I
commit 09fc7d (usb: musb: fix incorrect usage of resource pointer) assumes musb core will always have only 2 resources. But for OMAP platforms there can be 3 resources (2 irq resource and 1 iomem resource). Fixed it here. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- Changes from v1: *)

Re: [PATCH v2] musb: omap: Fix: pass all the resources to musb core

2013-07-10 Thread Felipe Balbi
On Wed, Jul 10, 2013 at 04:29:22PM +0530, Kishon Vijay Abraham I wrote: commit 09fc7d (usb: musb: fix incorrect usage of resource pointer) assumes musb core will always have only 2 resources. But for OMAP platforms there can be 3 resources (2 irq resource and 1 iomem resource). Fixed it here.

Re: [PATCH 0/4] pinctrl single support for SoC specific features

2013-07-10 Thread Roger Quadros
Hi Tony, On 06/07/2013 11:50 PM, Tony Lindgren wrote: Hi all, Here are few patches to add support for SoC specific features to pinctrl-single. This is needed at least for omaps to support IO chain wake-up events from deeper idle states. With this patch series, device drivers can request

Re: Boot hang regression 3.10.0-rc4 - 3.10.0

2013-07-10 Thread Tony Lindgren
* Kevin Hilman khil...@linaro.org [130710 01:29]: Felipe Balbi ba...@ti.com writes: Hi, On Mon, Jul 08, 2013 at 06:50:01PM +0530, Rajendra Nayak wrote: I wonder if this is because the timeouts get now initialized to 0 instead of -1 for the serial driver? You meant

Re: Boot hang regression 3.10.0-rc4 - 3.10.0

2013-07-10 Thread Grygorii Strashko
On 07/09/2013 10:41 PM, Felipe Balbi wrote: Hi, On Tue, Jul 09, 2013 at 09:59:28PM +0300, Grygorii Strashko wrote: Imagine the device is marked as suspended even though it's fully enabled (it hasn't been suspended by hwmod due to NO_IDLE flag). In that case your context structure is all zeroes

Re: [PATCH 0/4] pinctrl single support for SoC specific features

2013-07-10 Thread Tony Lindgren
* Roger Quadros rog...@ti.com [130710 05:16]: Hi Tony, On 06/07/2013 11:50 PM, Tony Lindgren wrote: Hi all, Here are few patches to add support for SoC specific features to pinctrl-single. This is needed at least for omaps to support IO chain wake-up events from deeper idle states.

Re: Boot hang regression 3.10.0-rc4 - 3.10.0

2013-07-10 Thread Felipe Balbi
Hi, On Wed, Jul 10, 2013 at 03:16:54PM +0300, Grygorii Strashko wrote: Imagine the device is marked as suspended even though it's fully enabled (it hasn't been suspended by hwmod due to NO_IDLE flag). In that case your context structure is all zeroes (context has never been saved before) then

Re: Boot hang regression 3.10.0-rc4 - 3.10.0

2013-07-10 Thread Tony Lindgren
* Tony Lindgren t...@atomide.com [130710 05:17]: * Kevin Hilman khil...@linaro.org [130710 01:29]: If the problem is omap-serial.c idling things while earlycon is running, then omap-serial.c should be fixed. If this is the case, then delaying the idling in omap-serial.c should take care of

[PATCH v2 0/2] arm: omap: RX-51: ARM errata 430973 workaround

2013-07-10 Thread Pali Rohár
This patch adds RX-51 specific SMC support and sets IBE bit in ACTLR during board init code for ARM errata 430973 workaround. This is second version of patch which simplifing API and moving all board functions to one file board-rx51.c. Wrapper around smc #1 instruction is in omap-smc.S file

[PATCH v2 1/2] ARM: OMAP: Add secure function omap_smc3() which calling instruction smc #1

2013-07-10 Thread Pali Rohár
Other secure functions omap_smc1() and omap_smc2() calling instruction smc #0 but Nokia RX-51 board needs to call smc #1 for PPA access. Signed-off-by: Ivaylo Dimitrov freemangor...@abv.bg Signed-off-by: Pali Rohár pali.ro...@gmail.com --- arch/arm/mach-omap2/omap-secure.h |1 +

[PATCH v2 2/2] RX-51: ARM errata 430973 workaround

2013-07-10 Thread Pali Rohár
Closed and signed Nokia X-Loader bootloader stored in RX-51 nand does not set IBE bit in ACTLR and starting kernel in non-secure mode. So direct write to ACTLR by our kernel does not working and the code for ARM errata 430973 in commit 7ce236fcd6fd45b0441a2d49acb2ceb2de2e8a47 that sets IBE bit is

[PATCH] omapfb: In omapfb_probe return -EPROBE_DEFER when display driver is not loaded yet

2013-07-10 Thread Pali Rohár
* On RX-51 probing for acx565akm driver is later then for omapfb which cause that omapfb probe fail and framebuffer is not working * EPROBE_DEFER causing that kernel try to probe for omapfb later again which fixing this problem * Without this patch display on Nokia RX-51 (N900) phone not

Re: [PATCH 0/4] pinctrl single support for SoC specific features

2013-07-10 Thread Roger Quadros
On 07/10/2013 03:24 PM, Tony Lindgren wrote: * Roger Quadros rog...@ti.com [130710 05:16]: Hi Tony, On 06/07/2013 11:50 PM, Tony Lindgren wrote: Hi all, Here are few patches to add support for SoC specific features to pinctrl-single. This is needed at least for omaps to support IO chain

Re: [PATCH v2] musb: omap: Fix: pass all the resources to musb core

2013-07-10 Thread Kishon Vijay Abraham I
On Wednesday 10 July 2013 04:57 PM, Felipe Balbi wrote: On Wed, Jul 10, 2013 at 04:29:22PM +0530, Kishon Vijay Abraham I wrote: commit 09fc7d (usb: musb: fix incorrect usage of resource pointer) assumes musb core will always have only 2 resources. But for OMAP platforms there can be 3

Re: Boot hang regression 3.10.0-rc4 - 3.10.0

2013-07-10 Thread Tony Lindgren
* Kevin Hilman khil...@linaro.org [130710 01:29]: Felipe Balbi ba...@ti.com writes: Right, but calling serial_omap_restore_context() even when the context is not lost, should not ideally cause an issue. it does in one condition. If context hasn't been saved before. And that can

Re: [GIT PULL] remoteproc fixes

2013-07-10 Thread Ohad Ben-Cohen
With the lists this time On Wed, Jul 10, 2013 at 6:17 PM, Ohad Ben-Cohen o...@wizery.com wrote: The following changes since commit 9e895ace5d82df8929b16f58e9f515f6d54ab82d: Linux 3.10-rc7 (2013-06-22 09:47:31 -1000) are available in the git repository at:

RE: find real users and drivers of rpmsg

2013-07-10 Thread Anna, Suman
Barry, On Mon, Jul 8, 2013 at 10:31 AM, Barry Song 21cn...@gmail.com wrote: hi Ohad/all, i am trying to find some real users of rpmsg, here i only get samples/rpmsg/rpmsg_client_sample.c, does it mean other real drivers are out of mainline? Yes where could i get them? TI

[PATCH 04/12] drivers/mmc/host: don't use devm_pinctrl_get_select_default() in probe

2013-07-10 Thread Wolfram Sang
Since commit ab78029 (drivers/pinctrl: grab default handles from device core), we can rely on device core for setting the default pins. Compile tested only. Acked-by: Linus Walleij linus.wall...@linaro.org (personally at LCE13) Signed-off-by: Wolfram Sang w...@the-dreams.de ---

[PATCH 02/12] drivers/i2c/busses: don't use devm_pinctrl_get_select_default() in probe

2013-07-10 Thread Wolfram Sang
Since commit ab78029 (drivers/pinctrl: grab default handles from device core), we can rely on device core for setting the default pins. Compile tested only. Acked-by: Linus Walleij linus.wall...@linaro.org (personally at LCE13) Signed-off-by: Wolfram Sang w...@the-dreams.de ---

[PATCH v2] mmc: omap_hsmmc: use the generic config for omap2plus devices

2013-07-10 Thread a-bindra
From: Amarinder Bindra a-bin...@ti.com OMAP's hs_mmc driver is used for MMC controller operation on many omap2plus SoCs (OMAP2430, OMAP3, 4, 5 and AM335x). Considering that the device tree entries are already present for these, allow the driver to be built using the config ARCH_OMAP2PLUS rather

Re: Boot hang regression 3.10.0-rc4 - 3.10.0

2013-07-10 Thread Felipe Balbi
Hi, On Wed, Jul 10, 2013 at 07:26:34AM -0700, Tony Lindgren wrote: * Kevin Hilman khil...@linaro.org [130710 01:29]: Felipe Balbi ba...@ti.com writes: Right, but calling serial_omap_restore_context() even when the context is not lost, should not ideally cause an issue. it does

Re: Boot hang regression 3.10.0-rc4 - 3.10.0

2013-07-10 Thread Felipe Balbi
Hi, On Wed, Jul 10, 2013 at 07:07:04PM +0300, Felipe Balbi wrote: how about something like below ? It makes omap_device/hwmod and pm_runtime agree on the initial state of the device and will prevent -runtime_resume() from being called on first pm_runtime_get*() done during probe. This is

[PATCH 0/6] USB: Implement runtime idling and remote wakeup for OMAP EHCI controller

2013-07-10 Thread Roger Quadros
Hi, This series implements suspend/resume for the OMAP EHCI host controller during runtime idle. This will cause its parent, the OMAP USB Host Module as well as the USB TLL Module to be put in suspend and hence allow the USB power domain to be put in a lower power state. Then we no longer prevent

[PATCH 1/6] ARM: OMAP3: Enable Hardware Save and Restore for USB Host

2013-07-10 Thread Roger Quadros
To ensure hardware context is restored while resuming from OFF mode we need to enable the Hardware SAR bit for the USB Host power domain. Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/mach-omap2/powerdomains3xxx_data.c |8 +--- 1 files changed, 1 insertions(+), 7 deletions(-)

[PATCH 3/6] mfd: omap-usb-host: move initialization to module_init()

2013-07-10 Thread Roger Quadros
We no longer need to be initialized in any particular order so move driver initialization to the standard place i.e. module_init() CC: Samuel Ortiz sa...@linux.intel.com Signed-off-by: Roger Quadros rog...@ti.com --- drivers/mfd/omap-usb-host.c | 23 +++

[PATCH 2/6] ARM: dts: omap3beagle-xm: Add idle state pins for USB host

2013-07-10 Thread Roger Quadros
Add the Idle state pins for USB host and enable WAKEUP on DIR, DAT0-3, so that the PHY can wakeup the OMAP SoC from sleep on any USB activity (e.g. remote wakeup or connect/disconnect). Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/boot/dts/omap3-beagle-xm.dts | 29

[PATCH 4/6] mfd: omap-usb-host: Put pins in IDLE state on suspend

2013-07-10 Thread Roger Quadros
In order to support wake up from suspend use the pinctrl framework to put the USB host pins in IDLE state during suspend. CC: Samuel Ortiz sa...@linux.intel.com Signed-off-by: Roger Quadros rog...@ti.com --- drivers/mfd/omap-usb-host.c | 22 ++ 1 files changed, 22

[PATCH 5/6] USB: Support wakeup IRQ for suspended controllers

2013-07-10 Thread Roger Quadros
Some platforms e.g. ehci-omap can generate an interrupt (i.e. remote wakeup) even when the controller is suspended i.e. HW_ACCESSIBLE is cleared. Introduce a flag has_wakeup_irq in struct usb_hcd to indicate such cases. We tackle this case by disabling the IRQ, scheduling a hub resume and

[PATCH 6/6] USB: ehci-omap: Implement suspend/resume

2013-07-10 Thread Roger Quadros
Call ehci_suspend/resume() during runtime suspend/resume as well as system suspend/resume. Use a flag bound to indicate that the HCD structures are valid. This is only true between usb_add_hcd() and usb_remove_hcd() calls. The flag can be used by omap_ehci_runtime_suspend/resume() handlers to

Re: [PATCH 5/6] USB: Support wakeup IRQ for suspended controllers

2013-07-10 Thread Alan Stern
On Wed, 10 Jul 2013, Roger Quadros wrote: Some platforms e.g. ehci-omap can generate an interrupt (i.e. remote wakeup) even when the controller is suspended i.e. HW_ACCESSIBLE is cleared. Introduce a flag has_wakeup_irq in struct usb_hcd to indicate such cases. We tackle this case by

Re: [PATCH 6/6] USB: ehci-omap: Implement suspend/resume

2013-07-10 Thread Alan Stern
On Wed, 10 Jul 2013, Roger Quadros wrote: Call ehci_suspend/resume() during runtime suspend/resume as well as system suspend/resume. Use a flag bound to indicate that the HCD structures are valid. This is only true between usb_add_hcd() and usb_remove_hcd() calls. The flag can be used by

Re: [PATCH 5/6] USB: Support wakeup IRQ for suspended controllers

2013-07-10 Thread Alan Stern
On Wed, 10 Jul 2013, Roger Quadros wrote: Some platforms e.g. ehci-omap can generate an interrupt (i.e. remote wakeup) even when the controller is suspended i.e. HW_ACCESSIBLE is cleared. Introduce a flag has_wakeup_irq in struct usb_hcd to indicate such cases. We tackle this case by

Hello My Dear.

2013-07-10 Thread Famatta Sando
Hello My Dear, How are you today? I hope fine,I came across your contact today while browsing looking for reliable friend and i became interested, my name is miss Famatta. I wish to have you as a friend, if you care. I have important reasons to request your interest for a serious relationship,

Re: [PATCH 04/12] drivers/mmc/host: don't use devm_pinctrl_get_select_default() in probe

2013-07-10 Thread Marek Vasut
Dear Wolfram Sang, Since commit ab78029 (drivers/pinctrl: grab default handles from device core), we can rely on device core for setting the default pins. Compile tested only. Acked-by: Linus Walleij linus.wall...@linaro.org (personally at LCE13) Signed-off-by: Wolfram Sang

Re: [RFC] ARM: OMAP2+: omap_device: add pinctrl handling

2013-07-10 Thread Linus Walleij
On Thu, Jun 27, 2013 at 4:01 PM, Grygorii Strashko grygorii.stras...@ti.com wrote: I think, In the future the OMAP pinctrl configurations would be manged in more flexible way then now (thanks to pinctrl PM helpers and you;)) - Idle state will be splitted to Idle/sleep - default state will be

Re: [RFC] ARM: OMAP2+: omap_device: add pinctrl handling

2013-07-10 Thread Linus Walleij
On Thu, Jun 27, 2013 at 4:45 PM, Tony Lindgren t...@atomide.com wrote: The off mode bits can be enabled continuously, the mux hardware automatically sets them. So sounds like you don't need any separate idle sleep and off states, the following should do: default (or static) static pins that

Re: [PATCH v2] mmc: omap_hsmmc: use the generic config for omap2plus devices

2013-07-10 Thread Nishanth Menon
On 21:36-20130710, a-bin...@ti.com wrote: From: Amarinder Bindra a-bin...@ti.com OMAP's hs_mmc driver is used for MMC controller operation on many omap2plus SoCs (OMAP2430, OMAP3, 4, 5 and AM335x). Considering that the device tree entries are already present for these, allow the driver

Re: [PATCH v2] mmc: omap_hsmmc: use the generic config for omap2plus devices

2013-07-10 Thread Ezequiel Garcia
On Wed, Jul 10, 2013 at 09:36:24PM +0530, a-bin...@ti.com wrote: From: Amarinder Bindra a-bin...@ti.com OMAP's hs_mmc driver is used for MMC controller operation on many omap2plus SoCs (OMAP2430, OMAP3, 4, 5 and AM335x). Considering that the device tree entries are already present for