[RESEND 1/2] dt/bindings: Binding documentation for Palmas clk32kg and clk32kgaudio clocks

2014-06-27 Thread Peter Ujfalusi
is done via the clock API there is a posibility to enable the external sleep control. In this way the clock can be enabled/disabled on demand by the user of the clock. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com Reviewed-by: Nishanth Menon n...@ti.com --- .../bindings/clock/clk-palmas-clk32kg

[RESEND 2/2] clk: Add driver for Palmas clk32kg and clk32kgaudio clocks

2014-06-27 Thread Peter Ujfalusi
is done via the clock API there is a posibility to enable the external sleep control. In this way the clock can be enabled/disabled on demand by the user of the clock. See the documentation for more details. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com Reviewed-by: Nishanth Menon n...@ti.com

[RESEND 0/2] clk: Support for Palmas clk32kg and clk32kgaudio clocks

2014-06-27 Thread Peter Ujfalusi
ti,palmas-clk32kgaudio for clk32kgaudio clock Apart from the register control of the clocks - which is done via the clock API there is a posibility to enable the external sleep control. In this way the clock can be enabled/disabled on demand by the user of the clock. Regards, Peter --- Peter

Re: [PATCH 1/1] sound/soc/omap/mcbsp.c: remove unnecessary null test before kfree

2014-06-24 Thread Peter Ujfalusi
Ujfalusi peter.ujfal...@ti.com Cc: Peter Ujfalusi peter.ujfal...@ti.com Cc: Jarkko Nikula jarkko.nik...@bitmer.com Cc: linux-omap@vger.kernel.org Signed-off-by: Fabian Frederick f...@skynet.be --- sound/soc/omap/mcbsp.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git

Re: [PATCH v3 01/10] platform_data: edma: Be precise with the paRAM struct

2014-05-28 Thread Peter Ujfalusi
On 05/27/2014 06:03 PM, Joel Fernandes wrote: On 05/27/2014 05:22 AM, Peter Ujfalusi wrote: On 05/27/2014 12:32 AM, Olof Johansson wrote: [..] I came across this patch when I was looking at a pull request from Sekhar for EDMA cleanups, and it made me look closer at the contents of this file

Re: [PATCH v3 01/10] platform_data: edma: Be precise with the paRAM struct

2014-05-27 Thread Peter Ujfalusi
On 05/27/2014 12:32 AM, Olof Johansson wrote: Hi, On Mon, Apr 14, 2014 at 4:41 AM, Peter Ujfalusi peter.ujfal...@ti.com wrote: The edmacc_param struct should follow the layout of the paRAM area in the HW. Be explicit on the size of the fields (u32) and also mark the struct as packed

Re: [PATCH v2 0/2] clk: Support for Palmas clk32kg and clk32kgaudio clocks

2014-05-26 Thread Peter Ujfalusi
Mike, On 05/06/2014 04:31 PM, Nishanth Menon wrote: On 16:24-20140506, Peter Ujfalusi wrote: Hi, Changes since v1: - binding documentation and driver has been separated based on Nishanth Menon's comment Could you take a look at this series please? I really hoped that it would make

Re: [PATCH] ASoC: omap-pcm: Move omap-pcm under include/sound

2014-05-26 Thread Peter Ujfalusi
On 05/26/2014 11:51 AM, Jyri Sarha wrote: Make including the omap-pcm.h outside sound/soc/omap more convenient. Acked-by: Peter Ujfalusi peter.ujfal...@ti.com Signed-off-by: Jyri Sarha jsa...@ti.com --- It would be nice to get this applied at ASAP for OMAP HDMI audio rework patches depend

Re: [PATCH v3 02/13] ARM: edma: Take the number of tc from edma_soc_info (pdata)

2014-05-19 Thread Peter Ujfalusi
On 05/19/2014 02:07 PM, Sekhar Nori wrote: To which baseline do the patches apply? These lines are not present at least in v3.15-rc5. I am applying the patch without this hunk. It is generate on top of linux-next-20140515. next picked up several patches since 3.15-rc and I also have my other

Re: [PATCH v3 00/13] ARM/DT: edma: IP configuration from hardware and cleanups

2014-05-19 Thread Peter Ujfalusi
On 05/19/2014 04:06 PM, Sekhar Nori wrote: On Friday 16 May 2014 05:47 PM, Peter Ujfalusi wrote: Hi, Changes since v2: - Comments from Sekhar and Arnd has been addressed best as I could. - Use the CCCFG information in all cases instead of pdata provided information - To achieve this I

[PATCH v3 13/13] ARM/platform_data: edma: Remove redundant/unused parameters from edma_soc_info

2014-05-16 Thread Peter Ujfalusi
this member does not make any sense (and the driver no longer uses it). Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- include/linux/platform_data/edma.h | 7 --- 1 file changed, 7 deletions(-) diff --git a/include/linux/platform_data/edma.h b/include/linux/platform_data/edma.h index

[PATCH v3 12/13] ARM: davinci: Remove redundant/unused parameters for edma

2014-05-16 Thread Peter Ujfalusi
/eDMA3_CC instance so this member does not make any sense (and the driver no longer uses it). Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/mach-davinci/devices-da8xx.c | 15 --- arch/arm/mach-davinci/dm355.c | 5 - arch/arm/mach-davinci/dm365.c | 5

[PATCH v3 10/13] ARM: dts: am33xx: Remove obsolete properties from edma node

2014-05-16 Thread Peter Ujfalusi
dma-channels, ti,edma-regions and ti,edma-slots no longer needed in DT since the the same information is available in the IP's CCCFG register. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/boot/dts/am33xx.dtsi | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/arm/boot

[PATCH v3 11/13] ARM: dts: am4372: Remove obsolete properties from edma node

2014-05-16 Thread Peter Ujfalusi
dma-channels, ti,edma-regions and ti,edma-slots no longer needed in DT since the the same information is available in the IP's CCCFG register. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/boot/dts/am4372.dtsi | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/arm/boot

[PATCH v3 08/13] ARM: edma: Get IP configuration from HW (number of channels, tc, etc)

2014-05-16 Thread Peter Ujfalusi
set up a default priority map. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/common/edma.c | 115 +++-- 1 file changed, 73 insertions(+), 42 deletions(-) diff --git a/arch/arm/common/edma.c b/arch/arm/common/edma.c index aa9473cb0c23

[PATCH v3 09/13] dt/bindings: ti,edma: Remove redundant properties from documentation

2014-05-16 Thread Peter Ujfalusi
since the very same information can be obtained from the HW. The mentioned properties are deprecated. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- Documentation/devicetree/bindings/dma/ti-edma.txt | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git

[PATCH v3 04/13] ARM: davinci: Remove eDMA3 queue_tc_mapping data from edma_soc_info

2014-05-16 Thread Peter Ujfalusi
It is ignored by the edma driver since we are just setting back the default mapping of TC - Queue. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/mach-davinci/devices-da8xx.c | 16 arch/arm/mach-davinci/dm355.c | 9 - arch/arm/mach-davinci

[PATCH v3 07/13] ARM: edma: Save number of regions from pdata to struct edma

2014-05-16 Thread Peter Ujfalusi
To be consistent in the code that we take parameters from edma_cc[j] struct and not randomly from info[j] as well. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/common/edma.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/common/edma.c b/arch

[PATCH v3 05/13] ARM/platform_data: edma: Remove queue_tc_mapping data from edma_soc_info

2014-05-16 Thread Peter Ujfalusi
It is no longer in use by the driver or board files. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- include/linux/platform_data/edma.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/linux/platform_data/edma.h b/include/linux/platform_data/edma.h index 12f134b1493c

[PATCH v3 02/13] ARM: edma: Take the number of tc from edma_soc_info (pdata)

2014-05-16 Thread Peter Ujfalusi
Instead of saving the for loop length, take the num_tc value from the pdata. In case of DT boot set the n_tc to 3 as it is hardwired in edma_of_parse_dt() This is a temporary state since upcoming patch(es) will change how we are dealing with these parameters. Signed-off-by: Peter Ujfalusi

[PATCH v3 03/13] ARM: edma: Do not change TC - Queue mapping, leave it to default.

2014-05-16 Thread Peter Ujfalusi
There is no need to change the default TC - Queue mapping. By default the mapping is: TC0 - Q0, TC1 - Q1, etc. Changing this has no benefits at all and all the board files are just setting the same mapping back to the HW. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/common

[PATCH v3 01/13] ARM: edma: No need to clean the pdata in edma_of_parse_dt()

2014-05-16 Thread Peter Ujfalusi
The pdata has been just allocated with devm_kzalloc() in edma_setup_info_from_dt() and passed to this function. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/common/edma.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm/common/edma.c b/arch/arm/common/edma.c

[PATCH v3 00/13] ARM/DT: edma: IP configuration from hardware and cleanups

2014-05-16 Thread Peter Ujfalusi
and they can be removed from the binding documentation and from the dtsi files as well. The change will not introduce regression when new kernel is booted using older DTB (since we just ignore the mentioned properties). Regards, Peter --- Peter Ujfalusi (13): ARM: edma: No need to clean the pdata

Re: [PATCH v2 3/5] dt/bindings: ti,edma: Remove redundant properties from documentation

2014-05-15 Thread Peter Ujfalusi
On 05/15/2014 11:01 AM, Arnd Bergmann wrote: On Tuesday 13 May 2014 13:30:30 Peter Ujfalusi wrote: From CCCFG register of eDMA3 we can get all the needed information for the driver about the IP: Number of channels: NUM_DMACH Number of regions: NUM_REGN Number of slots (PaRAM sets

Re: [PATCH v2 2/5] ARM: edma: Get IP information from HW when booting with DT

2014-05-15 Thread Peter Ujfalusi
Hi Sekhar, On 05/15/2014 11:53 AM, Sekhar Nori wrote: Hi Peter, On Tuesday 13 May 2014 04:00 PM, Peter Ujfalusi wrote: From CCCFG register of eDMA3 we can get all the needed information for the driver about the IP: Number of channels: NUM_DMACH Number of regions: NUM_REGN Number of slots

[PATCH] ARM: edma: Clean up and simplify the code around irq request

2014-05-13 Thread Peter Ujfalusi
Get the two interrupt line number at the same time by merging the two instance of if(node){}else{} places. replace the pdev-dev with the already existing dev which makes it possible to collapse lines with devm_request_irq() Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/common

[PATCH 0/4] ARM/DT: edma: Get IP configuration from hardware

2014-05-13 Thread Peter Ujfalusi
DTB (since we just ignore the mentioned properties). Regards, Peter --- Peter Ujfalusi (4): ARM: edma: Get IP information from HW when booting with DT dt/bindings: ti,edma: Remove redundant properties from documentation ARM: dts: am33xx: Remove obsolete properties from edma node ARM: dts

[PATCH 3/4] ARM: dts: am33xx: Remove obsolete properties from edma node

2014-05-13 Thread Peter Ujfalusi
dma-channels, ti,edma-regions and ti,edma-slots no longer needed in DT since the the same information is available in the IP's CCCFG register. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/boot/dts/am33xx.dtsi | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/arm/boot

[PATCH 1/4] ARM: edma: Get IP information from HW when booting with DT

2014-05-13 Thread Peter Ujfalusi
From CCCFG register of eDMA3 we can get all the needed information for the driver about the IP: Number of channels: NUM_DMACH Number of regions: NUM_REGN Number of slots (PaRAM sets): NUM_PAENTRY Number of TC/EQ: NUM_EVQUE Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/common

[PATCH 4/4] ARM: dts: am4372: Remove obsolete properties from edma node

2014-05-13 Thread Peter Ujfalusi
dma-channels, ti,edma-regions and ti,edma-slots no longer needed in DT since the the same information is available in the IP's CCCFG register. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/boot/dts/am4372.dtsi | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/arm/boot

[PATCH 2/4] dt/bindings: ti,edma: Remove redundant properties from documentation

2014-05-13 Thread Peter Ujfalusi
since the very same information can be obtained from the HW. The mentioned properties can be removed from the binding document. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- Documentation/devicetree/bindings/dma/ti-edma.txt | 6 -- 1 file changed, 6 deletions(-) diff --git

Re: [PATCH 0/4] ARM/DT: edma: Get IP configuration from hardware

2014-05-13 Thread Peter Ujfalusi
On 05/13/2014 11:33 AM, Sekhar Nori wrote: On Tuesday 13 May 2014 01:13 PM, Peter Ujfalusi wrote: Hi, We are requesting redundant information via DT for the driver since the very same data is available in the HW: by reading and decoding the content of CCCFG register we can get: Number

[PATCH v2 5/5] ARM: dts: am4372: Remove obsolete properties from edma node

2014-05-13 Thread Peter Ujfalusi
dma-channels, ti,edma-regions and ti,edma-slots no longer needed in DT since the the same information is available in the IP's CCCFG register. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/boot/dts/am4372.dtsi | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/arm/boot

[PATCH v2 3/5] dt/bindings: ti,edma: Remove redundant properties from documentation

2014-05-13 Thread Peter Ujfalusi
since the very same information can be obtained from the HW. The mentioned properties can be removed from the binding document. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- Documentation/devicetree/bindings/dma/ti-edma.txt | 6 -- 1 file changed, 6 deletions(-) diff --git

[PATCH v2 2/5] ARM: edma: Get IP information from HW when booting with DT

2014-05-13 Thread Peter Ujfalusi
From CCCFG register of eDMA3 we can get all the needed information for the driver about the IP: Number of channels: NUM_DMACH Number of regions: NUM_REGN Number of slots (PaRAM sets): NUM_PAENTRY Number of TC/EQ: NUM_EVQUE Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/common

[PATCH v2 4/5] ARM: dts: am33xx: Remove obsolete properties from edma node

2014-05-13 Thread Peter Ujfalusi
dma-channels, ti,edma-regions and ti,edma-slots no longer needed in DT since the the same information is available in the IP's CCCFG register. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/boot/dts/am33xx.dtsi | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/arm/boot

[PATCH v2 1/5] ARM: edma: No need to clean the pdata in edma_of_parse_dt()

2014-05-13 Thread Peter Ujfalusi
The pdata has been just allocated with devm_kzalloc() in edma_setup_info_from_dt() and passed to this function. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/common/edma.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm/common/edma.c b/arch/arm/common/edma.c

[PATCH v2 0/5] ARM/DT: edma: Get IP configuration from hardware

2014-05-13 Thread Peter Ujfalusi
as well. The change will not introduce regression when new kernel is booted using older DTB (since we just ignore the mentioned properties). Regards, Peter --- Peter Ujfalusi (5): ARM: edma: No need to clean the pdata in edma_of_parse_dt() ARM: edma: Get IP information from HW when booting with DT

Re: [PATCH 2/2] ARM: omap5: hwmod_data: Add AESS related data

2014-05-09 Thread Peter Ujfalusi
Paul, On 04/30/2014 02:43 PM, Peter Ujfalusi wrote: Add the needed hwmod entries which is needed for AESS (Audio Engine SubSystem) and ABE. please ignore this patch to add AESS to hwmod data. W/o addresses defined we will see warnings printed. So either I add the addresses to hwmod data

[PATCH v2] ARM: omap5: hwmod_data: Correct IDLEMODE for McPDM

2014-05-09 Thread Peter Ujfalusi
McPDM need to be configured to NO_IDLE mode when it is in used otherwise vital clocks will be gated which results 'slow motion' audio playback. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- Hi Paul, Changes since v1: - updated the commit message If this can still make it to 3.15

[PATCH] ARM: omap4: hwmod_data: Clean up audio related structures (remove/merge them)

2014-05-09 Thread Peter Ujfalusi
All audio related omap_hwmod_ocp_if *_dma can be removed from the data since we can just add the user flag to the non dma structure. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 99 +++--- 1 file changed, 9

Re: [PATCH 1/2] ARM: omap5: hwmod_data: Update McPDM hwmod's flags

2014-05-08 Thread Peter Ujfalusi
Hi Paul, On 05/08/2014 03:20 AM, Paul Walmsley wrote: Hi Péter, On Wed, 30 Apr 2014, Peter Ujfalusi wrote: Add HWMOD_SWSUP_SIDLE to flags. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com This patch could use a better changelog. It would be ideal to understand _why_

[PATCH v2 0/4] clk: Add clock driver for DRA7 ATL (Audio Tracking Logic)

2014-05-07 Thread Peter Ujfalusi
and integrates the ATL clock into the clock tree. V1 of the ATL series: https://lkml.org/lkml/2014/4/2/238 Regards, Peter --- Peter Ujfalusi (4): ARM: dts: dra7xx-clocks: Correct name for atl clkin3 clock dt:/bindings: DRA7 ATL (Audio Tracking Logic) clock bindings clk: ti: Driver for DRA7 ATL

[PATCH v2 2/4] dt:/bindings: DRA7 ATL (Audio Tracking Logic) clock bindings

2014-05-07 Thread Peter Ujfalusi
codecs can also use the very same clock as their MCLK. The ATL IP in DRA7 contains 4 ATL instences. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- .../devicetree/bindings/clock/ti/dra7-atl.txt | 97 ++ include/dt-bindings/clk/ti-dra7-atl.h | 40

[PATCH v2 4/4] ARM: DTS: dra7/dra7xx-clocks: ATL related changes

2014-05-07 Thread Peter Ujfalusi
Modify the clock nodes for the ATL clocks to use the ATL clock driver to handle them. Add the ATL device node at the same time for DRA7. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/boot/dts/dra7.dtsi | 11 +++ arch/arm/boot/dts/dra7xx-clocks.dtsi | 16

[PATCH v2 3/4] clk: ti: Driver for DRA7 ATL (Audio Tracking Logic)

2014-05-07 Thread Peter Ujfalusi
codecs can also use the very same clock as their MCLK. The ATL IP in DRA7 contains 4 ATL instences. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- drivers/clk/ti/Makefile | 3 +- drivers/clk/ti/clk-dra7-atl.c | 313 ++ 2 files changed, 315

[PATCH v2 1/4] ARM: dts: dra7xx-clocks: Correct name for atl clkin3 clock

2014-05-07 Thread Peter Ujfalusi
To allign the name with the other atl clock names: atlclkin3_ck - atl_clkin3_ck Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/boot/dts/dra7xx-clocks.dtsi | 22 +++--- drivers/clk/ti/clk-7xx.c | 2 +- 2 files changed, 12 insertions(+), 12 deletions

[PATCH] mfd: twl6040: Correct HPPLL configuration for 19.2 and 38.4 MHz mclk

2014-05-06 Thread Peter Ujfalusi
When the MCLK is 19.2 or 38.4 MHz the HPPLL need to be enabled and can be put in bypass mode. This will fix HPPLL use on boards with 19.2MHz mclk. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- drivers/mfd/twl6040.c | 13 + 1 file changed, 5 insertions(+), 8 deletions

[PATCH v2 0/2] clk: Support for Palmas clk32kg and clk32kgaudio clocks

2014-05-06 Thread Peter Ujfalusi
/disabled on demand by the user of the clock. Regards, Peter --- Peter Ujfalusi (2): dt/bindings: Binding documentation for Palmas clk32kg and clk32kgaudio clocks clk: Add driver for Palmas clk32kg and clk32kgaudio clocks .../bindings/clock/clk-palmas-clk32kg-clocks.txt | 35 +++ drivers

[PATCH v2 2/2] clk: Add driver for Palmas clk32kg and clk32kgaudio clocks

2014-05-06 Thread Peter Ujfalusi
is done via the clock API there is a posibility to enable the external sleep control. In this way the clock can be enabled/disabled on demand by the user of the clock. See the documentation for more details. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- drivers/clk/Kconfig | 7

[PATCH v2 1/2] dt/bindings: Binding documentation for Palmas clk32kg and clk32kgaudio clocks

2014-05-06 Thread Peter Ujfalusi
is done via the clock API there is a posibility to enable the external sleep control. In this way the clock can be enabled/disabled on demand by the user of the clock. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- .../bindings/clock/clk-palmas-clk32kg-clocks.txt | 35

Re: [PATCH] clk: ti: clk-7xx: Correct ABE DPLL configuration

2014-05-06 Thread Peter Ujfalusi
Mike, On 04/24/2014 06:03 PM, Tero Kristo wrote: On 04/24/2014 12:11 PM, Peter Ujfalusi wrote: Mike, Tero, On 04/03/2014 09:29 AM, Peter Ujfalusi wrote: On 04/02/2014 05:12 PM, Tero Kristo wrote: On 04/02/2014 04:48 PM, Peter Ujfalusi wrote: ABE DPLL frequency need to be lowered from

[PATCH] clk: ti: clk-54xx: Set the rate for dpll_abe_m2x2_ck

2014-04-30 Thread Peter Ujfalusi
In order to get correct clock dividers for AESS/ABE we need to set the dpll_abe_m2x2_ck rate to be double of dpll_abe_ck. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- drivers/clk/ti/clk-54xx.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/clk/ti/clk-54xx.c b

[PATCH 1/2] ARM: DTS: omap54xx-clocks: remove the autoidle properties for clock nodes

2014-04-30 Thread Peter Ujfalusi
In OMAP5 bit 8 in PRCM registers are not defined (Reserved) unlike their counterpart in OMAP4. It is better to not write to these bits. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/boot/dts/omap54xx-clocks.dtsi | 48 -- 1 file changed, 48

[PATCH 2/2] ARM: DTS: omap54xx-clocks: Correct abe_iclk clock node

2014-04-30 Thread Peter Ujfalusi
abe_iclk's parent is aess_fclk and not abe_clk. Also correct the parameters for clock rate calculation as used for OMAP4 since in PRCM level there's no difference between the two platform regarding to AESS/ABE clocking. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/boot/dts

[PATCH 1/2] ARM: omap5: hwmod_data: Update McPDM hwmod's flags

2014-04-30 Thread Peter Ujfalusi
Add HWMOD_SWSUP_SIDLE to flags. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/mach-omap2/omap_hwmod_54xx_data.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-omap2/omap_hwmod_54xx_data.c b/arch/arm/mach-omap2/omap_hwmod_54xx_data.c index

[PATCH 2/2] ARM: omap5: hwmod_data: Add AESS related data

2014-04-30 Thread Peter Ujfalusi
Add the needed hwmod entries which is needed for AESS (Audio Engine SubSystem) and ABE. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/mach-omap2/omap_hwmod_54xx_data.c | 64 ++ 1 file changed, 64 insertions(+) diff --git a/arch/arm/mach-omap2

Re: [PATCH V2 00/19] bus: omap_l3_noc: driver cleanups and support for DRA7/AM4372

2014-04-25 Thread Peter Ujfalusi
On 04/24/2014 05:19 PM, Nishanth Menon wrote: On 04/24/2014 03:55 AM, Peter Ujfalusi wrote: On 04/18/2014 12:00 AM, Nishanth Menon wrote: On 04/17/2014 03:57 PM, Santosh Shilimkar wrote: I looked at the series and its looks pretty good. Thanks for fixups, updates. For whole series, Acked

Re: [PATCH] gpio: do not set up hardware for IRQ_TYPE_NONE

2014-04-24 Thread Peter Ujfalusi
gets utilized. Cc: Nishanth Menon n...@ti.com Cc: Peter Ujfalusi peter.ujfal...@ti.com Cc: Ezequiel Garcia ezequiel.gar...@free-electrons.com Cc: Javier Martinez Canillas jav...@dowhile0.org Cc: Tony Lindgren t...@atomide.com Cc: Santosh Shilimkar santosh.shilim...@ti.com Cc: linux-omap linux

[RESEND] dmaengine: edma: Add channel number to debug prints

2014-04-24 Thread Peter Ujfalusi
It helps to identify issues if we have some information regarding to the channel which the event is associated. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com Acked-by: Joel Fernandes jo...@ti.com --- Hi Vinod, rebased on: git://git.infradead.org/users/vkoul/slave-dma.git next On top

Re: [PATCH v2 05/14] arm: common: edma: Select event queue 1 as default when booted with DT

2014-04-24 Thread Peter Ujfalusi
On 04/16/2014 07:05 PM, Joel Fernandes wrote: On 04/16/2014 07:59 AM, Peter Ujfalusi wrote: [..] If the dma-priority is missing we should assume lowest priority (0). The highest priority depends on the platform. For eDMA3 in AM335x it is three level. For designware controller you might have

Re: [PATCH] clk: Add driver for Palmas clk32kg and clk32kgaudio clocks

2014-04-24 Thread Peter Ujfalusi
Hi Mike, On 04/03/2014 01:52 PM, Peter Ujfalusi wrote: Palmas class of devices have either twl 32K clock outputs: CLK32K_KG and CLK32K_KGAUDIO or only one: CLK32K_KG (TPS659039 for example) Use separate compatible flags for the two 32K clock. A system which needs or have only one

Re: [PATCH] clk: ti: clk-7xx: Correct ABE DPLL configuration

2014-04-24 Thread Peter Ujfalusi
Mike, Tero, On 04/03/2014 09:29 AM, Peter Ujfalusi wrote: On 04/02/2014 05:12 PM, Tero Kristo wrote: On 04/02/2014 04:48 PM, Peter Ujfalusi wrote: ABE DPLL frequency need to be lowered from 361267200 to 180633600 to facilitate the ATL requironments. The dpll_abe_m2x2_ck clock need to be set

Re: [RESEND 0/3] mfd: twl6040: Updates for i2s speed and fix for chip deadlock

2014-04-24 Thread Peter Ujfalusi
Lee, On 04/01/2014 04:44 PM, Peter Ujfalusi wrote: Hi, While looking into a report by Florian Vaussard [1] I have noticed couple of most likely unrelated issues: - all boards using twl6040 configures the i2c bus to 400KHz while twl6040 is set to 100KHz as default. - if I set

Re: [PATCH 0/3] clk: Add clock driver for DRA7 ATL (Audio Tracking Logic)

2014-04-24 Thread Peter Ujfalusi
Hi Mike, On 04/02/2014 04:55 PM, Peter Ujfalusi wrote: Hi, Audio Tracking Logic is designed to be used by HD Radio applications to synchronize the audio output clocks to the baseband clock. ATL can be also used to track errors between two reference clocks (BWS, AWS) and generate

Re: [PATCH V2 00/19] bus: omap_l3_noc: driver cleanups and support for DRA7/AM4372

2014-04-24 Thread Peter Ujfalusi
On 04/18/2014 12:00 AM, Nishanth Menon wrote: On 04/17/2014 03:57 PM, Santosh Shilimkar wrote: I looked at the series and its looks pretty good. Thanks for fixups, updates. For whole series, Acked-by: Santosh Shilimkar santosh.shilim...@ti.com Thanks. Patches(including Peter's) is

Re: regressions in linux-next?

2014-04-23 Thread Peter Ujfalusi
); return 0; } Thanks, this makes am335x-evmsk boot with linux-next. Tested-by: Peter Ujfalusi peter.ujfal...@ti.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

Re: linux-next regressions (next-20140423 A15: uevm/dra7)

2014-04-23 Thread Peter Ujfalusi
On 04/23/2014 04:47 PM, Nishanth Menon wrote: Hi, Will be great if someone else could confirm as well. next-20140423-multi_lpae_defconfig 1: DRA7xx-EVM: Boot FAIL: http://slexy.org/raw/s2HJJ9SKzM 2: OMAP5432uEVM: Boot FAIL: http://slexy.org/raw/s2HoDCbtO0 TOTAL = 2 boards, Booted

Re: regressions in linux-next?

2014-04-22 Thread Peter Ujfalusi
On 04/22/2014 04:18 PM, Nishanth Menon wrote: next-20140422-omap2plus_defconfig 1: am335x-sk: Boot FAIL: http://slexy.org/raw/s2gh6XsLve 2: am3517-evm: Boot PASS: http://slexy.org/raw/s2MTkdzPnb 3: am37x-evm: Boot PASS: http://slexy.org/raw/s2SJwrVat8 4: am43xx-epos: Boot PASS:

Re: [PATCH v2 05/14] arm: common: edma: Select event queue 1 as default when booted with DT

2014-04-16 Thread Peter Ujfalusi
On 04/14/2014 05:32 PM, Sekhar Nori wrote: Yes, you can. But as soon as you have other devices using the same priority (with eDMA3 at least) and asks for a 'long' transfer it can ruin the audio. During audio playback/capture you execute a long MMC read for example can introduce a glitch.

Re: [PATCHv2 07/11] ARM: OMAP3: Beagle: use PWM_LOOKUP to initialize struct pwm_lookup

2014-04-15 Thread Peter Ujfalusi
On 04/15/2014 12:59 AM, Alexandre Belloni wrote: Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/mach-omap2/board-omap3beagle.c | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/arch/arm/mach-omap2/board-omap3beagle.c

Re: [PATCHv2 07/11] ARM: OMAP3: Beagle: use PWM_LOOKUP to initialize struct pwm_lookup

2014-04-15 Thread Peter Ujfalusi
On 04/15/2014 10:14 AM, Simon Horman wrote: On Tue, Apr 15, 2014 at 10:01:44AM +0300, Peter Ujfalusi wrote: On 04/15/2014 12:59 AM, Alexandre Belloni wrote: Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/mach-omap2/board-omap3beagle.c | 10 ++ 1

[PATCH v3 00/10] dma: edma: Fixes for cyclic (audio) operation

2014-04-14 Thread Peter Ujfalusi
things sorted out I noticed that the debug was too verbose and the important information was hidden even when the we did not asked for verbose dmaengine debug. I have included some debug cleanups for the edma dmaengine driver also. Regards, Peter --- Peter Ujfalusi (10): platform_data: edma

[PATCH v3 10/10] dmaengine: edma: Print the direction value as well when it is not supported

2014-04-14 Thread Peter Ujfalusi
In case of not supported direction it is better to print the direction also. It is unlikely, but in such an event it helps with the debugging. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com Acked-by: Joel Fernandes jo...@ti.com --- drivers/dma/edma.c | 4 ++-- 1 file changed, 2 insertions

[PATCH v3 09/10] dmaengine: edma: Add channel number to debug prints

2014-04-14 Thread Peter Ujfalusi
It helps to identify issues if we have some information regarding to the channel which the event is associated. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com Acked-by: Joel Fernandes jo...@ti.com --- drivers/dma/edma.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff

[PATCH v3 08/10] dmaengine: edma: Prefix debug prints where the text were identical in prep callbacks

2014-04-14 Thread Peter Ujfalusi
since all other error cases are dev_err and this failure is similarly fatal as the other ones. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com Acked-by: Joel Fernandes jo...@ti.com --- drivers/dma/edma.c | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/drivers/dma

[PATCH v3 07/10] dmaengine: edma: Reduce debug print verbosity for non verbose debugging

2014-04-14 Thread Peter Ujfalusi
Do not print the paRAM information when verbose debugging is not asked and also reduce the number of lines printed in edma_prep_dma_cyclic() Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com Acked-by: Joel Fernandes jo...@ti.com --- drivers/dma/edma.c | 11 +-- 1 file changed, 5

[PATCH v3 06/10] dmaengine: edma: Implement device_slave_caps callback

2014-04-14 Thread Peter Ujfalusi
With the callback implemented omap-dma can provide information to client drivers regarding to supported address widths, directions, residue granularity, etc. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com Acked-by: Joel Fernandes jo...@ti.com --- drivers/dma/edma.c | 18

[PATCH v3 05/10] dmaengine: edma: Set DMA_CYCLIC capability flag

2014-04-14 Thread Peter Ujfalusi
Indicate that the edma dmaengine driver has support for cyclic mode. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com Acked-by: Joel Fernandes jo...@ti.com --- arch/arm/common/edma.c | 1 + drivers/dma/edma.c | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/arm/common/edma.c b

[PATCH v3 04/10] dmaengine: edma: Add support for DMA_PAUSE/RESUME operation

2014-04-14 Thread Peter Ujfalusi
Pause/Resume can be used by the audio stack when the stream is paused/resumed The edma platform code has support for this and the legacy audio stack used this. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com Acked-by: Joel Fernandes jo...@ti.com --- drivers/dma/edma.c | 28

Re: [PATCH v2 05/14] arm: common: edma: Select event queue 1 as default when booted with DT

2014-04-14 Thread Peter Ujfalusi
Hi Vinod, On 04/11/2014 03:46 PM, Vinod Koul wrote: I think the number shouldn't be viewed in absolute terms. If we decide that (lets say) 0-7, then any controller should map 0 to lowest and 7 to highest. For your case you can do this and then intermediate numbers would be medium

[PATCH v3 01/10] platform_data: edma: Be precise with the paRAM struct

2014-04-14 Thread Peter Ujfalusi
The edmacc_param struct should follow the layout of the paRAM area in the HW. Be explicit on the size of the fields (u32) and also mark the struct as packed to avoid any padding on non 32bit architectures. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com Acked-by: Joel Fernandes jo...@ti.com

[PATCH v3 02/10] arm: common: edma: Save the number of event queues/TCs

2014-04-14 Thread Peter Ujfalusi
For later use save the number of queues available for the CC. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com Acked-by: Joel Fernandes jo...@ti.com --- arch/arm/common/edma.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/common/edma.c b/arch/arm/common/edma.c index

[PATCH v3 03/10] dmaengine: edma: Correct the handling of src/dst_maxburst == 0

2014-04-14 Thread Peter Ujfalusi
When clients asks for maxburst = 0 it is basically the same case as if they were asking for maxburst = 1 since in both case ASYNC need to be used and the eDMA is expected to write/read one word per DMA request. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com Acked-by: Joel Fernandes jo

Re: [PATCH v2 05/14] arm: common: edma: Select event queue 1 as default when booted with DT

2014-04-14 Thread Peter Ujfalusi
On 04/14/2014 03:12 PM, Sekhar Nori wrote: On Monday 14 April 2014 05:26 PM, Peter Ujfalusi wrote: Hi Vinod, On 04/11/2014 03:46 PM, Vinod Koul wrote: I think the number shouldn't be viewed in absolute terms. If we decide that (lets say) 0-7, then any controller should map 0 to lowest

Re: [PATCH v2 10/14] dma: edma: Simplify direction configuration in edma_config_pset()

2014-04-11 Thread Peter Ujfalusi
On 04/11/2014 01:40 AM, Joel Fernandes wrote: On 04/01/2014 08:06 AM, Peter Ujfalusi wrote: We only support DEV_TO_MEM or MEM_TO_DEV directions with edma driver and the check for the direction has been already done in the function calling edma_config_pset(). The error reporting is redundant

Re: [PATCH v2 05/14] arm: common: edma: Select event queue 1 as default when booted with DT

2014-04-11 Thread Peter Ujfalusi
On 04/11/2014 11:17 AM, Sekhar Nori wrote: On Tuesday 01 April 2014 06:36 PM, Peter Ujfalusi wrote: Use the EVENTQ_1 for default and leave the EVENTQ_0 to be used by high priority channels, like audio. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com Acked-by: Sekhar Nori nsek...@ti.com

Re: [PATCH v2 05/14] arm: common: edma: Select event queue 1 as default when booted with DT

2014-04-11 Thread Peter Ujfalusi
On 04/11/2014 11:56 AM, Sekhar Nori wrote: On Friday 11 April 2014 02:20 PM, Peter Ujfalusi wrote: On 04/11/2014 11:17 AM, Sekhar Nori wrote: On Tuesday 01 April 2014 06:36 PM, Peter Ujfalusi wrote: Use the EVENTQ_1 for default and leave the EVENTQ_0 to be used by high priority channels, like

Re: [PATCH v2 05/14] arm: common: edma: Select event queue 1 as default when booted with DT

2014-04-11 Thread Peter Ujfalusi
Hi Vinod, On 04/11/2014 12:42 PM, Vinod Koul wrote: On Fri, Apr 11, 2014 at 12:38:00PM +0300, Peter Ujfalusi wrote: On 04/11/2014 11:56 AM, Sekhar Nori wrote: On Friday 11 April 2014 02:20 PM, Peter Ujfalusi wrote: On 04/11/2014 11:17 AM, Sekhar Nori wrote: On Tuesday 01 April 2014 06:36 PM

Re: [PATCH v2 05/14] arm: common: edma: Select event queue 1 as default when booted with DT

2014-04-11 Thread Peter Ujfalusi
On 04/11/2014 02:31 PM, Vinod Koul wrote: I would say that it is channel based config. I don't see the reason why would one mix different priorities on a configured channel between descriptors. If not then we can add this in dma_slave_config ? So adding to the struct for example: bool

Re: [PATCH] clk: Add driver for Palmas clk32kg and clk32kgaudio clocks

2014-04-04 Thread Peter Ujfalusi
On 04/03/2014 04:49 PM, Nishanth Menon wrote: On 04/03/2014 05:52 AM, Peter Ujfalusi wrote: [...] .../devicetree/bindings/clock/clk-palmas.txt | 35 +++ drivers/clk/Kconfig| 7 + drivers/clk/Makefile | 1 + drivers/clk

Re: [PATCH] clk: ti: clk-7xx: Correct ABE DPLL configuration

2014-04-03 Thread Peter Ujfalusi
On 04/02/2014 05:12 PM, Tero Kristo wrote: On 04/02/2014 04:48 PM, Peter Ujfalusi wrote: ABE DPLL frequency need to be lowered from 361267200 to 180633600 to facilitate the ATL requironments. The dpll_abe_m2x2_ck clock need to be set to double of ABE DPLL rate in order to have correct clocks

[PATCH] clk: Add driver for Palmas clk32kg and clk32kgaudio clocks

2014-04-03 Thread Peter Ujfalusi
the documentation for more details. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- Hi, Part of the driver is based on the v4 of palmas clock driver from Laxman Dewangan, which can be found here: https://lkml.org/lkml/2013/10/9/146 Since no updates followed after the comments and patches I

[PATCH] ARM: DTS: dra7xx-clocks: Correct mcasp2_ahclkx_mux bit-shift

2014-04-02 Thread Peter Ujfalusi
The correct bit is 24 for AHCLKX. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/boot/dts/dra7xx-clocks.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/dra7xx-clocks.dtsi b/arch/arm/boot/dts/dra7xx-clocks.dtsi index e96da9a898ad

[PATCH] clk: ti: clk-7xx: Correct ABE DPLL configuration

2014-04-02 Thread Peter Ujfalusi
ABE DPLL frequency need to be lowered from 361267200 to 180633600 to facilitate the ATL requironments. The dpll_abe_m2x2_ck clock need to be set to double of ABE DPLL rate in order to have correct clocks for audio. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- drivers/clk/ti/clk-7xx.c

[PATCH 3/3] ARM: DTS: dra7/dra7xx-clocks: ATL related changes

2014-04-02 Thread Peter Ujfalusi
Modify the clock nodes for the ATL clocks to use the ATL clock driver to handle them. Add the ATL device node at the same time for DRA7. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/boot/dts/dra7.dtsi | 11 +++ arch/arm/boot/dts/dra7xx-clocks.dtsi | 16

[PATCH 0/3] clk: Add clock driver for DRA7 ATL (Audio Tracking Logic)

2014-04-02 Thread Peter Ujfalusi
on demand of it's use and all the IP which needs ATL clock can be sure that it is enabled for them. The first patch fixes the name of atl clkin3 node in dtsi file. Regards, Peter --- Peter Ujfalusi (3): ARM: dts: dra7xx-clocks: Correct name for atl clkin3 clock clk: Driver for DRA7 ATL (Audio

[PATCH 2/3] clk: Driver for DRA7 ATL (Audio Tracking Logic)

2014-04-02 Thread Peter Ujfalusi
. With setup pm_runtime can handle the ATL clock on demand of it's use and all the IP which needs ATL clock can be sure that it is enabled for them. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- .../devicetree/bindings/clock/ti/dra7-atl.txt | 97 +++ drivers/clk/ti/Makefile

[PATCH 1/3] ARM: dts: dra7xx-clocks: Correct name for atl clkin3 clock

2014-04-02 Thread Peter Ujfalusi
To allign the name with the other atl clock names: atlclkin3_ck - atl_clkin3_ck Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/boot/dts/dra7xx-clocks.dtsi | 22 +++--- drivers/clk/ti/clk-7xx.c | 2 +- 2 files changed, 12 insertions(+), 12 deletions

[PATCH v2 12/14] dma: edma: Prefix debug prints where the text were identical in prep callbacks

2014-04-01 Thread Peter Ujfalusi
since all other error cases are dev_err and this failure is similarly fatal as the other ones. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- drivers/dma/edma.c | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/drivers/dma/edma.c b/drivers/dma/edma.c index

<    2   3   4   5   6   7   8   9   10   11   >