Re: [PATCH 0/7] OMAPDSS: use components (fix probing problems)

2015-06-16 Thread Laurent Pinchart
Hi Tomi, Thank for the patches. On Tuesday 16 June 2015 13:16:22 Tomi Valkeinen wrote: Hi, I noticed that on some platforms omapdss did not probe successfully. Some resource was not available yet, but omapdss did not manage to handle deferred probing. The reason was the use of

Re: [PATCH 1/1] add pwm capability to dm816x

2015-06-16 Thread Suman Anna
Brian, On 06/15/2015 02:32 PM, Kristo, Tero wrote: On 06/15/2015 09:36 PM, Brian Hutchinson wrote: Clocks 4-7 are capable of PWM output on dm816x. This adds the pwm capability to those timers. Use checkpatch pls, I see lots of whitespace errors. Also, I don't think Mike / Stephen care

Re: [PATCH 2/2] cpufreq: dt: allow driver to boot automatically

2015-06-16 Thread Felipe Balbi
On Wed, Jun 17, 2015 at 12:04:07AM +0200, Rafael J. Wysocki wrote: On Tue, Jun 16, 2015 at 11:40 PM, Felipe Balbi ba...@ti.com wrote: On Fri, May 08, 2015 at 02:57:30PM -0500, Felipe Balbi wrote: by adding the missing MODULE_ALIAS(), cpufreq-dt can be autoloaded by udev/systemd.

Re: [PATCH 2/2] cpufreq: dt: allow driver to boot automatically

2015-06-16 Thread Felipe Balbi
On Fri, May 08, 2015 at 02:57:30PM -0500, Felipe Balbi wrote: by adding the missing MODULE_ALIAS(), cpufreq-dt can be autoloaded by udev/systemd. Signed-off-by: Felipe Balbi ba...@ti.com looks like this wasn't applied anywhere. Viresh, can you apply this patch please ? ---

Re: [PATCH 2/2] cpufreq: dt: allow driver to boot automatically

2015-06-16 Thread Rafael J. Wysocki
On Tue, Jun 16, 2015 at 11:40 PM, Felipe Balbi ba...@ti.com wrote: On Fri, May 08, 2015 at 02:57:30PM -0500, Felipe Balbi wrote: by adding the missing MODULE_ALIAS(), cpufreq-dt can be autoloaded by udev/systemd. Signed-off-by: Felipe Balbi ba...@ti.com looks like this wasn't applied

Re: [PATCH] i2c: omap: improve duty cycle on SCL

2015-06-16 Thread Felipe Balbi
On Tue, Jun 16, 2015 at 02:17:56PM -0500, Felipe Balbi wrote: With this patch we try to be as close to 50% duty cycle as possible. The reason for this is that some devices present an erratic behavior with certain duty cycles. One such example is TPS65218 PMIC which fails to change voltages

[PATCH] i2c: omap: improve duty cycle on SCL

2015-06-16 Thread Felipe Balbi
With this patch we try to be as close to 50% duty cycle as possible. The reason for this is that some devices present an erratic behavior with certain duty cycles. One such example is TPS65218 PMIC which fails to change voltages when running @ 400kHz and duty cycle is lower than 34%. The idea of

[PATCH 1/1 linux-next] mmc: omap: use for_each_sg() for scatterlist parsing

2015-06-16 Thread Fabian Frederick
See Documentation/DMA-API.txt - Part Id Signed-off-by: Fabian Frederick f...@skynet.be --- This is untested. drivers/mmc/host/omap.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/host/omap.c b/drivers/mmc/host/omap.c index 68dd6c7..70dcf07 100644 ---

[PATCH RESEND] i2c: omap: improve duty cycle on SCL

2015-06-16 Thread Felipe Balbi
With this patch we try to be as close to 50% duty cycle as possible. The reason for this is that some devices present an erratic behavior with certain duty cycles. One such example is TPS65218 PMIC which fails to change voltages when running @ 400kHz and duty cycle is lower than 34%. The idea of

Re: [PATCH RESEND] i2c: omap: improve duty cycle on SCL

2015-06-16 Thread Felipe Balbi
On Tue, Jun 16, 2015 at 02:20:45PM -0500, Felipe Balbi wrote: With this patch we try to be as close to 50% duty cycle as possible. The reason for this is that some devices present an erratic behavior with certain duty cycles. One such example is TPS65218 PMIC which fails to change voltages

Hello!!!

2015-06-16 Thread chang
Hello, Mrs. Liliane picked you. For details email her directly: lilbetencou...@hotmail.com -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[PATCH 1/3] mmc: host: omap_hsmmc: Fix DTO and DCRC handling

2015-06-16 Thread Vignesh R
From: Kishon Vijay Abraham I kis...@ti.com DTO/DCRC errors were not being informed to the mmc core since commit ae4bf788ee9b (mmc: omap_hsmmc: consolidate error report handling of HSMMC IRQ). This commit made sure 'end_trans' is never set on DTO/DCRC errors. This is because after this commit

Re: [PATCH] usb: dwc3: pci: make better use of gpiod API

2015-06-16 Thread Linus Walleij
On Fri, Jun 12, 2015 at 9:10 AM, Uwe Kleine-König u.kleine-koe...@pengutronix.de wrote: Since 39b2bbe3d715 (gpio: add flags argument to gpiod_get*() functions) which appeared in v3.17-rc1, the gpiod_get* functions take an additional parameter that allows to specify direction and initial value

[PATCH 2/7] OMAPDSS: refactor dss probe function

2015-06-16 Thread Tomi Valkeinen
Refactor dss probe function by extracting the setup for video plls into a separate function. The call to this function is also moved to a slightly earlier phase, so that in error case we can bail out more easily. Signed-off-by: Tomi Valkeinen tomi.valkei...@ti.com ---

[PATCH 6/7] OMAPDSS: componentize omapdss

2015-06-16 Thread Tomi Valkeinen
omapdss kernel module contains drivers for multiple devices, one for each DSS submodule. The probing we have at the moment is a mess, and doesn't give us proper deferred probing nor ensure that all the devices are probed before omapfb/omapdrm start using omapdss. This patch solves the mess by

[PATCH 7/7] OMAPDSS: simplify submodule reg/unreg code

2015-06-16 Thread Tomi Valkeinen
Now that we are using components in omapdss, there's no need for separate handling of dss and dispc driver init. Thus we can move the dss and dispc init and unit func pointers to the lists we use for the other dss submodules. We can now also handle errors returned by the registration functions

[PATCH 4/7] OMAPDSS: remove uses of __init/__exit

2015-06-16 Thread Tomi Valkeinen
The following patches will add component handling to omapdss, improving the handling of deferred probing. However, at the moment we're using quite a lot of __inits and __exits in the driver, which prevent normal dynamic probing and removal. This patch removes most of the uses of __init and

[PATCH 3/7] OMAPDSS: fix dss_init_ports error handling

2015-06-16 Thread Tomi Valkeinen
The return value of dss_init_ports() is not handled at all, causing crashes later if the call failed. This patch adds the error handling, and we also move the call to a slightly earlier place to make bailing out easier. Signed-off-by: Tomi Valkeinen tomi.valkei...@ti.com ---

[PATCH 5/7] OMAPDSS: reorder uninit calls

2015-06-16 Thread Tomi Valkeinen
We have a list of function pointers to dss submodule uninit functions. It makes sense to do the uninit in the reverse order to init, but that is not currently the case. This patch reorders the uninit calls to be the reverse of init order. Signed-off-by: Tomi Valkeinen tomi.valkei...@ti.com ---

[PATCH 0/7] OMAPDSS: use components (fix probing problems)

2015-06-16 Thread Tomi Valkeinen
Hi, I noticed that on some platforms omapdss did not probe successfully. Some resource was not available yet, but omapdss did not manage to handle deferred probing. The reason was the use of platform_driver_probe() in combination with how the omapdss module handles the drivers. To fix this

[PATCH 1/7] OMAPDSS: move 'dss_initialized' to dss driver

2015-06-16 Thread Tomi Valkeinen
We have a flag, 'dss_initialized', which tells omapfb and omapdrm if omapdss is available. At the moment it can be set even if the dss submodules are not all ready, in case something gets deferred. Move the flag to dss_core driver so that it'll signal the availability of the dss drivers move

[PATCH 0/3] omap_hsmmc: Fix card enumeration failure on

2015-06-16 Thread Vignesh R
Hi, When using omap_hsmmc driver, if sd-card repeatedly plug unplugged multiple times quickly, card enumeration stops after few iterations. This can be easily reproduced on DRA74X EVM which uses omap_hsmmc driver. This patch series addresses the above problem. The first patch fixes irq handler

[PATCH 3/3] mmc: host: omap_hsmmc: Add custom card detect irq handler

2015-06-16 Thread Vignesh R
Usually when there is an error in transfer, DTO/CTO or other error interrupts are raised. But if the card is unplugged in the middle of a data transfer, it is observed that, neither completion(success) or timeout(error) interrupts are raised. Hence, the mmc-core is waiting for-ever for the

[PATCH 2/3] mmc: host: omap_hsmmc: Handle BADA, DEB and CEB interrupts

2015-06-16 Thread Vignesh R
Sometimes BADA, DEB or CEB error interrupts occur when sd card is unplugged during data transfer. These interrupts are currently ignored by the interrupt handler. But, this results in card not being recognised on subsequent insertion. This is because mmcqd is waiting forever for the data

[GIT PULL] omap generic wakeirq for v4.2 merge window

2015-06-16 Thread Tony Lindgren
Hi, Here's a late pull request that would be good to get into v4.2. This series mostly just drops code that's now unnecessary, and also fixes potential interrupt re-entrancy issues that the old handling has. The series changes omap hsmmc, 8250_omap and omap-serial to use the Linux generic