Add support for the MIPSfpga platform to generic kernel.
Signed-off-by: Zubair Lutfullah Kakakhel <zubair.kakak...@imgtec.com>
---
arch/mips/boot/dts/xilfpga/Makefile| 2 +-
arch/mips/boot/dts/xilfpga/nexys4ddr.dts | 8
arch/mips/configs/generic/board-xilfpga.
Add support for the MIPSfpga platform to generic kernel.
Signed-off-by: Zubair Lutfullah Kakakhel
---
arch/mips/boot/dts/xilfpga/Makefile| 2 +-
arch/mips/boot/dts/xilfpga/nexys4ddr.dts | 8
arch/mips/configs/generic/board-xilfpga.config | 19
Hi,
Couple of patches that convert the MIPSfpga platform to using
the generic kernels
Based on v4.11-rc4.
Regards,
ZubairLK
Zubair Lutfullah Kakakhel (2):
MIPS: generic: Add support for MIPSfpga
MIPS: Xilfpga: Switch to using generic defconfigs
arch/mips/Kbuild.platforms
Use the generic platform code and remove arch/mips/xilfpga
Signed-off-by: Zubair Lutfullah Kakakhel <zubair.kakak...@imgtec.com>
---
arch/mips/Kbuild.platforms | 1 -
arch/mips/Kconfig | 24
arch/mips/Makefile | 4 ++
arch/mips/c
Hi,
Couple of patches that convert the MIPSfpga platform to using
the generic kernels
Based on v4.11-rc4.
Regards,
ZubairLK
Zubair Lutfullah Kakakhel (2):
MIPS: generic: Add support for MIPSfpga
MIPS: Xilfpga: Switch to using generic defconfigs
arch/mips/Kbuild.platforms
Use the generic platform code and remove arch/mips/xilfpga
Signed-off-by: Zubair Lutfullah Kakakhel
---
arch/mips/Kbuild.platforms | 1 -
arch/mips/Kconfig | 24
arch/mips/Makefile | 4 ++
arch/mips/configs/xilfpga_defconfig | 75
Hi,
On 12/02/2016 03:42 PM, Nathan Sullivan wrote:
Support the National Instruments 169445 board.
Interesting patch.
But do you happen to have a link to a description of the board?
I couldn't find anything with a quick search.
Perhaps the public name is something else?
Thanks,
ZubairLK
Hi,
On 12/02/2016 03:42 PM, Nathan Sullivan wrote:
Support the National Instruments 169445 board.
Interesting patch.
But do you happen to have a link to a description of the board?
I couldn't find anything with a quick search.
Perhaps the public name is something else?
Thanks,
ZubairLK
The xilfpga platform has a Xilinx AXI emaclite block.
Add the DT node to use it.
Signed-off-by: Zubair Lutfullah Kakakhel <zubair.kakak...@imgtec.com>
---
arch/mips/boot/dts/xilfpga/nexys4ddr.dts | 26 ++
1 file changed, 26 insertions(+)
diff --git a/arch/mips/bo
This prepares the code to use the Xilinx Interrupt Controller
driver in drivers/irqchip/irq-xilinx-intc.c
Signed-off-by: Zubair Lutfullah Kakakhel <zubair.kakak...@imgtec.com>
---
arch/mips/xilfpga/intc.c | 7 ++-
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/arc
This prepares the code to use the Xilinx Interrupt Controller
driver in drivers/irqchip/irq-xilinx-intc.c
Signed-off-by: Zubair Lutfullah Kakakhel
---
arch/mips/xilfpga/intc.c | 7 ++-
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/arch/mips/xilfpga/intc.c b/arch/mips/xilfpga
The xilfpga platform has a Xilinx AXI emaclite block.
Add the DT node to use it.
Signed-off-by: Zubair Lutfullah Kakakhel
---
arch/mips/boot/dts/xilfpga/nexys4ddr.dts | 26 ++
1 file changed, 26 insertions(+)
diff --git a/arch/mips/boot/dts/xilfpga/nexys4ddr.dts
b
Update the DT node with the UART irq
Signed-off-by: Zubair Lutfullah Kakakhel <zubair.kakak...@imgtec.com>
---
arch/mips/boot/dts/xilfpga/nexys4ddr.dts | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/mips/boot/dts/xilfpga/nexys4ddr.dts
b/arch/mips/boot/dts/xilfpga/nexys4d
Update the DT node with the UART irq
Signed-off-by: Zubair Lutfullah Kakakhel
---
arch/mips/boot/dts/xilfpga/nexys4ddr.dts | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/mips/boot/dts/xilfpga/nexys4ddr.dts
b/arch/mips/boot/dts/xilfpga/nexys4ddr.dts
index 8db660b..d285c8d 100644
Device Tree nodes for various peripherals that were blocked
- Enable those drivers in the defconfig
Based on v4.9-rc6
Regards,
ZubairLK
[1] https://lkml.org/lkml/2016/11/22/186
Zubair Lutfullah Kakakhel (6):
MIPS: xilfpga: Use irqchip instead of the legacy way
MIPS: xilfpga: Use Xilinx
Update defconfig to enable emaclite, i2c and temp sensor on the
xilfpga platform
Signed-off-by: Zubair Lutfullah Kakakhel <zubair.kakak...@imgtec.com>
---
arch/mips/configs/xilfpga_defconfig | 37 -
1 file changed, 36 insertions(+), 1 deletion(-)
diff
Device Tree nodes for various peripherals that were blocked
- Enable those drivers in the defconfig
Based on v4.9-rc6
Regards,
ZubairLK
[1] https://lkml.org/lkml/2016/11/22/186
Zubair Lutfullah Kakakhel (6):
MIPS: xilfpga: Use irqchip instead of the legacy way
MIPS: xilfpga: Use Xilinx
Update defconfig to enable emaclite, i2c and temp sensor on the
xilfpga platform
Signed-off-by: Zubair Lutfullah Kakakhel
---
arch/mips/configs/xilfpga_defconfig | 37 -
1 file changed, 36 insertions(+), 1 deletion(-)
diff --git a/arch/mips/configs
IRQs from peripherals such as i2c/uart/ethernet come via
the AXI Interrupt controller.
Select it in Kconfig for xilfpga and add the DT node
Signed-off-by: Zubair Lutfullah Kakakhel <zubair.kakak...@imgtec.com>
---
arch/mips/Kconfig| 1 +
arch/mips/boot/dts/x
The xilfpga platform has an AXI I2C Bus master with a temperature
sensor connected to it.
Add the device tree node to use them.
Signed-off-by: Zubair Lutfullah Kakakhel <zubair.kakak...@imgtec.com>
---
arch/mips/boot/dts/xilfpga/nexys4ddr.dts | 22 ++
1 file chang
IRQs from peripherals such as i2c/uart/ethernet come via
the AXI Interrupt controller.
Select it in Kconfig for xilfpga and add the DT node
Signed-off-by: Zubair Lutfullah Kakakhel
---
arch/mips/Kconfig| 1 +
arch/mips/boot/dts/xilfpga/nexys4ddr.dts | 12
The xilfpga platform has an AXI I2C Bus master with a temperature
sensor connected to it.
Add the device tree node to use them.
Signed-off-by: Zubair Lutfullah Kakakhel
---
arch/mips/boot/dts/xilfpga/nexys4ddr.dts | 22 ++
1 file changed, 22 insertions(+)
diff --git a/arch
Hi,
On 11/22/2016 10:55 AM, Marc Zyngier wrote:
On 14/11/16 12:13, Zubair Lutfullah Kakakhel wrote:
Hi,
This patch series moves the Xilinx interrupt controller driver out
of arch/microblaze to drivers/irqchip and then cleans it up a bit.
And then removes another implementation of the driver
Hi,
On 11/22/2016 10:55 AM, Marc Zyngier wrote:
On 14/11/16 12:13, Zubair Lutfullah Kakakhel wrote:
Hi,
This patch series moves the Xilinx interrupt controller driver out
of arch/microblaze to drivers/irqchip and then cleans it up a bit.
And then removes another implementation of the driver
Hi,
On 11/21/2016 02:17 PM, Marc Zyngier wrote:
On 21/11/16 14:05, Zubair Lutfullah Kakakhel wrote:
Hi,
On 11/18/2016 01:29 PM, Thomas Gleixner wrote:
On Mon, 14 Nov 2016, Zubair Lutfullah Kakakhel wrote:
The powerpc dts file does not have the xlnx,kind-of-intr property.
Instead
Hi,
On 11/21/2016 02:17 PM, Marc Zyngier wrote:
On 21/11/16 14:05, Zubair Lutfullah Kakakhel wrote:
Hi,
On 11/18/2016 01:29 PM, Thomas Gleixner wrote:
On Mon, 14 Nov 2016, Zubair Lutfullah Kakakhel wrote:
The powerpc dts file does not have the xlnx,kind-of-intr property.
Instead
Hi,
On 11/18/2016 01:29 PM, Thomas Gleixner wrote:
On Mon, 14 Nov 2016, Zubair Lutfullah Kakakhel wrote:
The powerpc dts file does not have the xlnx,kind-of-intr property.
Instead of erroring out, give a warning instead. And attempt to
continue to probe the interrupt controller while assuming
Hi,
On 11/18/2016 01:29 PM, Thomas Gleixner wrote:
On Mon, 14 Nov 2016, Zubair Lutfullah Kakakhel wrote:
The powerpc dts file does not have the xlnx,kind-of-intr property.
Instead of erroring out, give a warning instead. And attempt to
continue to probe the interrupt controller while assuming
Hi,
On 11/15/2016 12:49 PM, Michal Simek wrote:
On 14.11.2016 13:13, Zubair Lutfullah Kakakhel wrote:
Add a global structure to house various variables.
And cleanup read/write handling by using jump label api.
Signed-off-by: Zubair Lutfullah Kakakhel <zubair.kakak...@imgtec.
Hi,
On 11/15/2016 12:49 PM, Michal Simek wrote:
On 14.11.2016 13:13, Zubair Lutfullah Kakakhel wrote:
Add a global structure to house various variables.
And cleanup read/write handling by using jump label api.
Signed-off-by: Zubair Lutfullah Kakakhel
...
@@ -138,59 +136,75 @@ static
Remove __func__ and prefix irq-xilinx in various debug prints
Signed-off-by: Zubair Lutfullah Kakakhel <zubair.kakak...@imgtec.com>
---
V6 -> V7
New patch
This diff was squashed into another patch. Split it up for cleanliness
---
drivers/irqchip/irq-xilinx-intc.c | 18 +
The Xilinx AXI Interrupt Controller IP block is used by the MIPS
based xilfpga platform and a few PowerPC based platforms.
Move the interrupt controller code out of arch/microblaze so that
it can be used by everyone
Signed-off-by: Zubair Lutfullah Kakakhel <zubair.kakak...@imgtec.com>
Remove __func__ and prefix irq-xilinx in various debug prints
Signed-off-by: Zubair Lutfullah Kakakhel
---
V6 -> V7
New patch
This diff was squashed into another patch. Split it up for cleanliness
---
drivers/irqchip/irq-xilinx-intc.c | 18 +-
1 file changed, 9 insertions(+)
The Xilinx AXI Interrupt Controller IP block is used by the MIPS
based xilfpga platform and a few PowerPC based platforms.
Move the interrupt controller code out of arch/microblaze so that
it can be used by everyone
Signed-off-by: Zubair Lutfullah Kakakhel
---
V6 -> V7
Rebase to v4.9-rc5
Add a global structure to house various variables.
And cleanup read/write handling by using jump label api.
Signed-off-by: Zubair Lutfullah Kakakhel <zubair.kakak...@imgtec.com>
---
V6 -> V7
Restructure and use jump label api
Better commit log
V5 -> V6
Removed __func__ from p
Add a global structure to house various variables.
And cleanup read/write handling by using jump label api.
Signed-off-by: Zubair Lutfullah Kakakhel
---
V6 -> V7
Restructure and use jump label api
Better commit log
V5 -> V6
Removed __func__ from printk
Rebase to v4.9-rc3
V4 -> V
The MIPS based xilfpga platform has the following IRQ structure
Peripherals --> xilinx_intcontroller -> mips_cpu_int controller
Add support for the driver to chain the irq handler
Signed-off-by: Zubair Lutfullah Kakakhel <zubair.kakak...@imgtec.com>
---
V6 -> V7
Rebase to v4.
Now that the driver is generic and used by multiple archs,
get_irq is too generic.
Rename get_irq to xintc_get_irq to avoid any conflicts
Signed-off-by: Zubair Lutfullah Kakakhel <zubair.kakak...@imgtec.com>
---
V6 -> V7
Rebase to v4.9-rc5
V5 -> V6
Removed __func__ in printk
Rebase
The MIPS based xilfpga platform has the following IRQ structure
Peripherals --> xilinx_intcontroller -> mips_cpu_int controller
Add support for the driver to chain the irq handler
Signed-off-by: Zubair Lutfullah Kakakhel
---
V6 -> V7
Rebase to v4.9-rc5
V5 -> V6
Use chain
Now that the driver is generic and used by multiple archs,
get_irq is too generic.
Rename get_irq to xintc_get_irq to avoid any conflicts
Signed-off-by: Zubair Lutfullah Kakakhel
---
V6 -> V7
Rebase to v4.9-rc5
V5 -> V6
Removed __func__ in printk
Rebase to v4.9-rc3
V4 -> V5
Rebase
The powerpc dts file does not have the xlnx,kind-of-intr property.
Instead of erroring out, give a warning instead. And attempt to
continue to probe the interrupt controller while assuming
kind-of-intr is 0x0 as a fall back.
Signed-off-by: Zubair Lutfullah Kakakhel <zubair.kakak...@imgtec.
The powerpc dts file does not have the xlnx,kind-of-intr property.
Instead of erroring out, give a warning instead. And attempt to
continue to probe the interrupt controller while assuming
kind-of-intr is 0x0 as a fall back.
Signed-off-by: Zubair Lutfullah Kakakhel
---
V6 -> V7
Rebase to v
The Xilinx interrupt controller driver is now available in drivers/irqchip.
Switch to using that driver.
Signed-off-by: Zubair Lutfullah Kakakhel <zubair.kakak...@imgtec.com>
Acked-by: Michael Ellerman <m...@ellerman.id.au> (powerpc)
---
V6 - V7
Rebase to v4.9-rc5
V5 ->
ps
V2 -> V3
Cleanup the interrupt controller driver a bit based on feedback
Rebase to v4.8-rc4
V1 -> V2
Resubmitting without truncating the diff output for file moves
Removed accidental local mac address entry
Individual logs have more detail
Zubair Lutfullah Kakakhel (7):
microblaze: irqchip
The Xilinx interrupt controller driver is now available in drivers/irqchip.
Switch to using that driver.
Signed-off-by: Zubair Lutfullah Kakakhel
Acked-by: Michael Ellerman (powerpc)
---
V6 - V7
Rebase to v4.9-rc5
V5 -> V6 Added Acked-by Micheal Ellerman
V5 New patch
Tested on virtex
ps
V2 -> V3
Cleanup the interrupt controller driver a bit based on feedback
Rebase to v4.8-rc4
V1 -> V2
Resubmitting without truncating the diff output for file moves
Removed accidental local mac address entry
Individual logs have more detail
Zubair Lutfullah Kakakhel (7):
microblaze: irqchip
Hi,
On 11/01/2016 11:05 AM, Zubair Lutfullah Kakakhel wrote:
Hi,
Thanks for the review.
On 10/31/2016 07:51 PM, Thomas Gleixner wrote:
On Mon, 31 Oct 2016, Zubair Lutfullah Kakakhel wrote:
The drivers read/write function handling is a bit quirky.
Can you please explain in more detail
Hi,
On 11/01/2016 11:05 AM, Zubair Lutfullah Kakakhel wrote:
Hi,
Thanks for the review.
On 10/31/2016 07:51 PM, Thomas Gleixner wrote:
On Mon, 31 Oct 2016, Zubair Lutfullah Kakakhel wrote:
The drivers read/write function handling is a bit quirky.
Can you please explain in more detail
Hi,
Thanks for the review.
On 10/31/2016 07:51 PM, Thomas Gleixner wrote:
On Mon, 31 Oct 2016, Zubair Lutfullah Kakakhel wrote:
The drivers read/write function handling is a bit quirky.
Can you please explain in more detail what's quirky and why it should be
done differently
Hi,
Thanks for the review.
On 10/31/2016 07:51 PM, Thomas Gleixner wrote:
On Mon, 31 Oct 2016, Zubair Lutfullah Kakakhel wrote:
The drivers read/write function handling is a bit quirky.
Can you please explain in more detail what's quirky and why it should be
done differently
The powerpc dts file upstream does not have the xlnx,kind-of-intr
property. Instead of erroring out, give a warning instead.
And attempt to continue to probe the interrupt controller while
assuming kind-of-intr is 0x0 as a fall back.
Signed-off-by: Zubair Lutfullah Kakakhel <zubair.ka
The powerpc dts file upstream does not have the xlnx,kind-of-intr
property. Instead of erroring out, give a warning instead.
And attempt to continue to probe the interrupt controller while
assuming kind-of-intr is 0x0 as a fall back.
Signed-off-by: Zubair Lutfullah Kakakhel
---
V5 -> V6
Reb
The drivers read/write function handling is a bit quirky.
And the irqmask is passed directly to the handler.
Add a new irqchip struct to pass to the handler and
cleanup read/write handling.
Signed-off-by: Zubair Lutfullah Kakakhel <zubair.kakak...@imgtec.com>
---
V5 -> V6
Removed __fu
The MIPS based xilfpga platform has the following IRQ structure
Peripherals --> xilinx_intcontroller -> mips_cpu_int controller
Add support for the driver to chain the irq handler
Signed-off-by: Zubair Lutfullah Kakakhel <zubair.kakak...@imgtec.com>
---
V5 -> V6
Use ch
Now that the driver is generic and used by multiple archs,
get_irq is too generic.
Rename get_irq to xintc_get_irq to avoid any conflicts
Signed-off-by: Zubair Lutfullah Kakakhel <zubair.kakak...@imgtec.com>
---
V5 -> V6
Removed __func__ in printk
Rebase to v4.9-rc3
V4 -> V5
Reb
The Xilinx AXI Interrupt Controller IP block is used by the MIPS
based xilfpga platform and a few PowerPC based platforms.
Move the interrupt controller code out of arch/microblaze so that
it can be used by everyone
Signed-off-by: Zubair Lutfullah Kakakhel <zubair.kakak...@imgtec.com>
The drivers read/write function handling is a bit quirky.
And the irqmask is passed directly to the handler.
Add a new irqchip struct to pass to the handler and
cleanup read/write handling.
Signed-off-by: Zubair Lutfullah Kakakhel
---
V5 -> V6
Removed __func__ from printk
Rebase to v4.9-
The MIPS based xilfpga platform has the following IRQ structure
Peripherals --> xilinx_intcontroller -> mips_cpu_int controller
Add support for the driver to chain the irq handler
Signed-off-by: Zubair Lutfullah Kakakhel
---
V5 -> V6
Use chained_irq_enter and chained_irq_exit
Add er
Now that the driver is generic and used by multiple archs,
get_irq is too generic.
Rename get_irq to xintc_get_irq to avoid any conflicts
Signed-off-by: Zubair Lutfullah Kakakhel
---
V5 -> V6
Removed __func__ in printk
Rebase to v4.9-rc3
V4 -> V5
Rebased to v4.9-rc1
Use __func__ in pr_e
The Xilinx AXI Interrupt Controller IP block is used by the MIPS
based xilfpga platform and a few PowerPC based platforms.
Move the interrupt controller code out of arch/microblaze so that
it can be used by everyone
Signed-off-by: Zubair Lutfullah Kakakhel
---
V5 -> V6
Rebase to v4.9-rc3
The Xilinx interrupt controller driver is now available in drivers/irqchip.
Switch to using that driver.
Signed-off-by: Zubair Lutfullah Kakakhel <zubair.kakak...@imgtec.com>
Acked-by: Michael Ellerman <m...@ellerman.id.au> (powerpc)
---
V5 -> V6 Added Acked-by Micheal Ellerma
The Xilinx interrupt controller driver is now available in drivers/irqchip.
Switch to using that driver.
Signed-off-by: Zubair Lutfullah Kakakhel
Acked-by: Michael Ellerman (powerpc)
---
V5 -> V6 Added Acked-by Micheal Ellerman
V5 New patch
Tested on virtex440-ml507 using qemu
---
a
; V3
Cleanup the interrupt controller driver a bit based on feedback
Rebase to v4.8-rc4
V1 -> V2
Resubmitting without truncating the diff output for file moves
Removed accidental local mac address entry
Individual logs have more detail
Zubair Lutfullah Kakakhel (6):
microblaze: irqchip: Move intc dr
; V3
Cleanup the interrupt controller driver a bit based on feedback
Rebase to v4.8-rc4
V1 -> V2
Resubmitting without truncating the diff output for file moves
Removed accidental local mac address entry
Individual logs have more detail
Zubair Lutfullah Kakakhel (6):
microblaze: irqchip: Move intc dr
Hi,
Thanks for the review.
Some comments in-line.
On 10/21/2016 10:48 AM, Marc Zyngier wrote:
On 17/10/16 17:52, Zubair Lutfullah Kakakhel wrote:
The MIPS based xilfpga platform has the following IRQ structure
Peripherals --> xilinx_intcontroller -> mips_cpu_int controller
Add s
Hi,
Thanks for the review.
Some comments in-line.
On 10/21/2016 10:48 AM, Marc Zyngier wrote:
On 17/10/16 17:52, Zubair Lutfullah Kakakhel wrote:
The MIPS based xilfpga platform has the following IRQ structure
Peripherals --> xilinx_intcontroller -> mips_cpu_int controller
Add s
The powerpc dts file upstream does not have the xlnx,kind-of-intr
property. Instead of erroring out, give a warning instead.
And attempt to continue to probe the interrupt controller while
assuming kind-of-intr is 0x0 as a fall back.
Signed-off-by: Zubair Lutfullah Kakakhel <zubair.ka
ontroller driver a bit based on feedback
Rebase to v4.8-rc4
V1 -> V2
Resubmitting without truncating the diff output for file moves
Removed accidental local mac address entry
Individual logs have more detail
Zubair Lutfullah Kakakhel (12):
microblaze: irqchip: Move intc driver to irqchip
irq
The MIPS based xilfpga platform has the following IRQ structure
Peripherals --> xilinx_intcontroller -> mips_cpu_int controller
Add support for the driver to chain the irq handler
Signed-off-by: Zubair Lutfullah Kakakhel <zubair.kakak...@imgtec.com>
---
V4 -> V5
Rebased to v
The powerpc dts file upstream does not have the xlnx,kind-of-intr
property. Instead of erroring out, give a warning instead.
And attempt to continue to probe the interrupt controller while
assuming kind-of-intr is 0x0 as a fall back.
Signed-off-by: Zubair Lutfullah Kakakhel
---
V5 new patch
ontroller driver a bit based on feedback
Rebase to v4.8-rc4
V1 -> V2
Resubmitting without truncating the diff output for file moves
Removed accidental local mac address entry
Individual logs have more detail
Zubair Lutfullah Kakakhel (12):
microblaze: irqchip: Move intc driver to irqchip
irq
The MIPS based xilfpga platform has the following IRQ structure
Peripherals --> xilinx_intcontroller -> mips_cpu_int controller
Add support for the driver to chain the irq handler
Signed-off-by: Zubair Lutfullah Kakakhel
---
V4 -> V5
Rebased to v4.9-rc1
Missing curly braces
V3 ->
The xilfpga platform has a Xilinx AXI emaclite block.
Add the DT node to use it.
Signed-off-by: Zubair Lutfullah Kakakhel <zubair.kakak...@imgtec.com>
---
V3 -> V4
No change
V2 -> V3
No change
V1 -> V2
Removed accidental local-mac-address entry
---
arch/mips/boot/dts/xilfpg
This prepares the code use the Xilinx Interrupt Controller
driver now available in drivers/irqchip
Signed-off-by: Zubair Lutfullah Kakakhel <zubair.kakak...@imgtec.com>
---
V4 -> V5
Better commit message
V3 -> V4
Corrected commit message. Was irq-xilinx.c. Now irq-axi-intc.c
V2 -&g
Update defconfig to enable emaclite, i2c, temp sensor found on the
xilfpga platform
Signed-off-by: Zubair Lutfullah Kakakhel <zubair.kakak...@imgtec.com>
---
V3 -> V4
No change
V2 -> V3
No change
V1 -> V2
No change
---
arch/mips/configs/xilfpga
The xilfpga platform has a Xilinx AXI emaclite block.
Add the DT node to use it.
Signed-off-by: Zubair Lutfullah Kakakhel
---
V3 -> V4
No change
V2 -> V3
No change
V1 -> V2
Removed accidental local-mac-address entry
---
arch/mips/boot/dts/xilfpga/nexys4ddr
This prepares the code use the Xilinx Interrupt Controller
driver now available in drivers/irqchip
Signed-off-by: Zubair Lutfullah Kakakhel
---
V4 -> V5
Better commit message
V3 -> V4
Corrected commit message. Was irq-xilinx.c. Now irq-axi-intc.c
V2 -> V3
No change
V1 ->
Update defconfig to enable emaclite, i2c, temp sensor found on the
xilfpga platform
Signed-off-by: Zubair Lutfullah Kakakhel
---
V3 -> V4
No change
V2 -> V3
No change
V1 -> V2
No change
---
arch/mips/configs/xilfpga_defconfig | 37 -
1 file ch
The xilfpga platform has an AXI I2C Bus master with a temperature
sensor connected to it.
Add the device tree node to use them.
Signed-off-by: Zubair Lutfullah Kakakhel <zubair.kakak...@imgtec.com>
---
V3 -> V4
changed compatible string from "adt7420" to "adi,adt7420&
The xilfpga platform has an AXI I2C Bus master with a temperature
sensor connected to it.
Add the device tree node to use them.
Signed-off-by: Zubair Lutfullah Kakakhel
---
V3 -> V4
changed compatible string from "adt7420" to "adi,adt7420"
V2 -> V3
No change
V1
Update the DT node with the UART irq
Signed-off-by: Zubair Lutfullah Kakakhel <zubair.kakak...@imgtec.com>
---
V3 -> V4
No change
V2 -> V3
No change
V1 -> V2
No change
---
arch/mips/boot/dts/xilfpga/nexys4ddr.dts | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arc
Update the DT node with the UART irq
Signed-off-by: Zubair Lutfullah Kakakhel
---
V3 -> V4
No change
V2 -> V3
No change
V1 -> V2
No change
---
arch/mips/boot/dts/xilfpga/nexys4ddr.dts | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/mips/boot/dts/xilfpga/nexys4ddr.dt
The Xilinx AXI Interrupt Controller IP block is used by the MIPS
based xilfpga platform and a few PowerPC based platforms.
Move the interrupt controller code out of arch/microblaze so that
it can be used by everyone
Signed-off-by: Zubair Lutfullah Kakakhel <zubair.kakak...@imgtec.com>
The Xilinx AXI Interrupt Controller IP block is used by the MIPS
based xilfpga platform and a few PowerPC based platforms.
Move the interrupt controller code out of arch/microblaze so that
it can be used by everyone
Signed-off-by: Zubair Lutfullah Kakakhel
---
V4 -> V5
Rebase to v4.9-
IRQs from peripherals such as i2c/uart/ethernet come via
the AXI Interrupt controller.
Select it in Kconfig for xilfpga and add the DT node
Signed-off-by: Zubair Lutfullah Kakakhel <zubair.kakak...@imgtec.com>
---
V4 -> V5
Rebase to v4.9-rc1
Renamed XILINX_AXI_INTC to XILINX_INTC
The Xilinx interrupt controller driver is now available in drivers/irqchip.
Switch to using that driver.
Signed-off-by: Zubair Lutfullah Kakakhel <zubair.kakak...@imgtec.com>
---
V5 New patch
Tested on virtex440-ml507 using qemu
---
arch/powerpc/include/asm/xilinx_intc.h | 2 +-
arch/p
IRQs from peripherals such as i2c/uart/ethernet come via
the AXI Interrupt controller.
Select it in Kconfig for xilfpga and add the DT node
Signed-off-by: Zubair Lutfullah Kakakhel
---
V4 -> V5
Rebase to v4.9-rc1
Renamed XILINX_AXI_INTC to XILINX_INTC
V3 -> V4
No change
V2 -> V3
The Xilinx interrupt controller driver is now available in drivers/irqchip.
Switch to using that driver.
Signed-off-by: Zubair Lutfullah Kakakhel
---
V5 New patch
Tested on virtex440-ml507 using qemu
---
arch/powerpc/include/asm/xilinx_intc.h | 2 +-
arch/powerpc/platforms/40x/Kconfig
Now that the driver is generic and used by multiple archs,
get_irq is too generic.
Rename get_irq to xintc_get_irq to avoid any conflicts
Signed-off-by: Zubair Lutfullah Kakakhel <zubair.kakak...@imgtec.com>
---
V4 -> V5
Rebased to v4.9-rc1
Use __func__ in pr_err
V3 -> V4
New patc
Now that the driver is generic and used by multiple archs,
get_irq is too generic.
Rename get_irq to xintc_get_irq to avoid any conflicts
Signed-off-by: Zubair Lutfullah Kakakhel
---
V4 -> V5
Rebased to v4.9-rc1
Use __func__ in pr_err
V3 -> V4
New patch.
---
arch/microblaze/include/asm
The drivers read/write function handling is a bit quirky.
And the irqmask is passed directly to the handler.
Add a new irqchip struct to pass to the handler and
cleanup read/write handling.
Signed-off-by: Zubair Lutfullah Kakakhel <zubair.kakak...@imgtec.com>
---
V4 -> V5
Rebased to
The drivers read/write function handling is a bit quirky.
And the irqmask is passed directly to the handler.
Add a new irqchip struct to pass to the handler and
cleanup read/write handling.
Signed-off-by: Zubair Lutfullah Kakakhel
---
V4 -> V5
Rebased to v4.9-rc1
Better error handling
Hi,
On 09/08/2016 12:07 AM, David Miller wrote:
From: Zubair Lutfullah Kakakhel <zubair.kakak...@imgtec.com>
Date: Mon, 5 Sep 2016 13:07:54 +0100
The MIPS based xilfpga platform uses this driver.
Enable it for MIPS
Signed-off-by: Zubair Lutfullah Kakakhel <zubair.kakak...@imgtec.com
Hi,
On 09/08/2016 12:07 AM, David Miller wrote:
From: Zubair Lutfullah Kakakhel
Date: Mon, 5 Sep 2016 13:07:54 +0100
The MIPS based xilfpga platform uses this driver.
Enable it for MIPS
Signed-off-by: Zubair Lutfullah Kakakhel
---
V1 -> V6 are from a series that has gotten too big.
S
The MIPS based xilfpga platform uses this driver.
Enable it for MIPS
Signed-off-by: Zubair Lutfullah Kakakhel <zubair.kakak...@imgtec.com>
---
V1 -> V6 are from a series that has gotten too big.
So I have split this patch and am sending it separately.
---
drivers/net/ethernet/xilinx/Kc
The MIPS based xilfpga platform uses this driver.
Enable it for MIPS
Signed-off-by: Zubair Lutfullah Kakakhel
---
V1 -> V6 are from a series that has gotten too big.
So I have split this patch and am sending it separately.
---
drivers/net/ethernet/xilinx/Kconfig | 4 ++--
1 file changed
On 09/04/2016 07:45 PM, David Miller wrote:
From: Zubair Lutfullah Kakakhel <zubair.kakak...@imgtec.com>
Date: Fri, 2 Sep 2016 12:39:24 +0100
A couple of simple patches to generate the random mac address
if none is found. And enabling the driver for mips.
Based on v4.8-rc4.
These wer
On 09/04/2016 07:45 PM, David Miller wrote:
From: Zubair Lutfullah Kakakhel
Date: Fri, 2 Sep 2016 12:39:24 +0100
A couple of simple patches to generate the random mac address
if none is found. And enabling the driver for mips.
Based on v4.8-rc4.
These were part of a larger series
Hi,
Thanks for the valuable feedback.
Comments inline
On 09/02/2016 11:27 AM, Michal Simek wrote:
On 2.9.2016 12:06, Zubair Lutfullah Kakakhel wrote:
Hi,
On 09/02/2016 07:25 AM, Michal Simek wrote:
On 1.9.2016 18:50, Zubair Lutfullah Kakakhel wrote:
The Xilinx AXI Interrupt Controller IP
Hi,
Thanks for the valuable feedback.
Comments inline
On 09/02/2016 11:27 AM, Michal Simek wrote:
On 2.9.2016 12:06, Zubair Lutfullah Kakakhel wrote:
Hi,
On 09/02/2016 07:25 AM, Michal Simek wrote:
On 1.9.2016 18:50, Zubair Lutfullah Kakakhel wrote:
The Xilinx AXI Interrupt Controller IP
1 - 100 of 904 matches
Mail list logo