[PATCH v2 6/6] DT: Add documentation for gpio-xilinx

2013-06-03 Thread Michal Simek
Describe gpio-xilinx binding. Signed-off-by: Michal Simek michal.si...@xilinx.com --- Changes in v2: - Extend description .../devicetree/bindings/gpio/gpio-xilinx.txt | 48 ++ 1 file changed, 48 insertions(+) create mode 100644 Documentation/devicetree/bindings/gpio

[PATCH v2 5/6] GPIO: xilinx: Enable driver for Xilinx zynq

2013-06-03 Thread Michal Simek
Enable gpio driver for usage on Xilinx ARM zynq platform. Signed-off-by: Michal Simek michal.si...@xilinx.com --- Changes in v2: - New patch in this series drivers/gpio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index

[PATCH v2 1/6] GPIO: xilinx: Simplify driver probe function

2013-06-03 Thread Michal Simek
Simplification is done by using OF helper function which increase readability of code and remove (if (var) var = be32_to_cpup;) assignment. Signed-off-by: Michal Simek michal.si...@xilinx.com --- Changes in v2: - New patch in this series drivers/gpio/gpio-xilinx.c | 24

[PATCH v2 3/6] GPIO: xilinx: Use __raw_readl/__raw_writel IO functions

2013-06-03 Thread Michal Simek
endians directly on IP. But for the gpio case without interrupt connected(it means without interrupt logic) there are just 2 registers data and tristate where auto detection can't be done. Signed-off-by: Michal Simek michal.si...@xilinx.com --- Changes in v2: - New patch in this series I have chosen

Re: [RFC PATCH 2/2] uio: Add two platform uio drivers to one

2013-06-03 Thread Michal Simek
Hi Hans and Greg, can you please comment this? Thanks, Michal On 05/29/2013 01:28 PM, Michal Simek wrote: Hi Hans, any comment on this? Thanks, Michal On 05/23/2013 04:01 PM, Michal Simek wrote: - Remove Userspace I/O platform driver without IRQ support but add

[PATCH] dma-mapping: Add BUG_ON for uninitialized dma_ops

2013-06-03 Thread Michal Simek
Check that dma_ops are initialized correctly. Signed-off-by: Michal Simek michal.si...@xilinx.com --- Functions dma_mmap_attrs(), dma_get_sgtable_attrs() already have this checking. --- include/asm-generic/dma-mapping-common.h | 12 1 file changed, 12 insertions(+) diff --git

Re: [PATCH 1/2] xilinx systemace: Fix device name assignment for SystemACE (from xs` to xsa).

2013-06-03 Thread Michal Simek
Hi Greg, do you want to take these two patches through your tree? Or should I take them through my microblaze tree? Thanks, Michal On 05/23/2013 02:31 PM, Michal Simek wrote: From: Graeme Smecher gsmec...@threespeedlogic.com This fixes a bug introduced in 5d10302f46d, where device trees

[PATCH v3] arm: zynq: Add cpuidle support

2013-06-03 Thread Michal Simek
Add support for cpuidle. Signed-off-by: Michal Simek michal.si...@xilinx.com --- Changes in v3: - Move driver to drivers/cpuidle/ - Check zynq compatible string suggested by Arnd - Use zynq_ function prefix because of multiplatform kernel - Incorporate comments from Daniel Lezcano - Rebase

Re: [PATCH 1/2] xilinx systemace: Fix device name assignment for SystemACE (from xs` to xsa).

2013-06-03 Thread Michal Simek
On 06/03/2013 04:22 PM, Greg Kroah-Hartman wrote: On Mon, Jun 03, 2013 at 02:47:36PM +0200, Michal Simek wrote: Hi Greg, do you want to take these two patches through your tree? Why would I be sending in drivers/block/* patches? I don't have a tree for that, do I? Ah ok. I took you

Re: [PATCH v3] arm: zynq: Add cpuidle support

2013-06-03 Thread Michal Simek
On 06/03/2013 04:03 PM, Daniel Lezcano wrote: On 06/03/2013 03:40 PM, Michal Simek wrote: Add support for cpuidle. Signed-off-by: Michal Simek michal.si...@xilinx.com --- Changes in v3: - Move driver to drivers/cpuidle/ - Check zynq compatible string suggested by Arnd - Use zynq_ function

Re: [PATCH v2 1/5] tty: xuartps: Remove suspend/resume functions

2013-05-17 Thread Michal Simek
*/ - .resume = xuartps_resume, /* Resume after a suspend */ .driver = { .owner = THIS_MODULE, .name = XUARTPS_NAME, /* Driver name */ -- Michal Simek, Ing. (M.Eng), OpenPGP - KeyID: FE3D1F91 w: www.monstr.eu p: +42-0-721842854 Maintainer

Re: [PATCH v2 0/5] Zynq: revised CCF code

2013-05-17 Thread Michal Simek
mode 100644 drivers/clk/zynq/Makefile create mode 100644 drivers/clk/zynq/clkc.c create mode 100644 drivers/clk/zynq/pll.c -- Michal Simek, Ing. (M.Eng), OpenPGP - KeyID: FE3D1F91 w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt

Re: [PATCH v2 0/5] Zynq: revised CCF code

2013-05-21 Thread Michal Simek
On 05/13/2013 07:46 PM, Soren Brinkmann wrote: I rebased this series on v3.10-rc1 eliminating all dependencies and incorporated Greg's feedback. I'll push this also to my github repository. https://github.com/sorenb-xlnx/linux-xlnx/tree/zynq/clkc v2: - dropped the 'sort #includes'

[PATCH] audit: Fix decimal constant description

2013-05-23 Thread Michal Simek
: this decimal constant is unsigned only in ISO C90 [enabled by default] if ((f-type == AUDIT_LOGINUID) (f-val == 4294967295)) { Signed-off-by: Michal Simek michal.si...@xilinx.com CC: Al Viro v...@zeniv.linux.org.uk CC: Eric Paris epa...@redhat.com --- kernel/auditfilter.c | 2 +- 1 file changed, 1

[PATCH 1/2] xilinx systemace: Fix device name assignment for SystemACE (from xs` to xsa).

2013-05-23 Thread Michal Simek
an unsigned type against a negative return code. Signed-off-by: Graeme Smecher gsmec...@threespeedlogic.com Signed-off-by: Michal Simek michal.si...@xilinx.com Acked-by: Grant Likely grant.lik...@secretlab.ca --- drivers/block/xsysace.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git

[PATCH 2/2] xilinx systemace: Fix sparse warnings

2013-05-23 Thread Michal Simek
Fix sysace sparse warnings. Signed-off-by: Michal Simek michal.si...@xilinx.com --- drivers/block/xsysace.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/block/xsysace.c b/drivers/block/xsysace.c index 3fd130f..1393b88 100644 --- a/drivers/block/xsysace.c +++ b

[PATCH 1/2] char: xilinx_hwicap: Checkpatch.pl cleanup

2013-05-23 Thread Michal Simek
Remove checkpatch warning: WARNING: Use #include linux/io.h instead of asm/io.h Signed-off-by: Michal Simek michal.si...@xilinx.com --- drivers/char/xilinx_hwicap/xilinx_hwicap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/char/xilinx_hwicap/xilinx_hwicap.h b

[PATCH 2/2] char: xilinx_hwicap: Fix typo in comment and extend it

2013-05-23 Thread Michal Simek
From: Michal Simek mon...@monstr.eu s/regsiter/register/ Use origin comment from the first driver version which also explain the usage of XHI_MAX_RETRIES better. Signed-off-by: Michal Simek mon...@monstr.eu Signed-off-by: Michal Simek michal.si...@xilinx.com --- drivers/char/xilinx_hwicap

[RFC PATCH 1/2] uio: Use Use of_match_ptr() macro in uio_pdrv_genirq.c

2013-05-23 Thread Michal Simek
This eliminates having an #ifdef returning NULL for the case when OF is disabled. Signed-off-by: Michal Simek michal.si...@xilinx.com --- drivers/uio/uio_pdrv_genirq.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/uio/uio_pdrv_genirq.c b/drivers/uio

[RFC PATCH 2/2] uio: Add two platform uio drivers to one

2013-05-23 Thread Michal Simek
- Remove Userspace I/O platform driver without IRQ support but add this functionality to genirq driver - Remove code duplication from OF binding Signed-off-by: Michal Simek michal.si...@xilinx.com --- The main reason for this change is to have one compatibility string for UIO with and without

[GIT PULL] arch/microblaze fixes for 3.10-rc4

2013-05-28 Thread Michal Simek
in futex cmpxchg (2013-05-27 12:29:35 +0200) Meyer, Kirk (1): microblaze: Reversed logic in futex cmpxchg Michal Simek (2): microblaze: Initialize temp variable to remove compilation warning microblaze: Use proper casting

Re: [PATCH v2 1/2] clk/zynq/clkc: Add 'fclk-enable' feature

2013-10-29 Thread Michal Simek
On 10/29/2013 09:26 AM, Kumar Gala wrote: On Oct 28, 2013, at 5:17 PM, Tomasz Figa wrote: diff --git a/Documentation/devicetree/bindings/clock/zynq-7000.txt b/Documentation/devicetree/bindings/clock/zynq-7000.txt index d99af878f5d7..11fdd146ec83 100644 ---

[PATCH] ARM: mm: Fix ECC mem policy printk

2013-10-30 Thread Michal Simek
is requested via cmd line ecc=on and runs on appropriate ARM core. Signed-off-by: Michal Simek michal.si...@xilinx.com --- Russell, Will: We discussed this at KS that will be good to rephrase it or have different logic around this. I am not sure if we can also test that this bit is implemented

Re: [PATCH] ARM: mm: Fix ECC mem policy printk

2013-10-30 Thread Michal Simek
On 10/30/2013 02:07 PM, Russell King - ARM Linux wrote: On Wed, Oct 30, 2013 at 01:46:18PM +0100, Michal Simek wrote: Russell, Will: We discussed this at KS that will be good to rephrase it or have different logic around this. I am not sure if we can also test that this bit is implemented

Re: [PATCH] ARM: mm: Fix ECC mem policy printk

2013-10-30 Thread Michal Simek
On 10/30/2013 03:23 PM, Michal Simek wrote: On 10/30/2013 02:07 PM, Russell King - ARM Linux wrote: On Wed, Oct 30, 2013 at 01:46:18PM +0100, Michal Simek wrote: Russell, Will: We discussed this at KS that will be good to rephrase it or have different logic around this. I am not sure if we

Re: [PATCH] ARM: mm: Fix ECC mem policy printk

2013-10-30 Thread Michal Simek
Hi Russell, On 10/30/2013 04:01 PM, Russell King - ARM Linux wrote: On Wed, Oct 30, 2013 at 03:32:09PM +0100, Michal Simek wrote: btw: passing ecc=on through command line will caused that ECC enabled message will be there even on systems which don't implement this bit. It is just side effect

[PATCH v2] ARM: mm: Fix ECC mem policy printk

2013-11-01 Thread Michal Simek
is requested via cmd line ecc=on and runs on appropriate ARM core. Signed-off-by: Michal Simek michal.si...@xilinx.com --- Changes in v2: - Show message all the time but show ECC enabled just for cases where IMP bit is used. --- arch/arm/mm/mmu.c | 4 ++-- 1 file changed, 2 insertions(+), 2

Re: linux-next: build failure after merge of the final tree (fbdev tree related)

2013-10-28 Thread Michal Simek
; } } Your fix is correct. Tested-by: Michal Simek mon...@monstr.eu Thanks, Michal -- Michal Simek, Ing. (M.Eng), OpenPGP - KeyID: FE3D1F91 w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/ Maintainer of Linux kernel - Xilinx Zynq ARM

Re: linux-next: build failure after merge of the final tree (tty tree related)

2013-10-28 Thread Michal Simek
: xuartps: Fix build error when COMMON_CLK is not set Thanks, Michal -- Michal Simek, Ing. (M.Eng), OpenPGP - KeyID: FE3D1F91 w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/ Maintainer of Linux kernel - Xilinx Zynq ARM architecture

Re: [RFC PATCH v2 0/1] FPGA subsystem core

2013-10-07 Thread Michal Simek
On 10/05/2013 08:56 AM, H. Peter Anvin wrote: I would, but in my case it was employer-owned and closed. ok. But I believe general concept for this can be shared. If you used char device, sysfs, etc. Thanks, Michal -- Michal Simek, Ing. (M.Eng), OpenPGP - KeyID: FE3D1F91 w: www.monstr.eu p

Re: [RFC PATCH v2 0/1] FPGA subsystem core

2013-10-07 Thread Michal Simek
. ok. How was that physical hardware connection to device you wanted to talk? Was it any special IP with MMIO? Or gpio jtag emulation or similar? Thanks, Michal -- Michal Simek, Ing. (M.Eng), OpenPGP - KeyID: FE3D1F91 w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel - Microblaze cpu

Re: [PATCH v7 1/5] ARM: add basic support for Trusted Foundations

2013-10-08 Thread Michal Simek
-- Michal Simek, Ing. (M.Eng), OpenPGP - KeyID: FE3D1F91 w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/ Maintainer of Linux kernel - Xilinx Zynq ARM architecture Microblaze U-BOOT custodian and responsible for u-boot arm zynq platform

Re: [RFC PATCH v2 0/1] FPGA subsystem core

2013-10-08 Thread Michal Simek
be also possible. I think the question is if we can live with 2/3 user interfaces. I tend to keep firmware one because it is covering a lot of common use cases and it can be easily to use. And then I don't have any preference if sysfs or char device is better. Thanks, Michal -- Michal Simek, Ing

Re: Global do_signal() cleanup

2013-10-08 Thread Michal Simek
and branch with all these patches will be helpful. Thanks, Michal -- Michal Simek, Ing. (M.Eng), OpenPGP - KeyID: FE3D1F91 w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/ Maintainer of Linux kernel - Xilinx Zynq ARM architecture

Re: [PATCH 3/3] video: xilinxfb: Simplify error path

2013-10-09 Thread Michal Simek
On 10/09/2013 11:02 AM, Tomi Valkeinen wrote: On 30/09/13 15:05, Michal Simek wrote: Hi Tomi, On 09/16/2013 12:34 PM, Tomi Valkeinen wrote: On 16/09/13 13:33, Michal Simek wrote: On 09/16/2013 11:51 AM, Tomi Valkeinen wrote: On 12/09/13 08:54, Michal Simek wrote: @@ -394,16 +382,12

[PATCH v2 3/3] video: xilinxfb: Simplify error path

2013-10-09 Thread Michal Simek
devm_iounmap is called automatically that's why remove it from the code dev_set_drvdata(dev, NULL) is called by generic code after device_release or on probe failure. Signed-off-by: Michal Simek michal.si...@xilinx.com Reviewed-by: Jingoo Han jg1@samsung.com --- Changes in v2: Rebased on git

[PATCH v2 1/3] video: xilinxfb: Use standard variable name convention

2013-10-09 Thread Michal Simek
s/op/pdev/ in xilinxfb_of_probe(). No functional chagnes. Signed-off-by: Michal Simek michal.si...@xilinx.com --- Changes in v2: None drivers/video/xilinxfb.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/video/xilinxfb.c b/drivers/video

[PATCH v2 2/3] video: xilinxfb: Use devm_kzalloc instead of kzalloc

2013-10-09 Thread Michal Simek
Simplify driver probe and release function. Signed-off-by: Michal Simek michal.si...@xilinx.com Reviewed-by: Jingoo Han jg1@samsung.com --- Changes in v2: Rebased on git://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux.git for-next drivers/video/xilinxfb.c | 7 +-- 1 file changed

Re: [PATCH v2 1/3] video: xilinxfb: Use standard variable name convention

2013-10-09 Thread Michal Simek
On 10/09/2013 01:06 PM, Mark Rutland wrote: On Wed, Oct 09, 2013 at 11:52:12AM +0100, Michal Simek wrote: s/op/pdev/ in xilinxfb_of_probe(). No functional chagnes. Signed-off-by: Michal Simek michal.si...@xilinx.com --- Changes in v2: None drivers/video/xilinxfb.c | 18

Re: [PATCH v7 1/5] ARM: add basic support for Trusted Foundations

2013-10-09 Thread Michal Simek
On 10/10/2013 01:45 AM, Olof Johansson wrote: On Tue, Oct 8, 2013 at 1:17 AM, Michal Simek mon...@monstr.eu wrote: Hi, On 10/04/2013 06:37 PM, Alexandre Courbot wrote: Trusted Foundations is a TrustZone-based secure monitor for ARM that can be invoked using the same SMC-based API on all

Re: [PATCH 1/2] clk/zynq/clkc: Add 'fclk-enable' feature

2013-10-09 Thread Michal Simek
of a work around and having zero as default would be desirable. I'd leave this to Michal. No problem to have default value setup to 0. And use this workaround when it is set in DTS. Thanks, Michal -- Michal Simek, Ing. (M.Eng), OpenPGP - KeyID: FE3D1F91 w: www.monstr.eu p: +42-0-721842854

Re: [PATCH v2 2/3] video: xilinxfb: Use devm_kzalloc instead of kzalloc

2013-10-10 Thread Michal Simek
On 10/09/2013 05:13 PM, Joe Perches wrote: On Wed, 2013-10-09 at 12:52 +0200, Michal Simek wrote: Simplify driver probe and release function. [] diff --git a/drivers/video/xilinxfb.c b/drivers/video/xilinxfb.c [] @@ -423,7 +419,7 @@ static int xilinxfb_of_probe(struct platform_device *pdev

[PATCH v3 3/3] video: xilinxfb: Simplify error path

2013-10-10 Thread Michal Simek
devm_iounmap is called automatically that's why remove it from the code dev_set_drvdata(dev, NULL) is called by generic code after device_release or on probe failure. Signed-off-by: Michal Simek michal.si...@xilinx.com Reviewed-by: Jingoo Han jg1@samsung.com --- Changes in v3: None Changes

[PATCH v3 1/3] video: xilinxfb: Use standard variable name convention

2013-10-10 Thread Michal Simek
s/op/pdev/ in xilinxfb_of_probe(). No functional chagnes. Signed-off-by: Michal Simek michal.si...@xilinx.com --- Changes in v3: None Changes in v2: None drivers/video/xilinxfb.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/video/xilinxfb.c b

[PATCH v3 2/3] video: xilinxfb: Use devm_kzalloc instead of kzalloc

2013-10-10 Thread Michal Simek
Simplify driver probe and release function. Signed-off-by: Michal Simek michal.si...@xilinx.com Reviewed-by: Jingoo Han jg1@samsung.com --- Changes in v3: - Remove the unnecessary OOM message Changes in v2: - Rebased on git://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux.git for-next

[PATCH] ARM: mm: Fix ECC mem policy printk

2013-10-10 Thread Michal Simek
ECC policy is just connected to L1 cache (IMP - bit 9 - in L1 page table entry format) and has no connection to other ECC capable devices in the system. That's why declaring connection with L1 cache make sense. Signed-off-by: Michal Simek michal.si...@xilinx.com --- IRC printk without KERN_

[PATCH v3 2/3] i2c: xilinx: Do not enable irq before irq handler

2013-10-10 Thread Michal Simek
IRQ handler has to be register first before IRQ is enabled in xiic_reinit(). Signed-off-by: Michal Simek michal.si...@xilinx.com --- Changes in v3: - New patch in this patchset based on my discussion with Wolfram https://lkml.org/lkml/2013/10/4/148 Changes in v2: None drivers/i2c/busses/i2c

[PATCH v3 1/3] i2c: xilinx: Fix i2c checkpatch warnings

2013-10-10 Thread Michal Simek
From: Kedareswara rao Appana appana.durga@xilinx.com Code changes to fix checkpatch warnings listed below. - WARNING: please, no space before tabs - WARNING: quoted string split across lines Signed-off-by: Kedareswara rao Appana appa...@xilinx.com Signed-off-by: Michal Simek michal.si

[PATCH v3 3/3] i2c: xilinx: Use devm_* functions

2013-10-10 Thread Michal Simek
From: Kedareswara rao Appana appana.durga@xilinx.com Simplified the probe and remove functions using devm_* functions Signed-off-by: Kedareswara rao Appana appa...@xilinx.com Signed-off-by: Michal Simek michal.si...@xilinx.com --- Changes in v3: - Remove error message which is already shown

[GIT PULL] arch/microblaze fixes for 3.10

2013-05-09 Thread Michal Simek
): microblaze: Set the default irq_domain Michal Simek (7): microblaze: pci: Remove duplicated header microblaze: Do not use r6 in head.S microblaze: Fix initrd support microblaze: Do not select OPT_LIB_ASM by default microblaze: Add support for new cpu versions

Re: [RFC] device-tree.git automatic sync from linux.git

2013-05-13 Thread Michal Simek
platforms are just correctly described. The reaching this point I would suggest that for arm, arm-soc maintainers should keep eyes on any dts binding change and all these changes require ACK from Rob or Grant (like device-tree maintainers). Thanks, Michal -- Michal Simek, Ing. (M.Eng), OpenPGP

Re: [RFC] device-tree.git automatic sync from linux.git

2013-05-13 Thread Michal Simek
On 05/13/2013 01:59 PM, Ian Campbell wrote: On Mon, 2013-05-13 at 08:02 +0100, Michal Simek wrote: Just small overview it is a Xilinx soft core cpu where you can even setup some parameters for core itself - multiplier, divider, BS, fpu, cache sizes, etc. You have to also compose the whole

Re: [PATCH] net/macb: fix ISR clear-on-write behavior only for some SoC

2013-05-14 Thread Michal Simek
of_match_ptr(_ptr) NULL Thanks, Michal -- Michal Simek, Ing. (M.Eng), OpenPGP - KeyID: FE3D1F91 w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/ Maintainer of Linux kernel - Xilinx Zynq ARM architecture Microblaze U-BOOT custodian

Re: [PATCH] net/macb: fix ISR clear-on-write behavior only for some SoC

2013-05-14 Thread Michal Simek
is there an option to remove CONFIG_ARCH_AT91? Thanks, Michal -- Michal Simek, Ing. (M.Eng), OpenPGP - KeyID: FE3D1F91 w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/ Maintainer of Linux kernel - Xilinx Zynq ARM architecture Microblaze U-BOOT

Re: [PATCH 02/20] ARM: zynq: Remove init_irq declaration in machine description

2013-05-14 Thread Michal Simek
-off-by: Maxime Ripard maxime.rip...@free-electrons.com Acked-by: Michal Simek mon...@monstr.eu --- arch/arm/mach-zynq/common.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm/mach-zynq/common.c b/arch/arm/mach-zynq/common.c index 5bfe703..4c0199b8 100644 --- a/arch/arm/mach-zynq

[PATCH] dma: pl330: Simplify irq allocation

2013-09-04 Thread Michal Simek
Use devm_request_irq function. Signed-off-by: Michal Simek michal.si...@xilinx.com --- drivers/dma/pl330.c | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/drivers/dma/pl330.c b/drivers/dma/pl330.c index fa645d8..1989e4c 100644 --- a/drivers/dma/pl330.c +++ b

[RFC PATCH] amba: Ensure drvdata is NULL

2013-09-04 Thread Michal Simek
This patch is inpired by the patch for drvdata device-core: Ensure drvdata = NULL when no driver is bound (sha1: 0998d0631001288a5974afc0b2a5f568bcdecb4d) Also it fixes all occurences in drivers. Signed-off-by: Michal Simek michal.si...@xilinx.com --- arch/arm/kernel/etm.c | 6

[GIT PULL] arch/microblaze changes for 3.12

2013-09-06 Thread Michal Simek
removing Intc and timer fixes Adding new MB versions Minor fixes Andrew Murray (1): of/pci: Use of_pci_range_parser Jason Wu (1): microblaze: Add linux.bin.ub target Michal Simek (13): microblaze: Remove

Re: [GIT PULL] arch/microblaze changes for 3.12

2013-09-09 Thread Michal Simek
On 09/06/2013 08:09 PM, Linus Torvalds wrote: On Fri, Sep 6, 2013 at 2:09 AM, Michal Simek mon...@monstr.eu wrote: Hi Linus, please pull these Microblaze patches to your tree. Hmm. You've started using signed tags, nice. I just wonder why you use use one that seems to be a relatively weak

Re: [PATCH RFC v2 16/16] ARM: zynq: Don't call of_clk_init()

2013-08-29 Thread Michal Simek
On 08/29/2013 03:37 PM, Arnd Bergmann wrote: On Tuesday 27 August 2013, Sebastian Hesselbarth wrote: @@ -58,10 +57,10 @@ static void __init zynq_init_machine(void) of_platform_bus_probe(NULL, zynq_of_bus_ids, NULL); } -static void __init zynq_timer_init(void) +static void __init

RE: [PATCH RFC v2 16/16] ARM: zynq: Don't call of_clk_init()

2013-08-29 Thread Michal Simek
Hi. -Original Message- From: Arnd Bergmann [mailto:a...@arndb.de] Sent: Thursday, August 29, 2013 7:20 PM To: Michal Simek Cc: Sebastian Hesselbarth; Soren Brinkmann; Mike Turquette; Russell King; linux-arm-ker...@lists.infradead.org; linux-kernel@vger.kernel.org Subject: Re

Re: linux-next: manual merge of the xilinx tree

2013-07-02 Thread Michal Simek
feature branches. Thanks, Michal -- Michal Simek, Ing. (M.Eng), OpenPGP - KeyID: FE3D1F91 w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/ Maintainer of Linux kernel - Xilinx Zynq ARM architecture Microblaze U-BOOT custodian

Re: [PATCH v3 2/2] uio: Remove uio_pdrv and use uio_pdrv_genirq instead

2013-07-03 Thread Michal Simek
On 07/01/2013 07:20 PM, Greg Kroah-Hartman wrote: On Mon, Jul 01, 2013 at 09:21:14AM +0200, Michal Simek wrote: Hi Greg, On 06/27/2013 01:17 AM, Pavel Machek wrote: On Wed 2013-06-26 11:52:12, Michal Simek wrote: The patch UIO: fix uio_pdrv_genirq with device tree but no interrupt (sha1

Re: [PATCH 3/8] ARM: zynq: use DT_MACHINE_START

2013-07-08 Thread Michal Simek
On 07/05/2013 06:23 PM, Arnd Bergmann wrote: The zynq platform code only supports DT based booting, so we should use DT_MACHINE_START rather than MACHINE_START. Signed-off-by: Arnd Bergmann a...@arndb.de Cc: Michal Simek michal.si...@xilinx.com --- arch/arm/mach-zynq/common.c | 2 +- 1

[PATCH v1 3/4] spi/xilinx: Simplify irq allocation

2013-07-08 Thread Michal Simek
Use devm_request_irq() for irq allocation which simplify driver code. Signed-off-by: Michal Simek michal.si...@xilinx.com --- drivers/spi/spi-xilinx.c | 23 ++- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/drivers/spi/spi-xilinx.c b/drivers/spi/spi-xilinx.c

[PATCH v1 4/4] spi/xilinx: Use of_property_read_u32 for reading value from node

2013-07-08 Thread Michal Simek
It simplifies driver probing. Signed-off-by: Michal Simek michal.si...@xilinx.com --- drivers/spi/spi-xilinx.c | 14 +++--- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/drivers/spi/spi-xilinx.c b/drivers/spi/spi-xilinx.c index a6bb5b0..07a7bca 100644 --- a/drivers/spi

[PATCH v1 2/4] spi/xilinx: Clean ioremap calling

2013-07-08 Thread Michal Simek
devm_ioremap_resource() automatically checks that struct resource is initialized. Also group platform_get_resource() and devm_ioremap_resource() together. And remove mem resource from struct xilinx_spi. Signed-off-by: Michal Simek michal.si...@xilinx.com --- drivers/spi/spi-xilinx.c | 13

[PATCH v1 1/4] spi/xilinx: Remove CONFIG_OF from the driver

2013-07-08 Thread Michal Simek
dev.of_node is in struct device all the time. Signed-off-by: Michal Simek michal.si...@xilinx.com --- drivers/spi/spi-xilinx.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/spi/spi-xilinx.c b/drivers/spi/spi-xilinx.c index 35503b4..f3de5e5 100644 --- a/drivers/spi/spi-xilinx.c

Re: [PATCH v1 3/4] spi/xilinx: Simplify irq allocation

2013-07-08 Thread Michal Simek
On 07/08/2013 04:49 PM, Mark Brown wrote: On Mon, Jul 08, 2013 at 03:29:16PM +0200, Michal Simek wrote: Use devm_request_irq() for irq allocation which simplify driver code. @@ -495,7 +493,6 @@ static int xilinx_spi_remove(struct platform_device *pdev) struct xilinx_spi *xspi

Re: [PATCH v1 4/4] spi/xilinx: Use of_property_read_u32 for reading value from node

2013-07-08 Thread Michal Simek
Hi Mark, On 07/08/2013 04:51 PM, Mark Brown wrote: On Mon, Jul 08, 2013 at 03:29:17PM +0200, Michal Simek wrote: It simplifies driver probing. Applied, thanks. have you applied this patch? I can't see it in your topic/xilinx branch. https://git.kernel.org/cgit/linux/kernel/git/broonie

Re: [PATCH v1 3/4] spi/xilinx: Simplify irq allocation

2013-07-09 Thread Michal Simek
On 07/08/2013 06:26 PM, Mark Brown wrote: On Mon, Jul 08, 2013 at 05:48:14PM +0200, Michal Simek wrote: On 07/08/2013 04:49 PM, Mark Brown wrote: Is it definitely safe to leave the IRQ hanging around after the master has been freed - there's no possibility of a late error interrupt

Re: [PATCH v1 3/4] spi/xilinx: Simplify irq allocation

2013-07-09 Thread Michal Simek
On 07/09/2013 04:47 PM, Mark Brown wrote: On Tue, Jul 09, 2013 at 04:15:13PM +0200, Michal Simek wrote: 4. spi_master_release() 5. devres_release() with irq If interrupt happends between 4 and 5 than it can be the problem. Do I understand you correctly? Yes. great

Re: [PATCH 2/2] spi: convert drivers to use bits_per_word_mask

2013-07-09 Thread Michal Simek
: What do you think? Thanks, Michal -- Michal Simek, Ing. (M.Eng), OpenPGP - KeyID: FE3D1F91 w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/ Maintainer of Linux kernel - Xilinx Zynq ARM architecture Microblaze U-BOOT custodian

[PATCH v2] spi/xilinx: Simplify irq allocation

2013-07-09 Thread Michal Simek
Use devm_request_irq() for irq allocation which simplify driver code. Signed-off-by: Michal Simek michal.si...@xilinx.com --- Changes in v2: - Disable interrupts in xilinx_spi_remove() to be sure that interrupt won't come between struct freeing and devres irq unregistration. --- drivers/spi

Re: [RFC PATCH] fpga: Introduce new fpga subsystem

2013-09-23 Thread Michal Simek
On 09/19/2013 05:18 PM, Yves Vandervennet wrote: On Thu, Sep 19, 2013 at 5:55 AM, Michal Simek mon...@monstr.eu wrote: Is there some way a per-device userspace helper can be added that can handle adding the headers? Such that different fpga types get different helpers? What do you exactly

Re: [RFC PATCH] fpga: Introduce new fpga subsystem

2013-09-23 Thread Michal Simek
On 09/19/2013 07:28 PM, Jason Gunthorpe wrote: On Thu, Sep 19, 2013 at 10:18:03AM -0500, Yves Vandervennet wrote: On Thu, Sep 19, 2013 at 5:55 AM, Michal Simek mon...@monstr.eu wrote: Is there some way a per-device userspace helper can be added that can handle adding the headers

Re: [RFC PATCH] fpga: Introduce new fpga subsystem

2013-09-24 Thread Michal Simek
being one repo to store patches for this subsystem. Does it mean that you are able to see loading file there? Can you share your script? Thanks, Michal -- Michal Simek, Ing. (M.Eng), OpenPGP - KeyID: FE3D1F91 w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel - Microblaze cpu - http

Re: [RFC PATCH] fpga: Introduce new fpga subsystem

2013-09-25 Thread Michal Simek
have agreement on this another valid discussion is if firmware interface is OK for this purpose or NOT. Or if make sense to create different interface or have all of them. Thanks, Michal -- Michal Simek, Ing. (M.Eng), OpenPGP - KeyID: FE3D1F91 w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux

Re: [RFC PATCH] fpga: Introduce new fpga subsystem

2013-09-25 Thread Michal Simek
On 09/23/2013 07:10 PM, Jason Gunthorpe wrote: On Mon, Sep 23, 2013 at 03:10:11PM +0200, Michal Simek wrote: 1) The driver doesn't know what firmware to request. It just knows how to send it to a FPGA. But dts property in the manager driver which uses this as end driver can know

Re: [RFC PATCH] fpga: Introduce new fpga subsystem

2013-09-25 Thread Michal Simek
by gpio interface and you can program another fpga from zynq (This can be probably generic case for any combination in this 4 pin connection). Thanks, Michal -- Michal Simek, Ing. (M.Eng), OpenPGP - KeyID: FE3D1F91 w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel - Microblaze cpu

Re: [RFC PATCH] fpga: Introduce new fpga subsystem

2013-09-25 Thread Michal Simek
what options there are for cplds. But anyway AFAIK richer formats are not problem for us. The same situation should be for partial bitstreams too. Thanks, Michal -- Michal Simek, Ing. (M.Eng), OpenPGP - KeyID: FE3D1F91 w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel - Microblaze

Re: [PATCH v2 0/4] arm: zynq: Enable global timer

2013-09-26 Thread Michal Simek
. I acked-by the patches, so if someone is willing to take the patches I am ok with that. I am ok also to pick them into my tree with the acked-by maintainer. Just let me know ... Yes, please add also this zynq specific patch through your tree. Here is my ACK for that. Acked-by: Michal Simek

Re: [RFC PATCH] fpga: Introduce new fpga subsystem

2013-09-27 Thread Michal Simek
Hi Jason, On 09/18/2013 10:32 PM, Jason Gunthorpe wrote: On Wed, Sep 18, 2013 at 03:15:17PM -0400, Jason Cooper wrote: + Jason Gunthorpe Thanks, looks interesting, we could possibly use this interface if it met our needs.. On Wed, Sep 18, 2013 at 05:56:39PM +0200, Michal Simek wrote

[PATCH] dma: pl330: Support per channel irq allocation

2013-09-30 Thread Michal Simek
Some pl330 have per channel irq and it is necessary to allocate all of them. Loop over irq assigned for this device to support these pl330 IPs. For example this IP is available on Xilinx Zynq platform. Signed-off-by: Michal Simek michal.si...@xilinx.com --- Hi Vinod, this is the patch I told

[PATCH] amba: Ensure drvdata is NULL

2013-09-30 Thread Michal Simek
This patch is inpired by the patch for drvdata device-core: Ensure drvdata = NULL when no driver is bound (sha1: 0998d0631001288a5974afc0b2a5f568bcdecb4d) Also it fixes all occurences in drivers. Signed-off-by: Michal Simek michal.si...@xilinx.com --- This patch has been sent as RFC

[PATCH] ARM: amba: Extend number of IRQS

2013-09-30 Thread Michal Simek
Xilinx Zynq pl330 dma driver has 9 irqs which all have to be used by the driver to get it work properly. Signed-off-by: Michal Simek michal.si...@xilinx.com --- Not sure if there are others IP with more than 9 irqs. --- include/linux/amba/bus.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[PATCH] char: hwicap: Remove unnecessary dev_set_drvdata()

2013-09-30 Thread Michal Simek
Driver core clears the driver data to NULL after device_release or on probe failure, so just remove it from here. Signed-off-by: Michal Simek michal.si...@xilinx.com --- drivers/char/xilinx_hwicap/xilinx_hwicap.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/char/xilinx_hwicap

[PATCH 3/3] i2c: xilinx: Use devm_* functions

2013-09-30 Thread Michal Simek
From: Kedareswara rao Appana appana.durga@xilinx.com Simplified the probe and remove functions using devm_* functions Signed-off-by: Kedareswara rao Appana appa...@xilinx.com Signed-off-by: Michal Simek michal.si...@xilinx.com --- drivers/i2c/busses/i2c-xiic.c | 69

[PATCH 1/3] i2c: xilinx: Fix i2c sparse warnings

2013-09-30 Thread Michal Simek
From: Kedareswara rao Appana appana.durga@xilinx.com code changes to fix sparse warnings Signed-off-by: Kedareswara rao Appana appa...@xilinx.com Signed-off-by: Michal Simek michal.si...@xilinx.com --- drivers/i2c/busses/i2c-xiic.c | 23 +++ 1 file changed, 11 insertions

[PATCH 2/3] i2c: xilinx: Set tx direction in write operation

2013-09-30 Thread Michal Simek
From: Kedareswara rao Appana appana.durga@xilinx.com In write operation, after filling address byte to tx fifo, set the direction of transfer to tx using control register. Signed-off-by: Kedareswara rao Appana appa...@xilinx.com Signed-off-by: Michal Simek michal.si...@xilinx.com

[RFC PATCH] tty: serial: uartlite: Extend time for sending chars through mdm IP

2013-09-30 Thread Michal Simek
From: Michal Simek mon...@monstr.eu Serial over jtag via mdm is compatible with uartlite driver just need to extend time for reading chars because connection is slow. Signed-off-by: Michal Simek michal.si...@xilinx.com --- drivers/tty/serial/uartlite.c | 2 +- 1 file changed, 1 insertion(+), 1

Re: [PATCH 3/3] video: xilinxfb: Simplify error path

2013-09-30 Thread Michal Simek
Hi Tomi, On 09/16/2013 12:34 PM, Tomi Valkeinen wrote: On 16/09/13 13:33, Michal Simek wrote: On 09/16/2013 11:51 AM, Tomi Valkeinen wrote: On 12/09/13 08:54, Michal Simek wrote: @@ -394,16 +382,12 @@ static int xilinxfb_release(struct device *dev) /* Turn off the display

Re: [PATCH 1/3] i2c: xilinx: Fix i2c sparse warnings

2013-09-30 Thread Michal Simek
On 09/30/2013 12:23 PM, Wolfram Sang wrote: On Mon, Sep 30, 2013 at 11:08:50AM +0200, Michal Simek wrote: From: Kedareswara rao Appana appana.durga@xilinx.com code changes to fix sparse warnings Would be nice to either have them listed here or at least shortly described. I will send

Re: [PATCH 2/3] i2c: xilinx: Set tx direction in write operation

2013-09-30 Thread Michal Simek
On 09/30/2013 12:22 PM, Wolfram Sang wrote: On Mon, Sep 30, 2013 at 11:08:51AM +0200, Michal Simek wrote: From: Kedareswara rao Appana appana.durga@xilinx.com In write operation, after filling address byte to tx fifo, set the direction of transfer to tx using control register. You

[PATCH v2 2/3] i2c: xilinx: Set tx direction in write operation

2013-09-30 Thread Michal Simek
control register. Signed-off-by: Kedareswara rao Appana appa...@xilinx.com Signed-off-by: Michal Simek michal.si...@xilinx.com --- Changes in v2: - Extend patch description as Wolfram asked for. drivers/i2c/busses/i2c-xiic.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/i2c/busses

[PATCH v2 1/3] i2c: xilinx: Fix i2c checkpatch warnings

2013-09-30 Thread Michal Simek
From: Kedareswara rao Appana appana.durga@xilinx.com Code changes to fix checkpatch warnings listed below. - WARNING: please, no space before tabs - WARNING: quoted string split across lines Signed-off-by: Kedareswara rao Appana appa...@xilinx.com Signed-off-by: Michal Simek michal.si

[PATCH v2 3/3] i2c: xilinx: Use devm_* functions

2013-09-30 Thread Michal Simek
From: Kedareswara rao Appana appana.durga@xilinx.com Simplified the probe and remove functions using devm_* functions Signed-off-by: Kedareswara rao Appana appa...@xilinx.com Signed-off-by: Michal Simek michal.si...@xilinx.com --- Changes in v2: None drivers/i2c/busses/i2c-xiic.c | 69

Re: [RFC PATCH] tty: serial: uartlite: Extend time for sending chars through mdm IP

2013-09-30 Thread Michal Simek
On 09/30/2013 02:54 PM, Greg Kroah-Hartman wrote: On Mon, Sep 30, 2013 at 01:50:35PM +0200, Michal Simek wrote: From: Michal Simek mon...@monstr.eu Serial over jtag via mdm is compatible with uartlite driver just need to extend time for reading chars because connection is slow. Signed-off

Re: scatterlist: sg_set_buf() argument must be in linear mapping (sha1: ac4e97abce9b80c020e7113325f49e58b7b15e3f)

2013-07-22 Thread Michal Simek
+ Ohad On 07/22/2013 03:47 AM, Rusty Russell wrote: Michal Simek mon...@monstr.eu writes: Hi Rusty and Jens, I am getting problem with your patch which you have added to the kernel. The problem is with my arm zynq remoteproc driver where I use dma_declare_coherent_memory() to specify memory

Re: scatterlist: sg_set_buf() argument must be in linear mapping (sha1: ac4e97abce9b80c020e7113325f49e58b7b15e3f)

2013-07-23 Thread Michal Simek
On 07/23/2013 12:37 PM, Russell King - ARM Linux wrote: On Tue, Jul 23, 2013 at 12:00:30PM +0930, Rusty Russell wrote: Michal Simek mon...@monstr.eu writes: Let me take some code from virtio_rpmsg_bus.c to show that problematic part. bufs_va = dma_alloc_coherent(vdev-dev.parent-parent

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