freebsd-dev/sys/arm/freescale/imx
Svatopluk Kraus bff6be3e9b Remove FDT specific parts from INTRNG. Change its interface to make it
universal.

(1) New struct intr_map_data is defined as a container for arbitrary
description of an interrupt used by a device. Typically, an interrupt
number and configuration relevant to an interrupt controller is encoded
in such description. However, any additional information may be encoded
too like a set of cpus on which an interrupt should be enabled or vendor
specific data needed for setup of an interrupt in controller. The struct
intr_map_data itself is meant to be opaque for INTRNG.

(2) An intr_map_irq() function is created which takes an interrupt
controller identification and struct intr_map_data as arguments and
returns global interrupt number which identifies an interrupt.

(3) A set of functions to be used by bus drivers is created as well as
a corresponding set of methods for interrupt controller drivers. These
sets take both struct resource and struct intr_map_data as one of the
arguments. There is a goal to keep struct intr_map_data in struct
resource, however, this way a final solution is not limited to that.

(4) Other small changes are done to reflect new situation.

This is only first step aiming to create stable interface for interrupt
controller drivers. Thus, some temporary solution is taken. Interrupt
descriptions for devices are stored in INTRNG and two specific mapping
function are created to be temporary used by bus drivers. That's why
the struct intr_map_data is not opaque for INTRNG now. This temporary
solution will be replaced by final one in next step.

Differential Revision:	https://reviews.freebsd.org/D5730
2016-04-04 09:15:25 +00:00
..
console.c
files.imx5 Move more bus_space_* files to be built by files.arm. This leaves the 2015-11-21 15:30:08 +00:00
files.imx6 Add i.MX 6 IPU driver and enable it in IMX6 config 2015-12-21 22:25:35 +00:00
imx6_anatop.c Rename sysctl node hw.imx6 to hw.imx. Move its definition to imx_machdep.c 2015-11-26 17:26:52 +00:00
imx6_anatopreg.h Add support for audio transmitting, include drivers for: 2015-01-24 13:07:07 +00:00
imx6_anatopvar.h Add support for audio transmitting, include drivers for: 2015-01-24 13:07:07 +00:00
imx6_audmux.c Stop using machine/fdt.h in the arm kernel code when we don't need it. 2015-04-04 21:34:26 +00:00
imx6_ccm.c Add CCM functions to enable HDMI framer and IPU units (video controller) 2015-12-21 20:17:24 +00:00
imx6_ccmreg.h Add CCM functions to enable HDMI framer and IPU units (video controller) 2015-12-21 20:17:24 +00:00
imx6_hdmi.c - Add driver for i.MX 6 HDMI framer 2015-12-21 21:40:15 +00:00
imx6_hdmireg.h - Add driver for i.MX 6 HDMI framer 2015-12-21 21:40:15 +00:00
imx6_ipu.c Add i.MX 6 IPU driver and enable it in IMX6 config 2015-12-21 22:25:35 +00:00
imx6_machdep.c Make imx6 systems work again after recent import of new dts files. 2016-02-23 01:08:39 +00:00
imx6_mp.c Almost all copies of platform_mp_init_secondary just called 2016-02-26 16:04:47 +00:00
imx6_pl310.c Enable PL310 power-saving modes and tune the cache ram latencies for imx6. 2014-05-06 14:26:24 +00:00
imx6_sdma.c Include a header required for vtophys(). 2015-06-06 14:26:40 +00:00
imx6_sdma.h Add support for audio transmitting, include drivers for: 2015-01-24 13:07:07 +00:00
imx6_src.c - Add driver for System-Reset-Controler i.MX6 module 2015-11-13 23:47:41 +00:00
imx6_src.h - Add driver for System-Reset-Controler i.MX6 module 2015-11-13 23:47:41 +00:00
imx6_ssi.c Stop using machine/fdt.h in the arm kernel code when we don't need it. 2015-04-04 21:34:26 +00:00
imx6_usbphy.c Stop calling imx51_ccm_foo() clock functions from imx6 code. Instead 2014-04-26 16:48:09 +00:00
imx51_ccm.c Stop using machine/fdt.h in the arm kernel code when we don't need it. 2015-04-04 21:34:26 +00:00
imx51_ccmreg.h Add some bare-bones support for enabling usb and usbphy clocks. This 2013-10-30 14:33:15 +00:00
imx51_ccmvar.h
imx51_dpllreg.h
imx51_ipuv3_fbd.c Stop using machine/fdt.h in the arm kernel code when we don't need it. 2015-04-04 21:34:26 +00:00
imx51_ipuv3.c Include vm/pmap.h for pmap_kextract. 2015-04-04 23:03:11 +00:00
imx51_ipuv3reg.h Updates to i.MX53: 2014-04-08 04:05:04 +00:00
imx51_machdep.c Switch i.MX to use the platform code to help with a single Freescale kernel. 2014-12-24 12:26:43 +00:00
imx51_sdmareg.h
imx51_ssireg.h
imx51_tzicreg.h Fix a typo _IMX51_TZICRREG_H_ -> _IMX51_TZICREG_H_ (extra R) 2014-02-23 21:13:04 +00:00
imx53_machdep.c Switch i.MX to use the platform code to help with a single Freescale kernel. 2014-12-24 12:26:43 +00:00
imx_ccmvar.h Add CCM functions to enable HDMI framer and IPU units (video controller) 2015-12-21 20:17:24 +00:00
imx_common.c Stop defining fdt_pic_table when building for ARM_INTRNG. 2016-02-11 11:49:27 +00:00
imx_gpio.c Remove FDT specific parts from INTRNG. Change its interface to make it 2016-04-04 09:15:25 +00:00
imx_gpt.c Stop using machine/fdt.h in the arm kernel code when we don't need it. 2015-04-04 21:34:26 +00:00
imx_gptreg.h Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this 2013-11-30 22:17:27 +00:00
imx_gptvar.h
imx_i2c.c Use IIC_EBUSBSY and IIC_BUSERR status values consistantly across all drivers. 2015-10-09 22:49:50 +00:00
imx_iomux.c Stop using machine/fdt.h in the arm kernel code when we don't need it. 2015-04-04 21:34:26 +00:00
imx_iomuxreg.h - Add driver for i.MX 6 HDMI framer 2015-12-21 21:40:15 +00:00
imx_iomuxvar.h Add a basic iomux driver for imx6. 2014-09-04 14:25:32 +00:00
imx_machdep.c Rename sysctl node hw.imx6 to hw.imx. Move its definition to imx_machdep.c 2015-11-26 17:26:52 +00:00
imx_machdep.h Rename sysctl node hw.imx6 to hw.imx. Move its definition to imx_machdep.c 2015-11-26 17:26:52 +00:00
imx_nop_usbphy.c Stop calling imx51_ccm_foo() clock functions from imx6 code. Instead 2014-04-26 16:48:09 +00:00
imx_sdhci.c Fix fallout from r292180 (Dec 2015)... ensure that every driver which has 2016-03-21 00:52:24 +00:00
imx_wdog.c Make the imx watchdog actually work, by setting WDOG_CR_WDE (enable bit). 2015-08-19 20:50:31 +00:00
imx_wdogreg.h Rename sysctl node hw.imx6 to hw.imx. Move its definition to imx_machdep.c 2015-11-26 17:26:52 +00:00
std.imx6 Move ARM_L2_PIPT option to std.armv6 for all armv6 platforms. 2016-02-22 11:47:28 +00:00
std.imx51 Move ARM_L2_PIPT option to std.armv6 for all armv6 platforms. 2016-02-22 11:47:28 +00:00
std.imx53 Move ARM_L2_PIPT option to std.armv6 for all armv6 platforms. 2016-02-22 11:47:28 +00:00
tzic.c Move Open Firmware device root on PowerPC, ARM, and MIPS systems to 2014-02-05 14:44:22 +00:00