nand gpmc - overriden values in kernel

2014-10-14 Thread Ran Shalit
Hello, In omap2_nand_gpmc_retime() the kernel override the gpmc cs configuration with other values. It resulted in failure of nand detection in some boards. Is there any reason for the override of gpmc cs values ? Thanks, Ran -- To unsubscribe from this list: send the line unsubscribe linux-omap

Re: RCU bug with v3.17-rc3 ?

2014-10-14 Thread Peter Hurley
On 10/13/2014 10:06 PM, Greg KH wrote: On Mon, Oct 13, 2014 at 12:43:07PM +0100, Russell King - ARM Linux wrote: On Mon, Oct 13, 2014 at 09:11:34AM +, David Laight wrote: From: Nathan Lynch On 10/10/2014 11:25 AM, Russell King - ARM Linux wrote: Right, so GCC 4.8.{1,2} are totally

omap USB_DPLL not configured as per manual

2014-10-14 Thread Roger Quadros
Hi Tero, The USB_DPLL doesn't have recommended M/N settings as per the TRM [1] Thus the omapconf audit fails. Any ideas of how we can fix this up? Should we add a new clock.ops structure for USB_DPLL to make sure that we don't violate the TRM recommended settings? or should we just add some

[PATCH v2] CLK: TI: Remove unused includes of linux/clk-private.h

2014-10-14 Thread Tomeu Vizoso
Because they are unused, and there's plans to remove that header in the near future. Signed-off-by: Tomeu Vizoso tomeu.viz...@collabora.com --- v2: * Add rationale to commit message * Include clk-provider.h in each file that uses it, instead of in clk/ti.h ---

cpuidle vs suspend/resume

2014-10-14 Thread Ran Shalit
Hello, I am trying to understand the relation between HW PWM, and the linux mechanism (cpuidle and suspend/resume). If you are familiar with the relations between the 2 I wil appreciate your comments. For example, are the wakeup source relevant for changing the cpu state or do they trigger

[PATCH v6 01/18] OMAPDSS: hdmi.h: Add HDMI_AUDIO_LAYOUT_6CH enum value

2014-10-14 Thread Jyri Sarha
The OMAP5 HDMI audio implementation needs HDMI_AUDIO_LAYOUT_6CH in hdmi_core_audio_layout enum. I found the correct value from ti-linux 3.8 tree. Signed-off-by: Jyri Sarha jsa...@ti.com --- drivers/video/fbdev/omap2/dss/hdmi.h |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff

[PATCH v6 00/18] Rework OMAP4+ HDMI audio support

2014-10-14 Thread Jyri Sarha
The patches are based on: git://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux.git for-next The base, the patches, and couple of additional not-to-be-merged omap2plus_defconfig patches can be found here: https://github.com/jsarha/linux.git It would make the most sense to get these in trough

[PATCH v6 10/18] OMAPDSS: Kconfig: Remove HDMI audio booleans from Kconfig

2014-10-14 Thread Jyri Sarha
The booleans are not used anymore. Just select SND_OMAP_SOC_HDMI_AUDIO to enable OMAP HDMI audio support. Signed-off-by: Jyri Sarha jsa...@ti.com --- drivers/video/fbdev/omap2/dss/Kconfig |7 --- 1 file changed, 7 deletions(-) diff --git a/drivers/video/fbdev/omap2/dss/Kconfig

[PATCH v6 13/18] OMAPDSS: hdmi4: Remove callbacks for the old ASoC DAI driver

2014-10-14 Thread Jyri Sarha
Removes the OMAP4 HDMI audio callbacks for the old external DAI driver. Signed-off-by: Jyri Sarha jsa...@ti.com --- drivers/video/fbdev/omap2/dss/hdmi4.c | 113 - 1 file changed, 113 deletions(-) diff --git a/drivers/video/fbdev/omap2/dss/hdmi4.c

[PATCH v6 09/18] ASoC: omap-hdmi-audio: Add platfrom device for OMAP HDMI audio support

2014-10-14 Thread Jyri Sarha
The platform device should only be registered from OMAPDSS HDMI driver. The platfrom driver registers and unregisters all ASoC components needed for OMAP HDMI audio. The hdmi audio driver implements cpu-dai component using the callbacks provided by OMAPDSS and registers the component under DSS

[PATCH v6 14/18] OMAPDSS: hdmi4: Register ASoC platfrom device for omap hdmi audio

2014-10-14 Thread Jyri Sarha
Implements callbacks for OMAP HDMI audio platform driver and registers it in probe function. Unregistering is done in remove function. Signed-off-by: Jyri Sarha jsa...@ti.com --- drivers/video/fbdev/omap2/dss/hdmi4.c | 124 + 1 file changed, 124 insertions(+)

[PATCH v6 07/18] ASoC: codecs/hdmi: Mark the maximum significant bits to HDMI codec

2014-10-14 Thread Jyri Sarha
HDMI audio can not have more than 24 bits even if on i2s bus there would be 32 bit samples. Mark this by adding .sig_bits = 24 to playback stream definition. Signed-off-by: Jyri Sarha jsa...@ti.com --- sound/soc/codecs/hdmi.c |1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v6 05/18] OMAPDSS: hdmi: Make hdmi structure public

2014-10-14 Thread Jyri Sarha
Unify the private anonymous struct in hdmi4.c and hdmi5.c, name it as struct omap_hdmi, and make it public in hdmi.h. Signed-off-by: Jyri Sarha jsa...@ti.com --- drivers/video/fbdev/omap2/dss/hdmi.h | 21 + drivers/video/fbdev/omap2/dss/hdmi4.c | 31

[PATCH v6 06/18] OMAPDSS: hdmi: Add pdev pointer for audio_pdev in HDMI DRV data

2014-10-14 Thread Jyri Sarha
This is used to store omap-hdmi-audio pdev for unregistering it. Signed-off-by: Jyri Sarha jsa...@ti.com --- drivers/video/fbdev/omap2/dss/hdmi.h |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/video/fbdev/omap2/dss/hdmi.h b/drivers/video/fbdev/omap2/dss/hdmi.h index

[PATCH v6 15/18] OMAPDSS: hdmi5: Remove callbacks for the old ASoC DAI driver

2014-10-14 Thread Jyri Sarha
Removes the OMAP5 HDMI audio callbacks for the old external DAI driver. Signed-off-by: Jyri Sarha jsa...@ti.com --- drivers/video/fbdev/omap2/dss/hdmi5.c | 113 - 1 file changed, 113 deletions(-) diff --git a/drivers/video/fbdev/omap2/dss/hdmi5.c

[PATCH v6 17/18] ASoC: omap: Remove obsolete HDMI audio code and Kconfig options

2014-10-14 Thread Jyri Sarha
Removes omap-hdmi DAI driver, omap-hdmi-card driver, the related Kconfig options, and Makefile entries. The HDMI DAI drivers has been integrated directly to OMAP4+ HDMI drivers and simple-card driver is used instead of omap-hdmi-card driver. Signed-off-by: Jyri Sarha jsa...@ti.com ---

[PATCH v6 11/18] OMAPDSS: hdmi: Make hdmi_mode_has_audio() more user friedly

2014-10-14 Thread Jyri Sarha
Signed-off-by: Jyri Sarha jsa...@ti.com --- drivers/video/fbdev/omap2/dss/hdmi.h |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/video/fbdev/omap2/dss/hdmi.h b/drivers/video/fbdev/omap2/dss/hdmi.h index a6e08ff..6d129f2 100644 ---

[PATCH v6 18/18] OMAPDSS: Remove all references to obsolete HDMI audio callbacks

2014-10-14 Thread Jyri Sarha
In new model these callbacks are obsolete since the ASoC component drivers are integrated into the HDMI drivers and no callbacks are needed anymore. Signed-off-by: Jyri Sarha jsa...@ti.com --- .../fbdev/omap2/displays-new/connector-hdmi.c | 99

[PATCH v6 12/18] OMAPDSS: hdmi.h: Add members to hdmi drvdata for audio implementation

2014-10-14 Thread Jyri Sarha
Adds display_enabled flag and audio_abort_cb callback to struct hdmi. Signed-off-by: Jyri Sarha jsa...@ti.com --- drivers/video/fbdev/omap2/dss/hdmi.h |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/video/fbdev/omap2/dss/hdmi.h b/drivers/video/fbdev/omap2/dss/hdmi.h index

[PATCH v6 02/18] OMAPDSS: hdmi: Remove most of OMAP[45]_DSS_HDMI_AUDIO ifdefs

2014-10-14 Thread Jyri Sarha
It does not waste too many bytes to compile all audio related core functions always in with HDMI support. It should help readability and in keeping the audio code in working shape. Leave the options just for disabling and enabling the functionality in hdmi[45].c. Signed-off-by: Jyri Sarha

[PATCH v6 04/18] OMAPDSS: hdmi_wp: Add function for getting audio dma address

2014-10-14 Thread Jyri Sarha
The audio dma port is found in the hdmi_wp physical address space. Signed-off-by: Jyri Sarha jsa...@ti.com --- drivers/video/fbdev/omap2/dss/hdmi.h|2 ++ drivers/video/fbdev/omap2/dss/hdmi_wp.c |6 ++ 2 files changed, 8 insertions(+) diff --git

[PATCH v6 08/18] ASoC: codecs/hdmi: HDMI codec doesn't benefit from pmdown delay

2014-10-14 Thread Jyri Sarha
Adds .ignore_pmdown_time = true to codec driver struct. HDMI codec is currently a dummy codec and doesn't benefit from pmdown delay. Even if in the future the codec would controll HDMI encoder, it would still be a digital to digital interface that should have no need for pmdown delay.

[PATCH v6 16/18] OMAPDSS: hdmi5: Register ASoC platfrom device for omap hdmi audio

2014-10-14 Thread Jyri Sarha
Implements callbacks for OMAP HDMI audio platform driver and registers it in probe function. Unregistering is done in remove function. Signed-off-by: Jyri Sarha jsa...@ti.com --- drivers/video/fbdev/omap2/dss/hdmi5.c | 124 + 1 file changed, 124 insertions(+)

[PATCH v6 03/18] OMAPDSS: hdmi4_core: Remove unused hdmi4_audio_get_dma_port()

2014-10-14 Thread Jyri Sarha
hdmi4_audio_get_dma_port() is unused and and broken. Signed-off-by: Jyri Sarha jsa...@ti.com --- drivers/video/fbdev/omap2/dss/hdmi4_core.c |9 - drivers/video/fbdev/omap2/dss/hdmi4_core.h |2 -- 2 files changed, 11 deletions(-) diff --git

[PATCH 3/3] arm: boot: dts: am437x-sk: fix lcd enable pin mux data

2014-10-14 Thread Felipe Balbi
Caused by a copy paste error. Note that even with this bug AM437x SK display still works because GPIO mux mode is always enabled. It's still wrong to mux somebody else's pin. Luckily ball D25 (offset 0x238 - gpio5_8) on AM437x isn't used for anything. Signed-off-by: Felipe Balbi ba...@ti.com

[PATCH 2/3] video: fbdev: omap2: omapfb: add missing MODULE_ALIAS()

2014-10-14 Thread Felipe Balbi
without MODULE_ALIAS(), omapfb won't get loaded automatically. Signed-off-by: Felipe Balbi ba...@ti.com --- drivers/video/fbdev/omap2/omapfb/omapfb-main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/video/fbdev/omap2/omapfb/omapfb-main.c

[PATCH 1/3] video: fbdev: omap2: omapfb: remove __exit annotation

2014-10-14 Thread Felipe Balbi
if we leave __exit annotation, driver can't be unbound through sysfs. Signed-off-by: Felipe Balbi ba...@ti.com --- drivers/video/fbdev/omap2/omapfb/omapfb-main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/video/fbdev/omap2/omapfb/omapfb-main.c

Re: [PATCH 2/3] video: fbdev: omap2: omapfb: add missing MODULE_ALIAS()

2014-10-14 Thread Felipe Balbi
On Tue, Oct 14, 2014 at 01:28:54PM -0500, Felipe Balbi wrote: without MODULE_ALIAS(), omapfb won't get loaded automatically. Signed-off-by: Felipe Balbi ba...@ti.com little note here. This makes omapfb load automatically, but display still doesn't work with DSS as modules. Backlight is

[PATCH] watchdog: Fix omap watchdogs to enable the magic close bit

2014-10-14 Thread Tony Lindgren
This allows testing the watchdog easily with distros just by doing pkill -9 watchdog. Reported-by: Thomas Dziedzic gos...@gmail.com Signed-off-by: Tony Lindgren t...@atomide.com --- a/drivers/watchdog/omap_wdt.c +++ b/drivers/watchdog/omap_wdt.c @@ -189,7 +189,7 @@ static int

Re: omap USB_DPLL not configured as per manual

2014-10-14 Thread Tero Kristo
On 10/14/2014 01:47 PM, Roger Quadros wrote: Hi Tero, The USB_DPLL doesn't have recommended M/N settings as per the TRM [1] Thus the omapconf audit fails. Any ideas of how we can fix this up? Should we add a new clock.ops structure for USB_DPLL to make sure that we don't violate the TRM

Re: [PATCH] watchdog: Fix omap watchdogs to enable the magic close bit

2014-10-14 Thread Guenter Roeck
On Tue, Oct 14, 2014 at 12:25:19PM -0700, Tony Lindgren wrote: This allows testing the watchdog easily with distros just by doing pkill -9 watchdog. Reported-by: Thomas Dziedzic gos...@gmail.com Signed-off-by: Tony Lindgren t...@atomide.com Good catch. Reviewed-by: Guenter Roeck

Re: [PATCH] watchdog: Fix omap watchdogs to enable the magic close bit

2014-10-14 Thread Aaro Koskinen
Hi, On Tue, Oct 14, 2014 at 12:25:19PM -0700, Tony Lindgren wrote: This allows testing the watchdog easily with distros just by doing pkill -9 watchdog. Reported-by: Thomas Dziedzic gos...@gmail.com Signed-off-by: Tony Lindgren t...@atomide.com Acked-by: Aaro Koskinen aaro.koski...@iki.fi

cpuidle and SW sleep

2014-10-14 Thread Ran Shalit
Hello, Is there anyone who can please explain the relation between SW sleep (such as udelay), to change of C-state as done by cpuidle ? How is wakeup done ? As far as I understand udelay is sw delay not HW. Thanks for you comments, Ran -- To unsubscribe from this list: send the line unsubscribe