microblaze: Remove selfmodified feature

This was experimental feature which has never been
widely used because it expects GCC behaviour.
Also remove INTC_BASE and TIMER_BASE macros.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
microblaze: intc: Remove unused headers

Trivial.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
microblaze: intc: Update header

Update dates in header and add Xilinx to it.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
microblaze: intc: Using irqchip

- Move init_IRQ to irq.c
- Use IRQCHIP_DECLARE macro

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
microblaze: intc: Clean driver init function

- Use of_iomap
- Use of_property_read_u32
- Fix printk

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
microblaze: intc: Remove unused header

asm/irq.h is included in linux/irq.h
asm/prom.h and linux/init.h is not needed

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
microblaze: timer: Use CLKSRC_OF initialization

Simplify timer initialization and prepare the driver
for moving to drivers/clocksource folder.
Also remove system-timer property from binding because
the name is too generic.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
microblaze: timer: Clear driver init function

- Use of_iomap
- Use of_property_read_u32
- Fix printk

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
microblaze: timer: Remove unused header

Remove unused headers.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
microblaze: timer: Update header

Update dates in header and add Xilinx to it.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
microblaze: timer: Replace microblaze_ prefix by xilinx_

The main reason that this driver can be used by ARM
and PPC. The part of preparing of move to generic location.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
microblaze: Add PVR version string for MB v9.0 and v9.1

Extend PVR reg decoding.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
gpio: xilinx: Fix type for irq_base

irq_alloc_descs() returns negative numbers
on error path. Use int type to capture it.

Bug was introduced by this commit:
"GPIO: xilinx: Add irq support to the driver"
(sha1: 796ae5e3e4ae5f550e0ba01ade34604c83b08cfd)

Reported-by: Kester Aernoudt <kestera@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
gpio: xilinx: Fix minor coding style issue.

Trivial.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
gpio: xilinx: Use platform_driver

Register driver as platform driver.
Based on this change, probe function uses devm_
which clear incorrect kfree(chip) usage.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>