Do not load endian value from platform data
and rather autodetect it.
Signed-off-by: Michal Simek michal.si...@xilinx.com
---
drivers/mfd/timberdale.c | 1 -
drivers/spi/spi-xilinx.c | 29 +
include/linux/spi/xilinx_spi.h | 1 -
3 files changed, 21
From: Michal Simek mon...@monstr.eu
mmc_spi driver tests if dma is available
through spi-master-dev.parent-dma_mask.
Microblaze supports DMA but xilinx_spi IP doesn't.
That's why clear dma_mask in the driver.
Signed-off-by: Michal Simek michal.si...@xilinx.com
---
drivers/spi/spi-xilinx.c | 3
completing ISR.
Simplified the ISR by just setting the completion variable and exiting with
no action. Then just looped the transmit functionality in
xilinx_spi_txrx_bufs().
Signed-off-by: Peter Crosthwaite peter.crosthwa...@xilinx.com
Signed-off-by: Michal Simek michal.si...@xilinx.com
---
drivers
On 06/04/2013 07:36 PM, Mark Brown wrote:
On Tue, Jun 04, 2013 at 04:02:35PM +0200, Michal Simek wrote:
From: Michal Simek mon...@monstr.eu
mmc_spi driver tests if dma is available
through spi-master-dev.parent-dma_mask.
Microblaze supports DMA but xilinx_spi IP doesn't.
That's why clear
Hi guys,
any comment on this?
Geert: I fixes one warning reported in your regression log.
Thanks,
Michal
On 05/23/2013 08:03 AM, Michal Simek wrote:
Use proper decimal type for comparison with u32.
Compilation warning was introduced by:
audit: Make testing for a valid loginuid explicit
On 06/06/2013 10:29 AM, Jean-Christophe PLAGNIOL-VILLARD wrote:
On 18:45 Fri 31 May , Michal Simek wrote:
On 05/31/2013 05:16 PM, Jean-Christophe PLAGNIOL-VILLARD wrote:
On 15:57 Fri 31 May , Michal Simek wrote:
On 05/31/2013 01:00 PM, Jean-Christophe PLAGNIOL-VILLARD wrote:
On 10:14
On 06/06/2013 01:55 PM, Grant Likely wrote:
On Thu, Jun 6, 2013 at 9:39 AM, Michal Simek mon...@monstr.eu wrote:
On 06/06/2013 10:29 AM, Jean-Christophe PLAGNIOL-VILLARD wrote:
On 18:45 Fri 31 May , Michal Simek wrote:
ok. good to know. Btw: Let's return to my origin point why
Hi Linus,
On 06/17/2013 11:13 AM, Linus Walleij wrote:
On Mon, Jun 17, 2013 at 8:21 AM, Michal Simek mon...@monstr.eu wrote:
On 06/17/2013 07:50 AM, Linus Walleij wrote:
On Mon, Jun 3, 2013 at 2:31 PM, Michal Simek michal.si...@xilinx.com
wrote:
+- xlnx,tri-default : if n-th bit is 1
will extend description to connect it with that cleanup
patch
and will also create follow up to enable kgdb in defconfig to be sure that it
is tested regularly.
Applied.
Thanks,
Michal
--
Michal Simek, Ing. (M.Eng), OpenPGP - KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer
This eliminates having an #ifdef returning NULL for the case
when OF is disabled.
Signed-off-by: Michal Simek michal.si...@xilinx.com
---
Changes in v3:
- Rebased on Pavel's UIO patch
UIO: allow binding uio_pdrv_genirq.c to devices using command line option
(sha1
be just removed.
Signed-off-by: Michal Simek michal.si...@xilinx.com
---
Changes in v3:
- Rebased on the latest char-misc with some UIO patches
- Change patch description
Changes in v2: None
drivers/uio/Kconfig| 7 ---
drivers/uio/Makefile | 1 -
drivers/uio/uio_pdrv.c | 113
] = clk_register_gate(NULL, clk_output_name[gem1],
gem1_emio_mux, CLK_SET_RATE_PARENT,
SLCR_GEM1_CLK_CTRL, 0, 0, gem1clk_lock);
--
1.8.3.1
Applied.
Thanks,
Michal
--
Michal Simek, Ing. (M.Eng), OpenPGP - KeyID: FE3D1F91
w: www.monstr.eu p: +42-0
, ddrpll, 0,
--
1.8.3.1
Applied.
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
On 06/17/2013 11:07 PM, Arnd Bergmann wrote:
On Monday 17 June 2013, Michal Simek wrote:
On 06/17/2013 10:56 AM, Jean-Christophe PLAGNIOL-VILLARD wrote:
On 07:23 Mon 17 Jun , Michal Simek wrote:
On 06/06/2013 06:23 PM, Jean-Christophe PLAGNIOL-VILLARD wrote:
On 12:13 Mon 03 Jun
On 06/26/2013 12:00 PM, Sachin Kamat wrote:
On 26 June 2013 15:22, Michal Simek michal.si...@xilinx.com wrote:
This eliminates having an #ifdef returning NULL for the case
when OF is disabled.
Signed-off-by: Michal Simek michal.si...@xilinx.com
I have already submitted a similar patch
On 06/26/2013 12:51 PM, Sachin Kamat wrote:
On 26 June 2013 15:51, Michal Simek mon...@monstr.eu wrote:
On 06/26/2013 12:00 PM, Sachin Kamat wrote:
On 26 June 2013 15:22, Michal Simek michal.si...@xilinx.com wrote:
This eliminates having an #ifdef returning NULL for the case
when
On 06/26/2013 01:13 PM, Sachin Kamat wrote:
On 26 June 2013 16:34, Michal Simek mon...@monstr.eu wrote:
On 06/26/2013 12:51 PM, Sachin Kamat wrote:
On 26 June 2013 15:51, Michal Simek mon...@monstr.eu wrote:
On 06/26/2013 12:00 PM, Sachin Kamat wrote:
On 26 June 2013 15:22, Michal Simek
On 06/26/2013 01:41 PM, Tomi Valkeinen wrote:
Hi,
On 26/06/13 13:02, Michal Simek wrote:
On 06/17/2013 11:07 PM, Arnd Bergmann wrote:
On Monday 17 June 2013, Michal Simek wrote:
On 06/17/2013 10:56 AM, Jean-Christophe PLAGNIOL-VILLARD wrote:
On 07:23 Mon 17 Jun , Michal Simek wrote
this one or we can create new one
which remove BUG_ON(!ops) from that file.
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
On 06/10/2013 11:10 AM, Michal Simek wrote:
Hi Wim
On 05/31/2013 07:56 AM, Michal Simek wrote:
The patchset fixes license header and add 1.00.a IP to compatible
list.
Thanks for your review,
Michal
Remove the 3rd patch from this series which incorrectly
tried to support set timeout
On 06/26/2013 05:00 PM, Greg Kroah-Hartman wrote:
On Wed, Jun 26, 2013 at 12:21:27PM +0200, Michal Simek wrote:
On 06/26/2013 12:00 PM, Sachin Kamat wrote:
On 26 June 2013 15:22, Michal Simek michal.si...@xilinx.com wrote:
This eliminates having an #ifdef returning NULL for the case
when
Supporting the second channel in the driver.
Offset is 0x8 and both channnels share the same
IRQ.
Signed-off-by: Michal Simek michal.si...@xilinx.com
---
drivers/gpio/gpio-xilinx.c | 93 --
1 file changed, 81 insertions(+), 12 deletions(-)
diff --git
Describe gpio-xilinx binding.
Signed-off-by: Michal Simek michal.si...@xilinx.com
---
.../devicetree/bindings/gpio/gpio-xilinx.txt | 43 ++
1 file changed, 43 insertions(+)
create mode 100644 Documentation/devicetree/bindings/gpio/gpio-xilinx.txt
diff --git
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 this functionality to genirq driver
- Remove code duplication from OF binding
Signed-off-by: Michal Simek michal.si...@xilinx.com
Use macros from linux/marvell_phy.h instead of duplicate
magic phy ID in the driver.
Signed-off-by: Michal Simek michal.si...@xilinx.com
---
drivers/net/phy/marvell.c | 18 +-
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/drivers/net/phy/marvell.c b/drivers/net
Add support for this new phy ID.
Signed-off-by: Rick Hoover rhoo...@digilentinc.com
Signed-off-by: Steven Wang steven.w...@digilentinc.com
Signed-off-by: Lars-Peter Clausen l...@metafoo.de
Signed-off-by: Michal Simek michal.si...@xilinx.com
---
drivers/net/phy/marvell.c | 25
xemaclite_adjust_link is used locally.
It removes sparse warning:
drivers/net/ethernet/xilinx/xilinx_emaclite.c:916:6: warning:
symbol 'xemaclite_adjust_link' was not declared. Should it be static?
Signed-off-by: Michal Simek michal.si...@xilinx.com
---
drivers/net/ethernet/xilinx
-by: Michal Simek michal.si...@xilinx.com
---
drivers/net/ethernet/xilinx/xilinx_emaclite.c | 13 -
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/xilinx/xilinx_emaclite.c
b/drivers/net/ethernet/xilinx/xilinx_emaclite.c
index a16dc35..fcd1e0b 100644
Corrent email address and years.
Signed-off-by: Michal Simek michal.si...@xilinx.com
---
drivers/net/ethernet/xilinx/xilinx_emaclite.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/ethernet/xilinx/xilinx_emaclite.c
b/drivers/net/ethernet/xilinx
Enable emaclite for Xilinx ARM Zynq platform.
Signed-off-by: Michal Simek michal.si...@xilinx.com
---
drivers/net/ethernet/xilinx/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/ethernet/xilinx/Kconfig
b/drivers/net/ethernet/xilinx/Kconfig
index
Emaclite can be used on ARM zynq where in_be32/out_be32 IO
functions are not present. Use standard __raw_readl/__raw_writel
IO functions instead.
Signed-off-by: Michal Simek michal.si...@xilinx.com
---
drivers/net/ethernet/xilinx/xilinx_emaclite.c | 100 +-
1 file changed
- Remove trailing white space
- Remove spaces before tag
- Fix comments
Signed-off-by: Michal Simek michal.si...@xilinx.com
---
drivers/net/phy/vitesse.c | 23 +++
1 file changed, 11 insertions(+), 12 deletions(-)
diff --git a/drivers/net/phy/vitesse.c b/drivers/net/phy
This phy is on Xilinx ZC702 zynq development board.
Signed-off-by: Anirudha Sarangi anir...@xilinx.com
Signed-off-by: Michal Simek michal.si...@xilinx.com
---
drivers/net/phy/marvell.c | 65 +
include/linux/marvell_phy.h | 1 +
2 files changed, 66
Be more verbose when any problem happens.
Signed-off-by: Michal Simek michal.si...@xilinx.com
---
drivers/net/ethernet/xilinx/xilinx_emaclite.c | 12 +---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/drivers/net/ethernet/xilinx/xilinx_emaclite.c
b/drivers/net/ethernet
Phy is compatible with Vitesse 8221.
Signed-off-by: Michal Simek michal.si...@xilinx.com
---
drivers/net/phy/vitesse.c | 15 +++
1 file changed, 15 insertions(+)
diff --git a/drivers/net/phy/vitesse.c b/drivers/net/phy/vitesse.c
index d6e988f..69b482b 100644
--- a/drivers/net/phy
On 05/29/2013 05:33 PM, Michal Simek wrote:
Emaclite can be used on ARM zynq where in_be32/out_be32 IO
functions are not present. Use standard __raw_readl/__raw_writel
IO functions instead.
Signed-off-by: Michal Simek michal.si...@xilinx.com
---
drivers/net/ethernet/xilinx
From: Michal Simek mon...@monstr.eu
DTB is always big-endian that's why is necessary
to convert it.
Signed-off-by: Michal Simek mon...@monstr.eu
Signed-off-by: Michal Simek michal.si...@xilinx.com
---
drivers/video/xilinxfb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
From: Michal Simek mon...@monstr.eu
Enable this driver for all Xilinx platforms.
Signed-off-by: Michal Simek mon...@monstr.eu
Signed-off-by: Michal Simek michal.si...@xilinx.com
---
drivers/video/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/video/Kconfig b
out_be32 IO function is not supported by ARM.
It is only available for PPC and Microblaze.
Remove all out_be32 references and start to use __raw_writel
function.
Signed-off-by: Michal Simek michal.si...@xilinx.com
---
drivers/video/xilinxfb.c | 18 +-
1 file changed, 9
On 05/29/2013 07:11 PM, Sergei Shtylyov wrote:
Hello.
On 05/29/2013 07:33 PM, Michal Simek wrote:
Corrent email address and years.
s/Corrent/Correct/. Perhaps the committer can fix.
I will fix it in v2, one patch is broken anyway.
Thanks,
Michal
--
Michal Simek, Ing. (M.Eng
From: Michal Simek mon...@monstr.eu
DTB is always big-endian that's why is necessary
to convert it.
Signed-off-by: Michal Simek michal.si...@xilinx.com
---
Changes in v2:
- use of_property_read_u32 helper function
drivers/video/xilinxfb.c | 7 +++
1 file changed, 3 insertions(+), 4
out_be32 IO function is not supported by ARM.
It is only available for PPC and Microblaze.
Remove all out_be32 references and start to use __raw_writel
function.
Signed-off-by: Michal Simek michal.si...@xilinx.com
---
Changes in v2: None
drivers/video/xilinxfb.c | 18 +-
1 file
From: Michal Simek mon...@monstr.eu
Enable this driver for all Xilinx platforms.
Signed-off-by: Michal Simek michal.si...@xilinx.com
---
Changes in v2: None
drivers/video/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
I have separated these emaclite patches from
phy patches because it is easier for creating
new versions.
Thanks,
Michal
Changes in v2:
- Fix __raw_iowrite() to pass correct parameters
- s/Corrent/Correct/ in patch description
Michal Simek (6):
net: emaclite: Report failures in mdio setup
Be more verbose when any problem happens.
Signed-off-by: Michal Simek michal.si...@xilinx.com
---
Changes in v2: None
drivers/net/ethernet/xilinx/xilinx_emaclite.c | 12 +---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/drivers/net/ethernet/xilinx/xilinx_emaclite.c
b
xemaclite_adjust_link is used locally.
It removes sparse warning:
drivers/net/ethernet/xilinx/xilinx_emaclite.c:916:6: warning:
symbol 'xemaclite_adjust_link' was not declared. Should it be static?
Signed-off-by: Michal Simek michal.si...@xilinx.com
---
Changes in v2: None
drivers/net/ethernet
-by: Michal Simek michal.si...@xilinx.com
---
Changes in v2: None
drivers/net/ethernet/xilinx/xilinx_emaclite.c | 13 -
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/xilinx/xilinx_emaclite.c
b/drivers/net/ethernet/xilinx/xilinx_emaclite.c
index
Correct email address and years.
Signed-off-by: Michal Simek michal.si...@xilinx.com
---
Changes in v2:
- s/Corrent/Correct/ in patch description
drivers/net/ethernet/xilinx/xilinx_emaclite.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/ethernet/xilinx
Enable emaclite for Xilinx ARM Zynq platform.
Signed-off-by: Michal Simek michal.si...@xilinx.com
---
Changes in v2: None
drivers/net/ethernet/xilinx/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/ethernet/xilinx/Kconfig
b/drivers/net/ethernet
Emaclite can be used on ARM zynq where in_be32/out_be32 IO
functions are not present. Use standard __raw_readl/__raw_writel
IO functions instead.
Signed-off-by: Michal Simek michal.si...@xilinx.com
---
Changes in v2:
- Fix __raw_iowrite() to pass correct parameters
drivers/net/ethernet/xilinx
- Remove reference for IP version
- Fix header coding style
- Remove notes which are visible from the code
- Fix driver license according to header
Signed-off-by: Michal Simek michal.si...@xilinx.com
---
drivers/watchdog/of_xilinx_wdt.c | 30 ++
1 file changed, 10
Watchdog 1.01.a is also compatible with 1.00.a.
Setup the origin version to compatible list.
If you want to use newer watchdog version, please
extend your compatible list.
For example:
compatible = xlnx,xps-timebase-wdt-1.02.a, xlnx,xps-timebase-wdt-1.00.a;
Signed-off-by: Michal Simek michal.si
Standard watchdog programs try to setup timeout
via ioctl and this functionality should be implemented.
Timeout value is hardcoded in the hardware but
based on Documentation/watchdog/watchdog-api.txt
can return the real timeout used in the same variable.
Signed-off-by: Michal Simek michal.si
On 05/30/2013 02:30 PM, Venu Byravarasu wrote:
-Original Message-
From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel-
ow...@vger.kernel.org] On Behalf Of Michal Simek
Sent: Thursday, May 30, 2013 5:56 PM
To: linux-kernel@vger.kernel.org
Cc: Michal Simek; Michal Simek; Wim
Export of_irq_count for modules.
Signed-off-by: Michal Simek michal.si...@xilinx.com
---
We are using this function in remoteproc module drivers.
There is also drivers/gpio/gpio-mvebu.c in the tree
which use this function but this driver can't be compiled
as module. This could be also the reason
On 05/30/2013 04:00 PM, Guenter Roeck wrote:
On Thu, May 30, 2013 at 02:26:03PM +0200, Michal Simek wrote:
Watchdog 1.01.a is also compatible with 1.00.a.
Setup the origin version to compatible list.
If you want to use newer watchdog version, please
extend your compatible list.
For example
On 05/30/2013 04:07 PM, Guenter Roeck wrote:
On Thu, May 30, 2013 at 02:26:04PM +0200, Michal Simek wrote:
Standard watchdog programs try to setup timeout
via ioctl and this functionality should be implemented.
Timeout value is hardcoded in the hardware but
based on Documentation/watchdog
On 05/30/2013 04:21 PM, Guenter Roeck wrote:
On Thu, May 30, 2013 at 04:15:45PM +0200, Michal Simek wrote:
On 05/30/2013 04:07 PM, Guenter Roeck wrote:
On Thu, May 30, 2013 at 02:26:04PM +0200, Michal Simek wrote:
Standard watchdog programs try to setup timeout
via ioctl
On 05/30/2013 05:03 PM, Guenter Roeck wrote:
On Thu, May 30, 2013 at 04:34:02PM +0200, Michal Simek wrote:
On 05/30/2013 04:21 PM, Guenter Roeck wrote:
On Thu, May 30, 2013 at 04:15:45PM +0200, Michal Simek wrote:
On 05/30/2013 04:07 PM, Guenter Roeck wrote:
On Thu, May 30, 2013 at 02:26:04PM
On 05/30/2013 08:44 PM, Mike Turquette wrote:
Quoting Michal Simek (2013-05-17 05:14:47)
Hi Mike,
I have sent email to Greg to take this patch from this series
though his serial tree because it is unrelated to this clock stuff.
Can you please give me your ACK for these patches or add them
Hi Linus,
On 05/30/2013 09:46 PM, Linus Walleij wrote:
On Wed, May 29, 2013 at 1:27 PM, Michal Simek michal.si...@xilinx.com wrote:
Supporting the second channel in the driver.
Offset is 0x8 and both channnels share the same
IRQ.
Signed-off-by: Michal Simek michal.si...@xilinx.com
On 05/31/2013 12:08 AM, Wim Van Sebroeck wrote:
Hi All,
On Thu, May 30, 2013 at 05:12:24PM +0200, Michal Simek wrote:
On 05/30/2013 05:03 PM, Guenter Roeck wrote:
On Thu, May 30, 2013 at 04:34:02PM +0200, Michal Simek wrote:
On 05/30/2013 04:21 PM, Guenter Roeck wrote:
On Thu, May 30, 2013
by Guenter Roeck li...@roeck-us.net
Michal Simek (2):
watchdog: xilinx: Fix driver header
watchdog: xilinx: Setup the origin compatible string
drivers/watchdog/of_xilinx_wdt.c | 31 +++
1 file changed, 11 insertions(+), 20 deletions(-)
--
1.8.2.3
pgp1hHJVTULbz.pgp
- Remove reference for IP version
- Fix header coding style
- Remove notes which are visible from the code
- Fix driver license according to header
Signed-off-by: Michal Simek michal.si...@xilinx.com
---
Changes in v2: None
drivers/watchdog/of_xilinx_wdt.c | 30 ++
1
Watchdog 1.01.a is also compatible with 1.00.a.
Add the origin version to compatible list.
Signed-off-by: Michal Simek michal.si...@xilinx.com
---
Changes in v2:
- Extend compatible list with 1.00.a instead of replacing 1.01.a
reported by Guenter Roeck li...@roeck-us.net
drivers/watchdog
We have these changes in our tree for quite a long
time and I would like to ask you for review.
All phys are used on xilinx zynq boards.
Thanks,
Michal
v2: Resent these phy patches without emaclite changes
Changes in v2:
- None
Michal Simek (5):
phy: Clean coding style in vitesse phy
phy
Use macros from linux/marvell_phy.h instead of duplicate
magic phy ID in the driver.
Signed-off-by: Michal Simek michal.si...@xilinx.com
---
Changes in v2: None
drivers/net/phy/marvell.c | 18 +-
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/drivers/net/phy
This phy is on Xilinx ZC702 zynq development board.
Signed-off-by: Anirudha Sarangi anir...@xilinx.com
Signed-off-by: Michal Simek michal.si...@xilinx.com
---
Changes in v2: None
drivers/net/phy/marvell.c | 65 +
include/linux/marvell_phy.h | 1
Add support for this new phy ID.
Signed-off-by: Rick Hoover rhoo...@digilentinc.com
Signed-off-by: Steven Wang steven.w...@digilentinc.com
Signed-off-by: Lars-Peter Clausen l...@metafoo.de
Signed-off-by: Michal Simek michal.si...@xilinx.com
---
Changes in v2:
- None
drivers/net/phy/marvell.c
Phy is compatible with Vitesse 8221.
Signed-off-by: Michal Simek michal.si...@xilinx.com
---
Changes in v2: None
drivers/net/phy/vitesse.c | 15 +++
1 file changed, 15 insertions(+)
diff --git a/drivers/net/phy/vitesse.c b/drivers/net/phy/vitesse.c
index d6e988f..69b482b 100644
- Remove trailing white space
- Remove spaces before tag
- Fix comments
Signed-off-by: Michal Simek michal.si...@xilinx.com
---
Changes in v2: None
drivers/net/phy/vitesse.c | 23 +++
1 file changed, 11 insertions(+), 12 deletions(-)
diff --git a/drivers/net/phy/vitesse.c b
On 05/31/2013 08:32 AM, Mike Turquette wrote:
Quoting Michal Simek (2013-05-30 22:17:59)
On 05/30/2013 08:44 PM, Mike Turquette wrote:
Quoting Michal Simek (2013-05-17 05:14:47)
Hi Mike,
I have sent email to Greg to take this patch from this series
though his serial tree because
On 05/31/2013 09:14 AM, Linus Walleij wrote:
On Fri, May 31, 2013 at 7:43 AM, Michal Simek mon...@monstr.eu wrote:
On 05/30/2013 09:46 PM, Linus Walleij wrote:
(...)
+/* Read/Write access to the GPIO registers */
+#define xgpio_readreg(offset) __raw_readl(offset)
+#define
On 05/31/2013 12:04 AM, Arnd Bergmann wrote:
On Thursday 30 May 2013 11:41:01 Michal Simek wrote:
* To perform the read/write on the registers we need to check on
* which bus its connected and call the appropriate write API.
*/
-static void xilinx_fb_out_be32(struct xilinxfb_drvdata
Hi Jean-Christophe,
On 05/30/2013 10:17 PM, Jean-Christophe PLAGNIOL-VILLARD wrote:
On 15:49 Thu 30 May , Michal Simek wrote:
Export of_irq_count for modules.
can you explain why do you need to call of_irq_count
I need to count number of irq written in the DTS node.
It is not fixed size
in this patchset
Changes in v2:
- use of_property_read_u32 helper function
Series-changes: 3
- fix commit message
Michal Simek (8):
video: xilinxfb: Fix OF probing on little-endian systems
video: xilinxfb: Do not name out_be32 in function name
video: xilinxfb: Rename PLB_ACCESS_FLAG
out_be32 IO function is not supported by ARM.
It is only available for PPC and Microblaze.
Because this driver can be used on ARM let's
remove out_be32 from function name.
Signed-off-by: Michal Simek michal.si...@xilinx.com
---
Changes in v3:
- Remove out_be IO name from function name
- Change
From: Michal Simek mon...@monstr.eu
Enable this driver for all Xilinx platforms.
Signed-off-by: Michal Simek michal.si...@xilinx.com
---
Changes in v3: None
Changes in v2: None
drivers/video/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/video/Kconfig b
From: Michal Simek mon...@monstr.eu
DTB is always big-endian that's why it is necessary
to properly convert value (*p).
It is automatically done in of_property_read_u32().
Signed-off-by: Michal Simek michal.si...@xilinx.com
---
Changes in v3: None
Changes in v2:
- use of_property_read_u32 helper
Using only PLB name is wrong for a long time because
the same access functions are also used for AXI.
s/PLB/BUS/g
Signed-off-by: Michal Simek michal.si...@xilinx.com
---
Changes in v3:
- New patch in this patchset based on discussions
Changes in v2: None
drivers/video/xilinxfb.c | 32
Dynamically detect endianess on IP and use
ioread/iowrite functions instead of powerpc and microblaze
specific out_be32.
Signed-off-by: Michal Simek michal.si...@xilinx.com
---
Changes in v3:
- New patch in this patchset based on discussions
Changes in v2: None
drivers/video/xilinxfb.c | 30
Use proper casting for fb_virt variable.
Signed-off-by: Michal Simek michal.si...@xilinx.com
---
Changes in v3:
- New patch in this patchset
Changes in v2: None
drivers/video/xilinxfb.c | 24 ++--
1 file changed, 14 insertions(+), 10 deletions(-)
diff --git a/drivers/video
Move of_address_to_resource() to xilinxfb_assign()
which simplify driver probing.
Signed-off-by: Michal Simek michal.si...@xilinx.com
---
Changes in v3:
- New patch in this patchset
Changes in v2: None
drivers/video/xilinxfb.c | 56 +---
1 file
physaddr will be remove in the next patch.
Signed-off-by: Michal Simek michal.si...@xilinx.com
---
Changes in v3:
- New patch in this patchset based on discussions
Changes in v2: None
drivers/video/xilinxfb.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/video
On 05/31/2013 03:05 PM, Timur Tabi wrote:
On 05/31/2013 07:55 AM, Michal Simek wrote:
-p = (u32 *)of_get_property(op-dev.of_node, xlnx,dcr-splb-slave-if,
NULL);
-tft_access = p ? *p : 0;
+of_property_read_u32(op-dev.of_node, xlnx,dcr-splb-slave
On 05/31/2013 03:26 PM, Timur Tabi wrote:
On 05/31/2013 07:55 AM, Michal Simek wrote:
diff --git a/drivers/video/xilinxfb.c b/drivers/video/xilinxfb.c
index f3d4a69..e27a4f6 100644
--- a/drivers/video/xilinxfb.c
+++ b/drivers/video/xilinxfb.c
@@ -131,7 +131,7 @@ struct xilinxfb_drvdata
On 05/31/2013 01:00 PM, Jean-Christophe PLAGNIOL-VILLARD wrote:
On 10:14 Fri 31 May , Michal Simek wrote:
Hi Jean-Christophe,
On 05/30/2013 10:17 PM, Jean-Christophe PLAGNIOL-VILLARD wrote:
On 15:49 Thu 30 May , Michal Simek wrote:
Export of_irq_count for modules.
can you explain
On 05/31/2013 03:41 PM, Timur Tabi wrote:
On 05/31/2013 08:37 AM, Michal Simek wrote:
The same is for Microblaze. Driver shares fb_virt for IO memory
and for allocated memory. The purpose of this driver wasn't
to change the driver logic just resolved sparse warnings.
The other way is also
this patchset.
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 and responsible
On 05/31/2013 05:16 PM, Jean-Christophe PLAGNIOL-VILLARD wrote:
On 15:57 Fri 31 May , Michal Simek wrote:
On 05/31/2013 01:00 PM, Jean-Christophe PLAGNIOL-VILLARD wrote:
On 10:14 Fri 31 May , Michal Simek wrote:
Hi Jean-Christophe,
On 05/30/2013 10:17 PM, Jean-Christophe PLAGNIOL
patch in this patchset based on discussions
- New patch in this patchset based on discussions
- New patch in this patchset
- New patch in this patchset based on discussions
Changes in v2:
- use of_property_read_u32 helper function
Michal Simek (7):
video: xilinxfb: Fix OF probing on little-endian
physaddr will be remove in the next patch.
Signed-off-by: Michal Simek michal.si...@xilinx.com
---
Changes in v4: None
Changes in v3:
- New patch in this patchset based on discussions
Changes in v2: None
drivers/video/xilinxfb.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff
From: Michal Simek mon...@monstr.eu
DTB is always big-endian that's why it is necessary
to properly convert value (*p).
It is automatically done in of_property_read_u32().
Signed-off-by: Michal Simek michal.si...@xilinx.com
---
Changes in v4: None
Changes in v3:
- fix commit message
Changes
Move of_address_to_resource() to xilinxfb_assign()
which simplify driver probing.
Signed-off-by: Michal Simek michal.si...@xilinx.com
---
Changes in v4: None
Changes in v3:
- New patch in this patchset
Changes in v2: None
drivers/video/xilinxfb.c | 56
From: Michal Simek mon...@monstr.eu
Enable this driver for all Xilinx platforms.
Signed-off-by: Michal Simek michal.si...@xilinx.com
---
Changes in v4:
- Remove video: xilinxfb: Fix sparse warnings
patch because it is trying to fix incorrect API
usage and sparse should warn about
Dynamically detect endianess on IP and use
ioread/iowrite functions instead of powerpc and microblaze
specific out_be32.
Signed-off-by: Michal Simek michal.si...@xilinx.com
Acked-by: Arnd Bergmann a...@arndb.de
---
Changes in v4:
- Acked by Arnd
Changes in v3:
- New patch in this patchset based
Using only PLB name is wrong for a long time because
the same access functions are also used for AXI.
s/PLB/BUS/g
Signed-off-by: Michal Simek michal.si...@xilinx.com
---
Changes in v4: None
Changes in v3:
- New patch in this patchset based on discussions
Changes in v2: None
drivers/video
out_be32 IO function is not supported by ARM.
It is only available for PPC and Microblaze.
Because this driver can be used on ARM let's
remove out_be32 from function name.
Signed-off-by: Michal Simek michal.si...@xilinx.com
---
Changes in v4: None
Changes in v3:
- Remove out_be IO name from
Supporting the second channel in the driver.
Offset is 0x8 and both channnels share the same
IRQ.
Signed-off-by: Michal Simek michal.si...@xilinx.com
---
Changes in v2:
- Use kernel doc format - suggested by Linus Walleij
- Do not use __raw_readl/__raw_writel IO in this patch
- Use
Use BIT macro from linux/bitops.h.
Signed-off-by: Michal Simek michal.si...@xilinx.com
---
Changes in v2:
- New patch in this series suggested by Linus Valleij
drivers/gpio/gpio-xilinx.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/gpio/gpio-xilinx.c
401 - 500 of 4230 matches
Mail list logo