Re: [PATCH 1/4] pinctrl: Remove duplicate code in pinctrl_pm_select_state functions

2013-07-16 Thread Tony Lindgren
* Grygorii Strashko [130716 07:32]: > Hi Tony, > > On 07/16/2013 04:41 PM, Tony Lindgren wrote: > >* Grygorii Strashko [130716 06:22]: > >>Hi Tony, > >> > >>This patch causes boot failure when I've applied my patch > >>"[RFC] ARM: OMAP2+: omap_device: add pinctrl handling" > >>https://lkml.org/l

Re: [PATCH v9 1/8] drivers: phy: add generic PHY framework

2013-07-16 Thread Greg KH
On Wed, Jun 26, 2013 at 05:17:29PM +0530, Kishon Vijay Abraham I wrote: > +menuconfig GENERIC_PHY > + tristate "PHY Subsystem" > + help > + Generic PHY support. > + > + This framework is designed to provide a generic interface for PHY > + devices present in the kernel. Thi

Re: [PATCH 1/2] ARM: dts: Add SHAM data and documentation for AM33XX

2013-07-16 Thread Lokesh Vutla
Hi Mark, On Wednesday 17 July 2013 04:59 AM, Mark A. Greer wrote: > From: "Mark A. Greer" > > Add the generic AM33XX SHAM module's device tree data and > enable it for the am335x-evm, am335x-evmsk, and am335x-bone > platforms. Also add Documentation file describing the data > for the SHAM modul

Re: [GIT PULL] PHY Framework for 3.12 merge window

2013-07-16 Thread Greg Kroah-Hartman
On Tue, Jul 16, 2013 at 06:08:26PM +0530, Kishon Vijay Abraham I wrote: > Hi Greg, > > Here's the pull request for the PHY Framework which I've been working on for a > while. > > I've applied these patches on the current linux mainline HEAD (which has one > commit after 3.11-rc1 is tagged). > >

Re: [PATCH 2/2] ARM: dts: Add AES data and documentation for AM33XX

2013-07-16 Thread Joel Fernandes
On 07/16/2013 06:29 PM, Mark A. Greer wrote: > From: "Mark A. Greer" > > Add the generic AM33XX AES module's device tree data and > enable it for the am335x-evm, am335x-evmsk, and am335x-bone > platforms. Also add Documentation file describing the data > for the AES module. > > CC: Paul Walmsle

Re: [PATCH 1/2] ARM: dts: Add SHAM data and documentation for AM33XX

2013-07-16 Thread Joel Fernandes
On 07/16/2013 06:29 PM, Mark A. Greer wrote: > From: "Mark A. Greer" > > Add the generic AM33XX SHAM module's device tree data and > enable it for the am335x-evm, am335x-evmsk, and am335x-bone > platforms. Also add Documentation file describing the data > for the SHAM module. > > CC: Paul Walms

[PATCH 2/2] ARM: dts: Add AES data and documentation for AM33XX

2013-07-16 Thread Mark A. Greer
From: "Mark A. Greer" Add the generic AM33XX AES module's device tree data and enable it for the am335x-evm, am335x-evmsk, and am335x-bone platforms. Also add Documentation file describing the data for the AES module. CC: Paul Walmsley Signed-off-by: Mark A. Greer --- .../devicetree/bindings

[PATCH 1/2] ARM: dts: Add SHAM data and documentation for AM33XX

2013-07-16 Thread Mark A. Greer
From: "Mark A. Greer" Add the generic AM33XX SHAM module's device tree data and enable it for the am335x-evm, am335x-evmsk, and am335x-bone platforms. Also add Documentation file describing the data for the SHAM module. CC: Paul Walmsley Signed-off-by: Mark A. Greer --- .../devicetree/bindin

[PATCH 0/2] ARM: dts: Add SHAM and AES DT information

2013-07-16 Thread Mark A. Greer
From: "Mark A. Greer" Long overdue patches to add the device tree updates and documentation for the SHAM and AES modules on the am33xx. The supporting code is already in the mainline kernel. Mark A. Greer (2): ARM: dts: Add SHAM data and documentation for AM33XX ARM: dts: Add AES data and do

[PATCH 2/2] ARM: dts: add AM33XX SPI DMA support

2013-07-16 Thread Joel Fernandes
From: Matt Porter Adds DMA resources to the AM33XX SPI nodes. Signed-off-by: Matt Porter Signed-off-by: Joel A Fernandes --- arch/arm/boot/dts/am33xx.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi index 784f

[PATCH 1/2] ARM: dts: add AM33XX EDMA support

2013-07-16 Thread Joel Fernandes
From: Matt Porter Adds AM33XX EDMA support to the am33xx.dtsi as documented in Documentation/devicetree/bindings/dma/ti-edma.txt Joel: Drop DT entries that are non-hardware-description for now as discussed in [1] [1] https://patchwork.kernel.org/patch/2226761/ Signed-off-by: Matt Porter Sign

Re: v3.11-rc1 USB regressions

2013-07-16 Thread Aaro Koskinen
On Tue, Jul 16, 2013 at 08:30:21PM +0200, Daniel Mack wrote: > On 16.07.2013 20:26, Aaro Koskinen wrote: > > Hi, > > > > On Tue, Jul 16, 2013 at 11:22:47AM +0300, Felipe Balbi wrote: > >>> On Tue, Jul 16, 2013 at 12:30:00PM +0530, Kishon Vijay Abraham I wrote: > On Tuesday 16 July 2013 12:03

Re: v3.11-rc1 USB regressions

2013-07-16 Thread Daniel Mack
On 16.07.2013 20:26, Aaro Koskinen wrote: > Hi, > > On Tue, Jul 16, 2013 at 11:22:47AM +0300, Felipe Balbi wrote: >>> On Tue, Jul 16, 2013 at 12:30:00PM +0530, Kishon Vijay Abraham I wrote: On Tuesday 16 July 2013 12:03 PM, Daniel Mack wrote: > Hi Aaro, > > On 16.07.2013 00:56, Aa

Re: v3.11-rc1 USB regressions

2013-07-16 Thread Aaro Koskinen
Hi, On Tue, Jul 16, 2013 at 11:22:47AM +0300, Felipe Balbi wrote: > > On Tue, Jul 16, 2013 at 12:30:00PM +0530, Kishon Vijay Abraham I wrote: > > > On Tuesday 16 July 2013 12:03 PM, Daniel Mack wrote: > > > > Hi Aaro, > > > > > > > > On 16.07.2013 00:56, Aaro Koskinen wrote: > > > >> Hi, > > > >>

Re: Division by zero caused by CCF

2013-07-16 Thread Mike Turquette
On Tue, Jul 16, 2013 at 6:10 AM, Eduardo Valentin wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > > Hi, > > Adding Mike's correct address. > > On 16-07-2013 08:37, Felipe Balbi wrote: >> Hi, >> >> trying to get USB host verified on OMAP5 uEVM with v3.11-rc1. The >> clk_set_rate() ca

Re: v3.11-rc1 USB regressions

2013-07-16 Thread Aaro Koskinen
Hi, On Tue, Jul 16, 2013 at 08:33:06AM +0200, Daniel Mack wrote: > > fe4cb0912f8e737f8e4b8b38b9e692f8062f5423 > > usb: musb: gadget: remove hcd initialization > > (Reverting this fixes error "cdc_ether: probe of 4-1:1.0 failed > > with error -110" seen on the host side.) > > Whic

[PATCH V2 0/2] regulator: palmas-pmic: doc: update device tree bindings

2013-07-16 Thread Nishanth Menon
We seem to have a few missing updates to device tree bindings with the latest set of changes getting merged in. Changes since V1: Apologies on the spam, looks like I got the wrong mail ID first time around :( minor commit message cleanups V1: http://marc.info/?l=linux-doc&m=13739

[PATCH V2 2/2] regulator: palmas-pmic: doc: remove ti,tstep

2013-07-16 Thread Nishanth Menon
commit 28d1e8cd671a53d6b4f967abbbc2a55f7bd333f6 (regulator: palma: add ramp delay support through regulator constraints) Removed the regulator's ti,step option from driver without updating the documentation. So, remove from documentation and example as well. Signed-off-by: Nishanth Menon --- .

[PATCH V2 1/2] regulator: palmas-pmic: doc: fix typo for sleep-mode

2013-07-16 Thread Nishanth Menon
commit 3c870e3f9d9d98f1ab98614b3b1fd5c79287d361 (regulator: palmas: Change the DT node property names to follow the convention) Missed updating mode-sleep from sleep-mode. Fix the same. Documentation example seems proper for this property. Signed-off-by: Nishanth Menon --- .../devicetree/bindi

Re: [PATCH 0/2] regulator: palmas-pmic: doc: update device tree bindings

2013-07-16 Thread Mark Brown
On Tue, Jul 16, 2013 at 09:27:10AM -0500, Nishanth Menon wrote: > On 09:23-20130716, Nishanth Menon wrote: > > We seem to have a few missing updates to device tree bindings with the > > latest set of changes getting merged in. > Oops.. seems like I have an old mailID for Mark

Re: [PATCH] ARM: OMAP3: Beagle: Fix USB Host on beagle xM Ax/Bx

2013-07-16 Thread Stefan Roese
Hi Roger, On 07/16/2013 04:37 PM, Roger Quadros wrote: > On 07/15/2013 11:24 AM, Stefan Roese wrote: >> On 07/15/2013 10:16 AM, Roger Quadros wrote: > I can only test on beagle-xm (which is also rev. C2) with integrated SMSC > ethernet chip > as I don't have an external USB-ethernet a

Re: [PATCH] i2c-omap: always send stop after nack

2013-07-16 Thread Hein Tibosch
Hi Grygorii, Filipe, On 7/16/2013 9:00 PM, Felipe Balbi wrote: > On Tue, Jul 16, 2013 at 03:08:04PM +0300, Grygorii Strashko wrote: >> Hi Felipe, >> On 07/16/2013 02:27 PM, Felipe Balbi wrote: >>> Hi, >>> >>> On Tue, Jul 16, 2013 at 02:01:11PM +0300, Grygorii Strashko wrote: On a OMAP4460

Re: [PATCH] ARM: OMAP3: Beagle: Fix USB Host on beagle xM Ax/Bx

2013-07-16 Thread Roger Quadros
+Alan On 07/15/2013 11:24 AM, Stefan Roese wrote: > On 07/15/2013 10:16 AM, Roger Quadros wrote: I can only test on beagle-xm (which is also rev. C2) with integrated SMSC ethernet chip as I don't have an external USB-ethernet adapter. >>> >>> Too bad. This difference in boards make

Re: [PATCH 0/2] regulator: palmas-pmic: doc: update device tree bindings

2013-07-16 Thread Nishanth Menon
On 09:23-20130716, Nishanth Menon wrote: > We seem to have a few missing updates to device tree bindings with the > latest set of changes getting merged in. Oops.. seems like I have an old mailID for Mark :( > > Based on v3.11-rc1 tag > > Nishanth Menon (2): > regula

Re: [PATCH 1/4] pinctrl: Remove duplicate code in pinctrl_pm_select_state functions

2013-07-16 Thread Grygorii Strashko
Hi Tony, On 07/16/2013 04:41 PM, Tony Lindgren wrote: * Grygorii Strashko [130716 06:22]: Hi Tony, This patch causes boot failure when I've applied my patch "[RFC] ARM: OMAP2+: omap_device: add pinctrl handling" https://lkml.org/lkml/2013/6/21/309 on top of it: Hmm this patch alone removes

[PATCH 2/2] regulator: palmas-pmic: doc: remove ti,tstep

2013-07-16 Thread Nishanth Menon
commit 28d1e8cd671a53d6b4f967abbbc2a55f7bd333f6 (regulator: palma: add ramp delay support through regulator constraints) Removed the regulator's ti,step option from driver without updating the documentation. remove the support from documentation and example as well. Signed-off-by: Nishanth Menon

[PATCH 0/2] regulator: palmas-pmic: doc: update device tree bindings

2013-07-16 Thread Nishanth Menon
We seem to have a few missing updates to device tree bindings with the latest set of changes getting merged in. Based on v3.11-rc1 tag Nishanth Menon (2): regulator: palmas-pmic: doc: fix typo for sleep-mode regulator: palmas-pmic: doc: remove ti,tstep .../devicetree/bindings/regulator/palm

[PATCH 1/2] regulator: palmas-pmic: doc: fix typo for sleep-mode

2013-07-16 Thread Nishanth Menon
commit 3c870e3f9d9d98f1ab98614b3b1fd5c79287d361 (regulator: palmas: Change the DT node property names to follow the convention) Missed updating mode-sleep from sleep-mode. Fix the same. Documentation seems proper for this property. Signed-off-by: Nishanth Menon --- .../devicetree/bindings/regul

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

2013-07-16 Thread Sergei Shtylyov
Hello. On 07/16/2013 03:34 PM, Oleksandr Kozaruk wrote: 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 --- arch/arm/boot/dts/twl6030.dtsi | 6 ++ 1 file changed, 6 insertions(+)

Re: [PATCH v2 4/4] ARM: OMAP2+: Provide alias to USB PHY clock

2013-07-16 Thread Tony Lindgren
* Roger Quadros [130716 06:45]: > On 07/16/2013 03:32 PM, Tony Lindgren wrote: > > * Roger Quadros [130715 07:11]: > >> Hi Tony, > >> > >> On 06/18/2013 07:04 PM, Roger Quadros wrote: > >>> Till the OMAP clocks are correctly defined in device tree, use > >>> this temporary hack to provide clock a

Re: [PATCH 1/4] pinctrl: Remove duplicate code in pinctrl_pm_select_state functions

2013-07-16 Thread Tony Lindgren
* Grygorii Strashko [130716 06:22]: > Hi Tony, > > This patch causes boot failure when I've applied my patch > "[RFC] ARM: OMAP2+: omap_device: add pinctrl handling" > https://lkml.org/lkml/2013/6/21/309 > > on top of it: Hmm this patch alone removes duplicate code and if it causes issues I must

Re: [PATCH v2 4/4] ARM: OMAP2+: Provide alias to USB PHY clock

2013-07-16 Thread Roger Quadros
On 07/16/2013 03:32 PM, Tony Lindgren wrote: > * Roger Quadros [130715 07:11]: >> Hi Tony, >> >> On 06/18/2013 07:04 PM, Roger Quadros wrote: >>> Till the OMAP clocks are correctly defined in device tree, use >>> this temporary hack to provide clock alias to the USB PHY clocks. >>> >>> Without thi

Re: [PATCH v2 4/4] ARM: OMAP2+: Provide alias to USB PHY clock

2013-07-16 Thread Arend van Spriel
On 07/16/2013 03:12 PM, Arend van Spriel wrote: On 07/15/2013 04:05 PM, Roger Quadros wrote: Hi Tony, On 06/18/2013 07:04 PM, Roger Quadros wrote: Till the OMAP clocks are correctly defined in device tree, use this temporary hack to provide clock alias to the USB PHY clocks. Without this, USB

Re: [PATCH 1/4] pinctrl: Remove duplicate code in pinctrl_pm_select_state functions

2013-07-16 Thread Grygorii Strashko
Hi Tony, This patch causes boot failure when I've applied my patch "[RFC] ARM: OMAP2+: omap_device: add pinctrl handling" https://lkml.org/lkml/2013/6/21/309 on top of it: [0.264007] L310 cache controller enabled [0.268310] l2x0: 16 ways, CACHE_ID 0x41c4, AUX_CTRL 0x7e47, Cache

Re: [PATCH v2 4/4] ARM: OMAP2+: Provide alias to USB PHY clock

2013-07-16 Thread Arend van Spriel
On 07/15/2013 04:05 PM, Roger Quadros wrote: Hi Tony, On 06/18/2013 07:04 PM, Roger Quadros wrote: Till the OMAP clocks are correctly defined in device tree, use this temporary hack to provide clock alias to the USB PHY clocks. Without this, USB Host & Ethernet will not be functional with devi

Re: Division by zero caused by CCF

2013-07-16 Thread Eduardo Valentin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi, Adding Mike's correct address. On 16-07-2013 08:37, Felipe Balbi wrote: > Hi, > > trying to get USB host verified on OMAP5 uEVM with v3.11-rc1. The > clk_set_rate() call ends up in a division by zero, which is quite > interesting provided the

Re: [PATCH] i2c-omap: always send stop after nack

2013-07-16 Thread Felipe Balbi
Hi, (when replying, can you add some blank lines around your reply and the previous mail, it's quite difficult to find your replies with so many quote marks (>) around) On Tue, Jul 16, 2013 at 03:08:04PM +0300, Grygorii Strashko wrote: > Hi Felipe, > On 07/16/2013 02:27 PM, Felipe Balbi wrote: >

[PATCH v2 2/5] arm: omap5: dts: fix ocp2scp DTS data

2013-07-16 Thread Felipe Balbi
this patch fixes the DTS data for ocp2scp node by adding the missing reg property. Signed-off-by: Felipe Balbi --- arch/arm/boot/dts/omap5.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/omap5.dtsi b/arch/arm/boot/dts/omap5.dtsi index 5c99f19..4e41409

[PATCH v2 0/5] ARM: OMAP: DTS/HWMOD/defconfig changes for USB3

2013-07-16 Thread Felipe Balbi
With these patches (plus a few others on the driver side which will be going upstream soon) I could get functional USB3 with my omap5-uevm platform. Changes since v1: - split ocp2scp dts and hwmod data into separate patches - reorganize the series in order to group DTS, hwmod and d

Re: [PATCH v2 0/4] usb: musb: fix USB enumeration issue in OMAP3 platform

2013-07-16 Thread Tony Lindgren
* Felipe Balbi [130716 05:49]: > Hi, > > On Tue, Jul 16, 2013 at 11:22:38AM +0530, Kishon Vijay Abraham I wrote: > > Tony, > > > > On Monday 08 July 2013 04:44 PM, Kishon Vijay Abraham I wrote: > > > This series fixes the USB enumeration issue caused because of the > > > controller > > > not ab

Re: [PATCH v2 4/4] arm: omap: remove using usb_bind_phy for binding musb and phy

2013-07-16 Thread Tony Lindgren
* Kishon Vijay Abraham I [130708 04:21]: > Now that MUSB for OMAP started using devm_usb_get_phy_by_name > which does not require PHY library to already have the binding > information, removed usb_bind_phy calls that binds the MUSB controller > with the PHY from the board files. > > Signed-off-by

[PATCH v2 3/5] arm: omap5: dts: add palmas-usb node

2013-07-16 Thread Felipe Balbi
Without this node, there will be no palmas driver to notify dwc3 that a cable has been connected and, without that, dwc3 will never initialize. Signed-off-by: Felipe Balbi --- arch/arm/boot/dts/omap5-uevm.dts | 10 ++ arch/arm/boot/dts/omap5.dtsi | 2 +- 2 files changed, 11 insertio

[PATCH v2 5/5] arm: omap2plus_defconfig: enable dwc3 and dependencies

2013-07-16 Thread Felipe Balbi
DWC3 enables USB3 functionality for OMAP5 boards, it's safe to enable those drivers in omap2plus_defconfig. Signed-off-by: Felipe Balbi --- arch/arm/configs/omap2plus_defconfig | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/o

[PATCH v2 4/5] arm: omap5: hwmod: add missing ocp2scp hwmod data

2013-07-16 Thread Felipe Balbi
From: Benoit Cousson without that hwmod data, USB3 will not in OMAP5 boards. Signed-off-by: Benoit Cousson Signed-off-by: Felipe Balbi --- arch/arm/mach-omap2/omap_hwmod_54xx_data.c | 45 ++ 1 file changed, 45 insertions(+) diff --git a/arch/arm/mach-omap2/omap_hw

[PATCH v2 1/5] arm: omap5: dts: fix reg property size

2013-07-16 Thread Felipe Balbi
USB3 block has a 64KiB space, another 64KiB is used for the wrapper. Without this change, resource_size() will get confused and driver won't probe because size will be negative. Signed-off-by: Felipe Balbi --- arch/arm/boot/dts/omap5.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-

Re: [PATCH v2 1/4] arm: omap: Add phy binding info for musb in plat data

2013-07-16 Thread Tony Lindgren
* Kishon Vijay Abraham I [130708 04:20]: > In order for controllers to get PHY in case of non dt boot, the phy > binding information (phy label) should be added in the platform > data of the controller. > > Signed-off-by: Kishon Vijay Abraham I > Acked-by: Felipe Balbi > Tested-by: Tomi Valkein

Re: [PATCH v2 0/4] usb: musb: fix USB enumeration issue in OMAP3 platform

2013-07-16 Thread Felipe Balbi
Hi, On Tue, Jul 16, 2013 at 11:22:38AM +0530, Kishon Vijay Abraham I wrote: > Tony, > > On Monday 08 July 2013 04:44 PM, Kishon Vijay Abraham I wrote: > > This series fixes the USB enumeration issue caused because of the controller > > not able to get a reference to the PHY because of incorrect b

[GIT PULL] PHY Framework for 3.12 merge window

2013-07-16 Thread Kishon Vijay Abraham I
Hi Greg, Here's the pull request for the PHY Framework which I've been working on for a while. I've applied these patches on the current linux mainline HEAD (which has one commit after 3.11-rc1 is tagged). Even before this framework is merged, quite a few people started using it. I've queued tho

Division by zero caused by CCF

2013-07-16 Thread Felipe Balbi
Hi, trying to get USB host verified on OMAP5 uEVM with v3.11-rc1. The clk_set_rate() call ends up in a division by zero, which is quite interesting provided the driver will only call clk_set_rate() if the clock is valid and clk_rate is != 0. [ 22.009238] Division by zero in kernel. [ 22.0092

Re: [PATCH v2 4/4] ARM: OMAP2+: Provide alias to USB PHY clock

2013-07-16 Thread Tony Lindgren
* Roger Quadros [130715 07:11]: > Hi Tony, > > On 06/18/2013 07:04 PM, Roger Quadros wrote: > > Till the OMAP clocks are correctly defined in device tree, use > > this temporary hack to provide clock alias to the USB PHY clocks. > > > > Without this, USB Host & Ethernet will not be functional wi

Re: [PATCH 2/4] arm: omap5: hwmod: add missing ocp2scp hwmod data

2013-07-16 Thread Tony Lindgren
* Felipe Balbi [130715 08:52]: > On Mon, Jul 15, 2013 at 09:13:32PM +0530, Kishon Vijay Abraham I wrote: > > Hi, > > > > On Monday 15 July 2013 09:03 PM, Felipe Balbi wrote: > > > From: Benoit Cousson > > > > > > without that hwmod data, USB3 will not in OMAP5 boards. > > > > > > While at that

[PATCH] ARM: OMAP: dma: fix error return code in omap_system_dma_probe()

2013-07-16 Thread Wei Yongjun
From: Wei Yongjun Fix to return a negative error code from the error handling case instead of 0, as done elsewhere in this function. Signed-off-by: Wei Yongjun --- arch/arm/plat-omap/dma.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/plat-omap/dma.c b/arch/arm/plat-omap/dma.c i

Re: [PATCH] i2c-omap: always send stop after nack

2013-07-16 Thread Grygorii Strashko
Hi Felipe, On 07/16/2013 02:27 PM, Felipe Balbi wrote: Hi, On Tue, Jul 16, 2013 at 02:01:11PM +0300, Grygorii Strashko wrote: On a OMAP4460, i2c-bus-3: A driver (lm75) is causing many 'timeout waiting for bus ready' errors. SDA remains high (as it should), but SCL remains low after a NACK. The

Re: [PATCH 3/4] pinctrl: Add support for additional dynamic states

2013-07-16 Thread Tony Lindgren
* Felipe Balbi [130716 02:42]: > Hi, > > On Tue, Jul 16, 2013 at 02:05:36AM -0700, Tony Lindgren wrote: > > +int pinctrl_check_dynamic(struct device *dev, struct pinctrl_state *st1, > > + struct pinctrl_state *st2) > > +{ > > + struct pinctrl_setting *s1, *s2; > > + > > +

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

2013-07-16 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 --- arch/arm/boot/dts/twl6030.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/twl6030.dtsi b/arch/arm/boot/dts/tw

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

2013-07-16 Thread Oleksandr Kozaruk
Hello, v4 - addressed comments: fixed style violation, bug in freeing memory, added comments explaining calibration method, removed test network channels from exposing to userspace, error handling for wait_for_complition v3 - fixed compiler warning v2 - the driver put in drivers/ii

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

2013-07-16 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

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

2013-07-16 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

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

2013-07-16 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 --- arch/arm/boot/dts/twl6030.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/twl6030.dtsi b/arch/arm/boot/dts/tw

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

2013-07-16 Thread Oleksandr Kozaruk
Hello, v4 - addressed comments: fixed style violation, bug in freeing memory, added comments explaining calibration method, removed test network channels from exposing to userspace, error handling for wait_for_complition v3 - fixed compiler warning v2 - the driver put in drivers/ii

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

2013-07-16 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

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

2013-07-16 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 --- arch/arm/boot/dts/twl6030.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/twl6030.dtsi b/arch/arm/boot/dts/tw

Re: [PATCH] i2c-omap: always send stop after nack

2013-07-16 Thread Felipe Balbi
Hi, On Tue, Jul 16, 2013 at 02:01:11PM +0300, Grygorii Strashko wrote: > On a OMAP4460, i2c-bus-3: > > A driver (lm75) is causing many 'timeout waiting for bus ready' errors. > SDA remains high (as it should), but SCL remains low after a NACK. > The bus becomes _unusable for o

Re: [PATCH] i2c-omap: always send stop after nack

2013-07-16 Thread Grygorii Strashko
Hi Hein, Felipe On 07/16/2013 12:42 PM, Felipe Balbi wrote: Hi, On Tue, Jul 16, 2013 at 05:33:47PM +0800, Hein Tibosch wrote: On 7/16/2013 5:03 PM, Felipe Balbi wrote: Hi, On Tue, Jul 16, 2013 at 04:19:35PM +0800, Hein Tibosch wrote: Hi Vikram, On a OMAP4460, i2c-bus-3: A driver (lm75) is

Re: Boot hang regression 3.10.0-rc4 -> 3.10.0

2013-07-16 Thread Grygorii Strashko
Hi Rajendra, On 07/11/2013 12:17 PM, Rajendra Nayak wrote: On Wednesday 10 July 2013 09:37 PM, 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 p

Re: [PATCH] i2c-omap: always send stop after nack

2013-07-16 Thread Hein Tibosch
On 7/16/2013 5:03 PM, Felipe Balbi wrote: > Hi, > > On Tue, Jul 16, 2013 at 04:19:35PM +0800, Hein Tibosch wrote: >> Hi Vikram, >> >> On a OMAP4460, i2c-bus-3: >> >> A driver (lm75) is causing many 'timeout waiting for bus ready' errors. >> SDA remains high (as it should), but SCL remains low after

Re: [PATCH] i2c-omap: always send stop after nack

2013-07-16 Thread Felipe Balbi
Hi, On Tue, Jul 16, 2013 at 05:33:47PM +0800, Hein Tibosch wrote: > On 7/16/2013 5:03 PM, Felipe Balbi wrote: > > Hi, > > > > On Tue, Jul 16, 2013 at 04:19:35PM +0800, Hein Tibosch wrote: > >> Hi Vikram, > >> > >> On a OMAP4460, i2c-bus-3: > >> > >> A driver (lm75) is causing many 'timeout waiting

Re: [PATCH 3/4] pinctrl: Add support for additional dynamic states

2013-07-16 Thread Felipe Balbi
Hi, On Tue, Jul 16, 2013 at 02:05:36AM -0700, Tony Lindgren wrote: > +int pinctrl_check_dynamic(struct device *dev, struct pinctrl_state *st1, > + struct pinctrl_state *st2) > +{ > + struct pinctrl_setting *s1, *s2; > + > + list_for_each_entry(s1, &st1->settings, node

Re: Unable to boot with kernel 3.11-rc1 on Panda Board ES Rev B1

2013-07-16 Thread Tony Lindgren
* Lokesh Vutla [130715 21:19]: > Hi Jacob, > On Tuesday 16 July 2013 06:15 AM, Jacob Minshall wrote: > > When trying to boot a Panda Board ES Rev B1 with the 3.11-rc1 kernel, > > the boot does not work. All that happens is pasted below, and then it > > just hangs there not actually starting the ke

[GIT PULL] pinctrl-single SoC specific support for v3.12

2013-07-16 Thread Tony Lindgren
Hi Linus, Here's a pull request for the pinctrl-single changes posted few weeks ago. Assuming this pull request and the patches are OK, I'd like to also merge this branch into omap tree so we can have the wake-up events working. So we'd have to establish keeping these commits immutable. Note that

Re: [PATCH 0/4] improved support for runtime muxing for pinctrl

2013-07-16 Thread Tony Lindgren
* Tony Lindgren [130716 02:12]: > > As discussed earlier, the pinctrl support for changing some of the > consumer device pins during runtime needs some improvment. > > Here are the patches to do that, I'll also post a minimal sample > patch as a reply to this thread on how to do the muxing for >

[PATCH 2/4] pinctrl: Allow pinctrl to have multiple active states

2013-07-16 Thread Tony Lindgren
It's quite common that we need to dynamically change some pins for a device for runtime PM, or toggle a pin between rx and tx. Changing all the pins for a device is not efficient way of doing it. So let's allow setting up multiple active states for pinctrl. Currently we only need PINCTRL_STATIC an

[PATCH 4/4] drivers: Add pinctrl handling for dynamic pin states

2013-07-16 Thread Tony Lindgren
We want to have static pin states handled separately from dynamic pin states, so let's add optional state_active. Then if state_active is defined, let's check and make sure state_idle and state_sleep match state_active for the pin groups to avoid checking them during runtime as the active and idle

[PATCH 3/4] pinctrl: Add support for additional dynamic states

2013-07-16 Thread Tony Lindgren
To toggle dynamic states, let's add the optional active state in addition to the static default state. Then if the optional active state is defined, we can require that idle and sleep states cover the same pingroups as the active state. Then let's add pinctrl_check_dynamic() and pinctrl_select_dyn

[PATCH 1/4] pinctrl: Remove duplicate code in pinctrl_pm_select_state functions

2013-07-16 Thread Tony Lindgren
There's no need to duplicate essentially the same functions. Let's introduce static int pinctrl_pm_select_state() and make the other related functions call that. This allows us to add support later on for multiple active states, and more optimized dynamic remuxing. Note that we still need to expo

[PATCH 0/4] improved support for runtime muxing for pinctrl

2013-07-16 Thread Tony Lindgren
Hi all, As discussed earlier, the pinctrl support for changing some of the consumer device pins during runtime needs some improvment. Here are the patches to do that, I'll also post a minimal sample patch as a reply to this thread on how to do the muxing for runtime PM. Regards, Tony --- Tony

Re: [PATCH] i2c-omap: always send stop after nack

2013-07-16 Thread Felipe Balbi
Hi, On Tue, Jul 16, 2013 at 04:19:35PM +0800, Hein Tibosch wrote: > Hi Vikram, > > On a OMAP4460, i2c-bus-3: > > A driver (lm75) is causing many 'timeout waiting for bus ready' errors. > SDA remains high (as it should), but SCL remains low after a NACK. > The bus becomes _unusable for other clie

[PATCH] i2c-omap: always send stop after nack

2013-07-16 Thread Hein Tibosch
Hi Vikram, On a OMAP4460, i2c-bus-3: A driver (lm75) is causing many 'timeout waiting for bus ready' errors. SDA remains high (as it should), but SCL remains low after a NACK. The bus becomes _unusable for other clients_. While probing, "lm75" writes a command, followed by a read + stop, but the

Re: v3.11-rc1 USB regressions

2013-07-16 Thread Felipe Balbi
On Tue, Jul 16, 2013 at 11:08:36AM +0300, Felipe Balbi wrote: > Hi, > > On Tue, Jul 16, 2013 at 12:30:00PM +0530, Kishon Vijay Abraham I wrote: > > On Tuesday 16 July 2013 12:03 PM, Daniel Mack wrote: > > > Hi Aaro, > > > > > > On 16.07.2013 00:56, Aaro Koskinen wrote: > > >> Hi, > > >> > > >> I

Re: v3.11-rc1 USB regressions

2013-07-16 Thread Felipe Balbi
Hi, On Tue, Jul 16, 2013 at 12:30:00PM +0530, Kishon Vijay Abraham I wrote: > On Tuesday 16 July 2013 12:03 PM, Daniel Mack wrote: > > Hi Aaro, > > > > On 16.07.2013 00:56, Aaro Koskinen wrote: > >> Hi, > >> > >> I think USB tree introduced regressions in v3.11-rc1, at least for some > >> OMAP de

RE: [PATCH v1 1/5] mtd: nand: omap: optimized chip->ecc.correct() for H/W ECC schemes

2013-07-16 Thread Gupta, Pekon
> > Hi Pekon, > > On Mon, Jul 15, 2013 at 8:25 PM, Pekon Gupta wrote: > > chip->ecc.correct() is used for detecting and correcting bit-flips during > > read > > operations. In omap2-nand driver this is done usingt following functions: > > > > - omap_correct_data(): for H/W based HAM1_ECC scheme

Re: v3.11-rc1 USB regressions

2013-07-16 Thread Kishon Vijay Abraham I
Hi, On Tuesday 16 July 2013 12:03 PM, Daniel Mack wrote: > Hi Aaro, > > On 16.07.2013 00:56, Aaro Koskinen wrote: >> Hi, >> >> I think USB tree introduced regressions in v3.11-rc1, at least for some >> OMAP devices using legacy boot. > > Thanks for checking the tree so early. > >> I have only b