Re: [PATCH 00/15] OMAP SHAM AES Crypto Updates

2012-12-23 Thread Paul Walmsley
Hi Mark, On Fri, 21 Dec 2012, Mark A. Greer wrote: From: Mark A. Greer mgr...@animalcreek.com [This series supersedes the hwmod related patches sent in the crypto: omap-sham updates and crypto: omap-aes updates series a few weeks ago.] This series adds hwmod support for the OMAP SHAM

Re: Testing the powerdomain changes

2012-12-23 Thread Paul Walmsley
On Sun, 9 Dec 2012, Paul Walmsley wrote: in case anyone is interested in trying out the recent powerdomain PM changes, posted for 3.9, there's a temporary branch TEST_pwrdm_post_fpwrst_devel_a_3.9 in the git tree git://git.pwsan.com/linux-2.6. It's based on the PRCM cleanup branches

Re: [PATCH 2/2] cpts: fix a run time warn_on.

2012-12-23 Thread Sergei Shtylyov
Hello. On 22-12-2012 23:41, Richard Cochran wrote: This patch fixes a warning in clk_enable by calling clk_prepare first. Signed-off-by: Richard Cochran richardcoch...@gmail.com --- drivers/net/ethernet/ti/cpts.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git

Re: [PATCH 13/15] ARM: AM33XX: Add aes0 crypto clock data

2012-12-23 Thread Peter Korsgaard
Mark == Mark A Greer mgr...@animalcreek.com writes: Mark From: Mark A. Greer mgr...@animalcreek.com Mark Add clock data for for the SHA0 crypto module s/SHA/AES/ Reviewed-by: Peter Korsgaard jac...@sunsite.dk Mark +static struct clk aes0_fck; Mark +DEFINE_STRUCT_CLK_HW_OMAP(aes0_fck,

Re: [PATCH 00/15] OMAP SHAM AES Crypto Updates

2012-12-23 Thread Peter Korsgaard
Mark == Mark A Greer mgr...@animalcreek.com writes: Hi, Huh, does am335x have a sham module? I don't see any mention of that in spruh73g.pdf Mark Yes. It has sham, aes, and rng modules. Ok, interesting. Mark They are not described in the TRM. In fact, I had to use the Mark omap4

Re: [PATCH] arm: omap3: igep0020: Add console default kernel arguments

2012-12-23 Thread Javier Martinez Canillas
On Sat, Dec 22, 2012 at 3:17 PM, Ezequiel Garcia elezegar...@gmail.com wrote: Hi Enric and Javier, The u-boot 'bootargs' env overwrites the one from chosen ? I just tested and U-Boot 'bootargs' has precedence over DT bootargs but I didn't find a way to append boot parameters from U-Boot.

[PATCH] watchdog: omap_wdt: eliminate unused variable and a compiler warning

2012-12-23 Thread Aaro Koskinen
We forgot to delete this in the commit 4f4753d9 (watchdog: omap_wdt: convert to devm_ functions), and as a result the following compilation warning was introduced: drivers/watchdog/omap_wdt.c: In function 'omap_wdt_remove': drivers/watchdog/omap_wdt.c:299:19: warning: unused variable 'res'

[PATCH] watchdog: twl4030_wdt: add DT support

2012-12-23 Thread Aaro Koskinen
Add DT support for twl4030_wdt. This is needed to get twl4030_wdt to probe when booting with DT. Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi --- Documentation/devicetree/bindings/watchdog/twl4030-wdt.txt | 10 ++ arch/arm/boot/dts/twl4030.dtsi |4

Re: [PATCH] watchdog: omap_wdt: eliminate unused variable and a compiler warning

2012-12-23 Thread Paul Walmsley
On Sun, 23 Dec 2012, Aaro Koskinen wrote: We forgot to delete this in the commit 4f4753d9 (watchdog: omap_wdt: convert to devm_ functions), and as a result the following compilation warning was introduced: drivers/watchdog/omap_wdt.c: In function 'omap_wdt_remove':

Re: reset handling in am335x hwmod data

2012-12-23 Thread Paul Walmsley
Hi Peter, On Fri, 21 Dec 2012, Peter Korsgaard wrote: On a custom am335x board I was surprised to see the kernel resetting gpio pins not mentioned anywhere in the dts. The original plan with DT was to start by focusing on devices on the board, rather than devices on the SoC. The GPIO is an

Re: [PATCH] arm: omap3: igep0020: Add console default kernel arguments

2012-12-23 Thread Ezequiel Garcia
On Sun, Dec 23, 2012 at 3:22 PM, Javier Martinez Canillas martinez.jav...@gmail.com wrote: On Sat, Dec 22, 2012 at 3:17 PM, Ezequiel Garcia elezegar...@gmail.com wrote: Hi Enric and Javier, The u-boot 'bootargs' env overwrites the one from chosen ? I just tested and U-Boot 'bootargs' has

Re: [PATCH v8 5/5] ARM: OMAP: gpmc: add DT bindings for GPMC timings and NAND

2012-12-23 Thread Ezequiel Garcia
Hi Daniel, Nice job! On Fri, Dec 14, 2012 at 7:36 AM, Daniel Mack zon...@gmail.com wrote: This patch adds basic DT bindings for OMAP GPMC. The actual peripherals are instantiated from child nodes within the GPMC node, and the only type of device that is currently supported is NAND. Code

[PATCH 0/3] OMAP GPMC OneNAND DT bindings

2012-12-23 Thread Ezequiel Garcia
Hi everyone, Just in case anyone wants to access his OneNAND device, here's a little patchset. Feedback is more than welcome. It's based on arm-soc/for-next with Daniel Mack's GPMC patches. Ezequiel Garcia (3): mtd: omap-onenand: pass device_node in platform data arm: omap2: gpmc-onenand:

[PATCH 1/3] mtd: omap-onenand: pass device_node in platform data

2012-12-23 Thread Ezequiel Garcia
Pass an optional device_node pointer in the platform data, which in turn will be put into a mtd_part_parser_data. This way, code that sets up the platform devices can pass along the node from DT so that the partitions can be parsed. For non-DT boards, this change has no effect. Signed-off-by:

[PATCH 2/3] arm: omap2: gpmc-onenand: drop __init annotation

2012-12-23 Thread Ezequiel Garcia
gpmc_onenand_init() will be called from another driver's probe() function, so drop the __init annotation, in order to prevent section mismatches. Signed-off-by: Ezequiel Garcia ezequiel.gar...@free-electrons.com --- arch/arm/mach-omap2/gpmc-onenand.c |2 +- 1 files changed, 1 insertions(+),

[PATCH 3/3] arm: omap2: gpmc: add DT bindings for OneNAND

2012-12-23 Thread Ezequiel Garcia
This patch adds device tree bindings for OMAP OneNAND devices. Tested on an OMAP3 3430 IGEPv2 board. Signed-off-by: Ezequiel Garcia ezequiel.gar...@free-electrons.com --- .../devicetree/bindings/mtd/gpmc-onenand.txt | 44 arch/arm/mach-omap2/gpmc.c

Re: [PATCH 1/3] mtd nand : onfi need to be probed in 8 bits mode

2012-12-23 Thread Paul Walmsley
Hi On Mon, 3 Dec 2012, Artem Bityutskiy wrote: On Tue, 2012-11-06 at 11:51 +0100, Matthieu CASTET wrote: - NAND_CMD_READID want an address that it is not scaled on x16 device (it is always 0x20) - NAND_CMD_PARAM want 8 bits data Signed-off-by: Matthieu CASTET

Re: [PATCH 3/3] arm: omap2: gpmc: add DT bindings for OneNAND

2012-12-23 Thread Ezequiel Garcia
On Sun, Dec 23, 2012 at 9:01 PM, Ezequiel Garcia ezequiel.gar...@free-electrons.com wrote: This patch adds device tree bindings for OMAP OneNAND devices. Tested on an OMAP3 3430 IGEPv2 board. Signed-off-by: Ezequiel Garcia ezequiel.gar...@free-electrons.com ---

Re: [PATCH v8 5/5] ARM: OMAP: gpmc: add DT bindings for GPMC timings and NAND

2012-12-23 Thread Daniel Mack
On 12/15/2012 03:27 PM, Grant Likely wrote: On Fri, 14 Dec 2012 11:36:44 +0100, Daniel Mack zon...@gmail.com wrote: This patch adds basic DT bindings for OMAP GPMC. The actual peripherals are instantiated from child nodes within the GPMC node, and the only type of device that is currently

[PATCH 0/3] ARM: OMAP: resolve sparse warnings with v3.8-rc1

2012-12-23 Thread Paul Walmsley
Another minor release, another new set of sparse warnings. It would be good if patch submitters and mainline committers can verify that new patches don't add sparse warnings. Otherwise it makes it harder for others to verify that their code is sparse-warning-free. - Paul ---

[PATCH 1/3] ARM: OMAP: 32k counter: resolve sparse warnings

2012-12-23 Thread Paul Walmsley
Commit 1fe97c8f6a1de67a5f56e029a818903d5bed8017 (ARM: OMAP: Make OMAP clocksource source selection using kernel param) results in a new warning from sparse: arch/arm/plat-omap/counter_32k.c:86:12: warning: symbol 'omap_init_clocksource_32k' was not declared. Should it be static? Fix by adding a

[PATCH 3/3] ARM: OMAP: SRAM: resolve sparse warnings

2012-12-23 Thread Paul Walmsley
Commit bb77209432873214a796a70a4539e4ebdf3feb54 (ARM: OMAP: Move omap2+ specific parts of sram.c to mach-omap2) adds some new sparse warnings: arch/arm/plat-omap/sram.c:43:6: warning: symbol 'omap_sram_push_address' was not declared. Should it be static? arch/arm/plat-omap/sram.c:65:6: warning:

[PATCH 2/3] ARM: OMAP AM33xx: hwmod data: resolve sparse warnings

2012-12-23 Thread Paul Walmsley
Commit 70384a6af0914d5dcec034643941e29d3e3e69f7 (ARM: OMAP3+: hwmod: Add AM33XX HWMOD data for davinci_mdio module) adds two new sparse warnings: arch/arm/mach-omap2/omap_hwmod_33xx_data.c:2518:30: warning: symbol 'am33xx_mdio_addr_space' was not declared. Should it be static?

Re: [PATCH 2/2] cpts: fix a run time warn_on.

2012-12-23 Thread Richard Cochran
On Sun, Dec 23, 2012 at 06:07:22PM +0400, Sergei Shtylyov wrote: Hello. On 22-12-2012 23:41, Richard Cochran wrote: This patch fixes a warning in clk_enable by calling clk_prepare first. Signed-off-by: Richard Cochran richardcoch...@gmail.com --- drivers/net/ethernet/ti/cpts.c |1

[PATCH v2 0/2] cpts fixes for v3.8-rc2

2012-12-23 Thread Richard Cochran
Changed in v2: Use clk_prepare_enable instead of clk_prepare + clk_enable. The new cpts driver has two small issues, but it otherwise seems to be working in -rc1. Thanks, Richard Richard Cochran (2): cpts: fix build error by removing useless code. cpts: fix a run time warn_on.

[PATCH v2 1/2] cpts: fix build error by removing useless code.

2012-12-23 Thread Richard Cochran
The cpts driver tries to obtain the input clock frequency by calling the clock's internal 'recalc' method. Since plat/clock.h has been removed, this code can no longer compile. However, the driver never makes use of the frequency value, so this patch fixes the issue by removing the offending code