Re: [PATCH 07/13] twl4030_charger: distinguish between USB current and 'AC' current

2015-08-06 Thread NeilBrown
On Fri, 7 Aug 2015 07:13:09 +0200 Sebastian Reichel wrote: > Hi, > > This actually slipped through my review. IMHO madc should be > accessed through IIO, as already done for twl4030-madc-battery > and rx51-battery. That way the custom API can be removed at > some point. > > Anyway, I queued the

[PATCH 1/1] ARM: OMAP2+: Fix power domain operations regression caused by 81xx

2015-08-06 Thread Tony Lindgren
I managed to mess up omap3 power domain operations with commit 7c80a3f89c51 ("ARM: OMAP2+: Add custom prwdm_operations for 81xx to support dm814x"), by default we should keep on using the omap3_pwrdm_operations, only 81xx needs custom handling. This causes omap3 PM to break so we won't hit off mod

Re: [PATCH 07/13] twl4030_charger: distinguish between USB current and 'AC' current

2015-08-06 Thread Sebastian Reichel
Hi, This actually slipped through my review. IMHO madc should be accessed through IIO, as already done for twl4030-madc-battery and rx51-battery. That way the custom API can be removed at some point. Anyway, I queued the below patch with Tony's ACK to fix the build issue in next. On Fri, Aug 07,

[PATCH] ARM: dts: AM4372: Add the am4372-rtc compatible string

2015-08-06 Thread Keerthy
am4372-rtc string was already part of dts, introduced to identify the rtc specific to am4372 family of SoCs. It was removed in one of the previous patches. Adding back the same with appropriate documentation. Signed-off-by: Keerthy --- Documentation/devicetree/bindings/rtc/rtc-omap.txt | 1 + ar

cmm files for omap4460

2015-08-06 Thread Ryan
Hi, I am using a 4460 Based custom board & i want to debug linux using Trace32. Could anyone share the cmm files required for debugging omap4460. I also request you to share any related documentation for debugging omap using trace32. Thanks and Regards, ryan -- To unsubscribe from this list:

Re: [PATCH 07/13] twl4030_charger: distinguish between USB current and 'AC' current

2015-08-06 Thread Tony Lindgren
* NeilBrown [150806 20:48]: > > Thanks, I did get notified about that by Fengguang's test robot, but > it's still on my list > > I guess making CHARGER_TWL4030 auto-select TWL4030_MADC would not be > acceptable? That would pull in IIO (it didn't use to...). > > If this OK? Looks OK to me

Re: [PATCH 07/13] twl4030_charger: distinguish between USB current and 'AC' current

2015-08-06 Thread NeilBrown
On Thu, 6 Aug 2015 20:11:16 -0700 Tony Lindgren wrote: > * NeilBrown [150729 17:28]: > > --- a/drivers/power/twl4030_charger.c > > +++ b/drivers/power/twl4030_charger.c > > static int twl4030_charger_update_current(struct twl4030_bci *bci) > > { > > int status; > > + int cur; > > uns

Re: [4.2-rc1][PATCH] gpio: omap: add missed spin_unlock_irqrestore in omap_gpio_irq_type

2015-08-06 Thread Tony Lindgren
* Linus Walleij [150716 01:38]: > On Wed, Jun 24, 2015 at 4:54 PM, Grygorii Strashko > wrote: > > > From: Grygorii Strashko > > > > Add missed spin_unlock_irqrestore in omap_gpio_irq_type when > > omap_set_gpio_triggering() is failed. > > > > It fixes static checker warning: > > > > dri

Re: [PATCH 07/13] twl4030_charger: distinguish between USB current and 'AC' current

2015-08-06 Thread Tony Lindgren
* NeilBrown [150729 17:28]: > --- a/drivers/power/twl4030_charger.c > +++ b/drivers/power/twl4030_charger.c > static int twl4030_charger_update_current(struct twl4030_bci *bci) > { > int status; > + int cur; > unsigned reg, cur_reg; > u8 bcictl1, oldreg, fullreg; > bo

Re: [PATCH 1/8] ARM: dts: AM4372: Reorder the rtc compatible string

2015-08-06 Thread Tony Lindgren
* Keerthy [150806 09:51]: > > Shall i re-do this patch without removing am4372-rtc? If you can drop this i > can re-do without removing the original am4372 compatible. OK please send a patch reverting the compatible change against the current omap-for-v4.3/dt-v2 branch. Please also describe why

Re: [PATCH 3/3] serial: 8250: omap: restore registers on shutdown

2015-08-06 Thread Charles Manning
On Fri, Aug 7, 2015 at 6:22 AM, Peter Hurley wrote: > I agree; this is what we should do first because someone might want it > for backports. Got an idea how far this can be ported back? I'm being hampered by severe performance issues on a beagleboneblack-like device (am335x) running on 3.18 ker

Re: [RFC PATCH 1/5] spi: introduce flag for memory mapped read

2015-08-06 Thread Russell King - ARM Linux
On Thu, Aug 06, 2015 at 06:14:00PM +0200, Geert Uytterhoeven wrote: > On Thu, Aug 6, 2015 at 3:51 PM, Russell King - ARM Linux > wrote: > > On Thu, Aug 06, 2015 at 05:55:23PM +0530, Vignesh R wrote: > >> On the whole following are my requirements: > >> 1. to be able to communicate with non -flash

Re: next-20150806 build: 2 failures 52 warnings (next-20150806)

2015-08-06 Thread Joerg Roedel
On Thu, Aug 06, 2015 at 07:01:56PM +0100, Mark Brown wrote: > On Thu, Aug 06, 2015 at 12:00:47PM +0100, Build bot for Mark Brown wrote: > > Today's linux-next fails to build an ARM allmodconfig with: > > > ../drivers/iommu/omap-iommu-debug.c:138:2: error: void value not ignored as > > it ought t

[PATCH 1/2] OMAPDSS: dss-of: Fix node refcount leak in omapdss_of_get_next_port()

2015-08-06 Thread Jyri Sarha
Signed-off-by: Jyri Sarha --- drivers/video/fbdev/omap2/dss/dss-of.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/video/fbdev/omap2/dss/dss-of.c b/drivers/video/fbdev/omap2/dss/dss-of.c index 928ee63..ab6ef16 100644 --- a/drivers/video/fbdev/omap2/dss/dss-of.c +++ b/drivers/video/

[PATCH 0/2] OMAPDSS: Fix of-node refcount issues

2015-08-06 Thread Jyri Sarha
I found couple of refcounting issues related to OMAP DSS of-node handling. Second patch should fix the "ERROR: Bad of_node_put() on /encoder@0/ports/port@1" -problem. In the long run it would make sense start using of_graph_*() functions in OMAP DSS too. However the semantics of of_graph_*() funct

[PATCH 2/2] OMAPDSS: of-dss: omap_dss_find_output_by_port_node() keep port refcount

2015-08-06 Thread Jyri Sarha
The only user of dss_of_port_get_parent_device() function is omap_dss_find_output_by_port_node() and it assumes the refcount of the port parameter is not decremented by the call. Signed-off-by: Jyri Sarha --- drivers/video/fbdev/omap2/dss/dss-of.c | 2 +- 1 file changed, 1 insertion(+), 1 deleti

Re: [PATCH 3/3] serial: 8250: omap: restore registers on shutdown

2015-08-06 Thread Peter Hurley
On 08/06/2015 09:59 AM, Sebastian Andrzej Siewior wrote: > On 08/06/2015 02:31 PM, Sebastian Andrzej Siewior wrote: > > Hi Peter, > >>> I'll look at/test this this weekend, ok? >> >> Sure. I'm currently re-spinning the patches so have everything in >> proper pieces. While at it I will take a look

Re: [RFC PATCH 1/5] spi: introduce flag for memory mapped read

2015-08-06 Thread Mark Brown
On Thu, Aug 06, 2015 at 05:55:23PM +0530, Vignesh R wrote: > 1.Write to flash config register via config port to switch to QUAD MODE > (or any mode that flash supports). > 2. Populate QSPI_SPI_SETUP_REGx with flash read command, number of > address bytes to use and dummy bytes required. These thi

Re: [RFC PATCH 1/5] spi: introduce flag for memory mapped read

2015-08-06 Thread Michal Suchanek
On 6 August 2015 at 18:14, Geert Uytterhoeven wrote: > On Thu, Aug 6, 2015 at 3:51 PM, Russell King - ARM Linux > wrote: >> On Thu, Aug 06, 2015 at 05:55:23PM +0530, Vignesh R wrote: >>> On the whole following are my requirements: >>> 1. to be able to communicate with non -flash SPI devices via c

Re: next-20150806 build: 2 failures 52 warnings (next-20150806)

2015-08-06 Thread Mark Brown
On Thu, Aug 06, 2015 at 12:00:47PM +0100, Build bot for Mark Brown wrote: Today's linux-next fails to build an ARM allmodconfig with: > ../drivers/iommu/omap-iommu-debug.c:138:2: error: void value not ignored as > it ought to be caused by a combination of 1ba2f20ac (fs/seq_file: convert int seq

Re: [PATCH 1/8] ARM: dts: AM4372: Reorder the rtc compatible string

2015-08-06 Thread Keerthy
On Thursday 06 August 2015 07:46 PM, Felipe Balbi wrote: On Thu, Aug 06, 2015 at 06:55:57AM +0530, Keerthy wrote: On Wednesday 05 August 2015 10:21 PM, Felipe Balbi wrote: On Wed, Aug 05, 2015 at 09:48:08PM +0530, Keerthy wrote: On Wednesday 05 August 2015 09:44 PM, Felipe Balbi wrote:

Re: [RFC PATCH 1/5] spi: introduce flag for memory mapped read

2015-08-06 Thread Mark Brown
On Thu, Aug 06, 2015 at 02:51:29PM +0100, Russell King - ARM Linux wrote: > The M25P80 driver just appends additional bytes to the message to > achieve this: > > struct m25p *flash = nor->priv; > unsigned int dummy = nor->read_dummy; > > /* convert the dummy cycles to the

Re: [RFC PATCH 1/5] spi: introduce flag for memory mapped read

2015-08-06 Thread Geert Uytterhoeven
On Thu, Aug 6, 2015 at 3:51 PM, Russell King - ARM Linux wrote: > On Thu, Aug 06, 2015 at 05:55:23PM +0530, Vignesh R wrote: >> On the whole following are my requirements: >> 1. to be able to communicate with non -flash SPI devices via config port >> ( this functionality is supported by current dr

Re: [RFC PATCH 1/5] spi: introduce flag for memory mapped read

2015-08-06 Thread Mark Brown
On Thu, Aug 06, 2015 at 01:42:32PM +0200, Michal Suchanek wrote: > On 6 August 2015 at 13:23, Mark Brown wrote: > > Sure, but at the end of the day it's just emitting standard SPI messages > > which don't know anything about flash. If those messages are a sensible > > interface here then why bot

[PATCH] ARM: OMAP5 / DRA7: Introduce workaround for 801819

2015-08-06 Thread Nishanth Menon
Add workaround for Cortex-A15 ARM erratum 801819 which says in summary that "A livelock can occur in the L2 cache arbitration that might prevent a snoop from completing. Under certain conditions this can cause the system to deadlock. " Recommended workaround is as follows: Do both of the following

Re: [PATCH v5 0/3] dra7xx: Add PM support to PCIe

2015-08-06 Thread Jingoo Han
On Friday, July 31, 2015 9:25 PM, Kishon Vijay Abraham I wrote: > > This series adds PM support to pci-dra7xx so that PCI clocks can be disabled > during suspend and enabled back during resume without affecting > PCI functionality. > > Changes from v4: > *) Fixed a bug caused by sending incomplet

Re: Linux 4.2.0-rc5: am335x: musb warnings

2015-08-06 Thread Felipe Balbi
HI, On Thu, Aug 06, 2015 at 09:40:26AM +0200, Yegor Yefremov wrote: > I performed a stress test with several FT4232H chips connected to a how many ? > hub, that is attached to one of the musb ports. So far the test was > successful for several hours. But I've seen following warnings: > > musb_h

Re: [PATCH 1/8] ARM: dts: AM4372: Reorder the rtc compatible string

2015-08-06 Thread Felipe Balbi
On Thu, Aug 06, 2015 at 06:55:57AM +0530, Keerthy wrote: > > > On Wednesday 05 August 2015 10:21 PM, Felipe Balbi wrote: > >On Wed, Aug 05, 2015 at 09:48:08PM +0530, Keerthy wrote: > >> > >> > >>On Wednesday 05 August 2015 09:44 PM, Felipe Balbi wrote: > >>>On Wed, Aug 05, 2015 at 09:21:05PM +053

Re: [PATCH 3/3] serial: 8250: omap: restore registers on shutdown

2015-08-06 Thread Sebastian Andrzej Siewior
On 08/06/2015 02:31 PM, Sebastian Andrzej Siewior wrote: Hi Peter, >> I'll look at/test this this weekend, ok? > > Sure. I'm currently re-spinning the patches so have everything in > proper pieces. While at it I will take a look at x_char. So now that I actually look at it. If I read this right

Re: [RFC PATCH 1/5] spi: introduce flag for memory mapped read

2015-08-06 Thread Russell King - ARM Linux
On Thu, Aug 06, 2015 at 05:55:23PM +0530, Vignesh R wrote: > On the whole following are my requirements: > 1. to be able to communicate with non -flash SPI devices via config port > ( this functionality is supported by current driver, I dont want to > break it). Or pump any spi_message on to SPI bu

Re: [PATCH 1/8] ARM: dts: AM4372: Reorder the rtc compatible string

2015-08-06 Thread Afzal Mohammed
Hi, On Wed, Aug 05, 2015 at 11:14:45AM -0500, Felipe Balbi wrote: > for them. Sure, it wasn't documented, but that's a problem of commit > 73456012734b80442b33916406cfd13bf1b73acb (ARM: dts: AM4372: add few > nodes) which, essentially, added that compatible flag without > documenting it. It was

Re: [PATCH 3/3] serial: 8250: omap: restore registers on shutdown

2015-08-06 Thread Sebastian Andrzej Siewior
On 08/06/2015 02:27 PM, Peter Hurley wrote: > Hi Sebastian, Hi Peter, > On 08/04/2015 07:58 AM, Sebastian Andrzej Siewior wrote: >> On 08/03/2015 09:32 PM, Peter Hurley wrote: >> You mean a function in 8250-dma API which does what I did just here with the wait_event() and the wake_up in

Re: [PATCH 3/3] serial: 8250: omap: restore registers on shutdown

2015-08-06 Thread Peter Hurley
Hi Sebastian, On 08/04/2015 07:58 AM, Sebastian Andrzej Siewior wrote: > On 08/03/2015 09:32 PM, Peter Hurley wrote: > >>> You mean a function in 8250-dma API which does what I did just here >>> with the wait_event() and the wake_up in the callback? That way I could >>> move the termios_wait into

Re: [RFC PATCH 1/5] spi: introduce flag for memory mapped read

2015-08-06 Thread Vignesh R
On 08/06/2015 03:52 PM, Russell King - ARM Linux wrote: > On Thu, Aug 06, 2015 at 12:01:37PM +0200, Michal Suchanek wrote: >> Disclaimer: I am not familiar with the hardware for which this patch >> adds support. >> >> However, I am familiar m25p80.c and as I understand it the controller >> is bas

Re: [RFC PATCH 1/5] spi: introduce flag for memory mapped read

2015-08-06 Thread Michal Suchanek
On 6 August 2015 at 13:23, Mark Brown wrote: > On Thu, Aug 06, 2015 at 12:01:37PM +0200, Michal Suchanek wrote: > >> However, I am familiar m25p80.c and as I understand it the controller >> is basically supposed to implement m25p80.c in hardware when this flag >> is set. > > But what in concrete t

Re: [RFC PATCH 1/5] spi: introduce flag for memory mapped read

2015-08-06 Thread Mark Brown
On Thu, Aug 06, 2015 at 12:01:37PM +0200, Michal Suchanek wrote: > However, I am familiar m25p80.c and as I understand it the controller > is basically supposed to implement m25p80.c in hardware when this flag > is set. But what in concrete terms is that supposed to mean? It's currently just an

[GIT PULL] omap clock dts changes for v4.3 merge window

2015-08-06 Thread Tero Kristo
The following changes since commit bc0195aad0daa2ad5b0d76cce22b167bc3435590: Linux 4.2-rc2 (2015-07-12 15:10:30 -0700) are available in the git repository at: https://github.com/t-kristo/linux-pm.git for-4.3/ti-clk-dt for you to fetch changes up to dff8a207815a605872dfc5bffc1bae1cad29d87c:

Re: [RFC PATCH 1/5] spi: introduce flag for memory mapped read

2015-08-06 Thread Michal Suchanek
On 6 August 2015 at 12:22, Russell King - ARM Linux wrote: > On Thu, Aug 06, 2015 at 12:01:37PM +0200, Michal Suchanek wrote: >> Disclaimer: I am not familiar with the hardware for which this patch >> adds support. >> >> However, I am familiar m25p80.c and as I understand it the controller >> is b

Re: [RFC PATCH 1/5] spi: introduce flag for memory mapped read

2015-08-06 Thread Mark Brown
On Thu, Aug 06, 2015 at 11:22:25AM +0100, Russell King - ARM Linux wrote: > If that's the case, then maybe you should consider whether using the SPI > bus infrastructure is really the best way forward. Would it make more > sense instead to adopt a different software structure, something more > hi

[GIT PULL] omap dts changes for v4.3 merge window, part 3

2015-08-06 Thread Tony Lindgren
The following changes since commit f5887fe5d14181aef0653ab04f60988252d42461: ARM: OMAP2+: Add custom abort handler for t410 (2015-07-23 22:33:19 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap tags/omap-for-v4.3/dt-pt3 for you

[GIT PULL] omap pbias regulator regression fixes against v4.2-rc5

2015-08-06 Thread Tony Lindgren
The following changes since commit 9908ac3daa3da2d236b5406b95d0865ddb8b29c4: ARM: dts: Correct audio input route & set mic bias for am335x-pepper (2015-07-15 03:03:01 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap tags/omap-fo

Re: [RFC PATCH 1/5] spi: introduce flag for memory mapped read

2015-08-06 Thread Russell King - ARM Linux
On Thu, Aug 06, 2015 at 12:01:37PM +0200, Michal Suchanek wrote: > Disclaimer: I am not familiar with the hardware for which this patch > adds support. > > However, I am familiar m25p80.c and as I understand it the controller > is basically supposed to implement m25p80.c in hardware when this flag

Re: [RFC PATCH 1/5] spi: introduce flag for memory mapped read

2015-08-06 Thread Michal Suchanek
On 6 August 2015 at 11:02, Mark Brown wrote: > On Wed, Aug 05, 2015 at 02:56:09PM +0200, Michal Suchanek wrote: >> On 5 August 2015 at 14:44, Mark Brown wrote: >> > On Wed, Aug 05, 2015 at 02:40:01PM +0200, Michal Suchanek wrote: > >> >> I don't think sending 03 or other random byte as the first

Re: [PATCH 1/2] regulator: pbias: use untranslated address to program pbias regulator

2015-08-06 Thread Grygorii Strashko
On 08/06/2015 09:26 AM, Tony Lindgren wrote: > * Kishon Vijay Abraham I [150805 07:59]: >> Hi Tony, >> >> On Wednesday 05 August 2015 03:17 PM, Tony Lindgren wrote: >>> * Kishon Vijay Abraham I [150727 04:27]: vsel_reg and enable_reg of the pbias regulator descriptor should actually hav

Re: [PATCH 3/8] rtc: omap: Add external clock enabling support

2015-08-06 Thread Tony Lindgren
* Alexandre Belloni [150806 02:50]: > On 06/08/2015 at 12:36:54 +0300, Grygorii Strashko wrote : > > Pls, correct me if I'm not right. Is below what you propose? > > > > Doard dts: > > / { > > rtc_32k_ext_clk: rtc_osc_xi_clkin32_ext { > > #clock-cells = <0>; > > compatible = "fixed-clock

Re: [PATCH 3/8] rtc: omap: Add external clock enabling support

2015-08-06 Thread Alexandre Belloni
On 06/08/2015 at 12:36:54 +0300, Grygorii Strashko wrote : > Pls, correct me if I'm not right. Is below what you propose? > > Doard dts: > / { > rtc_32k_ext_clk: rtc_osc_xi_clkin32_ext { > #clock-cells = <0>; > compatible = "fixed-clock"; > clock-frequency = <32000>; > clo

Re: [PATCH 3/8] rtc: omap: Add external clock enabling support

2015-08-06 Thread Alexandre Belloni
On 06/08/2015 at 07:39:52 +0530, Keerthy wrote : > On Wednesday 05 August 2015 06:05 PM, Alexandre Belloni wrote: > >On 05/08/2015 at 17:31:22 +0530, Keerthy wrote : > >>This is a special one where in the enable bit is present in the rtc register > >>space and not in the prcm register space. Since

Re: [PATCH 3/8] rtc: omap: Add external clock enabling support

2015-08-06 Thread Grygorii Strashko
Hi Alexandre, On 08/05/2015 02:43 PM, Alexandre Belloni wrote: > On 05/08/2015 at 13:41:19 +0200, Alexandre Belloni wrote : >> Hi, >> >> On 05/08/2015 at 04:13:17 -0700, Tony Lindgren wrote : >>> * Keerthy [150805 03:53]: Based on the board property switch the source from internal to ext

Re: [RFC PATCH 1/5] spi: introduce flag for memory mapped read

2015-08-06 Thread Mark Brown
On Wed, Aug 05, 2015 at 02:56:09PM +0200, Michal Suchanek wrote: > On 5 August 2015 at 14:44, Mark Brown wrote: > > On Wed, Aug 05, 2015 at 02:40:01PM +0200, Michal Suchanek wrote: > >> I don't think sending 03 or other random byte as the first byte of a > >> SPI transfer can be used as reliable

Re: [PATCH 10/10] ARM: dts: omap4: Use "syscon-otghs" instead of "ctrl-module" in USB node

2015-08-06 Thread Tony Lindgren
* Kishon Vijay Abraham I [150805 07:28]: > Hi Roger, > > On Wednesday 05 August 2015 01:38 PM, Roger Quadros wrote: > > On 05/08/15 11:02, Roger Quadros wrote: > >> Kishon, > >> > >> On 04/08/15 18:30, Kishon Vijay Abraham I wrote: > >>> Add "syscon-otghs" property and remove the deprecated "ctrl

Re: [PATCH] usb: musb: omap2430: use *syscon* framework API to write to mailbox register

2015-08-06 Thread Tony Lindgren
* Kishon Vijay Abraham I [150805 07:10]: > On Wednesday 05 August 2015 01:31 PM, Tony Lindgren wrote: > > > > We don't have syscon-otghs and to me it seems we need a PHY driver > > as I pointed out at: > > If *syscon-otghs* is not present, then it'll fall-back to using the > *ctrl-module*. OK

Linux 4.2.0-rc5: am335x: musb warnings

2015-08-06 Thread Yegor Yefremov
I performed a stress test with several FT4232H chips connected to a hub, that is attached to one of the musb ports. So far the test was successful for several hours. But I've seen following warnings: musb_host_rx 1973: Rx interrupt with no errors or packet! musb_ep_program 931: broken !rx_reinit,

Re: [PATCH 6/7] ARM: dts: omap3-devkit8000: add LCD panels

2015-08-06 Thread Tony Lindgren
* Anthoine Bourgeois [150805 14:53]: > On Wed, Aug 05, 2015 at 04:08:12AM -0700, Tony Lindgren wrote: > >* Anthoine Bourgeois [150804 13:54]: > >>Devkit8000 was sold with a 4.3" LCD or 7.0" or without. This patch > >>creates one dts file per bundle. > > > >Applying patches 1 - 5 into omap-for-v4.

Re: [PATCH v2 1/2] ARM: dts: omap3-devkit8000: add LCD panels

2015-08-06 Thread Tony Lindgren
* Anthoine Bourgeois [150805 14:48]: > Devkit8000 was sold with a 4.3" LCD or 7.0" or without. This patch > creates one dts file per bundle. > > Changes since v1: > - rebase on omap-for-v4.3/dt Thanks applying these into omap-for-v4.3/dt-v2. Regards, Tony -- To unsubscribe from this list: sen